Commit graph

4854 commits

Author SHA1 Message Date
Ian Paschal
0accdc6320 Cura-5296 Use separate packages.json files in app and user data 2018-05-08 11:54:19 +02:00
ChrisTerBeke
a4882d8f83 Fixes for archiving paths in backup, fake meta data 2018-05-08 11:46:09 +02:00
Diego Prado Gesto
42ecb12614 CURA-5164 Fix typo in the method signature 2018-05-08 11:16:00 +02:00
Aleksei S
9779c41071 Use MimeTypeDatabase to find loaded file extension and set proper project name
CURA-5323
2018-05-08 10:47:59 +02:00
ChrisTerBeke
ce0c14451f Fix spelling in API docs 2018-05-07 17:31:10 +02:00
Ian Paschal
6dbbfe91db Merge remote-tracking branch 'origin/master' into CURA-5296_bundled_packages 2018-05-07 15:47:28 +02:00
Ian Paschal
4cfd047b11 CURA-5296 Simplifications to CuraPackageManager 2018-05-07 15:47:03 +02:00
ChrisTerBeke
936de402ec use bytes to pass backup file around, generate in memory, small fixes 2018-05-07 15:40:47 +02:00
ChrisTerBeke
64819d517e Start implementing backups functionality 2018-05-07 15:09:08 +02:00
Diego Prado Gesto
a6676fb477 Merge branch 'master' of github.com:Ultimaker/Cura 2018-05-07 12:57:33 +02:00
Diego Prado Gesto
b576423747 Adapt ovewritten method signature 2018-05-07 11:49:30 +02:00
ChrisTerBeke
32e2723c26 Start class layouts for backups and plugins API 2018-05-07 10:55:24 +02:00
Jack Ha
467e814f88 Merge branch 'master' of github.com:Ultimaker/Cura 2018-05-07 10:30:50 +02:00
Jack Ha
00d8427e42 Add sanity check for GlobalStack CURA-5045 2018-05-07 10:30:45 +02:00
Ian Paschal
4a2e36978e Merge remote-tracking branch 'origin/master' into CURA-5296_bundled_packages 2018-05-04 15:00:40 +02:00
Aleksei S
4a26cf0cbd Merge branch 'master' of github.com:Ultimaker/cura 2018-05-04 10:30:03 +02:00
Aleksei S
dfd9283ed5 Project name after importing
CURA-5323
2018-05-04 10:29:09 +02:00
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
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
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
Ian Paschal
45e32e6c05 CURA-5296 Quick hack to test using a list of IDs 2018-05-03 09:12:35 +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
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
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
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
62aeb6c954 CURA-5035 Review feedback 2018-05-02 12:01:29 +02:00
Ruben D
91faf884fe
Enable backface culling for origin mesh
It won't matter a whole lot for those 36 triangles in the origin mesh. It reduces the number of triangles to render by 18. But you know, the little bits help.
2018-05-02 09:21:51 +02:00
Diego Prado Gesto
e79324c448 Remove duplicate line 2018-05-01 15:53:16 +02:00
Lipu Fei
9a5fb47a6e Merge master into material marketplace 2018-05-01 11:56:34 +02:00
Lipu Fei
cc207a3f92 Clean up unused variables 2018-05-01 11:53:52 +02:00
Lipu Fei
863d67ae64 Use Resources.Plugins for finding plugin storage path 2018-05-01 11:16:21 +02:00
Lipu Fei
7ee085fe50 Check all subdirs in data storage dir for package removal 2018-05-01 10:48:03 +02:00
Ian Paschal
096f304aef CURA-5035 Crash because old packages don't have 'author_id' 2018-05-01 10:45:22 +02:00
Lipu Fei
51abd32328 Use dict get fallback to prevent errors 2018-05-01 10:33:48 +02:00
Lipu Fei
1fb2edace5 Use ContainerRegistry.lockFile in Cura package management
Prevent concurrent I/O issues.
2018-05-01 10:31:56 +02:00