Commit Graph

548 Commits

Author SHA1 Message Date
PanayotCankov
b2cf286948 Fixed text decoration tests, Color will now store just a single argb info in 32bit unsigned int internally and covert to a/r/g/b or hex when necessary 2017-02-17 14:45:31 +02:00
Hristo Deshev
20c846e966 Fix webpack project compilation for TypeScript 2.1.
Add __requireOverride as an optional `global` member.
2017-02-16 16:58:59 +02:00
Hristo Deshev
86481cce4a Make typings compatible with @types/node.
Fixes name clashes and uses Node-compatible typings where possible.

Changes:
 - setTimout et al now return NodeJS.Timer instead of number
 - No "console" module anymore. Everyone uses it through global.console
 anyway.
 - We have a typed "global" instance with exposed properties now. Any
 "freeform" accesses must go through a `(<any>global).blah` cast.
 - remove tns-core-modules.{base,es6,es2015}.d.ts. Those were needed
 as workarounds for the ES6/DOM/Node type clashes.
2017-02-15 13:01:10 +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
vakrilov
87f936bcd8 Fix: ListView not showing first items of VirtArray 2017-02-09 16:55:28 +02:00
vakrilov
e682e1aaec Fix: Setting ImageSource to image.src 2017-02-09 16:55:28 +02:00
Panayot Cankov
15fa8fa936 Merge pull request #3618 from NativeScript/angular-animations
Expose some private APIs used in the angular animations
2017-02-09 13:41:20 +02:00
Panayot Cankov
e0f0c96519 Expose some private APIs used in the angular animations 2017-02-09 11:43:12 +02:00
Vasil Chimev
d6c8c72a2f Update version of widgets dependency 2017-02-09 09:35:08 +02:00
dtopuzov
23f47e3ec9 Bump version to 3.0 2017-02-08 23:44:59 +02:00
Panayot Cankov
b12f112a44 Fixed tslint errors 2017-02-08 17:14:20 +02:00
Panayot Cankov
23658c9719 CssAnimationProperty will register the same way CssProperty in the symbol maps and will register on the style with css name too 2017-02-08 14:01:11 +02:00
Panayot Cankov
fd6c84a6bb Merge pull request #3596 from NativeScript/cankov/modules30-qsf
Animation properties and some backward compatability with the QSF
2017-02-08 10:54:03 +02:00
Panayot Cankov
5265bf0ae3 Animation properties and some backward compatability with the QSF 2017-02-08 10:52:54 +02:00
vakrilov
6c735aff10 View and css proeprties tests 2017-02-07 16:23:19 +02:00
Hristo Hristov
f539dd5f95 Improve background setter in iOS (#3582)
CoercableProperty now inherits from Property
VS Code typescript sdk removed
ViewBase will no longer clear native view if recycleNativeView is false
2017-02-06 11:49:54 +02:00
vakrilov
e5f7c7e4d4 Segmented bar styles 2017-02-01 17:45:14 +02:00
vakrilov
6b61335675 Fix: Modal crashes in Android and IOS 2017-01-30 15:41:45 +02:00
vakrilov
00589c801d FIX: disappearing navigation bar on back 2017-01-27 15:00:33 +02:00
Hristo Hristov
3770f7e636 formatted text fix (#3531)
* Fix formattedText implementation for iOS
Fix typeof undefined checks
Add slow tests message
Improve tests speed

* fix tslint
reduce transitions duration in test

* waitUntilReady will throw if timeout
fix tests that needs to wait without throwing
improve test speed
2017-01-26 18:21:30 +02:00
Panayot Cankov
0dd8f985c4 Add animations demo to the gallery app, make vertical alignment center and visibility collapsed backward compatible 2017-01-25 13:17:33 +02:00
vakrilov
d448f3dc7f Animated nav-bar 2017-01-25 10:48:48 +02:00
Panayot Cankov
312a99667e Enable Button tests, fix AbsoluteLayout tests 2017-01-23 09:42:24 +02:00
Hristo Hristov
e34b0f622c fix span (#3510)
* Remove Bindable.
Fix Observable & ObservableArray tests
Fix formattedString text
Change implementation of Span, FormattedString & TextBase
properties valueChange called before native setter

* revetred formattedString tests asserts - formattedText update text property again
properties - when getting value we now use always property name instead of key (using key could return undefined for property that is set to its default value)
updated fontSize & fontInternal properties on all controls
fix font properties so that fontInternal is reset if the new font is the same as Font.default

* fix tslint errors
2017-01-20 16:42:20 +02:00
Panayot Cankov
8e0aeb8ec2 Fix CSS-ANIMATION test failures 2017-01-18 13:21:43 +02:00
Nedyalko Nikolov
329ba3a2c5 Page tests fix. 2017-01-16 19:28:08 +02:00
Rossen Hristov
fec5e92dbe Fix tracing 2017-01-16 13:29:46 +02:00
Rossen Hristov
336dd84542 Fix Repeater 2017-01-16 11:16:25 +02:00
Hristo Hristov
a65a491de6 fix listview (#3493) 2017-01-16 10:55:26 +02:00
Hristo Hristov
8cec512397 Fix binding support (#3489)
* Fix binding support

* fix tslint
2017-01-13 18:08:18 +02:00
Vladimir Enchev
e26f1fbc04 ai fixed (#3488) 2017-01-13 16:00:02 +02:00
Rossen Hristov
c3327ea52f Fix animations and lots of cyclic requires 2017-01-13 14:41:38 +02:00
Nedyalko Nikolov
cd7877dfa0 Text field tests fixed. 2017-01-13 11:41:12 +02:00
vakrilov
819155fb18 Minor fixes + more green tests 2017-01-12 16:20:38 +02:00
vakrilov
e983295952 Style tests fixes 2017-01-12 14:24:12 +02:00
Rossen Hristov
cc337094e9 Fix text & fromattedText failing tests 2017-01-12 14:12:41 +02:00
Alexander Vakrilov
eede9c2888 Merge pull request #3470 from NativeScript/view-tests
View tests turned green
2017-01-12 11:28:58 +02:00
Daniel Turing
7b12686b18 add HttpRequestOptions.dontFollowRedirects (#3473)
This implements the option to have http.request() not follow server's 3xx redirection replies
but instead return the exact redirection code and headers.

* on iOS, it uses a different NSURLSession instance for non-following request,
  with a NSURLSessionTaskDelegate implementing URLSessinTaskWillPerformHTTPRedirection...

* on Android, it just passes the option on to org.nativescript.widgets.Async.Http;
  so this requires the respective commit in tns-core-modules-widgets to work
2017-01-12 11:21:10 +02:00
vakrilov
cd3cd13075 View tests turned green 2017-01-11 17:34:25 +02:00
Rossen Hristov
45ac38d968 Refactor formatted text 2017-01-11 16:37:23 +02:00
Nedyalko Nikolov
9479a9918f Fixed tslint errors. 2017-01-11 15:35:05 +02:00
Nedyalko Nikolov
b4575e1d5b Fixed xml-declaration tests. 2017-01-11 14:36:08 +02:00
vakrilov
f634f29df0 Frame test 2017-01-10 14:08:54 +02:00
Rossen Hristov
fcda6454cc Fix zIndex for Android buttons 2017-01-10 10:13:06 +02:00
Nedyalko Nikolov
5a3cfbeda9 SegmentedBar tests fixed. 2017-01-09 18:24:09 +02:00
Hristo Hristov
309ea148e1 Fix setting text property to number. (#3449)
Fix setting JS property from native.
2017-01-09 18:13:31 +02:00
vakrilov
14e1da5820 Style-properties tests 2017-01-09 17:24:38 +02:00
Nedyalko Nikolov
08e73b3d10 Fixed style scope. 2017-01-09 14:19:04 +02:00
Rossen Hristov
120390b925 Fix: All formatted string appear with commas between each letter 2017-01-06 17:00:04 +02:00
Rossen Hristov
6d8606d190 Merge pull request #3430 from NativeScript/border-radius
Make border radii Lengths
2017-01-06 16:04:23 +02:00