LibreOffice.git
8 years agoAdd additional checks for undo and redo here.private/kohei/sort-ref-update
Kohei Yoshida [Mon, 14 Jul 2014 01:02:16 +0000 (13 21:02 -0400)]
Add additional checks for undo and redo here.

Change-Id: I9fde607ce87d4c499bc6adedddc71e726fb8a01c

8 years agofdo#81309: Write test for out-of-place sorting.
Kohei Yoshida [Mon, 14 Jul 2014 00:56:38 +0000 (13 20:56 -0400)]
fdo#81309: Write test for out-of-place sorting.

Change-Id: Id98c080e2b1ba120b1ac4f9f27e6ab10574daa88

8 years agofdo#81309: Write another test.
Kohei Yoshida [Mon, 14 Jul 2014 00:41:18 +0000 (13 20:41 -0400)]
fdo#81309: Write another test.

Value and formula cells within the same sorted column.

Change-Id: I62f1ee73c118a938d224bb11d2fbbc9ea386fbd3

8 years agofdo#81309: Writer another test.
Kohei Yoshida [Sun, 13 Jul 2014 23:50:49 +0000 (13 19:50 -0400)]
fdo#81309: Writer another test.

Change-Id: Ie912560551e50520c4f143884490c369a739728b

8 years agofdo#81309: Write test for this.
Kohei Yoshida [Sun, 13 Jul 2014 23:23:27 +0000 (13 19:23 -0400)]
fdo#81309: Write test for this.

Change-Id: I98216a60b3b82bdac14cd777b85502dc09f82dd9

8 years agoThis undo class is no longer used.
Kohei Yoshida [Sun, 13 Jul 2014 22:34:07 +0000 (13 18:34 -0400)]
This undo class is no longer used.

Change-Id: I8c53ba5bd839a6b8c8f65f05bb2b261a5bd02dbb

8 years agofdo#81309: Adjust references during sort.
Kohei Yoshida [Mon, 2 Jun 2014 22:29:27 +0000 (2 18:29 -0400)]
fdo#81309: Adjust references during sort.

Change-Id: I2b98610f6b774400ecfaffe2905201c27fcab33f

8 years agofdo#81102: fix .doc import of blank even page header
Luke Deller [Wed, 9 Jul 2014 12:39:41 +0000 (9 22:39 +1000)]
fdo#81102: fix .doc import of blank even page header

Honour the "different odd & even pages" header/footer setting from the
doc file even if there is no content for an even page header or footer.

Conflicts:
sw/qa/extras/ww8import/ww8import.cxx
Reviewed on:
https://gerrit.libreoffice.org/10191

Change-Id: I963f7f7189e399b1d859db0788fbfd291e868c54

8 years agoSfxModelessDialog ResId ctor bites the dust
Caolán McNamara [Sat, 12 Jul 2014 20:14:52 +0000 (12 21:14 +0100)]
SfxModelessDialog ResId ctor bites the dust

Change-Id: Ia1bc255de0f38c058a3ab622d87af8b346a2075f

8 years agocoverity#706364 Uncaught exception
Caolán McNamara [Fri, 11 Jul 2014 19:21:39 +0000 (11 20:21 +0100)]
coverity#706364 Uncaught exception

Change-Id: I4a6f7a2aa76d2a998bb6392de35fa1d25c85b3ce

8 years agocoverity#706282 Uncaught exception
Caolán McNamara [Fri, 11 Jul 2014 19:19:37 +0000 (11 20:19 +0100)]
coverity#706282 Uncaught exception

Change-Id: Icca233fdc6d841d1bf51f918b83f3eef2cd5952e

8 years agocoverity#706281 Uncaught exception
Caolán McNamara [Fri, 11 Jul 2014 19:17:26 +0000 (11 20:17 +0100)]
coverity#706281 Uncaught exception

Change-Id: I469b812c666801db5e3a6fac1d6152afd80cf39a

8 years agofdo#80905 SwXTextFieldMasters::hasByName(): sync with SwXFieldMaster
Miklos Vajna [Sun, 13 Jul 2014 16:02:29 +0000 (13 18:02 +0200)]
fdo#80905 SwXTextFieldMasters::hasByName(): sync with SwXFieldMaster

Normally a mail merge field has a name like
"css.text.fieldmaster.DataBase.<datasource name>.<table name>.<column
name>", however this isn't enforced: just
"css.text.fieldmaster.DataBase.TEST" is also accepted (even if its
semantics are ~undefined).

