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