Commit Graph

357024 Commits

Author SHA1 Message Date
Bjoern Michaelsen
fcb7718631 there is no log area sw.info
Change-Id: Ie3c1f28370a08d3a3cf9bae6d6439efb984a1361
2014-07-13 10:19:45 +02:00
Andrzej Hunt
b7742fd8b8 Add getPart(s) to lokandroid too.
I.e. make lokandroid match
4d15212ef8
2014-07-13 08:06:58 +02:00
Markus Mohrhard
dde00f1f8a make threaded rendering work correctly, fdo#81110
The context may only be bound in one thread!

Change-Id: Ibb67f88c2f11fd48884ee39d89620193e4e5471b
2014-07-13 07:54:09 +02:00
Kohei Yoshida
47a82452b5 Add another test case.
Change-Id: I1664bc3faf44abc978391d0f97820c468f4419b0
2014-07-12 22:11:12 -04:00
Kohei Yoshida
9e5b1eb98b fdo#80462: Write test for this.
Change-Id: Icdc83c0264fd76239e8c8772c207cc22ce969a76
2014-07-12 22:11:12 -04:00
Kohei Yoshida
5902dcf099 fdo#80462: Don't always increment the start row position.
Sometimes someone might attempt to sort only a single row.

Change-Id: Ie29d4cf7ec0bd3a5c945997083368b6ef6074268
2014-07-12 22:11:12 -04:00
Bjoern Michaelsen
6708edc895 typo
Change-Id: Ia400c34f91f190453aa9cf87480d4559d8818a58
2014-07-13 01:22:15 +02:00
Bjoern Michaelsen
8018d8d7e3 now use the refactored UnoCrsr implementation ...
... now that we verified it to work as the old version used to do.

Change-Id: I7980f263b35a6504337d2836ae2d4b9f29b19942
2014-07-13 01:22:15 +02:00
Bjoern Michaelsen
242aabcfb5 refactor UnoCrsr moves
Change-Id: I6ea54941dfba3b755fa9f7ac6a769ccfab8a782e
2014-07-13 01:22:14 +02:00
Bjoern Michaelsen
f9149846ff more debug info for mark moves
Change-Id: I13d7e5289f0143b9b8f040897db9c82fa4dcc3bb
2014-07-13 01:22:14 +02:00
Takeshi Abe
1bae012c99 Avoid possible memory leaks in case of exceptions
Change-Id: Id0304366c4e6191db85527935f5bc5cdb0aeb8d8
2014-07-12 23:10:34 +09:00
Markus Mohrhard
717f8a87a7 enable debug informations for gltf in debug builds
Change-Id: I81fc7ebc77a67d2d64dd74e1dec0ce7ffbb1b19b
2014-07-12 14:25:05 +02:00
Markus Mohrhard
6a393f7843 pass by reference
Change-Id: I44e8f40935a19f8023bb23f53c5fb458eb28a3dc
2014-07-12 14:25:04 +02:00
Michael Meeks
231db56d02 sal: restore pthread to its original non-ideal state.
Hopefully repairs the tinderboxen.

Change-Id: I2933e6cbf1079a09dab48d4f7ed20b93634d8959
2014-07-12 12:14:58 +01:00
Miklos Vajna
fb0b42b89a CppunitTest_tiledrendering: disable SwVirtFlyDrawObj assert for now
Change-Id: I289632e4e686b56d83855a0a5c69744b3b7e035e
2014-07-12 11:20:04 +02:00
Zolnai Tamás
c2e708d617 fdo#80333: .doc has large black rectangles between paragraphs
These black rectangles are character shadows, because checking
whether there is a border at all was missing. In Word there
is no shadow without a border.

Change-Id: Ib3cb4e904fdd33f215c81d7c02762a196f484b1b
2014-07-12 10:41:21 +02:00
Miklos Vajna
a7706f8a4e writerfilter: convert factoryimpl to Python
Change-Id: I2065215db5da0a379e902a74eff419d5c6068d21
2014-07-12 10:18:36 +02:00
Andrzej Hunt
64c77ac7c5 GtkComboBoxText requires gtk >= 2.24.
Seeing as this is only a test program, probably easiest just to disable
this for gtk < 2.24, and rely on devs wanting to use it isntalling a new
enough gtk version.
2014-07-12 05:46:50 +02:00
Andrzej Hunt
f9d3dbe549 Impress: implement tiled rendering.
However we cannot as of yet select between rendering just the slide,
just the notes, or both combined -- this simply defaults to whatever
mode the document was last opened in for now.

