-
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
1 parent
b5c5b21
commit f705ae4
Showing
34 changed files
with
86 additions
and
77 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
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Core.package/ICEndPoint.class/instance/needDiffCheck.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 @@ | ||
fetching | ||
needDiffCheck | ||
|
||
^ (FileDirectory default directoryExists: (FileDirectory default fullPathFor: self maildirFileName)) |
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/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
5 changes: 5 additions & 0 deletions
5
packages/IMAPClient-Core.package/ICFolder.class/instance/fillBodyFor..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,5 @@ | ||
updateEmails | ||
fillBodyFor: anICMail | ||
|
||
self endpoint select: self path. | ||
self endpoint fillBodyFor: anICMail. |
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: 0 additions & 2 deletions
2
packages/IMAPClient-Core.package/ICHelper.class/class/makeParameterCollection..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
6 changes: 6 additions & 0 deletions
6
packages/IMAPClient-Tests.package/ICDeployment.class/class/preambleString.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,6 @@ | ||
constants | ||
preambleString | ||
|
||
^ 'self fileInMonticelloZipVersionNamed: ''IMAPClient-Core.mcz''. | ||
self fileInMonticelloZipVersionNamed: ''IMAPClient-UI.mcz''. | ||
ICFolderDialog install.' |
4 changes: 4 additions & 0 deletions
4
packages/IMAPClient-Tests.package/ICDeployment.class/class/releaseName.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 @@ | ||
constants | ||
releaseName | ||
|
||
^ 'IMAPClient-Release.sar' |
10 changes: 10 additions & 0 deletions
10
packages/IMAPClient-Tests.package/ICDeployment.class/instance/addPackageMSZ.to..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,10 @@ | ||
deployment | ||
addPackageMSZ: aPackageName to: aZip | ||
|
||
| mczStream workingCopy version | | ||
|
||
mczStream := RWBinaryOrTextStream on: (String new: 10000). | ||
workingCopy := MCWorkingCopy forPackage: (MCPackage new name: aPackageName). | ||
version := workingCopy newVersionWithName: aPackageName message: ('new ', aPackageName, ' release'). | ||
version fileOutOn: mczStream. | ||
(aZip addString: mczStream contents as: (aPackageName, '.mcz')) desiredCompressionLevel: 0. |
24 changes: 5 additions & 19 deletions
24
packages/IMAPClient-Tests.package/ICDeployment.class/instance/testDeployment.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,26 +1,12 @@ | ||
deployment | ||
testDeployment | ||
|
||
|zip mczStream workingCopy version | | ||
| zip | | ||
|
||
zip := ZipArchive new. | ||
|
||
mczStream := RWBinaryOrTextStream on: (String new: 10000). | ||
workingCopy := MCWorkingCopy forPackage: (MCPackage new name: 'IMAPClient-Core'). | ||
version := workingCopy newVersionWithName: 'IMAPClient-Core' message: 'new core release'. | ||
version fileOutOn: mczStream. | ||
(zip addString: mczStream contents as: 'IMAPClient-Core.mcz') desiredCompressionLevel: 0. | ||
self addPackageMSZ: 'IMAPClient-Core' to: zip. | ||
self addPackageMSZ: 'IMAPClient-UI' to: zip. | ||
|
||
mczStream := RWBinaryOrTextStream on: (String new: 10000). | ||
workingCopy := MCWorkingCopy forPackage: (MCPackage new name: 'IMAPClient-UI'). | ||
version := workingCopy newVersionWithName: 'IMAPClient-UI' message: 'new ui release'. | ||
version fileOutOn: mczStream. | ||
(zip addString: mczStream contents as: 'IMAPClient-UI.mcz') desiredCompressionLevel: 0. | ||
|
||
zip addString: 'self fileInMonticelloZipVersionNamed: | ||
''IMAPClient-Core.mcz''. | ||
self fileInMonticelloZipVersionNamed: | ||
''IMAPClient-UI.mcz''. | ||
ICFolderDialog install.' as: 'install/preamble'. | ||
|
||
zip writeToFileNamed: 'newRelease.sar'. | ||
zip addString: self class preambleString as: 'install/preamble'; | ||
writeToFileNamed: self class releaseName. |
6 changes: 4 additions & 2 deletions
6
packages/IMAPClient-Tests.package/ICDeployment.class/methodProperties.json
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,7 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"preambleString" : "tg 7/25/2019 16:13", | ||
"releaseName" : "tg 7/25/2019 16:14" }, | ||
"instance" : { | ||
"testDeployment" : "tg 6/5/2019 16:17" } } | ||
"addPackageMSZ:to:" : "tg 7/25/2019 16:10", | ||
"testDeployment" : "tg 7/25/2019 16:23" } } |
3 changes: 0 additions & 3 deletions
3
...s.package/ICEndPointCommandTest.class/instance/testFetchMailsBeginningAtWithFoundMails.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
3 changes: 0 additions & 3 deletions
3
...ackage/ICEndPointCommandTest.class/instance/testFetchMailsBeginningAtWithoutFoundMails.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
5 changes: 1 addition & 4 deletions
5
.../IMAPClient-Tests.package/ICEndPointConnectionTest.class/class/defaultMockServerConfig.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
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Tests.package/ICEndPointConnectionTest.class/methodProperties.json
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/ICFolderTest.class/instance/testAddFolder.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 @@ | ||
addFolder | ||
testing | ||
testAddFolder | ||
|
||
| subfolder1 | | ||
|
2 changes: 1 addition & 1 deletion
2
...-Tests.package/ICFolderTest.class/instance/testChildFolderNamedWithSubfolderNotPresent.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 @@ | ||
childFolderNamed | ||
testing | ||
testChildFolderNamedWithSubfolderNotPresent | ||
|
||
| subfolder1 subfolder2 | | ||
|
2 changes: 1 addition & 1 deletion
2
...ent-Tests.package/ICFolderTest.class/instance/testChildFolderNamedWithSubfolderPresent.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 @@ | ||
childFolderNamed | ||
testing | ||
testChildFolderNamedWithSubfolderPresent | ||
|
||
| subfolder1 subfolder2 result | | ||
|
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Tests.package/ICFolderTest.class/instance/testCountFolders.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 @@ | ||
countFolders | ||
testing | ||
testCountFolders | ||
|
||
| subfolder1 subfolder2 subfolder3 | | ||
|
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Tests.package/ICFolderTest.class/instance/testEmailInFolder.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 @@ | ||
emailInFolder | ||
testing | ||
testEmailInFolder | ||
|
||
| folder | | ||
|
2 changes: 1 addition & 1 deletion
2
packages/IMAPClient-Tests.package/ICFolderTest.class/instance/testRemoveFolder.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 @@ | ||
removeFolder | ||
testing | ||
testRemoveFolder | ||
|
||
| subfolder1 subfolder2 subfolder3 | | ||
|
2 changes: 1 addition & 1 deletion
2
...Client-Tests.package/ICFolderTest.class/instance/testRemoveFolderWithFolderNotExisting.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 @@ | ||
removeFolder | ||
testing | ||
testRemoveFolderWithFolderNotExisting | ||
|
||
| subfolder1 subfolder2 | | ||
|
11 changes: 2 additions & 9 deletions
11
packages/IMAPClient-UI.package/ICFolderDialog.class/instance/editAccount.with..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,17 +1,10 @@ | ||
accountManagment | ||
editAccount: anAccountInfo with: anEndPoint | ||
|
||
ICEndPoint removeConfiguration: anEndPoint. | ||
self emailAccounts remove: anEndPoint. | ||
|
||
ICEndPoint addConfiguration: anAccountInfo asDictionary. | ||
self updateAccountConfiguration: anAccountInfo with: anEndPoint. | ||
|
||
self emailAccounts add: ((ICHelper accountDictionariesToEndpoints: {anAccountInfo asDictionary}) first). | ||
self selectedFolder: nil. | ||
self rootFolder: nil. | ||
|
||
self changed: #selectedFolder. | ||
self changed: #rootFolder. | ||
self changed: #childFolders. | ||
self changed: #emailsOfSelectedFolder. | ||
self changed: #emailAccounts | ||
self updateUI. |
7 changes: 7 additions & 0 deletions
7
...s/IMAPClient-UI.package/ICFolderDialog.class/instance/updateAccountConfiguration.with..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,7 @@ | ||
accountManagment | ||
updateAccountConfiguration: anAccountInfo with: anEndPoint | ||
|
||
ICEndPoint removeConfiguration: anEndPoint. | ||
self emailAccounts remove: anEndPoint. | ||
|
||
ICEndPoint addConfiguration: anAccountInfo asDictionary. |
8 changes: 8 additions & 0 deletions
8
packages/IMAPClient-UI.package/ICFolderDialog.class/instance/updateUI.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,8 @@ | ||
accountManagment | ||
updateUI | ||
|
||
self changed: #selectedFolder. | ||
self changed: #rootFolder. | ||
self changed: #childFolders. | ||
self changed: #emailsOfSelectedFolder. | ||
self changed: #emailAccounts. |
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