Commit Graph

8994 Commits

Author SHA1 Message Date
3101a60751 coverity#1233506 Use of untrusted scalar value
Change-Id: I843f688b47489db90edcdb75a15403c66aad55af
2014-09-02 12:14:45 +01:00
200dd78946 fix crash when creating chart
Change-Id: Ie6e38a0461a10cc33ff3d85cbf3b35ffab0efd59
2014-09-02 01:08:55 +02:00
8b384c946c support legacy and core context on OSX
Change-Id: Ib8cadb3f182ce49c0ca8b6ccaa95960eb8e5f9ae
2014-09-02 01:08:54 +02:00
6626d13529 fix non OSX build again
Change-Id: I3faccc9f70b1afb7cbefd5ba9b26612eb7cda1fd
2014-09-02 01:08:54 +02:00
4f321bd267 working OSX OpenGLContext
In contrast to the CGL solution this renders not only to a FBO but to a
rendering context.

Change-Id: I083795cab5ea6372efac312a1f5e0053066121ea
2014-09-02 01:08:53 +02:00
e65acd2ebb use SystemWindowData to request a NSOpenGLWindow
Change-Id: Ief50a2fc533846cd61be66b1ea166a992942083b
2014-09-02 01:08:52 +02:00
a5346d7f3d switch to a NSOpenGLView implementation
Change-Id: Ifed59a9e899abc900ddf27378eec6b641be061d3
2014-09-02 01:08:52 +02:00
5a7ab9f1f4 add invalid framebuffer operation to OpenGL error messages
Change-Id: I359ec166e9bf0585842fb436a1edd20720b89a9b
2014-09-02 01:08:49 +02:00
3758286117 check framebuffer status
Change-Id: Ieb36804247b4e2790d625585661a1c85586348f1
2014-09-02 01:08:49 +02:00
276b3d1f8a extract some shared code
Change-Id: I062ea860f695189ab1d59615f1d2390710a21d44
2014-09-02 01:08:48 +02:00
7a7a8e1b32 add possibility to request a compatibility context
Change-Id: I0135e81f925fda19c06144d21d2f2b0efc9e57be
2014-09-02 01:08:45 +02:00
835ca0a10d add capability to load FloatingWindows from .ui
in theory anyway

Change-Id: I8230462bdb05e4a71e366c1a92ba388a8ea12c82
2014-08-30 20:56:03 +01:00
e8fb86134c move layout from dialog to systemwindow
*distant sounds of hammering in basement*

so we can get Floating Windows layout aware
as well without duplicate of dialog layout logic

Change-Id: I063375f2f7d4e5c3bfbfedf55649078d4dbe4139
2014-08-30 17:22:37 +01:00
01a4949dac ignore aggressive Nvidia GLSL compiler error messages
Change-Id: Ifc83bd3fb1d0fcbc8056c72b2545a8a3aed00a64
2014-08-29 17:40:36 +02:00
cde22222cf Mirror vertically the texture bitmaps for OpenGL
In case of glTF models it saves a Mirror() call.
In case of OpenGL charts it avoid flipped texts.

Change-Id: I1ac980e16bcb5ba6a9a025b638aaac3b08b4aab3
2014-08-29 17:40:28 +02:00
f71aae7501 It seems better if the caller allocates the memory for the RGBA buffer.
For example it allows to use std::vector<> and call the method

