summaryrefslogtreecommitdiff
path: root/gio/src/drive.hg
Commit message (Collapse)AuthorAgeFilesLines
* Remove no_default_handler in some _WRAP_SIGNAL()sKjell Ahlstedt2016-11-301-12/+4
| | | | | Remove the no_default_handler argument in _WRAP_SIGNAL() where it was added only to avoid breaking ABI.
* Gio::Drive: Add is_removable().Murray Cumming2016-09-131-0/+1
|
* C++11: .hg/.ccg files: Replace typedefs with using.Murray Cumming2016-03-311-3/+3
|
* Gio: More nullptr instead of 0Kjell Ahlstedt2015-11-231-3/+1
|
* Documentation: Fix many warnings from Doxygen.Kjell Ahlstedt2013-01-271-1/+0
| | | | | | | | | | | | | | | * gio/src/gio_docs_override.xml: * glib/src/glib_docs_override.xml: Move "Since: n.m" from the <return> to the <description> entries. gmmproc adds a period at the end of the @return Doxygen command, and Doxygen warns for "@newin{n,m}.". * glib/glibmm/interface.h: * glib/glibmm/stringutils.h: * glib/glibmm/vectorutils.h: * gio/src/*.hg: * glib/src/*.hg: (Here "*" means "many", not "all") Examples of changes: Add missing @param. Change names of parameters, to make them equal in function declaration and @param command. Change "@name" to "@a name". Change "<ulink url=" to "<a href=".
* Strip trailing whitespace.Mark Vender2012-10-291-8/+8
| | | | | | | * gio/giomm/*.[h|cc]: * gio/src/*.[hg|ccg]: * glib/glibmm/*.[h|cc]: * glib/src/*.[hg|ccg]: Strip trailing whitespace. Bug #681072.
* Add get_symbolic_icon() methods.Murray Cumming2012-09-071-0/+3
| | | | | | | | | * gio/src/gio_methods.defs: Regenerated. * gio/giomm/contenttype.[h|cc]: Add get_symbolic_icon(). * gio/src/drive.hg: Add get_symbolic_icon(). * gio/src/fileinfo.hg: Add get_symbolic_icon(). * gio/src/mount.hg: Add get_symbolic_icon(). * gio/src/volume.hg: Add get_symbolic_icon().
* Remove unnecessary signal docs.José Alburquerque2012-02-141-2/+0
| | | | | | * gio/src/dbusserver.hg: * gio/src/drive.hg: Remove signal docs from .hg files that is now automatically included by gmmproc.
* giomm: Add some unwrapped methods and properties.José Alburquerque2011-10-261-0/+2
| | | | | | | | | | | * gio/src/drive.hg: Add get_sort_key(). * gio/src/emblemedicon.hg: Add clear_emblems(). * gio/src/fileicon.hg: Add the "file" property. * gio/src/inetaddress.hg: Add address_equal(). * gio/src/mount.hg: Add get_sort_key(). * gio/src/socket.hg: Add the "timeout" property. * gio/src/socketaddress.hg: Add the "family" property. * tools/m4/convert_gio.m4: Add a necessary conversion.
* gmmproc: Don't include <glibmm.h> by default in generated files.José Alburquerque2011-10-251-0/+1
| | | | | | | | | | | | * tools/m4/base.m4: Include <glibmm/ustring.h> and <sigc++/sigc++.h> by default in header files of generated files in modules other than glibmm. This should make compilation faster for those modules. * gio/src/*.{h,cc}g: * gio/giomm/slot_async.cc: Adjust includes according to the above change. Bug #662597
* Remove default conversion to StringArrayHandleMurray Cumming2010-06-061-0/+2
| | | | | | | | | | | | * tools/m4/convert_gio.m4: Remove a default conversion from char** to StringArrayHandle, because there can be no good default, because each use can have different ownership, so it risks hiding an error. * gio/src/drive.hg: * gio/src/fileinfo.hg: * gio/src/filenamecompleter.hg: * gio/src/volume.hg: Add a local #m4 conversion instead. One day we will have the new introspection information (with the ownership) available to gmmproc so we don't need to do this.
* File: Added start_mountable(), stop_mountable(), poll_mountable().Murray Cumming2010-01-281-0/+1
| | | | | | | | | | * gio/src/drive.[hg|ccg]: * gio/src/mount.hg: * gio/src/volume.hg: Change some includes to allow file.h to include more. * gio/src/file.[hg|ccg]: Added start_mountable(), stop_mountable(), poll_mountable() and the *_finish() methods. The awful documenation will be improved when I have improved it (tomorrow) for the C functions.
* Rename @since back to @newinDaniel Elstner2009-08-201-12/+12
| | | | | | | | | | | | * docs/reference/Doxyfile.in (ALIASES): Rename the @since alias back to its old name @newin, but otherwise keep the parameters. Apparently there is a @since command predefined in Doxygen which I hadn't noticed. It does seem to get overridden silently, but it is better not to rely on this. * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Output @newin instead of @since. * {glib,gio}/src/*.hg, {glib,gio}/{glib,gio}mm/*.h: Replace all uses of @since with @newin.
* Implement parametric Doxygen alias @since{m,n}Daniel Elstner2009-08-181-12/+12
| | | | | | | | | | | | * docs/reference/Doxyfile.in (ALIASES): Define a parametrized alias @since{major,minor} to replace the old @newin?p?* aliases which had to be defined manually for every version number used. (PREDEFINED): Predefine G_GNUC_NORETURN, G_GNUC_NULL_TERMINATED and G_GNUC_PURE to the empty expansion. Remove GTKMM_* macros. * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Change "Since:" substitution to output the new generic @since alias. * {glib,gio}/src/*.hg, {glib,gio}/{glib,gio}mm/*.h: Change all uses of @newin?p?* to @since{major,minor}.
* add get_start_stop_type() and Gio::DriveStartStopType enumJonathon Jongsma2009-07-161-0/+3
|
* add _IGNORE() for a eject_with_operation() which is hand-writtenJonathon Jongsma2009-07-161-0/+1
|
* Remove stray semicolonsDaniel Elstner2009-07-111-2/+2
| | | | | | * gio/src/drive.hg (Drive::start_finish): Remove stray semicolon to get rid of compiler warning in pedantic mode. (Drive::stop_finish): ditto.
* implement GDrive::stop-button signalJonathon Jongsma2009-07-091-0/+3
|
* Wrap g_drive_eject_with_operation() and related functionsJonathon Jongsma2009-07-091-2/+10
| | | | | | | | * gio/src/drive.ccg: * gio/src/drive.hg: Wrap the new eject_with_operation() methods and implement the other eject() functions with g_drive_eject_with_operation since g_drive_eject has been deprecated in favor of eject_with_operation()
* wrap a couple added GDrive methodsJonathon Jongsma2009-07-091-0/+21
| | | | | | | | | * gio/src/drive.ccg: * gio/src/drive.hg: * gio/src/gio_enums.defs: * tools/m4/convert_gio.m4: wrap added GDrive methods: start(), stop(), start_finish(), stop_finish(), can_start(), can_start(), can_start_degraded()
* Remove extra ;s on the new signalsl, to avoid compiler warnings.Murray Cumming2009-02-221-3/+5
| | | | | | | | | 2009-02-22 Murray Cumming <murrayc@murrayc.com> * gio/src/drive.hg: Remove extra ;s on the new signalsl, to avoid compiler warnings. svn path=/trunk/; revision=789
* Change license header to mention Lesser General Public License version 2.1Deng Xiyue2009-01-191-4/+4
| | | | | | | | | | 2009-01-20 Deng Xiyue <manphiz@gmail.com> * Change license header to mention Lesser General Public License version 2.1 instead of Library General Public License, to be consistent with COPYING. svn path=/trunk/; revision=779
* Fix ABI breakage caused by new signals in Gio::DriveJonathon Jongsma2008-12-141-3/+10
| | | | | | | Wrap the new signals in Gio::Drive with no_default_handler so that new virtual functions are not added. This was an ABI breakage in 2.19.0 svn path=/trunk/; revision=764
* Add a bunch of new / missed APIJonathon Jongsma2008-12-121-0/+4
| | | | svn path=/trunk/; revision=754
* Add TypeTraits implementations for Drive and Volume similar to the one added ↵Jonathon Jongsma2008-04-261-0/+40
| | | | | | for Mount. svn path=/trunk/; revision=660
* Correct hand-coded documentation, to talk about throwing exceptions ratherMurray Cumming2008-02-271-2/+1
| | | | | | | | | | | | | | | | | | 2008-02-27 Murray Cumming <murrayc@murrayc.com> * gio/src/asyncresult.hg: * gio/src/file.hg: * gio/src/fileenumerator.hg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/gio_docs_override.xml: * gio/src/inputstream.hg: * gio/src/outputstream.hg: Correct hand-coded documentation, to talk about throwing exceptions rather than setting or returning errors. * gio/src/mount.hg: Add class documentation based on the C documentation. svn path=/trunk/; revision=627
* Comment out _WRAP_VFUNC() lines because we decided that they are notMurray Cumming2008-02-201-3/+3
| | | | | | | | | | | | | | | | | | 2008-02-20 Murray Cumming <murrayc@murrayc.com> * gio/src/appinfo.hg: * gio/src/bufferedinputstream.hg: * gio/src/drive.hg: * gio/src/file.hg: * gio/src/filemonitor.hg: * gio/src/icon.hg: * gio/src/seekable.hg: * gio/src/volume.hg: * gio/src/volumemonitor.hg: Comment out _WRAP_VFUNC() lines because we decided that they are not useful (people will not create new implementations with giomm) and are a potential source of errors. svn path=/trunk/; revision=606
* Added types. Regenerated.Murray Cumming2008-02-031-2/+3
| | | | | | | | | | | | | | | | | | | | | 2008-02-03 Murray Cumming <murrayc@murrayc.com> * 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. svn path=/trunk/; revision=573
* Do not include gio.h from our public headers, to avoid polluting theMurray Cumming2008-01-271-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-27 Murray Cumming <murrayc@murrayc.com> * gio/src/appinfo.hg: * gio/src/asyncresult.hg: * gio/src/cancellable.hg: * gio/src/drive.hg: * gio/src/error.hg: * gio/src/file.hg: * gio/src/fileattribute.hg: * gio/src/fileenumerator.hg: * gio/src/fileicon.hg: * gio/src/fileinfo.hg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/filterinputstream.hg: * gio/src/icon.hg: * gio/src/inputstream.hg: * gio/src/loadableicon.hg: * gio/src/mount.hg: * gio/src/mountoperation.hg: * gio/src/outputstream.hg: * gio/src/seekable.hg: * gio/src/simpleasyncresult.hg: * gio/src/volume.hg: Do not include gio.h from our public headers, to avoid polluting the namespace. svn path=/trunk/; revision=544
* poll_for_media(): Added documentation. Wrapped 2 vfuncs (though the .defsMurray Cumming2008-01-181-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | 2008-01-18 Murray Cumming <murrayc@murrayc.com> * gio/src/drive.ccg: * gio/src/drive.hg: poll_for_media(): Added documentation. Wrapped 2 vfuncs (though the .defs still need to be written). * gio/src/file.ccg: * gio/src/file.hg: move(), copy(), replace(): Rearranged the parameters so we can have default values, and added some documentation. set_display_name(), set_display_name_async(): Take a ustring instead of a std::string. Added documentation. * gio/src/fileattribute.ccg: * gio/src/fileattribute.hg: Added FileAttributeInfoList::add(). Added FileAttributeInfoList::empty(). * tools/m4/convert_gio.m4: * gio/src/appinfo.hg: * gio/src/fileenumerator.hg: Move the ListHandle conversions to the .hg files because the ownership is specific to each use. svn path=/trunk/; revision=522
* Wrapped functions that reurn GLists.Murray Cumming2008-01-171-2/+2
| | | | | | | | | 2008-01-18 Murray Cumming <murrayc@murrayc.com> * gio/src/drive.hg: * gio/src/volumemonitor.hg: Wrapped functions that reurn GLists. svn path=/trunk/; revision=521
* eject(),Murray Cumming2008-01-171-18/+9
| | | | | | | | | | | | | | | | | | 2008-01-17 Murray Cumming <murrayc@murrayc.com> * gio/src/file.hg: * gio/src/drive.ccg: * gio/src/drive.hg: eject(), * gio/src/volume.ccg: * gio/src/volume.hg: eject(), * tools/m4/convert_gio.m4: Wrapped GMountUnmountFlags enum as MountUnmountFlags, and used it. * gio/src/file.ccg: * gio/src/file.hg: unmount_mountable(), eject(): Reorder the parameters and add a default flag value. svn path=/trunk/; revision=518
* eject(), poll_for_media()Murray Cumming2008-01-151-2/+11
| | | | | | | | | | | | 2008-01-15 Murray Cumming <murrayc@murrayc.com> * gio/src/drive.ccg: * gio/src/drive.hg: eject(), poll_for_media() * gio/src/volume.ccg: * gio/src/volume.hg: mount(), eject(): Add method overloads that take no slot. svn path=/trunk/; revision=512
* *_async() functions: Rearrange the parameters, so the (optional)Murray Cumming2008-01-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-15 Murray Cumming <murrayc@murrayc.com> * gio/src/drive.ccg: * gio/src/drive.hg: * gio/src/file.ccg: * gio/src/file.hg: * gio/src/fileenumerator.ccg: * gio/src/fileenumerator.hg: * gio/src/fileinputstream.ccg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.ccg: * gio/src/fileoutputstream.hg: * gio/src/inputstream.ccg: * gio/src/inputstream.hg: * gio/src/outputstream.ccg: * gio/src/outputstream.hg: * gio/src/volume.ccg: * gio/src/volume.hg: *_async() functions: Rearrange the parameters, so the (optional) cancellable is always after the slot, and so flags and io_priority are always at the end, so they can have default values. svn path=/trunk/; revision=510
* Added class documentation.Murray Cumming2008-01-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-11 Murray Cumming <murrayc@murrayc.com> * gio/src/appinfo.hg: Added class documentation. * gio/src/asyncresult.hg: * gio/src/cancellable.hg: * gio/src/drive.hg: * gio/src/file.hg: * gio/src/fileattribute.hg: * gio/src/fileenumerator.hg: * gio/src/fileicon.hg: * gio/src/fileinfo.hg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/icon.hg: * gio/src/inputstream.hg: * gio/src/loadableicon.hg: * gio/src/mountoperation.hg: * gio/src/outputstream.hg: * gio/src/seekable.hg: * gio/src/simpleasyncresult.hg: * gio/src/volume.hg: Added @newin2p16 to the documentation. * glib/src/Makefile_list_of_hg.am_fragment: * glib/src/uriutils.ccg: * glib/src/uriutils.hg: Added wrappers of (some) of these new g_uri_* functions. Not yet documented. svn path=/trunk/; revision=506
* Added poll_for_media, poll_for_media_finish.Marko Anastasov2008-01-101-1/+10
| | | | | | | | | | | | | | 2008-01-10 Marko Anastasov <marko.anastasov@gmail.com> * gio/src/drive.hg: * gio/src/drive.ccg: Added poll_for_media, poll_for_media_finish. * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/inputstream.hg: * gio/src/volume.hg: Modified *_finish functions to take a const AsyncResult. svn path=/trunk/; revision=501
* Added missing capability checking functions. Updated svn:ignoreMarko Anastasov2008-01-101-0/+6
| | | | | | | | | 2008-01-10 Marko Anastasov <marko.anastasov@gmail.com> * gio/src/drive.hg: Added missing capability checking functions. * gio/giomm: Updated svn:ignore properties. svn path=/trunk/; revision=500
* Copy (and very slightly adjust) the build_shared/ files from gtkmm, whichMurray Cumming2008-01-101-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-10 Murray Cumming <murrayc@murrayc.com> * Makefile.am: * build_shared/Makefile_build.am_fragment: * build_shared/Makefile_build_extra.am_fragment: * build_shared/Makefile_build_gensrc.am_fragment: * build_shared/Makefile_gensrc.am_fragment: * build_shared/Makefile_gensrc_platform.am_fragment: Copy (and very slightly adjust) the build_shared/ files from gtkmm, which has had multiple sub-libraries for a long time. * gio/giomm/Makefile.am: * gio/src/Makefile.am: * gio/src/Makefile_list_of_hg.am_fragment: * glib/glibmm/Makefile.am: * glib/glibmm/private/Makefile.am: * glib/src/Makefile.am: * glib/src/Makefile_list_of_hg.am_fragment: Adapt to the structure (variable names, mostly) needed by the newer build_shared/ files, so that the giomm library is actually built. * tools/m4/convert_glib.m4: * gio/giomm/init.cc: * gio/giomm/init.h: * gio/src/asyncresult.ccg: * gio/src/drive.ccg: * gio/src/drive.hg: * gio/src/file.ccg: * gio/src/file.hg: * gio/src/fileattribute.ccg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/volume.ccg: * gio/src/volume.hg: Various build fixes, including adding a flags parameter to unmount and eject methods. svn path=/trunk/; revision=497
* Correct an include.Murray Cumming2008-01-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-10 Murray Cumming <murrayc@murrayc.com> * gio/giomm.h: Correct an include. * gio/src/asyncresult.hg: * gio/src/cancellable.hg: * gio/src/drive.hg: * gio/src/file.hg: * gio/src/fileattribute.hg: * gio/src/fileenumerator.hg: * gio/src/fileicon.hg: * gio/src/fileinfo.hg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/outputstream.hg: * gio/src/simpleasyncresult.hg: * gio/src/volume.ccg: * gio/src/volume.hg: Correct several includes to use giomm/ instead of glibmm/. * configure.in: * examples/Makefile.am_fragment: * tests/Makefile.am_fragment: Include/Link giomm too. * tests/Makefile.am: * tests/giomm_simple/Makefile.am: * tests/giomm_simple/giomm_simple.cc: Added a little test, which shows that the library is not being built properly - we get undefined symbols. svn path=/trunk/; revision=496
* Uncomment GTKMM_DOXYGEN_INPUT_SUBDIRS to fix the reference documentationMurray Cumming2008-01-081-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-08 Murray Cumming <murrayc@murrayc.com> * configure.in: Uncomment GTKMM_DOXYGEN_INPUT_SUBDIRS to fix the reference documentation build (no idea when this happened) and add gio to the list of directories. * glib/src/optioncontext.ccg: * glib/src/optioncontext.hg: Added get_help(). * gio/src/gio_enums.defs: Regenerated with enums.pl * gio/src/gio_methods.defs: Regenerated with h2defs.py. * tools/m4/convert_glib.m4: * gio/src/fileattribute.hg: Renamed FileAttributeFlags to FileAttributeInfoFlags, as it is in gio. * gio/src/fileenumerator.hg: * gio/src/asyncresult.hg: * gio/src/cancellable.hg: * gio/src/drive.hg: * gio/src/file.hg: Added class documentation, and some method documentation, based on the C documentation. Many giomm classes still need documentation. svn path=/trunk/; revision=492
* Made some whitespace more consistent with the rest of glibmm. InMurray Cumming2008-01-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-08 Murray Cumming <murrayc@murrayc.com> * gio/src/asyncresult.hg: * gio/src/cancellable.hg: * gio/src/fileattribute.hg: * gio/src/fileenumerator.hg: * gio/src/fileinputstream.hg: * gio/src/fileoutputstream.hg: * gio/src/icon.hg: * gio/src/inputstream.hg: * gio/src/mountoperation.hg: * gio/src/outputstream.hg: * gio/src/simpleasyncresult.hg: Made some whitespace more consistent with the rest of glibmm. In particular, white space alignment in .hg files will often be even worse when seen in the generated .h files. * gio/src/drive.hg: get_icon(), * gio/src/file.hg: read(), * gio/src/fileicon.hg: get_file(), * gio/src/fileinfo.hg: get_icon(), * gio/src/volume.hg: get_drive(), get_icon(): For the const versions, actually return a const RefPtr. svn path=/trunk/; revision=491
* Checked in sources from giomm. Build needs to be fixed to work withMarko Anastasov2007-12-281-0/+72
2007-12-28 Marko Anastasov <marko.anastasov@gmail.com> * gio/*: * configure.in: * Makefile.am: * tools/m4/convert_glib.m4: Checked in sources from giomm. Build needs to be fixed to work with scripts in build_shared/. svn path=/trunk/; revision=482