Commit Graph

363902 Commits

Author SHA1 Message Date
Noel Grandin
b95dcb97de java: last statement in finalize() method should be call to super.finalize()
Change-Id: I1785c6cef1fe7c1990207a76c263cff388cbb7e1
Reviewed-on: https://gerrit.libreoffice.org/12375
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12 08:02:18 +00:00
Noel Grandin
36ff1527c9 java: reduce excessive code indentation levels
by using early return in some methods

Change-Id: I3611c8c89b3a94ef7e1772d178acf065fd7fcdc7
Reviewed-on: https://gerrit.libreoffice.org/12374
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12 08:01:55 +00:00
Stephan Bergmann
1eb31467a5 Guard against wrap-around in SvxFontHeightItem
...though the whole design there looks broken

Change-Id: I6c3a53d606ea835d34729fcfb661fad0f1897716
2014-11-12 09:00:44 +01:00
Stephan Bergmann
485ac5e159 Clean up SvxFontHeightItem::SetProp
Change-Id: I6cc58745aaf7093e54f92b50201bf2a39fcc5619
2014-11-12 09:00:43 +01:00
Noel Grandin
8144d773f3 fix build on older compilers
caused by my commit 750cb51  "loplugin: cstylecast"

Change-Id: I688a976d17aebc7a41119e57441076fcf5023ded
2014-11-12 09:59:22 +02:00
Noel Grandin
750cb51aaa loplugin: cstylecast
Change-Id: Ieffa7ae199b42545d307fba661ce205573cf4b41
2014-11-12 09:33:45 +02:00
Markus Mohrhard
bf9435bce0 Revert "Revert "Revert "wrong merge conflict resolution, vcldemo, icontest go to instdir"""
This reverts commit 80c83f4a57.
2014-11-12 06:06:36 +01:00
Markus Mohrhard
4cbd2c0b41 add quick way to enable OpenGL backend through env var
Change-Id: I274c76178500c231c1339ac5f0cb7fc084cd1e4b
2014-11-12 06:02:48 +01:00
Markus Mohrhard
80c83f4a57 Revert "Revert "wrong merge conflict resolution, vcldemo, icontest go to instdir""
This reverts commit b64caa8ad8.
2014-11-12 05:59:39 +01:00
Louis-Francis Ratté-Boulianne
b49bea1540 vcl: Use offscreen rendering for native GTK widgets with OpenGL backend
Change-Id: I142e1b34e54a3cbe149e5af9adeba1250a4ca9a9
2014-11-12 04:07:41 +01:00
Louis-Francis Ratté-Boulianne
e1e787d5e4 vcl: Add support for radial gradients in OpenGL backend
Change-Id: Ie47fb18ae7d5286fe7559c7dffbc54b0856d4d8e
2014-11-12 04:07:31 +01:00
Louis-Francis Ratté-Boulianne
74c3dbe87e vcl: Read back OpenGL FBO to create offscreen X11 pixmap
Change-Id: I330e7d62bf31b4a90b5866d9531f073f7c69c92a
2014-11-12 04:07:21 +01:00
Louis-Francis Ratté-Boulianne
c7a5ce27e6 vcl: Add initial support for linear gradient with OpenGL
Change-Id: Iccc12c94bfd68387dfc0161a5fde4f595edda0e1
2014-11-12 04:07:05 +01:00
Michael Meeks
b021b5983c WaE: calm clang tinderbox.
Change-Id: Id07741c3d7780da72a351c33fc001f7d2a73bc64
2014-11-12 00:21:54 +00:00
Michael Meeks
98f9baa525 vcldemo: add some clipping tests under the checkerboard tile.
Change-Id: I801931055aeba38e9173fb04dcc44b220cd3f17e
2014-11-12 00:07:05 +00:00
Michael Meeks
a05fe51feb vcldemo: render a selection of odd gradients.
Change-Id: Ic3d2f795d453b9c48316d78d0d50486624cdc2b1
2014-11-11 23:35:16 +00:00
Michael Meeks
c3eab4a893 vcldemo: render an enlarged view on mouse click.
Change-Id: I9021ab4744b16f967eaa5006128d30621b421d7a
2014-11-11 23:35:05 +00:00
Michael Meeks
1c526c9ddd vcldemo: re-factor rendering panes, to enable zooming.
Change-Id: Ib50fcba992293ec661912444a051a02d856c7189
2014-11-11 22:26:05 +00:00
Michael Meeks
8803102809 vcldemo: click to invalidate bits and bounce a floatwin around.
Change-Id: I0c417842393eb32132fd430b8bf31e93e7ec3b27
2014-11-11 21:54:48 +00:00
Samuel Mehrbrodt
355770eff4 fdo82708 Add missing tooltips to Writer Statusbar
Change-Id: Ie44b8de69b98ebfa789cc8f9a1d8a60b698fc154
Reviewed-on: https://gerrit.libreoffice.org/12368
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-11-11 20:53:53 +00:00
Jan Holesovsky
93b34d0917 vcl: Use the fast path for rendering.
There was a discrepancy between the comment and the code; and I believe the
comment was right, and the code wrong - so adapted the code accordingly.

