Commit graph

386677 commits

Author SHA1 Message Date
Peter Foley
20a4b3a081 Properly ignore in-tree sdk and ndk
Change-Id: If8aa9647def6741ba01bd47c02d386c43abaf452
Reviewed-on: https://gerrit.libreoffice.org/21548
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-18 07:33:09 +00:00
Peter Foley
7228e5dc97 Fix cross-compilation with in-tree ndk/sdk
The build configure run tries to use the ndk as well.
Prevent this by only auto-detecting the ndk when cross-compiling.

Change-Id: I0c098a7ae3f34cd6210f1b6b14121f62ed892b13
Reviewed-on: https://gerrit.libreoffice.org/21547
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-18 07:31:47 +00:00
Peter Foley
3a079aec09 improve scp2 stamp messages
Change-Id: I62fcad499601ad4870d4fa875b29d01618236925
Reviewed-on: https://gerrit.libreoffice.org/21523
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-18 07:29:04 +00:00
Stephan Bergmann
93d6aef177 loplugin:unreffun
Change-Id: I1008a51abb3834a65aabfdf05370d9515a18c1e2
2016-01-18 08:28:54 +01:00
Stephan Bergmann
2bb1d4b79a Trade a little weaker test against loplugin:stringconstant
(what prompted writing that very fundamental test now anyway?)

Change-Id: I83884908f8f5b1e4d58575960c77b411183f2fbb
2016-01-18 08:18:52 +01:00
Chris Sherlock
cb20f46895 vcl: change Font::SetName() to Font::SetFamilyName()
Change-Id: I9b7bd1ec25955981ebcb9085579cbb9fbaa802d5
Reviewed-on: https://gerrit.libreoffice.org/21560
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-18 05:24:46 +00:00
Justin Luth
3b14cdf738 tdf#96685 - set initial focus of accessible editeng objects
signalIMDeleteSurrounding searches for the focused accessible object.
Since newly created accessible objects were not inheriting
the focus setting of their peer, the search returned nothing
until some event triggered the focus to be adjusted.

Change-Id: I92f980b4bbe741d8ce9196165eff51059c807a2b
Reviewed-on: https://gerrit.libreoffice.org/21002
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-01-18 04:31:17 +00:00
Justin Luth
d1bd4465be tdf#93637 TAB_OVER_MARGIN support for a few more cases
Extending nMaxRight when TAB_OVER_MARGIN compatibility is set and
the right tabstop goes beyond the right margin fixes PDF output
as well as certain cases of screen display.

Change-Id: Ida4b4f399f06670d9bdefdc21978adf19a81d53a
Reviewed-on: https://gerrit.libreoffice.org/19635
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-01-18 04:31:09 +00:00
Justin Luth
0d127baed7 tdf#91083 - .doc: emulate table keep-with-next paragraph
connect table with the following paragraph.  Move forward to a new page
together with the following paragraph if necessary.

Most of the added code allows the table to split if
all of the kept items do not fit on one page - allowing
the emulated table to match the layout of kept tables.

The only difference with .doc occurs when the table itself is larger
than one page.  In that case it ALWAYS starts a new page.  Although
it does not match .odt, it DOES match how MSWord handles that .doc.

Change-Id: Ic6f495c0dc5cd4e9f8029a8cec9e31b4fab4b20f
Reviewed-on: https://gerrit.libreoffice.org/20233
Reviewed-by: Justin Luth <justin_luth@sil.org>
Tested-by: Justin Luth <justin_luth@sil.org>
2016-01-18 04:30:59 +00:00
Stanislav Horacek
57997db737 Updated core
Project: help  19723e7abc12b4a1729cf4b854a7c84972a930ed

use precise name of Exchange Databases dialog

Change-Id: If6e18cb4d5865542a7e8612f0f9480ec5081e9b7
Reviewed-on: https://gerrit.libreoffice.org/21537
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk>
Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-01-18 01:26:18 +00:00
Stanislav Horacek
80373d82d0 Updated core
Project: help  4c090e76e96c60b3615ae6e706f070279c2c8a0b

adjust description of checkbox for register-true

Change-Id: I3c6faa3e91b62d40711d6581e3743f092ad98aa6
Reviewed-on: https://gerrit.libreoffice.org/21539
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk>
Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-01-18 01:19:19 +00:00
Stanislav Horacek
000df1832b Updated core
Project: help  a831bdbf95af21d99c310f985370ec948409312b

remove redundant tags

