aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-06Fixed process layer argument quoting; allows for strings with spaces. And ↵fix-win32-process-argumentsAdam
added ability to specify a literal, in the style of python.
2022-10-04Stealthy fix of list_dir on windows with single letter directories.Adam
2022-10-04Fix process api detach bug (#1137)Adam
* Added in conditional, as detaching will fail with "Operation not permitted" on linux; setsid sets a new process group anyway. * Added in variable to check detached state on cleanup, so we don't send TERM.
2022-10-04Fixing minor bug relating to TreeView's cache. (#1136)Adam
Reviewed by Guldo; should fix things, merging.
2022-10-04Add i386 architecture detection, add FreeBSD to platform detection (#1135)Jan
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-03meson: fallback onto the C compiler when Lua could not be found (#1134)Jan
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-03meson: updated lua wrap to v5.4.4 (#1133)Jefferson González
2022-10-02plugins language_md: fixed some regressions, added caddyfile supportjgmdev
2022-09-29system: added raise_window() (#1131)Jefferson González
2022-09-28language_md: don't require space at end on '_', '__', '___' (#1129)Jefferson González
2022-09-25gh workflow: don't make release on tag pushes to prevent double release when ↵jgmdev
executed from github web interface.
2022-09-25updated changelogjgmdev
2022-09-25core start: added missing ';' to package.cpathjgmdev
2022-09-25Added in ability to have `init.so` as a require for cpath. (#1126)Adam
2022-09-25Added Release Workflow and Fixed some build script issues (#1013)Jefferson González
* ci linux: make builds properly static * test workflow_dispatch * install wayland-protocols * append missing portable * make debug builds by default * auto enable some video subsystems for proper wayland support * added release workflow * make line shorter in innosetup bash script * disable some video subsystems on darwin and windows * fix default build dir on msys * print output of ntldd * properly set msys arch * disable opengl on windows * copy mingw dependencies on package * innosetup script copy from generated package dir * changed license to reflect team work * adjusted the ci windows install name * add all language plugins to addons * disabled generation of source tarballs * removed language_cpp from plugins repo * enabled lua utf8 patch for windows build * added open_ext to addons * moved away from deprecated virtual environments * make minimal build and with addons * simplified CI build.yml
2022-09-22api: expose api_load_libs to native plugins (#1125)Jefferson González
This function is currently needed for the threading plugin.
2022-09-22docs: documented ARCH global.jgmdev
2022-09-19Update unidata to version 15.0 (#1122)Dmitry Atamanov
2022-09-18Added in native modules suffixes. (#1111)Adam
* Added in native modules with suffixes, giving priority to those with matching architectures and platforms. * PowerPC isn't x86, and it's x86_64. * Changed things over to allow compiler to set a tuple, makes more sense from a build perspective. * Spelling mistake. * Added in arm target tuples.
2022-09-16core: remapped core:restart to `ctrl+alt+r`jgmdev
Commonly `ctrl+shift+r` is used in most editors for find and replace operations, also the regexreplacepreview.lua plugin makes a more appropriate use of this binding.
2022-09-15contextmenu: resize on scale changes (#1117)Jefferson González
2022-09-15plugin scale: added option to set default scale (#1115)Jefferson González
2022-09-14Added in simple directory search to treeview. (#1110)Adam
2022-09-13Strictly limit find/replace commands to `core.docview` (#1108)Guldoman
Without this, find/replace commands applied to the `CommandView` too, with buggy results.
2022-09-12autocomplete: properly replace current partial symboljgmdev
2022-09-07Merge pull request #1105 from jgmdev/PR/sdl-updateJefferson González
updated sdl2 wrap to 2.24
2022-09-02Changed setpgrp to a more portable form.Adam
2022-08-24updated sdl2 wrap to 2.24jgmdev
2022-08-21Make predicate for some `TreeView` commands stricterGuldoman
This avoids performing the `treeview:new-folder` command on ctrl + double click. This happens because `ctrl+lclick` (which is the keybinding for `treeview:new-folder`) is triggered also by ctrl + double click, which isn't captured by anything else.
2022-08-21Reduce double click radiusGuldoman
SDL uses 32 pixels by default, which is a bit too much and causes problems with, for example, adding multiple close selections too quickly.
2022-08-20Added a smoothing and strikethrough option to font loading. (#1087)Aqil Contractor
* Added a smoothing option to font loading. * Added a font strikethrough option to font loading. * Fixed underline applying incorrectly in cases of non-underlined fallback fonts being used. Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2022-08-17Merge pull request #1100 from Guldoman/PR_fix_path_suggestJefferson González
Remove dot slash from suggested paths in `common.path_suggest`
2022-08-16Merge pull request #1098 from Guldoman/PR_command_predicate_paramsJefferson González
Allow command predicates to manage parameters, allow overwriting commands
2022-08-17Be more lenient with appending `PATHSEP` in `common.path_suggest` in WindowsGuldoman
This allows to use the Unix separator without resulting in ugly suggestions that added the Windows separator too. For example: Before: `data/` -> `data/\core\` After: `data/` -> `data/core\`
2022-08-16Remove final `PATHSEP` in `common.normalize_volume`Guldoman
2022-08-16Add `PATHSEP` before listing the directory in `common.path_suggest`Guldoman
Before, in Windows, listing `.` instead of `.\` resulted in unexpected results.
2022-08-16Merge pull request #1101 from benwalksaway/python_async_awaitJefferson González
language_python: add syntax support for async/await
2022-08-16Replace `assert` with `core.log_quiet` on command replaceGuldoman
This caused issues when saving the user module with commands defined inside it, as it resulted in the user-defined commands trying to overwrite themselves and failing.
2022-08-16Add predicate memoization to `command.get_all_valid`Guldoman
2022-08-16Use `Object:is` instead of direct metatable comparison in `autocomplete`Guldoman
2022-08-16Allow command predicates to manage parameters passed to the commandsGuldoman
When a command is performed with parameters, those are now passed to the predicate. The predicate can then return, after the validity boolean, any other value that will then be passed to the actual command. If the predicate only returns the validity boolean, the original parameters are passed through to the actual command. This allows predicates to manipulate the received parameters, and allows them to pass the result of an expensive computation to the actual command, which won't have to recalculate it. String and table predicates will now also return `core.active_view`.
2022-08-16language_python: add syntax support for async/awaitBen Larisch
2022-08-16Remove dot slash from suggested paths in `common.path_suggest`Guldoman
When no `root` is specified and the initial `path` is empty, the initial `path` becomes `.`. This results in returned files/dirs that are prepended with `./`. Now, in that case, `./` is removed.
2022-08-09Steps to generalize toolbar and treeview. (#1088)Adam
2022-08-07Fix [build] link and add [lite] link on Overview (#1096)Wahyu Wiyoko
2022-08-03Enable SDL timersGuldoman
2022-08-03Clear default Lua require path (#1085)Guldoman
This is mainly done to avoid requiring from the current working directory of the editor. This also avoids requiring from system paths, as it was already the case for the native modules search path.
2022-07-22Fix "hard" indent column info on status view. (#1078)ian`
* Fix "hard" indent column info on status view. * Update tabs calculation and add "byte" number info * Add config.show_char_byte_info * Add show char byte toggle command. it should be added on the commands/statusbar.lua, but there is no config module loaded before and i won't to add it. * Update config.lua * Update statusview.lua
2022-07-17Merge pull request #1080 from jgmdev/PR/fix-commandview-caretJefferson González
CommandView: do not change caret size with config.line_height
2022-07-16Merge pull request #1079 from cisoun/masterGuldoman
Add font style options in user module