Commit Graph

11381 Commits

Author SHA1 Message Date
Andreas Rumpf
5cfce2623b Merge pull request #3160 from r-ku/coroutines
Coroutines
2015-08-25 10:54:05 +02:00
Andreas Rumpf
3a01eab4df Merge pull request #3244 from yglukhov/patch-1
Corrected lib name for macos.
2015-08-25 10:37:46 +02:00
Yuriy Glukhov
bb1bf2b7d0 Corrected lib name for macos. 2015-08-25 11:21:07 +03:00
Araq
646af76c87 implemented nimPinToCpu threadpool feature 2015-08-24 18:01:41 +02:00
Araq
e703afdb3b fixes sysio regression for nimscript support 2015-08-24 18:01:40 +02:00
Yuriy Glukhov
2130e9e38f Don't access GCed field in finalizer. Fixes #2305 2015-08-24 15:29:59 +03: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
Dominik Picheta
9b0ac8afa8 Improves osproc.startProcess error message on POSIX. Ref #2183. 2015-08-23 22:07:37 +01:00
Dominik Picheta
1b73cd41bf Improves osproc.startProcess error message. Fixes #2183. 2015-08-23 21:57:45 +01:00
Dominik Picheta
fe190ee83f Better docs for os.getCreationTime(). Fixes #1058. 2015-08-23 19:57:23 +01:00
Dominik Picheta
193f248ea0 Fixes parsing of URIs that begin with '//'. 2015-08-23 18:22:37 +01:00
xyz
dc6c0559e9 When reading files, check if the eof flag is set before throwing. 2015-08-22 10:59:20 -04:00
Araq
dd2a0ec431 cleaned up twchartoutf8 test 2015-08-21 21:40:24 +02:00
Araq
c56a1f8266 math.nim works with NimScript 2015-08-21 21:34:15 +02:00
Araq
bfd2fd67f9 tuple unpacking works in a non-var/let context 2015-08-21 21:34:14 +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
Andreas Rumpf
47919e219b Merge pull request #3205 from fenekku/unittest-work-2
other unittest pull-request
2015-08-21 21:30:10 +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
Andreas Rumpf
87072a7afb Merge pull request #3233 from yglukhov/parsefloat-js-magic
Fixed nimParseBiggestFloat magic in JS
2015-08-21 21:26:10 +02:00
Andreas Rumpf
6733af414d Merge pull request #3232 from yglukhov/js-pointer-fix
JS: Untyped pointers codegen changed. addr expression fixed.
2015-08-21 21:25:41 +02:00
Peter Mora
6da8c7857e extending metatype matching in sigmatch.nim 2015-08-21 21:15:08 +02:00
Yuriy Glukhov
dadf036a70 Fixed nimParseBiggestFloat magic in JS 2015-08-21 21:31:00 +03:00
Andreas Rumpf
e4c164144d Merge pull request #3215 from rbehrends/fix-reversed-empty
Fixed algorithm.reversed to work for empty seq's.
2015-08-21 17:06:30 +02:00
Andreas Rumpf
979271f318 Merge pull request #3225 from gradha/pr_removes_dead_references
Removes dead references.
2015-08-21 17:06:07 +02:00
Yuriy Glukhov
a5be556a4c Untyped pointers godegen changed. addr expression fixed. 2015-08-21 13:29:25 +03:00
Araq
0cc662d8b8 fixes bootstrapping 2015-08-21 12:18:04 +02: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
695e2e970e implemented macros.getImpl 2015-08-21 02:34:34 +02: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
10a7830ba2 fixes Windows version of readPasswordFromStdin (setLen doesn't accept negative values anymore) 2015-08-18 13:58:57 +02:00
Araq
d634da775d cleanup destructor building for arrays; still doesn't work 2015-08-18 13:57:37 +02:00
Grzegorz Adam Hankiewicz
fc235833d4 Removes dead references. 2015-08-17 23:30:36 +02:00
Araq
69b32637b1 implements experimental new config system based on NimScript 2015-08-16 13:41:30 +02:00
Araq
d81578cb9b workaround windows 'findNextFile' bug 2015-08-16 13:41:28 +02:00
Araq
cc934a1a1b VM: repl supports global variables properly" 2015-08-16 13:41:27 +02:00
Araq
cd2fbb5f86 staticExec: redirect stderr to stdout so stderr is returned too 2015-08-16 13:41:26 +02:00
Araq
2552a0f4b0 fixed test instruction 2015-08-16 13:41:25 +02:00
Dominik Picheta
1c6f31dd09 Merge pull request #3219 from kirbyfan64/nocomm
Give a nice error when no command is given
2015-08-16 11:51:19 +01:00
Ryan Gonzalez
d66cc00750 Give a nice error when no command is given 2015-08-15 17:14:19 -05:00
Dominik Picheta
c3ee2d683b Merge pull request #3218 from kirbyfan64/patch-1
Mention Howl's Nim support
2015-08-15 22:47:44 +01:00
Ryan Gonzalez
ac756935c1 Mention Howl's Nim support 2015-08-15 12:43:05 -05:00
Dominik Picheta
bb2aa24c99 Merge pull request #3213 from yglukhov/times-js-fix
Fixed compilation of times module with JS.
2015-08-14 17:17:40 +01:00
Dominik Picheta
769e0e3e4b Merge pull request #3214 from rbehrends/fix-exponentiation
Fix exponentiation operation to avoid overflow.
2015-08-14 17:13:58 +01:00
Reimer Behrends
4e222a1506 Fixed algorithm.reversed to work for empty seq's. 2015-08-14 15:14:56 +02:00
Reimer Behrends
22789a8275 Fix exponentiation operation to avoid overflow.
The exponentation implementation unnecessarily multiplied the
result with itself at the end if the exponent was an even number.
This led to overflow if result*result > high(int).
2015-08-14 14:32:30 +02:00