5400 Commits

Author SHA1 Message Date
Markus Mohrhard
720f38787c initialize variables in initializer list
Change-Id: I1526d40c28a33cd29074adcc8c8d182f92996914
2014-05-12 03:00:04 +02:00
Markus Mohrhard
93268d379e avoid temporary copy
Change-Id: Ica949141c58d7ebb85f246dee4109c39ee8f889e
2014-05-12 03:00:04 +02:00
Markus Mohrhard
832f44c80f remove these unnecessary typedefs
Change-Id: Iae2dc2d9bcc40bf7b45cd319a8be46b040d9ec23
2014-05-12 03:00:04 +02:00
Markus Mohrhard
0515a9fca1 let us at least try to render the shapes
Change-Id: I8753c6a9397117137d4da25f76db1f9cae23f90e
2014-05-12 03:00:04 +02:00
Markus Mohrhard
7c1bf9e53b delete OpenGL resources in the destructor
Change-Id: Ibfeb836d23d48e4ad9fd9b111394b8349ba7c8a3
2014-05-12 03:00:03 +02:00
Markus Mohrhard
248a8d6c76 move the declaration to the top of the file
Change-Id: I6b062a4a1c5c4e64846cecd2fd44549de9c516a8
2014-05-12 03:00:03 +02:00
Markus Mohrhard
e478b1da96 remove framebuffer objects
We want window rendering and not off-screen rendering.

Change-Id: I23580da148a4d9449f66dd5a0a1dcb2bf5cd7745
2014-05-12 03:00:03 +02:00
Caolán McNamara
fe6308ac60 coverity#1158099 Unchecked dynamic_cast
Change-Id: I7c294042a3f4d7293fb6d93d33687eb265871e76
2014-05-11 21:06:01 +01:00
Caolán McNamara
0bf9c74e49 coverity#1169877 Uninitialized scalar field
Change-Id: Ib83635dabe9b3081f52cc8856f84beda90c71bd5
2014-05-11 11:52:32 +01:00
Caolán McNamara
1d6bc66a58 coverity#1169880 Uninitialized pointer field
Change-Id: I750a380830e0d6ec7d22e59ef316f1ab55e1cab0
2014-05-11 11:52:32 +01:00
Julien Nabet
a1e41fc3d1 Fix previous commit (chart2 part)
Change-Id: I9d6491f484eb2a8989b7e3594ca2edf702557b12
2014-05-11 10:44:13 +02:00
Julien Nabet
bd59628620 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-05-11 10:16:42 +02:00
Kohei Yoshida
2c64e08aa3 Best effort of blindly placing axes and background objects.
Change-Id: I3a7c77ee8d9c6ff033b112158daec3923ed27034
2014-05-09 10:57:13 -04:00
Kohei Yoshida
aa26f8b6c7 No need to store these text objects separately.
Change-Id: I0ee63480fa0f15f42c81818d89ff5b5a3407ece4
2014-05-09 10:57:12 -04:00
Markus Mohrhard
37852a02cd Die, die, die BMP code
This is at least the forth time that I kill this code!

Change-Id: I038a03a8beed6f743ce6ad17a6a6b71085f43890
2014-05-09 00:39:42 +02:00
Kohei Yoshida
a4e028447e Try without std::back_inserter. Some tinderboxes don't like that.
Change-Id: I37b5da446abe123d0e0526b5556014df606e6156
2014-05-08 16:15:26 -04:00
Kohei Yoshida
74335267c2 My best attempt at positioning text objects.
Change-Id: I390b6d09558b7f2dea46cfd4e5db5ed6f2162b5f
2014-05-08 16:04:09 -04:00
Kohei Yoshida
9613d0d64c TemporaryContext is no more.
Change-Id: I9cf0f5db276c5837921c132d98032cf2331362fd
2014-05-08 16:04:09 -04:00
Kohei Yoshida
2908bfefbc Stop the leak of VDataSeries instances.
Change-Id: I36cfa84e4fb19c3da584672d510e8b35f9343950
2014-05-08 13:11:26 -04:00
Kohei Yoshida
56e36f2e36 Put category and data series names into the shape collection.
Their positions are yet to be calculated.

Change-Id: Ibb1f2498eb2af3305c2afb6d41be99eaf279daaf
2014-05-08 12:45:32 -04:00
Noel Grandin
78b9537b6a various: sal_Bool->bool
Change-Id: I30fa5227f30373f95060148f269450d2945c1bb9
2014-05-08 11:48:14 +02:00
Caolán McNamara
7209f84fd3 coverity#736136 Dereference null return value
Change-Id: I7668c95e2d40bb4e1e8e24627038b92f93b0008f
2014-05-08 09:56:21 +01:00
Markus Mohrhard
cabd5e4b2a correct casts
Change-Id: Ib74e924663c91be09d96e9e25e011e578656a6a0
2014-05-08 06:01:14 +02:00
Markus Mohrhard
2ca8dbba58 add include guards
Change-Id: I42ba4a97de241637b36704958fcf7b32d308a8a1
2014-05-08 05:22:45 +02:00
weigao
a63ad6f274 add reverse image shader
Change-Id: Ibd3aff8aeb71626dada762b53cde8f50f7fbf812
2014-05-08 05:20:57 +02:00
Markus Mohrhard
8018772ac7 fix wrong access to array
Change-Id: I3298bd15260b2cbfd9a74024504d982dc00f4137
2014-05-08 05:20:57 +02:00
weigao
38519bad1f fix the render part
Change-Id: I92f60d706408acefd763f0f80af5fa3398e667d4
2014-05-08 05:20:56 +02:00
Markus Mohrhard
cfcb4a7cef this inheritance is no longer needed
Change-Id: I039dd767bcfd0c1343f4230d3fe8e52ab5a6e4fd
2014-05-08 02:30:56 +02:00
Julien Nabet
2d5581b49a Reference can be removed
See http://nabble.documentfoundation.org/Questions-about-getCppuType-tp4106361p4107883.html

