summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8628 from hlaaftana/patch-1Dominik Picheta2018-08-141-2/+2
|\ | | | | Small documentation typo in math
| * Small documentation typo in mathhlaaf2018-08-141-2/+2
| |
* | fixes #8577, fixes #8580, other bug fixes (#8584)Timothee Cour2018-08-141-38/+86
| |
* | Haiku support for Nim (#8542)alaviss2018-08-1419-29/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix_other: Haiku now has spawn.h This is added per https://dev.haiku-os.org/ticket/13446 * posix_other: Add Haiku specific Dirent members * cpuinfo: Add an implementation for Haiku * distros: Add basic Haiku support * encodings: update Haiku support * fenv, math: Haiku now provides libm * times: Add Haiku struct members * ansi_c, osalloc: Add Haiku constants * threads: Add Haiku support * testament: Haiku uses LIBRARY_PATH * nim.cfg: Update Haiku support libnetwork should only be linked if network functions are used * threads: Haiku does not support -pthread switch * tworkingdir: Haiku's env is in /bin * posix_other: add SIGKILLTHR for Haiku * sockets: link with libnetwork on Haiku * coro: correct ucontext.h location http://pubs.opengroup.org/onlinepubs/009696699/basedefs/ucontext.h.html * coro: ucontext backend is not available on Haiku Haiku doesn't provide the <ucontext.h> header, as it was removed from POSIX * coro: fix setjmp backend The compiler does not allow statements after a noreturn function * nativesockets: Haiku doesn't support AI_V4MAPPED * system: hostOS can contains "haiku" * os: add support for Haiku's packagefs packagefs is read-only, but there are writable holes to the underlying file system as well * os: update constant for Haiku
* | Adds get for Option[T]. (#8462)Dominik Picheta2018-08-141-1/+8
|/
* Converters to take into account constraints. Fixes #7520 (#8593)cooldome2018-08-132-0/+24
|
* Fixed 7478: splitLines keepEol option (#8621)Iván Montes2018-08-132-13/+29
|
* Clarify usage of "Test" argument in Koch (#8613)Naveen Arunachalam2018-08-122-2/+3
| | | | | | Minor change to help people (e.g. like myself) who are starting out :) Currently, the readme mentions the use of `./koch tests cat async`, but the help text for koch doesn't mention it. Helptexts are modified accordingly.
* Fixes 8616 (#8617)LemonBoy2018-08-124-1/+17
| | | | | | | | * Don't leave dangling forward references to types Fixes #8616 * Add a test case for #8616
* Mysterious fix for #8550 (#8561)LemonBoy2018-08-122-5/+14
| | | | Replacing the `for` body with a nkEmpty node is not the right thing to do.
* Preliminary check for test category folder existence (#8579)LemonBoy2018-08-101-0/+4
| | | Warn the user if nothing is executed.
* fixes #8519; implements T.distinctBase to reverse T = distinct A (#8531)Timothee Cour2018-08-103-1/+69
|
* save a backup of csources-built nim to bin/nim_csources to avoid recompiling ↵Timothee Cour2018-08-091-4/+13
| | | | from csources (#8582)
* Uses XDG_CACHE_HOME if available (#8585)alaviss2018-08-092-2/+3
| | | | | | * compiler/options: use XDG_CACHE_HOME if set * doc/nimc: update documentation
* Update channels.nim (#8583)Grant2018-08-091-1/+1
| | | Fix typo in channels.nim
* Tests for v1 closed generics/static issues (#8572)Mamy Ratsimbazafy2018-08-083-0/+51
| | | | | | | | * Add tests to confirm https://github.com/nim-lang/Nim/issues/7231 is fixed. * Add test for closed https://github.com/nim-lang/Nim/issues/6137 * Add test for https://github.com/nim-lang/Nim/issues/7141
* add build_all.sh to allow 1-liner to build development version of the ↵Timothee Cour2018-08-082-8/+39
| | | | compiler (#8546)
* Fix regression for mapIt (#8567)LemonBoy2018-08-081-3/+8
| | | | | | Don't try to be too smart and limit the use of `evalOnce` where strictly needed as not every value can be assigned with a `let`. Fixes #8566
* Merge pull request #8559 from ehmry/fix_8109Dominik Picheta2018-08-081-2/+13
|\ | | | | AsyncHttpClient: return from requests before body completion
| * AsyncHttpClient: return from requests before body completionEmery Hemingway2018-08-081-2/+13
| | | | | | | | | | | | | | | | | | Store the body completion future at the client and wait for it to complete before issuing additional requests. This allows the body FutureStream reader to drain the stream and read buffers to be freed asynchronously. Fix #8109
* | fixes the new nimcache handlingAraq2018-08-081-1/+2
| |
* | 'nimcache' defaults to ~/.cache on Posix; cleaned up documentationAndreas Rumpf2018-08-084-36/+37
| |
* | use slashes instead of dots for pathsAndreas Rumpf2018-08-082-3/+3
| |
* | introduce the --define 'osx' as an alias for 'macosx'Andreas Rumpf2018-08-081-0/+1
| |
* | runnableExamples: keep (gitignored) generated foo_examples.nim for ↵Timothee Cour2018-08-072-4/+5
| | | | | | | | | | | | inspection even on success (#8544)
* | Make mapIt work on openArray's (#8543)LemonBoy2018-08-071-3/+30
| |
* | fixes #6255, add `system.ashr` arithmetic right shift (#8547)andri lim2018-08-0713-10/+93
|/
* Stricter signature for countdown/countup (#8549)Oscar Nihlgård2018-08-071-3/+3
|
* fixes #8421, fixes #7968, Nim compiler compiles with MSVC C89 version (#8556)andri lim2018-08-073-25/+80
|
* Iterator over heap instances (#8548)Emery Hemingway2018-08-071-8/+14
| | | | | Provide "dumpHeapInstances" for iterating over type statistics of heaps. This can be used to present structured heap information as an alternative to "dumpNumberOfInstances".
* disable tioselectors test for OSXAndreas Rumpf2018-08-061-1/+3
|
* travis/testament: disable JS tests on OSXAndreas Rumpf2018-08-062-3/+4
|
* attempt to make the travis OSX build greenAraq2018-08-061-0/+1
|
* make 'flags' test green on OSXAndreas Rumpf2018-08-061-1/+1
|
* OSX: make tioslectors test greenAndreas Rumpf2018-08-061-1/+4
|
* remove redundant test for nil before `add` (#8460)Timothee Cour2018-08-061-2/+0
|
* fixes #5617, 'copyLineInfo' addition (#8523)andri lim2018-08-056-23/+40
|
* Merge pull request #8364 from timotheecour/pr_expandTildeDominik Picheta2018-08-051-14/+12
|\ | | | | ospaths.expandTilde: handle ~ correctly; refactor to use DirSep, AltSep
| * ospaths.expandTilde: handle ~ correctly; refactor to use DirSep, AltSepTimothee Cour2018-07-181-14/+12
| |
* | fixes #8215; remove reference to old doc command which was deprecated (#8418)Timothee Cour2018-08-052-25/+6
| |
* | fixes 7833 (#8533)Andreas Rumpf2018-08-057-29/+114
| | | | | | | | | | | | | | | | | | | | | | * 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
* | Try to let memTracker compile (#8502)Christopher Dunn2018-08-052-11/+11
| |
* | fixes #8425Araq2018-08-042-2/+10
| |
* | make 'koch xz' enforce a clean 'git diff'; fixes #7292Araq2018-08-041-0/+8
| |
* | gitignore test.ini, generated by ./koch tests (#8529)Timothee Cour2018-08-041-1/+2
| |
* | make 'echo' threadsafe on Windows; fixes #8511Araq2018-08-041-0/+8
| |
* | fix shell quoting error for static libraries (#8532)Charlie Barto2018-08-041-1/+1
| |
* | fixes #8509 disable 4GB allocating test on windows that crashed appveyor (#8510)Timothee Cour2018-08-021-3/+6
| |
* | fixes #7827, bindSym enhancement (#8499)andri lim2018-08-029-13/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | fix wrong arch defined(osx) (#8492)Timothee Cour2018-08-021-1/+1
| |