Commit Graph

424563 Commits

Author SHA1 Message Date
Caolán McNamara
4b57652007 set explicit parent for signing warning messages
Change-Id: Ifbd1aaec13e2f3a51963c4942face64847eefc07
Reviewed-on: https://gerrit.libreoffice.org/55989
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-18 13:59:06 +02:00
Caolán McNamara
294e66018d weld SfxDocumentDescPage
Change-Id: I52abfe33e39fbb2e96fe0634b9ac3d8d50068ee7
Reviewed-on: https://gerrit.libreoffice.org/55988
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-18 13:43:05 +02:00
Caolán McNamara
4b6d171592 weld SwDocStatPage
Change-Id: I6ea55b01179f72ca54f86c90788b297a4dd79b9c
Reviewed-on: https://gerrit.libreoffice.org/55987
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-18 13:02:34 +02:00
Mike Kaganski
0dc71c7caf Register SwTableFormatCmp as its old format's writer listener
Using SwTableFormatCmp in loops with SwTableLine::ChgFrameFormat, where
the latter may delete the old format of a frame, may invalidate the pOld
of a SwTableFormatCmp, and lead to use-after-free. To avoid this, let's
register SwTableFormatCmp as the old format writer listener.

Also use unique_ptr in vectors to simplify memory management.

Change-Id: I5ac93f4c3ae549b79a41220bda880386dd529c36
Reviewed-on: https://gerrit.libreoffice.org/55653
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-06-18 12:30:17 +02:00
Miklos Vajna
28653d4add sw: prefix members of SwTOXMarkDescription
Change-Id: I251c80c4faad7b1b42b3ef33a77b3a93efbf8b95
Reviewed-on: https://gerrit.libreoffice.org/55981
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins
2018-06-18 11:30:23 +02:00
Abhyudaya Sharma
bc5cdc0f12 tdf#108523 Remove @author annotations
Change-Id: I85e364da59ce70ddd97fdae9bc03a4ea76b007fc
Reviewed-on: https://gerrit.libreoffice.org/55263
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-06-18 11:29:46 +02:00
Luboš Luňák
f6bd95704e use std::atomic rather than OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER
Sources such as
http://preshing.com/20130930/double-checked-locking-is-fixed-in-cpp11/
or https://en.wikipedia.org/wiki/Double-checked_locking suggest that
it wasn't possible to reliably do a portable double-checked initialization
before C++11. It may be true that for all platforms we support those
memory barriers are in fact not needed (which seems to be the assumption
behind OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER being empty), and
looking at the generated assembly here on x86-64 seems to confirm that, but
in the worst case then this is a more chatty and standard way of writing
a no-op.

I don't want to use threadsafe statics or std::call_once() because
ScGlobal::Clear() does cleanup, which would be non-trivial to do with these,
and also some functions may not necessarily always force
creation of the singleton when touching the pointer, so it can't be easily
hidden behind a single function call.

The need to explicitly use load() with delete (thus preventing DELETEZ)
looks like a Clang bug to me.

Change-Id: Id3b0ef4b273ed25a5c154f90cde090ea1f9674fb
Reviewed-on: https://gerrit.libreoffice.org/55851
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2018-06-18 10:56:35 +02:00
Luboš Luňák
fbe6fa330f add calc threads assert to a thread-unsafe function
Change-Id: I36fcdf88c3e037b9db60f24cef3508aa9791bb35
2018-06-18 10:43:13 +02:00
Tamas Bunth
b68805a896 Back up content.xml when migrating database
Change-Id: I4eacbf689989d20142c04dc8fe586d0054c46350
Reviewed-on: https://gerrit.libreoffice.org/55962
Tested-by: Jenkins
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
2018-06-18 10:36:45 +02:00
Caolán McNamara
276a0f01f6 weld SfxDocumentFontsPage
Change-Id: I09bb788455053c266ce18d21055157147668263e
Reviewed-on: https://gerrit.libreoffice.org/55968
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-18 10:01:52 +02:00
Caolán McNamara
e371a4a164 weld SfxManageStyleSheetPage
Change-Id: I3769d294e5a5458d3172c330360f7e6207c3d1b1
Reviewed-on: https://gerrit.libreoffice.org/55961
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-18 10:00:51 +02:00
Mike Kaganski
c67b7d7955 tdf#107969: use proper serializer for VML in footnotes/endnotes
Change-Id: Ie0e062fab0ae1a63094655cc0f6bee958b4c1087
Reviewed-on: https://gerrit.libreoffice.org/55978
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-06-18 09:11:13 +02:00
Andrea Gelmini
6816c74e91 Fix typos
Change-Id: I77c4c8feb12d7ed6ee4b4eaa6132a91f4e655fbc
Reviewed-on: https://gerrit.libreoffice.org/55967
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-06-18 09:02:31 +02:00
Andrea Gelmini
d679cba92a Updated core
Project: help  bedb482f8d914e9319c711df1c665e636fd856be

