aboutsummaryrefslogtreecommitdiff
path: root/src/api/api.c
AgeCommit message (Collapse)Author
2024-06-25Rebase window creation and management to Lua (#108)Jefferson González
* move window creation and management to Lua (#1751) * remove scaling logic from font code for the time being its been hardcoded to 1 for the non SDL Renderer basewin setup, so nothing is lost for non MacOS users. will be revisited in the future when scaling is improved with SDL3 and moved into scripts. * remove unused window_renderer argument from font functions * move window logic to lua, pass window via argument * rename window creation functions `*_create`, `*_destroy`, add real init * Set active window when processing frame * get size directly from RenWindow, get active window size from renderer * correct reverted draw calls * fix window not reappearing on restart * add simple logic to persist the core window * fix style * add renwindow documentation * make windows hidden by default again * reorder ren_update_rects execution, add comment to note future work * Adapt code that calls system.win functions * Remove scale detection from start.lua * Trimmed spaces from renwindow docs * Enable darkmode on window creation and added min win size --------- Co-authored-by: Jan <sentrycraft123@gmail.com>
2023-08-09Added Mike Pall bitops library to non jit lua for consistencyjgmdev
2023-05-20Merged shared memory support from lite-xl/lite-xl#1486jgmdev
2023-05-20Merged encoding support from lite-xl/lite-xl#1161jgmdev
2023-05-20Merged threading support from lite-xl/lite-xl#830jgmdev
2023-05-20Merged LuaJIT support from lite-xl/lite-xl#880jgmdev
2022-05-11c core: fix extra utf8 build conflict on windowsjgmdev
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-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>
2021-09-24Removed font renderer.Adam Harrison
2021-06-18Merge reproc changes from dev.jgmdev
2021-06-02Add PCRE to support regular expressionsAdam
Use regular expressions instead of Lua patterns for find and replace editor commands. Syntax files can now use regex or Lua patterns as before keeping backward compatibility for plugins.
2019-12-28Initial commitrxi