Skip to content

Commit 57a2b77

Browse files
Merge pull request #69 from gtk-rs/new-release-blog-post
Add new release blog post
2 parents c0b67a0 + 950bc58 commit 57a2b77

File tree

1 file changed

+208
-0
lines changed

1 file changed

+208
-0
lines changed

_posts/2018-03-17-new-release.md

Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
1+
---
2+
layout: post
3+
author: GuillaumeGomez
4+
title: New release, gio focused
5+
categories: [front, crates]
6+
date: 2018-03-17 18:00:00 +0000
7+
---
8+
9+
Hi everyone!
10+
11+
Now is the time for a new __Gtk-rs__ release! As said in the title, this time we focused our efforts on gio. A lot of types were missing, but thanks to this release, we made great improvements!
12+
13+
Of course, this isn't all we worked on in this release. For instance, we added support for the newer libraries' version, made a few things better and fixed some others.
14+
15+
We hope this new release will make your usage of __Gtk-rs__ even better. Have fun !
16+
17+
### Changes
18+
19+
For the interested ones, here is the list of the (major) changes:
20+
21+
[sys](https://github.com/gtk-rs/sys):
22+
23+
* [Fixed links in the README](https://github.com/gtk-rs/sys/pull/75)
24+
* [all around: disable print_system_libs in calls to pkg-config](https://github.com/gtk-rs/sys/pull/80)
25+
* [Generate GtkAtom and GIConv as disguised types](https://github.com/gtk-rs/sys/pull/79)
26+
* [Generate unions](https://github.com/gtk-rs/sys/pull/78)
27+
* [include LICENSE to sub-crates](https://github.com/gtk-rs/sys/pull/74)
28+
* [Regen with custom modules](https://github.com/gtk-rs/sys/pull/77)
29+
* [Generate more functions](https://github.com/gtk-rs/sys/pull/76)
30+
31+
[cairo](https://github.com/gtk-rs/cairo):
32+
33+
* [Add MIT license file to sys crate](https://github.com/gtk-rs/cairo/pull/174)
34+
* [deps: don't restrict c_vec version](https://github.com/gtk-rs/cairo/pull/173)
35+
* [Use winapi 0.3.2 on windows](https://github.com/gtk-rs/cairo/pull/169)
36+
37+
[sourceview](https://github.com/gtk-rs/sourceview):
38+
39+
* [Revert "Remove callback_guard"](https://github.com/gtk-rs/sourceview/pull/43)
40+
* [Remove gir-files from crate](https://github.com/gtk-rs/sourceview/pull/41)
41+
* [Generate unions in sourceview-sys](https://github.com/gtk-rs/sourceview/pull/40)
42+
* [Remove unnecessary properties](https://github.com/gtk-rs/sourceview/pull/39)
43+
* [Make CI test sourceview, not examples](https://github.com/gtk-rs/sourceview/pull/37)
44+
* [Add MIT license file to sys crate](https://github.com/gtk-rs/sourceview/pull/34)
45+
* [Fix docs feature dependence](https://github.com/gtk-rs/sourceview/pull/29)
46+
* [Typed properties](https://github.com/gtk-rs/sourceview/pull/28)
47+
48+
[glib](https://github.com/gtk-rs/glib):
49+
50+
* [Implement StaticType for Type](https://github.com/gtk-rs/glib/pull/297)
51+
* [Revert "Deprecate CallbackGuard"](https://github.com/gtk-rs/glib/pull/295)
52+
* [Deprecate CallbackGuard](https://github.com/gtk-rs/glib/pull/293)
53+
* [boxed, shared, object: impl FromGlibPtrNone for const](https://github.com/gtk-rs/glib/pull/291)
54+
* [Add GIOCondition](https://github.com/gtk-rs/glib/pull/290)
55+
* [Remove Default impl for SourceId](https://github.com/gtk-rs/glib/pull/288)
56+
* [Simplify KeyFile::to_data](https://github.com/gtk-rs/glib/pull/287)
57+
* [Unignore markup_escape_text](https://github.com/gtk-rs/glib/pull/286)
58+
* [Fix Char tests on platforms where c_char is u8 instead of i8](https://github.com/gtk-rs/glib/pull/285)
59+
* [Const override](https://github.com/gtk-rs/glib/pull/278)
60+
* [Char wrapper 2](https://github.com/gtk-rs/glib/pull/274)
61+
* [Allow FnOnce for MainContext::invoke()](https://github.com/gtk-rs/glib/pull/277)
62+
* [Allow creating Bytes from any AsRef<[u8]> by copying or taking ownership of it](https://github.com/gtk-rs/glib/pull/276)
63+
* [Add bindings for g_file_test() and make use of it in the Path transla…](https://github.com/gtk-rs/glib/pull/273)
64+
* [Add Char wrapper; implement KeyFile::set_list_separator() with it](https://github.com/gtk-rs/glib/pull/248)
65+
* [Don't call g_value_unset() on zeroed GValues](https://github.com/gtk-rs/glib/pull/272)
66+
* [Fix ToGlibContainerFromSlice impls for strings, boxed/object/shared s…](https://github.com/gtk-rs/glib/pull/270)
67+
* [Don't leak the GList/GSList in the from_glib_full_as_vec() impls for …](https://github.com/gtk-rs/glib/pull/271)
68+
* [Various Path FFI improvements](https://github.com/gtk-rs/glib/pull/269)
69+
* [bump lazy_static to 1.0](https://github.com/gtk-rs/glib/pull/268)
70+
* [Add Value::from_type() to initialize an empty value from a Type](https://github.com/gtk-rs/glib/pull/266)
71+
* [Implement Value traits for Vec<String> more consistently](https://github.com/gtk-rs/glib/pull/264)
72+
* [Add ToGlibContainerFromSlice impls for *const GList / GSList](https://github.com/gtk-rs/glib/pull/261)
73+
74+
[gio](https://github.com/gtk-rs/gio):
75+
76+
* [Use single_version_file option](https://github.com/gtk-rs/gio/pull/92)
77+
* [bind IOErrorEnum](https://github.com/gtk-rs/gio/pull/91)
78+
* [Restore callback guard](https://github.com/gtk-rs/gio/pull/90)
79+
* [Bind TlsFileDatabase](https://github.com/gtk-rs/gio/pull/89)
80+
* [More Tls bindings: missing files](https://github.com/gtk-rs/gio/pull/87)
81+
* [Generate Seekable](https://github.com/gtk-rs/gio/pull/88)
82+
* [More tls bindings](https://github.com/gtk-rs/gio/pull/83)
83+
* [Generate File{Input,Output,IO}Stream automatically](https://github.com/gtk-rs/gio/pull/86)
84+
* [Async callbacks](https://github.com/gtk-rs/gio/pull/85)
85+
* [Remove callback_guard](https://github.com/gtk-rs/gio/pull/84)
86+
* [Make stub traits under feature="dox" public to include in doc](https://github.com/gtk-rs/gio/pull/81)
87+
* [Fix doc build](https://github.com/gtk-rs/gio/pull/80)
88+
* [Fix-up Socket::create_source() implementation](https://github.com/gtk-rs/gio/pull/79)
89+
* [Add lots of Socket related bindings](https://github.com/gtk-rs/gio/pull/78)
90+
* [Remove unnecessary parentheses and properties](https://github.com/gtk-rs/gio/pull/77)
91+
* [trivial: GLib -> Gio in description](https://github.com/gtk-rs/gio/pull/73)
92+
* [Generate streams](https://github.com/gtk-rs/gio/pull/69)
93+
* [New types](https://github.com/gtk-rs/gio/pull/70)
94+
* [Typed properties](https://github.com/gtk-rs/gio/pull/66)
95+
* [Async code generation](https://github.com/gtk-rs/gio/pull/63)
96+
97+
[pango](https://github.com/gtk-rs/pango):
98+
99+
* [Remove manual FromGlibPtrNone<*const implementations](https://github.com/gtk-rs/pango/pull/101)
100+
101+
[gdk-pixbuf](https://github.com/gtk-rs/gdk-pixbuf):
102+
103+
* [Revert "Remove callback_guard"](https://github.com/gtk-rs/gdk-pixbuf/pull/67)
104+
* [Remove missed callback_guard](https://github.com/gtk-rs/gdk-pixbuf/pull/66)
105+
* [Remove gir-files from crate](https://github.com/gtk-rs/gdk-pixbuf/pull/64)
106+
* [Regen for Gdk-Pixbuf v2.36.8](https://github.com/gtk-rs/gdk-pixbuf/pull/61)
107+
* [Fix Pixbuf::put_pixel when alpha channel disabled](https://github.com/gtk-rs/gdk-pixbuf/pull/60)
108+
* [Fix PixbufFormat, regen Pixbuf](https://github.com/gtk-rs/gdk-pixbuf/pull/57)
109+
110+
[gdk](https://github.com/gtk-rs/gdk):
111+
112+
* [Revert missed file for "Remove callback_guard"](https://github.com/gtk-rs/gdk/pull/209)
113+
* [Revert "Remove callback_guard"](https://github.com/gtk-rs/gdk/pull/208)
114+
* [Remove unnecessary properties](https://github.com/gtk-rs/gdk/pull/203)
115+
* [Typed properties](https://github.com/gtk-rs/gdk/pull/199)
116+
117+
[gtk](https://github.com/gtk-rs/gtk):
118+
119+
* [Generate WidgetPath](https://github.com/gtk-rs/gtk/pull/630)
120+
* [Restore callback guard](https://github.com/gtk-rs/gtk/pull/631)
121+
* [Change version for Gtk.PadActionType](https://github.com/gtk-rs/gtk/pull/629)
122+
* [Fix TargetList::new implementation](https://github.com/gtk-rs/gtk/pull/622)
123+
* [Expose gtk_clipboard_set_with_data.](https://github.com/gtk-rs/gtk/pull/617)
124+
* [Regen for Gtk 3.22.26](https://github.com/gtk-rs/gtk/pull/620)
125+
* [Remove unnecessary parentheses and add missed properties](https://github.com/gtk-rs/gtk/pull/619)
126+
* [Add signal Overlay::get-child-position](https://github.com/gtk-rs/gtk/pull/613)
127+
* [Add WidgetExt::add_tick_callback binding](https://github.com/gtk-rs/gtk/pull/611)
128+
* [Add support for file chooser buttons](https://github.com/gtk-rs/gtk/pull/602)
129+
* [Generate new types](https://github.com/gtk-rs/gtk/pull/604)
130+
* [Change version for Gtk.StyleContextPrintFlags](https://github.com/gtk-rs/gtk/pull/603)
131+
* [Fix button role version](https://github.com/gtk-rs/gtk/pull/601)
132+
* [Typed properties](https://github.com/gtk-rs/gtk/pull/599)
133+
* [Print operation](https://github.com/gtk-rs/gtk/pull/596)
134+
135+
All this was possible thanks to the [gtk-rs/gir](https://github.com/gtk-rs//gir) project as well:
136+
* [Sort types and constants used in ABI tests by name at generation time.](https://github.com/gtk-rs/pangocairo/pull/570)
137+
* [ Support libraries with customized crate name when generating tests.](https://github.com/gtk-rs/pangocairo/pull/569)
138+
* [Include constants from enums and bitfields in ABI validation.](https://github.com/gtk-rs/pangocairo/pull/568)
139+
* [Cross validate constants in XML with those from C.](https://github.com/gtk-rs/pangocairo/pull/565)
140+
* [Cross validate Rust ABI with C ABI.](https://github.com/gtk-rs/pangocairo/pull/558)
141+
* [Cleanup redundant field names in struct initialization.](https://github.com/gtk-rs/pangocairo/pull/564)
142+
* [Use GObject status when generating types](https://github.com/gtk-rs/pangocairo/pull/563)
143+
* [Add single_version_file option](https://github.com/gtk-rs/pangocairo/pull/561)
144+
* [Use info instead of println in codegen.](https://github.com/gtk-rs/pangocairo/pull/560)
145+
* [Revert "Remove adding callback_guard"](https://github.com/gtk-rs/pangocairo/pull/559)
146+
* [Add support for string constants](https://github.com/gtk-rs/pangocairo/pull/557)
147+
* [codegen/build.rs: disable print_system_libs in calls to pkg-config](https://github.com/gtk-rs/pangocairo/pull/553)
148+
* [Prioritize RecordType::Refcounted over other record types](https://github.com/gtk-rs/pangocairo/pull/552)
149+
* [Fix panic on generating gdk-pixbuf-sys](https://github.com/gtk-rs/pangocairo/pull/551)
150+
* [Add glib::Priority as custom type, replace priorities in async functi…](https://github.com/gtk-rs/pangocairo/pull/550)
151+
* [Add support for async functions that have a non-trivial ..](https://github.com/gtk-rs/pangocairo/pull/548)
152+
* [Remove adding callback_guard](https://github.com/gtk-rs/pangocairo/pull/547)
153+
* [Alternative of General support for disguised types](https://github.com/gtk-rs/pangocairo/pull/546)
154+
* [General support for disguised types, but enabled only for GdkAtom and…](https://github.com/gtk-rs/pangocairo/pull/544)
155+
* [Allow generate record with g_boxed_copy and g_boxed_free](https://github.com/gtk-rs/pangocairo/pull/545)
156+
* [Add repositories urls in head comment](https://github.com/gtk-rs/pangocairo/pull/541)
157+
* [Update readme](https://github.com/gtk-rs/pangocairo/pull/540)
158+
* [doc: allow specifying a separate target path](https://github.com/gtk-rs/pangocairo/pull/539)
159+
* [Refactor imports.](https://github.com/gtk-rs/pangocairo/pull/538)
160+
* [Cleanup unused and commented out code.](https://github.com/gtk-rs/pangocairo/pull/536)
161+
* [Fix use declarations when generating code for glib.](https://github.com/gtk-rs/pangocairo/pull/537)
162+
* [Fix clippy warnings](https://github.com/gtk-rs/pangocairo/pull/532)
163+
* [Higher level API for XML parsing.](https://github.com/gtk-rs/pangocairo/pull/533)
164+
* [Include default value in to_bool function.](https://github.com/gtk-rs/pangocairo/pull/531)
165+
* [Allow non_snake_case to silence warnings in generated code.](https://github.com/gtk-rs/pangocairo/pull/530)
166+
* [Unions: Remove feature-gate for stable rustc](https://github.com/gtk-rs/pangocairo/pull/415)
167+
* [Union, Clone and Copy](https://github.com/gtk-rs/pangocairo/pull/527)
168+
* [Update dependencies](https://github.com/gtk-rs/pangocairo/pull/528)
169+
* [ Fill missing c:type in fields in postprocessing phase.](https://github.com/gtk-rs/pangocairo/pull/526)
170+
* [Fix property parent check](https://github.com/gtk-rs/pangocairo/pull/524)
171+
* [Remove unnecessary parentheses in async trampoline result](https://github.com/gtk-rs/pangocairo/pull/525)
172+
* [Avoid to generate variable names which are keywords](https://github.com/gtk-rs/pangocairo/pull/521)
173+
* [Fix async for boxed ](https://github.com/gtk-rs/pangocairo/pull/522)
174+
* [Generate deprecated attribute on deprecated functions](https://github.com/gtk-rs/pangocairo/pull/518)
175+
* [Generate const_override for objects trait functions that have const p…](https://github.com/gtk-rs/pangocairo/pull/515)
176+
* [Add detecting and including custom modules on sys mode](https://github.com/gtk-rs/pangocairo/pull/514)
177+
* [Various async function improvements](https://github.com/gtk-rs/pangocairo/pull/509)
178+
* [Fix renamed trait docs](https://github.com/gtk-rs/pangocairo/pull/501)
179+
* [Add generation `Char` and `UChar` parameters](https://github.com/gtk-rs/pangocairo/pull/489)
180+
* [Add new mode to see not bound type](https://github.com/gtk-rs/pangocairo/pull/505)
181+
* [Add version override for enums and flags](https://github.com/gtk-rs/pangocairo/pull/503)
182+
* [Use new Value::from_type() function for property getters](https://github.com/gtk-rs/pangocairo/pull/498)
183+
* [Get rid of some unneeded transmutes and other special cases for enum/…](https://github.com/gtk-rs/pangocairo/pull/496)
184+
* [Fix invalid [c_void] debug implementation](https://github.com/gtk-rs/pangocairo/pull/497)
185+
* [Add callback_guard to async trampolines](https://github.com/gtk-rs/pangocairo/pull/494)
186+
* [Add async method code generation](https://github.com/gtk-rs/pangocairo/pull/490)
187+
* [Add `use gio_ffi` if needed](https://github.com/gtk-rs/pangocairo/pull/493)
188+
* [Spelling correction in README.md](https://github.com/gtk-rs/pangocairo/pull/492)
189+
190+
Thanks to all of our contributors for their (awesome!) work for this release:
191+
192+
* [@RazrFalcon](https://github.com/RazrFalcon)
193+
* [@EPashkin](https://github.com/EPashkin)
194+
* [@MathieuDuponchelle](https://github.com/MathieuDuponchelle)
195+
* [@ignatenkobrain](https://github.com/ignatenkobrain)
196+
* [@GuillaumeGomez](https://github.com/GuillaumeGomez)
197+
* [@sdroege](https://github.com/sdroege)
198+
* [@talklittle](https://github.com/talklittle)
199+
* [@tmiasko](https://github.com/tmiasko)
200+
* [@federicomenaquintero](https://github.com/federicomenaquintero)
201+
* [@ystreet](https://github.com/ystreet)
202+
* [@antoyo](https://github.com/antoyo)
203+
* [@cai-lw](https://github.com/cai-lw)
204+
* [@fengalin](https://github.com/fengalin)
205+
* [@demurgos](https://github.com/demurgos)
206+
* [@gbip](https://github.com/gbip)
207+
* [@Luke-Nukem](https://github.com/Luke-Nukem)
208+
* [@her001](https://github.com/her001)

0 commit comments

Comments
 (0)