Dev: Add xul_runner and update ant xml files

pull/620/head
gnosygnu 6 years ago
parent c4682aad9c
commit bc60e09823

@ -0,0 +1,55 @@
/*
Note the following:
* XOWA does not run /xowa/bin/[OS_NAME]/xowa/cfg/os.default.gfs
* XOWA does run /xowa/user/anonymous/app/cfg/os.gfs
When XOWA starts, it will check for an os.gfs file
* If os.gfs doesn't exist, it will copy os.default.gfs to os.gfs
* If os.gfs does exist, it won't do anything. In other words, it'll leave the existing os.gfs in place.
After the check, XOWA will then run os.gfs.
The current contents of os.gfs are entirely path-related. If the paths are different on you system, feel free to change them.
*/
app.scripts.fail_if_unhandled = 'n';
app.gui {
browser_type = 'mozilla'; // 'mozilla' or 'webkit'
xul_runner_path = '~{<>bin_plat_dir<>}xulrunner/v24'; // path should be set to xulrunner location; '~{<>bin_plat_dir<>}xulrunner/' defaults to '/xowa/bin/platform_name/xulrunner/' (EX: on Windows 'C:\xowa\bin\windows_64\xulrunner\')
}
app.cfg {
// import apps
set_dflt('xowa.bldr.import.apps.bz2_stdout.cmd' , <:{'bzip2|-dkc "~{src}"'}:>); // c=stdout
set_dflt('xowa.bldr.import.apps.bz2' , <:{'bzip2|-dk "~{src}"'}:>); // d=decompress k=keep file (don't delete)
set_dflt('xowa.bldr.import.apps.gz' , <:{'/bin/gunzip|"~{src}"'}:>);
// file viewer apps
set_dflt('xowa.files.apps.view.web' , <:{'/usr/bin/firefox|"~{url}"'}:>);
set_dflt('xowa.files.apps.view.media' , <:{'/usr/bin/vlc|"~{file}"'}:>);
set_dflt('xowa.files.apps.view.image' , <:{'/usr/bin/gimp|"~{file}"'}:>);
set_dflt('xowa.files.apps.view.svg' , <:{'/usr/bin/gimp|"~{file}"'}:>);
set_dflt('xowa.files.apps.view.pdf' , <:{'/usr/bin/evince|"~{file}"'}:>);
set_dflt('xowa.files.apps.view.djvu' , <:{'|"~{file}"'}:>);
// file maker apps
set_dflt('xowa.files.apps.make.img_size_get' , <:{'/usr/bin/identify|-ping -format "<{%w,%h}>" "~{file}"'}:>); // <{ and }> is hard-coded; do not change without changing source
set_dflt('xowa.files.apps.make.img_size_set' , <:{'/usr/bin/convert|"~{source}" -coalesce -resize ~{width}x~{height} "~{target}"'}:>); // coalesce needed for some gifs; EX:w.Chess:[[File:ChessCastlingMovie.gif|thumb|250px|Examples of castling]]
set_dflt('xowa.files.apps.make.svg_to_png' , <:{'/usr/bin/inkscape|-z -w ~{width} -f "~{source}" -e "~{target}"'}:>);
set_dflt('xowa.files.apps.make.djvu_to_tiff' , <:{'/usr/bin/ddjvu|-format=tiff -page=1 "~{source}" "~{target}"'}:>);
// html utility app
set_dflt('xowa.html.tidy.cmd' , <:{'~{<>bin_plat_dir<>}tidy/tidy|-utf8 --force-output y --quiet y --tidy-mark n --doctype '' --wrap 0 --indent y --quote-nbsp y --literal-attributes y --wrap-attributes n --fix-url n --fix-backslash n --enclose-block-text y -o "~{target}" "~{source}"'}:>);
// Scribunto extension
set_dflt('xowa.addon.scribunto.lua.cmd' , <:{'~{<>bin_plat_dir<>}lua/lua5.1.exe|'}:>);
// Math extension
set_dflt('xowa.addon.math.apps.tex_to_dvi' , <:{'/usr/bin/latex|-quiet -output-directory="/tmp/" -job-name=xowa_math_temp "~{tex_file}"'}:>);
set_dflt('xowa.addon.math.apps.dvi_to_png' , <:{'/usr/bin/dvipng|"/tmp/xowa_math_temp.dvi" -o "~{png_file}" -q* -T tight -bg Transparent'}:>);
// Score extension
set_dflt('xowa.addon.score.apps.lilypond' , <:{'/usr/bin/lilypond|"-dsafe=#t" -dbackend=ps --png --header=texidoc -dmidi-extension=midi "~{file}"'}:>);
set_dflt('xowa.addon.score.apps.abc2ly' , <:{'/usr/bin/python|abc2ly -s "--output=~{target}" "~{source}"'}:>);
set_dflt('xowa.addon.score.apps.trim_img' , <:{'/usr/bin/convert|-trim "~{source}" "~{target}"'}:>);
set_dflt('xowa.addon.score.apps.midi_to_ogg' , <:{'~{<>bin_plat_dir<>}timidity/timidity|-Ov "--output-file=~{target}" "~{source}"'}:>);
}

@ -0,0 +1,9 @@
Please see the file toolkit/content/license.html for the copyright licensing
conditions attached to this codebase, including copies of the licenses
concerned.
You are not granted rights or licenses to the trademarks of the
Mozilla Foundation or any party, including without limitation the
Firefox name or logo.
For more information, see: http://www.mozilla.org/foundation/licensing.html

@ -0,0 +1,13 @@
XULRunner is a package which can be used to run applications written in HTML
or XUL. It can also be used to embed the gecko rendering engine into
binary applications.
XULRunner is not a product; it is a tool which can be used to create products.
It is a byproduct of Firefox development and the Mozilla community does not
have a strong commitment to support XULRunner development apart from Firefox
development.
For more information about using XULRunner or how to use this binary package,
see the Mozilla Developer Center article:
https://developer.mozilla.org/en/XULRunner

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 B

@ -0,0 +1 @@
manifest components/components.manifest

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

