rhodes 3.3.3.beta.3 → 3.3.3.beta.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +16 -1
- data/Rakefile +77 -28
- data/doc/build.txt +5 -3
- data/doc/configuration.txt +13 -0
- data/doc/device-caps.txt +46 -27
- data/doc/rhom.txt +2 -2
- data/doc/test-log-debug.txt +6 -0
- data/doc/ui.txt +13 -0
- data/lib/build/jake.rb +11 -11
- data/lib/extensions/crypt/crypt/cbc.rb +5 -2
- data/lib/extensions/nfc/ext/nfc/platform/android/src/com/rhomobile/nfc/Nfc.java +14 -4
- data/lib/framework/rho/render.rb +17 -4
- data/lib/framework/rho/rho.rb +1 -1
- data/lib/framework/rho/rhocontroller.rb +11 -1
- data/lib/framework/rhomotoapi.rb +110 -0
- data/platform/android/Rhodes/jni/Android.mk +2 -5
- data/platform/android/Rhodes/jni/include/rhodes/JNIRhodes.h +1 -0
- data/platform/android/Rhodes/jni/include/rhodes/fileapi.h +38 -0
- data/platform/android/Rhodes/jni/src/callbacks.cpp +7 -26
- data/platform/android/Rhodes/jni/src/extmanager.cpp +4 -1
- data/platform/android/Rhodes/jni/src/fileapi.cpp +38 -14
- data/platform/android/Rhodes/jni/src/mapview.cpp +1 -2
- data/platform/android/Rhodes/jni/src/rhodesapp.cpp +10 -0
- data/platform/android/Rhodes/jni/src/rhodessystem.cpp +1 -1
- data/platform/android/Rhodes/jni/src/signature.cpp +1 -4
- data/platform/android/Rhodes/rhobundle.xml +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +11 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivityListener.java +4 -3
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesApplication.java +26 -6
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +3 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/AbstractRhoExtension.java +70 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtData.java +3 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtManager.java +21 -7
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtension.java +19 -10
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtDataImpl.java +8 -5
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManager.java +18 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerImpl.java +168 -31
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/file/RhoFileApi.java +46 -9
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +3 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/signature/Signature.java +27 -53
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/signature/SignatureView.java +27 -3
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/util/Utils.java +13 -14
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +12 -5
- data/platform/android/build/RhodesSRC_build.files +2 -1
- data/platform/android/build/android.rake +48 -17
- data/platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyAPI.java +1 -1
- data/platform/bb/rhodes/src/rhomobile/RhodesApplication.java +24 -3
- data/platform/iphone/Classes/AppManager/AppManager.m +1 -1
- data/platform/iphone/Classes/Camera/PickImageDelegate.m +27 -2
- data/platform/iphone/Classes/DateTimePickerDelegate.h +2 -0
- data/platform/iphone/Classes/DateTimePickerDelegate.m +85 -9
- data/platform/iphone/Classes/DateTimePickerViewController.h +21 -0
- data/platform/iphone/Classes/DateTimePickerViewController.m +75 -0
- data/platform/iphone/Classes/GeoLocation/LocationController.h +6 -2
- data/platform/iphone/Classes/GeoLocation/LocationController.m +54 -14
- data/platform/iphone/Classes/RhoMainView.h +2 -0
- data/platform/iphone/Classes/Rhodes.m +11 -5
- data/platform/iphone/Classes/Signature/SignatureDelegate.m +13 -12
- data/platform/iphone/Classes/Signature/SignatureViewController.m +2 -1
- data/platform/iphone/Classes/SimpleMainView.m +3 -0
- data/platform/iphone/Classes/SplitView/SplittedMainView.m +3 -0
- data/platform/iphone/Classes/TabbedMainView.m +30 -11
- data/platform/iphone/rbuild/iphone.rake +7 -1
- data/platform/iphone/rhorunner.xcodeproj/project.pbxproj +6 -0
- data/platform/shared/RhoConnectClient/RhoConnectClient.cpp +1 -1
- data/platform/shared/common/BundleManager.cpp +42 -2
- data/platform/shared/common/ExtManager.h +7 -0
- data/platform/shared/common/RhoFile.cpp +170 -2
- data/platform/shared/common/RhoFile.h +4 -0
- data/platform/shared/common/RhodesApp.cpp +30 -0
- data/platform/shared/common/RhodesApp.h +1 -0
- data/platform/shared/common/map/OSMMapEngine.cpp +11 -3
- data/platform/shared/common/map/OSMMapEngine.h +3 -0
- data/platform/shared/logging/RhoLogConf.cpp +8 -9
- data/platform/shared/logging/RhoLogConf.h +5 -7
- data/platform/shared/logging/RhoLogSink.cpp +3 -3
- data/platform/shared/logging/RhoLogSink.h +1 -1
- data/platform/shared/net/HttpServer.cpp +17 -9
- data/platform/shared/qt/rhodes/main.cpp +1 -1
- data/platform/shared/ruby/ext/rho/rhoruby.c +4 -0
- data/platform/shared/ruby/ext/webview/webview.i +9 -4
- data/platform/shared/ruby/ext/webview/webview_wrap.c +2 -2
- data/platform/shared/test/Tests.cpp +2 -2
- data/platform/wm/build/build_inf.js +75 -47
- data/platform/wm/build/wm.rake +50 -53
- data/platform/wm/rhodes/Rhodes.cpp +40 -97
- data/platform/wm/rhodes/rho/common/ExtManager.cpp +23 -1
- data/platform/wm/rhodes/rho/rubyext/WebView.cpp +9 -0
- data/platform/wm/tools/detool/detool.cpp +103 -52
- data/platform/wp7/RhoRubyExtGen/RhoDateTimePicker.cs +60 -0
- data/platform/wp7/RhoRubyExtGen/RhoRubyExtGen.csproj +1 -0
- data/platform/wp7/RhoRubyExtGen/RhoWebView.cs +4 -4
- data/platform/wp7/RhoRubyLib/Initializers.Generated.cs +15 -1
- data/platform/wp7/RhoRubyLib/RhoRubyLib.csproj +12 -2
- data/platform/wp7/RhoRubyLib/WP_PlatformAdaptationLayer.cs +2 -0
- data/platform/wp7/RhoRubyLib/common/RhoFile.cs +3 -3
- data/platform/wp7/RhoRubyLib/common/RhoFilePath.cs +2 -2
- data/platform/wp7/RhoRubyLib/common/RhodesApp.cs +39 -24
- data/platform/wp7/RhoRubyLib/json/RJSONTokener.cs +8 -1
- data/platform/wp7/RhoRubyLib/logging/RhoLogServerSink.cs +3 -3
- data/platform/wp7/RhoRubyLib/logging/RhoLogger.cs +1 -1
- data/platform/wp7/RhoRubyLib/net/HttpServer.cs +22 -15
- data/platform/wp7/RhoRubyLib/net/NetRequest.cs +1 -1
- data/platform/wp7/RhoRubyLib/rubyext/RhoDateTimePicker.cs +237 -0
- data/platform/wp7/RhoRubyLib/rubyext/RhoWebView.cs +5 -5
- data/platform/wp7/RhoRubyLib/views/RhoDateTimeDlg.xaml +37 -0
- data/platform/wp7/RhoRubyLib/views/RhoDateTimeDlg.xaml.cs +59 -0
- data/platform/wp7/RhoRubyLib/views/RhoView.xaml.cs +34 -41
- data/platform/wp7/rhodes/App.xaml.cs +1 -0
- data/platform/wp7/rhodes/Properties/WMAppManifest.xml +18 -18
- data/platform/wp7/rhodes/Rhodes.csproj +5 -1
- data/platform/wp7/rhodes/Toolkit.Content/ApplicationBar.Cancel.png +0 -0
- data/platform/wp7/rhodes/Toolkit.Content/ApplicationBar.Check.png +0 -0
- data/rakefile.rb +77 -28
- data/res/build-tools/Microsoft.Phone.Controls.Toolkit.dll +0 -0
- data/res/build-tools/YUICompressorLicense.txt +54 -0
- data/res/build-tools/detool.exe +0 -0
- data/res/build-tools/yuicompressor-2.4.7.jar +0 -0
- data/res/generators/templates/application/app/layout.erb +1 -0
- data/res/generators/templates/application/public/js/jquery-wp7-patch.js +8 -2
- data/res/generators/templates/application/public/js/syncengine.js +147 -0
- data/spec/phone_spec/app/Data/septest.json +1 -1
- data/spec/phone_spec/app/spec/asynchttp_spec.rb +11 -10
- data/spec/phone_spec/app/spec/blobsync_spec.rb +9 -34
- data/spec/phone_spec/app/spec/date_spec.rb +6 -6
- data/spec/phone_spec/app/spec/rho_spec.rb +1 -6
- data/spec/phone_spec/app/spec/rhofile_spec.rb +13 -7
- data/spec/phone_spec/app/spec/rhom_object_spec.rb +4 -3
- data/spec/phone_spec/app/spec/syncengine_spec.rb +12 -14
- data/spec/phone_spec/app/spec_runner.rb +9 -10
- data/version +1 -1
- metadata +20 -5
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerSingleton.java +0 -15
data/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.3.beta.
|
1
|
+
3.3.3.beta.4
|
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:
|
4
|
+
hash: 62196451
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 3
|
9
9
|
- 3
|
10
10
|
- beta
|
11
|
-
-
|
12
|
-
version: 3.3.3.beta.
|
11
|
+
- 4
|
12
|
+
version: 3.3.3.beta.4
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Rhomobile
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2012-
|
20
|
+
date: 2012-03-14 00:00:00 -07:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -1056,6 +1056,7 @@ files:
|
|
1056
1056
|
- lib/framework/rhom/rhom_object_factory.rb
|
1057
1057
|
- lib/framework/rhom/rhom_source.rb
|
1058
1058
|
- lib/framework/rhom.rb
|
1059
|
+
- lib/framework/rhomotoapi.rb
|
1059
1060
|
- lib/framework/rhosystem.rb
|
1060
1061
|
- lib/framework/singleton.rb
|
1061
1062
|
- lib/framework/stringio.rb
|
@@ -1091,6 +1092,7 @@ files:
|
|
1091
1092
|
- platform/android/Rhodes/jni/Application.mk
|
1092
1093
|
- platform/android/Rhodes/jni/genconfig.h
|
1093
1094
|
- platform/android/Rhodes/jni/include/rhodes/details/rhojava.inc
|
1095
|
+
- platform/android/Rhodes/jni/include/rhodes/fileapi.h
|
1094
1096
|
- platform/android/Rhodes/jni/include/rhodes/jni/com_rhomobile_rhodes_alert_Alert.h
|
1095
1097
|
- platform/android/Rhodes/jni/include/rhodes/jni/com_rhomobile_rhodes_alert_PopupActivity.h
|
1096
1098
|
- platform/android/Rhodes/jni/include/rhodes/jni/com_rhomobile_rhodes_bluetooth_RhoBluetoothManager.h
|
@@ -1224,12 +1226,13 @@ files:
|
|
1224
1226
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/datetime/DateTimePickerScreen.java
|
1225
1227
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/event/Event.java
|
1226
1228
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/event/EventStore.java
|
1229
|
+
- platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/AbstractRhoExtension.java
|
1227
1230
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtData.java
|
1228
1231
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtension.java
|
1229
1232
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtManager.java
|
1230
1233
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtDataImpl.java
|
1234
|
+
- platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManager.java
|
1231
1235
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerImpl.java
|
1232
|
-
- platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerSingleton.java
|
1233
1236
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/file/RhoFileApi.java
|
1234
1237
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocation.java
|
1235
1238
|
- platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocationImpl.java
|
@@ -1997,6 +2000,8 @@ files:
|
|
1997
2000
|
- platform/iphone/Classes/DateTimePicker.m
|
1998
2001
|
- platform/iphone/Classes/DateTimePickerDelegate.h
|
1999
2002
|
- platform/iphone/Classes/DateTimePickerDelegate.m
|
2003
|
+
- platform/iphone/Classes/DateTimePickerViewController.h
|
2004
|
+
- platform/iphone/Classes/DateTimePickerViewController.m
|
2000
2005
|
- platform/iphone/Classes/Dispatcher/Dispatcher.c
|
2001
2006
|
- platform/iphone/Classes/Dispatcher/Dispatcher.h
|
2002
2007
|
- platform/iphone/Classes/Event/Event.h
|
@@ -4596,6 +4601,8 @@ files:
|
|
4596
4601
|
- platform/wp7/rhodes/Properties/WMAppManifest.xml
|
4597
4602
|
- platform/wp7/rhodes/Rhodes.csproj
|
4598
4603
|
- platform/wp7/rhodes/SplashScreenImage.jpg
|
4604
|
+
- platform/wp7/rhodes/Toolkit.Content/ApplicationBar.Cancel.png
|
4605
|
+
- platform/wp7/rhodes/Toolkit.Content/ApplicationBar.Check.png
|
4599
4606
|
- platform/wp7/rhodes.sln
|
4600
4607
|
- platform/wp7/RhoLogServer/Program.cs
|
4601
4608
|
- platform/wp7/RhoLogServer/Properties/AssemblyInfo.cs
|
@@ -4608,6 +4615,7 @@ files:
|
|
4608
4615
|
- platform/wp7/RhoRubyExtGen/RhoCamera.cs
|
4609
4616
|
- platform/wp7/RhoRubyExtGen/RhoConfig.cs
|
4610
4617
|
- platform/wp7/RhoRubyExtGen/RhoDatabase.cs
|
4618
|
+
- platform/wp7/RhoRubyExtGen/RhoDateTimePicker.cs
|
4611
4619
|
- platform/wp7/RhoRubyExtGen/RhoJSON.cs
|
4612
4620
|
- platform/wp7/RhoRubyExtGen/RhoNativeBar.cs
|
4613
4621
|
- platform/wp7/RhoRubyExtGen/RhoRubyExtGen.csproj
|
@@ -4666,6 +4674,7 @@ files:
|
|
4666
4674
|
- platform/wp7/RhoRubyLib/rubyext/RhoCamera.cs
|
4667
4675
|
- platform/wp7/RhoRubyLib/rubyext/RhoConfig.cs
|
4668
4676
|
- platform/wp7/RhoRubyLib/rubyext/RhoDatabase.cs
|
4677
|
+
- platform/wp7/RhoRubyLib/rubyext/RhoDateTimePicker.cs
|
4669
4678
|
- platform/wp7/RhoRubyLib/rubyext/RhoJSON.cs
|
4670
4679
|
- platform/wp7/RhoRubyLib/rubyext/RhoKernelOps.cs
|
4671
4680
|
- platform/wp7/RhoRubyLib/rubyext/RhoNativeBar.cs
|
@@ -4680,6 +4689,8 @@ files:
|
|
4680
4689
|
- platform/wp7/RhoRubyLib/sync/SyncProtocol_3.cs
|
4681
4690
|
- platform/wp7/RhoRubyLib/sync/SyncSource.cs
|
4682
4691
|
- platform/wp7/RhoRubyLib/sync/SyncThread.cs
|
4692
|
+
- platform/wp7/RhoRubyLib/views/RhoDateTimeDlg.xaml
|
4693
|
+
- platform/wp7/RhoRubyLib/views/RhoDateTimeDlg.xaml.cs
|
4683
4694
|
- platform/wp7/RhoRubyLib/views/RhoTabHeader.xaml
|
4684
4695
|
- platform/wp7/RhoRubyLib/views/RhoTabHeader.xaml.cs
|
4685
4696
|
- platform/wp7/RhoRubyLib/views/RhoView.xaml
|
@@ -4795,6 +4806,7 @@ files:
|
|
4795
4806
|
- res/build-tools/iphonesim/Source/nsprintf.h
|
4796
4807
|
- res/build-tools/iphonesim/Source/nsprintf.m
|
4797
4808
|
- res/build-tools/make.exe
|
4809
|
+
- res/build-tools/Microsoft.Phone.Controls.Toolkit.dll
|
4798
4810
|
- res/build-tools/RhoAppRunner.exe
|
4799
4811
|
- res/build-tools/rhodes_pid.key
|
4800
4812
|
- res/build-tools/RhoLogServer.exe
|
@@ -4816,6 +4828,8 @@ files:
|
|
4816
4828
|
- res/build-tools/wmdc_connect.exe
|
4817
4829
|
- res/build-tools/wp7explorer.exe
|
4818
4830
|
- res/build-tools/xruby-0.3.3.jar
|
4831
|
+
- res/build-tools/yuicompressor-2.4.7.jar
|
4832
|
+
- res/build-tools/YUICompressorLicense.txt
|
4819
4833
|
- res/generators/rhogen.rb
|
4820
4834
|
- res/generators/templates/application/app/application.rb
|
4821
4835
|
- res/generators/templates/application/app/helpers/application_helper.rb
|
@@ -4921,6 +4935,7 @@ files:
|
|
4921
4935
|
- res/generators/templates/application/public/js/rho.js
|
4922
4936
|
- res/generators/templates/application/public/js/rhogeolocation-wm.js
|
4923
4937
|
- res/generators/templates/application/public/js/rhogeolocation.js
|
4938
|
+
- res/generators/templates/application/public/js/syncengine.js
|
4924
4939
|
- res/generators/templates/application/public/js/wp7.js
|
4925
4940
|
- res/generators/templates/application/Rakefile
|
4926
4941
|
- res/generators/templates/application/rhoconfig.txt
|
data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerSingleton.java
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
package com.rhomobile.rhodes.extmanager;
|
2
|
-
|
3
|
-
public class RhoExtManagerSingleton extends Object {
|
4
|
-
|
5
|
-
private static RhoExtManagerImpl ourRhoExtManager = null;
|
6
|
-
|
7
|
-
|
8
|
-
public static IRhoExtManager getRhoExtManagerInstance() {
|
9
|
-
if (ourRhoExtManager == null) {
|
10
|
-
ourRhoExtManager = new RhoExtManagerImpl();
|
11
|
-
}
|
12
|
-
return ourRhoExtManager;
|
13
|
-
}
|
14
|
-
|
15
|
-
}
|