Commit Graph

230 Commits

Author SHA1 Message Date
bubnikv
f2fce0f262 Refactoring of RemovableDriveManager:
1) On Windows and Linux, the device enumeration now runs at a background
   thread, while it ran on the UI thread on idle, which may have been
   blocking on some rare Windows setups, see GH #3515 #3733 #3746 #3766
2) On OSX, the device enumeration now relies on OS callback, no
   polling is required.
3) Refactored for cleaner interface.
2020-03-06 15:10:58 +01:00
bubnikv
c8ebadd1ac Merge remote-tracking branch 'remotes/origin/vb_3dconnexion_refactoring' 2020-03-05 09:56:06 +01:00
bubnikv
248dc04892 Reworked the 3DConnexion interfacing code to run the device
enumeration / connect / disconnect and read out at the background
thread only.
2020-03-04 11:36:36 +01:00
Lukas Matena
18fd7fa45f Fixing build against wxWidgets 3.0
The wxString saga continues. wxWidgets 3.0 don't have the wxString::FromUTF8(const std::string&) overload, we must use the GUI::from_u8 helper
Also wxWidgets 3.0 don't allow to disable wxString->const char* conversion, so calling show_info(wxWindow*, wxString, const char*) was ambiguous
Several includes moved around
2020-03-04 10:34:59 +01:00
Lukas Matena
a29177d355 Fixing wxString::Format encoding mismatches (part 2) 2020-03-03 10:54:17 +01:00
Enrico Turri
b123733b57 #3646 - Ask user whether remove from recent projects list a project no longer available 2020-03-02 12:33:17 +01:00
Enrico Turri
6b841c01b1 Follow-up of 47604b6326 -> Fixed layout at startup 2020-02-28 11:19:46 +01:00
Enrico Turri
472c065688 #3707 - Fixed buttons layout after closing preference dialog 2020-02-26 10:18:04 +01:00
Enrico Turri
0dec054410 ENABLE_SHOW_SCENE_LABELS set as default 2020-02-13 13:24:52 +01:00
tamasmeszaros
a062b8a3a0 Fix build on Win 2020-02-07 11:15:01 +01:00
bubnikv
764a99762e For the builds with a label assigned (no commit after the label),
show just the label in the application title. For Win32, add the
" 32 bit" indicator, so that we may see clearly if somebody is running
a 32bit build on 64bit windows by a mistake.
2020-02-06 10:17:22 +01:00
Enrico Turri
feed9b9fd0 Added item menu 'Edit/Show labels' and removed labels activation from preferences dialog 2020-02-04 14:42:26 +01:00
YuSanka
82bb5be1f6 To fix blurred icons under OSX there is implemented PresetBitmapComboBox, derived from wxBitmapComboBox,
which now will be used for preset choosers on sidebar a preset tabs.

+ for BitmapCache class added m_scale used for correct scaling of SVG images on Retina displays

+ some code clearing from unused functions or function's parameters
2020-01-31 16:57:45 +01:00
Enrico Turri
30c2e0145d #3580 - Added menu item 'Edit/Reload from disk' and F5 key acceleration to reload the entire plater 2020-01-31 12:15:04 +01:00
Lukas Matena
a5ccb7a6c2 Merge branch 'master' into lm_tm_hollowing 2020-01-21 13:00:07 +01:00
foxox
d0955e38de Platter->Plater 2020-01-20 11:16:49 -05:00
Lukas Matena
51050f4a29 Merge branch 'master' into lm_tm_hollowing 2019-12-20 10:33:53 +01:00
YuSanka
6bb0d1f72a Implemented function to get an icon name considering to OS color mode
For a Dark mode we start to looking of icons in folder "white"

