Commit Graph

558 Commits

Author SHA1 Message Date
Yuriy Glukhov
6ac2ba1223 Uint64 to string in pure nim. array[char] to string fixed in vm. 2015-09-14 20:32:09 +03: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
Araq
a480bebfce Nimscript: documented; 'exec' now produces output immediately 2015-09-07 12:31:35 +02:00
Adam Strzelecki
43bddf62dd lib: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:56 +02:00
Araq
178275f494 split os into os and ospaths parts; ospaths is available for NimScript; better NimScript support 2015-09-04 12:22:23 +02:00
Araq
a373bdd0c9 improvements for NimScript support 2015-09-03 14:30:11 +02:00
Andreas Rumpf
580855d2eb Merge pull request #3273 from yglukhov/js-copy-fix
Fixed JS copying.
2015-09-03 14:22:10 +02:00
Andreas Rumpf
d61461157f Merge pull request #3280 from jlp765/endb
lib/system/endb.nim bug fix: Switch state to dbgSkipCurrent for Eval, Local & Global
2015-09-03 12:37:55 +02:00
JamesP
a3cc519ea9 bug fix: Switch state to dbgSkipCurrent for Eval, Local & Global commands.
This avoids stepping into the endb code if previous command was single step.

Other two changes are trailing spaces removed.
2015-09-03 09:21:25 +10:00
Yuriy Glukhov
02214d8d1b Fixed JS copying. 2015-08-31 21:44:07 +03:00
Reimer Behrends
7dd263f506 Fix readLine handling of long lines. 2015-08-28 17:21:03 +02:00
Dominik Picheta
887869d953 Merge pull request #3251 from jck/msp430
add msp430 cpu support
2015-08-26 23:21:26 +01:00
Araq
20c2b00822 make --gc:none work with --threads:on 2015-08-26 23:59:00 +02:00
Keerthan Jaic
66ff1792fa add msp430 cpu support 2015-08-26 00:00:46 -04:00
Andreas Rumpf
f091ce258e Merge pull request #3239 from xyz32/devel
When reading files, check if the eof flag is set before throwing.
2015-08-25 22:22:32 +02:00
Araq
999c107c52 fixes #3245 2015-08-25 15:13:39 +02:00
xyz
1def8ec9f9 remove fileError 2015-08-25 06:48:58 -04:00
Andreas Rumpf
5cfce2623b Merge pull request #3160 from r-ku/coroutines
Coroutines
2015-08-25 10:54:05 +02:00
Yuriy Glukhov
bb1bf2b7d0 Corrected lib name for macos. 2015-08-25 11:21:07 +03:00
Araq
e703afdb3b fixes sysio regression for nimscript support 2015-08-24 18:01:40 +02:00
xyz
88247e6857 Append the readAllBuffer to what was read already 2015-08-23 18:54:15 -04:00
xyz
385a883e14 Use seLen as sugested, and fix typos 2015-08-23 18:29:38 -04:00
xyz
dc6c0559e9 When reading files, check if the eof flag is set before throwing. 2015-08-22 10:59:20 -04: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
Andreas Rumpf
abccaa15d8 Merge pull request #3231 from jangko/devel
fixed UTF-16 to UTF-8 conversion in widestrs.nim
2015-08-21 21:28:24 +02:00
Yuriy Glukhov
a5be556a4c Untyped pointers godegen changed. addr expression fixed. 2015-08-21 13:29:25 +03:00
jangko
7c757599f1 fixed UTF-16 to UTF-8 conversion in widestrs.nim
the source of problem for issue #3228
also add test for entire range of valid UTF-16
and test for invalid UTF-16 sequence
2015-08-21 10:43:31 +07:00
Araq
a2bb7d4c71 simplify nimscript.nim 2015-08-21 01:34:46 +02:00
rku
24ad2cb392 Merge branch 'devel' into coroutines 2015-08-20 17:54:55 +03:00
jangko
c103eddc73 fixed UTF-16 to UTF-8 conversion in widestrs.nim
the source of problem for issue #3228
also add test for entire range of valid UTF-16
2015-08-20 20:30:14 +07:00
jangko
493dbc8932 fixed UTF-16 to UTF-8 conversion in widestrs.nim
the source of problem for issue #3228
2015-08-20 14:17:46 +07:00
Araq
9659540b18 preparations for Nimble NimScript integrations; minor cleanups 2015-08-18 14:01:40 +02:00
Araq
d634da775d cleanup destructor building for arrays; still doesn't work 2015-08-18 13:57:37 +02:00
Araq
69b32637b1 implements experimental new config system based on NimScript 2015-08-16 13:41:30 +02:00
Yuriy Glukhov
c42b05adb4 Fixed --debugger:on option. Removed c_line from termios. 2015-08-12 12:04:26 +03:00
Araq
f9750781c0 fixes #3080 2015-08-02 02:56:02 +02:00
Araq
e9899af9b2 fixes #3135 2015-08-02 02:56:00 +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
rku
43bfda057b Coroutine support for i386/amd64 platforms unix/windows OSes markAndSweep/refCounting GCs. 2015-07-31 17:59:50 +03:00
def
a9b299b4ed Improve readLine to work with strings containing \0 again.
This decreases performance slightly.
2015-07-25 20:25:58 +02:00
def
401189c3fe No need to set trailing \0 2015-07-24 01:13:52 +02:00
Araq
4932415742 fixes #1832 2015-07-24 01:04:45 +02: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
70fe773bbe implemented system.pinToCpu 2015-07-01 02:15:22 +02:00
Araq
63c537b233 fixes #3014 2015-06-29 02:48:34 +02:00
Araq
a1caef474b proper distinction between --gc:none and --os:standalone 2015-06-29 02:48:33 +02:00
Sergey Avseyev
70ce8695e7 Fix #2672. Do not define globalsSlot for native TLS
Motivation
----------
globalsSlot is always defined so threading code works incorrectly when
native TLS supported.

Modification
------------
Defined globalsSlot only in TLS emulation mode. Remove myThreadId, which
based on broken behavior. It might be reimplemented later

Result
------
No segfaults.
2015-06-26 07:42:58 +03:00