Commit Graph

33 Commits

Author SHA1 Message Date
konsumlamm
a1f4113705 Improve the ropes module (#17145)
* Improve ropes module

Improve wording
Update runnableExamples
Add index bound check for `[]`
Minor format changes

* Update tests/stdlib/tropes.nim

Run on C & JS target
Test in VM
Add tests for `[]`
2021-02-22 19:58:37 +01:00
flywind
70ec17eede use single backtick (#17133) 2021-02-21 00:27:39 -08:00
flywind
b7809cc992 improve the documentation of ropes (#16111) 2020-11-25 07:42:25 +01:00
flywind
0c6c4be0e7 fix ropes format errors (#16106) [backport:1.0]
* fix rope index

* add testcase

* fix ropes format
2020-11-23 19:23:52 +01:00
flywind
ab2c082cb3 fix rope index (#16100)
* fix rope index

* add testcase
2020-11-23 10:27:09 +00:00
hlaaftana
cd9af6b804 StringStream & more stdlib modules support for JS/NimScript (#14095)
* StringStream & more stdlib modules support for JS/NimScript

* change back pegs test in line with #14134
2020-04-28 19:44:52 +02:00
Juan Carlos
46ca19ff18 Deprecate DCE:on (#13839) 2020-04-02 02:58:43 +02:00
narimiran
dcf3181bd1 [backport] run nimpretty on string stuff 2019-09-30 13:58:13 +02:00
Dmitry Atamanov
b75808c7d9 Fixes ropes regressions due to the not-nil strings (#8687) 2018-08-20 16:55:22 +02:00
Andreas Rumpf
7f49364fd0 make more tests green 2018-08-13 12:29:03 +02:00
Araq
bbb0fd4eb7 remove deprecated stuff from the stdlib; introduce better deprecation warnings 2018-05-05 21:45:07 +02:00
Jacek Sieka
72dfe176f5 remove dead code elimination option (#7669) 2018-04-23 11:02:38 +02:00
Andreas Rumpf
2d892caba8 fixes ropes.nim regression; make tests green again 2017-11-06 19:25:28 +01:00
Dmitry Atamanov
87a46765ee Stream-writer for a rope (#6603) 2017-11-06 09:50:42 +01:00
Ruslan Mustakov
d9101ea5eb Make ropes usable in VM context 2016-03-10 19:13:40 +06:00
Adam Strzelecki
43bddf62dd lib: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:56 +02:00
Jacek Sieka
76a316bd35 lib_ropes: better buffering in equalsFile, cleanups 2015-04-08 23:30:11 +08:00
Jacek Sieka
0f131b9f46 ropes: remove more unnecessary checks 2015-04-03 23:30:42 +08:00
Jacek Sieka
aafbe5c866 ropes: make lib & compiler frmt more similar, fix out-of-bounds accesses in lib ropes 2015-04-01 22:32:15 +08:00
Federico Ceratto
657dca5c3b Fix typos 2015-02-15 16:20:32 +00:00
Araq
30823c1ce3 make tests green 2014-08-31 15:15:26 +02:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
4d863ebb5e fix failed tests due to gcsafe 2014-08-12 10:11:58 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
42e6130b2c first steps to explicit channels for thread communication; added mainThreadId 2011-07-16 18:34:18 +02:00
Araq
3e9dcc8be5 deprecated system.copy: use system.substr instead 2011-05-14 01:13:44 +02:00
Araq
2cdfe35e73 tests themselves contain the expected result 2011-02-20 20:12:22 +01:00
Andreas Rumpf
8098e2a421 inlining of the write barrier for dlls 2010-08-08 22:45:21 +02:00
Andreas Rumpf
40ea1d0330 fixed pango/pangoutils new wrappers 2010-02-26 01:26:16 +01:00
rumpf_a@web.de
40a5d6c3b9 continued work on html/xmlparser 2010-02-14 00:29:35 +01:00
Andreas Rumpf
e62ef0ff60 bugfix: rendering of case statements has been broken recently; remaining idents with wrong underscores in the wrappers 2010-02-02 23:20:21 +01:00
rumpf_a@web.de
a58a2f3823 better subscript overloading 2010-01-03 12:31:21 +01:00