Commit Graph

623 Commits (6ee78e7f68e70f121625327aa97f979551e692b3)

Author SHA1 Message Date
Marius Kintel 81264c1d26 Merge pull request #256 from openscad/glewfix
fix bugs and rewrite GLEW finding code to be more clear.
2013-01-28 09:02:46 -08:00
don bright d6f2cc1a1e if we are on linux/BSD and there's no X running, try Xvfb automatically.
also workaround some Gallium bugs and Imagemagick bugs
2013-01-28 06:38:50 +01:00
don bright d09e0e7f42 fix pkg-config to actually work 2013-01-28 05:15:38 +01:00
don bright 1e64dddf1e Merge branch 'master' of github.com:openscad/openscad into issue159 2013-01-27 20:42:20 -06:00
don bright 9f83c8ffe7 fix bugs and rewrite GLEW finding code to be more clear. 2013-01-27 20:06:08 +01:00
don bright f17a282220 cleanups. and restore accidentally deleted old system-gl.h 2013-01-26 23:19:14 +01:00
don bright 6535b16a31 enable root-modifier (! character) on gui-cmdline output. reduce duplicate code. 2013-01-26 19:31:37 +01:00
don bright 6bac08c33a add gui-cmdlind based output tests (for cgal) 2013-01-26 18:56:33 +01:00
don bright 391c725aeb integrate gui cmdline into test framework 2013-01-26 18:55:47 +01:00
don bright 009baca904 move imageutils platform stuff to qmake build file mv system-gl. fix gcc warning 2013-01-24 04:10:24 +01:00
don bright 1bec7aad09 modify qmake buildfile, move offscreen rendering to main src directory 2013-01-24 04:01:34 +01:00
Marius Kintel 0e4e8b64a7 Test results for updated tests for issue #221 2013-01-17 11:43:17 -05:00
Marius Kintel 810f1a8618 Don't just ignore geometric nodes having zero volume/area - when doing difference/intersection, they tend to turn negative objects into positive ones. Fixes #221 2013-01-08 13:26:25 -05:00
don bright 5c779159c2 new test results (degenerate polygons produce output) 2013-01-08 05:06:26 +01:00
Marius Kintel 101510c5cb Merge pull request #235 from openscad/mxebuild_fix
Mxebuild fix
2013-01-05 14:57:08 -08:00
Marius Kintel bc7ff5aa8d Ignore dimension when evaluating control modules mixed with geometry children. Fixes #229 2012-12-27 17:30:13 +01:00
don bright 0778a55a40 actually assign copyright to Marius + Clifford, to eliminate any
problems with Debian.
2012-12-03 08:59:57 +01:00
don bright f54797cfbd fixes for test suite and gcc 2012-10-28 20:22:04 +01:00
Marius Kintel 65fc1d6b01 Detect recursive execution of functions to avoid a stack overflow crash. Fixes #200 2012-10-09 23:32:56 -04:00
Marius Kintel 0cea83a35d Fixed weakness in parser causing modifier characters not to work in front of 'if' statements. Fixes #197 2012-10-07 15:24:08 -04:00
Marius Kintel a629560cee Merge pull request #186 from openscad/issue185
Issue185
2012-08-21 17:31:28 -07:00
don bright 6a8254f849 add images for tests 2012-08-21 02:47:45 +02:00
don bright 358129cad6 improve test scad. don't use dumptest(), 'nan' is a bit of a problem 2012-08-21 02:39:18 +02:00
Marius Kintel 1e56bf65b9 Merge commit '765f1a98dc124e1913b53ea8467908b8b8bda032' 2012-08-20 19:49:00 -04:00
don bright a5da9c899b improve test scad 2012-08-21 01:40:06 +02:00
Marius Kintel b5cc07098b collect library dependencies a bit to reduce duplication 2012-08-20 19:15:14 -04:00
Marius Kintel 0170923b9b Enable running the test suite on a Mac VM 2012-08-20 10:00:44 -04:00
Marius Kintel 63882721d7 Added support for Mac OS X Lion 2012-08-20 08:56:29 -04:00
don bright 765f1a98dc cleanup 2012-08-19 08:29:22 -05:00
don bright fc945bfdc4 fix small bugs in eigen build scripts 2012-08-19 08:27:49 -05:00
don bright 5d31f56d93 look for EIGENDIR env var. (also look for EIGEN2DIR for backwards compatability) 2012-08-19 08:10:33 -05:00
don bright a9045315ba rewrite Eigen detection in CMakelists. cleanup files for pull request. 2012-08-19 07:58:30 -05:00
don bright 702525f69c cleanup for pull request 2012-08-19 07:31:23 -05:00
don bright d656f556b8 debugging failed test: throwntogethertest polygons 2012-08-18 23:02:39 -05:00
don bright aa2c67d249 make EIGEN_DONT_ALIGN flag work. also remove warnings when using clang. 2012-08-18 21:35:12 -05:00
don bright c4d68588a6 modify build system to auto-detect eigen3, and fallback to eigen2 2012-08-19 00:14:17 +02:00
don bright 10c7607541 more eigen3 fixes.
1. finish converting 'using namespace boost::filsystem' to 'namespace fs = boost::filesystem'.

