summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)Author
2014-10-02coverity#1169811 'Constant' variable guards dead codeCaolán McNamara
Change-Id: I1c795134469c0ab8cf6591982e2a44a6506e4fc5
2014-10-02coverity#1242832 Result is not floating-pointCaolán McNamara
Change-Id: Ic244ebaf7e19f82a086318a91024767a2044ab03
2014-10-01coverity#707673 uninitialized memberCaolán McNamara
Change-Id: Iab55c2545790bdee7104abf91d7a3df2deb21ec5
2014-10-01chart2: fix the testDataLabelBordersDOCX on MacMichael Stahl
This test failed on Mac because it depends on the layout being finished, since for SwXTextEmbeddedObjects the corresponding SwVirtFlyDrawObj are inserted in the draw page not on import, but in layout. Change-Id: I731b9b92838252ff50135f97343357992bc1933f
2014-09-30chart2: add a SolarMutexGuard in ChartView::createInstance()Michael Stahl
SvxUnoNameItemTable::SvxUnoNameItemTable() registers a listener at SdrModel, surely that needs a lock of some kind. Change-Id: I80d5a31be66e75f07e8abd26504bdcc93ffd22a3
2014-09-30fdo#82577: Handle PolyPolygonNoel Grandin
Put the TOOLS PolyPolygon class in the tools namespace. Avoids clash with the Windows PolyPolygon typedef. Change-Id: I811ecbb3d55ba4ce66e4555a8586f60fcd57fb66
2014-09-30chart2: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: Ia92c18858c8ed7cfc2765cc2310f3bf7bfd7e8df
2014-09-30fdo#82577: Handle RegionNoel Grandin
Put the VCL Region class in the vcl namespace. Avoids clash with the X11 Region typedef. Change-Id: I6e008111df7cf37121fbc3eaabd44a8306338291
2014-09-29chart2: take the mutex to update the chart structures.Michael Meeks
Change-Id: I8ee6ec81913c008eeb67cd70a2490b523b0d8177
2014-09-25Resolves: fdo#83010 remove svx::WrapFieldCaolán McNamara
in favour of a wrap property on NumericField Change-Id: I62c6bdb69a16f37ae6018a2fe41070fb18dbe4a0
2014-09-25Changing the font properties makes it look betterxukai
Change-Id: I1be1833ef416e5eed1e7edbb1254302e28bacba7 Reviewed-on: https://gerrit.libreoffice.org/11620 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-24Don't update chart view when the controllers are locked.Kohei Yoshida
Change-Id: I8468925e63db3a5cc5ef3e0f942d22478fd0863e
2014-09-24Replace some std::auto_ptr function parameters with std::unique_ptrStephan Bergmann
Change-Id: Ic66d325fd9559c6dde9556c26e5b2a7e60376c49
2014-09-24Add missing include to avoid compile error on windowsPeter Foley
Change-Id: If338b41e416362fc36da25b16f119187a358206c Reviewed-on: https://gerrit.libreoffice.org/11617 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-09-23Some cleanup on Timer.Kohei Yoshida
Use a different name for handler as 'updateTimer' is also used as a method name within the same class. Also no need to set the interval repeatedly & no need to stop the timer when it times out. Change-Id: I430bc26b945d179c87310eaefd9d94986192841c
2014-09-23This guard blocks main loop.Kohei Yoshida
And I've been told that by design the main thread doesn't need to be aware of the rendering threads, so no need to take mutex here. Change-Id: I78ec348ccc28dd67284ecdfccebb915cc1942fa8
2014-09-23update camera when bar is clickedxukai
Change-Id: Icf397070d1b17a282a07e166d1387881b854b337 Reviewed-on: https://gerrit.libreoffice.org/11541 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23fdo#84001: update environment name BENCHMARK_MODE to UNLOCK_FPS_MODExukai
Change-Id: I7837b2b2639cd003931227f3eb957ef90b905fd0
2014-09-23use environment AUTO_FLY to control if autoflyxukai
Change-Id: Ie47dfdc5f3b07f6e1a6336fc235ac6ccd5d53cab Reviewed-on: https://gerrit.libreoffice.org/11540 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23update effect of bar clickxukai
Change-Id: Ibb09537d418e78c7fc9b6760988abd56505268b3 Reviewed-on: https://gerrit.libreoffice.org/11539 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23make Camera flythrough looks more smoothxukai
Change-Id: I46f79bb6ede2da133fe8971319fc4b7257848382 Reviewed-on: https://gerrit.libreoffice.org/11590 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23overloaded function GetDiffOfTwoCamerasxukai
Change-Id: Ic195c846364ddf9c798d019eed23c27200713017 Reviewed-on: https://gerrit.libreoffice.org/11589 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23Add function:GetDiffOfTwoCamerasxukai
Change-Id: I3b3f4e8e18d5970d408adcf0457bfdd4e064e37c Reviewed-on: https://gerrit.libreoffice.org/11588 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23instead of a top view a 45 degree viewxukai
Change-Id: Iaf922b998552778c527440c4b3a83cb8c05d2a6e Reviewed-on: https://gerrit.libreoffice.org/11536 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23Using 3D fontsxukai
Change-Id: If6cdece9f100f51b7a69ac4be4e316fb9c9928d5 Reviewed-on: https://gerrit.libreoffice.org/11535 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-233D fonts suportxukai
Change-Id: Id8142586e8ace4ba91a30b2f78d1216f89f22148 Reviewed-on: https://gerrit.libreoffice.org/11585 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23Update the color of FPS textxukai
Change-Id: Ic6f5889e24f98101426fc215c0313122797400b7 Reviewed-on: https://gerrit.libreoffice.org/11507 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23Show values of bars in selected rowxukai
Change-Id: I18fbdcb05e3c95c20c96b426bf93e85657209f34 Reviewed-on: https://gerrit.libreoffice.org/11584 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23fix the fly back bugxukai
Change-Id: Ie866d02ab2ca3a5372dbeec6805eee42c8e10312 Reviewed-on: https://gerrit.libreoffice.org/11505 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23add translucent balck background for history renderingxukai
Change-Id: I9da69bdb29bb780776355e79fab61d5d9bb844a4 Reviewed-on: https://gerrit.libreoffice.org/11583 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23add 50 histories for histroy renderingxukai
Change-Id: I26ff4655d682960ef397be27d5a9fc894502cf8a Reviewed-on: https://gerrit.libreoffice.org/11579 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-23fdo#84001: Renamed the env. variable to fit better.Jan Holesovsky
Change-Id: Ie3e3a1871bfd0db22726206cf634debebcf4ef63
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-21OPENGL_SCALE_VALUE is not needed any moreZolnai Tamás
It seems to me that this value was a workaround to make chart fit to the OpenGL window (working in calc, in default view). Now it's uselss since projection matrix do this job better. Change-Id: I968d6d96cb45c2444b8ebed59830b87f0cb87b61
2014-09-21fdo#81237: 2D OpenGL charts have wrong sizeZolnai Tamás
So far the size unit was 100th mm \ OPENGL_SCALE_VALUE which is an absolute value, independent from the actual size of the OpenGL window. To solve that I added the SetSizePixel() method with which we can specify the size in pixels and which method resize the whole scene accordingly. Change-Id: Ibd19a1bd9484c7bc8f8ce0d8113f60b95619db39
2014-09-19These are no longer used.Kohei Yoshida
Change-Id: I55a19ab06108825ece00844bb20c3fd5f65dfe37
2014-09-19Finally, move the group shape object for the diagram with axes to the param.Kohei Yoshida
Change-Id: I134275076256bb1b5441ae7804eacaaaa689d171
2014-09-19Move the "PlotAreaIncludingAxes" shape object to CreateShapeParam2D.Kohei Yoshida
Change-Id: I6c88611e837f651af92406952df273693d651121
2014-09-19Move the "MarkHandles" shape object to CreateShapeParam2D.Kohei Yoshida
Change-Id: I66843ca4ded3b69cb7f5256c94566c8f5d2de31c
2014-09-19Remove double-conversion between awt::Rectangle and basegfx::B2IRectangle.Kohei Yoshida
Change-Id: I51b1a366ca49f680f964814b0fd0fa69a6a7f5bd
2014-09-19Refactor impl_createDiagramAndContent() to take CreateShapeParam2D.Kohei Yoshida
Change-Id: I517c4e4a2296531c0d7f129ff46adca0f85a969d
2014-09-19Refactor getAvailablePosAndSizeForDiagram() to use CreateShapeParam2D.Kohei Yoshida
Re-use its maRemainingSpace member to keep track of available space. Change-Id: I28fdaf11c4ab895cd09a5b6c7ea3da7c730044d5
2014-09-19Move the code that creates shapes for axis titles to own method.Kohei Yoshida
This change also creates a struct that keeps track of states during shape creation, to make it easier to extract methods as necessary. Change-Id: I0d84dbee9dba5b9c59d22e4a1be318c5e8c6c6c3
2014-09-19More scope reduction.Kohei Yoshida
Change-Id: Ibaabf1122fb3e828c1b7b71e846911d77f312445
2014-09-19Scope reduction.Kohei Yoshida
Change-Id: Id677971ccd6959356a781a2d8c35ab864b35a62e
2014-09-19Reduce scope by early bailout.Kohei Yoshida
Change-Id: Icd344caf6e52ef568361078455d4e8d5cf0d40a8
2014-09-19Move the 2D shape creation code into a separate method.Kohei Yoshida
Change-Id: I38ccb7f98f404540f5cf3c32be27da19394475a0
2014-09-19Fix chart2 with system libglm (explicit constructors)Fridrich Štrba
Change-Id: I582095b6b47eaff7800f6aaa68f176f06d64a34e
2014-09-18Returned shape object is assigned but not used.Kohei Yoshida
Change-Id: Icd15ce57e6d4bb5384b7508d4d3ceb9cd1038f9a
2014-09-18Pass by const reference.Kohei Yoshida
Change-Id: If4bcee8d9d45b43f025ee0409070afdc53b9405a