Commit Graph

392107 Commits

Author SHA1 Message Date
László Németh
785e530e83 fix bad index/assertion failure with line ending autocorrect patterns
Test case: type "->" and press Enter in a new en-US text document.
Result: crash or missing replacement of the arrow.

Change-Id: I052ae868b6fe0b1e5557c40471d31a20bd1e5ca9
2016-05-21 02:49:27 +02:00
Takeshi Abe
31cfb24237 starmath: These functions are used in local only
Change-Id: I603be0a0890844019700f402ae79203ddc86c952
Reviewed-on: https://gerrit.libreoffice.org/25186
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-05-21 00:34:53 +00:00
Thorsten Behrens
27b6cdb5ab framework: avoid excessive queryDispatch calls
Make better use of the css::frame::XInterceptorInfo interface, to avoid
calling queryDispatch() pointlessly on interfaces that have explicitely
opted out. Since that already broadcasts which urls we're interested in
- so just don't bother calling entries who are not matching.

Change-Id: Id5e780568fd60c38f4cee4ee800d747d65a31dae
Reviewed-on: https://gerrit.libreoffice.org/25214
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-05-20 23:44:02 +00:00
Eike Rathke
ccf9922644 document findings on external range reference handling
Change-Id: Ib9f3bdb41d8fc8b3c370508675b39a331f5ba0a1
2016-05-21 00:21:23 +02:00
Eike Rathke
01e76ceb2e handle external references in CompareMat() as matrix
Change-Id: I1ab606bd1df0cea8ebbc14f70702423506bb8c70
2016-05-21 00:21:22 +02:00
Stanislav Horacek
e222946ce8 add missing spaces to list of formats
Change-Id: Ibecec5a7a0c3f6f0eaf258ad6dbf66869d59e975
Reviewed-on: https://gerrit.libreoffice.org/25225
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-05-20 21:46:02 +00:00
Stanislav Horacek
168648e9dc remove double space in string of Slide Background content panel
Change-Id: Ia3b8ec61bcf92e297b3650ba3617eb2f0580b7fc
Reviewed-on: https://gerrit.libreoffice.org/25224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-05-20 21:44:33 +00:00
Zdeněk Crhonek
b0c1f7c7ad add dcounta test case
Change-Id: If6f7a21d2a80e07d14c011bd5cf8978e287ec4fc
Reviewed-on: https://gerrit.libreoffice.org/25199
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-20 20:34:29 +00:00
Eike Rathke
34e70369f5 unit test for unresolved external references, tdf#93101
Change-Id: I02d948206aeba56a8d825646eeef0fcbf6e9b505
2016-05-20 22:15:29 +02:00
Eike Rathke
9512dd16c9 handle svExternalDoubleRef just the same as svMatrix in MATCH
Change-Id: Ibd2b6fcc2be85948a7e228494e4e388e79c1e9ab
2016-05-20 19:57:46 +02:00
Olivier Hallot
ca2f7eb2d7 Fix CopyPasta in MAXIFS range description
Change-Id: Ibbf97ec006f1fbe95eff189035b0ee4c70f5586d
Reviewed-on: https://gerrit.libreoffice.org/25205
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-05-20 17:36:11 +00:00
Eike Rathke
ccc49b79a8 use vector replication for single row/column arrays
... also in GetStringFromMatrix() and GetDoubleOrStringFromMatrix(), not only
in GetDoubleFromMatrix().

Change-Id: Idb4bd7d7ed7574cf80d2998d1e5bfa5a6015b833
2016-05-20 18:45:24 +02:00
Miklos Vajna
b4c53a6eae Updated core
Project: help  f977f89d5e1bc34ef79f2d292e11c69fc22b2a7d

Initial classification bar documentation

Change-Id: Ieeff90ecf810e9e36e7f80815d57ccc0bc0e8067
2016-05-20 15:49:11 +00:00
Eike Rathke
981ff6dfd8 always use GetNewMat() in interpreter context instead of plain ScFullMatrix()
... so error handling interpreter is set and im-/mutable flagged
correctly.

Change-Id: I3e2647b6e4a4f4bcfdf7264d6942844941ea6c6b
2016-05-20 16:40:39 +02:00
Akshay Deep
ca040d16d0 New Template Manager
1. Save Mode removed from Template Manager
2. Context Menu for TemplateViewItems (Handled from LocalView for Local Repos)
3. 'showAllTemplates()' replacing 'showRootRegion()'
4. Filter Combobox for templates (Remembers filters also)
5. Search Filter (Synchronized with Filter ComboBoxes)
6. Removed Tabs from Template Manager
7. Removed Buttons from TemplateAbstractView
8. Unused GtkToolButtons removed
9. PushButtons in UI
10. Modal dialog for Import and Move (Works from "All Categories" now too)
11. ContextMenu for TemplateSearchView
12. Delete Categories(Folder) in Settings Menu
13. Save As Template Dialog

