Clarify docs for g_memory_output_stream_get_size. Add
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-03-31  Alexander Larsson  <alexl@redhat.com>
2
3         * gmemoryoutputstream.c:
4         Clarify docs for g_memory_output_stream_get_size.
5         Add g_memory_output_stream_get_data_size.
6
7 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
8
9         * gio.symbols:
10         * gfile.c:
11         * gfile.h: Add g_file_query_file_type convenience function
12         to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)
13
14 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
15
16         * gfileenumerator.c:
17         * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)
18
19 2008-03-28  A. Walton  <awalton@svn.gnome.org>
20
21         * giomodule.c (_g_io_modules_ensure_loaded):
22         Adds GIO_EXTRA_MODULES environment variable support, closing bug 
23         #523039.
24
25 2008-03-28  Alexander Larsson  <alexl@redhat.com>
26
27         * gfile.c:
28         (copy_stream_with_progress):
29         Fix up last commit.
30         
31 2008-03-28  Alexander Larsson  <alexl@redhat.com>
32
33         * gfile.c:
34         (copy_stream_with_progress):
35         (file_copy_fallback):
36         Fallback to g_file_query_info for source size
37         if g_file_input_stream_query_info fails. (#524579)
38
39 2008-03-28  Alexander Larsson  <alexl@redhat.com>
40
41         * glocalfile.c (g_local_file_move):
42         Reuse old string instead of adding new one.
43
44 2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>
45
46         * fen/*.[hc]: still copyright issue. I hate copyright.
47
48 2008-03-27  Alexander Larsson  <alexl@redhat.com>
49
50         * glocalfile.c (g_local_file_move):
51         Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
52         file over directory. This is according to the docs and what the move via
53         copy+remove fallback does.
54
55 2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>
56
57         * fen/*.[hc]: Updated copyright.
58
59 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
60
61         * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
62
63 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
64
65         * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
66         not emit attribute changed events when optimizing changed events.
67         * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
68         warning messages.
69
70 2008-03-19  Matthias Clasen  <mclasen@redhat.com>
71
72         * gmountoperation.[hc]: Small documentation additions
73
74 2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>
75
76         * gunixmounts.c: (guess_mount_type): 
77         consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
78
79 2008-03-19  Alexander Larsson  <alexl@redhat.com>
80
81         * gfile.c:
82         (copy_stream_with_progress):
83         Bump block side for copy to 64k to minimize
84         overhead for low latency links. (#523015)
85
86 2008-03-16  Tor Lillqvist  <tml@novell.com>
87
88         * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
89         depend on gio.def on Windows.
90
91 2008-03-12  David Zeuthen  <davidz@redhat.com>
92
93         * gio.symbols:
94         * gunixmounts.[ch]:
95         Add g_unix_mount_monitor_set_rate_limit() function (#521946)
96
97 2008-03-14  Alexander Larsson  <alexl@redhat.com>
98
99         * gunixmounts.c:
100         (guess_mount_type):
101         Avoid redudant tests (#521851)
102         Patch from Josselin Mouette
103
104 2008-03-14  Alexander Larsson  <alexl@redhat.com>
105
106         * gfilemonitor.c:
107         (g_file_monitor_is_cancelled):
108         Fix C89 issue (#521672)
109         Patch from Jens Granseuer
110
111 2008-03-14  Alexander Larsson  <alexl@redhat.com>
112
113         * fam/fam-helper.[ch]:
114         * fam/fam-module.c:
115         Shut down fam (including removing fam GSource) when
116         module is unloaded (#521513)
117         Patch from Joe Marcus Clarke   
118
119 2008-03-14  Alexander Larsson  <alexl@redhat.com>
120
121         * giomodule.c:
122         (_g_io_modules_ensure_loaded):
123         Fix up FEN ifdefs
124
125 2008-03-14  Alexander Larsson  <alexl@redhat.com>
126
127         * glocalfile.c:
128         (g_local_file_query_filesystem_info):
129         Use right define name for f_fstypename member check
130
131 2008-03-14  Alexander Larsson  <alexl@redhat.com>
132
133         * Makefile.am:
134         * fen/Makefile.am: Added.
135         * fen/fen-data.[ch]: Added.
136         * fen/fen-dump.[ch]: Added.
137         * fen/fen-helper.[ch]: Added.
138         * fen/fen-kernel.[ch]: Added.
139         * fen/fen-missing.[ch]: Added.
140         * fen/fen-node.[ch]: Added.
141         * fen/fen-sub.[ch]: Added.
142         * fen/gfendirectorymonitor.[ch]: Added.
143         * fen/gfenfilemonitor.[ch]: Added.
144         * giomodule.c:
145         Added Solaris FEN file notification backend.
146         Patch from Lin Ma <Lin.Ma@Sun.COM>
147
148 2008-03-13  Tor Lillqvist  <tml@novell.com>
149
150         * Makefile.am: Actually use the gio.def file when linking the
151         library on Windows. Produce .lib library for Microsoft's toolchain
152         when possible. Install the .lib and .def file like for the other
153         libraries of GLib.
154
155 2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>
156
157         * tests/live-g-file.c:
158         Include live-g-file in standard set of tests, making a temporary
159         directory in source structure.
160         
161         Clean target directory before the tests (write mode only)
162
163 2008-03-12  Tor Lillqvist  <tml@novell.com>
164
165         Bug 517419 - gio win32 directory monitor
166         Implementation by Vlad Grecescu.
167         
168         * win32/Makefile.am
169         * win32/gwin32directorymonitor.h
170         * win32/gwin32directorymonitor.c: New files.
171
172         * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
173
174         * Makefile.am: Add the win32 subdirectory.
175
176 2008-03-12  Tor Lillqvist  <tml@novell.com>
177
178         * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
179         normal struct stat on Unix but struct _stati64 on Windows to have
180         access to 64-bit file size information. Use that instead of struct
181         stat in the functions declared here in this private header.
182
183         * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
184         S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
185         warnings about unused functions and variables. Don't set
186         meaningless attributes like inode numbers on Windows.
187
188 2008-03-12  Benjamin Otte  <otte@gnome.org>
189
190         * gvfs.h:
191         trim whitespace so gtk-doc groks the function name
192
193 2008-03-12  Tor Lillqvist  <tml@novell.com>
194
195         * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
196         returning FALSE, on Win32.
197
198 2008-03-11  Alexander Larsson  <alexl@redhat.com>
199
200         * glocalfile.c:
201         * glocalfileinfo.[ch]:
202         Correctly implement can_trash by actually
203         looking for a trash dir, not just assuming
204         one exists.
205
206 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
207         
208         * === Released 2.16.1 ===
209
210 2008-03-11  Alexander Larsson  <alexl@redhat.com>
211
212         * gthemedicon.c:
213         Fix crashes in new constructor and properties code
214
215 2008-03-10  Murray Cumming  <murrayc@murrayc.com>
216
217         * gfile.c: Minor spelling correction in documentation:
218         existance -> existence.
219
220 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
221
222         * === Released 2.16.0 ===
223
224 2008-03-10  Matthias Clasen <mclasen@redhat.com>
225
226         * gio.symbols: Remove g_file_contains_file here, too.
227
228 2008-03-10  Matthias Clasen <mclasen@redhat.com>
229
230         * gthemedicon.c: Add properties to make bindings happy.  (#517676,
231         Samuel Cormier-Iijima)
232
233 2008-03-08  Tor Lillqvist  <tml@novell.com>
234
235         * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
236         winnt.h. (#521145)
237
238 2008-03-07  Alexander Larsson  <alexl@redhat.com>
239
240         * glocalfile.c:
241         (g_local_file_query_filesystem_info):
242         Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
243         Patch from Jasper Lievisse Adriaanse
244
245 2008-03-06  Tor Lillqvist  <tml@novell.com>
246
247         * gfileinfo.h: Correct milliseconds to microseconds in the doc
248         comments for the *_USEC attributes.
249
250 2008-03-06  Alexander Larsson  <alexl@redhat.com>
251
252         * gfile.c (g_file_query_exists):
253         Add g_return_val_if_fail check (#520700)
254
255 2008-03-06  Alexander Larsson  <alexl@redhat.com>
256
257         * gdesktopappinfo.c:
258         * gfilemonitor.c:
259         * gthemedicon.c:
260         * gunionvolumemonitor.c:
261         * gunixmounts.c:
262         * tests/g-file.c:
263         * tests/live-g-file.c:
264         * xdgmime/xdgmimecache.c:
265         Fix sparse warnings (#519489)
266
267 2008-03-05  Alexander Larsson  <alexl@redhat.com>
268
269         * gfilemonitor.c:
270         Make cancellation threadsafe (i.e.
271         guarantee its only done once, and always
272         done)
273         
274         * glocaldirectorymonitor.c:
275         Make sure we the monitor lives while the
276         mounts_changed callback is being called (#520484)
277
278 2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>
279
280         * gbufferedinputstream.c: Fix typo in parameter
281         documentation.
282
283 2008-03-04  Alexander Larsson  <alexl@redhat.com>
284
285         * gfile.c:
286         Remove deprecated symbols we kept for one release.
287
288 2008-03-04  Murray Cumming  <murrayc@murrayc.com>
289
290         * ginputstream.c:
291         * goutputstream.c: Tiny documentation corrections.
292
293 2008-03-03  Alexander Larsson  <alexl@redhat.com>
294
295         * gunionvolumemonitor.c:
296         * gvolumemonitor.h:
297         Fix the adopt_orphan_mount vfunc to take a
298         volume_monitor reference in an ABI compat way.
299         This change is not API compat, but the added
300         arg is not used in the only user of this vfunc, so
301         all we get is a harmless warning in gvfs (#520169)
302         
303 2008-03-01  Benjamin Otte  <otte@gnome.org>
304
305         * gfile.c:
306         clarify docs for g_file_delete().
307
308 2008-02-29  Alexander Larsson  <alexl@redhat.com>
309
310         * glocalfileinfo.c:
311         (get_content_type):
312         Make sure empty files get text/plain type (#518720)
313
314 2008-02-27  Alexander Larsson  <alexl@redhat.com>
315
316         * gcontenttype.c:
317         Fix type warnings
318         
319         * gunixvolume.c:
320         (g_unix_volume_mount):
321         Add missing GMountMountFlags argument
322
323 2008-02-26  Alexander Larsson  <alexl@redhat.com>
324
325         * glocalfile.c:
326         (g_local_file_delete):
327         Handle filesystems (like ntfs-3g) that return EEXIST instead
328         of ENOTEMPTY (#518816)
329
330 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
331
332         * === Released 2.15.6 ===
333
334 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
335
336         * gfile.c (g_file_find_enclosing_mount):
337         * ginputstream.c (g_input_stream_set_pending):
338         * glocalfile.c (g_local_file_find_enclosing_mount):
339         * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
340         * goutputstream.c (g_output_stream_set_pending):
341
342         Fixup translator comments (#518578).
343
344 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
345
346         * gfile.c (g_file_find_enclosing_mount):
347         * giomodule.c:
348         * glocalfile.c (g_local_file_find_enclosing_mount):
349         * goutputstream.c:
350
351         Fix a few typos in translator comments and documentation.
352
353 2008-02-25  Alexander Larsson  <alexl@redhat.com>
354
355         * gfile.c:
356         * ginputstream.c:
357         * glocalfile.c:
358         * gmount.c:
359         * goutputstream.c:
360         Add translator comments (#518578)
361
362 2008-02-25  Alexander Larsson  <alexl@redhat.com>
363
364         * gfile.c:      
365         Reintroduce g_file_contains_file, keep around for one
366         unstable release cycle to avoid crashing to many apps.
367         Make sure to delete after release.
368
369 2008-02-25  Alexander Larsson  <alexl@redhat.com>
370
371         * gfile.[ch]:
372         Remove deprecated g_file_contains_file.
373
374 2008-02-25  Alexander Larsson  <alexl@redhat.com>
375
376         * gfilemonitor.c:
377         Emit actual change signals in an idle handler.
378         This avoids reentrance and locking problems in
379         the file notification backends.
380         
381 2008-02-25  Alexander Larsson  <alexl@redhat.com>
382
383         * gunixmounts.c:
384         (g_unix_mount_guess_should_display):
385         Remove type guessing, instead just display
386         mounts in /media and in ~/.
387
388 2008-02-25  Alexander Larsson  <alexl@redhat.com>
389
390         * glocalfile.c:
391         Make new strings reuse old ones.
392         
393 2008-02-25  Alexander Larsson  <alexl@redhat.com>
394
395         * glocalfile.c:
396         Implement trashing and filesystem::readonly for win32 (#517235)
397         Patch from Yevgen Muntyan
398
399 2008-02-23  Matthias Clasen  <mclasen@redhat.com>
400
401         * gfileinfo.h: Documentation fixes.
402
403 2008-02-22  Alexander Larsson  <alexl@redhat.com>
404
405         * gcontenttype.c (g_content_type_get_icon):
406         Look at old-style gnome mime icon names too, as many
407         have not moved to the new style.
408
409 2008-02-21  Matthias Clasen  <mclasen@redhat.com>
410
411         * *.c: Correct the @include in for section docs.
412
413 2008-02-21  David Zeuthen  <davidz@redhat.com>
414
415         * glocalfileinfo.c: (_g_local_file_info_get):
416         * gcontenttype.c:
417         (g_content_type_get_icon): Implement this function by
418         moving bits from glocalfileinfo.c
419         (g_content_type_get_description): Unalias before getting
420         description (#517687)
421
422         * gfile.c: (g_file_class_init),
423         (g_file_query_filesystem_info_async),
424         (g_file_query_filesystem_info_finish),
425         (query_filesystem_info_data_free),
426         (query_filesystem_info_async_thread),
427         (g_file_real_query_filesystem_info_async),
428         (g_file_real_query_filesystem_info_finish):
429         * gfile.h: Implement async version of
430         g_file_query_filesystem_info()
431
432         * gfileinfo.h: Add new attributes for filesystem::use-preview
433
434         * gio.symbols: Update
435
436         * gthemedicon.c: (g_themed_icon_append_name):
437         * gthemedicon.h: Add new new convenience function.
438
439         * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
440         (get_mounts), (get_volumes), (get_connected_drives),
441         (get_volume_for_uuid), (get_mount_for_uuid),
442         (g_union_volume_monitor_init), (populate_union_monitor),
443         (g_volume_monitor_get), (_g_mount_get_for_mount_path),
444         (g_volume_monitor_adopt_orphan_mount):
445         * gvolumemonitor.c:
446         * gvolumemonitor.h: Use recursive locks so it's safe for volume
447         monitor implementations to call into the main volume monitor. Also
448         separate object initialization and volume monitor initialization
449         such that non-native volume monitors can properly adopt their
450         mounts away.
451
452 2008-02-21  Alexander Larsson  <alexl@redhat.com>
453
454         * gfile.c:
455         Fix doc typo
456         
457 2008-02-21  Alexander Larsson  <alexl@redhat.com>
458
459         * gfile.c:
460         Add more documentation about how GFiles work (from #517086)
461
462 2008-02-21  Alexander Larsson  <alexl@redhat.com>
463
464         * gfile.[ch]:
465         * gio.symbols:
466         Add new g_file_has_prefix that does the same as g_file_contains_file.
467         Deprecate g_file_contains_file and add a macro that converts
468         it to g_file_has_prefix.
469         The reason for this change is that the contains_file() name seems to
470         imply that this does more work than what it does, but its really only
471         a name match (from #517086)
472         
473         * gdummyfile.c:
474         * glocalfile.c:
475         * tests/g-file.c:
476         Update to match the above change.
477
478 2008-02-20  Benjamin Otte  <otte@gnome.org>
479
480         * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
481         (g_file_eject_mountable):
482         even more cases of not returning in error path
483
484 2008-02-20  Benjamin Otte  <otte@gnome.org>
485
486         * gfile.c: (g_file_mount_mountable): 
487         return from function in error path.
488
489 2008-02-18  Sylvain Pasche <sylvain.pasche@gmail.com>
490
491         * gfile.h:
492          Remove trailing coma in GMountMountFlags struct
493
494 2008-02-18  Alexander Larsson  <alexl@redhat.com>
495
496         * glocalfile.c:
497         * glocalfileinfo.c:
498         * glocalfileoutputstream.c:
499         Use g_unlink/g_rename instead of unlink/rename;
500         do not pass raw filenames to g_set_error. (#517239)
501         Patch from Yevgen Muntyan.
502
503 2008-02-18  Alexander Larsson  <alexl@redhat.com>
504
505         * glocalfile.c:
506         * glocalfileoutputstream.c:
507         Open files with O_BINARY on windows. (#517140)
508
509 2008-02-14  Alexander Larsson  <alexl@redhat.com>
510
511         * glocalfileoutputstream.c:
512         Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
513
514 2008-02-14  Alexander Larsson  <alexl@redhat.com>
515
516         * glocalfile.c:
517         Copy permissions with file on copy (#514084)
518         This is what cp does and makes sure e.g. the
519         exec permissions are kept.
520         Its kinda weird in that it keeps the permission bits
521         the same while the uid and gid are different. However
522         the new uid is the user so its not a security issue,
523         and I've heard no complaints about cp on this issue.
524
525 2008-02-13  Ryan Lortie  <desrt@desrt.ca>
526
527         * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
528
529 2008-02-13  Alexander Larsson  <alexl@redhat.com>
530
531         * inotify/inotify-path.c:
532         Define IN_ONLYDIR if not in header (#515346)
533
534 2008-02-12  Alexander Larsson  <alexl@redhat.com>
535
536         * tests/live-g-file.c:
537         C89 fixes (#515892)
538
539 2008-02-11  Matthias Clasen <mclasen@redhat.com>
540
541         * === Released 2.15.5 ===
542
543 2008-02-11  Matthias Clasen <mclasen@redhat.com>
544
545         * gio.symbols: Add g_mount_mount_flags_get_type.
546
547 2008-02-11  Alexander Larsson  <alexl@redhat.com>
548
549         * gfileinfo.c:
550         (g_file_info_set_attribute_mask):
551         (g_file_attribute_matcher_matches_id):
552         Correctly handle NULL GAttributeMatcher meaning
553         matches nothing. (Fixes #513492)
554
555 2008-02-11  Alexander Larsson  <alexl@redhat.com>
556
557         * gfile.[ch]:
558         * gmount.[ch]:
559         * gvolume.[ch]:
560         Added GMountMountFlags enum and added a flags
561         argument to all mount calls.
562         
563         This is an API/ABI change for future extensibility,
564         as I think we will need at least an
565         inhibit-autorun flag (the panel needs this).
566         There are no flags defined yet though.
567
568 2008-02-11  Alexander Larsson  <alexl@redhat.com>
569
570         * gfileinfo.h:
571         Added new standard::description attribute.
572         Requested by Vincent, and useful for both
573         panel and nautilus
574
575 2008-02-11  Alexander Larsson  <alexl@redhat.com>
576
577         * gdesktopappinfo.c:
578         Minor docs cleanup
579
580 2008-02-11  Matthias Clasen <mclasen@redhat.com>
581
582         * *.c: Documentation additions
583
584 2008-02-10  Matthias Clasen <mclasen@redhat.com>
585
586         * gappinfo.h: Formatting cleanup
587         * gappinfo.c: Fix up docs.
588
589 2008-02-09  Matthias Clasen <mclasen@redhat.com>
590
591         * gunixmounts.c: Consistently use getmntent_r() and fall
592         back to getmntent().  (#515492)
593
594 2008-02-09  Matthias Clasen <mclasen@redhat.com>
595
596         * gbufferedinputstream.c:
597         * ginputstream.c:
598         * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
599
600         * tests/data-input-stream.c:
601         * tests/data-output-stream.c: Portability fixes.
602
603 2008-02-08  Alexander Larsson  <alexl@redhat.com>
604
605         * gio.symbols: 
606         * gunixvolume.c:
607         * gvolume.[ch]:
608         Add g_volume_should_automount.
609         Docs needed.
610
611 2008-02-07  Tor Lillqvist  <tml@novell.com>
612
613         * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
614         Win32, too Unix-specific.
615
616 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
617
618         * pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
619         a local plt if the compiler doesn't support what we want.  Bug #514702
620
621 2008-02-06  Murray Cumming,,,  <murrayc@murrayc.com>
622
623         reviewed by: <delete if not using a buddy>
624
625         * gfile.c:
626         * gunixinputstream.c:
627         * gunixoutputstream.c:
628
629 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
630
631         * tests/Makefile.am:
632         * tests/live-g-file.c:
633         * tests/live-g-file.txt:
634         New GIO testing module working over real data
635
636 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
637
638         * glocalfileoutputstream.c (g_local_file_output_stream_close):
639         Fallback to rename() if link() is not available
640         (when no support on target filesystem)
641
642 2008-02-06  Michael Natterer  <mitch@imendio.com>
643
644         * gfileinfo.c (g_file_info_get_icon): replace
645         "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
646
647 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
648
649         * gfile.c (g_file_create):
650         Documentation update of error codes
651
652 2008-02-06  Alexander Larsson  <alexl@redhat.com>
653
654         * gdesktopappinfo.c:
655         Update to use both mimeapps.list and
656         defaults.list as discussed on xdg list.
657
658 2008-02-06  Benjamin Otte  <otte@gnome.org>
659
660         * gasyncresult.c:
661         * gfilenamecompleter.c:
662         Fix some typos in the documentation.
663
664 2008-02-06  Alexander Larsson  <alexl@redhat.com>
665
666         * glocalfile.c (g_local_file_trash):
667         Don't succeed with trash if newly created
668         trash dir has the wrong owner. (#514696)
669
670 2008-02-05  Alexander Larsson  <alexl@redhat.com>
671
672         * glocalfile.c (g_local_file_move):
673         Don't spew warnings when destination is not
674         a GLocalFile.
675
676 2008-02-03  Hans Breuer  <hans@breuer.org>
677
678         * makefile.msc : update
679
680 2008-02-01  Michael Natterer  <mitch@imendio.com>
681
682         * gcontenttype.c (_g_unix_content_type_get_parents): assign the
683         return value of xdg_mime_list_mime_parents() to a variable of the
684         correct type.
685
686 2008-02-01  Alexander Larsson  <alexl@redhat.com>
687
688         * gappinfo.c (g_app_info_launch_uris):
689         Actually call the launch_uris method, not
690         launch.
691
692 2008-02-01  Alexander Larsson  <alexl@redhat.com>
693
694         * gdesktopappinfo.c (g_desktop_app_info_equal):
695         Ensure appinfos with no id but same pointer value
696         compare equal
697
698 2008-02-01  Alexander Larsson  <alexl@redhat.com>
699
700         * gappinfo.c (g_app_info_launch_default_for_uri): 
701         Don't leak appinfo.
702         
703 2008-02-01  Alexander Larsson  <alexl@redhat.com>
704
705         * gappinfo.[ch]:
706         * gio.symbols:
707         Add g_app_info_launch_default_for_uri utility
708         function. (#513256)
709
710 2008-02-01  Cosimo Cecchi  <cosimoc@svn.gnome.org>
711
712         * gdesktopappinfo.c:
713         Doc fix for g_app_info_get_default_for_uri_scheme ()
714         Bug #513483.
715
716 2008-01-30  Alexander Larsson  <alexl@redhat.com>
717
718         * gappinfo.c:
719         Add doc comment about uris vs GFiles to
720         g_app_info_launch()
721         
722         * gdesktopappinfo.c:
723         Ensure uris passed to g_app_info_launch_uris()
724         are not roundtriped through GFile (as that
725         may be slightly destructive for e.g. mailto: links)
726
727 2008-01-30  Alexander Larsson  <alexl@redhat.com>
728
729         * tests/data-input-stream.c:
730         * tests/data-output-stream.c:
731         C89 fixes from Jens Granseuer (#512849)
732
733 2008-01-30  Alexander Larsson  <alexl@redhat.com>
734
735         * fam/fam-helper.c:
736         Fix gamin/fam difference build issue. (#509419)
737
738 2008-01-29  Alexander Larsson  <alexl@redhat.com>
739
740         * gappinfo.h:
741         * gdesktopappinfo.c:
742         Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
743
744 2008-01-29  Alexander Larsson  <alexl@redhat.com>
745
746         * gdesktopappinfo.c:
747         * gdesktopappinfo.h:
748         giomodule-priv.h include moved to .c file.
749
750 2008-01-29  Alexander Larsson  <alexl@redhat.com>
751
752         * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
753         Remove unused prio/name fields.
754
755 2008-01-29  Alexander Larsson  <alexl@redhat.com>
756
757         * gcontenttype.c (looks_like_text):
758         Don't treat whitespace as control chars.
759
760 2008-01-29  Alexander Larsson  <alexl@redhat.com>
761
762         * gdesktopappinfo.c:
763         Lazily create the desktop files for appinfos created
764         by g_app_info_create_from_commandline() when needed
765         for mime associations. This allows run-time use
766         of GAppInfo object without creating unnecessary
767         files on disk.
768
769 2008-01-29  Alexander Larsson  <alexl@redhat.com>
770
771         * gio.symbols:
772         Added new symbols to gio.symbols
773
774 2008-01-29  Alexander Larsson  <alexl@redhat.com>
775
776         * gfile.[ch]:
777         Add g_file_query_default_handler utility to easily look up
778         the GAppInfo that handles a file.
779         
780         * gdesktopappinfo.[ch]:
781         * giomodule.c:
782         Set up an extension point for g_app_info_get_default_for_uri_scheme()
783         
784         * gvfs.c:
785         Remove unused function
786
787 2008-01-29  Alexander Larsson  <alexl@redhat.com>
788
789         * gfileenumerator.c:
790         Mention need to free returned value in
791         g_file_enumerator_next_files_finish docs.
792         Fix leak if g_file_enumerator_next_files_finish()
793         not called.
794
795 2008-01-29  Alexander Larsson  <alexl@redhat.com>
796
797         * gcontenttype.c:
798         (_g_unix_content_type_get_parents):
799         Use list_parents, not get_parents from xdgmime, because
800         the later doesn't use the cache.
801         
802         * xdgmime/xdgmimecache.c:
803         (_xdg_mime_cache_list_mime_parents):
804         Don't list the same type as parent multiple times.
805
806 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
807
808         * === Released 2.15.4 ===
809
810 2008-01-28  Alexander Larsson  <alexl@redhat.com>
811
812         * glocalvfs.c:
813         Register local vfs with prio 0.
814         
815         * gvfs.h:
816         Remove old name and prio class members
817
818 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
819
820         * tests/g-file.c: Disable some tests that are failing in
821         the absence of a http backend.
822
823 2008-01-28  Alexander Larsson  <alexl@redhat.com>
824
825         * giomodule.[ch]:
826         * gio.symbols:
827         Add registration hooks for extension points.
828         Register the gio extension points.
829         
830         * fam/gfamdirectorymonitor.c:
831         * fam/gfamfilemonitor.c:
832         * glocaldirectorymonitor.[ch]:
833         * glocalfilemonitor.[ch]:
834         * gnativevolumemonitor.h:
835         * gunionvolumemonitor.c:
836         * gunixvolumemonitor.c:
837         * gvfs.[ch]:
838         * gvolumemonitor.h:
839         * inotify/ginotifydirectorymonitor.c:
840         * inotify/ginotifyfilemonitor.c:
841         Use the extension points registration instead
842         of g_type_children().
843
844 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
845         
846         * gdrive.[hc]: 
847         * gvolume.[hc]: Document new API. 
848
849         * gfile.c (g_file_copy_async): Fix docs
850
851 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
852
853         * gbufferedinputstream.c:
854         * ginputstream.c:
855         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
856         __FUNCTION__.
857         
858 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
859
860         * glocalfile.c: Avoid trivial differences in translatable strings.
861
862 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
863
864         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
865         build with gcc 3.4  (#509419)
866
867 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
868
869         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
870         (#509994, Murray Cumming)
871
872 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
873
874         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
875         * gioscheduler.c: Keep calling io jobs until they return FALSE;
876         this allows big jobs to be executed in chunks, instead of blocking
877         the main loop for a long time.
878
879         * gsimpleasyncresult.c:
880         * giofile.c: Adapt callers.
881
882 2008-01-25  Alexander Larsson  <alexl@redhat.com>
883
884         * gdesktopappinfo.c:
885         Implement changes discussed on xdg list.
886         Now we can add supported mimetypes by just using defaults.list
887         We can also remove associations in defaults.list.
888
889 2008-01-25  Alexander Larsson  <alexl@redhat.com>
890
891         * gdesktopappinfo.c:
892         Don't make local copy of desktop file
893         for mimetype changes if the file already
894         supports the new mimetype.
895
896 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
897
898         * ginputstream.c:
899         * goutputstream.c:
900         * gbufferedinputstream.c:
901         * glocalfile.c: String improvements.  (#511966, 
902          Theppitak Karoonboonyanan)
903
904 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
905
906         * gioscheduler.h: Expand docs a bit.
907
908 2008-01-24  Alexander Larsson  <alexl@redhat.com>
909
910         * gdrive.[ch]:
911         Add g_drive_get_identifier and
912         g_drive_enumerate_identifiers
913
914         * gvolume.[ch]:
915         Add g_volume_get_identifier and
916         g_volume_enumerate_identifiers
917         
918         * gio.symbols:
919         Add symbols
920         
921         * gunixvolume.c:
922         Implement identifiers for unix backend
923
924 2008-01-24  Alexander Larsson  <alexl@redhat.com>
925
926         * gfile.[ch]:
927         * gfile.h:
928         * gio.symbols:
929         Add g_file_copy_async() (#511580)
930         Based on patch from Carlos Garcia Campos
931
932 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
933
934         * gioscheduler.c: Some documentation additions.
935
936 2008-01-22  Alexander Larsson  <alexl@redhat.com>
937
938         * gdesktopappinfo.c:
939         (g_desktop_app_info_new):
940         Don't leak basename.
941         
942 2008-01-22  Alexander Larsson  <alexl@redhat.com>
943
944         * gdesktopappinfo.c:
945         (g_desktop_app_info_new_from_filename):
946         Don't leak GKeyFile
947
948 2008-01-22  Alexander Larsson  <alexl@redhat.com>
949
950         * glocalfileinfo.c (get_thumbnail_attributes):
951         Fix leak of uri
952
953 2008-01-22  Alexander Larsson  <alexl@redhat.com>
954
955         * glocalfile.c:
956         (canonicalize_filename):
957         Canonicalize paths that start with more than
958         two slashes.
959         
960         * tests/g-file.c:
961         (compare_two_files):
962         (test_g_file_new_for_path):
963         Test the above
964
965 2008-01-22  Alexander Larsson  <alexl@redhat.com>
966
967         * glocalfile.c:
968         Allow UTF-8 in file:// parse names.
969         
970         * tests/Makefile.am:
971         * tests/data-input-stream.c:
972         * tests/data-output-stream.c:
973         * tests/g-file-info.c:
974         * tests/g-file.c:
975         Added a bunch of tests from Tomas Bzatek
976
977 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
978
979         * === Released 2.15.3 ===
980
981 2008-01-21  Alexander Larsson  <alexl@redhat.com>
982
983         * gfileinputstream.[ch]:
984         * gfileoutputstream.[ch]:
985         * gio.symbols:
986         Remove duplicated GSeekable functions. (#509990)
987         Just use the g_seekable_xxx() calls instead.
988
989 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
990
991         * glocal*.c:
992         * gvolumemanager.c: Whitespace cleanups.
993
994         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
995         Use the right mode when creating the file.
996
997 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
998
999         * gfileenumerator.c:
1000         * gfileinputstream.c:
1001         * ginputstream.c:
1002         * goutputstream.c: Documentation: Fixed minor typos 
1003         and added more mentions of specific _finish() functions.
1004
1005 2008-01-21  Alexander Larsson  <alexl@redhat.com>
1006
1007         * inotify/Makefile.am:
1008         * inotify/inotify-helper.c:
1009         * inotify/inotify-kernel.c:
1010         * inotify/inotify-path.c:
1011         * inotify/local_inotify.h: Removed.
1012         * inotify/local_inotify_syscalls.h: Removed.
1013         Removed the included copies of the inotify
1014         headers. We now only use the <sys/inotify.h>
1015         header which exists on modern systems.
1016         This fixes problems on ARM and SH5 (#510448)
1017         but is also generally much cleaner and future
1018         safe. For instance, if other OSes add support
1019         for inotify it should "just work".
1020
1021 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
1022
1023         * inotify/*.c: Coding style fixes.
1024         * inotify/inotify-missing.c: Use g_timeout_add_seconds
1025         for the 1/4 Hz timer.
1026
1027 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
1028
1029         * gfile.c:
1030         * gfilemonitor.[hc]:
1031         * gmemoryinputstream.c:
1032         * gmemoryoutputstream.c:
1033         * gmountoperation.c:
1034         * gthemedicon.c: Documentation updates
1035
1036 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
1037
1038         * gfile.c: documentation: Fixed more minor 
1039         typos.
1040
1041 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1042
1043         * gmount.c: (g_mount_remount): documentation: 
1044         Mention g_mount_remount_finish() instead of 
1045         g_mount_unmount_finish().
1046
1047 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1048
1049         * gappinfo.c:
1050         * gcancellable.c:
1051         * gfile.c: Fixed some minor typos in the 
1052         documentation. 
1053
1054 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
1055
1056         * gio/gvolumemonitor.c: 
1057         (g_volume_monitor_get_connected_drives): 
1058         (g_volume_monitor_get_volumes): 
1059         (g_volume_monitor_get_mounts): Documentation: 
1060         Clarify the ownership of the regurn GLists.
1061
1062 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1063
1064         * gfile.h:
1065         Add the async find_enclosing_mount version
1066         to the header file too.
1067
1068 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1069
1070         * gfile.c:
1071         Add async version of find_enclosing_mount
1072         with default implementation.
1073
1074 2008-01-17  Alexander Larsson  <alexl@redhat.com>
1075
1076         * gfile.c:
1077         (g_file_copy):
1078         (g_file_move):
1079         Allow calls to implementation of copy and write
1080         even if the type of the file implementations is
1081         different. This can be used to implement native
1082         upload and download calls in a vfs.
1083         
1084         * glocalfile.c:
1085         (g_local_file_move):
1086         Protect against the case where move is called
1087         with one file not being local.
1088         
1089         Make sure we call the progress callback once
1090         in the native move operation so that the caller
1091         knows how many bytes were copied.
1092
1093 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
1094
1095         * gappinfo.c:
1096         * gdatainputstream.c:
1097         * gfile.c:
1098         * gfileoutputstream.c:
1099         * ginputstream.c:
1100         * gmount.c:
1101         * goutputstream.c:
1102         * gseekable.c:
1103         * gunixmounts.c: Corrected some typos in the documentation:
1104         occured -> occurred.
1105         its -> it's (where appropriate).
1106
1107 2008-01-16  Alexander Larsson  <alexl@redhat.com>
1108
1109         * gfile.[ch]:
1110         * gio.symbols:
1111         Add g_file_query_exists (#508771)
1112
1113 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
1114
1115         * gdrive.c:
1116         * gfile.c:
1117         * gmount.c:
1118         * gvolume.c: For async functions that have no non-async 
1119         version, document that the GAsyncReadyCallback may be NULL.
1120         Bug #509626.
1121
1122 2008-01-15  Alexander Larsson  <alexl@redhat.com>
1123
1124         * gmemoryinputstream.c:
1125         * gmemoryoutputstream.c:
1126         Don't do pointer arithmetic on void * (#508602)
1127         Patch from Kazuki IWAMOTO
1128
1129 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
1130
1131         * === Released 2.15.2 ===
1132
1133 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1134
1135         * gfile.c (g_file_monitor_file):
1136         Don't set error here, since we fallback to polling monitor.
1137
1138 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1139
1140         * gfile.[ch]:
1141         (g_file_monitor_directory):
1142         (g_file_monitor_file):
1143         Add GError to file monitor calls
1144         
1145         * glocaldirectorymonitor.c:
1146         * glocaldirectorymonitor.h:
1147         * glocalfile.c:
1148         * glocalfilemonitor.c:
1149         * glocalfilemonitor.h:
1150         * gunixmounts.c:
1151         Update for above change
1152
1153 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1154
1155         * glocalfile.c:
1156         (match_prefix):
1157         Handle root correctly in g_file_get_relative_path (#508719)
1158
1159 2008-01-14  Alexander Larsson  <alexl@redhat.com>
1160
1161         * gasyncresult.c:
1162         Clean up docs and example for GAsyncResult (#508074)
1163
1164 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
1165
1166         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
1167         and correct some spelling mistakes. Bug #508108.
1168
1169 2008-01-11  Matthias Clasen <mclasen@redhat.com>
1170
1171         * glocalfileinfo.c: Add a comment.
1172
1173 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
1174
1175         * gfileinfo.c: GFileInfo description: Mention 
1176         how to actually set attributes in a GFile and how to discover 
1177         which attributes are settable. Bug #508378.
1178
1179 2008-01-10  A. Walton  <awalton@svn.gnome.org>
1180
1181         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1182         (g_app_info_get_default_for_type):
1183         Check for NULL content types.
1184
1185 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
1186
1187         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1188
1189 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
1190
1191         * gfile.c: *_async() functions: Several small corrections 
1192         to the documentation, mostly correcting copy/paste errors 
1193         and improving some sentences.
1194
1195 2008-01-09  Dan Winship  <danw@gnome.org>
1196
1197         * glocalfile.c (get_unique_filename): x86_64 fix
1198
1199 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1200
1201         * gio.symbols:
1202         * gunixmount.c:
1203         * gunixmounts.[ch]:
1204         Add g_unix_mount_guess_should_display and use
1205         for unix volume monitor backend.
1206         This means we more or less show what the
1207         gnome-vfs backend did.
1208         Based on patch from Padraig O'Briain
1209
1210 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1211
1212         * gio.symbols:
1213         * gthemedicon.[ch]:
1214         Add g_themed_icon_new_with_default_fallbacks
1215         
1216         * gunixmounts.c:
1217         Use default fallbacks for icons
1218
1219 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1220
1221         * gio-marshal.list:
1222         * gmountoperation.[ch]:
1223         Change the API a bit so that unhandled methods
1224         get reported via the reply, rather than by
1225         the signal emission return value. This is because
1226         some handlers can't know this immediately without
1227         doing I/O, and this is an async operation that
1228         should not block.
1229
1230 2008-01-09  Alexander Larsson  <alexl@redhat.com>
1231
1232         * fam/fam-helper.c:
1233         * fam/gfamdirectorymonitor.c:
1234         * fam/gfamfilemonitor.c:
1235         Fix double free crash (#508224)
1236         Patch from Joe Marcus Clarke
1237
1238 008-01-07  Matthias Clasen  <mclasen@redhat.com>
1239
1240         * === Released 2.15.1 ===
1241
1242 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1243
1244         * gunixinputstream.c (g_unix_input_stream_skip_finish):
1245         Fix warning (#507835)
1246
1247 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1248
1249         * Makefile.am:
1250         Pass --internal to glib-genmarshal
1251         
1252         * gfilemonitor.c:
1253         * gmountoperation.c:
1254         * gio-marshal.list:
1255         Use better types for signal arguments (#507822)
1256
1257 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1258
1259         * Makefile.am:
1260         Build test subdir after .
1261         Remove gdirectorymonitor.[ch]
1262         
1263         * gdirectorymonitor.[ch]:
1264         * gfilemonitor.c:
1265         * gfile.[ch]:
1266         * gio.h:
1267         Remove GDirectoryMonitor and make
1268         GFileMonitor the baseclass for both file and
1269         directory monitors. Lift the more generic
1270         rate limiting code from GDirectoryMonitor
1271         into GFileMonitor.
1272         
1273         * fam/fam-helper.c:
1274         * fam/gfamdirectorymonitor.[ch]:
1275         * inotify/ginotifydirectorymonitor.[ch]:
1276         * inotify/inotify-helper.c:
1277         * glocaldirectorymonitor.[ch]:
1278         * glocalfile.c:
1279         * gvolumemonitor.c:
1280         Update for the removed GDirectoryMonitor.
1281         
1282         * gmemoryoutputstream.c:
1283         Remove ununsed variable
1284
1285 2008-01-07  Alexander Larsson  <alexl@redhat.com>
1286
1287         * gmemoryinputstream.c:
1288         Translate error strings
1289         
1290         * gio.symbols:
1291         * gmemoryoutputstream.[ch]:
1292         New implementation that avoids using GByteArray
1293         in implementation and API. (#506377)
1294
1295 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1296
1297         * tests/*: Add a test for memory input streams.
1298         
1299         * Makefile.am: Add tests to SUBDIRS.
1300
1301 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1302
1303         * glocalfilemonitor.c:
1304         * glocaldirectorymonitor.c: Mark property nicks and blurbs
1305         for translation.
1306
1307 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1308
1309         * gdesktopappinfo.c: Fix a docs typo.
1310
1311         * gfileattribute.c: Add information about extended attributes
1312         to the documentation.  (#505058)
1313
1314 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1315
1316         * gio-marshal.list:
1317         * gmountoperation.c:
1318         Use the right type (uint) for the ask_password signal.
1319
1320 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1321
1322         * gappinfo.[ch]:
1323         * gwin32appinfo.c:
1324         * gio.symbols:
1325         Add g_app_info_supports_files() 
1326         Remove desktop arg from g_app_info_should_show().
1327         
1328         * gdesktopappinfo.[ch]:
1329         Implement g_app_info_supports_files() and new should_show()
1330         Add g_desktop_app_info_set_desktop_env() to set the desktop
1331         for should_show(). (This will be set by gtk+ later)
1332
1333 2008-01-04  Alexander Larsson  <alexl@redhat.com>
1334
1335         * gio.symbols:
1336         * gmemoryinputstream.[ch]:
1337         Improve API so that you can use multiple chunks
1338         of memory and custom destroy functions. (#506374)
1339
1340 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1341
1342         * gfileinfo.c:
1343         Handle NULL attribute matchers safely, as we return this
1344         for empty attribute matcher strings.
1345
1346 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1347
1348         * gunixmounts.c (g_unix_is_mount_path_system_internal):
1349         Add /usr/local to list of internal mountpoints
1350
1351 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1352
1353         * glocalfileinfo.c:
1354         Check for HAVE_LCHOWN (#505887)
1355         
1356 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1357
1358         * gfileinfo.h:
1359         * glocalfileinfo.c:
1360         Add define for selinux context attribute.
1361         Fix missing : -> :: namespace separator change
1362         Fix missing _ -> - name change for xattr-sys.
1363         (#505058)
1364
1365 2008-01-03  Alexander Larsson  <alexl@redhat.com>
1366
1367         * fam/Makefile.am:
1368         Link to libglib and libgobject directly (#504879)
1369         Patch from Sebastien Bacher
1370
1371 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1372
1373         * gfile.c: Expanded the g_file_new_for_commandline_arg
1374         description a bit, based on the code and the docs of the
1375         other g_file_new_for_* functions.
1376
1377 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1378
1379         * gfilemonitor.h: Fixed typo in docs.
1380
1381 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
1382
1383         Updates to GIO documentation. (#506395, Mikael Hermansson)
1384
1385         * gcontenttype.c: Describe memory management for return value of
1386         g_content_types_get_registered(). Missing piece from #505815.
1387         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1388         GVolume, GDrive, GMounts, which hopefully gives the user less
1389         confusions when using this API. Following explainations from
1390         Alexander Larsson on gtk-devel-list.
1391
1392 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1393
1394         * gfileinfo.c: Expand the long description.
1395
1396 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1397
1398         * fam/Makefile.am:
1399         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1400         fix builds with --disable-visibility.  (#500273, Christian Persch)
1401
1402 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1403
1404         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1405         in the list of returned app infos.
1406
1407 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1408
1409         * gappinfo.c: Fix a cross-reference
1410
1411 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
1412
1413         * gfileinputstream.c:
1414         * gfileoutputstream.c:
1415         * gloadableicon.h:
1416         * gunixmounts.c:
1417         * gmount.h:
1418         * gdesktopappinfo.c:
1419         * gvolumemonitor.c: 
1420         * gfileinfo.c: Documentation updates.
1421
1422 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
1423
1424         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
1425         Tommi Komulainen)
1426
1427 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
1428
1429         * gcontenttype.c (g_content_types_get_registered): Don't return
1430         freed memory (#505815, Mikael Hermansson)
1431
1432 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
1433
1434         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1435         used to detect statbuf->st_blocks. (#505042)
1436
1437 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1438
1439         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1440         environment handling.  (#504829, Cosimo Cecchi)
1441
1442 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
1443
1444         * gappinfo.c: Doc improvements
1445         
1446         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1447         not ids.
1448
1449 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
1450
1451         * === Released 2.15.0 ===
1452
1453 2007-12-20  Hans Breuer  <hans@breuer.org>
1454
1455         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
1456         with symbols gwin32appinfo.obj, added gmount.obj
1457         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1458
1459 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1460
1461         * gfile.c:
1462         * gfileattribute.c:
1463         * gfileinfo.c:
1464         * gfileinfo.h:
1465         * gfilenamecompleter.c:
1466         * glocalfile.c:
1467         * glocalfileinfo.c:
1468         * gpollfilemonitor.c:
1469         File attribute renames:
1470         std:: -> standard::
1471         fs:: -> filesystem::
1472         id::fs -> id::filesystem
1473         
1474 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1475
1476         * gfile.[ch]:
1477         * gdrive.[ch]:
1478         * gmount.[ch]:
1479         * gvolume.[ch]:
1480         * gunixmount.c:
1481         * gunixvolume.c:
1482         * gio.symbols:
1483         Add GMountUnmountFlags to all unmount and
1484         eject calls.
1485         Add g_mount_remount() call.
1486
1487 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1488
1489         * gvfs.c (get_default_vfs):
1490         Fix unused variable warning
1491
1492 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
1493
1494         * pltcheck.sh: Update
1495
1496 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
1497
1498         * gunionvolumemonitor.c:
1499         * gunixmount.c: Remove C99 comments
1500
1501 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
1502
1503         * gio.symbols: Add some missing symbols
1504
1505 2007-12-19  Alexander Larsson  <alexl@redhat.com>
1506
1507         * giomodule.c:
1508         Make g_io_modules_load_all_in_directory not unuse
1509         loaded modules so that users of it can do stuff
1510         before unloading.
1511         Init internal "module" types.
1512         Initialize static prio and name for types so that
1513         we don't have to load modules to get it.
1514         
1515         * gnativevolumemonitor.h:
1516         * gvolumemonitor.h:
1517         Move is_supported to parent class so that
1518         non-native monitors can avoid being initialized
1519         too. (For instance GDaemonVolumeMonitor if we're
1520         not using GDaemonVfs.)
1521         
1522         * glocaldirectorymonitor.[ch]:
1523         * glocalfilemonitor.[ch]:
1524         * gunionvolumemonitor.c:
1525         * gunixvolumemonitor.c:
1526         * gvfs.c:
1527         Find plugins using the static prio+name to
1528         avoid unnecessarily loading the modules.
1529
1530 2007-12-19  Alexander Larsson  <alexl@redhat.com>
1531
1532         * giomodule.c:
1533         Remove warnings
1534
1535 2007-12-19  Alexander Larsson  <alexl@redhat.com>
1536
1537         * gunionvolumemonitor.c:
1538         Store the native type as GType, not class so that
1539         we can unload it. But still avoid unnecessarily
1540         unload modules.
1541
1542 2007-12-19  David Zeuthen  <davidz@redhat.com>
1543
1544         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1545         add signals 'disconnected' and 'eject-button' on GDrive. Add
1546         signal 'removed' on GVolume and 'unmounted' on GMount.
1547
1548         * gdrive.c: (g_drive_base_init):
1549         * gdrive.h:
1550         * gfile.c: (g_file_mount_mountable),
1551         (g_file_mount_enclosing_volume):
1552         * gio.symbols:
1553         * gioerror.h:
1554         * gmount.c: (g_mount_base_init):
1555         * gmount.h:
1556         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1557         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1558         * gvolume.c: (g_volume_base_init), (g_volume_mount):
1559         * gvolume.h:
1560         * gvolumemonitor.h:
1561
1562 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
1563
1564         * *.c: Fix up includes in the section docs.
1565
1566 2007-12-17  Alexander Larsson  <alexl@redhat.com>
1567
1568         * gnativevolumemonitor.h:
1569         * gunionvolumemonitor.c:
1570         * gunixvolumemonitor.c:
1571         Add is_supported() to GNativeVolumeMonitorClass so
1572         that we can avoid having to create an object to see
1573         if the backend is supported at runtime.
1574         Also add name member and an env var to pick a specific
1575         volume monitor backend.
1576         
1577         * gmountprivate.h:
1578         * glocalfile.c:
1579         Add cancellable to _g_mount_get_for_mount_path()
1580         
1581         * glocaldirectorymonitor.c:
1582         * glocalfilemonitor.c:
1583         Avoid loading and unloading modules while sorting.
1584
1585 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
1586
1587         * gio.symbols:
1588         * gunixmounts.[hc]: Namespace waste reduction, move some
1589         g_get_unix_mount functions to the g_unix_mount namespace.
1590
1591         * gunixmounts.c:
1592         * gunixvolumemonitor.c:
1593         * glocalfile.c:
1594         * glocaldirectorymonitor.c: Update all callers.
1595
1596         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1597
1598 2007-12-17  Alexander Larsson  <alexl@redhat.com>
1599
1600         * gfile.c:
1601         Add doc comments about what GFile operations are
1602         guaranteed to not block.
1603
1604 2007-12-17  Alexander Larsson  <alexl@redhat.com>
1605
1606         * gunixmounts.c:
1607         Add missing #ifdef fixing OSX build.
1608         (#503334, patch from Richard Hult)
1609
1610 2007-12-14  David Zeuthen  <davidz@redhat.com>
1611
1612         * Makefile.am:
1613         * gio.symbols:
1614         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1615         (g_mount_eject), (g_mount_eject_finish):
1616         * gmount.h:
1617         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1618         (get_volume_for_uuid), (get_mount_for_uuid),
1619         (g_union_volume_monitor_class_init),
1620         (get_default_native_type_with_exclude), (get_default_native_type),
1621         (get_native_type), (update_native_type),
1622         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1623         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1624         (g_unix_mount_can_eject), (eject_unmount_cb),
1625         (eject_unmount_read_error), (eject_unmount_do),
1626         (g_unix_mount_unmount), (g_unix_mount_eject),
1627         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1628         * gunixmounts.c: (g_unix_mount_guess_can_eject),
1629         (g_unix_mount_point_guess_can_eject):
1630         * gunixmounts.h:
1631         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1632         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1633         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1634         (g_unix_volume_mount), (g_unix_volume_eject),
1635         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1636         * gunixvolumemonitor.c: (get_volume_for_uuid),
1637         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1638         (update_mounts):
1639         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1640         (g_volume_eject), (g_volume_eject_finish):
1641         * gvolume.h:
1642         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1643         (g_volume_monitor_get_mount_for_uuid):
1644         * gvolumemonitor.h:
1645
1646         Provide eject() on both GMount and GVolume and utility functions
1647         to guess whether a GUnixMountPoint or GUnixMountEntry should be
1648         ejected. Introduce the concept of UUID's and wire it into GVolume
1649         and GMount and provide API on GVolumeMonitor to find such
1650         instances. Also handle the case where an external
1651         GNativeVolumeMonitor fails to initialize. Lock around the
1652         _g_get_mount_for_mount_path() function such that volume monitor
1653         implementations won't have to do locking themselves.
1654
1655 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
1656
1657         * gdesktopappinfo.c:
1658         * gunixmounts.c:
1659         * gfileinfo.c:
1660         * gvolumemonitor.c:
1661         * gfile.h:
1662         * gioscheduler.c:
1663         * gvolume.h: Documentation updates
1664
1665 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
1666
1667         * gunixmounts.c:
1668         * gfile.h: Doc updates
1669
1670 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
1671
1672         * gcontenttype.c:
1673         * gdesktopappinfo.c: Use hash table iterators.
1674
1675 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1676
1677         * Makefile.am:
1678         * gfileattribute.[ch]:
1679         * gfileattribute-priv.h:
1680         Move GFileAttributeValue to a private header, as
1681         its sort of ugly.
1682         
1683         * gfile.[ch]:
1684         Make set_attribute take a type + a pointer instead
1685         of a GFileAttributeValue.
1686         
1687         * gfileinfo.[ch]:
1688         Fix up for above changes.
1689         Add g_file_info_get_attribute_data to get
1690         all info in one call, g_file_info_get_attribute_status
1691         to get the status and g_file_info_get_attribute_as_string.
1692         
1693         * gio.symbols:
1694         * glocalfile.c:
1695         * glocalfileinfo.[ch]:
1696         Update for changes
1697         
1698         * gunixmounts.c:
1699         Make _guess_type static.
1700
1701 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
1702
1703         * Makefile.am:
1704         * inotify/Makefile.am: Fixed build when srcdir != builddir,
1705         made mkenums and friends use temporary files to avoid leaving
1706         empty generated files on failure (#503470).
1707
1708 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1709
1710         * gmountoperation.h:
1711         Fix AKS -> ASK typo
1712
1713 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1714
1715         * gappinfo.h:
1716         * gfile.[ch]:
1717         * gfileattribute.[ch]:
1718         * gio.symbols:
1719         * glocalfile.c:
1720         * glocalfileoutputstream.c:
1721         * gmountoperation.[ch]:
1722         * goutputstream.[ch]:
1723         Clean up all flags enums to not have _FLAGS in them
1724         Make the names of some of the enums better.
1725
1726         * glocalfileinfo.c:
1727         Fix warning
1728         
1729 2007-12-14  Michael Natterer  <mitch@imendio.com>
1730
1731         * gio.symbols: fix g_io_scheduler symbol names.
1732
1733 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1734
1735         * Makefile.am:
1736         * fam/Makefile.am:
1737         * gappinfo.h:
1738         * gasyncresult.h:
1739         * gbufferedinputstream.h:
1740         * gbufferedoutputstream.h:
1741         * gcancellable.h:
1742         * gcontenttype.h:
1743         * gdatainputstream.h:
1744         * gdataoutputstream.h:
1745         * gdesktopappinfo.h:
1746         * gdirectorymonitor.h:
1747         * gdrive.h:
1748         * gfile.h:
1749         * gfileattribute.h:
1750         * gfileenumerator.h:
1751         * gfileicon.h:
1752         * gfileinfo.h:
1753         * gfileinputstream.h:
1754         * gfilemonitor.h:
1755         * gfilenamecompleter.h:
1756         * gfileoutputstream.h:
1757         * gfilterinputstream.h:
1758         * gfilteroutputstream.h:
1759         * gicon.h:
1760         * ginputstream.h:
1761         * gio.h:
1762         * gioerror.h:
1763         * giomodule.h:
1764         * gioscheduler.h:
1765         * gloadableicon.h:
1766         * gmemoryinputstream.h:
1767         * gmemoryoutputstream.h:
1768         * gmount.h:
1769         * gmountoperation.h:
1770         * goutputstream.h:
1771         * gseekable.h:
1772         * gsimpleasyncresult.h:
1773         * gthemedicon.h:
1774         * gunixinputstream.h:
1775         * gunixmounts.h:
1776         * gunixoutputstream.h:
1777         * gvfs.h:
1778         * gvolume.h:
1779         * gvolumemonitor.h:
1780         * inotify/Makefile.am:
1781         Only allow including <gio/gio.h> from apps
1782
1783 2007-12-14  Alexander Larsson  <alexl@redhat.com>
1784
1785         * gioscheduler.[ch]:
1786         * gsimpleasyncresult.c:
1787         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1788         Split out the send_to_mainloop call into two versions instead
1789         of having the block argument.
1790
1791 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1792
1793         * gcancellable.[ch]:
1794         * gio.symbols:
1795         * gbufferedinputstream.c:
1796         * gfileenumerator.c:
1797         * gfileinputstream.c:
1798         * gfileoutputstream.c:
1799         * ginputstream.c:
1800         * gioscheduler.c:
1801         * goutputstream.c:
1802         g_push/pop_current_cancellable ->
1803         g_cancellable_push/pop_current
1804
1805 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1806
1807         * gfile.[ch]:
1808         * gio.symbols:
1809         Rename g_mount_for_location to g_file_mount_enclosing_volume.
1810
1811 2007-12-13  Alexander Larsson  <alexl@redhat.com>
1812
1813         * gmountoperation.h:
1814         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1815
1816 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1817
1818         * gioscheduler.c:
1819         Fix race condition when freeing proxy in
1820         g_io_job_send_to_mainloop().
1821
1822 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1823
1824         * gfileattribute.c:
1825         * gfileinfo.[ch]:
1826         * glocalfile.c:
1827         * glocalfileinfo.c:
1828         Make attribute namespace separator "::" instead of ":".
1829         Use - instead of _ as separator in attribute names.
1830
1831 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1832
1833         * gbufferedinputstream.h:
1834         * gbufferedoutputstream.h:
1835         * gdatainputstream.h:
1836         * gdataoutputstream.h:
1837         * gdirectorymonitor.h:
1838         * gfileenumerator.h:
1839         * gfileinputstream.h:
1840         * gfilemonitor.h:
1841         * gfileoutputstream.h:
1842         * gfilterinputstream.h:
1843         * gfilteroutputstream.h:
1844         * ginputstream.h:
1845         * glocalfileinputstream.h:
1846         * glocalfileoutputstream.h:
1847         * gmemoryinputstream.h:
1848         * gmemoryoutputstream.h:
1849         * gnativevolumemonitor.h:
1850         * goutputstream.h:
1851         * gunixinputstream.h:
1852         * gunixoutputstream.h:
1853         * gvfs.h:
1854         * gvolumemonitor.h:
1855         s/parent/parent_instance/ in GObjects
1856
1857 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1858
1859         * gdrive.h:
1860         * gmount.h:
1861         * gvolume.h:
1862         No need for padding for interfaces
1863         
1864 2007-12-12  Alexander Larsson  <alexl@redhat.com>
1865
1866         * gappinfo.[ch]:
1867         * gasyncresult.c:
1868         * gbufferedinputstream.c:
1869         * gbufferedoutputstream.c:
1870         * gcancellable.c:
1871         * gcontenttype.c:
1872         * gdatainputstream.[ch]:
1873         * gdesktopappinfo.c:
1874         * gdirectorymonitor.c:
1875         * gfile.[ch]:
1876         * gfileattribute.[ch]:
1877         * gfileicon.[ch]:
1878         * gfileinfo.h:
1879         * gfileinputstream.h:
1880         * gfilemonitor.[ch]:
1881         * gfileoutputstream.[ch]:
1882         * gfilterinputstream.h:
1883         * gfilteroutputstream.h:
1884         * gicon.h:
1885         * gioscheduler.c:
1886         * gloadableicon.[ch]:
1887         * gmemoryinputstream.c:
1888         * gmountoperation.c:
1889         * gthemedicon.c:
1890         Fix up a bunch of details in the docs.
1891
1892         * glocalfileinfo.c:
1893         CR/LF -> LF fixups
1894         
1895 2007-12-11  David Zeuthen  <davidz@redhat.com>
1896
1897         Rework how volumes, drives and volume monitoring is
1898         done. Previosly the model was
1899
1900          GDrive <1-1> GVolume
1901
1902         where a GDrive instance represented a mount point and a GVolume
1903         instance represented a mounted file system. This patch changes it
1904         the model to
1905
1906                 GDrive <1-N> GVolume <1-1> GMount
1907
1908         where GMount now serves the purpose of the old GVolume and the new
1909         GVolume serves the purpose of the old GDrive. In addition the new
1910         GDrive interface is used to represent a collection of GVolume
1911         instances (typically partitions) and also contains utility to query
1912         the state of the physical drive the GDrive object represents (such
1913         as checking for media, polling the drive, ejecting the media etc.).
1914
1915         Also implement mounting and unmounting in the Unix volume monitor
1916         backend. A subquent patch will introduce GDrive support for ejection
1917         of media.
1918
1919         * Makefile.am:
1920         * gdrive.c: (g_drive_is_media_check_automatic),
1921         (g_drive_is_media_removable), (g_drive_has_media),
1922         (g_drive_can_poll_for_media), (g_drive_eject),
1923         (g_drive_eject_finish), (g_drive_poll_for_media),
1924         (g_drive_poll_for_media_finish):
1925         * gdrive.h:
1926         * gfile.c: (g_file_find_enclosing_mount):
1927         * gfile.h:
1928         * gio.symbols:
1929         * glocaldirectorymonitor.c:
1930         (g_local_directory_monitor_constructor), (mounts_changed):
1931         * glocalfile.c: (get_mount_info),
1932         (g_local_file_find_enclosing_mount),
1933         (g_local_file_file_iface_init):
1934         * gnativevolumemonitor.h:
1935         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1936         (get_connected_drives), (g_union_volume_monitor_class_init),
1937         (child_volume_added), (child_volume_removed),
1938         (child_volume_changed), (child_mount_added), (child_mount_removed),
1939         (child_mount_pre_unmount), (child_mount_changed),
1940         (child_drive_changed), (g_union_volume_monitor_add_monitor),
1941         (g_union_volume_monitor_remove_monitor),
1942         (_g_mount_get_for_mount_path):
1943         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1944         (guess_system_internal), (_g_get_unix_mounts),
1945         (_g_get_unix_mount_points), (g_get_unix_mount_at),
1946         (g_unix_mount_free), (g_unix_mount_compare),
1947         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1948         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1949         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1950         (type_to_icon), (g_unix_mount_guess_name),
1951         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1952         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1953         (_resolve_symlink), (_resolve_dev_root):
1954         * gunixmounts.h:
1955         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1956         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1957         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1958         (g_unix_volume_get_name), (g_unix_volume_can_mount),
1959         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1960         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1961         (g_unix_volume_mount), (g_unix_volume_mount_finish),
1962         (g_unix_volume_volume_iface_init):
1963         * gunixvolume.h:
1964         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1965         (get_mounts), (get_volumes), (get_connected_drives),
1966         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1967         (mountpoints_changed), (mounts_changed),
1968         (g_unix_volume_monitor_init),
1969         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1970         (find_mount_by_mountpath), (update_volumes), (update_mounts):
1971         * gunixvolumemonitor.h:
1972         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1973         (g_volume_mount), (g_volume_mount_finish):
1974         * gvolume.h:
1975         * gvolumemonitor.c: (g_volume_monitor_class_init),
1976         (g_volume_monitor_get_connected_drives),
1977         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1978         * gvolumemonitor.h:
1979
1980 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1981
1982         * gmountoperation.h (GPasswordFlags): Close the gap
1983
1984 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1985
1986         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1987         * gio.symbols:
1988         * gdesktopappinfo.[hc]: Remove _-prefixes
1989
1990 2007-12-10  Tor Lillqvist  <tml@novell.com>
1991
1992         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1993         gcc warnings.
1994
1995 2007-12-10  Alexander Larsson  <alexl@redhat.com>
1996
1997         * gfile.c (g_file_set_display_name):
1998         Don't hardcode '/' (#502727)
1999
2000 2007-12-09  Hans Breuer  <hans@breuer.org>
2001
2002         * makefile.msc : follow lib naming convention
2003         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2004         for user and group name, tested with ../tests/gio-ls
2005
2006 2007-12-09  A. Walton  <awalton@svn.gnome.org>
2007
2008         * gdesktopappinfo.c:
2009         * gdrive.c:
2010         * gdrive.h:
2011         * gfile.c:
2012         * gfile.h:
2013         * gfileattribute.c:
2014         * gfileenumerator.c:
2015         * gioerror.c:
2016         * gioscheduler.c:
2017         * gioscheduler.h:
2018         * gloadableicon.c:
2019         * gmemoryinputstream.c:
2020         * gmemoryoutputstream.c:
2021         * goutputstream.h:
2022         * gsimpleasyncresult.c:
2023         More documentation cleanup and filling in missing information, bringing
2024         GIO to 99% symbol coverage.
2025
2026 2007-12-08  Hans Breuer  <hans@breuer.org>
2027
2028         [gio compiles and links on win32, not sure how much already works]
2029         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2030         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
2031         base on win32 API; prefer g_lstat() over lstat(); instead of 
2032         localtime_r() use an all GLib implementation on win32;
2033         get_mount_info() still needs a win32 specifc implementation
2034         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
2035         win32_get_file_user_info to get owner/group info without uid/gid
2036         * glocalfileinputstream.c : include <io.h> on win32
2037         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2038         definition, use g_win32_ftruncate() for G_OS_WIN32
2039         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2040         it is available with mingw/w32api but a mess with the M$ Platform SDKs
2041         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2042         * makefile.msc : updated
2043
2044 2007-12-07  Alexander Larsson  <alexl@redhat.com>
2045
2046         * glocalfileenumerator.c (_g_local_file_enumerator_new):
2047         Avoid warning spew if error == NULL
2048         
2049 2007-12-07  Alexander Larsson  <alexl@redhat.com>
2050
2051         * gfile.c:
2052         Update docs wrt etags
2053
2054 2007-12-06  Alexander Larsson  <alexl@redhat.com>
2055
2056         * glocalfileinfo.h:
2057         Include sys/types.h for dev_t (#501919)
2058
2059 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
2060
2061         * gio.symbols:
2062         * pltcheck.sh:
2063         Make abicheck and pltcheck pass.
2064
2065 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2066
2067         * Makefile.am:
2068         * giomodule-priv.h: Added.
2069         * glocaldirectorymonitor.c:
2070         * glocalfilemonitor.c:
2071         * gunionvolumemonitor.c:
2072         * gvfs.c:
2073         Actually add the declaration of _g_io_modules_ensure_loaded
2074
2075 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2076
2077         * gdatainputstream.c:
2078         Fix warnings
2079         
2080         * gio.symbols:
2081         * giomodule.[ch]
2082         * glocaldirectorymonitor.c:
2083         * glocalfilemonitor.c:
2084         * gunionvolumemonitor.c:
2085         * gvfs.c:
2086         Make g_io_modules_ensure_loaded a private function and
2087         don't pass in the dirname. This means we can do magic
2088         directory finding in the win32 version.
2089         Export the actual load-modules-in-directory code so that
2090         gvfs can reuse that.
2091
2092 2007-12-05  Alexander Larsson  <alexl@redhat.com>
2093
2094         * gbufferedinputstream.c:
2095         * gbufferedoutputstream.c:
2096         * gdrive.[ch]:
2097         * gfile.[ch]:
2098         * gfileenumerator.[ch]:
2099         * gfileinputstream.c:
2100         * gfileoutputstream.[ch]:
2101         * gfilterinputstream.c:
2102         * gfilteroutputstream.c:
2103         * ginputstream.[ch]:
2104         * glocalfile.c:
2105         * glocalfileenumerator.c:
2106         * glocalfileinputstream.c:
2107         * glocalfileoutputstream.c:
2108         * gmemoryinputstream.c:
2109         * gmemoryoutputstream.c:
2110         * goutputstream.[ch]:
2111         * gseekable.[ch]:
2112         * gunixdrive.c:
2113         * gunixinputstream.c:
2114         * gunixoutputstream.c:
2115         Rename all struct members named:
2116         read, write, close, truncate, or mount
2117         to foo_fn, as these are reserved names
2118         and could be defined as macros in libc.
2119         (#501645)
2120
2121 2007-12-04  Alexander Larsson  <alexl@redhat.com>
2122
2123         * goutputstream.c:
2124         (g_output_stream_close):
2125         Only call flush if non-null.
2126
2127 2007-11-30  Dan Winship  <danw@gnome.org>
2128
2129         * ginputstream.c (g_input_stream_set_pending): Make this take a
2130         GError and return a gboolean, and do the "outstanding operation"
2131         check (and the "stream is already closed" check) itself.
2132         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2133
2134         * goutputstream.c (g_output_stream_set_pending)
2135         (g_output_stream_clear_pending): Likewise
2136
2137         * gbufferedinputstream.c: 
2138         * gfileinputstream.c: 
2139         * gfileoutputstream.c: Update for that
2140
2141         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2142         Like g_simple_async_report_error_in_idle, but takes a GError
2143         rather than building one.
2144
2145 2007-11-30  Dan Winship  <danw@gnome.org>
2146
2147         * goutputstream.c: Don't cheat and unset the "pending" flag around
2148         inner calls. Instead, call the class method directly rather than
2149         the wrapper function that checks "pending"
2150
2151 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
2152
2153         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2154
2155 2007-12-03  Hans Breuer  <hans@breuer.org>
2156
2157         [start of port to win32/msvc]
2158         * gcancellable.c : HAVE_UNIST_H and _pipe()
2159         * gcontenttype.c : only include <dirent.h> in the UNIX branch
2160         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2161         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
2162         HAVE_UNIST_H
2163         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2164         * glocalvfs.c : use HAVE_PWD_H
2165         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2166         * makefile.msc : new file (maybe later converted to makefile.msc.in)
2167         * Makefile.am : added to EXTRA_DIST
2168
2169 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
2170
2171         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2172         (#499783)
2173
2174 2007-12-03  Alexander Larsson  <alexl@redhat.com>
2175
2176         * glocalfileinfo.c:
2177         Handle OSX style xattrs API (#500506)
2178
2179 2007-12-03  Alexander Larsson  <alexl@redhat.com>
2180
2181         * gfile.[ch]:
2182         * glocalfile.c:
2183         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2184
2185 2007-12-02  A. Walton  <awalton@svn.gnome.org>
2186
2187         * gfile.c:
2188         * gfileattribute.c:
2189         Documentation accuracy fixes.
2190
2191 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
2192
2193         * gioenumtypes.c.template: Fix typo.
2194
2195 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2196
2197         * gioenumtypes.c.template: Make threadsafe get_type() functions.
2198
2199 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2200
2201         * gdirectorymonitor.c:
2202         * gfilemonitor.c: Add properties
2203
2204         * gbufferedoutputstream.c: Don't mark buffer-size property 
2205         as construct-only.
2206
2207 2007-12-01  Matthias Clasen <mclasen@redhat.com>
2208
2209         * gbufferedoutputstream.c: Add auto-grow property.
2210
2211 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2212
2213         * *.c: Unify the capitalization of section headings.
2214
2215 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2216
2217         * gmountoperation.c: Add properties
2218         
2219         * gdatainputstream.c: Turn byte-order and newline-type into
2220         properties.
2221
2222 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2223
2224         * gioenumtypes.[hc].template: Templates for enum registration
2225
2226         * Makefile.am: Generate gioenumtypes.[hc]
2227
2228         * gio.h: Include gioenumtypes.h
2229         * gappinfo.h:
2230         * gfile.h: Add some explicit nicks.
2231
2232         * gio.symbols: Add new symbols
2233
2234         * pltcheck.sh: Adjust
2235
2236 2007-11-30  Matthias Clasen <mclasen@redhat.com>
2237
2238         * *.c: Explain etags and link to the explanation
2239
2240 2007-11-29  Matthias Clasen <mclasen@redhat.com>
2241
2242         * *.c: Explain I/O priority.
2243
2244         * *.c: More coding style fixes.
2245
2246 2007-11-29  Matthias Clasen <mclasen@redhat.com>
2247
2248         * gasyncresult.c: Add another paragraph to the intro,
2249         adjust coding style of example.
2250
2251 2007-11-29  A. Walton <awalton@svn.gnome.org>
2252
2253         * gappinfo.c:
2254           Fixes unknown meaning in GAppLaunchContext docs.
2255         * gfile.c:
2256           Clarify asynchronous ops.
2257         * gfileattribute.c:
2258           Fix entity tag docs.
2259         * gicon.c:
2260         * gthemedicon.c:
2261           Provides missing gtk-doc section, fixes API docs slighly.
2262         * gsimpleasyncresult.c:
2263           Fill in missing info in docs.
2264         * gunixinputstream.c:
2265         * gunixoutputstream.c:
2266           Be more expressive in short description.
2267         * gunixvolume.c:
2268           Remove gtk-doc stubs for non-public API.
2269
2270 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2271
2272         * *.c: Coding style fixups
2273
2274 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2275
2276         * inotify/inotify-helper.c: Don't export the lock from libgio.
2277
2278 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2279
2280         * Makefile.am:
2281         * abicheck.sh: Fix copy-and-paste leftovers 
2282
2283 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
2284
2285         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2286
2287 2007-11-28  Alexander Larsson  <alexl@redhat.com>
2288
2289         * Makefile.am:
2290         * gdriveprivate.h:
2291         Removed unnecessary file
2292         
2293         * gdesktopappinfo.[ch]:
2294         * gdummyfile.[ch]:
2295         * gfile.c:
2296         * glocaldirectorymonitor.[ch]:
2297         * glocalfile.[ch]:
2298         * glocalfileenumerator.[ch]:
2299         * glocalfileinputstream.[ch]:
2300         * glocalfilemonitor.[ch]:
2301         * glocalfileoutputstream.[ch]:
2302         * glocalvfs.[ch]:
2303         * gnativevolumemonitor.c:
2304         * gpollfilemonitor.[ch]:
2305         * gunionvolumemonitor.[ch]:
2306         * gunixdrive.[ch]:
2307         * gunixvolume.[ch]:
2308         * gunixvolumemonitor.[ch]:
2309         * gvfs.c:
2310         * gvolumeprivate.h:
2311         * inotify/ginotifydirectorymonitor.[ch]:
2312         * inotify/ginotifyfilemonitor.[ch]:
2313         * inotify/inotify-helper.c:
2314         Append _ to all internal functions
2315         
2316         * gio.symbols:
2317         Add missing symbols
2318         Export symbols needed for modules
2319
2320 2007-11-28  Alexander Larsson  <alexl@redhat.com>
2321
2322         * Makefile.am:
2323         * abicheck.sh: Added.
2324         * makegioalias.pl: Added.
2325         * pltcheck.sh: Added.
2326         * gio.symbols: Added.
2327         * *.c:
2328         * inotify/*.c
2329         Initial work on adding symbol handling.
2330
2331         * gvfs.h:
2332         Correct ifdef guard name
2333
2334         * fam/Makefile.am:
2335         * inotify/Makefile.am:
2336         * xdgmime/Makefile.am:
2337         Include toplevel Makefile.decl
2338
2339 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
2340
2341         * gcontenttype.c: Move doc comments to the unix section.
2342
2343         * *.[hc]: More trivial doc corrections.
2344
2345 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
2346
2347         * gpollfilemonitor.c:
2348         * gunixmounts.c:
2349         * gvfs.c:
2350         * gfile.c:
2351         * gdesktopappinfo.c:
2352         * gwin32appinfo.c:
2353         * gvolume.c:
2354         * glocalvfs.c:
2355         * gvolumemonitor.c:
2356         * gdatainputstream.c:
2357         * gdatainputstream.h:
2358         * gdataoutputstream.c:
2359         * gdataoutputstream.h:
2360         * gfileinfo.h: Doc cleanups
2361
2362 2007-11-28  Andre Klapper  <a9016009@gmx.de>
2363
2364         * gdesktopappinfo.c: Fix a typo.
2365
2366 2007-11-27  Andre Klapper  <a9016009@gmx.de>
2367
2368         * glocalfileoutputstream.c: Fix a typo.
2369
2370 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2371
2372         * gio.h:
2373         Don't include removed headers
2374
2375 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2376
2377         * Makefile.am:
2378         * gsocketinputstream.[ch]: Removed.
2379         * gsocketoutputstream.[ch]: Removed.
2380         * gunixinputstream.[ch]: Added.
2381         * gunixoutputstream.[ch]: Added.
2382         Renamed GSocket*Stream to GUnix*Stream and made
2383         it unix-only, since its not really only for sockets
2384         and it only works on unix (but is highly useful there).
2385
2386 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
2387         * gappinfo.c:
2388         * gappinfo.h:
2389         * gasynchelper.c:
2390         * gasyncresult.c:
2391         * gasyncresult.h:
2392         * gbufferedinputstream.c:
2393         * gbufferedinputstream.h:
2394         * gbufferedoutputstream.c:
2395         * gbufferedoutputstream.h:
2396         * gcancellable.c: 
2397         * gcancellable.h:
2398         * gcontenttype.c:
2399         * gdatainputstream.c:
2400         * gdatainputstream.h:
2401         * gdataoutputstream.c:
2402         * gdataoutputstream.h:
2403         * gdirectorymonitor.c:
2404         * gdirectorymonitor.h:
2405         * gdrive.c: 
2406         * gdrive.h:
2407         * gfile.c:
2408         * gfile.h:
2409         * gfileattribute.c:
2410         * gfileattribute.h:
2411         * gfileenumerator.c:
2412         * gfileenumerator.h:
2413         * gfileicon.c:
2414         * gfileicon.h:
2415         * gfileinfo.c:
2416         * gfileinfo.h:
2417         * gfileinputstream.c:
2418         * gfileinputstream.h:
2419         * gfilemonitor.c:
2420         * gfilemonitor.h:
2421         * gfilenamecompleter.c:
2422         * gfilenamecompleter.h:
2423         * gfileoutputstream.c:
2424         * gfileoutputstream.h:
2425         * gfilterinputstream.c:
2426         * gfilterinputstream.h:
2427         * gfilteroutputstream.c:
2428         * gfilteroutputstream.h:
2429         * gicon.c:
2430         * gicon.h:
2431         * ginputstream.c:
2432         * ginputstream.h:
2433         * gioerror.c:
2434         * gioerror.h:
2435         * giomodule.c:
2436         * giomodule.h:
2437         * gioscheduler.c:
2438         * gioscheduler.h:
2439         * gloadableicon.c:
2440         * gloadableicon.h:
2441         * glocalfileoutputstream.c:
2442         * gmemoryinputstream.c:
2443         * gmemoryinputstream.h:
2444         * gmemoryoutputstream.c:
2445         * gmemoryoutputstream.h:
2446         * gmountoperation.c: 
2447         * gmountoperation.h:
2448         * goutputstream.c:
2449         * goutputstream.h:
2450         * gpollfilemonitor.c:
2451         * gseekable.c:
2452         * gseekable.h:
2453         * gsimpleasyncresult.c:
2454         * gsimpleasyncresult.h:
2455         * gsocketinputstream.c:
2456         * gsocketinputstream.h:
2457         * gsocketoutputstream.c:
2458         * gsocketoutputstream.h:
2459         * gthemedicon.c:
2460         * gthemedicon.h:
2461         * gunixdrive.c:
2462         * gunixmounts.c: 
2463         * gunixmounts.h:
2464         * gunixvolume.c:
2465         * gunixvolumemonitor.c:
2466         * gurifuncs.c:
2467         * gurifuncs.h:
2468         * gvfs.c:
2469         * gvfs.h:
2470         * gvolume.c:
2471         * gvolume.h:
2472         * gvolumemonitor.c: 
2473         * gvolumemonitor.h:
2474         Bumps documentation to 93% symbol coverage, touching most 
2475         of the public files. Fixes broken function documentation prototypes. 
2476         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
2477         gtk-doc headers in private files.
2478
2479 2007-11-27  JĂ¼rg Billeter  <j@bitron.ch>
2480
2481         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2482         (g_buffered_input_stream_read_byte):
2483         * gbufferedinputstream.h:
2484         New functions for efficient access to buffer and simple single byte
2485         reads.
2486
2487         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2488         (g_data_input_stream_read_until):
2489         * gdatainputstream.h:
2490         Use peek_buffer to avoid memcpy in scan_for_newline, implement
2491         read_until with multiple stop chars.
2492
2493 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2494
2495         * Makefile.am:
2496         * fam/Makefile.am:
2497         * inotify/Makefile.am:
2498         Use the user-specified giomoduledir
2499
2500 2007-11-27  Alexander Larsson  <alexl@redhat.com>
2501
2502         * Makefile.am
2503         * gio.h:
2504         Add catch-all gio.h header
2505         Don't install gdummyfile.h
2506
2507 2007-11-26  Alexander Larsson  <alexl@redhat.com>
2508
2509         * Makefile.am (gioinclude_HEADERS):
2510         Remove trailing whitespace
2511         
2512 2007-11-26  Alexander Larsson  <alexl@redhat.com>
2513
2514         Merge gio-standalone into glib
2515
2516 2007-11-25  Christian Kellner  <gicmo@gnome.org>
2517
2518         * gio/goutputstream.c:
2519         Fix small mistake in the docs.
2520
2521 2007-11-21  Christian Persch  <chpe@gnome.org>
2522
2523         * gio/glocalfile.c: (g_local_file_trash):
2524         Convert filenames to UTF-8 for GError.
2525         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2526         as per xdg base dir spec.
2527
2528 2007-11-21  Christian Persch  <chpe@gnome.org>
2529
2530         * gio/gdesktopappinfo.c:
2531         Use that g_key_file_to_data cannot fail.
2532         Some misc cleanups.
2533         Use stock defines for the key file group and key names.
2534         Use bitfields.
2535
2536 2007-11-21  Alexander Larsson  <alexl@redhat.com>
2537
2538         * gio/gfile.c:
2539         (copy_stream_with_progress):
2540         Make sure we do a final progress callback with
2541         the full total size.
2542
2543 2007-11-21  Alexander Larsson  <alexl@redhat.com>
2544
2545         * gio/gfile.[ch]:
2546         Export g_file_copy_attributes
2547         Remove padding as its not needed for interfaces
2548
2549 2007-11-20  Alexander Larsson  <alexl@redhat.com>
2550
2551         * gio/gfile.c:
2552         * gio/gioerror.h:
2553         * gio/glocalfile.c:
2554         Add G_IO_ERROR_WOULD_MERGE for
2555         copy/move dir on dir with overwrite.
2556
2557 2007-11-20  Alexander Larsson  <alexl@redhat.com>
2558
2559         * gio/gfileinfo.h:
2560         * gio/glocalfileinfo.c:
2561         Add COPY_NAME (this is an optional
2562         non-modified utf8 version of the name) that
2563         can roundtrip.
2564
2565 2007-11-20  Alexander Larsson  <alexl@redhat.com>
2566
2567         * gio/glocalfileenumerator.c:
2568         Report errors as GIOError, not GFileError
2569
2570 2007-11-16  Alexander Larsson  <alexl@redhat.com>
2571
2572         * gio/glocalfileoutputstream.c:
2573         * gio/gwin32appinfo.c:
2574         Fix typos in strings.
2575         Patch from Luca Ferretti <elle.uca@libero.it>
2576
2577 2007-11-15  Alexander Larsson  <alexl@redhat.com>
2578
2579         * configure.ac:
2580         Post release version bump
2581
2582 === gio-standalone 0.1.2 ===
2583
2584 2007-11-15  Alexander Larsson  <alexl@redhat.com>
2585
2586         * docs/reference/gio/Makefile.am:
2587         Fix up distcheck by removing weird
2588         non-needed stuff
2589
2590         * NEWS:
2591         Update for release
2592
2593 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2594
2595         * gio/gdesktopappinfo.c:
2596         * gio/glocaldirectorymonitor.c:
2597         * gio/glocalfile.c:
2598         * gio/glocalfileinfo.c:
2599         * gio/inotify/inotify-sub.c:
2600         * programs/gio-cat.c:
2601         * programs/gio-copy.c:
2602         * programs/gio-info.c:
2603         * programs/gio-ls.c:
2604         * programs/gio-monitor-dir.c:
2605         * programs/gio-monitor-file.c:
2606         * programs/gio-mount.c:
2607         * programs/gio-move.c:
2608         * programs/gio-rm.c:
2609         * programs/gio-save.c:
2610         * programs/gio-trash.c:
2611         Leak fixes from Kjartan Maraas
2612
2613 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2614
2615         * gio/fam/fam-helper.c:
2616         * gio/gdrive.[ch]:
2617         * gio/glocalfileinfo.c:
2618         * gio/gunixdrive.c:
2619         * gio/gvfs.c:
2620         * gio/gvolume.[ch]:
2621         * gio/inotify/inotify-diag.c:
2622         * gio/inotify/inotify-kernel.c:
2623         Various code cleanups from Kjartan Maraas
2624
2625 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2626
2627         * gio/gioscheduler.c:
2628         (init_scheduler):
2629         Set up threadpool so that we cache 2 unused
2630         idle threads for at 15 secs. This means we
2631         will reuse thread-local data (like dbus connections)
2632         for them.
2633
2634 2007-11-14  Alexander Larsson  <alexl@redhat.com>
2635
2636         * gio/fam/fam-helper.c:
2637         * gio/fam/gfamdirectorymonitor.c:
2638         * gio/fam/gfamfilemonitor.c:
2639         * gio/gappinfo.c:
2640         * gio/gcontenttype.c:
2641         * gio/gdatainputstream.c:
2642         * gio/gdataoutputstream.c:
2643         * gio/gdummyfile.c:
2644         * gio/gfile.c:
2645         * gio/gfile.h:
2646         * gio/gfileattribute.h:
2647         * gio/gfileenumerator.c:
2648         * gio/gfileinfo.c:
2649         * gio/ginputstream.c:
2650         * gio/gioerror.h:
2651         * gio/glocalfile.c:
2652         * gio/glocalfileinfo.c:
2653         * gio/goutputstream.c:
2654         * gio/gpollfilemonitor.c:
2655         * gio/gsimpleasyncresult.c:
2656         * gio/gunixmounts.c:
2657         * gio/gunixmounts.h:
2658         * gio/inotify/ginotifydirectorymonitor.c:
2659         * gio/inotify/ginotifyfilemonitor.c:
2660         * gio/inotify/inotify-diag.c:
2661         * gio/inotify/inotify-kernel.c:
2662         * gio/inotify/inotify-path.c:
2663         * gio/test-gio.c:
2664         * gio/test-streams.c:
2665         * programs/gio-info.c:
2666         * programs/gio-monitor-dir.c:
2667         * programs/gio-monitor-file.c:
2668         Various code cleanups from Kjartan Maraas
2669
2670 2007-11-13  Alexander Larsson  <alexl@redhat.com>
2671
2672         * gio/gdummyfile.c:
2673         Handle the uri-scheme calls for dummy files
2674
2675 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
2676
2677         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2678         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2679         to avoid clash with the C++ keyword.
2680
2681 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
2682
2683         * gio/glocalfileinfo.c: Build fix, added missing semicolon
2684         to an ifdef'ed call to getpwuid() in lookup_uid_data().
2685
2686 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
2687
2688         * gio/glocaldirectorymonitor.c:
2689         * gio/glocalfilemonitor.c:
2690         * gio/gunionvolumemonitor.c:
2691         Don't use g_once_init_*() for initializations that could fail and
2692         could leave the initialization variable set to 0 but use GOnce.
2693         This prevents a deadlock on the second call when trying to create
2694         a monitor and no monitor type is available. Thanks to Sven Herzberg
2695         for reporting.
2696
2697 2007-11-11  Sven Herzberg  <sven@imendio.com>
2698
2699         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2700         #ifdef (make it work on MacOS X again)
2701
2702 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
2703         * Changelog:
2704         Fixes Changelog for last two commits (sorry guys).
2705
2706 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
2707         * gio/gappinfo.c:
2708         * gio/gbufferedinputstream.c:
2709         * gio/gdatainputstream.c:
2710         * gio/gfile.c:
2711         * gio/gfileoutputstream.c:
2712         * gio/gfilterinputstream.c:
2713         * gio/glocalfileinputstream.c:
2714         * gio/gurifuncs.c:
2715         * gio/gvfs.c:
2716         More consistency fixes in g*stream.c files. 
2717         Significant clean of gfile's documentation, filling in of 
2718         asynchronous operations documentation.
2719
2720 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
2721         * gio/gappinfo.c:
2722         * gio/gasyncresult.c:
2723         * gio/gbufferedinputstream.c:
2724         * gio/gbufferedoutputstream.c:
2725         * gio/gcancellable.c:
2726         * gio/gcontenttype.c:
2727         * gio/gdatainputstream.c:
2728         * gio/gdataoutputstream.c:
2729         * gio/gdesktopappinfo.c:
2730         * gio/gdrive.c:
2731         * gio/gfile.c:
2732         * gio/gfileattribute.c:
2733         * gio/gio/gfileenumerator.c:
2734         * gio/gfileinfo.c:
2735         * gio/gfileinputstream.c:
2736         * gio/gfilemonitor.c:
2737         * gio/gfileoutputstream.c:
2738         * gio/ginputstream.c:
2739         * gio/giomodule.c:
2740         * gio/gioscheduler.c:
2741         * gio/gloadableicon.c:
2742         * gio/glocalfileoutputstream.c:
2743         * gio/gmemoryoutputstream.c:
2744         * gio/gmountoperation.c:
2745         * gio/goutputstream.c:
2746         * gio/gseekable.c:
2747         * gio/gsimpleasyncresult.c:
2748         * gio/gunionvolumemonitor.c:
2749         * gio/gunixmounts.c:
2750         * gio/gunixvolume.c:
2751         * gio/gurifuncs.c:
2752         * gio/gvfs.c:
2753         * gio/gvolume.c:
2754         * gio/gvolumemonitor.c:
2755         Updated documentation stubs, working towards consistency and 
2756         completeness.
2757
2758 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
2759
2760         * gio/gmemoryoutputstream.c:
2761         * gio/gmemoryoutputstream.h:
2762         Change g_memory_output_stream_set_free_on_close() to
2763         g_memory_output_stream_set_free_data() as this makes more sense and
2764         is more consistent with GMemoryInputStream.
2765
2766 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2767
2768         * gio/gfile.c:
2769         Fix some docs
2770         
2771         * gio/glocalvfs.c:
2772         * gio/gvfs.[ch]:
2773         Change how we find the default vfs so that
2774         we can handle a gvfs failing to init
2775
2776 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
2777
2778         * gio/gbufferedoutputstream.c:
2779         * gio/gdatainputstream.c:
2780         * gio/gdataoutputstream.c:
2781         * gio/gfileinputstream.c:
2782         * gio/gfileoutputstream.c:
2783         * gio/gfilterinputstream.c:
2784         * gio/gfilteroutputstream.c:
2785         * gio/ginputstream.c:
2786         * gio/gmemoryinputstream.c:
2787         * gio/gmemoryoutputstream.c:
2788         * gio/goutputstream.c:
2789         * gio/gsimpleasyncresult.c:
2790         * gio/gsocketinputstream.c:
2791         * gio/gsocketoutputstream.c:
2792         Add guards to the remaining public functions, add a TODO for
2793         an unimplemented function and remove some useless guards.
2794
2795 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2796
2797         * configure.ac:
2798         Autoconf checks for the various types of
2799         getpwuid_r and getgrgid_r
2800         
2801         * gio/glocalfileinfo.c:
2802         Use the autoconf checks from above
2803
2804 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2805
2806         * gio/glocalfile.c:
2807         (g_local_file_query_filesystem_info):
2808         Some fixes for the statvfs case
2809         
2810 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2811
2812         * gio/glocalfile.c:
2813         (g_local_file_query_filesystem_info):
2814         Pick the "best" of statfs / statvfs for the system
2815         if both are availible.
2816
2817 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2818
2819         Solaris fixes from Halton.Huo@Sun.COM:
2820         
2821         * gio/gdrive.c:
2822         * gio/gfile.c:
2823         * gio/gvolume.c:
2824         Don't return void
2825         
2826         * gio/glocalfileinfo.c:
2827         Fix for solaris definition of getpwuid_r
2828         
2829         * gio/test-streams.c:
2830         Use G_GNUC_PRETTY_FUNCTION
2831
2832 2007-11-07  Alexander Larsson  <alexl@redhat.com>
2833
2834         * gio/gdesktopappinfo.c:
2835         (update_default_list):
2836         Remove double semicolon.
2837         Patch from Jens Granseuer
2838
2839 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2840
2841         * docs/reference/gio/gio-sections.txt:
2842         * gio/gbufferedinputstream.c:
2843         * gio/gbufferedinputstream.h:
2844         * gio/gdatainputstream.c:
2845         * gio/gfileenumerator.c:
2846         * gio/gioscheduler.c:
2847         * gio/gunionvolumemonitor.c:
2848         * gio/gvfs.c:
2849         * programs/gio-save.c:
2850         Fix typo: availible -> available. Unfortuntely this breaks API
2851         and ABI as g_buffered_input_stream_get_available() was renamed.
2852         
2853         * gio/gunixmounts.c:
2854         * gio/gbufferedinputstream.c:
2855         Add guards for public functions.
2856
2857 2007-11-06  Ross Burton  <ross@openedhand.com>
2858
2859         * docs/reference/gio/Makefile.am:
2860         Fix invalid += usage which automake 1.10 doesn't like.
2861
2862 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2863
2864         * gio/gappinfo.c:
2865         (g_app_launch_context_class_init):
2866         Fix warning
2867
2868         Patch from Ross Burton 
2869         
2870 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2871
2872         * configure.ac:
2873         Post release version bump
2874
2875 === gio-standalone 0.1.1 ===
2876
2877 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2878
2879         * configure.ac:
2880         Bump version to 0.1.1
2881         
2882         * gio/gsimpleasyncresult.c:
2883         (g_simple_async_result_set_from_error):
2884         Remove bogus g_return_if_fail
2885
2886 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2887
2888         * configure.ac:
2889         The name is gio-standalone
2890         
2891         * gio/Makefile.am:
2892         Add top src/builddir to includedir
2893
2894 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2895
2896         * docs/reference/gio/gio-sections.txt:
2897         * gio/gappinfo.c:
2898         * gio/gbufferedinputstream.c:
2899         * gio/gbufferedoutputstream.c:
2900         * gio/gcancellable.c:
2901         * gio/gdatainputstream.h:
2902         * gio/gdataoutputstream.c:
2903         * gio/gdataoutputstream.h:
2904         * gio/gdirectorymonitor.c:
2905         * gio/gfile.c:
2906         * gio/gfileattribute.c:
2907         * gio/gfileattribute.h:
2908         * gio/gfileenumerator.c:
2909         * gio/gfileenumerator.h:
2910         * gio/gfileinfo.c:
2911         * gio/gfileinfo.h:
2912         * gio/gfileinputstream.h:
2913         * gio/gfilemonitor.c:
2914         * gio/gfileoutputstream.h:
2915         * gio/glocalfilemonitor.h:
2916         * gio/glocalfileoutputstream.h:
2917         * gio/gmemoryinputstream.c:
2918         * gio/gmemoryoutputstream.c:
2919         * gio/gmountoperation.c:
2920         * gio/goutputstream.c:
2921         * gio/goutputstream.h:
2922         * gio/gseekable.h:
2923         * gio/gsimpleasyncresult.c:
2924         * gio/gunixmounts.c:
2925         * gio/gunixmounts.h:
2926         * gio/gurifuncs.h:
2927         * gio/inotify/inotify-helper.c:
2928         Fix gtk-doc warnings
2929
2930         Patch from Ross Burton 
2931         
2932 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2933
2934         * gio/gfilenamecompleter.c:
2935         (g_filename_completer_get_completions):
2936         fix warning
2937         
2938         * gio/gunixvolume.c:
2939         Remove unused function
2940
2941         Patches from Ross Burton 
2942
2943 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2944
2945         * gio/gdrive.h:
2946         * gio/gseekable.h:
2947         * gio/gvolume.h:
2948         Padding not needed for interfaces
2949
2950 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2951
2952         * gio/gfilemonitor.c:
2953         Remove debug spew
2954
2955         * gio/Makefile.am:
2956         Make giotypes.h an internal file
2957         
2958         * gio/gappinfo.h:
2959         * gio/gbufferedinputstream.h:
2960         * gio/gbufferedoutputstream.h:
2961         * gio/gcancellable.h:
2962         * gio/gdatainputstream.h:
2963         * gio/gdataoutputstream.h:
2964         * gio/gdirectorymonitor.c:
2965         * gio/gdirectorymonitor.h:
2966         * gio/gdrive.c:
2967         * gio/gdrive.h:
2968         * gio/gfile.c:
2969         * gio/gfile.h:
2970         * gio/gfileattribute.h:
2971         * gio/gfileenumerator.h:
2972         * gio/gfileicon.c:
2973         * gio/gfileicon.h:
2974         * gio/gfileinfo.c:
2975         * gio/gfileinfo.h:
2976         * gio/gfilemonitor.c:
2977         * gio/gfilemonitor.h:
2978         * gio/gfilenamecompleter.c:
2979         * gio/gfilenamecompleter.h:
2980         * gio/gfilterinputstream.h:
2981         * gio/gfilteroutputstream.h:
2982         * gio/ginputstream.h:
2983         * gio/gmemoryinputstream.h:
2984         * gio/gmemoryoutputstream.h:
2985         * gio/gmountoperation.c:
2986         * gio/gmountoperation.h:
2987         * gio/gnativevolumemonitor.c:
2988         * gio/goutputstream.h:
2989         * gio/gseekable.c:
2990         * gio/gseekable.h:
2991         * gio/gsimpleasyncresult.c:
2992         * gio/gsimpleasyncresult.h:
2993         * gio/gsocketinputstream.h:
2994         * gio/gsocketoutputstream.h:
2995         * gio/gthemedicon.c:
2996         * gio/gthemedicon.h:
2997         * gio/gvfs.h:
2998         * gio/gvolume.c:
2999         * gio/gvolume.h:
3000         * gio/gvolumemonitor.c:
3001         * gio/gvolumemonitor.h:
3002         Add padding in classes where it seems useful
3003         Don't include giotypes.h from public headers
3004         Move in Class definitions into c file where possible
3005         
3006         * gio/glocalfile.c:
3007         Fix warnings
3008
3009 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3010
3011         * docs/reference/gio/gio-docs.xml:
3012         Better structure for API docs
3013
3014 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3015
3016         * gio/gfileicon.c:
3017         * gio/gloadableicon.c:
3018         * gio/gsimpleasyncresult.c:
3019         * gio/gthemedicon.c:
3020         Add some more guards to public functions. Only files missing are now
3021         g*stream*.c.
3022
3023 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3024
3025         * docs/reference/gio/gio-docs.xml:
3026         Remove old files, add missing ones
3027
3028 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3029
3030         * docs/reference/gio/gio-sections.txt:
3031         Restructure
3032         Add missing stuff
3033         Hide implementation classes
3034         
3035         * gio/gdriveprivate.h:
3036         * gio/gvolumeprivate.h:
3037         Remove non-existing function declarations
3038
3039 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
3040
3041         * gio/gappinfo.c:
3042         Fix compilation warnings and add guards to the new functions.
3043         
3044         * gio/gasyncresult.c:
3045         * gio/gdummyfile.c:
3046         Add guards to the public functions.
3047         
3048         * gio/gdummyfile.c:
3049         Implement get_path().
3050
3051 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3052
3053         * gio/gfilenamecompleter.c:
3054         Make g_filename_completer_get_completions
3055         return char ** instead of GList for
3056         typesafety.
3057         
3058         * docs/reference/gio/gio-docs.xml:
3059         * docs/reference/gio/gio-sections.txt:
3060         * gio/gappinfo.c:
3061         * gio/gasyncresult.c:
3062         * gio/gbufferedinputstream.c:
3063         * gio/gbufferedoutputstream.c:
3064         * gio/gcancellable.c:
3065         * gio/gcontenttype.c:
3066         * gio/gdatainputstream.c:
3067         * gio/gdataoutputstream.c:
3068         * gio/gdesktopappinfo.c:
3069         * gio/gdirectorymonitor.c:
3070         * gio/gdrive.c:
3071         * gio/gdummyfile.c:
3072         * gio/gfile.c:
3073         * gio/gfileattribute.c:
3074         * gio/gfileenumerator.c:
3075         * gio/gfileicon.c:
3076         * gio/gfileinfo.c:
3077         * gio/gfileinputstream.c:
3078         * gio/gfilemonitor.c:
3079         * gio/gfilenamecompleter.c:
3080         * gio/gfilenamecompleter.h:
3081         * gio/gfileoutputstream.c:
3082         * gio/gfilterinputstream.c:
3083         * gio/gicon.c:
3084         * gio/ginputstream.c:
3085         * gio/giomodule.c:
3086         * gio/gioscheduler.c:
3087         * gio/gloadableicon.c:
3088         * gio/glocaldirectorymonitor.c:
3089         * gio/glocalfile.c:
3090         * gio/glocalfileinputstream.c:
3091         * gio/glocalfilemonitor.c:
3092         * gio/glocalfileoutputstream.c:
3093         * gio/glocalvfs.c:
3094         * gio/gmemoryinputstream.c:
3095         * gio/gmemoryoutputstream.c:
3096         * gio/gmountoperation.c:
3097         * gio/goutputstream.c:
3098         * gio/gpollfilemonitor.c:
3099         * gio/gseekable.c:
3100         * gio/gsimpleasyncresult.c:
3101         * gio/gsocketinputstream.c:
3102         * gio/gsocketoutputstream.c:
3103         * gio/gthemedicon.c:
3104         * gio/gunionvolumemonitor.c:
3105         * gio/gunixdrive.c:
3106         * gio/gunixmounts.c:
3107         * gio/gunixvolume.c:
3108         * gio/gunixvolumemonitor.c:
3109         * gio/gurifuncs.c:
3110         * gio/gvfs.c:
3111         * gio/gvolume.c:
3112         * gio/gvolumemonitor.c:
3113         * gio/gwin32appinfo.c:
3114         Add (mostly stub) doc strings to public functions.
3115         Patch from Andrew Walton (awalton@gmail.com)
3116
3117 2007-11-06  Alexander Larsson  <alexl@redhat.com>
3118
3119         * gio/gappinfo.[ch]:
3120         Added GAppLaunchContext object and pass that to launch.
3121         This allows simple implementation of both
3122         launch-on-screen and startup notification via a gtk+
3123         subclass of GAppLaunchContext
3124         
3125         * gio/gdesktopappinfo.c:
3126         Implement GAppLaunchContext API
3127         
3128         * gio/gwin32appinfo.c:
3129         Update to new APIs
3130
3131 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3132
3133         * gio/gmountoperation.c:
3134         Add some guards to GMountOperation's public functions.
3135
3136 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3137
3138
3139         * gio/gappinfo.c:
3140         * gio/gcancellable.c:
3141         * gio/gdirectorymonitor.c:
3142         * gio/gdrive.c:
3143         * gio/gfileenumerator.c:
3144         * gio/gfilemonitor.c:,
3145         * gio/gfilenamecompleter.c:
3146         * gio/gicon.c:
3147         * gio/giomodule.c:
3148         * gio/gioscheduler.c:
3149         * gio/gseekable.c:
3150         * gio/gurifuncs.c:
3151         * gio/gvolume.c:
3152         * gio/gvolumemonitor.c:
3153         Add even more guards to various public functions.
3154
3155 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3156
3157         * gio/gappinfo.c:
3158         Add guards to the public functions of GAppInfo.
3159
3160 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3161
3162         * gio/gcontenttype.c:
3163         Add some more guards for public functions.
3164
3165 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3166
3167         * gio/fam/fam-module.c:
3168         * gio/fam/gfamdirectorymonitor.c:
3169         * gio/fam/gfamdirectorymonitor.h:
3170         * gio/fam/gfamfilemonitor.c:
3171         * gio/fam/gfamfilemonitor.h:
3172         * gio/inotify/ginotifydirectorymonitor.c:
3173         * gio/inotify/ginotifydirectorymonitor.h:
3174         * gio/inotify/ginotifyfilemonitor.c:
3175         * gio/inotify/ginotifyfilemonitor.h:
3176         Add proper copyright information and remove an unused variable
3177         in the GInotifyFileMonitor constructor.
3178
3179         * gio/gcancellable.c:
3180         Add a guard for a public function and an assertion to prevent
3181         an undefined program state.
3182
3183 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
3184
3185         * gio/gfileattribute.c:
3186         Don't run into an assertion if the given attribute value is NULL
3187         in g_file_attribute_value_get_*() but instead return a fallback
3188         value that makes sense in most situations. Passing them a attribute
3189         value with the wrong type will still run into an assertion.
3190
3191 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3192
3193         * gio/gfileattribute.c:
3194         * gio/gfileinfo.c:
3195         Add even more guards to the public functions. Also fix the refcounting
3196         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3197         let g_file_info_list_attributes() filter the attributes by namespace
3198         instead of simply ignoring the namespace parameter.
3199
3200 2007-11-03  Sven Herzberg  <sven@imendio.com>
3201
3202         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3203         (This makes gio work on MacOS X again)
3204
3205 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3206
3207         * Makefile.am:
3208         Build the gio subdirectory before the docs. Otherwise the build will
3209         fail.
3210
3211         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3212         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3213         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3214         Add guards to the public functions.
3215
3216 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
3217
3218         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3219         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3220         to prevent a compiler warning.
3221
3222         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3223         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3224         return something in the non-void function find_topdir_for().
3225
3226 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
3227
3228         * configure.ac:
3229         * Makefile.am:
3230         * docs/:
3231         Gtkdocify!
3232
3233 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
3234
3235         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3236         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3237         * gwin32appinfo.c (g_win32_app_info_launch):
3238         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3239         envp_for_startup_id, g_desktop_app_info_launch,
3240         g_desktop_app_info_launch_uris):
3241
3242         Give an opaque 'startup_id' string instead of 'envp'.
3243         Support empty file lists for launching new windows.
3244         Fix infinite recursion bug when launching URIs.
3245
3246 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3247
3248         * gio/gfile.c:
3249         Add guard to the new g_file_get_uri_scheme() function.
3250
3251 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3252
3253         * gio/gfile.c:
3254         Convert a g_return_val_if_fail() to setting the GError instead as
3255         otherwise applications have to verify the parameter before otherwise
3256         and the parameter might come directly from the user.
3257
3258 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3259
3260         * gio/inotify/ginotify*.[ch]:
3261         Add missing copyright information.
3262
3263 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
3264
3265         * gio/gfile.c:
3266         Add guards in the beginning of public functions to check for valid
3267         parameters and fix a bug in copy_stream_with_progress() that could've
3268         caused writing less bytes than reading.
3269         * gio/glocalfileinfo.c:
3270         Check for a NULL parameter and set the GError accordingly then.
3271         * gio/goutputstream.c:
3272         Fix the same bug as in gfile.c that could've caused writing less bytes
3273         than reading in g_output_stream_real_splice().
3274
3275 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
3276
3277         * gio/Makefile.am:
3278         Use the correct gvolumeprivate.h naming
3279
3280 2007-11-01  Christian Kellner  <gicmo@gnome.org>
3281
3282         * gio/Makefile.am:
3283         Remove leftover "$(daemon_sources)" entry.
3284
3285 2007-11-01  Christian Kellner  <gicmo@gnome.org>
3286
3287         * gio/fam/*.[ch]:
3288         * gio/*.[ch]:
3289         * programs/*.[ch]:
3290         Add copyright information to source files.
3291
3292 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3293
3294         * gio/gfile.[ch]:
3295         * gio/glocalfile.c:
3296         Add g_file_get_uri_scheme
3297
3298 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3299
3300         * gio/gappinfo.h:
3301         * gio/gdesktopappinfo.c:
3302         * gio/gwin32appinfo.c:
3303         Add g_app_info_get_default_for_uri_scheme.
3304
3305 2007-11-01  Alexander Larsson  <alexl@redhat.com>
3306
3307         * gio/Makefile.am:
3308         Correct filename for gdriveprivate.h
3309
3310 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3311
3312         * gio/gfileinfo.h:
3313         Rename id:value to id:file
3314         Add id:fs
3315         
3316         * gio/glocalfileinfo.c:
3317         Implement id:fs
3318
3319 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3320
3321         * gio/gunixvolume.c:
3322         * gio/gvolume.[ch]:
3323         Remove g_volume_get_platform_id, as thats not
3324         needed with the simpler union volume monitor
3325
3326 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3327
3328         * gio/Makefile.am:
3329         * gio/guniondrive.[ch]: Removed.
3330         * gio/gunionvolume.[ch]: Removed.
3331         Remove GUnionDrive/Volume
3332
3333         * gio/gunionvolumemonitor.c:
3334         Simplify union volume monitor, now we
3335         only have one native volume monitor and
3336         we use the actual volumes/drives from the
3337         child monitors instead of wrapping them
3338
3339         * gio/gnativevolumemonitor.[ch]:
3340         Base class for native volume monitors.
3341         Includes priority and get_volume_for_mountpoint
3342         
3343         * gio/gfile.[ch]:
3344         Add g_file_find_enclosing_volume
3345
3346         * gio/gfileinfo.h:
3347         Remove volume name fs attribute
3348         Add readonly fs attribute
3349         
3350         * gio/glocalfile.c:
3351         Implement readonly attribute
3352         remove volume name attribute
3353         Implement find_enclosing volume
3354         
3355         * gio/gunixmounts.c:
3356         Add a volume for "/".
3357         
3358         * gio/gunixvolume.[ch]:
3359         Set better name for /
3360         
3361         * gio/gunixvolumemonitor.[ch]:
3362         Derive from GNativeVolumeMonitor
3363         Implement get_volume_for_mountpoint
3364         
3365         * gio/gvolume.h:
3366         GVolume typedef moved to gfile.h
3367         
3368         * gio/gvolumeprivate.h:
3369         Add g_volume_get_for_mount_path
3370
3371 2007-10-31  Alexander Larsson  <alexl@redhat.com>
3372
3373         * gio/gunixmounts.[ch]:
3374         Add cache info to unix mount listers
3375         Make getmntent use threadsafe
3376         Add is_system_internal attribute for GUnixMount
3377         
3378         * gio/gunixvolume.c:
3379         (g_unix_volume_new):
3380         Use is_system_internal instead of own code
3381         
3382         * gio/glocaldirectorymonitor.c:
3383         * gio/gunixvolumemonitor.c:
3384         Update to new gunixmounts API
3385         
3386         * gio/glocalfile.c:
3387         Fix warning
3388
3389 2007-10-30  Alexander Larsson  <alexl@redhat.com>
3390
3391         * gio/gfileinfo.h:
3392         Add volume name fsinfo attribute
3393         
3394         * gio/glocalfile.c:
3395         Read volume name info
3396         
3397         * gio/gunionvolumemonitor.c:
3398         Fix infinite loops when finalizing a union volume monitor
3399
3400 2007-10-30  Alexander Larsson  <alexl@redhat.com>
3401
3402         * gio/goutputstream.[ch]:
3403         Add splice() with default implementation
3404         
3405         * gio/gsocketoutputstream.c:
3406         (g_socket_output_stream_write):
3407         Return error on cancellation correctly.
3408         
3409 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
3410
3411         * gio/glocalfile.c (g_local_file_trash):
3412         Do not leak a string.
3413
3414 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
3415
3416         * gio/gfile.c (g_file_load_contents):
3417         Unref the stream after closing it.
3418
3419 2007-10-25  Alexander Larsson  <alexl@redhat.com>
3420
3421         * gio/gioscheduler.h:
3422         Fix include
3423
3424 2007-10-25  Alexander Larsson  <alexl@redhat.com>
3425
3426         * gio/gfile.[ch]:
3427         * gio/glocalfile.c:
3428         Add g_file_has_uri_scheme and implement for local files
3429
3430 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
3431
3432         * gio/gdesktopappinfo.c: do not leak a string.
3433
3434 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
3435
3436         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3437         (g_local_directory_monitor_new):
3438         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3439         (g_local_file_monitor_new):
3440         Only look for the monitor type that should be used the first time
3441         and use g_qsort_with_data() instead of our own bubble sort
3442         implementation.
3443
3444 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
3445
3446         * gio/Makefile.am:
3447         * gio/fam/Makefile.am:
3448         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3449         * gio/fam/fam-helper.h:
3450         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3451         * gio/fam/gfamdirectorymonitor.c:
3452         * gio/fam/gfamdirectorymonitor.h:
3453         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3454         * gio/fam/gfamfilemonitor.h:
3455         * gio/glocaldirectorymonitor.c:
3456         * gio/glocaldirectorymonitor.h:
3457         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3458         * gio/glocalfilemonitor.h:
3459         * gio/inotify/Makefile.am:
3460         * gio/inotify/ginotifydirectorymonitor.c:
3461         * gio/inotify/ginotifydirectorymonitor.h:
3462         * gio/inotify/ginotifyfilemonitor.c:
3463         * gio/inotify/ginotifyfilemonitor.h:
3464         Implement the FAM and Inotify monitors as
3465         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3466         their own GIO module. GLocal(Directory|File)Monitor will use the
3467         monitor with the highest rank that is supported on that machine.
3468
3469 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
3470
3471         * gio/Makefile.am:
3472         Change GIO module dir to $(libdir)/gio/modules and change
3473         the log domain from GVFS to GIO. Also only export symbols starting
3474         with g_ in the resulting library.
3475         * gio/test-streams.c: (main):
3476         Set log handler for the GIO log domain.
3477
3478 2007-10-22  Alexander Larsson  <alexl@redhat.com>
3479
3480         * gio/gfilenamecompleter.[ch]:
3481         Add g_filename_completer_set_dirs_only
3482
3483 2007-10-22  Alexander Larsson  <alexl@redhat.com>
3484
3485         * gio/Makefile.am:
3486         * gio/gurifuncs.[ch]:
3487         Add some simple URI helpers
3488         
3489         * gio/gfilenamecompleter.[ch]:
3490         Added object for filename (parse name actually) completion
3491         
3492         * gio/glocalvfs.c:
3493         Handle ~ in parse names
3494
3495 2007-10-17  Alexander Larsson  <alexl@redhat.com>
3496
3497         * gio/gfileinfo.h:
3498         * gio/glocalfileinfo.c:
3499         Add and implement id:value attribute
3500
3501 2007-10-17  Alexander Larsson  <alexl@redhat.com>
3502
3503         * gio/gdrive.[ch]:
3504         * gio/guniondrive.c:
3505         * gio/gunixdrive.c:
3506         Add and implement g_drive_has_volumes
3507         
3508 2007-10-17  Alexander Larsson  <alexl@redhat.com>
3509
3510         * gio/gfileinfo.h:
3511         * gio/glocalfileinfo.[ch]:
3512         Add unix:is_mountpoint and implement for local files
3513
3514 2007-10-16  Alexander Larsson  <alexl@redhat.com>
3515
3516         * gio/gunionvolumemonitor.c:
3517         (g_union_volume_monitor_init):
3518         Fix up the unix type getting so that it works with gcc
3519         
3520 2007-10-12  Alexander Larsson  <alexl@redhat.com>
3521
3522         * gio/gfileinfo.h:
3523         * gio/glocalfileinfo.c:
3524         Add thumbnail:failed to file info
3525
3526 2007-10-12  Richard Hult  <richard@imendio.com>
3527
3528         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3529         optimizing away the get_type call (happens with some gcc versions,
3530         like the one shipped with OS X 10.4).
3531
3532 2007-10-12  Alexander Larsson  <alexl@redhat.com>
3533
3534         * gio/glocalfileinfo.c:
3535         (_g_local_file_info_set_attribute):
3536         Fix build if not HAVE_XATTR
3537         Patch from Milosz Derezynski <internalerror@gmail.com>
3538
3539 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
3540
3541         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3542         around for review, otherwise I would have asked you before
3543         committing)
3544
3545 2007-10-11  Alexander Larsson  <alexl@redhat.com>
3546
3547         * gio/gfileinfo.h:
3548         Add thumbnail:path attribute
3549         
3550         * gio/glocalfileinfo.c:
3551         Implement thumbnail:path for local files
3552
3553 2007-10-11  Alexander Larsson  <alexl@redhat.com>
3554
3555         * gio/glocalfileinfo.c:
3556         (_g_local_file_info_get):
3557         Avoid duplicate icon names
3558
3559 2007-10-11  Alexander Larsson  <alexl@redhat.com>
3560
3561         * gio/gthemedicon.[ch]:
3562         Change g_themed_icon_get_names return type to const
3563
3564 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3565
3566         * gio/glocalfileinfo.c:
3567         Don't reference freed memory
3568
3569 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3570
3571         * gio/gfileattribute.c:
3572         Handle objects
3573         
3574         * gio/glocalfileinfo.c:
3575         Return icon info
3576
3577 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3578
3579         * gio/gfileinfo.c:
3580         Check for NULL icons
3581
3582         * gio/gfileattribute.c:
3583         Don't dup when getting objects (same as for string attributes)
3584
3585         * gio/gicon.c (g_icon_equal):
3586         Safely handle NULLs in equal
3587
3588 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3589
3590         * gio/gfileinfo.h:
3591         Fix c++ compilation issues
3592         Patch from Milosz Derezynski <internalerror@gmail.com>
3593
3594 2007-10-10  Alexander Larsson  <alexl@redhat.com>
3595
3596         * programs/gio-monitor-dir.c:
3597         Don't crash if dir monitor not supported.
3598
3599 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3600
3601         * gio/gioerror.h:
3602         Add missing G_END_DECLS
3603
3604 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
3605
3606         * gio/gfile.c: (g_file_set_display_name),
3607         (g_file_query_settable_attributes),
3608         (g_file_query_writable_namespaces):
3609         Return NULL not FALSE on errors as the return type is a pointer.
3610
3611 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
3612
3613         * gio/glocalfile.c: (g_local_file_monitor_file):
3614         Don't call monitor_file on the default interface vtable (which
3615         is NULL) but simply return NULL. The caller, GFile, will create a
3616         polling monitor if NULL is returned.
3617
3618 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3619
3620         * Makefile.am:
3621         * configure.ac:
3622         * gio-unix-2.0.pc.in:
3623         Add gio-unix-2.0.pc if OS_UNIX
3624         
3625         * gio/Makefile.am:
3626         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3627
3628 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3629
3630         * gio/gunixmounts.[ch]:
3631         Make unix mount monitoring API sane.
3632         Now its just a object with mounts_changed
3633         and mountpoints_changed signals.
3634         
3635         * gio/glocaldirectorymonitor.c:
3636         * gio/gunixvolumemonitor.c:
3637         Use new mount monitor api
3638
3639 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3640
3641         * gio/gunixmounts.[ch]:
3642         Move guess type into one call for mounts and one for mountpoints
3643         
3644         * gio/gunixdrive.c:
3645         * gio/gunixvolume.c:
3646         Update
3647
3648 2007-10-09  Alexander Larsson  <alexl@redhat.com>
3649
3650         * gio/gunixmounts.[ch]:
3651         Remove _ prefix in preparation to make this semi-public
3652         Hide implementation of structs
3653         
3654         * gio/glocaldirectorymonitor.c:
3655         * gio/gunixdrive.c:
3656         * gio/gunixvolume.c:
3657         * gio/gunixvolumemonitor.c:
3658         Update for above API changes
3659
3660 2007-10-08  Alexander Larsson  <alexl@redhat.com>
3661
3662         * gio/gfile.c:
3663         Better polling fallback. This also handles the case where we have
3664         a monitor_file implementation, but it fails.
3665
3666 2007-10-08  Alexander Larsson  <alexl@redhat.com>
3667
3668         * gio/gfile.[ch]:
3669         * gio/glocalfile.c:
3670         * gio/gunixmounts.c:
3671         * programs/gio-monitor-dir.c:
3672         * programs/gio-monitor-file.c:
3673         Added cancellable to file monitoring calls.
3674         These are really sync calls and need this.
3675
3676 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
3677
3678         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3679         (g_local_vfs_class_init):
3680         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3681         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3682
3683 2007-10-05  Alexander Larsson  <alexl@redhat.com>
3684
3685         * gio/gdirectorymonitorprivate.h: 
3686         * gio/gfilemonitorprivate.h: 
3687         * gio/gdirectorymonitor.h:
3688         * gio/gfilemonitor.h:
3689         Remove *private.h and move to the public API, so that
3690         we can do implementations outside gio (such as in gvfs)
3691         
3692         * gio/gdirectorymonitor.c:
3693         * gio/gfilemonitor.c:
3694         * gio/glocaldirectorymonitor.c:
3695         * gio/gpollfilemonitor.c:
3696         * gio/inotify/inotify-helper.c:
3697         * gio/fam/fam-helper.c:
3698         Update to the new header names
3699
3700 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
3701
3702         * gio/gdirectorymonitor.c:
3703         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3704         GTypes as abstract.
3705
3706 2007-10-04  Alexander Larsson  <alexl@redhat.com>
3707
3708         * gio/glocalfileinfo.c (get_access_rights):
3709         Set CAN_TRASH when we can move the file.
3710         We should really also check for a parent trash dir.
3711
3712 2007-10-04  Alexander Larsson  <alexl@redhat.com>
3713
3714         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3715         Add can_trash access attribute
3716
3717 2007-10-04  Alexander Larsson  <alexl@redhat.com>
3718
3719         * gio/glocalfile.c:
3720         (g_local_file_trash):
3721         Create info file first. This is per-spec and allows
3722         us to actually trash directories.
3723
3724 2007-10-02  Alexander Larsson  <alexl@redhat.com>
3725
3726         * gio/gdesktopappinfo.c:
3727         Implement the new mime support code.
3728         Always set app as handling mimetype when being set as default for it
3729
3730 2007-10-01  Alexander Larsson  <alexl@redhat.com>
3731
3732         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3733         Fix up check for xattrs:
3734
3735 2007-10-01  Alexander Larsson  <alexl@redhat.com>
3736
3737         * gio/gappinfo.c:
3738         (g_app_info_set_as_default_for_extension):
3739         (g_app_info_add_supports_type):
3740         (g_app_info_can_remove_supports_type):
3741         (g_app_info_remove_supports_type):
3742         Make these fail nicely if not implemented
3743
3744 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
3745
3746         * gio/glocalfileoutputstream.c:
3747         * gio/glocalfileoutputstream.h:
3748         * gio/test-gio.c:
3749         * gio/gfile.c:
3750         * gio/gfile.h:
3751         * gio/glocalfile.c:
3752         * programs/gio-save.c: 
3753         Add a GFileCreateFlags argument to operations that can create
3754         a new file.
3755
3756 2007-10-01  Alexander Larsson  <alexl@redhat.com>
3757
3758         * gio/gappinfo.[ch]:
3759         * gio/gdesktopappinfo.c:
3760         Add more (stubbed out) mime API needed for nautilus
3761
3762 2007-10-01  Alexander Larsson  <alexl@redhat.com>
3763
3764         * gio/gappinfo.h:
3765         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3766         Add g_app_info_set_as_default_for_extension.
3767         
3768         * gio/gdesktopappinfo.c:
3769         Dummy for g_app_info_set_as_default_for_extension
3770         Support flags in g_app_info_create_from_commandline
3771
3772         * gio/gwin32appinfo.c:
3773         * gio/test-gio.c:
3774         Update for API changes
3775         
3776         * gio/gthemedicon.c:
3777         Properly NULL-terminate list of icon names
3778
3779 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3780
3781         * gio/gloadableicon.h:
3782         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3783
3784 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3785
3786         * gio/Makefile.am:
3787         Install headers in $includedir/gio-standalone/
3788         
3789         * gio-2.0.pc.in: Added.
3790         * gio-standalone.pc.in: Removed.
3791         * configure.ac:
3792         * Makefile.am:
3793         Renamed pkg-config file to match glib (for future move)
3794         Update to the new include dir
3795         
3796         * gio/gappinfo.h:
3797         Add more TODO comments
3798
3799 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3800
3801         * gio/gdesktopappinfo.[ch]:
3802         Expose new_from_filename
3803         Add getter for is_hidden and handle it better
3804
3805 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3806
3807         * gio/gfileinfo.[ch]:
3808         Rename g_file_size_format_for_display to
3809         g_format_file_size_for_display.
3810         Now it doesn't have the g_file prefix, so we
3811         can later move it to glib.
3812
3813 2007-09-28  Alexander Larsson  <alexl@redhat.com>
3814
3815         * gio/gappinfo.[ch]:
3816         Add g_app_info_get_id and g_app_info_get_executable.
3817         Make all getters non-reffing
3818         Make g_app_info_launch take GFile arguments.
3819         Add must_support_uris argument to g_app_info_get_default_for_type.
3820         
3821         * gio/gwin32appinfo.c:
3822         Update to GAppInfo api changes
3823         
3824         * gio/gdesktopappinfo.c:
3825         Update to GAppInfo api changes
3826         Implement supports_xdg_startup_notify
3827         
3828         * gio/gfileicon.c (g_file_icon_get_file):
3829         Make getter non-reffing.
3830         
3831         * gio/test-gio.c:
3832         Update to new API
3833
3834 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3835
3836         * gio/gfileinfo.[ch]: 
3837         Add g_file_size_format_for_display helper
3838         
3839 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3840
3841         * gio/glocalfileinfo.c:
3842         Set UNIX_GID from gid, not from uid
3843
3844 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3845
3846         * gio/gfile.[ch]:
3847         Add g_file_set_attributes_async
3848
3849 2007-09-27  Alexander Larsson  <alexl@redhat.com>
3850
3851         * gio/glocalfile.c (g_local_file_set_display_name):
3852         Fix set_display_name to actually rename to the right place.
3853         Use lstat to look for existing files so we don't overwrite
3854         broken links.
3855
3856 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3857
3858         * gio/gfile.[ch]:
3859         Add g_file_set_display_name_async()
3860
3861 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3862
3863         * gio/gfile.[ch]:
3864         Add load_partial_contents async calls
3865         
3866         * gio/glocalfile.c:
3867         Make internal function static
3868
3869 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3870
3871         * gio/glocalfileinfo.c:
3872         Correctly detect broken symlinks
3873
3874 2007-09-26  Alexander Larsson  <alexl@redhat.com>
3875
3876         * gio/gcancellable.c (g_cancellable_cancel):
3877         Allow cancel on NULL cancellable
3878
3879 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3880
3881         * gio/gsimpleasyncresult.c:
3882         Don't allocate g_error manually.
3883         Fixes g_slice/g_new mixup crash
3884
3885 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3886
3887         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3888         Actually set active_backend.
3889         This means the monitor will be cancelled correctly.
3890
3891 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3892
3893         * gio/gdirectorymonitor.c:
3894         Set timeout to NULL when destroying
3895
3896 2007-09-25  Alexander Larsson  <alexl@redhat.com>
3897
3898         * gio/gioerror.h:
3899         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3900         that is a better description of the error.
3901
3902 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
3903
3904         * gio/gvfs.c: (g_vfs_get_local):
3905         Make the local vfs variable static. The same instance should
3906         always be returned.
3907
3908 2007-09-24  Alexander Larsson  <alexl@redhat.com>
3909
3910         * gio/glocalfileinfo.c:
3911         Pass in actual length read into sniffer, not the length
3912         we tried to read.
3913
3914 2007-09-21  Alexander Larsson  <alexl@redhat.com>
3915
3916         * gio/gfileenumerator.c:
3917         * gio/gfileinfo.c:
3918         * gio/gfileinfo.h:
3919         * gio/gfileinputstream.c:
3920         * gio/gfileoutputstream.c:
3921         * gio/ginputstream.c:
3922         * gio/goutputstream.c:
3923         Don't crash if async callbacks are NULL
3924
3925 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3926
3927         * gio/gfile.[ch]:
3928         Add async enumerate_children method and default
3929         implementation
3930
3931 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3932
3933         * gio/gfile.[ch]
3934         Add g_file_contains_file & g_file_get_relative_path, since they
3935         were needed for nautilus.
3936         Renamed g_file_resolve_relative to g_file_resolve_relative_path
3937         to make it clearer.
3938         
3939         * gio/gdummyfile.c:
3940         * gio/glocalfile.c:
3941         Implement new methods
3942
3943 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3944
3945         * gio/gfile.[ch]:
3946         * gio/gfileinputstream.[ch]:
3947         * gio/gfileoutputstream.[ch]:
3948         * gio/glocalfile.c:
3949         * gio/glocalfileenumerator.[ch]:
3950         * gio/glocalfileinfo.[ch]:
3951         * gio/glocalfileinputstream.c:
3952         * gio/glocalfileoutputstream.c:
3953         * gio/gpollfilemonitor.c:
3954         * programs/gio-copy.c:
3955         * programs/gio-info.c:
3956         * programs/gio-move.c:
3957         Rename get_file_info to query_info() to make it clearer
3958         that these are not simple getters, but do i/o.
3959
3960 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3961
3962         * gio/gdatainputstream.[ch]:
3963         * gio/test-streams.c:
3964         Use _read_XXX instead of _get_XXX for the i/o calls
3965         in GDataInputStream
3966
3967 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3968
3969         * gio/gappinfo.h:
3970         Added needed stuff to TODO comment
3971
3972 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3973
3974         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3975         Don't error out removing the backup copy if it doesn't
3976         already exist.
3977
3978 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3979
3980         * programs/Makefile.am:
3981         * programs/gvfs-*.c: 
3982         * programs/gio-*.c:
3983         Renamed apps from gvfs-xxx to gio-xxx.
3984
3985 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3986
3987         * gio/gfile.c:
3988         * gio/gfileoutputstream.[ch]:
3989         * gio/glocalfileoutputstream.c:
3990         * programs/gvfs-save.c:
3991         g_file_output_stream_get_etag doesn't do i/o, so remove
3992         cancellation and error.
3993
3994 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3995
3996         * gio/gfile.[ch]:
3997         Add new_etag output to replace_contents functions
3998
3999 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4000
4001         * gio/gfileoutputstream.[ch]:
4002         Add async get_file_info and default implementation
4003
4004 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4005
4006         * gio/gfileinputstream.c:
4007         Implement fallback wrapper for async get_file_info
4008
4009 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4010
4011         * gio/gfile.[ch]:
4012         Add etag out argument to load_contents
4013         
4014         * gio/test-gio.c:
4015         Update to new API
4016
4017 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4018
4019         * gio/gcontenttype.c (looks_like_text):
4020         Whitespace like tab, cr and lf do not make the
4021         file binary.
4022
4023 2007-09-14  Alexander Larsson  <alexl@redhat.com>
4024
4025         * gio/gfileinputstream.[ch]:
4026         Add async get_file_info.
4027
4028 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4029
4030         * gio/goutputstream.c (g_output_stream_write_all):
4031         Allow NULL for bytes_written
4032
4033 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4034
4035         * gio/gmemoryinputstream.[ch]:
4036         Add accessors for data
4037
4038 2007-09-13  Alexander Larsson  <alexl@redhat.com>
4039
4040         * gio/gdatainputstream.c (g_data_input_stream_get_until):
4041         Don't crash if length is NULL
4042