summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)AuthorFilesLines
2014-09-30chart2: add a SolarMutexGuard in ChartView::createInstance()Michael Stahl1-1/+3
SvxUnoNameItemTable::SvxUnoNameItemTable() registers a listener at SdrModel, surely that needs a lock of some kind. Change-Id: I80d5a31be66e75f07e8abd26504bdcc93ffd22a3
2014-09-30fdo#82577: Handle PolyPolygonNoel Grandin1-1/+1
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 Bergmann8-17/+13
Change-Id: Ia92c18858c8ed7cfc2765cc2310f3bf7bfd7e8df
2014-09-30fdo#82577: Handle RegionNoel Grandin6-6/+6
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 Meeks1-0/+3
Change-Id: I8ee6ec81913c008eeb67cd70a2490b523b0d8177
2014-09-25Resolves: fdo#83010 remove svx::WrapFieldCaolán McNamara8-106/+107
in favour of a wrap property on NumericField Change-Id: I62c6bdb69a16f37ae6018a2fe41070fb18dbe4a0
2014-09-25Changing the font properties makes it look betterxukai2-3/+3
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 Yoshida1-0/+3
Change-Id: I8468925e63db3a5cc5ef3e0f942d22478fd0863e
2014-09-24Replace some std::auto_ptr function parameters with std::unique_ptrStephan Bergmann1-2/+7
Change-Id: Ic66d325fd9559c6dde9556c26e5b2a7e60376c49
2014-09-24Add missing include to avoid compile error on windowsPeter Foley2-0/+2
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 Yoshida2-5/+3
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 Yoshida1-1/+0
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 clickedxukai2-16/+57
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_MODExukai1-1/+1
Change-Id: I7837b2b2639cd003931227f3eb957ef90b905fd0
2014-09-23use environment AUTO_FLY to control if autoflyxukai2-2/+10
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 clickxukai1-0/+13
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 smoothxukai1-22/+39
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 GetDiffOfTwoCamerasxukai2-3/+11
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:GetDiffOfTwoCamerasxukai2-0/+27
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 viewxukai1-2/+4
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 fontsxukai1-4/+4
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 suportxukai2-7/+11
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 textxukai1-5/+9
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 rowxukai2-19/+50
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 bugxukai1-0/+2
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 renderingxukai4-24/+41
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 renderingxukai2-16/+31
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 Holesovsky1-1/+1
Change-Id: Ie3e3a1871bfd0db22726206cf634debebcf4ef63
2014-09-23fdo#82577: Handle WindowNoel Grandin88-163/+163
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ás3-44/+32
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ás8-15/+20
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 Yoshida1-3/+0
Change-Id: I55a19ab06108825ece00844bb20c3fd5f65dfe37
2014-09-19Finally, move the group shape object for the diagram with axes to the param.Kohei Yoshida2-14/+14
Change-Id: I134275076256bb1b5441ae7804eacaaaa689d171
2014-09-19Move the "PlotAreaIncludingAxes" shape object to CreateShapeParam2D.Kohei Yoshida1-6/+7
Change-Id: I6c88611e837f651af92406952df273693d651121
2014-09-19Move the "MarkHandles" shape object to CreateShapeParam2D.Kohei Yoshida2-12/+11
Change-Id: I66843ca4ded3b69cb7f5256c94566c8f5d2de31c
2014-09-19Remove double-conversion between awt::Rectangle and basegfx::B2IRectangle.Kohei Yoshida1-4/+2
Change-Id: I51b1a366ca49f680f964814b0fd0fa69a6a7f5bd
2014-09-19Refactor impl_createDiagramAndContent() to take CreateShapeParam2D.Kohei Yoshida4-28/+33
Change-Id: I517c4e4a2296531c0d7f129ff46adca0f85a969d
2014-09-19Refactor getAvailablePosAndSizeForDiagram() to use CreateShapeParam2D.Kohei Yoshida1-40/+36
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 Yoshida2-68/+105
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 Yoshida1-76/+77
Change-Id: Ibaabf1122fb3e828c1b7b71e846911d77f312445
2014-09-19Scope reduction.Kohei Yoshida1-18/+17
Change-Id: Id677971ccd6959356a781a2d8c35ab864b35a62e
2014-09-19Reduce scope by early bailout.Kohei Yoshida1-70/+74
Change-Id: Icd344caf6e52ef568361078455d4e8d5cf0d40a8
2014-09-19Move the 2D shape creation code into a separate method.Kohei Yoshida2-185/+191
Change-Id: I38ccb7f98f404540f5cf3c32be27da19394475a0
2014-09-19Fix chart2 with system libglm (explicit constructors)Fridrich Štrba1-2/+2
Change-Id: I582095b6b47eaff7800f6aaa68f176f06d64a34e
2014-09-18Returned shape object is assigned but not used.Kohei Yoshida1-5/+2
Change-Id: Icd15ce57e6d4bb5384b7508d4d3ceb9cd1038f9a
2014-09-18Pass by const reference.Kohei Yoshida1-1/+1
Change-Id: If4bcee8d9d45b43f025ee0409070afdc53b9405a
2014-09-18Scope level reduction.Kohei Yoshida1-11/+13
Change-Id: I4e2f25cdb9aef851724073d32e96c76c3416de3c
2014-09-18Scope level reduction.Kohei Yoshida1-16/+19
Change-Id: I02701e70c064fe0378ff3bfc1c31365f7fba33cc
2014-09-18Fix prefix for non-reference variable.Kohei Yoshida1-14/+14
Also remove excessive static_cast for integer to integer assignments. Change-Id: I8cc65a4e5385ad6d62bb22b24fbe879efbbabdb6
2014-09-18No need to instantiate B2IRectangle twice.Kohei Yoshida1-1/+1
Change-Id: I584f3096221ff8b72ffde7ba5bce4259da64a14d