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

sys: add callback fields support in records

73c8a226b5df383996feb576a197e5fd33950538 authored over 9 years ago by Gleb Kozyrev <[email protected]>
parser: read the functions' `throws` attribute, insert GError parameter

8a2bc150dcb01cfac91cc804f04e0bea8d731e38 authored over 9 years ago by Gleb Kozyrev <[email protected]>
library: change glib_type_name to c_type for Enumeration and Bitfield

...and make the attribute mandatory. Unlike glib:type-name it's always present.

0ec71393f03b1bd3f3bf7ce04aee97b65ac1084f authored over 9 years ago by Gleb Kozyrev <[email protected]>
Reexport traits from mod traits to avoid importing each of them

599416702b750127d19eeb7acbca835a28b4c782 authored over 9 years ago by Gleb Kozyrev <[email protected]>
sys: generate record structs; ignore unions for now

036bff0b0c0d32c5a650a1ba710eebd10984a2c4 authored over 9 years ago by Gleb Kozyrev <[email protected]>
ffi_type: allow record, alias and function (callback) types

9536c2816dc12cd2913e0b4d757799d24b14d3e1 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Refactor ffi_type and support array types

cd6c7c3d7d51b4a55a3266d52fc8e892580545fc authored over 9 years ago by Gleb Kozyrev <[email protected]>
library: Actually add the `fields` filed to Record

b2daa298c79c036ba8f109ace0baead9c675bcf7 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Cargo.toml: exclude Gir.toml to avoid unnecessary rebuilds

When a build script is present cargo assumes that any file that is tracked by git and hasn't bee...

eda94c042469f1c0bd51381d3e986f3344c68e34 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Merge pull request #47 from EPashkin/change_ignore_rules_for_sys

Change ignoring rule for sys crate

919f98e00eb294abde164cb2f693ad9ef16e8385 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Change ignoring rule for sys crate

d62944f03aa67a718a3d174dabf1b2e66bb20899 authored over 9 years ago by Evgenii Pashkin <[email protected]>
library: remove unused trait AsArg

f637fdf3f23fdb1b1efe545d9fa78ff6e2095802 authored over 9 years ago by Gleb Kozyrev <[email protected]>
library: make Field::c_type optional

69941ca66f707bbf6d50a5f3433294f85cbd0075 authored over 9 years ago by Gleb Kozyrev <[email protected]>
parser: support callback (Function) field type

0202d482101020e2c0daf212e754afdf747deb07 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Add gshort and gushort fundamental types

d06337a057daaad898cc1f32c9f7a147df559907 authored over 9 years ago by Gleb Kozyrev <[email protected]>
parser: read record fields and support anonymous unions

333bfa220057361752cb0b07ef25533bf7803d65 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Merge pull request #46 from EPashkin/generate_sys_interface_functions

Generate sys interface functions

1119e1db7acdec7e5cfe0ad20734839bfac30dca authored over 9 years ago by Gleb Kozyrev <[email protected]>
Merge generate_class_funcs and generate_interface_funcs

c3b8401a2ac56132012cca892bc38d114638b286 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Make Function::c_identifier optional

4d7b5887b912e0f57a0a426276304ecb9b0747cc authored over 9 years ago by Gleb Kozyrev <[email protected]>
Generate sys interfaces functions

2da24076eb5a1847866e88b9cd93c317878e5a16 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Remove use &Vec

456af9997a4dbdc6db97fc101b5197c3826075ea authored over 9 years ago by Evgenii Pashkin <[email protected]>
Merge pull request #45 from EPashkin/out_parameters_as_return

Out parameters as return

fd7786d3015b893df4815680d54817dcaf60add2 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Generate functions bodies with out parameters as return

dc405b819da5e44d20a74d479f2492f4a557840d authored over 9 years ago by Evgenii Pashkin <[email protected]>
sys::functions: Generate callback typedefs

62f195aad4427353ac116e57e3926449931a2821 authored over 9 years ago by Gleb Kozyrev <[email protected]>
library: Impl Eq/Ord and MaybeRef<Function>

df2e148aa0626db64d38cc4b4d8470c014dcad8f authored over 9 years ago by Gleb Kozyrev <[email protected]>
library: s/Callback/Function/

Make the Type enum variant name match the enclosed type name.

d13c41eb654c4ffd82404a806a809566a7fe81ae authored over 9 years ago by Gleb Kozyrev <[email protected]>
Generate functions declarations with out parameters as return

1f1324d3958510a49db0a49fb6e21da327baeabe authored over 9 years ago by Evgenii Pashkin <[email protected]>
ffi_type: tweak error handling

Handle fix_external_name failure better.

876e8331e2b56e65dd5ecb56bdc8ce8a4482c01e authored over 9 years ago by Gleb Kozyrev <[email protected]>
Add another reserved word

5934be7998175c102fdbc3d531ec5bd14559e302 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Make sys::ffi_type process the c:type

The returned types should now more closely follow what's in the C headers.

7f3115d3b2622f6c0b3da113283f9c80aa7751ee authored over 9 years ago by Gleb Kozyrev <[email protected]>
sys: Fix the libc imports in the predefined code

