What's Changed
- Minor typos in init text by @dwillmer in #1289
- Allow command buffer to be expanded by @Guldoman in #1297
- Do not allow users to create an empty font group by @takase1121 in #1303
- Make api_require's nodes const by @jvoisin in #1296
- Fix a memory leak by @jvoisin in #1305
- Don't set a value twice by @jvoisin in #1306
- Make
dirwatch
sorting compatible with whatfile_bisect
expects by @Guldoman in #1300 - Handle readlink errors by @jvoisin in #1292
linewrapping
: Disable horizontal scrolling when enabled by @Guldoman in #1309- plugin api: added missing luaL_typeerror by @jgmdev in #1313
- defer lua error until after cleanup by @Jan200101 in #1310
- fix: center title and version in emptyview by @sammy-ette in #1311
- Reorganize resources/ + wasm target by @takase1121 in #1244
- replace uses of SDL_Window with RenWindow by @Jan200101 in #1319
- Create Renderer Only When It Doesn't Exists by @pegvin in #1315
- language_md: add nix code block highlighting by @Meerschwein in #1323
- Use
table.move
to implementcommon.splice
by @xcb-xwii in #1324 - Make empty groups in
regex.gmatch
return their offset by @Guldoman in #1325 - remove static libgcc from meson by @Jan200101 in #1290
- Avoid drawing hidden text in
DocView:draw_line_text
by @Guldoman in #1298 - Added in Config Postload by @adamharrison in #1336
- plugin api: allow usage on multiple source files by @jgmdev in #1335
- Add "Open with Lite XL" to windows' context menu by @Velosofy in #1333
- pass RenWindow by argument by @Jan200101 in #1321
- ci: fix msys build now requiring ca-certificates by @jgmdev in #1348
- Getting rid of annoying forward slash on windows. by @adamharrison in #1345
- Abstracted open_doc out to allow for more easy overriding. by @adamharrison in #1344
- feat: add option to only draw whitespace if it is within selection by @sammy-ette in #1312
- Replace globally when replacing from selection by @Himura2la in #1331
- Context menu fixes and keyboard navigation by @vqns in #1338
- fix: exec() error not returned to parent by @takase1121 in #1363
- Make mod-version follow semver by @Guldoman in #1036
- Improved plugins config table handling by @jgmdev in #1356
- Restore in-selection replace as discussed in #1331 by @jgmdev in #1368
- NagView: properly rescale on scale change by @jgmdev in #1379
- plugins scale: also rescale style.expanded_scrollbar_size by @jgmdev in #1380
- Improve
DocView:get_visible_line_range
precision by @Guldoman in #1382 - Allow groups to be used in end delimiter patterns in tokenizer by @Guldoman in #1317
- Make mouse scrollwheel hovering tabs scroll the tab bar by @Titousensei in #1314
- Make tab scrolling more flexible by @Guldoman in #1384
- Fixed up some post 5.1/jit Symbols by @adamharrison in #1385
- fix incorrect x_offset if opened docs have different tab sizes by @vqns in #1383
- Added in ability to specify prefix via env variable. by @adamharrison in #1388
- Use correct view for scrolling to
find-replace:repeat-find
results by @Guldoman in #1400 - Add manifest on Windows by @takase1121 in #1405
- Split
Command
struct into different structs for each command type by @Guldoman in #1407 - Move SetProcessDPIAware to manifests by @takase1121 in #1413
- Improve text width calculation precision by @Guldoman in #1408
- Use clipping functions provided by SDL by @Guldoman in #1426
- Make
TreeView
follow the current tab by @Guldoman in #1411 - Aggregate
SDL_Surface
s and their scale inRenSurface
by @Guldoman in #1429 - Asynchronous process reaping by @takase1121 in #1412
- Don't calculate widths per-uft8-char when not needed by @Guldoman in #1409
- Made coroutines make more sense, and fixed a bug. by @adamharrison in #1381
- Fixed bug where commands would show even when plugin was disbled. by @adamharrison in #1446
- Allow
tokenizer
to pause and resume in the middle of a line by @Guldoman in #1444 - Added in explicit touchscreen keyboard support. by @adamharrison in #1389
- fix cursors positions when deleting multiple selections by @vqns in #1393
- add autocompletion to multicursor by @vqns in #1394
- Added in support for foreground and background events. by @adamharrison in #1395
- Fix invalid EXEFILE and EXEDIR on Windows by @takase1121 in #1396
- Fix os.getenv() not supporting UTF-8 output by @takase1121 in #1397
- Add View dragging by @Jan200101 in #1402
- fix: fix differing stacktrace on stdout and file by @takase1121 in #1404
- fix(CI): bump dependency versions by @takase1121 in #1434
- Optimizing MSYS2 CI by @takase1121 in #1435
- Update api_require to expose more symbols by @takase1121 in #1437
- Make
system.path_compare
more case-aware by @Guldoman in #1457 - #1393 followup by @vqns in #1463
- feat: add statusview item to show selections by @sammy-ette in #1445
- Fix for api_require wrong macro && conditions by @jgmdev in #1465
- upgrade header files to Lua 5.4 by @takase1121 in #1436
- Cross compiling improvements + macOS universal binary by @takase1121 in #1458
- Show error message in crash message box by @Guldoman in #1461
- Move the header into include/ by @takase1121 in #1440
- Merge carets after
doc:move-to-{previous,next}-char
by @Guldoman in #1462 - Build releases with Ubuntu 18.04 container by @takase1121 in #1460
- Process API improvements (again) by @takase1121 in #1370
- Make
system.path_compare
more digit-aware by @Jan200101 in #1474 - fix(process): check for HANDLE_INVALID by @takase1121 in #1475
- Added in double-clicking on emptyview and tab bar. by @adamharrison in #1478
- Restore horizontal scroll position after scale change by @Guldoman in #494
- Allowed for font overrides of toolbar items by @adamharrison in #1157
- detectindent: fix wrong detection reported by Adam by @jgmdev in #1500
- Move lineguide below blinking cursor, fixes #1488 by @jgmdev in #1511
- Close lua state when exiting on a runtime error by @jgmdev in #1487
- Add mouse grab by @Guldoman in #1501
- Change AppID by @Guldoman in #1187
- Revert "core syntax: strip the path from filename on syntax.get (#1168)" by @Guldoman in #1322
- Make
Doc:sanitize_position
return a more appropriatecol
by @Guldoman in #1469 - Show cursor at the start of the next line when selecting full lines by @Guldoman in #761
- Add top tab margins by @Jan200101 in #1479
- Increase number of loadable glyphsets by @Guldoman in #1524
- Attach command buffer to Renderer Window by @Jan200101 in #1472
- Windows Installer Path Modification by @adamharrison in #1536
- comment typo in object.lua by @SwissalpS in #1541
- Fix #1538 log scrolls automatically (the real PR) by @SwissalpS in #1546
- Allow setting custom glyphset size by @Guldoman in #1542
- style(src/renderer): use FreeType header names by @takase1121 in #1554
- feat(src/renderer): stream fonts with SDL_RWops on all platforms by @takase1121 in #1555
- Updated native extension for mac. by @adamharrison in #1563
- Documentation for core.common by @takase1121 in #1510
- docs(system): fix missing parameter for system.path_compare by @takase1121 in #1566
- Documentation for core.command by @takase1121 in #1564
- Fixed things for when a thread requests a redraw. by @adamharrison in #1570
- feat(src/renderer): unify fontgroup baseline by @takase1121 in #1560
- Normalize stroke before adding keybind by @Delta-official in #1334
- Use proper timeouts for coroutines that don't need to wait by @Guldoman in #1467
- Updating the Installing prebuild section in README.md by @shreyas-a-s in #1548
- Make
DocView
aware of scrollbars sizes by @Guldoman in #1177 - ci(release): use lite-xl org by @takase1121 in #1571
- fix(core): defer core:open-log until everything is loaded by @takase1121 in #1585
- Fix
scrollbar
misinterpretingpercent
by @Guldoman in #1587 - Documentation for core.contextmenu by @takase1121 in #1567
- Use Lua wrap by default by @Jan200101 in #1481
- Normalize strokes in fixed order by @Guldoman in #1572
- Adds super as a modkey. by @adamharrison in #1590
- Autocomplete plugin improvements by @jgmdev in #1519
- feat(statusview): make a separate item for doc position percent by @sammy-ette in #1579
- docs(core.config): add documentation for config options by @takase1121 in #1512
- Fixed C++14 digit separators by @Robert42 in #1593
- Remove DPI detection for default
SCALE
by @Guldoman in #1629 - docs: fix prebuilt install instructions by @takase1121 in #1637
- fix: dim rendering when antialiasing is turned off by @takase1121 in #1641
- Mark unsaved named files as dirty by @Guldoman in #1598
- Improve
common.serialize
by @Guldoman in #1640 - Ignore keypresses during IME composition by @Guldoman in #1573
- Save in the
workspace
unsaved named files by @Guldoman in #1597 - ci: fix diff files having "wrong" path separator by @takase1121 in #1648
- Set SDL hint to prefer software render driver by @Guldoman in #1646
- fix: deadlock if error handler jumps somewhere else by @takase1121 in #1647
- Sanitize tab index in
Node:add_view
by @Guldoman in #1651 - Make license time-independent by @Guldoman in #1655
- ease transparency of nagbar dim by @thacuber2a03 in #1658
- feat(package): ad-hoc sign macOS bundles by @takase1121 in #1656
- Make dmgs with dmgbuild by @takase1121 in #1664
- Avoid considering single spaces in
detectindent
by @Guldoman in #1595 - Fix deleting indentation with multiple cursors by @Guldoman in #1670
- Fixed issue with set_target_size passing the wrong value to plugins by @drmargarido in #1657
- Limit
system.{sleep,wait_event}
to timeouts >= 0 by @Guldoman in #1666 - Fix running
core.step
when receiving an event while not waiting by @Guldoman in #1667 - Fix
dirmonitor
sorting issues by @Guldoman in #1599 - feat(subprojects): update wraps by @takase1121 in #1577
- Scale mouse coordinates by window scale by @Guldoman in #1630
- Fix
core.redraw
when window is not focused by @Guldoman in #1601 - Fix selecting newlines with
find-replace:select-add-{next,all}
by @Guldoman in #1608 - Fix editing after undo not clearing the change id by @Guldoman in #1574
- Fix
language_js
regex constant detection by @Guldoman in #1581 - Fix patterns starting with
^
intokenizer
by @Guldoman in #1645 - Text overwriting by @thacuber2a03 in #1495
- Reverted cursor API to something more compatible with old API. by @adamharrison in #1674
- Use x offset to define render command rect in
rencache_draw_text
by @Guldoman in #1618 - Improve font/color change detection in
language_md
by @Guldoman in #1614 - Revert "feat(subprojects): update wraps" by @takase1121 in #1675
- Update wraps #2 by @takase1121 in #1676
- feat(process): allow commands and envs on proces_start by @takase1121 in #1477
- Use
\r\n
for new files on Windows by @Guldoman in #1596 - Expose plaintext syntax by @Guldoman in #1652
- fix nagbar failed save message by @thacuber2a03 in #1678
- turn window_renderer into managed pointer by @Jan200101 in #1683
- v2.1.2 by @takase1121 in #1695
- Fix doc:create-cursor-previous/next-line with tabs by @vqns in #1697
- Memory fixes by @CosmicToast in #1705
- Improve number highlighting for python syntax highlighting in #1704
- reorder nagview options on doc:save error by @vqns in #1696
- Fix autoreload crash / error by @vqns in #1698
- language_js: support binary and octal representation by @takase1121 in #1710
- process: style changes by @takase1121 in #1709
- comment typo in data/core/init.lua by @SwissalpS in #1549
- add system.setenv by @CosmicToast in #1706
- v2.1.3 by @takase1121 in #1712
- process: fix unitialized variables by @takase1121 in #1719
- readme: add minimum supported OSes by @takase1121 in #1711
- wasm cross file improvements by @takase1121 in #1660
- Add
.pyi
extension to python. by @PerilousBooklet in #1728 - Improve
autocomplete
suggestions box behavior by @Guldoman in #1734 - Improve
CommandView
andautocomplete
scroll behavior by @Guldoman in #1732 - Fix
language_js
regex/comment distinction by @Guldoman in #1731 - scripts: not hardcode MSYSTEM by @takase1121 in #1739
- Rectify
LICENSE
dates and owners by @Guldoman in #1748 - Add SerenityOS platform support by @Jan200101 in #1745
language_js
Add from symbol to support ESM by @kemzops in #1754- Limit
language_js
regex avoidance to numbers, and fix starting/*
comments by @Guldoman in #1744 - Fixed some typos in core.init by @PerilousBooklet in #1755
- Add Arduino syntax highlighting support alongside C++. by @PerilousBooklet in #1767
- Fix BufferSize in g_read for Windows by @andreivinca in #1722
- Skip patterns matching nothing in
tokenizer
by @Guldoman in #1743 - ci: fix missing permission for creating releases by @takase1121 in #1770
- Release v2.1.4 by @takase1121 in #1772
- build: fix dirmonitor backend selection by @Guldoman in #1790
- Generate release notes by @takase1121 in #1774
- api/system: fix newlines returned by get_clipboard by @takase1121 in #1788
- Change co_wait to co_await in language_cpp by @fgelm01 in #1800
- fix: avoid iterating over a changing table in
run_threads
by @Guldoman in #1794 - ci: fix typo in release note template by @takase1121 in #1801
- Update action dependencies by @takase1121 in #1724
- Update labeler config for new version by @Jan200101 in #1805
- ci: use latest macos images by @takase1121 in #1804
- Update macOS copyright notice by @takase1121 in #1815
- subprojects: update lua,pcre2,sdl2 by @takase1121 in #1812
- ci: dependabot updates by @takase1121 in #1814
- New macOS Installer background by @takase1121 in #1816
- improve number highlighting for c by @thacuber2a03 in #1752
- language_cpp: backport number highlighting from c by @takase1121 in #1818
- Add support for binary integer literals. by @fgelm01 in #1819
- Update language_python.lua by @Gaspartcho in #1723
- Update font scale on monitor scale change for
RENDERER
backend (macOS) by @Guldoman in #1650 - macos: support drag-and-drop and default file associations by @takase1121 in #1822
- Handle static constexpr in language_cpp by @fgelm01 in #1806
- Expand Process API by @adamharrison in #1757
- move window creation and management to Lua by @Jan200101 in #1751
- fix(dirmonitor): avoid calling the change callback multiple times in the same notification by @Guldoman in #1824
- fix(autoreload): wait a second before automatically reloading a file by @Guldoman in #1823
- core/rootview: fix dnd multiple folders into dock by @takase1121 in #1828
- fix(doc): convert
Doc:merge_cursors
parameter from "selection index" to table index by @Guldoman in #1833 - Fix window memory allocation bug. by @adamharrison in #1831
- core/doc: fix wrong table index in Doc:merge_cursors by @takase1121 in #1834
- refactor(mac): adapt
LITE_USE_SDL_RENDERER
scaling to new windowing system by @Guldoman in #1827 - Generate better release notes by @takase1121 in #1839
- Release v2.1.5 by @takase1121 in #1840
- (fix): passed missing core.window to set_window_mode call by @adamharrison in #1836
- language_cpp: add cuda syntax highlighting by @aia29 in #1848
- src/renwindow: correctly free texture and renderer by @takase1121 in #1850
- api/system: check if a window is created when firing DND events by @takase1121 in #1852
- macos: Add proper platform-specific icon by @kra-mo in #1844
- renderer: rewrite glyph cache by @takase1121 in #1845
- fix: avoid following symlinks in
common.rm
by @Guldoman in #1862 - Revert "fix: avoid following symlinks in
common.rm
" by @takase1121 in #1863 - Configurable statusview icon by @takase1121 in #1617
- Use lite-xl-build-box-manylinux by @takase1121 in #1877
- Removed draw asserts for window renderer by @adamharrison in #1878
- Add primary selection support by @Guldoman in #1729
- Added in keyboard shortcut tooltips for ToolbarView. by @adamharrison in #1880
- treeview: remove unused code by @Guldoman in #1895
- Implement logic for tracking active window by @Jan200101 in #1891
- remove lhelper script, build configuration and dependency support by @Jan200101 in #1906
- Refactor how arguments are handled in process.start() by @takase1121 in #1854
- Streamlined and simplified CI, and made it use lpm to install addons. by @adamharrison in #1649
- improve projectsearch by @thacuber2a03 in #1876
- Allow writing to hidden files on Windows by @takase1121 in #1653
- Add support for relative
require
s by @Guldoman in #1634 - Fix multi-type usage in delimited patterns by @Guldoman in #1740
- feat(core.emptyview): add name to emptyview by @takase1121 in #1569
- Add
inclusive
parameter toDoc:get_text
by @Guldoman in #1586 - Add
minimum_thumb_size
and{contracted,expanded}_scrollbar_margin
toScrollbar
by @Guldoman in #1589 - vendor lua wrap, include unicode patch by @Jan200101 in #1908
- build(deps): bump softprops/action-gh-release from 1 to 2 in the github-actions group by @dependabot[bot] in #1922
- Format renderer font scale code to be actually readable by @Jan200101 in #1921
- Update PCRE2 wrap by @Jan200101 in #1927
- Update FreeType2 wrap by @Jan200101 in #1935
- Update lua wrap by @Jan200101 in #1940
- fix appimage cd error and use static appimage runtime by @Samueru-sama in #1924
- use meson datadir as lite_datadir base by @Jan200101 in #1939
- convert unix style paths literals into meson path segments by @Jan200101 in #1938
- Fix multiple continuous release binaries by @takase1121 in #1948
- Remove install-dependencies.sh by @takase1121 in #1950
- Install plugins with lpm inside meson by @takase1121 in #1951
- generate metainfo release tag using git tags by @Jan200101 in #1923
- meson: reformat lua patch using git by @Jan200101 in #1965
- fix: scale font pixel size in
RENDERER
mode by @Guldoman in #1969 - allow
/
for path suggestions in all OSes by @thacuber2a03 in #1875 - New-File ending in slash creates new folder instead by @FloppyDisco in #1898
- check item type before creating input text by @FloppyDisco in #1904
- docview: prevent overscroll when DocView size is less than lh * 2 by @takase1121 in #1971
- process: do not return nil until process exited by @takase1121 in #1973
- fix: only allow backslash as path separator in Windows in
common.path_suggest
by @Guldoman in #1976 - ci: use tag name as artifact name by @takase1121 in #1977
- Revert "New-File ending in slash creates new folder instead (#1898)" by @Guldoman in #1975
- api/system: make stat() call consistent across platforms by @takase1121 in #1864
- process: call poll_process when getting returncode by @takase1121 in #1981
- Release: v2.1.6 and v2.1.7 by @takase1121 in #1984
- feat: add support for tab stops by @Guldoman in #1945
- Update CSS plugin to support more units by @pgmtx in #2010
- Add in missing #include. by @adamharrison in #2017
- common.sh: support OSTYPE == cygwin for MSYS2 by @takase1121 in #2028
- Project Rework by @adamharrison in #1455
- add a __tostring method to every object by @thacuber2a03 in #1534
- Better wasm support again by @takase1121 in #1779
- renderer: defer bitmap rendering when possible by @takase1121 in #1856
- renderer: pass errors via SDL_SetError by @takase1121 in #1919
- move dependency resolving into src meson by @Jan200101 in #1937
- fix: use current char to determine
col
inDocView:get_x_offset_col
by @Guldoman in #1946 - ci: add postrelease workflow to update docs and release winget packages by @takase1121 in #1983
- common: allow / and \ as PATHSEP on Windows when fuzzy matching files by @takase1121 in #1992
- fix: use correct charmap and glyphmap sizes by @Guldoman in #1999
- language_cpp: add back digit separators by @takase1121 in #2026
- syntax: warn against malformed patterns and disable them by @takase1121 in #2029
- Update InnoSetup files by @takase1121 in #1988
- balance computed directory list, remove recursive function invocation by @Jan200101 in #1991
- Debug builds for CI again by @takase1121 in #2051
- LTO by @takase1121 in #2049
- SDL3 port by @Jan200101 in #1756
- fix: don't go down the directory tree in
system.list_dir
by @Guldoman in #2059 - Modified mod-version for
welcome
. by @adamharrison in #2042 - add SDL App Metadata by @Jan200101 in #2068
- fix link for build instructions by @BlackSystemCoder in #2077
- replace memory functions with SDL equivalent by @Jan200101 in #2067
- build.sh: build SDL3 with CMake by @takase1121 in #2060
- Dirmonitor Fix: IN_IGNORE. by @adamharrison in #2044
- Added a manifest.json. by @adamharrison in #2043
- postrelease: ignore RC builds by @takase1121 in #2082
- language_lua: add files with
rockspec
extenstion by @ildar in #2083 - Made findfile update suggestions as more results come in. by @adamharrison in #2039
- Coroutine Process Fix by @adamharrison in #2099
- Updated windows server image for github runner. by @adamharrison in #2113
- Rearrange Plugin Loading and SDL Initialization by @adamharrison in #1881
- Blink Timer Optimization by @adamharrison in #2053
- Add Storage Class by @adamharrison in #1929
- Documentation for core.dirwatch by @takase1121 in #1565
- Improve folder drag-and-drop experience by @takase1121 in #1830
- Resolved some type-complaints that are detected by LuaLS by @sashabjorkman in #2120
- build(deps): bump the github-actions group with 2 updates by @dependabot[bot] in #2127
- feat: add SDL file picker by @Guldoman in #2072
New Contributors
- @dwillmer made their first contribution in #1289
- @jvoisin made their first contribution in #1296
- @pegvin made their first contribution in #1315
- @Meerschwein made their first contribution in #1323
- @Velosofy made their first contribution in #1333
- @Himura2la made their first contribution in #1331
- @vqns made their first contribution in #1338
- @Titousensei made their first contribution in #1314
- @SwissalpS made their first contribution in #1541
- @shreyas-a-s made their first contribution in #1548
- @Robert42 made their first contribution in #1593
- @thacuber2a03 made their first contribution in #1658
- @drmargarido made their first contribution in #1657
- @CosmicToast made their first contribution in #1705
- @PerilousBooklet made their first contribution in #1728
- @kemzops made their first contribution in #1754
- @andreivinca made their first contribution in #1722
- @fgelm01 made their first contribution in #1800
- @Gaspartcho made their first contribution in #1723
- @aia29 made their first contribution in #1848
- @kra-mo made their first contribution in #1844
- @dependabot[bot] made their first contribution in #1922
- @Samueru-sama made their first contribution in #1924
- @FloppyDisco made their first contribution in #1898
- @pgmtx made their first contribution in #2010
- @BlackSystemCoder made their first contribution in #2077
- @sashabjorkman made their first contribution in #2120
Full Changelog: v2.1.1...continuous