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