summary refs log tree commit diff stats
path: root/lib/system.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #9675Andreas Rumpf2018-11-261-1/+1
|
* fix segfault when calling shallow() on an empty string (#9782) [backport]Ștefan Talpalaru2018-11-221-0/+2
| | | | | | | | | shallow() casts its string argument to a seq and then tries to access its fields. Guess what happens when that string is nil, which seems to be the representation of an empty string (both the default value and an explicitly assigned ""). Segfault encountered when running "ntags -R ." on a large project. The relevant line: https://bitbucket.org/nimcontrib/ntags/src/a1c62c38e539877c105fbe4e08d06b76232f8017/ntags.nim#lines-125
* Empty check in shallow [backport] (#9676)ishowta2018-11-211-0/+1
|
* removes deprecated T/P typesAraq2018-11-161-4/+0
|
* Inline generic min and max - https://github.com/nim-lang/Nim/issues/9514 (#9688)Mamy Ratsimbazafy2018-11-141-2/+2
|
* NaN fixes for clang backend (#9652)Arne Döring2018-11-081-3/+3
|
* Nim devel is version 0.19.9Andreas Rumpf2018-11-031-1/+1
|
* system.nim: workaround for the fixed documentation generatorAraq2018-10-301-1/+1
|
* change system.nim to adhere to the style guideAraq2018-10-301-11/+11
|
* fixes #8603Araq2018-10-301-27/+29
|
* more examples for mod and div, plus corrections [ci skip]narimiran2018-10-281-5/+11
|
* Openmp parallel iterator improvements (#9493)Mamy Ratsimbazafy2018-10-251-2/+6
| | | | | * More flexibility in OpenMP pragma * Use static to constrain to compile-time annotation string * Update changelog with OpenMP change
* stdlib: documenation updates, the exception names have been changedAndreas Rumpf2018-10-251-5/+5
|
* added system.typeof operation; fixes #9093Araq2018-10-241-0/+9
|
* system.nim deprecate 'getRefcount'; refs #2839, refs #3713Araq2018-10-151-3/+6
|
* system.nim: fixes typoAraq2018-10-151-1/+1
|
* implement sizeof and alignof operator (manually squashed #5664) (#9356)Timothee Cour2018-10-141-2/+19
|
* correctly render AST in doAssert/assert condition: fixes #8518; refs #9301 ↵Timothee Cour2018-10-141-6/+8
| | | | | | (#9332) * fixes #8518; refs #9301; correctly render AST in doAssert condition
* deprecate accumulateResult => sequtils.toSeq (#8666)Timothee Cour2018-10-131-1/+4
|
* Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. (#9316)c-blake2018-10-121-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.
* compile date and compile time tz written in doc (#9283)eqperes2018-10-111-2/+2
|
* Unchecked arrays now have their own type (#9267)LemonBoy2018-10-101-1/+7
|
* Separate high/low/len docs for each overload (#8816)hlaaf2018-10-091-19/+99
|
* development version is 0.19.1Araq2018-10-091-1/+1
|
* update version to 0.19Andreas Rumpf2018-09-251-2/+2
|
* .error for routines now can also have a custom error message; improve error ↵Araq2018-09-251-2/+10
| | | | message for 'nil' strings
* Implements the equals operator for openarrayZahary Karadjov2018-09-181-0/+10
|
* documents system.cmp's platform specific behaviour; fixes #8930Araq2018-09-151-0/+2
|
* Merge branch 'devel' into araq-better-docgenAraq2018-09-141-8/+11
|\
| * Merge pull request #8941 from timotheecour/pr_fix_8928Andreas Rumpf2018-09-121-2/+5
| |\ | | | | | | fix #8928 regression
| | * fix #8928Timothee Cour2018-09-111-2/+5
| | |
| * | Fix add(string, cstring) when the lhs is null (#8951)LemonBoy2018-09-121-3/+4
| |/
| * JS strings have no trailing zero anymore (#8936)LemonBoy2018-09-111-2/+1
| |
| * Fix insert/delete for JS (#8915)LemonBoy2018-09-081-2/+2
| | | | | | Fixes #8914
* | fixes #8961Araq2018-09-141-2/+2
| |
* | system.nim: fix doc comment for 'once'Andreas Rumpf2018-09-071-6/+6
|/
* Automatic deref for everything but pointers in asm/emit (#8891)LemonBoy2018-09-071-3/+3
| | | Fixes #7249
* fix items for cstring for the JS target; makes tests green againAraq2018-09-031-4/+11
|
* deprecate system.onRaise; fixes #1652Araq2018-09-031-1/+4
|
* fixes #8847Araq2018-09-031-1/+1
|
* introduce precise string '[]', '[]=' accessors; fixes #8049 (#8817)Andreas Rumpf2018-08-301-0/+9
|
* Deprecate xlen() for strings and seqs (#8782)awr12018-08-261-2/+7
| | | | | | * deprecates xlen() for strings and seqs * added docs
* doAssert, assert now print full path of failing line on error (#8555)Timothee Cour2018-08-251-15/+13
|
* fixes merge conflictAraq2018-08-231-8/+8
|\
| * Fixes #8719 (onFailedAssert now works for doAssert) (#8731)awr12018-08-231-8/+8
| |
| * exploit nil seqs for performance (#8688)Andreas Rumpf2018-08-201-4/+1
| | | | | | | | | | * changes $ for seqs to never produce 'nil' * exploit the fact that empty seqs don't have to allocate in the code generator
* | even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-2/+11
| |
* | make tests green againAraq2018-08-211-0/+1
| |
* | fixes merge conflictAndreas Rumpf2018-08-191-93/+92
|\ \
| * | changes $ for seqs to never produce 'nil'Andreas Rumpf2018-08-181-4/+1
| |/