Commit graph

325753 commits

Author SHA1 Message Date
Tor Lillqvist
0e88197899 Clarify intended use of these files
Or, as it might happen, not... If there are differing opinions, please revert
and/or amend. Or start a discussion on the development list.

Change-Id: Ide5060802fda2d59a1c098d1ba8398fc095007c8
2013-04-30 11:18:27 +03:00
Tor Lillqvist
1c500ac128 Fix 64-bitness option
Also, don't claim TDF would be doing 64-bit Windows builds.

Change-Id: I3abdb13cf7b29c6d249d49fd6f66ce1b9993d97e
2013-04-30 10:45:41 +03:00
Tor Lillqvist
0e1cc99685 Don't enable postgresql-sdbc by default
Try to make it more likely that a build without any autogen.sh options
succeeds. We didn't even get past the autogen.sh phase on openSUSE 12.3 thanks
to some krb5 stuff needed by the postgresql-sdbc checks.

To compensate, add --enable-postgresql-sdbc to those distro-configs/*.conf
files that didn't already have --disable-postgresql-sdbc.

Change-Id: I967616993875b99d9d5a9fd0721f281bb1161a87
2013-04-30 10:42:29 +03:00
Cédric Bosdonnat
b399c1a38c n#592908: docx import, fixed handling of w10:wrap
commit f837c4288c moved the handling of
w10:wrap tag in oox, but thus no wrapping was imported any more.

The fix consists in letting the w10:wrap element be handled by writerfilter's
dmapper if the shape has already been retrieved from oox (which is the
case for textboxes). In other cases, make sure that we don't set the
Surround property once again in writerfilter as that would override what
has been done in oox.

(cherry picked from commit 51d5e90b7c)

Conflicts:
	oox/inc/oox/vml/vmlshape.hxx
	sw/qa/extras/ooxmlimport/ooxmlimport.cxx

Change-Id: I8ab158641afcf6b9945c52238e7f5adb9e8b3adf
2013-04-30 09:34:28 +02:00
Miklos Vajna
e7ecf66388 OOXMLFastContextHandlerValue: clean up duplicated constant
Change-Id: Ia09e30958392b660f694e8eefb6605108b3c0b57
2013-04-30 09:24:50 +02:00
Tor Lillqvist
e20e271588 Fix warning: unused variable 'aIniUrl' [loplugin]
Change-Id: I11a2a7e8e1f3f089c3b475df1147cefafecdb376
2013-04-30 09:37:47 +03:00
Noel Grandin
3872be5432 Clang cleanup, unused mutex variables
Some of these were doing nothing useful at all. I removed those.
A couple were protecting static data, and I fixed those to use Mutex
and MutexGuard properly.

Change-Id: I444d13f8b6c50e526cce8d69d09aeaf240e5c6ca
Reviewed-on: https://gerrit.libreoffice.org/3678
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-30 06:29:35 +00:00
Tor Lillqvist
d6d896a121 WaE: 'SAL_OVERRIDE' macro redefined
Change-Id: Ic8af47b52b06ef440b3fdaa966075780fb7a609b
2013-04-30 08:31:10 +03:00
Muthu Subramanian
64ed03c90e n#816939: Improved label overlap detection. 2013-04-30 10:14:54 +05:30
Thorsten Behrens
298c52a61d pdfunzip rather needs ~no office libraries.
Change-Id: I27df97ab6e35b03dfe70c7a979dd06f977086069
2013-04-30 00:40:09 +02:00
Thorsten Behrens
b0da8f00a0 Make pdf2xml usable at least from within buildenv again.
Seems this had bitrotted quite a lot. Calling it now like a cppunit
test works again.

Change-Id: I27479c3c3e1c1fe0639629e9bf8844456e0b0515
2013-04-30 00:40:08 +02:00
Thorsten Behrens
bfffa6d7ce Add unit test for pdfimport image import.
Change-Id: Ifd51f0c25418085ba8a6e8d331ac5c6d8139d18a
2013-04-30 00:40:08 +02:00
Markus Mohrhard
dd24f18545 now ooxml files are accepted by Excel again
Yes, a simple test would have answered the question in the comment and
made clear that nanoseconds are not accepted by MSO.

Let's go with normal seconds as MSO does. It seems it also accepts
1/100s but who really needs that for a file timestamp.

Change-Id: Iaec6f9c08dc94d5086b83cb4bf520d0053b71b28
2013-04-30 00:17:30 +02:00
Markus Mohrhard
f9cd73ebe1 remove a few more unused variables
Change-Id: I6c70c000f60e7e6e43bd068ccb98b693b80746f2
2013-04-30 00:17:29 +02:00
Markus Mohrhard
d5ef883025 remove unused variables
Change-Id: I78e778408abb72772771daf5776a26f08c313ee2
2013-04-30 00:17:29 +02:00
Thorsten Behrens
6b18d7d28e Fix import of images from pdf.
Seems poppler changed outputdev virt func signatures with version
12, so with system poppler, we never got any image import functions
called. Added override annotation to prevent this from happening in
the future.

Change-Id: I565de80ce218e831e276d3a1d88ded3baee876e7
2013-04-30 00:07:34 +02:00
Khaled Hosny
3719396649 [harfbuzz] Don't crash when closing LibreOffice
We shouldn't be trying to free the font table buffer when destroying the
blob, so pass NULL for destroy function instead of free(), and also use
HB_MEMORY_MODE_READONLY just to be safe.

Change-Id: I85b5a575249b4efc0f5799db205ee17cbeb66d22
2013-04-29 22:20:52 +02:00
David Ostrovsky
bfa6aab399 fix refresh() call
Change-Id: Id7cb705b2b719cdd3bf16b8aba858c0319686599
2013-04-30 00:01:06 +02:00
Michael Meeks
61dc0d2c9d fdo#62336 - fix horribly coupled table rendering code to not crash.
Change-Id: I7a6ee4dce338b7529fa7500bb0c8341a4f2ebc22
2013-04-29 18:04:10 +01:00
Jan Bobisud
a1f3824e94 fdo#33370 Readme file could be easier to follow
Change-Id: I25794499711845cb8183664d1345e5513587d81c
Reviewed-on: https://gerrit.libreoffice.org/3679
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29 17:02:07 +00:00
Stephan Bergmann
8b324e21f2 There is no images*_brand.zip files
Change-Id: I6ddeff7ae72693fd0951d71bd7b5444938bc7286
2013-04-29 18:38:20 +02:00
Stephan Bergmann
d7ebca515a Fix indentation
Change-Id: Iaec745dc1c8eb0614cc2fe1d70a94a00d18cc934
2013-04-29 18:38:20 +02:00
Christian Lohmaier
2f205ee79e add fallback for Merge-Modules directory (when not found in registry)
Add "$COMMONPROGRAMFILES\Merge Modules" (on current versions of Windows
that probably is "C:\Program Files (x86)\Common Files\Merge Modules") as
fallback, since for example on Windows Server 2012, the registry entry
has not been created when installing Visual Studio Express

Change-Id: I16f58b8a1d453c8628c6eb66c2cea37ab3da913a
Reviewed-on: https://gerrit.libreoffice.org/3680
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29 15:49:04 +00:00
Stephan Bergmann
9fa0ce282f Updated core
Project: dictionaries  acf0ae3fdec65df75f4983d2b943582f9ab99fa2
2013-04-29 15:03:03 +00:00
Luboš Luňák
9023c8e604 remove demented code
The things are not even enums, so there's no error checking either.

Change-Id: Ib33cd96b49a840cbe486dbed9a7c370827b54c2d
2013-04-29 17:00:26 +02:00
Markus Mohrhard
81b9d43167 c:varyColor is true by default in Excel
And another step closer to opening my test file correctly in Excel.

Change-Id: Ib6aa8ddb2f2792513c7263d86865e08fe5f1483d
2013-04-29 16:43:07 +02:00
Markus Mohrhard
5c19f86a07 OSL_TRACE => SAL_WARN in chartexport.cxx
Change-Id: I12ddd18c1b4476d42c097704c2af2d0af4e15a1e
2013-04-29 16:43:06 +02:00
Markus Mohrhard
6ddd7fccdc c:delete is true by default in Excel
One step closer to opening my simple test file correctly in Excel.

Change-Id: I1bfa76a46081ba478e44d8d90d8a91790a9a9ff3
2013-04-29 16:43:06 +02:00
Noel Grandin
2f1a293e1a Clang cleanup, unaligned if statement
The extra semi-colons were confusing clang. Just remove the macro,
it's not adding any real value.

Change-Id: I7f7c312d2c0167a17e31624e197ae75b77fa0c2f
Reviewed-on: https://gerrit.libreoffice.org/3677
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29 13:59:47 +00:00
Stephan Bergmann
8b3b9d2419 gb_JunitTest_JunitTest_platform_longpathname_hack is unused
...since 81af84c04f "gbuild: let JunitTests run
with MSVC."

Change-Id: I4ba97431c3439c0bed74149fe66cbb76db5317ce
2013-04-29 15:27:40 +02:00
Stephan Bergmann
99e94cdd65 Use new-style service ctors where possible
Change-Id: I36c62fc677de70c08d0d59e45debc6a86375d3b7
2013-04-29 15:08:48 +02:00
Stephan Bergmann
01c934acbe Check for theTypeDescriptionManager singleton
...rather than a TypeDescriptionManager service that is no longer available.

Change-Id: I1054ab0a658597a60d11e2f9aa0960df25d14bc4
2013-04-29 15:08:48 +02:00
Stephan Bergmann
ae7fd476ea stoc.tdmanager is gone
Change-Id: I7c750debaeee5d9804be378e0f65bec13ac296eb
2013-04-29 15:08:48 +02:00
Caolán McNamara
92edb28ce8 Updated core
Project: help  eddac30b5afa84c2420a553d2e822722dc857228
2013-04-29 13:00:06 +00:00
Lionel Elie Mamane
1981819e81 fdo#63391 deadlock on opening .odb file that auto-connects to the database
Let foo.odb be a database file that has a macro that connects to the
Database on "Open Document" event (and needs to prompt user for
user/password).

There was a race condition between two actions:

 1) the asynchronous treatment of "OnFirstControllerConnected" in dbaui::OApplicationController,
    which tries to get dbaui::OApplicationController's mutex

 2) the StarBasic macro calling dbaui::OApplicationController::connect
    which needs to display a dialog (to get username and password),
    and thus puts that dialog in the main thread's event queue
    and waits for it ... with dbaui::OApplicationController's mutex held

Now, if "1)" is before "2)" in the event queue of the the main thread,
*but* "1)" is executed *after* "2)" has taken the lock, there is a deadlock.

Fix:

 1) Make OnFirstControllerConnected synchronous.
    Make sure (by taking mutex in dbaui::OApplicationController::attachFrame, its ancestor in the call graph)
    that nothing else will happen with the OApplicationController as long as it is not finished.
    ---> it does not need to take mutex itself anymore

    This avoids the "order in the asynchronous events" dependency.

 2) Change dbaui::OApplicationController::ensureConnection to do the user prompting
    WITHOUT HOLDING the mutex, and use the mutex "only" to protect actually assigning
    the connection to m_xDataSourceConnection.

    Theoretically, in some race condition, we could connect twice and then discard one connection <shrug>.
    ensureConnection will never return the discarded connection, though.

    (I think I got that right with respect to http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html)

    This keeps it from locking on another condition while holding the mutex.

Change-Id: Iab1bbec5d5df12bb89d027d43e498c78c92ffc32
Reviewed-on: https://gerrit.libreoffice.org/3310
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-29 12:58:23 +00:00
Caolán McNamara
8c91339211 adapt code to duplicate object dialog
Change-Id: I2555dc113b2fb4c77bec187b15f0bb545811b07b
2013-04-29 13:55:21 +01:00
Manal Alhassoun
61e39b5f00 Duplicate Dialog Widget .ui
Change-Id: I7a4f782235a23f50bceaef041a92e42e47860a78
2013-04-29 13:55:21 +01:00
Stephan Bergmann
16a1bf5d07 climaker no longer needs *.rdb.oldformat input files
Change-Id: I55447aba5abcc8205543c7ca64763b5c99854837
2013-04-29 13:37:15 +02:00
Stephan Bergmann
1728ab7125 Remove dependency of climaker on registry format
See the comment in climaker_app.cxx main about room for improvement.

Change-Id: I11cc2f62c9d42269d5c96253198ee4e730496e75
2013-04-29 13:35:53 +02:00
Stephan Bergmann
411524d10a Typos
Change-Id: I2ff65979a9da7da12ad6ac97dc090898913a2e8c
2013-04-29 13:35:30 +02:00
Caolán McNamara
20452aa248 adapt code to use snap object dialog .ui conversion
Change-Id: I181c87f8406f095bd4dc499b47d91081f58aaf59
2013-04-29 12:28:45 +01:00
Caolán McNamara
15b52e7f39 Updated core
Project: help  7584ed08efd8e9cea733a782544a1e1eeb48433f
2013-04-29 11:28:35 +00:00
Matúš Kukan
4d9767d0b2 urelibs: break cyclic dependency; treat regcompare as build tool
Build tools do not link against merged libraries but individual small
ones we need for this (gb_BUILD_HELPER_LIBS).

Change-Id: Ia765e11a93ed05d126334a3e146fb88e368954ac
2013-04-29 13:17:34 +02:00
Manal Alhassoun
93f2256f49 New Snap Object Widget .ui
Change-Id: I801f4af269efcea91bc3bafbfc9e0b9033488f2d
Reviewed-on: https://gerrit.libreoffice.org/3645
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-04-29 11:17:13 +00:00
Stephan Bergmann
55225176b6 Unused include
Change-Id: If6caa7abed25ce95f1c62f9673619426eb49b5a8
2013-04-29 13:05:51 +02:00
Stephan Bergmann
23a87a8622 Remove some obsolete makefile.mk
Change-Id: I47f1a72fac3e6678b5dfe880f2f189ffc436333b
2013-04-29 13:05:51 +02:00
David Tardon
44aaee3d42 use normal rights for dictionaries
IMHO there is no reason why they should be 0444. I have found no
explanation for it, either in the commit that introduced the bundled
dictionaries or in the related bug.

Change-Id: Ia42218a0d579ced5f17248a092eab2c61cb9005f
2013-04-29 13:00:36 +02:00
David Tardon
97aa4a6044 filelists should honor USE_INTERNAL_RIGHTS flag
Change-Id: I3edbae98c9bb51899e5592fae1cfe9f3632ad535
2013-04-29 12:46:53 +02:00
Khaled Hosny
c559b13b80 [harfbuzz] Re-enable text justification
It turned out that ApplyDXArray() is need to apply advance width
adjustments after justification, so we can't just bypass it.

So I just copied GenericSalLayout::ApplyDXArray() and stripped it of
ICUism so it does not break with HarfBuzz, but I had to make
m_GlyphItems non-private, so I'm not sure this is the right approach.

Change-Id: I66d647c3590fdf912c39d0cf23ac72bcc7ca72c9
2013-04-29 12:45:41 +02:00
Khaled Hosny
ca0b580e2a [harfbuzz] Fix shaping across text runs
The 3rd parameter to hb_buffer_add_utf() should be the length of the
whole text not the current run, so that HarfBuzz can take the context
into account when shaping.

Change-Id: I9e4e928d40078c3e3667cfdb6d8f24bf6e58263d
2013-04-29 12:45:40 +02:00