123 Commits

Author SHA1 Message Date
c2b35ffef2 Delete inconsistently failing test 2016-11-15 16:17:03 +02:00
e5c0bf9668 Update the help article about the flexbox layout 2016-11-14 11:40:13 +02:00
c632f9d4aa Add more detailed error message to TabView test testAndroidOffscreenTabLimit_Default 2016-11-11 09:51:26 +02:00
3d9631bd00 Removed location tests and deprecated camera module. 2016-11-10 15:33:06 +02:00
80e9f9f97e Merge pull request #3047 from NativeScript/offscreen
Add TabView.androidOffscreenTabLimit property
2016-11-09 07:52:11 +02:00
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
1a497b13f8 fix(file-system-access): join paths without leading slash 2016-11-08 11:28:16 +02:00
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
8e2af03e8f Fix misspelled Flebox to Flexbox 2016-11-08 08:58:22 +02:00
7cad85faf8 Added import attribute to page module. (#3009) 2016-11-07 11:37:47 +02:00
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
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
c3ec836d31 Fixed Percent margin test on IOS 2016-10-31 16:21:09 +02:00
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
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
36d4169a7e Add flexbox-layout.md 2016-10-24 17:34:26 +03:00
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
a63f46ee83 Added pressed, active and disabled states for button. 2016-10-24 09:16:23 +03:00
75cab33f8f Percent support of margin of layouts/frame/page/contentview 2016-10-20 11:29:21 +03:00
d3e5d821a5 Merge pull request #2921 from NativeScript/flexbox-ios
FlexboxLayout for iOS
2016-10-20 09:52:04 +03:00
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
6779fce534 Add ListView item template selector code snippets 2016-10-19 16:11:30 +03:00
4b94fe8c63 Merge pull request #2909 from NativeScript/its
ListView item template selector
2016-10-19 10:32:34 +03:00
e28148c929 ListView item template selector refactoring + sample code 2016-10-17 17:22:30 +03:00
644f4c2845 ImageSource was reset in CreateUI wrongly. (#2910)
TabView doesn't save/restore its visual hierarchy.
Cuteness.io source changed to use https.
2016-10-17 13:40:03 +03:00
cd6039ce6c ListView item template selector 2016-10-17 09:32:47 +03:00
20dc0b1ef5 Snapshot fix 2016-10-14 11:33:58 +03:00
1c4f40333e Application and ActivityEvents improvements 2016-10-11 18:40:03 +03:00
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
702b7eadd3 Merge pull request #2822 from NativeScript/nnikolov/CameraRefactoring
Refactored image loading from camera.
2016-10-03 17:54:07 +03:00
1f84274182 Refactored image loading from camera. 2016-10-03 17:23:18 +03:00
b5ab387ebd Fix the LayoutParams 2016-09-30 17:36:17 +03:00
83536573d8 Fix some broken code snippets 2016-09-29 15:55:55 +03:00
ee382e238a Update label-tests.ts 2016-09-28 16:45:49 +03:00
43b2a1ef54 Update the version of TypeScript in apps/tests 2016-09-28 15:34:21 +03:00
1c05786ffd Added tests for npm-platform-declarations 2016-09-26 15:14:42 +03:00
1777ed5f13 Fix === 2016-09-26 13:19:34 +03:00
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
08f9c941cc Fix: CSS border-color does not recognize rgb and rgba values
Resolves #2781
2016-09-21 16:35:03 +03:00
936df853ff number now can be set as id in android 2016-09-20 12:04:00 +03:00
211f5da7f4 Fix another broken URL by adding a redirect 2016-09-19 14:33:48 +03:00
e095fa21cb Fix the broken url, add a redirect to save other breakages 2016-09-19 11:57:08 +03:00
f0374642b5 Fix tslint error & bump ios runtime version 2016-09-17 11:07:24 +03:00
a05f842a84 Non-uniform borders 2016-09-17 09:27:36 +03:00
1b568b56ca Added tintColor property in Image view. It should be used instead of color 2016-09-16 16:29:08 +03:00
f153a6ad08 Bump test_AnimatingProperties timeout 2016-09-16 13:17:35 +03:00
fb4cdcea87 wrong place of if(knownFolder) 2016-09-15 10:58:57 +03:00
71671aec40 IOS Known folders are not created if do not exist 2016-09-15 10:58:56 +03:00
82ff7aeadc Fix delegates 2016-09-14 09:08:53 +03:00
e895f37f0b Apply getter check to determine if API is exposed as property or as method for iOS backward compatibility 2016-09-12 14:38:54 +03:00