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