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