14287 Commits

Author SHA1 Message Date
Lipu Fei
051dd7a6e9 WIP: Make application initialization and start up more clear
- Create SingleInstance class to handling single instance stuff.
 - Instead of calling getInstance() everywhere, initialize each object
   explicitly in order when application starts and getInstance()s do not
   create instances any more and they merely return the created
   instances.
 - Only set initial values in construtor functions __init__(). Move the
   initialization of context-aware (i.e. things that depend on other
   things) to separate functions.
 - Split application creation and initialziation into several steps and
   them should be called explicitly in the correct order.
2018-05-04 09:57:02 +02:00
Diego Prado Gesto
c8f73d303e
Merge pull request #3699 from Ultimaker/M&P-Setting-Optimization
PP formula based temperatures fix
2018-05-04 09:43:30 +02:00
Diego Prado Gesto
61a6a176b9 Merge branch 'master' of github.com:Ultimaker/Cura 2018-05-04 09:09:20 +02:00
Jaime van Kessel
7c80bc203c Fixed bunch of wrong / missing typing 2018-05-03 21:14:06 +02:00
Jaime van Kessel
7d2257838b Added missing typing 2018-05-03 20:42:06 +02:00
Jaime van Kessel
34483b4b34 Merge branch 'master' of github.com:Ultimaker/Cura 2018-05-03 20:27:35 +02:00
Jaime van Kessel
21e2fcbcf6 Also added missing context usage of archive 2018-05-03 20:27:02 +02:00
Ruben D
f3be394080
Properly get the application
Why are we getting this passed via parent???
2018-05-03 20:26:20 +02:00
Jaime van Kessel
7665f8a7cb Reading packages from archive now uses With context 2018-05-03 20:22:38 +02:00
Aleksei S
defb22dc07 Keep 'dot' in file name for type *.gcode.gz
CURA-5323
2018-05-03 18:11:45 +02:00
Diego Prado Gesto
a1e6792664 Set the LocalContainerProvider as a required plugin. 2018-05-03 18:03:30 +02:00
Aleksei S
c5e9acf664 Fix: Manually added printer by ip address shows proper printer type
CURA-5264
2018-05-03 17:14:56 +02:00
Diego Prado Gesto
5b8f426ea2 Merge branch 'master' of github.com:Ultimaker/Cura 2018-05-03 16:14:34 +02:00
Diego Prado Gesto
0d56d72760 CURA-5234 Make use of the function to add wrong containers to the set. 2018-05-03 16:14:08 +02:00
Mark
ce7f64d8e3 ignore empty directories in plugin folder 2018-05-03 14:36:08 +02:00
ChrisTerBeke
80d7dc18cb Fix is_dir for Python 3.5 2018-05-03 13:37:33 +02:00
ChrisTerBeke
b62b682570 Make Qt network redirects work in both 5.8 and 5.9+ 2018-05-03 13:33:32 +02:00
ChrisTerBeke
9fe72210be Merge branch 'master' of https://github.com/Ultimaker/Cura 2018-05-03 11:39:11 +02:00
Diego Prado Gesto
7850f5a18e Merge branch 'master' of github.com:Ultimaker/Cura 2018-05-03 09:30:29 +02:00
Diego Prado Gesto
65a6c751cd Change attribute of the download request to follow redirects. That makes the download feature of the Toolbox compatible with Qt 5.8.2. 2018-05-03 09:29:04 +02:00
Ian Paschal
5a194bb6d1 CURA-5035 Removed debug statement 2018-05-02 18:43:57 +02:00
Ian Paschal
0872d499f8 CURA-5035 Add compatibility chart 2018-05-02 18:43:12 +02:00
Ruben D
0c51173bed
Disable Connect Infill Lines when using gradual infill
Gradual infill causes infill to break up into lots of different areas with different infill densities. Because Connect Infill Lines connects those lines along the border of an infill area, you sometimes get very thin areas with lots of lines going back and forth connecting extremely thin pieces of infill. Sometimes it works fantastically (esp. with mechanical models) but sometimes it really messes up the print.

