Commit Graph

364292 Commits

Author SHA1 Message Date
Tor Lillqvist
f378711cf1 I don't know what I planned the 'Edit' button to do, drop it
Change-Id: I9944023d4cfd897acce8fd71296034ca32d8d136
2014-11-14 18:27:38 +02:00
Tor Lillqvist
7fe64b9461 Remove the dummy entry just used for testing
Change-Id: Ia2bc319fada2e21115629d29bca51f483a599c16
2014-11-14 18:27:38 +02:00
Tor Lillqvist
bbb675d4f5 Some more compareVersionStrings() tests
Change-Id: I5b9dc45352afd63dae4c3952d9647e6e3ec98ef4
2014-11-14 18:27:38 +02:00
Luboš Luňák
82d08580e3 switch saxparser from expat to libxml2
Using SAX2 interface provides element/attribute names split into prefix/name,
and provides namespaces/urls, so FastSaxParserImpl::callbackStartElement()
does not have to figure out these on its own (and additionally libxml2
spends a noticeable portion in xmlStrdup() when not in SAX2 mode).
The switch saves about 5-10% time.

Change-Id: Idd424d7cc9b30c248179a5bad8ec79dbfc62e765
2014-11-14 17:20:00 +01:00
Jan Holesovsky
3780029024 vcl: Stop-gap solution to start the gen / kde / kde4 plugins again.
Change-Id: Ie538049aa8c4c0812d28b5c1bf91425822c55617
2014-11-14 17:06:05 +01:00
Stephan Bergmann
b021fdfab3 cid#983623 Don't throw DisposedException past uno_threadpool_putJob
This improves on b68640c44e "Prevent creation of
new ORequestThreads during shutdown," which added throwing the DisposedException
from ThreadAdmin::add.  But ThreadAdmin::m_disposed can only become true via
uno_threadpool_destroy -> ThreadPool::joinWorkers -> ThreadAdmin::join, and
ThreadAdmin::add observing that can only happen via uno_threadpool_putJob ->
ThreadPool::addJob -> ThreadPool::createThread -> ORequestThread::launch ->
ThradAdmin::add, where the bridges should ensure that uno_threadpool_destroy
does not run in parallel with uno_threadpool_putJob.  So demote this from a
DisposedException to a SAL_WARN.

Change-Id: I3912ea077b7fa35827c41e82dd0a8f962ba412b6
2014-11-14 16:19:40 +01:00
Caolán McNamara
9dacd849b6 this is for detecting the type of a variable based on its name
which means legal input is any character which a variable can
start with

Change-Id: I0c2d13a92ba374f8020e86e90e8e5f18ce8a9c90
2014-11-14 14:31:24 +00:00
Riccardo Magliocchetti
e8fbdb374a Cleanup parse-perfcheck.py
Use more idiomatic python for file, path, csv handling and options
parsing.
There's still quite a bit of stuff to cleanup, at least it would be
nice to kill the remaining globals.

Fixed indentation on parts i've touched, the rest of the file is
still a bit off.

Change-Id: I4214078c38a1e26cca17d09ebb9c0f53ba429ea9
Reviewed-on: https://gerrit.libreoffice.org/12405
Tested-by: Laurent Godard <lgodard.libre@laposte.net>
Reviewed-by: Laurent Godard <lgodard.libre@laposte.net>
2014-11-14 14:23:43 +00:00
Jan Holesovsky
710c664083 Script that finds commits in a branch that were not pushed to master.
Trivial, but based on the Change-Id's, so hopefully reliable enough :-)

Change-Id: I919a2dc47f088ec4d1111750b74c68a0b062478d
2014-11-14 15:07:14 +01:00
Juan Picca
2ec556b072 fdo#75757: remove inheritance to std::map
Change-Id: I26ec60868c7854517b81ade3aec6b7ab29b0aa89
Reviewed-on: https://gerrit.libreoffice.org/12401
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Tested-by: Takeshi Abe <tabe@fixedpoint.jp>
2014-11-14 13:15:30 +00:00
Andras Timar
ef7e29998c add redist files for VS 2013
Change-Id: I07c7af3b9b7d3335074d712c35cef9d7828a271b
2014-11-14 14:12:54 +01:00
Caolán McNamara
8fe8c2e3d4 coverity#1242630 Untrusted loop bound
Change-Id: I985f47d6e5f5aa86099b86ad4666b194f4b25b83
2014-11-14 12:02:51 +00:00
Caolán McNamara
8e6c22d749 coverity#1209889 Untrusted loop bound
Change-Id: I63039ca0de1dc54b5aa9d048e5110c31bf930bdc
2014-11-14 12:02:51 +00:00
Caolán McNamara
642cf9af84 coverity#1209863 Untrusted loop bound
Change-Id: I3de3601f489db2a4dafb4d80f5ef35d5db38ba76
2014-11-14 12:02:50 +00:00
Caolán McNamara
71c00f4b57 coverity#982314 Logically dead code
Change-Id: Iba420f0726864cb093e17fc9f4ce5bd7a33f7721
2014-11-14 12:02:50 +00:00
Caolán McNamara
bbf3aa7f92 coverity#705989 silence Insecure temporary file
and

