1. 07 Mar, 2001 4 commits
  2. 06 Mar, 2001 1 commit
  3. 03 Mar, 2001 1 commit
  4. 02 Mar, 2001 1 commit
  5. 01 Mar, 2001 3 commits
    • Tor Lillqvist's avatar
      Use MAXPATHLEN, not PATH_MAX which isn't defined with MSVC. · d4960b28
      Tor Lillqvist authored
      2001-03-01  Tor Lillqvist  <tml@iki.fi>
      
      	* gutils.c (g_find_program_in_path): (Win32): Use MAXPATHLEN,
      	not PATH_MAX which isn't defined with MSVC.
      d4960b28
    • Tor Lillqvist's avatar
      Implement on Win32. Append the executable file name suffixes from PATHEXT · 00988d0d
      Tor Lillqvist authored
      2001-03-01  Tor Lillqvist  <tml@iki.fi>
      
      	* gutils.c(g_find_program_in_path): Implement on Win32. Append the
      	executable file name suffixes from PATHEXT in turn while
      	looking	for the program.
      	(g_find_program_in_path): If the program we are looking for is a
      	relative path in a subdirectory, don't do any path search.
      00988d0d
    • Tor Lillqvist's avatar
      Remove test for initial double backslash (UNC path), this will of course · b6ba941b
      Tor Lillqvist authored
      2001-03-01  Tor Lillqvist  <tml@iki.fi>
      
      	* gutils.c (g_path_is_absolute): (Win32) Remove test for initial
      	double backslash (UNC path), this will of course be matched by the
      	test for an initial G_DIR_SEPARATOR right up front. Silly me.
      	(g_find_program_in_path): Implement on Win32.
      	(g_get_any_init): (Win32) Also look for the USERPROFILE env var
      	indicating the home directory equivalent.
      
      	* testglib.c (main): Test g_find_program_in_path() on Win32 by
      	looking for more.com and regedit.exe.
      
      	* glib.def: Add g_find_program_in_path.
      b6ba941b
  6. 26 Feb, 2001 1 commit
  7. 23 Feb, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Change the order to match the order in g_thread_create(). · 2395a333
      Sebastian Wilhelmi authored
      
      2001-02-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread.h (struct _GThread): Change the order to match the order
      	in g_thread_create().
      
      	* gthread.c (g_static_rec_mutex_lock_full): Also do the right
      	thing (behave like 'depth' calls to g_static_rec_mutex_lock) for a
      	mutex, that is already locked.
      
      	* glib/tmpl/threads.sgml: Big update. Almost ready.
      
      	* glib/tmpl/async_queues.sgml: Typo.
      
      	* glib/glib-sections.txt: Added g_static_rec_mutex_init,
      	g_static_rec_mutex_free, g_static_rw_lock_init,
      	g_static_private_init and g_static_private_free.
      
      	* glib/glib-overrides.txt: Added g_thread_yield and g_thread_exit.
      2395a333
  8. 22 Feb, 2001 2 commits
  9. 21 Feb, 2001 2 commits
    • Jonathan Blandford's avatar
      Add g_signal_connect define to make porting from gtk_signal_connect easy. · f3ec41e8
      Jonathan Blandford authored
      Wed Feb 21 18:31:46 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gsignal.h (g_signal_connect): Add g_signal_connect define to
      	make porting from gtk_signal_connect easy.
      f3ec41e8
    • Tor Lillqvist's avatar
      Match also UNC paths on Win32. · cd89e4cc
      Tor Lillqvist authored
      2001-02-21  Tor Lillqvist  <tml@iki.fi>
      
      	* gutils.c (g_path_is_absolute): Match also UNC paths on Win32.
      
      	* gthread.h: Include gtypes.h to be sure to get GLIB_VAR
      	definition, remove definition from here.
      
      	* gunicode.h: Remove duplicate GLIB_VAR definition from here, too.
      
      	* gutils.c: (Win32) Use USERPROFILE as home dir if present. On
      	Win2k, HOMEDRIVE and HOMEPATH aren't reliable.
      
      	* Makefile.am (INCLUDES): Add -DGLIB_COMPILATION.
      
      	* makefile.mingw.in: Remove install target, Windows isn't Unix.
      
      	* testgdate.c
      	* testgdateparser.c
      	* testglib.c: Undefine GLIB_COMPILATION.
      
      	* glib.def: Updates.
      
      	* .cvsignore
      	* */.cvsignore: Ignore also .obj, .dll, .lib and .exe files.
      cd89e4cc
  10. 19 Feb, 2001 3 commits
  11. 18 Feb, 2001 1 commit
  12. 17 Feb, 2001 7 commits
    • Havoc Pennington's avatar
      include string.h · 1c391cc6
      Havoc Pennington authored
      2001-02-17  Havoc Pennington  <hp@pobox.com>
      
      	* gthread.c: include string.h
      
              Applied patch from Soeren Sandmann:
      
      	* testglib.c: const fixes
      
      	* gwin32.h: format cleanups
      
      	* gutils.c (g_atexit): constify a variable
      	(g_find_program_in_path): constification
      	(g_basename): G_CONST_RETURN
      	(g_path_skip_root): G_CONST_RETURN
      	(g_getenv): G_CONST_RETURN
      	(g_get_user_name): G_CONST_RETURN
      	(g_get_real_name): G_CONST_RETURN
      	(g_get_home_dir): G_CONST_RETURN
      	(g_get_tmp_dir): G_CONST_RETURN
      	(g_get_prgname): G_CONST_RETURN
      	(_glib_gettext): G_CONST_RETURN
      
      	* gunicode.h: formatting cleanups
      
      	* gstrfuncs.c (g_strerror): G_CONST_RETURN
      	(g_strsignal): G_CONST_RETURN
      
      	* gspawn.c (g_execute): const on variables
      
      	* gmessages.c (printf_string_upper_bound): fix const on a variable
      
      	* gmem.c (g_mem_chunk_new): make the "name" arg const
      	(struct _GRealMemChunk): make the "name" field const
      
      	* gfileutils.c (g_file_open_tmp): store const return in a const
      	gchar* variable
      
      	* gdataset.c (g_quark_to_string): G_CONST_RETURN
      
      2001-02-17  Havoc Pennington  <hp@pobox.com>
      
              Applied patch from Soeren Sandmann:
      
      	* gvaluetypes.c (g_value_get_string): G_CONST_RETURN
      
      	* gtype.c (g_type_name): G_CONST_RETURN
      
      	* gsignal.c (g_signal_name): G_CONST_RETURN
      
      	* gobject-query.c (main): const fix
      
      2001-02-17  Havoc Pennington  <hp@pobox.com>
      
              Applied patch from Soeren Sandmann:
      
      	* gmodule.c (g_module_error): G_CONST_RETURN
      	(g_module_name): G_CONST_RETURN
      1c391cc6
    • Andraz Tori's avatar
      Updated Slovenian translation · adfafc08
      Andraz Tori authored
      adfafc08
    • Andraz Tori's avatar
      Added sl translation · dc46a199
      Andraz Tori authored
      dc46a199
    • Tim Janik's avatar
      patch from sven to fixup G_ENUM_CLASS_TYPE() macro. · 9c830a7d
      Tim Janik authored
      Sat Feb 17 07:58:46 2001  Tim Janik  <timj@gtk.org>
      
              * genums.h (G_TYPE_IS_FLAGS): patch from sven to fixup
              G_ENUM_CLASS_TYPE() macro.
      9c830a7d
    • Tim Janik's avatar
      minor fix · d28267f1
      Tim Janik authored
      d28267f1
    • Tim Janik's avatar
      add check for broken RTLD_GLOBAL (on OSF1 V5.0). · 80d0c742
      Tim Janik authored
      Sat Feb 17 07:26:33 2001  Tim Janik  <timj@gtk.org>
      
              * configure.in (G_MODULE_HAVE_DLERROR): add check for broken RTLD_GLOBAL
              (on OSF1 V5.0).
      
      Sat Feb 17 07:27:15 2001  Tim Janik  <timj@gtk.org>
      
              * gmodule.c: work around platforms that have broken RTLD_GLOBAL.
      80d0c742
    • Tim Janik's avatar
      changed collect_format, collect_value() and lcopy_format, lcopy_value() in · bbc5a3ad
      Tim Janik authored
      Sat Feb 17 04:55:35 2001  Tim Janik  <timj@gtk.org>
      
              * gtype.[hc]: changed collect_format, collect_value() and lcopy_format,
              lcopy_value() in the GTypeValueTable. the collect functions are now
              called only once per value, collect_format/lcopy_format are strings
              that enlist all necessary GTypeCValues to be varargs-collected.
      
              * gvalue.h: ranamed STATIC_TAG to G_VALUE_NOCOPY_CONTENTS to indicate that
              a value shouldn't copy its contents.
      
              * gvaluecollector.h: changed G_VALUE_COLLECT() and G_VALUE_LCOPY()
              macros to carry an additional argument (flags) that can be used
              to pass G_VALUE_NOCOPY_CONTENTS along to the collection functions.
      
              * *.c: adapted collect_value() and lcopy_value() functions to the new
              prototypes, support G_VALUE_NOCOPY_CONTENTS where apropriate.
      
              * gsignal.[hc]: introduced a G_SIGNAL_TYPE_STATIC_SCOPE flag that can
              be passed along (ORed) with the parameter types, indicating that the
              emission arguments are to be considered static for the scope of the
              emission. should be used with care and only if the caller knows that
              a parameter cannot be destroyed/freed from signal handlers connected
              to an emission.
      bbc5a3ad
  13. 16 Feb, 2001 2 commits
    • Sebastian Wilhelmi's avatar
      .cvsignore updates · 2836524d
      Sebastian Wilhelmi authored
      
      .cvsignore updates
      2836524d
    • Tim Janik's avatar
      incorporated huge docu patch from Eric Lemings <eric.b.lemings@lmco.com> · 12a0d19c
      Tim Janik authored
      Fri Feb 16 06:52:20 2001  Tim Janik  <timj@gtk.org>
      
              * gobject/tmpl/types.sgml: incorporated huge docu patch from Eric
              Lemings <eric.b.lemings@lmco.com> with a bunch of editing on my part.
      
      Fri Feb 16 07:10:44 2001  Tim Janik  <timj@gtk.org>
      
              * gclosure.c:
              (g_closure_ref):
              (g_closure_sink): make closure sinking explicit.
      
              * gsignal.c:
              (g_signal_connect_data):
              (g_signal_connect_closure):
              (g_signal_connect_closure_by_id):
              (g_signal_newv): perform explicit closure sinking.
      
      Thu Feb  8 00:31:45 2001  Tim Janik  <timj@gtk.org>
      
              * gtype.h: added G_TYPE_DEBUG_NONE for/from Eric Lemings ;)
      12a0d19c
  14. 15 Feb, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      Reverted the changes necessary to enlarge the system thread for · efb2e89e
      Sebastian Wilhelmi authored
      
      2001-02-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* acconfig.h, configure.in: Reverted the changes necessary to
      	enlarge the system thread for G_THREAD_USE_PID_SURROGATE.
      
      	* gthread.c: Now implement G_THREAD_USE_PID_SURROGATE in gthread.c
      	instead of gthread/gthread-posix.c. While the latter has the
      	advantage, that it is conceptually cleaner, it makes
      	g_thread_self_posix_impl _very_ slow and that hurts
      	GStaticRecMutex and other things. So the new version is less
      	clean, but faster.
      
      	* gthread-posix.c: Removed the G_THREAD_USE_PID_SURROGATE
      	implementation, which is now in gthread.c.
      efb2e89e
  15. 13 Feb, 2001 2 commits
    • Havoc Pennington's avatar
      don't overwrite errors · a8786011
      Havoc Pennington authored
      2001-02-09  Havoc Pennington  <hp@redhat.com>
      
      	* gconvert.c (g_convert): don't overwrite errors
      
      	* gerror.c (g_set_error): improve warning message if an error is
      	overwritten
      	(g_propagate_error): ditto
      a8786011
    • Sebastian Wilhelmi's avatar
      Added functions g_static_rec_mutex_init, g_static_rec_mutex_free, · 41e2001d
      Sebastian Wilhelmi authored
      
      2001-02-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gthread.c, gthread.h: Added functions g_static_rec_mutex_init,
      	g_static_rec_mutex_free, g_static_private_init,
      	g_static_private_free, g_static_rw_lock_init to allow the usage of
      	all those types dynamically. (g_static_rw_lock_free already
      	existed). Aditionally freed static_private indeces are reused
      	now. Untill now the array would just grow if you would use more
      	and more static_private. That required adding a slist of all
      	running threads, which could potentially be of good use later. It
      	is not exported however. Renamed a LOCK and small indentation
      	fixes.
      
      	* tests/thread-test.c: Test the new static_private index freing
      	and reusing feature.
      41e2001d
  16. 12 Feb, 2001 2 commits
    • Owen Taylor's avatar
      Add check for gtk-doc version. · cc0f6f02
      Owen Taylor authored
      Mon Feb 12 15:01:09 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in (gtk_doc_min_version): Add check for gtk-doc version.
      cc0f6f02
    • Owen Taylor's avatar
      The ultimate gtk-doc makefile. · d6fe9f43
      Owen Taylor authored
      Mon Feb 12 12:42:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* {glib,gobject}/Makefile.am: The ultimate gtk-doc makefile.
      d6fe9f43
  17. 10 Feb, 2001 2 commits
  18. 08 Feb, 2001 2 commits
  19. 06 Feb, 2001 1 commit
  20. 04 Feb, 2001 1 commit