Commit graph

317484 commits

Author SHA1 Message Date
Eike Rathke
90874ab3c7 do not trigger liblangtag init during startup
Initializing the liblangtag database stuff takes much percentage of
startup time, avoid that.

Change-Id: Ieb12ff71c2b1421a5644acebaef4c8366694c249
2012-12-11 13:00:31 +01:00
Eike Rathke
4d24507451 avoid liblangtag processing for known locales, and know 'qtz'
For "simple" known (to us) locales avoid the overhead of liblangtag,
also in preparation of not having to initialize its database during
startup.

This also enables recognition of the 'qtz' pseudolocale for key ID
resources again, see fdo#57413

Change-Id: Id52a1ddc37b42063e3bf68a6dbeaeacfbfa704ef
2012-12-11 13:00:31 +01:00
Michael Meeks
055fca04a4 fdo#42553 - fix square gradient rendering by vcl. 2012-12-11 11:54:09 +00:00
Luboš Luňák
017ac0b09b enum is not something that has external linkage, so no point in visibility
and apple gcc-4.0.1 chokes on this

Change-Id: I4799d66f483f10d9b633077a16d25208c8b595e0
2012-12-11 12:29:35 +01:00
Michael Meeks
b8511cef9a fdo#35680 - fix wrong gradient rendering when grouped. 2012-12-11 11:01:47 +00:00
Fridrich Štrba
5d309c7e2e Fix a bug with fixed line-heights in Visio files
Change-Id: I861c49d2b0dfc57d6e777b14742cb324e4d4d0a8
2012-12-11 11:57:41 +01:00
Caolán McNamara
f7cee03665 prefer my own cjk char-as-word counting
Change-Id: I120acd40b83cad074869b404d4e74b5ec69d493d
2012-12-11 10:39:00 +00:00
Caolán McNamara
7c1ca63995 add regression test for EDB-23279
Change-Id: I9d31602750dc6516b7bee5c0796328cee07b10ea
2012-12-11 10:39:00 +00:00
Miklos Vajna
12ebc9c7a6 sw: splitted -> split in SwRTFReader
Change-Id: Iffa3296a15cbfaef8b7eca0648d9d954c92b3d4a
2012-12-11 11:11:28 +01:00
Lionel Elie Mamane
c9a40d21fa When parsing does not give a table name, take it from the column
Change-Id: Ie8a2c7e473d717cc22c51205dd8cdc59934de8b1
2012-12-11 11:08:53 +01:00
Luboš Luňák
22dadc5d15 fix include guard 2012-12-11 10:40:18 +01:00
Luboš Luňák
bbbbe235c9 'using namespace rtl;' in a header is baaaad 2012-12-11 10:40:17 +01:00
Luboš Luňák
15b91684a6 remove wrong and unused forward declaration for 'class vector' 2012-12-11 10:40:17 +01:00
Caolán McNamara
0efcfcdf40 cppcheck: size() == 0 -> empty()
Change-Id: I23b6b8fdbb9c4f367a590a21e40e7bbaa76f7fce
2012-12-11 09:12:03 +00:00
Luboš Luňák
621b0f29b1 PCH support for Library_sw
With MSVC2010 compile time goes 20 minutes -> 7 minutes. With Clang
it's however 7 minutes -> 10 minutes, apparently the overhead
caused by all the extra data is bigger than the gain.
2012-12-11 08:41:05 +01:00
Luboš Luňák
b1ed667873 this class is apparently a dupe of one in editeng 2012-12-11 08:41:05 +01:00
Luboš Luňák
64c3dbc331 include PCHOBJS in target's objectlist
Otherwise gb_CppunitTest_use_library_objects won't work with MSVC.
2012-12-11 08:41:05 +01:00
Luboš Luňák
d704f2c91f make PCH depend on LinkTarget/headers
Rather than LinkTarget/external_headers, as this doesn't really make
any difference, except if PCH is made to also use headers from the same
target (not a very good idea for development, but might be useful
e.g. for buildbots).
2012-12-11 08:41:04 +01:00
Ricardo Montania
a0c0b8cad9 String -> OUString in filter
Change-Id: I9041129289c24c4ee8a7a6d50e34b785969e8204
2012-12-11 06:20:21 +01:00
Marcos Paulo de Souza
e299004c7a Remove UniString from uui module
Change-Id: I6eb52f42c3364970553015492b9c488c04febed6
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2012-12-10 21:26:59 -02:00
Luboš Luňák
17b272effc operator+ for stringbuffer
This is to complement the RTL_FAST_STRING variant, which allows any
combination, so even two stringbuffers.

