Commit graph

10703 commits

Author SHA1 Message Date
Ocke Janssen [oj]
72285cf677 dba33e: fix not operator 2010-02-10 09:44:20 +01:00
Frank Schoenheit [fs]
876b084e80 autorecovery: corrected assertion 2010-02-09 23:46:32 +01:00
Frank Schoenheit [fs]
ce04ad4d2a autorecovery: disposing; be prepared for disposal of a not-yet-fully-constructed instance (happens e.g. when throwing during initialization) 2010-02-09 23:13:41 +01:00
Frank Schoenheit [fs]
5f0d3499f0 autorecovery: GetDocumentServiceFromMediaType: try alternative, seemingly equivalent approach 2010-02-09 23:12:40 +01:00
Frank Schoenheit [fs]
d8352bc6e0 autorecovery: make m_pView a private member of the GenericController, with defined access methods 2010-02-09 17:26:40 +01:00
Frank Schoenheit [fs]
05e2a9183c autorecovery: do not hold another member pointing to m_pView, this is crash-prone in case of the base class deleting it (e.g. when initialization throws an exception) 2010-02-09 15:35:48 +01:00
Ocke Janssen [oj]
ec5b5ea536 dba33f: #i108730# impl case case and rank functions 2010-02-08 14:11:22 +01:00
Ocke Janssen [oj]
1baf7abd1c dba33f: #i53377# make property IsReadOnly bound 2010-02-08 14:09:08 +01:00
Ocke Janssen [oj]
d16fa93c41 dba33f: don't ask every driver for a tables keys and consolidate some code fragments 2010-02-08 14:07:46 +01:00
sb
ce8caafcc2 sb118: merged in DEV300_m71 2010-02-08 09:18:14 +01:00
Frank Schoenheit [fs]
56cc145c6e autorecovery: allow for a human-readable DocumentServiceName instead of this strange class ID when creating a document definition 2010-02-05 22:03:01 +01:00
Frank Schoenheit [fs]
e35642d963 autorecovery: merge 2010-02-05 14:11:11 +01:00
Frank Schoenheit [fs]
bc49437f5f autorecovery: post-rebase conflicts solved (namespace tools is ambiguous now) 2010-02-05 14:07:26 +01:00
Frank Schoenheit [fs]
2ebfb85c07 autorecovery: merge 2010-02-05 12:21:39 +01:00
Vladimir Glazunov
b5e5e8ee92 CWS-TOOLING: integrate CWS svxsplit 2010-02-05 11:53:09 +01:00
Frank Schoenheit [fs]
00684a716b autorecovery: merge 2010-02-05 11:15:42 +01:00
Frank Schoenheit [fs]
e00e609de1 autorecovery: merge after pulling CWS dba33e 2010-02-05 11:15:32 +01:00
Ocke Janssen [oj]
6726468497 dba33f: #i108939# apply patch to remove unused code 2010-02-05 08:23:12 +01:00
Frank Schoenheit [fs]
abb51ede00 autorecovery: derive XReportDefinition from XModifiable2, extending XModifiable 2010-02-04 22:49:44 +01:00
Mathias Bauer
c7c976e433 CWS svxsplit: merge with m71 2010-02-04 17:59:58 +01:00
Frank Schoenheit [fs]
538e41ebb4 autorecovery: form and report wizzard now also using XDatabaseDocumentUI, instead of manipulating document definitions
All database object wizards by now employ XDatabaseDocumentUI. This way, it is ensured that the controller
has the full control over the opened sub components.

Still, other third-party code could use direct access to the document definitions, and open sub documents this way.
This would go unnoticed by the application controller at the moment. I would be possible to fix this, by introducing
broadcasts from the document definitions, listened to by the controller. But as this sounds like a rare case, and
XDatabaseDocumentUI is the preferred way for third-party components, too, such an implementation is deferred to Later ...
2010-02-04 16:04:06 +01:00
Frank Schoenheit [fs]
4831a67ec5 autorecovery: need to lock the SolarMutex when disposing, some of the dependent components might need this when they die 2010-02-04 16:03:51 +01:00
Frank Schoenheit [fs]
500131391f autorecovery: post-rebase build problems solved 2010-02-04 14:13:58 +01:00
Frank Schoenheit [fs]
1265c7385c autorecovery: commit resolved merge (after rebase to m71) 2010-02-04 10:38:39 +01:00
Ocke Janssen [oj]
d07526bb47 Merge from DEv300:m71 2010-02-04 09:18:33 +01:00
Frank Schoenheit [fs]
ed853a88ff autorecovery: re-work the table wizard so that it does not open the table itself, but uses XDatabaseDocumentUI
Consequently, it does not need to return the created model/controller anymore. This way, the application controller
has full control over its sub components, which didn't work reliably before.

