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