rhodes 7.5.1 → 7.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +319 -0
  3. data/README.md +3 -15
  4. data/Rakefile +3 -0
  5. data/appveyor.yml +37 -32
  6. data/azure-pipelines.yml +1 -1
  7. data/bin/rhodes-setup +22 -8
  8. data/extensions/emdk3-manager/ext/platform/android/src/com/rho/emdk3/EMDK3Extension.java +14 -5
  9. data/extensions/instrumentation/ext/platform/android/src/com/rho/instrumentation/Instrumentation.java +29 -15
  10. data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/src/com/rhomobile/rhoelements/ans/ANSManager.java +1 -1
  11. data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/rhoelements_temp/src/com/rho/rhoelements/ElementsCore.java +12 -9
  12. data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/rhoelements_temp/src/com/rho/rhoelements/graphics/BatteryIndicator.java +2 -2
  13. data/lib/commonAPI/barcode/ext/platform/qt/Barcode.pro +1 -1
  14. data/lib/commonAPI/barcode/ext/platform/qt/Barcode.pro.erb +2 -2
  15. data/lib/commonAPI/barcode/ext/platform/qt/src/qzxing/QZXing.pri +9 -21
  16. data/lib/commonAPI/barcode/ext.yml +1 -0
  17. data/lib/commonAPI/bluetooth/ext/platform/qt/Bluetooth.pro +1 -1
  18. data/lib/commonAPI/bluetooth/ext/platform/qt/Bluetooth.pro.erb +1 -1
  19. data/lib/commonAPI/bluetooth/ext/platform/qt/src/bluetooth/bluetoothhelper.h +1 -1
  20. data/lib/commonAPI/coreapi/RhoSystemApi.rb +6 -0
  21. data/lib/commonAPI/coreapi/ext/Intent.xml +4 -0
  22. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/intent/IntentSingleton.java +6 -0
  23. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/Notification.java +2 -1
  24. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationScheduler.java +1 -1
  25. data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/webview/WebViewSingleton.java +40 -27
  26. data/lib/commonAPI/coreapi/ext/platform/iphone/cpp_based_impl/SystemImpl.mm +5 -6
  27. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/Intent.h +1 -1
  28. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/Intent.m +3 -1
  29. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.h +2 -1
  30. data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.m +10 -0
  31. data/lib/commonAPI/coreapi/ext/platform/wm/src/IntentImpl.cpp +3 -0
  32. data/lib/commonAPI/coreapi/ext/shared/SystemImplBase.cpp +13 -0
  33. data/lib/commonAPI/coreapi/ext/shared/SystemImplBase.h +2 -0
  34. data/lib/commonAPI/coreapi/ext/system.xml +3 -0
  35. data/lib/commonAPI/mediacapture/ext/platform/android/ApplicationCameraActivity.erb +2 -2
  36. data/lib/commonAPI/mediacapture/ext/platform/android/ApplicationFileProvider.erb +1 -1
  37. data/lib/commonAPI/mediacapture/ext/platform/android/ext_java.files +1 -0
  38. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java +8 -4
  39. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraRhoListener.java +8 -0
  40. data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/mediacapture/RhoCameraFileProvider.java +6 -0
  41. data/lib/commonAPI/mediacapture/ext/platform/qt/MediaCapture.pro.erb +1 -1
  42. data/lib/commonAPI/mediacapture/ext/platform/qt/Mediacapture.pro +1 -1
  43. data/lib/commonAPI/signature/ext/platform/iphone/impl/readme.txt +7 -0
  44. data/lib/commonAPI/signature/ext/platform/qt/Signature.pro +3 -10
  45. data/lib/commonAPI/signature/ext/platform/qt/Signature.pro.erb +2 -2
  46. data/lib/extensions/fcm-push/ext/iphone/Podfile +15 -2
  47. data/lib/extensions/fcm-push/ext/iphone/fcm-push.xcodeproj/project.pbxproj +6 -7
  48. data/lib/extensions/nfc/ext/platform/android/src/com/rhomobile/nfc/Nfc.java +2 -1
  49. data/lib/extensions/serialport/ext/serialport.pro +1 -1
  50. data/platform/android/Rhodes/jni/include/rhodes/JNIRhodes.h +1 -0
  51. data/platform/android/Rhodes/jni/src/fileapi.cpp +4 -0
  52. data/platform/android/Rhodes/res/drawable/baseline_check_24.xml +5 -0
  53. data/platform/android/Rhodes/res/drawable/baseline_check_240.xml +5 -0
  54. data/platform/android/Rhodes/res/drawable/baseline_close_24.xml +5 -0
  55. data/platform/android/Rhodes/res/drawable/baseline_close_240.xml +5 -0
  56. data/platform/android/Rhodes/res/layout/overlay_layout.xml +39 -0
  57. data/platform/android/Rhodes/res/layout/perrmission_alert_dialog.xml +267 -0
  58. data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +183 -66
  59. data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +38 -6
  60. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoFileProvider.java +32 -0
  61. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +529 -89
  62. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesApplication.java +26 -4
  63. data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +256 -160
  64. data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/AbstractRhoExtension.java +14 -3
  65. data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtManager.java +4 -0
  66. data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/IRhoExtension.java +5 -4
  67. data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerImpl.java +79 -38
  68. data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocation.java +6 -1
  69. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/CallReceiver.java +22 -0
  70. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/IKioskMode.java +11 -0
  71. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/KioskManager.java +18 -0
  72. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/MyAccessibilityService.java +230 -0
  73. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/MyNotificationListenerService.java +16 -0
  74. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/MyOverlayService.java +197 -0
  75. data/platform/android/Rhodes/src/com/rhomobile/rhodes/kioskservices/PermissionManager.java +232 -0
  76. data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +34 -8
  77. data/platform/android/Rhodes/src/com/rhomobile/rhodes/permissioncheck/CheckDrawable.java +53 -0
  78. data/platform/android/Rhodes/src/com/rhomobile/rhodes/permissioncheck/PermissionListGenerate.java +366 -0
  79. data/platform/android/Rhodes/src/com/rhomobile/rhodes/rhodes.iml +11 -0
  80. data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/SSLImpl.java +1 -0
  81. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/GoogleWebView.java +782 -41
  82. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoInputConnectionWrapper.java +146 -0
  83. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoInputListener.java +21 -0
  84. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +92 -32
  85. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/TauWebViewOptions.java +118 -0
  86. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/WebSettingsProviderBase.java +18 -17
  87. data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/WebSettingsProviderEclairMR1.java +4 -4
  88. data/platform/android/build/RhodesSRC_build.files +13 -0
  89. data/platform/android/build/android-repack.rake +8 -1
  90. data/platform/android/build/android.rake +118 -51
  91. data/platform/android/build/android_tools.rb +1 -1
  92. data/platform/android/build/androidcommon.rb +13 -7
  93. data/platform/android/build/config.yml +4 -1
  94. data/platform/android/build/manifest_generator.rb +14 -10
  95. data/platform/android/build/maven_deps_extractor.rb +7 -1
  96. data/platform/android/build/ndkwrapper.rb +12 -0
  97. data/platform/android/proguard/proguard-base-rules.pro +5 -0
  98. data/platform/android/proguard/proguard.jar +0 -0
  99. data/platform/iphone/Classes/RhoAppBaseLib-Bridging-Header.h +4 -0
  100. data/platform/iphone/Classes/RhoAppBaseStandaloneLib-Bridging-Header.h +4 -0
  101. data/platform/iphone/Classes/RhoCryptAESGCM.swift +105 -0
  102. data/platform/iphone/Classes/RhoUIWebView.h +1 -1
  103. data/platform/iphone/Classes/RhoUIWebView.m +1 -1
  104. data/platform/iphone/Classes/RhoWKWebView.h +1 -1
  105. data/platform/iphone/Classes/RhoWKWebView.mm +32 -4
  106. data/platform/iphone/Classes/RhoWebView.h +1 -1
  107. data/platform/iphone/Classes/RhoWebViewFabrique.m +7 -1
  108. data/platform/iphone/Classes/SimpleMainView.m +5 -5
  109. data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +21 -10
  110. data/platform/iphone/Classes/rho/net/IPhoneNetRequest.mm +4 -0
  111. data/platform/iphone/Framework/RhoApplication/RhoApplication.xcodeproj/project.pbxproj +1 -1
  112. data/platform/iphone/Framework/Rhodes/Rhodes.xcodeproj/project.pbxproj +1 -1
  113. data/platform/iphone/RhoAppBaseLib/RhoAppBaseLib.xcodeproj/project.pbxproj +46 -1
  114. data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +1 -1
  115. data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +4 -1
  116. data/platform/iphone/rbuild/iphone.rake +9 -8
  117. data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +4 -1
  118. data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +1 -1
  119. data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +1 -1
  120. data/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip +0 -0
  121. data/platform/sailfish/build/{harbour-SailfishRhodes.pro.erb → SailfishRhodes.pro.erb} +10 -17
  122. data/platform/sailfish/build/rhodes.pro.erb +7 -17
  123. data/platform/sailfish/build/rpm/SailfishRhodes.desktop.erb +12 -0
  124. data/platform/sailfish/build/rpm/SailfishRhodes.erb +2 -0
  125. data/platform/sailfish/build/rpm/SailfishRhodes.spec.erb +43 -0
  126. data/platform/sailfish/build/rubylib.pro.erb +29 -29
  127. data/platform/sailfish/build/sailfish.rake +188 -180
  128. data/platform/sailfish/keys/regular_cert.pem +14 -0
  129. data/platform/sailfish/keys/regular_key.pem +4 -0
  130. data/platform/shared/common/RhodesApp.cpp +33 -9
  131. data/platform/shared/common/iphone/RhoCryptImpl.mm +130 -54
  132. data/platform/shared/qt/RhoSimulator.pro +1 -1
  133. data/platform/shared/qt/rhodes/rhodes.pro +4 -11
  134. data/platform/shared/qt/sailfish/SailfishRhodes.desktop +3 -4
  135. data/platform/shared/qt/sailfish/SailfishRhodes.pro +9 -10
  136. data/platform/shared/qt/sailfish/icons/108x108/108x108.png +0 -0
  137. data/platform/shared/qt/sailfish/privileges/sailfishrhodes +2 -0
  138. data/platform/shared/qt/sailfish/qml/pages/FirstPageWK.qml +7 -11
  139. data/platform/shared/qt/sailfish/qml/{harbour-sailfishrhodes.qml → sailfishrhodes.qml} +1 -1
  140. data/platform/shared/qt/sailfish/rpm/sailfishrhodes.spec +80 -0
  141. data/platform/shared/qt/sailfish/rpm/{harbour-sailfishrhodes.yaml → sailfishrhodes.yaml} +2 -2
  142. data/platform/shared/qt/sailfish/src/QtMainWindow.cpp +1 -1
  143. data/platform/shared/qt/sailfish/src/QtMainWindow.h +1 -1
  144. data/platform/shared/qt/sailfish/src/main.cpp +6 -38
  145. data/platform/shared/qt/sailfish/src/rootdelegate.h +2 -14
  146. data/platform/shared/ruby/aurora/ruby/config.h +386 -0
  147. data/platform/shared/ruby/aurora/ruby/constdefs.c +5866 -0
  148. data/platform/shared/ruby/aurora/ruby/constdefs.h +1788 -0
  149. data/platform/shared/sqlite/crypto.c +14 -0
  150. data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
  151. data/platform/win32/build/rhodes.nsi +3 -3
  152. data/platform/win32/build/win32.rake +1 -1
  153. data/rakefile.rb +3 -0
  154. data/res/build-tools/iphonesim/build/Release/iphonesim_8 +4 -4
  155. data/res/generators/templates/application/AndroidManifest.erb +26 -5
  156. data/res/generators/templates/application/build.yml +14 -10
  157. data/res/generators/templates/application/resources/android/res/xml/provider_paths.xml +4 -0
  158. data/res/generators/templates/application/rhoconfig.txt +10 -1
  159. data/res/generators/templates/iphone_project/Bremen8.xcodeproj/project.pbxproj +24 -1
  160. data/res/generators/templates/iphone_project/Classes/SimpleSwiftClass.swift +20 -0
  161. data/res/generators/templates/iphone_project/Classes/rhorunner-Bridging-Header.h +4 -0
  162. data/rhobuild.yml.example +3 -3
  163. data/rhodes.gemspec +4 -2
  164. data/version +1 -1
  165. metadata +81 -26
  166. data/platform/sailfish/build/rho_build.cmd.erb +0 -14
  167. data/platform/sailfish/build/rho_clean.cmd.erb +0 -14
  168. data/platform/sailfish/build/rho_deploy.cmd.erb +0 -15
  169. data/platform/sailfish/build/rho_rpm.cmd.erb +0 -14
  170. data/platform/sailfish/build/rho_rpmvalidation.cmd.erb +0 -14
  171. data/platform/sailfish/build/rpm/harbour-SailfishRhodes.desktop.erb +0 -7
  172. data/platform/sailfish/build/rpm/harbour-SailfishRhodes.erb +0 -2
  173. data/platform/sailfish/build/rpm/harbour-SailfishRhodes.yaml.erb +0 -37
  174. data/platform/shared/qt/sailfish/harbour-sailfishrhodes.desktop +0 -6
  175. data/platform/shared/qt/sailfish/icons/108x108/harbour-sailfishrhodes.png +0 -0
  176. data/platform/shared/qt/sailfish/privileges/harbour-sailfishrhodes +0 -2
  177. data/platform/shared/qt/sailfish/qml/pages/FirstPageWE.qml +0 -236
  178. /data/platform/shared/qt/sailfish/icons/128x128/{harbour-sailfishrhodes.png → sailfishrhodes.png} +0 -0
  179. /data/platform/shared/qt/sailfish/icons/172x172/{harbour-sailfishrhodes.png → sailfishrhodes.png} +0 -0
  180. /data/platform/shared/qt/sailfish/icons/86x86/{harbour-sailfishrhodes.png → sailfishrhodes.png} +0 -0
