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