Commit Graph

3897 Commits

Author SHA1 Message Date
0de69b1fd8 Use https in config update URLs
http://files.prusa3d.com/* always redirects to HTTPS so use https scheme
directly.
2020-05-07 20:37:23 +02:00
5cc6967c49 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-05-07 16:47:28 +02:00
b16837e136 Fix for tooltip not disappearing when loading an object using the top toolbar 'Add' command and when swithing to preview 2020-05-07 16:47:15 +02:00
cee3d798eb Layouts:
1. Fixed crash on OSX after change of the settings layout (PreferencesDialog should be destroyed before call of recreate_GUI)
2. Fixed dialog message during GUI recreation
3. In PreferencesDialog changed radio buttons view (under OSX they were bold)
4. slDlg mode - fixed switching between main frame and settings dialog (dialog->SetFocus() doesn't work under OSX, so we just hide it and show again)
2020-05-07 15:37:18 +02:00
0bb1fb558b avoid calling GetHeight() on non-IsOk() icons
probably fixes #3837
2020-05-07 09:48:44 +02:00
23944f5ea6 Fixed a can_change_view() function in respect to the new settings layouts 2020-05-07 09:14:31 +02:00
ba71189925 Added missed include for the OSX build 2020-05-06 21:29:51 +02:00
f5bb831c7b Search:
1. To the imGui Dialog added icons instead of settings type
2. Fixed a search trough the options with # symbol in opt_key
3. Deleted "Type" checkbox from the Search Windows and added "Search in English" checkbox (but without implementation for this moment)

Layouts:
1. Fixed a visibility of the "Switch to Settings" toolbar icon for the old layout mode
2020-05-06 20:51:50 +02:00
bd92fa60f2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-05-06 15:15:31 +02:00
e6dd803d4a Added missing include 2020-05-06 14:48:40 +02:00
14357d0f56 Merge remote-tracking branch 'origin/ys_layouts' 2020-05-06 14:44:30 +02:00
78b03f411d GLCanvas3DManager replaced by OpenGLManager 2020-05-06 14:38:53 +02:00
8bba1d96dc Tech ENABLE_NON_STATIC_CANVAS_MANAGER set as default 2020-05-06 12:19:34 +02:00
07d2255910 Fixed OSX build 2020-05-05 20:36:00 +02:00
ed6cac62c8 New layout:
1. PreferencesDialog: When "Cancel" is selected, don't close the PreferencesDialog, just revert layout mode selection
2. For the tooltip of "Switch to Settings" added information about shortcuts
3. Shortcuts for the switching between tabs work from Settings Dialog now
4. Fixed the collapse button show after preference's change
2020-05-05 17:23:58 +02:00
bfdb9afa24 Bumped up version number to 2.3.0-alpha0 2020-05-05 13:11:32 +02:00
4061d9b9b9 Fixed OSX/Linux build
Destroy Settings Dialog when close application
2020-05-05 09:37:31 +02:00
6ce87da9d8 Merge remote-tracking branch 'origin/master' into ys_layouts 2020-05-05 08:54:51 +02:00
3e3698ebae New Layouts: There 3 mode of a layout of the settings tabpanel :
1. Old mode, as it was always.
2. New mode, when Settings Tabs are hidden on the Plater. Use "cog" icon for the switching to the settings tabs
3. Dlg mode, when Settings Tabs are extracted to the Settings dialog. Use "cog" icon for Show or Focus the Settings Dialog

The "Collapse sidebar" toolbar appearance is set in the Preferences.
2020-05-04 22:31:59 +02:00
c11f001f61 Fuzzy matching:
1) Handle localized and English searches as equivalent.
2) Search the whole section : group : label string, still give
   precedence to just the label.
2020-05-04 21:22:56 +02:00
2d73802f58 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-05-04 16:18:32 +02:00
8be8f5c56e Fuzzy matching of parameters in the search box:
Fix of https://github.com/forrestthewoods/lib_fts/issues/21 finally applied,
disabled CamelCase matching as we are not using CamelCase in Slicer parameters.
2020-05-04 16:18:20 +02:00
adba95dbdb Fix font size on windows with wx3.1.3 2020-05-04 15:00:17 +02:00
ccbfab56b4 ASCII folding applied over the matched string 2020-05-03 15:45:47 +02:00
de76c19d75 fts_fuzzy_match fixes:
Recursive fix https://github.com/forrestthewoods/lib_fts/issues/21
End of string penalty fix https://github.com/forrestthewoods/lib_fts/issues/24

