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