Change-Id: Ia8ec0280aab75a36e430aa04c47cee4fea2db974
2014-07-12 05:19:15 +02:00
Andrzej Hunt
01f43039aa LOK: use solar mutex for setPart.
Needed e.g. for changing slides in impress.

Change-Id: I2f5de40d4efbacde910e27225768979a98ff1c0a
2014-07-12 05:19:15 +02:00
Andrzej Hunt
d27a140534 LOK: some logging for tiled rendering.
Change-Id: I5779eec97507b1996cda89174a6e6c55cdd57baf
2014-07-12 05:19:15 +02:00
Andrzej Hunt
082de4795d Add LOK and tiledrendering log areas.
Change-Id: I885acc9b4a52835fa256c2ecd1b8da917b4f7ba7
2014-07-12 05:19:15 +02:00
Andrzej Hunt
a5fe08855b Add LOK tiled rendering divided-tile unit test.
I.e. we render the same area as one larger tile, and then
as 4 sub-tiles (which, when put together, should be identical
to the larger tile). However currently only the top-left sub-tile
actually matches the larger tile, so we have to disable the test
for the remaining sub-tiles.

Change-Id: If1130022b43898e20fefff3e9f592102da3e413a
2014-07-12 05:19:14 +02:00
Andrzej Hunt
1d6dca3cb0 Add Tiled Rendering outline to sd.
Change-Id: I810d827f330690f8071b662b9ddd05cc41655a71
2014-07-12 05:19:14 +02:00
Andrzej Hunt
855eb54ffe Add part selector to gtktiledviewer.
Change-Id: I569c8f0ebf4476c0a247cde15a263d1db956a14b
2014-07-12 05:19:14 +02:00
Andrzej Hunt
c49e26cb44 LOK DocView: implement part selection.
Change-Id: I2e16ca9d2d5fcd25b0435f1b9b0fbcb52b92e012
2014-07-12 05:19:13 +02:00
Andrzej Hunt
4d15212ef8 Add get/setPart to ITiledRenderable, and implement for sw/sc.
Change-Id: Iec3d6374f029149cadf8fb9c9b16fec90146c31e
2014-07-12 05:19:13 +02:00
Andrzej Hunt
312883ad75 gtktiledviewer: allow selecting between normal and quad-tile view.
Change-Id: I85b22b93fe4ce2ffb62df8766ceea7a1bd8961ee
2014-07-12 05:19:13 +02:00
Andrzej Hunt
d5b2c19080 Quad Docview: only rerender on zoom if we have a document open.
Same as
"LOK DocView: only rerender on zoom if we have a document open."
but for our quad-tiled test widget.

Change-Id: I6c1b946cc9d576d1dcc4687048339d9f0b3e6eff
2014-07-12 05:19:12 +02:00
Andrzej Hunt
cdd76e8877 LOK DocView: only rerender on zoom if we have a document open.
Otherwise we would segfault, and it's perfectly valid to set a zoom
level _before_ opening a document (as that would e.g. save the document
first being rendered on opening if the client wants to immediately
render at a non-standard zoom level).

Change-Id: Ide261b09f4aab8dc3b552f6c3bf55f78ffd7870c
2014-07-12 05:19:12 +02:00
Andrzej Hunt
a864ab2ef1 Implement a (qa-only) quad-tiled viewer.
I.e. we subdivide the document into 4 tiles: one at 100% scaling,
one at 200%, one at 50%, one at 25% -- these are then post-scaled
in gdk) and assembled to show as one document again.

This is specifically a test only widget, primarily to be able to quickly
spot any tile positioning/border-transition issues.

We could theoretically make this widget inherit from the original widget,
however that would mean having to introduce virtual methods etc., which
is not something that we'd want in production -- in the longer run
that widget will hopefully be extended to have proper tile composition etc.,
which would then break this widget too if it were inheriting from there.

Change-Id: Ib880a1614f89724135e753013cf91aec25973e39
2014-07-12 05:19:12 +02:00
Markus Mohrhard
dfdc9f5ba4 fix memory leak in collada2gltf
Change-Id: I7d4a00d94cf97e988847f11ded0de2dc0cb77828
2014-07-12 04:44:45 +02:00
Markus Mohrhard
664fb35ab5 first part for threaded chart rendering, fdo#81110
It is nor working correctly yet.

