Commit Graph

323 Commits

Author SHA1 Message Date
Panayot Cankov
89ee3dc717 Properly extend Error instead of implementing it, update the Error message and stack to appear in the console and error activity 2016-12-01 15:27:04 +02:00
Nedyalko Nikolov
bc3910f9c8 Foreground activity cleared on activity destroyed. 2016-11-15 16:19:17 +02:00
sis0k0
0e41f819ce fix(style-scope): remove isFileOrResourcePath check 2016-11-14 17:13:34 +02:00
PanayotCankov
0029a8afcc Add validation/parsing for the FlexboxLayout properties
Make FlexboxLayout work with CSS properties, shorhands are not yet supported

Make shorthand properties

Remove redundant logging
2016-11-11 16:22:53 +02:00
Nedyalko Nikolov
d4846481c3 Removed location tests and deprecated camera module. 2016-11-11 11:19:15 +02:00
Nedyalko Nikolov
813e696c50 Fixed DatePicker issues with date 7-th. 2016-11-08 15:06:16 +02:00
sis0k0
e55391fac0 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:29:38 +02:00
sis0k0
7b6811ba49 fix(file-system-access): join paths without leading slash 2016-11-08 11:29:32 +02:00
PanayotCankov
5582f6158f Shrink will not damage the last item when it is shrink=0 2016-11-07 17:27:45 +02:00
PanayotCankov
4c721e69d9 Fix flexbox crash for iOS 2016-11-07 17:27:39 +02:00
vB Results, LLC
fbe5f2cab1 Added import attribute to page module. (#3009) 2016-11-07 11:44:57 +02:00
Adam Voss
f63f61ce77 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:06:52 +02:00
Hristo Deshev
47e03c9623 Fix bundle-entry-points by importing globals first.
Avoiding a crash if the import happens too soon.
2016-11-04 18:01:04 +02:00
dtopuzov
79729fdb9b Update package.json 2016-11-03 09:36:05 +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
Alexander Vakrilov
20c987d7dc Merge pull request #2994 from NativeScript/apply-css
Don't apply css on unloaded
2016-11-01 10:46:29 +02:00
Nedyalko Nikolov
cde642186b Fixed issue with image rotation. 2016-10-31 18:04:38 +02:00
zh-m
e9acb527b8 Removed unused function in segmented-bar.ios.ts 2016-10-31 15:23:11 +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
vakrilov
ddd074b333 FIX: Don't apply css on unloaded 2016-10-31 09:45:57 +02:00
Nedyalko Nikolov
17572384e2 SelectedBackgroundColor set via css ios. 2016-10-31 09:23:04 +02:00
Hristo Deshev
715c4de78f Update bundle-entry-points.ts 2016-10-28 14:38:41 +03:00
Nathanael Anderson
b5bc142a5b Added missing ListView to bundle-entry-points.ts 2016-10-28 06:20:07 -05:00
Nedyalko Nikolov
c46f216d31 SelectedBackgroundColor property exposed via css. (#2973) 2016-10-28 10:26:10 +03:00
Vladimir Enchev
e27995a889 tslint errors fixed 2016-10-27 15:33:39 +03: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
Vladimir Enchev
fd23197851 Merge pull request #2950 from NativeScript/raikov/scale
Added support for scale(x)
2016-10-27 15:08:34 +03:00
Vladimir Enchev
4045bb2cd6 Merge pull request #2955 from NativeScript/remove-console-log
Remove console.log() leftover
2016-10-27 14:38:05 +03:00
Hristo Deshev
d53dec078a Add ui/web-view to bundle-entry-points 2016-10-26 17:23:43 +03:00
Rossen Hristov
a63439f500 Merge pull request #2967 from NativeScript/scale-bkg
Fix: CSS scale breaks background properties on iOS
2016-10-26 17:01:34 +03:00
Rossen Hristov
83e0ae4c85 Fix: CSS scale breaks background properties on iOS
Resolves #2911
2016-10-26 15:36:37 +03:00
Vladimir Enchev
bdc24b1fda Merge pull request #2954 from kssfilo/master
iPad SplitView/SlideOver support
2016-10-25 14:41:30 +03:00
Alexander Vakrilov
fd09a0c66c Remove console.log() leftover 2016-10-25 11:13:44 +03:00
Tsvetan Raikov
0292a49ea2 Added support for scale(x) 2016-10-24 16:42:45 +03:00
Rossen Hristov
22ae4b7e1b Merge pull request #2949 from NativeScript/tab-css
Add support for TabView CSS
2016-10-24 16:41:48 +03:00
Rossen Hristov
9fc143ee03 Add support for TabView CSS
TabView {
    tab-text-color: green;
    tab-background-color: yellow;
    selected-tab-text-color: red;
    android-selected-tab-highlight-color: orange;
    text-transform: uppercase;
}
2016-10-24 15:07:22 +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
kssfilo
653440d72b iPad SplitView/SlideOver support 2016-10-24 15:04:17 +09:00
Nedyalko Nikolov
23352338d2 Fixed issue with image resizing. 2016-10-21 11:47:19 +03:00
Panayot Cankov
6abb0db99b Merge pull request #2900 from NativeScript/buhov/workers-dts
Add typescript declarations for workers
2016-10-20 12:59:46 +03:00
ivanbuhov
1c2ab2adc9 Add typescript declarations for workers 2016-10-20 11:34:14 +03:00
zh-m
75cab33f8f Percent support of margin of layouts/frame/page/contentview 2016-10-20 11:29:21 +03:00
Vladimir Enchev
ffc611c23d Merge pull request #2931 from NathanaelA/worker-timer-fix-android
Fixes using setTimeout/setInterval in a Android Worker
2016-10-20 10:37:42 +03:00
Panayot Cankov
d3e5d821a5 Merge pull request #2921 from NativeScript/flexbox-ios
FlexboxLayout for iOS
2016-10-20 09:52:04 +03:00
Nathanael Anderson
8281e81621 This fixed setTimeout/setInterval for Android 2016-10-19 19:48:53 -05:00
Vasil Chimev
61f0223815 Bump up version to 2.5.0 2016-10-19 17:41:45 +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
Nedyalko Nikolov
915df32b27 Xhr response converted to string so Angular could use it correctly. 2016-10-19 16:08:47 +03:00
Rossen Hristov
4b94fe8c63 Merge pull request #2909 from NativeScript/its
ListView item template selector
2016-10-19 10:32:34 +03:00