Commit Graph

125 Commits

Author SHA1 Message Date
bubnikv
e931f75010 Work in progress: Good bye, Perl Threads! 2018-03-23 11:41:20 +01:00
bubnikv
a38cbac312 Removed the LWP and Growl Perl dependencies. 2018-03-16 11:56:37 +01:00
Eyal
da8ffd477d Missing prerequisites in Build.PL (#593)
I was unable to compile without ExtUtils::XSpp and ExtUtils::Typemaps .

My platform is a fresh install of OctoPi on Raspberry Pi.

I'm not sure what the `0` in those lines does.
2017-11-29 16:57:21 +01:00
bubnikv
38e35cefc7 Removed the Perl Build.PL for the XS module. This has been replaced
by the CMake based build system.
2017-08-30 10:03:32 +02:00
bubnikv
cf2f29a5f1 reverted a regression bug in the Perl Wx module minium version
https://github.com/prusa3d/Slic3r/issues/468
2017-08-28 15:59:26 +02:00
bubnikv
401059066e Switched to Perl local::lib for local compilation.
Taken from upstream Slic3r, thanks @alexrj.
2017-08-18 09:58:50 +02:00
bubnikv
ed46cfa19d Simplified the code base by requiring wxWidgets >= 3.0 2017-08-03 17:47:18 +02:00
bubnikv
1385018724 Unicode handling:
Removed the Perl dependencies on Encode, Encode::Locale and Unicode::Normalize.
Added dependency on boost::locale.
Added encode_path, decode_path, normalize_utf8 functions to Slic3r.xs

Slic3r.xs has been made mostly utf8 safe by using the boost::nowide library,
thanks to @alexrj for the idea.

Simplified the encode_path / decode_path stuff:
wxWidgets are unicode already, so there is no need to decode_path() from it.
Perl / win32 interfacing is non-unicode, so decode_path() is executed
on ARGV just at the beginning of the perl scripts.
2017-08-03 17:31:31 +02:00
bubnikv
06f82d1db5 No need for Math::Libm 2017-03-06 13:09:23 +01:00
bubnikv
f0f550783f Good bye, Perl Expat binding! 2017-02-27 00:38:30 +01:00
bubnikv
17ea15eb6f Build script clean-up:
Removed a requirement on an old Perl::OpenGL library.
Removed a mention of the Perl::PlanePath library, which is no more used by Slic3r.
2017-02-15 19:31:20 +01:00
bubnikv
dfa3f8d597 Perl OpenGL 0.7 package causes crashes on many platforms.
Constrain compilation to Perl OpenGL version lower than 0.7.
897ca52654
2016-11-04 23:23:01 +01:00
bubnikv
95ede7c4b8 Rewrote Fill2.pm to C++, deleted Perl infills for good.
Removed dependency on Perl Math::PlanePath module.
Fixed compilation with Visual Studio and SLIC3R_DEBUG: Visual Studio older than 2015 does not support the prinf type specifier %zu. Use %Iu instead.
C++11 move semantics enabled.
2016-11-02 10:47:00 +01:00
Alessandro Ranellucci
9b21ac877a Merge branch 'master' into sender
Conflicts:
	Build.PL
	lib/Slic3r.pm
	xs/MANIFEST
	xs/src/libslic3r/PrintConfig.hpp
2015-11-01 19:12:13 +01:00
Alessandro Ranellucci
be1f35c516 Disable testing of modules that have known broken tests 2015-06-20 15:56:54 +02:00
Alessandro Ranellucci
552430db67 More fixes for Unicode path handling (thanks @josefprusa for Czech test VM) 2015-06-13 11:41:55 +02:00
Alessandro Ranellucci
56b993bb89 More fixes for Unicode filenames support on Windows and OS X 2015-06-02 16:10:15 +02:00
Alessandro Ranellucci
6185f45815 Hopefully fix all problems with non-ASCII paths on Windows 2015-03-09 15:17:50 +01:00
Alessandro Ranellucci
3ae6f2630e Merge branch 'master' into sender
Conflicts:
	Build.PL
2015-02-01 14:07:32 +01:00
Alessandro Ranellucci
3648bbd6d4 Require an up-to-date Win32::API version because older ones are not thread-safe and cause random segfaults. #2517 2015-01-18 16:52:55 +01:00
Alessandro Ranellucci
40ce69ce5c Make Test::Harness optional 2015-01-09 14:02:49 +01:00
Alessandro Ranellucci
766b301f78 Typo 2015-01-08 22:51:21 +01:00
Alessandro Ranellucci
9507fb91f0 Serial ports detection on Win32 2015-01-04 23:53:59 +01:00
Alessandro Ranellucci
29d64107de Merge branch 'master' into sender 2014-12-31 16:25:26 +01:00
Alessandro Ranellucci
0b77fe743c Workaround for upstream bug in OpenGL test that prevents installation 2014-12-29 01:10:34 +01:00
Alessandro Ranellucci
b468e68c59 Bonjour autodiscovery of the Octoprint instances in local network. #1826 2014-12-28 18:49:52 +01:00
Alessandro Ranellucci
efe7d5f857 Integration with Octoprint. #1826 2014-12-28 01:30:05 +01:00
Alessandro Ranellucci
005f138ce7 Merge branch 'master' into sender 2014-12-26 01:30:48 +01:00
Alessandro Ranellucci
84760b8d59 Require a recent threads.pm version because of upstream bug 85140 potentially causing deadlocks when stopping running threads. #2394
https://rt.cpan.org/Ticket/Display.html?id=85140
2014-12-13 00:01:24 +01:00
Alessandro Ranellucci
11dd67ab34 Initial work for G-code sender and more intensive usage of Boost 2014-11-26 22:30:25 +01:00
Alessandro Ranellucci
d452a16ba8 Install Class::Accessor with Build.PL --gui. #2315 2014-10-28 23:39:11 +01:00
Alessandro Ranellucci
53f2d6bb4b New 3D Honeycomb infill pattern (credits: David Eccles (gringer)). #1646 2014-07-26 17:07:43 +02:00
Alessandro Ranellucci
829bfeabe8 Suspend background processes while writing to shared data structures 2014-06-13 23:27:52 +02:00
Alessandro Ranellucci
147385203c Make XS compilation verbose since most users forget to include the build.log file when reporting issues. This also makes Travis-CI logs more useful 2014-05-26 12:50:59 +02:00
Petr Ledvina
c81d26b960 add --sudo flag
This adds --sudo flag to Build.PL. This flag is passed to cpanm,
so it is possible to build Slicer on linux without beeing root (build files
are owned by user)
2014-04-10 16:02:48 +02:00
Alessandro Ranellucci
eadffe4a9e Merge branch 'master' into boost-medialaxis
Conflicts:
	lib/Slic3r/Layer/Region.pm
	xs/src/ExPolygon.cpp
	xs/src/Point.cpp
	xs/src/Point.hpp
	xs/src/TriangleMesh.cpp
	xs/t/01_trianglemesh.t
2014-03-02 22:36:20 +01:00
Alessandro Ranellucci
e7349622a2 Removed dependency on Storable; some fixes in Build.PL. #1693 2014-01-11 21:46:22 +01:00
Alessandro Ranellucci
7b0decbeb1 Finished implementing Boost.Polygon medial axis. Some cleanup needed 2014-01-10 16:18:55 +01:00
Alessandro Ranellucci
231bffa99b Add Module::Build::WithXSpp to prerequisites. #1640 2013-12-28 16:01:46 +01:00
Alessandro Ranellucci
4577f0725c Incomplete work for XS-based convex_hull 2013-11-22 21:43:35 +01:00
Alessandro Ranellucci
132d170f73 Ported simplify() to XS and removed dependency on Boost::Geometry::Utils 2013-11-22 16:01:50 +01:00
Alessandro Ranellucci
2597ddccbc Move Growl::GNTP to --gui modules 2013-11-20 15:37:40 +01:00
Alessandro Ranellucci
ff5cc9a17a Require ExtUtils::ParseXS 3.22 instead of forcing 3.18_04 2013-11-19 15:54:00 +01:00
Alessandro Ranellucci
dc049dfa1e Find Expat on Windows 32-bit too 2013-11-19 01:22:31 +01:00
Alessandro Ranellucci
c8fb1ceac8 Add path to expat on Windows to benefit from faster AMF parsing 2013-11-12 13:35:36 +01:00
Alessandro Ranellucci
849e714147 Complain loudly if XS cannot be compiled 2013-11-11 16:40:48 +01:00
Alessandro Ranellucci
4250ebf644 Missing line in Build.PL 2013-11-11 10:28:27 +01:00
Alessandro Ranellucci
781e09f86f Typo 2013-11-10 14:32:55 +01:00
Alessandro Ranellucci
720ef322d7 Some improvements to Build.PL 2013-11-10 14:31:51 +01:00
Alessandro Ranellucci
1e51479369 Require ExtUtils::MakeMaker 6.80 to prevent some tests from failing. #1501 2013-10-28 11:14:53 +01:00