If SwXFieldMaster::setPropertyValue() allows setting such a field master
name, then SwXTextFieldMasters::hasByName() should not ignore such field
masters that have no dot in their name ("TEST") or use "Database", not
"DataBase", otherwise (sane) client code in writerfilter ends up with
hasByName() returning false, but setPropertyValue() throwing an
exception, because the field master does have such a name.

This fixes DOCX/RTF import of multiple mail merge fields with the same
field command.

Change-Id: I498eabace25f8e466b3504ba13fa3060d4ba22da

8 years agofix merge peculiarities
Philipp Riemer [Sun, 13 Jul 2014 16:04:48 +0000 (13 18:04 +0200)]
fix merge peculiarities

Change-Id: I8f01f16c52624611ac19dbd040ba0389ceccece2

8 years agoremove code that was commented out more than three years ago
Philipp Riemer [Sun, 13 Jul 2014 12:37:21 +0000 (13 14:37 +0200)]
remove code that was commented out more than three years ago

Change-Id: I8bc53b5d940be73d8b4142a72fb247c4e3af2e17

8 years agofix existing comments
Philipp Riemer [Sun, 13 Jul 2014 12:34:24 +0000 (13 14:34 +0200)]
fix existing comments

Change-Id: I718576c05ee3c621f2544cb1dcd6f0d7d1cc87c9

8 years agonormalize comments
Philipp Riemer [Sun, 13 Jul 2014 12:32:09 +0000 (13 14:32 +0200)]
normalize comments

Change-Id: I13986c75d28d01f6afa193ea963b23f8dba703e8

8 years agofdo#39468: Translate German comments in sw/source/core/
Philipp Riemer [Sun, 13 Jul 2014 12:28:55 +0000 (13 14:28 +0200)]
fdo#39468: Translate German comments in sw/source/core/

Change-Id: Ib48b281feccd4684571768ca2be6ecca23afbf55

8 years agoget rid of half the functions by using a functor ...
Bjoern Michaelsen [Sun, 13 Jul 2014 08:18:42 +0000 (13 10:18 +0200)]
get rid of half the functions by using a functor ...

... and removing duplication

Change-Id: I2339f26ed91e0dc019b0f01fd7802dff23ec9e35

8 years agothere is no log area sw.info
Bjoern Michaelsen [Sun, 13 Jul 2014 07:56:33 +0000 (13 09:56 +0200)]
there is no log area sw.info

Change-Id: Ie3c1f28370a08d3a3cf9bae6d6439efb984a1361

8 years agoAdd getPart(s) to lokandroid too.
Andrzej Hunt [Sun, 13 Jul 2014 06:05:00 +0000 (13 08:05 +0200)]
Add getPart(s) to lokandroid too.

I.e. make lokandroid match
4d15212ef8de89a71387c00bdeb7d9a41409e467

8 years agomake threaded rendering work correctly, fdo#81110
Markus Mohrhard [Sun, 13 Jul 2014 05:52:51 +0000 (13 07:52 +0200)]
make threaded rendering work correctly, fdo#81110

The context may only be bound in one thread!

Change-Id: Ibb67f88c2f11fd48884ee39d89620193e4e5471b

8 years agoAdd another test case.
Kohei Yoshida [Sun, 13 Jul 2014 02:09:10 +0000 (12 22:09 -0400)]
Add another test case.

Change-Id: I1664bc3faf44abc978391d0f97820c468f4419b0

8 years agofdo#80462: Write test for this.
Kohei Yoshida [Sun, 13 Jul 2014 01:55:59 +0000 (12 21:55 -0400)]
fdo#80462: Write test for this.

Change-Id: Icdc83c0264fd76239e8c8772c207cc22ce969a76

8 years agofdo#80462: Don't always increment the start row position.
Kohei Yoshida [Sun, 13 Jul 2014 01:46:13 +0000 (12 21:46 -0400)]
fdo#80462: Don't always increment the start row position.

Sometimes someone might attempt to sort only a single row.

Change-Id: Ie29d4cf7ec0bd3a5c945997083368b6ef6074268

8 years agotypo
Bjoern Michaelsen [Sat, 12 Jul 2014 23:13:16 +0000 (13 01:13 +0200)]
typo

Change-Id: Ia400c34f91f190453aa9cf87480d4559d8818a58

