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