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