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