Commit graph

312588 commits

Author SHA1 Message Date
Stephan Bergmann
543158edba Require XComponentContext.getServiceManager to throw instead of returning null
This is such a fatal error that there is probably no point in trying to handle
it, so allow to simplify client code by removing the requirement to check for a
null return value.

Simplified some client code accordingly (modules configmgr and ure, and the code
generated by cppumaker and javamaker).

Change-Id: I51c0b270ec73409374f7439a47ee061407a46e31
2012-09-17 16:59:53 +02:00
Nicholas Shanks
6e78fd18c9 revised MacOSX mimetype icons
Change-Id: I68a1f132d0c4c379a3bcbf5e1a0f9a37604a8948
2012-09-17 15:58:31 +01:00
Thorsten Behrens
1b3b958520 Cppcheck: remove duplicate if/else in sd.
Change-Id: I872dd578729d8fe43d50fbf835b977adff8aded5
2012-09-17 16:47:40 +02:00
Stephan Bergmann
7371e3dbeb Attempt at adapting Windows-only code to ucbhelper::Content changes
Change-Id: Ib17e2153746da9e097cccef1bd70bbbd349c7920
2012-09-17 16:46:01 +02:00
Nicholas Shanks
00ec76a49d Resolves: fdo#54820 128x128px and 256x256px icons too small on MacOSX
Change-Id: I9d1d21737da21724f98c2a7d06734693bb4ebedb
2012-09-17 15:35:53 +01:00
Norbert Thiebaud
195f17ee40 migrate some of the biggest consumer of osl_*InterlockedCount to osl_atomic
Change-Id: I0e6992afbeffaf3b993e6630fb396d93012890e0
Reviewed-on: https://gerrit.libreoffice.org/632
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17 14:26:12 +00:00
Stephan Bergmann
c9d3373dad Help compilers with explicit template argument.
Change-Id: Ib958807b0227d6aa7fdd0c51b2ad7a595f4eaa71
2012-09-17 16:24:44 +02:00
Caolán McNamara
038edb6130 writer split cells entry results in a dialog, so use ellipse
Change-Id: Id8f0d0eada854cc584e613b10e341602517ed47e
(cherry picked from commit 1c335df02a7ed77a571ffd5f51f5d6d6710d7d52)
2012-09-17 15:04:41 +01:00
Miklos Vajna
c6f6faeda1 n#778140 testcase
Change-Id: I50ba7e12eec41c90dff1a378113f46bff36552a4
2012-09-17 15:50:00 +02:00
Miklos Vajna
895edc12a4 fix typo
Change-Id: Iaccb9a09576e47ad35161f9ac5e4f07c192267d9
2012-09-17 15:39:45 +02:00
Michael Meeks
8a73c22b9b android: disable clucene 2012-09-17 13:26:32 +01:00
Andrzej J.R. Hunt
f38715f7a8 Modify and simplify activity starting and backstack usage.
Change-Id: Ic4c4806ea3e791d0d75621e678166d0ffbbfa96a
2012-09-17 15:04:01 +02:00
Luboš Luňák
e3b2030ca3 libcmis: fixed some conflict with windows.h definitions
Change-Id: I5f121cbeff3f0cda5776d5361e585eaa1b48ea63
2012-09-17 15:00:49 +02:00
Markus Mohrhard
7a182026fc don't use delete with remove_if, related fdo#54498
Change-Id: I508ceb8dfe13fbfe54b4262d26bd215462c90c40
2012-09-17 14:56:49 +02:00
Markus Mohrhard
e6bca12217 don't delete ranges in ScRangeList::UpdateReference, fdo#54498
Change-Id: Id6a1f9f514c8221e5ca79e1eaafe69916fc1d1bd
2012-09-17 14:56:49 +02:00
Stephan Bergmann
576ba0c0c0 Some comment clean up
Change-Id: I33fbe68b17e9a1c457b37c6d81619f2df67fbe8d
2012-09-17 14:45:47 +02:00
Norbert Thiebaud
afbc579278 add osl_atomic_* api to allow for inlined atomic increment/decrement
atomic increment/decrement is provided by
osl_increment/decrementInterlockedCount()
but that is a exported dll function, so it cannot be inlined.

valgrind analysis of a run, loading a medium sized spreadsheet, shows
that these 2 functions were called 3.5 millions times for a total cost of
55 millions of instructions... a cost of 8 instructions per call,
which is at least a 300% overhead since an atomic inc/dec is 2 instructions
iow we could save about 1% of the total instruction count of that run(4.6B)

We cannot change the existing api, as this would break ABI.
but we can add a new api. and migrate internal user to it.

osl_atomic_decrement/osl_atomic_increment do the same task,
than osl_*IntelockedCount() but do that inlined if possible.

