Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update brach #4

Merged
merged 4,072 commits into from
Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4072 commits
Select commit Hold shift + click to select a range
48970ed
refactor(js): create a common kernel/bootstrap
sgtcoolguy May 12, 2020
9e4d8c6
docs: add details on common folder contents
sgtcoolguy May 14, 2020
517b81c
build: output a kernel/bootstrap rollup bundle
sgtcoolguy May 12, 2020
a66bf79
refactor(ios): use a bootstrap JS file before loading ti.main.js
sgtcoolguy May 12, 2020
ce900a7
fix(ios): implement Ti.Blob binary toString natively
sgtcoolguy Aug 31, 2020
75078d9
docs: add notes about the workflow for android startup
sgtcoolguy Dec 18, 2019
91bbb27
refactor(android): move kroll.js to common
sgtcoolguy May 15, 2020
6c17d12
refactor(android): define Ti.Android.currentService in Module.runModule
sgtcoolguy May 15, 2020
7fe9cf4
fix(ios): detect when ios has service
sgtcoolguy May 15, 2020
23a2e56
refactor(android): remove unused moduleContexts
sgtcoolguy May 19, 2020
d8261b9
refactor(android): move most js ti extensions to common
sgtcoolguy May 18, 2020
6f6cea2
fix(android): override global.L behavior for non-string default values
sgtcoolguy Jul 29, 2020
2d9bfce
fix(android): fix Ti.Blob.arrayBuffer definition
sgtcoolguy Aug 31, 2020
bbb48f8
feat(ios): add KrollPromise to expose ES6 promises natively
sgtcoolguy Jul 10, 2020
46842aa
fix(ios): implement Ti.Blob.arrayBuffer natively
sgtcoolguy Aug 31, 2020
7ce713c
fix(android): explicitly define Ti.Android.currentService to be null …
sgtcoolguy Dec 15, 2020
9dda999
build: wipe tmp dir on clean
sgtcoolguy Jan 12, 2021
67f58b6
docs: remove outdated test override README
sgtcoolguy Jan 12, 2021
b22f6b7
chore(android): update V8 to 8.7.220.31 (#12384)
garymathews Jan 15, 2021
10c1a25
fix(ios): set parent view controller for detached view controllers (#…
vijaysingh-axway Jan 15, 2021
d0ee915
fix(android): amend method to obtain view in releaseViews() (#12386)
garymathews Jan 16, 2021
9ac6370
build(deps-dev): bump commitizen from 4.2.2 to 4.2.3
dependabot-preview[bot] Jan 18, 2021
6343a05
build(deps-dev): bump husky from 4.3.7 to 4.3.8
dependabot-preview[bot] Jan 18, 2021
22c6690
build(deps-dev): bump eslint from 7.17.0 to 7.18.0
dependabot-preview[bot] Jan 18, 2021
a9aa834
build(deps-dev): bump @rollup/plugin-node-resolve from 11.0.1 to 11.1.0
dependabot-preview[bot] Jan 18, 2021
132e397
build(deps-dev): bump rollup from 2.36.1 to 2.37.0
dependabot-preview[bot] Jan 19, 2021
eccf10c
feat(android): implement list and table editable and moveable functio…
garymathews Nov 25, 2020
0f6360c
docs(android): update documentation for editable and moveable functio…
garymathews Nov 25, 2020
3525bfc
feat(android): display drag handle for movable rows
garymathews Nov 30, 2020
a79677f
fix(android): address minor memory leak
garymathews Dec 2, 2020
880d6d0
fix(android): add elevation and support transparent backgrounds
garymathews Jan 12, 2021
ae59baf
fix(android): use parent background when row is transparent
garymathews Jan 13, 2021
0edf56b
fix(android): fire move event after movement
garymathews Jan 14, 2021
de4c7eb
fix(android): amend getBackground() to ignore transparent backgrounds
garymathews Jan 14, 2021
a615ec0
fix(android): include type property in events
garymathews Dec 16, 2020
fe4fe7b
fix(android): implement missing scroll events for ListView and TableView
garymathews Dec 16, 2020
9c9638a
fix(android): obtain bindId for child templates
garymathews Dec 17, 2020
6d66986
fix(android): onFling callback return
garymathews Dec 17, 2020
1152c57
fix(android): implement old scrolling event behaviour
garymathews Dec 18, 2020
f20288a
fix(android): amend scrollend event fire condition
garymathews Jan 11, 2021
fbaf44a
fix(android): include totalItemCount and visibleItemCount properties
garymathews Jan 14, 2021
56b38f1
build(deps-dev): bump core-js from 3.8.2 to 3.8.3
dependabot-preview[bot] Jan 19, 2021
96fc0ce
fix(android): decimal comma TextField handling
jquick-axway Jan 13, 2021
ba9c85e
build(deps): bump fs-extra from 9.0.1 to 9.1.0
dependabot-preview[bot] Jan 20, 2021
e78ddad
fix(android): optimize table and list view updates (#12363)
garymathews Jan 21, 2021
67062d0
fix(ios): set statusbar height to top of safearea view (#12402)
vijaysingh-axway Jan 22, 2021
e26c75a
build(deps-dev): bump dateformat from 4.4.1 to 4.4.2
dependabot-preview[bot] Jan 22, 2021
53b2bbf
chore(ios): update facebook to 10.0.0 (#12412)
vijaysingh-axway Jan 25, 2021
74ff01d
build(deps-dev): bump dateformat from 4.4.2 to 4.5.0
dependabot-preview[bot] Jan 25, 2021
15b76a0
build(deps-dev): bump rollup from 2.37.0 to 2.38.0
dependabot-preview[bot] Jan 22, 2021
b15a5cd
chore(android): update ti.facebook to 11.0.2
garymathews Jan 22, 2021
a6d2c5b
fix(ios): expose KrollPromise as part of TitaniumKit
sgtcoolguy Dec 17, 2020
942bb15
refactor(ios): add rejectWithErrorMessage method for KrollPromise
sgtcoolguy Dec 16, 2020
1affe49
build: add script to find candidate methods for returning Promise
sgtcoolguy Jan 14, 2021
33508b6
fix(ios): convert JSValue* to JSValueRef directly
sgtcoolguy Jan 14, 2021
62ee5c5
fix(ios): convert KrollPromise to JSValueRef for return types of old …
sgtcoolguy Jan 21, 2021
de50c8c
fix(ios): have KrollPromise static methods return instancetype, not J…
sgtcoolguy Jan 21, 2021
63bea10
refactor(ios): add method to expose current JSContext for TiProxy ins…
sgtcoolguy Jan 22, 2021
10c4acd
fix(ios): make JSValue nonatomic property, retain it under the hood, …
sgtcoolguy Jan 22, 2021
9afe176
fix(ios): autorelease Ti.Blob#arrayBuffer() Promise
sgtcoolguy Jan 22, 2021
b3aaaa3
fix(ios): make KrollPromise no-op under covers when KrollFinalizer is…
sgtcoolguy Jan 25, 2021
1de2eb3
fix(android): reject promise with Error in MediaModule
sgtcoolguy Jan 14, 2021
4b03ac6
feat(android): have Ti.Database.DB.executeAsync return a Promise
sgtcoolguy Dec 17, 2020
fbbbe98
feat(ios): have Ti.Database.DB.executeAsync return a Promise
sgtcoolguy Dec 17, 2020
25acd1f
docs(api): note Ti.Database.DB.executeAsync returns a Promise
sgtcoolguy Dec 17, 2020
7b70f11
test: add promise tests for Ti.Database.DB.executeAsync
sgtcoolguy Dec 17, 2020
6c4253f
feat(ios): have Ti.Database.DB.executeAllAsync return a Promise
sgtcoolguy Dec 17, 2020
e22e26c
test: add promise tests for Ti.Database.DB.executeAllAsync
sgtcoolguy Dec 17, 2020
41e83be
feat(android): have Ti.Database.DB.executeAllAsync return a Promise
sgtcoolguy Dec 17, 2020
db4ae74
docs(api): note Ti.Database.DB.executeAllAsync method returns a Promise
sgtcoolguy Dec 17, 2020
2189503
test: update Ti.UI.WebView.userAgent test to use new url
sgtcoolguy Jan 26, 2021
32e51b2
test: try to detect when iOS app soft crashes and end test suite rath…
sgtcoolguy Jan 26, 2021
a60523d
docs(api): modernize some Ti.UI.ListView examples (#12418)
Topener Jan 27, 2021
cac2165
build(deps-dev): bump ssri from 8.0.0 to 8.0.1
dependabot-preview[bot] Jan 28, 2021
8c3294b
build(deps-dev): bump danger from 10.6.0 to 10.6.1
dependabot-preview[bot] Jan 28, 2021
0446f8e
build(deps-dev): bump rollup from 2.38.0 to 2.38.1
dependabot-preview[bot] Jan 29, 2021
0b18872
build(deps-dev): bump @rollup/plugin-node-resolve from 11.1.0 to 11.1.1
dependabot-preview[bot] Feb 1, 2021
2900a64
build(deps-dev): bump eslint from 7.18.0 to 7.19.0
dependabot-preview[bot] Feb 1, 2021
dc626de
build(deps-dev): bump rollup from 2.38.1 to 2.38.3
dependabot-preview[bot] Feb 1, 2021
6f3454d
build(deps-dev): bump @rollup/plugin-babel from 5.2.2 to 5.2.3
dependabot-preview[bot] Feb 1, 2021
70ecd2d
build(deps): bump clean-css from 4.2.3 to 5.0.1
dependabot-preview[bot] Feb 1, 2021
026085d
build(deps-dev): bump @rollup/plugin-commonjs from 17.0.0 to 17.1.0
dependabot-preview[bot] Feb 1, 2021
512aeaa
build(deps-dev): bump dateformat from 4.5.0 to 4.5.1
dependabot-preview[bot] Feb 1, 2021
42c3bad
build(deps-dev): bump rollup from 2.38.3 to 2.38.4
dependabot-preview[bot] Feb 2, 2021
3242840
fix(ios): swift enabling in Objc module should build (#12372)
vijaysingh-axway Feb 2, 2021
c61d943
fix(ios): support ti symbols via xcconfig file to work with swift (#1…
vijaysingh-axway Feb 2, 2021
b83a2a2
fix(android): guard scroll event section data (#12424)
garymathews Feb 2, 2021
d36c5c7
fix(android): rgba(int,int,int) parity (#12435)
m1ga Feb 3, 2021
4488fe2
fix(ios): calculate proper row width for UITableViewStyleInsetGrouped…
vijaysingh-axway Feb 4, 2021
1411430
build(deps-dev): bump danger from 10.6.1 to 10.6.2
dependabot-preview[bot] Feb 4, 2021
5e3e537
test(android): add 2.625x density snapshot images
sgtcoolguy Feb 3, 2021
7ee8401
test(android): add another 2.625x density snapshot image
sgtcoolguy Feb 4, 2021
8bc8692
test(android): fix/rename snapshot images
sgtcoolguy Feb 3, 2021
f3628ad
test: try to use proper suffixes for ios snapshot images
sgtcoolguy Feb 4, 2021
432dd7d
test(ios): rename snapshot images
sgtcoolguy Feb 4, 2021
ba7621f
test: modify test to support 1 pixel difference y value for devices w…
sgtcoolguy Feb 4, 2021
df889d2
test: always write list of android devices to be used by suite to map…
sgtcoolguy Feb 4, 2021
a72f340
test: allow 2 pixel mismatch on Android for circle borderRadius test
sgtcoolguy Feb 4, 2021
821214d
ci(jenkins): don't test on android device for now
sgtcoolguy Feb 4, 2021
5f6da55
test: generate full test suite for Ti.Media.AudioPlayer
sgtcoolguy Jan 5, 2021
002c410
fix(ios): expose Ti.Media.AudioPlayer.externalPlaybackActive as boole…
sgtcoolguy Jan 6, 2021
24f4930
test: skip some hanging tests on android 5
sgtcoolguy Feb 1, 2021
5cdc645
test: add error event listener to audioplayer proxy
sgtcoolguy Feb 2, 2021
3b96b0b
build(deps-dev): bump chai from 4.2.0 to 4.3.0
dependabot-preview[bot] Feb 5, 2021
3d4866a
build(deps-dev): bump rollup from 2.38.4 to 2.38.5
dependabot-preview[bot] Feb 5, 2021
ce49e22
build(deps-dev): bump lint-staged from 10.5.3 to 10.5.4
dependabot-preview[bot] Feb 8, 2021
9c285c9
build(deps): bump ejs from 3.1.5 to 3.1.6
dependabot-preview[bot] Feb 8, 2021
d527e11
test: skip test on macos that intermittently crashes
sgtcoolguy Feb 8, 2021
d50be80
test: try to skip proper test that crashes intermittently on macos
sgtcoolguy Feb 8, 2021
91d0564
chore(android): update v8 to 8.8.278.15 (#12449)
garymathews Feb 8, 2021
5fa6258
feat(ios): return Promise from Ti.UI.Window.open()/close()
sgtcoolguy Jan 14, 2021
2fda671
feat(android): return Promise from Ti.UI.Window.open()
sgtcoolguy Jan 20, 2021
d67537f
feat(android): return Promise from Ti.UI.Window.close()
sgtcoolguy Jan 20, 2021
56a969d
test: verify Ti.UI.Window#open() and #close() returns Promises
sgtcoolguy Jan 20, 2021
c6d0442
docs(api): document Ti.UI.Window#open() and #close() returning Promises
sgtcoolguy Jan 21, 2021
9c89d6d
refactor(ios): have tab openWindow()/closeWindow() return Promise
sgtcoolguy Jan 22, 2021
ca09400
feat(ios): support Ti.UI.NavigationWindow#open()/close() returning Pr…
sgtcoolguy Jan 22, 2021
c5ffea7
test: add tests for Ti.UI.NavigationWindow open/close w/ Promise support
sgtcoolguy Jan 22, 2021
cafd270
feat(ios): support Ti.UI.TabGroup#open()/close() returning Promise
sgtcoolguy Jan 22, 2021
fd99899
test: add tests for Ti.UI.TabGroup open/close w/ Promise support
sgtcoolguy Jan 22, 2021
682e64a
fix(ios): explicitly flush KrollPromises created internally and not e…
sgtcoolguy Jan 25, 2021
21553ef
test: use close promise support to clean up Ti.UI.View tests
sgtcoolguy Jan 27, 2021
7935c0f
chore(ios): removed iOS sdk 12 and 13 macro
vijaysingh-axway Feb 2, 2021
d86b1d0
chore(ios): removed iOS sdk 13 macro from TitaniumKit
vijaysingh-axway Feb 2, 2021
94a16e1
chore(ios): remove check for iOS 11
vijaysingh-axway Feb 2, 2021
be4ae35
chore(ios): set minimum ios version to iOS 11
vijaysingh-axway Feb 3, 2021
0d662e1
fix(ios): fix sytax error
vijaysingh-axway Feb 3, 2021
b0c41aa
fix(ios): fixed sdk build issue
vijaysingh-axway Feb 3, 2021
f66d246
chore(ios): update module templates to set minimum ios 11
vijaysingh-axway Feb 3, 2021
a09cdff
chore(ios): updated APSHTTPClient APSAnalytics and tiverify xcframeworks
vijaysingh-axway Feb 3, 2021
7e4873f
build(deps-dev): bump husky from 4.3.8 to 5.0.9
dependabot-preview[bot] Feb 9, 2021
c388dbc
test: skip test that intermittently hangs on old Android emulator
sgtcoolguy Feb 9, 2021
66d04e8
build(deps-dev): fix husky 5 usage
sgtcoolguy Feb 9, 2021
ba6d809
test: skip some tests on macos CI if not Big Sur, since scale intermi…
sgtcoolguy Feb 9, 2021
aa2e693
Revert "build(deps-dev): fix husky 5 usage"
sgtcoolguy Feb 9, 2021
29e73d9
build(deps-dev): fix husky 5 usage
sgtcoolguy Feb 9, 2021
079a6fc
style(js): fix eslint errors
sgtcoolguy Feb 9, 2021
2cca3e3
feat!: set minimum node version to 12.13.0
ewanharris Feb 9, 2021
4191629
ci: use node 12.18.0
ewanharris Feb 9, 2021
83a1449
fix: declare i18n function before its usage
ewanharris Feb 9, 2021
8b68acc
fix(android): amend child event ListView properties (#12456)
garymathews Feb 10, 2021
2069693
fix(ios): use supportedInterfaceOrientations of UINavigationControlle…
vijaysingh-axway Feb 10, 2021
f8adbdf
fix(android): handle encoded WebView url (#12450)
garymathews Feb 10, 2021
e5e852a
build: revert inadvertent bad shebang
sgtcoolguy Feb 10, 2021
a7916c7
build(changelog): don't discard community commits of fix or feat type
ewanharris Feb 11, 2021
ceadd6e
build(deps-dev): bump mocha from 8.2.1 to 8.3.0
dependabot-preview[bot] Feb 12, 2021
d0cc6d2
fix(android): move buildOnly assignment into pre-validate hook
ewanharris Feb 10, 2021
32cdf8e
fix(android)!: remove get/set methods for properties that have normal…
sgtcoolguy Nov 24, 2020
508d13d
fix(android)!: remove auto-generated accessor methods in proxy native…
sgtcoolguy Nov 24, 2020
2a19caf
fix(android)!: remove accessor methods for properties
sgtcoolguy Dec 2, 2020
e520aa2
fix(ios): expose Ti.Network.HTTPClient#getAllResponseHeaders()
sgtcoolguy Nov 24, 2020
99a7f18
fix(ios)!: begin ripping out automatic getter/setters for properties
sgtcoolguy Nov 24, 2020
36383cc
fix(ios)!: don't expose accessors for properties with Obj-c proxy sub…
sgtcoolguy Dec 1, 2020
d3f93f1
docs(api): explicitly document Ti.Network.HTTPClient#getAllResponseHe…
sgtcoolguy Nov 24, 2020
c224a21
docs(api): use remoteBackup property access in place of getter/setter…
sgtcoolguy Nov 24, 2020
c5c7faa
docs(api): remove bad default values documented for Ti.Platform versi…
sgtcoolguy Dec 2, 2020
e439930
test: invert tests for getters/accessors to ensure they don't exist
sgtcoolguy Dec 4, 2020
7d3571d
test: fix namespace inconsistencies in tests
sgtcoolguy Dec 4, 2020
4da0b16
test: remove generic getter/setter test
sgtcoolguy Dec 4, 2020
d8c64af
feat(android): expose Ti.Media.AudioPlayer.audioSessionId as read-onl…
sgtcoolguy Feb 8, 2021
6ddcbd4
test: update audioplayer suite for accessor changes
sgtcoolguy Feb 8, 2021
8257b04
test: assign to Intent.flags as property, not using setter
sgtcoolguy Feb 8, 2021
e69d13c
docs(api): fix AudioPlayer docs for accessor changes/deprecations/rem…
sgtcoolguy Feb 8, 2021
b21ece2
fix(android): expose properties for get/set pairs on QuickSettingsSer…
sgtcoolguy Feb 10, 2021
6472aeb
docs(api): document QuickSettingsService properties
sgtcoolguy Feb 10, 2021
70bd7a7
fix(android): remove set methods for width/height/center for Views
sgtcoolguy Feb 10, 2021
1c14926
fix(android): add back Ti.Media.Sound.setLooping for now
sgtcoolguy Feb 10, 2021
be7ba36
docs(api): mark Ti.Media.Sound.setLooping and setPaused as deprecated
sgtcoolguy Feb 10, 2021
7c86d59
docs(api): note Ti.Network.HTTPClient.getAllResponseHeaders() is on A…
sgtcoolguy Feb 10, 2021
a413a9e
fix(android): remove getters for documented properties on RecurrenceRule
sgtcoolguy Feb 10, 2021
d38651d
build(deps-dev): bump eslint from 7.19.0 to 7.20.0
dependabot-preview[bot] Feb 15, 2021
4987ac0
build(deps-dev): bump @rollup/plugin-node-resolve from 11.1.1 to 11.2.0
dependabot-preview[bot] Feb 15, 2021
6762beb
build(deps-dev): bump @rollup/plugin-babel from 5.2.3 to 5.3.0
dependabot-preview[bot] Feb 15, 2021
851b4f6
feat(android): text alignment justify (#12464)
m1ga Feb 16, 2021
d9612dd
fix(android): do not override itemId type (#12468)
garymathews Feb 16, 2021
0a4aead
build(deps-dev): bump rollup from 2.38.5 to 2.39.0
dependabot-preview[bot] Feb 16, 2021
94619e6
chore(ios): remove iOS 12 check
vijaysingh-axway Feb 9, 2021
6b83835
chore(ios): set minimum ios version to ios 12
vijaysingh-axway Feb 9, 2021
8680e78
chore(ios): updated module templates to minimum ios 12
vijaysingh-axway Feb 9, 2021
97d157a
fix(ios): merged switch statment
vijaysingh-axway Feb 11, 2021
d01e9e7
chore(ios): cleaned ti.blob.js
vijaysingh-axway Feb 11, 2021
b1d88f9
fix(android): add V8Promise constructor with existing pointer value
sgtcoolguy Feb 16, 2021
07ca05c
fix(android): validate layoutParams (#12472)
garymathews Feb 17, 2021
36b7b28
build: update to husky 5 properly
sgtcoolguy Feb 18, 2021
7292d1b
feat(ios): support storyboards in module (#12328)
vijaysingh-axway Feb 18, 2021
39e0d8b
build(deps-dev): bump core-js from 3.8.3 to 3.9.0
dependabot-preview[bot] Feb 19, 2021
a8df4f5
build(deps): bump clean-css from 5.0.1 to 5.1.0
dependabot-preview[bot] Feb 19, 2021
645c91e
feat(android): implement ATTRIBUTE_UNDERLINE_COLOR functionality (#12…
garymathews Feb 19, 2021
e431972
refactor(wepback): recommend installing plugin via appcd pm for appcd…
ewanharris Feb 8, 2021
6a6fabc
build(deps-dev): bump lockfile-lint from 4.3.7 to 4.6.1
dependabot-preview[bot] Feb 22, 2021
45b3c51
build(deps-dev): bump husky from 5.0.9 to 5.1.0
dependabot-preview[bot] Feb 22, 2021
a4015cd
feat(ios): return Promises from Ti.Geolocation.getCurrentHeading/Posi…
sgtcoolguy Dec 16, 2020
2155d0a
fix(ios): call callback on Geolocation#requestTemporaryFullAccuracyAu…
sgtcoolguy Jan 22, 2021
82ff625
fix(ios): minor fixes for Ti.Geolocation#requestLocationPermissions()
sgtcoolguy Jan 28, 2021
5db8321
fix(ios): if user supplies no specific auth constant for hasLocationP…
sgtcoolguy Jan 28, 2021
974a7f6
fix(ios): error code/object for Ti.Geolocation permissions/position
sgtcoolguy Jan 29, 2021
fcf6d0a
feat(android): make Geolocation getCurrentHeading/Position return Pro…
sgtcoolguy Jan 28, 2021
20e5264
docs(api): note Ti.Geolocation getCurrentHeading/Position methods ret…
sgtcoolguy Dec 17, 2020
60cb523
test: add Ti.Geolocation Promise tests
sgtcoolguy Dec 17, 2020
f738b92
test: add Info.plist key/values needed for geolocation on iOS 14 in t…
sgtcoolguy Jan 22, 2021
41198b4
test: set sim location for test app
sgtcoolguy Jan 29, 2021
25a1873
fix(ios): fire authorization changes even when no callback
sgtcoolguy Feb 9, 2021
ddf7bc0
ci(github): add initial Github Action build (#12485)
sgtcoolguy Feb 22, 2021
a4e4447
build(deps-dev): bump @commitlint/config-conventional
dependabot-preview[bot] Feb 23, 2021
17f3e3a
build(deps-dev): bump danger from 10.6.2 to 10.6.3
dependabot-preview[bot] Feb 23, 2021
6c3b9b9
build(deps-dev): bump rollup from 2.39.0 to 2.39.1
dependabot-preview[bot] Feb 23, 2021
0b08619
build(deps-dev): bump @commitlint/cli from 11.0.0 to 12.0.0
dependabot-preview[bot] Feb 23, 2021
2b21a5d
build(deps-dev): bump husky from 5.1.0 to 5.1.1
dependabot-preview[bot] Feb 23, 2021
26b5bfe
fix(ios): largeTitleDisplayMode always is not working in iOS 14 (#12490)
vijaysingh-axway Feb 24, 2021
c9c82a4
fix(ios): showSearchBarInNavBar does not work with custom item templa…
vijaysingh-axway Feb 24, 2021
2df13a9
fix(android): use C++14 when building native modules
garymathews Feb 18, 2021
be490ba
fix(android): update v8 to 8.8.278.17
garymathews Feb 23, 2021
8440ad7
fix(android): set minSdkVersion to 19
garymathews Feb 23, 2021
738b2c2
fix(android): update v8 8.8.278.17 integrity
garymathews Feb 24, 2021
e0f4572
chore(ios): update modules in SDK
vijaysingh-axway Feb 18, 2021
a4e61bf
fix(ios): remove unsupported architectures
vijaysingh-axway Feb 18, 2021
de915cf
chore(release): bump target to 10.1.0
sgtcoolguy Feb 25, 2021
4ea28c4
build(android): grab v8 library from Github release URL
sgtcoolguy Feb 25, 2021
4a49e76
build(deps-dev): bump lockfile-lint from 4.6.1 to 4.6.2
dependabot-preview[bot] Feb 26, 2021
78c00c4
feat(android): add Ti.UI.ButtonBar (#12389)
jquick-axway Feb 26, 2021
d163624
refactor(ios): gather resources async, including node_modules
sgtcoolguy Jan 22, 2020
e79ae4f
feat(ios): include project root node_modules folder in app
sgtcoolguy Jan 24, 2020
addab80
fix(ios): modify gathering of npm packages
sgtcoolguy Jan 27, 2020
3295e7b
fix: handle when project has no root package.json
sgtcoolguy Apr 7, 2020
2ec396c
refactor: move gathering code to common cli/lib dir
sgtcoolguy Apr 8, 2020
718c721
feat(android): add npm packages to android apps
sgtcoolguy Apr 8, 2020
d303652
refactor: extract task to copy resources, fix processed js files
sgtcoolguy Apr 8, 2020
51e7189
refactor: move css minification logic to a task
sgtcoolguy Apr 9, 2020
608e589
refactor(ios): make build async AF
sgtcoolguy Apr 10, 2020
e9cd08b
refactor(ios): use copy resources task to copy on ios
sgtcoolguy Apr 10, 2020
b458f16
refactor(android): remove timing logs for gathering resources in cli
sgtcoolguy Jan 14, 2021
ebab134
refactor(ios): remove timing logs for gathering resources in cli
sgtcoolguy Jan 14, 2021
24e8e72
test: move package.json to top-level of test app
sgtcoolguy Jul 29, 2020
78be0d2
fix: support cjs files in apps equivalent to js files
sgtcoolguy Jan 13, 2021
f300174
test: use mocha from npm in place of old ti-mocha
sgtcoolguy Jan 13, 2021
709dd0c
test: run test project from it's root as cwd, add babel config to ski…
sgtcoolguy Jan 13, 2021
35c77cc
test: fix running Ti.Blob resize image test
sgtcoolguy Jan 13, 2021
4161d9c
test: use this.skip() w/ new mocha on tests to skip based on runtime …
sgtcoolguy Jan 14, 2021
48910cb
fix(cli): filepath compatibility with windows
sgtcoolguy Feb 25, 2021
75319bc
build(deps-dev): bump @commitlint/config-conventional
dependabot-preview[bot] Mar 1, 2021
e95f9ca
ci(github): try to avoid double-builds of pushes to PRs
sgtcoolguy Mar 1, 2021
89d47cc
build(deps-dev): bump eslint from 7.20.0 to 7.21.0
dependabot-preview[bot] Mar 1, 2021
b24b8e6
build(deps-dev): bump husky from 5.1.1 to 5.1.2
dependabot-preview[bot] Mar 1, 2021
563441a
build(deps-dev): bump @commitlint/cli from 12.0.0 to 12.0.1
dependabot-preview[bot] Mar 1, 2021
e183a68
fix: record output files for process js task
sgtcoolguy Mar 3, 2021
55043fb
build(deps-dev): bump husky from 5.1.2 to 5.1.3
dependabot-preview[bot] Mar 2, 2021
c393337
build(deps-dev): bump rollup from 2.39.1 to 2.40.0
dependabot-preview[bot] Mar 1, 2021
844a3d3
build(deps-dev): bump core-js from 3.9.0 to 3.9.1
dependabot-preview[bot] Mar 3, 2021
3aece78
fix(android): expose builder property for hyperloop to mark js files …
sgtcoolguy Mar 3, 2021
c3a68e0
chore(deps): update appc-tasks to 1.0.3
sgtcoolguy Mar 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
25 changes: 24 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
node_modules
/node_modules
# We don't want to lint the locale files with eslint
**/locales/**/*.js

android/runtime/v8/tools/bootstrap.js
android/dev
android/modules/ui/assets/Resources/ti.internal/webview/*.js
android/titanium/build
android/**/generated/

# Xcode launching app file
iphone/Resources/app.js

# TODO: We probably do want to lint these eventually!
templates/**

# 3rd party test files
tests/fake_node_modules/
tests/node_modules/
tests/Resources/node_modules/

# Build dirs
dist/
tmp/
76 changes: 68 additions & 8 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,73 @@
{
"extends": [ "axway/env-node", "axway/+mocha"],
"globals": {
"Ti": false
},
"extends": [ "axway/env-node"],
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "script"
},
"rules": {
"strict": ["error", "global"]
},
"overrides": [
{
"files": [ "android/runtime/common/src/js/**/*.js", "android/modules/**/src/js/**/*.js" ],
"parserOptions": {
"ecmaVersion": 2020
},
"globals": {
"kroll": "readonly",
"Titanium": "readonly"
}
},
{
"files": [ "android/app/src/main/assets/Resources/**/*.js", "iphone/Resources/**/*.js" ],
"extends": [ "axway/env-titanium" ]
},
{
"files": [ "common/Resources/**/*.js" ],
"extends": [ "axway/env-titanium" ],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"globals": {
"kroll": "readonly"
},
"rules": {
"node/no-deprecated-api": "off",
"node/no-unsupported-features/es-syntax": "off",
"node/no-unsupported-features/node-builtins": ["warn", { "version": "10.11.0" }]
}
},
{
"files": [ "android/cli/tests/test-android-manifest.js", "build/**/test-*.js" ],
"extends": [ "axway/env-node", "axway/+mocha"]
},
{
"files": [ "tests/**/*.js" ],
"extends": [ "axway/env-titanium", "axway/+mocha"]
},
{
"files": [ "tests/Resources/ti.ui.webview.script.tag.js" ],
"extends": [ "axway/env-titanium", "axway/+mocha"],
"parserOptions": {
"ecmaVersion": 3,
"sourceType": "script"
}
},
{
"files": [ "tests/Resources/es6.*.js", "tests/Resources/util.test.js" ],
"extends": [ "axway/env-titanium", "axway/+mocha"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"node/no-deprecated-api": "off",
"node/no-unsupported-features/es-syntax": "off",
"node/no-unsupported-features/node-builtins": ["warn", { "version": "10.11.0" }]
}
},
{
"files": [ "cli/lib/tasks/*.js", "cli/hooks/webpack.js", "cli/lib/webpack/**/*.js" ],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
}
}
]
}
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/propose-a-feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Propose a Feature
about: Suggest a new feature or improvement for Titanium

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/report-a-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Report a Bug
about: Create a report to help us improve Titanium

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior, e.g.:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Environment**
Titanium SDK version:
CLI version:

**Logs**:
Creating a trace-log:
- CLI: `appc run - p [ios|android] -l trace`
- Studio / Atom: `Log-Level (Bottom right): Trace`

(Attach by dragging into this issue)
Binary file modified .github/logo-titanium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Backport
on:
pull_request_target:
types:
- closed
- labeled

jobs:
backport:
runs-on: ubuntu-18.04
name: Backport
steps:
- name: Backport
uses: ewanharris/backport@v1.0.28-24
with:
bot_username: build
bot_token: d5bd2737eafb4b5b5c1040e2d71e86626f8ce1b5
bot_token_key: d9d1818fe4ce09c358a97d8bf4d14b07681ce6e9
github_token: ${{ secrets.GITHUB_TOKEN }}
208 changes: 208 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
name: Build
on:
push:
branches:
- master
- "[0-9]+_[0-9]+_X"
pull_request:

# TODO: Can we split things up in a more intutive way?
# i.e. an "Android" job which does the android/java linting and build
# an iOS job which does the swift/ios linting and build
# a JS/CLI job which does the js linting (and cli tests?)
# a packaging job which generates the combined SDK from ios/Android?

jobs:
android:
runs-on: ubuntu-latest
name: Android
steps:
- uses: actions/checkout@v2

- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Cache Node.js modules
id: node-cache
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.OS }}-node-modules-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-modules-
${{ runner.OS }}-

- run: npm ci
name: Install dependencies
if: steps.node-cache.outputs.cache-hit != 'true'

- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- run: npm run lint:android
name: Lint

# TODO: Build the android half here and stash/upload the built stuff:
# - dist/android/titanium.bindings.json
# - android/titanium/build/outputs
# - android/runtime/v8/generated
# - dist/android/libv8
# Or do we run build *and* publish and then copy over the resulting stuff from each platform and piece them together?
# Because I assume there's some intermediate files from gradle/cmake/ndk that'd be missing to separet the build/publish halves

- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties

ios:
runs-on: macos-latest
name: iOS
env:
CCACHE_DIR: ${{ github.workspace }}/.ccache
USE_CCACHE: 1
SDK_BUILD_CACHE_DIR: ${{ github.workspace }}/.native-modules
steps:
- uses: actions/checkout@v2

- name: Create version tag
run: |
PACKAGE_VERSION=$(sed -n 's/^ *"version": *"//p' package.json | tr -d '"' | tr -d ',' | tr -d '[[:space:]]')
TIMESTAMP=`date +'%Y%m%d%H%M%S'`
VTAG="${PACKAGE_VERSION}.v${TIMESTAMP}"
echo "vtag=${VTAG}" >> $GITHUB_ENV

- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Cache Node.js modules
id: node-cache
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.OS }}-node-modules-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-modules-
${{ runner.OS }}-

- run: npm ci
name: Install dependencies
if: steps.node-cache.outputs.cache-hit != 'true'

- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- run: npm run lint:ios
name: Lint

- name: Install ccache
run: brew install ccache

- name: Retrieve ccache
uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ runner.os }}-ccache-${{ github.sha }}
restore-keys: |
${{ runner.os }}-ccache-

- name: Cache V8
uses: actions/cache@v2
with:
path: dist/android/libv8
key: libv8-${{ hashFiles('dist/android/libv8/**') }}
restore-keys: |
libv8-

- run: npm run build -- --all
name: Build

- name: Show summary of ccache configuration and statistics counters
run: ccache --show-stats

- name: Cache Native Modules
uses: actions/cache@v2
with:
path: ${{ env.SDK_BUILD_CACHE_DIR }}
key: native-modules-${{ github.sha }}
restore-keys: |
native-modules-

- run: npm run package -- --version-tag ${{ env.vtag }} --all
name: Package

- name: Archive OSX artifact
uses: actions/upload-artifact@v2
with:
name: mobilesdk-osx.zip
path: |
dist/mobilesdk-*-osx.zip

- name: Archive win32 artifact
uses: actions/upload-artifact@v2
with:
name: mobilesdk-win32.zip
path: |
dist/mobilesdk-*-win32.zip

# - name: Archive Linux artifact
# uses: actions/upload-artifact@v2
# with:
# name: mobilesdk-linux.zip
# path: |
# dist/mobilesdk-*-linux.zip

- name: Cleanup Gradle Cache
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties

js:
runs-on: ubuntu-latest
name: JavaScript
steps:
- uses: actions/checkout@v2

- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Cache Node.js modules
id: node-cache
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.OS }}-node-modules-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-modules-
${{ runner.OS }}-

- run: npm ci
name: Install dependencies
if: steps.node-cache.outputs.cache-hit != 'true'

- run: npm run lint:js
name: Lint
Loading