aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2016-07-21[cmake] Change the way shared libraries are builtChristian Fetzer
Before this change shared libraries were built by creating a static library using core_add_library and then linking that into a shared/module one using core_link_libraries. This has a few drawbacks: - Meanwhile most libraries don't use wrapping (for VFS support) anymore, and we can use CMake mechanisms to create those libraries. - The approach doesn't work with MSVC as there is no "whole-archive" option. On windows these symbols would need different exporting. - The main usage of core_add_library is to generate small libraries for the Kodi main application. Let's use it only for that. This is in preparation to disable building of per folder static libraries because they don't work well with VS and Xcode. This commit introduces the following changes: - Shared/Module libraries are now created with core_add_shared_library, addon callback libraries are now created with core_add_addon_library. - Fix dependencies: make kodi now builds everything needed to run kodi including all dl-loaded libraries. - Only use wrapping for libraries where it's also done with Autotools - WRAP_FILES and wrap-libraries are renamed to LIBRARY_FILES and kodi-libraries. - Library wrapping and generation now works in all subdirectories. Previously core_link_libraries had to be called in the main CMakeLists.txt because file dependencies in add_custom_command only work in the same directory. This also made it necessary to create wrap_* targets. - Generator expressions in core_link_libraries make the function less error prone.
2016-07-21[cmake] Build unrarxlib and libupnp without core_add_libraryChristian Fetzer
2016-07-19Bump sdk to Win 10 as cmake defaults to that for addons anyway. Add the few ↵Pär Björklund
headers we need from wdk as a package to simplify setup
2016-07-17Cleanup work that started with running as Win10 appPär Björklund
UWP(project centennial) does not allow AddDllDirectory which we don't really need anyway but it's use made the folder structure pretty. Since we run perfectly fine without it both native and as UWP I decided to drop it completely. To make the build, installer and debugging experience easier this led to plenty of changes to packages and build scripts to output all dlls into /system/ instead of different folders. While moving stuff around some dependencies got updated, it's possible that we can use java menus in bluray movies now, not tested. EasyHook just got repackaged to fit the new folder structure. The rebuilding of dependencies led to us being able to drop old vcredist files which also simplifies installer and packaging, especially for UWP. Some minor cleanup along the way as well
2016-07-11[cmake] Sync Peripheral APIGarrett Brown
Credit fetzerch, https://github.com/garbear/xbmc/pull/53
2016-06-11[cmake/osx] Fix build after renaming 'darwin' to 'osx'Christian Fetzer
https://github.com/xbmc/xbmc/commit/10aa7419b8d1a3170082c6216fc5862721500fff
2016-06-06Speed up startup time for movies in split rar archives.oskvadd
This patch cuts down on the seek time for files in stored rar archives.
2016-05-30Updated texturepacker to vs2015 and all libs with it, remove dependency on ↵Pär Björklund
lzo in lib folder make lzo non-optional (thanks Stefan Saraev) Packaged a new build of texturepacker
2016-05-23Merge pull request #9843 from AlwinEsch/revert-api2Alwin Esch
Revert "[addon] binary add-on library rework for API level system"
2016-05-20Revert "[addon] add API level 2 on kodi side - Part 2"Alwin Esch
This reverts commit 601c63c345a5a916017552cd0992245a5d83a16f.
2016-05-19Merge pull request #9810 from Paxxi/gtestRazzeee
[win32][test] Fix linking of the test suite
2016-05-18[addon] add API level 2 on kodi side - Part 2Alwin Esch
2016-05-16[cmake/win32] Build addon librariesChristian Fetzer
2016-05-14Fix linking of the test suitePär Björklund
2016-05-11[exif] Fix for out-of-memory errors with large numbers of jpegspopcornmix
This reverts part of https://github.com/xbmc/xbmc/pull/7472 Basically the commit made the 4 comments in the exif block increase from 2K to 64K each, so you now need 256K per photo. When opening a folder exif information for all photos is extracted. So, for a folder of 5000 jpegs, 1.2GB of RAM is needed just for the comments. As a 64K comment string is of no use to kodi, just truncate them to 2K like we used to. See: http://trac.kodi.tv/ticket/16193 http://forum.kodi.tv/showthread.php?tid=251908
2016-05-06[Coverity] CID 1312749: CAddonSoundPlay::CAddonSoundPlay(void *, void *, ↵Kai Sommerfeld
char const*): A pointer field is not initialized in the constructor
2016-04-09This should resolve the python issues caused by vs2015 upgrade.Pär Björklund
Fixed copying of dll during build to avoid risking using python27.dll from system32 Rebuilt all statically linked libs with _ITERATOR_DEBUG_LEVEL=0 because of performance issues, especially during video development Curl should once again be linked against openssl switched all projects to use /MD or /MDd because it enables sharing of env between the loaded modules making our environment hacks less needed. Added curl and openssl to ignore list to avoid them being hooked by our crt emulation. This needs a proper fix and is likely resolved by Voyager's PR
2016-04-07[fix] CID 1358356, 1358357, 1358358: Out-of-bounds write (OVERRUN).ace20022
2016-04-05Merge pull request #9512 from ace20022/win_covAndreas Zelend
[coverity] Some cleanup/fixes
2016-04-05CID 77632, 77633: Untrusted array index read (TAINTED_SCALAR).ace20022
2016-04-05CID 77382: Buffer not null terminated (BUFFER_SIZE_WARNING).ace20022
2016-04-05CID 77678, 77679, 77785: Uninitialized pointer field (UNINIT_CTOR).ace20022
2016-04-05CID 77791: Unused value (UNUSED_VALUE).ace20022
2016-04-05CID 77516, 77517, 77524, 77529: Big parameter passed by value (PASS_BY_VALUE).ace20022
2016-04-05CID 77466: Logically dead code (DEADCODE).ace20022
2016-04-02Merge pull request #9499 from mapfau/translatepathRainer Hochecker
Add TranslateSpecialPath to libAddon_helper interface
2016-04-02Add TranslateSpecialPath to libAddon_helper interfacemapfau
2016-04-01Fix build and update curl to latestPär Björklund
2016-04-01Visual studio 2015 fixesPär Björklund
2016-03-13[cosmetic] Fix c/p errors for peripheral add-on callbacksGarrett Brown
2016-03-11[cmake] Controller inputChristian Fetzer
2016-03-10Peripheral add-onsGarrett Brown
Thanks to frostworx for fixing the peripheral add-ons build, notspiff for helping with the rebrand and montellese for the windows installer fix and VS solution fix.
2016-03-09[addon] Move add-on library parts to independent folders (code rework)Alwin Esch
2016-03-06[cmake] Sync InputStream project filesChristian Fetzer
2016-03-06[cmake] Add CMake files for library.kodi.audioengineChristian Fetzer
2016-03-06Merge pull request #9270 from wsnipex/libdvd-dependsWolfgang Schupp
more libdvd fixups
2016-03-05Merge pull request #9173 from FernetMenta/inputstreamRainer Hochecker
Add binary addon InputStream
2016-03-05remove libdvd artifactswsnipex
2016-03-05Integrated INPUTSTREAM lib into VS solutionmapfau
2016-03-05add callback lib for inputstreamRainer Hochecker
2016-03-04libdvd/Makefile: rename LDFLAGS to SO_LDFLAGSMax Kellermann
Under certain circumstances, these flags can leak into the environment, where "-shared" will break all linker calls which produce executables, leading to segmentation faults. This is not a "generic" LDFLAGS variable to be used everywhere; this is just one special variable for local use.
2016-02-29[addon] rename add-on include folder to match new style and prevent header ↵Alwin Esch
#ifdef's
2016-02-29enabled CURL addon access / curl download speed feature / move file flags to ↵mapfau
IFile
2016-02-23[posix] move libdvd to dependswsnipex
2016-02-22Merge pull request #9137 from stefansaraev/exifMartijn Kaijser
[cleanup] lib/libexif: dead code
2016-02-15[PVR] Addon API: add epg event changes callback (async epg data transfer)Kai Sommerfeld
2016-02-15[PVR] Addon API: add connection state change callbackKai Sommerfeld
2016-02-14[cleanup] lib/libexif: dead codeStefan Saraev
2016-02-12[cmake] Add CMake files to libChristian Fetzer
Add CMakeLists.txt for the lib directory. - lib/addons - UnrarXLib - libUPnP - libexif
2016-02-02Merge pull request #8991 from Paxxi/pre_vs2015Pär Björklund
[xbmc] Fixes that have come from the migration to vs2015