b94f263bb98284d23dfbf488fa8952414732f798 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Read the c:type attribute of records and callbacks

ff9a135a4ebb78263b1981bd35237736a59348c4 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Add prefixed aliases for enums and bitfields

I'm having a hard time deciding if there must be a unified style
concerinig the prefixes and wha...

01141bfbd35563d4aa466a22d47ce28af68933a5 authored over 9 years ago by Gleb Kozyrev <[email protected]>
codegen::sys: Add VarArgs support

3c15908235d56520c147970828865117b1dd61c4 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Store the c:type attribute for fields and parameters

4ae0059149a4b6d841af8122baa302d67f3bbb29 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Reference the enum and bitfield types correctly

6cd0cfd8e0353f54ca6b36b9ce1f100ad18da8f5 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Generate enumeration and bitfield types

3e1fc512e726d759b8ade76752de21c663c620cd authored over 9 years ago by Gleb Kozyrev <[email protected]>
analysis::implements: use get_name instead of unwrapping Type

d64577bc84a884e6e94785eeae9259a1797e491d authored over 9 years ago by Gleb Kozyrev <[email protected]>
codegen::sys::lib: Generalize fn prepare

15cd99edb285eb25876c1783aa444e538d442da9 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Remove Type::as_class/to_class in favor of MaybeRef/MaybeRefAs

aeb5a36ba848694c6e3fc89b3f8aab3024e3d7fd authored over 9 years ago by Gleb Kozyrev <[email protected]>
Impl MaybeRef and MaybeRefAs for Type

fa0f8906f7987e3625a7f246f1fbdcef0261a4ba authored over 9 years ago by Gleb Kozyrev <[email protected]>
Implement Eq and Ord for some Types by comparing `glib_type_name`s

58f36932933b94a4d16ea0d5af436103701e4ea1 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Merge pull request #44 from EPashkin/generate_sys_structs

Generate sys structs

78ce4d9f95dd2db8f90472ce94e906d71ba40e32 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Move records to bottom, remove enums, mark others.

53dd8e790960866f0a50d498a34608b623212879 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Refactoring types iteration

416503a72a3a9f54931420f4c8e8be7663c4aaec authored over 9 years ago by Evgenii Pashkin <[email protected]>
Separate functions from others in sys

7d35985d7b8db041d6a68f4d5782e4f924d150a8 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Generate ffi structs for interfaces

e5ce1d1106a8cae78c530ddfe799405f31104810 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Add fn strip_prefix that will fixup enumeration and bitfield member names

54d450dc4fe7e9d5fe75d1b7a5b37d60bcbfbda4 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Generate ffi structs for classes

c8713f589ba6beba8340390858cdda1859690c8a authored over 9 years ago by Evgenii Pashkin <[email protected]>
Extract prepare_classes from generate_classes_funcs

37c5b1c29fdfafcc0191bd0f1660c8b58fdecacd authored over 9 years ago by Evgenii Pashkin <[email protected]>
Merge pull request #43 from EPashkin/expecitze

Replace unwrap_or_else(panic) with expect

9c41a6a6cf714879d5c7708d78432a982d66f0d7 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Replace unwrap_or_else(panic) with expect

bbda75e7206df9e16847b8d9d7827fde21849954 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Merge pull request #42 from EPashkin/generate_ffi_for_functions_of_classes

Fix external type names

6c39c15c0d31b05b4c4985eac6d13c341c1b2c27 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Merge pull request #41 from EPashkin/add_help_parameter

Add --help parameter

0abe0a6b5c4c62f260dd643f5b9a5b032196045e authored over 9 years ago by Gleb Kozyrev <[email protected]>
Add --help parameter

80cd3388e58c15548ea926c196baa8c3799f2782 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Fix external type names

4ffcdb0addc06f7951ce2ba336147aa1bb94574a authored over 9 years ago by Evgenii Pashkin <[email protected]>
Merge pull request #40 from EPashkin/generate_ffi_for_functions_of_classes

Generate ffi for functions of classes

cb0587844b6877b369b1e0feb314a662df7a5e86 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Fix Fundamental for ffi

18880d0a7a971aef3468b7baba7291f3048d3ff6 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Fix parameter names in sys

5fced138891b6b5016c92be2d3ccb467f6d85a89 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Generate parameters

b4a3dd61f75cc65eafbcb813fad0c0ad51993407 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Add prefix for external types

9bce3bd7516236d0566581ac8ab4f591c17ed4b4 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Comment functions with bad return types

47906921220496e2fb72b3dcf85e3273f48a749f authored over 9 years ago by Evgenii Pashkin <[email protected]>
Generate ffi classes functions with return types

02718e67f17c391368cdf99aae25940bf128dc3e authored over 9 years ago by Evgenii Pashkin <[email protected]>
Generate fii with static text and classes headers

0032400979e7672cf043afcaa3d8ea90413f3542 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Generate lib.rs with starting comments

