Commit Graph

39 Commits

Author SHA1 Message Date
Francesco Abbate d6ed82a783 Configure reproc library as a meson subprojects
Address issue #208
2021-05-25 09:18:42 +02:00
Francesco Abbate fbbe6d5dfb Merge branch master into dev 2021-05-22 15:12:05 +02:00
Francesco Abbate 217360ed31 Switch to FiraSans and JetBrainsMono fonts 2021-05-22 15:09:54 +02:00
Adam Harrison 3a5f04fae5 Spelling mistkae. 2021-05-21 16:32:26 -04:00
Adam Harrison 18fe6576d8 Fixed meson build on Mac. 2021-05-21 16:31:31 -04:00
Francesco Abbate a8e1e040ca Meson config to use reproc as external library 2021-05-20 13:40:11 +02:00
jgmdev 9b1b1a3820 Initial work to allow writing LSP client in LUA.
* Added an amalgamated C version of https://github.com/DaanDeMeyer/reproc
* Added lua binding of reproc accesible in the process package.
* Modified meson build to include reproc sources as src/api/process.c
2021-05-20 13:39:07 +02:00
Francesco Abbate b3f9faff4a Fix pcre2 meson build config 2021-05-06 19:53:03 -04:00
Adam Harrison 488ebba7e4 Added in dependency. 2021-05-06 19:53:03 -04:00
Francesco Abbate 3d84fe5488 Make usage of SDL renderer optional 2021-04-29 14:15:24 +02:00
Francesco Abbate a7d6a48321 Add objective-c languange in meson only for macos 2021-04-19 08:12:55 +02:00
Francesco Abbate 53f77a29ea Implement correctly loading from macos bundle resources 2021-04-18 08:51:31 -07:00
Takase 49cde08ed6
Use Xlib to read resources (#142) 2021-04-02 16:43:21 +02:00
Francesco Abbate 7802202625 Update subprojects options and version
Now no longer builds libagg examples applications neither Lua's
interpreter and bytecode compiler. Only the static libraries are built.
2021-02-26 15:49:30 +01:00
Francesco Abbate 351a772466 do not use 'portable' as a compile time option
Introduce the file core/start.lua to initialize applications variables
2021-02-24 16:29:39 +01:00
Francesco Abbate f22a56a651 Adjust indentation size in meson.build 2021-02-19 16:13:27 +01:00
Francesco Abbate 0233941fe9 Bump version number 2021-02-19 13:54:10 +01:00
francesco-st 588755b15a
Use -static-libgcc only if the compiler is gcc
clang does not accept the -static-libgcc flag and apparently -static-libstdc++ is accepted but has no effect.
2021-02-17 18:42:38 +01:00
Francesco Abbate 7aefb5e99c Fix install directory for data folder 2020-12-16 18:03:36 +01:00
Francesco Abbate d18eef4ef0 Update recipe for Lua subproject
Previous recipe was not working with shared build
2020-12-14 18:40:08 +01:00
Francesco Abbate c41dedafad Improve the implementation of unix-like directories usage
Add a Meson option "portable" to choose between "portable" and unix-like
directories. Add information about this option in the README.

To determine the user's directory use the variable USERPROFILE only on
Windows and use HOME otherwise.

Implement the "portable" option in the package build script.
2020-12-03 16:46:18 +01:00
Francesco Abbate a337f893d9 Implement user's config as init file and add directory into package.path
Create the user's config init file if lite user's config directory does
not exists.

No longer use the awkward package.searchers but instead add user's
config dir at the end of package path.
2020-12-02 16:03:31 +01:00
Francesco Abbate 3589d7d3c0 First implementation of unix-like data directory
It basically works by setting the data directory to

$prefix/share/lite-xl

where $prefix is determined so that $prefix/bin corresponds to EXEDIR.

The packages 'user' and 'user.*' are loaded from the directory
'$HOME/.config/lite-xl'.
2020-12-02 00:23:15 +01:00
Francesco Abbate 0ad3353f93 Update version number in meson 2020-07-04 22:08:59 +02:00
Francesco Abbate a292793143 Usa system provided Lua 5.2 if found 2020-06-30 16:48:41 +02:00
Francesco Abbate 0b16ce725c Specified static library for Lua subproject 2020-06-30 16:17:17 +02:00
Francesco Abbate 1fc6d62b14 Fix Lua subproject ofr Mac OS X 2020-06-29 17:01:14 +02:00
Francesco Abbate c4da51e8df Add Lua 5.2.4 as a subproject 2020-06-29 15:26:00 +02:00
Francesco Abbate aa9557e9ba Fix meson build to request lua5.2 2020-06-17 20:27:59 +02:00
Francesco Abbate 047039a750 Require Lua 5.2 in Meson build 2020-06-08 12:35:36 +02:00
Francesco Abbate e86ee053f3 Update version in meson build 2020-06-07 09:59:55 +02:00
Francesco Abbate 43d229a399 Remove no longer used tests and stb truetype dep 2020-06-07 09:59:31 +02:00
Francesco Abbate c5575de058 Move font renderer in a separate folder as a library 2020-06-04 18:52:01 +02:00
U-ST\francesco abbate f61ffc4710 Add missing resource file on windows 2020-06-03 12:22:17 +02:00
Francesco Abbate 01a4981210 Use static libgcc and libstdc++ when doing release build 2020-06-02 23:20:22 +02:00
Francesco Abbate 20626ab911 Add small test program for stb_truetype 2020-05-29 12:54:36 +02:00
Francesco Abbate 23a080ca45 WIP: compiles but completely broken
AGG files imported from AGG repository, sdl-testing branch.

the pixfmt_bgra32_lcd is just implemented and is not tested.
2020-05-28 12:15:24 +02:00
Francesco Abbate 7b9def299d Add dl library because it may be needed by SDL2
Should be fixed to be added only when needed.
2020-05-25 12:23:46 +02:00
Francesco Abbate 618078829c Add meson build configuration
Currently the editor will not work if it is not installed.

There is also a caveat about the 'data' directory which is installed
in the bin directory. This may work but does not seem ok because it is
pollution a shared bin directory and the 'data' folder may not be unique
to Lite.
2020-05-25 12:22:23 +02:00