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