[maemo-commits] [maemo-commits] /trunk/glib/ - timj - r1585
From: www-data www-data at stage.maemo.orgDate: Thu Dec 8 18:53:29 EET 2005
- Previous message: [maemo-commits] /trunk/maemo-af-desktop/hildon-navigator/ - jobi - r1584
- Next message: [maemo-commits] /trunk/osso-application-installer/app-installer-tool/ - marivoll - r1587
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thu Dec 8 17:17:15 2005 Tim Janik <timj at imendio.com> * gsignal.c: allocate signal handlers and handler match structures via the new g_slice_*() API (get's rid of GList allocation hack). * gtype.c: got rid of per-type memchunks. objects are now allocated via g_slice_*() instead of g_malloc(). Thu Dec 8 17:16:08 2005 Tim Janik <timj at imendio.com> * merged g_slice*() from upstream. * glib/gmacros.h: define G_GNUC_WARN_UNUSED_RESULT. Thu Dec 1 17:32:46 2005 Tim Janik <timj at imendio.com> * glib/gslice.[hc]: new slice allocator implementation. * tests/slice-test.c: added random slice allocation test. * glib/gthreadinit.h: * glib/gmessages.c: * glib/gthread.c: * glib/gmem.c: divided glib threading initialisation into three phases, initialisation where private keys and messaging are not available (only needed by gmem.c), initialisation without messaging but private keys available (gslice.c, gmessage.c), and full fledged initialisers that server the rest of glib. initialisation functions got renamed to reflect the limitations of their corresponding phases. * glib/gmem.c: removed memchunk code, defer allocations to g_slice_* instead. * glib/gmem.[hc]: removed g_slice_* skeletons. * glib/glib.symbols: added g_slice_* symbols. * configure.in: check for availability of posix_memalign(3), memalign(3) and valloc(3). * glib/Makefile.am: added gslice.[hc]. Tue Nov 1 16:24:20 2005 Tim Janik <timj at imendio.com> * glib/gmem.[hc]: added g_slice_*() API to allocate and cache small bits of memory. an actuall allocator implementation for g_slice_*() is still pending. * glib/gthread.[hc]: changes from a patch by Matthias Clasen. changed GRealThread list to use in-structure *next; fields instead of GSList, in order for thread iteration to not depenend on g_slice_*() indirectly. * glib/gthread.[hc]: g_thread_foreach(): new public API function to loop over all existing threads. * glib/gdataset.c: * glib/gstring.c: * glib/gcache.c: * glib/garray.c: * glib/gqueue.c: * glib/gslist.c: * glib/glist.c: * glib/ghash.c: * glib/gtree.c: * glib/ghook.c: * glib/gmain.c: * glib/gnode.c: removed GAllocator and free list usages and accompanying locks. use g_slice_*() API to allocate and cache small bits of memory. * glib/ghook.h: removed GMemChunk field from public API. * glib/gslist.h: * glib/glist.h: provide _free1() for consistency. * glib/gmain.c: reordered GPollRec fields so g_slice_free_chain() can be used for poll rec lists. * glib/grel.c: removed mem chunk usage, and allocated tuples via g_slice_*(). g_relation_destroy(): free all tuples from the all_tuples hash table, this effectively maintains the life time track keeping of tuples. g_relation_delete_tuple(): free tuples which are removed from the all_tuples hash table. this fixes a temporary leak that was present in the memchunk code until the destruction of the relation. U projects/haf/trunk/glib/ChangeLog U projects/haf/trunk/glib/configure.in U projects/haf/trunk/glib/glib/Makefile.am U projects/haf/trunk/glib/glib/garray.c U projects/haf/trunk/glib/glib/gcache.c U projects/haf/trunk/glib/glib/gdataset.c U projects/haf/trunk/glib/glib/ghash.c U projects/haf/trunk/glib/glib/ghook.c U projects/haf/trunk/glib/glib/ghook.h U projects/haf/trunk/glib/glib/glib.symbols U projects/haf/trunk/glib/glib/glist.c U projects/haf/trunk/glib/glib/glist.h U projects/haf/trunk/glib/glib/gmacros.h U projects/haf/trunk/glib/glib/gmain.c U projects/haf/trunk/glib/glib/gmem.c U projects/haf/trunk/glib/glib/gmem.h U projects/haf/trunk/glib/glib/gmessages.c U projects/haf/trunk/glib/glib/gnode.c U projects/haf/trunk/glib/glib/gnode.h U projects/haf/trunk/glib/glib/gqueue.c U projects/haf/trunk/glib/glib/grel.c A projects/haf/trunk/glib/glib/gslice.c A projects/haf/trunk/glib/glib/gslice.h U projects/haf/trunk/glib/glib/gslist.c U projects/haf/trunk/glib/glib/gslist.h U projects/haf/trunk/glib/glib/gstring.c U projects/haf/trunk/glib/glib/gthread.c U projects/haf/trunk/glib/glib/gthread.h U projects/haf/trunk/glib/glib/gthreadinit.h U projects/haf/trunk/glib/glib/gtree.c U projects/haf/trunk/glib/gobject/ChangeLog U projects/haf/trunk/glib/gobject/gsignal.c U projects/haf/trunk/glib/gobject/gtype.c U projects/haf/trunk/glib/tests/Makefile.am A projects/haf/trunk/glib/tests/memchunks.c A projects/haf/trunk/glib/tests/slice-test.c URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=1585 /trunk/glib/
- Previous message: [maemo-commits] /trunk/maemo-af-desktop/hildon-navigator/ - jobi - r1584
- Next message: [maemo-commits] /trunk/osso-application-installer/app-installer-tool/ - marivoll - r1587
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]