Change-Id: Ic592eb2f50265886ad6d97539d2c52d7c45179e6
2014-07-12 04:38:45 +02:00
Markus Mohrhard
b75f6baa3a remove unused defines
Change-Id: Ic9118c390f4ba69e245cb16032d3cbe19c741b11
2014-07-12 04:38:20 +02:00
Markus Mohrhard
fc2a20fe8e using memset on a vector is just so wrong
Change-Id: Ia022f5d0200a60d993c74f2c9f29f906c6284f0f
2014-07-12 04:38:20 +02:00
Markus Mohrhard
40e22a429b we only need one typedef for PointList
Change-Id: Ic64f871e014bd48c5eadb6f92b69c6466d812925
2014-07-12 04:38:19 +02:00
Markus Mohrhard
6162e32edd killed this method again
This method must be a zombie as it reappears again and again despite
being killed.

Change-Id: Ic41e3259f2125eca7d114f54b032553e53bf71a2
2014-07-12 04:38:19 +02:00
Markus Mohrhard
2f8841dd0a remove unused method
Change-Id: I3b3006230476b0d16dad54035b0c80a95cbc2b20
2014-07-12 04:38:19 +02:00
Takeshi Abe
ef9449cd04 Avoid possible memory leaks in case of exceptions
Change-Id: I5e302cf7ac784e1413c0539d0c967a3523f04ba0
2014-07-12 07:57:32 +09:00
Michael Stahl
18258eb811 gbuild: always prepend our stuff to PATH on Windows
Who knows what weird conflicting stuff could be on PATH.

Change-Id: I5acec89687efe736ecc1f970eb56efa22393b251
2014-07-11 23:26:53 +02:00
Eike Rathke
db0a4c2575 resolved fdo#77018 keep external references intact during sort
Needs e463de2a56 fix for fdo#79441 to
work.

Change-Id: Ide1cbeb4b25b17b5102977ccbdf8e6dbfcadfc60
2014-07-11 23:19:29 +02:00
Michael Meeks
9af1cbf233 fdo#81214 - tolerate exceptions thrown inside XFastParser callbacks.
Not an ideal solution; ideally we should not throw the exceptions,
and stop the parser as soon as something bad like this happens; but
hopefully exception throwing is reasonable exceptional.

Change-Id: If619592533b2929c671e2b03eb8a83480bd92c54
2014-07-11 20:51:18 +01:00
Miklos Vajna
daf354fa7f Use comphelper::SequenceAsVector
Change-Id: I0d1e22344a2aa1474d022364b12cd34d7d56c2d8
2014-07-11 18:55:15 +02:00
Eike Rathke
e463de2a56 resolved fdo#79441 keep 3D references intact during sort
Change-Id: I9e96d8e7cb99a3c280dd24495eefb9efd6d10888
2014-07-11 18:41:37 +02:00
Caolán McNamara
bce99945d8 coverity#736076 Missing break in switch, its got to be wrong
Change-Id: I21a3b2b794a431d07df8a1bc250e8f0aacaf3059
2014-07-11 16:40:30 +01:00
Douglas Mencken
9e328623c4 allow modern GCC to be automatically chosen on OS X 10.5
Don't force gcc-4.2 for OS X SDK 10.5 when $CC version is newer than 4.2

Change-Id: I7031517f8c2140a9dcb56abe6f6db5c9ed8f21f9
Reviewed-on: https://gerrit.libreoffice.org/10118
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11 15:32:36 +00:00
Kohei Yoshida
a0bd5587a5 bnc#883684: Better fix for this.
Instead of making all chart objects exempt from unloading, check each OLE
object on whether or not it already has its persistent storage created.
If not, don't unload it else it would have nothing to load back from once
unloaded.

Change-Id: I2312e86c9376d3699ef4aa1e0cf2f4c04f706c1e
2014-07-11 11:16:00 -04:00
Matúš Kukan
4cb5213622 fdo#81148: Fix transparency gradients.
regression from a5351434fb.
Revert one line from that commit without too much understanding :-/

Change-Id: I126c25e2ad945ef1ec20a5677406434931d0790d
2014-07-11 17:10:32 +02:00
Palenik Mihály
bfdacadec9 Convert DLG_TEMPLATE_INFORMATION to .ui
Change-Id: I66469c17a46c1157b8e3801c0dc2b252c569a4bd
Reviewed-on: https://gerrit.libreoffice.org/10213
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11 15:05:36 +00:00
Joren De Cuyper
f86a4b4897 follow up fdo#81218 - update Copyright year in DEB files
Change-Id: I36f9002300939eb66a90766676a7de51cb044df9
Reviewed-on: https://gerrit.libreoffice.org/10226
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11 14:43:19 +00:00