Commit Graph

364292 Commits

Author SHA1 Message Date
Andrea Gelmini
3403c19d25 Fix typo in bin/check-merged.sh
Change-Id: I7ca06602179e35d5ce86879b1081299a841feba9
Reviewed-on: https://gerrit.libreoffice.org/12431
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-15 15:38:38 +00:00
Andrea Gelmini
702d14d954 Partial revert of da40cac540
As requested from Michael Stahl here:
https://gerrit.libreoffice.org/#/c/12164/

Change-Id: Ie00bc789c1dfa3f0049c8915e0deeac7fab6e0fd
Reviewed-on: https://gerrit.libreoffice.org/12432
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-15 15:38:05 +00:00
Adolfo Jayme Barrientos
c8b07093f1 fdo#67040 There’s a valid use case to enable manual resizing in this dialog
Change-Id: I8af9ad0dd0bf09bd84aea7d6c9c5d5800ab8792c
Reviewed-on: https://gerrit.libreoffice.org/12448
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-15 15:37:09 +00:00
Tomofumi Yagi
735a1a1764 fdo#77971 Writer:Better font selection in Japanese locale on Mac OSX.
This patch resolves the problem that Basic fonts(Asian) are Arial
Unicode MS in Japanese locale on Mac OSX.
Expected behavior is that Basic fonts(Asian) are Hiragino Mincho ProN
font.

LibreOffice 4.1 and later, on Mac OS X, the font family names are kept
without suffix(e.g. w3, w6) in the system font list.
Some font names in VCL.xcu (font family name including the weight
as suffix) doesn't match the font name kept in the system font list.

This problem reproduces at the CJK fonts environment.
This patch resolves this problem with Japanese fonts environment only.

Change-Id: Iaf3eb2225fbc6375d1911976ac40a4d8f2fa0590
Reviewed-on: https://gerrit.libreoffice.org/12455
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-15 15:36:26 +00:00
Michael Meeks
34c1c41817 vcl: avoid crash with 'gen' backend around window icons.
Change-Id: I4b2bedb9ac641fcb96d09afb2e60fa2c6186fd6b
2014-11-15 16:10:28 +01:00
Miklos Vajna
31bf4242a4 vcl: let the Dialog ctor take an OUString
To make the conversion in the TabDialog ctor unnecessary. Put
conversions to other subclasses till they are properly adapted.

Change-Id: I6152b6229ce9c840262739cf11812538c9e0a532
2014-11-15 16:00:53 +01:00
Miklos Vajna
27b1ae5bb8 drawinglayer: these are expected to be UTF-8
Change-Id: Ic2054af851bb9d195be4d550f36b1d7349f90204
2014-11-15 16:00:53 +01:00
Miklos Vajna
369eb9bfba TabDialog ctor: take an OUString
Change-Id: Ie390fb9debe3a80b3ebc5e609119723c78eadba2
2014-11-15 16:00:52 +01:00
Miklos Vajna
6be63430c0 oox: these are expected to be UTF-8
Change-Id: I2e9cb96948d7f990dd8be5f4505f00306fa62f8f
2014-11-15 16:00:52 +01:00
Miklos Vajna
08eaac4360 RTF import: handle right-to-left tables
Change-Id: If2e60557b7551839c344d56cb3a720ae3659e93c
2014-11-15 16:00:52 +01:00
Michael Meeks
4f84424406 vcl: assert more useful truths on BitmapWriterAccess completion.
Change-Id: I2ccc5eb64bf3b5d5ce94e2ddd4b9b458c3eda217

Conflicts:
	vcl/opengl/salbmp.cxx
2014-11-15 14:48:35 +01:00
Jan Holesovsky
90742105a5 opengl: Another places where it is too eager to check for errors.
Change-Id: Ib6ca3d653f3fd1155bce418226146934e765928d
2014-11-15 14:44:07 +01:00
Jan Holesovsky
bad9b2d464 vcl: The backend should decide whether fast alpha drawing is available.
The unx drawAlphaBitmap() already already checks that the source and
destination have the same size.

Windows and OpenGL should be able to handle that without trouble.

OS X would need some additional code, so added an early return for the case
the source and result sizes do not match.

Change-Id: Ib09654aaa9c9064c232cff5094fcaa1190e931c6
2014-11-15 14:43:54 +01:00
Jan Holesovsky
1e15058e08 windows opengl: Do not be _that_ eager with CHECK_GL_ERROR().
Turns out that when you call glGetError() and OpenGL is not yet set up (or
already turned down), it leads to an error; so when we check for errors in a
loop, we never recover from that ;-)

