Commit Graph

3266 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
c56a1f8266 math.nim works with NimScript 2015-08-21 21:34:15 +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
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
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
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
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
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
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
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
Dominik Picheta
ad245dbd77 Merge pull request #3131 from zachaysan/devel
Create chomp proc and tests
2015-08-13 22:31:30 +01:00
Yuriy Glukhov
ad98877584 Fixed fromSeconds function JS variant 2015-08-12 18:31:38 +03:00
fenekku
c62698b296 make testSetupIMPL and testTeardownIMPL non-public 2015-08-12 10:30:36 -04:00
fenekku
58b8381501 failed unittest check causes identifiers and calls to be printed out 2015-08-12 08:26:40 -04:00
Yuriy Glukhov
c42b05adb4 Fixed --debugger:on option. Removed c_line from termios. 2015-08-12 12:04:26 +03:00
Araq
d230b75e0a removed sequtils.reversed again since it's already in algorithm.nim 2015-08-10 01:49:56 +02:00
Andreas Rumpf
99ee5445b7 Merge pull request #3146 from c-blake/devel
Add MemFile text interface factored so users can optionally skip Nim …
2015-08-09 20:31:32 +02:00
Araq
cf4879bc48 added sequtils.reversed; refs #3148 2015-08-09 20:29:03 +02:00
tulayang
930e90a730 Modify proc parseHeader 2015-08-09 20:35:23 +08:00
Charles Blake
9c3c48a6d0 Merge ../Nim into devel 2015-08-09 06:58:36 -04:00
Dominik Picheta
34ca9dd586 Merge pull request #3114 from coffeepots/patch-1
Procs to decode Time to TimeInfo & TimeInterval
2015-08-08 20:56:14 +01:00
Araq
87815cbdf7 attempt to fix bootstrapping; refs #3139 2015-08-07 22:32:06 +02:00
Araq
c733b3181e breaking change: symbol lookups in generics follows spec more closely; fixes #2664 2015-08-07 21:28:45 +02:00
Araq
94e504113e fixes #3193 2015-08-07 19:40:58 +02:00
Dominik Picheta
4a7c1d5fd7 Don't crash on nil in get* procs in the JSON module. 2015-08-06 21:45:52 +01:00
Dominik Picheta
e2886eebb4 Merge pull request #3172 from Nycto/devel
Unittest module: Fix multiple requires in a test
2015-08-05 19:42:14 +01:00
Dominik Picheta
05ada2da43 Merge pull request #3180 from yglukhov/3179-workaround
Workaround for #3179.
2015-08-05 19:41:19 +01:00
Charles Blake
26f7a53d4a Merge ../Nim into devel 2015-08-04 16:13:45 -04:00
Charles Blake
5ec4b7946f Add note about what is included. 2015-08-04 13:25:41 -04:00
Charles Blake
0487ad4180 Use hyperlinks to refer to other procs. 2015-08-04 13:16:27 -04:00
Charles Blake
abf15ec6ce Expand memSlices doc comment & use better example.
Have lines() iterators docs point back to memSlices() for details.
2015-08-04 12:11:33 -04:00
Araq
ab26298a03 added system.unsafeAddr 2015-08-04 17:31:18 +02:00