Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/gtk-rs/gir

Tool to generate rust bindings and user API for glib-based libraries
https://github.com/gtk-rs/gir

better callback check for user data parameter

ba7d0ec3d5d43a6341720999f06bda8136fb1227 authored about 6 years ago
Improve naming

ce2fa58fff80be5ab2541b04b0f9c2bb68f81a4f authored about 6 years ago
fix clippy warnings

1c7f140868b8fedbdb6f6ffe7a132c2e98d1ea24 authored about 6 years ago
add unreachable case

9bcf66f6f6afcfb7ede6fef44204766ebfe9d4e2 authored about 6 years ago
add comments, TODOs and FIXMEs

a9410152fcd37bc5956518e57c36e2625d89ca8d authored about 6 years ago
Move to multiple callbacks implementation

e861dff99dada08aac1d162dc5ebf88240bfae8f authored about 6 years ago
Better async detection

1b07f82ab4727ad5774a0f8228728179cafd82d2 authored about 6 years ago
fix destroy C func indentation

ec2108c4530c6863f456751ca115ecb1795cc141 authored about 6 years ago
Fix crash and invalid c_parameters filter

1097556e2b34111e99e0dce2a28fde5b626d0f3f authored about 6 years ago
Generate complete return types

9b4ada04268d9aefd0dbe3f83fcdad1c981eebc2 authored about 6 years ago
Start of work on codegen

614c099e95ff49dbfbf892ba54792b7e34f42641 authored about 6 years ago
more fixes

fc0b6f0cc10b93a869b27d1d6f0d0f817504f2bd authored about 6 years ago
Start of user callbacks generation

a765c8235e097a058dead58f3b02946cebc36d56 authored about 6 years ago
a bit more

8ab86a749c57459b7f48ed97c980a14d1a061440 authored about 6 years ago
more progress

1b6a9976044af68abdeb49ea8c8eeb6ef803246e authored about 6 years ago
big step forward

69b44216bf263cae50ab451ffb60969f4eee2324 authored about 6 years ago
Merge pull request #694 from sdroege/final-types

Implement configuration/detection for final types and use that inform…

4620f192e64954fc1d30b4a0120f67c6e4b6fd31 authored about 6 years ago
Implement configuration/detection for final types and use that information

Final types are those that can't have any further subclasses, and as
such we don't need to gener...

122dcbff6a37d48b670b1d9993b32cfbabbfe3ff authored about 6 years ago
Merge pull request #692 from sdroege/property-getters-setters-cast

Correctly cast pointers in property getters/setters if no trait is to…

2f0a3173b8cdf0e4b0f94fce5da033bfb137772a authored about 6 years ago
Correctly cast pointers in property getters/setters if no trait is to be generated

dd6fb0ac0a56ece0265d9f9b9e8c5a773b05fda1 authored about 6 years ago
Merge pull request #691 from EPashkin/fix_futures_bounds

Fix unused bounds in futures

cc4f7fc7f972c34a8e9e56bb3a0f2126d059a70c authored about 6 years ago
Fix unused bounds in futures

426b6a10afaf9c1c381f316f835164419353bba0 authored about 6 years ago
Merge pull request #689 from sdroege/is-a-cleanup

Update code generation for glib_wrapper! macro and IsA<_>, etc cleanup

3766446c75cddeaba79a313f63eef977fc6fc5f2 authored about 6 years ago
Remove unneeded ObjectType use statements

d96589b98a09983141026382aec43e02dd6a24e4 authored about 6 years ago
Don't add FFI crate import for super types from other crates

477f93a1cb1b03072c171b2d3a2e7870a08f841c authored about 6 years ago
Correctly generate child property getters/setters

f98d2c1e3f3bf2ca31f3f97c99e612790afd7979 authored about 6 years ago
Correctly generate parent classes/interfaces for out-of-crate types

e9a60ded33ed01775845f48ed99427a5c70ea02e authored about 6 years ago
Generate a typed None constant for references to Objects

This can be used in functions that take a Option<IsA<T>> for convenience
instead of passing None...

f9abd002a927188794c37f18d337bf0be124e71d authored about 6 years ago
Fix connect_raw() calls with changed glib API

