Commit Graph

11210 Commits

Author SHA1 Message Date
Dominik Picheta
ae15aa529f Merge pull request #3310 from jlp765/timesExamples
times module examples & bug fix
2015-09-11 11:07:55 +01:00
Araq
f1d1ff50e2 config cleanup 2015-09-10 16:06:09 +02:00
Araq
63cdcb2be1 implicit return types for iterators are now deprecated 2015-09-10 15:57:57 +02:00
Araq
34ab1d3e34 fixes #1528 2015-09-10 13:20:15 +02:00
Araq
31bbc24462 minor testsuite cleanup 2015-09-10 13:19:13 +02:00
Araq
bc725eaa13 documented void context 2015-09-10 13:18:11 +02:00
Araq
051e418129 fixes Nim's bigbang regression 2015-09-10 12:20:02 +02:00
JamesP
2d1f26302c Example: add extra getGmTime interval addition example 2015-09-10 19:29:26 +10:00
JamesP
f5d55ad012 tests added: toSeconds with local/GM timezones, interval add/sub
with local/GM timezones
2015-09-10 19:21:27 +10:00
Araq
a92f3bead3 fixes #3195 2015-09-10 11:08:48 +02:00
Araq
d7a472743b fixes #2559 2015-09-10 10:50:29 +02:00
Araq
ffe51966b9 fixes a critical codegen bug triggered by .async 2015-09-10 10:50:29 +02:00
JamesP
c122d71e66 bug fix: + and - handle GM and Local time correctly
eg,  getGmTime(getTime()) + initInterval(hours=1) gave incorrect results
2015-09-10 17:38:00 +10:00
JamesP
612cd2161a add examples block to top of times module 2015-09-10 17:29:52 +10:00
Roger Shi
16fe63180f test case for #2367 2015-09-10 15:16:01 +08:00
Andrey Sobolev
6b645c50d5 mmap non PageSize aligned support
mmap non PageSize aligned support
2015-09-10 12:53:36 +06:00
Andreas Rumpf
0c7d52e34c Merge pull request #3274 from yglukhov/seq-insert-js-fix
Fixed seq.insert and seq.delete for js.
2015-09-09 17:32:55 +02:00
Roger Shi
58e1068f73 test case for #2245 2015-09-09 21:32:29 +08:00
Araq
ca9c1968d8 fixes typo 2015-09-09 09:39:48 +02:00
Araq
d5c5fd425f fixes #3230 2015-09-09 09:39:47 +02:00
Roger Shi
8f9ce5285f fix #2367 2015-09-09 11:40:13 +08:00
Reimer Behrends
250375bdd2 Remove spurious unsigned operations from system/threads.nim.
These operations were included before the unsigned module was
incorporated directly into system.nim and subsequently caused
compilation errors with --gc:go due to duplicate definitions.
2015-09-08 19:12:01 +02:00
Reimer Behrends
9deab06c1b Include Boehm GC in garbage collection tests. 2015-09-08 19:29:29 +02:00
Reimer Behrends
639b5e0069 Properly register threads with the Boehm GC.
In order to be able to scan thread stacks, the Boehm GC needs to know
about newly created threads. We establish the end of the stack by using
GC_call_with_stack_base (this works properly also with the dual-stack
Itanium architecture) and then GC_register_my_thread() to register a
thrad and GC_unregister_my_thread() to unregister it again.

This patch also includes a modification for the refc and markandsweep
collectors to set the stack bottom for thread stacks correctly even if
an optimizer aggressively inlines and optimizes procedures (this is
already being done for the stack of the main thread).

Finally, we use the {.noconv.} pragma for the Boehm GC, as the Boehm
API uses no specific calling convention.
2015-09-08 19:01:06 +02:00
Roger Shi
6b8bd2bbb7 Fix issue #2245 2015-09-08 23:32:53 +08:00
Andreas Rumpf
55e479657a Merge pull request #3303 from Amrykid/amrykid-name-change
Fixed my name.
2015-09-08 11:06:03 +02:00
Araq
5eaf68882e fixes #3300 2015-09-08 10:37:34 +02:00
Araq
f1a17990be minor documentation cleanups 2015-09-08 10:22:16 +02:00
Araq
494431e3b4 gangbang support for NimScript 2015-09-08 10:22:15 +02:00
Araq
833a9344fa NimScript: make the compiler shut up about effects it doesn't know about 2015-09-08 10:22:14 +02:00
Araq
6d654f866d even better docs 2015-09-08 10:22:13 +02:00
Dominik Picheta
ac79861de9 Merge pull request #3306 from SSPkrolik/oids-add-comparator
Added == operator for comparing two Object IDs
2015-09-08 09:20:31 +01:00
Rostyslav Dzinko
bd12b7de96 Added == operator for comparing two Object IDs 2015-09-08 11:16:22 +03:00
Alexander Mitchell-Robinson
564c9f4013 Fixed my name. 2015-09-07 19:51:52 -05:00
Dominik Picheta
7ff87df56c Merge pull request #3298 from haiodo/improve-xmltree
Improve xmltree
2015-09-07 23:25:49 +01:00
Andrey Sobolev
4e57ea9345 Merge remote-tracking branch 'upstream/devel' into improve-xmltree 2015-09-07 21:20:30 +06:00
Andrey Sobolev
a534434056 allow to delete xmlnode childs 2015-09-07 21:19:52 +06:00
Yuriy Glukhov
b3cecddd64 Fixed seq.insert and seq.delete for js. 2015-09-07 18:10:45 +03:00
Andreas Rumpf
217a30a2e0 Merge pull request #3293 from Matt14916/usebase-msg-fix
Replace incorrect warning string.
2015-09-07 16:36:46 +02:00
Andreas Rumpf
5e5d5b6fe0 Merge pull request #3295 from nanoant/patch/fix-type-to-string-flags
typeToString: Fix shared/not nil on complex types
2015-09-07 16:35:51 +02:00
Andreas Rumpf
0b51d6d60a Merge pull request #3291 from yglukhov/nimvm-generic-fix
Fixed when nimvm in generics.
2015-09-07 16:20:16 +02:00
Yuriy Glukhov
4ef4ad305c Fixed nimvm in generics. 2015-09-07 13:49:32 +03:00
Araq
a480bebfce Nimscript: documented; 'exec' now produces output immediately 2015-09-07 12:31:35 +02:00
Araq
adf34082f0 documented NimScript 2015-09-07 12:31:34 +02:00
Andrey Sobolev
f405876b35 add text modification proc 2015-09-07 12:25:53 +06:00
Dominik Picheta
eb4263a0fc Fixes dom96/jester#45. 2015-09-06 23:50:42 +01:00
Dominik Picheta
a7c9f72737 Merge pull request #3294 from jlp765/db_sqliteDoco
Db sqlite doco update (similar to db_mysql)
2015-09-06 23:08:06 +01:00
Adam Strzelecki
167acf4530 typeToString: Fix shared/not nil on complex types
Previously `not nil` flag was not shown on `cstring or nil` or `PType not nil`,
where `type PType = ref Type`, eg. when showing compiler diagnostics.
2015-09-06 20:17:06 +02:00
JamesP
0edb04288b Clean up a line ending 2015-09-06 23:02:28 +10:00
JamesP
9aa9920602 instantRows doco added "the" to improve readability 2015-09-06 22:40:15 +10:00