Commit Graph

22 Commits

Author SHA1 Message Date
f61e453f84 the DUMMY_CHART_FACTORY variable is not the only indicator for OpenGl charts
Change-Id: Idab33c8611526dc4749b4dbe4fe84e68138b4f73
2014-08-29 17:40:35 +02:00
e6ea7d9329 warning C4373: 'chart::ChartModel::setWindow': virtual function overrides...
...'com::sun::chart2::X3DChartWindowProvider::setWindow', previous
versions of the compiler did not override when parameters only differed by
const/volatile qualifiers.

X3DChartWindowProvider.hdl defines it as:

virtual void SAL_CALL setWindow( ::sal_uInt64 window )

Change-Id: Ie1b9f940f54df8901c74402a3baf475a0165c5a2
2014-08-13 10:10:52 +02:00
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
c5539bb585 fdo#79676: Initialize with a default chart only from the UI.
When creating an embedded chart object during import, we don't want to
create a default chart which would only mess up the chart data.

With this change, ChartModel::initNew() is a no-op.

Change-Id: Id29659c3885ec1e06bed26d2c851123fb63072cc
2014-06-10 10:02:25 -04:00
184a00b962 loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
e41c33b376 make sure that OpenGL charts are rendered after import
Change-Id: I3701a7593d7394abc39532a87b9aa50a3c92d457
2014-05-24 12:36:48 +02:00
2bd7767d01 Resolves fdo#70681: fixincludeguards.pl: all that's left
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15 12:50:46 +00:00
a7eba60df0 the rendering is working on-screen
I can't believe that I finally see something on the screen.

Change-Id: Ic374c8a0d0fa5050b0701a5553136759c9c7602c
2014-05-07 21:23:04 +02:00
a28bcb6e57 provide the OpenGL window
This approach looks much better. We get size and position correct
without much work and can easily plug the window into the sc window
hierarchy.

We still have a crash on exit as the ScGridWindow goes out of scope and
the SystemChildWindow is still alive. We need to fix it and bind the
lifecycle of the SystemChildWindow to ScGridWindow.

Another open item is the OpenGL context work. Right now it looks like
the best way forward is to create a subclass of SystemChildWindow that
contains the OpenGLContext.

Change-Id: Ie0a74531e1b818cea92912345464c8fa219bbae2
2014-05-07 21:22:28 +02:00
a371f5de63 fix missing service factory during import, related fdo#74333, cp#1000057
Change-Id: I2cce561587d82b0434ef2d3e65e5d35b7ff99260
2014-04-25 20:02:21 +02:00
329332ba52 chart2: sal_Bool->bool
Change-Id: I85751b4e636596ef88ef02bc958abdc6abf98427
2014-04-15 15:23:29 +02:00
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
c209ac1c79 some improvements for text rendering
Change-Id: Ifa52fbd0f5359c505f12d12281ec7bdfb959d8c5
2014-01-29 08:09:33 +01:00
750b46025c give up with the nice solutions and enjoy the ugly hack
I was always hitting a corner case so it seems that this need some
drastic measures.

Change-Id: I3fdd278b9c3fed178513d653ef24ad8adf20cbd2
2014-01-29 08:09:30 +01:00
a07cce8d06 remaining chart work for time based charting
Change-Id: Iac33c81df199a942ddf073f9eb1b34e147a34f3c
2014-01-29 08:09:29 +01:00
91e1d305a1 implement time based charting based on new approach
The old approach does not work with the current implementation of the
OpenGL backend. We now need to repaing every time the whole chart.

Change-Id: I2151a3f016c6ceecaec2d45db0cb967cfee59af6
2014-01-29 08:09:28 +01:00
c3c8ba862a remove unused method
Change-Id: Ifad7334a50eff0b4cd5c08f4b4907a98f09bd104
2014-01-29 08:09:17 +01:00
f3cc79a0b5 coverity#738570 coverity#738571 : Uninit scalar (unused in fact)
Change-Id: Id1f14669c3e88e5abf92a9b1443245d81f360e62
2014-01-19 23:10:07 -06:00
1ccab525db fix lifetime problems of ChartView
Change-Id: I99b24b026c50a05f8f3803348c76277e29a45ec7
2013-11-19 13:47:39 +01:00
401f01caf5 use ChartModel instead of XModel in a few places
This allows us easier implementation of some advanced features. Mainly
the 4D chartting will now be able to work without several ugly layers of
UNO.

Change-Id: I74d07229eaef921c508f3bab8fae6d6075ad737a
2013-11-19 13:47:36 +01:00