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