6738 Commits

Author SHA1 Message Date
Enrico Tröger
de03636e5c Add a note to update http://download.geany.org/MD5SUMS 2013-03-19 14:27:31 +01:00
Enrico Tröger
d9c7f59b41 Improve GTK compatibility macros for GTK 2.16
On GTK 2.16 GTK_WIDGET_[UN]SET_FLAGS resolves to a do-while construct which
raises a syntax error when embedded into a ? operator.
Also gtk_widget_get_visible() is only available since GTK 2.18, so add a fallback to
the old variant.
2013-03-19 14:17:25 +01:00
Colomban Wendling
3291c30de5 Fix utils_parse_and_format_build_date() 2013-03-17 19:36:17 +01:00
Colomban Wendling
11acb59980 Add code for TMTag reference debugging
This code is disabled by default, and is enabled if the DEBUG_TAG_REFS
C preprocessor macro is defined.
2013-03-17 17:31:36 +01:00
Colomban Wendling
e409b70fab Fix various TMTag leaks 2013-03-17 17:31:36 +01:00
Enrico Tröger
fbce364182 Improve build date conversion code
Don't use strptime() as it is not very portable, instead use a GDate and use the
code also for the date output in --version.
2013-03-17 17:17:09 +01:00
Christian Dywan
d270e6c690 Parse compiler provided build date to use the translatable date format string 2013-03-17 17:17:09 +01:00
Christian Dywan
1db4cd90df Drop obsolete 'has_separator' property from the interface definitions 2013-03-17 17:17:09 +01:00
Christian Dywan
a982908bec Define default template date format strings globally and make them translatable 2013-03-17 17:17:09 +01:00
Nick Treleaven
7150c63f22 Add Find Usage popup menu items for symbol list tags (#3608278) 2013-03-17 13:30:59 +00:00
Colomban Wendling
058bbc5368 Update NEWS 2013-03-16 16:49:53 +01:00
Colomban Wendling
232290aad4 Fix our custom styles under KDE and for people using gtk-chtheme
We have a custom RC file defining various styles we need, and we want
the user to be able to override them (e.g. if they want -- or need --
other colors).  Fair enough, one would simply call gtk_rc_parse() with
the appropriate filename.  However, the styling rules applies in the
order they are loaded, then if we load our styles after GTK has loaded
the user's ones we'd override them.

There are 2 solutions to fix this:
1) set our styles' priority to something with lower than "user"
   (actually "theme" priority because rules precedence are first
   calculated depending on the priority no matter of how precise the
   rules is, so we need to override the theme).
2) prepend our custom style to GTK's list while keeping priority to
   user (which is the default), so it gets loaded before real user's
   ones and so gets overridden by them.

One would normally go for 1 because it's ways simpler and requires less
code: you just have to add the priorities to your styles, which is a
matter of adding a few ":theme" in the RC file.  However, KDE being a
bitch it doesn't set the gtk-theme-name but rather directly includes
the style to use in a user gtkrc file, which makes the theme have
"user" priority, hence overriding our styles.  So, we cannot set
priorities in the RC file if we want to support running under KDE,
which pretty much leave us with no choice but to go with solution 2,
which unfortunately requires writing ugly code since GTK don't have a
gtk_rc_prepend_default_file() function.  Thank you very much KDE.

Though, as a side benefit it also makes the code work with people using
gtk-chtheme, which also found it funny to include the theme in the user
RC file.
2013-03-16 16:19:20 +01:00
Nick Treleaven
0cf495a6db Add Rust filetype
(See also: rust-lang.org)
2013-03-16 14:14:41 +00:00
Nick Treleaven
fd8ba60b4a Disable start of word checkbox when whole word checkbox is enabled 2013-03-16 13:47:28 +00:00
Nick Treleaven
14878850cd Don't find start of word when whole word matching should prevent it 2013-03-16 13:26:52 +00:00
Nick Treleaven
feb4a6409e Remove unused variables 2013-03-15 17:55:18 +00:00
Colomban Wendling
71093fec62 Autotools: replace use of deprecated INCLUDES in favor to AM_CPPFLAGS 2013-03-15 16:48:33 +01:00
Colomban Wendling
3a2853c08f Add a few more things to remember when making a release 2013-03-15 16:48:33 +01:00
Enrico Tröger
0c5442b625 More GTK3 Waf build system adjustments
Install the src/gtkcompat.h header and install data/geany.css if necessary.
2013-03-11 19:54:28 +01:00
Enrico Tröger
84176f2e8a Add --enable-gtk3 configure flag to the Waf build system 2013-03-10 18:21:05 +01:00
Colomban Wendling
35cc441b74 Merge branch 'gtk3-support'
Conflicts:
	src/ui_utils.c
