| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
* meson.build: Require glib-2.0 >= 2.69.1.
* glib/src/binding.[ccg|hg]: Add dup_source(), dup_target(),
Deprecate get_source(), get_target().
* glib/src/spawn.[ccg|hg]: Change parameter name, exit_status to wait_status.
* glib/src/timezone.[ccg|hg]: Add operator bool(), create_identifier().
Deprecate create().
* gio/src/fileinfo.hg: Add get/set_access_date(), get/set_creation_date().
* gio/src/notification.hg: Add set_category().
* gio/src/tlscertificate.hg: Add property/get_not_valid_before(),
property/get_not_valid_after(), property/get_subject_name(),
property/get_issuer_name().
* gio/src/tlsconnection.hg: Add enum Gio::TlsProtocolVersion,
property/get_protocol_version(), property/get_ciphersuite_name().
* tools/m4/convert_gio.m4: Add conversion for enum TlsProtocolVersion.
|
|
|
|
|
| |
As per Kjell's suggestions, make things more future-proof by marking all
_WRAP_ENUM()'s with 'decl_prefix GIOMM_API'.
|
|
|
|
|
|
| |
This prepares the build to export symbols using compiler directives, in
our bid to drop gendef.exe. We will also mark pre-declarations of usage
of glibmm class items with GLIBMM_API as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GTimeVal has been deprecated in glib. Remove its wrapping in glibmm.
* examples/dbus/server_without_bus.cc:
* examples/dbus/session_bus_service.cc: Replace TimeVal by DateTime.
* gio/src/fileinfo.[ccg|hg]: Remove [set_]modification_time().
Add set/get_modification_date_time().
* glib/glibmm.h:
* glib/glibmm/filelist.am: Remove timeval.
* glib/glibmm/timeval.[cc|h]: Removed files.
* glib/src/date.[ccg|hg]: Remove set_time(const GTimeVal& timeval).
* glib/src/datetime.[ccg|hg]: Remove create_now_local/utc(const TimeVal& tv)
and to_timeval(). Add create_from_iso8601(), format_iso8601() and
operator bool().
* tools/m4/convert_glib.m4:
* tools/m4/convert_gio.m4: Remove conversions for GTimeVal.
|
|
|
|
| |
Bug 786824
|
|
|
|
| |
Bug 86864
|
|
|
|
|
|
| |
Using Glib::ArrayHandler<>::vector_to_array() and
Glib::ArrayHandler<>::array_to_vector() instead, and only in the
implementatoin instead of in the API.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use Glib::ustring for values of file attributes of type
G_FILE_ATTRIBUTE_TYPE_STRING (UTF-8 encoded string). Changed methods:
* gio/src/file.hg: set_attribute_string()
* gio/src/fileinfo.hg: set/get_attribute_string(), set/get_display_name(),
set/get_edit_name(), set/get_content_type(), get_etag()
* gio/src/fileiostream.hg: get_etag()
* gio/src/fileoutputstream.hg: get_etag()
Bug 615950
|
|
|
|
|
|
| |
Because I noticed that this has just been documented as being allowed
to be null:
https://git.gnome.org/browse/glib/commit/?id=a4ed89bf75190631087596be22f9eb10dc6e53ef
|
|
|
|
|
|
|
|
|
|
| |
Because _CLASS_OPAQUE_REFCOUNTED already generates a comment
telling us not to derive from them, presumably because they can
only be instantiated by reinterpret_cast<>ing a base C struct.
Ideally, _CLASS_OPAQUE_REFCOUNTED would add the final keyword,
but the class line is is not generated, so that would be a little
difficult.
|
|
|
|
|
|
|
|
|
|
| |
Because this generally invites programming errors, though I am
less concerned about shadowing of method names by parameter or
variable names, which requires some tedious parameter renaming.
In MatchInfo::set_gobject() the confusion between take_ownership and
this.take_ownership does seem to have caused a programming error,
hopefully now corrected.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/action.hg:
* gio/src/actionmap.hg:
* gio/src/dbusconnection.hg:
* gio/src/dbusproxy.hg:
* gio/src/file.hg:
* gio/src/fileinfo.hg:
* gio/src/menuitem.hg:
* gio/src/mount.hg:
* gio/src/settings.hg:
* gio/src/simpleaction.hg:
* gio/src/threadedsocketservice.hg:
* glib/glibmm/base64.h:
* glib/glibmm/refptr.h:
* glib/src/variant.hg: Fix some warnings in doxygen.log.
|
|
|
|
|
|
| |
* glib/src/fileenumerator.hg: Wrap the new
g_file_info_get_deletion_date() function.
* tools/m4/convert_glib.m4: Add a necessary conversion.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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=".
|
|
|
|
|
|
| |
* gio/src/fileinfo.hg: Pass the attr_value vector as a const
std::vector<>& and not just a std::vecto<>&. I must not have been
paying attention to what I was doing when wrapping this.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/fileinfo.hg (FileAttributeMatcher): Add the
create_difference() and to_string() methods wrapping the
g_file_attribute_matcher_subtract() and the
g_file_attribute_matcher_to_string() functions.
(FileInfo): Add the has_namespace(), [get|set]_attribute_status(),
and [get|set]_attribute_strings() methods wrapping the
g_file_info_has_namespace(), g_file_info_[get|set]_attribute_status(),
and g_file_info_[get|set]_attribute_stringv() functions.
* tools/m4/convert_gio.m4: Add an enum and FileAttributeMatcher
conversions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/applicationcommandline.hg: Change a _CONVERSION (due to the
exclusion of gio_others.defs).
* gio/src/dbusintrospection.hg:
* gio/src/fileinfo.hg: Add _IGNORE.
* gio/src/fileiostream.hg:
* gio/src/fileoutputstream.hg: Correct an _IGNORE.
* gio/src/gio.defs: Don't include gio_others.defs. One of its entries is
wrong and all of them also exist (in correct form) in gio_methods.defs or
gio_signals.defs.
* glib/src/convert.hg:
* glib/src/regex.hg: Add _IGNORE.
* glib/src/date.hg:
* glib/src/fileutils.hg:
* glib/src/markup.hg:
* glib/src/optionentry.hg:
* glib/src/shell.hg:
* glib/src/spawn.hg:
* glib/src/thread.hg:
* glib/src/threads.hg:
* glib/src/unicode.hg:
* glib/src/uriutils.hg: Remove _IGNORE(g_iconv).
* glib/src/variantiter.hg: Add an _IGNORE. Remove _IGNORE(g_variant_iter_new).
|
|
|
|
|
|
|
|
|
| |
* 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().
|
|
|
|
|
|
| |
* gio/src/fileinfo.hg:
See https://bugzilla.gnome.org/show_bug.cgi?id=615950#c7
(Kjell Ahlstedt)
|
|
|
|
|
|
|
| |
* gio/src/fileinfo.hg: The C documentation says that some of these are
UTF-8.
See https://bugzilla.gnome.org/show_bug.cgi?id=615950#c4
(Kjell Ahlstedt)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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}.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-09 Armin Burgmeier <armin@openismus.com>
* gio/src/fileinfo.hg: Rename FILE_TYPE_UNKNOWN to FILE_TYPE_NOT_KNOWN
because the former is a #define on Windows in winbase.h, included from
windows.h. Keep FILE_TYPE_UNKNOWN for compatibility if it is not
already defined.
svn path=/trunk/; revision=738
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-29 Murray Cumming <murrayc@murrayc.com>
* 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.
svn path=/trunk/; revision=547
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-27 Murray Cumming <murrayc@murrayc.com>
* gio/src/fileattribute.ccg:
* gio/src/fileattribute.hg: Split into
* gio/src/fileattributeinfo.ccg:
* gio/src/fileattributeinfo.hg: and
* gio/src/fileattributeinfolist.ccg:
* gio/src/fileattributeinfolist.hg
* gio/giomm.h:
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/file.hg:
* gio/src/fileinfo.hg:
* gio/src/outputstream.hg:
* gio/src/seekable.hg:
* glib/src/optionentry.hg: Adapted.
* tools/pm/DocsParser.pm: substitute_identifiers():
Tried (unsuccessfully) to remove G:: prefixes in generated documentation.
svn path=/trunk/; revision=545
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-20 Murray Cumming <murrayc@murrayc.com>
* gio/src/fileinfo.hg: FileAttributeMatcher::create(): Add a default
value and documentation.
* gio/src/file.ccg:
* gio/src/file.hg:
* gio/src/mount.ccg:
* gio/src/mount.hg: const corrections for Slot* and Cancellable
parameters.
svn path=/trunk/; revision=525
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-18 Murray Cumming <murrayc@murrayc.com>
* gio/src/appinfo.hg:
* gio/src/icon.hg: Removed operator= and operator!= for these RefPtr<>
specializations, because they are unobvious and conflict with the generic
ones.
svn path=/trunk/; revision=520
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-17 Marko Anastasov <marko.anastasov@gmail.com>
* gio/src/inputstream.ccg:
* gio/src/inputstream.hg: Fixed const-ness of Cancellables.
* gio/src/fileinputstream.ccg:
* gio/src/fileinputstream.ccg:
* gio/src/fileoutputstream.ccg:
* gio/src/fileoutputstream.hg: Added an overload of query_info_async(),
* gio/src/outputstream.ccg:
* gio/src/outputstream.hg: write_async(), splice_async() without
the Cancellable.
Patch from José Alburquerque, bug #510080.
svn path=/trunk/; revision=519
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-09 Murray Cumming <murrayc@murrayc.com>
* gio/src/Makefile_list_of_hg.am_fragment:
* gio/src/loadableicon.ccg:
* gio/src/loadableicon.hg: Added this, though no methods or vfuncs are
wrapped yet.
* tools/m4/convert_glib.m4:
* gio/src/fileicon.hg:
* gio/src/fileinfo.hg: Derive from LoadableIcon and implement it.
set_modification_time(): Take a const TimeVal.
* gio/src/fileinputstream.ccg:
* gio/src/fileinputstream.hg: Added documentation and a version of
seek() without the cancellable parameter.
* gio/src/gio_docs.xml: Generated from docextract_to_xml.py so we get
documentation for methods created by _WRAP_METHOD().
svn path=/trunk/; revision=494
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
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
|