2. initial version of changes to CMakelists.txt for the regression test
2012-08-18 22:44:46 +02:00
don bright fddad68a73 give Kintel and Wolf permission to alter the license 2012-08-03 20:11:13 -05:00
don bright 4f7bf1819f add test for proper rounding of decimals in echo() 2012-07-26 20:49:58 -05:00
Marius Kintel 2495df6bab Add timestamp to cache key for modules importing files. Fixes #141 2012-07-14 21:57:41 -04:00
Marius Kintel 694382bba9 Merge branch 'master' into value
Conflicts:
	src/parsersettings.cc
2012-07-05 09:41:15 -04:00
Marius Kintel 54067c635d Fixed normalization bug: node limit wasn't checked properly and some cases triggered exponential expansion of nodes during normalization. Fixes #127 2012-07-01 02:08:45 +02:00
Marius Kintel 22c5f37424 Search for libraries from a list of paths. Preparations for issue #125 2012-06-24 16:29:28 +02:00
Marius Kintel 8e8f090fa4 cosmetics 2012-06-23 23:05:06 +02:00
Marius Kintel 197a4e4d36 Merge branch 'master' into value 2012-06-04 11:34:27 +02:00
Marius Kintel 38cb06c3f0 Added test cases for issue #123 2012-06-04 11:22:09 +02:00
don bright cd2d2dabf6 enable CMAKE to find glew on systems that use 'lib64' 2012-06-02 21:57:28 +02:00
Don Bright 45c86b5a5a add extra shapes for testing 'holes' in cut projections. new test images. 2012-05-28 12:24:48 -05:00
Marius Kintel bd714c75a8 Ported away from Qt 2012-05-02 12:07:56 -04:00
Marius Kintel 60ea4baa2c Removed unused include 2012-05-02 12:06:45 -04:00
Marius Kintel 1adc8aa531 Catch and report common top-level issues 2012-04-03 12:51:39 +02:00
Marius Kintel 8766b955ec Updated matrix and vector multiplication tests 2012-03-31 23:22:33 +02:00
Marius Kintel 99cec78159 Revert "expected file for updated projection-tests"
This reverts commit 3cd36f972e.
2012-03-27 23:40:55 +02:00
Marius Kintel b38310a837 bugfix: Support passing files without an explicit parent directory 2012-03-20 12:05:18 +01:00
Don Bright e88ec1a616 require GLEW 1.6 per bug rpt from 42loop 2012-03-01 17:17:30 -06:00
Marius Kintel c5703b4407 bugfix: Fix crash bug when using zero scale factors. Reported by Alan Cox 2012-02-19 13:09:02 +01:00
Andrew Plumb d3528779bb Added dumptest_example023 to disable_tests() 2012-02-18 23:20:28 -05:00
Andrew Plumb de1deb113f Added better example023 with test output. 2012-02-18 21:22:31 -05:00
Marius Kintel 45c180e8e3 Disable test causing floating point comparison issues 2012-02-18 18:44:45 +01:00
Marius Kintel a232426798 Merge branch 'glewfix' 2012-02-18 17:18:17 +01:00
Marius Kintel 79d9fdba32 GLEW fix: Support GLEW installed in the default system location 2012-02-18 16:57:24 +01:00
Marius Kintel d460e7203f Try pkg-config to find GLEW if no override path was specified. Simplifies build on Ubuntu 2012-02-18 16:26:56 +01:00
Marius Kintel ccde313570 Removed redundant dependency on tests-common 2012-02-18 16:05:16 +01:00
Marius Kintel 4f8c89ecf0 Merge branch 'search_function' of https://github.com/clothbot/openscad into clothbot-search_function 2012-02-18 12:51:51 +01:00
Marius Kintel 4b54876b7a Merge branch 'master' into modulecache 2012-02-17 23:08:29 +01:00
Andrew Plumb 32a408f594 Test using search() and MCAD/fonts.scad
A more comprehensive test that exercises the search function and
MCAD/fonts.scad approach to text rendering together.
2012-02-15 00:10:36 -05:00
Andrew Plumb 505e808067 Added search function
Search for characters, strings and integers in a lookup table and
return the index (or indices) for matches.
2012-02-14 23:04:40 -05:00
Andrew Plumb 5d6a259a8b Added vector math support.
Added vector dot-product, matrix*vec, vec*matrix and matrix*matrix
support.
2012-02-14 21:22:48 -05:00
Marius Kintel 3cd36f972e expected file for updated projection-tests 2012-02-15 01:32:37 +01:00
Marius Kintel b9d218e137 Initial implementation of ModuleCache and dependency tracking of used modules 2012-02-15 01:32:37 +01:00
Marius Kintel cf3102f4fb expected file for updated projection-tests 2012-02-04 02:51:00 +01:00
Marius Kintel 1ce1b88249 bugfix: Nested use and included of files inside libraries was broken. Fixes #78 2012-02-02 23:11:54 +01:00
Marius Kintel 2def247b1b Minor refactor: use set/get_librarydir() to access global variable 2012-02-02 22:50:51 +01:00
Marius Kintel 5056de8d1c bugfix: scad files without a newline as the last character could leave a commented out line open, shadowing command-line parameters. Fixes #76 2012-01-31 22:00:00 +01:00
Marius Kintel e541df8bb5 Added test case for recently fixed csg normalization bugfix 2012-01-29 19:02:19 +01:00
Marius Kintel 3c3bb91520 Bugfix for tests: Empty tree after normalization 2012-01-29 19:01:15 +01:00
Marius Kintel ed02aa85ef The tests no longer depend on QtGui or QtOpenGL 2012-01-25 21:12:50 +01:00
Marius Kintel 8061a36dd1 Use QCoreApplication - reduce Qt dependency 2012-01-25 21:07:53 +01:00
Marius Kintel eff1f7f8c9 Ported printutils away from Qt 2012-01-25 03:11:12 +01:00
Marius Kintel 16c05eb533 Temporarily removed progress output from file exporting to remove Qt dependency. When reinstating this, use another mechanism 2012-01-25 02:59:02 +01:00
Marius Kintel d3fc11b7db compile fix for recent change of the normalize() method 2012-01-24 23:10:58 +01:00
Don Bright 864c39f5fb fix boosty.h docs / layout. chg boost CMake minver back to 1.35.0 2012-01-14 14:14:26 -06:00
donb 65a1c9cf6c add boosty.h for compatability with boost <1.44 2012-01-14 05:02:15 +01:00
Marius Kintel 10701f7158 Added absolute path tests to include and use tests, fixed bug using absolute paths in use and include 2012-01-14 03:25:09 +01:00
Don Bright 1cec18d9c0 Require Boost 1.44, and set BOOST_FILESYSTEM_VERSION=3 on .44 and .45 2012-01-12 18:35:34 -06:00
Marius Kintel a4810e0019 Added cgalcachetest 2012-01-10 00:01:51 +01:00
Marius Kintel 5044ea928d typo: ouput->output 2012-01-09 03:20:27 +01:00
Marius Kintel ad338d3e46 Another try at fixing double-to-text conversion for testing 2012-01-09 01:44:01 +01:00
Marius Kintel d3c9654ed5 Merge branch 'inftest' of https://github.com/brad/openscad into brad-inftest 2012-01-09 00:22:38 +01:00
Brad Pitcher 28f5f7a910 added tests passing infinity to various functions 2012-01-08 11:40:04 -08:00
Marius Kintel 3c18145b13 Merge branch 'master' into boost_filesystem 2012-01-08 19:14:30 +01:00
Don Bright 7af27e1838 add CMAKE_RC_COMPILER to fix bug report by Brad Pitcher 2012-01-07 07:15:49 -06:00
Don Bright c3a2dfcf47 fix typo in path to CMingw-cross-env.cmake in instructions 2012-01-06 18:56:03 -06:00
Marius Kintel 666621e220 Additional fixes after merging with master 2012-01-04 23:27:59 +01:00
Marius Kintel fdce8d15fc Merge branch 'master' into boost_filesystem
Conflicts:
	boost.pri
	src/lexer.l
	tests/CMakeLists.txt
