Commit graph

400037 commits

Author SHA1 Message Date
Matúš Kukan
42b959ff72 tdf#90753: Move extras packages to AutoInstall
Change-Id: I3e1504bb8a68a6142ab4035b2cb81c03d9af9227
2016-11-26 16:11:23 +01:00
Khaled Hosny
d761d952f4 Kill old Core Text layout engine
Change-Id: If80d65899255d8be72f374fbec232d103a08a006
Reviewed-on: https://gerrit.libreoffice.org/31232
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-26 14:28:39 +00:00
Khaled Hosny
30ebc895c9 There is one font file type now
Change-Id: I47b6f36de5c77cfdf831a2b3ce10b973159520b1
Reviewed-on: https://gerrit.libreoffice.org/31231
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-26 14:28:16 +00:00
Khaled Hosny
1c3526bfc0 Dead code
Change-Id: I24d365f8231431a4062d026622c2f72bb5ed7af7
Reviewed-on: https://gerrit.libreoffice.org/31230
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-26 14:28:03 +00:00
Khaled Hosny
368de90497 Kill PspFontLayout
It should never get used any way. CairoTextRender::GetTextLayout()
returns nullptr for the unlikely even that there is no Freetypefont for
the requested fallback level, so we do the same.

Change-Id: Ib990eb89f9f0fd2bcd87990cbd76406c8d063f57
Reviewed-on: https://gerrit.libreoffice.org/31225
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-26 10:58:55 +00:00
Khaled Hosny
59859a8aaa ServerFontLayout is already gone
Kill DrawServerFontLayout, and rename DrawSalLayout to DrawTextLayout,
in parity with GetTextLayout.

Change-Id: I3f61efd8c6ecde64f28301dca6a7c91eb0873702
Reviewed-on: https://gerrit.libreoffice.org/31224
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-26 10:58:38 +00:00
Khaled Hosny
8c173ce9ba DisableGlyphProcessing flag is never set now
Change-Id: I4a56c5d7490dd78f5cb72f2b821fb43c93f64b2d
Reviewed-on: https://gerrit.libreoffice.org/31223
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-26 10:57:07 +00:00
Eike Rathke
0a2a7436b4 Resolves: tdf#103493 copying note captions needs a completed destination sheet
If a copied sheet's destination position is before its source position, the
source's ScColumn::nTab members still pointed to the original source position
when the captions were created, which led to the wrong drawing layer page being
used and at the end the drawing shapes not being correctly assigned.

Change-Id: I9c3cc97d8b4486756023b9ab02da28079a1d0627
2016-11-26 11:39:44 +01:00
Justin Luth
7b250d5698 tdf#103975 docx import: don't remove sectPr with BreakItem
If an empty sectPr paragraph contains Page/Column break
information, do not discard it.

Change-Id: If817debccb924eb9cf0ffdc374c960d25908370f
Reviewed-on: https://gerrit.libreoffice.org/31227
Reviewed-by: Justin Luth <justin_luth@sil.org>
Tested-by: Justin Luth <justin_luth@sil.org>
2016-11-26 10:38:19 +00:00
Bartosz Kosiorek
b0c3665b2a tdf#48140 Replace uno with direct calls
Change-Id: I38af8d3e4dfbd42f025734ba14de409e8bd97393
Reviewed-on: https://gerrit.libreoffice.org/31179
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-26 10:20:49 +00:00
Khaled Hosny
abe4d7bd0a Kill code for Type 1 fonts on Unix
We already ignore them, so this is unreachable code now.

