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