summary refs log tree commit diff stats
path: root/lib/system/sysstr.nim
Commit message (Collapse)AuthorAgeFilesLines
* Don't depend on string.h in codegen (#8299)Yuriy Glukhov2018-07-131-1/+1
|
* codgen refactoring: prepare for alternative string/seq implementationsAndreas Rumpf2018-06-291-2/+6
|
* Use new binarySearch everywhere (#7876)Dmitry Atamanov2018-05-251-15/+0
|
* fixes #7766Araq2018-05-041-0/+2
|
* correct comparisons for nil strings/seqsAndreas Rumpf2018-04-281-8/+21
|
* system.nim: minor code cleanupAndreas Rumpf2018-04-281-4/+1
|
* nil in string concats does not produce crashes anymoreAndreas Rumpf2018-04-271-11/+16
|
* setLen doesn't crash on nil strings/seqs anymoreAndreas Rumpf2018-04-271-2/+9
|
* 'add' on a nil sequence doesn't produce a crash anymoreAndreas Rumpf2018-04-271-0/+12
|
* sysstr.nim: fix minor typosAndreas Rumpf2018-04-021-2/+2
|
* fixes #7291Araq2018-03-051-1/+1
|
* bugfix: do not call memcmp for nil stringsAndreas Rumpf2018-01-191-3/+6
|
* Fix for isssue in parseBiggestFloat #7060 (#7061)cooldome2018-01-111-3/+4
|
* cmp(x, y: string) now uses memcmp rather than strcmp (#6869) (#6968)Mathias Stearn2017-12-241-4/+4
|
* optimize setLen (#6816)Brent Pedersen2017-12-071-5/+6
| | | | | | inline the call to setLengthSeq and avoid decref for types if ntfNoRefs closes #6721 and speeds setLen when newLen < len for non reference types.
* added when statement (#6759)Arne Döring2017-11-171-29/+32
|
* fixes #6609; 'if' expressions support multiple statements; minor breaking changeAraq2017-11-051-1/+1
|
* more replacements for the deprecated '<'Andreas Rumpf2017-10-291-1/+1
|
* sysstr: code formattingAndreas Rumpf2017-10-281-3/+3
|
* make the Windows build green againAraq2017-10-171-2/+3
|
* breaking change: arrays of char do not convert to cstring; ptr to array of ↵Andreas Rumpf2017-10-101-4/+16
| | | | char does
* revert the 'wasMoved' logic until the write barrier has been adaptedAndreas Rumpf2017-09-291-1/+2
|
* new string behaviour now available under nimShallowStringsAndreas Rumpf2017-09-221-6/+3
|
* preparations for string optimizationsAndreas Rumpf2017-09-221-2/+25
|
* hotfix: fixes seq.add and str.add for edge casesAndreas Rumpf2017-09-161-8/+12
|
* WIP: --gc:regions instead of --gc:stackAraq2017-08-131-2/+9
|
* system.nim: don't use deprecated symbols/constructsAraq2017-02-081-4/+4
|
* string.add for floats and ints for more performance (JS not yet supported)Andreas Rumpf2016-11-211-28/+23
|
* fixes #4776Andreas Rumpf2016-09-241-0/+5
|
* Fixes $(0.0/0.0) giving `-nan` on some systems.Dominik Picheta2016-09-171-1/+1
| | | | | | | | | | | | | | | | Squashed commit of the following: commit c7fc086b663f4d4003ccd5831a0ca508cf9badc7 Author: Dominik Picheta <dominikpicheta@gmail.com> Date: Sat Sep 17 21:09:48 2016 +0200 Another attempt at fix. commit 67b7fb67cda08d945e480a6a01fb0fee797add00 Author: Dominik Picheta <dominikpicheta@gmail.com> Date: Sat Sep 17 20:47:41 2016 +0200 Fixes $(0.0/0.0) giving `-nan` on some systems.
* Fix for cstring nil to string nil conversion with `$`Hans Raaf2016-07-291-1/+2
|
* remove system/ansi_c include from osJacek Sieka2016-06-051-1/+1
|
* fix types of ansi_c/sysio to more closely match C ABIJacek Sieka2016-06-051-9/+9
| | | | | also fixes some instances of using C library functions when there are nim alternatives available
* fixes issue 4212 && add test for various valid zero floats.Parashurama2016-05-251-2/+2
|
* fixes #4212Andreas Rumpf2016-05-251-5/+0
|
* fixes some issues with underscores in float literals. add more tests.Parashurama2016-05-191-5/+7
| | | | | | fixes some potential issues with underscores in float literals. adds more checks for badly positionned underscores in float literals. adds more test files.
* fix issue 4181. add testcase.Parashurama2016-05-181-2/+5
|
* make float parsing locale independent.Parashurama2016-05-161-37/+104
|
* simple stuff works with --gc:stackAndreas Rumpf2016-04-181-1/+2
|
* first compiling version of the new GCAraq2015-12-011-1/+1
|
* fixes #1832Araq2015-07-241-0/+8
|
* conditional TGenericSeq extensionStefan Talpalaru2015-06-161-2/+4
|
* fix growObj() with stringsStefan Talpalaru2015-06-091-0/+2
|
* the Go GC - initial implementationStefan Talpalaru2015-05-311-1/+1
|
* fixes --gc:none regression; made some tests greenAraq2015-03-101-6/+6
|
* Fix copyStrLast to set the trailing \0 chardef2015-03-041-1/+2
|
* sizeof(char) is always 1def2015-03-041-8/+8
|
* Only zero strings when necessary.def2015-03-041-13/+24
| | | | | This removes the zeroing when the string is subsequently overwritten by a memcpy anyway.
* Only copy strings to their size, not capacitydef2015-03-031-2/+2
| | | | | Capacity may be much bigger, so we end up with strings that are much larger than they have to be and have to copy more as well.
* some love for the testsuite; fixed regressionsAraq2015-03-011-1/+11
|