@ -0,0 +1,2 @@
binary-component libmozgnome.so
binary-component libdbusservice.so

@ -0,0 +1,60 @@
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
# This file is in the UTF-8 encoding
[Strings]
# LOCALIZATION NOTE (isRTL):
# Leave this entry empty unless your language requires right-to-left layout,
# for example like Arabic, Hebrew, Persian. If your language needs RTL, please
# use the untranslated English word "yes" as value
isRTL=
CrashReporterTitle=Crash Reporter
# LOCALIZATION NOTE (CrashReporterVendorTitle): %s is replaced with the vendor name. (i.e. "Mozilla")
CrashReporterVendorTitle=%s Crash Reporter
# LOCALIZATION NOTE (CrashReporterErrorText): %s is replaced with another string containing detailed information.
CrashReporterErrorText=The application had a problem and crashed.\n\nUnfortunately, the crash reporter is unable to submit a report for this crash.\n\nDetails: %s
# LOCALIZATION NOTE (CrashReporterProductErrorText2): The first %s is replaced with the product name (i.e. "Firefox"), the second is replaced with another string containing detailed information. These two substitutions can not be reordered!
CrashReporterProductErrorText2=%s had a problem and crashed.\n\nUnfortunately, the crash reporter is unable to submit a crash report.\n\nDetails: %s
CrashReporterSorry=We're Sorry
# LOCALIZATION NOTE (CrashReporterDescriptionText2): The %s is replaced with the product name.
CrashReporterDescriptionText2=%s had a problem and crashed.\n\nTo help us diagnose and fix the problem, you can send us a crash report.
CrashReporterDefault=This application is run after a crash to report the problem to the application vendor. It should not be run directly.
Details=Details…
ViewReportTitle=Report Contents
CommentGrayText=Add a comment (comments are publicly visible)
ExtraReportInfo=This report also contains technical information about the state of the application when it crashed.
# LOCALIZATION NOTE (CheckSendReport): The %s is replaced with the vendor name.
CheckSendReport=Tell %s about this crash so they can fix it
CheckIncludeURL=Include the address of the page I was on
CheckAllowEmail=Allow %s to contact me about this report
EmailGrayText=Enter your email address here
ReportPreSubmit2=Your crash report will be submitted before you quit or restart.
ReportDuringSubmit2=Submitting your report…
ReportSubmitSuccess=Report submitted successfully!
ReportSubmitFailed=There was a problem submitting your report.
ReportResubmit=Resending reports that previously failed to send…
# LOCALIZATION NOTE (Quit2): The %s is replaced with the product name.
Quit2=Quit %s
# LOCALIZATION NOTE (Restart): The %s is replaced with the product name.
Restart=Restart %s
Ok=OK
Close=Close
# LOCALIZATION NOTE (CrashID): The %s is replaced with the Crash ID from the server, which is a string like abc12345-6789-0abc-def1-23456abcdef1
CrashID=Crash ID: %s
# LOCALIZATION NOTE (CrashDetailsURL): The %s is replaced with a URL that the user can visit to view the crash details.
CrashDetailsURL=You can view details of this crash at %s
ErrorBadArguments=The application passed an invalid argument.
ErrorExtraFileExists=The application didn't leave an application data file.
ErrorExtraFileRead=Couldn't read the application data file.
ErrorExtraFileMove=Couldn't move application data file.
ErrorDumpFileExists=The application did not leave a crash dump file.
ErrorDumpFileMove=Couldn't move crash dump.
ErrorNoProductName=The application did not identify itself.
ErrorNoServerURL=The application did not specify a crash reporting server.
ErrorNoSettingsPath=Couldn't find the crash reporter's settings.
ErrorCreateDumpDir=Couldn't create pending dump directory.
# LOCALIZATION NOTE (ErrorEndOfLife): The %s is replaced with the product name.
ErrorEndOfLife=The version of %s you are using is no longer supported. Crash reports are no longer being accepted for this version. Please consider upgrading to a supported version.

@ -0,0 +1,10 @@
libnspr4.so
libplc4.so
libplds4.so
libnssutil3.so
libnss3.so
libsmime3.so
libssl3.so
libmozsqlite3.so
libmozalloc.so
libxul.so

