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
Maxim Dziumanenko [Sun, 24 Aug 2008 04:35:39 +0000 (04:35 +0000)]
Update Ukrainian translation.
2008-08-24 Maxim Dziumanenko <dziumanenko@gmail.com>
* Update Ukrainian translation.
svn path=/trunk/; revision=7393
Priit Laes [Sat, 23 Aug 2008 12:10:35 +0000 (12:10 +0000)]
Translation updated by Ivar Smolin
2008-08-23 Priit Laes <plaes at svn dot gnome dot org>
* et.po: Translation updated by Ivar Smolin
svn path=/trunk/; revision=7392
Theppitak Karoonboonyanan [Sat, 23 Aug 2008 11:00:13 +0000 (11:00 +0000)]
Updated Thai translation.
2008-08-23 Theppitak Karoonboonyanan <thep@linux.thai.net>
* th.po: Updated Thai translation.
svn path=/trunk/; revision=7391
Takeshi AIHANA [Sat, 23 Aug 2008 04:53:19 +0000 (04:53 +0000)]
Updated Japanese translation.
2008-08-23 Takeshi AIHANA <takeshi.aihana@gmail.com>
* ja.po: Updated Japanese translation.
svn path=/trunk/; revision=7390
Tor Lillqvist [Sat, 23 Aug 2008 01:10:03 +0000 (01:10 +0000)]
Clarification.
svn path=/trunk/; revision=7389
Tor Lillqvist [Sat, 23 Aug 2008 01:09:08 +0000 (01:09 +0000)]
Bug 548988 - g_file_replace fails on Windows when the target file exists
2008-08-23 Tor Lillqvist <tml@novell.com>
Bug 548988 - g_file_replace fails on Windows when the target file
exists already
* glocalfileoutputstream.c (g_local_file_output_stream_close): On
Windows, close the file before renaming it (in case we have been
writing to a file with a temporary name).
(g_local_file_output_stream_close, handle_overwrite_open): Use
GLocalFileStat instead of plain struct stat, for passing to
_g_local_file_info_create_etag(). Thus also use _fstati64()
instead of plain fstat() on Windows.
svn path=/trunk/; revision=7388
Björn Lindqvist [Fri, 22 Aug 2008 18:23:05 +0000 (18:23 +0000)]
Bug 523939 – Example program for GValue
2008-08-22 Björn Lindqvist <bjourne@gmail.com>
Bug 523939 – Example program for GValue
* gobject/gvalue.c: Add code example that demonstrates GValue's
features.
svn path=/trunk/; revision=7387
Nguyễn Thái Ngọc Duy [Fri, 22 Aug 2008 04:54:48 +0000 (04:54 +0000)]
Updated Vietnamese translation
2008-08-22 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
* vi.po: Updated Vietnamese translation
svn path=/trunk/; revision=7386
Tor Lillqvist [Thu, 21 Aug 2008 13:42:35 +0000 (13:42 +0000)]
Drop #if 0 code.
2008-08-21 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c: Drop #if 0 code.
svn path=/trunk/; revision=7385
Tor Lillqvist [Thu, 21 Aug 2008 11:47:04 +0000 (11:47 +0000)]
Don't bother compiling the binary compatibility
2008-08-21 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c: Don't bother compiling the binary
compatibility g_io_channel_win32_new_stream_socket()
function that has not been mentioned in any header since 2.0 on
Win64.
* glib/glib.symbols: Mark it, too, private, and don't export it on
Win64.
svn path=/trunk/; revision=7384
Tor Lillqvist [Thu, 21 Aug 2008 11:35:51 +0000 (11:35 +0000)]
Improve run-time warning messages. Drop some #if 0 code.
2008-08-21 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c: Improve run-time warning messages. Drop
some #if 0 code.
svn path=/trunk/; revision=7383
Tor Lillqvist [Thu, 21 Aug 2008 11:24:00 +0000 (11:24 +0000)]
Minor comment improvements.
2008-08-21 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c: Minor comment improvements.
svn path=/trunk/; revision=7382
Robert-André Mauchin [Thu, 21 Aug 2008 11:16:14 +0000 (11:16 +0000)]
Updated French translation
svn path=/trunk/; revision=7381
Tor Lillqvist [Thu, 21 Aug 2008 10:29:36 +0000 (10:29 +0000)]
Improve last entry
svn path=/trunk/; revision=7380
Johan Dahlin [Thu, 21 Aug 2008 09:45:07 +0000 (09:45 +0000)]
Revert fix for 548689
svn path=/trunk/; revision=7379
Johan Dahlin [Thu, 21 Aug 2008 09:42:44 +0000 (09:42 +0000)]
Mark g_object_get_type function as const, it's a fundamental type and can
2008-08-21 Johan Dahlin <johan@gnome.org>
* gobject.h:
Mark g_object_get_type function as const, it's
a fundamental type and can safely marked as const,
as opposed to traditionally *_get_type functions.
svn path=/trunk/; revision=7378
Johan Dahlin [Thu, 21 Aug 2008 09:18:25 +0000 (09:18 +0000)]
Bug 548800 – Missing a g_object_get_type function
2008-08-21 Johan Dahlin <johan@gnome.org>
Bug 548800 – Missing a g_object_get_type function
* gobject.c (g_object_get_type):
* gobject.h:
* gobject.symbols:
Add g_object_get_type
svn path=/trunk/; revision=7377
Johan Dahlin [Thu, 21 Aug 2008 09:09:43 +0000 (09:09 +0000)]
Reverse the order, pointed out by Mitch 'hawkeye' Natter
svn path=/trunk/; revision=7376
Tor Lillqvist [Thu, 21 Aug 2008 02:27:13 +0000 (02:27 +0000)]
Rework the g_poll() implementation on Windows to match poll() semantics
2008-08-21 Tor Lillqvist <tml@novell.com>
* glib/gmain.c: Rework the g_poll() implementation on Windows to
match poll() semantics more closely. This makes the test program
in bug #468910 behave better and doesn't seem to break anything
else.
If polling several GPollFDs, i.e. messages and/or waitable
handles, first check if one or several of them are in the
signalled state right away, and return indication for all that are
in that case.
If not, then poll with timeout and indicate only the single one
that the Win32 wait function tells us as before.
Remove unnecessary ifdefs, as we always have G_MAIN_POLL_DEBUG
defined on Windows.
Initialise g_main_poll_debug in g_main_context_new() so we have it
before testing it in one case.
Don't add several copies of a handle in the array of handles to
wait for. The documentation says this is not allowed, although it
did seem to work fine in practise. But do as the documentations
says anyway.
svn path=/trunk/; revision=7375
Johan Dahlin [Wed, 20 Aug 2008 15:51:53 +0000 (15:51 +0000)]
Bug 548689 – The type name for GParamSpec is wrong
2008-08-20 Johan Dahlin <johan@gnome.org>
Bug 548689 – The type name for GParamSpec is wrong
* gparam.c (g_param_type_init):
Register the type name as GParam instead of GParamSpec.
svn path=/trunk/; revision=7374
Tor Lillqvist [Wed, 20 Aug 2008 01:30:31 +0000 (01:30 +0000)]
Bug 500246 - Bug fixes for giowin32
2008-08-20 Tor Lillqvist <tml@novell.com>
Bug 500246 - Bug fixes for giowin32
* glib/giowin32.c (read_thread) (write_thread): Change the nbytes
variables to signed.
(g_io_channel_win32_make_pollfd): Fix an obvious error in the file
descriptor case leftover after the patch from bug #333098 on
2006-03-02. Thanks to Marcus Brinkmann.
svn path=/trunk/; revision=7373
Tor Lillqvist [Tue, 19 Aug 2008 23:48:16 +0000 (23:48 +0000)]
Bug 324234 - Using g_io_add_watch_full() to wait for connect() to return
2008-08-20 Tor Lillqvist <tml@novell.com>
Bug 324234 - Using g_io_add_watch_full() to wait for connect() to
return on a non-blocking socket returns prematurely
Bug 548278 - Async GETs connections are always terminated
unexpectedly on Windows
* glib/giowin32.c: Add one more state variable to the
GIOWin32Channel struct, ever_writable. Initialise it to FALSE, set
to TRUE when the WSAEventSelect() indicates FD_WRITE, and never
reset to FALSE.
Don't do the WSASetEvent() in g_io_win32_prepare() unless
ever_writable is TRUE. Don't automatically indicate G_IO_OUT in
g_io_win32_check() unless ever_writable is TRUE.
This fixes the behaviour of the test case program in bug #548278,
and the "Testcase for the spurious OUT event bug" in bug
#324234. It also doesn't seem to break anything. Not that there is
any exhaustive test suite...
Add a comment with a list of bugs that are related to the code in
this file.
svn path=/trunk/; revision=7372
Luca Ferretti [Tue, 19 Aug 2008 01:13:34 +0000 (01:13 +0000)]
Updated Italian translation.
2008-08-19 Luca Ferretti <elle.uca@libero.it>
* it.po: Updated Italian translation.
svn path=/trunk/; revision=7371
Yair Hershkovitz [Mon, 18 Aug 2008 14:42:06 +0000 (14:42 +0000)]
updated hebrew translation
svn path=/trunk/; revision=7370
Matthias Clasen [Mon, 18 Aug 2008 13:21:56 +0000 (13:21 +0000)]
Bump version
svn path=/trunk/; revision=7369
Matthias Clasen [Mon, 18 Aug 2008 13:17:39 +0000 (13:17 +0000)]
2.17.7
svn path=/trunk/; revision=7367
Laurent Dhima [Mon, 18 Aug 2008 08:27:47 +0000 (08:27 +0000)]
Updated Translation
svn path=/trunk/; revision=7366
Sven Neumann [Sun, 17 Aug 2008 10:39:59 +0000 (10:39 +0000)]
mention GWinHttpVfs.
2008-08-17 Sven Neumann <sven@gimp.org>
* NEWS: mention GWinHttpVfs.
svn path=/trunk/; revision=7365
Matthias Clasen [Sun, 17 Aug 2008 01:36:16 +0000 (01:36 +0000)]
Bug 460920 – build fix for --disable-threads
* gthread-impl.c: Implement g_thread_init_with_errorcheck_mutexes
in the !G_THREAD_ENABLED case. Pointed out by Jan Nieuwenhuizen
svn path=/trunk/; revision=7364
Matthias Clasen [Sat, 16 Aug 2008 04:16:48 +0000 (04:16 +0000)]
Fix a typo
svn path=/trunk/; revision=7363
Matthias Clasen [Sat, 16 Aug 2008 04:01:57 +0000 (04:01 +0000)]
Updates
svn path=/trunk/; revision=7362