8936 Commits

Author SHA1 Message Date
Colomban Wendling
6f692112e3 C: Fix line continuation handling (#1370)
Escaped newlines were properly handled inside preprocessor directives,
but not otherwise.

Seeing `continue` here suggests the code used to work a long time ago
but some loop refactoring broke it, as now it would not stay in the
loop unless in a preprocessor directive.  Or maybe it only ever worked
for preprocessor directives, and the `continue` was superfluous?

Fixes #1370.
2017-04-20 16:57:02 +10:00
Jiří Techet
2707006286 Fix crash when plugin_set_key_group() is called several times by plugins (#1426)
When plugin calls plugin_set_key_group() several times for the same
group (when creating keybindings dynamically and needs to reset them),
it crashes with the current code the second time it gets called.

The reason is that group->plugin_keys is an array into which entries of
group->key_items point and when calling

g_ptr_array_set_size(group->key_items, 0);

it calls free_key_binding() for every item - when these items are
deallocated by g_free(group->plugin_keys) previously, calls of
free_key_binding() reference an invalid memory.

Just first resizing group->key_items (and calling free_key_binding() for
its items) and freeing group->plugin_keys afterwards fixes the problem.
2017-04-15 20:48:03 +10:00
Nick Treleaven
5539c3f908 Update status bar after clicking detect indent type menu item 2017-04-12 09:05:56 +01:00
Baurzhan Muftakhidinov
2386153df4 Fix the typo in Kazakh translation (#1447) 2017-03-27 17:37:16 +02:00
Robert Antoni Buj Gelonch
d34ebce039 Update Catalan translators (#1440) 2017-03-22 11:18:16 +01:00
A. Tombs
33762f5225 Add parfor to Matlab keyword list (#1021)
Add parfor to Matlab keyword list

Add `parfor` to the list of keywords to be highlighted in Matlab script sources. `parfor` is a Matlab keyword that can be used in place of `for` to achieve parallel processing.
2017-03-22 10:06:47 +10:00
Robert Antoni Buj Gelonch
06f70e5b78 Catalan translation: use unique accelerator keys for menus (#1434) 2017-03-19 18:58:51 +01:00
Frank Lanitz
6e1a1633b5 Update bugtracker URL to github 2017-03-19 18:57:38 +01:00
Frank Lanitz
4f388e515c Backmerge bugfix release branch 1.30 from 1.30.1 to master 2017-03-19 18:52:45 +01:00
Colomban Wendling
46812c47fb Fix scripts/set-release-date when LC_TIME is set
We actually need to override LC_TIME if it is set, so use LC_ALL which
overrides everything rather than LANG that is used as a fallback.
2017-03-19 18:20:53 +01:00
Colomban Wendling
a1929f1c80 Set release date 2017-03-19 18:16:55 +01:00
Frank Lanitz
0dd13069a0 Merge pull request #1433 from b4n/po/copyright-years
Fix copyright years translations
2017-03-18 20:55:31 +01:00
Colomban Wendling
79f9a716c2 Unfuzzy strings that were only marked as such because of years update 2017-03-18 20:17:47 +01:00
Colomban Wendling
def32abfed Fixup copyright years translations 2017-03-18 20:02:49 +01:00
Colomban Wendling
1aa82c3e6e Add a script to fixup copyright years translations 2017-03-18 20:02:45 +01:00
Frank Lanitz
aada81e8ca Update NEWS and cleanup a unneeded fuzzy string inside Catalan translation 2017-03-18 17:44:52 +01:00
Robert Antoni Buj Gelonch
231e29c79e Update Catalan translation (#1432) 2017-03-18 17:43:12 +01:00
Robert Antoni Buj Gelonch
be91746d7e Update Catalan translation (#1432) 2017-03-18 17:42:34 +01:00
Frank Lanitz
28b046722a Update NEWS for 1.30.1 for backported translations 2017-03-17 23:05:19 +01:00
Frank Lanitz
6e0e6a4aab Update of Greek translation 2017-03-17 23:01:09 +01:00
Frank Lanitz
b4eb662b82 Small update of German translation 2017-03-17 23:00:56 +01:00
Frank Lanitz
8d88401292 Update of Spanish translation 2017-03-17 23:00:46 +01:00
Andrej Herceg
ec1bde008d Update of Slovak translation (#1424) 2017-03-17 23:00:32 +01:00
Colomban Wendling
420c109609 Update NEWS 2017-03-17 20:44:06 +01:00
Colomban Wendling
03ee2e2b00 GTK: Fix popup positioning on monitors not positioned at 0,0
Fixes #1422.

X-Scintilla-Bug-URL: https://sourceforge.net/p/scintilla/bugs/1920/
X-Scintilla-Commit-ID: 8e0cb37c4972cd66b33293b88031acf453685cfd
2017-03-17 20:20:42 +01:00
Colomban Wendling
2414029727 Bump version in preparation for 1.30.1 2017-03-17 20:19:56 +01:00
Frank Lanitz
ffb71f95b3 Update of Greek translation 2017-03-17 15:56:00 +01:00
Colomban Wendling
7514212d32 GTK: Fix popup positioning on monitors not positioned at 0,0
Fixes #1422.

X-Scintilla-Bug-URL: https://sourceforge.net/p/scintilla/bugs/1920/
X-Scintilla-Commit-ID: 8e0cb37c4972cd66b33293b88031acf453685cfd
2017-03-17 13:59:48 +01:00
Frank Lanitz
2a2b8d11b8 Small update of German translation 2017-03-15 15:42:04 +01:00
Frank Lanitz
709acc0be2 Update of Spanish translation 2017-03-13 10:52:31 +01:00
Andrej Herceg
994cb4797d Update of Slovak translation (#1424) 2017-03-06 20:01:24 +01:00
Colomban Wendling
3303bde758 Post release version bump
Say hello to Geany 1.31 "Trevin"!
2017-03-05 16:17:03 +01:00
Colomban Wendling
a15dcc3b71 Finish updating NEWS 2017-03-05 15:12:53 +01:00
Colomban Wendling
119f05e5e2 Small update of the French translation 2017-03-05 14:40:26 +01:00
Enrico Tröger
7ccd37bd04 Update NEWS preparing for next release 2017-03-05 14:37:39 +01:00
Enrico Tröger
5a7a308ada Set release date 2017-03-05 14:00:43 +01:00
Frank Lanitz
344de2d442 Remove faulty empty lines 2017-03-05 13:42:38 +01:00
Enrico Tröger
fc6f3ffebe Update copyright years 2017-03-05 13:27:15 +01:00
Frank Lanitz
3838a0800e There was also an it.po update for 1.30 2017-03-05 12:42:01 +01:00
Giuseppe
94620f4450 updated it.po (#1405) 2017-03-03 23:50:22 +01:00
elextr
cc7f7f7164 Merge pull request #1406 from kugel-/for-upstream
api: new function geany_api_version for dynamic languages checking API version at runtime
2017-03-03 21:00:27 +10:00
Frank Lanitz
8001086ba5 Fix po creation time meta data 2017-03-02 12:30:13 +01:00
Frank Lanitz
a32ee97760 Set language metadata in header of some po files 2017-03-02 12:28:17 +01:00
Colomban Wendling
b7900b3f05 Merge pull request #1399 from techee/osx_start
Avoid gdk_display_get_name() on OS X
2017-02-27 18:09:59 +01:00
Colomban Wendling
3b105ec827 Merge pull request #1404 from b4n/search/gtk-3-20-history
Fix search history filling on GTK >= 3.20
2017-02-27 14:18:50 +01:00
Colomban Wendling
6d0062201e Scintilla: speed up converting byte offsets to character offsets
Use a per-line cache to avoid re-computing the offset from the start of
the buffer each time. This dramatically speeds up multiple replacements
on large files.

X-Scintilla-Bug-ID: https://sourceforge.net/p/scintilla/bugs/1910/
2017-02-27 14:16:20 +01:00
Colomban Wendling
b07c8b01c0 Merge branch 'scintilla/update-373'
Update Scintilla to version 3.7.3 plus a fix for a regression on it.

Closes #1320.
2017-02-26 20:24:13 +01:00
Colomban Wendling
1421a3f9c5 scintilla: Fix crash after destroying the widget on GTK < 3.3.6
On GTK2 and GTK3 < 3.3.6 there is no GtkAccessibleClass::widget_unset()
method, so we can't destroy our accessible object right away.  So, to
avoid accessing a destroyed widget, we need to check whether the widget
still exists in the the ScintillaGTKAccessible destructor.

In other methods it's not necessary because the wrapping GObject class
makes sure not to forward other when the widget has been destroyed, but
we still have to destroy the C++ instance no matter what, so the check
has to be on this side.

Fixes #1410.
2017-02-26 20:07:33 +01:00
Frank Lanitz
df05fc8712 Update NEWS 2017-02-26 12:07:15 +01:00
Frank Lanitz
7125769d54 Update NEWS 2017-02-26 12:04:33 +01:00