Branch: refs/heads/master
Author: paul <phpbased.net(a)gmail.com>
Committer: paul <phpbased.net(a)gmail.com>
Date: Fri, 27 Dec 2013 13:48:21 UTC
Commit: 5c19a7c579676c99cbad709101a557d0961df32c
https://github.com/geany/geany-themes/commit/5c19a7c579676c99cbad709101a557…
Log Message:
-----------
Added notepad-plus-plus theme
Modified Paths:
--------------
AUTHORS
colorschemes/notepad-plus-plus.conf
screenshots/notepad-plus-plus.png
Modified: AUTHORS
5 files changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -62,6 +62,11 @@ monokai.conf
------------
*Thanh Tran <trongthanh(at)gmail(dot)com>
+notepad-plus-plus.conf
+----------------------
+ Paul <phpbased(dot)net(at)gmail(dot)com>
+ *Matthew Brush <matt(at)geany(dot)org> (port to newer Geany)
+
oblivion2.conf
--------------
Bernhard Posselt <bernhard.posselt(at)gmx(dot)at>
Modified: colorschemes/notepad-plus-plus.conf
122 files changed, 122 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,122 @@
+#
+# Copyright 2013 Paul <phpbased.net(a)gmail.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA 02110-1301, USA.
+#
+# Note: Notepad++ port
+
+[theme_info]
+name=Notepad-plus-plus
+description=Default theme port from Notepad++
+version=1.22
+author=Paul <phpbased.net(a)gmail.com>
+url=
+# list of each compatible Geany release version
+compat=1.22;1.23;1.23.1;1.24
+
+
+[named_styles]
+
+default=#000080;#fefcf5
+error=#f00;#bfbfbf
+
+# Editor styles
+#-------------------------------------------------------------------------------
+
+selection=;#c0c0c0;false;true
+current_line=#e8e8ff;#e8e8ff;true;true
+brace_good=#ff0000;;true
+brace_bad=#ff0000
+margin_line_number=#808080;#e4e4e4
+margin_folding=#808080;#f3f3f3
+fold_symbol_highlight=#fff
+indent_guide=#c0c0c0;#fff;true;true
+caret=#8000FF;#fefcf5
+
+marker_line=#7f7f7f;#ececec
+marker_search=;#00ff00
+marker_mark=#7f7f7f;#ececec
+
+call_tips=default
+white_space=#c0c0c0;#fff;true;false
+
+# Generic programming languages
+#-------------------------------------------------------------------------------
+
+comment=#008000
+comment_doc=comment
+comment_line=comment
+comment_line_doc=comment_doc
+comment_doc_keyword=comment_doc,bold
+comment_doc_keyword_error=comment_doc,italic
+
+number=#ff8000
+number_1=number
+number_2=#ff0000
+
+type=#0000ff;#fff
+class=type
+function=#900
+parameter=function
+
+keyword=#0000ff;#fefcf5;true
+keyword_1=keyword
+keyword_2=#aa2c8c;;true
+keyword_3=keyword_1
+keyword_4=keyword_1
+
+identifier=default
+identifier_1=identifier
+identifier_2=identifier_1
+identifier_3=identifier_1
+identifier_4=identifier_1
+
+string=#808080;#fefcf5
+string_1=string
+string_2=string_1
+string_3=default
+string_4=default
+string_eol=string_1,italic
+character=string_1
+backtick=string_2
+here_doc=string_2
+
+scalar=string_2
+label=default,bold
+preprocessor=#000080;#fefcf5
+regex=number_1
+operator=#8000ff;#fefcf5
+decorator=string_1,bold
+other=default
+
+
+# Markup-type languages
+#-------------------------------------------------------------------------------
+
+tag=type
+tag_unknown=tag,bold
+tag_end=tag,bold
+attribute=#ff0000
+attribute_unknown=attribute,bold
+value=#8000ff;#fff
+entity=default
+
+# Diff
+#-------------------------------------------------------------------------------
+
+line_added=#3de737
+line_removed=#e74837
+line_changed=#e7b937
Modified: screenshots/notepad-plus-plus.png
0 files changed, 0 insertions(+), 0 deletions(-)
===================================================================
No diff available, check online
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Thu, 19 Dec 2013 19:45:25 UTC
Commit: 4c8d2fb9286227861c62d2ef1c80d6627d032e3d
https://github.com/geany/geany/commit/4c8d2fb9286227861c62d2ef1c80d6627d032…
Log Message:
-----------
Fix handling of --list-documents when no other instance are running
Properly exit when passed --list-documents, even if no other instance
were already running. This makes this option behave the same in any
case, making it easier to use in e.g. scripts.
Modified Paths:
--------------
NEWS
src/main.c
Modified: NEWS
2 files changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -10,6 +10,8 @@ Geany 1.24 (unreleased)
* Fix stopping of some spawned commands.
* Fix cursor position and selection after comment toggling (#3576431).
* Fix truncated output of ``--list-documents`` command-line option.
+ * Fix launching a new instance when ``--list-documents`` is passed and
+ no other instance is running.
Interface
* Fix custom GTK styles under KDE (#3607935).
Modified: src/main.c
30 files changed, 16 insertions(+), 14 deletions(-)
===================================================================
@@ -1076,21 +1076,23 @@ gint main(gint argc, gchar **argv)
socket_info.lock_socket = -1;
socket_info.lock_socket_tag = 0;
socket_info.lock_socket = socket_init(argc, argv);
- /* Socket exists */
- if (socket_info.lock_socket == -2)
+ /* Quit if filenames were sent to first instance or the list of open
+ * documents has been printed */
+ if ((socket_info.lock_socket == -2 /* socket exists */ && argc > 1) ||
+ cl_options.list_documents)
+ {
+ socket_finalize();
+ gdk_notify_startup_complete();
+ g_free(app->configdir);
+ g_free(app->datadir);
+ g_free(app->docdir);
+ g_free(app);
+ return 0;
+ }
+ /* Start a new instance if no command line strings were passed,
+ * even if the socket already exists */
+ else if (socket_info.lock_socket == -2 /* socket already exists */)
{
- /* Quit if filenames were sent to first instance or the list of open
- * documents has been sent */
- if (argc > 1 || cl_options.list_documents)
- {
- gdk_notify_startup_complete();
- g_free(app->configdir);
- g_free(app->datadir);
- g_free(app->docdir);
- g_free(app);
- return 0;
- }
- /* Start a new instance if no command line strings were passed */
socket_info.ignore_socket = TRUE;
cl_options.new_instance = TRUE;
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Tue, 17 Dec 2013 21:18:28 UTC
Commit: 3693889c48b68e9e791bde9df5a83486b02081c4
https://github.com/geany/geany/commit/3693889c48b68e9e791bde9df5a83486b0208…
Log Message:
-----------
Update NEWS
Modified Paths:
--------------
NEWS
Modified: NEWS
62 files changed, 59 insertions(+), 3 deletions(-)
===================================================================
@@ -2,18 +2,74 @@ Geany 1.24 (unreleased)
General
* Add experimental support for GTK3.
+ * Add support for loading CTags and Vi tags files.
+ * Save configuration when plugin manager dialog is closed.
+
+ Bug fixes
+ * Fix many small memory leaks (many of them found by Pavel Roschin).
+ * Fix stopping of some spawned commands.
+ * Fix cursor position and selection after comment toggling (#3576431).
+ * Fix truncated output of ``--list-documents`` command-line option.
Interface
* Fix custom GTK styles under KDE (#3607935).
+ * Add Find entries in the Symbol List popup menu (#3608278).
+ * Flatten-out the View menu.
+ * Add a button to directly configure a plugin's keybindings in the
+ plugin manager (Pavel Roschin)
Editor
- * Update Scintilla to version 3.3.5.
+ * Update Scintilla to version 3.3.6.
+ * Fix Reflow to follow Line breaking behavior (Eugene Arshinov).
+ * Fix unfolding the very last line in a level (#1007).
+ * Fix commenting the very last line in some situations.
+
+ Search
+ * Fix bulk Search & Replace not to match replacements.
Filetypes
- * Extend list of recognized keywords for SQL
+ * Add CUDA filetype (PR#147, Benjamin Chrétien).
+ * Add basic Rust filetype.
+ * Add Batch filetype (canou).
+ * Add Graphviz filetype (PR#125, Miro Hrončok).
+ * Add PowerShell filetype (Igor Shaula).
+ * Add Clojure fieltype (PR#92, Hoàng Minh Thắng).
+ * Many improvements to the PHP tag parser.
+ * Update PHP global tags file (PR#137, John Long).
+ * Fix Asciidoc parser recognition of open block as underline.
+ * Fix symbol list entry for Asciidoc headers containing a dot.
+ * SQL parsing improvements.
+ * Extend list of recognized keywords for SQL.
+ * Fix SQL single-line comment marker (#997).
+ * Fix parsing of some JavaScript constructors.
+ * Fix parsing a JavaScript regular expression in a return statement.
+ * Parse Java annotations with parameters (#924, Braden Walters).
+ * Display Java enums in the symbol list.
+ * Fix parsing of C++ static_assert.
+ * Fix parsing of typed enums in C# and C++.
+ * Fix parsing of Frotran "forall" blocks and procedure pointers
+ (Alexander Eberspächer).
+ * Fix parsing of complex Cython types.
+ * Fix re-parsing Objective-C code.
+ * Fix parsing of Verliog initializers.
+ * Fix displaying of quoted Bash HereDoc delimiters (#952).
+ * Add some HTML5 keywords (Duncan de Wet).
+ * Add Erlang snippets and a template (PR#157, Fabio Ticconi).
+ * Haskell highlighting improvements (kudah).
+ * Add Matlab class keywords (PR#136, Felix Totir).
+ * Fix argument list on some Python constructors.
+ * Fix R indenting to use braces.
+ * Display R sources and libraries in the symbol list.
Internationalization
- * Update translations: de, he
+ * Make date templates translatable (Christian Dywan).
+ * Update translations: de, eu, he, it, lt, sl
+
+ API
+ * Add plugin_builder_connect_signals().
+
+ Windows
+ * Fix infinite pagination when printing (#961).
Geany 1.23.1 (May 19, 2013)
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Tue, 17 Dec 2013 15:17:21 UTC
Commit: 0eec7764af5cbcf70e10e44d2eb7b486e5c7cd53
https://github.com/geany/geany/commit/0eec7764af5cbcf70e10e44d2eb7b486e5c7c…
Log Message:
-----------
Fix truncation of the data retrieved with --list-documents
Do not truncate the document list to the size of the buffer used for
communication.
Since we now read multiple times, we need to make sure to always send
ETX so a reader don't hang reading the next chunk if the data sent had
exactly the size of the buffer.
Modified Paths:
--------------
src/socket.c
Modified: src/socket.c
28 files changed, 15 insertions(+), 13 deletions(-)
===================================================================
@@ -195,21 +195,25 @@ static void remove_socket_link_full(void)
static void socket_get_document_list(gint sock)
{
- gchar doc_list[BUFFER_LENGTH];
- gint doc_list_len;
+ gchar buf[BUFFER_LENGTH];
+ gint n_read;
if (sock < 0)
return;
socket_fd_write_all(sock, "doclist\n", 8);
- doc_list_len = socket_fd_read(sock, doc_list, sizeof(doc_list));
- if (doc_list_len >= BUFFER_LENGTH)
- doc_list_len = BUFFER_LENGTH -1;
- doc_list[doc_list_len] = '\0';
- /* if we received ETX (end-of-text), there were no open files, so print only otherwise */
- if (! utils_str_equal(doc_list, "\3"))
- printf("%s", doc_list);
+ do
+ {
+ n_read = socket_fd_read(sock, buf, sizeof(buf));
+ /* if we received ETX (end-of-text), there is nothing else to read, so cut that
+ * byte not to output it and to be sure not to validate the loop condition */
+ if (n_read > 0 && buf[n_read - 1] == '\3')
+ n_read--;
+ if (n_read > 0)
+ fwrite(buf, 1, n_read, stdout);
+ }
+ while (n_read >= sizeof(buf));
}
@@ -625,10 +629,8 @@ gboolean socket_lock_input_cb(GIOChannel *source, GIOCondition condition, gpoint
gchar *doc_list = build_document_list();
if (!EMPTY(doc_list))
socket_fd_write_all(sock, doc_list, strlen(doc_list));
- else
- /* send ETX (end-of-text) in case we have no open files, we must send anything
- * otherwise the client would hang on reading */
- socket_fd_write_all(sock, "\3", 1);
+ /* send ETX (end-of-text) so reader knows to stop reading */
+ socket_fd_write_all(sock, "\3", 1);
g_free(doc_list);
}
else if (strncmp(buf, "line", 4) == 0)
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).