9ea36ef3b6d7e6ed06168a9888e787b2fc1366fc authored about 6 years ago
Always generate IsA<T> bounds for classes even if they have no known subclasses here

They might have subclasses in another crate!

34c166acef444d405ad934d340c32ed80890e155 authored about 6 years ago
Correctly convert nullable IsA<_> trait bounds

9ac9ca5f1e8aa4ff05aa9660f19e9cd4e0dcae7b authored about 6 years ago
Always pass Rust class name to glib_wrapper! for Objects and never for Interfaces

And also never pass the FFI class name to interfaces, it's not needed.

At the same time, re-exp...

6c9f614612461b5c4abdc33bb8f22228f03fdde3 authored about 6 years ago
Get rid of Downcast trait and use the normal cast trait

d599b9f04407478a4c0d0af6f58d9e0cc2a642e9 authored about 6 years ago
Generate @extends, @implements and @requires for glib_wrapper! as needed

5a65843b09cf7225e78be631de997a252dbb50b3 authored about 6 years ago
Generate as_ref() calls for parameters that are used via IsA<T>

Including the &self parameter.

43b1ac84aaba0b6d3d3cd1a952905c270d87777c authored about 6 years ago
Generate glib_wrapper!() calls different for Interfaces and Objects

752b0ab34ec4901f4126294f2d7acbbfde4013de authored about 6 years ago
Don't handle internal/external parent types different in glib_wrapper!()

d591bb3f6084d5eaa92c270dfabd37c2b5a32f00 authored about 6 years ago
Merge pull request #679 from kornelski/donotedit

Mark autogenerated files as such

11adffa5f70a3f605fef76d18f9e8e1938e5fe78 authored about 6 years ago
Mark autogenerated files as such

7335802f72db8da16aa8d19c49dbf006dd77c5dd authored about 6 years ago
Merge pull request #687 from fengalin/master

Codegen: use new glib macro for BoolError

d41632a6bb6177bdedb26a1c44b8134fbc0a42b4 authored about 6 years ago
Codegen: use new glib macro for BoolError

See https://github.com/gtk-rs/glib/pull/419

fa84e33744ac70b05b2694efdf7af813f755a248 authored about 6 years ago
Merge pull request #680 from EPashkin/fix_clippy

Fix some clippy warnings

32d1716ebbb2fcf41000207e246961684aa7d0b8 authored about 6 years ago
Fix some clippy warnings

8d7c96b8eac59841283a4a4289affb23a7fd93f5 authored about 6 years ago
Merge pull request #678 from kornelski/include

Expose include paths to other build scripts

d08abf8d5b4caf541a92e32ce473fad32e1125e5 authored about 6 years ago
Expose include paths to other build scripts

16a3117d0976ac54d53cb42bc9746b6e568cfe59 authored about 6 years ago
Merge pull request #676 from tmiasko/drop-enum-special-case

Remove special generation for enums with a single member

29d6cb02e282254d710dde0c91fad869c93a6e8c authored about 6 years ago
Remove special generation for enums with a single member

The special case generates unqualified name in Rust, which crates
mismatch with version in C, si...

402068a6768887dc8576cbef49ce48536dfe68ea authored about 6 years ago
Merge pull request #675 from tmiasko/bitfields

They weren't meant to be bit fields

6e02e0e4a33bf0772882d31e126960cc86f2c717 authored about 6 years ago
They weren't meant to be bit fields

When bit field is not preceded by another bit field, generate the field
as if didn't specify bit...

69ecbe911e8b3491a8d98e20ba98c8232f5e398d authored about 6 years ago
Merge pull request #666 from philn/master

Generate code using CStringHolder instead of String

c5498ac40be9a340eb7fef0a66e80ca331bda846 authored about 6 years ago
Generate code using GString instead of String

Generated code relying on GString should be more efficient because it
reduces the amount of Rust...

3fef5be81ec8a1f4328956e94f7349ca9ea59658 authored about 6 years ago
Fixed used_rust_type

