Commit MetaInfo

Revision75a85e727ceddfacc12c72fdea3f817b2d1afebb (tree)
Time2009-07-17 03:19:54
AuthorFace
CommiterFace

Log Message

Added automatic refreshing and setup icons.

Change Summary

Incremental Difference

diff -r 828ae026209a -r 75a85e727ced Orbitersdk/samples/COIClient/COIClient/COIClient.csproj
--- a/Orbitersdk/samples/COIClient/COIClient/COIClient.csproj Thu Jul 16 15:50:34 2009 +0200
+++ b/Orbitersdk/samples/COIClient/COIClient/COIClient.csproj Thu Jul 16 20:19:54 2009 +0200
@@ -12,6 +12,22 @@
1212 <AssemblyName>COIClient</AssemblyName>
1313 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
1414 <FileAlignment>512</FileAlignment>
15+ <ApplicationIcon>koi.ico</ApplicationIcon>
16+ <PublishUrl>publish\</PublishUrl>
17+ <Install>true</Install>
18+ <InstallFrom>Disk</InstallFrom>
19+ <UpdateEnabled>false</UpdateEnabled>
20+ <UpdateMode>Foreground</UpdateMode>
21+ <UpdateInterval>7</UpdateInterval>
22+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
23+ <UpdatePeriodically>false</UpdatePeriodically>
24+ <UpdateRequired>false</UpdateRequired>
25+ <MapFileExtensions>true</MapFileExtensions>
26+ <ApplicationRevision>0</ApplicationRevision>
27+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
28+ <IsWebBootstrapper>false</IsWebBootstrapper>
29+ <UseApplicationTrust>false</UseApplicationTrust>
30+ <BootstrapperEnabled>true</BootstrapperEnabled>
1531 </PropertyGroup>
1632 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1733 <DebugSymbols>true</DebugSymbols>
@@ -95,6 +111,28 @@
95111 <ItemGroup>
96112 <Content Include="koi.ico" />
97113 </ItemGroup>
114+ <ItemGroup>
115+ <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
116+ <Visible>False</Visible>
117+ <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
118+ <Install>false</Install>
119+ </BootstrapperPackage>
120+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
121+ <Visible>False</Visible>
122+ <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
123+ <Install>false</Install>
124+ </BootstrapperPackage>
125+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
126+ <Visible>False</Visible>
127+ <ProductName>.NET Framework 3.5</ProductName>
128+ <Install>true</Install>
129+ </BootstrapperPackage>
130+ <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
131+ <Visible>False</Visible>
132+ <ProductName>Windows Installer 3.1</ProductName>
133+ <Install>true</Install>
134+ </BootstrapperPackage>
135+ </ItemGroup>
98136 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
99137 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
100138 Other similar extension points exist, see Microsoft.Common.targets.
diff -r 828ae026209a -r 75a85e727ced Orbitersdk/samples/COIClient/COIClient/ClientForm.cs
--- a/Orbitersdk/samples/COIClient/COIClient/ClientForm.cs Thu Jul 16 15:50:34 2009 +0200
+++ b/Orbitersdk/samples/COIClient/COIClient/ClientForm.cs Thu Jul 16 20:19:54 2009 +0200
@@ -15,7 +15,9 @@
1515 DecodeDAG,
1616 GetRemoteList,
1717 Download,
18- Process
18+ Process,
19+ DownloadDecodeDAG,
20+ DownloadDecodeDAGGetRemoteList,
1921 }
2022
2123 private AddonTreeModel localModel;
@@ -233,11 +235,6 @@
233235
234236 private void click_Ready(IAsyncResult ar)
235237 {
236- Invoke(new MethodInvoker(delegate {
237- contentTable.Enabled = true;
238- menuStrip.Enabled = true;
239- statusLabel.Visible = false;
240- progress1.Visible = false; }));
241238 if (ar.AsyncState is Caller)
242239 {
243240 switch((Caller) ar.AsyncState)
@@ -245,10 +242,56 @@
245242 case Caller.DecodeDAG:
246243 localTree.Model = null;
247244 localTree.Model = localModel;
245+ Invoke(new MethodInvoker(delegate
246+ {
247+ contentTable.Enabled = true;
248+ menuStrip.Enabled = true;
249+ statusLabel.Visible = false;
250+ progress1.Visible = false;
251+ }));
248252 break;
249253 case Caller.GetRemoteList:
254+ remoteTree.Model = null;
255+ remoteTree.Model = remoteModel;
256+ Invoke(new MethodInvoker(delegate
257+ {
258+ contentTable.Enabled = true;
259+ menuStrip.Enabled = true;
260+ statusLabel.Visible = false;
261+ progress1.Visible = false;
262+ }));
250263 break;
251264 case Caller.Download:
265+ localModel.Clear();
266+ localRevisions.Clear();
267+ localMergesByList.Clear();
268+ addonsByKey.Clear();
269+ new MethodInvoker(DecodeDAG).BeginInvoke(click_Ready, Caller.DownloadDecodeDAG);
270+ break;
271+ case Caller.DownloadDecodeDAG:
272+ new MethodInvoker(GetRemoteList).BeginInvoke(click_Ready, Caller.DownloadDecodeDAGGetRemoteList);
273+ break;
274+ case Caller.DownloadDecodeDAGGetRemoteList:
275+ localTree.Model = null;
276+ localTree.Model = localModel;
277+ remoteTree.Model = null;
278+ remoteTree.Model = remoteModel;
279+ Invoke(new MethodInvoker(delegate
280+ {
281+ contentTable.Enabled = true;
282+ menuStrip.Enabled = true;
283+ statusLabel.Visible = false;
284+ progress1.Visible = false;
285+ }));
286+ break;
287+ case Caller.Process:
288+ Invoke(new MethodInvoker(delegate
289+ {
290+ contentTable.Enabled = true;
291+ menuStrip.Enabled = true;
292+ statusLabel.Visible = false;
293+ progress1.Visible = false;
294+ }));
252295 break;
253296 }
254297 }
@@ -584,9 +627,6 @@
584627 addon.IsVisible = true;
585628 addon.State = localState + 1;
586629 }
587-
588- remoteTree.Model = null;
589- remoteTree.Model = remoteModel;
590630 }
591631
592632 private void processButton_Click(object sender, EventArgs e)
diff -r 828ae026209a -r 75a85e727ced Orbitersdk/samples/COIClient/Setup/Setup.vdproj
--- a/Orbitersdk/samples/COIClient/Setup/Setup.vdproj Thu Jul 16 15:50:34 2009 +0200
+++ b/Orbitersdk/samples/COIClient/Setup/Setup.vdproj Thu Jul 16 20:19:54 2009 +0200
@@ -21,6 +21,12 @@
2121 }
2222 "Entry"
2323 {
24+ "MsmKey" = "8:_5EEC35B510204C0C9BA3A05D07BFD60F"
25+ "OwnerKey" = "8:_UNDEFINED"
26+ "MsmSig" = "8:_UNDEFINED"
27+ }
28+ "Entry"
29+ {
2430 "MsmKey" = "8:_D1C8A0948532DF19F54682D69FA0EE3A"
2531 "OwnerKey" = "8:_2AFD851B994645988B2A9F0E9DE1FCE6"
2632 "MsmSig" = "8:_UNDEFINED"
@@ -121,6 +127,26 @@
121127 }
122128 "File"
123129 {
130+ "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5EEC35B510204C0C9BA3A05D07BFD60F"
131+ {
132+ "SourcePath" = "8:..\\COIClient\\koi.ico"
133+ "TargetName" = "8:koi.ico"
134+ "Tag" = "8:"
135+ "Folder" = "8:_A542DB502E634A4B9F20AFAE38749996"
136+ "Condition" = "8:"
137+ "Transitive" = "11:FALSE"
138+ "Vital" = "11:TRUE"
139+ "ReadOnly" = "11:FALSE"
140+ "Hidden" = "11:FALSE"
141+ "System" = "11:FALSE"
142+ "Permanent" = "11:FALSE"
143+ "SharedLegacy" = "11:FALSE"
144+ "PackageAs" = "3:1"
145+ "Register" = "3:1"
146+ "Exclude" = "11:FALSE"
147+ "IsDependency" = "11:FALSE"
148+ "IsolateTo" = "8:"
149+ }
124150 "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_D1C8A0948532DF19F54682D69FA0EE3A"
125151 {
126152 "AssemblyRegister" = "3:1"
@@ -208,14 +234,14 @@
208234 {
209235 "Name" = "8:Microsoft Visual Studio"
210236 "ProductName" = "8:COI Client"
211- "ProductCode" = "8:{0F20E2E7-80D3-4561-9112-FB21AED7A134}"
212- "PackageCode" = "8:{AEFD5265-71B4-4DEC-A315-D11EA3031CF2}"
237+ "ProductCode" = "8:{C2D18F82-834F-4505-B192-801BC1C65992}"
238+ "PackageCode" = "8:{C867B946-C037-4FF6-99B2-300185BB6417}"
213239 "UpgradeCode" = "8:{FF568F47-06B1-4175-9FDF-D3275D6A5DAD}"
214240 "RestartWWWService" = "11:FALSE"
215241 "RemovePreviousVersions" = "11:TRUE"
216242 "DetectNewerInstalledVersion" = "11:TRUE"
217243 "InstallAllUsers" = "11:TRUE"
218- "ProductVersion" = "8:1.0.18"
244+ "ProductVersion" = "8:1.0.0"
219245 "Manufacturer" = "8:Friedrich Kastner-Masilko"
220246 "ARPHELPTELEPHONE" = "8:"
221247 "ARPHELPLINK" = "8:"
@@ -339,7 +365,7 @@
339365 "Target" = "8:_2AFD851B994645988B2A9F0E9DE1FCE6"
340366 "Folder" = "8:_535F50B5A6904F288D176CED81089DBB"
341367 "WorkingFolder" = "8:_A542DB502E634A4B9F20AFAE38749996"
342- "Icon" = "8:"
368+ "Icon" = "8:_5EEC35B510204C0C9BA3A05D07BFD60F"
343369 "Feature" = "8:"
344370 }
345371 "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_9911973BDDB2412DA3BA7CE6679E9B4B"
@@ -353,7 +379,7 @@
353379 "Target" = "8:_2AFD851B994645988B2A9F0E9DE1FCE6"
354380 "Folder" = "8:_90879333F0B44222874C3A568D32DDA8"
355381 "WorkingFolder" = "8:_A542DB502E634A4B9F20AFAE38749996"
356- "Icon" = "8:"
382+ "Icon" = "8:_5EEC35B510204C0C9BA3A05D07BFD60F"
357383 "Feature" = "8:"
358384 }
359385 }
Show on old repository browser