Change-Id: I6ab93a826bcc1b768dab40ee90824da6375d6b85
Reviewed-on: https://gerrit.libreoffice.org/21538
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk>
Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-01-18 01:07:41 +00:00
Chris Sherlock
28c96fc255 vcl: rename Font::GetName to Font::GetFamilyName
Change-Id: Ie20871a3078bf875c1782b7761d60591a9c9704f
Reviewed-on: https://gerrit.libreoffice.org/21529
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-17 23:35:37 +00:00
Maxim Monastirsky
69882b0ef8 Don't update the save icon on every keystroke
Change-Id: Iad6195ea8b082ca5e6c1a7e9fa48742ff2b495a6
2016-01-18 01:20:49 +02:00
Caolán McNamara
734cadff24 crashtesting: plain-text import allows liberal with the UTF-8 input
see ImplConvertUtf8ToUnicode which allows surrogates, so we need a non-liberal
utf-input there if we want to enfore non-liberal utf-output here.

Change-Id: I713818d7b6d79922d9b08f2b137a803384eccb65
2016-01-17 20:55:30 +00:00
Julien Nabet
74063b259e cppcheck: fix 2 variableScope reports in sc
Change-Id: Iea1f8b851d3d9b5c9b22165f1a33e124212d8e80
Reviewed-on: https://gerrit.libreoffice.org/21535
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-01-17 15:32:16 +00:00
Matúš Kukan
15a43283b8 sax: use CPPUNIT_ASSERT_THROW
Change-Id: I34b0b559a91e77cc497e14d8ffad7e2c80e43d79
Reviewed-on: https://gerrit.libreoffice.org/21531
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-01-17 14:30:34 +00:00
Julien Nabet
1570957ff9 cppcheck: fix 2 variableScope reports in editeng
Change-Id: Ic87c5b1d8f96b7f25ce323a49455d1ac16d1bf86
Reviewed-on: https://gerrit.libreoffice.org/21533
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-01-17 13:53:44 +00:00
Julien Nabet
ecef63a9a0 tdf#97196: Slide transition, fix some variant names
For Cover, Uncover and Diagonal

Change-Id: If382287429c178b96d5a2f33d1224807f7382a05
Reviewed-on: https://gerrit.libreoffice.org/21527
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-01-17 10:29:07 +00:00
Ricardo Palomares
5486688f87 Updated core
Project: dictionaries  0d3b5e5314e68c3cf5d573b2e7bdc11143dcb821

Bring shipped Spanish dictionary up to version 2.0

Change-Id: Iecc9e2d62bd72fa5cdcafe6f04343c611b056cff
Reviewed-on: https://gerrit.libreoffice.org/21522
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-01-17 08:45:12 +00:00
Emmanuel Gil Peyrot
7cca8d3b3f slideshow: Add some volume to the Honeycomb hexagons, making them look better
Change-Id: Ic0f62f36faccb65ab4fbc7bb5553d096a2658f96
2016-01-16 20:52:30 +01:00
Emmanuel Gil Peyrot
0fe5a3069b slideshow: Tweak a few constants to make Glitter and Honeycomb look nicer
Change-Id: I5dd15f3d483caaedbf58a7ad12bf24798694524f
2016-01-16 20:52:29 +01:00
Adolfo Jayme Barrientos
e830c7f7c0 tdf#97192 “Capacity” is a weird term for “size”
Also, rename “size” to “dimensions” so as to avoid repetition.

Change-Id: Ide933e7ccd0cb50be56573ef96afad0b858413cf
2016-01-16 12:50:31 -06:00
Norbert Thiebaud
45654a1d4d revert vcl patch series that brok Mac and Windows
revert:
9bc2f3de86
 vcl: add comment about ImplFontMetric::{Get|Set}LineHeight()
26371f105b
 vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic()
2dd0b43173
 vcl: font.hxx and metric.hxx cleanup, make ctors explicit and the dtor virtual
5ab13bf3ea
 vcl: tabify font.hxx
f99550dae5
 vcl: change Font::SetName() to Font::SetFamilyName()
2b297116cb
 vcl: rename Font::GetName to Font::GetFamilyName

Change-Id: I23f38921187d66b970ca815eb30dda4222a2da62
2016-01-16 12:20:45 -06:00
shubhamtibra
5d4f1f6f63 tdf#96949 Remove global static variable m_bPreferrFirstInterceptor and unused code
Remove global static variable "m_bPreferrFirstInterceptor" which is always true,
and remove the ifs where it is false.

