Branches

default

View source
default (288b57f2c29d)
  • Contributors
    1. Loading...
Author Commit Message Labels Comments Date
1 commit behind default.
Michael Stahl
swbookmarkfixes01: merge CWS undoapi
Michael Stahl
swbookmarkfixes01: merge DEV300_m98
Michael Stahl
swbookmarkfixes01: merge DEV300_m96
Michael Stahl
swbookmarkfixes01: merge heads
Bjoern Michaelsen
swbookmarkfixes01: fixed/merged rtf export
Bjoern Michaelsen
swbookmarkfixes01: priliminary fix in rtf export
Bjoern Michaelsen
swbookmarkfixes01: resync to DEV300_m94
Bjoern Michaelsen
swbookmarkfixes01: resync to DEV300m91
Bjoern Michaelsen
swbookmarkfixes01: merging minibranches
Bjoern Michaelsen
swbookmarkfixes01: #i92304# finishing fix for undo on page styles - Broadcasting the style operation at the of creating the style - (De-)Registering the DocShell at the StyleOperationBroadcaster in SetDocShell() - make SwDocStyleSheet::Create() using with broadcasting when creating the style (this was needed before, because the style was created with an empty name and renamed afterwards - made the Ok-Handler in tmpdlg.cxx issue a InvalidateAll() to …
Bjoern Michaelsen
swbookmarkfixes01: #i92304# intermediate commit, fixing undo for page style creation/deletion
Bjoern Michaelsen
swbookmarkfixes01: merged relevant changes from the branch testing a live sw lib
Bjoern Michaelsen
swbookmarkfixes01: merged relevant changes from the branch testing a live sw lib
Bjoern Michaelsen
swbookmarkfixes01: fixed missing semicolon
Bjoern Michaelsen
swbookmarkfixes01: cleanup of unit test helpers
Bjoern Michaelsen
swbookmarkfixes01: unittesting against a living sw library
Bjoern Michaelsen
swbookmarkfixes01: intermediate commit
Bjoern Michaelsen
swbookmarkfixes01: some more mocking
Bjoern Michaelsen
Swbookmarkfixes01: testing hints
Bjoern Michaelsen
swbookmarkfixes01: fix little buildbreakers from various platforms
Bjoern Michaelsen
swbookmarkfixes01: removing superfluous includes in sw/inc/doc.hxx
Bjoern Michaelsen
swbookmarkfixes01: removed layout from PageDescManager in test
Bjoern Michaelsen
swbookmarkfixes01: removed layout from PageDescManager
Bjoern Michaelsen
swbookmarkfixes01: disposing the default page descriptor too
Bjoern Michaelsen
swbookmarkfixes01: towards making the writer layout is a listener of the model
Bjoern Michaelsen
swbookmarkfixes01: more PageDescManager testing
Bjoern Michaelsen
swbookmarkfixes01: more PageDescManager testing
Bjoern Michaelsen
swbookmarkfixes01: added mock objects
Bjoern Michaelsen
swbookmarkfixes01: minor fixes for PageDescManager
Bjoern Michaelsen
swbookmarkfixes01: PageDescManager unit tests
Bjoern Michaelsen
swbookmarkfixes01: more PageDescManager refactoring
Bjoern Michaelsen
swbookmarkfixes01: setup of PageDescManager UnitTest
Bjoern Michaelsen
swbookmarkfixes01: moving more functions to SwPageDesc
Bjoern Michaelsen
swbookmarkfixes01: fixed bigpointerarray unittest and added it to the build
Bjoern Michaelsen
swbookmarkfixes01: refactored SwDoc::CopyHeader/CopyFooter to SwFrmFmt::CopyHeaderFrom/CopyFooterFrom
Bjoern Michaelsen
swbookmarkfixes01: getting rid of CopyPageDesc, part 2
Bjoern Michaelsen
swbookmarkfixes01: getting rid of CopyPageDesc, part 1
Bjoern Michaelsen
swbookmarkfixes01: fixing in assertion in docdesc.cxx
Bjoern Michaelsen
swbookmarkfixes01: moving PageDescManager to own object file
Bjoern Michaelsen
swbookmarkfixes01: moving more functions from SwDoc to IDocumentPageDescAccess
Bjoern Michaelsen
swbookmarkfixes01: moving more functions from SwDoc to IDocumentPageDescAccess
Bjoern Michaelsen
swbookmarkfixes01: moving more functions from SwDoc to IDocumentPageDescAccess
Bjoern Michaelsen
swbookmarkfixes01: moving more functions from SwDoc to IDocumentPageDescAccess
Bjoern Michaelsen
swbookmarkfixes01: moving more functions from SwDoc to IDocumentPageDescAccess
Bjoern Michaelsen
swbookmarkfixes01: minor refactorings
Bjoern Michaelsen
swbookmarkfixes01: minor refactor docbm.cxx and doc.hxx
Bjoern Michaelsen
swbookmarkfixes01: another batch of functions moved from SwDoc to PageDescManager
Bjoern Michaelsen
swbookmarkfixes01: minor refactor in docdesc.cxx
Bjoern Michaelsen
swbookmarkfixes01: another batch of functions moved from SwDoc to PageDescManager
Bjoern Michaelsen
swbookmarkfixes01: SwDoc now has-a IDocumentPageDescAccess, not is-a IDocumentPageDescAccess
Bjoern Michaelsen
swbookmarkfixes01: finished removing all indexbased-access
Bjoern Michaelsen
swbookmarkfixes01: intermediate commit -- more work on PageDescManager::ForEach in unostyle.cxx
Bjoern Michaelsen
swbookmarkfixes01: intermediate commit -- more work on PageDescManager::ForEach in unostyle.cxx
Bjoern Michaelsen
swbookmarkfixes01: intermediate commit -- more work on PageDescManager::ForEach
Bjoern Michaelsen
swbookmarkfixes01: intermediate commit -- remove indexbased ChgPageDesc
Bjoern Michaelsen
swbookmarkfixes01: intermediate commit -- more work on PageDescManager::ForEach
Bjoern Michaelsen
swbookmarkfixes01: intermediate commit -- more work on PageDescManager::ForEach and GetPageDescByPoolFmtId
Bjoern Michaelsen
swbookmarkfixes01: intermediate commit -- more work on PageDescManager::ForEach
Bjoern Michaelsen
swbookmarkfixes01: intermediate commit -- more work on PageDescManager::ForEach
Bjoern Michaelsen
swbookmarkfixes01: intermediate commit -- removed all index-based access
Bjoern Michaelsen
swbookmarkfixes01: intermediate commit -- removed all index-based access
Bjoern Michaelsen
swbookmarkfixes01: renamed private function FindPageDescByName
Bjoern Michaelsen
swbookmarkfixes01: make FindPageDescByName in SwFEShell more explicit
Bjoern Michaelsen
swbookmarkfixes01: extracted disposing function to SwPageDesc
Bjoern Michaelsen
swbookmarkfixes01: enabled PageDescManager
Bjoern Michaelsen
swbookmarkfixes01: fixed assertion in xmloff
Bjoern Michaelsen
swbookmarkfixes01: #i92304# removing ChgPageDesc for now from IDocumentPageDescAccess interface
Bjoern Michaelsen
swbookmarkfixes01: #i92304# moved/reimplemented DelPageDesc
Bjoern Michaelsen
swbookmarkfixes01: #i92304# moved/reimplemented DelPageDesc
Bjoern Michaelsen
swbookmarkfixes01: #i92304# moved/reimplemented CopyPageDescHeaderFooter
Bjoern Michaelsen
swbookmarkfixes01: #i92304# moved/reimplemented CopyPageDescHeaderFooter
Bjoern Michaelsen
swbookmarkfixes01: #i92304# moved/reimplemented CopyPageDesc
Bjoern Michaelsen
swbookmarkfixes01: #i92304# moved/reimplemented GetPageDescCnt, GetPageDesc, MakePageDesc
Bjoern Michaelsen
swbookmarkfixes01: cleaning up mark manager access
Bjoern Michaelsen
swbookmarkfixes01: #i92304# more page description refactoring
Bjoern Michaelsen
swbookmarkfixes01: #i92304# refactoring pagedescriptions
Bjoern Michaelsen
swbookmarkfixes01: #i62295# implementing a hash_map for faster lookup of Marks by name
Frank Schoenheit [fs]
undoapi: pulled and merged DEV300.m98
Michael Stahl
undoapi: #i116552#: SwAutoCorrDoc: match StartUndo()/EndUndo() calls
Michael Stahl
undoapi: fix regression: undo comments with un-rewritten arguments: various EndUndo() calls undo SwRewriter applications done at StartUndo(). EndUndo() should only be called with a real ID if a comment should be generated from the ID that should become the list action comment.
Michael Stahl
undoapi: fix regression: SwUndoInsLayFmt::GetComment() broken
Michael Stahl
undoapi: fix 0-pointer in SwNodes::ChgNode that did not crash before by luck
Frank Schoenheit [fs]
undoapi: re-enabled the complex test cases in sfx2, using the old build system for the moment, until the new system has JUnit support
Frank Schoenheit [fs]
undoapi: merge
Frank Schoenheit [fs]
undoapi: don't use deprecated JUnit API, this seems to fail now (but didn't before the rebase)
Frank Schoenheit [fs]
undoapi: those two classes do not belong into JAVATESTFILES, but JAVAFILES only
Frank Schoenheit [fs]
undoapi: don't let sw's UndoManager call into SfxUndoManager::Clear when in a list action - introdce a dedicated method (ClearAllLelves) for the pattern needed by sw
Frank Schoenheit [fs]
Automated merge with ssh://hg@hg.services.openoffice.org/cws/undoapi
Frank Schoenheit [fs]
undoapi: merge after pulling CWS sb135
Frank Schoenheit [fs]
undoapi: now that the Writer supports the XUndoManager, too, we can remove the temporary fake test
Frank Schoenheit [fs]
undoapi: fixed wrong resolution of merge conflict
Frank Schoenheit [fs]
undoapi: fix UndoManager test for m96, by disabling a test which uses currently broken external functionality (i116313), and by correcting the broken Basic script in the test which older OOo versions silently accepted
Frank Schoenheit [fs]
undoapi: #i116310# added missing resource files to GNU makefiles
Frank Schoenheit [fs]
undoapi: make those new classes public, now that the fwe lib controls its exported symbols
Frank Schoenheit [fs]
undoapi: post-rebase problems fixed
Frank Schoenheit [fs]
undoapi: make compile with GCC
Frank Schoenheit [fs]
undoapi: re-did the CWS'es changes in the new build system
Frank Schoenheit [fs]
undoapi: merged after pulling DEV300_m96. Most probably still not buildable:A number of changes which happened in the CWS need to be redone due to the new build system
Frank Schoenheit [fs]
undoapi: MSVC WaE (how did this survive the previous compilations?)
Frank Schoenheit [fs]
undoapi: (I|Sfx)UndoManager now working with size_t instead of USHORT
Frank Schoenheit [fs]
undoapi: MSVC WaE
Frank Schoenheit [fs]
undoapi: merged DEV300m95
Michael Stahl
undoapi: UndoCore.hxx: split out UndoSection.hxx
Michael Stahl
undoapi: UndoCore.hxx: split out UndoSplitMove.hxx
Michael Stahl
undoapi: UndoCore.hxx: split out UndoDelete.hxx
Michael Stahl
undoapi: UndoCore.hxx: split out UndoInsert.hxx
Michael Stahl
undoapi: UndoCore.hxx: split out UndoOverwrite.hxx
Michael Stahl
undoapi: UndoCore.hxx: split out UndoSort.hxx
Michael Stahl
undoapi: UndoCore.hxx: split out UndoBookmark.hxx
Michael Stahl
undoapi: UndoCore.hxx: split out UndoAttribute.hxx
Michael Stahl
undoapi: UndoCore.hxx: split out UndoRedline.hxx
Michael Stahl
undoapi: UndoCore.hxx: split out UndoNumbering.hxx
Michael Stahl
undoapi: UndoCore.hxx: split out UndoDraw.hxx
Michael Stahl
undoapi: UndoCore.hxx: split out UndoTable.hxx
Michael Stahl
undoapi: move most of inc/undobj.hxx to source/core/inc/UndoCore.hxx
Michael Stahl
undoapi: #i115383#: replace SwUndos with STL vector
Michael Stahl
undoapi: #i115383#: enable writer undo test
Michael Stahl
undoapi: #i115383#: SwDoc calls SfxObjectShell::SetUndoManager()
Michael Stahl
undoapi: #i115383#: derive sw::UndoManager from SfxUndoManager: derive SwUndo from SfxUndoAction. throw away most of docundo.cxx. throw away SwUndoStart and SwUndoEnd. replace SwUndoIter with sw::UndoRedoContext and sw::RepeatContext. SwUndo::GetId() no longer public to prevent abuse. add SwEditShell::HandleUndoRedoContext().
Michael Stahl
undoapi: #i115383#: SfxUndoManager: fix stack marks, add empty stack marks
Michael Stahl
undoapi: #i115383#: Undo should be disabled at beginning of ~SwDoc
Michael Stahl
undoapi: #i115383#: inserting string via API should disable group Undo
Michael Stahl
undoapi: #i115383#: remove IDocumentUndoRedo::HasTooManyUndos(): it would be much better to handle this problem by using a STL container...
Michael Stahl
undoapi: #i115383#: remove RemoveLastUndo() from IDocumentUndoRedo
Michael Stahl
undoapi: #i115383#: change return type of GetLastUndoInfo() to bool: unfortunately several places need the ID, so add the ID as an out parameter. a bool return is necessary in case the Undo action is not a writer action, but created via the undo API.
Michael Stahl
undoapi: #i115383#: change return type of GetFirstRedoInfo() to bool: nobody needs the ID, and SfxUndoManager currently does not provide it.
Michael Stahl
undoapi: #i115383#: remove SwUndo::SetId(), make SwUndo::m_nId const
Michael Stahl
undoapi: #i115383#: remove duplicative SwUndoSort::RemoveIdx()
Michael Stahl
undoapi: #i115383#: replace SwUndo->GetId() + static_cast with dynamic_cast: the static_cast would become dangerous with SfxUndoManager. also fix bogus cast in SwUndoTblCpyTbl::Undo(): happened to work by accident.
Michael Stahl
undoapi: #i115383#: ensure that AppendUndo is only called when Undo is enabled: SfxUndoManager differs from current AppendUndo() implementation here.
Michael Stahl
undoapi: #i115383#: remove unnecessary UndoGuards: implementations of Undo() and Redo() on SwUndo subclasses are always called with Undo disabled from UndoManager::Undo()/Redo().
Michael Stahl
undoapi: #i115383#: move sw::UndoGuard in SwDoc::SetFlyFrmAnchor(): create a static helper function and do undo stuff in the wrapper.
Michael Stahl
undoapi: #i115383#: move sw::UndoGuard in SwDoc::InsertDrawLabel(): create a static helper function and do undo stuff in the wrapper.
Michael Stahl
undoapi: #i115383#: move sw::UndoGuard in SwDoc::InsertLabel(): create a static helper function and do undo stuff in the wrapper.
Michael Stahl
undoapi: #i114888#: move sw::UndoGuards: in order to ensure that AppendUndo() is only called when Undo is enabled, move some UndoGuards a couple lines downward.
Michael Stahl
undoapi: #i115383#: remove SwUndoIter::pLastUndoObj: this seems to be used only as an optimization, to not apply several idempotent actions on Repeat. but it does not work properly anyway, because it only checks the _previous_ undo action, and not all actions since the UNDO_START. for the only non-idempotent action (SwUndoDelete) introduce a boolean flag SwUndoIter::m_bDeleteRepeated, and remove all other uses.
Michael Stahl
undoapi: #i115383#: remove SwUndoIter::bUpdateAttr: no idea why this would be necessary, but having the edit shell clean up attributes after a Redo is a stupid idea anyway, so remove it and see if anyone complains.
Michael Stahl
undoapi: #i115383#: clean up SwUndoReplace: remove internal history, and ugly special case hacks in UndoManager::Undo(). refactor comment of SwUndoReplace: new MakeUndoReplaceRewriter(). SwDoc::ReplaceRangeImpl(): always create new SwUndoReplace.
Michael Stahl
undoapi: #i115383#: remove SwRewriter from SwUndoStart/SwUndoEnd: the replacement, SfxListUndoAction, only has a String comment...
Michael Stahl
undoapi: #i115383#: split up IDocumentUndoRedo::Get{Undo,Redo}Ids(): remove class SwUndoIdAndName and associated pointer abuse. split up IDocumentUndoRedo::Get{Undo,Redo}Ids(): Get{LastUndo,FirstRedo,Repeat}Info() return string and ID for current action. Get{Undo,Redo}Comments() return all Undo/Redo comments. adapt SwEditShell interface as well.
Michael Stahl
undoapi: #i115383#: new IShellCursorSupplier, implemented by SwCrsrShell
Michael Stahl
undoapi: SwNodes: remove obsolete operator[](SwNodeIndex&)
Michael Stahl
undoapi: SwDoc: replace SwNodes member with pointer, remove ndarr.hxx include
Michael Stahl
undoapi: #i115383#: rollback change: make SwNodes ctor protected again
Michael Stahl
undoapi: stuff in sw/source/ui should not include undobj.hxx
Michael Stahl
undoapi: move some headers from sw/inc to sw/source/core/inc
Frank Schoenheit [fs]
undoapi: need only OOoRunnerLight, not OOoRunner
Frank Schoenheit [fs]
undoapi: allow to clear the Redo stack on the top level (needed for Writer's migration to SfxUndoManager)
Frank Schoenheit [fs]
undoapi: now that XEmbeddedObject.doVerb actually works, use it for chart activation. (Really appreciate the resulting simplification of the code\!)
Frank Schoenheit [fs]
undoapi: merge
Frank Schoenheit [fs]
undoapi: merge after pulling selected changeset from CWS fwk162
Frank Schoenheit [fs]
undoapi: #i33781# include XUndoManagerSupplier
Frank Schoenheit [fs]
undoapi: clear the redo stack when leaving an Undo context resp. list action, not when entering it. This is a pre-requisite for Writer's upcoming migratin to SfxUndoManager
Frank Schoenheit [fs]
undoapi: Undo/Redo: do not take ownership of a (derivee-provided) SfxUndoContext, since it acts as out parameter, too. Instead, introduce a Undo/Redo which takes the context as parameter
Frank Schoenheit [fs]
undoapi: introduced an (optional) SfxUndoContext for SfxUndoAction::Undo/Redo
Frank Schoenheit [fs]
undoapi: removed unused TextUndo IDs, for purpose of simplification
Frank Schoenheit [fs]
undoapi: +RemoveOldestUndoActions
Frank Schoenheit [fs]
undoapi: support for (simple) marks on the Undo stack
Frank Schoenheit [fs]
undoapi: MSVC WaE
Frank Schoenheit [fs]
undoapi: assert unknown slots in ImplInvalidateFeature
Frank Schoenheit [fs]
undoapi: removed unused SfxDispatcher Enter/LeaveAction
Michael Stahl
udoapi: merge sw refactoring with undoapi stuff
Michael Stahl
unodapi: #i115383#: cleanup implementation of sw::UndoManager a bit
Michael Stahl
unodapi: #i115383#: remove SwDoc dependence from sw::UndoManager: replace all uses of SwDoc with interfaces.
Michael Stahl
unodapi: #i115383#: move RemoveInvisibleContent() from UndoManager to SwDoc.
Michael Stahl
unodapi: #i115383#: clean up UndoActionCount: remove static {Get,Set}UndoActionCount() from SwDoc, UndoManager, SwEditShell. use the already existing UndoOptions in SwModule instead. refactor the ugly hack with undo in SwInputWindow a little.
Michael Stahl
unodapi: #i115383#: IDocumentUndoRedo: Draw undo flag: replace SwDoc methods IsNoDrawUndoObj()/SetNoDrawUndoObj() with IDocumentUndoRedo methods DoDrawUndo()/DoesDrawUndo(). add sw::DrawUndoGuard.
Michael Stahl
unodapi: #i115383#: IDocumentUndoRedo: undo nodes array: move the undo nodes array from SwDoc to sw::UndoManager. replace GetUndoNds() with IsUndoNodes(), covering 90% of callers. add sw::UndoManager::GetUndoNodes() for use by the Undo implementation itself. remove unused horrible parameter from Writer::NewSwPaM().
Michael Stahl
unodapi: #i115383#: IDocumentUndoRedo: clean up unmodified position: replace {get,set}UndoNoModifiedPosition with {,Un}LockUndoNoModifiedPosition() for preserving it across SaveAs, and SetUndoNoModifiedPosition() for use by SwDoc::SetModified().
Michael Stahl
unodapi: #i115383#: remove HasUndoId() from IDocumentUndoRedo
Michael Stahl
unodapi: #i115383#: remove clutter from IDocumentUndoRedo: remove methods GetUndoIdsStr(), GetRedoIdsStr(), GetRepeatIdsStr(). remove unused parameter from GetRepeatIds().
Michael Stahl
unodapi: #i115383#: add documentation for IDocumentUndoRedo
Michael Stahl
unodapi: #i114888#: sw: clean up some more, using sw::UndoGuard. note: some of this relies on ClearRedo() not checking DoesUndo().
Michael Stahl
unodapi: #i114888#: sw: introduce sw::UndoGuard, sw::GroupUndoGuard, clean up
Michael Stahl
unodapi: #i115383#: clean up ClearRedo() usage: ClearRedo() is already called by AppendUndo(): remove superfluous calls of ClearRedo. implementation of ClearRedo() should not check DoesUndo(); that seems kinda pointless, and creates difficulties for refactoring.
Michael Stahl
unodapi: #i115383#: SwDoc: remove the forwarding implementation of IDocumentUndoRedo from SwDoc. instead call the UndoManager directly, via SwDoc::GetIDocumentUndoRedo().
Michael Stahl
unodapi: #i115383#: new sw::UndoManager: new header UndoManager.hxx, new class sw::UndoManager. UndoManager implements the IDocumentUndoRedo interface. SwDoc has UndoManager member, and forwards IDocumentUndoRedo calls.
Frank Schoenheit [fs]
undoapi: renamed Undo.* to RptUndo.*, to not confuse a certain IDE with different same-named files in the source tree ...
Frank Schoenheit [fs]
undoapi: fix Reset
Frank Schoenheit [fs]
undoapi: migrated report designer to use an own, model-bound UndoManager, instead of the UndoManager formerly bound to the controller
Frank Schoenheit [fs]
undoapi: split OSingleDocumentController into DBSubComponentController (which the report design's controller will be derived from) and the still-so-named OSingleDocumentController. Module reportdesign does not compile with this change, this is yet to come.
Frank Schoenheit [fs]
undoapi: remove unused IEnvironment interface
Frank Schoenheit [fs]
undoapi: fixed post-rebase compile error
Frank Schoenheit [fs]
undoapi: merge after pulling DEV300.m94
Frank Schoenheit [fs]
undoapi: unxsols4 WaE
Frank Schoenheit [fs]
undoapi: disable failing test (complex.sfx2.GlobalEventBroadcaster) for now. issue id: i115674
Frank Schoenheit [fs]
undoapi: removed EnterStandardMode, again. The requirements / results in the different applications are that different - it does make sense to have a single method doing this, as defining its semantics is rather impossible
Frank Schoenheit [fs]
undoapi: when inserting shapes, hide the Undo action which results from the initial positioning of the object
Frank Schoenheit [fs]
undoapi: ooops - fixed shape undo actions
Frank Schoenheit [fs]
undoapi: committed fixed for #i115639#, which has been applied as master fix to DEV300.m94
Frank Schoenheit [fs]
undoapi: don't do view updates when paints are locked
Frank Schoenheit [fs]
undoapi: un/lockControllers: when within an Undo context while this is called, then add an artificial Undo action, which later on 'replays' the un/lock
Frank Schoenheit [fs]
undoapi: GCC WaE
Frank Schoenheit [fs]
undoapi: doVerb does not work, currently ... but leave it here, commented out, for the moment
Frank Schoenheit [fs]
undoapi: release lock on own mutex when calling into the UndoHelper
Frank Schoenheit [fs]
undoapi: implement XUndoManager/Supplier for Base sub components
Frank Schoenheit [fs]
undoapi: make the SfxUndoManager an impl detail of OSingleDocumentControllerImpl, instead of exposing it as member
Frank Schoenheit [fs]
undoapi: carry the SfxUndoManager around as &, not as *
Frank Schoenheit [fs]
undoapi: when exposing the EmbeddedObject, ensure it has a client site
Frank Schoenheit [fs]
undoapi: make reset an explicit, atomar operation at the IUndoManager, instead of simulating it in a higher layer
Frank Schoenheit [fs]
undoapi: fixed compilation error
Frank Schoenheit [fs]
undoapi: updated the Chart test backend
Frank Schoenheit [fs]
undoapi: respect the config limiting the maximum number of undo actions. No life-update anymore, i.e. changes in this setting are respected by new instances only, not by existing instances. This is a degradation (a bearable, IMO) compared to the old implementation, but consistent with other apps. So, why adding unnecessary complexity?
Frank Schoenheit [fs]
undoapi: undo/redo: call ChartViewHelper::setViewToDirtyState (was still left after the refactoring)
Frank Schoenheit [fs]
undoapi: re-implemented the XModifyBroadcaster for chart's UndoManager, for this purpose, added support to the UndoManagerHelper
Frank Schoenheit [fs]
undoapi: some exception safety
Frank Schoenheit [fs]
undoapi: moved UndoGuard.hxx to the only folder where it is used, renamed ImplDocumentActions.* to UndoActions.*
Frank Schoenheit [fs]
undoapi: some cleanups after the previos refactoring (more to come)
Frank Schoenheit [fs]
undoapi: derive XUndoManager from XChild, to allow convenient access to the document it belongs to
Frank Schoenheit [fs]
undoapi: step 2.3 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: migrate the clients of XDocumentActions to using the new XUndoManager, and completely remove the (X)DocumentActions still some more cleanup needed
Frank Schoenheit [fs]
undoapi: step 2.2 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: base the implementation of XDocumentActions on the document's UndoManager
Frank Schoenheit [fs]
undoapi: doVerb: release mutex before calling into changeState
Frank Schoenheit [fs]
undoapi: step 2.1 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: implement an XUndoManager/Supplier for chart documents
Frank Schoenheit [fs]
undoapi: implement an EmbeddedObject property for (OLE) shapes, to be consistent with the shape implementations of the other applications, and allow access to the XEmbeddedObject
Frank Schoenheit [fs]
undoapi: added test for request serialization: parallel undo requests should still execute the undo operations in the proper order
Frank Schoenheit [fs]
undoapi: instead of processing requests in a dedicated thread (which would require us to explicitly tamper with the SolarMutex, to really release *each* lock the caller might have on it), process requests in the thread where the first request arrived. Still ensure the requests are serialized.
Frank Schoenheit [fs]
undoapi: delegate UndoManagerHelper's (modifying) API calls into a dedicated thread, serializing them this way
Frank Schoenheit [fs]
undoapi: mutex.h => mutex.hxx / deliver mutex.hxx
Frank Schoenheit [fs]
undoapi: fixed GCC-reported error
Frank Schoenheit [fs]
undoapi: give SfxUndoManager an own mutex, and ensure it is released before calling into SfxUndoAction::Un/Redo This allows clients to delegate the MT thread safety to the SfxUndoManager, calling into it without an own mutex locked. Which will hopefully allow us to get rid of some deadlocks.
Frank Schoenheit [fs]
undoapi: step 2.0 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: rename css.chart2.XUndoManager to XDocumentActions. Not sure this class will still exist (in either form) after the refactoring is finished.
Frank Schoenheit [fs]
undoapi: step 1 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: separate the DocumentUndoManager into a (SFX-independent) UndoManagerHelper (which later on can be used in chart2) and the SFX-dependent part
Frank Schoenheit [fs]
undoapi: step 0.1 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: remove the XModel paramter from the XUndoManager methods, they're an implicit attribute of the instance
Frank Schoenheit [fs]
undoapi: step 0.0 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: remove the unused XUndoHelper
Frank Schoenheit [fs]
undoapi: unxlngi6 WaE
Frank Schoenheit [fs]
undoapi: no need to access an sd::UndoManager where an svl::IUndoManager is sufficient
Frank Schoenheit [fs]
undoapi: EnterStandardMode only after checking all pre-conditions
Frank Schoenheit [fs]
undoapi: added tests for OOo's auto-closing of Undo contexts after executing scripts which do not properly do this themselves
Frank Schoenheit [fs]
undoapi: when assigning scripts to events programmatically, do not only accept PropertyValue[], but, for the client's convenience, also NamedValue[]
Frank Schoenheit [fs]
undoapi: replace validateXRef with UNO_QUERY/SET_THROW resp. ENSURE_OR_THROW
Frank Schoenheit [fs]
undoapi: attempt to fix broken Undo contexts after executing a script
Frank Schoenheit [fs]
undoapi: GCC WaE
Frank Schoenheit [fs]
undoapi: removed more dead resources
Frank Schoenheit [fs]
undoapi: GCC WaE
Frank Schoenheit [fs]
undoapi: argh, the last changeset was never intended to be 'qfinish'ed, or even pushed. Reverted.
Frank Schoenheit [fs]
undoapi: IUndoManager::GetUndoAction/Id/Comment/Count and IUndoManager::GetRedoActionCount/Comment now, by definition, work on the top level, not on the current level (in case of a list action being active)
Frank Schoenheit [fs]
undoapi: finally removed Enter/LeaveBasicAction
Frank Schoenheit [fs]
undoapi: removed SID_PLAYMACRO and SfxApplication::PlayMacro_Impl - this was dead code. (Also removed some other dead slot ID definitions which were unused, and which jumped upon me while removing SID_PLAYMACRO)
Frank Schoenheit [fs]
undoapi: GCC WaE
Frank Schoenheit [fs]
undoapi: allow retrieving the count/comments of Undo/Redo actions both on the current and the top level
Frank Schoenheit [fs]
undoapi: - introduced BasicManager::HasMacro/ExecuteMacro - removed SfxQueryMacro, superseded by BasicManager::ExecuteMacro - removed macrconf.hxx - removed SfxObjectShell::CallScript, migrated the only client to BasicManager::HasMacro/SfxObjectShell::CallXScript - removed SfxObjectShell::CallStarBasicScript, migrated the only client to SfxObjectShell::CallXScript
Frank Schoenheit [fs]
undoapi: removed SfxObjectShell::Call - the implementation was broken, and it had no clients
Frank Schoenheit [fs]
undoapi: moved the last remaining method of SfxMacroConfig (::Call) into the SfxApplication, and got rid of the class completely
Frank Schoenheit [fs]
undoapi: no need to hold a SfxEventConfiguration instance at the application - it has static members only
Frank Schoenheit [fs]
undoapi: made the SfxMacroConfig event more slim, by removing unused methods. In turn, got rid of SfxMacroInfo, which is not used anymore
Frank Schoenheit [fs]
undoapi: step 2 of getting rid of SfxMacroConfig
Frank Schoenheit [fs]
undoapi: removed SfxMacroConfig functionality which related to administration of slot runtime-generated slot IDs corresponding to script macros - the last (pseudo-) client of this was just removed, so all of this is dead
Frank Schoenheit [fs]
undoapi: get rid of the usage of SfxMacroConfig::GetSlotId: the only thing done here is creating an SfxMacroInfo instance, whose only usage is the macro name (nowadays: script name) it carries. This can be done cheaper, by just carrying the string. The slot ID was never actually used.
Frank Schoenheit [fs]
undoapi: removed unused SFX_CFGGROUP_* items
Frank Schoenheit [fs]
undoapi: Enter/LeaveBasicCall are no-ops nowadays - removed
7909 commits not shown.