Commit Graph

4674 Commits (241723dd8f4a14aafedff4b0ddee1364f051cbd6)

Author SHA1 Message Date
Don Bright 3c71753332 tweak improvements for test pretty print logging. new intersection test img files
Conflicts:
	tests/regression/opencsgtest/intersection2-tests-expected.png
	tests/test_pretty_print.py
2014-07-22 15:18:18 -04:00
Don Bright e5bb9d178d add test imgs for offpngtest and stlpngtest. updates to test_cmd and test_pretty_print
to handle missing expected images better and properly report img comparer.
tweak diffpng

Conflicts:
	src/OGL_helper.h
	tests/CMakeLists.txt
	tests/test_3d_export.py
	tests/test_cmdline_tool.py
	tests/test_pretty_print.py
2014-07-22 15:15:53 -04:00
Don Bright 07ad12f154 update diffpng.cpp 2014-07-22 15:09:42 -04:00
Don Bright 4d619a7e38 update diffpng
Conflicts:
	tests/CMakeLists.txt
2014-07-22 15:09:36 -04:00
Don Bright 94d11adeb2 allow alternate image comparison tool diffpng based on Hector Yee's algorithm
Conflicts:
	tests/CMakeLists.txt
2014-07-22 15:09:04 -04:00
Don Bright 901caedd01 fallback to diffpng if ImageMagick is missing 2014-07-22 15:02:27 -04:00
don bright a44f844882 fix bug in imagemagick comparison detector 2014-07-22 15:02:20 -04:00
Don Bright 6f0bd738e7 test ImageMagick to see if two non-identical images are considered identical.
on failure, fall back to diffpng comparison (diffpng.cpp)
2014-07-22 15:02:13 -04:00
Don Bright b3737d96c2 allow alternate image comparison tool diffpng based on Hector Yee's algorithm
Conflicts:
	tests/CMakeLists.txt
	tests/test_cmdline_tool.py
2014-07-22 15:02:05 -04:00
Marius Kintel af8c3ee9d1 Merge remote-tracking branch 'origin/master' into scintillaeditor
Conflicts:
	src/PlatformUtils.cc
2014-07-22 14:48:45 -04:00
Marius Kintel b3d094a604 Fixed failing tests by adjusting some mistakes done while cherry-picking from the test_3d_export branch 2014-07-22 14:11:21 -04:00
Don Bright d2338e9e87 make default render like it was before. (bbox.center=center) 2014-07-22 14:00:45 -04:00
Marius Kintel d21dea3fd1 Removed debug info 2014-07-22 14:00:43 -04:00
Don Bright 209feff810 redo 2d tests to be viewed from the top down. experiment w altering viewall code
Conflicts:
	src/Camera.cc
	tests/CMakeLists.txt
	tests/regression/cgalpngtest/resize-2d-tests-expected.png
	tests/regression/cgalpngtest/rotate_extrude_dxf-tests-expected.png
	tests/regression/cgalpngtest/text-font-alignment-tests-expected.png
	tests/regression/cgalpngtest/text-font-direction-tests-expected.png
	tests/regression/cgalpngtest/text-font-simple-tests-expected.png
	tests/regression/cgalpngtest/text-font-tests-expected.png
	tests/regression/dumptest/resize-2d-tests-expected.csg
	tests/regression/opencsgtest/intersection2-tests-expected.png
	tests/regression/opencsgtest/resize-2d-tests-expected.png
	tests/regression/opencsgtest/rotate_extrude_dxf-tests-expected.png
	tests/regression/opencsgtest/text-font-alignment-tests-expected.png
	tests/regression/opencsgtest/text-font-direction-tests-expected.png
	tests/regression/opencsgtest/text-font-simple-tests-expected.png
	tests/regression/opencsgtest/text-font-tests-expected.png
	tests/regression/throwntogethertest/resize-2d-tests-expected.png
	tests/regression/throwntogethertest/rotate_extrude_dxf-tests-expected.png
	tests/regression/throwntogethertest/text-font-alignment-tests-expected.png
	tests/regression/throwntogethertest/text-font-direction-tests-expected.png
	tests/regression/throwntogethertest/text-font-simple-tests-expected.png
	tests/regression/throwntogethertest/text-font-tests-expected.png
2014-07-22 14:00:08 -04:00
Don Bright f3a0d5dc64 add --autocenter option to make it easier to test 2d objects properly
Conflicts:
	src/Camera.cc
	tests/CMakeLists.txt
