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