6171 Commits

Author SHA1 Message Date
Nick Treleaven
6286b288a4 Fix always showing Save All keybinding as overridden
Defaults should use lowercase e.g. GDK_s, not GDK_S.
2012-04-04 13:43:41 +01:00
Nick Treleaven
9e418d7aaf Show overridden keybindings in bold for prefs dialog tree 2012-04-04 13:43:39 +01:00
Nick Treleaven
fa7959f316 Maintain sidebar width when sidebar is on the right
Resizing the window should not affect sidebar width.
Fixes #3514436.
2012-04-03 16:15:02 +01:00
Frank Lanitz
00143d2d78 Update of Italian translation. Thanks to Giuseppe Penone 2012-04-02 20:38:23 +02:00
Colomban Wendling
ba4ccc6653 Waf: mark Scintilla as using GLib and GModule
This doesn't change anything in practice since GTK brings GLib and
GModule is linked with the Geany program, but it's cleaner for the lib
to list its true dependencies.
2012-04-02 15:56:47 +02:00
Colomban Wendling
7b2f0fe5ae Explicitly depend on GModule
GIO used to bring GModule, but it became a private dependency since
GIO 2.31.  So, add explicit checks for GModule so we still build with
GLib/GIO >= 2.31.

Closes #3483388.
2012-04-02 15:05:23 +02:00
Frank Lanitz
e5ae146730 Update of Italian translation. Thanks to Giuseppe Penone 2012-03-31 09:44:39 +02:00
Frank Lanitz
8a15fe80ec Remove ChangeLog of po-files. git-backlog is way better 2012-03-31 09:41:41 +02:00
Frank Lanitz
c670742316 Update of German translation 2012-03-31 09:40:50 +02:00
Matthew Brush
51dc2e9baf Support plugins written in C++
Rename use of C++ `template` keyword in plugin API function argument
and add `G_BEGIN_DECLS` and `G_END_DECLS` to public header files to
make them easier to include in C++ code. TagManager and Scintilla
headers already have these `extern "C"` blocks so they shouldn't
require any modifications.

The Autotools build system already adds in a `dummy.cxx` to hint
Automake into C++ linking to support Scintilla, which is quite
convenient for dynamically loading of C++ plugins at run-time into
the otherwise C-only program. The other build systems seem to also
use the correct linking.
2012-03-30 23:35:10 -07:00
Colomban Wendling
7b8add4019 Better handling of duplicated tags in the sidebar 2012-03-24 01:19:20 +01:00
Nick Treleaven
ec3efe0486 Fix existing user's goto tag/move tab workaround (oops)
Write an empty keybindings.conf for new users to prevent the workaround
for old defaults being written.

Also remove generated comment in keybindings.conf, this file doesn't
need an explanation as it is generated by Geany.
2012-03-20 12:59:29 +00:00
Nick Treleaven
99e8ed495b Don't change existing user's goto tag, move tab keybindings
This provides a workaround so existing users who upgrade should now
be unaffected.

The default changed for these in commits
82769a046c6394d073cc8a32677d8d4794c12c4c and
9ae71ab6cc3bb8185939e1536ffba41beb896686, but this may be
confusing/annoying for existing users who have not edited any
keybindings.

Those commit messages were wrong about never affecting existing
users. Thanks to Lex for raising this.
2012-03-19 16:52:38 +00:00
Eugene Arshinov
f4afe96880 Fix opening project in already running instance (via socket).
Previously the code didn't properly handle the case when other project
is already opened.
2012-03-18 15:45:41 +01:00
Nick Treleaven
6badca5201 Destroy color scheme dialog after closing instead of just hiding it 2012-03-15 16:12:32 +00:00
Matthew Brush
4e42814ead Automatically show color scheme dialog scrollbars, set shadow type 2012-03-15 15:54:41 +00:00
Frank Lanitz
d54504355e Update of Hungarian translation 2012-03-14 20:19:48 +01:00
Frank Lanitz
d3e5f775db Update of Lithuanian translation 2012-03-14 20:19:47 +01:00
Nick Treleaven
dcc079d814 Replace Color Schemes menu with custom dialog
A dialog makes it easier to select different items when comparing
themes, and easier to see the descriptions.
2012-03-14 16:56:55 +00:00
Nick Treleaven
a2efc32d1f Add basic install target, requires admin privileges and MSYS 2012-03-13 14:09:47 +00:00
Frank Lanitz
43ee34f660 Added Lithuanian translation 2012-03-12 19:22:48 +01:00
Frank Lanitz
f3cff26ef8 Added Arabian translation 2012-03-09 16:56:12 +01:00
Dimitar Zhekov
0df9835fd5 free configfile in configuration_reload_default_session 2012-03-08 18:15:50 +01:00
Frank Lanitz
5584990fb6 Update of German translation 2012-03-05 19:28:53 +01:00
Matthew Brush
3bcd7fc400 Merge pull request #19 from techee/fixes
Fixes
2012-02-26 21:04:50 -08:00
Matthew Brush
3d4e8b41d4 Merge pull request #25 from techee/project_patches
Project patches
2012-02-26 20:50:01 -08:00
Matthew Brush
d7d5a6d7fb Add some more key links to the Help menu (wiki, bug tracker, donate) 2012-02-26 20:19:17 -08:00
Frank Lanitz
c54489c86c Update of German translation 2012-02-25 19:42:21 +01:00
Colomban Wendling
15bbe36331 Merge branch 'earshinov/join-lines-2' 2012-02-25 18:05:10 +01:00
Eugene Arshinov
f8fd93039b join_lines: Remove excessive comments 2012-02-25 19:55:24 +04:00
Eugene Arshinov
2d29296302 join_lines: Remove sci_fix_selection_anchors function.
Previously it was useful because `reflow_lines`, in case when selection
contained trailing newline, removed that newline from selection by
calling `sci_set_selection_end` which only works when anchor > current
cursor position (it's mentioned in Scintilla's documentation on
SCI_SETSELECTIONEND).

