Commit Graph

399021 Commits

Author SHA1 Message Date
Michael Stahl
eea709f67d poppler: build against libjpeg
Albert Astals Cid points out that --disable-libjpeg causes poppler to
use internal JPEG code instead, which is not actively maintained.

Add LIBJPEG_CFLAGS / LIBJPEG_LIBS to config_host.mk and patch poppler to
respect LIBJPEG_LIBS.

Change-Id: Id19a62a9bd9dc41fee5e8e43e2798e515aacc299
Reviewed-on: https://gerrit.libreoffice.org/30496
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-11-02 20:04:23 +00:00
Eike Rathke
092261ffd4 add missing gb_ExternalProject_use_externals, icu
Change-Id: Iaaa3363f315eb88f3be48e29bb82917695c3cfe0
2016-11-02 20:36:10 +01:00
Eike Rathke
6b36f33335 add missing dependency to gb_Library_use_externals, icu_headers
Change-Id: Ia414b02c52f73724df6829431d090a18e76baa68
2016-11-02 20:12:26 +01:00
Michael Stahl
3edb365f26 curl: upgrade to version 7.51.0
- fixes about a dozen CVEs
- tweak curl-7.26.0_win-proxy.patch:
  there is a "checksrc" thing now in curl that fails the build with:
    warning: use of strtok is banned (BANNEDFUNC)
  so use strtok_s instead (which is MSVC's name for standard strtok_r)
- use Makefile.vc12 instead of Makefile.vc10
- remove strequal.obj from Makefile.vc12, it does not actually exist

Change-Id: Ie2da64980d88c72b0c902376ffc01abf97a7bc91
Reviewed-on: https://gerrit.libreoffice.org/30484
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-11-02 19:11:14 +00:00
Eike Rathke
3e42714c76 upgrade to ICU 58
Change-Id: I4a992447df65b337721a2a2627d974172a14cba5
Reviewed-on: https://gerrit.libreoffice.org/30487
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-11-02 18:42:47 +00:00
David Tardon
b68ed30283 check only Column elements when computing column index
Change-Id: I4856227c05e97daefbae7e98c0e9d70f84e1a2b4
2016-11-02 19:33:33 +01:00
David Tardon
6f3642986f check only Row elements when computing row index
Change-Id: I3bd1b0749f8889cbd1d92a0edfa84d754e888f03
2016-11-02 19:33:33 +01:00
David Tardon
30e2171b6e rhbz#1390776 check only Row elements when computing row index
Change-Id: Ic5ef3971829597170acfdc0606b3c0f16c42be04
2016-11-02 19:33:32 +01:00
Jan-Marek Glogowski
079610f6ca KAB loplugin:unnecessaryoverride
Change-Id: I62e6f2488554df663e0ae6c72b6af9e2ec9976a1
2016-11-02 19:00:38 +01:00
Caolán McNamara
4b7435e31a let menu button launch arbitrary floating windows
and not just menus, this is like how the gtk equivalent can launch popovers

Change-Id: I53ae96aab0c51d75405dba15ab8080d7315471e3
2016-11-02 17:27:56 +00:00
Miklos Vajna
4f6028ad76 vcl: implement PDFWriter::Sign() on Windows
Move Windows-specific code from PDFWriterImpl::finalizeSignature() to
PDFWriter::Sign(), this way the pdfverify cmdline tool can sign a
previously unsigned file.

Change-Id: I1144e228bf8f12a284c3fc32fd3e74c355855ff3
2016-11-02 17:50:52 +01:00
Jean-Pierre Ledure
9e93ae3ddc Access2Base - Simplify CopyObject
Avoid Field object buffering in CopyObject
as it is now done in the Recordset class

Change-Id: I35ee9e953e27554cb361adbb22baa619e4b73aaf
2016-11-02 16:56:11 +01:00
Tor Lillqvist
f9f1042773 Remove noise comment, add FIXME
Change-Id: I1ad8ff94744e3a4b0844a04eabb7f19a3b15bb1a
2016-11-02 17:53:52 +02:00
Jean-Pierre Ledure
f8b9763042 Access2Base - Buffer field objects in recordset
Field objects are buffered in a _Fields() array,
part of a Recordset instance,
to improve speed and memory consumption

Change-Id: Iac732ab5a1db24341aa30c3c934853a21c76e2e4
2016-11-02 16:25:17 +01:00
Eike Rathke
01875c4514 unit test for tdf#99291, empty array elements match 0.0, not empty
Change-Id: I65cac442583ecd90831ebea01d2be6c0b1e60b9a
2016-11-02 16:16:15 +01:00
Bjoern Michaelsen
15a8271eb8 disable gbuildtoide test on Windows as CI builders are unstable
Change-Id: Ib5eb4fece2bae3e04089f2389198df800620e6f8
Reviewed-on: https://gerrit.libreoffice.org/30483
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-02 15:04:07 +00:00
Caolán McNamara
6ca910adfe gtk3: grabs on floating window inside floating window
under gtk3 with the floating window of the listbox inside
the color floating window if the toplevel window is dismissed
the focus doesn't remain locked to its parent, but skips to
the grandparent

so grab and ungrab only once elements in the hierarchy

Change-Id: I14b1b8888671634c0c01c6416493f912e4abd2f9
2016-11-02 14:04:33 +00:00
Caolán McNamara
b99bff93a3 gtk3: allow float grab inside float grab
this is so that the floating window belonging to the listbox inside the
floating window color popup will track the mouse as it moves up and down over
the menu.

Change-Id: If108b5b3866fdbc04513c48c8d859bedd3867379
2016-11-02 14:04:18 +00:00
Caolán McNamara
38e7f38b82 gtk3: just close the toplevel float if it corresponds to the event frame
Change-Id: I489acc288fb1c9564f208e024dd5aa3ae9660a49
2016-11-02 14:03:40 +00:00
Caolán McNamara
6f9ce98bd0 support unfocused float window inside a focused float window
if a floating window is inside a floating window, go up the floating
windows until we find the first one that accepts focus, rather than
pass the input to the toplevel frame

Change-Id: I6c2a3de02ab436b8441b1fec15d51dec4f96c931
2016-11-02 14:03:12 +00:00
Miklos Vajna
b0d1a39e99 xmlsecurity PDF verify: add support for object streams
Adobe Acrobat uses object streams (PDF 1.6) when it signs a PDF exported
from LO (PDF 1.4), with this we can verify that signature.

If the PDF had at least one signature in LO, then the doc is not
upgraded from PDF 1.4, so that was working already.

Change-Id: I54b4447ca965a8ba1ffc69bde228ab6f0bda59ee
2016-11-02 15:01:02 +01:00
Caolán McNamara
2734a6ce77 getNonLayoutRealParent is unused
Change-Id: Ie003bc7ccc9985162ea52a1b0164118d9c2ce437
2016-11-02 13:58:03 +00:00
Caolán McNamara
fd40e3ea09 lock tab-cycling inside the WB_DIALOGCONTROL widget
activate the color selector in the toolbar in the sidebar panel, press tab
to cycle between its widgets, when it hits the bottom it will
not return to the first widget, but escape out of the floating
window into the next sibling of the toolbar

Change-Id: I806fd4d94c477e9cfb2ea238830f7b646ea274d2
2016-11-02 13:52:50 +00:00
Caolán McNamara
c7b0d2f107 drop SvxColorWindow::Resize
Change-Id: I22ed6ace464cdfd4ee0c12e8269d8141efce57a6
2016-11-02 13:50:52 +00:00
Caolán McNamara
eb153b8f1a move SvxColorWindow to include/svx
Change-Id: Ie2e11c8582cbb204178c0616580f942d1ce773fb
2016-11-02 13:50:03 +00:00
Caolán McNamara
4778444d20 rename SvxColorWindow_Impl to SvxColorWindow
Change-Id: I84941f4566792e11a9070f8623857a3fac44591d
2016-11-02 13:43:30 +00:00
Khaled Hosny
1260bf28fc Add a comment here
Change-Id: I07f2fe400f20d8f52588db326851f310245b7d8d
2016-11-02 15:12:59 +02:00
Noel Grandin
b1f8cf3782 loplugin:singlevalfields
Change-Id: I65f96d9cd24572c8d0946acf4d2d45eb3db83a76
Reviewed-on: https://gerrit.libreoffice.org/30476
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 13:06:37 +00:00
Gabor Kelemen
c3a3b876a3 Updated core
Project: help  be1c45a0094513b93bbe9747398be1cab6a0abe0

Fix the Styles button reference

It has been renamed. Also Styles and Formatting is no
longer a window but a sidebar deck.

Change-Id: I3a7648c709012d14b62e7e1fc50c1ba893dfa6a0
Reviewed-on: https://gerrit.libreoffice.org/30481
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-11-02 12:13:24 +00:00
Miklos Vajna
852bd9c2c8 sw: prefix members of WW8TabDesc
Change-Id: I8c6e52d40f497fb7cee3ef812e2974aa292a11a8
2016-11-02 11:08:53 +01:00
Stephan Bergmann
55a77ed968 remove spurious "oh"
Change-Id: Ia214ef9c683492226ab39c1fd1061ecc9cbc264c
2016-11-02 10:39:00 +01:00
Stephan Bergmann
d2615f96ac Improve some error reporting
Change-Id: Ibfdb0eeebec785438d46a0e8e6e9f4c847bfb807
2016-11-02 10:33:49 +01:00
Tor Lillqvist
1851e87627 It's ODF version, not document version
Change-Id: I3e6a54dd92ebafebabf9e75b44b9f0b5f0b6aa8a
2016-11-02 11:27:23 +02:00
Justin Luth
f013d4a1f4 tdf#41542 PaddingWithoutBorders: allow UI changes if...
If the compatibility option is set, allow the border dialog for frames
to be able to adjust the spacing values without enabling the border lines.
That means it is only true for .doc and .docx right now.

Change-Id: I4004a849f7369c993089d1c7b5d856cbea4f7780
Reviewed-on: https://gerrit.libreoffice.org/28602
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-02 09:25:01 +00:00
melikeyurtoglu
9937b8daa7 tdf#91222 VclBuilder constructor cleanup
Change-Id: I9a82ebc57c7e246841fda0262763fa9a7fbd5970
Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/29919
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 09:23:27 +00:00
Tor Lillqvist
8e904d334c Add a comment wondering about "ODF Version", further explanations welcome
Change-Id: Idc660ba71ccff02c97a018838974430c0206ace6
2016-11-02 10:56:42 +02:00
Stephan Bergmann
8251b57dec const-ness mismatch
(Why does that only cause a compilation failure now?
DataFlavorMapper::openOfficeToSystemFlavor always returned a const NSString*.
Odd.)

Change-Id: I5baa577b78d024c5e959df7ec5bf477057b91c07
2016-11-02 09:25:57 +01:00
Noel Grandin
3fea7ac94b loplugin:unusedfields
Change-Id: I96634c18ba6600f8f7d5d04a162dcd7e1e312923
Reviewed-on: https://gerrit.libreoffice.org/30474
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 07:54:20 +00:00
Noel Grandin
2db81e7336 loplugin:expandablemethods in avmedia
Change-Id: I215230d3b7e3649146083f00e7c10c03a4d3154e
Reviewed-on: https://gerrit.libreoffice.org/30470
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 07:13:16 +00:00
Noel Grandin
a7369d9899 loplugin:oncevar in helpcompiler..reportdesign
Change-Id: I2dc57931fb230953c285aeb18f57c0a41fedafcb
Reviewed-on: https://gerrit.libreoffice.org/30463
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 07:12:46 +00:00
Khaled Hosny
5d39c20133 tdf#71603: Create a new DC for the font fallback
For some reason re-using the DC from SalGraphics results in
GetFontData() returning GDI_ERROR and we fail to read the font’s “cmap”
table. The wired thing is that this happens only for fonts that were
not used before, so if you open a document directly the fallback works
but if you open start center or blank Writer document you get no
fallback. GDI is “interesting”.

Change-Id: Ic23095cabbd2623717271ce5d89bea75dca76a9a
2016-11-02 01:37:21 +02:00
Stanislav Horacek
3f04f3f08b Updated core
Project: help  68f7b9d1c6ffed02a241645868e49bf80aa45b53

tdf#70998 change term "Graphics" to "Images"

Change-Id: Ic2c2877a077bd5ba67a271dd7a89c4d1391e6fbb
Reviewed-on: https://gerrit.libreoffice.org/30450
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:48:46 +00:00
Khaled Hosny
03bff1b6b9 tdf#71603: Improve font fallback on Windows a bit
Check all missing characters, not just the first one. Also the calling
sites for GlyphFallbackFontSubstitution hook expect the OUString to be
updated to have only any characters not supported by the returned font.

Change-Id: Ife56d692c05433f2f7fe02db3ef1562181dc3d53
2016-11-01 23:46:32 +02:00
Khaled Hosny
d66ec48fe8 Use the font language instead of guessing it
Similar to what we do with FontConfig.

Change-Id: Id01dabe0b52e4e3aea54073d42b719a924025920
2016-11-01 23:46:32 +02:00
andreas_k
35bfb8fb0c remove red alert color from pdf icon
Change-Id: Iebeebc26a02dfa4c9d517664fb803d371b8ac1cc
Reviewed-on: https://gerrit.libreoffice.org/30387
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:39:13 +00:00
Khaled Hosny
8d192b66e3 Misplaced #if ENABLE_GRAPHITE
Change-Id: I2af3fdf100f6aaf435d8ed33d781ea0ca4ec21ec
2016-11-01 23:37:39 +02:00
andreas_k
1476c299b6 quit icons in breeze-dark were shown in black instead of red
Change-Id: I1ae0ee355e537339e33c5e41826527ccb8dd6277
Reviewed-on: https://gerrit.libreoffice.org/30384
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:36:25 +00:00
Noel Grandin
241dca2d8a add an assert to check for ref-counts > 16 bits
after
    commit 87c518593d
    sc: remove antique reference counting hacks from ScDocumentPool

In theory, nothing should be trying to save items like this
anymore, but lets make the error more obvious in case something is.

Change-Id: I89b3637168c072d20e214a8f6338f6336d44d891
Reviewed-on: https://gerrit.libreoffice.org/30467
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-11-01 21:36:08 +00:00
andreas_k
943e82d8a4 update icon to have the right icon color in breeze-dark
Change-Id: Iaf1888357c8b9ed6aeb987341fbc69117c6e0ecb
Reviewed-on: https://gerrit.libreoffice.org/30386
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:35:38 +00:00
andreas_k
5f0d987f02 update calc icon now the calc icon is green instead of black
Change-Id: I7a11448e84ace54936b378bc178bbd4a7603b516
Reviewed-on: https://gerrit.libreoffice.org/30385
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:33:13 +00:00