6527 Commits

Author SHA1 Message Date
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
Frank Lanitz
48dc4789ce Update of Turkish translation 2013-03-03 08:10:44 +01:00
Frank Lanitz
39bb444ee5 Small update on NEWS 2013-03-01 19:35:45 +01:00
Frank Lanitz
cf61d5d425 Update of Italian translation 2013-03-01 19:35:45 +01:00
Frank Lanitz
964a20fb79 Update of Slovenian translation 2013-03-01 19:35:45 +01:00
Frank Lanitz
8db196d2b3 Update of Galician translation 2013-03-01 19:35:45 +01:00
Colomban Wendling
d289e3da20 Fix comment toggling in PHP and HTML with bottom-up selection
If current position is not at selection start (e.g. bottom-up
selection), editor_get_filetype_at_current_pos() will start returning
improper result as soon as the first buffer change since the style at
the actual current position will have been invalidated and not yet
recomputed.
2013-03-01 15:26:39 +01:00
Lex
d34ca17868 Correct description of build_activate_menu_item()
Correct the documentation comment for build_activate_menu_item() for
plugin documentation.
2013-03-01 12:52:20 +11:00
Frank Lanitz
58bffcbcce Update of Spanish translation 2013-02-25 21:07:28 +01:00
Frank Lanitz
181e91ed88 Update of Lithuanian translation 2013-02-25 21:01:47 +01:00
Frank Lanitz
8228c3f3df Update of French translation 2013-02-24 15:33:45 +01:00
Frank Lanitz
5997f6a693 Update of Japanese translation 2013-02-24 14:54:48 +01:00
Frank Lanitz
48b370e2c4 Update of po-files for string freeze of Geany 1.23 2013-02-23 14:29:32 +01:00
Frank Lanitz
2b5944d4c2 Update of Hindi translation 2013-02-23 14:23:49 +01:00
Colomban Wendling
d49b8fbbc0 Update NEWS for new items 2013-02-22 17:15:51 +01:00
Dimitar Zhekov
99fbe0bd8c Fix plugin_add_toolbar_item insertion order 2013-02-22 17:14:53 +01:00
Max Musatov
9d88bd2463 Update the main.d template to use a more standard prototype for main() 2013-02-22 15:07:50 +01:00
Lex
5acb92a3cb More verbose update to manual for Terminal setting
Provide a more complete description of the use of the changed
Terminal setting in several places.
2013-02-22 15:07:50 +01:00
Lex
d577c57e78 Add missing slash in default command 2013-02-21 15:02:13 +11:00
Lex
7d6ad6d50f Merge branch 'master' of https://github.com/geany/geany 2013-02-21 13:05:54 +11:00
Lex
5df79bc135 Adjust Terminal tooltip in preferences
Adjust to say it is a full command and that %c is substituted by
the geany_run_script path.
2013-02-21 12:42:30 +11:00
Colomban Wendling
dba93f3854 Allow Quit keybinding to be configured
This removes the last unmodifiable keybinding relying on GTK's
defaults, and allows somebody to change this keybinding.
2013-02-21 01:31:38 +01:00
Colomban Wendling
a0dc8af9c4 Fix GTK default keybindings being still active after being unbound
If we provide an AccelGroup when creating a menu item using a sock ID,
it installs the GTK default accelerator, accelerator we can't remove
since we don't know about it.  So, don't give an AccelGroup so GTK
don't install it's own accelerator.

This fix also required to properly update the accelerator on some item
we used to ignore since the update didn't work anyway (since the GTK
accelerator was displayed instead).

Note that this doesn't fix the fact the editor popup menu accelerators
are never updated after startup so they don't get updated before
restart after changing a keybinding in the preferences.  This is a
separate (and less problematic) issue due to a simple lack of update.

Closes #1912683 and #3599251.
2013-02-21 01:31:38 +01:00
Lex
3c2dc547cd Make the tools->terminal setting more flexible.
Previously was hard coded with options to suit xterm.  As this is
being replaced with different terminal programs some do not accept
the same options.  The new setting stores the whole command with
%c to substitute the script name.  Upgrades old settings if a new
one does not exist.
2013-02-17 11:38:53 +11:00
Colomban Wendling
eab86bc6ad win32: Fix crash with -v if stream redirection setup fails
Properly check for errors when setting up debug console stream
redirections so if it fails it doesn't crash everything.
2013-02-14 00:50:59 +01:00
Colomban Wendling
1646504a46 Fix build with bleeding edge GLib
CTags defines __unused__ and __printf__, which not only are reserved
identifiers, but actually are used by GNUC as arguments of the
__attribute__() extension.  This used to work because no code seeing
those definitions was trying to use them as __attribute__() argument,
but a recent change in GLib made it use it in atomic operation, which
are used by the tagmanager, which itself includes the CTags header
defining those, leading to a weird build failure -- since __unused__
expanded to an unexpected value.

To fix this, rename CTag's __ununsed__ to UNUSED and __printf__ to
PRINTF.
2013-02-13 00:22:16 +01:00
Colomban Wendling
76a6e945ec Merge branch 'touste/abaqus-support' 2013-02-12 15:01:00 +01:00
Baptiste Pierrat
2203d8f085 Abaqus: remove styles not actually used by the lexer 2013-02-12 14:57:12 +01:00
Baptiste Pierrat
d4e61bf093 Add support for Abaqus files
Support for Abaqus (.inp) files, including scintilla lexer and tag
parser.

Signed-off-by: Baptiste Pierrat <baptiste.pierrat@gmail.com>
2013-02-12 14:56:38 +01:00
Colomban Wendling
36581d6638 Move document status color definition to the gtkrc file
This allows for users to change the colors if needed (may be useful
with some themes or color blind persons).

On the sidebar, only the color is applied for now.  This is because
it is not possible to style cell renderers through RC files, all having
to be done in the code;  so currently only the color is applied.
2013-02-11 04:46:40 +01:00
Colomban Wendling
23ef01ede8 Allow user gtkrc to override our gtkrc styles
This allows the user to override the custom styles we apply to some
widgets, like e.g. the unmatched search entry colors.

We use the :theme priority rather than the :application one because
it seems that the :application one cannot override theme settings, even
if it matches against a name the theme don't have rules for but have
rules for the class of that widget.  This prevents a theme from
overriding our styles, but it's unlikely a theme actually provide some
specific stuff for us anyway.
2013-02-11 04:46:40 +01:00
Colomban Wendling
dbd6d12160 Fix not using monospace font for unmatched search entries
This bug was introduced by RC file switch.
2013-02-11 04:46:40 +01:00
Frank Lanitz
923c8582e3 Extend i18n-section of NEWS a bit 2013-02-06 19:34:21 +01:00
Frank Lanitz
fb7196cf3f Update of German translation 2013-02-06 19:30:19 +01:00
Frank Lanitz
eab804bae4 Update of Swedish translation 2013-02-06 19:19:31 +01:00
Frank Lanitz
41456c1809 Replace ru_RU with simple ru inside credantials as we only have one Russiian translation 2013-02-05 21:27:05 +01:00
Frank Lanitz
f087542ef8 Added first version of Serbian translation 2013-02-05 21:25:48 +01:00
Frank Lanitz
92f2bb8970 Update of Finnish translation 2013-02-05 00:42:26 +01:00
Frank Lanitz
159d712bd6 Adding first version of Hindi translation 2013-02-05 00:42:26 +01:00
Enrico Tröger
82f259f6b5 Print filename of failed plugin 2013-02-03 12:35:05 +01:00
Felix Totir
cfed3c3f23 Add missing D keywords
Closes #3595187.
2013-02-01 16:06:32 +01:00