Age | Commit message (Collapse) | Author |
|
Instead provide a user setting that can be enabled so that the S/W Interpreter
is used on a subset of the operations. The operations for which it is used
are controlled by a whitelist in ScCalcConfig::setOpenCLConfigToDefault().
Change-Id: I7d3f3a864fcb1231e5484ec23961f14fca1466c5
|
|
And add only the minimum amount of operations we are sure about.
Change-Id: I0dd35968206161e31fcd8bfd0b647329c703e0da
|
|
Change-Id: Ic10b70e1d56b941d263ed7632ba8a5146145cab1
Reviewed-on: https://gerrit.libreoffice.org/19600
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
Use the new configurationlistener to track the relevant setting.
Change-Id: I9decea55df25f7eb34cd2fef94743d1907360d16
Reviewed-on: https://gerrit.libreoffice.org/19377
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
|
|
- improvements to the plugin to find more method calls
- improvements to python script to remove more false+
- fix the FORCE_COMPILE_ALL build flag to include code in
the $WORKDIR
Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836
Reviewed-on: https://gerrit.libreoffice.org/19064
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Iec3a6a6869a4546f3d10928470361716d7b10243
|
|
Change-Id: Iaf5155aba75495d77dce3dd143171c60037bdd11
|
|
i.e. the document doesn't have that property. Use CONV_A1_XL_A1
pseudoconvention for interpreting INDIRECT in such case
Change-Id: If9bac9053029b4b8f79d3ac7ac0759adbb25803f
Reviewed-on: https://gerrit.libreoffice.org/17311
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
Change-Id: Iae0c5308f77657c6a55bafd372ce7e4db5ef4aab
|
|
Change-Id: I353a62bac6c8bf00b20c93d9778fc45ade5d502c
|
|
and replace ifdef hackery with an explicit underlying type
Change-Id: Ibd340cf28d022af545a82e98e623d4c137ff7e53
|
|
Intermediate commit. More changes will follow: The device selection
logic needs to be moved, too. (And cleaned up.) Instead of the
separate formulacalculationoptions dialog we should simply have a
normal options page for those OpenCL-related settings that will remain
purely Calc-specific, like the formula opcode subsetting.
Change-Id: Id60d95e80d377cbbf5780beb473b221bce06b5e5
|
|
Add a toggle to the "General" page.
Change-Id: If35b1472032706b09a3bc3499c55cbd3ac2e13ac
|
|
Drop version number bounds, use regexps instead. Not entirely ideal, but as
vendors are free to put arbitrary stuff into the driver version string (part
of which might be numbers, part free text, part significant, part just
informative), just comparing against lower and upper bounds with strverscmp()
was not ideal either.
Change-Id: Ic4ef4d8e15f79f1c96e6e03f6c01e62ae92dc2fc
|
|
Change-Id: I0cf00abd582aaaaa4be4d385a6ef4f199c7aa0bc
|
|
Change-Id: I1f26b47054e70e54ce81d3ec4cbc5ff58c1aeea3
|
|
Change-Id: If9b7052385a49df1403a5f652c67ca7c103a8be2
|
|
Still not possible to add new ones or delete existing ones, though. And the UI
for this is not finished at all. Work in progress.
Also some refactoring. To increase readability, introduce typedefs in
ScCalcConfig. Not sure whether nested types inside the class is a good idea or
not.
Change-Id: I8e1695bb0594e2cd5f8b5ce0ece075842b77762a
|
|
Change-Id: Ie7ba158063dc0c588e114278cedb80e414ccc4cb
|
|
Change-Id: I526d6652a956be3031ed46ab15eeb333d3f40a7c
|
|
Change-Id: Iddf7cad771d271e848ba3abc1c144b9c313cdb99
|
|
Change-Id: I5a6ef8f5e428ec4e62b3fdac8fe3e63f0ae58f1b
|
|
Now the new options show up in the "Detailed Calculation Settings" dialog and
are saved and restored from the per-user configuration.
The code that manipulates the "Detailed Calculation Settings" dialog is quite
ugly with all its manual hiding and showing of widgets depending on which
detail it is that is being edited. This also means that the dialog cannot be
designed using Glade. But no time now to re-work this.
Change-Id: I03a3a51d902084e73aab5a787b588d22ea7578f2
|
|
Change-Id: I9ecea99a921a9230fa80f813627db6cdf7ed5875
|
|
Add a boolean whether to use OpenCL for just a subset of functions, and a
numberical minimum length of a cell group for OpenCL to be used. No
functionality or GUI for this yet implemented, just the setting fields.
Make whether to use OpenCL default to "on". Sure, this breaks stuff right and
left for now. Fixes and workarounds later.
Change-Id: I09b7aff9c7d1845df2bf01f09616e646373f030c
|
|
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
|
|
sorry, huge one...
|
|
Ideally they'd even be stored as document options. Future work?
Change-Id: Ida126a441ca88c35406fb66ea3722d6335e6e8e2
|
|
Determines how to treat text when encountered as operand in an arithmetic
operation or as argument to a function that expects a number instead.
Selectable under Tools->Options->Calc->Formula "Detailed calculation settings"
"Custom" from "Conversion from text to number" are:
Generate #VALUE! error: =1+"1" or =1+"x" give #VALUE!
Treat as zero: =1+"1" or =1+"x" give 1
Convert only unambiguous: =1+"1" gives 2, but =1+"1.000" or =1+"x" give #VALUE!
Convert also locale dependent: =1+"1.000" may be 2 or 1001 ... =1+"x" gives #VALUE!
For "Generate #VALUE! error" and "Treat as zero" the "Treat empty string as
zero" option follows these settings, for "Convert only unambiguous" and
"Convert also locale dependent" it can be set independently.
When reading documents created by other spreadsheet applications or older
versions of LibreOffice, and to interchange documents between different locales
the "Convert only unambiguous" with "Treat empty string as zero = True" setting
is recommended, though LibreOffice so far acted as "Convert also locale
dependent" with "Treat empty string as zero = False", which is the reason that
option is kept as default.
The best setting to create new documents that can be interpreted by all
spreadsheet applications without on-the-fly string conversion is
"Generate #VALUE! error". Not having to convert strings during
calculation ist also faster, of course.
Change-Id: Ie6dc34a00a82064a2d862b2178ce715fab945f85
|
|
Change-Id: I47ed4add16c804e598feebd84ae823a45d2f8dd9
|
|
Change-Id: I687b31959b2932cc1b5f7ce6daea8d7bbbe85ee5
|
|
Change-Id: I3cb19fb24028bc07d24b56786b6573dc79911bda
|
|
|
|
This tri-state option is commonly ordered ask-always-never or
always-never-ask, but not always-ask-never, which is not very common.
Change-Id: Ie3a3d1b40397b5cd7d28e64948a2b946bb619b49
|
|
Change-Id: I116857ee8b377c80707efbc76fcfa06c3e46201d
|
|
There may be other functions other than INDIRECT that take a string
reference. If so, we could re-use this option for those functions
as well.
Change-Id: I1e756298a094aa8197f578cb992904b7af5b2e4d
|
|
Change-Id: Ia7eda2d9ff29b5997654fef1a01d637f474b06cc
|
|
And use it both in the core interpreter and the configuration UI.
Change-Id: Ia2a16fcb53025840d906864b564255cd3c53e8e9
|