Kacper Donat
cc2efa90f8
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
6f535f19fb
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
fadfc7e270
App: Apply clang format (part 2)
2024-11-21 21:17:42 +01:00
wmayer
4f5600fa77
Core: allow to set file filter from PropertyFileIncluded
2022-12-07 12:58:07 +01:00
berniev
b6cae3bfdf
App: Modernise ctors dtors defs etc
2022-08-01 00:34:46 +02:00
berniev
85170b2879
remove redundant void
2022-07-31 10:27:44 +02:00
wmayer
4a343ab31e
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
91e4e468dd
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
6c2e1a2d6e
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
d88397f3d6
[App] Placement and Property: remove unused includes
2022-02-24 01:09:00 +01:00
luz paz
a1fc733ddf
App: remove Py2 code from several src/App .cpp files
2021-04-19 15:27:06 +02:00
luz.paz
019f73852c
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
375fe1bd48
[App][Gui]Add Filter for PropertyFile in PropertyEditor
2019-09-20 07:56:52 -04:00
wmayer
9fa56345cf
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
e23db2e313
PVS: V773 A memory leak is possible
2019-02-17 18:40:06 +01:00
wmayer
ff82dc81d1
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
1c7a41af58
fix -Wignored-qualifiers
2018-08-19 12:38:57 +02:00
luz.paz
424cd49398
Typos and whitespace fixes
2018-08-07 11:13:31 -04:00
looooo
e6202f46e9
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
fb7094bf31
use specialized exception classes
2017-04-28 18:49:11 +02:00
wmayer
b19a4246ab
fix typos
2016-12-19 14:07:35 +01:00
wmayer
ff2a361928
fix several gcc warnings
2016-11-08 14:31:08 +01:00
Stefan Tröger
2420559431
Extensions: Revert few changes after restructuring
2016-10-08 12:48:34 +02:00
Stefan Tröger
2a61aec97b
Extensions: Fix rebase errors
2016-10-08 12:48:34 +02:00
wmayer
af4ef2fa7f
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
70dd142ef5
+ fix error message in PropertyFileIncluded::setPyObject
2016-01-25 21:45:14 +01:00
wmayer
a71ad6c3be
+ fix exception text in PropertyFileIncluded
2016-01-24 21:06:02 +01:00
Mateusz Skowroński
05f95c0506
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
968fdf6a34
+ fixes #0002029 : VRML inline ignored
2015-03-30 02:23:49 +02:00
wmayer
146b4ed2d7
+ fixes #0002029 : VRML inline ignored
2015-03-29 23:35:39 +02:00
wmayer
484b0466e2
+ fixes #0001565 : Images in the 3D plane are not shown after opening a project
2014-06-23 14:02:26 +02:00
jriegel
ec0a5ccb0c
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
abf1623f07
Add SchemaVersion to RestoreDocFile to distinquish double from float binary
2013-09-24 11:01:09 +02:00
wmayer
609072f140
+ in setPyObject() only use classes derived from Base::Exception
2013-07-05 15:29:04 +02:00
wmayer
918b7fdbaf
Make file read-only once assigned to a PropertyFileIncluded instance
2013-05-07 22:42:58 +02:00
wmayer
2a5c097059
One more fix to avoid loss of data
2013-05-06 12:27:25 +02:00
wmayer
17dcb84682
Rename transient directory when saving document under new file
2013-05-06 11:28:13 +02:00
wmayer
558d4129f0
Fix another data loss issue in PropertyFileIncluded
2013-05-06 10:51:25 +02:00
wmayer
108b0bd639
Fix data loss in PropertyFileIncluded
2013-05-06 08:27:25 +02:00
wmayer
bb63f7a4d5
Remove FileVersion from RestoreDocFile, convert point data back to floats
2013-03-29 15:23:51 +01:00
jrheinlaender
ad6444053b
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
f76acd9614
0000807: Image plane duplication
2012-07-31 11:23:36 +02:00
wmayer
399d9468f4
Implement CDATA reader, fix bugs in Writer::insertBinFile
2012-05-31 11:50:25 +02:00
wmayer
c812315b51
fix some issues when writing binary data into an XML file
2012-05-10 12:07:37 +02:00
wmayer
8ef46a4368
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