Commit Graph

1629 Commits

Author SHA1 Message Date
Tor Lillqvist
d16e73251f Missing asterisk in ChangeLog entry... 2002-01-23 00:14:31 +00:00
Tor Lillqvist
79d4ba9438 Not used on Windows, don't even compile it then.
2002-01-23  Tor Lillqvist  <tml@iki.fi>

	* glib/gconvert.c: (strdup_len): Not used on Windows, don't even
	compile it then.

	(acceptable): Improve comments for the _acceptable_ table: put
	each ASCII char above the hex number for it.

	(g_escape_file_uri): On Windows, turn backslashes in the file name
	into plain ("forward") slashes.

	(g_filename_from_uri): On Windows, don't return the hostname
	"localhost", because we can not be 100% sure it will be recognized
	in all cases anyway, so simpler to turn it into a null
	hostname.

	Change slashes in the filename into backslashes, as that is the
	more canonical separator.

	Recognize drive letters (either followed by a colon or a vertical
	bar, as used by some browsers), and if the filename part starts
	with a such, don't include any (back)slash.

	Don't drop any extra leading slash in the filename on Unix.

	(g_filename_to_uri): On Windows, if the hostname is "localhost",
	don't use it, for consistency with g_filename_from_uri().

	tests/uri-test.c: Change accordingly, so that all tests pass on
	Windows. Unix, too, I hope, though I couldn't check that now.

	(main): Unset the G_BROKEN_FILENAMES environment variable on Unix,
	as some tests require that filenames are in UTF-8. Is unsetenv()
	portable?

	These changes should fix bugs #59387, #59652, #59657 and #59658.
