Commit graph

320951 commits

Author SHA1 Message Date
Bjoern Michaelsen
bece6c3a55 fdo#60924: move ctl from scp2 to gbuild
Change-Id: If2b1df2e71f6f206bff0951205490283e481c199
2013-02-25 15:54:59 +01:00
Bjoern Michaelsen
afab854df6 fdo#60924: move chartcore from scp2 to gbuild
Change-Id: I6619cb27b1e49eb4ee7a91ad5e6f09f2b617e514
2013-02-25 15:54:59 +01:00
Bjoern Michaelsen
95e8e17558 fdo#60924: move chartcontroller from scp2 to gbuild
Change-Id: Ifba88d55c6fa9f86d46b2460aca9d62e0d47fee7
2013-02-25 15:54:58 +01:00
Bjoern Michaelsen
e06f62edbe remove STD_FILTER_FILE -- its essentially the same as STD_LIB_FILE
Change-Id: I98019eabc170b638275531036012cf8812e7f43c
2013-02-25 15:54:58 +01:00
Miklos Vajna
5e992f88d9 n#793998 SwTxtCursor::GetCharRect: respect TabOverMargin compat mode
Change-Id: I47280399bd9e0757365db8f4f1930efd0a340424
2013-02-25 15:09:06 +01:00
Miklos Vajna
cb6d8b9063 SwTxtCursor::GetCharRect: restore comment removed in 1b081132
Change-Id: I2d6cf0afad4d5237b44e21be051f6f593a12830d
2013-02-25 15:09:06 +01:00
Radek Doulik
251adf0222 Revert "allow WMF's with missing EOF record"
This reverts commit 199f0edc93.

