Chris Hennes
f5806841b6
Merge pull request #19907 from benj5378/getAttribute
...
Base: make getAttribute template
2025-05-12 10:39:55 -05:00
Benjamin Bræstrup Sayoc
492b8312b3
Base: make getAttribute template
2025-05-09 15:54:57 +02:00
bofdahof
998f4e4d45
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Kacper Donat
12a69fe296
Base: Add isNullOrEmpty string helper
...
This adds isNullOrEmpty string helper that cheks if string is... well
null or empty. It is done to improve readability of the code and better
express intent.
2025-02-21 15:04:43 +01:00
Benjamin Nauck
dd6aa9f3c7
Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
...
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
wmayer
5771c94523
App: Apply clang format (part 2)
2024-11-21 21:17:42 +01:00
wmayer
302d3f5b95
Core: allow to set file filter from PropertyFileIncluded
2022-12-07 12:58:07 +01:00
berniev
65a356835b
App: Modernise ctors dtors defs etc
2022-08-01 00:34:46 +02:00
berniev
b40de7a509
remove redundant void
2022-07-31 10:27:44 +02:00
wmayer
e4435cdcba
Base/App: fix warnings from code analysers:
...
* convert old-style-casts to explicit C++ casts where possible
* make some implicit conversions explicit
2022-03-06 23:49:30 +01:00
wmayer
58a719e207
Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code
2022-03-06 10:13:47 +01:00
wmayer
032cea587d
Base: implement a lightweight smart pointer for PyObject like Py::Object to reduce includes of Python.h in header files
2022-03-04 15:51:51 +01:00
Uwe
c7910825a3
[App] Placement and Property: remove unused includes
2022-02-24 01:09:00 +01:00
luz paz
fc6d1292d1
App: remove Py2 code from several src/App .cpp files
2021-04-19 15:27:06 +02:00
luz.paz
4f308dc03c
src/App: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all `src/App` files
2019-12-25 11:38:43 +01:00
wandererfan
81d2ff358d
[App][Gui]Add Filter for PropertyFile in PropertyEditor
2019-09-20 07:56:52 -04:00
wmayer
b50b21576e
core system
...
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
3845350c0a
PVS: V773 A memory leak is possible
2019-02-17 18:40:06 +01:00
wmayer
22ddbe0f8d
fixes 0003632: Drawing lines on top of an image will not save the work (Reason: ' &' in the file name)
2018-10-11 21:50:32 +02:00
wmayer
557fee3dc6
fix -Wignored-qualifiers
2018-08-19 12:38:57 +02:00
luz.paz
baa6d89328
Typos and whitespace fixes
2018-08-07 11:13:31 -04:00
looooo
ca3e58e2f3
py3: App: files D-Z ported to python3
...
issue 0000995
diff to py3-branch will remain in the following files in src/App:
- ExtensionContainer.cpp
- FeaturePythonPyImp.h +.inl
most likely these files depend on Tools and Base
2017-05-11 19:19:17 +02:00
wmayer
1673ab801e
use specialized exception classes
2017-04-28 18:49:11 +02:00
wmayer
72ab17fb48
fix typos
2016-12-19 14:07:35 +01:00
wmayer
5f12a043fa
fix several gcc warnings
2016-11-08 14:31:08 +01:00
Stefan Tröger
558e128b39
Extensions: Revert few changes after restructuring
2016-10-08 12:48:34 +02:00
Stefan Tröger
1287f3007a
Extensions: Fix rebase errors
2016-10-08 12:48:34 +02:00
wmayer
1e12b54a7b
Coverity issues:
...
129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
2016-08-15 21:28:41 +02:00
wmayer
abcb12caec
+ fix error message in PropertyFileIncluded::setPyObject
2016-01-25 21:45:14 +01:00
wmayer
a691fec1dd
+ fix exception text in PropertyFileIncluded
2016-01-24 21:06:02 +01:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
dadc87eff8
+ fixes #0002029 : VRML inline ignored
2015-03-30 02:23:49 +02:00
wmayer
995de944c8
+ fixes #0002029 : VRML inline ignored
2015-03-29 23:35:39 +02:00
wmayer
e036460635
+ fixes #0001565 : Images in the 3D plane are not shown after opening a project
2014-06-23 14:02:26 +02:00
jriegel
30b189c1da
Merge branch 'refs/heads/double-precision-werner'
...
Conflicts:
src/App/Document.cpp
src/App/PropertyGeo.cpp
src/App/PropertyStandard.cpp
src/Base/Reader.cpp
src/Base/Reader.h
src/Gui/propertyeditor/PropertyItem.cpp
src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
src/Mod/Inspection/Gui/ViewProviderInspection.cpp
src/Mod/Mesh/App/MeshProperties.cpp
src/Mod/Part/App/TopoShapeFacePyImp.cpp
src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
68078487c7
Add SchemaVersion to RestoreDocFile to distinquish double from float binary
2013-09-24 11:01:09 +02:00
wmayer
6fde5d764b
+ in setPyObject() only use classes derived from Base::Exception
2013-07-05 15:29:04 +02:00
wmayer
9a9510d9e3
Make file read-only once assigned to a PropertyFileIncluded instance
2013-05-07 22:42:58 +02:00
wmayer
50559c4b17
One more fix to avoid loss of data
2013-05-06 12:27:25 +02:00
wmayer
62710779a7
Rename transient directory when saving document under new file
2013-05-06 11:28:13 +02:00
wmayer
95b2a1cd2b
Fix another data loss issue in PropertyFileIncluded
2013-05-06 10:51:25 +02:00
wmayer
1aff25a62d
Fix data loss in PropertyFileIncluded
2013-05-06 08:27:25 +02:00
wmayer
b24f0efbc1
Remove FileVersion from RestoreDocFile, convert point data back to floats
2013-03-29 15:23:51 +01:00
jrheinlaender
fdc3e50811
Added FileVersion attribute to XML format to distinguish legacy float binary files from new double binary files
2013-03-27 11:47:18 +04:30
wmayer
78cbe72dee
0000807: Image plane duplication
2012-07-31 11:23:36 +02:00
wmayer
ef24e4d2e6
Implement CDATA reader, fix bugs in Writer::insertBinFile
2012-05-31 11:50:25 +02:00
wmayer
435d4f82d7
fix some issues when writing binary data into an XML file
2012-05-10 12:07:37 +02:00
wmayer
e2813c845f
fix typo
2012-05-10 10:41:10 +02:00
wmayer
818c38a851
+ fix isometric view
...
+ fix bug in PropertyFileIncluded with empty string
+ fix little German translation issue
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5204 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-02 10:48:19 +00:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00