Commit graph

320545 commits

Author SHA1 Message Date
Fridrich Štrba
3708fe8434 Kill the --without-system-stdlibs option
Change-Id: I54bff2c8593995829857d30b38b8626a8c1a1a4f
2013-02-19 10:05:23 +01:00
Noel Grandin
d7f9b76939 fix mid-air collision of commits
Change-Id: I72a267045dd532a341d062cf13b7393779f579c6
2013-02-19 11:02:08 +02:00
Noel Grandin
a413832fe2 and let's try actually including the relevant headers...
Change-Id: I38733bb04013250290b00ec99f358403060d1a89
2013-02-19 10:44:44 +02:00
Tor Lillqvist
648d6e5162 Include the XInitialization header
Change-Id: I662dc0615d6fae752a22000bea750e7d59f98472
2013-02-19 10:44:19 +02:00
Tor Lillqvist
95e2c26a08 How to run the "make dev-install" result is platform-specific
Change-Id: I48353df6fbcb960e660202392107432654207e39
2013-02-19 10:38:23 +02:00
Noel Grandin
503ee06fb8 fix up some of my fdo#46808 changes
... It turns out removing XInitialisation was a bad idea.

Change-Id: I6a08f3f769ffc9017e94e8463a97cb18d39aa677
2013-02-19 10:35:44 +02:00
Noel Grandin
a00f11b97b log the exception here instead of just asserting
.. to make future debugging easier.

Change-Id: I8efc8d8d6f228d9a36d8bb0aebe57913f2af5637
2013-02-19 10:35:44 +02:00
Tor Lillqvist
6475609e88 WaE: implicit conversion from 'double' to 'long' changes value from 0.5 to 0
Change-Id: Ib927d2f59e8b37fbddf3d3ccc78b3986e28b7b29
2013-02-19 10:31:20 +02:00
Jan Holesovsky
eee2fe2e7e Improve the make dev-install message.
Change-Id: I331f97601234efe08d47d4716492232ada528edc
2013-02-19 08:13:14 +01:00
Jan Holesovsky
bbca22229e Reintroduce message how to run the build after make dev-install.
Change-Id: I78f8073b4a5f1cb8d8b9ec499db95e51b035b225
2013-02-19 08:06:46 +01:00
Norbert Thiebaud
6c8f448cff coverity#983483 String not null terminated
Change-Id: I4cefa485b52afcdb761bfea99dd2515a206812a8
Reviewed-on: https://gerrit.libreoffice.org/2199
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-19 03:05:55 +00:00
Eike Rathke
6e6af9943c really, don't obtain the process locale 500 times
Twice for each font ...

Change-Id: Ib4589f8a11e0c14f0c5235e17d0c68e67d93b0b4
2013-02-19 01:15:07 +01:00
Eike Rathke
555d88d003 added reset(rtl_Locale)
Change-Id: I1bc83dd4e5286f7102513d8a4c7d5624952eb830
2013-02-19 00:45:26 +01:00
Eike Rathke
2c36a832b8 for now convert using MsLangId::convertUnxByteStringToLanguage()
Change-Id: Iaedd4bd6eda1db293fa3dc6222c7353ce466ec04
2013-02-19 00:27:56 +01:00
Norbert Thiebaud
08ac21ddd9 coverity#705355 coverity#705356 Missing break in switch
Change-Id: I9a0a370eb1279a184a47e15bcefc6ce5e4025aa3
Reviewed-on: https://gerrit.libreoffice.org/2226
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-18 23:15:49 +00:00
Michael Stahl
7ff650a6fe coverity#983214 Resource leak
... and some more general cleanup by using boost stuff.

