summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* added system.typeof operation; fixes #9093Araq2018-10-241-4/+18
|
* Fix times 32-bit issueOscar Nihlgård2018-10-191-2/+4
|
* Minor bug fix (#9430)cooldome2018-10-191-1/+1
|
* Change the order of compilation passes, transformation is made lazy at code ↵cooldome2018-10-181-4/+4
| | | | | | | | | | | | | | | gen (#8489) * Ast no transformation * Add getImplNoTransform to the macros module * progress on delaying transf * Fix methods tranformation * Fix lazy lambdalifting * fix create thread wrapper * transform for lambda lifting * improve getImplTransformed * Fix destructor tests * try to fix nimprof for linux
* fix #9394 by replacing `fmt` with `strutils.%` (#9417)Vindaar2018-10-181-3/+5
| | | | | | | | * fix #9394 by replacing `fmt` with normal string append Until issue #7632 is fixed, use string append. * use `strutils.%` instead of normal string add
* Make the swap procs safe for unaligned input ptrs (#9210)LemonBoy2018-10-181-9/+12
| | | | | | | | | | | * Make the swap procs safe for unaligned input ptrs The copy to a temporary local variable is often elided by a sufficiently smart compiler when it can prove the input pointer is aligned. Refs #9206 * Explain why copyMem is used
* Some documentation added to strutils (#9379)eqperes2018-10-161-2/+102
| | | | | | | | | | | | | | | | * wip documentation strutils * some runnableExamples in strutils * assert -> doAssert * corrected doc for abbrev; some more runnable examples * runnableExamples for join * fix c&p error * corrections
* math.round is not needed in strutils (#9383)skilchen2018-10-161-5/+4
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2018-10-151-23/+17
|\
| * fix #8225 os.isHidden was buggy on posix (#8315)Timothee Cour2018-10-151-23/+17
| | | | | | | | | | | | * fix #8225 isHidden was broken on posix * scope rest of tos.nim under blocks to avoid variable scope bugs
* | ospaths docs: add 'basename' to theindexAraq2018-10-151-1/+1
|/
* Add strip() example (#8002)Federico Ceratto2018-10-141-0/+2
|
* unicode: added strip, align, alignLeft, repeat procs; refs #6301Andreas Rumpf2018-10-141-0/+149
|
* unicode: add split procs; refs #6301Andreas Rumpf2018-10-142-14/+179
|
* struils: don't use the deprecated accumulateResultAndreas Rumpf2018-10-141-8/+12
|
* added new editdistance stdlib module, deprecated strutils.editDistance, refs ↵Andreas Rumpf2018-10-142-1/+310
| | | | #6301
* strutils/unicode: deprecate isLower and friends operating on complete ↵Andreas Rumpf2018-10-142-85/+19
| | | | strings; fixes #7963 properly
* add strutils.stripLineEnd (#9346)Timothee Cour2018-10-131-0/+23
|
* manual: Fix links to Parallel & Spawn (#9342)Tomohiro2018-10-131-1/+1
|
* fixes #8916 by fixing typeinfo and marshal. (#9341)Vindaar2018-10-131-7/+5
| | | | | | | | | * fixes #8916 by removing `tyString`, `tySeq`, mod. marshal, typeinfo Need to check in `typeinfo` for nil of the underlying pointer. In marshal don't have to check for nil of seq anymore. * remove reference to string, sequence in `isNil` doc string
* Proposed solution for issue #8919 (#9280)eqperes2018-10-121-0/+2
| | | | | | * Proposed solution for issue #8919 * count sub/subs must be non-empty
* Testament pre parallel (#9137)Jacek Sieka2018-10-121-1/+4
| | | | | | | | | | * testament: move to root dir (it's not a test) * osproc: fix process index passed to afterRunEvent for parallel runs it was passing the index of the process, not index of all commands * testament: complete file move
* 8684 add shortcut sort procs (#9174)Konstantin Molchanov2018-10-111-22/+9
| | | | | | | | * Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs. * Add tests for sort, sorted, and isSorted procs from algorithm module. * Merge sort tests into tsortcall.nim, remove tsort.nim. * Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs. * Add tests for sort, sorted, and isSorted procs from algorithm module. * Merge sort tests into tsortcall.nim, remove tsort.nim.
* Fix OrderedSet.excl (#9287)Oscar Nihlgård2018-10-111-34/+29
|
* Documentation improved for `math` module (#9266)eqperes2018-10-101-79/+171
|
* better docs for `tables` module (#9221)Miran2018-10-091-176/+190
| | | | | | * better docs for `tables` module * lower case for the first sentence in docs
* better docs for `algorithm` module (#9192)Miran2018-10-091-58/+103
| | | | | | | | | | | | * better docs for `algorithm` module * address the comments * small first letter in the first sentence * last argument is reverted to be `int` * `rotateLeft` keeps `discardable` pragma, as discussed on IRC * another small correction
* [cleanup] remove `xmldom` and `xmldomparser` (#9234)Miran2018-10-093-1271/+1
|
* Fixes #8994. FutureStream read procedure data loss no longer occurs. (#9183)Dominik Picheta2018-10-091-2/+4
| | | | | | * Fixes #8994. FutureStream read procedure data loss no longer occurs. * Optimises the fix for #8994.
* fix for #9082 (#9089)Arne Döring2018-10-091-14/+16
|
* Fixes #8841 (#9101)Yasuhiro Horimoto2018-10-091-2/+2
| | | Modify comments for readChar and peekChar to the same as the comment for them in the source code.
* fix #8341: add lastPathPart (#9116)Timothee Cour2018-10-091-30/+46
|
* asyncmacro: add nnkSym support for getName() (#9204)alaviss2018-10-091-1/+1
| | | Fixes #9201
* os: use unlink() to remove file (#9220)alaviss2018-10-091-3/+1
| | | | | removeFile() behavior should now be consistant between Windows and POSIX Fixes #9200
* Fix typo in an algorithm runnableExamples (#9260)Kaushal Modi2018-10-091-1/+1
| | | | | | Fixes the 'koch docs' build failure. Ref: https://github.com/nim-lang/Nim/commit/b90b45b01bba1f3fc241a96abd4ae5c8c314bb92
* [os] clarify docs for existsDir (#9212)Timothee Cour2018-10-091-1/+1
| | | | | | * Update os.nim * Update os.nim
* Add algorithm.[sort,sorted,isSorted] overloads using 'system.cmp'. (#8778)pqflx32018-10-091-7/+31
| | | | | | * Add algorithm.[sort,sorted,isSorted] overloads using 'system.cmp'. Fixes 8684. * Change signatures to 'func'. Improve overload sort doc comments
* HTMLGen Update, Add runnableExamples, Add HTML Tags center, details, dialog, ↵Juan Carlos2018-10-091-5/+42
| | | | marquee, picture, slot, summary (#9252)
* Merges #8451 manually. Fixes #8099.Dominik Picheta2018-10-031-1/+1
|
* Fix regression w/ templates defined in async procLemonBoy2018-10-031-1/+1
|
* [docs/json]: expands existing examples + shows {} operator in action (#9157)Steve Kellock2018-10-021-28/+74
| | | | | | * [docs/json]: expands existing examples + shows {} operator in action * adds import stmt and fixes butchered syntax in json examples
* Merge branch 'devel' into fix_issues_9126Andreas Rumpf2018-10-013-2/+17
|\
| * fixes #9126Araq2018-10-011-1/+1
| |
| * Merge pull request #9115 from mashingan/fix-json-aliasedAndreas Rumpf2018-09-291-1/+15
| |\ | | | | | | Fix #9111; error when parsing to aliased type field
| | * Fix #9111; error when parsing to aliased type fieldmashingan2018-09-291-1/+15
| | |
| * | docs: remove most stale links; refs #9109Araq2018-09-291-1/+1
| |/
| * Don't prevent ',' from getting escaped in theindex.htmlKaushal Modi2018-09-281-0/+1
| | | | | | | | | | | | - Enable escaping of links in theindex.html - Fixes https://github.com/nim-lang/Nim/issues/9107. - Second part of the fix for https://github.com/nim-lang/Nim/issues/9097.
* | Fix #9126: use splitPath instead of substrYasuhiro Horimoto2018-09-301-2/+2
|/
* Merge pull request #9057 from LemonBoy/fix-9055Dominik Picheta2018-09-251-7/+4
|\ | | | | Make getSockDomain work with AF_UNIX sockets
| * Make getSockDomain work with AF_UNIX socketsLemonBoy2018-09-241-7/+4
| | | | | | | | Fixes #9055