Tor Lillqvist [Tue, 12 May 2009 11:54:12 +0000 (14:54 +0300)]
Make glibconfig.h.win32.in match the generated one.
Add G_GOFFSET_MODIFIER, G_GOFFSET_FORMAT and G_GOFFSET_CONSTANT.
Alexander Larsson [Wed, 6 May 2009 11:26:17 +0000 (13:26 +0200)]
Fix gcancellable.c build on non-win32
I forgot to add #ifdef G_OS_WIN32 in one place, sorry.
Alexander Larsson [Wed, 6 May 2009 11:10:58 +0000 (13:10 +0200)]
Simplify GCancellable support on win32
There is no need to have a GIOChannel in the GPollFD in
g_cancellable_create_pollfd. All we need is an Event object that
we signal when cancelling and reset when resetting.
Also, supporting g_cancellable_get_fd on Windows using _pipe is useless
as it doesn't work with any corresponding poll() function, so just don't
support that on win32.
I tested this with the cancellation support in GSocket from gnio.
Paul Pogonyshev [Mon, 4 May 2009 19:32:35 +0000 (22:32 +0300)]
Don't try to ref NULL pointer in g_desktop_app_info_dup()
Fixes bug #573246.
Carlos Garnacho [Tue, 5 May 2009 18:45:18 +0000 (14:45 -0400)]
Add a GMount::pre-unmount signal
This is the per-mount analogon to GVolumeMonitor::mount-pre-unmount.
Manoj Kumar Giri [Tue, 5 May 2009 07:04:44 +0000 (12:34 +0530)]
Updated Oriya Translation.
Matthias Clasen [Sun, 3 May 2009 22:08:01 +0000 (18:08 -0400)]
Bump version to 2.21.1
Matthias Clasen [Sun, 3 May 2009 22:04:31 +0000 (18:04 -0400)]
Release 2.21.0
Paul Pogonyshev [Sun, 3 May 2009 21:55:35 +0000 (00:55 +0300)]
Fix g_input_stream_skip_async() documentation
Remove mention of inexisting argument. Spotted in relation to bug
581229.
Matthias Clasen [Sun, 3 May 2009 21:10:16 +0000 (17:10 -0400)]
Fix up tests forgotten in Michaels commit
When Michael cleaned up after my fumbled commit of his gmarkup
optimizations, he fumbled himself and forgot to fix up the tests...
Matthias Clasen [Sun, 3 May 2009 20:58:22 +0000 (16:58 -0400)]
Add new functions
Petr Kovar [Sun, 3 May 2009 16:34:35 +0000 (18:34 +0200)]
Updated Czech translation
Ivar Smolin [Sun, 3 May 2009 09:03:46 +0000 (12:03 +0300)]
Updating Estonian translation
Matthias Clasen [Sun, 3 May 2009 03:17:29 +0000 (23:17 -0400)]
Match up parameter names to help gtk-doc
Matthias Clasen [Sun, 3 May 2009 03:02:41 +0000 (23:02 -0400)]
Add bug references
Matthias Clasen [Sun, 3 May 2009 02:59:02 +0000 (22:59 -0400)]
Plug a memory leak in g_simple_async_result_set_op_res_gpointer
Fixes bug 579272.
Matthias Clasen [Sun, 3 May 2009 02:44:52 +0000 (22:44 -0400)]
Correct g_utf8_to_utf16 docs
As pointed out in bug 580932, len is counting bytes here.
Matthias Clasen [Sun, 3 May 2009 02:41:19 +0000 (22:41 -0400)]
Accept NULL as empty string list
Fixes bug 580656.
Matthias Clasen [Sun, 3 May 2009 02:36:15 +0000 (22:36 -0400)]
Fix reference to g_strtoull
As pointed out in bug 580546, that function does not exit.
Matthias Clasen [Sun, 3 May 2009 02:30:19 +0000 (22:30 -0400)]
Update NEWS
Matthias Clasen [Sun, 3 May 2009 01:58:30 +0000 (21:58 -0400)]
Bump version to 2.21.0
Jorge Gonzalez [Fri, 1 May 2009 18:20:01 +0000 (20:20 +0200)]
Updated Spanish translation
Dan Winship [Fri, 1 May 2009 14:08:52 +0000 (10:08 -0400)]
Misc warning fixes
glib/pcre/pcre_ucp_search_funcs.c, glib/pcre/pcre_valid_utf8.c: add
back missing config.h includes, and this time add them to the copies
in glib/update-pcre/ too so they don't get lost again on the next PCRE
update.
glib/garray.c, glib/gbase64.c: fix signed/unsigned pointer casts
gio/xdgmime/xdgmimeglob.c: remove unused variable
gio/tests/live-g-file.c: fix printf args on x86_64
tests/Makefile.am, tests/regex-test.c: remove redundant -DENABLE_REGEX
Dan Winship [Fri, 1 May 2009 14:08:23 +0000 (10:08 -0400)]
Add README and INSTALL to .gitignore since they are autogenerated
Michael Meeks [Fri, 1 May 2009 14:23:23 +0000 (15:23 +0100)]
Patch originally committed only to the ChangeLog & tests ...
Bug 572508 – gmarkup speedup ...
* glib/gmarkup.c: Various optimizations: do less allocations by
keeping a pool of GStrings, do in-place unescaping, avoid redundant
utf-8 validation.
Alexander Larsson [Thu, 30 Apr 2009 08:46:37 +0000 (10:46 +0200)]
Ensure g_inet_address_get_type() call is not optimized away
Yet another place where the get_type call can be optimized away due
to the G_GNUC_CONST attribute. Use a volatile variable to ensure
its not.
David King [Wed, 29 Apr 2009 13:58:35 +0000 (15:58 +0200)]
Fix ginetaddress.c compile on Linux
The GType type definition belongs outside the G_OS_WIN32 typedef.
David Zeuthen [Wed, 29 Apr 2009 15:15:20 +0000 (11:15 -0400)]
Bug 580450 – Reference counting and boxed types for arrays
Add reference counting and boxed types for GArray, GByteArray and GPtrArray.
Signed-off-by: Matthias Clasen <mclasen@redhat.com>
Alexander Larsson [Wed, 29 Apr 2009 10:19:57 +0000 (12:19 +0200)]
Ensure we're actually initializing the winsock library
It turns out that just calling g_inet_address_get_type() isn't
enough, since its marked G_GNUC_CONST, so the call is optimized
away. If we assign the return value to a volatile location we ensure
it is called.
David Zeuthen [Sun, 26 Apr 2009 02:41:07 +0000 (22:41 -0400)]
Bug 580453 – Hash and equal functions for gint64 and gdouble
Jordi Mas i Hernandez [Sun, 26 Apr 2009 18:18:38 +0000 (20:18 +0200)]
Minor fixes to Catalan translation
paul [Sun, 26 Apr 2009 17:16:34 +0000 (13:16 -0400)]
Fix socket-related configure tests on old platforms
include <sys/types.h> in case <sys/socket.h> doesn't. #580299
Dan Winship [Sun, 26 Apr 2009 16:18:42 +0000 (12:18 -0400)]
Fix the networking stuff on (current) OS X
OS X's headers split up the current and old (BIND 4) nameserver stuff
slightly differently than Linux does, but explicitly including
arpa/nameser_compat.h does the right thing on both. Part of #580301
Dan Winship [Sun, 26 Apr 2009 13:59:28 +0000 (09:59 -0400)]
Fix ginetaddress.c compile on Solaris
In glibc, IN6_IS_ADDR_UNSPECIFIED() et al. cast their argument to a
uint32_t*, so it doesn't matter whether you pass them the in6_addr
itself (which is what you're supposed to do) or one of its union
members (which is what we were actually doing). Solaris's macro
accesses the in6_addr fields directly though, and so only works if you
pass the actual in6_addr. #580194.
Johan Bilien [Wed, 22 Apr 2009 18:09:34 +0000 (19:09 +0100)]
Fix translation from GIO's file attr to xattr attributes
Bug 579862 – requesting xattr::foo ends up calling getxattr(...,
user.:foo,...)
The patch makes sure we escape xattr::, not xattr:, before adding user.
and calling getxattr.
Christian Persch [Wed, 22 Apr 2009 13:12:37 +0000 (15:12 +0200)]
Use P_ for translatable param spec strings
Translatable param spec strings should be annotated with P_() instead of
plain _(). Bug #579830.
Dan Winship [Mon, 29 Dec 2008 18:38:28 +0000 (13:38 -0500)]
GResolver wrappers: GNetworkAddress, GNetworkService, GSocketConnectable
Higher-level wrappers around GResolver. GSocketConnectable provides an
interface for synchronously or asynchronously iterating multiple
socket addresses, with GNetworkAddress and GNetworkService providing
interfaces based on hostname and SRV record resolution.
Part of #548466.
Dan Winship [Mon, 29 Dec 2008 17:53:47 +0000 (12:53 -0500)]
Add GResolver, a glib-ish interface to DNS
GResolver provides asynchronous (and synchronous-but-cancellable) APIs
for resolving hostnames, reverse-resolving IP addresses back to
hostnames, and resolving SRV records. Part of #548466.
Dan Winship [Fri, 12 Dec 2008 18:13:55 +0000 (13:13 -0500)]
Add network address and socket types
Types and methods for dealing with IPv4 and IPv6 addresses (and UNIX
domain socket addresses under UNIX). This does not include code for
actual socket I/O.
Originally from "gnio". Much of the code was written by Christian
Kellner, Samuel Cormier-Iijima, and Ryan Lortie.
Part of #548466.
Dan Winship [Mon, 29 Dec 2008 14:00:17 +0000 (09:00 -0500)]
Add hostname-related utilities in glib/ghostutils.h
Functions for converting between UTF-8 IDNs (Internationalized Domain
Names) and their ASCII-Compatible Encodings, plus a function to recognize
IP addresses. Part of #548466.
Stefan Kost [Tue, 21 Apr 2009 20:21:28 +0000 (23:21 +0300)]
goption: format section docs according to gtk-doc rules and fixes broken xml
Stefan Kost [Tue, 14 Apr 2009 08:32:59 +0000 (11:32 +0300)]
goption: document that some option args need to be freed by the callee
Option arguments where the result is stored in a string or string array need to
be freed by the owner of the option group. Fixes #578363.
Stefan Kost [Tue, 14 Apr 2009 08:23:25 +0000 (11:23 +0300)]
goption: move docs from tmpl folder to inline comments
Alexander Larsson [Mon, 20 Apr 2009 11:14:32 +0000 (13:14 +0200)]
Use g_cancellable_connect/disconnect
Use the new cancellable helper functions to avoid races. (#572844)
Alexander Larsson [Mon, 20 Apr 2009 11:12:08 +0000 (13:12 +0200)]
Add helpers for connecting/disconnecting to cancelled signal
There are race conditions when connecting and disconnecting from the
"cancelled" signal on GCancellable which you need to do when
implementing cancellable operations. This adds helper functions that
avoid these races and mentions these races in the docs. (#572844)
zabeeh khan [Fri, 17 Apr 2009 05:57:38 +0000 (11:27 +0530)]
Pashto Translation committed as per the request made by Zabeeh Khan on the gnome-i18n list
Matthias Clasen [Sat, 11 Apr 2009 22:10:24 +0000 (18:10 -0400)]
Bump version
Matthias Clasen [Fri, 10 Apr 2009 01:34:49 +0000 (21:34 -0400)]
Add a note about handling non-hal backends
Matthias Clasen [Thu, 9 Apr 2009 22:47:28 +0000 (18:47 -0400)]
Release GLib 2.20.1
Matthias Clasen [Thu, 9 Apr 2009 21:43:59 +0000 (17:43 -0400)]
Update for 2.20.1
Matthias Clasen [Thu, 9 Apr 2009 18:56:49 +0000 (14:56 -0400)]
Fix G_DEFINE_TYPE_EXTENDED docs
Make the docs for G_DEFINE_TYPE_EXTENDED match the actual
definition of the macro. (#577985)
Gian Mario Tagliaretti [Thu, 9 Apr 2009 18:35:36 +0000 (14:35 -0400)]
Fix a typo in GFile docs
Fixed function name in GFile docs from g_set_display_name to
g_file_set_display_name so that gtk-doc can link correctly. (#578002)
Kenneth Nielsen [Thu, 9 Apr 2009 11:49:00 +0000 (13:49 +0200)]
Updated Danish translation\n\nUpdated Danish translation by Kenneth Nielsen.
Peter Kjellerstedt [Wed, 8 Apr 2009 14:26:11 +0000 (10:26 -0400)]
Fix parsing of timezones
Make g_time_val_from_iso8601 handle timezones with minutes correctly;
also accept comma as a fraction separator. (#578369)
Alexander Larsson [Wed, 8 Apr 2009 07:12:02 +0000 (09:12 +0200)]
Only mark regular files as backup files
Apps don't generally create backup directories, etc. So, if the file
ends with ~ but is not a regular file shouldn't be considered a backup
file. (#573673)
Funda Wang [Sun, 5 Apr 2009 03:05:47 +0000 (11:05 +0800)]
Updated Simplified Chinese translation from Ray Wang
<wanglei1123@gmail.com>
Thanos Lefteris [Fri, 3 Apr 2009 19:12:27 +0000 (20:12 +0100)]
Updated Greek translation
Signed-off-by: Simos Xenitellis <simos@gnome.org>
Matthias Clasen [Fri, 3 Apr 2009 04:35:43 +0000 (00:35 -0400)]
Move hex_digits to rodata
Turn a string into a constant array.
Matthias Clasen [Fri, 3 Apr 2009 04:23:54 +0000 (00:23 -0400)]
Don't lie about ext4 filesystems
When returning a filesystem type id, say "ext3/ext4" instead of "ext3",
since both use the same superblock magic, so we can't discriminate
them without more work.
Paolo Borelli [Fri, 3 Apr 2009 04:04:39 +0000 (00:04 -0400)]
Regex leak on error path
Don't leak the GRegex struct when g_regex_new() fails.
Matthias Clasen [Fri, 3 Apr 2009 03:57:59 +0000 (23:57 -0400)]
Update requirements
Mention that the mimetype-functionality of GIO reqires update-mime-database
and update-desktop-database at runtime. (#577128)
Matthias Clasen [Fri, 3 Apr 2009 03:42:29 +0000 (23:42 -0400)]
Add a rule to generate ChangeLog
We use the same rule pango uses to create a ChangeLog file with
the help of git-log. The format is somewhat different from traditional
ChangeLog, but it contains the relevant information.
Matthias Clasen [Fri, 3 Apr 2009 03:14:54 +0000 (23:14 -0400)]
Rename ChangeLog to ChangeLog.pre-2-20
Rename ChangeLog to prevent old habits from luring me into adding
entries there. Also, this makes room for autogenerating a ChangeLog
at make dist.
Matthias Clasen [Fri, 3 Apr 2009 03:13:35 +0000 (23:13 -0400)]
remove generated files
README and INSTALL are generated files, no need to keep them
under source control.
Alexander Larsson [Thu, 2 Apr 2009 17:01:56 +0000 (19:01 +0200)]
On trash, if rename fails with EXDEV, return G_IO_ERROR_NOT_SUPPORTED
Sometimes it seems like the trash dir and the file are on the same
filesystem but the rename fails with EXDEV anyway (can happen
e.g. with bind mounts or multiple mounts of the same device). In this
case we want to return the right error so that apps can fallback to
regular delete.
Tobias Mueller [Thu, 2 Apr 2009 01:51:00 +0000 (21:51 -0400)]
Mark glib_gettext as string translation function
Make glib_gettext with G_GNUC_FORMAT to avoid warnings with
-Wformat -Wformat-nonliteral.
Signed-off-by: Matthias Clasen <mclasen@redhat.com>
Hagen Schink [Thu, 2 Apr 2009 01:30:51 +0000 (21:30 -0400)]
fix a typo in g_io_channel_flush docs
Refer to the correct return values.
Signed-off-by: Matthias Clasen <mclasen@redhat.com>
Matthias Clasen [Tue, 31 Mar 2009 23:39:16 +0000 (19:39 -0400)]
Update README files to refer to git
Update various README files to refer to git instead of svn.
Add a README.commits that is pretty much a copy of the same file
in GTK+. Also discontinue ChangeLog files.
Manoj Kumar Giri [Mon, 30 Mar 2009 08:53:32 +0000 (08:53 +0000)]
Added entries for Oriya language Translation updation.
svn path=/trunk/; revision=8023
Manoj Kumar Giri [Mon, 30 Mar 2009 08:52:25 +0000 (08:52 +0000)]
Updated Oriya Translation.
svn path=/trunk/; revision=8022
Matthias Clasen [Sun, 29 Mar 2009 19:08:57 +0000 (19:08 +0000)]
Copy a va_list when using it multiple times. Reported by Wim Lewis.
* glib/gmessages.c (g_logv): Copy a va_list when using it
multiple times. Reported by Wim Lewis.
svn path=/trunk/; revision=8021
Carlos Garnacho [Thu, 26 Mar 2009 13:59:02 +0000 (13:59 +0000)]
Bug 575270 – GVolumeMonitor::mount-pre-unmount not being emitted
2009-03-26 Carlos Garnacho <carlosg@gnome.org>
Bug 575270 – GVolumeMonitor::mount-pre-unmount not being emitted
* gunixmount.c (eject_unmount_cb) (eject_unmount_do_cb)
(eject_unmount_do): Emit ::mount-pre-unmount and wait 500msec before
actually trying to unmount.
svn path=/trunk/; revision=8020
Gintautas Miliauskas [Thu, 26 Mar 2009 13:52:46 +0000 (13:52 +0000)]
Updated Lithuanian translation.
2009-03-26 Gintautas Miliauskas <gintautas@miliauskas.lt>
* lt.po: Updated Lithuanian translation.
svn path=/trunk/; revision=8019
Shankar Prasad [Thu, 26 Mar 2009 05:35:36 +0000 (05:35 +0000)]
updated kn.po
svn path=/trunk/; revision=8018
Shankar Prasad [Thu, 26 Mar 2009 05:31:33 +0000 (05:31 +0000)]
updated kn.po
svn path=/trunk/; revision=8017
Nickolay V. Shmyrev [Fri, 20 Mar 2009 22:29:22 +0000 (22:29 +0000)]
Updated Russian translation.
2009-03-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* ru.po: Updated Russian translation.
svn path=/trunk/; revision=8016
Kostas Papadimas [Wed, 18 Mar 2009 15:49:52 +0000 (15:49 +0000)]
Updated Greek Translation by Fotis Tsamis.
svn path=/trunk/; revision=8015
Djihed Afifi [Wed, 18 Mar 2009 09:20:03 +0000 (09:20 +0000)]
Updated Arabic translation
svn path=/trunk/; revision=8014
Amitakhya Phukan [Wed, 18 Mar 2009 06:31:05 +0000 (06:31 +0000)]
Updated assamese translations
svn path=/trunk/; revision=8013
Gabor Kelemen [Wed, 18 Mar 2009 00:05:58 +0000 (00:05 +0000)]
Translation updated.
2009-03-18 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated.
svn path=/trunk/; revision=8012
Ryan Lortie [Tue, 17 Mar 2009 23:03:33 +0000 (23:03 +0000)]
trivial spelling/whitespace fixes
svn path=/trunk/; revision=8011
Colin Walters [Tue, 17 Mar 2009 21:59:18 +0000 (21:59 +0000)]
Bug 575708 - runaway inotify madness ...
2009-03-17 Colin Walters <walters@redhat.com>
Bug 575708 - runaway inotify madness ...
* gfilemonitor.c: Queue up events in a local list and
fire one idle, instead of queuing lots of individual
idles which has bad performance behavior.
svn path=/trunk/; revision=8010
Tomasz Dominikowski [Tue, 17 Mar 2009 17:02:00 +0000 (17:02 +0000)]
Updated Polish translation
2009-03-17 Tomasz Dominikowski <tdominikowski@aviary.pl>
* pl.po: Updated Polish translation
svn path=/trunk/; revision=8009
Inaki Larranaga Murgoitio [Tue, 17 Mar 2009 16:49:22 +0000 (16:49 +0000)]
Updated Basque translation.
2009-03-17 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.
svn path=/trunk/; revision=8008
Ani Peter [Tue, 17 Mar 2009 15:41:14 +0000 (15:41 +0000)]
Updated Malayalam Translation
svn path=/trunk/; revision=8007
Ani Peter [Tue, 17 Mar 2009 15:41:04 +0000 (15:41 +0000)]
Updated Malayalam Translation
svn path=/trunk/; revision=8006
Ignacio Casal Quinteiro [Tue, 17 Mar 2009 14:12:26 +0000 (14:12 +0000)]
Updated Galician translation
svn path=/trunk/; revision=8005
Gil Forcada Codinachs [Tue, 17 Mar 2009 13:52:09 +0000 (13:52 +0000)]
Updated Catalan translation
svn path=/trunk/; revision=8004
Takeshi AIHANA [Tue, 17 Mar 2009 13:20:20 +0000 (13:20 +0000)]
Update Japanese translation.
2009-03-17 Takeshi AIHANA <takeshi.aihana@gmail.com>
* ja.po: Update Japanese translation.
svn path=/trunk/; revision=8003
Hendrik Richter [Tue, 17 Mar 2009 12:08:42 +0000 (12:08 +0000)]
Updated German translation.
2009-03-17 Hendrik Richter <hendrikr@gnome.org>
* de.po: Updated German translation.
svn path=/trunk/; revision=8002
Alexander Shopov [Tue, 17 Mar 2009 12:06:18 +0000 (12:06 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2009-03-17 Alexander Shopov <ash@contact.bg>
* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
svn path=/trunk/; revision=8001
Alexander Larsson [Tue, 17 Mar 2009 11:21:37 +0000 (11:21 +0000)]
fix attributes argument of query_info methods to be "const char *".
2009-03-17 Alexander Larsson <alexl@redhat.com>
* glocalfileinputstream.c:
* glocalfileoutputstream.c:
fix attributes argument of query_info methods to
be "const char *".
svn path=/trunk/; revision=8000
Claude Paroz [Tue, 17 Mar 2009 08:22:23 +0000 (08:22 +0000)]
Updated French translation.
2009-03-17 Claude Paroz <claude@2xlibre.net>
* fr.po: Updated French translation.
svn path=/trunk/; revision=7999
Kjartan Maraas [Tue, 17 Mar 2009 08:18:12 +0000 (08:18 +0000)]
Updated Norwegian bokmål translation.
2009-03-17 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=7998
Jorge Gonzalez Gonzalez [Mon, 16 Mar 2009 22:11:32 +0000 (22:11 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=7997
miloc [Mon, 16 Mar 2009 21:11:22 +0000 (21:11 +0000)]
Updated Italian translation
svn path=/trunk/; revision=7996
Og B. Maciel [Mon, 16 Mar 2009 20:53:27 +0000 (20:53 +0000)]
Updated Brazilian Portuguese translation.
svn path=/trunk/; revision=7995
Daniel Nylander [Mon, 16 Mar 2009 19:01:51 +0000 (19:01 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=7994
Matej Urbančič [Mon, 16 Mar 2009 18:35:43 +0000 (18:35 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=7993
Philip Withnall [Mon, 16 Mar 2009 18:21:34 +0000 (18:21 +0000)]
Updated British English translation.
2009-03-16 Philip Withnall <philip@tecnocode.co.uk>
* en_GB.po: Updated British English translation.
svn path=/trunk/; revision=7992