Change-Id: I90b2f429f864c39cda70d42d061da14c0faba8e5
2013-02-19 00:11:22 +01:00
Norbert Thiebaud
21e2c2f164 coverity#982590 Explicit null dereferenced
Change-Id: Ie898603f64a4568a8502caf3db154ae5ce008af9
Reviewed-on: https://gerrit.libreoffice.org/2227
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-18 23:12:09 +00:00
Eike Rathke
6c89f2e74a prepare LanguageTag(rtl_Locale) for handling variant/modifier
Change-Id: Ic500bb2eecd090d5568703740c3700c6d50635ae
2013-02-18 23:23:09 +01:00
Michael Stahl
961ffaa787 acorrect.cxx: try to make even MSVC happy
Change-Id: Ie17347cc0a90bf93399027f6e816f56cd89c1678
2013-02-18 23:17:44 +01:00
Michael Stahl
e52c898aff uwriter.cxx: try to make tinderboxes happier
Change-Id: I43d7cd5a6280f367e1105f1cdbd547d206f12b01
2013-02-18 23:14:34 +01:00
Norbert Thiebaud
cbe8883b51 coverity#982591 Dereference after null check
Change-Id: I8651ecb0287d686da3e1ca6a6e46549abe3e0c38
Reviewed-on: https://gerrit.libreoffice.org/2225
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-02-18 21:38:42 +00:00
Norbert Thiebaud
e681622f3d coverity#704551 Dereference after null check
Change-Id: I47aa14ba58d993fa8ed20c8f0d99e92f18dc53e6
Reviewed-on: https://gerrit.libreoffice.org/2214
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-02-18 21:36:57 +00:00
Michael Stahl
2eef912649 SwXTextView::select(): unselect drawing objects at start...
... and not before selecting each object, which leaves only the last
object selected (thanks Németh László for the hint).
(regression from abebf10e26)

Change-Id: Ibfb13ae6c4eeeb83bf6ac00b18c4ef6f50ec6a02
2013-02-18 22:29:56 +01:00
Michael Stahl
995494ec27 ImplCreateRotatedScaled: fix wrong usage of 'x' instead of 'y'
introduced with c4a084e6b8

Change-Id: I75de86db107c8ddcae55903f23cf907c3280c9f5
2013-02-18 21:57:45 +01:00
Tor Lillqvist
6ce04df28c Handle gracefully the remote end closing the RFCOMM channel
Avoids a crash if one presses the "back" key on the Android remote
control.

Change-Id: Icc7562676a79910b77c7f95d76ce07c348ec2b22
2013-02-18 22:13:03 +02:00
Tor Lillqvist
7c6b42851b Make sure MetadataImporterPluginFactory has external linkage
Otherwise, in a LO built with hidden visibility (as gcc terminology,
not ELF, Mac OS X does not use ELF), Spotlight won't be able to use
our importer.

Change-Id: Ie19082f9f14e4cc75ae6f7583031b929b7b75330
2013-02-18 21:44:14 +02:00
Michael Stahl
c5c5d87e88 SwTxtNode: deploy some asserts
Change-Id: I04689c9c1c30482d57e43faf2912ca37299129ca
2013-02-18 20:16:08 +01:00
Michael Stahl
0295c8a34e sw: let SwTxtNode::GetTxt() return OUString
Change-Id: I36e777b2f623429773277e092284f7d2ba61e6ef
2013-02-18 20:16:07 +01:00
Michael Stahl
24eae2b75c add comphelper::string::indexOfAny()
to replace String::SearchChar()

Change-Id: If5476e94be1255247918584cf1923d408ad75064
2013-02-18 20:16:07 +01:00
Michael Stahl
a413f18e5b SwTxtNode::CutImpl: check for max text limit
Unfortunately i don't see an easy way to handle the problem, let's hope
it doesn't happen in practice.

Change-Id: I86e58c241fda6d07d83fb383421f0a5a810b581a
2013-02-18 20:16:07 +01:00
Michael Stahl
8d25fde680 sw; convert SwTxtNode::m_Text to OUString
Do not convert any of the 16bit index variables at this time: the
enforced limit of TXTNODE_MAX should ensure that they are sufficient,
and there are thousands of these variables all around sw.
(also, STRING_LEN/STRING_NOTFOUND is used as a "not found" value all
over the place)