Change-Id: I6fd4699d8175344c36253bf4bf9c024b8986da31
Reviewed-on: https://gerrit.libreoffice.org/31222
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-26 08:26:35 +00:00
Khaled Hosny
47ea13ef8d Kill the old Unix layout engines
Change-Id: I9e1667faf9644dfab025c82cb11a6490d1e8f998
Reviewed-on: https://gerrit.libreoffice.org/31221
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-26 05:58:33 +00:00
Noel Grandin
8b920435c0 mark VclPtr::Create as SAL_WARN_UNUSED_RESULT
Change-Id: I7b5bb8a0ed8848c9e426d2015983156e34947914
Reviewed-on: https://gerrit.libreoffice.org/31202
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-26 05:19:57 +00:00
Khaled Hosny
67936ee7ed Kill old Graphite layout engines
Change-Id: Ia19d4d0a3a33694b6edfff62e6b40028dac19677
Reviewed-on: https://gerrit.libreoffice.org/31212
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-26 05:12:16 +00:00
Matúš Kukan
aabc5aab5a tdf#90753: Move brand packages to AutoInstall
gid_Brand_File_Bin_Soffice_Bin_Manifest was removed
in 26bddf3e80

Change-Id: Iff5314e8c3c6191556c082bc30938dd177b254fc
2016-11-25 22:43:34 +01:00
Matúš Kukan
c1b50e6d8c scp2: ICU was moved to AutoInstall
..in e759269e37

Change-Id: I670cd35f64f1784b4150a8c3ab310bd1c88e6ed0
2016-11-25 22:43:34 +01:00
Tomaž Vajngerl
6d49a1bb6e tdf#103820 & tdf#103824 fix texture refactoring mistake
Change-Id: I657a4b46e3e7efbe8b1ea5c1e811e1d125f5146f
2016-11-25 22:04:42 +01:00
Khaled Hosny
e838d14317 Revert "tdf#89870: Add config option for layout engine"
This reverts commit 6324efd70d.

The old layout engines will soon be gone.

Change-Id: Iedbcffd18b11ac36ad98a66ac12111058aab19b3
Reviewed-on: https://gerrit.libreoffice.org/31142
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-25 19:07:52 +00:00
Eike Rathke
1700c767e7 add exception context to error log message
Change-Id: Iae8a0c8e7ed4c8bec6497f1636a943bd6f79d5c8
2016-11-25 20:04:40 +01:00
Eike Rathke
6fee9755f6 give us a chance to see *which* property failed
Change-Id: If0c89760230eebc873bbc57511e44d7706af1c1e
2016-11-25 20:04:40 +01:00
Eike Rathke
86bf3f8b69 give us a chance to see *which* property failed
Change-Id: I378bce4d8e1f57a51d88a59691d6917f58eedf20
2016-11-25 20:04:40 +01:00
Mike Kaganski
7c43cba980 tdf#104032: use correct text length
Change-Id: I16e6af179be3d7bee947c4054ae4fa6924b298f0
Reviewed-on: https://gerrit.libreoffice.org/30980
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2016-11-25 18:24:34 +00:00
Eike Rathke
db05c78ef5 replace useless OSL_FAIL with DBG_UNHANDLED_EXCEPTION_WHEN
Change-Id: I7eebb09d1725eff4793330362e5bfba84a237195
2016-11-25 18:15:18 +01:00
Noel Grandin
94ea966354 tdf#104158 - Crash upon opening Table -> Number Format... in Writer
Change-Id: Ic5d30199250fbb5cc911cc5e7a58e0b7b9b1127c
Reviewed-on: https://gerrit.libreoffice.org/31201
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-25 17:04:37 +00:00
Stephan Bergmann
8b718e3774 Handle cases where last-used palette disappeared
...so PaletteManager::SetPalette(LISTBOX_ENTRY_NOTFOUND) would set
PaletteManager::mnCurrentPalette to 65535, and
PaletteManager::GetSelectedPalettePath would do out-of-bounds access into
PaletteManage::m_Palettes.

That the last-used palette (as stored under in the configuration under
/org.openoffice.Office.Common/UserColors/PaletteName) may become more common
with pending changes like <https://gerrit.libreoffice.org/#/c/31199/>
"tdf#104047 Remove dispensable palettes".

