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