summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* tables: check for mutation when iterating (#11160)Miran2019-05-041-42/+127
|
* introduce temporary <//> for 'owned' to get this compile with 0.19 (#11145)Andreas Rumpf2019-05-024-23/+27
| | | | | | | | * introduce temporary <//> for 'owned' to get this compile with 0.19 * make newTable[string, owned Node]() compile (but it crashes) * make sink/owned parameters consistent * make actiontable test compile again * VM: support sytem.move; makes tests green
* Fix ospaths import error (#11150)genotrance2019-05-012-2/+2
|
* Fix unexpected result of rand on a range, fixes #11015 (#11035)Jasper Jenkins2019-04-301-8/+14
|
* streams: Update documentation, refs #10330 (#11059)jiro2019-04-291-81/+832
|
* Initialized collections (#11094)Miran2019-04-296-424/+650
| | | | | | | | | | | | * tables: initialized by default * sets: initialized by default * DRY: extract shared functionality * add a changelog entry * fix errors * don't test include files * make it work for sharedtables * fix discovered bugs * add exhaustive tests
* reimplement_pr_10974 (#11130)cooldome2019-04-271-0/+16
|
* Fix: remove pragma inline from parseBin|Oct|Hex (#11105)Alvydas Vitkauskas2019-04-241-3/+3
|
* Make parseutils.parseBin|Oct|Hex generic (#11067)Alvydas Vitkauskas2019-04-241-69/+114
| | | | | | * make parsutils.parseBin generic and improve runnableExamples * reimplement parseBin/Oct/Hex and improve runnableExamples * update changelog.md file with parseBin/Oct/Hex and fix a typo
* Add missing `deprecated` pragma (#11100) [ci skip]Oscar Nihlgård2019-04-241-1/+1
|
* fixes #1192Araq2019-04-231-0/+7
|
* fixes #11089Araq2019-04-231-1/+7
|
* strformat: minor style changesAraq2019-04-231-4/+4
|
* tables: fix link (#11090) [ci skip]Jjp1372019-04-231-1/+1
|
* Fix header inconsistencies in documentation (#11071)Zed2019-04-2311-72/+68
|
* Documentation import fixes (#11070)Zed2019-04-211-17/+14
| | | | | | * Move asyncdispatch imports below introduction * Move nre imports below documentation
* Improve tables docs for del/take (#11030)Christopher Dunn2019-04-171-1/+5
| | | | * Continuation of b40a637f * https://forum.nim-lang.org/t/4789
* 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
* fixes another regression; the behaviour of 'array' formatting was changedAraq2019-04-151-8/+0
|
* fixes #11012Araq2019-04-151-28/+10
|
* fixes #11005Araq2019-04-121-3/+3
|
* Compiler plugin for implementing incremental computation in user space (#10819)cooldome2019-04-111-1/+3
| | | | | | | | | | 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.
* random: works for slices and enums, fixes #7698 (#10998)Miran2019-04-111-3/+3
|
* json: add '\v' support, fixes #10541 (#10987)Miran2019-04-102-0/+4
|
* strutils.nim: fixes the indentation of formatEngAraq2019-04-101-5/+5
|
* add strformat limitations section (#10982)Arne Döring2019-04-091-0/+59
| | | | | * add strformat limitations section * Update lib/pure/strformat.nim
* make strformat work as NimScript againAraq2019-04-061-2/+5
|
* makes koch.nim sem'check with --newruntimeAraq2019-04-062-5/+11
|
* Strformat symbol binding (#10927)Arne Döring2019-04-052-135/+110
|
* make sets.nim useful for selective 'from import'sAraq2019-04-051-57/+54
|
* 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
|
* 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-016-23/+17
|
* 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
* fixes json.nim regressionAndreas Rumpf2019-03-291-12/+5
|
* code cleanup (#10874)Arne Döring2019-03-282-24/+10
|
* logging: better documentation (#10895)Jjp1372019-03-241-94/+572
|
* stats.nim: bugfix: use min in '+' [backport]Andreas Rumpf2019-03-231-1/+1
|
* improve docs for os.joinPath, fixes #10836 (#10866)Miran2019-03-201-2/+7
|
* correct argument name, (#10813)Anthon van der Neut2019-03-181-1/+2
| | | | | | | | | | * correct argument name, updated using poUsePath, based on feedback from c-blake * Update osproc.nim * explicit args parameter
* Detect local "primary" IP addressFederico Ceratto2019-03-171-0/+20
|
* bring back `typetraits.$` for backward compatibilitynarimiran2019-03-141-0/+2
| | | | | Some packages are still using ``from typetraits import `$` `` which is now available from system (no need to import it).
* move system.dollars in a separate file (#10829)Miran2019-03-131-4/+14
|
* bitops: add reverseBits and test (#10835)Tomohiro2019-03-131-0/+45
|
* simplify json.% for tuples and objectsnarimiran2019-03-111-13/+7
|
* Revert "Follow the documentation's recommendation (#10808)"narimiran2019-03-101-2/+1
| | | | This reverts commit 1a13b3a14eafc35615c7e9f1b72b3ab646fa7550.