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