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