8928 Commits

Author SHA1 Message Date
Enrico Tröger
d61b92f202 Revert "Implement the run helper as a script" on non-Windows
This restores the previous behavior as it has been on non-Windows
systems before.
Post-1.29 we will merge #1300 which implements run helper script support
for non-Windows systems more sophisticated.
2016-11-13 14:55:43 +01:00
Colomban Wendling
f1f577ea72 spawn: Don't depend on utils.h, and fix locale compat on Windows
utils_get_utf8_from_locale() is actually a no-op on Windows, so use the
GLib conversion directly.  We really mean locale here, not "filename
encoding".
2016-11-13 14:55:42 +01:00
Colomban Wendling
1d5d4e278a Implement the run helper as a script
Apparently using arguments instead of putting paths directly in the
script is enough for it to work on Windows, so use a simple script
instead of a program, so it's both shorter and easier to tune.
2016-11-13 14:55:42 +01:00
Colomban Wendling
265e27a7f3 Use a program run helper rather than a script
This removes all encoding issues from passing on a script to cmd.exe on
Windows, as it now uses proper wide character API there.

Not much changes on other OSes, but we don't create temporary scripts
anymore.
2016-11-13 14:55:41 +01:00
Colomban Wendling
a45091413a spawn: Use Wide API on Windows
Try and use Unicode variants of the Windows process creation API in
order to support filenames (and possibly environment) outside the
locale codepage.

WARNING: Implications on using Unicode environment are unknown.
It might affect the called process, or not, not sure.
2016-11-13 14:55:40 +01:00
Enrico Tröger
26adcabd69 Windows: Convert generated batch script into system codepage
Instead of fiddling with the "chcp" command in the generated batch
script on Windows, convert the whole script content into the system
codepage before executing it.
2016-11-13 14:55:40 +01:00
Enrico Tröger
127e94199b Windows: Convert working directory into locale encoding before spawning commands
The working directory is passed in in UTF-8 encoding but Windows API expects
locale encoding here, so convert it.

Fixes #1076.
2016-11-13 14:55:39 +01:00
Enrico Tröger
973a721574 Use pre-compiled 'grep' binary from MSYS2 on Windows
This drops the self-compiled 'grep' version which caused issues
with recursive searches on Windows as well as with non-ASCII
characters in paths.
The pre-compiled 'grep' binary from MSYS2 (matching the target ABI)
seems to solve probably all of the known problems on Windows.
The only drawback is that we need to ship a few additional MSYS2
libraries on which the 'grep' binary depends.

