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
@@ -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 */
|
@@ -2074,6 +2085,39 @@ SWIG_InitializeModule(void *clientdata) {
|
|
2074
2085
|
int found, init;
|
2075
2086
|
|
2076
2087
|
clientdata = clientdata;
|
2088
|
+
|
2089
|
+
// clear static variables for support reinitialization
|
2090
|
+
#ifdef SWIG_rb_eNullReferenceError_defined
|
2091
|
+
SWIG_rb_eNullReferenceError = Qnil;
|
2092
|
+
#endif
|
2093
|
+
#ifdef SWIG_rb_eObjectPreviouslyDeleted_defined
|
2094
|
+
SWIG_rb_eObjectPreviouslyDeleted = Qnil;
|
2095
|
+
#endif
|
2096
|
+
//#ifdef _mSWIG_defined
|
2097
|
+
// _mSWIG = Qnil;
|
2098
|
+
//#endif
|
2099
|
+
#ifdef _cSWIG_Pointer_defined
|
2100
|
+
_cSWIG_Pointer = Qnil;
|
2101
|
+
#endif
|
2102
|
+
#ifdef swig_runtime_data_type_pointer_defined
|
2103
|
+
swig_runtime_data_type_pointer = Qnil;
|
2104
|
+
#endif
|
2105
|
+
#ifdef swig_arity_id_defined
|
2106
|
+
swig_arity_id = 0;
|
2107
|
+
#endif
|
2108
|
+
#ifdef swig_call_id_defined
|
2109
|
+
swig_call_id = 0;
|
2110
|
+
#endif
|
2111
|
+
#ifdef swig_virtual_calls_defined
|
2112
|
+
swig_virtual_calls = 0;
|
2113
|
+
#endif
|
2114
|
+
#ifdef swig_ruby_trackings_defined
|
2115
|
+
swig_ruby_trackings = Qnil;
|
2116
|
+
#endif
|
2117
|
+
#ifdef swig_ruby_hash_delete_defined
|
2118
|
+
swig_ruby_hash_delete = 0;
|
2119
|
+
#endif
|
2120
|
+
|
2077
2121
|
|
2078
2122
|
/* check to see if the circular list has been setup, if not, set it up */
|
2079
2123
|
if (swig_module.next==0) {
|
@@ -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 */
|
@@ -1928,6 +1939,39 @@ SWIG_InitializeModule(void *clientdata) {
|
|
1928
1939
|
int found, init;
|
1929
1940
|
|
1930
1941
|
clientdata = clientdata;
|
1942
|
+
|
1943
|
+
// clear static variables for support reinitialization
|
1944
|
+
#ifdef SWIG_rb_eNullReferenceError_defined
|
1945
|
+
SWIG_rb_eNullReferenceError = Qnil;
|
1946
|
+
#endif
|
1947
|
+
#ifdef SWIG_rb_eObjectPreviouslyDeleted_defined
|
1948
|
+
SWIG_rb_eObjectPreviouslyDeleted = Qnil;
|
1949
|
+
#endif
|
1950
|
+
//#ifdef _mSWIG_defined
|
1951
|
+
// _mSWIG = Qnil;
|
1952
|
+
//#endif
|
1953
|
+
#ifdef _cSWIG_Pointer_defined
|
1954
|
+
_cSWIG_Pointer = Qnil;
|
1955
|
+
#endif
|
1956
|
+
#ifdef swig_runtime_data_type_pointer_defined
|
1957
|
+
swig_runtime_data_type_pointer = Qnil;
|
1958
|
+
#endif
|
1959
|
+
#ifdef swig_arity_id_defined
|
1960
|
+
swig_arity_id = 0;
|
1961
|
+
#endif
|
1962
|
+
#ifdef swig_call_id_defined
|
1963
|
+
swig_call_id = 0;
|
1964
|
+
#endif
|
1965
|
+
#ifdef swig_virtual_calls_defined
|
1966
|
+
swig_virtual_calls = 0;
|
1967
|
+
#endif
|
1968
|
+
#ifdef swig_ruby_trackings_defined
|
1969
|
+
swig_ruby_trackings = Qnil;
|
1970
|
+
#endif
|
1971
|
+
#ifdef swig_ruby_hash_delete_defined
|
1972
|
+
swig_ruby_hash_delete = 0;
|
1973
|
+
#endif
|
1974
|
+
|
1931
1975
|
|
1932
1976
|
/* check to see if the circular list has been setup, if not, set it up */
|
1933
1977
|
if (swig_module.next==0) {
|
@@ -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 */
|
@@ -2049,6 +2060,39 @@ SWIG_InitializeModule(void *clientdata) {
|
|
2049
2060
|
int found, init;
|
2050
2061
|
|
2051
2062
|
clientdata = clientdata;
|
2063
|
+
|
2064
|
+
// clear static variables for support reinitialization
|
2065
|
+
#ifdef SWIG_rb_eNullReferenceError_defined
|
2066
|
+
SWIG_rb_eNullReferenceError = Qnil;
|
2067
|
+
#endif
|
2068
|
+
#ifdef SWIG_rb_eObjectPreviouslyDeleted_defined
|
2069
|
+
SWIG_rb_eObjectPreviouslyDeleted = Qnil;
|
2070
|
+
#endif
|
2071
|
+
//#ifdef _mSWIG_defined
|
2072
|
+
// _mSWIG = Qnil;
|
2073
|
+
//#endif
|
2074
|
+
#ifdef _cSWIG_Pointer_defined
|
2075
|
+
_cSWIG_Pointer = Qnil;
|
2076
|
+
#endif
|
2077
|
+
#ifdef swig_runtime_data_type_pointer_defined
|
2078
|
+
swig_runtime_data_type_pointer = Qnil;
|
2079
|
+
#endif
|
2080
|
+
#ifdef swig_arity_id_defined
|
2081
|
+
swig_arity_id = 0;
|
2082
|
+
#endif
|
2083
|
+
#ifdef swig_call_id_defined
|
2084
|
+
swig_call_id = 0;
|
2085
|
+
#endif
|
2086
|
+
#ifdef swig_virtual_calls_defined
|
2087
|
+
swig_virtual_calls = 0;
|
2088
|
+
#endif
|
2089
|
+
#ifdef swig_ruby_trackings_defined
|
2090
|
+
swig_ruby_trackings = Qnil;
|
2091
|
+
#endif
|
2092
|
+
#ifdef swig_ruby_hash_delete_defined
|
2093
|
+
swig_ruby_hash_delete = 0;
|
2094
|
+
#endif
|
2095
|
+
|
2052
2096
|
|
2053
2097
|
/* check to see if the circular list has been setup, if not, set it up */
|
2054
2098
|
if (swig_module.next==0) {
|