Commit graph

3118 commits

Author SHA1 Message Date
Henry Castro
3e2d81f37b loleaflet: l10n of '%1 words, %2 characters' 2016-07-13 10:02:59 -04:00
Henry Castro
374c288800 loleaflet: l10n of 'Page %1 of %2' 2016-07-13 09:18:00 -04:00
Miklos Vajna
9d337fa1e0 ChildSession: no need to copy these function objects 2016-07-13 09:23:22 +02:00
Henry Castro
e5a6ea3421 loleaflet: l10n of '$1 rows, $2 columns selected' 2016-07-12 18:04:37 -04:00
Henry Castro
111c660d46 loleaflet: l10n of 'Sheet 1% of %2' 2016-07-12 16:54:49 -04:00
Miklos Vajna
ec0c49447f Admin: avoid unsigned long -> unsigned int coversion 2016-07-12 15:56:19 +02:00
Pranav Kant
fc5047e827 Use -isystem and remove conditional -Wshadow
Change-Id: Icee68e557a3a0634c2da7385e29d658ec4f6e905
2016-07-11 13:29:24 +05:30
Miklos Vajna
5523c48f3f ClientSession: fix -Werror=shadow 2016-07-11 09:45:10 +02:00
Miklos Vajna
07b6f0ce64 Update bundled headers 2016-07-11 09:22:47 +02:00
Miklos Vajna
990108d243 test: make check insist on a log file for skipped tests 2016-07-11 09:22:47 +02:00
Miklos Vajna
9304c4152d HTTPWSTest: disable failing test on LO >= 5.2 for now 2016-07-11 09:22:47 +02:00
Pranav Kant
4ecfb0da21 loolwsd: -Werror=shadow
Change-Id: Ic0bfead873ab7f0b9c177183c0f6d3179d097d96
2016-07-11 11:57:58 +05:30
Pranav Kant
a6187e6172 loolwsd: Reset document destroying states
These values are recalculated anyways now, when destroying the
document (See startDestroy())

Change-Id: Idfe4c48983556bb2b31ca0d6bf2ffcde84281a2d
2016-07-11 11:25:25 +05:30
Pranav Kant
06dc3fd1bc loolwsd: Give editlock correctly when adding a new session
This should be given to first editable(non-readonly) session.

Change-Id: I3b6e53df4b2450cc799c4b4e6a800f662d90a2c1
2016-07-11 11:25:20 +05:30
Pranav Kant
1265032896 loleaflet: Separate document URL from query params
Change-Id: I9b8381b8c0d92796aadabe0bc63e5a1b144f8b41
2016-07-11 11:24:19 +05:30
Pranav Kant
d18379adce loolwsd: Show only abbreviated message when reading from cache
Change-Id: I6d5c8984010e2917b9069df6ee3b0a28c678b297
2016-07-11 11:24:19 +05:30
Pranav Kant
62814d29cf loolwsd: Introduce a readonly mode
Specified when websocket is initialized. Documents once
opened in readonly mode cannot edit throughout the life of the session.
This is very much like present view mode except the ability to
change to edit mode.

Change-Id: I176e3bbf210c3383268d1a5b50dc17f0cbfb26b8
2016-07-11 11:24:16 +05:30
Pranav Kant
162619be72 loolwsd: Avoid such abbreviations
Change-Id: Id63c960e198b9c5d45026833a24d6330ca137d35
2016-07-11 10:23:29 +05:30
Pranav Kant
37b9226030 loolwsd: unused variable
Change-Id: I60d10e4390b7c114273f517fb66786861f37db60
2016-07-11 10:23:29 +05:30
Pranav Kant
3d306a0d7b loolwsd: Don't check canDestroy again
We do not need to check canDestroy again after removing the
session if sessionCount > 1, otherwise we end up with
force-saving also for the second last session.

Change-Id: Iea4736569d07d9b23f78b0f6407f78eca6090d67
2016-07-11 10:23:08 +05:30
Henry Castro
adf4369237 loolwsd: test: state changed UNO commands 2016-07-10 14:28:28 -04:00
Henry Castro
71efcf2b28 loleaflet: l10n of insert modes 2016-07-09 22:10:34 -04:00
Henry Castro
7137c9ef8e loleaflet: remove PageStyleName
It always return "Default"
2016-07-09 20:11:03 -04:00
Henry Castro
5905d25a41 loleaflet: fix state table cell
In cp-5.1 branch, the state table cell reports the string "Sum=0"
for empty cells, the client side splits the string with a separator '=',
so the status item shows "Sum".
2016-07-09 19:26:44 -04:00
Henry Castro
c6745cba8e loleaflet: l10n of selection modes 2016-07-09 18:07:55 -04:00
Miklos Vajna
3df68f3869 loolwsd: support CPPUNIT_TEST_NAME, similarly to core.git 2016-07-08 09:04:28 +02:00
Andras Timar
3d80e2a263 Write translation to json, even when translation is the same as original string
A bug was found: Slide was translated to Slide in pt_BR, while Slide was
translated to Diapositivo in pt. The identical translation was ignored,
and browser fell back to pt translation, which was wrong in pt_BR UI.
2016-07-07 22:53:48 +02:00
Ashod Nakashian
64741ebb87 loolwsd: dump calc tile for debugging purposes
Change-Id: Ie2d92026fb77a4f94d6434ec25fc10695118971e
Reviewed-on: https://gerrit.libreoffice.org/27022
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-07-07 20:27:34 +00:00
Ashod Nakashian
2c4efeb5f3 loolwsd: fix PreFork test
We could have up to 3 pipes and we should tollerate them
when testing for leaking FDs and pipes.

