rhodes 3.3.2.beta.4 → 3.3.2.beta.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -920,10 +920,10 @@ void CRhodesApp::initAppUrls()
920
920
  #elif defined( OS_WINCE ) && !defined(OS_PLATFORM_MOTCE)
921
921
  TCHAR oem[257];
922
922
  SystemParametersInfo(SPI_GETPLATFORMNAME, sizeof(oem), oem, 0);
923
- // LOG(INFO) + oem;
924
- if ((_tcscmp(oem, _T("MC75"))==0) || (_tcscmp(oem, _T("MC75A"))==0))
925
- m_strHomeUrl = "http://localhost:";
926
- else
923
+ LOG(INFO) + "Device name: " + oem;
924
+ //if ((_tcscmp(oem, _T("MC75"))==0) || (_tcscmp(oem, _T("MC75A"))==0))
925
+ // m_strHomeUrl = "http://localhost:";
926
+ //else
927
927
  m_strHomeUrl = "http://127.0.0.1:";
928
928
  #else
929
929
  m_strHomeUrl = "http://127.0.0.1:";
@@ -482,7 +482,8 @@ namespace "run" do
482
482
  puts "Please, connect you device via ActiveSync.\n\n"
483
483
  log_file = gelLogPath
484
484
 
485
- Jake.run2( detool, ['log', log_file, $port], {:nowait => true})
485
+ # temporary disable log from device (caused enormous delays)
486
+ # Jake.run2( detool, ['log', log_file, $port], {:nowait => true})
486
487
 
487
488
  if $webkit_capability
488
489
  wk_args = [ 'wk-dev', '"'+ $wk_data_dir.gsub(/"/,'\\"') + '"', '"'+ $appname + '"']
@@ -584,7 +585,8 @@ namespace "run" do
584
585
  puts "Please, connect you device via ActiveSync.\n\n"
585
586
  log_file = gelLogPath
586
587
 
587
- Jake.run2( detool, ['log', log_file, $port], {:nowait => true})
588
+ # temporary disable log from device (caused enormous delays)
589
+ # Jake.run2( detool, ['log', log_file, $port], {:nowait => true})
588
590
  Jake.run(detool,args)
589
591
  end
590
592
  end
@@ -1046,6 +1046,8 @@ int _tmain(int argc, _TCHAR* argv[])
1046
1046
  }
1047
1047
  _tprintf( TEXT("DONE\n"));
1048
1048
 
1049
+ startWMDC();
1050
+
1049
1051
  hFind = CeFindFirstFile(app_dir, &findData);
1050
1052
  if (INVALID_HANDLE_VALUE == hFind) {
1051
1053
  _tprintf( TEXT("Application directory on device was no found\n"));
@@ -1096,6 +1098,9 @@ int _tmain(int argc, _TCHAR* argv[])
1096
1098
  goto stop_emu_deploy;
1097
1099
  }
1098
1100
 
1101
+ // establish network connectivity of the device from Windows Mobile Device Center (if applicable)
1102
+ connectWMDC();
1103
+
1099
1104
  Sleep(2 * 1000);
1100
1105
 
1101
1106
  _tprintf( TEXT("Starting application..."));
@@ -1107,8 +1112,10 @@ int _tmain(int argc, _TCHAR* argv[])
1107
1112
  _tprintf( TEXT("%s\n"), params_buf);
1108
1113
 
1109
1114
  TCHAR params[128];
1110
- _tcscpy(params, _T("-log="));
1111
- _tcscat(params, log_port);
1115
+ // temporary disable log from device (caused enormous delays)
1116
+ params[0] = 0;
1117
+ //_tcscpy(params, _T("-log="));
1118
+ //_tcscat(params, log_port);
1112
1119
 
1113
1120
  if(!wceRunProcess(T2A(params_buf), T2A(params))) {
1114
1121
  _tprintf( TEXT("FAILED\n"));
@@ -1130,6 +1137,8 @@ int _tmain(int argc, _TCHAR* argv[])
1130
1137
  }
1131
1138
  _tprintf( TEXT("DONE\n"));
1132
1139
 
1140
+ startWMDC();
1141
+
1133
1142
  _tprintf( TEXT("Loading cab file to device..."));
1134
1143
  USES_CONVERSION;
1135
1144
  if (!wcePutFile (T2A(cab_file), "")) {
@@ -1172,6 +1181,9 @@ int _tmain(int argc, _TCHAR* argv[])
1172
1181
  }
1173
1182
  _tprintf( TEXT("DONE\n"));
1174
1183
 
1184
+ // establish network connectivity of the device from Windows Mobile Device Center (if applicable)
1185
+ connectWMDC();
1186
+
1175
1187
  _tprintf( TEXT("Starting application..."));
1176
1188
  _tcscpy(params_buf, TEXT("\\Program Files\\"));
1177
1189
  _tcscat(params_buf, app_name);
@@ -1180,8 +1192,10 @@ int _tmain(int argc, _TCHAR* argv[])
1180
1192
  _tcscat(params_buf, _T(".exe"));
1181
1193
 
1182
1194
  TCHAR params[128];
1183
- _tcscpy(params, _T("-log="));
1184
- _tcscat(params, log_port);
1195
+ // temporary disable log from device (caused enormous delays)
1196
+ params[0] = 0;
1197
+ //_tcscpy(params, _T("-log="));
1198
+ //_tcscat(params, log_port);
1185
1199
 
1186
1200
  if(!wceRunProcess (T2A(params_buf), T2A(params))) {
1187
1201
  _tprintf( TEXT("FAILED\n"));
@@ -119,7 +119,7 @@
119
119
  Name="VCCLCompilerTool"
120
120
  Optimization="2"
121
121
  EnableIntrinsicFunctions="true"
122
- AdditionalIncludeDirectories=""C:\Program Files (x86)\Windows Mobile 6 SDK\Activesync\inc""
122
+ AdditionalIncludeDirectories=""C:\Program Files\Windows Mobile 6 SDK\Activesync\inc""
123
123
  PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
124
124
  RuntimeLibrary="2"
125
125
  EnableFunctionLevelLinking="true"
@@ -140,7 +140,7 @@
140
140
  Name="VCLinkerTool"
141
141
  AdditionalDependencies="rapi.lib Ws2_32.lib"
142
142
  LinkIncremental="1"
143
- AdditionalLibraryDirectories="C:\Program Files (x86)\Windows Mobile 6 SDK\Activesync\Lib"
143
+ AdditionalLibraryDirectories="C:\Program Files\Windows Mobile 6 SDK\Activesync\Lib"
144
144
  GenerateDebugInformation="true"
145
145
  SubSystem="1"
146
146
  OptimizeReferences="2"
@@ -421,6 +421,7 @@ namespace "run" do
421
421
  task :spec do
422
422
  Rake::Task["run:wp"].invoke
423
423
  Jake.before_run_spec
424
+ start = Time.now
424
425
  log_file = getLogPath
425
426
 
426
427
  puts "waiting for log: " + log_file
Binary file
data/version CHANGED
@@ -1 +1 @@
1
- 3.3.2.beta.4
1
+ 3.3.2.beta.5
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhodes
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196459
4
+ hash: 62196457
5
5
  prerelease: true
6
6
  segments:
7
7
  - 3
8
8
  - 3
9
9
  - 2
10
10
  - beta
11
- - 4
12
- version: 3.3.2.beta.4
11
+ - 5
12
+ version: 3.3.2.beta.5
13
13
  platform: ruby
14
14
  authors:
15
15
  - Rhomobile