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