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