Commit graph

656 commits

Author SHA1 Message Date
Dominik Picheta
371470e73f Fixes #2889. Merges *tostring tests in tests/system. 2015-09-23 00:04:31 +01:00
Araq
80bdb2f3b2 fixes #3343 2015-09-18 12:30:07 +02:00
Araq
29a9166966 fixes the most pressing regressions introduced by the new handling of a[i] in the compiler 2015-09-16 15:34:54 +02:00
Araq
0aa908c86c clarify the meaning of the 'auto' metatype; 'auto' is now bind-multiple; fixes #3224 2015-09-14 20:25:52 +02:00
Araq
8ef66b973d first attempt to fix 'a[i]' handling in generics 2015-09-12 10:55:28 +02: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
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
Araq
5eaf68882e fixes #3300 2015-09-08 10:37:34 +02:00
Yuriy Glukhov
b3cecddd64 Fixed seq.insert and seq.delete for js. 2015-09-07 18:10:45 +03:00
Yuriy Glukhov
4ef4ad305c Fixed nimvm in generics. 2015-09-07 13:49:32 +03:00
Yuriy Glukhov
790ef23c48 nimvm is magic 2015-09-04 20:50:29 +03:00
Araq
e90c155260 fixes 'line too long' warnings 2015-09-03 14:30:10 +02:00
Andreas Rumpf
2733c508ef Merge pull request #3143 from def-/readline-faster
Improve performance of readLine by using fgets
2015-08-21 21:30:27 +02:00
Araq
69b32637b1 implements experimental new config system based on NimScript 2015-08-16 13:41:30 +02:00
Araq
87815cbdf7 attempt to fix bootstrapping; refs #3139 2015-08-07 22:32:06 +02:00
Araq
94e504113e fixes #3193 2015-08-07 19:40:58 +02:00
Dominik Picheta
05ada2da43 Merge pull request #3180 from yglukhov/3179-workaround
Workaround for #3179.
2015-08-05 19:41:19 +01:00
Araq
ab26298a03 added system.unsafeAddr 2015-08-04 17:31:18 +02:00
Dominik Picheta
f8f9677205 Updated documentation of system.new. Ref #2699. 2015-08-04 09:06:47 +01:00
Yuriy Glukhov
436b847a7e Workaround for #3179. 2015-08-03 14:11:48 +03:00
Michał Zieliński
0575437762 Improve discoverability of 'of' operator 2015-08-02 22:55:22 +02:00
Andreas Rumpf
6fea1a7bb6 Merge pull request #2699 from SSPkrolik/newrefref
new now able to make distinction between ref and non-ref types, so we…
2015-08-02 11:05:47 +02:00
def
13389eab9b Add arm64 support (untested) 2015-07-31 23:57:50 +02:00
def
130605567e Add powerpc64el support (untested) 2015-07-31 23:55:31 +02:00
def
70c4176105 Add Mipsel CPU support (untested) 2015-07-31 23:16:52 +02:00
Dominik Picheta
ce4e877702 $ for tuples/objects now handles a nil value correctly. Fixes #3149. 2015-07-26 18:15:19 +01:00
def
3943fba34b Improve performance of readLine by using fgets
This drops compatibility with pure CR line endings of old Mac systems
2015-07-24 00:31:35 +02:00
Araq
caf7717cb8 removed system.free 2015-07-18 20:41:45 +02:00
Araq
728fc441ef staticExec now supports caching 2015-07-15 22:00:44 +02:00
Andreas Rumpf
fc9dc6c828 Merge pull request #2272 from def-/unsigned
Move unsigned int operations to system module
2015-07-11 13:28:20 +02:00
Andreas Rumpf
459793ca4c Merge pull request #3073 from apense/patch-12
Added safeAdd documentation
2015-07-11 13:23:07 +02:00
Joey
1bc101137b Expose the name of an exception. 2015-07-10 14:55:06 -06:00
apense
a6e660e935 Corrected documentation 2015-07-09 14:02:21 -04:00
apense
5a2e575bb6 Doubled ticks 2015-07-09 00:03:18 -04:00
apense
af1a5f3244 Updated & parameters 2015-07-06 23:02:17 -04:00
apense
30737ea34b Added safeAdd documentation 2015-07-06 15:47:23 -04:00
Araq
cabbcd411d implements varargs[untyped]; refs #2545; to be documented 2015-07-02 16:18:11 +02:00
def
11a908fd40 Move unsigned int operations to system module
This should lead to less confusion because uint numbers and literals
seem to work, but operators are just missing.
2015-07-01 18:57:54 +02:00
Araq
a1caef474b proper distinction between --gc:none and --os:standalone 2015-06-29 02:48:33 +02:00
Sergey Avseyev
fd41293c06
Fix doc typo 2015-06-28 20:12:17 +03:00
apense
db369cf65d Slight documentation addition
Added a few type explanations
Also docs for `==` and some examples.

I'm not sure my explanation of `Ordinal[T]` is correct. It sounds the same as `SomeOrdinal` would be.
2015-06-25 20:32:10 -04:00
patrick dw
1cdbd6b0a5 reworked deprecation to retain old procs 2015-06-19 18:50:01 -05:00
patrick dw
072688d06e Renamed writeln procs to writeLine 2015-06-18 23:49:46 -05:00
Stefan Talpalaru
b487d4e425 conditional TGenericSeq extension 2015-06-16 15:15:17 +02:00
Stefan Talpalaru
bdac85f2cf Merge branch 'devel' into gogc 2015-06-15 08:44:02 +02:00
Araq
8d39669233 fixes #2909 2015-06-15 00:56:20 +02:00
Andreas Rumpf
e7bb37d12c Merge pull request #2896 from r-ku/I64-magics-gone
I64 magics gone
2015-06-12 00:06:39 +02:00
rku
87b6220897 Removed magics: mAbsI64 2015-06-10 10:25:36 +03:00
rku
3984fecae6 Removed magics: mBitnotI64 2015-06-10 10:25:36 +03:00
rku
47114342c4 Removed magics: mEqI64 mLtI64 mLeI64 2015-06-10 10:25:36 +03:00