Commit Graph

7456 Commits

Author SHA1 Message Date
Araq
f7e5f9a36a rst parser: removed index handling 2012-05-09 07:48:28 +02:00
Araq
8624ec09a9 bugfix: strutils.formatFloat 2012-05-09 02:14:48 +02:00
Araq
05d9d395fe Merge branch 'master' of github.com:Araq/Nimrod 2012-05-09 01:50:40 +02:00
Araq
76235348f8 extracted documentation generator 2012-05-09 01:50:08 +02:00
Dominik Picheta
dfa1f7ce62 Removed echos from uri module. 2012-05-07 14:01:59 +02:00
dom96
cf87759e29 Added uri module. 2012-05-06 23:18:07 +01:00
dom96
92a7933504 The httpserver module now supports POST requests. Fix for captureBetween in the parseutils module. 2012-05-06 23:03:18 +01:00
Araq
c323ec0155 added system.getStackTrace; docgen refactoring (incomplete) 2012-05-06 01:16:36 +02:00
Araq
c3770ebd06 Merge branch 'master' of github.com:Araq/Nimrod 2012-05-05 10:47:49 +02:00
Araq
dde5a83d29 improvements for the iup wrapper 2012-05-05 10:47:36 +02:00
dom96
100503f962 Scgi module handles socket disconnection properly now. 2012-05-05 09:25:18 +01:00
Araq
11eda851b0 Merge branch 'master' of github.com:Araq/Nimrod 2012-05-04 01:59:08 +02:00
Araq
a41bf611a0 fixes binding of overloaded procs 2012-05-04 01:58:54 +02:00
dom96
ce412b4b6c The httpserver now gathers the headers for the user. Fixed ambiguity in recvLine in the sockets module. 2012-05-03 23:16:37 +01:00
Araq
28b68d914e rst parser does not support 'raw' directive per default (security risk) 2012-05-01 22:55:06 +02:00
Araq
e95f155af3 small bugfixes; documentation generator supports smilies for the forum 2012-05-01 11:14:29 +02:00
Araq
ccae314635 Merge branch 'master' of github.com:Araq/Nimrod 2012-04-26 01:17:14 +02:00
Araq
ce1138dfa7 some code formating 2012-04-26 01:16:50 +02:00
dom96
1585cafec2 Added a format function to the times module and a setCookie function to the cookies module. 2012-04-26 00:12:28 +01:00
Araq
afd8ca2f15 added db_*.getRow 2012-04-24 08:44:36 +02:00
Araq
7e7c514dfc documentation improvements; GC_step improved 2012-04-21 16:38:25 +02:00
Araq
7511a05b27 resolved conflict for news.txt 2012-04-21 03:22:53 +02:00
Araq
4aba7421f5 GC with realtime support 2012-04-21 03:19:43 +02:00
Zahary Karadjov
a05f0aa6b5 Merge branch 'master' of github.com:Araq/Nimrod into upstream 2012-04-21 04:08:29 +03:00
Zahary Karadjov
2400704c22 Finally rebuilt the sources to take advantage of the new type system capabilities 2012-04-21 04:07:03 +03:00
Zahary Karadjov
251c44ff04 implicit generics types as return types. removed the error message for capturing incorrect uses of `proc` 2012-04-21 03:24:32 +03:00
dom96
263bb37745 Fixed graphics.drawLineAA and graphics.withEvents uses WaitEvent instead of PollEvent now. 2012-04-20 22:39:03 +01:00
Zahary Karadjov
2f4ae65917 produce errors on proc types with implicit empty param lists. 2012-04-20 22:32:36 +03:00
Zahary Karadjov
064f296213 allow the use of built-in type constraints in type sections 2012-04-20 22:28:53 +03:00
Zahary Karadjov
c1d16c5a4d made built-in types primary expressions to allow infix operators to be used with them 2012-04-20 21:35:59 +03:00
Zahary Karadjov
8319e2411d fixed incorrect C++ code generation for sequences. more revealing type names in the generated code 2012-04-18 19:50:32 +03:00
Zahary Karadjov
818787457d grammar: the built-in type classes are now valid expressions 2012-04-18 19:50:32 +03:00
Zahary Karadjov
38710b614f more Objective-C and C keywords are now escaped 2012-04-18 19:50:32 +03:00
Araq
3d65c0a73f attempt to make tests green 2012-04-17 22:39:37 +02:00
Araq
cb79bf9f16 compiler finally supports 'object {.pragma.}' syntax 2012-04-16 23:40:08 +02:00
Araq
d4c2f2509c bugfix: 'error' statement pragma works as expected again 2012-04-16 17:23:44 +02:00
Araq
1db8b5cbb2 restored files that 'koch clean' removed 2012-04-16 16:43:41 +02:00
Araq
17d67ab828 fixes #105 2012-04-16 16:31:15 +02:00
Araq
a656409286 documentation improvements; cleanup 2012-04-16 00:38:40 +02:00
Araq
752cddb91a documentation improvements 2012-04-16 00:37:41 +02:00
Araq
da9ff288d9 Merge branch 'master' of github.com:Araq/Nimrod 2012-04-15 10:02:35 +02:00
Araq
959e370ae9 @ is a sigil-like operator 2012-04-15 10:02:15 +02:00
Zahary Karadjov
043a40eee6 fix incorrect path for rodfile tests' nimcache 2012-04-15 03:46:25 +03:00
Zahary Karadjov
b2cc17cde4 Merge branch 'master' of github.com:Araq/Nimrod into upstream 2012-04-15 02:58:01 +03:00
Zahary Karadjov
1ba31f8df7 minor changes to make the test suite green again 2012-04-15 02:54:12 +03:00
Zahary Karadjov
57fe3e8c41 avoid duplicated variable names in unrolled loops 2012-04-15 02:53:32 +03:00
Zahary Karadjov
20d56875de fix threading tests 2012-04-15 02:52:09 +03:00
Zahary Karadjov
567b5b07ea fixes #20 properly 2012-04-15 01:06:40 +03:00
Zahary Karadjov
42e0b08214 fix the usage of definedInScope in pegs.=~
template `=~`*(s: string, pattern: TPeg): bool =
   when not definedInScope(matches):
      var matches: array[0..maxSubpatterns-1, string]

It seems that this never worked as intended.
I discovered it now, because when variables' names are preserved, multiple
variables named `matches` were created. The reason this happens is that
when the template is used as an if condition, the if scope is already entered,
but the variables end up in the outer scope.

This patch is consistent with how `expr` templates work, but makes the
definition of a variable injection template like := a bit harder, yet still possible.
(note that if foo := bar(): is still not creating properly scoped variable prior to the patch)
2012-04-14 13:32:51 +03:00
Zahary Karadjov
f25c638dc4 experimental support for preserving local variable names in the generated code 2012-04-13 21:03:49 +03:00