If possible, always pass FUSE file:// URIs (such as
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-10-01  David Zeuthen  <davidz@redhat.com>
2
3         * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
4         file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
5         instead of the gio URI (such as sftp://foo/file.avi) when using
6         g_app_info_launch() and friends. With a sufficiently recent gvfs,
7         apps using gio+gvfs will map the FUSE file:// URI back to the gio
8         URI (and thus bypass the fuse daemon) thanks the patch from bug
9         #530654.  Since Nautilus is an user of g_app_info_launch() it
10         means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
11         when launced via the file manager. Win. Fixes bug #528670.
12
13         * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
14         mapping to the description of GAppInfo.
15
16 2008-09-30  Tor Lillqvist  <tml@novell.com>
17
18         * tests/Makefile.am: Build desktop-app-info only on Unix.
19
20         * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
21         g_critical(). Pass a large enough result buffer to
22         GetVolumePathNameW(). Just use MAX_PATH.
23
24 2008-09-29  David Zeuthen  <davidz@redhat.com>
25
26         * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
27
28 2008-09-26  Dan Winship  <danw@gnome.org>
29
30         * tests/data-input-stream.c:
31         * tests/data-output-stream.c:
32         * tests/live-g-file.c:
33         * tests/memory-input-stream.c:
34         * tests/memory-output-stream.c: Use g_assert_error() and
35         g_assert_no_error()
36
37 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
38         
39         Bug 545350 – GAppInfo deletion
40         Bug 545351 – Reset associations for content type
41
42         * gio.symbols:
43         * gappinfo.[hc]: New functions g_app_info_can_delete,
44         g_app_info_delete and g_app_info_reset_type_associations.
45
46         * gdesktopappinfo.c:
47         * gwin32appinfo.c: Implementations of these.
48
49         * tests/Makefile.am:
50         * tests/desktop-app-info.c: Tests for GAppInfo functionality.
51
52 2008-09-26  Dan Winship  <danw@gnome.org>
53
54         Bug 505361 – gunixinputstream.c assumes poll() available
55         Bug 509446 – portable blocking gio cancellation
56
57         * gcancellable.c (g_cancellable_make_pollfd): New method to make a
58         GPollFD for a cancellable (which is slightly more complicated on
59         Windows than Unix).
60
61         * gunixinputstream.c (g_unix_input_stream_read):
62         * gunixoutputstream.c (g_unix_output_stream_write): Use
63         g_cancellable_make_pollfd() and g_poll() rather than using poll()
64         directly.
65
66         * tests/unix-streams.c: test of GUnixInputStream,
67         GUnixOutputStream, and GCancellable.
68
69 2008-09-26  Dan Winship  <danw@gnome.org>
70
71         * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
72         cast to stop a gcc warning
73
74         * gfile.c (g_file_copy_attributes): add parens to stop a gcc
75         warning
76
77 2008-09-25  Dan Winship  <danw@gnome.org>
78
79         Bug 553426 - cancellable clarifications
80
81         * gcancellable.c (g_cancellable_class_init): Add a note to the
82         "cancelled" signal docs warning about thread-safety issues
83         (g_cancellable_cancel): Note that cancelling an asynchronous
84         operation takes effect asynchronously, not immediately.
85
86 2008-09-22  Nelson Benítez León  <nbenitez@svn.gnome.org>
87
88         * gioenums.h: Add new GFileCopyFlag, to leave target file with
89         default perms, instead of setting the source file perms, in a copy
90         operation.
91
92         * gfile.c (g_file_copy_attributes) 
93         (build_attribute_list_for_copy)
94         (should_copy): Not copy "unix::mode" attribute if we have received
95         G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
96
97 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
98
99         * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
100
101 2008-09-17  Matthias Clasen  <mclasen@redhat.com>
102
103         * === Released 2.18.1 ===
104
105 2008-09-16  Michael Natterer  <mitch@imendio.com>
106
107         * gcontenttype.c (g_content_type_guess): can't assign the return
108         value of g_strdupv() to an array. Fill the array manually with
109         const strings instead (it is never freed anyway). Fixes the
110         build. Also fixed indentation.
111
112 2008-09-16  Wouter Bolsterlee  <wbolster@svn.gnome.org>
113
114         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
115         Fix trivial typo to unbreak the build (there was a colon
116         instead of a semicolon at the end of a statement).
117
118 2008-09-15  Matthias Clasen  <mclasen@redhat.com>
119
120         Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop 
121         file is empty
122
123         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
124         an empty Path value.  
125
126 2008-09-15  Matthias Clasen  <mclasen@redhat.com>
127
128         Bug 551681 – g_content_type_guess() too naive with filenames
129
130         * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
131         at the end of the filename, and declare it a directory.
132         Patch by Bastien Nocera
133
134 2008-09-14  Cosimo Cecchi  <cosimoc@gnome.org>
135
136         Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
137         aren't clear.
138
139         * gdesktopappinfo.c: add a note in the docs clarifying what the
140         "filename" parameter really is.
141
142 2008-09-12  Tor Lillqvist  <tml@novell.com>
143
144         * gwin32appinfo.c (g_win32_app_info_launch): Don't call
145         FormatMessage() etc here. Call g_win32_error_message() instead
146         which already does all that. Besides, the code was broken as it
147         called the default "A" version of FormatMessage() but still
148         thought it produced a wide string.
149
150 2008-09-12  Michael Natterer  <mitch@imendio.com>
151
152         * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
153         in the documentation.
154
155 2008-09-08  Christian Neumair  <cneumair@gnome.org>
156
157         * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
158         * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
159         Use non-blocking pipe for mount helper I/O. Fixes #550647.
160
161 2008-09-06  Matthias Clasen  <mclasen@redhat.com>
162
163         Bug 551149 – xdgmime mem leak
164
165         * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
166         a memory leak. Patch by Christian Persch
167
168 2008-09-04  Tor Lillqvist  <tml@novell.com>
169
170         * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
171         NULL.
172
173 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
174
175         * === Released 2.18.0 ===
176
177 2008-09-02  Michael Natterer  <mitch@imendio.com>
178
179         * *.h: big header formatting cleanup: indentation, vtable
180         formatting, consistent spacing in (* vfunc), trailing whitespace
181         removal. Formatting should be pretty consistent in all GIO headers
182         now.
183
184 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
185
186         * gmount.h: Document guess_content_type sync vfunc.
187
188 2008-09-02  Michael Natterer  <mitch@imendio.com>
189
190         * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
191         fix parent_class member to be GFilterOutputStreamClass (not
192         GOutputStreamClass). Drop three pointers of padding, which is
193         exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
194         so the class struct size stays the same.
195
196 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
197
198         Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
199
200         * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
201         nonexisting return values. Pointed out by Cosimo Cecchi.
202
203 2008-08-23  Tor Lillqvist  <tml@novell.com>
204
205         Bug 548988 - g_file_replace fails on Windows when the target file
206         exists already
207
208         * glocalfileoutputstream.c (g_local_file_output_stream_close): On
209         Windows, close the file before potentially renaming it (in case we
210         have been writing to a file with a temporary name).
211
212         (g_local_file_output_stream_close, handle_overwrite_open): Use
213         GLocalFileStat instead of plain struct stat, for passing to
214         _g_local_file_info_create_etag(). Thus also use _fstati64()
215         instead of plain fstat() on Windows.
216
217 2008-08-18  Matthias Clasen  <mclasen@redhat.com>
218
219         * === Released 2.17.7 ===
220
221 2008-08-15  Padraig O'Briain  <padraig.obriain@sun.com>
222
223         * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
224         Fix for #542156.
225
226 2008-08-13  Tor Lillqvist  <tml@novell.com>
227
228         * win32/gwinhttpvfs.c
229         * win32/gwinhttpvfs.h
230         * win32/gwinhttpfile.c
231         * win32/gwinhttpfileinputstream.c
232         * win32/gwinhttpfileoutputstream.c: Refactor some common code
233         snippets into helper functions. Check HTTP response status
234         codes. Implement g_winhttp_file_query_info(), looking at
235         Content-Length, Content-Type and Last-Modified.
236
237         * win32/winhttp.h: Add some symbolic constants that are not
238         publicly documented. Just a handful, so it should be OK to use
239         information from the Windows SDK's headers.
240
241 2008-08-13  Tor Lillqvist  <tml@novell.com>
242
243         Bug 546582 - Callbacks from GFileMonitor present a GFile in the
244         wrong folder
245
246         * win32/gwin32directorymonitor.c
247         (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
248
249 2008-08-13  Matthias Clasen  <mclasen@redhat.com>
250
251         * ginputstream.c:
252         * goutputstream.c: Add intro docs.
253
254 2008-08-13  Tor Lillqvist  <tml@novell.com>
255
256         * win32/gwinhttpfileoutputstream.c
257         (g_winhttp_file_output_stream_write): Don't write the
258         Content-Length header ourselves, WinHttpSendRequest() takes care
259         of that when the dwTotalLength parameter is non-zero. Increment
260         offset by the number of actual bytes sent, although I wonder if
261         such a scenario is possible where less than requested would be
262         sent and accepted by the server without errors.
263
264 2008-08-13  Tor Lillqvist  <tml@novell.com>
265
266         * win32/gwinhttpvfs.c
267         * win32/gwinhttpvfs.h
268         * win32/gwinhttpfile.c
269         * win32/gwinhttpfile.h
270         * win32/gwinhttpfileinputstream.c
271         * win32/gwinhttpfileinputstream.h
272         * win32/gwinhttpfileoutputstream.c
273         * win32/gwinhttpfileoutputstream.h: New files implementing
274         GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
275         Windows. The implementation uses the WinHttp API. Both reading and
276         writing are supported, i.e. GET and PUT requests. When writing,
277         each write call is done using a separate PUT request with a
278         Content-Range header. Requests for file URIs and plain pathnames
279         are forwarded to GLocalVfs.
280
281         * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
282         WINE. Used as there is no <winhttp.h> bundled with mingw, and
283         requiring people to download the Windows SDK just for this one
284         header is not reasonable.
285
286         * win32/Makefile.am: Add above files.
287
288         * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
289         the plumbing for the above.
290
291 2008-08-11  Sven Neumann  <sven@gimp.org>
292
293         * gfilenamecompleter.c
294         * glocaldirectorymonitor.c
295         * gmountoperation.c
296         * gunionvolumemonitor.c
297         * gunixmount.c
298         * gunixmounts.c
299         * gunixvolume.c
300         * gunixvolumemonitor.c
301         * gvolumemonitor.c
302         * gwin32mount.c
303         * gwin32volumemonitor.c: use canonical signal names.
304
305 2008-08-11  Tor Lillqvist  <tml@novell.com>
306
307         * Makefile.am: Put a list of the platform-dependent .la files in
308         the subdirectories in the platform_deps Make variable, and make
309         libgio-2.0.la depend on that, so that it gets relinked if one of
310         the dependent libraries has changed.
311
312 2008-08-11  Tor Lillqvist  <tml@novell.com>
313
314         * Makefile.am (platform_libadd): Remove -lwininet which had been
315         added by mistake. We will probably eventually be using WinHTTP,
316         not the older WinInet anyway. (Actually I am working on it.)
317
318 2008-08-10  Felix Riemann  <friemann@svn.gnome.org>
319
320         Bug 547080 – g_file_copy leaks expected errors
321
322         * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
323         before trying the next fallback routine.
324
325 2008-08-09  Loïc Minier  <lool@dooz.org>
326
327         Bug 535124 – umask 002 not being applied for new directories, new
328         files get the correct umask
329
330         * gfile.c (g_file_make_directory)
331         (g_file_make_directory_with_parents): Document ownership and
332         permissions of newly created directories as being the default
333         ones of the process.
334
335 2008-08-08  Loïc Minier  <lool@dooz.org>
336
337         Bug 535124 – umask 002 not being applied for new directories, new
338         files get the correct umask
339
340         * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
341         0755 as umask
342
343 2008-08-08  Tor Lillqvist  <tml@novell.com>
344
345         * gwin32mount.c: Remove unused code. Whitespace cleanup.
346
347         * gwin32volumemonitor.c (get_connected_drives): Put questionable
348         code that didn't actually do anything inside #if 0, and add a
349         comment wondering what the code was supposed to do. This also gets
350         rid of a leftover debugging printout.
351
352 2008-08-07  Paul Pogonyshev  <pogonyshev@gmx.net>
353
354         * gfileicon.c (g_file_icon_get_property)
355         (g_file_icon_set_property): New functions.
356         (g_file_icon_class_init): Hook them up.  Install `GFileIcon:file'
357         property.
358         (g_file_icon_new): Use the property (bug #546132).
359
360 2008-08-06  Paul Pogonyshev  <pogonyshev@gmx.net>
361
362         * gthemedicon.c (g_themed_icon_get_property): Also handle
363         `PROP_USE_DEFAULT_FALLBACKS'.
364         (g_themed_icon_class_init): Make
365         `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
366
367 2008-08-05  Behdad Esfahbod  <behdad@gnome.org>
368
369         Bug 546371 – Improve docs re g_file_monitor
370
371         * gfilemonitor.c: Mention g_file_monitor() in the docs.
372
373 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
374
375         * === Released 2.17.6 ===
376
377 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
378
379         * === Released 2.17.5 ===
380
381 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
382
383         Bug 546017 – Don't copy attributes when copying a symlink
384
385         * gfile.c (g_file_copy_attributes): Specify
386         G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to 
387         g_file_set_attributes_from_info. Patch by Christian Kellner
388
389 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
390
391         * gemblemedicon.[hc]: 
392         * gio.symbols:
393         * gemblem.[hc]: Add GEmblem to make the emblem mechanism
394         a bit more extensible. Work by Clemens Buss.
395
396         * gioenums.h: Add GEmblemOrigin.
397         * Makefile.am: Glue
398
399 2008-08-03  Carlos Garcia Campos  <carlosgc@gnome.org>
400
401         Bug 546079 – leak in xdgmime
402         
403         * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
404         
405 2008-08-03  Tor Lillqvist  <tml@novell.com>
406
407         * win32/gwin32directorymonitor.h
408         * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
409         style.
410
411 2008-08-03  Tor Lillqvist  <tml@novell.com>
412
413         * win32/gwin32directorymonitor.c
414         (g_win32_directory_monitor_callback): Make prototype match
415         LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
416         LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
417         pointer.
418
419         (g_win32_directory_monitor_constructor):
420         GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
421         names in the GLib API on Windows, so convert to UTF-16 and open
422         with CreateFileW().
423
424 2008-08-03  Tor Lillqvist  <tml@novell.com>
425
426         Bug 541036 - Gnumeric crashes when trying to open Desktop or
427         user's folder under Windows
428
429         * win32/gwin32directorymonitor.c
430         (g_win32_directory_monitor_constructor): Ignore error from
431         CreateFile() when opening directory. Instead of asserting, just
432         store INVALID_HANDLE_VALUE then in
433         GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
434         ReadDirectoryChangesW().
435         (g_win32_directory_monitor_cancel): Don't attempt to close
436         directory handle if it is INVALID_HANDLE_VALUE.
437
438 2008-08-01  Matthias Clasen  <mclasen@redhat.com>
439
440         * gdesktopappinfo.c: Remove debug spew
441
442 2008-08-01  Hans Breuer  <hans@breuer.org>
443
444         * makefile.msc : add gemblembedicon
445
446 2008-07-30  Matthias Clasen  <mclasen@redhat.com>
447
448         Bug 545457 – gdmsetup crashed with SIGSEGV in
449         g_unix_mount_guess_should_display()
450
451         * gunixvolumemonitor.c (get_mount_for_mount_path): Don't 
452         crash if no mount is found.
453
454 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
455
456         Bug 545203 – gfile.c: argument is different type.
457
458         * gfile.c (open_read_async_thread): Pass a GError **
459         to g_file_set_error_literal.
460         Reported by Kazuki Iwamoto
461
462 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
463
464         Bug 545157 – wrong/no list of "open with" applications for .cc and
465         .cpp files
466
467         * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
468         Collect all ancestors, not just direct parents. Pointed
469         out by Bastien Nocera
470
471 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
472
473         * Makefile.am: Install gemblemedicon.h
474
475 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
476
477         * gemblemedicon.[hc]: Add a GIcon implementation that can
478         add an emblem to another icon.
479
480         * gio.h:
481         * Makefile.am:
482         * gio.symbols: Glue
483
484         * gloadableicon.c:
485         * gfileicon.c: Small documentation additions.
486
487 2008-07-28  Tor Lillqvist  <tml@novell.com>
488
489         * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
490         type.
491
492 2008-07-27  Tor Lillqvist  <tml@novell.com>
493
494         * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
495
496 2008-07-24  David Zeuthen  <davidz@redhat.com>
497
498         * gmount.[ch]:
499         * gio.symbols:
500         Also export a g_mount_guess_content_type_sync() function.
501
502 2008-07-23  Matthias Clasen  <mclasen@redhat.com>
503
504         529694 – SELinux context setting support
505
506         * gfileinfo.c: Support setting selinux attributes.
507         Patch by Tomas Bzatek
508
509 2008-07-22  Priit Laes <plaes@plaes.org>
510
511         Bug 544140 - fam-helper 64-bit issue?
512
513         * fam/fam-helper.c: Added missing include so compiler doesn't complain.
514
515 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
516
517         * === Released 2.17.4 ===
518
519 2008-07-20  Matthias Clasen  <mclasen@redhat.com>
520
521         * gvolumemonitor.[hc]:
522         * gmountoperation.c:
523         * gioenums.h:
524         * gdrive.c:
525         * gvfs.c:
526         * gmount.c: Documentation fixes
527
528 2008-07-19  Matthias Clasen  <mclasen@redhat.com>
529
530         543504 – crash in Epiphany Web Browser: Opening local file
531
532         * gappinfo.c:
533         * gasyncresult.c:
534         * gdesktopappinfo.c:
535         * gdrive.c:
536         * gfile.c:
537         * gicon.c:
538         * gloadableicon.c:
539         * gmount.c:
540         * gseekable.c:
541         * gvolume.c: Register types thread-safely.
542         Patch by Christian Persch
543
544 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
545
546         * gcontenttype.c: Remove debug spew
547
548 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
549
550         Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
551         any applications
552
553         * fen/fen-kernel.c: Remove a warning that was causing
554         crashes. Reported by Lin Ma.
555
556 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
557
558         Bug 543040 – async reading on dummy file will crash on
559         GIO_USE_VFS=local
560
561         * gfile.c (open_read_async_thread): Cope with read_fn being
562         NULL. Reported by Lin Ma.  
563
564 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
565
566         * gio.symbols:
567         * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
568
569 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
570
571         * gvfs.h:
572         * gdesktopappinfo.h: 
573         * giomodule.c: Rename a chapter id to avoid filename conflict.
574
575 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
576
577         Bug 540616 – mem leak in filechooser button
578
579         * gunixvolumemonitor.c (get_mount_for_mount_path): Free
580         the mount entry. Reported by Chrisitan Persch
581
582 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
583
584         * gfile.c: Small documentation fixes.
585
586 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
587
588         * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
589
590 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
591
592         * gvolumemonitor.c:
593         * gfile.c:
594         * gvolume.c:
595         * gmount.c: Documentation improvements.
596
597 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
598
599         * gio.symbols:
600         * gmount.[hc]: Add g_mount_guess_content_type(). 
601
602 2008-07-06  David Zeuthen  <davidz@redhat.com>
603
604         * gio.symbols:
605         * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
606         is needed for easily handling adoption of foreign volumes by
607         out-of-process volume monitors (#541793)
608
609 2008-07-06  David Zeuthen  <davidz@redhat.com>
610
611         * gvolumemonitor.[ch]:
612         * gunionvolumemonitor.c: Export the eject-button signal on the
613         volume monitor class (#541794).
614
615 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
616
617         * gappinfo.c: More doc tweaks
618
619 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
620
621         * gappinfo.c: Clarify some docs
622
623 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
624
625         * gdesktopappinfo.c: Fix a stupid mistake.
626
627 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
628
629         * === Released 2.17.3 ===
630
631 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
632
633         * gfilemonitor.c: Fix the build.
634
635 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
636
637         Bug 536160 – Add g_file_monitor()
638
639         * gio.symbols:
640         * gfile.[hc]: Add g_file_monitor which can return either
641         a file or a directory monitor.  Proposed by Behdad Esfahbod
642
643 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
644
645         536733 – gio build failure on Irix
646
647         * glocalfile.c: Use a configure check for structfs.f_bavail.
648
649 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
650
651         Bug 534639 – add g_desktop_app_info_new_from_keyfile
652
653         * gio.symbols:
654         * gdesktopappinfo.[hc]: Add a function to create a
655         GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
656
657 2008-07-02  Wouter Bolsterlee  <wbolster@svn.gnome.org>
658
659         * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
660
661 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
662
663         * gunixmounts.c: Fix a doc typo.
664
665 2008-07-01  Cody Russell  <bratsche@gnome.org>
666
667         * gio/gcontenttype.c:
668         * gio/gwin32appinfo.c:
669         * gio/gwin32volumemonitor.c:
670         * gio/gwin32mount.c: Fixed some include problems.
671
672 2008-07-01  Cody Russell  <bratsche@gnome.org>
673
674         * gio/gioenums.h:
675         * gio/giotypes.h:
676         Moved all relevant typedefs into these files.
677
678         * gio/*.[ch]:
679         Updated wrt added files.
680
681         Split types into separate file for easier maintainership. (#538564)
682
683 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
684
685         Bug 540331 – g_file_append_to () documentation: can return NULL
686
687         * gfile.c (g_file_append_to): Clarify docs.
688         Patch by Jared Moore
689
690 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
691
692         Bug 539090 – g_content_type_from_mime_type() should unalias
693
694         * gcontentype.c (g_content_type_from_mime_type): Unalias.
695         Patch by Markus Bergman
696
697 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
698
699         Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
700         g_atomic_pointer_get
701
702         * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
703         on ppc and alpha. Reported by Mart Raudsepp
704
705 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
706
707         * tests/Makefile.am: 
708         * tests/memory-output-stream.c: Add some tests for
709         GMemoryOutputStream. 
710
711 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
712
713         Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
714         0, ...)
715
716         * gmemoryoutputstream.c (array_resize): Handle truncation to
717         zero correctly. Reported by Akira Tagoh
718
719 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
720
721         * gmemoryoutputstream.c: Trivial doc fixes
722
723 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
724
725         Bug 540802 – g_list_prepend doesn't concat lists
726
727         * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
728         one list to another. Pointed out by Jan Arne Petersen
729
730 2008-06-28  Michael Natterer  <mitch@imendio.com>
731
732         * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
733
734 2008-06-18  Matthias Clasen <mclasen@rdhat.com>
735
736         * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
737         to avoid problems with partial icon themes.
738         
739 2008-06-17  Hans Breuer  <hans@breuer.org>
740
741         * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from 
742         gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
743         access again on win32, see bug #538127
744         * giomodule.c : ensure GWin32VolumeMonitor is registered
745         * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
746         * Makefile.am makefile.msc : updated
747
748 2008-06-16  Hans Breuer  <hans@breuer.org>
749
750         * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration 
751         and initialization in one step avoids c99ism
752
753 2008-06-16  Christian Persch  <chpe@gnome.org>
754
755         * gio/gappinfo.c
756         * gio/gbufferedinputstream.c
757         * gio/gcancellable.c
758         * gio/gdatainputstream.c
759         * gio/gdesktopappinfo.c
760         * gio/gfile.c
761         * gio/gfileenumerator.c
762         * gio/gfileinputstream.c
763         * gio/gfileoutputstream.c
764         * gio/ginputstream.c
765         * gio/glocaldirectorymonitor.c
766         * gio/glocalfile.c
767         * gio/glocalfileenumerator.c
768         * gio/glocalfileinfo.c
769         * gio/glocalfilemonitor.c
770         * gio/glocalfileoutputstream.c
771         * gio/gmemoryinputstream.c
772         * gio/gmemoryoutputstream.c
773         * gio/goutputstream.c
774         * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from 
775         bug #535947.
776
777 2008-06-16  Tor Lillqvist  <tml@novell.com>
778
779         Bug 538362 - Get Win32 icons back in the file chooser
780
781         * gcontenttype.c (g_content_type_get_icon): Look up the icon
782         corresponding to a file extension in the Registry. Patch by Hans
783         Breuer.
784         (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
785         
786 2008-06-16  Tor Lillqvist  <tml@novell.com>
787
788         Patches by Hans Breuer:
789
790         * glocalfile.c (is_xp_or_later): Handle compiling against older
791         SDK headers with missing VerifyVersionInfo().  Conditioned on
792         _MSC_VER, but should probably use some better test.
793         * glocalfile.c (g_local_file_query_filesystem_info): Don't test
794         uninitialised statfs_result variable on Win32.
795
796 2008-06-16  Michael Natterer  <mitch@imendio.com>
797
798         * *.c: chain up unconditionally in finalize() and dispose(). Also
799         don't dereference these function pointers when calling them since
800         that has no meaning at all.
801
802 2008-06-16  Ross Burton  <ross@burtonini.com>
803
804         * gfileenumerator.c:
805         Remove check for dispose implementation as it annoys Emmanuele.
806         
807 2008-06-16  Ross Burton  <ross@burtonini.com>
808
809         Bug 536252 – GFileEnumerator should allow access to the containing
810         GFile
811         
812         * gfileenumerator.c:
813         * gfileenumerator.h:
814         * gfile.h:
815         Add g_file_enumerator_get_container() and a container writeable
816         construct-only property.  Also shuffle around typedefs to make it
817         compile.
818         
819         * glocalfileenumerator.c:
820         * glocalfileenumerator.h:
821         * glocalfile.c:
822         Instead of a string filename take a GFile in the constructor and
823         use it to set the container property.
824         
825         * gio.symbols:
826         Update with new API.
827
828 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
829
830         * gfile.c: Make includes more uniform
831
832 2008-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
833
834         * tests/live-g-file.c (sample_struct):
835         Use less fancy unicode filenames, so the test doesn't fail
836         on Mac OS X (#531476).
837
838 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
839         
840         * === Released 2.17.2 ===
841
842 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
843
844         * === Released 2.17.1 ===
845
846 2008-06-11  A. Walton  <awalton@gnome.org>
847
848         * tests/g-file.c (test_g_file_new_null):
849         Fix broken test case.
850
851 2008-06-11  Matthias Clasen <mclasen@redhat.com>
852
853         * pltcheck.sh: We use g_clear_error now.
854
855 2008-06-11  Matthias Clasen <mclasen@redhat.com>
856
857         * glocalfile.c (g_local_file_enumerate_children): Revert
858         an unintended change.
859
860 2008-06-11  Matthias Clasen <mclasen@redhat.com>
861
862         * gfile.c (g_file_replace_contents): Don't unref before the last use.
863
864 2008-06-10  Matthias Clasen <mclasen@redhat.com>
865
866         Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
867         folder
868         
869         * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
870         as icon for the desktop directory, also make user-home and
871         user-desktop the preferred icons.
872
873 2008-06-10  Matthias Clasen <mclasen@redhat.com>
874
875         * gio.symbols:
876         * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
877         to add a name to the front of the list.
878
879 2008-06-10  Matthias Clasen <mclasen@redhat.com>
880
881         Bug 537392 – Additional colon in xattr name
882
883         * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
884         too. Reported by  Alessandro Morandi 
885
886 2008-06-10  Matthias Clasen <mclasen@redhat.com>
887
888         Bug 536641 – Filesystem querying in gio does not list AFS and autofs
889         file systems
890
891         * glocalfile.c (get_fs_type): Add afs and autofs.
892         Patch by Danny Baumann.
893
894 2008-06-10  Matthias Clasen <mclasen@redhat.com>
895
896         Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
897
898         * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
899         is no parent.  (Owen Taylor, patch by Christian Neumair)
900         
901 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
902
903         * gfile.c (g_file_replace_contents): do not leak the output stream.
904
905 2008-06-10  Michael Natterer  <mitch@imendio.com>
906
907         * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
908         uninitialized memory as array index.
909
910 2008-06-10  Tor Lillqvist  <tml@novell.com>
911
912         * gcontenttype.c (g_content_type_can_be_executable)
913         (g_content_type_get_icon) [Win32]: Add TODO comments.
914
915 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
916
917         * xdgmime/Makefile.am: Fix the build
918
919 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
920
921         * gcontenttype.c (g_content_type_get_icon): Use icons specified
922         in the shared mime database, if available.
923
924         * xdgmime/*: Sync with upstream. This brings support for
925         glob weights, generic icons, and changes the cache format to 
926         version 1.1.
927
928 2008-05-28  Michael Natterer  <mitch@imendio.com>
929
930         * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
931         the global CPPFLAGS now.
932
933         * tests/data-input-stream.c
934         * tests/data-output-stream.c
935         * tests/g-file-info.c
936         * tests/g-file.c
937         * tests/live-g-file.c
938         * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
939
940 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
941
942         * === Released 2.17.0 ===
943
944         * tests/live-g-file.c: Clean up after the tests, so make distcheck
945         doesn't complain about leftover files.
946
947 2008-05-27  simon.zheng  <simon.zheng@sun.com>
948
949         * glocalfile.c: (g_local_file_query_filesystem_info):
950         Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
951
952 2008-05-26  Michael Natterer  <mitch@imendio.com>
953
954         * gmemoryoutputstream.h: declare
955         g_memory_output_stream_get_data_size().
956
957 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
958
959         * tests/*: Make tests work 
960
961 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
962
963         * gio.symbols: Add g_memory_output_stream_get_data_size.
964
965 2008-05-25  Ross Burton  <ross@burtonini.com>
966
967         * glocalfile.c:
968         Fix typo in error message (#534764).
969
970 2008-05-25  Ross Burton  <ross@burtonini.com>
971
972         * Makefile.am:
973         Fix circular dependency loop for gioenumtypes.h (#534759).
974
975 2008-05-19  Hans Breuer  <hans@breuer.org>
976
977         * Makefile.am : EXTRA_DIST += makefile.msc
978
979 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
980
981         * gcontenttype.h:
982         * gcontenttype.c: (g_content_type_from_mime_type):
983         New function to create a content type from a mime type. (#527175,
984         Milan Crha)
985
986 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
987
988         Bug 532965 – Should not return filesystem::free for certain file systems
989
990         * glocalfile.c (g_local_file_query_filesystem_info) Don't return
991         free space for ncpfs.
992
993 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
994
995         Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
996
997         * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
998         st_dev might be zero.
999
1000 2008-05-16  Tor Lillqvist  <tml@novell.com>
1001
1002         * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1003         get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1004
1005 2008-05-13  Bastien Nocera  <hadess@hadess.net>
1006
1007         * gfile.c (has_valid_scheme): A URI scheme must start with a
1008         letter, even if later more characters are allowed (#532852)
1009
1010 2008-05-05  Michael Natterer  <mitch@imendio.com>
1011
1012         * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1013         code from being checked in that breaks the build of applications
1014         which use G_DISABLE_SINGLE_INCLUDES.
1015
1016         * makegioalias.pl: make the alias file include "glib.h" instead of
1017         "glibconfig.h".
1018
1019         * gio.symbols: whitespace change to force regeneration of the
1020         alias file after above script change.
1021
1022         * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1023
1024         * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1025
1026         * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1027
1028         * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1029
1030 2008-04-28  David Zeuthen  <davidz@redhat.com>
1031
1032         * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1033         displaying mounts in a subdirectory not accessible to the
1034         user (#526320).
1035
1036 2008-04-22  Michael Natterer  <mitch@imendio.com>
1037
1038         * Makefile.am: fix library versioning (it was 0.0.0).
1039
1040 2008-04-21  Lin Ma  <Lin.Ma@Sun.COM>
1041
1042         * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1043         Default disable all loggings.
1044         * fen/fen-kernel.c: (printevent), (port_add_kevent),
1045         (port_fetch_event_cb): Fixed two macro nits.
1046
1047 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1048
1049         * xdgmime/xdgmime.c: Rework the timestamp checking code
1050         to protect against duplicate directories in XDG_DATA_DIRS.
1051         Fixes fd.o bug 12513, reported by Joe Shaw.
1052
1053 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1054
1055         Partically revert the last commit after realizing that
1056         xdg_mime_media_type_equal doesn't have to init at all.
1057
1058         * xdgmime/xdgmime.h:
1059         * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1060
1061         * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1062
1063 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1064
1065         Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1066         reported by Joe Shaw and Federico Mena Quintero.
1067
1068         * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1069         (xdg_mime_media_type_equal): Turn into a wrapper around the 
1070         _-prefixed version.
1071
1072         * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1073         functions throughout.
1074
1075 2008-04-16  Michael Meeks  <michael.meeks@novell.com>
1076
1077         * gdesktopappinfo.c (g_desktop_app_info_new_from_filename): 
1078         tolerate an empty TryExec= line without failing; nautilus used
1079         to create launchers with these in previous versions. Fixes #528433
1080
1081 2008-04-09  Padraig O'Briain  <padraig.obriain@sun.com>
1082
1083         * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1084         after name. Fixes #527132.
1085
1086 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
1087
1088         * gfile.c: (g_file_replace):
1089         Doc update
1090
1091 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
1092
1093         Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1094
1095         * gfile.c (file_copy_fallback): Fix the argument order. Patch
1096         by Christian Kellner.
1097
1098 2008-04-04  Sebastien Bacher  <seb128@ubuntu.com>
1099
1100         * gunixmounts.c: (g_unix_mount_guess_should_display):
1101         Don't list the user directory as a mount, fix potential issue
1102         when other users have a similar naming and don't special case the
1103         gvfs mounts there since that's not required (#525866)
1104
1105 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1106
1107         * glocalfile.c (get_parent):
1108         Don't leak parent.
1109         
1110 2008-03-31  A. Walton  <awalton@svn.gnome.org>
1111
1112         * gfile.c (g_file_query_file_type):
1113         Always return a GFileType enum value (#520715).
1114
1115 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1116
1117         * glocalfileenumerator.c:
1118         Read readdir() info in chunks (of 1000) and sort
1119         the chunks by inode before stat:ing.
1120         This is a 20% performance increase in testing
1121         gvfs-ls on /usr/bin with cold cache.
1122
1123 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1124
1125         * gmemoryoutputstream.c:
1126         Clarify docs for g_memory_output_stream_get_size.
1127         Add g_memory_output_stream_get_data_size.
1128
1129 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
1130
1131         * gio.symbols:
1132         * gfile.c:
1133         * gfile.h: Add g_file_query_file_type convenience function
1134         to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)
1135
1136 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
1137
1138         * gfileenumerator.c:
1139         * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)
1140
1141 2008-03-28  A. Walton  <awalton@svn.gnome.org>
1142
1143         * giomodule.c (_g_io_modules_ensure_loaded):
1144         Adds GIO_EXTRA_MODULES environment variable support, closing bug 
1145         #523039.
1146
1147 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1148
1149         * gfile.c:
1150         (copy_stream_with_progress):
1151         Fix up last commit.
1152         
1153 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1154
1155         * gfile.c:
1156         (copy_stream_with_progress):
1157         (file_copy_fallback):
1158         Fallback to g_file_query_info for source size
1159         if g_file_input_stream_query_info fails. (#524579)
1160
1161 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1162
1163         * glocalfile.c (g_local_file_move):
1164         Reuse old string instead of adding new one.
1165
1166 2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>
1167
1168         * fen/*.[hc]: still copyright issue. I hate copyright.
1169
1170 2008-03-27  Alexander Larsson  <alexl@redhat.com>
1171
1172         * glocalfile.c (g_local_file_move):
1173         Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1174         file over directory. This is according to the docs and what the move via
1175         copy+remove fallback does.
1176
1177 2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>
1178
1179         * fen/*.[hc]: Updated copyright.
1180
1181 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
1182
1183         * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1184
1185 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
1186
1187         * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1188         not emit attribute changed events when optimizing changed events.
1189         * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1190         warning messages.
1191
1192 2008-03-19  Matthias Clasen  <mclasen@redhat.com>
1193
1194         * gmountoperation.[hc]: Small documentation additions
1195
1196 2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>
1197
1198         * gunixmounts.c: (guess_mount_type): 
1199         consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1200
1201 2008-03-19  Alexander Larsson  <alexl@redhat.com>
1202
1203         * gfile.c:
1204         (copy_stream_with_progress):
1205         Bump block side for copy to 64k to minimize
1206         overhead for low latency links. (#523015)
1207
1208 2008-03-16  Tor Lillqvist  <tml@novell.com>
1209
1210         * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1211         depend on gio.def on Windows.
1212
1213 2008-03-12  David Zeuthen  <davidz@redhat.com>
1214
1215         * gio.symbols:
1216         * gunixmounts.[ch]:
1217         Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1218
1219 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1220
1221         * gunixmounts.c:
1222         (guess_mount_type):
1223         Avoid redudant tests (#521851)
1224         Patch from Josselin Mouette
1225
1226 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1227
1228         * gfilemonitor.c:
1229         (g_file_monitor_is_cancelled):
1230         Fix C89 issue (#521672)
1231         Patch from Jens Granseuer
1232
1233 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1234
1235         * fam/fam-helper.[ch]:
1236         * fam/fam-module.c:
1237         Shut down fam (including removing fam GSource) when
1238         module is unloaded (#521513)
1239         Patch from Joe Marcus Clarke   
1240
1241 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1242
1243         * giomodule.c:
1244         (_g_io_modules_ensure_loaded):
1245         Fix up FEN ifdefs
1246
1247 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1248
1249         * glocalfile.c:
1250         (g_local_file_query_filesystem_info):
1251         Use right define name for f_fstypename member check
1252
1253 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1254
1255         * Makefile.am:
1256         * fen/Makefile.am: Added.
1257         * fen/fen-data.[ch]: Added.
1258         * fen/fen-dump.[ch]: Added.
1259         * fen/fen-helper.[ch]: Added.
1260         * fen/fen-kernel.[ch]: Added.
1261         * fen/fen-missing.[ch]: Added.
1262         * fen/fen-node.[ch]: Added.
1263         * fen/fen-sub.[ch]: Added.
1264         * fen/gfendirectorymonitor.[ch]: Added.
1265         * fen/gfenfilemonitor.[ch]: Added.
1266         * giomodule.c:
1267         Added Solaris FEN file notification backend.
1268         Patch from Lin Ma <Lin.Ma@Sun.COM>
1269
1270 2008-03-13  Tor Lillqvist  <tml@novell.com>
1271
1272         * Makefile.am: Actually use the gio.def file when linking the
1273         library on Windows. Produce .lib library for Microsoft's toolchain
1274         when possible. Install the .lib and .def file like for the other
1275         libraries of GLib.
1276
1277 2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>
1278
1279         * tests/live-g-file.c:
1280         Include live-g-file in standard set of tests, making a temporary
1281         directory in source structure.
1282         
1283         Clean target directory before the tests (write mode only)
1284
1285 2008-03-12  Tor Lillqvist  <tml@novell.com>
1286
1287         Bug 517419 - gio win32 directory monitor
1288         Implementation by Vlad Grecescu.
1289         
1290         * win32/Makefile.am
1291         * win32/gwin32directorymonitor.h
1292         * win32/gwin32directorymonitor.c: New files.
1293
1294         * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1295
1296         * Makefile.am: Add the win32 subdirectory.
1297
1298 2008-03-12  Tor Lillqvist  <tml@novell.com>
1299
1300         * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1301         normal struct stat on Unix but struct _stati64 on Windows to have
1302         access to 64-bit file size information. Use that instead of struct
1303         stat in the functions declared here in this private header.
1304
1305         * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1306         S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1307         warnings about unused functions and variables. Don't set
1308         meaningless attributes like inode numbers on Windows.
1309
1310 2008-03-12  Benjamin Otte  <otte@gnome.org>
1311
1312         * gvfs.h:
1313         trim whitespace so gtk-doc groks the function name
1314
1315 2008-03-12  Tor Lillqvist  <tml@novell.com>
1316
1317         * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1318         returning FALSE, on Win32.
1319
1320 2008-03-11  Alexander Larsson  <alexl@redhat.com>
1321
1322         * glocalfile.c:
1323         * glocalfileinfo.[ch]:
1324         Correctly implement can_trash by actually
1325         looking for a trash dir, not just assuming
1326         one exists.
1327
1328 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
1329         
1330         * === Released 2.16.1 ===
1331
1332 2008-03-11  Alexander Larsson  <alexl@redhat.com>
1333
1334         * gthemedicon.c:
1335         Fix crashes in new constructor and properties code
1336
1337 2008-03-10  Murray Cumming  <murrayc@murrayc.com>
1338
1339         * gfile.c: Minor spelling correction in documentation:
1340         existance -> existence.
1341
1342 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
1343
1344         * === Released 2.16.0 ===
1345
1346 2008-03-10  Matthias Clasen <mclasen@redhat.com>
1347
1348         * gio.symbols: Remove g_file_contains_file here, too.
1349
1350 2008-03-10  Matthias Clasen <mclasen@redhat.com>
1351
1352         * gthemedicon.c: Add properties to make bindings happy.  (#517676,
1353         Samuel Cormier-Iijima)
1354
1355 2008-03-08  Tor Lillqvist  <tml@novell.com>
1356
1357         * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1358         winnt.h. (#521145)
1359
1360 2008-03-07  Alexander Larsson  <alexl@redhat.com>
1361
1362         * glocalfile.c:
1363         (g_local_file_query_filesystem_info):
1364         Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1365         Patch from Jasper Lievisse Adriaanse
1366
1367 2008-03-06  Tor Lillqvist  <tml@novell.com>
1368
1369         * gfileinfo.h: Correct milliseconds to microseconds in the doc
1370         comments for the *_USEC attributes.
1371
1372 2008-03-06  Alexander Larsson  <alexl@redhat.com>
1373
1374         * gfile.c (g_file_query_exists):
1375         Add g_return_val_if_fail check (#520700)
1376
1377 2008-03-06  Alexander Larsson  <alexl@redhat.com>
1378
1379         * gdesktopappinfo.c:
1380         * gfilemonitor.c:
1381         * gthemedicon.c:
1382         * gunionvolumemonitor.c:
1383         * gunixmounts.c:
1384         * tests/g-file.c:
1385         * tests/live-g-file.c:
1386         * xdgmime/xdgmimecache.c:
1387         Fix sparse warnings (#519489)
1388
1389 2008-03-05  Alexander Larsson  <alexl@redhat.com>
1390
1391         * gfilemonitor.c:
1392         Make cancellation threadsafe (i.e.
1393         guarantee its only done once, and always
1394         done)
1395         
1396         * glocaldirectorymonitor.c:
1397         Make sure we the monitor lives while the
1398         mounts_changed callback is being called (#520484)
1399
1400 2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1401
1402         * gbufferedinputstream.c: Fix typo in parameter
1403         documentation.
1404
1405 2008-03-04  Alexander Larsson  <alexl@redhat.com>
1406
1407         * gfile.c:
1408         Remove deprecated symbols we kept for one release.
1409
1410 2008-03-04  Murray Cumming  <murrayc@murrayc.com>
1411
1412         * ginputstream.c:
1413         * goutputstream.c: Tiny documentation corrections.
1414
1415 2008-03-03  Alexander Larsson  <alexl@redhat.com>
1416
1417         * gunionvolumemonitor.c:
1418         * gvolumemonitor.h:
1419         Fix the adopt_orphan_mount vfunc to take a
1420         volume_monitor reference in an ABI compat way.
1421         This change is not API compat, but the added
1422         arg is not used in the only user of this vfunc, so
1423         all we get is a harmless warning in gvfs (#520169)
1424         
1425 2008-03-01  Benjamin Otte  <otte@gnome.org>
1426
1427         * gfile.c:
1428         clarify docs for g_file_delete().
1429
1430 2008-02-29  Alexander Larsson  <alexl@redhat.com>
1431
1432         * glocalfileinfo.c:
1433         (get_content_type):
1434         Make sure empty files get text/plain type (#518720)
1435
1436 2008-02-27  Alexander Larsson  <alexl@redhat.com>
1437
1438         * gcontenttype.c:
1439         Fix type warnings
1440         
1441         * gunixvolume.c:
1442         (g_unix_volume_mount):
1443         Add missing GMountMountFlags argument
1444
1445 2008-02-26  Alexander Larsson  <alexl@redhat.com>
1446
1447         * glocalfile.c:
1448         (g_local_file_delete):
1449         Handle filesystems (like ntfs-3g) that return EEXIST instead
1450         of ENOTEMPTY (#518816)
1451
1452 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
1453
1454         * === Released 2.15.6 ===
1455
1456 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1457
1458         * gfile.c (g_file_find_enclosing_mount):
1459         * ginputstream.c (g_input_stream_set_pending):
1460         * glocalfile.c (g_local_file_find_enclosing_mount):
1461         * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1462         * goutputstream.c (g_output_stream_set_pending):
1463
1464         Fixup translator comments (#518578).
1465
1466 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1467
1468         * gfile.c (g_file_find_enclosing_mount):
1469         * giomodule.c:
1470         * glocalfile.c (g_local_file_find_enclosing_mount):
1471         * goutputstream.c:
1472
1473         Fix a few typos in translator comments and documentation.
1474
1475 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1476
1477         * gfile.c:
1478         * ginputstream.c:
1479         * glocalfile.c:
1480         * gmount.c:
1481         * goutputstream.c:
1482         Add translator comments (#518578)
1483
1484 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1485
1486         * gfile.c:      
1487         Reintroduce g_file_contains_file, keep around for one
1488         unstable release cycle to avoid crashing to many apps.
1489         Make sure to delete after release.
1490
1491 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1492
1493         * gfile.[ch]:
1494         Remove deprecated g_file_contains_file.
1495
1496 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1497
1498         * gfilemonitor.c:
1499         Emit actual change signals in an idle handler.
1500         This avoids reentrance and locking problems in
1501         the file notification backends.
1502         
1503 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1504
1505         * gunixmounts.c:
1506         (g_unix_mount_guess_should_display):
1507         Remove type guessing, instead just display
1508         mounts in /media and in ~/.
1509
1510 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1511
1512         * glocalfile.c:
1513         Make new strings reuse old ones.
1514         
1515 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1516
1517         * glocalfile.c:
1518         Implement trashing and filesystem::readonly for win32 (#517235)
1519         Patch from Yevgen Muntyan
1520
1521 2008-02-23  Matthias Clasen  <mclasen@redhat.com>
1522
1523         * gfileinfo.h: Documentation fixes.
1524
1525 2008-02-22  Alexander Larsson  <alexl@redhat.com>
1526
1527         * gcontenttype.c (g_content_type_get_icon):
1528         Look at old-style gnome mime icon names too, as many
1529         have not moved to the new style.
1530
1531 2008-02-21  Matthias Clasen  <mclasen@redhat.com>
1532
1533         * *.c: Correct the @include in for section docs.
1534
1535 2008-02-21  David Zeuthen  <davidz@redhat.com>
1536
1537         * glocalfileinfo.c: (_g_local_file_info_get):
1538         * gcontenttype.c:
1539         (g_content_type_get_icon): Implement this function by
1540         moving bits from glocalfileinfo.c
1541         (g_content_type_get_description): Unalias before getting
1542         description (#517687)
1543
1544         * gfile.c: (g_file_class_init),
1545         (g_file_query_filesystem_info_async),
1546         (g_file_query_filesystem_info_finish),
1547         (query_filesystem_info_data_free),
1548         (query_filesystem_info_async_thread),
1549         (g_file_real_query_filesystem_info_async),
1550         (g_file_real_query_filesystem_info_finish):
1551         * gfile.h: Implement async version of
1552         g_file_query_filesystem_info()
1553
1554         * gfileinfo.h: Add new attributes for filesystem::use-preview
1555
1556         * gio.symbols: Update
1557
1558         * gthemedicon.c: (g_themed_icon_append_name):
1559         * gthemedicon.h: Add new new convenience function.
1560
1561         * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1562         (get_mounts), (get_volumes), (get_connected_drives),
1563         (get_volume_for_uuid), (get_mount_for_uuid),
1564         (g_union_volume_monitor_init), (populate_union_monitor),
1565         (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1566         (g_volume_monitor_adopt_orphan_mount):
1567         * gvolumemonitor.c:
1568         * gvolumemonitor.h: Use recursive locks so it's safe for volume
1569         monitor implementations to call into the main volume monitor. Also
1570         separate object initialization and volume monitor initialization
1571         such that non-native volume monitors can properly adopt their
1572         mounts away.
1573
1574 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1575
1576         * gfile.c:
1577         Fix doc typo
1578         
1579 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1580
1581         * gfile.c:
1582         Add more documentation about how GFiles work (from #517086)
1583
1584 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1585
1586         * gfile.[ch]:
1587         * gio.symbols:
1588         Add new g_file_has_prefix that does the same as g_file_contains_file.
1589         Deprecate g_file_contains_file and add a macro that converts
1590         it to g_file_has_prefix.
1591         The reason for this change is that the contains_file() name seems to
1592         imply that this does more work than what it does, but its really only
1593         a name match (from #517086)
1594         
1595         * gdummyfile.c:
1596         * glocalfile.c:
1597         * tests/g-file.c:
1598         Update to match the above change.
1599
1600 2008-02-20  Benjamin Otte  <otte@gnome.org>
1601
1602         * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1603         (g_file_eject_mountable):
1604         even more cases of not returning in error path
1605
1606 2008-02-20  Benjamin Otte  <otte@gnome.org>
1607
1608         * gfile.c: (g_file_mount_mountable): 
1609         return from function in error path.
1610
1611 2008-02-18  Sylvain Pasche <sylvain.pasche@gmail.com>
1612
1613         * gfile.h:
1614          Remove trailing coma in GMountMountFlags struct
1615
1616 2008-02-18  Alexander Larsson  <alexl@redhat.com>
1617
1618         * glocalfile.c:
1619         * glocalfileinfo.c:
1620         * glocalfileoutputstream.c:
1621         Use g_unlink/g_rename instead of unlink/rename;
1622         do not pass raw filenames to g_set_error. (#517239)
1623         Patch from Yevgen Muntyan.
1624
1625 2008-02-18  Alexander Larsson  <alexl@redhat.com>
1626
1627         * glocalfile.c:
1628         * glocalfileoutputstream.c:
1629         Open files with O_BINARY on windows. (#517140)
1630
1631 2008-02-14  Alexander Larsson  <alexl@redhat.com>
1632
1633         * glocalfileoutputstream.c:
1634         Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1635
1636 2008-02-14  Alexander Larsson  <alexl@redhat.com>
1637
1638         * glocalfile.c:
1639         Copy permissions with file on copy (#514084)
1640         This is what cp does and makes sure e.g. the
1641         exec permissions are kept.
1642         Its kinda weird in that it keeps the permission bits
1643         the same while the uid and gid are different. However
1644         the new uid is the user so its not a security issue,
1645         and I've heard no complaints about cp on this issue.
1646
1647 2008-02-13  Ryan Lortie  <desrt@desrt.ca>
1648
1649         * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1650
1651 2008-02-13  Alexander Larsson  <alexl@redhat.com>
1652
1653         * inotify/inotify-path.c:
1654         Define IN_ONLYDIR if not in header (#515346)
1655
1656 2008-02-12  Alexander Larsson  <alexl@redhat.com>
1657
1658         * tests/live-g-file.c:
1659         C89 fixes (#515892)
1660
1661 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1662
1663         * === Released 2.15.5 ===
1664
1665 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1666
1667         * gio.symbols: Add g_mount_mount_flags_get_type.
1668
1669 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1670
1671         * gfileinfo.c:
1672         (g_file_info_set_attribute_mask):
1673         (g_file_attribute_matcher_matches_id):
1674         Correctly handle NULL GAttributeMatcher meaning
1675         matches nothing. (Fixes #513492)
1676
1677 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1678
1679         * gfile.[ch]:
1680         * gmount.[ch]:
1681         * gvolume.[ch]:
1682         Added GMountMountFlags enum and added a flags
1683         argument to all mount calls.
1684         
1685         This is an API/ABI change for future extensibility,
1686         as I think we will need at least an
1687         inhibit-autorun flag (the panel needs this).
1688         There are no flags defined yet though.
1689
1690 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1691
1692         * gfileinfo.h:
1693         Added new standard::description attribute.
1694         Requested by Vincent, and useful for both
1695         panel and nautilus
1696
1697 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1698
1699         * gdesktopappinfo.c:
1700         Minor docs cleanup
1701
1702 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1703
1704         * *.c: Documentation additions
1705
1706 2008-02-10  Matthias Clasen <mclasen@redhat.com>
1707
1708         * gappinfo.h: Formatting cleanup
1709         * gappinfo.c: Fix up docs.
1710
1711 2008-02-09  Matthias Clasen <mclasen@redhat.com>
1712
1713         * gunixmounts.c: Consistently use getmntent_r() and fall
1714         back to getmntent().  (#515492)
1715
1716 2008-02-09  Matthias Clasen <mclasen@redhat.com>
1717
1718         * gbufferedinputstream.c:
1719         * ginputstream.c:
1720         * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1721
1722         * tests/data-input-stream.c:
1723         * tests/data-output-stream.c: Portability fixes.
1724
1725 2008-02-08  Alexander Larsson  <alexl@redhat.com>
1726
1727         * gio.symbols: 
1728         * gunixvolume.c:
1729         * gvolume.[ch]:
1730         Add g_volume_should_automount.
1731         Docs needed.
1732
1733 2008-02-07  Tor Lillqvist  <tml@novell.com>
1734
1735         * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1736         Win32, too Unix-specific.
1737
1738 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
1739
1740         * pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
1741         a local plt if the compiler doesn't support what we want.  Bug #514702
1742
1743 2008-02-06  Murray Cumming,,,  <murrayc@murrayc.com>
1744
1745         reviewed by: <delete if not using a buddy>
1746
1747         * gfile.c:
1748         * gunixinputstream.c:
1749         * gunixoutputstream.c:
1750
1751 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1752
1753         * tests/Makefile.am:
1754         * tests/live-g-file.c:
1755         * tests/live-g-file.txt:
1756         New GIO testing module working over real data
1757
1758 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1759
1760         * glocalfileoutputstream.c (g_local_file_output_stream_close):
1761         Fallback to rename() if link() is not available
1762         (when no support on target filesystem)
1763
1764 2008-02-06  Michael Natterer  <mitch@imendio.com>
1765
1766         * gfileinfo.c (g_file_info_get_icon): replace
1767         "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1768
1769 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1770
1771         * gfile.c (g_file_create):
1772         Documentation update of error codes
1773
1774 2008-02-06  Alexander Larsson  <alexl@redhat.com>
1775
1776         * gdesktopappinfo.c:
1777         Update to use both mimeapps.list and
1778         defaults.list as discussed on xdg list.
1779
1780 2008-02-06  Benjamin Otte  <otte@gnome.org>
1781
1782         * gasyncresult.c:
1783         * gfilenamecompleter.c:
1784         Fix some typos in the documentation.
1785
1786 2008-02-06  Alexander Larsson  <alexl@redhat.com>
1787
1788         * glocalfile.c (g_local_file_trash):
1789         Don't succeed with trash if newly created
1790         trash dir has the wrong owner. (#514696)
1791
1792 2008-02-05  Alexander Larsson  <alexl@redhat.com>
1793
1794         * glocalfile.c (g_local_file_move):
1795         Don't spew warnings when destination is not
1796         a GLocalFile.
1797
1798 2008-02-03  Hans Breuer  <hans@breuer.org>
1799
1800         * makefile.msc : update
1801
1802 2008-02-01  Michael Natterer  <mitch@imendio.com>
1803
1804         * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1805         return value of xdg_mime_list_mime_parents() to a variable of the
1806         correct type.
1807
1808 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1809
1810         * gappinfo.c (g_app_info_launch_uris):
1811         Actually call the launch_uris method, not
1812         launch.
1813
1814 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1815
1816         * gdesktopappinfo.c (g_desktop_app_info_equal):
1817         Ensure appinfos with no id but same pointer value
1818         compare equal
1819
1820 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1821
1822         * gappinfo.c (g_app_info_launch_default_for_uri): 
1823         Don't leak appinfo.
1824         
1825 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1826
1827         * gappinfo.[ch]:
1828         * gio.symbols:
1829         Add g_app_info_launch_default_for_uri utility
1830         function. (#513256)
1831
1832 2008-02-01  Cosimo Cecchi  <cosimoc@svn.gnome.org>
1833
1834         * gdesktopappinfo.c:
1835         Doc fix for g_app_info_get_default_for_uri_scheme ()
1836         Bug #513483.
1837
1838 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1839
1840         * gappinfo.c:
1841         Add doc comment about uris vs GFiles to
1842         g_app_info_launch()
1843         
1844         * gdesktopappinfo.c:
1845         Ensure uris passed to g_app_info_launch_uris()
1846         are not roundtriped through GFile (as that
1847         may be slightly destructive for e.g. mailto: links)
1848
1849 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1850
1851         * tests/data-input-stream.c:
1852         * tests/data-output-stream.c:
1853         C89 fixes from Jens Granseuer (#512849)
1854
1855 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1856
1857         * fam/fam-helper.c:
1858         Fix gamin/fam difference build issue. (#509419)
1859
1860 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1861
1862         * gappinfo.h:
1863         * gdesktopappinfo.c:
1864         Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1865
1866 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1867
1868         * gdesktopappinfo.c:
1869         * gdesktopappinfo.h:
1870         giomodule-priv.h include moved to .c file.
1871
1872 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1873
1874         * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1875         Remove unused prio/name fields.
1876
1877 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1878
1879         * gcontenttype.c (looks_like_text):
1880         Don't treat whitespace as control chars.
1881
1882 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1883
1884         * gdesktopappinfo.c:
1885         Lazily create the desktop files for appinfos created
1886         by g_app_info_create_from_commandline() when needed
1887         for mime associations. This allows run-time use
1888         of GAppInfo object without creating unnecessary
1889         files on disk.
1890
1891 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1892
1893         * gio.symbols:
1894         Added new symbols to gio.symbols
1895
1896 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1897
1898         * gfile.[ch]:
1899         Add g_file_query_default_handler utility to easily look up
1900         the GAppInfo that handles a file.
1901         
1902         * gdesktopappinfo.[ch]:
1903         * giomodule.c:
1904         Set up an extension point for g_app_info_get_default_for_uri_scheme()
1905         
1906         * gvfs.c:
1907         Remove unused function
1908
1909 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1910
1911         * gfileenumerator.c:
1912         Mention need to free returned value in
1913         g_file_enumerator_next_files_finish docs.
1914         Fix leak if g_file_enumerator_next_files_finish()
1915         not called.
1916
1917 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1918
1919         * gcontenttype.c:
1920         (_g_unix_content_type_get_parents):
1921         Use list_parents, not get_parents from xdgmime, because
1922         the later doesn't use the cache.
1923         
1924         * xdgmime/xdgmimecache.c:
1925         (_xdg_mime_cache_list_mime_parents):
1926         Don't list the same type as parent multiple times.
1927
1928 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1929
1930         * === Released 2.15.4 ===
1931
1932 2008-01-28  Alexander Larsson  <alexl@redhat.com>
1933
1934         * glocalvfs.c:
1935         Register local vfs with prio 0.
1936         
1937         * gvfs.h:
1938         Remove old name and prio class members
1939
1940 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1941
1942         * tests/g-file.c: Disable some tests that are failing in
1943         the absence of a http backend.
1944
1945 2008-01-28  Alexander Larsson  <alexl@redhat.com>
1946
1947         * giomodule.[ch]:
1948         * gio.symbols:
1949         Add registration hooks for extension points.
1950         Register the gio extension points.
1951         
1952         * fam/gfamdirectorymonitor.c:
1953         * fam/gfamfilemonitor.c:
1954         * glocaldirectorymonitor.[ch]:
1955         * glocalfilemonitor.[ch]:
1956         * gnativevolumemonitor.h:
1957         * gunionvolumemonitor.c:
1958         * gunixvolumemonitor.c:
1959         * gvfs.[ch]:
1960         * gvolumemonitor.h:
1961         * inotify/ginotifydirectorymonitor.c:
1962         * inotify/ginotifyfilemonitor.c:
1963         Use the extension points registration instead
1964         of g_type_children().
1965
1966 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
1967         
1968         * gdrive.[hc]: 
1969         * gvolume.[hc]: Document new API. 
1970
1971         * gfile.c (g_file_copy_async): Fix docs
1972
1973 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
1974
1975         * gbufferedinputstream.c:
1976         * ginputstream.c:
1977         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1978         __FUNCTION__.
1979         
1980 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
1981
1982         * glocalfile.c: Avoid trivial differences in translatable strings.
1983
1984 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1985
1986         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1987         build with gcc 3.4  (#509419)
1988
1989 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1990
1991         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1992         (#509994, Murray Cumming)
1993
1994 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
1995
1996         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1997         * gioscheduler.c: Keep calling io jobs until they return FALSE;
1998         this allows big jobs to be executed in chunks, instead of blocking
1999         the main loop for a long time.
2000
2001         * gsimpleasyncresult.c:
2002         * giofile.c: Adapt callers.
2003
2004 2008-01-25  Alexander Larsson  <alexl@redhat.com>
2005
2006         * gdesktopappinfo.c:
2007         Implement changes discussed on xdg list.
2008         Now we can add supported mimetypes by just using defaults.list
2009         We can also remove associations in defaults.list.
2010
2011 2008-01-25  Alexander Larsson  <alexl@redhat.com>
2012
2013         * gdesktopappinfo.c:
2014         Don't make local copy of desktop file
2015         for mimetype changes if the file already
2016         supports the new mimetype.
2017
2018 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2019
2020         * ginputstream.c:
2021         * goutputstream.c:
2022         * gbufferedinputstream.c:
2023         * glocalfile.c: String improvements.  (#511966, 
2024          Theppitak Karoonboonyanan)
2025
2026 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
2027
2028         * gioscheduler.h: Expand docs a bit.
2029
2030 2008-01-24  Alexander Larsson  <alexl@redhat.com>
2031
2032         * gdrive.[ch]:
2033         Add g_drive_get_identifier and
2034         g_drive_enumerate_identifiers
2035
2036         * gvolume.[ch]:
2037         Add g_volume_get_identifier and
2038         g_volume_enumerate_identifiers
2039         
2040         * gio.symbols:
2041         Add symbols
2042         
2043         * gunixvolume.c:
2044         Implement identifiers for unix backend
2045
2046 2008-01-24  Alexander Larsson  <alexl@redhat.com>
2047
2048         * gfile.[ch]:
2049         * gfile.h:
2050         * gio.symbols:
2051         Add g_file_copy_async() (#511580)
2052         Based on patch from Carlos Garcia Campos
2053
2054 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
2055
2056         * gioscheduler.c: Some documentation additions.
2057
2058 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2059
2060         * gdesktopappinfo.c:
2061         (g_desktop_app_info_new):
2062         Don't leak basename.
2063         
2064 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2065
2066         * gdesktopappinfo.c:
2067         (g_desktop_app_info_new_from_filename):
2068         Don't leak GKeyFile
2069
2070 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2071
2072         * glocalfileinfo.c (get_thumbnail_attributes):
2073         Fix leak of uri
2074
2075 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2076
2077         * glocalfile.c:
2078         (canonicalize_filename):
2079         Canonicalize paths that start with more than
2080         two slashes.
2081         
2082         * tests/g-file.c:
2083         (compare_two_files):
2084         (test_g_file_new_for_path):
2085         Test the above
2086
2087 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2088
2089         * glocalfile.c:
2090         Allow UTF-8 in file:// parse names.
2091         
2092         * tests/Makefile.am:
2093         * tests/data-input-stream.c:
2094         * tests/data-output-stream.c:
2095         * tests/g-file-info.c:
2096         * tests/g-file.c:
2097         Added a bunch of tests from Tomas Bzatek
2098
2099 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
2100
2101         * === Released 2.15.3 ===
2102
2103 2008-01-21  Alexander Larsson  <alexl@redhat.com>
2104
2105         * gfileinputstream.[ch]:
2106         * gfileoutputstream.[ch]:
2107         * gio.symbols:
2108         Remove duplicated GSeekable functions. (#509990)
2109         Just use the g_seekable_xxx() calls instead.
2110
2111 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
2112
2113         * glocal*.c:
2114         * gvolumemanager.c: Whitespace cleanups.
2115
2116         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2117         Use the right mode when creating the file.
2118
2119 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
2120
2121         * gfileenumerator.c:
2122         * gfileinputstream.c:
2123         * ginputstream.c:
2124         * goutputstream.c: Documentation: Fixed minor typos 
2125         and added more mentions of specific _finish() functions.
2126
2127 2008-01-21  Alexander Larsson  <alexl@redhat.com>
2128
2129         * inotify/Makefile.am:
2130         * inotify/inotify-helper.c:
2131         * inotify/inotify-kernel.c:
2132         * inotify/inotify-path.c:
2133         * inotify/local_inotify.h: Removed.
2134         * inotify/local_inotify_syscalls.h: Removed.
2135         Removed the included copies of the inotify
2136         headers. We now only use the <sys/inotify.h>
2137         header which exists on modern systems.
2138         This fixes problems on ARM and SH5 (#510448)
2139         but is also generally much cleaner and future
2140         safe. For instance, if other OSes add support
2141         for inotify it should "just work".
2142
2143 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
2144
2145         * inotify/*.c: Coding style fixes.
2146         * inotify/inotify-missing.c: Use g_timeout_add_seconds
2147         for the 1/4 Hz timer.
2148
2149 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
2150
2151         * gfile.c:
2152         * gfilemonitor.[hc]:
2153         * gmemoryinputstream.c:
2154         * gmemoryoutputstream.c:
2155         * gmountoperation.c:
2156         * gthemedicon.c: Documentation updates
2157
2158 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
2159
2160         * gfile.c: documentation: Fixed more minor 
2161         typos.
2162
2163 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2164
2165         * gmount.c: (g_mount_remount): documentation: 
2166         Mention g_mount_remount_finish() instead of 
2167         g_mount_unmount_finish().
2168
2169 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2170
2171         * gappinfo.c:
2172         * gcancellable.c:
2173         * gfile.c: Fixed some minor typos in the 
2174         documentation. 
2175
2176 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2177
2178         * gio/gvolumemonitor.c: 
2179         (g_volume_monitor_get_connected_drives): 
2180         (g_volume_monitor_get_volumes): 
2181         (g_volume_monitor_get_mounts): Documentation: 
2182         Clarify the ownership of the regurn GLists.
2183
2184 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2185
2186         * gfile.h:
2187         Add the async find_enclosing_mount version
2188         to the header file too.
2189
2190 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2191
2192         * gfile.c:
2193         Add async version of find_enclosing_mount
2194         with default implementation.
2195
2196 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2197
2198         * gfile.c:
2199         (g_file_copy):
2200         (g_file_move):
2201         Allow calls to implementation of copy and write
2202         even if the type of the file implementations is
2203         different. This can be used to implement native
2204         upload and download calls in a vfs.
2205         
2206         * glocalfile.c:
2207         (g_local_file_move):
2208         Protect against the case where move is called
2209         with one file not being local.
2210         
2211         Make sure we call the progress callback once
2212         in the native move operation so that the caller
2213         knows how many bytes were copied.
2214
2215 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
2216
2217         * gappinfo.c:
2218         * gdatainputstream.c:
2219         * gfile.c:
2220         * gfileoutputstream.c:
2221         * ginputstream.c:
2222         * gmount.c:
2223         * goutputstream.c:
2224         * gseekable.c:
2225         * gunixmounts.c: Corrected some typos in the documentation:
2226         occured -> occurred.
2227         its -> it's (where appropriate).
2228
2229 2008-01-16  Alexander Larsson  <alexl@redhat.com>
2230
2231         * gfile.[ch]:
2232         * gio.symbols:
2233         Add g_file_query_exists (#508771)
2234
2235 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
2236
2237         * gdrive.c:
2238         * gfile.c:
2239         * gmount.c:
2240         * gvolume.c: For async functions that have no non-async 
2241         version, document that the GAsyncReadyCallback may be NULL.
2242         Bug #509626.
2243
2244 2008-01-15  Alexander Larsson  <alexl@redhat.com>
2245
2246         * gmemoryinputstream.c:
2247         * gmemoryoutputstream.c:
2248         Don't do pointer arithmetic on void * (#508602)
2249         Patch from Kazuki IWAMOTO
2250
2251 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
2252
2253         * === Released 2.15.2 ===
2254
2255 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2256
2257         * gfile.c (g_file_monitor_file):
2258         Don't set error here, since we fallback to polling monitor.
2259
2260 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2261
2262         * gfile.[ch]:
2263         (g_file_monitor_directory):
2264         (g_file_monitor_file):
2265         Add GError to file monitor calls
2266         
2267         * glocaldirectorymonitor.c:
2268         * glocaldirectorymonitor.h:
2269         * glocalfile.c:
2270         * glocalfilemonitor.c:
2271         * glocalfilemonitor.h:
2272         * gunixmounts.c:
2273         Update for above change
2274
2275 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2276
2277         * glocalfile.c:
2278         (match_prefix):
2279         Handle root correctly in g_file_get_relative_path (#508719)
2280
2281 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2282
2283         * gasyncresult.c:
2284         Clean up docs and example for GAsyncResult (#508074)
2285
2286 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
2287
2288         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
2289         and correct some spelling mistakes. Bug #508108.
2290
2291 2008-01-11  Matthias Clasen <mclasen@redhat.com>
2292
2293         * glocalfileinfo.c: Add a comment.
2294
2295 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
2296
2297         * gfileinfo.c: GFileInfo description: Mention 
2298         how to actually set attributes in a GFile and how to discover 
2299         which attributes are settable. Bug #508378.
2300
2301 2008-01-10  A. Walton  <awalton@svn.gnome.org>
2302
2303         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2304         (g_app_info_get_default_for_type):
2305         Check for NULL content types.
2306
2307 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
2308
2309         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2310
2311 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
2312
2313         * gfile.c: *_async() functions: Several small corrections 
2314         to the documentation, mostly correcting copy/paste errors 
2315         and improving some sentences.
2316
2317 2008-01-09  Dan Winship  <danw@gnome.org>
2318
2319         * glocalfile.c (get_unique_filename): x86_64 fix
2320
2321 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2322
2323         * gio.symbols:
2324         * gunixmount.c:
2325         * gunixmounts.[ch]:
2326         Add g_unix_mount_guess_should_display and use
2327         for unix volume monitor backend.
2328         This means we more or less show what the
2329         gnome-vfs backend did.
2330         Based on patch from Padraig O'Briain
2331
2332 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2333
2334         * gio.symbols:
2335         * gthemedicon.[ch]:
2336         Add g_themed_icon_new_with_default_fallbacks
2337         
2338         * gunixmounts.c:
2339         Use default fallbacks for icons
2340
2341 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2342
2343         * gio-marshal.list:
2344         * gmountoperation.[ch]:
2345         Change the API a bit so that unhandled methods
2346         get reported via the reply, rather than by
2347         the signal emission return value. This is because
2348         some handlers can't know this immediately without
2349         doing I/O, and this is an async operation that
2350         should not block.
2351
2352 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2353
2354         * fam/fam-helper.c:
2355         * fam/gfamdirectorymonitor.c:
2356         * fam/gfamfilemonitor.c:
2357         Fix double free crash (#508224)
2358         Patch from Joe Marcus Clarke
2359
2360 008-01-07  Matthias Clasen  <mclasen@redhat.com>
2361
2362         * === Released 2.15.1 ===
2363
2364 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2365
2366         * gunixinputstream.c (g_unix_input_stream_skip_finish):
2367         Fix warning (#507835)
2368
2369 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2370
2371         * Makefile.am:
2372         Pass --internal to glib-genmarshal
2373         
2374         * gfilemonitor.c:
2375         * gmountoperation.c:
2376         * gio-marshal.list:
2377         Use better types for signal arguments (#507822)
2378
2379 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2380
2381         * Makefile.am:
2382         Build test subdir after .
2383         Remove gdirectorymonitor.[ch]
2384         
2385         * gdirectorymonitor.[ch]:
2386         * gfilemonitor.c:
2387         * gfile.[ch]:
2388         * gio.h:
2389         Remove GDirectoryMonitor and make
2390         GFileMonitor the baseclass for both file and
2391         directory monitors. Lift the more generic
2392         rate limiting code from GDirectoryMonitor
2393         into GFileMonitor.
2394         
2395         * fam/fam-helper.c:
2396         * fam/gfamdirectorymonitor.[ch]:
2397         * inotify/ginotifydirectorymonitor.[ch]:
2398         * inotify/inotify-helper.c:
2399         * glocaldirectorymonitor.[ch]:
2400         * glocalfile.c:
2401         * gvolumemonitor.c:
2402         Update for the removed GDirectoryMonitor.
2403         
2404         * gmemoryoutputstream.c:
2405         Remove ununsed variable
2406
2407 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2408
2409         * gmemoryinputstream.c:
2410         Translate error strings
2411         
2412         * gio.symbols:
2413         * gmemoryoutputstream.[ch]:
2414         New implementation that avoids using GByteArray
2415         in implementation and API. (#506377)
2416
2417 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2418
2419         * tests/*: Add a test for memory input streams.
2420         
2421         * Makefile.am: Add tests to SUBDIRS.
2422
2423 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2424
2425         * glocalfilemonitor.c:
2426         * glocaldirectorymonitor.c: Mark property nicks and blurbs
2427         for translation.
2428
2429 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2430
2431         * gdesktopappinfo.c: Fix a docs typo.
2432
2433         * gfileattribute.c: Add information about extended attributes
2434         to the documentation.  (#505058)
2435
2436 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2437
2438         * gio-marshal.list:
2439         * gmountoperation.c:
2440         Use the right type (uint) for the ask_password signal.
2441
2442 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2443
2444         * gappinfo.[ch]:
2445         * gwin32appinfo.c:
2446         * gio.symbols:
2447         Add g_app_info_supports_files() 
2448         Remove desktop arg from g_app_info_should_show().
2449         
2450         * gdesktopappinfo.[ch]:
2451         Implement g_app_info_supports_files() and new should_show()
2452         Add g_desktop_app_info_set_desktop_env() to set the desktop
2453         for should_show(). (This will be set by gtk+ later)
2454
2455 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2456
2457         * gio.symbols:
2458         * gmemoryinputstream.[ch]:
2459         Improve API so that you can use multiple chunks
2460         of memory and custom destroy functions. (#506374)
2461
2462 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2463
2464         * gfileinfo.c:
2465         Handle NULL attribute matchers safely, as we return this
2466         for empty attribute matcher strings.
2467
2468 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2469
2470         * gunixmounts.c (g_unix_is_mount_path_system_internal):
2471         Add /usr/local to list of internal mountpoints
2472
2473 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2474
2475         * glocalfileinfo.c:
2476         Check for HAVE_LCHOWN (#505887)
2477         
2478 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2479
2480         * gfileinfo.h:
2481         * glocalfileinfo.c:
2482         Add define for selinux context attribute.
2483         Fix missing : -> :: namespace separator change
2484         Fix missing _ -> - name change for xattr-sys.
2485         (#505058)
2486
2487 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2488
2489         * fam/Makefile.am:
2490         Link to libglib and libgobject directly (#504879)
2491         Patch from Sebastien Bacher
2492
2493 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2494
2495         * gfile.c: Expanded the g_file_new_for_commandline_arg
2496         description a bit, based on the code and the docs of the
2497         other g_file_new_for_* functions.
2498
2499 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2500
2501         * gfilemonitor.h: Fixed typo in docs.
2502
2503 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
2504
2505         Updates to GIO documentation. (#506395, Mikael Hermansson)
2506
2507         * gcontenttype.c: Describe memory management for return value of
2508         g_content_types_get_registered(). Missing piece from #505815.
2509         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2510         GVolume, GDrive, GMounts, which hopefully gives the user less
2511         confusions when using this API. Following explainations from
2512         Alexander Larsson on gtk-devel-list.
2513
2514 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2515
2516         * gfileinfo.c: Expand the long description.
2517
2518 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2519
2520         * fam/Makefile.am:
2521         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2522         fix builds with --disable-visibility.  (#500273, Christian Persch)
2523
2524 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2525
2526         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2527         in the list of returned app infos.
2528
2529 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2530
2531         * gappinfo.c: Fix a cross-reference
2532
2533 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2534
2535         * gfileinputstream.c:
2536         * gfileoutputstream.c:
2537         * gloadableicon.h:
2538         * gunixmounts.c:
2539         * gmount.h:
2540         * gdesktopappinfo.c:
2541         * gvolumemonitor.c: 
2542         * gfileinfo.c: Documentation updates.
2543
2544 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
2545
2546         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
2547         Tommi Komulainen)
2548
2549 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
2550
2551         * gcontenttype.c (g_content_types_get_registered): Don't return
2552         freed memory (#505815, Mikael Hermansson)
2553
2554 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
2555
2556         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2557         used to detect statbuf->st_blocks. (#505042)
2558
2559 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2560
2561         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2562         environment handling.  (#504829, Cosimo Cecchi)
2563
2564 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
2565
2566         * gappinfo.c: Doc improvements
2567         
2568         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2569         not ids.
2570
2571 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
2572
2573         * === Released 2.15.0 ===
2574
2575 2007-12-20  Hans Breuer  <hans@breuer.org>
2576
2577         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
2578         with symbols gwin32appinfo.obj, added gmount.obj
2579         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2580
2581 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2582
2583         * gfile.c:
2584         * gfileattribute.c:
2585         * gfileinfo.c:
2586         * gfileinfo.h:
2587         * gfilenamecompleter.c:
2588         * glocalfile.c:
2589         * glocalfileinfo.c:
2590         * gpollfilemonitor.c:
2591         File attribute renames:
2592         std:: -> standard::
2593         fs:: -> filesystem::
2594         id::fs -> id::filesystem
2595         
2596 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2597
2598         * gfile.[ch]:
2599         * gdrive.[ch]:
2600         * gmount.[ch]:
2601         * gvolume.[ch]:
2602         * gunixmount.c:
2603         * gunixvolume.c:
2604         * gio.symbols:
2605         Add GMountUnmountFlags to all unmount and
2606         eject calls.
2607         Add g_mount_remount() call.
2608
2609 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2610
2611         * gvfs.c (get_default_vfs):
2612         Fix unused variable warning
2613
2614 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2615
2616         * pltcheck.sh: Update
2617
2618 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2619
2620         * gunionvolumemonitor.c:
2621         * gunixmount.c: Remove C99 comments
2622
2623 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2624
2625         * gio.symbols: Add some missing symbols
2626
2627 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2628
2629         * giomodule.c:
2630         Make g_io_modules_load_all_in_directory not unuse
2631         loaded modules so that users of it can do stuff
2632         before unloading.
2633         Init internal "module" types.
2634         Initialize static prio and name for types so that
2635         we don't have to load modules to get it.
2636         
2637         * gnativevolumemonitor.h:
2638         * gvolumemonitor.h:
2639         Move is_supported to parent class so that
2640         non-native monitors can avoid being initialized
2641         too. (For instance GDaemonVolumeMonitor if we're
2642         not using GDaemonVfs.)
2643         
2644         * glocaldirectorymonitor.[ch]:
2645         * glocalfilemonitor.[ch]:
2646         * gunionvolumemonitor.c:
2647         * gunixvolumemonitor.c:
2648         * gvfs.c:
2649         Find plugins using the static prio+name to
2650         avoid unnecessarily loading the modules.
2651
2652 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2653
2654         * giomodule.c:
2655         Remove warnings
2656
2657 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2658
2659         * gunionvolumemonitor.c:
2660         Store the native type as GType, not class so that
2661         we can unload it. But still avoid unnecessarily
2662         unload modules.
2663
2664 2007-12-19  David Zeuthen  <davidz@redhat.com>
2665
2666         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2667         add signals 'disconnected' and 'eject-button' on GDrive. Add
2668         signal 'removed' on GVolume and 'unmounted' on GMount.
2669
2670         * gdrive.c: (g_drive_base_init):
2671         * gdrive.h:
2672         * gfile.c: (g_file_mount_mountable),
2673         (g_file_mount_enclosing_volume):
2674         * gio.symbols:
2675         * gioerror.h:
2676         * gmount.c: (g_mount_base_init):
2677         * gmount.h:
2678         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2679         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2680         * gvolume.c: (g_volume_base_init), (g_volume_mount):
2681         * gvolume.h:
2682         * gvolumemonitor.h:
2683
2684 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2685
2686         * *.c: Fix up includes in the section docs.
2687
2688 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2689
2690         * gnativevolumemonitor.h:
2691         * gunionvolumemonitor.c:
2692         * gunixvolumemonitor.c:
2693         Add is_supported() to GNativeVolumeMonitorClass so
2694         that we can avoid having to create an object to see
2695         if the backend is supported at runtime.
2696         Also add name member and an env var to pick a specific
2697         volume monitor backend.
2698         
2699         * gmountprivate.h:
2700         * glocalfile.c:
2701         Add cancellable to _g_mount_get_for_mount_path()
2702         
2703         * glocaldirectorymonitor.c:
2704         * glocalfilemonitor.c:
2705         Avoid loading and unloading modules while sorting.
2706
2707 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2708
2709         * gio.symbols:
2710         * gunixmounts.[hc]: Namespace waste reduction, move some
2711         g_get_unix_mount functions to the g_unix_mount namespace.
2712
2713         * gunixmounts.c:
2714         * gunixvolumemonitor.c:
2715         * glocalfile.c:
2716         * glocaldirectorymonitor.c: Update all callers.
2717
2718         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2719
2720 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2721
2722         * gfile.c:
2723         Add doc comments about what GFile operations are
2724         guaranteed to not block.
2725
2726 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2727
2728         * gunixmounts.c:
2729         Add missing #ifdef fixing OSX build.
2730         (#503334, patch from Richard Hult)
2731
2732 2007-12-14  David Zeuthen  <davidz@redhat.com>
2733
2734         * Makefile.am:
2735         * gio.symbols:
2736         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2737         (g_mount_eject), (g_mount_eject_finish):
2738         * gmount.h:
2739         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2740         (get_volume_for_uuid), (get_mount_for_uuid),
2741         (g_union_volume_monitor_class_init),
2742         (get_default_native_type_with_exclude), (get_default_native_type),
2743         (get_native_type), (update_native_type),
2744         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2745         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2746         (g_unix_mount_can_eject), (eject_unmount_cb),
2747         (eject_unmount_read_error), (eject_unmount_do),
2748         (g_unix_mount_unmount), (g_unix_mount_eject),
2749         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2750         * gunixmounts.c: (g_unix_mount_guess_can_eject),
2751         (g_unix_mount_point_guess_can_eject):
2752         * gunixmounts.h:
2753         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2754         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2755         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2756         (g_unix_volume_mount), (g_unix_volume_eject),
2757         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2758         * gunixvolumemonitor.c: (get_volume_for_uuid),
2759         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2760         (update_mounts):
2761         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2762         (g_volume_eject), (g_volume_eject_finish):
2763         * gvolume.h:
2764         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2765         (g_volume_monitor_get_mount_for_uuid):
2766         * gvolumemonitor.h:
2767
2768         Provide eject() on both GMount and GVolume and utility functions
2769         to guess whether a GUnixMountPoint or GUnixMountEntry should be
2770         ejected. Introduce the concept of UUID's and wire it into GVolume
2771         and GMount and provide API on GVolumeMonitor to find such
2772         instances. Also handle the case where an external
2773         GNativeVolumeMonitor fails to initialize. Lock around the
2774         _g_get_mount_for_mount_path() function such that volume monitor
2775         implementations won't have to do locking themselves.
2776
2777 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2778
2779         * gdesktopappinfo.c:
2780         * gunixmounts.c:
2781         * gfileinfo.c:
2782         * gvolumemonitor.c:
2783         * gfile.h:
2784         * gioscheduler.c:
2785         * gvolume.h: Documentation updates
2786
2787 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2788
2789         * gunixmounts.c:
2790         * gfile.h: Doc updates
2791
2792 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2793
2794         * gcontenttype.c:
2795         * gdesktopappinfo.c: Use hash table iterators.
2796
2797 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2798
2799         * Makefile.am:
2800         * gfileattribute.[ch]:
2801         * gfileattribute-priv.h:
2802         Move GFileAttributeValue to a private header, as
2803         its sort of ugly.
2804         
2805         * gfile.[ch]:
2806         Make set_attribute take a type + a pointer instead
2807         of a GFileAttributeValue.
2808         
2809         * gfileinfo.[ch]:
2810         Fix up for above changes.
2811         Add g_file_info_get_attribute_data to get
2812         all info in one call, g_file_info_get_attribute_status
2813         to get the status and g_file_info_get_attribute_as_string.
2814         
2815         * gio.symbols:
2816         * glocalfile.c:
2817         * glocalfileinfo.[ch]:
2818         Update for changes
2819         
2820         * gunixmounts.c:
2821         Make _guess_type static.
2822
2823 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
2824
2825         * Makefile.am:
2826         * inotify/Makefile.am: Fixed build when srcdir != builddir,
2827         made mkenums and friends use temporary files to avoid leaving
2828         empty generated files on failure (#503470).
2829
2830 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2831
2832         * gmountoperation.h:
2833         Fix AKS -> ASK typo
2834
2835 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2836
2837         * gappinfo.h:
2838         * gfile.[ch]:
2839         * gfileattribute.[ch]:
2840         * gio.symbols:
2841         * glocalfile.c:
2842         * glocalfileoutputstream.c:
2843         * gmountoperation.[ch]:
2844         * goutputstream.[ch]:
2845         Clean up all flags enums to not have _FLAGS in them
2846         Make the names of some of the enums better.
2847
2848         * glocalfileinfo.c:
2849         Fix warning
2850         
2851 2007-12-14  Michael Natterer  <mitch@imendio.com>
2852
2853         * gio.symbols: fix g_io_scheduler symbol names.
2854
2855 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2856
2857         * Makefile.am:
2858         * fam/Makefile.am:
2859         * gappinfo.h:
2860         * gasyncresult.h:
2861         * gbufferedinputstream.h:
2862         * gbufferedoutputstream.h:
2863         * gcancellable.h:
2864         * gcontenttype.h:
2865         * gdatainputstream.h:
2866         * gdataoutputstream.h:
2867         * gdesktopappinfo.h:
2868         * gdirectorymonitor.h:
2869         * gdrive.h:
2870         * gfile.h:
2871         * gfileattribute.h:
2872         * gfileenumerator.h:
2873         * gfileicon.h:
2874         * gfileinfo.h:
2875         * gfileinputstream.h:
2876         * gfilemonitor.h:
2877         * gfilenamecompleter.h:
2878         * gfileoutputstream.h:
2879         * gfilterinputstream.h:
2880         * gfilteroutputstream.h:
2881         * gicon.h:
2882         * ginputstream.h:
2883         * gio.h:
2884         * gioerror.h:
2885         * giomodule.h:
2886         * gioscheduler.h:
2887         * gloadableicon.h:
2888         * gmemoryinputstream.h:
2889         * gmemoryoutputstream.h:
2890         * gmount.h:
2891         * gmountoperation.h:
2892         * goutputstream.h:
2893         * gseekable.h:
2894         * gsimpleasyncresult.h:
2895         * gthemedicon.h:
2896         * gunixinputstream.h:
2897         * gunixmounts.h:
2898         * gunixoutputstream.h:
2899         * gvfs.h:
2900         * gvolume.h:
2901         * gvolumemonitor.h:
2902         * inotify/Makefile.am:
2903         Only allow including <gio/gio.h> from apps
2904
2905 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2906
2907         * gioscheduler.[ch]:
2908         * gsimpleasyncresult.c:
2909         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2910         Split out the send_to_mainloop call into two versions instead
2911         of having the block argument.
2912
2913 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2914
2915         * gcancellable.[ch]:
2916         * gio.symbols:
2917         * gbufferedinputstream.c:
2918         * gfileenumerator.c:
2919         * gfileinputstream.c:
2920         * gfileoutputstream.c:
2921         * ginputstream.c:
2922         * gioscheduler.c:
2923         * goutputstream.c:
2924         g_push/pop_current_cancellable ->
2925         g_cancellable_push/pop_current
2926
2927 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2928
2929         * gfile.[ch]:
2930         * gio.symbols:
2931         Rename g_mount_for_location to g_file_mount_enclosing_volume.
2932
2933 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2934
2935         * gmountoperation.h:
2936         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2937
2938 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2939
2940         * gioscheduler.c:
2941         Fix race condition when freeing proxy in
2942         g_io_job_send_to_mainloop().
2943
2944 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2945
2946         * gfileattribute.c:
2947         * gfileinfo.[ch]:
2948         * glocalfile.c:
2949         * glocalfileinfo.c:
2950         Make attribute namespace separator "::" instead of ":".
2951         Use - instead of _ as separator in attribute names.
2952
2953 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2954
2955         * gbufferedinputstream.h:
2956         * gbufferedoutputstream.h:
2957         * gdatainputstream.h:
2958         * gdataoutputstream.h:
2959         * gdirectorymonitor.h:
2960         * gfileenumerator.h:
2961         * gfileinputstream.h:
2962         * gfilemonitor.h:
2963         * gfileoutputstream.h:
2964         * gfilterinputstream.h:
2965         * gfilteroutputstream.h:
2966         * ginputstream.h:
2967         * glocalfileinputstream.h:
2968         * glocalfileoutputstream.h:
2969         * gmemoryinputstream.h:
2970         * gmemoryoutputstream.h:
2971         * gnativevolumemonitor.h:
2972         * goutputstream.h:
2973         * gunixinputstream.h:
2974         * gunixoutputstream.h:
2975         * gvfs.h:
2976         * gvolumemonitor.h:
2977         s/parent/parent_instance/ in GObjects
2978
2979 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2980
2981         * gdrive.h:
2982         * gmount.h:
2983         * gvolume.h:
2984         No need for padding for interfaces
2985         
2986 2007-12-12  Alexander Larsson  <alexl@redhat.com>
2987
2988         * gappinfo.[ch]:
2989         * gasyncresult.c:
2990         * gbufferedinputstream.c:
2991         * gbufferedoutputstream.c:
2992         * gcancellable.c:
2993         * gcontenttype.c:
2994         * gdatainputstream.[ch]:
2995         * gdesktopappinfo.c:
2996         * gdirectorymonitor.c:
2997         * gfile.[ch]:
2998         * gfileattribute.[ch]:
2999         * gfileicon.[ch]:
3000         * gfileinfo.h:
3001         * gfileinputstream.h:
3002         * gfilemonitor.[ch]:
3003         * gfileoutputstream.[ch]:
3004         * gfilterinputstream.h:
3005         * gfilteroutputstream.h:
3006         * gicon.h:
3007         * gioscheduler.c:
3008         * gloadableicon.[ch]:
3009         * gmemoryinputstream.c:
3010         * gmountoperation.c:
3011         * gthemedicon.c:
3012         Fix up a bunch of details in the docs.
3013
3014         * glocalfileinfo.c:
3015         CR/LF -> LF fixups
3016         
3017 2007-12-11  David Zeuthen  <davidz@redhat.com>
3018
3019         Rework how volumes, drives and volume monitoring is
3020         done. Previosly the model was
3021
3022          GDrive <1-1> GVolume
3023
3024         where a GDrive instance represented a mount point and a GVolume
3025         instance represented a mounted file system. This patch changes it
3026         the model to
3027
3028                 GDrive <1-N> GVolume <1-1> GMount
3029
3030         where GMount now serves the purpose of the old GVolume and the new
3031         GVolume serves the purpose of the old GDrive. In addition the new
3032         GDrive interface is used to represent a collection of GVolume
3033         instances (typically partitions) and also contains utility to query
3034         the state of the physical drive the GDrive object represents (such
3035         as checking for media, polling the drive, ejecting the media etc.).
3036
3037         Also implement mounting and unmounting in the Unix volume monitor
3038         backend. A subquent patch will introduce GDrive support for ejection
3039         of media.
3040
3041         * Makefile.am:
3042         * gdrive.c: (g_drive_is_media_check_automatic),
3043         (g_drive_is_media_removable), (g_drive_has_media),
3044         (g_drive_can_poll_for_media), (g_drive_eject),
3045         (g_drive_eject_finish), (g_drive_poll_for_media),
3046         (g_drive_poll_for_media_finish):
3047         * gdrive.h:
3048         * gfile.c: (g_file_find_enclosing_mount):
3049         * gfile.h:
3050         * gio.symbols:
3051         * glocaldirectorymonitor.c:
3052         (g_local_directory_monitor_constructor), (mounts_changed):
3053         * glocalfile.c: (get_mount_info),
3054         (g_local_file_find_enclosing_mount),
3055         (g_local_file_file_iface_init):
3056         * gnativevolumemonitor.h:
3057         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3058         (get_connected_drives), (g_union_volume_monitor_class_init),
3059         (child_volume_added), (child_volume_removed),
3060         (child_volume_changed), (child_mount_added), (child_mount_removed),
3061         (child_mount_pre_unmount), (child_mount_changed),
3062         (child_drive_changed), (g_union_volume_monitor_add_monitor),
3063         (g_union_volume_monitor_remove_monitor),
3064         (_g_mount_get_for_mount_path):
3065         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3066         (guess_system_internal), (_g_get_unix_mounts),
3067         (_g_get_unix_mount_points), (g_get_unix_mount_at),
3068         (g_unix_mount_free), (g_unix_mount_compare),
3069         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3070         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3071         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3072         (type_to_icon), (g_unix_mount_guess_name),
3073         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3074         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3075         (_resolve_symlink), (_resolve_dev_root):
3076         * gunixmounts.h:
3077         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3078         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3079         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3080         (g_unix_volume_get_name), (g_unix_volume_can_mount),
3081         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3082         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3083         (g_unix_volume_mount), (g_unix_volume_mount_finish),
3084         (g_unix_volume_volume_iface_init):
3085         * gunixvolume.h:
3086         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3087         (get_mounts), (get_volumes), (get_connected_drives),
3088         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3089         (mountpoints_changed), (mounts_changed),
3090         (g_unix_volume_monitor_init),
3091         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3092         (find_mount_by_mountpath), (update_volumes), (update_mounts):
3093         * gunixvolumemonitor.h:
3094         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3095         (g_volume_mount), (g_volume_mount_finish):
3096         * gvolume.h:
3097         * gvolumemonitor.c: (g_volume_monitor_class_init),
3098         (g_volume_monitor_get_connected_drives),
3099         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3100         * gvolumemonitor.h:
3101
3102 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
3103
3104         * gmountoperation.h (GPasswordFlags): Close the gap
3105
3106 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
3107
3108         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3109         * gio.symbols:
3110         * gdesktopappinfo.[hc]: Remove _-prefixes
3111
3112 2007-12-10  Tor Lillqvist  <tml@novell.com>
3113
3114         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3115         gcc warnings.
3116
3117 2007-12-10  Alexander Larsson  <alexl@redhat.com>
3118
3119         * gfile.c (g_file_set_display_name):
3120         Don't hardcode '/' (#502727)
3121
3122 2007-12-09  Hans Breuer  <hans@breuer.org>
3123
3124         * makefile.msc : follow lib naming convention
3125         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3126         for user and group name, tested with ../tests/gio-ls
3127
3128 2007-12-09  A. Walton  <awalton@svn.gnome.org>
3129
3130         * gdesktopappinfo.c:
3131         * gdrive.c:
3132         * gdrive.h:
3133         * gfile.c:
3134         * gfile.h:
3135         * gfileattribute.c:
3136         * gfileenumerator.c:
3137         * gioerror.c:
3138         * gioscheduler.c:
3139         * gioscheduler.h:
3140         * gloadableicon.c:
3141         * gmemoryinputstream.c:
3142         * gmemoryoutputstream.c:
3143         * goutputstream.h:
3144         * gsimpleasyncresult.c:
3145         More documentation cleanup and filling in missing information, bringing
3146         GIO to 99% symbol coverage.
3147
3148 2007-12-08  Hans Breuer  <hans@breuer.org>
3149
3150         [gio compiles and links on win32, not sure how much already works]
3151         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3152         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
3153         base on win32 API; prefer g_lstat() over lstat(); instead of 
3154         localtime_r() use an all GLib implementation on win32;
3155         get_mount_info() still needs a win32 specifc implementation
3156         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
3157         win32_get_file_user_info to get owner/group info without uid/gid
3158         * glocalfileinputstream.c : include <io.h> on win32
3159         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3160         definition, use g_win32_ftruncate() for G_OS_WIN32
3161         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3162         it is available with mingw/w32api but a mess with the M$ Platform SDKs
3163         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3164         * makefile.msc : updated
3165
3166 2007-12-07  Alexander Larsson  <alexl@redhat.com>
3167
3168         * glocalfileenumerator.c (_g_local_file_enumerator_new):
3169         Avoid warning spew if error == NULL
3170         
3171 2007-12-07  Alexander Larsson  <alexl@redhat.com>
3172
3173         * gfile.c:
3174         Update docs wrt etags
3175
3176 2007-12-06  Alexander Larsson  <alexl@redhat.com>
3177
3178         * glocalfileinfo.h:
3179         Include sys/types.h for dev_t (#501919)
3180
3181 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
3182
3183         * gio.symbols:
3184         * pltcheck.sh:
3185         Make abicheck and pltcheck pass.
3186
3187 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3188
3189         * Makefile.am:
3190         * giomodule-priv.h: Added.
3191         * glocaldirectorymonitor.c:
3192         * glocalfilemonitor.c:
3193         * gunionvolumemonitor.c:
3194         * gvfs.c:
3195         Actually add the declaration of _g_io_modules_ensure_loaded
3196
3197 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3198
3199         * gdatainputstream.c:
3200         Fix warnings
3201         
3202         * gio.symbols:
3203         * giomodule.[ch]
3204         * glocaldirectorymonitor.c:
3205         * glocalfilemonitor.c:
3206         * gunionvolumemonitor.c:
3207         * gvfs.c:
3208         Make g_io_modules_ensure_loaded a private function and
3209         don't pass in the dirname. This means we can do magic
3210         directory finding in the win32 version.
3211         Export the actual load-modules-in-directory code so that
3212         gvfs can reuse that.
3213
3214 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3215
3216         * gbufferedinputstream.c:
3217         * gbufferedoutputstream.c:
3218         * gdrive.[ch]:
3219         * gfile.[ch]:
3220         * gfileenumerator.[ch]:
3221         * gfileinputstream.c:
3222         * gfileoutputstream.[ch]:
3223         * gfilterinputstream.c:
3224         * gfilteroutputstream.c:
3225         * ginputstream.[ch]:
3226         * glocalfile.c:
3227         * glocalfileenumerator.c:
3228         * glocalfileinputstream.c:
3229         * glocalfileoutputstream.c:
3230         * gmemoryinputstream.c:
3231         * gmemoryoutputstream.c:
3232         * goutputstream.[ch]:
3233         * gseekable.[ch]:
3234         * gunixdrive.c:
3235         * gunixinputstream.c:
3236         * gunixoutputstream.c:
3237         Rename all struct members named:
3238         read, write, close, truncate, or mount
3239         to foo_fn, as these are reserved names
3240         and could be defined as macros in libc.
3241         (#501645)
3242
3243 2007-12-04  Alexander Larsson  <alexl@redhat.com>
3244
3245         * goutputstream.c:
3246         (g_output_stream_close):
3247         Only call flush if non-null.
3248
3249 2007-11-30  Dan Winship  <danw@gnome.org>
3250
3251         * ginputstream.c (g_input_stream_set_pending): Make this take a
3252         GError and return a gboolean, and do the "outstanding operation"
3253         check (and the "stream is already closed" check) itself.
3254         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3255
3256         * goutputstream.c (g_output_stream_set_pending)
3257         (g_output_stream_clear_pending): Likewise
3258
3259         * gbufferedinputstream.c: 
3260         * gfileinputstream.c: 
3261         * gfileoutputstream.c: Update for that
3262
3263         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3264         Like g_simple_async_report_error_in_idle, but takes a GError
3265         rather than building one.
3266
3267 2007-11-30  Dan Winship  <danw@gnome.org>
3268
3269         * goutputstream.c: Don't cheat and unset the "pending" flag around
3270         inner calls. Instead, call the class method directly rather than
3271         the wrapper function that checks "pending"
3272
3273 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
3274
3275         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3276
3277 2007-12-03  Hans Breuer  <hans@breuer.org>
3278
3279         [start of port to win32/msvc]
3280         * gcancellable.c : HAVE_UNIST_H and _pipe()
3281         * gcontenttype.c : only include <dirent.h> in the UNIX branch
3282         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3283         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
3284         HAVE_UNIST_H
3285         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3286         * glocalvfs.c : use HAVE_PWD_H
3287         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3288         * makefile.msc : new file (maybe later converted to makefile.msc.in)
3289         * Makefile.am : added to EXTRA_DIST
3290
3291 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
3292
3293         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3294         (#499783)
3295
3296 2007-12-03  Alexander Larsson  <alexl@redhat.com>
3297
3298         * glocalfileinfo.c:
3299         Handle OSX style xattrs API (#500506)
3300
3301 2007-12-03  Alexander Larsson  <alexl@redhat.com>
3302
3303         * gfile.[ch]:
3304         * glocalfile.c:
3305         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3306
3307 2007-12-02  A. Walton  <awalton@svn.gnome.org>
3308
3309         * gfile.c:
3310         * gfileattribute.c:
3311         Documentation accuracy fixes.
3312
3313 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
3314
3315         * gioenumtypes.c.template: Fix typo.
3316
3317 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3318
3319         * gioenumtypes.c.template: Make threadsafe get_type() functions.
3320
3321 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3322
3323         * gdirectorymonitor.c:
3324         * gfilemonitor.c: Add properties
3325
3326         * gbufferedoutputstream.c: Don't mark buffer-size property 
3327         as construct-only.
3328
3329 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3330
3331         * gbufferedoutputstream.c: Add auto-grow property.
3332
3333 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3334
3335         * *.c: Unify the capitalization of section headings.
3336
3337 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3338
3339         * gmountoperation.c: Add properties
3340         
3341         * gdatainputstream.c: Turn byte-order and newline-type into
3342         properties.
3343
3344 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3345
3346         * gioenumtypes.[hc].template: Templates for enum registration
3347
3348         * Makefile.am: Generate gioenumtypes.[hc]
3349
3350         * gio.h: Include gioenumtypes.h
3351         * gappinfo.h:
3352         * gfile.h: Add some explicit nicks.
3353
3354         * gio.symbols: Add new symbols
3355
3356         * pltcheck.sh: Adjust
3357
3358 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3359
3360         * *.c: Explain etags and link to the explanation
3361
3362 2007-11-29  Matthias Clasen <mclasen@redhat.com>
3363
3364         * *.c: Explain I/O priority.
3365
3366         * *.c: More coding style fixes.
3367
3368 2007-11-29  Matthias Clasen <mclasen@redhat.com>
3369
3370         * gasyncresult.c: Add another paragraph to the intro,
3371         adjust coding style of example.
3372
3373 2007-11-29  A. Walton <awalton@svn.gnome.org>
3374
3375         * gappinfo.c:
3376           Fixes unknown meaning in GAppLaunchContext docs.
3377         * gfile.c:
3378           Clarify asynchronous ops.
3379         * gfileattribute.c:
3380           Fix entity tag docs.
3381         * gicon.c:
3382         * gthemedicon.c:
3383           Provides missing gtk-doc section, fixes API docs slighly.
3384         * gsimpleasyncresult.c:
3385           Fill in missing info in docs.
3386         * gunixinputstream.c:
3387         * gunixoutputstream.c:
3388           Be more expressive in short description.
3389         * gunixvolume.c:
3390           Remove gtk-doc stubs for non-public API.
3391
3392 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3393
3394         * *.c: Coding style fixups
3395
3396 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3397
3398         * inotify/inotify-helper.c: Don't export the lock from libgio.
3399
3400 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3401
3402         * Makefile.am:
3403         * abicheck.sh: Fix copy-and-paste leftovers 
3404
3405 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3406
3407         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3408
3409 2007-11-28  Alexander Larsson  <alexl@redhat.com>
3410
3411         * Makefile.am:
3412         * gdriveprivate.h:
3413         Removed unnecessary file
3414         
3415         * gdesktopappinfo.[ch]:
3416         * gdummyfile.[ch]:
3417         * gfile.c:
3418         * glocaldirectorymonitor.[ch]:
3419         * glocalfile.[ch]:
3420         * glocalfileenumerator.[ch]:
3421         * glocalfileinputstream.[ch]:
3422         * glocalfilemonitor.[ch]:
3423         * glocalfileoutputstream.[ch]:
3424         * glocalvfs.[ch]:
3425         * gnativevolumemonitor.c:
3426         * gpollfilemonitor.[ch]:
3427         * gunionvolumemonitor.[ch]:
3428         * gunixdrive.[ch]:
3429         * gunixvolume.[ch]:
3430         * gunixvolumemonitor.[ch]:
3431         * gvfs.c:
3432         * gvolumeprivate.h:
3433         * inotify/ginotifydirectorymonitor.[ch]:
3434         * inotify/ginotifyfilemonitor.[ch]:
3435         * inotify/inotify-helper.c:
3436         Append _ to all internal functions
3437         
3438         * gio.symbols:
3439         Add missing symbols
3440         Export symbols needed for modules
3441
3442 2007-11-28  Alexander Larsson  <alexl@redhat.com>
3443
3444         * Makefile.am:
3445         * abicheck.sh: Added.
3446         * makegioalias.pl: Added.
3447         * pltcheck.sh: Added.
3448         * gio.symbols: Added.
3449         * *.c:
3450         * inotify/*.c
3451         Initial work on adding symbol handling.
3452
3453         * gvfs.h:
3454         Correct ifdef guard name
3455
3456         * fam/Makefile.am:
3457         * inotify/Makefile.am:
3458         * xdgmime/Makefile.am:
3459         Include toplevel Makefile.decl
3460
3461 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
3462
3463         * gcontenttype.c: Move doc comments to the unix section.
3464
3465         * *.[hc]: More trivial doc corrections.
3466
3467 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
3468
3469         * gpollfilemonitor.c:
3470         * gunixmounts.c:
3471         * gvfs.c:
3472         * gfile.c:
3473         * gdesktopappinfo.c:
3474         * gwin32appinfo.c:
3475         * gvolume.c:
3476         * glocalvfs.c:
3477         * gvolumemonitor.c:
3478         * gdatainputstream.c:
3479         * gdatainputstream.h:
3480         * gdataoutputstream.c:
3481         * gdataoutputstream.h:
3482         * gfileinfo.h: Doc cleanups
3483
3484 2007-11-28  Andre Klapper  <a9016009@gmx.de>
3485
3486         * gdesktopappinfo.c: Fix a typo.
3487
3488 2007-11-27  Andre Klapper  <a9016009@gmx.de>
3489
3490         * glocalfileoutputstream.c: Fix a typo.
3491
3492 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3493
3494         * gio.h:
3495         Don't include removed headers
3496
3497 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3498
3499         * Makefile.am:
3500         * gsocketinputstream.[ch]: Removed.
3501         * gsocketoutputstream.[ch]: Removed.
3502         * gunixinputstream.[ch]: Added.
3503         * gunixoutputstream.[ch]: Added.
3504         Renamed GSocket*Stream to GUnix*Stream and made
3505         it unix-only, since its not really only for sockets
3506         and it only works on unix (but is highly useful there).
3507
3508 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
3509         * gappinfo.c:
3510         * gappinfo.h:
3511         * gasynchelper.c:
3512         * gasyncresult.c:
3513         * gasyncresult.h:
3514         * gbufferedinputstream.c:
3515         * gbufferedinputstream.h:
3516         * gbufferedoutputstream.c:
3517         * gbufferedoutputstream.h:
3518         * gcancellable.c: 
3519         * gcancellable.h:
3520         * gcontenttype.c:
3521         * gdatainputstream.c:
3522         * gdatainputstream.h:
3523         * gdataoutputstream.c:
3524         * gdataoutputstream.h:
3525         * gdirectorymonitor.c:
3526         * gdirectorymonitor.h:
3527         * gdrive.c: 
3528         * gdrive.h:
3529         * gfile.c:
3530         * gfile.h:
3531         * gfileattribute.c:
3532         * gfileattribute.h:
3533         * gfileenumerator.c:
3534         * gfileenumerator.h:
3535         * gfileicon.c:
3536         * gfileicon.h:
3537         * gfileinfo.c:
3538         * gfileinfo.h:
3539         * gfileinputstream.c:
3540         * gfileinputstream.h:
3541         * gfilemonitor.c:
3542         * gfilemonitor.h:
3543         * gfilenamecompleter.c:
3544         * gfilenamecompleter.h:
3545         * gfileoutputstream.c:
3546         * gfileoutputstream.h:
3547         * gfilterinputstream.c:
3548         * gfilterinputstream.h:
3549         * gfilteroutputstream.c:
3550         * gfilteroutputstream.h:
3551         * gicon.c:
3552         * gicon.h:
3553         * ginputstream.c:
3554         * ginputstream.h:
3555         * gioerror.c:
3556         * gioerror.h:
3557         * giomodule.c:
3558         * giomodule.h:
3559         * gioscheduler.c:
3560         * gioscheduler.h:
3561         * gloadableicon.c:
3562         * gloadableicon.h:
3563         * glocalfileoutputstream.c:
3564         * gmemoryinputstream.c:
3565         * gmemoryinputstream.h:
3566         * gmemoryoutputstream.c:
3567         * gmemoryoutputstream.h:
3568         * gmountoperation.c: 
3569         * gmountoperation.h:
3570         * goutputstream.c:
3571         * goutputstream.h:
3572         * gpollfilemonitor.c:
3573         * gseekable.c:
3574         * gseekable.h:
3575         * gsimpleasyncresult.c:
3576         * gsimpleasyncresult.h:
3577         * gsocketinputstream.c:
3578         * gsocketinputstream.h:
3579         * gsocketoutputstream.c:
3580         * gsocketoutputstream.h:
3581         * gthemedicon.c:
3582         * gthemedicon.h:
3583         * gunixdrive.c:
3584         * gunixmounts.c: 
3585         * gunixmounts.h:
3586         * gunixvolume.c:
3587         * gunixvolumemonitor.c:
3588         * gurifuncs.c:
3589         * gurifuncs.h:
3590         * gvfs.c:
3591         * gvfs.h:
3592         * gvolume.c:
3593         * gvolume.h:
3594         * gvolumemonitor.c: 
3595         * gvolumemonitor.h:
3596         Bumps documentation to 93% symbol coverage, touching most 
3597         of the public files. Fixes broken function documentation prototypes. 
3598         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
3599         gtk-doc headers in private files.
3600
3601 2007-11-27  Jürg Billeter  <j@bitron.ch>
3602
3603         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3604         (g_buffered_input_stream_read_byte):
3605         * gbufferedinputstream.h:
3606         New functions for efficient access to buffer and simple single byte
3607         reads.
3608
3609         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3610         (g_data_input_stream_read_until):
3611         * gdatainputstream.h:
3612         Use peek_buffer to avoid memcpy in scan_for_newline, implement
3613         read_until with multiple stop chars.
3614
3615 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3616
3617         * Makefile.am:
3618         * fam/Makefile.am:
3619         * inotify/Makefile.am:
3620         Use the user-specified giomoduledir
3621
3622 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3623
3624         * Makefile.am
3625         * gio.h:
3626         Add catch-all gio.h header
3627         Don't install gdummyfile.h
3628
3629 2007-11-26  Alexander Larsson  <alexl@redhat.com>
3630
3631         * Makefile.am (gioinclude_HEADERS):
3632         Remove trailing whitespace
3633         
3634 2007-11-26  Alexander Larsson  <alexl@redhat.com>
3635
3636         Merge gio-standalone into glib
3637
3638 2007-11-25  Christian Kellner  <gicmo@gnome.org>
3639
3640         * gio/goutputstream.c:
3641         Fix small mistake in the docs.
3642
3643 2007-11-21  Christian Persch  <chpe@gnome.org>
3644
3645         * gio/glocalfile.c: (g_local_file_trash):
3646         Convert filenames to UTF-8 for GError.
3647         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3648         as per xdg base dir spec.
3649
3650 2007-11-21  Christian Persch  <chpe@gnome.org>
3651
3652         * gio/gdesktopappinfo.c:
3653         Use that g_key_file_to_data cannot fail.
3654         Some misc cleanups.
3655         Use stock defines for the key file group and key names.
3656         Use bitfields.
3657
3658 2007-11-21  Alexander Larsson  <alexl@redhat.com>
3659
3660         * gio/gfile.c:
3661         (copy_stream_with_progress):
3662         Make sure we do a final progress callback with
3663         the full total size.
3664
3665 2007-11-21  Alexander Larsson  <alexl@redhat.com>
3666
3667         * gio/gfile.[ch]:
3668         Export g_file_copy_attributes
3669         Remove padding as its not needed for interfaces
3670
3671 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3672
3673         * gio/gfile.c:
3674         * gio/gioerror.h:
3675         * gio/glocalfile.c:
3676         Add G_IO_ERROR_WOULD_MERGE for
3677         copy/move dir on dir with overwrite.
3678
3679 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3680
3681         * gio/gfileinfo.h:
3682         * gio/glocalfileinfo.c:
3683         Add COPY_NAME (this is an optional
3684         non-modified utf8 version of the name) that
3685         can roundtrip.
3686
3687 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3688
3689         * gio/glocalfileenumerator.c:
3690         Report errors as GIOError, not GFileError
3691
3692 2007-11-16  Alexander Larsson  <alexl@redhat.com>
3693
3694         * gio/glocalfileoutputstream.c:
3695         * gio/gwin32appinfo.c:
3696         Fix typos in strings.
3697         Patch from Luca Ferretti <elle.uca@libero.it>
3698
3699 2007-11-15  Alexander Larsson  <alexl@redhat.com>
3700
3701         * configure.ac:
3702         Post release version bump
3703
3704 === gio-standalone 0.1.2 ===
3705
3706 2007-11-15  Alexander Larsson  <alexl@redhat.com>
3707
3708         * docs/reference/gio/Makefile.am:
3709         Fix up distcheck by removing weird
3710         non-needed stuff
3711
3712         * NEWS:
3713         Update for release
3714
3715 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3716
3717         * gio/gdesktopappinfo.c:
3718         * gio/glocaldirectorymonitor.c:
3719         * gio/glocalfile.c:
3720         * gio/glocalfileinfo.c:
3721         * gio/inotify/inotify-sub.c:
3722         * programs/gio-cat.c:
3723         * programs/gio-copy.c:
3724         * programs/gio-info.c:
3725         * programs/gio-ls.c:
3726         * programs/gio-monitor-dir.c:
3727         * programs/gio-monitor-file.c:
3728         * programs/gio-mount.c:
3729         * programs/gio-move.c:
3730         * programs/gio-rm.c:
3731         * programs/gio-save.c:
3732         * programs/gio-trash.c:
3733         Leak fixes from Kjartan Maraas
3734
3735 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3736
3737         * gio/fam/fam-helper.c:
3738         * gio/gdrive.[ch]:
3739         * gio/glocalfileinfo.c:
3740         * gio/gunixdrive.c:
3741         * gio/gvfs.c:
3742         * gio/gvolume.[ch]:
3743         * gio/inotify/inotify-diag.c:
3744         * gio/inotify/inotify-kernel.c:
3745         Various code cleanups from Kjartan Maraas
3746
3747 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3748
3749         * gio/gioscheduler.c:
3750         (init_scheduler):
3751         Set up threadpool so that we cache 2 unused
3752         idle threads for at 15 secs. This means we
3753         will reuse thread-local data (like dbus connections)
3754         for them.
3755
3756 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3757
3758         * gio/fam/fam-helper.c:
3759         * gio/fam/gfamdirectorymonitor.c:
3760         * gio/fam/gfamfilemonitor.c:
3761         * gio/gappinfo.c:
3762         * gio/gcontenttype.c:
3763         * gio/gdatainputstream.c:
3764         * gio/gdataoutputstream.c:
3765         * gio/gdummyfile.c:
3766         * gio/gfile.c:
3767         * gio/gfile.h:
3768         * gio/gfileattribute.h:
3769         * gio/gfileenumerator.c:
3770         * gio/gfileinfo.c:
3771         * gio/ginputstream.c:
3772         * gio/gioerror.h:
3773         * gio/glocalfile.c:
3774         * gio/glocalfileinfo.c:
3775         * gio/goutputstream.c:
3776         * gio/gpollfilemonitor.c:
3777         * gio/gsimpleasyncresult.c:
3778         * gio/gunixmounts.c:
3779         * gio/gunixmounts.h:
3780         * gio/inotify/ginotifydirectorymonitor.c:
3781         * gio/inotify/ginotifyfilemonitor.c:
3782         * gio/inotify/inotify-diag.c:
3783         * gio/inotify/inotify-kernel.c:
3784         * gio/inotify/inotify-path.c:
3785         * gio/test-gio.c:
3786         * gio/test-streams.c:
3787         * programs/gio-info.c:
3788         * programs/gio-monitor-dir.c:
3789         * programs/gio-monitor-file.c:
3790         Various code cleanups from Kjartan Maraas
3791
3792 2007-11-13  Alexander Larsson  <alexl@redhat.com>
3793
3794         * gio/gdummyfile.c:
3795         Handle the uri-scheme calls for dummy files
3796
3797 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3798
3799         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3800         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3801         to avoid clash with the C++ keyword.
3802
3803 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3804
3805         * gio/glocalfileinfo.c: Build fix, added missing semicolon
3806         to an ifdef'ed call to getpwuid() in lookup_uid_data().
3807
3808 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
3809
3810         * gio/glocaldirectorymonitor.c:
3811         * gio/glocalfilemonitor.c:
3812         * gio/gunionvolumemonitor.c:
3813         Don't use g_once_init_*() for initializations that could fail and
3814         could leave the initialization variable set to 0 but use GOnce.
3815         This prevents a deadlock on the second call when trying to create
3816         a monitor and no monitor type is available. Thanks to Sven Herzberg
3817         for reporting.
3818
3819 2007-11-11  Sven Herzberg  <sven@imendio.com>
3820
3821         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3822         #ifdef (make it work on MacOS X again)
3823
3824 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
3825         * Changelog:
3826         Fixes Changelog for last two commits (sorry guys).
3827
3828 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3829         * gio/gappinfo.c:
3830         * gio/gbufferedinputstream.c:
3831         * gio/gdatainputstream.c:
3832         * gio/gfile.c:
3833         * gio/gfileoutputstream.c:
3834         * gio/gfilterinputstream.c:
3835         * gio/glocalfileinputstream.c:
3836         * gio/gurifuncs.c:
3837         * gio/gvfs.c:
3838         More consistency fixes in g*stream.c files. 
3839         Significant clean of gfile's documentation, filling in of 
3840         asynchronous operations documentation.
3841
3842 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3843         * gio/gappinfo.c:
3844         * gio/gasyncresult.c:
3845         * gio/gbufferedinputstream.c:
3846         * gio/gbufferedoutputstream.c:
3847         * gio/gcancellable.c:
3848         * gio/gcontenttype.c:
3849         * gio/gdatainputstream.c:
3850         * gio/gdataoutputstream.c:
3851         * gio/gdesktopappinfo.c:
3852         * gio/gdrive.c:
3853         * gio/gfile.c:
3854         * gio/gfileattribute.c:
3855         * gio/gio/gfileenumerator.c:
3856         * gio/gfileinfo.c:
3857         * gio/gfileinputstream.c:
3858         * gio/gfilemonitor.c:
3859         * gio/gfileoutputstream.c:
3860         * gio/ginputstream.c:
3861         * gio/giomodule.c:
3862         * gio/gioscheduler.c:
3863         * gio/gloadableicon.c:
3864         * gio/glocalfileoutputstream.c:
3865         * gio/gmemoryoutputstream.c:
3866         * gio/gmountoperation.c:
3867         * gio/goutputstream.c:
3868         * gio/gseekable.c:
3869         * gio/gsimpleasyncresult.c:
3870         * gio/gunionvolumemonitor.c:
3871         * gio/gunixmounts.c:
3872         * gio/gunixvolume.c:
3873         * gio/gurifuncs.c:
3874         * gio/gvfs.c:
3875         * gio/gvolume.c:
3876         * gio/gvolumemonitor.c:
3877         Updated documentation stubs, working towards consistency and 
3878         completeness.
3879
3880 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3881
3882         * gio/gmemoryoutputstream.c:
3883         * gio/gmemoryoutputstream.h:
3884         Change g_memory_output_stream_set_free_on_close() to
3885         g_memory_output_stream_set_free_data() as this makes more sense and
3886         is more consistent with GMemoryInputStream.
3887
3888 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3889
3890         * gio/gfile.c:
3891         Fix some docs
3892         
3893         * gio/glocalvfs.c:
3894         * gio/gvfs.[ch]:
3895         Change how we find the default vfs so that
3896         we can handle a gvfs failing to init
3897
3898 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3899
3900         * gio/gbufferedoutputstream.c:
3901         * gio/gdatainputstream.c:
3902         * gio/gdataoutputstream.c:
3903         * gio/gfileinputstream.c:
3904         * gio/gfileoutputstream.c:
3905         * gio/gfilterinputstream.c:
3906         * gio/gfilteroutputstream.c:
3907         * gio/ginputstream.c:
3908         * gio/gmemoryinputstream.c:
3909         * gio/gmemoryoutputstream.c:
3910         * gio/goutputstream.c:
3911         * gio/gsimpleasyncresult.c:
3912         * gio/gsocketinputstream.c:
3913         * gio/gsocketoutputstream.c:
3914         Add guards to the remaining public functions, add a TODO for
3915         an unimplemented function and remove some useless guards.
3916
3917 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3918
3919         * configure.ac:
3920         Autoconf checks for the various types of
3921         getpwuid_r and getgrgid_r
3922         
3923         * gio/glocalfileinfo.c:
3924         Use the autoconf checks from above
3925
3926 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3927
3928         * gio/glocalfile.c:
3929         (g_local_file_query_filesystem_info):
3930         Some fixes for the statvfs case
3931         
3932 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3933
3934         * gio/glocalfile.c:
3935         (g_local_file_query_filesystem_info):
3936         Pick the "best" of statfs / statvfs for the system
3937         if both are availible.
3938
3939 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3940
3941         Solaris fixes from Halton.Huo@Sun.COM:
3942         
3943         * gio/gdrive.c:
3944         * gio/gfile.c:
3945         * gio/gvolume.c:
3946         Don't return void
3947         
3948         * gio/glocalfileinfo.c:
3949         Fix for solaris definition of getpwuid_r
3950         
3951         * gio/test-streams.c:
3952         Use G_GNUC_PRETTY_FUNCTION
3953
3954 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3955
3956         * gio/gdesktopappinfo.c:
3957         (update_default_list):
3958         Remove double semicolon.
3959         Patch from Jens Granseuer
3960
3961 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3962
3963         * docs/reference/gio/gio-sections.txt:
3964         * gio/gbufferedinputstream.c:
3965         * gio/gbufferedinputstream.h:
3966         * gio/gdatainputstream.c:
3967         * gio/gfileenumerator.c:
3968         * gio/gioscheduler.c:
3969         * gio/gunionvolumemonitor.c:
3970         * gio/gvfs.c:
3971         * programs/gio-save.c:
3972         Fix typo: availible -> available. Unfortuntely this breaks API
3973         and ABI as g_buffered_input_stream_get_available() was renamed.
3974         
3975         * gio/gunixmounts.c:
3976         * gio/gbufferedinputstream.c:
3977         Add guards for public functions.
3978
3979 2007-11-06  Ross Burton  <ross@openedhand.com>
3980
3981         * docs/reference/gio/Makefile.am:
3982         Fix invalid += usage which automake 1.10 doesn't like.
3983
3984 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3985
3986         * gio/gappinfo.c:
3987         (g_app_launch_context_class_init):
3988         Fix warning
3989
3990         Patch from Ross Burton 
3991         
3992 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3993
3994         * configure.ac:
3995         Post release version bump
3996
3997 === gio-standalone 0.1.1 ===
3998
3999 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4000
4001         * configure.ac:
4002         Bump version to 0.1.1
4003         
4004         * gio/gsimpleasyncresult.c:
4005         (g_simple_async_result_set_from_error):
4006         Remove bogus g_return_if_fail
4007
4008 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4009
4010         * configure.ac:
4011         The name is gio-standalone
4012         
4013         * gio/Makefile.am:
4014         Add top src/builddir to includedir
4015
4016 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4017
4018         * docs/reference/gio/gio-sections.txt:
4019         * gio/gappinfo.c:
4020         * gio/gbufferedinputstream.c:
4021         * gio/gbufferedoutputstream.c:
4022         * gio/gcancellable.c:
4023         * gio/gdatainputstream.h:
4024         * gio/gdataoutputstream.c:
4025         * gio/gdataoutputstream.h:
4026         * gio/gdirectorymonitor.c:
4027         * gio/gfile.c:
4028         * gio/gfileattribute.c:
4029         * gio/gfileattribute.h:
4030         * gio/gfileenumerator.c:
4031         * gio/gfileenumerator.h:
4032         * gio/gfileinfo.c:
4033         * gio/gfileinfo.h:
4034         * gio/gfileinputstream.h:
4035         * gio/gfilemonitor.c:
4036         * gio/gfileoutputstream.h:
4037         * gio/glocalfilemonitor.h:
4038         * gio/glocalfileoutputstream.h:
4039         * gio/gmemoryinputstream.c:
4040         * gio/gmemoryoutputstream.c:
4041         * gio/gmountoperation.c:
4042         * gio/goutputstream.c:
4043         * gio/goutputstream.h:
4044         * gio/gseekable.h:
4045         * gio/gsimpleasyncresult.c:
4046         * gio/gunixmounts.c:
4047         * gio/gunixmounts.h:
4048         * gio/gurifuncs.h:
4049         * gio/inotify/inotify-helper.c:
4050         Fix gtk-doc warnings
4051
4052         Patch from Ross Burton 
4053         
4054 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4055
4056         * gio/gfilenamecompleter.c:
4057         (g_filename_completer_get_completions):
4058         fix warning
4059         
4060         * gio/gunixvolume.c:
4061         Remove unused function
4062
4063         Patches from Ross Burton 
4064
4065 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4066
4067         * gio/gdrive.h:
4068         * gio/gseekable.h:
4069         * gio/gvolume.h:
4070         Padding not needed for interfaces
4071
4072 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4073
4074         * gio/gfilemonitor.c:
4075         Remove debug spew
4076
4077         * gio/Makefile.am:
4078         Make giotypes.h an internal file
4079         
4080         * gio/gappinfo.h:
4081         * gio/gbufferedinputstream.h:
4082         * gio/gbufferedoutputstream.h:
4083         * gio/gcancellable.h:
4084         * gio/gdatainputstream.h:
4085         * gio/gdataoutputstream.h:
4086         * gio/gdirectorymonitor.c:
4087         * gio/gdirectorymonitor.h:
4088         * gio/gdrive.c:
4089         * gio/gdrive.h:
4090         * gio/gfile.c:
4091         * gio/gfile.h:
4092         * gio/gfileattribute.h:
4093         * gio/gfileenumerator.h:
4094         * gio/gfileicon.c:
4095         * gio/gfileicon.h:
4096         * gio/gfileinfo.c:
4097         * gio/gfileinfo.h:
4098         * gio/gfilemonitor.c:
4099         * gio/gfilemonitor.h:
4100         * gio/gfilenamecompleter.c:
4101         * gio/gfilenamecompleter.h:
4102         * gio/gfilterinputstream.h:
4103         * gio/gfilteroutputstream.h:
4104         * gio/ginputstream.h:
4105         * gio/gmemoryinputstream.h:
4106         * gio/gmemoryoutputstream.h:
4107         * gio/gmountoperation.c:
4108         * gio/gmountoperation.h:
4109         * gio/gnativevolumemonitor.c:
4110         * gio/goutputstream.h:
4111         * gio/gseekable.c:
4112         * gio/gseekable.h:
4113         * gio/gsimpleasyncresult.c:
4114         * gio/gsimpleasyncresult.h:
4115         * gio/gsocketinputstream.h:
4116         * gio/gsocketoutputstream.h:
4117         * gio/gthemedicon.c:
4118         * gio/gthemedicon.h:
4119         * gio/gvfs.h:
4120         * gio/gvolume.c:
4121         * gio/gvolume.h:
4122         * gio/gvolumemonitor.c:
4123         * gio/gvolumemonitor.h:
4124         Add padding in classes where it seems useful
4125         Don't include giotypes.h from public headers
4126         Move in Class definitions into c file where possible
4127         
4128         * gio/glocalfile.c:
4129         Fix warnings
4130
4131 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4132
4133         * docs/reference/gio/gio-docs.xml:
4134         Better structure for API docs
4135
4136 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4137
4138         * gio/gfileicon.c:
4139         * gio/gloadableicon.c:
4140         * gio/gsimpleasyncresult.c:
4141         * gio/gthemedicon.c:
4142         Add some more guards to public functions. Only files missing are now
4143         g*stream*.c.
4144
4145 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4146
4147         * docs/reference/gio/gio-docs.xml:
4148         Remove old files, add missing ones
4149
4150 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4151
4152         * docs/reference/gio/gio-sections.txt:
4153         Restructure
4154         Add missing stuff
4155         Hide implementation classes
4156         
4157         * gio/gdriveprivate.h:
4158         * gio/gvolumeprivate.h:
4159         Remove non-existing function declarations
4160
4161 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4162
4163         * gio/gappinfo.c:
4164         Fix compilation warnings and add guards to the new functions.
4165         
4166         * gio/gasyncresult.c:
4167         * gio/gdummyfile.c:
4168         Add guards to the public functions.
4169         
4170         * gio/gdummyfile.c:
4171         Implement get_path().
4172
4173 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4174
4175         * gio/gfilenamecompleter.c:
4176         Make g_filename_completer_get_completions
4177         return char ** instead of GList for
4178         typesafety.
4179         
4180         * docs/reference/gio/gio-docs.xml:
4181         * docs/reference/gio/gio-sections.txt:
4182         * gio/gappinfo.c:
4183         * gio/gasyncresult.c:
4184         * gio/gbufferedinputstream.c:
4185         * gio/gbufferedoutputstream.c:
4186         * gio/gcancellable.c:
4187         * gio/gcontenttype.c:
4188         * gio/gdatainputstream.c:
4189         * gio/gdataoutputstream.c:
4190         * gio/gdesktopappinfo.c:
4191         * gio/gdirectorymonitor.c:
4192         * gio/gdrive.c:
4193         * gio/gdummyfile.c:
4194         * gio/gfile.c:
4195         * gio/gfileattribute.c:
4196         * gio/gfileenumerator.c:
4197         * gio/gfileicon.c:
4198         * gio/gfileinfo.c:
4199         * gio/gfileinputstream.c:
4200         * gio/gfilemonitor.c:
4201         * gio/gfilenamecompleter.c:
4202         * gio/gfilenamecompleter.h:
4203         * gio/gfileoutputstream.c:
4204         * gio/gfilterinputstream.c:
4205         * gio/gicon.c:
4206         * gio/ginputstream.c:
4207         * gio/giomodule.c:
4208         * gio/gioscheduler.c:
4209         * gio/gloadableicon.c:
4210         * gio/glocaldirectorymonitor.c:
4211         * gio/glocalfile.c:
4212         * gio/glocalfileinputstream.c:
4213         * gio/glocalfilemonitor.c:
4214         * gio/glocalfileoutputstream.c:
4215         * gio/glocalvfs.c:
4216         * gio/gmemoryinputstream.c:
4217         * gio/gmemoryoutputstream.c:
4218         * gio/gmountoperation.c:
4219         * gio/goutputstream.c:
4220         * gio/gpollfilemonitor.c:
4221         * gio/gseekable.c:
4222         * gio/gsimpleasyncresult.c:
4223         * gio/gsocketinputstream.c:
4224         * gio/gsocketoutputstream.c:
4225         * gio/gthemedicon.c:
4226         * gio/gunionvolumemonitor.c:
4227         * gio/gunixdrive.c:
4228         * gio/gunixmounts.c:
4229         * gio/gunixvolume.c:
4230         * gio/gunixvolumemonitor.c:
4231         * gio/gurifuncs.c:
4232         * gio/gvfs.c:
4233         * gio/gvolume.c:
4234         * gio/gvolumemonitor.c:
4235         * gio/gwin32appinfo.c:
4236         Add (mostly stub) doc strings to public functions.
4237         Patch from Andrew Walton (awalton@gmail.com)
4238
4239 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4240
4241         * gio/gappinfo.[ch]:
4242         Added GAppLaunchContext object and pass that to launch.
4243         This allows simple implementation of both
4244         launch-on-screen and startup notification via a gtk+
4245         subclass of GAppLaunchContext
4246         
4247         * gio/gdesktopappinfo.c:
4248         Implement GAppLaunchContext API
4249         
4250         * gio/gwin32appinfo.c:
4251         Update to new APIs
4252
4253 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4254
4255         * gio/gmountoperation.c:
4256         Add some guards to GMountOperation's public functions.
4257
4258 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4259
4260
4261         * gio/gappinfo.c:
4262         * gio/gcancellable.c:
4263         * gio/gdirectorymonitor.c:
4264         * gio/gdrive.c:
4265         * gio/gfileenumerator.c:
4266         * gio/gfilemonitor.c:,
4267         * gio/gfilenamecompleter.c:
4268         * gio/gicon.c:
4269         * gio/giomodule.c:
4270         * gio/gioscheduler.c:
4271         * gio/gseekable.c:
4272         * gio/gurifuncs.c:
4273         * gio/gvolume.c:
4274         * gio/gvolumemonitor.c:
4275         Add even more guards to various public functions.
4276
4277 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4278
4279         * gio/gappinfo.c:
4280         Add guards to the public functions of GAppInfo.
4281
4282 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4283
4284         * gio/gcontenttype.c:
4285         Add some more guards for public functions.
4286
4287 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4288
4289         * gio/fam/fam-module.c:
4290         * gio/fam/gfamdirectorymonitor.c:
4291         * gio/fam/gfamdirectorymonitor.h:
4292         * gio/fam/gfamfilemonitor.c:
4293         * gio/fam/gfamfilemonitor.h:
4294         * gio/inotify/ginotifydirectorymonitor.c:
4295         * gio/inotify/ginotifydirectorymonitor.h:
4296         * gio/inotify/ginotifyfilemonitor.c:
4297         * gio/inotify/ginotifyfilemonitor.h:
4298         Add proper copyright information and remove an unused variable
4299         in the GInotifyFileMonitor constructor.
4300
4301         * gio/gcancellable.c:
4302         Add a guard for a public function and an assertion to prevent
4303         an undefined program state.
4304
4305 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4306
4307         * gio/gfileattribute.c:
4308         Don't run into an assertion if the given attribute value is NULL
4309         in g_file_attribute_value_get_*() but instead return a fallback
4310         value that makes sense in most situations. Passing them a attribute
4311         value with the wrong type will still run into an assertion.
4312
4313 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4314
4315         * gio/gfileattribute.c:
4316         * gio/gfileinfo.c:
4317         Add even more guards to the public functions. Also fix the refcounting
4318         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4319         let g_file_info_list_attributes() filter the attributes by namespace
4320         instead of simply ignoring the namespace parameter.
4321
4322 2007-11-03  Sven Herzberg  <sven@imendio.com>
4323
4324         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4325         (This makes gio work on MacOS X again)
4326
4327 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4328
4329         * Makefile.am:
4330         Build the gio subdirectory before the docs. Otherwise the build will
4331         fail.
4332
4333         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4334         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4335         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4336         Add guards to the public functions.
4337
4338 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4339
4340         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4341         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4342         to prevent a compiler warning.
4343
4344         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4345         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4346         return something in the non-void function find_topdir_for().
4347
4348 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
4349
4350         * configure.ac:
4351         * Makefile.am:
4352         * docs/:
4353         Gtkdocify!
4354
4355 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
4356
4357         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4358         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4359         * gwin32appinfo.c (g_win32_app_info_launch):
4360         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4361         envp_for_startup_id, g_desktop_app_info_launch,
4362         g_desktop_app_info_launch_uris):
4363
4364         Give an opaque 'startup_id' string instead of 'envp'.
4365         Support empty file lists for launching new windows.
4366         Fix infinite recursion bug when launching URIs.
4367
4368 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4369
4370         * gio/gfile.c:
4371         Add guard to the new g_file_get_uri_scheme() function.
4372
4373 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4374
4375         * gio/gfile.c:
4376         Convert a g_return_val_if_fail() to setting the GError instead as
4377         otherwise applications have to verify the parameter before otherwise
4378         and the parameter might come directly from the user.
4379
4380 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4381
4382         * gio/inotify/ginotify*.[ch]:
4383         Add missing copyright information.
4384
4385 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4386
4387         * gio/gfile.c:
4388         Add guards in the beginning of public functions to check for valid
4389         parameters and fix a bug in copy_stream_with_progress() that could've
4390         caused writing less bytes than reading.
4391         * gio/glocalfileinfo.c:
4392         Check for a NULL parameter and set the GError accordingly then.
4393         * gio/goutputstream.c:
4394         Fix the same bug as in gfile.c that could've caused writing less bytes
4395         than reading in g_output_stream_real_splice().
4396
4397 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
4398
4399         * gio/Makefile.am:
4400         Use the correct gvolumeprivate.h naming
4401
4402 2007-11-01  Christian Kellner  <gicmo@gnome.org>
4403
4404         * gio/Makefile.am:
4405         Remove leftover "$(daemon_sources)" entry.
4406
4407 2007-11-01  Christian Kellner  <gicmo@gnome.org>
4408
4409         * gio/fam/*.[ch]:
4410         * gio/*.[ch]:
4411         * programs/*.[ch]:
4412         Add copyright information to source files.
4413
4414 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4415
4416         * gio/gfile.[ch]:
4417         * gio/glocalfile.c:
4418         Add g_file_get_uri_scheme
4419
4420 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4421
4422         * gio/gappinfo.h:
4423         * gio/gdesktopappinfo.c:
4424         * gio/gwin32appinfo.c:
4425         Add g_app_info_get_default_for_uri_scheme.
4426
4427 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4428
4429         * gio/Makefile.am:
4430         Correct filename for gdriveprivate.h
4431
4432 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4433
4434         * gio/gfileinfo.h:
4435         Rename id:value to id:file
4436         Add id:fs
4437         
4438         * gio/glocalfileinfo.c:
4439         Implement id:fs
4440
4441 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4442
4443         * gio/gunixvolume.c:
4444         * gio/gvolume.[ch]:
4445         Remove g_volume_get_platform_id, as thats not
4446         needed with the simpler union volume monitor
4447
4448 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4449
4450         * gio/Makefile.am:
4451         * gio/guniondrive.[ch]: Removed.
4452         * gio/gunionvolume.[ch]: Removed.
4453         Remove GUnionDrive/Volume
4454
4455         * gio/gunionvolumemonitor.c:
4456         Simplify union volume monitor, now we
4457         only have one native volume monitor and
4458         we use the actual volumes/drives from the
4459         child monitors instead of wrapping them
4460
4461         * gio/gnativevolumemonitor.[ch]:
4462         Base class for native volume monitors.
4463         Includes priority and get_volume_for_mountpoint
4464         
4465         * gio/gfile.[ch]:
4466         Add g_file_find_enclosing_volume
4467
4468         * gio/gfileinfo.h:
4469         Remove volume name fs attribute
4470         Add readonly fs attribute
4471         
4472         * gio/glocalfile.c:
4473         Implement readonly attribute
4474         remove volume name attribute
4475         Implement find_enclosing volume
4476         
4477         * gio/gunixmounts.c:
4478         Add a volume for "/".
4479         
4480         * gio/gunixvolume.[ch]:
4481         Set better name for /
4482         
4483         * gio/gunixvolumemonitor.[ch]:
4484         Derive from GNativeVolumeMonitor
4485         Implement get_volume_for_mountpoint
4486         
4487         * gio/gvolume.h:
4488         GVolume typedef moved to gfile.h
4489         
4490         * gio/gvolumeprivate.h:
4491         Add g_volume_get_for_mount_path
4492
4493 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4494
4495         * gio/gunixmounts.[ch]:
4496         Add cache info to unix mount listers
4497         Make getmntent use threadsafe
4498         Add is_system_internal attribute for GUnixMount
4499         
4500         * gio/gunixvolume.c:
4501         (g_unix_volume_new):
4502         Use is_system_internal instead of own code
4503         
4504         * gio/glocaldirectorymonitor.c:
4505         * gio/gunixvolumemonitor.c:
4506         Update to new gunixmounts API
4507         
4508         * gio/glocalfile.c:
4509         Fix warning
4510
4511 2007-10-30  Alexander Larsson  <alexl@redhat.com>
4512
4513         * gio/gfileinfo.h:
4514         Add volume name fsinfo attribute
4515         
4516         * gio/glocalfile.c:
4517         Read volume name info
4518         
4519         * gio/gunionvolumemonitor.c:
4520         Fix infinite loops when finalizing a union volume monitor
4521
4522 2007-10-30  Alexander Larsson  <alexl@redhat.com>
4523
4524         * gio/goutputstream.[ch]:
4525         Add splice() with default implementation
4526         
4527         * gio/gsocketoutputstream.c:
4528         (g_socket_output_stream_write):
4529         Return error on cancellation correctly.
4530         
4531 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
4532
4533         * gio/glocalfile.c (g_local_file_trash):
4534         Do not leak a string.
4535
4536 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
4537
4538         * gio/gfile.c (g_file_load_contents):
4539         Unref the stream after closing it.
4540
4541 2007-10-25  Alexander Larsson  <alexl@redhat.com>
4542
4543         * gio/gioscheduler.h:
4544         Fix include
4545
4546 2007-10-25  Alexander Larsson  <alexl@redhat.com>
4547
4548         * gio/gfile.[ch]:
4549         * gio/glocalfile.c:
4550         Add g_file_has_uri_scheme and implement for local files
4551
4552 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
4553
4554         * gio/gdesktopappinfo.c: do not leak a string.
4555
4556 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
4557
4558         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4559         (g_local_directory_monitor_new):
4560         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4561         (g_local_file_monitor_new):
4562         Only look for the monitor type that should be used the first time
4563         and use g_qsort_with_data() instead of our own bubble sort
4564         implementation.
4565
4566 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
4567
4568         * gio/Makefile.am:
4569         * gio/fam/Makefile.am:
4570         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4571         * gio/fam/fam-helper.h:
4572         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4573         * gio/fam/gfamdirectorymonitor.c:
4574         * gio/fam/gfamdirectorymonitor.h:
4575         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4576         * gio/fam/gfamfilemonitor.h:
4577         * gio/glocaldirectorymonitor.c:
4578         * gio/glocaldirectorymonitor.h:
4579         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4580         * gio/glocalfilemonitor.h:
4581         * gio/inotify/Makefile.am:
4582         * gio/inotify/ginotifydirectorymonitor.c:
4583         * gio/inotify/ginotifydirectorymonitor.h:
4584         * gio/inotify/ginotifyfilemonitor.c:
4585         * gio/inotify/ginotifyfilemonitor.h:
4586         Implement the FAM and Inotify monitors as
4587         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4588         their own GIO module. GLocal(Directory|File)Monitor will use the
4589         monitor with the highest rank that is supported on that machine.
4590
4591 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
4592
4593         * gio/Makefile.am:
4594         Change GIO module dir to $(libdir)/gio/modules and change
4595         the log domain from GVFS to GIO. Also only export symbols starting
4596         with g_ in the resulting library.
4597         * gio/test-streams.c: (main):
4598         Set log handler for the GIO log domain.
4599
4600 2007-10-22  Alexander Larsson  <alexl@redhat.com>
4601
4602         * gio/gfilenamecompleter.[ch]:
4603         Add g_filename_completer_set_dirs_only
4604
4605 2007-10-22  Alexander Larsson  <alexl@redhat.com>
4606
4607         * gio/Makefile.am:
4608         * gio/gurifuncs.[ch]:
4609         Add some simple URI helpers
4610         
4611         * gio/gfilenamecompleter.[ch]:
4612         Added object for filename (parse name actually) completion
4613         
4614         * gio/glocalvfs.c:
4615         Handle ~ in parse names
4616
4617 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4618
4619         * gio/gfileinfo.h:
4620         * gio/glocalfileinfo.c:
4621         Add and implement id:value attribute
4622
4623 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4624
4625         * gio/gdrive.[ch]:
4626         * gio/guniondrive.c:
4627         * gio/gunixdrive.c:
4628         Add and implement g_drive_has_volumes
4629         
4630 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4631
4632         * gio/gfileinfo.h:
4633         * gio/glocalfileinfo.[ch]:
4634         Add unix:is_mountpoint and implement for local files
4635
4636 2007-10-16  Alexander Larsson  <alexl@redhat.com>
4637
4638         * gio/gunionvolumemonitor.c:
4639         (g_union_volume_monitor_init):
4640         Fix up the unix type getting so that it works with gcc
4641         
4642 2007-10-12  Alexander Larsson  <alexl@redhat.com>
4643
4644         * gio/gfileinfo.h:
4645         * gio/glocalfileinfo.c:
4646         Add thumbnail:failed to file info
4647
4648 2007-10-12  Richard Hult  <richard@imendio.com>
4649
4650         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4651         optimizing away the get_type call (happens with some gcc versions,
4652         like the one shipped with OS X 10.4).
4653
4654 2007-10-12  Alexander Larsson  <alexl@redhat.com>
4655
4656         * gio/glocalfileinfo.c:
4657         (_g_local_file_info_set_attribute):
4658         Fix build if not HAVE_XATTR
4659         Patch from Milosz Derezynski <internalerror@gmail.com>
4660
4661 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
4662
4663         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4664         around for review, otherwise I would have asked you before
4665         committing)
4666
4667 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4668
4669         * gio/gfileinfo.h:
4670         Add thumbnail:path attribute
4671         
4672         * gio/glocalfileinfo.c:
4673         Implement thumbnail:path for local files
4674
4675 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4676
4677         * gio/glocalfileinfo.c:
4678         (_g_local_file_info_get):
4679         Avoid duplicate icon names
4680
4681 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4682
4683         * gio/gthemedicon.[ch]:
4684         Change g_themed_icon_get_names return type to const
4685
4686 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4687
4688         * gio/glocalfileinfo.c:
4689         Don't reference freed memory
4690
4691 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4692
4693         * gio/gfileattribute.c:
4694         Handle objects
4695         
4696         * gio/glocalfileinfo.c:
4697         Return icon info
4698
4699 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4700
4701         * gio/gfileinfo.c:
4702         Check for NULL icons
4703
4704         * gio/gfileattribute.c:
4705         Don't dup when getting objects (same as for string attributes)
4706
4707         * gio/gicon.c (g_icon_equal):
4708         Safely handle NULLs in equal
4709
4710 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4711
4712         * gio/gfileinfo.h:
4713         Fix c++ compilation issues
4714         Patch from Milosz Derezynski <internalerror@gmail.com>
4715
4716 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4717
4718         * programs/gio-monitor-dir.c:
4719         Don't crash if dir monitor not supported.
4720
4721 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4722
4723         * gio/gioerror.h:
4724         Add missing G_END_DECLS
4725
4726 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
4727
4728         * gio/gfile.c: (g_file_set_display_name),
4729         (g_file_query_settable_attributes),
4730         (g_file_query_writable_namespaces):
4731         Return NULL not FALSE on errors as the return type is a pointer.
4732
4733 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
4734
4735         * gio/glocalfile.c: (g_local_file_monitor_file):
4736         Don't call monitor_file on the default interface vtable (which
4737         is NULL) but simply return NULL. The caller, GFile, will create a
4738         polling monitor if NULL is returned.
4739
4740 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4741
4742         * Makefile.am:
4743         * configure.ac:
4744         * gio-unix-2.0.pc.in:
4745         Add gio-unix-2.0.pc if OS_UNIX
4746         
4747         * gio/Makefile.am:
4748         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4749
4750 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4751
4752         * gio/gunixmounts.[ch]:
4753         Make unix mount monitoring API sane.
4754         Now its just a object with mounts_changed
4755         and mountpoints_changed signals.
4756         
4757         * gio/glocaldirectorymonitor.c:
4758         * gio/gunixvolumemonitor.c:
4759         Use new mount monitor api
4760
4761 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4762
4763         * gio/gunixmounts.[ch]:
4764         Move guess type into one call for mounts and one for mountpoints
4765         
4766         * gio/gunixdrive.c:
4767         * gio/gunixvolume.c:
4768         Update
4769
4770 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4771
4772         * gio/gunixmounts.[ch]:
4773         Remove _ prefix in preparation to make this semi-public
4774         Hide implementation of structs
4775         
4776         * gio/glocaldirectorymonitor.c:
4777         * gio/gunixdrive.c:
4778         * gio/gunixvolume.c:
4779         * gio/gunixvolumemonitor.c:
4780         Update for above API changes
4781
4782 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4783
4784         * gio/gfile.c:
4785         Better polling fallback. This also handles the case where we have
4786         a monitor_file implementation, but it fails.
4787
4788 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4789
4790         * gio/gfile.[ch]:
4791         * gio/glocalfile.c:
4792         * gio/gunixmounts.c:
4793         * programs/gio-monitor-dir.c:
4794         * programs/gio-monitor-file.c:
4795         Added cancellable to file monitoring calls.
4796         These are really sync calls and need this.
4797
4798 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
4799
4800         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4801         (g_local_vfs_class_init):
4802         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4803         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4804
4805 2007-10-05  Alexander Larsson  <alexl@redhat.com>
4806
4807         * gio/gdirectorymonitorprivate.h: 
4808         * gio/gfilemonitorprivate.h: 
4809         * gio/gdirectorymonitor.h:
4810         * gio/gfilemonitor.h:
4811         Remove *private.h and move to the public API, so that
4812         we can do implementations outside gio (such as in gvfs)
4813         
4814         * gio/gdirectorymonitor.c:
4815         * gio/gfilemonitor.c:
4816         * gio/glocaldirectorymonitor.c:
4817         * gio/gpollfilemonitor.c:
4818         * gio/inotify/inotify-helper.c:
4819         * gio/fam/fam-helper.c:
4820         Update to the new header names
4821
4822 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
4823
4824         * gio/gdirectorymonitor.c:
4825         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4826         GTypes as abstract.
4827
4828 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4829
4830         * gio/glocalfileinfo.c (get_access_rights):
4831         Set CAN_TRASH when we can move the file.
4832         We should really also check for a parent trash dir.
4833
4834 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4835
4836         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4837         Add can_trash access attribute
4838
4839 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4840
4841         * gio/glocalfile.c:
4842         (g_local_file_trash):
4843         Create info file first. This is per-spec and allows
4844         us to actually trash directories.
4845
4846 2007-10-02  Alexander Larsson  <alexl@redhat.com>
4847
4848         * gio/gdesktopappinfo.c:
4849         Implement the new mime support code.
4850         Always set app as handling mimetype when being set as default for it
4851
4852 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4853
4854         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4855         Fix up check for xattrs:
4856
4857 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4858
4859         * gio/gappinfo.c:
4860         (g_app_info_set_as_default_for_extension):
4861         (g_app_info_add_supports_type):
4862         (g_app_info_can_remove_supports_type):
4863         (g_app_info_remove_supports_type):
4864         Make these fail nicely if not implemented
4865
4866 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
4867
4868         * gio/glocalfileoutputstream.c:
4869         * gio/glocalfileoutputstream.h:
4870         * gio/test-gio.c:
4871         * gio/gfile.c:
4872         * gio/gfile.h:
4873         * gio/glocalfile.c:
4874         * programs/gio-save.c: 
4875         Add a GFileCreateFlags argument to operations that can create
4876         a new file.
4877
4878 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4879
4880         * gio/gappinfo.[ch]:
4881         * gio/gdesktopappinfo.c:
4882         Add more (stubbed out) mime API needed for nautilus
4883
4884 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4885
4886         * gio/gappinfo.h:
4887         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4888         Add g_app_info_set_as_default_for_extension.
4889         
4890         * gio/gdesktopappinfo.c:
4891         Dummy for g_app_info_set_as_default_for_extension
4892         Support flags in g_app_info_create_from_commandline
4893
4894         * gio/gwin32appinfo.c:
4895         * gio/test-gio.c:
4896         Update for API changes
4897         
4898         * gio/gthemedicon.c:
4899         Properly NULL-terminate list of icon names
4900
4901 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4902
4903         * gio/gloadableicon.h:
4904         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4905
4906 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4907
4908         * gio/Makefile.am:
4909         Install headers in $includedir/gio-standalone/
4910         
4911         * gio-2.0.pc.in: Added.
4912         * gio-standalone.pc.in: Removed.
4913         * configure.ac:
4914         * Makefile.am:
4915         Renamed pkg-config file to match glib (for future move)
4916         Update to the new include dir
4917         
4918         * gio/gappinfo.h:
4919         Add more TODO comments
4920
4921 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4922
4923         * gio/gdesktopappinfo.[ch]:
4924         Expose new_from_filename
4925         Add getter for is_hidden and handle it better
4926
4927 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4928
4929         * gio/gfileinfo.[ch]:
4930         Rename g_file_size_format_for_display to
4931         g_format_file_size_for_display.
4932         Now it doesn't have the g_file prefix, so we
4933         can later move it to glib.
4934
4935 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4936
4937         * gio/gappinfo.[ch]:
4938         Add g_app_info_get_id and g_app_info_get_executable.
4939         Make all getters non-reffing
4940         Make g_app_info_launch take GFile arguments.
4941         Add must_support_uris argument to g_app_info_get_default_for_type.
4942         
4943         * gio/gwin32appinfo.c:
4944         Update to GAppInfo api changes
4945         
4946         * gio/gdesktopappinfo.c:
4947         Update to GAppInfo api changes
4948         Implement supports_xdg_startup_notify
4949         
4950         * gio/gfileicon.c (g_file_icon_get_file):
4951         Make getter non-reffing.
4952         
4953         * gio/test-gio.c:
4954         Update to new API
4955
4956 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4957
4958         * gio/gfileinfo.[ch]: 
4959         Add g_file_size_format_for_display helper
4960         
4961 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4962
4963         * gio/glocalfileinfo.c:
4964         Set UNIX_GID from gid, not from uid
4965
4966 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4967
4968         * gio/gfile.[ch]:
4969         Add g_file_set_attributes_async
4970
4971 2007-09-27  Alexander Larsson  <alexl@redhat.com>
4972
4973         * gio/glocalfile.c (g_local_file_set_display_name):
4974         Fix set_display_name to actually rename to the right place.
4975         Use lstat to look for existing files so we don't overwrite
4976         broken links.
4977
4978 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4979
4980         * gio/gfile.[ch]:
4981         Add g_file_set_display_name_async()
4982
4983 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4984
4985         * gio/gfile.[ch]:
4986         Add load_partial_contents async calls
4987         
4988         * gio/glocalfile.c:
4989         Make internal function static
4990
4991 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4992
4993         * gio/glocalfileinfo.c:
4994         Correctly detect broken symlinks
4995
4996 2007-09-26  Alexander Larsson  <alexl@redhat.com>
4997
4998         * gio/gcancellable.c (g_cancellable_cancel):
4999         Allow cancel on NULL cancellable
5000
5001 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5002
5003         * gio/gsimpleasyncresult.c:
5004         Don't allocate g_error manually.
5005         Fixes g_slice/g_new mixup crash
5006
5007 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5008
5009         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5010         Actually set active_backend.
5011         This means the monitor will be cancelled correctly.
5012
5013 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5014
5015         * gio/gdirectorymonitor.c:
5016         Set timeout to NULL when destroying
5017
5018 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5019
5020         * gio/gioerror.h:
5021         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5022         that is a better description of the error.
5023
5024 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
5025
5026         * gio/gvfs.c: (g_vfs_get_local):
5027         Make the local vfs variable static. The same instance should
5028         always be returned.
5029
5030 2007-09-24  Alexander Larsson  <alexl@redhat.com>
5031
5032         * gio/glocalfileinfo.c:
5033         Pass in actual length read into sniffer, not the length
5034         we tried to read.
5035
5036 2007-09-21  Alexander Larsson  <alexl@redhat.com>
5037
5038         * gio/gfileenumerator.c:
5039         * gio/gfileinfo.c:
5040         * gio/gfileinfo.h:
5041         * gio/gfileinputstream.c:
5042         * gio/gfileoutputstream.c:
5043         * gio/ginputstream.c:
5044         * gio/goutputstream.c:
5045         Don't crash if async callbacks are NULL
5046
5047 2007-09-20  Alexander Larsson  <alexl@redhat.com>
5048
5049         * gio/gfile.[ch]:
5050         Add async enumerate_children method and default
5051         implementation
5052
5053 2007-09-20  Alexander Larsson  <alexl@redhat.com>
5054
5055         * gio/gfile.[ch]
5056         Add g_file_contains_file & g_file_get_relative_path, since they
5057         were needed for nautilus.
5058         Renamed g_file_resolve_relative to g_file_resolve_relative_path
5059         to make it clearer.
5060         
5061         * gio/gdummyfile.c:
5062         * gio/glocalfile.c:
5063         Implement new methods
5064
5065 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5066
5067         * gio/gfile.[ch]:
5068         * gio/gfileinputstream.[ch]:
5069         * gio/gfileoutputstream.[ch]:
5070         * gio/glocalfile.c:
5071         * gio/glocalfileenumerator.[ch]:
5072         * gio/glocalfileinfo.[ch]:
5073         * gio/glocalfileinputstream.c:
5074         * gio/glocalfileoutputstream.c:
5075         * gio/gpollfilemonitor.c:
5076         * programs/gio-copy.c:
5077         * programs/gio-info.c:
5078         * programs/gio-move.c:
5079         Rename get_file_info to query_info() to make it clearer
5080         that these are not simple getters, but do i/o.
5081
5082 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5083
5084         * gio/gdatainputstream.[ch]:
5085         * gio/test-streams.c:
5086         Use _read_XXX instead of _get_XXX for the i/o calls
5087         in GDataInputStream
5088
5089 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5090
5091         * gio/gappinfo.h:
5092         Added needed stuff to TODO comment
5093
5094 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5095
5096         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5097         Don't error out removing the backup copy if it doesn't
5098         already exist.
5099
5100 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5101
5102         * programs/Makefile.am:
5103         * programs/gvfs-*.c: 
5104         * programs/gio-*.c:
5105         Renamed apps from gvfs-xxx to gio-xxx.
5106
5107 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5108
5109         * gio/gfile.c:
5110         * gio/gfileoutputstream.[ch]:
5111         * gio/glocalfileoutputstream.c:
5112         * programs/gvfs-save.c:
5113         g_file_output_stream_get_etag doesn't do i/o, so remove
5114         cancellation and error.
5115
5116 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5117
5118         * gio/gfile.[ch]:
5119         Add new_etag output to replace_contents functions
5120
5121 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5122
5123         * gio/gfileoutputstream.[ch]:
5124         Add async get_file_info and default implementation
5125
5126 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5127
5128         * gio/gfileinputstream.c:
5129         Implement fallback wrapper for async get_file_info
5130
5131 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5132
5133         * gio/gfile.[ch]:
5134         Add etag out argument to load_contents
5135         
5136         * gio/test-gio.c:
5137         Update to new API
5138
5139 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5140
5141         * gio/gcontenttype.c (looks_like_text):
5142         Whitespace like tab, cr and lf do not make the
5143         file binary.
5144
5145 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5146
5147         * gio/gfileinputstream.[ch]:
5148         Add async get_file_info.
5149
5150 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5151
5152         * gio/goutputstream.c (g_output_stream_write_all):
5153         Allow NULL for bytes_written
5154
5155 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5156
5157         * gio/gmemoryinputstream.[ch]:
5158         Add accessors for data
5159
5160 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5161
5162         * gio/gdatainputstream.c (g_data_input_stream_get_until):
5163         Don't crash if length is NULL
5164