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