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