Commit Graph

53 Commits

Author SHA1 Message Date
Takase bc2c433b00 fix(windows-utf8-patch): fix os.getenv() not supporting UTF-8 output (#1397) 2023-08-07 14:50:58 +01:00
Takase 193871869d refactor(main): move SetProcessDPIAware to manifests (#1413) 2023-08-07 14:50:58 +01:00
Takase 2d2d715fd9 Add manifest on Windows (#1405)
* fix(gitignore): add exclusion for manifest files

* feat(windows): add application manifest

* feat(build): use application manifest on windows

* refactor(build): use genrate_file to generate the manifest

* style(manifest): remove trailing whitespace
2023-08-07 14:50:58 +01:00
Adam b9cc661a84 Fixed up some post 5.1/jit Symbols (#1385)
* Updated k functions to have appropriate method signatures for 5.3 and up.

* Fixed up some inconsistent signatures that I forgot.
2023-08-07 14:50:58 +01:00
Adam Harrison de06dcc5bb Added missing header declaration. 2023-08-07 14:50:43 +01:00
Jefferson González 9dcdf1f7c9 plugin api: allow usage on multiple source files (#1335)
As discussed with Adam on discord current Lite XL Lua Plugin API was not
working on native plugins with more than 1 source file since imported
symbols were not exposed to other unit files. The issue was tackled on #1332
but the solution introduced another issue when Lite XL was dynamically
linked to the system lua. So we opted to tackle this by using function
wrappers around the function pointers.
2023-08-07 14:50:43 +01:00
Takase 3edd53a835 Reorganize resources/ + wasm target (#1244)
* add README.md to resources directory
* add cross/ directory for meson cross files
* fix readme list syntax error
* fix reflink
* disable ASYNCIFY_ADVISE by default
* use executable names instead of hardcoding paths
2023-08-07 14:50:43 +01:00
Jefferson González da524a3c46
plugin api: added missing luaL_typeerror (#1313) 2023-01-06 14:22:55 -04:00
Jefferson González 3491eb464d
Bump version to 2.1.1 (#1284)
* updated wraps
* updated release date
2022-12-28 22:03:36 -04:00
Quinten Kock 3fda8c0a09
Fix userdata APIs for Lua 5.4 in native plugin interface (#1188)
* Reintroduce some missing Lua API's from native plugin API

* Add new upvalue functions to header

* Fix things that are actually macros in current lua

* Introduce lua_insert,replace,remove macros from lua5.4
2022-12-27 23:39:28 -05:00
Takase 4107b0c3fe
MSVC Support (#1199)
* fix stdalign and min/max for MSVC
* add missing ISREG and ISDIR for MSVC
* use MAX_PATH instead of PATH_MAX
* remove unecessary headers inclusion
* add MSVC CI
* add appropriate macros to platform detection
* re-add msvc CI artifacts
* upload the generated artifacts
* patch lua for MSVC CI builds
* update patch for MSVC compatibility
2022-11-15 23:23:45 -04:00
Adam 9951e785b6
Getting ready for 2.1. (#1181)
* Getting ready for 2.1.

* Fixed version.

* Year.

* Manually added line as takase said to.

* Fixed minor issue at takase's behest.

* Dunno where that went.

* Updated to use a function pointer.

* OK, as discussed, adding this manually for now.

* Updated SDL.
2022-11-02 03:38:58 +01:00
Adam Harrison 3bd567f5e1 Fixed small plugin header error. 2022-11-01 21:01:25 -04:00
Jefferson González d89d1e6d98
ci release: add macos arm64 support (#1179) 2022-10-30 11:48:20 -04:00
jgmdev 3ccd696ffc plugin api: added missing param on lua_dump 2022-10-24 11:40:47 -04:00
jgmdev 76f55aefe8 resources: .desktop inode/directory mime type
This allows associating lite-xl on linux with folders for the open with
option of graphical file browsers.
2022-10-22 21:10:45 -04:00
takase1121 dc2e9621ca lua patch for utf-8 support 2022-06-11 21:01:12 +08:00
Guldoman b9957138ac
Add `launchable` tag to AppStream xml 2022-04-21 00:41:15 +02:00
Adam f85612e0f0
Fix Project Scanning (#746)
Removed dmon, and replaced with logic that works across Linux, Mac, FreeBSD and Windows. Have tested on all platforms, and seems to work.

Co-authored-by: Jan200101 <sentrycraft123@gmail.com>
2022-03-06 00:59:22 -05:00
Adam 4be8a8b582
Merge pull request #764 from lorsatti/master
Add CFBundleIdentifier to Info.plist.in
2021-12-23 19:55:41 -05:00
Guldoman d16e46dba5
Update website location 2021-12-23 23:26:52 +01:00
Lorenzo Orsatti 66bc551488
Add CFBundleIdentifier to Info.plist.in
The CFBundleIdentifier key is necessary to associate lite-xl application to all files with a certain extension.
2021-12-22 22:18:22 +01:00
Adam 8120654c59
Merge branch 'master' into plugin_api_h_fix 2021-12-05 22:11:47 -05:00
takase1121 d307c57d05
update header 2021-12-01 20:44:17 +08:00
Adam Harrison 96db380c73 Manual merge of into . 2021-11-23 15:57:22 -05:00
takase1121 68eb6810d9
update headers 2021-11-08 12:18:13 +08:00
takase1121 e785bbf1bf
update generated headers 2021-11-06 20:39:10 +08:00
takase1121 d0a54227d8
update generated headers 2021-11-06 20:25:20 +08:00
takase1121 46f9bcb90c
fix lite_xl_plugin_api.h
This fixes a longstanding bug with the plugin API.
This commit is not complete, further polish is still needed.
2021-11-05 22:42:52 +08:00
Francesco Abbate 9c43727ebc Implement directory monitoring using septag/dmon
Use a notification based directory monitoring based on the
septag/dmon lirbary instead of periodically rescan the whole
project's tree.
2021-10-08 21:31:22 +02:00
Jean-André Santoni 0b4d1e2bce Fix the size and blurriness of the icon on OSX (#553)
* Fix the size and blurriness of the icon on OSX

* Don't nest ifndef

* Fix
2021-10-02 18:39:22 +02:00
Jean-André Santoni eb73ad3f8a
Fix the size and blurriness of the icon on OSX (#553)
* Fix the size and blurriness of the icon on OSX

* Don't nest ifndef

* Fix
2021-09-29 22:22:00 +02:00
Adam Harrison 3ca127793a Incorporated some suggestions, and some functions. 2021-09-20 23:33:12 -04:00
Adam Harrison fbc11c00eb Split entrypoints in half. 2021-09-16 16:55:33 -04:00
Adam Harrison 801b7dd0d9 Added some comments. 2021-09-16 16:22:33 -04:00
Adam Harrison 03b467d9d9 Cleaned up, added utility API. 2021-09-16 16:08:21 -04:00
Adam Harrison 2987554097 Moving things into final positions. 2021-09-16 15:47:12 -04:00
Francesco Abbate 51f27e47ca Improve info.plist for macOS package config
As suggested by @redtide and @Timofffee.
2021-09-08 11:13:13 +02:00
Francesco Abbate ce1a6ea5b5 Fix macOS minimum system version in info.plist 2021-09-08 11:13:13 +02:00
Timofffee d42a9173fe Bring back info.plist with meson configuration 2021-09-04 18:01:08 +02:00
Francesco 4732ba743d Revert "Update Info.plist"
This reverts commit aefa3ca205.
2021-09-04 17:57:09 +02:00
Francesco dfc45ad3b3 Revert "One more update Info.plist"
This reverts commit e8f5a5e002.
2021-09-04 17:57:09 +02:00
Francesco fdc8762241 Revert "Update meson.build"
This reverts commit 8866a5dddf.
2021-09-04 17:57:09 +02:00
Timofffee 8866a5dddf Update meson.build 2021-09-03 14:36:36 +02:00
Timofffee e8f5a5e002 One more update Info.plist 2021-09-03 14:36:36 +02:00
Timofffee aefa3ca205 Update Info.plist 2021-09-03 14:36:36 +02:00
redtide fb45b27da5 Specify the WM_CLASS of the application, used by some Linux DEs 2021-09-01 23:09:53 +02:00
redtide df8c1a98e4 Renamed freedesktop resources 2021-08-31 20:19:40 +02:00
Adam Harrison b6af395fc7 2.0 changelog and modversion updates. 2021-08-17 20:24:44 +02:00
redtide 904214378d CI and custom build script utilities
- macOS DMG image using AppDMG with custom background
- Linux AppImage
- Windows MSYS2 packaging
- Source code tarball including subprojects source code
- LHelper compatible build script
2021-08-12 22:07:38 +02:00