| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
GTest can use environment variables to find the test data in the source
and build directory, so we don't need to copy files around using Python
scripts.
(cherry picked from commit 9642e81c73093e4dde11f8c047a41771b884e3d7)
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
|
|
|
|
|
|
|
|
| |
This allows finding Python3 on Windows, in order to build and run the
tests.
https://bugzilla.gnome.org/show_bug.cgi?id=780550
(cherry picked from commit 59762fabeae64f9b80993729ef38df730686a3f8)
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
|
|
|
|
| |
(cherry picked from commit 373711d04fa4d7a29599f41a65ac303f99d34278)
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
|
|
|
|
| |
We need to point to the binary, but we're using the wrong name for the
Exec key.
|
| |
|
| |
|
|
|
|
| |
The `reference` path has been removed.
|
|
|
|
|
| |
Replace the build instruction and dependencies to point at Meson instead
of autotools.
|
|
|
|
|
| |
Like we do in the Meson build, the Autotools build should reset the
interface age every time we do a development cycle.
|
| |
|
| |
|
|
|
|
|
|
| |
The package name is "JSON-GLib"; the tarball name is "json-glib".
The wiki page has also been moved.
|
|
|
|
|
| |
There's no point in having the API reference in its own sub-directory:
it's the only documentation we have.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
During stable cycles we want the interface age to match the micro
version, as there are no symbol additions if the minor version is
an even number.
Conversely, we want the interface age to reset to 0, as there are
no expectations of ABI compatibility for newly added symbols.
The current check uses the micro version, instead of the odd version,
which breaks the logic above.
This ensures that the soname generated via the Meson build is the
same as the one generated by the Autotools one.
|
|
|
|
| |
This follows the autotools builds and Meson builds.
|
|
|
|
| |
Ensure that autotools and Meson behave similarly.
|
|
|
|
| |
It's an internal header.
|
|
|
|
|
| |
We don't need to show what they evaluate to, given that the value
changes with every release.
|
|
|
|
|
| |
The API reference should list the header that user code should include
in order to use the API.
|
|
|
|
|
| |
Link the built API reference on developer.gnome.org, and the JSON
website.
|
| |
|
|
|
|
| |
We depend on gio-2.0, which strings along glib-2.0 and gobject-2.0.
|
|
|
|
| |
We need to specify the sub-directory for the inclusion directive.
|
|
|
|
|
|
| |
The autotools build specifies the include header with the --c-include
argument for g-ir-scanner, so we need to do the same when building with
Meson.
|
|
|
|
|
| |
We have a couple of generated header files, which means we need to list
them as sources for the introspection scanner.
|
|
|
|
|
|
|
| |
We don't need to make internal targets depend on generated sources, just
on the generated header files. Depending on the generated sources will
cause Meson to compile the generated sources once for each internal
target.
|
|
|
|
| |
The single include 'json-glib.h' header is missing.
|
|
|
|
| |
The file is generated at configuration time.
|
| |
|
|
|
|
|
|
| |
Brown paper bag release to re-generate the dist tarball.
See: https://bugzilla.gnome.org/show_bug.cgi?id=779980
|
|
|
|
|
|
| |
We should install our tests in order to get them executed in
environments like GNOME Continuous and other continuous delivery
systems.
|
|
|
|
| |
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
|
|
|
|
|
|
|
| |
Meson encountered an error in file meson.build, line 30, column 0:
Subtraction works only with integers.
Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
|
| |
|
| |
|
|
|
|
|
| |
This is shared between the autotools and the Meson build, whereas
package_api_version is Meson-only.
|
|
|
|
|
|
|
| |
We want more warnings to be printed out when build json-glib.
We also want to take advantage of linker flags like z,relro and z,now,
as well as -Bsymbolic-functions.
|
|
|
|
|
|
|
| |
We need to tell the compiler that the 3rd argument is a format-like
string, and that the arguments for that come in the variadic arguments
list; this allows compilers like GCC to do validation on the format
string itself, and avoid a whole class of bugs.
|
|
|
|
| |
This way we can build a dist tarball generated by autotools with Meson.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=773603
|
|
|
|
|
|
| |
A simple case of calling xsltproc with the right doctype.
https://bugzilla.gnome.org/show_bug.cgi?id=773603
|
|
|
|
|
|
| |
We can use the gnome module to generate the JSON-GLib API reference.
https://bugzilla.gnome.org/show_bug.cgi?id=773603
|
|
|
|
|
|
| |
Clean up the coding style, and make it a bit more idiomatic.
https://bugzilla.gnome.org/show_bug.cgi?id=773603
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=773603
|
|
|
|
| |
Original patch by: Thibault Saunier <tsaunier@gnome.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When converting json to its string representation, whole-doubles (such
as 1.0) would be converted into strings without decimals ("1"). That can
be inconvenient e.g. when converting from/to GVariants.
To avoid this, append '.0' to the string representation for doubles if
they lost their decimals in the conversion.
Also add / update unit tests for this.
https://bugzilla.gnome.org/show_bug.cgi?id=753763
|
|
|
|
|
|
| |
Or compilation fails with -Werror
https://bugzilla.gnome.org/show_bug.cgi?id=773604
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=773603
|
|
|
|
|
|
|
| |
We seal nodes conditionally on the :immutable property, but we are
sealing their contents unconditionally.
https://bugzilla.gnome.org/show_bug.cgi?id=779970
|
|
|
|
|
|
|
| |
Generate the .pc files for the package upon "install", so that we can
use pkg-config to find this package. This will help in situations like
introspection or for build systems that make use of pkg-config to find
dependencies.
|