Change-Id: I4d29b9d80f8142792f948c6797006fe7e698a2a4
2014-05-07 23:33:23 +02:00
Markus Mohrhard
945ee34483 hide OpenGLWindow in normal charts
Change-Id: Ie45a910d2b99b7644a8055476aa191ef8a724d38
2014-05-07 21:23:55 +02:00
Markus Mohrhard
5ae77e8fbf provide bar color for 3D OGL chart
Change-Id: Ia41748cabba89a0257c62f66a280810adc56960e
2014-05-07 21:23:55 +02:00
Markus Mohrhard
66d02a5604 set the size to context and renderer before rendering
Change-Id: I2945a7b8647d0a40270b1e65cde2a0eb936ab1d1
2014-05-07 21:23:54 +02:00
Markus Mohrhard
62b71e9ad3 let us pass the window to get the size correct
Change-Id: I8bd8a319e67cdcf7266d3c8f86d1bf132163d665
2014-05-07 21:23:54 +02:00
Markus Mohrhard
4df22646d4 the temporary context can finally die
Change-Id: I7dec2772000e25c4bd23f21b61dbd835ef9397cf
2014-05-07 21:23:53 +02:00
Markus Mohrhard
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
Markus Mohrhard
af578839ca let us use the new OpenGLWindow
Change-Id: I5cbab0aa1707513b62f7a9958fac013b3beb2dcb
2014-05-07 21:23:04 +02:00
Markus Mohrhard
036b6c9ef4 fix the OpenGL offscreen rendering a bit
Change-Id: I1f11cdff0de48e3281a58aec9ea37a78c637195e
2014-05-07 21:23:03 +02:00
Markus Mohrhard
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
Markus Mohrhard
42a47cd66e remove global variable
Change-Id: Ie5f55feb39798dff27e0c6b41d5b88b6e9bf19bc
2014-05-07 21:22:10 +02:00
Caolán McNamara
d348f39883 coverity#1209592 Unchecked dynamic_cast
Change-Id: Id9ac29ec88a98e626a1ecfb364e474b2a11a8004
2014-05-07 15:47:25 +01:00
Caolán McNamara
439d6a07f7 coverity#1209591 Unchecked dynamic_cast
Change-Id: Id9d014d01d4c2da2d2c421893ba49a4b2fddacc0
2014-05-07 15:47:24 +01:00
Tomaž Vajngerl
65f127f687 chart2: move RegressionCalculationHelper.hxx to inc
Change-Id: Ie49a9e20f72c8e2f81b2d169f5fd19964811c193
2014-05-07 09:29:18 +02:00
Julien Nabet
db3b1dd86e Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part3
Change-Id: Ibabd6d2d5e84fe007364bd1a4182a01ea2352b7a
2014-05-06 22:51:42 +02:00
Laurent Balland-Poirier
5707c81218 fdo#77739 UI trendline: limit max values of Degree and Period
Retrieve the number of valid points and limit Degree and Period values

Change-Id: I4e956149e3376eebf39f9e4812bb69a6a06e1758
Reviewed-on: https://gerrit.libreoffice.org/9116
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-05-06 20:04:01 +00:00
Julien Nabet
f69e74d1a0 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part2 + fix some errors
Change-Id: I9c889d718a9c91eb4c2bde2389a21dd754cbef36
2014-05-06 21:33:28 +02:00
Jan Holesovsky
166c282e98 3d charts: Zoom the camera towards a bar.
Change-Id: I3fa644924ca176dfd853b527e0c42dadaf9fa091
2014-05-06 21:23:16 +02:00
Thomas Arnhold
6708457e2b update_pch for chartopengl
Change-Id: I3c27cd3cd44fae8924399a3eaccc6af2aced650e
2014-05-06 18:26:07 +02:00
Thomas Arnhold
40aafa459a enable pch for chartopengl
the pch file already exists, just needed to get compiled.

Change-Id: Ia9ff71b033a1508ed69696b8fd38ee8136393f42
2014-05-06 18:24:46 +02:00
Thomas Arnhold
09abd826a0 remove uncompiled source files
how to find possible candidates:

find . -name *.cxx | grep -v compilerplugins > cxx.list
for i in `cat cxx.list`; do basename $i .cxx; done > cxx.base.list
for i in `cat cxx.base.list | sort -u`; do echo $(git grep -w $i -- '*.mk' | wc -l) $i; done > cxx.count

Change-Id: I15c6cc7195e58d79967388850a0c90b915b001b7
2014-05-06 18:12:28 +02:00
Markus Mohrhard
1fd0d0f3fc fix matrix generation
Change-Id: Id31caa16dfe0d0f23cf07589053233e9b311d02f
2014-05-06 13:10:35 +02:00