got rid of outdated dmalloc support. provide g_try_malloc() and
authorTim Janik <timj@gtk.org>
Fri, 29 Dec 2000 02:16:51 +0000 (02:16 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 29 Dec 2000 02:16:51 +0000 (02:16 +0000)
commit782a8e2e7c69c3d98bd69bcfdbb65ded520576f4
treef07d3bad8fc173d3a0fad8d5d5b4935fa1a2cc17
parentab31e0c3ced4a4698a2b9a8f921d3f28f28c0ae7
got rid of outdated dmalloc support. provide g_try_malloc() and

Thu Dec 28 10:21:46 2000  Tim Janik  <timj@gtk.org>

        * gmem.[hc]: got rid of outdated dmalloc support. provide g_try_malloc()
        and g_try_realloc() which _may_ fail and return NULL.
        nuked g_mem_check(), provided GMemVTable for memory function
        virtualization, alterable at program startup with g_mem_set_vtable().
        provided glib_mem_profiler_table and g_mem_profile() to support limited
        profiling information out of the box (uses mprotect() for free()ed areas
        on linux).
        provide globally visible G_MEM_ALIGN.
        buncha cleanups.

        * docs/macros.txt: file to get a clue about the various configuration
        macros.

        * docs/debugging.txt: explain debugging traps.

        * configure.in: got rid of --enable-mem-check and --enable-mem-profile,
        define GLIB_SIZEOF_VOID_P and GLIB_SIZEOF_LONG. check malloc prototypes
        and define SANE_MALLOC_PROTOS is we can use them.
        <boy, is this file a mess>

        * gutils.c, gscanner.c: fix up compatibility warnings, use g_message().

Thu Dec 28 11:36:44 2000  Tim Janik  <timj@gtk.org>

        * gbsearcharray.c (upper_power2): disable G_BSEARCH_ALIGN_POWER2
        fucntionality if DISABLE_MEM_POOLS is defined.

        * gtype.c: honour DISABLE_MEM_POOLS.

        * gsignal.c (g_signal_init): flag signal key bsearch array with
        G_BSEARCH_ALIGN_POWER2 to avoid excessive growth time. honour
        DISABLE_MEM_POOLS.

        * gparam.h: added G_PARAM_READWRITE alias for (G_PARAM_READABLE |
                                                       G_PARAM_WRITABLE).
31 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
acconfig.h
configure.in
docs/debugging.txt [new file with mode: 0644]
docs/macros.txt [new file with mode: 0644]
docs/reference/glib/tmpl/date.sgml
docs/reference/glib/tmpl/glib-unused.sgml
docs/reference/glib/tmpl/modules.sgml
docs/reference/glib/tmpl/random_numbers.sgml
glib/gbsearcharray.c
glib/gmem.c
glib/gmem.h
glib/gscanner.c
glib/gutils.c
gmem.c
gmem.h
gobject/ChangeLog
gobject/gbsearcharray.c
gobject/gobject.c
gobject/gparam.h
gobject/gsignal.c
gobject/gtype.c
gscanner.c
gutils.c