Note that this version only optimize the case GCC with atomic built-in.
but support for other case should not be very hard.

follows-up patches will replace the use of the osl_*InterlockedCount()
in the product with their osl_atomic_* equivalent.

Change-Id: If4dcbf94ea6f62eb6d55d30613fe65878ffb8023
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-09-17 14:34:36 +02:00
Stephan Bergmann
581aa2ae22 Improvement on previous commit
Change-Id: Idadc0feb5e9c8a3abb5e53395003c386932aa05e
2012-09-17 14:28:22 +02:00
Noel Grandin
900d60b3cd fdo#46808, Adapt bridge::BridgeFactory UNO service to new style
Create a merged XBridgeFactory2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: I7309f4d30f0e772bc203c701eb3407b920ffafcc
2012-09-17 14:28:22 +02:00
Stephan Bergmann
e3c05e34fd Improvement on previous commit
Change-Id: I609961ece562b7e02c542cfeb23d7c584a9663d9
2012-09-17 14:28:21 +02:00
Noel Grandin
369e3fdcda fdo#46808, Adapt i18n::LocaleData UNO service to new style
The implementation of the LocaleData implements the optional XLocaleData4,
so rather than creating a new interface for the new-style service, we simply
make the service implement XLocaleData4, which in turn implements
XLocaleData3, XLocaleData2, XLocaleData.

Change-Id: I3e9a48b031be6b2aa5e04b376b3940b942add85a
2012-09-17 14:28:21 +02:00
Cédric Bosdonnat
9486e6c45f libcmis: bad warning fix... refixed
Change-Id: I66716b090bdf0c10d940ab7ed225a1b5cb797516
2012-09-17 14:02:30 +02:00
Cédric Bosdonnat
0065e6613b Forgot to git add libcmis-0.3.0-warnings.patch
Change-Id: I0b2f1b8011b0b38ef2ec874ed1681db7cbd114ab
2012-09-17 13:47:51 +02:00
Cédric Bosdonnat
bcaa72b06e libcmis: silenced some warnings
Change-Id: I4dd47968b4273804858a47707fdf07a3b5be242a
2012-09-17 13:40:44 +02:00
Stephan Bergmann
cdd7e25a5b These tests do not need the UCB
Change-Id: Ic5cd29efc01df5c77a7b4619f3e0cddb483817a6
2012-09-17 13:35:54 +02:00
Luboš Luňák
1e5e5c4022 avoid C++11 narrowing conversion error with clang
/home/tinderbox/clang-master-build/solver/unxlngi6/inc/external/boost/uuid/seed_rng.hpp:143:61:
error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned int' in initializer list [-Wc++11-narrowing]
            unsigned int rn[] = { std::rand(), std::rand(), std::rand() };

Change-Id: Iea9808492cd3fbcf078e61bbc184bdc434e7cd8a
2012-09-17 13:31:54 +02:00
Stephan Bergmann
af875ebebc Missing dependency
Change-Id: Iba87094fe3c003f5c49f995a54531462298ea190
2012-09-17 13:26:35 +02:00
Miklos Vajna
4dff8b0d40 n#778140 DOCX import of w:doNotUseHTMLParagraphAutoSpacing compat option
This reverts commit 61c94cbe2c (as it
touched values which are not in the spec) and sets the correct paragraph
top/bottom margin in case the compat option is enabled.

Change-Id: I152a76d8fcdef3acf5491783c2ccacd2d48e76b3
2012-09-17 12:55:17 +02:00
Caolán McNamara
f91e008c98 older icu's appear to have the features, but not the typedefs
Change-Id: Ic17ffb49e7f143366c9c200d1c04b0536f2222b4
2012-09-17 11:47:40 +01:00
Stephan Bergmann
e8b79f29a6 fdo#54858: DocumentDigitalSignatures::initialize can be called with 0 args now
...as the new createDefault service ctor internally calls
createInstanceWithArgumentsAndContext, not plain createInstance[WithContext].

Change-Id: Ia3bf8167154a4ae9d64dae271cc23d513e9e77fb
2012-09-17 12:03:03 +02:00
Caolán McNamara
01cadc8fdb Related: rhbz#857860 enable ligatures and kerning only when requested
Change-Id: I8c4d9744c9a8704fbb7de5670933f2229f710fce
2012-09-17 10:46:28 +01:00
Caolán McNamara
d5e15c6355 update unused code list
Change-Id: I4d6ad11fbe68420931e88defa20afbef290d4d24
2012-09-17 10:46:27 +01:00
Caolán McNamara
68ffb332f5 nothing propagates HAVE_CUPS_H so cups is always disabled
regression from 22f2e5f286

so, lets follow the same pattern as else where and fixup
ENABLE_CUPS to be TRUE when enabled and lets just link
against cups and not do the dlopen dance

