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