Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
cef995bf
Kaydet (Commit)
cef995bf
authored
Haz 03, 2003
tarafından
Tomas O'Connor
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Rename ScriptRuntimeForRhino to ScriptRuntimeForJavaScript and replace
all references to language.
üst
6056ad6d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
23 deletions
+33
-23
DebugRunner.java
scripting/examples/java/debugger/DebugRunner.java
+1
-1
parcel-descriptor.xml
scripting/examples/java/debugger/parcel-descriptor.xml
+1
-1
build.xml
scripting/java/build.xml
+8
-8
ScriptBinding.xba
scripting/workben/bindings/ScriptBinding.xba
+13
-13
build.xml
scripting/workben/build.xml
+0
-0
Scripting.JavaScript.xcu
scripting/workben/installer/Scripting.JavaScript.xcu
+10
-0
No files found.
scripting/examples/java/debugger/DebugRunner.java
Dosyayı görüntüle @
cef995bf
...
...
@@ -20,7 +20,7 @@ public class DebugRunner {
OOScriptDebugger
debugger
;
String
path
=
""
;
if
(
language
.
equals
(
"
Rhino
"
))
{
if
(
language
.
equals
(
"
JavaScript
"
))
{
debugger
=
new
OORhinoDebugger
();
}
else
if
(
language
.
equals
(
"BeanShell"
))
{
...
...
scripting/examples/java/debugger/parcel-descriptor.xml
Dosyayı görüntüle @
cef995bf
...
...
@@ -5,7 +5,7 @@
<script
language=
"Java"
>
<locale
lang=
"en"
>
<displayname
value=
"Scripting Framework Debugger"
/>
<description>
Script that starts debuggers for
Rhino
and BeanShell
<description>
Script that starts debuggers for
JavaScript
and BeanShell
</description>
</locale>
<logicalname
value=
"_$DebugRunner.Debug"
/>
...
...
scripting/java/build.xml
Dosyayı görüntüle @
cef995bf
...
...
@@ -3,9 +3,9 @@
#
# $RCSfile: build.xml,v $
#
# $Revision: 1.
19
$
# $Revision: 1.
20
$
#
# last change: $Author: toconnor $ $Date: 2003-0
5-16 13:50:00
$
# last change: $Author: toconnor $ $Date: 2003-0
6-03 09:32:48
$
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
...
...
@@ -169,10 +169,10 @@
basedir=
"${scriptingclasses}"
>
<exclude
name=
"${netbeans.dir}/**/.*/*"
/>
<exclude
name=
"**/beanshell/*"
/>
<exclude
name=
"**/
rhino
/*"
/>
<exclude
name=
"**/
javascript
/*"
/>
<exclude
name=
"**/security/*"
/>
<exclude
name=
"BeanShellRuntimeComponentRegistration.class"
/>
<exclude
name=
"
Rhino
RuntimeComponentRegistration.class"
/>
<exclude
name=
"
JavaScript
RuntimeComponentRegistration.class"
/>
<manifest>
<attribute
name=
"Built-By"
value=
"Sun Microsystems"
/>
<attribute
name=
"RegistrationClassName"
value=
"ScriptRuntimeComponentRegistration"
/>
...
...
@@ -191,15 +191,15 @@
<include
name=
"**/ScriptContext.class"
/>
</jar>
<jar
jarfile=
"${jardir}/ScriptRuntimeFor
Rhino
.jar"
<jar
jarfile=
"${jardir}/ScriptRuntimeFor
JavaScript
.jar"
basedir=
"${scriptingclasses}"
>
<manifest>
<attribute
name=
"Built-By"
value=
"Sun Microsystems"
/>
<attribute
name=
"RegistrationClassName"
value=
"
Rhino
RuntimeComponentRegistration"
/>
value=
"
JavaScript
RuntimeComponentRegistration"
/>
</manifest>
<include
name=
"
Rhino
RuntimeComponentRegistration.class"
/>
<include
name=
"**/ScriptRuntimeFor
Rhino
**.class"
/>
<include
name=
"
JavaScript
RuntimeComponentRegistration.class"
/>
<include
name=
"**/ScriptRuntimeFor
JavaScript
**.class"
/>
<include
name=
"**/ScriptContext.class"
/>
</jar>
...
...
scripting/workben/bindings/ScriptBinding.xba
Dosyayı görüntüle @
cef995bf
...
...
@@ -234,7 +234,7 @@ end sub
Sub ExecuteEditDebug()
locations = Array (
"
User
"
,
"
Share
"
,
"
Document
"
,
"
Filesystem
"
)
languages = Array (
"
BeanShell
"
,
"
Rhino
"
)
languages = Array (
"
BeanShell
"
,
"
JavaScript
"
)
dialogName =
"
EditDebug
"
initialiseFileExtensions()
bindingDialog = LoadDialog(
"
ScriptBindingLibrary
"
,
"
EditDebug
"
)
...
...
@@ -280,16 +280,17 @@ Sub initialiseNavigationComboArrays()
langCount = 1
for index = 0 to ubound(svrArray)
iPos = inStr(svrArray(index),
"
ScriptRuntimeFor
"
)
iJava = inStr(svrArray(index),
"
ScriptRuntimeForJava
"
)
if (iJava = 0) and (iPos
>
0) then
lang = Mid(svrArray(index), iPos + Len(
"
ScriptRuntimeFor
"
)
'
Add to language vector
ReDim Preserve languages(langCount) as String
languages(langCount) = lang
langCount = langCount +1
iPos = inStr(svrArray(index),
"
ScriptRuntimeFor
"
)
if (iPos
>
0) then
lang = Mid(svrArray(index), iPos + Len(
"
ScriptRuntimeFor
"
)
if not (lang =
"
Java
"
) then
'
Add to language vector
ReDim Preserve languages(langCount) as String
languages(langCount) = lang
langCount = langCount + 1
endif
endif
next index
initialiseFileExtensions()
...
...
@@ -2036,4 +2037,4 @@ end sub
sub HelpOKButton()
helpDialog.endExecute()
end sub
</script:module>
\ No newline at end of file
</script:module>
scripting/workben/build.xml
Dosyayı görüntüle @
cef995bf
This diff is collapsed.
Click to expand it.
scripting/workben/installer/Scripting.JavaScript.xcu
0 → 100755
Dosyayı görüntüle @
cef995bf
<?xml version="1.0" encoding="UTF-8"?>
<oor:node
xmlns:oor=
"http://openoffice.org/2001/registry"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
oor:name=
"Scripting"
oor:package=
"org.openoffice.Office"
>
<node
oor:name=
"ScriptRuntimes"
>
<node
oor:name=
"JavaScript"
oor:op=
"replace"
>
<prop
oor:name=
"SupportedFileExtensions"
>
<value
xml:lang=
"en-US"
>
js
</value>
</prop>
</node>
</node>
</oor:node>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment