Skip to content

Commit

Permalink
Präfix TD_
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmadabbuD committed Jul 26, 2019
1 parent e99ec7a commit 5675868
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" : "TelegramContactWindow",
"name" : "TD_TelegramContactWindow",
"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" : "TelegramGroupChatCreationWindow",
"name" : "TD_TelegramGroupChatCreationWindow",
"pools" : [
],
"super" : "Model",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
initialize
initialize
super initialize.
debouncer := Debouncer new.
debouncer := TD_Debouncer 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: (TD_TelegramContactWindow newWithBackend: backend)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
building
openGroupChatCreation
ToolBuilder open: (TD_TelegramGroupChatCreationWindow 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" : "ts 7/26/2019 14:02",
"initialize" : "aa 7/26/2019 22:15",
"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" : "ts 7/25/2019 16:20",
"openGroupChatCreation" : "ts 7/25/2019 16:20",
"openContacts" : "aa 7/26/2019 22:20",
"openGroupChatCreation" : "aa 7/26/2019 22:20",
"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" : "TelegramUI",
"name" : "TD_TelegramUI",
"pools" : [
],
"super" : "Model",
Expand Down

This file was deleted.

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" : "Debouncer",
"name" : "TD_Debouncer",
"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: (TD_DebugStream 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" : "HUB 5/15/2019 11:39",
"ensureStreamIsOpen" : "aa 7/26/2019 22:19",
"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" : "Debug",
"name" : "TD_Debug",
"pools" : [
],
"super" : "Object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"commentStamp" : "",
"instvars" : [
],
"name" : "DebugStream",
"name" : "TD_DebugStream",
"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.
Debug log: ' [SEND]',stream contents.
TD_Debug 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:" : "HUB 5/15/2019 11:50" } }
"send:" : "aa 7/26/2019 22:17" } }
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"client",
"jsonParser",
"destroyed" ],
"name" : "TDJSONClient",
"name" : "TD_JSONClient",
"pools" : [
],
"super" : "Object",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
as yet unclassified
initialize
jsonParser := TDJSONParser new.
jsonParser := TD_JSONParser 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" : "HB 7/26/2019 13:45",
"initialize" : "aa 7/26/2019 22:16",
"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" : "TDJSONClientMock",
"name" : "TD_JSONClientMock",
"pools" : [
],
"super" : "TDJSONClient",
"super" : "TD_JSONClient",
"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: [
Debug error: 'Buffer overflow! Loosing data'.
TD_Debug 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.
Debug log: ' [SEND]',stream contents.
TD_Debug 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:" : "HB 6/4/2019 00:03",
"send:" : "HB 6/4/2019 00:02" } }
"receive:" : "aa 7/26/2019 22:17",
"send:" : "aa 7/26/2019 22:18" } }
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"buffer",
"bufferPos",
"bufferStart" ],
"name" : "TDJSONClientPython",
"name" : "TD_JSONClientPython",
"pools" : [
],
"super" : "TDJSONClient",
"super" : "TD_JSONClient",
"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.
Debug warn: '[NOT IMPLEMENTED]', string.
TD_Debug warn: '[NOT IMPLEMENTED]', string.
^nil.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"class" : {
},
"instance" : {
"deserializeObject:" : "HB 6/14/2019 12:21",
"deserializeObject:" : "aa 7/26/2019 22:18",
"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" : "TDJSONParser",
"name" : "TD_JSONParser",
"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: (TDJSONClient new).
telegram := self createTelegram: (TD_JSONClient 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: (TDJSONClientPython new).
telegram := self createTelegram: (TD_JSONClientPython new).
self openUI: telegram.
^ telegram
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
instance creation
debugCreate
Transcript clear.
Debug clear.
TD_Debug clear.
^ self create.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
instance creation
openUI: telegram
ToolBuilder open: (TD_TelegramUI 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].
Debug log: '[RECIEVED](', command class asString,')', command asString.
TD_Debug 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" : "HB 7/26/2019 13:14",
"createPythonVersion" : "HB 7/26/2019 13:16",
"create" : "aa 7/26/2019 22:16",
"createPythonVersion" : "aa 7/26/2019 22:17",
"createTelegram:" : "HB 7/26/2019 13:11",
"debugCreate" : "HB 7/26/2019 13:12",
"openUI:" : "HB 7/26/2019 13:13" },
"debugCreate" : "aa 7/26/2019 22:18",
"openUI:" : "aa 7/26/2019 22:20" },
"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" : "HB 7/26/2019 14:04" } }
"update" : "aa 7/26/2019 22:18" } }
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"messageHandlerDict",
"authStateHandlerDict",
"listener" ],
"name" : "Telegram",
"name" : "TD_Telegram",
"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" : "TelegramContactWindow",
"name" : "TD_TelegramContactWindow",
"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" : "TelegramGroupChatCreationWindow",
"name" : "TD_TelegramGroupChatCreationWindow",
"pools" : [
],
"super" : "Model",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
running
setUp

telegram := TD_Telegram 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" : "ts 7/24/2019 12:28",
"setUp" : "aa 7/26/2019 22:16",
"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" : "TelegramTests",
"name" : "TD_TelegramTests",
"pools" : [
],
"super" : "TestCase",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
initialize
initialize
super initialize.
debouncer := Debouncer new.
debouncer := TD_Debouncer 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: (TD_TelegramContactWindow newWithBackend: backend)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
building
openGroupChatCreation
ToolBuilder open: (TD_TelegramGroupChatCreationWindow 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" : "ts 7/26/2019 14:02",
"initialize" : "aa 7/26/2019 22:15",
"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" : "ts 7/25/2019 16:20",
"openGroupChatCreation" : "ts 7/25/2019 16:20",
"openContacts" : "aa 7/26/2019 22:20",
"openGroupChatCreation" : "aa 7/26/2019 22:20",
"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" : "TelegramUI",
"name" : "TD_TelegramUI",
"pools" : [
],
"super" : "Model",
Expand Down
Loading

0 comments on commit 5675868

Please sign in to comment.