Contributes to issue CURA-5319.
2018-05-02 17:45:45 +02:00
Aleksei S
b1c9b04a7a Fix: filenames cut by first dot, remove only file extension because file might have dot in name
CURA-5323
2018-05-02 17:17:45 +02:00
ChrisTerBeke
2a5736737f Merge branch 'master' of https://github.com/Ultimaker/Cura 2018-05-02 16:52:56 +02:00
Diego Prado Gesto
24684d5d9c CURA-5234 When adding a material node, first check if the variant exists, otherwise do not create the node. 2018-05-02 16:37:56 +02:00
Ian Paschal
4e62c58ee6 CURA-5035 No more crash without internet connection
Still needs a timer or something to show the fetch failed though.
2018-05-02 14:30:31 +02:00
Ruben D
f7ca8cbf68
Fix binding loop with height of tiles
The lining at the bottom of a tile was anchored to the bottom but part of the tile and part of its childrenRect. This caused a binding loop because the childrenRect is dependent on the positioning of this lining (and its height) and the positioning of the lining was dependent on the height of the tile.

Contributes to issue CURA-5035.
2018-05-02 14:28:33 +02:00
Ruben D
2291164a6d
Simplify enabled check for install button
That code was a bit wordy there.

Contributes to issue CURA-5035.
2018-05-02 14:28:33 +02:00
Lipu Fei
050d7ec5f1 Update the rest to version 5
CURA-4644
2018-05-02 14:07:24 +02:00
Lipu Fei
8d547010fb Update all inst.cfg files to version = 4
CURA-4644
2018-05-02 14:04:34 +02:00
Diego Prado Gesto
39c313b8e2 Merge branch 'master' of github.com:Ultimaker/Cura 2018-05-02 13:46:30 +02:00
Diego Prado Gesto
8a768b8a96 CURA-5322 Add the resources deleted by mistake in 62aeb6c9541101740206176eb82b3568a43fbf7b 2018-05-02 13:45:23 +02:00
Ruben D
14466540f5
Use elide instead of truncating descriptions to 235 characters
Just limit it to 3 lines now.

Contributes to issue CURA-5035.
2018-05-02 13:34:24 +02:00
ChrisTerBeke
9ce3bc3806 Merge branch 'master' of https://github.com/Ultimaker/Cura 2018-05-02 13:25:53 +02:00
Lipu Fei
554ebb6617 Clean up PackagesModel
CURA-5035
2018-05-02 13:06:00 +02:00
Lipu Fei
ad3317a992 Fix docs for VersionUpgrade 3.3 to 3.4
CURA-5035
2018-05-02 13:00:02 +02:00
Lipu Fei
49649e3d4a Add final so the management JSON is always saved
CURA-5035
2018-05-02 12:57:26 +02:00
Lipu Fei
09af97634d Simplify code
CURA-5035
2018-05-02 12:53:33 +02:00
Lipu Fei
5cc5f32a73 Remove unnecessary is_bundled modifications
CURA-5035
2018-05-02 12:52:29 +02:00
Lipu Fei
d4cf944e11 Simplify code
CURA-5035
2018-05-02 12:51:13 +02:00
Lipu Fei
8250ea8366 Add version for cura package management JSON
CIRA-5035
2018-05-02 12:50:50 +02:00
Ruben D
910906b785
Merge branch 'feature_material_marketplace' 2018-05-02 12:42:00 +02:00
Ruben D
0d66850bd4
Code style improvements
According to our guidelines: Brackets on new line, spaces around binary operators but not within brackets.

Contributes to issue CURA-5035.
2018-05-02 12:40:59 +02:00
ChrisTerBeke
e6f37975b3 Merge branch 'master' of https://github.com/Ultimaker/Cura 2018-05-02 12:28:57 +02:00
Ian Paschal
87e1f98156
Merge pull request #3663 from Ultimaker/feature_material_marketplace
Feature material toolbox; all changes made
2018-05-02 12:23:13 +02:00
Ian Paschal
c2ed2a47e7 CURA-5035 Use elide for text clipping 2018-05-02 12:05:34 +02:00
Ian Paschal
62aeb6c954 CURA-5035 Review feedback 2018-05-02 12:01:29 +02:00
Ghostkeeper
3934f6f1b3
Small code style issues
Contributes to issue CURA-5035.
2018-05-02 10:27:35 +02:00
Lipu Fei
f836cdf3f4 Fix indent
CURA-5289
2018-05-02 10:18:52 +02:00