Change-Id: I54dcea7a6010c825a66020ec3f7448bb32d120b8
Reviewed-on: https://gerrit.libreoffice.org/21519
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-16 17:55:31 +00:00
Matthias Freund
ae33a9f9eb SIFR new icon for savemodified indicator
Change-Id: Id1db532103c97a09c72120a79b46edbc98af4882
Reviewed-on: https://gerrit.libreoffice.org/21514
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-16 17:43:14 +00:00
Arnaud Versini
3a97b3619a BASIC : Remove useless virtual function override
Change-Id: I0f8e480bf73256e7f1284e11983cc70c0426172c
Reviewed-on: https://gerrit.libreoffice.org/21513
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-16 17:08:46 +00:00
Xisco Fauli
cb71841a31 tdf#78431: Clean up pFrame parameter in ImplWindowFrameProc
Change-Id: I441c1b89a975fa7d31094e66ef3ccad37ce40818
Reviewed-on: https://gerrit.libreoffice.org/21497
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-16 17:07:36 +00:00
Arnaud Versini
1ae5ceccb8 BASIC : Remove useless methods in StarBasic
Change-Id: I9e8ce92b967ee9c9485b7af15280f6a212ff599d
Reviewed-on: https://gerrit.libreoffice.org/21498
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-16 17:06:26 +00:00
Chris Sherlock
9bc2f3de86 vcl: add comment about ImplFontMetric::{Get|Set}LineHeight()
Change-Id: I0cb13cdfbff3bfda13c08cd34a0032121500b4a3
Reviewed-on: https://gerrit.libreoffice.org/21518
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16 16:17:14 +00:00
Chris Sherlock
26371f105b vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic()
This brings FontAttributes into line with ImplFont and Font, which is
important to the refactoring work I am doing.

Change-Id: I2a2ca2f18fc7b5be45d6f350c0328fad62bf2bc9
Reviewed-on: https://gerrit.libreoffice.org/21517
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16 16:16:19 +00:00
Chris Sherlock
2dd0b43173 vcl: font.hxx and metric.hxx cleanup, make ctors explicit and the dtor virtual
Change-Id: Iab0160bdf664689404ff6fd093b51c0b4d2c4f10
Reviewed-on: https://gerrit.libreoffice.org/21512
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16 16:14:01 +00:00
Chris Sherlock
5ab13bf3ea vcl: tabify font.hxx
Change-Id: Iffe94aa2ff007d7361af7166f489ebfdb7593fc1
Reviewed-on: https://gerrit.libreoffice.org/21511
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16 16:13:32 +00:00
Chris Sherlock
f99550dae5 vcl: change Font::SetName() to Font::SetFamilyName()
Change-Id: I54a4036544c680c4a49607677af776aa7a433fbc
Reviewed-on: https://gerrit.libreoffice.org/21510
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16 16:12:14 +00:00
Chris Sherlock
2b297116cb vcl: rename Font::GetName to Font::GetFamilyName
Change-Id: I83927e0992dfe0a2a79d139818a9f45d3761aae5
Reviewed-on: https://gerrit.libreoffice.org/21509
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16 16:11:28 +00:00
David Tardon
7d93bb8fcb build liblangtag as shared lib on linux and OS X
Change-Id: I3ae138d1a06d22be42a3cd6f565fba6950208fc6
2016-01-16 16:24:43 +01:00
David Tardon
2653ffec08 drop superfluous dependency
Change-Id: Id105284fae75945c4c054fcac8c6390a4a62f1e1
2016-01-16 16:24:43 +01:00
Peter Foley
6240b6b176 Fix ODR Violations under LTO
/home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:162:7: warning: type ‘struct SlideshowImpl’ violates one definition rule [-Wodr]
 class SlideshowImpl : private ::cppu::BaseMutex, public SlideshowImplBase
       ^
/home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:162:7: note: a different type is defined in another translation unit
 class SlideshowImpl : private ::cppu::BaseMutex, public SlideshowImplBase
       ^
/home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:334:28: note: the first difference of corresponding definitions is field ‘mpShowWindow’
     VclPtr<ShowWindow>     mpShowWindow;
                            ^
/home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:334:28: note: a field of same name but different type is defined in another translation unit
     VclPtr<ShowWindow>     mpShowWindow;
                            ^
/home/peter/libreoffice/include/vcl/vclptr.hxx:75:7: note: type name ‘VclPtr<sd::ShowWindow>’ should match type name ‘VclPtr<ShowWindow>’
 class VclPtr
       ^
/home/peter/libreoffice/include/vcl/vclptr.hxx:75:7: note: the incompatible type is defined here
 class VclPtr
       ^
/home/peter/libreoffice/sd/source/ui/slideshow/slideshowviewimpl.hxx:166:7: warning: type ‘struct SlideShowView’ violates one definition rule [-Wodr]
 class SlideShowView : public ::comphelper::OBaseMutex,
       ^
/home/peter/libreoffice/sd/source/ui/slideshow/slideshowviewimpl.hxx:166:7: note: a different type is defined in another translation unit
 class SlideShowView : public ::comphelper::OBaseMutex,
       ^
/home/peter/libreoffice/sd/source/ui/slideshow/slideshowviewimpl.hxx:232:45: note: the first difference of corresponding definitions is field ‘mpSlideShow’
     SlideshowImpl*                          mpSlideShow;
                                             ^