8 years agonow use the refactored UnoCrsr implementation ...
Bjoern Michaelsen [Sat, 12 Jul 2014 23:07:40 +0000 (13 01:07 +0200)]
now use the refactored UnoCrsr implementation ...

... now that we verified it to work as the old version used to do.

Change-Id: I7980f263b35a6504337d2836ae2d4b9f29b19942

8 years agorefactor UnoCrsr moves
Bjoern Michaelsen [Sat, 12 Jul 2014 22:54:14 +0000 (13 00:54 +0200)]
refactor UnoCrsr moves

Change-Id: I6ea54941dfba3b755fa9f7ac6a769ccfab8a782e

8 years agomore debug info for mark moves
Bjoern Michaelsen [Sat, 12 Jul 2014 21:41:52 +0000 (12 23:41 +0200)]
more debug info for mark moves

Change-Id: I13d7e5289f0143b9b8f040897db9c82fa4dcc3bb

8 years agoAvoid possible memory leaks in case of exceptions
Takeshi Abe [Sat, 12 Jul 2014 14:10:34 +0000 (12 23:10 +0900)]
Avoid possible memory leaks in case of exceptions

Change-Id: Id0304366c4e6191db85527935f5bc5cdb0aeb8d8

8 years agoenable debug informations for gltf in debug builds
Markus Mohrhard [Sat, 12 Jul 2014 10:59:47 +0000 (12 12:59 +0200)]
enable debug informations for gltf in debug builds

Change-Id: I81fc7ebc77a67d2d64dd74e1dec0ce7ffbb1b19b

8 years agopass by reference
Markus Mohrhard [Sat, 12 Jul 2014 10:34:56 +0000 (12 12:34 +0200)]
pass by reference

Change-Id: I44e8f40935a19f8023bb23f53c5fb458eb28a3dc

8 years agosal: restore pthread to its original non-ideal state.
Michael Meeks [Sat, 12 Jul 2014 11:14:58 +0000 (12 12:14 +0100)]
sal: restore pthread to its original non-ideal state.

Hopefully repairs the tinderboxen.

Change-Id: I2933e6cbf1079a09dab48d4f7ed20b93634d8959

8 years agoCppunitTest_tiledrendering: disable SwVirtFlyDrawObj assert for now
Miklos Vajna [Sat, 12 Jul 2014 09:09:06 +0000 (12 11:09 +0200)]
CppunitTest_tiledrendering: disable SwVirtFlyDrawObj assert for now

Change-Id: I289632e4e686b56d83855a0a5c69744b3b7e035e

8 years agofdo#80333: .doc has large black rectangles between paragraphs
Zolnai Tamás [Sat, 12 Jul 2014 08:05:52 +0000 (12 10:05 +0200)]
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

8 years agowriterfilter: convert factoryimpl to Python
Miklos Vajna [Sat, 12 Jul 2014 08:09:53 +0000 (12 10:09 +0200)]
writerfilter: convert factoryimpl to Python

Change-Id: I2065215db5da0a379e902a74eff419d5c6068d21

8 years agoGtkComboBoxText requires gtk >= 2.24.
Andrzej Hunt [Sat, 12 Jul 2014 03:45:28 +0000 (12 05:45 +0200)]
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.

8 years agoImpress: implement tiled rendering.
Andrzej Hunt [Fri, 11 Jul 2014 14:21:15 +0000 (11 16:21 +0200)]
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

8 years agoLOK: use solar mutex for setPart.
Andrzej Hunt [Fri, 11 Jul 2014 14:09:30 +0000 (11 16:09 +0200)]
LOK: use solar mutex for setPart.

Needed e.g. for changing slides in impress.

Change-Id: I2f5de40d4efbacde910e27225768979a98ff1c0a

8 years agoLOK: some logging for tiled rendering.
Andrzej Hunt [Fri, 11 Jul 2014 07:13:21 +0000 (11 09:13 +0200)]
LOK: some logging for tiled rendering.

Change-Id: I5779eec97507b1996cda89174a6e6c55cdd57baf

8 years agoAdd LOK and tiledrendering log areas.
Andrzej Hunt [Fri, 11 Jul 2014 07:12:58 +0000 (11 09:12 +0200)]
Add LOK and tiledrendering log areas.

Change-Id: I885acc9b4a52835fa256c2ecd1b8da917b4f7ba7

