Commit Graph

51 Commits

Author SHA1 Message Date
Eivind Kvedalen
aa1b8fcfc6 Spreadsheet: Fixed PropertySheet::Paste(); undo did not work correctly. 2015-12-09 12:15:15 +01:00
Eivind Kvedalen
13068d2bab 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
d1eacae103 Spreadsheet: Fixed issue #2352, removal of rows and columns. 2015-12-09 12:15:13 +01:00
Eivind Kvedalen
5fa6bc714e App: Removed VariableExpression::setName(), and replace call by setPath(); it's use caused a crash (#2352). 2015-12-09 12:15:12 +01:00
Eivind Kvedalen
ef7c8977ca Spreadsheet: Removed setPosition() function. 2015-11-28 12:56:28 +01:00
Eivind Kvedalen
8345044530 Spreadsheet: Fixed typo. 2015-11-28 12:56:26 +01:00
wmayer
dec2a2f6cd + fix inconsistencies in using DynamicProperty class 2015-11-17 12:22:07 +01:00
wmayer
ba053abec9 + support of adding/removing dynamic properties in property editor 2015-11-16 22:47:29 +01:00
wmayer
0cddf520d0 + make isReadOnly & isHidden of PropertyContainer non-virtual 2015-11-14 02:07:57 +01:00
wmayer
f46dc20fca + fix & suppress msvc warnings 2015-10-16 18:26:30 +02:00
Eivind Kvedalen
522328b378 Spreadsheet: Expressions using a spreadsheet cell address are now correctly renamed when rows/columns are removed/inserted. 2015-10-11 09:41:16 +02:00
Eivind Kvedalen
d177329219 Spreadsheet: Removed unused function. 2015-10-11 09:41:15 +02:00
Eivind Kvedalen
8345f87d05 Spreadsheet: Renaming an alias will now traverse the document and update expressions referencing it. 2015-10-11 09:41:15 +02:00
Eivind Kvedalen
7f417fe095 Spreadsheet: Added alias as tooltip. Made background of cell light yellow if an alias is defined for it. Can be overridden by setting a background color. 2015-10-11 09:41:14 +02:00
wmayer
f6023d36d2 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
Eivind Kvedalen
082195894b Spreadsheet: Fixed too liberal decoding of cell addresses. 2015-09-30 15:54:14 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Eivind Kvedalen
e6d54c6df9 Spreadsheet: Added round, trunc, ceil, and floor functions. 2015-09-21 14:51:12 +02:00
Eivind Kvedalen
e39578c742 Spreadsheet: Replaced own Expression classed by the ones in App. 2015-09-21 14:51:11 +02:00
Eivind Kvedalen
91942cc30f Spreadsheet: Updated documentation. 2015-09-21 14:51:02 +02:00
Eivind Kvedalen
6d0df4c58b Spreadsheet: Use Base::fromStdString/toStdString. 2015-09-21 14:51:01 +02:00
Eivind Kvedalen
b65af55fc1 Spreadsheet: Fixed bug with dangling pointer when a document object is deleted. 2015-09-21 14:51:01 +02:00
Eivind Kvedalen
e34884b1a8 Spreadsheet: Removed 'using namespace App'; preparation for moving Expression
classes to App.
2015-09-21 14:51:00 +02:00
Eivind Kvedalen
b99cd32be5 Spreadsheet: Made freecad_dynamic_cast calls unambiguous (preparation for next commit). 2015-09-21 14:50:58 +02:00
Eivind Kvedalen
0f416ee68f Added -Wno-sign-compare -Wno-reorder -Wno-switch -Wno-unused-variable -Wno-unused-but-set-variable -Wno-comment to mask warnings when compiling salomesmesh. 2015-09-21 14:50:58 +02:00
Eivind Kvedalen
3c78efa87b Mod/Spreadsheet: Removed unused method. 2015-09-11 15:24:12 +02:00
Eivind Kvedalen
853bcc3e93 Mod/Spreadsheet: Removed -Wsign-compare warnings. 2015-09-11 15:23:37 +02:00
Alexander Golubev
c30aeb06c1 App/DocumentObserver: make slot methods unimplemented rather pure-virtual and clenup derived classes accordingly 2015-09-02 13:54:44 +02:00
wmayer
96219e72b5 + fix various warnings 2015-08-30 11:48:26 +02:00
wmayer
0a06b2b703 + fix various warnings 2015-08-29 23:01:19 +02:00
wmayer
9c15aa059e + fix 'switch' warnings 2015-08-29 22:26:48 +02:00
Alexander Golubev
c31c3a41da Mod/Spreadsheet: fix yet another warning (potentialy harmful)
Warning was -Woverloaded-virtual
2015-08-29 18:36:02 +02:00
Alexander Golubev
5b469a4078 Mod/Spreadsheet: suppress warnings
Warnings was:
src/Mod/Spreadsheet/App/Expression.cpp|788 col 20| warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2015-08-29 18:35:59 +02:00
wmayer
c2c83a353b + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d2b7b730d3 + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
Eivind Kvedalen
1d8a7b7df0 Spreadsheet: Fixed bug in dependency tracking between objects. 2015-06-25 10:40:29 +02:00
Eivind Kvedalen
eb759ff93d Spreadsheet: Added initializer for Spreadsheet::RangeExpression class. 2015-06-25 10:40:15 +02:00
Eivind Kvedalen
71e487c9dd Spreadsheet: Fixed exception bug in SheetPy::setCustomAttributes(...). 2015-06-13 12:48:21 +02:00
Eivind Kvedalen
0a96102853 Spreadsheet: Added test macro. 2015-06-13 12:47:52 +02:00
Eivind Kvedalen
5d7d030d13 Spreadsheet: Fixed handling of unary minus/plus, exponentation order, and unit rule (#2099) 2015-06-13 12:47:19 +02:00
wmayer
859d76faf8 + fixes #0002075: Analysis of FreeCAD by PVS-Studio static analyzer 2015-05-01 16:56:31 +02:00
Eivind Kvedalen
b4dc4d97f4 - Self-reference bug
- Refactoring/clean-up of code
- Dependency tracking of aliased cells
- Various resolution errors
- Rewriting of ranges when columns/rows are inserted/removed
- References to aliases keep their units.
2015-03-04 22:18:20 +01:00
Eivind Kvedalen
06bfa9eb80 Spreadsheet: getProperty does not return 0 when property is not found, but throws an exception. Handle this instead. 2015-02-17 11:47:56 +01:00
Eivind Kvedalen
23e7849b7f Spreadsheet: Remove empty set from documentObjectToCellMap. 2015-02-17 11:47:11 +01:00
Eivind Kvedalen
f57ea14ac8 Spreadsheet: docDeps property was not properly maintained, resulting in spurious links to other objects. 2015-02-17 11:46:12 +01:00
Eivind Kvedalen
d201aec70c Spreadsheet: Don't return error message when custom attribute is not found. 2015-02-17 11:45:30 +01:00
Eivind Kvedalen
e0f4e74b9e Spreadsheet: Consistently use App::Document::Label as reference for document names when tracking dependencies. 2015-02-17 11:44:55 +01:00
Yorik van Havre
30cd441251 Spreadsheet: Added back old python spreadsheet code for archiving purposes 2015-02-14 12:03:22 -02:00
wmayer
1caa1b4f55 + remove unused variable 2015-02-13 22:13:38 +01:00
Eivind Kvedalen
1f347b53cf + Fixed merge of cells to retain value in upper left cell+ Replaced std::map::at() with iterators and find. Removed some superfluous calls to std::map::find()
+ Visual Studio fixes
+ Fixed return values
+ Removed unused variables
2015-02-13 21:53:59 +01:00