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