Posts by federicomena@mastodon.social
(DIR) Post #2073700 by federicomena@mastodon.social
2018-12-18T01:54:20Z
0 likes, 2 repeats
The #rustlang code has finally reached librsvg's public API! I've just ported the first public C function to Rust.And with this, 18% of the code remains in C.
(DIR) Post #2210177 by federicomena@mastodon.social
2018-12-20T23:13:12Z
0 likes, 0 repeats
@brainwane wasn't there an episode of Better Call Saul with such an elements song?
(DIR) Post #2693442 by federicomena@mastodon.social
2019-01-06T04:27:50Z
1 likes, 2 repeats
Paolo Borelli just ported the last fields in RsvgHandlePrivate to Rust.The library has no useful C fields in its structs now. Everything is done on the Rust side.The C code is now just a few high-level functions, most of them the public API, which call into Rust immediately.
(DIR) Post #2717768 by federicomena@mastodon.social
2019-01-06T20:26:22Z
1 likes, 0 repeats
@bugaevc amazing, isn't it?Next step, probably: actually implementing the public API with a Rust-side gobject.
(DIR) Post #3223954 by federicomena@mastodon.social
2019-01-21T16:59:44Z
1 likes, 0 repeats
Librsvg 2.44.12 is out!This is a bugfix release.
(DIR) Post #3235403 by federicomena@mastodon.social
2019-01-21T23:21:14Z
1 likes, 0 repeats
It's kind of magic that a richer type system (stuff that lives only at compile-time) can actually lead to smaller memory usage, and no extra code.Currently refactoring a struct that has a field that decides what to do with it, into three newtypes over an inner struct without that field. The "extra code" was the one that decided upon that field; with the newtypes it's gone.
(DIR) Post #3235454 by federicomena@mastodon.social
2019-01-09T01:17:41Z
0 likes, 1 repeats
Librsvg 2.45.3 is out!This is the first release where all the real work of the library is done in #rustlang. The public API, still in C, is mostly just an empty shell now that immediately calls into Rust. I don't want to chant "WE DID IT" just yet, but I kind of want to, you know?Special thanks to Paolo Borelli for making this possible.Next step: actually implementing the GObject boilerplate in Rust.
(DIR) Post #3235518 by federicomena@mastodon.social
2018-10-26T22:31:38Z
0 likes, 1 repeats
Looks like librsvg's text engine needs a rewrite 😱
(DIR) Post #3302622 by federicomena@mastodon.social
2019-01-23T20:32:29Z
0 likes, 1 repeats
This is rather momentous... librsvg no longer has GObject boilerplate in C; it's all in #rustlang now - https://gitlab.gnome.org/federico/librsvg/blob/subclass/rsvg_internals/src/c_api.rsThis branch is not merged into master yet, because it needs glib-rs to have a new release with @slomo's subclassing code.
(DIR) Post #3307746 by federicomena@mastodon.social
2019-01-24T01:09:45Z
0 likes, 2 repeats
Librsvg's GObject boilerplate is in #rustlang now - https://people.gnome.org/~federico/blog/librsvg-gobject-in-rust.html
(DIR) Post #3324847 by federicomena@mastodon.social
2019-01-24T13:50:38Z
0 likes, 1 repeats
@zalandocalrissian awww, thank you :) The librsvg team is awesome, and Paolo is a rustification machine.
(DIR) Post #3343508 by federicomena@mastodon.social
2019-01-25T00:53:01Z
1 likes, 2 repeats
Brasero, a CD/DVD writer app, is unmaintained but still widely used. Would you like to maintain it? https://gitlab.gnome.org/GNOME/brasero
(DIR) Post #3343566 by federicomena@mastodon.social
2019-01-24T21:49:49Z
0 likes, 0 repeats
@modgethanc biiiiiiiiiiiiig mood. The first time a truck went too close to my bike, I had this exact same feeling.
(DIR) Post #3343569 by federicomena@mastodon.social
2019-01-25T00:54:01Z
1 likes, 0 repeats
@modgethanc stay safe!
(DIR) Post #9fOZ8LHL7ER2CIuXlw by federicomena@mastodon.social
2019-02-01T15:32:23Z
0 likes, 0 repeats
I've been in Mérida since Sunday. My mom died this morning.
(DIR) Post #9gJbyTz3sAEYeVjisq by federicomena@mastodon.social
2019-01-14T23:05:06Z
1 likes, 0 repeats
I wish the C++ standardization people would just pull a SVN and responsibly say, "that's it, folks, we are done here, better technology exists and we will not continue developing this language".
(DIR) Post #9gJcrJkPdGjipf225Y by federicomena@mastodon.social
2018-12-28T19:19:21Z
1 likes, 0 repeats
Current status: refactoring the way librsvg's configure.ac computes libtool version numbers, because they are all wrong.Also known as: the floor is lava, and the walls are lava, and a single character mistake will also turn the ceiling into lava.
(DIR) Post #9gJcsrsCEw0KxbPbY8 by federicomena@mastodon.social
2018-12-28T20:45:18Z
1 likes, 0 repeats
@alatiera "oh, man, I already have like five emails notifying me of new merge requests""I'll just turn on the computer and merge them""oh, man, I really want people to test this early""and I forgot to increase the library version number, since we have the first new API in eons""..."
(DIR) Post #9gambXwXO7GBSF8lkm by federicomena@mastodon.social
2019-01-02T23:54:05Z
1 likes, 0 repeats
@jalcine https://gitlab.gnome.org/GNOME/librsvg/blob/master/README.md - @brainwane audited it and told me what was missing; her consulting is *great* at this!
(DIR) Post #AY7VUNTMaNYMVEduSG by federicomena@mastodon.social
2017-12-04T20:51:19Z
1 likes, 0 repeats
TFW you changed 20 files, finally the tests pass, and now you must decide how to make small commits to make sense of this mess.