David Kocik
8b647ab41b
fix of copy_file_inner
2020-10-23 15:36:32 +02:00
David Kocik
115cbd4650
aditional information to FAIL_COPY_FILE error message and changed bools controlling Export finished notification
2020-10-23 10:18:14 +02:00
enricoturri1966
f04d9c1806
Tech ENABLE_GCODE_APP_CONFIG as default
2020-10-12 12:38:34 +02:00
enricoturri1966
c94fb13369
AppConfig modified to generate a separate config file for the standalone gcodeviewer
2020-10-05 15:42:35 +02:00
David Kocik
26c89300f3
copy file result enum
2020-02-27 10:44:25 +01:00
David Kocik
746a5c1788
bug fix at check_copy() while exporting to sd/usb
2020-02-20 10:35:53 +01:00
tamasmeszaros
ad3e3be3bc
optimize string_printf
2020-02-03 17:11:24 +01:00
tamasmeszaros
0c4797e92e
use vsnprintf instead of snprintf in string_printf function
...
Also, revert to old location: Utils.hpp and utils.cpp
2020-02-03 16:00:53 +01:00
tamasmeszaros
992a0c3d7a
remove duplicate string_printf
...
#3594 , #3592
2020-02-03 11:19:11 +01:00
David Kocik
93f9fc1049
Throwing exceptions with text after copy file check failure and renaming from .tmp failure
2020-01-21 13:39:27 +01:00
bubnikv
9406b50447
Const correctness improvements:
...
removed some unnecessary const_casts that remove const.
2020-01-03 16:33:04 +01:00
bubnikv
0808c8fa3c
Refactoring and documentation of check_copy() and copy_file()
2019-12-22 11:11:48 +01:00
Lukas Matena
13f1bb2e43
An attempt to fix missing renaming from .gcode.tmp to .gcode
...
Added a missing include
2019-12-21 12:31:32 +01:00
David Kocik
31b134bfcc
copy file into .tmp and then rename if correct
2019-12-19 15:36:00 +01:00
David Kocik
ef250ad539
copy check only if path is on removable device
2019-12-18 14:09:16 +01:00
David Kocik
a68ede6f2d
check_copy function
2019-12-18 13:13:40 +01:00
Vojtech Kral
d729315de3
Fix g-code export to permissionless filesystems
...
Fix #2521
Fix #3102
2019-11-01 10:54:55 +01:00
tamasmeszaros
d5dcba00b1
Time conversion functions with tests.
...
Fixes issue with incorrect characters in time strings on UI.
Fix platform dependency
Fix return value with incorrect strings.
Just use strptime and strftime on all platforms.
Emulate strptime on msvc... because they don't have it and their get_time is buggy.
2019-10-02 14:44:11 +02:00
tamasmeszaros
c37ec7463f
Add new config values to SL1 zip file config.ini
...
All requested config values are written into SL1 ini file inside the zip
* TIme.hpp and Time.cpp is now part of libslic3r instead of libslic3r_gui
* Updated time manipulation function: separate timestamp_local_str and timestamp_utc_str
* timestamp_utc_str is used in header_slic3r_generated(). Gcode now contains UTC timestamps
2019-09-11 13:10:23 +02:00
bubnikv
fd3fe75d1c
Reworked the rename_file() function on Windows to work reliably and
...
atomically. The code was taken from the llvm project, it is complex
and hopefully it covers all the Windows file system quirks. Vojtech
has highest hopes, that this will fix the various PrusaSlicer.ini
file corruptions.
Enabled the locales switching and error handling on Linux as well,
where now the missing locales are reported and running the locale-gen
tool is recommended.
2019-08-20 16:19:30 +02:00
bubnikv
bcfb445d0c
Partial revert of f474978db5
...
to fix Perl driven unit tests.
2019-08-08 15:24:23 +02:00
bubnikv
f474978db5
Clean up the mess required for the legacy Perl bindings, which are now
...
used for Perl unit / integration tests only. With this commit,
the code will be cleaner, but likely the unit tests will not run
on Windows, if installed in a localized path.
2019-08-08 12:59:55 +02:00
Lukas Matena
b0d4cb6e06
Memory usage is now shown in SysInfoDialog on all three platforms
2019-08-05 20:17:29 +02:00
Lukas Matena
3efae8a03e
Added a memory logging function for Mac and Linux
2019-08-05 13:39:03 +02:00
bubnikv
3a74e7ab69
WIP: Undo / Redo memory limiting by releasing the least recently
...
used snapshots. Memory limit set to 10% of physical system memory.
2019-07-17 15:48:53 +02:00
Lukas Matena
cb916c4dda
Fixed warnings in libslic3r
2019-06-25 16:04:29 +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
eb643a1f52
Http: Fix logging
2019-02-15 15:35:13 +01:00
bubnikv
f9743d17e9
On Windows, system and hidden files are now ignored in all file
...
enumeration loops.
Should fix "desktop.ini still displaying error" #1761
2019-02-03 15:30:37 +01:00
Vojtech Kral
ec9caae622
Http & ErrorDialog: Improve error reporting
2018-12-18 18:50:37 +01:00
bubnikv
e2d7fd941f
Fixed OSX/Linux builds
2018-12-18 16:32:11 +01:00
bubnikv
b8c8dfbb2f
Fix of Linux/OSX build
2018-12-18 12:05:13 +01:00
bubnikv
771928d916
Logging of memory allocations on Windows during the slicing process
...
when the SLIC3R_LOGLEVEL >= info.
2018-12-18 11:31:41 +01:00
Vojtech Kral
b950e9e575
Fix build
2018-11-19 11:39:17 +01:00
Lukas Matena
7681d00ee5
Merged branch 'dev_native' into lm_sla_supports_auto
...
Added igl library files
2018-10-26 15:45:52 +02: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