Commit graph

2735 commits

Author SHA1 Message Date
Norbert Thiebaud
46d40d6419 remove include of pch header in desktop 2011-11-27 13:06:47 -06:00
Stephan Bergmann
0c7bff0271 Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.
A compile time check ensures the common case of streaming just a plain
C-style string literal still produces reasonably compact call-site code.
The format-string variants are still available in sal/detail/log.h, but
only to be used in obsolete osl/diagnose.h etc., and going to be removed
again eventually.
2011-11-23 15:50:58 +01:00
Stephan Bergmann
f055e0e361 Upon startup, do not unnecesarily instantiate component service factories.
Discovered by Michael Meeks <michael.meeks@suse.com>.
2011-11-22 21:22:24 +01:00
Stephan Bergmann
d6a8934eeb Remove no longer necessary "(void) x; // avoid warnings". 2011-11-22 17:03:12 +01:00
Stephan Bergmann
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
Joseph Powers
987108acc3 Remove some unused headers from desktop 2011-11-20 09:22:01 -08:00
Caolán McNamara
2fc7e56a6c push/pop deprecated 2011-11-16 20:40:36 +00:00
Michael Meeks
042247b3e4 Fixup legacy sleepycat db database usage for packages
Previously empty legacy registered_packages.db databases were created
unconditionally, at some efficiency and startup cost, despite these
being deprectated since before version 3.2.
We now handle version mismatches by warning on the console and ignoring
these files.
2011-11-16 17:04:54 +00:00
Stephan Bergmann
16aa2c1dd6 Removed obsolete OOOBASEVERSION, OOOPACKAGEVERSION.
With the basis/brand split undone, they are always the same as
PRODUCTVERSION and ABOUTBOXPRODUCTVERSION, respectively.
2011-11-15 18:29:47 +01:00
Stephan Bergmann
8a99391937 Introduced LibreOffice-minimal-version extension dependency. 2011-11-15 12:44:00 +01:00
Norbert Thiebaud
9ba9707611 remove unused desktop/source/app/copyright_ascii_sun.c 2011-11-14 21:41:48 -06:00
Stephan Bergmann
8b75883b87 Simplified some uses of css.configuration.theDefaultProvider.
* Retro-added new-style UNOIDL singleton specification for it, for easy
instantiation.
* Plus new comphelper::getComponentContext to map from XMultiServiceFactory
to XComponentContext.
2011-11-14 22:07:23 +01:00
Stephan Bergmann
b11bd0323e Removed comphelper -> unotools processfactory.hxx duplication. 2011-11-14 11:50:26 +01:00
Stephan Bergmann
c1758889cb Heavily simplified utl::ConfigManager. 2011-11-11 22:49:21 +01:00
Stephan Bergmann
4bfde371a8 OOo reference version for extension dependencies is still at 3.4. 2011-11-09 13:37:00 +01:00
Stephan Bergmann
debc96051f OpenOffice.org-minimal-version dependency is not branded. 2011-11-09 13:37:00 +01:00
Stephan Bergmann
bf912d1a18 dp_dependencies clean up 2011-11-09 13:37:00 +01:00
Tor Lillqvist
97722c8215 Drop unnecessary inclusions of <sal/main.h> 2011-11-05 12:11:16 +02:00
Stephan Bergmann
e66e54fb00 Further clean up of areas touched by previous commit. 2011-11-04 08:21:26 +01:00
August Sodora
e042493375 String->OUString, remove unused code 2011-11-04 08:21:25 +01:00
Michael Meeks
501a1fbc3e WaE: more windows tinderbox warning cleanup 2011-11-01 16:08:38 +00:00
Stephan Bergmann
0c13fbb5bd Improved an OSL_FAIL. 2011-10-31 09:05:59 +01:00
Tor Lillqvist
ad44d75e53 chmod -x 2011-10-26 12:54:10 +03:00
Olivier Hallot
a5d6dca3e9 Fix for fdo41997 continuation of VCL cleanup 2011-10-25 13:42:00 +01:00
Stephan Bergmann
b1eae75f53 Undo basis/brand split: moved ini files from basis program/ to brand program/.
Moved uno ini, folded fundamentalbasis ini into fundamental ini, merged
version inis.
2011-10-20 23:04:11 +02:00
Matúš Kukan
173cf81756 add more component prefixes 2011-10-08 15:31:40 +02:00
Stephan Bergmann
2ff63bcdea Undo basis/brand split: merge basis share/ into brand share/. 2011-10-07 22:06:28 +02:00
Michael Meeks
9142f9a1a1 WaE: win32 cleanup 2011-10-07 16:30:52 +02:00
Michael Meeks
6c2d66e525 remove const sal_Char * casts of rtl::OUStringToOString results, fixes ucb 2011-10-05 14:00:34 +01:00
Caolán McNamara
06ae02404e cast gone 2011-10-05 10:44:30 +01:00
Caolán McNamara
4e4bfa470c verbose error message please 2011-10-04 12:30:13 +01:00
Andras Timar
eabbfc9d14 solve a cosmetic issue in Extension Manager window
When the extension entry is not highlighted, replace LF to space
in description text, so words do not stick together in one line view.
2011-10-03 15:56:31 +02:00
Tor Lillqvist
50ce26da14 WaE: suggest a space before ';' or explicit braces around empty body in 'while' statement 2011-09-29 22:07:55 +03:00
Caolán McNamara
c04c8e918b ByteString->rtl::OStringBuffer 2011-09-29 09:33:46 +01:00
Caolán McNamara
af1a8de15e why use a pointer when a reference will do 2011-09-29 09:33:45 +01:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Stephan Bergmann
0607102c47 Improved some error reporting. 2011-09-21 23:35:24 +02:00
Andras Timar
bf65a6ebc6 include dp_gui_theextmgr.hxx only once 2011-09-21 22:18:03 +02:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00
Caolán McNamara
4acffc240b catch by const reference 2011-09-16 15:25:13 +01:00
David Tardon
6df9c479f5 gbuildize desktop 2011-09-15 14:49:34 +02:00
Stephan Bergmann
1d38dbab29 sb140: #i117084# do not leak Lockfile instance
plus improvements based on a14010cb8c "valgrind: fix leak"
2011-09-09 17:46:37 +02:00
Stephan Bergmann
e700031cc4 sb140: #i116910# do not leak Thread_Impl from desktop::Acceptor 2011-09-09 17:46:35 +02:00
Caolán McNamara
a78a6e013b Resolves: fdo#37195 CreateProcessServiceFactory can't happen before sync
If CreateProcessServiceFactory is called, then common.rdb of
"Users/YOU/AppData/Roaming/LibreOffice/3/user/extensions/bundled/registry/
com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb" is
opened mmapped