[I guess we will want to kill this condition for good when rendering via
OpenGL at some stage; the assert() will tell us ;-)]

Change-Id: I651261373068e975004c898b2a930c602c158b64
2014-11-11 21:47:03 +01:00
Jan Holesovsky
d87b163f8d windows opengl: Make sure we don't reach the slow parts of the code.
Change-Id: I2a4d1bd294d1d88651c8556091f5453ef0aa5293
2014-11-11 21:46:54 +01:00
Jan Holesovsky
d9fbaf248e windows opengl: Instantiate OpenGLSalBitmap even on Windows.
Change-Id: I2229141cc12ad7bc9fccfd6e2c7fec44ac4f6284
2014-11-11 21:46:45 +01:00
Stephan Bergmann
a237e08381 Copy the original prop/prop unit
...instead of scaling the translated nNewHeight once more by the original prop

Change-Id: Iadb53361a79f0b37b3c7c50066e4cfb7d24ed5e8
2014-11-11 19:51:23 +01:00
Stephan Bergmann
63c48a7e0e Fix SvxFontHeightItem::operator=
...and remove thus unused SetHeightValue

Change-Id: I9c8c18614233df6086ff23533e7e7129848f42ef
2014-11-11 19:51:23 +01:00
Stephan Bergmann
2a68ed19e8 Revert "Some SvxFontHeightItem clean-up"
This reverts commit d5f93eb47e,
SvxFontHeightItem::SetProp was used to override "dummy" 100% nProp/ePropUnit
values that did not match the computed nHeight value with nProp/ePropUnit values
that are supposed to match the computed nHeight value.  Yuck.

Change-Id: Ic12e824054b3c5da7aca766b9b3eb076d1837d9a
2014-11-11 19:51:22 +01:00
Richard PALO
88a40e70fe O_RDWR and O_CREAT are defined in fcntl.h
Change-Id: I568ee2c3f103777720f6c39340a5915b10aeebb4
Signed-off-by: Michael Stahl <mstahl@redhat.com>
2014-11-11 19:44:57 +01:00
Richard PALO
457105c7d9 update solaris directories being referenced
also borrowed from  Gabriele Bulfon <gabriele.bulfon at sonicle.com>

Change-Id: I17787fbbf12f1bc8b3e78b8dd2e8b33679bab5b1
Signed-off-by: Michael Stahl <mstahl@redhat.com>
2014-11-11 19:44:57 +01:00
Richard PALO
a395a395e5 Do as for Linux, borrowed from Gabriele Bulfon <gabriele.bulfon at sonicle.com>
Change-Id: Id15c4b355591678023ae97b1183f8f3a01823084
Signed-off-by: Michael Stahl <mstahl@redhat.com>
2014-11-11 19:44:56 +01:00
Richard PALO
5f35b74bb1 improve SOLARIS guard
Change-Id: Ic5edb7c0977b6c589329cd80616aa320d6cc929b
Signed-off-by: Michael Stahl <mstahl@redhat.com>
2014-11-11 19:44:56 +01:00
Richard PALO
92c5bc7d6b SOLARIS can use/should use posix_madvise under certain conditions.
Change-Id: Idc40752b4beee932b5912e6df9fe6acb15571201
Signed-off-by: Michael Stahl <mstahl@redhat.com>
2014-11-11 19:44:56 +01:00
Richard PALO
7970fa5130 cleanup improper SOLARIS linker libs and options
and, most importantly, forget MOTIF!

Change-Id: I0230932618b396ec4d5bf7638a13e5a80a4fada0
Signed-off-by: Michael Stahl <mstahl@redhat.com>
2014-11-11 19:44:56 +01:00
Richard PALO
ee49e52c66 READELF needs to be defined for unix such as SOLARIS
Change-Id: I749fa8a19e00957a3f83f41e029687b435a3a903
Signed-off-by: Michael Stahl <mstahl@redhat.com>
2014-11-11 19:44:55 +01:00
Eike Rathke
0d3ca29fd2 for unknown locales check is needed even for ll[l][-CC] tag, fdo#86011 related
Found when investigating fdo#86011 where 'du-nl' was accepted and
assigned an on-the-fly-ID even if the 'du' language code is not defined
in ISO 639. If a tag is not internally known we need to check it using
liblangtag and take no short cut assuming it would be alright even not
for the simplest case.

Change-Id: Ib8c1eb77b6b4a59019c4c8248b596bf53c0f4986
2014-11-11 18:58:10 +01:00
Stephan Bergmann
5d51b13048 Remove unused #include
Change-Id: Ia79cdfbe8b1e065f84a30aa74500de3f1115c595
2014-11-11 18:42:29 +01:00
Stephan Bergmann
d5f93eb47e Some SvxFontHeightItem clean-up
...and operator= shall probably copy rSize.ePropUnit...