Change-Id: I5641bae04f50fea8aa69027a75de08c22394c281
2016-11-25 17:29:09 +01:00
Michael Stahl
086631af59 configure: fix harfbuzz build on WNT
The graphite library is always built static, so the graphite headers must
be included with the GRAPHITE2_STATIC macro, so that the functions are
not marked __declspec(dllimport) on WNT.

Add GRAPHITE2_STATIC to GRAPHITE_CFLAGS so harfbuzz picks it up.

It's a mystery why vcl even links currently without this.

Change-Id: I80d87fe76afa2d05a5697d56dfaf8cbe97d9f977
2016-11-25 17:07:10 +01:00
Yossi Zahn
20254e8581 Add 2 extra number formats for Hebrew locale
Change-Id: I55fc91b49d38f155f6a42b7395b4b44bf6a8f1cf
Reviewed-on: https://gerrit.libreoffice.org/31180
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-11-25 15:57:30 +00:00
Stephan Bergmann
1800862c70 loplugin:stringconstant: look into 'char const * const var = "..."'
Change-Id: I52a97b8ec273509131c2200e47527221cb62d7ee
2016-11-25 16:42:23 +01:00
Stephan Bergmann
b33b441341 Use string literal directly, instead of going via createFromAscii
Change-Id: I2099575ef0041c818424a85a0ef6daa2cc3fdf72
2016-11-25 16:31:17 +01:00
Jan-Marek Glogowski
c3da6e3844 KAB loplugin:datamembershadow
Change-Id: I1962ab1d131cf714f8bd540b589e793c4389cfb2
2016-11-25 16:27:07 +01:00
Jan-Marek Glogowski
0b0e43d26a MM UNO always print single files to printer
Fix a missing hunk from e0ad036eed,
which causes assertion, if MM is used via UNO.

Thanks to Alex Kempshall, finding the assertion when testing MM.

Change-Id: Ia0cd6053838adc6f0a4ce93902f06423849bf851
2016-11-25 16:27:07 +01:00
Jan-Marek Glogowski
bbf246e40c tdf#102010 Never overwrite MM files via UNO
Fixes the regression introduced by
  commit e637b6743a

This commit removed the crazy bSubjectIsFilename handling,
where I didn't understood the case of bSubjectIsFilename
and a user supplied prefix.

Mail merge to files never overwrites an existing document,
but there is the special case, when a user selects a target
filename in the MM dialog for single file MM.

Should be fixed by a successive commmit, reverting this and
removing an existing file before starting the MM job.

Change-Id: Idda487023e6984de9c1e701fc088a6b7f92e9847
2016-11-25 16:27:06 +01:00
Jan-Marek Glogowski
660159a68a MM allow easier manipulation of MM test arguments
Keep the beans::NamedValue vector around and convert it to a
uno::Sequence just before executing the mail merge job.

Change-Id: Ib2b4863337af20fb4423cc1b4ea4223d66d63ae5
2016-11-25 16:27:06 +01:00
Eike Rathke
f780deb1e3 replace meaningless OSL_FAIL with DBG_UNHANDLED_EXCEPTION_WHEN
Change-Id: I8aceb106339d879455bd96b2f84b54306f13d062
2016-11-25 16:26:42 +01:00
Eike Rathke
6c60aa313c introduce DBG_UNHANDLED_EXCEPTION_WHEN for calls with an explanatory message
Change-Id: Ic80f2ed2c0fdff20d1ee1968bec2840bf914fb5e
2016-11-25 16:26:42 +01:00
Ashod Nakashian
9d2f30911d Lok: invalidate Writer comments correctly
Because notifications to all views were disabled
(to avoid moving the cursors of everyone when someone
adds a comment) invalidation was also broken. The
issue was observed when a comment crossed tile
boundaries, the other tile was not redrawn.

This forces invalidation so tiles are rendered
correctly, fixing this regression.

One small issue remains in that invalidating a
comment only invalidates the text-area and not the
complete PostIt (specifically, the author and date
are not invalidated). This means that they can
still get trimmed when crossing tile boundaries.
That will be addressed separately, as it was an
existing issue before the regression this patch
fixes.

