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