summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* micro improvements (#15849)Andreas Rumpf2020-11-051-1/+2
|
* document #15618 (#15810)flywind2020-11-051-0/+9
| | | | | | | | | | | | | | * document #15618 * Update lib/pure/unittest.nim * Update lib/pure/unittest.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> * Update lib/pure/unittest.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* fix adding empty sequence to HTTP headers (#15783)flywind2020-11-051-4/+7
| | | | | * fix adding empty sequence to HTTP headers * add tests
* fix #15663 (#15839) [backport:1.4]flywind2020-11-051-0/+7
|
* change non-working example to runnableExamples (#15841)flywind2020-11-051-7/+5
|
* fix #15835 (#15838)flywind2020-11-041-0/+2
| | | | | * fix #15835 * add tests
* remove iup from stdlib in contrast to #15828 (#15830)flywind2020-11-031-995/+0
| | | | | * remove iup from stdlib * Update changelog.md
* fix deprecated messages regarding high (#15832)flywind2020-11-032-2/+2
|
* EnumUtils, speed up findStr in compiler (#15777)cooldome2020-11-032-58/+67
| | | | | | | | * add parseEnumRange * fix runnable example * update changelog * use parseEnumRange in compiler * reorganise code * add changelog, make single normalizer argument
* `ioutils` are moved to `fusion` (#15822)Miran2020-11-021-85/+0
|
* simplify toHex (#15821)Timothee Cour2020-11-021-29/+2
|
* fixes #15804 (#15820)Andreas Rumpf2020-11-021-12/+9
| | | | | | | | | * fixes #15804 * fix the existing test * add the testcase for #15804 Co-authored-by: narimiran <narimiran@disroot.org>
* fixes #15594 (#15819)flywind2020-11-021-0/+2
|
* Handle BLOB column type in SQLite as binary data (#15681)Regis Caillaud2020-11-021-15/+78
| | | | | | * Fixed not handling blob correctly in sqlite * Fixed setLen commented by mistake * Added binary example as db_sqlite doc * Added tests for sqlite binary data
* more clear (#15812)flywind2020-11-021-2/+2
|
* Update tables documentation (#15807)Thomas Tay2020-11-021-0/+34
| | | | Added a case where a user might use mgetOrPut and create an accidental copy of a seq.
* fix #15815 (#15817)flywind2020-11-021-1/+4
|
* support par expression as checkpoint (#15802)flywind2020-10-311-1/+1
|
* Grammar fixesClyybber2020-10-301-4/+4
|
* promote `collect` macro as a map+filter replacement (#15788)Miran2020-10-302-1/+29
| | | | | * promote `collect` macro as a map+filter replacement * Update lib/pure/collections/sequtils.nim
* fix `toHex` - make it work with int literals (#15770)Miran2020-10-301-0/+12
|
* add approxequal (#15766)Antonis Geralis2020-10-301-1/+24
| | | | | | | | | | | | * add approxequal * Address review comments, tests that pass * more wikipedia links [ci skip] * forgot since Co-authored-by: b3liever <b3liever@yandex.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Fix doc comment for sumKbn (#15769)Antonis Geralis2020-10-291-1/+1
| | | Co-authored-by: b3liever <b3liever@yandex.com>
* fixes #15413 (#15768)Andreas Rumpf2020-10-291-21/+61
| | | | | | | * fixes #15413 * better hide it properly * see if this makes our list of important packages happy
* Make default state public (#15763)Antonis Geralis2020-10-291-0/+6
| | | | | | | * Make default state public * Address review comments Co-authored-by: b3liever <b3liever@yandex.com>
* Make newObjUninit proc to adhere to its name (#15764)Antonis Geralis2020-10-281-2/+2
| | | Co-authored-by: b3liever <b3liever@yandex.com>
* ARC now capable of custom extra alignment. Ref, closure and seq support. ↵cooldome2020-10-287-45/+112
| | | | (#15697)
* fix #15750narimiran2020-10-281-0/+2
|
* fixes #10456,#12928 issues when chaining templates to sortedByIt (#15734)shirleyquirk2020-10-271-1/+1
| | | | | | | | | | | | | | | * update c_malloc's to csize_t fix for broken --os:ios * I'm an idiot sorry * Create talgorithm.nim * workaround for #10456 I don't understand the intricacies of how lambdalifting and template expansions interact with lent, so i don't know how to fix the real problem, but this sidesteps whatever issue that is. * working test, use typeof rather than auto
* Add C function dup and dup2 posix to system/io (#15675)Regis Caillaud2020-10-271-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | * * Add handle to dup and dup2 posix as duplicate and duplicateTo in std/ioutils. * Added small test & changelog entry * Fixed import in tioutils removed when isMainModule * * Nest test inside block. Rename proc var -> let in captureStdout * Renamed tmpfile to iotuils.txt * Added block: # duplicate, duplicateTo * Improved docstring * Clean non-idiomatic code * Added runnable examples * rm 2 trailing space in expected output * Made syntax prettier * Runnable example: file in getTempDir() * Tmp -> Temp * Fixed runnableExamples on windows
* Documentation only iup (#15732)Juan Carlos2020-10-261-0/+40
| | | | | | | * ReSync with Devel * ReSync * Add Examples for IUP, based from official doc
* Add support to the latest LibreSSL version (#15715) [backport:1.2] ↵Danil Yarantsev2020-10-261-2/+2
| | | | [backport:1.4]
* Fix Prelude (#15714)Juan Carlos2020-10-261-1/+2
| | | | | | | | | * ReSync with Devel * Fix prelude for JS target * ReSync devel * Fix prelude for JS target
* explicit ID generation for easier IC (#15559)Andreas Rumpf2020-10-251-1/+1
| | | | | | | | | | | | | | | | | * refactoring: idents don't need inheritance * refactoring: adding an IdGenerator (part 1) * refactoring: adding an IdGenerator (part 2) * refactoring: adding an IdGenerator (part 3) * refactoring: adding an IdGenerator (part 4) * refactoring: adding an IdGenerator (part 5) * refactoring: adding an IdGenerator (part 5) * IdGenerator must be a ref type; hello world works again * make bootstrapping work again * progress: add back the 'exactReplica' ideas * added back the missing exactReplica hacks * make tcompilerapi work again * make important packages green * attempt to fix the build for 32 bit machines (probably need a better solution here)
* fix #15698 (#15699)rockcavera2020-10-251-0/+4
| | | | | | | | | | | * fix in the net.`$` to print zeros that are not in the compressed group * Update lib/pure/net.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update net.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Fix #12410 (#15685)Clyybber2020-10-231-1/+1
| | | | | * Fix #12410, big thanks to @pmetras for this fix * Add testcase
* fixes bootstrapping for any machine that has a Nim already installed ↵Andreas Rumpf2020-10-201-7/+6
| | | | [backport:1.4] (#15660)
* Fixes compilation for --os:any + --exception:setjmp (#15626)Dominik Picheta2020-10-201-1/+1
|
* $(uint|uint64) now works with nimscript (#15644)Timothee Cour2020-10-203-22/+20
| | | | | * $(uint|uint64) now works with nimscript * fixup
* Fix compilation error for regions and memory profiling (#15641) (#15656)RecruitMain7072020-10-201-0/+3
| | | Co-authored-by: Recruit_main707 <Recruit_main707@users.noreply.github.com>
* arc allocation method aligned (#15588)cooldome2020-10-198-33/+69
| | | | | * progress * fix typo
* Tables, use sink val arguments more actively (#15625)cooldome2020-10-192-10/+10
|
* change NimVersion to 1.5.1narimiran2020-10-161-2/+2
|
* fixes #15560 (#15587)Andreas Rumpf2020-10-151-2/+1
|
* fix rlock compilation failure (#15584)shirleyquirk2020-10-152-3/+3
| | | | | | | | | | | * change SysLockType_Reentrant fix edge case where using SysLockType_Reentrant doesn't trigger an #include pthread.h * syslocktype_reentrant now a var * remove nodecl to remove empty system_syslocks.c * let is better than var. in reality SysLockType = enum, maybe that would be a better fix
* Fix crash in parsexml (#15582) (#15583)Igor Ribeiro de Assis2020-10-151-0/+3
| | | Co-authored-by: Igor Ribeiro de Assis <igor.ribeiro_de_assis@zeiss.com>
* ORC: API extensions for 1.4 (#15581)Andreas Rumpf2020-10-151-5/+22
|
* ORC: critical bugfix for the cycle analyser, introduce -d:nimStressOrc for ↵Andreas Rumpf2020-10-142-19/+32
| | | | easier stress testing (#15572)
* terminal: fix fgColor/bgColor commands [backport] (#15554)alaviss2020-10-131-4/+3
| | | | | Since #8296, fgSetColor is no longer a global. These commands were probably left out from the change as an oversight, so some tests have been added to make sure this won't happen again.
* dup docs: add an example with `addQuoted` (#15548)Timothee Cour2020-10-131-0/+5
| | | | | * dup docs: add addQuoted example * fixup