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