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