Branch: refs/heads/document-messages
Author: Enrico Tröger <enrico.troeger(a)uvena.de>
Committer: Enrico Tröger <enrico.troeger(a)uvena.de>
Date: Sun, 11 Dec 2011 14:07:56
Commit: 3b56ff37c8a0093f7202880f66dad6ef6c7b078c
https://github.com/geany/geany/commit/3b56ff37c8a0093f7202880f66dad6ef6c7b0…
Log Message:
-----------
Add -Wl,--export-dynamic linker flag
This seems required for GtkBuilder to be able to connect signals. However, this change may break Windows
builds. Needs to be tested and worked around if it is the case.
Modified Paths:
--------------
wscript
Modified: wscript
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -325,6 +325,7 @@ def build(bld):
source = geany_sources,
includes = ['.', 'scintilla/include/', 'tagmanager/include/'],
defines = ['G_LOG_DOMAIN="Geany"', 'GEANY_PRIVATE'],
+ linkflags = ['-Wl,--export-dynamic'],
uselib = ['GTK', 'GLIB', 'GIO', 'GTHREAD', 'WIN32', 'SUNOS_SOCKET'],
use = ['scintilla', 'tagmanager', 'mio'])
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
Branch: refs/heads/document-messages
Author: Matthew Brush <matt(a)geany.org>
Committer: Matthew Brush <matt(a)geany.org>
Date: Sun, 11 Dec 2011 03:28:23
Commit: 00473dff4e95c6d1b128edfc26038f4e98cbddf8
https://github.com/geany/geany/commit/00473dff4e95c6d1b128edfc26038f4e98cbd…
Log Message:
-----------
Use a sane default window size if config is missing
Modified Paths:
--------------
src/main.c
Modified: src/main.c
3 files changed, 0 insertions(+), 3 deletions(-)
===================================================================
@@ -275,9 +275,6 @@ static void main_init(void)
gtk_widget_set_name(ui_lookup_widget(main_widgets.window, "menubar1"), "GeanyMenubar");
gtk_widget_set_name(main_widgets.toolbar, "GeanyToolbar");
- /* for some reason we need to set the initial size request,
- * otherwise the main window gets crazy dimensions */
- gtk_widget_set_size_request(main_widgets.window, 10, 10);
gtk_window_set_default_size(GTK_WINDOW(main_widgets.window),
GEANY_WINDOW_DEFAULT_WIDTH, GEANY_WINDOW_DEFAULT_HEIGHT);
}
@@ 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: Matthew Brush <matt(a)geany.org>
Committer: Matthew Brush <matt(a)geany.org>
Date: Wed, 25 Jul 2012 00:56:29
Commit: 5fff1e69c2c68f834f33ebb839127609f22a97bf
https://github.com/geany/geany/commit/5fff1e69c2c68f834f33ebb839127609f22a9…
Log Message:
-----------
Add NULL guard for reloading "untitled" documents
Previously it was using a GLIB assertion which shouldn't be used
to detect a normal condition and so it caused a warning on the
console output when clicking "Reload" with an "untitled" document.
Modified Paths:
--------------
src/callbacks.c
Modified: src/callbacks.c
5 files changed, 4 insertions(+), 1 deletions(-)
===================================================================
@@ -413,7 +413,10 @@ G_MODULE_EXPORT void on_reload_as_activate(GtkMenuItem *menuitem, gpointer user_
const gchar *charset = NULL;
g_return_if_fail(doc != NULL);
- g_return_if_fail(doc->file_name != NULL);
+
+ /* No need to reload "untitled" (non-file-backed) documents */
+ if (doc->file_name == NULL)
+ return;
if (i >= 0)
{
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
Branch: refs/heads/document-messages
Author: Matthew Brush <matt(a)geany.org>
Committer: Matthew Brush <matt(a)geany.org>
Date: Wed, 25 Jul 2012 00:56:29
Commit: 5fff1e69c2c68f834f33ebb839127609f22a97bf
https://github.com/geany/geany/commit/5fff1e69c2c68f834f33ebb839127609f22a9…
Log Message:
-----------
Add NULL guard for reloading "untitled" documents
Previously it was using a GLIB assertion which shouldn't be used
to detect a normal condition and so it caused a warning on the
console output when clicking "Reload" with an "untitled" document.
Modified Paths:
--------------
src/callbacks.c
Modified: src/callbacks.c
5 files changed, 4 insertions(+), 1 deletions(-)
===================================================================
@@ -413,7 +413,10 @@ G_MODULE_EXPORT void on_reload_as_activate(GtkMenuItem *menuitem, gpointer user_
const gchar *charset = NULL;
g_return_if_fail(doc != NULL);
- g_return_if_fail(doc->file_name != NULL);
+
+ /* No need to reload "untitled" (non-file-backed) documents */
+ if (doc->file_name == NULL)
+ return;
if (i >= 0)
{
@@ 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: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Tue, 17 Jul 2012 21:09:00
Commit: d11f9a51b939bf39c3c1676ab823147d460ede75
https://github.com/geany/geany/commit/d11f9a51b939bf39c3c1676ab823147d460ed…
Log Message:
-----------
Rely on GModule for adding or not the `--export-dynamic` linker flag
We explicitly use GModule's .pc since 7b2f0fe, and it provides the
appropriate flag: we don't need to add it ourselves anymore. Moreover,
since this flag is not needed (nor available) on all platforms (e.g.
Windows or MacOS X), it is safer to let GModule deal with adding it
anyway.
Modified Paths:
--------------
src/Makefile.am
wscript
Modified: src/Makefile.am
2 files changed, 0 insertions(+), 2 deletions(-)
===================================================================
@@ -142,8 +142,6 @@ AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
-DGTK \
-DG_LOG_DOMAIN=\""Geany"\"
-geany_LDFLAGS = -Wl,--export-dynamic
-
clean-local:
endif
Modified: wscript
1 files changed, 0 insertions(+), 1 deletions(-)
===================================================================
@@ -362,7 +362,6 @@ def build(bld):
source = geany_sources,
includes = ['.', 'scintilla/include', 'tagmanager/src'],
defines = ['G_LOG_DOMAIN="Geany"', 'GEANY_PRIVATE'],
- linkflags = [] if is_win32 else ['-Wl,--export-dynamic'],
uselib = ['GTK', 'GLIB', 'GMODULE', 'GIO', 'GTHREAD', 'WIN32', 'SUNOS_SOCKET'],
use = ['scintilla', 'ctags', 'tagmanager', 'mio'])
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
Branch: refs/heads/document-messages
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Tue, 17 Jul 2012 21:09:00
Commit: d11f9a51b939bf39c3c1676ab823147d460ede75
https://github.com/geany/geany/commit/d11f9a51b939bf39c3c1676ab823147d460ed…
Log Message:
-----------
Rely on GModule for adding or not the `--export-dynamic` linker flag
We explicitly use GModule's .pc since 7b2f0fe, and it provides the
appropriate flag: we don't need to add it ourselves anymore. Moreover,
since this flag is not needed (nor available) on all platforms (e.g.
Windows or MacOS X), it is safer to let GModule deal with adding it
anyway.
Modified Paths:
--------------
src/Makefile.am
wscript
Modified: src/Makefile.am
2 files changed, 0 insertions(+), 2 deletions(-)
===================================================================
@@ -142,8 +142,6 @@ AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
-DGTK \
-DG_LOG_DOMAIN=\""Geany"\"
-geany_LDFLAGS = -Wl,--export-dynamic
-
clean-local:
endif
Modified: wscript
1 files changed, 0 insertions(+), 1 deletions(-)
===================================================================
@@ -362,7 +362,6 @@ def build(bld):
source = geany_sources,
includes = ['.', 'scintilla/include', 'tagmanager/src'],
defines = ['G_LOG_DOMAIN="Geany"', 'GEANY_PRIVATE'],
- linkflags = [] if is_win32 else ['-Wl,--export-dynamic'],
uselib = ['GTK', 'GLIB', 'GMODULE', 'GIO', 'GTHREAD', 'WIN32', 'SUNOS_SOCKET'],
use = ['scintilla', 'ctags', 'tagmanager', 'mio'])
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).