Commit Graph

100 Commits

Author SHA1 Message Date
Hristo Hristov
a582adc561 Hhristov/fix (#3653)
* Fix action-bar systemIcon
Fix CSS applying

* refactoring

* fix console

* remove StyleScope import - it is private and cannot be imported in public .d.ts
2017-02-17 17:21:57 +02:00
Hristo Deshev
232692cacd Increase Node heap size for TypeScript compiler runs. 2017-02-17 14:10:55 +02:00
Hristo Deshev
503e5bf9ff Upgrade to typedoc@0.5.6 2017-02-17 13:25:17 +02:00
Hristo Deshev
dc6d89d9bf Use typedoc theme from GitHub master branch.
Until we get the NPM release back in check.
2017-02-17 13:24:49 +02:00
Hristo Deshev
3056ce51c2 Upgrade to TypeScript 2.1, and latest grunt-ts.
Conflicts:
	package.json
	tests/app/ui/animation/animation-tests.ts
	tns-core-modules/lib.core.d.ts
	tns-core-modules/ui/animation/animation-common.ts
2017-02-13 14:13:33 +02:00
Hristo Deshev
65c3ad59a7 Remove grunt-tslint. Use an npm script for that. 2017-02-13 14:13:33 +02:00
Hristo Deshev
cdf08378b0 Remove grunt-ts dependency.
Compile code using tsconfig.json files and plain tsc invocations.
Call those using grunt-shell.
2017-02-13 14:13:33 +02:00
Hristo Deshev
aae8f1cbb1 Upgrade grunt, fix missing grunt-contrib-copy dependency. 2017-02-07 10:37:34 +02:00
PanayotCankov
d10ca1da03 Fix the last several errors 2016-12-20 13:36:10 +02:00
Rossen Hristov
75dba8fab2 Include apps and tests in tsconfig.json 2016-12-20 09:36:23 +02:00
Hristo Hristov
c71b4d4bf1 Hhristov/modules30 fixes (#3321)
* Fixed bindings, several css properties, attached properties

* Fix valueChanged handlers
Fix double registration of width/height property handlers

* fix broken merge
2016-12-19 17:52:18 +02:00
Rossen Hristov
2f9fa6f6a3 Lock all Typescript versions to ~2.0.10 2016-12-15 10:51:45 +02:00
PanayotCankov
2bf7b07bf6 Add validation/parsing for the FlexboxLayout properties
Make FlexboxLayout work with CSS properties, shorhands are not yet supported

Make shorthand properties

Remove redundant logging
2016-11-10 11:16:24 +02:00
Panayot Cankov
05cd636fc8 npm scripts for typechecking public .d.ts-es and running tslint (#2934)
* npm scripts for typechecking public .d.ts-es and running tslint

* Update test.ts
2016-10-27 15:18:54 +03:00
Panayot Cankov
43ceefdc03 Added npm run typedoc and npm run dev-typedoc scripts, read the DevelopmentWorkflow.mk 2016-10-06 17:52:14 +03:00
Hristo Hristov
98deeccb21 Change image.android to use the new image.Cache class from widgets. (#2832)
* Change image.android to use the new image.Cahce class from widgets.

* fix npm scripts

* npm tsc will compile all so no need for npm run dev-tsc-tests

* fix tslint error

* image-tests use memory only cache.

* fix exception in image.android

* Change image-tests so that Image won't be GC immediately.

* Change cacheMode to enum
2016-10-05 13:09:08 +03:00
Panayot Cankov
a528ae7f85 symlinking tns-platform-declarations inside tns-core-modules causes the apps and tests to fail on some dev machines 2016-09-29 17:55:59 +03:00
Rossen Hristov
f8a0cc1907 Update typescript to 2.0.3 2016-09-28 16:46:47 +03:00
Panayot Cankov
1777ed5f13 Fix === 2016-09-26 13:19:34 +03:00
Panayot Cankov
0e23f47a04 Update the .travis.yml to npm pack the tns-platform-declarations, add lib: [] config in the tsconfig.json 2016-09-26 11:53:40 +03:00
Panayot Cankov
299203901e Move platform .d.ts-es to separate plugin folder
Add dev-setup to figure out links

Update development workflow

Update package.json and dts-ios

Update the iOS declarations

grunt is now fine
2016-09-26 11:53:39 +03:00
Rossen Hristov
a05f842a84 Non-uniform borders 2016-09-17 09:27:36 +03:00
Panayot Cankov
1236f66f44 Add npm script that generates ios .d.ts-es from the tests app
Less than 30 erros left, let's hope it still works

Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills

Roll back some changes involved in separating UIEvent for dom and ios

Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00
Hristo Hristov
30c998a954 Fix unit-tests checks. (#2538)
* Fix unit-tests checks.
LetterSpacing handlers are added for iOS and Android API 21+

* Removed unneded check for android

* Used parseInt instead of new Number due to TSLint error
2016-08-01 16:21:32 +03:00
Erjan Gavalji
190e57bba8 Use a Api-Ref theme with embedded Roboto-Light font 2016-07-29 10:40:41 +03:00
Erjan Gavalji
0666fd07b9 Use an improved API-Ref theme 2016-07-28 10:57:46 +03:00
Erjan Gavalji
97870f33a7 Use a further improved styling for the Api-Reference 2016-07-26 17:49:18 +03:00
Erjan Gavalji
8dbfe1c3b1 Use an improved docs header 2016-07-26 15:13:38 +03:00
Erjan Gavalji
cf7c71f37e Update grunt-typedoc to make it get new TS features 2016-07-25 11:18:36 +03:00
Rossen Hristov
8061a609ae Add grunt dev dependenices back since they are needed by the Travis grunt scripts 2016-07-12 12:59:40 +03:00
Rossen Hristov
a18d5e7622 Create a single NS app for cuteness.io, gallery-app and ui-tests-app in apps/
Move all other apps to https://github.com/NativeScript/tns-apps-graveyard
2016-07-11 15:34:28 +03:00
Rossen Hristov
8454ca9429 Separate Android and iOS tests 2016-06-08 11:20:05 +03:00
tzraikov
8a3b59a5db Merge pull request #2241 from NativeScript/raikov/fixbuild
Added a missing file in tsconfig.json. Fixed build scripts.
2016-06-03 16:05:39 +03:00
Tsvetan Raikov
bdbaa8968c Added a missing file in tsconfig.json. Fixed build scripts. 2016-06-03 15:25:10 +03:00
Erjan Gavalji
38b856184c Add a dependency to the theme package 2016-05-31 15:50:55 +03:00
Rossen Hristov
80a754d336 Switch Android and iOS test runs 2016-05-31 14:22:50 +03:00
Panayot Cankov
896b07b9b3 npm install used to complain about missing repo field 2016-05-30 16:32:44 +03:00
Panayot Cankov
58b4a6eec6 Add 'npm test' for mac 2016-05-30 16:10:57 +03:00
Hristo Deshev
39e6f82f74 Add helper scripts to help with running tests on dev machines. 2016-05-30 14:25:55 +03:00
Panayot Cankov
717b5131b1 Add isIOS, isAndroid in platform, and fast ts watcher and transpiler
Image should not requestLayout when sized with 'exactly' spec

Update image tests

Tests will run in ios only
2016-05-27 16:57:59 +03:00
Panayot Cankov
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00
Erjan Gavalji
191e54a1ab Make dependency versions strict 2016-05-25 22:47:19 +03:00
Panayot Cankov
674f4e7704 Merge pull request #2111 from NativeScript/widgets-ios-async-image
Optional async mode for loading images from local files
2016-05-20 09:11:36 +03:00
Nedyalko Nikolov
1b395aac7f async image loading from data, files and resources for ios
Use the tns_safeDecodeImageNamedCompletion from the widgets framework

Add loadMode on Image with sync and async options for local images
2016-05-19 16:58:58 +03:00
Vasil Chimev
62f37e0e8d Bump version to 2.1.0 2016-05-18 11:56:25 +03:00
Vasil Chimev
898001c656 Update package.json 2016-04-27 16:33:25 +03:00
Nikolay Iliev
5ceeb7fddd Add the new snippet injector in grunt task 2016-04-13 14:32:56 +03:00
Vasil Chimev
d70ee741b7 Update tns-core-modules-widgets dependency 2016-03-25 14:48:06 +02:00
Erjan Gavalji
dcd389e0de Update master branch version to 2.0 2016-03-09 10:35:59 +02:00
Panayot Cankov
6fdb999a94 Let TS compile in-place
Add 'grunt inplace' to tsc and build d.ts-es
2016-02-26 17:47:54 +02:00