Commit graph

305979 commits

Author SHA1 Message Date
Tor Lillqvist
d202754abf WaE: 'Impl' defined as a struct here but previously declared as a class
Change-Id: Ie1ca2df3e4b60c69a3c7860fe39aca4a505feffb
2012-05-17 17:03:40 +03:00
Caolán McNamara
5e0b52c189 some more ConstAsciiString behind OSL_ENSURE
Change-Id: Ic93ec84ce62234364d233a9188a65439e88a79fe
2012-05-17 14:51:17 +01:00
Takeshi Abe
5e3a4ecb0a catch by const reference
Change-Id: I80a26483c4ecd099a1cfe76bdac1e97b947ef104
2012-05-17 22:44:43 +09:00
Takeshi Abe
9902f0ee3d removed unused const rtl::OUString
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
2012-05-17 22:44:43 +09:00
Caolán McNamara
ac6833f979 remove "TODO: add test" which is now done
since 99bf0c318b

Change-Id: I0fbd88d842f750d101e3eec5a6b18f7e8bc062be
2012-05-17 14:43:29 +01:00
Tor Lillqvist
7606616cdd Mention that the android/qa/sc test has not been maintained lately
Change-Id: I78108f44bad1da0143f2849aa98a2ddf1b13fc1d
2012-05-17 16:37:02 +03:00
Tor Lillqvist
b58498fb57 Now with in-process redirection, the adb shell setprop thing is not needed
Change-Id: Ibfda0e6e65d0834cffdd95d4c6d87d07644088f6
2012-05-17 16:32:32 +03:00
Caolán McNamara
fdec471a7c Related: fdo#40778 use simple pushbutton for add to single user dict
for "add" an unknown word to user-defined dictionaries
a) use a normal button when there's only one user-defined dictionary
b) use a dropdown when there's more than one user-defined dictionary

Change-Id: I8a8eb3fff6c4582341d8322df403b73a517a5560
2012-05-17 14:14:58 +01:00
Caolán McNamara
5dcf536b69 merge the 5 ConstAsciiString duplicate classes together
a) merge them together and move it into comphelper
b) turn it into a POD rather than having vast amounts
of destructors registered into the cxa_atexit chain

Change-Id: I04d3b9d7804f8e233013c916df9d617a0f84f96a
2012-05-17 14:03:26 +01:00
Caolán McNamara
acd9cda354 XubString->rtl::OUString
Change-Id: Ic7426d9838bb1034618c3d553482256d1866878f
2012-05-17 14:03:25 +01:00
Caolán McNamara
0e9c60d596 reduce static_initialization_and_destruction chain
Change-Id: Ib2642e19d9148acca27227b0d91de4e8855178aa
2012-05-17 14:03:25 +01:00
Caolán McNamara
1d0f8a1bfb nutso static OUStrings
Change-Id: I104af905eb0d13864f70f44386b2b573fb26e513
2012-05-17 14:03:25 +01:00
Caolán McNamara
2b307d2796 drop debug_oustring now that gdb pretty-printers exist
Change-Id: Ie7d17f0ceb2e549b84c0cc16768604511e0e51a5
2012-05-17 14:03:25 +01:00
Caolán McNamara
120cd2b578 WaE: MSVC2008 C4309 truncation of constant data
Change-Id: I7cae514cfd3c51bde5e8e0df2c51bed23904569d
2012-05-17 14:03:25 +01:00
Miklos Vajna
86ebc34dad sw/qa/extras: add a README explaining how to add new tests
Change-Id: I2a361a2c9becece74d41cb917a789a4429b3f3c1
2012-05-17 14:40:20 +02:00
Ruslan Kabatsayev
cbe733f19a autogen.sh: append aclocal arguments to ACLOCAL_FLAGS unconditionally
Change-Id: I2254628edfe213c3424dce2bc5d9f164752e913c
2012-05-17 11:04:56 +02:00
Muthu Subramanian
ef4d2a80ee n#760029: Floor borders were missing from 3D Charts.
Looks like there should always be a floor border for the 3D charts.
2012-05-17 12:50:30 +05:30
David Tardon
3378c2d3b8 fix spurious delivery of rdb files (better way)
The only task of the UnoApi class is to deliver a RDB file and all the
stuff related to it (i.e., the IDL files and the generated headers). For
that purpose, order-only dependecies are sufficient.

