OSDN Git Service

修正内容(buildフォルダ)
authormegumi_engines <megumi_engines@users.osdn.me>
Thu, 14 May 2020 15:59:30 +0000 (00:59 +0900)
committermegumi_engines <megumi_engines@users.osdn.me>
Thu, 14 May 2020 15:59:30 +0000 (00:59 +0900)
rin.bat, run2.bat, rnotetools.ring, ringrepl.ring の cmd.exe コードページ変更 (cp932 ではなく UTF-8 65001)

LICENSE [new file with mode: 0644]
Ring_CMD.bat [new file with mode: 0644]
applications/build/ja-jp/ringrepl/repl.ring
applications/build/ja-jp/rnote/batch/run.bat
applications/build/ja-jp/rnote/batch/run2.bat
applications/build/ja-jp/rnote/rnotetools.ring
docs/ja-jp/LICENSE
docs/ja-jp/README.md
docs/ja-jp/source/stdlib.txt

diff --git a/LICENSE b/LICENSE
new file mode 100644 (file)
index 0000000..cf45ecd
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) 2016-2020 Mahmoud Fayed
+Copyright (c) 2017-2020 isVowel / Japan Ring Team
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/Ring_CMD.bat b/Ring_CMD.bat
new file mode 100644 (file)
index 0000000..0d6683d
--- /dev/null
@@ -0,0 +1,4 @@
+set path=%cd%\bin;%path%
+cls
+chcp 65001
+cmd.exe
index 5f28465..ce22e2a 100644 (file)
@@ -1,8 +1,9 @@
 # Application  : Read-Eval-Print-Loop (REPL) - Console Application
 # 原作者       : Mahmoud Fayed <msfclipper@yahoo.com>
 
-See "The Ring programming language version " + version() + nl
-See "REPL (Read-Eval-Print-Loop)" + nl
+system("chcp 65001>nul")
+See "プログラミング言語 Ring version " + version() + nl
+See "REPL (対話型評価環境)" + nl
 while true
         see nl + "ring:> "
         give cCode
index f9646de..35fb982 100644 (file)
@@ -1,10 +1,12 @@
 echo off
 cls
+REM Changes codepage
+chcp 65001
 REM Get the Current path for the Ring Executable
 set RINGEXEPATH=%cd%
 REM Change the current directory to the application folder
 cd /d %~dp1
 REM Execute the program
-"%RINGEXEPATH%/ring.exe" %1
+"%RINGEXEPATH%\ring.exe" %1
 Pause>nul
 exit
index 2f16817..b5588dc 100644 (file)
@@ -1,9 +1,11 @@
 echo off
 cls
+REM Changes codepage
+chcp 65001
 REM Get the Current path for the Ring Executable
 set RINGEXEPATH=%cd%
 REM Change the current directory to the application folder
 cd /d %~dp1
 REM Execute the program
-"%RINGEXEPATH%/ring.exe" %1
+"%RINGEXEPATH%\ring.exe" %1
 exit
index d85105c..de2d7ed 100644 (file)
@@ -38,7 +38,7 @@ class RNoteTools
 
        func OSTerminal
                if isWindows()
-                       cCommand = 'start cmd /K "cd ' + cStartupFolder + '"'
+                       cCommand = 'start cmd /K "chcp 65001 & cd ' + cStartupFolder + '"'
                but isLinux()
                        cCommand = "gnome-terminal"
                but isMacosx()
index 1bfb4bc..cf45ecd 100644 (file)
@@ -1,7 +1,7 @@
 MIT License
 
-Copyright (c) 2016-2019 Mahmoud Fayed
-Copyright (c) 2017-2019 isVowel / Japan Ring Team
+Copyright (c) 2016-2020 Mahmoud Fayed
+Copyright (c) 2017-2020 isVowel / Japan Ring Team
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
index 3ab1708..62510a9 100644 (file)
@@ -16,7 +16,7 @@
 
 (8) PDF ファイルを作成するには、 Lyx (https://www.lyx.org/Download) と MiKTEX (https://miktex.org/download) を使用します
 
-(9) PDF ファイルを作成するには、 buildepub.bat を実行します。
+(9) ePUB ファイルを作成するには、 buildepub.bat を実行します。
 
 Windows XP 以降でのビルド方法は下記のサイトを参照してください。
 https://osdn.net/projects/ring-lang-081/wiki/2019%2F02%2FDocuments-081#h1-2018.E5.B9.B405.E6.9C.8827.E6.97.A5.28.E5.9C.9F.29
index 4ea14e8..3a6d7ca 100644 (file)
@@ -15,7 +15,7 @@ stdlib.ring 関数の用法を学びます。
 
 stdlibcore.ring (StdLib 関数) も使えます (クラスはありません)。
 
-stdlib.ring (関数とクラス) は RingLibCurl, RingOpenSSL などのライブラリを読み込むため、スタンドアローン型のコンソールアプリケーションの作成時は好都合です。
+stdlib.ring (関数とクラス) は RingLibCurl, RingOpenSSL などのライブラリを読み込むため、スタンドアローン型のコンソールアプリケーションの作成時は好都合です。
 
 .. index:: 
        pair: Stdlib 関数; puts()