Commit Graph

6926 Commits

Author SHA1 Message Date
Araq
e703afdb3b fixes sysio regression for nimscript support 2015-08-24 18:01:40 +02: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
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
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
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
Yuriy Glukhov
2f8d4c17d8 Fixed compilation of times module with JS. 2015-08-14 12:57:07 +03:00
Araq
134c44f3be refs #2973; manual contains almost all pragmas now, few are left in the compiler guide 2015-08-14 02:19:34 +02:00
Araq
dd0acfdf37 todo.txt update 2015-08-14 02:19:33 +02:00
Araq
2299318d1e toplevel .closure procs are deprecated 2015-08-14 02:19:32 +02:00
Araq
2f721f0d99 'parallel' now requires --experimental mode 2015-08-14 02:19:32 +02:00
Andreas Rumpf
40f7646830 Merge pull request #3204 from yglukhov/debugger-on-fix
Fixed --debugger:on option. Removed c_line from termios.
2015-08-14 01:52:18 +02:00
Andreas Rumpf
b3abcaf9e8 Merge pull request #3177 from zah/generic-types-in-macros
Generic types in macros
2015-08-14 01:51:25 +02:00
Dominik Picheta
ad245dbd77 Merge pull request #3131 from zachaysan/devel
Create chomp proc and tests
2015-08-13 22:31:30 +01:00
Dominik Picheta
6041025dab Merge pull request #3206 from yglukhov/patch-1
Fixed fromSeconds function JS variant
2015-08-12 20:39:10 +01:00
Yuriy Glukhov
ad98877584 Fixed fromSeconds function JS variant 2015-08-12 18:31:38 +03:00