Skip to content

Commit

Permalink
TD Präfix
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmadabbuD committed Jul 26, 2019
1 parent 5675868 commit 9b6155d
Show file tree
Hide file tree
Showing 420 changed files with 139 additions and 139 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"backend",
"users",
"contactIndex" ],
"name" : "TD_TelegramContactWindow",
"name" : "TDTelegramContactWindow",
"pools" : [
],
"super" : "Model",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"users",
"nameDraft",
"selectedContactList" ],
"name" : "TD_TelegramGroupChatCreationWindow",
"name" : "TDTelegramGroupChatCreationWindow",
"pools" : [
],
"super" : "Model",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
initialize
initialize
super initialize.
debouncer := TD_Debouncer new.
debouncer := TDDebouncer new.
userCache := Dictionary new.
self initializeVariables.
self initializeListeners
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
building
openContacts
ToolBuilder open: (TDTelegramContactWindow newWithBackend: backend)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
building
openGroupChatCreation
ToolBuilder open: (TDTelegramGroupChatCreationWindow newWithBackend: backend)
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"getChatIndex" : "HB 7/7/2019 22:27",
"getColorArrayFrom:" : "ts 7/26/2019 15:56",
"getSelectedChatId" : "ts 7/25/2019 16:19",
"initialize" : "aa 7/26/2019 22:15",
"initialize" : "aa 7/26/2019 22:30",
"initializeListeners" : "HB 7/26/2019 13:30",
"initializeVariables" : "ts 7/26/2019 14:02",
"messageDraft" : "ts 7/25/2019 16:20",
"messageDraft:" : "ts 7/25/2019 16:20",
"messageList" : "ts 7/26/2019 16:04",
"onAuthStateReady:" : "HB 7/26/2019 13:30",
"openContacts" : "aa 7/26/2019 22:20",
"openGroupChatCreation" : "aa 7/26/2019 22:20",
"openContacts" : "aa 7/26/2019 22:34",
"openGroupChatCreation" : "aa 7/26/2019 22:34",
"receivedChats:" : "ts 7/25/2019 16:21",
"receivedNewMessage:" : "ts 7/25/2019 16:21",
"receivedUser:" : "ts 7/25/2019 16:21",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"debouncer",
"chatIndex",
"userCache" ],
"name" : "TD_TelegramUI",
"name" : "TDTelegramUI",
"pools" : [
],
"super" : "Model",
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"instvars" : [
"timeOfLastCall",
"timeout" ],
"name" : "TD_Debouncer",
"name" : "TDDebouncer",
"pools" : [
],
"super" : "Object",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
as yet unclassified
ensureStreamIsOpen
self writerStream isNil ifTrue: [self writerStream: (TDDebugStream on: (Text new: 1000))].
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"class" : {
"clear" : "HB 6/14/2019 14:01",
"countOpenDebugs" : "HUB 5/15/2019 11:39",
"ensureStreamIsOpen" : "aa 7/26/2019 22:19",
"ensureStreamIsOpen" : "aa 7/26/2019 22:33",
"error:" : "HUB 5/15/2019 11:42",
"error:from:" : "HUB 5/15/2019 11:43",
"log:" : "HUB 5/15/2019 11:43",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"commentStamp" : "",
"instvars" : [
],
"name" : "TD_Debug",
"name" : "TDDebug",
"pools" : [
],
"super" : "Object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"commentStamp" : "",
"instvars" : [
],
"name" : "TD_DebugStream",
"name" : "TDDebugStream",
"pools" : [
],
"super" : "TextStream",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ send: request
| stream |
stream := ReadWriteStream on: ''.
request jsonWriteOn: stream.
TD_Debug log: ' [SEND]',stream contents.
TDDebug log: ' [SEND]',stream contents.
^self class sendTo: client request: stream contents.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
"initialize" : "HUB 5/11/2019 15:10",
"isDestroyed" : "HUB 5/11/2019 14:25",
"receive:" : "HB 6/14/2019 12:16",
"send:" : "aa 7/26/2019 22:17" } }
"send:" : "aa 7/26/2019 22:32" } }
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"client",
"jsonParser",
"destroyed" ],
"name" : "TD_JSONClient",
"name" : "TDJSONClient",
"pools" : [
],
"super" : "Object",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
as yet unclassified
initialize
jsonParser := TD_JSONParser new.
jsonParser := TDJSONParser new.
destroyed := false.
receivingMsgQueue := OrderedCollection new.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"answerSend:" : "HB 7/26/2019 14:57",
"destroy" : "HB 7/26/2019 12:43",
"execute:" : "HB 7/26/2019 12:43",
"initialize" : "aa 7/26/2019 22:16",
"initialize" : "aa 7/26/2019 22:31",
"receive:" : "HB 7/26/2019 12:46",
"send:" : "HB 7/26/2019 13:50" } }
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"commentStamp" : "",
"instvars" : [
"receivingMsgQueue" ],
"name" : "TD_JSONClientMock",
"name" : "TDJSONClientMock",
"pools" : [
],
"super" : "TD_JSONClient",
"super" : "TDJSONClient",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ receive: timeout
| readBytes |
(bufferPos - 1 == buffer size) ifTrue: [
(bufferStart == 1) ifTrue: [
TD_Debug error: 'Buffer overflow! Loosing data'.
TDDebug error: 'Buffer overflow! Loosing data'.
bufferStart := 1.
bufferPos := 1.
] ifFalse: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ send: request
| stream |
stream := ReadWriteStream on: ''.
request jsonWriteOn: stream.
TD_Debug log: ' [SEND]',stream contents.
TDDebug log: ' [SEND]',stream contents.
socket sendData: (stream contents size asByteArrayOfSize: 8).
socket sendData: stream contents.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"instance" : {
"destroy" : "HB 6/4/2019 11:39",
"initialize" : "aa 6/12/2019 18:09",
"receive:" : "aa 7/26/2019 22:17",
"send:" : "aa 7/26/2019 22:18" } }
"receive:" : "aa 7/26/2019 22:32",
"send:" : "aa 7/26/2019 22:33" } }
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"buffer",
"bufferPos",
"bufferStart" ],
"name" : "TD_JSONClientPython",
"name" : "TDJSONClientPython",
"pools" : [
],
"super" : "TD_JSONClient",
"super" : "TDJSONClient",
"type" : "normal" }
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ deserializeObject: jobj
].
].
string := jobj at: '@type' asString.
TD_Debug warn: '[NOT IMPLEMENTED]', string.
TDDebug warn: '[NOT IMPLEMENTED]', string.
^nil.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"class" : {
},
"instance" : {
"deserializeObject:" : "aa 7/26/2019 22:18",
"deserializeObject:" : "aa 7/26/2019 22:33",
"deserializeString:" : "HUB 5/4/2019 02:17",
"initialize" : "HUB 5/4/2019 02:17",
"isSerializedObject:" : "HUB 5/4/2019 15:45" } }
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"commentStamp" : "",
"instvars" : [
"jsonparser" ],
"name" : "TD_JSONParser",
"name" : "TDJSONParser",
"pools" : [
],
"super" : "Object",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
instance creation
create
| telegram |
telegram := self createTelegram: (TD_JSONClient new).
telegram := self createTelegram: (TDJSONClient new).
self openUI: telegram.
^ telegram.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
instance creation
createPythonVersion
| telegram |
telegram := self createTelegram: (TD_JSONClientPython new).
telegram := self createTelegram: (TDJSONClientPython new).
self openUI: telegram.
^ telegram
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
instance creation
debugCreate
Transcript clear.
TD_Debug clear.
TDDebug clear.
^ self create.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
instance creation
openUI: telegram
ToolBuilder open: (TDTelegramUI newWithBackend: telegram).
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ update
| command |
command := client receive: 0.05.
command isNil ifTrue: [^nil].
TD_Debug log: '[RECIEVED](', command class asString,')', command asString.
TDDebug log: '[RECIEVED](', command class asString,')', command asString.
(messageHandlerDict at: command class ifAbsent: [ [:msg |]] ) value: command.
self fireListenerMessage: command
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"class" : {
"create" : "aa 7/26/2019 22:16",
"createPythonVersion" : "aa 7/26/2019 22:17",
"create" : "aa 7/26/2019 22:31",
"createPythonVersion" : "aa 7/26/2019 22:31",
"createTelegram:" : "HB 7/26/2019 13:11",
"debugCreate" : "aa 7/26/2019 22:18",
"openUI:" : "aa 7/26/2019 22:20" },
"debugCreate" : "aa 7/26/2019 22:33",
"openUI:" : "aa 7/26/2019 22:35" },
"instance" : {
"client:" : "HB 7/26/2019 12:50",
"createNewBasicGroupChat:withTitle:" : "HB 7/7/2019 23:11",
Expand All @@ -26,4 +26,4 @@
"uiObject" : "ts 7/24/2019 12:29",
"uiObject:" : "ts 7/24/2019 12:29",
"unregisterListener:for:withSelector:" : "HB 7/5/2019 16:04",
"update" : "aa 7/26/2019 22:18" } }
"update" : "aa 7/26/2019 22:33" } }
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"messageHandlerDict",
"authStateHandlerDict",
"listener" ],
"name" : "TD_Telegram",
"name" : "TDTelegram",
"pools" : [
],
"super" : "Object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"backend",
"users",
"contactIndex" ],
"name" : "TD_TelegramContactWindow",
"name" : "TDTelegramContactWindow",
"pools" : [
],
"super" : "Model",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"users",
"nameDraft",
"selectedContactList" ],
"name" : "TD_TelegramGroupChatCreationWindow",
"name" : "TDTelegramGroupChatCreationWindow",
"pools" : [
],
"super" : "Model",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
running
setUp

