389611 Commits

Author SHA1 Message Date
jan iversen
4cbb7cdf1b genLang update
removed source/gHandler.cxx is now part of gLang.cxx
(and defined as a local class)

Change-Id: I6fccfb9d9cebe964ba4458cdea5121a44186c1ab
2016-03-14 15:09:19 +01:00
jan iversen
872755ac33 genLang update
convert l10nMem to lo standard

removed l10nMem_impl and added it direct to l10nMem

Change-Id: I7e226a8dab51fd52ecbc8da36068ebdfb5c1e17f
2016-03-14 15:09:19 +01:00
Susobhan Ghosh
bf8f926acc tdf#95845 Use CommandInfoProvider to receive UNO command labels
Added GetCommandPropertyFromModule to CommandInfoProvider.
Removed GetCommandText.

Change-Id: Ie987984b6465d540029196df371c0c0467999a59
Reviewed-on: https://gerrit.libreoffice.org/22918
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-03-14 13:48:26 +00:00
Caolán McNamara
0ee0e8010f Resolves: tdf#98638 sometimes menu grab doesn't take
due to older timestamp vs earlier grab. Which suggests we should probably use
GDK_CURRENT_TIME everywhere or (probably better) use gtk_get_current_event_time
everywhere

Change-Id: Ie04ab254b9fea423143cc9a129d2eecb683ed300
2016-03-14 12:52:37 +00:00
Noel Grandin
b9d63d49be remove some unused Java code
found by UCDetector

Change-Id: Ic0295a24b26e206eb53eda2da540755477df86df
2016-03-14 13:44:39 +02:00
Noel Grandin
8353667d35 com::sun::star->css in chart2
Change-Id: I04320d32d6d5c54e461cfabef58645f8b772bc69
2016-03-14 13:43:38 +02:00
Christian Lohmaier
6c47de4661 User-Agent: disable reporting of languages - also for installsets
extends 2a9095570a2430568f5c5e1c91edd6a717e099a6 to not only apply to
instdir, but also to packaged installers (that use data from scp2)

Change-Id: I446c521ce2b95549c2930275bee917c120c19e9b
2016-03-14 12:36:23 +01:00
Noel Grandin
43d57d105d com::sun::star->css in xmlsecurity/
Change-Id: I4b89f97671ab526e5731d2f1f99802e23f3fd4b5
2016-03-14 13:28:04 +02:00
Jan-Marek Glogowski
c3605e91a8 Fix build after oor:nillable TSAURLs change
Fixes the fallout from bd1a3e75738d65a3bdd615c106ea57a999d51376

Change-Id: Idfc019a034f3dd855ae85676962382879051e900
2016-03-14 12:16:08 +01:00
Marco Cecchetti
7fdc29469d tdf#95616 - fix flickering issue
Change-Id: I0d5bfdf44dde2cd06c193f34e81c6ce71291bba1
Reviewed-on: https://gerrit.libreoffice.org/23238
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-03-14 11:08:43 +00:00
Noel Grandin
218cd09611 inline some use-once macros
Change-Id: I7ebd8fe70b083a772118a1aab8cdfbf795d6f1e5
Reviewed-on: https://gerrit.libreoffice.org/23235
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-14 11:06:48 +00:00
Noel Grandin
f7965b0bcd remove some unused typedefs, and inline some use-once
Change-Id: I5ada1cff98c0a3e065d126444f8052f444323743
Reviewed-on: https://gerrit.libreoffice.org/23234
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-14 11:06:32 +00:00
Tor Lillqvist
03637a75c1 Fix what seems to have been off-by-one errors in glyph bounds calculation
For some reason the error had a visible impact (as far as I an see,
anyway) only for Graphite fonts. The bottommost pixels were cut
off. (Also leftmost, but that was not so easily visible.)

<tools/gen.hxx> Rectangle type, I love you.

