Commit Graph

1043 Commits

Author SHA1 Message Date
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
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
Alexander Vakrilov
8ce37215f7 Merge pull request #2898 from NativeScript/snapshot-activity-fix
Snapshot fix
2016-10-14 12:30:12 +03:00
vakrilov
20dc0b1ef5 Snapshot fix 2016-10-14 11:33:58 +03:00
Vladimir Enchev
b398f27586 code fixed to work in viewDidLoad 2016-10-14 10:02:35 +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
Alexander Vakrilov
93f20e6505 Merge pull request #2851 from NativeScript/zoned-fps-meter
Make fps-meter callback execute in the same zone as they are created
2016-10-07 16:28:13 +03:00
Hristo Hristov
109ac26c5b Fix memory leak in action-bar for android. (#2854) 2016-10-07 13:02:58 +03:00
vakrilov
03fdc94d2c Make fps-meter callback execute in the same zone as they are created 2016-10-06 10:49:47 +03:00
Hristo Hristov
ed36106e9e remove gc call (#2848) 2016-10-05 17:42:07 +03:00
Panayot Cankov
c4be6ce1de Fix LaunchTheme not cleared in some cases 2016-10-05 16:33:18 +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
Nedyalko Nikolov
0d2d343c9c Merge pull request #2843 from NativeScript/nnikolov/ImageAssetChangesForIos
Fixed issue when asset is created with native UIImage.
2016-10-05 16:23:08 +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
Nedyalko Nikolov
d79edd1696 Fixed issue when asset is created with native UIImage. 2016-10-04 18:06:32 +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
968e493b6f Merge pull request #2749 from NativeScript/flexbox
Flexbox
2016-10-03 10:16:10 +03:00