@ -0,0 +1,207 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
SET ISO8859-1
TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'
NOSUGGEST !
# ordinal numbers
COMPOUNDMIN 1
# only in compounds: 1th, 2th, 3th
ONLYINCOMPOUND c
# compound rules:
# 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.)
# 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.)
COMPOUNDRULE 2
COMPOUNDRULE n*1t
COMPOUNDRULE n*mp
WORDCHARS 0123456789
PFX A Y 1
PFX A 0 re .
PFX I Y 1
PFX I 0 in .
PFX U Y 1
PFX U 0 un .
PFX C Y 1
PFX C 0 de .
PFX E Y 1
PFX E 0 dis .
PFX F Y 1
PFX F 0 con .
PFX K Y 1
PFX K 0 pro .
SFX V N 2
SFX V e ive e
SFX V 0 ive [^e]
SFX N Y 3
SFX N e ion e
SFX N y ication y
SFX N 0 en [^ey]
SFX X Y 3
SFX X e ions e
SFX X y ications y
SFX X 0 ens [^ey]
SFX H N 2
SFX H y ieth y
SFX H 0 th [^y]
SFX Y Y 1
SFX Y 0 ly .
SFX G Y 2
SFX G e ing e
SFX G 0 ing [^e]
SFX J Y 2
SFX J e ings e
SFX J 0 ings [^e]
SFX D Y 4
SFX D 0 d e
SFX D y ied [^aeiou]y
SFX D 0 ed [^ey]
SFX D 0 ed [aeiou]y
SFX T N 4
SFX T 0 st e
SFX T y iest [^aeiou]y
SFX T 0 est [aeiou]y
SFX T 0 est [^ey]
SFX R Y 4
SFX R 0 r e
SFX R y ier [^aeiou]y
SFX R 0 er [aeiou]y
SFX R 0 er [^ey]
SFX Z Y 4
SFX Z 0 rs e
SFX Z y iers [^aeiou]y
SFX Z 0 ers [aeiou]y
SFX Z 0 ers [^ey]
SFX S Y 4
SFX S y ies [^aeiou]y
SFX S 0 s [aeiou]y
SFX S 0 es [sxzh]
SFX S 0 s [^sxzhy]
SFX P Y 3
SFX P y iness [^aeiou]y
SFX P 0 ness [aeiou]y
SFX P 0 ness [^y]
SFX M Y 1
SFX M 0 's .
SFX B Y 3
SFX B 0 able [^aeiou]
SFX B 0 able ee
SFX B e able [^aeiou]e
SFX L Y 1
SFX L 0 ment .
REP 90
REP a ei
REP ei a
REP a ey
REP ey a
REP ai ie
REP ie ai
REP alot a_lot
REP are air
REP are ear
REP are eir
REP air are
REP air ere
REP ere air
REP ere ear
REP ere eir
REP ear are
REP ear air
REP ear ere
REP eir are
REP eir ere
REP ch te
REP te ch
REP ch ti
REP ti ch
REP ch tu
REP tu ch
REP ch s
REP s ch
REP ch k
REP k ch
REP f ph
REP ph f
REP gh f
REP f gh
REP i igh
REP igh i
REP i uy
REP uy i
REP i ee
REP ee i
REP j di
REP di j
REP j gg
REP gg j
REP j ge
REP ge j
REP s ti
REP ti s
REP s ci
REP ci s
REP k cc
REP cc k
REP k qu
REP qu k
REP kw qu
REP o eau
REP eau o
REP o ew
REP ew o
REP oo ew
REP ew oo
REP ew ui
REP ui ew
REP oo ui
REP ui oo
REP ew u
REP u ew
REP oo u
REP u oo
REP u oe
REP oe u
REP u ieu
REP ieu u
REP ue ew
REP ew ue
REP uff ough
REP oo ieu
REP ieu oo
REP ier ear
REP ear ier
REP ear air
REP air ear
REP w qu
REP qu w
REP z ss
REP ss z
REP shun tion
REP shun sion
REP shun cion
REP size cise

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

@ -0,0 +1,7 @@
""" GDB Python customization auto-loader for js shell """
import os.path
sys.path[0:0] = [os.path.join('/builds/slave/rel-m-beta-xr_l64_bld-00000000/build/js/src', 'gdb')]
import mozilla.autoload
mozilla.autoload.register(gdb.current_objfile())

@ -0,0 +1,5 @@
[Build]
BuildID=20130909203154
Milestone=24.0
SourceStamp=260fcd9e23a3
SourceRepository=http://hg.mozilla.org/releases/mozilla-beta

@ -0,0 +1,47 @@
remove "xulrunner-stub"
remove "xulrunner"
remove "updater"
remove "plugin-container"
remove "platform.ini"
remove "omni.ja"
remove "mozilla-xremote-client"
remove "libxul.so"
remove "libssl3.so"
remove "libsoftokn3.so"
remove "libsoftokn3.chk"
remove "libsmime3.so"
remove "libplds4.so"
remove "libplc4.so"
remove "libnssutil3.so"
remove "libnssdbm3.so"
remove "libnssdbm3.chk"
remove "libnssckbi.so"
remove "libnss3.so"
remove "libnspr4.so"
remove "libmozsqlite3.so"
remove "libmozalloc.so"
remove "libfreebl3.so"
remove "libfreebl3.chk"
remove "js-gdb.py"
remove "icons/updater.png"
remove "dictionaries/en-US.dic"
remove "dictionaries/en-US.aff"
remove "dependentlibs.list"
remove "crashreporter.ini"
remove "crashreporter"
remove "components/libmozgnome.so"
remove "components/libdbusservice.so"
remove "components/components.manifest"
remove "chrome/icons/default/default48.png"
remove "chrome/icons/default/default32.png"
remove "chrome/icons/default/default16.png"
remove "chrome.manifest"
remove "Throbber-small.gif"
remove "README.xulrunner"
remove "LICENSE"
rmdir "icons/"
rmdir "dictionaries/"
rmdir "components/"
rmdir "chrome/icons/default/"
rmdir "chrome/icons/"
rmdir "chrome/"

