• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Ruby GTK3移行後のメインリポジトリ


コミットメタ情報

リビジョンe44fe56ab4dde3de2f16fd7746e3ea6a6acedff0 (tree)
日時2015-05-25 21:08:33
作者Shyouzou Sugitani <shy@user...>
コミッターShyouzou Sugitani

ログメッセージ

assorted fixes(26)

変更サマリ

差分

--- a/lib/ninix/sstp.rb
+++ b/lib/ninix/sstp.rb
@@ -32,15 +32,6 @@ module SSTP
3232 @request_handler = nil
3333 end
3434
35-# def shutdown_request(request)
36-# if @request_handler != nil
37-# # XXX: send_* methods can be called from outside of the handler
38-# pass # keep alive
39-# else
40-# super(request) #AsynchronousSSTPServer.shutdown_request(self, request)
41-# end
42-# end
43-
4435 def set_responsible(parent)
4536 @parent = parent
4637 end
@@ -67,10 +58,8 @@ module SSTP
6758 begin
6859 @request_handler.send_response(code)
6960 if data != nil
70-# @request_handler.wfile.write(data)
7161 @request_handler.write(data) # FIXME
7262 end
73-# @request_handler.force_finish()
7463 @request_handler.shutdown(Socket::SHUT_WR) # XXX
7564 rescue #except IOError:
7665 #pass
@@ -116,16 +105,6 @@ module SSTP
116105 end
117106 end
118107
119-# def force_finish
120-# BaseSSTPRequestHandler.finish(self)
121-# end
122-
123-# def finish
124-# if @server.request_handler == nil
125-# BaseSSTPRequestHandler.finish(self)
126-# end
127-# end
128-
129108 # SEND
130109 def do_SEND_1_0
131110 handle_send(1.0)
@@ -268,7 +247,7 @@ module SSTP
268247 end
269248
270249 def get_script_odict
271- script_odict = {} #OrderedDict()
250+ script_odict = {} # Ordered Hash
272251 if_ghost = nil
273252 for item in @headers
274253 name, value = item
--- a/lib/ninix_main.rb
+++ b/lib/ninix_main.rb
@@ -27,7 +27,6 @@
2727 #import importlib
2828 #import locale
2929 #import multiprocessing
30-#from collections import OrderedDict
3130
3231 #if os.name == 'nt': # locale setting for windows
3332 # lang = os.getenv('LANG')
@@ -684,7 +683,7 @@ module Ninix_Main
684683 @__menu = Menu::Menu.new
685684 @__menu.set_responsible(self)
686685 @__menu_owner = nil
687- @ghosts = {} # OrderedDict
686+ @ghosts = {} # Ordered Hash
688687 odict_baseinfo = Home.search_ghosts()
689688 for key, value in odict_baseinfo
690689 holon = Ghost.new(key)
@@ -692,7 +691,7 @@ module Ninix_Main
692691 @ghosts[key] = holon
693692 holon.baseinfo = value
694693 end
695- @balloons = {} # OrderedDict
694+ @balloons = {} # Ordered Hash
696695 odict_baseinfo = Home.search_balloons()
697696 for key, value in odict_baseinfo
698697 meme = BalloonMeme.new(key)
@@ -1061,7 +1060,7 @@ module Ninix_Main
10611060 end
10621061
10631062 def create_balloon_menu
1064- balloon_menuitems = {} # OrderedDict()
1063+ balloon_menuitems = {} # Ordered Hash
10651064 for key in @balloons.keys
10661065 balloon_menuitems[key] = @balloons[key].menuitem
10671066 end