Commit Graph

226 Commits

Author SHA1 Message Date
Rossen Hristov
93cc666b8f Add TabView.iosIconRenderingMode property
Resolves #2689
2016-11-04 16:18:55 +02:00
Rossen Hristov
e507d6403a Fix: Enhancement: Android Actionbar elevation lost with background-color
Resolves #1799
2016-11-03 16:49:12 +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
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
Rossen Hristov
83e0ae4c85 Fix: CSS scale breaks background properties on iOS
Resolves #2911
2016-10-26 15:36:37 +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
zh-m
75cab33f8f Percent support of margin of layouts/frame/page/contentview 2016-10-20 11:29:21 +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
4b94fe8c63 Merge pull request #2909 from NativeScript/its
ListView item template selector
2016-10-19 10:32:34 +03:00
Hristo Hristov
44bab5b0f0 Padding was reset incorrectly (#2917)
* Padding was reset incorrectly

* Fix tslint
2016-10-18 13:18:32 +03:00
Rossen Hristov
e28148c929 ListView item template selector refactoring + sample code 2016-10-17 17:22:30 +03:00
Hristo Hristov
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
Rossen Hristov
b1050d4121 Fix tslint 2016-10-17 10:25:23 +03:00
Rossen Hristov
cd6039ce6c ListView item template selector 2016-10-17 09:32:47 +03:00
vakrilov
20dc0b1ef5 Snapshot fix 2016-10-14 11:33:58 +03:00
Vladimir Enchev
c521f2db33 Merge pull request #2877 from NativeScript/existing-app
Existing iOS integration app support added
2016-10-14 09:38:11 +03:00
Vladimir Enchev
eab903e9e0 Existing iOS integration app support added 2016-10-13 18:15:24 +03:00
Alexander Vakrilov
d012f9ac8c Merge pull request #2885 from NativeScript/android-current-context
Application and ActivityEvents improvements
2016-10-13 11:47:25 +03:00
Brad Martin
c84dc3e57b Small typo
-typo
-add android api number
2016-10-11 17:38:22 -05:00
vakrilov
1c4f40333e Application and ActivityEvents improvements 2016-10-11 18:40:03 +03:00
Nathanael Anderson
a5273b74ed Fix for Dialogs crashing on iOS (#2866) 2016-10-11 14:58:30 +03:00
Hristo Hristov
b5ec25f423 Fix gestures support for iOS 10 2016-10-11 13:28:02 +03:00
Hristo Hristov
3e3fc248c2 Move imageCache initialization in the createUI method so that it is sure that we have valid context. application.android.nativeView could be null if image module is requested before application.start (#2862) 2016-10-10 09:23:17 +03:00
Hristo Hristov
109ac26c5b Fix memory leak in action-bar for android. (#2854) 2016-10-07 13:02:58 +03:00
Hristo Hristov
ed36106e9e remove gc call (#2848) 2016-10-05 17:42:07 +03:00
Morten Sjøgren
37d927b077 fix: #2796 - ActionItems lacks proper support for VoiceOver on iOS (#2799)
UIBarButtonItem weren't created with a title/text so VoiceOver couldn't
know what to reads. This marks the element as an AccessibilityElement
and sets an accessibilityLabel.
2016-10-05 16:32:04 +03:00
Hristo Hristov
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
vakrilov
8c8ad99459 property renamed to enableSwipeBackNavigation 2016-10-04 18:02:06 +03:00
vakrilov
53a60e2553 Added iosSwipeBackNavigationEnabled 2016-10-04 17:42:36 +03:00
Nedyalko Nikolov
702b7eadd3 Merge pull request #2822 from NativeScript/nnikolov/CameraRefactoring
Refactored image loading from camera.
2016-10-03 17:54:07 +03:00
Nedyalko Nikolov
1f84274182 Refactored image loading from camera. 2016-10-03 17:23:18 +03:00
Panayot Cankov
b5ab387ebd Fix the LayoutParams 2016-09-30 17:36:17 +03:00
Panayot Cankov
943e67a4c8 Add flexbox, we have to figure out layout params 2016-09-30 12:20:07 +03:00
Rossen Hristov
071ef1607d Fix: CSS border-width causes text to overflow TextView
Resolves #2789
2016-09-27 09:47:32 +03:00
Panayot Cankov
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