Commit Graph

13092 Commits

Author SHA1 Message Date
Araq
00ef2d6693 make test green again 2018-08-08 15:43:05 +02:00
Araq
640b30a47f codegen improvement: map the empty string to 'nil' since it's now allowed to do that 2018-08-08 12:06:00 +02:00
Araq
05121d84b3 fixes a long standing nil bug in substr 2018-08-08 12:05:29 +02:00
Araq
00d718b1db strutils: minor code cleanup 2018-08-08 12:01:17 +02:00
Araq
de263a43c6 deprecate isNil for strings and seqs 2018-08-08 11:21:56 +02:00
Araq
19bfa9b889 Merge branch 'devel' into araq-misc 2018-08-08 09:39:40 +02:00
Araq
a45faf2dd6 fixes the new nimcache handling 2018-08-08 09:35:38 +02:00
Andreas Rumpf
ef9dd46466 'nimcache' defaults to ~/.cache on Posix; cleaned up documentation 2018-08-08 09:35:38 +02:00
Andreas Rumpf
5b6b73f2a2 use slashes instead of dots for paths 2018-08-08 09:33:39 +02:00
Andreas Rumpf
a377c5cce4 introduce the --define 'osx' as an alias for 'macosx' 2018-08-08 09:33:37 +02:00
Araq
dd75346292 fixes the new nimcache handling 2018-08-07 22:54:45 +02:00
Araq
d8e66d6acc fixes merge conflict 2018-08-07 22:25:01 +02:00
Timothee Cour
c352329714 runnableExamples: keep (gitignored) generated foo_examples.nim for inspection even on success (#8544) 2018-08-07 18:52:55 +02:00
LemonBoy
ba5e2d6fcb Make mapIt work on openArray's (#8543) 2018-08-07 18:45:27 +02:00
andri lim
4d5cce9882 fixes #6255, add system.ashr arithmetic right shift (#8547) 2018-08-07 18:41:30 +02:00
Oscar Nihlgård
9b9cfa7306 Stricter signature for countdown/countup (#8549) 2018-08-07 09:24:54 +02:00
andri lim
c3d5ec8ead fixes #8421, fixes #7968, Nim compiler compiles with MSVC C89 version (#8556) 2018-08-07 09:07:18 +02:00
Emery Hemingway
be4816f509 Iterator over heap instances (#8548)
Provide "dumpHeapInstances" for iterating over type statistics
of heaps. This can be used to present structured heap information
as an alternative to "dumpNumberOfInstances".
2018-08-07 08:48:52 +02:00
Andreas Rumpf
e067a7681f 'nimcache' defaults to ~/.cache on Posix; cleaned up documentation 2018-08-06 23:38:29 +02:00
Andreas Rumpf
e555e97b4b use slashes instead of dots for paths 2018-08-06 20:00:26 +02:00
Andreas Rumpf
e9d67266ef introduce the --define 'osx' as an alias for 'macosx' 2018-08-06 19:58:48 +02:00
Andreas Rumpf
bbc404d80d disable tioselectors test for OSX 2018-08-06 19:44:15 +02:00
Andreas Rumpf
6c319d4f74 travis/testament: disable JS tests on OSX 2018-08-06 19:16:23 +02:00
Araq
559c4b8a20 attempt to make the travis OSX build green 2018-08-06 17:42:08 +02:00
Andreas Rumpf
7f8eccb46f make 'flags' test green on OSX 2018-08-06 15:27:17 +02:00
Andreas Rumpf
39b3b94008 OSX: make tioslectors test green 2018-08-06 15:27:17 +02:00
Timothee Cour
8ad59e6857 remove redundant test for nil before add (#8460) 2018-08-06 11:50:42 +02:00
andri lim
6e3d1dced5 fixes #5617, 'copyLineInfo' addition (#8523) 2018-08-05 23:38:21 +02:00
Dominik Picheta
6fffadb7fd Merge pull request #8364 from timotheecour/pr_expandTilde
ospaths.expandTilde: handle ~ correctly; refactor to use DirSep, AltSep
2018-08-05 16:30:17 +01:00
Timothee Cour
baa77387d7 fixes #8215; remove reference to old doc command which was deprecated (#8418) 2018-08-05 12:15:40 +02:00
Andreas Rumpf
c57e320c94 fixes 7833 (#8533)
* fixes #7833; still to-do: fix setLen
* make tests green again
* also fixes setLen and string concats; refs #7833
* change formating to avoid a compiler warning
* emit the write barrier also for addChar
* fixes yet another regression
* make setLengthStr compile for the old version
* make growobjcrash complete earlier
2018-08-05 11:42:38 +02:00
Christopher Dunn
cc1fd50b27 Try to let memTracker compile (#8502) 2018-08-05 09:53:10 +02:00
Araq
96c6c82d55 fixes #8425 2018-08-04 20:10:03 +02:00
Araq
1fa23e347e make 'koch xz' enforce a clean 'git diff'; fixes #7292 2018-08-04 19:55:23 +02:00
Timothee Cour
8d2953e805 gitignore test.ini, generated by ./koch tests (#8529) 2018-08-04 18:12:35 +02:00
Araq
e6738ba9d9 make 'echo' threadsafe on Windows; fixes #8511 2018-08-04 18:11:03 +02:00
Charlie Barto
e403ef25ac fix shell quoting error for static libraries (#8532) 2018-08-04 01:18:27 +02:00
Timothee Cour
9a390d66fb fixes #8509 disable 4GB allocating test on windows that crashed appveyor (#8510) 2018-08-02 13:33:46 +02:00
andri lim
78c0ac5407 fixes #7827, bindSym enhancement (#8499)
* bindSym power up, working prototype

* update bindSym doc

* add bindSym test

* fix some typo

* fix bindSym doc

* get rid of specialops field from vm

* add experimental: dynamicBindSym
2018-08-02 12:56:44 +02:00
Timothee Cour
674bd7bfad fix wrong arch defined(osx) (#8492) 2018-08-02 01:19:29 +02:00
jcosborn
8f4c5a8955 fixed #7894 (#8496)
make system tests run properly
2018-08-01 10:57:35 +02:00
Timothee Cour
9e37e3e5e8 add hintCC to optionally disable printing 'CC: filename' (#8479) 2018-08-01 09:22:51 +02:00
Timothee Cour
818d9be311 lineInfoObj (and check, expect) now return absolute paths (#8466) 2018-07-31 23:02:04 +02:00
Oscar Nihlgård
931273cc6b Fix ref bug in vmgen (#8424) 2018-07-30 22:28:24 +02:00
Oscar Nihlgård
5491f1f53b Deprecate the dot style for import paths (#8474) 2018-07-30 09:24:16 -04:00
Dominik Picheta
52807287a4 Merge pull request #8476 from euantorano/patch-1
Update example code for UDP sockets
2018-07-30 13:44:38 +01:00
Euan T
e11d52a4e8 Update example code for UDP sockets 2018-07-30 13:39:32 +01:00
Timothee Cour
c0f78ec012 fixes #8419 fixes #8420 ; workaround #6071 workaround nim-lang/website#98 (#8423)
add --git.devel option to override doc generated "edit" links; add --nimCompiler option to nimweb
2018-07-30 14:02:18 +02:00
Araq
f2ddd99539 fixes #8425 2018-07-30 12:20:58 +02:00
Araq
d270245a01 disable --app:gui for non Windows targets; fixes #2576 2018-07-30 12:20:58 +02:00