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