2008-02-07 Murray Cumming * glib/glibmm/Makefile.am: * glib/glibmm/main.h: Moved the Priorities enum into * glib/glibmm/priorities.h: Though all the giomm stuff seems to already include main.h anyway. It probably shouldn't, and then we can include priorities.h only. * gio/src/bufferedinputstream.hg: * gio/src/file.hg: * gio/src/fileenumerator.hg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/gio_methods.defs: * gio/src/inputstream.hg: * gio/src/outputstream.hg: Use Glib::PRIORITY_DEFAULT instead of G_PRIORITY_DEFAULT. * glib/src/iochannel.ccg: Add some ifdefs to avoid unused parameter warnings when exceptions are disabled, because our current trick for that is now causing another warning instead. 2008-02-06 Jonathon Jongsma * gio/src/datainputstream.ccg: * gio/src/datainputstream.hg: change the read_line() and read_until() APIs so that they are actually useable. These functions now return a boolean value to indicate that the end of the stream was reached and return the string data via reference argument. See bug #514097 for more information 2008-02-06 Murray Cumming * gio/src/gio_methods.defs: Regenerated with h2defs.py * configure.in: Depend on gio-unix-2.0 when not on win32. * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/unixinputstream.ccg: * gio/src/unixinputstream.hg: * gio/src/unixoutputstream.ccg: Mentioned this as unix-specific files so they are built. * gio/src/bufferedoutputstream.hg: Fixed a parameter type to fix the build, after a change in gio. 2008-02-05 Murray Cumming * gio/src/file.ccg: * gio/src/file.hg: Added an overload of query_default_handler() without the cancellable. 2008-02-05 Murray Cumming * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/vfs.ccg: * gio/src/vfs.hg: Remove these because they are not API - they are declarations of entry points for dynamically-loadable modules. 2008-02-04 Marko Anastasov * gio/src/file.ccg: * gio/src/file.hg: Added copy_async(), with overloads without slot_progress (which is optional and would run in the main loop), with documentation. Wrapped copy_finish(), query_default_handler(). 2008-02-04 José Alburquerque * gio/src/desktopappinfo.ccg: * gio/src/desktopappinfo.hg: Added DesktopAppInfo but not to Makefile_list_of_hg.am_fragment yet (need to use gio-unix-2.0.pc to compile correctly) 2008-02-04 José Alburquerque * gio/src/bufferedoutputstream.ccg: Changed size param of create_sized() to type gsize (in agreement with declaration) to fix compilation 2008-02-04 Murray Cumming * tools/m4/class_interface.m4: Allow _CLASS_INTERFACE() to take two extra optional paremeters to specify the base class, so that appropriate code is generated when we derive from another Interface - which seems appropriate when the GInterface has a prerequisite. * gio/src/loadableicon.ccg: * gio/src/loadableicon.hg: Derive from Icon, because it is a prerequisite of this interface. Use the extra _CLASS_INTERFACE() parameters. * gio/src/fileicon.hg: Do not derive from Icon because that happens through LoadableIcon now. But do use _IMPLEMENTS_INTERFACE(Icon) here, because only a Glib::Object can actually implement an interface. 2008-02-04 Jonathon Jongsma * gio/src/file.hg: remove an obsolete TODO * gio/src/gio_vfuncs.defs: add LoadableIcon vfunc definitions * gio/src/loadableicon.ccg: * gio/src/loadableicon.hg: wrap some methods of LoadableIcon. Some vfuncs need to be wrapped yet 2008-02-04 Jonathon Jongsma * gio/src/bufferedoutputstream.hg: switch back create_sized() size parameter to gsize since glib switched their declaration due to bug #514013. 2008-02-03 José Alburquerque * gio/src/unixinputstream.ccg: * gio/src/unixinputstream.hg: * gio/src/unixmount.ccg: * gio/src/unixmount.hg: * gio/src/unixoutputstream.ccg: * gio/src/unixoutputstream.hg: Added these, but not to Makefile_list_of_hg.am_fragment to avoid compile errors (need gio-unix-2.0.pc to compile correctly) * gio/src/vfs.hg: Moved forward decs to top (was between class doc and declaration) 2008-02-03 José Alburquerque * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/vfs.ccg: * gio/src/vfs.hg: * tools/m4/convert_gio.m4: Added Vfs 2008-02-04 Murray Cumming * tools/extra_defs_gen/generate_defs_gio.cc: Added types. * gio/src/gio_signals.defs: Regenerated. * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/filenamecompleter.hg: * gio/src/themedicon.hg: Added FilenameCompleter and ThemedIcon. 2008-02-03 José Alburquerque * gio/src/bufferedoutputstream.ccg: changed size param of create_sized() to type guint (in agreement with declaration) * gio/src/file.ccg: * gio/src/file.hg: added non-cancellable set_attribute_string(), set_attribute_byte_string(), set_attribute_{uint32, int32, uint64, int64} 2008-02-03 Murray Cumming * tools/extra_defs_gen/generate_defs_gio.cc: Added types. * gio/src/gio_signals.defs: Regenerated. * tools/m4/convert_gio.m4: * gio/src/drive.hg: * gio/src/filterinputstream.hg: * gio/src/filteroutputstream.hg: * gio/src/mount.hg: * gio/src/mountoperation.hg: * gio/src/volume.hg: * gio/src/volumemonitor.hg: Added signals and properties. * gio/src/file.ccg: * gio/src/file.hg: Added query_filesystem_info() without a cancellable. 2008-02-03 Murray Cumming * gio/src/filemonitor.hg: Add class documentation, now that there is some in gio. * gio/src/volumemonitor.hg: Add class documentation. Remove _DO_NOT_DERIVE_GTYPE because gio no longer abuses the type system - see bug #511814. 2008-02-02 Jonathon Jongsma * gio/giomm.h: * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/memoryinputstream.ccg: * gio/src/memoryinputstream.hg: add MemoryInputStream class 2008-02-02 Jonathon Jongsma * gio/src/dataoutputstream.ccg: fix copy/paste error 2008-02-02 Jonathon Jongsma * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/datainputstream.hg: * gio/src/dataoutputstream.hg: add DataOutputStream class * gio/src/dataoutputstream.ccg: * gio/src/enums.ccg: * gio/src/enums.hg: moved the DataStream enums to a common enums header since they're needed by both the input and output data streams. * gio/giomm.h: add new headers 2008-02-02 Jonathon Jongsma * gio/src/bufferedoutputstream.ccg: * gio/src/bufferedoutputstream.hg: add BufferedOutputStream class 2008-02-02 Jonathon Jongsma * gio/giomm.h: * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/filteroutputstream.ccg: * gio/src/filteroutputstream.hg: * tools/m4/convert_gio.m4: add FilterOutputStream class 2008-02-03 Murray Cumming * gio/src/file.ccg: * gio/src/file.hg: find_enclosing_mout(), append_to(): Reordered parameters and added overload without cancellable. Removed superfluous monitor_file() overload. 2008-02-03 Murray Cumming * tools/m4/convert_gio.m4: * gio/src/bufferedinputstream.hg: Move a signal-specific conversion here, because these conversions are unusual and shouldn't be used by mistake elsewhere, and when they are next to the signal then it is more obvious why they take a reference (also fixed). 2008-02-02 Jonathon Jongsma * gio/giomm.h: add new header files to the main include * gio/src/datainputstream.hg: add FIXME note about not being able to tell error conditions from empty strings on read_line() / read_until() 2008-02-02 Jonathon Jongsma * gio/giomm/Makefile.am: add slot_async.h private header to EXTRA_DIST so that it gets distributed. I didn't add it to the sublib_files_extra_general_h variable, since then it would get installed 2008-02-02 Jonathon Jongsma * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/datainputstream.ccg: * gio/src/datainputstream.hg: * tools/m4/convert_gio.m4: add DataInputStream class 2008-02-02 Jonathon Jongsma * gio/src/gio_vfuncs.defs: * gio/src/Makefile_list_of_hg.am_fragment: * gio/src/bufferedinputstream.ccg: * gio/src/bufferedinputstream.hg: add BufferedInputStream class * gio/giomm/slot_async.cc: * gio/giomm/slot_async.h: split out the SlotProxy_async_callback so it doesn't have to be implemented in every file * gio/src/drive.ccg: * gio/src/file.ccg: * gio/src/file.hg: * gio/src/fileenumerator.ccg: * gio/src/fileinputstream.ccg: * gio/src/fileoutputstream.ccg: * gio/src/inputstream.ccg: * gio/src/mount.ccg: * gio/src/outputstream.ccg: * gio/src/volume.ccg: use the common SlotProxy_async_callback function in all of these files * tools/m4/convert_gio.m4: add conversion for Cancellable * gio/giomm/Makefile.am: indenting changes 2008-02-02 Marko Anastasov * gio/src/volumemonitor.hg: Removed VolumeMonitorEvent enum def, which does not exist any more in the C API. * gio/src/volume.hg: Added get_identifier(), enumerate_identifiers(). 2008-02-02 Marko Anastasov * gio/src/volume.hg: Added get_mount(). * gio/src/gio_enums.defs: Regenerated with enums.pl. * gio/src/gio_methods.defs: Regenerated with h2defs.py. 2008-02-02 Kjartan Maraas * tests/giomm_simple/main.cc: Fix compile with GCC 4.3. 2008-02-02 Murray Cumming * build_shared/Makefile_gensrc.am_fragment: Use the local .pm files for gmmproc instead of installed ones. This was a regression that I introduced when I added gio to the build. * tools/pm/DocsParser.pm: append_parameter_docs(): Ignore error parameters because they are almost always wrapped as exceptions. 2008-02-01 Jonathon Jongsma * gio/src/Makefile.am: * gio/src/appinfo.hg: * gio/src/gio_vfuncs.defs: * tools/m4/convert_gio.m4: * tools/m4/convert_glib.m4: Add Gio::AppInfo vfuncs 2008-02-02 Murray Cumming * gio/src/file.ccg: * gio/src/file.hg: Added overloads of create_file(), remove(), trash(), make_directory(), make_symbolic_link(), query_settable_attributes(), and query_writable_namespaces() without cancellable parameters. The set_attribute_*() methods still need this to be done. 2008-02-02 Murray Cumming * gio/src/cancellable.hg: Added the signal. * gio/src/file.ccg: * gio/src/file.hg: Added copy_attributes(), added mount_enclosing_volume() mount_enclosing_volume_finish(), find_enclosing_mount(), and find_enclosing_mount_finish(). Added a mount_mountable() overload with no parameters. set_attributes_from_info(): Reordered parameters so we can have default values. 2008-02-02 Murray Cumming * gio/giomm/contenttype.cc: * gio/giomm/contenttype.h: Use convert_return_gchar_ptr_to_ustring() because it releases the gchar* and checks for NULL. Removed the ontent_type_guess() that takes a basic_string because I doubt anybody would use that. Added one that takes a gchar* and size, and one that takes a std::string (for when the data is a string). 2008-01-31 Jonathon Jongsma * gio/giomm/contenttype.cc: put content_type functions in the Gio namespace which was accidentally omitted. 2008-01-31 Jonathon Jongsma * gio/giomm.h: forgot to add new contenttype.h header * gio/giomm/Makefile.am: forgot to install contenttype.h header 2008-01-31 Jonathon Jongsma * gio/giomm/Makefile.am: * gio/giomm/contenttype.cc: * gio/giomm/contenttype.h: wrap content_type_* functions 2008-01-29 Murray Cumming * gio/src/file.hg: get_child_for_display_name(): Change the display_name parameter to a ustring because the C documentation says it should be UTF-8. * gio/src/fileinfo.hg: Add get_attribute_as_string(), which returns a UTF-8 string. (Note that no other gio documentation mentions UTF-8.) Thanks to Iain Nicol.