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