takase1121
16d81d0b9c
ci: enable LTO for CI builds
...
(cherry picked from commit 75261a98a6723ce734360c0a3004c9e5cab04540)
2025-05-18 22:55:30 +08:00
takase1121
4ad47c1180
build.sh: add LTO support
...
(cherry picked from commit 3eab686fc16e836d05c28d352f45e1f14b8f2ebe)
2025-05-18 22:55:30 +08:00
Takase
1ada01e7b0
Update InnoSetup files ( #1988 )
...
* inno: update visual style to modern; support hidpi
* inno: fix add to PATH and add banner images
* inno: fix arch specification and default to x64compatible
* scripts: actually use x64compatible in package-innosetup.sh
* inno: fix unsupported windows warning
* gitignore: add trailing newline
(cherry picked from commit 819fa9d30e2c0e737fad519fbff63ce2baff4456)
2025-05-18 22:55:29 +08:00
Takase
590367a6e5
syntax: warn against malformed patterns and disable them ( #2029 )
...
(cherry picked from commit 3501f3d0bb6ee399ecb7cdf04cff8cf138b1ca02)
2025-05-18 22:55:29 +08:00
Takase
026d2a4271
language_cpp: add back digit separators ( #2026 )
...
* language_cpp: add back digit separators
* language_cpp: rewrite number matching in regex
* language_c: port digit separators over from language_cpp
(cherry picked from commit 8ea0393800bb59a214e8a6efd5b9fb69282803a9)
2025-05-18 22:55:29 +08:00
Guldoman and takase1121
d5aa9ddad7
fix: use correct charmap and glyphmap sizes ( #1999 )
...
(cherry picked from commit 87ee3799610354fc90617ec8206337fedeee39f5)
2025-05-18 22:55:29 +08:00
Takase
0d9431857e
common: allow / and \ as PATHSEP on Windows when fuzzy matching files ( #1992 )
...
* common: allow / and \ as PATHSEP on Windows when fuzzy matching files
* common: fix PLATFORM == Windows
(cherry picked from commit 5d6ae412e76e69181a3b46c79b8408fbd55183c9)
2025-05-18 22:55:28 +08:00
Takase
dec272d051
ci: add postrelease workflow to update docs and release winget packages ( #1983 )
...
(cherry picked from commit c61d5dd5c631a173d691121ebc6c7d4ec7279218)
2025-05-18 22:55:28 +08:00
takase1121
7a68eaa165
fix: use current char to determine col in DocView:get_x_offset_col ( #1946 )
...
Previously it would use the last char position, which resulted in incorrect values when the next char had a different size than the current one.
(cherry picked from commit f066c88e186a02b9912d7f102b541f514ae1aa35)
2025-05-18 22:55:20 +08:00
takase1121
52393aa75e
move dependency resolving into source file ( #1937 )
...
These are only needed for building the actual project and not for managing resources or setting various flags.
Gets rid of the double `source-only` check and moves it closer to the consumer
(cherry picked from commit 64420f4366a290b3c3f48f0131a8f77312def595)
2025-05-18 22:54:39 +08:00
Takase
42cf5a630e
renderer: pass errors via SDL_SetError ( #1919 )
...
(cherry picked from commit 90cce5edee579575025c388d995eed637c4ad0bf)
2025-05-18 22:54:39 +08:00
Takase
025e19d88e
renderer: defer bitmap rendering when possible ( #1856 )
...
ren_font_group_get_width() is getting called a lot while not 100% of the
glyphs loaded from this function will be actually rendered. We can defer
the bitmap rendering to ren_draw_text.
(cherry picked from commit 1659f63dfc6fec7893673e7e95bbcd844ec0bda4)
2025-05-18 22:54:38 +08:00
Takase
a23866511d
Better wasm support again ( #1779 )
...
* wasm: add shell file for loading wasm module
* wasm: disable pcre2 jit
* wasm: add more configuration options
* cross/wasm: more build options
(cherry picked from commit 6575c297b50417eff0b82fd80340a192ba016b99)
2025-05-18 22:54:38 +08:00
ThaCuber and takase1121
ce16538903
add a __tostring method to every object ( #1534 )
...
* added a stupid __tostring to every object
* moved every __tostring to just after the :extend() call
---------
Co-authored-by: Adam <adamdharrison@gmail.com >
(cherry picked from commit 880e7f1fa1521cdf176f44627a27c901e187058e)
2025-05-18 22:54:38 +08:00
Takase
fdd5ab8ed0
common.sh: support OSTYPE == cygwin for MSYS2 ( #2028 )
...
(cherry picked from commit f30214464c0613c281c91be192c2ef8360f3543e)
2025-05-18 22:54:38 +08:00
Adam and takase1121
3479e31a4e
Added in stdlib as per #2014 . ( #2017 )
...
(cherry picked from commit 9b70aec31de3d7c179fc8425d7af7babd96be2c5)
2025-05-18 22:54:38 +08:00
Programutox and takase1121
15123e4054
Update CSS plugin to support more units ( #2010 )
...
* Update css plugin to support more units
* Fixed spacing.
---------
Co-authored-by: Adam Harrison <adamdharrison@gmail.com >
(cherry picked from commit 7a4260600509e26337e67ce65ff3c66eec79d3b6)
2025-05-18 22:54:37 +08:00
takase1121
f1ab7de4ea
chore: bump versions to v2.1.7
2024-12-05 22:22:30 +08:00
takase1121
9a3ade1bdd
chore: update changelogs for v2.1.7
2024-12-05 22:20:46 +08:00
takase1121
2f208d452f
process: call poll_process when getting returncode
2024-12-05 22:18:39 +08:00
Guldoman and takase1121
f87617f829
fix: only allow backslash as path separator in Windows in common.path_suggest ( #1976 )
2024-12-04 13:02:07 +08:00
Takase
ad628da44d
process: do not return nil until process exited ( #1973 )
2024-12-04 13:02:07 +08:00
takase1121
acf1daed7c
ci: update docs on release
2024-12-04 13:02:06 +08:00
takase1121
ccf7383c34
ci: add winget releaser workflow
2024-12-04 13:02:06 +08:00
Takase
451bfacaf5
docview: prevent overscroll when DocView size is less than lh * 2 ( #1971 )
2024-12-04 13:02:06 +08:00
d436dfe9bf
check item type before creating input text ( #1904 )
...
* check item type before creating input text
* Update data/plugins/treeview.lua
Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com >
* Update data/plugins/treeview.lua
Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com >
---------
Co-authored-by: FloppyDisco <joshuapaulpiasecki@gmail.com >
Co-authored-by: Takase <20792268+takase1121@users.noreply.github.com >
2024-12-04 13:02:06 +08:00
ThaCuber and takase1121
9222136070
allow / for path suggestions in all OSes
2024-12-03 08:35:40 +08:00
Guldoman and takase1121
142c19bc51
fix: scale font pixel size in RENDERER mode
2024-12-02 15:22:28 +08:00
Guldoman and takase1121
f6fd438b08
Return state when tokenizing plaintext syntaxes
2024-12-02 15:21:52 +08:00
takase1121
8498a988e4
chore: bump versions to v2.1.6
2024-11-29 09:26:39 +08:00
takase1121
451bea592a
chore: write changelogs for v2.1.6
2024-11-29 09:26:29 +08:00
takase1121
debfbcd986
ci: add releases permission to release CI
2024-11-27 20:53:36 +08:00
takase1121
fff5acda25
appimage.sh: temporarily fix the script to generate the appimage correctly
2024-11-27 20:53:35 +08:00
takase1121
e1a37cf194
ci: bump lite-xl-build-box-manylinux version
2024-11-27 20:53:35 +08:00
Jan200101 and takase1121
fdfa2f43d3
convert unix style paths literals into meson path segments
2024-11-27 20:53:35 +08:00
Jan200101 and takase1121
319e1e80ef
use meson datadir as lite_datadir base
2024-11-27 20:53:35 +08:00
Samuel and takase1121
eafd283019
fix appimage cd error and use static appimage runtime ( #1924 )
...
* fix appimage cd error and use static appimage runtime
* include `desktop-file-utils` for appimagetool
* remove mv of old `AppRun`
* revert indentation
* don't export `APPIMAGE_EXTRACT_AND_RUN`
2024-11-27 20:53:34 +08:00
Jan200101 and takase1121
aafd856149
Update PCRE2 wrap
...
fixes configuration issues on systems that don't support the sealloc jit
2024-11-27 20:53:34 +08:00
Jan200101 and takase1121
ce3d4de101
Format renderer font scale code to be actually readable
2024-11-27 20:53:34 +08:00
Takase
7c68b20115
feat(core.emptyview): add name to emptyview ( #1569 )
...
* feat(core.emptyview): add name to emptyview
* fix(core.emptyview): set filename to empty
2024-11-27 20:53:34 +08:00
Guldoman and takase1121
ac4995ee46
Fix multi-type usage in delimited patterns ( #1740 )
...
In the "end" pattern we weren't considering the multiple types.
2024-11-27 20:53:34 +08:00
3114f2103e
improve projectsearch ( #1876 )
...
* improve projectsearch
- stick status to top of view
- add horizontal scrolling
- added ellipsis at the end of the text if it's too long
* Reverted removal of 0 on yield.
---------
Co-authored-by: Adam Harrison <adamdharrison@gmail.com >
2024-11-27 20:53:33 +08:00
Adam Harrison and takase1121
e802239022
Additional small fixes for windows as part of the process API move to lua.
2024-11-27 20:53:33 +08:00
Adam Harrison and takase1121
d2586bf0c2
Fixed minor typo from merge of #1854 for windows builds.
2024-11-27 20:53:33 +08:00
takase1121
2e2305b9fe
arena_allocator: return lxl_arena instead of initializing an existing struct
2024-11-27 20:53:33 +08:00
takase1121
cf40e254fe
process: migrate arg validation and checking to Lua
2024-11-27 20:53:32 +08:00
takase1121
f84305b2b2
utfconv: add functions that use arena_allocator
2024-11-25 21:29:33 +08:00
takase1121
14489482ec
allocator: add arena_allocator
...
This allocator uses Lua userdatas for dynamic allocation
that is automatically freed when the current scope exits.
2024-11-25 21:29:28 +08:00
Jan and takase1121
f0d7e22dbf
remove lhelper script, build configuration and dependency support ( #1906 )
...
* remove lhelper script, build configuration and dependency support
* turn lhelper flag into a error
2024-11-25 21:29:22 +08:00
Guldoman and takase1121
8c66c5f493
treeview: remove unused code ( #1895 )
...
It caused a lot of useless `system.absolute_path` calls.
2024-11-25 21:29:05 +08:00