Commit Graph

82 Commits

Author SHA1 Message Date
Rüdiger Timm
b41fe11358 INTEGRATION: CWS ooo19126 (1.7.42); FILE MERGED
2005/09/05 12:04:42 rt 1.7.42.1: #i54170# Change license header: remove SISSL
2005-09-09 01:05:15 +00:00
Rüdiger Timm
ecfc5f98fc INTEGRATION: CWS ooo19126 (1.6.42); FILE MERGED
2005/09/05 12:04:42 rt 1.6.42.1: #i54170# Change license header: remove SISSL
2005-09-09 01:04:45 +00:00
Rüdiger Timm
a71e2313e6 INTEGRATION: CWS ooo19126 (1.1.90); FILE MERGED
2005/09/05 12:04:41 rt 1.1.90.1: #i54170# Change license header: remove SISSL
2005-09-09 01:04:29 +00:00
Rüdiger Timm
b76dda8b89 INTEGRATION: CWS ooo19126 (1.2.56); FILE MERGED
2005/09/05 12:04:41 rt 1.2.56.1: #i54170# Change license header: remove SISSL
2005-09-09 01:04:12 +00:00
Rüdiger Timm
1f5ab29c96 INTEGRATION: CWS ooo19126 (1.7.42); FILE MERGED
2005/09/05 12:04:40 rt 1.7.42.1: #i54170# Change license header: remove SISSL
2005-09-09 01:03:57 +00:00
Rüdiger Timm
d8745fe09d INTEGRATION: CWS ooo19126 (1.1.90); FILE MERGED
2005/09/05 12:04:40 rt 1.1.90.1: #i54170# Change license header: remove SISSL
2005-09-09 01:03:31 +00:00
Rüdiger Timm
9682e1ac8f INTEGRATION: CWS ooo19126 (1.3.24); FILE MERGED
2005/09/05 12:04:39 rt 1.3.24.1: #i54170# Change license header: remove SISSL
2005-09-09 01:03:04 +00:00
Rüdiger Timm
ecab2a35aa INTEGRATION: CWS ooo19126 (1.7.24); FILE MERGED
2005/09/05 12:04:38 rt 1.7.24.1: #i54170# Change license header: remove SISSL
2005-09-09 01:02:48 +00:00
Rüdiger Timm
75c8ef1b35 INTEGRATION: CWS ooo19126 (1.8.20); FILE MERGED
2005/09/05 12:04:37 rt 1.8.20.1: #i54170# Change license header: remove SISSL
2005-09-09 01:02:35 +00:00
Rüdiger Timm
5ced2ee578 INTEGRATION: CWS ooo19126 (1.7.24); FILE MERGED
2005/09/05 12:04:37 rt 1.7.24.1: #i54170# Change license header: remove SISSL
2005-09-09 01:02:04 +00:00
Rüdiger Timm
73d12fd034 INTEGRATION: CWS ooo19126 (1.3.24); FILE MERGED
2005/09/05 12:04:37 rt 1.3.24.1: #i54170# Change license header: remove SISSL
2005-09-09 01:01:49 +00:00
Rüdiger Timm
680de07617 INTEGRATION: CWS ooo19126 (1.9.24); FILE MERGED
2005/09/05 12:04:35 rt 1.9.24.1: #i54170# Change license header: remove SISSL
2005-09-09 01:01:34 +00:00
Rüdiger Timm
0449a0ac4b INTEGRATION: CWS ooo19126 (1.8.42); FILE MERGED
2005/09/05 12:04:35 rt 1.8.42.1: #i54170# Change license header: remove SISSL
2005-09-09 01:01:04 +00:00
Rüdiger Timm
e419878e10 INTEGRATION: CWS ooo19126 (1.6.56); FILE MERGED
2005/09/05 12:04:35 rt 1.6.56.1: #i54170# Change license header: remove SISSL
2005-09-09 01:00:49 +00:00
Rüdiger Timm
bf451ef83c INTEGRATION: CWS ooo19126 (1.1.90); FILE MERGED
2005/09/05 12:04:34 rt 1.1.90.1: #i54170# Change license header: remove SISSL
2005-09-09 01:00:34 +00:00
Rüdiger Timm
2843bb99e0 INTEGRATION: CWS ooo19126 (1.3.42); FILE MERGED
2005/09/05 12:04:34 rt 1.3.42.1: #i54170# Change license header: remove SISSL
2005-09-09 01:00:20 +00:00
Rüdiger Timm
b86d49216e INTEGRATION: CWS ooo19126 (1.3.72); FILE MERGED
2005/09/05 12:04:34 rt 1.3.72.1: #i54170# Change license header: remove SISSL
2005-09-09 01:00:03 +00:00
Kurt Zenker
e0c59e2068 INTEGRATION: CWS scriptingf11 (1.7.22); FILE MERGED
2005/02/18 17:13:53 toconnor 1.7.22.1: #i41597# return after invoking script using editor
2005-03-01 12:07:38 +00:00
Rüdiger Timm
c197b62797 INTEGRATION: CWS scriptingf10 (1.2.60); FILE MERGED
2005/01/10 14:10:02 toconnor 1.2.60.1: #i39330# BeanShell editor should prompt before closing
2005-01-27 14:29:31 +00:00
Rüdiger Timm
c02c18a591 INTEGRATION: CWS scriptingf10 (1.6.12); FILE MERGED
2005/01/06 10:56:35 toconnor 1.6.12.1: #i39330# beanshell editor should prompt to save before closing
2005-01-27 14:29:19 +00:00
Rüdiger Timm
993194810e INTEGRATION: CWS scriptingf10 (1.6.16); FILE MERGED
2005/01/20 10:37:44 toconnor 1.6.16.4: #i39330# do not close if there is an error writing file
2005/01/18 14:50:11 toconnor 1.6.16.3: #i39330# add prompt on close for window decoration close button also
2005/01/10 14:10:01 toconnor 1.6.16.2: #i39330# BeanShell editor should prompt before closing
2005/01/06 10:56:35 toconnor 1.6.16.1: #i39330# beanshell editor should prompt to save before closing
2005-01-27 14:29:08 +00:00
Rüdiger Timm
ff60a7b84b INTEGRATION: CWS scriptingf10 (1.2.60); FILE MERGED
2005/01/10 14:10:00 toconnor 1.2.60.2: #i39330# BeanShell editor should prompt before closing
2005/01/06 10:56:35 toconnor 1.2.60.1: #i39330# beanshell editor should prompt to save before closing
2005-01-27 14:28:54 +00:00
Rüdiger Timm
e90e74ae4f INTEGRATION: CWS scriptingf10 (1.8.16); FILE MERGED
2005/01/18 14:50:48 toconnor 1.8.16.1: #i25269# url handling broken is some cases
2005-01-27 14:28:38 +00:00
Rüdiger Timm
9f0e5a64a8 INTEGRATION: CWS scriptingf8 (1.5.2); FILE MERGED
2004/11/10 17:54:11 toconnor 1.5.2.1: #i36553# cannot execute beanshell script from editor
2004-11-15 14:57:11 +00:00
Rüdiger Timm
1fbee2307d INTEGRATION: CWS scriptingf6 (1.4.22); FILE MERGED
2004/09/30 09:34:21 dfoster 1.4.22.5: #i33478#
Add BrowseNode service.
2004/08/03 14:44:58 dfoster 1.4.22.4: #i32502#
2004/07/30 16:12:24 toconnor 1.4.22.3: #i31461# restore changes that got clobbered during merge
2004/07/30 10:20:21 toconnor 1.4.22.2: RESYNC: (1.4-1.5); FILE MERGED
2004/07/28 11:07:14 npower 1.4.22.1: #i31461#
pass "<stdin>" as url for script when invoking script outside the IDE, this should prevent IDE from loading the script automatically.
2004-10-22 14:08:27 +00:00
Rüdiger Timm
61afef91a9 INTEGRATION: CWS scriptingf6 (1.5.2); FILE MERGED
2004/09/30 09:34:20 dfoster 1.5.2.2: #i33478#
Add BrowseNode service.
2004/08/03 14:44:57 dfoster 1.5.2.1: #i32502#
2004-10-22 14:07:35 +00:00
Rüdiger Timm
c1d4b34a7f INTEGRATION: CWS scriptingf6 (1.5.2); FILE MERGED
2004/09/30 09:34:18 dfoster 1.5.2.3: #i33478#
Add BrowseNode service.
2004/09/16 14:26:46 dfoster 1.5.2.2: #i33670#
Rename the context variable to XSCRIPTCONTEXT
2004/08/03 14:44:56 dfoster 1.5.2.1: #i32502#
2004-10-22 13:49:31 +00:00
Rüdiger Timm
5769fefd60 INTEGRATION: CWS scriptingf6 (1.2.22); FILE MERGED
2004/09/16 15:20:24 dfoster 1.2.22.1: #i33050#
Added documentation to template javascript script
2004-10-22 13:00:38 +00:00
Rüdiger Timm
2581d3aeee INTEGRATION: CWS scriptingf6 (1.4.22); FILE MERGED
2004/08/03 14:44:58 dfoster 1.4.22.2: #i32502#
2004/07/29 14:49:56 npower 1.4.22.1: #i31461# Modified ScriptEditorForJavascript to use new rhino interface. Allows scripts to be displayed in single Rhino winow.
2004-10-22 12:59:58 +00:00
Rüdiger Timm
7efe975ae0 INTEGRATION: CWS scriptingf6 (1.2.22); FILE MERGED
2004/09/16 14:26:48 dfoster 1.2.22.1: #i33670#
Rename the context variable to XSCRIPTCONTEXT
2004-10-22 12:59:22 +00:00
Rüdiger Timm
037858677e INTEGRATION: CWS scriptingf6 (1.4.2); FILE MERGED
2004/08/03 14:44:57 dfoster 1.4.2.1: #i32502#
2004-10-22 12:59:02 +00:00
Rüdiger Timm
4c3c1f8a13 INTEGRATION: CWS scriptingf6 (1.5.2); FILE MERGED
2004/08/03 14:44:56 dfoster 1.5.2.1: #i32502#
2004-10-22 12:58:25 +00:00
Rüdiger Timm
3e659a1234 INTEGRATION: CWS scriptingf6 (1.7.2); FILE MERGED
2004/08/03 14:44:54 dfoster 1.7.2.1: #i32502#
2004-10-22 12:58:09 +00:00
Rüdiger Timm
167cc0f3a5 INTEGRATION: CWS scriptingf6 (1.3.2); FILE MERGED
2004/08/03 14:44:54 dfoster 1.3.2.1: #i32502#
2004-10-22 12:57:43 +00:00
Rüdiger Timm
5c8106e527 INTEGRATION: CWS scriptingf6 (1.2.14); FILE MERGED
2004/08/03 14:44:53 dfoster 1.2.14.1: #i32502#
2004-10-22 12:57:12 +00:00
Jens-Heiner Rechtien
dcc2a2f658 INTEGRATION: CWS macrouifix (1.5.8); FILE MERGED
2004/09/16 09:23:08 dfoster 1.5.8.2: #i33576#
2004/09/13 13:26:01 dfoster 1.5.8.1: #i33576#
Added extra services to registration code.
2004-10-11 12:31:40 +00:00
Jens-Heiner Rechtien
552109fa30 INTEGRATION: CWS macrouifix (1.5.10); FILE MERGED
2004/09/16 09:23:07 dfoster 1.5.10.2: #i33576#
2004/09/13 13:26:00 dfoster 1.5.10.1: #i33576#
Added extra services to registration code.
2004-10-11 12:31:09 +00:00
Jens-Heiner Rechtien
a300c1f0ff INTEGRATION: CWS macrouifix (1.5.10); FILE MERGED
2004/09/16 09:23:06 dfoster 1.5.10.2: #i33576#
2004/09/13 13:25:58 dfoster 1.5.10.1: #i33576#
Added extra services to registration code.
2004-10-11 12:30:39 +00:00
Jens-Heiner Rechtien
61e9f5db50 INTEGRATION: CWS scriptingf7 (1.4.14); FILE MERGED
2004/07/16 11:29:08 npower 1.4.14.7: #i25260# When executing in the IDE  make sure there is a valid value  to return
2004/07/14 10:06:12 npower 1.4.14.6: #i25260# Allow Javascript scripts to raise IDE when error occurs, also indicate line in error when this happens
2004/07/14 09:07:12 npower 1.4.14.5: #i25260# Editors changes to support new methods in ScriptEditor interface { execute & indicateErrorLine }. ScriptProviders now raise editors with line of error highlighted.
2004/07/12 16:34:38 npower 1.4.14.4: #i25260# Changes to support error displayed in IDE for javascript and beanshell when script that is invoked is opened in IDE
Issue number:
Submitted by:
Reviewed by:
2004/07/09 18:09:33 npower 1.4.14.3: #i25260# Changed exception specification for invoke and getScript, modified exception handling so correct exceptions passed up.
2004/07/02 13:29:13 npower 1.4.14.2: #i25269# fix up exception handling for getScript method
Issue number:
Submitted by:
Reviewed by:
2004/06/12 09:19:32 npower 1.4.14.1: #i25269# added some extra exception handling, defered reading source until use of script, these changes are reflected by changes in Parcel[Container]
2004-07-23 13:05:08 +00:00
Jens-Heiner Rechtien
8c70d5f9dc INTEGRATION: CWS scriptingf7 (1.4.14); FILE MERGED
2004/07/16 13:54:11 npower 1.4.14.3: #i25260# Make sure breakpoints are cleared when IDE is torn down
2004/07/14 09:07:11 npower 1.4.14.2: #i25260# Editors changes to support new methods in ScriptEditor interface { execute & indicateErrorLine }. ScriptProviders now raise editors with line of error highlighted.
2004/07/12 16:34:38 npower 1.4.14.1: #i25260# Changes to support error displayed in IDE for javascript and beanshell when script that is invoked is opened in IDE
Issue number:
Submitted by:
Reviewed by:
2004-07-23 13:04:38 +00:00
Jens-Heiner Rechtien
66b637d73b INTEGRATION: CWS scriptingf7 (1.1.32); FILE MERGED
2004/07/08 10:21:33 npower 1.1.32.1: #i25260# removed Exception for exception spec.
2004-07-23 13:04:16 +00:00
Jens-Heiner Rechtien
004b944ade INTEGRATION: CWS scriptingf7 (1.4.14); FILE MERGED
2004/07/09 18:15:30 npower 1.4.14.5: #i25260# Changes for  exception specification for getScript and invoke methods as per changes in the IDL files
2004/07/08 10:25:55 npower 1.4.14.4: #i25260# Added catch all for invocation
2004/07/08 10:19:08 npower 1.4.14.3:  #i25260# adjusted exception handling so that exception are wrapped in css.reflection.InvocationTargetException as appropriate. Exceptions that happen in the script itself are inserted as ScriptExceptionRaisedExceptions and arbitrary framework exception other that those specified in the signature of invoke are inserted as appropriate uno type exceptions.
2004/07/02 13:29:11 npower 1.4.14.2: #i25269# fix up exception handling for getScript method
Issue number:
Submitted by:
Reviewed by:
2004/06/12 09:19:30 npower 1.4.14.1: #i25269# added some extra exception handling, defered reading source until use of script, these changes are reflected by changes in Parcel[Container]
2004-07-23 13:04:02 +00:00
Jens-Heiner Rechtien
3637361af0 INTEGRATION: CWS scriptingf7 (1.3.14); FILE MERGED
2004/07/14 09:07:10 npower 1.3.14.3: #i25260# Editors changes to support new methods in ScriptEditor interface { execute & indicateErrorLine }. ScriptProviders now raise editors with line of error highlighted.
2004/07/12 16:34:37 npower 1.3.14.2: #i25260# Changes to support error displayed in IDE for javascript and beanshell when script that is invoked is opened in IDE
Issue number:
Submitted by:
Reviewed by:
2004/06/30 11:57:37 npower 1.3.14.1: #i25870# Changes to BeanshellProvider and editor to make sure that the classloader is setup correctly such that scripts run from the IDE use the classpath defined in parcel-descriptor.xml
2004-07-23 13:03:38 +00:00
Jens-Heiner Rechtien
679b4b044c INTEGRATION: CWS scriptingf7 (1.4.14); FILE MERGED
2004/07/16 11:28:31 npower 1.4.14.12: #i25260# correct error in previous check-in line incorrectly moved
2004/07/16 11:12:36 npower 1.4.14.11: #i25260# removed System.out messages
2004/07/16 09:35:14 npower 1.4.14.10: #i25260# Improver error reporting for case where exception thrown by BeanShell script
2004/07/14 09:07:09 npower 1.4.14.9: #i25260# Editors changes to support new methods in ScriptEditor interface { execute & indicateErrorLine }. ScriptProviders now raise editors with line of error highlighted.
2004/07/12 12:58:34 toconnor 1.4.14.8: #i25260# error handling, throw ScriptFrameworkError when io error occurs
2004/07/09 18:09:32 npower 1.4.14.7: #i25260# Changed exception specification for invoke and getScript, modified exception handling so correct exceptions passed up.
2004/07/08 10:14:43 npower 1.4.14.6: #i25260# modified error message in exception
2004/07/07 16:22:35 npower 1.4.14.5: #25260# added support to set language member in ScriptErrorRaisedException
2004/07/07 15:04:26 npower 1.4.14.4: #i25260# Modified exception handling so that scripting errors are distinguished between framework errors. Scripting error or transported as either ScriptErrorRaisedException or ScriptExceptionRaisedException depending on what has happened in the script. The latter represents an exception that could have been handled by the script.
2004/07/02 13:29:09 npower 1.4.14.3: #i25269# fix up exception handling for getScript method
Issue number:
Submitted by:
Reviewed by:
2004/06/30 11:57:36 npower 1.4.14.2: #i25870# Changes to BeanshellProvider and editor to make sure that the classloader is setup correctly such that scripts run from the IDE use the classpath defined in parcel-descriptor.xml
2004/06/12 09:19:29 npower 1.4.14.1: #i25269# added some extra exception handling, defered reading source until use of script, these changes are reflected by changes in Parcel[Container]
2004-07-23 13:03:24 +00:00
Jens-Heiner Rechtien
d81f5cb61a INTEGRATION: CWS scriptingf7 (1.4.14); FILE MERGED
2004/07/14 09:07:09 npower 1.4.14.4: #i25260# Editors changes to support new methods in ScriptEditor interface { execute & indicateErrorLine }. ScriptProviders now raise editors with line of error highlighted.
2004/07/12 16:34:37 npower 1.4.14.3: #i25260# Changes to support error displayed in IDE for javascript and beanshell when script that is invoked is opened in IDE
Issue number:
Submitted by:
Reviewed by:
2004/06/30 11:57:36 npower 1.4.14.2: #i25870# Changes to BeanshellProvider and editor to make sure that the classloader is setup correctly such that scripts run from the IDE use the classpath defined in parcel-descriptor.xml
2004/06/22 14:39:50 npower 1.4.14.1: #i25269# changed code to always use UCB ( via url ) to get output stream
2004-07-23 13:02:55 +00:00
Jens-Heiner Rechtien
f89baab4c4 INTEGRATION: CWS scriptingf7 (1.6.4); FILE MERGED
2004/07/15 09:55:55 npower 1.6.4.9: #i25269# Changes to ProviderBrowseNode so that is doesn't try to get the scriptng context ( this was causing a crash in the cmdline version of pkgchk as it tried to instantiate the desktop component ). Changed the ctor to take XComponentContext, also changed PkgProviderBrowseNode the same way and additionally changed ScriptProvider to use the new ctor.
2004/07/14 15:11:33 toconnor 1.6.4.8: #i25269# form expand url using either bootstraprc or bootstrap.ini depending on platform
2004/07/09 18:09:30 npower 1.6.4.7: #i25260# Changed exception specification for invoke and getScript, modified exception handling so correct exceptions passed up.
2004/07/06 15:07:40 npower 1.6.4.6: #i25269# Changed call to deleteParce() to removeParcel() in removeByName for packages ( only pkgmgr physically removes packages )
2004/07/05 15:58:31 npower 1.6.4.5: #i25269#  added support for use of UnoPkgContainer and ParcelContainer classes
2004/06/30 11:47:28 npower 1.6.4.4: #i25269# Added some error handling for deregister of scripts
2004/06/22 07:36:01 npower 1.6.4.3: #i25269# pkgchk support, correct handling of context url passed to provider
2004/06/21 13:57:31 npower 1.6.4.2: #i25269# changed retrieval of Scripting context to be lazy, for
a) creating Scripting Context seems to cause problems when called from pkgchk ( and its not needed by pkgchk )
b) for efficiency
2004/06/12 09:07:40 npower 1.6.4.1: #i25269# Added new make_url method to PathUtils for tdoc support. Added XNameAccess interface implementation to ScriptProvider to handle PkgChk and additionally changed init method to handle string context.
2004-07-23 13:02:29 +00:00
Jens-Heiner Rechtien
0d8d3ef9ea INTEGRATION: CWS scriptingf7 (1.2.14); FILE MERGED
2004/07/14 09:07:08 npower 1.2.14.2: #i25260# Editors changes to support new methods in ScriptEditor interface { execute & indicateErrorLine }. ScriptProviders now raise editors with line of error highlighted.
2004/07/12 16:34:36 npower 1.2.14.1: #i25260# Changes to support error displayed in IDE for javascript and beanshell when script that is invoked is opened in IDE
Issue number:
Submitted by:
Reviewed by:
2004-07-23 13:02:01 +00:00
Jens-Heiner Rechtien
547e75b388 INTEGRATION: CWS scriptingf7 (1.6.4); FILE MERGED
2004/06/22 07:39:03 npower 1.6.4.1: #i25269# part of the changes to support pkgchk involve slight change
to initialisation of ScriptProviders, these no longer pass a scripting
context so the ScriptContext class is now initialised with XModel ( or null )
2004-07-23 13:01:48 +00:00
Jens-Heiner Rechtien
65216bc4a2 INTEGRATION: CWS scriptingf7 (1.5.4); FILE MERGED
2004/06/12 09:07:40 npower 1.5.4.1: #i25269# Added new make_url method to PathUtils for tdoc support. Added XNameAccess interface implementation to ScriptProvider to handle PkgChk and additionally changed init method to handle string context.
2004-07-23 13:01:29 +00:00
Rüdiger Timm
c25beeb140 INTEGRATION: CWS scriptingf4 (1.5.4); FILE MERGED
2004/05/11 07:54:07 npower 1.5.4.2: #i28812#
Allow a void context to be passed ( this should behave as if no args were passed to init ) e.g. a ScriptProvider initialised with no param or ( Any container Void type ) will just be used for invocation of application scripts.
Fixes for undesired behavior ( exception thrown )
Issue number:
Submitted by:
Reviewed by:
2004/05/07 17:18:26 npower 1.5.4.1: #i28818#
Changes to support Scripting context created from the ScriptProvider, not created in BrowseNodes any more. Behavior of the ScriptContext class has been changed so that for and application script ( e.g. user or share ) the getDocument() method will rerturn  the currently selected document. If it is a document script then the getDocument() method will return the document for the location of the script.
2004-05-19 07:23:43 +00:00