Commit graph

4071 commits

Author SHA1 Message Date
Caolán McNamara
907ba5e528 match DB_ENV creation flags to DB creation flags 2012-03-23 20:47:57 +00:00
Caolán McNamara
7687651347 Take a meg off our memory footprint
We create 6 berkleydb backed databases. If no DB_ENV is provided for a
database, then berkleydb creates one for each database. Each
environment has a memory footprint of about 200k. It appears to be
legal to share an environment, which shaves about 1M off our
permanant footprint.
2012-03-23 10:20:47 +00:00
Caolán McNamara
f0a2c79019 DbEnv argument is always NULL 2012-03-23 10:20:46 +00:00
David Tardon
01eb464eb4 remove duplicate entries 2012-03-23 06:02:41 +01:00
David Tardon
424a03e72f simplify pagein creation 2012-03-23 06:02:41 +01:00
David Tardon
ecc7ae77d3 move Pagein from desktop to gbuild 2012-03-23 06:02:40 +01:00
Caolán McNamara
bdfba4dbf6 make ResId->OUString the primary route 2012-03-20 12:57:33 +00:00
Stephan Bergmann
7b9ea611be Resolves rhbz#804437, do not rtl_uString_release(NULL)
...in case osl_getProcessWorkingDir fails (e.g., if it has been unlinked).
2012-03-20 11:23:55 +01:00
Stephan Bergmann
5bda84a2d7 Fixed spl_component_getFactory
The old code relied on the order of initializing global static variables across
compilation units, which failed for MinGW cross compilation.  Cleaned up.
2012-03-19 19:36:51 +01:00
Jan Holesovsky
43061897a6 Workaround a strange wine / mingw crash. 2012-03-19 14:34:35 +01:00
Stephan Bergmann
9019ccb423 soffice.exe must not link against sal3.dll (might fix fdo#44489)
...as soffice.exe creates the proper environment (PATH) for soffice.bin to be
able to load URE libs like sal3.dll, so soffice.exe itself should neither be
able to load nor depend on sal3.dll (and does not depend on anything exported by
it, anyway).

It is unclear to me how this ever worked (which it presumably did?) with any
Windows build, either native MSVC or cross-compiled MinGW.  (Maybe MSVC builds
do not record a dependency from soffice.exe to sal3.dll, noting that the former
does not import anything from the latter?)
2012-03-19 14:21:00 +01:00
Stephan Bergmann
d4b67611c4 Introduced SystemShellExecuteFlags::URIS_ONLY 2012-03-16 15:01:26 +01:00
Matúš Kukan
45504f9ba8 fix windows build
No idea if this is proper fix or it needs to be done otherwise.
2012-03-16 01:25:24 +01:00
Michael Stahl
813a57cb1a fdo#47246: desktop: factor out a winextendloadenv static library 2012-03-14 16:23:30 +01:00
Michael Stahl
5cc6398985 fdo#47246: desktop: factor out a winlauncher static library 2012-03-14 12:33:47 +01:00
Michael Stahl
fece687329 desktop: move lockfile.cxx to libdeploymentmisc 2012-03-12 18:30:33 +01:00
Michael Stahl
c7458a4a71 desktop: libsofficeapp shouln't need a main() 2012-03-12 18:30:32 +01:00
Michael Meeks
61eeb689d7 fix smoketest - need to check read-only-ness of non-existent paths 2012-03-12 13:20:38 +00:00
Luboš Luňák
3f765e5bb2 replace usage of OUString::replace*AsciiL() with string literal overloads 2012-03-12 13:35:57 +01:00
Stephan Bergmann
bee742eb7a Fix sense of r/o detection code, and clean up 2012-03-09 19:42:48 +01:00
Michael Meeks
d3192948fe fdo#40607 - osl_syncFile having written, and avoid doing that on start 2012-03-09 17:03:48 +00:00
Matúš Kukan
ac26f68710 remove unused Makefile 2012-03-09 10:48:03 +01:00
Takeshi Abe
274b4272fa Removed dead define
It died 10 years ago: 85c2755e16
2012-03-09 00:30:40 +09:00
Michael Stahl
db21197de4 desktop: do not complain about soffice command line options:
These are handled in the soffice wrapper script, but that is too stupid
to be able to filter these out, so just ignore them in soffice.bin.

(regression from 4efbd87e31)

Also, print errors on stderr.
2012-03-08 15:53:49 +01:00
Caolán McNamara
4efbd87e31 Resolves: rhbz#800272 complain about unknown command-line options 2012-03-06 15:49:48 +00:00
Tor Lillqvist
ab9f4482b1 Also bypass definitions of functions not used on Android or iOS 2012-03-02 15:42:26 +02:00
Stephan Bergmann
f97c9c2539 migrateSettingsIfNecessary must be called later after all
...once e.g. UCB is already initialized, as the invoked migration services use it.
2012-03-02 12:49:05 +01:00
Stephan Bergmann
c6f8eb26c0 Clean up 2012-03-02 10:59:19 +01:00
Stephan Bergmann
76e0d695a4 Move migrateSettingsIfNecessary into create_user_install
...so that it is only done once (see mail thread starting at
<http://lists.freedesktop.org/archives/libreoffice/2012-February/027058.html>
"User installation migrated onto itself").  Also, checking for the existence
of an old user installation needed to change from ucbhelper::Content::isDocument
to osl::FileStatus::getFileType, as the UCB is not yet initialized at the time
migrateSettingsIfNecessary is now called.
2012-03-01 22:33:31 +01:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Stephan Bergmann
8bbf048085 fdo#46434: Always send command line arguments as UTF-8 2012-02-29 15:08:20 +01:00
Caolán McNamara
3f9f18c53d Resolves: rhbz#788045 swriter --help etc doesn't show help
because the test in soffice to skip oosplash is for only
one argument, and swriter points to soffice with an additional
--writer argument, so the test is skipped
2012-02-29 11:10:31 +00:00
Stephan Bergmann
cf4416a68f fdo#46434: No need to turn arguments into absolute file URLs when sending
...as the receiving side already takes care of that (using the cwd that is sent first).
2012-02-29 11:47:10 +01:00
Stephan Bergmann
60f97f3ceb Typo bInhibitJavaLdx -> bInhibitPagein 2012-02-29 10:43:21 +01:00
Caolán McNamara
84fa063b4c fix msvc2005 build 2012-02-27 09:45:58 +00:00
Caolán McNamara
06dda2b7ae make desktop Bytestring free 2012-02-27 09:45:55 +00:00
Michael Meeks
3ad0561957 android: remove annoying & un-necessary dialog on start 2012-02-24 11:05:57 +00:00
Caolán McNamara
12310746ed accumulate into an OStringBuffer 2012-02-23 20:45:02 +00:00
Caolán McNamara
d5c14a99dc just link to HelpIndexer 2012-02-23 10:31:20 +00:00
Stephan Bergmann
40d21ab3c7 Adapted OfficeIPCThread to safer-to-use salhelper::Thread 2012-02-23 10:47:37 +01:00
Stephan Bergmann
a342b3e3b0 Moved dp_gui::Thread to salhelper::Thread, so that all code can use it
...also improved the code somewhat.
2012-02-23 10:47:35 +01:00
Luboš Luňák
f150ed241f OUString ctor for string literals without RTL_CONSTASCII stuff
http://lists.freedesktop.org/archives/libreoffice/2012-February/025662.html
2012-02-22 16:21:37 +01:00
Thomas Arnhold
e001ca1280 WaE: duplicateBranch 2012-02-21 20:57:03 +01:00
Riccardo Magliocchetti
dac4874eb0 desktop: Don't call setIniFilename() for LIBO_HEADLESS
mmeeks suggests we don't want setIniFilename(), who am i to disagree? :)
2012-02-21 13:09:21 +02:00
Riccardo Magliocchetti
3c177b96b8 desktop: remove duplicated gb_Library_set_include call 2012-02-20 22:42:14 +01:00
Stephan Bergmann
55892c6bd7 Clean up work around spurious warning about missing JRE 2012-02-20 13:36:47 +01:00
Elton Chung
d30b4e9fb6 Get rid of size() == 0 2012-02-19 17:07:46 +04:00
David Tardon
ce4c9fa90a WaE: exec_javaldx defined but not used (javaless build) 2012-02-18 21:49:16 +01:00
Thomas Arnhold
8ecea48c05 unusedcode.easy: desktop: singleton_entries is completely unused 2012-02-18 11:32:23 +01:00
Riccardo Magliocchetti
2130deb2d1 Introduce headless switch for X / cairo / toolkit less build
The plan is to reduce dependencies to be easier to deploy
libreoffice server side in headless mode.
2012-02-17 16:44:56 +00:00