coverity#705983 Insecure temporary file

Change-Id: I2a501f8114ddf8968381e1880263abaf9d1bdc6f
2014-11-14 12:02:49 +00:00
Caolán McNamara
64cc39e0c5 coverity#1251589 silence Using invalid iterator
Change-Id: I116294ee40eb61e8cbf308369998bd48a2f27812
2014-11-14 12:02:49 +00:00
Caolán McNamara
a4f39904dc coverity#1251587 Unchecked dynamic_cast
Change-Id: Ibde77906333699046357bec4ff392e5e08b4a426
2014-11-14 12:02:49 +00:00
Caolán McNamara
e5e13192f3 coverity#1242632 Untrusted loop bound
Change-Id: Ib821adfbca149091d4fbe52d05837e232c3caf55
2014-11-14 12:02:48 +00:00
Caolán McNamara
41029bcdd0 coverity#1242865 Untrusted value as argument
Change-Id: Ie7a7a2e7894a204dd55833416b7cbc5b01826e64
2014-11-14 12:02:48 +00:00
Caolán McNamara
480475b288 coverity#1209861 untaint image data
Change-Id: Ib35d4a007c276aba45925ac281fff160bf07f9fe
2014-11-14 12:02:48 +00:00
Caolán McNamara
d6d53e5bc7 coverity#706404 Uncaught exception
Change-Id: I331c96a09be7a4971c3cc3c577f8f9d91333d175
2014-11-14 12:02:47 +00:00
Caolán McNamara
275eb9c78e coverity#706540 Uncaught exception
Change-Id: I9dabd74824ec7cffe5371ed8be202ad27fecc80d
2014-11-14 12:02:47 +00:00
Caolán McNamara
99bada2f4c coverity#1019392 Uncaught exception
Change-Id: Iab953700c9aa95fc3acd5f25233a942a31b7f5ad
2014-11-14 12:02:46 +00:00
Caolán McNamara
584d4f5dcd coverity#1158396 Uncaught exception
Change-Id: I6752a534bca8f81627cdd616ac0f2268824299e0
2014-11-14 12:02:46 +00:00
Caolán McNamara
6abcd7fe9b coverity#1247641 Uncaught exception
Change-Id: I35e1eed91a23d2b993398fb39e47e21ca9c0a055
2014-11-14 12:02:46 +00:00
Caolán McNamara
70d810faa8 coverity#982483 Dereference after null check
Change-Id: I0e6db75e0c1dc5b26f2c251bdb4e37b5df8b3778
2014-11-14 12:02:45 +00:00
Caolán McNamara
0332e3a8e9 coverity#738972 Use after free
Change-Id: Iba60fc4ff3b10179ebc700467a3d73e7bc7b64c9
2014-11-14 12:02:45 +00:00
Caolán McNamara
792b127d5c coverity#1242888 Unused value
Change-Id: Idf2709382dc431b6e34c2993d04c41aa8a3786ab
2014-11-14 12:02:45 +00:00
Caolán McNamara
35ef13e3eb coverity#1242860 Unused value
Change-Id: Id0bb878464fa6df5ed23d4abf5748ed21cb30506
2014-11-14 12:02:44 +00:00
Caolán McNamara
d2f3c168fd coverity#1242900 Unused value
Change-Id: I4276f5dabedac97c0508aa7904473a4e20767e62
2014-11-14 12:02:44 +00:00
Caolán McNamara
cb19a99ba8 coverity#1251173 Dereference before null check
Change-Id: I3e5a70289785f905350c895b6c869eaebe360bf8
2014-11-14 12:02:44 +00:00
Noel Grandin
a05da74d0b loplugin: cstylecast
Change-Id: I7235a67e85c10ec9fefe7f718cda18f633cda97a
2014-11-14 10:57:28 +02:00
Brij Mohan Lal Srivastava
d32be3ace8 fdo#86023 - O[U]String needs a 'clear' method
Added clear() method to OString and OUString class, Updated appropriate call-sites.

Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-14 09:20:38 +01:00
Stephan Bergmann
f5e86ebc09 Silence winsock deprecation warning
Change-Id: Ib0fe869e79ceea77b4dfe00a6ad387ce9c4149cc
2014-11-14 09:10:21 +01:00
Noel Grandin
7f232c7b91 -Werror,-Wunused-const-variable
Change-Id: I2ace311bc1fe66329a7833e602820f275a7dbd04
Reviewed-on: https://gerrit.libreoffice.org/12422
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-14 07:54:58 +00:00
Takeshi Abe
34b12a170e Mark as const
Change-Id: I3236bbbdddf819afb11d8f80dd80c92a04281bf9
2014-11-14 14:47:15 +09:00
Michael Stahl
f9a161f89a vcl: remove more unnecessary headers from mapmod.hxx
Change-Id: I9ce4c11cc9e7e703fbaad76a062ad38bb900ed9a
2014-11-14 01:08:47 +01:00
Michael Stahl
e815987104 vcl: move the Impl class of MapMode ...uhm... out of the public header?
And remove the tools/fract.hxx include.

