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