2012-01-04 23:07:32 +01:00
Marius Kintel 9856607d27 Merge pull request #54 from openscad/parserfix
fix crash bug rpt by nop head - 'use <x.scad>' when x.scad doesnt exist
2012-01-04 09:05:30 -08:00
Marius Kintel 9bac643ed8 Merge pull request #55 from openscad/netbsd_build
Netbsd build
2012-01-04 09:04:21 -08:00
Don Bright f5b1e37f2d do not need 'installation prefix' for tests 2012-01-04 00:41:52 -06:00
don bright c0ccad0216 adding flags for NetBSD build 2012-01-03 23:05:02 +00:00
Marius Kintel 9f16204889 Added expected files for use-tests 2012-01-03 20:47:09 +01:00
Marius Kintel fac508c8cd Added use-tests, minimal change to include-tests 2012-01-03 20:34:31 +01:00
Marius Kintel 597c561107 Ignore more generated files 2012-01-03 20:33:11 +01:00
Don Bright e437182c09 add --mingw-cross-env switch to test_cmdline_tool.py 2012-01-03 12:27:03 -06:00
don bright 277c762912 changes to enable building on NetBSD 2012-01-03 18:21:28 +01:00
Don Bright b9c027a699 use pkg-config to find QT libraries in mingw-cross-env, not FindQt4.cmake 2012-01-02 20:44:50 -06:00
don bright 7860d85daa add -no-strict-aliasing for mingw cross compiles. add lzma lib flag 2011-12-31 15:53:39 -08:00
don bright 807261e01e fix typo in test build script 2011-12-31 15:39:48 -08:00
Don Bright 3f1cb83f4b various tweaks for cross compiling tests under mingw 2011-12-31 17:02:34 -06:00
don bright 3d686118bb enable linux->mingw32 cross-compilation of tests 2011-12-31 17:02:55 +01:00
Marius Kintel e88cbddec5 Disabled a few more dumptests due to floating point differences 2011-12-29 13:56:36 +01:00
Marius Kintel 6b5c103d57 Merge branch 'master' into color-priority 2011-12-28 18:16:17 +01:00
Marius Kintel 732803039d Slightly modified example008 to reduce z-buffer fighting in throwntogether mode 2011-12-28 18:15:47 +01:00
Marius Kintel e8b8c45bad Merge branch 'master' into color-priority 2011-12-28 18:06:32 +01:00
Marius Kintel c6004a5c27 Updated intersection-tests to avoid hard-to-compare OpenGL z-buffer fighting 2011-12-28 18:05:14 +01:00
Marius Kintel 22072c1c21 Merge branch 'master' into color-priority 2011-12-28 17:57:27 +01:00
Marius Kintel 10d7df1760 Merge branch 'master' of github.com:openscad/openscad 2011-12-28 17:54:48 +01:00
Marius Kintel db7b829089 Updated intersection-tests to avoid hard-to-compare OpenGL z-buffer fighting 2011-12-28 17:53:57 +01:00
Marius Kintel bc35b37676 Disabled a few dump tests causing floating point comparison issues 2011-12-28 17:53:09 +01:00
Marius Kintel e14a9e2d28 Merge branch 'master' into color-priority 2011-12-28 17:10:25 +01:00
Marius Kintel c1c54b3314 Updated expected files due to recently introduced bounding box changes 2011-12-28 13:35:54 +01:00
don bright 0ff0d2b68a regression tests: fix ncc==0 false-fails when using NCC image comparison 2011-12-27 21:17:04 -08:00
Marius Kintel 00a0ec6419 Updated expected files due to recently introduced bounding box changes 2011-12-27 16:04:16 +01:00
Marius Kintel bac92dbd0e Merge branch 'master' into color-priority 2011-12-27 14:46:10 +01:00
Marius Kintel 3d2a4d342b Merge branch 'buildfix' of github.com:openscad/openscad into buildfix 2011-12-27 14:44:08 +01:00
don bright 4dd727b390 fix pre/ appending of includes on systems w mult libs + OPENSCAD_LIBRARIES 2011-12-26 16:32:33 -06:00
Marius Kintel cde24f6815 Merge branch 'master' into buildfix 2011-12-26 21:20:05 +01:00
don 0582999233 print boost_root when it's under OPENSCAD_LIBRARIES, otherwise skip print 2011-12-26 12:51:30 -06:00
Marius Kintel bc3454f369 Refactored normalization into a separate class, hard-limited normalization to stop at 5000 nodes to keep from normalizing 'forever' 2011-12-26 19:15:51 +01:00
don bright 3c3cf02f4a if CGAL's -DMAKE_INSTALL_PREFIX=$X, then enable finding of CGAL in $X 2011-12-26 10:01:03 -08:00
don bright 1aadb679de fix bug on system with OPENSCAD_LIBRARIES + mult versions of boost 2011-12-26 09:53:22 -08:00
don bright f6ba8cd53a fix build w mult. versions of boost when OPENSCAD_LIBRARIES used 2011-12-26 17:35:42 +01:00
Marius Kintel 4f950c3538 Added test for hexagonal cylinder orientation, aka. captured nuts 2011-12-26 17:18:56 +01:00
don bright 1e57a14785 fix eigen2 finding bug 2011-12-26 17:03:04 +01:00
Marius Kintel e502fab71d Merge branch 'master' into color-priority
Conflicts:
	openscad.pro