Change-Id: I6f7438ec21d2bc1b9bef31cd70e649856f7ec7d5
2016-03-14 13:01:16 +02:00
Tim Eves
e45d80f20f tdf#97171: Use DirectWrite for OpenGL glyph caching
This is a squash of several separate intermediate commits, the most
relevant log messages of which are repeated here:

Refactor some previously private methods into public ones and
reimplement parts of D2DWriteTextOutRenderer to user them. Also
apply them to rendering the OpenGL glyph atlas, in an effort to
workaround some bugs in legacy Windows text rendering APIs.

I assume we want to initialise the rectangle with zero
left/right/top/bottom and not using the default constructor, which
sets the right and bottom coordinates to the magic value -32767. That
made the 'bound' rectangle end up with rather amusing boundaries, like
left=-32766, top=-16, right=-32576, bottom=6.

Try calculating a chunks ascent & height from the inkboxes rather than
using the font metrics which might not alway be correct when glyphs
inkboxes are tall than the ascent or lower than the descent.

Mark the mnAscent in the chunk bitmap debug output.

Fix several miscalulations in positioning glyph to be rendered into
that atlas.

Fix vertical alignment problems. Inkboxes are returned with all
co-ordinates relative to the glyphs not the fonts ascent.  Therefor
bounds.Top() is not the vertical overhang but the -ve height of the
inkbox above the baseline.  This fixes the calulation of the per Chunk
ascent.

Fix horizontal occsional alingment issues in OpenGL cached glyphs. The
left edge of the src location rectangle for the first glyph in a cache
chunk would set to extraspace and not zero, but all other rectangles
in the chunk would be set from the aEnds array. This produced a bug
where only certain letters would be mispositioned, proportional to the
fonts point size.

Rename OpenGLGlyphChunk::mnAscent to mnBaselineOffset to reflect curr
use.  Changed at Tor's stuggestion to better describe to it's use as
it's value would be per chunk and based on the maximum ink box bounds
of the glyphs in the chunk, rather than having anything to do with the
font's real ascent value.
2016-03-14 12:50:59 +02:00
Douglas Mencken
2a1b70c4b2 GetEnglishSearchFontName is what is supposed to use here
Change-Id: I210359c28b5e66b64627cb49cdf388ee35015a92
2016-03-14 10:21:17 +00:00
Caolán McNamara
1f780088e8 Resolves: tdf#94968 return false is expanding failed to add anything
Change-Id: I377c478f3f55c0b41c47ee025f2e09850ece56f3
2016-03-14 09:55:45 +00:00
Jan Holesovsky
0ce8320eeb Revert "tdf#98602 Duplicate code in onlineupdate/"
Unfortunately needs more work, I've pushed it too early...

This reverts commit e60506acc53098b4b479d565048c316562657cec.
2016-03-14 10:31:13 +01:00
Caolán McNamara
bd1a3e7573 configuration warnings about non-nillable properties with no default set
Change-Id: I5814f2e474e0ef5a37c5f43f8bb853219fd7981f
2016-03-14 09:28:25 +00:00
Ras-al-Ghul
e60506acc5 tdf#98602 Duplicate code in onlineupdate/
Converted libmar into static library and removed duplicated code

Change-Id: I6a6c8ce24103a400e1835ccf7e6421024f5cec4b
Reviewed-on: https://gerrit.libreoffice.org/23179
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-03-14 09:15:09 +00:00
Douglas Mencken
60286229fa scripting: JDK 1.5 compatibility: don't use java.awt.Font.MONOSPACED
MONOSPACED is defined in java/awt/Font.java as
/* @since 1.6 */ static final String  MONOSPACED = "Monospaced";

Change-Id: I31847c939387c139971ff55f786773c7ce51448c
Reviewed-on: https://gerrit.libreoffice.org/23164
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-03-14 09:08:38 +00:00
Björgvin Ragnarsson
894a858ffa Updated core
Project: dictionaries  62c77533b3ab49fd93252f72dda6beeff4c76892

Update Icelandic dictionary and thesaurus

Based on latest hunspell-is code and Wiktionary dataset.