Added missed "white" icons
2019-12-18 15:54:01 +01:00
tamasmeszaros
1f2281768d Separate Job, ProgressStatusBar and ProgressIndicator
* Separate GUI::Job
* make use of ProgressIndicator interface
* make ProgressStatusbar independent from GUI::App
2019-12-16 11:07:43 +01:00
YuSanka
52905631aa Localization improvements: Text correction 2019-12-06 13:58:23 +01:00
Enrico Turri
35fd632316 Fixed conflicts after merge with master 2019-11-07 09:55:44 +01:00
Enrico Turri
3141fe5e73 ENABLE_THUMBNAIL_GENERATOR -> Added ENABLE_THUMBNAIL_GENERATOR_DEBUG (disabled) 2019-11-07 09:01:28 +01:00
Enrico Turri
6a1d44ff29 ENABLE_THUMBNAIL_GENERATOR -> Thumbnail data saved into gcode using base64 encoding + debug code to extract thumbnails from gcode 2019-10-25 12:18:10 +02:00
Enrico Turri
2399d964de ENABLE_3DCONNEXION_DEVICES tech set as default 2019-10-11 15:51:36 +02:00
Enrico Turri
b5c13962f9 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_3dconnexion 2019-10-07 09:31:43 +02:00
Enrico Turri
a8760a5526 ENABLE_3DCONNEXION_DEVICES -> Refactored Mouse3DController to be unaware of current active GLCanvas3D 2019-10-03 11:38:31 +02:00
tamasmeszaros
20b86bbe8f Reworked pad creation algorithm with new parameters:
* brim size
* force pad around object everywhere
2019-10-01 14:58:37 +02:00
Enrico Turri
c0f4c1d288 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_3dconnexion 2019-09-27 14:52:30 +02:00
Enrico Turri
f4b29a4107 ENABLE_3DCONNEXION_DEVICES - 1st installment of support for 3Dconnexion devices
Implemented using hidapi library (https://github.com/libusb/hidapi) and https://github.com/koenieee/CrossplatformSpacemouseDriver/tree/master/SpaceMouseDriver as reference

Unsolved issues:

- When manipulating the SpaceNavigator wxWidgets generates a mouse wheel event that needs to be filtered out

- wxWidgets does not detect devices being connected/disconnected to the pc

- Current state forces a continuous rendering

- Current state misses dependence on camera zoom

- Non intuitive movement limits

- Translation and rotation speed factors are hardcoded

- Number of device buttons hardcoded
2019-09-27 14:52:19 +02:00
Lukas Matena
a34a1341c5 Whitespace changes to supress misleading indentation warnings
These appear in newer gcc when spaces and tabs are mixed
2019-09-24 16:01:01 +02:00
bubnikv
ea512ebc2b Fixed menu icons for undo / redo. 2019-08-30 16:05:12 +02:00
bubnikv
bdf96c224c Merge remote-tracking branch 'remotes/origin/et_toolpaths_export' 2019-08-22 15:02:02 +02:00
bubnikv
cd0137c9ab Merge remote-tracking branch 'remotes/origin/ys_bf_msw_scale' 2019-08-20 16:53:23 +02:00
Enrico Turri
170b1b1fa2 Check for existence of gcode toolpaths that can be exported to obj file 2019-08-20 11:33:58 +02:00
Enrico Turri
26e1853caf Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_toolpaths_export 2019-08-20 09:51:44 +02:00
Enrico Turri
709ac9bb3f 1st installment of export of gcode toolpaths to obj file 2019-08-20 09:01:09 +02:00
Lukas Matena
5ed5e04da1 Fixed some memory leaks related to heap-allocated wxDialogs
Some correctly destroyed dialogs were also converted to stack-allocated
2019-08-15 12:52:56 +02:00
bubnikv
f998d6a297 Fixed a typo in print_host variable name 2019-08-05 14:36:50 +02:00
YuSanka
900e8475df Implemented FR #2633 2019-08-01 16:25:08 +02:00
Enrico Turri
f7048a9a5b Reverted order of items in recent projects list 2019-08-01 09:03:06 +02:00
bubnikv
e8e35579dd Merge remote-tracking branch 'remotes/origin/vb_undo_redo' 2019-07-15 11:34:18 +02:00
Enrico Turri
ea4ff14fe8 #2616 - Added Recent projects item to File menu 2019-07-12 15:36:01 +02:00
YuSanka
8cfe03033f Added undo/redo icons. Fist step to implementation Undo/Redo list for toolbar 2019-07-08 18:01:14 +02:00
YuSanka
5bc6f17e57 Added undo/redo to the "Edit" menu 2019-07-08 10:57:35 +02:00
Enrico Turri
0e95ed9aab Do not allow to copy/paste volumes when using sla printer 2019-06-24 13:21:05 +02:00
YuSanka
c6c20ca19b Code cleaning and last msw_rescale() improvements 2019-06-19 11:38:42 +02:00
tamasmeszaros
eb59c231f2 Apply fixes for the ui jobs.
- Localization
- Mutual exclusion (ExclusiveJobGroup), only one UI job can run at a time, and background processing is stopped
- m_range not used for finalization anymore
- stop_jobs called before Window is closed
2019-06-18 16:24:30 +02:00
tamasmeszaros
d179b5f56b Merge remote-tracking branch 'origin/master' into tm_ui_jobs 2019-06-18 12:16:24 +02:00
tamasmeszaros
ab7a9503aa Warning hunt session followup 2019-06-17 10:05:46 +02:00
Enrico Turri
a4620ffcd8 Removed tech DISABLE_DESELECT_ALL_MENU_ITEM 2019-05-21 09:23:45 +02:00