Nickolay V. Shmyrev [Sun, 21 Sep 2008 19:22:36 +0000 (19:22 +0000)]
Updated Russian translation.
2008-09-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* ru.po: Updated Russian translation.
svn path=/trunk/; revision=7524
Wadim Dziedzic [Sun, 21 Sep 2008 18:05:00 +0000 (18:05 +0000)]
Updated Polish translation
2008-09-21 Wadim Dziedzic <wdziedzic@aviary.pl>
* pl.po: Updated Polish translation
svn path=/trunk/; revision=7522
Matthias Clasen [Sun, 21 Sep 2008 00:00:18 +0000 (00:00 +0000)]
Plug a memory leak
svn path=/trunk/; revision=7520
Hans Petter Jansson [Sat, 20 Sep 2008 04:05:11 +0000 (04:05 +0000)]
Rewrite most of GHashTable to use open addressing with quadratic probing
2008-09-19 Hans Petter Jansson <hpj@novell.com>
Rewrite most of GHashTable to use open addressing with quadratic
probing instead of chaining. This has the potential to reduce memory
fragmentation significantly, while being slightly faster due to
better locality and no need to call alloc/free functions for nodes.
Benchmarks suggest it also uses less memory overall.
* glib/ghash.c (prime_mod): Table of suitable primes for
initial-probe distribution.
(g_hash_table_set_shift): New function.
(g_hash_table_find_closest_shift): New function.
(g_hash_table_set_shift_from_size): New function.
(g_hash_table_lookup_node_for_insertion): New function.
(g_hash_table_lookup_node): Rewritten to return node index instead of
pointer, use quadratic probe on flat table, and not return insertion
data. The latter saves some computation for read-only lookups.
(g_hash_table_remove_node): Rewrite to take a pointer directly to the
node structure to remove, and clear that. Remove unlinking code.
(g_hash_table_remove_all_nodes): Rewrite to not clear nodes
individually, but en masse using memset () after potentially calling
notify functions.
(iter_remove_or_steal): Use new data structure and algorithm. Vastly
simplified - now just a call to g_hash_table_remove_node ().
(g_hash_table_resize): New resize code, re-indexing with new prime
and cleaning up tombstones.
(g_hash_table_maybe_resize): Table may hold 8 buckets minimum, no less
than 1/4 load excluding tombstones, and no more than 15/16 load
including tombstones. These numbers are the results of a lot of
benchmarking with multiple complex applications, and should not be
changed lightly.
(g_hash_table_iter_next)
(g_hash_table_lookup)
(g_hash_table_lookup_extended)
(g_hash_table_insert_internal)
(g_hash_table_remove_internal)
(g_hash_table_foreach_remove_or_steal)
(g_hash_table_foreach)
(g_hash_table_find)
(g_hash_table_get_keys)
(g_hash_table_get_values): Use new data structure and algorithm,
fairly trivial changes.
svn path=/trunk/; revision=7518
Mugurel Tudor [Fri, 19 Sep 2008 14:09:48 +0000 (14:09 +0000)]
Updated Romanian translation by Mişu Moldovan <dumol@gnome.ro>
2008-09-19 Mugurel Tudor <mugurelu@gnome.ro>
* ro.po: Updated Romanian translation by
Mişu Moldovan <dumol@gnome.ro>
svn path=/trunk/; revision=7515
Tor Lillqvist [Fri, 19 Sep 2008 10:42:04 +0000 (10:42 +0000)]
Look for man pages in share/man.
2008-09-19 Tor Lillqvist <tml@novell.com>
* glib-zip.in: Look for man pages in share/man.
svn path=/trunk/; revision=7512
Tor Lillqvist [Fri, 19 Sep 2008 10:20:41 +0000 (10:20 +0000)]
glib/gutils.c (_glib_get_dll_directory) Be a bit less restrictive, look
2008-09-19 Tor Lillqvist <tml@novell.com>
* glib/gutils.c (_glib_get_dll_directory)
* glib/gspawn-win32.c (do_spawn_with_pipes): Be a bit less
restrictive, look for the helper programs in the same folder where
the GLib DLL is, not necessarily in a "bin" subfolder of the top
GLib installation folder.
svn path=/trunk/; revision=7511
Matthias Clasen [Thu, 18 Sep 2008 14:47:14 +0000 (14:47 +0000)]
Bump version to 2.19.0
2008-09-18 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version to 2.19.0
* ChangeLog.pre-2-18: rotate ChangeLog
* === branch for 2.18 ===
svn path=/trunk/; revision=7510
Djihed Afifi [Thu, 18 Sep 2008 02:02:45 +0000 (02:02 +0000)]
Updated Arabic Translation by Anas Afif Emad.
* Updated Arabic Translation by Anas Afif Emad.
svn path=/trunk/; revision=7508
Matthias Clasen [Wed, 17 Sep 2008 23:58:48 +0000 (23:58 +0000)]
Bump version
svn path=/trunk/; revision=7507
Matthias Clasen [Wed, 17 Sep 2008 23:56:04 +0000 (23:56 +0000)]
2.18.1
svn path=/trunk/; revision=7505
Matthias Clasen [Wed, 17 Sep 2008 22:52:48 +0000 (22:52 +0000)]
Updates
svn path=/trunk/; revision=7504
Krishnababu Krothapalli [Wed, 17 Sep 2008 14:17:06 +0000 (14:17 +0000)]
Updated Telugu Translation.
svn path=/trunk/; revision=7503
Krishnababu Krothapalli [Wed, 17 Sep 2008 14:16:07 +0000 (14:16 +0000)]
Updated Changelog file
svn path=/trunk/; revision=7502
Michael Natterer [Tue, 16 Sep 2008 11:36:52 +0000 (11:36 +0000)]
can't assign the return value of g_strdupv() to an array. Fill the array
2008-09-16 Michael Natterer <mitch@imendio.com>
* gcontenttype.c (g_content_type_guess): can't assign the return
value of g_strdupv() to an array. Fill the array manually with
const strings instead (it is never freed anyway). Fixes the
build. Also fixed indentation.
svn path=/trunk/; revision=7501
Wouter Bolsterlee [Tue, 16 Sep 2008 09:13:19 +0000 (09:13 +0000)]
Fix trivial typo to unbreak the build (there was a colon instead of a
2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
* gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
Fix trivial typo to unbreak the build (there was a colon
instead of a semicolon at the end of a statement).
svn path=/trunk/; revision=7500
Tor Lillqvist [Tue, 16 Sep 2008 01:04:55 +0000 (01:04 +0000)]
Add an "install" project that copies the deliverables into a place
from which projects in other packages will use them.
svn path=/trunk/; revision=7499
Tor Lillqvist [Mon, 15 Sep 2008 23:10:10 +0000 (23:10 +0000)]
Use "win64" in the names of the helper exes when built for 64-bit
Windows, like in the Makefile.am.
svn path=/trunk/; revision=7498
Tor Lillqvist [Mon, 15 Sep 2008 22:59:44 +0000 (22:59 +0000)]
New folder. Project files for use with MSVS9. Based on the MSVS8 project
2008-09-16 Tor Lillqvist <tml@novell.com>
* win32/vs9: New folder. Project files for use with MSVS9. Based
on the MSVS8 project files is win32/vs8. Four configurations:
Debug|Win32, Release|Win32, Debug|x64 and Release|x64. DLL names
simplified to of the style glib-2-vs9.dll.
svn path=/trunk/; revision=7497
Tor Lillqvist [Mon, 15 Sep 2008 22:52:12 +0000 (22:52 +0000)]
time_t is 64 bits in all the newer Microsoft C libraries, not just 64-bit
2008-09-16 Tor Lillqvist <tml@novell.com>
* glib/gtimer.c (g_time_val_to_iso8601): time_t is 64 bits in all
the newer Microsoft C libraries, not just 64-bit ones. So to avoid
crash if compiled with newer MSVSes, use a separate time_t
variable in all cases on Windows.
svn path=/trunk/; revision=7496
Tor Lillqvist [Mon, 15 Sep 2008 22:19:38 +0000 (22:19 +0000)]
Define G_BREAKPOINT() also for 64-bit MSVC, using the __debugbreak()
2008-09-16 Tor Lillqvist <tml@novell.com>
* glib/gbacktrace.h: Define G_BREAKPOINT() also for 64-bit MSVC,
using the __debugbreak() intrinsic.
svn path=/trunk/; revision=7495
Behdad Esfahbod [Mon, 15 Sep 2008 18:59:25 +0000 (18:59 +0000)]
Fix description of module shared library suffix.
2008-09-15 Behdad Esfahbod <behdad@gnome.org>
* configure.in: Fix description of module shared library suffix.
svn path=/trunk/; revision=7494
Tor Lillqvist [Mon, 15 Sep 2008 16:52:20 +0000 (16:52 +0000)]
Missed one /win32...
svn path=/trunk/; revision=7493
Matthias Clasen [Mon, 15 Sep 2008 16:26:38 +0000 (16:26 +0000)]
Ignore an empty Path value
svn path=/trunk/; revision=7492
Matthias Clasen [Mon, 15 Sep 2008 16:06:05 +0000 (16:06 +0000)]
Bug 551681 – g_content_type_guess() too naive with filenames
* gcontenttype.c (g_content_type_guess): Check whether there's a '/'
at the end of the filename, and declare it a directory.
Patch by Bastien Nocera
svn path=/trunk/; revision=7491
Tor Lillqvist [Mon, 15 Sep 2008 16:04:33 +0000 (16:04 +0000)]
Drop the "win32" part from under "dependencies" so that the same project
2008-09-15 Tor Lillqvist <tml@novell.com>
* win32/vs8/*.vcproj: Drop the "win32" part from under
"dependencies" so that the same project files can be used also
for 64-bit compilation by just having a different
"dependencies" folder containing 64-bit packages instead. At
least, I hope it will work out some way like that. MSVS
project files really are a pain to maintain. Much information
is typically copied for four different configurations
"Debug|Win32", "Release|Win32", "Debug|x64" and "Release|x64"
instead of having common stuff listed just once and only different
parametrisations. Or am I missing something?
Make the "Release" configuration work, too. Use correct character
set for the gspawn-win32-helper programs. Use correct subsystem
for the non-console one.
svn path=/trunk/; revision=7490
Tor Lillqvist [Mon, 15 Sep 2008 15:14:00 +0000 (15:14 +0000)]
Update to match what the configure script produces. Just for uniformity,
2008-09-15 Tor Lillqvist <tml@novell.com>
* config.h.win32.in: Update to match what the configure script
produces. Just for uniformity, only commented out parts affected.
svn path=/trunk/; revision=7489
Tor Lillqvist [Mon, 15 Sep 2008 14:56:23 +0000 (14:56 +0000)]
Don't use Detect64BitPortabilityProblems as those warnings are misleading.
2008-09-15 Tor Lillqvist <tml@novell.com>
* win32/vs8/*.vcproj: Don't use Detect64BitPortabilityProblems
as those warnings are misleading. They don't take into
consideration ifdefs in glibconfig.h and elsewhere for _WIN64.
svn path=/trunk/; revision=7488
Matthias Clasen [Mon, 15 Sep 2008 14:56:22 +0000 (14:56 +0000)]
Add forgotten function
svn path=/trunk/; revision=7487
Tor Lillqvist [Mon, 15 Sep 2008 14:36:51 +0000 (14:36 +0000)]
win32/vs8/gobject.vcproj Drop G*_EXPORTS from PreprocessorDefinitions,
2008-09-15 Tor Lillqvist <tml@novell.com>
* win32/vs8/gobject.vcproj
* win32/vs8/gthread.vcproj: Drop G*_EXPORTS from
PreprocessorDefinitions, nothing looks for such
macros.
svn path=/trunk/; revision=7486
Tor Lillqvist [Mon, 15 Sep 2008 14:26:26 +0000 (14:26 +0000)]
Add DLL_EXPORT to export also the GLIB_VAR variables that aren't mentioned
2008-09-15 Tor Lillqvist <tml@novell.com>
* win32/vs8/glib.vcproj: Add DLL_EXPORT to export also the
GLIB_VAR variables that aren't mentioned in glib.symbols.
svn path=/trunk/; revision=7485
Tor Lillqvist [Mon, 15 Sep 2008 14:04:51 +0000 (14:04 +0000)]
Update to match the Makefile.am files. Drop G*_EXPORTS from
2008-09-15 Tor Lillqvist <tml@novell.com>
* win32/vs8/*.vcproj: Update to match the Makefile.am files. Drop
G*_EXPORTS from PreprocessorDefinitions, nothing looks for such
macros. Add G_DISABLE_DEPRECATED. Add PCRE_STATIC for glib to
avoid exporting the pcre functions. Add G_LOG_DOMAIN for gobject.
svn path=/trunk/; revision=7484
Djihed Afifi [Mon, 15 Sep 2008 09:35:57 +0000 (09:35 +0000)]
Updated Arabic Translation by Khaled Hosny.
* Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=7483
Djihed Afifi [Sun, 14 Sep 2008 10:14:32 +0000 (10:14 +0000)]
Updated Arabic Translation by Khaled Hosny.
* Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=7482
Cosimo Cecchi [Sat, 13 Sep 2008 23:47:41 +0000 (23:47 +0000)]
Bug 551887 – Docs for g_desktop_app_info_new_from_filename () aren't
2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
aren't clear.
* gdesktopappinfo.c: add a note in the docs clarifying what the
"filename" parameter really is.
svn path=/trunk/; revision=7481
Tor Lillqvist [Sat, 13 Sep 2008 20:23:17 +0000 (20:23 +0000)]
glib/gutils.h Deprecate G_WIN32_DLLMAIN_FOR_DLL_NAME(),
2008-09-13 Tor Lillqvist <tml@novell.com>
* glib/gutils.h
* glib/gwin32.h: Deprecate G_WIN32_DLLMAIN_FOR_DLL_NAME(),
g_win32_get_package_installation_directory() and
g_win32_get_package_installation_subdirectory() as their
documentation has warned for a while. Sorry that I forgot to do
this before 2.18.0.
* glib/gwin32.c (g_win32_get_package_installation_directory):
Print a warning if a non-NULL package parameter is passed to this
function, as that is deprecated usage, as the documentation says.
svn path=/trunk/; revision=7480
Baris Cicek [Sat, 13 Sep 2008 02:35:29 +0000 (02:35 +0000)]
Updated Turkish Translation
svn path=/trunk/; revision=7479
Matthias Clasen [Fri, 12 Sep 2008 22:59:03 +0000 (22:59 +0000)]
Reinstate docs that got lost
svn path=/trunk/; revision=7478
Tor Lillqvist [Fri, 12 Sep 2008 00:54:14 +0000 (00:54 +0000)]
Don't call FormatMessage() etc here. Call g_win32_error_message() instead
2008-09-12 Tor Lillqvist <tml@novell.com>
* gwin32appinfo.c (g_win32_app_info_launch): Don't call
FormatMessage() etc here. Call g_win32_error_message() instead
which already does all that. Besides, the code was broken as it
called the default "A" version of FormatMessage() but still
thought it produced a wide string.
svn path=/trunk/; revision=7472
Michael Natterer [Thu, 11 Sep 2008 22:05:09 +0000 (22:05 +0000)]
remove dangling 's' in the documentation.
2008-09-12 Michael Natterer <mitch@imendio.com>
* gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
in the documentation.
svn path=/trunk/; revision=7471
Matthias Clasen [Thu, 11 Sep 2008 16:48:44 +0000 (16:48 +0000)]
Bug 548321 – <string.h> is not included in gi18n-lib.h
2008-09-11 Matthias Clasen <mclasen@redhat.com>
Bug 548321 – <string.h> is not included in gi18n-lib.h
* glib/gi18n.h:
* glib/gi18n-lib.h: Include string.h, since strlen is used in
the macros. Pointed out by Ignacio Casal Quinteiro
svn path=/trunk/; revision=7455
Rajesh Ranjan [Thu, 11 Sep 2008 11:14:58 +0000 (11:14 +0000)]
hindi update by Rajesh Ranjan
svn path=/trunk/; revision=7454
Matthias Clasen [Thu, 11 Sep 2008 04:21:17 +0000 (04:21 +0000)]
Documentation improvements
svn path=/trunk/; revision=7453
Matthias Clasen [Wed, 10 Sep 2008 22:39:05 +0000 (22:39 +0000)]
Add required includes
svn path=/trunk/; revision=7452
Matthias Clasen [Wed, 10 Sep 2008 03:21:42 +0000 (03:21 +0000)]
Bug 551228 – G_STRFUNC on recent Sun compiler should be expanded to
2008-09-09 Matthias Clasen <mclasen@redhat.com>
Bug 551228 – G_STRFUNC on recent Sun compiler should be expanded to
__func__ rather than '???'
* glib/gmacros.h: Don't use glibconfig.h defines in gmacros.h,
as the comment up top says. Instead look at __STDC_VERSION__.
Problem reported by Lin Ma.
svn path=/trunk/; revision=7451
Manoj Kumar Giri [Tue, 9 Sep 2008 13:56:21 +0000 (13:56 +0000)]
Updated Oriya (or.po) Translation
svn path=/trunk/; revision=7450
Runa Bhattacharjee [Tue, 9 Sep 2008 12:55:14 +0000 (12:55 +0000)]
Added Entry for Bengali India Translation Updation
svn path=/trunk/; revision=7449
Runa Bhattacharjee [Tue, 9 Sep 2008 12:55:02 +0000 (12:55 +0000)]
Updated Bengali India Translation
svn path=/trunk/; revision=7448
Matthias Clasen [Tue, 9 Sep 2008 06:04:21 +0000 (06:04 +0000)]
Bug 523463 – Core dump in gmain.c:2482:IA__g_main_context_check()
2008-09-09 Matthias Clasen <mclasen@redhat.com>
Bug 523463 – Core dump in gmain.c:2482:IA__g_main_context_check()
* glib/gmain.c (g_main_context_check): Be robust against setting
event fields on the fly, as e.g. happens in linc. Tracked down
by Paul Smith, fix proposed by Owen Taylor.
svn path=/trunk/; revision=7447
Tor Lillqvist [Mon, 8 Sep 2008 20:38:40 +0000 (20:38 +0000)]
Bug 551408 - gmodule.def generated to builddir, but required in srcdir
2008-09-08 Tor Lillqvist <tml@novell.com>
Bug 551408 - gmodule.def generated to builddir, but required in srcdir
* Makefile.am: Use gmodule.def from builddir, not srcdir.
svn path=/trunk/; revision=7446
Matej Urbančič [Mon, 8 Sep 2008 14:16:23 +0000 (14:16 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=7445
Christian Neumair [Mon, 8 Sep 2008 12:44:07 +0000 (12:44 +0000)]
(gio)
2008-09-08 Christian Neumair <cneumair@gnome.org>
* gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
* gunixvolume.c (eject_mount_read_error), (eject_mount_do):
Use non-blocking pipe for mount helper I/O. Fixes #550647.
svn path=/trunk/; revision=7444
Robert Sedak [Mon, 8 Sep 2008 09:19:19 +0000 (09:19 +0000)]
Update: Croatian Language
svn path=/trunk/; revision=7443
Christian Dywan [Mon, 8 Sep 2008 08:25:29 +0000 (08:25 +0000)]
Bug 550433 – g_test_init doesn't recognize --help
* glib/gtestutils.c (parse_args): Add detailed --help output
svn path=/trunk/; revision=7442
Matthias Clasen [Sun, 7 Sep 2008 03:28:56 +0000 (03:28 +0000)]
Bug 551149 – xdgmime mem leak
2008-09-06 Matthias Clasen <mclasen@redhat.com>
Bug 551149 – xdgmime mem leak
* xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
a memory leak. Patch by Christian Persch
svn path=/trunk/; revision=7441
Yang Zhang [Sat, 6 Sep 2008 03:26:58 +0000 (03:26 +0000)]
Updated zh_CN translation
svn path=/trunk/; revision=7440
Tor Lillqvist [Thu, 4 Sep 2008 20:41:50 +0000 (20:41 +0000)]
Don't unref icon if NULL.
2008-09-04 Tor Lillqvist <tml@novell.com>
* gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
NULL.
svn path=/trunk/; revision=7439
Changwoo Ryu [Thu, 4 Sep 2008 12:09:08 +0000 (12:09 +0000)]
Updated Korean translation
svn path=/trunk/; revision=7438
Philip Withnall [Wed, 3 Sep 2008 22:08:04 +0000 (22:08 +0000)]
Updated British English translation.
2008-09-03 Philip Withnall <philip@tecnocode.co.uk>
* en_GB.po: Updated British English translation.
svn path=/trunk/; revision=7437
Matthias Clasen [Tue, 2 Sep 2008 20:20:04 +0000 (20:20 +0000)]
Bump version
svn path=/trunk/; revision=7436
Matthias Clasen [Tue, 2 Sep 2008 20:09:55 +0000 (20:09 +0000)]
2.18.0
svn path=/trunk/; revision=7434
Michael Natterer [Tue, 2 Sep 2008 19:05:58 +0000 (19:05 +0000)]
big header formatting cleanup: indentation, vtable formatting, consistent
2008-09-02 Michael Natterer <mitch@imendio.com>
* *.h: big header formatting cleanup: indentation, vtable
formatting, consistent spacing in (* vfunc), trailing whitespace
removal. Formatting should be pretty consistent in all GIO headers
now.
svn path=/trunk/; revision=7433
Ryan Lortie [Tue, 2 Sep 2008 18:40:39 +0000 (18:40 +0000)]
Bug 549771 – improved .gitignore for glib
2007-09-02 Ryan Lortie <desrt@desrt.ca>
Bug 549771 – improved .gitignore for glib
* docs/reference/.gitignore:
* docs/reference/gio/.gitignore:
* docs/reference/gobject/tmpl/.gitignore:
* gio/.gitignore:
* gio/tests/.gitignore:
* glib/.gitignore:
* glib/libcharset/.gitignore:
* glib/tests/.gitignore:
* gmodule/.gitignore:
* gobject/.gitignore:
* gobject/tests/.gitignore:
* po/.gitignore:
* tests/.gitignore: new files
* .gitignore: remove 'build' (since it's part of glib now), add more
useful things.
svn path=/trunk/; revision=7432
Matthias Clasen [Tue, 2 Sep 2008 18:36:48 +0000 (18:36 +0000)]
Updates
svn path=/trunk/; revision=7431
Matthias Clasen [Tue, 2 Sep 2008 17:47:54 +0000 (17:47 +0000)]
Bump version to 2.18.0
svn path=/trunk/; revision=7430
Matthias Clasen [Tue, 2 Sep 2008 17:39:32 +0000 (17:39 +0000)]
Add g_object_get_type
svn path=/trunk/; revision=7429
Matthias Clasen [Tue, 2 Sep 2008 17:37:51 +0000 (17:37 +0000)]
Document guess_content_type_sync
svn path=/trunk/; revision=7428
Michael Natterer [Tue, 2 Sep 2008 17:30:02 +0000 (17:30 +0000)]
fix parent_class member to be GFilterOutputStreamClass (not
2008-09-02 Michael Natterer <mitch@imendio.com>
* gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
fix parent_class member to be GFilterOutputStreamClass (not
GOutputStreamClass). Drop three pointers of padding, which is
exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
so the class struct size stays the same.
svn path=/trunk/; revision=7427
Matthias Clasen [Tue, 2 Sep 2008 17:03:20 +0000 (17:03 +0000)]
Add missing docs
svn path=/trunk/; revision=7426
Matthias Clasen [Tue, 2 Sep 2008 16:57:59 +0000 (16:57 +0000)]
Fix docs
svn path=/trunk/; revision=7425
Matthias Clasen [Tue, 2 Sep 2008 16:48:40 +0000 (16:48 +0000)]
Fix up docs
svn path=/trunk/; revision=7424
Michael Natterer [Tue, 2 Sep 2008 14:07:27 +0000 (14:07 +0000)]
add g_return_if_fail (checksum != NULL)
2008-09-02 Michael Natterer <mitch@imendio.com>
* glib/gchecksum.c (g_checksum_reset): add
g_return_if_fail (checksum != NULL)
svn path=/trunk/; revision=7423
Alexander Shopov [Tue, 2 Sep 2008 11:24:20 +0000 (11:24 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2008-09-02 Alexander Shopov <ash@contact.bg>
* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
svn path=/trunk/; revision=7422
Wouter Bolsterlee [Tue, 2 Sep 2008 10:27:59 +0000 (10:27 +0000)]
Updated Dutch translation by Tino Meinen.
2008-09-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
* nl.po: Updated Dutch translation by Tino Meinen.
svn path=/trunk/; revision=7421
Paolo Borelli [Mon, 1 Sep 2008 09:42:11 +0000 (09:42 +0000)]
svn:ignore files of last patch
svn path=/trunk/; revision=7420
Paolo Borelli [Mon, 1 Sep 2008 09:31:40 +0000 (09:31 +0000)]
Bug 550040 - Move GString, rand and printf tests to the unit test
2008-09-01 Paolo Borelli <pborelli@katamail.com>
Bug 550040 - Move GString, rand and printf tests to the unit test
framework
* tests/printf-test.c:
* tests/rand-test.c:
* tests/string-test.c:
Removed
* glib/tests/printf.c:
* glib/tests/rand.c:
* glib/tests/string.c:
Added
* tests/Makefile.am:
* glib/tests/Makefile.am:
Updated for the above
svn path=/trunk/; revision=7419
Emmanuele Bassi [Sun, 31 Aug 2008 19:53:21 +0000 (19:53 +0000)]
Bug 550096 – GBookmarkFile parser is not forward compatible
2008-08-31 Emmanuele Bassi <ebassi@gnome.org>
Bug 550096 – GBookmarkFile parser is not forward compatible
* glib/gbookmarkfile.c:
(parse_bookmark_element), (parse_application_element),
(parse_mime_type_element), (parse_icon_element): Relax the
attributes checking of the GBookmarkFile parser for the
attributes that the desktop bookmark file specification
defines and controls. This allows adding new attributes to
the existing elements in newer versions without breaking the
parser in older ones.
svn path=/trunk/; revision=7418
Inaki Larranaga Murgoitio [Sat, 30 Aug 2008 10:43:33 +0000 (10:43 +0000)]
Updated Basque translation.
2008-08-30 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.
svn path=/trunk/; revision=7416
Ryan Lortie [Fri, 29 Aug 2008 06:02:47 +0000 (06:02 +0000)]
Fixup for test case in previous commit.
2008-08-28 Ryan Lortie <desrt@desrt.ca>
Fixup for test case in previous commit.
* glib/tests/strfuncs.c: don't fail if we can't open the test data.
This happens if $(builddir) != $(srcdir) (like when doing 'make
distcheck'). Quick workaround for now until #549783 can be fixed.
svn path=/trunk/; revision=7415
Ryan Lortie [Thu, 28 Aug 2008 23:03:24 +0000 (23:03 +0000)]
[REVERT] Bug 548612 – g_strstr_len() should use memmem when available
2008-08-28 Ryan Lortie <desrt@desrt.ca>
[REVERT] Bug 548612 – g_strstr_len() should use memmem when available
* glib/gstrfuncs.c (g_strstr_len): fix off-by-one memory access error
* glib/tests/strfuncs.c (test_bounds): add some new test cases that
would catch problems like this
* glib/tests/4096-random-bytes: test data for the previous
* glib/tests/Makefile.am: add previous to EXTRA_DIST
svn path=/trunk/; revision=7414
Ryan Lortie [Thu, 28 Aug 2008 22:55:36 +0000 (22:55 +0000)]
[REVERT] Bug 548612 – g_strstr_len() should use memmem when available
2008-08-28 Ryan Lortie <desrt@desrt.ca>
[REVERT] Bug 548612 – g_strstr_len() should use memmem when available
* configure.in:
* glib/gstrfuncs.c (g_strstr_len): revert use of memmem (see bug)
svn path=/trunk/; revision=7413
Matthias Clasen [Thu, 28 Aug 2008 19:45:58 +0000 (19:45 +0000)]
Fix selinux linking
svn path=/trunk/; revision=7412
Gabor Kelemen [Thu, 28 Aug 2008 18:31:45 +0000 (18:31 +0000)]
Translation updated.
2008-08-28 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated.
svn path=/trunk/; revision=7411
Michael Natterer [Thu, 28 Aug 2008 14:47:56 +0000 (14:47 +0000)]
make "endptr" const since it's always a pointer into the const string
2008-08-28 Michael Natterer <mitch@imendio.com>
* glib/gstrfuncs.c (g_parse_long_long): make "endptr" const since
it's always a pointer into the const string passed. Remove some
casting to (gchar*) in this function.
(g_ascii_strtoull)
(g_ascii_strtoll): cast "endptr" to (const gchar**) here when
passing it to above function.
svn path=/trunk/; revision=7410
Bastien Nocera [Thu, 28 Aug 2008 12:53:59 +0000 (12:53 +0000)]
Bug 548612 – g_strstr_len() should use memmem when available
2008-08-28 Bastien Nocera <hadess@hadess.net>
Bug 548612 – g_strstr_len() should use memmem when available
* glib/tests/strfuncs.c (test_strstr):
* tests/string-test.c (main): Patch by Paolo Borelli
<pborelli@katamail.com> to move the tests to the right place,
and add more tests
* glib/gstrfuncs.c (g_strstr_len): Fix problem with memmem ignoring
nul-terminators in strings, and using the haystack_len instead
svn path=/trunk/; revision=7409
Hendrik Richter [Thu, 28 Aug 2008 04:58:40 +0000 (04:58 +0000)]
Updated German translation.
2008-08-28 Hendrik Richter <hendrikr@gnome.org>
* de.po: Updated German translation.
svn path=/trunk/; revision=7408
Bastien Nocera [Wed, 27 Aug 2008 23:23:23 +0000 (23:23 +0000)]
Bug 548612 – g_strstr_len() should use memmem when available
2008-08-28 Bastien Nocera <hadess@hadess.net>
Bug 548612 – g_strstr_len() should use memmem when available
* configure.in: detect whether memmem is available in the C library
* glib/gstrfuncs.c (g_strstr_len): use memmem for g_strstr_len() if
available in it's available, as it could be optimised by the C library
* tests/string-test.c (main): Add a few tests for g_strstr_len()
svn path=/trunk/; revision=7407
Matthias Clasen [Wed, 27 Aug 2008 20:13:58 +0000 (20:13 +0000)]
small addition
svn path=/trunk/; revision=7406
Tor Lillqvist [Wed, 27 Aug 2008 16:49:17 +0000 (16:49 +0000)]
Stylistic changes. Plug an unlikely memory leak that occurred in
2008-08-27 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c: Stylistic changes. Plug an unlikely memory leak
that occurred in create_thread() if closing the thread handle
failed. Add more error messages to g_io_win32_free() that are
printed only when debugging. Plug handle leak, a socket channel's
event was never closed.
svn path=/trunk/; revision=7405
Tor Lillqvist [Wed, 27 Aug 2008 13:20:28 +0000 (13:20 +0000)]
Add "win32" directory level to the references to the dependencies folder
2008-08-27 Tor Lillqvist <tml@novell.com>
* win32/vs8/*.vcproj: Add "win32" directory level to the
references to the dependencies folder (which each actual user of
the project file probably needs to edit anyway depending on their
directory structure). Add missing files, remove nonexistent files.
svn path=/trunk/; revision=7404
Tor Lillqvist [Wed, 27 Aug 2008 12:48:57 +0000 (12:48 +0000)]
Should not define HAVE_DIRENT_H when compiling with MSVC, as the only file
2008-08-27 Tor Lillqvist <tml@novell.com>
* config.h.win32.in: Should not define HAVE_DIRENT_H when
compiling with MSVC, as the only file which checks HAVE_DIRENT_H
is gdir.c, and that includes the dirent.h and wdirent.c from
build/win32/dirent explicitly anyway when being compiled with
MSVC.
svn path=/trunk/; revision=7403
Tor Lillqvist [Wed, 27 Aug 2008 12:44:34 +0000 (12:44 +0000)]
Handle also G_GNUC_FORMAT in the custom build step for glib.symbols.
2008-08-27 Tor Lillqvist <tml@novell.com>
* win32/vs8/glib.vcproj: Handle also G_GNUC_FORMAT in the
custom build step for glib.symbols.
svn path=/trunk/; revision=7402
Tor Lillqvist [Wed, 27 Aug 2008 12:38:42 +0000 (12:38 +0000)]
Don't needlessly copy localcharset.c, but compile it where it is in
2008-08-27 Tor Lillqvist <tml@novell.com>
* win32/vs8/glib.vcproj: Don't needlessly copy localcharset.c, but
compile it where it is in libcharset. Add "win32" directory level
to the references to the dependencies folder (which each actual
user of the project file probably needs to edit anyway depending
on their directory structure). Drop the nonexistent gi18n.c
file. Drop dirent as gdir.c includes dirent.h and wdirent.c
directly.
svn path=/trunk/; revision=7401
Rajesh Ranjan [Wed, 27 Aug 2008 08:43:58 +0000 (08:43 +0000)]
added by Rajesh Ranjan for Maithili
svn path=/trunk/; revision=7400
Petr Kovar [Tue, 26 Aug 2008 23:26:09 +0000 (23:26 +0000)]
Updated Czech translation.
2008-08-27 Petr Kovar <pknbe@volny.cz>
* cs.po: Updated Czech translation.
svn path=/trunk/; revision=7399
Djihed Afifi [Tue, 26 Aug 2008 14:16:48 +0000 (14:16 +0000)]
Updated Arabic Translation by Khaled Hosny.
* Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=7398
Daniel Nylander [Mon, 25 Aug 2008 18:48:25 +0000 (18:48 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=7397
Goran Rakic [Mon, 25 Aug 2008 14:52:09 +0000 (14:52 +0000)]
Conversion from sr@Latn to sr@latin
svn path=/trunk/; revision=7396
Gintautas Miliauskas [Mon, 25 Aug 2008 00:36:26 +0000 (00:36 +0000)]
Updated Lithuanian translation.
2008-08-24 Gintautas Miliauskas <gintas@akl.lt>
* lt.po: Updated Lithuanian translation.
svn path=/trunk/; revision=7395
Gintautas Miliauskas [Mon, 25 Aug 2008 00:30:24 +0000 (00:30 +0000)]
Updated Lithuanian translation.
2008-08-24 Gintautas Miliauskas <gintas@akl.lt>
* lt.po: Updated Lithuanian translation.
svn path=/trunk/; revision=7394