118 Commits

Author SHA1 Message Date
Joseph Lenox
8c69278454
Quick port amf (#5068)
* Ports the basic deflate and related items from prusa3d/PrusaSlicer for AMF deflate.

Implements #4511

* Actually add the tests to read files.

* Push all  the utils into one header.

* Revise slightly to ensure we end up in the logic and just rely on strcmp to check the buffer against the magic key.

* Use more compatible CMake construction?

* Build using cmake3 on travis.

* Fix use of strcmp; remove unused config definition

* throw an exception if bad zip file

* Use correct string header for cstrings; terminate buffer.

* Insist on CMake >= 3.9, actually install it on Travis

* Use VERSION_STRING instead for boost

* Use VERSION_GREATER_EQUAL to look for 1.74 or higher when attempting to include nowide

* invert logic to do what we want

* All build systems are terrible in their own way.
2021-03-20 22:43:46 -05:00
luzpaz
1bd22994e9
Fix misc. typos (#4857)
* Fix misc. typos

Found via `codespell -q 3 -S *.po,./t,./xs/t,./xs/xsp -L ot,uin`

* Follow-up typo fixes
2020-06-07 21:37:20 -05:00
Joseph Lenox
c3ca6d2bb1 Add libcrypt.so.1 to appimage. 2019-05-03 20:32:02 -05:00
Joseph Lenox
716c018cd4 Force install of cppguess 2019-03-31 07:12:18 -05:00
Brian Vanderbusch
05a2f9028a fix transparent desktop icon 2019-02-09 21:08:26 -06:00
J-P Nurmi
70946af2ae Add missing quotes to startup scripts 2019-02-09 20:57:32 -06:00
Joseph Lenox
f18c34006c Don't load swrast_dri.so, it's breaking(?) some driver/distro combinations and
may not actually help.
2019-01-05 19:25:25 -06:00
Joseph Lenox
90f108ae8e
Use GCC8 instead of 4.9 for travis (#4666)
* Use GCC8 toolchain

* Allow appimage to preload included libgcc_s and stdc++ if necessary.

* Need to add header for boost::noncopyable

* use const strings for exceptions.

* use right header dir for shim

* Only use swrast_dri from appimage if it's old or doesn't exist.

* added note about where the apprun script was source from, thanks @darealshinji
2019-01-01 16:00:39 -06:00
Joseph Lenox
f19fc3b6dc #4635 only use WXDIR if it is set. 2018-12-30 20:33:14 -06:00
Joseph Lenox
9c3d9ca4a5 #4635 Correct assumptions about where the working folder is. 2018-12-30 20:33:14 -06:00
Joseph Lenox
6397d58c7d #4635 Use readlink -f instead of readlink for startup script on Linux. 2018-12-30 20:33:14 -06:00
Joseph Lenox
f1fc6d24e4 #4635 Fix paths for cleanup routine; $archivefolder is an absolute path, not relative. 2018-12-30 20:33:14 -06:00
Joseph Lenox
4745d03bd8 #4635 Use correct expansion mechanism to test if var is set/unset for pp/perl 2018-12-30 20:33:14 -06:00
Joseph Lenox
9c7394db81 #4635 Clean up code branch 2018-12-30 20:33:14 -06:00
Joseph Lenox
a3073afcc2 #4635 Fix invocation for make_archive. 2018-12-30 20:33:14 -06:00
Joseph Lenox
ed45c01420 #4635 Move source dir determinator into common utilties. 2018-12-30 20:33:14 -06:00
Joseph Lenox
63c7d68140 #4635 Extra information about what gets copied where. 2018-12-30 20:33:14 -06:00
Joseph Lenox
53aac950b2 #4635 Remove end-of-line spaces. 2018-12-30 20:33:14 -06:00
Joseph Lenox
95a00456cf #4635 Be more verbose about what is getting copied where. 2018-12-30 20:33:14 -06:00
Joseph Lenox
0b84d55f23 #4635 Add usage note for make_archive 2018-12-30 20:33:14 -06:00
Joseph Lenox
9b5238ef91 #4635 Add some more useful diagnostic messages to make_archive.sh and fix a syntax error. 2018-12-30 20:33:14 -06:00
Joseph Lenox
b3a848ed00 Allow for override of PERL_BIN and PP_BIN 2018-12-01 13:26:53 -06:00
Joseph Lenox
bd6edbd969 cpanm then. 2018-11-30 23:14:13 -06:00
Joseph Lenox
c9adeac3d0 install local::lib in slic3r-perl 2018-11-30 22:51:54 -06:00
Joseph Lenox
9eeca454e1 Comment out use of libstdc++ to "fix" #4627 at the cost of breaking old distros. 2018-11-30 21:36:14 -06:00
Joseph Lenox
f02df04392 don't source, just switch. 2018-11-30 21:35:26 -06:00
Joseph Lenox
76d3813cdb ensure perlbrew perl is used for travis deploy (no idea why it isn't). 2018-11-27 22:27:21 -06:00
Alessandro Ranellucci
11a6601c4a Make Linux build fail correctly when something does not work 2018-11-25 11:55:57 -06:00
Joseph Lenox
76c588ccfe ensure that a failing return code propagates out from linux travis-build-main 2018-11-24 20:10:53 -06:00
Alessandro Ranellucci
28592cf160 Try to compile on OSX 10.12 and fix Mac deployment 2018-11-09 16:53:40 +01:00
Alessandro Ranellucci
cbb618a381 More tweaks for Travis caching 2018-11-08 13:51:46 +01:00
Alessandro Ranellucci
fd5cd7a3e3 Fix path 2018-11-08 12:40:38 +01:00
Alessandro Ranellucci
18769699eb Fix cache triggers 2018-11-08 12:30:32 +01:00
Alessandro Ranellucci
868ed58baa Re-enable Build.PL for osx and leverage Travis cache for Linux 2018-11-08 11:15:14 +01:00
Alessandro Ranellucci
c9ce5bf3ae More fixes to CI scripts 2018-11-07 16:49:01 +01:00
Alessandro Ranellucci
390d613e87 More fixes for CI 2018-11-07 14:22:23 +01:00
Alessandro Ranellucci
5f5c075689 Further refactoring of TravisCI configuration 2018-11-07 01:08:53 +01:00
Alessandro Ranellucci
76828a805c Refactoring of Travis configuration 2018-11-07 00:21:31 +01:00
Joseph Lenox
8c52045b14 Try adding swrast to AppImage 2018-10-29 19:35:09 -05:00
Joseph Lenox
457203623f revert package scripts to 1.3.0 for linux 2018-08-19 23:41:55 -05:00
Joseph Lenox
1123c68f50 Fixed casing for slic3r 2018-08-19 21:29:35 -05:00
Joseph Lenox
8f65bf7f62 switch on travis 2018-08-19 20:30:32 -05:00
Joseph Lenox
acdf25cb15 actually get to the path 2018-08-19 19:53:50 -05:00
Joseph Lenox
8fefac8d61 set SLIC3R_DIR properly? 2018-08-19 19:51:41 -05:00
Joseph Lenox
0eaf610875 go back to gcc49 2018-07-26 21:39:17 -05:00
Joseph Lenox
3b52855497 use gcc7 perlbrew 2018-07-26 20:45:57 -05:00
Joseph Lenox
a9b3b0ab7f Merge remote-tracking branch 'thethirdone/Scene3D' into test-merge-thethirdone-3d-plater
# Conflicts:
#	.gitignore
#	.travis.yml
#	README.md
#	package/linux/travis-setup.sh
#	src/CMakeLists.txt
#	src/GUI/ColorScheme/Default.hpp
#	src/GUI/Plater.cpp
#	src/GUI/Plater/Plate2D.cpp
#	src/GUI/Plater/Plate3D.hpp
#	src/GUI/Plater/Preview3D.hpp
#	src/GUI/Preset.hpp
#	src/GUI/misc_ui.cpp
#	src/GUI/misc_ui.hpp
#	src/slic3r.cpp
#	src/test/GUI/test_field_checkbox.cpp
#	xs/src/libslic3r/Config.cpp
#	xs/src/libslic3r/Config.hpp
#	xs/src/libslic3r/ConfigBase.cpp
#	xs/src/libslic3r/ConfigBase.hpp
#	xs/src/libslic3r/Log.hpp
2018-07-17 17:35:05 -05:00
Joseph Lenox
5053a52562 add WXVERSION back in 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