1. 19 Aug, 2003 5 commits
    • Tor Lillqvist's avatar
      [Win32] Make the fatal error message box easier to notice with · 200bb7f7
      Tor Lillqvist authored
      2003-08-19  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gmessages.c (g_logv): [Win32] Make the fatal error message
      	box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
      	to get a nice stop-sign icon.
      200bb7f7
    • Owen Taylor's avatar
      Add $INTLLIBS to $LIBS temporarily, not -lintl. (Problem with fix for · 9d8e6759
      Owen Taylor authored
      Tue Aug 19 09:42:06 2003  Owen Taylor  <otaylor@redhat.com>
      
              * m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
              temporarily, not -lintl. (Problem with fix for
              #119171, pointed out by James Henstridge)
      9d8e6759
    • Tim Janik's avatar
      check private instance data after initialization. · 105adb9a
      Tim Janik authored
      Tue Aug 19 05:21:04 2003  Tim Janik  <timj@gtk.org>
      
              * testgobject.c (main): check private instance data after
              initialization.
      
              * gtype.c: for instances with private data, store the real class
              pointer in a bsearch array during class initialization.
              (g_type_instance_get_private): fetch the real class of
              an instance from the bsearch array if necessary.
      105adb9a
    • Tim Janik's avatar
      license change, no restrictions are made in the new license at all, the · 808a2829
      Tim Janik authored
      Tue Aug 19 03:55:29 2003  Tim Janik  <timj@gtk.org>
      
              * glib/gbsearcharray.h: license change, no restrictions are made
              in the new license at all, the implmentation is simply provided
              "as is" to allow copy-pasting the code into any third-party app.
              naturally, the implementation is self-contained within the header
              file to allow this.
              default to non-shrinking behaviour, allow users to request shrinking
              via G_BSEARCH_ARRAY_AUTO_SHRINK.
              creation, deletion functions are now named g_bsearch_array_create()
              and g_bsearch_array_free().
              fixed const in prototypes, removed cruft.
              (g_bsearch_array_insert): take only three arguments, do nothing if the
              node to insert is already there.
              (g_bsearch_array_replace): insert or replace if the node is already
              there.
              (g_bsearch_array_remove): remove nodes by index, the index of a node
              can be found via g_bsearch_array_get_index().
              removed other g_bsearch_array_remove*() variants.
              (g_bsearch_array_lookup): minor optimizations.
              (g_bsearch_array_lookup_sibling): return nodes on mismatches.
      
              * glib/gbsearcharray.c: removed.
      808a2829
    • Tim Janik's avatar
      adapt to new gbsearcharray.h code. (g_value_register_transform_func): turn · 6d6e68f3
      Tim Janik authored
      Tue Aug 19 04:08:14 2003  Tim Janik  <timj@gtk.org>
      
              * gvalue.c: adapt to new gbsearcharray.h code.
              (g_value_register_transform_func): turn transform function
              replacement into a valid operation.
      
              * gsignal.c: adapt to new gbsearcharray.h code.
      
              * gboxed.c: adapt to new gbsearcharray.h code.
      6d6e68f3
  2. 18 Aug, 2003 3 commits
  3. 16 Aug, 2003 1 commit
    • Tor Lillqvist's avatar
      Fix #117925 (Dov Grobgeld): · 55d624d8
      Tor Lillqvist authored
      2003-08-16  Tor Lillqvist  <tml@iki.fi>
      
      	Fix #117925 (Dov Grobgeld):
      
      	* glib/gutils.c (g_find_program_in_path, g_basename,
      	g_path_get_basename, g_path_is_absolute, g_path_skip_root,
      	g_path_get_dirname, g_get_any_init): On Win32, look also for
      	slashes ('/') as pathname separators.
      
      	* glib/gfileutils.c (g_file_open_tmp): Ditto. If the template
      	contains a pathname separator, include the actual one in the error
      	message, instead of always the canonical one.
      
      	(g_build_filename): Separate implementation on Win32 that looks
      	for either slash or backslash. Document Unix/Windows differences.
      
      	* tests/testglib.c
      	* tests/strfunc-test.c: Test above functionality on Win32.
      55d624d8
  4. 15 Aug, 2003 2 commits
    • Danilo Šegan's avatar
      Updated Serbian translation. · ed23bef5
      Danilo Šegan authored
      2003-08-16  Danilo Šegan  <dsegan@gmx.net>
      
      	* sr.po, sr@Latn.po: Updated Serbian translation.
      ed23bef5
    • Tor Lillqvist's avatar
      [Win32] Don't exceed handle array bounds. Warn if there would be too many · 3f3bb7fe
      Tor Lillqvist authored
      2003-08-15  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gmain.c (g_poll): [Win32] Don't exceed handle array
      	bounds. Warn if there would be too many handles to wait
      	for. (WaitForMultipleObjects() has a relatively low limit of 64
      	handles. The Win32 IO channel code should be fixed not to need to
      	wait for one handle per file or socket being watched. Later.)
      3f3bb7fe
  5. 13 Aug, 2003 3 commits
    • Anders Carlsson's avatar
      Add .cvsignore · 12eae9a6
      Anders Carlsson authored
      12eae9a6
    • Tor Lillqvist's avatar
      glib/Makefile.am gmodule/Makefile.am gobject/Makefile.am Use srcdir also · a44c1da1
      Tor Lillqvist authored
      2003-08-13  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/Makefile.am
      	* gmodule/Makefile.am
      	* gobject/Makefile.am
      	* gthread/Makefile.am: Use srcdir also in references to the .def
      	files. (#118885, Jeff Bonggren)
      a44c1da1
    • Tor Lillqvist's avatar
      Drop the Win32-specific implementation. It used WideCharToMultiByte(), · 2b553df5
      Tor Lillqvist authored
      2003-08-12  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gconvert.c (g_locale_from_utf8): Drop the Win32-specific
      	implementation. It used WideCharToMultiByte(), which is broken as
      	it stores unconvertable characters as fallback characters
      	(question marks) in the destination string without being able to
      	tell how much of the conversion succeeded. Using g_convert() like
      	on Unix is better and simpler. (#117872)
      
      	(g_locale_to_utf8): No need for the Win32-specific implementation
      	here, either.
      
      	(have_broken_filenames): Define as TRUE on Win32.
      
      	(g_filename_to_utf8, g_filename_from_utf8): Drop Win32 ifdefs. As
      	have_broken_filenames() now is defined TRUE on Win32, works as
      	before.
      2b553df5
  6. 11 Aug, 2003 1 commit
  7. 10 Aug, 2003 3 commits
    • Matthias Clasen's avatar
      Copy newer versions of JH_CHECK_XML_CATALOG and JH_PATH_XML_CATALOG from · 79bdb0d5
      Matthias Clasen authored
      	* acinclude.m4: Copy newer versions of JH_CHECK_XML_CATALOG and JH_PATH_XML_CATALOG from
      	gtk-doc to enable configuring without xmlcatalog in PATH.  (#119115)
      79bdb0d5
    • Tor Lillqvist's avatar
      Don't use a cache of variable name to value mappings on Win32, as that · 6489e6a5
      Tor Lillqvist authored
      2003-08-10  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gutils.c (g_getenv): Don't use a cache of variable name to
      	value mappings on Win32, as that breaks g_setenv() and
      	g_unsetenv(). Only call ExpandEnvironmentStrings() if necessary,
      	and in that case return a quarkified string. It is still
      	questionable how necessary expanding embedded environment variable
      	references is. Possibly the whole Win32-specific g_getenv()
      	implementation could be removed. (#119520)
      6489e6a5
    • Tor Lillqvist's avatar
      Add g_once_impl. · 6fb380e3
      Tor Lillqvist authored
      2003-08-08  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/glib.def: Add g_once_impl.
      6fb380e3
  8. 08 Aug, 2003 3 commits
  9. 07 Aug, 2003 5 commits
  10. 06 Aug, 2003 4 commits
  11. 05 Aug, 2003 3 commits
    • Hans Breuer's avatar
      for msvc build · 1fd50a14
      Hans Breuer authored
      2003-08-05  Hans Breuer  <hans@breuer.org>
      
      	* glib/gnulib/makefile.msc : (new file) for msvc build
      
      	* glib/gnulib/vasnprintf.c : use glib/galloc.h
      
      	* glib/gnulib/printf.h : #include <stdio.h> for FILE*
      
      	* glib/makefile.msc.in : replace trio with gnulib
      
      	* glib/glib.def : updated externals
      
      	* glib/guniprop.c : fix for guniprop.c(582) : error C2082:
      	redefinition of formal parameter 'len'
      1fd50a14
    • Matthias Clasen's avatar
      Add note about in-place editing to g_strdelimit() doc. · 10d02e3a
      Matthias Clasen authored
      	(#118875, Thomas Vander Stichele)
      10d02e3a
    • Noah Levitt's avatar
      We do handle > BMP now, so test it. · 47992895
      Noah Levitt authored
      2003-08-04  Noah Levitt  <nlevitt@columbia.edu>
      
      	* tests/unicode-normalize.c: We do handle > BMP now, so test it.
      47992895
  12. 02 Aug, 2003 1 commit
  13. 31 Jul, 2003 5 commits
    • Noah Levitt's avatar
      s/g_read_link/g_file_read_link/ (#118727) · 2041e1c1
      Noah Levitt authored
      2003-07-31  Noah Levitt  <nlevitt@columbia.edu>
      
      	* tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727)
      2041e1c1
    • Noah Levitt's avatar
      Return nonzero exit status if the test fails. (#118729) · 03e4805f
      Noah Levitt authored
      2003-07-31  Noah Levitt  <nlevitt@columbia.edu>
      
      	* tests/unicode-encoding.c: Return nonzero exit status if the test fails. (#118729)
      03e4805f
    • Noah Levitt's avatar
      Change instances of U+10ffff to U+10fffd, since that is the last valid · 3b93b012
      Noah Levitt authored
      2003-07-31  Noah Levitt  <nlevitt@columbia.edu>
      
      	* tests/utf8.txt: Change instances of U+10ffff to U+10fffd, since that
      	is the last valid unicode character. Add check that U+10ffff is
      	NOTUNICODE. (#118730)
      3b93b012
    • Noah Levitt's avatar
      Update Unicode data to 4.0. (#107974) · 05f99527
      Noah Levitt authored
      2003-07-30  Noah Levitt  <nlevitt@columbia.edu>
      
      	* glib/gen-unicode-tables.pl:
      	* glib/gunibreak.c:
      	* glib/gunibreak.h:
      	* glib/gunichartables.h:
      	* glib/gunicode.h:
      	* glib/gunicomp.h:
      	* glib/gunidecomp.c:
      	* glib/gunidecomp.h:
      	* glib/guniprop.c:
      	* tests/casefold.txt:
      	* tests/casemap.txt:
      	* tests/gen-casefold-txt.pl:
      	* tests/gen-casemap-txt.pl: Update Unicode data to 4.0. (#107974)
      05f99527
    • Tor Lillqvist's avatar
      When possible, manage without the helper process. (Part of the · cdf72b09
      Tor Lillqvist authored
      2003-07-31  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gspawn-win32.c: When possible, manage without the helper
      	process. (Part of the enhancements outlined in #98737.) Speeds up
      	GIMP 1.3's first-time-run plug-in query phase a lot.
      
      	Plug a file descriptor (and thus Win32 handle) leak: close the
      	read end of the child error report pipe after use.
      cdf72b09
  14. 30 Jul, 2003 1 commit