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