015e1f5e7d24400a813c9db3e8010a0d5fde60ef authored over 9 years ago by Evgenii Pashkin <[email protected]>
Add work modes: normal (widgets) and sys (currently empty)

40211746a159bd05f98952a5321b495d1bce7438 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Merge pull request #39 from EPashkin/master

Swap codegen::general::start_comments parameters

5597e91ac8fe3dbefc69cd83ccc5d106397439f1 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Swap codegen::general::start_comments parameters

827d6b187dc7bcf09eb45e3b3b25a7abead00afb authored over 9 years ago by Evgenii Pashkin <[email protected]>
Replace the header comments with a note about being generated by gir

Mention the hash of the gir-files repository HEAD commit.

dc92ce12145e0e7072a6d674038f8f56fda8cc69 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Put the gir commit hash into the output files headers

2ef35ec993063bc29e5c87d6a44afd565932d425 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Add a build script to generate mod version with the current git hash

cf51f946715658e84792f0452d0c6366847c4efe authored over 9 years ago by Gleb Kozyrev <[email protected]>
Update the authors

dbd41f0a75e750f85e9ff31f962e76e1b4a4f681 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Add fn repo_hash

7e4548f0aa8564cbadd6bda83ebc91ec1943cfe6 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Add git2 dependency

8121058a50a41a8eaf6bec62d3b260e0bc75b1f3 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Merge pull request #38 from EPashkin/change_external_types_rule

Change external types rule

91afd1fcfb4b36918b60bec3642968cf2101f0d5 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Ignore external types, if they are not listed as "manual"

411b08e807fe005eb30712923120307363c6a3b0 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Refactoring detection of external types, and obtaining type status

39877e75e99daa61f67a32d14291a204d7d54256 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Merge pull request #37 from EPashkin/generate_functions_upcasts

Generate functions upcasts

8945b0fca89808ec4919bd1487fa202063040ecf authored over 9 years ago by Gleb Kozyrev <[email protected]>
Generate functions upcasts

b1967a44956f1f5e0f0a5c3eddde57e64b2fe260 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Merge pull request #35 from EPashkin/remove_typekind_widget

Remove typekind widget

d2e3aaab28abbad31d6ec5f223226ebbfd7c3a23 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Merge pull request #34 from EPashkin/generate_uses

Generate uses

88770829bc14c63f2add596d2cc9f2df99838cf2 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Generate uses from implements

947eaf5ae77f783474bba4874ef7154f6c16e47a authored over 9 years ago by Evgenii Pashkin <[email protected]>
Fixed usage of glib::types::Type

69fb1a3451f46bf9c80888b0b3070493c328e0c0 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Generate uses from functions

31dff53807a6f1dbc8d9f65d50f21c7981b39fa2 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Generate uses from parents

3454f0dc7e1276467fbc458236fc7e1321d71825 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Add TODO about gtk_dialog_get_content_area

1e43f2c1e38c53b600a65234e823f730ea7aa17a authored over 9 years ago by Evgenii Pashkin <[email protected]>
Remove trait IsWidget

263e190cd290b8904fe5479f9b4664be142cef62 authored over 9 years ago by Evgenii Pashkin <[email protected]>
TypeKind refactoring

4afbb821411e5e397b1e10ed16d90feb20226235 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Remove TypeKind::Widget

058af1a2e90f5e750037b2f60667dfd60b57d3a0 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Constructor generation don't use TypeKind::Widget

214b729150a6d70d388750ddcfce9c94dbed9529 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Generate common uses

16dc60f538f472ee45e001c0e4a73673eac8545e authored over 9 years ago by Evgenii Pashkin <[email protected]>
Merge pull request #32 from EPashkin/diferent_names_for_types_from_other_libs

Different names for types from other libs

3c9108929b460f6ee767f81d1aadaf62a7dbfe15 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Add Gtk.Alignment to Gir.toml to traitize Gtk.Bin

f176e1e846001b4a7003f21cbcbf51104e0f8cf1 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Add prefix to types from other libraries

862ff66813950fc864e3ea97830506feb08c14da authored over 9 years ago by Evgenii Pashkin <[email protected]>
Constant current library's namespace id

aadfb5224433c8e67f7f4467379f2292707bb447 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Fix command line parsing

f59743bd21779c69c4e886654bfe210400748cf3 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Split configs library_name to name and version

868a010bf559250afbffddf5ec97ae7803a27d41 authored over 9 years ago by Evgenii Pashkin <[email protected]>
Merge pull request #31 from EPashkin/combine_to_rust_types

Converted ToRustType and ToParameterRustType to functions

f9a87a2632725650bae61ac619a934f474624fa9 authored over 9 years ago by Gleb Kozyrev <[email protected]>
Converted to functions ToRustType and ToParameterRustType

e52edce93d1742a15b303192d9bd50112f60835b authored over 9 years ago by Evgenii Pashkin <[email protected]>
Merge pull request #28 from EPashkin/generate_function_body

Generate function body

b4ebde661c2ecaed0e90c415e374240e010f9c7d authored over 9 years ago by Gleb Kozyrev <[email protected]>