File rubygem-gir_ffi.changes of Package rubygem-gir_ffi
-------------------------------------------------------------------
Fri Nov 3 07:36:56 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>
- ## 0.16.1 / 2023-10-07
* Support Ruby 3.2 ([#331] by [mvz])
* Require at least ffi 1.16.3 to avoid 'Can't modify frozen Hash' error ([#350]
by [mvz])
[mvz]: https://github.com/mvz
[#331]: https://github.com/mvz/gir_ffi/pull/331
[#350]: https://github.com/mvz/gir_ffi/pull/350
-------------------------------------------------------------------
Thu Aug 4 13:12:08 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 0.16.0
see installed Changelog.md
## 0.16.0 / 2022-05-21
* Support Ruby 3.1
* Rename `#object_class` to `#class_struct`
* Remove `GObject.object_class_from_instance`
* Limit public interface of `BaseMethodBuilder`
* Remove deprecated methods from `GObject::Object`
* Stop accepting blocks when defining a type
* Check parameter direction in signal argument conversion
* Drop support for JRuby
* Drop support for Ruby 2.6
-------------------------------------------------------------------
Tue Jan 25 06:58:08 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 0.15.9
see installed Changelog.md
## 0.15.9 / 2021-12-05
* Skip setting destroy notifier state if types don't make sense
* Handle functions with multiple user-supplied callback arguments
## 0.15.8 / 2021-11-20
* Drop support for Ruby 2.5
* Bump minimum supported version of gobject-introspection to 1.56.0
* Bump minimum supported version of glib to 2.56.0
* Handle functions that have swapped closure annotation
* Handle GPtrArray arguments in signal handlers
-------------------------------------------------------------------
Wed Jan 20 12:41:01 UTC 2021 - Stephan Kulow <coolo@suse.com>
updated to version 0.15.7
see installed Changelog.md
## 0.15.7 / 2021-01-15
* Handle sized arrays with interface element types
## 0.15.6 / 2021-01-10
* Officially support Ruby 3.0
* Rely on `GObject.boxed_free` to free GValue objects
* Require 'set' in `callback_base.rb`, which needs it (thanks, Jordan Webb!)
* Make SizedArray handle `:filename` elements
## 0.15.5 / 2020-11-13
* Make building and finding metaclasses via `Builder.build_class` work again
## 0.15.4 / 2020-11-01
* Support disguised object class structs
* Handle the case where vfunc object arguments are null
* Bail out earlier when trying to register non-GObject class
* Small improvements
* Use `Module#prepend` for overrides
* Clean up initialization of structs, unions, and boxed types
* Make `GObject::Object#store_pointer` private like in the superclass
* Handle creating SizedArray of uint8 from a string
* Improve derived class setup
* Improve List and SList methods
* Make `ByteArray#append` return self
* Improve packaging infrastructure (thanks, utkarsh2102!)
-------------------------------------------------------------------
Fri Sep 25 14:01:57 UTC 2020 - Stephan Kulow <coolo@suse.com>
updated to version 0.15.3
see installed Changelog.md
## 0.15.3 / 2020-06-14
* Officially support Ruby 2.7
* Officially drop support for Ruby 2.4
* Store classes representing inline callback types in the class that defines
them instead of in the main namespace, thus avoiding some potential name
clashes
* Update development dependencies
* Various code quality improvements
* Record approved licenses for dependencies
-------------------------------------------------------------------
Mon Feb 10 14:42:32 UTC 2020 - Stephan Kulow <coolo@suse.com>
- updated to version 0.15.2
see installed Changelog.md
## 0.15.2 / 2019-11-29
* Load girepository-1.0 library in a way that does not require installing a
development package.
## 0.15.1 / 2019-10-20
* Allow access to properties for unintrospectable classes.
## 0.15.0 / 2019-10-19
* Drop support for gobject-introspection below 1.46, the version available in
Ubuntu Xenial.
* Merge extended property getter and setter into regular ones. This means you
can always just use `#get_property` and `#set_property`. The methods
`#get_property_extended` and `#set_property_extended` are deprecated and will
be removed in GirFFI version 0.16 or later.
* Support setting ByteArray properties directly with string values.
* Target Ruby 2.4+
* Implement getting and setting of flag properties and GValues.
* Add support for basic hashtable values larger than pointer.
* Support unintrospectable classes not derived from GObject but from some other
fundamental object type.
* Make GPtrArray work with boxed types.
* Do not try to ref method reciever for struct instance methods marking the
instance receiver as transfer `:everything`.
* Support signals with GError arguments.
* Cache various methods on IBaseInfo and its subclasses.
* Generate aliases for accessor methods instead of relying on `method_missing`.
-------------------------------------------------------------------
Thu Nov 22 05:10:52 UTC 2018 - Stephan Kulow <coolo@suse.com>
- updated to version 0.14.1
see installed Changelog.md
## 0.14.1 / 2018-09-27
* Add enum values as constants in the generated module.
## 0.14.0 / 2018-09-25
* Do not generate field accessors for Object types. Object data should normally
not be accessed directly.
## 0.13.1 / 2018-09-24
* Silence some warnings.
* Allow overrides to be applied using `Module#prepend`, as an alternative to
alias chaining.
* Make `ZeroTerminated` array work with enum elements.
* Various refactorings.
* Improve consistency of conversion between symbols and integers for enum
types.
## 0.13.0 / 2018-09-08
* Drop support for Ruby 2.1
* Support GLib 2.58
* Add `setup_method!` and `setup_instance_method!`, that raise an error when
the given method is not found.
-------------------------------------------------------------------
Sun May 20 09:03:12 UTC 2018 - factory-auto@kulow.org
- updated to version 0.12.1
see installed Changelog.md
-------------------------------------------------------------------
Sun Mar 25 04:28:49 UTC 2018 - factory-auto@kulow.org
- updated to version 0.12.0
see installed Changelog.md
## 0.12.0 / 2018-03-024
* Drop support for GLib::IConv, which is no longer introspectable in glib 2.56.
* Drop support for Ruby 2.1 and 2.2
* Add support for Ruby 2.5
-------------------------------------------------------------------
Thu Sep 21 09:04:16 UTC 2017 - coolo@suse.com
- updated to version 0.11.4
see installed Changelog.md
## 0.11.4 / 2017-09-19
* Support glib 2.54 and gobject-introspection 1.54
-------------------------------------------------------------------
Tue May 23 09:54:52 UTC 2017 - coolo@suse.com
- updated to version 0.11.3
see installed Changelog.md
## 0.11.3 / 2017-05-05
* Allow conversion to native Boolean from any Ruby value
## 0.11.2 / 2017-04-20
* Allow vfunc implementation using a regular method
-------------------------------------------------------------------
Sun Jan 8 05:35:53 UTC 2017 - coolo@suse.com
- updated to version 0.11.1
see installed Changelog.md
## 0.11.1 / 2017-01-07
* Fix build on JRuby
* Allow clearing properties that take a GObject value
* Handle GLists requiring an Interface type
-------------------------------------------------------------------
Mon Oct 17 04:32:34 UTC 2016 - coolo@suse.com
- updated to version 0.11.0
see installed Changelog.md
## 0.11.0 / 2016-10-16
* Internal test and code improvements. Some internal APIs have been removed or
changed.
* Make Strv#each thread-safe.
* Drop support for CRuby 2.0.
* Move type_init and base Strv implementation into GObjectIntrospection, making
it stand-alone.
* Move GLib::Boolean to GirFFI::Boolean.
* Guard against instantiating abstract classes using the default constructor.
* Handle user-defined properties containing dashes
* Handle user-defined properties of a large number of types
-------------------------------------------------------------------
Sat Apr 30 04:34:35 UTC 2016 - coolo@suse.com
- updated to version 0.10.2
see installed Changelog.md
## 0.10.2 / 2016-04-29
* Update ffi-bit_masks dependency and remove monkey-patch
* Support gobject-introspection version 1.48
-------------------------------------------------------------------
Wed Apr 6 06:21:28 UTC 2016 - coolo@suse.com
- updated to version 0.10.1
see installed Changelog.md
## 0.10.1 / 2016-03-28
* Restore JRuby compatibility.
- Introduce #owned to flag unions and structs for release at garbage collection time.
In JRuby's implementation, FFI::Pointer does not implement #autorelease=
and #autorelease?, so this different technique is used to free pointers
allocated by GLib. It is in fact doubtful that setting autorelease had any
actual effect even on CRuby.
- Immediately free string pointers whose ownership is transfered. Again, the
#autorelease technique doesn't work on JRuby.
- Fix handling of callee-allocated out parameters in vfuncs. The put_pointer
method was wrongly called, and JRuby is more picky about what types that
method expects, exposing the bug.
## 0.10.0 / 2016-03-23
* Ensure ownership of created RubyClosure objects
## 0.10.0.pre1 / 2016-03-22
* Rework generated method code to use less indirection.
* Remove unused classes and methods
* Clearly distinguish boxed types from other structs
* Take ownership transfer into account in generated methods
* Properly free unions, structs and boxed types owned by gir_ffi
* Block access to fields that have disguised types
-------------------------------------------------------------------
Sun Mar 6 05:29:49 UTC 2016 - coolo@suse.com
- updated to version 0.9.5
see installed Changelog.md
## 0.9.5 / 2016-03-05
* Abort if modules were defined earlier, e.g., through the gems from the ruby-gnome family.
* Extend integration testing with GObjectIntrospection's test libraries.
* Find signals on user-defined types.
* Allow getting and setting of properties with a callback value.
* Handle pointer-like signal arguments such as GList.
* Handle static methods on interface modules.
* Free most self-allocated boxed types using GObject.boxed_free.
* Correctly assign length arguments for zero-terminated arguments
-------------------------------------------------------------------
Wed Mar 2 05:32:15 UTC 2016 - coolo@suse.com
- updated to version 0.9.4
see installed Changelog.md
## 0.9.4 / 2016-02-22
* Pass nil user data as null pointer, and store a missing callback as nil. This
avoids passing a null callback and a non-null user data value, which causes
problems with vte_terminal_spawn_sync() and perhaps other functions.
## 0.9.3 / 2016-02-20
* Make allow-none arguments optional in Ruby
* Add Clutter example
* Clean up mainloop example
* Use bit masks for relevant functions in GObjectIntrospection
-------------------------------------------------------------------
Tue Feb 9 05:28:38 UTC 2016 - coolo@suse.com
- updated to version 0.9.2
see installed Changelog.md
## 0.9.2 / 2016-02-05
* Do not create a property accessor when a corresponding getter method exists
-------------------------------------------------------------------
Fri Feb 5 05:33:59 UTC 2016 - coolo@suse.com
- updated to version 0.9.1
see installed Changelog.md
## 0.9.1 / 2016-02-04
* Add field accessors for Object types for fields that don't have corresponding
properties or getter methods
* Improve error handling for signals and properties that are not found
* Handle signals without GIR data
* Add interrupt handler to break out of main loops
-------------------------------------------------------------------
Mon Jan 25 05:51:13 UTC 2016 - coolo@suse.com
- updated to version 0.9.0
see installed Changelog.md
## 0.9.0 / 2016-01-21
* Propagate exceptions from callbacks during event loops
* Make default object constructor take a hash of properties
* Fix implementation of ObjectBase.object_class
* Make object class struct types inherit from their parent structs. This makes
parent methods and fields available.
* Use ObjectBase.object_class instead of old Object#type_class to find
properties
* Remove Object#type_class
* Automatically unpack GValue return values
* Use a BitMask to handle flag values
* Handle callback arguments as Ruby block arguments
* Use user data and destroy notify arguments to automate callback cleanup. This
means you can no longer supply your own user data and notifiers.
* Support CRuby 2.3 and Rubinius 3.x
* Drop support for JRuby 1.7 and Rubinius 2.x.
-------------------------------------------------------------------
Sat Dec 12 05:29:23 UTC 2015 - coolo@suse.com
- updated to version 0.8.6
see installed Changelog.md
## 0.8.6 / 2015-12-09
* Change handling of initializers in subclasses
* Subclasses with their own GType revert to the default GObject constructor
* Subclasses cannot use their parent classes' non-default contructors
* Find signals in ancestor classes of unintrospectable types
## 0.8.5 / 2015-12-04
* Improve GObject::Value
* Make #wrap_ruby_value work for object classes
* Use non-deprecated methods for getting and setting char values
* Make set_value and get_value work for interface types
-------------------------------------------------------------------
Fri Dec 4 05:29:34 UTC 2015 - coolo@suse.com
- updated to version 0.8.4
see installed Changelog.md
## 0.8.4 / 2015-12-03
* Handle classes with lower-case names
* Make ObjectBase a DataConverter so FFI handles it natively
* Use more of gobject-introspection's test libraries for testing
* Simplify constructor overrides: Custom initializers will no longer be
overwritten when setting up the corresponding constructor.
* Override GObject::Object.new to not require a GType argument
-------------------------------------------------------------------
Sat Nov 14 05:34:23 UTC 2015 - coolo@suse.com
- updated to version 0.8.3
see installed Changelog.md
## 0.8.3 / 2015-11-13
* Fix handling of signal handler return values
* Do not create setters for properties that cannot be set
-------------------------------------------------------------------
Sun Oct 11 04:28:57 UTC 2015 - coolo@suse.com
- updated to version 0.8.2
see installed Changelog.md
## 0.8.2 / 2015-10-10
* Use inherited constructor for boxed types
* Make InOutPointer work correctly for boxed types
* Make .for work with boxed types
* Make #set_value work with boxed types
* Make GObject::Value support nil type:
* Make .wrap_ruby_value(nil) work
* Make #set_value and #get_value work when the type is TYPE_INVALID
* Make .for_gtype work with TYPE_INVALID and TYPE_NONE
* Make .from(nil) return a GObject::Value instead of nil
* Make #set_ruby_value private
* Make GObject::Object.signal_emit work with gobject-introspection 1.46
* Replace or remove all custom .new methods
* Make setup_method and setup_instance_method handle symbol arguments
-------------------------------------------------------------------
Mon Oct 5 04:29:43 UTC 2015 - coolo@suse.com
- updated to version 0.8.1
see installed Changelog.md
## 0.8.1 / 2015-10-04
* Handle struct array fields with related length fields
* Update test library build process
-------------------------------------------------------------------
Sun Sep 20 04:28:55 UTC 2015 - coolo@suse.com
- updated to version 0.8.0
see installed Changelog.md
## 0.8.0 / 2015-09-18
* Drop official support for CRuby 1.9.3
* Officially support JRuby 9.0.0.0
* Change handling of initializers in custom subclasses
-------------------------------------------------------------------
Thu Sep 17 04:29:40 UTC 2015 - coolo@suse.com
- updated to version 0.7.10
see installed Changelog.md
## 0.7.10 / 2015-09-16
* Allow ffi-gobject and ffi-glib to be required directly
* Improve documentation
* Remove arbitrary refcount check from finalizer (by John Cupitt)
-------------------------------------------------------------------
Wed May 6 04:29:02 UTC 2015 - coolo@suse.com
- updated to version 0.7.9
see installed Changelog.md
## 0.7.9 / 2015-05-05
* Unset GValues in finalizer
* Dereference GObjects in finalizer
* Increase refcount for ingoing :object arguments of functions with full
ownership transfer
* Increase refcount for receiver arguments with full ownership transfer
* Increase refcount for ingoing :object arguments of vfuncs with no ownership
transfer
* Increase refcount for :object return values of vfuncs with full transfer
* Increase refcount for outgoing :object arguments of vfuncs with full ownership
transfer
* Apply more RuboCop rules
* Support Ruby 2.2
* Rename several methods. The old names are deprecated and will be removed in 0.8.0.
-------------------------------------------------------------------
Tue Feb 10 17:48:25 UTC 2015 - coolo@suse.com
- updated to version 0.7.8
-------------------------------------------------------------------
Mon Oct 13 12:11:32 UTC 2014 - coolo@suse.com
- adapt to new rubygem packaging
-------------------------------------------------------------------
Mon Jul 28 05:28:22 UTC 2014 - coolo@suse.com
- updated to version 0.7.5
* Use closures as signal handlers, rather than callbacks
* Obtain reference to GVariant on creation
* Make struct arguments work in JRuby
* Various refactoring & code cleanup
-------------------------------------------------------------------
Sun May 18 09:04:33 UTC 2014 - coolo@suse.com
- updated to version 0.7.4
* Correctly handle closure data arguments originating from C
* Handle callee-allocated simple types for callbacks and functions
* Handle callback out parameters that are zero-terminated arrays
* Handle virtual functions with GError arguments
* Support the GBytes type
* Handle virtual functions returning GObjects
* Avoid overwriting methods with getters for properties with dashes in the name
-------------------------------------------------------------------
Sun Apr 6 05:38:47 UTC 2014 - coolo@suse.com
- updated to version 0.7.3
* Restore proper handling of enums in callback arguments
* Simplify Rake configuration
* Various small fixes
* Remove remaining Ruby 1.8 version checks
-------------------------------------------------------------------
Mon Jan 20 09:29:44 UTC 2014 - coolo@suse.com
- updated to version 0.7.2
## 0.7.2 / 2014-01-18
* Officially drop Ruby 1.8 compatibility.
* Store GType of generated types in a constant, removing the need to generate a
separate get_gtype method for each type.
* Handle method setup for methods with unsafe names (i.e., g_iconv())
* Add override for GLib::IConv.open
* Type handling:
* Handle c arrays with separate length argument for signals
* Handle GHashTable values of type :gint8 and :guint32
* Handle signals with int64, Strv, uint64 arguments
* Handle arrays of integers cast as pointers
* Handle fields of callback type
* Handle nested GHashTable
* Argument handling:
* Refactor argument builder system
* Improve handling of user data arguments
* Handle signal and callback arguments with direction :out
* Handle aliases of container types by making the element type optional
* Handle signal and callback return values that need conversion
* User defined types:
* Pass explicit receiver to initialization block for UserDefinedTypeInfo
* Allow user defined types that are anonymous Ruby classes
* Register defined properties in a subclass
* Support setting virtual function implementations in a subclass
* Support adding an interface to a subclass
* Support implementing an interface's virtual functions in a subclass
* Use FFI's DataConvertor system to handle enums and callbacks
* Stop using deprecated GValueArray to construct argument array for signal_emit
* Make ITypeInfo#g_type return correct value for c arrays
* Make get_property and set_property less smart, moving conversion into the
property accessor definitions
* Make GObject::Value#get_value handle enums and flags
* Clean up deprecated methods
-------------------------------------------------------------------
Thu Oct 10 14:20:49 UTC 2013 - coolo@suse.com
- updated to version 0.6.7
* Uniform handling of callback, signal and method arguments
* Automatically convert array elements to GValue
* Support inline array fields
* Support struct fields
* Improved field setters and getters
* Support many more types of properties
* Support skipped arguments and return values
* Fix refcount for the result of IBaseInfo#container
* Check bounds in GLib::PtrArray#index and GLib::Array#index
* Deprecate several methods
* Lots of refactoring
-------------------------------------------------------------------
Fri Oct 4 07:18:00 UTC 2013 - coolo@suse.com
- updated to version 0.6.7
* Uniform handling of callback, signal and method arguments
* Automatically convert array elements to GValue
* Support inline array fields
* Support struct fields
* Improved field setters and getters
* Support many more types of properties
* Support skipped arguments and return values
* Fix refcount for the result of IBaseInfo#container
* Check bounds in GLib::PtrArray#index and GLib::Array#index
* Deprecate several methods
* Lots of refactoring
-------------------------------------------------------------------
Tue Aug 6 17:45:14 UTC 2013 - coolo@suse.com
- updated to version 0.6.6
* Handle GArrays of booleans and structs
* Improve handling of gbooleans
* Handle inline arrays of structs
* Implement equality operator for container types
* Fix element size calculation for GArray
-------------------------------------------------------------------
Wed Jul 31 05:45:56 UTC 2013 - coolo@suse.com
- updated to version 0.6.4
* Represent enum types by modules wrapping FFI::Enum
* Support functions on enums
* Handle zero-terminated arrays of types other than int32
* Add override for GLib::Variant#get_string
* Handle non-throwing arguments and return values of type GError
* Handle arguments and return values of type GPtrArray
* Handle caller-allocated arguments of type GArray
* Deprecate GObject::Value#ruby_value, replacing it with #get_value
-------------------------------------------------------------------
Sat Jun 15 17:56:01 UTC 2013 - coolo@suse.com
- updated to version 0.6.3
* Make use of enums as element type for GHashTable and other containers
work
* Handle introspectable types with introspectable parent types
* Handle SizedArray containing enums
-------------------------------------------------------------------
Sun Jun 9 06:44:17 UTC 2013 - coolo@suse.com
- updated to version 0.6.0
* Support Rubinius
* Lots of refactoring
-------------------------------------------------------------------
Sun May 26 16:14:27 UTC 2013 - coolo@suse.com
- updated to version 0.5.2
* Handle signal details in GObject.signal_connect and .signal_emit
* Make GValue#set_value check object GType compatibility
* Eliminate GObject::Helper module
* Handle more argument types
* Support Ruby 2.0.0
* Properly handle zero-terminated arrays of :filename
* Loosen dependencies on ffi and minitest
* Update ffi dependency
* Add finalizer to release memory for IBaseInfo and descendents
* Remove deprecated methods
* Remove pretty-printing functionality
* Refactor argument handling
-------------------------------------------------------------------
Sat Nov 3 07:59:42 UTC 2012 - coolo@suse.com
- updated to version 0.4.3
* Remove gobject-introspection version check
* Make tests pass with gobject-introspection 1.34
* Ongoing refactoring
-------------------------------------------------------------------
Sun Sep 23 15:20:38 UTC 2012 - coolo@suse.com
- updated to version 0.4.2
* Make objects and interfaces wrap poiners in the class that matches
their GType.
* Remove workarounds for older versions of gobject-introspection
* Mark certain methods as deprecated. These will be removed in 0.5.0
* Handle :filename type arguments in InPointer
* Refactoring
-------------------------------------------------------------------
Thu Aug 30 09:20:45 UTC 2012 - coolo@suse.com
- updated to version 0.4.0
-------------------------------------------------------------------
Fri Oct 14 12:46:14 UTC 2011 - dmacvicar@suse.de
- apply patch for
https://github.com/mvz/ruby-gir-ffi/issues/13
-------------------------------------------------------------------
Wed Oct 5 09:24:45 UTC 2011 - dmacvicar@suse.de
- move examples/ to -doc subpackage
- fix build
-------------------------------------------------------------------
Mon Sep 19 07:57:06 UTC 2011 - dmacvicar@suse.de
- update to 0.0.13
-------------------------------------------------------------------
Sun May 22 19:24:38 UTC 2011 - dmacvicar@suse.de
- initial package for 0.0.10