Commit Graph

7211 Commits

Author SHA1 Message Date
shirakaba
caf4898d11 chore: change || to ?? 2023-01-21 15:29:33 +09:00
shirakaba
9a0717b988 fix: update unstable_currentEvent correctly 2023-01-21 15:29:33 +09:00
shirakaba
d0e522f8f0 fix: get listeners afresh each time 2023-01-21 15:29:33 +09:00
shirakaba
6cb8a83c82 fix: don't share eventPath 2023-01-21 15:29:33 +09:00
shirakaba
23961af38d fix: update this.currentTarget 2023-01-21 15:29:33 +09:00
shirakaba
c93fba4de1 release: 8.5.0-dom.1 2023-01-21 15:29:33 +09:00
shirakaba
959f0a2204 fix: swap spread for slice 2023-01-21 15:29:33 +09:00
shirakaba
d3d6830813 fix: ditch MutationSensitiveArray 2023-01-21 15:29:33 +09:00
shirakaba
2a8c926509 fix: move cheaper check in front 2023-01-21 15:29:33 +09:00
shirakaba
decccabd9e fix: assign variables as late as possible 2023-01-21 15:29:33 +09:00
shirakaba
569b1f2de3 fix: determine insertion function up-front 2023-01-21 15:29:33 +09:00
shirakaba
8b5efc1346 chore: audit usages of bind() 2023-01-21 15:29:33 +09:00
shirakaba
a87e828a64 fix: don't make an object unnecessarily 2023-01-21 15:29:33 +09:00
shirakaba
c58328a096 chore: reorder class members 2023-01-21 15:29:33 +09:00
shirakaba
7936154b2d fix: declare uninitialised fields (for strict TypeScript) 2023-01-21 15:29:33 +09:00
shirakaba
b4f69987ae chore: comment 2023-01-21 15:29:33 +09:00
shirakaba
1f3a62c3fb fix: convert property bag to args 2023-01-21 15:29:33 +09:00
shirakaba
253d313776 chore: use static constants for readability (no perf difference) 2023-01-21 15:29:33 +09:00
shirakaba
0513789904 fix: lazily bind context to removeEventListener callbacks 2023-01-21 15:29:33 +09:00
shirakaba
ab56e114ea fix: C for loop instead of for...of 2023-01-21 15:29:33 +09:00
shirakaba
eb8020a90c fix: apply -> call 2023-01-21 15:29:33 +09:00
shirakaba
08bc87b059 fix: convert property bag to individual args 2023-01-21 15:29:33 +09:00
shirakaba
13c29db06e fix: declare reset on prototype 2023-01-21 15:29:33 +09:00
shirakaba
96e53c6a43 fix: declare onCurrentListenersMutation on prototype 2023-01-21 15:29:33 +09:00
shirakaba
d8b83e46e3 fix: combine splice-and-push into just splice 2023-01-21 15:29:33 +09:00
shirakaba
afa78dd85f fix: use simple properties instead of setters 2023-01-21 15:29:33 +09:00
shirakaba
89f94b55c3 fix: assign directly to prototype where possible 2023-01-21 15:29:33 +09:00
shirakaba
f08d122add fix: avoid creating functions on each handleEvent() call 2023-01-21 15:29:33 +09:00
shirakaba
66f62fbbd6 fix: recycle eventPath 2023-01-21 15:29:33 +09:00
shirakaba
efb1a93287 fix: avoid unnecessary usage of Array.prototype.reverse() 2023-01-21 15:29:33 +09:00
shirakaba
217cd78114 fix: simplify MutationSensitiveArray listener system 2023-01-21 15:29:33 +09:00
shirakaba
95f9c44441 fix: lazy-clone listeners array 2023-01-21 15:29:33 +09:00
shirakaba
f58d7437e4 fix: optimise syntax used within handleEvent() 2023-01-21 15:29:33 +09:00
shirakaba
40db84e653 feat: profiling setup 2023-01-21 15:29:33 +09:00
shirakaba
2d0c3ff6a9 chore: add apps for profiling 2023-01-21 15:29:33 +09:00
shirakaba
fe60cfac04 fix: accidental reference to event rather than this 2023-01-21 15:29:33 +09:00
shirakaba
88020d92d8 chore: 8.5.0-dom.0 2023-01-21 15:29:33 +09:00
shirakaba
0fe149c9e1 feat: implement Event and EventTarget 2023-01-21 15:29:33 +09:00
shirakaba
933af70d39 fix: clean up Application types 2023-01-21 15:29:33 +09:00
shirakaba
890be6c888 fix: stop maintaining observable index.d.ts alongside index.ts 2023-01-21 15:29:33 +09:00
shirakaba
b572da1e86 fix: simplify EventData typings, drop NotifyData 2023-01-21 15:29:33 +09:00
shirakaba
3dad494136 fix: downstream types and arg-passing 2023-01-21 15:29:33 +09:00
shirakaba
453adef5fa fix: global types 2023-01-21 15:29:33 +09:00
shirakaba
832595281f chore: tests 2023-01-21 15:29:33 +09:00
shirakaba
7a276df09c feat: DOM events
BREAKING CHANGE
2023-01-21 15:29:33 +09:00
Adam Atri
ed14e24283 fix(ios): race condition when setting preferredContentSize on view controller (#10179) 2023-01-20 20:24:44 -08:00
Igor Randjelovic
30a9b8f5a4 release: @nativescript/webpack 5.0.13 5.0.13-webpack 2023-01-20 13:14:17 +01:00
Manuel Roat
6e792fe07d fix(webpack): fix regex for PlatformSuffixPlugin (#10169) 2023-01-20 13:09:45 +01:00
Nathan Walker
1f862a5e0c chore: 8.4.7 next 2023-01-19 14:16:59 -08:00
Nathan Walker
daaf50c9eb release: @nativescript/core 8.4.6 8.4.6-core 2023-01-19 14:16:23 -08:00