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