Change-Id: Ic15d81246b3d0f3e22b51c0516409e95c3a4dc8d
2012-12-10 23:55:20 +01:00
Christos Strubulis
c13ad097fb Replacing '__LOADONCALLAPI' with 'SAL_CALL' definition
Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
2012-12-10 21:38:28 +00:00
Michael Meeks
e7e4d67786 fdo#55570 - use a hash instead of set initially until sorting needed
This rather substantially accelerates the first use of autocorrection.
Interestingly, it also appears to accelerate the sorting of the items;
potentially inserting sorted items into a set is a pathological balancing
case, that is avoided by the hash algorithm's randomness.
2012-12-10 20:43:50 +00:00
Michael Meeks
cccb0bb123 fdo#55570 - re-factor SvxAutocorrWordList to hide it's innards 2012-12-10 20:43:45 +00:00
Michael Stahl
c479ccc438 fdo#57780: sw: lcl_ArrangeLowers: register drawing ...
... objects at the right page.  This was effectively disabled for all
anchor types except FLY_AT_PARA by a misplaced ! in the conditional,
and C++ not being a type safe language.

Change-Id: I64af2141e577ac896292eecd9f8c46c62a0548db
2012-12-10 21:08:07 +01:00
Bjoern Michaelsen
3c64d86637 no need for wget/curl when not fetching anything
Change-Id: I097675450a0eed87eccf90356c81657485609d13
2012-12-10 19:08:27 +01:00
Tor Lillqvist
c74fe188b1 Create executables that can be run on Windows XP
Specify subsystem version 5.01 in the linker options. Otherwise, when
built with the linker in Windows Kit 8.0, executables are created with
the "operating system version" and "subsystem version" fields set to
6.0 (which means Vista).

Attempting to run such executables on Windows XP fails with an error
that claims them to be "invalid Win32 executables" (which is a blatant
lie, of course).

We can well set the subsystem version to 5.01 as we don't
unconditionally use any APIs that wouldn't be present on XP.

Note that you need Visual Studio 2012 Update 1 to be able to create
code that runs on XP. The original version creates executables that
importx entries from kernel32.dll like GetTickCount64 that aren't
present on XP.

Apparently it doesn't hurt on XP that DLL headers specify a "too new"
subsystem version.
2012-12-10 19:43:18 +02:00
Stephan Bergmann
ee43379455 Revert "Use XNotifyingDispatch to avoid races"
This reverts commit 21ea372541.  Looks like
neither XNotifyingDispatch nor XSynchronousDispatch can be used to avoid this
race; sigh.
2012-12-10 18:25:09 +01:00
Stephan Bergmann
67a624f47f Fix SDK example
Change-Id: Ide65bcf203f78d1e8d3286f4ee19846a357fb364
2012-12-10 18:23:28 +01:00
Stephan Bergmann
70fd650dbd No config_global.h in SDK
Change-Id: I6e9947f056c0b70d629ac27d57b3d7d115f8d487
2012-12-10 18:23:14 +01:00
Andras Timar
16dcaa433d Updated core
Project: translations  85f724f5aa1d6a59662a7d1c7ea406a641814bd2
fdo#58068 fix invalid .po headers
2012-12-10 17:17:55 +00:00
László Németh
1a2ea25971 some Python 3.3 port (not important for LO 4.0)
Change-Id: Id151d59a9bab2454b9d359aefb5c35a9f05bb9ce
2012-12-10 17:15:56 +01:00
Luboš Luňák
02e2202894 do not try to use -std=c++11 after all
The very same libstdc++ that breaks with clang and -std=gnu++0x
has also the ABI breakage that prevents using C++11 anyway.
Moreover, there's still the idea that we should preferably use
the gnu variant, just like the default is -std=gnu++98, rather
than strict C++11 (the gcc manpage for -ansi e.g. says that
some builtins are disabled in this case).

