338187 Commits

Author SHA1 Message Date
Miklos Vajna
c367a7e3ca DOCX filter: roundtrip paragraph style default
Change-Id: I93495b4a2f85fe9729f8e1c810532717783756e4
2013-11-07 14:21:55 +01:00
Caolán McNamara
0cd6fc9cfb make the error not a secret
Change-Id: I4ee261bd1dc2c63f0b54e19a2684c8bf1c221680
2013-11-07 12:33:01 +00:00
Noel Grandin
5d7bf132bd remove unnecessary use of OUString constructor in TOOLKIT module
Change-Id: I0cc8c507ede20d5db1942b75e0c4b660dcd66c97
2013-11-07 14:27:06 +02:00
Noel Grandin
24857c46da remove unnecessary use of OUString constructor in UCB module
Change-Id: Ic75e5aad03d66590e78275304c766c1c00179387
2013-11-07 14:27:06 +02:00
Noel Grandin
f6ad2b7a52 remove unnecessary use of OUString constructor in UCBHELPER module
Change-Id: I3e3cfc69c14a300f330264ae40c135e8135adb97
2013-11-07 14:27:06 +02:00
Noel Grandin
5fca9e5bfc remove unnecessary use of OUString constructor in UNOTOOLS module
Change-Id: Iad166e6b9ce0877200bd58c388b3914b15167196
2013-11-07 14:27:05 +02:00
Michael Meeks
b9bbd84787 liblibo: improve the libtest sample app.
Add command-line help, validate arguments more, better error reporting.

Change-Id: Ia092895d0d116b003bb6c2a252f68ae9b6ba6d35
2013-11-07 11:50:01 +00:00
Michael Meeks
3c608eb381 liblibo: share crude URL absolutization, and clean.
Change-Id: I559eac8626a011644f68f8391631447f15c643eb
2013-11-07 11:50:00 +00:00
Michael Meeks
d324745fe9 liblibo: make liblibreoffice static as it should be.
The whole purpose of this tiny library is to break dependencies,
so requiring it in our library path is a bit silly.

Change-Id: Ie0e000b97db87afd57f693e19341eadf97323335
2013-11-07 11:50:00 +00:00
Christoph Lutz
49112ec909 liblibo: fixes and improvements for liblibreoffice
fixes for liblibreoffice-Impl (init.cxx): determine outputfilter from file
suffix if no filter is provided; ensure that url provided to
XStorable.storeToUrl is really an url; improved error handling

small improvements in somektest/libtest.cxx: output times required for init,
load and save.

Change-Id: Ic8b2c0d34cbeae3250c43cac02690e6ec1954ed7
2013-11-07 11:50:00 +00:00
José Guilherme Vanz
6731173815 fdo#65588 - Elements Dock: Scrollbar moves into input window
This change "solves" the visual problem. But I don't think so
this is the best solution

Change-Id: I658f7a4182578e49644ae6de281f221499d61ad3
Reviewed-on: https://gerrit.libreoffice.org/6602
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2013-11-07 05:45:26 -06:00
Noel Grandin
c980158a82 remove unnecessary use of OUString constructor in VCL module
Change-Id: Ie2b9aca5c3db46b43c53f72699fe828b28daeaa1
2013-11-07 13:22:57 +02:00
Noel Grandin
8bfbd27f8d remove unnecessary use of OUString constructor in WRITERFILTER module
Change-Id: Iba6fd6e2bb9b2a9e937149f3e3465b0817208a58
2013-11-07 13:22:56 +02:00
Noel Grandin
58fa3d50aa remove unnecessary use of OUString constructor in XMLHELP module
Change-Id: I033bcf9cddc58f605fe8d65731f8b312410da7e5
2013-11-07 13:22:56 +02:00
Noel Grandin
c87a8fc648 remove unnecessary use of OUString constructor in XMLOFF module
Change-Id: I3bb704d2b1063cd8c2c903cbfa237a7723c321d2
2013-11-07 13:22:56 +02:00
Miklos Vajna
98fd705924 DOCX filter: roundtrip paragraph style lock
Change-Id: Id656e48c1600bb7b04e8566d5c0f3297f80a89d9
2013-11-07 11:30:43 +01:00
Miklos Vajna
fc46d7f60b DOCX filter: roundtrip paragraph style link
Change-Id: Ide29e98b73410d8917742f2eeb15bdcbd9de87cc
2013-11-07 11:30:42 +01:00
Noel Grandin
0121f632ef remove unnecessary use of OUString constructor in XMLSECURITY module
Change-Id: I95b0eda83c60456f3db267183030fe5f6cd70bc4
2013-11-07 11:28:38 +02:00
Caolán McNamara
cc79b16a75 ensure string accesses are in bounds
as demonstrated by ooo39541-3.rtf

