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