13 Commits

Author SHA1 Message Date
Seth Hillbrand
e18fc36646 wxT rework for common directory 2022-02-04 16:24:50 -08:00
Mikolaj Wielgus
6d9456ea4d Fix opening files with spaces on Linux
`wxLaunchDefaultApplication()` fails on files with spaces on Unix
systems due to a programmer error. This is fixed in newer wxWidgets
versions, so let's backport it as a workaround.
2021-11-07 14:31:14 +00:00
Jeff Young
1f19c41c29 Support printing of kicad_dru files. 2021-10-15 12:45:43 +01:00
Jeff Young
8a8775bed8 Remove another use of non-argv wxExecute
(Fixes supplied by mwielgus.)
2021-10-15 12:45:43 +01:00
Seth Hillbrand
9e72c3b38d Don't add quotes for LaunchExternal in 3.0 either
The quotes do not work in GTK 3.0.5.  Since GTK is the only platform we
have left running 3.0, we can remove this.
2021-09-29 16:19:49 -07:00
Mikolaj Wielgus
adafb15126 Remove LaunchURL()
Unused and insecure.

Related to https://gitlab.com/kicad/code/kicad/-/issues/9236
2021-09-28 22:39:18 +02:00
Jeff Young
c6bcb85562 Excise system() calls.
Fixes https://gitlab.com/kicad/code/kicad/issues/9236
2021-09-25 20:09:06 +01:00
Seth Hillbrand
c088de5f75 Fix compile issues on non-mac 2021-09-19 08:41:10 -07:00
Jeff Young
062c4fda62 More error message regularization (and translatability improvements). 2021-06-28 00:45:24 +01:00
Marek Roszko
0e16db0c25 Kick wx.h mostly out of common 2021-06-07 18:38:52 -04:00
jean-pierre charras
aee23e991c Fix not working LaunchExternal() on Linux on wxWidgets 3.1.4
Adding quotes breaks the path actually used to run the browser.
However they are needed on wxWidgets 3.0
2020-12-29 10:29:54 +01:00
Jon Evans
80233aece9 Fix URL launching on MacOS 2020-02-22 09:47:51 -05:00
Jon Evans
dc75c2b800 Factor out utility to launch a given file or folder 2020-02-20 22:07:17 -05:00