27 Commits

Author SHA1 Message Date
Stone Tickle
7570971b6c
remove nproc usage in ci
muon has code now to determine cpu count
2024-02-02 15:07:40 -05:00
Stone Tickle
81b0691d17
remove ninja requirement from muon bootstrap 2024-01-31 07:03:18 -05:00
Stone Tickle
2afcdbdacb
restrict modules to embedded modules
also alter function syntax
2023-11-25 20:45:55 -05:00
Stone Tickle
96578fe3eb
ci: gracefully handle building with no secrets 2023-11-11 20:47:19 -05:00
Stone Tickle
e3525d7400
move non yaml files out of .builds
This should hopefully fix CI from lists.sr.ht.
2023-10-29 07:36:36 -04:00
Stone Tickle
43b38b73e4
update tests to meson 1.0.1 2023-04-10 06:23:03 -04:00
Stone Tickle
d0c7d71013
set native: true for embedder 2023-03-17 10:27:17 -04:00
Stone Tickle
d286201f39
rename posix.h to compat.h
Currently all compat.h does is define the appropriate POSIX macro unless
you are on windows, as well as conditionally enabling
__attribute__(format...).
2023-03-10 09:35:04 -05:00
Stone Tickle
96dada1ffe
add macos workflow 2023-01-17 21:56:00 -05:00
Stone Tickle
db3eaefbe1
update tests to 0.64 2023-01-14 21:09:58 -05:00
Stone Tickle
f765e59160
handle renames in update_tests tool 2023-01-14 21:09:58 -05:00
Stone Tickle
0e7f5787bb
add env var for additional curl/wget options 2022-11-05 07:37:54 -04:00
Stone Tickle
c40b8046cc
add tools/bootstrap_ninja.sh 2022-11-04 20:38:38 -04:00
Stone Tickle
4298aa2011
make muon reuse compliant
https://reuse.software
2022-10-25 10:54:31 -04:00
Stone Tickle
905f411d16
implement keyval module 2022-09-12 14:11:22 -04:00
Stone Tickle
b3303d30d1
remove all dependencies from tools/embedder.c
Remove the need to build the libplatform.a.
2022-09-05 06:50:39 -05:00
Stone Tickle
832e9ce8ca
deprecate fmt_unstable; use fmt instead 2022-08-19 12:38:53 -05:00
Stone Tickle
4344620cee
add tools/update_tests.sh 2022-08-11 14:36:52 -05:00
Stone Tickle
8c7fd7a127
move generate_test_check_script.py to tools/ 2022-08-11 14:36:51 -05:00
Stone Tickle
8360cb73a5
remove cyclic dependency libmuon <-> libplatform
- remove libmuon
- put all "util" functions into libplatform
2022-06-25 14:44:54 -05:00
Stone Tickle
a6baca251a
clean up meson.build 2022-05-31 18:08:28 -05:00
Stone Tickle
9c19548981
collect diagnostics and sort them in the output 2022-04-18 10:27:47 -05:00
Stone Tickle
f12593b0bf
unconditionally define PATH_MAX
~lattis/muon#26: PATH_MAX is not always defined

> It seems that you unconditionally use PATH_MAX in muon, but POSIX does
> not require that macro to be defined, it says that it should only be
> defined if the OS has an hard limit on path length.
>
> From the Posix specification, in <limits.h>, under the section "Pathname
> Variable Values": "A definition of one of the symbolic constants in the
> following list shall be omitted from the <limits.h> header on specific
> implementations where the corresponding value is equal to or greater
> than the stated minimum, but where the value can vary depending on the
> file to which it is applied."
>
> For example, GNU Hurd does not define the macro.
>
> In their guidelines (under the section PATH_MAX, MAX_PATH, MAXPATHLEN,
> _POSIX_PATH_MAX) they give some advice about how to handle this
> situation, but I believe that setting PATH_MAX to the same size of MacOS
> or Linux (with something like #ifndef PATH_MAX ...) should be enough.
2022-01-04 19:01:28 -06:00
Stone Tickle
84a87ffe82
run muon fmt on all meson files 2021-12-10 19:40:00 -06:00
Stone Tickle
0b82d64a01
add a terminating null byte to embedded scripts 2021-11-21 07:07:14 -06:00
Stone Tickle
58cccdc5ef
use char arrays to embed strings > 4096 chars 2021-11-17 11:22:23 -06:00
Stone Tickle
3b2dc71025
add a mechanism to embed scripts in the executable 2021-11-05 19:22:17 -05:00