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