@ -0,0 +1,55 @@
/*
Note the following:
* XOWA does not run /xowa/bin/[OS_NAME]/xowa/cfg/os.default.gfs
* XOWA does run /xowa/user/anonymous/app/cfg/os.gfs
When XOWA starts, it will check for an os.gfs file
* If os.gfs doesn't exist, it will copy os.default.gfs to os.gfs
* If os.gfs does exist, it won't do anything. In other words, it'll leave the existing os.gfs in place.
After the check, XOWA will then run os.gfs.
The current contents of os.gfs are entirely path-related. If the paths are different on you system, feel free to change them.
*/
app.scripts.fail_if_unhandled = 'n';
app.gui {
browser_type = 'webkit'; // 'mozilla' or 'webkit'
xul_runner_path = '~{<>bin_plat_dir<>}xulrunner/v31'; // path should be set to xulrunner location; '~{<>bin_plat_dir<>}xulrunner/' defaults to '/xowa/bin/platform_name/xulrunner/' (EX: on Windows 'C:\xowa\bin\windows_64\xulrunner\')
}
app.cfg {
// import apps
set_dflt('xowa.bldr.import.apps.bz2_stdout.cmd' , <:{'bzip2|-dkc "~{src}"'}:>); // c=stdout
set_dflt('xowa.bldr.import.apps.bz2' , <:{'bzip2|-dk "~{src}"'}:>); // d=decompress k=keep file (don't delete)
set_dflt('xowa.bldr.import.apps.gz' , <:{'/usr/bin/gunzip|"~{src}"'}:>);
// file viewer apps
set_dflt('xowa.files.apps.view.web' , <:{'/usr/bin/firefox|"~{url}"'}:>);
set_dflt('xowa.files.apps.view.media' , <:{'/usr/bin/vlc|"~{file}"'}:>);
set_dflt('xowa.files.apps.view.image' , <:{'/usr/bin/gimp|"~{file}"'}:>);
set_dflt('xowa.files.apps.view.svg' , <:{'/usr/bin/gimp|"~{file}"'}:>);
set_dflt('xowa.files.apps.view.pdf' , <:{'/usr/bin/evince|"~{file}"'}:>);
set_dflt('xowa.files.apps.view.djvu' , <:{'|"~{file}"'}:>);
// file maker apps
set_dflt('xowa.files.apps.make.img_size_get' , <:{'/usr/bin/identify|-ping -format "<{%w,%h}>" "~{file}"'}:>); // <{ and }> is hard-coded; do not change without changing source
set_dflt('xowa.files.apps.make.img_size_set' , <:{'/usr/bin/convert|"~{source}" -coalesce -resize ~{width}x~{height} "~{target}"'}:>); // coalesce needed for some gifs; EX:w.Chess:[[File:ChessCastlingMovie.gif|thumb|250px|Examples of castling]]
set_dflt('xowa.files.apps.make.svg_to_png' , <:{'/usr/bin/inkscape|-z -w ~{width} -f "~{source}" -e "~{target}"'}:>);
set_dflt('xowa.files.apps.make.djvu_to_tiff' , <:{'/usr/bin/ddjvu|-format=tiff -page=1 "~{source}" "~{target}"'}:>);
// html utility app
set_dflt('xowa.html.tidy.cmd' , <:{'~{<>bin_plat_dir<>}tidy/tidy|-utf8 --force-output y --quiet y --tidy-mark n --doctype '' --wrap 0 --indent y --quote-nbsp y --literal-attributes y --wrap-attributes n --fix-url n --fix-backslash n --enclose-block-text y -o "~{target}" "~{source}"'}:>);
// Scribunto extension
set_dflt('xowa.addon.scribunto.lua.cmd' , <:{'~{<>bin_plat_dir<>}lua/lua5.1.exe|'}:>);
// Math extension
set_dflt('xowa.addon.math.apps.tex_to_dvi' , <:{'/usr/bin/latex|-quiet -output-directory="/tmp/" -job-name=xowa_math_temp "~{tex_file}"'}:>);
set_dflt('xowa.addon.math.apps.dvi_to_png' , <:{'/usr/bin/dvipng|"/tmp/xowa_math_temp.dvi" -o "~{png_file}" -q* -T tight -bg Transparent'}:>);
// Score extension
set_dflt('xowa.addon.score.apps.lilypond' , <:{'/usr/bin/lilypond|"-dsafe=#t" -dbackend=ps --png --header=texidoc -dmidi-extension=midi "~{file}"'}:>);
set_dflt('xowa.addon.score.apps.abc2ly' , <:{'/usr/bin/python|abc2ly -s "--output=~{target}" "~{source}"'}:>);
set_dflt('xowa.addon.score.apps.trim_img' , <:{'/usr/bin/convert|-trim "~{source}" "~{target}"'}:>);
set_dflt('xowa.addon.score.apps.midi_to_ogg' , <:{'~{<>bin_plat_dir<>}timidity/timidity|-Ov "--output-file=~{target}" "~{source}"'}:>);
}

@ -0,0 +1,55 @@
/*
Note the following:
* XOWA does not run /xowa/bin/[OS_NAME]/xowa/cfg/os.default.gfs
* XOWA does run /xowa/user/anonymous/app/cfg/os.gfs
When XOWA starts, it will check for an os.gfs file
* If os.gfs doesn't exist, it will copy os.default.gfs to os.gfs
* If os.gfs does exist, it won't do anything. In other words, it'll leave the existing os.gfs in place.
After the check, XOWA will then run os.gfs.
The current contents of os.gfs are entirely path-related. If the paths are different on you system, feel free to change them.
*/
app.scripts.fail_if_unhandled = 'n';
app.gui {
browser_type = 'mozilla'; // 'mozilla' or 'webkit'
xul_runner_path = '~{<>bin_plat_dir<>}xulrunner/v31'; // path should be set to xulrunner location; '~{<>bin_plat_dir<>}xulrunner_v24' defaults to '/xowa/bin/platform_name/xulrunner_v24' (EX: on Windows 'C:\xowa\bin\windows_64\xulrunner_v24')
}
app.cfg {
// import apps
set_dflt('xowa.bldr.import.apps.bz2_stdout.cmd' , <:{'~{<>bin_plat_dir<>}7-zip\7za|x -so "~{src}"'}:>);
set_dflt('xowa.bldr.import.apps.bz2' , <:{'~{<>bin_plat_dir<>}7-zip\7za|x -y -r "~{src}" -o"~{trg_dir}"'}:>);
set_dflt('xowa.bldr.import.apps.gz' , <:{'~{<>bin_plat_dir<>}7-zip\7za|x -y -r "~{src}" -o"~{trg_dir}"'}:>);
// file viewer apps
set_dflt('xowa.files.apps.view.web' , <:{'cmd|/c start "" "~{url}"'}:>);
set_dflt('xowa.files.apps.view.media' , <:{'cmd|/c start "" "~{file}"'}:>);
set_dflt('xowa.files.apps.view.image' , <:{'cmd|/c start "" "~{file}"'}:>);
set_dflt('xowa.files.apps.view.svg' , <:{'cmd|/c start "" "~{file}"'}:>);
set_dflt('xowa.files.apps.view.pdf' , <:{'cmd|/c start "" "~{file}"'}:>);
set_dflt('xowa.files.apps.view.djvu' , <:{'cmd|/c start "" "~{file}"'}:>);
// file maker apps
set_dflt('xowa.files.apps.make.img_size_get' , <:{'~{<>bin_plat_dir<>}imagemagick\identify|-ping -format "<{%w,%h}>" "~{file}"'}:>); // <{ and }> is hard-coded; do not change without changing source
set_dflt('xowa.files.apps.make.img_size_set' , <:{'~{<>bin_plat_dir<>}imagemagick\convert|"~{source}" -coalesce -resize ~{width}x~{height} "~{target}"'}:>); // coalesce needed for some gifs; EX:w.Chess:[[File:ChessCastlingMovie.gif|thumb|250px|Examples of castling]]
set_dflt('xowa.files.apps.make.svg_to_png' , <:{'~{<>bin_plat_dir<>}inkscape\inkscape|-z -w ~{width} -f "~{source}" -e "~{target}"'}:>);
set_dflt('xowa.files.apps.make.djvu_to_tiff' , <:{'~{<>bin_plat_dir<>}djvulibre\ddjvu|-format=tiff -page=1 "~{source}" "~{target}"'}:>);
// html utility app
set_dflt('xowa.html.tidy.cmd' , <:{'~{<>bin_plat_dir<>}tidy\tidy|-utf8 --force-output y --quiet y --tidy-mark n --doctype '' --wrap 0 --indent y --quote-nbsp y --literal-attributes y --wrap-attributes n --fix-uri n --fix-backslash n --enclose-block-text y -o "~{target}" "~{source}"'}:>);
// Scribunto extension
set_dflt('xowa.addon.scribunto.lua.cmd' , <:{'~{<>bin_plat_dir<>}lua\lua5.1.exe|'}:>);
// Math extension
set_dflt('xowa.addon.math.apps.tex_to_dvi' , <:{'~{<>bin_plat_dir<>}miktex\texmfs\install\miktex\bin\latex|-quiet -output-directory="~{temp_dir}" -job-name=xowa_math_temp "~{tex_file}"'}:>);
set_dflt('xowa.addon.math.apps.dvi_to_png' , <:{'~{<>bin_plat_dir<>}miktex\texmfs\install\miktex\bin\dvipng|"~{dvi_file}" -o "~{png_file}" -q* -T tight -bg Transparent'}:>);
// Score extension
set_dflt('xowa.addon.score.apps.lilypond' , <:{'~{<>bin_plat_dir<>}lilypond\usr\bin\lilypond.exe|"-dsafe=#t" -dbackend=ps --png --header=texidoc -dmidi-extension=midi "~{file}"'}:>);
set_dflt('xowa.addon.score.apps.abc2ly' , <:{'~{<>bin_plat_dir<>}lilypond\usr\bin\python.exe|abc2ly.py -s "--output=~{target}" "~{source}"'}:>);
set_dflt('xowa.addon.score.apps.trim_img' , <:{'~{<>bin_plat_dir<>}imagemagick\convert|-trim "~{source}" "~{target}"'}:>);
set_dflt('xowa.addon.score.apps.midi_to_ogg' , <:{'~{<>bin_plat_dir<>}timidity\timidity|-Ov "--output-file=~{target}" "~{source}"'}:>);
}

