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