Vojtech Kral
f747b97564
FirmwareDialog: Attempt to fix window double close assertion #2619
2019-09-09 16:41:14 +02:00
Vojtech Kral
d096804a24
Fix a few warnings in PrintHostDialogs, UploadDialogs
2019-09-06 16:33:00 +02:00
Vojtech Kral
fec1113020
Merge branch 'vk-bugfixes'
2019-09-06 15:29:29 +02:00
Vojtech Kral
34821df6eb
Fix bad pointer dereference in ObjectList::list_manipulation()
...
Fix of #2875
2019-09-06 15:28:58 +02:00
Vojtech Kral
3b498f687c
Fix a few error messages in avrdude
2019-09-06 15:14:28 +02:00
Vojtech Kral
bc6bb85d65
Merge pull request #2646 from labsin/no_FHS_build
...
Only set SLIC3R_FHS_RESOURCES when SLIC3R_FHS is set
2019-09-02 12:16:15 +02:00
Vojtech Kral
979f66a73b
Merge branch 'vk-bugfixes'
2019-08-27 10:37:42 +02:00
Vojtech Kral
8b7f0c5359
Refactor a few more catch(...) instances
2019-08-27 10:37:34 +02:00
Vojtech Kral
f9184f3564
PresetBundle: Add print_host to options considered security-sensitive
...
full_config_secure() now also removes print_host option
alongside printhost_apikey and printhost_cafile.
2019-08-27 10:37:34 +02:00
Vojtech Kral
4edae08a11
UpdateDialogs: Fix: Wrap update description
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
1fc05bbf00
ConfigWizard: Fix: Snapshot not being taken on user-requested Wizard run
...
If the user launched Wizard from the menu and checked the reset
checkbox, snapshot was not taken in case no new bundles were
to be installed from resources (ie. most of the time).
Snapshot is now taken as appropriate.
2019-08-20 12:00:23 +02:00
Vojtech Kral
93983b7864
Merge branch 'vk-bugfixes'
2019-08-19 17:04:50 +02:00
Vojtech Kral
ef4ff55e55
Fix encoding of a few files in GUI
...
GUI/AboutDialog.cpp
GUI/MainFrame.hpp
GUI/OptionsGroup.cpp
2019-08-19 17:04:14 +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
f937209619
Refactor catch(...) handlers in Http, OctoPrint, PrintHost, and Serial
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
Vojtech Kral
745182988d
Refactor: Move Semver from slice3r to libslic3r
...
A static symbol Slic3r::SEMVER is introduced, which holds
the running slicer's Semver object.
This is mainly done to make testing updater behaviour
_much_ easier. Additionaly to cleanup some questionable code
(Semver was being parsed multiple times / in multiple places
in the frontend.)
2019-08-19 17:04:14 +02:00
Vojtech Kral
b5dd13b987
PresetUpdater: Fix index installation having broken incompatibility check
...
This fixes a problem where old slicer having found newer incompatible bundle
would not report an incompatibility.
The installed index check was performed too early before
bundle compatibility check. This fix moves the installed index check
to the point where a bundle would've been update (as it should be).
2019-08-19 17:04:14 +02:00
Vojtech Kral
bfb135bcc3
Comment out stale implementation in Serial, fix #2150
2019-08-02 15:20:52 +02:00
Vojtech Kral
fca2fc0d97
Deprecate the How to build on Windows doc for now
2019-07-29 14:51:35 +02:00
Vojtech Kral
dda7b3fc52
Merge branch 'vk-bugfixes':
...
- Fix a ternary op type error in Tab
- Build: Remove SLIC3R_SYNTAXONLY
2019-07-26 14:28:01 +02:00
Vojtech Kral
ba21d606af
Fix a ternary op type error in Tab
...
Fix #2668
Fix #2676
2019-07-26 14:27:37 +02:00
Vojtech Kral
26c2b16f61
Build: Remove SLIC3R_SYNTAXONLY
2019-07-26 14:27:37 +02:00
Vojtech Kral
ab677bad41
Mac OS: Fix gettext lookup in deps build
2019-07-22 16:00:52 +02:00
Vojtech Kral
99e2fe20a5
Fix a memory access bug in ObjectManipulation
2019-07-19 17:58:46 +02:00
Vojtech Kral
f09fb92b61
Fix build against system-provided qhull
2019-07-02 11:43:07 +02:00
Vojtech Kral
1a529cb778
PresetUpdater: Fix: Index installed too early
2019-07-01 11:35:02 +02:00
Vojtech Kral
61080bcff6
Merge branch 'bugfixes': avrdude warnings cleanup
2019-06-28 15:21:45 +02:00
Vojtech Kral
a38bcdde66
avrdude: Fix types in embedded config
2019-06-25 18:16:54 +02:00
Vojtech Kral
85575e5615
Fix: IsTriviallyCopyable on clang
2019-06-25 18:16:53 +02:00
Vojtech Kral
4fb904357f
Warnings cleanup in BonjourDialog, ConfigWizard, FirmwareDialog,
...
GLGizmoCut, ImGuiWrapper
2019-06-25 18:16:53 +02:00
Vojtech Kral
f7d4a35c3d
semver: warnings cleanup
2019-06-25 18:16:53 +02:00
Vojtech Kral
84027a3d3b
avrdude: warnings cleanup
2019-06-25 18:16:49 +02:00
Vojtech Kral
1eb7634af7
Merge branch 'updating': Index installation
2019-06-24 11:09:55 +02:00
Vojtech Kral
767dcb9607
Merge branch 'bugfixes': Fixes in fw updater UI
2019-06-24 11:09:07 +02:00
Vojtech Kral
503212181c
Updating: Index installation
...
Prevents cancelled updates from popping up repeatedly
on each application startup
2019-06-20 14:26:29 +02:00
Vojtech Kral
8208da0a7b
Firmware updater: Fix MMU flashing in GUI
2019-06-20 11:17:35 +02:00
Vojtech Kral
09da7a84b5
Firmware updater: Prevent empty flashing jobs
2019-06-20 11:17:35 +02:00
Vojtech Kral
3c8024bddd
BonjourDialog: Fix dialog flags
2019-06-03 17:41:02 +02:00
Vojtech Kral
053a0af374
Add missing header
2019-06-03 17:41:02 +02:00
Vojtech Kral
28d28a54bf
Preset updating: Judge dev version based on version online, not current
2019-05-20 18:36:55 +02:00
Vojtech Kral
032cf3cd47
Merge pull request #2272 from wavexx/do_not_refresh_until_initialized
...
Delay refresh until initialized
2019-05-20 14:48:47 +02:00
Vojtech Kral
8133aa1324
Fix wxSpinCtrl in settings on Mac OS, cf. #2237
2019-05-20 14:39:42 +02:00
Vojtech Kral
b234a1b7a7
Use mac_max_scaling_factor() in create_scaled_bitmap()
2019-05-17 19:16:03 +02:00
Vojtech Kral
8c862ade29
Revert 6b379428d4
2019-05-17 19:11:11 +02:00
Vojtech Kral
eebb9e3fe7
Fix double wizard on incompatible bundle, for real this time
2019-05-17 19:09:06 +02:00
Vojtech Kral
b205daa437
Revert "Fix double wizard on incompatible bundle"
...
This reverts commit 9c288df1b6 .
2019-05-17 17:50:06 +02:00
Vojtech Kral
9c288df1b6
Fix double wizard on incompatible bundle
2019-05-17 15:04:37 +02:00
Vojtech Kral
83bdb46209
Firmware updater: Make device names consistent
2019-05-17 13:23:21 +02:00
Vojtech Kral
11662f87b8
Updating: dev_version based on build_id as well
2019-05-14 13:30:55 +02:00
Vojtech Kral
6c5bdeadc3
Updating: Add localized links
2019-05-14 13:30:55 +02:00
Vojtech Kral
658e9c2b1b
Refactor language switch, infer user's language on fresh startup
2019-05-06 11:58:06 +02:00
Vojtech Kral
ba297a929a
Prompt language selection on fresh startup
2019-05-06 11:51:08 +02:00
Vojtech Kral
8098c09589
MainFrame: Maximize by default (at first start)
2019-04-29 16:57:08 +02:00
Vojtech Kral
9d67804d10
ConfigWizard: Finish DPI resizing (MSW)
2019-04-29 12:22:44 +02:00
Vojtech Kral
b158598393
Detect dank mode on Mac OS
2019-04-29 11:36:01 +02:00
Vojtech Kral
fb0836b0b2
ConfigWizard: Select an appropriate printer based on the bundle order
2019-04-29 11:36:00 +02:00
Vojtech Kral
3f978f6afe
ConfigWizard: Fix app name interpolation
2019-04-25 10:47:15 +02:00
Vojtech Kral
98c8cef657
ConfigWizard: Don't blow up if a printer bitmap is missing
2019-04-24 16:03:32 +02:00
Vojtech Kral
cfa7802a8a
ConfigWizard: Attempt to fix width hint
2019-04-24 16:03:32 +02:00
Vojtech Kral
5fd2e573a0
GUI_App: Add a language code getter
2019-04-24 16:03:32 +02:00
Vojtech Kral
e9d629f248
Build: Don't add imgui dir when SLIC3R_GUI is off
2019-04-23 14:57:26 +02:00
Vojtech Kral
2088abdc31
Build: Don't add slic3r dir when SLIC3R_GUI is off #1050
2019-04-23 14:19:13 +02:00
Vojtech Kral
eae6576162
Fix default bitmap loading in Field
2019-04-17 17:31:00 +02:00
Vojtech Kral
79e71cb8d3
ConfigWizard: Fix index width
2019-04-17 16:48:01 +02:00
Vojtech Kral
b57452d090
Fix a bunch of race conditions between arrange and bg processing, fix #1770
2019-04-17 15:40:58 +02:00
Vojtech Kral
00ed0de815
Fix a format string in UpdateDialogs.cpp
2019-04-17 14:26:07 +02:00
Vojtech Kral
554176b97f
Http: Fix redirecting of post requests, fix #2018
2019-04-16 12:09:51 +02:00
Vojtech Kral
bf3a52925b
doc: Mac build: Add note about XCode SDK version lock
2019-04-15 11:57:49 +02:00
Vojtech Kral
5522ed9574
Also revert high DPI bitmaps in ObjectList for now
2019-04-12 11:28:07 +02:00
Vojtech Kral
2fe63e0b04
Revert high DPI bitmaps in Preset and PresetBundle for now
...
due to bugs in wxBitmapComboBox et al.
2019-04-12 11:04:42 +02:00
Vojtech Kral
62d9a44a03
Update SL1 icon
2019-04-10 12:11:47 +02:00
Vojtech Kral
81f4ce5f2e
Bitmaps: Pass wxWindow context in a few more places
2019-04-09 18:01:45 +02:00
Vojtech Kral
d399ebacc9
Bitmaps: Fix: Use scaling factor on Mac only
2019-04-09 18:01:45 +02:00
Vojtech Kral
c17e8602ed
Factor out load_scaled_bitmap
2019-04-09 15:16:10 +02:00
Vojtech Kral
64ce604ff4
GUI_App: Refactor exception handling
2019-04-09 15:16:10 +02:00
Vojtech Kral
2494dc6706
Fix SVG & bitmap scaling on Mac depending on Retina scaling
2019-04-09 15:16:10 +02:00
Vojtech Kral
d97037e246
GLCanvas3D: Fix an assert in _set_current()
2019-04-09 15:16:10 +02:00
Vojtech Kral
ffc5a43c33
More fixes in the Readme
2019-04-08 13:05:45 +02:00
Vojtech Kral
7e32f2df71
Implement per-screen DPI on Windows, DPI change event, wxDialog & wxFrame mixin base classes
2019-04-08 11:34:46 +02:00
Vojtech Kral
5eca68eeeb
Readme: Add logo link
2019-04-08 10:16:50 +02:00
Vojtech Kral
ecbf4b51eb
Tidy up Readme a little bit
2019-04-08 10:14:05 +02:00
Vojtech Kral
5977d7fcfa
Merge pull request #2083 from lf-/readme-update2
...
Initial fixes on README to bring it up to date with Prusa changes
2019-04-08 10:11:16 +02:00
Vojtech Kral
814471c890
doc: Fix line break issue
2019-04-08 10:09:35 +02:00
Vojtech Kral
a8a2125069
Windows deps & build doc: Fix msbuild parallelism, cf. #2078
2019-04-08 10:04:40 +02:00
Vojtech Kral
edebfe5345
Merge pull request #2078 from lf-/doc-note
...
Add a note for users of newer VS versions in build guide
2019-04-08 09:20:35 +02:00
Vojtech Kral
70ce79c86e
SLA export: Finalize filename when exporting & uploading,
...
set correct project name when uploading
2019-04-04 13:10:11 +02:00
Vojtech Kral
251747e6fa
GLGizmoCut: Scale input field
2019-04-04 12:31:13 +02:00
Vojtech Kral
703b9bda32
imgui: Fix scaling
2019-04-03 16:39:28 +02:00
Vojtech Kral
c99fe20504
imgui: Yet another font size fix
2019-04-03 16:31:49 +02:00
Vojtech Kral
1979baf619
imgui: Fix font size and scaling on Windows
2019-04-02 15:28:14 +02:00
Vojtech Kral
9d5eb2cd48
Fix build
2019-04-02 10:56:30 +02:00
Vojtech Kral
c542413962
imgui: More refactoring, cut gizmo window positioning
2019-04-02 10:36:24 +02:00
Vojtech Kral
145b8fd0df
Firmware updater: Improve logging
2019-04-02 10:33:37 +02:00
Vojtech Kral
75990923f7
Firmware updater: Support for CW1
2019-04-02 10:33:37 +02:00
Vojtech Kral
88cc93cdc9
imgui: Refactor font size, font initialization
2019-04-01 14:28:39 +02:00
Vojtech Kral
3cfb234e86
imgui: Get font size from wxWidgets, fix #2043
2019-03-29 14:58:32 +01:00
Vojtech Kral
1e9e378659
Fix string access in Preferences.cpp
2019-03-27 13:53:00 +01:00
Vojtech Kral
734d57a714
Fix build on MSVC with PCH off
2019-03-27 12:14:34 +01:00