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