-
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.
- Loading branch information
Showing
24 changed files
with
49 additions
and
49 deletions.
There are no files selected for viewing
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
4 changes: 2 additions & 2 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/childFolderNamed.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
folder hierarchy | ||
childFolderNamed: name ifAbsent: block | ||
childFolderNamed: childFolderName ifAbsent: block | ||
|
||
^ self childFolders | ||
detect: [:child | child name = name] | ||
detect: [:child | child folderName = childFolderName] | ||
ifNone: [block value] |
8 changes: 4 additions & 4 deletions
8
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
folder hierarchy | ||
childFolderNamed: name with: delimiter ifAbsent: block | ||
childFolderNamed: childFolderName with: delimiter ifAbsent: block | ||
|
||
^ self childFolders | ||
detect: [:child | child name = name] | ||
detect: [:child | child folderName = childFolderName] | ||
ifNone: [ | ||
| rootPart childPart child parts | | ||
"splice at delimiter and ask child" | ||
parts := name subStrings: delimiter. | ||
parts := childFolderName subStrings: delimiter. | ||
(parts size > 1) | ||
ifTrue: [ | ||
rootPart := parts first. | ||
childPart := parts allButFirst joinSeparatedBy: delimiter. | ||
child := self childFolders detect: [ :childFolder | childFolder name = rootPart]. | ||
child := self childFolders detect: [ :childFolder | childFolder folderName = rootPart]. | ||
child ifNotNil: [^ child childFolderNamed: childPart with: delimiter ifAbsent: block]]. | ||
^ block value] |
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/folderName..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 @@ | ||
accessing | ||
folderName: aString | ||
|
||
folderName := aString |
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/folderName.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 @@ | ||
accessing | ||
folderName | ||
|
||
^ folderName ifNil: [folderName := self class defaultName] |
4 changes: 0 additions & 4 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/name..st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/IMAPClient-Core.package/ICFolder.class/instance/name.st
This file was deleted.
Oops, something went wrong.
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-Core.package/ICFolder.class/instance/startUpdateProcess..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
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
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-UI.package/ICLoginDialog.class/instance/symbolArray.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 | ||
symbolArray | ||
|
||
^ symbolArray ifNil: [symbolArray := {#name. #serverAddress. #serverPort. #username. #password} as: OrderedCollection] | ||
^ symbolArray ifNil: [symbolArray := {#accountName. #serverAddress. #serverPort. #username. #password} as: OrderedCollection] |
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