8878 Commits

Author SHA1 Message Date
Colomban Wendling
2219ab720c Update Scintilla to version 3.7.3 2017-02-21 14:16:23 +01:00
Frank Lanitz
f096fa2163 Small update of German translation 2017-02-19 19:14:26 +01:00
Vasiliy Faronov
7347631563 Fix setting menu item labels dynamically
Fixes https://github.com/geany/geany-plugins/issues/462
2017-02-16 01:44:53 +03:00
Colomban Wendling
170ebf610f scintilla: Fix build with older GCC
Don't convert function pointer to non-function pointer.  This is
undefined behavior, and some older GCC don't like it.
2017-02-08 22:43:27 +01:00
Colomban Wendling
b0f71a1666 Merge branch 'Forkest/copy-items-nonlatin'
Work around incorrect keybinding handling with multiple layouts so
cut/copy/delete keybindings work via menuitem activation if we failed
to trigger the action ourselves.

Closes #1386.
2017-02-05 17:32:54 +01:00
Colomban Wendling
2c1a71ad2b Use :select/:deselect signals for consistency
Instead of having a handler on 2 separate objects, use :select and
:deselect on the same one.  Those signals are appropriate, as the
documentation mentions that submenus are popped up on :select.
2017-02-05 15:34:24 +01:00
Forkest
67d6562f20 Fix cut and copy actions in non-Latin keyboard layouts
Mark the associated menu items sensitive when the menu is hidden, so
that GTK's accelerator handling can trigger them.  This works around
incorrect handling in Geany's code of keybindings coming from multiple
layouts for cut/copy/delete actions.

Partial workaround for #998, #1286 and #1368.
2017-02-05 12:52:51 +01:00
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