aboutsummaryrefslogtreecommitdiff
path: root/xbmc/win32
AgeCommit message (Collapse)Author
2013-10-24[win32] Remove CStdString from force included win32 precompiled headerKarlson2k
2013-10-23[release] version bump to 13.0 alpha10 as we start new merge windowMartijn Kaijser
2013-10-12[win32] WIN32Util: add "ConvertPathToWin32Form()" functionKarlson2k
2013-10-01[win32] fix: use new function 'GetKernelBitness()' instead of 'IsOS64bit()'Karlson2k
2013-09-30Merge pull request #3286 from ace20022/tokenizejmarshallnz
Move TokenizeStringUtils and replace CStdStrings by std::strings.
2013-09-30Merge pull request #3290 from bavison/faster_substring_comparisonsjmarshallnz
Faster substring comparisons
2013-09-30Merge pull request #3283 from Karlson2k/win32_small_cleanup_01Martijn Kaijser
Win32 small cleanup
2013-09-30Faster substring comparisonsBen Avison
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()).
2013-09-27[release] version bump to 13.0 alpha9 as we start new merge window.Martijn Kaijser
2013-09-24Move Tokenize from Util to StringUtils and replace CStdString by std::string.ace20022
2013-09-17[win32] Remove of WIN32Util::Is64Bit as duplicate of SysInfo::IsOS64bitKarlson2k
2013-09-17[win32] Use SysInfo::IsOS64bit instead of local analogKarlson2k
2013-09-07Merge pull request #3191 from wsoltys/remove_emu_socketMartijn Kaijser
removed the emu_socket directory and files as its not in use for windows
2013-09-05[win32] Move Add/RemoveExtraLongPathPrefix functions to WIN32Util classKarlson2k
2013-09-03removed the emu_socket directory and files as its not in use for windows and ↵wsoltys
I doubt that for other platforms as well.
2013-08-21[release] version bump to 13.0 alpha8 as we start new merge window.Martijn Kaijser
2013-08-05[win32] Refactoring of GetSpecialFolder in WIN32Util.cppKarlson2k
Avoid using big array in stack
2013-07-30[release] version bump to 13.0 alpha7 as we start new merge window.M. Kaijser
2013-07-25[cosmetics] update copyright headersM. Kaijser
2013-07-08Improve recompile speed: Don't include git_revision.h in system.h (leads to ↵Garrett Brown
excessive recompiles)
2013-07-06[WIN32] changed: check for sse2 and abort with a message if it isn't ↵wsoltys
supported by the cpu.
2013-06-30[release] version bump to 13.0 alpha6 as we start new merge window.Martijn Kaijser
2013-06-05Merge pull request #2756 from Karlson2k/no_old_msc_verwsoltys
Remove unneeded or outdated _MSC_VER macro #ifs
2013-06-02changed, use TARGET_xxx, die _LINUX diedavilla
2013-06-02[win32] Use CEnvironment in WIN32Util.cppKarlson2k
2013-06-02[win32] Finally remove win32env.cKarlson2k
2013-05-26[release] version bump to 13.0 alpha5 as we start new merge window.Martijn Kaijser
2013-05-20[win32] cosmetic change in WIN32Util.hmontellese
2013-05-17Remove unneeded or outdated _MSC_VER macro #ifsKarlson2k
2013-05-12[win32] replace usage of IsVistaOrHigher and IsWindows8OrHigher with unified ↵Karlson2k
function IsWindowsVersionAtLeast
2013-05-01settings: replace CSettings and CGUISettings with new CSettingsmontellese
2013-04-28[release] version bump to 13.0 alpha4 as we start new merge window.Martijn Kaijser
2013-04-10Merge pull request #2578 from a11599/hybridshutdowna11599
[win32][added] Hybrid shutdown on Windows 8
2013-04-10Add missing thread names, improve existing thread namesDag Wieers
This extends on the work of PR #2323. Since thread names are limited to 15 characters, we reduced the length of the name (removing starting C, get rid of spaces, remove trailing Thread, ...) where it made sense. ``` xbmc02:~ # pstree -p 715 xbmc.bin(715)-+-{EPGUpdater}(798) |-{EventServer}(790) |-{PeripheralBus}(778) |-{PeripheralBus}(779) |-{PVRAddon}(800) |-{PVRAddon}(932) |-{PVRGUIInfo}(933) |-{PVRManager}(799) |-{SoftAE}(777) |-{TCPServer}(791) |-{XBPython}(783) |-{XBPython}(784) |-{XBPython}(786) |-{XBPython}(787) |-{XBPython}(955) |-{XBPython}(972) `-{xbmc.bin}(792) ``` I would like to see more specific names for XBPython, PeripheralBus and PVRAddon. And also get rid of the remaining xbmc.bin thread name.
2013-04-09[win32][added] Hybrid shutdown on Windows 8a11599
2013-04-05[WIN32] replace old dirent emulation to a more complete one. Even though I ↵wsoltys
can't find where its still in use I feel better with a working solution.
2013-03-31Merge pull request #2510 from MartijnKaijser/version_aprilMartijn Kaijser
[release] version bump to 13.0 alpha3 as we start new merge window.
2013-03-31fixed: avoid spurious dependencies for utils/CharsetConverter.hspiff
from 200 files rebuilt to 56 (144 spurious)
2013-03-28[release] version bump to 13.0 alpha3 as we start new merge window.Martijn Kaijser
2013-03-07Merge pull request #2243 from MartijnKaijser/13.0alpha2_bumpdavilla
[release] version bump to 13.0 alpha2 as we start new merge window.
2013-03-03move AppParamParser.h/cpp from xbmc/settings/ to xbmc/montellese
2013-03-01[WIN32] fixed: first process OnSleep events before going into suspend (fixes ↵wsoltys
#14101)
2013-02-15[release] version bump to 13.0 alpha2 as we start new merge window.Martijn Kaijser
2013-02-09Merge pull request #2200 from MartijnKaijser/header_updateMartijn Kaijser
[cosmetics] update date in GPL header
2013-02-09[WIN32] catch exceptions also during Create(), CreateGUI() and Initialize().wsoltys
2013-02-09[cosmetics] update date in GPL headerMartijn Kaijser
2013-02-04[WIN32] implemented a poor man's stacktrace for windows.WiSo
2013-01-27[release] version bump to 13.0 alpha1 as we start new merge windows.Martijn Kaijser
2013-01-14fixed: system screensaver could kick in when playing video. We won't please ↵WiSo
everyone with this change but at least it brings somewhat the old behavior back without altering the registry.
2012-12-31[release] bump version to RC3Martijn Kaijser