summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-01-17rhbz#1136013: svx: try to make the ExternalToolEdit not crash all the timeMichael Stahl
This thing was starting a timer that re-starts itself forever, and when the file it was watching changed, it would just assume the drawing objects were still there (and the document, for that matter...) Change-Id: I35f187f0828097a05618dc1733dce819fc6bffc6
2015-01-16Use 1/100mm map mode for rendering edit text objects.Kohei Yoshida
Change-Id: I0c82088342085c1b7d9aa3c6009684bc58a9fd21
2015-01-16Get texts to scale correctly with zoom.Kohei Yoshida
We need to set scaling factors to device's map mode *only* for the texts. Calc handles scaling for all the rest. Interesting how it works. Change-Id: Ia6aa122961ea5ddc2e31eacb28392f3e355a5ebf
2015-01-16Multiply tile position by the zoom level.Kohei Yoshida
With this, the tiles get rendered correctly at varying zoom levels. Change-Id: Id5ca18e363dfdb143af1685be96af2f3c3514ea9
2015-01-16don't access empty range list, could be rhbz#1180312Eike Rathke
ScRangeList::DeleteArea() may remove an entire range, if it was the last range a subsequent call to ScConditionalFormat::DeleteArea() would attempt to access an invalid first element. Change-Id: I8d68c27963dc8561d61a94980093c271bd3aaffb
2015-01-16replace decrementing loop with -=Eike Rathke
This could save a million iterations ... Change-Id: I44fb228b951580bbeb5df5f6ec7be933077776ff
2015-01-16Correctly offset based on tile position.Kohei Yoshida
This works well at 100% zoom, but the offsets are still not correct at zoom levels other than 100%. Change-Id: I301362b00ca916410b69f39aa58ed871ce177d88
2015-01-16Add SAL_INFO messages for OpenCL buffers createdTor Lillqvist
Change-Id: Ib226d7ec13bc64ee6d32fab3c3f6cecc4eb8b151
2015-01-16Explain what the function doesTor Lillqvist
Change-Id: I2179a81b5ce83beea491b86469c5b8ba232fdd15
2015-01-16remove unnecessary parenthesesNoel Grandin
left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
2015-01-15fdo#88398: Handle group listeners correctly when splitting formula group.Kohei Yoshida
It's basically the same thing we do in ScDocument::DeleteArea(), implemented in ScDocument::SetValue() and SetString(). Change-Id: Ifcae31aaef0e00ed8659aa5e2b9b8e206dc1a099
2015-01-15fdo#88398: Re-enable formula group listeners.Kohei Yoshida
Change-Id: I1e5e9d50af471bc0e63f0d39478d96bf479583d5
2015-01-15silence -Werror,-Wunused-variableCaolán McNamara
Change-Id: Iaea31af5b7e41367b59fe02d523bcb7e08a8e0fc
2015-01-15add unit test for fdo#88398Eike Rathke
Check that grouped area listeners aren't discarded when unsharing a grouped formula. Change-Id: Ic3d3e9acb5b97d927a85ca433de127dd3b74a30c
2015-01-15fdo#88398 disable grouped listeners for nowEike Rathke
Further implementation is needed to re-establish grouped listeners after unshare and split. Change-Id: I861b3f9d63a611ab0e32918ce1b272121bf12988
2015-01-15Revert "fdo#88157 Remove misused frames from 4 of n dialogs"Caolán McNamara
This reverts commit 8c291bb13335fc73785eab2bba81b37a5161d6b4 because a pile of stuff then crashes, its not sufficient to remove things from .ui files if there are still used but the cxx. e.g. opencl options page Change-Id: Ice608af7e4a3f7798183a45602715ab04afbc87a
2015-01-14Comment these out for now. We'll use them later.Kohei Yoshida
Change-Id: I7e6afeea9368241bea8af141726e73c557475317
2015-01-14Add TODO. Text rendering is still weird.Kohei Yoshida
Change-Id: I2da98a82f2d2407f48960a4e53643cee63b4844d
2015-01-14Adjust zoom level for different output tile size.Kohei Yoshida
Change-Id: I54b9f3ca66035b66509c960ca79391446ecf8778
2015-01-14Set correct grid color.Kohei Yoshida
Change-Id: Ie8ccf61f0b04b718c930b14374843e3858c6278b
2015-01-14Tiled rendering, first cut.Kohei Yoshida
Very simple, without zooming. Change-Id: Ia5bd5c02dab3eedbaad07ebd81c4d7fe3c6a00c1
2015-01-14Implement getDocumentSize(). Cell data only for now.Kohei Yoshida
Change-Id: I31e14f12aaee2d98103d1594ba5b511ebf91e333
2015-01-14Annotate this method.Kohei Yoshida
Change-Id: Ia8f518fd6e61562e95eddacafc9f7e49656826e8
2015-01-14Provide const version that returns a const pointer.Kohei Yoshida
Change-Id: I6a07919af477f2641797b14838ee5ef563ffe532
2015-01-14sc: try to fix build with GCC 4.6Michael Stahl
Change-Id: I80ca8eeb69e06fefc9fd06ea46ea499a999ced6e
2015-01-14Be more informativeTor Lillqvist
Change-Id: I58cd259055b87cd78d7c6936b2e479ff2cd1ed40
2015-01-14fdo#88157 Remove misused frames from 4 of n dialogsAdolfo Jayme Barrientos
Frames are meant to group together sets of related controls. It is a mistake to use them to label just a single UI control. Change-Id: I2666eefd6f6986825e48879ed3fb5b8d55f3e0d0 Reviewed-on: https://gerrit.libreoffice.org/13865 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-14sc: rename ScSTEXY to ScSTEYXLaurent Charrière
The actual Calc function is STEYX. Change-Id: I7c778a3b00e54aa97b61c00e2e7c40c2db48a08b Reviewed-on: https://gerrit.libreoffice.org/13898 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14fd0#85818: rename SC_OPCODE_NBW to SC_OPCODE_NPVLaurent Charrière
Change-Id: I1f7b51094acf0baf79160f65fdec67c9934930aa Reviewed-on: https://gerrit.libreoffice.org/13897 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14fdo#85818: rename SC_OPCODE_IKV to SC_OPCODE_IRRLaurent Charrière
Change-Id: I8148081e2f2d89bdd319b5dc7346af672a8cf310 Reviewed-on: https://gerrit.libreoffice.org/13896 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14fdo#85818: rename SC_OPCODE_GGT to SC_OPCODE_GCDLaurent Charrière
Change-Id: I65a79d4e88f82cb76d9b6ab39f06a11acd4f3e41 Reviewed-on: https://gerrit.libreoffice.org/13895 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14fdo#85818: rename SC_OPCODE_KGV to SC_OPCODE_LCMLaurent Charrière
Change-Id: I4a49a00a8cc74c7ff0752ef0bffbf855fecb232c Reviewed-on: https://gerrit.libreoffice.org/13894 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14fdo#85818: rename RGP to LinestLaurent Charrière
Change-Id: I4bdf934730a54a76f5762fd079dc6270fa135840 Reviewed-on: https://gerrit.libreoffice.org/13893 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14fdo#85818: rename RKP to LogestLaurent Charrière
Change-Id: I35e4d80e3d7744c4c9c74b12856a603db8363dbc Reviewed-on: https://gerrit.libreoffice.org/13892 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14fdo#85818: rename Schiefe to SkewLaurent Charrière
Change-Id: Ie8da01e3062e380070672406e1dcd9227bf75f95 Reviewed-on: https://gerrit.libreoffice.org/13891 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14fdo#85818: rename KritBinom to CritBinomLaurent Charrière
Change-Id: I2fa011eea4263f005c3a22072a6144972e9f0bb7 Reviewed-on: https://gerrit.libreoffice.org/13890 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14sc: rename ocChose et al. to ocChoose et al.Laurent Charrière
Change-Id: I1aa8ee6c827a6d6a6c6beb190bdc9c3c91d82b22 Reviewed-on: https://gerrit.libreoffice.org/13889 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14sc: rename ocPropper et al. to ocProper et al.Laurent Charrière
Change-Id: I245ad8f7418bed707953ecf80c71de07e0cc00d1 Reviewed-on: https://gerrit.libreoffice.org/13888 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14Translated and fixed function names in comments in scfuncs.srcLaurent Charrière
Some names were still in German, some others were not the actual function name. This revealed a few more opcodes to be translated as part of fdo#85818. Patches forthcoming. Conflicts: sc/source/ui/src/scfuncs.src Change-Id: I6635065b2a2df544ad7c631d45c2c0a815ea1968 Reviewed-on: https://gerrit.libreoffice.org/13887 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14fdo#85818: translate ZZR to NperLaurent Charrière
Change-Id: Ib118d92a026526483da87dfe04871de25caa8ac1 Reviewed-on: https://gerrit.libreoffice.org/13869 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14fdo#85818: rename ZW to FVLaurent Charrière
Change-Id: I464cba72153ef70bbb14bf43a448a28d02095728 Reviewed-on: https://gerrit.libreoffice.org/13868 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14add ODF1.2 function ERROR.TYPE to CalcWinfried Donkers
Also, improve exchange between Calc and Excel2013. Change-Id: I491f9e2100a9a2c38e23cf55dd1eda4b5e96db96 Reviewed-on: https://gerrit.libreoffice.org/13101 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-14LinkUpdateMode property values must be in the range 0--2 or 0--3Stephan Bergmann
...avoid setting bad values from generic qadevOOo property set tests, and throw an IllegalArgumentException if bad values do get set. Found via -fsanitize=enum. The TODO about ScLkUpdMode vs. LinkUpdateModes mismatch looks worrying. Change-Id: Ibc01845e7e3179dc693fe8c59c1f1ffad5282420
2015-01-14fdo#39468 Translate German Comments - replace '//!' with '//TODO:'Christian M. Heller
It seems that most comments starting with '//!' were intended as FIXMEs. This replaces gerrit 12241. Conflicts: sc/source/core/tool/token.cxx sc/source/filter/excel/xlpivot.cxx Change-Id: I6ed06b32c70cc854a896dbbc386565e6fbfa9b28 Reviewed-on: https://gerrit.libreoffice.org/12361 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-13use DateTime instead of separate Date and TimeEike Rathke
Change-Id: I82cccaabbcf481367e55c52682d0ff765b4a8671
2015-01-13remove unused variableMarkus Mohrhard
Change-Id: If22f2d90644f2c03f1b027c73574a857cea890c1
2015-01-13add first test for user defined functionsRaal
currently disabled as we have a crash on exit in the test related to the star basic code Change-Id: If321561a117ea2c55107916c9cb5e99a2c07bdc6
2015-01-13std::cout to SAL_INFOMarkus Mohrhard
Change-Id: I92c48f71baa24cef3b061b9bb6853b99ea1546d4
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin
add constructors to Date/DateTime/Time, that take the css::util counterparts, to simplify code converting between these type Change-Id: I4b03da02c63f65b6ec18cb4d6ecc3859bdef1ff7 Reviewed-on: https://gerrit.libreoffice.org/13855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2015-01-13Decrease the formula group size limit for OpenCL to be considered back to 100Tor Lillqvist
Are we having fun yet? This reverts commit 0694e8313877ca433d226c753301a5a90364b3a5. Change-Id: I378a1695a7b3bd8a1b6bb3d5aa1fff53ab8c7bb5