Commit Graph
26 Commits
Author SHA1 Message Date
Janandtakase1121 2af3082640 Attach command buffer to Renderer Window (#1472) 2023-08-19 13:29:05 +08:00
Janandtakase1121 760271d416 Make system.path_compare more digit-aware (#1474)
This allows a human friendly sorting filenames with numbers in them
So
- asd1
- asd10
- asd2
becomes
- asd1
- asd2
- asd10
2023-08-19 12:44:18 +08:00
Janandtakase1121 a951c3cd39 pass RenWindow by argument (#1321)
* pass RenWindow to all renderer functions that need it

* pass RenWindow to all rencache functions that need it
2023-08-19 12:30:41 +08:00
Janandtakase1121 d54a5d0672 remove static libgcc from meson (#1290) 2023-08-19 12:28:48 +08:00
Janandtakase1121 c8afe3d1bf replace uses of SDL_Window with RenWindow (#1319)
Since Renwindow contains our instance of SDL_Window we can use this
to simplify future logic to create separate window instances
2023-08-19 12:28:21 +08:00
Janandtakase1121 f5a224999a defer lua error until after cleanup (#1310) 2023-08-19 12:28:20 +08:00
JanandGitHub 5c4d15c4d5 set arch tuple in meson (#1254)
the existing preprocessor logic in C is kept for alternative compilation methods
2022-12-22 11:24:13 -04:00
JanandGitHub b584f1fe35 Simplify SDL message boxes (#1249)
It has what we needs and needs less abstraction, overall simplifying the code
2022-12-20 18:36:18 -04:00
Jan200101 b137d77183 add touch events 2022-12-20 09:30:58 +01:00
JanandGitHub 56e465c351 dirmonitor: give kevent a timeout so it doesn't lock forever (#1180) 2022-11-05 20:00:32 -04:00
JanandGitHub fb8bc08a67 allow defining the arch tuple via meson (#1153) 2022-10-12 18:33:10 -04:00
JanandGitHub 630ab0ab92 Add i386 architecture detection, add FreeBSD to platform detection (#1135)
defining anything that isn't a specific set of architectures x86 is just wrong.
It should at least be called something non identifying like "native"

Lite-XL already builds for FreeBSD so add it to the platform detection
2022-10-04 11:13:21 -04:00
JanandGitHub 0277aaf079 meson: fallback onto the C compiler when Lua could not be found (#1134)
Lua provides no offical pkg-config configuration but some systems still have it.
Instead of assuming the System has none, try using the C compiler to find it.
This may give us an incorrect lua version, but its better than nothing at all.
2022-10-03 13:36:39 -04:00
JanandGitHub 915625b74f Update SDL to 2.0.20 (#884) 2022-04-20 16:30:41 -04:00
JanandGitHub fff10a2612 Cleanup (#826)
* Update meson.build
- add logic to loop over more lua names (in the future more names might be discovered)
- disable warnings and errors on dependencies

* adding missing includes and checks, correct data types, pointer mess […]
- various functions from string.h were used but never defined
- logic was done across multiple different data types with different signedness, got all of them up to snuff
- give 0 sized array size of 1 (array of size 0 is illegal, but rewriting the code is out of the scope of this commit)
- add preprocessor that marks possibly unused argument as such (does not mean they will get optimized out or anything)
- correctly initialize structs with all data needed

All these were found by generating the project using `meson -Dwarning_level=3 -Dwerror=true`

* remove undefined behavior, correct data types

* Comment manual bit manipulation to be investigated

* check for more edge cases, replace multiple cleanups with goto

* remove system specific includes
2022-04-15 11:34:46 -04:00
JanandGitHub 120c769e7e seperate dirmonitor logic, add build time detection of features (#866)
this also adds libkqueue support
2022-03-17 13:43:01 -04:00
Jan200101 227ca7d0e5 use lua fallback earlier when fallbacks are forced 2022-01-22 23:29:28 +01:00
Jan200101 192c577966 Add fallbacks to all common dependencies 2022-01-15 00:53:46 +01:00
Jan200101 73a867fc89 add Libraries label 2021-12-31 13:53:31 +01:00
Jan200101 99ddf1fb92 Migrate to Lua 5.4 2021-12-31 13:53:01 +01:00
Jan200101 e313eb0e2e ensure command alignment is correct 2021-10-28 08:40:18 +02:00
Jan200101 065fe07696 Add auto labeler workflow 2021-10-25 19:29:31 +02:00
Jan200101 d3fa64ce59 rely on /proc/self 2021-10-12 09:06:37 +02:00
Jan200101andFrancesco Abbate fc4c7a29ee use dependency fallbacks, use system reproc if available 2021-09-07 14:59:03 +02:00
Jan200101andFrancesco 973acb787a use dependency fallbacks, use system reproc if available 2021-08-24 11:54:44 +02:00
Jan200101 7ea096247c documents should not be put into global doc root 2021-06-11 23:38:25 +02:00