Commit Graph

5580 Commits

Author SHA1 Message Date
Eivind Kvedalen
b65af55fc1 Spreadsheet: Fixed bug with dangling pointer when a document object is deleted. 2015-09-21 14:51:01 +02:00
Eivind Kvedalen
ffa304e4f9 Base: Added toStdString and fromStdString, to convert std::string to/from QString,
assuming std::string is utf-8 encoded.
2015-09-21 14:51:00 +02:00
Eivind Kvedalen
e34884b1a8 Spreadsheet: Removed 'using namespace App'; preparation for moving Expression
classes to App.
2015-09-21 14:51:00 +02:00
Eivind Kvedalen
7b11426bff Added Base::freecad_dynamic_cast(...) 2015-09-21 14:50:59 +02:00
Eivind Kvedalen
b99cd32be5 Spreadsheet: Made freecad_dynamic_cast calls unambiguous (preparation for next commit). 2015-09-21 14:50:58 +02:00
Eivind Kvedalen
0f416ee68f Added -Wno-sign-compare -Wno-reorder -Wno-switch -Wno-unused-variable -Wno-unused-but-set-variable -Wno-comment to mask warnings when compiling salomesmesh. 2015-09-21 14:50:58 +02:00
Yorik van Havre
403ba5a8ab Arch: fixed bug in material dialog 2015-09-20 21:17:12 -03:00
wmayer
9124acde3a + if translation of group is done do not overwrite 2015-09-20 17:00:21 +02:00
wmayer
2e1a9bb4ed + fix possible crash in debug mode 2015-09-20 16:59:17 +02:00
wmayer
96bee2fa47 + allow to set a default action for an exclusive group 2015-09-20 15:47:11 +02:00
wmayer
1d8b7f3582 + duplicate string array for Python commands 2015-09-20 14:11:53 +02:00
wmayer
7063176cfa + fixes #0002126: Fails to load .FCStd file which contains many MultiByte-Char strings 2015-09-20 12:29:05 +02:00
wmayer
42afb30c3e + delete helper file for copy/paste on application exit 2015-09-19 22:10:49 +02:00
wmayer
eddd1d4684 + by default create a zip file for auto-save 2015-09-19 21:32:17 +02:00
wmayer
eb05da7cd7 + fixes #0001237: the project file is not saved when the /tmp directory is full, but the user is not aware of it 2015-09-19 18:59:22 +02:00
wmayer
55916175d3 + fix typo 2015-09-19 17:03:38 +02:00
wmayer
ef203bc260 + fixes #0001238: Preferences: set temp files directory 2015-09-19 16:07:33 +02:00
wmayer
718b766737 + for file-based recovery write the data files in worker threads 2015-09-19 13:12:59 +02:00
wmayer
9a45718d9e + implement file based auto-save & recovery mechanism 2015-09-19 01:13:33 +02:00
wmayer
193abe75da + make RecoveryWriter more robust 2015-09-18 15:32:33 +02:00
wmayer
698f964aa3 + implement FileWriter class based on files and a specialized sub-class for recovery purposes 2015-09-17 21:37:47 +02:00
wmayer
ed2eeffd67 + fixes #0002268: Segmentation Fault when using sketcher 2015-09-17 13:31:10 +02:00
wmayer
22b7fb660c + save Brep in binary format for recovery files 2015-09-16 22:58:47 +02:00
wmayer
dffaebd346 + check returned mdi view to be of the requested type 2015-09-16 16:15:19 +02:00
wmayer
fed9501489 + To avoid possible memory leaks or inconsistencies on Document::resetEdit() call finishEditing() of view provider inside document because the editing view could be closed already 2015-09-16 14:20:13 +02:00
wmayer
4accb68bb1 + fix method ViewProviderDocumentObject::getActiveView()
+ fix SoAutoZoomTranslation and SoZoomTranslation to get correct scaling factor
(do not rely on active view because this can be the wrong one and thus delivers wrong results)
2015-09-16 11:32:35 +02:00
wmayer
a2d8a5b0aa + add convenience method to get editing view of a view provider 2015-09-15 22:09:28 +02:00
wmayer
b59d21c3a6 + proper Python exception handling in Gui.doCommand(Gui) 2015-09-15 18:36:15 +02:00
wmayer
200362779f + fix crash due to sloppy reference counting 2015-09-15 18:19:36 +02:00
wmayer
d9aa9e4bf1 + fixes #0000870: Center sketch to a constraint that has been double clicked in the constraint list. 2015-09-15 17:24:23 +02:00
Bernd Hahnebach
255bba18db FEM: CalculiX writer comments regarding load calculation algorithm 2015-09-15 15:30:15 +02:00
Bernd Hahnebach
2260fdf68e FEM: ccxInpWriter formating according flake8 2015-09-15 15:13:30 +02:00
Bernd Hahnebach
4265871fc0 FEM: update FemAnalysis class description 2015-09-15 15:13:30 +02:00
Bernd Hahnebach
36a4721875 FEM: use more obvious method names in ccxInpWriter 2015-09-15 15:13:29 +02:00
Bernd Hahnebach
9e695519b1 FEM: make MechanicalMaterial less noisy 2015-09-15 15:13:29 +02:00
Bernd Hahnebach
a4c07b51f6 FEM: fix typo in class type definition in MechanicalMaterial 2015-09-15 15:13:29 +02:00
Bernd Hahnebach
fdccdec430 FEM: delete Debug prints in ccxInpWriter 2015-09-15 15:13:28 +02:00
Bernd Hahnebach
5a6ae10fe4 FEM: add to ccxInpWriter: CLOAD for shell meshes and solid meshes without face data 2015-09-15 15:13:28 +02:00
Bernd Hahnebach
8c363f270f FEM: TestFem, use no space in materialname 2015-09-15 15:13:28 +02:00
Bernd Hahnebach
6b3cc51889 FEM: add FEM Mesh Type to the CalculiX elementset up to date only solid is supported 2015-09-15 15:13:27 +02:00
Bernd Hahnebach
11dd902174 FEM: CalculiX file writer move getTriangleArea to helpers 2015-09-15 15:13:27 +02:00
wmayer
1cdb53ce79 + fixes #0002150: [Ctrl]+[Z] is buffered in a non-intuitive way, does not function in 'edit mode' 2015-09-15 14:30:15 +02:00
wmayer
69e0b6a94f + fixes #0002117: problems with rendering an arc - NAN 2015-09-15 12:53:22 +02:00
wmayer
7d141c419a + fixes #0002118: Units conversion when using Imperial decimal (in/lb) 2015-09-15 11:30:11 +02:00
wmayer
8d31ccea89 + do not update item while editor is active 2015-09-15 00:30:28 +02:00
wmayer
2e672847ab + fixes #0002106: Add 'Default' option in Preferences 2015-09-15 00:12:40 +02:00
sgrogan
f29f34f969 Remove Specific Weight from .FCMat files 2015-09-14 17:36:44 -03:00
sgrogan
c0a7dfa1e3 Replace Specific Weight with Density 2015-09-14 17:36:44 -03:00
sgrogan
d343b170e9 Make alternate material directory UserAppData/Materials 2015-09-14 17:36:44 -03:00
Yorik van Havre
f79d0d8ed2 Updated ts files 2015-09-14 14:31:47 -03:00