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

Merge pull request #1287 from lucab/ups/gboolean-return-codes

writer: check return code as gboolean

7ca0cbfc850e8bbc898134b9a16b5349e7f86932 authored about 3 years ago
writer: check return code as gboolean

This makes the check on return code stricter, by using the actual
gboolean value.

e3b7a42c0a7a3dc8c7cd0e088cdbe8dc6af2ba98 authored about 3 years ago
Merge pull request #1286 from bilelmoussaoui/patch-5

codgen: trim extra _async in future variants

a3709a9f9d375d87325c6ac5d55a6d35bacc73c9 authored about 3 years ago
codgen: trim extra _async in future variants

Fixes #1208

a00b9893e246f7a231d86dd5b6d3a788056ec578 authored about 3 years ago
Merge pull request #1285 from bilelmoussaoui/bilelmoussaoui/docs-fns

docs: allow to set doc_struct_name for global functions

3e58ef5ba5c76cddc3369c53bb71959379dd7fb0 authored about 3 years ago
docs: don't generate unwanted functions docs

Like async_finish, ignored ones or special ones

66323be35df7820870b7b0dc9b7374c22638672d authored about 3 years ago
docs: support doc_struct_name in methods as well

Useful for Widget's TickCallbackId for example

fe1ba1f1d614455fd58bf5eab070a86ea435c51b authored about 3 years ago
docs: allow to set doc_struct_name for global functions

Some of those are moved to a different struct in some cases
like gdk::Key and would be nice to h...

f80570e158ec3c894e1a54f858c8104d1aa6101a authored about 3 years ago
Merge pull request #1284 from bilelmoussaoui/bilelmoussaoui/docs-fns

docs: allow documenting global functions in traits

3830c66a883af1b757333674872cc279e7159d1c authored about 3 years ago
docs: allow documenting global functions in traits

b38a05db3b6abdf14ccd5ecda439be59e19b247e authored about 3 years ago
Merge pull request #1283 from bilelmoussaoui/patch-5

sys: stop importing time_t,

c3e8577085f54d0b142bb6b8e0f888b9e1109688 authored about 3 years ago
sys: stop importing time_t,

Nothing seems to be using it

Fixes #1276

fa9aaf3c3541a057b3ecaad67718536648c31346 authored about 3 years ago
Merge pull request #1282 from bilelmoussaoui/patch-5

docs: work around glib::Variant case

cb1a36ab80f81bbb0bf7367a20b9c87a6c42a05f authored about 3 years ago
docs: work around glib::Variant case

as it's a derive macro and a struct, specify the generated docs as a struct

2494f16b4f23ab1dc6c6aefdf79e09c2b96ebda0 authored about 3 years ago
Merge pull request #1281 from lucab/ups/codegen-assert-gerror-safety

codegen/function: assert sane GError behavior

878c7cdd654c009d49c67ff7e368448dc4b2d9db authored about 3 years ago
codegen/function: assert sane GError behavior

This introduces an assertion in generated code for FFI logic
making use of GError.
When the wrap...

d12d5b714a57ca66a73b1779d6ca90cbb051fc47 authored about 3 years ago
Merge pull request #1280 from sdroege/builder-must-use

Add `#[must_use]` to the autogenerated builder types

50377b88695979e542e4b276f6fead7a0c6d1d84 authored about 3 years ago
Fix various clippy warnings

a26090d5c2db309eec9be7c8221e1499675c293d authored about 3 years ago
Add `#[must_use]` to the autogenerated builder types

They don't do anything on their own and must be built to have any
effect.

Fixes https://github....

086742e6ec66c0fe20c5736be52926ec4165d047 authored about 3 years ago
Improve must-use message for `Builder::build()`

364908a94cf735efa3cfaa8c8cf5c654309950b0 authored about 3 years ago
Merge pull request #1275 from bilelmoussaoui/bilelmoussaoui/gir

gir: fix per emit_by_name change

a69abbe5ee1a745e554cac9433c65d2ac26a7688 authored about 3 years ago
gir: fix per emit_by_name change

ObjectExt::emit_by_name now return the correct type directly
instead of Option<Value>

6a4acaedaceb0539625dba7c70824a2a425c1083 authored about 3 years ago
Merge pull request #1274 from bilelmoussaoui/bilelmoussaoui/gi-docgen-optional

Mark gi-docgen as optional

768c48de2bf2875a9465699269a6cf3f99e981f2 authored about 3 years ago
codgen: detect cairo/graphene/Adwaita/Handy/GtkSourceview types

This should probably be rewritten someday to make use of some other config options

