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