lite-xl/src
Takase 7111b8a6c9 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-26 13:16:33 +00:00
..
api feat(process): allow commands and envs on proces_start (#1477) 2023-12-26 13:16:33 +00:00
bundle_open.m Takes kivutar's changes into account, cleaning things up slightly. 2021-12-15 20:31:24 -05:00
dirmonitor.o innosetup changes 2023-01-08 20:52:15 +00:00
main.c Set SDL hint to prefer software render driver (#1646) 2023-12-26 13:16:33 +00:00
meson.build Add manifest on Windows (#1405) 2023-08-07 14:50:58 +01:00
rencache.c Use x offset to define render command rect in `rencache_draw_text` (#1618) 2023-12-26 13:16:33 +00:00
rencache.h Attach command buffer to Renderer Window (#1472) 2023-08-07 14:50:59 +01:00
renderer.c Use x offset to define render command rect in `rencache_draw_text` (#1618) 2023-12-26 13:16:33 +00:00
renderer.h Use x offset to define render command rect in `rencache_draw_text` (#1618) 2023-12-26 13:16:33 +00:00
renwindow.c Scale mouse coordinates by window scale (#1630) 2023-12-26 13:16:33 +00:00
renwindow.h Scale mouse coordinates by window scale (#1630) 2023-12-26 13:16:33 +00: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