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