summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix error in assertions document (#12925) [backport]flywind2019-12-181-1/+1
|
* Implement NixOS distro check (#12914)Emery Hemingway2019-12-181-1/+5
|
* ARC: cycle detector (#12823)Andreas Rumpf2019-12-178-33/+277
| | | | | | | | | | | | | * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish
* NaN floatFormat with clang_cl (#12910)cooldome2019-12-171-2/+2
| | | | | | * clang_cl nan floatFormat * format
* fix json regression D20191212T144944 (#12902) [backport]Timothee Cour2019-12-151-0/+1
|
* remove unused import (#12900)Krzysztof Majk2019-12-151-1/+1
|
* fixes #12874 (#12890)Andreas Rumpf2019-12-131-8/+42
| | | | | | * fixes #12874 * fixes introduced regressions
* Better clang_cl support (#12896)cooldome2019-12-131-5/+6
|
* introduce capture macro (#12712)Judd2019-12-101-0/+26
| | | | capture works for more cases than `closureScope`.
* Fix AVR target to define ints properly (#12817)PMunch2019-12-101-7/+67
| | | | | | | | | | | | * Fix AVR target to define ints properly * Fix more than AVR target * Test to see how robust not using stdint is * Fix for namespaces using cstdint * Fix for pre C++11 compilers when using namespaces
* feature dracula themed doc (#12816)Andreas Rumpf2019-12-101-2/+2
| | | | | | | | | | * Implement gorgeous Dracula themed Nim documentation * Add color for escape sequences * fixes the test cases * the big CSS cleanup
* add a StringTable.clear that requires no mode specification (#12853)Andy Davidoff2019-12-091-1/+5
| | | | | | * add clear overload, test, changelog * add since annotation
* added cstrutils (#12858) [backport]Kevin2019-12-091-1/+1
| | | fixed for 'csuCmpIgnoreStyle' error on hotcodereloading
* Fixes #12832 (#12842) [backport]Neelesh Chandola2019-12-081-1/+1
| | | | | | * Fix #12832 * nimVm -> nimvm in json.nim * Use suggestSym() instead of markUsed(); Also use styleCheckUse() for finding style violations
* Fixes classify function to detect subnormal floating points (#12836)KeepCoolWithCoolidge2019-12-081-16/+20
| | | | | | | | * Fix classify to test for subnormality. * Minor fix. * Modified to maintain existing API. * Minor change. * Removed 32-bit case since float is always 64-bit.
* ARC related bugfixes and refactorings (#12781)Andreas Rumpf2019-12-053-99/+65
|
* nimgrep improvements (#12779)Andrey Makarov2019-12-051-5/+12
| | | | | | | | | | | | | | | | | | * fix sticky colors in styledWrite * nimgrep: context printing, colorthemes and other * add context printing (lines after and before a match) * nimgrep: add exclude/include options * nimgrep: improve error printing & symlink handling * nimgrep: rename dangerous `-r` argument * add a `--newLine` style option for starting matching/context lines from a new line * add color themes: 3 new themes besides default `simple` * enable printing of multi-line matches with line numbers * proper display of replace when there was another match replaced at the same line / context block * improve cmdline arguments error reporting
* Fix #12812Clyybber2019-12-051-1/+1
|
* fix db_mysql getRow() when column is null error raised (#12806) [backport]itsumura-h2019-12-051-3/+4
| | | | | * fix db_mysql getRow() * added if y == nil [backport]
* fixes #12798 [backport]Araq2019-12-041-0/+1
|
* osx: support nanosecond resolution for file stat (eg ↵Timothee Cour2019-12-042-2/+7
| | | | getLastModificationTime) (#12794)
* Update events.nim (#12803)Alex Mitchell2019-12-031-1/+1
| | | Removing old username.
* [minor] fix doc for $(Time) (#12795) [backport]Timothee Cour2019-12-031-1/+1
|
* #12103 - CI for FreeBSD (#12179)Euan2019-11-292-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * Ref #12103 - adds FreeBSD CI * Fix getApplFreebsd - length of the string includes the null terminator byte, so minus 1 for result length * Show last commit in setup task. * Remove .git from repository URL * Don't include noisy details showing last commit. * Add FreeBSD build status badge * Fix #12182 - disable tconsole on FreeBSD * Disable tgetaddrinfo on FreebSD as getaddrinfo doesn't support the ICMP protocol. * Install boehm-gc-threaded * Use libgc-threaded.so on FreeBSD rather than libgc.so. * Simplify build failure handling. Update alt text for CI badge. * Disable test on FreeBSD * Simplify build config - use GNU make to build csources - set PATH variable using the environment key - remove modification of config to set CC as this is already set * Install git which seems to be missing from current freebsd images * Revert change to how path is set * Add a comment explaining why the length is truncated * Fix tconsole.
* fix httpclient.lastModified bad pattern in parsing (#12698)Pierre-Jean Grenier2019-11-291-1/+1
|
* Fix sequtils.delete bug with out of bounds indexes (#12506)Oscar Nihlgård2019-11-291-1/+6
|
* make addQuoted work on nimscript (#12717) [backport]Jasper Jenkins2019-11-281-5/+6
|
* ARC: implemented a simple cycle detectorAraq2019-11-281-0/+2
|
* Fix for 16 bit platforms (#12760) [backend]PMunch2019-11-282-7/+9
| | | | | This fixes some tiny issues with using Nim on 16-bit platforms. Not entirely sure why the AVR chip I was compiling for with "cpu = avr" was detected as 16-bit, but that's probably another issue..
* [backport] Fix style issues in lib/, tools/, and testament/. Fixes #12687. ↵3n-k12019-11-286-92/+92
| | | | (#12754)
* [backport] Fix spelling typos (#12755)Brian Wignall2019-11-281-1/+1
|
* more fixes for --cpu:avr [backport] (#12748)Andreas Rumpf2019-11-274-5/+8
|
* ARC: ported the GC tests over to --gc:arcAraq2019-11-263-12/+34
|
* replace some runtime repr in stdlib for gc:arc (#12716)Andy Davidoff2019-11-253-4/+5
|
* csize_t changes: pinToCpu didn't compile (#12725)Mamy Ratsimbazafy2019-11-251-1/+1
|
* delete list comprehension (#12392)Arne Döring2019-11-221-58/+0
| | | The `lc` macro is now part of `graveyard` repository.
* index out of bounds exception when data is empty (#12428)Jack Tang2019-11-221-9/+11
|
* add collect macro (#12708)b3liever2019-11-221-0/+97
| | | | | | * add collect macro * Add to changelog
* fixes #11863 multipart data need $ (#12707)Andreas Rumpf2019-11-221-0/+13
| | | | | * fixes #11863 * improved the code; refs #12412
* more arc improvements (#12690)Andreas Rumpf2019-11-201-2/+5
| | | | | * ARC: bugfix for =destroy for inherited objects * added code useful for debugging
* Discussion both in (#12678)c-blake2019-11-201-31/+41
| | | | | | | | | | | https://github.com/nim-lang/Nim/pull/12600 and in https://forum.nim-lang.org/t/5499 indicates that everyone is happy/happier with ``pop``. This just renames the brand new ``take``s to ``pop`` and installs inline aliases/wrappers to preserve ``Table.take`` and ``TableRef.take``. Update apis.rst to try to maintain consistency of remove-and-return procs.
* Fixes ambiguity errors when evaluating Nimble files. (#12674) [backport]Dominik Picheta2019-11-181-6/+6
| | | | | | | | When trying to evaluate a Nimble file which imports a Nim module I was getting the following errors for some reason: ``` /Users/dom/projects/nim/lib/pure/parseopt.nim(229, 46) Error: ambiguous call; both system.paramCount() [declared in /Users/dom/projects/nim/lib/system/nimscript.nim(65, 6)] and os.paramCount() [declared in /Users/dom/projects/nim/lib/pure/os.nim(2613, 8)] match for: () ```
* fixes and changes the recently introduced 'alignas' to be 'align' (#12666)Andreas Rumpf2019-11-151-1/+6
| | | | | | * fixes and changes the recently introduced 'alignas' to be 'align' * more improvements
* Fix htmlgen html lang (#12668) [backport]Juan Carlos2019-11-151-1/+1
| | | | | * Fix HTMLGen enable lang on html tag
* fix documentation of `$`*(dt: DateTime) (#12660)David Krause2019-11-151-1/+1
| | | | (cherry picked from commit 39122ecd93854dd696aad2a5a0a5ad04d6dcdbfa)
* make tests green againAndreas Rumpf2019-11-131-2/+2
|
* gc:arc: support GC_ref/unref for ref TAraq2019-11-133-5/+16
|
* async: cleaner solution that avoids GC_ref on strings which doesn't exist ↵Araq2019-11-131-6/+5
| | | | for --gc:arc
* remove long-deprecated 'mapIt'narimiran2019-11-131-7/+0
|
* implemented alignas pragma (#12643)Arne Döring2019-11-131-0/+1
| | | | | | | | | | | | * implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof.