Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added system.typeof operation; fixes #9093 | Araq | 2018-10-24 | 2 | -4/+27 |
| | |||||
* | \#include "windows.h" instead of "Windows.h" (#9475) | loongw | 2018-10-23 | 1 | -1/+1 |
| | | | This fixes #9474 | ||||
* | Fix printing and comparing uninitialized strings | recloser | 2018-10-21 | 1 | -0/+3 |
| | |||||
* | fixes #9456 by only calling `c_fclose` if non nil | Vindaar | 2018-10-20 | 1 | -1/+4 |
| | |||||
* | Fix times 32-bit issue | Oscar Nihlgård | 2018-10-19 | 1 | -2/+4 |
| | |||||
* | Minor bug fix (#9430) | cooldome | 2018-10-19 | 1 | -1/+1 |
| | |||||
* | Change the order of compilation passes, transformation is made lazy at code ↵ | cooldome | 2018-10-18 | 2 | -4/+8 |
| | | | | | | | | | | | | | | | 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 | ||||
* | Merge pull request #8366 from krux02/nimnode-or | Arne Döring | 2018-10-18 | 1 | -1/+15 |
|\ | | | | | or on NimNode | ||||
| * | changelog entry | Arne Döring | 2018-10-18 | 1 | -2/+1 |
| | | |||||
| * | fix typo | Arne Döring | 2018-10-18 | 1 | -1/+1 |
| | | |||||
| * | fixed comment | Arne Döring | 2018-10-18 | 1 | -2/+2 |
| | | |||||
| * | added test case for `or` operator | Arne Döring | 2018-10-18 | 1 | -3/+3 |
| | | |||||
| * | or on NimNode | Arne Döring | 2018-10-18 | 1 | -1/+16 |
| | | |||||
* | | fix #9394 by replacing `fmt` with `strutils.%` (#9417) | Vindaar | 2018-10-18 | 1 | -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) | LemonBoy | 2018-10-18 | 1 | -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 | ||||
* | | [nimscript] document currentSourcePath in thisDir (#9402) | Timothee Cour | 2018-10-18 | 1 | -1/+3 |
|/ | |||||
* | No setjump in GC for emscripten/wasm (#9386) | Yuriy Glukhov | 2018-10-17 | 1 | -14/+21 |
| | |||||
* | Update example (#9395) | Federico Ceratto | 2018-10-17 | 1 | -1/+1 |
| | |||||
* | Some documentation added to strutils (#9379) | eqperes | 2018-10-16 | 1 | -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 | ||||
* | Fix repr() for UncheckedArray (#9385) | LemonBoy | 2018-10-16 | 2 | -1/+3 |
| | |||||
* | math.round is not needed in strutils (#9383) | skilchen | 2018-10-16 | 1 | -5/+4 |
| | |||||
* | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2018-10-15 | 1 | -23/+17 |
|\ | |||||
| * | fix #8225 os.isHidden was buggy on posix (#8315) | Timothee Cour | 2018-10-15 | 1 | -23/+17 |
| | | | | | | | | | | | | * fix #8225 isHidden was broken on posix * scope rest of tos.nim under blocks to avoid variable scope bugs | ||||
* | | system.nim deprecate 'getRefcount'; refs #2839, refs #3713 | Araq | 2018-10-15 | 1 | -3/+6 |
| | | |||||
* | | ospaths docs: add 'basename' to theindex | Araq | 2018-10-15 | 1 | -1/+1 |
| | | |||||
* | | system.nim: fixes typo | Araq | 2018-10-15 | 1 | -1/+1 |
|/ | |||||
* | fixes #9306 properly, fixes #9306 | Andreas Rumpf | 2018-10-14 | 1 | -2/+12 |
| | |||||
* | Add strip() example (#8002) | Federico Ceratto | 2018-10-14 | 1 | -0/+2 |
| | |||||
* | unicode: added strip, align, alignLeft, repeat procs; refs #6301 | Andreas Rumpf | 2018-10-14 | 1 | -0/+149 |
| | |||||
* | unicode: add split procs; refs #6301 | Andreas Rumpf | 2018-10-14 | 2 | -14/+179 |
| | |||||
* | struils: don't use the deprecated accumulateResult | Andreas Rumpf | 2018-10-14 | 1 | -8/+12 |
| | |||||
* | added new editdistance stdlib module, deprecated strutils.editDistance, refs ↵ | Andreas Rumpf | 2018-10-14 | 2 | -1/+310 |
| | | | | #6301 | ||||
* | strutils/unicode: deprecate isLower and friends operating on complete ↵ | Andreas Rumpf | 2018-10-14 | 2 | -85/+19 |
| | | | | strings; fixes #7963 properly | ||||
* | Fix type in docs (#9362) | Josh Goebel | 2018-10-14 | 1 | -1/+1 |
| | |||||
* | implement sizeof and alignof operator (manually squashed #5664) (#9356) | Timothee Cour | 2018-10-14 | 1 | -2/+19 |
| | |||||
* | correctly render AST in doAssert/assert condition: fixes #8518; refs #9301 ↵ | Timothee Cour | 2018-10-14 | 1 | -6/+8 |
| | | | | | | (#9332) * fixes #8518; refs #9301; correctly render AST in doAssert condition | ||||
* | add strutils.stripLineEnd (#9346) | Timothee Cour | 2018-10-13 | 1 | -0/+23 |
| | |||||
* | deprecate accumulateResult => sequtils.toSeq (#8666) | Timothee Cour | 2018-10-13 | 1 | -1/+4 |
| | |||||
* | manual: Fix links to Parallel & Spawn (#9342) | Tomohiro | 2018-10-13 | 1 | -1/+1 |
| | |||||
* | fixes #8916 by fixing typeinfo and marshal. (#9341) | Vindaar | 2018-10-13 | 2 | -15/+16 |
| | | | | | | | | | * 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 | ||||
* | Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. (#9316) | c-blake | 2018-10-12 | 1 | -0/+2 |
| | | | | | | | | | | | * Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. `ptr array[0,T]` for some unchecked type already works but A) `UncheckedArray` seems to be the intended future way for this kind of access, and B) essentially all use cases will have a `ptr` for that kind of array source and this call signature lets callers drop the trailing `[]` corresponding to that `ptr` deref. This PR relates to issue https://github.com/nim-lang/Nim/issues/9001 . * Add a test for toOpenArray() for UncheckedArray[T]s. | ||||
* | Proposed solution for issue #8919 (#9280) | eqperes | 2018-10-12 | 1 | -0/+2 |
| | | | | | | * Proposed solution for issue #8919 * count sub/subs must be non-empty | ||||
* | Testament pre parallel (#9137) | Jacek Sieka | 2018-10-12 | 1 | -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 | ||||
* | Avoid memory allocation during dynlib loading (#9320) | LemonBoy | 2018-10-12 | 1 | -4/+4 |
| | | | | | | | By using `write` instead of `rawWrite` we'd end up asking the compiler to generate the GC dynlib _while_ we were already generating another dynlib! Fixes #9123 | ||||
* | 8684 add shortcut sort procs (#9174) | Konstantin Molchanov | 2018-10-11 | 1 | -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. | ||||
* | gogc: GCC-8.2.0 compatibility and other improvements (#9211) | Ștefan Talpalaru | 2018-10-11 | 2 | -107/+55 |
| | | | | | | | | - Go's write barriers are now plugged-in in all the relevant points - "gcGo" is correctly classified by usesWriteBarrier() - some gogc structures and functions now use golib wrappers to keep GCC version-specific conditions out of the compiler/stdlib code - we no longer allow mixing the C malloc with Go's - fix a problem with string copying | ||||
* | fixes #9306 | Araq | 2018-10-11 | 1 | -2/+2 |
| | |||||
* | compile date and compile time tz written in doc (#9283) | eqperes | 2018-10-11 | 1 | -2/+2 |
| | |||||
* | Add procs to retrieve project name, directory and full path to nimscript (#9274) | Solitude | 2018-10-11 | 1 | -0/+12 |
| | |||||
* | Fix OrderedSet.excl (#9287) | Oscar Nihlgård | 2018-10-11 | 1 | -34/+29 |
| |