Now trailing newline is removed by calling `sci_deselect_last_newline`
which uses `sci_set_selection` with `start` and `end` arguments.  This
function works regardless of the interposition of current cursor
position and anchor.
2012-02-25 19:51:32 +04:00
Eugene Arshinov
f318b2cca0 join_lines: Remove some obsolete code from reflow_lines.
The code joined current line with the next one when no text is selected.
For "Join lines" command this behaviour is wrong; for "Reflow paragraph"
the case is already handled outside the `reflow_lines` function.
2012-02-25 19:48:37 +04:00
Eugene Arshinov
1816b0d7f4 join_lines: Don't exclude trailing newline from the selection in reflow_lines
This is now done by the calling code.
2012-02-25 19:48:07 +04:00
Eugene Arshinov
6b760b99d4 join_lines: Add "Join lines" command.
The code of existing "Reflow paragraph" command was refactored to
extract the bits required for the new command.
2012-02-25 19:48:07 +04:00
Frank Lanitz
795ee4cf4b Merge pull request #28 from RetroX/patch-1
Added size_t, ptrdiff_t, intN_t to filetypes.cpp.
2012-02-24 13:01:08 -08:00
Alex Charron
5fb7522b72 Added size_t, ptrdiff_t, intN_t to filetypes.cpp. 2012-02-24 15:29:17 -05:00
Colomban Wendling
9fa6cfe47b Rebuild HTML manual 2012-02-22 14:58:47 +01:00
Dimitar Zhekov
373734980b altered Geany manual "Startup" to reflect that the default session is loaded even if opening file(s) 2012-02-22 14:54:59 +01:00
Frank Lanitz
2cf30ebadb Update of Kazakh translation. Thanks to Baurzhan Muftakhidinov 2012-02-21 22:55:36 +01:00
Eugene Arshinov
f5262a453e Use Scintilla's MOVESELECTEDLINES{UP,DOWN} commands. 2012-02-20 19:58:13 +01:00
Dimitar Zhekov
ad1c08ebbe Load the default session even if opening file(s)
A slightly simplified variant of the "rewritten load startup files"
from Geany patch tracker. Does not check for CLI files when deciding
whether to load the default session.
2012-02-20 19:42:56 +01:00
Colomban Wendling
3d570d750f Map TCL "SUB_BRACE" style 2012-02-20 17:25:21 +01:00
Jiří Techet
ca9dca94f8 Drop 'already' from the message in project close confirmation dialog
Suppose you have project A open and want to open project B. Then the message
saying "The 'A' project is already open" displays. This is slightly confusing
and feels like if you were trying to re-open project A even though you
are opening different project. The message without 'already' looks clearer
in this context.
2012-02-20 00:20:14 +01:00
Jiří Techet
8e2f7db298 Modify project dialog signals
Rename project-dialog-create signal to project-dialog-open because now
the dialog exists all the time and the signal name is misleading. Add
project-dialog-close signal to indicate that project dialog has been closed
and plugins can remove their tabs when needed.

In addition, bump plugin API and ABI version.
2012-02-20 00:20:03 +01:00
Frank Lanitz
4b1a3b39d4 Small changes on function documentation of ui_lookup_stock_label() as doxygen complained a bit 2012-02-19 10:30:31 +01:00
Lex Trotman
33d5378508 Add build.h to list of headers installed (autotools) 2012-02-17 09:26:03 +11:00
Lex Trotman
c348ccae58 Include build.h in headers installed for plugin use 2012-02-17 09:02:34 +11:00
Matthew Brush
510bbfbb05 Add .mm extension for Objective-C filetype 2012-02-15 17:05:25 -08:00
Lex Trotman
fa118fb12a Add build command access to plugin interface
Add ability for plugins to read and edit the fields of the build commands.
2012-02-15 14:18:34 +11:00
Matthew Brush
589ffff377 Add Scintilla wrapper function sci_set_lexer()
When the lexer is changed it clears all styling information and resets
the folding state.

Closes #3486917 and #3486918
2012-02-12 22:35:08 -08:00