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