Change-Id: I112c02b3a3b2ce23f3d03f03881136e05be29017
2014-11-11 18:39:20 +01:00
Caolán McNamara
047830de46 There are three positive return codes from inflate
#define Z_OK            0
 #define Z_STREAM_END    1
 #define Z_NEED_DICT     2

and we don't support dictionaries, so a Z_NEED_DICT return
creates an infinite loop

Change-Id: Iafb1da594962b3cb456a3223cc6d4122791718c5
2014-11-11 17:28:23 +00:00
Caolán McNamara
08243fbab6 coverity#1242754 Unused value
Change-Id: I5e3d39b8f87e1496550c616928eab9166f624387
Reviewed-on: https://gerrit.libreoffice.org/12364
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-11 17:26:17 +00:00
Tor Lillqvist
2018bd1505 WaE: implicit conversion of NULL constant to 'boost::detail::sp_nullptr_t'
Change-Id: I6d989baabe4ff59b91c3fdb725f75a7d9e01f5e0
2014-11-11 19:10:05 +02:00
Tor Lillqvist
ca2fefb879 Add a function to compare version number strings
Change-Id: I88d3d9040f70e84752ade19001a699f60e9e7636
2014-11-11 19:01:58 +02:00
Riccardo Magliocchetti
6914b17246 configure: --enable-headless is dead long live --without-x
To avoid confusion with the --headless runtime option
leverage --without-x for the headless build. Please note that
build and code ifdefery naming is not changed.

Change-Id: Iefdbc7ca5b4bb5627ebd2c78b4cedf44dce4ae5b
Reviewed-on: https://gerrit.libreoffice.org/12303
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-11 17:00:18 +00:00
Jan Holesovsky
6bf26bcd7e Revert "Fix apparently broken commit"
Re-introduce the initialization back.

This reverts commit e5ffff4ea0.
2014-11-11 17:52:17 +01:00
Adolfo Jayme Barrientos
5968ace1c0 fdo#85907 Tweak size requests
... and remove an unneeded grid that I added.

Change-Id: Ibc3b98a1f87d61464d652168546235e5c183c80f
Reviewed-on: https://gerrit.libreoffice.org/12334
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-11 16:43:11 +00:00
Justin Luth
817da76529 fdo#85912 Delete surrounding text failing for input method calls regression.
When Apache OpenOffice code was merged in, a few lines were removed for
no apparent reason.  This just adds the code back in, and resolves the bug.

See the comments in fdo#85912 for details about this bug.  It is hard for
majority language users to reproduce since they don't use ibus/kmfl to
type their language's letters.

Change-Id: I3963ea0f0eeeab8c8006408a7e229beab1ccf9f6
Reviewed-on: https://gerrit.libreoffice.org/12311
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-11 16:40:31 +00:00
Szymon Kłos
2fc7a10dbf fdo#84582 : fixed label in the 'Insert Version Comment' dialog
When user's data are empty, dialog shows "(no name set)".

Dialog:
Writer->File->Versions...->Save New Version

Change-Id: I6780cbe452fbc206b3e153975dbb1c1d9570718b
Reviewed-on: https://gerrit.libreoffice.org/12307
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-11 16:39:39 +00:00
Caolán McNamara
bd78cbd028 build fix
Change-Id: I9d4dc8a165bc042a674eb472162292a486f3761c
2014-11-11 16:15:16 +00:00
Caolán McNamara
6811d2f85b strip off hard-coded numbering from outliner preview on load
how to reproduce an outline which won't update wrt the numbering style

file->new->presentation
view->master->slide master
select first entry of outliner, i.e. "Click to edit the outline text format"
make it underlined, save, reload
view->master->slide master
now use bullet and numbering
set level 1 to e.g. none, ok
nothing happens to the outliner. It remains "stuck" with its default numbering

Change-Id: I95708b1f1c9cc74ae5129dbfad8ca0d37b00fa13
2014-11-11 15:22:10 +00:00
Caolán McNamara
7efde313c2 have a stab at improving impossible question
as to whether you want to "adapt" objects or not

Change-Id: Ic4c00be480d1be632d84dfac71fe911d48eacc51
2014-11-11 15:22:10 +00:00
Caolán McNamara
9bdce3517d callcatcher: dropping SwChapterNumRules binary Load/Store has knock-on effect
Change-Id: I2567026af23dd5fc42812b90bd6098c4c74a4f92
2014-11-11 15:22:10 +00:00
Caolán McNamara
c5e580abdb coverity#1130164 Unchecked return value
Change-Id: I9d040b0a8862095ff7ac20b07642d60c17e54fce
2014-11-11 15:22:09 +00:00