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
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
18 deletions
+29
-18
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
+5
-4
build.xml
scripting/workben/build.xml
+4
-4
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 {
...
@@ -20,7 +20,7 @@ public class DebugRunner {
OOScriptDebugger
debugger
;
OOScriptDebugger
debugger
;
String
path
=
""
;
String
path
=
""
;
if
(
language
.
equals
(
"
Rhino
"
))
{
if
(
language
.
equals
(
"
JavaScript
"
))
{
debugger
=
new
OORhinoDebugger
();
debugger
=
new
OORhinoDebugger
();
}
}
else
if
(
language
.
equals
(
"BeanShell"
))
{
else
if
(
language
.
equals
(
"BeanShell"
))
{
...
...
scripting/examples/java/debugger/parcel-descriptor.xml
Dosyayı görüntüle @
cef995bf
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<script
language=
"Java"
>
<script
language=
"Java"
>
<locale
lang=
"en"
>
<locale
lang=
"en"
>
<displayname
value=
"Scripting Framework Debugger"
/>
<displayname
value=
"Scripting Framework Debugger"
/>
<description>
Script that starts debuggers for
Rhino
and BeanShell
<description>
Script that starts debuggers for
JavaScript
and BeanShell
</description>
</description>
</locale>
</locale>
<logicalname
value=
"_$DebugRunner.Debug"
/>
<logicalname
value=
"_$DebugRunner.Debug"
/>
...
...
scripting/java/build.xml
Dosyayı görüntüle @
cef995bf
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
#
#
# $RCSfile: build.xml,v $
# $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
# The Contents of this file are made available subject to the terms of
# either of the following licenses
# either of the following licenses
...
@@ -169,10 +169,10 @@
...
@@ -169,10 +169,10 @@
basedir=
"${scriptingclasses}"
>
basedir=
"${scriptingclasses}"
>
<exclude
name=
"${netbeans.dir}/**/.*/*"
/>
<exclude
name=
"${netbeans.dir}/**/.*/*"
/>
<exclude
name=
"**/beanshell/*"
/>
<exclude
name=
"**/beanshell/*"
/>
<exclude
name=
"**/
rhino
/*"
/>
<exclude
name=
"**/
javascript
/*"
/>
<exclude
name=
"**/security/*"
/>
<exclude
name=
"**/security/*"
/>
<exclude
name=
"BeanShellRuntimeComponentRegistration.class"
/>
<exclude
name=
"BeanShellRuntimeComponentRegistration.class"
/>
<exclude
name=
"
Rhino
RuntimeComponentRegistration.class"
/>
<exclude
name=
"
JavaScript
RuntimeComponentRegistration.class"
/>
<manifest>
<manifest>
<attribute
name=
"Built-By"
value=
"Sun Microsystems"
/>
<attribute
name=
"Built-By"
value=
"Sun Microsystems"
/>
<attribute
name=
"RegistrationClassName"
value=
"ScriptRuntimeComponentRegistration"
/>
<attribute
name=
"RegistrationClassName"
value=
"ScriptRuntimeComponentRegistration"
/>
...
@@ -191,15 +191,15 @@
...
@@ -191,15 +191,15 @@
<include
name=
"**/ScriptContext.class"
/>
<include
name=
"**/ScriptContext.class"
/>
</jar>
</jar>
<jar
jarfile=
"${jardir}/ScriptRuntimeFor
Rhino
.jar"
<jar
jarfile=
"${jardir}/ScriptRuntimeFor
JavaScript
.jar"
basedir=
"${scriptingclasses}"
>
basedir=
"${scriptingclasses}"
>
<manifest>
<manifest>
<attribute
name=
"Built-By"
value=
"Sun Microsystems"
/>
<attribute
name=
"Built-By"
value=
"Sun Microsystems"
/>
<attribute
name=
"RegistrationClassName"
<attribute
name=
"RegistrationClassName"
value=
"
Rhino
RuntimeComponentRegistration"
/>
value=
"
JavaScript
RuntimeComponentRegistration"
/>
</manifest>
</manifest>
<include
name=
"
Rhino
RuntimeComponentRegistration.class"
/>
<include
name=
"
JavaScript
RuntimeComponentRegistration.class"
/>
<include
name=
"**/ScriptRuntimeFor
Rhino
**.class"
/>
<include
name=
"**/ScriptRuntimeFor
JavaScript
**.class"
/>
<include
name=
"**/ScriptContext.class"
/>
<include
name=
"**/ScriptContext.class"
/>
</jar>
</jar>
...
...
scripting/workben/bindings/ScriptBinding.xba
Dosyayı görüntüle @
cef995bf
...
@@ -234,7 +234,7 @@ end sub
...
@@ -234,7 +234,7 @@ end sub
Sub ExecuteEditDebug()
Sub ExecuteEditDebug()
locations = Array (
"
User
"
,
"
Share
"
,
"
Document
"
,
"
Filesystem
"
)
locations = Array (
"
User
"
,
"
Share
"
,
"
Document
"
,
"
Filesystem
"
)
languages = Array (
"
BeanShell
"
,
"
Rhino
"
)
languages = Array (
"
BeanShell
"
,
"
JavaScript
"
)
dialogName =
"
EditDebug
"
dialogName =
"
EditDebug
"
initialiseFileExtensions()
initialiseFileExtensions()
bindingDialog = LoadDialog(
"
ScriptBindingLibrary
"
,
"
EditDebug
"
)
bindingDialog = LoadDialog(
"
ScriptBindingLibrary
"
,
"
EditDebug
"
)
...
@@ -281,15 +281,16 @@ Sub initialiseNavigationComboArrays()
...
@@ -281,15 +281,16 @@ Sub initialiseNavigationComboArrays()
langCount = 1
langCount = 1
for index = 0 to ubound(svrArray)
for index = 0 to ubound(svrArray)
iPos = inStr(svrArray(index),
"
ScriptRuntimeFor
"
)
iPos = inStr(svrArray(index),
"
ScriptRuntimeFor
"
)
iJava = inStr(svrArray(index),
"
ScriptRuntimeForJava
"
)
if
(iJava = 0) and
(iPos
>
0) then
if (iPos
>
0) then
lang = Mid(svrArray(index), iPos + Len(
"
ScriptRuntimeFor
"
)
lang = Mid(svrArray(index), iPos + Len(
"
ScriptRuntimeFor
"
)
if not (lang =
"
Java
"
) then
'
Add to language vector
'
Add to language vector
ReDim Preserve languages(langCount) as String
ReDim Preserve languages(langCount) as String
languages(langCount) = lang
languages(langCount) = lang
langCount = langCount +1
langCount = langCount + 1
endif
endif
endif
next index
next index
initialiseFileExtensions()
initialiseFileExtensions()
...
...
scripting/workben/build.xml
Dosyayı görüntüle @
cef995bf
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
#
#
# $RCSfile: build.xml,v $
# $RCSfile: build.xml,v $
#
#
# $Revision: 1.2
5 $
# $Revision: 1.2
6 $
#
#
# last change: $Author:
dfoster $ $Date: 2003-05-29 14:18:39 $
# last change: $Author:
toconnor $ $Date: 2003-06-03 09:32:49 $
#
#
# The Contents of this file are made available subject to the terms of
# The Contents of this file are made available subject to the terms of
# either of the following licenses
# either of the following licenses
...
@@ -335,9 +335,9 @@
...
@@ -335,9 +335,9 @@
<mkdir
dir=
"${out}/class/jsruntime/skip_registration"
/>
<mkdir
dir=
"${out}/class/jsruntime/skip_registration"
/>
<mkdir
dir=
"${out}/class/jsruntimetmp"
/>
<mkdir
dir=
"${out}/class/jsruntimetmp"
/>
<copy
file=
"${out}/class/ScriptRuntimeFor
Rhino.jar"
<copy
file=
"${out}/class/ScriptRuntimeFor
JavaScript.jar"
todir=
"${out}/class/jsruntime/"
/>
todir=
"${out}/class/jsruntime/"
/>
<copy
file=
"installer/Scripting.
Rhino.xcu"
<copy
file=
"installer/Scripting.
JavaScript.xcu"
tofile=
"${out}/class/jsruntime/Scripting.xcu"
/>
tofile=
"${out}/class/jsruntime/Scripting.xcu"
/>
<unzip
src=
"${install.dir}/js.jar"
<unzip
src=
"${install.dir}/js.jar"
...
...
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