386210 Commits

Author SHA1 Message Date
Martin Hosken
39b718dd65 Fix applying external dict to icu, and khmer break engine fixes
Change-Id: Ib897e5fa5e80f75f501694dbf874aabd92253b25
Reviewed-on: https://gerrit.libreoffice.org/21247
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2016-01-09 02:24:42 +00:00
Chris Sherlock
eba202b65a vcl: rename m_pFontCache to mpFontCache in LogicalFontInstance
This is the only variable in LogicalFontInstance with m_ as the
prefix, so changing to mpFontCache for consistency.

Also small tab cleanup in fontmanager.hxx

Change-Id: Id79392337795259568fbe71efb5200f1e31219a8
2016-01-09 13:00:11 +11:00
Chris Sherlock
85ac3cd63f vcl: move FontSelectPatternAttributes constructor to fontselect.cxx
Change-Id: I49041e086c1da6d9cc23781e10b00997f227da8e
2016-01-09 11:44:19 +11:00
Chris Sherlock
6ee8ba1e45 vcl: FindFontFamilyByFont is not the best name after all
On second thoughts, FindFontFamilyByName is not a good name at all. I'm
changing it back to FindFontFamily. The parameter tells you how it's
being found.

Change-Id: Ie8278e1727075a49331135a149361a484aba91e5
2016-01-09 11:44:18 +11:00
Chris Sherlock
ad241f51fe vcl: change ImplFontEntry to LogicalFontInstance
There is a TODO in the code that suggests to do this, when I looked at the
collaboration diagram on Doxygen things made a LOT more sense.

Change-Id: If335498bb70872ffa5738cc5c17660faec84c35e
Reviewed-on: https://gerrit.libreoffice.org/21257
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-08 23:43:50 +00:00
Ras-al-Ghul
47bac0de19 tdf#96888 Kill internal vcl dog-tags ...
Did a small change to ImplSVEvent * Window::PostUserEvent( const Link<void*,void>& rLink, ... ) in event.cxx file. Patch No. 5

Change-Id: I9e7fd099aec6d5d2060bdf4761f4cff4fbe31544
Reviewed-on: https://gerrit.libreoffice.org/21219
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 21:24:16 +00:00
Michael Stahl
774fb6d2e7 tdf#96480: ODF import: eliminate duplicate cross reference heading bookmarks
7c3c3006deaaaf1bb3f2f4eeeaf11da3bcebe53c is apparently worse than it
appeared at first glance since there are numerous assumptions about
bookmarks, such as that if they were inserted successfully they may be
copied successfully, which isn't the case for duplicate cross reference
bookmarks.

So fix this differently, by eliminating the duplicates and mapping all
reference fields to refer to the surviving bookmark.

It was not possible to do this in SwXBookmark by checking the makeMark()
return as that would raise interesting problems such as it's currently
guaranteed to have 1:1 SwXBoomarks to core Marks so we can't just
connect 2 SwXBookmarks to the same core Mark, and we also can't leave
the SwXBookmark unconnected after attach.

Another alternative would be to temporarily allow inserting the
duplicate bookmarks and then eliminate them after the import, but what
is implemented now is to check from xmloff for duplicates, which is
reasonably simple.

Change-Id: I7ee4854d1c9d8bf74201089cbb7287b1bd8ee3b9
2016-01-08 20:31:47 +01:00
Caolán McNamara
79bbc5b910 silence mouse release warning
Change-Id: Idce7f28d642f6dc23f16e3c963d0ed42782ed14a
2016-01-08 18:20:25 +00:00
Caolán McNamara
ca66b8c025 SfxTemplatePanelControl doesn't have to be a DockingWindow anymore
so we can drop one more DockingWindow from .src files leaving
just one left

