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