Commit Graph

270 Commits

Author SHA1 Message Date
donovaly
f2c83ac46b remove program-specific SVG namespaces
while fixing a SVG export issue for techDraw I noticed that some SVG files have program-dependent (and thus not clean) code in it. These are traces of the programs Sodipodi and Inkscape, like e.g. this line:
inkscape:export-filename="/home/yorik/PartDesign_Groove.png

This is unnecessary and FC should not use program-dependent code in the SVG but use instead plain SVG strictly following the SVG specification.

This PR transforms the few affected SVGs to a plain version.
2020-02-07 07:34:49 -05:00
wmayer
ec18f070d1 Spreadsheet: [skip ci] fix regression when pressing Return/Enter when completion list is shown 2020-01-01 10:43:12 +01:00
wmayer
40ed5df69f Spreadsheet: [skip ci] fix inconsistent German translation 2019-12-31 17:37:49 +01:00
Zheng, Lei
d5a4996d25 App: fix Expression _moveCells()
The problem is caused by not refreshing ObjectIdentifier internal cache
after change.
2019-12-31 15:23:03 +01:00
wmayer
e900384250 declare getMDIView and getMDIViewPage as const 2019-12-29 13:55:39 +01:00
wmayer
7fe10182a9 [skip ci] fix header uniformity
Set a real email address for headers in inspection and surface module
2019-12-21 16:12:54 +01:00
wmayer
00b3aa5cfa SpreadSheet: [skip ci] fix crash when changing data inside a spread sheet 2019-12-16 14:41:03 +01:00
asapelkin
e951094af9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wmayer
c6a5bbcf9e [skip ci] fix more -Wgnu-zero-variadic-macro-arguments 2019-11-17 15:14:18 +01:00
luz.paz
1bc33025d6 LGTM: various fixes for using string operator instead of numeric 2019-10-25 10:33:12 -03:00
DeepSOIC
f1a8dc4b2c Spreadsheet: fix tests to use fuzzy placement comparison 2019-10-12 15:39:39 +02:00
Zheng, Lei
78999b471b Spreadsheet: fix test case
Because of change in RotationPy __pow__
2019-10-08 17:53:20 +02:00
Zheng, Lei
41387fd991 App: fix dynamic property undo/redo
Instead of enforce property type match when undo/redo, modify various
property Paste() to make it type safe.
2019-10-07 17:24:31 +02:00
Zheng, Lei
bda372be83 Spreadsheet: add test case for operation on matrix/placement/rotation 2019-10-07 17:24:31 +02:00
Zheng, Lei
006f685db1 Spreadsheet: column/row select on right click 2019-10-07 17:24:30 +02:00
Zheng, Lei
976952db63 Spreadsheet: improve cyclic dependency exception handling 2019-10-07 17:24:30 +02:00
wandererfan
bed78b0b7b [SS]Fix Integer Formatted Value 2019-10-01 20:34:11 -04:00
Zheng, Lei
8dec78747f Spreadsheet: fix test cases due to change in error message 2019-09-28 15:31:36 +02:00
Zheng, Lei
a1417c5ffa App: extend Expression syntax
* Support sub-object reference syntax using the following syntax,
    Part.<<Box.>>.Placement
  or, with sub-object label referencing
    Part.<<$Cube.>>.Placement

* Extend indexing support, including range based indexing, e.g.
    A1[B2+1][C3][D4:-1]

