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