Commit Graph

57 Commits

Author SHA1 Message Date
Felix Krull 75ce6dfcac Update gir version 2022-05-06 12:53:54 -04:00
Felix Krull d7ea8af665 Fix tests on nightly (by avoiding UB, even) 2022-05-06 12:53:54 -04:00
Felix Krull 48de859582 conf: remove a problematic function that was fixed in gir 2022-05-06 12:53:54 -04:00
Felix Krull 8d9aa7a857 Enable futures feature 2022-05-06 12:53:54 -04:00
Felix Krull 2c07302097 Update to new glib-rs versions 2022-05-06 12:53:54 -04:00
Felix Krull 5b6991af9c Bump gir version 2022-05-06 12:53:54 -04:00
Felix Krull 6a86340e9f conf: add some more loose types 2022-05-06 12:53:54 -04:00
Felix Krull 9e8192fec8 lib: add some glib types to generate more functions 2022-05-06 12:53:54 -04:00
Felix Krull b51b81dfdd lib: generate some additional classes 2022-05-06 12:53:54 -04:00
Felix Krull 01ae586f95 lib: brush up some docs 2022-05-06 12:53:54 -04:00
Felix Krull 87b34be855 lib: catch unwinds in RepoCheckoutFilter 2022-05-06 12:53:54 -04:00
Felix Krull 315cd5394e lib: fix clippy
Look, the type is fine. It's only an opaque thing to ensure lifetimes
anyway.
2022-05-06 12:53:54 -04:00
Felix Krull d74c0fc04f lib: add docs and safety notes to RepoCheckoutFilter 2022-05-06 12:53:54 -04:00
Felix Krull e39f8d7461 lib: add repo_checkout_filter function for better ergonomics 2022-05-06 12:53:54 -04:00
Felix Krull 903bd86e52 lib: clean up types for RepoCheckoutFilter 2022-05-06 12:53:54 -04:00
Felix Krull 94b524b21f lib: split out RepoCheckoutFilter 2022-05-06 12:53:54 -04:00
Felix Krull 19fdf706d5 lib: implement CheckoutOptions::filter (hackishly) 2022-05-06 12:53:54 -04:00
Felix Krull 4bab406a1a lib: satisfy clippy 2022-05-06 12:53:54 -04:00
Felix Krull aef78f3985 lib: handle ino cache and sepolicy options 2022-05-06 12:53:54 -04:00
Felix Krull eec4a2287d lib: RepoCheckoutAtOptions 2022-05-06 12:53:54 -04:00
Felix Krull b5fba187ff Fix clippy issues 2022-05-06 12:53:54 -04:00
Felix Krull dfcaf3eede Ignore clippy issues in generated code 2022-05-06 12:53:54 -04:00
Felix Krull 82ccc6065b Remove extraneous generated files 2022-05-06 12:53:54 -04:00
Felix Krull faef3562b8 collection_ref: add accessors for collection_id and ref_name 2022-05-06 12:53:54 -04:00
Felix Krull 91dc916615 Document ObjectName 2022-05-06 12:53:54 -04:00
Felix Krull 2892430fa7 Ignore deprecated (and reportedly unsafe) method 2022-05-06 12:53:54 -04:00
Felix Krull 1e744239cb Document Repo::new_for_path 2022-05-06 12:53:54 -04:00
Felix Krull 8fc327296e Improve doc blurb a bit 2022-05-06 12:53:54 -04:00
Felix Krull 0fe1b0d951 Add ignored test for empty FileInfo crash 2022-05-06 12:53:54 -04:00
Felix Krull 66cf9b288f Move extra Repo methods to plain impl as well 2022-05-06 12:53:54 -04:00
Felix Krull 493ba2e2f5 Update gir and regenerate 2022-05-06 12:53:54 -04:00
Felix Krull 15c8e6376d Add html_root_url 2022-05-06 12:53:54 -04:00
Felix Krull 2c7761047a Add fmt check, check, clippy 2022-05-06 12:53:54 -04:00
Felix Krull 0d33525815 Suppress unused import warnings in generated code 2022-05-06 12:53:54 -04:00
Felix Krull c7f158ad94 Disable CollectionRef tests on too-old features 2022-05-06 12:53:54 -04:00
Felix Krull ff3e268a3b Add some more unsorted types 2022-05-06 12:53:53 -04:00
Felix Krull ab3e2c908e Switch ObjectName to GString 2022-05-06 12:53:53 -04:00
Felix Krull f7963d86ad Fix 2022-05-06 12:53:53 -04:00
Felix Krull 2452dee279 Clarify reasons for async exclude 2022-05-06 12:53:53 -04:00
Felix Krull 3decba546e Switch to generated CollectionRef 2022-05-06 12:53:53 -04:00
Felix Krull 60960612a3 Reorganise test code
This way I don't need to differentiate between tests for generated code
and tests for hand-written code.
2022-05-06 12:53:53 -04:00
Felix Krull 61e205b5c3 Regenerate and update to new gir and glib-rs version 2022-05-06 12:53:53 -04:00
Felix Krull 82b61d0bae Add more types 2022-05-06 12:53:53 -04:00
Felix Krull 0bf8f3f52e Fix some issues with RepoFile 2022-05-06 12:53:53 -04:00
Felix Krull 26b5729c53 Add some tests for Repo 2022-05-06 12:53:53 -04:00
Felix Krull cfcc97d5f7 Fix a few more missing methods 2022-05-06 12:53:53 -04:00
Felix Krull 04bd81be0f Sanity test for ObjectName 2022-05-06 12:53:53 -04:00
Felix Krull c3f120e8b6 Add some sanity tests for CollectionRef 2022-05-06 12:53:53 -04:00
Felix Krull 8561eaaa8c Fix return type for CollectionRef::new
gir doesn't seem to generate this correctly. I have no clue why, there
are certainly some functions where nullable=1 causes an Option return.
2022-05-06 12:53:53 -04:00
Felix Krull 8bfefa2b14 Build CollectionRef manually
That way we can get Eq and Hash.
2022-05-06 12:53:53 -04:00