[Ttssh2-commit] [3613] sftp スキームもクリッカブル URL の対象とした。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 8月 28日 (金) 14:00:15 JST


Revision: 3613
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3613
Author:   maya
Date:     2009-08-28 14:00:15 +0900 (Fri, 28 Aug 2009)

Log Message:
-----------
sftp スキームもクリッカブル URL の対象とした。
  if が並んでいるのを else if にしてしまいましたが、大丈夫でしょうか。

Modified Paths:
--------------
    trunk/doc/en/html/about/history.html
    trunk/doc/ja/html/about/history.html
    trunk/teraterm/teraterm/buffer.c


-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2009-08-27 08:38:39 UTC (rev 3612)
+++ trunk/doc/en/html/about/history.html	2009-08-28 05:00:15 UTC (rev 3613)
@@ -34,8 +34,9 @@
 <ul class="history">
   <li>Changes
     <ul>
-     <li>The clickable URL color is able to be painted.</li>
-     <li>When the clickable URL is enabled, the mouser cursor is not able to transform.</li>
+      <li>The clickable URL color is able to be painted.</li>
+      <li>When the clickable URL is enabled, the mouser cursor is not able to transform.</li>
+      <li>sftp scheme can be linked in a clickable URL.</li>
     </ul>
   </li>
 

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2009-08-27 08:38:39 UTC (rev 3612)
+++ trunk/doc/ja/html/about/history.html	2009-08-28 05:00:15 UTC (rev 3613)
@@ -34,8 +34,9 @@
 <ul class="history">
   <li>•ÏX
     <ul>
-     <li>ƒNƒŠƒbƒJƒuƒ‹URL‚̐F‘®«‚ð•`‰æ‚·‚é‚悤‚É‚µ‚½B</li>
-     <li>ƒNƒŠƒbƒJƒuƒ‹URL‚ª–³Œø‚̏ꍇAƒnƒCƒp[ƒŠƒ“ƒNã‚Ń}ƒEƒXƒJ[ƒ\ƒ‹‚ð•ÏŒ`‚³‚¹‚È‚¢‚悤‚É‚µ‚½B</li>
+      <li>ƒNƒŠƒbƒJƒuƒ‹URL‚̐F‘®«‚ð•`‰æ‚·‚é‚悤‚É‚µ‚½B</li>
+      <li>ƒNƒŠƒbƒJƒuƒ‹URL‚ª–³Œø‚̏ꍇAƒnƒCƒp[ƒŠƒ“ƒNã‚Ń}ƒEƒXƒJ[ƒ\ƒ‹‚ð•ÏŒ`‚³‚¹‚È‚¢‚悤‚É‚µ‚½B</li>
+      <li>sftp ƒXƒL[ƒ€‚àƒNƒŠƒbƒJƒuƒ‹URL‚É‚È‚é‚悤‚É‚µ‚½B</li>
     </ul>
   </li>
 

Modified: trunk/teraterm/teraterm/buffer.c
===================================================================
--- trunk/teraterm/teraterm/buffer.c	2009-08-27 08:38:39 UTC (rev 3612)
+++ trunk/teraterm/teraterm/buffer.c	2009-08-28 05:00:15 UTC (rev 3613)
@@ -1387,16 +1387,19 @@
 		if ((x-6>=0) && !strncmp(&CodeLine[x-6], "http", 4)) {
 			len = 6;
 		}
-		if ((x-7>=0) && !strncmp(&CodeLine[x-7], "https", 5)) {
+		else if ((x-7>=0) && !strncmp(&CodeLine[x-7], "https", 5)) {
 			len = 7;
 		}
-		if ((x-6>=0) && !strncmp(&CodeLine[x-6], "news", 4)) {
+		else if ((x-6>=0) && !strncmp(&CodeLine[x-6], "news", 4)) {
 			len = 6;
 		}
-		if ((x-5>=0) && !strncmp(&CodeLine[x-5], "ftp", 3)) {
+		else if ((x-6>=0) && !strncmp(&CodeLine[x-6], "sftp", 4)) {
+			len = 6;
+		}
+		else if ((x-5>=0) && !strncmp(&CodeLine[x-5], "ftp", 3)) {
 			len = 5;
 		}
-		if ((x-5>=0) && !strncmp(&CodeLine[x-5], "mms", 3)) {
+		else if ((x-5>=0) && !strncmp(&CodeLine[x-5], "mms", 3)) {
 			len = 5;
 		}
 #if 0



Ttssh2-commit メーリングリストの案内
Back to archive index