summaryrefslogtreecommitdiff
path: root/libmediaart/extract.h
Commit message (Collapse)AuthorAgeFilesLines
* Hide the parent members from gtk-docEmmanuele Bassi2021-05-221-2/+2
| | | | It's pointless to document them.
* Use compiler symbol visiblity features to hide internal functionsSam Thursfield2017-08-091-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 duplicate introspection comment for media_art_error_quark()Sam Thursfield2017-07-211-7/+0
| | | | | | Fixes this warning: libmediaart/extract.h:93: Warning: MediaArt: multiple comment blocks documenting 'media_art_error_quark:' identifier (already seen at extract.c:1279).
* extract: Add async APIs for all functionsasync-apiMartyn Russell2014-10-171-26/+72
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=724879
* cache: Added media_art_remove_async() and _finish()Martyn Russell2014-10-171-1/+6
| | | | | | | | 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
* extract: Fixed gtkdoc warning for return value of media_art_error_quark()Martyn Russell2014-09-161-1/+1
|
* extract: Fixed 'since' versions in documentationapi-cleanupMartyn Russell2014-07-281-3/+3
|
* libmediaart: Split API into _process_buffer() and _process_file()Martyn Russell2014-07-281-25/+48
| | | | | | | 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.
* extract: Add _SYMLINK_FAILED error and report symlink() failure in ↵Martyn Russell2014-06-231-2/+8
| | | | get_heuristic()
* extract: Add GError for _NO_TITLE, which is required in some casesMartyn Russell2014-06-231-4/+3
|
* extract: Switch to initable MediaArtProcess object from _init/_shutdown()Martyn Russell2014-06-231-15/+50
|
* extract: Refactor media_art_process_file() to simplify the functionMartyn Russell2014-06-231-1/+1
|
* extract: Allow error reporting with API using GErrorMartyn Russell2014-06-231-14/+37
|
* extract: Make GFile first parameter for _process_file()Martyn Russell2014-06-231-3/+3
|
* extract: Be consistent about parameter orderingSam Thursfield2013-10-171-1/+1
| | | | | The media_art_process() and media_art_process_file() functions should take arguments in the same order as each other.
* Documentation fixesSam Thursfield2013-10-171-1/+1
|
* extract: Add media_art_process_file()Carlos Garnacho2013-10-071-0/+9
| | | | | | This function is similar to the current media_art_process(), but taking a GFile, mainly added for convenience in applications already using GIO.
* libmediaart: Merged utils.[ch] into cache.[ch]Martyn Russell2013-08-151-7/+7
|
* libmediaart: Added, fixed, cleaned up documentation in sourcesMartyn Russell2013-08-151-0/+10
|
* Remove tracker from prefixes of identifiersArnel A. Borja2013-08-151-16/+16
|
* build: Initial import of files needed to make new project here...Martyn Russell2013-08-131-0/+51
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.