Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cp "-t" option does not exists under FreeBSD cp #1099

Open
wants to merge 404 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
404 commits
Select commit Hold shift + click to select a range
c336696
New classes for themes map (#1784)
K0R0L Apr 9, 2021
89498ce
Fix bug #49443
KirillovIlya Apr 9, 2021
581d955
[se] Modify RecalculateAllFormulas function
GoshaZotov Apr 9, 2021
804d844
Fix bug #49526
KirillovIlya Apr 9, 2021
9f5d764
[native] Extend review model
ayuzhin Apr 9, 2021
1c191ab
Merge pull request #1788 from ONLYOFFICE/fix/native-review
ayuzhin Apr 9, 2021
db245f6
Fix bug 49556 (#1790)
K0R0L Apr 9, 2021
2827b99
Added theme's map for disabled select (#1791)
KhromovNikita Apr 9, 2021
9aa2df9
Added theme's map for disabled form-control (#1792)
AlexeyMatveev686 Apr 9, 2021
c92a1ba
[bug] For bugs 49575, 49576: fix opening pptx with animation
SergeyLuzyanin Apr 9, 2021
5e95161
[se] Fix bug 49564
GoshaZotov Apr 9, 2021
33c9031
[bug] Fix bug 49578
SergeyLuzyanin Apr 10, 2021
e9fbd1c
For bug #49135
KirillovIlya Apr 10, 2021
185e297
[se] Fix bug 49135
GoshaZotov Apr 12, 2021
416fea8
Add support real-time change themes in plugins (#1797)
K0R0L Apr 12, 2021
cce2795
Added themes support for scroll (#1799)
KhromovNikita Apr 12, 2021
e51d647
Main events in plugins (for example onDocumentContentReady) (#1800)
K0R0L Apr 12, 2021
e18625f
Fix bug #49571
KirillovIlya Apr 12, 2021
123317c
Fix/bug 49566 (#1802)
GoshaZotov Apr 12, 2021
29b7416
Fix/bug 49592 (#1803)
GoshaZotov Apr 13, 2021
3f23b99
Fix bug #49590
KirillovIlya Apr 13, 2021
56eda9b
[bug] Fix bug 49614
SergeyLuzyanin Apr 13, 2021
c435a34
Add generate TOC buttons (#1805)
K0R0L Apr 13, 2021
6aa36a2
[se] Change error type
GoshaZotov Apr 13, 2021
a18e77a
Fix bug #49610
KirillovIlya Apr 13, 2021
4746aa2
[se] Fixed bugs in api builder for SE
AlexeyMatveev686 Apr 13, 2021
8a1702f
[bug] Fix bug 49620
SergeyLuzyanin Apr 14, 2021
1f69943
[de] Fix c_oAscError.ID.Submit export
konovalovsergey Apr 14, 2021
2009866
Feature/colors update (#1815)
Apr 15, 2021
0f3ebcb
Added support themes for select2's arrow (#1817)
KhromovNikita Apr 16, 2021
e5213db
Change the meaning of a parameter isModal (#1818)
K0R0L Apr 16, 2021
7d29053
[se] Fix bug 49672
konovalovsergey Apr 16, 2021
4fb59a5
[se] Fix bug 49532
konovalovsergey Apr 16, 2021
0173f55
[se] Fix bug 49639
konovalovsergey Apr 16, 2021
7587292
Fix scroll border's style (#1820)
KhromovNikita Apr 16, 2021
432f7f4
[bug] Fix resetting chart object on legend recalculation
SergeyLuzyanin Apr 17, 2021
93b6e68
Link's styles for themes (#1821)
KhromovNikita Apr 19, 2021
53cbf81
[se] Fix bug 49693
GoshaZotov Apr 19, 2021
7c3b9e6
Form control[readonly]/[disabled] styles for themes (#1822)
KhromovNikita Apr 19, 2021
3a046c1
[se] By bug 49693
GoshaZotov Apr 19, 2021
4875f51
Added description for Api.ReplaceTextSmart() method (#1825)
KhromovNikita Apr 19, 2021
507293d
[bug] Fix bug 49703
SergeyLuzyanin Apr 19, 2021
0b77270
Fixed bug with horizontal scrolling (#1827)
NikPrime Apr 20, 2021
83bae0f
[se] Fix bug 49739
GoshaZotov Apr 20, 2021
c310962
[bug] Fix bug 49744
SergeyLuzyanin Apr 21, 2021
8bc42e1
Implement function to detect did we hit in form/content control
KirillovIlya Apr 19, 2021
a3fbd2a
Enable mouse hand mode in FillingForms mode
K0R0L Apr 19, 2021
e6229b9
Fix bug #49747
KirillovIlya Apr 20, 2021
ac3c1b2
Fix issue with new hand mode
KirillovIlya Apr 20, 2021
3cf48e8
Fix typo
K0R0L Apr 20, 2021
00bf214
Unlock mouse on up event (if hand mode enable)
K0R0L Apr 20, 2021
b42f0ae
Fix bug #49748
KirillovIlya Apr 20, 2021
ebebc5c
Change the cursor type when hovering over the checkbox
KirillovIlya Apr 20, 2021
03b68b6
Remove cursor in case of checkbox/radiobutton in the filling form mode
KirillovIlya Apr 20, 2021
2c1c41a
Fix bug 49748
K0R0L Apr 20, 2021
05802c5
Unlock selection if it started in form/cc
K0R0L Apr 20, 2021
cab43a8
Fix bug #49749
KirillovIlya Apr 20, 2021
de9dc1b
Now we toggle checkbox on mousedown instead of mouseup
KirillovIlya Apr 21, 2021
54f0ef3
Implement base functions to manage showing of adjustments
KirillovIlya Apr 21, 2021
d2a297f
check isShowShapeAdjustments flag on drawing shapes tracks
SergeyLuzyanin Apr 21, 2021
b716a8e
Fix bug #44625
KirillovIlya Apr 21, 2021
9821932
Fix/buttons cc (#1831)
K0R0L Apr 21, 2021
43b59b8
[se] Fix bug 49639
konovalovsergey Apr 21, 2021
334b5c6
Fix bugs with draw cc (#1833)
K0R0L Apr 21, 2021
e66e94d
Fix bug #49807
KirillovIlya Apr 21, 2021
4ee72d6
Add isShowShapeAdjustments, isShowTableAdjustments, isShowEquationTra…
SergeyLuzyanin Apr 21, 2021
9b1d78e
[bug] Fix bug 49745
SergeyLuzyanin Apr 21, 2021
f20ffcc
Fix bug #32521
KirillovIlya Apr 22, 2021
938fbd7
Fix bug #49810
KirillovIlya Apr 22, 2021
076f92e
For bug #49727
KirillovIlya Apr 22, 2021
c6da9f5
Fix bug with not cell scale (#1839)
K0R0L Apr 22, 2021
dd78c49
[bug] For bug 49733
SergeyLuzyanin Apr 22, 2021
dfa7d91
Remove Type, Image properties
SergeyLuzyanin Apr 22, 2021
78bffed
[se] Fix bug 49700
konovalovsergey Apr 21, 2021
b647f90
[se] Fix bug 49682
konovalovsergey Apr 22, 2021
7dfa2d7
Fix bug #49809
KirillovIlya Apr 22, 2021
b09d09c
Fix bug #49829
KirillovIlya Apr 22, 2021
77ffa6d
Fix bug #49831
KirillovIlya Apr 22, 2021
3949473
Fix bug #49837
KirillovIlya Apr 22, 2021
90083a6
Fix bug 49873, fix bug 49839 (#1844)
K0R0L Apr 22, 2021
e0ae98d
Added styles for default scroll (#1845)
AlexeyMatveev686 Apr 23, 2021
1193441
Fix bug 49802 (#1846)
K0R0L Apr 23, 2021
c72f922
[bug] Fix bug 49861; fix bug 49874
SergeyLuzyanin Apr 23, 2021
9385f95
Add method GetSelectionType for plugins (#1848)
K0R0L Apr 23, 2021
ef1a7ec
[bug] Fix bug 49872
SergeyLuzyanin Apr 23, 2021
6ee6bd2
Improve check hit in form/content control
KirillovIlya Apr 22, 2021
6255fe1
Fix bug #49748
KirillovIlya Apr 22, 2021
fc1b93d
Fix bug #49879
KirillovIlya Apr 23, 2021
32cdbb3
Fix bug #49881
KirillovIlya Apr 23, 2021
296b7e2
Fix check hit in content control in case of shape
KirillovIlya Apr 23, 2021
8cffe66
[se] Fix bug 49896
GoshaZotov Apr 23, 2021
478fa78
Fix bug 49884
K0R0L Apr 23, 2021
ae05317
[bug] Fix cursor updating in view mode over shapes contents
SergeyLuzyanin Apr 23, 2021
3a2b19b
Fix bug 49746 (#1853)
K0R0L Apr 23, 2021
fcc80b0
[se] Show argument type after add and delete data
GoshaZotov Apr 23, 2021
b459a6b
[se] Fix export c_oAscFormulaArgumentType
GoshaZotov Apr 23, 2021
42c6859
[de] Fix bug 49842
konovalovsergey Apr 23, 2021
49b5409
Fix bug 49916 (#1857)
K0R0L Apr 23, 2021
672be58
[bug] Fix bug 49910
SergeyLuzyanin Apr 23, 2021
bc13f86
[bug] Fix updating chart type in the right panel
SergeyLuzyanin Apr 23, 2021
661a58f
Fix bug #49899
KirillovIlya Apr 23, 2021
ba7af49
Fix bug #49574
KirillovIlya Apr 23, 2021
951a89c
Fix bug #49926
KirillovIlya Apr 23, 2021
5bbb415
[bug] Fix bug 49938
SergeyLuzyanin Apr 24, 2021
ece8f51
[bug] Fix bug 49934
SergeyLuzyanin Apr 24, 2021
20483e0
[bug] Fix bug 49935
SergeyLuzyanin Apr 24, 2021
657a603
[bug] Fix bug 49957
SergeyLuzyanin Apr 25, 2021
5b3746e
[bug] Fix bug 49960
SergeyLuzyanin Apr 25, 2021
1161cc2
[bug] For bug 49177
SergeyLuzyanin Apr 25, 2021
25f7c2f
[bug] Fix bug 49815
SergeyLuzyanin Apr 25, 2021
9441061
[bug] Fix bug 49941
SergeyLuzyanin Apr 25, 2021
30aab3b
[bug] Fix bug 49971
SergeyLuzyanin Apr 25, 2021
1bee42b
Fix bug #49988
KirillovIlya Apr 26, 2021
af1fbcf
Fix bug #49972
KirillovIlya Apr 26, 2021
c583d21
Themes map for scroll (#1866)
KhromovNikita Apr 26, 2021
0623a04
[se] Add function in api (#1867)
GoshaZotov Apr 26, 2021
c73303e
[se] Escape special symbols(generate html)
GoshaZotov Apr 27, 2021
7225011
Fix bug 49395 (#1810)
NikPrime Apr 27, 2021
9c1544c
[se] Fix bug 49918
konovalovsergey Apr 25, 2021
071b2e0
Fix/add builder property (#1869)
GoshaZotov Apr 27, 2021
8faf4a8
[se] Fix bug 49931 (#1872)
GoshaZotov Apr 27, 2021
d2b8530
[bug] For bug 50027
SergeyLuzyanin Apr 27, 2021
e9235d1
Feature/mobileoverlaytable (#1871)
K0R0L Apr 27, 2021
c6a917f
[bug] Fix bug 50042
SergeyLuzyanin Apr 27, 2021
2f1778c
Fix bug 49460 (#1876)
K0R0L Apr 27, 2021
299d69f
[all] For bug 49716
konovalovsergey Apr 27, 2021
3a451a2
Fix bug 50000 (#1878)
K0R0L Apr 27, 2021
0373086
[bug] Fix bug 50064
SergeyLuzyanin Apr 28, 2021
3979da1
Fix bug 50063 (#1879)
K0R0L Apr 28, 2021
3774635
[se] Fix bug 50100
GoshaZotov Apr 28, 2021
97a9612
Fix/bug50108 (#1881)
K0R0L Apr 28, 2021
58b2a45
Fix/bug 49724 (#1882)
GoshaZotov Apr 28, 2021
7687af2
Fix bug 50058 (#1885)
K0R0L Apr 28, 2021
2cd647c
[de] For Bug #49807
konovalovsergey Apr 28, 2021
3ec7f44
Fix bug 49965 (#1887)
K0R0L Apr 28, 2021
27f7020
[bug] Fix bug 50111
SergeyLuzyanin Apr 28, 2021
535a0ea
[bug] For bug 50111
SergeyLuzyanin Apr 28, 2021
609692a
[se] Fix bug 50106
GoshaZotov Apr 29, 2021
a779aed
Fix bug 49876 (#1891)
K0R0L Apr 29, 2021
e436fd7
[bug] For bug 49949:
SergeyLuzyanin Apr 29, 2021
dbd4e19
[bug] Fix applying changes to animation objects in coauthoring
SergeyLuzyanin Apr 29, 2021
7f41cdd
[se] Fix bug 49958
GoshaZotov Apr 29, 2021
71620ab
Fix bug 50113 (#1895)
K0R0L Apr 29, 2021
8f85806
Fix/bug50134 (#1896)
K0R0L Apr 29, 2021
fef1cb7
[bug] For bug 49932: remove animation for smart-art elements to avoid…
SergeyLuzyanin Apr 29, 2021
3676e38
builder: some changes for the property descriptions
ovchinnikova-natalya Apr 29, 2021
6bb2901
[se] Fix bug 50144
GoshaZotov Apr 30, 2021
f4eb6a9
Fix bug 50142 (#1900)
K0R0L Apr 30, 2021
9c8df70
Fix bug 49395 (#1898)
NikPrime Apr 30, 2021
9bcc6a4
Fix bug #50076
KirillovIlya Apr 28, 2021
5f0a019
Fix previous commit
KirillovIlya Apr 28, 2021
d014a93
Fix bug with show "default" cursor in fill forms mode
K0R0L Apr 28, 2021
1afab44
Improve selection of fields in filling forms mode
KirillovIlya Apr 28, 2021
9036da5
Fix bug #49750
KirillovIlya Apr 28, 2021
efec461
Prevent selection when clicking on checkbox
KirillovIlya Apr 28, 2021
b7c59b5
Fix previous commit
KirillovIlya Apr 28, 2021
a408ebc
Fix click on checkox
KirillovIlya Apr 29, 2021
f6eb81d
Fix bug #50080
KirillovIlya Apr 29, 2021
1ad871f
Improve correction of select in the filling form mode
KirillovIlya Apr 29, 2021
b90fc2f
Fix bug #50133
KirillovIlya Apr 30, 2021
40dabe7
Fix bug #50156
KirillovIlya Apr 30, 2021
e1780d1
Fix bug #49925
KirillovIlya Apr 30, 2021
218e851
[bug] Fix bug 50176
SergeyLuzyanin May 3, 2021
0df59dd
[se] Fix bug 50188
GoshaZotov May 4, 2021
f01ece3
[se] Fix bug 50198
GoshaZotov May 4, 2021
1f08fba
[se] Get translation of 'Qtr' and '%1 or %2' from translation manager
konovalovsergey Apr 29, 2021
2a030fc
[se] Get translation of 'Total' from translation manager
konovalovsergey Apr 29, 2021
b904a66
[se] Fix bug 50143
konovalovsergey May 1, 2021
e2a2bcf
[se] Fix bug 49604
konovalovsergey May 4, 2021
0a08ee9
Fix plugins link color (#1906)
KhromovNikita May 4, 2021
b698dad
Fix bug #50184 (#1908)
AlexeyMatveev686 May 4, 2021
44fbf24
[bug] Fix bug 50180
SergeyLuzyanin May 4, 2021
70580e5
Add empty line
SergeyLuzyanin May 4, 2021
58adc03
[bug] Fix bug 50204
SergeyLuzyanin May 4, 2021
91ba535
[bug] Fix bug 50201
SergeyLuzyanin May 4, 2021
7293dcd
[se] Fix bug 49019
GoshaZotov May 4, 2021
fe6b317
Fix bug 49885 (#1912)
K0R0L May 5, 2021
1cf596e
[se] Fix bug 50169
GoshaZotov May 5, 2021
43d558f
[se] Fix bug 50214, fix bug 50215
GoshaZotov May 5, 2021
908a701
[se] Fix bug 49632
konovalovsergey May 5, 2021
f240dac
[bug] For bug 50201: fix stock data validation
SergeyLuzyanin May 5, 2021
2ca51ee
Fix/bug 49257 (#1915)
GoshaZotov May 5, 2021
3966754
[se] For bug 50235: fix save to html
GoshaZotov May 6, 2021
6873d63
Fix bug 50237 (#1918)
K0R0L May 6, 2021
8745402
[de] Fix bug with 1970 comment date after copy-paste
konovalovsergey May 6, 2021
3e11a1d
Fix/colors (#1919)
K0R0L May 6, 2021
8578683
Fix parsing colors (#1920)
K0R0L May 6, 2021
971cc07
Fix bug 46682, 47661 (#1921)
K0R0L May 6, 2021
1e6fc55
[bug] Fix bug 50201
SergeyLuzyanin May 6, 2021
0aa7939
[bug] Fix bug 47923
SergeyLuzyanin May 6, 2021
dfbe424
Fix bugs with slides skin (#1922)
K0R0L May 6, 2021
877b6ef
Fix colors in reporter mode (#1923)
K0R0L May 6, 2021
705a837
Fix bug 50240
NikPrime May 6, 2021
7580323
Added comments for bug
NikPrime May 7, 2021
be78a2c
[se] Fix bug 50240
GoshaZotov May 7, 2021
413c44c
Fix bugs with themes (#1925)
K0R0L May 7, 2021
8549393
Fix/bug 50004 (#1926)
GoshaZotov May 7, 2021
4d4b2d1
[se] Fix name containing non-ASCII symbols
konovalovsergey May 7, 2021
3c48da2
[se] Fix typo
GoshaZotov May 7, 2021
ca03cc9
Merge branch hotfix/v6.2.2 into release/v6.3.0
papacarlo May 7, 2021
9c833f6
Fix bug 49018 (#1929)
K0R0L May 7, 2021
ac49ee2
Fix bug 50299 (#1930)
K0R0L May 10, 2021
6a1df3d
Fix bug 50335 (#1933)
K0R0L May 11, 2021
cc2d128
Fix bug #50306
KhromovNikita May 11, 2021
dbb1867
Fix bug 50279 (#1934)
NikPrime May 11, 2021
83874a3
Fix bug 50321, 50320, 50322, 50333 (#1935)
K0R0L May 11, 2021
829e824
For bug #50004
KirillovIlya May 11, 2021
8c8a43c
Fix bug #50318
AlexeyMatveev686 May 12, 2021
c9de2fe
Fix/bug 50004 (#1938)
GoshaZotov May 13, 2021
9d75d2c
Fix bug 50363 (#1939)
K0R0L May 13, 2021
9ba8bc7
[se] Fix bug 50350
GoshaZotov May 13, 2021
b699401
Fix bug 50310 (#1941)
K0R0L May 13, 2021
31a7400
Fix problem with first update of the rulers
KirillovIlya May 13, 2021
3993c28
[bug] Fix bug 50392
SergeyLuzyanin May 13, 2021
fb4617f
[se] Fix bug 50394
GoshaZotov May 14, 2021
2636c86
[bug] Fix bug 50399
SergeyLuzyanin May 14, 2021
42176f6
Fix bug 50337 (#1946)
K0R0L May 14, 2021
b38724b
Fixed bug #49720 (#1948)
ayuzhin May 18, 2021
d5bc900
[bug] Fix bug 50467 (#1949)
SergeyLuzyanin May 18, 2021
a01de30
[all] For bug 50472; Fix export (#1950)
konovalovsergey May 18, 2021
9100c26
Merge branch release/v6.3.0 into master
papacarlo May 20, 2021
0cc4aae
Fix/bug 50509 (#1955)
GoshaZotov May 21, 2021
ec2e293
[se] Fix bug 50489
GoshaZotov May 21, 2021
19a495b
[se] Fix bug 50521
GoshaZotov May 21, 2021
8acfe8a
Fix/critical6.3.1 (#1958)
K0R0L May 21, 2021
4fd6dd9
[se] Fix unnecessary memory consumption in pivot tables
konovalovsergey May 17, 2021
24b5de7
[bug] Fix bug 50446
SergeyLuzyanin May 24, 2021
89db503
[se] Fix bug 50549
GoshaZotov May 24, 2021
5b60244
[se] By bug 50549
GoshaZotov May 24, 2021
8dfdded
[bug] Fix changes error
SergeyLuzyanin May 26, 2021
c2ecd21
[bug] Fix adding changes to history without point
SergeyLuzyanin May 27, 2021
d56e79f
[bug] Fix bug 50607
SergeyLuzyanin May 28, 2021
c50c2dc
Fixed pasting text into cells of Api.ReplaceTextSmart() method in Spr…
KhromovNikita May 28, 2021
2b38faf
Changed the used _addChars method to pasteText in Api.ReplaceTextSmar…
KhromovNikita May 28, 2021
4148b8b
[se] Fix bug 50642
GoshaZotov May 28, 2021
357f563
Added methods to export (#1967)
KhromovNikita May 31, 2021
28b3540
Fix bug #50604
KirillovIlya Jun 1, 2021
ca96441
Fix bug #50662
KirillovIlya Jun 1, 2021
606434c
[bug] Escape sheet name for regexp on changing sheet name or on delet…
SergeyLuzyanin Jun 3, 2021
84a6355
[bug] Fix losses ole-objects on opening
SergeyLuzyanin Jun 3, 2021
7bc028c
Fix bug #50699
KhromovNikita Jun 3, 2021
63f3816
Skip checking hidden columns in Api.ReplaceTextSmart()
KhromovNikita Jun 3, 2021
cb46bd9
[bug] Fix bug 50715 (#1984)
SergeyLuzyanin Jun 3, 2021
5348e1e
[se] Fix bug 50717 (#1985)
GoshaZotov Jun 3, 2021
d6c9632
[bug][mobile] fix drawing tracks for chart ranges (#1987)
SergeyLuzyanin Jun 7, 2021
028c188
[bug] Fix bug 50757
SergeyLuzyanin Jun 7, 2021
466fb98
[bug] Fix bug 50762
SergeyLuzyanin Jun 7, 2021
9a760b7
Merge pull request #1989 from ONLYOFFICE/fix/bug50757
catbasilio Jun 7, 2021
3f800a7
Merge branch hotfix/v6.3.1 into master
papacarlo Jun 8, 2021
934f8c1
Get the latest DocumentServer version
Teetoow Jul 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ all: $(WEBAPPS)

$(WEBAPPS): $(WEBAPPS_FILES)
mkdir -p $(OUTPUT)/$(WEBAPPS_DIR) && \
cp -r -t $(OUTPUT)/$(WEBAPPS_DIR) ../$(WEBAPPS_DIR)/deploy/**
cp -r ../$(WEBAPPS_DIR)/deploy/** $(OUTPUT)/$(WEBAPPS_DIR)

$(WEBAPPS_FILES): $(NODE_MODULES) $(SDKJS_FILES)
cd ../$(WEBAPPS_DIR)/build && \
Expand Down
4 changes: 3 additions & 1 deletion build/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,11 @@ module.exports = function(grunt) {
'Images/placeholders/*',
'Images/content_controls/*',
'Images/cursors/*',
'Images/reporter/*',
'Native/*.js',
'libfont/js/fonts.*',
'libfont/wasm/fonts.*'
'libfont/wasm/fonts.*',
'spell/spell/*'
],
dest: path.join(deploy, 'common')
},
Expand Down
68 changes: 41 additions & 27 deletions cell/.unit-tests/FormulaTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,20 @@ $( function () {
}
}

function _getValue(from, row, col) {
var res;
if (from.type === AscCommonExcel.cElementType.array) {
res = from.getElementRowCol(row !== undefined ? row : 0, col !== undefined ? col : 0).getValue();
} else if (from.type === AscCommonExcel.cElementType.cellsRange || from.type === AscCommonExcel.cElementType.cellsRange3D) {
res = from.getValueByRowCol(row !== undefined ? row : 0, col !== undefined ? col : 0).getValue();
} else if (from.type === AscCommonExcel.cElementType.cell || from.type === AscCommonExcel.cElementType.cell3D) {
res = from.getValue().getValue();
} else {
res = from.getValue();
}
return res;
}

function consoleLog(val) {
//console.log(val);
}
Expand Down Expand Up @@ -10052,99 +10066,99 @@ $( function () {

oParser = new parserFormula( "XLOOKUP(14,A551:A561,C551:C561)", "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), "u2" );
strictEqual( _getValue(oParser.calculate()), "u2" );

oParser = new parserFormula( "XLOOKUP(C565,A551:A561,B551:C561)", "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), "n" );
strictEqual( oParser.calculate().getElementRowCol(0,1).getValue(), "m1" );
strictEqual( _getValue(oParser.calculate(), 0, 0), "n" );
strictEqual( _getValue(oParser.calculate(), 0, 1), "m1" );

oParser = new parserFormula( 'XLOOKUP(1,A551:A561,B551:C561,"not found")', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), "not found" );
strictEqual( _getValue(oParser.calculate()), "not found" );

oParser = new parserFormula( 'XLOOKUP(10,A551:A561,B551:C561,0,1,1)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), "f" );
strictEqual( oParser.calculate().getElementRowCol(0,1).getValue(), "h3" );
strictEqual( _getValue(oParser.calculate(), 0, 0), "f" );
strictEqual( _getValue(oParser.calculate(), 0, 1), "h3" );

oParser = new parserFormula( 'XLOOKUP(10,A551:A561,B551:C561,0,-1,1)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), "a" );
strictEqual( oParser.calculate().getElementRowCol(0,1).getValue(), "a1" );
strictEqual( _getValue(oParser.calculate(), 0, 0), "a" );
strictEqual( _getValue(oParser.calculate(), 0, 1), "a1" );

oParser = new parserFormula( 'XLOOKUP(10,A551:A561,B551:C561,0,0)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), 0 );
strictEqual( _getValue(oParser.calculate()), 0 );

oParser = new parserFormula( 'XLOOKUP(10,A551:A561,B551:C561)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), "#N/A" );
strictEqual( _getValue(oParser.calculate()), "#N/A" );

oParser = new parserFormula( 'XLOOKUP(10,A551:A561,B551:C561,,,2)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), "#N/A" );
strictEqual( _getValue(oParser.calculate()), "#N/A" );

oParser = new parserFormula( 'XLOOKUP(10,A551:A561,B551:C561,,,-2)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), "#N/A" );
strictEqual( _getValue(oParser.calculate()), "#N/A" );

oParser = new parserFormula( 'XLOOKUP(10,A551:A561,B551:C561,,-1,-2)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), "#N/A" );
strictEqual( _getValue(oParser.calculate()), "#N/A" );

oParser = new parserFormula( 'XLOOKUP("test",A551:A561,B551:C561,,-1,2)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), "n" );
strictEqual( _getValue(oParser.calculate(), 0, 0), "n" );

oParser = new parserFormula( 'XLOOKUP("tt",A551:A561,B551:C561,,-1,2)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), "u" );
strictEqual( _getValue(oParser.calculate(), 0, 0), "u" );

oParser = new parserFormula( 'XLOOKUP("t???",A551:A561,B551:C561,,2)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), "c" );
strictEqual( _getValue(oParser.calculate(), 0, 0), "c" );

oParser = new parserFormula( 'XLOOKUP("t???",A551:A561,B551:C561,,2)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), "c" );
strictEqual( _getValue(oParser.calculate(), 0, 0), "c" );

oParser = new parserFormula( 'XLOOKUP("t?",A551:A561,B551:C561,,2)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), "u" );
strictEqual( _getValue(oParser.calculate(), 0, 0), "u" );

oParser = new parserFormula( 'XLOOKUP("t?",A551:A561,B551:C561,,0)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), "#N/A" );
strictEqual( _getValue(oParser.calculate()), "#N/A" );

oParser = new parserFormula( 'XLOOKUP("t*",A551:A561,B551:C561,,0)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), "#N/A" );
strictEqual( _getValue(oParser.calculate()), "#N/A" );

oParser = new parserFormula( 'XLOOKUP("t*",A551:A561,B551:C561,,2)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), "c" );
strictEqual( oParser.calculate().getElementRowCol(0,1).getValue(), "test2" );
strictEqual( _getValue(oParser.calculate(), 0, 0), "c" );
strictEqual( _getValue(oParser.calculate(), 0, 1), "test2" );

oParser = new parserFormula( 'XLOOKUP(1,{1,2,3},{2,2,3})', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), 2 );
strictEqual( _getValue(oParser.calculate(), 0, 0), 2 );

oParser = new parserFormula( 'XLOOKUP(1,{1,2,3,4},{2,2,3})', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), "#VALUE!" );
strictEqual( _getValue(oParser.calculate()), "#VALUE!" );

oParser = new parserFormula( 'XLOOKUP(4,{1,2,6},{2,2,3},,1)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), 3 );
strictEqual( _getValue(oParser.calculate()), 3 );

oParser = new parserFormula( 'XLOOKUP(4,{1,2,6},{2,2,3},,-1)', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getElementRowCol(0,0).getValue(), 2 );
strictEqual( _getValue(oParser.calculate()), 2 );

oParser = new parserFormula( 'XLOOKUP(4,{1,2,6},{2,2,3})', "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), "#N/A" );
strictEqual( _getValue(oParser.calculate()), "#N/A" );
} );


Expand Down
2 changes: 1 addition & 1 deletion cell/Local/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ var c_oAscError = Asc.c_oAscError;
this.LastUserSavedIndex = AscCommon.History.UserSavedIndex;
}

if (true === this.canSave && !this.isLongAction())
if (true === this.canSave && this._saveCheck())
{
var _isNaturalSave = this.IsUserSave;
this.canSave = false;
Expand Down
Loading