Commit Graph

41 Commits

Author SHA1 Message Date
Jorge Acereda
9b08b6df3c Merge 2020-05-11 16:10:35 +02:00
Jorge Acereda
83e8c1a874 Fix Char_str(). 2020-05-11 16:08:40 +02:00
Jorge Acereda
a6055eec5f Long type to ensure longs are actually 64 bits. 2020-04-22 10:40:06 +02:00
hellerve
ee812b37e6 core: make subarry/substring slice 2020-02-11 09:09:30 +01:00
hellerve
c0c31b6ad1 core: add Float.from-string and Double.from-string 2020-01-29 11:41:06 +01:00
hellerve
9a431b1f54 core: use memcpy in String_append 2020-01-27 23:11:45 +01:00
hellerve
657f6c9d3a all: use snprintf only when checking length 2020-01-27 22:43:11 +01:00
Erik Svedäng
ea045be426 Merge branch 'byte-type' of https://github.com/hellerve/Carp into hellerve-byte-type 2020-01-27 10:10:58 +01:00
hellerve
cc6774ef8c core: make String.from-cstr copy 2020-01-14 10:08:29 +01:00
hellerve
cd0c09da3f core: add String.from-cstr 2020-01-13 22:49:23 +01:00
hellerve
f1f252639f core: add a byte type 2019-11-01 10:52:34 +01:00
hellerve
1829df07a5 core: do not have short functions on single lines 2019-10-30 11:07:32 +01:00
hellerve
65946224f0 core: add .clang-format (references #499) 2019-10-30 08:47:36 +01:00
Jorge Acereda
4a4107fffd Preserve includes order in generated output. 2019-10-03 00:23:27 +02:00
Erik Svedäng
ec9fc0f493
Merge pull request #550 from jacereda/typos
Fix some typos.
2019-09-11 11:11:39 +02:00
Jorge Acereda
8162deb1bb Fix gcc9 warning. 2019-09-11 08:33:38 +02:00
Jorge Acereda
cb9ff267b6 Fix some typos. 2019-09-11 08:21:42 +02:00
Jorge Acereda
e10f4228c0 CHK_INDEX macro 2019-06-21 00:00:46 +02:00
Jorge Acereda
d8919bf1e8 Fix string assert, simpler/faster conditions. 2019-06-20 12:43:37 +02:00
Jorge Acereda
bbee702f5e Add some const qualifiers, removed MALLOC() null checks, fixed Float_modf(), use memcpy() instead of memmove(). 2019-06-14 14:38:19 +02:00
Jorge Acereda
bbf8c23281 Use standard NDEBUG instead of OPTIMIZE. 2019-06-13 14:29:47 +02:00
hellerve
e9fcf87ff5 core: remove stringcopy.append 2019-05-27 18:05:44 +02:00
Chris Hall
4704a06f32 Adding String.< and String.> 2018-06-26 16:00:33 +10:00
Chris Hall
7c1dd210d7 Renaming: String.count -> String.length, Array.count -> Array.length
Issue #236
2018-05-23 10:03:42 +10:00
Erik Svedäng
707614e999
Merge pull request #232 from mkfifo/string-library-improvements
String library improvements
2018-05-22 19:10:22 +02:00
Erik Svedäng
6a787b93aa
Merge pull request #240 from hellerve/char-str
Split Char.prn and Char.str
2018-05-21 21:31:34 +02:00
hellerve
42918e3ef6 core: split Char.prn and Char.str (only prn should add slashes 2018-05-21 18:26:05 +02:00
Chris Hall
45311a2d92 Adding String.index-of-from
Issue #94
2018-05-20 18:44:01 +10:00
Chris Hall
4524188490 Adding String.index-of
Issue #94
2018-05-20 18:27:31 +10:00
Chris Hall
56c6133a91 Adding String.allocate function
Issue #94
2018-05-20 15:18:34 +10:00
Chris Hall
b46b2a39e8 String.append is now by reference, StringCopy.append is by copy/linear
Adding memory leak tests to String.append and StringCopy.append

Issue #94
2018-05-20 14:16:10 +10:00
Chris Hall
148003c241 Adding String.string-set-at!
Issue #94
2018-05-20 13:53:30 +10:00
Chris Hall
92832e540e Adding asserts to String.string-set!
Issue #94
2018-05-20 13:31:21 +10:00
Chris Hall
bc43a413e1 Adding String.string-set!
Issue #94
2018-05-20 13:28:01 +10:00
Chris Hall
0c881bc0ff Removing String.duplicate in favour of String.copy
Issue #94
2018-05-20 12:05:23 +10:00
hellerve
a55eeb98a5 core: rename string and pattern types 2018-03-18 14:53:03 +01:00
Erik Svedäng
605a724765 Fixed memory leak in 'from-chars'. 2018-03-12 14:56:05 +01:00
Erik Svedäng
e4978d5a96 Optimization works. 2018-03-07 12:03:59 +01:00
hellerve
8e2cff8dcf core: manual merge 2018-02-27 15:30:22 +01:00
hellerve
01f366f2c8 core: remove interdependencies between modules 2018-02-27 15:10:42 +01:00
hellerve
1ec7ee184d core: split up core 2018-02-27 15:09:13 +01:00