@ -0,0 +1,9 @@
Please see the file toolkit/content/license.html for the copyright licensing
conditions attached to this codebase, including copies of the licenses
concerned.
You are not granted rights or licenses to the trademarks of the
Mozilla Foundation or any party, including without limitation the
Firefox name or logo.
For more information, see: http://www.mozilla.org/foundation/licensing.html

@ -0,0 +1,13 @@
XULRunner is a package which can be used to run applications written in HTML
or XUL. It can also be used to embed the gecko rendering engine into
binary applications.
XULRunner is not a product; it is a tool which can be used to create products.
It is a byproduct of Firefox development and the Mozilla community does not
have a strong commitment to support XULRunner development apart from Firefox
development.
For more information about using XULRunner or how to use this binary package,
see the Mozilla Developer Center article:
https://developer.mozilla.org/en/XULRunner

@ -0,0 +1,60 @@
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
# This file is in the UTF-8 encoding
[Strings]
# LOCALIZATION NOTE (isRTL):
# Leave this entry empty unless your language requires right-to-left layout,
# for example like Arabic, Hebrew, Persian. If your language needs RTL, please
# use the untranslated English word "yes" as value
isRTL=
CrashReporterTitle=Crash Reporter
# LOCALIZATION NOTE (CrashReporterVendorTitle): %s is replaced with the vendor name. (i.e. "Mozilla")
CrashReporterVendorTitle=%s Crash Reporter
# LOCALIZATION NOTE (CrashReporterErrorText): %s is replaced with another string containing detailed information.
CrashReporterErrorText=The application had a problem and crashed.\n\nUnfortunately, the crash reporter is unable to submit a report for this crash.\n\nDetails: %s
# LOCALIZATION NOTE (CrashReporterProductErrorText2): The first %s is replaced with the product name (i.e. "Firefox"), the second is replaced with another string containing detailed information. These two substitutions can not be reordered!
CrashReporterProductErrorText2=%s had a problem and crashed.\n\nUnfortunately, the crash reporter is unable to submit a crash report.\n\nDetails: %s
CrashReporterSorry=We're Sorry
# LOCALIZATION NOTE (CrashReporterDescriptionText2): The %s is replaced with the product name.
CrashReporterDescriptionText2=%s had a problem and crashed.\n\nTo help us diagnose and fix the problem, you can send us a crash report.
CrashReporterDefault=This application is run after a crash to report the problem to the application vendor. It should not be run directly.
Details=Details…
ViewReportTitle=Report Contents
CommentGrayText=Add a comment (comments are publicly visible)
ExtraReportInfo=This report also contains technical information about the state of the application when it crashed.
# LOCALIZATION NOTE (CheckSendReport): The %s is replaced with the vendor name.
CheckSendReport=Tell %s about this crash so they can fix it
CheckIncludeURL=Include the address of the page I was on
CheckAllowEmail=Allow %s to contact me about this report
EmailGrayText=Enter your email address here
ReportPreSubmit2=Your crash report will be submitted before you quit or restart.
ReportDuringSubmit2=Submitting your report…
ReportSubmitSuccess=Report submitted successfully!
ReportSubmitFailed=There was a problem submitting your report.
ReportResubmit=Resending reports that previously failed to send…
# LOCALIZATION NOTE (Quit2): The %s is replaced with the product name.
Quit2=Quit %s
# LOCALIZATION NOTE (Restart): The %s is replaced with the product name.
Restart=Restart %s
Ok=OK
Close=Close
# LOCALIZATION NOTE (CrashID): The %s is replaced with the Crash ID from the server, which is a string like abc12345-6789-0abc-def1-23456abcdef1
CrashID=Crash ID: %s
# LOCALIZATION NOTE (CrashDetailsURL): The %s is replaced with a URL that the user can visit to view the crash details.
CrashDetailsURL=You can view details of this crash at %s
ErrorBadArguments=The application passed an invalid argument.
ErrorExtraFileExists=The application didn't leave an application data file.
ErrorExtraFileRead=Couldn't read the application data file.
ErrorExtraFileMove=Couldn't move application data file.
ErrorDumpFileExists=The application did not leave a crash dump file.
ErrorDumpFileMove=Couldn't move crash dump.
ErrorNoProductName=The application did not identify itself.
ErrorNoServerURL=The application did not specify a crash reporting server.
ErrorNoSettingsPath=Couldn't find the crash reporter's settings.
ErrorCreateDumpDir=Couldn't create pending dump directory.
# LOCALIZATION NOTE (ErrorEndOfLife): The %s is replaced with the product name.
ErrorEndOfLife=The version of %s you are using is no longer supported. Crash reports are no longer being accepted for this version. Please consider upgrading to a supported version.

