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