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