rho-tau-extensions 6.0.11 → 6.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkcore.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkdummy.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkcore.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkdummy.so +0 -0
- data/libs/crosswalk/ext/platform/android/adds/lib/xwalk_core_library_java.jar +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/dropdown_item.xml +2 -2
- data/libs/crosswalk/ext/platform/android/adds/res/layout/dropdown_item.xml +1 -1
- data/libs/crosswalk/ext/platform/android/adds/res/menu/select_action_menu.xml +8 -8
- data/libs/crosswalk/ext/platform/android/adds/res/raw/icudtl.dat +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/xwalk.pak +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/raw/xwalk_100_percent.pak +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-am/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ar/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-bg/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ca/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-cs/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-da/android_ui_strings.xml +4 -3
- data/libs/crosswalk/ext/platform/android/adds/res/values-de/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-el/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-en-rGB/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-es-rUS/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-es/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fa/android_ui_strings.xml +2 -1
- data/libs/crosswalk/ext/platform/android/adds/res/values-fi/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-fr/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hi/android_ui_strings.xml +2 -1
- data/libs/crosswalk/ext/platform/android/adds/res/values-hr/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-hu/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-in/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-it/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-iw/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ja/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ko/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-lt/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-lv/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-nb/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-nl/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pl/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rBR/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rPT/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ro/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-ru/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sk/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sl/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sr/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sv/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-sw/android_ui_strings.xml +2 -1
- data/libs/crosswalk/ext/platform/android/adds/res/values-th/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-tl/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-tr/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-uk/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v17/{ui_java_styles.xml → styles_03.xml} +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-v21/{ui_java_styles.xml → styles_03.xml} +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-vi/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rTW/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/android_ui_strings.xml +1 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_attrs.xml → attrs.xml} +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/attrs_03.xml +18 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_colors.xml → colors_xwalk.xml} +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/{ui_java_dimens.xml → dimens_03.xml} +1 -3
- data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_dimens.xml → dimens_xwalk.xml} +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/ids_xwalk.xml +12 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/strings_00.xml +16 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_core_internal_java_strings.xml → strings_01.xml} +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_core_java_strings.xml → strings_02.xml} +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/{ui_java_strings.xml → strings_03.xml} +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_styles.xml → styles_00.xml} +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/{ui_java_styles.xml → styles_03.xml} +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_values.xml → values_00.xml} +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_app_strings.xml +7 -10
- data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_resources_list.xml +2 -1
- data/libs/enterprise-barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +8 -4
- data/libs/nodejs/ext/platform/iphone/Nodejs.xcodeproj/project.pbxproj +8 -4
- data/libs/openssl.so-edge/ext/android/armeabi/libcrypto.a +0 -0
- data/libs/openssl.so-edge/ext/android/armeabi/libssl.a +0 -0
- data/libs/openssl.so-edge/ext/android/x86/libcrypto.a +0 -0
- data/libs/openssl.so-edge/ext/android/x86/libssl.a +0 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/asn1t.h +19 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/dso.h +23 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/thread_once.h +5 -2
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1.h +5 -2
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1t.h +5 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bio.h +9 -12
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bn.h +1 -1
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/buffer.h +1 -4
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/conf.h +1 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/crypto.h +5 -1
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ct.h +17 -2
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dh.h +24 -6
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dsa.h +1 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/e_os2.h +3 -16
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ec.h +7 -12
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/engine.h +0 -2
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/err.h +3 -2
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/evp.h +11 -1
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/lhash.h +13 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/objects.h +2 -2
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ocsp.h +3 -16
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslconf.h +20 -8
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslv.h +3 -3
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rsa.h +2 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/seed.h +1 -3
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/srtp.h +1 -1
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl.h +85 -52
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl3.h +4 -1
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/tls1.h +6 -6
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ui.h +10 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509.h +1 -1
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509_vfy.h +5 -0
- data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509v3.h +1 -0
- data/version +1 -1
- metadata +19 -27
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-ldpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-mdpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/crosswalk.png +0 -0
- data/libs/crosswalk/ext/platform/android/adds/res/drawable/launchscreen_bg.xml +0 -19
- data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_suggestion_item.xml +0 -18
- data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_suggestion_item.xml +0 -7
- data/libs/crosswalk/ext/platform/android/adds/res/raw/contacts_api.js +0 -206
- data/libs/crosswalk/ext/platform/android/adds/res/raw/device_capabilities_api.js +0 -231
- data/libs/crosswalk/ext/platform/android/adds/res/raw/messaging_api.js +0 -359
- data/libs/crosswalk/ext/platform/android/adds/res/raw/presentation_api.js +0 -144
- data/libs/crosswalk/ext/platform/android/adds/res/values-v14/theme.xml +0 -16
- data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_attrs.xml +0 -9
@@ -641,7 +641,7 @@ int X509_get_signature_type(const X509 *x);
|
|
641
641
|
|
642
642
|
/*
|
643
643
|
* This one is only used so that a binary form can output, as in
|
644
|
-
* i2d_X509_NAME(X509_get_X509_PUBKEY(x)
|
644
|
+
* i2d_X509_NAME(X509_get_X509_PUBKEY(x), &buf)
|
645
645
|
*/
|
646
646
|
X509_PUBKEY *X509_get_X509_PUBKEY(const X509 *x);
|
647
647
|
const STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x);
|
@@ -458,12 +458,17 @@ int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param, int purpose);
|
|
458
458
|
int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust);
|
459
459
|
void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param, int depth);
|
460
460
|
void X509_VERIFY_PARAM_set_auth_level(X509_VERIFY_PARAM *param, int auth_level);
|
461
|
+
time_t X509_VERIFY_PARAM_get_time(const X509_VERIFY_PARAM *param);
|
461
462
|
void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t);
|
462
463
|
int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param,
|
463
464
|
ASN1_OBJECT *policy);
|
464
465
|
int X509_VERIFY_PARAM_set1_policies(X509_VERIFY_PARAM *param,
|
465
466
|
STACK_OF(ASN1_OBJECT) *policies);
|
466
467
|
|
468
|
+
int X509_VERIFY_PARAM_set_inh_flags(X509_VERIFY_PARAM *param,
|
469
|
+
uint32_t flags);
|
470
|
+
uint32_t X509_VERIFY_PARAM_get_inh_flags(const X509_VERIFY_PARAM *param);
|
471
|
+
|
467
472
|
int X509_VERIFY_PARAM_set1_host(X509_VERIFY_PARAM *param,
|
468
473
|
const char *name, size_t namelen);
|
469
474
|
int X509_VERIFY_PARAM_add1_host(X509_VERIFY_PARAM *param,
|
@@ -355,6 +355,7 @@ struct ISSUING_DIST_POINT_st {
|
|
355
355
|
# define EXFLAG_SI 0x20
|
356
356
|
# define EXFLAG_V1 0x40
|
357
357
|
# define EXFLAG_INVALID 0x80
|
358
|
+
/* EXFLAG_SET is set to indicate that some values have been precomputed */
|
358
359
|
# define EXFLAG_SET 0x100
|
359
360
|
# define EXFLAG_CRITICAL 0x200
|
360
361
|
# define EXFLAG_PROXY 0x400
|
data/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.0
|
1
|
+
6.2.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rho-tau-extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0
|
4
|
+
version: 6.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tau Technologies Dev Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rhodes extensions developed by Tau Technologies
|
14
14
|
email: info@tau-technologies.com
|
@@ -40,7 +40,6 @@ files:
|
|
40
40
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble.9.png
|
41
41
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/bubble_arrow_up.png
|
42
42
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/color_picker_advanced_select_handle.png
|
43
|
-
- libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/crosswalk.png
|
44
43
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/dropdown_popup_background_down.9.png
|
45
44
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/dropdown_popup_background_up.9.png
|
46
45
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_menu_share_holo_light.png
|
@@ -48,14 +47,11 @@ files:
|
|
48
47
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ic_warning.png
|
49
48
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/ondemand_overlay.9.png
|
50
49
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/verify_checkmark.png
|
51
|
-
- libs/crosswalk/ext/platform/android/adds/res/drawable-ldpi/crosswalk.png
|
52
|
-
- libs/crosswalk/ext/platform/android/adds/res/drawable-mdpi/crosswalk.png
|
53
50
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-v21/button_borderless_compat.xml
|
54
51
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-v21/button_compat.xml
|
55
52
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/bubble.9.png
|
56
53
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/bubble_arrow_up.png
|
57
54
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/color_picker_advanced_select_handle.png
|
58
|
-
- libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/crosswalk.png
|
59
55
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/dropdown_popup_background_down.9.png
|
60
56
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/dropdown_popup_background_up.9.png
|
61
57
|
- libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/ic_menu_share_holo_light.png
|
@@ -85,12 +81,10 @@ files:
|
|
85
81
|
- libs/crosswalk/ext/platform/android/adds/res/drawable/ic_menu_share_holo_light.png
|
86
82
|
- libs/crosswalk/ext/platform/android/adds/res/drawable/ic_search.png
|
87
83
|
- libs/crosswalk/ext/platform/android/adds/res/drawable/ic_warning.png
|
88
|
-
- libs/crosswalk/ext/platform/android/adds/res/drawable/launchscreen_bg.xml
|
89
84
|
- libs/crosswalk/ext/platform/android/adds/res/drawable/ondemand_overlay.9.png
|
90
85
|
- libs/crosswalk/ext/platform/android/adds/res/drawable/verify_checkmark.png
|
91
86
|
- libs/crosswalk/ext/platform/android/adds/res/layout-land/date_time_picker_dialog.xml
|
92
87
|
- libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_keyboard_accessory_item.xml
|
93
|
-
- libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_suggestion_item.xml
|
94
88
|
- libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_advanced_component.xml
|
95
89
|
- libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_dialog_content.xml
|
96
90
|
- libs/crosswalk/ext/platform/android/adds/res/layout-v17/color_picker_dialog_title.xml
|
@@ -101,7 +95,6 @@ files:
|
|
101
95
|
- libs/crosswalk/ext/platform/android/adds/res/layout-v17/validation_message_bubble.xml
|
102
96
|
- libs/crosswalk/ext/platform/android/adds/res/layout/autofill_keyboard_accessory_icon.xml
|
103
97
|
- libs/crosswalk/ext/platform/android/adds/res/layout/autofill_keyboard_accessory_item.xml
|
104
|
-
- libs/crosswalk/ext/platform/android/adds/res/layout/autofill_suggestion_item.xml
|
105
98
|
- libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_advanced_component.xml
|
106
99
|
- libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_dialog_content.xml
|
107
100
|
- libs/crosswalk/ext/platform/android/adds/res/layout/color_picker_dialog_title.xml
|
@@ -112,15 +105,12 @@ files:
|
|
112
105
|
- libs/crosswalk/ext/platform/android/adds/res/layout/two_field_date_picker.xml
|
113
106
|
- libs/crosswalk/ext/platform/android/adds/res/layout/validation_message_bubble.xml
|
114
107
|
- libs/crosswalk/ext/platform/android/adds/res/menu/select_action_menu.xml
|
115
|
-
- libs/crosswalk/ext/platform/android/adds/res/raw/contacts_api.js
|
116
|
-
- libs/crosswalk/ext/platform/android/adds/res/raw/device_capabilities_api.js
|
117
108
|
- libs/crosswalk/ext/platform/android/adds/res/raw/empty.wav
|
118
109
|
- libs/crosswalk/ext/platform/android/adds/res/raw/icudtl.dat
|
119
110
|
- libs/crosswalk/ext/platform/android/adds/res/raw/launch_screen_api.js
|
120
|
-
- libs/crosswalk/ext/platform/android/adds/res/raw/messaging_api.js
|
121
|
-
- libs/crosswalk/ext/platform/android/adds/res/raw/presentation_api.js
|
122
111
|
- libs/crosswalk/ext/platform/android/adds/res/raw/wifidirect_api.js
|
123
112
|
- libs/crosswalk/ext/platform/android/adds/res/raw/xwalk.pak
|
113
|
+
- libs/crosswalk/ext/platform/android/adds/res/raw/xwalk_100_percent.pak
|
124
114
|
- libs/crosswalk/ext/platform/android/adds/res/values-am/android_content_strings.xml
|
125
115
|
- libs/crosswalk/ext/platform/android/adds/res/values-am/android_ui_strings.xml
|
126
116
|
- libs/crosswalk/ext/platform/android/adds/res/values-ar/android_content_strings.xml
|
@@ -201,11 +191,10 @@ files:
|
|
201
191
|
- libs/crosswalk/ext/platform/android/adds/res/values-tr/android_ui_strings.xml
|
202
192
|
- libs/crosswalk/ext/platform/android/adds/res/values-uk/android_content_strings.xml
|
203
193
|
- libs/crosswalk/ext/platform/android/adds/res/values-uk/android_ui_strings.xml
|
204
|
-
- libs/crosswalk/ext/platform/android/adds/res/values-v14/theme.xml
|
205
194
|
- libs/crosswalk/ext/platform/android/adds/res/values-v17/styles.xml
|
206
|
-
- libs/crosswalk/ext/platform/android/adds/res/values-v17/
|
195
|
+
- libs/crosswalk/ext/platform/android/adds/res/values-v17/styles_03.xml
|
207
196
|
- libs/crosswalk/ext/platform/android/adds/res/values-v21/styles.xml
|
208
|
-
- libs/crosswalk/ext/platform/android/adds/res/values-v21/
|
197
|
+
- libs/crosswalk/ext/platform/android/adds/res/values-v21/styles_03.xml
|
209
198
|
- libs/crosswalk/ext/platform/android/adds/res/values-vi/android_content_strings.xml
|
210
199
|
- libs/crosswalk/ext/platform/android/adds/res/values-vi/android_ui_strings.xml
|
211
200
|
- libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_content_strings.xml
|
@@ -215,19 +204,21 @@ files:
|
|
215
204
|
- libs/crosswalk/ext/platform/android/adds/res/values/android_content_strings.xml
|
216
205
|
- libs/crosswalk/ext/platform/android/adds/res/values/android_ui_strings.xml
|
217
206
|
- libs/crosswalk/ext/platform/android/adds/res/values/android_xwalk_strings.xml
|
218
|
-
- libs/crosswalk/ext/platform/android/adds/res/values/
|
219
|
-
- libs/crosswalk/ext/platform/android/adds/res/values/
|
220
|
-
- libs/crosswalk/ext/platform/android/adds/res/values/
|
221
|
-
- libs/crosswalk/ext/platform/android/adds/res/values/
|
207
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/attrs.xml
|
208
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/attrs_03.xml
|
209
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/colors_xwalk.xml
|
210
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/dimens_03.xml
|
211
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/dimens_xwalk.xml
|
212
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/ids_xwalk.xml
|
213
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/strings_00.xml
|
214
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/strings_01.xml
|
215
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/strings_02.xml
|
216
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/strings_03.xml
|
217
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/styles_00.xml
|
218
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/styles_03.xml
|
219
|
+
- libs/crosswalk/ext/platform/android/adds/res/values/values_00.xml
|
222
220
|
- libs/crosswalk/ext/platform/android/adds/res/values/xwalk_app_strings.xml
|
223
|
-
- libs/crosswalk/ext/platform/android/adds/res/values/xwalk_attrs.xml
|
224
|
-
- libs/crosswalk/ext/platform/android/adds/res/values/xwalk_colors.xml
|
225
|
-
- libs/crosswalk/ext/platform/android/adds/res/values/xwalk_core_internal_java_strings.xml
|
226
|
-
- libs/crosswalk/ext/platform/android/adds/res/values/xwalk_core_java_strings.xml
|
227
|
-
- libs/crosswalk/ext/platform/android/adds/res/values/xwalk_dimens.xml
|
228
221
|
- libs/crosswalk/ext/platform/android/adds/res/values/xwalk_resources_list.xml
|
229
|
-
- libs/crosswalk/ext/platform/android/adds/res/values/xwalk_styles.xml
|
230
|
-
- libs/crosswalk/ext/platform/android/adds/res/values/xwalk_values.xml
|
231
222
|
- libs/crosswalk/ext/platform/android/ext_java.files
|
232
223
|
- libs/crosswalk/ext/platform/android/ext_native.files
|
233
224
|
- libs/crosswalk/ext/platform/android/jni/Crosswalk_impl.cpp
|
@@ -566,6 +557,7 @@ files:
|
|
566
557
|
- libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/rsa/rsa_locl.h
|
567
558
|
- libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/crypto/x509/x509_lcl.h
|
568
559
|
- libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/e_os.h
|
560
|
+
- libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/asn1t.h
|
569
561
|
- libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/bio.h
|
570
562
|
- libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/comp.h
|
571
563
|
- libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/conf.h
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
|
3
|
-
<!--
|
4
|
-
Copyright (c) 2014 Intel Corporation. All rights reserved.
|
5
|
-
Use of this source code is governed by a BSD-style license that can be
|
6
|
-
found in the LICENSE file.
|
7
|
-
-->
|
8
|
-
|
9
|
-
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
10
|
-
|
11
|
-
<!-- Background Color -->
|
12
|
-
<item>
|
13
|
-
<shape android:shape="rectangle" >
|
14
|
-
<solid android:color="#000000" />
|
15
|
-
</shape>
|
16
|
-
</item>
|
17
|
-
<!-- Background Image -->
|
18
|
-
|
19
|
-
</layer-list>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!-- Copyright 2015 The Chromium Authors. All rights reserved.
|
3
|
-
|
4
|
-
Use of this source code is governed by a BSD-style license that can be
|
5
|
-
found in the LICENSE file.
|
6
|
-
-->
|
7
|
-
|
8
|
-
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
9
|
-
android:layout_width="wrap_content"
|
10
|
-
android:layout_height="42dp"
|
11
|
-
android:paddingStart="8dp"
|
12
|
-
android:drawablePadding="10dp"
|
13
|
-
android:gravity="center_vertical"
|
14
|
-
android:ellipsize="end"
|
15
|
-
android:singleLine="true"
|
16
|
-
android:textAlignment="viewStart"
|
17
|
-
android:textColor="@android:color/white"
|
18
|
-
android:textSize="18sp" />
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!-- Copyright 2015 The Chromium Authors. All rights reserved.
|
3
|
-
|
4
|
-
Use of this source code is governed by a BSD-style license that can be
|
5
|
-
found in the LICENSE file.
|
6
|
-
-->
|
7
|
-
<TextView android:drawablePadding="10dp" android:ellipsize="end" android:gravity="center_vertical" android:layout_height="42dp" android:layout_width="wrap_content" android:paddingLeft="8dp" android:singleLine="true" android:textAlignment="viewStart" android:textColor="@android:color/white" android:textSize="18sp" xmlns:android="http://schemas.android.com/apk/res/android"/>
|
@@ -1,206 +0,0 @@
|
|
1
|
-
// Copyright (c) 2013 Intel Corporation. All rights reserved.
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
var g_next_async_call_id = 0;
|
6
|
-
var g_async_calls = [];
|
7
|
-
var g_listeners = [];
|
8
|
-
|
9
|
-
// Preserve first element for "oncontactschange" way event listener.
|
10
|
-
//
|
11
|
-
// Compared with addEventListener, the main difference is there is only one
|
12
|
-
// oncontactschange callback will be invoked. While addEventListener can
|
13
|
-
// add multiple callbacks when event "contactschanged" arrives.
|
14
|
-
//
|
15
|
-
// This listener can be set as "oncontactschange = function(){...};"
|
16
|
-
// and can be unset as "oncontactschange = null;"
|
17
|
-
g_listeners[0] = null;
|
18
|
-
var g_next_listener_id = 1;
|
19
|
-
|
20
|
-
function AsyncCall(resolve, reject) {
|
21
|
-
this.resolve = resolve;
|
22
|
-
this.reject = reject;
|
23
|
-
}
|
24
|
-
|
25
|
-
function createPromise(msg) {
|
26
|
-
var promise = new Promise(function(resolve, reject) {
|
27
|
-
g_async_calls[g_next_async_call_id] = new AsyncCall(resolve, reject);
|
28
|
-
});
|
29
|
-
msg.asyncCallId = g_next_async_call_id;
|
30
|
-
extension.postMessage(JSON.stringify(msg));
|
31
|
-
++g_next_async_call_id;
|
32
|
-
return promise;
|
33
|
-
}
|
34
|
-
|
35
|
-
function _addConstProperty(obj, propertyKey, propertyValue) {
|
36
|
-
Object.defineProperty(obj, propertyKey, {
|
37
|
-
configurable: false,
|
38
|
-
writable: false,
|
39
|
-
value: propertyValue
|
40
|
-
});
|
41
|
-
}
|
42
|
-
|
43
|
-
function _createConstClone(obj) {
|
44
|
-
var const_obj = {};
|
45
|
-
for (var key in obj) {
|
46
|
-
_addConstProperty(const_obj, key, obj[key]);
|
47
|
-
}
|
48
|
-
return const_obj;
|
49
|
-
}
|
50
|
-
|
51
|
-
extension.setMessageListener(function(json) {
|
52
|
-
var msg = JSON.parse(json);
|
53
|
-
|
54
|
-
if (msg.reply == 'contactschange') {
|
55
|
-
for (var id in g_listeners) {
|
56
|
-
if (typeof g_listeners[id] === 'function') {
|
57
|
-
g_listeners[id](_createConstClone(msg.data));
|
58
|
-
}
|
59
|
-
}
|
60
|
-
return;
|
61
|
-
}
|
62
|
-
|
63
|
-
if (msg.data) {
|
64
|
-
if (!msg.data.hasOwnProperty("error") || !msg.data.error) {
|
65
|
-
g_async_calls[msg.asyncCallId].resolve(msg.data);
|
66
|
-
} else {
|
67
|
-
g_async_calls[msg.asyncCallId].reject(msg.data);
|
68
|
-
}
|
69
|
-
} else {
|
70
|
-
console.log("WARNING: Message from backend doesn't have data.")
|
71
|
-
g_async_calls[msg.asyncCallId].resolve();
|
72
|
-
}
|
73
|
-
|
74
|
-
delete g_async_calls[msg.asyncCallId];
|
75
|
-
});
|
76
|
-
|
77
|
-
exports.save = function(contact) {
|
78
|
-
var msg = {};
|
79
|
-
msg['cmd'] = 'save';
|
80
|
-
msg['contact'] = contact;
|
81
|
-
return createPromise(msg);
|
82
|
-
}
|
83
|
-
|
84
|
-
exports.find = function(options) {
|
85
|
-
var msg = {};
|
86
|
-
msg['cmd'] = 'find';
|
87
|
-
msg['options'] = options;
|
88
|
-
return createPromise(msg);
|
89
|
-
};
|
90
|
-
|
91
|
-
exports.remove = function(contactId) {
|
92
|
-
var msg = {};
|
93
|
-
msg['cmd'] = 'remove';
|
94
|
-
msg['contactId'] = contactId;
|
95
|
-
return createPromise(msg);
|
96
|
-
};
|
97
|
-
|
98
|
-
exports.clear = function() {
|
99
|
-
var msg = {};
|
100
|
-
msg['cmd'] = 'clear';
|
101
|
-
return createPromise(msg);
|
102
|
-
}
|
103
|
-
|
104
|
-
function _addListener(isOnChange, callback) {
|
105
|
-
// Check validation of callback for addEventListener way.
|
106
|
-
if (!isOnChange && (typeof callback !== 'function')) {
|
107
|
-
console.log('Invalid parameters of callback!');
|
108
|
-
return -1;
|
109
|
-
}
|
110
|
-
|
111
|
-
// Check validation of callback for oncontactschanged way, it can be null or a function.
|
112
|
-
if (isOnChange && (callback !== null) && (typeof callback !== 'function')) {
|
113
|
-
console.log('Invalid parameters of callback!');
|
114
|
-
return -1;
|
115
|
-
}
|
116
|
-
|
117
|
-
var listener_id;
|
118
|
-
if (isOnChange) { // Set callback to oncontactschange()
|
119
|
-
g_listeners[0] = callback;
|
120
|
-
listener_id = 0;
|
121
|
-
} else { // Set callback by addEventListner()
|
122
|
-
listener_id = g_next_listener_id;
|
123
|
-
++g_next_listener_id;
|
124
|
-
g_listeners[listener_id] = callback;
|
125
|
-
}
|
126
|
-
|
127
|
-
// Notify native code there is valid listener.
|
128
|
-
if (g_listeners[0] != null || g_listeners.length > 1) {
|
129
|
-
var msg = { 'cmd': 'addEventListener' };
|
130
|
-
extension.postMessage(JSON.stringify(msg));
|
131
|
-
}
|
132
|
-
|
133
|
-
return listener_id;
|
134
|
-
}
|
135
|
-
|
136
|
-
exports.addEventListener = function(eventName, callback) {
|
137
|
-
if (eventName !== 'contactschange') {
|
138
|
-
console.log("Invalid parameters of eventName: "+eventName);
|
139
|
-
return -1;
|
140
|
-
}
|
141
|
-
return _addListener(false, callback);
|
142
|
-
}
|
143
|
-
|
144
|
-
Object.defineProperty(exports, 'oncontactschange', {
|
145
|
-
set: function(callback) {
|
146
|
-
_addListener(true, callback);
|
147
|
-
}
|
148
|
-
});
|
149
|
-
|
150
|
-
window.ContactField = function(init) {
|
151
|
-
this.types = init.types;
|
152
|
-
this.preferred = init.preferred;
|
153
|
-
this.value = init.value;
|
154
|
-
};
|
155
|
-
|
156
|
-
window.ContactTelField = function(init) {
|
157
|
-
this.carrier = init.carrier;
|
158
|
-
this.types = init.types;
|
159
|
-
this.preferred = init.preferred;
|
160
|
-
this.value = init.value;
|
161
|
-
};
|
162
|
-
|
163
|
-
window.ContactAddress = function(init) {
|
164
|
-
this.types = init.types;
|
165
|
-
this.preferred = init.preferred;
|
166
|
-
this.streetAddress = init.streetAddress;
|
167
|
-
this.locality = init.locality;
|
168
|
-
this.region = init.region;
|
169
|
-
this.postalCode = init.postalCode;
|
170
|
-
this.countryName = init.countryName;
|
171
|
-
};
|
172
|
-
|
173
|
-
window.ContactName = function(init) {
|
174
|
-
this.displayName = init.displayName;
|
175
|
-
this.honorificPrefixes = init.honorificPrefixes;
|
176
|
-
this.givenNames = init.givenNames;
|
177
|
-
this.additionalNames = init.additionalNames;
|
178
|
-
this.familyNames = init.familyNames;
|
179
|
-
this.honorificSuffixes = init.honorificSuffixes;
|
180
|
-
this.nicknames = init.nicknames;
|
181
|
-
};
|
182
|
-
|
183
|
-
window.Contact = function(init) {
|
184
|
-
this.id = null;
|
185
|
-
this.lastUpdated = new Date();
|
186
|
-
this.name = init.name;
|
187
|
-
this.emails = init.emails;
|
188
|
-
this.photos = init.photos;
|
189
|
-
this.urls = init.urls;
|
190
|
-
this.categories = init.categories;
|
191
|
-
this.addresses = init.addresses;
|
192
|
-
this.phoneNumbers = init.phoneNumbers;
|
193
|
-
this.organizations = init.organizations;
|
194
|
-
this.jobTitles = init.jobTitles;
|
195
|
-
this.birthday = init.birthday;
|
196
|
-
this.notes = init.notes;
|
197
|
-
this.impp = init.impp;
|
198
|
-
this.anniversary = init.anniversary;
|
199
|
-
this.gender = init.gender;
|
200
|
-
};
|
201
|
-
|
202
|
-
window.ContactsChangeEvent = function(init) {
|
203
|
-
this.added = init.added;
|
204
|
-
this.modified = init.modified;
|
205
|
-
this.removed = init.removed;
|
206
|
-
};
|
@@ -1,231 +0,0 @@
|
|
1
|
-
// Copyright (c) 2013 Intel Corporation. All rights reserved.
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
var g_next_async_call_id = 0;
|
6
|
-
var g_async_calls = [];
|
7
|
-
var g_listeners = [];
|
8
|
-
|
9
|
-
// Preserve 4 spaces to hold onattach, ondetach, onconnect and ondisconnect's
|
10
|
-
// callback functions.
|
11
|
-
var g_next_listener_id = 4;
|
12
|
-
|
13
|
-
function AsyncCall(resolve, reject) {
|
14
|
-
this.resolve = resolve;
|
15
|
-
this.reject = reject;
|
16
|
-
}
|
17
|
-
|
18
|
-
function createPromise(msg) {
|
19
|
-
var promise = new Promise(function(resolve, reject) {
|
20
|
-
g_async_calls[g_next_async_call_id] = new AsyncCall(resolve, reject);
|
21
|
-
});
|
22
|
-
msg.asyncCallId = g_next_async_call_id;
|
23
|
-
extension.postMessage(JSON.stringify(msg));
|
24
|
-
++g_next_async_call_id;
|
25
|
-
return promise;
|
26
|
-
}
|
27
|
-
|
28
|
-
exports.getCPUInfo = function() {
|
29
|
-
var msg = {
|
30
|
-
'cmd': 'getCPUInfo'
|
31
|
-
};
|
32
|
-
return createPromise(msg);
|
33
|
-
};
|
34
|
-
|
35
|
-
exports.getAVCodecs = function() {
|
36
|
-
var msg = {
|
37
|
-
'cmd': 'getCodecsInfo'
|
38
|
-
};
|
39
|
-
return createPromise(msg);
|
40
|
-
};
|
41
|
-
|
42
|
-
exports.getDisplayInfo = function() {
|
43
|
-
var msg = {
|
44
|
-
'cmd': 'getDisplayInfo'
|
45
|
-
};
|
46
|
-
return createPromise(msg);
|
47
|
-
};
|
48
|
-
|
49
|
-
exports.getMemoryInfo = function() {
|
50
|
-
var msg = {
|
51
|
-
'cmd': 'getMemoryInfo'
|
52
|
-
};
|
53
|
-
return createPromise(msg);
|
54
|
-
};
|
55
|
-
|
56
|
-
exports.getStorageInfo = function() {
|
57
|
-
var msg = {
|
58
|
-
'cmd': 'getStorageInfo'
|
59
|
-
};
|
60
|
-
return createPromise(msg);
|
61
|
-
};
|
62
|
-
|
63
|
-
function _addConstProperty(obj, propertyKey, propertyValue) {
|
64
|
-
Object.defineProperty(obj, propertyKey, {
|
65
|
-
configurable: false,
|
66
|
-
writable: false,
|
67
|
-
value: propertyValue
|
68
|
-
});
|
69
|
-
}
|
70
|
-
|
71
|
-
function _createConstClone(obj) {
|
72
|
-
var const_obj = {};
|
73
|
-
for (var key in obj) {
|
74
|
-
if (Array.isArray(obj[key])) {
|
75
|
-
var obj_array = obj[key];
|
76
|
-
var const_obj_array = [];
|
77
|
-
for (var i = 0; i < obj_array.length; ++i) {
|
78
|
-
var const_sub_obj = {};
|
79
|
-
for (var sub_key in obj_array[i]) {
|
80
|
-
_addConstProperty(const_sub_obj, sub_key, obj_array[i][sub_key]);
|
81
|
-
}
|
82
|
-
const_obj_array.push(const_sub_obj);
|
83
|
-
}
|
84
|
-
_addConstProperty(const_obj, key, const_obj_array);
|
85
|
-
} else {
|
86
|
-
_addConstProperty(const_obj, key, obj[key]);
|
87
|
-
}
|
88
|
-
}
|
89
|
-
return const_obj;
|
90
|
-
}
|
91
|
-
|
92
|
-
extension.setMessageListener(function(json) {
|
93
|
-
var msg = JSON.parse(json);
|
94
|
-
|
95
|
-
if (msg.reply == 'attachStorage' ||
|
96
|
-
msg.reply == 'detachStorage' ||
|
97
|
-
msg.reply == 'connectDisplay' ||
|
98
|
-
msg.reply == 'disconnectDisplay') {
|
99
|
-
for (var id in g_listeners) {
|
100
|
-
if (g_listeners[id]['eventName'] === msg.eventName) {
|
101
|
-
var event = null;
|
102
|
-
if (msg.eventName == 'displayconnect' ||
|
103
|
-
msg.eventName == 'displaydisconnect') {
|
104
|
-
event = new SystemDisplayEvent(msg.data);
|
105
|
-
}
|
106
|
-
if (msg.eventName == 'storageattach' ||
|
107
|
-
msg.eventName == 'storagedetach') {
|
108
|
-
event = new SystemStorageEvent(msg.data);
|
109
|
-
}
|
110
|
-
g_listeners[id]['callback'](event);
|
111
|
-
}
|
112
|
-
}
|
113
|
-
return;
|
114
|
-
}
|
115
|
-
|
116
|
-
if (msg.data.error) {
|
117
|
-
g_async_calls[msg.asyncCallId].reject(msg.data.error);
|
118
|
-
} else {
|
119
|
-
g_async_calls[msg.asyncCallId].resolve(_createConstClone(msg.data));
|
120
|
-
}
|
121
|
-
|
122
|
-
delete g_async_calls[msg.asyncCallId];
|
123
|
-
});
|
124
|
-
|
125
|
-
function _addEventListener(isOn, eventName, callback) {
|
126
|
-
if (typeof eventName !== 'string') {
|
127
|
-
console.log("Invalid parameters of eventName!");
|
128
|
-
return -1;
|
129
|
-
}
|
130
|
-
|
131
|
-
if (!isOn && (typeof callback !== 'function')) {
|
132
|
-
console.log("Invalid parameters of callback!");
|
133
|
-
return -1;
|
134
|
-
}
|
135
|
-
|
136
|
-
if (isOn && (typeof callback !== null) && (typeof callback !== 'function')) {
|
137
|
-
console.log("Invalid parameters of callback!");
|
138
|
-
return -1;
|
139
|
-
}
|
140
|
-
|
141
|
-
var listener = {
|
142
|
-
'eventName': eventName,
|
143
|
-
'callback': callback
|
144
|
-
};
|
145
|
-
|
146
|
-
var listener_id;
|
147
|
-
|
148
|
-
if (isOn) {
|
149
|
-
switch(listener.eventName) {
|
150
|
-
case 'storageattach':
|
151
|
-
g_listeners[0] = listener;
|
152
|
-
listener_id = 0;
|
153
|
-
break;
|
154
|
-
|
155
|
-
case 'storagedetach':
|
156
|
-
g_listeners[1] = listener;
|
157
|
-
listener_id = 1;
|
158
|
-
break;
|
159
|
-
|
160
|
-
case 'displayconnect':
|
161
|
-
g_listeners[2] = listener;
|
162
|
-
listener_id = 2;
|
163
|
-
break;
|
164
|
-
|
165
|
-
case 'displaydisconnect':
|
166
|
-
g_listeners[3] = listener;
|
167
|
-
listener_id = 3;
|
168
|
-
break;
|
169
|
-
|
170
|
-
default:
|
171
|
-
console.log("Invalid event name!");
|
172
|
-
break;
|
173
|
-
}
|
174
|
-
} else {
|
175
|
-
listener_id = g_next_listener_id;
|
176
|
-
g_next_listener_id += 1;
|
177
|
-
g_listeners[listener_id] = listener;
|
178
|
-
}
|
179
|
-
|
180
|
-
if (g_listeners[listener_id] != null) {
|
181
|
-
var msg = {
|
182
|
-
'cmd': 'addEventListener',
|
183
|
-
'eventName': listener.eventName
|
184
|
-
};
|
185
|
-
extension.postMessage(JSON.stringify(msg));
|
186
|
-
}
|
187
|
-
|
188
|
-
return listener_id;
|
189
|
-
}
|
190
|
-
|
191
|
-
Object.defineProperty(exports, 'onstorageattach', {
|
192
|
-
set: function(callback) {
|
193
|
-
_addEventListener(true, 'storageattach', callback);
|
194
|
-
}
|
195
|
-
});
|
196
|
-
|
197
|
-
Object.defineProperty(exports, 'onstoragedetach', {
|
198
|
-
set: function(callback) {
|
199
|
-
_addEventListener(true, 'storagedetach', callback);
|
200
|
-
}
|
201
|
-
});
|
202
|
-
|
203
|
-
Object.defineProperty(exports, 'ondisplayconnect', {
|
204
|
-
set: function(callback) {
|
205
|
-
_addEventListener(true, 'displayconnect', callback);
|
206
|
-
}
|
207
|
-
});
|
208
|
-
|
209
|
-
Object.defineProperty(exports, 'ondisplaydisconnect', {
|
210
|
-
set: function(callback) {
|
211
|
-
_addEventListener(true, 'displaydisconnect', callback);
|
212
|
-
}
|
213
|
-
});
|
214
|
-
|
215
|
-
exports.addEventListener = function(eventName, callback) {
|
216
|
-
return _addEventListener(false, eventName, callback);
|
217
|
-
};
|
218
|
-
|
219
|
-
var _sendSyncMessage = function(msg) {
|
220
|
-
return extension.internal.sendSyncMessage(JSON.stringify(msg));
|
221
|
-
};
|
222
|
-
|
223
|
-
window.SystemDisplayEvent = function(data) {
|
224
|
-
_addConstProperty(this, 'display', _createConstClone(data));
|
225
|
-
this.prototype = new Event('SystemDisplayEvent');
|
226
|
-
};
|
227
|
-
|
228
|
-
window.SystemStorageEvent = function(data) {
|
229
|
-
_addConstProperty(this, 'storage', _createConstClone(data));
|
230
|
-
this.prototype = new Event('SystemStorageEvent');
|
231
|
-
};
|