aboutsummaryrefslogtreecommitdiff
path: root/src
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-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-09-29system: added raise_window() (#1131)Jefferson González
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-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-02Changed setpgrp to a more portable form.Adam
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-07-11Start dirmonitor check thread only after a watch is added (#1072)Guldoman
2022-06-24Missing header.Adam
2022-06-23renderer fonts: additions and improvementsjgmdev
* Allow passing font options to renderer.font:copy(). * Added renderer.font:get_path() * Reintroduced set_size() for more faster font size changes * Swapped copy wiht set_size on scale plugin for better performance * Use code_font:copy() instead of renderer.font.load() on language_md to properly match user font now that font options are supported on copy. * Added new changes to renderer docs
2022-06-23Fixed minor issue on windows.Adam
2022-06-17make system.* functions support UTF8 filenames (#1042)Takase
* make system.* functions support UTF8 filenames * move utfconv.h into ifdef guard * fix wrong null check
2022-06-15Merge pull request #1037 from takase1121/PR/dlopen-omit-filenameJefferson González
omit filename when printing error for library load
2022-06-15fix memory leak and wrong check in font_retrievetakase1121
2022-06-15omit filename from error messagetakase1121
2022-06-12load space metrics only instead of all metrics of the 1st 256 characterstakase1121
2022-05-31core: check for sdl initialization errorsjgmdev
2022-05-28Make regex API return integersGuldoman
2022-05-23make lite-xl respect the taskbar and allow aero-drop in borderless modetakase1121
2022-05-22Merge branch 'master' into master-2.1master-2.1jgmdev
2022-05-15Made sure we redrew things, added in a contingency in 'save' for times when ↵Adam Harrison
we load a non-existent file, and added some checks.
2022-05-15Autoreload Nagview (#942)Adam
* Modified autoreload to use new dirwatch infrastructure, and added in nagview to verify that fs changes don't stomp on our changes, unless you want them to. * Split out reload functionality to actual document, and added in a thread to check the document, in the cases where it wouldn't be covered by dirwatch. * As per request from jgmdev, added in ability to show nagview always. * Changed things over to use dirwatch. * Made sure we redrew things, added in a contingency in 'save' for times when we load a non-existent file, and added some checks.
2022-05-11c core: fix extra utf8 build conflict on windowsjgmdev
2022-05-09Removed undefined behaviour by using `poll` over `select`.Adam Harrison
2022-05-09Merge branch 'master' into master-2.1Adam
2022-05-09Fixed dirwatch dummy, and scanning.Adam Harrison
2022-05-04Fix `ren_font_group_get_tab_size` returning unexpected valuesGuldoman
We were casting the `xadvance` to an int, so in some cases the resulting tab size was wrong.
2022-05-02Fixed minor race condition.Adam Harrison
2022-05-02Fixed minor race condition.Adam Harrison
2022-04-28Send `mouseleft` event when the mouse leaves the window (#928)Guldoman
* Send `mouseleft` event when the mouse leaves the window * Call `View:on_mouse_left` when the mouse leaves the `View` Previously `View:on_mouse_left` was called only when the mouse left the window, and it was called on every visible `View`. Now it gets also called when the mouse "changes" `View`, and only the last `View` the mouse was on will receive the event.
2022-04-26Make sure pipes are closed on exec.Adam Harrison
2022-04-26Asynchronous Reads for Dirmonitor (#930)Adam
Change dirmonitor reads to be synchronous, in a secondary thread.
2022-04-26Fixed windows dirmonitor issues.Adam Harrison
2022-04-26Add utf8 support to tokenizer (#945)Jefferson González
* add utf8 support to tokenizer * wrap utf8 functions in string table using a 'u' prefix * document new utf8 functions
2022-04-26Fix `ren_font_group_get_tab_size` returning unexpected valuesGuldoman
We were casting the `xadvance` to an int, so in some cases the resulting tab size was wrong.
2022-04-24Make sure pipes are closed on exec.Adam Harrison
2022-04-24Merge branch 'master' into master-2.1Adam
2022-04-24Asynchronous Reads for Dirmonitor (#930)Adam
Change dirmonitor reads to be synchronous, in a secondary thread.
2022-04-20Improve performance of `ren_draw_rect` (#935)Guldoman
We color a 1x1 `SDL_Surface` with the desired color. This surface is then stretched over the area we need to cover using `SDL_BlitScaled`. This way we avoid having to do the blending ourselves.
2022-04-15Cleanup (#826)Jan
* 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-04Changed calculation to use ascender, which should work better. (#912)Adam
2022-04-03Fixed windows dirmonitor issues.Adam Harrison
2022-03-17seperate dirmonitor logic, add build time detection of features (#866)Jan
this also adds libkqueue support
2022-03-08Fixed some issues with inotify and multiple events at the same time. (#872)Adam
* Fixed some issues with inotify and multiple events at the same time. Seems to be working now. * Cleaned up and simplified function, and commented, and fixed a number of bugs. * Simplifying and fixing further. * Improved performance for skipping large amounts of files. * Added in extra checks, and changed paths. We should probably unify these path styles. * Fixed stutter. * Removed extraneous functions. * Cleaned up more, added more testing; dealt with multiple sequential events correctly.
2022-03-07Always check if the beginning of the text needs to be clippedGuldoman
2022-03-06Fix Project Scanning (#746)Adam
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>