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