Fix typos

Change-Id: Idf4ffe077bd71dc8170a20df93d714e581ef02b2
Reviewed-on: https://gerrit.libreoffice.org/55963
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-06-18 08:39:25 +02:00
Jens Carl
489840b595 Remove obsolete (cargo-cult copied) dependencies
Change-Id: Ibf4de00b63579aff9faf4cae657824a81c1c80dc
Reviewed-on: https://gerrit.libreoffice.org/55976
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-06-18 06:08:01 +02:00
Jens Carl
4a0b38a124 Remove obsolete (cargo-cult copied) dependencies
Change-Id: I9b79528e90426ee63dff22765ee8cfe717aa8d30
Reviewed-on: https://gerrit.libreoffice.org/55972
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-06-18 03:22:05 +02:00
Ashod Nakashian
c8d95ccecf vcl: share GfxLink
When importing PDF as images, we store the
PDF stream in the GfxLink. For large PDFs
storing a copy of the full PDF with each
page is overkill. For example a 10MB PDF
with 200 pages will consume 2GB of memory!

Change-Id: I99913514cf5c562683080bc817668095bee69427
Reviewed-on: https://gerrit.libreoffice.org/55571
Tested-by: Jenkins
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2018-06-18 02:26:27 +02:00
Christian Lohmaier
cbd0d1da85 use hub.libreoffice.org for links from within LibreOffice
Change-Id: I01eff9b5d921787ff0c251ab8467912144577705
2018-06-17 21:49:05 +02:00
Caolán McNamara
65169f6b9e crashtesting: check nLineIdx
Change-Id: If499712955702e760524478711160194ecea47c0
Reviewed-on: https://gerrit.libreoffice.org/55954
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-17 20:33:42 +02:00
Caolán McNamara
dab606b93f crashtesting: export of ooo24533-1.sxw to docx
a problem (I assume) since...

commit d7d5fa52b0
Date:   Tue May 22 10:49:36 2018 +0200

    sw_redlinehide: trivial conversions in reffld.cxx

Change-Id: I4a9ec367e8a280cb56c3e0e47558da959fc14b38
Reviewed-on: https://gerrit.libreoffice.org/55956
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-17 20:22:51 +02:00
Gabor Kelemen
9ffd3ee80f tdf#42949 Add a class declaration to include/sfx2/shell.hxx
This is necessary to not get IWYU warnings or build errors
where SFX_DECL_INTERFACE is used

Also remove an earlier workaround in sd

Change-Id: I4cc86f7ad0c83aeaae225ee05af34fa49ba67e73
Reviewed-on: https://gerrit.libreoffice.org/55955
Tested-by: Jenkins
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2018-06-17 19:49:26 +02:00
Caolán McNamara
7958091b06 weld SvxPageDescPage
Change-Id: I5e2457b51a294cbdacc5c78db4ec0a048567b93d
Reviewed-on: https://gerrit.libreoffice.org/55877
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-17 17:12:32 +02:00
Olivier Hallot
d60d695fcc Updated core
Project: help  184324625ea1e803007b9c41ce625ae6014573f1

tdf#118187 Text for INDIRECT() in wrong place

Change-Id: Ia6b37858c79940ce95467345bd96d22c8fe4737c
Reviewed-on: https://gerrit.libreoffice.org/55945
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-06-17 14:34:43 +02:00
Zdeněk Crhonek
e3bbc87b46 tdf#71850 delete string "case-sensitive" in function wizzard EUROCONVERT
Change-Id: I9ab56279c748eae1e54f4cecc799db1aee2e2601
Reviewed-on: https://gerrit.libreoffice.org/55716
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-06-17 14:32:17 +02:00
Takeshi Abe
c37b27af91 sw: Avoid unnecessary copy in SwAutoCompleteWord::GetWordsMatching()
Its sole client code in sw/source/uibase/docvw/edtwin.cxx allows the
precondition that its 2nd argument rWords is empty.

