Revision: 4865
http://geany.svn.sourceforge.net/geany/?rev=4865&view=rev
Author: ntrel
Date: 2010-04-28 12:49:09 +0000 (Wed, 28 Apr 2010)
Log Message:
-----------
Add Folding section link to filetypes.common custom settings.
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/geany.html
trunk/doc/geany.txt
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-04-27 15:09:34 UTC (rev 4864)
+++ trunk/ChangeLog 2010-04-28 12:49:09 UTC (rev 4865)
@@ -1,3 +1,9 @@
+2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * doc/geany.txt, doc/geany.html:
+ Add Folding section link to filetypes.common custom settings.
+
+
2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Modified: trunk/doc/geany.html
===================================================================
--- trunk/doc/geany.html 2010-04-27 15:09:34 UTC (rev 4864)
+++ trunk/doc/geany.html 2010-04-28 12:49:09 UTC (rev 4865)
@@ -1144,6 +1144,11 @@
marked by vertical lines within this margin. For many filetypes nested
folding is supported, so there may be several fold points within other
fold points.</p>
+<div class="note">
+<p class="first admonition-title">Note</p>
+<p class="last">You can customize the folding icon and line styles - see the
+filetypes.common <a class="reference" href="#folding-settings">Folding Settings</a>.</p>
+</div>
<p>If you don't like it or don't need it at all, you can simply disable
folding support completely in the preferences dialog.</p>
<p>The folding behaviour can be changed with the "Fold/Unfold all children of
@@ -4439,6 +4444,8 @@
The fourth argument defines whether to use the background color.</p>
<p class="last"><em>Example:</em> <tt class="docutils literal"><span class="pre">white_space=0xc0c0c0;0xffffff;true;true</span></tt></p>
</dd>
+</dl>
+<dl class="docutils" id="folding-settings">
<dt>folding_style</dt>
<dd><p class="first">The style of folding icons. Only first and second arguments are
used.</p>
@@ -4455,8 +4462,8 @@
<li>1 -- for straight lines</li>
<li>2 -- for curved lines</li>
</ul>
-<p><em>Example:</em> <tt class="docutils literal"><span class="pre">folding_style=1;1;</span></tt></p>
-<p class="last"><em>Example:</em> <tt class="docutils literal"><span class="pre">folding_style=3;0;</span></tt></p>
+<p><em>Default:</em> <tt class="docutils literal"><span class="pre">folding_style=1;1;</span></tt></p>
+<p class="last"><em>Arrows:</em> <tt class="docutils literal"><span class="pre">folding_style=3;0;</span></tt></p>
</dd>
<dt>folding_horiz_line</dt>
<dd><p class="first">Draw a thin horizontal line at the line where text is folded. Only
@@ -6005,7 +6012,7 @@
<div class="footer">
<hr class="footer" />
<a class="reference" href="geany.txt">View document source</a>.
-Generated on: 2010-04-22 16:49 UTC.
+Generated on: 2010-04-28 12:47 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-04-27 15:09:34 UTC (rev 4864)
+++ trunk/doc/geany.txt 2010-04-28 12:49:09 UTC (rev 4865)
@@ -714,6 +714,10 @@
folding is supported, so there may be several fold points within other
fold points.
+.. note::
+ You can customize the folding icon and line styles - see the
+ filetypes.common `Folding Settings`_.
+
If you don't like it or don't need it at all, you can simply disable
folding support completely in the preferences dialog.
@@ -3799,6 +3803,8 @@
*Example:* ``white_space=0xc0c0c0;0xffffff;true;true``
+.. _Folding Settings:
+
folding_style
The style of folding icons. Only first and second arguments are
used.
@@ -3816,9 +3822,9 @@
* 1 -- for straight lines
* 2 -- for curved lines
- *Example:* ``folding_style=1;1;``
+ *Default:* ``folding_style=1;1;``
- *Example:* ``folding_style=3;0;``
+ *Arrows:* ``folding_style=3;0;``
folding_horiz_line
Draw a thin horizontal line at the line where text is folded. Only
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4864
http://geany.svn.sourceforge.net/geany/?rev=4864&view=rev
Author: eht16
Date: 2010-04-27 15:09:34 +0000 (Tue, 27 Apr 2010)
Log Message:
-----------
When switching documents, don't call document_set_text_changed() as this does much more than necessary. Instead call the necessary UI update functions explicitly.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/callbacks.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-04-27 11:52:51 UTC (rev 4863)
+++ trunk/ChangeLog 2010-04-27 15:09:34 UTC (rev 4864)
@@ -1,3 +1,11 @@
+2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/callbacks.c:
+ When switching documents, don't call document_set_text_changed()
+ as this does much more than necessary. Instead call the necessary
+ UI update functions explicitly.
+
+
2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/vstring.c:
Modified: trunk/src/callbacks.c
===================================================================
--- trunk/src/callbacks.c 2010-04-27 11:52:51 UTC (rev 4863)
+++ trunk/src/callbacks.c 2010-04-27 15:09:34 UTC (rev 4864)
@@ -687,7 +687,9 @@
if (doc != NULL)
{
sidebar_select_openfiles_item(doc);
- document_set_text_changed(doc, doc->changed); /* also sets window title and status bar */
+ ui_save_buttons_toggle(doc->changed);
+ ui_set_window_title(doc);
+ ui_update_statusbar(doc, -1);
ui_update_popup_reundo_items(doc);
ui_document_show_hide(doc); /* update the document menu */
build_menu_update(doc);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4860
http://geany.svn.sourceforge.net/geany/?rev=4860&view=rev
Author: eht16
Date: 2010-04-25 17:42:56 +0000 (Sun, 25 Apr 2010)
Log Message:
-----------
Fix broken opening URLs e.g. when using the 'builtin' Run command.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/win32.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-04-25 17:42:43 UTC (rev 4859)
+++ trunk/ChangeLog 2010-04-25 17:42:56 UTC (rev 4860)
@@ -6,6 +6,7 @@
* src/win32.c:
Change the limit for the command line length when executing commands
to a maximum of 32768 characters (closes #2979697).
+ Fix broken opening URLs e.g. when using the 'builtin' Run command.
* tagmanager/ctags.c:
Change eFree() to simply ignore NULL pointers instead of asserting.
* src/main.c:
Modified: trunk/src/win32.c
===================================================================
--- trunk/src/win32.c 2010-04-25 17:42:43 UTC (rev 4859)
+++ trunk/src/win32.c 2010-04-25 17:42:56 UTC (rev 4860)
@@ -700,8 +700,11 @@
if (strncmp(uri, "file://", 7) == 0)
{
uri += 7;
- while (*uri == '/')
- uri++;
+ if (strchr(uri, ':') != NULL)
+ {
+ while (*uri == '/')
+ uri++;
+ }
}
ShellExecute(NULL, "open", uri, NULL, NULL, SW_SHOWNORMAL);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4859
http://geany.svn.sourceforge.net/geany/?rev=4859&view=rev
Author: eht16
Date: 2010-04-25 17:42:43 +0000 (Sun, 25 Apr 2010)
Log Message:
-----------
Remove malloc() fallback since we completely rely on g_malloc() nowadays.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/main.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-04-25 17:42:33 UTC (rev 4858)
+++ trunk/ChangeLog 2010-04-25 17:42:43 UTC (rev 4859)
@@ -8,6 +8,9 @@
to a maximum of 32768 characters (closes #2979697).
* tagmanager/ctags.c:
Change eFree() to simply ignore NULL pointers instead of asserting.
+ * src/main.c:
+ Remove malloc() fallback since we completely rely on g_malloc()
+ nowadays.
2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c 2010-04-25 17:42:33 UTC (rev 4858)
+++ trunk/src/main.c 2010-04-25 17:42:43 UTC (rev 4859)
@@ -1209,19 +1209,6 @@
}
-/* malloc compatibility code */
-#undef malloc
-void *malloc(size_t n);
-
-/* Allocate an N-byte block of memory from the heap. If N is zero, allocate a 1-byte block. */
-void *rpl_malloc(size_t n)
-{
- if (n == 0)
- n = 1;
- return malloc(n);
-}
-
-
/**
* Reloads most of Geany's configuration files without restarting. Currently the following
* files are reloaded: all template files, also new file templates and the 'New (with template)'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.