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