Commit Graph

164 Commits

Author SHA1 Message Date
Nathan Walker
86395da5f7 chore(release): @nativescript/core 7.0.2, @nativescript/webpack 3.0.4 (#8842) 2020-09-10 08:41:19 -07:00
tarunama
fda4c48851 chore: add repository 2020-09-10 08:41:19 -07:00
Nathan Walker
0e3af4d9b3 chore(release): @nativescript/core 7.0.1 (#8836) 2020-09-09 11:50:11 -07:00
Igor Randjelovic
d51abef6bf fix: invalid cli tag version (#8821) 2020-09-06 08:12:30 -07:00
Nathan Walker
f826befb9d chore(release): 7.0.0 2020-09-02 17:28:52 -07:00
Nathan Walker
54cce4f20c feat(core): nativescript.config and webpack updates (#8801) 2020-09-01 15:53:37 -07:00
Nathan Walker
967d652c61 fix(ios): stop using artificial state handler via animated setter on uiviewcontroller (#8797) 2020-08-28 00:05:47 -07:00
Igor Randjelovic
fa9f0957b8 fix(webpack): don't require ts transformer unless processing ts file 2020-08-27 23:33:16 +02:00
Nathan Walker
020ad4da37 chore(core): monorepo, esm targeting, improved management (#8707) 2020-08-25 20:00:59 -07:00
Nathan Walker
5c076de856 fix(android): list picker getTextColor api level issue (#8755)
closes https://github.com/NativeScript/NativeScript/issues/7860
2020-08-11 22:29:11 -07:00
Nathan Walker
4708ff4e68 fix(android): line-height (#8751) 2020-08-07 08:46:42 -07:00
Nathan Walker
979130de31 chore(release): 6.5.12 2020-07-21 14:06:21 -07:00
Nathan Walker
ff62eb8b73 chore(release): 6.5.11 2020-07-20 14:01:06 -07:00
Nathan Walker
68c313d039 chore(release): 6.5.10 2020-07-11 08:27:44 -07:00
Nathan Walker
9834c4f887 chore(release): 6.5.9 2020-07-07 16:38:09 -07:00
Nathan Walker
4d57ced35f chore(release): 6.5.8 2020-06-20 08:49:11 -07:00
Nathan Walker
4f65beab33 chore(release): 6.5.7 2020-06-17 14:43:21 -07:00
Nathan Walker
29541b89b1 chore(release): 6.5.6 2020-06-16 15:31:53 -07:00
Nathan Walker
3198f92580 chore(release): cut 6.5.5 release 2020-06-09 22:56:54 -07:00
Igor Randjelovic
484617cb2c chore: cut 6.5.4 release (#8613)
* chore: cut 6.5.4 release

* chore: changelog
2020-06-04 21:25:21 +02:00
Igor Randjelovic
8931295ab5 fix(core): pin typescript to 3.8.3 to avoid __exportStar issue (#8612) 2020-06-04 19:48:59 +02:00
Nathan Walker
c14d5843f2 chore: 6.5.3 changelog 2020-06-03 17:05:12 -07:00
Vasil Trifonov
2d4e258a88 Release to master (#8382)
* 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

* release: cut the 6.4.0 release

* chore(build): always use local typescript

* fix: flipLeft and flipRight on Android (#8307)

* fix(android): tap-trip-item title disappearing

* fix(andoid): crash when setting font on tab-item with no image

* 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>

* release: cut the 6.4.1 release

* chore: bump tns-core-modules-widgets version (#8352)

Co-authored-by: hamidbsd <50081218+hamidbsd@users.noreply.github.com>
Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
Co-authored-by: Nick Iliev <nikolay.iliev@telerik.com>
Co-authored-by: Martin Bektchiev <martin.bektchiev@progress.com>
Co-authored-by: Rosen Vladimirov <rosen-vladimirov@users.noreply.github.com>
2020-02-26 18:06:50 +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
Alexander Vakrilov
defb4f8880 test: execute api-extractor on CI properly (#8123) 2019-11-21 08:25:06 +02:00
Alexander Vakrilov
eb960b7162 chore: add no android.R tslint rule (#8033) 2019-11-07 13:19:20 +02:00
Alexander Vakrilov
1c694d3165 chore: add api-report check to travis (#8023) 2019-10-29 14:52:04 +02:00
Alexander Vakrilov
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
Alexander Vakrilov
82f2ccbdfb chore: remove grunt and clean-up (#7845)
* chore: remove grunt files and deps

* chore: npm scripts cleanup

* chore: more deps clean-up

* chore: tsconfig clean-up

* chore: remove unneed file

* chore: move tsinfig.unit-tests

* chore: add dist/ exclude
2019-10-03 14:50:59 +03:00
SvetoslavTsenov
e6c7e0c1ac Merge remote-tracking branch 'origin' into merge-release-in-master 2019-09-18 01:08:56 +03:00
Svetoslav
25046c7f94 chore: remove grunt and update build scripts (#7838)
* chore: prepare and pack scripts

* chore: update @types/node dep

* chore: remove prepare-dist command from pack-dist
2019-09-18 01:05:39 +03:00
Ryan Pendergast
570c17f41a chore: dev-tsc-all target invalid in package.json (#7746) 2019-09-12 15:54:02 +03:00
Manol Donev
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
Manol Donev
2d0737a92d chore: hardcode tslib version to 1.10.0 (#7776) 2019-09-10 15:43:17 +03:00
Morten Sjøgren
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
Vasil Chimev
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
Manol Donev
b20e771552 chore: remove deprecated apis for ns 6.0 (#7382) 2019-06-25 16:52:01 +03:00
Vasil Trifonov
5f9eabdf17 feat: update android typings to include @deprecated attributes (#7364)
* feat: added tslint rule for deprecation turned off
* feat: updated android dts files to include @deprecated
2019-06-17 18:56:34 +03:00
Svetoslav
94629ce86c chore: move typing for material design in tns-platform-declarations (#7352) 2019-06-17 13:49:52 +03:00
Martin Yankov
b97cf958ef chore: return http server with npx (#7254) 2019-05-21 10:58:11 +03:00
Dimitar Topuzov
4b16363d0b chore: remove http-server dependency (#7199)
`npm i`  fails on non windows os because of `http-server` dev dependency.
Not sure we need it.
2019-05-02 23:58:58 -07:00
Svetoslav
5c165f527c docs: update widgets build script, readme, travis (#7099)
* docs: update widgets build script, readme, travis
2019-04-03 15:10:21 +02:00
Martin Bektchiev
89870f7c91 chore(docs): Upgrade typedoc to version 0.13.0 (#6717)
Building with the current 0.5.10 now fails because it depends on typescript
before 2.4. This causes the following errors:
```
NativeScript@ typedoc /root/NativeScript
> typedoc --tsconfig tsconfig.typedoc.json --out bin/dist/apiref --includeDeclarations --name NativeScript --theme ./node_modules/nativescript-typedoc-theme --excludeExternals --externalPattern "**/+(tns-core-modules|module).d.ts"

Loaded plugin typedoc-plugin-external-module-name

Using TypeScript 2.2.2 from /root/NativeScript/node_modules/typedoc/node_modules/typescript/lib
Error: /root/NativeScript/tns-core-modules/module.d.ts(67)
In ambient enum declarations member initializer must be constant expression.
Error: /root/NativeScript/tns-core-modules/module.d.ts(68)
In ambient enum declarations member initializer must be constant expression.
Error: /root/NativeScript/tns-core-modules/module.d.ts(69)
In ambient enum declarations member initializer must be constant expression.
```

This fix is required to support typeodoc@0.8.0 and above:
01f94b4ae2
2018-12-17 17:05:09 +02:00
Alexander Vakrilov
5c03abefba chore: update to TypeScript 3 (#6556) 2018-11-14 17:00:42 +00:00
Morten Sjøgren
1232d1edfd feat(tslib): add tslib helpers to global (#6351)
* feat(tslib): add tslib helpers to global

* Adds tslib as a dependency to tns-core-modules
* Replaces globals/decorators with globals/tslib
* Adds support for async/await, rest and spread operators.

* refactor: rename tslib to ts-helpers to avoid confusion with npm package
2018-10-05 17:12:45 +03:00
Vasil Chimev
982acdc168 feat(iOS): Safe Area Support (#6230) 2018-09-28 18:21:50 +03:00
Manol Donev
2fc1d8a8d4 chore(tsc): enable noUnusedLocals compiler option for tns-core-modules (#5755) 2018-05-10 16:12:59 +03:00
Martin Yankov
dfa70dd384 feat(frame): rework frame retrieval api (#5527)
Rework the frame api to support working with multiple Frames.
* frameModule.topmost() - now returns the last navigated Frame or
the currently selected tab item's Frame if the tab item's view is a
Frame.
* frameModule.getFrameById(id: string) - returns a navigated Frame by id.
* args.object.page.frame - can be used in page elements event handlers.
Returns the Frame of the current element's page.
* chore: Update madge-android npm script path
2018-03-13 18:10:45 +02:00
Vasil Chimev
e1a1d643c8 test(e2e): add modal-navigation app tests (#5445)
* test(e2e): modal-navigation app webpack support

* test(e2e): add modal-navigation app smoke test

* chore(e2e): tslint disable next line

* chore(e2e): modal-navigation app compilation

* refactor(e2e): modal-nabivation app pages

* test(e2e): add app root modal frame tests

* test(e2e): add app root modal frame background tests

* refactor(e2e): app root modal frame tests

* test(e2e): add tab root modal frame tests

* refactor(e2e): modal frame tests

* test(e2e): add modal page tests

* docs(e2e): add scenarios

* refactor(e2e): modal-navigation app tests

* test(e2e): turn on/off "Don't keep activities"

* test(e2e): delete no background tests

* test(e2e): add modal tab tests

* refactor(e2e): quit driver after all tests

* refactor(e2e): config files

* fix(e2e): tab root tests

* refactor(e2e): skip tab root tests until fix app

* chore(e2e): config files
2018-03-13 09:06:12 +02:00
Manol Donev
e1eea8efe7 test(e2e): add modal-navigation app (#5393)
* chore(apps): add modal-navigation-app for ui testing

* test(e2e): add modal-navigation app

* test(apps): remove modal-navigation-app

The app has been moved to `e2e/modal-navigation`.

* chore: include e2e folder to npm scripts

* docs: include e2e folder to DevelopmentWorkflow.md

* chore(e2e): update .gitignore

* fix(e2e): relative paths

* chore(e2e): update package.json

* test(e2e): add change root view to modal-navigation

* test(e2e): set androidTabsPosition to botton

* chore(e2e): add VSCode launch.json config

* docs(e2e): delete LICENSE and README.md files

* refactor(e2e): rename modal-tab-page to modal-tab-root

* test(e2e): update iOS launch screen
2018-02-14 16:51:51 +02:00