Change license name
[platform/upstream/gobject-introspection.git] / NEWS
1 1.70.0 - 2021-09-17
2 -------------------
3
4 * Update the GIR data for GLib, GObject, and GIO
5
6 1.69.0 - 2021-08-24
7 -------------------
8
9 * Fix build when gobject-introspection is a subproject :mr:`266`
10 * Add more float types :issue:`384`, :mr:`269`
11 * Make test suite work with cross-related options :issue:`227`
12 * Fix several leaks found by Coverity :mr:`272`
13 * Fix enum member c:identifier :mr:`264`
14 * Add g-ir-doc-tool man page :mr:`284`
15 * Export warnlib sources as variables :mr:`287`
16 * Update the GLib annotations :mr:`288`
17 * Add "final" class attribute :mr:`257`, :mr:`291`
18 * Add option to make .gir files installation paths configurable :mr:`63`
19 * Handle constructors with mismatched GTypes :issue:`399`, :mr:`292`
20 * Add property accessors annotations :issue:`13`, :mr:`279`
21
22 1.68.0 - 2021-03-19
23 -------------------
24
25 * Update GLib annotations :mr:`262`
26 * docs: cleanup :mr:`261`
27 * Fix syntax errors in gir-1.2.rnc :mr:`256`
28
29 1.67.1 - 2021-03-12
30 -------------------
31
32 * Requires Python 3.6+
33 * Update GLib annotations
34 * Fix compatibility with Python 3.10 :issue:`358`
35 * Fix build with GIR data disabled :mr:`248`
36 * Add test object for signal marshallers :mr:`259`
37
38 1.66.1 - 2020-10-03
39 -------------------
40
41 * Update glib annotations
42 * Windows: Fix running on different drives :mr:`239`
43 * gimarshallingtests: Add more tests for flags :mr:`235`
44 * Revert "giscanner: Fix section matching for documentation :mr:`237`" see :issue:`360`
45
46
47 1.66.0 - 2020-09-12
48 -------------------
49
50 * Support the gtk-doc action syntax :mr:`203`
51 * Meson fixes with glib and/or g-i is a subproject :mr:`206` :mr:`208`
52 * GITypeInfo storage type utility API :mr:`205`
53 * Meson: Fix build as subproject :mr:`214`
54 * Fixing XDG_DATA_DIRS logic :mr:`215`
55 * libgirepository: Add a couple missing nullable annotations :mr:`217` :mr:`225`
56 * dumper: Fix missing symbols in LTO case or with overridden symbol visibility settings :mr:`216`
57 * Documentation improvements: :mr:`220` :mr:`232`
58 * Remove old autoconf fallback code for the python tools :mr:`221`
59 * meson: Rename option `gi_cross_use_{host -> prebuilt}_gi` mr:`211`
60 * meson: Don't override finding executables when using pre-built tools. :mr:`212`
61 * meson: gir: add a dependency for g-ir-compiler for building .girs :mr:`228`
62 * meson: Use pkgconfig generator :mr:`207`
63 * Fix gi-dump-types.c to build on Windows :mr:`218`
64 * giscanner: parse block comments for members and fields :mr:`230`
65 * Add the notion of standalone doc sections :mr:`226`
66 * giscanner: Add support for using clang-cl :mr:`234`
67 * giscanner: Fix section matching for documentation :mr:`237`
68
69
70 1.64.1 - 2020-04-05
71 -------------------
72
73 * Replace calls to deprecated xml.etree.cElementTree removed in Python 3.9 :mr:`202` (:user:`Stephen Gallagher <sgallagher>`)
74 * gimarshallingtests: Use g_assert_cmpfloat_with_epsilon. Fixes tests on some architectures :mr:`200` (:user:`Iain Lane <iainl>`)
75
76
77 1.64.0 - 2020-03-07
78 -------------------
79
80 * Update glib annotations (:user:`Rico Tzschichholz <ricotz>`)
81 * Fix regress scanner tests for non-gcc/clang compilers :mr:`197` (:user:`Chun-wei Fan <fanc999>`)
82 * Document how to update glib GIR :mr:`199` (:user:`Bastien Nocera <hadess>`)
83
84
85 1.63.2 - 2020-01-17
86 -------------------
87
88 * Update glib annotations (:user:`Rico Tzschichholz <ricotz>`)
89 * Add GMemoryMonitor to glib annotations :mr:`193` (:user:`Bastien Nocera <hadess>`)
90 * Fix build reproducibility :mr:`192` (:user:`Joshua Watt <jpewhacker>`)
91 * Drop deprecated xml.etree.ElementTree.Element.getchildren() calls :mr:`194` (:user:`Miro Hrončok <hroncok>`)
92 * Support Python 3.8.x+ on Windows :mr:`195` (:user:`Chun-wei Fan <fanc999>`)
93 * Cross compile support :mr:`64` (:user:`Alexander Kanavin <alex.kanavin>`)
94 * meson: Visual Studio builds: Use -utf-8 where available :mr:`196` (:user:`Chun-wei Fan <fanc999>`)
95
96
97 1.63.1 - 2019-11-24
98 -------------------
99
100 * Update glib annotations (:user:`Rico Tzschichholz <ricotz>`)
101 * build: require meson 0.50.1
102 * build: use proper dylib versioning on macOS :mr:`177` (:user:`Tom Schoonjans  <tschoonj>`)
103 * scanner: Support array arguments with static keyword :mr:`176` (:user:`Emmanuele Bassi <ebassi>`)
104 * website: Add Ruby-GNOME to user list :mr:`178` (:user:`kojix2`)
105 * Fix non-libtool code being run with no nob-libtool dependencies :mr:`179` (:user:`Alistair Buxton <ali1234>`)
106 * meson: change "cairo" from a boolean to a feature option :mr:`180`
107 * meson: change "doctool" from a boolean to a feature option :mr:`181`
108 * Fix a memory leak in g_irepository_get_object_gtype_interfaces() :mr:`182` (:user:`Philip Chimento <ptomato>`)
109 * ccompiler.py: Fix macro defines with quotes on MSVC :mr:`183` (:user:`Chun-wei Fan <fanc999>`)
110 * tests: Actually test libregress by specifying the LD_LIBRARY_PATH :mr:`174` (:user:`Corentin Noël <tintou>`)
111 * examples: Make self contained and add build system integration examples :mr:`189`
112 * autotools: Make INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR respect prefix/datadir/libdir :mr:`190`
113 * girepository: Also store GType cache misses :mr:`191` (:user:`Carlos Garnacho <carlosg>`)
114 * docs: Document GI_CROSS_LAUNCHER envvar :mr:`175` (:user:`Emmanuele Bassi <ebassi>`)
115
116
117 1.62.0 - 2019-09-09
118 -------------------
119
120 * No changes since 1.61.2
121
122
123 1.61.2 - 2019-08-17
124 -------------------
125
126 * dumper: Use the distutils linker :mr:`170` (:user:`David Demelier <markand>`)
127 * structinfo: Fix offset in find_method() :mr:`171` (:user:`Florian Müllner <fmuellner>`)
128 * tests: Don't include "config.h" in installed files :mr:`172` (:user:`Philip Chimento <ptomato>`)
129 * meson: Make meson.override_find_program working on more complex use cases :mr:`173` (:user:`Thibault Saunier <thiblahute>`)
130
131
132 1.61.1 - 2019-08-07
133 -------------------
134
135 * Drop autotools build system :mr:`143`
136 * meson: require 0.49.2
137 * Update glib annotations (:user:`Rico Tzschichholz <ricotz>`)
138 * Add documentation to the RelaxNG schema :mr:`139` (:user:`David Bellot <yimyom>`)
139 * Unused variable fixes :mr:`147` (:user:`Philip Chimento <ptomato>`)
140 * cachestore: handle cache getting deleted while loading it :mr:`148`
141 * Visual Studio builds: Use msvc_recommended_pragmas.h from GLib :mr:`150` (:user:`Chun-wei Fan <fanc999>`)
142 * Add Vulkan gir :mr:`155` (:user:`Matthew Waters <ystreet00>`)
143 * Make g_irepository_get_object_gtype_interfaces actually work :mr:`157` (:user:`Philip Chimento <ptomato>`)
144 * gimarshallingtests: Add a marshalling test case for GPtrArrays and GArrays of structures :mr:`160` (:user:`Stéphane Seng <stephaneseng>`)
145 * scanner: parse and expose function macros :mr:`159` (:user:`Mathieu Duponchelle <mathieudu>`)
146 * meson: use pkg-config directly for libffi cflags and libs :mr:`162` (:user:`Aaron Boxer <boxerab>`)
147 * meson: Fix wrong dependency type check for gio-unix :issue:`166` (:user:`Brook Milligan <brook-milligan>`)
148 * regress: Add regression test for signal with GError param :mr:`169` (:user:`Philip Chimento <ptomato>`)
149
150
151 1.60.2 - 2019-06-15
152 -------------------
153
154 * docwriter: Fix Exception message attribute :mr:`146` (:user:`Philip Chimento <ptomato>`)
155 * meson: fix default cairo DLL name on Windows
156 * scanner: Fix error on Windows in case source files are on different drives
157 * gi-test: Fix gir file tests with MSVC :mr:`151` (:user:`Chun-wei Fan <fanc999>`)
158 * MSVC.README.rst: Update VS 2008/x64 build notes :mr:`152` (:user:`Chun-wei Fan <fanc999>`)
159 * giscanner/scannerlexer.l: Include io.h on Windows (:user:`Chun-wei Fan <fanc999>`)
160 * build: Force-include msvc_recommended_pragmas.h on Visual Studio :mr:`152` (:user:`Chun-wei Fan <fanc999>`)
161 * Update glib annotations (2.60.4)
162
163
164 1.60.1 - 2019-04-07
165 -------------------
166
167 * Update glib annotations (glib-2-60)
168 * shlibs: fall back to basename on macOS for relative paths :issue:`222`
169 * meson: always pass --quiet to g-ir-scanner
170 * docs: include '--c-include' in g-ir-scanner man page :issue:`275`
171 * tests: Fix compatibility with Python 3.5 :issue:`274` (:user:`Tomasz Miąsko <tmiasko>`)
172
173
174 1.60.0 - 2019-03-10
175 -------------------
176
177 NOTE: This is the last release supporting autotools. Please try building with
178 meson instead and report any problems. This does not affect projects using
179 autotools + g-i, only the build of g-i itself.
180
181 * gir: Update glib annotations :mr:`142` :mr:`141` (:user:`Andrea Azzarone <azzaronea>`)
182
183
184 1.59.5 - 2019-03-04
185 -------------------
186
187 * gir: Include C header in cairo gir file :mr:`138` (:user:`Tomasz Miąsko <tmiasko>`)
188 * ccompiler: restore customize_compiler() setup for macOS. :issue:`268`
189 * gir: skip glib-enumtypes.h for GObject-2.0 :mr:`140`
190
191
192 1.59.4 - 2019-02-04
193 -------------------
194
195 * tests: Add functions using flat struct arrays. :mr:`130` (:user:`Tomasz Miąsko <tmiasko>`)
196 * Clean shebangs out of non-executable scripts and drop exec perm from xmlwriter.py. :mr:`131` (:user:`Dominique Leuenberger <DimStar77>`)
197 * maintransformer: parse deprecation annotations for section blocks. :issue:`213` :mr:`132`
198 * repository: g_irepository_get_object_gtype_interfaces. :mr:`30` (:user:`Colin Walters <walters>`, :user:`Philip Chimento <ptomato>`)
199 * message: handle fatal errors even if warnings are disabled. :issue:`229` :mr:`126`
200 * autotools: Fix build with ``-Wl,--as-needed``. :issue:`226` :mr:`134`
201 * maintransformer: Don't warn on (optional) annotations on (inout) :mr:`135` (:user:`Guido Günther <guidog>`)
202 * girepository: Fix a possible use-after-free if g_mapped_file_new() fails
203   and fix possible leak of transitive dependency names. :mr:`136` (:user:`Elliott Sales de Andrade <QuLogic>`)
204
205
206 1.59.3 - 2019-01-08
207 -------------------
208
209 * meson: use underscore as a separator in build options (gtk-doc -> gtk_doc etc)
210   :mr:`129`
211 * website: add cppgir C++ binding
212   :mr:`124` (:user:`Mark Nauwelaerts <mnauw>`)
213 * scanner: Merge specifiers and qualifiers when merging basic types.
214   Fixes "unsigned char" being wrongly parsed as "unsigned" etc.
215   :mr:`125` (:user:`Tomasz Miąsko <tmiasko>`)
216 * meson: warn that not all tests will be run if building without cairo/doctool
217 * scanner: rework source root directory guessing code to not depend on the
218   build directory
219 * scanner: Remove incorrect c:type generated for array of synthesized unions
220   :mr:`127` (:user:`Tomasz Miąsko <tmiasko>`)
221 * scanner: Flatten multi-dimensional arrays fields
222   :mr:`128` (:user:`Tomasz Miąsko <tmiasko>`)
223
224
225 1.59.2 - 2019-01-04
226 -------------------
227
228 * Everything included in 1.58.3
229 * meson: Various fixes and all tests have been ported (0.47+ is required now)
230   :mr:`114` :mr:`110` etc.
231   (:user:`Tomasz Miąsko <tmiasko>`, :user:`Emmanuele Bassi <ebassi>`,
232   :user:`Christoph Reiter <creiter>`)
233 * scanner: Save preprocessor input and output files with ``save-temps``
234   :mr:`107` (:user:`Tomasz Miąsko <tmiasko>`)
235 * automake: Use the wildcard function where needed
236   :mr:`100` (:user:`William Hua <williamhua>`)
237 * build: extend ``PYTHONPATH`` instead of replacing it :mr:`101`
238 * gir/cairo: add ``cairo_rectangle_t`` :issue:`74` :mr:`103` (Yeti)
239 * Add a ``--version`` option to g-ir-compiler and g-ir-generate
240   :issue:`55` :mr:`106`
241 * tests: various test improvements
242   :mr:`111` :mr:`117` :mr:`119` (:user:`Tomasz Miąsko <tmiasko>`)
243 * ccompiler: don't use Python compiler flags
244   :issue:`150` :mr:`118` :mr:`120`
245   (:user:`Tomasz Miąsko <tmiasko>`, :user:`Christoph Reiter <creiter>`)
246 * parser: Do not bail out when parsing GIR files without doc positions
247   :mr:`121` (:user:`Emmanuele Bassi <ebassi>`)
248 * gimarshallingtests: Remove declarations of nonexistent functions
249   :mr:`123` (:user:`Philip Chimento <ptomato>`)
250
251
252 1.58.3 - 2018-12-30
253 -------------------
254
255 * docwriter: Support python-markdown 3.x
256   :issue:`250`
257 * scanner:  Define grefcount and gatomicrefcount as aliases to gint
258   :issue:`254` (:user:`Tomasz Miąsko <tmiasko>`)
259 * scanner: make using bool without stdbool include work again
260   :issue:`247`
261 * gir: Update glib annotations for glib 2.58.2
262
263
264 1.59.1 - 2018-12-16
265 -------------------
266
267 * Everything included in 1.58.2
268 * build: Drop Python 2 support, require Python 3.4+ :mr:`69`
269 * build: Add option to make .gir files installation paths configurable
270   :mr:`63` (:user:`Kai Kang <kai.7.kang>`)
271 * build: Skip gobject/gvaluecollector.h when constructing GObject GIR
272   :mr:`20` (:user:`Tomasz Miąsko <tmiasko>`)
273 * build: Port various tests to work with meson
274   :mr:`92` :mr:`94` :mr:`95` (:user:`Tomasz Miąsko <tmiasko>`)
275 * regress: Add test for write-only property
276   :mr:`67` (:user:`Philip Chimento <ptomato>`)
277 * regress: Implement interface and override properties
278   :mr:`59` (:user:`Philip Chimento <ptomato>`)
279 * writer: Include documentation and symbol position in source files
280   :mr:`75` (:user:`Thibault Saunier <thiblahute>`)
281 * giscanner: Print relative filename paths when warning
282   :mr:`74` (:user:`Jonas Ådahl <jadahl>`)
283 * giscanner: Define grefcount and gatomicrefcount as aliases to gint
284   :mr:`76` (:user:`Tomasz Miąsko <tmiasko>`)
285 * giscanner: Allow empty declarations. Fixes warnings with mingw headers.
286   :issue:`216` :mr:`89` (:user:`Christoph Reiter <creiter>`)
287 * giscanner: Replace linked lists with arrays in source scanner
288   :mr:`90` (:user:`Tomasz Miąsko <tmiasko>`)
289 * girepository: Various docs cleanups and fixes
290   :mr:`96` :mr:`97` :issue:`66` (:user:`Tomasz Miąsko <tmiasko>`,
291   :user:`Christoph Reiter <creiter>`, Jasper St. Pierre)
292 * girepository: Don't abort when calling g_base_info_get_name() on a GITypeInfo
293   :issue:`96` :mr:`99` (:user:`Christoph Reiter <creiter>`)
294 * girepository: Add version macros and functions
295   :issue:`200` :mr:`98` (:user:`Christoph Reiter <creiter>`)
296
297
298 1.58.2 - 2018-12-09
299 -------------------
300
301 * meson: Fix random build errors (mostly MSVC)
302   :mr:`88` (:user:`Tomasz Miąsko <tmiasko>`)
303 * scanner: Fix parsing of __typeof__ that is part of a cast expression
304   :mr:`78` (:user:`Tomasz Miąsko <tmiasko>`)
305 * scanner: Ignore __pragma keyword used by MSVC
306   :mr:`87` (:user:`Tomasz Miąsko <tmiasko>`)
307
308
309 1.58.1 - 2018-11-17
310 -------------------
311
312 * meson: Install warnlib :mr:`62` (:user:`Jan Tojnar <jtojnar>`)
313 * scanner: Parse __typeof__ and discard it
314   :mr:`71` (:user:`Jan Alexander Steffens <heftig>`)
315 * meson: add back /usr/bin/env to the python-cmd
316   :issue:`237` :mr:`70` (:user:`Håvard Graff <hgr>`)
317 * Fix non libtool build
318   :mr:`72` (:user:`Olivier Crête <ocrete>`)
319
320
321 1.58.0 - 2018-08-31
322 -------------------
323
324 ::
325
326     • Changes:
327       - Update annotations imported from GLib, and require GLib 2.58
328       - Ensure that G-I builds on macOS
329       - Add a --version argument to the Python-based tools
330       - Allow selecting the output format for g-ir-doc-tool
331       - Drop the Visual Studio templates
332       - Use Sphinx to generate the user documentation; gtk-doc is still
333         required for the girepository-1.0 C API reference
334       - Support all _Float* C types from ISO/IEC TS 18661-3:2015
335       - The autotools build now uses autoconf-archive
336       - g-ir-doc-tool: Add DevDocs formatting for GJS (--format=devdocs)
337         This adds a dependency on the Python markdown package
338
339     • Issues resolved on gitlab.gnome.org:
340       - #139 - make check fails for gobject-introspection 1.44.0 on
341                OS X 10.10.4
342       - #184 - Default element-type not set for GByteArray object
343                properties
344       - #189 - c:type missing pointer/array information in GIR for
345                C array parameters
346       - #134 - Allow multiple output formats
347       - #218 - gtk2 hits unreachable code after enable -Wswitch-default
348       - #113 - Memory leaks in GI regress and marshalling tests property
349                setters
350
351     • Bugs resolved on bugzilla.gnome.org:
352       - #702788 - The girepository DLL is acquiring pointers incorrectly
353                   on Windows/x64
354
355     • Contributors:
356       Tomasz Miąsko, Emmanuele Bassi, Rico Tzschichholz, Chun-wei Fan,
357       Philip Chimento, Tom Schoonjans, Christoph Reiter, Ray Donnelly,
358       Marcus Calhoun-Lopez, Florian Müllner, Evan Welsh, Mathieu Duponchelle
359
360 1.56 - 2018-03-13
361 -----------------
362
363 ::
364
365     • Changes:
366       - Add _Float128 to the base C types
367       - Update annotations imported from GLib, and require GLib 2.56
368
369     • Issues resolved on gitlab.gnome.org:
370       - #173 - Fails to parse flag-constants
371       - #175 - writer: Include documentation and symbol position in
372                source files
373       - #120 - adding subdir-objects to AM_INIT_AUTOMAKE
374       - #190 - const qualifier dropped from c:type on (type filename)
375                parameters
376       - #188 - giscanner: don't print "suppressed N warnings" if --quiet
377                was specified
378
379     • Bugs resolved on bugzilla.gnome.org:
380       - #764791 - gitypelib.c: increase #define MAX_NAME_LEN from 200 to 255
381       - #756921 - g-ir-scanner does not recognize _Thread_local
382       - #791991 - Broken shared-library value in gir files on *BSD when
383                   builddir includes the name of the library
384       - #791902 - Building using non-libtool (e.g., meson) on MinGW
385       - #629667 - MY_ENUM_VALUE = <constant> only works for last member
386       - #699354 - g-ir-compiler man page for --shared-library incorrectly
387                   says "lib" and ".so" should be removed
388       - #761985 - os.name can be wrong in some context
389       - #699328 - GI_TYPELIB_PATH is undocumented
390
391     • Contributors:
392       Ting-Wei Lan, Leslie Giles, Rico Tzschichholz, Christoph Reiter,
393       Nicola Fontana, Tomasz Miąsko, Emmanuele Bassi, Philip Chimento,
394       Karl-Philipp Richter
395
396 .. note::
397
398     For older releases, see the Git log