Branch: refs/heads/document-messages
Author: Nick Treleaven <nick.treleaven(a)btinternet.com>
Committer: Nick Treleaven <nick.treleaven(a)btinternet.com>
Date: Wed, 30 May 2012 16:25:24
Commit: 74faf9920e13f92f0bb8b16e0a2e9ed203ff3d89
https://github.com/geany/geany/commit/74faf9920e13f92f0bb8b16e0a2e9ed203ff3…
Log Message:
-----------
Update for ntrel's changes
Modified Paths:
--------------
NEWS
Modified: NEWS
43 files changed, 37 insertions(+), 6 deletions(-)
===================================================================
@@ -6,7 +6,10 @@ Geany 1.22 (unreleased)
* Rewrite theming support for better flexibility.
* Add support for opening files read-only from the command line.
* Always load the default session if configured to do so.
- * Make all filetypes use named styles to simplify colour scheme authoring.
+ * Make all filetypes use named styles to simplify colour scheme
+ authoring.
+ * Make 'Replace Spaces by Tabs' only match leading spaces to
+ preserve alignment.
Bug fixes
* Fix escaping of session file paths (#3425969).
@@ -15,17 +18,27 @@ Geany 1.22 (unreleased)
(#2966770, #3479567).
* Fix build with bleeding-edge GLib (#3483388).
* Fix colour scheme selection in Ubuntu Unity (#3479674).
+ * Fix very slow regex tag parsing on Windows (e.g. for HTML).
+ * Fix detecting a changed file on disk when opening from
+ the command-line (Windows).
+ * Add missing Windows mio makefile.
- Pref
+ Prefs
* Split "always wrap search and hide find dialog" pref into
"always wrap search" and "hide find dialog" (Dimitar Zhekov).
+ * Add Project Properties overrides for 'Saving files' prefs.
Interface
* Add support for switching to the last used document after closing
a tab (Jiří Techet).
- * Add support for user-defined labels for custom commands.
+ * Add support for user-defined labels for 'Send Selection to'
+ custom commands.
* Fix sidebar width when on the right (#3514436).
* Add colour scheme selection dialog.
+ * Use case-insensitive document list path comparison on Windows.
+ * Replace Color Schemes menu with custom dialog.
+ * Show selected line count on status bar when whole lines are
+ selected.
Editor
* Update Scintilla to version 2.29.
@@ -37,28 +50,46 @@ Geany 1.22 (unreleased)
* Extra options passed to grep through Find in Files now follows a
real shell-style syntax (#3516263).
* Search pattern length is no longer limited to 248 characters.
+ * Fix showing Find/Replace regex compile errors on the status bar.
+
+ Keybindings
+ * Add Project New/Open/Properties/Close keybindings.
+ * Show overridden keybindings in bold for prefs dialog tree.
+
+ Tags
+ * Speed up loading of multiple global tags files.
+ * Show global tags file preprocessing errors on stderr & add
+ current directory to include path.
+ * Add C/C++ ignore.tags wildcard format 'PREFIX*'.
Filetypes
* Add support for regex-based filetype detection.
- * C snippets no longer applies to all filetypes.
+ * C snippets no longer apply to all filetypes.
* Improve support for HTML embedded filetypes (#2863829, #3127598).
* Add filetype Objective-C (Elias Pschernig, P#3325139).
* Fix highlighting of ``...R"`` inside C and C++ (#3425107).
* Fix TCL keyword highlighting in some situations (#3432877).
* Parse PHP functions with multiline argument list (#3037797).
* Handle ``/bin/dash`` shebang (#3470986).
+ * Update JavaScript parser from CTags.
+ * Parse D class, struct, interface template bodies and template
+ blocks; ignore 'static if' expressions.
+ * Fix broken tag/word autocompletion in HTML/PHP documents.
+ * Enable &entity; completion for all XML-based filetypes.
Plugins
* Split Window: show marker margin.
* Split Window: enable basic context menu.
API:
+ * document_save_file() now shows the Save As dialog when necessary.
+ * Rename signal "project-dialog-create" to "project-dialog-open" and
+ add new "project-dialog-close" signal.
+ * setptr is deprecated in favour of SETPTR.
* Add ui_hookup_object() and ui_lookup_object().
* Add ui_lookup_stock_label().
* Add build_{activate,get_current,remove,set}_menu_item(),
build_get_group_count().
- * Rename signal "project-dialog-create" to "project-dialog-open" and
- add new "project-dialog-close" signal.
* Add stash_group_free_settings().
* Add support for plugins written in C++.
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
Branch: refs/heads/document-messages
Author: Matthew Brush <matt(a)geany.org>
Committer: Matthew Brush <matt(a)geany.org>
Date: Thu, 31 May 2012 00:24:33
Commit: d03b347145c06e32402613ee46e40eef065c97c3
https://github.com/geany/geany/commit/d03b347145c06e32402613ee46e40eef065c9…
Log Message:
-----------
Remove duplicate NEWS item
Modified Paths:
--------------
NEWS
Modified: NEWS
1 files changed, 0 insertions(+), 1 deletions(-)
===================================================================
@@ -34,7 +34,6 @@ Geany 1.22 (unreleased)
* Add support for user-defined labels for 'Send Selection to'
custom commands.
* Fix sidebar width when on the right (#3514436).
- * Add colour scheme selection dialog.
* Use case-insensitive document list path comparison on Windows.
* Replace Color Schemes menu with custom dialog.
* Show selected line count on status bar when whole lines are
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
Branch: refs/heads/document-messages
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Tue, 29 May 2012 23:44:49
Commit: 232919a16d95cf1351a11e1e3ee6f82e3218378b
https://github.com/geany/geany/commit/232919a16d95cf1351a11e1e3ee6f82e32183…
Log Message:
-----------
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…
It also includes the "fix for the fix",
http://view.svn.sourceforge.net/viewvc/view/trunk/libview/libview/wrapLabel…
Modified Paths:
--------------
src/geanywraplabel.c
Modified: src/geanywraplabel.c
18 files changed, 10 insertions(+), 8 deletions(-)
===================================================================
@@ -42,6 +42,7 @@ struct _GeanyWrapLabelClass
typedef struct
{
gint wrap_width;
+ gint wrap_height;
} GeanyWrapLabelPrivate;
struct _GeanyWrapLabel
@@ -79,6 +80,7 @@ static void geany_wrap_label_init(GeanyWrapLabel *self)
priv = self->priv;
priv->wrap_width = 0;
+ priv->wrap_height = 0;
g_signal_connect(self, "notify::label", G_CALLBACK(geany_wrap_label_label_notify), NULL);
pango_layout_set_wrap(gtk_label_get_layout(GTK_LABEL(self)), PANGO_WRAP_WORD_CHAR);
@@ -90,17 +92,21 @@ static void geany_wrap_label_init(GeanyWrapLabel *self)
static void geany_wrap_label_set_wrap_width(GtkWidget *widget, gint width)
{
GeanyWrapLabelPrivate *priv;
+ PangoLayout *layout;
if (width <= 0)
return;
+ priv = GEANY_WRAP_LABEL_GET_PRIVATE(widget);
+ layout = gtk_label_get_layout(GTK_LABEL(widget));
+
/*
* We may need to reset the wrap width, so do this regardless of whether
* or not we've changed the width.
*/
- pango_layout_set_width(gtk_label_get_layout(GTK_LABEL(widget)), width * PANGO_SCALE);
+ pango_layout_set_width(layout, width * PANGO_SCALE);
+ pango_layout_get_pixel_size(layout, NULL, &priv->wrap_height);
- priv = GEANY_WRAP_LABEL_GET_PRIVATE(widget);
if (priv->wrap_width != width)
{
priv->wrap_width = width;
@@ -122,12 +128,8 @@ static void geany_wrap_label_label_notify(GObject *object, GParamSpec *pspec, gp
* width to be flexible. */
static void geany_wrap_label_size_request(GtkWidget *widget, GtkRequisition *req)
{
- gint height;
-
- pango_layout_get_pixel_size(gtk_label_get_layout(GTK_LABEL(widget)), NULL, &height);
-
- req->width = 0;
- req->height = height;
+ req->width = 0;
+ req->height = GEANY_WRAP_LABEL_GET_PRIVATE(widget)->wrap_height;
}
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
Branch: refs/heads/document-messages
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Tue, 29 May 2012 17:52:26
Commit: 18dea90938b19bdf12b2d932ce5c964f8c40080b
https://github.com/geany/geany/commit/18dea90938b19bdf12b2d932ce5c964f8c400…
Log Message:
-----------
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.
Modified Paths:
--------------
src/about.c
Modified: src/about.c
3 files changed, 3 insertions(+), 0 deletions(-)
===================================================================
@@ -406,7 +406,10 @@ static GtkWidget *create_dialog(void)
gtk_container_set_border_width(GTK_CONTAINER(license_scrollwin), 6);
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(license_scrollwin),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+ gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(license_scrollwin), GTK_SHADOW_IN);
license_textview = gtk_text_view_new();
+ gtk_text_view_set_left_margin(GTK_TEXT_VIEW(license_textview), 2);
+ gtk_text_view_set_right_margin(GTK_TEXT_VIEW(license_textview), 2);
gtk_text_view_set_editable(GTK_TEXT_VIEW(license_textview), FALSE);
gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(license_textview), FALSE);
gtk_widget_show(license_textview);
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).