@ -0,0 +1,8 @@
MSVCR100.dll
nss3.dll
MSVCP100.dll
mozglue.dll
mozjs.dll
mozalloc.dll
gkmedias.dll
xul.dll

@ -0,0 +1,207 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
SET ISO8859-1
TRY esianrtolcdugmphbyfvkwzESIANRTOLCDUGMPHBYFVKWZ'
NOSUGGEST !
# ordinal numbers
COMPOUNDMIN 1
# only in compounds: 1th, 2th, 3th
ONLYINCOMPOUND c
# compound rules:
# 1. [0-9]*1[0-9]th (10th, 11th, 12th, 56714th, etc.)
# 2. [0-9]*[02-9](1st|2nd|3rd|[4-9]th) (21st, 22nd, 123rd, 1234th, etc.)
COMPOUNDRULE 2
COMPOUNDRULE n*1t
COMPOUNDRULE n*mp
WORDCHARS 0123456789
PFX A Y 1
PFX A 0 re .
PFX I Y 1
PFX I 0 in .
PFX U Y 1
PFX U 0 un .
PFX C Y 1
PFX C 0 de .
PFX E Y 1
PFX E 0 dis .
PFX F Y 1
PFX F 0 con .
PFX K Y 1
PFX K 0 pro .
SFX V N 2
SFX V e ive e
SFX V 0 ive [^e]
SFX N Y 3
SFX N e ion e
SFX N y ication y
SFX N 0 en [^ey]
SFX X Y 3
SFX X e ions e
SFX X y ications y
SFX X 0 ens [^ey]
SFX H N 2
SFX H y ieth y
SFX H 0 th [^y]
SFX Y Y 1
SFX Y 0 ly .
SFX G Y 2
SFX G e ing e
SFX G 0 ing [^e]
SFX J Y 2
SFX J e ings e
SFX J 0 ings [^e]
SFX D Y 4
SFX D 0 d e
SFX D y ied [^aeiou]y
SFX D 0 ed [^ey]
SFX D 0 ed [aeiou]y
SFX T N 4
SFX T 0 st e
SFX T y iest [^aeiou]y
SFX T 0 est [aeiou]y
SFX T 0 est [^ey]
SFX R Y 4
SFX R 0 r e
SFX R y ier [^aeiou]y
SFX R 0 er [aeiou]y
SFX R 0 er [^ey]
SFX Z Y 4
SFX Z 0 rs e
SFX Z y iers [^aeiou]y
SFX Z 0 ers [aeiou]y
SFX Z 0 ers [^ey]
SFX S Y 4
SFX S y ies [^aeiou]y
SFX S 0 s [aeiou]y
SFX S 0 es [sxzh]
SFX S 0 s [^sxzhy]
SFX P Y 3
SFX P y iness [^aeiou]y
SFX P 0 ness [aeiou]y
SFX P 0 ness [^y]
SFX M Y 1
SFX M 0 's .
SFX B Y 3
SFX B 0 able [^aeiou]
SFX B 0 able ee
SFX B e able [^aeiou]e
SFX L Y 1
SFX L 0 ment .
REP 90
REP a ei
REP ei a
REP a ey
REP ey a
REP ai ie
REP ie ai
REP alot a_lot
REP are air
REP are ear
REP are eir
REP air are
REP air ere
REP ere air
REP ere ear
REP ere eir
REP ear are
REP ear air
REP ear ere
REP eir are
REP eir ere
REP ch te
REP te ch
REP ch ti
REP ti ch
REP ch tu
REP tu ch
REP ch s
REP s ch
REP ch k
REP k ch
REP f ph
REP ph f
REP gh f
REP f gh
REP i igh
REP igh i
REP i uy
REP uy i
REP i ee
REP ee i
REP j di
REP di j
REP j gg
REP gg j
REP j ge
REP ge j
REP s ti
REP ti s
REP s ci
REP ci s
REP k cc
REP cc k
REP k qu
REP qu k
REP kw qu
REP o eau
REP eau o
REP o ew
REP ew o
REP oo ew
REP ew oo
REP ew ui
REP ui ew
REP oo ui
REP ui oo
REP ew u
REP u ew
REP oo u
REP u oo
REP u oe
REP oe u
REP u ieu
REP ieu u
REP ue ew
REP ew ue
REP uff ough
REP oo ieu
REP ieu oo
REP ier ear
REP ear ier
REP ear air
REP air ear
REP w qu
REP qu w
REP z ss
REP ss z
REP shun tion
REP shun sion
REP shun cion
REP size cise

File diff suppressed because it is too large Load Diff

@ -0,0 +1,7 @@
""" GDB Python customization auto-loader for js shell """
import os.path
sys.path[0:0] = [os.path.join('c:/Development/hg.mozilla.org/xulrunner-esr31/js/src', 'gdb')]
import mozilla.autoload
mozilla.autoload.register(gdb.current_objfile())