Closes #1229 and #1260.
2016-11-13 14:24:17 +01:00
Frank Lanitz
88137b9b08 Update of German translation 2016-11-13 13:35:46 +01:00
Frank Lanitz
fdd9768978 Fix a little inside NEWS 2016-11-13 13:33:16 +01:00
Frank Lanitz
a74a6af257 Another small update of Dutch translation 2016-11-12 17:19:40 +01:00
Frank Lanitz
2e97ec493e Update of Greek translation 2016-11-11 09:22:20 +01:00
Frank Lanitz
16760235bd NEWS: Update updates translations 2016-11-07 17:32:31 +01:00
Frank Lanitz
0890d74b0e Update of Spanish translation 2016-11-07 17:32:31 +01:00
Peter C. S. Scholtens
5753b3c15d Update of Dutch transation. (#1289)
* Update of Dutch transation.

* Update nl.po
2016-11-07 17:17:10 +01:00
柳东原 LIU Dongyuan
42a9098959 Update zh_CN translation (#1292) 2016-11-07 17:15:06 +01:00
Andrej Herceg
5136593724 Update of Slovak translation (#1291) 2016-11-05 23:50:50 +01:00
Abel Serrano Juste
e1450f5dea Updated spanish translation es.po (#1288) 2016-11-03 08:15:46 +01:00
Colomban Wendling
b9c8abb4b8 Small NEWS updates 2016-11-01 11:23:11 +01:00
Colomban Wendling
743e30ddea Merge pull request #1181 from b4n/vte-2.91
Support for VTE 2.91
2016-11-01 11:10:25 +01:00
Giuseppe
96b11092f7 updated it.po (#1285) 2016-11-01 08:45:51 +01:00
Baurzhan Muftakhidinov
ac5c261c0b Update Kazakh translation. (#1284) 2016-10-31 10:00:43 +01:00
Bervianto Leo Pratama
3d6524ea90 Update Indonesian Translation (#1283)
"kata" should not in there.
2016-10-31 09:58:18 +01:00
Frank Lanitz
689f32e861 Update of Portuguese translation 2016-10-30 18:13:03 +01:00
Frank Lanitz
869457377e Added es as updated translation 2016-10-30 13:01:22 +01:00
FabianInostroza
02cd961edd Better translation. (#1242) 2016-10-30 12:59:13 +01:00
Frank Lanitz
6db87912c6 Add update trnaslations 2016-10-30 12:56:18 +01:00
Frank Lanitz
805fee50ea Fix some typos in Catalan translation.
This is based upon PR #1273 but ported manually.
2016-10-30 12:55:02 +01:00
Frank Lanitz
41102a6c2e i18n: Indonesian seems to only have one plural form 2016-10-30 12:47:31 +01:00
Frank Lanitz
93ab56fd78 i18n: Adding plural form definition for Indonesian 2016-10-30 12:45:25 +01:00
Frank Lanitz
879249b638 Update Indonesian translation 2016-10-30 12:43:09 +01:00
Bervianto Leo Pratama
9bb459d53e Update id.po 2016-10-30 16:33:11 +07:00
bervianto
fb081f7732 update id.po 2016-10-30 23:08:14 +07:00
bervianto
4695f6f2aa rebase 2016-10-30 23:05:20 +07:00
bervianto
5b588f67b5 Update id.po 2016-10-30 23:02:23 +07:00
Bervianto Leo Pratama
38d2fb9df1 Improvement Indonesian Translation
Change with kata baku in Indonesia
2016-10-30 15:04:42 +07:00
Bervianto Leo Pratama
361642b7b5 Update id.po 2016-10-30 15:04:42 +07:00
Bervianto Leo Pratama
5056a855b3 Update id.po 2016-10-30 15:04:42 +07:00
Bervianto Leo Pratama
ee16fdca50 Update id.po 2016-10-30 14:55:29 +07:00
Frank Lanitz
af79e6bb5d Update po files in preperation of 1.29 cycle 2016-10-29 20:38:27 +02:00
Colomban Wendling
638b999e8e Update NEWS for recent items 2016-10-29 17:11:55 +02:00
Matthew Brush
b7839a6e42 Add "project-before-close" signal to API
Closes #1223.
2016-10-29 16:58:37 +02:00
Colomban Wendling
b0cb8440b1 VTE: Respect GTK setting for whether to show the IM method menu 2016-10-29 16:28:21 +02:00
Colomban Wendling
6cdb1842be VTE: Remove support for background image
It's a more than questionable feature that was dropped in VTE 2.91, so
remove it altogether instead of conditionally supporting it.
2016-10-29 16:12:32 +02:00
Colomban Wendling
16e90968c7 VTE: add VTE 2.91 DSO names 2016-10-29 16:09:04 +02:00
Colomban Wendling
f4b4f2b540 VTE: Don't hard-require vte_terminal_im_append_menuitems()
VTE 2.91 dropped it, and it seems that recent GTK3 doesn't have IM
context menu entries in input field's popups anymore anyway.
2016-10-29 16:09:04 +02:00
Colomban Wendling
65710c526a VTE: Add support for 2.91 GdkRGBA API variant
The 2.91 API switched from GdkColor to GdkRGBA, but kept the same
function names, so we need to detect this version and wrap the affected
API to convert our GdkColors to GdkRGBAs.
2016-10-29 16:09:04 +02:00
Colomban Wendling
65e2c7cb05 VTE: don't hard-require vte_terminal_set_word_chars()
VTE 0.38 removed it, so only use it when available.  With >= 0.40,
use vte_terminal_set_word_char_exceptions() instead.
2016-10-29 16:09:04 +02:00
Colomban Wendling
5c757d9ec2 VTE: add debugging info to known which library was actually loaded 2016-10-29 16:09:04 +02:00
Colomban Wendling
079fe58ce9 VTE: add support for vte_terminal_spawn_sync()
VTE 0.38 removed vte_terminal_fork_command() in favor of the new
vte_terminal_spawn_sync(), so add support for this.
2016-10-29 16:09:04 +02:00