6171 Commits

Author SHA1 Message Date
Nick Treleaven
c37d8b4390 Do not suppress warnings (Windows makefiles)
Also do not define G_OS_WIN32.
2012-06-04 13:51:02 +01:00
Frank Lanitz
304f3a8b47 Adding a small note pointing out that setting a default keybinding might not the best idea for plugin maintainers 2012-06-04 16:19:11 +10:00
Nick Treleaven
7b3b65e27d Add workaround for users with an invisible selection style
This is likely to be the case for any users that copied the system
selection style line as this was incorrectly set before, but not
applied.
2012-06-03 18:04:03 +01:00
Nick Treleaven
ff484c9a8b Do not override default selection foreground style 2012-06-03 17:40:46 +01:00
Nick Treleaven
dd87e318cf Fix applying default selection colors after editing 'selection' style
Default colors were not restored when disabling the override flags.
2012-06-03 17:38:30 +01:00
Frank Lanitz
12ba835091 Update of Lithuanian translation 2012-06-03 17:53:17 +02:00
Frank Lanitz
d0fe947a6f Update po files after enabling more strings to be translatable. 2012-06-03 17:51:20 +02:00
Frank Lanitz
58a03352b6 Enable two strings for translation. Patch by gymka 2012-06-03 17:48:30 +02:00
Colomban Wendling
1d6efd332e Remove an useless NULL check and error message
gtk_builder_new() cannot fail but in case of memory exhaustion, where
the GLib allocator will abort anyway.
2012-06-03 16:56:31 +02:00
Colomban Wendling
e98f11cbc5 Display warnings, critical and error messages even if not in verbose mode 2012-06-03 16:50:57 +02:00
Colomban Wendling
70e0f6eaa0 Fix verbose output with GLib 2.32 and newer
Since GLib 2.32, messages logged with levels INFO and DEBUG aren't
output by the default log handler unless the G_MESSAGES_DEBUG
environment variable contains the domain of the message or is set to
the special value "all".

Since we use INFO level messages for verbose mode, we need to make
sure this environment variable is properly set when in verbose mode.
2012-06-03 16:47:18 +02:00
Colomban Wendling
9f042521e5 Merge branch 'frlan/svn_cleanup' 2012-06-03 15:09:34 +02:00
Frank Lanitz
87046eeec0 Update of po-files for string freeze for upcoming 1.22 release 2012-06-03 10:20:14 +02:00
Colomban Wendling
084f43ed71 Suggest to provide git-formatted patches rather than git diff ones 2012-06-02 22:08:47 +02:00
Lex Trotman
928b847c1e Force selection to change when Default or Alt colourscheme chosen
The selection foreground and background are not changed unless
the respective 3rd or 4th field is true (see highlighting.c:790).
2012-06-02 16:09:16 +10:00
Colomban Wendling
67ff99b112 Add a few missing NEWS entries 2012-05-31 23:28:46 +02:00
Colomban Wendling
1725b72ec6 Add a node about the possibility for third party plugins to be on p.g.o 2012-05-31 22:53:51 +02:00
Colomban Wendling
a35435b4d9 Reword a few sentences 2012-05-31 22:52:17 +02:00
Frank Lanitz
7b339b8d30 Added a missing word and some smaller changes on spelling (GitHub; pull request) 2012-05-31 22:33:07 +02:00
Frank Lanitz
54ed2189fe Use capitilized version of Git inside documentation 2012-05-31 22:30:44 +02:00
Frank Lanitz
8965b8bc48 Some updates on general API documentation to reflect, that geany-plugins don't use svn anymore 2012-05-31 22:18:03 +02:00
Frank Lanitz
81c84e553d Removing reference to svn from sending a patch for this document 2012-05-31 22:18:03 +02:00
Frank Lanitz
dbeb690f67 Fixing one apperance of svn inside documentation 2012-05-31 22:18:03 +02:00
Frank Lanitz
effab1a129 Remove svn specific scripts as the are not needed anymore 2012-05-31 22:18:03 +02:00
Colomban Wendling
c30936028e When not sorting the file list, don't preserve read order
If the caller doesn't want the list to be sorted, there is no need to
preserve the order in which the files were actually read, since that
order is undefined anyway.
2012-05-31 21:58:37 +02:00
Colomban Wendling
13a7fb521e Don't sort tags file list since the order doesn't matter 2012-05-31 21:58:14 +02:00
Colomban Wendling
6f62a55370 g_slist_prepend() is faster than _append() and the order doesn't matter 2012-05-31 21:58:08 +02:00
Matthew Brush
d03b347145 Remove duplicate NEWS item 2012-05-30 17:24:33 -07:00
Nick Treleaven
74faf9920e Update for ntrel's changes 2012-05-30 17:25:24 +01:00
Nick Treleaven
8bb24011b6 Tweak default string color for a little more contrast 2012-05-30 16:45:29 +01:00
Nick Treleaven
fa5929ecbe Fix clearing styles in sci_set_lexer() 2012-05-30 13:03:42 +01:00
Colomban Wendling
c84d486472 GeanyWrapLabel: fix rendering issues
GtkLabel may re-create its PangoLayout between calls leading to the
final layout used for rendering not to be set up with the appropriate
values for our sizing.  Then, re-set up the layout each time we have to
deal with it and straight before GtkLabel renders it.
2012-05-30 01:50:08 +02:00
Colomban Wendling
6c15dd4724 Drop GEANY_WRAP_LABEL_GET_PRIVATE() macro 2012-05-30 01:50:08 +02:00
Colomban Wendling
232919a16d GeanyWrapLabel: make sure we ask for the height matching our width
With this patch, we make sure the height we query is the one matching
the width we stored and not a newer or older one.

