Commit Graph

1069 Commits

Author SHA1 Message Date
Tsvetan Raikov
8b3d00df1d fixed: some transitions in side drawer are not working 2016-04-11 17:49:47 +03:00
Rossen Hristov
03f9867e2a Generic font families system, sans-serif and monospace now correctly resolve the system font when possible on iOS
Resolves #1864
2016-04-13 10:38:43 +03:00
Hristo Hristov
a66636fc6b Improve unit-tests (#1946)
* Improved unit-tests speed & reliability

* Fixed iOS tests.
Improved message output
2016-04-13 10:28:28 +03:00
Vladimir Enchev
f06af80260 TextBase and Button text-decoration and text-transform fixes 2016-04-11 15:56:23 +03:00
Rossen Hristov
e89def7104 Style properties are now applied on Buttons when no other TextBase elements exist on the page
Resolves #1902
2016-04-08 14:28:33 +03:00
Nedyalko Nikolov
ed373fa1c3 Merge pull request #1904 from NativeScript/nikolov/AttributeCssSelectorsFix
Fix for using css attribute selector alone.
2016-04-08 13:54:21 +03:00
Tsvetan Raikov
c07fc07348 Fixed: Visual states not working properly when the animation is canceled in Android 2016-04-08 11:35:44 +03:00
Nedyalko Nikolov
3eb8514e96 Fix for using css attribute selector alone. 2016-04-07 17:04:23 +03:00
tzraikov
19acc86e26 Merge pull request #1901 from NativeScript/fix/1893
Fixed: CSS animations from the application-wide .css file do not aply
2016-04-06 18:15:46 +03:00
Tsvetan Raikov
b21c48f3d1 Fixed: CSS animations from the application-wide .css file do not aply 2016-04-06 17:34:07 +03:00
Hristo Hristov
4febe2a87c FragmentClass instance is cached so that JS part does not die before …
* FragmentClass instance is cached so that JS part does not die before native counter part.

* Fix tslint error.
2016-04-06 16:29:08 +03:00
Nedyalko Nikolov
ba2a84de6b Better tracing (logging) of run-time errors. 2016-04-01 17:34:14 +03:00
Panayot Cankov
9596ae92d9 No iOS UINavigationBar animation for the first Page 2016-03-30 14:11:41 +03:00
Hristo Deshev
b390b6fd4a Merge pull request #1861 from NativeScript/hdeshev/webpack-transition-imports
Work around a webpack bundling fail in transitions by using full imports
2016-03-29 15:34:07 +03:00
Vladimir Enchev
ca731205cf Merge pull request #1860 from NativeScript/text-base-recycling
Text transform and decoration updated on binding context changed
2016-03-29 15:10:22 +03:00
Vladimir Enchev
56f80f3c5c Merge pull request #1855 from NativeScript/letter-spacing
Letter spacing CSS support added
2016-03-29 15:10:12 +03:00
Hristo Deshev
69f3dd101e Work around a webpack bundling fail in transitions by using full imports.
It seems Webpack can't discover aliased modules that relative-import other
aliased modules e.g. "ui/transition", aliased to
"ui/transition/transition.android", not discovering "./slide-transition"
which is aliased to "ui/transition/slide-transition.android.js"
2016-03-29 14:04:27 +03:00
Vladimir Enchev
f7a28a90bd Text transform and decoration updated on binding context changed 2016-03-29 11:22:45 +03:00
Vladimir Enchev
1c759649df Letter spacing CSS support added 2016-03-29 09:45:03 +03:00
Tsvetan Raikov
2601a49099 Merge branch 'master' into feature/css-animations-new 2016-03-25 15:39:30 +02:00
Tsvetan Raikov
073cc94926 implemented CSS animations
fixing animation tests
2016-03-25 15:26:48 +02:00
Vladimir Enchev
6f29a5ab16 Merge pull request #1847 from NativeScript/button-formatted-text-android-
TransformationMethod set to null in order to apply formattedText
2016-03-25 14:31:05 +02:00
Vladimir Enchev
b6e046e884 TransformationMethod set to null in order to apply formattedText 2016-03-25 13:52:36 +02:00
Hristo Hristov
429646f392 Fix swipe-back in iOS 2016-03-25 13:45:05 +02:00
vakrilov
acb3640a39 Test + additional fixes 2016-03-24 17:29:35 +02:00
vakrilov
d129dc5904 ShownModally fired when the dialog is actually shown in Android 2016-03-24 17:29:35 +02:00
Hristo Deshev
9daa948887 Allow updates to application CSS rules.
Expose an `application.addCss` method and hide `application.cssSelectors`
from end-user typings. Update StyleScope's with new application selectors
on style application.

NOT updating existing controls/views unless reloaded, or forced (via a
change to className, etc).
2016-03-24 14:45:20 +02:00
Vladimir Enchev
04cb12f86b Merge pull request #1836 from NativeScript/animate
Animation error handing improved
2016-03-24 12:01:51 +02:00
Alexander Vakrilov
aae41f12d7 Merge pull request #1827 from NativeScript/feature/show-modal-api
Page.showModal API extended to accept page instance
2016-03-24 11:35:51 +02:00
Vladimir Enchev
281cb95fad Animation error handing improved 2016-03-24 11:09:22 +02:00
Rossen Hristov
0107e2ad61 Fix onClipToBoundsChanged implementation
Resolves #1829
2016-03-23 14:42:23 +02:00
Rossen Hristov
1fd0440895 Add onSetNativeValue callback for clipToBounds
Resolves #1829
2016-03-23 13:48:56 +02:00
Rossen Hristov
bc6afc2fd2 Add LayoutBase.clipToBounds property
Resolves #1829
2016-03-23 11:55:35 +02:00
Vladimir Enchev
93f5a410e3 Merge pull request #1826 from NativeScript/return-press
return press fixed
2016-03-23 09:50:42 +02:00
vakrilov
2fc85a5488 Page.showModal API extended 2016-03-22 16:46:14 +02:00
Vladimir Enchev
88e4945fdb return press fixed 2016-03-22 16:08:06 +02:00
Aleksey Gureiev
2d05687e31 case statements fix 2016-03-22 11:45:01 +03:00
Vladimir Enchev
bf9fe0915c Merge pull request #1782 from NathanaelA/Permissions_TNSCore
Adds Android 6.0+ Permissions to NativeScript
2016-03-22 09:45:31 +02:00
Nathanael Anderson
ccdc394be4 This adds the ability to Cancel the Animation via the Promise returned via a play command. 2016-03-21 22:52:55 -06:00
Mihail Slavchev
25852e9bc6 Merge pull request #1805 from slavchev/fix-issue-1614
fix issue #1614
2016-03-21 15:51:49 +02:00
Rossen Hristov
d80bc5fc81 Eliminate rounding errors 2016-03-21 13:05:17 +02:00
Rossen Hristov
fe3d176dd6 Add public instance methods to View class for getting locations and sizes
Resolves #1760
2016-03-21 10:46:58 +02:00
Mihail Slavchev
e7e271d6e1 fix issue #1614 2016-03-19 11:46:12 +02:00
Hristo Hristov
b1ca9c41ac Merge pull request #1793 from NativeScript/hhristov/navigation-events
Fix navigation events https://github.com/NativeScript/NativeScript/issues/1570
2016-03-18 17:24:16 +02:00
Rossen Hristov
a2f20a54b2 Merge pull request #1795 from NativeScript/formatted-text-crash
Update TextBase/Button `text` property when `formattedText` changes
2016-03-18 17:08:38 +02:00
Rossen Hristov
c492d894d5 Fix NSRangeException when typing in a TextField with formatted text
Fixes #1792
2016-03-18 15:27:28 +02:00
Rossen Hristov
ed090326b1 Additional fixes 2016-03-18 14:57:28 +02:00
Rossen Hristov
6c68423ee9 Update TextBase/Button text property when formattedText changes
Fixes #1794
2016-03-18 14:17:08 +02:00
Hristo Hristov
2cabf02215 Fixed navigation events 2016-03-18 11:55:52 +02:00
Rossen Hristov
6de1afc2a9 Going back with the stock "Back" button on iOS will now respect the animated setting used when coming to the current page
Fixes #1787
2016-03-17 17:08:39 +02:00