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