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