Change-Id: Id4b8e33838d358dd242d0176e42558505fa8d4a3
2014-08-29 17:40:28 +02:00
a60cc58021 Upgrade libgltf to 0.0.1
News in this version:
- Solve some limitations of walkthrough mode (fdo#81425)
- Multisampling (better rendering quality, mainly at the edges)
- Better error handling (no crash in case of invalid input file)

Change-Id: I46fdf56b00476614487fbcc04178e43e33a01794
Reviewed-on: https://gerrit.libreoffice.org/11179
Reviewed-by: Zolnai Tamás <tamas.zolnai@collabora.com>
Tested-by: Zolnai Tamás <tamas.zolnai@collabora.com>
2014-08-29 05:01:31 -05:00
53617c8651 callcatcher: update unused code
Change-Id: Idaed255e4f004ad555ccbd6ba9dc29bf522d3c5f
2014-08-27 10:18:31 +01:00
5282daadfe my 'Cleanvertising ' font has a space at its end
Change-Id: I750f188b749c4c589adc15b60692559cb4e3010c
2014-08-26 17:00:23 +01:00
046cd2c4d2 FixedHyperlink no longer loaded from resource files
Change-Id: Ie2943e7b19d8d8d5bd2e3e5ccb466512af31cc24
2014-08-26 17:00:22 +01:00
6802dc06de Dialogs no longer loaded from resource files
Change-Id: I55295009f474dbac15be792049fa5c6c95c1ec07
2014-08-26 17:00:21 +01:00
ca68971f0a ModalDialogs no longer loaded from resource files
Change-Id: I2d208c7cc5ff9bf26bff5ab2aa40e0bf57373342
2014-08-26 17:00:21 +01:00
c03f7f2b42 bnc#719994: Fix the duotone filter to actually produce duotone
Not sure what it tried to do earlier, but it was obviously wrong.

Change-Id: I0b377c4baa88205a9a7ad7c134ec5bc2223e6205
2014-08-26 16:30:54 +03:00
d8e976e365 name offending dialog
Change-Id: I678627177dd81b422a66370cbc4ef7d7e740714b
2014-08-26 13:34:45 +01:00
6b50f11faf fix nasty memory leak on shutdown
This makes the output of Lsan so much more useful.

Change-Id: I6c7624d4f6f767454c125c00ce037f5d2ec3cd61
2014-08-26 13:34:05 +02:00
bc16ad7c8d connect gtk-yes and gtk-no up
Change-Id: I5c17e633b9a638ed99d1129447f628155dd043cd
2014-08-25 20:53:34 +01:00
07244947b5 MessBox not loaded from resource files anymore
Change-Id: I12378a1c80e1070763cd2bd0539d74f4cc270a30
2014-08-25 16:45:32 +01:00
bddd6d823d WarningBox are no longer loaded from resource files
Change-Id: Ib05a9876c0b1d3425dd1629f8a0fe3d16a57cc30
2014-08-25 16:45:31 +01:00
d0c3c16c87 convert SV_EDIT_WARNING_BOX to MessageDialog + string
Change-Id: Ie3ceba0e3fa54b6aac7aca844588ed69063af02e
2014-08-25 16:45:30 +01:00
fd345ccfaf queryboxes cannot be loaded from resource files anymore
Change-Id: I2ee03b2f8f34d9ecf8a762e7845410fd9a31590f
2014-08-25 16:45:28 +01:00
30ae83c268 fdo#82577: Handle KeyCode
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11
KeyCode typedef.

Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23 22:33:30 +03:00
708fc1c187 fdo#82577, fdo#82579: Handle Cursor
Put the vcl Cursor in the vcl namespace. Avoids collision with the Xlib Cursor
typedef and some ancient Carbon (?) Cursor typedef on OS X.

Change-Id: I7af770c522b5774c87f58cc079ced9fc1bcc88b0
2014-08-23 19:20:03 +03:00
4e31977bcd WaE: unused parameter
Change-Id: Ie3e6e2f0a498f0871e8b757cd7ab73fa4eba0060
2014-08-22 23:43:27 +02:00
8d66975877 fdo#79761 - avoid re-canonicalising each font name on clone repeatedly.
Change-Id: I5b32787943ab3f824249359e9924eae25ba5783b
2014-08-22 16:22:14 +01:00
46ac7d60dd font lookup - cleanup GetEnglishSearchName function signature.
Change-Id: I6e3ca358d88e0285fe6e07b0617f3078a5edb857
2014-08-22 16:22:13 +01:00
e2adbfc33c vcl: factor out font name lookup for future re-use.
Change-Id: I35f80610862528d7525fa61135604468271ca37a
2014-08-22 16:22:13 +01:00
5660bc11b0 vcl: convert a couple of macros to static functions
Change-Id: I037dd97049aecff023f0ffb8dfdbb772dbde7ae0
Reviewed-on: https://gerrit.libreoffice.org/11069
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-22 08:17:07 -05:00
cf2c056bf0 remove special casing for default theme in vcl
Change-Id: I4d7a37ab9b31fcce7704f07d883d6f7806f066ec
2014-08-22 14:09:16 +02:00
a69f8ea61c vcl: convert push flags to type-safe enum-like class
Change-Id: Ib49a0dd5ecee0225f51bea2ff1c0ab5326595a47
2014-08-21 09:17:32 +02:00
50fffcaa05 Infoboxen are no longer loaded from resource files
Change-Id: If387291e9e145ee36338b1e560f18889c3b62674
2014-08-20 20:22:24 +01:00
d4a615bf62 ErrorBoxen are no longer loaded from resource files
Change-Id: I099258e449d0155154d60a839f9495236cb48cbb
2014-08-20 20:22:24 +01:00
afa5d63e2a TabPages are no longer loaded from resource files
Change-Id: I009e0f388cfe1861cef89d2148a02380dd47c1ff
2014-08-20 16:35:09 +01:00
794d5ac4ac vcl: use enum for complex text layout constants
Since these constants are bitfield flags, we define some methods to make
working with them reasonably type safe.

Move the definitions to outdevstate.hxx, since we need the values there,
and that appears to be the "root most" header file.

Also dump TEXT_LAYOUT_BIDI_LTR constant, since it means the same thing
as TEXT_LAYOUT_DEFAULT (ie. 0), and leaving it in causes people to write
weird code thinking that it's a real flag.

Change-Id: Iddab86cd6c78181ceb8caa48e77e1f5a8e526343
Reviewed-on: https://gerrit.libreoffice.org/10676
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-20 09:01:26 -05:00
4b339818bb add a VclViewport
like GtkViewport so that the scrolled region will be clipped,
which also has the side-effect of stopping glade clobbering
the non view-port scrolled .ui files on editing

Change-Id: Ic64174b3a35b77f068e0085cdc7721aeb33f1d82
2014-08-20 14:00:58 +01:00
749f7548b4 only subtract height of hscroll if visible
otherwise infinite loop in extensions update check

Change-Id: I0dbf4f34208f1bf0854e365006a79470b26571f3
2014-08-19 17:20:34 +01:00
36490fff3f facepalm: nAvailHeight is not derived from allocation Width
Change-Id: Ic99c6519b02c546e0d3574cb756e3fb172d1ff52
2014-08-19 16:14:23 +01:00
0e3a462c64 missing InfoBox
Change-Id: I67e6e60e5a03696ec27b11afaa62ea443c5924ce
2014-08-18 11:20:44 +01:00
a107bdfdfc ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-18 10:57:21 +01:00
9d22ab17b7 coverity#735993 Explicit null dereferenced
Change-Id: Ib8b1af5a783a2bae285c24e5153cce4713a2e2dd
2014-08-17 16:39:22 +01:00
43b39d3e47 check that AddToTable can be done validly
Change-Id: I0ee69279e3bb1d9871feba17b908b8307f0ec5b4
2014-08-17 16:24:44 +01:00