8 years agoAdd LOK tiled rendering divided-tile unit test.
Andrzej Hunt [Fri, 11 Jul 2014 07:12:27 +0000 (11 09:12 +0200)]
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

8 years agoAdd Tiled Rendering outline to sd.
Andrzej Hunt [Tue, 8 Jul 2014 14:41:56 +0000 (8 16:41 +0200)]
Add Tiled Rendering outline to sd.

Change-Id: I810d827f330690f8071b662b9ddd05cc41655a71

8 years agoAdd part selector to gtktiledviewer.
Andrzej Hunt [Tue, 8 Jul 2014 13:32:46 +0000 (8 15:32 +0200)]
Add part selector to gtktiledviewer.

Change-Id: I569c8f0ebf4476c0a247cde15a263d1db956a14b

8 years agoLOK DocView: implement part selection.
Andrzej Hunt [Tue, 8 Jul 2014 13:32:20 +0000 (8 15:32 +0200)]
LOK DocView: implement part selection.

Change-Id: I2e16ca9d2d5fcd25b0435f1b9b0fbcb52b92e012

8 years agoAdd get/setPart to ITiledRenderable, and implement for sw/sc.
Andrzej Hunt [Tue, 8 Jul 2014 13:23:06 +0000 (8 15:23 +0200)]
Add get/setPart to ITiledRenderable, and implement for sw/sc.

Change-Id: Iec3d6374f029149cadf8fb9c9b16fec90146c31e

8 years agogtktiledviewer: allow selecting between normal and quad-tile view.
Andrzej Hunt [Tue, 8 Jul 2014 07:53:42 +0000 (8 09:53 +0200)]
gtktiledviewer: allow selecting between normal and quad-tile view.

Change-Id: I85b22b93fe4ce2ffb62df8766ceea7a1bd8961ee

8 years agoQuad Docview: only rerender on zoom if we have a document open.
Andrzej Hunt [Tue, 8 Jul 2014 07:44:40 +0000 (8 09:44 +0200)]
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

8 years agoLOK DocView: only rerender on zoom if we have a document open.
Andrzej Hunt [Tue, 8 Jul 2014 07:43:09 +0000 (8 09:43 +0200)]
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

8 years agoImplement a (qa-only) quad-tiled viewer.
Andrzej Hunt [Tue, 8 Jul 2014 06:54:13 +0000 (8 08:54 +0200)]
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

8 years agofix memory leak in collada2gltf
Markus Mohrhard [Sun, 6 Jul 2014 13:08:43 +0000 (6 15:08 +0200)]
fix memory leak in collada2gltf

Change-Id: I7d4a00d94cf97e988847f11ded0de2dc0cb77828

8 years agofirst part for threaded chart rendering, fdo#81110
Markus Mohrhard [Fri, 11 Jul 2014 03:34:41 +0000 (11 05:34 +0200)]
first part for threaded chart rendering, fdo#81110

It is nor working correctly yet.

Change-Id: Ic592eb2f50265886ad6d97539d2c52d7c45179e6

8 years agoremove unused defines
Markus Mohrhard [Wed, 9 Jul 2014 05:55:47 +0000 (9 07:55 +0200)]
remove unused defines

Change-Id: Ic9118c390f4ba69e245cb16032d3cbe19c741b11

8 years agousing memset on a vector is just so wrong
Markus Mohrhard [Wed, 9 Jul 2014 05:41:44 +0000 (9 07:41 +0200)]
using memset on a vector is just so wrong

Change-Id: Ia022f5d0200a60d993c74f2c9f29f906c6284f0f

8 years agowe only need one typedef for PointList
Markus Mohrhard [Wed, 9 Jul 2014 05:41:05 +0000 (9 07:41 +0200)]
we only need one typedef for PointList

Change-Id: Ic64f871e014bd48c5eadb6f92b69c6466d812925

8 years agokilled this method again
Markus Mohrhard [Wed, 9 Jul 2014 05:30:48 +0000 (9 07:30 +0200)]
killed this method again

This method must be a zombie as it reappears again and again despite
being killed.

Change-Id: Ic41e3259f2125eca7d114f54b032553e53bf71a2

8 years agoremove unused method
Markus Mohrhard [Wed, 9 Jul 2014 05:28:41 +0000 (9 07:28 +0200)]
remove unused method

Change-Id: I3b3006230476b0d16dad54035b0c80a95cbc2b20

