Commit Graph

7456 Commits

Author SHA1 Message Date
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
JamesP
5ae33434f8 fastRows() iterator doco updated (similar to db_mysql) with sqlite specific
[Edb] error text
2015-09-06 22:39:23 +10:00
JamesP
81e41dc795 Add example (similar to db_mysql) with changes to table definition
and transaction to match sqlite SQL syntax
2015-09-06 22:34:04 +10:00
Matt Sullivan
caf0cd9e05 Replace incorrect warning string. 2015-09-05 22:16:35 -05:00
Araq
d7996a9ede attempt to support recursions for spawn 2015-09-06 02:40:26 +02:00
Araq
b1a55d83ec added missing test 2015-09-06 02:32:39 +02:00
Araq
dc047931bb fixes #2590; methods now require a .base annotation 2015-09-06 02:31:28 +02:00
Reimer Behrends
4baaea5ad5 Properly initialize the Boehm GC on all platforms. 2015-09-06 01:48:31 +02:00
Dominik Picheta
d2e4d6ad82 Merge branch 'jlp765-db_mysqlExamples' into devel 2015-09-05 21:15:25 +01:00
Dominik Picheta
d7c60e86b4 Bold emphasis and fix typo. 2015-09-05 21:15:01 +01:00
Dominik Picheta
14a233dc75 Merge branch 'db_mysqlExamples' of https://github.com/jlp765/Nim into jlp765-db_mysqlExamples
Conflicts:
	lib/impure/db_mysql.nim
2015-09-05 21:14:37 +01:00
Andreas Rumpf
30b1baf1af Merge pull request #3283 from yglukhov/vm-fix
VM produces objects.
2015-09-05 13:32:30 +02:00
Yuriy Glukhov
04a4f35400 VM produces objects. 2015-09-05 14:18:37 +03:00
Araq
0320c0c73b fixes DLL hell on Windows 2015-09-05 12:03:53 +02:00
Araq
49d810f341 Nimble is officially a part of Nim now 2015-09-05 11:34:38 +02:00
Araq
0f2a37cf1b fixes #3282 2015-09-05 11:34:36 +02:00