Commit Graph
52 Commits
Author SHA1 Message Date
Rene Engelhard 953c4add8f fix build with glm 0.9.9
In file included from /usr/include/glm/gtx/norm.hpp:18:0,
                 from /data/rene/git/LibreOffice/master/vcl/inc/opengl/VertexUti
ls.hxx:16,
                 from /data/rene/git/LibreOffice/master/vcl/inc/opengl/LineRende
rUtils.hxx:14,
                 from /data/rene/git/LibreOffice/master/vcl/opengl/LineRenderUti
ls.cxx:11:
/usr/include/glm/gtx/quaternion.hpp:23:3: error: #error "GLM: GLM_GTX_quaternion
 is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
 # error "GLM: GLM_GTX_quaternion is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
   ^~~~~

so just define it.

Change-Id: I981bfb5fd944f32a3774b3f9b183989773bf235f
2018-01-28 20:13:47 +01:00
Jan Holesovsky 101a79cc4d lokdialog: Allow switching language of some of the ResMgr's.
This way, it is possible to have all the strings translated in dialogs even
when different users use different languages.  [It was already possible
to have different languages previously, but not everything in the dialog has
switched - like the buttons at the bottom of the dialogs etc.]

Change-Id: I29a5ae6d31a370eec60397884200b684ec1bf5b9
Reviewed-on: https://gerrit.libreoffice.org/46417
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/46979
Tested-by: Jenkins <ci@libreoffice.org>
2017-12-22 22:39:39 +01:00
David Ostrovsky de030cd7a2 gbuild: Remove MSVC 2013 legacy code
Uwinapi is discontinued.

Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01
Reviewed-on: https://gerrit.libreoffice.org/23198
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-21 18:18:44 +02:00
Tomaž Vajngerl 8cc8ffdb04 [API CHANGE] Add PopupRequest - a callback to open a pop-up win. in calc
Change-Id: Iea600e229deb69d1638a1a649008fc4738a5934a
Reviewed-on: https://gerrit.libreoffice.org/34005
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-02-12 22:22:06 +00:00
Tomaž Vajngerl 30efd7cfda chart2: simple button (view) to add to a chart
Change-Id: I2001efe1e7eb9e92edb8f5e78535cea0e78935ad
Reviewed-on: https://gerrit.libreoffice.org/34003
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-02-12 20:08:52 +00:00
Caolán McNamara 48b561c770 post glew->epoxy, we don't need to link to win openg32 and mac OpenGL
Change-Id: Iadc373961dcca788b1174ee71cb386979ce064ed
Reviewed-on: https://gerrit.libreoffice.org/31954
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-13 21:01:48 +00:00
Caolán McNamara 482d7ce61b change from glew to epoxy
because that works under wayland out of the box and gtk3 uses it already

Change-Id: Iefaac31e325534a81a5389f752804af917c1baef
Reviewed-on: https://gerrit.libreoffice.org/31213
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-13 11:33:18 +00:00
Tor Lillqvist e13aead8a1 Reduce ENABLE_OPENGL / ENABLE_HEADLESS confusion
ENABLE_OPENGL means whether to enable the OpenGL slideshow transition
code. It does not mean whether to enable use of OpenGL in general. So
rename it to ENABLE_OPENGL_TRANSITIONS while at it.

ENABLE_HEADLESS means whether to disable use of X11 and OpenGL on X11
(and Wayland) platforms, I think, meaning Linux and maybe Solaris and
the BSDs. Maybe it should be renamed to DISABLE_X11_AND_OPENGL.

Change-Id: Ibb30f51646b1bcc477fe691a3fa38c7a1e3944ae
2016-08-03 22:36:36 +03:00
Noel Grandin 7001ca25ec merge LineProperties with chart::ErrorBar
Change-Id: Ic3490a15339ff981e90a86cb69c206c231db9161
Reviewed-on: https://gerrit.libreoffice.org/26932
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-05 10:51:09 +00:00
Noel Grandin 2c8fe2e737 update unusedmethods plugin to deal with constructors
and fix the operator< implementations in some of the other
plugins too.

Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035
Reviewed-on: https://gerrit.libreoffice.org/25057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-18 10:03:44 +00:00
Oliver Specht 96c1ae1d8e fix headless build
disables OpenGL and glew usage, lets --without-gui do what
--without-x did before and disables X related test

