summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge trunkrevised_textfvogel2017-09-203-38/+1344
|\
| * Merge tip-166 branch after positive vote by the TCT. Many thanks to Simon ↵fvogel2017-08-283-38/+1344
| |\ | | | | | | | | | Bachmann.
| | * merge trunkfvogel2017-08-061-0/+10
| | |\
| | * \ merge trunksimonbachmann2017-06-182-0/+2
| | |\ \
| | * | | Changed from #ARGB to #RGBA color formatsimonbachmann2017-06-182-28/+28
| | | | |
| | * | | merge trunkfvogel2017-06-053-4/+77
| | |\ \ \
| | * | | | Removed -boolean option from <imageName> transparency get/set subcommandssimonbachmann2017-04-131-42/+10
| | | | | |
| | * | | | merge trunksimonbachmann2017-04-091-2/+2
| | |\ \ \ \
| | | * \ \ \ merged trunkfvogel2017-04-081-1/+23
| | | |\ \ \ \
| | * | | | | | Fixed bug in format suboptions parsing (crash with no value to -colorformat)simonbachmann2017-04-081-139/+200
| | | | | | | |
| | * | | | | | merge trunksimonbachmann2017-04-081-0/+22
| | |\ \ \ \ \ \ | | | |/ / / / / | | |/| | | | |
| | * | | | | | merge trunkfvogel2017-03-264-3/+48
| | |\ \ \ \ \ \
| | * | | | | | | Added -withalpha option to [imageName get].simonbachmann2017-03-232-432/+1106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The list-of-lists-of-pixel-data format now is a registered format as the others. Thanks to this change, [imageName data] now can return data that includes the alpha channel. Changed the position of the '-alpha' and '-boolean' options to [imageName transparency set]. Updated doc Updated test suite
| | * | | | | | | Added semitransparent image used for some testssimonbachmann2017-03-021-0/+0
| | | | | | | | |
| | * | | | | | | Reference implementation of TIP 166, rev. 1.9simonbachmann2017-03-021-26/+630
| | | | | | | | |
* | | | | | | | | merge trunkfvogel2017-08-242-5/+21
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Fix [cc42cc18a5]: Prevent the test suite from crashing when running tests ↵fvogel2017-08-242-5/+21
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | imgPhoto-18.* in case the host machine runs out of memory and the memory allocation error is not returned (e.g. on FreeBSD 11.1)
| | * \ \ \ \ \ \ \ Fix [cc42cc18a5]: Prevent the test suite from crashing when running tests ↵fvogel2017-08-242-5/+21
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | imgPhoto-18.* in case the host machine runs out of memory and the memory allocation error is not returned (e.g. on FreeBSD 11.1)
| | | * | | | | | | | Fix [cc42cc18a5]: Prevent the test suite from crashing when running tests ↵bug_b601ce3ab1fvogel2017-08-232-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | imgPhoto-18.* in case the host machine runs out of memory and the memory allocation error is not returned (e.g. on FreeBSD 11.1)
* | | | | | | | | | | merge trunkfvogel2017-08-165-2/+135
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / /
| * | | | | | | | | | Fix [b601ce3ab1]: A corrupted image can cause resource exhaustion. Patch ↵fvogel2017-08-025-2/+135
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | | | | | | | | | | / | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | from Keith Nash.
| | * | | | | | | | Fix [b601ce3ab1]: A corrupted image can cause resource exhaustion. Patch ↵fvogel2017-08-025-2/+135
| | |\ \ \ \ \ \ \ \ | | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | from Keith Nash.
| | | * | | | | | | Removed constraint SegfaultOn8.5, this was useful before the fix was in the ↵fvogel2017-08-021-34/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code, now it can be removed
| | | * | | | | | | Revised tests/imgPhoto.test - this bugfix branch forked from core-8-5-branch ↵kjnash2017-06-121-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is ready for testing
| | | * | | | | | | Added test images forgotten in previous commitfvogel2017-06-034-0/+4
| | | | | | | | | |
| | | * | | | | | | Fixed [b601ce3ab1]: A corrupted image can cause resource exhaustion. Patch ↵fvogel2017-06-021-0/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for core-8-5-branch from Keith Nash
| | | * | | | | | | (cherry-pick): Fixed bug [f0188aca9e] (color names parsing on Windows), by ↵jan.nijtmans2017-04-131-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simon Bachmann
| * | | | | | | | | Fix [62c5b7a1d7]: [text] segfaults on replace. Patch from Christian Werner.fvogel2017-06-301-0/+10
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | | | | | | | | | / | | |_|_|_|_|_|_|/ | |/| | | | | | |
| | * | | | | | | Added test text-8.27 for non-regression against the crash [62c5b7a1d7]bug_62c5b7a1d7fvogel2017-06-261-0/+10
| | | | | | | | |
* | | | | | | | | Add numerous [text] test cases to guard against possible regressions ↵fvogel2017-07-021-0/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regarding bugs recently fixed, especially crashes and failed assertions.
* | | | | | | | | Cherrypicked test text-8.27 from the legacy text widget (non-regression ↵fvogel2017-06-301-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | against [62c5b7a1d7]: [text] segfaults on replace), and renamed the existing text-8.27 to text-8.28
* | | | | | | | | merge trunkfvogel2017-06-111-0/+1
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Fix [e20d5ca7cd]: textTag-18.1 fails on OS Xfvogel2017-06-111-0/+1
| | | | | | | | |
* | | | | | | | | merge trunkfvogel2017-06-111-0/+1
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Fix [f214a2e800]: text-27.11 fails on OS Xfvogel2017-06-111-0/+1
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | resolve unintended forkfvogel2017-06-111-0/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix [7b43bb5322]: Revised [text]: textTag-16.2, -16.6, -16.7 fail on OS Xfvogel2017-06-111-0/+1
| | | | | | | | |
* | | | | | | | | Indentation fixes in text.testfvogel2017-06-111-2/+2
|/ / / / / / / /
* | | | | | | | Fix new test textIndex-19.14 introduced in [d0a7426b10]fvogel2017-05-281-1/+1
| | | | | | | |
* | | | | | | | Bugfix [df89872c94]:gcramer2017-05-281-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (1) Case "lines" now is based on character position, not byte position as before (2) Test case textIndex-19.14 added (3) Update of manual, with refinment of the concerned descriptions.
* | | | | | | | Bugfix [cda289a8ea]: The old handling/implementation of the selection ↵gcramer2017-05-261-25/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | options is tohubohu, so I used the opportunity to overwork it: (1) I added the tag options -inactivebackground and -inactiveforegound, and these options are tied to widget options -inactiveselectbackground and -inactiveselectforeground. (2) For symmetry reasons I added the tag options -inactiveselectbackground and -inactiveselectforeground, these options will overrule the options -inactivebackground and -inactivebackgound of the "sel" tag, provided that the actual tag has a higher priority. (3) The manual has been updated with new options. Furthermore section "THE SELECTION" has been refined. (4) In legacy widget tag option -selectbackground is tied to widget option -selectbackground if the tag option -selectbackground is not null, otherwise the widget option is tied to tag option "-background", this is very confusing, and not conform to documentation, this binding has been changed. Now the widget option -selectbackground is tied with tag option "-background" (of the "sel" tag), this is conform to (revised and legacy) documentation, it is a clear behavior, and allows more freedom in configuration. The tag options "-selectbackground" and "-selectforeground" now will overrule the options "-background" and "-foreground" of the "sel" tag, provided that the actual tag has a higher priority. (5) I changed test case textTag-5.23 according to (3). Moreover this test case has been extended for testing all bindings. BTW: Test case text-5.24 has been removed, it was a duplicate of prior textTag-5.23. (6) Complete rework of function MakeStyle(), the "sel" tag now will be handled separately, after all other tags have been processed, this makes it easier to follow the flow. (7) The old implementation has an erroneous resource management with the shared (tied) options of the "sel" tag and the selection options of the widget. This has been replaced with a proper implementation. Unfortunately the new implementation for resource management of shared options is a bit tricky, because the option table does not support shared options. (8). DEF_TEXT_INACTIVE_SELECT_BG_COLOR has been set to NULL for Windows, this should finally fix the issue of this bug report.
* | | | | | | | merge trunkfvogel2017-05-131-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | merge core-8-6-branchjan.nijtmans2017-05-081-1/+1
| |\ \ \ \ \ \ \ | | |/ / / / / /
| | * | | | | | Constrain test that demands user interactiondgp2017-05-051-1/+1
| | | | | | | |
* | | | | | | | Make test textDisp-16.25 pass on all platforms (I hope. At least on Windows ↵fvogel2017-05-121-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and Linux, unconstrained).
* | | | | | | | (1) Commands "mark names", "mark next", "mark prev" extended with option ↵gcramer2017-05-081-2/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "-discardspecial", and an optional pattern, see manual. (2) Update of manual. (3) Test case textMark-2.1 changed. (4) Additional test cases textMark-2.{4-6}, textMark-7.{9-11}, textMark-8.{9-11}, testing the extensions. (5) Update of algorithm in section "IMPROVING THE PERFORMANCE WITH TAGS", this algo has pointed out the usefulness of these extensions.
* | | | | | | | merge trunkfvogel2017-05-022-1/+75
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | merge core-8-6-branchjan.nijtmans2017-05-012-1/+75
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | / | | |_|_|_|_|/ | |/| | | | |
| | * | | | | Fix [e4336bef5d58cc96a438ba0fb5553ea57e94f4d8|e4336bef5d]: Unexpected result ↵jan.nijtmans2017-05-012-1/+75
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | when copying a photo image to itself. Thanks to Simon Bachmann for bug report and fix!
| | | * | | | | Fix [e4336bef5d] (Unexpected result when copying a photo image to itself): ↵bug_e4336bef5dsimonbachmann2017-04-302-1/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if source and destination image are the same, make a local copy of image data before the actual copy/zoom/subsample.