wmayer
d150fa7164
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
68d22d864b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
wmayer
0af4990817
modernize C++: make unique
2023-08-07 19:51:30 -06:00
wmayer
96aabe113e
modernize C++: raw string literal
2023-08-07 19:51:15 -06:00
wmayer
ca84a0662d
Sheet: modernize C++: redundant void arg
2023-08-05 16:50:31 +02:00
0penBrain
ee3b777f62
Spreadsheet: fix string save/restore, fixes #6395
2023-07-23 22:11:08 -04:00
0penBrain
719339657d
Sheet: display an error in console when a cyclic dependency is detected
2023-05-17 10:09:41 +02:00
CarlOlson
7a00359fda
add generated code chnages, remove unused file and add bison *.output to gitignore
2023-03-26 18:48:59 +02:00
Uwe
458e007ef0
[Mesh] [Spread] fix compilation with PCH
...
- add 2 missing includes to be able to compile with precompiled headers
2023-02-27 23:09:58 +01:00
Chris Hennes
51eb8ed813
Spreadsheet: Fix unintended copies
2023-02-27 15:58:32 -06:00
Chris Hennes
30e92860be
Spreadsheet: Remove legacy file
2023-02-27 13:23:06 -06:00
wmayer
7c359469ba
Gui: use Color::asPackedRGB<QColor>()
2023-02-26 10:11:53 +01:00
luzpaz
d8146c1db8
Spreadsheet: fix header uniformity
...
+ trailing whitespace
2023-01-22 21:46:17 +01:00
Uwe
d6978106ea
[Spread] App: remove unnecessary Windows headers
...
- I added this earlier today, but it is not necessary at all, tested on 2 different Win PCs
2022-12-08 02:46:36 +01:00
Uwe
ee7e19fac0
[Spread] App: enable precompiled headers
2022-12-08 02:10:46 +01:00
Uwe
059b441ebc
[Spread] remove unused includes from PreCompiled.h
2022-12-07 18:18:04 +01:00
luz paz
2131a4732b
[Spreadsheet] fix header uniformity
2022-12-02 19:19:56 -06:00
luz paz
fa98553775
Fix various typos and grammatical issues
2022-11-30 12:45:29 +01:00
Chris Hennes
6c35427952
Spreadsheet: Ensure no args to Python calls
2022-11-10 14:36:54 -06:00
Chris Hennes
4adf5836c7
Spreadsheet: Add getUsedRange() and getNonEmptyRange()
2022-11-10 14:36:54 -06:00
Chris Hennes
11dd7fc5f9
Spreadsheet: Add Python API for getUsedCells
...
Also adds access to getNonEmptyCells, and unit tests for both. Designed
to fix #7587 .
2022-11-10 14:36:54 -06:00
luz paz
219d1edd6a
Spreadsheet: [skip ci] fix doxygen typo
2022-10-25 23:54:35 +02:00
Zheng, Lei
5fcc1c3d03
Spreadsheet: fix cell span handling
...
When undo/redo, copy/paste, and removing row/column
2022-10-20 16:03:20 -05:00
Zheng, Lei
05e0aba701
Spreadsheet: fix cell span synchronization with SheetTableView
...
Also, allow merge cell with overlaps, by auto split overlapped cells
first
2022-10-20 16:03:20 -05:00
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