e3b56b2ccbc6b4e84bc5707f24b93128f932684b authored about 3 years ago
codgen: borrow some parts from gtk-doc parser to gi-docgen

Only the minimum that's known to not regress the general functionnality

e65154bf3f4796fe9460c74187697f065c1e6d77 authored about 3 years ago
config: add a use_gi_docgen option

This would be used for setting whether the bindings docs would use the gi-docgen parser
or the d...

23145033a8acc9f40f95b6398f36ec8019ac4443 authored about 3 years ago
codgen: use a different parser for docs depending on use_gi_docgen

86247a649b67714bcfb80f92754feee278986801 authored about 3 years ago
Merge pull request #1273 from GuillaumeGomez/ignore-remove-dir-all-err

Only use remove_dir_all if there is a folder to remove

d855b4c7cd916dc10ebae654ca42cea18efb15ee authored about 3 years ago
Only use remove_dir_all if there is a folder to remove

a5b78d95d400ed257e396089490fc5b3917d6850 authored about 3 years ago
Merge pull request #1271 from GuillaumeGomez/move-auto-removal

Move auto folder removal into gir directly

02eb99133f11749f3e6b959f060f55bbcffe9994 authored about 3 years ago
Move auto folder removal into gir directly

e754270bd6570e37e1b172984b262f6a46968007 authored about 3 years ago
Merge pull request #1272 from pbor/sysdeps

Update to system-deps 6

e73659189122e09b34d87f7a0fab0286e30d8137 authored about 3 years ago
Update to system-deps 6

439f47301f70963b3da177c92695aae65308078c authored about 3 years ago
Merge pull request #1270 from GuillaumeGomez/rm-auto

Remove "auto" folder when regenarating non-sys crate

9f22311a93bf49448cddb5e6ad80d373a494fa68 authored about 3 years ago
Remove "auto" folder when regenarating non-sys crate

3bd0a6e57474c0ce2c77698a9f17690814902c5e authored about 3 years ago
Merge pull request #1267 from bilelmoussaoui/patch-5

codegen: stop renaming crates inside sys generated code

6570de5a52cde8802842fde8acbd46204389ecdb authored about 3 years ago
tests: update per ffi crates renames

34c9b6e1eea0c05d60b15ec7fccd83d67e63ed92 authored about 3 years ago
codgen: stop renaming crates inside sys generated code

As per other 2018 edition changes, the renames should be done on Cargo.toml instead
Fixes #998

b432e3e50922f9243d0749e33ec6b66ca971596f authored about 3 years ago
Merge pull request #1266 from bilelmoussaoui/patch-5

codgen: don't generate empty impl blocks

ba0ee13f6f1eade812d0c05640d8fb37754db54b authored about 3 years ago
codgen: don't generate an extra impl for NONE const

8302383b039181069a739b96b568ba390cfa912e authored about 3 years ago
codgen: make some functions object::Info methods

1889a9536af2eaa0eacea0694a58890f774f93e4 authored about 3 years ago
codgen: don't generate empty impl blocks

Fixes #976

35df99822070b822a0e250f7229e93167ff9ac75 authored about 3 years ago
Merge pull request #1265 from bilelmoussaoui/patch-5

codgen: don't generate a functions mod if it's empty

af7318db247f6d43bc1490336fdd4e46480befb8 authored about 3 years ago
codgen: don't generate a functions mod if it's empty

Noticed that in https://gtk-rs.org/gtk4-rs/git/docs/gsk4/functions/index.html

c870b147b8a5774781f1685bdd24a0631f4da1bc authored about 3 years ago
Merge pull request #1264 from bilelmoussaoui/bilelmoussaoui/builders

codgen: generate builders inside a builders module

14108e9753fab8e53084486dd65c269f472b2f1d authored about 3 years ago
codgen: don't generate traits/builders mod if they are empty

ed042b357b9cc06c200cf4d2fc508b92fbf3b87d authored about 3 years ago
codgen: generate builders inside a builders module

This is a workaround to make sure the builders are usable from outside
without making the module...

b93bed276507b31b56b3ee388e4ec232696b7883 authored about 3 years ago
Merge pull request #1263 from bilelmoussaoui/patch-5

codgen: don't re-export builder types on crate root

6ed534660667170622ce1a0f2f08f53a86c7a429 authored about 3 years ago
codgen: generate a must_use attribute for builders

affd98b609632fc45036e65d976b3e29abcffe5a authored about 3 years ago
codgen: don't re-export builder types on crate root

they are available nowadays through Type::builder method

