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