Commit graph

13764 commits

Author SHA1 Message Date
Szymon Kłos
0107e7feda notebookbar: improve readibility in Impress
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ic1f00d9b272d012fa9f2f5b6ccd076aba7d4f1eb
2021-01-09 16:22:56 +01:00
Szymon Kłos
8398f1a5a0 notebookbar: improve readibility in Calc
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie09740892a96ba3b3cf7a406e994d5f60e75ecb0
2021-01-09 16:22:56 +01:00
Szymon Kłos
dd3bffa540 notebookbar: improve readibility in Writer
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I32dd75967f70fac0fe7d399d44a4432fce12afc6
2021-01-09 16:22:56 +01:00
Szymon Kłos
014a2b412f notebookbar: improve readibility of JSON
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3bd732f254a17883378de38319283d689e82b1e6
2021-01-09 16:22:56 +01:00
Henry Castro
7b6a0fa904 loleaflet: fix remove child
Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?
    at NewClass.onRemove (src/layer/marker/Annotation.js:48:24)
    at NewClass.removeLayer (src/layer/Layer.js:83:10)
    at NewClass.onAnnotationCancel (src/layer/AnnotationManagerImpress.js:107:14)
    at NewClass.fire (src/core/Events.js:152:22)
    at NewClass._onCancelClick (src/layer/marker/Annotation.js:314:14)
    at HTMLInputElement.handler (src/dom/DomEvent.js:51:14)

Change-Id: Ib4a9f60d6b0685b80cdf1271f506692dffe19715
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-01-08 15:20:17 -04:00
Henry Castro
85912b9100 loleaflet: makefile: fix override recipe
Makefile:815: warning: overriding recipe for target 'dist/vex.css'
Makefile:815: warning: ignoring old recipe for target 'dist/vex.css'