Change-Id: I849ad1dc30fc93ee1c021b446d9ad379bf9987c0
2014-11-15 14:43:42 +01:00
Michael Meeks
340888d3e5 vcldemo: implement key-bindings and command-line
Change-Id: I98ea70a78f340a2050ef934de3111ba3191ff479

Conflicts:
	vcl/workben/vcldemo.cxx
2014-11-15 14:43:27 +01:00
Michael Meeks
633c40bc36 vcldemo: BitmapEx rotation, translation and shear.
Change-Id: I5a44597bc39c6bccfcec32403fae8f8d7d4fe94c

Conflicts:
	vcl/workben/vcldemo.cxx
2014-11-15 14:41:59 +01:00
Michael Meeks
f7313629ef vcldemo: exercise more BitmapEx rendering paths.
Change-Id: Iecd02534dfbe0938a8635e3b7c2363b4531ef5ef
2014-11-15 13:52:02 +01:00
Jan Holesovsky
1d2c5224b2 opengl: Add many more CHECK_GL_ERROR()'s before returning from functions.
Change-Id: I63c147acf9a4013008b0f6d76867186f04ee57d5
2014-11-15 13:51:53 +01:00
Michael Meeks
3bc5e986b3 vcldemo: dump and render all icons from images.zip when zoomed in.
Change-Id: I89f37b8a1ed70334a3485bc3ca06d04cfe6d0827
2014-11-15 13:51:45 +01:00
Michael Meeks
f5b3ea832e vcl: Fix palette modification during BitmapWriteAccess lifetime.
Change-Id: I8bdedd63895ff0b3245d996cf35ac92d9ab0ff9d
2014-11-15 13:51:36 +01:00
Michael Meeks
c7d87b7224 vcldemo: much improved icon rendering tests.
Change-Id: I853bc0a0957cf0db629a0a5f1ced67bc069d8403
2014-11-15 13:51:21 +01:00
Michael Meeks
d75c9dfb0c vcl: re-factor image rendering control-flow.
Change-Id: I923f92e5e84d35dafd1c0d1b4d63916ce690cb90
2014-11-15 13:51:13 +01:00
Jan Holesovsky
5b924866e7 windows opengl: Finally got the text working.
It still does not have a transparent background, but that is pending support in
OpenGLSalGraphicsImpl.

Change-Id: I477a483e6ac940f54f6ffd6816d753d87206bf23
2014-11-15 13:51:03 +01:00
Jan Holesovsky
30c6b2f1ec windows opengl: Explain the concept of the text drawing + minor fixes.
Change-Id: I4651e7e9b8163844be548d4ed975a881d4f83fff
2014-11-15 13:50:54 +01:00
Jan Holesovsky
6fd7199230 windows opengl: Set PFD_DOUBLEBUFFER even for single buffer rendering.
Otherwise I'm getting lots of errers when dealing with virtual devices...

Change-Id: I34e145817d21dfc2d30fa9ffdfedfa714467d105
2014-11-15 12:36:29 +01:00
Markus Mohrhard
4093a54008 request single buffered context on windows
Change-Id: I7b9789053872446e312ae4e3c471986e3c5c55d2
2014-11-15 12:36:20 +01:00
Markus Mohrhard
169562ff26 windows blind fix 2014-11-15 12:23:04 +01:00
Markus Mohrhard
893d37c379 blind fix for OSX
Change-Id: I7050057e5fa6da5bb5517713f6cbbfa60e47984b
2014-11-15 12:17:44 +01:00
Markus Mohrhard
1577f53fa5 let us make the virtual explicit
Change-Id: Iaa4f2ecb54d57c9badc27ec8c13033eba5be7fed
2014-11-15 12:17:44 +01:00
Markus Mohrhard
a1754292bb ialso support the ARB debug version
Change-Id: I247d43805ce08db49b487079aecee2a7b50277f5
2014-11-15 12:17:44 +01:00
Markus Mohrhard
0e55b14db5 fix building the KDE backend
Change-Id: I03c8629bf27a43d6f4cc08bb8f64ed71b9055fdc
2014-11-15 12:17:43 +01:00
Louis-Francis Ratté-Boulianne
32bddc7cb2 vcl: Implement axial gradients in OpenGL backend
Change-Id: I93b8c3c076c79d992d467b01ca5f5eca1ed626d3
2014-11-15 12:17:43 +01:00
Louis-Francis Ratté-Boulianne
b190ffe587 vcl: Add DrawAlphaTexture to directly render Cairo surface
Change-Id: I7aa824578b14999d0ef667a5bcfccd731f1d3b64
2014-11-15 12:17:43 +01:00
Louis-Francis Ratté-Boulianne
fbe77f453c vcl: Make sure the offscreen texture is unique before rendering to it
Change-Id: I265ce62e983e6f44ba51675993c9ec1f071c160e
2014-11-15 12:17:43 +01:00
Louis-Francis Ratté-Boulianne
dce9610afe vcl: Improve OpenGLTexture implementation by allowing implicit sharing
Conflicts:
	vcl/opengl/gdiimpl.cxx

