538 Commits

Author SHA1 Message Date
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
673c8087e0 feat: implement css-variables and css-calc (#7553)
* feat: implement basic support for css-variables

* fix(test): test-watch-android and test-watch-ios was broken

* fix: processing css-variables belong in CssProperty-classes

Not in the StyleScope.

* fix(css-variables): set style attribute override value from css-classes

* feat: add css calc-support using 'reduce-css-calc'

* fix(tslint): missing semicolon and incorrect quotemark

* feat: move css-variable handling to Style-class

* chor: add comments explaining css-variable implmentation

* chor: set css-variables before other style properties

* chor(css-variables): cleaning up

* chor: code style fixes

* test(CSS-CALC): Add tests for nested css-calc statements

* fix(CSS-CALC): dip-unit not supported by reduce-css-calc

* fix(tslint): use double quotemarks

* test(css-calc): test _cssCalcConverter directly

* chor(css-variables): rename and clean up _cssVariableConverter to _evaluateCssVariable

* chor: rename varname to varName for consistency

* chor: support css-calc and variables for normal properties

* chor: use string.replace to evaluate css-variables

* fix: Missing blank line before return

* chor: rename css-calc functions

* fix: undefined css-variables treated as 'unset'

* fix(tslint): use double quotemarks

* feat(css-variable): handle fallback values

* chor(css-variables): handle unsetValue

* chor: process css-calc and css-variables in style-scope

* chore: clean-up css-calc/variable expressions

* fix(css-calc): handle invalid expressions

* chore(CSSState): update comments

* chore(Style): rename css-variable functions

* chore(css-variables): describe fallback logic

* chore: move reset scoped css-variables to Style-class

* chore(CssState): simplify check for css expressions

* chore: add reduce-css-calc to /package.json
2019-08-20 00:56:56 +03:00
3adba6826b feat: add CSS classes to app/modal root views to target platform/device/orientation/type (#7606) 2019-08-19 14:09:44 +03:00
70f8d70f07 chore(e2e): update config files (#7677)
* chore(e2e): update config files

* chore: update .gitignore file

* chore: update references.d.ts file

* chore: remove npm scripts

* chore: update travis config
2019-08-18 23:16:35 +03:00
9877b202cd fix(hmr): close modal views during livesync #7668 (#7679)
chore: add unit tests to test that modal views are closed during hmr
2019-08-15 15:32:17 +03:00
72ca461f59 feat(tab-content-view): change tabContentItem to View (#7629) 2019-08-15 11:08:18 +03:00
acc3436d9f feat(tab): add support for custom tabstrip (#7580) 2019-08-14 17:34:18 +03:00
e2c3c8c084 feat: expose application orientation (#7602) 2019-08-14 13:47:15 +03:00
90614b402e Merge branch 'master' into return-missing-css-errors 2019-08-05 13:56:38 +03:00
d3c39c1a9f feat(GridLayout): Add synonym property column[Span] for col[Span] in GridLayout (#7641)
* add column synonym for col property grid layout

* refactoring

* refactor: implement column proxy props

* test: add tests for column and columnSpan props
2019-08-05 13:56:22 +03:00
13782746a4 Merge branch 'master' into return-missing-css-errors 2019-08-02 19:16:37 +03:00
a569bb2931 fix(timer): setTimeout/setInterval support for boolean period (#7569)
* Fix setTimeout/setInterval can't be called with boolean period

* Add typings and a test

* Revert typings

* Ignore the wrong type
2019-08-02 16:06:03 +03:00
9113a04d80 refactor: return of missing css errors 2019-08-02 15:46:04 +03:00
ef84afeedf Merge branch 'master' into myankov/merge-release 2019-07-26 14:42:25 +03:00
490cab0df9 fix(tabs-ios): unable to return to tab after tab with nested frame visited (#7574) 2019-07-25 15:00:42 +03:00
abc143eeac Merge remote-tracking branch 'origin/master' into svetoslavtsenov/merge-release-in-master 2019-07-16 13:26:15 +03:00