Commit Graph

24 Commits

Author SHA1 Message Date
bubnikv
9406b50447 Const correctness improvements:
removed some unnecessary const_casts that remove const.
2020-01-03 16:33:04 +01:00
tamasmeszaros
c97aacd2d8 Officially move to C++17 for the whole PrusaSlicer source tree; 2019-12-18 11:53:28 +01:00
Vojtech Kral
927ad5776c avrdude: Cherry-pick rev 1421 from upstream:
Submitted by Reinhard Max patch #8311: Add IPv6 support to the
-Pnet:host:port option * ser_posix.c (net_open):
Rewrite to use getaddrinfo() rather than gethostbyname()

Fix #2918
2019-09-20 17:17:07 +02:00
Vojtech Kral
3b498f687c Fix a few error messages in avrdude 2019-09-06 15:14:28 +02:00
Vojtech Kral
8b7f0c5359 Refactor a few more catch(...) instances 2019-08-27 10:37:34 +02:00
Vojtech Kral
03079d4928 avrdude: Fix: Generate the embedded conf in the bin dir, remove from repo
The generated file avrdude-slic3r.conf.h is not kept in repo any longer
- it was causing trouble for git diffing.
It's now generated in $CMAKE_CURRENT_BINARY_DIR and included from there.

The file embeds avrdude-slic3r.conf so that the conf doesn't need to
be loaded from disk.
2019-08-20 15:15:30 +02:00
Vojtech Kral
0ded335488 build: Add source file encoding check
Source files are checked using a small utility in src/build-utils
This is done to prevent bugs in build and localization caused
by weird non-UTF-8 encodings interpreted by MSVC in terms of local codepages
rather than UTF-8.
2019-08-19 17:04:14 +02:00
Vojtech Kral
baaf66d138 avrdude: conf-generate: Fix line endings - always generate LF endings
avrdude configuration embedding tool was generating platform
specific line endings in avrdude-slic3r.conf.h
2019-08-19 17:04:14 +02:00
tamasmeszaros
7e0199746e more clang warnings enabled, performance measuring
Succesfull build on mingw-w64


fix sandboxes


Mingw fixes and full parallel support tree gen.
2019-08-16 16:17:37 +02:00
tamasmeszaros
7d25d8c677 Can build with (original llvm) clang-cl on windows 2019-08-01 16:03:52 +02:00
Vojtech Kral
a38bcdde66 avrdude: Fix types in embedded config 2019-06-25 18:16:54 +02:00
Vojtech Kral
84027a3d3b avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
bubnikv
3f08d9f30d Changed references to renamed github project
https://github.com/prusa3d/PrusaSlicer
2019-05-14 19:46:01 +02:00
Vojtech Kral
b7941345d1 avrdude: Fix serial port handle leak in many places 2019-03-01 13:15:20 +01:00
Vojtech Kral
a61a72cc94 avrdude: Fix serial timeout on Windows 2019-03-01 13:15:20 +01:00
Vojtech Kral
bc1aaaa146 avrdude: Fix string encoding handling on Windows 2019-03-01 13:15:20 +01:00
Vojtech Kral
c426c99af0 avrdude: Build avrdude-slic3r by default 2019-03-01 13:15:20 +01:00
Vojtech Kral
ffd7a3d933 avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
Vojtech Kral
fba4d109c8 avrdude: Add a Windows-aware fopen 2019-03-01 13:15:20 +01:00
Vojtech Kral
a2ce4c00de avrdude: ser_posix: Add timeout in ser_send(), refactoring 2019-03-01 13:15:20 +01:00
Vojtech Kral
91ccdb0a4d Firmware Updater: Log avrdude arguments 2019-02-22 16:11:13 +01:00
Vojtech Kral
a99c823401 Build: MSVC 2017 compat (w/o xs code - Perl unit tests) 2019-01-29 17:11:07 +01:00
tamasmeszaros
87d49cf82f Adding object elevation param.
Quick attempt to build with MinGW 7.3. Successful compile, failed linking
2018-11-19 17:58:08 +01:00
bubnikv
0558b53493 WIP: Moved sources int src/, separated most of the source code from Perl.
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00