Change-Id: I2e12398ce7682193aace966ebb8d153ec9acea2e
2016-01-08 18:20:25 +00:00
Caolán McNamara
b7dc6101da Float is never a SfxDockingWindow anymore
Change-Id: I22ddb6416c48ab72bf3ee4a7e7d664bfd0dd51f1
2016-01-08 18:20:25 +00:00
Caolán McNamara
0b14725c7b implement the style pane right toolbar the same as the left toolbar
Change-Id: I1a031facad52afbc84b06610f9bdd0a9f118ebeb
2016-01-08 18:20:25 +00:00
PriyankaGaikwad
0157524427 tdf#58122 FILESAVE: XLSX - Cell RTL direction state not saved
Current behavior:
The direction of the sheet is set to default from left to right

Expected behavior:
The action of changing the direction from left to right to become from right to left

Solution:
Added export for text writting direction.

Now <alignment readingorder="2"> export properly

Change-Id: I0a49ba0e458cbd6a7feae8e205ae583b7da30d0b
2016-01-08 18:44:55 +01:00
Caolán McNamara
0aa5414015 cppcheck: noExplicitConstructor
Change-Id: If1ddb112c85f127295eb55566360b066e7173ba2
Reviewed-on: https://gerrit.libreoffice.org/21245
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-08 17:15:04 +00:00
Miklos Vajna
13e0ec9f38 gtktiledviewer: hide new view button when it's not supposed to work
Change-Id: I91003540f994eeaab78bc66ed6e0df9e9f59ee4b
2016-01-08 17:59:46 +01:00
Eike Rathke
57a5912dac tdf#96647 add Interlingue Occidental [ie] to language list
Change-Id: I79f4581ee5d371f22f94043f1e5fa62a2ad430ff
2016-01-08 17:29:47 +01:00
Miklos Vajna
49b67cdc36 tdf#96961 sw Hide Whitespace: still show whitespace on the last page
Mainly to match Word's hide whitespace behavior.

Change-Id: Ica09bca5004adbfa14d1c9aca04079129f8a1a68
2016-01-08 17:26:45 +01:00
Miklos Vajna
cd51e0153a CppunitTest_sw_uiwriter: don't assert the size of the last page
The size of the last page will change in a bit in Hide Whitespace mode,
the intention of the test is to check the behavior of the normal
(non-last) pages.

Change-Id: I69b9072c59b6ca4dc5d93062c21726a0f5c03c05
2016-01-08 17:26:45 +01:00
Ras-al-Ghul
da8f57d9c9 tdf#96888 Kill internal vcl dog-tags ...
Did a small change to to void Window::RemoveUserEvent( ImplSVEvent * nUserEvent ) and to void Window::ImplNotifyKeyMouseCommandEventListeners( NotifyEvent& rNEvt ) in event.cxx file. Patch No. 6

Change-Id: I75bc321d2a257df00f51d7e71aed2bc26500e58e
Reviewed-on: https://gerrit.libreoffice.org/21220
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 16:13:27 +00:00
Ras-al-Ghul
29cd6b9252 tdf#96888 Kill internal vcl dog-tags ...
Did some changes to syswin.cxx file. Patch No. 18

Change-Id: I79d3ea2110ae72762681ae494ee44ba7fc61e112
Reviewed-on: https://gerrit.libreoffice.org/21235
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 16:12:40 +00:00
Ras-al-Ghul
b65af45854 tdf#96888 Kill internal vcl dog-tags ...
Did a small change in winproc.cxx file. Patch No. 9

Change-Id: I71e3876c0512e2696d61962f2427384354130bb3
Reviewed-on: https://gerrit.libreoffice.org/21224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 16:11:22 +00:00
Stephan Bergmann
63b67ab5ca Use public derivation, and remove then-unnecessary downcasts
...the implicitly-private derivation was presumably introduced by accident in
23fd991fda81668b3998b21b0131dda77965e405 "separate the sane from the less sane
in SwClient"

Change-Id: I30ec84b6a30c029cfbeb848ad37c9a532fec0a96
2016-01-08 16:39:24 +01:00
Ras-al-Ghul
5e2a0f007b tdf#96888 Kill internal vcl dog-tags ...
Did a small change to void Window::CallEventListeners( sal_uLong nEvent, void* pData ) in event.cxx file. Patch No. 4

