Commit Graph

172 Commits

Author SHA1 Message Date
Ulrich Brammer
17266bbc83 update of xlsx-importer: new parser,
trigonomic functions give the same result in the FreeCAD-spreadsheet,
support of celltype "inlineStr".
2017-02-20 22:59:18 +01:00
looooo
69bde456bf py3: spreadsheet: gathering spreadsheet relevant commits:
356b3b5736d6a83a91050973f77db9fc005b8551 Update Arch,Fem,Material,Spreadsheet for py3 print
70967107210481e362eab1cef78d15b8ba08c300 py3: Fixes from last rebase
2017-02-18 08:19:25 +01:00
Yorik van Havre
7ee46643fd py3: fixed error in spreadsheet 2017-02-18 08:19:25 +01:00
Yorik van Havre
c3ba815730 py3: python3-related fix in Spreadsheet 2017-02-18 08:19:25 +01:00
wmayer
c49d985b40 py3: ported Spreadsheet to python3 2017-02-18 08:19:25 +01:00
Priit Laes
974d4d778b python: Spreadsheet: *.py: Fix python3 syntax 2017-02-18 08:19:25 +01:00
Eivind Kvedalen
7ebaa54bd5 Expressions: Fixed issue #2879. 2017-02-02 10:27:29 +01:00
Alexander Gryson
f3aada8d7f Update Metadata 2017-01-13 23:46:20 +01:00
Alexander Gryson
641d8e846e Align Spreadsheet icons to Tango 2017-01-13 23:46:19 +01:00
Mateusz Skowroński
ce1c021132 * Cosmetic change. Replace Qt keyword emit with Q_EMIT.
* Whitespace fixes.
2017-01-05 22:57:30 +01:00
wmayer
18738afc1e replace Qt keyword slots with Q_SLOTS 2017-01-05 14:27:19 +01:00
Eivind Kvedalen
d2a5d0de4b Spreadsheet: Coverity issue 151662, 151655, 133440, 129433 are false positives, but code rewritten for readability. 2016-12-15 17:27:18 +01:00
Eivind Kvedalen
638fa8c61d Spreadsheet: Fixed dead code issue reported by Coverity (128977). 2016-12-15 17:27:18 +01:00
Eivind Kvedalen
d00ff2155d Spreadsheet: Fix for issue #2646: Spreadsheet-Sum-Function does not work with units
This fix also fixes the other aggregates.
2016-12-15 17:27:18 +01:00
Eivind Kvedalen
b398069372 Spreadsheet: Fix for issue #2647, stddev does not work with arrays. 2016-12-15 17:27:18 +01:00
Eivind Kvedalen
7279c1bd53 Spreadsheet: Fixed for issue #2767: In some instances, needed parentheses are dropped from the expression. Fixed and updated unit tests. 2016-12-15 17:27:18 +01:00
wmayer
743b83e853 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
6cfaf916f8 remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
wmayer
19c9a9f819 remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
wmayer
5096f55ccb port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
a34c441373 Qt4/Qt5 neutral changes:
+ replace Q_WS_WIN with Q_OS_WIN
+ replace Q_WS_X11 with Q_OS_LINUX
+ replace Q_WS_MACX with Q_OS_MACX
+ set explicit cast to HWND
2016-12-12 14:09:21 +01:00
wmayer
c3fe2de155 replace Part.Line with Part.LineSegment 2016-11-30 21:25:18 +01:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
47b41a7883 fixes #0002460: Use keyword 'explicit' for Quantity constructor 2016-11-05 23:21:42 +01:00
wmayer
47c91f01b8 fix -Wextra & -Wdeprecated in Spreadsheet 2016-09-22 16:35:05 +02:00
wmayer
2af6bb6e49 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
wmayer
9a38507c76 fix Coverity issues 2016-08-21 23:13:22 +02:00
Ulrich Brammer
63c36ee342 Basic importer for Excel-spreadsheets 2016-08-06 20:32:14 +02:00
Yorik van Havre
b83218e9bd Spreadsheet: Made SheetPython inherit python object from Sheet 2016-08-01 13:17:47 -03:00
Yorik van Havre
b94636a07e Spreadsheet: Added Python version of Spreadhseet::Sheet 2016-06-14 19:16:00 -03:00
David Pello
21ffb0305f BSD Porting fixes, conditional compilation and use of gettimeofday() 2016-05-15 12:08:43 +02:00
Eivind Kvedalen
7a58bead5c Spreadsheet: Fixed undo/redo (issue #2483). 2016-04-04 19:58:19 +02:00
Eivind Kvedalen
89bcaa0116 Spreadsheet: Added test cases. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
ae111d11b5 Spreadsheet: Removed own expression parser and instead use the one in App. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
eff4458332 Spreadsheet: Fixed crash when invalid unit was given as input. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
b214551b6d Spreadsheet: Expose parse error to user. 2016-04-02 12:01:04 +02:00
Yorik van Havre
66e33b066a Updated translation files from crowdin 2016-03-17 23:29:11 -03:00
Eivind Kvedalen
d68b72e523 Expressions: Changed precedence of ?, :, EQ, NEQ, LT, GT, GTE, and LTE. 2016-03-15 18:28:23 +01:00
wmayer
e48ae2e7ce + fix unit tests for spreadsheet 2016-03-09 17:03:48 +01:00
Eivind Kvedalen
30d888be36 Spreadsheet: Added code to throw under/overflow exceptions. 2016-03-08 16:09:31 +01:00
Eivind Kvedalen
98bc8b3856 Spreadsheet: Added test case for conditional expressions. 2016-03-08 16:09:31 +01:00
Eivind Kvedalen
e551c538bf Spreadsheet: Fixed parser so it accepts integer numbers written as e.g 1e3. 2016-03-08 16:09:30 +01:00
Eivind Kvedalen
573594d69d Spreadsheet: Added AtomicPropertyChange object to avoid excessive property change reporting. 2016-03-08 16:09:30 +01:00
Eivind Kvedalen
3c8dde7644 Spreadsheet: Turned off debug/tracing for expression parser. 2016-03-08 16:09:29 +01:00
triplus
93c7a6bcac Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Yorik van Havre
f93b1b26df Added updated translations from crowdin - fixes #2443 2016-02-26 18:32:02 -03:00
Eivind Kvedalen
d6371d8635 Spreadsheet: Updated test cases. 2016-02-18 16:54:43 +01:00
Eivind Kvedalen
9bab4a19fe Spreadsheet: Refactor code and reuse visitors from ExpressionVisitors.h 2016-02-18 16:54:42 +01:00
Eivind Kvedalen
8c8e2c15ab Spreadsheet: Override DocumentObject::renameObjectIdentifiers() to get better renaming support. 2016-02-18 16:54:42 +01:00
Eivind Kvedalen
7da5451028 Spreadsheet: Refactored code to use AtomicPropertyChangeInterface. 2016-02-18 16:54:40 +01:00