Change-Id: I88f6568c35271c17dbd7e6877d50119a8cfe4d60
Reviewed-on: https://gerrit.libreoffice.org/24545
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-20 13:54:17 +00:00
Eike Rathke
365c4d8c60 handle svExternalDoubleRef in all IS*() functions, tdf#93101 related
Change-Id: I48813de703ea926b8828f4e262393f7643216989
2016-05-20 15:06:56 +02:00
Eike Rathke
f053086fbc handle svExternalSingleRef in all IS*() functions, tdf#93101 related
Change-Id: I14181dd2dbb5d412e3dd165dcbf7468cb8ea8b21
2016-05-20 14:40:28 +02:00
Tor Lillqvist
c42be58e4c Show the certificate use also in the View Certificate dialog
Change-Id: I25ba55456be62307348eec529bfd434f8a90bac4
2016-05-20 15:20:28 +03:00
Tor Lillqvist
2be281097f Add SAL_INFOs of the list of system and physical cert stores
Change-Id: I5c232e72c4a7fc18bc0f7ea29a9c912bf71284ba
2016-05-20 15:20:28 +03:00
Noel Grandin
2cf9772a3e loplugin:refcounting
Change-Id: I5cb9297c44b076dfca2a37f234ba823ba217b507
2016-05-20 14:19:40 +02:00
Miklos Vajna
626f6cd534 Add initial CppunitTest_sfx2_classification
Change-Id: Id896d10b8e735b4c95e14863428e4061326c3fbc
Reviewed-on: https://gerrit.libreoffice.org/25193
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-05-20 12:09:28 +00:00
Xisco Fauli
f88cf9129d tdf#89329: use unique_ptr for pImpl in svx/
Change-Id: I6c252272feb9915b580b3525a606c26c19cbe773
Reviewed-on: https://gerrit.libreoffice.org/25114
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-20 11:45:12 +00:00
Noel Grandin
7cffe9dd64 Convert STATE to scoped enum
Change-Id: Id2bb63be495a50376dbaccf6eeb27a900fc2ac7b
2016-05-20 13:21:23 +02:00
Noel Grandin
1e470313b8 Convert TEXT_STATE to scoped enum
Change-Id: I86822b99c81f1e6f2cd6a117f15fdc3d20d18495
2016-05-20 13:19:43 +02:00
Noel Grandin
0593041d86 loplugin:unusedmethods in sfx2, SfxUnoControllerItem goes
Change-Id: Ibbae76b45da924e44fb91dcb3548106e8b908fbf
Reviewed-on: https://gerrit.libreoffice.org/25160
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-20 10:47:05 +00:00
Andrea Gelmini
dcea8c75d6 Fix typo in code
Change-Id: Idc46b1973afc1a3af5b48d53b0cec1a6bb924c92
Reviewed-on: https://gerrit.libreoffice.org/25184
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-05-20 10:28:11 +00:00
Gulsah Kose
b12354a2de tdf#87668 Add control to show or hide "Original Size" option.
Change-Id: I022ff86af2e480b061023aac50ff9f79fc6dbf9e
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/24263
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-05-20 10:20:34 +00:00
Eike Rathke
824cf01568 tdf#93101 handle svExternalSingleRef in ISERROR()
Change-Id: I9e2a4aeb16d6777153d2f47a1c1af68fe2e97780
2016-05-20 12:14:21 +02:00
Eike Rathke
2f94ff566f tdf#93101 correctly resolve svExternalSingleRef token in GetMatrix()
... including error propagation, and use GetNewMat() instead of a plain
ScFullMatrix so the interpreter error handling is set up.

Change-Id: I862c46f9afc2afd0bb2a23aa767158e0945583a5
2016-05-20 12:14:20 +02:00
Eike Rathke
7de92ad48d tdf#93101 propagate external reference error from refcache token
Change-Id: I90491a7b18fddaddb3bbb4d7a3f8b9555b9b1198
2016-05-20 12:14:19 +02:00
Katarina Behrens
b5245993c0 tdf#98852: Show text-specific effects when selection contains text
This regressed as effect list(s) moved to sidebar, text-specific
effects were simply always skipped even if it'd be relevant to
offer them in the given context

Change-Id: I2dc9cd360b462fb232573434da743e517661a6b8
Reviewed-on: https://gerrit.libreoffice.org/25190
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-05-20 10:02:52 +00:00
Noel Grandin
6c785f65ea fix KDE4 build
after 72edb696 "loplugin:unusedmethods in vcl"

Change-Id: I15d884b39b38da80bcf10ca81161d0dcb5683954
2016-05-20 11:05:21 +02:00
Noel Grandin
4a8caa37fe warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits
in VisualStudio

reported by Luke Benes

Change-Id: I908039750a3e89e4d1b77631f7d309191735c765
2016-05-20 10:58:57 +02:00
Miklos Vajna
5840c2787c sfx2 classification toolbar: set state of all listboxes on status change
With this the listboxes reflect the state of the document after load.
This also means that the only difference between the first listbox and
the remaining ones is the first one influences the UI as well, but
everything else is implemented.

Change-Id: Ibea0e2fbc431f7327342fd8c2a1d31c34b73d6a8
Reviewed-on: https://gerrit.libreoffice.org/25188
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-05-20 08:49:34 +00:00
Noel Grandin
72edb6967f loplugin:unusedmethods in vcl
also drops the CairoFontsCache ref-counting, since nothing was actually
using it.

