From: Tim Janik Date: Mon, 3 Sep 2001 23:46:04 +0000 (+0000) Subject: updates for 1.3.7 release. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=267ff610fe145f555ce63ee0670daed960e3bc1a;p=dana%2Fcg-glib.git updates for 1.3.7 release. Tue Sep 4 01:50:24 2001 Tim Janik * NEWS: updates for 1.3.7 release. Tue Sep 4 01:49:18 2001 Tim Janik * gsourceclosure.c: make closure_callback_funcs static, added some g_return_if_fail() statements. --- diff --git a/ChangeLog b/ChangeLog index c7c8b837..62c1aef5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Sep 4 01:50:24 2001 Tim Janik + + * NEWS: updates for 1.3.7 release. + Mon Aug 27 14:56:12 2001 Owen Taylor * glib/gmain.h: Add closure_marshal/closure_callback diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index c7c8b837..62c1aef5 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,7 @@ +Tue Sep 4 01:50:24 2001 Tim Janik + + * NEWS: updates for 1.3.7 release. + Mon Aug 27 14:56:12 2001 Owen Taylor * glib/gmain.h: Add closure_marshal/closure_callback diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index c7c8b837..62c1aef5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +Tue Sep 4 01:50:24 2001 Tim Janik + + * NEWS: updates for 1.3.7 release. + Mon Aug 27 14:56:12 2001 Owen Taylor * glib/gmain.h: Add closure_marshal/closure_callback diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index c7c8b837..62c1aef5 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,7 @@ +Tue Sep 4 01:50:24 2001 Tim Janik + + * NEWS: updates for 1.3.7 release. + Mon Aug 27 14:56:12 2001 Owen Taylor * glib/gmain.h: Add closure_marshal/closure_callback diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index c7c8b837..62c1aef5 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,7 @@ +Tue Sep 4 01:50:24 2001 Tim Janik + + * NEWS: updates for 1.3.7 release. + Mon Aug 27 14:56:12 2001 Owen Taylor * glib/gmain.h: Add closure_marshal/closure_callback diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index c7c8b837..62c1aef5 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +Tue Sep 4 01:50:24 2001 Tim Janik + + * NEWS: updates for 1.3.7 release. + Mon Aug 27 14:56:12 2001 Owen Taylor * glib/gmain.h: Add closure_marshal/closure_callback diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index c7c8b837..62c1aef5 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +Tue Sep 4 01:50:24 2001 Tim Janik + + * NEWS: updates for 1.3.7 release. + Mon Aug 27 14:56:12 2001 Owen Taylor * glib/gmain.h: Add closure_marshal/closure_callback diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index c7c8b837..62c1aef5 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +Tue Sep 4 01:50:24 2001 Tim Janik + + * NEWS: updates for 1.3.7 release. + Mon Aug 27 14:56:12 2001 Owen Taylor * glib/gmain.h: Add closure_marshal/closure_callback diff --git a/NEWS b/NEWS index 17564adf..fc3ee918 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,21 @@ +Overview of Changes in GLib 1.3.7: + +* Integrate GClosure support into the main loop +* More GSignal convenience functions (macros) +* Introduced weak references for GObject +* Minor hash table optimizations +* Main loop and threading improvements +* Added g_ascii_* functions to be used for locale insensitive UTF8 + compliant code instead of old string functions +* Overall fixes for UTF8 compliance +* GString improvements +* Reworked the GIOChannel code +* Removed glib-config-2.0 in favour of pkgconfig +* Make code 64bit clean +* More G_CONST_RETURN fixes +* Many improvements to the win32 code +* Miscellaneous bug and API fixes + Overview of Changes in GLib 1.3.6: * Threads have a "return value" from g_thread_join diff --git a/docs/reference/glib/tmpl/conversions.sgml b/docs/reference/glib/tmpl/conversions.sgml index 80c86c22..4fb69555 100644 --- a/docs/reference/glib/tmpl/conversions.sgml +++ b/docs/reference/glib/tmpl/conversions.sgml @@ -147,4 +147,7 @@ error domains. @G_CONVERT_ERROR_ILLEGAL_SEQUENCE: @G_CONVERT_ERROR_FAILED: @G_CONVERT_ERROR_PARTIAL_INPUT: +@G_CONVERT_ERROR_NOT_ABSOLUTE_FILE_URI: +@G_CONVERT_ERROR_INVALID_URI: +@G_CONVERT_ERROR_NOT_ABSOLUTE_PATH: diff --git a/docs/reference/glib/tmpl/threads.sgml b/docs/reference/glib/tmpl/threads.sgml index dc77f726..75bd4940 100644 --- a/docs/reference/glib/tmpl/threads.sgml +++ b/docs/reference/glib/tmpl/threads.sgml @@ -1092,6 +1092,7 @@ a #GStaticMutex. @write_cond: @read_counter: @write: +@want_to_read: @want_to_write: diff --git a/glib/gscanner.c b/glib/gscanner.c index 868530b3..dd95b71a 100644 --- a/glib/gscanner.c +++ b/glib/gscanner.c @@ -31,8 +31,6 @@ * MT safe */ -#define __gscanner_c__ - #ifdef HAVE_CONFIG_H #include #endif diff --git a/gobject/ChangeLog b/gobject/ChangeLog index c64bc084..e6df7793 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 4 01:49:18 2001 Tim Janik + + * gsourceclosure.c: make closure_callback_funcs static, + added some g_return_if_fail() statements. + Mon Aug 27 14:55:27 2001 Owen Taylor * gsourceclosure.[ch] (g_source_set_closure): Implement. diff --git a/gobject/gsourceclosure.c b/gobject/gsourceclosure.c index 90b581af..ffb9e99c 100644 --- a/gobject/gsourceclosure.c +++ b/gobject/gsourceclosure.c @@ -150,7 +150,7 @@ closure_callback_get (gpointer cb_data, *data = cb_data; } -GSourceCallbackFuncs closure_callback_funcs = { +static GSourceCallbackFuncs closure_callback_funcs = { (void (*) (gpointer)) g_closure_ref, (void (*) (gpointer)) g_closure_unref, closure_callback_get @@ -171,6 +171,9 @@ void g_source_set_closure (GSource *source, GClosure *closure) { + g_return_if_fail (source != NULL); + g_return_if_fail (closure != NULL); + if (!source->source_funcs->closure_callback && source->source_funcs != &g_io_watch_funcs && source->source_funcs != &g_timeout_funcs &&