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