553 Commits

Author SHA1 Message Date
68c313d039 chore(release): 6.5.10 2020-07-11 08:27:44 -07:00
bd12bafb4a feat(ImageSource): resize method (#8678) 2020-06-29 22:17:39 -07:00
127447b14e docs: Fix simple typo, coresponding -> corresponding (#8504)
There is a small typo in tests/app/ui/tab-view/tab-view.md.

Should read `corresponding` rather than `coresponding`.
2020-04-07 10:26:15 +03:00
50eb372929 fix(css): parse css selectors with escape sequences (for real) (#8496)
* fix(css): CSS escape sequences

* Missing semicolon

Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
2020-04-03 19:43:52 +03:00
ad9daa825f fix: dont default to Font.default (#8401)
* fix: dont default to Font.default

This would cause a font to be set for any label even when using default system font.
This will also cause a typeface which is pretty long

* lint: lint fixes

* fix: added null font guards

* fix: Used default bold for TabView

Co-authored-by: Vasko <v.trifonov@gmail.com>
2020-04-03 16:40:14 +03:00
56f6626891 fix: remove duplciate snippet (#8492) 2020-04-02 14:18:47 +03:00
c9cea472ca refactor(css): attribute selectors match web counterparts (#7848)
* Improve CSS selector parsing/matching by 30% - 40%
  with some JavaScript optimization and excluding ProxyViewContainer from the process
Change the specificity to be divisible to 10

* fix: selector match

* fix: lint errors

* refactor: restore processing of ProxyViewContainer

* chore: lower the number of expected cycles

* fix: some css selector fixes

Co-authored-by: Manol Donev <manol.donev@gmail.com>
Co-authored-by: Manol Donev <manoldonev@users.noreply.github.com>
Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
2020-03-26 19:04:42 +02:00
92b5b02bf5 feat(text-field): add closeOnReturn property to avoid auto dismissing… (#8347)
* feat(text-field): add closeOnReturn property to avoid auto dismissing input on return press

* tslint

* Update NS public api

Co-authored-by: Vasil Trifonov <v.trifonov@gmail.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
2020-03-20 10:19:53 +02:00
3bb8a40caa feat: Add iOS APIs usage list (#8291) 2020-01-30 21:31:27 +02:00
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
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
f293398c94 fix: invoke done callback in image cache unit test for API Level < 20 (#8267) 2020-01-22 16:11:03 +02:00
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
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
3c340b42dc test: make image-cache tests async (#8232) 2020-01-08 15:04:29 +02:00
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
08b21164c6 tests: update cycles 2019-12-03 16:10:39 +02:00
6c24650c86 Merge remote-tracking branch 'origin/master' into merge-release-in-master 2019-12-03 15:51:59 +02:00
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
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
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
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
5b647bd809 tests: fix private nativescript-dev-webpack API usage (#8124) 2019-11-21 21:20:22 +02:00
0175c4b35a chore: housekeeping (#8129) 2019-11-21 16:51:17 +02:00
786aca3039 chore: stabilize iOS13 unit tests (#8127) 2019-11-21 16:50:31 +02:00
800f5bcfe4 fix: tab navigations don't work with lowercase xml (#8016) 2019-11-21 14:48:33 +02:00
b069ff38f3 fix(iOS): check for iOS 13 APIs (#8093) 2019-11-18 13:39:00 +02:00
fc2a233e95 fix: nested css-calc and css-variables with fallback (#7987) 2019-11-07 17:30:03 +02:00
cc97a16800 feat: Scoped Packages (#7911)
* chore: move tns-core-modules to nativescript-core

* chore: preparing compat generate script

* chore: add missing definitions

* chore: no need for http-request to be private

* chore: packages chore

* test: generate tests for tns-core-modules

* chore: add anroid module for consistency

* chore: add .npmignore

* chore: added privateModulesWhitelist

* chore(webpack): added bundle-entry-points

* chore: scripts

* chore: tests changed to use @ns/core

* test: add scoped-packages test project

* test: fix types

* test: update test project

* chore: build scripts

* chore: update build script

* chore: npm scripts cleanup

* chore: make the compat pgk work with old wp config

* test: generate diff friendly tests

* chore: create barrel exports

* chore: move files after rebase

* chore: typedoc config

* chore: compat mode

* chore: review of barrels

* chore: remove tns-core-modules import after rebase

* chore: dev workflow setup

* chore: update developer-workflow

* docs: experiment with API extractor

* chore: api-extractor and barrel exports

* chore: api-extractor configs

* chore: generate d.ts rollup with api-extractor

* refactor: move methods inside Frame

* chore: fic tests to use Frame static methods

* refactor: create Builder class

* refactor: use Builder class in tests

* refactor: include Style in ui barrel

* chore: separate compat build script

* chore: fix tslint errors

* chore: update NATIVESCRIPT_CORE_ARGS

* chore: fix compat pack

* chore: fix ui-test-app build with linked modules

* chore: Application, ApplicationSettings, Connectivity and Http

* chore: export Trace, Profiling and Utils

* refactor: Static create methods for ImageSource

* chore: fix deprecated usages of ImageSource

* chore: move Span and FormattedString to ui

* chore: add events-args and ImageSource to index files

* chore: check for CLI >= 6.2 when building for IOS

* chore: update travis build

* chore: copy Pod file to compat package

* chore: update error msg ui-tests-app

* refactor: Apply suggestions from code review

Co-Authored-By: Martin Yankov <m.i.yankov@gmail.com>

* chore: typings and refs

* chore: add missing d.ts files for public API

* chore: adress code review FB

* chore: update api-report

* chore: dev-workflow for other apps

* chore: api update

* chore: update api-report
2019-10-17 00:45:33 +03:00
6c7139477e fix: UIUserInterfaceStyle is undefined for iOS <= 11 (#7931) 2019-10-16 16:41:47 +03:00
1d4502a19d Merge branch 'master' into svetoslavtsenov/merge-release-in-master-patch 2019-10-15 18:29:51 +03:00
08e23bcc3b feat: overhaul and streamline Android page navigation transitions (#7925)
* feat: remove Animators and replace with Transitions

* fix: handle disappearing nested fragments for tabs.

Extract TabFragmentImplementation in tab-navigation base for both tabs and bottom navigation

* chore: bump webpack cycles counter

* feat(android-widgets): add androidx.transition:transition as dependency

* chore: fix typescript errors

* fix(frame-android): child already has a parent. Replace removeView with removeAllViews

* fix(tests): wait for fragment before isAdded() check

* fix(bottom-navigation): prevent changeTab logic when fragment manager is destroyed

* chore: apply PR comments changes
2019-10-15 18:19:47 +03:00
12e2a57112 Merge remote-tracking branch 'origin/master' into svetoslavtsenov/merge-release-in-master-patch 2019-10-15 16:17:31 +03:00
7fe8d1c339 fix(tabs-ios9): no view controller managing visible view error (#7837) 2019-10-15 13:32:35 +03:00
f82cf08f95 feat(ios-dark-mode): adapt dynamic system colors (#7826) 2019-10-04 10:58:54 +03:00
d479067afb chore(travis-ci): add circular references check (#7754) 2019-10-02 15:01:01 +03:00
2146ac902f feat(file-system): async read/write (#7671) 2019-10-02 11:21:18 +03:00
c41e5c0b6d Merge branch 'master' into mdonev/release-to-master-20190930 2019-09-30 14:14:17 +03:00
b7f6a2dec5 test: escape & in tests (invalid XML) 2019-09-27 17:26:51 +03:00
4166e2d966 fix: expose orientation to application module (#7832) 2019-09-19 18:49:07 +03:00
dfcbe6c319 style: formatting and whitespaces (#7840) 2019-09-19 15:40:31 +03:00
f438ad7d69 chore: fix typo (#7765) 2019-09-12 15:54:34 +03:00
e0c4933337 chore: merge release to master (#7809)
* feat(android): fix tab resource icon size based on spec (#7737)

* feat(ios): add icon rendering mode for bottom navigation (#7738)

* fix(ios-tabs): crash when add tabstrip in loaded event (#7743)

* fix(css): parse css selectors with escape sequences (#7689) (#7732)

* fix(ios-tabs): handle nesting proxy view container (#7755)

* fix-next(css): className to preserve root views classes (#7725)

* docs: cut the 6.1.0 release (#7773)

* fix(android-list-picker): NoSuchFieldException on api29 (#7790)

* chore: hardcode tslib version to 1.10.0 (#7776)

* fix(css-calc): reduce_css_calc_1.default is not a function (#7787) (#7801)
2019-09-12 14:33:03 +03:00
d23ffb8dbf fix-next(css): className to preserve root views classes (#7725) 2019-08-30 09:09:35 +03:00
e3ed02858c fix(css): parse css selectors with escape sequences (#7689) (#7732) 2019-08-29 16:14:29 +03:00
552021373e fix(css): parse css selectors with escape sequences (#7689) 2019-08-26 13:59:03 +03:00
55c9cc9072 feat(TabStrip): add itemTap event (#7711) 2019-08-23 15:32:31 +03:00
efdd7e625c fix-next: Add accidentally removed System.import (#7706) 2019-08-21 16:45:00 +03:00
b6ff4d376a fix: dots can now be used in module names (#7655)
Only known extensions are stripped from the end of module names
2019-08-21 00:01:53 +03:00
7d265f2dec Merge remote-tracking branch 'origin/master' into vsetoslavtsenov/merge-release-in-master 2019-08-20 01:00:52 +03:00