Change-Id: I6dff8f0611833d1514552afad163cdb55f693980
Reviewed-on: https://gerrit.libreoffice.org/21216
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 14:25:07 +00:00
Michael Stahl
2f79c760b4 Makefile.fetch: don't use server side time stamps
The wget download apparently uses the time stamp of the file on the
server by default, which breaks incremental builds.

If wget downloads the file and it does not get the current timestamp at
the time of download but the one the file happens to have on the server,
then if you built from the previous version of the tarball at a later
time than the timestamp of the new tarball, make won't detect that it
has to unpack the new tarball.

The curl download should not be affected since curl requires an explicit
-R to use the server side time stamp.

Change-Id: I6bab51d20b8ab5e485fe68d3f27c31aaddc99f68
2016-01-08 15:12:07 +01:00
Tor Lillqvist
5621762a36 Don't use the "marketing" version number for the Intel driver
The 15.x.y.z.d number is not the real version number that our code
sees.

Change-Id: I8e434c0c3e3c4ff6ea8a6810f0b09f9b2befc438
2016-01-08 15:56:06 +02:00
Michael Meeks
3c47809a67 framework: re-enable two dispatch tests, and make them work harder.
Change-Id: I63d72b2d8f0b4835ab0ead51b518deab635ff3b0
Reviewed-on: https://gerrit.libreoffice.org/21222
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 13:52:47 +00:00
Ras-al-Ghul
f2f1f52d8b tdf#96888 Kill internal vcl dog-tags ...
Did a small change to dndevis.cxx file. Patch No. 1

Change-Id: I9240d97a9b0dd76a2df43e01f0d1e71de9015c48
Reviewed-on: https://gerrit.libreoffice.org/21211
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 13:49:31 +00:00
Ras-al-Ghul
8680813aa4 tdf#96888 Kill internal vcl dog-tags ...
Did a small change to bool Dialog::Close() in dialog.cxx file. Patch No. 2

Change-Id: I5268e77bef2225308e9d01831c7b09de19c3ded9
Reviewed-on: https://gerrit.libreoffice.org/21212
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 13:49:08 +00:00
Chris Sherlock
08f0ef29e7 solenv: if module is vcl, then include filter directories in doxygen include
Change-Id: I79610ab5c9eb3812035d9d2c5f8ce1508451cd60
Reviewed-on: https://gerrit.libreoffice.org/21251
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-08 13:24:58 +00:00
Chris Sherlock
054928f49b Revert "vcl: move filter headers to vcl/inc/filter"
Discussed on IRC - overwhelming consensus is to keep the headers
where they were before. The main reason to keep them in the same
directory is to keep headers as local as possible to the source
files, unless something else needs to access it.

The only thing that uses the headers is vc/workben/fftester.cxx

I will work out how to get Doxygen to pick up these headers another way.

This reverts commit 5d7772fc0464c867c5ad2f1e10ccabd7331f7efa.

Change-Id: I45ee970722e27748ab8af8909ac49579dc47ef56
Reviewed-on: https://gerrit.libreoffice.org/21250
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-08 13:24:35 +00:00
Daniel Robertson
7ec5073951 vcl: ImpBitmap optimize GetBitCount
Use binary search to find ImpBitmap BitCount in constant time.

Change-Id: Ica13d41d1473e01c9198c985d34206267d7910d1
Reviewed-on: https://gerrit.libreoffice.org/19759
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-08 12:53:59 +00:00
Giuseppe Castagno
3113ecb2fc Related tdf#96833: hide user and password for WebDAV servers...
...because they are asked for and stored in a successive user
interaction.

