Commit Graph

7592 Commits

Author SHA1 Message Date
Nick Iliev
b7d55febe6 Merge branch 'master' into niliev/xhr 2020-02-21 08:43:49 +02:00
NickIliev
cff125dfac fix: XHR readystatechange event 2020-02-21 08:41:37 +02:00
Dimitar Topuzov
74db8d955d chore: bump tns-core-modules-widgets version (#8352) 2020-02-17 17:10:37 +02:00
Rosen Vladimirov
b91745bd72 Merge pull request #8350 from NativeScript/release-6.4.1
release: cut the 6.4.1 release
2020-02-17 16:07:33 +02:00
Martin Bektchiev
0f6c9c37d2 release: cut the 6.4.1 release 2020-02-17 15:36:09 +02:00
lukecurran
520878a8a0 tslint 2020-02-13 15:30:46 -06:00
lukecurran
5ff78e2ad2 feat(gestures): add locationX and locationY to double tap event data 2020-02-13 14:57:56 -06:00
Martin Bektchiev
a644e40c1e fix(build): Add platforms/android to NPM package (#8312)
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com>
2020-02-10 09:35:30 +02:00
Alexander Vakrilov
5ce6228ce0 Merge pull request #8315 from NativeScript/tab-styles-fixes
fix(android): Bugs in tab strip items when changing styles dynamically
2020-02-06 18:12:25 +02:00
Vasil Trifonov
dd11158374 fix: guard cachedDrawable (#8320) 2020-02-06 17:29:30 +02:00
Alexander Vakrilov
2a5b1f4e12 Merge branch 'release' into tab-styles-fixes 2020-02-05 16:26:39 +02:00
vakrilov
2dd3bb203a fix(andoid): crash when setting font on tab-item with no image 2020-02-05 16:17:50 +02:00
vakrilov
cb8cea820d fix(android): tap-trip-item title disappearing 2020-02-05 16:17:09 +02:00
Alexander Vakrilov
9d59fc031f Merge pull request #8304 from NativeScript/use-local-tsc
chore(build): always use local typescript
2020-02-05 14:57:37 +02:00
Alexander Vakrilov
d2682a4f5b Merge branch 'release' into use-local-tsc 2020-02-05 13:44:26 +02:00
Alan
b8d0e53b52 docs: fix typo (#8301) 2020-02-05 13:39:51 +02:00
Nick Iliev
c13b104441 fix: flipLeft and flipRight on Android (#8307) 2020-02-05 13:38:25 +02:00
vakrilov
00d25adc78 chore(build): always use local typescript 2020-02-03 11:24:09 +02:00
Alexander Vakrilov
9d5bddb56b Merge pull request #8296 from NativeScript/release-6.4
release: cut the 6.4.0 release
6.4.0
2020-01-31 21:12:11 +02:00
Alexander Vakrilov
4cbff18ef7 Merge branch 'release' into release-6.4 2020-01-31 12:03:15 +02:00
vakrilov
6b74054ae3 release: cut the 6.4.0 release 2020-01-31 11:59:38 +02:00
Martin Bektchiev
3bb8a40caa feat: Add iOS APIs usage list (#8291) 2020-01-30 21:31:27 +02:00
Vladimir Mutafov
f031f6f2ca feat: Add Android APIs usage list (#8286)
* Add Android APIs usage list

* Add androidx packages

* Enable metadata filtering in tests app

* Add java.lang.reflect package to usage list

* Add android.provider package to usage list

* Remove incorrectly commited file
2020-01-30 20:24:32 +02:00
Nick Iliev
0b50f3e5d3 fix: remove the passowrd for TextField as well (#8290) 2020-01-30 16:34:38 +02:00
Stefan Andres Charsley
e293367dfc feat(http): better binary support & XHR support (#7707)
* feat(http): binary upload support

* feat(http): better binary support & XHR support

* fix: linting issue

* chore: moved files from old place to the new one

* chore: Updated NativeScript.api.md

* feat(http): support both ByteBuffer and String

Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
2020-01-28 15:22:32 +02:00
Bernardo Sanguinetti
a311a922b5 Fix date picker owner not updating its comps on iOS (#8263)
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
2020-01-27 17:46:12 +02:00
Alexander Vakrilov
e57d5d9da1 chore: merge release in master (#8275)
* fix the crash

* chore: update MaterialComponents pod (#8176)

* chore: update MaterialComponents pod

* chore: remove copy of pod file in build script

* chore: cut the 6.3.0 release (#8174)

* hore: cut the 6.3.1 release

* fix: handle fake attach after FragMgr is destroyed (#8200)

* fix: check is disposed fragment is in the FragmentManager (#8201)

* release: cut the 6.3.2 release

Co-authored-by: hamidbsd <50081218+hamidbsd@users.noreply.github.com>
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
2020-01-27 11:05:46 +02:00
Alexander Vakrilov
02763ecd2c fix(android): crash on setting elevation on API21 (#8269) 2020-01-23 10:50:01 +02:00
Darin Dimitrov
f293398c94 fix: invoke done callback in image cache unit test for API Level < 20 (#8267) 2020-01-22 16:11:03 +02:00
Romain Vincent
05ef9b0ff2 fix(8151): button textAlignment on IOS (UIButton) (#8181)
When setting the format of a "text view", we need to recover existing values for properties that will get default values otherwise.
The "textAlignment" of a UIButton is available through a "titleLabel" object instead of directly on itself (see IOS documentation fo UIButton).

Co-authored-by: Romain Vincent <54814371+romain20100@users.noreply.github.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
2020-01-21 18:39:42 +02:00
Nicu
3c79ded42b feat(textview): added maxLines property (#7943)
* feat(textview): added maxLines property

* feat(text-view): moved implementation to TextView

* feat(text-view): changes based on CR

* feat(text-view): Normalize behavior in between android and iOS

* chore: updated NativeScript.api.md

* chore: add new line before return

Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
2020-01-16 12:41:26 +02:00
Alexander Vakrilov
6133d6b6bd fix(ios): ActionBar style wrong after cancelled swipe back navigation (#8252)
* fix(ios): ActionBar style wrong after cancelled swipe back navigation

* chore: cleanup

* remove unneeded console.log

Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
2020-01-16 12:17:29 +02:00
Dimitar Topuzov
d90f37af5b Merge pull request #8250 from NativeScript/niliev/integer
fix: make integer type visible
2020-01-16 11:05:46 +02:00
NickIliev
ea8a4360b2 fix: make integer type visible 2020-01-15 14:44:57 +02:00
Vasil Trifonov
8569b51a9a fix: return default tab background color when the background color is not explicitely set through css (#8240)
* fix: return default tab background color

when the background color is not explicitely set through css

* chore: update NativeScript.api.md

* fix: do not cast return getTabBarBackgroundColor to ColorDrawable

* chore: added comment and method check

Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com>
2020-01-14 15:53:26 +02:00
Alexander Vakrilov
4e48e68924 feat(ios): set preferredStatusBarStyle in Page VCs (#8241) 2020-01-14 10:47:37 +02:00
Ryan Pendergast
e8f5ac8522 feat: Add 3D rotation to view - takeover of PR# 5950 (#8136)
* feat: add 3d rotation

* chore: fix build errors

* chore: fix tslint errors

* chore: add @types/chai dev dep

* chore: unused import cleanup

* chore: update tests for x,y rotation

* chore: rebase upstream/master

* fix: iOS Affine Transform test verification

* feat(css): Added optional css-tree parser (#8076)

* feat(css): Added optional css-tree parser

* test: css-tree parser compat tests

* test: more css-tree compat tests

* feat(dialogs): Setting the size of popup dialog thru dialog options (#8041)

* Added iOS specific height and width attributes to ShowModalOptions

* Set the height and width of the popup dialog to the presenting controller

* dialog options ios attributes presentationStyle, height & width are made optional

* Updated NativeScript.api.md for public API changes

* Update with git properties

* Public API

* CLA update

* fix: use iOS native-helper for 3d-rotate

* test: Fix tests using _getTransformMismatchError

* fix: view.__hasTransfrom not set updating properly

* test: fix css-animations test page

Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com>
Co-authored-by: Darin Dimitrov <darin.dimitrov@gmail.com>
Co-authored-by: Shailesh Lolam <slolam@live.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
2020-01-10 12:59:46 +02:00
Yurii Cherniavskyi
8550c3293d fix(ios/bottom-navigation): move TabStrip items event emitting to selectedIndex changed handler (#8160) 2020-01-10 10:49:32 +02:00
SpurguX
d65a2db83a fix(android): Request Timeout #6523 (#8194)
Fix http requests to use read timeout in addition to connect timeout.

Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
2020-01-09 10:54:35 +02:00
Kirill Goncharov
9217094a8e feat(html-view): Additional properties for HtmlView component (#8207)
* feat(html-view): Additional properties for HtmlView component

- Allow to set text color with `color` CSS property.
- Allow to set link color with `link-color` CSS property.
- Allow to set font attributes with `font-family` and `font-size` CSS properties.
- Make text selectable on Android by default (for consistency with IOS).
- Remove extra padding on IOS.

* refactor: Move uiColorToHex function to nativescript-core/color module

* test: adding test for new HtmlView css properties

Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
2020-01-08 18:48:29 +02:00
Darin Dimitrov
3c340b42dc test: make image-cache tests async (#8232) 2020-01-08 15:04:29 +02:00
Dimitar Topuzov
a8cce271b5 Merge pull request #8224 from NativeScript/niliev/long-press
feat: add longPress state argument w/ UILongPressGestureRecognizer (iOS)
2020-01-06 22:01:58 +02:00
NickIliev
416f1c8101 feat: add longPress state with UIGestureRecognizer (iOS) 2020-01-03 12:57:28 +02:00
Dimitar Topuzov
386497ff8b Merge pull request #8209 from NativeScript/release-6.3.2
chore: cut release 6.3.2
6.3.2
2019-12-20 14:17:55 +02:00
Dimitar Topuzov
a02c925306 release: cut the 6.3.2 release 2019-12-20 13:52:51 +02:00
Alexander Vakrilov
4b00376957 fix: check is disposed fragment is in the FragmentManager (#8201) 2019-12-17 12:04:32 +02:00
Alexander Vakrilov
d1858f81b7 fix: handle fake attach after FragMgr is destroyed (#8200) 2019-12-17 08:57:30 +02:00
Dimitar Topuzov
76442f433e Merge pull request #8198 from NativeScript/release-6.3.1
chore: cut the 6.3.1 release
6.3.1
2019-12-16 11:11:07 +02:00
Dimitar Topuzov
e5dc0de54a hore: cut the 6.3.1 release 2019-12-16 10:43:16 +02:00
Dimitar Topuzov
217d22e66a Merge pull request #8185 from NativeScript/darind/css-parser-default
feat: Make css-tree the default parser
2019-12-13 11:03:44 +02:00