Uwe
2d50fd36df
[Spread] remove unused includes
...
- also sort includes
- also additions to precompiled header
2022-10-09 20:31:31 +02:00
Uwe
32ead51360
[Spread] remove unused file
...
- not used, not commented and no copyright
2022-10-09 20:18:12 +02:00
marioalexis
14db1b7c98
Spreadsheet: Check Python types using Base::PyTypeCheck
2022-09-24 05:10:34 +02:00
wmayer
c3279b82b4
Mod: modernize C++: replace 'typedef' with 'using'
2022-08-29 23:21:15 +02:00
berniev
6953310116
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02:00
Jonas Bähr
a1776d3e74
Fix build on MacOS-X 10.14: missing Xerces include dir
...
This undoes most of the Xerces related part of the commits listed below.
The issue resolved here is that the Xerces include dir *is* set in the
CMakeLists.txt of src/Base, but it got removed from various App and Gui
dirs in src/Mod. If those now include a header from src/Base, which
itself includes xercesc, the build fails using Apple clang version 11.0.0
(clang-1100.0.33.17) on Mojave, configured using cmake 3.22.1, with
errors like the following:
In file included from .../src/Mod/Part/App/FeaturePartBoolean.cpp:34:
In file included from .../src/App/Application.h:33:
.../src/Base/Parameter.h:54:10: fatal error: 'xercesc/util/XercesDefs.hpp' file not found
#include <xercesc/util/XercesDefs.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Finally, a full list of the commits that introduced this spurious include
dir optimization for reference:
- Drawing: commit 96ad045b91
- Image: commit dde71a21d5
- Import: commit c9d28b542f
- Inspection: commit d41f55f382
- Mesh: commit 19072b0538
- Part: commit fe213a48f0
- PartDesign: commit b037d8e240
- Path: commit f23fa31f42
- Points: commit bec723ba17
- Raytracing: commit 08d4ac63a3
- ReverseEnginering: commit 5ca787cb0e
- Robot: commit bad4809a1c
- Sketcher: commit 3c96daf105
- Spreadsheet: commit 66e8a2bef3
- Start: commit c9dee5e70a
- Surface: commit 6b04215be6
- TechDraw: commit 5e6699e48d
- Test: commit ea5b45b92c
- Web: commit ee6d631531
2022-08-24 07:40:04 +02:00
berniev
d66df602ad
App: Single arg ctors must be explicit
2022-08-24 07:20:57 +02:00
wmayer
5014bab534
Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream
2022-08-21 12:46:53 +02:00
wmayer
2062f9ce87
clang: fix warnings [-Winconsistent-missing-override]
2022-08-09 17:36:25 +02:00
berniev
ddafb98813
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
wmayer
f2cbd9ebb4
Mod: [skip ci] minor improvements
2022-08-06 20:32:37 +02:00
Uwe
6f9a4ebc7f
[App] [Spreadsheet] fix compilation errors
...
- introduced by #7318 and #7319
2022-08-06 19:59:06 +02:00
berniev
b796a0d376
Mod: use empty
2022-08-06 19:30:13 +02:00
wmayer
2f197d65ec
Spreadsheet: fixes #7285 : [Bug] FreeCAD crashes if cell value ' is set in Spreadsheet
2022-08-01 08:09:34 +02:00
luz paz
786741c0c0
Fix various 'testing inequality to None' syntax issues
...
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
berniev
5f82cfb39f
Fix column number calc
...
(cherry picked from commit 0a8b875751c9469a52548730539dfd4b4fc51acc)
2022-07-27 13:45:33 +02:00
Uwe
003757176c
Mod: remove some more superfluous Boolean checks
2022-07-19 02:40:59 +02:00
Uwe
88a06f8f10
Mod: remove some unnecessary nullptr checks
2022-07-18 12:58:12 +02:00
Uwe
5d76afe0a5
re-add some nullptr
...
to be safe since their removal within assert() or bools might have some impact I don't know
2022-07-18 02:32:36 +02:00
Uwe
ce86b03e0a
[Spreadsheet] remove superfluous nullptr checks
2022-07-18 01:49:41 +02:00
mosfet80
620c273c4e
Boost version <=1.60 is never used in freecad 0.20 ( #7038 )
...
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
Zheng, Lei
75546946db
Spreadsheet: fix border rendering for merged cells
2022-06-12 16:11:59 +02:00
Zheng, Lei
4d19e611f8
Spreadsheet: fix binding of merged cells
2022-06-12 16:11:59 +02:00
Zheng, Lei
47a5a6302e
Spreadsheet: replace obsolete href with hiddenref in binding
2022-06-12 16:11:59 +02:00
Zheng, Lei
e6a6d838a6
Spreadsheet: fix range selection
2022-06-12 13:51:09 +02:00
Zheng Lei
9d7b7af48c
Spreadsheet: fix range checking ( #6997 )
...
* App: add option to normalize a Range
- To make sure the range starts from top left and ends with bottom right
corner.
- Default is to not normalize on construction for backward compatibility.
- fix range checking in range binding
2022-06-09 12:20:08 +02:00
Zheng Lei
5864e17d9d
Spreadsheet: improve range binding feature ( #6995 )
...
* Spreadsheet: improve range binding feature
2022-06-08 19:19:41 +02:00
Zheng, Lei
ef2db349f8
Spreadsheet: fix cell clearing
2022-05-09 10:25:49 +02:00
Zheng, Lei
6d6af2dd3b
Spreadsheet: add new API PropertySheet::getNonEmptyCells()
...
To exclude cells without any text content. Used when printing (among
other cases) to skip empty cells.
2022-05-06 08:40:11 -05:00
Zheng, Lei
5ec19fc5a1
Reduce debug log output
2022-04-23 16:21:49 +02:00
Zheng, Lei
f8ae185c15
Spreadsheet: improve efficiency when pasting many cells
2022-04-22 12:28:56 -05:00
Zheng, Lei
bc1f5498a9
Spreadsheet: do not copy empty cell
...
Because pasteCells() will clear empty cells in selected range
2022-04-22 12:28:56 -05:00
Zheng, Lei
070bdf5b4c
Spreadsheet: do not create string property for empty cell
...
Otherwise may cause massive slow down when, for example, the user
changes the entire row/column color, which results in large amount of
empty cells.
2022-04-22 12:28:56 -05:00
0penBrain
2a002e3df6
Sheet: Warn user when cell merge is not done because already merge cells in the range
...
Partially fixes #6744
2022-04-15 12:14:55 -05:00
Chris Hennes
cb21ac7bf8
Spreadsheet: PR6497 move return statement to new line
2022-03-29 13:25:44 -05:00
Zheng, Lei
8d97b2bcb8
Spreadsheet: fix owner property reference in PropertySheet
...
PropertySheet used to only work when refereceing its own cell either
through cell address or alias. It does not work for reference to other
property of the owner Spreadsheet object.
2022-03-26 10:19:20 -04:00
wmayer
5bab6fb189
Spreadsheet: include header with export macros
2022-03-24 20:51:48 +01:00
wmayer
97330443a2
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
2c229d3bc0
Spreadsheet: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
66e8a2bef3
[Spreadsheet] remove Python.h and Xerces
2022-03-20 20:44:17 +01:00
wmayer
0054cbddaa
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
Uwe
bda12907de
[Gui] rename the Qt header list
2022-03-07 20:35:38 +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
andrea reale
36d865df04
fix uninitialized variables
2022-03-01 02:03:44 +01:00
Uwe
b4fff07d9e
[App] Expression and Extension: remove unused includes
2022-02-25 18:06:57 +01:00
Zheng, Lei
c14e6b318e
Spreadsheet: fix dependency calculation on external spreadsheet
2022-01-23 19:43:53 -06:00
wmayer
26f9e7869f
App: replace three boolean of CellAddress::toString() with a bitmask of enums
2022-01-09 10:39:54 +01:00
wmayer
e7c2f8b703
Spreadsheet: proper implementation of mp_subscript of Mapping protocol of PropertySheetPy
2022-01-07 19:55:21 +01:00
Zheng, Lei
35d7b71466
Spreadsheet: code style change
2021-12-21 21:41:02 -07:00