18 Commits

Author SHA1 Message Date
Nino van Hooff
a09cd0e63e Convert doxygen to rst for Prepare, Preview, RemovableOutputDevice 2020-05-08 17:37:49 +02:00
Kostas Karmas
c54c79d2db Fix the "save to removable drive" not appearing
CURA-7203
2020-02-11 09:46:15 +01:00
Ghostkeeper
b34c0e8eb7
Don't check A: and B: drives for USB sticks
Fixes #2438.
2019-11-04 16:35:49 +01:00
Ian Paschal
d0c68f8e94 Fixes for WindowsRemovableDrivePlugin 2018-07-05 15:46:16 +02:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Jaime van Kessel
ef51897b71 Fixed removable drive error spam on Windows 2017-07-05 14:48:02 +02:00
Simon Edwards
1b43e4981e Fixes for all of the plugins. Added a script to invoke mypy. (I'm stiiiick of .bat files. They are just broken.) 2017-01-17 16:57:37 +01:00
fieldOfView
a78e1a62d4 Fix ctypes imports in WindowsRemovableDrivePlugin
See 9684ca80d7912daed1db2cf0bdebf75fe204562f
2016-03-17 20:34:18 +01:00
Ghostkeeper
de9a66e1f4 Merge branch '2.1'
Conflicts:
	plugins/RemovableDriveOutputDevice/OSXRemovableDrivePlugin.py
	plugins/RemovableDriveOutputDevice/WindowsRemovableDrivePlugin.py
	plugins/USBPrinting/PrinterConnection.py
	resources/machines/fdmprinter.json
	resources/profiles/ultimaker2+/abs_0.4_high.curaprofile
2016-03-17 15:24:00 +01:00
Thomas-Karl Pietrowski
9684ca80d7 Removing unused imports, reorder them and replace windll with ctypes.windll (the same) 2016-03-15 12:53:29 +01:00
Ghostkeeper
54ceafbcd0
Handle the flux capacitive fizbit ambigruously
Makes the unambigruous fizbit warp correctly when subjugated to the flux capacitor. The limit of the reciprocative function seems to be computed correctly now.

Contributes to no issue.
2016-03-11 17:39:53 +01:00
daid
8980600292 CURA-1104: Fix the incorrect "failed to eject drive" message for windows.
The C windows API call was wrong. The lpBytesReturned parameter was set to
NULL. While the docmentation at:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa363406(v=vs.85).aspx
states that it CANNOT be NULL if lpOverlapped is NULL. Overlapped is for
async operations. So the easiest way to fix this is to supply a proper
pointer.

I've also removed unused includes. And supplied the DeviceIoControl with
proper ctypes calling information to prevent other python->c problems.
2016-03-11 15:13:09 +01:00
Arjen Hiemstra
9267b517d6 Fix coding style issues 2015-11-27 16:53:32 +01:00
daid
9302a36391 Small codestyle fix. 2015-11-26 15:29:32 +01:00
Arjen Hiemstra
de533b660e Catch any exception that happens while trying to eject
This should prevent crashes on eject on any platform.

CURA-106 #done
2015-09-29 16:58:04 +02:00
Arjen Hiemstra
3f1e5bb44a Catch exceptions when trying to eject the SD card on Windows
CURA-106 #start-review
2015-09-18 12:27:10 +02:00
Tamara Hogenhout
4a9bf2b4d6 adds/adapts translation context markers
all nescessary in folder: Cura/plugins

Contributes to: issue CURA-116
2015-09-08 15:26:49 +02:00
Arjen Hiemstra
825349b47b Add RemovableDrive plugin that has been moved from Uranium
Since it now depends on GCodeWriter we should put it somewhere where
GCodeWriter actually exists.
2015-07-30 17:14:22 +02:00