-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed lints as far as humanly possible (#305)
- Loading branch information
1 parent
cedd672
commit 06bdc15
Showing
40 changed files
with
67 additions
and
71 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICEmail.class/instance/asString.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
converting | ||
asString | ||
|
||
^ self headerAsString, String cr, String cr, self bodyAsString, String cr |
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Core.package/ICEmail.class/instance/deleteEmailFromDisk.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
action | ||
deleteEmailFromDisk | ||
|
||
self folder emails remove: self. | ||
self folder removeMail: self. | ||
FileDirectory default deleteFileNamed: (self maildirFileName, FileDirectory slash, self uniqueID) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/IMAPClient-Core.package/ICEndPoint.class/instance/testAccountWith..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
login | ||
testAccountWith: accountInfo | ||
testAccountWith: anAccountInfo | ||
|
||
self connectAndLoginWith: accountInfo. | ||
self connectAndLoginWith: anAccountInfo. | ||
|
||
^ self fatalErrorOccured not |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/addMails..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
email access | ||
addMails: aMailCollection | ||
|
||
self emails addAll: aMailCollection. |
5 changes: 3 additions & 2 deletions
5
packages/IMAPClient-Core.package/ICFolder.class/instance/childFolderNamed.with.ifAbsent..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/removeMail..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
email access | ||
removeMail: anICEmail | ||
|
||
self emails remove: anICEmail. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
packages/IMAPClient-Core.package/ICStreamWrapper.class/instance/connectTo.on..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
connection | ||
connectTo: host on: port | ||
connectTo: aHost on: aPort | ||
|
||
| hostAddress | | ||
|
||
self useSSL ifTrue: [^ self sslConnectTo: host on: port]. | ||
self useSSL ifTrue: [^ self sslConnectTo: aHost on: aPort]. | ||
|
||
hostAddress := NetNameResolver addressForName: host. | ||
hostAddress := NetNameResolver addressForName: aHost. | ||
self close. | ||
self stream: (SocketStream openConnectionToHost: hostAddress port: port) | ||
self stream: (SocketStream openConnectionToHost: hostAddress port: aPort) |
1 change: 0 additions & 1 deletion
1
packages/IMAPClient-Core.package/ICStreamWrapper.class/instance/sendCommand..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
connection | ||
sendCommand: aString | ||
|
||
Transcript show: 'SENDING: ', aString; cr. | ||
self stream sendCommand: aString |
8 changes: 4 additions & 4 deletions
8
packages/IMAPClient-Core.package/ICStreamWrapper.class/instance/sslConnectTo.on..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
connection | ||
sslConnectTo: host on: port | ||
sslConnectTo: aHost on: aPort | ||
|
||
| hostAddress | | ||
|
||
hostAddress := NetNameResolver addressForName: host. | ||
self stream: (SecureSocketStream openConnectionToHost: hostAddress port: port timeout: self class connectionTimeout). | ||
self stream sslConnectTo: host | ||
hostAddress := NetNameResolver addressForName: aHost. | ||
self stream: (SecureSocketStream openConnectionToHost: hostAddress port: aPort timeout: self class connectionTimeout). | ||
self stream sslConnectTo: aHost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Tests.package/ICFileReadWriterTest.class/instance/setUp.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
running | ||
setUp | ||
|
||
self readWriter: ICFileReadWriter new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-UI.package/ICEmailDialog.class/instance/recipients.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
email access | ||
recipients | ||
|
||
^ email to joinSeparatedBy: ';' | ||
^ self email to joinSeparatedBy: ';' |
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-UI.package/ICEmailDialog.class/instance/sender.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
email access | ||
sender | ||
|
||
^ email from | ||
^ self email from |
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-UI.package/ICEmailDialog.class/instance/subject.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
email access | ||
subject | ||
|
||
^ email subject ifEmpty: [^ self class defaultSubject] | ||
^ self email subject ifEmpty: [^ self class defaultSubject] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-UI.package/ICFolderDialog.class/instance/moveEmail..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
packages/IMAPClient-UI.package/ICLoginDialog.class/class/failureLoginMessage.st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/IMAPClient-UI.package/ICLoginDialog.class/class/successLoginMessage.st
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
packages/IMAPClient-UI.package/ICLoginDialog.class/instance/insertDefaults.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
login | ||
insertDefaults | ||
|
||
((self serverPort isNil) or: (self serverPort asString isEmpty)) | ||
ifTrue: [self serverPort: ICLoginDialog defaultPort asString asText]. | ||
((self serverPort isNil) or: [(self serverPort asString isEmpty)]) | ||
ifTrue: [self serverPort: self class defaultPort asString asText]. |
4 changes: 1 addition & 3 deletions
4
packages/IMAPClient-UI.package/ICLoginDialog.class/instance/lastCharacterIsTab..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
helper | ||
lastCharacterIsTab: aString | ||
|
||
aString isEmpty ifTrue: [^ false]. | ||
|
||
^ (aString last asciiValue == 9) | ||
^ aString notEmpty and: [aString last asciiValue == 9] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.