Commit graph

1355 commits

Author SHA1 Message Date
Don Bright
5e1df90c55 add test for issue1407, recursion crash when vectors are parameters 2015-09-05 22:26:33 -05:00
Don Bright
3fa0046638 allow custom location of openscad GUI binary by setting OPENSCAD_BINARY
environment variable
2015-09-05 19:26:45 -05:00
Marius Kintel
6441ac4da2 Merge pull request #1416 from chrysn-pull-requests/chrysn/issue1415
Fix path discovery for fonts
2015-08-18 23:11:16 +02:00
Marius Kintel
2f4091b1b7 Merge pull request #1379 from openscad/issue1378-linear-extrude-crash
Ignore Inf/NaN parameters to linear_extrude() (fixes #1378).
2015-08-12 20:47:41 +02:00
chrysn
90a660d718 Fix path discovery for fonts
When the path to the openscad binary changed in [1], the relative path
was not changed and therefore led into the void, falling back to system
paths.

[1] https://github.com/openscad/openscad/issues/1362
2015-08-11 16:19:51 +02:00
Chow Loong Jin
211b795326 Add hashbang to test_cmdline_tool.py
Forwarded: no

Gbp-Pq: Name Add-hashbang-to-test_cmdline_tool.py.patch
2015-08-11 11:47:01 +02:00
Torsten Paul
1f5367bd46 Ignore Inf/NaN parameters to linear_extrude() (fixes #1378). 2015-07-04 16:50:59 +02:00
Marius Kintel
9a113b9407 Merge branch 'master' of github.com:openscad/openscad 2015-06-19 18:20:49 -04:00
Marius Kintel
310b8fa693 Reinstated openscad_nogui as an optional build target (cmake -DNOGUI=1). No need to run translation-make.sh as that's done by qmake 2015-06-19 18:20:26 -04:00
Marius Kintel
058330b0ad Merge branch 'chrysn/drop-openscadtesting' of https://github.com/chrysn-pull-requests/openscad 2015-06-19 16:52:55 -04:00
don bright
b1caaaa344 Merge branch 'master' of github.com:openscad/openscad into issue1355 2015-06-09 18:20:58 -07:00
chrysn
f85ace9dd0 fix font directory discovery in export_import_pngtest
the old way of constructing the font path from the openscad binary
has failed since the binary built outside testing has been used.
building the path from the test script works with any openscad binary.
2015-06-08 11:05:52 +02:00
Marius Kintel
87e32efc18 Handle dimensional errors in matrix multiplication, including undef values. Fixes #1356 2015-06-07 13:11:27 -04:00
chrysn
7b39f455b5 fix building of remaining binaries
the previous patch has removed the -DENABLE_EXPERIMENTAL flag, assuming
that it is not required any more without openscad_nogui being built.
while that is sufficient for the test suite, other binaries built in the
tests/ directory would still use those flags.

in order to make them buildable again, the -DOPENSCAD_NOGUI compile time
option is added (as the resulting binaries are command-line-only tools,
which was previously implicit by setting -DOPENSCAD_TESTING), and
-DENABLE_EXPERIMENTAL is restored.
2015-06-07 15:32:36 +02:00
Don Bright
db206e78de fix typo for previous commit 2015-06-06 14:51:56 -04:00
Don Bright
357e7db66b workaround FORTIFY_SOURCE bug where clang won't build under fedora 22 2015-06-06 14:50:44 -04:00
chrysn
47f93e3f44 don't build openscad_nogui any more 2015-06-04 21:28:17 +02:00
chrysn
d3494d66b1 add float normalization to test_cmdline_tool
this helps removing the need for OPENSCAD_TESTING
2015-06-04 21:17:27 +02:00
Don Bright
4db4aa5563 prevent gcc crash on systems w 2GB RAM, by splitting cgalutils 2015-06-01 23:18:22 -04:00
Don Bright
0a2556304f split cgalutils to reduce gcc RAM usage. fix fedora deps. fix warnings 2015-06-01 21:43:27 -04:00
Don Bright
7279c1c019 issue 1355 on Un*X find X11 for Offscreen, due to cmake change in OpenGL finding 2015-05-31 23:13:58 -04:00
Torsten Paul
9f372cff41 Simple detection of script and direction based on given text.
This adds a simple detection logic based on the hb_unicode_script()
function provided by harfbuzz. Automatic script selection will only
happen if no valid parameter was given (basically only in case of
a missing script parameter in text()).
If different scripts are found in a single text, the resulting value
is HB_SCRIPT_UNKNOWN.
2015-05-09 18:05:07 +02:00
Marius Kintel
2b3392266f Merge pull request #1326 from openscad/issue1325
Fixes Issue #1325
2015-04-25 16:57:05 -04:00
Marius Kintel
e6989526ca #1325 Fixed crash when polygons with > 3 indices turn out to be degenerate 2015-04-25 15:20:09 -04:00
Marius Kintel
4d0745d337 Revert "Bumped version to 2015.03-1"
This reverts commit a209035a83.
2015-04-21 11:09:23 -04:00
Marius Kintel
a209035a83 Bumped version to 2015.03-1 2015-04-21 10:41:44 -04:00
Marius Kintel
4d3800cc89 Merge pull request #1313 from clothbot/patch-3
Removed deprecated assign statement
2015-04-16 00:32:12 -04:00
Andrew Plumb
c32e271a0c Sync up output with example023 cleanup. 2015-04-15 23:58:06 -04:00
Marius Kintel
6e5315b430 Merge pull request #1312 from clothbot/patch-2
Comment out search term not found WARNING
2015-04-15 22:08:24 -04:00
Andrew Plumb
e8c8bda674 Manually removing WARNING echos. 2015-04-15 14:50:44 -04:00
Andrew Plumb
dee5885d9f Manually removing WARNING echos. 2015-04-15 14:49:02 -04:00
ankush1995
7e5394c6fa separate-compile 2015-04-15 14:56:19 +05:30
Marius Kintel
c5e1e2b9af Merge remote-tracking branch 'origin/master' into c++11 2015-03-20 17:00:41 -04:00
Marius Kintel
9ef1717459 Conflicts:
openscad.pro
	scripts/publish-macosx.sh
	scripts/publish-mingw-x.sh
	scripts/release-common.sh
	tests/CMakeLists.txt
2015-03-14 16:17:07 -04:00
Marius Kintel
9660ba84a0 Merge remote-tracking branch 'origin/master' into c++11 2015-03-14 15:46:49 -04:00
Marius Kintel
064cf23887 #1258 Moved test to issues after fixing 2015-03-13 15:52:52 -04:00
Marius Kintel
f3e28ca8b4 #1258 Added testcase 2015-03-13 15:34:52 -04:00
Marius Kintel
067eec8743 Merge remote-tracking branch 'origin/master' into c++11 2015-03-12 01:38:29 -04:00
Marius Kintel
0eb91e0549 Ignore leading and trailing whitespace when comparings dumps, makes diffs a lot easier to read 2015-03-12 00:24:27 -04:00
Marius Kintel
541352acad Removed use of deprecated rotate_extrude variant 2015-03-12 00:04:54 -04:00
Marius Kintel
394cc15fba Merge remote-tracking branch 'origin/master' into c++11 2015-03-10 22:08:06 -04:00
Marius Kintel
ca72a5ab5d Reverted version to master after release 2015-03-10 10:46:46 -04:00
Marius Kintel
a7bf4fe69b Bumped version to 2015.03 2015-03-10 10:45:40 -04:00
Marius Kintel
15a7d74b69 Updated test results after adding echo(version()) 2015-03-09 13:10:44 -04:00
Marius Kintel
424f37e17b #1250 Don't tesselate convex polysets for rendering 2015-03-08 23:56:37 -04:00
Marius Kintel
f52061535e Updated test result; order of polygons changes 2015-03-08 20:56:30 -04:00
Marius Kintel
78f3c283b0 Updated test results after fixing zero clamp surface issue 2015-03-07 23:17:33 -05:00
Marius Kintel
d98f892913 Updated test result after camera change 2015-03-07 19:34:47 -05:00
Marius Kintel
788293f68f Updated test results after camera changes 2015-03-07 19:01:58 -05:00
Marius Kintel
2c2b9b15ac Issue 899 is fixed 2015-03-07 18:50:55 -05:00
Marius Kintel
2dd29906ef Merge branch 'master' of github.com:openscad/openscad 2015-03-07 18:33:18 -05:00
Marius Kintel
7cf1f3a7dd #1246 Filter away nan/inf coordinates to avoid crashing libtess2 2015-03-07 18:33:09 -05:00
Marius Kintel
56723afa50 #1246 Added testcase 2015-03-07 18:14:12 -05:00
Marius Kintel
e4b55e2eed Slightly modified camera tests, cgalpngtest-text-search-test is no longer heavy 2015-03-07 14:20:09 -05:00
Marius Kintel
3e5846d969 #1239 Updated test results 2015-03-05 18:28:56 -05:00
Marius Kintel
f3eaa2a6c0 #1239 Updated test results 2015-03-05 17:45:22 -05:00
Marius Kintel
778752a8dc #1239 Updated test cases 2015-03-05 17:31:15 -05:00
Marius Kintel
0599ece998 Disable test which triggers floating point rounding issues 2015-03-05 17:02:21 -05:00
Marius Kintel
a2d0985737 #1158 Don't mix 2D and 3D objects 2015-03-05 15:57:48 -05:00
Marius Kintel
8761d340be #1236 Updated test results after camera FOV change 2015-03-05 10:26:32 -05:00
Marius Kintel
66134448ac #1236 slighty update camera parameters 2015-03-05 10:26:09 -05:00
Marius Kintel
e8ad157619 #1158 Added old examples back, updated expected results, general workover 2015-03-03 16:31:48 -05:00
Marius Kintel
dc160d410d #1158 Updated examples 2015-03-03 02:49:19 -05:00
Marius Kintel
5c7ebc0fda Updated examples 2015-03-03 02:47:53 -05:00
Marius Kintel
928a3f5da7 updated example 2015-03-03 02:46:04 -05:00
Marius Kintel
4d0b59abfa changed convexity 2015-03-03 02:45:41 -05:00
Marius Kintel
6eaf6e9500 Allow 2D cross product 2015-03-03 02:28:01 -05:00
Marius Kintel
dfc516c5e1 #1233 Added testcase 2015-03-02 17:06:27 -05:00
Marius Kintel
43c500f0b8 Refactor: Moved _DxfData contents to main cc file as it's no longer related to dxfdata 2015-03-02 14:47:28 -05:00
Marius Kintel
656735f694 #1225 moved fixed test to issues 2015-02-23 21:28:41 -05:00
Marius Kintel
56f3552404 #1225 Added testcase 2015-02-23 19:12:44 -05:00
Marius Kintel
aaed62060c #1223 Updated tests 2015-02-22 19:02:10 -05:00
Marius Kintel
e7e8b30379 #1223 Improved testcases 2015-02-22 02:47:57 -05:00
Marius Kintel
5878da1c7d #1223 Added testcase 2015-02-21 19:12:37 -05:00
Marius Kintel
577f8129ae Deal with known non-manifoldness 2015-02-20 00:28:13 -05:00
Marius Kintel
979cb37381 #904 Moved fixed tests to issues 2015-02-20 00:16:41 -05:00
Marius Kintel
38280a10ae #1105 moved fixed tests to issues 2015-02-19 23:59:11 -05:00
Marius Kintel
944ad096fc #1221 Moved fixed tests to issues 2015-02-19 23:46:36 -05:00
Marius Kintel
0c74474c49 #1215 Moved fixed tests to issues 2015-02-19 23:44:57 -05:00
Marius Kintel
5c2c96a4f2 #13 Added another testcase 2015-02-19 23:39:09 -05:00
Marius Kintel
e23c79fd25 #945 Added another testcase 2015-02-19 23:27:46 -05:00
Marius Kintel
2b01887b7f #1221 Adjusted related tests 2015-02-19 21:01:05 -05:00
Marius Kintel
b7617fd82f #1221 Added testcase 2015-02-19 20:21:02 -05:00
Marius Kintel
7073e3a2f5 #1215 test case is known to be weakly manifold 2015-02-19 16:40:25 -05:00
Marius Kintel
da6fb17207 #1215 Enable exceptions in test suite 2015-02-17 17:18:48 -05:00
Marius Kintel
47d4954f8b Updated expected test result 2015-02-17 17:18:26 -05:00
Marius Kintel
98fcfa43be #1215 Added expected test results 2015-02-17 17:17:27 -05:00
Marius Kintel
54239a2534 Merge remote-tracking branch 'origin/master' into c++11 2015-02-17 15:28:58 -05:00
Marius Kintel
307afc53e0 #1215 Added new testcase 2015-02-16 14:41:14 -05:00
Marius Kintel
d5d22158dd #1215 Added support for optional --render parameter as well as optional manifoldness requirement to export_import_pngtest, slightly reorganized tests to use the new parameters 2015-02-14 12:26:54 -05:00
Marius Kintel
946eb0efdf Adjusted some non-manifold tests 2015-02-13 16:17:59 -05:00
Marius Kintel
c023b1eb30 ignore *.pyc 2015-02-12 14:46:30 -05:00
Marius Kintel
c8e12ad949 Minor reorg of expor-import tests to better handle manifoldness issues 2015-02-12 14:45:48 -05:00
Marius Kintel
6893d3efe2 Always run with --render=cgal for the first export 2015-02-12 14:45:25 -05:00
Marius Kintel
09b3ab45d4 #1215 Added tests, check for weak manifoldness when running tests 2015-02-12 12:29:15 -05:00
Marius Kintel
6ac8d017b7 #669 Added DXX11 and LIBCXX11 options 2015-02-10 19:10:08 -05:00
Marius Kintel
707103b606 #793 Tessellate PolySets before rendering to properly support concave polygons 2015-02-02 18:57:21 -05:00
Marius Kintel
9cade2487e Added NBSP tests 2015-02-02 14:05:49 -05:00
Marius Kintel
f669f4d84a Merge branch 'master' of github.com:openscad/openscad 2015-02-01 18:43:21 -05:00
Marius Kintel
111197f694 #793 Added testcase 2015-02-01 18:43:18 -05:00