Commit Graph

259 Commits

Author SHA1 Message Date
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
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
Panayot Cankov
a528ae7f85 symlinking tns-platform-declarations inside tns-core-modules causes the apps and tests to fail on some dev machines 2016-09-29 17:55:59 +03:00
Vasil Chimev
b46b816de8 Merge pull request #2805 from NativeScript/vchimev-patch
Update tns-core-modules/package.json
2016-09-27 15:01:33 +03:00
vchimev
cb6a8fb7ad Update tns-core-modules/package.json 2016-09-27 14:45:18 +03:00
NickIliev
a4916d7246 added tns-core-modules.es2016.d.ts for declarations references 2016-09-27 14:24:56 +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
0e23f47a04 Update the .travis.yml to npm pack the tns-platform-declarations, add lib: [] config in the tsconfig.json 2016-09-26 11:53:40 +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
Rossen Hristov
af3fcfb0ab Merge pull request #2783 from NativeScript/rgba
Fix: CSS border-color does not recognize rgb and rgba values
2016-09-21 17:29:48 +03:00
Rossen Hristov
9427ff6fa4 Merge pull request #2770 from NativeScript/all-borders
Add two more sample pages for testing borders.
2016-09-21 17:12:23 +03:00
hamorphis
08f9c941cc Fix: CSS border-color does not recognize rgb and rgba values
Resolves #2781
2016-09-21 16:35:03 +03:00
Nikolay Iliev
a66a983a80 added jpg as synonim for ImageFormat jpeg 2016-09-21 10:45:16 +03:00
Rossen Hristov
adf77afbd4 Add two more sample pages for testing borders.
Related to #859
2016-09-20 17:01:05 +03:00
Vladimir Enchev
9d290a35b4 Merge pull request #2769 from NativeScript/user-agent-ios
Correct device in user agent
2016-09-20 15:45:35 +03:00
Vladimir Enchev
6f627aacee Correct device in user agent 2016-09-20 14:55:01 +03:00
Vladimir Enchev
936df853ff number now can be set as id in android 2016-09-20 12:04:00 +03:00
Rossen Hristov
52fb85acd3 Prevent padding from accumulating
Related to #2719
2016-09-19 10:48:48 +03:00
Panayot Cankov
84c469d61b Merge pull request #2745 from NativeScript/cankov-fix-specificity
Remove redundant specificity and rarity getter
2016-09-17 16:39:45 +03:00
Rossen Hristov
f2db7cc193 Merge pull request #2743 from NativeScript/borders
Non-uniform borders
2016-09-17 15:02:53 +03:00
Panayot Cankov
e3e0faebdd Remove the rarity getter too 2016-09-17 15:00:26 +03:00
Panayot Cankov
4a650f9b94 Remove redundant specificity getter 2016-09-17 14:54:24 +03:00
Rossen Hristov
2d7bbd74dc Revert "Add temporary console trace to catch a crash on build machine"
This reverts commit dac4ee7bfc.
2016-09-17 14:42:29 +03:00
Rossen Hristov
dac4ee7bfc Add temporary console trace to catch a crash on build machine 2016-09-17 13:34:01 +03:00
Panayot Cankov
65161ca96b utils.ios should not be required in webinspector 2016-09-17 12:38:07 +03:00
Rossen Hristov
f0374642b5 Fix tslint error & bump ios runtime version 2016-09-17 11:07:24 +03:00
Rossen Hristov
a05f842a84 Non-uniform borders 2016-09-17 09:27:36 +03:00
Tsvetan Raikov
1b568b56ca Added tintColor property in Image view. It should be used instead of color 2016-09-16 16:29:08 +03:00
dtopuzov
6bae1716a7 Merge pull request #2718 from NativeScript/raikov/fix-2177
Fixed regression issue: rotate() doesn't reset after 360 degrees rotation
2016-09-16 15:42:51 +03:00
Maya Zhecheva
e8901e8ced Merge pull request #2719 from NativeScript/zhecheva/p-test
Padding is not reset if an element has a border-related property set
2016-09-16 14:40:46 +03:00
zh-m
e55ab342fb Fix defaultManager is method in pre iOS10 and property in iOS10+ 2016-09-15 11:00:58 +03:00
zh-m
71671aec40 IOS Known folders are not created if do not exist 2016-09-15 10:58:56 +03:00
Nedyalko Nikolov
feef0f83b5 Image from camera will be resized to screen dimensions. 2016-09-14 18:12:42 +03:00
Maya Zhecheva
51bfa93879 Padding is not reset if the elements has a border-related property set 2016-09-14 17:17:20 +03:00