7972 Commits

Author SHA1 Message Date
Colomban Wendling
3bd7c80776 Replace references to GTK2 with GTK+
This allows to be GTK version agnostic, not to single out GTK3 builds.
2015-07-10 22:58:48 +02:00
Colomban Wendling
cea34734c4 Update NEWS 2015-07-08 18:39:53 +02:00
Colomban Wendling
96d5eec50f Merge pull request #544 from b4n/cxx11-override
c++: Properly parse C++11 overrides, finals and noexcepts
2015-07-08 18:04:05 +02:00
Colomban Wendling
c5b86474ad Merge pull request #539 from kugel-/win32-fix
Win32 Autotools build and installer fixes.
2015-07-07 17:34:43 +02:00
Thomas Martitz
71ce7c077d win32: Add some window-specifc LDFLAGS to geany itself as well
Since we build libgeany some ld flags were applied to libgeany only.
Some of them need to be applied to the main binary as well.

This fixes the problem that a sticky terminal window starts together
with geany.
2015-07-05 18:28:20 +02:00
Thomas Martitz
9224c3c391 win32: run geany.nsi.in through automake to replace @GTK_VERSION@ variable
This automatically keeps the installer's idea of Gtk version with the one
used to compile geany in sync.

Traditionally we use the bundles from gtk.org to compile geany, and this
is also used for the installer. With msys2, we can use precompiled
msys2 binaries. These exist for GTK3 as well so we can actually provide a
GTK3 based installer. The installer naturually should reflect this.
Msys2's GTK2 is also newer.

Use the new script gtk-bundle-from-msys2.sh to extract the precompiled
GTK binaries from msys2 / pacman for packing the installer (can also be
used to make a zip for sharing).

mkdir gtk; cd gtk; ../scripts/gtk-bundle-from-msys.sh [-c] [-z] [-2 | -3]

waf is also adapted to process geany.nsi.in. This implies geany.nsi is now
under _build_, not in the root anymore.
2015-07-05 18:28:09 +02:00
Thomas Martitz
2e76e3792e win32: port some defines from win32-config.h & waf to a new win32defines.h
autotools based build system uses only config.h. This file was lacking some
important defines. Rather than maintaining the defines in all build systems,
we can simply define in a specialized header that is included by all .c files
that use windows.h
2015-07-05 18:25:24 +02:00
Thomas Martitz
ba80af0822 win32: install a few more files needed by the installer 2015-07-05 18:25:24 +02:00
Colomban Wendling
6ebf90ad1d Add an explicit entry about libgeany in the NEWS 2015-07-05 02:04:22 +02:00
Colomban Wendling
43a76923db Fix a small inconsistency in the French translation
In the VTE, the "Input Method" string mimics a GTK string, so use the
same translation as GTK.
2015-07-04 18:44:39 +02:00
Enrico Tröger
4017442f86 Merge pull request #477 from eht16/ctags_powershell
Add PowerShell tag parser
2015-07-04 12:52:46 +02:00
Enrico Tröger
a90b99b968 Merge pull request #540 from kugel-/win32-plugindir
win32: change default plugin dir to match Linux.
2015-07-04 12:29:22 +02:00
Thomas Martitz
0b4228b94c win32: change default plugin dir to match Linux.
There is no need to do it differently as Linux here, and it confuses the
autotools based compilation of geany-plugins which installs to libdir/geany
unconditionally.
2015-07-01 23:41:37 +02:00
Colomban Wendling
aa40250fda Fix invalid memory access when quitting
When quitting and the prefs dialog has been created, the StashPrefs are
destroyed before the stash tree and so the stash tree cleanup code
accesses freed memory.  Fix this by removing access to the StashPref in
the tree cleanup code, as fixing it properly is a bit of a mess.

