summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Move to a generated ChangeLog.José Alburquerque2013-07-031-13901/+2
|
* Gen Scripts: Minor clean up of the description of the scripts.José Alburquerque2013-06-101-0/+13
| | | | | | | | | | | * tools/gen_scripts/gio_generate_docs.sh: * tools/gen_scripts/gio_generate_enums.sh: * tools/gen_scripts/gio_generate_extra_defs.sh: * tools/gen_scripts/gio_generate_methods.sh: * tools/gen_scripts/glib_generate_docs.sh: * tools/gen_scripts/glib_generate_enums.sh: * tools/gen_scripts/glib_generate_extra_defs.sh: * tools/gen_scripts/glib_generate_methods.sh:
* gmmproc: Use an environment variable for the return mismatches.José Alburquerque2013-06-091-0/+10
| | | | | | | | * tools/gmmproc.in: Check for the GMMPROC_RETURN_MISMATCHES environment variable and use its value as the default for the internal boolean '$main::return_mismatches' variable which when true makes gmmproc report if the return type in a _WRAP_METHOD() does not match the C function return type.
* gmmproc: Write glibmm version in generated files.Kjell Ahlstedt2013-06-071-0/+11
| | | | | | | | | * tools/gmmproc.in: Use autoconf's substitution variable @PACKAGE_VERSION@. * tools/m4/base.m4: _START() macro: Add argument glibmm_version. * tools/pm/Output.pm: output_temp_g1(): Add argument glibmm_version. The problems with gtkmm 2.24.3 (bug 697835 and bug 700495) show that it can be useful to easily see which version of gmmproc/glibmm has generated a file.
* Gio::DBusInterfaceSkeleton: Constant corrections.José Alburquerque2013-06-061-0/+11
| | | | | | | | | * gio/src/dbusinterfaceskeleton.hg (get_info): Add a const get_info() method returning a constant InterfaceInfo and make the original one non-constant. (has_connection): Accept the Connection as constant because it should not be modified. * tools/m4/convert_gio.m4: Add a needed conversion.
* giomm: Add the Gio::DBus::InterfaceSkeleton class.José Alburquerque2013-06-051-0/+15
| | | | | | | | | | | | | * gio/src/dbusinterfaceskeleton.{ccg,hg}: * gio/src/filelist.am: Add the sources wrapping the methods, properties and signals and list the sources in the list of files to be built. * gio/src/gio_signals.defs: * tools/extra_defs_gen/generate_defs_gio.cc: Add the GDBUSInterfaceSkeleton GType to the properties and signals defs generation tool and regenerate the .defs file. * tools/m4/convert_gio.m4: Add the conversions for the wrapped methods, properties and signals.
* Glib::MainContext: Fix a small error in the documentation of acquire().Kjell Ahlstedt2013-06-041-0/+6
| | | | * glib/glibmm/main.h: Change "context is the owner" to "thread is the owner".
* tests: Fix the glibmm_mainloop test.Kjell Ahlstedt2013-06-041-0/+7
| | | | | * tests/glibmm_mainloop/main.cc: Make it work as expected whichever thread executes first.
* tests: Add the glibmm_mainloop test.Kjell Ahlstedt2013-06-021-0/+8
| | | | | | * tests/glibmm_mainloop/main.cc: New file. Tests MainContext and MainLoop, including MainContext::invoke(). * tests/Makefile.am: Add glibmm_mainloop/test. Bug #668184.
* Glib::MainContext: Add invoke().Kjell Ahlstedt2013-06-021-0/+6
| | | | * glib/glibmm/main.[h|cc]: Add Glib::MainContext::invoke(). Bug #668184.
* Add missing includes in glibmm.h and bytearray.hg.Kjell Ahlstedt2013-05-211-0/+7
| | | | | * glib/glibmm.h: * glib/src/bytearray.hg: Add missing includes.
* tools: Improve the testheaders.sh script.Kjell Ahlstedt2013-05-211-0/+6
| | | | * tools/test_scripts/testheaders.sh: Stop if pkg-config fails.
* tools: Add the testheaders.sh script.Kjell Ahlstedt2013-05-181-0/+7
| | | | | * tools/test_scripts/testheaders.sh: New file. Compiles each specified header file, one at a time. Bug #697835.
* tools: Add the testmmh.sh script.Kjell Ahlstedt2013-05-181-0/+7
| | | | | * tools/test_scripts/testmmh.sh: New file. Checks if all header files are included in a <name>mm.h file. Bug #699993.
* Custom Interface Properties: Use base finalize function to free data.José Alburquerque2013-05-141-0/+25
| | | | | | | | | | | | | | | | | | | | | | | * glib/glibmm/class.cc (Class::clone_custom_type): Specify a custom base finalize function for the custom type which would free the properties data that might exist due to properties of implemented interfaces being overridden. This is better than having an interface finalize function because the custom type could implement several interfaces which would mean that the interface finalize function would execute more than once as opposed to just once for the base finalize function. * glib/glibmm/class.h (Class::interface_finalize_function): Replace with Class::custom_class_base_finalize_function(). * glib/glibmm/interface.cc (Interface_Class::add_interface): Do not specify a custom interface finalize function. (Interface::Interface(const Interface_Class&): Also initialize the property GValues using g_param_value_set_default() so that they are initialized with the default values of the properties and not just the default value of the GValue type. Bug #697229.
* UnixSocketAddress: Add the "path-as-array" property.José Alburquerque2013-05-071-0/+6
| | | | * gio/src/unixsocketaddress.hg:
* glibmm: Wrapped Base64 functionality from glibMichael Kruglos2013-05-071-0/+10
| | | | | | | | encoding and decoding are wrapped. step by step and in-place decoding are not wrapped. (they're too low level for C++, and they're available from the C library.) Bug #611589.
* gmmproc: Output.pm: Use a better name for the c param mappings hash.José Alburquerque2013-04-291-0/+9
| | | | | | | * tools/pm/Output.pm (output_wrap_meth, convert_args_cpp_to_c, get_ctor_properties): Replace the 'cpp_param_mappings' variable name with 'c_param_name_mappings' which describes the function of the hash a little better.
* DBusConnection: Correct a misplaced #endif G_OS_UNIX.José Alburquerque2013-04-291-0/+10
| | | | | | | | * gio/src/dbusconnection.hg: Move the #endif from below the call_finish _WRAP_METHOD() to below the non-cancellable call method declaration. It worked as it was because what was generated by gmmmproc was an #ifdef G_OS_UINX/#endif embedded in an outer #ifdef G_OS_UNIX/#endif but it's how it should be now.
* Value: Remove unneeded whitespace in source files.José Alburquerque2013-04-291-0/+11
| | | | | | | | | * glib/glibmm/value.cc: * glib/glibmm/value.h: * glib/glibmm/value_custom.cc: * glib/glibmm/value_custom.h: * glib/src/value_basictypes.cc.m4: * glib/src/value_basictypes.h.m4:
* Output.pm: convert_args_c_to_cpp(): Reverse mappings hash correctly.José Alburquerque2013-04-291-0/+12
| | | | | | | | | | * tools/pm/Output.pm (convert_args_c_to_cpp): Reverse the hash that maps from parameter names to indexes to a hash that maps from indexes to parameter names correctly (by dereferencing the hash reference) so that parameter reordering for virtual functions works for all Perl versions. Bug #698989 (David Evans, John Ralls)
* gmmproc: Fix _WRAP_SIGNAL(custom_c_callback) for void func().Kjell Ahlstedt2013-04-291-0/+9
| | | | | | | * tools/m4/signal.m4: If custom_c_callback is specified, and the signal handler takes no arguments and returns void, generate a SignalProxyInfo structure with pointers to local functions instead of &Glib::SignalProxyNormal::slot0_void_callback. Bug #605728.
* Interface: Add a comment about overriding properties in constructor.José Alburquerque2013-04-251-0/+8
| | | | | | * glib/glibmm/interface.cc (Interface(onst Interface_Class&)): Explain what is happening with the lines that override the properties of the implemented interface, if any, for a custom type.
* Fix the ChangeLog file.José Alburquerque2013-04-251-0/+44
|
* Settings: Wrap the properties.José Alburquerque2013-04-251-0/+6
| | | | * gio/src/settings.hg:
* Glib::Source: Fix the destruction and deletion.Kjell Ahlstedt2013-04-181-0/+8
| | | | | | * glib/glibmm/main.cc: Keep the Glib::Source wrapper until the GSource instance has been destroyed and all RefPtr<Source> have been deleted. Keep a separate ref count in glibmm. Bug #561885.
* ByteArray: get_data(): Add a const version.José Alburquerque2013-04-151-0/+8
| | | | | | * glib/src/bytearray.{ccg,hg}: Make the already existing get_data() method non-constant and add a constant one returning a const array as is done in general in *mm modules.
* Tls Client Test: Update to test the TlsDatabase class.José Alburquerque2013-04-121-0/+8
| | | | | | * tests/giomm_tls_client/main.cc: Slightly cleaned it up from the first commit. Lookup the issuer's certificate in the database which is found when I run the test.
* TlsDatabase: Make sure the cancellable param is optional in methods.José Alburquerque2013-04-121-0/+9
| | | | | | | * gio/src/tlsdatabase.hg: Use the {.?} gmmproc parameter option for the cancellable to ensure that it is optional (so that there are methods that don't require a cancellable for the methods that have one).
* ByteArray: Add size() and get_data() methods.José Alburquerque2013-04-121-0/+9
| | | | | | | * glib/src/bytearray.{ccg,hg}: Add these methods so that accessing the underlying GByteArray's data and len members (which is how it is done in the C API) is just as easy with glibmm. Also use _WRAP_METHOD to wrap the create() method.
* gmmproc: Parse the argument list of methods correctly.José Alburquerque2013-04-101-0/+20
| | | | | | | | | | | | | | | | | | * tools/pm/Function.pm (parse_param): When splitting the argument list split the parameter '{...}' options out and separately and deal with them in their own 'elsif' which is more clear and avoids code duplication. Also, don't split the '<...>' matches greedily because that causes problems when a Glib::RefPtr<> parameter has a default value. This problem was discovered while trying to not use the optional parameter syntax for the Gio::TlsCertificate::verify() method by using a default value for the 'trusted_ca' parameter although upon investigation it became clear that keeping the syntax (and the method overloads) would be useful because a verify() with no parameters can be used to verify things about a certificate unrelated to the identity and the trusted_ca (see the TlsCertificateFlags enum that the method returns).
* Interface: Fix a small typo.José Alburquerque2013-04-081-0/+6
| | | | * glib/glibmm/interface.cc:
* Gio::TlsServerConnection: Wrap it just like TlsClientConnection.José Alburquerque2013-04-071-0/+11
| | | | | | | | | * gio/src/tlsserverconnection.{ccg,hg}: Use a custom cast constructor just as in TlsClientConnection because this class too derives from Glib::Interface and Gio::TlsConnection though it only derives from GInterface in the C API. It would have the same problems described in the commit fixing the TlsClientCOnnection class (the next to the last one).
* Tests: Add a basic test for the Tls* API.José Alburquerque2013-04-071-0/+7
| | | | | * tests/giomm_tls_client/main.cc: The test basically works though it would be good to test more thoroughly the TlsDatabase API.
* Gio::TlsClientConnection: Make the class work correctly.José Alburquerque2013-04-071-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tools/m4/class_interface.m4 (_CUSTOM_CTOR_CAST): Add a new macro so that classes wrapped by the _CLASS_INTERFACE() macro can implement a custom cast constructor. This is so that classes like Tls[Client|Server]Connection, that derive from Glib::Interface but should also derive from a Glib::Object derived type, though they do not do so in the C API, don't produce warnings from an attempt to set the non-existent properties of the GObject derived type when an attempt to construct the C object is made in the default Glib::Object constructor. Glib::wrap_auto_interface<>(), which is called by Glib::wrap() for interfaces, uses the cast constructor to create the wrapper which calls the cast constructor of Glib::Interface. If the Glib::Object derived base class of the wrapper has a default constructor, that constructor is then called which leads to the Glib::Object default constructor being called, which tries to construct the C object and set its properties thus producing the property setting warnings. A custom cast constructor can chain up to the cast constructor of the Glib::Object derived type thus avoiding the call to the Glib::Object default constructor and the non-existent property setting warnings. * glib/glibmm/interface.cc: * glib/glibmm/interface.h (Interface): Add a default constructor so that in the cases above (when the cast constructor of the Glib::Object's derived type is used), the compiler can find a Glib::Interface default constructor to use. Using the Glib::Interface cast constructor as well as the cast constructor of the Glib::Object derived type would cause "ObjectBase::initialize() called twice for the same GObject" errors.
* Add a test of implementing an interface.Murray Cumming2013-04-061-0/+9
| | | | | | | * tests/Makefile.am: * tests/glibmm_interface_implementation/main.cc: Add a very simple test that implements an interface, with a vfunc implementation and make sure that the vfunc is called when the caller method is called.
* ByteArray: Add a Glib::Value<> template specialization for it.José Alburquerque2013-04-021-0/+9
| | | | | | | * glib/src/bytearray.{ccg,hg}: Add the specialization for ByteArray so that getting/setting properties of that type work. Also added a Glib::ByteArray::get_type() method required for the specialization to compile.
* ChangeLog: Correct a branch nameMurray Cumming2013-04-011-1/+1
|
* ChangeLog: Correct a branch nameMurray Cumming2013-04-011-1/+1
|
* Revert "giomm: Temporarily remove the Tls* related API."Murray Cumming2013-04-011-15/+0
| | | | | | This reverts commit 45511d8e0ffdda76d792174569535a8b7f326d93. We will now try to get this right for the glibmm 3.7/8 releases.
* Mark the branch in the ChangeLogMurray Cumming2013-04-011-0/+3
|
* 2.36.0Murray Cumming2013-04-011-1/+1
|
* TlsCertificate: Use std::string for data instead of char*.José Alburquerque2013-03-311-0/+19
| | | | | | | | | | | | | | | | | * gio/src/tlscertificate.{ccg,hg} (TlsCertificate): Use a std::string in the data constructor instead of a char* because it is more C++ like. Remove the default value for the length argument so there is no ambiguity with the file constructor (which also uses std::string for the filename). (create_from_pem): Renamed from create() so that there is no ambiguity with the other file create() methods (one with a filename argument and the other with a filename and key file arguments). Handwrote the method in the .ccg file (_WRAP_CREATE does not allow a custom method name). (property_certificate_pem): Use a std::string instead of a char* for the property type in keeping with the use of std::string for pem data. These changes are for when the Tls* classes are re-added to the build.
* Credentials: Add the get_unix_pid() method.José Alburquerque2013-03-311-0/+7
| | | | | * gio/src/credentials.hg: Add the new method wrapping the g_credentials_get_unix_pid() C function.
* giomm: Temporarily remove the Tls* related API.José Alburquerque2013-03-271-0/+15
| | | | | | | | | | | | | Temporarily remove the API until after the coming stable release so the API can be better developed thus avoiding the risk of needing an API or ABI break later. * gio/src/filelist.am: Remove the tls*.hg files from the build. This will keep the sources from being built and included in the upcoming tarball release. * gio/giomm.h: #if out the tls*.h includes. * gio/src/enums.hg: Comment out the TlsAuthenticationMode enum. * gio/src/error.hg: Comment out the TlsError GError.
* Gio::Tls*: Correct some referencing errors.José Alburquerque2013-03-271-0/+10
| | | | | | | | * gio/src/tlscertificate.hg (get_issuer): * gio/src/tlsclientconnection.hg (get_server_identity): * gio/src/tlsconnection.hg (get*_certificate): Use refreturn in the wrapping of these because the C API does not reference the object when returning it.
* giomm.h: Also remove the tlsfiledatabase.h include.José Alburquerque2013-03-271-0/+10
| | | | | | | | * gio/giomm.h: Remove the include from here so that make check will not fail. * gio/src/error.hg (TlsError): A minor correction in the 'EOF' substitution regular expression.
* TlsFileDatabase: Remove the class until its usage is more clear.José Alburquerque2013-03-261-0/+7
| | | | | * gio/src/filelist.am (tlsfiledatabase.hg): Remove from the build until it is more clear how the class should be used.
* TlsError: Rename the EOF enum value.José Alburquerque2013-03-261-0/+8
| | | | | | * gio/src/error.hg (EOF): Rename it to ENDOFFILE to avoid a clash with another definition of the identifier somewhere else which breaks the gtkmm build.
* Corrected the ChangeLogMurray Cumming2013-03-261-2/+2
|