The 3rd is probably a file redirection.

Change-Id: I913072307646e62e1802587c9142b2eb8c9dd7bb
Reviewed-on: https://gerrit.libreoffice.org/27021
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-07-07 20:27:18 +00:00
Henry Castro
fdebaf6070 loleaflet: spreadsheet: add number format toolbar items 2016-07-07 14:03:30 -04:00
Miklos Vajna
2419df6e60 Update bundled headers 2016-07-07 19:21:57 +02:00
Ashod Nakashian
0d6cb541a3 loolwsd: better handling of bad requests
Change-Id: Ib1c4dee227275efc9b481f76b9d9892f98be61e7
Reviewed-on: https://gerrit.libreoffice.org/27017
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-07-07 16:50:51 +00:00
Ashod Nakashian
ac9c109581 loolwsd: logging
Change-Id: I458743348e2e163f917f0fe43cc340d72556021c
Reviewed-on: https://gerrit.libreoffice.org/26994
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-07-07 03:51:12 +00:00
Ashod Nakashian
bb9168096d loolwsd: test fixes
Change-Id: I927bab6c88c72247a7bf6fb73ae56e1ebc51cdbd
Reviewed-on: https://gerrit.libreoffice.org/26993
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-07-07 03:50:16 +00:00
Ashod Nakashian
42f857efe0 loolwsd: cleanup of testTileInvalidateCalc
Change-Id: Ic15d12f0b203244b3de1b80e97866f134efd82f7
Reviewed-on: https://gerrit.libreoffice.org/26992
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-07-07 03:49:31 +00:00
Ashod Nakashian
0eba4a17f8 loolwsd: remove unnecessary wait for invalidatetiles in tests
Change-Id: Ica79b995ef14fbf7d57e9ef435c87a84d854d5b8
Reviewed-on: https://gerrit.libreoffice.org/26991
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-07-07 03:49:07 +00:00
Ashod Nakashian
370c21f4b5 loolwsd: fix testTileInvalidateWriter
Change-Id: I701c348cbfe55f850bb2180b400020d1b1b01f31
Reviewed-on: https://gerrit.libreoffice.org/26989
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-07-07 03:35:43 +00:00
Henry Castro
4fb0869504 loleaflet: spreadsheet: add toolbaritems
Wrap Text
Merge and Center Cells
2016-07-06 14:38:17 -04:00
Henry Castro
e480aa86d6 loleaflet: spreadsheet: remove toolbar items 2016-07-05 14:03:55 -04:00
Pranav Kant
f3b263be27 loleaflet: Fix incorrect assignment
Assigning this._graphicMarker to visibleCursor leads to problems
as graphicMarker is not the same kind of object as visibleCursor.

Change-Id: Ic0aa1d7d2a8d11fa38a86e2c143342c9a16d507e
2016-07-05 20:56:16 +05:30
Pranav Kant
528707b334 loleaflet: Fire file chooser dialog even if same file is selected
OnInsertFile is triggered on onchange event, but this event is
not triggered if same image is choosen again from file chooser
dialog. Reset the value everytime so that onchange event is
always triggered.

Change-Id: I1efb76122b3a9437622754d28d0c55d4adbf32e8
2016-07-05 18:54:24 +05:30
Henry Castro
c7a655b54d loolwsd: doc: running unit tests 2016-07-04 15:38:21 -04:00
Henry Castro
5442be5208 loleaflet: add status bar items css loleaflet-font 2016-07-03 11:02:24 -04:00
Henry Castro
1a6b102469 loleaflet: remove status bar item 'Signature'
They always report the same value
2016-07-03 10:49:36 -04:00
Andras Timar
801c8f4676 loolwsd: command line config override should work in non-debug builds as well ;) 2016-07-03 16:43:47 +02:00
Henry Castro
c6af7d4a06 loleaflet: add status bar items for Impress 2016-07-03 10:33:22 -04:00
Andras Timar
c8144cdd01 loleaflet: Pull translations from Pootle 2016-07-03 13:08:25 +02:00
Henry Castro
dcf9839a0d loleaflet: add status bar items for Writer 2016-07-02 23:58:02 -04:00
Henry Castro
b3ff83251f loleaflet: replace '_' for ' ', to avoid ugly effect 2016-07-02 14:35:51 -04:00
Pranav Kant
0b8e9dedaf loolwsd: Print abbreviated message while saving to TileCache
Change-Id: I1f77062466e3672ce742b6a46e3c39b35ce70f31
2016-07-01 20:29:19 +05:30