/home/peter/libreoffice/sd/source/ui/slideshow/slideshowviewimpl.hxx:232:45: note: a field of same name but different type is defined in another translation unit
     SlideshowImpl*                          mpSlideShow;
                                             ^
/home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:162:7: note: type ‘struct SlideshowImpl’ should match type ‘struct SlideshowImpl’ that itself violate one definition rule
 class SlideshowImpl : private ::cppu::BaseMutex, public SlideshowImplBase
       ^
/home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:162:7: note: the incompatible type is defined here
 class SlideshowImpl : private ::cppu::BaseMutex, public SlideshowImplBase
       ^

Change-Id: Ibbb7fb6f35f7e2771aef78a38fc4b6adef131845
Reviewed-on: https://gerrit.libreoffice.org/21503
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-16 10:56:12 +00:00
Peter Foley
a7bdc9daa8 Fix set but unused variable warning
Change-Id: I23fb9abf2b9462c939d4d9caf699e48ffded3bb4
Reviewed-on: https://gerrit.libreoffice.org/21505
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-16 10:54:46 +00:00
Peter Foley
659526a336 Fix ODR violations when compiling with LTO
/home/peter/libreoffice/sd/source/ui/controller/slidelayoutcontroller.cxx:84:8: warning: type ‘struct snewfoil_value_info’ violates one definition rule [-Wodr]
 struct snewfoil_value_info
        ^
/home/peter/libreoffice/sd/source/ui/controller/displaymodecontroller.cxx:71:8: note: a different type is defined in another translation unit
 struct snewfoil_value_info
        ^
/home/peter/libreoffice/sd/source/ui/controller/slidelayoutcontroller.cxx:86:16: note: the first difference of corresponding definitions is field ‘mnBmpResId’
     sal_uInt16 mnBmpResId;
                ^
/home/peter/libreoffice/sd/source/ui/controller/displaymodecontroller.cxx:73:17: note: a field with different name is defined in another translation unit
     sal_uInt16  mnId;
                 ^

Change-Id: Ic5f5354424188a0889e842e80cb70dd90ecaeff3
Reviewed-on: https://gerrit.libreoffice.org/21504
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-16 10:52:37 +00:00
Bjoern Michaelsen
394895de8c use a map for dispatch
Change-Id: I29c88c834a01f8d04a2998ea3edfa95cd0cadb85
2016-01-16 11:03:07 +01:00
Bjoern Michaelsen
ec5e17c4c8 remove bDone band-aid
Change-Id: I7c4783ab70e7456d30ee86bb1c415e6d54df3285
2016-01-16 11:03:07 +01:00
Bjoern Michaelsen
1cdedb290a refactor out to limit scope: RES_PARATR_NUMRULE
Change-Id: Iecea747a436de1afe529e024974006a256aa5f5a
2016-01-16 11:03:06 +01:00
Bjoern Michaelsen
6766760e86 refactor out to limit scope: RES_PARATR_DROP
Change-Id: I8813b5676504e6de2af70d181fa9e905538fb05c
2016-01-16 11:03:06 +01:00
Bjoern Michaelsen
209030f9fb refactor out to limit scope: RES_TXTATR_CJK_RUBY
Change-Id: I02b37ead4f930a91f9e8c6d472ffe0d2991bb78f
2016-01-16 11:03:05 +01:00
Bjoern Michaelsen
b9f67808ab refactor to limit scope: SID_SWREGISTER_COLLECTION
Change-Id: I67c259f4da968b9decc4ac95195864a28283d1b5
2016-01-16 11:03:05 +01:00
Bjoern Michaelsen
8aa26b634b refactor to limit scope: FN_UNO_CATEGORY
Change-Id: I15ccdcf7c56a9677fb01646cad96e7c7d9ba7cd4
2016-01-16 11:03:05 +01:00
Bjoern Michaelsen
84da06858c reafctor out to limit scope: FN_UNO_PARA_STYLE_CONDITIONS
Change-Id: Id1d5afee85d54c48e2cd14d9604cbbae4b0b8fc2
2016-01-16 11:03:04 +01:00
Bjoern Michaelsen
cad3c33af1 refactor out to limit scope: FN_UNO_IS_AUTO_UPDATE
... also check type of args and throw if it doesnt match

Change-Id: Ic7a45aeab58b79abf3baee4bd3bf6f78fe3fa116
2016-01-16 11:03:04 +01:00
Bjoern Michaelsen
3f6f4ebc6f refactor out to limit scope: RES_TEXT_VERT_ADJUST
Change-Id: I030c6854e925c2a51b8c40de38e889a96c5ae32d
2016-01-16 11:03:04 +01:00