1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-08-06 08:10:25 +00:00
QB64-PE/internal/c/parts
Matthew Kilgore c945214cb8 Fix quoting of arguments to dialog functions on Linux
tinyfiledialogs had lots of issue surounding the quoting of the
arguments to the dialog functions. The arguments are effectively placed
verbadim into shell commands, and without any proper treatment they
would get accidentally evaluated by the shell, which is a big problem.
Additionally, any arguments containing quotes would just not work since
they would screw up the underlying shell command.

This change fixes all that for Linux. Every argument to the dialog
functions is now surrounded in single quotes, which prevents any
evaluation of the string by the shell. Additionally, because this is
standard the only chracters that need special treatment are the single
quote characters, and proper escaping for them has been added. The
result is that the dialog functions can now accept arguments that hvae
single and double quotes in them (on Linux).
2022-11-05 00:36:48 -04:00
..
audio Move qbs_new_txt_len() declaration to libqb.h 2022-10-23 18:23:35 +05:30
core Remove old build system 2022-05-19 09:17:13 -04:00
gui Fix quoting of arguments to dialog functions on Linux 2022-11-05 00:36:48 -04:00
input/game_controller Fix compilation with DEP_DEVICEINPUT 2022-06-09 21:30:37 -04:00
network (Automated push) Update internal/source/* from qb64.bas 2015-08-02 05:12:44 -07:00
video Fix common dialogs build.mk bug 2022-10-23 22:44:39 +05:30
zlib Format other various source files 2022-05-06 13:20:30 -04:00