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