wsoltys [Thu, 12 Sep 2013 19:23:45 +0000 (21:23 +0200)]
fixed possible but unlikely overflow.
wsoltys [Thu, 12 Sep 2013 19:21:29 +0000 (21:21 +0200)]
removed all methods related to loading string blocks into memory. afaik this is obsolete and not in use anymore.
Karlson2k [Tue, 1 Oct 2013 18:09:08 +0000 (11:09 -0700)]
Merge pull request #3251 from Karlson2k/no_win32_pcre
Replace PCRE win32 project with depend package
wsoltys [Tue, 1 Oct 2013 16:46:48 +0000 (18:46 +0200)]
[WIN32] fixed: stray backslash.
Karlson2k [Sat, 14 Sep 2013 15:56:16 +0000 (19:56 +0400)]
[win32] Delete old unused PCRE package files
Karlson2k [Thu, 12 Sep 2013 21:50:28 +0000 (01:50 +0400)]
[win32] Remove win32 PCRE lib source files
Karlson2k [Thu, 12 Sep 2013 21:48:42 +0000 (01:48 +0400)]
[win32] Remove PCRE project from solution
Karlson2k [Thu, 12 Sep 2013 21:45:33 +0000 (01:45 +0400)]
[win32] Use headers and static libs from PCRE package
Karlson2k [Sat, 14 Sep 2013 15:44:06 +0000 (19:44 +0400)]
[win32] Download and extract PCRE depend package
Trent Nelson [Tue, 1 Oct 2013 14:47:37 +0000 (07:47 -0700)]
Merge pull request #3294 from t-nelson/pivos_pvr
Pivos PVR changes
sensite [Sat, 19 Jan 2013 12:56:05 +0000 (07:56 -0500)]
[EPG] Don't perform updates during video playback.
Lag and stutter may ensue.
Karlson2k [Tue, 1 Oct 2013 13:39:49 +0000 (06:39 -0700)]
Merge pull request #3264 from Karlson2k/win32_build_packages
Update of win32 build package download system
Karlson2k [Sat, 14 Sep 2013 19:18:05 +0000 (23:18 +0400)]
[win32] Remove individual batch files and data
Karlson2k [Sat, 14 Sep 2013 19:13:12 +0000 (23:13 +0400)]
[win32] Run new batch file from DownloadBuildDeps.bat
Karlson2k [Sat, 14 Sep 2013 20:55:13 +0000 (00:55 +0400)]
[win32] Update package list to include extension; update taglib, nfs entries
Karlson2k [Sat, 14 Sep 2013 19:26:59 +0000 (23:26 +0400)]
[win32] Add batch file for getting formed build packages
Karlson2k [Tue, 1 Oct 2013 08:23:54 +0000 (12:23 +0400)]
[win32] fix: use new function 'GetKernelBitness()' instead of 'IsOS64bit()'
Martijn Kaijser [Tue, 1 Oct 2013 07:20:45 +0000 (00:20 -0700)]
Merge pull request #2770 from t4-ravenbird/woa-mac-discovery
wake-on-access ; avoid attempting mac-discovery for internet addresses
Voyager1 [Tue, 1 Oct 2013 07:16:58 +0000 (00:16 -0700)]
Merge pull request #3338 from Voyager1/fix-dvdextsub
[fix] Allow the use of external subtitles for DVDs
Memphiz [Tue, 1 Oct 2013 06:38:18 +0000 (23:38 -0700)]
Merge pull request #3256 from perpe/droid-x86
[Droid x86] Additions for Android x86 architecture
Memphiz [Tue, 1 Oct 2013 06:36:32 +0000 (23:36 -0700)]
Merge pull request #3238 from Memphiz/picturefade
[picture] - don't calculate a fadein/out based on the slideshow display ...
Memphiz [Tue, 1 Oct 2013 06:36:04 +0000 (23:36 -0700)]
Merge pull request #3282 from Memphiz/iosbtkeys
[ios] - add support for bluetooth keyboard
Martijn Kaijser [Tue, 1 Oct 2013 05:10:23 +0000 (22:10 -0700)]
Merge pull request #3232 from Karlson2k/Startup_log_03
Put even more information in startup log
Martijn Kaijser [Tue, 1 Oct 2013 05:09:51 +0000 (22:09 -0700)]
Merge pull request #3266 from wsoltys/mingwupdate
[mingw] updated w32api and mingwrt to 4.0.1 and some cleanup
Trent Nelson [Tue, 1 Oct 2013 02:03:25 +0000 (19:03 -0700)]
Merge pull request #3299 from t-nelson/pivos_android_generic_hw_queries
droid: add generic hardware queries and hook them up to new Build class
Trent Nelson [Tue, 1 Oct 2013 02:02:17 +0000 (19:02 -0700)]
Merge pull request #3298 from t-nelson/pivos_wait_for_android_egl_window
Pivos wait for android EGL window.
Trent Nelson [Tue, 1 Oct 2013 02:01:41 +0000 (19:01 -0700)]
Merge pull request #3293 from t-nelson/pivos_fs
Pivos file system changes
davilla [Tue, 1 Oct 2013 00:27:57 +0000 (17:27 -0700)]
Merge pull request #3344 from davilla/amcodec-guisettings
changed, add a proper GUI selector for AMLogic video decoder, refactor AMLogic bits in AESinkAUDIOTRACK
jmarshallnz [Mon, 30 Sep 2013 23:43:42 +0000 (16:43 -0700)]
Merge pull request #3286 from
ace20022/tokenize
Move TokenizeStringUtils and replace CStdStrings by std::strings.
jmarshallnz [Mon, 30 Sep 2013 23:43:13 +0000 (16:43 -0700)]
Merge pull request #3290 from bavison/faster_substring_comparisons
Faster substring comparisons
Martijn Kaijser [Mon, 30 Sep 2013 22:26:02 +0000 (15:26 -0700)]
Merge pull request #3283 from Karlson2k/win32_small_cleanup_01
Win32 small cleanup
Ben Avison [Fri, 27 Sep 2013 02:56:59 +0000 (03:56 +0100)]
Faster substring comparisons
There were nearly 200 places in the code where testing for a substring was
being performed using a construct of the form
CStdString::Left(len).Equals("string")
or the related CStdString methods Mid or Right. These are bad for performance
because they involve allocating a heap block for the duration of the
expression evaluation, for the purpose of holding the substring, and then
freeing it again.
These would need replacing anyway because CStdString is being phased out
(PR #3225), and there is also the maintainability issue that developers need
to keep the string lengths in step with the string literals. This latter
point is also true of a number of instances in the code of
std::string::compare(0, len, "string") == 0
Now that the StartsWith() and EndsWith() methods in StringUtils have been
made more efficient, it is worth replacing both the above constructs with
such calls. This patch does so, using the case-sensitive versions where
std::string::compare was used, where the bUseCase parameter was specified
true in Equals() calls, or where the string literal passed to Equals()
contained no alphabetic characters. For the sake of compatibility, the
remaining calls have been left using the case-insensitive versions ("NoCase"
suffix to the method name), although these may be worth reviewing on a
case-by-case basis.
The majority of the changes here were achieved using a sophisticated search
and replace, which will hopefully minimise any bugs introduced in the
conversion.
This patch is expected to have wide-reaching performance benefits. One
benchmark (that can't pretend to exercise all ~200 improvements) is the time
to open the songs library: on a Raspberry Pi, this patch improves this time
by 12% (down from 13% for a previous version of this patch that also reduced
the number of calls to tolower()).
Martijn Kaijser [Mon, 30 Sep 2013 22:25:34 +0000 (15:25 -0700)]
Merge pull request #3284 from Karlson2k/win32_7zip_update
Win32: update 7zip binary package
ronie [Mon, 30 Sep 2013 22:20:28 +0000 (15:20 -0700)]
Merge pull request #3330 from ronie/weather-provider-logo
[Confluence] add weather provider logo
Martijn Kaijser [Mon, 30 Sep 2013 22:19:54 +0000 (15:19 -0700)]
Merge pull request #3271 from MartijnKaijser/remove_label_subnetaddress
remove depricated "subnetaddress" gui label
Martijn Kaijser [Mon, 30 Sep 2013 22:19:24 +0000 (15:19 -0700)]
Merge pull request #3315 from MartijnKaijser/remove_addon
[addons] remove unused sqlite dummy module
Martijn Kaijser [Mon, 30 Sep 2013 22:18:17 +0000 (15:18 -0700)]
Merge pull request #3310 from MartijnKaijser/addon_dependencies
bump addon dependencies to reflect changes done so far
Martijn Kaijser [Mon, 30 Sep 2013 22:17:22 +0000 (15:17 -0700)]
Merge pull request #3341 from MartijnKaijser/a9
[release] version bump to 13.0 alpha9 as we start new merge window.
Andreas Zelend [Sun, 29 Sep 2013 22:13:37 +0000 (15:13 -0700)]
Merge pull request #3329 from
ace20022/lang_fixes
[Fix] Fix preferred audio/subtitle language mechanism.
ace20022 [Fri, 27 Sep 2013 10:50:50 +0000 (12:50 +0200)]
[LangInfo] Load preferred audio/subtitle setting during the startup.
Peter Frühberger [Sun, 29 Sep 2013 14:56:46 +0000 (07:56 -0700)]
Merge pull request #3345 from FernetMenta/activefix
ActiveAE: check for sink errors on AddPackets
Martijn Kaijser [Sun, 29 Sep 2013 14:00:30 +0000 (07:00 -0700)]
Merge pull request #3348 from ronie/artists-with-an-s
fix broken artists node in musicvideos
ronie [Sun, 29 Sep 2013 13:40:37 +0000 (15:40 +0200)]
fix broken artists node in musicvideos
fritsch [Sun, 29 Sep 2013 08:18:49 +0000 (10:18 +0200)]
ActiveAE: Fix compiler warnings
Martijn Kaijser [Sun, 29 Sep 2013 09:54:05 +0000 (11:54 +0200)]
update old webadress to current wiki pages
Martijn Kaijser [Sun, 29 Sep 2013 09:30:59 +0000 (11:30 +0200)]
remove/update unneeded xbox comments
Peter Frühberger [Sun, 29 Sep 2013 05:46:05 +0000 (22:46 -0700)]
Merge pull request #3339 from FernetMenta/aefixes
ActiveAE: clamp floats
Martijn Kaijser [Sat, 28 Sep 2013 22:17:45 +0000 (15:17 -0700)]
Merge pull request #3346 from MartijnKaijser/cleanup_2
Cleanup unused files
S. Davilla [Sat, 28 Sep 2013 20:49:08 +0000 (16:49 -0400)]
fixed, used g_cpuInfo.getCPUHardware instead of rolling our own access to /proc/cpuinfo
S. Davilla [Sat, 28 Sep 2013 20:43:58 +0000 (16:43 -0400)]
fixed, c/p typo in CJNIMediaCodecInfoCodecCapabilities
S. Davilla [Sat, 28 Sep 2013 20:13:17 +0000 (16:13 -0400)]
fixup, order check for m_audiotrack_empty_sec_tweaks
Martijn Kaijser [Sat, 28 Sep 2013 17:42:58 +0000 (19:42 +0200)]
remove obsolete .conf file
Martijn Kaijser [Sat, 28 Sep 2013 17:39:35 +0000 (19:39 +0200)]
remove old unused bash script
Rainer Hochecker [Sat, 28 Sep 2013 16:55:04 +0000 (18:55 +0200)]
ActiveAE: check for sink errors, WASAPI returns INT_MAX on error
Martijn Kaijser [Sat, 28 Sep 2013 16:28:12 +0000 (18:28 +0200)]
[darwin] remove unused buildbot files
Martijn Kaijser [Sat, 28 Sep 2013 16:27:41 +0000 (18:27 +0200)]
[win32] remove unused .exe file
Rainer Hochecker [Sat, 28 Sep 2013 14:28:33 +0000 (16:28 +0200)]
ActiveAE: tell resampler to clamp floats
Rainer Hochecker [Fri, 27 Sep 2013 11:00:58 +0000 (13:00 +0200)]
ActiveAE: clamp float values after having mixed audio
Rainer Hochecker [Sat, 28 Sep 2013 13:57:30 +0000 (15:57 +0200)]
ffmpeg: add patch for backport swresample: Make rematrix maxvalue user settable
Rainer Hochecker [Sat, 28 Sep 2013 13:56:46 +0000 (15:56 +0200)]
ffmpeg: backport swresample: Make rematrix maxvalue user settable
S. Davilla [Sat, 28 Sep 2013 13:51:49 +0000 (09:51 -0400)]
changed, add a proper GUI selector for AMLogic video decoder, refactor AMLogic bits in AESinkAUDIOTRACK
Martijn Kaijser [Sat, 28 Sep 2013 12:55:08 +0000 (14:55 +0200)]
[win32] update package list
Lars Op den Kamp [Sat, 28 Sep 2013 11:30:26 +0000 (04:30 -0700)]
Merge pull request #3263 from fetzerch/bugfix-osdchannels
pvr: Fix crash when opening PVROSDChannels while playing a recording
jmarshallnz [Fri, 27 Sep 2013 21:07:51 +0000 (14:07 -0700)]
Merge pull request #3317 from Karlson2k/charsetconverter_rework_02
CharsetСonverter rework - Part 2
Martijn Kaijser [Fri, 27 Sep 2013 20:46:47 +0000 (22:46 +0200)]
[release] version bump to 13.0 alpha9 as we start new merge window.
Voyager1 [Fri, 27 Sep 2013 16:39:31 +0000 (18:39 +0200)]
allow external .sub subtitles next to text-based ones
S. Davilla [Fri, 27 Sep 2013 17:01:33 +0000 (13:01 -0400)]
gles, fixed, more missing code
Voyager1 [Fri, 27 Sep 2013 11:32:55 +0000 (13:32 +0200)]
[fix] Allow the use of external subtitles for DVDs
jmarshallnz [Fri, 27 Sep 2013 07:14:02 +0000 (00:14 -0700)]
Merge pull request #3137 from jmbreuer/upstream-sortby
Differentiate between "unsorted" and "unsortable"
Martijn Kaijser [Fri, 27 Sep 2013 07:03:27 +0000 (00:03 -0700)]
Merge pull request #3272 from MartijnKaijser/win32_remove
[win32] cleanup VS2010 build solutions
jmarshallnz [Fri, 27 Sep 2013 04:12:02 +0000 (21:12 -0700)]
Merge pull request #3292 from bavison/faster_string_comparisons
Faster string comparison functions in StringUtils
Ben Avison [Wed, 18 Sep 2013 18:31:59 +0000 (19:31 +0100)]
Faster string comparison functions in StringUtils
The methods EqualsNoCase(), StartsWith() and EndsWith() required quite a lot
of unncessary creation and destruction of std::strings, whether it be the
creation of a temporary copy that could be forced to lower-case, a temporary
copy that was a substring of one of the inputs, or just marshalling a
string literal argument into a std::string.
These functions don't appear to be used all that much at the moment; when I
profiled opening the songs library, I saw only a 1% improvement, which was
within the sampling noise threshold. But with PR #3225 and PR #3290 coming
along, that looks set to change. Once the functions are being called millions
of times, those heap operations really start to get noticeable.
Also, split StartsWith() and EndsWith() into multiple separately-named
functions, according to case sensitivity. Formerly, there was an optional
parameter (default off) to indicate that these operations were
case-*sensitive*, which is actually computationally simpler to perform. Now
the naming convention is consistent with EqualsNoCase:
StartsWith - case-sensitive
EndsWith - case-sensitive
StartsWithNoCase - case-insensitive
EndsWithNoCase - case-insensitive
With the case-sensitive versions now easier to type, it will hopefully
encourage future developers to use them in preference.
jmarshallnz [Thu, 26 Sep 2013 19:51:05 +0000 (12:51 -0700)]
Merge pull request #3254 from koying/fixcleaninet
FIX: Do not remove internet files from video db only because they come from a disappeared source
S. Davilla [Thu, 26 Sep 2013 18:28:38 +0000 (14:28 -0400)]
gles, fixed, add missing functions
Jim Carroll [Thu, 26 Sep 2013 18:23:44 +0000 (11:23 -0700)]
Merge pull request #3124 from koying/fixplugingetdirlock
FIX: avoid waiting forever on a locked CPluginDirectory while exiting
Chris Browet [Thu, 26 Sep 2013 17:55:55 +0000 (10:55 -0700)]
Merge pull request #3334 from koying/CHGstfrockchip
CHG: [stagefright] remove Rockchip blacklist (solved in latest firmwares)
Jim Carroll [Thu, 26 Sep 2013 17:52:33 +0000 (10:52 -0700)]
Merge pull request #3202 from mazkolain/python-jsonrpcfix
Avoid locking other Python threads when calling xbmc.executeJSONRPC
Fixes a bug. Can't hurt anything so it's going in.
Chris Browet [Thu, 26 Sep 2013 17:51:56 +0000 (10:51 -0700)]
Merge pull request #3258 from koying/fixdroidconfigevent
FIX: [droid] Prevent droid from shutting us down when an usb/BT keyboard./gamepad is plugged in/out
Martijn Kaijser [Thu, 26 Sep 2013 17:32:03 +0000 (10:32 -0700)]
Merge pull request #3332 from
ace20022/cximage_fixes
[Fix] Some cximage fixes
S. Davilla [Thu, 26 Sep 2013 15:15:32 +0000 (11:15 -0400)]
ActiveAE: disable AE_FMT_FLOAT on AESinkAUDIOTRACK, AE_FMT_FLOAT is not clipped correctly and makes an icky noise when audio volume peaks
Chris Browet [Thu, 26 Sep 2013 14:00:35 +0000 (07:00 -0700)]
Merge pull request #3333 from koying/FIXjnitypo
FIX: [droid] JNI typo
Rainer Hochecker [Thu, 26 Sep 2013 13:51:14 +0000 (06:51 -0700)]
Merge pull request #3331 from FernetMenta/texture
make sure gl textures are deleted by render thread
Chris Browet [Thu, 26 Sep 2013 13:46:29 +0000 (06:46 -0700)]
Merge pull request #3205 from koying/fixSFinvalidpts
FIX: [stagefright] ignore frames with no valid pts
Chris "Koying" Browet [Thu, 26 Sep 2013 13:01:54 +0000 (15:01 +0200)]
FIX: [droid] JNI typo
Chris "Koying" Browet [Thu, 26 Sep 2013 11:45:04 +0000 (13:45 +0200)]
CHG: [stagefright] remove Rockchip blacklist (solved in latest firmwares)
ace20022 [Thu, 26 Sep 2013 11:37:28 +0000 (13:37 +0200)]
[cximage] Fix possible "Buffer is accessed out of bounds: romm_cam" error in libdcr.
ace20022 [Thu, 26 Sep 2013 11:25:47 +0000 (13:25 +0200)]
[cximage] Fix resource leak in dcraw.
ace20022 [Thu, 26 Sep 2013 11:20:35 +0000 (13:20 +0200)]
[cximage] Fix possible "Buffer is accessed out of bounds: romm_cam" error in dcraw.
ace20022 [Thu, 26 Sep 2013 10:35:30 +0000 (12:35 +0200)]
[cximage] Fix invalid number of character ({) when these macros are defined: 'PNG_NO_WRITE_FILTERING' in pngwutil.
Rainer Hochecker [Thu, 26 Sep 2013 11:17:04 +0000 (13:17 +0200)]
fix memleak, make sure gl textures are deleted by render thread, thanks to popcornmix
ace20022 [Thu, 26 Sep 2013 09:28:01 +0000 (11:28 +0200)]
[cximage] Fix common realloc mistake: 'm_pBuffer' nulled but not freed upon failure in xmemfile.
ace20022 [Thu, 26 Sep 2013 09:08:14 +0000 (11:08 +0200)]
[cximage] Fix uninitialized struct member in ximadsp.
ace20022 [Thu, 26 Sep 2013 09:06:02 +0000 (11:06 +0200)]
[cximage] Fix memleak in ximadsp.
Martijn Kaijser [Thu, 26 Sep 2013 07:50:04 +0000 (00:50 -0700)]
Merge pull request #3323 from bfg1981/SFTPVerbosity
Adds verbosity to SFTPFile, with log messages which helps user identify ...
Martijn Kaijser [Wed, 25 Sep 2013 21:43:30 +0000 (23:43 +0200)]
[win32] remove mplayer remenant from installer
Martijn Kaijser [Wed, 25 Sep 2013 21:39:54 +0000 (23:39 +0200)]
[win32] exlude .log on packaging
Martijn Kaijser [Sun, 15 Sep 2013 13:09:01 +0000 (15:09 +0200)]
remove depricated "subnetaddress" gui label
BFG [Thu, 8 Aug 2013 19:55:04 +0000 (21:55 +0200)]
Adds verbosity to SFTPFile, with log messages which helps user identify problem.
ronie [Wed, 25 Sep 2013 19:49:28 +0000 (21:49 +0200)]
[Confluence] add weather provider logo
Martijn Kaijser [Wed, 25 Sep 2013 19:31:37 +0000 (12:31 -0700)]
Merge pull request #3325 from jabbera/TCPServerSend14509
Fix: 14509. TCPServer send may not send correct data