This only fixes the sizing problem, the rendering issue visible in
some situations is still present.

This fix is replicated from the fix in libview's WrapLabel, see
http://view.svn.sourceforge.net/viewvc/view/trunk/libview/libview/wrapLabel.cc?revision=132&view=markup
It also includes the "fix for the fix",
http://view.svn.sourceforge.net/viewvc/view/trunk/libview/libview/wrapLabel.cc?revision=135&view=markup
2012-05-30 01:44:49 +02:00
Matthew Brush
9b39c9973a Add some more items to NEWS 2012-05-29 15:51:02 -07:00
Colomban Wendling
18dea90938 Show shadow around license text view in the about dialog
Since the license is a huge piece of text expected to possibly scroll
horizontally, and since most themes display the background of text
views in a different color than the default widget background color,
adding a shadow makes the edges more visible and the UI neater.
2012-05-29 19:52:26 +02:00
Colomban Wendling
d354c597dc Adjust border width of the "Credits" about tab 2012-05-29 19:31:26 +02:00
Colomban Wendling
7aef9c18fb Update copyright date in about dialog 2012-05-29 19:27:25 +02:00
Nick Treleaven
563249f7c6 Warn user if current filetype might not support color schemes
If the 'default' style isn't set to a named style, then probably the
filetype styles have been overridden with manual colors and may not
work properly with color schemes.

Note: HTML-based filetypes won't show a warning because they don't
have a 'default' style (they use 'html_default' instead).

This is a simple heuristic, but is worth having to avoid some
spurious bug reports when using the color schemes dialog.
2012-05-29 18:05:56 +01:00
Nick Treleaven
12a1295dd1 Do not change message order for sci_set_lexer()
Scintilla mentions clearing styles after setting lexer.
2012-05-29 17:55:43 +01:00
Nick Treleaven
edd672c3e5 Don't clear styles when setting lexer id unless it has changed
This fixes styles being cleared when using the Split Window plugin.
2012-05-29 15:16:24 +01:00
Frank Lanitz
d550bc781c Update of German translation 2012-05-28 13:57:34 +02:00
Colomban Wendling
2ed1d6d8bb Do not apply color scheme upon color scheme selection dialog display
Current color scheme was applied upon color scheme selection dialog
display because the GtkTreeView::cursor-changed signal is emitted when
the tree view is initially shown (since it actually gets the focus for
the first time), uselessly re-applying the current color scheme.

This is a performance issue because when many documents are open
updating the color scheme can take a few seconds.

Now we watch for the GtkTreeSelection::changed signal on the tree
view's selection, which is only emitted when the selected item actually
changes.  We also connect to that signal after filling the tree so we
don't get notified on the initial selection setup.
2012-05-27 20:25:19 +02:00
Nick Treleaven
ffd3d739db Fix a missing tag on global tags merge (oops) 2012-05-27 17:20:34 +01:00
Colomban Wendling
915bb5989e Update NEWS to reflect current status 2012-05-27 01:14:25 +02:00
Colomban Wendling
262b48b52c Add a separator after the Color Schemes menu item 2012-05-27 01:14:25 +02:00
Colomban Wendling
e87f393192 Create color scheme menu item with Glade
Now there is a dialog instead of a menu for selecting the color
schemes, the item under View->Editor can be created with Glade like the
rest of the menu.
2012-05-27 01:14:25 +02:00
Frank Lanitz
ac27a658d2 Adding a missing space inside German translation 2012-05-26 08:38:50 +02:00
Frank Lanitz
23ed551144 Update of Lithuanian translation provided by Algimantas Margevičius 2012-05-26 08:38:50 +02:00
Colomban Wendling
cf3139de03 Use the same pointer type for all pointers in tm_tags_merge()
This prevents GCC from complaining about implicit casts and comparisons
between different pointer types.  It also makes the code a little less
bound at dealing with TMTags.
2012-05-25 19:47:10 +02:00