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