Closes #538.
2015-07-01 23:03:38 +02:00
Enrico Tröger
11d0d54552 Merge pull request #519 from techee/cxx_o2
Add -O2 flag also for C++ files when building with waf
2015-07-01 20:42:12 +02:00
Colomban Wendling
4476ed9c4b c++: Add a small test combining various C++14 things 2015-07-01 12:55:52 +02:00
Colomban Wendling
f60b31385e c++: Handle C++11 noexcept 2015-07-01 12:55:52 +02:00
Colomban Wendling
95a0d4db7e c++: Properly parse C++11 override and final members
As `override` and `final` aren't real keywords, handle them manually
not to break identifiers of those names.
2015-07-01 12:55:29 +02:00
Colomban Wendling
641863c264 c++: Fix handling of the final contextual keyword
`final` is not a normal keyword, as it only have a special meaning in
some specific context.  So, use a special case instead of a keyword not
to break identifiers of that name.
2015-06-30 23:22:08 +02:00
Jiří Techet
89f7a2eec9 Fix leaking typename_array in tag manager 2015-06-30 13:23:02 +02:00
Enrico Tröger
8a6fbd9786 Add PowerShell tag parser 2015-06-28 15:46:23 +02:00
Colomban Wendling
db30fdc6ec Recognize XPM files as C sources 2015-06-27 15:17:34 +02:00
Colomban Wendling
d32ca92a8a Merge pull request #537 from b4n/fix-binreloc
Fix binary relocation support
2015-06-27 14:37:13 +02:00
Colomban Wendling
01612a9505 Merge pull request #536 from zhekov/spawn
Spawn fixes/improvements
2015-06-27 14:33:11 +02:00
Colomban Wendling
14bcd9c87d Fix binary relocation support 2015-06-26 22:33:16 +02:00
Dimitar Zhekov
fc82f9d9e1 Fix spawn with -DSPAWN_TEST not to require GEANY_API_SYMBOL
As stated in spawn.c, "This module does not depend on Geany when
compiled for testing (-DSPAWN_TEST)."
2015-06-26 18:57:44 +03:00
Dimitar Zhekov
8aebf54b47 Fix spawn_async_with_pipes() to work without watch for child_pid=NULL
On child_pid=NULL, the Windows process handle is now closed ASAP, so
no main glib event loop is required.
2015-06-26 18:44:56 +03:00
Colomban Wendling
46a123d6fe python: Fix handling of inline comments
If there was two hashes (#) in an inline comment, only the content
between the two was considered a comment.

X-Universal-CTags-Commit-ID: ee93f5b9f393e76a850cf8c894cc748a62981156
2015-06-25 22:47:32 +02:00
Colomban Wendling
d2052b55ba Merge pull request #532 from techee/optimize_python
python: optimize skipEverything()
2015-06-25 22:39:02 +02:00
Jiří Techet
6781ab30c5 python: optimize skipEverything()
Most of the time there's no start of a string which means all the 10
strcmp()s are done for every character of the input. This is very expensive:
before this patch this function alone takes 55% of the parser time.
When comparing by character (and avoiding further comparison if the first
character doesn't match), this function takes only 11% of the parser time
so the performance of the parser nearly doubles.

In addition check for the "rb" prefix which is possible in Python 3.

Ported from universal-ctags.
2015-06-25 22:10:32 +02:00
elextr
54eff298bd Fix Manual for Build Menu Keybindings
Only fixed items can have keybindings but this manual entry was missed when one execute item was changed from fixed to optional.
2015-06-25 05:56:43 +10:00
Frank Lanitz
98748707b8 Update of Belarussian translation 2015-06-24 15:48:08 +02:00
Frank Lanitz
d124f56375 Merge pull request #529 from xhacker/zh_CN
Update Simplified Chinese translation
2015-06-24 10:30:35 +02:00
LIU Dongyuan / 柳东原
e7a52ccec5 Update Simplified Chinese translation 2015-06-23 23:10:52 -07:00
Colomban Wendling
b165de1f77 Fix color of unmodified build commands on GTK3
Also, as changing the color of the label button doesn't currently work
on GTK2, but would on GTK3 with this change, explicitly skip it for
consistency.

Closes #528.
2015-06-23 02:54:02 +02:00
Colomban Wendling
09cd9b4d30 Small update of the French translation 2015-06-23 00:04:19 +02:00
Frank Lanitz
15f012c2bf Update of Portuguese translation 2015-06-22 23:14:02 +02:00
Frank Lanitz
e274dba084 Update of German translation 2015-06-22 22:06:25 +02:00
Frank Lanitz
a26bd58639 Merge pull request #526 from b4n/po/fr
French translation update
2015-06-22 19:13:20 +02:00
Frank Lanitz
094a71c2cb Update of Spanish translation 2015-06-22 19:12:14 +02:00
Colomban Wendling
0cc3bf31c2 Move comment meant for translators so xgettext can pick them
Apparently xgettext only recognize comments that are straight above the
translation, so move them where it can find them.
2015-06-22 15:46:11 +02:00
Colomban Wendling
3c38434d51 French translation update 2015-06-22 15:40:55 +02:00
Frank Lanitz
d37588241a Merge pull request #525 from scriptum/russian-translation
Update of Russian translation
2015-06-22 10:35:31 +02:00
Pavel Roschin
5bb21066ab Update of Russian translation 2015-06-22 11:01:47 +03:00
Frank Lanitz
5e9176512d Update of Spanish translation 2015-06-21 15:18:18 +02:00
Colomban Wendling
5ebed27d4b Fix incorrect variadic argument type fetch (oops) 2015-06-21 14:23:44 +02:00
Matthew Brush
37794432cc Add G_BEGIN_DECLS and G_END_DECLS to spawn.h 2015-06-20 20:25:08 -07:00
Colomban Wendling
f7a036aab8 VTE: Switch directory on startup when following current document's path 2015-06-20 20:05:39 +02:00
Frank Lanitz
5c2ac4c856 Initial update of po files for string freeze of Geany 1.25 2015-06-20 18:17:26 +02:00
Matthew Brush
3a8ef62794 Fix GLib version number missed in last bump (oops) 2015-06-19 17:12:53 -07:00