Change-Id: Id26a145701de731470b0bcb95359ed62d4d6d579
2013-02-18 20:16:06 +01:00
Michael Stahl
08dc5de900 fdo#60842: add a unit test
Change-Id: Ie91fe22f2baf0a280e5cf21c2416228ab414f285
2013-02-18 20:16:06 +01:00
Eike Rathke
40dc6c3a97 added language tags comment
Change-Id: Ia71e1b9149b823a30cbeb1e75e04d27b40f11b12
2013-02-18 20:07:06 +01:00
Eike Rathke
f6585c2718 added language tags comment
Change-Id: Ie5942c13c8f64063ca9d45e25ff7efbf5c3b3d16
2013-02-18 20:07:06 +01:00
Eike Rathke
9bf31cf6bc use LanguageTag(rtl_Locale)
Change-Id: I4bcef6a58915226ec80d7546b4bc5d60abdaeeaf
2013-02-18 20:07:06 +01:00
Eike Rathke
5fa05c96d6 added comment about language tags
Change-Id: If5a64f7e2b3ad0ad62733ea7e1a0c958ef6a7cd1
2013-02-18 20:07:05 +01:00
Eike Rathke
63efb93a20 no need to expand the BRAND_BASE_DIR macro multiple times
Change-Id: I085759537f64489e76e2f33a820cde14767d116a
2013-02-18 20:07:05 +01:00
Eike Rathke
96189af51d slightly improved parameter passing
Change-Id: I75b6bc42285cb3c671dcd4b437db54d5003a2898
2013-02-18 20:07:05 +01:00
Eike Rathke
ab6ebe2470 consistent fall-back chain for (branded) about
Make Application::LoadBrandBitmap() and LoadBrandSVG() use the same and
consistent fall-back chain to obtain localized files, if any.

Change-Id: I396f59ec5ffe7ee323b798c6c66241bd76a4b30a
2013-02-18 20:07:05 +01:00
Andras Timar
7caa680335 Fix the Ignore system input language label truncated in translations
Change-Id: I3d05135f7973d6ca9cb3e554a4c80544a17e6f60
2013-02-18 20:02:37 +01:00
Andras Timar
4851159170 don't check for WatchWindow extension twice
Change-Id: I6c6a605e139a77f140c7ce2513cb35f0fdb50716
2013-02-18 20:02:37 +01:00
Andras Timar
0f0aee273f Updated core
Project: help  4e2efdde70cad695078965988da7c4c1228cc818
2013-02-18 18:03:16 +00:00
Norbert Thiebaud
c4a084e6b8 fdo#60719 : fix crash on scaling bmp with target/source width/height = 1
The rendering is quite ugly compared to the same pdf opened
with pdf reader. but at least it does not crash anymore.

The function ImplCreateRotatedScaled seems quite sub-optimal
for one thing it is called even when there is no rotation
and still bother with doing a lot of work to 'rotate' things.

It was assuming Width and Height > 1 for both the source and the target
The patch tries to 'hide' the misery... but I'm not convinced
that this is 'right'.

Change-Id: I9aec5eb6655ea3678aa018ae5928dabb8058bec6
Reviewed-on: https://gerrit.libreoffice.org/2195
Reviewed-by: Arnaud Versini <arnaud.versini@gmail.com>
Tested-by: Arnaud Versini <arnaud.versini@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-18 18:02:10 +00:00
Stefan Knorr
4e6fd3b2b7 Update Branding for 4.0 (.1)
(c) Maxim Darak, Mirek Mazel 2013

Change-Id: I30fdb3234152e746e8a2a565310ab1b22115315c
Reviewed-on: https://gerrit.libreoffice.org/2236
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-02-18 17:08:34 +00:00
Eike Rathke
4090979ce0 ditched class SdrResId and some forward leftovers
Change-Id: I700f6c860ad41c6ab3426d1988631f1c5bf30533
2013-02-18 17:51:21 +01:00
Eike Rathke
8d23b47454 added LanguageTag::getFallbackStrings()
Change-Id: Ia597cb184e0402e776cde50967541f008e22d4c9
2013-02-18 17:51:20 +01:00
Eike Rathke
ca04dec8b9 added LanguageTag::hasScript()
Change-Id: If9eaca46ef8daa544ee208444f79423122b10739
2013-02-18 17:51:20 +01:00
Eike Rathke
ad8f56fd33 added i18n section
Change-Id: I98a22066c711b56494f327ef40f45c37472ec888
2013-02-18 17:51:20 +01:00
Eike Rathke
60bcda4345 localizedsorter::bestname: info for non-ISO locale and comment
Until fontconfig will support language tags.

Change-Id: I831d066e91c00e62651409a0f9e6c8ed52b39150
2013-02-18 17:51:20 +01:00
Cédric Bosdonnat
874f0a1be4 n#779642: ignore framePr inside table or the table import won't work 2013-02-18 17:38:37 +01:00