Commit Graph

394792 Commits

Author SHA1 Message Date
Rishabh Kumar
b0db1f4c79 Make pattern preset preview resizeable
Change-Id: I24e46ca08993cb359eddade72cd9bc4fda4512ff
Reviewed-on: https://gerrit.libreoffice.org/27323
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-20 21:52:42 +00:00
Eike Rathke
d77081946f RegularExpressions and Wildcards are mutually exclusive, tdf#88581 follow-up
... so treat them as such.

This fixes the UNO API JunitTest that tries to enable RegularExpressions
with the now default enabled Wildcards config, which then overrode the
RegularExpressions when queried and returned false.

Change-Id: I85f7617a20d4cc392e1ce34bcb2d14792f6d4170
2016-07-20 23:13:49 +02:00
Rishabh Kumar
74aa685bf3 [GSoC] Redesign of Pattern tab
1. New Pattern Listbox for presets.
2. Context menu for Rename and Delete.
3. Rearrangement of controls.
4. Remove Save and Load buttons.

Change-Id: I7edaf2496837443967711a307c01cdba284270d0
Reviewed-on: https://gerrit.libreoffice.org/27352
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-20 20:26:04 +00:00
Rishabh Kumar
83a0ba1207 Add XPatternList to SvxPresetListBox
Change-Id: I39bbf28c4468123c853577f7d7e94d619ec7da3b
Reviewed-on: https://gerrit.libreoffice.org/27324
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-20 20:24:47 +00:00
Jan Holesovsky
356456a857 Simplify dynamic_cast followed by a static_cast.
Change-Id: I288f947fa74fd246dd07dd709fc8c20f72d89f86
2016-07-20 19:35:22 +02:00
Eike Rathke
4a2d67df5c Resolves: tdf#88581 default for new installations is Wildcards on
... and RegularExpressions off. So the default is interoperable.

Change-Id: I295429d1b0ad61d5e9564f10970270df78026893
2016-07-20 19:19:40 +02:00
Caolán McNamara
2aed0d49d7 Resolves: tdf#98778 fix parsing of exponents
regression from...

commit 9e9f39d171
Date:   Tue Mar 19 23:23:16 2013 +0100

    resolved rhbz#919020 Basic CDbl() and CSng() scan localized number

Change-Id: I96535fd9bc9ec59d6e07739a3118c96eb2d8bd05
Reviewed-on: https://gerrit.libreoffice.org/27342
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-07-20 15:55:01 +00:00
Eike Rathke
35595869d1 unit test for tdf#100637 nested IF in array context
Change-Id: I6f4e1ca61afeda4a2fbe249b3e0625280414afae
2016-07-20 17:16:43 +02:00
Eike Rathke
e54cd3fbf4 Resolves: tdf#100637 narrow down the JumpMatrix path finish condition
... so a pending path result is not prematurely discarded.

Change-Id: I87d58b0d242c3ece503e31a30aaf77150bb0f358
2016-07-20 16:53:22 +02:00
Caolán McNamara
d8e225304b Resolves: tdf#100845 exception during vcl painting -> std::terminate
GetText throws under the circumstances described in the bug where
the record is missing

Change-Id: I03b0ce9a19d93a7eb8842831b433b80a20628541
2016-07-20 13:17:53 +01:00
Caolán McNamara
8955a5e766 The thesaruses are in mythes format
Change-Id: Idf633d7d310c920ae605b7a1996d251352fad079
2016-07-20 13:17:53 +01:00
Miklos Vajna
6ea8084487 sd lok: decouple vcl window focus from cursor visibility
The problem was the the blinking cursor was hidden when another vcl
window got its focus, so it wasn't possible to edit two shape text in
parallel in two windows.

The code path is like this:

- show cursor, cursor is created: SdrObjEditView::SdrBeginTextEdit() ->
  OutlinerView::ShowCursor()
- show cursor, focus case: sd::FuText::Activate() ->
  OutlinerView::ShowCursor()
- hide cursor, cursor is deleted: SdrObjEditView::SdrEndTextEdit() ->
  OutlinerView::HideCursor()
- hide cursor, focus case: sd::FuText::Deactivate() ->
  OutlinerView::HideCursor()