@@ -0,0 +1,386 @@
1
+ #ifndef INCLUDE_RUBY_CONFIG_H
2
+ #define INCLUDE_RUBY_CONFIG_H 1
3
+ /* confdefs.h */
4
+ #define CANONICALIZATION_FOR_MATHN 1
5
+ #define STDC_HEADERS 1
6
+ #define HAVE_SYS_TYPES_H 1
7
+ #define HAVE_SYS_STAT_H 1
8
+ #define HAVE_STDLIB_H 1
9
+ #define HAVE_STRING_H 1
10
+ #define HAVE_MEMORY_H 1
11
+ #define HAVE_STRINGS_H 1
12
+ #define HAVE_INTTYPES_H 1
13
+ #define HAVE_STDINT_H 1
14
+ #define HAVE_UNISTD_H 1
15
+ #define __EXTENSIONS__ 1
16
+ #define _ALL_SOURCE 1
17
+ #define _GNU_SOURCE 1
18
+ #define _POSIX_PTHREAD_SEMANTICS 1
19
+ #define _TANDEM_SOURCE 1
20
+ #define HAVE_INFINITY 1
21
+ #define HAVE_NAN 1
22
+ #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
23
+ #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
24
+ #define HAVE_LIBDL 1
25
+ #define HAVE_DIRENT_H 1
26
+ #define HAVE__BOOL 1
27
+ #define HAVE_STDBOOL_H 1
28
+ #define HAVE_SYS_WAIT_H 1
29
+ #define HAVE_GRP_H 1
30
+ #define HAVE_FCNTL_H 1
31
+ #define HAVE_FLOAT_H 1
32
+ #define HAVE_LANGINFO_H 1
33
+ #define HAVE_LIMITS_H 1
34
+ #define HAVE_LOCALE_H 1
35
+
36
+ //#define HAVE_MALLOC_MALLOC_H 1
37
+ #define HAVE_PWD_H 1
38
+ #define HAVE_SYS_FCNTL_H 1
39
+ #define HAVE_SYS_FILE_H 1
40
+ #define HAVE_SYS_IOCTL_H 1
41
+ #define HAVE_SYS_PARAM_H 1
42
+ #define HAVE_SYS_RESOURCE_H 1
43
+ #define HAVE_SYS_SELECT_H 1
44
+ #define HAVE_SYS_SOCKET_H 1
45
+ #define HAVE_SYS_SYSCALL_H 1
46
+ #define HAVE_SYS_TIME_H 1
47
+ #define HAVE_SYS_TIMES_H 1
48
+ #define HAVE_SYS_UIO_H 1
49
+ #define HAVE_TIME_H 1
50
+ #define HAVE_UTIME_H 1
51
+ #define HAVE_TYPEOF 1
52
+ #define typeof __typeof__
53
+ #define HAVE_LONG_LONG 1
54
+ #define HAVE_OFF_T 1
55
+ #define SIZEOF_INT 4
56
+ #define SIZEOF_SHORT 2
57
+ #define SIZEOF_LONG 4
58
+ #define SIZEOF_LONG_LONG 8
59
+ #define SIZEOF___INT64 0
60
+ #define SIZEOF_OFF_T 8
61
+ #define SIZEOF_VOIDP 4
62
+ #define SIZEOF_FLOAT 4
63
+ #define SIZEOF_DOUBLE 8
64
+ #define SIZEOF_TIME_T 4
65
+ #define SIZEOF_CLOCK_T 4
66
+ #define PACKED_STRUCT(x) x __attribute__((packed))
67
+ #define PACKED_STRUCT_UNALIGNED(x) x
68
+ #define PRI_LL_PREFIX "ll"
69
+ #define rb_pid_t pid_t
70
+ #define SIGNEDNESS_OF_PID_T -1
71
+ #define PIDT2NUM(v) INT2NUM(v)
72
+ #define NUM2PIDT(v) NUM2INT(v)
73
+ #define PRI_PIDT_PREFIX PRI_INT_PREFIX
74
+ #define rb_uid_t uid_t
75
+ #define SIGNEDNESS_OF_UID_T +1
76
+ #define UIDT2NUM(v) UINT2NUM(v)
77
+ #define NUM2UIDT(v) NUM2UINT(v)
78
+ #define PRI_UIDT_PREFIX PRI_INT_PREFIX
79
+ #define rb_gid_t gid_t
80
+ #define SIGNEDNESS_OF_GID_T +1
81
+ #define GIDT2NUM(v) UINT2NUM(v)
82
+ #define NUM2GIDT(v) NUM2UINT(v)
83
+ #define PRI_GIDT_PREFIX PRI_INT_PREFIX
84
+ #define rb_time_t time_t
85
+ #define SIGNEDNESS_OF_TIME_T -1
86
+ #define TIMET2NUM(v) LONG2NUM(v)
87
+ #define NUM2TIMET(v) NUM2LONG(v)
88
+ #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
89
+ #define rb_dev_t dev_t
90
+ #define SIGNEDNESS_OF_DEV_T -1
91
+ #define DEVT2NUM(v) INT2NUM(v)
92
+ #define NUM2DEVT(v) NUM2INT(v)
93
+ #define PRI_DEVT_PREFIX PRI_INT_PREFIX
94
+ #define rb_mode_t mode_t
95
+ #define SIGNEDNESS_OF_MODE_T +1
96
+ #define MODET2NUM(v) UINT2NUM(v)
97
+ #define NUM2MODET(v) NUM2UINT(v)
98
+ #define PRI_MODET_PREFIX PRI_INT_PREFIX
99
+ #define rb_rlim_t rlim_t
100
+ #define SIGNEDNESS_OF_RLIM_T +1
101
+ #define RLIM2NUM(v) ULL2NUM(v)
102
+ #define NUM2RLIM(v) NUM2ULL(v)
103
+ #define PRI_RLIM_PREFIX PRI_LL_PREFIX
104
+ #define rb_off_t off_t
105
+ #define SIGNEDNESS_OF_OFF_T -1
106
+ #define OFFT2NUM(v) LL2NUM(v)
107
+ #define NUM2OFFT(v) NUM2LL(v)
108
+ #define PRI_OFFT_PREFIX PRI_LL_PREFIX
109
+ #define rb_clockid_t int
110
+ #define SIGNEDNESS_OF_CLOCKID_T -1
111
+ #define CLOCKID2NUM(v) INT2NUM(v)
112
+ #define NUM2CLOCKID(v) NUM2INT(v)
113
+ #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
114
+ #define HAVE_PROTOTYPES 1
115
+ #define TOKEN_PASTE(x,y) x##y
116
+ #define STRINGIZE(expr) STRINGIZE0(expr)
117
+ #define HAVE_STDARG_PROTOTYPES 1
118
+ #define HAVE_VA_ARGS_MACRO 1
119
+ #define NORETURN(x) __attribute__ ((noreturn)) x
120
+ #define DEPRECATED(x) __attribute__ ((deprecated)) x
121
+ #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
122
+ #define DEPRECATED_TYPE(mesg,x) x __attribute__ ((deprecated mesg))
123
+ #define NOINLINE(x) __attribute__ ((noinline)) x
124
+ #define WEAK(x) __attribute__ ((weak)) x
125
+ #define HAVE_FUNC_WEAK 1
126
+ #define HAVE_GCC_ATOMIC_BUILTINS 1
127
+ #define HAVE_GCC_SYNC_BUILTINS 1
128
+ #define UNREACHABLE __builtin_unreachable()
129
+ #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
130
+ #define RUBY_FUNCTION_NAME_STRING __func__
131
+ #define ENUM_OVER_INT 1
132
+ #define HAVE_DECL_SYS_NERR 1
133
+ #define HAVE_DECL_GETENV 1
134
+ #define SIZEOF_SIZE_T 4
135
+ #define SIZEOF_PTRDIFF_T 4
136
+ #define PRI_SIZE_PREFIX "z"
137
+ #define PRI_PTRDIFF_PREFIX "t"
138
+ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
139
+ #define HAVE_ST_BLKSIZE 1
140
+ #define HAVE_STRUCT_STAT_ST_BLOCKS 1
141
+ #define HAVE_ST_BLOCKS 1
142
+ #define HAVE_STRUCT_STAT_ST_RDEV 1
143
+ #define HAVE_ST_RDEV 1
144
+ #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
145
+ #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
146
+ #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG_LONG
147
+ #define HAVE_STRUCT_TIMEVAL 1
148
+ #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
149
+ #define HAVE_STRUCT_TIMESPEC 1
150
+ #define HAVE_STRUCT_TIMEZONE 1
151
+ #define HAVE_RB_FD_INIT 1
152
+ #define HAVE_INT8_T 1
153
+ #define SIZEOF_INT8_T 1
154
+ #define HAVE_UINT8_T 1
155
+ #define SIZEOF_UINT8_T 1
156
+ #define HAVE_INT16_T 1
157
+ #define SIZEOF_INT16_T 2
158
+ #define HAVE_UINT16_T 1
159
+ #define SIZEOF_UINT16_T 2
160
+ #define HAVE_INT32_T 1
161
+ #define SIZEOF_INT32_T 4
162
+ #define HAVE_UINT32_T 1
163
+ #define SIZEOF_UINT32_T 4
164
+ #define HAVE_INT64_T 1
165
+ #define SIZEOF_INT64_T 8
166
+ #define HAVE_UINT64_T 1
167
+ #define SIZEOF_UINT64_T 8
168
+ #define HAVE_INTPTR_T 1
169
+ #define SIZEOF_INTPTR_T 4
170
+ #define HAVE_UINTPTR_T 1
171
+ #define SIZEOF_UINTPTR_T 4
172
+ #define HAVE_SSIZE_T 1
173
+ #define SIZEOF_SSIZE_T 4
174
+ #define GETGROUPS_T gid_t
175
+ #define RETSIGTYPE void
176
+ #define HAVE_ALLOCA_H 1
177
+ #define HAVE_ALLOCA 1
178
+ #define HAVE_ACOSH 1
179
+ #define HAVE_CBRT 1
180
+ #define HAVE_CRYPT 1
181
+ #define HAVE_DUP2 1
182
+ #define HAVE_ERF 1
183
+ #define HAVE_FFS 1
184
+ #define HAVE_FLOCK 1
185
+ #define HAVE_HYPOT 1
186
+ #define HAVE_ISINF 1
187
+ #define HAVE_ISNAN 1
188
+ #define HAVE_LGAMMA_R 1
189
+ #define HAVE_MEMMOVE 1
190
+ #define HAVE_NEXTAFTER 1
191
+ #define HAVE_STRCHR 1
192
+ #define HAVE_STRERROR 1
193
+ #define HAVE_STRLCAT 1
194
+ #define HAVE_STRLCPY 1
195
+ #define HAVE_STRSTR 1
196
+ #define HAVE_TGAMMA 1
197
+ #define HAVE_SIGNBIT 1
198
+ #define HAVE_FORK 1
199
+ #define HAVE_VFORK 1
200
+ #define HAVE_WORKING_VFORK 1
201
+ #define HAVE_WORKING_FORK 1
202
+ #define HAVE___SYSCALL 1
203
+ #define HAVE__LONGJMP 1
204
+ #define HAVE_ATAN2L 1
205
+ #define HAVE_ATAN2F 1
206
+ #define HAVE_CHROOT 1
207
+ #define HAVE_CLOCK_GETTIME 1
208
+ #define HAVE_COSH 1
209
+ #define HAVE_DIRFD 1
210
+ #define HAVE_DLOPEN 1
211
+ //RHO
212
+ //#define HAVE_DLADDR 1
213
+ #define HAVE_DUP 1
214
+ #define HAVE_ENDGRENT 1
215
+ #define HAVE_FCHMOD 1
216
+ #define HAVE_FCHOWN 1
217
+ #define HAVE_FCNTL 1
218
+ #define HAVE_FDATASYNC 1
219
+ #define HAVE_FGETATTRLIST 1
220
+ #define HAVE_FMOD 1
221
+ #define HAVE_FSYNC 1
222
+ #define HAVE_FTRUNCATE 1
223
+ #define HAVE_GETCWD 1
224
+ #define HAVE_GETGRNAM 1
225
+ #define HAVE_GETGRNAM_R 1
226
+ #define HAVE_GETGROUPS 1
227
+ #define HAVE_GETPGID 1
228
+ #define HAVE_GETPGRP 1
229
+ #define HAVE_GETPRIORITY 1
230
+ #define HAVE_GETPWNAM_R 1
231
+ #define HAVE_GETRLIMIT 1
232
+ #define HAVE_GETSID 1
233
+ #define HAVE_GETTIMEOFDAY 1
234
+ #define HAVE_GMTIME_R 1
235
+ #define HAVE_INITGROUPS 1
236
+ #define HAVE_IOCTL 1
237
+ //#define HAVE_ISSETUGID 1
238
+ #define HAVE_KILLPG 1
239
+ //#define HAVE_LCHMOD 1
240
+ #define HAVE_LCHOWN 1
241
+ #define HAVE_LINK 1
242
+ #define HAVE_LLABS 1
243
+ #define HAVE_LOCKF 1
244
+ #define HAVE_LOG2 1
245
+ #define HAVE_LSTAT 1
246
+ //#define HAVE_MALLOC_SIZE 1
247
+ //#define HAVE_MALLOC_USABLE_SIZE 1
248
+ #define HAVE_MBLEN 1
249
+ //#define HAVE_MEMSET_S 1
250
+ #define HAVE_WRITEV 1
251
+ #define HAVE_MKFIFO 1
252
+ #define HAVE_MKNOD 1
253
+ #define HAVE_MKTIME 1
254
+ #define HAVE_POLL 1
255
+ #define HAVE_POSIX_MEMALIGN 1
256
+ #define HAVE_PREAD 1
257
+ #define HAVE_QSORT_R 1
258
+ #define HAVE_READLINK 1
259
+ #define HAVE_ROUND 1
260
+ #define HAVE_SEEKDIR 1
261
+ #define HAVE_SENDFILE 1
262
+ #define HAVE_SETEGID 1
263
+ #define HAVE_SETENV 1
264
+ #define HAVE_SETEUID 1
265
+ #define HAVE_SETGID 1
266
+ #define HAVE_SETGROUPS 1
267
+ #define HAVE_SETPGID 1
268
+ #define HAVE_SETPGRP 1
269
+ #define HAVE_SETREGID 1
270
+ #define HAVE_SETREUID 1
271
+ //#define HAVE_SETRGID 1
272
+ #define HAVE_SETRLIMIT 1
273
+ //#define HAVE_SETRUID 1
274
+ #define HAVE_SETSID 1
275
+ #define HAVE_SETUID 1
276
+ #define HAVE_SHUTDOWN 1
277
+ #define HAVE_SIGACTION 1
278
+ #define HAVE_SIGALTSTACK 1
279
+ #define HAVE_SIGPROCMASK 1
280
+ #define HAVE_SINH 1
281
+ #define HAVE_SYMLINK 1
282
+ #define HAVE_SYSCALL 1
283
+ #define HAVE_SYSCONF 1
284
+ #define HAVE_TANH 1
285
+ #define HAVE_TELLDIR 1
286
+ #define HAVE_TIMEGM 1
287
+ #define HAVE_TIMES 1
288
+ #define HAVE_TRUNCATE 1
289
+ #define HAVE_UNSETENV 1
290
+ #define HAVE_UTIMES 1
291
+ #define HAVE_WAIT4 1
292
+ #define HAVE_WAITPID 1
293
+ #if !defined __STDC_WANT_LIB_EXT1__
294
+ #define __STDC_WANT_LIB_EXT1__ 1
295
+ #endif /* !defined __STDC_WANT_LIB_EXT1__ */
296
+ #define NO_GETCWD_MALLOC 1
297
+ #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
298
+ #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
299
+ #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
300
+ #define HAVE_BUILTIN___BUILTIN_CLZ 1
301
+ #define HAVE_BUILTIN___BUILTIN_CLZL 1
302
+ #define HAVE_BUILTIN___BUILTIN_CLZLL 1
303
+ #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
304
+ //RHO
305
+ //#define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
306
+ //#define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
307
+ //RHO
308
+ #define HAVE_BSD_QSORT_R 1
309
+ #define ATAN2_INF_C99 1
310
+ #define HAVE_CLOCK_GETRES 1
311
+ #define HAVE_STRUCT_TM_TM_ZONE 1
312
+ #define HAVE_TM_ZONE 1
313
+ #define HAVE_STRUCT_TM_TM_GMTOFF 1
314
+ #define HAVE_DAYLIGHT 1
315
+ #define HAVE_VAR_TIMEZONE 1
316
+ #define TYPEOF_VAR_TIMEZONE long
317
+ #define HAVE_TIMEZONE 1
318
+ #define TIMEZONE_VOID 1
319
+ #define NEGATIVE_TIME_T 1
320
+ #define LOCALTIME_OVERFLOW_PROBLEM 1
321
+ #define POSIX_SIGNAL 1
322
+ #define RSHIFT(x,y) ((x)>>(int)(y))
323
+ #define HAVE__SC_CLK_TCK 1
324
+ #define STACK_GROW_DIRECTION 0
325
+ #define _REENTRANT 1
326
+ #define _THREAD_SAFE 1
327
+ #define HAVE_LIBPTHREAD 1
328
+ #define HAVE_SCHED_YIELD 1
329
+ #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
330
+ #define HAVE_PTHREAD_ATTR_GETSTACK 1
331
+ #define HAVE_PTHREAD_GETATTR_NP 1
332
+ //#define HAVE_PTHREAD_GET_STACKSIZE_NP 1
333
+ #define HAVE_PTHREAD_COND_INIT 1
334
+ #define HAVE_PTHREAD_CONDATTR_INIT 1
335
+ #define HAVE_PTHREAD_SIGMASK 1
336
+ #define HAVE_PTHREAD_SETNAME_NP 1
337
+ #define HAVE_PTHREAD_ATTR_INIT 1
338
+ //#define SET_CURRENT_THREAD_NAME(name) pthread_setname_np(name)
339
+ #define UCONTEXT_IN_SIGNAL_H 1
340
+ #define DEFINE_MCONTEXT_PTR(mc, uc) mcontext_t mc = (uc)->uc_mcontext
341
+ #define HAVE_GETCONTEXT 1
342
+ #define HAVE_SETCONTEXT 1
343
+ #define HAVE_BACKTRACE 1
344
+ #define DLEXT_MAXLEN 3
345
+ #define DLEXT ".so"
346
+ #define RUBY_SETJMP(env) __builtin_setjmp((void **)(env))
347
+ #define RUBY_LONGJMP(env,val) __builtin_longjmp((void **)(env),val)
348
+ #define RUBY_JMP_BUF jmp_buf
349
+ #define HAVE_PTHREAD_H 1
350
+ #define RUBY_PLATFORM "armv7-none"
351
+
352
+
353
+ //RHO
354
+ #define RUBY_EXPORT 1
355
+ #define LOAD_RELATIVE 1
356
+ #define DTRACE_PROBES_DISABLED 1
357
+
358
+
359
+
360
+ #ifndef TRUE
361
+ #define TRUE 1
362
+ #endif
363
+
364
+ #ifndef FALSE
365
+ #define FALSE 0
366
+ #endif
367
+
368
+ //#define NO_INITIAL_LOAD_PATH
369
+ //#define NO_RUBY_SITE_LIB
370
+ //#define NO_RUBY_VENDOR_LIB
371
+ //RHO
372
+
373
+ #define HAVE_GETADDRINFO 1
374
+ #define HAVE_TYPE_SOCKLEN_T 1
375
+ #define HAVE_TYPE_STRUCT_ADDRINFO 1
376
+ #define HAVE_TYPE_STRUCT_SOCKADDR_STORAGE 1
377
+ #define HAVE_GAI_STRERROR 1
378
+ #define GAI_STRERROR_CONST 1
379
+ #define HAVE_INET_PTON 1
380
+ #define HAVE_TYPE_STRUCT_IP_MREQ 1
381
+ #define HAVE_TYPE_STRUCT_IPV6_MREQ 1
382
+
383
+ //RHO for encoding & convertors
384
+ #define EXTSTATIC 1
385
+
386
+ #endif /* INCLUDE_RUBY_CONFIG_H */