summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2011-11-04remove some unneeded dependenciesMarkus Mohrhard
they are no longer used because we separated macros_test and filters-test
2011-11-04add test cases for "Informations" functions to functions.odsMarkus Mohrhard
2011-11-03component files for password testMarkus Mohrhard
if this breaks a --disable-nss build please revert this patch
2011-11-03initial work for a password testMarkus Mohrhard
still needs work in: - RdbTarget_sc_filters_test -- missing component files to NSS (need to be conditional on nss) - nssinitializer.cxx:306 -- new environment variable BRAND_PROGRAM_DIR for $(BRAND_BASE_DIR)/program that is overriden in the unit test to solver/(platform)/lib - make the testPassword in filters-test.cxx conditional on NSS - LD_LIBRARY_PATH needs an additional entry for solver/(platform)/lib/sqlite password.ods has password test and has been created Nov, 3rd 2011 with a master build and should be ODF1.2 conform
2011-11-04catch exception by const referenceTakeshi Abe
2011-11-03remove all debug output from filters-test that was for the xls bugMarkus Mohrhard
2011-11-03codename is set by ScTabel constructorMarkus Mohrhard
2011-11-03ditch ScXMLExportDatabaseRanges::getOperatorXMLCaolán McNamara
2011-11-03callcatcher: drop unused methodsCaolán McNamara
2011-11-03callcatcher: ditch some unused codeCaolán McNamara
2011-11-02Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/coreMichael Stahl
2011-11-02More on sal_Bool to bool (in method signatures).Kohei Yoshida
2011-11-02Prefer boost::scoped_ptr to std::auto_ptr and shared_ptr (if appropriate).Kohei Yoshida
2011-11-02sal_Bool->bool in ScGridWindow. One of them wasn't even used.Kohei Yoshida
2011-11-02Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/coreMichael Stahl
2011-11-02calc big file : refactor loading to avoid unecessary testsLaurent Godard
create ScDocument::AppendTabOnLoad do not test if named ranges exist on file load
2011-11-02we need to use ValidColRowOrRepeated, silly mistake by makeMarkus Mohrhard
2011-11-02add test cases for fdo#40967Markus Mohrhard
2011-11-01add tests related to fdo#41807Markus Mohrhard
2011-11-01prevent access to non existing mdds elements (fdo#41807)Markus Mohrhard
2011-11-01New unit test to test AND and OR evaluations of matrix objects.Kohei Yoshida
This is in response to fdo#40967.
2011-11-01boolean values are valid for matrix evaluation (fdo#49967)Markus Mohrhard
2011-11-01Unit test for testing cell functions referencing external ranges.Kohei Yoshida
2011-11-01fdo#40110: Correctly map external ranges into matrix instances.Kohei Yoshida
This is a simple silly mistake; the matrix representation of the external range should've preserved the original range; not the data range which can be smaller than the originally requested range.
2011-11-01Re-enabling the macros test.Kohei Yoshida
It was due to those pesky .~lock* files preventing the test files from being loaded. Maybe this is also what's breaking the mac os build!?
2011-10-31update first ScMarkData before setting cursor (fdo#42432)Markus Mohrhard
our ScMarkData instance might be used to set the cursor which will result in a crash if the selected sheet has been deleted already
2011-10-31rhbz#657394: crash closing document while printingMichael Stahl
- XRenderable implementation in SwXTextDocument and ScModelObj throw DisposedExceptions instead of RuntimeExceptions - SfxPrinterController catches DisposedException and aborts printing - vcl::PrinterController checks that the printing was not aborted
2011-10-31Revert "Move ScPostIt storage from ScBaseCell->ScDocument"Michael Meeks
This reverts commit 249faa5cb64a7270e852862a26b4a5e3a69a9895.
2011-10-31Move ScPostIt storage from ScBaseCell->ScDocumentKevin Hunter
ScPostIt is the behind-the-scenes name for Notes. This move removes a usually empty pointer for each ScBaseCell to list of pointers within ScDocument. The advantage is basically a reduction in size of 8 bytes per cell. The current sizeof(ScBaseCell) is 16. Here are the highlights: * Remove mpNote from ScBaseCell, and add a std::map (data structure) to ScDocument to store notes and associate with addresses. * Remove ScPostIt accessors and mutators from ScTable, ScColumn, and ScBaseCell * Replace ScPostIt accessors and mutators in ScDocument with ones to handle move of data structure from ScBaseCell to ScDocument * Rename ScPostIt.CloneWithoutNote to ScPostIt.Clone, while completely removing ScPostIt.CloneWithNote. Any cloning of cell notes must now be handled outside external to the ScPostIt class, through ScDocument.*Note() functions. * Rename ScNoteCell to a more ScEmptyCell. I expect this can be completely removed at some point the future, if we can handle broadcasters external to the cell logic. * Add ScDocument and ScTable to ScUsedAreaIterator data structure to accomodate for new placement of ScPostIt objects in ScDocument. * Convert CELLTYPE_NOTE to CELLTYPE_EMPTY (and all ensuing uses). * Wherever possible, respect 80-columns. * New ScDocument based API (individually block-comment documented before their definitions): SC_DLLPUBLIC ScPostIt* GetNote( ScAddress const & ); SC_DLLPUBLIC ScPostIt* GetOrCreateNote( const ScAddress& rPos ); bool SetNote( ScAddress const &, ScPostIt* ); bool MoveNote( ScAddress const & from, ScAddress const & to ); bool SwapNotes( ScAddress const &, ScAddress const & ); ScPostIt* ReleaseNote( ScAddress const & ); void DeleteNote( ScAddress const & ); Of note, TakeNote has been replaced with SetNote, which returns true on success, and false on failure. TakeNote indicated failure by removing the passed note. The SetNote approach leaves room for the caller to attempt to fix the issue, but also means the caller is now on the hook to cleanup the memory. For now, the Calc-internal API is lazy and does not take advantage of this, but merely says "You failed? Oh well, delete the note." ... which is exactly what TakeNote did. This means, the lazy-programmer's idiom for SetNote use is: if ( ! pDoc->SetNote( aAddress, pNotePointer ) ) DELETEZ( pNotePointer );
2011-10-31Cleaned up configmgr initialization.Stephan Bergmann
Added CONFIGURATION_LAYERS bootstrap variable. Removed OOO_CONFIG_REGISTRY[_EXTRA]_DIR bootstrap variables.
2011-10-28Sorry, these tests fail for me on Linux. :-(Kohei Yoshida
2011-10-28bnc#726152: Avoid adjusting cell-anchored objects on other sheets.Kohei Yoshida
The old code would incorrectly move anchors from one sheet to another when updating the anchors of an object that was not on current sheet. That can happen e.g. when modifying a cell value which triggers a (cell-anchored) chart object on another sheet to get updated. Interestingly, this issue ended up causing a write error during file save in some situations, and in others silenting removing the affected chart objects on save.
2011-10-28These can be const pointers.Kohei Yoshida
2011-10-28More reduction of scoping inside nested for loop.Kohei Yoshida
2011-10-28More reduction of scoping inside for loop.Kohei Yoshida
2011-10-28Reduce excessive scoping.Kohei Yoshida
2011-10-28Translate message to EnglishKevin Hunter
And elaborate slightly.
2011-10-28re-enable vba.xls, tweak TestAddress.xls (move tests back to normal module)Noel Power
2011-10-28Add vba support for assigning names to cell rangesAugust Sodora
2011-10-28we can now enable the range name test for xlsx tooMarkus Mohrhard
2011-10-27use uno for local range name api, it crashs otherwise sometimesMarkus Mohrhard
2011-10-27attempt to disable macro_test tests for macosxNoel Power
2011-10-26more tweaks to unittests, also move registrymodifications.xcuNoel Power
registrymodifications.xcu has been moved to the solver ( unittest/user/data ) new OOO_CONFIG_REGISTRY_EXTRA_DIR env var will be used to specify the directory 'data' will be contained in so we can override various config items.
2011-10-26Updated README about orcus.Kohei Yoshida
2011-10-26add uno part for local range namesMarkus Mohrhard
you can now use e.g. thisComponent.sheets(0).namedRanges
2011-10-26add local range names to ScDocFuncMarkus Mohrhard
2011-10-26add local range names to undoMarkus Mohrhard
2011-10-25I don't need to include this header.Kohei Yoshida
2011-10-25fdo#41369: Use the 'Default' style as the parent style.Kohei Yoshida
Some buggy XLS documents such as those generated by 1C (app used in Russia) don't include built-in style definitions, and the cell formats in those docs are not associated with any style at all. Let's associate them with the 'Default' style in such cases.
2011-10-25more support for basic/vba unit testsNoel Power
add moggis work and some tweaks from me too