22629190464463854dbcbfedfcf8ba9b93bf0a9f authored about 3 years ago
Merge pull request #1262 from GuillaumeGomez/opaque-type

Correctly generate opaque types

61d2f713d84d670690c6918541d398463023c8b2 authored about 3 years ago
Correctly generate opaque types

943a23da0f6f0826e2d075f3f212e0dcc9bfb942 authored about 3 years ago
Merge pull request #1259 from bilelmoussaoui/patch-5

codgen: don't assume child props are gtk only

1c1c59f7f5b05d16503df1c4235923b0c250eefa authored about 3 years ago
codgen: don't assume child props are gtk only

libraries such as libhandy have those

Fixes #1096

05bb2fec5a78a7d8e9c05bd2fb781c253374924e authored about 3 years ago
Merge pull request #1258 from bilelmoussaoui/patch-5

codgen: fix a logic issue in version_condition_no_doc

df67128a87f0140e5a2dc845e86968f833c75503 authored about 3 years ago
codgen: fix a logic issue in version_condition_no_doc

If no version is set for another crate name, we should always add a guard
This caused some guar...

32ac0ecf4151364ec8866b37f3df4a70e17bee12 authored about 3 years ago
Merge pull request #1257 from bilelmoussaoui/patch-5

revert edition change

2b5250cca3f9bba0d09b7f442422d5a64f6b0fe2 authored about 3 years ago
revert edition change

d215aff430a015c91a236bbc0f2bc4b355749e02 authored about 3 years ago
Merge pull request #1256 from bilelmoussaoui/bilelmoussaoui/per-crate-min-version

per crate min version

f4ce88ca32478c13de6956ca88525d6b71d69bd9 authored about 3 years ago
Fix env::is_totally_deprecated logic

we should fallback to comparing against min_cfg_version
if there's no version to compare with

910a7132a7efcf4019166665e7f7ab8ae72f4052 authored about 3 years ago
codgen: prefix glib::wrapper! guards with crate name

similar to the former commit

9b38cc378ba72c3c4412fc0a6e67b061301a6ca8 authored about 3 years ago
codegen: prefix features with crate name

When generating a builder pattern; the properties could be
from a super-type interface/class tha...

4ba6926e8cec1f370ecf52981c6cacb87c29b90a authored about 3 years ago
use per crate min-version in builder props

986b3e79f5aebdf3be8b89c9dc32686a4ed1e350 authored about 3 years ago
config: add a min_version to external libraries

ee9d6ebfc90838753e3885220afdc45c91202bd8 authored about 3 years ago
make use of the per ns min version in deprecated conditions

2d171ede7c79d509a699a54612803429a35aeee9 authored about 3 years ago
codgen: compare per crate min version on object wrapper!

Instead of comparing the main crate's min_version with the required version of super-types
use t...

f4239b52d00648a49492d76472704927d20d370b authored about 3 years ago
make use of the per ns min version in deprecated conditions

f06e6f228a28bbbf5ddf65819b086bf784554fdc authored about 3 years ago
Merge pull request #1255 from bilelmoussaoui/bilelmoussaoui/objectext

codgen: simplify properties getters/setters

dd6854cae9fd070eb8331b44225e934fbc7bbb30 authored about 3 years ago
codegen: simplify getter/setter of properties

Use ObjectExt directly instead of going through ffi

9b389a79026b707925f16e6c7f0f2595a1c23a0c authored about 3 years ago
codegen: adapt signals emit_* per ObjectExt changes

c447bbe8cad7c3b619e4edd78e1b79ea72ca99ef authored about 3 years ago
Merge pull request #1253 from fengalin/none-associated-const

codegen: generate NONE constants as associated constants

e0b1709803a72df2223aace1eb15881c45bbbb96 authored about 3 years ago
codegen: generate NONE constants as associated constants

So that we can use `Pad::NONE` instead of crate global `NONE_PAD`.

See https://github.com/gtk-r...

cf4f728a93e3da9773d793f7fafcd6d5aeda50bb authored about 3 years ago
Merge pull request #1250 from bilelmoussaoui/patch-5

Revert #1248

8663b33dd5e8c284013c5ff5d306cc04b578d4d4 authored about 3 years ago
Revert #1248

the deprecated guard has no effect on impl

dddd3bdd5f56d6aac800d5d7c4f4258479bcc3bb authored about 3 years ago
Merge pull request #1245 from sdroege/nullable-paths

Fix support for nullable paths / OsStrings

3b7a04e5bda457b097b34b7db79e4f464320be7b authored about 3 years ago
Fix generation of nullable `impl AsRef<T>` parameters

