1. 20 Jul, 2003 1 commit
    • Hans Breuer's avatar
      for msvc build · 2781d5f6
      Hans Breuer authored
      2003-07-20  Hans Breuer  <hans@breuer.org>
      
      	* glib/trio/makefile.msc : (new file) for msvc build
      
      	* glib/glib.def : removed some duplicated entries
      
      	* glib/gscanner.c : add same workaround for MSVC(5.0)
      	which does not allow to cast an uint64 to float.
      	Same as in gvaluetransform.c
      	Also move #include <io.h> behind inclusion of "glib.h"
      	which defines the needed G_OS_WIN32
      
      	* glib/makefile.msc.in : added gprintf.obj, trio\trio.lib
      	as well as shell32.lib
      
      	* tests/spawn-test.c : include <io.h> on win32
      2781d5f6
  2. 09 Jul, 2003 3 commits
    • Manish Singh's avatar
      check if context->poll_chunk is set before trying to destroy it. For · ca1ff92c
      Manish Singh authored
      Wed Jul  9 16:27:26 2003  Manish Singh  <yosh@gimp.org>
      
              * glib/gmain.c (g_main_context_unref_and_unlock): check if
              context->poll_chunk is set before trying to destroy it. For example,
              This can happen if no sources are added to a context before it is
              freed.
      ca1ff92c
    • Matthias Clasen's avatar
      Doc additions. · f1c0e401
      Matthias Clasen authored
      2003-07-12  Matthias Clasen  <maclas@gmx.de>
      
      	* glib/gprintf.c: Doc additions.
      
      2003-07-12  Matthias Clasen  <maclas@gmx.de>
      
      	* glib/tmpl/string_utils.sgml: Add a paragraph about string precision, add links to it.
      	Remove markup which is now handled better by gtk-doc.
      f1c0e401
    • Morten Welinder's avatar
      Avoid var declaration after statement. · 27b50b6d
      Morten Welinder authored
      2003-07-09  Morten Welinder  <terra@gnome.org>
      
      	* glib/gprintf.c (g_vasprintf): Avoid var declaration after
      	statement.
      27b50b6d
  3. 08 Jul, 2003 1 commit
    • Matthias Clasen's avatar
      Support for one-time initialization functions. (#69668, Sebastian · 876f9078
      Matthias Clasen authored
      2003-07-09  Matthias Clasen  <maclas@gmx.de>
      
      	Support for one-time initialization functions.  (#69668, Sebastian Wilhelmi)
      
      	* configure.in: Check whether double checked locking is safe, define g_once() in
      	glibconfig.h accordingly.
      	* glib/gthread.h: Add GOnce, GOnceStatus, G_ONCE_INIT and g_once_impl.
      	* glib/gthread.c (g_once_impl): Fallback implementation using a mutex if double checked
      	locking is unsafe.
      	* tests/thread-test.c: Add tests for g_once().
      876f9078
  4. 01 Jul, 2003 1 commit
  5. 25 Jun, 2003 2 commits
  6. 18 Jun, 2003 1 commit
  7. 11 Jun, 2003 1 commit
  8. 08 Jun, 2003 1 commit
  9. 07 Jun, 2003 1 commit
  10. 06 Jun, 2003 1 commit
    • Owen Taylor's avatar
      When dispatching a source that is !CAN_RECURSE, temporarily remove any · 4a21238f
      Owen Taylor authored
      Thu Jun  5 23:40:31 2003  Owen Taylor  <otaylor@redhat.com>
      
              * glib/gmain.c: When dispatching a source that is
              !CAN_RECURSE, temporarily remove any file descriptors
              that that source has registered from the main loop, to keep
              recursive main loops from busy-waiting if input
              becomes available on one of those file descriptors.
              (#112222, Christian Krause)
      
              * glib/gmain.c (g_source_set_priority): Properly
              remove the source from the context's source list
              and reinsert it sorted, rather than simply setting
              source->next/prev to NULL! (#114274)
      4a21238f
  11. 05 Jun, 2003 3 commits
    • Matthias Clasen's avatar
      Use g_vasprintf() and g_string_append_len(), thus enabling embedded nuls · cc777da9
      Matthias Clasen authored
      2003-06-06  Matthias Clasen  <maclas@gmx.de>
      
      	* glib/gstring.c (g_string_append_printf_internal): Use
      	g_vasprintf() and g_string_append_len(), thus enabling embedded
      	nuls in the result of g_string_printf().  (#92492, Owen Taylor)
      
      	* tests/string-test.c: Add a test for embedded nuls in the
      	result of g_string_printf().
      cc777da9
    • Matthias Clasen's avatar
      Synchronize argument names with headers and docs. (g_vasprintf): An · 27b3b2c6
      Matthias Clasen authored
      2003-06-06  Matthias Clasen  <maclas@gmx.de>
      
      	* glib/gprintf.[ch]: Synchronize argument names with headers and docs.
      	(g_vasprintf): An implementation of vasprintf(), code was lifted
      	from g_strdup_vprintf().  (#112365)
      
      	* glib/gstrfuncs.c (g_strdup_vprintf): Just use g_vasprintf().
      27b3b2c6
    • Tor Lillqvist's avatar
      glib/giochannel.h Remove bogus (Win32-only) declaration of · 1cf610e2
      Tor Lillqvist authored
      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.
      1cf610e2
  12. 04 Jun, 2003 1 commit
  13. 02 Jun, 2003 1 commit
    • Owen Taylor's avatar
      Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825) · 5f5ab238
      Owen Taylor authored
      Mon Jun  2 14:18:21 2003  Owen Taylor  <otaylor@redhat.com>
      
              Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
      
              * glib/gspawn.c (read_data): Don't read() into '&buf', while this
              is technically okay - it is clearer as just 'buf'.
              (write_all): New helper function that handles write() interrupts.
              (write_err_and_exit): Use write_all() instead of write().
              (fork_exec_with_pipes): Same here.
      5f5ab238
  14. 01 Jun, 2003 1 commit
  15. 31 May, 2003 1 commit
  16. 30 May, 2003 3 commits
  17. 28 May, 2003 1 commit
  18. 27 May, 2003 1 commit
  19. 23 May, 2003 2 commits
  20. 22 May, 2003 1 commit
  21. 21 May, 2003 1 commit
  22. 20 May, 2003 1 commit
  23. 19 May, 2003 2 commits
  24. 05 May, 2003 1 commit
    • Matthias Clasen's avatar
      Some doc fixes. (#111805) · 8e80b63b
      Matthias Clasen authored
      2003-05-05  Matthias Clasen  <maclas@gmx.de>
      
      	* glib/gstrfuncs.c (g_ascii_dtostr):
      	(g_ascii_formatd):
      	(g_ascii_strtod): Some doc fixes.  (#111805)
      8e80b63b
  25. 07 Apr, 2003 1 commit
    • Owen Taylor's avatar
      When waiting for the main loop to be freed up, wait on either · 5b4af306
      Owen Taylor authored
      Mon Apr  7 13:40:28 2003  Owen Taylor  <otaylor@redhat.com>
      
              * glib/gmain.c (g_main_loop_run): When waiting for
              the main loop to be freed up, wait on either
              !loop->is_running or got_ownership, not both.
              (Caused gtk_dialog_run() not to work in other
              threads, reported by Jean-Yves Lefort)
      5b4af306
  26. 06 Apr, 2003 1 commit
  27. 01 Apr, 2003 1 commit
  28. 31 Mar, 2003 1 commit
  29. 30 Mar, 2003 3 commits