Change-Id: Id48106c3ff0f61d5c0d415f06680b1253753d1e3
Reviewed-on: https://gerrit.libreoffice.org/23200
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-03-14 09:05:10 +00:00
Markus Mohrhard
7cdf055109 use unique_ptr for memory owning ptr
Change-Id: I26efcebf750ff9947b936e990ce87ddbcb41b7ba
2016-03-14 08:00:49 +01:00
Markus Mohrhard
82ed61ab26 fix memory leak in cond format xlsx export
Change-Id: I0f11b30b33abf029f56ccbd8c0eb95b0acd35df4
2016-03-14 08:00:49 +01:00
Norbert Thiebaud
982fcf11b7 Revert "tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals"
This reverts commit 0c3ff8ca07265304f9ea0a7aca8c83703cff01a1.
that was breaking debug and dbgutil build on windows (at least)

Change-Id: Ide58bd4551029bb4e1ef791bb65ad191fbb25cae
2016-03-13 22:12:53 -05:00
Caolán McNamara
ea943b3bad quieten debugging soffice startup
Change-Id: I3f9ef32d789b7b344cc09bbed6f344e428a31ca4
2016-03-13 20:51:50 +00:00
Caolán McNamara
a6435dc298 coverity#1355505 Uninitialized pointer field
Change-Id: I95259c8a572529f47ef4fddf59f9ca29d078b6f4
2016-03-13 20:48:16 +00:00
Caolán McNamara
e1c9efceae loplugin:cstylecast
Change-Id: I2d03c5054ef1b863052b221c0740ed3bb993600e
2016-03-13 20:31:03 +00:00
Markus Mohrhard
3887e8439a fix memory leak in array xls import
The ScMatrix instances are leaked because there is no DecRef called on
them when we Reset the TokenPool.

