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