Change-Id: I995f0250e98a68b1b56da877314c9fd24cf46221
2013-11-07 08:48:53 +00:00
Stephan Bergmann
eacb4a71ec Blind MSVC fix
Change-Id: I22c316cc82c40481fa1bf93412d97d67e1f95b41
2013-11-07 09:41:24 +01:00
Arnaud Versini
ebf5e56e20 Name threads for debug purpose
Change-Id: Id99ba394b898b7da0057d4a145ce8dce46122782
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-07 09:33:06 +01:00
Andrzej J.R. Hunt
117b24dbbd Add "New Database" button for Firebird file driver dialog.
Firebird is able to create new databases from within LO hence we need
to add a new property to database configration files.

This allows use of a db creation dialog (which is opened
by using the "New Database" button) in order to allow creating new
dialogs (in addition to being able to open existing databases using
the "Browse" button).

Conflicts:
	dbaccess/source/ui/dlg/ConnectionHelper.hxx

Change-Id: I6174f3b7d9032c48286b49b5ddf125cd3b428303
2013-11-07 08:15:27 +00:00
Andrzej J.R. Hunt
ee9bee5d46 $CPU no longer exists, use $CPUNAME for libatomic-ops.
Change-Id: Ic70214d5e875dc7672b5b9496f1d6a7d624d6ed6
2013-11-07 07:57:54 +00:00
Stephan Bergmann
e66d3da283 Use rtl::Reference
Change-Id: I7e3922ba635acdb14ca489bda2535a69249cb001
2013-11-07 08:19:21 +01:00
Andrzej J.R. Hunt
f479f62c14 Make libatomic_ops buildable and enable on non-X86.
Change-Id: Iec1d329f143ab76de7e8b4acd3da66efb6e0220c
Reviewed-on: https://gerrit.libreoffice.org/5812
Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
Reviewed-on: https://gerrit.libreoffice.org/6600
2013-11-07 01:05:55 -06:00
Noel Grandin
628a812db0 convert vcl/Edit::Impl* methods from xub_StrLen to sal_Int32
Change-Id: I009dd167d399d817689877a5e7e22dc4ab60ec61
2013-11-07 08:16:11 +02:00
Markus Mohrhard
95df39e382 we need to use ScDocumentImport for all calls
otherwise a reallocation of the cell vector will invalidate the
iterators for the position hint

e.g. fdo#35208-1.xls

Change-Id: I26e473c968633eb6e9cc3ecb1c8060105f5f47aa
2013-11-07 05:17:09 +01:00
Kohei Yoshida
7220b55f63 Correct reference count type.
Change-Id: Id7902c8d21d22a6d5f3740a6bd72e0c1213461e7
2013-11-06 20:56:46 -05:00
Kohei Yoshida
db65fff2aa Perform formula cell compilations in multiple threads during xlsx import.
One sheet per thread. Right now the thread count is set to 1 due to non
re-entrancy of a large portion of Calc core, and beyond. We need to fix
that first before setting the thread count to more than 1.

Change-Id: I6997c1e9540de939f1f00b1798e2b32059787ae5
2013-11-06 20:40:26 -05:00
Kohei Yoshida
1cefb146a8 Allow instantiation of more than one SvNumberFormatter from the document.
Change-Id: Ide6875e031268337bf6a21286176a38905c12691
2013-11-06 20:40:26 -05:00
Kohei Yoshida
db9a73d518 Allow non-pooled instance of SvNumberFormatter inside ScCompiler.
Change-Id: I645079254621c2f2684a69116b094e37e46f46f4
2013-11-06 20:40:26 -05:00
Kohei Yoshida
4efc5fa376 Protect those global symbols containers with mutex during initialization.
Change-Id: Id15b3e1a2bfebd2ea795fd412a259f125f5d9bab
2013-11-06 20:40:25 -05:00
Kohei Yoshida
88357ee6f4 Make TransformInput() a non-member function.
Change-Id: Ieb077b6ce661e2885d6010519f137235a048f9df
2013-11-06 20:40:25 -05:00
Kohei Yoshida
35a5999247 Guard cache access with mutex & a new method just to check for range name.
Change-Id: Id24b5ba72362f9d878b4878c1e807bed3e596b20
2013-11-06 20:40:25 -05:00
Kohei Yoshida
719c3fb46b Add mutex for external source document meta-data container.
These get updated from reference parser code (ScAddress, ScRange etc)
which may be run from multiple threads.

