Commit graph

14586 commits

Author SHA1 Message Date
Frank Schoenheit [fs]
a44bc63de9 autorecovery: populate the 'Command' property 2010-02-03 12:50:22 +01:00
Frank Schoenheit [fs]
619a6a4ab1 autorecovery: also moved the QueryWizard to using XDatabaseDocumentUI.loadComponent, instead of opening the sub component itself 2010-02-03 12:44:27 +01:00
Frank Schoenheit [fs]
e2fa939261 autorecovery: removed unused class XCallQueryWizard 2010-02-03 11:53:44 +01:00
Frank Schoenheit [fs]
a31b27b704 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]
6242c77610 autorecovery: addDatabaseDocument: do not close the document after having disposed it - this will throw nowadays 2010-02-02 22:42:50 +01:00
Frank Schoenheit [fs]
cd6abead39 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]
923e15dd7d autorecovery: initial implementation of a new save/recovery for database documents
For the moment, the document only stores and loads itself, as before.

In this course, the AutoRecovery service now delegates the decision whether or not a document
needs to be stored (to the "salvage location") to the document itself, using the new method
XDocumentRecovery::wasModifiedSinceLastSave, superseded the previous E_MODIFIED_SINCE_LAST_AUTOSAVE
flag.

XDocumentRecovery::wasModifiedSinceLastSave has been implemented for SfxBaseModel, yielding the same
behavior as before.

