From dmsmith at crosswire.org Sat Mar 19 09:22:27 2016 From: dmsmith at crosswire.org (dmsmith at crosswire.org) Date: Sat, 19 Mar 2016 09:22:27 -0700 Subject: [jsword-svn] r2329 - in trunk/bibledesktop: . etc/installer/macosx etc/installer/macosx/Bible Desktop.app/Contents etc/installer/macosx/Bible Desktop.app/Contents/MacOS etc/installer/macosx/Bible Desktop.app/Contents/Resources etc/installer/macosx/Bible Desktop.app/Contents/Resources/de.lproj etc/installer/macosx/Bible Desktop.app/Contents/Resources/en.lproj etc/installer/macosx/Bible Desktop.app/Contents/Resources/fr.lproj Message-ID: Author: dmsmith Date: 2016-03-19 09:22:27 -0700 (Sat, 19 Mar 2016) New Revision: 2329 Added: trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/ trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Info.plist trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Java/ trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/MacOS/JavaAppLauncher trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/de.lproj/ trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/de.lproj/Localizable.strings trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/en.lproj/ trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/en.lproj/Localizable.strings trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/fr.lproj/ trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/fr.lproj/Localizable.strings Removed: trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Info.plist Modified: trunk/bibledesktop/build.xml trunk/bibledesktop/etc/installer/macosx/readme.txt Log: Update MacOSX app for Java 7 and above. Source is still Java 5 compatible. Modified: trunk/bibledesktop/build.xml =================================================================== --- trunk/bibledesktop/build.xml 2016-01-23 16:54:30 UTC (rev 2328) +++ trunk/bibledesktop/build.xml 2016-03-19 16:22:27 UTC (rev 2329) @@ -50,7 +50,7 @@ + depends="package.macosx, package.windows"/> @@ -126,7 +126,7 @@ @@ -134,28 +134,28 @@ - + - + prefix="Bible Desktop.app" + dir="${etc.dir}/installer/macosx/Bible Desktop.app"> + + file="${etc.dir}/installer/macosx/Bible Desktop.app/Contents/MacOS/JavaAppLauncher"/> @@ -163,6 +163,36 @@ + + + + + + + + + - - - - CFBundleName - Bible Desktop - CFBundleIdentifier - org.crosswire.jsword - CFBundleVersion - @release.version@ - CFBundleAllowMixedLocalizations - true - CFBundleExecutable - JavaApplicationStub - CFBundleDevelopmentRegion - English - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleGetInfoString - Bible Desktop v at release.version@ (c) 2015 - CFBundleInfoDictionaryVersion - 6.0 - CFBundleIconFile - BibleDesktop.icns - Java - - WorkingDirectory - $APP_PACKAGE/Contents/Resources/Java - VMOptions - -Xmx512Mm - MainClass - org.crosswire.bibledesktop.desktop.Desktop - JVMVersion - 1.6 - ClassPath - - $JAVAROOT/bibledesktop- at release.version@.jar - $JAVAROOT/jsword- at release.version@.jar - $JAVAROOT/jsword-common-aqua-1.0.6.jar - $JAVAROOT/lucene-core-3.0.3.jar - $JAVAROOT/lucene-snowball-3.0.3.jar - $JAVAROOT/lucene-analyzers-3.0.3.jar - $JAVAROOT/lucene-smartcn-3.0.3.jar - $JAVAROOT/jdom2-2.0.6.jar - $JAVAROOT/icu4j-54.1.1.jar - $JAVAROOT/commons-codec-1.10.jar - $JAVAROOT/commons-collections4-4.0.jar - $JAVAROOT/commons-compress-1.9.jar - $JAVAROOT/commons-configuration-1.10.jar - $JAVAROOT/commons-net-3.3.jar - $JAVAROOT/httpcore-4.4.jar - $JAVAROOT/httpclient-4.4.jar - $JAVAROOT/slf4j-api-1.7.6.jar - $JAVAROOT/slf4j-jdk14-1.7.6.jar - $JAVAROOT/jcl-over-slf4j-1.7.6.jar - $JAVAROOT/xz-1.4.jar - $JAVAROOT/jlfgr-1_0.jar - - Properties - - apple.laf.useScreenMenuBar - true - - - - Copied: trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Info.plist (from rev 2326, trunk/bibledesktop/etc/installer/macosx/BibleDesktop.app/Contents/Info.plist) =================================================================== --- trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Info.plist (rev 0) +++ trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Info.plist 2016-03-19 16:22:27 UTC (rev 2329) @@ -0,0 +1,66 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + JavaAppLauncher + CFBundleIconFile + BibleDesktop.icns + CFBundleIdentifier + org.crosswire.jsword + CFBundleDisplayName + Bible Desktop + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Bible Desktop + CFBundlePackageType + APPL + CFBundleShortVersionString + @release.version@ + CFBundleVersion + @release.version@ + CFBundleSignature + ???? + NSHumanReadableCopyright + Bible Desktop v at release.version@ (c) 2016 + NSHighResolutionCapable + + NSSupportsAutomaticGraphicsSwitching + + JVMVersion + 1.7 + JREPreferred + + JVMMainClassName + org.crosswire.bibledesktop.desktop.Desktop + CFBundleDocumentTypes + + LSArchitecturePriority + + LSEnvironment + + LC_CTYPE + UTF-8 + + JVMOptions + + -Xdock:name=Bible Desktop + -Dapple.laf.useScreenMenuBar=true + -Dcom.apple.macos.use-file-dialog-packages=true + -Dcom.apple.macos.useScreenMenuBar=true + -Dcom.apple.mrj.application.apple.menu.about.name=Bible Desktop + -Dcom.apple.smallTabs=true + -Dfile.encoding=UTF-8 + + JVMDefaultOptions + + Xmx + -Xmx1024M + + JVMArguments + + + Added: trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/MacOS/JavaAppLauncher =================================================================== (Binary files differ) Property changes on: trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/MacOS/JavaAppLauncher ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/de.lproj/Localizable.strings =================================================================== --- trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/de.lproj/Localizable.strings (rev 0) +++ trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/de.lproj/Localizable.strings 2016-03-19 16:22:27 UTC (rev 2329) @@ -0,0 +1,7 @@ +"JRELoadError" = "Die Java Laufzeitumgebung konnte nicht geladen werden."; +"JRExLoadError" = "Die Java %d Laufzeitumgebung konnte nicht geladen werden."; +"JRExLoadFullError" = "Diese Anwendung ben?tigt die Java %d Laufzeitumgebung oder h?her auf Ihrem Computer installiert sein. Bitte installieren Sie die neueste Version von Java von www.java.com und erneut versuchen."; +"JDKxLoadFullError" = "Diese Anwendung ben?tigt die Java %d Laufzeitumgebung oder h?her auf Ihrem Computer installiert sein. Bitte installieren Sie die neueste JDK von Oracle.com und erneut versuchen."; +"MainClassNameRequired" = "Hauptklassenname ist erforderlich."; +"JavaDirectoryNotFound" = "Das Java Verzeichnis ist nicht vorhanden."; +"BundlePathContainsColon" = "Kann nicht vom einem Ordner aus starten, der \"/\" in seinem Namen enth?lt."; Added: trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/en.lproj/Localizable.strings =================================================================== --- trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/en.lproj/Localizable.strings (rev 0) +++ trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/en.lproj/Localizable.strings 2016-03-19 16:22:27 UTC (rev 2329) @@ -0,0 +1,7 @@ +"JRELoadError" = "Unable to load Java Runtime Environment."; +"JRExLoadError" = "Unable to load a Java %d Runtime Environment."; +"JRExLoadFullError" = "This application requires that Java %d or later be installed on your computer. Please download and install the latest version of Java from www.java.com and try again."; +"JDKxLoadFullError" = "This application requires that a Java %d JDK or later be installed on your computer. Please download and install the latest Java JDK from Oracle.com and try again."; +"MainClassNameRequired" = "Main class name is required."; +"JavaDirectoryNotFound" = "Unable to enumerate Java directory contents."; +"BundlePathContainsColon" = "Cannot launch from folder that contains a \"/\" in its name."; Added: trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/fr.lproj/Localizable.strings =================================================================== --- trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/fr.lproj/Localizable.strings (rev 0) +++ trunk/bibledesktop/etc/installer/macosx/Bible Desktop.app/Contents/Resources/fr.lproj/Localizable.strings 2016-03-19 16:22:27 UTC (rev 2329) @@ -0,0 +1,7 @@ +"JRELoadError" = "Impossible d'utiliser un environnement Java."; +"JRExLoadError" = "Impossible d'utiliser un environnement Java %d."; +"JRExLoadFullError" = "Ce logiciel n?cessite que Java %d ou plus r?cent ?tre install?s sur votre ordinateur. S'il vous pla?t t?l?charger et installer la derni?re version de Java ? partir de www.java.com et essayez ? nouveau."; +"JDKxLoadFullError" = "Ce logiciel n?cessite que Java %d JDK ou plus r?cent ?tre install?s sur votre ordinateur. S'il vous pla?t t?l?charger et installer le JDK plus r?cente de Oracle.com et essayez ? nouveau."; +"MainClassNameRequired" = "Principal nom de classe est n?cessaire."; +"JavaDirectoryNotFound" = "Impossible d'?num?rer r?pertoire Java contenu."; +"BundlePathContainsColon" = "Pas de commencer ? partir d'un dossier qui contient un \"/\" dans son nom."; \ No newline at end of file Modified: trunk/bibledesktop/etc/installer/macosx/readme.txt =================================================================== --- trunk/bibledesktop/etc/installer/macosx/readme.txt 2016-01-23 16:54:30 UTC (rev 2328) +++ trunk/bibledesktop/etc/installer/macosx/readme.txt 2016-03-19 16:22:27 UTC (rev 2329) @@ -5,11 +5,11 @@ Instructions: Building the App: -Info.plist is the "app" control file. When 3rd party jar names change, it needs to change. +Info.plist is the "app" control file. Use Ant to build the "app" into the installation target directory. This does two things: 1) It updates the release version number for the BibleDesktop and JSword jars. -2) It puts the jars in BibleDesktop.app/Contents/Resources/Java +2) It puts the jars in BibleDesktop.app/Contents/Java Building the Distribution: DMG is a Mac Disk Image that can only be built on the Mac. From dmsmith at crosswire.org Sat Mar 19 09:27:09 2016 From: dmsmith at crosswire.org (dmsmith at crosswire.org) Date: Sat, 19 Mar 2016 09:27:09 -0700 Subject: [jsword-svn] r2330 - trunk/bibledesktop/src/main/resources/xsl/cswing Message-ID: Author: dmsmith Date: 2016-03-19 09:27:09 -0700 (Sat, 19 Mar 2016) New Revision: 2330 Modified: trunk/bibledesktop/src/main/resources/xsl/cswing/simple.xsl Log: Improve simple.xslt for styling of tables, notes. Modified: trunk/bibledesktop/src/main/resources/xsl/cswing/simple.xsl =================================================================== --- trunk/bibledesktop/src/main/resources/xsl/cswing/simple.xsl 2016-03-19 16:22:27 UTC (rev 2329) +++ trunk/bibledesktop/src/main/resources/xsl/cswing/simple.xsl 2016-03-19 16:27:09 UTC (rev 2330) @@ -137,20 +137,25 @@ SUB.strongs { font-size: 75%; color: red; } SUB.morph { font-size: 75%; color: blue; } SUB.lemma { font-size: 75%; color: orange; } - SUP.verse { font-size: 75%; color: gray; } - SUP.note { font-size: 75%; color: green; } + .verse { color: gray;} + SUP { font-size: 75%; } + .note { color: green; } + SUP.note { font-size: 75%; } + FONT.note { font-weight: bold;} FONT.lex { color: orange; } FONT.jesus { color: red; } FONT.speech { color: blue; } FONT.strike { text-decoration: line-through; } FONT.small-caps { font-variant: small-caps; } + FONT.spaced-letters { letter-spacing: 1em; } FONT.inscription { font-weight: bold; font-variant: small-caps; } FONT.divineName { font-variant: small-caps; } FONT.normal { font-variant: normal; } FONT.caps { text-transform: uppercase; } - FONT.catchword { font-weight: bold; } + FONT.catchword { font-weight: bold; font-style: italic; } + FONT.illuminated { font-weight: bold; font-style: italic; } FONT.rdg { font-style: italic; } - H1 { font-size: 115%; font-weight: bold; } + H1 { font-size: 130%; font-weight: bold; } H2 { font-size: 110%; font-weight: bold; } H3 { font-size: 100%; font-weight: bold; } H4 { font-size: 90%; font-weight: bold; } @@ -159,8 +164,8 @@ .heading { color: #669966; text-align: center; } .canonical { color: #666699; text-align: center; } .gen { color: #996666; } - div.margin { font-size:90%; } - TABLE { width:100% } + DIV.margin { font-size: 90%; } + TABLE { width:100%; } TD.notes { width:20%; background:#f4f4e8; } TD.text { width:80%; } @@ -179,7 +184,7 @@ - +
@@ -194,7 +199,7 @@ - +
@@ -360,7 +365,7 @@ - +    @@ -394,7 +399,7 @@ - +    @@ -450,16 +455,16 @@ --> - +   - +   - () + ()  - () + ()  @@ -519,7 +524,7 @@
- + @@ -871,6 +876,13 @@
+ + +

+
+ +

+

@@ -1332,7 +1344,8 @@ - + + 0 @@ -1430,7 +1443,7 @@ - + @@ -1444,6 +1457,9 @@ + + + @@ -1578,6 +1594,16 @@ + + + + +   + + + + +