Commit Graph

150 Commits

Author SHA1 Message Date
Hristo Deshev
18739f8cd1 Fix a crash when nesting a ProxyViewContainer in FlexboxLayout. 2017-03-20 12:30:19 +02:00
Hristo Deshev
13dc8cecae Revert "Upgrade to TypeScript 2.1, and latest grunt-ts. (#3609)"
This reverts commit 79e6881ca6.
2017-02-10 11:48:51 +02:00
Hristo Deshev
489be1e460 Upgrade to TypeScript 2.1, and latest grunt-ts. (#3609)
* Upgrade to TypeScript 2.1, and latest grunt-ts.
* Remove AudioBuffer and UIEvent from the definitions, we now should be compatible with dom
* Update the tns-platform-declarations readme
2017-02-08 16:13:25 +02:00
ivanbuhov
69aa327b55 Require ui/label instead of tns_modules/tns-core-modules/ui/label in tests 2017-01-20 16:29:26 +02:00
zh-m
9f7ce6fc60 Fix order property is not respected if set more than once 2017-01-16 17:39:22 +02:00
zh-m
6e07d0e61d getter in ListViewStyler for separatorColor 2017-01-13 11:35:27 +02:00
Hristo Deshev
25e111acc1 Pin typescript dependency to 2.0.x 2017-01-09 11:15:03 +02:00
Rossen Hristov
2970ad54fc Merge pull request #3261 from NativeScript/issue-3147
Fix: Setting `setTypeface()` to null object
2017-01-03 10:24:41 +02:00
Rossen Hristov
876752257d Merge pull request #3266 from NativeScript/issue-3210
Fix: SegmentedBar crash using a number as title
2017-01-03 10:24:34 +02:00
Rossen Hristov
c5e3e81d8d Merge pull request #3279 from NativeScript/issue-3270
Fix: Android platform.screen.mainScreen props are not invalidated aft…
2017-01-03 10:24:20 +02:00
Rossen Hristov
7a2c7d1cb7 Merge pull request #3285 from NativeScript/issue-1639
Fix: Custom components within other custom components: occasionally…
2017-01-03 10:24:12 +02:00
Nedyalko Nikolov
d368d35e0a Fixed tests tns-core-modules true plugin. 2016-12-16 12:16:12 +02:00
Rossen Hristov
8586eded36 Fixed: Custom components within other custom components: occasionally not loaded "in time" and ignoring css
Resolves #1639
2016-12-12 16:45:36 +02:00
Rossen Hristov
3e461cd38c Fix: Android platform.screen.mainScreen props are not invalidated after orientation change
Resolves #3270
2016-12-12 11:16:36 +02:00
Rossen Hristov
d1edf6bb93 Fix tsc errors 2016-12-12 10:46:45 +02:00
Rossen Hristov
d05f5f6a2c Fix: SegmentedBar crash using a number as title
Resolves #issue-3210
2016-12-08 13:13:28 +02:00
Rossen Hristov
ae68368d29 Fixed: Setting setTypeface() to null object
Resolves #3147
2016-12-07 17:23:57 +02:00
Nedyalko Nikolov
39007ab05e Removed myst ListView test for ios (#3250) 2016-12-07 10:53:38 +02:00
vakrilov
8101a68c25 Fixed(IOS): Setting placeholder color on text filed crashes if no hint is set 2016-12-05 15:16:21 +02:00
Panayot Cankov
5db5dfd867 Properly extend Error instead of implementing it, update the Error message and stack to appear in the console and error activity 2016-12-01 10:50:46 +02:00
Rossen Hristov
39113f6fdd Fix: Invalid value 500 for property fontWeight in XML
Resolves #3175
2016-11-28 16:42:44 +02:00
Maya Zhecheva
53b5ed127a Merge pull request #3161 from NativeScript/zhecheva/percent-test-android
percent_margin test on android uses only floor func
2016-11-24 11:22:00 +02:00
zh-m
cdbd0e7a54 percent_margin test on android uses only floor func 2016-11-23 18:27:21 +02:00
Nedyalko Nikolov
50acc3bdc0 Fixed tests to run on iOS. 2016-11-23 17:51:09 +02:00
Nedyalko Nikolov
303b609573 Adding request for write storage permissions. 2016-11-22 14:34:14 +02:00
Nikolay Iliev
fcbb1bf689 updated artcile for getNumber 2016-11-21 13:20:02 +02:00
Rossen Hristov
30d202b5f1 Fix: Transparent border rendered as black
Resolves #3113
2016-11-21 12:25:13 +02:00
Rossen Hristov
c2b35ffef2 Delete inconsistently failing test 2016-11-15 16:17:03 +02:00
Panayot Cankov
e5c0bf9668 Update the help article about the flexbox layout 2016-11-14 11:40:13 +02:00
Rossen Hristov
c632f9d4aa Add more detailed error message to TabView test testAndroidOffscreenTabLimit_Default 2016-11-11 09:51:26 +02:00
Nedyalko Nikolov
3d9631bd00 Removed location tests and deprecated camera module. 2016-11-10 15:33:06 +02:00
Rossen Hristov
80e9f9f97e Merge pull request #3047 from NativeScript/offscreen
Add TabView.androidOffscreenTabLimit property
2016-11-09 07:52:11 +02:00
Rossen Hristov
e59d145705 Add TabView.androidOffscreenTabLimit property
Resolves #2815

* Gets or sets the number of tabs that should be retained to either side of the current tab in the view hierarchy in an idle state.
* Tabs beyond this limit will be recreated from the TabView when needed.
2016-11-08 17:17:30 +02:00
sis0k0
1a497b13f8 fix(file-system-access): join paths without leading slash 2016-11-08 11:28:16 +02:00
sis0k0
414ebc67dd feat(style-scope): Resolve css sheets from tns_modules
If the css sheet is not in the app directory, try to find it in the
tns_modules folder.
2016-11-08 11:28:16 +02:00
Panayot Cankov
8e2af03e8f Fix misspelled Flebox to Flexbox 2016-11-08 08:58:22 +02:00
vB Results, LLC
7cad85faf8 Added import attribute to page module. (#3009) 2016-11-07 11:37:47 +02:00
Adam Voss
06c04c41fb Improve error message of fetch when xhr.onerror occurs (#3003)
* Ensure fetch-tests fail (instead of timeout) on failure

* Standardize failure handling in fetch-tests

* Improve flawed failure condition of test_fetch_json

Previously, the assertion was always true

* Implement better error message for for xhr.onerror within fetch
2016-11-07 11:04:39 +02:00
Hristo Hristov
c5d34c3dd4 Image loading is done through native imageView so that once it is removed from window the bitmap is cleared. 2016-11-02 16:57:42 +02:00
zh-m
c3ec836d31 Fixed Percent margin test on IOS 2016-10-31 16:21:09 +02:00
Rossen Hristov
0bfd25b139 Fix: ListView with TextField in the Item template not showing Keyboard on Portrait mode
Resolves #2942
2016-10-31 13:52:38 +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
36d4169a7e Add flexbox-layout.md 2016-10-24 17:34:26 +03:00
Panayot Cankov
ae02bbdff3 Fix order set at runtime, polish unit test app example.
Add alignSelf nad flexWrapBefore in the flexbox examples

Some test fail with quite close calculations. Use eps.

Fix flex grow making last items with flexGrow 0 to shrink due to rounding, happy tslint
2016-10-24 14:34:26 +03:00
Nedyalko Nikolov
a63f46ee83 Added pressed, active and disabled states for button. 2016-10-24 09:16:23 +03:00
zh-m
75cab33f8f Percent support of margin of layouts/frame/page/contentview 2016-10-20 11:29:21 +03:00
Panayot Cankov
d3e5d821a5 Merge pull request #2921 from NativeScript/flexbox-ios
FlexboxLayout for iOS
2016-10-20 09:52:04 +03:00
Panayot Cankov
791aab04e5 Flexbox ios initial commit
Items now appear, but they should initially shrink and they don't

Add 15-ish tests for flexbox layout

Port reasonable flexbox test set

Fixing issues, adding unit tests

Moved from .tsx to .ts and used our ui/builder.parse
2016-10-19 17:02:26 +03:00
Rossen Hristov
6779fce534 Add ListView item template selector code snippets 2016-10-19 16:11:30 +03:00
Rossen Hristov
4b94fe8c63 Merge pull request #2909 from NativeScript/its
ListView item template selector
2016-10-19 10:32:34 +03:00