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
rku
658dcd2a58
Removed magics: mShrI64, mShlI64, mBitandI64, mBitorI64, mBitxorI64
...
Author: rku <rokups@zoho.com>
2015-06-10 10:25:36 +03:00
rku
372a5d3cbb
Removed magics: mAddI64, mSubI64, mMulI64, mDivI64, mModI64
...
Author: rku <rokups@zoho.com>
2015-06-10 10:25:35 +03:00
apense
3142400351
Removed unnecessary template
...
`-|` only used in the compiler for negative indexing
2015-06-09 16:21:33 -04:00
pdw
ff5b446dfc
lib/system/a-e - Dropped 'T' from types
2015-06-04 13:18:37 +02:00
apense
860da53db5
Added slight explanation for count{down|up}
...
The inclusivity of a..b (that it is from a <= n <= b) wasn't clear.
2015-06-02 17:11:03 -04:00
Stefan Talpalaru
50e96ad939
the Go GC - initial implementation
2015-05-31 19:07:44 +02:00