1. 28 Dec, 2002 1 commit
  2. 27 Dec, 2002 1 commit
  3. 20 Dec, 2002 3 commits
    • Owen Taylor's avatar
      === Released 2.2.0 === · 982d9f86
      Owen Taylor authored
      Fri Dec 20 10:45:29 2002  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.2.0 ===
      
              * INSTALL.in: --enable-included-printf, not --enable-trio.
              (Matthias Clasen)
      982d9f86
    • Owen Taylor's avatar
      === Released 2.2.0 === · 7eafb237
      Owen Taylor authored
      Fri Dec 20 09:52:15 2002  Owen Taylor  <otaylor@redhat.com>
      
              * === Released 2.2.0 ===
      
              * INSTALL.in: Document --enable-trio, --disable-mempools,
              --enable-debug. Include docs on cross compilation.
      
              * NEWS: Update.
      
              * configure.in: Version 2.2.0, interface age 0.
      7eafb237
    • Owen Taylor's avatar
      Call g_main_thread_init() after setting g_threads_got_initialized. · 5ab7a702
      Owen Taylor authored
      Fri Dec 20 09:37:27 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
              after setting g_threads_got_initialized. (#101624,
              Alceste Scalas, Sebastian Wilhelmi)
      5ab7a702
  4. 19 Dec, 2002 1 commit
  5. 17 Dec, 2002 1 commit
    • Tor Lillqvist's avatar
      Improvement based on suggestion by Thorsten Maerz: · 10d5085c
      Tor Lillqvist authored
      2002-12-17  Tor Lillqvist  <tml@iki.fi>
      
      	Improvement based on suggestion by Thorsten Maerz:
      
      	* glib/giowin32.c (struct _GIOWin32Channel): Don't need thread_handle.
      
      	(create_thread): We can close thread handle right away, it isn't
      	used for anything.
      
      	(read_thread, select_thread): Thus, don't close it here.
      
      	Fix #57690, partial fix for #57689:
      
      	* glib/giowin32.c (g_io_win32_set_flags): Don't set the GError,
      	instead call g_warning().
      
      	(g_io_win32_fd_get_flags_internal): New function, sets the
      	is_readable, is_writeable and is_seekable flags based on the
      	actual access modes of the underlying Win32 HANDLE, by trying
      	Win32 ReadFile() and WriteFile() of zero bytes, and
      	PeekNamedPipe(). Should work for disk files and pipes. For devices
      	(consoles) unfortunately not.
      
      	(g_io_win32_fd_get_flags): Don't set the
      	G_IO_FLAG_IS_{READ,WRITE}ABLE flags, g_io_channel_get_flags()
      	already does. Call g_io_win32_fd_get_flags_internal() to set the
      	is_* flags.
      
      	(g_io_win32_msg_get_flags, g_io_win32_sock_get_flags): Splice the
      	generic g_io_win32_get_flags() into these specific functions, as
      	they need to do different things. Not implemented yet, though.
      
      	(g_io_channel_win32_new_fd_internal): New function, to avoid
      	duplicate fstat() calls. Most code from g_io_channel_win32_new_fd()
      	moved here. Call g_io_win32_fd_get_flags_internal() to set the
      	is_* flags.
      
      	(g_io_channel_win32_new_fd, g_io_channel_unix_new): Call
      	g_io_channel_win32_new_fd_internal().
      
      	(g_io_win32_no_seek): Remove. Don't set is_seekable for those
      	channel types.
      10d5085c
  6. 16 Dec, 2002 5 commits
  7. 15 Dec, 2002 8 commits
    • Owen Taylor's avatar
      Actually set INTLLIBS when needed. (Reported by Tor Lillqvist) · 1cac48d3
      Owen Taylor authored
      Sun Dec 15 11:24:29 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* m4macros/glib-gettext.m4: Actually set INTLLIBS
      	when needed. (Reported by Tor Lillqvist)
      1cac48d3
    • Tor Lillqvist's avatar
      Add g_rand_init. · 448a3965
      Tor Lillqvist authored
      2002-12-15  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/glib.def: Add g_rand_init.
      448a3965
    • Tor Lillqvist's avatar
      Slight update to match what is currently produced by configure. · de8234dd
      Tor Lillqvist authored
      2002-12-15  Tor Lillqvist  <tml@iki.fi>
      
      	* config.h.win32.in: Slight update to match what is currently
      	produced by configure.
      de8234dd
    • Owen Taylor's avatar
      HP-UX 10 xshares the same non-posix getpwuid_r signature as AIX. (#100756, · 2c4878f6
      Owen Taylor authored
      Sat Dec 14 21:24:04 2002  Owen Taylor  <otaylor@redhat.com>
      
              * glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
              same non-posix getpwuid_r signature as AIX.
              (#100756, Kai Poitschke)
      2c4878f6
    • Owen Taylor's avatar
      Mark the contents of the strucures in this file /*< private >*/ · 424b7e92
      Owen Taylor authored
      Sat Dec 14 21:10:57 2002  Owen Taylor  <otaylor@redhat.com>
      
              * glib/gthread.h: Mark the contents of the strucures
              in this file /*< private >*/
      
              * glib/gthread.[ch]: Rename the 'write' field of the
              structure to 'have_writer' to avoid any possible
              conflict with system headers. (#90549, Morten Welinder)
      424b7e92
    • Owen Taylor's avatar
      Break _g_locale_charset() into two pieces - a fast "raw" piece, and a slow · ceb35b23
      Owen Taylor authored
      Sat Dec 14 20:11:41 2002  Owen Taylor  <otaylor@redhat.com>
      
              * glib/libcharset/{localcharset.[ch] libcharset-glib.patch}
              glib/gutf8.c: Break _g_locale_charset() into two pieces
              - a fast "raw" piece, and a slow "unalias pieces".
              Always call the "raw" piece, and call the unalias bit
              if it changes. Use a per-thread cache. (#79529)
      ceb35b23
    • Matthias Clasen's avatar
      Set TRIO_LIBS when building with trio. · c95ce4b3
      Matthias Clasen authored
      	* configure.in: Set TRIO_LIBS when building with trio.
      
      	* glib-2.0.pc.in (Libs): Add @TRIO_LIBS@.
      
      	* glib/trio/Makefile.am (libtrio_la_LIBADD): Use @TRIO_LIBS@.
      c95ce4b3
    • Matthias Clasen's avatar
      Add gprintfint.h and trio. · 7baf6850
      Matthias Clasen authored
      2002-12-15  Matthias Clasen  <maclas@gmx.de>
      
      	* glib/Makefile.am (IGNORE_HFILES): Add gprintfint.h and trio.
      
      	* glib/trio/glibtrio.h: New file, redefining all trio symbols to
      	fall into the _G/_g_ private glib namespace.
      
      	* glib/trio/Makefile.am (libtrio_la_SOURCES): Add glibtrio.h
      
      	* glib/trio/trionan.c:
      	* glib/trio/triostr.c:
      	* glib/trio/trio.c: Include glibtrio.h
      
      	* glib/gprintfint.h:
      	* glib/trio/trionan.c:
      	* glib/trio/triostr.c:
      	* glib/trio/trio.c: Include glibtrio.h
      7baf6850
  8. 14 Dec, 2002 1 commit
  9. 13 Dec, 2002 4 commits
    • Owen Taylor's avatar
      Fixes from Johannes Stezenbach · 9d4af571
      Owen Taylor authored
      Thu Dec 12 23:08:29 2002  Owen Taylor  <otaylor@redhat.com>
      
              Fixes from Johannes Stezenbach
      
              * configure.in: When adding extra libraries to $LIBS for
              tests, always put them at the front, since that's how
              they'll be used in the actual Makefiles.
      
              * configure.in: Add a couple of missing ','s in AC_LINK_IFELSE()
      
              * m4macros/glib-gettext.m4: Remove a stray setting of $LIBS.
      9d4af571
    • Owen Taylor's avatar
      Allow not setting glib_cv_long_long_format when cross-compiling since we · 3c50d7bd
      Owen Taylor authored
      Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Allow not setting glib_cv_long_long_format
              when cross-compiling since we assume other things that
              will cause us to pull in Trio anyways.
      
              * configure.in: long_long_format is always ll for trio.
      
              * configure.in: Error out if --disable-trio is specified
              but the C library doesn't have the necessary features.
      3c50d7bd
    • Owen Taylor's avatar
      long_long_format is always ll for trio. · d852c710
      Owen Taylor authored
      Thu Dec 12 20:46:26 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: long_long_format is always ll for trio.
      
              * configure.in: Error out if --disable-trio is specified
              but the C library doesn't have the necessary features.
      d852c710
    • Matthias Clasen's avatar
      Add -lm for pow(). · 68468ee1
      Matthias Clasen authored
      	* glib/trio/Makefile.am (libtrio_la_LIBADD): Add -lm for pow().
      68468ee1
  10. 12 Dec, 2002 3 commits
  11. 11 Dec, 2002 8 commits
    • Tor Lillqvist's avatar
      Fix off-by-one error. (#100853) · 12bc3d82
      Tor Lillqvist authored
      2002-12-11  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gtimer.c (g_timer_elapsed): Fix off-by-one error. (#100853)
      
      	* glib/gfileutils.c (g_file_test): Bypass extra test for root on
      	Win32.
      
      	* glib/glib.def: Add g_{get,set}_application_name.
      12bc3d82
    • Owen Taylor's avatar
      === Release 2.1.4 === · d0579998
      Owen Taylor authored
      Wed Dec 11 17:53:34 2002  Owen Taylor  <otaylor@redhat.com>
      
              * === Release 2.1.4 ===
      
              * NEWS: Updates.
      d0579998
    • Pauli Virtanen's avatar
      Added "fi" to ALL_LINGUAS. · 30d4eecf
      Pauli Virtanen authored
      2002-12-11  Pauli Virtanen <pauli.virtanen@hut.fi>
      
      	* configure.in: Added "fi" to ALL_LINGUAS.
      30d4eecf
    • Owen Taylor's avatar
      Add GLIB_ASSERT_SET() as a helper for adding "must be set when · 299b90ed
      Owen Taylor authored
      Wed Dec 11 17:00:20 2002  Owen Taylor  <otaylor@redhat.com>
      
              * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
              a helper for adding "must be set when cross-compiling"
              errors.
      
              * configure.in: For all cached variables without defaults,
              error out if they aren't set.
      299b90ed
    • Owen Taylor's avatar
      Also assume AC_LINK_IFELSE() is OK when cross-compiling for the libs · bf2ae7b7
      Owen Taylor authored
      Wed Dec 11 15:52:01 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Also assume AC_LINK_IFELSE() is
              OK when cross-compiling for the libs checks, and for
              the sched_get_priority_min() check.
      
              * configure.in: Add cached value glib_cv_use_pid_surrogate.
      bf2ae7b7
    • Owen Taylor's avatar
      Factor out repeated thread test into a m4_define(); when cross-compiling, · d67044c3
      Owen Taylor authored
      Wed Dec 11 15:10:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Factor out repeated thread test into
              a m4_define(); when cross-compiling, assume that
              AC_LINK_IFELSE() is good enough for thinking that
              -pthread[s] is OK. (More of #58786)
      
              * m4macros/glib-gettext.m4: Fix typo. (Manish Singh)
      d67044c3
    • Owen Taylor's avatar
      Version 2.1.4, interface age 1. · b2753827
      Owen Taylor authored
      Wed Dec 11 14:28:50 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Version 2.1.4, interface age 1.
      
              * m4macros/glib-gettext.m4: Major rewrite; remove leftovers
              from building intl/, prefer libintl if both libc and libintl
              have dgettext and libintl also has bind_textdomain_codeset().
              (#70627)
      
              * configure.in acinclude.m4: Use an include to avoid having
              to duplicate the gettext macros between glib-gettext.m4
              and acinclude.m4.
      
              * m4macros/glib-gettext.m4: Do some tricks so that configure.in
              can use macros under hidden names, but aclocal will still
              find them when installed.
      
              * m4macros/glib-gettext.m4: Add AM_GLIB_DEFINE_LOCALEDIR
              to encapsulate install location of catalog files.
      
              * m4macros/glib-gettext.m4 (AM_GLIB_DEFINE_LOCALEDIR):
              Fix bug where if --prefix wasn't set on the configure line,
              GLib would look for translations in NONE/share/locale.
      b2753827
    • Owen Taylor's avatar
      Include string.h, supress a warning. · d51fc5b4
      Owen Taylor authored
      Wed Dec 11 11:11:44 2002  Owen Taylor  <otaylor@redhat.com>
      
              * glib/grand.c: Include string.h, supress a warning.
      d51fc5b4
  12. 10 Dec, 2002 1 commit
    • Sebastian Wilhelmi's avatar
      Improve generation of pseudo-random integers. (#99720, Morten Welinder · 1c462ac6
      Sebastian Wilhelmi authored
      
      2002-12-10  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
              * glib/grand.c (g_rand_int_range): Improve generation of
              pseudo-random integers. (#99720, Morten Welinder <terra@diku.dk>)
      
              * README.in, docs/reference/glib/running.sgml,
              docs/reference/glib/tmpl/random_numbers.sgml,
              docs/reference/glib/changes.sgml: Added notes about the new
              algorithm.
      
      2CVS: ----------------------------------------------------------------------
      1c462ac6
  13. 09 Dec, 2002 2 commits
    • Sebastian Wilhelmi's avatar
      use 0 instead of $defattr, as it isn't defined anymore on platforms using · 663954b0
      Sebastian Wilhelmi authored
      
      2002-12-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* configure.in: use 0 instead of $defattr, as it isn't defined
      	anymore on platforms using -pthread and linux, where this is used,
      	only uses 0 anyway and not "pthread_attr_default".
      663954b0
    • Owen Taylor's avatar
      Guard against the POSIX allowed behavior where access (file, X_OK) · 87f9f151
      Owen Taylor authored
      Sun Dec  8 23:36:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * glib/gfileutils.c (g_file_test): Guard against
              the POSIX allowed behavior where access (file, X_OK)
              succeeds for uid==0 when no executable bits are set.
      
              * glib/gfileutils.c (g_file_test): Add doc notes
              about the possibility of race conditions, and the
              fact that EXISTS and IS_EXECUTABLE give results
              for the real uid not the effective user ID.
              (#81854, Morten Welinder.)
      87f9f151
  14. 06 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Avoid literal UTF-8. (Allow it to build with IRIX cc, #72757, Tomas Ogren) · 96670f6d
      Owen Taylor authored
      Fri Dec  6 14:34:42 2002  Owen Taylor  <otaylor@redhat.com>
      
              Avoid literal UTF-8. (Allow it to build with
              IRIX cc, #72757, Tomas Ogren)
      
              * tests/patterntest.c (main): Convert literal
              iso-8859-1 high bit characters in tests to
              string escapes.
      
              * glib/gunichartable.h glib/gen-unicode-tables.pl:
              Use hex \xMN escapes rather than literal UTF-8
              for casefold tables.
      
              * configure.in: AC_PREREQ(2.53). needed for recent
              GLIB_SIZEOF() changes.
      96670f6d