Change-Id: I5a1aaa4b51d9b9fb032458eb5e89f0652887184e
2013-11-06 20:40:25 -05:00
Kohei Yoshida
112fb38129 Make this method private as it is used only internally.
Change-Id: I752c9a6bcd7f5b057cd517a9630a975009d6fb0d
2013-11-06 20:40:24 -05:00
Kohei Yoshida
7d2619c9ad Set mutex for external ref cache content.
Change-Id: Id00c0e553e08740df8d9b7eef19407e1b0d3f022
2013-11-06 20:40:24 -05:00
Kohei Yoshida
29d1303e23 Use atomic increment and decrement for thread-safe reference count.
Change-Id: I630298b1c37a6d23c1aa17aabc1c9b2dcb48608a
2013-11-06 20:40:23 -05:00
Kohei Yoshida
1d996cee76 Keep the integer type in sync and remove unused data members.
Change-Id: Iaaf1ebddd3b946b3211952729d41b01f0967f374
2013-11-06 20:40:23 -05:00
Kohei Yoshida
7045802f27 Add mutex to guard the shared string pool content.
Change-Id: I0eb97d0fbeaefd8a1c86d240ed8bd7f208fb662e
2013-11-06 20:40:22 -05:00
Kohei Yoshida
9611851a53 Avoid using an extra buffer when the name doesn't contain double-quotes.
Change-Id: Idc76ccad114e5964f80c5a3c8c8da2a64c1a2b86
2013-11-06 20:40:22 -05:00
Kohei Yoshida
dd9b59ef18 Add new test for parsing OOo A1 style single references.
Change-Id: I7644338bd536d16777d330a64764eb26ecda5da5
2013-11-06 20:40:22 -05:00
Kohei Yoshida
eced6da745 Using OUStringBuffer is faster than chained += operator.
Change-Id: I9991028ddd8ab6e2e43fe9a19428c9fdfbd38db6
2013-11-06 20:40:22 -05:00
Kohei Yoshida
04532617c7 Avoid duplication of ScTokenArray during formula cell construction.
For slightly less overhead.

Change-Id: Ie5861d585d6e22fbd19dfd57edfebae4f4504839
2013-11-06 20:40:21 -05:00
Kohei Yoshida
a09f7fddb4 Modify ScFormulaCell's ctor to take a const reference to ScTokenArray.
Instead of a pointer to ScTokenArray, and then clone its instance.  If
the token array gets cloned in ctor, take a const reference.

Change-Id: I280fd7eb9eaea9905dbf954a1ace904ab0814dfe
2013-11-06 20:40:21 -05:00
Kohei Yoshida
df8257faf6 Check all call sites of CompileString() and make sure we don't leak.
We *were* leaking quite a bit.

Change-Id: I3f53eff22beab27b34a055a4452311f2e2f771db
2013-11-06 20:40:21 -05:00
Kohei Yoshida
55107688ea This method is now unused.
Change-Id: I22b1089ee99ad041d567fdac8714c2e7fa774056
2013-11-06 20:40:20 -05:00
Kohei Yoshida
7a3b8b1a5a Compile formulas using internal API directly...
rather than via UNO API which does triple conversion per formula expression.

Change-Id: Ib397c7976c06b98ce036caa7bfe2748e868299d9
2013-11-06 20:40:20 -05:00
Michael Stahl
518f404db7 installer: remove some special-casing of obsolete "common.pro" dirs
Change-Id: I8e79bb278759c3d6c5c782c6f2e0df8758e801c8
2013-11-07 01:34:45 +01:00
Michael Stahl
19b2933c6d installer: stop using PROEXT
Remove "productextension" from installer.

There is some "common" cruft here that needs more cleanup..

Change-Id: Ia4ef306009f0c4952792d096bb335f834b0f8262
2013-11-07 01:34:44 +01:00