Commit Graph

327618 Commits

Author SHA1 Message Date
David Tardon
dfc155edb1 fix generated deps on headers in $(OUTDIR)/inc
Change-Id: Id4d03f2d500e8fcec4b6ead5365eaffbd0ece19f
2013-05-25 10:27:49 +02:00
Caolán McNamara
979def8809 Revert "Resolves: #i119874 Fixed text alignment in RTL layout."
This reverts commit 54c679f481.

pushed that too soon before verifying if it does what it says
it does
2013-05-24 20:58:32 +01:00
Oliver-Rainer Wittmann
3bcbc800a5 Resolves: #i120529# abort print controller job, if no pages will be printed
(cherry picked from commit aad8d0b80c56b956ce674e713d4d09a077e20f68)

Change-Id: I7c341961370ce12de1aeb8f0caed18f2dc496390
2013-05-24 20:44:39 +01:00
Mark Wielaard
38de05c720 Robustify and fix leak in NBOTypeMgrBase::ImplLoad().
The >>operator of SvStream doesn't initialize a variable if the stream
is faulty. So initialize the variables before usage. Also delete the
SvStream even if it was faulty.

Change-Id: I5a7f31016e060c3b9fb4f0fd1889f444877cb89d
Reviewed-on: https://gerrit.libreoffice.org/4031
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-05-24 19:36:52 +00:00
Mark Wielaard
a602bd1a69 Fix memory leak in DrawViewShell::GetAttrState().
DrawViewShell::GetAttrState() might create a temporary new SvxNumRule
object. Make sure it gets deleted when done.

Change-Id: I33ddd9df983193fe87dd076267043d202cdfc3d5
Reviewed-on: https://gerrit.libreoffice.org/4020
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-05-24 19:25:57 +00:00
Caolán McNamara
fd6da32cb1 blasted headers in new locations thinko
Change-Id: Iab62e87ed59061ee05daeae4ecd691c119a96b82
2013-05-24 20:14:25 +01:00
Caolán McNamara
5f88e8e649 this themeing thing doesn't actually do anything
both branches are the same and the set/get aren't
called anyway.

originally introduced with d02f75a8c3

Change-Id: I94399bba0fa259bfafcc214e2df15f172d32374f
2013-05-24 19:00:32 +01:00
Andre Fischer
54c679f481 Resolves: #i119874 Fixed text alignment in RTL layout.
Reported by: Li Feng Wang
Patch by: Jianyuan Li
Review by: Andre Fischer
(cherry picked from commit 57fdcdd79d1682ee7d5e88fbab3803631496afa2)

Conflicts:
	filter/inc/filter/msfilter/svdfppt.hxx
	filter/source/msfilter/svdfppt.cxx

Change-Id: I6adae6d40ff106caeea2b9310a57228257d79404

Related: #i119874# Missing part of patch.

Patch by: Jianyuan Li
(cherry picked from commit a7dc3e8b82c87b138c973f1434717d634ed8dc67)

Change-Id: Icff3e1167ab780612ad47775aaa39c9baa99c70f
2013-05-24 18:55:27 +01:00
Pedro Giffuni
f31e6debfa A miscellaneous use of boost.
Sinc(x) is a simple function used in communications. boost
happens to use it for quaternion math. The implementation is
simple, however it looks fun to re-use the boost function
even if just to say we are using quaternion math somewhere ;).

The performance difference is not likely to be huge but JIC,
set up a specific Boost math policy to limit type promotion
with it's corresponding impact.
(cherry picked from commit d1f61b3f3564ca5421a13b77e4c7c78bb409e9e1)

Conflicts:
	vcl/inc/vcl/bitmap.hxx

Change-Id: I5f01db1688eedee25a2943ca3aa6e957b400c759
2013-05-24 18:54:38 +01:00
Tor Lillqvist
f55c6464fb WaE: 'static_cast' : truncation of constant value
Change-Id: Icbb624b1441330406c0930aa6f1f15ffc9b138b8
2013-05-24 20:12:19 +03:00
David Tardon
ef07d31463 gbuild: register freetype
Change-Id: I2b586e37906cf633d035e28fbf279eeffd17ef6c
2013-05-24 17:57:29 +02:00
David Tardon
ca370e425a gbuild: don't register fontconfig and freetype twice
Change-Id: I090d7d99a1f618c73a8d82fe2e95932d61ea1099
2013-05-24 17:43:03 +02:00
Samuel Mehrbrodt
aa36079760 Add Corel Draw and MS Publisher MIME Types to Draw
Change-Id: Idbaa8cea7427db3103954c6c60aa7caa6784a3ba
Reviewed-on: https://gerrit.libreoffice.org/4022
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-05-24 15:24:59 +00:00
David Tardon
61695f1aef add missing endef
Change-Id: Idf448a865ad49eb67684589d9d669bff5911b0d6
2013-05-24 17:15:20 +02:00
David Tardon
07e1da75a4 kill and bury $(OUTDIR)/inc
Change-Id: Ifaac9bd368cb62abba5ebea315939c91856d0ee0
2013-05-24 16:52:02 +02:00
David Tardon
e9c48a952d stop delivering globlmn.hrc
Change-Id: Ibcc9679b37f22fdfb6a53503b252f55a52834fbb
2013-05-24 16:52:02 +02:00
David Tardon
6f9d8211a1 stop delivering libwps headers
Yes, I am impatient .-)

