Revision: 4242
http://geany.svn.sourceforge.net/geany/?rev=4242&view=rev
Author: ntrel
Date: 2009-09-27 12:06:08 +0000 (Sun, 27 Sep 2009)
Log Message:
-----------
Warn that plugin_configure_single() does not integrate as well with the multiple-plugin dialog.
Modified Paths:
--------------
trunk/doc/pluginsymbols.c
Modified: trunk/doc/pluginsymbols.c
===================================================================
--- trunk/doc/pluginsymbols.c 2009-09-27 12:01:36 UTC (rev 4241)
+++ trunk/doc/pluginsymbols.c 2009-09-27 12:06:08 UTC (rev 4242)
@@ -88,7 +88,8 @@
/** Called when a plugin should show a preferences dialog, if plugin_configure() has not been
* implemented.
- * @note It's better to implement plugin_configure() instead, but this is simpler.
+ * @warning It's better to implement plugin_configure() instead, but this is simpler.
+ * This does not integrate as well with the multiple-plugin dialog.
* @param parent Pass this as the parent widget if showing a dialog.
* @see plugin_configure(). */
void plugin_configure_single(GtkWidget *parent);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4240
http://geany.svn.sourceforge.net/geany/?rev=4240&view=rev
Author: ntrel
Date: 2009-09-27 11:20:12 +0000 (Sun, 27 Sep 2009)
Log Message:
-----------
Use AC_PATH_PROG instead of which for portability (patch by Erik
Southworth, thanks).
Modified Paths:
--------------
trunk/ChangeLog
trunk/configure.in
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-09-27 11:06:04 UTC (rev 4239)
+++ trunk/ChangeLog 2009-09-27 11:20:12 UTC (rev 4240)
@@ -5,6 +5,9 @@
visible (patch by Eugene Arshinov, thanks).
* src/callbacks.c:
Focus editor after entering a number in the goto line toolbar entry.
+ * configure.in:
+ Use AC_PATH_PROG instead of which for portability (patch by Erik
+ Southworth, thanks).
2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2009-09-27 11:06:04 UTC (rev 4239)
+++ trunk/configure.in 2009-09-27 11:20:12 UTC (rev 4240)
@@ -17,9 +17,10 @@
AC_PROG_CXX
# check for C++ compiler explicitly and fail if none is found, do this check
# after AC_PROG_CXX has set the CXX environment variable
-which $CXX >/dev/null 2>&1
-if test "x$?" != "x0"; then
- AC_MSG_ERROR([No C++ compiler not found. Please install a C++ compiler.])
+AC_PATH_PROG([CXXCOMPILER], [$CXX])
+if ! test -x "${CXXCOMPILER}"
+then
+ AC_MSG_ERROR([No C++ compiler found. Please install a C++ compiler.])
fi
#AC_PROG_RANLIB
@@ -50,7 +51,7 @@
# get svn revision (try GIT first, then check for SVN)
REVISION="r0"
-GIT=`which git 2>/dev/null`
+AC_PATH_PROG([GIT], [git])
if test -d ".git" -a "x${GIT}" != "x" -a -x "${GIT}"
then
REVISION=r`git svn find-rev origin/trunk 2>/dev/null ||
@@ -59,7 +60,7 @@
fi
if test "x${REVISION}" = "xr0"
then
- SVN=`which svn 2>/dev/null`
+ AC_PATH_PROG([SVN], [svn])
if test -d ".svn" -a "x${SVN}" != "x" -a -x "${SVN}"
then
REVISION=r`$SVN info|grep 'Last Changed Rev'|cut -d' ' -f4`
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4239
http://geany.svn.sourceforge.net/geany/?rev=4239&view=rev
Author: ntrel
Date: 2009-09-27 11:06:04 +0000 (Sun, 27 Sep 2009)
Log Message:
-----------
Focus editor after entering a number in the goto line toolbar entry.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/callbacks.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-09-27 10:54:34 UTC (rev 4238)
+++ trunk/ChangeLog 2009-09-27 11:06:04 UTC (rev 4239)
@@ -3,6 +3,8 @@
* src/keybindings.c:
Only focus toolbar goto line entry when pressing keybinding if it's
visible (patch by Eugene Arshinov, thanks).
+ * src/callbacks.c:
+ Focus editor after entering a number in the goto line toolbar entry.
2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/callbacks.c
===================================================================
--- trunk/src/callbacks.c 2009-09-27 10:54:34 UTC (rev 4238)
+++ trunk/src/callbacks.c 2009-09-27 11:06:04 UTC (rev 4239)
@@ -1279,6 +1279,8 @@
if (! editor_goto_line(doc->editor, atoi(text) - 1))
utils_beep();
+ else
+ keybindings_send_command(GEANY_KEY_GROUP_FOCUS, GEANY_KEYS_FOCUS_EDITOR);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4238
http://geany.svn.sourceforge.net/geany/?rev=4238&view=rev
Author: ntrel
Date: 2009-09-27 10:54:34 +0000 (Sun, 27 Sep 2009)
Log Message:
-----------
Update for 1 contributor.
Modified Paths:
--------------
trunk/src/about.c
Modified: trunk/src/about.c
===================================================================
--- trunk/src/about.c 2009-09-27 10:51:44 UTC (rev 4237)
+++ trunk/src/about.c 2009-09-27 10:54:34 UTC (rev 4238)
@@ -84,7 +84,7 @@
"Chris Macksey, Christoph Berg, Colomban Wendling, Conrad Steenberg, Daniel Richard G., Dave Moore, Dirk Weber, "
"Elias Pschernig, Eric Forgeot, Eugene Arshinov, Felipe Pena, François Cami, "
"Giuseppe Torelli, Guillaume de Rorthais, Guillaume Hoffmann, Herbert Voss, Jason Oster, Jean-François Wauthy, Jeff Pohlmeyer, "
-"Jesse Mayes, John Gabriele, Jon Strait, Josef Whiter, Kevin Ellwood, Kristoffer A. Tjernås, Marko Peric, Matti Mårds, Moritz Barsnick, "
+"Jesse Mayes, John Gabriele, Jon Strait, Josef Whiter, Kevin Ellwood, Kristoffer A. Tjernås, Lex Trotman, Marko Peric, Matti Mårds, Moritz Barsnick, "
"Peter Strand, Philipp Gildein, Pierre Joye, Rob van der Linde, Robert McGinley, Roland Baudin, Ross McKay, S Jagannathan, Saleem Abdulrasool, "
"Sebastian Kraft, Shiv, Slava Semushin, Stefan Oltmanns, Tamim, Thomas Martitz, Tomás Vírseda, "
"Tyler Mulligan, Walery Studennikov, Yura Siamashka";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4236
http://geany.svn.sourceforge.net/geany/?rev=4236&view=rev
Author: eht16
Date: 2009-09-24 17:15:43 +0000 (Thu, 24 Sep 2009)
Log Message:
-----------
Update VBScrpt keywords (patch by Ross McKay, thanks).
Modified Paths:
--------------
trunk/ChangeLog
trunk/data/filetypes.xml
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-09-24 17:12:36 UTC (rev 4235)
+++ trunk/ChangeLog 2009-09-24 17:15:43 UTC (rev 4236)
@@ -4,6 +4,8 @@
Add "html_asp_default_language" pseudo style to filetypes.xml
to allow setting the used language in embedded ASP code
(patch by Ross McKay, thanks).
+ * src/filetypes.xml:
+ Update VBScrpt keywords (patch by Ross McKay, thanks).
2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/data/filetypes.xml
===================================================================
--- trunk/data/filetypes.xml 2009-09-24 17:12:36 UTC (rev 4235)
+++ trunk/data/filetypes.xml 2009-09-24 17:15:43 UTC (rev 4236)
@@ -81,7 +81,7 @@
[keywords]
html=a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center cite code col colgroup dd del dfn dir div dl dt em embed fieldset font form frame frameset h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label legend li link map menu meta noframes noscript object ol optgroup option p param pre q quality s samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead title tr tt u ul var xmlns leftmargin topmargin abbr accept-charset accept accesskey action align alink alt archive axis background bgcolor border cellpadding cellspacing char charoff charset checked cite class classid clear codebase codetype color cols colspan compact content coords data datafld dataformatas datapagesize datasrc datetime declare defer dir disabled enctype face for frame frameborder selected headers height href hreflang hspace http-equiv id ismap label lang language link longdesc marginwidth marginheight maxlength media framespacing method multiple name nohref noresize noshade nowrap object onblur onchange onclick ondblclick onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseover onmouseout onmouseup onreset onselect onsubmit onunload profile prompt pluginspage readonly rel rev rows rowspan rules scheme scope scrolling shape size span src standby start style summary tabindex target text title type usemap valign value valuetype version vlink vspace width text password checkbox radio submit reset file hidden image public doctype xml xml:lang
javascript=abs abstract acos anchor asin atan atan2 big bold boolean break byte case catch ceil char charAt charCodeAt class concat const continue cos Date debugger default delete do double else enum escape eval exp export extends false final finally fixed float floor fontcolor fontsize for fromCharCode function goto if implements import in indexOf Infinity instanceof int interface isFinite isNaN italics join lastIndexOf length link log long Math max MAX_VALUE min MIN_VALUE NaN native NEGATIVE_INFINITY new null Number package parseFloat parseInt pop POSITIVE_INFINITY pow private protected public push random return reverse round shift short sin slice small sort splice split sqrt static strike string String sub substr substring sup super switch synchronized tan this throw throws toLowerCase toString toUpperCase transient true try typeof undefined unescape unshift valueOf var void volatile while with
-vbscript=and as byref byval case call const continue dim do each else elseif end error exit false for function global goto if in loop me new next not nothing on optional or private public redim rem resume select set sub then to true type while with boolean byte currency date double integer long object single string type variant
+vbscript=and as boolean byref byte byval call case class const continue currency date dim do double each else elseif empty end error exit false for function get global goto if in integer long loop me new next not nothing object on optional or private property public put redim rem resume select set single string sub then to true type until variant wend while with
python=and assert break class continue complex def del elif else except exec finally for from global if import in inherit is int lambda not or pass print raise return tuple try unicode while yield long float str list
php=abstract and array as bool boolean break case catch cfunction __class__ class clone const continue declare default die __dir__ directory do double echo else elseif empty enddeclare endfor endforeach endif endswitch endwhile eval exception exit extends false __file__ final float for foreach __function__ function goto global if implements include include_once int integer interface isset __line__ list __method__ namespace __namespace__ new null object old_function or parent php_user_filter print private protected public real require require_once resource return __sleep static stdclass string switch this throw true try unset use var __wakeup while xor
sgml=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4235
http://geany.svn.sourceforge.net/geany/?rev=4235&view=rev
Author: eht16
Date: 2009-09-24 17:12:36 +0000 (Thu, 24 Sep 2009)
Log Message:
-----------
Add "html_asp_default_language" pseudo style to filetypes.xml to allow setting the used language in embedded ASP code (patch by Ross McKay, thanks).
Modified Paths:
--------------
trunk/ChangeLog
trunk/THANKS
trunk/data/filetypes.xml
trunk/src/about.c
trunk/src/highlighting.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-09-24 16:54:08 UTC (rev 4234)
+++ trunk/ChangeLog 2009-09-24 17:12:36 UTC (rev 4235)
@@ -1,3 +1,11 @@
+2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
+ Add "html_asp_default_language" pseudo style to filetypes.xml
+ to allow setting the used language in embedded ASP code
+ (patch by Ross McKay, thanks).
+
+
2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, THANKS:
Modified: trunk/THANKS
===================================================================
--- trunk/THANKS 2009-09-24 16:54:08 UTC (rev 4234)
+++ trunk/THANKS 2009-09-24 17:12:36 UTC (rev 4235)
@@ -69,6 +69,7 @@
Jon Strait <jstrait(at)moonloop(dot)net> - Markdown filetype patch
Forgeot Eric <eforgeot(at)yahoo(dot)fr> - Txt2Tags filetype patch
Lex Trotman <elextr<at>gmail<dot>com> - Build commands configuration improvements, and more
+Ross McKay <rosko<at>zeta<dot>org<dot>au> - ASP preferred language option
Translators:
------------
Modified: trunk/data/filetypes.xml
===================================================================
--- trunk/data/filetypes.xml 2009-09-24 16:54:08 UTC (rev 4234)
+++ trunk/data/filetypes.xml 2009-09-24 17:12:36 UTC (rev 4235)
@@ -71,6 +71,13 @@
# for embedded Python script (<script language="python">...</script>), Python styles from
# filetypes.python are used
+# default scripting language for ASP
+# 0x000001 = JavaScript (or leave blank for default)
+# 0x000002 = VBScript
+# 0x000003 = Python
+#html_asp_default_language=0x000002
+
+
[keywords]
html=a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center cite code col colgroup dd del dfn dir div dl dt em embed fieldset font form frame frameset h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label legend li link map menu meta noframes noscript object ol optgroup option p param pre q quality s samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead title tr tt u ul var xmlns leftmargin topmargin abbr accept-charset accept accesskey action align alink alt archive axis background bgcolor border cellpadding cellspacing char charoff charset checked cite class classid clear codebase codetype color cols colspan compact content coords data datafld dataformatas datapagesize datasrc datetime declare defer dir disabled enctype face for frame frameborder selected headers height href hreflang hspace http-equiv id ismap label lang language link longdesc marginwidth marginheight maxlength media framespacing method multiple name nohref noresize noshade nowrap object onblur onchange onclick ondblclick onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseover onmouseout onmouseup onreset onselect onsubmit onunload profile prompt pluginspage readonly rel rev rows rowspan rules scheme scope scrolling shape size span src standby start style summary tabindex target text title type usemap valign value valuetype version vlink vspace width text password checkbox radio submit reset file hidden image public doctype xml xml:lang
javascript=abs abstract acos anchor asin atan atan2 big bold boolean break byte case catch ceil char charAt charCodeAt class concat const continue cos Date debugger default delete do double else enum escape eval exp export extends false final finally fixed float floor fontcolor fontsize for fromCharCode function goto if implements import in indexOf Infinity instanceof int interface isFinite isNaN italics join lastIndexOf length link log long Math max MAX_VALUE min MIN_VALUE NaN native NEGATIVE_INFINITY new null Number package parseFloat parseInt pop POSITIVE_INFINITY pow private protected public push random return reverse round shift short sin slice small sort splice split sqrt static strike string String sub substr substring sup super switch synchronized tan this throw throws toLowerCase toString toUpperCase transient true try typeof undefined unescape unshift valueOf var void volatile while with
Modified: trunk/src/about.c
===================================================================
--- trunk/src/about.c 2009-09-24 16:54:08 UTC (rev 4234)
+++ trunk/src/about.c 2009-09-24 17:12:36 UTC (rev 4235)
@@ -85,7 +85,7 @@
"Elias Pschernig, Eric Forgeot, Eugene Arshinov, Felipe Pena, François Cami, "
"Giuseppe Torelli, Guillaume de Rorthais, Guillaume Hoffmann, Herbert Voss, Jason Oster, Jean-François Wauthy, Jeff Pohlmeyer, "
"Jesse Mayes, John Gabriele, Jon Strait, Josef Whiter, Kevin Ellwood, Kristoffer A. Tjernås, Marko Peric, Matti Mårds, Moritz Barsnick, "
-"Peter Strand, Philipp Gildein, Pierre Joye, Rob van der Linde, Robert McGinley, Roland Baudin, S Jagannathan, Saleem Abdulrasool, "
+"Peter Strand, Philipp Gildein, Pierre Joye, Rob van der Linde, Robert McGinley, Roland Baudin, Ross McKay, S Jagannathan, Saleem Abdulrasool, "
"Sebastian Kraft, Shiv, Slava Semushin, Stefan Oltmanns, Tamim, Thomas Martitz, Tomás Vírseda, "
"Tyler Mulligan, Walery Studennikov, Yura Siamashka";
Modified: trunk/src/highlighting.c
===================================================================
--- trunk/src/highlighting.c 2009-09-24 16:54:08 UTC (rev 4234)
+++ trunk/src/highlighting.c 2009-09-24 17:12:36 UTC (rev 4235)
@@ -1313,7 +1313,7 @@
static void styleset_markup_init(gint ft_id, GKeyFile *config, GKeyFile *config_home)
{
- new_styleset(GEANY_FILETYPES_XML, 56);
+ new_styleset(GEANY_FILETYPES_XML, 57);
get_keyfile_hex(config, config_home, "html_default", 0x000000, 0xffffff, FALSE, &style_sets[GEANY_FILETYPES_XML].styling[0]);
get_keyfile_hex(config, config_home, "html_tag", 0x000099, 0xffffff, FALSE, &style_sets[GEANY_FILETYPES_XML].styling[1]);
get_keyfile_hex(config, config_home, "html_tagunknown", 0xff0000, 0xffffff, FALSE, &style_sets[GEANY_FILETYPES_XML].styling[2]);
@@ -1373,6 +1373,8 @@
get_keyfile_hex(config, config_home, "jscript_symbols", 0x301010, 0xffffff, FALSE, &style_sets[GEANY_FILETYPES_XML].styling[53]);
get_keyfile_hex(config, config_home, "jscript_stringeol", 0x000000, 0xe0c0e0, FALSE, &style_sets[GEANY_FILETYPES_XML].styling[54]);
get_keyfile_hex(config, config_home, "jscript_regex", 0x105090, 0xffffff, FALSE, &style_sets[GEANY_FILETYPES_XML].styling[55]);
+ /* custom hack for asp.default.language setting, uses foreground only */
+ get_keyfile_hex(config, config_home, "html_asp_default_language", 0x000001, 0x000000, FALSE, &style_sets[GEANY_FILETYPES_XML].styling[56]);
style_sets[GEANY_FILETYPES_XML].keywords = g_new(gchar*, 7);
get_keyfile_keywords(config, config_home, "html", GEANY_FILETYPES_XML, 0, "a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center cite code col colgroup dd del dfn dir div dl dt em embed fieldset font form frame frameset h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label legend li link map menu meta noframes noscript object ol optgroup option p param pre q quality s samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead title tr tt u ul var xmlns leftmargin topmargin abbr accept-charset accept accesskey action align alink alt archive axis background bgcolor border cellpadding cellspacing char charoff charset checked cite class classid clear codebase codetype color cols colspan compact content coords data datafld dataformatas datapagesize datasrc datetime declare defer dir disabled enctype face for frame frameborder selected headers height href hreflang hspace http-equiv id ismap label lang language link longdesc marginwidth marginheight maxlength media framespacing method multiple name nohref noresize noshade nowrap object onblur onchange onclick ondblclick onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseover onmouseout onmouseup onreset onselect onsubmit onunload profile prompt pluginspage readonly rel rev rows rowspan rules scheme scope scrolling shape size span src standby start style summary tabindex target text title type usemap valign value valuetype version vlink vspace width text password checkbox radio submit reset file hidden image public doctype xml xml:lang");
@@ -1388,6 +1390,7 @@
static void styleset_markup(ScintillaObject *sci, gboolean set_keywords)
{
guint i;
+ gint asp_default_language;
const gchar *keywords;
/* Used by several filetypes */
@@ -1538,6 +1541,16 @@
SSM(sci, SCI_SETPROPERTY, (uptr_t) "fold.html", (sptr_t) "1");
SSM(sci, SCI_SETPROPERTY, (uptr_t) "fold.html.preprocessor", (sptr_t) "0");
+
+ /* hack to check for asp.default.language setting in filetypes.xml file */
+ asp_default_language = style_sets[GEANY_FILETYPES_XML].styling[56].foreground;
+ asp_default_language >>= 16; /* encodeded as BBGGRR, grab just BB */
+ if (asp_default_language > 1)
+ {
+ gchar *asp_default_lang = g_strdup_printf("%d", asp_default_language);
+ SSM(sci, SCI_SETPROPERTY, (uptr_t) "asp.default.language", (sptr_t) &asp_default_lang[0]);
+ g_free(asp_default_lang);
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.