Change-Id: I680b47c9962a0d43c8ece593db0b82e347ceebdb
Reviewed-on: https://gerrit.libreoffice.org/23474
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-03-25 11:05:47 +00:00
Baptiste Daroussin 6ac9a4f0a3 Make .mk files more portable
Replace some -ldl by $(DLOPEN_LIBS)
Add some FREEBSD tests

Change-Id: Ic30fe29b938d877694db2927775f89de15c02d87
Reviewed-on: https://gerrit.libreoffice.org/20652
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2015-12-12 10:03:37 +00:00
Tor Lillqvist a0b9baab6d Bin mesa_headers completely
We don't need them in a MSVC or OS X compilation either.

Change-Id: I00181fe0a047df09bbdfcce34c07eb2ebc45a2da
2015-11-12 07:10:30 +02:00
Tor Lillqvist b216cc1b80 Avoid mesa_headers on X11, also link with -lGL only where necesssary
The GLEW headers are enough, and what we actually use in these
places. In addition to handling GL extension things in its dynamic
fashion, GLEW headers also have declarations for standard,
non-extension, OpenGL API, including xgl and wgl ones.

Most likely we don't need mesa_headers on Windows or OS X either, and
can drop them completely.

Change-Id: Ic0d8d6238c862f8fe4a74e99e95344dcbf540980
2015-11-12 01:30:08 +02:00
Ursache Vladimir 917bd2350c Use constructors for services from chartcore.component.
Change-Id: I72227b45f305734060a669275044f6f9c8859bc5
2015-02-12 18:11:37 +01:00
Markus Mohrhard bd3f92fa29 merge vcllo and vclopengllo
Change-Id: I419ca67dc1f87dd9ac751aa5a094fecf58136edb
2014-11-10 07:58:17 +01:00
Jan Holesovsky aa32583329 3D charts: Update the 3D charts when a value changes.
Change-Id: I9c4052108446959ff6f5215d704b496e7a8e6aee
2014-09-12 13:03:52 +02:00
Markus Mohrhard 439550c9f1 remove unnecessary and unused chart debug functionality
Change-Id: Ic8100b2afebe469709723b324394e08b7669d911
2014-06-07 04:48:16 +02:00
Kohei Yoshida ef69c15bb9 Have ChartView keep the instance of GL3D chart object between rendering.
Change-Id: I49419d20bf283fba1c31d8516972b0ca7fddcb5b
2014-05-12 13:47:32 -04:00
Tor Lillqvist aea15180a8 We don't sniff glu
Change-Id: I4d293bb74c9dcb4f9a7ebd4946476cf06ef783d9
2014-04-29 08:31:41 +03:00
Markus Mohrhard f6b2b84324 make the new 3D OpenGL chart renderer compile
still a lot of work needs to be done.

Change-Id: I427d1a3ada15d2c9a480bb8e57940af6aef04f2f
2014-04-29 02:15:45 +02:00
Markus Mohrhard 7c6d571e43 chartcore does not need mdds right now
Change-Id: I778d8e05b2c010916fc69c9316895ddc2ca9c725
2014-04-15 17:35:08 +02:00
Kohei Yoshida a3354ecf4f Separate mouse event handlers for GL3D bar chart.
They are just skeletons for now.

Change-Id: I7e5e95ad8a2809125cbcf3affd17e663aafa99b0
2014-04-11 09:36:40 -04:00
Kohei Yoshida b49e42f358 Rename 3DBarChart and Bar3DChart to GL3DBarChart.
Change-Id: If0449e00549d8e2f4a8cfac325a5f8c5e4ea3dcd
2014-04-10 11:47:08 -04:00
Kohei Yoshida 085ab6263e Remove the old GL3DBarChart code.
Change-Id: Id7039021f252fb45464b5e42248cf3c68edc7be4
2014-04-10 11:47:08 -04:00
Tor Lillqvist 8ce32af6b2 We build the vclopengl library only for FREEBSD LINUX MACOSX WNT
Change-Id: I6d9f6a33f7f825196d8d2aeec658b9323577ac7c
2014-04-08 11:44:37 +03:00
Markus Mohrhard ffe4e6ff4b maybe the mesa headers are missing
Change-Id: Ibf5e634310f404d1dd1a4ed7be00dab3157ae056
2014-04-08 05:16:03 +02:00
Markus Mohrhard b5d0eb510a temporarily link agains OpenGL
Change-Id: I330c9e4f0f1a1ebf0e236de9cfabdf9dc65121cf
2014-04-08 05:06:03 +02:00
Markus Mohrhard b6e5907f5a temporarily render to a file
Change-Id: Ibfc8101f261489bf11f990ea3fe6ae2e74b99df9
2014-04-08 04:38:23 +02:00
Markus Mohrhard 0869626e2b improve the code for temporary OpenGl context
Change-Id: Ia66bf54539e67066a56bb50fb606e50e581bee73
2014-04-08 04:38:22 +02:00
Markus Mohrhard dfb2ab0cee add initial code for creating 3D bar shapes
Change-Id: I55489fad8723f204003fe502eea5e02de4c8d6ef
2014-04-08 04:38:19 +02:00
Kohei Yoshida 05efb605b3 Add a new skeleton plotter for the GL3D bar chart.
It plots absolutely nothing. It's just a place holder for now.

