1. 16 Nov, 1999 3 commits
    • Sebastian Wilhelmi's avatar
      Renamed GLIB_SIZEOF_PTHREAD_T to GLIB_SIZEOF_SYSTEM_THREAD to reflect · 760a7cee
      Sebastian Wilhelmi authored
      1999-11-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
              * acconfig.h, config.h.win32.in, configure.in: Renamed
              GLIB_SIZEOF_PTHREAD_T to GLIB_SIZEOF_SYSTEM_THREAD to reflect
              changed meaning.
      
              * configure.in: Cope with systems, that have a pthread_t type,
              that is not a pointer. Hint from Karl Nelson
              <kenelson@ece.ucdavis.edu>. Define GLIB_SIZEOF_SYSTEM_THREAD to 4
              for Solaris. Cope with systems, that have no default mutex
              initialize, like obviously most DCE systems.
      
              * glib.h, gthread.c: Changed the prototype of thread_create and
              thread_self to return the system thread into provided memory
              instead of a return value. This is necessary, as HPUX has a
              pthread_t, that is bigger than the biggest integral type there.
      
              * gthread.c: system_thread is no longer a pointer, but an memory
              area of size GLIB_SIZEOF_SYSTEM_THREAD. Changed the
              zeroinitialization and the tests for zeroness accordingly.
      760a7cee
    • Sebastian Wilhelmi's avatar
      Changed the prototype of thread_create and thread_self to return the · f0f028ab
      Sebastian Wilhelmi authored
      1999-11-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
              * gthread-posix.c, gthread-solaris.c: Changed the prototype of
              thread_create and thread_self to return the system thread into
              provided memory instead of a return value. This is necessary, as
              HPUX has a pthread_t, that is bigger than the biggest integral
              type there. Made some more functions static.
      
              * gthread-posix.c: Small fixes for DCE threads: Detaching has to
              be done after thread creation for DCE.
      f0f028ab
    • Sebastian Wilhelmi's avatar
      updated .cvsignore · b1d311d0
      Sebastian Wilhelmi authored
      b1d311d0
  2. 14 Nov, 1999 1 commit
  3. 10 Nov, 1999 1 commit
  4. 09 Nov, 1999 2 commits
  5. 08 Nov, 1999 4 commits
    • Sebastian Wilhelmi's avatar
      Make the test for getpwuid_r work on newer AIX versions, too. Still works · 6d441ca5
      Sebastian Wilhelmi authored
      1999-11-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
              * configure.in: Make the test for getpwuid_r work on newer AIX
              versions, too. Still works on Solaris and Linux. Patch from Craig
              Rodrigues <rodrigc@mediaone.net>.
      6d441ca5
    • Tor Lillqvist's avatar
      Typos. · cafa1e2c
      Tor Lillqvist authored
      cafa1e2c
    • Tor Lillqvist's avatar
      New function that returns the message string for a Win32 error code. · 22a15d33
      Tor Lillqvist authored
      2000-03-04  Tor Lillqvist  <tml@iki.fi>
      
      * gwin32.c (g_win32_error_message): New function that returns the
      message string for a Win32 error code.
      
      * glib.h: Declare it.
      
      * glib.def: Export it, plus g_node_copy.
      
      * gmodule-win32.c: Call g_win32_error_message() to get the error
      message strings.
      
      * libgplugin_a.c
      * libgplugin_b.c
      * gmodule.c: Remove LibMain functions that were needed by LCC,
      which is not a supported compiler.
      
      * testgmodule.c (main): Test for G_MODULE_IMPL ==
      G_MODULE_IMPL_WIN32, not G_OS_WIN32.
      
      * gmoduleconf.h.win32: Remove LCC stuff from here, too.
      22a15d33
    • Tor Lillqvist's avatar
      Look at env vars LC_ALL, LC_CTYPE and LANG first. Some refinements to the · 926d0258
      Tor Lillqvist authored
      1999-11-08  Tor Lillqvist  <tml@iki.fi>
      
      * gwin32.c (g_win32_getlocale): Look at env vars LC_ALL, LC_CTYPE
      and LANG first. Some refinements to the sublanguage logic.
      926d0258
  6. 04 Nov, 1999 1 commit
  7. 01 Nov, 1999 2 commits
  8. 31 Oct, 1999 2 commits
  9. 17 Oct, 1999 1 commit
    • Sebastian Wilhelmi's avatar
      remove g_dataset_global_lock around destroy() notification here as well. · a2760140
      Sebastian Wilhelmi authored
      Sun Oct 17 18:11:40 1999  Tim Janik  <timj@gtk.org>
      
              * gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
              destroy() notification here as well.
      
      1999-10-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
              * gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
              is called recursivly. Reported by Ola Andersson <rand@ling.umu.se>.
      a2760140
  10. 14 Oct, 1999 1 commit
    • Tim Janik's avatar
      removed useless g_string(x) macro that cluttered the namespace and was · 9a65b20e
      Tim Janik authored
      Tue Oct 12 14:17:12 1999  Tim Janik  <timj@gtk.org>
      
              * glib.h: removed useless g_string(x) macro that cluttered the namespace
              and was just a poor wrapper around the cpp '#' symbol, use #x if you
              need to work around this.
              added new macro G_STRINGIFY(arg) that will convert arg to a string,
              no matter whether it contains macros or not.
      9a65b20e
  11. 12 Oct, 1999 2 commits
    • Tor Lillqvist's avatar
      Define the new GLIB_SIZEOF_* constants here, too. · 52ad8a9c
      Tor Lillqvist authored
      1999-10-12  Tor Lillqvist  <tml@iki.fi>
      
      * config.h.win32.in: Define the new GLIB_SIZEOF_* constants here,
      too.
      
      * glib.h: Small Win32 comments improvement.
      52ad8a9c
    • Tim Janik's avatar
      completly new implementation for printf string upper bounds calculation. · 30a1e1ad
      Tim Janik authored
      Tue Oct 12 12:16:12 1999  Tim Janik  <timj@gtk.org>
      
              * gmessages.c (g_printf_string_upper_bound): completly new implementation
              for printf string upper bounds calculation.
              we handle all glibc 2.1 format specifiers now, except for positional
              parameters (%nn$...) and wide char strings, plus some obscure upper
              case variants of the standard conversions. this fixes a lot of
              bugs in the old code, i.e.
              - NULL format strings
              - floats with exponents >+24
              - %G
              - precision specifications in general
              - negative field widths
              - %p for SIZEOF_VOID_P > 4 platforms
              we now issue warnigns in places where the old code would have
              caused buffer overruns anyways. warnings are suppressed when invoked
              from glogv(), to avoid infinite recursions if someone passes a log
              message that comes with really obscure format specifications.
      
      Tue Oct 12 11:49:00 1999  Tim Janik  <timj@gtk.org>
      
              * gstrfuncs.c: nuked old g_printf_string_upper_bound() version.
      
      Tue Oct 12 03:34:40 1999  Tim Janik  <timj@gtk.org>
      
              * glib.h: added GFloatIEEE754 and GDoubleIEEE754 unions to access sign,
              mantissa and exponent of IEEE floats and doubles (required by the new
              version of g_printf_string_upper_bound). the unions are endian specific,
              we handle G_LITTLE_ENDIAN and G_BIG_ENDIAN as of currently. ieee floats
              and doubles are supported (used for storage) by at least intel, ppc and
              sparc, reference:
              http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
      
      Mon Oct 11 18:01:49 1999  Tim Janik  <timj@gtk.org>
      
              * configure.in: added additional checks to figure sizes of size_t,
              ptrdiff_t and intmax_t (required by g_printf_string_upper_bound).
      30a1e1ad
  12. 06 Oct, 1999 1 commit
  13. 05 Oct, 1999 2 commits
  14. 04 Oct, 1999 3 commits
  15. 21 Sep, 1999 1 commit
    • Tim Janik's avatar
      define NULL as (0L) if __cplusplus is defined, to avoid "ANSI C++ forbids · 4944d4df
      Tim Janik authored
      Wed Sep 22 01:53:18 1999  Tim Janik  <timj@gtk.org>
      
              * glib.h (NULL): define NULL as (0L) if __cplusplus is defined, to
              avoid "ANSI C++ forbids implicit conversion from `void *' in argument
              passing" errors upon NULL usage in C++ programs (gcc-2.95 is on crack
              for erroring out on this, instead of just issueing a warning).
      
              * glib.h (g_trash_stack_pop): use uncasted NULL again.
      4944d4df
  16. 17 Sep, 1999 2 commits
    • Tim Janik's avatar
      applied patch from Soeren Sandmann <sandmann@daimi.au.dk>, to force mem · ddfc68fc
      Tim Janik authored
      Fri Sep 17 10:24:45 1999  Tim Janik  <timj@gtk.org>
      
              * gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
              from Soeren Sandmann <sandmann@daimi.au.dk>, to force mem chunk's area
              sizes to be a multitiple of atom_size, and to eliminate the MAX_MEM_AREA
              restriction of 65536 bytes. we also catch cases where users pass an area
              size < atom size with a return_if_fail statement now (which is ok,
              because previously this lead to memory corruption anyways).
      ddfc68fc
    • Tim Janik's avatar
      add explicit (GTrashStack*) cast for NULL pointer to cure ANSI C++ error. · 2a6f3bd6
      Tim Janik authored
      Thu Sep 16 13:19:54 1999  Tim Janik  <timj@gtk.org>
      
              * glib.h (g_trash_stack_pop): add explicit (GTrashStack*) cast for NULL
              pointer to cure ANSI C++ error.
      2a6f3bd6
  17. 13 Sep, 1999 1 commit
    • Tim Janik's avatar
      in case we have to abort the program, debugging is enabled and we are not · 6072e65c
      Tim Janik authored
      Mon Sep 13 23:25:59 1999  Tim Janik  <timj@gtk.org>
      
              * gmessages.c (g_logv): in case we have to abort the program,
              debugging is enabled and we are not called recursively, try
              to abort with raise (SIGTRAP) first, so developers may ignore
              certain failure conditions during debugging stage.
      6072e65c
  18. 26 Aug, 1999 1 commit
  19. 19 Aug, 1999 1 commit
    • Sebastian Wilhelmi's avatar
      Use /dev/urandom, as it doesn't block, which /dev/random might do. Do not · e435032d
      Sebastian Wilhelmi authored
      
      1999-07-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* grand.c (g_rand_new): Use /dev/urandom, as it doesn't block,
      	which /dev/random might do. Do not XOR the time, when getting the
      	seed form /dev/urandom, as this is good itself. Prevent the
      	initial seed from being zero, which causes the PRNG to produce
      	only zeros. Hints from Colin Plumb <colin@pgp.com>.
      e435032d
  20. 17 Aug, 1999 3 commits
    • Tor Lillqvist's avatar
      Add a cast. · 80c44ef3
      Tor Lillqvist authored
      	* glib.h (g_trash_stack_push): Add a cast.
      
      	* gslist.c
      	* glist.c: Make the inline functions static inline, and add
      	separate extern wrappers. Not all compilers produce callable entry
      	points for inline functions, even if gcc does.
      80c44ef3
    • Owen Taylor's avatar
      Updates to .cvsignore. · 36a4ad37
      Owen Taylor authored
      36a4ad37
    • Owen Taylor's avatar
      Added missing </para> Added missing </para> Added missing </para> Added · 0abbf9b6
      Owen Taylor authored
      Tue Aug 17 08:42:17 1999  Owen Taylor  <otaylor@redhat.com>
      
      	* tmpl/datasets.sgml: Added missing </para>
      	* tmpl/timers.sgml: Added missing </para>
      	* tmpl/misc_utils.sgml: Added missing </para>
      	* tmpl/linked_lists_double.sgml: Added missing </para>
      	* tmpl/linked_lists_single.sgml: Added missing </para>
      	* tmpl/threads.sgml: Removed extra <para>s.
      	* tmpl/main.sgml: Added missing </para>
      0abbf9b6
  21. 16 Aug, 1999 5 commits