Commit Graph

323 Commits

Author SHA1 Message Date
Rossen Hristov
d674d806aa Use setColorFilter on post-21 ActionBars only 2016-11-07 14:13:31 +02:00
Panayot Cankov
45578430ac Merge pull request #3020 from NativeScript/flexbox-last-noshrink-fix
Shrink will not damage the last item when it is shrink=0
2016-11-07 13:14:24 +02:00
Panayot Cankov
212d147f6f Merge pull request #3019 from NativeScript/fix-flexbox-crash
Fix flexbox crash for iOS
2016-11-07 13:14:02 +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
Rossen Hristov
329817a2ba Merge pull request #3027 from NativeScript/issue-2689
Add TabView.iosIconRenderingMode property
2016-11-07 09:46:12 +02:00
Hristo Deshev
43b1834f84 Merge pull request #3013 from NativeScript/hdeshev/bundle-config
Fix bundle-entry-points by importing globals first.
2016-11-04 17:51:14 +02:00
Rossen Hristov
93cc666b8f Add TabView.iosIconRenderingMode property
Resolves #2689
2016-11-04 16:18:55 +02:00
PanayotCankov
bac125efc1 Shrink will not damage the last item when it is shrink=0 2016-11-04 12:12:28 +02:00
PanayotCankov
f79ed04671 Fix flexbox crash for iOS 2016-11-04 11:30:21 +02:00
Rossen Hristov
e507d6403a Fix: Enhancement: Android Actionbar elevation lost with background-color
Resolves #1799
2016-11-03 16:49:12 +02:00
Hristo Deshev
d9c275175c Fix bundle-entry-points by importing globals first.
Avoiding a crash if the import happens too soon.
2016-11-03 13:23:37 +02:00
Rossen Hristov
bb08cc1b49 Merge pull request #3011 from NativeScript/issue-3007
Fix: java.lang.NumberFormatException when applying clip-path with per…
2016-11-03 09:45:31 +02:00
Rossen Hristov
28f084e7d2 Fix: java.lang.NumberFormatException when applying clip-path with percentage values
Resolves #3007
2016-11-02 16:59:06 +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