Some refactoring for succintness (based on Vojtech's taste)
2020-05-03 14:14:40 +02:00
3a44399df1 WIP Fuzzy search rework.
1) fts_fuzzy_match has been extended to support wchar_t for a char
   type and uint16_t for an index type for the match indices.
2) fts_fuzzy_match has been extended to place a proper stopper character
   into the match buffer.
3) Slicer integration now uses the fuzzy match indices for highlighting.
4) Slicer integration now correctly highlights the matched word.
5) Slicer search dialog now sorts based on match AND category.

Further modifications are planned:
1) Matching in local language vs. English: Just show the English variant
   if matched in English. Don't mix the two together.
2) Matching the group or category: Continue matching the label.
3) For matches with equal match quality and category sort alphanumerically.
2020-05-01 08:57:24 +02:00
0f46bc28cc Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-30 12:04:03 +02:00
d89651693b Search: Fixed returning of a pointer to temporary. 2020-04-30 12:03:49 +02:00
3c2c7b040f Follow-up of previous commit (Slic3r::GUI::format issues)
Another missing namespace qualification caused infinite recursion
2020-04-30 11:32:17 +02:00
1141732404 Fixed spelling of "sidebar" 2020-04-29 15:58:57 +02:00
1e6fdf6d80 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-29 14:56:31 +02:00
5d1356203f Localization fixes. 2020-04-29 14:42:43 +02:00
4102c86b5d single slicer instance
check for other instances during startup
send message with command line arguments if found and terminate
listen for those messages and load objects from paths in messages from them
2020-04-29 10:53:48 +02:00
41d69e546b Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2020-04-28 19:31:18 +02:00
789fcc93ca Fixed handling of fill_pattern field if not all patterns are allowed
for the internal infill.
2020-04-28 18:00:42 +02:00
a0ef2a3cdb Implemented workaround for the mouse wheel in Search Window and Undo/Redo lists on the Plater
Workaround is used because of ImGui::GetIO().MouseWheel returns zero always!
2020-04-27 16:00:54 +02:00
0be8b66746 Fixed update(clear) of the search_line, when search dialog was opened and closed without changing 2020-04-27 11:51:17 +02:00
0709d361d1 Merge branch 'lm_fdm_custom_supports_backend' 2020-04-24 15:16:33 +02:00
bc45c3bffa Fix to the last commit f9b3f2d45e 2020-04-24 11:33:00 +02:00
4674cec006 Search: Code cleaning
+ Reverted "Plater" tab to the Settings Notepad
2020-04-24 11:01:14 +02:00
774aa1bab3 Merge branch 'tm_sl1_import_2' 2020-04-24 08:27:49 +02:00
5ea4416033 Fixed an update of the search list after the change of the print technology 2020-04-23 21:32:12 +02:00
58bbe6e0d2 Collapse_toolbar: fixed draw items
+ Extended toolbar
2020-04-23 21:00:00 +02:00
33ab0eb660 Add ui job for SLA import 2020-04-23 19:45:55 +02:00
f930587f43 SLA archive import with miniz, marching square bugfixes
Fix compilation on Windows


Fix array subscript out of range error in MarchingSquares


Fix normals of mesh constructed from slices


Improve performance of mesh construction from slices
2020-04-23 19:12:07 +02:00
4e4efeef31 Initial version of sl1 import with sla::Raster refactor. 2020-04-23 19:05:32 +02:00
82aa16d123 Move ui jobs into separate folder 2020-04-23 18:56:09 +02:00
190bf40434 Separate jobs from Plater, re-add big bed workaround 2020-04-23 18:47:51 +02:00
8ca136d003 Add min_object_distance method as free function taking ConfigBase argument 2020-04-23 18:17:37 +02:00
7805778ab8 First implementation of the separate plater from the settings tabs
+ Added collapse_toolbar
2020-04-23 17:11:49 +02:00