2013-03-10 17:20:25 +01:00
Colomban Wendling
7e3a235436 Post release version bump
Say welcome to Geany 1.24 "Sakai"!
2013-03-10 17:00:01 +01:00
Colomban Wendling
ee1cd3a3e4 Fix various typos and wordings in the NEWS
Also remove a duplicated item.
2013-03-10 15:24:47 +01:00
Colomban Wendling
44e0b8ee90 Update documentation images 2013-03-10 15:10:15 +01:00
Colomban Wendling
5456fa3df9 Regenerated the HTML manual 2013-03-10 15:10:15 +01:00
Colomban Wendling
c917f12667 Set release date 2013-03-10 15:10:15 +01:00
Enrico Tröger
6ec0d98e0a Update NEWS for UAC fix 2013-03-10 15:08:46 +01:00
Igor Shaula
1613f93ad0 Disable UAC Virtualization on Windows
Includes an application manifest embedded into the .exe resources.
2013-03-10 14:24:48 +01:00
tomboy64
51c541faa2 Add support for the Go programming language
- syntax highlighting
- support for the go compiler (as opposed to gccgo)
2013-03-10 06:10:26 -07:00
Frank Lanitz
d5440c141f Another update of Hebrew translation. 2013-03-10 09:37:13 +01:00
YosefOr
c317a93857 Small improvement of Hebrew translation 2013-03-09 20:26:31 +01:00
Frank Lanitz
b2b4134706 Small improvement of German translation 2013-03-09 14:26:54 +01:00
Colomban Wendling
a6ab76e7ef Update NEWS to reference more bugs and list latest changes 2013-03-08 20:36:52 +01:00
Colomban Wendling
771934ae29 Don't translate program name directive in Pascal file template
Pascal code only accepts an identifier in the program name directive,
but {untitled} wildcard gets replaced with a translated string that may
not be a valid Pascal identifier.  Moreover, the directive being part
of the source of the program it's good practice for it to be in English
anyway.

Closes #3602314.
2013-03-08 18:32:47 +01:00
Frank Lanitz
e5e697e5c3 Upate of Catalan translation 2013-03-08 17:20:01 +01:00
Enrico Tröger
b01f31c09b Merge branch 'gentoo90-context-menu-icon' 2013-03-08 00:08:58 +01:00
Igor Shaula
e01d5a568b Add icon to Explorer context menu entry 2013-03-08 00:07:50 +01:00
Frank Lanitz
f439a5be42 Merge pull request #117 from kgkilo/hu_po
Updated Hungarian translations
2013-03-07 00:20:39 -08:00
kilo aka Gabor Kmetyko
a3b9283e5b Updated Hungarian translations 2013-03-06 23:42:46 +01:00
Frank Lanitz
af237391fc Update of German translation 2013-03-06 19:47:47 +01:00
Frank Lanitz
a552c82a74 Update of Brazilian Portuguese translation 2013-03-06 19:29:12 +01:00
Colomban Wendling
e5245eb053 Increase the number of lines where filename is replaced upon save as
Search the first 4 lines (instead of 3) for Python templates support.
2013-03-05 23:58:04 +01:00
Colomban Wendling
5b23669649 Fix replacing file name in headers upon save as
The code used a Scintilla-specific regex escape (\<) which doesn't work
anymore since the time we switched to full PCRE (which uses \b).  So,
update the regular expression to PCRE.

Also, properly escape the name to search in the unlikely case it has
regular expression escapes in it;  and properly check for word
boundaries even when not searching with an extension.
2013-03-05 23:47:37 +01:00
Frank Lanitz
77e142bb73 Update of Slovenian translation 2013-03-05 19:44:31 +01:00
Frank Lanitz
da5deda697 Update of Kazakh translation 2013-03-05 19:38:46 +01:00
Frank Lanitz
bf7a399ac9 Update of Brasilian Portugese translation 2013-03-05 19:35:46 +01:00
Frank Lanitz
58eb550775 Merge pull request #115 from xhacker/patch-1
Update zh_CN.po
2013-03-04 09:17:23 -08:00
LIU Dongyuan
00534315b3 Update zh_CN.po 2013-03-04 23:33:25 +08:00
Enrico Troeger
775ef62868 Set the working directory on Windows very early to also help code which uses relative resource paths 2013-03-03 23:33:25 +01:00
Enrico Troeger
fc9795010c Install geany.gtkrc with the Windows installer 2013-03-03 23:28:22 +01:00