| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
It's pointless to document them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fixes this warning:
libmediaart/extract.h:93: Warning: MediaArt: multiple comment blocks documenting 'media_art_error_quark:' identifier (already seen at extract.c:1279).
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=724879
|
|
|
|
|
|
|
|
| |
Part of this API changes makes the media_art_get_{path|file}() APIs not do
i/o operations like creating the cache directory. This is now done in
media_art_process_new().
https://bugzilla.gnome.org/show_bug.cgi?id=724879
|
| |
|
| |
|
|
|
|
|
|
|
| |
This is quite an API break, but the previous API was confusing and a monster,
so this was really necessary.
The unit tests have been put in place to make sure things work correctly too.
|
|
|
|
| |
get_heuristic()
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The media_art_process() and media_art_process_file() functions should
take arguments in the same order as each other.
|
| |
|
|
|
|
|
|
| |
This function is similar to the current media_art_process(), but
taking a GFile, mainly added for convenience in applications
already using GIO.
|
| |
|
| |
|
| |
|
|
Including AUTHORS, README, NEWS.
Including autogen.sh, configure.ac and all Makefile.am files
Also moved many files that were scattered around the Tracker project and
brought them together.
Some source files had to be fixed up to build properly.
|