Commit Graph

1469 Commits

Author SHA1 Message Date
Dimitris-Rafail Katsampas
d82f3d990d fix(core): Added ObservableArray constructor declarations to allow setting multiple arguments (#9980) 2022-07-30 08:23:40 -07:00
Nathan Walker
f9b52b9aac chore: tests 2022-07-28 20:45:31 -07:00
Nathan Walker
092e74a886 chore: runtime latest throughout apps 2022-07-25 21:21:17 -07:00
Nathan Walker
c9102f2de9 chore: tests 2022-07-22 13:32:22 -07:00
Nathan Walker
56b9963c16 chore: tests 2022-07-22 11:54:12 -07:00
Nathan Walker
4f56d8650b chore: e2e automated tests 2022-07-22 11:31:10 -07:00
Dimitris-Rafail Katsampas
df74a8baa8 feat(core): iterable ObservableArray (#9824)
BREAKING CHANGE:

Method push will now handle arguments just like Array.prototype.push.
Certain existing methods will now return ObservableArray instance instead.
Callback arguments that contained an array argument themselves will now contain an ObservableArray argument.
2022-07-09 10:09:43 -07:00
Nathan Walker
e635a61673 chore: 8.3.0-alpha.0 2022-07-09 09:02:45 -07:00
Nathan Walker
709e10b3db chore: bump apps ios runtime 2022-07-09 09:02:45 -07:00
Nathan Walker
18f4bdde4c chore: cleanup scripts 2022-07-09 09:02:45 -07:00
Nathan Walker
bc8f15580b chore: typescript 4.7.3 2022-07-09 09:02:45 -07:00
Nathan Walker
698052230b chore: nx migrate latest 2022-07-09 09:02:45 -07:00
Dimitris - Rafail Katsampas
f548fdc735 fix(ios): proper disposal and recreation of iOS native views (#9879) 2022-07-09 09:02:45 -07:00
Osei Fortune
99480c06db fix(android): content uri handling improvements (#9936) 2022-06-20 07:28:31 -07:00
Nathan Walker
959a3cf0c9 chore: hidden example in toolbox 2022-06-15 10:13:18 -07:00
Nathan Walker
7668a73f97 chore: bump demo apps to latest runtimes 2022-03-08 15:05:16 -08:00
Nathan Walker
8be543bcc7 feat: testID property for use with e2e testing without interfering with a11y (#9793)
* fix(android): nested frames were sometimes not recreated (#9748)

Co-authored-by: Eduardo Speroni <edusperoni@gmail.com>

* feat: testID property for use with e2e testing without interfering with a11y

* feat: better testID support along a11y

wip

* fix: make sure we have a defined id

* feat: --env.e2e to enable testID

* chore: return if using testID

* chore: cleanup

Co-authored-by: Eduardo Speroni <edusperoni@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2022-03-08 23:25:05 +01:00
Nathan Walker
ab4e47a1c1 feat(datepicker): ability to show time via showTime property (#9570) 2022-03-04 19:32:47 -08:00
Osei Fortune
c68d002c9a feat(android): content uri support for File (#9807) 2022-03-04 18:56:04 -08:00
Nathan Walker
a9ffccef8a chore: cleanup demo app references to simplify 2022-03-04 14:38:49 -08:00
Nathan Walker
6cd8b8e804 feat(types-ios): reduced ios types to common types for optimized ts resolution (#9809) 2022-03-04 14:18:57 -08:00
Igor Randjelovic
b38337e597 fix: tear down views after a modal is closed (#9801) 2022-03-01 12:32:39 -08:00
Nathan Walker
7dcfecffab fix: memory leaks around image picking/saving to device 2022-03-01 12:32:39 -08:00
Igor Randjelovic
a8f2c4d14b chore: cleanup automated app tests (#9779) 2022-03-01 12:32:39 -08:00
Igor Randjelovic
6437352fed feat(switch): :checked pseudo and color fixes (#9790) 2022-03-01 12:32:39 -08:00
Igor Randjelovic
988f372788 perf(ios): UIImage memory leaks (#9783) 2022-03-01 12:32:39 -08:00
William Sedlacek
66d8afffc1 feat(android): tab view icon rendering mode (#9605)
Co-authored-by: wSedlacek <wsedlacekc@gmail.com>
2022-03-01 12:32:39 -08:00
Dimitris - Rafail Katsampas
608bb1ed24 fix(core): animation iteration correct for android css animations and iOS rotation (#9628)
closes #7712

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2022-03-01 12:32:39 -08:00
Nathan Walker
6c06c77618 fix(core): Application handling of nativeApp instance 2022-03-01 12:32:39 -08:00
Nathan Walker
d1dc7883f8 chore: 8.2.0-alpha.3 2022-03-01 12:32:39 -08:00
Nathan Walker
d7916d77a1 feat: touch animations demo in toolbox 2022-03-01 12:32:39 -08:00
Nathan Walker
d756eb5574 feat(root-layout): support gradient colors on shade cover (#9626)
Co-authored-by: William Juan <williamjuan027@gmail.com>
2022-03-01 12:32:39 -08:00
Ruslan Lekhman
388d7eaa7d feat(core): support RGB alpha notation (#9699)
Functional notation: rgb[a](R G B[ / A])
CSS Colors Level 4 adds support for space-separated values in the functional notation.
See https://www.w3.org/TR/css-color-4/#rgb-functions

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2022-03-01 12:32:39 -08:00
Dimitris - Rafail Katsampas
90ceed15d3 feat: new expression parser for xml bindings (#9729) 2022-03-01 12:32:39 -08:00
Nathan Walker
774d0533da chore: update workspace dependencies 2022-03-01 12:32:38 -08:00
Nathan Walker
9c6c84b107 chore: nx migrate latest (#9709) 2021-12-21 18:24:24 -08:00
Igor Randjelovic
a88cacab89 chore(migrate): apps/* to webpack5 (#9606) 2021-12-21 09:47:33 -08:00
wanderer163
002ecc379f chore: grammar and typos in .md files (#9632) 2021-11-02 12:28:27 -07:00
Janos Hrubos
6374c47013 chore: update runtime versions in demo apps (#9599)
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-10-06 17:49:30 +02:00
Sébastien JEAN
8e76bbe251 fix(android): StringIndexOutOfBoundsException with invalid drawables (#9563)
* fix(android/application): org.nativescript.widgets.Utils::getDrawable

* chore: fix spacing

* fix(android/application): do not load empty path

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>

* test: Add tests for empty image sources

* chore: add a few more test cases

These make the app crash without the fix in place

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2021-09-25 09:54:34 +02:00
Nathan Walker
ee701db137 chore(release): @nativescript/core@8.1.3 2021-09-18 13:38:24 -07:00
Sergey Mell
2a4563716a fix(styling): change transform parameters parsing (#9481)
Fixed the incorrectly applied short form of "transform: translate" style property.

closes #5202
2021-09-08 16:07:39 -07:00
Osei Fortune
76499a5367 feat(android): vector drawable support (#9464) 2021-09-08 16:07:39 -07:00
Osei Fortune
b2f792324d feat(image-source): add saveToFileAsync, toBase64StringAsync & resizeAsync (#9404) 2021-09-08 16:07:39 -07:00
Nathan Walker
3aff057b99 revert: fix(android): nested dialog/fragment handling (#9495)
This reverts commit 4c547bb00c.
2021-09-08 16:07:39 -07:00
Nathan Walker
71677f70b1 chore: apps webpack config 2021-09-08 16:07:39 -07:00
Nathan Walker
0ae39097bd chore: fix tests for ios 2021-09-08 16:07:39 -07:00
farfromrefuge
e17e46974b feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation (#8791)
Changes the behavior of android fragment transactions to use `add` instead of `replace` on forward navigation.

BREAKING CHANGE:

Changes the internal behavior of Android navigation:

* while navigating forward, the page navigated from is not unloaded anymore
* events order is changed in the sense that now `unloaded` happens after `navigatedFrom` instead of before

There are multiple plus sides to this:

* no more black views on navigation when using opengl (maps, ...)
* navigation is faster, especially the navigation back! No longer need to recreate the page anymore. Navigation forward also gets faster as we no longer unload the previous page
* navigatedFrom event happens faster
* this the default behavior used by most of the android native apps
2021-09-08 16:07:39 -07:00
Nathan Walker
aa9c9f3897 chore: cleanup 2021-09-08 16:07:38 -07:00
farfromrefuge
59d9271bce feat(webpack): improved svelte HMR (#9497)
* update svelte config to use svelte-loader

* handle null config

* fix: worker support in .svelte files & update snapshots

* fix after merge

Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-08-11 11:42:53 +02:00