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