And produce "to_glib_extra" code snippet in a single place consistently.

3cf1256ba6c2aa518d4cf55c1b5c9361cc978a46 authored about 3 years ago
Merge pull request #1248 from bilelmoussaoui/patch-5

codgen: generate deprecated cfg attribute for Default trait

9c362508f28e690005248372dbe0506f5b03540d authored about 3 years ago
codgen: generate deprecated cfg attribute for Default trait

If the constructor method is deprecated, the builder pattern should have a guard
as well

d3001e63a1b8cef0a915ae3ba40e492f19dceb88 authored about 3 years ago
Merge pull request #1244 from sdroege/edition-2021

Switch to 2021 edition

7b93dbf37ad73bd21125b5082c75210839541d9e authored about 3 years ago
Nullable AsRef parameters need to be placed into an Option

3a28f6c8747e8bee584b6c760112867a79b7fd09 authored about 3 years ago
Properly pass through nullability in function parameters

8b2f4ad11b40785226db81afa56686976b713276 authored about 3 years ago
Migrate -sys crates to edition 2021

364678bf8674d8bdda02fde783f639abd000d245 authored about 3 years ago
Update to 2021 edition

No changes needed.

2c0c8216297cc2843ec79fae88aa642f05f2a8be authored about 3 years ago
Merge pull request #1243 from sdroege/equal-fn-glib-translate

Add `use glib::translate::*` for generating the equal special function

f47b683f898759afc76fb088c07955a87be06a71 authored about 3 years ago
Add `use glib::translate::*` for generating the equal special function

b39d72a851ab5f3878389a8d0125ccec51ee0505 authored about 3 years ago
Merge pull request #1241 from atheriel/fix-sys-crate-import-name-in-book

book: Fix sys crate import to use the 'ffi' convention.

7e38713666f4ef798ddf4d997c8bf640337ac75a authored about 3 years ago
book: Fix sys crate import to use the 'ffi' convention.

Gir now generates code expecting the crate to be imported as 'ffi'.

72b2d281a95e0fefa5c1f7cbdd1711054e137b72 authored about 3 years ago
Merge pull request #1242 from atheriel/add-macros-to-book

book: Add a section on fixing missing macros

8063678f33f2afe6d83d68ef93fb4e1d40077770 authored about 3 years ago
book: Add a section on fixing missing macros.

Co-authored-by: pentamassiv <[email protected]>
Co-authored-by: Sebastian Dröge <slomo@coaxi...

51d6dc265861814fc852798bcbf7ff6bcf7bf26f authored about 3 years ago
Merge pull request #1240 from atheriel/remove-extern-crate-from-book

book: Remove suggestions to add `extern crate` imports

9c2218f95444816498c6ce03f1772c9d9a2d60e4 authored about 3 years ago
book: Remove suggestions to add 'extern crate' imports.

Gir generates edition = "2018" crates now, which do not require them:
https://doc.rust-lang.org/...

77df511b549e4e0f6d0c119602844dd8f7f7f3eb authored about 3 years ago
Merge pull request #1239 from atheriel/fix-girs-dir-cfg-in-book

book: Fix references to the `girs_dir` config option

cd7330f5f022754a353066ef4a4f9b9773487fb5 authored about 3 years ago
book: Fix references to the girs_dir config option.

0a0b1829caf111dd858721eda5ce33c198ee79c0 authored about 3 years ago
Merge pull request #1237 from bilelmoussaoui/patch-5

analysis: mark to_str functions as renamed

3cfd4200d742e856730b69df387182e314055ecd authored about 3 years ago
analysis: mark to_str functions as renamed

Instead of overriding their original names; this makes the docs work without workarounds
by mark...

c77cbe0d4d458be078d804a2a848b2295a6417f9 authored about 3 years ago
Merge pull request #1234 from sdroege/boxed-inline

Implement support for inline allocated Boxed types

a97e6087cf6b92c30daed1129afe97a22a8dac00 authored over 3 years ago
Add documentation about boxed_inline to the book

d7c183071c14c53a3a32441e058f8e63129f5c35 authored over 3 years ago
Correctly pass boxed-ness from the analysis to the codegen

Previously only AutoBoxed was considered boxed, which caused wrong code
generation for special f...

50dea7e2a9f9c7b6b813693daf1630f5fca1044d authored over 3 years ago
Generate layout tests for graphene types too

038739e070d722e62c58c8c310a91ade5c9c21f6 authored over 3 years ago
Implement workaround for GDate bitfields

47509fe91cc2aec026bb64b44bae6a82bf5f3725 authored over 3 years ago