Change-Id: I4dac01374ee7a34796161f6e0e76eb962953e709
2012-12-10 16:50:32 +01:00
Stephan Bergmann
0644809594 Reported graphite2 patch upstream
Change-Id: Idca64b8925199f3d275e7966c1d0e13fee4967a8
2012-12-10 16:17:23 +01:00
Stephan Bergmann
ad2e7f5be3 Fix SDK example
Change-Id: I3d31e0ad7e5015340a045230678760e3b20c59a1
2012-12-10 16:17:22 +01:00
Stephan Bergmann
f2609cc70f Do not fail for unset OSL_DEBUG_LEVEL (as happens in SDK)
Change-Id: I0e9b8a251ed790d1505566ef4fa991309986522d
2012-12-10 16:17:22 +01:00
Cédric Bosdonnat
1e9261aefd Template manager: paint white background under thumbnails
Change-Id: I55bbda1a7d04e462737b8cf24aba755b8ce96e8a
2012-12-10 16:11:58 +01:00
Cédric Bosdonnat
87e5851af8 Template manager: toolbars height was too small
Change-Id: Ie2cb1f4947baf99d90bfaaf62834482c8f7e6a05
2012-12-10 16:11:57 +01:00
Cédric Bosdonnat
7b5f71239e Template manager: fix preview for folders after using filters
Change-Id: Iadd38ee0bee7634c0924f48e204baa05566b7586
2012-12-10 16:11:56 +01:00
Cédric Bosdonnat
99584c777f Revert "Template Manager: ban double-click"
This reverts commit 5487769838570ba5f1b35529689321e1842bae31.
Come back to a more consistant UI:
  - single click for selection. CTRL modifier for multi-selection
  - double click for action
  - removed item's checkbox
  - get rid of the selection mode
  - no hover on items

Change-Id: I82863c77ed6a45410242a244545505a5b898ba56
2012-12-10 16:11:56 +01:00
Cédric Bosdonnat
35a19a8f04 Template manager: white background for the thumbnail view
Change-Id: Ie5497713b83da23801f58f4c6d990e28042a3df9
2012-12-10 16:11:56 +01:00
Caolán McNamara
9fe54eda44 move template management .ui to impl home of sfx2
Change-Id: I000906b6149dd1f152f8ac2055e1dbb87b58b9d2
2012-12-10 15:09:23 +00:00
Gokul
3d78824534 Manual convertion of templatemanagement.ui
Change-Id: I499e9c1bfb23ac7e437eaa366dfee2016afd1d36
Reviewed-on: https://gerrit.libreoffice.org/1286
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-10 15:00:52 +00:00
Lennard
1b0d9fa747 docx import/export non-breaking hyphen and soft hyphen
God made non-breaking hyphen
and saw that it was gone
he told us to fix it as soon as hell
we promised that we would


Change-Id: I1d2bb8f7542f5ffec36fafdbdb07ace1cb62fb4a
Signed-off-by: Lennard <Wasserthal@nefkom.net>
Reviewed-on: https://gerrit.libreoffice.org/1279
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-10 14:53:05 +00:00
Markus Mohrhard
34c157e003 improve the recalc dialog for ooxml
Change-Id: I94ea2d52f86a340ce3802ea4b63642cfc637bd2d
2012-12-10 15:17:55 +01:00
Luboš Luňák
688c668003 little help for userfriendly gbuild make targets
Change-Id: I6b650781b11163eb99828d0d933ae9a38e0e09fa
2012-12-10 15:15:21 +01:00
Luboš Luňák
28ae80a89d userfriendly make targets for build and clean
So that now it's possible to do just
'make CppunitTest_sw_macros_test'
instead of
'make /home/llunak/build/src/l2/workdir/unxlngx6/CppunitTest/sw_macros_test.test'

Change-Id: Ibd1e9ef4fc825043a71bd669b2f5c37ffec68e33
Reviewed-on: https://gerrit.libreoffice.org/1253
Reviewed-by: Peter Foley <jpfoley2@gmail.com>
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-10 14:06:01 +00:00
Caolán McNamara
a7320cbe40 de:Interner Test -> en:Internal Test
Change-Id: I39210b28a098292d9457aac3f23083d49d7f5e61
2012-12-10 14:04:02 +00:00
Eike Rathke
b1184f8a4e fdo#52240 added [hr-HR] date acceptance patterns D/M/Y;D/M
As per https://bugs.freedesktop.org/show_bug.cgi?id=52240#c59

Change-Id: I9f5ba81c5fd6732ca7e90e0480fcc02ed2709674
2012-12-10 15:03:31 +01:00
Eike Rathke
638993d9b8 fdo#52240 added [no-NO] date acceptance patterns D.M;D/M/Y;D/M;D/M Y
Also referenced by nb-NO and ny-NO
Changes as per http://erack.org/blog/archives/18-comments.html#c351

Change-Id: I9e07f4307800e99fdff21bccde91af4178b244f3
2012-12-10 15:03:31 +01:00