71c9b66574da2c67fd51ff60b9d4f3bb86656f2a authored about 6 years ago
Merge pull request #674 from sdroege/property-setter-glib

Add missing "glib" use statement for property setters

811e7118a5ac275a2ff912be72930285ca84a1d3 authored about 6 years ago
Add missing "glib" use statement for property setters

And remove unneeded IsA<Object> bound from them

e867b7d370da5b944a0e0f62c27daf5396025629 authored about 6 years ago
Merge pull request #673 from sdroege/raw-strings

Various minor fixes

d9c08e18fb67e0821da60790a2a3b67e3bf108dd authored about 6 years ago
Remove unneeded 'static trait bound for Ext trait impls

20cbed704c67c2fc705bab3983ab8803498c1655 authored about 6 years ago
Also generate display trait for shorthand types only if the global default says so

bcfdfe6584cb9d934eb22ac150889a7d8b1c9924 authored about 6 years ago
Only insert casts in property getters/setters if we're generating them for a trait

Otherwise compilation fails because type annotations would be needed.

6178a527b14e9f226db2b7f7758e23bf3cdc3488 authored about 6 years ago
Use raw 0-terminated strings for connecting to signals and accessing properties

Going through `s.to_glib_none().0` involves another allocation and copy.

83a8280c1b9cbdedee5cc57323ca1f424f94383f authored about 6 years ago
Merge pull request #672 from sdroege/fewer-bounds

Don't generate any but the main IsA<_> bound for extension traits

bdc44047fae3f30a5627469a795e7bf295489584 authored about 6 years ago
WIP: Don't generate any but the main IsA<_> bound for extension traits

Closes https://github.com/gtk-rs/gir/issues/670

435de992068c29d541eb51335fd51d47d6f16391 authored about 6 years ago
Merge pull request #671 from sdroege/glib-wrapper-standalone

Remove now unneeded use statements for the glib_wrapper! macro

6e9eca02454649f831b231e01e53c66ef4e6d2e3 authored about 6 years ago
Remove now unneeded use statements for the glib_wrapper! macro

Also get rid of some unused use statements from GIO async functions that
are only enabled with a...

dae84160f9714b276c73037e1738584f5297863c authored about 6 years ago
Merge pull request #669 from sdroege/subclass-basics

Implement basics for subclassing

2bb48b98ffca0e7ec5afa3c85338f576a8846dc2 authored about 6 years ago
Implement basics for subclassing

This passes the Rust class struct to glib_wrapper! if configured to do
so but still requires it ...

e90ceae476969c1ab58159962a1e015cb1bbf65c authored about 6 years ago
Merge pull request #668 from EPashkin/default_generate_display_trait

Default generate_display_trait

e578e4fed726255df8250321748e5200f1e79e2f authored about 6 years ago
Default generate_display_trait

00d10b14f7a5038e2fd4412752df37a2f6fb33c3 authored about 6 years ago
Merge pull request #665 from antoyo/fix/public-modules

Add pub for modules to use them from the gir library

59ca1f766b97c8149d7b0b85204652b00af02c78 authored about 6 years ago
Add pub for modules to use them from the gir library

e336ae987b32b167926ae61d01df5e78263e5b7d authored about 6 years ago
Merge pull request #663 from GuillaumeGomez/fix-display

Fix display

17bb02187cb33c1bb9b2e455b2f709116e91b54d authored about 6 years ago
improve CI

1a5313d7106317b08bbb8407f5d0defa07bacb55 authored about 6 years ago
Fix display generation

b0f0e01b3422e9ec32d777c894bdf9b4a018f56a authored about 6 years ago
Merge pull request #643 from GuillaumeGomez/enum-display

Generate Display impl for enums

1b7c3da9364325f841274aee1a6a08686b3a5667 authored about 6 years ago
Merge pull request #662 from GuillaumeGomez/fix-missing-glib

Fix missing glib

3783f8877d4b88884ed4b013450351dc36687922 authored about 6 years ago
Fix missing glib

e48e4dd4c577c7c29f31f27a0d5f61159ea31be7 authored about 6 years ago
Generate Display impl for enums and structs