Change-Id: Ic8173e4873d58836883b897f735fc627bb0572ee
Reviewed-on: https://gerrit.libreoffice.org/31091
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-11-25 14:02:35 +00:00
Takeshi Abe
3f20d98131 starmath: Prefix members of SmBinDiagonalNode etc.
Change-Id: Icd863b23cfca635f901a0aea65fa26dace0aa8f9
Reviewed-on: https://gerrit.libreoffice.org/31188
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-11-25 13:11:04 +00:00
Stephan Bergmann
c6bc45880c Make sure there's a single global RTTI for pdfio::PDFElement and derived
...as otherwise dynamic_cast<xmlsecurity::pdfio::PDFNameElement*>(...) in
xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx will fail at least on macOS,
causing CppunitTest_xmlsecurity_pdfsigning to fail.

Change-Id: I7c41c994a1e6145b4740a97ffe47d0c42c4e3ca0
2016-11-25 14:09:06 +01:00
Tor Lillqvist
0ddcff2053 No need for this local function to be externally visible
Change-Id: Idb2e716cdc4933c2691de2df21a4ee7afda9e597
2016-11-25 15:02:45 +02:00
Mark Page
ca48cb1dfa Modify pFilterConfigItem to a smart pointer
Change-Id: Ie964f064f4f5d3735878c2a6b4f6d4b801a8e8e9
Reviewed-on: https://gerrit.libreoffice.org/31195
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-25 12:46:13 +00:00
Eike Rathke
9b1d370710 show next free formatindex hint for errors
Change-Id: I4252a572c1cef02ff5e7de0ecc78d84ddc806919
2016-11-25 13:42:42 +01:00
Noel Grandin
f32a75c25b convert LF constants to o3tl::typed_flags
Change-Id: I4fa3a62e53eb02fe60c9ca0675709b76e56a7912
2016-11-25 13:47:32 +02:00
Noel Grandin
413e63c301 convert FILTERCFG constants to o3tl::typed_flags
Change-Id: I01a4df6bb9b90177ce72c61fd0d611a63559166e
2016-11-25 13:47:32 +02:00
yossizahn
d39bb268ea Correct spelling of "kislev" for he_IL locale data
See e.g. https://he.wikipedia.org/wiki/%D7%9B%D7%A1%D7%9C%D7%95

Change-Id: I3bf935db50037ff418f269d81004bce4e7388097
Reviewed-on: https://gerrit.libreoffice.org/31178
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2016-11-25 11:40:30 +00:00
Stephan Bergmann
f1eb0bf752 Clean up CLANG_VERSION check
Change-Id: Idfdffd73e9029216775d2a6ad46293ee1a4f1308
2016-11-25 11:24:12 +01:00
Stephan Bergmann
bf53daa49a Clean up PPCallbacks compatiblity fix
Change-Id: I91f1db18b7876c4ecc30f7f97283e0ef0369eba5
2016-11-25 11:22:14 +01:00
Noel Grandin
d63f42bd2a declaration of nAllFlags shadows a member of 'this' [-Werror=shadow]
Change-Id: Ifb5adba642e777e5d515c6088c128d31778ecaff
2016-11-25 12:11:24 +02:00
Noel Grandin
b19e712313 convert ENABLE flags to o3tl::typed_flags
Change-Id: I47cb052c7437e127c237beee0f2d95948b7c3ad1
2016-11-25 12:02:34 +02:00
Noel Grandin
8cd2334da9 convert SW_CREATE to scoped enum
Change-Id: I003785715df7e72cbf398902aabb5c3fe900a2d7
2016-11-25 12:02:34 +02:00
Noel Grandin
678041c48f convert HTML_FRM_OPTS to o3tl::typed_flags
Change-Id: I3d8ac978ff626f792e3cff6e2b12a7680addf303
2016-11-25 12:02:34 +02:00