Richard Feldman
|
83529079cf
|
allocateStr uses @sizeOf(usize) instead of 8
|
2020-12-03 23:01:46 -05:00 |
|
Richard Feldman
|
8a4e131abd
|
Fix typo
|
2020-12-03 22:59:46 -05:00 |
|
Richard Feldman
|
aeacbed870
|
Use camelCase in main.zig
|
2020-12-03 22:59:05 -05:00 |
|
Richard Feldman
|
0583cc1a27
|
Use camelCase in str.zig
|
2020-12-03 22:58:19 -05:00 |
|
Richard Feldman
|
31fd70d0b1
|
Merge branch 'trunk' into str-from-int
|
2020-12-03 22:26:23 -05:00 |
|
Richard Feldman
|
567e0e6a8f
|
Merge pull request #765 from rtfeldman/list-refcount-issues
Fix some list refcount issues
|
2020-12-03 22:23:21 -05:00 |
|
Folkert
|
4f549b7889
|
zig style
|
2020-12-04 01:17:11 +01:00 |
|
Folkert
|
4b0b5126a1
|
add Str.fromInt
|
2020-12-04 00:37:19 +01:00 |
|
Folkert
|
82e87d04e3
|
rename str.len to str.number_of_bytes
|
2020-12-03 21:23:07 +01:00 |
|
Folkert
|
22d798b7c7
|
add Str.endsWith
|
2020-12-03 19:16:50 +01:00 |
|
Folkert
|
e8583a72fb
|
fix zig tests
|
2020-12-03 17:20:08 +01:00 |
|
Folkert
|
3162ab5fc4
|
simplify str_len
|
2020-12-03 16:22:47 +01:00 |
|
Folkert
|
f21af47fc1
|
simplify str_starts_with
|
2020-12-03 16:10:24 +01:00 |
|
Folkert
|
770d4d7bc3
|
simplify str_count_graphemes
|
2020-12-03 16:07:14 +01:00 |
|
Folkert
|
3d6ea21184
|
cleanup
|
2020-12-03 16:04:08 +01:00 |
|
Folkert
|
3554a81add
|
pass RocStr over the zig/llvm boundary
|
2020-12-03 15:52:27 +01:00 |
|
Folkert
|
654342fb54
|
cleanup
|
2020-12-02 21:42:27 +01:00 |
|
Richard Feldman
|
2d9fe11c64
|
Merge branch 'trunk' into zig-hosts
|
2020-12-01 23:05:11 -05:00 |
|
Richard Feldman
|
cd16c67c7d
|
Use small string check more explicitly
|
2020-12-01 22:11:41 -05:00 |
|
Richard Feldman
|
3bb7e15ac4
|
Add some TODOs
|
2020-12-01 22:11:41 -05:00 |
|
Richard Feldman
|
19e5c1350e
|
Revise RocStr a bit
|
2020-12-01 22:11:41 -05:00 |
|
Richard Feldman
|
35fab76cca
|
Fix test
|
2020-12-01 22:05:45 -05:00 |
|
Richard Feldman
|
a9d4b38e44
|
Merge remote-tracking branch 'origin/trunk' into zig-str-concat
|
2020-12-01 21:50:08 -05:00 |
|
Richard Feldman
|
1b6acf60bd
|
Check zig formatting after running tests
|
2020-12-01 20:36:09 -05:00 |
|
Richard Feldman
|
b7b9fe16d9
|
Actually exit 1 if zig tests fail
|
2020-12-01 20:36:03 -05:00 |
|
Richard Feldman
|
f46f87834f
|
set euxo pipefail on zig tests
|
2020-12-01 20:35:56 -05:00 |
|
Folkert
|
63f4fbf1ef
|
use zig-defined Str.concat
|
2020-12-01 23:00:39 +01:00 |
|
Folkert
|
1a71b8bac7
|
define Str.concat in zig
|
2020-12-01 21:36:33 +01:00 |
|
Folkert
|
1589e688b3
|
use the zig formatter
|
2020-12-01 21:26:37 +01:00 |
|
Folkert
|
92544e5b07
|
link in libc when running zig tests
|
2020-12-01 21:24:37 +01:00 |
|
Richard Feldman
|
bf142c4c58
|
Drop RocStr when necessary
|
2020-11-22 22:41:23 -05:00 |
|
Richard Feldman
|
bc48f72760
|
Merge remote-tracking branch 'origin/trunk' into cstr
|
2020-11-22 22:29:34 -05:00 |
|
Richard Feldman
|
a306a9fcc3
|
Use pointers in fewer str.zig arguments
|
2020-11-22 22:15:26 -05:00 |
|
Chadtech
|
319ded66ca
|
Return a bool instead of a u1
|
2020-11-22 18:24:49 -05:00 |
|
Sébastien Besnier
|
b36c2bf499
|
implement startsWith builtin using Zig
|
2020-11-22 21:48:42 +01:00 |
|
Richard Feldman
|
5ff2b04d1a
|
Add len, is_small_str, and write_cstr to str.zig
|
2020-11-22 00:20:27 -05:00 |
|
Richard Feldman
|
2823fee56a
|
Use const more in str.zig, fix some init & eq bugs
|
2020-11-22 00:20:19 -05:00 |
|
Richard Feldman
|
8177980087
|
Remove redundant get_small_str_ptr
|
2020-11-21 23:15:01 -05:00 |
|
Richard Feldman
|
4f765bae11
|
Empty string should always be all 0s
|
2020-11-21 23:15:01 -05:00 |
|
Richard Feldman
|
e0c97c9981
|
Run zig tests on CI
|
2020-11-21 23:14:49 -05:00 |
|
Folkert
|
8013af7e97
|
change representation of list/str
|
2020-11-21 22:50:33 +01:00 |
|
Folkert
|
1070b5c4b2
|
fix out-of-bounds write
|
2020-11-20 21:00:25 +01:00 |
|
Chad Stearns
|
a9f8258f0a
|
Extra str.zig test (but the tests cannot be ran right now)
|
2020-11-16 02:06:10 -05:00 |
|
Chad Stearns
|
a3720e6c3d
|
Fixed algorithm problem in Str.split, that would drop the final str in the return list if it was empty
|
2020-11-16 02:04:55 -05:00 |
|
Chad Stearns
|
8b0957a424
|
Fix and clean up zig small str init
|
2020-11-15 19:24:13 -05:00 |
|
Chad Stearns
|
4ac5d5ffd5
|
Non-functional, but apparently complete small str initialization for Zig RocStr
|
2020-11-15 03:48:36 -05:00 |
|
Chad Stearns
|
36789e2582
|
More Str.split tests
|
2020-11-11 02:09:44 -05:00 |
|
Chad Stearns
|
58f0c48338
|
Str.split works for big str
|
2020-11-08 15:01:52 -05:00 |
|
Chad Stearns
|
9bedb818cb
|
Fix spelling error in bitcode function name
|
2020-11-08 13:04:13 -05:00 |
|
Chad Stearns
|
5e0e3da3b7
|
Merging in remote trunk
|
2020-11-08 07:01:07 -05:00 |
|