1187 Commits

Author SHA1 Message Date
9e3222781a backgroundImage property now use Fetcher & Cache as Image component (#4030)
* backgroundImage property now use Fetcher & Cache as Image component
Fix GridLayout tests on iPhone Plus - actualLength wasn’t rounded
ImageCache is closed when activity is stopped

* Fix reset of background drawable.

* additional check for drawable

* imageCache init cache on activity Started
2017-04-21 16:50:12 +03:00
33cb3e2c2f Test page 2017-04-12 10:33:11 +03:00
f350f7191d textTransform, whiteSpace & textAlignment defaultValue is now “initia” (#3948)
removed enum namespaces
add valueConverter to clipToBounds
2017-04-06 09:50:37 +03:00
7a1f1b2b80 Merge pull request #3891 from NativeScript/tab-view-text-transform
Initial value for text transform
2017-03-31 09:57:56 +03:00
be85af4a0d Text transform - no default value 2017-03-30 18:35:55 +03:00
29e07dd027 Hhristov/fix tab view selected index (#3893)
* fix button ios color property when textDecoration is applied

* Button ios color set on titleLabel

* Coerce tabView selectedIndex after native items are set
2017-03-29 16:39:54 +03:00
f2898f84d5 NativeView recycled for android 2017-03-28 18:08:59 +03:00
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
3d58058a46 Update tabView page 2017-03-22 11:59:21 +02:00
c72ec09fe0 FIX: WebView not showing in gallery app 2017-03-21 16:24:05 +02:00
9b47fff54a Fix clip-path for iOS (#3839) 2017-03-21 15:14:42 +02:00
f29f7cb607 Always set clipToBounds for images, list-view and scroll-view 2017-03-17 15:22:59 +02:00
0ec8563a20 FIX: Typo fix 2017-03-16 16:34:19 +02:00
4e6952526b Merge pull request #3807 from NativeScript/vchimev-test
Update borderRadius of pixels test page
2017-03-16 11:58:36 +02:00
badb54e63d Update borderRadius of pixels test page 2017-03-16 10:36:42 +02:00
57bad3f6ff Merge pull request #3804 from NativeScript/borders-clip
Borders clip
2017-03-16 09:43:11 +02:00
5e4596f3bd Merge pull request #3801 from NativeScript/vchimev-test
Add pixels perfect test page
2017-03-15 19:20:30 +02:00
d9d0b7b072 Tests minor changes 2017-03-15 18:26:59 +02:00
2bdb5622df Add test page
Pixels perfect and device independent pixels
2017-03-15 17:21:56 +02:00
01368d4bb5 FontAwesome will now work in iOS buttons, being bold will fallback to Helvetica 2017-03-15 17:03:37 +02:00
84819f6c9a Implemented placeholder-color for text-view IOS 2017-03-13 18:12:11 +02:00
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
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
a4809fed16 Merge pull request #3757 from NativeScript/fix-android-keyboard
FIX: Android keyboard
2017-03-09 15:12:46 +02:00
b4e742b00f Android keyboard fixes 2017-03-09 14:51:31 +02:00
aac9cc2e3e Fix iOS image scaling to work in px 2017-03-09 10:58:56 +02:00
0b4e38acab Merge pull request #3759 from NativeScript/update-deps
Update apps and test modules deps to *
2017-03-09 09:43:59 +02:00
3024e69bb5 Update apps and test modules deps to * 2017-03-08 18:09:18 +02:00
e69bc78111 Fix: Action-bar bg-color in ios not resetting 2017-03-08 13:42:35 +02:00
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
c822861929 Change hint color text 2017-03-02 15:45:34 +02:00
886fbb260d Include new ui tests for fonts 2017-03-02 10:17:36 +02:00
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
45a0292c57 Length and PercentLengths should now be compared using 'equals' 2017-02-24 11:27:13 +02:00
06970d058a Mass replace fontAttributes with fontWeight and fontStyle 2017-02-23 17:09:19 +02:00
dc97ed24f9 Fix flexbox css not applied. Fix addCss duplicating some selectors. 2017-02-23 16:41:08 +02:00
6bca3732e3 The test was redesigned, but the lines resetting the text properties were missing 2017-02-22 15:09:48 +02:00
6a2c94a94e Revert listview tests 2017-02-21 15:28:37 +02:00
8945529188 Gestures/view circ-dep and examples cleanup 2017-02-21 10:04:42 +02:00
06908de826 Include test for listview with separator color 2017-02-20 17:31:10 +02:00
70b2ab2f54 Merge pull request #3620 from NativeScript/tsenov/status-bar-page
Update status bar test page
2017-02-20 17:25:07 +02:00
124c9c8881 Minor fixes 2017-02-20 17:22:12 +02:00
de2c449bc9 Update status bar test page 2017-02-20 17:17:40 +02:00
531b33d02b fix background example (#3663) 2017-02-20 13:48:30 +02:00
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
e7017a9bc5 Tab view fixes 2017-02-17 15:03:12 +02:00
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
3c6523fd13 updated apps and tests tsconfigs 2017-02-16 15:21:34 +02:00
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
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