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