summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)Author
2014-06-06fixincludeguards: fix include guardsThomas Arnhold
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b Reviewed-on: https://gerrit.libreoffice.org/9629 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-06fdo#78860: Swap the logic here: Disable -> Enable.Kohei Yoshida
Because the UNO property logic had been swapped earlier. Change-Id: I35af3e8cee3c4cbc8da43d7bc478f506048887b0
2014-06-04DeInitVCL at end of testsStephan Bergmann
This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-06-04WaE: warning C4305: 'argument' : truncation from 'double' to 'GLfloat'Thomas Arnhold
Change-Id: I8afe523cfe1be28bc5427c5e5852bea0be2aaea3
2014-06-04fix refresh problem with 2D OpenGL chart and OpenGLWindowMarkus Mohrhard
Change-Id: I32f23967a826262051495d57a4dd529ca3694548
2014-06-02coverity#1219805 Uninitialized scalar fieldCaolán McNamara
Change-Id: I1b4343f06118b352df8ceac0404b9ffff39e8b67
2014-06-02fdo#68849: Add header guards to all include filesJens Carl
added header guards for directories basebmp/, chart2/, cppuhelper/, include/test/, io/test/, sax/test, shell/, writerfilter/, and xmlhelp/ Change-Id: I0e29a9b75c26d71f58aa98986b52f6d3b46015a6 Reviewed-on: https://gerrit.libreoffice.org/9615 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01Resolves: fdo#79506 Some numbers are marked as translatableJulien Nabet
Exception: http://opengrok.libreoffice.org/xref/core/sd/source/ui/view/DocumentRenderer.src#55 Change-Id: Iecfe49b51ed68de00f1b5adfb5bca9fa793fb1f9
2014-06-01extract the rendering code in ChartViewMarkus Mohrhard
We need it for the IOpenGLRenderer interface. Change-Id: Ic9f425b44c0efdd30956eba13ef03ba7179d35a4
2014-06-01make the OpenglShapeFactory work with the new OpenGLWindow implMarkus Mohrhard
Change-Id: Id97a61c67b55d6ef85b9752f7f4ac2c93aa5bf32
2014-06-01remove the framebuffer renderingMarkus Mohrhard
Change-Id: I2510a00b24a6a3c045a6ee2ccb21c022d3404000
2014-06-01move to OpenGLWindow step oneMarkus Mohrhard
Change-Id: I9f019a397f8b0daf27f0969b1f23539438eb6422
2014-06-01no need for that includeMarkus Mohrhard
Change-Id: Ifd3438224a824c190b87ea011e6c02668ad0a3e2
2014-06-01we don't support the simple backgriund anymoreMarkus Mohrhard
Change-Id: I4a0238f5a2729f8b7ace3988c3fe890fba2a4341
2014-05-30pass more parameters by const referenceMarkus Mohrhard
Change-Id: I46be96d6ba9f3fecb590c4be62775824194c380a
2014-05-30fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directories avmedia/, basegfx/, chart2/, and connectivity/ Change-Id: I94ec438ec918ccef1c518edfd9ab4944e9e2961b Reviewed-on: https://gerrit.libreoffice.org/9555 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-29update_pch: exclude OpenGLContext.hxx for nowThomas Arnhold
Change-Id: I80ce89351e2a8dbb1d9d928b673a8589fd651584
2014-05-28remove tab in shaderMarkus Mohrhard
Change-Id: I8641b8c0b478dd23d312fb4e8eed8aa98eb7035e
2014-05-28improve the algorithm for the zoom into a barMarkus Mohrhard
Change-Id: Id045cbeaa057fd264a50f83fb58bbee60df71299
2014-05-28show the screen text after the performance improvementsMarkus Mohrhard
Change-Id: I09d0bfe06e3fbb93f65587a847133fb1b3a3f2b2
2014-05-28show the whole demoMarkus Mohrhard
Change-Id: I8e3adae6ef23c7750de0bcb5934d5743e24fde58
2014-05-28chart2: fix namespacingThomas Arnhold
Change-Id: Ib9ef14b4ce38f93f590473913a308a967343c75d
2014-05-28Add a grey gradient background to the 3D chartm and tweak text color.Michael Meeks
Conflicts: chart2/source/view/main/GL3DRenderer.cxx Change-Id: I8b74a1e7f32c30b6a908c0870bbeacc00cdea444
2014-05-28change the bar direction for the demoMarkus Mohrhard
Change-Id: I24e45810cb154310d8e35982e2ef100cf5746e2b
2014-05-28prevent generating repeated information in renderingMarkus Mohrhard
Change-Id: I1cc5453af6cabe7736cc43e13aad280aaf2c62f6
2014-05-28avoid transferring the textures for each frameMarkus Mohrhard
Change-Id: I79466e66dc18dbbf72f192fe44d05fb6d657fa34
2014-05-28fix picking mode for the batch renderingMarkus Mohrhard
Change-Id: I9bfe64d56f9217561bb059eacde1fa3ece5f2cc1
2014-05-28remove unnecessary glFinishMarkus Mohrhard
Change-Id: I368e045a7635410a94f2f3a794e1c75a39418520
2014-05-28Modify the bar generate functionweigao
Conflicts: chart2/source/view/main/GL3DRenderer.cxx Change-Id: Ia323c54b9113be15f01bff2a2f1e66da8ebfc39c
2014-05-28add batch render functionweigao
2014-05-28add get and release batch render info functionweigao
2014-05-28add use and update uno functionweigao
Change-Id: I79d7d7ab77fff9a5e60a392e94fe2dd839803b64
2014-05-28add batch render variablesweigao
Change-Id: Idfd6f5ce5f711631d6115fe9227724891ccd95ef
2014-05-28add batch render shaderweigao
Change-Id: I44cd54b35f872365268db3b4455beeac01ba3197
2014-05-28update_pchThomas Arnhold
Change-Id: I5316693452427ed76a7738b090de023b110caa40
2014-05-28coverity#706267 Uncaught exceptionCaolán McNamara
Change-Id: I3a63546d0797c98c1720f0987293404ec760aeac
2014-05-28coverity#706265 Uncaught exceptionCaolán McNamara
Change-Id: I85c77236cd0a3cd791902a3978ea4e13606cea6c
2014-05-28coverity#706264 Uncaught exceptionCaolán McNamara
Change-Id: Ia197a0de24a282bbfcbfc80ee283f530ac12c287
2014-05-28coverity#706261 Uncaught exceptionCaolán McNamara
Change-Id: Ife4d1e828cc2b52c54e425ec7af533ebdacd0f1e
2014-05-28coverity#706260 Uncaught exceptionCaolán McNamara
Change-Id: Ieef198f6aab05928bf3b77097466eb7ac728481f
2014-05-28enable picking againMarkus Mohrhard
Right now with an ugly work-around. The image is vertically flipped so we just adapt our access to it. Change-Id: I0128f54d4a0fbe697dc8726f6e255111ecb8412f
2014-05-28Revert "loplugin:unreffun"Markus Mohrhard
This reverts commit 7686f93f58ae3eed7ed2ee2bead362d034e24c02.
2014-05-28use a step width of 10 for the picking colorMarkus Mohrhard
Change-Id: Icdf7653e9dc5a33d78381b9ea5f3fd4652b1be5a
2014-05-28disable MSAA for the pickingMarkus Mohrhard
MSAA can and will result in mixed colors which is a problem if we use the color for the selection. Change-Id: Ifbd6d37902069b26e714d2e3e5576fb767f9fbbf
2014-05-27remove one more magic number that is used in several placesMarkus Mohrhard
Change-Id: I83949b592d75899d28d9792508685e58d103ae16
2014-05-27let us look from the top onto the chartMarkus Mohrhard
Change-Id: I700c5f6799ba59eb858d1a12807dc7e37c4a3900
2014-05-27prevent that early return prevents further user interactionMarkus Mohrhard
Change-Id: I24f814a402d2b8af3ddf888719b78d3158c2a38f
2014-05-27cache the bitmap converted to flat RGBA pixels.Michael Meeks
Conflicts: chart2/source/view/inc/3DChartObjects.hxx chart2/source/view/main/3DChartObjects.cxx Change-Id: Ied38d4457fbc04ded42fe4fb55a8ec654cefa259
2014-05-27chart2: Fix using the last shapeMaxim Monastirsky
Clicking a shape button works only for the default shape, not for the last used one. Steps to reproduce: 1) Click on the drop-down arrow of one of the shape buttons, and select a shape. Notice that the button icon updates with the last selected shape. 2) Click on another button. 3) Click on the first button, and try to draw something. The button doesn't work anymore. Only opening the sub toolbar and selecting the shape there will work. The problem is in ToolboxController::execute that requires the command to be in the listener map, but we didn't register sub commands (like .uno:SymbolShapes.sun). Instead of doing that, we'll try some generic solution. (Note that calling the corresponding method from SvxTbxCtlCustomShapes like we do in other methods here won't work, because ChartController::queryDispatch checks for the "_self" target, but SfxToolBoxControl::Dispatch doesn't provide it.) Change-Id: I5be3dfd3ee3ca9ab9d8080929173dbe5984f61a0
2014-05-27css already means ::com::sun::starThomas Arnhold
Change-Id: I48d7b746d7cc49246743c62480b0d225d2519342