Change-Id: Ic3a51ffc0a151e8ae71f8d2ff067ea4c3ad1c6b2
2013-05-24 16:52:02 +02:00
David Tardon
c51a2542f5 do not deliver libwpg headers
Yes, I am impatient .-)

Change-Id: I3d9c292b0d86bc1dd40a574272a43d8178f3a3b3
2013-05-24 16:52:02 +02:00
David Tardon
87a22d6a23 add missing modelines
Change-Id: I84028e254ed1bea71321da11be2027577ce4fa85
2013-05-24 16:52:01 +02:00
David Tardon
962771f7d5 stop delivering freetype headers
Change-Id: I8e14cc411520272969cfd24048e403b9fd53cde4
2013-05-24 16:52:01 +02:00
David Tardon
4eb68428f6 stop delivering fontconfig headers
Change-Id: Idb11e26ddf19c5424b838586dbd1d8d34a93cf23
2013-05-24 16:52:01 +02:00
David Tardon
0f8a90cff1 stop delivering libodfgen headers
Change-Id: I6402ef93bec9bf996089dcef702081b9853b9a0c
2013-05-24 16:52:01 +02:00
David Tardon
f16f366802 stop delivering libcdr headers
Change-Id: I2baf55f41bc4f2fa934db3580103cebaeb60155c
2013-05-24 16:52:00 +02:00
David Tardon
df7b863705 gbuild: allow to call Postprocess targets from top level
Change-Id: Id2755144f5942b4aeaaca8ef6dad0fcb11ddf76a
2013-05-24 16:52:00 +02:00
David Tardon
f546f4fc96 gbuild: simplify reg. of targets for Postprocess
Change-Id: Id184df89c5c15c55e42f376ed06c83174c486f67
2013-05-24 16:52:00 +02:00
Caolán McNamara
1d95129bdc show the 'java' options page when java disabled
because there are now a bunch of unrelated to java things in there in its new
incarnation as the "advanced" tabpage

this removes the weird empty tabpage in options
in the java-disabled-at-build-time configuration

Change-Id: Ie59d8362d440c41e746b67a0195e4159848f162a
2013-05-24 15:24:48 +01:00
David Tardon
cdad97557a fix syntax errors in python wizards
Change-Id: Ia237a0095c2cc783f52224bdde5d525baafacc52
2013-05-24 16:21:55 +02:00
Andre Fischer
e31d408ca6 Resolves: #i120481# Add registered transferable flavor...
to make the Writer accept column headers dragged from database tables.
(cherry picked from commit a32aabba57b53f581691f60e5484a6ddf3deb9f2)

Change-Id: I63d41c8000cdfc7f0b2ca28e83aaedf2e822e64d
2013-05-24 14:58:21 +01:00
Caolán McNamara
7766874d71 Updated core
Project: help  9d599487454a75a8076f2e40eace959ac58824fb
2013-05-24 13:52:51 +00:00
Tor Lillqvist
f2b31d2958 WaE: unused parameter ´other´
Change-Id: I13dc9ac0fcbf515df3f44ab18e0fee9cfb8ef239
2013-05-24 16:34:04 +03:00
Fridrich Štrba
6874228b09 Different, less intrusive fix for the boostsystem goodness
Change-Id: Icab27a0a8195f5a0fb81a51c4609dfb93036343d
2013-05-24 14:47:11 +02:00
Fridrich Štrba
cdabc886f6 Revert "Rename Boost libraries when built internally to match conventions"
This reverts commit 3aeecc525c.
2013-05-24 14:46:28 +02:00
Tor Lillqvist
3aeecc525c Rename Boost libraries when built internally to match conventions
The standard Boost convention is for them to be called libboost_date_time and
libboost_system (with apropriate suffix then depending on type).

Did not touch the libboostthread library we build for Windows.

Add the ax_boost_thread.m4 file for completeness and possible use.

Document where the ax_boost*.m4 files come from.

Change-Id: Ib49bee71398d62c9760a1f8fd5c46be9f3400430
2013-05-24 15:03:45 +03:00
Tor Lillqvist
58b9060b5f Fix Boost endianness detection for Android
Change-Id: I88006cced5975fc0748b33094ae39197daba49cc
2013-05-24 14:58:56 +03:00
Tor Lillqvist
d972b212f6 WaE: "__GXX_EXPERIMENTAL_CXX0X__" is not defined
Change-Id: I66447ffe1a5f364377b80756f6c08f6986ce4eef
2013-05-24 14:58:08 +03:00
Noel Power
eb9bf904b5 Revert "improve cell style xls[x|m] import performance"
This reverts commit 4190fd92c6.
2013-05-24 12:35:12 +01:00
Noel Power
cd689259bc Revert "reorg styles code slightly, process normal (and row ) style in own method"
This reverts commit 9ae9b2f665.
2013-05-24 12:35:12 +01:00
Pedro Giffuni
7a6cc8bb59 Resolves: #i55055# Simplify pythonscript.py code
author:	hanya
(cherry picked from commit e945b49105bab50700274f797e41d1446a70641d)

