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