Expand docs
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
2
3         * gioscheduler.h: Expand docs a bit.
4
5 2008-01-24  Alexander Larsson  <alexl@redhat.com>
6
7         * gdrive.[ch]:
8         Add g_drive_get_identifier and
9         g_drive_enumerate_identifiers
10
11         * gvolume.[ch]:
12         Add g_volume_get_identifier and
13         g_volume_enumerate_identifiers
14         
15         * gio.symbols:
16         Add symbols
17         
18         * gunixvolume.c:
19         Implement identifiers for unix backend
20
21 2008-01-24  Alexander Larsson  <alexl@redhat.com>
22
23         * gfile.[ch]:
24         * gfile.h:
25         * gio.symbols:
26         Add g_file_copy_async() (#511580)
27         Based on patch from Carlos Garcia Campos
28
29 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
30
31         * gioscheduler.c: Some documentation additions.
32
33 2008-01-22  Alexander Larsson  <alexl@redhat.com>
34
35         * gdesktopappinfo.c:
36         (g_desktop_app_info_new):
37         Don't leak basename.
38         
39 2008-01-22  Alexander Larsson  <alexl@redhat.com>
40
41         * gdesktopappinfo.c:
42         (g_desktop_app_info_new_from_filename):
43         Don't leak GKeyFile
44
45 2008-01-22  Alexander Larsson  <alexl@redhat.com>
46
47         * glocalfileinfo.c (get_thumbnail_attributes):
48         Fix leak of uri
49
50 2008-01-22  Alexander Larsson  <alexl@redhat.com>
51
52         * glocalfile.c:
53         (canonicalize_filename):
54         Canonicalize paths that start with more than
55         two slashes.
56         
57         * tests/g-file.c:
58         (compare_two_files):
59         (test_g_file_new_for_path):
60         Test the above
61
62 2008-01-22  Alexander Larsson  <alexl@redhat.com>
63
64         * glocalfile.c:
65         Allow UTF-8 in file:// parse names.
66         
67         * tests/Makefile.am:
68         * tests/data-input-stream.c:
69         * tests/data-output-stream.c:
70         * tests/g-file-info.c:
71         * tests/g-file.c:
72         Added a bunch of tests from Tomas Bzatek
73
74 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
75
76         * === Released 2.15.3 ===
77
78 2008-01-21  Alexander Larsson  <alexl@redhat.com>
79
80         * gfileinputstream.[ch]:
81         * gfileoutputstream.[ch]:
82         * gio.symbols:
83         Remove duplicated GSeekable functions. (#509990)
84         Just use the g_seekable_xxx() calls instead.
85
86 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
87
88         * glocal*.c:
89         * gvolumemanager.c: Whitespace cleanups.
90
91         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
92         Use the right mode when creating the file.
93
94 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
95
96         * gfileenumerator.c:
97         * gfileinputstream.c:
98         * ginputstream.c:
99         * goutputstream.c: Documentation: Fixed minor typos 
100         and added more mentions of specific _finish() functions.
101
102 2008-01-21  Alexander Larsson  <alexl@redhat.com>
103
104         * inotify/Makefile.am:
105         * inotify/inotify-helper.c:
106         * inotify/inotify-kernel.c:
107         * inotify/inotify-path.c:
108         * inotify/local_inotify.h: Removed.
109         * inotify/local_inotify_syscalls.h: Removed.
110         Removed the included copies of the inotify
111         headers. We now only use the <sys/inotify.h>
112         header which exists on modern systems.
113         This fixes problems on ARM and SH5 (#510448)
114         but is also generally much cleaner and future
115         safe. For instance, if other OSes add support
116         for inotify it should "just work".
117
118 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
119
120         * inotify/*.c: Coding style fixes.
121         * inotify/inotify-missing.c: Use g_timeout_add_seconds
122         for the 1/4 Hz timer.
123
124 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
125
126         * gfile.c:
127         * gfilemonitor.[hc]:
128         * gmemoryinputstream.c:
129         * gmemoryoutputstream.c:
130         * gmountoperation.c:
131         * gthemedicon.c: Documentation updates
132
133 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
134
135         * gfile.c: documentation: Fixed more minor 
136         typos.
137
138 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
139
140         * gmount.c: (g_mount_remount): documentation: 
141         Mention g_mount_remount_finish() instead of 
142         g_mount_unmount_finish().
143
144 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
145
146         * gappinfo.c:
147         * gcancellable.c:
148         * gfile.c: Fixed some minor typos in the 
149         documentation. 
150
151 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
152
153         * gio/gvolumemonitor.c: 
154         (g_volume_monitor_get_connected_drives): 
155         (g_volume_monitor_get_volumes): 
156         (g_volume_monitor_get_mounts): Documentation: 
157         Clarify the ownership of the regurn GLists.
158
159 2008-01-17  Alexander Larsson  <alexl@redhat.com>
160
161         * gfile.h:
162         Add the async find_enclosing_mount version
163         to the header file too.
164
165 2008-01-17  Alexander Larsson  <alexl@redhat.com>
166
167         * gfile.c:
168         Add async version of find_enclosing_mount
169         with default implementation.
170
171 2008-01-17  Alexander Larsson  <alexl@redhat.com>
172
173         * gfile.c:
174         (g_file_copy):
175         (g_file_move):
176         Allow calls to implementation of copy and write
177         even if the type of the file implementations is
178         different. This can be used to implement native
179         upload and download calls in a vfs.
180         
181         * glocalfile.c:
182         (g_local_file_move):
183         Protect against the case where move is called
184         with one file not being local.
185         
186         Make sure we call the progress callback once
187         in the native move operation so that the caller
188         knows how many bytes were copied.
189
190 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
191
192         * gappinfo.c:
193         * gdatainputstream.c:
194         * gfile.c:
195         * gfileoutputstream.c:
196         * ginputstream.c:
197         * gmount.c:
198         * goutputstream.c:
199         * gseekable.c:
200         * gunixmounts.c: Corrected some typos in the documentation:
201         occured -> occurred.
202         its -> it's (where appropriate).
203
204 2008-01-16  Alexander Larsson  <alexl@redhat.com>
205
206         * gfile.[ch]:
207         * gio.symbols:
208         Add g_file_query_exists (#508771)
209
210 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
211
212         * gdrive.c:
213         * gfile.c:
214         * gmount.c:
215         * gvolume.c: For async functions that have no non-async 
216         version, document that the GAsyncReadyCallback may be NULL.
217         Bug #509626.
218
219 2008-01-15  Alexander Larsson  <alexl@redhat.com>
220
221         * gmemoryinputstream.c:
222         * gmemoryoutputstream.c:
223         Don't do pointer arithmetic on void * (#508602)
224         Patch from Kazuki IWAMOTO
225
226 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
227
228         * === Released 2.15.2 ===
229
230 2008-01-14  Alexander Larsson  <alexl@redhat.com>
231
232         * gfile.c (g_file_monitor_file):
233         Don't set error here, since we fallback to polling monitor.
234
235 2008-01-14  Alexander Larsson  <alexl@redhat.com>
236
237         * gfile.[ch]:
238         (g_file_monitor_directory):
239         (g_file_monitor_file):
240         Add GError to file monitor calls
241         
242         * glocaldirectorymonitor.c:
243         * glocaldirectorymonitor.h:
244         * glocalfile.c:
245         * glocalfilemonitor.c:
246         * glocalfilemonitor.h:
247         * gunixmounts.c:
248         Update for above change
249
250 2008-01-14  Alexander Larsson  <alexl@redhat.com>
251
252         * glocalfile.c:
253         (match_prefix):
254         Handle root correctly in g_file_get_relative_path (#508719)
255
256 2008-01-14  Alexander Larsson  <alexl@redhat.com>
257
258         * gasyncresult.c:
259         Clean up docs and example for GAsyncResult (#508074)
260
261 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
262
263         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
264         and correct some spelling mistakes. Bug #508108.
265
266 2008-01-11  Matthias Clasen <mclasen@redhat.com>
267
268         * glocalfileinfo.c: Add a comment.
269
270 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
271
272         * gfileinfo.c: GFileInfo description: Mention 
273         how to actually set attributes in a GFile and how to discover 
274         which attributes are settable. Bug #508378.
275
276 2008-01-10  A. Walton  <awalton@svn.gnome.org>
277
278         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
279         (g_app_info_get_default_for_type):
280         Check for NULL content types.
281
282 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
283
284         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
285
286 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
287
288         * gfile.c: *_async() functions: Several small corrections 
289         to the documentation, mostly correcting copy/paste errors 
290         and improving some sentences.
291
292 2008-01-09  Dan Winship  <danw@gnome.org>
293
294         * glocalfile.c (get_unique_filename): x86_64 fix
295
296 2008-01-09  Alexander Larsson  <alexl@redhat.com>
297
298         * gio.symbols:
299         * gunixmount.c:
300         * gunixmounts.[ch]:
301         Add g_unix_mount_guess_should_display and use
302         for unix volume monitor backend.
303         This means we more or less show what the
304         gnome-vfs backend did.
305         Based on patch from Padraig O'Briain
306
307 2008-01-09  Alexander Larsson  <alexl@redhat.com>
308
309         * gio.symbols:
310         * gthemedicon.[ch]:
311         Add g_themed_icon_new_with_default_fallbacks
312         
313         * gunixmounts.c:
314         Use default fallbacks for icons
315
316 2008-01-09  Alexander Larsson  <alexl@redhat.com>
317
318         * gio-marshal.list:
319         * gmountoperation.[ch]:
320         Change the API a bit so that unhandled methods
321         get reported via the reply, rather than by
322         the signal emission return value. This is because
323         some handlers can't know this immediately without
324         doing I/O, and this is an async operation that
325         should not block.
326
327 2008-01-09  Alexander Larsson  <alexl@redhat.com>
328
329         * fam/fam-helper.c:
330         * fam/gfamdirectorymonitor.c:
331         * fam/gfamfilemonitor.c:
332         Fix double free crash (#508224)
333         Patch from Joe Marcus Clarke
334
335 008-01-07  Matthias Clasen  <mclasen@redhat.com>
336
337         * === Released 2.15.1 ===
338
339 2008-01-07  Alexander Larsson  <alexl@redhat.com>
340
341         * gunixinputstream.c (g_unix_input_stream_skip_finish):
342         Fix warning (#507835)
343
344 2008-01-07  Alexander Larsson  <alexl@redhat.com>
345
346         * Makefile.am:
347         Pass --internal to glib-genmarshal
348         
349         * gfilemonitor.c:
350         * gmountoperation.c:
351         * gio-marshal.list:
352         Use better types for signal arguments (#507822)
353
354 2008-01-07  Alexander Larsson  <alexl@redhat.com>
355
356         * Makefile.am:
357         Build test subdir after .
358         Remove gdirectorymonitor.[ch]
359         
360         * gdirectorymonitor.[ch]:
361         * gfilemonitor.c:
362         * gfile.[ch]:
363         * gio.h:
364         Remove GDirectoryMonitor and make
365         GFileMonitor the baseclass for both file and
366         directory monitors. Lift the more generic
367         rate limiting code from GDirectoryMonitor
368         into GFileMonitor.
369         
370         * fam/fam-helper.c:
371         * fam/gfamdirectorymonitor.[ch]:
372         * inotify/ginotifydirectorymonitor.[ch]:
373         * inotify/inotify-helper.c:
374         * glocaldirectorymonitor.[ch]:
375         * glocalfile.c:
376         * gvolumemonitor.c:
377         Update for the removed GDirectoryMonitor.
378         
379         * gmemoryoutputstream.c:
380         Remove ununsed variable
381
382 2008-01-07  Alexander Larsson  <alexl@redhat.com>
383
384         * gmemoryinputstream.c:
385         Translate error strings
386         
387         * gio.symbols:
388         * gmemoryoutputstream.[ch]:
389         New implementation that avoids using GByteArray
390         in implementation and API. (#506377)
391
392 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
393
394         * tests/*: Add a test for memory input streams.
395         
396         * Makefile.am: Add tests to SUBDIRS.
397
398 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
399
400         * glocalfilemonitor.c:
401         * glocaldirectorymonitor.c: Mark property nicks and blurbs
402         for translation.
403
404 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
405
406         * gdesktopappinfo.c: Fix a docs typo.
407
408         * gfileattribute.c: Add information about extended attributes
409         to the documentation.  (#505058)
410
411 2008-01-04  Alexander Larsson  <alexl@redhat.com>
412
413         * gio-marshal.list:
414         * gmountoperation.c:
415         Use the right type (uint) for the ask_password signal.
416
417 2008-01-04  Alexander Larsson  <alexl@redhat.com>
418
419         * gappinfo.[ch]:
420         * gwin32appinfo.c:
421         * gio.symbols:
422         Add g_app_info_supports_files() 
423         Remove desktop arg from g_app_info_should_show().
424         
425         * gdesktopappinfo.[ch]:
426         Implement g_app_info_supports_files() and new should_show()
427         Add g_desktop_app_info_set_desktop_env() to set the desktop
428         for should_show(). (This will be set by gtk+ later)
429
430 2008-01-04  Alexander Larsson  <alexl@redhat.com>
431
432         * gio.symbols:
433         * gmemoryinputstream.[ch]:
434         Improve API so that you can use multiple chunks
435         of memory and custom destroy functions. (#506374)
436
437 2008-01-03  Alexander Larsson  <alexl@redhat.com>
438
439         * gfileinfo.c:
440         Handle NULL attribute matchers safely, as we return this
441         for empty attribute matcher strings.
442
443 2008-01-03  Alexander Larsson  <alexl@redhat.com>
444
445         * gunixmounts.c (g_unix_is_mount_path_system_internal):
446         Add /usr/local to list of internal mountpoints
447
448 2008-01-03  Alexander Larsson  <alexl@redhat.com>
449
450         * glocalfileinfo.c:
451         Check for HAVE_LCHOWN (#505887)
452         
453 2008-01-03  Alexander Larsson  <alexl@redhat.com>
454
455         * gfileinfo.h:
456         * glocalfileinfo.c:
457         Add define for selinux context attribute.
458         Fix missing : -> :: namespace separator change
459         Fix missing _ -> - name change for xattr-sys.
460         (#505058)
461
462 2008-01-03  Alexander Larsson  <alexl@redhat.com>
463
464         * fam/Makefile.am:
465         Link to libglib and libgobject directly (#504879)
466         Patch from Sebastien Bacher
467
468 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
469
470         * gfile.c: Expanded the g_file_new_for_commandline_arg
471         description a bit, based on the code and the docs of the
472         other g_file_new_for_* functions.
473
474 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
475
476         * gfilemonitor.h: Fixed typo in docs.
477
478 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
479
480         Updates to GIO documentation. (#506395, Mikael Hermansson)
481
482         * gcontenttype.c: Describe memory management for return value of
483         g_content_types_get_registered(). Missing piece from #505815.
484         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
485         GVolume, GDrive, GMounts, which hopefully gives the user less
486         confusions when using this API. Following explainations from
487         Alexander Larsson on gtk-devel-list.
488
489 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
490
491         * gfileinfo.c: Expand the long description.
492
493 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
494
495         * fam/Makefile.am:
496         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
497         fix builds with --disable-visibility.  (#500273, Christian Persch)
498
499 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
500
501         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
502         in the list of returned app infos.
503
504 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
505
506         * gappinfo.c: Fix a cross-reference
507
508 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
509
510         * gfileinputstream.c:
511         * gfileoutputstream.c:
512         * gloadableicon.h:
513         * gunixmounts.c:
514         * gmount.h:
515         * gdesktopappinfo.c:
516         * gvolumemonitor.c: 
517         * gfileinfo.c: Documentation updates.
518
519 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
520
521         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
522         Tommi Komulainen)
523
524 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
525
526         * gcontenttype.c (g_content_types_get_registered): Don't return
527         freed memory (#505815, Mikael Hermansson)
528
529 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
530
531         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
532         used to detect statbuf->st_blocks. (#505042)
533
534 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
535
536         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
537         environment handling.  (#504829, Cosimo Cecchi)
538
539 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
540
541         * gappinfo.c: Doc improvements
542         
543         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
544         not ids.
545
546 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
547
548         * === Released 2.15.0 ===
549
550 2007-12-20  Hans Breuer  <hans@breuer.org>
551
552         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
553         with symbols gwin32appinfo.obj, added gmount.obj
554         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
555
556 2007-12-20  Alexander Larsson  <alexl@redhat.com>
557
558         * gfile.c:
559         * gfileattribute.c:
560         * gfileinfo.c:
561         * gfileinfo.h:
562         * gfilenamecompleter.c:
563         * glocalfile.c:
564         * glocalfileinfo.c:
565         * gpollfilemonitor.c:
566         File attribute renames:
567         std:: -> standard::
568         fs:: -> filesystem::
569         id::fs -> id::filesystem
570         
571 2007-12-20  Alexander Larsson  <alexl@redhat.com>
572
573         * gfile.[ch]:
574         * gdrive.[ch]:
575         * gmount.[ch]:
576         * gvolume.[ch]:
577         * gunixmount.c:
578         * gunixvolume.c:
579         * gio.symbols:
580         Add GMountUnmountFlags to all unmount and
581         eject calls.
582         Add g_mount_remount() call.
583
584 2007-12-20  Alexander Larsson  <alexl@redhat.com>
585
586         * gvfs.c (get_default_vfs):
587         Fix unused variable warning
588
589 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
590
591         * pltcheck.sh: Update
592
593 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
594
595         * gunionvolumemonitor.c:
596         * gunixmount.c: Remove C99 comments
597
598 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
599
600         * gio.symbols: Add some missing symbols
601
602 2007-12-19  Alexander Larsson  <alexl@redhat.com>
603
604         * giomodule.c:
605         Make g_io_modules_load_all_in_directory not unuse
606         loaded modules so that users of it can do stuff
607         before unloading.
608         Init internal "module" types.
609         Initialize static prio and name for types so that
610         we don't have to load modules to get it.
611         
612         * gnativevolumemonitor.h:
613         * gvolumemonitor.h:
614         Move is_supported to parent class so that
615         non-native monitors can avoid being initialized
616         too. (For instance GDaemonVolumeMonitor if we're
617         not using GDaemonVfs.)
618         
619         * glocaldirectorymonitor.[ch]:
620         * glocalfilemonitor.[ch]:
621         * gunionvolumemonitor.c:
622         * gunixvolumemonitor.c:
623         * gvfs.c:
624         Find plugins using the static prio+name to
625         avoid unnecessarily loading the modules.
626
627 2007-12-19  Alexander Larsson  <alexl@redhat.com>
628
629         * giomodule.c:
630         Remove warnings
631
632 2007-12-19  Alexander Larsson  <alexl@redhat.com>
633
634         * gunionvolumemonitor.c:
635         Store the native type as GType, not class so that
636         we can unload it. But still avoid unnecessarily
637         unload modules.
638
639 2007-12-19  David Zeuthen  <davidz@redhat.com>
640
641         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
642         add signals 'disconnected' and 'eject-button' on GDrive. Add
643         signal 'removed' on GVolume and 'unmounted' on GMount.
644
645         * gdrive.c: (g_drive_base_init):
646         * gdrive.h:
647         * gfile.c: (g_file_mount_mountable),
648         (g_file_mount_enclosing_volume):
649         * gio.symbols:
650         * gioerror.h:
651         * gmount.c: (g_mount_base_init):
652         * gmount.h:
653         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
654         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
655         * gvolume.c: (g_volume_base_init), (g_volume_mount):
656         * gvolume.h:
657         * gvolumemonitor.h:
658
659 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
660
661         * *.c: Fix up includes in the section docs.
662
663 2007-12-17  Alexander Larsson  <alexl@redhat.com>
664
665         * gnativevolumemonitor.h:
666         * gunionvolumemonitor.c:
667         * gunixvolumemonitor.c:
668         Add is_supported() to GNativeVolumeMonitorClass so
669         that we can avoid having to create an object to see
670         if the backend is supported at runtime.
671         Also add name member and an env var to pick a specific
672         volume monitor backend.
673         
674         * gmountprivate.h:
675         * glocalfile.c:
676         Add cancellable to _g_mount_get_for_mount_path()
677         
678         * glocaldirectorymonitor.c:
679         * glocalfilemonitor.c:
680         Avoid loading and unloading modules while sorting.
681
682 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
683
684         * gio.symbols:
685         * gunixmounts.[hc]: Namespace waste reduction, move some
686         g_get_unix_mount functions to the g_unix_mount namespace.
687
688         * gunixmounts.c:
689         * gunixvolumemonitor.c:
690         * glocalfile.c:
691         * glocaldirectorymonitor.c: Update all callers.
692
693         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
694
695 2007-12-17  Alexander Larsson  <alexl@redhat.com>
696
697         * gfile.c:
698         Add doc comments about what GFile operations are
699         guaranteed to not block.
700
701 2007-12-17  Alexander Larsson  <alexl@redhat.com>
702
703         * gunixmounts.c:
704         Add missing #ifdef fixing OSX build.
705         (#503334, patch from Richard Hult)
706
707 2007-12-14  David Zeuthen  <davidz@redhat.com>
708
709         * Makefile.am:
710         * gio.symbols:
711         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
712         (g_mount_eject), (g_mount_eject_finish):
713         * gmount.h:
714         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
715         (get_volume_for_uuid), (get_mount_for_uuid),
716         (g_union_volume_monitor_class_init),
717         (get_default_native_type_with_exclude), (get_default_native_type),
718         (get_native_type), (update_native_type),
719         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
720         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
721         (g_unix_mount_can_eject), (eject_unmount_cb),
722         (eject_unmount_read_error), (eject_unmount_do),
723         (g_unix_mount_unmount), (g_unix_mount_eject),
724         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
725         * gunixmounts.c: (g_unix_mount_guess_can_eject),
726         (g_unix_mount_point_guess_can_eject):
727         * gunixmounts.h:
728         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
729         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
730         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
731         (g_unix_volume_mount), (g_unix_volume_eject),
732         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
733         * gunixvolumemonitor.c: (get_volume_for_uuid),
734         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
735         (update_mounts):
736         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
737         (g_volume_eject), (g_volume_eject_finish):
738         * gvolume.h:
739         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
740         (g_volume_monitor_get_mount_for_uuid):
741         * gvolumemonitor.h:
742
743         Provide eject() on both GMount and GVolume and utility functions
744         to guess whether a GUnixMountPoint or GUnixMountEntry should be
745         ejected. Introduce the concept of UUID's and wire it into GVolume
746         and GMount and provide API on GVolumeMonitor to find such
747         instances. Also handle the case where an external
748         GNativeVolumeMonitor fails to initialize. Lock around the
749         _g_get_mount_for_mount_path() function such that volume monitor
750         implementations won't have to do locking themselves.
751
752 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
753
754         * gdesktopappinfo.c:
755         * gunixmounts.c:
756         * gfileinfo.c:
757         * gvolumemonitor.c:
758         * gfile.h:
759         * gioscheduler.c:
760         * gvolume.h: Documentation updates
761
762 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
763
764         * gunixmounts.c:
765         * gfile.h: Doc updates
766
767 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
768
769         * gcontenttype.c:
770         * gdesktopappinfo.c: Use hash table iterators.
771
772 2007-12-14  Alexander Larsson  <alexl@redhat.com>
773
774         * Makefile.am:
775         * gfileattribute.[ch]:
776         * gfileattribute-priv.h:
777         Move GFileAttributeValue to a private header, as
778         its sort of ugly.
779         
780         * gfile.[ch]:
781         Make set_attribute take a type + a pointer instead
782         of a GFileAttributeValue.
783         
784         * gfileinfo.[ch]:
785         Fix up for above changes.
786         Add g_file_info_get_attribute_data to get
787         all info in one call, g_file_info_get_attribute_status
788         to get the status and g_file_info_get_attribute_as_string.
789         
790         * gio.symbols:
791         * glocalfile.c:
792         * glocalfileinfo.[ch]:
793         Update for changes
794         
795         * gunixmounts.c:
796         Make _guess_type static.
797
798 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
799
800         * Makefile.am:
801         * inotify/Makefile.am: Fixed build when srcdir != builddir,
802         made mkenums and friends use temporary files to avoid leaving
803         empty generated files on failure (#503470).
804
805 2007-12-14  Alexander Larsson  <alexl@redhat.com>
806
807         * gmountoperation.h:
808         Fix AKS -> ASK typo
809
810 2007-12-14  Alexander Larsson  <alexl@redhat.com>
811
812         * gappinfo.h:
813         * gfile.[ch]:
814         * gfileattribute.[ch]:
815         * gio.symbols:
816         * glocalfile.c:
817         * glocalfileoutputstream.c:
818         * gmountoperation.[ch]:
819         * goutputstream.[ch]:
820         Clean up all flags enums to not have _FLAGS in them
821         Make the names of some of the enums better.
822
823         * glocalfileinfo.c:
824         Fix warning
825         
826 2007-12-14  Michael Natterer  <mitch@imendio.com>
827
828         * gio.symbols: fix g_io_scheduler symbol names.
829
830 2007-12-14  Alexander Larsson  <alexl@redhat.com>
831
832         * Makefile.am:
833         * fam/Makefile.am:
834         * gappinfo.h:
835         * gasyncresult.h:
836         * gbufferedinputstream.h:
837         * gbufferedoutputstream.h:
838         * gcancellable.h:
839         * gcontenttype.h:
840         * gdatainputstream.h:
841         * gdataoutputstream.h:
842         * gdesktopappinfo.h:
843         * gdirectorymonitor.h:
844         * gdrive.h:
845         * gfile.h:
846         * gfileattribute.h:
847         * gfileenumerator.h:
848         * gfileicon.h:
849         * gfileinfo.h:
850         * gfileinputstream.h:
851         * gfilemonitor.h:
852         * gfilenamecompleter.h:
853         * gfileoutputstream.h:
854         * gfilterinputstream.h:
855         * gfilteroutputstream.h:
856         * gicon.h:
857         * ginputstream.h:
858         * gio.h:
859         * gioerror.h:
860         * giomodule.h:
861         * gioscheduler.h:
862         * gloadableicon.h:
863         * gmemoryinputstream.h:
864         * gmemoryoutputstream.h:
865         * gmount.h:
866         * gmountoperation.h:
867         * goutputstream.h:
868         * gseekable.h:
869         * gsimpleasyncresult.h:
870         * gthemedicon.h:
871         * gunixinputstream.h:
872         * gunixmounts.h:
873         * gunixoutputstream.h:
874         * gvfs.h:
875         * gvolume.h:
876         * gvolumemonitor.h:
877         * inotify/Makefile.am:
878         Only allow including <gio/gio.h> from apps
879
880 2007-12-14  Alexander Larsson  <alexl@redhat.com>
881
882         * gioscheduler.[ch]:
883         * gsimpleasyncresult.c:
884         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
885         Split out the send_to_mainloop call into two versions instead
886         of having the block argument.
887
888 2007-12-13  Alexander Larsson  <alexl@redhat.com>
889
890         * gcancellable.[ch]:
891         * gio.symbols:
892         * gbufferedinputstream.c:
893         * gfileenumerator.c:
894         * gfileinputstream.c:
895         * gfileoutputstream.c:
896         * ginputstream.c:
897         * gioscheduler.c:
898         * goutputstream.c:
899         g_push/pop_current_cancellable ->
900         g_cancellable_push/pop_current
901
902 2007-12-13  Alexander Larsson  <alexl@redhat.com>
903
904         * gfile.[ch]:
905         * gio.symbols:
906         Rename g_mount_for_location to g_file_mount_enclosing_volume.
907
908 2007-12-13  Alexander Larsson  <alexl@redhat.com>
909
910         * gmountoperation.h:
911         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
912
913 2007-12-12  Alexander Larsson  <alexl@redhat.com>
914
915         * gioscheduler.c:
916         Fix race condition when freeing proxy in
917         g_io_job_send_to_mainloop().
918
919 2007-12-12  Alexander Larsson  <alexl@redhat.com>
920
921         * gfileattribute.c:
922         * gfileinfo.[ch]:
923         * glocalfile.c:
924         * glocalfileinfo.c:
925         Make attribute namespace separator "::" instead of ":".
926         Use - instead of _ as separator in attribute names.
927
928 2007-12-12  Alexander Larsson  <alexl@redhat.com>
929
930         * gbufferedinputstream.h:
931         * gbufferedoutputstream.h:
932         * gdatainputstream.h:
933         * gdataoutputstream.h:
934         * gdirectorymonitor.h:
935         * gfileenumerator.h:
936         * gfileinputstream.h:
937         * gfilemonitor.h:
938         * gfileoutputstream.h:
939         * gfilterinputstream.h:
940         * gfilteroutputstream.h:
941         * ginputstream.h:
942         * glocalfileinputstream.h:
943         * glocalfileoutputstream.h:
944         * gmemoryinputstream.h:
945         * gmemoryoutputstream.h:
946         * gnativevolumemonitor.h:
947         * goutputstream.h:
948         * gunixinputstream.h:
949         * gunixoutputstream.h:
950         * gvfs.h:
951         * gvolumemonitor.h:
952         s/parent/parent_instance/ in GObjects
953
954 2007-12-12  Alexander Larsson  <alexl@redhat.com>
955
956         * gdrive.h:
957         * gmount.h:
958         * gvolume.h:
959         No need for padding for interfaces
960         
961 2007-12-12  Alexander Larsson  <alexl@redhat.com>
962
963         * gappinfo.[ch]:
964         * gasyncresult.c:
965         * gbufferedinputstream.c:
966         * gbufferedoutputstream.c:
967         * gcancellable.c:
968         * gcontenttype.c:
969         * gdatainputstream.[ch]:
970         * gdesktopappinfo.c:
971         * gdirectorymonitor.c:
972         * gfile.[ch]:
973         * gfileattribute.[ch]:
974         * gfileicon.[ch]:
975         * gfileinfo.h:
976         * gfileinputstream.h:
977         * gfilemonitor.[ch]:
978         * gfileoutputstream.[ch]:
979         * gfilterinputstream.h:
980         * gfilteroutputstream.h:
981         * gicon.h:
982         * gioscheduler.c:
983         * gloadableicon.[ch]:
984         * gmemoryinputstream.c:
985         * gmountoperation.c:
986         * gthemedicon.c:
987         Fix up a bunch of details in the docs.
988
989         * glocalfileinfo.c:
990         CR/LF -> LF fixups
991         
992 2007-12-11  David Zeuthen  <davidz@redhat.com>
993
994         Rework how volumes, drives and volume monitoring is
995         done. Previosly the model was
996
997          GDrive <1-1> GVolume
998
999         where a GDrive instance represented a mount point and a GVolume
1000         instance represented a mounted file system. This patch changes it
1001         the model to
1002
1003                 GDrive <1-N> GVolume <1-1> GMount
1004
1005         where GMount now serves the purpose of the old GVolume and the new
1006         GVolume serves the purpose of the old GDrive. In addition the new
1007         GDrive interface is used to represent a collection of GVolume
1008         instances (typically partitions) and also contains utility to query
1009         the state of the physical drive the GDrive object represents (such
1010         as checking for media, polling the drive, ejecting the media etc.).
1011
1012         Also implement mounting and unmounting in the Unix volume monitor
1013         backend. A subquent patch will introduce GDrive support for ejection
1014         of media.
1015
1016         * Makefile.am:
1017         * gdrive.c: (g_drive_is_media_check_automatic),
1018         (g_drive_is_media_removable), (g_drive_has_media),
1019         (g_drive_can_poll_for_media), (g_drive_eject),
1020         (g_drive_eject_finish), (g_drive_poll_for_media),
1021         (g_drive_poll_for_media_finish):
1022         * gdrive.h:
1023         * gfile.c: (g_file_find_enclosing_mount):
1024         * gfile.h:
1025         * gio.symbols:
1026         * glocaldirectorymonitor.c:
1027         (g_local_directory_monitor_constructor), (mounts_changed):
1028         * glocalfile.c: (get_mount_info),
1029         (g_local_file_find_enclosing_mount),
1030         (g_local_file_file_iface_init):
1031         * gnativevolumemonitor.h:
1032         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1033         (get_connected_drives), (g_union_volume_monitor_class_init),
1034         (child_volume_added), (child_volume_removed),
1035         (child_volume_changed), (child_mount_added), (child_mount_removed),
1036         (child_mount_pre_unmount), (child_mount_changed),
1037         (child_drive_changed), (g_union_volume_monitor_add_monitor),
1038         (g_union_volume_monitor_remove_monitor),
1039         (_g_mount_get_for_mount_path):
1040         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1041         (guess_system_internal), (_g_get_unix_mounts),
1042         (_g_get_unix_mount_points), (g_get_unix_mount_at),
1043         (g_unix_mount_free), (g_unix_mount_compare),
1044         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1045         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1046         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1047         (type_to_icon), (g_unix_mount_guess_name),
1048         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1049         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1050         (_resolve_symlink), (_resolve_dev_root):
1051         * gunixmounts.h:
1052         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1053         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1054         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1055         (g_unix_volume_get_name), (g_unix_volume_can_mount),
1056         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1057         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1058         (g_unix_volume_mount), (g_unix_volume_mount_finish),
1059         (g_unix_volume_volume_iface_init):
1060         * gunixvolume.h:
1061         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1062         (get_mounts), (get_volumes), (get_connected_drives),
1063         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1064         (mountpoints_changed), (mounts_changed),
1065         (g_unix_volume_monitor_init),
1066         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1067         (find_mount_by_mountpath), (update_volumes), (update_mounts):
1068         * gunixvolumemonitor.h:
1069         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1070         (g_volume_mount), (g_volume_mount_finish):
1071         * gvolume.h:
1072         * gvolumemonitor.c: (g_volume_monitor_class_init),
1073         (g_volume_monitor_get_connected_drives),
1074         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1075         * gvolumemonitor.h:
1076
1077 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1078
1079         * gmountoperation.h (GPasswordFlags): Close the gap
1080
1081 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1082
1083         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1084         * gio.symbols:
1085         * gdesktopappinfo.[hc]: Remove _-prefixes
1086
1087 2007-12-10  Tor Lillqvist  <tml@novell.com>
1088
1089         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1090         gcc warnings.
1091
1092 2007-12-10  Alexander Larsson  <alexl@redhat.com>
1093
1094         * gfile.c (g_file_set_display_name):
1095         Don't hardcode '/' (#502727)
1096
1097 2007-12-09  Hans Breuer  <hans@breuer.org>
1098
1099         * makefile.msc : follow lib naming convention
1100         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1101         for user and group name, tested with ../tests/gio-ls
1102
1103 2007-12-09  A. Walton  <awalton@svn.gnome.org>
1104
1105         * gdesktopappinfo.c:
1106         * gdrive.c:
1107         * gdrive.h:
1108         * gfile.c:
1109         * gfile.h:
1110         * gfileattribute.c:
1111         * gfileenumerator.c:
1112         * gioerror.c:
1113         * gioscheduler.c:
1114         * gioscheduler.h:
1115         * gloadableicon.c:
1116         * gmemoryinputstream.c:
1117         * gmemoryoutputstream.c:
1118         * goutputstream.h:
1119         * gsimpleasyncresult.c:
1120         More documentation cleanup and filling in missing information, bringing
1121         GIO to 99% symbol coverage.
1122
1123 2007-12-08  Hans Breuer  <hans@breuer.org>
1124
1125         [gio compiles and links on win32, not sure how much already works]
1126         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1127         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
1128         base on win32 API; prefer g_lstat() over lstat(); instead of 
1129         localtime_r() use an all GLib implementation on win32;
1130         get_mount_info() still needs a win32 specifc implementation
1131         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
1132         win32_get_file_user_info to get owner/group info without uid/gid
1133         * glocalfileinputstream.c : include <io.h> on win32
1134         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1135         definition, use g_win32_ftruncate() for G_OS_WIN32
1136         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1137         it is available with mingw/w32api but a mess with the M$ Platform SDKs
1138         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1139         * makefile.msc : updated
1140
1141 2007-12-07  Alexander Larsson  <alexl@redhat.com>
1142
1143         * glocalfileenumerator.c (_g_local_file_enumerator_new):
1144         Avoid warning spew if error == NULL
1145         
1146 2007-12-07  Alexander Larsson  <alexl@redhat.com>
1147
1148         * gfile.c:
1149         Update docs wrt etags
1150
1151 2007-12-06  Alexander Larsson  <alexl@redhat.com>
1152
1153         * glocalfileinfo.h:
1154         Include sys/types.h for dev_t (#501919)
1155
1156 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
1157
1158         * gio.symbols:
1159         * pltcheck.sh:
1160         Make abicheck and pltcheck pass.
1161
1162 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1163
1164         * Makefile.am:
1165         * giomodule-priv.h: Added.
1166         * glocaldirectorymonitor.c:
1167         * glocalfilemonitor.c:
1168         * gunionvolumemonitor.c:
1169         * gvfs.c:
1170         Actually add the declaration of _g_io_modules_ensure_loaded
1171
1172 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1173
1174         * gdatainputstream.c:
1175         Fix warnings
1176         
1177         * gio.symbols:
1178         * giomodule.[ch]
1179         * glocaldirectorymonitor.c:
1180         * glocalfilemonitor.c:
1181         * gunionvolumemonitor.c:
1182         * gvfs.c:
1183         Make g_io_modules_ensure_loaded a private function and
1184         don't pass in the dirname. This means we can do magic
1185         directory finding in the win32 version.
1186         Export the actual load-modules-in-directory code so that
1187         gvfs can reuse that.
1188
1189 2007-12-05  Alexander Larsson  <alexl@redhat.com>
1190
1191         * gbufferedinputstream.c:
1192         * gbufferedoutputstream.c:
1193         * gdrive.[ch]:
1194         * gfile.[ch]:
1195         * gfileenumerator.[ch]:
1196         * gfileinputstream.c:
1197         * gfileoutputstream.[ch]:
1198         * gfilterinputstream.c:
1199         * gfilteroutputstream.c:
1200         * ginputstream.[ch]:
1201         * glocalfile.c:
1202         * glocalfileenumerator.c:
1203         * glocalfileinputstream.c:
1204         * glocalfileoutputstream.c:
1205         * gmemoryinputstream.c:
1206         * gmemoryoutputstream.c:
1207         * goutputstream.[ch]:
1208         * gseekable.[ch]:
1209         * gunixdrive.c:
1210         * gunixinputstream.c:
1211         * gunixoutputstream.c:
1212         Rename all struct members named:
1213         read, write, close, truncate, or mount
1214         to foo_fn, as these are reserved names
1215         and could be defined as macros in libc.
1216         (#501645)
1217
1218 2007-12-04  Alexander Larsson  <alexl@redhat.com>
1219
1220         * goutputstream.c:
1221         (g_output_stream_close):
1222         Only call flush if non-null.
1223
1224 2007-11-30  Dan Winship  <danw@gnome.org>
1225
1226         * ginputstream.c (g_input_stream_set_pending): Make this take a
1227         GError and return a gboolean, and do the "outstanding operation"
1228         check (and the "stream is already closed" check) itself.
1229         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1230
1231         * goutputstream.c (g_output_stream_set_pending)
1232         (g_output_stream_clear_pending): Likewise
1233
1234         * gbufferedinputstream.c: 
1235         * gfileinputstream.c: 
1236         * gfileoutputstream.c: Update for that
1237
1238         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1239         Like g_simple_async_report_error_in_idle, but takes a GError
1240         rather than building one.
1241
1242 2007-11-30  Dan Winship  <danw@gnome.org>
1243
1244         * goutputstream.c: Don't cheat and unset the "pending" flag around
1245         inner calls. Instead, call the class method directly rather than
1246         the wrapper function that checks "pending"
1247
1248 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
1249
1250         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1251
1252 2007-12-03  Hans Breuer  <hans@breuer.org>
1253
1254         [start of port to win32/msvc]
1255         * gcancellable.c : HAVE_UNIST_H and _pipe()
1256         * gcontenttype.c : only include <dirent.h> in the UNIX branch
1257         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1258         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
1259         HAVE_UNIST_H
1260         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1261         * glocalvfs.c : use HAVE_PWD_H
1262         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1263         * makefile.msc : new file (maybe later converted to makefile.msc.in)
1264         * Makefile.am : added to EXTRA_DIST
1265
1266 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
1267
1268         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1269         (#499783)
1270
1271 2007-12-03  Alexander Larsson  <alexl@redhat.com>
1272
1273         * glocalfileinfo.c:
1274         Handle OSX style xattrs API (#500506)
1275
1276 2007-12-03  Alexander Larsson  <alexl@redhat.com>
1277
1278         * gfile.[ch]:
1279         * glocalfile.c:
1280         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1281
1282 2007-12-02  A. Walton  <awalton@svn.gnome.org>
1283
1284         * gfile.c:
1285         * gfileattribute.c:
1286         Documentation accuracy fixes.
1287
1288 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
1289
1290         * gioenumtypes.c.template: Fix typo.
1291
1292 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1293
1294         * gioenumtypes.c.template: Make threadsafe get_type() functions.
1295
1296 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1297
1298         * gdirectorymonitor.c:
1299         * gfilemonitor.c: Add properties
1300
1301         * gbufferedoutputstream.c: Don't mark buffer-size property 
1302         as construct-only.
1303
1304 2007-12-01  Matthias Clasen <mclasen@redhat.com>
1305
1306         * gbufferedoutputstream.c: Add auto-grow property.
1307
1308 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1309
1310         * *.c: Unify the capitalization of section headings.
1311
1312 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1313
1314         * gmountoperation.c: Add properties
1315         
1316         * gdatainputstream.c: Turn byte-order and newline-type into
1317         properties.
1318
1319 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1320
1321         * gioenumtypes.[hc].template: Templates for enum registration
1322
1323         * Makefile.am: Generate gioenumtypes.[hc]
1324
1325         * gio.h: Include gioenumtypes.h
1326         * gappinfo.h:
1327         * gfile.h: Add some explicit nicks.
1328
1329         * gio.symbols: Add new symbols
1330
1331         * pltcheck.sh: Adjust
1332
1333 2007-11-30  Matthias Clasen <mclasen@redhat.com>
1334
1335         * *.c: Explain etags and link to the explanation
1336
1337 2007-11-29  Matthias Clasen <mclasen@redhat.com>
1338
1339         * *.c: Explain I/O priority.
1340
1341         * *.c: More coding style fixes.
1342
1343 2007-11-29  Matthias Clasen <mclasen@redhat.com>
1344
1345         * gasyncresult.c: Add another paragraph to the intro,
1346         adjust coding style of example.
1347
1348 2007-11-29  A. Walton <awalton@svn.gnome.org>
1349
1350         * gappinfo.c:
1351           Fixes unknown meaning in GAppLaunchContext docs.
1352         * gfile.c:
1353           Clarify asynchronous ops.
1354         * gfileattribute.c:
1355           Fix entity tag docs.
1356         * gicon.c:
1357         * gthemedicon.c:
1358           Provides missing gtk-doc section, fixes API docs slighly.
1359         * gsimpleasyncresult.c:
1360           Fill in missing info in docs.
1361         * gunixinputstream.c:
1362         * gunixoutputstream.c:
1363           Be more expressive in short description.
1364         * gunixvolume.c:
1365           Remove gtk-doc stubs for non-public API.
1366
1367 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1368
1369         * *.c: Coding style fixups
1370
1371 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1372
1373         * inotify/inotify-helper.c: Don't export the lock from libgio.
1374
1375 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1376
1377         * Makefile.am:
1378         * abicheck.sh: Fix copy-and-paste leftovers 
1379
1380 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
1381
1382         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1383
1384 2007-11-28  Alexander Larsson  <alexl@redhat.com>
1385
1386         * Makefile.am:
1387         * gdriveprivate.h:
1388         Removed unnecessary file
1389         
1390         * gdesktopappinfo.[ch]:
1391         * gdummyfile.[ch]:
1392         * gfile.c:
1393         * glocaldirectorymonitor.[ch]:
1394         * glocalfile.[ch]:
1395         * glocalfileenumerator.[ch]:
1396         * glocalfileinputstream.[ch]:
1397         * glocalfilemonitor.[ch]:
1398         * glocalfileoutputstream.[ch]:
1399         * glocalvfs.[ch]:
1400         * gnativevolumemonitor.c:
1401         * gpollfilemonitor.[ch]:
1402         * gunionvolumemonitor.[ch]:
1403         * gunixdrive.[ch]:
1404         * gunixvolume.[ch]:
1405         * gunixvolumemonitor.[ch]:
1406         * gvfs.c:
1407         * gvolumeprivate.h:
1408         * inotify/ginotifydirectorymonitor.[ch]:
1409         * inotify/ginotifyfilemonitor.[ch]:
1410         * inotify/inotify-helper.c:
1411         Append _ to all internal functions
1412         
1413         * gio.symbols:
1414         Add missing symbols
1415         Export symbols needed for modules
1416
1417 2007-11-28  Alexander Larsson  <alexl@redhat.com>
1418
1419         * Makefile.am:
1420         * abicheck.sh: Added.
1421         * makegioalias.pl: Added.
1422         * pltcheck.sh: Added.
1423         * gio.symbols: Added.
1424         * *.c:
1425         * inotify/*.c
1426         Initial work on adding symbol handling.
1427
1428         * gvfs.h:
1429         Correct ifdef guard name
1430
1431         * fam/Makefile.am:
1432         * inotify/Makefile.am:
1433         * xdgmime/Makefile.am:
1434         Include toplevel Makefile.decl
1435
1436 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
1437
1438         * gcontenttype.c: Move doc comments to the unix section.
1439
1440         * *.[hc]: More trivial doc corrections.
1441
1442 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
1443
1444         * gpollfilemonitor.c:
1445         * gunixmounts.c:
1446         * gvfs.c:
1447         * gfile.c:
1448         * gdesktopappinfo.c:
1449         * gwin32appinfo.c:
1450         * gvolume.c:
1451         * glocalvfs.c:
1452         * gvolumemonitor.c:
1453         * gdatainputstream.c:
1454         * gdatainputstream.h:
1455         * gdataoutputstream.c:
1456         * gdataoutputstream.h:
1457         * gfileinfo.h: Doc cleanups
1458
1459 2007-11-28  Andre Klapper  <a9016009@gmx.de>
1460
1461         * gdesktopappinfo.c: Fix a typo.
1462
1463 2007-11-27  Andre Klapper  <a9016009@gmx.de>
1464
1465         * glocalfileoutputstream.c: Fix a typo.
1466
1467 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1468
1469         * gio.h:
1470         Don't include removed headers
1471
1472 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1473
1474         * Makefile.am:
1475         * gsocketinputstream.[ch]: Removed.
1476         * gsocketoutputstream.[ch]: Removed.
1477         * gunixinputstream.[ch]: Added.
1478         * gunixoutputstream.[ch]: Added.
1479         Renamed GSocket*Stream to GUnix*Stream and made
1480         it unix-only, since its not really only for sockets
1481         and it only works on unix (but is highly useful there).
1482
1483 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
1484         * gappinfo.c:
1485         * gappinfo.h:
1486         * gasynchelper.c:
1487         * gasyncresult.c:
1488         * gasyncresult.h:
1489         * gbufferedinputstream.c:
1490         * gbufferedinputstream.h:
1491         * gbufferedoutputstream.c:
1492         * gbufferedoutputstream.h:
1493         * gcancellable.c: 
1494         * gcancellable.h:
1495         * gcontenttype.c:
1496         * gdatainputstream.c:
1497         * gdatainputstream.h:
1498         * gdataoutputstream.c:
1499         * gdataoutputstream.h:
1500         * gdirectorymonitor.c:
1501         * gdirectorymonitor.h:
1502         * gdrive.c: 
1503         * gdrive.h:
1504         * gfile.c:
1505         * gfile.h:
1506         * gfileattribute.c:
1507         * gfileattribute.h:
1508         * gfileenumerator.c:
1509         * gfileenumerator.h:
1510         * gfileicon.c:
1511         * gfileicon.h:
1512         * gfileinfo.c:
1513         * gfileinfo.h:
1514         * gfileinputstream.c:
1515         * gfileinputstream.h:
1516         * gfilemonitor.c:
1517         * gfilemonitor.h:
1518         * gfilenamecompleter.c:
1519         * gfilenamecompleter.h:
1520         * gfileoutputstream.c:
1521         * gfileoutputstream.h:
1522         * gfilterinputstream.c:
1523         * gfilterinputstream.h:
1524         * gfilteroutputstream.c:
1525         * gfilteroutputstream.h:
1526         * gicon.c:
1527         * gicon.h:
1528         * ginputstream.c:
1529         * ginputstream.h:
1530         * gioerror.c:
1531         * gioerror.h:
1532         * giomodule.c:
1533         * giomodule.h:
1534         * gioscheduler.c:
1535         * gioscheduler.h:
1536         * gloadableicon.c:
1537         * gloadableicon.h:
1538         * glocalfileoutputstream.c:
1539         * gmemoryinputstream.c:
1540         * gmemoryinputstream.h:
1541         * gmemoryoutputstream.c:
1542         * gmemoryoutputstream.h:
1543         * gmountoperation.c: 
1544         * gmountoperation.h:
1545         * goutputstream.c:
1546         * goutputstream.h:
1547         * gpollfilemonitor.c:
1548         * gseekable.c:
1549         * gseekable.h:
1550         * gsimpleasyncresult.c:
1551         * gsimpleasyncresult.h:
1552         * gsocketinputstream.c:
1553         * gsocketinputstream.h:
1554         * gsocketoutputstream.c:
1555         * gsocketoutputstream.h:
1556         * gthemedicon.c:
1557         * gthemedicon.h:
1558         * gunixdrive.c:
1559         * gunixmounts.c: 
1560         * gunixmounts.h:
1561         * gunixvolume.c:
1562         * gunixvolumemonitor.c:
1563         * gurifuncs.c:
1564         * gurifuncs.h:
1565         * gvfs.c:
1566         * gvfs.h:
1567         * gvolume.c:
1568         * gvolume.h:
1569         * gvolumemonitor.c: 
1570         * gvolumemonitor.h:
1571         Bumps documentation to 93% symbol coverage, touching most 
1572         of the public files. Fixes broken function documentation prototypes. 
1573         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
1574         gtk-doc headers in private files.
1575
1576 2007-11-27  JĂ¼rg Billeter  <j@bitron.ch>
1577
1578         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1579         (g_buffered_input_stream_read_byte):
1580         * gbufferedinputstream.h:
1581         New functions for efficient access to buffer and simple single byte
1582         reads.
1583
1584         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1585         (g_data_input_stream_read_until):
1586         * gdatainputstream.h:
1587         Use peek_buffer to avoid memcpy in scan_for_newline, implement
1588         read_until with multiple stop chars.
1589
1590 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1591
1592         * Makefile.am:
1593         * fam/Makefile.am:
1594         * inotify/Makefile.am:
1595         Use the user-specified giomoduledir
1596
1597 2007-11-27  Alexander Larsson  <alexl@redhat.com>
1598
1599         * Makefile.am
1600         * gio.h:
1601         Add catch-all gio.h header
1602         Don't install gdummyfile.h
1603
1604 2007-11-26  Alexander Larsson  <alexl@redhat.com>
1605
1606         * Makefile.am (gioinclude_HEADERS):
1607         Remove trailing whitespace
1608         
1609 2007-11-26  Alexander Larsson  <alexl@redhat.com>
1610
1611         Merge gio-standalone into glib
1612
1613 2007-11-25  Christian Kellner  <gicmo@gnome.org>
1614
1615         * gio/goutputstream.c:
1616         Fix small mistake in the docs.
1617
1618 2007-11-21  Christian Persch  <chpe@gnome.org>
1619
1620         * gio/glocalfile.c: (g_local_file_trash):
1621         Convert filenames to UTF-8 for GError.
1622         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1623         as per xdg base dir spec.
1624
1625 2007-11-21  Christian Persch  <chpe@gnome.org>
1626
1627         * gio/gdesktopappinfo.c:
1628         Use that g_key_file_to_data cannot fail.
1629         Some misc cleanups.
1630         Use stock defines for the key file group and key names.
1631         Use bitfields.
1632
1633 2007-11-21  Alexander Larsson  <alexl@redhat.com>
1634
1635         * gio/gfile.c:
1636         (copy_stream_with_progress):
1637         Make sure we do a final progress callback with
1638         the full total size.
1639
1640 2007-11-21  Alexander Larsson  <alexl@redhat.com>
1641
1642         * gio/gfile.[ch]:
1643         Export g_file_copy_attributes
1644         Remove padding as its not needed for interfaces
1645
1646 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1647
1648         * gio/gfile.c:
1649         * gio/gioerror.h:
1650         * gio/glocalfile.c:
1651         Add G_IO_ERROR_WOULD_MERGE for
1652         copy/move dir on dir with overwrite.
1653
1654 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1655
1656         * gio/gfileinfo.h:
1657         * gio/glocalfileinfo.c:
1658         Add COPY_NAME (this is an optional
1659         non-modified utf8 version of the name) that
1660         can roundtrip.
1661
1662 2007-11-20  Alexander Larsson  <alexl@redhat.com>
1663
1664         * gio/glocalfileenumerator.c:
1665         Report errors as GIOError, not GFileError
1666
1667 2007-11-16  Alexander Larsson  <alexl@redhat.com>
1668
1669         * gio/glocalfileoutputstream.c:
1670         * gio/gwin32appinfo.c:
1671         Fix typos in strings.
1672         Patch from Luca Ferretti <elle.uca@libero.it>
1673
1674 2007-11-15  Alexander Larsson  <alexl@redhat.com>
1675
1676         * configure.ac:
1677         Post release version bump
1678
1679 === gio-standalone 0.1.2 ===
1680
1681 2007-11-15  Alexander Larsson  <alexl@redhat.com>
1682
1683         * docs/reference/gio/Makefile.am:
1684         Fix up distcheck by removing weird
1685         non-needed stuff
1686
1687         * NEWS:
1688         Update for release
1689
1690 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1691
1692         * gio/gdesktopappinfo.c:
1693         * gio/glocaldirectorymonitor.c:
1694         * gio/glocalfile.c:
1695         * gio/glocalfileinfo.c:
1696         * gio/inotify/inotify-sub.c:
1697         * programs/gio-cat.c:
1698         * programs/gio-copy.c:
1699         * programs/gio-info.c:
1700         * programs/gio-ls.c:
1701         * programs/gio-monitor-dir.c:
1702         * programs/gio-monitor-file.c:
1703         * programs/gio-mount.c:
1704         * programs/gio-move.c:
1705         * programs/gio-rm.c:
1706         * programs/gio-save.c:
1707         * programs/gio-trash.c:
1708         Leak fixes from Kjartan Maraas
1709
1710 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1711
1712         * gio/fam/fam-helper.c:
1713         * gio/gdrive.[ch]:
1714         * gio/glocalfileinfo.c:
1715         * gio/gunixdrive.c:
1716         * gio/gvfs.c:
1717         * gio/gvolume.[ch]:
1718         * gio/inotify/inotify-diag.c:
1719         * gio/inotify/inotify-kernel.c:
1720         Various code cleanups from Kjartan Maraas
1721
1722 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1723
1724         * gio/gioscheduler.c:
1725         (init_scheduler):
1726         Set up threadpool so that we cache 2 unused
1727         idle threads for at 15 secs. This means we
1728         will reuse thread-local data (like dbus connections)
1729         for them.
1730
1731 2007-11-14  Alexander Larsson  <alexl@redhat.com>
1732
1733         * gio/fam/fam-helper.c:
1734         * gio/fam/gfamdirectorymonitor.c:
1735         * gio/fam/gfamfilemonitor.c:
1736         * gio/gappinfo.c:
1737         * gio/gcontenttype.c:
1738         * gio/gdatainputstream.c:
1739         * gio/gdataoutputstream.c:
1740         * gio/gdummyfile.c:
1741         * gio/gfile.c:
1742         * gio/gfile.h:
1743         * gio/gfileattribute.h:
1744         * gio/gfileenumerator.c:
1745         * gio/gfileinfo.c:
1746         * gio/ginputstream.c:
1747         * gio/gioerror.h:
1748         * gio/glocalfile.c:
1749         * gio/glocalfileinfo.c:
1750         * gio/goutputstream.c:
1751         * gio/gpollfilemonitor.c:
1752         * gio/gsimpleasyncresult.c:
1753         * gio/gunixmounts.c:
1754         * gio/gunixmounts.h:
1755         * gio/inotify/ginotifydirectorymonitor.c:
1756         * gio/inotify/ginotifyfilemonitor.c:
1757         * gio/inotify/inotify-diag.c:
1758         * gio/inotify/inotify-kernel.c:
1759         * gio/inotify/inotify-path.c:
1760         * gio/test-gio.c:
1761         * gio/test-streams.c:
1762         * programs/gio-info.c:
1763         * programs/gio-monitor-dir.c:
1764         * programs/gio-monitor-file.c:
1765         Various code cleanups from Kjartan Maraas
1766
1767 2007-11-13  Alexander Larsson  <alexl@redhat.com>
1768
1769         * gio/gdummyfile.c:
1770         Handle the uri-scheme calls for dummy files
1771
1772 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
1773
1774         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1775         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1776         to avoid clash with the C++ keyword.
1777
1778 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
1779
1780         * gio/glocalfileinfo.c: Build fix, added missing semicolon
1781         to an ifdef'ed call to getpwuid() in lookup_uid_data().
1782
1783 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
1784
1785         * gio/glocaldirectorymonitor.c:
1786         * gio/glocalfilemonitor.c:
1787         * gio/gunionvolumemonitor.c:
1788         Don't use g_once_init_*() for initializations that could fail and
1789         could leave the initialization variable set to 0 but use GOnce.
1790         This prevents a deadlock on the second call when trying to create
1791         a monitor and no monitor type is available. Thanks to Sven Herzberg
1792         for reporting.
1793
1794 2007-11-11  Sven Herzberg  <sven@imendio.com>
1795
1796         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1797         #ifdef (make it work on MacOS X again)
1798
1799 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
1800         * Changelog:
1801         Fixes Changelog for last two commits (sorry guys).
1802
1803 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
1804         * gio/gappinfo.c:
1805         * gio/gbufferedinputstream.c:
1806         * gio/gdatainputstream.c:
1807         * gio/gfile.c:
1808         * gio/gfileoutputstream.c:
1809         * gio/gfilterinputstream.c:
1810         * gio/glocalfileinputstream.c:
1811         * gio/gurifuncs.c:
1812         * gio/gvfs.c:
1813         More consistency fixes in g*stream.c files. 
1814         Significant clean of gfile's documentation, filling in of 
1815         asynchronous operations documentation.
1816
1817 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
1818         * gio/gappinfo.c:
1819         * gio/gasyncresult.c:
1820         * gio/gbufferedinputstream.c:
1821         * gio/gbufferedoutputstream.c:
1822         * gio/gcancellable.c:
1823         * gio/gcontenttype.c:
1824         * gio/gdatainputstream.c:
1825         * gio/gdataoutputstream.c:
1826         * gio/gdesktopappinfo.c:
1827         * gio/gdrive.c:
1828         * gio/gfile.c:
1829         * gio/gfileattribute.c:
1830         * gio/gio/gfileenumerator.c:
1831         * gio/gfileinfo.c:
1832         * gio/gfileinputstream.c:
1833         * gio/gfilemonitor.c:
1834         * gio/gfileoutputstream.c:
1835         * gio/ginputstream.c:
1836         * gio/giomodule.c:
1837         * gio/gioscheduler.c:
1838         * gio/gloadableicon.c:
1839         * gio/glocalfileoutputstream.c:
1840         * gio/gmemoryoutputstream.c:
1841         * gio/gmountoperation.c:
1842         * gio/goutputstream.c:
1843         * gio/gseekable.c:
1844         * gio/gsimpleasyncresult.c:
1845         * gio/gunionvolumemonitor.c:
1846         * gio/gunixmounts.c:
1847         * gio/gunixvolume.c:
1848         * gio/gurifuncs.c:
1849         * gio/gvfs.c:
1850         * gio/gvolume.c:
1851         * gio/gvolumemonitor.c:
1852         Updated documentation stubs, working towards consistency and 
1853         completeness.
1854
1855 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
1856
1857         * gio/gmemoryoutputstream.c:
1858         * gio/gmemoryoutputstream.h:
1859         Change g_memory_output_stream_set_free_on_close() to
1860         g_memory_output_stream_set_free_data() as this makes more sense and
1861         is more consistent with GMemoryInputStream.
1862
1863 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1864
1865         * gio/gfile.c:
1866         Fix some docs
1867         
1868         * gio/glocalvfs.c:
1869         * gio/gvfs.[ch]:
1870         Change how we find the default vfs so that
1871         we can handle a gvfs failing to init
1872
1873 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
1874
1875         * gio/gbufferedoutputstream.c:
1876         * gio/gdatainputstream.c:
1877         * gio/gdataoutputstream.c:
1878         * gio/gfileinputstream.c:
1879         * gio/gfileoutputstream.c:
1880         * gio/gfilterinputstream.c:
1881         * gio/gfilteroutputstream.c:
1882         * gio/ginputstream.c:
1883         * gio/gmemoryinputstream.c:
1884         * gio/gmemoryoutputstream.c:
1885         * gio/goutputstream.c:
1886         * gio/gsimpleasyncresult.c:
1887         * gio/gsocketinputstream.c:
1888         * gio/gsocketoutputstream.c:
1889         Add guards to the remaining public functions, add a TODO for
1890         an unimplemented function and remove some useless guards.
1891
1892 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1893
1894         * configure.ac:
1895         Autoconf checks for the various types of
1896         getpwuid_r and getgrgid_r
1897         
1898         * gio/glocalfileinfo.c:
1899         Use the autoconf checks from above
1900
1901 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1902
1903         * gio/glocalfile.c:
1904         (g_local_file_query_filesystem_info):
1905         Some fixes for the statvfs case
1906         
1907 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1908
1909         * gio/glocalfile.c:
1910         (g_local_file_query_filesystem_info):
1911         Pick the "best" of statfs / statvfs for the system
1912         if both are availible.
1913
1914 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1915
1916         Solaris fixes from Halton.Huo@Sun.COM:
1917         
1918         * gio/gdrive.c:
1919         * gio/gfile.c:
1920         * gio/gvolume.c:
1921         Don't return void
1922         
1923         * gio/glocalfileinfo.c:
1924         Fix for solaris definition of getpwuid_r
1925         
1926         * gio/test-streams.c:
1927         Use G_GNUC_PRETTY_FUNCTION
1928
1929 2007-11-07  Alexander Larsson  <alexl@redhat.com>
1930
1931         * gio/gdesktopappinfo.c:
1932         (update_default_list):
1933         Remove double semicolon.
1934         Patch from Jens Granseuer
1935
1936 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
1937
1938         * docs/reference/gio/gio-sections.txt:
1939         * gio/gbufferedinputstream.c:
1940         * gio/gbufferedinputstream.h:
1941         * gio/gdatainputstream.c:
1942         * gio/gfileenumerator.c:
1943         * gio/gioscheduler.c:
1944         * gio/gunionvolumemonitor.c:
1945         * gio/gvfs.c:
1946         * programs/gio-save.c:
1947         Fix typo: availible -> available. Unfortuntely this breaks API
1948         and ABI as g_buffered_input_stream_get_available() was renamed.
1949         
1950         * gio/gunixmounts.c:
1951         * gio/gbufferedinputstream.c:
1952         Add guards for public functions.
1953
1954 2007-11-06  Ross Burton  <ross@openedhand.com>
1955
1956         * docs/reference/gio/Makefile.am:
1957         Fix invalid += usage which automake 1.10 doesn't like.
1958
1959 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1960
1961         * gio/gappinfo.c:
1962         (g_app_launch_context_class_init):
1963         Fix warning
1964
1965         Patch from Ross Burton 
1966         
1967 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1968
1969         * configure.ac:
1970         Post release version bump
1971
1972 === gio-standalone 0.1.1 ===
1973
1974 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1975
1976         * configure.ac:
1977         Bump version to 0.1.1
1978         
1979         * gio/gsimpleasyncresult.c:
1980         (g_simple_async_result_set_from_error):
1981         Remove bogus g_return_if_fail
1982
1983 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1984
1985         * configure.ac:
1986         The name is gio-standalone
1987         
1988         * gio/Makefile.am:
1989         Add top src/builddir to includedir
1990
1991 2007-11-06  Alexander Larsson  <alexl@redhat.com>
1992
1993         * docs/reference/gio/gio-sections.txt:
1994         * gio/gappinfo.c:
1995         * gio/gbufferedinputstream.c:
1996         * gio/gbufferedoutputstream.c:
1997         * gio/gcancellable.c:
1998         * gio/gdatainputstream.h:
1999         * gio/gdataoutputstream.c:
2000         * gio/gdataoutputstream.h:
2001         * gio/gdirectorymonitor.c:
2002         * gio/gfile.c:
2003         * gio/gfileattribute.c:
2004         * gio/gfileattribute.h:
2005         * gio/gfileenumerator.c:
2006         * gio/gfileenumerator.h:
2007         * gio/gfileinfo.c:
2008         * gio/gfileinfo.h:
2009         * gio/gfileinputstream.h:
2010         * gio/gfilemonitor.c:
2011         * gio/gfileoutputstream.h:
2012         * gio/glocalfilemonitor.h:
2013         * gio/glocalfileoutputstream.h:
2014         * gio/gmemoryinputstream.c:
2015         * gio/gmemoryoutputstream.c:
2016         * gio/gmountoperation.c:
2017         * gio/goutputstream.c:
2018         * gio/goutputstream.h:
2019         * gio/gseekable.h:
2020         * gio/gsimpleasyncresult.c:
2021         * gio/gunixmounts.c:
2022         * gio/gunixmounts.h:
2023         * gio/gurifuncs.h:
2024         * gio/inotify/inotify-helper.c:
2025         Fix gtk-doc warnings
2026
2027         Patch from Ross Burton 
2028         
2029 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2030
2031         * gio/gfilenamecompleter.c:
2032         (g_filename_completer_get_completions):
2033         fix warning
2034         
2035         * gio/gunixvolume.c:
2036         Remove unused function
2037
2038         Patches from Ross Burton 
2039
2040 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2041
2042         * gio/gdrive.h:
2043         * gio/gseekable.h:
2044         * gio/gvolume.h:
2045         Padding not needed for interfaces
2046
2047 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2048
2049         * gio/gfilemonitor.c:
2050         Remove debug spew
2051
2052         * gio/Makefile.am:
2053         Make giotypes.h an internal file
2054         
2055         * gio/gappinfo.h:
2056         * gio/gbufferedinputstream.h:
2057         * gio/gbufferedoutputstream.h:
2058         * gio/gcancellable.h:
2059         * gio/gdatainputstream.h:
2060         * gio/gdataoutputstream.h:
2061         * gio/gdirectorymonitor.c:
2062         * gio/gdirectorymonitor.h:
2063         * gio/gdrive.c:
2064         * gio/gdrive.h:
2065         * gio/gfile.c:
2066         * gio/gfile.h:
2067         * gio/gfileattribute.h:
2068         * gio/gfileenumerator.h:
2069         * gio/gfileicon.c:
2070         * gio/gfileicon.h:
2071         * gio/gfileinfo.c:
2072         * gio/gfileinfo.h:
2073         * gio/gfilemonitor.c:
2074         * gio/gfilemonitor.h:
2075         * gio/gfilenamecompleter.c:
2076         * gio/gfilenamecompleter.h:
2077         * gio/gfilterinputstream.h:
2078         * gio/gfilteroutputstream.h:
2079         * gio/ginputstream.h:
2080         * gio/gmemoryinputstream.h:
2081         * gio/gmemoryoutputstream.h:
2082         * gio/gmountoperation.c:
2083         * gio/gmountoperation.h:
2084         * gio/gnativevolumemonitor.c:
2085         * gio/goutputstream.h:
2086         * gio/gseekable.c:
2087         * gio/gseekable.h:
2088         * gio/gsimpleasyncresult.c:
2089         * gio/gsimpleasyncresult.h:
2090         * gio/gsocketinputstream.h:
2091         * gio/gsocketoutputstream.h:
2092         * gio/gthemedicon.c:
2093         * gio/gthemedicon.h:
2094         * gio/gvfs.h:
2095         * gio/gvolume.c:
2096         * gio/gvolume.h:
2097         * gio/gvolumemonitor.c:
2098         * gio/gvolumemonitor.h:
2099         Add padding in classes where it seems useful
2100         Don't include giotypes.h from public headers
2101         Move in Class definitions into c file where possible
2102         
2103         * gio/glocalfile.c:
2104         Fix warnings
2105
2106 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2107
2108         * docs/reference/gio/gio-docs.xml:
2109         Better structure for API docs
2110
2111 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2112
2113         * gio/gfileicon.c:
2114         * gio/gloadableicon.c:
2115         * gio/gsimpleasyncresult.c:
2116         * gio/gthemedicon.c:
2117         Add some more guards to public functions. Only files missing are now
2118         g*stream*.c.
2119
2120 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2121
2122         * docs/reference/gio/gio-docs.xml:
2123         Remove old files, add missing ones
2124
2125 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2126
2127         * docs/reference/gio/gio-sections.txt:
2128         Restructure
2129         Add missing stuff
2130         Hide implementation classes
2131         
2132         * gio/gdriveprivate.h:
2133         * gio/gvolumeprivate.h:
2134         Remove non-existing function declarations
2135
2136 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
2137
2138         * gio/gappinfo.c:
2139         Fix compilation warnings and add guards to the new functions.
2140         
2141         * gio/gasyncresult.c:
2142         * gio/gdummyfile.c:
2143         Add guards to the public functions.
2144         
2145         * gio/gdummyfile.c:
2146         Implement get_path().
2147
2148 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2149
2150         * gio/gfilenamecompleter.c:
2151         Make g_filename_completer_get_completions
2152         return char ** instead of GList for
2153         typesafety.
2154         
2155         * docs/reference/gio/gio-docs.xml:
2156         * docs/reference/gio/gio-sections.txt:
2157         * gio/gappinfo.c:
2158         * gio/gasyncresult.c:
2159         * gio/gbufferedinputstream.c:
2160         * gio/gbufferedoutputstream.c:
2161         * gio/gcancellable.c:
2162         * gio/gcontenttype.c:
2163         * gio/gdatainputstream.c:
2164         * gio/gdataoutputstream.c:
2165         * gio/gdesktopappinfo.c:
2166         * gio/gdirectorymonitor.c:
2167         * gio/gdrive.c:
2168         * gio/gdummyfile.c:
2169         * gio/gfile.c:
2170         * gio/gfileattribute.c:
2171         * gio/gfileenumerator.c:
2172         * gio/gfileicon.c:
2173         * gio/gfileinfo.c:
2174         * gio/gfileinputstream.c:
2175         * gio/gfilemonitor.c:
2176         * gio/gfilenamecompleter.c:
2177         * gio/gfilenamecompleter.h:
2178         * gio/gfileoutputstream.c:
2179         * gio/gfilterinputstream.c:
2180         * gio/gicon.c:
2181         * gio/ginputstream.c:
2182         * gio/giomodule.c:
2183         * gio/gioscheduler.c:
2184         * gio/gloadableicon.c:
2185         * gio/glocaldirectorymonitor.c:
2186         * gio/glocalfile.c:
2187         * gio/glocalfileinputstream.c:
2188         * gio/glocalfilemonitor.c:
2189         * gio/glocalfileoutputstream.c:
2190         * gio/glocalvfs.c:
2191         * gio/gmemoryinputstream.c:
2192         * gio/gmemoryoutputstream.c:
2193         * gio/gmountoperation.c:
2194         * gio/goutputstream.c:
2195         * gio/gpollfilemonitor.c:
2196         * gio/gseekable.c:
2197         * gio/gsimpleasyncresult.c:
2198         * gio/gsocketinputstream.c:
2199         * gio/gsocketoutputstream.c:
2200         * gio/gthemedicon.c:
2201         * gio/gunionvolumemonitor.c:
2202         * gio/gunixdrive.c:
2203         * gio/gunixmounts.c:
2204         * gio/gunixvolume.c:
2205         * gio/gunixvolumemonitor.c:
2206         * gio/gurifuncs.c:
2207         * gio/gvfs.c:
2208         * gio/gvolume.c:
2209         * gio/gvolumemonitor.c:
2210         * gio/gwin32appinfo.c:
2211         Add (mostly stub) doc strings to public functions.
2212         Patch from Andrew Walton (awalton@gmail.com)
2213
2214 2007-11-06  Alexander Larsson  <alexl@redhat.com>
2215
2216         * gio/gappinfo.[ch]:
2217         Added GAppLaunchContext object and pass that to launch.
2218         This allows simple implementation of both
2219         launch-on-screen and startup notification via a gtk+
2220         subclass of GAppLaunchContext
2221         
2222         * gio/gdesktopappinfo.c:
2223         Implement GAppLaunchContext API
2224         
2225         * gio/gwin32appinfo.c:
2226         Update to new APIs
2227
2228 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2229
2230         * gio/gmountoperation.c:
2231         Add some guards to GMountOperation's public functions.
2232
2233 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2234
2235
2236         * gio/gappinfo.c:
2237         * gio/gcancellable.c:
2238         * gio/gdirectorymonitor.c:
2239         * gio/gdrive.c:
2240         * gio/gfileenumerator.c:
2241         * gio/gfilemonitor.c:,
2242         * gio/gfilenamecompleter.c:
2243         * gio/gicon.c:
2244         * gio/giomodule.c:
2245         * gio/gioscheduler.c:
2246         * gio/gseekable.c:
2247         * gio/gurifuncs.c:
2248         * gio/gvolume.c:
2249         * gio/gvolumemonitor.c:
2250         Add even more guards to various public functions.
2251
2252 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2253
2254         * gio/gappinfo.c:
2255         Add guards to the public functions of GAppInfo.
2256
2257 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2258
2259         * gio/gcontenttype.c:
2260         Add some more guards for public functions.
2261
2262 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2263
2264         * gio/fam/fam-module.c:
2265         * gio/fam/gfamdirectorymonitor.c:
2266         * gio/fam/gfamdirectorymonitor.h:
2267         * gio/fam/gfamfilemonitor.c:
2268         * gio/fam/gfamfilemonitor.h:
2269         * gio/inotify/ginotifydirectorymonitor.c:
2270         * gio/inotify/ginotifydirectorymonitor.h:
2271         * gio/inotify/ginotifyfilemonitor.c:
2272         * gio/inotify/ginotifyfilemonitor.h:
2273         Add proper copyright information and remove an unused variable
2274         in the GInotifyFileMonitor constructor.
2275
2276         * gio/gcancellable.c:
2277         Add a guard for a public function and an assertion to prevent
2278         an undefined program state.
2279
2280 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
2281
2282         * gio/gfileattribute.c:
2283         Don't run into an assertion if the given attribute value is NULL
2284         in g_file_attribute_value_get_*() but instead return a fallback
2285         value that makes sense in most situations. Passing them a attribute
2286         value with the wrong type will still run into an assertion.
2287
2288 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2289
2290         * gio/gfileattribute.c:
2291         * gio/gfileinfo.c:
2292         Add even more guards to the public functions. Also fix the refcounting
2293         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2294         let g_file_info_list_attributes() filter the attributes by namespace
2295         instead of simply ignoring the namespace parameter.
2296
2297 2007-11-03  Sven Herzberg  <sven@imendio.com>
2298
2299         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2300         (This makes gio work on MacOS X again)
2301
2302 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2303
2304         * Makefile.am:
2305         Build the gio subdirectory before the docs. Otherwise the build will
2306         fail.
2307
2308         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2309         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2310         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2311         Add guards to the public functions.
2312
2313 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
2314
2315         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2316         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2317         to prevent a compiler warning.
2318
2319         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2320         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2321         return something in the non-void function find_topdir_for().
2322
2323 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
2324
2325         * configure.ac:
2326         * Makefile.am:
2327         * docs/:
2328         Gtkdocify!
2329
2330 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
2331
2332         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2333         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2334         * gwin32appinfo.c (g_win32_app_info_launch):
2335         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2336         envp_for_startup_id, g_desktop_app_info_launch,
2337         g_desktop_app_info_launch_uris):
2338
2339         Give an opaque 'startup_id' string instead of 'envp'.
2340         Support empty file lists for launching new windows.
2341         Fix infinite recursion bug when launching URIs.
2342
2343 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2344
2345         * gio/gfile.c:
2346         Add guard to the new g_file_get_uri_scheme() function.
2347
2348 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2349
2350         * gio/gfile.c:
2351         Convert a g_return_val_if_fail() to setting the GError instead as
2352         otherwise applications have to verify the parameter before otherwise
2353         and the parameter might come directly from the user.
2354
2355 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2356
2357         * gio/inotify/ginotify*.[ch]:
2358         Add missing copyright information.
2359
2360 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
2361
2362         * gio/gfile.c:
2363         Add guards in the beginning of public functions to check for valid
2364         parameters and fix a bug in copy_stream_with_progress() that could've
2365         caused writing less bytes than reading.
2366         * gio/glocalfileinfo.c:
2367         Check for a NULL parameter and set the GError accordingly then.
2368         * gio/goutputstream.c:
2369         Fix the same bug as in gfile.c that could've caused writing less bytes
2370         than reading in g_output_stream_real_splice().
2371
2372 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
2373
2374         * gio/Makefile.am:
2375         Use the correct gvolumeprivate.h naming
2376
2377 2007-11-01  Christian Kellner  <gicmo@gnome.org>
2378
2379         * gio/Makefile.am:
2380         Remove leftover "$(daemon_sources)" entry.
2381
2382 2007-11-01  Christian Kellner  <gicmo@gnome.org>
2383
2384         * gio/fam/*.[ch]:
2385         * gio/*.[ch]:
2386         * programs/*.[ch]:
2387         Add copyright information to source files.
2388
2389 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2390
2391         * gio/gfile.[ch]:
2392         * gio/glocalfile.c:
2393         Add g_file_get_uri_scheme
2394
2395 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2396
2397         * gio/gappinfo.h:
2398         * gio/gdesktopappinfo.c:
2399         * gio/gwin32appinfo.c:
2400         Add g_app_info_get_default_for_uri_scheme.
2401
2402 2007-11-01  Alexander Larsson  <alexl@redhat.com>
2403
2404         * gio/Makefile.am:
2405         Correct filename for gdriveprivate.h
2406
2407 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2408
2409         * gio/gfileinfo.h:
2410         Rename id:value to id:file
2411         Add id:fs
2412         
2413         * gio/glocalfileinfo.c:
2414         Implement id:fs
2415
2416 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2417
2418         * gio/gunixvolume.c:
2419         * gio/gvolume.[ch]:
2420         Remove g_volume_get_platform_id, as thats not
2421         needed with the simpler union volume monitor
2422
2423 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2424
2425         * gio/Makefile.am:
2426         * gio/guniondrive.[ch]: Removed.
2427         * gio/gunionvolume.[ch]: Removed.
2428         Remove GUnionDrive/Volume
2429
2430         * gio/gunionvolumemonitor.c:
2431         Simplify union volume monitor, now we
2432         only have one native volume monitor and
2433         we use the actual volumes/drives from the
2434         child monitors instead of wrapping them
2435
2436         * gio/gnativevolumemonitor.[ch]:
2437         Base class for native volume monitors.
2438         Includes priority and get_volume_for_mountpoint
2439         
2440         * gio/gfile.[ch]:
2441         Add g_file_find_enclosing_volume
2442
2443         * gio/gfileinfo.h:
2444         Remove volume name fs attribute
2445         Add readonly fs attribute
2446         
2447         * gio/glocalfile.c:
2448         Implement readonly attribute
2449         remove volume name attribute
2450         Implement find_enclosing volume
2451         
2452         * gio/gunixmounts.c:
2453         Add a volume for "/".
2454         
2455         * gio/gunixvolume.[ch]:
2456         Set better name for /
2457         
2458         * gio/gunixvolumemonitor.[ch]:
2459         Derive from GNativeVolumeMonitor
2460         Implement get_volume_for_mountpoint
2461         
2462         * gio/gvolume.h:
2463         GVolume typedef moved to gfile.h
2464         
2465         * gio/gvolumeprivate.h:
2466         Add g_volume_get_for_mount_path
2467
2468 2007-10-31  Alexander Larsson  <alexl@redhat.com>
2469
2470         * gio/gunixmounts.[ch]:
2471         Add cache info to unix mount listers
2472         Make getmntent use threadsafe
2473         Add is_system_internal attribute for GUnixMount
2474         
2475         * gio/gunixvolume.c:
2476         (g_unix_volume_new):
2477         Use is_system_internal instead of own code
2478         
2479         * gio/glocaldirectorymonitor.c:
2480         * gio/gunixvolumemonitor.c:
2481         Update to new gunixmounts API
2482         
2483         * gio/glocalfile.c:
2484         Fix warning
2485
2486 2007-10-30  Alexander Larsson  <alexl@redhat.com>
2487
2488         * gio/gfileinfo.h:
2489         Add volume name fsinfo attribute
2490         
2491         * gio/glocalfile.c:
2492         Read volume name info
2493         
2494         * gio/gunionvolumemonitor.c:
2495         Fix infinite loops when finalizing a union volume monitor
2496
2497 2007-10-30  Alexander Larsson  <alexl@redhat.com>
2498
2499         * gio/goutputstream.[ch]:
2500         Add splice() with default implementation
2501         
2502         * gio/gsocketoutputstream.c:
2503         (g_socket_output_stream_write):
2504         Return error on cancellation correctly.
2505         
2506 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
2507
2508         * gio/glocalfile.c (g_local_file_trash):
2509         Do not leak a string.
2510
2511 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
2512
2513         * gio/gfile.c (g_file_load_contents):
2514         Unref the stream after closing it.
2515
2516 2007-10-25  Alexander Larsson  <alexl@redhat.com>
2517
2518         * gio/gioscheduler.h:
2519         Fix include
2520
2521 2007-10-25  Alexander Larsson  <alexl@redhat.com>
2522
2523         * gio/gfile.[ch]:
2524         * gio/glocalfile.c:
2525         Add g_file_has_uri_scheme and implement for local files
2526
2527 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
2528
2529         * gio/gdesktopappinfo.c: do not leak a string.
2530
2531 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
2532
2533         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2534         (g_local_directory_monitor_new):
2535         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2536         (g_local_file_monitor_new):
2537         Only look for the monitor type that should be used the first time
2538         and use g_qsort_with_data() instead of our own bubble sort
2539         implementation.
2540
2541 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
2542
2543         * gio/Makefile.am:
2544         * gio/fam/Makefile.am:
2545         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2546         * gio/fam/fam-helper.h:
2547         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2548         * gio/fam/gfamdirectorymonitor.c:
2549         * gio/fam/gfamdirectorymonitor.h:
2550         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2551         * gio/fam/gfamfilemonitor.h:
2552         * gio/glocaldirectorymonitor.c:
2553         * gio/glocaldirectorymonitor.h:
2554         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2555         * gio/glocalfilemonitor.h:
2556         * gio/inotify/Makefile.am:
2557         * gio/inotify/ginotifydirectorymonitor.c:
2558         * gio/inotify/ginotifydirectorymonitor.h:
2559         * gio/inotify/ginotifyfilemonitor.c:
2560         * gio/inotify/ginotifyfilemonitor.h:
2561         Implement the FAM and Inotify monitors as
2562         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2563         their own GIO module. GLocal(Directory|File)Monitor will use the
2564         monitor with the highest rank that is supported on that machine.
2565
2566 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
2567
2568         * gio/Makefile.am:
2569         Change GIO module dir to $(libdir)/gio/modules and change
2570         the log domain from GVFS to GIO. Also only export symbols starting
2571         with g_ in the resulting library.
2572         * gio/test-streams.c: (main):
2573         Set log handler for the GIO log domain.
2574
2575 2007-10-22  Alexander Larsson  <alexl@redhat.com>
2576
2577         * gio/gfilenamecompleter.[ch]:
2578         Add g_filename_completer_set_dirs_only
2579
2580 2007-10-22  Alexander Larsson  <alexl@redhat.com>
2581
2582         * gio/Makefile.am:
2583         * gio/gurifuncs.[ch]:
2584         Add some simple URI helpers
2585         
2586         * gio/gfilenamecompleter.[ch]:
2587         Added object for filename (parse name actually) completion
2588         
2589         * gio/glocalvfs.c:
2590         Handle ~ in parse names
2591
2592 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2593
2594         * gio/gfileinfo.h:
2595         * gio/glocalfileinfo.c:
2596         Add and implement id:value attribute
2597
2598 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2599
2600         * gio/gdrive.[ch]:
2601         * gio/guniondrive.c:
2602         * gio/gunixdrive.c:
2603         Add and implement g_drive_has_volumes
2604         
2605 2007-10-17  Alexander Larsson  <alexl@redhat.com>
2606
2607         * gio/gfileinfo.h:
2608         * gio/glocalfileinfo.[ch]:
2609         Add unix:is_mountpoint and implement for local files
2610
2611 2007-10-16  Alexander Larsson  <alexl@redhat.com>
2612
2613         * gio/gunionvolumemonitor.c:
2614         (g_union_volume_monitor_init):
2615         Fix up the unix type getting so that it works with gcc
2616         
2617 2007-10-12  Alexander Larsson  <alexl@redhat.com>
2618
2619         * gio/gfileinfo.h:
2620         * gio/glocalfileinfo.c:
2621         Add thumbnail:failed to file info
2622
2623 2007-10-12  Richard Hult  <richard@imendio.com>
2624
2625         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2626         optimizing away the get_type call (happens with some gcc versions,
2627         like the one shipped with OS X 10.4).
2628
2629 2007-10-12  Alexander Larsson  <alexl@redhat.com>
2630
2631         * gio/glocalfileinfo.c:
2632         (_g_local_file_info_set_attribute):
2633         Fix build if not HAVE_XATTR
2634         Patch from Milosz Derezynski <internalerror@gmail.com>
2635
2636 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
2637
2638         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2639         around for review, otherwise I would have asked you before
2640         committing)
2641
2642 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2643
2644         * gio/gfileinfo.h:
2645         Add thumbnail:path attribute
2646         
2647         * gio/glocalfileinfo.c:
2648         Implement thumbnail:path for local files
2649
2650 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2651
2652         * gio/glocalfileinfo.c:
2653         (_g_local_file_info_get):
2654         Avoid duplicate icon names
2655
2656 2007-10-11  Alexander Larsson  <alexl@redhat.com>
2657
2658         * gio/gthemedicon.[ch]:
2659         Change g_themed_icon_get_names return type to const
2660
2661 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2662
2663         * gio/glocalfileinfo.c:
2664         Don't reference freed memory
2665
2666 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2667
2668         * gio/gfileattribute.c:
2669         Handle objects
2670         
2671         * gio/glocalfileinfo.c:
2672         Return icon info
2673
2674 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2675
2676         * gio/gfileinfo.c:
2677         Check for NULL icons
2678
2679         * gio/gfileattribute.c:
2680         Don't dup when getting objects (same as for string attributes)
2681
2682         * gio/gicon.c (g_icon_equal):
2683         Safely handle NULLs in equal
2684
2685 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2686
2687         * gio/gfileinfo.h:
2688         Fix c++ compilation issues
2689         Patch from Milosz Derezynski <internalerror@gmail.com>
2690
2691 2007-10-10  Alexander Larsson  <alexl@redhat.com>
2692
2693         * programs/gio-monitor-dir.c:
2694         Don't crash if dir monitor not supported.
2695
2696 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2697
2698         * gio/gioerror.h:
2699         Add missing G_END_DECLS
2700
2701 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
2702
2703         * gio/gfile.c: (g_file_set_display_name),
2704         (g_file_query_settable_attributes),
2705         (g_file_query_writable_namespaces):
2706         Return NULL not FALSE on errors as the return type is a pointer.
2707
2708 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
2709
2710         * gio/glocalfile.c: (g_local_file_monitor_file):
2711         Don't call monitor_file on the default interface vtable (which
2712         is NULL) but simply return NULL. The caller, GFile, will create a
2713         polling monitor if NULL is returned.
2714
2715 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2716
2717         * Makefile.am:
2718         * configure.ac:
2719         * gio-unix-2.0.pc.in:
2720         Add gio-unix-2.0.pc if OS_UNIX
2721         
2722         * gio/Makefile.am:
2723         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2724
2725 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2726
2727         * gio/gunixmounts.[ch]:
2728         Make unix mount monitoring API sane.
2729         Now its just a object with mounts_changed
2730         and mountpoints_changed signals.
2731         
2732         * gio/glocaldirectorymonitor.c:
2733         * gio/gunixvolumemonitor.c:
2734         Use new mount monitor api
2735
2736 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2737
2738         * gio/gunixmounts.[ch]:
2739         Move guess type into one call for mounts and one for mountpoints
2740         
2741         * gio/gunixdrive.c:
2742         * gio/gunixvolume.c:
2743         Update
2744
2745 2007-10-09  Alexander Larsson  <alexl@redhat.com>
2746
2747         * gio/gunixmounts.[ch]:
2748         Remove _ prefix in preparation to make this semi-public
2749         Hide implementation of structs
2750         
2751         * gio/glocaldirectorymonitor.c:
2752         * gio/gunixdrive.c:
2753         * gio/gunixvolume.c:
2754         * gio/gunixvolumemonitor.c:
2755         Update for above API changes
2756
2757 2007-10-08  Alexander Larsson  <alexl@redhat.com>
2758
2759         * gio/gfile.c:
2760         Better polling fallback. This also handles the case where we have
2761         a monitor_file implementation, but it fails.
2762
2763 2007-10-08  Alexander Larsson  <alexl@redhat.com>
2764
2765         * gio/gfile.[ch]:
2766         * gio/glocalfile.c:
2767         * gio/gunixmounts.c:
2768         * programs/gio-monitor-dir.c:
2769         * programs/gio-monitor-file.c:
2770         Added cancellable to file monitoring calls.
2771         These are really sync calls and need this.
2772
2773 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
2774
2775         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2776         (g_local_vfs_class_init):
2777         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2778         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2779
2780 2007-10-05  Alexander Larsson  <alexl@redhat.com>
2781
2782         * gio/gdirectorymonitorprivate.h: 
2783         * gio/gfilemonitorprivate.h: 
2784         * gio/gdirectorymonitor.h:
2785         * gio/gfilemonitor.h:
2786         Remove *private.h and move to the public API, so that
2787         we can do implementations outside gio (such as in gvfs)
2788         
2789         * gio/gdirectorymonitor.c:
2790         * gio/gfilemonitor.c:
2791         * gio/glocaldirectorymonitor.c:
2792         * gio/gpollfilemonitor.c:
2793         * gio/inotify/inotify-helper.c:
2794         * gio/fam/fam-helper.c:
2795         Update to the new header names
2796
2797 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
2798
2799         * gio/gdirectorymonitor.c:
2800         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2801         GTypes as abstract.
2802
2803 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2804
2805         * gio/glocalfileinfo.c (get_access_rights):
2806         Set CAN_TRASH when we can move the file.
2807         We should really also check for a parent trash dir.
2808
2809 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2810
2811         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2812         Add can_trash access attribute
2813
2814 2007-10-04  Alexander Larsson  <alexl@redhat.com>
2815
2816         * gio/glocalfile.c:
2817         (g_local_file_trash):
2818         Create info file first. This is per-spec and allows
2819         us to actually trash directories.
2820
2821 2007-10-02  Alexander Larsson  <alexl@redhat.com>
2822
2823         * gio/gdesktopappinfo.c:
2824         Implement the new mime support code.
2825         Always set app as handling mimetype when being set as default for it
2826
2827 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2828
2829         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2830         Fix up check for xattrs:
2831
2832 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2833
2834         * gio/gappinfo.c:
2835         (g_app_info_set_as_default_for_extension):
2836         (g_app_info_add_supports_type):
2837         (g_app_info_can_remove_supports_type):
2838         (g_app_info_remove_supports_type):
2839         Make these fail nicely if not implemented
2840
2841 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
2842
2843         * gio/glocalfileoutputstream.c:
2844         * gio/glocalfileoutputstream.h:
2845         * gio/test-gio.c:
2846         * gio/gfile.c:
2847         * gio/gfile.h:
2848         * gio/glocalfile.c:
2849         * programs/gio-save.c: 
2850         Add a GFileCreateFlags argument to operations that can create
2851         a new file.
2852
2853 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2854
2855         * gio/gappinfo.[ch]:
2856         * gio/gdesktopappinfo.c:
2857         Add more (stubbed out) mime API needed for nautilus
2858
2859 2007-10-01  Alexander Larsson  <alexl@redhat.com>
2860
2861         * gio/gappinfo.h:
2862         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2863         Add g_app_info_set_as_default_for_extension.
2864         
2865         * gio/gdesktopappinfo.c:
2866         Dummy for g_app_info_set_as_default_for_extension
2867         Support flags in g_app_info_create_from_commandline
2868
2869         * gio/gwin32appinfo.c:
2870         * gio/test-gio.c:
2871         Update for API changes
2872         
2873         * gio/gthemedicon.c:
2874         Properly NULL-terminate list of icon names
2875
2876 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2877
2878         * gio/gloadableicon.h:
2879         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2880
2881 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2882
2883         * gio/Makefile.am:
2884         Install headers in $includedir/gio-standalone/
2885         
2886         * gio-2.0.pc.in: Added.
2887         * gio-standalone.pc.in: Removed.
2888         * configure.ac:
2889         * Makefile.am:
2890         Renamed pkg-config file to match glib (for future move)
2891         Update to the new include dir
2892         
2893         * gio/gappinfo.h:
2894         Add more TODO comments
2895
2896 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2897
2898         * gio/gdesktopappinfo.[ch]:
2899         Expose new_from_filename
2900         Add getter for is_hidden and handle it better
2901
2902 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2903
2904         * gio/gfileinfo.[ch]:
2905         Rename g_file_size_format_for_display to
2906         g_format_file_size_for_display.
2907         Now it doesn't have the g_file prefix, so we
2908         can later move it to glib.
2909
2910 2007-09-28  Alexander Larsson  <alexl@redhat.com>
2911
2912         * gio/gappinfo.[ch]:
2913         Add g_app_info_get_id and g_app_info_get_executable.
2914         Make all getters non-reffing
2915         Make g_app_info_launch take GFile arguments.
2916         Add must_support_uris argument to g_app_info_get_default_for_type.
2917         
2918         * gio/gwin32appinfo.c:
2919         Update to GAppInfo api changes
2920         
2921         * gio/gdesktopappinfo.c:
2922         Update to GAppInfo api changes
2923         Implement supports_xdg_startup_notify
2924         
2925         * gio/gfileicon.c (g_file_icon_get_file):
2926         Make getter non-reffing.
2927         
2928         * gio/test-gio.c:
2929         Update to new API
2930
2931 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2932
2933         * gio/gfileinfo.[ch]: 
2934         Add g_file_size_format_for_display helper
2935         
2936 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2937
2938         * gio/glocalfileinfo.c:
2939         Set UNIX_GID from gid, not from uid
2940
2941 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2942
2943         * gio/gfile.[ch]:
2944         Add g_file_set_attributes_async
2945
2946 2007-09-27  Alexander Larsson  <alexl@redhat.com>
2947
2948         * gio/glocalfile.c (g_local_file_set_display_name):
2949         Fix set_display_name to actually rename to the right place.
2950         Use lstat to look for existing files so we don't overwrite
2951         broken links.
2952
2953 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2954
2955         * gio/gfile.[ch]:
2956         Add g_file_set_display_name_async()
2957
2958 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2959
2960         * gio/gfile.[ch]:
2961         Add load_partial_contents async calls
2962         
2963         * gio/glocalfile.c:
2964         Make internal function static
2965
2966 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2967
2968         * gio/glocalfileinfo.c:
2969         Correctly detect broken symlinks
2970
2971 2007-09-26  Alexander Larsson  <alexl@redhat.com>
2972
2973         * gio/gcancellable.c (g_cancellable_cancel):
2974         Allow cancel on NULL cancellable
2975
2976 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2977
2978         * gio/gsimpleasyncresult.c:
2979         Don't allocate g_error manually.
2980         Fixes g_slice/g_new mixup crash
2981
2982 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2983
2984         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2985         Actually set active_backend.
2986         This means the monitor will be cancelled correctly.
2987
2988 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2989
2990         * gio/gdirectorymonitor.c:
2991         Set timeout to NULL when destroying
2992
2993 2007-09-25  Alexander Larsson  <alexl@redhat.com>
2994
2995         * gio/gioerror.h:
2996         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2997         that is a better description of the error.
2998
2999 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
3000
3001         * gio/gvfs.c: (g_vfs_get_local):
3002         Make the local vfs variable static. The same instance should
3003         always be returned.
3004
3005 2007-09-24  Alexander Larsson  <alexl@redhat.com>
3006
3007         * gio/glocalfileinfo.c:
3008         Pass in actual length read into sniffer, not the length
3009         we tried to read.
3010
3011 2007-09-21  Alexander Larsson  <alexl@redhat.com>
3012
3013         * gio/gfileenumerator.c:
3014         * gio/gfileinfo.c:
3015         * gio/gfileinfo.h:
3016         * gio/gfileinputstream.c:
3017         * gio/gfileoutputstream.c:
3018         * gio/ginputstream.c:
3019         * gio/goutputstream.c:
3020         Don't crash if async callbacks are NULL
3021
3022 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3023
3024         * gio/gfile.[ch]:
3025         Add async enumerate_children method and default
3026         implementation
3027
3028 2007-09-20  Alexander Larsson  <alexl@redhat.com>
3029
3030         * gio/gfile.[ch]
3031         Add g_file_contains_file & g_file_get_relative_path, since they
3032         were needed for nautilus.
3033         Renamed g_file_resolve_relative to g_file_resolve_relative_path
3034         to make it clearer.
3035         
3036         * gio/gdummyfile.c:
3037         * gio/glocalfile.c:
3038         Implement new methods
3039
3040 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3041
3042         * gio/gfile.[ch]:
3043         * gio/gfileinputstream.[ch]:
3044         * gio/gfileoutputstream.[ch]:
3045         * gio/glocalfile.c:
3046         * gio/glocalfileenumerator.[ch]:
3047         * gio/glocalfileinfo.[ch]:
3048         * gio/glocalfileinputstream.c:
3049         * gio/glocalfileoutputstream.c:
3050         * gio/gpollfilemonitor.c:
3051         * programs/gio-copy.c:
3052         * programs/gio-info.c:
3053         * programs/gio-move.c:
3054         Rename get_file_info to query_info() to make it clearer
3055         that these are not simple getters, but do i/o.
3056
3057 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3058
3059         * gio/gdatainputstream.[ch]:
3060         * gio/test-streams.c:
3061         Use _read_XXX instead of _get_XXX for the i/o calls
3062         in GDataInputStream
3063
3064 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3065
3066         * gio/gappinfo.h:
3067         Added needed stuff to TODO comment
3068
3069 2007-09-17  Alexander Larsson  <alexl@redhat.com>
3070
3071         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3072         Don't error out removing the backup copy if it doesn't
3073         already exist.
3074
3075 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3076
3077         * programs/Makefile.am:
3078         * programs/gvfs-*.c: 
3079         * programs/gio-*.c:
3080         Renamed apps from gvfs-xxx to gio-xxx.
3081
3082 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3083
3084         * gio/gfile.c:
3085         * gio/gfileoutputstream.[ch]:
3086         * gio/glocalfileoutputstream.c:
3087         * programs/gvfs-save.c:
3088         g_file_output_stream_get_etag doesn't do i/o, so remove
3089         cancellation and error.
3090
3091 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3092
3093         * gio/gfile.[ch]:
3094         Add new_etag output to replace_contents functions
3095
3096 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3097
3098         * gio/gfileoutputstream.[ch]:
3099         Add async get_file_info and default implementation
3100
3101 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3102
3103         * gio/gfileinputstream.c:
3104         Implement fallback wrapper for async get_file_info
3105
3106 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3107
3108         * gio/gfile.[ch]:
3109         Add etag out argument to load_contents
3110         
3111         * gio/test-gio.c:
3112         Update to new API
3113
3114 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3115
3116         * gio/gcontenttype.c (looks_like_text):
3117         Whitespace like tab, cr and lf do not make the
3118         file binary.
3119
3120 2007-09-14  Alexander Larsson  <alexl@redhat.com>
3121
3122         * gio/gfileinputstream.[ch]:
3123         Add async get_file_info.
3124
3125 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3126
3127         * gio/goutputstream.c (g_output_stream_write_all):
3128         Allow NULL for bytes_written
3129
3130 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3131
3132         * gio/gmemoryinputstream.[ch]:
3133         Add accessors for data
3134
3135 2007-09-13  Alexander Larsson  <alexl@redhat.com>
3136
3137         * gio/gdatainputstream.c (g_data_input_stream_get_until):
3138         Don't crash if length is NULL
3139