aboutsummaryrefslogtreecommitdiff
path: root/xbmc/win32
AgeCommit message (Collapse)Author
2010-12-28changed: bump version stringsspiff_
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35706 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-11-15[WIN32] preparation for using precompiled python binaries (not working yet ↵wiso
as it can't find the modules like urllib.py yet) git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35276 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-11-13fixed: xbmc could crash when asked to stop a running script.elupus
Calling PyRun_SimpleString() in paralell to another PyRun_* causes weird issues inside python. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35255 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-10-12changed: simplify SystemGlobals by just putting all global objects in one ↵elupus
compilation unit instead of struct git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34721 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-10-12changed: instead of doing a funky trace dance to abort python, just signal ↵elupus
an async exception of SystemExit on all spawned threads git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34706 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-10-10fixed: handle leak on stat of already open smb:// files on windowselupus
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34618 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-10-09fixed: python crashes with multithreaded scripts in certain casesanssih
We deinitialize the Python interpreter when no scripts are running. However, the global interpreter lock (which is created by PyEval_InitThreads()) is not unallocated. When we eventually reinitialize the interpreter and call PyEval_InitThreads() to allocate and lock the global interpreter lock, it doesn't actually do anything as the lock is already allocated, and the lock is left in unlocked state, which causes python threads to collide. Fix that by checking if the lock already exists and simply acquire it in that case. Issue and fix confirmed on several Mandriva Linux x86_64 systems with external Python 2.6.x. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34590 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-09-26There is no point of extending CPowerSyscallWithoutEvents for win32 anymoretopfs2
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34202 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-09-26[WIN32] fixed: set the suspend flag manually if we fire a suspend eventblinkseb
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34199 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-09-12[WIN32] fixed: typocharlydoes
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33696 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-09-12changed: Move prompting for authentication/keyboard dialog etc. from ↵jmarshallnz
IDirectory subclasses into CDirectory. Fixes #10127 and #8840 git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33683 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-08-31[WIN32] added a singlelock to CPasswordManager::AuthenticateURL and ↵wiso
CPasswordManager::PromptToAuthenticateURL to avoid conflicts when called from different threads. removed some dead code. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33367 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-08-14[WIN32] reverted r31908 as libdvdnav doesn't see env vars set during XBMC ↵wiso
runtime. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32774 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-08-13[WIN32] fixed: reset system idle timer at the same time as the xbmc idle timerCrystalPT
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32742 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-07-27[WIN32] added: make CWIN32Util::GetDrivesByType aware of double entries in ↵wiso
vecshare git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32227 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-07-27[WIN32] reverted r32224 (don't invent the wheel twice, thanks spiff)wiso
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32226 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-07-27[WIN32] added: make CWIN32Util::GetDrivesByType aware of double entries in ↵wiso
vecshare git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32224 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-07-19[WIN32] fixed: python regression in r31980anssih
Incorrect parameter count was used for PyUnicode_DecodeUTF8. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31984 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-07-19fixed: XBMC python module with non-wchar_t unicode pythonanssih
Python can use either UCS2 or UCS4 for its unicode type, depending on compilation options. By default it uses UCS2. Currently we convert between unicode<->utf8 on the assumption that python unicode characters are the same size as wchar_t, which is 16 bits on win32 and 32 bits on linux. This causes breakage when using external python compiled with the default compilation options. Fix that by using the appropriate python functions for converting between unicode<=>utf8 instead of doing the conversion ourselves. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31980 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-07-17[WIN32] unhook getenv, _putenv, __p__environ and _environ. Needs testing on x64wiso
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31908 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-07-05cleanup: unify the way python's path is set between win32 and *nix.jmarshallnz
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31624 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-06-24[WIN32] changed: don't add q: drive to browse dialog anymore since it's ↵wiso
obsolete. add the home path instead. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31355 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-06-24[WIN32] changed: no GetVolumenInformation on floppieswiso
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31354 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-06-23[WIN32] added: support for git for fetching svn revision number/dateblinkseb
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31341 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-06-20[WIN32] adapt version stringwiso
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31251 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-06-13[WIN32] The change from r31091 is also needed for CWINFileSMB::Statblinkseb
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31092 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-06-07[WIN32] changed: show SD card volumes only if a readable card is insertedwiso
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30916 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-28changed: show a message box atleast when CApplication::Create() fails, ↵elupus
instead of crashing mysteriously git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30615 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-21changed: don't delay script stopping by 500mselupus
If we have a bug here we need to find it. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30391 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-21added: xbmc.abortRequested bool to python, which signals if xbmc want's the ↵elupus
python script/plugin to terminate git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30390 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-20[WIN32] changed: removed win32 only CheckCrystalHD function from ↵wiso
CrystalHD.cpp and moved it to WIN32Util.cpp/.h git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30351 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-19Place copyright headerceros7
Although header is simple and was autogenerated before, I'm adding the copyright header in for consistency. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30306 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-18[WIN32] added helper function to retrieve the 'system' folder path + ↵CrystalPT
refactored with 'profile' folder path git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30268 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-15changed: native line endingCrystalPT
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30188 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-15changed: force LF line endings in repositoryCrystalPT
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30183 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-14Merge branch 'fhs'ceros7
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30134 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-04[WIN32] forward suspend/resume events to PowerSyscallwiso
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29785 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-05-03Added a way to send OnWake and OnSuspend events from powersyscallstopfs2
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29753 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-04-30Ticket #9126: Force global destruction order + construction order to avoid ↵elupus
crashes at exit. Thx CrystalP for initial patch git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29685 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-04-09Revert "Correctly check for python unicode size instead of assuming it's of ↵elupus
4 bytes." These defines are not defined properly here, so can't use it to check. Too tired to fix properly. This reverts commit a88bf252b0780812e5ea5ee0dac4245a01f58fb7. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29156 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-04-09Correctly check for python unicode size instead of assuming it's of 4 bytes.elupus
From Ticket #8661, Thx Anssi git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29154 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-03-27[WIN32] initiates use of the Winsock DLL on startup and move ↵wiso
deinitialization together with CoUninitialize() to CApplication::Cleanup(). git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28891 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-03-27[WIN32] expand DLL search path to the XBMC installation dir.wiso
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28889 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-03-21added: --debug flag for windowsbobo1on1
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28728 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-03-08added: sftp client to windows versionelupus
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28474 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-03-02merged: addons-fw branchelupus
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28277 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-03-01[WIN32] changed: delay load libmicrohttpd so we can load it from ↵charlydoes
system\webserver instead of app root. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28261 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-02-19http://trac.xbmc.org/ticket/8816renniej
The attempt to find a previous instance fails because the window class and title have changed. The class and window are now both called "XBMC". Changed the FindWindow call to use the new titles. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27976 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-02-16[WIN32] changed: Improved XBMC icon #5909 (thanks to bb10)wiso
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27897 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-02-09[WIN32] changed: use share name instead of comment since comment might be ↵wiso
ambiguous git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27605 568bbfeb-2a22-0410-94d2-cc84cf5bfa90