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.
…iable 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.
…nes.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
In the VTE, the "Input Method" string mimics a GTK string, so use the same translation as GTK.
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.
As stated in spawn.c, "This module does not depend on Geany when compiled for testing (-DSPAWN_TEST)."
On child_pid=NULL, the Windows process handle is now closed ASAP, so no main glib event loop is required.
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.
Apparently xgettext only recognize comments that are straight above the translation, so move them where it can find them.