@ -0,0 +1,5 @@
[Build]
BuildID=20140724193504
Milestone=31.0
SourceStamp=dae420a05336
SourceRepository=http://hg.mozilla.org/releases/mozilla-esr31

@ -0,0 +1,38 @@
remove "xulrunner.exe"
remove "xulrunner-stub.exe"
remove "xul.dll"
remove "updater.exe"
remove "softokn3.dll"
remove "softokn3.chk"
remove "redit.exe"
remove "plugin-hang-ui.exe"
remove "plugin-container.exe"
remove "platform.ini"
remove "omni.ja"
remove "nssdbm3.dll"
remove "nssdbm3.chk"
remove "nssckbi.dll"
remove "nss3.dll"
remove "msvcr100.dll"
remove "msvcp100.dll"
remove "mozjs.dll"
remove "mozglue.dll"
remove "mozalloc.dll"
remove "libGLESv2.dll"
remove "libEGL.dll"
remove "js.exe"
remove "js-gdb.py"
remove "gkmedias.dll"
remove "freebl3.dll"
remove "freebl3.chk"
remove "dictionaries/en-US.dic"
remove "dictionaries/en-US.aff"
remove "dependentlibs.list"
remove "crashreporter.ini"
remove "crashreporter.exe"
remove "README.xulrunner"
remove "LICENSE"
remove "IA2Marshal.dll"
remove "D3DCompiler_43.dll"
remove "AccessibleMarshal.dll"
rmdir "dictionaries/"

