Branch: refs/heads/master
Author: Colomban Wendling <lists.ban(a)herbesfolles.org>
Committer: Colomban Wendling <lists.ban(a)herbesfolles.org>
Date: Wed, 20 Jun 2012 20:39:39
Commit: badcfcf8d8f6e4f835dbb6641b061c89e2022ed6
https://github.com/geany/geany-plugins/commit/badcfcf8d8f6e4f835dbb6641b061…
Log Message:
-----------
Merge pull request #45 from frlan/treebrowser_c90_changes
A few fixes for TreeBrowser to follow C89 standard
Modified Paths:
--------------
treebrowser/src/treebrowser.c
Modified: treebrowser/src/treebrowser.c
12 files changed, 6 insertions(+), 6 deletions(-)
===================================================================
@@ -335,9 +335,9 @@ enum
static gboolean
check_hidden(const gchar *filename)
{
+ gsize len;
const gchar *base_name = NULL;
base_name = g_path_get_basename(filename);
- gsize len;
if (! NZV(base_name))
return FALSE;
@@ -1005,14 +1005,14 @@ enum
if (gtk_tree_selection_get_selected(selection, &model, &iter))
{
gtk_tree_model_get(model, &iter, TREEBROWSER_COLUMN_URI, &uri, -1);
- // If not a directory, find parent directory
+ /* If not a directory, find parent directory */
if (! g_file_test(uri, G_FILE_TEST_IS_DIR))
{
path_parent = gtk_tree_model_get_path(GTK_TREE_MODEL(treestore), &iter);
- // Set iter from parent_path
+ /* Set iter from parent_path */
if (gtk_tree_path_up(path_parent) &&
gtk_tree_model_get_iter(GTK_TREE_MODEL(treestore), &iter, path_parent))
- // Set URI from new iter
+ /* Set URI from new iter */
gtk_tree_model_get(model, &iter, TREEBROWSER_COLUMN_URI, &uri, -1);
else
refresh_root = TRUE;
@@ -1392,13 +1392,13 @@ enum
if (event->button == 3)
{
- // Get tree path for row that was clicked
+ /* Get tree path for row that was clicked */
if (gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(treeview),
(gint) event->x,
(gint) event->y,
&path, NULL, NULL, NULL))
{
- // Unselect current selection; select clicked row from path
+ /* Unselect current selection; select clicked row from path */
gtk_tree_selection_unselect_all(selection);
gtk_tree_selection_select_path(selection, path);
gtk_tree_path_free(path);
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
Branch: refs/heads/master
Author: Frank Lanitz <frank(a)frank.uvena.de>
Committer: Frank Lanitz <frank(a)frank.uvena.de>
Date: Wed, 20 Jun 2012 15:46:10
Commit: 8c4a9b3904ed4762b6d178607278508aedcf8b22
https://github.com/geany/geany-plugins/commit/8c4a9b3904ed4762b6d1786072785…
Log Message:
-----------
Treebrowser: Don't use C99 comments
Modified Paths:
--------------
treebrowser/src/treebrowser.c
Modified: treebrowser/src/treebrowser.c
10 files changed, 5 insertions(+), 5 deletions(-)
===================================================================
@@ -1005,14 +1005,14 @@ enum
if (gtk_tree_selection_get_selected(selection, &model, &iter))
{
gtk_tree_model_get(model, &iter, TREEBROWSER_COLUMN_URI, &uri, -1);
- // If not a directory, find parent directory
+ /* If not a directory, find parent directory */
if (! g_file_test(uri, G_FILE_TEST_IS_DIR))
{
path_parent = gtk_tree_model_get_path(GTK_TREE_MODEL(treestore), &iter);
- // Set iter from parent_path
+ /* Set iter from parent_path */
if (gtk_tree_path_up(path_parent) &&
gtk_tree_model_get_iter(GTK_TREE_MODEL(treestore), &iter, path_parent))
- // Set URI from new iter
+ /* Set URI from new iter */
gtk_tree_model_get(model, &iter, TREEBROWSER_COLUMN_URI, &uri, -1);
else
refresh_root = TRUE;
@@ -1392,13 +1392,13 @@ enum
if (event->button == 3)
{
- // Get tree path for row that was clicked
+ /* Get tree path for row that was clicked */
if (gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(treeview),
(gint) event->x,
(gint) event->y,
&path, NULL, NULL, NULL))
{
- // Unselect current selection; select clicked row from path
+ /* Unselect current selection; select clicked row from path */
gtk_tree_selection_unselect_all(selection);
gtk_tree_selection_select_path(selection, path);
gtk_tree_path_free(path);
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
Branch: refs/heads/master
Author: Dimitar Zhekov <dimitar.zhekov(a)gmail.com>
Committer: Dimitar Zhekov <dimitar.zhekov(a)gmail.com>
Date: Tue, 19 Jun 2012 17:01:44
Commit: fc7120bf764052f39b451ba8727fb8fba90e9c91
https://github.com/geany/geany-plugins/commit/fc7120bf764052f39b451ba8727fb…
Log Message:
-----------
Fixed geany extrasel and insertnum Installation instructions
Clarified geany extrasel scintilla issues a bit
Modified Paths:
--------------
geanyextrasel/README
geanyinsertnum/README
Modified: geanyextrasel/README
25 files changed, 9 insertions(+), 16 deletions(-)
===================================================================
@@ -29,17 +29,8 @@ Geany 0.19 or later and the respective headers and development libraries.
Installation
------------
-Compiling and installing the code is done by the following three
-commands:
-
-$ ./waf configure
-$ ./waf build
-$ ./waf install
-
-For more configuration details run
-$ ./waf --help
-
-If there are any errors during compilation, check your build environment.
+This plugin is part of the geany-plugins project.
+See the README file of that package.
Usage
@@ -94,13 +85,15 @@ Alt-Shift-F12. Now:
Known issues
------------
-If the cursor is on a large line number, converting a stream selection to
-rectangular may cause a noticable delay. This is scintilla-related; with
-the newest scintilla versions (r3465+), the delay is much smaller.
+Rectangular selection of more than a few thousand lines is slow, so you
+may prefer to use stream selection and convert it to rectangular. However,
+if the cursor is on a large line number, such conversion may cause a
+noticable delay. Both issues are scintilla related and can not be fixed by
+this plugin.
If you set the anchor beyond a line end (in the "virtual space"), and edit
-the text before it, the anchor will be moved to the line end. Not a big
-issue, and tracking a virtual position is impossible in scintilla.
+the text before it, the anchor will be moved to the line end. Tracking a
+virtual (after EOLN) cursor position is impossible in scintilla.
License
Modified: geanyinsertnum/README
13 files changed, 2 insertions(+), 11 deletions(-)
===================================================================
@@ -16,17 +16,8 @@ Geany 0.19 or later and the respective headers and development libraries.
Installation
------------
-Compiling and installing the code is done by the following three
-commands:
-
-$ ./waf configure
-$ ./waf build
-$ ./waf install
-
-For more configuration details run
-$ ./waf --help
-
-If there are any errors during compilation, check your build environment.
+This plugin is part of the geany-plugins project.
+See the README file of that package.
Usage
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).