Commit Graph

192 Commits

Author SHA1 Message Date
Brad Martin
c84dc3e57b Small typo
-typo
-add android api number
2016-10-11 17:38:22 -05: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
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
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
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
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
51bfa93879 Padding is not reset if the elements has a border-related property set 2016-09-14 17:17:20 +03:00
Tsvetan Raikov
e2178fbf12 Fixed regression issue: rotate() doesn't reset after 360 degrees rotation 2016-09-14 15:00:04 +03:00
Jason Zhekov
81165fee3f Fix Xcode 7 build - CAAnimationDelegate is not available there 2016-09-14 11:43:31 +03:00
Panayot Cankov
82ff7aeadc Fix delegates 2016-09-14 09:08:53 +03:00
Panayot Cankov
e895f37f0b Apply getter check to determine if API is exposed as property or as method for iOS backward compatibility 2016-09-12 14:38:54 +03:00
Hristo Hristov
682c465e56 setActivityCallbacks moved as public fucntion (#2696) 2016-09-09 14:03:55 +03:00
Panayot Cankov
c6b10d1a33 Manually kickstart GC for android after navigation 2016-09-08 17:07:40 +03:00
Morten Anton Bach Sjøgren
86055354b8 Feature: automationText wasn't read aloud on iOS.
View.automationText on iOS now sets both accessibilityIdentifier and accessibilityLabel
2016-09-01 16:17:46 +02:00
Panayot Cankov
dbfed16be9 Handle native instances with weak refs in transition closures 2016-09-01 12:40:44 +03:00
Nathan Walker
465b5bfd77 fix(iOS): image._setColorTint is not a function fix
closes https://github.com/NativeScript/NativeScript/issues/2647
closes https://github.com/NativeScript/nativescript-angular/issues/422
closes https://github.com/jlooper/pocketrave/issues/2
closes https://github.com/jlooper/pocketrave/issues/3
2016-08-30 21:09:18 -07:00
Nedyalko Nikolov
6bd1a11329 Merge pull request #2644 from NativeScript/nnikolov/PlaceholderColorProperty
Add placeholder-color style property.
2016-08-30 15:13:12 +03:00
Nedyalko Nikolov
e9ceb79b2e Add placeholder-color style property. 2016-08-30 14:00:35 +03:00
Tsvetan Raikov
afb2d1ea68 Added tintColor property in {N} ImageView 2016-08-29 18:50:44 +03:00
Vladimir Enchev
501c357fca Merge pull request #2610 from NativeScript/dlgs-buttons-color
Color of buttons inside dialogs is not applied if there'are nested css styles
2016-08-29 11:58:15 +03:00
Panayot Cankov
bc1d379c05 Use let instead of var 2016-08-29 11:56:38 +03:00
Panayot Cankov
1236f66f44 Add npm script that generates ios .d.ts-es from the tests app
Less than 30 erros left, let's hope it still works

Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills

Roll back some changes involved in separating UIEvent for dom and ios

Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00
Rossen Hristov
33f5c901a8 Fix: Button with text-decoration can't change text
Resolves #2615
2016-08-23 15:00:59 +03:00
Rossen Hristov
501ad372d7 Optimization 2016-08-22 18:13:32 +03:00