Commit Graph

736 Commits

Author SHA1 Message Date
Wol
9b6062afb3 Spelling mistakes, and deleting unwanted comments and commented code 2010-11-10 08:50:30 +01:00
Caolán McNamara
e9470b0050 add modelines to .hxx files as well 2010-10-27 12:33:13 +01:00
Norbert Thiebaud
84869b63b4 merge vosremoval-mutex.diff
In practice the changeset is 'inspired' by vosremoval-mutex.diff
but was essentially redone manually
2010-10-25 17:54:56 -05:00
Norbert Thiebaud
25ecc1fd1a merge vosremoval-reference.diff 2010-10-25 17:54:56 -05:00
Norbert Thiebaud
921136c693 use SolarMutexGuard to guard the SolarMutex 2010-10-25 17:54:56 -05:00
Povilas Kanapickas
fd9fa01e69 remove non-compiled code 2010-10-18 15:33:03 +01:00
Gil Forcada
58ccb8ca29 Removed comments, trailing spaces and death code (2) 2010-10-13 12:25:14 +02:00
Sebastian Spaeth
6450d1a7f5 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-13 10:57:12 +02:00
Rubén Jáñez
910a1f688b Removes some bogus comments found in Base. 2010-10-11 10:39:25 +01:00
Kayo Hamid
d7f4b5a0fc Use SAL_N_ELEMENTS macro 2010-10-09 22:17:25 -05:00
Petr Mladek
fbd40753f5 more removed include guards using fixguard.py 2010-10-05 17:58:28 +02:00
Petr Mladek
dc8c15ae62 remove include guards using fixguard.py 2010-10-05 17:58:28 +02:00
Kurt Zenker
a86eb1b066 CWS-TOOLING: integrate CWS fs33a 2010-09-03 14:39:55 +02:00
Ocke Janssen [oj]
7d8e147c64 fs33a: #i113583# handle column names from complex descriptions 2010-08-24 14:32:12 +02:00
Frank Schoenheit [fs]
504e95116c merging in latest changes from OOO330(m3) 2010-08-10 14:53:21 +02:00
Thomas Lange [tl]
4947d6c91e cws tl79: merge with DEV300_m83 2010-06-18 13:09:52 +02:00
Thomas Lange [tl]
fbe48b903e cws tl79: merge 2010-04-28 10:17:23 +02:00
Frank Schoenheit [fs]
b6693080a1 dba33f: merge with m76-branch 2010-04-16 13:55:24 +02:00
Thomas Lange [tl]
ccc5686417 cws tl79: #i110053# remove old svtools LoginDialog 2010-03-16 10:59:46 +01:00
Frank Schoenheit [fs]
c73b3e8ea9 autorecovery: merged changes from m74. Still need to find out how to re-do two patches (to module_hidden_ooo.scp and file_ooo.scp in scp2/source/ooo) which do not apply anymore. 2010-03-11 11:26:05 +01:00
Frank Schoenheit [fs]
d28b920406 autorecovery: care for recovering a previously unmodified file (where SalvagedFile is empty) 2010-02-22 10:16:39 +01:00
Frank Schoenheit [fs]
f134b69089 autorecovery: 'using' directive needed to compile on unxsols4 without warning 2010-02-19 11:18:44 +01:00
Frank Schoenheit [fs]
fd8c2dd978 dba33f: #i108311# 2010-02-18 12:17:18 +01:00
Frank Schoenheit [fs]
1999b46d09 autorecovery: oops, this variable needs to be available in a pro-build, too ... 2010-02-18 11:38:26 +01:00
Frank Schoenheit [fs]
110b7db42f autorecovery: do the recovery in setCurrentController, not in connectController - this ensures all knittings, in particular between controller and frame, already happened 2010-02-16 15:31:07 +01:00
Frank Schoenheit [fs]
2cf0840f4c autorecovery: clarified the role of a doc's URL/Location
as per agreement with MAV, XModel::getURL and XStorable::getLocation both need to return the logical document
URL, even when the document has been recoved from another location.
So, the DocFileLocation of the ModelImpl now is for internal purpose only. Consequently, ModelImpl's API has
been reworked to better differ between the logical and the "loaded-from" URL of the document.
2010-02-15 16:05:58 +01:00
Jens-Heiner Rechtien
1708f6091b changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Ocke Janssen [oj]
55aca7c428 automated merge from dba33e 2010-02-11 07:55:30 +01:00
Frank Schoenheit [fs]
e2f368bccc Automated merge with ssh://hg@hg.services.openoffice.org/cws/autorecovery 2010-02-10 15:11:19 +01:00
Frank Schoenheit [fs]
d0e69d3280 merge 2010-02-10 14:17:11 +01:00
Ocke Janssen [oj]
02df552c45 dba33e: #i107717# some renaming and wording changed 2010-02-10 13:08:22 +01:00
Frank Schoenheit [fs]
4f8f578855 autorecovery: when saving to a new location, dispose the forms/reports container after disposing the storages they're based on 2010-02-10 11:29:34 +01:00
Frank Schoenheit [fs]
5f0d3499f0 autorecovery: GetDocumentServiceFromMediaType: try alternative, seemingly equivalent approach 2010-02-09 23:12:40 +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
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
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]
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
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]
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]
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]
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]
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