1. 29 Apr, 2001 1 commit
    • Tim Janik's avatar
      made hook ids a gulong. · abc5cbbe
      Tim Janik authored
      Sun Apr 29 00:37:34 2001  Tim Janik  <timj@gtk.org>
      
              * ghook.[hc]: made hook ids a gulong.
      
      Sat Apr 28 23:39:42 2001  Tim Janik  <timj@gtk.org>
      
              * gsignal.[hc]: made signal handler and emission hook ids gulongs.
              (signal_handlers_foreach_matched_R): only invoke callback for handlers
              that are not disconnected (id>0).
              (signal_emit_R): prevent invocation of signal handlers during the
              emission they were connected within.
      
              * glib-mkenums: publically installed perl-script to parse C code
              enums and generate descriptions thereof.
              * glib-mkenums.1: assorted man page.
      abc5cbbe
  2. 08 Mar, 2001 1 commit
    • Tim Janik's avatar
      destruction cleanup. there's one ->finalize_hook member in the hooklist · 61733223
      Tim Janik authored
      Thu Mar  8 16:23:34 2001  Tim Janik  <timj@gtk.org>
      
              * ghook.[hc]: destruction cleanup. there's one
              ->finalize_hook member in the hooklist now that gets
              called when a hook should be destroyed, that's it.
              that function is guarranteed to be called only when
              all ref_counts to the hook vanished, thus also when
              the hook is not in call.
      
      Thu Mar  8 16:35:48 2001  Tim Janik  <timj@gtk.org>
      
              * gparamspecs.[hc]: s/g_param_spec_string_c/g_param_spec_stringc/.
      
              * gsignal.[hc]: fixed accumulator invocation, implemented emission
              hooks. and no, neither of these callbacks are called via a closure,
              language bindings can wrap the accumulator and emission hook
              interface, they already get parameters marshalled into a GValue array.
              (g_signal_connect): removed this function as its C specific, doesn't
              cover the swapped argument, is too close to its broken original
              gtk_signal_connect() and creates demand for _swapped, _after and
              _swapped_after variants <brrr>.
              (g_signal_connectc): convenience macro to connect a C handler
              func with data, like the old g_signal_connect() plus swapped
              argument.
      
              * gtype.h:
              * gboxed.c: added G_TYPE_VALUE boxed type.
      61733223
  3. 12 Oct, 2000 1 commit
    • Sebastian Wilhelmi's avatar
      Split glib.h into many header files mostly according to the resp. · b1d15587
      Sebastian Wilhelmi authored
      
      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.
      b1d15587