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