• R/O
  • SSH

dialog-studio-java: Commit

Galatea Dialog Studio: Eclipse-based Java project. Migrated from CVS repository (scripts are omitted).


Commit MetaInfo

Revision4cea6e3bdaa89476b9f5367c1afc2f2dc20dc528 (tree)
Time2010-05-30 00:26:00
AuthorTakuya Nishimoto <nishimotz@gmai...>
CommiterTakuya Nishimoto

Log Message

Version 2.3.0 (100529)

Change Summary

Incremental Difference

diff -r b52a1e15c950 -r 4cea6e3bdaa8 src/build.xml
--- a/src/build.xml Sat May 29 10:13:46 2010 +0900
+++ b/src/build.xml Sun May 30 00:26:00 2010 +0900
@@ -16,7 +16,6 @@
1616 <target name="compile" depends="mkdir">
1717 <javac srcdir="${src}"
1818 encoding="UTF-8"
19- classpath=".:../files/lib/js.jar"
2019 fork="true"
2120 destdir="${classes}">
2221 <!--
diff -r b52a1e15c950 -r 4cea6e3bdaa8 src/galatea/dialog/DialogStudioVersion.java
--- a/src/galatea/dialog/DialogStudioVersion.java Sat May 29 10:13:46 2010 +0900
+++ b/src/galatea/dialog/DialogStudioVersion.java Sun May 30 00:26:00 2010 +0900
@@ -2,10 +2,10 @@
22 public class DialogStudioVersion
33 {
44 public static final String TSTAMP =
5- "Galatea Dialog Studio 2.2.4b6 (090910)";
5+ "Galatea Dialog Studio 2.3.0 (100529)";
66
77 public static final String COPYRIGHT =
8- "(c)2003-2009 Takuya NISHIMOTO (nishimoto [atmark] m.ieice.org)";
8+ "(c)2003-2010 Takuya NISHIMOTO (nishimoto [atmark] m.ieice.org)";
99
1010 public static float STATEMAP_PDOC_VERSION = 0.901f;
1111
@@ -51,7 +51,7 @@
5151 * Ver 2.2.4b3 (090307) : Julius is controlled at Pause / Resume
5252 * Ver 2.2.4b4 (090309) : DM.Window.FixFont (default is false)
5353 *
54- * Ver 2.2.4.0 (09xxxx) : release version
54+ * Ver 2.3.0 (09xxxx) : encoding=UTF-8
5555 */
5656 }
5757
diff -r b52a1e15c950 -r 4cea6e3bdaa8 src/galatea/util/Util.java
--- a/src/galatea/util/Util.java Sat May 29 10:13:46 2010 +0900
+++ b/src/galatea/util/Util.java Sun May 30 00:26:00 2010 +0900
@@ -639,21 +639,21 @@
639639
640640 /**
641641 * @return default is UTF-8
642- * windows : os.name="Windows XP" & os.arch="x86" : Shift_JIS
643- * linux : os.name="Linux" & os.arch="i386" : EUC-JP
642+ * // windows : os.name="Windows XP" & os.arch="x86" : Shift_JIS
643+ * // linux : os.name="Linux" & os.arch="i386" : EUC-JP
644644 */
645645 public static Charset getSystemDefaultCharset() {
646646 // System.out.println(System.getProperty("os.name"));
647647 // System.out.println(System.getProperty("os.arch"));
648- String osName = System.getProperty("os.name");
649- String osArch = System.getProperty("os.arch");
648+ //String osName = System.getProperty("os.name");
649+ //String osArch = System.getProperty("os.arch");
650650 Charset charset = Charset.forName("UTF-8"); // default
651- if (osName.startsWith("Windows") && osArch.equalsIgnoreCase("x86")) {
652- charset = Charset.forName("Shift_JIS");
653- }
654- if (osName.equals("Linux") && osArch.equalsIgnoreCase("i386")) {
655- charset = Charset.forName("EUC-JP");
656- }
651+ //if (osName.startsWith("Windows") && osArch.equalsIgnoreCase("x86")) {
652+ // charset = Charset.forName("Shift_JIS");
653+ //}
654+ //if (osName.equals("Linux") && osArch.equalsIgnoreCase("i386")) {
655+ // charset = Charset.forName("EUC-JP");
656+ //}
657657 return charset;
658658 }
659659
@@ -706,11 +706,11 @@
706706 }
707707
708708 public static String getEncoding() {
709- if (Util.isJapanese() && Util.isWindows()) {
710- return "Shift-JIS";
711- } else if (Util.isJapanese() && Util.isLinux()) {
712- return "EUC-JP";
713- }
709+ //if (Util.isJapanese() && Util.isWindows()) {
710+ // return "Shift-JIS";
711+ //} else if (Util.isJapanese() && Util.isLinux()) {
712+ // return "EUC-JP";
713+ //}
714714 return "UTF-8";
715715 }
716716
Show on old repository browser