So add a new optional bool parameter that allows not emitting the
LOK_CALLBACK_CURSOR_VISIBLE callback in the focus change case.

Also, if we're at it, make sure that painting emits no show/cursor LOK
callbacks.

Change-Id: I1068a1b1f5cd76fd09b5a79066834bfb0daebc77
Reviewed-on: https://gerrit.libreoffice.org/27335
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-20 10:04:50 +00:00
Xisco Fauli
ecb34112cc SVGIO: use clamp on strokeOpacity in case it's negative
testcase: painting-stroke-08-t.svg

Change-Id: Ia09a4581e5189cbb88aca4391474ada89e7af042
testcase: painting-stroke-08-t.svg
Reviewed-on: https://gerrit.libreoffice.org/27326
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-07-20 08:53:39 +00:00
Tomaž Vajngerl
33f48960c6 vcl: don't use the faster cairo code path when using OpenGL
Change-Id: Ia5f2fbf8765db4828338df4eb1f6d7405004e738
2016-07-20 17:34:46 +09:00
Tomaž Vajngerl
788e8e6f4b svx: rotate drawn (non-bitmap) handles with the object
Change-Id: Id0cad502fd99737a35d894109deae4f26df36d06
2016-07-20 17:34:46 +09:00
Takeshi Abe
1c81af2c18 Resolves: tdf#100903 Calc hangs when preediting Japanese with GTK plugin
... + Mozc.
This issue shares a common root with tdf#56937.

Change-Id: Ic5720c19f22f7e6b047e1251b34f90d04ce7eee7
Reviewed-on: https://gerrit.libreoffice.org/27305
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-20 08:18:27 +00:00
Caolán McNamara
b184c54a51 loplugin:vclwidgets
Change-Id: I0a762a0eaa6cc9dc2f3c41b456faf98b919181ba
2016-07-20 08:44:13 +01:00
Miklos Vajna
66204ffa44 libxmlsec: switch to using upstream 'compile' script
Upstream used to provide no such one, and it's needed for the macOS
build. Latest upstream release does provide one, no need to patch it.

Change-Id: I2c2350d0e074f58d13fedb0d72888dd24ac41f44
Reviewed-on: https://gerrit.libreoffice.org/27322
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-20 07:04:54 +00:00
Jochen Nitschke
86639b757b sc: remove CHAR_CR define
Change-Id: Ief0ef8916166d479e868fc56887aa788aae63260
Reviewed-on: https://gerrit.libreoffice.org/27327
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-20 06:44:52 +00:00
Caolán McNamara
f5f0758080 Revert "hack for now"
This reverts commit f5792667ca.

it turns out it was the use of an intermediate GtkGrid which made a11y work
a little differently under gtk3. Clearly not intended to be pushed.

Change-Id: I6931163e07ea413acdd45ba1353f357d317fdfbd
2016-07-19 23:38:14 +01:00
Caolán McNamara
8617010b85 Resolves: tdf#97404 outline space wrong on second level
Revert "tdf#42788: FORMATTING - Numbering/ordered list"

This reverts commit 6517141b62.

https://gerrit.libreoffice.org/#/c/23006/ was apparently
intended to revert this, but it never was

Then there was https://gerrit.libreoffice.org/#/c/23427/
which was an attempt to improve it but it was abandoned

Then there was https://gerrit.libreoffice.org/#/c/23542/
whichw as another attempt to improve it, but it was too
abandoned.

all of which leaves us worse than when we started with
a pile of unhappy abandoned efforts and cruddy indent

Change-Id: I8b3666a957339030d5a946a2b387f452e7fb0099
2016-07-19 22:33:34 +01:00
Caolán McNamara
f5792667ca hack for now
Change-Id: I62673e60ac8785c74fc4f97ad76bcb02c7e28941
2016-07-19 22:33:34 +01:00
Jan Holesovsky
1fe71ce42e Simplify dynamic_cast followed by a static_cast.
Change-Id: I615100fcdcc1bb6e461ecc1f8bdcef301cd68615
2016-07-19 20:33:38 +02:00
Rishabh Kumar
ea96d97020 tdf#100907: Cannot set white background for hatching
Change-Id: Id10cb4d90a19717b44d02064eb69981c69a421de
Reviewed-on: https://gerrit.libreoffice.org/27258
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-19 18:32:47 +00:00
Rishabh Kumar
1d60208813 Fix regression : Automatic gradient steps in gradient tab
Adds a checkbox for enabling/disabling automatic gradient steps.

