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