Commit graph

20792 commits

Author SHA1 Message Date
Kohei Yoshida
296baa2fb6 Ported calc-extref-interpreter-rework-*.diff from ooo-build.
Re-structured the interpreter code to handle external references with
ocPush, instead of ocExternalRef.  This is necessary in order to
support shifting of references in the same way you can with internal
references.

In addition, this change allows re-using of document instances already
loaded when accessing external references that point to one of already
loaded documents.  Previously, Calc would load the same document from
disk even when the document was already loaded.

(n#628876)
2010-10-05 18:14:37 -04:00
Kohei Yoshida
221204d480 Ported calc-dp-sort-fix.diff from ooo-build.
This change fixes the data pilot field options dialog, to display
the name of a data field "<name> - <function>" to be consistent with
the rest of the data pilot UI.  This change also fixes failure to
calculate result when a data field's result is relative to another
data field & the referenced data field used custom name.
(n#629920)
2010-10-05 16:03:25 -04:00
Kohei Yoshida
383cb27aeb Ported dde-reconnect-on-load-*.diff from ooo-build.
Improve reliability of DDE connections between documents opened in LO.
With this change, LO tries to reconnect to a DDE server document upon
opening if that server document is being listened to by one of the
open documents.

Also, the old implementation would load a DDE server document
invisible, and would never close it when the user updates the link.
This had the consequence that when the user tries to open this
document while it's loaded hidden, it causes some weird focus issues,
and closing it and opening it again would disconnect the DDE
connection.  The new implementation closes the server document
immediately after the DDE link update is complete.

This change also fixes a bug in Calc where DDE link updates to cells
would fail when the formula syntax is set to something other than Calc
A1.
2010-10-05 15:42:37 -04:00
Kohei Yoshida
cdb9a74627 Ported calc-english-func-names-*.diff from ooo-build.
Add option to switch to English function names instead of the
localized ones.  In some locales (especially in Hungary) the users are
more accustomed to the English function names rather other than
translated names (i#38765).
2010-10-05 14:47:55 -04:00
Kohei Yoshida
1e305422e1 Ported calc-perf-ods-import-row-heights.diff from ooo-build.
Avoid re-calculating cell note positions on every single row height
change during import.  That makes file load take forever.
2010-10-05 14:09:17 -04:00
Petr Mladek
a4bf209e2c more removed include guards using fixguard.py 2010-10-05 19:10:00 +02:00
Petr Mladek
137b49c1d4 remove include guards using fixguard.py 2010-10-05 19:10:00 +02:00
Kohei Yoshida
7928f26972 Ported calc-cell-270-degree-fix.diff from ooo-build.
This patch fixes a bug where cell text disappeared under certain
conditions esp when the text is vertically oriented & the automatic
spell checking was ON.

n#640112
2010-10-05 12:18:41 -04:00
Kohei Yoshida
7da57d17b6 Ported calc-distributed-cell-text-*.diff from ooo-build.
This feature enables horizontal 'distributed' alignment and vertical
'justified' and 'distributed' alignments for cell contents in Calc.
Note that this feature relies on ODF 1.2 extended in order for the
relevant cell attributes to be saved in ODS.
2010-10-05 11:19:10 -04:00
Kohei Yoshida
35c75a3c2f Ported calc-formula-variable-sep-config-check-sc.diff from ooo-build.
This code handles situations where the formula arg separator is in
conflict with the locale specific decimal and/or thousand separators.
2010-10-05 10:32:10 -04:00
Kohei Yoshida
52dc6590c5 Removed unused local variables, per compiler warnings. 2010-10-05 09:13:45 -04:00
Caolán McNamara
901ae0fcad silence warning 2010-10-05 11:34:33 +01:00
Kohei Yoshida
d822a72fdd Port calc-xls-import-mem-footprint.diff from ooo-build.
This change reduces memory footprint of column row attribute import
from Excel document, from the previous 20 MB per sheet (!) down to
near zero.  With the test document I had, the memory use during
import dropped from 1.6 GB to 224 MB.
2010-10-04 21:53:16 -04:00
Kohei Yoshida
7f6c0d17a0 Fixed a build breakage by adding a missing global string ID.
STR_UNDO_INSERT_CURRENT_DATE was not defined; probably lost during
conflict resolution of the previously ported patch.
2010-10-04 21:01:42 -04:00
Kohei Yoshida
b91b8e9098 Ported calc-insert-current-time-sc.diff from ooo-build.
This enables quick insertion of current date and time into current
cell, via command.  By default, these commands are bound to

* Ctrl-';'
* Ctrl-Shift-';'

respectively.
2010-10-04 18:15:55 -04:00
Kohei Yoshida
f7e2c840aa Ported calc-insert-new-sheet-tab-sc.diff from ooo-build.
Display a 'plus' button at the right end of the sheet tabs, to allow
quick insertion of new sheets.
2010-10-04 17:27:20 -04:00
Kohei Yoshida
9ef870bb6f Ported calc-subtotal-function-update.diff from ooo-build.
With this change, Calc correctly recalculates cells containing
SUBTOTAL function when sheet's filtering state changes, instead of
recalculating all formula cells that listens to those ranges whose
filtering state has changed.  The latter is wrong since the values
of the filtered ranges haven't changed.
2010-10-04 16:47:03 -04:00
Kohei Yoshida
8b586cfbf1 Ported calc-xls-import-biff2-file-sheet-name.diff from ooo-build.
When importing an old Excel 2.1 worksheet file, the file name should
become the sheet name.
2010-10-04 16:39:57 -04:00
Kohei Yoshida
c45d73199d Ported calc-perf-outlining-with-notes.diff from ooo-build. 2010-10-04 16:28:31 -04:00
Kohei Yoshida
3d3d53d87e Ported calc-formula-r1c1-parser-fix.diff from ooo-build.
This fixes parsing of address strings with '-' e.g. R[-1]C when in
Excel R1C1 mode.
2010-10-04 16:07:48 -04:00
Kohei Yoshida
3f79707013 Ported calc-formula-r1c1-ui-fix.diff from ooo-build.
This fixes incorrect display of cell addresses in the UI when the
formula syntax mode is Excel R1C1.
2010-10-04 14:52:20 -04:00
Kohei Yoshida
cb884d1bdf Ported calc-formula-matrix-no-autocalc.diff from ooo-build.
This patch allows formula to be recalculated if it's during matrix
calculation even if the auto recalc flag is OFF.  This is needed
when calculating a formula whose result is a matrix which previously
only calculated the top-left cell when the auto recalc was OFF.
2010-10-04 14:47:46 -04:00
Kohei Yoshida
ae7abbdc80 And several fixes against the previous commit wrt xls import perf. 2010-10-04 14:19:05 -04:00
Kohei Yoshida
ebc9c4ca0f Ported calc-perf-xls-import-cellstyles.diff from ooo-build.
Like the previous commit, this one improves performance of large
xls files.
2010-10-04 14:19:05 -04:00
Kohei Yoshida
31cffd850a Ported calc-perf-ods-import-cellstyles.diff from ooo-build.
This patch improves import performance of large ods files.
2010-10-04 14:19:04 -04:00
Norbert Thiebaud
2899df164f native bool support in SvXMLUnitConverter 2010-10-04 16:58:52 +01:00
Norbert Thiebaud
24538e0bc7 Convert all Query/Put Value() to bool 2010-10-04 16:58:52 +01:00
David Hobley
d93a559038 More or OD style's comments removal 2010-10-04 16:55:38 +02:00
J. Graeme Lingard
de5b6636b1 Remove redundant #include directives & comments 2010-10-04 10:35:21 +01:00
J. Graeme Lingard
57500bd17b Remove redundant #include directives & comments 2010-10-04 11:03:38 +02:00
Kalman Szalai - KAMI
08cf2c305b Code cleanup after i80528 2010-10-02 16:06:12 +02:00
Kohei Yoshida
b0d4df8a69 Added new files created by calc-perf-import-dbf-sc.diff.
* inc/docparam.hxx
* source/core/data/docparam.cxx
2010-10-02 09:01:44 -04:00
Andras Timar
bb2f27b26c make CustomUnitText "Pixel" localisable, #i35956# 2010-10-02 09:13:11 +02:00
Kohei Yoshida
bc7b2bdb80 Ported calc-toggle-relative-ref-fix.diff from ooo-build.
This corrects the code used for the Shift-F4 toggle relative / absolute
reference feature in Calc, to adopt for configurable argument separators.
2010-10-01 22:35:15 -04:00
Kohei Yoshida
0cfa5a12cc Ported calc-perf-import-dbf-sc.diff from ooo-build
This speeds up import of dBase (dbf) files 4-5 times.
2010-10-01 22:30:59 -04:00
Luke Symes
4e75e8379e Removed more commented out code.
I went through all files under clone/calc/* that had "//#include" and
tidied them up a bit.
2010-10-01 21:45:05 -04:00
Luke Symes
44231089ee Finished removing //CHINA comments and odd dead code from sc/source/ui/* 2010-10-01 11:17:38 +02:00
Luke Symes
c548012e1e Removed more //CHINA comments from sc/source/ui/*. 2010-10-01 11:14:59 +02:00
Sean McNamara
10cf3fed2d Fixed build breakage. 2010-09-30 09:08:47 -04:00
Michael Meeks
6e6cdb9b22 Remove some //CHINA comments and dead code
Hi, I have removed some //CHINA comments, dead code, and reworked some
comments in a few files under clone/calc.

From Luke Symes <allsymes@gmail.com>
2010-09-30 12:31:16 +01:00
Kohei Yoshida
a027830bbb Ported statusbar-fancy-modified-status-sc.diff from ooo-build. 2010-09-29 17:08:24 -04:00
Kohei Yoshida
9a5f4ce6e2 Ported autocorrect-accidental-caps-lock-sc.diff from ooo-build. 2010-09-29 16:12:41 -04:00
Justin Malcolm
31018e35b1 I think that this eliminates the remaining //UNUSED comments
There were still some of these comments (actually, a lot of them).
The most recent attachment should get rid of the last of them.
(fd#30442)
2010-09-29 14:14:15 -04:00
Norbert Thiebaud
da4c41c60b Removed some other UNUSED comment 2010-09-29 10:04:00 +02:00
Norbert Thiebaud
952fdd9c09 Removed some UNUSED comment 2010-09-29 10:02:35 +02:00
Justin Malcolm
4c2fcdee19 This gets rid of a great number of the comments
There are a great number of places in calc where code is commented out
with lines staring in "//UNUSED".  Since 'git' is being used, there is
no reason to keep old code like this in comments.
2010-09-28 22:45:09 -04:00
Kohei Yoshida
c062dad9b1 Ported calc-xls-export-row-height-wrapped-text.diff from ooo-build. 2010-09-28 15:02:47 -04:00
Kohei Yoshida
08e0f9aaf1 Ported calc-perf-rowheight-no-progress-bar.diff from ooo-build. 2010-09-28 15:00:21 -04:00
Kohei Yoshida
b7ea2eb235 Ported calc-perf-filtering-with-notes.diff from ooo-build. 2010-09-28 12:25:16 -04:00
Kohei Yoshida
5157d9a63e Ported calc-auto-tab-complete.diff from ooo-build. 2010-09-28 12:06:54 -04:00