grep -l -r fract.hxx workdir/Dep/*Object* |wc -l
before: 4569
after:  1851

Shrinks some libraries, example from --enable-dbgutil Fedora gcc 4.8.3:
libvcllo.so by 473k (0.35%)
libswlo.so by ~1Mb (sadly that is just 0.2%)

Change-Id: I09bd025d551a5d2c5528b938a68c6aa5f8f114a0
2014-11-14 01:08:47 +01:00
Jan Holesovsky
a2bba429fa vcl: Fix leak.
Change-Id: I201e50060c44bba3c0eb20026be1daccd3b2e945
2014-11-14 00:51:16 +01:00
Jan Holesovsky
82eb3121a1 vcl: mpFontCharSets is never set.
Change-Id: Ic9102dabe9a74e7ad2aaa5c8cad2bae1b2c7b1ec
2014-11-14 00:51:07 +01:00
Jan Holesovsky
265203da40 vcl: mpLogFont is never set.
Change-Id: I2ea287da7448c5094eb13a3083c7c0f82ed25760
2014-11-14 00:50:59 +01:00
Jan Holesovsky
19ad91f7bc windows opengl: Proof-of-concept text rendering.
We don't have a method that would paint a texture with transparency yet.  We
also need to limit the size of the DIBSection exactly to what we are going to
paint, no point in creating a huge bitmap that is mostly empty (but the part
where is the text being drawn).

Change-Id: Ice0bf325743d08e19e636be73cef6aff3cde5704
2014-11-14 00:07:49 +01:00
Jan Holesovsky
966fc1f2ab windows opengl: Prepare WinLayout (and derived classes) for OpenGL.
Change-Id: Ifd18f51ac417cb3778e61f33df30daa7be6c0bf8
2014-11-14 00:07:37 +01:00
Jan Holesovsky
921f07d0be vcl: Split winlayout.cxx to .cxx and .hxx.
Change-Id: I4a26842777536ce63b482a2d69524918a18b602c
2014-11-14 00:07:23 +01:00
Jan Holesovsky
48fa9f1e19 Revert "vcl: Abstract the Windows text rendering into a TextRenderImpl descendant."
Turns out it might be easier to actually subclass only the various SalLayout's
- let's try it first, and re-introduce this code again if not.

This reverts commit 309257ddadfdc3e46506036ed81f6e0695211ebe.
2014-11-14 00:07:05 +01:00
Jan Holesovsky
f2be14cdba Revert "vcl: remove non-existent include and hope that it builds?"
This reverts commit 7e6205117d.
2014-11-14 00:06:52 +01:00
Caolán McNamara
ee0f878da9 coverity#1251596 Uncaught exception
Change-Id: I02b7abcd9ee17158ee063b2c9b6d0324eef70801
2014-11-13 21:28:05 +00:00
Caolán McNamara
5b7497e5aa coverity#1251600 Uncaught exception
and

coverity#1251597 Uncaught exception
coverity#1251598 Uncaught exception
coverity#1251599 Uncaught exception

Change-Id: Ifd14f1db5692a8f3ccd1d9ea45d8f0e16c4b0324
2014-11-13 21:26:41 +00:00
Caolán McNamara
0b10bac913 coverity#1251605 Uninitialized scalar field
Change-Id: I5f18bd7bcd332e28df9dcec43b9dedc664290aec
2014-11-13 21:22:49 +00:00