summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* faster CountTable sort(), optional SortOrder (#11010)Andy Davidoff2019-04-161-27/+30
| | | | | | | | | * use existing sort for CountTable, and add SortOrder options to CountTable, OrderedTable sort(s) * add some tests, runnables, etc. * fix runnable imports
* Add len check for newIfStmt to avoid segfault (#11032)Jasper Jenkins2019-04-151-0/+2
|
* fixes another regression; the behaviour of 'array' formatting was changedAraq2019-04-151-8/+0
|
* fixes #11012Araq2019-04-151-28/+10
|
* added system.disarm (experimental)Araq2019-04-121-0/+7
|
* fixes #11005Araq2019-04-121-3/+3
|
* Compiler plugin for implementing incremental computation in user space (#10819)cooldome2019-04-113-1/+29
| | | | | | | | | | This plugin provides essential building block for implementing incremental computations in your programs. The idea behind incremental computations is that if you do the same calculation multiple times but with slightly different inputs you don't have to recompute everything from scratch. Also you don't want to adopt special algorithms either, you would like to write your code in standard from scratch manner and get incrementality for free when it is possible. The plugin computes the digest of the proc bodies, recursively hashing all called procs as well . Such digest with the digest of the argument values gives a good "name" for the result. Terminology loosely follows paper "Incremental Computation with Names" link below. It works well if you have no side effects in your computations. If you have global state in your computations then you will need problem specific workarounds to represent global state in set of "names" . SideEffect tracking in Nim also useful in this topic. Classical examples: Dashboard with ticking data. New data arrives non stop and you would like to update the dashboard recomputing only changed outputs. Excel spreadsheet where user changes one cell and you would like to recompute all cells that are affected by the change, but do not want to recompute every cell in the spreadsheet.
* fixes #10765 (#10993) [backport]cooldome2019-04-111-4/+21
|
* random: works for slices and enums, fixes #7698 (#10998)Miran2019-04-111-3/+3
|
* Make `secureHash` accept any `openArray[char]`, not only `string`. (#10988)c-blake2019-04-101-1/+1
| | | | | | * Make `secureHash` accept any `openArray[char]`, not only `string`. * Put in a changelog entry as per Araq request.
* rst: parse brackets individually, fixes #10475 (#10997)Miran2019-04-101-6/+17
|
* json: add '\v' support, fixes #10541 (#10987)Miran2019-04-102-0/+4
|
* enable most tnewruntime_strutils testsAraq2019-04-101-1/+1
|
* strutils.nim: fixes the indentation of formatEngAraq2019-04-101-5/+5
|
* newruntime: fixes another bugAraq2019-04-102-3/+2
|
* newruntime: fixes memory leakAraq2019-04-091-3/+4
|
* strs.nim: fixed a silly typoAraq2019-04-091-1/+1
|
* make tests green againAraq2019-04-091-2/+6
|
* add strformat limitations section (#10982)Arne Döring2019-04-091-0/+59
| | | | | * add strformat limitations section * Update lib/pure/strformat.nim
* allocators.nim: use zero initializationAndreas Rumpf2019-04-081-3/+8
|
* make it compile with older nim versionsAraq2019-04-082-0/+5
|
* respect -d:useMalloc everywhere; turn ansi_c and memory into proper Nim modulesAraq2019-04-084-66/+83
|
* make strformat work as NimScript againAraq2019-04-061-2/+5
|
* makes koch.nim sem'check with --newruntimeAraq2019-04-062-5/+11
|
* destructors: we are cooking nowAraq2019-04-063-28/+33
|
* added nimAsgnStrV2 compilerprocAraq2019-04-061-7/+28
|
* Strformat symbol binding (#10927)Arne Döring2019-04-052-135/+110
|
* make sets.nim useful for selective 'from import'sAraq2019-04-051-57/+54
|
* add back what was requiredAraq2019-04-041-0/+6
|
* refactoring: move threadlocalstorage into its own fileAraq2019-04-044-329/+258
|
* Merge pull request #10954 from cooldome/atomicInc_regressioncooldome2019-04-041-1/+1
|\ | | | | fixes regression #10953
| * fixes #10953Andrii Riabushenko2019-04-031-1/+1
| |
* | Fix dead sequtils link (#10960) [ci skip]MrZoraman2019-04-041-1/+1
|/
* md5: add missing .gcsafe. to the forward declarations (#10944)Miran2019-04-021-3/+3
|
* attempt to make the CIs green againAraq2019-04-021-5/+1
|
* do not display stacktrace twice, fixes #10922 (#10939)Miran2019-04-021-1/+0
|
* newruntime: progressAraq2019-04-022-6/+5
|
* see what appveyor thinks about thisAraq2019-04-011-1/+1
|
* see what appveyor thinks about thisAraq2019-04-011-2/+2
|
* os.nim: proper indentationAraq2019-04-011-1/+1
|
* newruntime: progressAraq2019-04-017-23/+19
|
* json.nim: tiny refactoringAraq2019-04-011-4/+1
|
* update unicode.nim (#10921)Miran2019-03-312-1148/+2399
| | | | | | | | | | * update unicode.nim * create a script to create the needed unicode data * make unicode.nim compatible with Unicode v12.0.0 * slightly improve unicode.nim documentation (fixes #4795) * more documentation
* make Boehm GC work on WindowsAraq2019-03-301-1/+4
|
* fixes json.nim regressionAndreas Rumpf2019-03-291-12/+5
|
* code cleanup (#10874)Arne Döring2019-03-285-50/+46
|
* use atomicInc/atomicDec (#10906)Miran2019-03-271-6/+5
|
* Fix #10907 - remove unused typedef string (#10908)genotrance2019-03-261-2/+0
|
* macros: typoAndreas Rumpf2019-03-261-1/+1
|
* logging: better documentation (#10895)Jjp1372019-03-241-94/+572
|