Commit graph

309716 commits

Author SHA1 Message Date
Caolán McNamara
0a345d8e97 Restore use of MatchGroup
i.e. removal of entire call in 0f6101cfef doesn't
look right to me. That just wanted to remove the "beeps"

Change-Id: I8024c04d1e585f45fa54a82faab5f013096a708a
2012-07-25 10:02:14 +01:00
Caolán McNamara
dcb28419b0 Related: #i29548# Thai word breakiterator regression test
Change-Id: Ie47dfe6ab5e308c0353d557fe7530a983622db96
2012-07-25 10:02:14 +01:00
David Tardon
dda589ba60 fdo#52427 fix l10n of reportbuilder
Change-Id: I9ff1b7329eca2faa560181c49d6c4527a008fead
2012-07-25 10:59:17 +02:00
Stephan Bergmann
fdfb7a3c4b Related fdo#51252: Report uncaught exceptions with MessageBox on Windows
...as stderr is not generally visible there to the user (and vcl's
Application::ShowNativeErrorBox might not yet be functional during early start
up).

Change-Id: I1b99a77f7add967579d726462aa0a7b83a5d2d0a
2012-07-25 10:31:21 +02:00
Miklos Vajna
97adf17698 import RTF_M{SEPCHR,EQARR,BOX,GROW}
Change-Id: Idbd5ea29b886d94b456b126de00a02833f7c0d7c
2012-07-25 09:53:54 +02:00
Takeshi Abe
264ff0e6e4 sal_Bool -> bool
Change-Id: I009a55e1e399198aef8e5ad3f43230b0aea0b6fe
2012-07-25 16:05:22 +09:00
Kohei Yoshida
e05a284f0b Useless macro define.
Change-Id: I19e71dfd514b19e34c7d73642a8c6bc2d3464590
2012-07-24 22:41:10 -04:00
Kohei Yoshida
c549e1e836 Unused methods.
Change-Id: Iafd1895d96df32c312f937db479e04abd7cb7038
2012-07-24 21:03:07 -04:00
Kohei Yoshida
f15b1d084e It makes no sense to make these methods virtual.
LoadEnv doesn't have any child classes, and is not a UNO service.

Change-Id: I773324e10b755c6e5f1a29c07495b21f6a236a3e
2012-07-24 21:03:06 -04:00
Matúš Kukan
8348b2a7a0 clean also WORKDIR for --with-solver-and-workdir-root
Change-Id: Ie2b369b6f372a99dbc4af5045639b2ff8425568f
2012-07-24 23:33:10 +02:00
Matúš Kukan
9c6a6ec047 tubes: keep contacts dialog updated on contacts' presence changes
- make the dialog - TubeContacts static pointer, so there is only one

Change-Id: I12f256bebc27ba31a82082d7107066de8079893c
2012-07-24 23:33:09 +02:00
Matúš Kukan
5800c9aa30 unusedcode: svx: remove unused methods
Change-Id: I50af310bef92f8f36c31b5b4f343639e89c628ac
2012-07-24 23:33:08 +02:00
Tomaž Vajngerl
53d51dbee6 One pass scale, rotate and crop using bilinear filtering and averaging.
With this commit I reintroduce one pass scale, rotate and crop that
was located in grfmgr2.cxx (now in Bitmap class) and was used for
preparing bitmaps for displaying on screen. By default the combination
of two filters is used: bilinear, which is a similar algorithm than
the "old" one, but with the same result, and averaging algorithm. Bilinear
filtering is used for bitmap enlarging and shrinking till factor 0.6. Below
this bilinear gives bad results because of limited sampling. For such cases
averaging is used which is a simple algorithm for shrinking. In averaging
the algorithm calculates the average of samples which result is the new
pixel. Currently both algorithms are not optimised.

One pass scale, rotate and crop should only be used for displaying of
images.

Change-Id: I5a1330b58a7cbb6fde8546e16c3e8c140afca565
2012-07-24 22:17:27 +02:00
Tomaž Vajngerl
963cababc6 Simplify compression and remove code duplication in CompressGraphicDialog
Change-Id: Ia9e3bab09eef6e1055f1fd689373ab65310ea7e3
2012-07-24 22:17:26 +02:00
Arnaud Versini
b8d5620181 Use memset and memcmp insteadof rtl_zeroMemory and rtl_compareMemory in cppu
Change-Id: I88976b215bc23ce5001916ccf123bc3561c2a33a
2012-07-24 20:35:21 +02:00
Ivan Timofeev
10f08195b8 -Werror=format
Change-Id: If468ca444865f81a7adeabb72ecb6d8647f6dde0
2012-07-24 21:26:48 +04:00
Lionel Elie Mamane
3d46635bf1 Debug unhandled exception
Change-Id: I65661ffe5c006529f8ba1f3652a4d997d46c3da2
2012-07-24 19:22:36 +02:00
Lionel Elie Mamane
6faebe5fb2 janitorial: C++-style cast instead of legacy C-style cast
Change-Id: I86cd5d87751c5a9dd31a392e2b3847e8f5741524
2012-07-24 18:02:44 +02:00
Stephan Bergmann
c2617e960e fdo#52399: Do not needlessly set DefaultContext of global ServiceManager
...the new cppuhelper/source/defaultbootstrap.cxx now forbids this nonsense with
a PropertyVetoException.  It looks like the code in propbrw.cxx had always been
confused about what to do exactly (using xOwnContext as delegate in the call to
createComponentContext should just be enough) and the useless re-setting of the
global ServiceManager's DefaultContext happened to work by accident.

