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