Commit Graph

1583 Commits

Author SHA1 Message Date
Darin Adler
d292b4609a Use "if (expr) else" rather than "if (!(expr))" so the parentheses don't
* glib/gmessages.h: Use "if (expr) else" rather than
	"if (!(expr))" so the parentheses don't disable the gcc
	warnings about = vs. ==.
2002-02-11 22:15:42 +00:00
jacob berkman
ed9ba133ef match the signature in the implementation
2002-02-11  jacob berkman  <jacob@ximian.com>

	* glib/gmarkup.h (g_markup_error_quark): match the signature in
	the implementation
2002-02-11 16:28:59 +00:00
Hans Breuer
96dece61ef no sym links on win32, no lstat in msvcrt
2002-02-10  Hans Breuer  <hans@breuer.org>

	* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt

	* tests/makefile.msc.in : added uri-test
2002-02-10 16:42:36 +00:00
Hans Breuer
8d45831997 msvc 5.0 can't cast from uint64 to double. Disable respective
2002-02-10  Hans Breuer  <hans@breuer.org>

	* gvaluetransform.c : msvc 5.0 can't cast from uint64 to
	double. Disable respective transform_func than.

	* makefile.msc.in : build test programs
2002-02-10 16:39:24 +00:00
Kjartan Maraas
77d8d5333c Updated Norwegian (bokmål) translation.
2002-02-10  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.
2002-02-10 09:56:18 +00:00
Darin Adler
e507791c85 New. (skip_spaces): g_unichar_isspace -> xml_isspace isspace ->
* glib/gmarkup.c: (xml_isspace): New.
	(skip_spaces): g_unichar_isspace -> xml_isspace
	* glib/gstrfuncs.c: (g_ascii_strtod): isspace -> g_ascii_isspace
	isxdigit -> g_ascii_isxdigit, isdigit -> g_ascii_isdigit
2002-02-10 05:56:06 +00:00
Matthias Clasen
b08db9f35e Test attribute value delimiters.
* tests/markups/valid-4.gmarkup: Test attribute value delimiters.

	* glib/gmarkup.c (g_markup_parse_context_parse): Support
	' and " as attribute value delimiters.  (#70677)