Change-Id: I3cff1bd98a7474c403d7ff66183e76e26e407de8
2012-09-17 10:46:27 +01:00
Caolán McNamara
c20ba023c7 XubString->OUString
Change-Id: Ic8b191dfb0d14e129dc804aeb4ac14c732e72e6b
2012-09-17 10:46:27 +01:00
Stephan Bergmann
44aa7df623 Missing include
Change-Id: I7917d061f4aed307f29d428a72c793e782944e49
2012-09-17 10:43:43 +02:00
Christian Lohmaier
72411fca48 don't add invalid UTF-8 to _NET_WM_NAME and _NET_WM_ICON_NAME
time to get rid of workarounds for broken window managers that were
introduced more than 10 years ago.

Change-Id: I43b4c7aeab1b86b3d4a290a1d1d64c6fcb9a57ef
Reviewed-on: https://gerrit.libreoffice.org/633
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-17 08:18:13 +00:00
Andrzej J.R. Hunt
9f8cd15be9 Add icons + device name display to pairing activity.
Change-Id: If27119e3e62bac8046fcc33cb12767b116bcc991
2012-09-17 10:16:55 +02:00
Christian Lohmaier
9b0b15ee09 checksize.pl chokes on empty files created by __debug_install_post…
…that is /usr/lib/rpm/mageia/find-debuginfo.sh on Mageia for example.
As the desktop-integration packages don't have any binaries whose
debuginfo could be extracted and put into a -debug package, there is no
impact on the packages themselves.

Change-Id: I99756f6a1a3de707a94f7559b9f1b5169d2e7ee1
Reviewed-on: https://gerrit.libreoffice.org/630
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-17 08:12:59 +00:00
Douglas Rodrigues de Almeida
01abb62444 Easyhack 50089
UI accelerator keys missing in sections Table Design and Slide Transition of task pane.

I chose characters that are not used as menus keys.

Change-Id: Ide70e4703b0e27e001d487e07fa05fb14481cad2
Reviewed-on: https://gerrit.libreoffice.org/629
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-17 08:10:04 +00:00
sagar
b079fd5a1b fdo#34792 - Fix for truncated field labels in Bibliography database dialog
Change-Id: I256b2b0ad508faed68c9faf0df6a9bb2e334cc66
Reviewed-on: https://gerrit.libreoffice.org/627
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-17 08:03:05 +00:00
Andrzej J.R. Hunt
ee181f82aa Styling and icons for Selector Activity complete.
Change-Id: I11e26c9c97c4e9aea465c0d9f6b7863a260a3577
2012-09-17 09:58:19 +02:00
Ivan Timofeev
9d265e1b69 fdo#54858: fix UNO service conversion
regression from 197a79e571

Change-Id: I3fbba4da0d293659d8521c768d34de18cd6bc634
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-09-17 09:54:50 +02:00
Stephan Bergmann
24aec4dad6 Include header with prototypes of defined functions
Change-Id: Ia28c36b1627ef944adecd5c8a55c150bd0f9aa02
2012-09-17 09:31:46 +02:00
Andrzej J.R. Hunt
b8834500f7 Changed timerUpdateThread to Runnable for clarity.
Change-Id: I49d66181d3aecddf8a5f6fbccccce01699aaa465
2012-09-17 08:39:32 +02:00
Markus Mohrhard
c4a6a8d239 add more test for ScRangeList::DeleteArea
Change-Id: I2484603b74cbdb1f92c08eac6c02d9a091e06eb9
2012-09-17 02:44:11 +02:00
Markus Mohrhard
21edfcb824 test case for ScRangeList
Change-Id: I371ac1b3236777a73e4f25f93d465041308e34b4
2012-09-17 02:14:13 +02:00
Markus Mohrhard
4cf0759e7c fix ScRangeList::DeleteArea for the 4 ranges case
Change-Id: I6321a722be6779d839459ed71b793a46e0968567
2012-09-17 02:14:13 +02:00
Andras Timar
eaa81cc2f0 move help compiler/linker/indexer to a new module
we may want to use syntax highlighter class from svtools later,
which is not available for l10ntools

Change-Id: I5a06b77cb6935e3ef68015fb608aa26ac7c53fac
2012-09-16 20:41:26 +02:00
David Tardon
eb5b28c344 export sal init and deinit functions
Linking of cppunittester (and any other executable that uses
SAL_IMPLEMENT_MAIN or SAL_IMPLEMENT_MAIN_WITH_ARGS) fails otherwise.

Change-Id: I778941ab2069819789f96ab04f364ea61cf4a3cb
2012-09-16 13:03:16 +02:00
Julien Nabet
21fbe158f1 Remove useless variable
Change-Id: Id554c4aba878b329351b2c61e0e90d4515debd6a
2012-09-16 11:38:29 +02:00