8 years agoAvoid possible memory leaks in case of exceptions
Takeshi Abe [Fri, 11 Jul 2014 05:23:50 +0000 (11 14:23 +0900)]
Avoid possible memory leaks in case of exceptions

Change-Id: I5e302cf7ac784e1413c0539d0c967a3523f04ba0

8 years agogbuild: always prepend our stuff to PATH on Windows
Michael Stahl [Fri, 11 Jul 2014 19:54:03 +0000 (11 21:54 +0200)]
gbuild: always prepend our stuff to PATH on Windows

Who knows what weird conflicting stuff could be on PATH.

Change-Id: I5acec89687efe736ecc1f970eb56efa22393b251

8 years agoresolved fdo#77018 keep external references intact during sort
Eike Rathke [Fri, 11 Jul 2014 21:15:50 +0000 (11 23:15 +0200)]
resolved fdo#77018 keep external references intact during sort

Needs e463de2a56453a0d2cb0b5b58e96f7639f37cdd1 fix for fdo#79441 to
work.

Change-Id: Ide1cbeb4b25b17b5102977ccbdf8e6dbfcadfc60

8 years agofdo#81214 - tolerate exceptions thrown inside XFastParser callbacks.
Michael Meeks [Fri, 11 Jul 2014 19:49:33 +0000 (11 20:49 +0100)]
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

8 years agoUse comphelper::SequenceAsVector
Miklos Vajna [Fri, 11 Jul 2014 16:54:00 +0000 (11 18:54 +0200)]
Use comphelper::SequenceAsVector

Change-Id: I0d1e22344a2aa1474d022364b12cd34d7d56c2d8

8 years agoresolved fdo#79441 keep 3D references intact during sort
Eike Rathke [Fri, 11 Jul 2014 16:35:39 +0000 (11 18:35 +0200)]
resolved fdo#79441 keep 3D references intact during sort

Change-Id: I9e96d8e7cb99a3c280dd24495eefb9efd6d10888

8 years agocoverity#736076 Missing break in switch, its got to be wrong
Caolán McNamara [Fri, 11 Jul 2014 15:15:25 +0000 (11 16:15 +0100)]
coverity#736076 Missing break in switch, its got to be wrong

Change-Id: I21a3b2b794a431d07df8a1bc250e8f0aacaf3059

8 years agoallow modern GCC to be automatically chosen on OS X 10.5
Douglas Mencken [Tue, 8 Jul 2014 19:41:31 +0000 (8 15:41 -0400)]
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>
8 years agobnc#883684: Better fix for this.
Kohei Yoshida [Fri, 11 Jul 2014 14:50:29 +0000 (11 10:50 -0400)]
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

8 years agofdo#81148: Fix transparency gradients.
Matúš Kukan [Fri, 11 Jul 2014 15:04:30 +0000 (11 17:04 +0200)]
fdo#81148: Fix transparency gradients.

regression from a5351434fbea1126961f5dbaa986e7c9e686c24e.
Revert one line from that commit without too much understanding :-/

Change-Id: I126c25e2ad945ef1ec20a5677406434931d0790d

8 years agoConvert DLG_TEMPLATE_INFORMATION to .ui
Palenik Mihály [Fri, 11 Jul 2014 07:05:53 +0000 (11 09:05 +0200)]
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>
8 years agofollow up fdo#81218 - update Copyright year in DEB files
Joren De Cuyper [Fri, 11 Jul 2014 10:31:02 +0000 (11 12:31 +0200)]
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>
8 years agoavoid -arch for bundled OpenSSL, Python3, and nss/nspr on OSX@PowerPC
Douglas Mencken [Mon, 7 Jul 2014 18:18:12 +0000 (7 14:18 -0400)]
avoid -arch for bundled OpenSSL, Python3, and nss/nspr on OSX@PowerPC

this fixes gcc: error: unrecognized command line option '-arch'

The '-arch' option is part of Apple's extensions to GCC, and it is uncompatible
with "vanilla" GCC from FSF. Also, we're not building "universal binaries".

Change-Id: I44e7c72bbb1dd4be5ac9cdbc4f210aaccea513b4
Reviewed-on: https://gerrit.libreoffice.org/10117
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
8 years agoadd adjustments for spinbuttons
Caolán McNamara [Fri, 11 Jul 2014 14:37:20 +0000 (11 15:37 +0100)]
add adjustments for spinbuttons

