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