Commit Graph

8223 Commits

Author SHA1 Message Date
Andreas Rumpf
f348671ba7 fixes #3544 2016-04-30 01:12:36 +02:00
Andreas Rumpf
e04f319540 fixes #4084 2016-04-29 22:30:00 +02:00
Andreas Rumpf
c870e831c8 fixes #4124 2016-04-29 20:56:30 +02:00
Andreas Rumpf
b48e178969 JS target improvements 2016-04-29 17:56:06 +02:00
Andreas Rumpf
55aa4c2689 fixes a critical PHP codegen bug 2016-04-29 09:09:49 +02:00
Dominik Picheta
d2b191dc73 Merge pull request #4122 from yglukhov/binheap
Added heapqueue collection. Fixed timers in asyncdispatch.
2016-04-28 16:45:32 +01:00
Yuriy Glukhov
1a8f784834 Added heapqueue collection. Fixed timers in asyncdispatch. 2016-04-28 00:04:32 +03:00
Andreas Rumpf
ae4142b2da Merge pull request #4002 from arnetheduck/malloc-store-size
store block size in when using malloc and nogc
2016-04-26 16:54:27 +02:00
Andreas Rumpf
f9d9cdd1ee Merge pull request #4099 from cheatfate/asyncdispatch2
Proper definitions for functions СreateIoCompletionPort and GetQueuedCompletionStatus
2016-04-26 16:53:40 +02:00
Jacek Sieka
ba1a52614b Merge remote-tracking branch 'origin/devel' into malloc-store-size 2016-04-26 21:25:57 +08:00
Andreas Rumpf
e31ec746b9 Merge pull request #4115 from yglukhov/fix-staktrace-error
Fixed stacktrace error
2016-04-26 15:18:55 +02:00
Yuriy Glukhov
7972448e60 Fixed stacktrace error 2016-04-26 15:32:59 +03:00
Dominik Picheta
f4b2281870 Merge pull request #4109 from def-/smtp-compile
Make SMTP example compile
2016-04-24 15:23:29 +01:00
def
d4cf5d13f0 Make SMTP example compile 2016-04-24 14:56:24 +02:00
Andreas Rumpf
ef9a9b119d Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-04-19 12:11:18 +02:00
Andreas Rumpf
4d56b7da5a fixes #4089 2016-04-19 12:10:48 +02:00
Andreas Rumpf
8dfdea8919 fixes #4097 2016-04-19 11:56:35 +02:00
cheatfate
2a2a3d6c39 CompletionKey parameter for functions CreateIoCompletionPort,
GetQueuedCompletionStatus must be 64bit size on amd64 and 32bit size on x86.
2016-04-19 03:04:44 +03:00
Andreas Rumpf
79f64d2469 simple stuff works with --gc:stack 2016-04-18 11:40:06 +02:00
Andreas Rumpf
d7e8b89eb8 Merge pull request #4094 from mjendrusch/cppTemplates
Fixes #4093
2016-04-18 10:53:49 +02:00
mjendrusch
01ca3ba26d Added test case
Previously offending code
2016-04-17 17:11:02 +02:00
mjendrusch
174205bcae Fixes #4093
Added COMMA macro to nimbase.h,
changed code generation for c++ template types to insert COMMA im
between the arguments, instead of ",".
2016-04-17 17:10:24 +02:00
Andreas Rumpf
ef99a2cf15 small bugfix for the AST renderer 2016-04-17 11:56:04 +02:00
Andreas Rumpf
7f7fc35a0e Merge pull request #4043 from arnetheduck/chck-type
fix type used for chckRange node boundaries
2016-04-13 13:36:19 +02:00
Andreas Rumpf
7c3f5afd5b Merge pull request #4081 from yglukhov/ordered-tables-del
Added del for OrderedTable and OrderedTableRef
2016-04-13 13:32:52 +02:00
Andreas Rumpf
25ee8f6883 Merge pull request #4082 from cheatfate/asyncfile
Correct proper usage of getOverlappedResult()
2016-04-13 12:54:22 +02:00
Yuriy Glukhov
b48d98b846 Added del for OrderedTable and OrderedTableRef 2016-04-13 13:41:32 +03:00
cheatfate
be5639582e Correct proper usage of getOverlappedResult() 2016-04-13 13:19:50 +03:00
Andreas Rumpf
57d7628007 Merge pull request #4080 from cheatfate/getOverlappedResult
Correct getOverlappedResult() definition
2016-04-13 11:59:22 +02:00
cheatfate
5d96faf78c Correct getOverlappedResult() definition 2016-04-13 11:02:46 +03:00
Andreas Rumpf
737f52faa2 Merge pull request #4072 from FedericoCeratto/patch-7
Add signal handler
2016-04-11 20:59:05 +02:00
Andreas Rumpf
07b6a32d7a Merge pull request #4074 from yglukhov/base64
Fixed base64 encode
2016-04-11 16:14:37 +02:00
Yuriy Glukhov
8cd4ec978c Fixed base64 encode 2016-04-11 16:47:18 +03:00
Federico Ceratto
6d256ba76e Update posix.nim 2016-04-11 12:07:45 +01:00
Federico Ceratto
8b1faad5a7 Add signal handler
A signal handler to run some code when Unix signals are received
2016-04-10 17:14:38 +01:00
Andreas Rumpf
d6cf109952 Merge pull request #4051 from yglukhov/json-getOrDefault
Added json.getOrDefault along with {singleKey} tr optimization.
2016-04-09 13:07:36 +02:00
Andreas Rumpf
1d5c28fc14 Merge pull request #4050 from yglukhov/tr-varargs
Fixed tr pattern matching for varargs
2016-04-09 13:06:38 +02:00
Yuriy Glukhov
3922a0871d else: break 2016-04-09 01:33:16 +03:00
Andreas Rumpf
7d3f47cef9 Merge pull request #4058 from yglukhov/js-closures-test
Added js closures test. Fixes #3132.
2016-04-09 00:31:45 +02:00
Yuriy Glukhov
2bf6f57930 Added js closures test. Fixes #3132. 2016-04-07 22:57:35 +03:00
Yuriy Glukhov
b6f5c12158 Fixed tr pattern matching for varargs 2016-04-07 21:24:43 +03:00
Andreas Rumpf
9a747828fe Merge pull request #4049 from arnetheduck/tester-targets
tester: allow filtering tests by target
2016-04-07 13:34:01 +02:00
Dominik Picheta
b1b14a5e7b Add Bountysource banner to website. 2016-04-06 22:24:50 +01:00
Yuriy Glukhov
181c834a93 Added json.getOrDefault along with {singleKey} tr optimization. 2016-04-06 14:16:30 +03:00
Dominik Picheta
a3a0812c89 Merge pull request #4038 from endragor/fix-macros-unpacks
Fixed macros unpackX procedured to return values correctly
2016-04-06 10:48:08 +01:00
Dominik Picheta
9b6fda144a Some documentation fixes in times module. 2016-04-06 10:45:39 +01:00
coffeepots
d9ed61fa62 Deprecate timeToTimeInfo, add str->time procs
* depreciate timeToTimeInfo, add str->time procs

initTime allows creating times from strings. initTimeFromStr offers a default format string compatible with $Time.
timeToTimeInterval changed to work properly.

* Spell {.deprecated.} correctly

* deprecated timeToTimeInfo, removed initTime procs

Is it even worth depreciating timeToTimeInfo rather than just removing it, considering it's just wrong and we have getLocalTime and getGMTime that actually work? Also, if I'm renaming timeToTimeInfo -> toTimeInfo etc, isn't the deprecated tag kind of redundant?

* Updated names for toTime and toTimeInterval procs

* Added type to toTime template

This should allow compilation of os.nim now that toTime is defined in times.nim.

* Updated toTime template to use {.gensym.}

Local templates default to 'bind' semantics, not 'gensym'. This was causing a failure to 'see' the local toTime template.
2016-04-06 10:36:17 +01:00
Dominik Picheta
d1ba2d42bf Merge branch 'tester_ignore_output' into devel 2016-04-05 23:17:39 +01:00
Dominik Picheta
c36421f8e4 Fixes subexes tests which were broken in 73e48f9c9. 2016-04-05 23:08:51 +01:00
Dominik Picheta
082ba914bc Prevent tester from checking for output diffs for actionRunNoSpec. 2016-04-05 21:45:52 +01:00