810910a52c3c5c7a1d235ed0869d2e1609fd01ac authored about 6 years ago
Merge pull request #660 from GuillaumeGomez/remove-files

Remove useless files

6f103f856e9c2fbc366e14f1aaa92aefe3c84bd3 authored about 6 years ago
Remove useless files

8c8cb2d17d6cd31fbe38e006173c44b34cb774f3 authored about 6 years ago
Merge pull request #658 from sdroege/sys-tests-enums-bitfields-type

Cast enum/bitfield values to gint/guint for sys tests

dd33bdf92bed56c03e786693cb72833edee647fa authored about 6 years ago
Merge pull request #659 from sdroege/sys-tests-trim

Don't trim constants themselves when testing for their value

d72d335bacd1e86efbf05d19231f5b2dffe9b6da authored about 6 years ago
Don't trim constants themselves when testing for their value

Otherwise tests will fail if the constants start/end with whitespace.

Fixes https://github.com/...

9bd75d4478ae7721541b7d9400c3546c9f48bad6 authored about 6 years ago
Cast enum/bitfield values to gint/guint for sys tests

GLib assumes that these are gint/guint internally so sign differences
don't really make a differ...

4a109641f70ca34b3c6e48e5520a5dfa20ae4671 authored about 6 years ago
Merge pull request #653 from EPashkin/fix_array_of_pointers

Use inner c:type for arrays with fixed size in sys mode

b5ea06528f1c5e69c1104ac4e04182f9ecc7f031 authored about 6 years ago
Use inner c:type for arrays with fixed size in sys mode

b46f1d8f2a068ca1a27652b600d4bde24c767133 authored about 6 years ago
Merge pull request #651 from EPashkin/fix_properties_use_isa

Fix adding `use IsA` for properties

264af57dd0e93abd2d7e41d7b37319095829d478 authored about 6 years ago
Fix adding `use IsA` for properties

06f84cd48a5679fec9730b555855900a8c0977ab authored about 6 years ago
Merge pull request #649 from ceyusa/master

sys: generate cfg_condition for records

82cdb44aab86a4dbef0917b2965b04313e3139f5 authored about 6 years ago
sys: generate cfg_condition for records

Since GObject class structures are records from GIR perspective.

c3341eba0f9a13e7d9127ad25648553c1ba717fe authored about 6 years ago
Merge pull request #646 from ceyusa/features

Generate cfg_condition on sys mode

db3cb26f004b30a9caeb9e6295b2be4ef909fbb5 authored about 6 years ago
sys: fix typo

3e9ec17e64afda34bba703ec5079dd68ba77f5b8 authored about 6 years ago
update README.md with cfg_conditions for sys mode

3179b2c311d2b6dc9d3c5448499aa788c828fe98 authored about 6 years ago
sys: don't clear feature table

b50e052509e5c5fc35336d8d362add9a8ecb956d authored about 6 years ago
sys: generate cfg_condition for gobjects

2b85ac67e4d4dd0dd814bbed196d653284a65f7f authored about 6 years ago
sys: generate cfg_condition for constants

7f2ae38de2e57a92b2c63b1ee57c1805fe1d3811 authored about 6 years ago
sys: generate cfg_condition for functions

b731698e9350b77b413759514e3ce29d2f91e274 authored about 6 years ago
Merge pull request #647 from GuillaumeGomez/into-wrapping

Into wrapping

d7c3f32166e01601a521b312ec16a378c0741e9d authored about 6 years ago
Add Into wrapping for properties

f5ff12b108f40f3f4d82c5106f5d2cc339ef1321 authored about 6 years ago
Merge pull request #642 from EPashkin/numeric_enum_members

Add underscore to enum and bitflags member starting with digits

ffda6f9b6917f92f6b25f593bc59513c1a5ee82d authored over 6 years ago
Add underscore to enum and bitflags member starting with digits

c7fdd9f803474701b3c32df879893a77acd7c54d authored over 6 years ago
Merge pull request #641 from EPashkin/dont_generate_notify_for_constructonly_properties

Don't generare notify for ConstructOnly properties

c385982dbed5fdbdf1ae6f95c885a475cafc93f6 authored over 6 years ago