Stone Tickle
58e3eaa938
rewrote formatter
2024-04-15 16:24:28 -04:00
Stone Tickle
cf7c08467d
fix bootstrap and reuse headers
2024-04-15 16:23:59 -04:00
Stone Tickle
88c9af5ba3
more fixes
2024-04-15 16:23:59 -04:00
Stone Tickle
d47416a714
more function scope fixes
2024-04-15 16:23:58 -04:00
Stone Tickle
6a6627ddb3
add missing copyright notice
2024-01-09 07:49:17 -05:00
Stone Tickle
069c8c9215
fix behavior of format string escaping
2024-01-08 16:29:35 -05:00
Stone Tickle
acd88ddf23
add dict delete
2023-11-30 13:12:20 -05:00
Stone Tickle
4298aa2011
make muon reuse compliant
...
https://reuse.software
2022-10-25 10:54:31 -04:00
Stone Tickle
9918e4d60d
fix handling of quotes inside multiline strings
2022-10-06 21:01:00 -04:00
Stone Tickle
05e699eaf4
port the lone path unit test to a lang test
...
This allows us to remove the unit test directory, and removes one of the
consumers of path.c. Some of these functions may also be useful for
internal scripts.
2022-09-05 06:50:38 -05:00
Stone Tickle
c11e681606
make path optimization (./a/../b -> ./b) optional
2022-08-15 07:42:48 -05:00
Stone Tickle
25f356b9e9
fix empty element in argv/env attempt #2
...
I tried to fix this by ending the argstr in a triple NUL, but that has
an edge case when the last element of argv is empty. This time fix it
more robustly by tracking argc separately.
2022-08-04 17:48:46 -05:00
Stone Tickle
3955d14528
fix env.append/prepend
...
The initial env implementation assumed that append/prepend only worked
on values that were previously set in the environment() object. In
reality, these are supposed to apply to the current environment if
the key has not been env.set() previously.
2022-08-04 07:42:05 -05:00
Stone Tickle
b44e90f0a9
support empty args & envvars with empty values
...
Due to the encoding of arguments and environment variables in run_cmd,
empty strings could not be handled.
2022-08-02 16:54:54 -05:00
Stone Tickle
6c502b961e
add obj_array_del() function
...
This is exposed internally as array.delete() for testing purposes only
2022-08-01 10:41:55 -05:00
Stone Tickle
99921b671d
implement configuration_data.merge_from
2022-05-27 10:35:27 -05:00
Stone Tickle
d0c1f207fe
fix string formatting truncation
2022-05-17 10:09:15 -05:00
Stone Tickle
30d2e7a595
handle multiline env vars in environment test
2022-04-26 13:51:36 -05:00
Stone Tickle
e194a670a5
remove maximum envvar/argument limit for run_cmd
2022-04-07 09:37:31 -05:00
Stone Tickle
a3e4968cd3
don't put comments in normal ast
2022-02-17 09:34:43 -06:00
Stone Tickle
cc0160d0f8
fix array concatenation
2022-01-25 20:26:41 -06:00
Stone Tickle
68704ae833
fix str.split() default behavior
2022-01-06 21:06:54 -06:00
Stone Tickle
f8ff7552f0
use rpmvercmp for version comparisons
2022-01-03 09:20:27 -06:00
Stone Tickle
aa46ad8ffa
improve version_compare version guessing
2021-12-27 08:20:50 -06:00
Stone Tickle
c9ef7eb483
fix string.format() with skipped keys
2021-12-20 07:22:49 -06:00
Stone Tickle
84a87ffe82
run muon fmt on all meson files
2021-12-10 19:40:00 -06:00
Stone Tickle
57c700deb7
categorize tests into suites
2021-11-02 09:32:53 -05:00
Stone Tickle
92e84b4ca1
move language tests into tests/lang subdir
2021-10-23 07:44:00 -05:00