Change-Id: I11e8ce8fcbf468797b08a1a3101030fd07397c98

8 years agoConvert RID_CUI_DIALOG_COLORPICKER to .ui
Palenik Mihály [Thu, 10 Jul 2014 21:14:21 +0000 (10 23:14 +0200)]
Convert RID_CUI_DIALOG_COLORPICKER to .ui

Conflicts:
extras/source/glade/libreoffice-catalog.xml.in

Change-Id: I161681859c924cc97afa9886b80005e70fa2a87c
Reviewed-on: https://gerrit.libreoffice.org/10210
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
8 years agoreturn early for empty bitmap
Caolán McNamara [Fri, 11 Jul 2014 13:10:51 +0000 (11 14:10 +0100)]
return early for empty bitmap

Change-Id: I768ffe9dc1226bbcca706e0c56c6103e043b2401

8 years agofdo#80410: let's add a unit test too...
Michael Stahl [Fri, 11 Jul 2014 13:07:58 +0000 (11 15:07 +0200)]
fdo#80410: let's add a unit test too...

Change-Id: I2b9853dc5b85c034d767825ca2842738b61b54f5

8 years agofdo#81058: Revert "Fix: EE_CHAR_COLOR to EE_CHAR_BKGCOLOR"
Matúš Kukan [Fri, 11 Jul 2014 13:53:25 +0000 (11 15:53 +0200)]
fdo#81058: Revert "Fix: EE_CHAR_COLOR to EE_CHAR_BKGCOLOR"

Obviously, it's not safe to touch editeng :-/

This reverts commit f2d6eb4d96918de9b29a96749506b83b0e59293f.

8 years agoconvert GlobalImageList to SimpleReferenceObject
Noel Grandin [Fri, 11 Jul 2014 13:44:00 +0000 (11 15:44 +0200)]
convert GlobalImageList to SimpleReferenceObject

instead of hand-rolling it's own reference counting

Change-Id: Ie90cdce49b9dab68f1bdf487b0f308e03464f893

8 years agocomplete shot-in-the-dark to fix tinderbox build
Noel Grandin [Fri, 11 Jul 2014 13:43:06 +0000 (11 15:43 +0200)]
complete shot-in-the-dark to fix tinderbox build

tinderbox 50 is failing, trying to fix it

Change-Id: I81e3cbdb224110af3036f5726228fd88aba32748

8 years agoResolves: fdo#81147 fix mismatching drawlayer and docshell colorlists
Caolán McNamara [Fri, 11 Jul 2014 13:08:19 +0000 (11 14:08 +0100)]
Resolves: fdo#81147 fix mismatching drawlayer and docshell colorlists

a bit of mis-merge + a bit of underlying crashiness

regression from 378dc6ef20ffd0e657d78dbf6646d48059be4045

Change-Id: Id0f7b6b6f13e1ec70dc900c21d2d020a44cf6081

8 years agoRelated: fdo#81147 check if colorlist is valid
Caolán McNamara [Fri, 11 Jul 2014 13:07:53 +0000 (11 14:07 +0100)]
Related: fdo#81147 check if colorlist is valid

Change-Id: Ifd48526974b7fcb10872d53d42e26add3fe878d1

8 years agoconvert sw/ObservableThread to salhelper::SimpleReferenceObject
Noel Grandin [Fri, 11 Jul 2014 12:41:02 +0000 (11 14:41 +0200)]
convert sw/ObservableThread to salhelper::SimpleReferenceObject

instead of re-implementing it's own reference counting

Change-Id: I2600b970544f1dfd84b987d1891c79e3c377bd1b

8 years agoattempt to fix linux build
Noel Grandin [Fri, 11 Jul 2014 12:40:18 +0000 (11 14:40 +0200)]
attempt to fix linux build

on some older boxes, after my commit
dac4ca5 "new loplugin: externalandnotdefined"

Change-Id: Ibcab5f39714fb531066709e91a7322270995a6a5

8 years agonew loplugin: externalandnotdefined
Noel Grandin [Wed, 25 Jun 2014 12:57:44 +0000 (25 14:57 +0200)]
new loplugin: externalandnotdefined

Find "missing headers," where a function is declared directly in the
.cxx (as extern) and not defined, and should arguably instead be declared
in an include file.

Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2

