Commit Graph

141 Commits

Author SHA1 Message Date
Eivind Kvedalen
8fe0d42450 Spreadsheet: Fixed undo/redo (issue #2483). 2016-04-04 19:58:19 +02:00
Eivind Kvedalen
484ba25ce6 Spreadsheet: Added test cases. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
a21571a652 Spreadsheet: Removed own expression parser and instead use the one in App. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
6c80dd4eae Spreadsheet: Fixed crash when invalid unit was given as input. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
e230f3c5e7 Spreadsheet: Expose parse error to user. 2016-04-02 12:01:04 +02:00
Yorik van Havre
bcb75d5477 Updated translation files from crowdin 2016-03-17 23:29:11 -03:00
Eivind Kvedalen
9d617ce4c8 Expressions: Changed precedence of ?, :, EQ, NEQ, LT, GT, GTE, and LTE. 2016-03-15 18:28:23 +01:00
wmayer
7ee6214415 + fix unit tests for spreadsheet 2016-03-09 17:03:48 +01:00
Eivind Kvedalen
08044fb737 Spreadsheet: Added code to throw under/overflow exceptions. 2016-03-08 16:09:31 +01:00
Eivind Kvedalen
ec7e920453 Spreadsheet: Added test case for conditional expressions. 2016-03-08 16:09:31 +01:00
Eivind Kvedalen
e270dee8cc Spreadsheet: Fixed parser so it accepts integer numbers written as e.g 1e3. 2016-03-08 16:09:30 +01:00
Eivind Kvedalen
b606ed8ce4 Spreadsheet: Added AtomicPropertyChange object to avoid excessive property change reporting. 2016-03-08 16:09:30 +01:00
Eivind Kvedalen
f69a5ab7db Spreadsheet: Turned off debug/tracing for expression parser. 2016-03-08 16:09:29 +01:00
triplus
d432c72a15 Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Yorik van Havre
28b6c82555 Added updated translations from crowdin - fixes #2443 2016-02-26 18:32:02 -03:00
Eivind Kvedalen
9606fb144a Spreadsheet: Updated test cases. 2016-02-18 16:54:43 +01:00
Eivind Kvedalen
b74b3f3358 Spreadsheet: Refactor code and reuse visitors from ExpressionVisitors.h 2016-02-18 16:54:42 +01:00
Eivind Kvedalen
1802d94a1a Spreadsheet: Override DocumentObject::renameObjectIdentifiers() to get better renaming support. 2016-02-18 16:54:42 +01:00
Eivind Kvedalen
8c943d0ad7 Spreadsheet: Refactored code to use AtomicPropertyChangeInterface. 2016-02-18 16:54:40 +01:00
Eivind Kvedalen
53dcaccd4e Spreadsheet: Refactored alias checking code, so GUI and Python error messages are aligned. 2016-02-18 16:54:39 +01:00
Yorik van Havre
2e2192f88a Added slovenian language 2016-02-03 13:36:51 -02:00
Yorik van Havre
37b1bdbe27 Updated translations with latest from crowdin 2016-02-01 23:32:58 -02:00
wmayer
c6740162bc + cleanup spreadsheet tests and corrected date & author 2016-01-26 21:33:31 +01:00
wmayer
d7dd512428 + small fixes in spreadsheet tests 2016-01-26 15:29:39 +01:00
wmayer
e0b12695b1 + write unit tests for Spreadsheet and expression stuff 2016-01-26 15:07:29 +01:00
Ed Martin
d71a12db05 Spreadsheet: Issue #2355: Do not recompute the spreadsheet and its dependents unless the change affects the spreadsheet 2016-01-26 12:04:55 +01:00
Eivind Kvedalen
ed29d8ef9a Spreadsheet: Fixed crash when removing aliases. 2016-01-26 11:14:06 +01:00
Eivind Kvedalen
bcff5d21ca Spreadsheet GUI: Issue #2402: Check for existing aliases in Properties dialog box. 2016-01-26 11:07:51 +01:00
Eivind Kvedalen
e8eef1dfcb Spreadsheet: Issue #2402: Added getAlias function. 2016-01-26 10:53:26 +01:00
Eivind Kvedalen
610466284b Spreadsheet: Issue #2402: Allow set to also accept alias name (in addition to cell address). 2016-01-26 10:53:03 +01:00
Eivind Kvedalen
301fcc2ab7 Spreadsheet: Issue #2402: Don't allow duplicate aliases. 2016-01-26 10:52:34 +01:00
Eivind Kvedalen
d45a95bf3a Spreadsheet: Issue #2402: Added functionality to get cell address given an alias. 2016-01-26 10:52:00 +01:00
wmayer
36383135a8 + simplify porting of Spreadsheet module to Python3 2016-01-17 23:15:24 +01:00
Eivind Kvedalen
d53cb8146e Spreadsheet: Issue #2388: The SheetObserver should ignore changed properties that don't have a name. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
a760487ad2 Spreadsheet: Don't update line edit on top unless we have to. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
160d88c883 Spreadsheet: Clear line edit on top when current cell is cleared. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
e523638c75 Spreadsheet: Enable tooltip for error messages. 2016-01-08 23:09:00 +01:00
wmayer
53024a6140 + do not include from .qrc generated .cpp file from other .cpp file but add it to build system 2016-01-05 17:35:58 +01:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
db345cb624 Change includes in Spreadsheet to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-01-05 16:10:40 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
da83100728 + fix major flaw in Spreadsheet module: do not include precompiled header in other header files
+ fix linking errors in drawing module
2016-01-04 16:03:00 +01:00
Yorik van Havre
1747fb643f Updated ts files prior to translation cycle 2016-01-03 19:45:29 -02:00
Eivind Kvedalen
ae6b934207 Spreadsheet: Fixed PropertySheet::Paste(); undo did not work correctly. 2015-12-09 12:15:15 +01:00
Eivind Kvedalen
aef7bbdf62 Spreadsheet: AggregateFunctionExpression missed its own implementation of copy().
This causes a crash during undo if this class is used.
2015-12-09 12:15:15 +01:00
Eivind Kvedalen
71605e63ef Spreadsheet: Fixed issue #2352, removal of rows and columns. 2015-12-09 12:15:13 +01:00
Eivind Kvedalen
4b5ae54e88 App: Removed VariableExpression::setName(), and replace call by setPath(); it's use caused a crash (#2352). 2015-12-09 12:15:12 +01:00
wmayer
2b2358e70b + fix warnings with Win32 build 2015-12-01 00:51:57 +01:00
Eivind Kvedalen
87c6af3547 Spreadsheet: Removed setPosition() function. 2015-11-28 12:56:28 +01:00
Eivind Kvedalen
b7480210fd Spreadsheet: Issue #2301: Handle enter/return and tab keys the same as e.g OpenOffice and Excel. 2015-11-28 12:56:27 +01:00