summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a --version option to g-ir-compiler and g-ir-generate. Fixes #55Christoph Reiter2018-12-196-0/+30
|
* gir/cairo: add cairo_rectangle_t. Fixes #74Christoph Reiter2018-12-191-0/+16
| | | | Patch taken from #74 (by Yeti)
* build: extend PYTHONPATH instead of replacing it. Fixes #126Christoph Reiter2018-12-192-3/+4
| | | | So we don't ignore any PYTHONPATH set by the user.
* automake: Use the wildcard function where needed. Fixes #160William Hua2018-12-191-8/+8
|
* meson: add default compiler warning flags and enable -Werror on CIChristoph Reiter2018-12-188-10/+119
| | | | | | | | This enables various compiler warnings project wide and disables the triggered ones for each library/executable. This should give us roughly the same behaviour as with autotools. Tested with gcc8 and clang7.
* meson: Always replace GIR_DIR in toolsEmmanuele Bassi2018-12-181-0/+1
| | | | Removes a warning on an unreplaced pattern.
* meson: Use `copy` instead of an empty configurationEmmanuele Bassi2018-12-181-1/+1
| | | | | The configure_file target has grown a `copy` argument to avoid using an empty configuration_data object since Meson 0.47.
* meson: Require 0.47Emmanuele Bassi2018-12-181-1/+1
| | | | | We should probably require a newer stable release, but this should be enough to remove the warnings.
* meson: only link against libpython on WindowsChristoph Reiter2018-12-171-1/+8
| | | | | Like we currently do with autotools. See https://github.com/mesonbuild/meson/issues/4117
* meson: install everything.c/h like with autotoolsChristoph Reiter2018-12-172-3/+10
| | | | | | This requires a code change in codegen.py to support the case whre output files are not installed in the working directory. Instead of using the output path for the header include use the relative path to the output source file.
* meson: install various test sources to match what autotools doesChristoph Reiter2018-12-171-0/+8
| | | | Not sure if they are used, but we should try to do the same thing as autotools for starters
* doctemplates: install devdocs/Gjs/method.tmplChristoph Reiter2018-12-171-0/+1
| | | | Noticed while comparing meson and autotools output
* Makefile-gir: parse giversion.c as well to get the annotationsChristoph Reiter2018-12-171-0/+1
| | | | Noticed when comparing meson and autotools build results
* meson: build/install mdextensions.py; and add a simple testChristoph Reiter2018-12-174-1/+20
| | | | | Add a simple test using the docwriter so we trigger the docwriter related Python imports.
* update-glib-annotations: make it work with meson and drop autotools supportChristoph Reiter2018-12-171-85/+67
| | | | | | | | | | Clean up the code and make it work with meson. Assume a fixed build dir to make it less magic and so we can give better error messages. This also removes all the include path logic because since c93dafe97e70 it no longer parses headers anyway and it wasn't doing anything with it. Also tested on Windows.
* Save preprocessor input and output files with save-tempsTomasz Miąsko2018-12-171-2/+5
| | | | | | | | | | When using `GI_SCANNER_DEBUG=save-temps`, the temporary input file to be preprocessed and temporary output file that is result of this preprocessing are retained for debugging purposes. Use together with `-v` option to actually determine names of those temporary files. This should make it easier to determine the source of parsing errors, like those described in the #247.
* version bumpChristoph Reiter2018-12-162-2/+2
|
* release1.59.1Christoph Reiter2018-12-161-0/+34
|
* Update glib annotationsChristoph Reiter2018-12-162-1/+67
|
* version bumpChristoph Reiter2018-12-162-2/+2
|
* autotools: dist newly added meson build filesChristoph Reiter2018-12-163-2/+5
|
* girepository: Add version macros and functions. Fixes #200Christoph Reiter2018-12-1619-17/+237
| | | | | | | | | | | This adds the following macros and functions: GI_MAJOR_VERSION, GI_MICRO_VERSION, GI_MINOR_VERSION, GI_CHECK_VERSION, gi_get_major_version,gi_get_micro_version, gi_get_minor_version. Since we share a prefix with glib we have to namespace these by using the gi_ prefix. g_gi would also work but we already export symbols with gi_ like gi_cclosure_marshal_generic(), gi_type_tag_get_ffi_type() and gi_type_info_extract_ffi_return_value(), so let's not add another naming scheme.
* Replace git.gnome.org by Gitlab URL in <GitRepository> in DOAP fileAndre Klapper2018-12-161-2/+2
|
* baseinfo: don't abort when calling g_base_info_get_name() on a GITypeInfo. ↵Christoph Reiter2018-12-152-0/+26
| | | | | | | | | | Fixes #96 GITypeInfo is a GIBaseInfo so calling g_base_info_get_name() on it should do something sensible. g_base_info_get_name() has always been documented to return NULL in case no name is available so return that instead.
* giobjectinfo: Fix some documentation for find_vfunc_using_interfacesJasper St. Pierre2018-12-151-2/+2
| | | | See #66
* docs: move g_type_tag_to_string() and g_info_type_to_string() to the right ↵Christoph Reiter2018-12-141-2/+2
| | | | | | section Move them to where the type is documented.
* ci: switch to a non-srcdir build with autotoolsChristoph Reiter2018-12-141-2/+7
| | | | It's easy to break non-srcdir builds so make sure we catch it in CI
* Merge branch 'offset-bytes' into 'master'Christoph Reiter2018-12-141-1/+1
|\ | | | | | | | | docs: Field offsets are in the units of bytes See merge request GNOME/gobject-introspection!97
| * docs: Field offsets are in the units of bytesTomasz Miąsko2018-12-141-1/+1
|/
* Merge branch 'girepo-docs-cleanup' into 'master'Christoph Reiter2018-12-1414-904/+29
|\ | | | | | | | | | | | | docs: Remove everything not related to libgirepository and restructure. Fixes #244 Closes #244 See merge request GNOME/gobject-introspection!96
| * docs: Remove everything not related to libgirepository and restructure. ↵Christoph Reiter2018-12-1414-904/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #244 The gtk-doc docs were including some bits of overal g-i docs but mostly unfinished and outdated. We now have the general docs in sphinx so remove the duplication and make the gtk-docs just about the libgirepository API and nothing more. This also renames some titles and fixes some missing links in the struct hierarchy while at it.
* | website: add a page with build/test instructionsChristoph Reiter2018-12-142-0/+69
| | | | | | | | | | | | My goal here is to keep it simple and get people started quickly. See !96
* | Replace Bugzilla by Gitlab URL in DOAP fileAndre Klapper2018-12-141-1/+1
|/
* Merge branch 'meson-offsets' into 'master'Christoph Reiter2018-12-112-2/+80
|\ | | | | | | | | meson: Port offsets tests See merge request GNOME/gobject-introspection!95
| * meson: Don't install test typelibsTomasz Miąsko2018-12-101-2/+0
| |
| * meson: Port offsets testsTomasz Miąsko2018-12-102-0/+80
|/
* Merge branch 'meson-repository' into 'master'Christoph Reiter2018-12-104-3/+146
|\ | | | | | | | | meson: Port repository tests See merge request GNOME/gobject-introspection!94
| * meson: Port repository testsTomasz Miąsko2018-12-104-3/+146
|/
* Merge branch 'ci-libgirepository-docs' into 'master'Christoph Reiter2018-12-1027-116/+132
|\ | | | | | | | | | | | | docs: update and push libgirepository docs to gitlab pages Closes #231 See merge request GNOME/gobject-introspection!91
| * docs: fix gtk-doc warnings and update version infosChristoph Reiter2018-12-0926-114/+113
| | | | | | | | | | | | | | | | Move things around and rename things until gtk-doc is happy. This also moves the "Since" annotations to the next stable releases and adds version added info for g_callable_info_get_instance_ownership_transfer() and g_struct_info_find_field().
| * ci: build libgirepository docs and push to gitlab pages. Fixes #231Christoph Reiter2018-12-091-2/+19
| |
* | Merge branch 'annotationparser' into 'master'Christoph Reiter2018-12-092-0/+22
|\ \ | | | | | | | | | | | | meson: Run annotationparser tests See merge request GNOME/gobject-introspection!92
| * | meson: Run annotationparser testsTomasz Miąsko2018-12-092-0/+22
| |/
* | Merge branch 'u' into 'master'Christoph Reiter2018-12-092-2/+2
|\ \ | |/ |/| | | | | Drop deprecated and redundant universal newline mode See merge request GNOME/gobject-introspection!93
| * Drop deprecated and redundant universal newline modeTomasz Miąsko2018-12-092-2/+2
|/
* Merge branch 'sourcescanner-empty-delcs' into 'master'Christoph Reiter2018-12-092-0/+10
|\ | | | | | | | | | | | | sourcescanner: Allow empty declarations. Fixes #216 Closes #216 See merge request GNOME/gobject-introspection!89
| * sourcescanner: Allow empty declarations. Fixes #216Christoph Reiter2018-12-092-0/+10
| | | | | | | | | | As far as I see these are not valid C and only allowed in C++11. But they do occur in the wild (mingw headers) so let's try to handle them.
* | NEWS: fix version numbersChristoph Reiter2018-12-092-5/+5
| | | | | | | | glib versions leaked
* | Merge branch 'slist-array' into 'master'Christoph Reiter2018-12-095-62/+53
|\ \ | | | | | | | | | | | | Replace linked lists with arrays in source scanner See merge request GNOME/gobject-introspection!90
| * | Replace linked lists with arrays in source scannerTomasz Miąsko2018-12-095-62/+53
|/ / | | | | | | Reduce total number of memory allocations and increase data locality.