8 years agoVS2013: Make ADO backwards compatible for SDK > 8.0
David Ostrovsky [Wed, 9 Jul 2014 05:13:04 +0000 (9 07:13 +0200)]
VS2013: Make ADO backwards compatible for SDK > 8.0

Change-Id: I2e607156831321cc0ea5c3030befb635c5acaed1
Reviewed-on: https://gerrit.libreoffice.org/10156
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
8 years agoVS2013: Adjust lcms2 to 12.0 vcproj version
David Ostrovsky [Tue, 8 Jul 2014 19:44:12 +0000 (8 21:44 +0200)]
VS2013: Adjust lcms2 to 12.0 vcproj version

Change-Id: I5ec1ea40e57c7d9de337645421be89e1e4c5a867
Reviewed-on: https://gerrit.libreoffice.org/10157
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
8 years agoVS2013: Adjust python3 to 12.0 vcproj version
David Ostrovsky [Tue, 8 Jul 2014 21:46:25 +0000 (8 23:46 +0200)]
VS2013: Adjust python3 to 12.0 vcproj version

Change-Id: Ic4566e8a199d3f31d6d4cb2d3fd41ad7b762c02a
Reviewed-on: https://gerrit.libreoffice.org/10162
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
8 years agoVS2013: Adjust libgltf to 12.0 vcproj version
David Ostrovsky [Tue, 8 Jul 2014 21:45:53 +0000 (8 23:45 +0200)]
VS2013: Adjust libgltf to 12.0 vcproj version

Change-Id: I076c998f5c843b60ac5624381e51271a0924043f
Reviewed-on: https://gerrit.libreoffice.org/10161
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
8 years agoVS2013: Adjust glew to 12.0 vcproj version
David Ostrovsky [Tue, 8 Jul 2014 21:44:57 +0000 (8 23:44 +0200)]
VS2013: Adjust glew to 12.0 vcproj version

Change-Id: Ibfb6f7d23c0f3afbd7ef810093dbbec7f9134aaa
Reviewed-on: https://gerrit.libreoffice.org/10160
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
8 years agoVS2013: Adjust cppunit to 12.0 vcproj version
David Ostrovsky [Tue, 8 Jul 2014 21:44:29 +0000 (8 23:44 +0200)]
VS2013: Adjust cppunit to 12.0 vcproj version

Change-Id: I9223fc0620bf31389ab4ea0971835dd7a27feb7e
Reviewed-on: https://gerrit.libreoffice.org/10159
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
8 years agoVS2013: Adjust coinmp to 12.0 vcproj version
David Ostrovsky [Tue, 8 Jul 2014 21:43:41 +0000 (8 23:43 +0200)]
VS2013: Adjust coinmp to 12.0 vcproj version

Change-Id: I3b069278297c489b0aeb54ebef484c73dee503c0
Reviewed-on: https://gerrit.libreoffice.org/10158
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
8 years agowebdav: Do not return reference here.
Matúš Kukan [Fri, 11 Jul 2014 10:54:02 +0000 (11 12:54 +0200)]
webdav: Do not return reference here.

This was missing in e07cefb4f7ba39d59d25815e208ed61269079142.

Change-Id: I1c9a3f88981ee67d9d5748f9e43eed1237422fb1

8 years agoCheck whether Command Args are already set up before doing so.
Andrzej Hunt [Thu, 10 Jul 2014 10:19:36 +0000 (10 12:19 +0200)]
Check whether Command Args are already set up before doing so.

Could already be set up e.g. if a client application is using UNO
separately, in addition to LOK.

Change-Id: I50c3230b6f2456360273902a308c303576baac10

8 years agoCID#982304 logically dead code
Eike Rathke [Fri, 11 Jul 2014 10:25:58 +0000 (11 12:25 +0200)]
CID#982304 logically dead code

Change-Id: I8ffc8249a4d1b7530ee208cf84b48af832758a4d

8 years agomove the retype strings to sc.hrc
Caolán McNamara [Fri, 11 Jul 2014 10:08:23 +0000 (11 11:08 +0100)]
move the retype strings to sc.hrc

Change-Id: I70bbbac0dff8c64bedcf8a46006378291a7fac23

8 years agoIntroduce osl_areCommandArgsSet.
Andrzej Hunt [Thu, 10 Jul 2014 10:17:05 +0000 (10 12:17 +0200)]
Introduce osl_areCommandArgsSet.