Change-Id: I6421265325e72023d1affe671d75488185772786
2014-11-15 12:17:43 +01:00
Louis-Francis Ratté-Boulianne
330b7b3101 vcl: Draw gradient in alpha device even when using native rendering
Change-Id: Iead4ac3e97197f8f863242a2162907b32c3c5b2b
2014-11-15 12:17:42 +01:00
Louis-Francis Ratté-Boulianne
aa9dfcee50 vcl: Implement copyBits in the OpenGL backend
Change-Id: I101afd11394d3d024d38519afd61d700114702ac
2014-11-15 12:17:42 +01:00
Louis-Francis Ratté-Boulianne
9d2afa44fd vcl: Use backend-independent functions to fill/render pixmap on KDE
Conflicts:
	vcl/unx/kde/salnativewidgets-kde.cxx

Change-Id: I662a05d988f5989fc2ac0d06003851c56105e184
2014-11-15 12:17:42 +01:00
Louis-Francis Ratté-Boulianne
ec5fa3c907 vcl: Replace GetPixmapFromScreen by FillPixmapFromScreen
Conflicts:
	vcl/unx/generic/gdi/gdiimpl.cxx
	vcl/unx/generic/gdi/salgdi2.cxx

Change-Id: I2cb960d194ee5bc38beece97e8b21cc6fa3b3fbc
2014-11-15 12:17:42 +01:00
Markus Mohrhard
7dc6fd3908 some formatting improvements
Change-Id: I77f0fdea3c33fded1ed1a00d3a602a5902a6a0b3
2014-11-15 12:17:41 +01:00
Tomaž Vajngerl
6b30907a92 Make "Hypothesized Mean Difference" as parameter in t-test
Change-Id: I268495b76a1b1ffb09cf21a0fd53d9f1f1bc4957
2014-11-15 09:11:20 +01:00
Eike Rathke
ef2ed50231 fdo#73695 prevent use of invalidated iterator due to re-entrance
... through the UNO backdoor..
While charts are updated there can be chart data listeners in BASIC that
in turn modify things such that charts are inserted/removed from the
listener chain, invalidating the iterator. If that happens break and
bail out instead of crashing. Not ideal, but..

Change-Id: Iefb33d3a96d79caed0ee4e19b73e8f811ef3d937
2014-11-15 02:08:34 +01:00
Caolán McNamara
0b3766645d more catch by reference
Change-Id: I2db9f94a517f814ef0854190e6f1194501070409
2014-11-14 17:21:20 +00:00
Caolán McNamara
7a71065b87 catch by reference
Change-Id: Ib1f04971dc89df6df09bd12595d3ddb148715e28
2014-11-14 17:17:50 +00:00
Caolán McNamara
5a9b87fc0f coverity#1242527 Arguments in wrong order
doesn't seem to matter too much, I guess its only the top left
corner that really matters for tooltips.

This is the vertical scrollbar as used in e.g. writer->view->datasources

Change-Id: I5bd6e563a9f02edae9ca166f073556c55878826c
2014-11-14 17:11:26 +00:00
Caolán McNamara
e170f08587 coverity#1242518 Arguments in wrong order
doesn't actually matter, they are either the same number or one is 0
in which case it doesn't matter which is zero either

Change-Id: If53d4287dfd57b4ce29e2f7251eb523694730e77
2014-11-14 16:59:39 +00:00
Caolán McNamara
3d87666185 coverity#704593 silence Dereference after null check
Change-Id: I3ccd6895a1ddbf46a441e60ceaaaceb945f682e4
2014-11-14 16:49:30 +00:00
Caolán McNamara
7d9b611949 coverity#706217 Time of check time of use
Change-Id: I762658a01e97f56b2f9362a38a0fefc941698d1b
2014-11-14 16:49:29 +00:00
Tor Lillqvist
5c4a9b1e2a Handle the 'New' and 'Delete' buttons
Change-Id: I1d5d6d70e9ac8d95b1189346fdab29ded39745bf
2014-11-14 18:27:39 +02:00
Tor Lillqvist
f9da47eb6a Use right mnemonic_widget id
Change-Id: Ia5be89f17d8e63ad67a8d1dc811927dcdebbc0a9
2014-11-14 18:27:39 +02:00