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