Change-Id: Ie5e1a10c6be94b45df784c04f6db744928f213ff
Reviewed-on: https://gerrit.libreoffice.org/23194
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-13 20:21:02 +00:00
Christian Lohmaier
98d48dad9e tdf#98416 fix curl's configure check for nss (missing -lnssutil3)
without -lnssutil3, the configure check for nss fails when using
internal nss:
configure:24028: checking for SSL_VersionRangeSet in -lnss3
[…]
…/UnpackedTarball/nss/dist/out/lib/libnss3.so: undefined reference to
`NSSUTIL_ArgParseModuleSpecEx@NSSUTIL_3.21'

causing curl to build without ssl support:
SSL support:  no (--with-{ssl,gnutls,nss,polarssl,cyassl,axtls,winssl,darwinssl} )

This makes gdrive and other remote file methods fail

Change-Id: I098feb10a760c2f80a474d9205d6f1e403477efd
2016-03-13 15:38:13 +01:00
Markus Mohrhard
a4bd382c8a add assert preventing memory leak
Change-Id: I0c659bf4fab2319f06df09dd11a768a295e95722
2016-03-13 14:13:54 +01:00
Markus Mohrhard
d565391dff this old concept was just a bad idea by me
Change-Id: Ib13a7a252bdb3f54e520076666f98498c10b4d47
2016-03-13 14:13:54 +01:00
Markus Mohrhard
70b4de3257 no need for strange assert fail message
Change-Id: Id982d0b12e18213a8d76a2d562109d7e2a41d8b5
2016-03-13 14:13:54 +01:00
Markus Mohrhard
424966f0e9 fix strange memory leak in VclBuilder
Change-Id: Iba34c25b19a94a8d4c147f8ccaef95f34183414b
2016-03-13 14:13:54 +01:00
Caolán McNamara
342d3f45e2 loplugin:stringconstant
Change-Id: I80e034bc3718ddb9bb518073653e374133e6ab6f
2016-03-13 11:26:12 +00:00
Markus Mohrhard
d629547f4a fix indetation
Change-Id: Iea12f654d737cfdadae99461ff996220fcb7901c
Reviewed-on: https://gerrit.libreoffice.org/22575
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-13 10:40:41 +00:00
Tor Lillqvist
09bea7e0ee Add a README to avoid unrealistic expectations
Change-Id: If9b2f7e660457dd123e991f45f05e1b1cb4d3528
2016-03-13 09:06:20 +02:00
Norbert Thiebaud
02de3a5206 vcl graph: stop abusing a pointer for a bool
Change-Id: I816fe3a52c03fa5a3fd372492985783f9f6ff91c
Reviewed-on: https://gerrit.libreoffice.org/23181
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-03-12 21:19:58 +00:00
Caolán McNamara
bc573d6220 WaE: loplugin:stringconcat
Change-Id: I28a106e978cdfd70847737784f9bff6ae365fda7
2016-03-12 21:10:05 +00:00
Caolán McNamara
e22618a355 Resolves: tdf#92067 with duplicate menu entries track which to activate
rather than just stick 2/3/4 at the end embed that this is a dup as the
prefix and strip that off at dispatch time and pass the dup index around
as a counter to how many dup candidates to dismiss to find the desired
one.

Change-Id: I81d97090a7e9b8c2995a3b27934f3ee5636d05fe
2016-03-12 21:05:07 +00:00
Kohei Yoshida
0cead356b8 Update liborcus to 0.11.1.
This is mostly a build-fix release, to absorb patches previously applied
locally.

Change-Id: I1d1808c3ca27f04f89f4df6c0b40a646ca07d242
Reviewed-on: https://gerrit.libreoffice.org/23180
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2016-03-12 20:46:49 +00:00
Julien Nabet
6c14281211 Remove some unused include stdio (svx)
Change-Id: Ide50d9dc67b9383bd7c0f4e710ea04e5d6892b02
Reviewed-on: https://gerrit.libreoffice.org/23175
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-03-12 16:26:48 +00:00
Markus Mohrhard
602f4c8a61 fix memory leak in copy_paste test
Change-Id: If16f6c0cb4d2bd2ae820b62fc7d563df09b27bbb
2016-03-12 17:20:17 +01:00
Markus Mohrhard
22ea08bdb5 fix memory leak in cond format export
Change-Id: I3c0379dfa972cb552382153f3d363eaf3bfe604d
2016-03-12 17:20:16 +01:00
Markus Mohrhard
867bf5b48e fix memory leak in change tracking export
Change-Id: Idffa7c4a9c9519c150458db3749e7b67fbbb463c
2016-03-12 17:20:16 +01:00
Markus Mohrhard
a0ac896fea fix memory leak in bugfix_test
Change-Id: I944d2be4290cd381c3bee93ce12f67695bbb7ce8
2016-03-12 17:20:16 +01:00
Markus Mohrhard
98abd6bbed ignore a few low level libc leaks for now
Change-Id: I9899ee038a3ed323b77985f63fe189fc39ac1998
2016-03-12 17:20:16 +01:00
Markus Mohrhard
a9c3b23c3b fix memory leak in pivot table code
Change-Id: I191e2748980b627b38e604ad456612535bda0302
2016-03-12 17:20:16 +01:00
Jean-Pierre Ledure
259fc9f32e Access2Base - Correct error message and other typo's
Change-Id: Ia046bcd8ca8e90566348b507f18d881030bd64c3
2016-03-12 16:11:03 +01:00
Julien Nabet
33b2d58895 Remove some unused include stdio
Change-Id: Ifdb9d133237eecd3132dffb0f85c005beac169d2
Reviewed-on: https://gerrit.libreoffice.org/23174
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-12 14:43:17 +00:00
pasqualm
a6ca4ec7f5 tdf#97978: add support for opening mde and accde files in base
This patch modifies the base 'open existing database' wizard so accde and mde files
can be chosen as targets for access and access 2007 databases. Both file types are
the runtime-only equivalents to accdb and mdb files so base can use them in the
same way as does with the former

Change-Id: I5b6002089a2d3c19498ff6e05bae3facc5a4e2d0
Reviewed-on: https://gerrit.libreoffice.org/22957
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-12 14:40:06 +00:00