Change-Id: I09a3a1e59fe3819a28d7565e83b0db968dfee74b
Reviewed-on: https://gerrit.libreoffice.org/21040
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-08 12:52:17 +00:00
Chris Sherlock
d74161f238 vcl: small typo in parameter names - Doxygen is complaining
Change-Id: I57a70f7f6833af5e2cf94f526e99d1353247afb9
Reviewed-on: https://gerrit.libreoffice.org/21249
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-08 12:23:01 +00:00
Juergen Funk
87495ce121 g: fix var in checkout
Change-Id: Ie414037671ca9248931a47000db2b4ed259e72da
Reviewed-on: https://gerrit.libreoffice.org/21217
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-01-08 12:13:02 +00:00
kumar
861661313e tdf#95463 Fixed floating navigator default size, now size is increased
Change-Id: I8a1112fa94295c99870d50cb7147582d5eaf9630
Reviewed-on: https://gerrit.libreoffice.org/21079
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-08 11:42:03 +00:00
Eike Rathke
6534be23fa Updated core
Project: help  71a3f0e66fb6fb37f73fe3841a36ba00bec5beaa

tdf#85433 help content for WEEKNUM, ISOWEEKNUM, WEEKNUM_EXCEL2003, WEEKNUM_OOO

Change-Id: I92995b4de6fe18d981757f0d273ddce5c11b1559
2016-01-08 11:17:52 +00:00
Laurent Balland-Poirier
5553d6a931 tdf#96807 Reset min/max of auto scale
Y minimum for auto scale was accidentaly set to 0.
This avoided correct calculation of Y auto log scale (tdf#96807)
But also set linear Y auto scale from 0 (tdf#85690)

This fix detects if both min and max are equal to 0, and reset them (+-inf)

Change-Id: Ifaf306831f3b5a18a86483c88e807f478b447c77
Reviewed-on: https://gerrit.libreoffice.org/21055
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
Tested-by: Jenkins <ci@libreoffice.org>
2016-01-08 10:54:08 +00:00
Giuseppe Castagno
0c0c8de9b2 Related tdf#96833: display WebDAV path in remote files dialog
Folder WebDAV paths have the '/' at the end, this needs to be removed
in RemoteDialog logic while filling the treeview.

Change-Id: I8336de3e08ff030b27b1e48594448ff66106cff6
Reviewed-on: https://gerrit.libreoffice.org/21041
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-08 10:52:16 +00:00
Giuseppe Castagno
5fc2910fc8 tdf#96669: IsDocument should be true only if the document exists
Fixes a problem with Save to remote server dialog.

Change-Id: I4ef2dbf12bb786f5617cb57ff021012e4d884230
Reviewed-on: https://gerrit.libreoffice.org/21010
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-08 10:50:14 +00:00
Luke Deller
faa767dbef tdf#93640 Fix import of linked left page header/footer
In a docx section, any header/footer which is not defined in the
section is considered to be linked to the previous section.
In the Word UI this is shown as an option named "Link to Previous",
and editing the header/footer in either section affects both sections.

LO imports this by copying the header/footer contents from the previous
section, but it did not handle the case where a section had different
headers for left pages vs right pages.

Fix this, which involved changing the mechanism used to detect
whether a section has defined a certain header/footer (which unlinks
it from the previous section):
rather than trying to figure it out from the converted LO page styles,
explicitly track which headers/footers have been defined using boolean
member variables on the SectionPropertyMap instance.

Conflicts:
	sw/qa/extras/ooxmlimport/ooxmlimport.cxx

Change-Id: Ic43a867356c2cd5df09d39f2a3ddefa584b6765c
2016-01-08 11:23:56 +01:00
Miklos Vajna
1ec88cdb82 tdf#96308 RTF import: fix tab stop inheritance inside table cells
The tab stop list is a paragraph property, and RTF requires to repeat it
after \s as direct formatting, otherwise the parser should be assumed
that the tab stop list is cleared as a direct formatting.

Non-buffered text handles that in getDefaultSPRM(), handle it directly
in the RTF_PARD code for buffered text.

Change-Id: I16b09bc4c177df5a74d16653b829b198aa1a800f
2016-01-08 11:23:48 +01:00
Stephan Bergmann
6e2b8411a9 Missing semicolon
Change-Id: I160163a377fc374174ca48814494b849d1d32c3f
2016-01-08 11:21:52 +01:00
Ras-al-Ghul
604a3bfbcf tdf#96888 Kill internal vcl dog-tags ...
Did some changes to lstbox.cxx file. Patch No. 14

Change-Id: I8e559c55345fa8c72f49c94f1a94906bf03683c7
Reviewed-on: https://gerrit.libreoffice.org/21231
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 10:09:13 +00:00
Ras-al-Ghul
07ce6f1192 tdf#96888 Kill internal vcl dog-tags ...
Did some changes to menufloatingwindow.cxx file. Patch No. 17

Change-Id: I3b7c9beb5f3e55930f66c463d4341b5a78d51bc1
Reviewed-on: https://gerrit.libreoffice.org/21234
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 10:06:37 +00:00
Ras-al-Ghul
f78ec21a80 tdf#96888 Kill internal vcl dog-tags ...
Did some changes to dockwin.cxx file. Patch No. 15

Change-Id: Iec42df460be350ffbb5aa11a801c7dea2df7c9cd
Reviewed-on: https://gerrit.libreoffice.org/21232
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 10:03:56 +00:00
Ras-al-Ghul
b1ad632c72 tdf#96888 Kill internal vcl dog-tags ...
Did some changes to winproc.cxx file. Patch No. 12

Change-Id: I32551d527a2d45b694418bfee19be5e8704ce60e
Reviewed-on: https://gerrit.libreoffice.org/21228
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 09:59:20 +00:00
Ras-al-Ghul
accc12efd1 tdf#96888 Kill internal vcl dog-tags ...
Did a small change to static bool ImplCallCommand( vcl::Window* pChild, ...) in winproc.cxx file. Patch No. 7

Change-Id: Ib2929ff2fe98487461f2d8ec768fab8d4cd45c22
Reviewed-on: https://gerrit.libreoffice.org/21221
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 09:55:08 +00:00
Ras-al-Ghul
6ac256da90 tdf#96888 Kill internal vcl dog-tags ...
Did a small change to short Dialog::Execute() in dialog.cxx file. Patch No. 3

Change-Id: I0ce2f62caea2d0aad4ced48df30d924f87de3c40
Reviewed-on: https://gerrit.libreoffice.org/21215
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08 09:52:42 +00:00
Xisco Fauli
5821c8949e tdf#96364 SVG: Parse 'color' and 'style' before the rest of attributes
'fill', 'stroke' and 'stop-color' might depend on them

Change-Id: I8b709dafe0ad0423a87911af7f2c83fa81e61cbd
Reviewed-on: https://gerrit.libreoffice.org/20653
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-01-08 09:36:24 +00:00
Xisco Fauli
0cae9c32ce tdf#96046 SVG: Change logic to parse doubles correctly and..
add support for font-size keywords.

My previous commit fa17cfd7e006c73f1360a5a974f38d9875f347c5
was wrong as doubles like '-10.0' or '5e1' were ignored.
Change logic to parse the whole string but the units ( 'cm',
'mm', etc, etc)
Then, value.toDouble() will try to convert it to double, and
if it's not possible it will return 0.0.

Besides, add support for font-size keywords described here:
http://www.w3.org/TR/REC-CSS2/fonts.html#font-size-props

Working on a parse test for this section.

Change-Id: I2b9c89225fcf63f1a0564abf7187097373cbc9a1
Reviewed-on: https://gerrit.libreoffice.org/20379
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-01-08 09:35:20 +00:00
Marco Cecchetti
6b7d41094d lool - page border shadow can be disabled
Support for text documents and presentations.

Added a command line option for gtktiledviewer:
--hide-page-shadow.

Reviewed on:
	https://gerrit.libreoffice.org/21210

Change-Id: I1e427693d7af40cb5731d1730ac5b7c486d45c29
2016-01-08 10:33:44 +01:00