platform/upstream/glib.git
16 years agoBug 548689 – The type name for GParamSpec is wrong
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

16 years agoBug 500246 - Bug fixes for giowin32
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

16 years agoBug 324234 - Using g_io_add_watch_full() to wait for connect() to return
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

16 years agoUpdated Italian translation.
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

16 years agoupdated hebrew translation
Yair Hershkovitz [Mon, 18 Aug 2008 14:42:06 +0000 (14:42 +0000)]
updated hebrew translation

svn path=/trunk/; revision=7370

16 years agoBump version
Matthias Clasen [Mon, 18 Aug 2008 13:21:56 +0000 (13:21 +0000)]
Bump version

svn path=/trunk/; revision=7369

16 years ago2.17.7 GLIB_2_17_7
Matthias Clasen [Mon, 18 Aug 2008 13:17:39 +0000 (13:17 +0000)]
2.17.7

svn path=/trunk/; revision=7367

16 years agoUpdated Translation
Laurent Dhima [Mon, 18 Aug 2008 08:27:47 +0000 (08:27 +0000)]
Updated Translation

svn path=/trunk/; revision=7366

16 years agomention GWinHttpVfs.
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

16 years ago Bug 460920 – build fix for --disable-threads
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

16 years agoFix a typo
Matthias Clasen [Sat, 16 Aug 2008 04:16:48 +0000 (04:16 +0000)]
Fix a typo

svn path=/trunk/; revision=7363

16 years agoUpdates
Matthias Clasen [Sat, 16 Aug 2008 04:01:57 +0000 (04:01 +0000)]
Updates

svn path=/trunk/; revision=7362

16 years agoAdd an exception: g_mem_set_vtable() may be called before g_thread_init().
Tor Lillqvist [Fri, 15 Aug 2008 13:15:22 +0000 (13:15 +0000)]
Add an exception: g_mem_set_vtable() may be called before g_thread_init().

2008-08-15  Tor Lillqvist  <tml@novell.com>

* glib/tmpl/threads.sgml: Add an exception: g_mem_set_vtable() may
be called before g_thread_init().

svn path=/trunk/; revision=7361

16 years agoAdd missing file. Update.
Kjartan Maraas [Fri, 15 Aug 2008 11:16:55 +0000 (11:16 +0000)]
Add missing file. Update.

2008-08-15  Kjartan Maraas  <kmaraas@gnome.org>

* POTFILES.in: Add missing file.
* nb.po: Update.

svn path=/trunk/; revision=7360

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Fri, 15 Aug 2008 11:02:09 +0000 (11:02 +0000)]
Updated Norwegian bokmål translation.

2008-08-15  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=7359

16 years agochanged assertion messages, so older emacsen can also detect failing
12:41:26 Tim Janik [Fri, 15 Aug 2008 10:44:57 +0000 (10:44 +0000)]
changed assertion messages, so older emacsen can also detect failing

2008-08-15 12:41:26  Tim Janik  <timj@imendio.com>

* glib/gtestutils.c: changed assertion messages, so older emacsen
can also detect failing source file and line, fixes:
Bug 502498 – Test framework assertion failures should follow gcc error format

svn path=/trunk/; revision=7358

16 years agoAdd zfs to ignore_fs array in guess_system_internal: Fix for #542156.
Padraig O'Briain [Fri, 15 Aug 2008 08:27:55 +0000 (08:27 +0000)]
Add zfs to ignore_fs array in guess_system_internal: Fix for #542156.

2008-08-15  Padraig O'Briain  <padraig.obriain@sun.com>

* gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
Fix for #542156.

svn path=/trunk/; revision=7357

16 years agoAccept lesser mmaps
Matthias Clasen [Fri, 15 Aug 2008 03:41:14 +0000 (03:41 +0000)]
Accept lesser mmaps

svn path=/trunk/; revision=7356

16 years agoWarn about the consequences of not calling g_thread_init() first, if it
Tor Lillqvist [Thu, 14 Aug 2008 21:46:56 +0000 (21:46 +0000)]
Warn about the consequences of not calling g_thread_init() first, if it

2008-08-15  Tor Lillqvist  <tml@novell.com>

* glib/tmpl/threads.sgml: Warn about the consequences of not
calling g_thread_init() first, if it will be called at all. Advice
calling it if using random GLib-based libraries.

svn path=/trunk/; revision=7355

