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