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