2002-01-23 00:05:30 +00:00
Sebastian Wilhelmi
8f9f9b3dee better ChangeLog
better ChangeLog
2002-01-22 09:52:46 +00:00
Sebastian Wilhelmi
a9d13e865e Get the right multithread option for GCC 3.0 and later. (#67583)
2002-01-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Get the right multithread option for GCC 3.0 and
	later. (#67583)
2002-01-22 09:50:24 +00:00
Jeffrey Stedfast
b23c1064bc If g_convert fails, set bytes_written to 0 and close the iconv descriptor
2002-01-21  Jeffrey Stedfast  <fejj@ximian.com>

	* glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
	set bytes_written to 0 and close the iconv descriptor that was
	opened a few lines above. On a successful return, calculate
	bytes_written to be outp - dest instead of outp - str.
2002-01-21 20:53:18 +00:00
Chyla Zbigniew
0518fc417d Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-01-21 00:29:11 +00:00
Matthias Clasen
cdcf0ac63f New files.
* glib/building.sgml, glib/compiling.sgml,
        glib/running.sgml, glib/resources.sgml,
        glib/changes-2.0.sgml: New files.

        * glib/Makefile.am (content_files): Add new files.

        * glib/glib-docs.sgml: Add an Overview chapter.
2002-01-17 23:06:12 +00:00
Sven Neumann
a1ebb7048f acinclude.m4 removed the --disable-nls option. You can't disable Native
2002-01-16  Sven Neumann  <sven@gimp.org>

        * acinclude.m4
        * m4macros/glib-gettext.m4: removed the --disable-nls option. You
        can't disable Native Language Support since we rely on it.

        * configure.in: nicer --help output.
2002-01-16 19:29:16 +00:00
Sebastian Wilhelmi
a1f5b005fa Ops. Fixed ChangeLog.
Ops. Fixed ChangeLog.
2002-01-16 09:06:34 +00:00
Sebastian Wilhelmi
926d797b59 Use g_free instead of free. Pointed out by Sam O'Connor <sam@panviva.com>.
2002-01-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gthread-posix.c: Use g_free instead of free. Pointed out by Sam
	O'Connor <sam@panviva.com>.
2002-01-16 09:03:52 +00:00
Peteris Krisjanis
57638c1c5f no message 2002-01-16 00:26:34 +00:00
Hasbullah Bin Pit
a41c29615f *** empty log message *** 2002-01-12 17:48:34 +00:00
Kjartan Maraas
cf40796399 Updated Norwegian (bokmål) translation.
2002-01-11  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.
2002-01-11 22:03:22 +00:00
Tim Janik
c0984f4bbe fixed param_value_array_values_cmp(), param_value_array_validate() and
Fri Jan 11 12:26:36 2002  Tim Janik  <timj@gtk.org>

        * gparamspecs.c: fixed param_value_array_values_cmp(),
        param_value_array_validate() and
        param_value_array_set_default() to deal with NULL value
        arrays.
2002-01-11 12:34:57 +00:00
Takayuki KUSANO
58ea3ab8d9 Remove %m$ notation that can't be used with g_set_error().
* ja.po: Remove %m$ notation that can't be used with
	g_set_error().
2002-01-09 14:20:48 +00:00
Tim Janik
57446efec6 cosmetic fix.
Wed Jan  9 05:23:27 2002  Tim Janik  <timj@gtk.org>

        * gobject.h (G_OBJECT_WARN_INVALID_PROPERTY_ID): cosmetic fix.
2002-01-09 04:23:12 +00:00
Owen Taylor
609944ee0f Add text files to EXTRA_DIST. (#68239, Matthias Clasen)
Tue Jan  8 11:33:28 2002  Owen Taylor  <otaylor@redhat.com>

	* docs/Makefile.am (EXTRA_DIST): Add text files to EXTRA_DIST.
	(#68239, Matthias Clasen)
2002-01-08 16:35:08 +00:00
Sebastian Wilhelmi
c3d59500e0 Name the right function.
2002-01-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/tmpl/threads.sgml: Name the right function.
2002-01-08 09:55:13 +00:00
Chyla Zbigniew
4e47a27f88 Added Polish translation by GNOME PL Team <translators@gnome.pl> 2002-01-07 21:03:41 +00:00
Zbigniew Chyla
4ea02b74e6 Added pl.
2002-01-07  Zbigniew Chyla  <cyba@gnome.pl>

	* configure.in (ALL_LINGUAS): Added pl.
2002-01-07 21:02:11 +00:00
Hans Breuer
2665d8cefd moved warning to error pragmas to their own file to not force 'good
2002-01-05  Hans Breuer  <hans@breuer.org>

	* glibconfig.h.win32.in
	  msvc_recommended_pragmas.h (new file) : moved warning to
	error pragmas to their own file to not force 'good practice'
	programming in downstream libs and apps. Instead the new header
	will be used by -FImsvc_recommended_pragmas.h in gnome/cvs
	makefile.msc
	* */makefile.msc.in : use -FImsvc_recommended_pragmas.h

	* makefile.am : add msvc_recommended_pragmas.h to EXTRA_DIST
2002-01-05 19:11:32 +00:00
Hans Breuer
abc754faca moved warning to error pragmas to their own file to not force 'good
2002-01-05  Hans Breuer  <hans@breuer.org>

	* glibconfig.h.win32.in
	  msvc_recommended_pragmas.h (new file) : moved warning to
	error pragmas to their own file to not force 'good practice'
	programming in downstream libs and apps. Instead the new header
	will be used by -FImsvc_recommended_pragmas.h in gnome/cvs
	makefile.msc
	* */makefile.msc.in : use -FImsvc_recommended_pragmas.h
2002-01-05 18:54:59 +00:00
Hans Breuer
7e92a2b325 use -FImsvc_recommended_pragmas.h
2002-01-05  Hans Breuer  <hans@breuer.org>

	* makefile.msc.in : use -FImsvc_recommended_pragmas.h
2002-01-05 18:53:58 +00:00
Stanislav Visnovsky
c9208ce26c Updated Slovak translation.
2002-01-04  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.
2002-01-04 14:55:52 +00:00
Tim Janik
530f899daa turn this into a GType, so negating it works on 64bit platforms.
Fri Jan  4 04:36:46 2002  Tim Janik  <timj@gtk.org>

        * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): turn this into a GType,
        so negating it works on 64bit platforms.
2002-01-04 03:38:53 +00:00
Tor Lillqvist
bd82887a67 Use longer buffer for user name.
2001-12-31  Tor Lillqvist  <tml@iki.fi>

	* glib/gutils.c (g_get_any_init): (Win32) Use longer buffer for
	user name.
2001-12-31 10:12:22 +00:00
Owen Taylor
a740df4158 Copy trailing NULL into new ARGV array. (#67673)
Sat Dec 29 15:07:21 2001  Owen Taylor  <otaylor@redhat.com>

        * glib/gspawn.c (script_execute): Copy	trailing	NULL
        into new ARGV array. (#67673)
2001-12-29 20:11:07 +00:00
Matthias Clasen
963926c795 Replace references to deprecated functions.
* glib/tmpl/main.sgml, glib/tmpl/string_utils.sgml,
        glib/tmpl/strings.sgml: Replace references to deprecated
        functions.
2001-12-29 00:09:15 +00:00
Sven Neumann
5647fea14e only include printf_string_upper_bound() if HAVE_C99_VSNPRINTF is not
2001-12-28  Sven Neumann  <sven@gimp.org>

	* glib/gmessages.c: only include printf_string_upper_bound() if
	HAVE_C99_VSNPRINTF is not defined.
2001-12-28 17:47:35 +00:00
Duarte Loreto
4ebdccaac1 Added portuguese to ALL_LINGUAS
2001-12-27  Duarte Loreto <happyguy_pt@hotmail.com>

        * configure.in: Added portuguese to ALL_LINGUAS
2001-12-27 03:38:54 +00:00
Jesus Bravo Alvarez
4c4bdc667b Updated Galician translation 2001-12-26 23:29:38 +00:00
Vasif Ismailoglu MD
bb8c9d5906 az:po * updating 2001-12-24 19:32:53 +00:00
Vasif Ismailoglu MD
0adda3fdd4 updating Azerbaijani po file
updating Azerbaijani po file
2001-12-24 19:32:42 +00:00
Owen Taylor
67bb1d6ff8 1.3.12, binary, interface age 0.
Sat Dec 22 12:08:56 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.12, binary, interface age 0.
2001-12-24 00:48:58 +00:00
Owen Taylor
08388c5f59 1.3.12, binary, interface age 0.
Sat Dec 22 12:08:56 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.12, binary, interface age 0.

        * NEWS: Updated.
2001-12-23 22:39:10 +00:00
Tor Lillqvist
c2794647a4 Add (undefined) HAVE_C99_VSNPRINTF.
2001-12-21  Tor Lillqvist  <tml@iki.fi>

	* config.h.win32.in: Add (undefined) HAVE_C99_VSNPRINTF.

	* glibconfig.h.win32.in: Add definition of G_HAVE_GROWING_STACK.

	* tests/Makefile.am: Rename the progs_LDADD, thread_LDADD and
	module_LDADD Make macros to progs_ldadd, thread_ldadd and
	module_ldadd. Newer automakes reserve macros named *_LDADD for
	the use as LDADDs for targets it knows.

	* glib/giowin32.c: (struct _GIOWin32Watch): 'callback' wasn't used
	here, either.

2001-12-21  Tor Lillqvist  <tml@iki.fi>

	* gobject.def: Add g_signal_get_invocation_hint.
2001-12-22 08:29:06 +00:00
Matthias Clasen
9504ea2f6f Remove FIXME. (#67063)
* glib/gfileutils.c (g_file_get_contents): Remove FIXME. (#67063)

        * glib/glib-sections.txt: Move g_get_charset() to the
        Charset conversion section. (#65630)
2001-12-20 23:13:19 +00:00
Takayuki KUSANO
aa0b79f728 Updated Japanese translation.
* ja.po: Updated Japanese translation.
2001-12-20 15:34:44 +00:00
Mark McLoughlin
c5e8ac26e4 fix segfaults.
2001-12-19  Mark McLoughlin  <mark@skynet.ie>

        * glib/gscanner.c: (g_scanner_unexp_token): fix segfaults.
2001-12-20 11:12:47 +00:00
Michael Meeks
f53e8207b5 kill 'callback'
2001-12-20  Michael Meeks  <michael@ximian.com>

	* glib/giounix.c (struct _GIOUnixWatch): kill 'callback'
2001-12-20 08:52:01 +00:00
Owen Taylor
f317049727 SGML doc fix.
Wed Dec 19 23:09:07 2001  Owen Taylor  <otaylor@redhat.com>
        * glib/gconvert.c (g_iconv_open): SGML doc fix.
2001-12-20 04:49:44 +00:00
Owen Taylor
3de06553d4 SGML fixes. Small updates.
Wed Dec 19 23:07:53 2001  Owen Taylor  <otaylor@redhat.com>
        * glib/tmpl/messages.sgml glib/tmpl/string_utils.sgml:
        SGML fixes.
        * gobject/gobject-sections.txt glib/glib-sectoins.txt: Small updates.
2001-12-20 04:48:36 +00:00
Christian Rose
eef0a8167a Updated Swedish translation.
2001-12-19  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2001-12-19 20:40:05 +00:00
Tim Janik
8d835e44a7 add configure check to determine G_HAVE_GROWING_STACK.
Tue Dec 18 21:11:10 2001  Tim Janik  <timj@gtk.org>

        * configure.in: add configure check to determine G_HAVE_GROWING_STACK.
2001-12-18 20:39:53 +00:00
Tim Janik
69c000f069 added some assertions to test g_signal_get_invocation_hint().
Tue Dec 18 21:39:57 2001  Tim Janik  <timj@gtk.org>

        * testoverride.c: added some assertions to test
        g_signal_get_invocation_hint().

        * gsignal.[hc]: remove signal_id argument from
        g_signal_chain_from_overridden(), the parameters are assumed to match
        the innermost signal currently in emission for this instance.
        added g_signal_get_invocation_hint() to figure the invocation hint
        of the innermost signal emission of an instance.

        * gsignal.c (g_signal_list_ids): fix G_BSEARCH_ARRAY_NODES() to
        access a bsearch array and not a pointer to it (discovered by
        Sven Neumann).
2001-12-18 20:38:58 +00:00
Havoc Pennington
b0a42f2058 use g_try_malloc and return error on not-enough-memory
2001-12-16  Havoc Pennington  <hp@pobox.com>

	* glib/gfileutils.c (get_contents_regfile): use g_try_malloc and
	return error on not-enough-memory
	(get_contents_stdio): ditto
2001-12-18 18:46:41 +00:00
Takayuki KUSANO
7a1088bc50 Updated Japanese translation.
* ja.po: Updated Japanese translation.
2001-12-18 14:05:47 +00:00
Matthias Clasen
fb069c70f7 Use <envar>, not <envvar>.
* glib/gspawn.c, glib/gspawn-win32.c: Use <envar>, not <envvar>.
2001-12-17 23:04:09 +00:00
Anders Carlsson
82fa2c0069 Set the reserved bit to (1 << 0) instead of (1 << 30).
2001-12-17  Anders Carlsson  <andersca@gnu.org>

	* gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): Set the reserved bit
	to (1 << 0) instead of (1 << 30).
2001-12-17 21:59:34 +00:00
Matthias Clasen
a52e2986cd Minor markup fixes.
* glib/gshell.c, glib/gspawn.c, glib/gspawn-win32.c, glib/gerror.c,
        glib/gfileutils.c, glib/ghash.c, glib/gmain.c, glib/gasyncqueue.c,
        glib/gtree.c: Minor markup fixes.

        * glib/tmpl/caches.sgml: GCs are cached by GTK, not by GDK.
2001-12-16 19:31:36 +00:00