the problematic emf+ file with embedded wmf suffered from different problem
so I reverted this fix as it is not needed
2013-02-25 15:08:30 +01:00
Radek Doulik
41cfd0fd9d workaround for emf+ files with broken dataSize of Image object record
Change-Id: I5005961e1b618af949dc978a7ac560fc9eca3e65
2013-02-25 15:08:30 +01:00
Jan Holesovsky
804f47a893 fdo#55931, fdo#57956: Fix both autofit and stretched width.
This rewrites commit fa694a21b8 (fix of
fdo#55931), and fixes it a better way.

Change-Id: I9ac0c78294e6a9c510c12b22547564b736416131
2013-02-25 15:08:05 +01:00
Tor Lillqvist
e6cccd3df8 Use __android_log_print() instead of fprintf(stderr)
Printing to stderr is not at all any faster or more direct in an Android app
than just using the Android standard logging API.

Note that in a normal Android app, stdout and stderr are not connected
anywhere. (Just like in "GUI" subsystem (as opposed to "console") Windows
programs, heh.) It is our own code in sal/android/lo-bootstrap.c that
redirects stdout and stderr to pipes which we set up and which are read in a
separate thread that we start. The lines read are then, surprise, passed on to
__android_log_print(). Thus writes to stdout or stderr in "normal" LibreOffice
code aren't lost.

But in code that is by definition Android-specific it makes little sense to
use stdout and stderr.

(Much of the affected logging in this change is in NativeActivity-related #if
0'ed code, sure, so won't actually be reached.)

Change-Id: I409114f36f3e535bb144b4bde0d378110b3336a1
2013-02-25 15:46:34 +02:00
Tor Lillqvist
511b9fefe2 Use actual size of view instead of hardcoded 1000x600
The View size is available only after the view has been connected to the
activity, it seems, so move the Bitmap creation to onDraw().

Note that the code in SvpSalFrame::SvpSalFrame() in vcl/headless/svpframe.cxx
still hardcodes another (!) size, 800x600. This affcects the size of the
desktop-style "top-level window" displayed by the android/experimental/desktop
app. I didn't yet figure out the right way to pass the actual view size to the
SvpSalFrame. And there is also a hardcoded third (!) size, 1280x750, in
AndroidSalInstance::GetWorkArea(), although I don't know what that affects, if
anything.

Change-Id: I042bf764cd66efa7069c36601170b90d57fa174c
2013-02-25 15:44:19 +02:00
Michael Stahl
6e18e1f54b get-bugzilla-attachments-by-mimetype: add "application/vnd.visio.xml"
Change-Id: I113f7bf3fd4194011efe83b1776ca42ad489f652
2013-02-25 14:27:07 +01:00
Michael Stahl
bf8450cfa2 fdo#59405 fdo#60638: EMFWriter::ImplWrite: write EMF_PLUS "comments"
When editing the Visio OLE object, there is a "preview" file generated,
which is apparently an EMF file (strangely initially inserting the Visio
object seems to result in a totally unproblematic WMF file).
The EMF file apparently has almost its entire content stored in
MetaCommentAction of type "EMF_PLUS", which is thrown away when writing
the file again.

Change-Id: I77a08454da673c1825aaa8421606737e7e8bc82c
2013-02-25 14:27:07 +01:00
Michael Stahl
ec0d1440cf fdo#59405: cppcanvas: fix infinite loop in processEMFPlus
This can be observed when inserting the bugdoc from fdo#59405.
Apparently the "size" and "length" do not agree; ensure that the
"length" does not underflow.

Change-Id: Idfc68919859b8284c724831de21208e4392af328
2013-02-25 14:27:07 +01:00
Michael Stahl
0cf6433117 fdo#59405: initialize members of TransferableObjectDescriptor
The mnViewAspect member is otherwise only initialized if a
SOT_FORMATSTR_ID_OBJECTDESCRIPTOR thingy is in the clipboard, which only
happens if the clipboard source is OOo/LO.
When inserting an OLE object, the value MSOLE_CONTENT apparently results
in requesting the current size from the OLE object, which looks much
better than the square default.

Change-Id: I8c7fb80a8ae88272f1ecaf3a375bef5d917f2a5b
2013-02-25 14:27:06 +01:00
Michael Stahl
e97062ef8c vcl: GDIMetaFile: log some exceptions
Change-Id: I98794721c21231800d7d28cbdd34dd300b69a9c2
2013-02-25 14:27:06 +01:00
Michael Stahl
113a927341 cppuhelper: log failures from osl_loadModule calls
Change-Id: I37099d15cd403f48ca1716414f2e79cc1213d8c8
2013-02-25 14:27:06 +01:00
Michael Stahl
0e273d6fb8 gbuild: ComponentTarget: rebuild if library names change
Stale component files result in failure to load libraries in incremental
builds; because rebuilding these is fast just depend on the 2 Repository
makefiles that define the library file names.

Change-Id: Ia72a0460d3bb8bceb0e17334415ca3dde0401c24
2013-02-25 14:27:06 +01:00
sadam36
93a9744212 fdo#60724 - change 'charcter' to 'character'
Changed all occurrences of 'charcter' found by git grep. All of them
were used in comments only, so it should not break anything.

Change-Id: Ief2c00d929ae7972c55a4920fc0eaa8d6b18ab82
Reviewed-on: https://gerrit.libreoffice.org/2372
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-02-25 13:19:12 +00:00
elixir
5269589ae4 fdo#38838,::rtl::OUString_to_OUString
Change-Id: I7c9ebd01c16ff066008e53de865560ad78215bab
Reviewed-on: https://gerrit.libreoffice.org/2330
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-25 13:00:14 +00:00
Caolán McNamara
c1d3315e8d Related: fdo#60764 APPFONT is 1/8 avg char *height* & 1/4 avg char *width*
but *sob*, it's not really that, because there's a dialog scale factor which is
per-language which adds a bit to it depending on the language, MAP_REALAPPFONT
is the unscaled variant.

but *head in hands*, it's not really that either because if the font was
considered "too narrow" then the average char width is recalculated in terms of
the average char height.

*clenches teeth*, add a approximate_char_width and use it directly. It can be
considered the rough equivalent of
pango_font_metrics_get_approximate_char_width albeit that it retains the same
crude 1/8 of the width of "aemnnxEM"

Change-Id: I4c135ca03467447dddf279ac0c187b13371acadb
2013-02-25 12:57:52 +00:00
Bjoern Michaelsen
423932fe18 slashes in configure options are a Bad Thing(tm)
Change-Id: I92cc8be5c6359e99b57967ae54e6814d07d0e47d
2013-02-25 13:51:20 +01:00
Jan Holesovsky
ff4ed84228 gen_update_info.pl not needed, we generate the update info on the server.
Change-Id: Ib841747b10a1d0cda54b2b05a813760d1a50a3fa
2013-02-25 13:37:42 +01:00
Bjoern Michaelsen
62bf424fa8 remove dead code
Change-Id: I1dd71baf48a0b5b62c73c9f8f071ff67520cc771
Reviewed-on: https://gerrit.libreoffice.org/2383
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-02-25 12:25:50 +00:00
Ricardo Montania
fbf28e9661 CreateFromAscii removal
Change-Id: I4596d78620936770f3aca3207cdc19f71197eb75
Reviewed-on: https://gerrit.libreoffice.org/2345
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-25 12:18:21 +00:00
Chris
f37335da6a Remove unnecessary commented code that appears to do nothing whatsoever.
Change-Id: Ic548b8b0b4a9111f24fe0036bb50abaef03f4a2f
Reviewed-on: https://gerrit.libreoffice.org/2382
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-25 12:16:28 +00:00
Bjoern Michaelsen
6ac759dde1 remove specialcasing for old internal sun wiki
Change-Id: Idb8efc3f900172dea2ded6b7aa39e0b6f8fe49b7
2013-02-25 13:00:00 +01:00
Radek Doulik
199f0edc93 allow WMF's with missing EOF record
Change-Id: Ifb38336863979890f1bc3de779d82454b4a5c185
2013-02-25 12:54:21 +01:00
Stephan Bergmann
c68c99ec8c Revert inadvertent change
Change-Id: I203ad92e8a006d1f262203852f05108706a90ee4
2013-02-25 12:45:58 +01:00
Caolán McNamara
3262140e29 Updated core
Project: help  6e3f40c9ca05ba234fac04074f594530f2e89e75
2013-02-25 11:09:41 +00:00
Stephan Bergmann
3ab58bed93 xmlreader does not depend on any offapi .idl files
Change-Id: I5f008ba23c7f55a53d2b39cb235b27208b7743c5
2013-02-25 11:57:03 +01:00
Caolán McNamara
23a133dfe7 drop various dangling makefile.mks
Change-Id: Id76b57a1ef2edbb05f1d22a624caad077275ac74
2013-02-25 10:53:56 +00:00
navin
2738fa9fdc fix fdo#38951, use paragraph’s writing direction.
In case of RTL, we want bullet text e.g. “1. ,1)” to be reversed
e.g. “.1,(1”, so we need to check only paragraph’s writing direction
and pass that direction to DrawingText().
and fix drawing position calculation logic.

Change-Id: I303dc1b04ae5e66b1b5d25a40794be308f36668b
Reviewed-on: https://gerrit.libreoffice.org/2348
Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2013-02-25 10:51:35 +00:00
Bjoern Michaelsen
27ff1d2eb9 move nss, neon, graphite to macro check too
Change-Id: Iaa8ee970042c5260eb3d1199bf31f6495c449f40
Reviewed-on: https://gerrit.libreoffice.org/2370
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-02-25 10:15:59 +00:00
Stephan Bergmann
a66bb33581 cppu does not depend on any offapi .idl files
Change-Id: I22150c0247ec98bd0e764a439a15ceaa7f42b029
2013-02-25 11:08:29 +01:00
Fridrich Štrba
392691c91f Uploading libvisio-0.0.25 fixing fdo#60433
Change-Id: I854fd87a21fc63a5c274b38831589b3d76379e25
2013-02-25 10:54:29 +01:00
Michael Meeks
c1d8a95a04 re-factor AFM metric reading to simplify signatures.
Change-Id: I77433ff3926b6f8e2968b30451acf8acbbb4deb3
2013-02-25 09:44:19 +00:00
Michael Meeks
cb8fcf5a16 perf: avoid scaling images to the same size at some cost.
Change-Id: Icae65a8bf48f76801c536607055be066be0bd49f
2013-02-25 09:44:19 +00:00
Maxime de Roucy
50822d4405 testcase for fdo#53594
Change-Id: I834b3cf0b5a46627ff0b532e27a73deeaefe7c47
Reviewed-on: https://gerrit.libreoffice.org/2376
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-25 09:43:45 +00:00
Maxime de Roucy
0c9afe307e RTF IMPORT : considere OLE objects as pictures
resolve fdo#53594 : Import RTF file but ole are not well positioned in
table/cells

If the OLE object is in a container, don't try to import it as
OLE object (use the \objdata element) but use the \result element which
is the appareance of the object (it's a picture).

Change-Id: Id97b36ce89beae02885cf82383321c14b58f2ea5
Reviewed-on: https://gerrit.libreoffice.org/2243
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-25 09:43:32 +00:00
Stephan Bergmann
54a8acb3d6 Last use of obsolete gb_*_add_api is long gone
Change-Id: Ia6c938ef0e45ec86c0c202e95ef28d49fccd3497
2013-02-25 10:39:21 +01:00
navin patidar
6708ad7f1b fix fdo#60533, Set TEXT_LAYOUT_BIDI_STRONG flag.
Stop ImplLayoutArgs::ImplLayoutArgs() to perform
ubidi algo on text by setting TEXT_LAYOUT_BIDI_STRONG flag.

Change-Id: I7222517c1db6649eef0c0d9c11cbbbed1fc6bb04
Reviewed-on: https://gerrit.libreoffice.org/2076
Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2013-02-25 08:19:34 +00:00
Tor Lillqvist
69800aa088 I am not so sure the --with-system-FOO-for-build options are superseded?
Change-Id: If1990e43938c5653cd7444cbaaf8ade1ab4f7d1e
2013-02-25 10:19:00 +02:00
Faisal M. Al-Otaibi
12de9b3361 Fix fdo#60855 RTL UI: handout show boxes out of page border
Change-Id: Ie0103d7c2911dcf184d39b5c394cffae4dbe122f
Reviewed-on: https://gerrit.libreoffice.org/2356
Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2013-02-25 08:04:42 +00:00
Peter Foley
2ba9023a60 add solenv to tail_build
Change-Id: Ib8987f0d45ed5360d49f3589b418209488267863
Reviewed-on: https://gerrit.libreoffice.org/2373
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-02-25 07:52:58 +00:00
Markus Mohrhard
a11f944b4c ocMacro and ocExternal need to be recalculated on load, fdo#60977
Change-Id: I9e69ca2feae44bc645e8a49e349557f0933a23eb
2013-02-25 08:16:31 +01:00
Markus Mohrhard
5d8548da36 use URM_COPY when copying cond formats, fdo#60306, fdo#60311
Change-Id: I7a232c27dd0c1eee6f389d30f46658500aaded47
2013-02-25 08:16:17 +01:00
Thomas Arnhold
76b3e61bb4 loplugin: unused variables
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
2013-02-25 05:43:16 +01:00
Thomas Arnhold
7cbeac07d2 Remove useless SfxStringEncode and SfxStringDecode
They return empty strings. SearchAndReplace is a stray declaration
from historic misc.cxx.

Change-Id: Ia7aa970a8ca200bd7bdc5ed688a8f00d092c9561
2013-02-25 04:16:08 +01:00
Thomas Arnhold
89003e9bd8 loplugin: unused variables
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
2013-02-25 03:14:01 +01:00