This also corrects the @param description of the argument.

Change-Id: Icc12bc36d0d4157ed05ef10fb3c3db325c6bfaf2
Reviewed-on: https://gerrit.libreoffice.org/55943
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-17 14:27:18 +02:00
Jochen Nitschke
5bbf40fde5 cppcheck: uselessAssignmentArg
Change-Id: I230c35a5cf1b660041fb10f6ff81e219cad6a1b1
Reviewed-on: https://gerrit.libreoffice.org/55942
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-17 12:09:45 +02:00
Christian Lohmaier
44750b1a71 fix packaging break after bindir handling & new icons
Change-Id: Ieacbf46f22d4943542ff318aa8236aacab255460
2018-06-17 11:42:11 +02:00
Gabor Kelemen
af625c8b71 tdf#42949 Fix IWYU warnings in sc/inc/P*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: Ic46d80186b0eb69e7bd8553278ffc9043b9b4bef
Reviewed-on: https://gerrit.libreoffice.org/55768
Tested-by: Jenkins
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2018-06-17 11:27:30 +02:00
Andrea Gelmini
4c2bff9743 Removed executable permission on images files
Change-Id: I6963b91a58bd88e7c920a96a44fc982ad4768d4b
Reviewed-on: https://gerrit.libreoffice.org/54666
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-06-17 10:04:19 +02:00
Jens Carl
70e22ad576 Remove some cargo-cult copied dependencies
Change-Id: I4dba1ad747acc69abf1587a64ffdbd62eb715d4f
Reviewed-on: https://gerrit.libreoffice.org/55938
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-06-17 05:49:59 +02:00
Maxim Monastirsky
6fcc60b492 gtk3: Correctly mirror popovers in rtl ui
e.g. formula prompt or fill series in Calc. The reason is that for
this particular vcl::Window, HasMirroredGraphics() != IsRTLEnabled().

Change-Id: Icd4bb2d22ba77d64c32b243d9c07745824e5e558
Reviewed-on: https://gerrit.libreoffice.org/55936
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2018-06-17 01:25:46 +02:00
Armin Le Grand
bf1f49c837 Fix crash on deactivating Chart after playing around
Change-Id: I55fab9213d3571e9457c1a0e0d68574ab4760d1e
Reviewed-on: https://gerrit.libreoffice.org/55931
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-17 00:00:23 +02:00
Caolán McNamara
596820a5a3 GraphCtrl factory no longer needed
Change-Id: I55f8280bb256c8eb298dd3550cc2a9621b2cfb4b
Reviewed-on: https://gerrit.libreoffice.org/55933
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-16 22:10:30 +02:00
Tomaž Vajngerl
3aa8a04877 tdf#58941 Manipulate with font features using FontFeatureDialog
This adds a font feature dialog activated on the Character page,
which adds a way to manipulate the available font features for the
current selected font (by adding them to the font name).

Change-Id: Icd0eda31b235d3cc8ef6eaee582fb78b4b346d78
Reviewed-on: https://gerrit.libreoffice.org/55894
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-06-16 20:17:15 +02:00
Caolán McNamara
0af04819bc weld SvxHFPage
Change-Id: I9e39e276c64da4fca01ff79ebbb42d6f342f0379
Reviewed-on: https://gerrit.libreoffice.org/55863
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-16 20:16:41 +02:00
andreas kainz
5d680efbcc tdf#117415 write underline icons in colibre language translation
Change-Id: I675bda88a17971497da9b98d0798bee536091b49
Reviewed-on: https://gerrit.libreoffice.org/55924
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-06-16 19:47:04 +02:00
Tomaž Vajngerl
dc9ee533dc vcl: parser of font features included in the font name
Change-Id: I7347410b4eb5e940d94c34aac4fdf344869541fa
Reviewed-on: https://gerrit.libreoffice.org/55893
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-06-16 18:04:31 +02:00
Armin Le Grand
099eef24da AW080: Continued cleanups/remaps/corrections
Change-Id: I953f29e6a8d398e00884a600d6f4ceba880489a5
Reviewed-on: https://gerrit.libreoffice.org/55913
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-06-16 17:29:52 +02:00
Tomaž Vajngerl
a4cd8bfea4 fix build because of the change to Reference<LogicalFontInstance>
Change-Id: I97c23685d70c751dc6b365db776c4438a5f05db0
2018-06-16 16:47:20 +02:00
andreas kainz
00e61a2a05 menubar: DataMenu is needed in bibliography too
Change-Id: I8ede08755efab25e2cbbf1b8a13df8fe05c36a27
Reviewed-on: https://gerrit.libreoffice.org/55907
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-06-16 16:28:08 +02:00
Caolán McNamara
765d91d84a weld SwCharURLPage
Change-Id: I5263147c2dd15e6cab5b405d1680c2a3778137a6
Reviewed-on: https://gerrit.libreoffice.org/55861
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-16 15:46:16 +02:00
Caolán McNamara
9d4c5e2fab make drawing area transparent by default
Change-Id: Ib31d68ce13b74f3f92e81e09bef7eaed2d7f9708
Reviewed-on: https://gerrit.libreoffice.org/55862
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-06-16 15:45:44 +02:00
Tomaž Vajngerl
bda33ba2ce tdf#58941 implement retrieving font features and structures
This adds the following:
- Retrieving of features using HarfBuzz
- Retrieving of feature definitions from graphite fonts
- Adds description texts of OpenType features
- Tests for retrieving features (Linux Libertine G graphite font)
  and making sure the features and definitions are what we
  expect.