Other wizards (query/form/report) are to follow. For this purpose, they're also to be based on the newly introduced
DatabaseObjectWizard class.
2010-02-03 11:52:40 +01:00
Frank Schoenheit [fs]
28b38d73e5 autorecovery: when calling a pilot to create a database object, pass the XDatabaseDocumentUI, too 2010-02-03 11:46:23 +01:00
Frank Schoenheit [fs]
aefb13e5d8 autorecovery: when creating a new form/report by wizard, ensure that our sub component manager knows it by its proper name 2010-02-02 23:05:43 +01:00
Frank Schoenheit [fs]
7de2856ae1 autorecovery: let definition contents support the XHierarchicalName property, so clients can easily retrieve the hierarchical name of a content 2010-02-02 23:05:16 +01:00
Frank Schoenheit [fs]
7af941376a autorecovery: allow the sub component manager to hold multiple objects of the same type, which are new and yet-unsaved (i.e. do not have a name, yet) 2010-02-02 13:57:03 +01:00
Frank Schoenheit [fs]
25d5251771 autorecovery: execute(open*): do not call getComponent just for checking whether it is a report definition, this implicitly changes the state of the embedded object, which can have side effects 2010-02-02 13:53:13 +01:00
Frank Schoenheit [fs]
2d3fb08873 autorecovery: (caught by complex test) store: when we do not (yet) have an URL, store to storage, not to URL 2010-02-02 10:49:34 +01:00
Frank Schoenheit [fs]
51d6afeb37 autorecovery: this slipped through my previous attempt to replace all instantiations of the deprecated sdb.InteractionHandler with task.InteractionHandler 2010-02-02 10:12:38 +01:00
Frank Schoenheit [fs]
13e8f2a69b autorecovery: more sophisticated configuration data for interaction handlers
The generic css.task.InteractionHandler implementation in module uui is now able to instantiate "sub handlers", i.e.
components to delegate a request to, based on the type of the request, and some configuration data.

The "old" (and now deprecated) configuration scheme at org.openoffice.ucb.InteractionHandler did not contain type
information, so any handlers registered there were always called when no default implementation for a given request
was available.

The "new" configuration scheme at org.openoffice.Interaction contains UNO type information. That is, a given handler
implementation can declare itself responsible for an arbitrary set of UNO types, and for each of those types, whether
it is also responsible for sub types.
The generic interaction handler implementation uses this configuration data, when it encounteres an interaction
request it cannot fullfill itself, to instantiate a component to delegate the request to.

As with the "old" data, such a component is required to support the css.task.XInteractionHandler2 interface. Also,
if it supports css.lang.XInitialization, then it will be initialized with a name-value pair, the name being
"Parent", the value being the XWindow interface of the parent window for any message boxes.

As an examplary implementation for this feature, the css.sdb.InteractionHandler has been deprecated. Now the
css.sdb.DatabaseInteractionHandler is reponsible for database-related interactions, and the new configuration scheme
is pre-filled with data assigning this responsibility.

Consequently, a lot of places previously creating an css.sdb.InteractionHandler have been modified to create the
default css.task.InteractionHandler.
2010-02-01 21:32:33 +01:00
Frank Schoenheit [fs]
02c9c9960f autorecovery: recoverSubDocuments: propagate exceptions to the caller, this way aborting the complete recovery process 2010-02-01 11:43:40 +01:00
sb
e884cc86ee sb118: #i108776# changed addsym.awk to also export STLport num_put symbols, and simplified it by requiring that first section is labeled UDK_3_0_0; adapted map files accordingly, replacing many individual ones with solenv/src templates 2010-01-29 17:01:54 +01:00
Frank Schoenheit [fs]
893f3398ca autorecovery: saveToRecoveryFile => storeToRecoveryFile 2010-01-29 15:38:20 +01:00
Frank Schoenheit [fs]
321086abdf autorecovery: respect a media descriptor member "ForceRecovery".
When set to <TRUE/>, then an attempt to recover sub documents in the "recovery" folder is made.
In this course, the m_aArgs member of the ModelImpl was replaced with m_aMediaDescriptor, being a NamedValueCollection,
for easier access.
2010-01-29 13:54:37 +01:00
Frank Schoenheit [fs]
f2478cdceb autorecovery: recover-hidden now also available for new (yet unsaved) forms/reports 2010-01-29 13:06:38 +01:00
Frank Schoenheit [fs]
b7b66e1606 autorecovery: recover forms/reports hidden, and show them when the main window is shown 2010-01-29 13:04:04 +01:00
Frank Schoenheit [fs]
e6313ed87a merge 2010-01-29 10:15:59 +01:00
Frank Schoenheit [fs]
e1e25bdd16 dba33f: when re-activating an embedded object, do not reset its modified state (plus do not the other initializations which are needed for the first activation only) 2010-01-29 10:12:25 +01:00
Frank Schoenheit [fs]
e0288f9960 dba33f: when re-activating an embedded object, do not reset its modified state (plus do not the other initializations which are needed for the first activation only) 2010-01-29 10:12:25 +01:00
Frank Schoenheit [fs]
0a8fa850da autorecovery: removed dbdocrecovery.obj, should have happened when the cxx file was moved 2010-01-29 08:50:19 +01:00
Frank Schoenheit [fs]
09af8ffba3 autorecovery: removed a few IMO useless dependencies 2010-01-28 22:36:35 +01:00
Frank Schoenheit [fs]
630c4139a8 autorecovery: creating dedicated core/recovery folder, taking current and future implementations regarding document recovery 2010-01-28 22:34:45 +01:00
Frank Schoenheit [fs]
67f02ec2e2 autorecovery: move the responsibility for calling attachResource into recoverFromFile. This saves us from some problems with SFX-based documents, which change there Args during the load process (during macro confirmation), so a later attachResource from outside would overwrite those changed args 2010-01-28 22:19:50 +01:00
Ingrid Halama
088277862f chartmultiline: merge with DEV300_m70 2010-01-28 16:29:55 +01:00
Ocke Janssen [oj]
4db1729503 Automated merge with ssh://hg@hg.services.openoffice.org/cws/dba33f 2010-01-28 10:48:38 +01:00
Ocke Janssen [oj]
e81dc7f26f dba33f: #i108548# handle Label property from parse column and rowsetcolumn 2010-01-28 10:39:25 +01:00