lite-xl/src
Takase 311651333a
feat(process): allow commands and envs on proces_start (#1477)
* feat(process): allow commands and envs on proces_start

* refactor(process): copy process arguments once whenever possible

Refactors the code to use an arglist type which is just lpCmdline on Windows
and a list in Linux.
The function automatically escapes the command when it is needed, avoiding
a second copy.

This also allows UTF-8 commands btw.

* fix(process): fix invalid dereference

* refactor(process): mark xstrdup as potentially unused

* feat(process): add parent process environment when launching process

* fix(process): fix operator precedence with array operators

* fix(process): fix segfault when freeing random memory

* fix(process): fix wrong check for setenv()

* fix(process): fix accidentally initializing an array by assignment

* fix(process): clear return value if success
2023-12-01 10:12:16 +08:00
..
api feat(process): allow commands and envs on proces_start (#1477) 2023-12-01 10:12:16 +08:00
bundle_open.m Takes kivutar's changes into account, cleaning things up slightly. 2021-12-15 20:31:24 -05:00
main.c Remove DPI detection for default `SCALE` 2023-10-16 12:04:37 +08:00
meson.build Add manifest on Windows (#1405) 2023-08-19 12:38:34 +08:00
rencache.c Use x offset to define render command rect in `rencache_draw_text` (#1618) 2023-11-30 11:45:25 +08:00
rencache.h Attach command buffer to Renderer Window (#1472) 2023-08-19 13:29:05 +08:00
renderer.c Use x offset to define render command rect in `rencache_draw_text` (#1618) 2023-11-30 11:45:25 +08:00
renderer.h Use x offset to define render command rect in `rencache_draw_text` (#1618) 2023-11-30 11:45:25 +08:00
renwindow.c Scale mouse coordinates by window scale (#1630) 2023-11-30 11:27:08 +08:00
renwindow.h Scale mouse coordinates by window scale (#1630) 2023-11-30 11:27:08 +08:00
unidata.h Update unidata to version 15.0 (#1122) 2022-09-19 21:27:54 -04:00
utfconv.h fix utfconv.h duplicate functions 2022-11-14 21:59:32 +08:00