Change-Id: I51573fe086e59c6228cb546bbfac95ac53824c47
Reviewed-on: https://gerrit.libreoffice.org/55892
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-06-16 14:28:40 +02:00
Gabor Kelemen
8dacd42f3a tdf#42949 Fix IWYU warnings in chart2/source/model/{main,template}/*hxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: I53b8ac58e5f5a3778835e06a73b5f6e11dce4357
Reviewed-on: https://gerrit.libreoffice.org/55569
Tested-by: Jenkins
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2018-06-16 12:26:17 +02:00
Gabor Kelemen
8ea8ad4e49 tdf#42949 Fix IWYU warnings in sd/source/ui/inc/[dDE]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here
and a bit of fallout management.

Change-Id: Ie86a34f7f091525f21369f989165a56eace70513
Reviewed-on: https://gerrit.libreoffice.org/55558
Tested-by: Jenkins
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2018-06-16 11:44:09 +02:00
Laurent BP
e92e240693 tdf#117827 Restore Synchronize labels in template
Correction of de14f04871
Update Businesscard-with-logo
  - restore "Synchronize labels" function
  - restore links that need to be updated at the begining
  - change Tab for name and profession to center Tab
  - change "Sektsioon" to "Section"
  - change "Paneel" to "Frame"
  - change "Pilt" to "Image"

Change-Id: If3123ed76faf1055f539dc9f47051696f3f1b40b
Reviewed-on: https://gerrit.libreoffice.org/55243
Tested-by: Jenkins
Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2018-06-16 10:31:02 +02:00
Zdeněk Crhonek
1254129595 uitest Calc-statistics- ttest, ztest,ftest, chi square
Change-Id: I5d4aa467c786a04f5d2a4ad6da2d021d39a0aafb
Reviewed-on: https://gerrit.libreoffice.org/55868
Tested-by: Jenkins
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-06-16 06:54:35 +02:00
Victor Mireyev
c14911a80e tdf#70838 ww8export: rotate shape vertically = swap width/height
During import, rotation past 45 degrees swaps height and width
in SvxMSDffManager::ImportShape, so exporting needs to do the same.

restored from abandonment and corrected by Justin

Import also adjusts TopLeft position, but position seems to
generally be set by other factors on export. Prefer to have
an example proof document and not just guess since it seems
that position is affected by many factors. Therefore, not
doing anything about the position in this commit.

Change-Id: I4d67ab0e0da296956190aed3468e0c98f29795b9
Reviewed-on: https://gerrit.libreoffice.org/53902
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Tested-by: Jenkins
2018-06-16 06:49:56 +02:00
Armin Le Grand
2c85607101 AW080: Cleanup of 3D Object methods
Change-Id: I3a8247aabd2fd24b53faf9e1e8da29856dde70bf
Reviewed-on: https://gerrit.libreoffice.org/55897
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-06-16 00:20:15 +02:00
andreas kainz
e79dd394de menubar reportdesigner initial update
Change-Id: Ic74638695cd6c6897b6a5d6f39c656105dcd69c7
Reviewed-on: https://gerrit.libreoffice.org/55867
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-06-15 23:33:31 +02:00