Change-Id: I223279ec0f23f20f3ff544072cc7fd8662946296
Reviewed-on: https://gerrit.libreoffice.org/27269
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-19 18:25:14 +00:00
Rishabh Kumar
da4c58551c [GSoC] Redesign of Gradient tab
1. New Gradient Listbox for presets.
2. Context menu for rename and delete.
3. Rearrangement of controls.
4. Remove Save and Load buttons.

Change-Id: Id6aa0daa7c9304bb6a383ce0db95a4a7a060695e
Reviewed-on: https://gerrit.libreoffice.org/26954
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-19 18:21:50 +00:00
Christian Lohmaier
bd894e5a7b update credits
Change-Id: Ie49cfb83d86e85b593958fc4048022f71c351267
2016-07-19 19:12:13 +02:00
Christian Lohmaier
307e581491 update emoji autocorrect files from po-files
Change-Id: I0a4a5426c4ae2a0145420c273d2bfbb88074dc9d
2016-07-19 19:12:13 +02:00
Akshay Deep
ecb096841a Add Noto Emoji font for emoji support
Change-Id: I57cc123ec5e1f90967e82a60fdea792974054f86
Reviewed-on: https://gerrit.libreoffice.org/26800
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-19 15:54:00 +00:00
Christian Lohmaier
3b6b0ea631 Updated core
Project: translations  80052aba6733db08b4b0124a0c8f2d8662c78713

update translations for 5.2.0 rc3

and force-fix errors using pocheck

Change-Id: I6dfc62f300cce7174ebc591146350da534cabebc
2016-07-19 15:47:37 +00:00
Miklos Vajna
3c425926d4 lokdocview: still allow view selections/cursors from other Writer views
Writer pages are exposed as parts, but it still makes sense showing
selections/cursors from other parts in that case.

Change-Id: Ic76d93291bde2d959c149cf2ef5eba7ed33a45e8
Reviewed-on: https://gerrit.libreoffice.org/27321
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-19 15:15:27 +00:00
Mohammed Abdul Azeem
3aa52d3682 GSOC - Handling namespace declaration missing case:
initialization parameter to FastParser will turn off
the namespace declaration missing exception. Test cases
have also been given to verify the same.

Change-Id: I4c3e02c7ad92d50e279f895ced53c78fc8f49b91
Reviewed-on: https://gerrit.libreoffice.org/27278
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-19 14:17:15 +00:00
Miklos Vajna
495cfa27c1 sc lok: notify other views about selection changes of multiple cells
A single cell is handled by the cell cursor, which was already handled.
This one takes care of the situation when multiple cells are selected.

Change-Id: I11b3045e4884ad9629655e2c05c16af83d21e7b2
Reviewed-on: https://gerrit.libreoffice.org/27318
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-19 13:53:41 +00:00
Caolán McNamara
e11e73ff02 simplify code now
Change-Id: Ic9fed523c9077f3e9efa2af00ac5f9e9071a0dc9
2016-07-19 14:26:51 +01:00
Caolán McNamara
d074b2728a Resolves: tdf#100909 artifacts in hole of polypolygon shape
regression from...

commit 1ca06ce59b
Date:   Tue Aug 5 16:11:21 2014 +0000

    Related: #i125349# moved clip enhancements to base clipping functionality

The "reversed" clipPolyPolygonOnRange path is the problem apparently. The case
in #i125349# uses the other clipPolyPolygonOnRange path. So for simplicity just
remove the branch that's causing trouble here.

Change-Id: Ia4c60ebc44a8c239c1a7d5c84e9b970c2885ff05
2016-07-19 14:26:51 +01:00
Michael Stahl
fbb3b60cdb xmloff: forms export: convert one xlink:href to relative
Mostly in forms directory the URLs are converted to relative via
exportRelativeTargetLocation(), but not in this one case on the
form:connection-resource element.  Let's make this consistent.