On a new start of an LibreOffice which wants to synchronize new config over an
old config, then it will want do a copy of
"install/share/prereg/bundled/registry/
com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb"
over
"Users/YOU/AppData/Roaming/LibreOffice/3/user/extensions/bundled/registry/
com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb"
which will fail on windows with error 1224, i.e. ERROR_USER_MAPPED_FILE

That aborts the copy_bundled_recursive copy, leaving an old config
pointing to the old location of dictionaries.

So for windows at least, CreateProcessServiceFactory shouldn't happen before
copy_bundled_recursive.
2011-09-01 13:44:49 +01:00
Caolán McNamara
8de61c9fb6 grabbag of unused code 2011-08-31 10:43:23 +01:00
Caolán McNamara
c7c62c7114 oops, out-by-one idiocy 2011-08-26 10:23:55 +01:00
Caolán McNamara
acfe7d39e5 regoptions (etc.) now unused post registration-removal 2011-08-22 09:39:18 +01:00
Michael Meeks
9950fc4f65 print fatal UNO exceptions' text in a friendly way from OpenClients failures 2011-08-19 12:27:19 +01:00
Caolán McNamara
2f800d902f fdo#37206 toggle default config to false for crash-reporter installed 2011-08-19 09:30:45 +01:00
Caolán McNamara
8a0941ad1d use RTL_CONSTASCII_LENGTH/SAL_N_ELEMENTS 2011-08-17 09:54:14 +01:00