Commit Graph

1180 Commits

Author SHA1 Message Date
Panayot Cankov
36e89d86b7 An android bug in v23 makes line height incorrect for issue 3654, clearing font size to make testing easier 2017-03-28 14:23:09 +03:00
SvetoslavTsenov
3d58058a46 Update tabView page 2017-03-22 11:59:21 +02:00
vakrilov
c72ec09fe0 FIX: WebView not showing in gallery app 2017-03-21 16:24:05 +02:00
Hristo Hristov
9b47fff54a Fix clip-path for iOS (#3839) 2017-03-21 15:14:42 +02:00
vakrilov
f29f7cb607 Always set clipToBounds for images, list-view and scroll-view 2017-03-17 15:22:59 +02:00
vakrilov
0ec8563a20 FIX: Typo fix 2017-03-16 16:34:19 +02:00
Vasil Chimev
4e6952526b Merge pull request #3807 from NativeScript/vchimev-test
Update borderRadius of pixels test page
2017-03-16 11:58:36 +02:00
vchimev
badb54e63d Update borderRadius of pixels test page 2017-03-16 10:36:42 +02:00
Alexander Vakrilov
57bad3f6ff Merge pull request #3804 from NativeScript/borders-clip
Borders clip
2017-03-16 09:43:11 +02:00
Vasil Chimev
5e4596f3bd Merge pull request #3801 from NativeScript/vchimev-test
Add pixels perfect test page
2017-03-15 19:20:30 +02:00
vakrilov
d9d0b7b072 Tests minor changes 2017-03-15 18:26:59 +02:00
vchimev
2bdb5622df Add test page
Pixels perfect and device independent pixels
2017-03-15 17:21:56 +02:00
Panayot Cankov
01368d4bb5 FontAwesome will now work in iOS buttons, being bold will fallback to Helvetica 2017-03-15 17:03:37 +02:00
vakrilov
84819f6c9a Implemented placeholder-color for text-view IOS 2017-03-13 18:12:11 +02: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 Hristov
1d49f5f3c3 fix padding on text-view & text-field (#3758)
* fix padding on text-view & text-field
text-base is now snapshotable
view.android is now snapshotable

* createNativeView returns the nativeView for android
Fix image tests
Implement test for image loaded from res://
EffectivePaddings updated when nativeView have some from its native theme
2017-03-09 16:09:53 +02:00
Alexander Vakrilov
a4809fed16 Merge pull request #3757 from NativeScript/fix-android-keyboard
FIX: Android keyboard
2017-03-09 15:12:46 +02:00
vakrilov
b4e742b00f Android keyboard fixes 2017-03-09 14:51:31 +02:00
Panayot Cankov
aac9cc2e3e Fix iOS image scaling to work in px 2017-03-09 10:58:56 +02:00
Alexander Vakrilov
0b4e38acab Merge pull request #3759 from NativeScript/update-deps
Update apps and test modules deps to *
2017-03-09 09:43:59 +02:00
vakrilov
3024e69bb5 Update apps and test modules deps to * 2017-03-08 18:09:18 +02:00
vakrilov
e69bc78111 Fix: Action-bar bg-color in ios not resetting 2017-03-08 13:42:35 +02:00
Hristo Deshev
b45cbe929b No more ambient modules for tns-core-modules/* subpackages.
- Use path mappings in tsconfig.json to resolve module typings
- Only use ambient mobules for global API's
- Move single-file modules to a subdir with the same name so that
we can provide a hand-written typing next to it (via package.json)
- Delete all mentions of tns-core-modules.d.ts
- Delete reference d.ts assembly build steps. Not needed anymore.
- HACK! Use a <reference> for global typings in application.d.ts
to avoid publishing a separate @types/tns-core-modules package.
- Rename declarations.d.ts to tns-core-modules.d.ts to preserve
JS project mappings in references.d.ts (the only place we use those)
2017-03-07 17:59:02 +02:00
SvetoslavTsenov
c822861929 Change hint color text 2017-03-02 15:45:34 +02:00
SvetoslavTsenov
886fbb260d Include new ui tests for fonts 2017-03-02 10:17:36 +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
Panayot Cankov
45a0292c57 Length and PercentLengths should now be compared using 'equals' 2017-02-24 11:27:13 +02:00
Panayot Cankov
06970d058a Mass replace fontAttributes with fontWeight and fontStyle 2017-02-23 17:09:19 +02:00
Panayot Cankov
dc97ed24f9 Fix flexbox css not applied. Fix addCss duplicating some selectors. 2017-02-23 16:41:08 +02:00
Panayot Cankov
6bca3732e3 The test was redesigned, but the lines resetting the text properties were missing 2017-02-22 15:09:48 +02:00
SvetoslavTsenov
6a2c94a94e Revert listview tests 2017-02-21 15:28:37 +02:00
vakrilov
8945529188 Gestures/view circ-dep and examples cleanup 2017-02-21 10:04:42 +02:00
SvetoslavTsenov
06908de826 Include test for listview with separator color 2017-02-20 17:31:10 +02:00
Alexander Vakrilov
70b2ab2f54 Merge pull request #3620 from NativeScript/tsenov/status-bar-page
Update status bar test page
2017-02-20 17:25:07 +02:00
vakrilov
124c9c8881 Minor fixes 2017-02-20 17:22:12 +02:00
SvetoslavTsenov
de2c449bc9 Update status bar test page 2017-02-20 17:17:40 +02:00
Hristo Hristov
531b33d02b fix background example (#3663) 2017-02-20 13:48:30 +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
vakrilov
e7017a9bc5 Tab view fixes 2017-02-17 15:03:12 +02:00
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
vakrilov
3c6523fd13 updated apps and tests tsconfigs 2017-02-16 15:21:34 +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
4ce4b12859 IOS http premission 2017-02-09 16:55:28 +02:00
Panayot Cankov
b12f112a44 Fixed tslint errors 2017-02-08 17:14:20 +02:00
Panayot Cankov
5265bf0ae3 Animation properties and some backward compatability with the QSF 2017-02-08 10:52:54 +02:00
vakrilov
4440569522 UI test: Transparent Action Bar example 2017-02-03 17:07:25 +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