Commit Graph

65 Commits

Author SHA1 Message Date
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
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
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
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
NickIliev
416f1c8101 feat: add longPress state with UIGestureRecognizer (iOS) 2020-01-03 12:57:28 +02:00
Dimitar Topuzov
c5c3840bd3 Merge branch 'master' into darind/css-parser-default 2019-12-13 10:34:36 +02:00
NickIliev
954e1c61b5 feat: add integer only keyboard type for text-field and for all editable text components 2019-12-12 10:45:20 +02:00
Darin Dimitrov
ab4c389ede feat: Make css-tree the default parser 2019-12-10 17:16:20 +02:00
Shailesh Lolam
cd5703a6b7 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
2019-12-05 14:30:40 +02:00
Darin Dimitrov
49a7607f4e 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
2019-12-05 10:23:32 +02:00
Dimitar Topuzov
e4f99e065c Merge branch 'master' into remove-tns-core-modules-mentions 2019-12-04 12:24:40 +02:00
vakrilov
6c24650c86 Merge remote-tracking branch 'origin/master' into merge-release-in-master 2019-12-03 15:51:59 +02:00
Alexander Vakrilov
73d5b3442c Merge branch 'master' into remove-tns-core-modules-mentions 2019-12-03 14:32:48 +02:00
vakrilov
24cd16649c chore: remove mentions of tns-core-modules 2019-12-03 11:50:30 +02:00
Alexander Vakrilov
7b78f3b0c6 feat: System css classes for modals (#8155)
* feat: update modal views CSS classes

* chore: fix failing test
2019-12-03 11:08:33 +02:00
Morten Sjøgren
2bb7ad9d01 Implements: Proxy layout properties for the ProxyViewContainer (#8150)
* feat(ProxyViewContainer): proxy layout properties to children

* update import path

* fix(ProxyViewContainer): Layout properties not applied to new children

* test(ProxyViewContainer): Add test for layout properties

* chore: fix tslint errors
2019-12-02 11:13:23 +02:00
Nathan Walker
3199a392b4 fix(grid-layout): value parser will now accept strings or numbers (#8042) 2019-11-29 17:40:24 +02:00
Eduardo Speroni
2aa6e9bf92 feat: support requestAnimationFrame (#8112)
* feat: support requestAnimationFrame

* add native helpers to measure time

* test(animation-frame): add tests

* chore: refactor animation-frame to its own module

* chore: fix tslint
2019-11-29 11:17:26 +02:00
Martin Yankov
0ffc790d82 chore: remove critical circular dependencies (#8114)
* chore: remove critical circular dependencies

* chore: fix tslint errors

* chore: remove platform specific types from interfaces

* chore: update unit tests polyfills

* fix: incorrect null check

* chore: update api.md file

* test: improve test case

* chore: apply comments

* test: avoid page style leaks in tests
2019-11-28 13:36:34 +02:00
Dimitar Topuzov
955b0f30d8 chore: cut 6.2.3 release 2019-11-26 16:56:02 +02:00
Dimitar Topuzov
dd09de3ac4 release: cut the 6.2.2 release 2019-11-26 07:43:02 +02:00
Alexander Djenkov
47f4c25a69 fix(frame): push recreated frame back in frameStack when Don't Keep Activities enabled (#8096) 2019-11-22 11:18:37 +02:00
Stanimira Vlaeva
529f0c4f86 chore: fix a typo in a comment (#8128) 2019-11-21 16:51:39 +02:00
Manol Donev
786aca3039 chore: stabilize iOS13 unit tests (#8127) 2019-11-21 16:50:31 +02:00
Martin Yankov
800f5bcfe4 fix: tab navigations don't work with lowercase xml (#8016) 2019-11-21 14:48:33 +02:00
Manol Donev
6a1e57c604 Merge branch 'master' into merge-6.2.1-release-in-master 2019-11-20 10:21:48 +02:00
Alexander Djenkov
c5df258043 feat(modal-view-ios): handle iOS 13 dismiss modal gesture (#8024)
* feat(modal-view): introduce cancelable property on ShowModalOptions

* fix(modal-view): handle iOS 13 modal dismiss gesture

* chore: address PR comments
2019-11-20 10:00:54 +02:00
Shailesh Lolam
60ac4e7a05 fix(iOS): Opening alert/confirm on top most of modal dialogs (#7982)
This is fix for the issue #6939 where alert() and confirm() does not work in a modal dialog if it's opened on top of an existing modal dialog.
2019-11-19 16:36:08 +02:00
Vasil Chimev
b069ff38f3 fix(iOS): check for iOS 13 APIs (#8093) 2019-11-18 13:39:00 +02:00
Alexander Djenkov
d983f79923 fix(frame): nested frame wrong background after parent navigation (#8095) 2019-11-14 16:43:19 +02:00
SvetoslavTsenov
bfe457add6 Merge remote-tracking branch 'origin/master' into merge-6.2.1-release-in-master 2019-11-12 18:26:49 +02:00
Svetoslav
1528498a31 docs: cut the 6.2.1 release (#8087) 2019-11-12 16:53:50 +02:00
Martin Bektchiev
d0d4d81102 refactor(ios): Chrome DevTools Runtime domain (#8072)
Move the logic from core modules to iOS runtime. This way watches
and expressions evaluation in console will work for apps which
do not use the core modules (e.g. TestRunner of iOS runtime)
2019-11-11 14:47:26 +02:00
Alexander Vakrilov
f68647233f fix(dev-tools): use app root in getDocument() (#8071) 2019-11-08 11:14:29 +02:00
Morten Sjøgren
fc2a233e95 fix: nested css-calc and css-variables with fallback (#7987) 2019-11-07 17:30:03 +02:00
Vasil Trifonov
7fa997865b fix: ensure @CallSuper native methods call superFunc (#8025) 2019-11-07 15:14:37 +02:00
Vasil Chimev
0c7f8383a3 fix(dark-mode): formatted string and html view text color (#8031) 2019-11-07 13:43:27 +02:00