aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2018-03-21Include header needed for ptrdiff_t.Mitchell Foral7-0/+7
2018-03-20Change standard flag on MacOS as Xcode clang doesn't yet like c++17.Neil Hodgson1-1/+4
2018-03-20Add unit tests for UniCoversion.Neil5-3/+270
2018-03-19Fix warning from MSVC 64-bit.Neil1-2/+2
2018-03-16Remove line-end white space.Neil7-9/+9
2018-03-01Update to c++17 so make_unique is available.Neil1-1/+1
2018-02-24Fix move-extends-selection mode for rectangular and line selections.Mitchell Foral1-0/+82
2018-02-02Implement SC_DOCUMENTOPTION_STYLES_NONE.Neil1-1/+1
2018-02-01Templatize RunStyles so it can be over ranges of different types and containNeil1-1/+1
different style types. Currently only instantiated over <int, int>.
2018-02-01Templatize Partitioning so it can hold different types.Neil1-2/+2
2018-01-21Match variable types to method so will build if switched to 64-bit.Neil1-2/+2
2018-01-21Fix namespace so can build inside Visual C++.Neil1-0/+4
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil12-0/+24
interfaces ILexer4 and IDocument.
2017-08-25Moved *StyleBits* APIs into deprecated category.Neil1-3/+1
2017-07-17Ensures tests build after change set 6352.Neil1-0/+2
2017-06-10Avoid warnings when compiling unit tests with recent GCC.Neil1-0/+8
2017-06-09Use 64-bit safe type for return from Scintilla.Neil1-2/+2
Allows pointer returning methods like GetRangePointer to work in 64-bit code.
2017-06-09Avoid signed safety warnings from GCC 7.Neil1-2/+2
2017-05-21Make SparseVector work with move-only types.Neil2-20/+66
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.
2017-05-21Make SplitVector work with move-only types like unique_ptr.Neil5-6/+19
Provide InsertEmpty and both const and non-const reference returning operator[]. Add and fix comments.
2017-05-10Update unit test to match header change.Neil1-0/+1
2017-05-02Avoid explicit allocation in test.Neil1-12/+8
2017-04-29Use std::unique_ptr, std::vector, and move construction to simplify UndoHistoryNeil1-0/+1
and make it easier to modify. Remove out of date warning suppression.
2017-04-22Include <memory> for std::unique_ptr.Neil9-0/+9
2017-04-19Use =delete for unwanted functions.Neil1-2/+2
2017-04-03Fix test which was broken by encapsulation of revision 6195.Neil1-1/+1
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil8-9/+8
where it may be needed in the future.
2017-03-16Fix use-after-free in fold tags when top line folded then new top line inserted.Neil1-0/+12
In SparseVector, string inserted at start then NULL inserted at start.
2017-02-04Ensure std::cerr is available in automated tests.Neil1-0/+1
2016-11-12Note required packages. Ensure filtered header is cleaned by make clean.Neil1-1/+5
2016-10-18Add SparseVector template as a new data structure for storing per-line dataNeil1-0/+185
which is 0 or NULL for most lines.
2016-10-18Visual Studio project for running unit tests makes it easier to debug them.Neil3-0/+218
Debugging visualizer for SplitVector helps understand state of objects.
2016-10-08Fix minor warnings in unit tests from MSVC 64-bit.Neil4-27/+27
2016-09-30Enable SplitVector to store objects by using std::copy to copy elements insteadNeil1-0/+104
of memmove and memcpy. This allows SplitVector<std::string> to work.
2016-09-07Add test cases for WordList::InListAbbreviated.oirfeodent1-0/+16
2016-09-07Add InListAbridged to WordList.oirfeodent1-0/+22
2016-08-25Add unit tests for WordList class.Neil3-0/+34
2016-05-17Enable g-ir-scanner to scan ScintillaObject signalsThomas Martitz4-13/+254
Currently, the ScintillaObject signals can't be used from python code via gobject-introspection. This is because g-ir-scanner does not properly scan the signals. For signals, there is the additional requirement that parameters have are registered GTypes. For the sci-notify signal, this can be accomplished by boxing SCNotification. In addition, g-ir-scanner also runs on Scintilla.h where it picks up additional structs. test/gi/ is updated accordingly. The test python script is enhanced to showcase the signals (some fixes to the makefile are included as well).
2016-05-17Backed out changeset: 89cda794d0dd as fixed changeset will be sent by author.Neil4-254/+13
2016-04-26Enable g-ir-scanner to scan ScintillaObject signalsThomas Martitz4-13/+254
Currently, the ScintillaObject signals can't be used from python code via gobject-introspection. This is because g-ir-scanner does not properly scan the signals. For signals, there is the additional requirement that parameters have are registered GTypes. For the sci-notify signal, this can be accomplished by boxing SCNotification. In addition, g-ir-scanner also runs on Scintilla.h where it picks up additional structs. test/gi/ is updated accordingly. The test python script is enhanced to showcase the signals (some fixes to the makefile are included as well).
2016-05-05Make Open work again and print out message when SciLexer can't be found.Neil1-5/+9
2016-02-23Retry OpenClipboard if it fails as another application may have opened it.Neil1-3/+4
2016-02-09Fix 64-bit build on Windows which was broken in 3.6.3 as long only 32-bits.Neil1-1/+1
2016-01-05Fix module ::-syntax when special characters such as 'x' are used.Kein-Hong Man1-1/+1
Added ' and " detection as prefix chars for x repetition operator.
2015-12-28Fix typo.Neil1-1/+1
2015-12-28Bug [#1797]. Highlight changed subroutine prototype syntax for Perl 5.20.Kein-Hong Man3-2/+489
2015-12-18Bug [#1793]. Add support for Perl 5.22.Kein-Hong Man3-21/+421
Double-diamond operator <<>> Hexadecimal floating point literals Repetition in list assignment Added example file to the lexing tests and changed lexing tests to allow larger files and to standardise on Unix line ends when testing these larger files to avoid spurious failures.
2015-12-15Minor cleanups for GObject introspection.Neil1-1/+1
Avoid doc-comment in header as they are interpreted by g-ir-scanner, fix a typo, remove empty lines, add to change log.
2015-12-13Fix issues raised by review and some moreThomas Martitz2-10/+24
- remove any notion of deprecation of legacy symbol names - make sure typelib search path is set for test program - add separate test target to test/gi/makefile - improve g-ir-scanner call command line - fixed gtk2 support of test test/gi/gi-test.py
2015-09-30Add a test suite to check gobject-introspection dataThomas Martitz3-0/+184
The test suite acts also as an example for downstream projects to generate gobject-introspection data. A known-good .gir file is checked in for checking results in the future. Lastly, a small python uses the gobject-introspection data to create a small editor window. The change to gtk/makefile is because scintilla needs to be in a shared library for the python program. Therefore scintilla.a has to be compiled with -fPIC.