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