summary refs log tree commit diff stats
path: root/lib/system/sysstr.nim
Commit message (Collapse)AuthorAgeFilesLines
* gogc: GCC-8.2.0 compatibility and other improvements (#9211)Ștefan Talpalaru2018-10-111-0/+2
| | | | | | | | - 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 merge conflictAndreas Rumpf2018-08-191-0/+2
|\
| * fixes more nil string bugsAraq2018-08-081-0/+1
| |
| * fixes a long standing nil bug in substrAraq2018-08-081-0/+1
| |
| * fixes 7833 (#8533)Andreas Rumpf2018-08-051-9/+70
| | | | | | | | | | | | | | | | | | | | | | * fixes #7833; still to-do: fix setLen * make tests green again * also fixes setLen and string concats; refs #7833 * change formating to avoid a compiler warning * emit the write barrier also for addChar * fixes yet another regression * make setLengthStr compile for the old version * make growobjcrash complete earlier
* | make at least bootstrapping workAraq2018-08-051-8/+69
|\ \
| * | make setLengthStr compile for the old versionAraq2018-08-041-3/+2
| | |
| * | fixes yet another regressionAraq2018-08-041-3/+12
| | |
| * | WIP: avoid using the old growObj in order to fix the newly introduced seq leaksAraq2018-08-031-6/+59
| |/
| * Don't depend on string.h in codegen (#8299)Yuriy Glukhov2018-07-131-1/+1
| |
* | system.substr is not implemented with compilerProcs anymoreAndreas Rumpf2018-07-111-3/+7
| |
* | refactorings in preparations for the new runtimeAndreas Rumpf2018-07-101-285/+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
|