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