Change-Id: I6eb9cc23481391b83f6946a8b49a6176c5b29cd7
2014-03-25 22:50:50 -04:00
Kohei Yoshida 56aaa39ff8 Skeleton template class for GL3D bar chart type.
Still very much empty.  It needs to be filled with sub-categories.

Change-Id: Iad7ad34efb264025541b585a92ee2ea7b8fff56f
2014-03-25 22:50:49 -04:00
Kohei Yoshida 349a5b72bf Initial skeleton class for the new chart type. Still very much empty.
Change-Id: I5e9eaeb9337d51f59f800f8e676b8bc83b80df70
2014-03-25 22:50:48 -04:00
Markus Mohrhard 2d6e556abd first try at implementing time based updates in new chart implementation
Change-Id: I3d03e44a415023ca12548ea99a3732cba49c8074
2014-01-29 08:09:30 +01:00
Markus Mohrhard 678008264f add glew and make chartopengl a dynamically loaded lib 2013-11-19 13:47:39 +01:00
Markus Mohrhard a369737c18 rename DummyShapeFactory to OpenglShapeFactory
Change-Id: Ife9640b10e90351f871513f1f8e26d80c384e0d9
2013-11-19 13:47:37 +01:00
Markus Mohrhard 0574f59c6a add methods to render whole data series at once
additionally we have now a method for timebased data series in the shape
factory. The method contains the two points in time and the rendering
backend should calculate intermitiate points for a good interpolation.

Change-Id: Id30e2039ec90a6c36e947b7a7f9bca65ef0e8961
2013-11-19 13:47:36 +01:00
Markus Mohrhard 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
Markus Mohrhard f09352fa6d extract code for net charts from AreaChart
Now AreaChart only contains code for 11 different chart types. NetChart
was the only one needing a PolarPlottingPositionHelper

Change-Id: Ibbe45f9afdf91fea1ef542020d8a3388a6e8c27b
2013-11-19 13:47:35 +01:00
Markus Mohrhard 5c0a5503b6 create an AbstractFactory and add a DummyShapeFactory for testing 2013-11-19 13:47:33 +01:00
Luboš Luňák 2cca46d548 PCH for more libraries
Change-Id: I6f9a1969605e0016b11157ddb5754ac77fd3966b
2013-07-12 20:57:58 +02:00
Tomaž Vajngerl e6a0cc2d6c fdo#35712 polynomial and moving average regression lines
- added polynomial and moving average to the dialog
- implemented moving average and polynomal RegressionCurveCalculator
- added icon for polynomial regression curve
- prepare icon for moving average regression curve
- degree parameter for polynomial regression curve
- period parameter for moving average regression curve
- limit the curve to max and min x value
- added extrapolation

Change-Id: I4ebb8dc23a3aff285b999e115fdda20ab11910a5
2013-07-03 21:46:39 +02:00
Michael Stahl 368e06b05a officecfg: remove Package_cppheader
Instead include generated headers directly from workdir.

Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-07 17:07:43 +02:00
Markus Mohrhard 4a4bdc142a fix the remaining issues with the changed handling of ErrorBar props
Change-Id: I75c839cbfccbe84e7aa98aef6959bcd0c5390ab6
2013-04-22 13:57:31 +02:00
Eike Rathke 876c619b94 new module i18nlangtag
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.

This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.

Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
Michael Stahl a53586f4ef gbuild: do not copy boost headers around
- do not use gb_UnpackedTarball_copy_header_files for boost
- adapt the optimization in concat-deps.c for new path
- use boost_headers in all LinkTargets that require it
- add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus

Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26 22:20:06 +01:00
Michael Stahl 5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
Michael Stahl b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
Michael Stahl 2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00