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