summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-01-26Updated Korean translation.Changwoo Ryu2-95/+99
2005-01-26 Changwoo Ryu <cwryu@debian.org> * ko.po: Updated Korean translation.
2005-01-24Add a test with a long entity name.Matthias Clasen7-24/+62
2005-01-24 Matthias Clasen <mclasen@redhat.com> * tests/markups/fail-40.gmarkup: Add a test with a long entity name. * glib/gmarkup.c (unescape_text_state_inside_entity_name): Don't copy the entity name into a short buffer of fixed length. Instead, compare it in place with strncmp(), and do a full strdup() in the error path. (#165100, Simon Budig)
2005-01-22Don't g_assert that localtime() returns non-NULL. It does return NULL atTor Lillqvist5-6/+52
2005-01-22 Tor Lillqvist <tml@novell.com> * glib/gdate.c (g_date_set_time): Don't g_assert that localtime() returns non-NULL. It does return NULL at least on Win32 if you pass it a negative time_t, which although wrong, shouldn't cause an application to abort. Instead return 2000-01-01 as a default date. Print a warning unless G_DISABLE_CHECKS. (#164622)
2005-01-21Translation updated by Ivar Smolin.Priit Laes2-97/+102
2005-01-21 Priit Laes <plaes@cvs.gnome.org> * et.po: Translation updated by Ivar Smolin.
2005-01-20Don't interpret leading zeros as octal. The specification requires %fMatthias Clasen6-2/+82
2005-01-20 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c (g_key_file_parse_value_as_integer): Don't interpret leading zeros as octal. The specification requires %f parsing, and %f doesn't allow octal. * tests/keyfile-test.c: Add some more tests.
2005-01-20Add some more tests.Matthias Clasen6-13/+302
2005-01-20 Matthias Clasen <mclasen@redhat.com> * tests/keyfile-test.c: Add some more tests. * glib/gkeyfile.c (g_key_file_get_keys): Return keys in the order found in the file, rather than the opposite. (g_key_file_parse_value_as_string): Fix error reporting.
2005-01-19Accept \r\n as line end. (#163030, Bastian Nocera)Matthias Clasen7-2/+155
2005-01-19 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c (g_key_file_parse_data): Accept \r\n as line end. (#163030, Bastian Nocera) (g_key_file_load_from_data): Make -1 work as a size. * tests/keyfile-test.c: Some unit tests for the keyfile parser. * tests/Makefile.am (test_programs): Add keyfile-test.
2005-01-19Nah, don't use FatalAppExit(). abort() is better.Tor Lillqvist5-13/+7
2005-01-19sh portability fix. Use "test" and not [. (#163144, Robert Ögren)Tor Lillqvist7-8/+70
2005-01-19 Tor Lillqvist <tml@novell.com> * configure.in: sh portability fix. Use "test" and not [. (#163144, Robert Ögren) * glib/gbacktrace.c (g_on_error_stack_trace): On Win32 call G_BREAKPOINT() if being debugged. * glib/gmessages.c (g_logv): For fatal messages on Win32, use G_BREAKPOINT() also without G_ENABLE_DEBUG, but only if being debugged. Suggestion by Ulf Lamping. Otherwise use FatalAppExit().
2005-01-18Fix a sparse warning. (#164467, Kjartan Maraas)Matthias Clasen5-1/+21
2005-01-18 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c (g_key_file_get_boolean_list): Fix a sparse warning. (#164467, Kjartan Maraas)
2005-01-17Don't crash if G_FILENAME_ENCODING is empty. (#164330, Pawel Sakowski)Matthias Clasen5-1/+21
2005-01-17 Matthias Clasen <mclasen@redhat.com> * glib/gconvert.c (g_get_filename_charsets): Don't crash if G_FILENAME_ENCODING is empty. (#164330, Pawel Sakowski)
2005-01-17Fix an example. (#164269, Sebastian Bacher)Matthias Clasen2-1/+7
2005-01-16 Matthias Clasen <mclasen@redhat.com> * gobject/tmpl/enumerations_flags.sgml: Fix an example. (#164269, Sebastian Bacher)
2005-01-14Updated Catalan translation.Jordi Mallach2-117/+84
2005-01-14Updated Portuguese translation.Duarte Loreto2-46/+56
2005-01-14 Duarte Loreto <happyguy_pt@hotmail.com> * pt.po: Updated Portuguese translation.
2005-01-14Updated Slovak translation.Marcel Telka2-54/+63
2005-01-14 Marcel Telka <marcel@telka.sk> * sk.po: Updated Slovak translation.
2005-01-10Add missing ChangeLog.pre*Owen Taylor11-4177/+18
2005-01-10 Owen Taylor <otaylor@redhat.com> * Makefile.am (EXTRA_DIST): Add missing ChangeLog.pre*
2005-01-10Split ChangeLog for 2.6glib-2-6-branchpointOwen Taylor5-6905/+0
2005-01-10Updated Polish translation by GNOME PL Team.Artur Flinta2-44/+57
2005-01-10 Artur Flinta <aflinta@cvs.gnome.org> * pl.po: Updated Polish translation by GNOME PL Team.
2005-01-09Include also wchar.h for wcslen on Cygwin. (#163133, Roger Leigh)Tor Lillqvist6-5/+16
2005-01-09 Tor Lillqvist <tlillqvist@novell.com> * glib/gwin32.c: Include also wchar.h for wcslen on Cygwin. (#163133, Roger Leigh)
2005-01-09make it compile with mvc6 default sdk, (#define INVALID_FILE_ATTRIBUTES,Hans Breuer6-10/+37
2005-01-09 Hans Breuer <hans@breuer.org> * glib/gfileutils.c : make it compile with mvc6 default sdk, (#define INVALID_FILE_ATTRIBUTES, FILE_ATTRIBUTE_DEVICE)
2005-01-09Fix cast. (#163133, Roger Leigh)Tor Lillqvist6-1/+16
2005-01-09 Tor Lillqvist <tlillqvist@novell.com> * glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger Leigh)
2005-01-09Updated Italian translation.Alessio Frusciante2-146/+173
2005-01-09Include <io.h> on Windows for prototypes. (#163390, Kazuki Iwamoto)Tor Lillqvist6-0/+26
2005-01-09 Tor Lillqvist <tlillqvist@novell.com> * glib/gfileutils.c: Include <io.h> on Windows for prototypes. (#163390, Kazuki Iwamoto)
2005-01-07Typo fixes.Matthias Clasen6-2/+12
2005-01-07 Matthias Clasen <mclasen@redhat.com> * NEWS: Typo fixes.
2005-01-07Bump versionMatthias Clasen6-2/+12
2005-01-07 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version
2005-01-072.6.1GLIB_2_6_1Matthias Clasen80-1858/+1956
2005-01-07Generate and distribute gmodule-export-2.0.pc, which is currently just aMatthias Clasen7-1/+60
2005-01-07 Matthias Clasen <mclasen@redhat.com> * configure.in: * Makefile.am: Generate and distribute gmodule-export-2.0.pc, which is currently just a copy of gmodule-2.0.pc, but makes it explicit that it adds --export-dynamic. * gmodule-export-2.0.pc.in: Copy of gmodule-2.0.pc.in.
2005-01-06Add hint about group name case sensitivity. (#163029, Bastien Nocera)Matthias Clasen2-0/+10
2005-01-06 Matthias Clasen <mclasen@redhat.com> * glib/tmpl/keyfile.sgml: Add hint about group name case sensitivity. (#163029, Bastien Nocera)
2005-01-06configure.in glib/Makefile.am Win32 cross-compilation fixes. (#163144, J.Tor Lillqvist8-2/+34
2005-01-06 Tor Lillqvist <tml@iki.fi> * configure.in * glib/Makefile.am * gobject/Makefile.am: Win32 cross-compilation fixes. (#163144, J. Ali Harlow)
2005-01-06glib/Makefile.am glib.def and gobject.def are generated, not in $(srcdir).Tor Lillqvist7-4/+34
2005-01-06 Tor Lillqvist <tml@iki.fi> * glib/Makefile.am * gobject/Makefile.am: glib.def and gobject.def are generated, not in $(srcdir). (#163143, J. Ali Harlow)
2005-01-06Updated Welsh translation.Rhys Jones1-0/+4
2005-01-06 Rhys Jones <rhys@sucs.org> * cy.po: Updated Welsh translation.
2005-01-06Updated Welsh translation (cy.po).Rhys James Jones1-72/+75
2005-01-05Simplify the inlining magic to make it work at Oh zero. (#162990, KalpeshMatthias Clasen6-2/+27
2005-01-05 Matthias Clasen <mclasen@redhat.com> * glib/gutils.h: Simplify the inlining magic to make it work at Oh zero. (#162990, Kalpesh Shah)
2005-01-04Use g_win32_getlocale() instead of setlocale() on Windows. setlocale()Tor Lillqvist6-0/+39
2005-01-04 Tor Lillqvist <tml@iki.fi> * glib/guniprop.c (get_locale_type): Use g_win32_getlocale() instead of setlocale() on Windows. setlocale() returns strings like "Turkish_Turkey".
2005-01-04Small addition. (#145158, Mariano Suárez-Alvarez)Matthias Clasen2-3/+12
2005-01-04 Matthias Clasen <mclasen@redhat.com> * gobject/tmpl/signals.sgml: Small addition. (#145158, Mariano Suárez-Alvarez)
2005-01-04Fix the inlining magic. (#157536, Jens Hatlak, and #149907, MortenMatthias Clasen7-23/+110
2005-01-04 Matthias Clasen <mclasen@redhat.com> Fix the inlining magic. (#157536, Jens Hatlak, and #149907, Morten Welinder) * configure.in: Define G_CAN_INLINE in glibconfig.h * glib/gutils.h: Streamline the inlining magic a bit, don't use extern when implementing the non-inlined version.
2005-01-03Don't return directories. (#160738, Tommi Komulainen)Matthias Clasen6-10/+27
2005-01-03 Matthias Clasen <mclasen@redhat.com> * glib/gutils.c (g_find_program_in_path): Don't return directories. (#160738, Tommi Komulainen)
2005-01-03Clarify the documentation. (#162251, Mariano Suárez-Alvarez)Matthias Clasen6-9/+37
2005-01-03 Matthias Clasen <mclasen@redhat.com> * glib/gfileutils.c (g_file_get_contents): Clarify the documentation. (#162251, Mariano Suárez-Alvarez)
2005-01-03Clarify the docs. (#162747, Crispin Flowerday)Matthias Clasen6-4/+30
2005-01-02 Matthias Clasen <mclasen@redhat.com> * glib/gutils.c (g_setenv, g_unsetenv): Clarify the docs. (#162747, Crispin Flowerday)
2005-01-03Don't use AC_TRY_RUN to test for long long format when using theJ. Ali Harlow8-10/+78
2005-01-01 J. Ali Harlow <ali@juiblex.co.uk> * configure.in: Don't use AC_TRY_RUN to test for long long format when using the MSVCRT.DLL runtime since we know the answer anyway and it causes some mild inconvience when cross compiling. * README.win32: Add a reference to the cross compiling section of the reference manual. * docs/reference/glib/cross.sgml: MinGW uses MSVCRT.DLL which requires %I64i instead of %lli. (#161306)
2005-01-02It's wrong to call g_file_test() with more than one test (bothTor Lillqvist2-3/+10
2004-12-31 Tor Lillqvist <tml@iki.fi> * gmodule.c (g_module_open): It's wrong to call g_file_test() with more than one test (both G_FILE_TEST_EXISTS and _IS_REGULAR). (It would succeed even if the pathname existed as a nonregular file.) Just G_FILE_TEST_IS_REGULAR works fine. (#162594)
2005-01-01Make the g_getenv() ABI backward compatibility wrapper more robust.Tor Lillqvist6-2/+31
2005-01-01 Tor Lillqvist <tml@iki.fi> * glib/gutils.c: Make the g_getenv() ABI backward compatibility wrapper more robust.
2005-01-01glib/glib.symbols glib/gutils.h Make also g_getenv(), g_setenv(),Tor Lillqvist9-271/+611
2005-01-01 Tor Lillqvist <tml@iki.fi> * glib/glib.symbols * glib/gutils.h * glib/gutils.c: Make also g_getenv(), g_setenv(), g_unsetenv() and g_find_program_in_path() take and return UTF-8 strings on Win32. Implement DLL ABI backward compatility for them, too. Move all the DLL ABI stability wrappers to the end of the file. Use wide character API when available in inner_find_program_in_path(). * glib/gfileutils.c: With the UTF-8ness of g_getenv() above, just use g_getenv() to get PATHEXT. (Yeah, it's probably overdoing it to consider somebody actually having anything else than ASCII in PATHEXT, but...)
2004-12-31Rewrite the Win32 version to use GetFileAttributes() instead of stat().Tor Lillqvist6-99/+174
2004-12-31 Tor Lillqvist <tml@iki.fi> * glib/gfileutils.c (g_file_test): Rewrite the Win32 version to use GetFileAttributes() instead of stat(). stat() is unreliable for corner cases like '\\server\share' or '.\'. Part of fixing #161797. When testing for executability, in addition to the fixed set of executable file name extensions also check the PATHEXT environment variable.
2004-12-30Use GetCurrentDirectory() directly for simpler buffer length management. ITor Lillqvist6-16/+62
2004-12-30 Tor Lillqvist <tml@iki.fi> * glib/gutils.c (g_get_current_dir): Use GetCurrentDirectory() directly for simpler buffer length management. I don't trust getcwd() getting it right all the time.
2004-12-30Typo fix.Matthias Clasen6-2/+22
2004-12-30Require UNC paths to start with exactly two slashes. (g_get_current_dir):Tor Lillqvist6-7/+106
2004-12-30 Tor Lillqvist <tml@iki.fi> * glib/gutils.c (g_path_skip_root): Require UNC paths to start with exactly two slashes. (g_get_current_dir): Use wide character API when available. (g_path_get_dirname): Handle UNC paths better. Part of fix for #161797.
2004-12-27Add an OS_LINUX conditional.Matthias Clasen9-2/+55
2004-12-27 Matthias Clasen <mclasen@redhat.com> * configure.in: Add an OS_LINUX conditional. * glib/Makefile.am (TESTS): Only check the ABI on linux, since the shell script is not portable, and libtool deficiencies may distort the ABI on other platforms. (#161741)
2004-12-22Don't show the special G_OPTION_REMAINING entry. (#161934, Matthew F.Matthias Clasen6-0/+33
2004-12-21 Matthias Clasen <mclasen@redhat.com> * glib/goption.c (print_entry): Don't show the special G_OPTION_REMAINING entry. (#161934, Matthew F. Barnes)
2004-12-20Improve docs.Tor Lillqvist6-3/+30
2004-12-20 Tor Lillqvist <tml@iki.fi> * glib/gconvert.c (g_locale_to_utf8, g_filename_to_uri): Improve docs.