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