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

Merge branch release/v7.2.0 into master #3015

Merged
merged 1,516 commits into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1516 commits
Select commit Hold shift + click to select a range
31e8266
Update module
K0R0L Aug 25, 2022
32e4860
fix opening/saving on client
SergeyLuzyanin Aug 25, 2022
2d90c53
[bug] fix bug 58692
SergeyLuzyanin Aug 25, 2022
0b854e3
[de] Read formPr, textFormPr from xml
konovalovsergey Aug 25, 2022
6df7f8d
[se] Fix bug 58701
GoshaZotov Aug 25, 2022
0a594e0
fix opening/saving on client:
SergeyLuzyanin Aug 25, 2022
2da1eb4
[se] By bug 58700
GoshaZotov Aug 25, 2022
c2cfe9b
for bug 58699
SergeyLuzyanin Aug 25, 2022
c8c1126
For bug 58668
K0R0L Aug 25, 2022
5efd79e
Change sizes for mobile mode
K0R0L Aug 25, 2022
3f7c1b9
For bug #58668
KirillovIlya Aug 25, 2022
e6b20f0
[de] Fix reading w:sym from xml
konovalovsergey Aug 25, 2022
e4591d0
[de] Implement form-to-json conversion and vice versa
KirillovIlya Aug 25, 2022
077c17d
[de] Add test for conversion json to form and back
KirillovIlya Aug 25, 2022
8608650
[de] Add ability to save/load symbols for checkbox in json
KirillovIlya Aug 26, 2022
a5837e7
[de] Fix StaxParser.MoveToNextAttribute; Add Custom xml reading from …
konovalovsergey Aug 26, 2022
0328373
Fix/search empty cells (#2950)
GoshaZotov Aug 26, 2022
6d3c0bd
Fix/client open bugs (#2951)
GoshaZotov Aug 26, 2022
e6a9c24
[de] Implement function for get all unicodes from json-to-form
KirillovIlya Aug 26, 2022
38cfe58
[de] Revert check for all tests
KirillovIlya Aug 26, 2022
94390ee
Fix/search elems update (#2952)
GoshaZotov Aug 26, 2022
395d006
Fix bug #58595
Aug 26, 2022
bc80d30
[de] Improve json to form conversion
KirillovIlya Aug 26, 2022
169975c
Merge pull request #2953 from ONLYOFFICE/fix/bug58595
SergeyLuzyanin Aug 26, 2022
cae0ce5
fix bug 58421
SergeyLuzyanin Aug 26, 2022
fbaa2dd
[de] Fix the problem with creating complex form
KirillovIlya Aug 26, 2022
e77ddba
[de] Remove temporary hotkey for adding complex form
KirillovIlya Aug 26, 2022
268d0c5
fix opening on client:
SergeyLuzyanin Aug 26, 2022
0550842
Fix bug 58133
K0R0L Aug 26, 2022
e417ba7
[de] Fix crash while opening from xml
konovalovsergey Aug 26, 2022
7b12513
[de] Fix crash while opening from xml
konovalovsergey Aug 26, 2022
bcb9afe
fix opening on client:
SergeyLuzyanin Aug 28, 2022
fd41538
fix opening on client:
SergeyLuzyanin Aug 28, 2022
eead53b
[de] Fix serialization from xml
konovalovsergey Aug 28, 2022
6a6cec8
fix opening on client
SergeyLuzyanin Aug 29, 2022
9a9dd39
fix opening on client:
SergeyLuzyanin Aug 29, 2022
b090df2
Fix/bug 58745 (#2954)
GoshaZotov Aug 29, 2022
8e74c60
[se] Fix bug 58740
GoshaZotov Aug 29, 2022
99f73ad
for bug 56721
SergeyLuzyanin Aug 29, 2022
098f81b
fix typo
SergeyLuzyanin Aug 29, 2022
cac860f
fix opening/saving on client
SergeyLuzyanin Aug 29, 2022
23b4c54
[de] Fix CTableCellPr.toXml
konovalovsergey Aug 29, 2022
9ca7b2d
[de] Add functions to receive mask and regExp for text format of a form
KirillovIlya Aug 30, 2022
4466988
[de] Read/write text-form formats to binary
KirillovIlya Aug 29, 2022
12fceb5
[de] Fix the problem with setting text format to form
KirillovIlya Aug 30, 2022
216ac6b
[de] Add reading text format from binary
KirillovIlya Aug 30, 2022
45196c4
Add store object to serialization
K0R0L Aug 30, 2022
04bc622
fix opening slicers on client
SergeyLuzyanin Aug 30, 2022
0c37e8a
[se] By bug 58693 (#2958)
GoshaZotov Aug 30, 2022
53c56de
fix converting vml drawing on opening on client
SergeyLuzyanin Aug 30, 2022
14c5083
[de] Fix reading text form format from binary
KirillovIlya Aug 30, 2022
fea3623
[de] Add complex form type and implement read/write complex form
KirillovIlya Aug 30, 2022
383b3fd
fix converting vml shape: fix vert value
SergeyLuzyanin Aug 30, 2022
cacc4dd
fix opening/saving on client: themeOverride
SergeyLuzyanin Aug 30, 2022
af16aa2
[se] Fix client open: custom rows height
GoshaZotov Aug 30, 2022
d2d25f3
[de] Fix the problem with writing text format to binary
KirillovIlya Aug 31, 2022
4a48fb6
[de] Replace Array.from with Array.slice because of IE
KirillovIlya Aug 31, 2022
be85955
Fix handles for ios/android native apps
K0R0L Aug 31, 2022
ca91e2f
[de] Add format check for combobox when copying
KirillovIlya Aug 31, 2022
b021d09
[apiBuilder] (word) - Fixed getting drawing Width/Height.
KhromovNikita Aug 31, 2022
81e7913
Merge pull request #2960 from ONLYOFFICE/fix/apiBuilderDrawing
SergeyLuzyanin Aug 31, 2022
a4c4203
fix reading ole-objects in pptx on client
SergeyLuzyanin Aug 31, 2022
b6763fe
fix opening on client: do not add hidden objects to sptree
SergeyLuzyanin Aug 31, 2022
4be0ada
Add ASC_MENU_EVENT_TYPE_CHANGE_MOBILE_MODE
K0R0L Aug 31, 2022
58684f8
fix opening on client: vml convertation
SergeyLuzyanin Aug 31, 2022
bfbc2cd
[pdf-viewer] Fixes for search tab.
KhromovNikita Aug 25, 2022
3827dab
[de] Fix the problem with selection when open document
KirillovIlya Aug 31, 2022
9faeae6
[de] Add tests form GetMainForm function
KirillovIlya Aug 31, 2022
ac59d61
fix opening on client: vml convertion - shape angle
SergeyLuzyanin Aug 31, 2022
20ed315
[de] Return the length of the mask for the maxCharacters parameter fo…
KirillovIlya Aug 31, 2022
b79a348
[de] Rework the case when maxCharacters specified by the mask
KirillovIlya Aug 31, 2022
8726421
fix vml color converting
SergeyLuzyanin Aug 31, 2022
c71542e
[de] Fix bug 58404
konovalovsergey Sep 1, 2022
d7dcef2
[se] Update after set draw groups restriction
GoshaZotov Sep 1, 2022
d84cadf
fix converting vml fill
SergeyLuzyanin Sep 1, 2022
a29d8f8
Add mobile mode realization to native wrapper
K0R0L Sep 1, 2022
fe23ec5
[de] Read/write text-form formats to xml
konovalovsergey Sep 1, 2022
441ca92
[de] Fix the problem with export
KirillovIlya Sep 1, 2022
ddd1c62
[de] Refactor
KirillovIlya Sep 1, 2022
11cce3a
fix opening chart with external data
SergeyLuzyanin Sep 1, 2022
cf40456
[se] Fix client open: ext dxfs
GoshaZotov Sep 1, 2022
b044907
fix opening on client: skip chartEx Fallback
SergeyLuzyanin Sep 1, 2022
b135514
[de] Fix the problem with changing placeholder of the text form
KirillovIlya Sep 1, 2022
7225230
Fix bug #58848
KirillovIlya Sep 1, 2022
c4e5de7
[se] Fix bug 58433
GoshaZotov Sep 2, 2022
5be3ee8
[se] Fix bug 58722
GoshaZotov Sep 2, 2022
302ac17
fix writing chart date1904, roundedCorners, showDLblsOverMax
SergeyLuzyanin Sep 2, 2022
a7b0b4f
use sendImageUrls for adding and editiong ole tables
SergeyLuzyanin Sep 2, 2022
3ea8561
[se] Added new event "onWorksheetChange" for macros.
AlexeyMatveev686 Sep 2, 2022
7b2e965
Change name for new macroc event.
AlexeyMatveev686 Sep 2, 2022
a10f683
[bug] fix bug 58847
SergeyLuzyanin Sep 2, 2022
f69cee2
[apiBuilder] (word) - Fixed methods for Cross-ref.
KhromovNikita Sep 2, 2022
1f1b4d5
[apiBuilder] (word) - Changed typedef value name.
KhromovNikita Sep 2, 2022
12dd2c0
clip shadow in cell
SergeyLuzyanin Sep 2, 2022
9a4053c
[bug] fix bug 58837
SergeyLuzyanin Sep 2, 2022
10aeed7
FromToJSON refactoring.
KhromovNikita Sep 2, 2022
5de8f22
Added missing file for macros event.
AlexeyMatveev686 Sep 2, 2022
2e4467c
FromToJSON fixes.
KhromovNikita Sep 2, 2022
a704a40
[se][bu] Fixed reading json with obfuscated code.
KhromovNikita Sep 2, 2022
096aa58
fix chart drawing
SergeyLuzyanin Sep 2, 2022
fb10889
Merge pull request #2968 from ONLYOFFICE/fix/fromToJSON
SergeyLuzyanin Sep 3, 2022
aa3d343
fix crash on undo inserting slides from JSON:
SergeyLuzyanin Sep 3, 2022
16c52a3
fix setting clrMap for notesMaster when create it from json
SergeyLuzyanin Sep 3, 2022
f0b3dec
[bug] fix bug 58518
SergeyLuzyanin Sep 3, 2022
bf01202
fix passing unit-tests
SergeyLuzyanin Sep 3, 2022
51a5427
[all] Fix bug 58680
konovalovsergey Sep 4, 2022
3171d51
[se] Fix bug 57246
konovalovsergey Sep 4, 2022
18ce8e3
[de] Fix bug 58295
konovalovsergey Sep 4, 2022
9dbadf1
fix losing SelectedAll flag in CSelectedElement at converting to pres…
SergeyLuzyanin Sep 5, 2022
35ac21e
Fix bug #58649
KirillovIlya Sep 2, 2022
1e081f5
Fix bug #58648
KirillovIlya Sep 2, 2022
2e0f5cb
[se] Fix add by history without new point
GoshaZotov Sep 5, 2022
3e259cb
[bug] fix bug 57424
SergeyLuzyanin Sep 5, 2022
6d406b2
[bug] fix bug 58881
SergeyLuzyanin Sep 5, 2022
9f2325e
Fix bug 58251
K0R0L Sep 5, 2022
667da1f
[bug] fix bug 58885
SergeyLuzyanin Sep 5, 2022
c19ee15
[bug] fix bug 58882
SergeyLuzyanin Sep 5, 2022
a7f5c7d
fix previous commit
SergeyLuzyanin Sep 5, 2022
596e0ad
fix adding custom path animation
SergeyLuzyanin Sep 5, 2022
04a6545
[de] Implement ability to correct form text to specified mask
KirillovIlya Aug 30, 2022
ee77c97
Add CorrectBufаer processing and form mask tests
IgolJack Sep 1, 2022
dd63635
[de] Improve code layout
KirillovIlya Sep 1, 2022
4d57576
[de] Fix CorrectBuffer processing
IgolJack Sep 1, 2022
898c9d2
[de] Allow to help enter text by the mask in the filling form mode
KirillovIlya Sep 5, 2022
6c0dfcc
Fix bug 50457
K0R0L Sep 5, 2022
e05c8b2
Fix bug 58639
K0R0L Sep 5, 2022
67c1965
[se] Fix bug 56716
GoshaZotov Sep 5, 2022
c98ce6c
[pe] By bug 56716: create common function for read shape text
GoshaZotov Sep 6, 2022
c9762d4
Fixed work with update worksheet ivent for formulas.
AlexeyMatveev686 Sep 6, 2022
6c93e72
[bug] fix bug 58884:
SergeyLuzyanin Sep 6, 2022
88f1cf0
Add some cases for worksheet change event.
AlexeyMatveev686 Sep 6, 2022
403b3ba
Fix bug 58667
Sep 6, 2022
6c6b1fb
Fix bug #58857 (#2969)
KhromovNikita Sep 6, 2022
e8c8d64
[se] Fix bug 58903
GoshaZotov Sep 6, 2022
3bc8088
For bug 58763
Sep 6, 2022
2fd9da9
Fix bug #58870
KirillovIlya Sep 6, 2022
899526c
For bug 58763
Sep 6, 2022
8547cb9
Fix bug 58763
Sep 6, 2022
76c1808
Fix bug #58588
KirillovIlya Sep 6, 2022
e096d89
Merge pull request #2977 from ONLYOFFICE/fix/bug58763
SergeyLuzyanin Sep 7, 2022
ffdd61b
Merge pull request #2975 from ONLYOFFICE/fix/bug58667
SergeyLuzyanin Sep 7, 2022
178be57
[de] Fix bug 58914
GoshaZotov Sep 7, 2022
fbdde83
[bug] fix bug 58882
SergeyLuzyanin Sep 7, 2022
b1936a0
Fix bug #58481
KirillovIlya Sep 7, 2022
130a243
[bug] for bug 58916
SergeyLuzyanin Sep 7, 2022
6bba87e
deselect move animation shape on leaving from animation tab
SergeyLuzyanin Sep 7, 2022
62a05c5
[se] Fix style
GoshaZotov Sep 7, 2022
619116a
fix asc_getIsMotionPath
SergeyLuzyanin Sep 7, 2022
7c6711e
[se] Change undo/redo event
GoshaZotov Sep 7, 2022
f1eca34
Fix bug 58675
K0R0L Sep 8, 2022
36d636f
Fix bug #58928 (#2979)
KhromovNikita Sep 8, 2022
cb25ce1
Fix bug #58934
KhromovNikita Sep 8, 2022
397bcfe
Fix bug #46314
KirillovIlya Sep 8, 2022
4e68184
Fix bug #58933
KhromovNikita Sep 8, 2022
19e2e29
[de] Add missed files to previous commit
KirillovIlya Sep 8, 2022
7c19b08
Fix/bug 53537 (#2983)
GoshaZotov Sep 8, 2022
a92e63b
Fix for advanced api
K0R0L Sep 8, 2022
c2c357b
Fix bug #58945
KirillovIlya Sep 8, 2022
0057492
Fix bug #58944
KirillovIlya Sep 8, 2022
fb3a730
Fix bug #58947
KirillovIlya Sep 8, 2022
bec7acd
[se] Fix bug 58955
GoshaZotov Sep 8, 2022
40231bb
[se] FromToJSON - fixed setting table layout when reading table
KhromovNikita Sep 9, 2022
18960ac
[de] Split accept/reject changes into different function when the cha…
KirillovIlya Sep 9, 2022
a5500ad
[bug] fix bug 58956
SergeyLuzyanin Sep 9, 2022
78b2831
[de] Implement accept/reject of the current change in one action
KirillovIlya Sep 9, 2022
b65c91f
Change ApiBuilder method "GetAddress" for ApiRange.
AlexeyMatveev686 Sep 9, 2022
c8f9f48
Commented code with macros event "onWorksheetChange" for undo/redo.
AlexeyMatveev686 Sep 9, 2022
550e6f9
Add patch to harfbuzz
K0R0L Sep 9, 2022
2b632b3
Merge pull request #2990 from ONLYOFFICE/feature/macros-event
catbasilio Sep 9, 2022
f13f6ed
[se] Fix bug 58973
GoshaZotov Sep 9, 2022
737ffd3
Fix bug #58368
KirillovIlya Sep 9, 2022
6f918a1
[se] Rename worksheet change event
GoshaZotov Sep 9, 2022
019f888
[de] Add new multilevel numbering presets
KirillovIlya Sep 10, 2022
2ebe9a5
[de] Implement new multi-level numbering
KirillovIlya Sep 11, 2022
3727e12
[de] Fix the problem with text fonts for new numberings
KirillovIlya Sep 11, 2022
b8d2fe5
[de] Fix rendering preview for multi-level numbering
KirillovIlya Sep 11, 2022
f6f3015
[se] Fix bug 58991
GoshaZotov Sep 12, 2022
158eff3
For bug #58292
KirillovIlya Sep 12, 2022
dbf39d3
Update module
K0R0L Sep 12, 2022
98f0fa6
Fix bug #58893
KirillovIlya Sep 12, 2022
eae2a2e
for bug 58884
SergeyLuzyanin Sep 12, 2022
83902a6
Fix/bug58994 (#2996)
K0R0L Sep 12, 2022
919e410
fix broken file after saving on client:
SergeyLuzyanin Sep 12, 2022
0796c29
[bug] fix bug 59004
SergeyLuzyanin Sep 12, 2022
961ab92
fix minimization bug:
SergeyLuzyanin Sep 12, 2022
bb7fcc9
For bug 57481
K0R0L Sep 12, 2022
09e2148
[se] Client save: encode xml string
GoshaZotov Sep 12, 2022
20c6287
Update js module
K0R0L Sep 12, 2022
7b43bfd
Fix bug #58957
KirillovIlya Sep 12, 2022
46dbc5a
Fix bug 59014
K0R0L Sep 13, 2022
2771dc6
[de] Implement check whether the style is used in the document
KirillovIlya Sep 13, 2022
1fb5658
[de] Implement function to fill style properties from other style
KirillovIlya Sep 13, 2022
1b9432a
Fix bug #59013
KirillovIlya Sep 13, 2022
79bdfef
[de] Fix selection issue when applying text properties
KirillovIlya Sep 13, 2022
5c15167
For bug #59025
KirillovIlya Sep 14, 2022
a327776
For bug 59030
K0R0L Sep 14, 2022
06c75fb
Merge branch 'release/v7.2.0' of https://github.com/ONLYOFFICE/sdkjs …
K0R0L Sep 14, 2022
87b6968
Create UndoMultipleActions method
IgolJack Jul 26, 2022
a2f12cd
[all] Use CCollaborativeEditingBase.UndoMultipleActions in live viewe…
konovalovsergey Sep 12, 2022
bb90112
[se] Remove undo in spreadsheet in collaboration with live viewer
konovalovsergey Sep 13, 2022
83da347
[de] Rework function for undo last global actions
KirillovIlya Sep 14, 2022
e58c4a5
[de] Refactor undo in collaboration
KirillovIlya Sep 14, 2022
ee321dc
[de] Fix the problem with global undo
KirillovIlya Sep 14, 2022
390c800
Fix bug #59031
KirillovIlya Sep 14, 2022
a22ffde
Fix bug #59011
KirillovIlya Sep 14, 2022
511fadb
Fix bug #58905
KirillovIlya Sep 14, 2022
daa2991
For bug #58899
KirillovIlya Sep 14, 2022
bf87396
For bug 58272
K0R0L Sep 14, 2022
261a112
Fix bug #59042
KirillovIlya Sep 15, 2022
fa6a7d9
Fix bug #58865
KirillovIlya Sep 15, 2022
0818a7f
Fix open images in frame editor
Sep 15, 2022
d27aa90
Fix lock object with editing ole object in right panel
Sep 15, 2022
1b16fef
Fix bug #58863
KirillovIlya Sep 15, 2022
d927b7e
[de] Update tests
KirillovIlya Sep 15, 2022
1da7c6f
Fix bug #58862
KirillovIlya Sep 15, 2022
ba94bb7
Block insert and change images in frame editor for 7.2.0
Sep 15, 2022
2c45a08
Fix draw single chart for ole object preview
Sep 15, 2022
3e62e3c
Clean buttonInfo if insert image was canceled
Sep 15, 2022
5733ac3
Fix bug #58853
KirillovIlya Sep 15, 2022
6be7437
Fix insert shapes from word to ole editor
Sep 15, 2022
52f9980
Merge branch 'release/v7.2.0' of https://github.com/ONLYOFFICE/sdkjs …
Sep 15, 2022
82841d3
[de] Add transform update when updating content control track geometry
KirillovIlya Sep 15, 2022
8ab3790
Fix bug #58828
KirillovIlya Sep 15, 2022
0496203
Fix bug #58178
KirillovIlya Sep 15, 2022
eb5b5a9
Fix bug #58155
KirillovIlya Sep 15, 2022
ec60433
Merge pull request #3002 from ONLYOFFICE/fix/changes_for_oleeditor_in…
catbasilio Sep 16, 2022
79b3d2d
Fix bug #59052
KirillovIlya Sep 16, 2022
8b2dfb0
[bug] Fix minimization error; For bug 59065
konovalovsergey Sep 16, 2022
bb0d5e6
Fix bug #59053
KirillovIlya Sep 16, 2022
42d8a31
Fix bug #58900
KirillovIlya Sep 16, 2022
c5e0362
Fix bug 58654
K0R0L Sep 16, 2022
ce1c978
Fix bug 56296
K0R0L Sep 16, 2022
12faf73
Fix bug 58435
K0R0L Sep 16, 2022
92d8661
Fix bug 59079
K0R0L Sep 16, 2022
c74920e
fix bug 59081
SergeyLuzyanin Sep 17, 2022
341905d
Fix bug #58927
KirillovIlya Sep 18, 2022
6492951
Fix bug 58794
K0R0L Sep 18, 2022
d617cb2
Fix bug 54639
K0R0L Sep 18, 2022
6830fea
Fix bug #59068
KirillovIlya Sep 18, 2022
fb834b0
Fix bug #58183
KirillovIlya Sep 19, 2022
18abb7b
Fix bug #58487
KirillovIlya Sep 19, 2022
d594455
small fixes for api docs (#3005)
ovchinnikova-natalya Sep 19, 2022
e4fae1b
Fix bug #59084
KirillovIlya Sep 19, 2022
b9cd217
Fix bug #58362
KirillovIlya Sep 19, 2022
e2ce3ba
Fix bug #58799
KirillovIlya Sep 20, 2022
bc4fed6
[se] Fix bug 59092
GoshaZotov Sep 19, 2022
5caa4b4
[se] For bug 59092
konovalovsergey Sep 20, 2022
03bbc2f
[se] By bug 59092
konovalovsergey Sep 20, 2022
36a4dee
Fix bug 59111
K0R0L Sep 20, 2022
d2544ed
Fix bug 59115
K0R0L Sep 20, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 9 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ jobs:
npm install --prefix build
grunt --gruntfile build/Gruntfile.js develop
node-qunit-puppeteer cell/.unit-tests/FormulaTests.html
node-qunit-puppeteer cell/.unit-tests/PivotTests.html
node-qunit-puppeteer cell/.unit-tests/subdir/PivotTests.html
node-qunit-puppeteer cell/.unit-tests/CopyPasteTests.html
node-qunit-puppeteer tests/word/unit-tests/paragraphContentPos.html
node-qunit-puppeteer tests/word/document-calculation/paragraph.html
node-qunit-puppeteer tests/word/document-calculation/table/flowTablePosition.html
node-qunit-puppeteer tests/word/forms/forms.html
node-qunit-puppeteer tests/word/forms/complexForm.html
node-qunit-puppeteer tests/word/api/api.html
node-qunit-puppeteer tests/word/styles/paraPr.html
builder-tests:
runs-on: ubuntu-latest
steps:
Expand All @@ -40,9 +47,8 @@ jobs:
npm install -g grunt-cli
npm install --prefix build
grunt --level=WHITESPACE_ONLY --base build --gruntfile build/Gruntfile.js
docker pull onlyofficeqa/doc-builder-testing:latest
docker run -v $PWD/deploy/sdkjs/common:/opt/onlyoffice/documentbuilder/sdkjs/common \
-v $PWD/deploy/sdkjs/word:/opt/onlyoffice/documentbuilder/sdkjs/word \
-v $PWD/deploy/sdkjs/cell:/opt/onlyoffice/documentbuilder/sdkjs/cell \
-v $PWD/deploy/sdkjs/slide:/opt/onlyoffice/documentbuilder/sdkjs/slide \
onlyofficeqa/doc-builder-testing:latest rake rspec_critical
onlyofficeqa/doc-builder-testing:next-release rake rspec_critical
9 changes: 4 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
.idea/
build/node_modules
build/$weak$.js
common/libfont/wasm/build/emsdk
common/libfont/wasm/build/freetype*
common/libfont/wasm/build/fonts.*
common/AllFonts.js
common/libfont/js/fonts.js
common/libfont/wasm/fonts.js
common/Images/fonts_thumbnail*
common/Images/themes_thumbnail*
slide/themes/theme*
Expand All @@ -21,3 +16,7 @@ slide/sdk-all.props.js.map
slide/sdk-all.vars.js.map
word/sdk-all.props.js.map
word/sdk-all.vars.js.map
node_modules
package-lock.json
*/node_modules
*/package-lock.json
40 changes: 7 additions & 33 deletions build/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ module.exports = function(grunt) {
}

function CConfig(pathConfigs) {
this.fonts = null;
this.externs = null;
this.word = null;
this.cell = null;
Expand Down Expand Up @@ -123,14 +122,13 @@ module.exports = function(grunt) {
mergeProps(this[name], option);
}

appendOption.call(this, 'fonts');
appendOption.call(this, 'externs');
appendOption.call(this, 'word');
appendOption.call(this, 'cell');
appendOption.call(this, 'slide');
};
CConfig.prototype.valid = function () {
return this.fonts && this.externs && this.word && this.cell && this.slide;
return this.externs && this.word && this.cell && this.slide;
};

function getExterns(config) {
Expand Down Expand Up @@ -211,8 +209,6 @@ module.exports = function(grunt) {
banner: '(function(window, undefined) {',
footer: '})(window);'
};
const fontsWasmTmp = 'fonts-wasm-tmp.js';
const fontsJsTmp = 'fonts-js-tmp.js';
const sdkMinTmp = 'sdk-min-tmp.js';
const sdkAllTmp = 'sdk-all-tmp.js';
const sdkWordTmp = 'sdk-word-tmp.js';
Expand All @@ -230,14 +226,6 @@ module.exports = function(grunt) {

grunt.initConfig({
concat: {
wasm: {
src: configs.fonts['wasm'],
dest: fontsWasmTmp
},
js: {
src: configs.fonts['js'],
dest: fontsJsTmp
},
wordsdkmin: {
options: optionsSdkMin,
src: getFilesMin(configWord),
Expand Down Expand Up @@ -288,11 +276,9 @@ module.exports = function(grunt) {
'--rewrite_polyfills=true', '--jscomp_off=checkVars',
'--warning_level=QUIET', '--compilation_level=' + level,
'--module=polyfill:1:', '--js=' + emptyJs,
'--module=fontswasm:1:polyfill', '--js=' + fontsWasmTmp,
'--module=fontsjs:1:fontswasm', '--js=' + fontsJsTmp,
'--module=word:1:fontswasm', '--js=' + sdkWordTmp,
'--module=cell:1:fontswasm', '--js=' + sdkCellTmp,
'--module=slide:1:fontswasm', '--js=' + sdkSlideTmp)
'--module=word:1:polyfill', '--js=' + sdkWordTmp,
'--module=cell:1:polyfill', '--js=' + sdkCellTmp,
'--module=slide:1:polyfill', '--js=' + sdkSlideTmp)
}
}
},
Expand All @@ -303,8 +289,6 @@ module.exports = function(grunt) {
},
src: [
emptyJs,
fontsWasmTmp,
fontsJsTmp,
sdkMinTmp,
sdkAllTmp,
sdkWordTmp,
Expand All @@ -319,15 +303,11 @@ module.exports = function(grunt) {
grunt.registerTask('license', 'Add license', function () {
const appCopyright = "Copyright (C) Ascensio System SIA 2012-" + grunt.template.today('yyyy') +". All rights reserved";
const publisherUrl = "https://www.onlyoffice.com/";
const fonts = '../common/libfont/';
const deploy = '../deploy/sdkjs/';
const word = path.join(deploy, 'word');
const cell = path.join(deploy, 'cell');
const slide = path.join(deploy, 'slide');
const polyfill = 'polyfill.js';
const fontsWasm = 'fontswasm.js';
const fontsJs = 'fontsjs.js';
const fontFile = 'fonts.js';
const wordJs = 'word.js';
const cellJs = 'cell.js';
const slideJs = 'slide.js';
Expand All @@ -354,8 +334,6 @@ module.exports = function(grunt) {

const concatSdk = {files:{}};
const concatSdkFiles = concatSdk['files'];
concatSdkFiles[fontsWasm] = [license, fontsWasm];
concatSdkFiles[fontsJs] = [license, fontsJs];
concatSdkFiles[getSdkPath(true, word)] = [license, polyfill, getSdkPath(true, word)];
concatSdkFiles[getSdkPath(false, word)] = [license, getSdkPath(false, word)];
concatSdkFiles[getSdkPath(true, cell)] = [license, polyfill, getSdkPath(true, cell)];
Expand Down Expand Up @@ -400,8 +378,6 @@ module.exports = function(grunt) {
]
},
files: [
{src: [fontsWasm], dest: path.join(fonts, 'wasm', fontFile)},
{src: [fontsJs], dest: path.join(fonts, 'js', fontFile)},
{expand: true, flatten: true, src: [getSdkPath(true, word), getSdkPath(false, word)], dest: word + '/'},
{expand: true, flatten: true, src: [getSdkPath(true, cell), getSdkPath(false, cell)], dest: cell + '/'},
{expand: true, flatten: true, src: [getSdkPath(true, slide), getSdkPath(false, slide)], dest: slide + '/'}
Expand All @@ -424,10 +400,10 @@ module.exports = function(grunt) {
'Images/reporter/*',
'Images/icons/*',
'Native/*.js',
'libfont/js/fonts.*',
'libfont/wasm/fonts.*',
'libfont/engine/*',
'spell/spell/*',
'hash/hash/*'
'hash/hash/*',
'zlib/engine/*'
],
dest: path.join(deploy, 'common')
},
Expand Down Expand Up @@ -459,8 +435,6 @@ module.exports = function(grunt) {
},
src: [
polyfill,
fontsWasm,
fontsJs,
wordJs,
cellJs,
slideJs
Expand Down
22 changes: 0 additions & 22 deletions build/build-builder.bat

This file was deleted.

34 changes: 0 additions & 34 deletions build/build-desktop.sh

This file was deleted.

2 changes: 1 addition & 1 deletion build/build.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CD /D %~dp0
call npm install -g grunt-cli
call npm install
rem call grunt --level=WHITESPACE_ONLY --desktop=true --formatting=PRETTY_PRINT
rem call grunt --level=WHITESPACE_ONLY --desktop=false --formatting=PRETTY_PRINT
call grunt --level=ADVANCED

pause
1 change: 0 additions & 1 deletion cell/.unit-tests/CopyPasteTests.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<link type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/qunit/2.16.0/qunit.css" rel="stylesheet" media="screen" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/qunit/2.16.0/qunit.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xregexp/3.2.0/xregexp-all.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.5.0/jszip.min.js"></script>


<script type="text/javascript" src="../../develop/sdkjs/cell/scripts.js"></script>
Expand Down
9 changes: 7 additions & 2 deletions cell/.unit-tests/CopyPasteTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
$(function () {

Asc.spreadsheet_api.prototype._init = function () {
this._loadModules();
};
Asc.spreadsheet_api.prototype._loadFonts = function (fonts, callback) {
callback();
Expand Down Expand Up @@ -61,16 +62,20 @@ $(function () {
};
AscCommon.baseEditorsApi.prototype._onEndLoadSdk = function () {
};
Asc.ReadDefTableStyles = function(){};


var sData = AscCommon.getEmpty();
var api = new Asc.spreadsheet_api({
'id-view': 'editor_sdk'
});
api.FontLoader = {
LoadDocumentFonts: function() {}
};
window["Asc"]["editor"] = api;
AscCommon.g_oTableId.init();
api._onEndLoadSdk();
api._openDocument(sData);
api.isOpenOOXInBrowser = false;
api._openDocument(AscCommon.getEmpty());
api._openOnClient();
api.collaborativeEditing = new AscCommonExcel.CCollaborativeEditing({});
api.wb = new AscCommonExcel.WorkbookView(api.wbModel, api.controller, api.handlers, api.HtmlElement,
Expand Down
16 changes: 16 additions & 0 deletions cell/.unit-tests/FormulaTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -3504,6 +3504,22 @@ $( function () {
assert.ok( oParser.parse() );
assert.strictEqual( oParser.calculate().getValue(), "#VALUE!" );

oParser = new parserFormula( "SEARCH(\"pe\",\"dEFabcdEF\",2)", "C2", ws );
assert.ok( oParser.parse() );
assert.strictEqual( oParser.calculate().getValue(), "#VALUE!" );

oParser = new parserFormula( "SEARCH(\"de\",\"dEFabcdEF\",2)", "C2", ws );
assert.ok( oParser.parse() );
assert.strictEqual( oParser.calculate().getValue(), 7 );

oParser = new parserFormula( "SEARCH(\"de\",\"dEFabcdEF\",0)", "C2", ws );
assert.ok( oParser.parse() );
assert.strictEqual( oParser.calculate().getValue(), "#VALUE!" );

oParser = new parserFormula( "SEARCH(\"de\",\"dEFabcdEF\",-2)", "C2", ws );
assert.ok( oParser.parse() );
assert.strictEqual( oParser.calculate().getValue(), "#VALUE!" );

testArrayFormula2(assert, "SEARCH", 2, 3);
} );

Expand Down
30 changes: 30 additions & 0 deletions cell/.unit-tests/open-oox-in-browser.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>Unit Tests</title>

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/qunit/1.11.0/qunit.css" rel="stylesheet" media="screen" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/qunit/1.11.0/qunit.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/xregexp/3.2.0/xregexp-all.min.js"></script>

<script type="text/javascript" src="../../develop/sdkjs/cell/scripts.js"></script>
<script type="text/javascript">
window.sdk_scripts.forEach(function(item){
document.write('<script type="text/javascript" src="' + item.substring('../'.length) + '"><\/script>');
});
</script>

<script type="text/javascript" src="open-oox-in-browser.js"></script>
</head>
<body>
<h1 id="qunit-header">stax-reader</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture">test markup, will be hidden</div>
</body>
</html>
Loading