Revision: 3705
http://geany.svn.sourceforge.net/geany/?rev=3705&view=rev
Author: ntrel
Date: 2009-04-09 12:12:58 +0000 (Thu, 09 Apr 2009)
Log Message:
-----------
Don't show 'plugin is not binary compatible' messages on the status
bar, only the status window.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/plugins.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-04-08 16:06:40 UTC (rev 3704)
+++ trunk/ChangeLog 2009-04-09 12:12:58 UTC (rev 3705)
@@ -1,3 +1,10 @@
+2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/plugins.c:
+ Don't show 'plugin is not binary compatible' messages on the status
+ bar, only the status window.
+
+
2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c:
Modified: trunk/src/plugins.c
===================================================================
--- trunk/src/plugins.c 2009-04-08 16:06:40 UTC (rev 3704)
+++ trunk/src/plugins.c 2009-04-09 12:12:58 UTC (rev 3705)
@@ -437,7 +437,7 @@
if (result < 0)
{
- ui_set_statusbar(TRUE, _("The plugin \"%s\" is not binary compatible with this "
+ msgwin_status_add(_("The plugin \"%s\" is not binary compatible with this "
"release of Geany - please recompile it."), g_module_name(module));
geany_debug("Plugin \"%s\" is not binary compatible with this "
"release of Geany - recompile it.", g_module_name(module));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 3704
http://geany.svn.sourceforge.net/geany/?rev=3704&view=rev
Author: eht16
Date: 2009-04-08 16:06:40 +0000 (Wed, 08 Apr 2009)
Log Message:
-----------
When finished sending filenames to a remote instance, notify the environment that we finished starting up.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/main.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-04-08 16:06:25 UTC (rev 3703)
+++ trunk/ChangeLog 2009-04-08 16:06:40 UTC (rev 3704)
@@ -4,6 +4,9 @@
When opening files from a remote instance on X11, set the window
server time to encourage window managers to pop up the main window
(related to #2735467 and #2276179).
+ * src/main.c:
+ When finished sending filenames to a remote instance, notify the
+ environment that we finished starting up.
2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c 2009-04-08 16:06:25 UTC (rev 3703)
+++ trunk/src/main.c 2009-04-08 16:06:40 UTC (rev 3704)
@@ -949,6 +949,7 @@
/* Socket exists */
if (argc > 1) /* filenames were sent to first instance, so quit */
{
+ gdk_notify_startup_complete();
g_free(app->configdir);
g_free(app->datadir);
g_free(app->docdir);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 3703
http://geany.svn.sourceforge.net/geany/?rev=3703&view=rev
Author: eht16
Date: 2009-04-08 16:06:25 +0000 (Wed, 08 Apr 2009)
Log Message:
-----------
When opening files from a remote instance on X11, set the window server time to encourage window managers to pop up the main window (related to #2735467 and #2276179).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/socket.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-04-08 12:47:45 UTC (rev 3702)
+++ trunk/ChangeLog 2009-04-08 16:06:25 UTC (rev 3703)
@@ -1,3 +1,11 @@
+2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/socket.c:
+ When opening files from a remote instance on X11, set the window
+ server time to encourage window managers to pop up the main window
+ (related to #2735467 and #2276179).
+
+
2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/utils.h, src/ui_utils.c:
Modified: trunk/src/socket.c
===================================================================
--- trunk/src/socket.c 2009-04-08 12:47:45 UTC (rev 3702)
+++ trunk/src/socket.c 2009-04-08 16:06:25 UTC (rev 3703)
@@ -76,6 +76,10 @@
#include <unistd.h>
#include <fcntl.h>
+#ifdef GDK_WINDOWING_X11
+#include <gdk/gdkx.h>
+#endif
+
#include "main.h"
#include "socket.h"
#include "document.h"
@@ -555,8 +559,16 @@
}
#endif
}
+
if (popup)
{
+#ifdef GDK_WINDOWING_X11
+ /* Set the proper interaction time on the window. This seems necessary to make
+ * gtk_window_present() really bring the main window into the foreground on some
+ * window managers like Gnome's metacity.
+ * Code taken from Gedit. */
+ gdk_x11_window_set_user_time(window->window, gdk_x11_get_server_time(window->window));
+#endif
gtk_window_present(GTK_WINDOW(window));
#ifdef G_OS_WIN32
gdk_window_show(window->window);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 3702
http://geany.svn.sourceforge.net/geany/?rev=3702&view=rev
Author: ntrel
Date: 2009-04-08 12:47:45 +0000 (Wed, 08 Apr 2009)
Log Message:
-----------
Remove finished items.
Modified Paths:
--------------
trunk/TODO
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2009-04-08 12:42:55 UTC (rev 3701)
+++ trunk/TODO 2009-04-08 12:47:45 UTC (rev 3702)
@@ -17,14 +17,12 @@
o (selectable menu of arguments to use for Make, from Make Custom)
o (DBUS)
o (indent wrapped lines - Scintilla issue)
- o (folder tree in the sidebar)
o (macro support)
o (better search & replace regex support - use
SCI_GETCHARACTERPOINTER and GNU regex?)
o (parsing tags from a memory buffer instead of a file on disk)
o (calltip support for non-C-like languages that use
function_name(arguments) syntax)
- o (custom pipe-separated tags files support)
o (better tags support for popular languages? - this is a moving
target...)
o (tango-like icons for the symbol list)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 3701
http://geany.svn.sourceforge.net/geany/?rev=3701&view=rev
Author: ntrel
Date: 2009-04-08 12:42:55 +0000 (Wed, 08 Apr 2009)
Log Message:
-----------
Fix autocompletion.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/editor.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-04-08 12:25:47 UTC (rev 3700)
+++ trunk/ChangeLog 2009-04-08 12:42:55 UTC (rev 3701)
@@ -4,6 +4,8 @@
Sort Configuration Files menu.
Add ui_menu_sort_by_label().
Add foreach_list() macro.
+ * src/editor.c:
+ Fix autocompletion.
2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c 2009-04-08 12:25:47 UTC (rev 3700)
+++ trunk/src/editor.c 2009-04-08 12:42:55 UTC (rev 3701)
@@ -1625,7 +1625,7 @@
g_return_val_if_fail(G_LIKELY(editor != NULL), FALSE);
- if (G_UNLIKELY(editor->document->file_type != NULL))
+ if (G_UNLIKELY(editor->document->file_type == NULL))
return FALSE;
/* If we are at the beginning of the document, we skip autocompletion as we can't determine the
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 3697
http://geany.svn.sourceforge.net/geany/?rev=3697&view=rev
Author: eht16
Date: 2009-04-07 22:08:50 +0000 (Tue, 07 Apr 2009)
Log Message:
-----------
Silently ignore a request to start auto-completion when the document has no filetype set.
Modified Paths:
--------------
trunk/src/editor.c
Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c 2009-04-07 22:08:38 UTC (rev 3696)
+++ trunk/src/editor.c 2009-04-07 22:08:50 UTC (rev 3697)
@@ -1623,9 +1623,11 @@
if (! editor_prefs.auto_complete_symbols && ! force)
return FALSE;
- g_return_val_if_fail(G_LIKELY(editor != NULL) &&
- G_LIKELY(editor->document->file_type != NULL), FALSE);
+ g_return_val_if_fail(G_LIKELY(editor != NULL), FALSE);
+ if (G_UNLIKELY(editor->document->file_type != NULL))
+ return;
+
/* If we are at the beginning of the document, we skip autocompletion as we can't determine the
* necessary styling information */
if (G_UNLIKELY(pos < 2))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.