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