summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 1.9.51.9.5Carlos Garnacho2021-05-222-1/+12
|
* Merge branch 'ebassi/no-more-autotools' into 'master'Carlos Garnacho2021-05-2230-2056/+122
|\ | | | | | | | | Remove Autotools See merge request GNOME/libmediaart!12
| * ci: Use idiomatic Meson for the build instructionsEmmanuele Bassi2021-05-221-4/+3
| | | | | | | | In other words: meson setup, meson compile, and meson test.
| * docs: Overhaul the buildEmmanuele Bassi2021-05-222-4/+15
| | | | | | | | | | | | | | | | | | | | | | - Use the ignore_headers argument instead of passing it to gtkdoc-scan ourselves - Ignore the symbol decorator for the public API - Specify the default include - Hide the media_art_process_get_type() function - Build the types file, so that gtk-doc will recognise GObject types - Add gtkdoc-check to the test suite, so that undocumented API slips through
| * Hide the parent members from gtk-docEmmanuele Bassi2021-05-221-2/+2
| | | | | | | | It's pointless to document them.
| * Document the media_art_error_quark functionEmmanuele Bassi2021-05-221-0/+2
| | | | | | | | The description is missing.
| * docs: Use a more idiomatic gtk-doc set upEmmanuele Bassi2021-05-226-11/+53
| | | | | | | | | | | | | | | | | | | | | | - look for sources in both source and build directories - depend on the built library - ignore the generated, uninstalled marshallers header - make gtk-doc track the overview.xml file - add the missing indices - add the missing symbols - use a boolean `gtk_doc` build option, like every other GNOME project
| * docs: Simplify the directory layoutEmmanuele Bassi2021-05-227-1/+1
| | | | | | | | There's no other documentation, and there is only one API reference.
| * Remove pkg-config file templateEmmanuele Bassi2021-05-221-13/+0
| | | | | | | | The pkg-config file is generated by Meson.
| * Remove AUTHORS fileEmmanuele Bassi2021-05-221-9/+0
| | | | | | | | The authors are available in the Git commit log.
| * Remove AutotoolsEmmanuele Bassi2021-05-2215-1966/+0
|/ | | | | There is no point in keeping two build systems in parallel, especially when one of them is Autotools.
* Merge branch 'ebassi/no-more-qt4' into 'master'Carlos Garnacho2021-05-224-55/+3
|\ | | | | | | | | Drop Qt4 support See merge request GNOME/libmediaart!11
| * Drop Qt4 supportEmmanuele Bassi2021-05-204-55/+3
|/ | | | Qt 4 was end-of-lifed in December 2015.
* Merge branch 'ebassi/memdup' into 'master'Sam Thursfield2021-05-201-1/+5
|\ | | | | | | | | Don't use a field before setting it See merge request GNOME/libmediaart!10
| * Use g_memdup2() with newer versions of GLibEmmanuele Bassi2021-05-201-0/+4
| | | | | | | | | | | | The g_memdup() call was deprecated in GLib 2.68 because it used an unsigned integer for the buffer size argument. The g_memdup2() function, which uses a gsize, was introduced in the same version.
| * Don't use a field before setting itEmmanuele Bassi2021-05-201-1/+1
| | | | | | | | | | | | We are using the data->len field in our g_memdup() call before we're actually setting it; since the data structure is zero-filled, it means we're not copying the buffer at all.
* | Merge branch 'ebassi/build' into 'master'Sam Thursfield2021-05-202-11/+13
|\ \ | |/ |/| | | | | build: Export the pkg-config file in the GIR See merge request GNOME/libmediaart!9
| * build: Use the built-in summary()Emmanuele Bassi2021-05-201-8/+4
| | | | | | | | | | | | | | | | Instead of hand-rolling our own. Remove the bit about the C compiler: Meson prints out the compiler in its default output. Similarly, remove the bit about the source directory: Meson does that automatically.
| * build: Require a specific version of MesonEmmanuele Bassi2021-05-201-0/+1
| | | | | | | | Something not ancient.
| * build: Export the pkg-config file in the GIREmmanuele Bassi2021-05-171-3/+8
|/ | | | Tools that parse the GIR need the exported package.
* Merge branch 'sam/valid-utf8' into 'master'Sam Thursfield2020-12-272-11/+41
|\ | | | | | | | | Mandate that inputs are valid UTF8 See merge request GNOME/libmediaart!7
| * Mandate that inputs are valid UTF8Sam Thursfield2020-12-271-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | This restriction was already in place, since we passed the inputs directly to GLib functions that expect valid UTF8. If this library were widely used then we might proactively validate inputs to protect against exploits. At time of writing, this module is only used in 3 places (grilo-plugins, gnome-music and rygel), so just check they are doing the right thing when calling the API. See https://gitlab.gnome.org/GNOME/libmediaart/-/merge_requests/5 for background.
| * Rationalize NULL/empty string handling in media_art_strip_invalid_entities()Sam Thursfield2020-12-272-11/+24
|/ | | | | | | | | | | We return NULL if input is NULL and a newly allocated empty string if input is "". Some comments disagreed with this, and it's possible the change causes a memory leak in some app, but the alternative of returning NULL when passed "" is dangerous as some code may free the return value in this case. (In fact, libmediaart itself does so). Also, make behaviour occur independently of whether `G_ENABLE_CONSISTENCY_CHECKS` was defined at build time.
* Merge branch 'sam/ci-fixes' into 'master'Sam Thursfield2020-12-271-11/+4
|\ | | | | | | | | ci: Update for changes in tracker-oci-images See merge request GNOME/libmediaart!8
| * ci: Update for changes in tracker-oci-imagesSam Thursfield2020-12-271-11/+4
|/ | | | | | | | | Since https://gitlab.gnome.org/GNOME/tracker-oci-images/-/merge_requests/28 the container images set 'USER tracker', so privileged ops like installing packages are no longer possible during testcases. So, gdk-pixbuf is added to the base images in https://gitlab.gnome.org/GNOME/tracker-oci-images/-/merge_requests/38.
* Merge branch 'sam/ci' into 'master'Sam Thursfield2020-10-161-0/+63
|\ | | | | | | | | Initial CI config See merge request GNOME/libmediaart!6
| * Initial CI configSam Thursfield2020-10-161-0/+63
|/
* Merge branch 'master' into 'master'Sam Thursfield2020-10-161-0/+4
|\ | | | | | | | | Fix Qt5 backend crashing when running in Qt application See merge request GNOME/libmediaart!2
| * Fix Qt5 backend crashing when running in Qt applicationPekka Vuorela2020-04-221-0/+4
| | | | | | | | | | Creating a dummy QCoreApplication instance is bad in itself, but even worse when running in an app that already has one.
* | Merge branch 'master' into 'master'Sam Thursfield2020-10-162-1/+2
|\ \ | | | | | | | | | | | | meson.build: don't require C++ See merge request GNOME/libmediaart!3
| * | meson.build: don't require C++Fabrice Fontaine2020-05-082-1/+2
| |/ | | | | | | | | | | Does not mandate C++ as it is only required for extractqt.cpp Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* | Merge branch 'wip/phako/remove-storage' into 'master'Carlos Garnacho2020-06-235-1244/+2
|\ \ | |/ |/| | | | | Remove storage class See merge request GNOME/libmediaart!4
| * extract: Remove Storagewip/phako/remove-storageJens Georg2020-05-315-1240/+2
| | | | | | | | | | | | After the removal of mediaartlocal, this is useless now. It can also cause some lock-ups if gvfs is missing
| * extract: Drop obsolete stringsJens Georg2020-05-311-4/+0
|/
* Replace Bugzilla by Gitlab URL in DOAP fileAndre Klapper2018-12-151-2/+1
|
* meson: Introspection fixMarinus Schraal2018-01-081-1/+5
| | | | | | | The meson build did not add the extractdummy.c to the sources, which contains introspection annotations. https://bugzilla.gnome.org/show_bug.cgi?id=792272
* Release 1.9.41.9.4Carlos Garnacho2017-08-113-2/+8
|
* extract*: Add missing config.h includesCarlos Garnacho2017-08-102-0/+4
| | | | | This was making the functions defined in extractgeneric.h not really exported.
* meson: Add missing mediaart-macros.h headerCarlos Garnacho2017-08-101-0/+1
| | | | This must be installed by the meson install as well...
* meson: Add with-docs optionCarlos Garnacho2017-08-102-7/+10
| | | | Allows disabling the API reference docs.
* Release 1.9.31.9.3Carlos Garnacho2017-08-103-2/+8
|
* meson: Fix library versioningJan Alexander Steffens (heftig)2017-08-102-0/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=786067
* build: Install macros headerEmmanuele Bassi2017-08-101-1/+1
| | | | | The header is referenced by publicly installed headers, which means installations of libmediaart without it are now broken.
* Release 1.9.21.9.2Carlos Garnacho2017-08-093-2/+10
|
* Distcheck fixesCarlos Garnacho2017-08-092-1/+3
|
* docs: Rename main doc to .xmlCarlos Garnacho2017-08-093-2/+2
|
* build: Add meson.build files to EXTRA_DISTCarlos Garnacho2017-08-094-1/+6
|
* Meson build instructions for libmediaartSam Thursfield2017-08-095-0/+206
| | | | | | | | | | | | | These are hopefully complete already. I have compared an Autotools-built and a Meson-built install of libmediaart and found only the following differences: * libmediaart-2.0.la isn't generated by Meson * External references in the gtk-doc documentation are relative with Meson and absolute with Autotools * Some changes in generated .vapi file and .pc file https://bugzilla.gnome.org/show_bug.cgi?id=783562
* Use compiler symbol visiblity features to hide internal functionsSam Thursfield2017-08-096-3/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we relied on libtool's -export-symbols-regex feature, but we are hoping to drop GNU Autotools and GNU Libtool in soon in favour of Meson. Meson doesn't have an equivalent feature, instead the advice is to control symbol visibility at compile time. The approach taken in this patch is based on Pango's build system. Pango tells the compiler to hide symbols by default (if possible), and then defines a _PANGO_EXTERN variable at compile time which marks a single symbol as public. In Pango's case there is then further machinary to hide symbols based on deprecation policies but I have not copied that here, instead I used _LIBMEDIAART_EXTERN directly. If a compiler doesn't support hiding symbols then the library we build makes all symbols available, which is exactly what would happen before on platforms where the libtool didn't have an implementation for -export-symbols-regex. See also: http://mesonbuild.com/FAQ.html#how-do-i-do-the-equivalent-of-libtools-exportsymbol-and-exportregex https://git.gnome.org/browse/pango/ https://git.gnome.org/browse/pango/tree/pango/pango-version-macros.h https://gcc.gnu.org/wiki/Visibility https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options (-fvisibility) https://bugzilla.gnome.org/show_bug.cgi?id=783562
* Remove --enable-nemoSam Thursfield2017-08-092-25/+0
| | | | | | | | | | This flag was just enabling a codepath that sets QT_QPA_PLATFORM=minimal in the environment before constructing a QCoreApplication instance. This code path has no effect anyway: QT_QPA_PLATFORM only has an effect if you are using QGuiApplication. https://bugzilla.gnome.org/show_bug.cgi?id=783562