aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/XiteWin.py
AgeCommit message (Collapse)AuthorFilesLines
2025-10-29Feature [feature-requests:#1567]. Fix running tests in Visual C++ debugger.Neil1-3/+5
Set optional SCINTILLA_BIN environment variable to point to build directory. It's unclear just what the problem was but Python 3.13 would crash out in window handling code when run inside the debugger and using its HINSTANCE. Changing to a global class and using None for the HINSTANCE made it work. There are various other minor problems here like using c_int (32-bit) for the window procedure return instead of c_ssize_t (64-bit) but they are not worth destabilizing the code further. Example Scintilla.vcxproj.user for debugging a test script with a particular Python interpreter. <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <LocalDebuggerCommand>C:\Users\Neil\AppData\Local\Programs\Python\Python313\python.exe</LocalDebuggerCommand> <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> <LocalDebuggerCommandArguments>G:\u\hg\scintilla\test\simpleTests.py</LocalDebuggerCommandArguments> <LocalDebuggerWorkingDirectory>G:\u\hg\scintilla\test\</LocalDebuggerWorkingDirectory> <LocalDebuggerEnvironment>SCINTILLA_BIN=G:\\u\\hg\\scintilla\\win32\\x64\\Debug</LocalDebuggerEnvironment> </PropertyGroup> </Project>
2023-03-15Fix some warnings from ruff.Neil1-9/+8
2022-09-17Exit earlier when Scintilla not found - it was continuing and displaying manyNeil1-11/+11
failures.
2021-02-11Make merging of Scintilla and Lexilla features work on older versions of Python.Neil1-1/+1
2021-02-08Read Lexilla constants from lexilla/include/LexicalStyles.iface and includeNeil1-1/+10
in known features.
2020-11-07Try to load Lexilla for tests that need a lexer but skip the tests when LexillaNeil1-2/+31
not found. Unicode line ends only tested with Lexilla as they require a lexer that supports Unicode line ends.
2020-04-17Update Python versions for files that may involve PySide on Linux which requiresNeil1-1/+2
Python 2 still. On Windows, Python3 is used.
2019-10-16Call LoadLibrary with DLL path as Python 3.8 doesn't look for DLLs in PATH.Neil1-4/+2
2019-01-31When loading SciLexer.DLL fails, print out the platform architecture of PythonNeil1-1/+2
as one problem is trying to run 64-bit Python with a 32-bit DLL or vice versa.
2018-05-04Add -large command line option for testing large document option.Neil1-1/+6
2016-05-05Make Open work again and print out message when SciLexer can't be found.Neil1-5/+9
2014-01-01Specify minimum Python version for scripts.Neil1-0/+1
2013-07-05Implemented tests for Qt on Linux.Neil1-182/+24
2013-07-01Fix up reference to scripts directory.Neil1-1/+2
2013-05-10Handle most stringresult methods generically.nyamatongwe1-11/+25
Make compatible with PyPy.
2013-04-05Made unit test framework code 64-bit compatible.nyamatongwe1-19/+38
2011-07-25Avoid unwanted output.nyamatongwe1-2/+2
2011-07-25Using 'from __future__ import unicode_literals' to make work on Python 2.7.nyamatongwe1-0/+1
2010-08-04Added more style setting, using byte strings as that matches API.nyamatongwe1-5/+7
2010-01-31Better coverage display.nyamatongwe1-4/+5
2009-05-12Include tests in standard repository.nyamatongwe1-0/+650