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