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