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