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