Add CellCursorSection - not used yet.
Start using app.canvasSize variable.
Use simpleRectangle more.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I2cd4e23897c918679a0a385e1ca2d04117fd71c6
This allows to share code and provide unified interface
for functionality like: show/hide/enable/disable/insert item.
Also restricted mode is supported for all the items.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4a4e7ea43a993751b28f685544827d00b2b3668f
So we can type our messages, callbacks and better manage
where message is sent
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3290f5cf9bc08669353d3e71785baffc6fb07003
In order to handle commands in a more structured way.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: If7e2aed089cda1df59b2bf2b454b540d36391df0
It was part of the removed Vereign document signing feature.
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibe8a31102eaefcfba1898ad2f31226c24e12f330
I did the things necessary for TypeScript to stop complaining, as well
as additional modernizing things such as formatting and removing
L.Class.extend
Here's the full list:
- Update browser/Makefile.am with the new filename
- Fix any typescript errors that prevented compile
- Remove L.Class
- Factor out repeated types
- Tighten types to avoid functions leaking anys
Though not all of those steps are necessary, they are all useful, as
along the way TypeScript helped me to find and fix several times when I
had incorrectly inferred what the type should be
Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: I20d6580c53337909788b0517353c5852365b871d
- reuse MenuButton as base for colorControl
- add only last color indicator and activation on left side button
- make possible to clreate split button from unotoolbutton
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8cd20149cc5bc25bedf4e0b0c56fc93d53339f4b
Execute the 'prettier' command to check format code style.
Change-Id: I93e4a57e03d26627caa3b2c52ae44669a8723267
Signed-off-by: Henry Castro <hcastro@collabora.com>
The *.ts files in admin are transpiled typescript to *.js
so ignore the file to eslint again.
Change-Id: Icb5edbcc9d782562886c17453921979fd2dbdd2e
Signed-off-by: Henry Castro <hcastro@collabora.com>
- automatically handle html content
- fix dropdown cropped when close to the screen edge
and content is custom html (fixes#7578)
- automatically handle focus
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3187971f47295d699a18dbf5b8dd129e3a809991
it was introduced in 13bc532
and it was removed from use in 2f77b3a
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Iec401a9505491fe69196cdb1e7192fa499d3d38f
This will be a class for storing keyboard shortcuts in
a unified way. We can easily define shortcuts for different
languages so we don't have to write long if-statements
which can cause problems if done not very carefully.
Added tests protecting from regressions.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4dfa2d757eab4ecc1f21279e68d1ee97ae261dc5
I'm working on a set of patches to improve the userlist/following UI in
Collabora Online. Using typescript will allow me to be more certain
about the code I'm writing and make my code easier for other people to
understand.
Additionally, as I'm about to make significant changes to this file,
updating it to typescript now won't even damage the ability to blame too
much!
Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: Iccf64a01a465d895cbc1c24ad107f85665b5fbf3
This reverts commit c69e14a5dd.
The above commits causes document loading in the iOS app to
always fail. Even the animated loading graphic never appears.
I don't know why removing that .js file causes this behavior,
but I did see the following in the trace messages in Xcode.
To Online: load url=null accessibilityState=false lang=en-US
It appears that the JS code is sending a null URL to load.
Signed-off-by: Patrick Luby <guibomacdev@gmail.com>
Change-Id: I7af391c4a4fb0d3d363b7023a27d4fcf92f7a4b5
- move listener watching disabled state to separate file
- use also for listboxes, comboboxes, spinfields
- handle state in menubutton
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I841413f17abd6398a7e82496c3f20bdc52ab9514
This resolves the following Python warning.
unocommands.py:319: SyntaxWarning: invalid escape sequence '\('
f.write('''};
Also make sure the output depends on the script
Signed-off-by: Hubert Figuière <hub@collabora.com>
Change-Id: I11f1e028c9c132f4afc66f9b5a6137b478f00774
Unused in the package since:
commit 2def6dc3d5
Date: Sat Aug 27 17:49:50 2022 +0100
Switch to zstd image compression.
Change-Id: I785ad2c1522721ed34cf89a1922ee06d5e2507e4
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
so on failure remove the output so a second attempt doesn't appear
to succeed
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ibc1f7d46c2946cdc6a4dbcd6181872fb12e19fb6
with in in place the sizes are
-Os for core and online
du -h online.wasm 155M
-Oz for core and online
du -h online.wasm 145M
and a warning of:
em++: warning: running limited binaryen optimizations because DWARF info requested (or indirectly required) [-Wlimited-postlink-optimizations]
without gseparate-dwarf the sizes are:
-Os for core and online without -gseparate-dwarf
du -h online.wasm 133M
-Oz for core and online without -gseparate-dwarf
du -h online.wasm 119M
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I91586abe0e52f6de20d0f04636bb5a2be93d92be
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
presumably a regression from 158fe2f93:
Trying to init LOKit cause mysterious runtime error...
Change-Id: I28603a98a7c9015afc76d46a302a23ccf4ece261
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>