@ -1,62 +1,62 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="compile_xowa" name="create runnable jar for XOWA">
<target name="compile_core">
<delete dir="${src_dir}/100_core/bin"/>
<mkdir dir="${src_dir}/100_core/bin"/>
<delete dir="${root_dir}/src/100_core/bin"/>
<mkdir dir="${root_dir}/src/100_core/bin"/>
<javac includeantruntime="false" target="${jdk}" source="${jdk}" sourcepath=""
srcdir ="${src_dir}/100_core"
destdir ="${src_dir}/100_core/bin"
classpath="${src_dir}/lib/junit.jar:${src_dir}/app/bin/any/java/apache/commons-compress-1.5.jar:${src_dir}/app/bin/any/java/xz/xz-1.5.jar">
srcdir ="${root_dir}/src/100_core"
destdir ="${root_dir}/src/100_core/bin"
classpath="${root_dir}/lib/junit.jar:${root_dir}/bin/any/java/apache/commons-compress-1.5.jar:${root_dir}/bin/any/java/xz/xz-1.5.jar">
<include name="**/*.java"/>
</javac>
</target>
<target name="compile_gfml">
<delete dir="${src_dir}/110_gfml/bin"/>
<mkdir dir="${src_dir}/110_gfml/bin"/>
<delete dir="${root_dir}/src/110_gfml/bin"/>
<mkdir dir="${root_dir}/src/110_gfml/bin"/>
<javac includeantruntime="false" target="${jdk}" source="${jdk}" sourcepath=""
srcdir ="${src_dir}/110_gfml"
destdir ="${src_dir}/110_gfml/bin"
classpath="${src_dir}/lib/junit.jar:${src_dir}/100_core/bin">
srcdir ="${root_dir}/src/110_gfml"
destdir ="${root_dir}/src/110_gfml/bin"
classpath="${root_dir}/src/lib/junit.jar:${root_dir}/src/100_core/bin">
<include name="**/*.java"/>
</javac>
</target>
<target name="compile_dbs">
<delete dir="${src_dir}/140_dbs/bin"/>
<mkdir dir="${src_dir}/140_dbs/bin"/>
<delete dir="${root_dir}/src/140_dbs/bin"/>
<mkdir dir="${root_dir}/src/140_dbs/bin"/>
<javac includeantruntime="false" target="${jdk}" source="${jdk}" sourcepath=""
srcdir ="${src_dir}/140_dbs"
destdir ="${src_dir}/140_dbs/bin"
classpath="${src_dir}/lib/junit.jar:${src_dir}/100_core/bin:${src_dir}/app/bin/any/java/jdbc/sqlite/sqlite-jdbc-3.18.0.jar">
srcdir ="${root_dir}/src/140_dbs"
destdir ="${root_dir}/src/140_dbs/bin"
classpath="${root_dir}/src/lib/junit.jar:${root_dir}/src/100_core/bin:${root_dir}/bin/any/java/jdbc/sqlite/sqlite-jdbc-3.18.0.jar">
<include name="**/*.java"/>
</javac>
</target>
<target name="compile_gfui">
<delete dir="${src_dir}/150_gfui/bin"/>
<mkdir dir="${src_dir}/150_gfui/bin"/>
<delete dir="${root_dir}/src/150_gfui/bin"/>
<mkdir dir="${root_dir}/src/150_gfui/bin"/>
<javac includeantruntime="false" target="${jdk}" source="${jdk}" sourcepath=""
srcdir ="${src_dir}/150_gfui"
destdir ="${src_dir}/150_gfui/bin"
classpath="${src_dir}/lib/junit.jar:${src_dir}/150_gfui/lib/swt.jar:${src_dir}/100_core/bin:${src_dir}/110_gfml/bin">
srcdir ="${root_dir}/src/150_gfui"
destdir ="${root_dir}/src/150_gfui/bin"
classpath="${root_dir}/src/lib/junit.jar:${root_dir}/src/150_gfui/lib/swt.jar:${root_dir}/src/100_core/bin:${root_dir}/src/110_gfml/bin">
<include name="**/*.java"/>
</javac>
</target>
<target name="compile_gflucene">
<delete dir="${src_dir}/gplx.gflucene/bin"/>
<mkdir dir="${src_dir}/gplx.gflucene/bin"/>
<delete dir="${root_dir}/src/gplx.gflucene/bin"/>
<mkdir dir="${root_dir}/src/gplx.gflucene/bin"/>
<javac includeantruntime="false" target="${jdk}" source="${jdk}" sourcepath=""
srcdir ="${src_dir}/gplx.gflucene"
destdir ="${src_dir}/gplx.gflucene/bin"
classpath="${src_dir}/lib/junit.jar:${src_dir}/app/bin/any/java/lucene/5.3.0.drd/lucene-core-5.3.0-mobile-2.jar:${src_dir}/app/bin/any/java/lucene/5.3.0.drd/lucene-highlighter-5.3.0-mobile-2.jar:${src_dir}/app/bin/any/java/lucene/5.3.0.drd/lucene-memory-5.3.0-mobile-2.jar:${src_dir}/app/bin/any/java/lucene/5.3.0.drd/lucene-queryparser-5.3.0-mobile-2.jar:${src_dir}/app/bin/any/java/lucene/5.3.0.drd/lucene-analyzers-common-5.3.0-mobile-2.jar:${src_dir}/app/bin/any/java/lucene/5.3.0.drd/lucene-queries-5.3.0-mobile-2.jar:${src_dir}/100_core/bin">
srcdir ="${root_dir}/src/gplx.gflucene"
destdir ="${root_dir}/src/gplx.gflucene/bin"
classpath="${root_dir}/src/lib/junit.jar:${root_dir}/bin/any/java/lucene/5.3.0.drd/lucene-core-5.3.0-mobile-2.jar:${root_dir}/bin/any/java/lucene/5.3.0.drd/lucene-highlighter-5.3.0-mobile-2.jar:${root_dir}/bin/any/java/lucene/5.3.0.drd/lucene-memory-5.3.0-mobile-2.jar:${root_dir}/bin/any/java/lucene/5.3.0.drd/lucene-queryparser-5.3.0-mobile-2.jar:${root_dir}/bin/any/java/lucene/5.3.0.drd/lucene-analyzers-common-5.3.0-mobile-2.jar:${root_dir}/bin/any/java/lucene/5.3.0.drd/lucene-queries-5.3.0-mobile-2.jar:${root_dir}/src/100_core/bin">
<include name="**/*.java"/>
</javac>
</target>
<target name="compile_xowa" depends="compile_core,compile_gfml,compile_dbs,compile_gfui,compile_gflucene">
<delete dir="${src_dir}/400_xowa/bin"/>
<mkdir dir="${src_dir}/400_xowa/bin"/>
<delete dir="${root_dir}/src/400_xowa/bin"/>
<mkdir dir="${root_dir}/src/400_xowa/bin"/>
<javac includeantruntime="false" target="${jdk}" source="${jdk}" sourcepath=""
srcdir ="${src_dir}/400_xowa"
destdir ="${src_dir}/400_xowa/bin"
classpath="${src_dir}/lib/junit.jar:${src_dir}/100_core/bin:${src_dir}/110_gfml/bin:${src_dir}/140_dbs/bin:${src_dir}/150_gfui/bin:${src_dir}/gplx.gflucene/bin:${src_dir}/app/bin/any/java/luaj/luaj_xowa.jar:${src_dir}/app/bin/any/java/jtidy/jtidy_xowa.jar:${src_dir}/app/bin/any/java/icu4j/icu4j-4_8.jar">
srcdir ="${root_dir}/src/400_xowa"
destdir ="${root_dir}/src/400_xowa/bin"
classpath="${root_dir}/src/lib/junit.jar:${root_dir}/src/100_core/bin:${root_dir}/src/110_gfml/bin:${root_dir}/src/140_dbs/bin:${root_dir}/src/150_gfui/bin:${root_dir}/src/gplx.gflucene/bin:${root_dir}/bin/any/java/luaj/luaj_xowa.jar:${root_dir}/bin/any/java/jtidy/jtidy_xowa.jar:${root_dir}/bin/any/java/icu4j/icu4j-4_8.jar">
<compilerarg line="-encoding utf-8"/>
<include name="**/*.java"/>
</javac>

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_jar" name="create runnable jar">
<target name="create_jar">
<jar destfile="${xowa_jar_name}">
<jar destfile="${xowa_jar_path}">
<manifest>
<attribute name="Main-Class" value="gplx.xowa.Xowa_main"/>
<attribute name="Class-Path" value=". bin/${plat_name}/swt/swt.jar bin/any/java/apache/commons-compress-1.5.jar bin/any/java/jdbc/sqlite/sqlite-jdbc-3.18.0.jar bin/any/java/luaj/luaj_xowa.jar bin/any/java/jtidy/jtidy_xowa.jar bin/any/java/xz/xz-1.5.jar bin/any/java/icu4j/icu4j-4_8.jar bin/any/java/lucene/5.3.0.drd/lucene-core-5.3.0-mobile-2.jar bin/any/java/lucene/5.3.0.drd/lucene-highlighter-5.3.0-mobile-2.jar bin/any/java/lucene/5.3.0.drd/lucene-memory-5.3.0-mobile-2.jar bin/any/java/lucene/5.3.0.drd/lucene-queryparser-5.3.0-mobile-2.jar bin/any/java/lucene/5.3.0.drd/lucene-analyzers-common-5.3.0-mobile-2.jar bin/any/java/lucene/5.3.0.drd/lucene-queries-5.3.0-mobile-2.jar"/>
</manifest>
<fileset dir="${src_dir}/100_core/bin"/>
<fileset dir="${src_dir}/110_gfml/bin"/>
<fileset dir="${src_dir}/140_dbs/bin"/>
<fileset dir="${src_dir}/150_gfui/bin"/>
<fileset dir="${src_dir}/400_xowa/bin"/>
<fileset dir="${src_dir}/gplx.gflucene/bin"/>
<fileset dir="${root_dir}/src/100_core/bin"/>
<fileset dir="${root_dir}/src/110_gfml/bin"/>
<fileset dir="${root_dir}/src/140_dbs/bin"/>
<fileset dir="${root_dir}/src/150_gfui/bin"/>
<fileset dir="${root_dir}/src/400_xowa/bin"/>
<fileset dir="${root_dir}/src/gplx.gflucene/bin"/>
</jar>
</target>
</project>

Loading…
Cancel
Save