Change-Id: I9252d2686d04c273261b95966a5cf4e9bcbc0bca
2016-07-19 15:06:46 +02:00
Michael Stahl
c49b87ac14 xmloff: forms import: convert relative xlink:href to absolute
There is currently only one place in the forms directory that converts
relative hyperlinks to absolute on import, in
OURLReferenceImport::handleAttribute(), but there are other elements
that have xlink:href attribute as well, such as form:form.

The export of form:form xlink:href does convert absolute to relative,
in exportTargetLocationAttribute(), but if the model URL is actually
already relative it will be converted to absolute instead, oddly enough.
This leads to different absolute href attributes, depending on the
directory where the file is exported, as can be observed with e.g.
ooo95698-1.odt and fdo40634-2.odt.

Let's apply a big hammer and make all "href" attributes absolute on
import.

Change-Id: I39d05707f3a8a899c7bbde8d9c0e2bc006c39e12
2016-07-19 15:06:09 +02:00
Miklos Vajna
1ba00c2173 lokdocview: handle part number in view selections/cursors
This way we show view selections/cursors from other views only in case
the part number matches. Anything else looks buggy in Calc/Impress.

Change-Id: If3ecbfc4b05350606730319b1a570afc15fd9d0a
Reviewed-on: https://gerrit.libreoffice.org/27315
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-07-19 12:29:59 +00:00
Michael Stahl
7127cba643 desktop: simplify $(ENABLE_BREAKPAD) checks
Change-Id: Ibe2da6214b1f6555922313b22e2882a2ddb4b9e7
2016-07-19 14:25:40 +02:00
Michael Stahl
017f6fcf35 desktop: CppunitTest_desktop_app requires breakpad
Change-Id: I314fd2ba94ec6efdfecbc9694138a6410665163c
2016-07-19 14:25:40 +02:00
Stephan Bergmann
31623bb04a Missing @since tags
Change-Id: Ief16e1facfa9c2e2be5722b9261bcd83a1f7b9be
2016-07-19 14:10:48 +02:00
Caolán McNamara
7b86ff8c8a Revert "bump nss to 3.25"
This reverts commit f10b31c2fe.
2016-07-19 10:35:06 +01:00
Caolán McNamara
0d2a328ab0 use CAIRO_FILL_RULE_EVEN_ODD by default
as seen in tdf#100909 with gtk3 backend

Change-Id: I67a270a96df980489cd2cb37461b3bf88de4df03
2016-07-19 09:54:59 +01:00
Caolán McNamara
f10b31c2fe bump nss to 3.25
Change-Id: If99ee77bea40796cc56944724291a83068ff8198
2016-07-19 09:54:59 +01:00
David Tardon
a0d3168ee4 tdf#97195 make diamond transition work again
Change-Id: I28236dd0c7dbd4e1798055229b2db2d0101a493e
2016-07-19 10:51:00 +02:00
Stephan Bergmann
90576b9324 clang-tidy performance-unnecessary-value-param in vcl
Change-Id: I0b53c4bf5b4619cde357cf4eb432b153b1f7e6b5
2016-07-19 10:50:07 +02:00
Stephan Bergmann
454ab144c9 clang-tidy performance-unnecessary-value-param in sw
Change-Id: I6cd0d28dade01366b087aebff894b6f003d87b31
2016-07-19 10:49:54 +02:00
Stephan Bergmann
58806ee799 clang-tidy performance-unnecessary-value-param in sc
Change-Id: I1941c050a385e3a1020c5d2495471f5805c4c180
2016-07-19 10:49:48 +02:00
Stephan Bergmann
a293ff3414 clang-tidy performance-unnecessary-value-param in sal
Change-Id: I2931871fc80f52b79d070961a3709117d0a8fd3a
2016-07-19 10:49:40 +02:00
Stephan Bergmann
955c99d6eb clang-tidy performance-unnecessary-value-param in desktop
Change-Id: I1b1bf615c5afcb6e14929fde456c6b734be65414
2016-07-19 10:49:32 +02:00