rhodes 3.2.3 → 3.3.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +10 -0
- data/Rakefile +153 -46
- data/doc/build.txt +261 -102
- data/doc/configuration.txt +5 -2
- data/doc/device-caps.txt +134 -23
- data/doc/extensions.txt +922 -69
- data/doc/generator.txt +96 -39
- data/doc/install.txt +35 -19
- data/doc/jqt-jqm-transition.txt +17 -1
- data/doc/rhom.txt +23 -2
- data/doc/rhostudio-eclipse.txt +49 -0
- data/doc/rhostudio-test-plan.txt +440 -0
- data/doc/simulator.txt +1 -1
- data/doc/synchronization.txt +40 -1
- data/lib/build/jake.rb +108 -7
- data/lib/extensions/barcode/ext/barcode/platform/android/Rakefile +0 -35
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Barcode.xcodeproj/project.pbxproj +8 -2
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Classes/BarcodeCallbackHelper.mm +195 -195
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Classes/BarcodeViewController.m +6 -0
- data/lib/extensions/barcode/ext/barcode/platform/iphone/Rakefile +5 -0
- data/lib/extensions/barcode/ext/barcode/shared/ruby/barcode_wrap.c +64 -20
- data/lib/extensions/debugger/CHANGELOG +3 -0
- data/lib/extensions/debugger/debugger.rb +26 -21
- data/lib/extensions/digest-md5/ext/Rakefile +5 -5
- data/lib/extensions/digest-md5/ext/build +10 -1
- data/lib/extensions/digest-md5/ext/defs.h +19 -0
- data/lib/extensions/digest-md5/ext/digest-md5.vcproj +317 -9
- data/lib/extensions/digest-md5/ext/iphone/Dmd5.xcodeproj/project.pbxproj +290 -0
- data/lib/extensions/digest-md5/ext/iphone/Dmd5_Prefix.pch +7 -0
- data/lib/extensions/digest-md5/ext/iphone/Rakefile +79 -0
- data/lib/extensions/digest-sha1/ext/Rakefile +5 -5
- data/lib/extensions/digest-sha1/ext/build +10 -1
- data/lib/extensions/digest-sha1/ext/defs.h +19 -0
- data/lib/extensions/digest-sha1/ext/digest-sha1.vcproj +317 -9
- data/lib/extensions/digest-sha1/ext/iphone/Dsha1.xcodeproj/project.pbxproj +278 -0
- data/lib/extensions/digest-sha1/ext/iphone/Dsha1_Prefix.pch +7 -0
- data/lib/extensions/digest-sha1/ext/iphone/Rakefile +79 -0
- data/lib/extensions/digest/ext/Rakefile +5 -5
- data/lib/extensions/digest/ext/build +10 -1
- data/lib/extensions/digest/ext/digest.vcproj +317 -9
- data/lib/extensions/digest/ext/iphone/Digest.xcodeproj/project.pbxproj +270 -0
- data/lib/extensions/digest/ext/iphone/Digest_Prefix.pch +7 -0
- data/lib/extensions/digest/ext/iphone/Rakefile +79 -0
- data/lib/extensions/esri/ext/esri/platform/iphone/ESRI.xcodeproj/project.pbxproj +10 -2
- data/lib/extensions/esri/ext/esri/platform/iphone/Rakefile +6 -0
- data/lib/extensions/fcntl/ext/Rakefile +5 -5
- data/lib/extensions/fcntl/ext/build +9 -1
- data/lib/extensions/fcntl/ext/iphone/Fcntl.xcodeproj/project.pbxproj +262 -0
- data/lib/extensions/fcntl/ext/iphone/Fcntl_Prefix.pch +7 -0
- data/lib/extensions/fcntl/ext/iphone/Rakefile +79 -0
- data/lib/extensions/net-http/net/http.rb +9 -7
- data/lib/extensions/nfc/ext/nfc/shared/ruby/nfc_wrap.c +64 -20
- data/lib/extensions/rhoxml/rexml/document.rb +3 -2
- data/lib/extensions/rhoxml/rexml/instruction.rb +70 -0
- data/lib/framework/builtinME.rb +9 -0
- data/lib/framework/date/format.rb +1 -1
- data/lib/framework/dateME.rb +19 -2
- data/lib/framework/rho/rho.rb +15 -4
- data/lib/framework/rho/rhoapplication.rb +1 -0
- data/lib/framework/rho/rhocontact.rb +10 -27
- data/lib/framework/rho/rhoevent_c.rb +8 -2
- data/lib/framework/rho/rhosupport.rb +25 -0
- data/lib/framework/rhodes.rb +1 -1
- data/lib/framework/rhoframework.rb +15 -0
- data/lib/framework/rholang/localization_simplified.rb +8 -10
- data/lib/framework/rhom/rhom_object_factory.rb +8 -2
- data/lib/framework/version.rb +1 -1
- data/lib/rhodes.rb +1 -1
- data/platform/android/Rhodes/jni/Application.mk +2 -1
- data/platform/android/Rhodes/jni/include/rhodes.h +9 -0
- data/platform/android/Rhodes/jni/src/callbacks.cpp +31 -1
- data/platform/android/Rhodes/jni/src/event.cpp +75 -31
- data/platform/android/Rhodes/jni/src/nativeview.cpp +1 -1
- data/platform/android/Rhodes/jni/src/phonebook.cpp +73 -9
- data/platform/android/Rhodes/jni/src/rhodes.cpp +21 -0
- data/platform/android/Rhodes/jni/src/rhodesapp.cpp +16 -24
- data/platform/android/Rhodes/jni/src/signature.cpp +27 -1
- data/platform/android/Rhodes/{default.properties → project.properties} +2 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/Capabilities.java +14 -12
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/NativeBar.java +14 -12
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +38 -115
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +69 -52
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/camera/Camera.java +9 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/camera/CameraNewService.java +21 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/camera/CameraOldService.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/camera/CameraSemiService.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/camera/CameraService.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/camera/ImageCapture.java +38 -6
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/event/Event.java +212 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/event/EventStore.java +82 -125
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocationImpl.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/MainView.java +2 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +39 -19
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SplashScreen.java +106 -136
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/TabbedMainView.java +26 -25
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/nativeview/RhoNativeViewManager.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality.java +40 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality01.java +47 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality02.java +33 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality03.java +33 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality04.java +34 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality05.java +75 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality06.java +34 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality07.java +34 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality08.java +44 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality09.java +34 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality10.java +34 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionalityManager.java +73 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/Contact.java +57 -6
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessor.java +2 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessorNew.java +322 -76
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/ContactAccessorOld.java +11 -6
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/phonebook/Phonebook.java +5 -5
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/ChromeClientOld.java +2 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/GoogleWebView.java +125 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebSettingsOld.java +2 -3
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/WebView.java +16 -0
- data/platform/android/build/RhodesSRC_build.files +14 -0
- data/platform/android/build/android.rake +149 -147
- data/platform/android/build/android_tools.rb +58 -0
- data/platform/android/build/librhocommon_build.files +1 -0
- data/platform/android/build/libruby_build.files +3 -0
- data/platform/bb/RubyVM/src/com/rho/RhoConf.java +11 -1
- data/platform/bb/RubyVM/src/com/rho/db/DBAdapter.java +11 -5
- data/platform/bb/RubyVM/src/com/rho/db/DBAttrManager.java +3 -2
- data/platform/bb/RubyVM/src/com/rho/file/RhoFile.java +2 -0
- data/platform/bb/RubyVM/src/com/rho/net/RhoConnection.java +20 -8
- data/platform/bb/RubyVM/src/com/rho/sync/SyncEngine.java +9 -6
- data/platform/bb/RubyVM/src/com/rho/sync/SyncSource.java +45 -18
- data/platform/bb/RubyVM/src/com/rho/sync/SyncThread.java +1 -2
- data/platform/bb/build/bb.rake +84 -70
- data/platform/bb/rhodes/platform/5.0/com/rho/BrowserAdapter5.java +106 -14
- data/platform/bb/rhodes/src/com/rho/BrowserAdapter.java +1 -1
- data/platform/bb/rhodes/src/com/rho/BrowserAdapter5.java +108 -16
- data/platform/bb/rhodes/src/rhomobile/RhodesApplication.java +10 -5
- data/platform/bb/rhodes/src/rhomobile/camera/CameraScreen.java +21 -4
- data/platform/bb/rhodes/src/rhomobile/mapview/Annotation.java +17 -0
- data/platform/bb/rhodes/src/rhomobile/mapview/MapView.java +8 -5
- data/platform/bb/rhodes/src/rhomobile/mapview/MapViewScreen.java +3 -1
- data/platform/iphone/Classes/AppManager/AppManager.m +15 -3
- data/platform/iphone/Classes/Event/Event.m +45 -2
- data/platform/iphone/Classes/MapView/MapViewController.m +8 -4
- data/platform/iphone/Classes/Phonebook/phonebook.m +30 -7
- data/platform/iphone/Classes/Rhodes.h +11 -1
- data/platform/iphone/Classes/Rhodes.m +141 -9
- data/platform/iphone/Classes/Signature/SignatureDelegate.m +27 -1
- data/platform/iphone/Classes/SimpleMainView.h +1 -0
- data/platform/iphone/Classes/SimpleMainView.m +4 -0
- data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +31 -1
- data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +10 -0
- data/platform/iphone/rbuild/iphone.rake +33 -6
- data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +10 -2
- data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +22 -2
- data/platform/iphone/rhorunner.xcodeproj/project.pbxproj +14 -0
- data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +10 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/Info.plist +1 -1
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app/Contents/MacOS/RhoSimulator +0 -0
- data/platform/osx/build/osx.rake +58 -7
- data/platform/shared/RhoConnectClient/RhoConnectClient.cpp +427 -69
- data/platform/shared/RhoConnectClient/RhoConnectClient.h +21 -2
- data/platform/shared/common/Android.mk +2 -1
- data/platform/shared/common/AutoPointer.h +23 -0
- data/platform/shared/common/BundleManager.cpp +333 -0
- data/platform/shared/common/RhoFile.cpp +206 -23
- data/platform/shared/common/RhoFile.h +14 -4
- data/platform/shared/common/RhoFilePath.h +18 -0
- data/platform/shared/common/RhoStd.h +11 -1
- data/platform/shared/common/RhoThread.h +4 -1
- data/platform/shared/common/RhodesApp.cpp +31 -8
- data/platform/shared/common/RhodesApp.h +14 -0
- data/platform/shared/common/RhodesAppBase.cpp +6 -6
- data/platform/shared/common/RhodesAppBase.h +1 -1
- data/platform/shared/common/emml.h +34 -0
- data/platform/shared/common/iphone/RhoFileImpl.m +30 -2
- data/platform/shared/common/map/BaseMapEngine.cpp +3 -3
- data/platform/shared/common/map/GeocodingMapEngine.cpp +205 -14
- data/platform/shared/common/map/GeocodingMapEngine.h +25 -2
- data/platform/shared/common/map/MapEngine.cpp +24 -2
- data/platform/shared/common/map/MapEngine.h +23 -12
- data/platform/shared/common/phonebook/PhonebookParams.cpp +99 -0
- data/platform/shared/common/phonebook/PhonebookParams.h +52 -0
- data/platform/shared/common/rhoparams.cpp +14 -0
- data/platform/shared/common/rhoparams.h +1 -0
- data/platform/shared/db/DBAdapter.cpp +43 -24
- data/platform/shared/db/DBAdapter.h +6 -1
- data/platform/shared/db/DBAttrManager.cpp +50 -1
- data/platform/shared/logging/RhoLog.h +3 -0
- data/platform/shared/logging/RhoLogSink.cpp +5 -1
- data/platform/shared/net/CURLNetRequest.cpp +2 -0
- data/platform/shared/qt/rhodes/QtMainWindow.cpp +14 -1
- data/platform/shared/qt/rhodes/impl/PhonebookImpl.cpp +2 -2
- data/platform/shared/qt/rhodes/impl/RhoFileImpl.cpp +1 -1
- data/platform/shared/qt/rhodes/impl/SignatureImpl.cpp +14 -2
- data/platform/shared/qt/rhodes/impl/SystemImpl.cpp +16 -2
- data/platform/shared/qt/rhodes/main.cpp +28 -0
- data/platform/shared/qt/rhodes/rhodes.pro +3 -0
- data/platform/shared/qt/rholib/rholib.pro +2 -1
- data/platform/shared/qt/rubylib/rubylib.pro +2 -1
- data/platform/shared/ruby/Android.mk +3 -0
- data/platform/shared/ruby/class.c +7 -0
- data/platform/shared/ruby/compile.c +18 -10
- data/platform/shared/ruby/encdb.h +18 -8
- data/platform/shared/ruby/eval.c +108 -2
- data/platform/shared/ruby/ext/alert/alert_wrap.c +64 -20
- data/platform/shared/ruby/ext/asynchttp/asynchttp_wrap.c +64 -20
- data/platform/shared/ruby/ext/bluetooth/bluetooth_wrap.c +67 -23
- data/platform/shared/ruby/ext/calendar/calendar_wrap.c +64 -20
- data/platform/shared/ruby/ext/calendar/event_wrap.c +64 -20
- data/platform/shared/ruby/ext/camera/camera_wrap.c +64 -20
- data/platform/shared/ruby/ext/datetimepicker/datetimepicker_wrap.c +64 -20
- data/platform/shared/ruby/ext/geolocation/geolocation.i +16 -0
- data/platform/shared/ruby/ext/geolocation/geolocation_wrap.c +127 -26
- data/platform/shared/ruby/ext/mapview/mapview_wrap.c +64 -20
- data/platform/shared/ruby/ext/nativebar/nativebar_wrap.c +65 -21
- data/platform/shared/ruby/ext/nativeviewmanager/nativeviewmanager_wrap.c +64 -20
- data/platform/shared/ruby/ext/navbar/navbar_wrap.c +64 -20
- data/platform/shared/ruby/ext/phonebook/phonebook.i +7 -7
- data/platform/shared/ruby/ext/phonebook/phonebook_wrap.c +95 -120
- data/platform/shared/ruby/ext/rho/rhoruby.c +4 -4
- data/platform/shared/ruby/ext/rho/rhoruby.h +2 -0
- data/platform/shared/ruby/ext/rho/rhosupport.c +39 -6
- data/platform/shared/ruby/ext/rhoconf/rhoconf_wrap.c +65 -21
- data/platform/shared/ruby/ext/ringtones/ringtones_wrap.c +64 -20
- data/platform/shared/ruby/ext/signature/signature.i +37 -5
- data/platform/shared/ruby/ext/signature/signature_wrap.c +274 -45
- data/platform/shared/ruby/ext/syncengine/syncengine_wrap.c +65 -21
- data/platform/shared/ruby/ext/system/system.i +14 -2
- data/platform/shared/ruby/ext/system/system_wrap.c +146 -25
- data/platform/shared/ruby/ext/webview/webview_wrap.c +65 -21
- data/platform/shared/ruby/include/ruby/ruby.h +15 -4
- data/platform/shared/ruby/inits.c +1 -0
- data/platform/shared/ruby/io.c +13 -3
- data/platform/shared/ruby/win32/win32.c +3 -3
- data/platform/shared/ruby/wince/io_wce.c +2 -2
- data/platform/shared/rubyext/System.cpp +9 -5
- data/platform/shared/sync/ClientRegister.cpp +18 -8
- data/platform/shared/sync/SyncEngine.cpp +25 -11
- data/platform/shared/sync/SyncEngine.h +2 -0
- data/platform/shared/sync/SyncSource.cpp +40 -15
- data/platform/shared/sync/SyncSource.h +3 -2
- data/platform/shared/sync/SyncThread.cpp +9 -4
- data/platform/shared/sync/SyncThread.h +3 -1
- data/platform/symbian/build/symbian.rake +14 -9
- data/platform/symbian/rhodes/rhodes.pro +11 -8
- data/platform/symbian/rhodes/src/phonebook/ruby_phonebook.cpp +2 -2
- data/platform/symbian/rubylib/rubylib.pro +3 -0
- data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
- data/platform/wm/RhoLib/RhoLib.vcproj +315 -2
- data/platform/wm/build/build_inf.js +235 -187
- data/platform/wm/build/wm.rake +388 -233
- data/platform/wm/rhodes.sln +56 -0
- data/platform/wm/rhodes/MainWindow.cpp +139 -77
- data/platform/wm/rhodes/MainWindow.h +27 -22
- data/platform/wm/rhodes/MapView/{Graphics.cpp → Bitmap.cpp} +15 -253
- data/platform/wm/rhodes/MapView/Bitmap.h +86 -0
- data/platform/wm/rhodes/MapView/MapViewManager.cpp +7 -2
- data/platform/wm/rhodes/MapView/MapViewManager.h +1 -1
- data/platform/wm/rhodes/MapView/Win32Graphics.cpp +263 -0
- data/platform/wm/rhodes/MapView/Win32Graphics.h +133 -0
- data/platform/wm/rhodes/MapView/WmGraphics.cpp +291 -0
- data/platform/wm/rhodes/MapView/{Graphics.h → WmGraphics.h} +14 -56
- data/platform/wm/rhodes/Rhodes.cpp +128 -32
- data/platform/wm/rhodes/Rhodes.rc +6 -2
- data/platform/wm/rhodes/camera/Camera.cpp +1 -0
- data/platform/wm/rhodes/phonebook/phonebook.cpp +2 -2
- data/platform/wm/rhodes/phonebook/phonebook.h +2 -2
- data/platform/wm/rhodes/resource.h +3 -2
- data/platform/wm/rhodes/rho/net/NetRequestImpl.cpp +6 -0
- data/platform/wm/rhodes/rho/rubyext/NativeToolbar.cpp +4 -0
- data/platform/wm/rhodes/rho/rubyext/RhoSignature.cpp +675 -0
- data/platform/wm/rhodes/rho/rubyext/RhoSignature.h +123 -0
- data/platform/wm/rhodes/rho/rubyext/SystemImpl.cpp +12 -2
- data/platform/wm/rhodes/rhodes.vcproj +2732 -1113
- data/platform/wm/rhodes/simulator/MainWindowQt.h +1 -1
- data/platform/wm/rhodes/stdafx.h +1 -0
- data/platform/wm/rhoelements.sln +118 -62
- data/platform/wm/rubylib/rubylib.vcproj +345 -16
- data/platform/wm/sqlite3/sqlite3.vcproj +305 -0
- data/platform/wm/syncengine/syncengine.vcproj +309 -0
- data/platform/wm/tools/detool/LogServer.cpp +19 -2
- data/platform/wm/tools/detool/detool.cpp +131 -6
- data/platform/wm/tools/detool/detool.vcproj +3 -1
- data/platform/wm/tools/detool/stdafx.h +1 -0
- data/platform/wp7/IronRuby/Languages/Ruby/Libraries/Builtins/RangeOps.cs +589 -0
- data/platform/wp7/IronRuby/Languages/Ruby/Ruby/Builtins/RubyEncoding.cs +678 -0
- data/platform/wp7/IronRuby/Languages/Ruby/Ruby/Runtime/RubyExceptionData.cs +271 -0
- data/platform/wp7/IronRuby/Languages/Ruby/Ruby/Runtime/RubyUtils.cs +31 -1
- data/platform/wp7/IronRuby/bin/Silverlight3Release/IronRuby.Libraries.dll +0 -0
- data/platform/wp7/IronRuby/bin/Silverlight3Release/IronRuby.dll +0 -0
- data/platform/wp7/RhoRubyLib/common/RhoStd.cs +6 -0
- data/platform/wp7/RhoRubyLib/common/RhodesApp.cs +16 -2
- data/platform/wp7/RhoRubyLib/net/NetRequest.cs +2 -0
- data/platform/wp7/RhoRubyLib/rubyext/RhoSyncEngine.cs +1 -2
- data/platform/wp7/RhoRubyLib/sync/SyncEngine.cs +13 -10
- data/platform/wp7/RhoRubyLib/sync/SyncSource.cs +30 -8
- data/platform/wp7/build/wp.rake +5 -0
- data/rakefile.rb +153 -46
- data/res/build-tools/detool.exe +0 -0
- data/res/build-tools/swig_patch/Lib/ruby/rubyerrors.swg +155 -0
- data/res/build-tools/swig_patch/Lib/ruby/rubyhead.swg +158 -0
- data/res/build-tools/swig_patch/Lib/ruby/rubyiterators.swg +932 -0
- data/res/build-tools/swig_patch/Lib/ruby/rubyrun.swg +448 -0
- data/res/build-tools/swig_patch/Lib/ruby/rubystdfunctors.swg +162 -0
- data/res/build-tools/swig_patch/Lib/ruby/rubytracking.swg +159 -0
- data/res/build-tools/swig_patch/Lib/ruby/std_basic_string.i +97 -0
- data/res/build-tools/swig_patch/Lib/ruby/std_map.i +418 -0
- data/res/build-tools/swig_patch/Lib/ruby/std_multimap.i +227 -0
- data/res/build-tools/swig_patch/Lib/swiginit.swg +269 -0
- data/res/build-tools/swig_patch/README +7 -0
- data/res/generators/templates/application/app/Settings/controller.rb +42 -1
- data/res/generators/templates/application/app/Settings/wait.erb +1 -1
- data/res/generators/templates/application/app/application.rb +1 -1
- data/res/generators/templates/application/app/layout.erb +8 -8
- data/res/generators/templates/application/build.yml +0 -1
- data/res/generators/templates/application/public/css/android.css +6 -0
- data/res/generators/templates/application/public/css/blackberry.css +6 -0
- data/res/generators/templates/application/public/css/iphone.css +6 -0
- data/res/generators/templates/application/public/css/jqmobile-patch.css +14 -0
- data/res/generators/templates/application/public/jqmobile/images/ajax-loader.png +0 -0
- data/res/generators/templates/application/public/jqmobile/images/icons-18-black.png +0 -0
- data/res/generators/templates/application/public/jqmobile/images/icons-18-white.png +0 -0
- data/res/generators/templates/application/public/jqmobile/images/icons-36-black.png +0 -0
- data/res/generators/templates/application/public/jqmobile/images/icons-36-white.png +0 -0
- data/res/generators/templates/application/public/jqmobile/{jquery.mobile-1.0rc1.css → jquery.mobile-1.0.css} +452 -354
- data/res/generators/templates/application/public/jqmobile/{jquery.mobile-1.0rc1.js → jquery.mobile-1.0.js} +629 -442
- data/res/generators/templates/application/public/jqmobile/jquery.mobile-1.0.min.css +2 -0
- data/res/generators/templates/application/public/jqmobile/jquery.mobile-1.0.min.js +172 -0
- data/res/generators/templates/application/public/jqmobile/jquery.mobile.structure-1.0.css +714 -0
- data/res/generators/templates/application/public/jqmobile/jquery.mobile.structure-1.0.min.css +2 -0
- data/res/generators/templates/application/public/js/jqmobile-patch.js +136 -7
- data/res/generators/templates/extension/app/MontanaTest/controller.rb +20 -20
- data/res/generators/templates/extension/app/MontanaTest/index.erb +17 -17
- data/res/generators/templates/extension/extensions/montana/ext/montana/platform/iphone/Montana.xcodeproj/project.pbxproj +8 -2
- data/res/generators/templates/extension/extensions/montana/ext/montana/platform/iphone/Rakefile +5 -0
- data/res/generators/templates/extension/extensions/montana/ext/montana/shared/ruby/montana_wrap.c +64 -20
- data/rhomobile-debug.gemspec +1 -1
- data/spec/framework_spec/app/layout.erb +1 -1
- data/spec/framework_spec/app/spec/core/rational/Rational_spec.rb +1 -1
- data/spec/framework_spec/app/spec/library/stringio/shared/each_char.rb +6 -2
- data/spec/framework_spec/app/spec/shared/rational/{Rational.rb → rational_main.rb} +0 -0
- data/spec/framework_spec/build.yml +0 -3
- data/spec/perfomance_spec/app/Benchmark/controller.rb +1 -1
- data/spec/perfomance_spec/app/layout.erb +1 -1
- data/spec/phone_spec/app/BlobTest_s/blob_test_s.rb +13 -0
- data/spec/phone_spec/app/BlobTest_s/test.png +0 -0
- data/spec/phone_spec/app/BlobTest_s/test2.png +0 -0
- data/spec/phone_spec/app/spec/blobsync_spec.rb +27 -15
- data/spec/phone_spec/app/spec/date_spec.rb +27 -1
- data/spec/phone_spec/app/spec/rho_spec.rb +6 -0
- data/spec/phone_spec/app/spec/rhom_object_spec.rb +64 -26
- data/spec/phone_spec/app/spec/syncengine_spec.rb +28 -7
- data/spec/phone_spec/app/spec/uri_spec.rb +4 -4
- data/spec/phone_spec/app/spec_runner.rb +4 -2
- data/spec/phone_spec/build.yml +7 -9
- data/spec/phone_spec/rhoconfig.txt +1 -0
- data/version +1 -1
- metadata +75 -22
- data/Manifest.txt +0 -7853
- data/platform/wm/rhodes/rhoelements/RhoWKBrowserEngine.cpp +0 -384
- data/platform/wm/rhodes/rhoelements/RhoWKBrowserEngine.h +0 -41
- data/platform/wm/rhodes/signature/Signature.cpp +0 -396
- data/platform/wm/rhodes/signature/Signature.h +0 -84
- data/platform/wm/rubylib/rubylib.vcproj.VLAD.Vladimir.user +0 -429
- data/platform/wm/sqlite3/sqlite3.vcproj.VLAD.Vladimir.user +0 -429
- data/platform/wm/syncengine/syncengine.vcproj.VLAD.Vladimir.user +0 -429
- data/res/generators/templates/application/public/jqmobile/jquery.mobile-1.0rc1.min.css +0 -12
- data/res/generators/templates/application/public/jqmobile/jquery.mobile-1.0rc1.min.js +0 -170
- data/rhomobile-debug-1.0.5.gem +0 -0
@@ -0,0 +1,262 @@
|
|
1
|
+
// !$*UTF8*$!
|
2
|
+
{
|
3
|
+
archiveVersion = 1;
|
4
|
+
classes = {
|
5
|
+
};
|
6
|
+
objectVersion = 45;
|
7
|
+
objects = {
|
8
|
+
|
9
|
+
/* Begin PBXBuildFile section */
|
10
|
+
FA64197214A253B6001BDDEC /* fcntl.c in Sources */ = {isa = PBXBuildFile; fileRef = FA64197114A253B6001BDDEC /* fcntl.c */; };
|
11
|
+
FAC155E7145855CF0016F3BD /* Fcntl_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = FAD45FD51225FED600141873 /* Fcntl_Prefix.pch */; };
|
12
|
+
FAC155EE145855CF0016F3BD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AACBBE490F95108600F1A2B1 /* Foundation.framework */; };
|
13
|
+
FAC155EF145855CF0016F3BD /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FAD4602C12260A8500141873 /* UIKit.framework */; };
|
14
|
+
/* End PBXBuildFile section */
|
15
|
+
|
16
|
+
/* Begin PBXFileReference section */
|
17
|
+
AACBBE490F95108600F1A2B1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
18
|
+
FA64197114A253B6001BDDEC /* fcntl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = fcntl.c; path = ../fcntl.c; sourceTree = "<group>"; };
|
19
|
+
FAC155F3145855CF0016F3BD /* libFcntl.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libFcntl.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
20
|
+
FAD45FD51225FED600141873 /* Fcntl_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Fcntl_Prefix.pch; sourceTree = "<group>"; };
|
21
|
+
FAD4602C12260A8500141873 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
22
|
+
/* End PBXFileReference section */
|
23
|
+
|
24
|
+
/* Begin PBXFrameworksBuildPhase section */
|
25
|
+
FAC155ED145855CF0016F3BD /* Frameworks */ = {
|
26
|
+
isa = PBXFrameworksBuildPhase;
|
27
|
+
buildActionMask = 2147483647;
|
28
|
+
files = (
|
29
|
+
FAC155EE145855CF0016F3BD /* Foundation.framework in Frameworks */,
|
30
|
+
FAC155EF145855CF0016F3BD /* UIKit.framework in Frameworks */,
|
31
|
+
);
|
32
|
+
runOnlyForDeploymentPostprocessing = 0;
|
33
|
+
};
|
34
|
+
/* End PBXFrameworksBuildPhase section */
|
35
|
+
|
36
|
+
/* Begin PBXGroup section */
|
37
|
+
034768DFFF38A50411DB9C8B /* Products */ = {
|
38
|
+
isa = PBXGroup;
|
39
|
+
children = (
|
40
|
+
FAC155F3145855CF0016F3BD /* libFcntl.a */,
|
41
|
+
);
|
42
|
+
name = Products;
|
43
|
+
sourceTree = "<group>";
|
44
|
+
};
|
45
|
+
0867D691FE84028FC02AAC07 /* Barcode */ = {
|
46
|
+
isa = PBXGroup;
|
47
|
+
children = (
|
48
|
+
08FB77AEFE84172EC02AAC07 /* Classes */,
|
49
|
+
32C88DFF0371C24200C91783 /* Other Sources */,
|
50
|
+
0867D69AFE84028FC02AAC07 /* Frameworks */,
|
51
|
+
034768DFFF38A50411DB9C8B /* Products */,
|
52
|
+
);
|
53
|
+
name = Barcode;
|
54
|
+
sourceTree = "<group>";
|
55
|
+
};
|
56
|
+
0867D69AFE84028FC02AAC07 /* Frameworks */ = {
|
57
|
+
isa = PBXGroup;
|
58
|
+
children = (
|
59
|
+
AACBBE490F95108600F1A2B1 /* Foundation.framework */,
|
60
|
+
FAD4602C12260A8500141873 /* UIKit.framework */,
|
61
|
+
);
|
62
|
+
name = Frameworks;
|
63
|
+
sourceTree = "<group>";
|
64
|
+
};
|
65
|
+
08FB77AEFE84172EC02AAC07 /* Classes */ = {
|
66
|
+
isa = PBXGroup;
|
67
|
+
children = (
|
68
|
+
FA64197114A253B6001BDDEC /* fcntl.c */,
|
69
|
+
);
|
70
|
+
name = Classes;
|
71
|
+
sourceTree = "<group>";
|
72
|
+
};
|
73
|
+
32C88DFF0371C24200C91783 /* Other Sources */ = {
|
74
|
+
isa = PBXGroup;
|
75
|
+
children = (
|
76
|
+
FAD45FD51225FED600141873 /* Fcntl_Prefix.pch */,
|
77
|
+
);
|
78
|
+
name = "Other Sources";
|
79
|
+
sourceTree = "<group>";
|
80
|
+
};
|
81
|
+
/* End PBXGroup section */
|
82
|
+
|
83
|
+
/* Begin PBXHeadersBuildPhase section */
|
84
|
+
FAC155E6145855CF0016F3BD /* Headers */ = {
|
85
|
+
isa = PBXHeadersBuildPhase;
|
86
|
+
buildActionMask = 2147483647;
|
87
|
+
files = (
|
88
|
+
FAC155E7145855CF0016F3BD /* Fcntl_Prefix.pch in Headers */,
|
89
|
+
);
|
90
|
+
runOnlyForDeploymentPostprocessing = 0;
|
91
|
+
};
|
92
|
+
/* End PBXHeadersBuildPhase section */
|
93
|
+
|
94
|
+
/* Begin PBXNativeTarget section */
|
95
|
+
FAC155E5145855CF0016F3BD /* Fcntl */ = {
|
96
|
+
isa = PBXNativeTarget;
|
97
|
+
buildConfigurationList = FAC155F0145855CF0016F3BD /* Build configuration list for PBXNativeTarget "Fcntl" */;
|
98
|
+
buildPhases = (
|
99
|
+
FAC155E6145855CF0016F3BD /* Headers */,
|
100
|
+
FAC155E9145855CF0016F3BD /* Sources */,
|
101
|
+
FAC155ED145855CF0016F3BD /* Frameworks */,
|
102
|
+
);
|
103
|
+
buildRules = (
|
104
|
+
);
|
105
|
+
dependencies = (
|
106
|
+
);
|
107
|
+
name = Fcntl;
|
108
|
+
productName = Barcode;
|
109
|
+
productReference = FAC155F3145855CF0016F3BD /* libFcntl.a */;
|
110
|
+
productType = "com.apple.product-type.library.static";
|
111
|
+
};
|
112
|
+
/* End PBXNativeTarget section */
|
113
|
+
|
114
|
+
/* Begin PBXProject section */
|
115
|
+
0867D690FE84028FC02AAC07 /* Project object */ = {
|
116
|
+
isa = PBXProject;
|
117
|
+
buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "Fcntl" */;
|
118
|
+
compatibilityVersion = "Xcode 3.1";
|
119
|
+
developmentRegion = English;
|
120
|
+
hasScannedForEncodings = 1;
|
121
|
+
knownRegions = (
|
122
|
+
English,
|
123
|
+
Japanese,
|
124
|
+
French,
|
125
|
+
German,
|
126
|
+
);
|
127
|
+
mainGroup = 0867D691FE84028FC02AAC07 /* Barcode */;
|
128
|
+
productRefGroup = 034768DFFF38A50411DB9C8B /* Products */;
|
129
|
+
projectDirPath = "";
|
130
|
+
projectRoot = "";
|
131
|
+
targets = (
|
132
|
+
FAC155E5145855CF0016F3BD /* Fcntl */,
|
133
|
+
);
|
134
|
+
};
|
135
|
+
/* End PBXProject section */
|
136
|
+
|
137
|
+
/* Begin PBXSourcesBuildPhase section */
|
138
|
+
FAC155E9145855CF0016F3BD /* Sources */ = {
|
139
|
+
isa = PBXSourcesBuildPhase;
|
140
|
+
buildActionMask = 2147483647;
|
141
|
+
files = (
|
142
|
+
FA64197214A253B6001BDDEC /* fcntl.c in Sources */,
|
143
|
+
);
|
144
|
+
runOnlyForDeploymentPostprocessing = 0;
|
145
|
+
};
|
146
|
+
/* End PBXSourcesBuildPhase section */
|
147
|
+
|
148
|
+
/* Begin XCBuildConfiguration section */
|
149
|
+
1DEB922308733DC00010E9CD /* Debug */ = {
|
150
|
+
isa = XCBuildConfiguration;
|
151
|
+
buildSettings = {
|
152
|
+
GCC_C_LANGUAGE_STANDARD = c99;
|
153
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
154
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
155
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
156
|
+
HEADER_SEARCH_PATHS = (
|
157
|
+
"$(RHO_ROOT)/platform/shared/common",
|
158
|
+
"$(RHO_ROOT)/platform/shared/rubyext",
|
159
|
+
"$(RHO_ROOT)/platform/shared/ruby/include",
|
160
|
+
"$(RHO_ROOT)/platform/shared/ruby/iphone",
|
161
|
+
"$(RHO_ROOT)/platform/shared",
|
162
|
+
);
|
163
|
+
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
164
|
+
ONLY_ACTIVE_ARCH = NO;
|
165
|
+
PREBINDING = NO;
|
166
|
+
SDKROOT = iphonesimulator4.1;
|
167
|
+
STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = static;
|
168
|
+
};
|
169
|
+
name = Debug;
|
170
|
+
};
|
171
|
+
1DEB922408733DC00010E9CD /* Release */ = {
|
172
|
+
isa = XCBuildConfiguration;
|
173
|
+
buildSettings = {
|
174
|
+
GCC_C_LANGUAGE_STANDARD = c99;
|
175
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
176
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
177
|
+
HEADER_SEARCH_PATHS = (
|
178
|
+
"$(RHO_ROOT)/platform/shared/common",
|
179
|
+
"$(RHO_ROOT)/platform/shared/rubyext",
|
180
|
+
"$(RHO_ROOT)/platform/shared/ruby/include",
|
181
|
+
"$(RHO_ROOT)/platform/shared/ruby/iphone",
|
182
|
+
"$(RHO_ROOT)/platform/shared",
|
183
|
+
);
|
184
|
+
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
185
|
+
ONLY_ACTIVE_ARCH = NO;
|
186
|
+
PREBINDING = NO;
|
187
|
+
SDKROOT = iphonesimulator4.1;
|
188
|
+
STANDARD_C_PLUS_PLUS_LIBRARY_TYPE = static;
|
189
|
+
};
|
190
|
+
name = Release;
|
191
|
+
};
|
192
|
+
FAC155F1145855CF0016F3BD /* Debug */ = {
|
193
|
+
isa = XCBuildConfiguration;
|
194
|
+
buildSettings = {
|
195
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
196
|
+
ARCHS = (
|
197
|
+
armv7,
|
198
|
+
armv6,
|
199
|
+
);
|
200
|
+
COPY_PHASE_STRIP = NO;
|
201
|
+
DSTROOT = /tmp/Fcntl.dst;
|
202
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
203
|
+
GCC_ENABLE_FIX_AND_CONTINUE = YES;
|
204
|
+
GCC_MODEL_TUNING = G5;
|
205
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
206
|
+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
207
|
+
GCC_PREFIX_HEADER = Fcntl_Prefix.pch;
|
208
|
+
INSTALL_PATH = /usr/local/lib;
|
209
|
+
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
210
|
+
MACOSX_DEPLOYMENT_TARGET = 10.5;
|
211
|
+
PRODUCT_NAME = Fcntl;
|
212
|
+
SDKROOT = iphoneos;
|
213
|
+
VALID_ARCHS = "i386 armv6 armv7";
|
214
|
+
};
|
215
|
+
name = Debug;
|
216
|
+
};
|
217
|
+
FAC155F2145855CF0016F3BD /* Release */ = {
|
218
|
+
isa = XCBuildConfiguration;
|
219
|
+
buildSettings = {
|
220
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
221
|
+
ARCHS = (
|
222
|
+
armv7,
|
223
|
+
armv6,
|
224
|
+
);
|
225
|
+
DSTROOT = /tmp/Fcntl.dst;
|
226
|
+
GCC_MODEL_TUNING = G5;
|
227
|
+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
228
|
+
GCC_PREFIX_HEADER = Fcntl_Prefix.pch;
|
229
|
+
INSTALL_PATH = /usr/local/lib;
|
230
|
+
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
|
231
|
+
MACOSX_DEPLOYMENT_TARGET = 10.5;
|
232
|
+
PRODUCT_NAME = Fcntl;
|
233
|
+
SDKROOT = iphoneos;
|
234
|
+
VALID_ARCHS = "i386 armv6 armv7";
|
235
|
+
};
|
236
|
+
name = Release;
|
237
|
+
};
|
238
|
+
/* End XCBuildConfiguration section */
|
239
|
+
|
240
|
+
/* Begin XCConfigurationList section */
|
241
|
+
1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "Fcntl" */ = {
|
242
|
+
isa = XCConfigurationList;
|
243
|
+
buildConfigurations = (
|
244
|
+
1DEB922308733DC00010E9CD /* Debug */,
|
245
|
+
1DEB922408733DC00010E9CD /* Release */,
|
246
|
+
);
|
247
|
+
defaultConfigurationIsVisible = 0;
|
248
|
+
defaultConfigurationName = Release;
|
249
|
+
};
|
250
|
+
FAC155F0145855CF0016F3BD /* Build configuration list for PBXNativeTarget "Fcntl" */ = {
|
251
|
+
isa = XCConfigurationList;
|
252
|
+
buildConfigurations = (
|
253
|
+
FAC155F1145855CF0016F3BD /* Debug */,
|
254
|
+
FAC155F2145855CF0016F3BD /* Release */,
|
255
|
+
);
|
256
|
+
defaultConfigurationIsVisible = 0;
|
257
|
+
defaultConfigurationName = Release;
|
258
|
+
};
|
259
|
+
/* End XCConfigurationList section */
|
260
|
+
};
|
261
|
+
rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
|
262
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
|
3
|
+
USE_STLPORT = true
|
4
|
+
|
5
|
+
puts "Fcntl extension !"
|
6
|
+
|
7
|
+
namespace "build" do
|
8
|
+
|
9
|
+
task :config do
|
10
|
+
|
11
|
+
$targetdir = ENV['TARGET_TEMP_DIR']
|
12
|
+
raise "TARGET_TEMP_DIR is not set" if $targetdir.nil?
|
13
|
+
|
14
|
+
$tempdir = ENV['TEMP_FILES_DIR']
|
15
|
+
raise "TEMP_FILES_DIR is not set" if $tempdir.nil?
|
16
|
+
|
17
|
+
$rootdir = ENV['RHO_ROOT']
|
18
|
+
raise "RHO_ROOT is not set" if $rootdir.nil?
|
19
|
+
|
20
|
+
$xcodebuild = ENV['XCODEBUILD']
|
21
|
+
raise "XCODEBUILD is not set" if $xcodebuild.nil?
|
22
|
+
|
23
|
+
$configuration = ENV['CONFIGURATION']
|
24
|
+
raise "CONFIGURATION is not set" if $configuration.nil?
|
25
|
+
|
26
|
+
$sdk = ENV['SDK_NAME']
|
27
|
+
raise "SDK_NAME is not set" if $sdk.nil?
|
28
|
+
|
29
|
+
$bindir = ENV['PLATFORM_DEVELOPER_BIN_DIR']
|
30
|
+
raise "PLATFORM_DEVELOPER_BIN_DIR is not set" if $bindir.nil?
|
31
|
+
|
32
|
+
$sdkroot = ENV['SDKROOT']
|
33
|
+
raise "SDKROOT is not set" if $sdkroot.nil?
|
34
|
+
|
35
|
+
$arch = ENV['ARCHS']
|
36
|
+
raise "ARCHS is not set" if $arch.nil?
|
37
|
+
|
38
|
+
$gccbin = $bindir + '/gcc-4.2'
|
39
|
+
$arbin = $bindir + '/ar'
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
task :all => :config do
|
44
|
+
|
45
|
+
iphone_path = '.'
|
46
|
+
|
47
|
+
simulator = $sdk =~ /iphonesimulator/
|
48
|
+
|
49
|
+
if $configuration == 'Distribution'
|
50
|
+
$configuration = 'Release'
|
51
|
+
end
|
52
|
+
|
53
|
+
result_lib = iphone_path + '/build/' + $configuration + '-' + ( simulator ? "iphonesimulator" : "iphoneos") + '/libFcntl.a'
|
54
|
+
target_lib = $targetdir + '/libfcntl.a'
|
55
|
+
|
56
|
+
rm_rf 'build'
|
57
|
+
rm_rf target_lib
|
58
|
+
|
59
|
+
args = ['build', '-target', 'Fcntl', '-configuration', $configuration, '-sdk', $sdk]
|
60
|
+
|
61
|
+
if simulator
|
62
|
+
args << '-arch'
|
63
|
+
args << 'i386'
|
64
|
+
end
|
65
|
+
|
66
|
+
require $rootdir + '/lib/build/jake.rb'
|
67
|
+
|
68
|
+
puts Jake.run($xcodebuild,args)
|
69
|
+
ret = $?
|
70
|
+
|
71
|
+
# copy result to $targetdir
|
72
|
+
cp result_lib,target_lib
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
|
79
|
+
task :default => "build:all"
|
@@ -628,9 +628,9 @@ module Net #:nodoc:
|
|
628
628
|
iv_list = instance_variables
|
629
629
|
SSL_ATTRIBUTES.each do |name|
|
630
630
|
ivname = "@#{name}".intern
|
631
|
-
if iv_list.include?(ivname)
|
632
|
-
|
633
|
-
ssl_parameters[name] = value
|
631
|
+
if iv_list.include?(ivname)
|
632
|
+
|
633
|
+
ssl_parameters[name] = value if value = instance_variable_get(ivname)
|
634
634
|
end
|
635
635
|
end
|
636
636
|
if platform != 'Blackberry'
|
@@ -659,10 +659,12 @@ module Net #:nodoc:
|
|
659
659
|
@socket.writeline ''
|
660
660
|
HTTPResponse.read_new(@socket).value
|
661
661
|
end
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
662
|
+
if platform != 'Blackberry'
|
663
|
+
timeout(@open_timeout) { s.connect }
|
664
|
+
if @ssl_context.verify_mode != OpenSSL::SSL::VERIFY_NONE
|
665
|
+
s.post_connection_check(@address)
|
666
|
+
end
|
667
|
+
end
|
666
668
|
rescue => exception
|
667
669
|
D "Conn close because of connect error #{exception}"
|
668
670
|
@socket.close if @socket and not @socket.closed?
|
@@ -985,6 +985,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
|
|
985
985
|
#define rb_undef_alloc_func(klass) rb_undef_method(CLASS_OF((klass)), "new")
|
986
986
|
#endif
|
987
987
|
|
988
|
+
#define _mSWIG_defined
|
988
989
|
static VALUE _mSWIG = Qnil;
|
989
990
|
|
990
991
|
/* -----------------------------------------------------------------------------
|
@@ -1000,26 +1001,27 @@ static VALUE _mSWIG = Qnil;
|
|
1000
1001
|
exceptions. Note this only works for C++ since a global cannot be
|
1001
1002
|
initialized by a function in C. For C, fallback to rb_eRuntimeError.*/
|
1002
1003
|
|
1004
|
+
#define SWIG_rb_eNullReferenceError_defined
|
1005
|
+
static VALUE SWIG_rb_eNullReferenceError = Qnil;
|
1006
|
+
|
1007
|
+
|
1003
1008
|
SWIGINTERN VALUE
|
1004
1009
|
getNullReferenceError(void) {
|
1005
|
-
|
1006
|
-
|
1007
|
-
if (!init) {
|
1008
|
-
init = 1;
|
1009
|
-
rb_eNullReferenceError = rb_define_class("NullReferenceError", rb_eRuntimeError);
|
1010
|
+
if (SWIG_rb_eNullReferenceError == Qnil) {
|
1011
|
+
SWIG_rb_eNullReferenceError = rb_define_class("NullReferenceError", rb_eRuntimeError);
|
1010
1012
|
}
|
1011
|
-
return
|
1013
|
+
return SWIG_rb_eNullReferenceError;
|
1012
1014
|
}
|
1013
1015
|
|
1016
|
+
#define SWIG_rb_eObjectPreviouslyDeleted_defined
|
1017
|
+
static VALUE SWIG_rb_eObjectPreviouslyDeleted = Qnil;
|
1018
|
+
|
1014
1019
|
SWIGINTERN VALUE
|
1015
1020
|
getObjectPreviouslyDeletedError(void) {
|
1016
|
-
|
1017
|
-
|
1018
|
-
if (!init) {
|
1019
|
-
init = 1;
|
1020
|
-
rb_eObjectPreviouslyDeleted = rb_define_class("ObjectPreviouslyDeleted", rb_eRuntimeError);
|
1021
|
+
if (SWIG_rb_eObjectPreviouslyDeleted == Qnil) {
|
1022
|
+
SWIG_rb_eObjectPreviouslyDeleted = rb_define_class("ObjectPreviouslyDeleted", rb_eRuntimeError);
|
1021
1023
|
}
|
1022
|
-
return
|
1024
|
+
return SWIG_rb_eObjectPreviouslyDeleted;
|
1023
1025
|
}
|
1024
1026
|
|
1025
1027
|
|
@@ -1170,11 +1172,13 @@ extern "C" {
|
|
1170
1172
|
/* Global Ruby hash table to store Trackings from C/C++
|
1171
1173
|
structs to Ruby Objects.
|
1172
1174
|
*/
|
1175
|
+
#define swig_ruby_trackings_defined
|
1173
1176
|
static VALUE swig_ruby_trackings = Qnil;
|
1174
1177
|
|
1175
1178
|
/* Global variable that stores a reference to the ruby
|
1176
1179
|
hash table delete function. */
|
1177
|
-
|
1180
|
+
#define swig_ruby_hash_delete_defined
|
1181
|
+
static ID swig_ruby_hash_delete = 0;
|
1178
1182
|
|
1179
1183
|
/* Setup a Ruby hash table to store Trackings */
|
1180
1184
|
SWIGRUNTIME void SWIG_RubyInitializeTrackings(void) {
|
@@ -1413,11 +1417,17 @@ typedef struct {
|
|
1413
1417
|
|
1414
1418
|
|
1415
1419
|
/* Global pointer used to keep some internal SWIG stuff */
|
1420
|
+
#define _cSWIG_Pointer_defined
|
1416
1421
|
static VALUE _cSWIG_Pointer = Qnil;
|
1422
|
+
|
1423
|
+
#define swig_runtime_data_type_pointer_defined
|
1417
1424
|
static VALUE swig_runtime_data_type_pointer = Qnil;
|
1418
1425
|
|
1419
1426
|
/* Global IDs used to keep some internal SWIG stuff */
|
1427
|
+
#define swig_arity_id_defined
|
1420
1428
|
static ID swig_arity_id = 0;
|
1429
|
+
|
1430
|
+
#define swig_call_id_defined
|
1421
1431
|
static ID swig_call_id = 0;
|
1422
1432
|
|
1423
1433
|
/*
|
@@ -1438,7 +1448,8 @@ static ID swig_call_id = 0;
|
|
1438
1448
|
# define Ruby_DirectorTypeMismatchException(x) \
|
1439
1449
|
rb_raise( rb_eTypeError, "%s", x ); return c_result;
|
1440
1450
|
|
1441
|
-
|
1451
|
+
#define swig_virtual_calls_defined
|
1452
|
+
static unsigned int swig_virtual_calls = 0;
|
1442
1453
|
|
1443
1454
|
#else /* normal non-embedded extension */
|
1444
1455
|
|
@@ -1452,12 +1463,12 @@ static ID swig_call_id = 0;
|
|
1452
1463
|
|
1453
1464
|
SWIGRUNTIME VALUE
|
1454
1465
|
getExceptionClass(void) {
|
1455
|
-
static int init = 0;
|
1466
|
+
//static int init = 0;
|
1456
1467
|
static VALUE rubyExceptionClass ;
|
1457
|
-
if (!init) {
|
1458
|
-
init = 1;
|
1468
|
+
//if (!init) {
|
1469
|
+
//init = 1;
|
1459
1470
|
rubyExceptionClass = rb_const_get(_mSWIG, rb_intern("Exception"));
|
1460
|
-
}
|
1471
|
+
//}
|
1461
1472
|
return rubyExceptionClass;
|
1462
1473
|
}
|
1463
1474
|
|
@@ -1479,11 +1490,11 @@ SWIG_Ruby_ExceptionType(swig_type_info *desc, VALUE obj) {
|
|
1479
1490
|
SWIGRUNTIME void
|
1480
1491
|
SWIG_Ruby_InitRuntime(void)
|
1481
1492
|
{
|
1482
|
-
if (_mSWIG == Qnil) {
|
1493
|
+
//if (_mSWIG == Qnil) {
|
1483
1494
|
_mSWIG = rb_define_module("SWIG");
|
1484
1495
|
swig_call_id = rb_intern("call");
|
1485
1496
|
swig_arity_id = rb_intern("arity");
|
1486
|
-
}
|
1497
|
+
//}
|
1487
1498
|
}
|
1488
1499
|
|
1489
1500
|
/* Define Ruby class for C type */
|
@@ -3398,6 +3409,39 @@ SWIG_InitializeModule(void *clientdata) {
|
|
3398
3409
|
int found, init;
|
3399
3410
|
|
3400
3411
|
clientdata = clientdata;
|
3412
|
+
|
3413
|
+
// clear static variables for support reinitialization
|
3414
|
+
#ifdef SWIG_rb_eNullReferenceError_defined
|
3415
|
+
SWIG_rb_eNullReferenceError = Qnil;
|
3416
|
+
#endif
|
3417
|
+
#ifdef SWIG_rb_eObjectPreviouslyDeleted_defined
|
3418
|
+
SWIG_rb_eObjectPreviouslyDeleted = Qnil;
|
3419
|
+
#endif
|
3420
|
+
//#ifdef _mSWIG_defined
|
3421
|
+
// _mSWIG = Qnil;
|
3422
|
+
//#endif
|
3423
|
+
#ifdef _cSWIG_Pointer_defined
|
3424
|
+
_cSWIG_Pointer = Qnil;
|
3425
|
+
#endif
|
3426
|
+
#ifdef swig_runtime_data_type_pointer_defined
|
3427
|
+
swig_runtime_data_type_pointer = Qnil;
|
3428
|
+
#endif
|
3429
|
+
#ifdef swig_arity_id_defined
|
3430
|
+
swig_arity_id = 0;
|
3431
|
+
#endif
|
3432
|
+
#ifdef swig_call_id_defined
|
3433
|
+
swig_call_id = 0;
|
3434
|
+
#endif
|
3435
|
+
#ifdef swig_virtual_calls_defined
|
3436
|
+
swig_virtual_calls = 0;
|
3437
|
+
#endif
|
3438
|
+
#ifdef swig_ruby_trackings_defined
|
3439
|
+
swig_ruby_trackings = Qnil;
|
3440
|
+
#endif
|
3441
|
+
#ifdef swig_ruby_hash_delete_defined
|
3442
|
+
swig_ruby_hash_delete = 0;
|
3443
|
+
#endif
|
3444
|
+
|
3401
3445
|
|
3402
3446
|
/* check to see if the circular list has been setup, if not, set it up */
|
3403
3447
|
if (swig_module.next==0) {
|