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