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