Change-Id: Ibe0a58d1e8ceaad62ff71773e372fb8dfb921fbd
2012-05-17 07:58:00 +02:00
David Tardon
06c8ad5197 Revert "fix spurious re-delivery of RDB files:"
This reverts commit 07c0b800d9.
2012-05-17 07:57:59 +02:00
David Tardon
47b6d27c2d remove duplicated dependency
Change-Id: I4cfe3ce7b7dab5d3fb2d3ddfa28f0fa263593667
2012-05-17 07:57:59 +02:00
David Tardon
f70fe6e651 fdo#49921 make sure all tab pages have the same dimensions
The reason is that they can be combined arbitrarily in dialogs, so
changing, e.g., height of one tab can lead to "interesting" results. Cf.
commits 8631dbf85f and
29042d096a that were the cause of the
problem described fdo#49921.

Change-Id: I9995002a2bd5c3604bdfa06dc817916ce61c558d
2012-05-17 07:57:59 +02:00
Andras Timar
9baeb0bd8f on Windows we need both propex (Perl script) and propex.bat (launcher)
Change-Id: I1044c84dc0fb22188100c17440a72c0a7d923adc
2012-05-17 07:41:30 +02:00
Michael Stahl
7175ceede1 i18npool: fix spurious re-deliver of i18npool.uno.so:
The target is always older, because it is delivered while preserving
the timestamp of the source, but here order only dependency is enough.
2012-05-16 23:58:45 +02:00
Michael Stahl
b6076ec3c1 gbuild: fix build executable dependencies:
Rules that invoke generated executables should have dependencies on
those executables.
2012-05-16 23:58:44 +02:00
Michael Stahl
236055746f further spurious dep-file rebuild fixes:
With the way dep-file generation was changed for LinkTargets in
8b5a984d45, it is necessary to change all
other dep-file generation the same way, because the LinkTarget dep-files
are outdated wrt. the object dep-files after an initial make run, and
hence if any other dep-file depends in any way (even build-order) on a
generated Executable, say by depending on the corresponding target file,
then the PHONY entries in the outdated LinkTarget dep-files for the
executable and its linked libraries cause all these objects to be
recompiled.

It is not a problem that there is a rule with the dep-file as target,
and another rule for the corresponding actual target that writes the
dep-file as a side-effect, without dependecy between the targets:
because make does processing in 2 phases, first building all included
makefiles, second all other targets, it is guaranteed that the 2
commands don't race to overwrite the dep-file because (when there is no
dependency between them) they will not be executed in the same phase.

The only problem here is that this will probably make IDL processing a
lot slower on Windows, writing all those dummy dep-files.
2012-05-16 23:58:44 +02:00
Michael Stahl
6cdc3b9ceb fix LinkTarget dep-target dependencies:
The LinkTarget dep-target depends on the LinkTarget headers target,
which appears unnecessary and harmful because since commit
8b5a984d45 the initial dep files always
contain PHONY deps anyway; also the PHONY deps cause spurious re-builds
here because e.g. the tools library depends on a tools package that
depends on a tools custom target that depends on some executable
that depends on libuno_sal that depends on its objects which depend on
this PHONY thing so all that stuff is spuriously re-compiled in make
subsequentcheck after a build from scratch, breaking tests because
being subsequent they don't expect libraries to change under them.
Also, link target shouldn't depend on its dep target.
2012-05-16 23:58:44 +02:00
Michael Stahl
07c0b800d9 fix spurious re-delivery of RDB files:
The OUTDIR RDB depends on Packages for IDL and headers, the latter of
which depends on the WORKDIR RDB, hence preserving timestamps here leads
to spurious re-delivery because the OUTDIR RDB always has older
timestamp than the headers Package.
2012-05-16 23:58:43 +02:00
Michael Stahl
0b1e380e02 try to fix --with-solver-and-workdir-root on Windows
idlc breaks because sal considers X:\\foo an invalid system path
2012-05-16 23:58:43 +02:00
Tor Lillqvist
a7098c77b3 Move the RPATH enforcement to icu4c-rpath.patch and skip that for Android
We might eventually want to use Mike Hommey's "faulty.lib" dynamic
linker (developed for Firefox on Android) to get around the Android
system dynamic linker's silly limitations. It does not like
DT_RPATH. (The Android system dynamic linker just ignores those.) So
no point putting RPATH into the ICU libs for Android.

Note that the faulty.lib linker is not usable currently because it
doesn't like the text relocations that the NDK r8 toolchain generates
for some reason. Sigh.

Change-Id: I9092c6001f0aadbb30e2682e33e7179520846f3b
2012-05-17 00:07:13 +03:00
Stephan Bergmann
d015384e1d Fixed ThreadPool (and dependent ORequestThread) life cycle
At least with sw_complex test under load, it happened that an ORequestThread
could still process a remote release request while the main thread was already
in exit(3).  This was because (a) ThreadPool never joined with the spawned
worker threads (which has been rectified by calling uno_threadpool_dispose(0)
from the final uno_threadpool_destroy), and (b) binaryurp::Bridge called
uno_threadpool_destroy only from its destructor (which could go as late as
exit(3)) instead of from terminate.

