5249 Commits

Author SHA1 Message Date
Joseph Lenox
db43d27be7 Change dependency linking depending on SLIC3R_STATIC CMAKE option. 2018-07-14 20:21:34 -05:00
Joseph Lenox
4c3bddd6b8 Set flags appropriately in Release and Debug configurations in Cmake. 2018-07-14 20:20:26 -05:00
Joseph Lenox
1bf8ca7a59 Refactor to provide an istream prototype for parse() 2018-07-14 20:19:28 -05:00
Joseph Lenox
2f8c88cb96 Don't use the new methods on perl side (avoid test failure in tmf) 2018-07-13 19:41:44 -05:00
Joseph Lenox
3f3de067f8 Added epsilon to Slic3r::Geometry; added _equiv for comparing two items that have operator- overloaded. 2018-07-13 19:36:01 -05:00
Joseph Lenox
f29768ff8e Begin port of Slic3r::Test methods as part of the test harness (not linked into main application) 2018-07-13 19:20:23 -05:00
Joseph Lenox
8255dc321b Added move constructor and move-assignment operator for TriangleMesh, factored out
the copy construtor and copy-assignment to a private clone() method.

copy-and-swap had a conflict in the selection of signatures in some existing methods.
2018-07-13 19:18:50 -05:00
Joseph Lenox
238e32666a Replaced redundant constructor and pushed the raw pointer constructor into private scope. 2018-07-12 23:48:53 -05:00
Joseph Lenox
f0fd8240da Actually build things that aren't the perl build env 2018-07-12 23:34:04 -05:00
Joseph Lenox
f0ba8a2340 Replaced iterator-based constructor with one that takes either vector or array.
Refactored TriangleMesh constructor to use raw pointer (C-style semantics) and pointer vector/array.
2018-07-12 23:26:07 -05:00
Joseph Lenox
ee208ddc73 Added templated iterator-based constructor for TriangleMesh and tests for it. 2018-07-12 23:13:44 -05:00
Joseph Lenox
05c900a283 Tagged constructors for Point, Point3, Pointf, Pointf3 as constexpr to extend their use 2018-07-12 23:13:02 -05:00
Joseph Lenox
932a238328 Add test to set string options. 2018-07-12 22:02:09 -05:00
Joseph Lenox
7861037556 Wrote accessor tests and accompanying implementation. 2018-07-12 21:54:10 -05:00
Joseph Lenox
40cedc350c Basic validation for generic numeric types and its test. 2018-07-12 20:21:07 -05:00
Joseph Lenox
5991bf8833 Add set functions to avoid going through deserialize in ConfigOptionFloat and its descendants. 2018-07-12 20:20:16 -05:00
Joseph Lenox
e3e1f4762e Use regular char instead of 32 2018-07-12 17:33:19 -05:00
Joseph Lenox
2aa97855c8 Fixed some paths and stubbed new_from_ini 2018-07-12 17:32:05 -05:00
Joseph Lenox
62aeb5be85 Forgot to add Config:: to methods in Config.cpp 2018-07-12 17:05:19 -05:00
Joseph Lenox
44115a6885 ignore built files and configured test_options.hpp 2018-07-12 17:03:59 -05:00
Joseph Lenox
1cbc1895ea Fix a typo in CMakeLists, point at correct path for test_options.hpp.in 2018-07-12 17:02:12 -05:00
Joseph Lenox
c3ff41b0c2 Moved read_ini and write_ini to cpp file, added more comments 2018-07-12 12:08:46 -05:00
Joseph Lenox
eacc24fc96 one more clause for files that don't have a .license 2018-07-12 11:44:47 -05:00
Joseph Lenox
5faaa4ead0 Added additional rules for external test inputs, including licensing requirements. 2018-07-12 11:36:29 -05:00
Joseph Lenox
61c1255aec
I wanted a HR there, not === 2018-07-12 11:13:21 -05:00
Joseph Lenox
8bac95a208 Expanded tests slightly for config and laid out framework for external input files. 2018-07-12 11:08:15 -05:00
Joseph Lenox
ff7ed5bd60 Begin stubbing in Config interface and tests for interface. 2018-07-12 00:14:10 -05:00
Joseph Lenox
5dbfc104b7 Fix test count. 2018-07-11 22:41:51 -05:00
Joseph Lenox
6cca89f5c8 ... travis, please. 2018-07-11 22:24:06 -05:00
Joseph Lenox
a51903d358 ... travis, please. 2018-07-11 22:20:45 -05:00
Joseph Lenox
9c845ecff9 Revert perl test changes. 2018-07-11 22:14:51 -05:00
Joseph Lenox
8e3440f832 Added volume tests (using a large divisor for accuracy). 2018-07-11 22:14:51 -05:00
Joseph Lenox
5053a52562 add WXVERSION back in 2018-07-11 22:14:51 -05:00
Joseph Lenox
fb0fbad68e build perl half with 4.9 2018-07-11 22:14:51 -05:00
Joseph Lenox
cc60395bf8 Further tweaks of travis.yml 2018-07-11 22:14:51 -05:00
Joseph Lenox
84027f59cc forgot deployment for build.pl route. 2018-07-11 22:14:51 -05:00
Joseph Lenox
39904d993e okay, let's not do that with travis_wait 2018-07-11 22:14:51 -05:00
Joseph Lenox
7e41496f56 Oops, forgot a ;fi 2018-07-11 22:14:51 -05:00
Joseph Lenox
67c65cce94 Use old packaging system instead of new packaging (REVERT THIS LATER) 2018-07-11 22:14:51 -05:00
Joseph Lenox
fa382ebd70 Put build system into a hybrid. 2018-07-11 22:14:51 -05:00
Joseph Lenox
a5df41042f Revert "Put build system back the way it was so we don't break things when merging in cppgui stuff"
This reverts commit 961dd6b06fba9ce7f2fd46e52db241e256531f4a.
2018-07-11 22:14:51 -05:00
Joseph Lenox
667af0be2a Put build system back the way it was so we don't break things when merging in cppgui stuff 2018-07-11 22:14:51 -05:00
Joseph Lenox
a3327df92f Add CMAKE option to turn on the gui when building slic3r.cpp (defaults to off) 2018-07-11 22:14:51 -05:00
Joseph Lenox
5ff201c53f Adjusted functions so that SLIC3RXS and the perl-less builds can live side-by-side. 2018-07-11 22:14:51 -05:00
Joseph Lenox
2ed48de491 Don't create extra, redundant points in the mesh. 2018-07-11 22:14:51 -05:00
Joseph Lenox
4d6deea6cb Return a moveable copy of the mesh and repair it prior to returning. 2018-07-11 22:14:51 -05:00
Joseph Lenox
0fc288b6d7 Pushed ::slice and ::stats() and ::bb3() into TriangleMesh.
Added more tests to TriangleMesh.
2018-07-11 22:14:51 -05:00
Joseph Lenox
0facb7dcb2 Update pushed to main travis file.
Quiet down wxmac install as well.
2018-07-11 22:14:51 -05:00
Joseph Lenox
093a621187 Make brew louder so that it doesn't trip Travis timeouts. 2018-07-11 22:14:51 -05:00
Joseph Lenox
784437ea7d Be louder about brew update 2018-07-11 22:14:51 -05:00