Change-Id: I80a87fe9b0948d9aa6dc9e2e63497097044a4959
2012-07-24 17:36:09 +02:00
Lionel Elie Mamane
9bd5e75b95 forcing repaint has catastrophic performance implications; invalidate only
In Base:
1) Open a big table (hundreds of rows)
2) Only the first 40 to 100 rows are fetched into the cache and shown
   (depending on screen / window size).
3) Move to last row (click on icon |>|)
4) The last 40 to 100 rows are fetched into the cache; the data of the
   first 40/100 rows is pushed out of the cache.
5) The first 40 to 100 rows are fetched, just so that the call to
   rWindow.Paint() can do its job, because they are not in the cache
   anymore (!). The last 40/100 rows are pushed out of the cache.
6) The last 40 to 100 rows are fetched into the cache and displayed;
   the first 40/100 rows are pushed out of the cache *again*.

Steps 5 and 6 are obviously *very* stupid.

Change-Id: Ic11b893ea9440c2c5a142bd3c77c95d6730aa723
2012-07-24 17:35:57 +02:00
Jan Holesovsky
e8ddf693e6 Cross-compiling-msi-related changes; not finished.
Change-Id: Ib0d3d43a291f01c4c0d9c5adb0055c180b3ab40a
2012-07-24 17:30:50 +02:00
Miklos Vajna
2e5fcf4332 import RTF_MTYPE
Change-Id: I9414c9af69aa721a84e08fd323bc1efd5bd6c887
2012-07-24 17:21:26 +02:00
Miklos Vajna
5debe1aa46 RTFDocumentImpl::popState: clean up duplicated list of DESTINATION_M* cases
Change-Id: I7806a9dc897c0187fd523d480e6366925676287b
2012-07-24 17:21:26 +02:00
Miklos Vajna
febb2406cb import RTF_M{SSUB,SSUBPR,SSUP,SSUPPR,SSUBSUP,SSUBSUPPR,SPRE,SPREPR}
Change-Id: I8148e870ec86f282f05102757f0f8bfc53561c00
2012-07-24 17:21:26 +02:00
Miklos Vajna
0a4fbf5354 implement import of RTF_M{RAD,RADPR,DEG}
Change-Id: I6779cf105d792c5a59ec43a21f8693e6d8895bfd
2012-07-24 17:21:25 +02:00
Miklos Vajna
95aaf200aa rtftok: add OPEN_M_TOKEN to avoid code duplication
Change-Id: I95b2ee34fef0c075040af808de276e0b745bf830
2012-07-24 17:21:25 +02:00
Miklos Vajna
bbb04f6e81 implement import of RTF_M{STRIKEH,BORDERBOX,BORDERBOXPR}
Change-Id: I3249b6a2cb5d8c100e8045f650997cea3f1d2e30
2012-07-24 17:21:24 +02:00
Miklos Vajna
6f5f97b558 implement import of RTF_M{POS,VERTJC,LIMUPP,LIMUPPPR,GROUPCHR,GROUPCHRPR}
Change-Id: I40406bd4220a918507b2ae90733f3d1d5df949d5
2012-07-24 17:21:24 +02:00
Miklos Vajna
79a56a87e7 RTFDocumentImpl::pushState: use switch here as well
Change-Id: Ibb1c68612159fcdbfd92dc6b4cd3719d4db240f3
2012-07-24 17:21:24 +02:00
Miklos Vajna
0a5bd26f9d implement import of RTF_{MMR,MNARY,MNARYPR,MSUB,MSUP,MSUBHIDE,MSUPHIDE}
Change-Id: Ic975c7c1653fd10ef0a22ecbbbd740adac0789e0
2012-07-24 17:21:23 +02:00
Stephan Bergmann
6cfe3c93dc Make bundling Microsoft_VC100_CRT_x86.msm truly optional
Change-Id: I4fa998f33059a6ebc9afe0a9ce65443a115b6db2
2012-07-24 17:06:21 +02:00
Luboš Luňák
f0460881e7 ++aIter++ is quite funny, but it's in practice the same like ++aIter
Change-Id: Ie88d995cd3b5d48d0096f3c1be4344b78f425b07
2012-07-24 16:25:08 +02:00
Jan Holesovsky
43b75d8af0 Disable testWordBoundaries test with old icu.
Change-Id: I8d75eeb2eee43e1338a6f54c4b8ed633631bac0d
2012-07-24 15:42:51 +02:00
Michael Stahl
117fb70532 fdo#51659: static assertion for STR_ARR_SVT_LANGUAGE_TABLE
Change-Id: I5588198452a609dd541d51ac7a84cd5773949ae7
2012-07-24 15:16:00 +02:00
Eike Rathke
9b2ec8c2a3 it's pData2
Change-Id: I1d1229f1c1ef229ca7454a712e027a78e25ab56f
2012-07-24 14:48:49 +02:00
Jan Holesovsky
15f69da734 Attempt to remove the last FORCE2ARCHIVE.
Change-Id: I7b0675151d39d6ce39c99ba3f85e8efebe303a2f
2012-07-24 14:17:11 +02:00
Miklos Vajna
d93eba476b implement import of RTF_{MM,MMPR,MMR}
Change-Id: I6e21159af832c5850db77a6dfe630a0fc0bb6238
2012-07-24 14:16:06 +02:00
Miklos Vajna
42922c4036 RTFDocumentImpl::popState: use switch here
Change-Id: If03ae8a5b44f477471ddc33063af552b3f2cfc31
2012-07-24 14:16:06 +02:00
Miklos Vajna
982d71f3c9 implement import of RTF_{MFUNC,MFUNCPR,MFNAME,MLIMLOW,MLIMLOWPR,MLIM}
Change-Id: Ibdecafae7942a0c79804176aa24e448dc505a5bb
2012-07-24 14:16:06 +02:00
Miklos Vajna
fbee23dead escape RTF_LBRACE and RTF_RBRACE inside RTF_MR
Change-Id: I9315da151390ea1b5d56c7e58ac901e3f11dd2a7
2012-07-24 14:16:05 +02:00
Jan Holesovsky
8251cd1936 Call uuidgen without -n when cross-compiling.
Change-Id: I533c9bcdbadcaf5caa5aa8bcefb6dc0c141a4d0e
2012-07-24 14:12:16 +02:00
Stephan Bergmann
b265709fbf warning C4702: unreachable code
Change-Id: Ia3e119e1b9ac68fbdd9aa4a9a5177e28c1a0d605
2012-07-24 13:55:49 +02:00
Matúš Kukan
da5220d7d2 tubes: fix crash: do not delete boost::shared_ptr's pointer
This prevents a crash on exit for INTERCEPT=demo but there is another:
Open more calc documents, close one, and then type something -> crash.
I wonder if this was working in the past.

