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