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