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