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