We cannot call osl_setCommandArgs twice, however there is currently
no way to determine whether or not this has already been done. This is
necessary e.g. for LibreOfficeKit where we may also be using UNO
separately (and also for unit tests where LO is already set-up prior
to the unit test running, and therefore we can't set up osl again
from within LOK).

Change-Id: Id1f357ef604eb2b6b7814c9a04ac6933a39fd3eb

8 years agofdo#81218 - update Copyright year in DEB files
Joren De Cuyper [Fri, 11 Jul 2014 09:52:58 +0000 (11 11:52 +0200)]
fdo#81218 - update Copyright year in DEB files

Change-Id: Id8d83c09535e79146d65d615e85f0f18535b95d5
Reviewed-on: https://gerrit.libreoffice.org/10223
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
8 years ago-Wdeprecated-declarations: first deprecated in OS X 10.10
rbuj [Mon, 7 Jul 2014 23:03:00 +0000 (8 01:03 +0200)]
-Wdeprecated-declarations: first deprecated in OS X 10.10

vcl/osx/salframeview.mm:201:16: warning: 'useOptimizedDrawing:' is deprecated: first deprecated in OS X 10.10 [-Wdeprecated-declarations]

Change-Id: I6025de6c23a73c625ddfe8398dfd91bd838fe83c
Reviewed-on: https://gerrit.libreoffice.org/10122
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
8 years ago-Wdeprecated-declarations: first deprecated in OS X 10.10
rbuj [Mon, 7 Jul 2014 22:59:01 +0000 (8 00:59 +0200)]
-Wdeprecated-declarations: first deprecated in OS X 10.10

vcl/osx/printaccessoryview.mm:362:37: warning: 'NSScaleProportionally' is deprecated: first deprecated in OS X 10.10 - Use NSImageScaleProportionallyDown instead [-Wdeprecated-declarations]

Available in OS X v10.0 and later. Deprecated in OS X v10.10.
enum {
   NSScaleProportionally = 0,
   NSScaleToFit,
   NSScaleNone
};

Available in OS X v10.5 and later.
enum {
   NSImageScaleProportionallyDown = 0,
   NSImageScaleAxesIndependently,
   NSImageScaleNone,
   NSImageScaleProportionallyUpOrDown
};

Change-Id: I457196e3e8f2ebcc10e9e0fa87755e5e3dba207c
Reviewed-on: https://gerrit.libreoffice.org/10121
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
8 years ago-Wdeprecated-declarations: first deprecated in OS X 10.10
rbuj [Mon, 7 Jul 2014 16:18:44 +0000 (7 18:18 +0200)]
-Wdeprecated-declarations: first deprecated in OS X 10.10

fpicker/source/aqua/SalAquaFilePicker.mm:220:14: warning: 'NSOKButton' is deprecated: first deprecated in OS X 10.10 - Use NSModalResponseOK instead [-Wdeprecated-declarations]
fpicker/source/aqua/SalAquaFilePicker.mm:225:14: warning: 'NSCancelButton' is deprecated: first deprecated in OS X 10.10 - Use NSModalResponseCancel instead [-Wdeprecated-declarations]
fpicker/source/aqua/SalAquaFolderPicker.mm:114:10: warning: 'NSOKButton' is deprecated: first deprecated in OS X 10.10 - Use NSModalResponseOK instead [-Wdeprecated-declarations]
fpicker/source/aqua/SalAquaFolderPicker.mm:119:10: warning: 'NSCancelButton' is deprecated: first deprecated in OS X 10.10 - Use NSModalResponseCancel instead [-Wdeprecated-declarations]

Change-Id: Ib497903e4df868867cc56e2eade7bb2572f0902a
Reviewed-on: https://gerrit.libreoffice.org/10115
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
8 years agoUpdated core
Caolán McNamara [Fri, 11 Jul 2014 10:09:51 +0000 (11 11:09 +0100)]
Updated core
Project: help  c7229c8a250f7387c090f20a0fd9171fdcd576d1

8 years agoConvert RID_SCDLG_RETYPEPASS to .ui
Palenik Mihály [Thu, 10 Jul 2014 00:39:43 +0000 (10 02:39 +0200)]
Convert RID_SCDLG_RETYPEPASS to .ui

Change-Id: I5d6e1ba67bf04c4a10e92f203fcbf36b58a8801c
Reviewed-on: https://gerrit.libreoffice.org/10178
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>