summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* specialize genericReset (#14398)Andreas Rumpf2020-05-191-1/+1
| | | | | | | * progress * make tests green * maybe we also want to reset pointers, dunno * progress * cleanup; fixes #13879 [backport:1.2]
* trunner was not actually being tested in non-CTFFI mode; minor testament ↵Timothee Cour2020-05-191-1/+1
| | | | | | | | | | cleanups (#14377) * use check * trunner now works with cpp * cleanup: move compiler/unittest_light => stdtest/unittest_light * fix tests/readme.md * remove deadcode references to rodfiles * fix for windows
* Fix #14394 (#14395)Clyybber2020-05-181-1/+1
|
* add OpenBSD MAP_STACK for coroutines (#14353)John2020-05-161-4/+10
|
* fixes #14370 (#14371)Andreas Rumpf2020-05-162-2/+2
|
* Emscripten: disable epoll (#14361)Dominik Picheta2020-05-161-2/+2
| | | Epoll is not supported by epoll.
* add SqlPrepared api fix #13559 (#14365)Bung2020-05-161-0/+101
| | | Co-authored-by: bung87 <crc32@qq.com>
* fix some issues with --backend (#14363)Timothee Cour2020-05-161-1/+1
| | | | | * fix some issues with --backend * fix https://github.com/timotheecour/Nim/issues/175; improve upon #14306
* Remove the uses of {.procvar.} pragma (#14359)Kaushal Modi2020-05-157-53/+52
| | | | | | | This pragma did nothing. Ref: - https://github.com/nim-lang/Nim/issues/2172#issuecomment-383276469 - https://github.com/nim-lang/Nim/issues/12975
* fix #9771 (#14357)Bung2020-05-152-17/+19
| | | | | | | * fix #9771 * map SQLLEN SQLULEN * fix proc params take TSqlLen Co-authored-by: bung87 <crc32@qq.com>
* Improve nimeval, changes some defaults (#14351)PMunch2020-05-151-1/+1
| | | | | | | | | | * Improve nimeval, changes some defaults This improves nimeval to make it easier to use NimScript as an embedded scripting languages. It does change some of the defaults, so in case anything used the old version and depended on the old behaviour these would have to be changed. * Remove dependency on nimhcr for nimscript
* Fail quickly if re or nre module is attempted to be compiled with js ↵Kaushal Modi2020-05-142-1/+6
| | | | | [backport] (#14341) Fixes https://github.com/nim-lang/Nim/issues/14338 .
* fixes #13862Araq2020-05-131-1/+1
|
* fixes #13935Andreas Rumpf2020-05-131-0/+3
|
* fixes #14331Araq2020-05-131-0/+28
|
* `osproc.execCmdEx` now takes an optional `input` for stdin, `env`, ↵Timothee Cour2020-05-132-13/+33
| | | | | | | workingDir (#14211) * `osproc.execCmdEx` now takes an optional `input` for stdin * execCmdEx now also takes an optional ``workingDir` and `env`
* cycle collector: make it threadsafeAraq2020-05-121-5/+5
|
* fixes #13881Andreas Rumpf2020-05-126-20/+36
| | | | | | * fixes #13881 * documented changed requirements for system.onThreadDestruction * destructors.rst: update the documentation
* properly fixes #13758 so that `import std/macros` stays legal (#14291)Timothee Cour2020-05-121-2/+1
| | | | | * properly fix https://github.com/nim-lang/Nim/issues/12389 * use --lib:lib in koch.nim.cfg instead * third time is the charm
* Make --backend:cpp|js work for :test: code-blocks as well (#14306)Kaushal Modi2020-05-111-1/+1
| | | | | | | | | Continues https://github.com/nim-lang/Nim/commit/9502e39b634eea8e04f07ddc110b466387f42322 Ref: - https://github.com/nim-lang/Nim/commit/9502e39b634eea8e04f07ddc110b466387f42322#commitcomment-39087584 - https://github.com/nim-lang/Nim/pull/14278 Fixes https://github.com/nim-lang/Nim/issues/13129 .
* Fix #14289 (#14304) [backport]slangmgh2020-05-111-1/+2
|
* fixes #13946 (#14302)Andreas Rumpf2020-05-112-11/+5
|
* do not track 'raise Defect' in the .raises: [] clause anymore (#14298)Andreas Rumpf2020-05-111-1/+6
| | | | | | | | | * do not track 'raise Defect' in the .raises: [] clause anymore * --panics:on maps 'raise Defect' to an unrecoverable fatal error * make tests green again * update the documentation too
* Fix for --styleCheck:errorAntonis2020-05-111-4/+4
|
* `nim doc --backend:js`, `nim doc --doccmd:-d:foo`, `nim r --backend:js`, ↵Timothee Cour2020-05-111-0/+2
| | | | | | | | | | `--doccmd:skip` + other improvements (#14278) * `nim doc --backend:js|cpp...` `nim doc --doccmd:'-d:foo --threads:on'` `nim r --backend:cpp...` (implies --run --usenimcache) * --usenimcache works with all targets * --docCmd:skip now skips compiling snippets; 50X speedup for doc/manual.rst
* fix a critical bug in windows.osproc leading to resource leaks and blocking ↵Timothee Cour2020-05-112-1/+7
| | | | IO [backport] (#14296)
* simple typo in locks.nim (#14297)Andy Davidoff2020-05-111-1/+1
|
* --hint:processing (+friends) is now supported and means ↵Timothee Cour2020-05-081-1/+1
| | | | `--hint:processing:on`, like all other bool flags (#14271)
* Merge pull request #14265 from alaviss/quickfixAndreas Rumpf2020-05-081-1/+1
|\ | | | | nativesockets: add missing inheritable pass-through
| * nativesockets: add missing inheritable pass-throughLeorize2020-05-071-1/+1
| |
* | Fix #14270 and add testcases (#14276)Clyybber2020-05-081-2/+6
|/
* net: remove more erroneous set constructions (#14252) [backport]alaviss2020-05-071-3/+8
| | | Refs #13764
* Fix runnable examples for bitops (#14247)awr12020-05-061-3/+3
|
* Added bitslice operations for bitops (#14016)awr12020-05-061-21/+206
| | | | | | | | | | | | | | | | | | | | * added bit operations based on bit slices, clarified documentation, made non-mutating versions of mask ops * Added since annotations, some runnable examples * Added mask()/masked() functions, changed internal workings of mask ops to use new bit* funcs * Changelog updated for new bitops improvements * Reorganization, added runnable examples * Documentation adjustments * Add incltrl for since annotation * Fix masked() impl * Fix mask() return type * Don't call toUnsigned on already unsigned types * Remove improper `var T` for flipMasked() * Fix return types for flipMasked() * Slight syntactic cleanup for *masked ops * Added tests for bitslice operations, new mask() operation, non-mutating mask ops * Fix setmasked() var T issue * More comprehensive tests * Fix runnable example for bitsliced() * Fix runnable example for mask()
* Make the fields of `times.DateTime` private (#14197)Oscar Nihlgård2020-05-061-76/+180
| | | | | * Make the fields of `times.DateTime` private * PR fixes
* fix js stacktraces, unify all file,line,col formatting into a single ↵Timothee Cour2020-05-054-11/+25
| | | | | function (#14230) * fix https://github.com/timotheecour/Nim/issues/135 ; unify all file,line,col formatting into a single function
* Clarify JS cstring len (#14184)hlaaftana2020-05-052-8/+9
|
* fix #14217 (#14218)cooldome2020-05-051-1/+1
| | | | | * fix #14217 Co-authored-by: cooldome <ariabushenko@bk.ru>
* fixes #14209 [backport:1.2] (#14213)Andreas Rumpf2020-05-051-1/+1
| | | | * fixes #14209 [backport:1.2] * improve stability
* Linux updates (#14170)wltsmrz2020-05-043-9/+17
| | | | | | | | | | | | | | * Add posix_memalign() * Add linux-specific open() flags O_TMPFILE: since Linux 3.11 O_PATH: since Linux 2.6.39 O_NOATIME: since Linux 2.6.8 O_DIRECT: since Linux 2.4.10 * Fix Stat type * Fix POSIX AF_INET* const generation
* Add procedures to read RSA keys from BIO format (#14223)PMunch2020-05-041-0/+4
|
* Fixes net.recvFrom to work correctly with IPv6 (#14131)rockcavera2020-05-041-10/+22
| | | | | | | * added high level sendTo and recvFrom to std/asyncnet; tests were also added. * add .since annotation, a changelog entry and fixed to standard library style guide. * fixes net.recvFrom to work correctly with IPv6 * raise if domain is not AF_INET or AF_INET6 * renamed template to adaptRecvFromToDomain()
* sequtils refactoring: prefer typeof over type (#14212)Andreas Rumpf2020-05-041-15/+15
|
* => supports pragmas & names (+ changed behavior) (#14200)hlaaftana2020-05-034-39/+65
| | | | | | | | | | * => supports pragmas & names (+ changed behavior) (x, y: int) is now parsed as (x: int, y: int) instead of (x: auto, y: int) inside => and ->. * fix pragma check * fixes, use since & LHS of -> supports pragmas
* fix #14203 (#14204)slangmgh2020-05-032-17/+18
|
* Fix #14151 (#14205) [backport]slangmgh2020-05-031-8/+2
|
* Fix #14201 (#14202)slangmgh2020-05-031-1/+1
|
* move since from inclrtl to std/private/since (#14188)hlaaftana2020-05-0226-53/+54
| | | | * move since from inclrtl to std/private/since * move since import in system below for HCR
* Document that proc named fooTask is created for every foo task [backport] ↵Kaushal Modi2020-05-021-0/+15
| | | | | (#14187) Ref: https://irclogs.nim-lang.org/01-05-2020.html#15:18:03
* change 'iff' to 'if' to stop "corrections" once and for all (#14182)Miran2020-05-0112-37/+37
|