Commit Graph

920 Commits

Author SHA1 Message Date
luz.paz
81863659ab Re-tweak previous Doxygen tweak
Follow up to 057c79c11c
2019-07-19 15:28:39 -03:00
Yorik van Havre
057c79c11c Doxygen tweaks 2019-07-17 18:01:56 -03:00
Yorik van Havre
8048f93627 Cleanup in doxygen stuff 2019-07-15 23:20:52 -03:00
luz.paz
3abffaea31 src/App/MaterialPyImp.cpp: fix source code typos
s/transpareny/transparency/
2019-06-28 11:39:36 -03:00
wmayer
85270f5cd3 Fix a couple of clang compiler warnings:
-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
2019-06-23 15:19:12 +02:00
wmayer
8be5217976 For divide-by-zero issues write an error message intead of raising an exception 2019-06-20 14:43:16 +02:00
wmayer
4e4631707e Fix crash in case encoding of Python paths fails 2019-06-19 17:31:50 +02:00
wmayer
588c265291 Improve handling of null pointers in link properties 2019-06-15 10:33:31 +02:00
wmayer
1406c03d18 fixes #0004000: Ability to suppress console output when running under python 2019-06-13 15:46:49 +02:00
wmayer
feff5fa9f0 when trying to access ViewObject attribute check that FreeCADGui is already loaded 2019-06-03 11:30:29 +02:00
wmayer
ed47e962d2 Py3: fix crash if class is not part of a module any more 2019-06-02 18:06:46 +02:00
luz.paz
0238906d38 Misc. typo and whitespace fixes
Found via `codespell`
2019-04-30 10:15:59 -03:00
Bernd Hahnebach
aa67d56361 Units: add AngleOfFriction as another parameter with Angle unit 2019-04-30 07:41:56 +02:00
wmayer
cd4269e6af rename BUILD_uSE_PCH to FREECAD_USE_PCH to be consistent with other build options 2019-04-15 13:31:31 +02:00
wmayer
88f637d8fd Py3 fix: correctly convert a Python str to const char* 2019-04-14 13:00:13 +02:00
wmayer
9346d76aa2 fix bug when checking for str type in PropertyEnumeration::setPyObject 2019-04-07 12:16:18 +02:00
wmayer
af914363c0 add methods to convert colors between rgb and hex values 2019-04-05 13:32:23 +02:00
luz.paz
c985f9ee79 Misc typos and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*`
2019-03-31 11:42:36 +02:00
joha2
106d3461f9 FreeCAD: Application: removed banner in Cmd RunMode 2019-03-31 11:27:14 +02:00
luz.paz
50c82c2b91 Misc. source comment typos 2019-03-22 10:44:14 -03:00
wmayer
805ccd8deb reset expressions of a property when removing it 2019-03-16 00:01:33 +01:00
wmayer
ca7770b80a Document::breakDependency should handle exceptions to avoid to leave document in an inconsistent state 2019-03-15 14:41:43 +01:00
wmayer
6363c90a20 PVS: V517 The use of 'if (A) {...} else if (A) {...}' pattern was detected. 2019-03-08 18:56:16 +01:00
wmayer
28b195d6e2 PVS issues:
consistently define copy constructor and assignment operator
remove superfluous casts
initialize member variables in constructor
avoid double assignment
2019-03-04 11:53:49 +01:00
wmayer
2ccffbe406 fix -Winconsistent-missing-override 2019-02-28 22:55:46 +01:00
wmayer
183cd16263 Fix precision of NumberExpression when writing to a string (reverts a3af2902ef)
See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=34392
2019-02-23 14:34:14 +01:00
wmayer
c215a2aa2c fix inheritance of PartPy 2019-02-19 23:21:35 +01:00
wmayer
2bb5797568 PVS: V595 The pointer was utilized before it was verified against nullptr 2019-02-17 20:55:52 +01:00
wmayer
1e343d339f PVS: V779 Unreachable code detected. It is possible that an error is present. 2019-02-17 20:12:56 +01:00
wmayer
3845350c0a PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +01:00
wmayer
b52f8d1e1d PVS: V730 Not all members of a class are initialized inside the constructor 2019-02-17 11:49:51 +01:00
Bernd Hahnebach
57a0acffc0 Units: add various Material stress properties 2019-02-14 21:11:22 +01:00
wmayer
0677684047 copyObject should return the clone of the passed object for recursive copies, not an arbitrary object 2019-02-12 19:40:29 +01:00
wmayer
1081403d21 Expose some standard units and quantities to Python 2019-02-12 15:12:19 +01:00
luz.paz
4cfda0c3a5 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
wmayer
6e5369da3a fix possible double destruction when removing a group and its content from document 2019-01-16 00:35:34 +01:00
wmayer
1f5059b5b2 fix crash when removing from document and accessing Python based feature 2019-01-13 17:50:48 +01:00
cclauss
9af7b83538 Missing import FreeCAD and/or FreeCADGui (again) 2019-01-07 12:25:27 -02:00
wandererfan
1b854e029b Add support for DMS angles to Expressions 2018-12-23 11:03:02 -02:00
Abdullah Tahiri
47443dfd87 Improve debug info 2018-12-19 10:27:30 -02:00
wandererfan
be23cf133a Revert Erroneous Change to parser
- ExpressionParser.y changed in error by commit
  00e6376c.  Regen ExpressionParser.tab.c and
  lex.ExpressionParser.c
2018-12-14 19:30:49 +01:00
wandererfan
f8f85f0079 Improve "links go out of scope" message 2018-12-08 11:29:45 -03:00
wandererfan
00e6e376c9 Add ImperialCivil Units Schema
- units for civil engineering - ft, ft2, ft3, mph,
  and angles as degrees/minutes/seconds
2018-12-06 08:57:17 -03:00
Abdullah Tahiri
a27e333852 Missing ExceptionProducer init for RestoreError 2018-11-27 13:23:44 -03:00
wmayer
7ceac311b3 add specialized exception type for bad graphs 2018-11-26 14:15:19 +01:00
wmayer
29eeb6c2d8 fix crash if origin feature doesn't exist when trying to create dependency graph 2018-11-26 13:09:11 +01:00
wmayer
ddb20468ad some additions to pR 1794:
add a special XMLAttributeError class to indicate an error when accessing a missing attribute
in PropertyContainer::Restore make error handling more flexible
2018-11-19 19:07:56 +01:00
Abdullah Tahiri
7216dba2f3 remove forgoten exception 2018-11-19 11:31:10 +01:00
Abdullah Tahiri
b6a37e153f Example implementation 2018-11-19 11:31:10 +01:00
Abdullah Tahiri
8db80c5c99 Property: dropping isorderrelevant boolean member in favour of bit in the status of the properties 2018-11-19 11:31:09 +01:00