9351 Commits

Author SHA1 Message Date
Colomban Wendling
0df7d5a03a scintilla: Prevent running signal handlers on a destroyed a11y object
Avoid crash when detaching the widget from the accessible object
without destroying that widget.

In such situations, the widget is still valid but we will have
destroyed the orphaned accessible object.  Thus, we must make sure we
disconnected the signal handlers the late accessible had set up on the
widget, as they won't be implicitly disconnected by widget
finalization in this case.

Fixes #1385.
2017-02-02 14:42:38 +01:00
Robert Antoni Buj Gelonch
38d59835db Update Catalan translation (#1375) 2017-01-24 09:38:15 +01:00
Colomban Wendling
00a3aef94d Merge pull request #1361 from Akronix/keywords-js.filetypes
Updated filetypes.javascript keywords
2017-01-23 14:10:45 +01:00
Abel 'Akronix' Serrano Juste
c6984699d3 Removed 'alert' from secondary keywords since it depends on a DOM environment 2017-01-14 21:26:36 +01:00
Colomban Wendling
59935a3579 Merge pull request #1356 from b4n/snippets-keybindings-signature
Fix snippets keybindings not blocking handled events
2017-01-12 19:39:42 +01:00
Abel 'Akronix' Serrano Juste
c328051382 Some adjustmenys in javascript keywords: Deleted 'each' from secondary keywords 2017-01-11 23:18:38 +01:00
Abel 'Akronix' Serrano Juste
6fad4c017c Updated js keywords with ES6 2017-01-11 23:05:05 +01:00
Colomban Wendling
1724bab3b8 scripts/github-news: Fix issues link
Closes #1360.
2017-01-11 14:32:37 +01:00
Colomban Wendling
d4a35947d3 Fix snippets keybindings not blocking handled events
Fix signature of the snippets keybindings callback, properly blocking
further propagation of handled events thus avoiding possibly activating
another action (like a builtin Scintilla keybinding).

Fixes #1354.
2017-01-09 14:42:20 +01:00
Colomban Wendling
43b7982b2e Merge pull request #1350 from kugel-/for-upstream
api: rework GeanyProxyProbeResults compat symbols as defines
2017-01-09 14:18:16 +01:00
Frank Lanitz
4780b2a827 Update of German translation 2017-01-06 14:52:50 +01:00
Colomban Wendling
c914598dba Update Scintilla to version 3.7.2 2016-12-31 16:28:00 +01:00
Enrico Tröger
16ea1d35a6 Fix file names of generated tags files for C, PHP and Python 2016-12-28 23:20:47 +01:00
Enrico Tröger
59f080d058 Update tags and filedefs path references in scripts
This is a follow-up of #485.
2016-12-28 22:59:46 +01:00
Thomas Martitz
129389c75b api: rework GeanyProxyProbeResults compat symbols as defines
Constants with different namespace in the same enum confuse g-ir-scanner.
2016-12-28 00:39:35 +01:00
Colomban Wendling
cad224d204 Merge pull request #1280 from b4n/current-scope
Fix the current scope shown in the statusbar
2016-12-22 13:54:16 +01:00
Colomban Wendling
19af3caa73 Fix the current scope shown in the statusbar
Since the Scintilla C++ lexer started to fold on `()` [1], the code
looking up the current scope is confused whenever the function
signature spans multiple lines.  Fix this by skipping fold levels that
correspond to parentheses.

Fixes #1279.

[1] https://sourceforge.net/p/scintilla/feature-requests/1138/
    imported in 24f91981c057a7e212c09da66fb974c3ccc85bd6
2016-12-22 13:52:12 +01:00
Colomban Wendling
a8bc890541 Merge branch 'scintilla/accessible-fixes'
Fix some various issues with accessibility code in Scintilla.
2016-12-20 21:47:51 +01:00
Colomban Wendling
07c665197f GTK: Ensure styles are valid when retrieving them for accessibility purposes 2016-12-20 21:45:29 +01:00
Colomban Wendling
a31a43efe1 GTK: Fix reporting deletion length in the accessible
We cannot compute the length in characters after the text has been
deleted, so we need to compute it in BEFOREDELETE.  However, we need to
emit the signal once the buffer has actually changed, so we need to
cache the value in-between those events.
2016-12-20 21:45:29 +01:00
Colomban Wendling
745d15de2e GTK: Fix off-by-one error in accessible attribute runs 2016-12-20 21:45:29 +01:00
Colomban Wendling
2f327b767b GTK: Fix accessible object lifetime on GTK < 3.8 2016-12-20 21:45:29 +01:00
Colomban Wendling
407cb36ceb GTK: Add some documentation on accessible object reference ownerships 2016-12-20 21:45:29 +01:00
Colomban Wendling
9fdb014b07 javascript: Partial highlighting of ES6 template strings
This doesn't support nested templates or escaped `es, but at least
handles the most obvious cases for now.

Part of #934.
2016-12-18 17:38:37 +01:00
SukkoPera
21b37f553f Add Arduino custom filetype
Closes #1339
2016-12-16 02:55:35 -08:00
tsvisimcha
9573a3886d Update HACKING (#1340) 2016-12-16 09:27:00 +01:00
Colomban Wendling
3ddea9c3ae Update NEWS for Scintilla 3.7.1
It actually introduces a few new things worth mentioning.
2016-12-10 11:31:50 +01:00
Colomban Wendling
aa11c3ea48 Update Scintilla to version 3.7.1 2016-12-05 14:23:34 +01:00
Frank Lanitz
cdd12cfaeb Update NEWS for recent Lithuanian translation update 2016-11-23 18:26:20 +01:00
Frank Lanitz
5425e308bc Merge branch 'master' of git://github.com/zygimantus/geany 2016-11-23 18:23:18 +01:00
zygimantus
62a2294a00 Lithuanian translation changes 2016-11-22 23:05:20 +02:00
Chris Pilkington
b29a973217 Grammar "and the end of lines" -> "at the end of lines" (#1307) 2016-11-18 02:25:03 +01:00
Frank Lanitz
8330c68a29 Fix a small grammatical issue 2016-11-18 02:23:50 +01:00
Colomban Wendling
0d29e1b8de Update making-a-release to mention new scripts 2016-11-13 19:06:55 +01:00
Colomban Wendling
26c0d6266e Add a script to set the release date 2016-11-13 19:04:37 +01:00
Colomban Wendling
a4990e9da5 Add a script to make the version bump 2016-11-13 19:04:18 +01:00
Colomban Wendling
5241f40dcf Add a script to convert NEWS to GitHub release format 2016-11-13 18:15:45 +01:00
Colomban Wendling
a0449320b7 Post release version bump
Say hello to Geany 1.30 "Calron"!
2016-11-13 18:03:47 +01:00
Colomban Wendling
a249866d06 Set release date 2016-11-13 16:43:45 +01:00
Enrico Tröger
e3b7421477 Update NEWS for Windows related changes 2016-11-13 16:35:36 +01:00
Colomban Wendling
5f879126ce Merge pull request #1095 from eht16/issue1076_win32_build_working_dir_locale
Windows: Improve executing external commands on non-ASCII paths,
effectively fixing most known issues.
2016-11-13 16:29:43 +01:00
Enrico Tröger
156c64b36c Merge pull request #1301 from eht16/issue1229_win_grep_from_msys2
Use pre-compiled 'grep' binary from MSYS2 on Windows
2016-11-13 15:12:59 +00:00
Enrico Tröger
b9605ee02e Windows: install and remove new run script helper in the installer 2016-11-13 14:55:43 +01:00
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