* Add new constants, None, True, true, False, false.
2019-09-28 15:31:24 +02:00
Zheng, Lei
ea7eee8061 Expression: split Expression.h to ExpressionParser.h
Split Expression details into a separate header to reduce recompilation
time on changes.
2019-09-28 15:30:41 +02:00
Zheng, Lei
d141975701 App: use Python number protocol in Expression
This adds support to do mul/div with matrix and vector, as well as
Python formated string with operator %.
2019-09-28 15:30:34 +02:00
Syres916
6495902fc2 [Spreadsheet] Excel File Import fix Py3 bug
Please see discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=39653
2019-09-28 12:13:02 +02:00
wandererfan
019198a30c [TD][SS]Fix 4131 SS formatting in TD View 2019-09-20 12:56:26 -04:00
wmayer
a247b7e6a5 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
wmayer
1bfe0f3bea fixes #0004125: MDIViews not accessible correctly 2019-09-15 18:15:44 +02:00
Zheng, Lei
fd0f4f5654 Split App::AutoTransaction into its own file 2019-09-10 14:17:07 +02:00
wmayer
3759b83b7c Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
2019-08-17 19:53:21 +02:00
luz.paz
039d6eac01 Fix typos in various src/Mod directories 2019-08-17 15:32:49 +02:00
Zheng, Lei
1d274f6697 Test cases changes
Slight adjustment of various test cases due to various API changes.
2019-08-17 15:32:48 +02:00
Zheng, Lei
e911b69769 Spreadsheet changes
Various changes to support in-place editing, and more.
2019-08-17 15:15:47 +02:00
Zheng, Lei
34ed8a8e00 Spreadsheet: convert PropertySheet to link type property
PropertySheet is changed to derive from PropertyExpressionContainer,
which makes it a link type property that is capable of external linking.
It now relies on the unified link property API to manage object
depenency, and tracking of object life time, relabeling, etc.

This patch also includes various fix and improvement of Spreadsheet,
such as improved recompute efficiency, correct handling of document
label change, etc.
2019-08-17 14:52:09 +02:00
Yorik van Havre
236f890864 Merged translations from crowdin 2019-06-17 20:06:59 -03:00
luz.paz
9453e68e23 Misc. source comment typo and whitespace fixes
Found via codespell
2019-06-16 20:47:07 +02:00
Yorik van Havre
ed386410bc Merged latest translations from crowdin 2019-05-10 19:19:37 -03:00
Yorik van Havre
c65bf365a1 Updated master translation files 2019-05-10 19:15:33 -03:00
Yorik van Havre
dcae6d027e Updated translations 2019-03-06 21:50:08 -03:00
Yorik van Havre
a70a82e19f Revert "Merged crowdin translations" for investigation due to some problems found in the translation files...
This reverts commit 9032c4c587.
2019-03-02 19:17:44 -03:00
wmayer
58aa9b183e fixes 0003876: Spreadsheet WB does not respect number of decimal settings
fixes 0003875: Spreadsheet workbench does not respect locale for decimal separator
2019-03-02 23:07:49 +01:00
Yorik van Havre
9032c4c587 Merged crowdin translations 2019-02-28 21:53:37 -03:00
luz.paz
604811596f Crowdin: cont... 2019-02-11 16:22:13 +01:00
Yorik van Havre
7ee0e4d439 Updated master translation files 2019-02-08 19:16:21 -02:00
Yorik van Havre
ac18ec0d79 Updated translations 2019-02-01 13:54:10 -02:00
luz.paz
3b85a067bd Crowdin: Gui/qtcolorpicker.cpp refine string 2019-01-30 11:08:03 -02:00
luz.paz
e1446a0b99 [WIP] Crowdin: fixes pre-0.18 release
Includes some whitespace fixes as well
2019-01-30 11:08:03 -02:00
DeepSOIC
28cbe2bd89 Spreadsheet: fix #3474 cross-CS drag-drop issue 2019-01-20 00:45:49 +01:00
wmayer
c9b4f4ba67 fix possible crash in PropertySheet when removing dependencies 2019-01-17 18:33:06 +01:00
wmayer
632f9cf250 fixes 0003515: Changing Name of Spreadsheet in History Tree Does Not Trigger Name Update in Tab at Bottom of 3D Window 2019-01-14 00:21:56 +01:00
Yorik van Havre
2ea84272fd Updated translations from crowdin 2018-12-23 13:54:30 -02:00
wmayer
fc16bcbfca Replace Base::Exception with appropriate subclass 2018-11-14 18:02:49 +01:00
wmayer
b8ed93605d Fix scan coverity issues:
CID 184299:  Null pointer dereferences  (FORWARD_NULL)
CID 184297:  Error handling issues  (UNCAUGHT_EXCEPT)
CID 184296:  Uninitialized members  (UNINIT_CTOR)
CID 184292:  Uninitialized members  (UNINIT_CTOR)
2018-11-13 13:20:16 +01:00