rhodes 7.4.1 → 7.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CREDITS +3 -1
- data/LICENSE +1 -1
- data/README.md +3 -1
- data/Rakefile +52 -43
- data/SECURITY.md +19 -0
- data/appveyor.yml +60 -7
- data/azure-pipelines.yml +67 -0
- data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/src/com/rhomobile/rhoelements/ans/ANSManager.java +2 -2
- data/lib/commonAPI/barcode/ext/platform/android/AndroidManifest.xml +3 -1
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeCaptureActivity.java +11 -13
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeGraphicTracker.java +1 -1
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/CameraSource.java +3 -3
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/CameraSourcePreview.java +1 -1
- data/lib/commonAPI/barcode/ext.yml +4 -8
- data/lib/commonAPI/coreapi/ext/platform/android/Rakefile +0 -12
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/Notification.java +4 -2
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationScheduler.java +3 -3
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationSingleton.java +1 -1
- data/lib/commonAPI/coreapi/ext/push.xml +5 -2
- data/lib/commonAPI/mediacapture/ext/camera.xml +4 -9
- data/lib/commonAPI/mediacapture/ext/platform/android/ApplicationFileProvider.erb +1 -1
- data/lib/commonAPI/mediacapture/ext/platform/android/ext_java.files +1 -9
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraExtension.java +0 -2
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraFactory.java +19 -24
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java +317 -729
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraRhoListener.java +240 -434
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/{CameraSingletonObject.java → CameraSingleton.java} +68 -74
- data/lib/commonAPI/printing_zebra/ext/platform/android/src/com/rhomobile/printing/zebra/impl/ZebraPrintingProviderImpl.java +2 -1
- data/lib/extensions/fcm-push/ext/android/ApplicationManifestAdds.erb +15 -17
- data/lib/extensions/fcm-push/ext/android/Rakefile +59 -34
- data/lib/extensions/fcm-push/ext/android/ext_java.files +0 -1
- data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMFacade.java +13 -17
- data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMIntentService.java +81 -80
- data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMListener.java +0 -16
- data/lib/extensions/fcm-push/ext.yml +1 -1
- data/lib/extensions/gmaps/ext/platform/android/ApplicationManifestAdds.erb +1 -0
- data/lib/extensions/gmaps/ext/platform/android/src/com/rhomobile/rhodes/gmaps/GMapActivity.java +12 -4
- data/lib/extensions/gmaps/ext.yml +3 -1
- data/platform/android/Rhodes/jni/src/MethodResultJni.cpp +4 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +3 -3
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +3 -3
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/alert/StatusNotification.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocation.java +14 -14
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocationImpl.java +18 -9
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality26.java +1 -1
- data/platform/android/build/{aab_builder.rb → aapt2_helper.rb} +94 -37
- data/platform/android/build/android.rake +124 -191
- data/platform/android/build/android_tools.rb +9 -9
- data/platform/android/build/androidcommon.rb +18 -7
- data/platform/android/build/build_tools_finder.rb +46 -0
- data/platform/android/build/config.yml +5 -0
- data/platform/android/build/dex_builder.rb +88 -0
- data/platform/android/build/hostplatform.rb +9 -0
- data/platform/android/build/manifest_generator.rb +1 -0
- data/platform/android/build/maven_deps_extractor.rb +22 -21
- data/platform/android/build/ndkwrapper.rb +80 -51
- data/platform/iphone/Classes/AppManager/AppManager.m +3 -1
- data/platform/iphone/Classes/Camera/PickImageDelegate.h +2 -0
- data/platform/iphone/Classes/Camera/PickImageDelegate.m +45 -23
- data/platform/iphone/Classes/CocoaServer/CCocoaServer.h +27 -0
- data/platform/iphone/Classes/CocoaServer/CCocoaServer.m +107 -0
- data/platform/iphone/Classes/CocoaServer/RhoHTTPConnection.h +16 -0
- data/platform/iphone/Classes/CocoaServer/RhoHTTPConnection.m +226 -0
- data/platform/iphone/Classes/RhoWKWebView.mm +78 -11
- data/platform/iphone/Classes/RhoWebViewFabrique.m +6 -1
- data/platform/iphone/Classes/Rhodes.m +3 -0
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDData.h +14 -0
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDData.m +158 -0
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDNumber.h +12 -0
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDNumber.m +88 -0
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDRange.h +56 -0
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDRange.m +104 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPAuthenticationRequest.h +45 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPAuthenticationRequest.m +195 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPConnection.h +120 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPConnection.m +2708 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPLogging.h +136 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPMessage.h +48 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPMessage.m +113 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPResponse.h +149 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPServer.h +205 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPServer.m +772 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartFormDataParser.h +65 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartFormDataParser.m +529 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeader.h +33 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeader.m +86 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeaderField.h +23 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeaderField.m +211 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPAsyncFileResponse.h +75 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPAsyncFileResponse.m +405 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDataResponse.h +13 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDataResponse.m +79 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDynamicFileResponse.h +52 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDynamicFileResponse.m +292 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPErrorResponse.h +9 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPErrorResponse.m +38 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPFileResponse.h +25 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPFileResponse.m +237 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPRedirectResponse.h +12 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPRedirectResponse.m +73 -0
- data/platform/iphone/CocoaHTTPServer/Core/WebSocket.h +105 -0
- data/platform/iphone/CocoaHTTPServer/Core/WebSocket.m +791 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVConnection.h +7 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVConnection.m +160 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVResponse.h +11 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVResponse.m +372 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DELETEResponse.h +7 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DELETEResponse.m +49 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/PUTResponse.h +8 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/PUTResponse.m +69 -0
- data/platform/iphone/CocoaHTTPServer/LICENSE.txt +18 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/About.txt +4 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/GCDAsyncSocket.h +1226 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/GCDAsyncSocket.m +8528 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/About.txt +33 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDASLLogger.h +41 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDASLLogger.m +99 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.h +102 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.m +727 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDFileLogger.h +334 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDFileLogger.m +1353 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDLog.h +601 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDLog.m +1083 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDTTYLogger.h +167 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDTTYLogger.m +1479 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.h +65 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.m +191 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.h +116 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.m +251 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/README.txt +7 -0
- data/platform/iphone/Framework/Rhodes/Rhodes.xcodeproj/project.pbxproj +1 -1
- data/platform/iphone/RhoAppBaseLib/RhoAppBaseLib.xcodeproj/project.pbxproj +364 -0
- data/platform/iphone/rbuild/iphone.rake +4 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip +0 -0
- data/platform/shared/common/RhodesApp.cpp +26 -1
- data/platform/shared/net/HttpServer.cpp +20 -0
- data/platform/shared/qt/RhoSimulator.pro +1 -1
- data/platform/shared/ruby/osx/ruby/config.h +2 -0
- data/platform/shared/ruby/win32/win32.c +10 -3
- data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
- data/rakefile.rb +52 -43
- data/res/build-tools/RhoRuby.exe +0 -0
- data/res/build-tools/aapt2/linux/aapt2 +0 -0
- data/res/build-tools/aapt2/osx/aapt2 +0 -0
- data/res/generators/templates/application/AndroidManifest.erb +2 -1
- data/res/generators/templates/application/build.yml +4 -1
- data/res/generators/templates/application/rhoconfig.txt +5 -0
- data/rhobuild.yml.example +4 -4
- data/rhodes.gemspec +1 -2
- data/version +1 -1
- metadata +80 -35
- data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/drawable/camera_btn.xml +0 -14
- data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/layout/camera_land.xml +0 -23
- data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/layout/camera_port.xml +0 -23
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraActivity.java +0 -156
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraEclair.java +0 -227
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraGingerbread.java +0 -152
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraPreview.java +0 -183
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingletonEclair.java +0 -14
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingletonGingerbread.java +0 -60
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraObject.java +0 -20
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraSingletonObject.java +0 -8
- data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMTokenRefresherService.java +0 -27
- data/platform/android/Rhodes/AndroidManifest.xml.erb +0 -89
@@ -1854,6 +1854,10 @@ namespace "build" do
|
|
1854
1854
|
framework_build_dir = File.join(framework_dir, "build")
|
1855
1855
|
rm_rf framework_build_dir
|
1856
1856
|
|
1857
|
+
|
1858
|
+
ENV["TAU_DEV_ARCHS"] = get_archs_string_device
|
1859
|
+
ENV["TAU_SIM_ARCHS"] = get_archs_string_simulator
|
1860
|
+
|
1857
1861
|
args = ['clean', 'install', '-target', "Framework",'-project', "Rhodes.xcodeproj"]
|
1858
1862
|
Dir.chdir framework_dir
|
1859
1863
|
ret = IPhoneBuild.run_and_trace($xcodebuild,args,{:rootdir => $startdir})
|
Binary file
|
@@ -73,6 +73,13 @@ bool rho_wmimpl_is_browser_ieforwm();
|
|
73
73
|
void rho_file_set_fs_mode(int mode);
|
74
74
|
#endif
|
75
75
|
|
76
|
+
#ifdef OS_MACOSX
|
77
|
+
#ifndef RHODES_EMULATOR
|
78
|
+
void rho_cocoa_server_init();
|
79
|
+
void rho_cocoa_server_start();
|
80
|
+
#endif
|
81
|
+
#endif
|
82
|
+
|
76
83
|
}
|
77
84
|
|
78
85
|
// Copy-paste from ApplicationBase.cpp
|
@@ -561,14 +568,27 @@ void CRhodesApp::run()
|
|
561
568
|
|
562
569
|
#ifdef OS_MACOSX
|
563
570
|
bool shouldRunDirectQueue = false;
|
571
|
+
bool shouldUseCocoaServer = true;
|
572
|
+
|
564
573
|
net::CDirectHttpRequestQueue directQueue(*m_httpServer, *this );
|
565
574
|
|
566
575
|
if (RHOCONF().isExist("ios_direct_local_requests")) {
|
567
576
|
shouldRunDirectQueue = RHOCONF().getBool("ios_direct_local_requests");
|
568
577
|
}
|
578
|
+
if (RHOCONF().isExist("ios_use_old_legacy_socket")) {
|
579
|
+
shouldUseCocoaServer = !RHOCONF().getBool("ios_use_old_legacy_socket");
|
580
|
+
}
|
569
581
|
#ifdef RHODES_EMULATOR
|
570
582
|
shouldRunDirectQueue = false;
|
583
|
+
shouldUseCocoaServer = false;
|
571
584
|
#endif
|
585
|
+
|
586
|
+
if ((shouldUseCocoaServer) && (!shouldRunDirectQueue)) {
|
587
|
+
#ifndef RHODES_EMULATOR
|
588
|
+
rho_cocoa_server_init();
|
589
|
+
#endif
|
590
|
+
}
|
591
|
+
|
572
592
|
#endif
|
573
593
|
|
574
594
|
|
@@ -576,8 +596,13 @@ void CRhodesApp::run()
|
|
576
596
|
if(!m_isJSFSApp)
|
577
597
|
{
|
578
598
|
#ifdef OS_MACOSX
|
579
|
-
if ( shouldRunDirectQueue )
|
599
|
+
if ( shouldRunDirectQueue || shouldUseCocoaServer)
|
580
600
|
{
|
601
|
+
if ((shouldUseCocoaServer) && (!shouldRunDirectQueue)) {
|
602
|
+
#ifndef RHODES_EMULATOR
|
603
|
+
rho_cocoa_server_start();
|
604
|
+
#endif
|
605
|
+
}
|
581
606
|
directQueue.run();
|
582
607
|
}
|
583
608
|
else
|
@@ -95,6 +95,19 @@ typedef unsigned __int16 uint16_t;
|
|
95
95
|
|
96
96
|
#endif
|
97
97
|
|
98
|
+
|
99
|
+
|
100
|
+
#ifdef OS_MACOSX
|
101
|
+
#ifndef RHODES_EMULATOR
|
102
|
+
|
103
|
+
extern "C" {
|
104
|
+
void rho_cocoa_server_stop();
|
105
|
+
}
|
106
|
+
|
107
|
+
#endif
|
108
|
+
#endif
|
109
|
+
|
110
|
+
|
98
111
|
#undef DEFAULT_LOGCATEGORY
|
99
112
|
#define DEFAULT_LOGCATEGORY "HttpServer"
|
100
113
|
|
@@ -511,6 +524,13 @@ void CHttpServer::close_listener()
|
|
511
524
|
|
512
525
|
void CHttpServer::stop()
|
513
526
|
{
|
527
|
+
|
528
|
+
#ifdef OS_MACOSX
|
529
|
+
#ifndef RHODES_EMULATOR
|
530
|
+
rho_cocoa_server_stop();
|
531
|
+
#endif
|
532
|
+
#endif
|
533
|
+
|
514
534
|
// WARNING!!! It is not enough to just close listener on Android
|
515
535
|
// to stop server. By unknown reason accept does not unblock if
|
516
536
|
// it was closed in another thread. However, on iPhone it works
|
@@ -2437,7 +2437,7 @@ static size_t pioinfo_extra = 0; /* workaround for VC++8 SP1 */
|
|
2437
2437
|
static void
|
2438
2438
|
set_pioinfo_extra(void)
|
2439
2439
|
{
|
2440
|
-
#if RUBY_MSVCRT_VERSION >= 140
|
2440
|
+
#if RUBY_MSVCRT_VERSION >= 140
|
2441
2441
|
# define FUNCTION_RET 0xc3 /* ret */
|
2442
2442
|
|
2443
2443
|
//RHO start : trying to get _asatty address from both debug and release crt dlls
|
@@ -2477,18 +2477,25 @@ set_pioinfo_extra(void)
|
|
2477
2477
|
// vvv
|
2478
2478
|
|
2479
2479
|
#define FUNCTION_BEFORE_RET_MARK "\x5d"
|
2480
|
+
#define FUNCTION_BEFORE_RET_MARK_2 "\xc9"
|
2480
2481
|
|
2481
2482
|
# define FUNCTION_SKIP_BYTES 0
|
2482
2483
|
/* mov eax,dword ptr [eax*4+100EB430h] */
|
2483
2484
|
# define PIOINFO_MARK "\x8B\x04\x85"
|
2484
2485
|
# endif
|
2485
2486
|
if (p) {
|
2486
|
-
for (pend += 10; pend < p +
|
2487
|
+
for (pend += 10; pend < p + 500; pend++) {
|
2487
2488
|
|
2488
2489
|
int beforeRetFound = (memcmp(pend, FUNCTION_BEFORE_RET_MARK, sizeof(FUNCTION_BEFORE_RET_MARK) - 1) == 0);
|
2489
2490
|
char* pret = (pend + (sizeof(FUNCTION_BEFORE_RET_MARK) - 1) + FUNCTION_SKIP_BYTES);
|
2490
2491
|
int retFound = ( (*(pret) & FUNCTION_RET ) == FUNCTION_RET);
|
2491
|
-
|
2492
|
+
|
2493
|
+
#ifdef FUNCTION_BEFORE_RET_MARK_2
|
2494
|
+
if (!(beforeRetFound && retFound)) {
|
2495
|
+
beforeRetFound = (memcmp(pend, FUNCTION_BEFORE_RET_MARK_2, sizeof(FUNCTION_BEFORE_RET_MARK_2) - 1) == 0);
|
2496
|
+
pret = (pend + (sizeof(FUNCTION_BEFORE_RET_MARK_2) - 1) + FUNCTION_SKIP_BYTES);
|
2497
|
+
}
|
2498
|
+
#endif
|
2492
2499
|
// find end of function
|
2493
2500
|
if ( beforeRetFound && retFound ) {
|
2494
2501
|
/*
|
Binary file
|
data/rakefile.rb
CHANGED
@@ -3985,11 +3985,11 @@ namespace "build" do
|
|
3985
3985
|
|
3986
3986
|
rho_ruby_project = File.join($startdir, "platform/win32/RubyWin/RubyWin.2015.sln")
|
3987
3987
|
argsClean = [rho_ruby_project, "/p:Configuration=Release_RubyCompiler", "/p:Platform=Win32",
|
3988
|
-
'/p:VisualStudioVersion=14.
|
3988
|
+
'/p:VisualStudioVersion=14.2', '/t:Clean']
|
3989
3989
|
Jake.run(msbuild, argsClean)
|
3990
3990
|
|
3991
3991
|
argsBuild = [rho_ruby_project, "/p:Configuration=Release_RubyCompiler", "/p:Platform=Win32",
|
3992
|
-
'/p:VisualStudioVersion=14.
|
3992
|
+
'/p:VisualStudioVersion=14.2', '/t:Build']
|
3993
3993
|
Jake.run(msbuild, argsBuild)
|
3994
3994
|
puts "RhoRuby rebuilded"
|
3995
3995
|
end
|
@@ -4296,9 +4296,9 @@ namespace "run" do
|
|
4296
4296
|
end
|
4297
4297
|
|
4298
4298
|
if $config['env']['paths']['rhosimulator'] and $config['env']['paths']['rhosimulator'].length() > 0
|
4299
|
-
path = File.join( $config['env']['paths']['rhosimulator'], "
|
4299
|
+
path = File.join( $config['env']['paths']['rhosimulator'], "RhoSimulator.exe" )
|
4300
4300
|
else
|
4301
|
-
path = File.join( $startdir, "platform/win32/RhoSimulator/
|
4301
|
+
path = File.join( $startdir, "platform/win32/RhoSimulator/RhoSimulator.exe" )
|
4302
4302
|
end
|
4303
4303
|
|
4304
4304
|
oldDir = File.join( $startdir, "platform/win32/RhoSimulator" )
|
@@ -4307,7 +4307,7 @@ namespace "run" do
|
|
4307
4307
|
qtdir = ENV['QTDIR']
|
4308
4308
|
args << "-remote-debugging-port=9090"
|
4309
4309
|
|
4310
|
-
cmd = File.join(newDir, '
|
4310
|
+
cmd = File.join(newDir, 'RhoSimulator.exe')
|
4311
4311
|
elsif RUBY_PLATFORM =~ /darwin/
|
4312
4312
|
|
4313
4313
|
path = File.join( $startdir, "platform/osx/bin/RhoSimulator" )
|
@@ -4452,59 +4452,68 @@ namespace "build" do
|
|
4452
4452
|
end
|
4453
4453
|
|
4454
4454
|
def downloadRhosim( targetPath )
|
4455
|
-
require 'tempfile'
|
4456
4455
|
|
4457
|
-
|
4458
|
-
branch = `git rev-parse --abbrev-ref HEAD`.strip
|
4456
|
+
require 'tempfile'
|
4459
4457
|
|
4460
|
-
|
4461
|
-
|
4462
|
-
elsif RUBY_PLATFORM =~ /darwin/
|
4463
|
-
url = "https://tau-autobuilds.s3.eu-central-1.amazonaws.com/rhomobile/rhodes/#{branch}/#{commit}/osx-rhosimulator_osx-/RhoSimulator.app.zip"
|
4464
|
-
else
|
4465
|
-
return
|
4466
|
-
end
|
4458
|
+
commit = `git rev-parse HEAD`.strip
|
4459
|
+
branch = `git rev-parse --abbrev-ref HEAD`.strip
|
4467
4460
|
|
4468
|
-
|
4461
|
+
if RUBY_PLATFORM =~ /(win|w)32$/
|
4462
|
+
url = "https://tau-autobuilds.s3.eu-central-1.amazonaws.com/rhomobile/rhodes/#{branch}/#{commit}/win32-RhoSimulator/RhoSimulator.zip"
|
4463
|
+
elsif RUBY_PLATFORM =~ /darwin/
|
4464
|
+
url = "https://tau-autobuilds.s3.eu-central-1.amazonaws.com/rhomobile/rhodes/#{branch}/#{commit}/osx-rhosimulator_osx-/RhoSimulator.app.zip"
|
4465
|
+
else
|
4466
|
+
return
|
4467
|
+
end
|
4469
4468
|
|
4470
|
-
|
4471
|
-
file.binmode
|
4469
|
+
$logger.info "Downloading rhosim from #{url}"
|
4472
4470
|
|
4473
|
-
|
4471
|
+
file = Tempfile.new('rhosim.zip')
|
4472
|
+
file.binmode
|
4474
4473
|
|
4475
|
-
|
4476
|
-
http.use_ssl = true
|
4474
|
+
uri = URI.parse(url)
|
4477
4475
|
|
4478
|
-
|
4479
|
-
|
4480
|
-
x = 0
|
4476
|
+
http = Net::HTTP.new(uri.host, uri.port)
|
4477
|
+
http.use_ssl = true
|
4481
4478
|
|
4482
|
-
|
4483
|
-
x += fragment.length
|
4484
|
-
file.write(fragment)
|
4485
|
-
end
|
4486
|
-
end
|
4479
|
+
begin
|
4487
4480
|
|
4488
|
-
|
4489
|
-
|
4481
|
+
http.request_get(uri.path) do |response|
|
4482
|
+
length = response['Content-Length'].to_i
|
4483
|
+
x = 0
|
4490
4484
|
|
4491
|
-
|
4485
|
+
response.read_body do |fragment|
|
4486
|
+
x += fragment.length
|
4487
|
+
file.write(fragment)
|
4488
|
+
end
|
4489
|
+
end
|
4492
4490
|
|
4493
|
-
|
4491
|
+
file.flush
|
4492
|
+
file.close
|
4494
4493
|
|
4495
|
-
|
4494
|
+
$logger.info "Unzipping #{file.path} to #{targetPath}"
|
4496
4495
|
|
4497
|
-
|
4498
|
-
file.close
|
4496
|
+
mkdir_p( targetPath )
|
4499
4497
|
|
4500
|
-
|
4501
|
-
zip_file.each do |f|
|
4502
|
-
fpath = File.join(targetPath, f.name)
|
4503
|
-
zip_file.extract(f, fpath)
|
4504
|
-
end
|
4505
|
-
end
|
4498
|
+
require 'zip'
|
4506
4499
|
|
4507
|
-
|
4500
|
+
zipfile = file.path
|
4501
|
+
file.close
|
4502
|
+
|
4503
|
+
Zip::File.open(zipfile) do |zip_file|
|
4504
|
+
zip_file.each do |f|
|
4505
|
+
fpath = File.join(targetPath, f.name)
|
4506
|
+
zip_file.extract(f, fpath)
|
4507
|
+
end
|
4508
|
+
end
|
4509
|
+
|
4510
|
+
rescue Exception => e
|
4511
|
+
$logger.error "Can't download RhoSimulator: #{e.inspect}"
|
4512
|
+
|
4513
|
+
rm_r targetPath
|
4514
|
+
ensure
|
4515
|
+
file.delete
|
4516
|
+
end
|
4508
4517
|
|
4509
4518
|
end
|
4510
4519
|
|
data/res/build-tools/RhoRuby.exe
CHANGED
Binary file
|
File without changes
|
File without changes
|
@@ -47,6 +47,7 @@
|
|
47
47
|
android:launchMode='singleTask'
|
48
48
|
android:configChanges='orientation|screenSize|fontScale|smallestScreenSize|keyboard|keyboardHidden'
|
49
49
|
android:screenOrientation='<%= @screenOrientation %>'
|
50
|
+
android:exported='true'
|
50
51
|
<% if @hardwareAcceleration %>
|
51
52
|
android:hardwareAccelerated='true'
|
52
53
|
<% end %> >
|
@@ -68,7 +69,7 @@
|
|
68
69
|
<grant-uri-permission android:pathPrefix='/rhodata/apps/'/>
|
69
70
|
</provider>
|
70
71
|
|
71
|
-
<receiver android:name='com.rho.notification.AlarmReceiver' android:enabled="false">
|
72
|
+
<receiver android:name='com.rho.notification.AlarmReceiver' android:enabled="false" android:exported='true'>
|
72
73
|
<intent-filter>
|
73
74
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
74
75
|
</intent-filter>
|
@@ -62,8 +62,11 @@ applog: rholog.txt
|
|
62
62
|
#- ios_uiwebview
|
63
63
|
## iOS do not support direct(intercept by application's code) http/https request processing in WKWebView
|
64
64
|
## add this capability for add some code with support this feature by some "unofficial" method.
|
65
|
-
## set ios_direct_local_requests = 1 in rhoconfig.txt for use this code
|
65
|
+
## set ios_direct_local_requests = 1 in rhoconfig.txt for use this code
|
66
|
+
## ios_wkwebview_http_direct_processing_method_2 is recommended because it is small lightweight access to undocumented API
|
66
67
|
#- ios_wkwebview_http_direct_processing
|
68
|
+
#- ios_wkwebview_http_direct_processing_method_2
|
69
|
+
#- ios_wkwebview_http_direct_processing_method_3
|
67
70
|
|
68
71
|
iphone:
|
69
72
|
configuration: Release
|
@@ -95,9 +95,14 @@ sync_poll_interval=0
|
|
95
95
|
#If true, request to local server will be applied directly, bypassing socket intercommunication, no network requests are involved. If false, a legacy client-server intercommunication will be made for local requests. Default is TRUE. To support per-app VPN (i.e. MobileIron) this option should be set to TRUE.
|
96
96
|
#We make default value to FALSE because now WKWebView is default (UIWebView was deprecated by Apple and you can not submit application with UIWebView to AppStore!)
|
97
97
|
# WkWebView do not support http/https request direct processing, but you can not enable it if you add this capability to build.yml: ios_wkwebview_http_direct_processing
|
98
|
+
# or/and ios_wkwebview_http_direct_processing_method_2 or/and ios_wkwebview_http_direct_processing_method_3
|
98
99
|
# With this capability some additional code will be added to project. That code provide unofficiall direct work with http/https requests from WKWebView and you will be able set
|
99
100
|
# ios_direct_local_requests = 1
|
100
101
|
|
102
|
+
#ios_use_old_legacy_socket = 0
|
103
|
+
# Use old legacy socket based http server instead of CocoaServer.
|
104
|
+
# Default value is FALSE
|
105
|
+
|
101
106
|
#ios_https_local_server = 0
|
102
107
|
#ATTENTION !!! this option works only with ios_net_curl = 0 AND ios_direct_local_requests = 1 !!!
|
103
108
|
#default value is FALSE
|
data/rhobuild.yml.example
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
env:
|
2
2
|
#app: C:/rhodes-app
|
3
3
|
paths:
|
4
|
-
java: C:/Program Files/Java/
|
5
|
-
android: C:/android-sdk
|
6
|
-
android-ndk: C:/android-ndk-
|
4
|
+
java: C:/Program Files/Java/jdk11/bin
|
5
|
+
android: C:/Program Files (x86)/Android/android-sdk
|
6
|
+
android-ndk: C:/ProgramData/Microsoft/AndroidNDK64/android-ndk-r17
|
7
7
|
cabwiz: C:/Program Files (x86)/Windows Mobile 6 SDK/Tools/CabWiz
|
8
|
-
msbuild: C:/Program Files (x86)/MSBuild/
|
8
|
+
msbuild: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe
|
9
9
|
vcbuild: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/vcpackages/vcbuild.exe
|
10
10
|
nsis: C:/Program Files (x86)/NSIS/makensis.exe
|
11
11
|
sailfish: C:/AuroraOS
|
data/rhodes.gemspec
CHANGED
@@ -35,10 +35,9 @@ Gem::Specification.new do |s|
|
|
35
35
|
s.add_dependency('simctl', '1.6.8')
|
36
36
|
s.add_dependency('listen', '3.0.6')
|
37
37
|
s.add_dependency('rubyzip', '1.3.0')
|
38
|
-
s.add_dependency('ffi', '1.12.2')
|
39
38
|
s.add_dependency('rdoc', '4.2.2')
|
40
39
|
s.add_dependency('deep_merge','1.1.1')
|
41
|
-
s.add_dependency('nokogiri', '1.10.
|
40
|
+
s.add_dependency('nokogiri', '1.10.10')
|
42
41
|
|
43
42
|
s.post_install_message = "Thanks for installing Rhodes ! Please visit our website: http://tau-platform.com" if s.respond_to? :post_install_message=
|
44
43
|
s.executables << 'rhogen'
|
data/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.
|
1
|
+
7.5.1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhodes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TAU Technologies
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: templater
|
@@ -192,20 +192,6 @@ dependencies:
|
|
192
192
|
- - '='
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 1.3.0
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: ffi
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - '='
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: 1.12.2
|
202
|
-
type: :runtime
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - '='
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: 1.12.2
|
209
195
|
- !ruby/object:Gem::Dependency
|
210
196
|
name: rdoc
|
211
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,14 +226,14 @@ dependencies:
|
|
240
226
|
requirements:
|
241
227
|
- - '='
|
242
228
|
- !ruby/object:Gem::Version
|
243
|
-
version: 1.10.
|
229
|
+
version: 1.10.10
|
244
230
|
type: :runtime
|
245
231
|
prerelease: false
|
246
232
|
version_requirements: !ruby/object:Gem::Requirement
|
247
233
|
requirements:
|
248
234
|
- - '='
|
249
235
|
- !ruby/object:Gem::Version
|
250
|
-
version: 1.10.
|
236
|
+
version: 1.10.10
|
251
237
|
- !ruby/object:Gem::Dependency
|
252
238
|
name: diff-lcs
|
253
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -286,7 +272,9 @@ files:
|
|
286
272
|
- README.html
|
287
273
|
- README.md
|
288
274
|
- Rakefile
|
275
|
+
- SECURITY.md
|
289
276
|
- appveyor.yml
|
277
|
+
- azure-pipelines.yml
|
290
278
|
- bin/build_wmbinaries.bat
|
291
279
|
- bin/c2dm.rb
|
292
280
|
- bin/get-rhodes-info
|
@@ -2781,26 +2769,15 @@ files:
|
|
2781
2769
|
- lib/commonAPI/mediacapture/ext/platform/android/AndroidManifest_rhomobile.xml
|
2782
2770
|
- lib/commonAPI/mediacapture/ext/platform/android/ApplicationCameraActivity.erb
|
2783
2771
|
- lib/commonAPI/mediacapture/ext/platform/android/ApplicationFileProvider.erb
|
2784
|
-
- lib/commonAPI/mediacapture/ext/platform/android/adds/res/drawable/camera_btn.xml
|
2785
|
-
- lib/commonAPI/mediacapture/ext/platform/android/adds/res/layout/camera_land.xml
|
2786
|
-
- lib/commonAPI/mediacapture/ext/platform/android/adds/res/layout/camera_port.xml
|
2787
2772
|
- lib/commonAPI/mediacapture/ext/platform/android/adds/res/xml/image_fileprovider_paths.xml
|
2788
2773
|
- lib/commonAPI/mediacapture/ext/platform/android/ext_java.files
|
2789
2774
|
- lib/commonAPI/mediacapture/ext/platform/android/ext_native.files
|
2790
2775
|
- lib/commonAPI/mediacapture/ext/platform/android/jni/Videocapture_impl.cpp
|
2791
|
-
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraActivity.java
|
2792
|
-
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraEclair.java
|
2793
2776
|
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraExtension.java
|
2794
2777
|
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraFactory.java
|
2795
|
-
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraGingerbread.java
|
2796
2778
|
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java
|
2797
|
-
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraPreview.java
|
2798
2779
|
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraRhoListener.java
|
2799
|
-
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/
|
2800
|
-
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingletonGingerbread.java
|
2801
|
-
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingletonObject.java
|
2802
|
-
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraObject.java
|
2803
|
-
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraSingletonObject.java
|
2780
|
+
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingleton.java
|
2804
2781
|
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/OrientationListnerService.java
|
2805
2782
|
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/mediacapture/RhoListener.java
|
2806
2783
|
- lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/videocapture/Videocapture.java
|
@@ -3674,7 +3651,6 @@ files:
|
|
3674
3651
|
- lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMFacade.java
|
3675
3652
|
- lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMIntentService.java
|
3676
3653
|
- lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMListener.java
|
3677
|
-
- lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMTokenRefresherService.java
|
3678
3654
|
- lib/extensions/fcm-push/ext/build
|
3679
3655
|
- lib/extensions/fcm-push/ext/build.bat
|
3680
3656
|
- lib/extensions/fcm-push/ext/fcm.xml
|
@@ -5784,7 +5760,6 @@ files:
|
|
5784
5760
|
- neon/R2D1/Build/Config/Plugin.xml
|
5785
5761
|
- neon/R2D1/Build/Config/RegEx.xml
|
5786
5762
|
- neon/R2D1/Build/Windows/Binaries/prtlib.dll
|
5787
|
-
- platform/android/Rhodes/AndroidManifest.xml.erb
|
5788
5763
|
- platform/android/Rhodes/jni/Android.mk
|
5789
5764
|
- platform/android/Rhodes/jni/Application.mk
|
5790
5765
|
- platform/android/Rhodes/jni/genconfig.h
|
@@ -6042,7 +6017,7 @@ files:
|
|
6042
6017
|
- platform/android/build/Rakefile
|
6043
6018
|
- platform/android/build/RhodesGEN_build.files
|
6044
6019
|
- platform/android/build/RhodesSRC_build.files
|
6045
|
-
- platform/android/build/
|
6020
|
+
- platform/android/build/aapt2_helper.rb
|
6046
6021
|
- platform/android/build/android-repack.rake
|
6047
6022
|
- platform/android/build/android.rake
|
6048
6023
|
- platform/android/build/android_debug.rb
|
@@ -6050,6 +6025,9 @@ files:
|
|
6050
6025
|
- platform/android/build/android_tools.rb
|
6051
6026
|
- platform/android/build/androidcommon.rb
|
6052
6027
|
- platform/android/build/apk_builder.rb
|
6028
|
+
- platform/android/build/build_tools_finder.rb
|
6029
|
+
- platform/android/build/config.yml
|
6030
|
+
- platform/android/build/dex_builder.rb
|
6053
6031
|
- platform/android/build/eclipse_project_generator.rb
|
6054
6032
|
- platform/android/build/hostplatform.rb
|
6055
6033
|
- platform/android/build/libcurl_build.files
|
@@ -6090,6 +6068,10 @@ files:
|
|
6090
6068
|
- platform/iphone/Classes/Camera.old/PickImageDelegate.m
|
6091
6069
|
- platform/iphone/Classes/Camera/PickImageDelegate.h
|
6092
6070
|
- platform/iphone/Classes/Camera/PickImageDelegate.m
|
6071
|
+
- platform/iphone/Classes/CocoaServer/CCocoaServer.h
|
6072
|
+
- platform/iphone/Classes/CocoaServer/CCocoaServer.m
|
6073
|
+
- platform/iphone/Classes/CocoaServer/RhoHTTPConnection.h
|
6074
|
+
- platform/iphone/Classes/CocoaServer/RhoHTTPConnection.m
|
6093
6075
|
- platform/iphone/Classes/DateTime.h
|
6094
6076
|
- platform/iphone/Classes/DateTime.m
|
6095
6077
|
- platform/iphone/Classes/DateTimePicker.m
|
@@ -6204,6 +6186,70 @@ files:
|
|
6204
6186
|
- platform/iphone/Classes/rho/net/IPhoneNetRequest.h
|
6205
6187
|
- platform/iphone/Classes/rho/net/IPhoneNetRequest.mm
|
6206
6188
|
- platform/iphone/Classes/rho/net/NetRequestImpl.m
|
6189
|
+
- platform/iphone/CocoaHTTPServer/Core/Categories/DDData.h
|
6190
|
+
- platform/iphone/CocoaHTTPServer/Core/Categories/DDData.m
|
6191
|
+
- platform/iphone/CocoaHTTPServer/Core/Categories/DDNumber.h
|
6192
|
+
- platform/iphone/CocoaHTTPServer/Core/Categories/DDNumber.m
|
6193
|
+
- platform/iphone/CocoaHTTPServer/Core/Categories/DDRange.h
|
6194
|
+
- platform/iphone/CocoaHTTPServer/Core/Categories/DDRange.m
|
6195
|
+
- platform/iphone/CocoaHTTPServer/Core/HTTPAuthenticationRequest.h
|
6196
|
+
- platform/iphone/CocoaHTTPServer/Core/HTTPAuthenticationRequest.m
|
6197
|
+
- platform/iphone/CocoaHTTPServer/Core/HTTPConnection.h
|
6198
|
+
- platform/iphone/CocoaHTTPServer/Core/HTTPConnection.m
|
6199
|
+
- platform/iphone/CocoaHTTPServer/Core/HTTPLogging.h
|
6200
|
+
- platform/iphone/CocoaHTTPServer/Core/HTTPMessage.h
|
6201
|
+
- platform/iphone/CocoaHTTPServer/Core/HTTPMessage.m
|
6202
|
+
- platform/iphone/CocoaHTTPServer/Core/HTTPResponse.h
|
6203
|
+
- platform/iphone/CocoaHTTPServer/Core/HTTPServer.h
|
6204
|
+
- platform/iphone/CocoaHTTPServer/Core/HTTPServer.m
|
6205
|
+
- platform/iphone/CocoaHTTPServer/Core/Mime/MultipartFormDataParser.h
|
6206
|
+
- platform/iphone/CocoaHTTPServer/Core/Mime/MultipartFormDataParser.m
|
6207
|
+
- platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeader.h
|
6208
|
+
- platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeader.m
|
6209
|
+
- platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeaderField.h
|
6210
|
+
- platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeaderField.m
|
6211
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPAsyncFileResponse.h
|
6212
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPAsyncFileResponse.m
|
6213
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDataResponse.h
|
6214
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDataResponse.m
|
6215
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDynamicFileResponse.h
|
6216
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDynamicFileResponse.m
|
6217
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPErrorResponse.h
|
6218
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPErrorResponse.m
|
6219
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPFileResponse.h
|
6220
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPFileResponse.m
|
6221
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPRedirectResponse.h
|
6222
|
+
- platform/iphone/CocoaHTTPServer/Core/Responses/HTTPRedirectResponse.m
|
6223
|
+
- platform/iphone/CocoaHTTPServer/Core/WebSocket.h
|
6224
|
+
- platform/iphone/CocoaHTTPServer/Core/WebSocket.m
|
6225
|
+
- platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVConnection.h
|
6226
|
+
- platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVConnection.m
|
6227
|
+
- platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVResponse.h
|
6228
|
+
- platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVResponse.m
|
6229
|
+
- platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DELETEResponse.h
|
6230
|
+
- platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DELETEResponse.m
|
6231
|
+
- platform/iphone/CocoaHTTPServer/Extensions/WebDAV/PUTResponse.h
|
6232
|
+
- platform/iphone/CocoaHTTPServer/Extensions/WebDAV/PUTResponse.m
|
6233
|
+
- platform/iphone/CocoaHTTPServer/LICENSE.txt
|
6234
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/About.txt
|
6235
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/GCDAsyncSocket.h
|
6236
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/GCDAsyncSocket.m
|
6237
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/About.txt
|
6238
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDASLLogger.h
|
6239
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDASLLogger.m
|
6240
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.h
|
6241
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.m
|
6242
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDFileLogger.h
|
6243
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDFileLogger.m
|
6244
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDLog.h
|
6245
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDLog.m
|
6246
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDTTYLogger.h
|
6247
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDTTYLogger.m
|
6248
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.h
|
6249
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.m
|
6250
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.h
|
6251
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.m
|
6252
|
+
- platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/README.txt
|
6207
6253
|
- platform/iphone/Default-568h@2x.png
|
6208
6254
|
- platform/iphone/Default-667h@2x.png
|
6209
6255
|
- platform/iphone/Default-736h@3x.png
|
@@ -14944,8 +14990,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
14944
14990
|
- !ruby/object:Gem::Version
|
14945
14991
|
version: '0'
|
14946
14992
|
requirements: []
|
14947
|
-
|
14948
|
-
rubygems_version: 2.4.5.1
|
14993
|
+
rubygems_version: 3.0.3.1
|
14949
14994
|
signing_key:
|
14950
14995
|
specification_version: 4
|
14951
14996
|
summary: The Rhodes framework is the easiest way to develop NATIVE apps with full
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
-
android:shape="oval">
|
4
|
-
<gradient
|
5
|
-
android:centerX="0.5"
|
6
|
-
android:centerY="0.5"
|
7
|
-
android:startColor="#FFFFFFFF"
|
8
|
-
android:endColor="#FF7777FF"
|
9
|
-
android:gradientRadius="50"
|
10
|
-
android:type="radial" />
|
11
|
-
<size
|
12
|
-
android:width="50dp"
|
13
|
-
android:height="50dp" />
|
14
|
-
</shape>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
-
android:id="@+id/camera"
|
4
|
-
android:layout_width="fill_parent"
|
5
|
-
android:layout_height="fill_parent"
|
6
|
-
android:orientation="vertical" >
|
7
|
-
|
8
|
-
<SurfaceView
|
9
|
-
android:id="@+id/previewSurface"
|
10
|
-
android:layout_width="match_parent"
|
11
|
-
android:layout_height="match_parent" >
|
12
|
-
</SurfaceView>
|
13
|
-
|
14
|
-
<Button
|
15
|
-
android:id="@+id/cameraButton"
|
16
|
-
android:layout_width="75dp"
|
17
|
-
android:layout_height="75dp"
|
18
|
-
android:layout_gravity="right|center_vertical"
|
19
|
-
android:layout_marginRight="25dp"
|
20
|
-
android:background="@drawable/camera_btn"
|
21
|
-
android:clickable="true" />
|
22
|
-
|
23
|
-
</FrameLayout>
|