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