2014-07-22 13:37:09 -04:00
Marius Kintel 28864037ee Split info() function into separate file as it depends on too many defines and external libs 2014-07-22 13:32:44 -04:00
Marius Kintel 50ac9c262c cgal vs. nocgal build tweaks 2014-07-22 12:21:48 -04:00
Marius Kintel fef8e6a9a8 Correctly display OpenCSG version for test suite 2014-07-22 11:49:08 -04:00
Oskar Linde 7358e1108f Resolve issue #883 2014-07-22 11:11:57 +02:00
Oskar Linde ba81166a2b Add tests for issue #883 2014-07-22 11:11:23 +02:00
Marius Kintel 0852e707a6 Don't crash on infinite dimensions. Fixes #859 2014-07-17 17:59:42 -04:00
Marius Kintel 2790b4987f Merge branch 'master' of github.com:openscad/openscad 2014-07-17 17:36:14 -04:00
Marius Kintel f87ee92755 bugfix: don't crash on empty resize(). refactoring: added virtual copy() to geometry, moved resize() to CGAL_Nef_polyhedron. Fixes #862 2014-07-17 17:03:03 -04:00
Torsten Paul d4ef0823d3 Add Coverity Status badge. 2014-07-17 22:27:34 +02:00
Torsten Paul 2e63a3ac86 Skip unit test run after coverity scan. 2014-07-17 21:32:06 +02:00
Marius Kintel 68962e1c01 Allow building without scintilla 2014-07-17 15:28:23 -04:00
Marius Kintel 6b95307ae1 Improved editor tab layout 2014-07-17 15:28:14 -04:00
Marius Kintel 74ec208581 QScintilla build script for Mac 2014-07-17 15:11:33 -04:00
Marius Kintel 514a34a85f bugfix: always return a bool 2014-07-17 15:10:58 -04:00
Marius Kintel 66ec59eaae Added QScintilla version to library info 2014-07-17 15:10:39 -04:00
Marius Kintel 597cdbe7b3 Fix to make debug builds correctly link against qscintilla on Mac/Windows 2014-07-17 15:09:50 -04:00
Marius Kintel 6270441341 Merge remote-tracking branch 'origin/master' into scintillaeditor
Conflicts:
	openscad.pro
	src/mainwin.cc
2014-07-17 15:07:42 -04:00
Torsten Paul e84e6bb09c Activate scan.coverity.com integration. 2014-07-17 20:34:22 +02:00
Marius Kintel aadb85d86e Less verbose irc output from travis 2014-07-17 11:37:12 -04:00
Marius Kintel c7aa75c558 Merge pull request #856 from openscad/fix-viewport-scoping
Fix viewport variable scoping
2014-07-17 11:14:01 -04:00
Marius Kintel bfc182c290 Merge pull request #876 from openscad/issue875-testcase
Test case for UTF-8 include / use (issue #875).
2014-07-17 11:12:44 -04:00
Torsten Paul 37686582d9 Test case for UTF-8 include / use (issue #875). 2014-07-17 00:54:12 +02:00
Torsten Paul 1269ef49c3 Add test cases for chr(). 2014-07-13 19:18:48 +02:00
Torsten Paul 94fd976bad Add chr() function to convert numbers to unicode characters. 2014-07-13 18:43:44 +02:00
Torsten Paul 247479ca67 Merge pull request #871 from openscad/text-fixes-3
Text fixes (part 3)
2014-07-12 23:01:24 +02:00
Torsten Paul f47edd1bfe Accept Macintosh/Roman charmap and always dump charmaps (as debug output). 2014-07-12 21:36:56 +02:00
Torsten Paul ca51057485 Read font index from fontconfig and check result from FcPatternGet(). 2014-07-12 21:36:56 +02:00
Torsten Paul d0ba2903b3 Enable text for most test cases and update reference images. 2014-07-12 21:36:56 +02:00
Torsten Paul 2b37c39861 Add filter for font table. 2014-07-12 21:36:56 +02:00
Torsten Paul f01afd7252 Add paste button to font list dialog. 2014-07-12 21:36:56 +02:00
Torsten Paul d86e9d43ee Fix text() CSG output and cleanup test cases.
- enable text feature in import-export test cases
- drop ParaType font as Liberation is needed for the composition regression
  test, so use this for other tests too
- drop Amiri bold font, which is not adding anything to coverage
2014-07-12 21:36:50 +02:00
shaina7837 91d4929af7 content modified message without modifying anything problem get solved 2014-07-11 20:32:30 +05:30
shaina7837 8ab18596ad runtime switching from simple editor to scintilla editor 2014-07-11 19:41:16 +05:30
Torsten Paul 7847fd0dad Update camera settings for camortho test and update reference image. 2014-07-08 00:55:01 +02:00
Torsten Paul 6cb5e9218f Setup camera distance for both perspective and orthogonal mode. 2014-07-08 00:55:01 +02:00