Commit Graph

386892 Commits

Author SHA1 Message Date
Stephan Bergmann
dda3fc05a2 Fix for Jenkins Gerrit Mac builds
...which choke on

  #pragma GCC diagnostic ignored "-Wpragmas"

Change-Id: I40100b43078320b79cb9e3d4e3fb369db0bed9fe
2016-01-21 07:57:44 +01:00
Xisco Fauli
e941434d98 tdf#85770 reuse variable instead of getting it again
Change-Id: I268fd695e4cfd91dc8aba2b098911dbd9cf02ad7
Reviewed-on: https://gerrit.libreoffice.org/21639
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-01-21 06:30:54 +00:00
Chris Sherlock
a5372932f7 vcl: add subsettable flag property functions to Font class
Added getter and setter for subsettable flag property to the
Font class.

See commit description in 8bfccd3a71 ("vcl: Create accessor
and mutator for font scaling in FontMetric") for reasoning behind
patch.

Unit test added to vcl/qa/cppunit/font.cxx to test this flag.

Change-Id: I2a66f1c4876698e1ffeaf260b2b43d5308b71191
Reviewed-on: https://gerrit.libreoffice.org/21651
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-21 06:22:48 +00:00
Chris Sherlock
078194f6d0 vcl: remove Font::GetFamily and Font::GetFamilyNoAsk (obsolete functions)
Change-Id: I345fe86b5cfe1dde1aa4082a7943e8a9f228fe03
Reviewed-on: https://gerrit.libreoffice.org/21649
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-21 06:22:28 +00:00
Chris Sherlock
5659b68be3 vcl: rename Font::GetFamily to Font::GetFamilyType
Change-Id: Ie427a43bd126dcdd89c6f66582736e67130f2254
Reviewed-on: https://gerrit.libreoffice.org/21633
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-21 06:22:01 +00:00
Chris Sherlock
abf04f6b0a vcl: add embeddable font property functions to Font class
Added setter and getter for embeddable font property to the
Font class.

See commit description in 8bfccd3a71 ("vcl: Create accessor
and mutator for font scaling in FontMetric") for reasoning behind
patch.

Unit test added to vcl/qa/cppunit/font.cxx to test this flag.

Change-Id: I7f4ddf09d4a122c7c335b017efcb95f1774ae0d8
Reviewed-on: https://gerrit.libreoffice.org/21650
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-21 06:20:39 +00:00
Chris Sherlock
6b65a0e83c vcl: tabify fontattributes.hxx
Change-Id: I309f900abc105d7bcdfbcef5a41eb41c59d62190
Reviewed-on: https://gerrit.libreoffice.org/21648
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-21 03:40:00 +00:00
David Tardon
e1367aaf7d disable test that suddenly eats GBs of memory
Regression since 62ea0ef842 "replace use
of basebmp in vcl entirely now".

Change-Id: I196d02c20c00c938c3e298eb1a0f89029581e704
2016-01-20 23:20:44 +01:00
Emmanuel Gil Peyrot
29bd6961a2 slideshow: Change quads into cubes in the Vortex transition
This makes Vortex require OpenGL 3.2 instead of 2.1.

Change-Id: I9438a37c2cf75e58eafc807ad1abaa22acb231b1
2016-01-20 22:45:04 +01:00
Eike Rathke
24b9f873a6 there's no reason to be sparing with new lines
Change-Id: Id8334694aec17ec61490460b0917514beebd94a3
2016-01-20 22:09:03 +01:00
Emmanuel Gil Peyrot
3b6f877370 slideshow: Relicense every shader of which I am the sole author to MPL
Change-Id: I921e52d8347f3b37030818711f979517eab690a8
2016-01-20 21:59:53 +01:00
Takeshi Abe
c13226bcc5 tdf#97247 Keep focus on merged cell at top-left corner
... when typing either UP or LEFT key.

Change-Id: I7bc0e7eb0cba322bcc26c35d0474ea558d3bdd6e
Reviewed-on: https://gerrit.libreoffice.org/21599
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-01-20 20:19:08 +00:00
David Tardon
24ecf7a5fa drop obsolete cruft
Change-Id: Ia9b9431252c010d910ed0e9461398651de1de260
2016-01-20 21:09:15 +01:00
David Tardon
f90f8329fe rhbz#1168757 propagate selected slides to print dialog
Change-Id: Icef119baffb8985ea0cb94d7e59f0daae88023ac
2016-01-20 21:09:14 +01:00
Caolán McNamara
16255e485e coverity#1326418 Dereference null return value
Change-Id: I5910518d0ae672232b00915a2437a5881dfa5f16
2016-01-20 19:08:34 +00:00
Caolán McNamara
13b1c4a684 coverity#1326388 Dereference null return value
Change-Id: Ifad565e1548a9564196bfcd7b77d81ebb97231f6
2016-01-20 19:08:33 +00:00
Caolán McNamara
960acbfdee coverity#1326387 Dereference null return value
Change-Id: I150d3df8926a547b8ecf4324303dc4520ee2e899
2016-01-20 19:08:33 +00:00
Eike Rathke
e172d2e300 nitpicks, tdf#96822 follow-up
Change-Id: Ic745433a870c70c09afa953a4ebef86f4363f9f4
2016-01-20 18:17:40 +01:00
Yogesh Desai
812ebe7952 tdf#96822 : Make cell contents left align when number formatting is text
Change-Id: I9754db93f4cf71a6001d5b3f39ee2bc2b01889cc
Reviewed-on: https://gerrit.libreoffice.org/21134
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-01-20 17:10:28 +00:00
Caolán McNamara
ca27812e67 logic inverted
thanks to noelg for noticing

Change-Id: I0e8bdb1e10bc8341b4f38d93c08ff77ea9aadf9b
2016-01-20 16:36:48 +00:00
Chris Sherlock
137c440ccd vcl: add built in font property functions to Font class
Added setter for built-in font property and IsBuiltInFontFlag to
Font class.

See commit description in 8bfccd3a71 ("vcl: Create accessor
and mutator for font scaling in FontMetric") for reasoning behind
patch.

Unit test added to vcl/qa/cppunit/font.cxx to test this flag.

Change-Id: I61ce33fe6ffb31be22c68ce8a94d0886ebdc8fcf
Reviewed-on: https://gerrit.libreoffice.org/21627
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-20 16:34:56 +00:00
Maxim Monastirsky
ad236a3e1b i#107205 Remove SfxDispatcher::Popup and SfxPopupMenuManager::Popup
Change-Id: I1a8bee75a2dbfb039ec32faf001b75b26ea1f3fe
2016-01-20 17:44:00 +02:00
Maxim Monastirsky
c5a1278fa2 tdf#93837 sw: Convert comment context menu to xml
Change-Id: If449bff057a78802ed0b74d75a3c1a8a23def31a
2016-01-20 17:44:00 +02:00
Maxim Monastirsky
405a00949c Drop unused defines
Change-Id: Iab5c64c38ae0fb38ae87721d82f6743c74f18841
2016-01-20 17:43:59 +02:00
Caolán McNamara
e220ba8610 Related: rhbz#1149116 collateEquals was set with OString::boolean
but extracted with toInt32()

since

commit c76cd71fe9

    fdo#41524: CUPS printing: use "collate" option when PDF is available

though actual reported problem works fine for me with default f23
configuration already, this looks suspicious however

Change-Id: I6fcb5df8039296c0e8b0fe931cb490396182de38
Reviewed-on: https://gerrit.libreoffice.org/21629
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-01-20 15:41:24 +00:00
Pranav Kant
070bfedb7c lokdocview: Center the widget inside the allocation
Change-Id: I8d7f8ffb1c5ddd07ccf7d56bdf0ccc866c927401
Reviewed-on: https://gerrit.libreoffice.org/21624
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Pranav Kant <pranavk@gnome.org>
2016-01-20 14:12:53 +00:00
Miklos Vajna
d4d2c7db76 libxmlsec: respect --enable-debug with GCC
So we compile using either '-O2' or '-O0 -g', instead of '-O2 -g' all
the time.

Change-Id: Iefc22f38be37ea876c713724657af460eb4c1606
2016-01-20 14:52:53 +01:00
Caolán McNamara
a484ef9ed1 Updated core
Project: help  6fadb77956def42d1bd221e2af10f68e53207b8a

spadmin is gone, call the link generic printer settings instead

Change-Id: I1694e75a277ff8df23454d8659b352a95233ff5e
2016-01-20 13:29:46 +00:00
Chris Sherlock
fd9aef666f vcl: gave ReadImplFont use ImplFont::SetFamilyType()
Change-Id: Iafbb33e0162f6e53e96bbde3b6275dfb25090dd5
Reviewed-on: https://gerrit.libreoffice.org/21623
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-20 13:24:54 +00:00
Xisco Fauli
406cdc2903 SVGIO: Add support to font-size keywords
Similar to 0cae9c32ce

Change-Id: Iac7a6bb30b36e51ea67a6c4f7b3421f480eeea57
Reviewed-on: https://gerrit.libreoffice.org/21542
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-01-20 13:10:42 +00:00
Chris Sherlock
ab6f809098 vcl: add more property functions to Font
Added increase and decrease quality functions to Font class, and
also charset mutator and accessor function.

See commit description in 8bfccd3a71 ("vcl: Create accessor
and mutator for font scaling in FontMetric") for reasoning behind
patch.

Unit test change in vcl/qa/cppunit/font.cxx:

- enhanced to check increase and decrease quality functions

Change-Id: I2f5970438f6ef1ad185163d5fdcec5bbc88912a4
Reviewed-on: https://gerrit.libreoffice.org/21622
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-20 11:40:01 +00:00
Caolán McNamara
e46baa9e04 coverity#1326457 Dereference null return value
Change-Id: I8bb949a364b3ccd9ccbec9a8275b505518e8f092
2016-01-20 11:08:43 +00:00
Caolán McNamara
b45de8782c coverity#1326464 Dereference null return value
Change-Id: I3100f2a9ea1362c6ace7caad4c3b6e59f7f4cb86
2016-01-20 11:03:40 +00:00
Caolán McNamara
24bfa15bd3 coverity#1326466 Dereference null return value
Change-Id: Iea0dc27bf32499e1f8b38d8a0e90cebe6ab8b31f
2016-01-20 10:59:34 +00:00
Caolán McNamara
5ccca93c1c coverity#1326467 Dereference null return value
Change-Id: If2491fb126f7392ed641087322a863736e7f4342
2016-01-20 10:56:11 +00:00
Stephan Bergmann
0eebf260b2 -Werror,-Wmismatched-tags
Change-Id: Iaab785834f6fecf0cb0f0af4fdc79a54d3068711
2016-01-20 11:04:46 +01:00
Stephan Bergmann
c8322b643a loplugin:stringconstant
Change-Id: I678c1fb7d5079dfb1d880e856a0d507f1c89b427
2016-01-20 11:02:04 +01:00
Caolán McNamara
40a6892660 coverity#1349701 Dereference before null check
Change-Id: If919191ac4629885c782e5da39be3c1ce7e4e3dd
2016-01-20 09:43:58 +00:00
Caolán McNamara
eeae9b08c5 coverity#1349702 Uninitialized scalar field
Change-Id: I487400962199ca043c487132d8bc222ed8816b01
2016-01-20 09:43:28 +00:00
Caolán McNamara
82cdcc392a can now drop external dependency vigra
Change-Id: I3babe33ab5be1c3521ccb8bee71239e3d8893a2f
2016-01-20 09:43:28 +00:00
Caolán McNamara
4ebe249104 drop basebmp entirely now
Change-Id: I534848c4be8eadf86b7f31ac742a80982405f56f
2016-01-20 09:43:28 +00:00
Caolán McNamara
62ea0ef842 replace use of basebmp in vcl entirely now
we're just using it to store bitmap data and to convert to
preferred destination format, so we can use the preexisting
vcl BitmapBuffer for that

Change-Id: I0e800956d95faddfafa53d2c48b09494a7a867c0
2016-01-20 09:43:28 +00:00
Miklos Vajna
d79075b306 xmlsecurity: import OOXML <SignatureComments>
This is the signature purpose on the MSO UI, our signature description.

Change-Id: I7609c427cded96249ccdec24cd9d43e3e99be3d9
2016-01-20 10:19:56 +01:00
Stephan Bergmann
12181e6e2f loplugin:passstuffbyref
Change-Id: Ic4d2e018f193525be00da03fc14e147d6b68257f
2016-01-20 10:02:46 +01:00
Miklos Vajna
3e58329130 sw: indentation fixes
Change-Id: I8b281b425483fb7fc3cf34e31533c2ddc1b03637
2016-01-20 09:36:06 +01:00
Miklos Vajna
2649b3b16f writerfilter: can use a plain instance for the row sequence here
Change-Id: Ic9211192310f6a5b36f4ee4637828d96d8f1f7b7
2016-01-20 09:36:06 +01:00
Noel Grandin
4ff5a55584 loplugin:unusedmethods
Change-Id: Ib2dc804f55d1a96ae01f2cf31b7d55956040a72e
Reviewed-on: https://gerrit.libreoffice.org/21603
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-20 08:13:51 +00:00
Stephan Bergmann
3179e8f7e6 external/firebird: Adapt to GCC 6
...which switched defaults from C++03 to C++14, so causes some errors now.

Curiously, the throw(std::bad_alloc) vs. throw-anything mismatch between the
global operator new replacements and the standard headers is OK for GCC only
when there is no further declaration in between the standard header and the
replacmenet definition.

Change-Id: Ib54727fecf4ad07426b811a9cc04b08ea80e59dc
2016-01-20 08:41:52 +01:00
Oliver Specht
23c2c7c9cb freeError function moved to the end of the list
Change-Id: I4aed102b25ddcd5f2e8fa03395e2ffd89c858bb9
Reviewed-on: https://gerrit.libreoffice.org/21619
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-01-20 07:41:17 +00:00
Chris Sherlock
c116aafe38 sw: (mea culpa) fix unostyle.cxx
Unfortunately in commit 2b297116cb I messed up whilst
doing a rebase via meld to incorporate my changes. This meant
that I overwrote changes made to
sw/source/core/unocore/unostyle.cxx.

Even more regrettably, my original changes missed making changes
in Windows and OS X builds as I pushed too quickly from within
gerrit, assuming that the build errors weren't caused by me.

These series of VCL changes I had made were quite rightly
reverted, and I worked towards fixing them up again - sadly my
ISP (iiNet) had connectivity problems so it took me some time to
even gain access to the repository to do the cherry-picks of my
previous commits so I could fix them up and resubmit them.

I honestly didn't notice that I had overwritten the changes in
unostyle.cxx previously, as I was so intent on fixing my errors
that this entirely passed me by. This unfortunately led to this
commit, where I overwrote the changes a second time:

28c96fc255

I was informed of this problem via the mailing list [1] which I
read the next morning immediately after I work up. I take full
responsibility and very much regret having made these mistakes.
This commit fixes the issue and I will take steps to ensure that
it doesn't occur again. I can reassure all that this was not
intentional, nor would I ever do such a thing on purpose - quite
frankly I'm mortified.

1. http://lists.freedesktop.org/archives/libreoffice/2016-January/072067.html

Change-Id: I336626059d4acd175669832950f3ed52b2539087
Reviewed-on: https://gerrit.libreoffice.org/21618
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-20 06:33:15 +00:00