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