Additional clean up:
* Access to Bridge's threadPool_ is now cleanly controlled by mutex_ (even
  though that might not be necessary in every case).
* ThreadPool's stopDisposing got renamed to destroy, to make meaning clearer.

Change-Id: I45fa76e80e790a11065e7bf8ac9d92af2e62f262
2012-05-16 22:09:21 +02:00
Matúš Kukan
9aad89df87 improve make invocation
Change-Id: I9dbe77062df3a9b02dab0f5755c0e616829fa125
2012-05-16 20:04:03 +02:00
Jan Holesovsky
f23d055dbe writer: Fix off-by-one problem with the shadow image.
Change-Id: I4530ecdc5292814de095ce7717309b322a24f430
2012-05-16 18:31:13 +02:00
Jan Holesovsky
f92c3d0e63 writer: Make the document frame look like in Impress.
Change-Id: I0b30ed9210d46ae40789d2f0052669577582cd3a
2012-05-16 18:14:30 +02:00
Tor Lillqvist
40fab3bd05 Don't create the local.properties files in the source tree from configure
Change-Id: Ic87be0146360c5e32f1f12f255c897e051c9a50c
2012-05-16 18:59:28 +03:00
Tor Lillqvist
fcbfccdeb0 Create the redirection thread in detached state
Change-Id: I293fa84452f00a41f4a33d4a45eee6d1a32ff761
2012-05-16 18:37:39 +03:00
Tor Lillqvist
62f030133d Move the sleep (for attaching debugger) earlier
Change-Id: I3183ed3da25bd0fbd2121f235f209edb51a21d2e
2012-05-16 18:37:39 +03:00
Tor Lillqvist
cf4f6a71ff Don't mention the same rdb file in both UNO_SERVICES and URE_MORE_SERVICES
Change-Id: I81b3a451b5fd4eaf83ee525aa38df32686e38cfe
2012-05-16 18:37:38 +03:00
Jan Holesovsky
cd28abc049 ruler: More off-by-one drawing problems fixed (hopefully all of them now).
Change-Id: Icd566610229fe080bb45b746459abed15112c225
2012-05-16 17:23:18 +02:00
Muthu Subramanian
46083c95c9 Crash fix. 2012-05-16 20:54:29 +05:30
Takeshi Abe
b2022330c0 removed unused constant rtl::OUString
Change-Id: I173275e0f8faa852500d108f65636080f79636c6
2012-05-16 23:28:22 +09:00
Takeshi Abe
2dd60383c1 removed useless code
Change-Id: If60124deaeb5b756c17c9f724ec150e909cc7373
2012-05-16 23:28:20 +09:00
Caolán McNamara
cc92cb54e2 completely nutso merge bustage since 2004
useless unused fat global objects since
146f73bcfa

Change-Id: I2a5f54d34b498a64b658f158f98269f16e2e71f8
2012-05-16 15:16:53 +01:00
Caolán McNamara
0f66309779 reduce a gadzillion make_pairs executions to simple array of pod
Change-Id: I38249d12d0c4e7a732b505cf90e1e8806c718229
2012-05-16 15:05:36 +01:00
Caolán McNamara
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
Muthu Subramanian
d83463931e Revert selected hunks from various 'unused code' commits.
These functions are required for debugging pptx import problems.
2012-05-16 19:20:45 +05:30
Fridrich Štrba
30590f00e4 Let VSD typedetection not throw
Change-Id: Ifdb4cff2e2cbc05b694db31fcaf381186ec1b830
2012-05-16 15:24:52 +02:00
Tor Lillqvist
6061862868 More verbose (hopefully correct) help for --enable-headless
Change-Id: I632cfca94a55a395a1765675fa015bbb8864228b
2012-05-16 14:44:46 +03:00
Riccardo Magliocchetti
b576aa1318 fdo#47246: vcl: fix --enable-headless build
Follow android way of building stuff.

Change-Id: Ia3f8d7c58dbd09e070d9ea583872e115828365cb
2012-05-16 13:38:35 +02:00
Caolán McNamara
2e1724da5c WaE: unsafe mix of bool and sal_Bool
Change-Id: I2caca314d87264261ccc4400b6f93bed960e8c6a
2012-05-16 12:04:10 +01:00
Caolán McNamara
8512e5c2b3 reduce static_initialization_and_destruction chain
Change-Id: I962aeac0c7feeabb7963016d5afcfeca5a48ccfe
2012-05-16 12:04:10 +01:00