It has also been implemented for database documents, where the implementation is somewhat "sloppy",
in that it returns always <TRUE/> when any of the opened sub components of the document is modified.
2010-01-12 23:32:12 +01:00
Frank Schoenheit [fs]
5a86dd4ef5 autorecovery: merge after rebase to m69 2010-01-08 22:50:33 +01:00
Frank Schoenheit [fs]
b524974211 autorecovery: basdoc.cxx needs exceptions by now (well, really, it always needed them, but now the compiler complains) 2010-01-07 21:47:03 +01:00
Jens-Heiner Rechtien
8a5b599890 DEV300 masterfix: get_sis_time_string(): correct calculation of month 2010-01-07 13:02:32 +01:00
Frank Schoenheit [fs]
77bc1109ee autorecovery: allow creating SFX-based documents which do not support the XDocumentRecovery interface
For this purpose, the SFX document factory methods got an additional parameter respectively flag
("DocumentRecoverySupport" resp. SFXMODEL_DISABLE_DOCUMENT_RECOVERY). This flag is used by database
documents to remove the interface from sub documents (aka forms/reports).
In this course, some of the functionality around those SFXMODELL_* flags, previously duplicated in
all applications, has been consolidated into a new SfxObjectShell constructor.
2010-01-06 21:34:53 +01:00
Jens-Heiner Rechtien
2023a7904c DEV300 masterfix: #i10000#: add missing <string.h> includes; fix CR/LF 2010-01-06 18:18:06 +01:00
Jens-Heiner Rechtien
5c15c000c0 CWS-TOOLING: integrate CWS fwk133_DEV300 2010-01-05 14:14:36 +01:00
Jens-Heiner Rechtien
4515ed94b8 CWS-TOOLING: integrate CWS fontooocleanup 2010-01-05 13:58:05 +01:00
Jens-Heiner Rechtien
9840a34e28 CWS-TOOLING: integrate CWS sb116 2010-01-05 13:01:54 +01:00
Jens-Heiner Rechtien
d69404b1ef CWS-TOOLING: integrate CWS d2v02 2010-01-05 12:37:48 +01:00
Jens-Heiner Rechtien
58221c0665 CWS-TOOLING: integrate CWS aw078 2010-01-04 18:51:18 +01:00
Armin Le Grand
6b86cf5697 aw078: resync to DEV300m68for integration 2009-12-21 20:40:13 +01:00
Release Engineering
b87a09786d #100000# fix for SO build environment 2009-12-16 15:56:11 +01:00
Mikhail Voitenko
540e80d2fc #i107688# handle the broken documents correctly 2009-12-16 14:02:04 +00:00
Frank Schoenheit [fs]
20ceeaeb55 autorecovery: SfxViewFrame's SfxFrame is a reference now, no pointer (it can never be NULL) 2009-12-15 23:07:57 +01:00
Vladimir Glazunov
3231891b7a CWS-TOOLING: integrate CWS mingwport26_DEV300 2009-12-15 12:32:49 +01:00
Vladimir Glazunov
4e4ca291bb CWS-TOOLING: integrate CWS communitypatches320_DEV300 2009-12-15 12:23:06 +01:00
Frank Schoenheit [fs]
233b0e81cc autorecovery: SetDontCreateCancellable is dead 2009-12-15 10:31:37 +01:00
Vladimir Glazunov
f11aa3132d CWS-TOOLING: integrate CWS fwk129_DEV300 2009-12-11 17:56:47 +01:00
Vladimir Glazunov
2ee1464936 CWS-TOOLING: integrate CWS vcl107 2009-12-10 18:31:30 +01:00
Vladimir Glazunov
6faf781028 CWS-TOOLING: integrate CWS os137 2009-12-10 18:00:39 +01:00
Takashi Ono
c2ad86b894 i#107582: mingw port for tkr28 2009-12-10 11:04:42 +00:00
Vladimir Glazunov
68dbbfd862 CWS-TOOLING: integrate CWS killnonpro 2009-12-09 19:10:19 +01:00
Kurt Zenker
d95c37cdac masterfix: #i10000# no 64-bit debug libs to link 2009-12-08 17:36:05 +01:00
Mathias Bauer
f670cc14ac next merge 2009-12-07 17:54:30 +01:00
Kurt Zenker
a2dc6ec23c #i10000# DBG_CTOR can not be used in a non pro version 2009-12-07 14:53:35 +01:00
sb
314047c8e7 merged in DEV300_m66 2009-12-07 09:34:25 +01:00
Mathias Bauer
cd0b2efd96 merge to m67 2009-12-05 19:29:07 +01:00
Kurt Zenker
40651dbc54 CWS-TOOLING: integrate CWS dv18_DEV300 2009-12-04 19:05:25 +01:00
Kurt Zenker
c32e21562f CWS-TOOLING: integrate CWS dv16_DEV300 2009-12-04 16:09:03 +01:00
Kurt Zenker
aecb484c17 CWS-TOOLING: integrate CWS dba32j_DEV300 2009-12-04 15:44:35 +01:00
Kurt Zenker
b71ce2d55a CWS-TOOLING: integrate CWS localization37_DEV300 2009-12-04 13:14:28 +01:00
Kurt Zenker
2c09bcf173 CWS-TOOLING: integrate CWS fwk125_DEV300 2009-12-03 18:43:21 +01:00
Kurt Zenker
496c1ec119 update to current version 2009-12-03 16:14:12 +01:00
Kurt Zenker
735dc0ee42 CWS-TOOLING: integrate CWS tkr28_DEV300 2009-12-03 15:17:19 +01:00
Philipp Lohmann [pl]
0958761ab1 merge with DEV300m66 2009-12-03 14:32:07 +01:00
Philipp Lohmann [pl]
1c203a23ff d2v02: #161005# use X11 link dependency only where really required 2009-12-03 14:19:56 +01:00
Kurt Zenker
41f173b9ed CWS-TOOLING: integrate CWS gridcontrol_02 2009-12-03 13:58:18 +01:00
Kurt Zenker
42c761fbfd CWS-TOOLING: integrate CWS npower12 2009-12-02 17:38:39 +01:00
Kurt Zenker
41ee7ac20c CWS-TOOLING: integrate CWS jl141_DEV300 2009-12-02 17:12:48 +01:00
Mathias Bauer
d4fb305ef0 merge with db33a 2009-12-02 13:40:39 +01:00
mb93783
d730f4672b merge to m66 2009-12-02 12:43:33 +01:00
Kurt Zenker
749127e050 CWS-TOOLING: integrate CWS dba33a 2009-12-01 13:17:08 +01:00
Oliver Bolte
c9e236cc23 CWS-TOOLING: integrate CWS dba32j
2009-11-26 09:30:10 +0100 msc  r277648 : #100000 fix urgent testscript error
2009-11-25 10:27:56 +0100 msc  r277625 : #i100000 fix urgent testscript error
2009-11-17 22:16:46 +0100 fs  r277544 : CWS-TOOLING: rebase CWS dba32j to branches/OOO320@277531 (milestone: OOO320:m5)
2009-11-17 14:26:47 +0100 fs  r277535 : ooops, didn't mean to commit this uncommented line
2009-11-14 20:50:29 +0100 fs  r277505 : add a --disable-pango switch to SM's configure options, and add a patch which makes certain code respect it (well, respect it better than currently, by not using some pango_x_* functions, which are not always available, even when pango itself is present)
2009-11-14 20:47:41 +0100 fs  r277504 : spelling
2009-11-13 14:04:00 +0100 fs  r277502 : #i100764# (commit approved by ab@openoffice.org): getModelFromBasic: do not start with the parent's parent when looking for ThisComponent, but walk up the anchestor chain, starting with the immediate parent
2009-11-13 11:04:15 +0100 fs  r277496 : #i100764# better heuristics for determining whether or not to participate in the ThisComponent game
2009-11-13 11:02:30 +0100 fs  r277495 : #i100764# set the WB_EXT_DOCUMENT style at the backing component's container window, when creating it without the TaskCreator (which would normally do this)
2009-11-11 13:49:11 +0100 fs  r277452 : #i106816#
2009-11-11 13:48:53 +0100 fs  r277451 : fix the CREATETARBAL target, which is expected to create the zips used as prebuilts. The *inc.zip missed the NSS files in case NSS was built externally
2009-11-11 12:15:34 +0100 fs  r277449 : update ignore list
2009-11-11 12:09:23 +0100 fs  r277448 : add a link to the Mozilla build tools download location
2009-11-11 12:07:16 +0100 fs  r277447 : add a link to the Mozilla build tools download location
2009-11-06 16:23:12 +0100 fs  r277393 : #i106643#
2009-11-03 23:20:29 +0100 fs  r277328 : #i106574#
reverted the recent fix for issue #i105235#, and implemented a better one.
2009-11-02 12:59:48 +0100 fs  r277294 : #i106550# errorOccured: also display the error when we're not in a nested form action - form actions are allowed to be triggered by other instances as well
2009-12-01 09:53:35 +00:00