ac68024ec1a476871111522e5ce48945b18ce9f7 |
|
23-Sep-2008 |
Dan Winship <danw@src.gnome.org> |
Move this out of gmain.c and make it part of the public API. (Part of Bug * glib/gpoll.c (g_poll): Move this out of gmain.c and make it part of the public API. (Part of Bug 505361 - gunixinputstream.c assumes poll() available.) svn path=/trunk/; revision=7535
/external/bluetooth/glib/glib/gmain.h
|
a3fa74853aa93af9e1754b61769e5ec76f0918bc |
|
28-Jul-2008 |
Tor Lillqvist <tml@novell.com> |
Fix problems on 64-bit Windows. Avoid warnings, some of which indicated 2008-07-28 Tor Lillqvist <tml@novell.com> Fix problems on 64-bit Windows. Avoid warnings, some of which indicated actual problems, some which were just annoyances. Where casts to an integer type are needed for pointers, use gssize. Technically intptr_t would be the more proper type, but we still want to be compilable with MSVS6 and 7 which don't have intptr_t. MSVS8 and 9 do have intptr_t, but in <crtdefs.h>, not <stdint.h>. Use %p to print out handles. Use gssize casts when assigning GPollFD::fd fields. Use G_GSIZE_FORMAT when printing size_t values. * configure.in: Define automake conditional G_OS_WIN32_X64 which is true on Win64. * glib/giochannel.h: Use slightly different prototype for g_io_channel_win32_new_messages() on Win64 with gsize instead of guint. * glib/giowin32.c * glib/gmain.c * glib/gspawn-win32.c * tests/testglib.c: Generic changes as described above. * glib/gmain.h: Don't bother mentioning GIMP in comment. * glib/grel.c (tuple_hash_2): Use all bits of pointer. * glib/gspawn-win32.c * glib/gspawn-win32-helper.c: Use gssize types in the communication between parent and helper process, so that we can pass process handles, which are pointers, also on Win64. * glib/gtimer.c (g_time_val_to_iso8601): time_t is 64 bits on Win64 so we can't pass the address of a GTimeVal::tv_sec which is a long directly to gmtime(). On the other hand, changing GTimeVal::tv_sec to be a gint64 on Win64 is not really feasible either, as that would then require changes in much code that uses GTimeVals. * glib/gspawn-win32.c * glib/Makefile.am: Call the helper programs gspawn-win64-helper.exe and gspawn-win64-helper-console.exe on Win64, to avoid potential risk of running a 32-bit version of the helper. svn path=/trunk/; revision=7260
/external/bluetooth/glib/glib/gmain.h
|
e0aa9d8a6135d404fe1ff60ba6858599e85edf98 |
|
05-May-2008 |
Michael Natterer <mitch@imendio.com> |
#define __GLIB_H_INSIDE__ around including everything. 2008-05-05 Michael Natterer <mitch@imendio.com> * glib/glib.h: #define __GLIB_H_INSIDE__ around including everything. * glib/*.h: check for that define instead of __G_LIB_H__ if G_DISABLE_SINGLE_INCLUDES is defined. * glib/gdatasetprivate.h: #include <glib.h> instead of <glib/gdataset.h> svn path=/trunk/; revision=6875
/external/bluetooth/glib/glib/gmain.h
|
f4bb21aa1d405fd11043a03e0962358eb0f42a5e |
|
14-Mar-2008 |
Michael Natterer <mitch@imendio.com> |
make it possible to disable single-file includes by defining 2008-03-14 Michael Natterer <mitch@imendio.com> * glib/*.h: make it possible to disable single-file includes by defining G_DISABLE_SINGLE_INCLUDES when building against GLib. Approved by Tim Janik. * glib/glib.h: include <glib/gslice.h>. * glib/gi18n.h * glib/gi18n-lib.h * glib/gprintf.h: include <glib.h> so the above works when these files are included without including <glib.h> first. svn path=/trunk/; revision=6713
/external/bluetooth/glib/glib/gmain.h
|
00ab83b8e8909cdaad4af57e33db4ed2b4fc6d93 |
|
18-Jun-2007 |
Emmanuele Bassi <ebassi@src.gnome.org> |
Add full variant to the approximate timeout functiont The g_timeout_add_seconds() API lacks a _full() counterpart, allowing the setting of a destroy notification function to be invoked when the timeout source is removed. This patch adds g_timeout_add_seconds_full() to the public API and reimplements g_timeout_add_seconds() as a call to g_timeout_add_seconds_full(). svn path=/trunk/; revision=5575
/external/bluetooth/glib/glib/gmain.h
|
74ab9212a011d30a60ec173bd68bd600daf1f639 |
|
15-Jan-2007 |
Tor Lillqvist <tml@novell.com> |
Fix mistake in my last commit. 2007-01-15 Tor Lillqvist <tml@novell.com> * glib/gmain.h (struct _GPollFD): Fix mistake in my last commit. svn path=/trunk/; revision=5271
/external/bluetooth/glib/glib/gmain.h
|
8d9150647ca5bde5138edf58282a2c9da8f622b1 |
|
15-Jan-2007 |
Tor Lillqvist <tml@novell.com> |
Prepare for potential Win64 build: Use gint64 for the fd field on Win64, 2007-01-15 Tor Lillqvist <tml@novell.com> * glib/gmain.h (struct _GPollFD): Prepare for potential Win64 build: Use gint64 for the fd field on Win64, as we want to be able to store a HANDLE in it. (#395422) (Other changes will surely also be necessary when building on Win64, at least in gwin32.c.) svn path=/trunk/; revision=5260
/external/bluetooth/glib/glib/gmain.h
|
f8c1c1f9e019d8fd2d5e56e3aa44183d0e752130 |
|
10-Sep-2006 |
Matthias Clasen <matthiasc@src.gnome.org> |
Add functions for approximate timeouts
/external/bluetooth/glib/glib/gmain.h
|
bef319723baaeb219d94b37727de7e499cb71fdf |
|
02-Jun-2006 |
Matthias Clasen <mclasen@redhat.com> |
Add two new functions, g_source_set_funcs and g_source_is_destroyed, that 2006-06-01 Matthias Clasen <mclasen@redhat.com> * glib/glib.symbols: * glib/gmain.h: * glib/gmain.c: Add two new functions, g_source_set_funcs and g_source_is_destroyed, that will be necessary to solve thread-safety issues with idles in GTK+. (#321886, Chris Wilson)
/external/bluetooth/glib/glib/gmain.h
|
be5d72cba0804d94d32b71f7c9ff082c33cbaa65 |
|
03-Jan-2006 |
Matthias Clasen <matthiasc@src.gnome.org> |
Add new functions
/external/bluetooth/glib/glib/gmain.h
|
c83e52605f373aeae29f02361d51af3799e6dae2 |
|
08-Nov-2004 |
Matthias Clasen <mclasen@redhat.com> |
Make g_io_channel_ref(), g_main_context_ref(), g_hook_ref(), 2004-11-08 Matthias Clasen <mclasen@redhat.com> * glib/gasyncqueue.[hc]: * glib/ghook.[hc]: * glib/gmain.[hc]: * glib/giochannel.[hc]: Make g_io_channel_ref(), g_main_context_ref(), g_hook_ref(), g_async_queue_ref() return the passed in pointer. (#151663, Manish Singh)
/external/bluetooth/glib/glib/gmain.h
|
0875017ad13ba352b488b0116eab1fa1a12d34e5 |
|
01-Mar-2004 |
Owen Taylor <otaylor@redhat.com> |
Add g_main_depth() (Request from Tim Janik and Stefan Westerfeld) Sun Feb 29 21:34:34 2004 Owen Taylor <otaylor@redhat.com> * glib/gmain.[ch]: Add g_main_depth() (Request from Tim Janik and Stefan Westerfeld)
/external/bluetooth/glib/glib/gmain.h
|
540d02ba8b6ad0b1aa0c32f20f8c4f53cb305b7d |
|
14-Feb-2004 |
Matthias Clasen <maclas@gmx.de> |
Wrap waitpid() as a GSource. This is a partial implementation of the "Unix Sat Feb 14 01:21:34 2004 Matthias Clasen <maclas@gmx.de> * glib/gmain.h: * glib/gmain.c (g_child_watch_source_new): * glib/gmain.c (g_child_watch_add): * glib/gmain.c (g_child_watch_add_full): Wrap waitpid() as a GSource. This is a partial implementation of the "Unix signal source". (#50296, Jonathan R. Blandford) * configure.in: Add the necessary configury to typedef GPid appropriately. * tests/Makefile.am: * tests/child-test.c: Test child_watch sources.
/external/bluetooth/glib/glib/gmain.h
|
1cf610e216072fdb49d170d898bd4b7178ea3d2b |
|
06-Jun-2003 |
Tor Lillqvist <tml@iki.fi> |
glib/giochannel.h Remove bogus (Win32-only) declaration of 2003-06-05 Tor Lillqvist <tml@iki.fi> * glib/giochannel.h * glib/gmain.h: Remove bogus (Win32-only) declaration of g_main_poll_win32_msg_add(). No such function exists. * glib/gmain.c (g_poll) [Win32]: Use g_win32_error_message() for better warning messages.
/external/bluetooth/glib/glib/gmain.h
|
d201974f56d7b805f70b5c5703be79e8db73526e |
|
08-Nov-2002 |
Soeren Sandmann <sandmann@daimi.au.dk> |
Trivial s/foo/foo_/ fixes to make <glib.h> includable with -Wshadow Fri Nov 8 19:44:20 2002 Soeren Sandmann <sandmann@daimi.au.dk> * docs/reference/glib/tmpl/arrays.sgml: * docs/reference/glib/tmpl/arrays_byte.sgml: * docs/reference/glib/tmpl/arrays_pointer.sgml: * docs/reference/glib/tmpl/date.sgml: * docs/reference/glib/tmpl/linked_lists_double.sgml: * docs/reference/glib/tmpl/linked_lists_single.sgml: * docs/reference/glib/tmpl/main.sgml: * docs/reference/glib/tmpl/queue.sgml: * docs/reference/glib/tmpl/random_numbers.sgml: * docs/reference/glib/tmpl/relations.sgml: * docs/reference/glib/tmpl/scanner.sgml: * docs/reference/gobject/tmpl/gtype.sgml: * docs/reference/gobject/tmpl/value_arrays.sgml glib/garray.h: * glib/gdate.h glib/giochannel.h glib/glist.h glib/gmain.c: * glib/gmain.h glib/gqueue.c glib/gqueue.h glib/grand.c glib/grand.h: * glib/grel.h glib/gslist.h glib/gtimer.h gobject/gvaluearray.h: Trivial s/foo/foo_/ fixes to make <glib.h> includable with -Wshadow without warnings (#91680)
/external/bluetooth/glib/glib/gmain.h
|
67ea9743a7f7c6e4915d3de288c9439c20088fdd |
|
23-Feb-2002 |
Owen Taylor <otaylor@redhat.com> |
Add a little bit of padding. Sat Feb 23 14:54:13 2002 Owen Taylor <otaylor@redhat.com> * glib/giochannel.h (struct _GIOChannel): Add a little bit of padding. * glib/gmain.h (struct _GSource): Add a little bit of padding.
/external/bluetooth/glib/glib/gmain.h
|
13852a10d4e2a94320f4c6db09a274de0aba63d7 |
|
29-Nov-2001 |
Owen Taylor <otaylor@redhat.com> |
Rename (private) GSource.id and id parameter to Wed Nov 28 18:34:22 2001 Owen Taylor <otaylor@redhat.com> * glib/gmain.[ch]: Rename (private) GSource.id and id parameter to g_main_context_find_source_by_id() to avoid problems with Objective C where 'id' is a keyword. (#65616)
/external/bluetooth/glib/glib/gmain.h
|
b4c3107c7a1dc5dd9e8050ed06f24d6be408e840 |
|
04-Sep-2001 |
Owen Taylor <otaylor@redhat.com> |
Add closure_marshal/closure_callback fields to GSourceFuncs for use by Mon Aug 27 14:56:12 2001 Owen Taylor <otaylor@redhat.com> * glib/gmain.h: Add closure_marshal/closure_callback fields to GSourceFuncs for use by g_source_set_closure(). * glib/gmain.c glib/giounix.c glib/giowin32.c glib/gmain.h: Export the SourceFuncs vtables so GObject can use them to figure out closure callbacks/marshallers for the default source types. Mon Aug 27 14:55:27 2001 Owen Taylor <otaylor@redhat.com> * gsourceclosure.[ch] (g_source_set_closure): Implement. * gsourceclosure.[ch]: Add GType's for GIOChannel, GIOCondition.
/external/bluetooth/glib/glib/gmain.h
|
b37e7bbb53afd0f8d3386065aff0d74195737fd1 |
|
30-Jun-2001 |
Owen Taylor <otaylor@redhat.com> |
Rename GSourceFuncs::destroy to GSourceFuncs::finalize. (#56858) Sat Jun 30 16:03:16 2001 Owen Taylor <otaylor@redhat.com> * glib/giowin32.c glib/giounix.c glib/gmain.[ch]: Rename GSourceFuncs::destroy to GSourceFuncs::finalize. (#56858)
/external/bluetooth/glib/glib/gmain.h
|
8951f96c50fda95a8cfaf48e8e378136a9268365 |
|
30-Jun-2001 |
Owen Taylor <otaylor@redhat.com> |
Make some changes to the way that GMainContext works: Sat Jun 30 15:49:10 2001 Owen Taylor <otaylor@redhat.com> * glib/gmain.[ch]: (Mostly patch from Sebastian Wilhemi) Make some changes to the way that GMainContext works: - a GMainContext is no longer associated with a single thread, but any thread can acquire ownership of thread and iterate. - There is a facility g_main_context_wait() for non-owner-threads to wait either for ownership or for a condition to be broadcast. - For efficiency, GMainLoop just piggybacks of of the loops mutex / condition instead of having a separate mutex/condition for each GMainLoop. * glib/gthread.[ch]: Remove hacks to store the thread's GMainContext in the GThread structures, since we no longer have the GMainContext <=> GThread correspondence. * glib/gmain.[ch]: Make g_main_context_wakeup() public so someone could completely duplicate GMainLoop with the public API. * tests/mainloop-test: Fix up to the new API. Decidedly doesn't work at the moment, but that may be the IO channel changes, or preexisting locking problems.
/external/bluetooth/glib/glib/gmain.h
|
2fd6b001fb431c274ad6808912ec5fbe831afbef |
|
26-Jun-2001 |
Owen Taylor <otaylor@redhat.com> |
Move glib library into a subdirectory, make all GLib include files include Tue Jun 26 11:43:46 2001 Owen Taylor <otaylor@redhat.com> * configure.in Makefile.am *.[ch] glib/*.[ch] glib/Makefile.am: Move glib library into a subdirectory, make all GLib include files include as <glib/glist.h> * tests/testglib.c tests/testgdate.c tests/testgdateparser.c tests/timeloop.c tests/timeloop-basic.c: Move all tests into the tests/ subdirectory.
/external/bluetooth/glib/glib/gmain.h
|
df2f429cff283621c463fafb2996f74cfde25043 |
|
26-Mar-2001 |
Owen Taylor <otaylor@redhat.com> |
-DG_DISABLE_DEPRECATED Mon Mar 26 14:14:53 2001 Owen Taylor <otaylor@redhat.com> * Makefile.am (INCLUDES): -DG_DISABLE_DEPRECATED * gmain.h timeloop.c: Surround the cruftiest stuff with #ifndef G_DISABLE_DEPRECATED. * gcompat.h gdate.h: Move compat defines back to gdate.h, surround with #ifndef G_DISABLE_DEPRECATED. Remove gcompat.h.
/external/bluetooth/glib/glib/gmain.h
|
3ae4c59e3f9a155436970a7d97d64676178a709c |
|
03-Jan-2001 |
Owen Taylor <otaylor@redhat.com> |
Switch GMainLoop to be ref/unref, use to make dropping reference to Wed Jan 3 14:10:49 2001 Owen Taylor <otaylor@redhat.com> * gmain.[ch]: Switch GMainLoop to be ref/unref, use to make dropping reference to running loop safe.
/external/bluetooth/glib/glib/gmain.h
|
70a7a7654ef87c05a281318262ed635b90ffeebe |
|
12-Dec-2000 |
Owen Taylor <otaylor@redhat.com> |
Revert unauthorized changes. Tue Dec 12 15:18:10 2000 Owen Taylor <otaylor@redhat.com> * gmain.[ch]: Revert unauthorized changes.
/external/bluetooth/glib/glib/gmain.h
|
8f7579774c5372992d44dba9e7704eb80a511850 |
|
12-Dec-2000 |
Elliot Lee <sopwith@src.gnome.org> |
GMainContext useful in implementing some additional styles of main loop * gmain.c, gmain.h (g_main_context_new, g_main_context_destroy): GMainContext useful in implementing some additional styles of main loop usage. To do this, however, Joe Hacker needs to be able to create/destroy GMainContext's at will. This is just an export of existing functionality, rather than new functionality. They are listed in the "Low level functions for implementing custom main loops" section of the header file, to avoid confusing people. * gobject/Makefile.am: . You have to 'touch oldest-source-stamp' if you want to avoid having the Makefile constantly rebuild itself. . Fix marshaller generation rules to work with srcdir != builddir (there were issues with trying to run "./glib-genmarshal", etc.)
/external/bluetooth/glib/glib/gmain.h
|
cbd74878d1ff8d218e9854fe5b42bfdad3397aca |
|
10-Dec-2000 |
Owen Taylor <otaylor@redhat.com> |
Remove pollfds from the context here, not when actually freeing the Sun Dec 10 10:47:11 2000 Owen Taylor <otaylor@redhat.com> * gmain.c (g_source_destroy_internal): Remove pollfds from the context here, not when actually freeing the source. * gmain.c (g_source_unref_internal): Free source list and source, call source->source_funcs->destroy(). * giochannel.c: Unreference io_channel properly.
/external/bluetooth/glib/glib/gmain.h
|
dc7d6c24645656ea1fb55d23a107e5e747b841be |
|
08-Dec-2000 |
Raja R Harinath <harinath@src.gnome.org> |
Don't put anything after an #endif. Likewise. * gmain.h: Don't put anything after an #endif. * gmain.c: Likewise.
/external/bluetooth/glib/glib/gmain.h
|
e2fd4e2bd0589b159f87b491095565d16fac2789 |
|
05-Dec-2000 |
Owen Taylor <otaylor@redhat.com> |
Major change in API for creating sources to handle multiple main loops Tue Dec 5 12:23:04 2000 Owen Taylor <otaylor@redhat.com> * gmain.[hc]: Major change in API for creating sources to handle multiple main loops (GMainContext *). GSources are now exposed as GSource * and implemented with structure derivation. * giochannel.[ch]: Changed vtable for GIOChannel to correspond to the new mainloop API, add g_io_channel_create_watch(). * gtypes.h: Move GTimeVal here. * gthread.h: Remove gmain.h include to avoid circularity. * giounix.c: Update for new GMain API. * giowin32.c: Update for new GMain API. (No check for proper compilation or working.) * timeloop.c timeloop-basic.c: A benchmarking program for the main loop comparing the main loop against a hand-written (timeloop-basic.c) variant. * tests/mainloop-test.c: New torture test of mainloop. * docs/Changes-2.0.txt: Started. Added text about changes to GMain. * gmain.c (g_main_add_poll_unlocked): Initial fd->revents to zero. (#8482, Benjamin Kahn)
/external/bluetooth/glib/glib/gmain.h
|
b1d15587479deaacb9bd983fd28c6f3d3e27142e |
|
12-Oct-2000 |
Sebastian Wilhelmi <wilhelmi@ira.uka.de> |
Split glib.h into many header files mostly according to the resp. 2000-10-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib.h, galloca.h, garray.h, gasyncqueue.h, gbacktrace.h, gcache.h, gcompletion.h, gconvert.h, gdataset.h, gdate.h, ghash.h, ghook.h, giochannel.h, glist.h , gmacros.h, gmain.h, gmem.h, gmessages.h, gnode.h, gprimes.h, gquark.h, gqueue.h, grand.h, grel.h, gscanner.h, gslist.h, gstrfuncs.h, gstring.h, gthread.h, gthreadpool.h, gtimer.h, gtree.h, gtypes.h, gutils.h: Split glib.h into many header files mostly according to the resp. *.c-files. * gmacros.h: Added G_BEGIN_DECLS and G_END_DECLS to mean: 'in case of C++: extern "C" { ... }' analogous to glibc __BEGIN_DECLS and __END_DECLS. * configure.in, gerror.h, gfileutils.h, gshell.h, gspawn.h, gunicode.h, : Changed guard-macro names to something more consistent. * configure.in, *.h: Use G_BEGIN_DECLS and G_END_DECLS.
/external/bluetooth/glib/glib/gmain.h
|