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