Change-Id: If05ecb054b6b8d97b0d3010185cf23c28390ec04
Reviewed-on: https://gerrit.libreoffice.org/25105
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-20 08:07:53 +00:00
Noel Grandin
aad5eced79 convert SC_COMPILER to scoped enum
Change-Id: Ib8fdce056847b2b2514f61da18c106bb3e78631c
Reviewed-on: https://gerrit.libreoffice.org/25079
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-20 08:06:20 +00:00
Noel Grandin
fd6e86572a Convert ID_LEVEL to scoped enum
Change-Id: Icdb5f39329ddb94fc1a51e59c8ac99d2684f9cbc
Reviewed-on: https://gerrit.libreoffice.org/25164
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-20 07:56:07 +00:00
Noel Grandin
9bbd828f81 Convert PROP_FLAG to scoped enum
Change-Id: Ia08a22cffa07c6c3a82497671d0e246fc5aa88a0
Reviewed-on: https://gerrit.libreoffice.org/25163
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-20 07:55:53 +00:00
Noel Grandin
d09af095b5 remove more linking noise from VisualStudio build
Change-Id: Id6254b9b261e61e567ce3a557fa8e6cb30cfc3ae
Reviewed-on: https://gerrit.libreoffice.org/25155
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-20 07:55:41 +00:00
Noel Grandin
8a2149c105 clang-tidy misc-assign-operator-signature
Change-Id: I2953a88d9e2f5923732865ef17615d5928ac5f5f
Reviewed-on: https://gerrit.libreoffice.org/25154
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-20 07:55:30 +00:00
Miklos Vajna
1b89a57aa5 writerfilter: use '= default;'
Replace default bodies of these trivial special member functions. Also
remove RTFSprms::operator=() as it matches what the compiler would
generate anyway.

Change-Id: Ib5e30dfdd9b428a6d7800cec056c3f55ca92f4a4
Reviewed-on: https://gerrit.libreoffice.org/25187
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-05-20 07:34:53 +00:00
Andrea Gelmini
e02d087147 Fix typo in code
Change-Id: I71ede9bf7d3f7de236dd161f30b36f52efec2c56
Reviewed-on: https://gerrit.libreoffice.org/25185
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-05-20 07:25:28 +00:00
Miklos Vajna
cb69665923 sfx2 classification toolbar: add select handler to all listboxes
And also fill them up. With this, it's possible to set all policy types
in a document.

UI still reacts to the first listbox only, but File -> Properties shows
that the other types are also set correctly.

Change-Id: Ibf41ad7ea54819a4d149bce8e5f4d72b02f8d635
Reviewed-on: https://gerrit.libreoffice.org/25176
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-05-20 07:04:08 +00:00
slideon
7b704dfbdb Add test for checking the color of characters and paragraphs
check_change_color.py only checked for page-related colors previously.

Change-Id: I3b188db34c1f43ed6ed977f792615bb6646fbcce
Reviewed-on: https://gerrit.libreoffice.org/25183
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-05-20 05:43:31 +00:00
Eike Rathke
6821ad076c Resolves: tdf#83746 wrapAddress() didn't do what it was supposed to do
i.e. subtracted nMaxRow from MAXROW that is set for entire column
references, resulting in row 983040=1048576-65536, instead of doing a
modulo operation.

Also, entire column/row references are now untouched so they still
reference the entire column/row.

Note that in Excel BIFF8 an absolute addressing of row 1 and 65536 means
entire column, so B$1:B$65536 saved and reloaded results in B:B, which
may be unexpected.

Change-Id: Iae65d47ba937b9ade95e4ea1be98012b80e1c9db
2016-05-20 00:01:53 +02:00
Zdeněk Crhonek
195ad648cf add daverage test case
Change-Id: Ifec16ce8281c3f9d426784a8c3becdbc432831aa
2016-05-19 23:52:17 +02:00
Markus Mohrhard
1eb998f88e missing component for calc function test
Change-Id: I2584b2504d66ca345c2669ad0291dd13c186c594
2016-05-19 23:52:16 +02:00
Tor Lillqvist
3009c97aa3 loplugin:stringconstant
Change-Id: I30520ef862d5c925d1f5c236fb37aa719005bb49
2016-05-19 22:02:25 +03:00
Bjoern Michaelsen
a4ae9b147d tdf#75757: remove inheritance on vector (SwTableBoxes)
- move SwTableBoxes::GetPos(..) up to SwTableLine::GetBoxPos(..)
- SwTableBoxes is empty over plain vector then, make it an alias

Change-Id: I72420d4fe1042a713d3e82f3df66f18ccbfca3f6
Reviewed-on: https://gerrit.libreoffice.org/25166
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-05-19 18:51:35 +00:00
Tor Lillqvist
ad1a9797d1 Revert "loplugin:staticmethods"
Accidentally pushed.

This reverts commit c2aa62f443.
2016-05-19 21:14:16 +03:00