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