telegram := TDTelegram debugNew.

Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"instance" : {
"getTestVariable:" : "ts 7/24/2019 13:37",
"runAllTests" : "ts 7/26/2019 16:37",
"setUp" : "aa 7/26/2019 22:16",
"setUp" : "aa 7/26/2019 22:32",
"tearDown" : "HB 7/26/2019 12:53" } }
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"instvars" : [
"telegram",
"telegramUI" ],
"name" : "TD_TelegramTests",
"name" : "TDTelegramTests",
"pools" : [
],
"super" : "TestCase",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
initialize
initialize
super initialize.
debouncer := TD_Debouncer new.
debouncer := TDDebouncer new.
userCache := Dictionary new.
self initializeVariables.
self initializeListeners
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
building
openContacts
ToolBuilder open: (TDTelegramContactWindow newWithBackend: backend)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
building
openGroupChatCreation
ToolBuilder open: (TDTelegramGroupChatCreationWindow newWithBackend: backend)
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"getChatIndex" : "HB 7/7/2019 22:27",
"getColorArrayFrom:" : "ts 7/26/2019 15:56",
"getSelectedChatId" : "ts 7/25/2019 16:19",
"initialize" : "aa 7/26/2019 22:15",
"initialize" : "aa 7/26/2019 22:30",
"initializeListeners" : "HB 7/26/2019 13:30",
"initializeVariables" : "ts 7/26/2019 14:02",
"messageDraft" : "ts 7/25/2019 16:20",
"messageDraft:" : "ts 7/25/2019 16:20",
"messageList" : "ts 7/26/2019 16:04",
"onAuthStateReady:" : "HB 7/26/2019 13:30",
"openContacts" : "aa 7/26/2019 22:20",
"openGroupChatCreation" : "aa 7/26/2019 22:20",
"openContacts" : "aa 7/26/2019 22:34",
"openGroupChatCreation" : "aa 7/26/2019 22:34",
"receivedChats:" : "ts 7/25/2019 16:21",
"receivedNewMessage:" : "ts 7/25/2019 16:21",
"receivedUser:" : "ts 7/25/2019 16:21",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"debouncer",
"chatIndex",
"userCache" ],
"name" : "TD_TelegramUI",
"name" : "TDTelegramUI",
"pools" : [
],
"super" : "Model",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
as yet unclassified
setUp
TDDebug clear.
telegram := TDTelegram createTelegram: (TDJSONClientMock new).
uiModel := TDTelegramUI newWithBackend: telegram.
ToolBuilder open: uiModel

Loading

0 comments on commit 9b6155d

Please sign in to comment.