Commit Graph

648 Commits

Author SHA1 Message Date
Andreas Rumpf
f5e4f8c324 fixes a typo 2017-07-09 01:01:37 +02:00
nonylene
6c708038c1 system.nim: Fix documentation ( 7 div 5 == 1 ) (#6057) 2017-07-06 08:03:24 +02:00
impbox
1ddf10b23b Create system.nim
Fix `deepCopy` incorrect argument description.
2017-06-13 23:21:38 +10:00
zah
39aef12446 review and merge zahary's work (#5849)
* proper indentation for the generated JS code
* improved dead-code elimination for JavaScript
* test the JS dead-code elimination

A new test spec has been added - "maxcodesize". It specifies the
maximum size of the generated code in bytes.
2017-06-03 12:45:10 +02:00
Araq
3c129b7fe5 make development version odd 2017-05-31 14:35:45 +02:00
cooldome
aef5b2eb54 Add len for Slice[T] where T is ordinal (#5847) 2017-05-29 09:41:00 +02:00
Araq
47076452fd updated version to 0.17.0 2017-05-17 22:56:49 +02:00
Andreas Rumpf
61a0eba14f Merge branch 'zahary' into araq2 2017-05-17 15:27:04 +02:00
Zahary Karadjov
f4e73344d4 covariance for arrays and sequences 2017-05-12 18:42:46 +03:00
Zahary Karadjov
fa52cff826 hold back the new | operator for types as it creates mysterious problems fro tests/trmacros/tor 2017-04-28 18:38:08 +03:00
Zahary Karadjov
bc01835091 Allow tyOr,tyAnd and tyNot to be constructed in more contexts 2017-04-28 17:07:54 +03:00
Yuriy Glukhov
2242307c17 Added generic min/max versions for two arguments (#5734) 2017-04-27 21:41:10 +02:00
Araq
6eb74c7281 remove system.getFileSize again, breaks windows builds and I don't want more stuff that's a pain to support in a platform independent manner 2017-04-08 18:19:01 +02:00
Emery Hemingway
bc5c2d8414 getFileSize and setFileSize procedures for File and AsyncFile
Platform independent procedure to set a file length. Useful when
replacing file content.
2017-04-05 19:05:43 -05:00
John Scillieri
4ba6f9808e Update 'compiles' documentation to remove not (#5666)
Documentation for proc compiles showed a broken/unintuitive example (unless i missed something)
2017-04-05 23:50:48 +02:00
Andreas Rumpf
9aeccda262 system.nim: make min/max take openArrays, not varargs (breaking change) 2017-04-04 09:34:16 +02:00
Emery Hemingway
7e351fc7fa support for the Genode OS framework (#5560) 2017-03-31 23:13:06 +02:00
Andreas Rumpf
1268ca79e5 fixes #5599 (#5610) 2017-03-26 09:30:59 +02:00
Arne Döring
d4b4cad4ea Added few documentation lines for the unsafeAddr operator. (#5362) 2017-03-23 23:49:07 +01:00
konqoro
d1119c120d Fix links to manual (#5500) 2017-03-09 22:37:44 +01:00
Andreas Rumpf
895e2aea15 Merge pull request #5317 from rokups/feature/coroutines
Coroutine improvements
2017-02-26 23:24:29 +01:00
Araq
df4954fac6 fixes most recent codegen regression 2017-02-26 20:41:08 +01:00
Fabian Keller
e8ad59fdc4 Bugfix/double newlines in stderr (#5426) 2017-02-24 09:48:38 +01:00
Rokas Kupstys
5aef77a3d3 Removed test code from coro.nim and created three real tests for coroutines 2017-02-20 17:54:15 +02:00
Rokas Kupstys
f80ddbbcc6 Use constant nimCoroutines instead of defined(nimCoroutines)
Variable
2017-02-20 17:24:19 +02:00
flyx
ac9c2126e6 Added BiggestUInt (#5378) 2017-02-13 11:20:07 +01:00
Araq
346ea6d171 system.nim: don't use deprecated symbols/constructs 2017-02-08 14:55:30 +01:00
Araq
794d36cf31 fixes #5349 2017-02-08 14:33:05 +01:00
Anatoly Galiulin
61b4bb5af5 Mark setupForeignThreadGc and initGC as gcsafe (#5353) 2017-02-08 10:26:15 +01:00
Parashurama
c57fcf42df fix string slice & splice (#5311)
code fixes courtesy of @memophen
2017-02-01 12:13:01 +01:00
Araq
edd542fe6b devel version has to be odd 2017-01-29 00:32:25 +01:00
Andreas Rumpf
ca0b16fd33 newException supports setting of the 'parent' field 2017-01-26 15:20:24 +01:00
Andreas Rumpf
05a3c1b10a improvements to memtracking 2017-01-26 11:26:02 +01:00
Gangsta Cat
c54bffae5b Fix a typo in system's staticExec procedure description (#5276) 2017-01-24 16:57:39 +01:00
Andreas Rumpf
723a5a09f4 Update system.nim 2017-01-14 16:21:05 +01:00
Araq
fc636e2d12 updated to version 0.16.0 2017-01-07 21:44:40 +01:00
Araq
9d488261df added system.gorgeEx that includes the exitCode; refs #4874; fixes #1994 2017-01-07 02:38:26 +01:00
Andreas Rumpf
33b8ade07c make c_setmode compatible with Borland C; refs #5157 2016-12-31 03:04:10 +01:00
Andreas Rumpf
9c4a60193f new shift ops for Nim; based on #4743 2016-12-29 12:07:27 +01:00
Andreas Rumpf
0b97dfbf87 remove deprecated system.TResult enum 2016-12-28 00:10:10 +01:00
Yuriy Glukhov
feba5acc98 Added FileSeekPos 2016-12-08 18:57:46 +02:00
Andreas Rumpf
02a2180a6a first version of the new memory tracking feature 2016-11-21 12:10:44 +01:00
Vladislav
9bc79b923c added description to fmWrite mode to be more exact 2016-11-01 22:33:09 +02:00
Araq
804af7e153 fixes bootstrapping 2016-11-01 10:25:34 +01:00
Andreas Rumpf
4884a56e38 Merge pull request #4980 from jlp765/tostring
Add nill value handling for seq/sets to system.CollectionToString()
2016-11-01 09:45:37 +01:00
jlp765
0cb5adb494 Add nill value handling for seq/sets 2016-11-01 13:36:03 +10:00
Araq
a94a0f27f2 updated development version 2016-10-31 20:16:31 +01:00
Arne Döring
5864506ad3 fixed == and cmp to work on nimvm 2016-10-26 22:57:14 +02:00
Andreas Rumpf
7fce1bcf92 version bump 2016-10-21 12:32:16 +02:00
Andreas Rumpf
b389f82d12 Windows console apps do not set the codepage to UTF-8 anymore; use -d:nimSetUtf8CodePage to re-enable this feature 2016-10-18 18:26:29 +02:00