Conflicts:
	scripting/source/pyprov/pythonscript.py

Change-Id: Ia019a737c5f80d3af9fc50aefcda6f5b00987513
2013-05-24 12:16:48 +01:00
Caolán McNamara
a591f0dd0f adapt code to spacing dialog .ui conversion
Change-Id: I4ec9444b3ad0d243fda0d93547f000cb7296c0bc
2013-05-24 12:07:17 +01:00
Caolán McNamara
4881ec4acc sync the menubutton size request and draw calculations
Change-Id: I122254532dfe8ecd9c3118622bf24b50f885a0f6
2013-05-24 12:07:16 +01:00
Caolán McNamara
dbfafb5475 after 14 years I think we can forget about this titchy FIXME
Change-Id: I95472eb49975861721f5bd6e174b7cb05defe203
2013-05-24 12:07:16 +01:00
Miklos Vajna
2e2a4827ce scripting: get CreateUnoDialog() work again
Trivial reproducer:

Dim Dlg As Object
DialogLibraries.LoadLibrary("Standard")
Dlg = CreateUnoDialog(DialogLibraries.Standard.Dialog1)
Dlg.Execute()
Dlg.dispose()

Regression from 6c61b20a8d.

Change-Id: Ia62778c6d94f54e6097a307701e5c81be847665d
Reviewed-on: https://gerrit.libreoffice.org/4023
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-05-24 11:06:40 +00:00
David Tardon
02d03eb4ad fdo#64279 do not crash opening report for editing
There are two problems:

1) The classes derived from SdrObject cache their SvxShape, but do not
   implement impl_setUnoShape().

2) There is a lifetime issue in association of a SdrObject and its
   SvxShape. SvxDrawPage::CreateSdrObject not only creates a new SdrObject
   for a shape, but also inserts it into the page. At this point, the shape
   has not been attached to the object yet. That means that the object
   creates another shape at one point during the InsertObject call,
   which is then destroyed again. But reportdesign shapes own their
   objects, which means that destuction of the shape causes destruction
   of the object too...

   My first idea was to disable the insertion in
   SvxDrawPage::CreateSdrObject, but it has been there since the dawn of
   time, so I did not gather the courage to do that. Instead, I put in a
   hack to allow to skip the insertion.

Change-Id: I888a54067be1934578434d8b476a13a7ff8d02b3
2013-05-24 12:47:13 +02:00
Noel Power
9ae9b2f665 reorg styles code slightly, process normal (and row ) style in own method
Change-Id: I701d12cf8f672824d7cfca1e995f02040fdd3095
2013-05-24 11:18:13 +01:00
Noel Power
4190fd92c6 improve cell style xls[x|m] import performance
This change reorganizes the styles by column ( and by row ranges in that column )
so we can apply ScAttrEntry entries directly via Document.SetAttrEntries(...) this is
what the binary filter does also.

Change-Id: Ice1130d7afccf0be77db24a12f2515eca9c88713
2013-05-24 11:18:13 +01:00
Tor Lillqvist
596f81b640 WaE: unreferenced local variable
Change-Id: I162574ccf28c88c379e7cc3f88cfe83bc13dc5d4
2013-05-24 12:40:47 +03:00
Tor Lillqvist
c535cc8ff6 Avoid automatic linking to Boost libraries in a Windows build
The library names used in these pragmas dont match what we build
anyway. Whether that should be fixed to conform with "normal" Boost
usage or not, don't know.

Change-Id: I37cb3ff7b340f3362dd7b0fb18ab22188ba54cf6
2013-05-24 12:40:47 +03:00
Tor Lillqvist
b5751caa1c Disable also C4913: user defined binary operator ',' exists but ...
MSVC generates the warning "user defined binary operator ',' exists
but no overload could convert all operands, default built-in binary
operator ',' used" when iterators from newer Boost are combined with
comma expressions, as in for() statements. Or something like that.

Change-Id: I3225d07ad0d1e05f4deeb784cf2ec081748b1ab4
2013-05-24 12:40:47 +03:00
Tor Lillqvist
74943b31e8 Make this patch apply in the correct location
Why do we accept fuzzy matches?

Change-Id: I5ed2e4f9aae873f701e8276751b3c25ce8d93879
2013-05-24 12:40:47 +03:00
Tor Lillqvist
e9f0133f90 This is already in bost 1.53
Change-Id: Ibde92f39ac53ee897ee90953b7f60129ba49bd97
2013-05-24 12:40:47 +03:00