Revision: 5133
http://geany.svn.sourceforge.net/geany/?rev=5133&view=rev
Author: ntrel
Date: 2010-08-11 14:13:24 +0000 (Wed, 11 Aug 2010)
Log Message:
-----------
r5052
Modified Paths:
--------------
branches/Geany-0_19_1/ChangeLog
branches/Geany-0_19_1/plugins/filebrowser.c
Modified: branches/Geany-0_19_1/ChangeLog
===================================================================
--- branches/Geany-0_19_1/ChangeLog 2010-08-11 12:50:38 UTC (rev 5132)
+++ branches/Geany-0_19_1/ChangeLog 2010-08-11 14:13:24 UTC (rev 5133)
@@ -4,6 +4,8 @@
Fix not loading plugins built against a newer API when Geany doesn't
provide the required version given in PLUGIN_VERSION_CHECK().
Improve documentation for PLUGIN_VERSION_CHECK().
+ * plugins/filebrowser.c:
+ Allow Find in Files when no items are selected.
2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: branches/Geany-0_19_1/plugins/filebrowser.c
===================================================================
--- branches/Geany-0_19_1/plugins/filebrowser.c 2010-08-11 12:50:38 UTC (rev 5132)
+++ branches/Geany-0_19_1/plugins/filebrowser.c 2010-08-11 14:13:24 UTC (rev 5133)
@@ -545,7 +545,9 @@
gboolean is_dir = FALSE;
treesel = gtk_tree_view_get_selection(GTK_TREE_VIEW(file_view));
- if (! check_single_selection(treesel))
+ /* allow 0 or 1 selections */
+ if (gtk_tree_selection_count_selected_rows(treesel) > 0 &&
+ ! check_single_selection(treesel))
return;
list = gtk_tree_selection_get_selected_rows(treesel, &model);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5132
http://geany.svn.sourceforge.net/geany/?rev=5132&view=rev
Author: ntrel
Date: 2010-08-11 12:50:38 +0000 (Wed, 11 Aug 2010)
Log Message:
-----------
r5051
Modified Paths:
--------------
branches/Geany-0_19_1/ChangeLog
branches/Geany-0_19_1/doc/plugins.dox
branches/Geany-0_19_1/src/plugindata.h
branches/Geany-0_19_1/src/plugins.c
Modified: branches/Geany-0_19_1/ChangeLog
===================================================================
--- branches/Geany-0_19_1/ChangeLog 2010-08-11 12:45:22 UTC (rev 5131)
+++ branches/Geany-0_19_1/ChangeLog 2010-08-11 12:50:38 UTC (rev 5132)
@@ -1,3 +1,11 @@
+2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/plugindata.h, src/plugins.c, doc/plugins.dox:
+ Fix not loading plugins built against a newer API when Geany doesn't
+ provide the required version given in PLUGIN_VERSION_CHECK().
+ Improve documentation for PLUGIN_VERSION_CHECK().
+
+
2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c:
Modified: branches/Geany-0_19_1/doc/plugins.dox
===================================================================
--- branches/Geany-0_19_1/doc/plugins.dox 2010-08-11 12:45:22 UTC (rev 5131)
+++ branches/Geany-0_19_1/doc/plugins.dox 2010-08-11 12:50:38 UTC (rev 5132)
@@ -43,7 +43,7 @@
* @section pluginsupport Plugin Support
* - @link howto Plugin HowTo @endlink - get started
* - @link pluginsymbols.c Plugin Symbols @endlink
- * - @link plugindata.h Main Datatypes and Macros @endlink
+ * - @link plugindata.h Plugin Datatypes and Macros @endlink
* - @link signals Plugin Signals @endlink
* - @link pluginutils.h Plugin Utility Functions @endlink
* - @link guidelines Plugin Writing Guidelines @endlink
Modified: branches/Geany-0_19_1/src/plugindata.h
===================================================================
--- branches/Geany-0_19_1/src/plugindata.h 2010-08-11 12:45:22 UTC (rev 5131)
+++ branches/Geany-0_19_1/src/plugindata.h 2010-08-11 12:50:38 UTC (rev 5132)
@@ -59,18 +59,20 @@
GEANY_ABI_VERSION = 66
};
-/** Checks the plugin can be loaded by Geany.
+/** Defines a function to check the plugin is safe to load.
* This performs runtime checks that try to ensure:
* - Geany ABI data types are compatible with this plugin.
- * - Geany sources provide the required API for this plugin. */
+ * - Geany sources provide the required API for this plugin.
+ * @param api_required The minimum API number your plugin requires.
+ * Look at the source for the value of @c GEANY_API_VERSION to use if you
+ * want your plugin to require the current Geany version on your machine.
+ * You should update this value when using any new API features. */
#define PLUGIN_VERSION_CHECK(api_required) \
gint plugin_version_check(gint abi_ver) \
{ \
if (abi_ver != GEANY_ABI_VERSION) \
return -1; \
- if (GEANY_API_VERSION < (api_required)) \
- return (api_required); \
- else return 0; \
+ return (api_required); \
}
Modified: branches/Geany-0_19_1/src/plugins.c
===================================================================
--- branches/Geany-0_19_1/src/plugins.c 2010-08-11 12:45:22 UTC (rev 5131)
+++ branches/Geany-0_19_1/src/plugins.c 2010-08-11 12:50:38 UTC (rev 5132)
@@ -467,7 +467,7 @@
"release of Geany - recompile it.", g_module_name(module));
return FALSE;
}
- if (result > 0)
+ if (result > GEANY_API_VERSION)
{
geany_debug("Plugin \"%s\" requires a newer version of Geany (API >= v%d).",
g_module_name(module), result);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5130
http://geany.svn.sourceforge.net/geany/?rev=5130&view=rev
Author: ntrel
Date: 2010-08-11 12:33:31 +0000 (Wed, 11 Aug 2010)
Log Message:
-----------
Reorder Focus keybindings.
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/geany.html
trunk/doc/geany.txt
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-08-10 20:48:10 UTC (rev 5129)
+++ trunk/ChangeLog 2010-08-11 12:33:31 UTC (rev 5130)
@@ -1,10 +1,16 @@
+2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * doc/geany.txt, doc/geany.html:
+ Reorder Focus keybindings.
+
+
2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* autogen.sh:
- Applying a patch by Erik de Castro Lopo for checking against
+ Applying a patch by Erik de Castro Lopo for checking against
pkg-config when running autogen.sh. Thanks for the patch.
* src/log.c:
- Applying a patch by Colomban Wendling to print out log domains.
+ Applying a patch by Colomban Wendling to print out log domains.
Thanks.
Modified: trunk/doc/geany.html
===================================================================
--- trunk/doc/geany.html 2010-08-10 20:48:10 UTC (rev 5129)
+++ trunk/doc/geany.html 2010-08-11 12:33:31 UTC (rev 5130)
@@ -6,7 +6,7 @@
<meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
<title>Geany</title>
<meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" />
-<meta name="date" content="2010-07-09" />
+<meta name="date" content="2010-08-10" />
<style type="text/css">
/*
@@ -139,7 +139,7 @@
<br />Nick Treleaven
<br />Frank Lanitz</td></tr>
<tr><th class="docinfo-name">Date:</th>
-<td>2010-07-09</td></tr>
+<td>2010-08-10</td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>0.20</td></tr>
</tbody>
@@ -3827,22 +3827,14 @@
Also reshows the document statistics line
(after a short timeout).</td>
</tr>
-<tr><td>Switch to Scribble</td>
-<td>F6</td>
-<td>Switches to scribble widget.</td>
-</tr>
-<tr><td>Switch to VTE</td>
-<td>F4</td>
-<td>Switches to VTE widget.</td>
-</tr>
<tr><td>Switch to Search Bar</td>
<td>F7</td>
<td>Switches to the search bar in the toolbar (if
visible).</td>
</tr>
-<tr><td>Switch to Sidebar</td>
+<tr><td>Switch to Message Window</td>
<td> </td>
-<td>Focus the Sidebar.</td>
+<td>Focus the Message Window's current tab.</td>
</tr>
<tr><td>Switch to Compiler</td>
<td> </td>
@@ -3852,20 +3844,28 @@
<td> </td>
<td>Focus the Messages message window tab.</td>
</tr>
-<tr><td>Switch to Message Window</td>
-<td> </td>
-<td>Focus the Message Window's current tab.</td>
+<tr><td>Switch to Scribble</td>
+<td>F6</td>
+<td>Switches to scribble widget.</td>
</tr>
-<tr><td>Switch to Sidebar Document List</td>
+<tr><td>Switch to VTE</td>
+<td>F4</td>
+<td>Switches to VTE widget.</td>
+</tr>
+<tr><td>Switch to Sidebar</td>
<td> </td>
-<td>Focus the Document list tab in the Sidebar
-(if visible).</td>
+<td>Focus the Sidebar.</td>
</tr>
<tr><td>Switch to Sidebar Symbol List</td>
<td> </td>
<td>Focus the Symbol list tab in the Sidebar
(if visible).</td>
</tr>
+<tr><td>Switch to Sidebar Document List</td>
+<td> </td>
+<td>Focus the Document list tab in the Sidebar
+(if visible).</td>
+</tr>
</tbody>
</table>
</div>
@@ -6143,7 +6143,7 @@
<div class="footer">
<hr class="footer" />
<a class="reference" href="geany.txt">View document source</a>.
-Generated on: 2010-07-09 15:38 UTC.
+Generated on: 2010-08-11 11:54 UTC.
Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
</div>
Modified: trunk/doc/geany.txt
===================================================================
--- trunk/doc/geany.txt 2010-08-10 20:48:10 UTC (rev 5129)
+++ trunk/doc/geany.txt 2010-08-11 12:33:31 UTC (rev 5130)
@@ -3263,26 +3263,26 @@
Also reshows the document statistics line
(after a short timeout).
-Switch to Scribble F6 Switches to scribble widget.
-
-Switch to VTE F4 Switches to VTE widget.
-
Switch to Search Bar F7 Switches to the search bar in the toolbar (if
visible).
-Switch to Sidebar Focus the Sidebar.
+Switch to Message Window Focus the Message Window's current tab.
Switch to Compiler Focus the Compiler message window tab.
Switch to Messages Focus the Messages message window tab.
-Switch to Message Window Focus the Message Window's current tab.
+Switch to Scribble F6 Switches to scribble widget.
-Switch to Sidebar Document List Focus the Document list tab in the Sidebar
- (if visible).
+Switch to VTE F4 Switches to VTE widget.
+Switch to Sidebar Focus the Sidebar.
+
Switch to Sidebar Symbol List Focus the Symbol list tab in the Sidebar
(if visible).
+
+Switch to Sidebar Document List Focus the Document list tab in the Sidebar
+ (if visible).
================================ ========================= ==================================================
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5129
http://geany.svn.sourceforge.net/geany/?rev=5129&view=rev
Author: frlan
Date: 2010-08-10 20:48:10 +0000 (Tue, 10 Aug 2010)
Log Message:
-----------
Applying a patch by Colomban Wendling to print out log domains. Thanks.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/log.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-08-10 20:42:42 UTC (rev 5128)
+++ trunk/ChangeLog 2010-08-10 20:48:10 UTC (rev 5129)
@@ -2,7 +2,10 @@
* autogen.sh:
Applying a patch by Erik de Castro Lopo for checking against
- pkg-config when running autogen.sh. Thanks for the patch.
+ pkg-config when running autogen.sh. Thanks for the patch.
+ * src/log.c:
+ Applying a patch by Colomban Wendling to print out log domains.
+ Thanks.
2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/log.c
===================================================================
--- trunk/src/log.c 2010-08-10 20:42:42 UTC (rev 5128)
+++ trunk/src/log.c 2010-08-10 20:48:10 UTC (rev 5129)
@@ -136,7 +136,8 @@
time_str = utils_get_current_time_string();
- g_string_append_printf(log_buffer, "%s: %s: %s\n", time_str, get_log_prefix(level), msg);
+ g_string_append_printf(log_buffer, "%s: %s %s: %s\n", time_str, domain,
+ get_log_prefix(level), msg);
g_free(time_str);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5128
http://geany.svn.sourceforge.net/geany/?rev=5128&view=rev
Author: frlan
Date: 2010-08-10 20:42:42 +0000 (Tue, 10 Aug 2010)
Log Message:
-----------
Applying a patch by Erik de Castro Lopo for checking against pkg-config when running autogen.sh.
Modified Paths:
--------------
trunk/ChangeLog
trunk/autogen.sh
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-08-10 16:53:40 UTC (rev 5127)
+++ trunk/ChangeLog 2010-08-10 20:42:42 UTC (rev 5128)
@@ -1,3 +1,10 @@
+2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+
+ * autogen.sh:
+ Applying a patch by Erik de Castro Lopo for checking against
+ pkg-config when running autogen.sh. Thanks for the patch.
+
+
2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
Modified: trunk/autogen.sh
===================================================================
--- trunk/autogen.sh 2010-08-10 16:53:40 UTC (rev 5127)
+++ trunk/autogen.sh 2010-08-10 20:42:42 UTC (rev 5128)
@@ -44,6 +44,14 @@
}
}
+(pkg-config --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "You must have pkg-config installed to compile $package."
+ echo "Download the appropriate package for your distribution."
+ result="no"
+ DIE=1
+}
+
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`automake' (1.7 or later) installed."
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5127
http://geany.svn.sourceforge.net/geany/?rev=5127&view=rev
Author: ntrel
Date: 2010-08-10 16:53:40 +0000 (Tue, 10 Aug 2010)
Log Message:
-----------
Create branch for 0.19.1 release (copied from 0.19).
Added Paths:
-----------
branches/Geany-0_19_1/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.