Commit Graph

107 Commits

Author SHA1 Message Date
SvetoslavTsenov
96039d1a1a Update references in package.json to git reporsitories which are used as dependencies 2017-05-12 15:35:52 +03:00
Panayot Cankov
0cae034a64 Changing module docs so they can appear in typedoc. 2017-05-10 11:55:47 +03:00
Panayot Cankov
d098ff43f5 Add module names for the typedoc, make it work
Mark members with @private for typedoc.
2017-04-20 16:58:30 +03:00
Hristo Deshev
331c1185f0 Add docs build script. 2017-04-03 17:18:29 +03:00
Hristo Deshev
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
Hristo Deshev
5f8a0aea45 Fix tsc invocation on Windows. 2017-03-08 15:16:32 +02:00
Hristo Deshev
7bb457ef2b Upgrade to TypeScript 2.2
Fix typings, remove Request, etc clashes with the new lib.dom.d.ts
2017-02-24 17:28:18 +02:00
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