Change-Id: I31083acc17b89df4f02bfbd55696725dc04f275d
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-01-08 15:19:50 -04:00
Pedro Pinto Silva
ac3b6f0947 Mobile: Calc: Misaligned text in Validity > Error Alert
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7866eed069857a9762c91d96407a710be3ae2187
2021-01-08 16:12:27 +01:00
Pedro Pinto Silva
fe2064b3ec Impress: Expose Insert Line on classic and NotebookBar mode
related: #1139
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iaa520f925eaf5808d7b1f9c3cf90bac0591c6640
2021-01-08 14:24:05 +01:00
Tamás Zolnai
7887056213 cypress: make: remove unneeded run_interactive_multi() funtcion.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ib6642b57a11d0ae181358fe74f0be48cbd65f774
2021-01-08 13:24:11 +01:00
Tamás Zolnai
1276580794 cypress: make: restructure and document desktop interference test functions.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I20c170a8da84191f333d7a9584ba073a3feebf40
2021-01-08 13:24:11 +01:00
Tamás Zolnai
45f1211899 cypress: make: restructure and document mobile interference test functions.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I5540d537672ff0384354d25a7c92111fa45fe927
2021-01-08 13:24:11 +01:00
Tamás Zolnai
ce43db6ec9 cypress: make: document multi-user test functions.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I304fc0e44c64f7eccf35f75f8eed6d9c1810bced
2021-01-08 13:24:11 +01:00
Tamás Zolnai
6672170932 cypress: make: remove unneeded '\' character.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ifb20a849e5f3e9115d6453eba63257d281cdbf9b
2021-01-08 13:24:11 +01:00
Tamás Zolnai
7fe262127e cypress: make: restructure and document run_multiuser_test() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ic4623cb89a97f32e88020c61996eddbe060e389e
2021-01-08 13:24:11 +01:00
Pedro Pinto Silva
b170601ff1 Writer: Expose Insert Line on classic and NotebookBar mode
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7a19e64a436f2007cc434b7046f87ff3bc048203
2021-01-08 12:31:16 +01:00
Tamás Zolnai
66282b1030 cypress: make: move this echos to the rigth place.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ic77663a9c3debbe39e34ba5575cda381fa4d70ef
2021-01-08 12:24:03 +01:00
Tamás Zolnai
31fee645fc cypress: make: restructure and document run_desktop_tests() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I1c8138ae400e25ab198ea10acf438813b2b7eb6a
2021-01-08 12:24:03 +01:00
Tamás Zolnai
54ff9bf7ad cypress: make: restructure and document run_interactive_desktop() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ib409f724a8a4214fb473c96cda37fa54cf626df2
2021-01-08 12:24:03 +01:00
Tamás Zolnai
5dbf5a9c56 cypress: make: restructure and document run_mobile_tests() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I41b1dd78fb98897b11fd03f3e9778011b4faaa31
2021-01-08 12:24:03 +01:00
Tamás Zolnai
7413a298e4 cypress: make: restructure and document run_interactive_mobile() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I9ebd5f765f37757c310e2963ddbc0ca9b55668fc
2021-01-08 12:24:03 +01:00
Tamás Zolnai
9796f47994 cypress: make: extract run_test_headless() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Id1592c418e54a50c06db1ecb5d8f106b95b2502e
2021-01-08 12:24:03 +01:00
Tamás Zolnai
5398ef8591 cypress: make: fix build failure caused by not expected parallel build.
By now 'make check-mobile' and 'make check-desktop' commands
are not supposed to run in parallel. So 'make check-mobile -j3'
won't run mobile tests in parallel (three tests at once).
However, before this commit running these make rules with more
jobs, led to build failure. With this commit the build does not
fail, but still ignores the jobs and run the tests on a single job.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I13e13fdefcfb393ae5a42b4e065bbfe00278236a
2021-01-08 12:24:03 +01:00
Tamás Zolnai
c665ea0a6f cypress: make: extract run_test_parallel() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I7d89abfc5d98c3db37fed7ac266d57af639cfe73
2021-01-08 12:24:03 +01:00
Tamás Zolnai
34b64a3106 cypress: make: extract run_interactive_single() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ie9a84cbdfa95d53dcbf63eb4387d6cdc89ad6769
2021-01-08 12:24:03 +01:00
Tamás Zolnai
bf0a547804 cypress: make: extract run_interactive_all() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I960f8271b92753d74bb338793a0d283a955ebffe
2021-01-08 12:24:03 +01:00
Tamás Zolnai
8c6a2da439 cypress: restructure makefile.
Too make it more organized.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Idf630df2813f6c7ce043b1f00db92105450ba814
2021-01-08 12:24:03 +01:00
Gökay Şatır
ea9f1cbb78 CanvasTileLayer: Fix image rendering.
There was a regression because of the recent improvements.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: If0b77349a65f2503b29de7ca5e967282c979b6bf
2021-01-07 20:17:17 +00:00
Gökay Şatır
ebfcbbd8a2 CanvasSectionContainer: Rename myProperties to sectionProperties.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I79b362f384315123468238a465e37692c7242546
2021-01-07 20:58:44 +03:00
Gökay Şatır
a34fc23e1f CanvasSectionContainer: Add mouse enter & leave events.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I09b66deebe21e4d4732525ff8ffa778dab99110c
2021-01-07 20:58:44 +03:00
Gökay Şatır
de9299a455 CanvasSectionContainer: Improve event handling.
Tested on mobile device and desktop. Event combinations are added.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I97087921c7cc4de292e8919bcc8a99fd86d27806
2021-01-07 17:10:00 +03:00
Gökay Şatır
5ebb4b0a23 CanvasSectionContainer: Add drawingOrder feature.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I531ef4cfb3c5820cab99f6b8861e687f44d38d33
2021-01-07 12:38:00 +03:00
Gökay Şatır
3da59be947 CanvasSectionContainer: Rearrange re-drawings.
Only a few events / functions trigger a redraw. Sections can trigger it when needed.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I49c1b2f52ffd2af9e2201cb500bd5ae06b49d6d4
2021-01-07 12:38:00 +03:00
Gökay Şatır
aa63de4554 CanvasTileLayer: Fix offset variable setting.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ie0796d045e477c00c4edb1efa49e6de0bf2f95bc
2021-01-06 22:53:02 +03:00
Gökay Şatır
acf63041ec CanvasTileLayer: Remove "clear" function.
CanvasSectionContainer clears drawing area.
Related code is moved inside _onTilesSectionDraw for offscreen canvases.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I7854992d35258624fbf07d0a51021acb67700348
2021-01-06 20:43:54 +03:00
Gökay Şatır
e5f22d5044 CanvasTileLayer: Remove unused event handler declarations.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ic2f37ad7cdb43465e79baa4e08b202f6c7028803
2021-01-06 20:43:54 +03:00
Gökay Şatır
c7b320587e CanvasSectionContainer: Rename drawing order to processing order.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I3061b9ffa56cbd455d7834ab76a953189c0b6dd3
2021-01-06 20:43:54 +03:00
Gökay Şatır
2f6c967aac CanvasSectionContainer: Make event handlers and myProperties optional.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I8eb9349510077b0ca847a46c5a3a475e86cb7dfe
2021-01-06 20:43:54 +03:00
Gökay Şatır
1b50295ed5 CanvasSectionContainer: Add event objects.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ie3b60e7fb72ad75bf6c963fcbc4b076b40dc8723
2021-01-06 20:43:54 +03:00
Gökay Şatır
2871e1d3b7 Control.Header: Bring non-shared functions from rows and columns into header class.
Rebased with master.
gitignore file is updated.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I07c9f8e38db0dce7b50238e2c013d3521091ab25
2021-01-06 20:43:54 +03:00
Gökay Şatır
30658a05a7 CanvasTileLayer: Debugging drawings are moved into sections.
Also calc grid drawing is moved into a section.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: If62528118d2abeea7d84a4d72b9aec5dda37c4ea
2021-01-06 20:43:54 +03:00
Gökay Şatır
9a02c2973a CanvasSectionContainer: Add get / set clearColor functions.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Iadd8158294c3cc89790be7af1c4e918f04e2e137
2021-01-06 20:43:54 +03:00
Gökay Şatır
ef38ca7ff9 CanvasTileLayer: Add tiles section.
There is no functional changes on tile rendering up to this commit.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I06fb9f9eeea2093df62ffbc5315524055b9f99c9
2021-01-06 20:43:54 +03:00
Gökay Şatır
4db1ed67cf CanvasTileLayer: Move related code into sectionManager.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I6e53750b613a138d937ae36a36f1ffdeadfef164
2021-01-06 20:43:54 +03:00
Gökay Şatır
a2afbf228c CanvasTileLayer: Image smoothing should be set for every frame or it doesn't work.
Also, we draw things without scale, no image manipulation is needed.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I11b914a995d305377dc5ec0aad9b2bae255127cc
2021-01-06 20:43:54 +03:00
Gökay Şatır
08f0d58328 CanvasTileLayer: Rename CanvasTilePainter to TileSectionManager.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Icd85687d288c57c585db17d7ae700b6312a2c905
2021-01-06 20:43:54 +03:00
Gökay Şatır
1d64c7e30f CanvasSectionContainer: Add parent section and onInitialize features.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I100379b7287740aa7260f6a437b4e0862c7c339f
2021-01-06 20:43:54 +03:00
Gökay Şatır
4c5253266b CanvasTileLayer: Remove commented code.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I368bb60c7942293904e9eca899bc153deb07c7ef
2021-01-06 20:43:54 +03:00
Gökay Şatır
aa6f6a793d CanvasTileLayer: Code about "flickering" is removed.
We will have mapsize = canvassize with this commit. Maybe  we can use this information for our advantage. Like for droping latlng conversions.
Also, CanvasSectionContainer needs true right and bottom bounds for placing sections.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I0700524fb5cfb574659be88b14c894981d632a79
2021-01-06 20:43:54 +03:00
Gökay Şatır
b0ef6b289e Adapt CanvasSectionContainer Resize() to CanvasTileLayer
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I06b6a2105ecda92a51dc22f3df625c440a76658a
2021-01-06 20:43:54 +03:00
Gökay Şatır
07c2f7dc67 Introduce CanvasSectionContainer class.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I69929595450c48ed45326c21743fbde3babc9803
2021-01-06 20:43:54 +03:00