OSDN Git Service

Remove \'build xxxxxxxx\' string from the version description.
authortoshinagata1964 <toshinagata1964@a2be9bc6-48de-4e38-9406-05402d4bc13c>
Thu, 15 Sep 2011 10:29:51 +0000 (10:29 +0000)
committertoshinagata1964 <toshinagata1964@a2be9bc6-48de-4e38-9406-05402d4bc13c>
Thu, 15 Sep 2011 10:29:51 +0000 (10:29 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/molby/trunk@117 a2be9bc6-48de-4e38-9406-05402d4bc13c

Documents/src/doc_source.html
README
Version
msw-build/molby.iss
update_version.rb
wxSources/MyApp.cpp
wxSources/MyVersion.c
xcode-build/Info.plist

index 07a12ca..91921dd 100644 (file)
 <div class="centered" lang="en">
 <h1>Molby</h1>
 <h2>An Interactive Molecular Modeling Software<br />with Integrated Ruby Interpreter</h2>
-<h3>Version 0.5.6.2 build 20110823</h3> <!-- version -->
+<h3>Version 0.5.6.2</h3> <!-- version -->
 <h3>Toshi Nagata</h3>
 </div>
 <div class="centered" lang="ja">
 <h1>Molby</h1>
 <h2>対話型分子モデリングソフトウェア<br />(Ruby インタプリタ内蔵)</h2>
-<h3>Version 0.5.6.2 build 20110823</h3> <!-- version -->
+<h3>Version 0.5.6.2</h3> <!-- version -->
 <h3>永田 央</h3>
 </div>
 <hr />
diff --git a/README b/README
index d8a276a..fda7c0e 100644 (file)
--- a/README
+++ b/README
@@ -5,7 +5,7 @@
     An Interactive Molecular Modeling Software
         with Integrated Ruby Interpreter
   
-          Version 0.5.6.2 build 20110823
+          Version 0.5.6.2
 
                   Toshi Nagata
 
diff --git a/Version b/Version
index 00eb403..454911d 100644 (file)
--- a/Version
+++ b/Version
@@ -1,2 +1,2 @@
 version = "0.5.6.2"
-date = "20110823"
+date = "20110915"
index 5387a11..80bbfbe 100755 (executable)
@@ -1,6 +1,6 @@
 [Setup]
 AppName = Molby
-AppVerName = Molby (v0.5.6.2 build 20110823)
+AppVerName = Molby (v0.5.6.2)
 DefaultDirName = {pf}\Molby
 DefaultGroupName = Molby
 UninstallDisplayIcon = {app}\Molby.exe
index d970ad9..ca3719c 100644 (file)
@@ -20,7 +20,8 @@ File.open("Version", "w") { |fp|
   fp.print "date = \"#{d}\"\n"
 }
 build = "build " + d
-verstr = "v#{ver} #{build}"
+# verstr = "v#{ver} #{build}"
+verstr = "v#{ver}"
 yrange = (year > 2008 ? "2008-#{year}" : "2008")
 
 def modify_file(name, &block)
@@ -86,7 +87,7 @@ modify_file("wxSources/MyVersion.c") { |s|
 
 #  Modify doc_source.html
 modify_file("Documents/src/doc_source.html") { |s|
-  if s =~ /Version/ && s.sub!(/[Vv][-.0-9 A-Za-z_]*/, "Version #{ver} #{build}")
+  if s =~ /Version/ && s.sub!(/[Vv][-.0-9 A-Za-z_]*/, "Version #{ver}")
     s
   else
     nil
@@ -95,7 +96,7 @@ modify_file("Documents/src/doc_source.html") { |s|
 
 #  Modify README
 modify_file("README") { |s|
-  if s =~ /        Version/ && s.sub!(/[Vv][-.0-9 A-Za-z_]*/, "Version #{ver} #{build}")
+  if s =~ /        Version/ && s.sub!(/[Vv][-.0-9 A-Za-z_]*/, "Version #{ver}")
     s
   else
     nil
index 5a20a9f..4b8bdb4 100755 (executable)
@@ -1086,7 +1086,7 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
        extern const char *gVersionString, *gCopyrightString;
        char *s;
        asprintf(&s, 
-                        "%s\n%s\n%s\n"
+                        "Molby %s\n%s\n%s\n"
                         "Including:\n"
                         "AmberTools 1.3, http://ambermd.org/\n"
                         "  Copyright (c) Junmei Wang, Ross C. Walker, \n"
index f0aa424..dfa6195 100644 (file)
@@ -15,5 +15,5 @@
  GNU General Public License for more details.
  */
 
-const char *gVersionString = "v0.5.6.2 build 20110823";
+const char *gVersionString = "v0.5.6.2";
 const char *gCopyrightString = "Copyright (c) 2008-2011 Toshi Nagata";
index f05cbe9..a5abd0a 100755 (executable)
@@ -36,6 +36,6 @@
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>v0.5.6.2 build 20110823</string>
+       <string>v0.5.6.2</string>
 </dict>
 </plist>