2011-12-26 16:37:45 +01:00
Marius Kintel cbabbaed70 Merge branch 'master' into boost_filesystem
Conflicts:
	openscad.pro
	src/module.h
2011-12-26 16:37:00 +01:00
Marius Kintel 85420b81b3 Added test case for nan occuring in exported STL files 2011-12-26 13:21:50 +01:00
Marius Kintel d91021746a Added test case for nan occuring in exported STL files 2011-12-26 13:21:29 +01:00
Marius Kintel c4bffdaf37 Color overriding now works. The outermost color will win if multiple colors are specified for the same object 2011-12-26 00:38:03 +01:00
Marius Kintel 0bbfa9efb0 Modified eigen2 test to work for system-eigen2 and OPENSCAD_LIBRARIES without eigen2 2011-12-25 17:58:24 +01:00
Marius Kintel 1679a57240 Merge branch 'master' into buildfix 2011-12-25 17:44:06 +01:00
Marius Kintel 5db9bfc2ff Added test case for color override 2011-12-25 17:16:29 +01:00
Marius Kintel 312a25f270 Removed Qt dependency from parser_init() 2011-12-25 15:09:52 +01:00
don bright c5511b05ec find eigen2 when OPENSCAD_LIBRARIES is set in regression test build 2011-12-25 03:10:22 +01:00
Marius Kintel 9293b591c7 Ported currentdir handling from Qt to boost filesystem 2011-12-25 00:22:03 +01:00
Marius Kintel 0ab51d2d23 Extracted librarydir initialization to separate function 2011-12-24 22:02:37 +01:00
Marius Kintel dc4bc15925 Ported binary STL file reader away from Qt 2011-12-23 22:01:19 +01:00
Marius Kintel d6efe5cbcb Merge branch 'master' into boost_filesystem
Conflicts:
	tests/CMakeLists.txt
2011-12-23 21:14:12 +01:00
Marius Kintel 9fa18d5392 Fixed CSG regression reported by Ed Nisley; bounding boxes are now transformed correctly 2011-12-23 14:33:40 +01:00
Marius Kintel 03a2da9f4a Test case for recent CSG regression reported by Ed Nisley 2011-12-23 14:12:35 +01:00
Marius Kintel cd3d816f93 fix for recently introduced bug: If no actual image was generated, we failed to output the expected image 2011-12-23 13:57:34 +01:00