rhodes 2.2.3 → 2.2.4.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +13 -0
- data/Rakefile +1 -1
- data/bin/c2dm.rb +59 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Rakefile +4 -0
- data/lib/framework/rho/rho.rb +2 -0
- data/lib/framework/rho/rhoapplication.rb +1 -0
- data/lib/framework/rhodes.rb +1 -1
- data/lib/framework/version.rb +1 -1
- data/lib/rhodes.rb +1 -1
- data/platform/android/Rhodes/AndroidManifest.xml +1 -1
- data/platform/android/Rhodes/jni/src/callbacks.cpp +21 -0
- data/platform/android/Rhodes/jni/src/nativebar.cpp +4 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoActivity.java +3 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/Rhodes.java +68 -7
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +113 -10
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/SplashScreen.java +34 -3
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/bluetooth/RhoBluetoothManager.java +21 -17
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/datetime/DateTimePickerScreen.java +29 -5
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +7 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/uri/ExternalHttpHandler.java +37 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/uri/MailUriHandler.java +0 -1
- data/platform/android/build/RhodesSRC_build.files +24 -23
- data/platform/bb/Hsqldb/src/com/rho/db/HsqlDBStorage.java +6 -0
- data/platform/bb/RubyVM/src/com/rho/RhoLogger.java +42 -20
- data/platform/bb/RubyVM/src/com/rho/db/DBAdapter.java +111 -19
- data/platform/bb/RubyVM/src/com/rho/db/IDBStorage.java +2 -0
- data/platform/bb/RubyVM/src/com/rho/net/NetRequest.java +2 -1
- data/platform/bb/RubyVM/src/com/rho/net/URI.java +80 -0
- data/platform/bb/RubyVM/src/com/rho/sync/SyncEngine.java +21 -1
- data/platform/bb/RubyVM/src/com/rho/sync/SyncNotify.java +6 -1
- data/platform/bb/RubyVM/src/com/rho/sync/SyncSource.java +139 -46
- data/platform/bb/build/bb.rake +8 -3
- data/platform/bb/rhodes/platform/5.0/com/rho/RhodesApplicationPlatform.java +32 -21
- data/platform/bb/rhodes/src/com/rho/RhoRubyHelper.java +31 -14
- data/platform/bb/rhodes/src/com/rho/file/Jsr75File.java +3 -2
- data/platform/bb/rhodes/src/com/rho/rubyext/Alert.java +3 -2
- data/platform/bb/rhodes/src/com/rho/rubyext/System.java +28 -0
- data/platform/bb/rhodes/src/rhomobile/RhodesApplication.java +111 -26
- data/platform/iphone/Classes/AppManager/AppManager.m +22 -0
- data/platform/iphone/Classes/DateTimePickerDelegate.m +3 -0
- data/platform/iphone/Classes/MapView/MapViewController.h +8 -3
- data/platform/iphone/Classes/MapView/MapViewController.m +63 -12
- data/platform/iphone/Classes/NativeBar.h +4 -3
- data/platform/iphone/Classes/NativeBar.m +28 -1
- data/platform/iphone/Classes/Rhodes.m +87 -20
- data/platform/iphone/Classes/Signature/SignatureView.m +16 -10
- data/platform/iphone/Classes/Signature/SignatureViewController.m +2 -0
- data/platform/iphone/Classes/SimpleMainView.h +2 -0
- data/platform/iphone/Classes/SimpleMainView.m +120 -35
- data/platform/iphone/Classes/SplashViewController.h +8 -1
- data/platform/iphone/Classes/SplashViewController.m +233 -11
- data/platform/iphone/Classes/SplitView/LeftViewController.h +30 -0
- data/platform/iphone/Classes/SplitView/LeftViewController.m +189 -0
- data/platform/iphone/Classes/SplitView/RightViewController.h +54 -0
- data/platform/iphone/Classes/SplitView/RightViewController.m +268 -0
- data/platform/iphone/Classes/SplitView/SplitViewDelegate.h +22 -0
- data/platform/iphone/Classes/SplitView/SplitViewDelegate.m +92 -0
- data/platform/iphone/Classes/SplitView/SplittedMainView.h +65 -0
- data/platform/iphone/Classes/SplitView/SplittedMainView.m +304 -0
- data/platform/iphone/Classes/TabbedMainView.m +23 -6
- data/platform/iphone/Classes/WebView.m +1 -1
- data/platform/iphone/Info.plist +11 -2
- data/platform/iphone/rbuild/iphone.rake +80 -3
- data/platform/iphone/rhorunner.xcodeproj/project.pbxproj +50 -3
- data/platform/shared/common/RhoConf.cpp +5 -5
- data/platform/shared/db/DBAdapter.cpp +81 -3
- data/platform/shared/db/DBAdapter.h +1 -0
- data/platform/shared/json/JSONIterator.cpp +5 -0
- data/platform/shared/json/JSONIterator.h +1 -0
- data/platform/shared/net/CURLNetRequest.cpp +2 -2
- data/platform/shared/net/URI.cpp +53 -0
- data/platform/shared/net/URI.h +5 -1
- data/platform/shared/ruby/ext/system/system.i +9 -1
- data/platform/shared/ruby/ext/system/system_wrap.c +2632 -2574
- data/platform/shared/ruby/win32/win32.c +2 -0
- data/platform/shared/ruby/wince/direct.c +4 -0
- data/platform/shared/sync/SyncEngine.cpp +20 -1
- data/platform/shared/sync/SyncEngine.h +6 -1
- data/platform/shared/sync/SyncNotify.cpp +6 -1
- data/platform/shared/sync/SyncSource.cpp +130 -74
- data/platform/shared/sync/SyncSource.h +3 -1
- data/platform/wm/rhodes.sln +30 -22
- data/platform/wm/rhodes/Alert.cpp +4 -3
- data/platform/wm/rhodes/MainWindow.cpp +73 -20
- data/platform/wm/rhodes/RingtoneManager.cpp +4 -4
- data/platform/wm/rhodes/RingtoneManager.h +2 -1
- data/platform/wm/rhodes/Vibrate.cpp +1 -2
- data/platform/wm/rhodes/rho/rubyext/SystemImpl.cpp +37 -0
- data/platform/wm/rhodes/rhodes.vcproj +219 -5
- data/platform/wm/rhodes/stdafx.h +1 -0
- data/platform/wm/rubylib/rubylib.vcproj +10 -8
- data/platform/wm/sqlite3/sqlite3.vcproj +6 -4
- data/platform/wm/syncengine/syncengine.vcproj +7 -5
- data/platform/wm/tcmalloc/tcmalloc.vcproj +11 -8
- data/rakefile.rb +1 -1
- data/res/generators/templates/application/public/jqtouch/jqtouch.js +9 -1
- data/rhodes.gemspec +1 -1
- data/spec/phone_spec/app/spec/bulksync_spec.rb +71 -1
- metadata +17 -5
@@ -328,7 +328,7 @@ void CAlert::showPopup(CAlertDialog::Params *params)
|
|
328
328
|
::PostMessage(main_wnd, WM_ALERT_SHOW_POPUP, 0, (LPARAM ) params);
|
329
329
|
}
|
330
330
|
|
331
|
-
#if
|
331
|
+
#if _WIN32_WCE > 0x501
|
332
332
|
void CAlert::vibrate()
|
333
333
|
{
|
334
334
|
CVibrate::getCVibrate().toggle();
|
@@ -337,6 +337,7 @@ void CAlert::vibrate()
|
|
337
337
|
void CAlert::playFile(String fileName)
|
338
338
|
{
|
339
339
|
rho::String path = RHODESAPP().getRhoRootPath() + "apps" + fileName;
|
340
|
+
|
340
341
|
HSOUND hSound;
|
341
342
|
|
342
343
|
rho::String::size_type pos = 0;
|
@@ -449,13 +450,13 @@ extern "C" void alert_show_popup(rho_param *p)
|
|
449
450
|
}
|
450
451
|
|
451
452
|
extern "C" void alert_vibrate(void*) {
|
452
|
-
#if
|
453
|
+
#if _WIN32_WCE > 0x501
|
453
454
|
CAlert::vibrate();
|
454
455
|
#endif
|
455
456
|
}
|
456
457
|
|
457
458
|
extern "C" void alert_play_file(char* file_name, ...) {
|
458
|
-
#if
|
459
|
+
#if _WIN32_WCE > 0x501
|
459
460
|
CAlert::playFile(file_name);
|
460
461
|
#endif
|
461
462
|
}
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
#if defined(_WIN32_WCE)
|
6
6
|
#include <webvw.h>
|
7
|
-
|
8
|
-
|
7
|
+
//#include <soundfile.h>
|
8
|
+
//#include <nled.h>
|
9
9
|
#endif
|
10
10
|
#include <string>
|
11
11
|
#if defined(OS_WINDOWS)
|
@@ -27,7 +27,6 @@
|
|
27
27
|
#include "common/RhoFile.h"
|
28
28
|
#include "bluetooth/Bluetooth.h"
|
29
29
|
|
30
|
-
|
31
30
|
#include <hash_map>
|
32
31
|
|
33
32
|
IMPLEMENT_LOGCLASS(CMainWindow,"MainWindow");
|
@@ -251,6 +250,9 @@ LRESULT CMainWindow::OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam
|
|
251
250
|
|
252
251
|
LRESULT CMainWindow::OnSize(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM lParam, BOOL& /*bHandled*/)
|
253
252
|
{
|
253
|
+
if ( !m_browser.m_hWnd )
|
254
|
+
return 0;
|
255
|
+
|
254
256
|
#if defined(OS_WINDOWS)
|
255
257
|
USES_CONVERSION;
|
256
258
|
LOG(TRACE) + "Seting browser client area size to: " + (int)LOWORD(lParam) + " x " + (int)(HIWORD(lParam)-m_menuBarHeight);
|
@@ -286,15 +288,18 @@ LRESULT CMainWindow::OnPaint(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/
|
|
286
288
|
|
287
289
|
HDC hdcMem = CreateCompatibleDC(hDC);
|
288
290
|
SelectObject(hdcMem, hbitmap);
|
289
|
-
|
291
|
+
|
292
|
+
CRect rcClient;
|
293
|
+
GetClientRect(&rcClient);
|
294
|
+
int nLeft = rcClient.left, nTop=rcClient.top, nWidth = bmp.bmWidth, nHeight=bmp.bmHeight;
|
290
295
|
if (splash.isFlag(CSplashScreen::HCENTER) )
|
291
|
-
|
296
|
+
nLeft = (rcClient.Width()-nWidth)/2;
|
292
297
|
if (splash.isFlag(CSplashScreen::VCENTER) )
|
293
|
-
|
298
|
+
nTop = (rcClient.Height()-nHeight)/2;
|
294
299
|
if (splash.isFlag(CSplashScreen::VZOOM) )
|
295
|
-
nHeight =
|
300
|
+
nHeight = rcClient.Height();
|
296
301
|
if (splash.isFlag(CSplashScreen::HZOOM) )
|
297
|
-
nWidth =
|
302
|
+
nWidth = rcClient.Width();
|
298
303
|
|
299
304
|
StretchBlt(hDC, nLeft, nTop, nWidth, nHeight,
|
300
305
|
hdcMem, 0, 0, bmp.bmWidth, bmp.bmHeight, SRCCOPY);
|
@@ -508,15 +513,30 @@ LRESULT CMainWindow::OnAlertShowPopup (UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM
|
|
508
513
|
|
509
514
|
if (params->m_dlgType == CAlertDialog::Params::DLG_DEFAULT) {
|
510
515
|
MessageBox(convertToStringW(params->m_message).c_str(), strAppName.c_str(), MB_ICONWARNING | MB_OK);
|
511
|
-
} else if (params->m_dlgType == CAlertDialog::Params::DLG_CUSTOM)
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
516
|
+
} else if (params->m_dlgType == CAlertDialog::Params::DLG_CUSTOM)
|
517
|
+
{
|
518
|
+
if ( params->m_buttons.size() == 1 && strcasecmp(params->m_buttons[0].m_strCaption.c_str(), "ok") == 0)
|
519
|
+
MessageBox(convertToStringW(params->m_message).c_str(), convertToStringW(params->m_title).c_str(), MB_ICONWARNING | MB_OK);
|
520
|
+
else if (params->m_buttons.size() == 2 && strcasecmp(params->m_buttons[0].m_strCaption.c_str(), "ok") == 0 &&
|
521
|
+
strcasecmp(params->m_buttons[1].m_strCaption.c_str(), "cancel") == 0)
|
522
|
+
{
|
523
|
+
int nRes = MessageBox(convertToStringW(params->m_message).c_str(), convertToStringW(params->m_title).c_str(),
|
524
|
+
MB_ICONWARNING | MB_OKCANCEL);
|
525
|
+
int nBtn = nRes == IDCANCEL ? 1 : 0;
|
526
|
+
RHODESAPP().callPopupCallback(params->m_callback, params->m_buttons[nBtn].m_strID, params->m_buttons[nBtn].m_strCaption);
|
527
|
+
}
|
528
|
+
else
|
529
|
+
{
|
530
|
+
if (m_alertDialog == NULL)
|
531
|
+
{
|
532
|
+
m_alertDialog = new CAlertDialog(params);
|
533
|
+
m_alertDialog->DoModal();
|
534
|
+
delete m_alertDialog;
|
535
|
+
m_alertDialog = NULL;
|
536
|
+
} else {
|
537
|
+
LOG(WARNING) + "Trying to show alert dialog while it exists.";
|
538
|
+
}
|
539
|
+
}
|
520
540
|
}
|
521
541
|
|
522
542
|
delete params;
|
@@ -589,16 +609,29 @@ LRESULT CMainWindow::OnDateTimePicker (UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM
|
|
589
609
|
// event handlers
|
590
610
|
//
|
591
611
|
// **************************************************************************
|
612
|
+
extern "C" void rho_wmsys_run_app(const char* szPath, const char* szParams );
|
592
613
|
|
593
614
|
void __stdcall CMainWindow::OnBeforeNavigate2(IDispatch* pDisp, VARIANT * pvtURL,
|
594
615
|
VARIANT * /*pvtFlags*/, VARIANT * pvtTargetFrameName,
|
595
616
|
VARIANT * /*pvtPostData*/, VARIANT * /*pvtHeaders*/,
|
596
|
-
VARIANT_BOOL *
|
617
|
+
VARIANT_BOOL * pvbCancel)
|
597
618
|
{
|
598
619
|
USES_CONVERSION;
|
599
620
|
LPCTSTR szURL = OLE2CT(V_BSTR(pvtURL));
|
600
621
|
|
601
|
-
LOG(TRACE) + "OnBeforeNavigate2: " + szURL
|
622
|
+
LOG(TRACE) + "OnBeforeNavigate2: " + szURL;
|
623
|
+
|
624
|
+
if ( wcsstr(szURL, L"rho_open_target=_blank") != 0)
|
625
|
+
{
|
626
|
+
LOG(INFO) + "Open external browser: " + szURL;
|
627
|
+
#ifdef OS_WINCE
|
628
|
+
rho_wmsys_run_app(convertToStringA(szURL).c_str(), 0 );
|
629
|
+
#else
|
630
|
+
rho_wmsys_run_app(convertToStringA(szURL).c_str(), 0 );
|
631
|
+
#endif
|
632
|
+
*pvbCancel = VARIANT_TRUE;
|
633
|
+
}
|
634
|
+
|
602
635
|
/*
|
603
636
|
String strTitle = RHOCONF().getString("title_text");
|
604
637
|
if ( strTitle.length() > 0 )
|
@@ -718,7 +751,6 @@ void CMainWindow::ShowLoadingPage(LPDISPATCH pDisp, VARIANT* URL)
|
|
718
751
|
|
719
752
|
void __stdcall CMainWindow::OnDocumentComplete(IDispatch* pDisp, VARIANT * pvtURL)
|
720
753
|
{
|
721
|
-
LOG(INFO) + "Show loading page";
|
722
754
|
USES_CONVERSION;
|
723
755
|
|
724
756
|
LPCTSTR url = OLE2CT(V_BSTR(pvtURL));
|
@@ -741,6 +773,24 @@ void __stdcall CMainWindow::OnDocumentComplete(IDispatch* pDisp, VARIANT * pvtUR
|
|
741
773
|
SetToolbarButtonEnabled(IDM_SK1_EXIT, TRUE);
|
742
774
|
#endif
|
743
775
|
//RHO_ASSERT(SetMenuItemEnabled(IDM_STOP, FALSE));
|
776
|
+
/*#if defined (_WIN32_WCE)
|
777
|
+
//TEST
|
778
|
+
CComPtr<IDispatch> pDispDoc;
|
779
|
+
m_spIWebBrowser2->get_Document(&pDispDoc);
|
780
|
+
|
781
|
+
CComPtr<IPIEHTMLDocument3> pDoc;
|
782
|
+
pDispDoc.QueryInterface(&pDoc);
|
783
|
+
|
784
|
+
CComPtr<IPIEHTMLElementCollection> pColl;
|
785
|
+
pDoc->getElementsByTagName(CComBSTR("meta"), &pColl);
|
786
|
+
long size = 0;
|
787
|
+
pColl->get_length(&size);
|
788
|
+
|
789
|
+
if ( size > 0 )
|
790
|
+
{
|
791
|
+
}
|
792
|
+
//TEST
|
793
|
+
#endif */
|
744
794
|
}
|
745
795
|
|
746
796
|
void __stdcall CMainWindow::OnCommandStateChange(long lCommand, BOOL bEnable)
|
@@ -869,6 +919,9 @@ void CMainWindow::createCustomMenu()
|
|
869
919
|
CMenu sub;
|
870
920
|
CMenu popup;
|
871
921
|
|
922
|
+
if (!m_browser.m_hWnd)
|
923
|
+
return;
|
924
|
+
|
872
925
|
VERIFY(menu.CreateMenu());
|
873
926
|
VERIFY(popup.CreatePopupMenu());
|
874
927
|
menu.AppendMenu(MF_POPUP, (UINT) popup.m_hMenu, _T(""));
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#include "stdafx.h"
|
2
2
|
#include "RingtoneManager.h"
|
3
3
|
|
4
|
-
#if
|
4
|
+
#if _WIN32_WCE > 0x501
|
5
5
|
|
6
6
|
IMPLEMENT_LOGCLASS(CRingtoneManager, "RingtoneManager");
|
7
7
|
CRingtoneManager *CRingtoneManager::m_pInstance = NULL;
|
@@ -102,7 +102,7 @@ VALUE rho_ringtone_manager_get_all()
|
|
102
102
|
|
103
103
|
CHoldRubyValue retval(rho_ruby_createHash());
|
104
104
|
|
105
|
-
#if
|
105
|
+
#if _WIN32_WCE > 0x501
|
106
106
|
|
107
107
|
Hashtable<String, String> ringtones;
|
108
108
|
CRingtoneManager::getCRingtoneManager().getAllRingtones(ringtones);
|
@@ -118,7 +118,7 @@ VALUE rho_ringtone_manager_get_all()
|
|
118
118
|
|
119
119
|
void rho_ringtone_manager_stop()
|
120
120
|
{
|
121
|
-
#if
|
121
|
+
#if _WIN32_WCE > 0x501
|
122
122
|
LOG(INFO) + __FUNCTION__;
|
123
123
|
CRingtoneManager::getCRingtoneManager().stop();
|
124
124
|
#endif
|
@@ -126,7 +126,7 @@ void rho_ringtone_manager_stop()
|
|
126
126
|
|
127
127
|
void rho_ringtone_manager_play(char* file_name)
|
128
128
|
{
|
129
|
-
#if
|
129
|
+
#if _WIN32_WCE > 0x501
|
130
130
|
LOG(INFO) + __FUNCTION__;
|
131
131
|
CRingtoneManager::getCRingtoneManager().play(String(file_name));
|
132
132
|
#endif
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#include "ext/rho/rhoruby.h"
|
5
5
|
|
6
|
-
#if
|
6
|
+
#if _WIN32_WCE > 0x501
|
7
7
|
|
8
8
|
#include "logging/RhoLog.h"
|
9
9
|
#include "common/RhoMutexLock.h"
|
@@ -36,6 +36,7 @@ class CRingtoneManager
|
|
36
36
|
static CMutex m_mxRMLocker;
|
37
37
|
|
38
38
|
HSOUND m_hSound;
|
39
|
+
|
39
40
|
};
|
40
41
|
#endif
|
41
42
|
|
@@ -394,4 +394,41 @@ void rho_sys_app_exit()
|
|
394
394
|
::PostMessage(getMainWnd(), WM_COMMAND, MAKEWPARAM(IDM_EXIT,0), (LPARAM )0);
|
395
395
|
}
|
396
396
|
|
397
|
+
void rho_wmsys_run_app(const char* szPath, const char* szParams );
|
398
|
+
void rho_sys_run_app(const char *appname, VALUE params)
|
399
|
+
{
|
400
|
+
rho_wmsys_run_app(appname, 0);
|
401
|
+
}
|
402
|
+
|
403
|
+
void rho_sys_open_url(const char* url)
|
404
|
+
{
|
405
|
+
rho_wmsys_run_app(url, 0);
|
406
|
+
}
|
407
|
+
|
408
|
+
void rho_wmsys_run_app(const char* szPath, const char* szParams )
|
409
|
+
{
|
410
|
+
SHELLEXECUTEINFO se = {0};
|
411
|
+
se.cbSize = sizeof(SHELLEXECUTEINFO);
|
412
|
+
se.fMask = SEE_MASK_NOCLOSEPROCESS;
|
413
|
+
se.lpVerb = L"Open";
|
414
|
+
|
415
|
+
StringW strAppNameW;
|
416
|
+
convertToStringW(szPath, strAppNameW);
|
417
|
+
for(int i = 0; i<(int)strAppNameW.length();i++)
|
418
|
+
{
|
419
|
+
if ( strAppNameW.at(i) == '/' )
|
420
|
+
strAppNameW.at(i) = '\\';
|
421
|
+
}
|
422
|
+
se.lpFile = strAppNameW.c_str();
|
423
|
+
|
424
|
+
StringW strParamsW;
|
425
|
+
if ( szParams && *szParams )
|
426
|
+
{
|
427
|
+
convertToStringW(szParams, strParamsW);
|
428
|
+
se.lpParameters = strParamsW.c_str();
|
429
|
+
}
|
430
|
+
|
431
|
+
ShellExecuteEx(&se);
|
432
|
+
}
|
433
|
+
|
397
434
|
} //extern "C"
|
@@ -20,6 +20,9 @@
|
|
20
20
|
<Platform
|
21
21
|
Name="Windows Mobile 5.0 Smartphone SDK (ARMV4I)"
|
22
22
|
/>
|
23
|
+
<Platform
|
24
|
+
Name="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
|
25
|
+
/>
|
23
26
|
</Platforms>
|
24
27
|
<ToolFiles>
|
25
28
|
</ToolFiles>
|
@@ -350,7 +353,7 @@
|
|
350
353
|
Name="VCCLCompilerTool"
|
351
354
|
ExecutionBucket="7"
|
352
355
|
Optimization="0"
|
353
|
-
AdditionalIncludeDirectories="../../shared
|
356
|
+
AdditionalIncludeDirectories="../../shared;./rho;../../shared/ruby;../../shared/wtl80/include;."
|
354
357
|
PreprocessorDefinitions="_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;DEBUG;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE;POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL"
|
355
358
|
MinimalRebuild="true"
|
356
359
|
RuntimeLibrary="1"
|
@@ -375,12 +378,13 @@
|
|
375
378
|
IgnoreImportLibrary="true"
|
376
379
|
UseUnicodeResponseFiles="false"
|
377
380
|
AdditionalOptions=" /subsystem:windowsce,5.01 /machine:THUMB"
|
378
|
-
AdditionalDependencies="
|
381
|
+
AdditionalDependencies="Ws2.lib Ceshell.lib wininet.lib Cellcore.lib Gpsapi.lib comsuppw.lib pimstore.lib bthutil.lib"
|
379
382
|
OutputFile="$(OutDir)/Rhodes.exe"
|
380
383
|
LinkIncremental="2"
|
381
384
|
GenerateDebugInformation="true"
|
382
385
|
SubSystem="0"
|
383
|
-
StackReserveSize="
|
386
|
+
StackReserveSize="196608"
|
387
|
+
StackCommitSize="4096"
|
384
388
|
ImportLibrary="$(OutDir)/Rhodes.lib"
|
385
389
|
TargetMachine="0"
|
386
390
|
/>
|
@@ -758,12 +762,206 @@
|
|
758
762
|
IgnoreImportLibrary="true"
|
759
763
|
UseUnicodeResponseFiles="false"
|
760
764
|
AdditionalOptions=" /subsystem:windowsce,5.01 /machine:THUMB"
|
761
|
-
AdditionalDependencies="Ws2.lib Ceshell.lib wininet.lib Cellcore.lib Gpsapi.lib comsuppw.lib pimstore.lib"
|
765
|
+
AdditionalDependencies="Ws2.lib Ceshell.lib wininet.lib Cellcore.lib Gpsapi.lib comsuppw.lib pimstore.lib bthutil.lib"
|
762
766
|
OutputFile="$(OutDir)/Rhodes.exe"
|
763
767
|
LinkIncremental="1"
|
764
768
|
GenerateDebugInformation="true"
|
765
769
|
SubSystem="0"
|
766
|
-
StackReserveSize="
|
770
|
+
StackReserveSize="196608"
|
771
|
+
StackCommitSize="4096"
|
772
|
+
OptimizeReferences="2"
|
773
|
+
EnableCOMDATFolding="2"
|
774
|
+
ImportLibrary="$(OutDir)/Rhodes.lib"
|
775
|
+
TargetMachine="0"
|
776
|
+
/>
|
777
|
+
<Tool
|
778
|
+
Name="VCALinkTool"
|
779
|
+
/>
|
780
|
+
<Tool
|
781
|
+
Name="VCXDCMakeTool"
|
782
|
+
/>
|
783
|
+
<Tool
|
784
|
+
Name="VCBscMakeTool"
|
785
|
+
/>
|
786
|
+
<Tool
|
787
|
+
Name="VCCodeSignTool"
|
788
|
+
/>
|
789
|
+
<Tool
|
790
|
+
Name="VCPostBuildEventTool"
|
791
|
+
/>
|
792
|
+
<DeploymentTool
|
793
|
+
ForceDirty="-1"
|
794
|
+
RemoteDirectory=""
|
795
|
+
RegisterOutput="0"
|
796
|
+
AdditionalFiles=""
|
797
|
+
/>
|
798
|
+
<DebuggerTool
|
799
|
+
/>
|
800
|
+
</Configuration>
|
801
|
+
<Configuration
|
802
|
+
Name="Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
|
803
|
+
OutputDirectory="..\bin\$(PlatformName)\$(ProjectName)\$(ConfigurationName)"
|
804
|
+
IntermediateDirectory="..\bin\$(PlatformName)\$(ProjectName)\$(ConfigurationName)"
|
805
|
+
ConfigurationType="1"
|
806
|
+
UseOfATL="1"
|
807
|
+
ATLMinimizesCRunTimeLibraryUsage="false"
|
808
|
+
CharacterSet="1"
|
809
|
+
>
|
810
|
+
<Tool
|
811
|
+
Name="VCPreBuildEventTool"
|
812
|
+
/>
|
813
|
+
<Tool
|
814
|
+
Name="VCCustomBuildTool"
|
815
|
+
/>
|
816
|
+
<Tool
|
817
|
+
Name="VCXMLDataGeneratorTool"
|
818
|
+
/>
|
819
|
+
<Tool
|
820
|
+
Name="VCWebServiceProxyGeneratorTool"
|
821
|
+
/>
|
822
|
+
<Tool
|
823
|
+
Name="VCMIDLTool"
|
824
|
+
PreprocessorDefinitions="_DEBUG"
|
825
|
+
MkTypLibCompatible="false"
|
826
|
+
TargetEnvironment="1"
|
827
|
+
GenerateStublessProxies="true"
|
828
|
+
TypeLibraryName="$(IntDir)/Rhodes.tlb"
|
829
|
+
HeaderFileName="Rhodes.h"
|
830
|
+
DLLDataFileName=""
|
831
|
+
InterfaceIdentifierFileName="Rhodes_i.c"
|
832
|
+
ProxyFileName="Rhodes_p.c"
|
833
|
+
/>
|
834
|
+
<Tool
|
835
|
+
Name="VCCLCompilerTool"
|
836
|
+
ExecutionBucket="7"
|
837
|
+
Optimization="0"
|
838
|
+
AdditionalIncludeDirectories="../../shared;./rho;../../shared/ruby;../../shared/wtl80/include;."
|
839
|
+
PreprocessorDefinitions="_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;DEBUG;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE;POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL"
|
840
|
+
MinimalRebuild="true"
|
841
|
+
RuntimeLibrary="1"
|
842
|
+
WarningLevel="3"
|
843
|
+
DebugInformationFormat="3"
|
844
|
+
/>
|
845
|
+
<Tool
|
846
|
+
Name="VCManagedResourceCompilerTool"
|
847
|
+
/>
|
848
|
+
<Tool
|
849
|
+
Name="VCResourceCompilerTool"
|
850
|
+
PreprocessorDefinitions="_DEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE"
|
851
|
+
Culture="1033"
|
852
|
+
AdditionalIncludeDirectories="$(IntDir)"
|
853
|
+
/>
|
854
|
+
<Tool
|
855
|
+
Name="VCPreLinkEventTool"
|
856
|
+
/>
|
857
|
+
<Tool
|
858
|
+
Name="VCLinkerTool"
|
859
|
+
RegisterOutput="false"
|
860
|
+
IgnoreImportLibrary="true"
|
861
|
+
UseUnicodeResponseFiles="false"
|
862
|
+
AdditionalOptions=" /subsystem:windowsce,5.01 /machine:THUMB"
|
863
|
+
AdditionalDependencies="Ws2.lib Ceshell.lib wininet.lib Cellcore.lib Gpsapi.lib comsuppw.lib pimstore.lib bthutil.lib"
|
864
|
+
OutputFile="$(OutDir)/Rhodes.exe"
|
865
|
+
LinkIncremental="2"
|
866
|
+
GenerateDebugInformation="true"
|
867
|
+
SubSystem="0"
|
868
|
+
StackReserveSize="196608"
|
869
|
+
StackCommitSize="4096"
|
870
|
+
ImportLibrary="$(OutDir)/Rhodes.lib"
|
871
|
+
TargetMachine="0"
|
872
|
+
/>
|
873
|
+
<Tool
|
874
|
+
Name="VCALinkTool"
|
875
|
+
/>
|
876
|
+
<Tool
|
877
|
+
Name="VCXDCMakeTool"
|
878
|
+
/>
|
879
|
+
<Tool
|
880
|
+
Name="VCBscMakeTool"
|
881
|
+
/>
|
882
|
+
<Tool
|
883
|
+
Name="VCCodeSignTool"
|
884
|
+
/>
|
885
|
+
<Tool
|
886
|
+
Name="VCPostBuildEventTool"
|
887
|
+
/>
|
888
|
+
<DeploymentTool
|
889
|
+
ForceDirty="-1"
|
890
|
+
RemoteDirectory=""
|
891
|
+
RegisterOutput="0"
|
892
|
+
AdditionalFiles=""
|
893
|
+
/>
|
894
|
+
<DebuggerTool
|
895
|
+
/>
|
896
|
+
</Configuration>
|
897
|
+
<Configuration
|
898
|
+
Name="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
|
899
|
+
OutputDirectory="..\bin\$(PlatformName)\$(ProjectName)\$(ConfigurationName)"
|
900
|
+
IntermediateDirectory="..\bin\$(PlatformName)\$(ProjectName)\$(ConfigurationName)"
|
901
|
+
ConfigurationType="1"
|
902
|
+
UseOfATL="1"
|
903
|
+
ATLMinimizesCRunTimeLibraryUsage="false"
|
904
|
+
CharacterSet="1"
|
905
|
+
>
|
906
|
+
<Tool
|
907
|
+
Name="VCPreBuildEventTool"
|
908
|
+
/>
|
909
|
+
<Tool
|
910
|
+
Name="VCCustomBuildTool"
|
911
|
+
/>
|
912
|
+
<Tool
|
913
|
+
Name="VCXMLDataGeneratorTool"
|
914
|
+
/>
|
915
|
+
<Tool
|
916
|
+
Name="VCWebServiceProxyGeneratorTool"
|
917
|
+
/>
|
918
|
+
<Tool
|
919
|
+
Name="VCMIDLTool"
|
920
|
+
PreprocessorDefinitions="NDEBUG"
|
921
|
+
MkTypLibCompatible="false"
|
922
|
+
TargetEnvironment="1"
|
923
|
+
GenerateStublessProxies="true"
|
924
|
+
TypeLibraryName="$(IntDir)/Rhodes.tlb"
|
925
|
+
HeaderFileName="Rhodes.h"
|
926
|
+
DLLDataFileName=""
|
927
|
+
InterfaceIdentifierFileName="Rhodes_i.c"
|
928
|
+
ProxyFileName="Rhodes_p.c"
|
929
|
+
/>
|
930
|
+
<Tool
|
931
|
+
Name="VCCLCompilerTool"
|
932
|
+
ExecutionBucket="7"
|
933
|
+
Optimization="2"
|
934
|
+
AdditionalIncludeDirectories="../../shared;./rho;../../shared/ruby;../../shared/wtl80/include;."
|
935
|
+
PreprocessorDefinitions="_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);NDEBUG;$(ARCHFAM);$(_ARCHFAM_);_UNICODE;UNICODE;POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL"
|
936
|
+
RuntimeLibrary="0"
|
937
|
+
WarningLevel="3"
|
938
|
+
DebugInformationFormat="3"
|
939
|
+
/>
|
940
|
+
<Tool
|
941
|
+
Name="VCManagedResourceCompilerTool"
|
942
|
+
/>
|
943
|
+
<Tool
|
944
|
+
Name="VCResourceCompilerTool"
|
945
|
+
PreprocessorDefinitions="NDEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE"
|
946
|
+
Culture="1033"
|
947
|
+
AdditionalIncludeDirectories="$(IntDir)"
|
948
|
+
/>
|
949
|
+
<Tool
|
950
|
+
Name="VCPreLinkEventTool"
|
951
|
+
/>
|
952
|
+
<Tool
|
953
|
+
Name="VCLinkerTool"
|
954
|
+
RegisterOutput="false"
|
955
|
+
IgnoreImportLibrary="true"
|
956
|
+
UseUnicodeResponseFiles="false"
|
957
|
+
AdditionalOptions=" /subsystem:windowsce,5.01 /machine:THUMB"
|
958
|
+
AdditionalDependencies="Ws2.lib Ceshell.lib wininet.lib Cellcore.lib Gpsapi.lib comsuppw.lib pimstore.lib bthutil.lib"
|
959
|
+
OutputFile="$(OutDir)/Rhodes.exe"
|
960
|
+
LinkIncremental="1"
|
961
|
+
GenerateDebugInformation="true"
|
962
|
+
SubSystem="0"
|
963
|
+
StackReserveSize="196608"
|
964
|
+
StackCommitSize="4096"
|
767
965
|
OptimizeReferences="2"
|
768
966
|
EnableCOMDATFolding="2"
|
769
967
|
ImportLibrary="$(OutDir)/Rhodes.lib"
|
@@ -909,6 +1107,22 @@
|
|
909
1107
|
UsePrecompiledHeader="1"
|
910
1108
|
/>
|
911
1109
|
</FileConfiguration>
|
1110
|
+
<FileConfiguration
|
1111
|
+
Name="Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
|
1112
|
+
>
|
1113
|
+
<Tool
|
1114
|
+
Name="VCCLCompilerTool"
|
1115
|
+
UsePrecompiledHeader="1"
|
1116
|
+
/>
|
1117
|
+
</FileConfiguration>
|
1118
|
+
<FileConfiguration
|
1119
|
+
Name="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)"
|
1120
|
+
>
|
1121
|
+
<Tool
|
1122
|
+
Name="VCCLCompilerTool"
|
1123
|
+
UsePrecompiledHeader="1"
|
1124
|
+
/>
|
1125
|
+
</FileConfiguration>
|
912
1126
|
</File>
|
913
1127
|
<File
|
914
1128
|
RelativePath=".\Utils.cpp"
|