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