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