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