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