2002-02-09 22:08:10 +00:00
Sebastian Wilhelmi
6715999ca1 Fixed typo in G_THREADS_ENABLED.
2002-02-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* Fixed typo in G_THREADS_ENABLED.
2002-02-09 20:23:01 +00:00
Sebastian Wilhelmi
9e240b85cc Make --disable-threads work again. (#71034)
2002-02-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Make --disable-threads work again. (#71034)

	* gthread-impl.c: Only compile most of this file, if
	G_THREAD_ENABLED is set.
2002-02-09 20:08:06 +00:00
Owen Taylor
b99e2343e5 Register transformations for gint64, guint64. (#70780, patch from Andy
Fri Feb  8 23:52:27 2002  Owen Taylor  <otaylor@redhat.com>

        * gobject/gvaluetransform.c: Register transformations for
        gint64, guint64. (#70780, patch from Andy Wingo)

        * configure.in: Handle missing G_GINT64_FORMAT,
        G_GUINT64_FORMAT ... harder to require GNU libc than GCC.

        * NEWS: Some cleanups that I had setting around.
2002-02-09 04:59:54 +00:00
Darin Adler
4c9d538fc8 Make hostname parameter const char *. Added a new "ASCII must not be
* glib/gconvert.h: Make hostname parameter const char *.
	* glib/gconvert.c: (g_unescape_uri_string): Added a new
	"ASCII must not be escaped" feature, and some missing error
	checking.
	(is_escalphanum): New.
	(is_escalpha): New.
	(hostname_validate): New.
	(g_filename_from_uri): Don't allow hostnames to include
	escaped ASCII, validate hostnames with the new
	hostname_validate.
	(g_filename_to_uri): Validate hostnames with the new
	hostname_validate.

	* tests/uri-test.c: Updated tests to reflect the hostname
	validation changes above.

	* glib/gdate.c: (g_date_fill_parse_tokens): Remove the
	<ctype.h> include and do isdigit -> g_ascii_isdigit.
2002-02-08 19:57:35 +00:00
Owen Taylor
31e7c4b6fb Fix access to freed memory in test case (Miroslaw Dobrzanski-Neumann).
Fri Feb  8 12:32:14 2002  Owen Taylor  <otaylor@redhat.com>

        * tests/hash-test.c (second_hash_test): Fix access to
        freed memory in test case (Miroslaw Dobrzanski-Neumann).
        Re-enable and debug some commented out code.
2002-02-08 17:34:15 +00:00
Michael Natterer
147ca6cbc8 g_dir_open: added g_return_val_if_fail() to prevent us from calling
2002-02-08  Michael Natterer  <mitch@gimp.org>

	* glib/gdir.c: g_dir_open: added g_return_val_if_fail() to prevent
	us from calling opendir(NULL) (which simply crashes).
2002-02-08 17:08:22 +00:00
Sebastian Wilhelmi
8db64a1a96 Extended documentation.
2002-02-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/gfileutils.c (g_file_test): Extended documentation.
2002-02-08 08:25:49 +00:00
Sebastian Wilhelmi
eb18855127 Do not follow symbolic links for G_FILE_TEST_SYMLINK. Also fixed the
2002-02-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/gfileutils.c (g_file_test): Do not follow symbolic links
	for G_FILE_TEST_SYMLINK. Also fixed the correct "OR"-behaviour for
	G_FILE_TEST_IS_EXECUTABLE and G_FILE_TEST_EXISTS. (#60048)
2002-02-07 20:14:00 +00:00
Tim Janik
a1c162e123 document value transformation.
Thu Feb  7 12:07:06 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/generic_values.sgml: document value transformation.
2002-02-07 11:09:26 +00:00
Changwoo Ryu
4e9073509f Added Korean translation. 2002-02-07 01:59:29 +00:00
Kwok-Koon Cheung
a766e104c8 Usual update. 2002-02-07 00:27:06 +00:00
Owen Taylor
a3d982007e Handle NULL entries (already dispatched) in pending_dispatches array
Wed Feb  6 14:44:18 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_main_context_prepare): Handle
        NULL entries (already dispatched) in pending_dispatches array
        (pointed out by Manish Singh)
2002-02-06 19:45:56 +00:00
Owen Taylor
c55b9a4f44 Unref pending dispatches when discarding them.
Tue Feb  5 17:13:02 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_main_context_prepare): Unref pending
        dispatches when	discarding them.
2002-02-06 00:37:38 +00:00
Takayuki KUSANO
b77dfd2f54 Converted to UTF-8.
* ja.po: Converted to UTF-8.
2002-02-05 10:16:38 +00:00
Tim Janik
61c6d5b016 fixes. 2002-02-04 18:36:33 +00:00
Tim Janik
c73fba247b doc common functions like ref/ sink/unref/invalidate.
Mon Feb  4 17:55:39 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/closures.sgml: doc common functions like ref/
        sink/unref/invalidate.
2002-02-04 18:08:23 +00:00
Tim Janik
179963de91 document g_obejct_watch_closure() and qdata functions.
Mon Feb  4 17:55:39 2002  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/objects.sgml: document g_obejct_watch_closure() and
        qdata functions.
2002-02-04 17:17:44 +00:00
Sebastian Wilhelmi
cb17f230b5 Delay allocation until after all g_return_val_if_fail ().
2002-02-04  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/gthread.c (g_thread_create_full): Delay allocation until
	after all g_return_val_if_fail ().

	* glib/gthread.h: Make depth member guint for cosmetic reasons.

	* glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
	be unsigned. All that spotted by Jörgen Viksell
	<jorgen.viksell@telia.com>
2002-02-04 13:49:36 +00:00
Manish Singh
cf67c99825 eek, correct typo 2002-02-03 01:05:55 +00:00
Manish Singh
09a6f7be53 glib/gmain.c remove references to deprecated functions in docs and warning
2002-02-02  Manish Singh  <yosh@gimp.org>

        * glib/gmain.c
        * glib/gtree.c: remove references to deprecated functions in docs
        and warning message.
2002-02-03 01:04:32 +00:00
jacob berkman
37769358f3 remove cat-id-tbl.c references (this really
2002-01-31  jacob berkman  <jacob@ximian.com>

	* Makefile.in.in: remove cat-id-tbl.c references (this really
2002-02-01 00:02:12 +00:00
jacob berkman
fd1eac51e6 remove stamp-cat-id
2002-01-31  jacob berkman  <jacob@ximian.com>

	* Makefile.in.in (DISTFILES): remove stamp-cat-id
2002-01-31 23:26:20 +00:00
jacob berkman
abe0ca1315 remove references to po2tbl
2002-01-31  jacob berkman  <jacob@ximian.com>

	* glib-gettextize.in:
	* m4macros/glib-gettext.m4 (AM_GLIB_GNU_GETTEXT): remove
	references to po2tbl
2002-01-31 22:26:59 +00:00
Roy-Magne Mo
a3181438da Updated Norwegian nynorsk translation 2002-01-31 19:09:08 +00:00
Matthias Clasen
fc0aea182c Change the order in which some error conditions are checked to improve
* glib/gmarkup.c (g_markup_parse_context_parse): Change the
        order in which some error conditions are checked to improve
        error messages. (#69646)
2002-01-30 22:14:16 +00:00
Sven Neumann
bb031c2e79 fixed spelling 2002-01-29 20:27:57 +00:00
Owen Taylor
77f6f454f5 1.3.13
Tue Jan 29 15:04:31 2002  Owen Taylor  <otaylor@redhat.com>

        * 1.3.13

        * tests/shell-test.c: Workaround for MSVC bugs. (#61064)
2002-01-29 20:23:48 +00:00
Owen Taylor
0c77be75ed 1.3.13
Tue Jan 29 14:06:22 2002  Owen Taylor  <otaylor@redhat.com>

        * 1.3.13

        * NEWS: Update to include last change.
2002-01-29 19:16:13 +00:00
Jeffrey Stedfast
0751448ad7 Rewritten to cache iconv conversion descriptors. On at least some Unix
2002-01-21  Jeffrey Stedfast  <fejj@ximian.com>

	* glib/gconvert.c (open_converter): Rewritten to cache iconv
	conversion descriptors. On at least some Unix systems like
	Solaris, iconv_open() must dlopen the necessary charset modules in
	order to setup the descriptor. This can take a major toll on
	performace if you are constantly opening and closing conversion
	descriptors for the same charset conversions over and over.
	(g_convert_with_fallback): Use close_converter() rather than
	g_iconv_close() since open_converter() now caches iconv
	descriptors.
2002-01-29 18:25:45 +00:00
Owen Taylor
5a7cf7fa60 1.3.13
Tue Jan 29 11:18:44 2002  Owen Taylor  <otaylor@redhat.com>

        * 1.3.13

        * NEWS: Updated.

        * configure.in: Micro == 13, binary age, interface age 0.
        [ binary breakage was return type of g_signal_connect_object(),
        probably could have used binary age == 0, but a little safer not to.]

        * configure.in: Remove configure warning.
2002-01-29 17:10:34 +00:00
Chyla Zbigniew
2cf9de3b5b Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-01-29 12:45:55 +00:00
Havoc Pennington
3370260a13 NULL-terminate context->attr_values so g_strfreev() is safe. Would
2002-01-28  Havoc Pennington  <hp@pobox.com>

	* glib/gmarkup.c (add_attribute): NULL-terminate
	context->attr_values so g_strfreev() is safe.
	Would previously crash if parsing was ended prior
	to ending the start tag.
	(g_markup_parse_context_parse): add a couple assertions
2002-01-29 03:42:23 +00:00
Chyla Zbigniew
b8e36f4539 Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-01-29 02:02:32 +00:00
Havoc Pennington
b19bcd9604 get rid of warning here
2002-01-28  Havoc Pennington  <hp@redhat.com>

	* glib/gmacros.h: get rid of warning here
2002-01-29 00:29:24 +00:00
Owen Taylor
8fece396e5 Only use __FUNCTION__, __PRETTY_FUNCTION__ for G_GNUC_FUNCTION,
Mon Jan 28 17:56:10 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gmacros.h: Only use __FUNCTION__, __PRETTY_FUNCTION__ for
        G_GNUC_FUNCTION, G_GNUC_PRETTY_FUNCTION, G_STRLOC when __GNUC__ <
        3, since in 3.0.3 the semantics of these functions were changed in
        an incompatible way. (#69097)
2002-01-28 23:01:19 +00:00
Chyla Zbigniew
97564c24de Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-01-28 21:59:00 +00:00
Ron Steinke
03b9590095 Some documentation fixes/elaborations I really should have gotten
in a long time ago
2002-01-28 21:17:45 +00:00
Roy-Magne Mo
28ab192a4f Updated Norwegian nynorsk translation and switched to UTF-8 2002-01-28 06:11:00 +00:00
Christian Rose
f2f548c968 Updated and converted to UTF-8.
2002-01-28  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated and converted to UTF-8.
2002-01-28 01:22:50 +00:00
Dirk-Jan C. Binnema
f27f5d88f1 - updated dutch translation
* nl.po:
	- updated dutch translation
2002-01-27 09:53:58 +00:00
Andraz Tori
3a21917b24 Updated Slovenian translation 2002-01-26 22:35:42 +00:00
Andraz Tori
2a304e73b0 Updated Slovenian translation 2002-01-26 19:59:14 +00:00
Ole Laursen
75d162c876 Updated Danish translation and switched to UTF-8.
2002-01-25  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation and switched to UTF-8.
2002-01-25 21:26:44 +00:00