Change-Id: I599b1babb02488d317c6684aba7431b5de7af15b
2012-07-24 13:51:12 +02:00
Matúš Kukan
bbeb2ea423 tubes: remove unused method
Change-Id: I8657786fe64753a2e2a57febd1d56b39f83dec33
2012-07-24 13:51:11 +02:00
Matúš Kukan
b129545319 tubes: init TeleManager in desktop
- register clients when we run --invisible
- create ScDocFuncSend only if we are going to use it

Change-Id: I7e33cd5a2e42e34a055146dc6c2bdac3657d6529
2012-07-24 13:51:10 +02:00
Jan Holesovsky
22d551b3f6 Check for makecab in case we are cross-building .msi.
Change-Id: I57cb8cc9d0173c50f789533a479d55972bdb14b4
2012-07-24 13:42:51 +02:00
Jan Holesovsky
f7fd0e0198 Kill FORCE2ARCHIVE.
Change-Id: Ie72dcc8ef9e82da1f0aa328648f20f9ed4a20482
2012-07-24 13:42:51 +02:00
Jan Holesovsky
cd93b22749 Allow specification of --with-package-format=msi regardless of EPM setting.
Change-Id: I32c80cb7ffd6cedee854d03f198f21afd94a664c
2012-07-24 13:42:51 +02:00
Jan Holesovsky
063afe5104 Check for the msi* build requirements in configure.in + update README.cross.
Change-Id: I0da3e604ebd0665c5405174957d852677195126b
2012-07-24 13:42:51 +02:00
Thorsten Behrens
67e3e8bdb4 Fix fdo#51943 - prevent lose focus event to close popup.
This is a follow-up bandaid for fdo#48096 side-effects, which in
turn was a band-aid for side-effects caused by ooo-build's
toolbar-decorations-svx.diff.

Fix instructs vcl to not auto-close the floater on losefocus events,
which at least on OSX comes _before_ we even see the mouse button
down event.

Change-Id: I21896c4169addffdf2af920a37e0e3786438cc4e
2012-07-24 13:31:37 +02:00