16 years agoUpdated Finnish translation
Ilkka Tuohela [Thu, 14 Aug 2008 12:41:10 +0000 (12:41 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=7354

16 years agoBug 547337 – G_DISABLE_DEPRECATED breaks tests build
Matthias Clasen [Thu, 14 Aug 2008 03:05:17 +0000 (03:05 +0000)]
Bug 547337 – G_DISABLE_DEPRECATED breaks tests build

2008-08-13  Matthias Clasen  <mclasen@redhat.com>

        Bug 547337 – G_DISABLE_DEPRECATED breaks tests build

        * tests/testglib.c: Protect deprecated API by ifdefs.
        Patch by Kalle Vahlman

svn path=/trunk/; revision=7353

16 years agoBug 547637 – unconditional #include of sys/statfs.h in configure impedes
Matthias Clasen [Thu, 14 Aug 2008 03:01:23 +0000 (03:01 +0000)]
Bug 547637 – unconditional #include of sys/statfs.h in configure impedes

2008-08-13  Matthias Clasen  <mclasen@redhat.com>

        Bug 547637 – unconditional #include of sys/statfs.h in configure
        impedes detection of statfs things if non-existant

        * configure.in: Protect the statfs.h include by guards.

svn path=/trunk/; revision=7352

16 years agoBrazilian Portuguese translation updated by Henrique P. Machado and
Leonardo Ferreira Fontenelle [Thu, 14 Aug 2008 02:24:26 +0000 (02:24 +0000)]
Brazilian Portuguese translation updated by Henrique P. Machado and

2008-08-13  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

* pt_BR.po: Brazilian Portuguese translation updated by Henrique P.
Machado and Leonardo F. Fontenelle.

svn path=/trunk/; revision=7351

16 years agowin32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c
Tor Lillqvist [Wed, 13 Aug 2008 19:39:49 +0000 (19:39 +0000)]
win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c

2008-08-13  Tor Lillqvist  <tml@novell.com>

* win32/gwinhttpvfs.c
* win32/gwinhttpvfs.h
* win32/gwinhttpfile.c
* win32/gwinhttpfileinputstream.c
* win32/gwinhttpfileoutputstream.c: Refactor some common code
snippets into helper functions. Check HTTP response status
codes. Implement g_winhttp_file_query_info(), looking at
Content-Length, Content-Type and Last-Modified.

* win32/winhttp.h: Add some symbolic constants that are not
publicly documented. Just a handful, so it should be OK to use
information from the Windows SDK's headers.

svn path=/trunk/; revision=7350

16 years agoUpdated Marathi Translations
Sandeep Shedmake [Wed, 13 Aug 2008 14:23:22 +0000 (14:23 +0000)]
Updated Marathi Translations

svn path=/trunk/; revision=7349

16 years agoAdded Marathi Translations
Sandeep Shedmake [Wed, 13 Aug 2008 14:22:40 +0000 (14:22 +0000)]
Added Marathi Translations

svn path=/trunk/; revision=7348

16 years agoBug 546582 - Callbacks from GFileMonitor present a GFile in the wrong
Tor Lillqvist [Wed, 13 Aug 2008 06:56:31 +0000 (06:56 +0000)]
Bug 546582 - Callbacks from GFileMonitor present a GFile in the wrong

2008-08-13  Tor Lillqvist  <tml@novell.com>

Bug 546582 - Callbacks from GFileMonitor present a GFile in the
wrong folder

* win32/gwin32directorymonitor.c
(g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.

svn path=/trunk/; revision=7347

16 years agoAdd docs
Matthias Clasen [Wed, 13 Aug 2008 05:35:10 +0000 (05:35 +0000)]
Add docs

svn path=/trunk/; revision=7346

16 years agoDon't write the Content-Length header ourselves, WinHttpSendRequest()
Tor Lillqvist [Tue, 12 Aug 2008 23:40:39 +0000 (23:40 +0000)]
Don't write the Content-Length header ourselves, WinHttpSendRequest()

2008-08-13  Tor Lillqvist  <tml@novell.com>

* win32/gwinhttpfileoutputstream.c
(g_winhttp_file_output_stream_write): Don't write the
Content-Length header ourselves, WinHttpSendRequest() takes care
of that when the dwTotalLength parameter is non-zero. Increment
offset by the number of actual bytes sent, although I wonder if
such a scenario is possible where less than requested would be
sent and accepted by the server without errors.

svn path=/trunk/; revision=7345

16 years agowin32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c
Tor Lillqvist [Tue, 12 Aug 2008 23:09:04 +0000 (23:09 +0000)]
win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c

2008-08-13  Tor Lillqvist  <tml@novell.com>

* win32/gwinhttpvfs.c
* win32/gwinhttpvfs.h
* win32/gwinhttpfile.c
* win32/gwinhttpfile.h
* win32/gwinhttpfileinputstream.c
* win32/gwinhttpfileinputstream.h
* win32/gwinhttpfileoutputstream.c
* win32/gwinhttpfileoutputstream.h: New files implementing
GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
Windows. The implementation uses the WinHttp API. Both reading and
writing are supported, i.e. GET and PUT requests. When writing,
each write call is done using a separate PUT request with a
Content-Range header. Requests for file URIs and plain pathnames
are forwarded to GLocalVfs.

* win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
WINE. Used as there is no <winhttp.h> bundled with mingw, and
requiring people to download the Windows SDK just for this one
header is not reasonable.

* win32/Makefile.am: Add above files.

* giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
the plumbing for the above.

svn path=/trunk/; revision=7344

16 years agoHint about having to include config.h
Federico Mena Quintero [Tue, 12 Aug 2008 19:01:46 +0000 (19:01 +0000)]
Hint about having to include config.h
2008-08-12  Federico Mena Quintero  <federico@novell.com>

* glib/gi18n-lib.h: In the #error about having to define
GETTEXT_PACKAGE, add a hint about a possibly-missing config.h.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=7343

16 years agoupdated hebrew translation
Yair Hershkovitz [Tue, 12 Aug 2008 12:54:05 +0000 (12:54 +0000)]
updated hebrew translation

svn path=/trunk/; revision=7342

16 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Tue, 12 Aug 2008 11:42:31 +0000 (11:42 +0000)]
Updated Thai translation.

2008-08-12  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

svn path=/trunk/; revision=7341

16 years agoUpdated Basque translation.
Inaki Larranaga Murgoitio [Tue, 12 Aug 2008 08:37:52 +0000 (08:37 +0000)]
Updated Basque translation.

2008-08-12  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

svn path=/trunk/; revision=7340

16 years agogfilenamecompleter.c glocaldirectorymonitor.c gmountoperation.c
Sven Neumann [Mon, 11 Aug 2008 19:45:08 +0000 (19:45 +0000)]
gfilenamecompleter.c glocaldirectorymonitor.c gmountoperation.c

2008-08-11  Sven Neumann  <sven@gimp.org>

* gfilenamecompleter.c
* glocaldirectorymonitor.c
* gmountoperation.c
* gunionvolumemonitor.c
* gunixmount.c
* gunixmounts.c
* gunixvolume.c
* gunixvolumemonitor.c
* gvolumemonitor.c
* gwin32mount.c
* gwin32volumemonitor.c: use canonical signal names.

svn path=/trunk/; revision=7339

16 years agoFix a reference
Matthias Clasen [Mon, 11 Aug 2008 19:31:54 +0000 (19:31 +0000)]
Fix a reference

svn path=/trunk/; revision=7338

16 years agoBug 547200 – g_utf8_find_next_char() issues
Behdad Esfahbod [Mon, 11 Aug 2008 19:03:04 +0000 (19:03 +0000)]
Bug 547200 – g_utf8_find_next_char() issues

2008-08-11  Behdad Esfahbod  <behdad@gnome.org>

        Bug 547200 – g_utf8_find_next_char() issues

        * glib/gutf8.c: Improve wording about @end arguments in str funcs.

svn path=/trunk/; revision=7337

16 years agoPut a list of the platform-dependent .la files in the subdirectories in
Tor Lillqvist [Mon, 11 Aug 2008 12:35:09 +0000 (12:35 +0000)]
Put a list of the platform-dependent .la files in the subdirectories in

2008-08-11  Tor Lillqvist  <tml@novell.com>

* Makefile.am: Put a list of the platform-dependent .la files in
the subdirectories in the platform_deps Make variable, and make
libgio-2.0.la depend on that, so that it gets relinked if one of
the dependent libraries has changed.

svn path=/trunk/; revision=7336

16 years agoRemove -lwininet which had been added by mistake. We will probably
Tor Lillqvist [Sun, 10 Aug 2008 22:01:36 +0000 (22:01 +0000)]
Remove -lwininet which had been added by mistake. We will probably

2008-08-11  Tor Lillqvist  <tml@novell.com>

* Makefile.am (platform_libadd): Remove -lwininet which had been
added by mistake. We will probably eventually be using WinHTTP,
not the older WinInet anyway. (Actually I am working on it.)

svn path=/trunk/; revision=7335

16 years agoFix docs to use "nul-terminated" consistently.
Behdad Esfahbod [Sun, 10 Aug 2008 20:24:32 +0000 (20:24 +0000)]
Fix docs to use "nul-terminated" consistently.

2008-08-10  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gutf8.c: Fix docs to use "nul-terminated" consistently.

svn path=/trunk/; revision=7334

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 10 Aug 2008 14:18:06 +0000 (14:18 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=7333

16 years agoUpdated Catalan translation
Gil Forcada Codinachs [Sun, 10 Aug 2008 11:18:19 +0000 (11:18 +0000)]
Updated Catalan translation

svn path=/trunk/; revision=7332

16 years agoBug 547080 – g_file_copy leaks expected errors
Felix Riemann [Sun, 10 Aug 2008 10:55:57 +0000 (10:55 +0000)]
Bug 547080 – g_file_copy leaks expected errors

2008-08-10  Felix Riemann  <friemann@svn.gnome.org>

Bug 547080 – g_file_copy leaks expected errors

* gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
before trying the next fallback routine.

svn path=/trunk/; revision=7331

16 years agoBug 535124 – umask 002 not being applied for new directories, new files
Loïc Minier [Sat, 9 Aug 2008 08:41:43 +0000 (08:41 +0000)]
Bug 535124 – umask 002 not being applied for new directories, new files

2008-08-09  Loïc Minier  <lool@dooz.org>

Bug 535124 – umask 002 not being applied for new directories, new
files get the correct umask

* gfile.c (g_file_make_directory)
(g_file_make_directory_with_parents): Document ownership and
permissions of newly created directories as being the default
ones of the process.

svn path=/trunk/; revision=7330

16 years agoUpdated Portuguese translation.
Duarte Loreto [Sat, 9 Aug 2008 08:21:39 +0000 (08:21 +0000)]
Updated Portuguese translation.

2008-08-09  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=7329

16 years agoFix 'fail' markup test cases to -not- be valid XML 1.1.
Ryan Lortie [Fri, 8 Aug 2008 18:35:19 +0000 (18:35 +0000)]
Fix 'fail' markup test cases to -not- be valid XML 1.1.

2008-08-08  Ryan Lortie  <desrt@desrt.ca>

        * tests/markups/fail-32.gmarkup: change &#x10; to &#x0; since the
        former is no longer a failure.

svn path=/trunk/; revision=7328

16 years agoBug 546876 -- also update documentation for escape_text
Ryan Lortie [Fri, 8 Aug 2008 16:53:26 +0000 (16:53 +0000)]
Bug 546876 -- also update documentation for escape_text

svn path=/trunk/; revision=7327

16 years agoBug 546876 - Modify GMarkup parser to accept &#x1; .. &#x1f;
Ryan Lortie [Fri, 8 Aug 2008 16:41:30 +0000 (16:41 +0000)]
Bug 546876 - Modify GMarkup parser to accept &#x1; .. &#x1f;

2008-08-08  Ryan Lortie  <desrt@desrt.ca>

        * glib/gmarkup.c: previously the parser only accepted character
        references for \t \n and \r (as per XML 1.0); now it accepts all
        of &#x1; .. &#x1f;.

svn path=/trunk/; revision=7326

16 years agoUpdated Galician translation
Ignacio Casal Quinteiro [Fri, 8 Aug 2008 13:05:03 +0000 (13:05 +0000)]
Updated Galician translation

svn path=/trunk/; revision=7325

16 years agoBug 535124 – umask 002 not being applied for new directories, new files
Loïc Minier [Fri, 8 Aug 2008 09:26:51 +0000 (09:26 +0000)]
Bug 535124 – umask 002 not being applied for new directories, new files

2008-08-08  Loïc Minier  <lool@dooz.org>

Bug 535124 – umask 002 not being applied for new directories, new
files get the correct umask

* glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
0755 as umask

svn path=/trunk/; revision=7323

16 years agoRemove unused code. Whitespace cleanup.
Tor Lillqvist [Fri, 8 Aug 2008 06:38:05 +0000 (06:38 +0000)]
Remove unused code. Whitespace cleanup.

2008-08-08  Tor Lillqvist  <tml@novell.com>

* gwin32mount.c: Remove unused code. Whitespace cleanup.

svn path=/trunk/; revision=7322

16 years agoPut questionable code that didn't actually do anything inside #if 0, and
Tor Lillqvist [Fri, 8 Aug 2008 05:36:56 +0000 (05:36 +0000)]
Put questionable code that didn't actually do anything inside #if 0, and

2008-08-08  Tor Lillqvist  <tml@novell.com>

* gwin32volumemonitor.c (get_connected_drives): Put questionable
code that didn't actually do anything inside #if 0, and add a
comment wondering what the code was supposed to do. This also gets
rid of a leftover debugging printout.

svn path=/trunk/; revision=7321

16 years agoImprove comment.
Tor Lillqvist [Fri, 8 Aug 2008 04:56:22 +0000 (04:56 +0000)]
Improve comment.

svn path=/trunk/; revision=7320

16 years agoImprove comment.
Tor Lillqvist [Fri, 8 Aug 2008 04:55:41 +0000 (04:55 +0000)]
Improve comment.

svn path=/trunk/; revision=7319

16 years agoNew functions. (g_file_icon_class_init): Hook them up. Install
Paul Pogonyshev [Thu, 7 Aug 2008 19:44:53 +0000 (19:44 +0000)]
New functions. (g_file_icon_class_init): Hook them up. Install

2008-08-07  Paul Pogonyshev  <pogonyshev@gmx.net>

* gfileicon.c (g_file_icon_get_property)
(g_file_icon_set_property): New functions.
(g_file_icon_class_init): Hook them up.  Install `GFileIcon:file'
property.
(g_file_icon_new): Use the property (bug #546132).

svn path=/trunk/; revision=7318

16 years agoOutput comment clarifying GPid semantics to glibconfig.h.
Tor Lillqvist [Thu, 7 Aug 2008 15:40:03 +0000 (15:40 +0000)]
Output comment clarifying GPid semantics to glibconfig.h.

2008-08-07  Tor Lillqvist  <tml@novell.com>

* configure.in: Output comment clarifying GPid semantics to
glibconfig.h.

* glibconfig.h.win32.in: Ditto here.

svn path=/trunk/; revision=7317

16 years agoAlso handle `PROP_USE_DEFAULT_FALLBACKS'. (g_themed_icon_class_init): Make
Paul Pogonyshev [Wed, 6 Aug 2008 19:43:31 +0000 (19:43 +0000)]
Also handle `PROP_USE_DEFAULT_FALLBACKS'. (g_themed_icon_class_init): Make

2008-08-06  Paul Pogonyshev  <pogonyshev@gmx.net>

* gthemedicon.c (g_themed_icon_get_property): Also handle
`PROP_USE_DEFAULT_FALLBACKS'.
(g_themed_icon_class_init): Make
`GThemedIcon:use-default-fallbacks' read-write (bug #546483).

svn path=/trunk/; revision=7316

16 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Wed, 6 Aug 2008 08:30:32 +0000 (08:30 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=7315

16 years agoBug 546371 – Improve docs re g_file_monitor
Behdad Esfahbod [Tue, 5 Aug 2008 17:51:13 +0000 (17:51 +0000)]
Bug 546371 – Improve docs re g_file_monitor

2008-08-05  Behdad Esfahbod  <behdad@gnome.org>

        Bug 546371 – Improve docs re g_file_monitor

        * gfilemonitor.c: Mention g_file_monitor() in the docs.

svn path=/trunk/; revision=7314

16 years agoUpdated Catalan translation
Gil Forcada Codinachs [Tue, 5 Aug 2008 13:33:52 +0000 (13:33 +0000)]
Updated Catalan translation

svn path=/trunk/; revision=7313

16 years agoupdated hebrew translation
Yair Hershkovitz [Tue, 5 Aug 2008 08:22:26 +0000 (08:22 +0000)]
updated hebrew translation

svn path=/trunk/; revision=7312

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Tue, 5 Aug 2008 07:55:40 +0000 (07:55 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=7311

16 years agoFix a doc issue
Matthias Clasen [Tue, 5 Aug 2008 01:23:16 +0000 (01:23 +0000)]
Fix a doc issue

svn path=/trunk/; revision=7310

16 years agoMake the union _GSystemThread::data array 8 bytes on Win64. Not that it
Tor Lillqvist [Mon, 4 Aug 2008 19:32:26 +0000 (19:32 +0000)]
Make the union _GSystemThread::data array 8 bytes on Win64. Not that it

2008-08-04  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Make the union _GSystemThread::data array
8 bytes on Win64. Not that it matters as the union contains a
pointer also anyway, but for equivalence with the configure-
generated glibconfig.h

svn path=/trunk/; revision=7309

16 years agoMSDN says: "Do not cast a pointer to a FILETIME structure to either a
Tor Lillqvist [Mon, 4 Aug 2008 19:22:05 +0000 (19:22 +0000)]
MSDN says: "Do not cast a pointer to a FILETIME structure to either a

2008-08-04  Tor Lillqvist  <tml@novell.com>

* glib/gmain.c (g_get_current_time): MSDN says: "Do not cast a
pointer to a FILETIME structure to either a LARGE_INTEGER* or
__int64* value because it can cause alignment faults on 64-bit
Windows." So don't do that then. Indeed the code did work randomly
on Win64 when compiled with optimisation.

svn path=/trunk/; revision=7308

16 years agoCosmetics.
Tor Lillqvist [Mon, 4 Aug 2008 18:48:01 +0000 (18:48 +0000)]
Cosmetics.

svn path=/trunk/; revision=7307

16 years agoglib/giowin32.c glib/gmain.c glib/gspawn-win32.c Change gssize casts
Tor Lillqvist [Mon, 4 Aug 2008 18:46:59 +0000 (18:46 +0000)]
glib/giowin32.c glib/gmain.c glib/gspawn-win32.c Change gssize casts

2008-08-04  Tor Lillqvist  <tml@novell.com>

* glib/giowin32.c
* glib/gmain.c
* glib/gspawn-win32.c
* glib/gspawn-win32-helper.c: Change gssize casts introduced on
2008-07-28 to gintptr casts now that we have that. gssize is as
such the same as gintptr on both 32- and 64-bit Windows, but the
gintptr name indicates that it is used to hold pointers, i.e. also
HANDLEs.

svn path=/trunk/; revision=7306

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Mon, 4 Aug 2008 18:26:03 +0000 (18:26 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=7305

16 years agoAvoid warning on Win64 by using gintptr cast instead if long cast.
Tor Lillqvist [Mon, 4 Aug 2008 18:12:11 +0000 (18:12 +0000)]
Avoid warning on Win64 by using gintptr cast instead if long cast.

2008-08-04  Tor Lillqvist  <tml@novell.com>

* tests/testglib.c: Avoid warning on Win64 by using gintptr cast
instead if long cast.

svn path=/trunk/; revision=7304

16 years agoBump version
Matthias Clasen [Mon, 4 Aug 2008 18:00:48 +0000 (18:00 +0000)]
Bump version

svn path=/trunk/; revision=7303

16 years ago2.13.6 GLIB_2_17_6
Matthias Clasen [Mon, 4 Aug 2008 17:58:13 +0000 (17:58 +0000)]
2.13.6

svn path=/trunk/; revision=7301

16 years agoForgotten commit
Matthias Clasen [Mon, 4 Aug 2008 17:19:30 +0000 (17:19 +0000)]
Forgotten commit

svn path=/trunk/; revision=7300

16 years agoBump version
Matthias Clasen [Mon, 4 Aug 2008 17:02:59 +0000 (17:02 +0000)]
Bump version

svn path=/trunk/; revision=7299

16 years ago2.17.5 GLIB_2_17_5
Matthias Clasen [Mon, 4 Aug 2008 17:01:23 +0000 (17:01 +0000)]
2.17.5

svn path=/trunk/; revision=7297

16 years agoAdd a 2.18 index
Matthias Clasen [Mon, 4 Aug 2008 16:38:36 +0000 (16:38 +0000)]
Add a 2.18 index

svn path=/trunk/; revision=7296

16 years agoUpdates
Matthias Clasen [Mon, 4 Aug 2008 16:03:41 +0000 (16:03 +0000)]
Updates

svn path=/trunk/; revision=7295

16 years agoBug 546017 – Don't copy attributes when copying a symlink
Matthias Clasen [Mon, 4 Aug 2008 15:58:25 +0000 (15:58 +0000)]
Bug 546017 – Don't copy attributes when copying a symlink

2008-08-04  Matthias Clasen  <mclasen@redhat.com>

        Bug 546017 – Don't copy attributes when copying a symlink

        * gfile.c (g_file_copy_attributes): Specify
        G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
        g_file_set_attributes_from_info. Patch by Christian Kellner

svn path=/trunk/; revision=7294

16 years agoUpdated Korean translation
Changwoo Ryu [Mon, 4 Aug 2008 13:24:30 +0000 (13:24 +0000)]
Updated Korean translation

svn path=/trunk/; revision=7293

16 years agoBug 546079 – leak in xdgmime
Carlos Garcia Campos [Sun, 3 Aug 2008 18:49:12 +0000 (18:49 +0000)]
Bug 546079 – leak in xdgmime

2008-08-03  Carlos Garcia Campos  <carlosgc@gnome.org>

Bug 546079 – leak in xdgmime

* xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.

svn path=/trunk/; revision=7292

16 years agowin32/gwin32directorymonitor.h Whitespace cleanup to match GLib style.
Tor Lillqvist [Sun, 3 Aug 2008 00:17:39 +0000 (00:17 +0000)]
win32/gwin32directorymonitor.h Whitespace cleanup to match GLib style.

2008-08-03  Tor Lillqvist  <tml@novell.com>

* win32/gwin32directorymonitor.h
* win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
style.

svn path=/trunk/; revision=7291

16 years agoMake prototype match LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning.
Tor Lillqvist [Sun, 3 Aug 2008 00:06:39 +0000 (00:06 +0000)]
Make prototype match LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning.

2008-08-03  Tor Lillqvist  <tml@novell.com>

* win32/gwin32directorymonitor.c
(g_win32_directory_monitor_callback): Make prototype match
LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
pointer.

(g_win32_directory_monitor_constructor):
GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
names in the GLib API on Windows, so convert to UTF-16 and open
with CreateFileW().

svn path=/trunk/; revision=7290

16 years agoBug 541036 - Gnumeric crashes when trying to open Desktop or user's folder
Tor Lillqvist [Sat, 2 Aug 2008 23:51:51 +0000 (23:51 +0000)]
Bug 541036 - Gnumeric crashes when trying to open Desktop or user's folder

2008-08-03  Tor Lillqvist  <tml@novell.com>

Bug 541036 - Gnumeric crashes when trying to open Desktop or
user's folder under Windows

* win32/gwin32directorymonitor.c
(g_win32_directory_monitor_constructor): Ignore error from
CreateFile() when opening directory. Instead of asserting, just
store INVALID_HANDLE_VALUE then in
GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
ReadDirectoryChangesW().
(g_win32_directory_monitor_cancel): Don't attempt to close
directory handle if it is INVALID_HANDLE_VALUE.

svn path=/trunk/; revision=7289

16 years agoAdd 64-bit versions of GPOINTER_TO_INT(), GPOINTER_TO_UINT() and vice
Tor Lillqvist [Sat, 2 Aug 2008 11:21:14 +0000 (11:21 +0000)]
Add 64-bit versions of GPOINTER_TO_INT(), GPOINTER_TO_UINT() and vice

2008-08-02  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Add 64-bit versions of
GPOINTER_TO_INT(), GPOINTER_TO_UINT() and vice versa, too.

svn path=/trunk/; revision=7288

16 years agoAdd gintptr and guintptr typedefs here, too, appropriately ifdeffed for
Tor Lillqvist [Sat, 2 Aug 2008 08:51:27 +0000 (08:51 +0000)]
Add gintptr and guintptr typedefs here, too, appropriately ifdeffed for

2008-08-02  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Add gintptr and guintptr typedefs here,
too, appropriately ifdeffed for 32/64 bit, gcc/MSVC.

svn path=/trunk/; revision=7287

16 years agoBug 545954 - 64-bit issue in dirent
Tor Lillqvist [Sat, 2 Aug 2008 08:43:30 +0000 (08:43 +0000)]
Bug 545954 - 64-bit issue in dirent

2008-08-02  Tor Lillqvist  <tml@novell.com>

Bug 545954 - 64-bit issue in dirent

* win32/dirent/dirent.h: Use __int64 for the dd_handle on 64-bit
Windows. (Would use intptr_t, but that is not available before
MSVS8, and we want to keep this compilable also with MSVS6 and 7,
I think.) Thanks to Richard Hult.

svn path=/trunk/; revision=7286

16 years agoUpdates
Matthias Clasen [Fri, 1 Aug 2008 22:16:03 +0000 (22:16 +0000)]
Updates

svn path=/trunk/; revision=7285

16 years agoTypo fix
Matthias Clasen [Fri, 1 Aug 2008 22:08:40 +0000 (22:08 +0000)]
Typo fix

svn path=/trunk/; revision=7284

16 years agoAdditions
Matthias Clasen [Fri, 1 Aug 2008 21:28:54 +0000 (21:28 +0000)]
Additions

svn path=/trunk/; revision=7283

16 years agoRemove debug spew
Matthias Clasen [Fri, 1 Aug 2008 21:18:02 +0000 (21:18 +0000)]
Remove debug spew

svn path=/trunk/; revision=7282

16 years agoAdd bug ref
Matthias Clasen [Fri, 1 Aug 2008 18:36:31 +0000 (18:36 +0000)]
Add bug ref

svn path=/trunk/; revision=7281

16 years agoClarify some docs
Matthias Clasen [Fri, 1 Aug 2008 18:36:01 +0000 (18:36 +0000)]
Clarify some docs

svn path=/trunk/; revision=7280

16 years agoAdd a since
Matthias Clasen [Fri, 1 Aug 2008 18:30:37 +0000 (18:30 +0000)]
Add a since

svn path=/trunk/; revision=7279

16 years agoFix a typo
Matthias Clasen [Fri, 1 Aug 2008 18:26:30 +0000 (18:26 +0000)]
Fix a typo

svn path=/trunk/; revision=7278

16 years agoadapt to gmodule.symbols usage
Hans Breuer [Fri, 1 Aug 2008 14:17:43 +0000 (14:17 +0000)]
adapt to gmodule.symbols usage

2008-08-01  Hans Breuer  <hans@breuer.org>

* makefile.msc.in : adapt to gmodule.symbols usage

svn path=/trunk/; revision=7277

16 years agoadd gemblembedicon
Hans Breuer [Fri, 1 Aug 2008 14:15:02 +0000 (14:15 +0000)]
add gemblembedicon

2008-08-01  Hans Breuer  <hans@breuer.org>

* makefile.msc : add gemblembedicon

svn path=/trunk/; revision=7276

16 years agoUpdated Portuguese translation.
Duarte Loreto [Thu, 31 Jul 2008 10:27:05 +0000 (10:27 +0000)]
Updated Portuguese translation.

2008-07-31  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=7275

16 years agoBug 545457 – gdmsetup crashed with SIGSEGV in
Matthias Clasen [Wed, 30 Jul 2008 16:45:46 +0000 (16:45 +0000)]
Bug 545457 – gdmsetup crashed with SIGSEGV in

2008-07-30  Matthias Clasen  <mclasen@redhat.com>

        Bug 545457 – gdmsetup crashed with SIGSEGV in
        g_unix_mount_guess_should_display()

        * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
        crash if no mount is found.

svn path=/trunk/; revision=7274

16 years agoBug 545485 - Implicit declaration of utime()
Tor Lillqvist [Wed, 30 Jul 2008 15:35:01 +0000 (15:35 +0000)]
Bug 545485 - Implicit declaration of utime()

2008-07-30  Tor Lillqvist  <tml@novell.com>

Bug 545485 - Implicit declaration of utime()

* glib/gstdio.c: Include <utime.h> on POSIX.

svn path=/trunk/; revision=7273

16 years agoOutput to glibconfig.h typedefs for gintptr as the signed integer type
Tor Lillqvist [Wed, 30 Jul 2008 15:30:26 +0000 (15:30 +0000)]
Output to glibconfig.h typedefs for gintptr as the signed integer type

2008-07-28  Tor Lillqvist  <tml@novell.com>

* configure.in: Output to glibconfig.h typedefs for gintptr as the
signed integer type that can hold a pointer, and guintptr as the
corresponding unsigned type. These types are portable equivalents
to intptr_t and uintptr_t which are not available in all
compilers.

For all current platforms, they will presumably end up as the same
types as gssize and gsize, but in theory size_t can be smaller
than intptr_t. Also, the intended use case for gintptr and
guintptr is different from that of gssize and gsize. As the name
indicates, gintptr is for when one wants an integer type that can
hold a pointer, and gsize is for when one wants an integer type
that can hold the value of the sizeof operator.

svn path=/trunk/; revision=7272

16 years agoUpdated Galician Translation.
Ignacio Casal Quinteiro [Tue, 29 Jul 2008 14:08:40 +0000 (14:08 +0000)]
Updated Galician Translation.

svn path=/trunk/; revision=7271