Commit Graph

1043 Commits

Author SHA1 Message Date
Todd Anglin
91ba3fa69a Update iOS TabView to use Automatic rendering mode
Change the UIImageRenderingMode for tab icons from "AlwaysOriginal" to "Automatic." This will allow icon images to inherit the `selectedColor` specified for the tabview (eliminating the need to provide two versions of every tab icon).
2016-07-08 21:32:15 -05:00
Hristo Hristov
42b267bccc paddings should be taken from style because they could be undefined from newValue (#2433) 2016-07-08 18:18:56 +03:00
Hristo Hristov
8d40782191 Style perf improvements (#2342)
* Add css-perf app.

* Style properties now check only properties that are set.
Image utils module required on top (instead of in onMeasure) to improve performance.
Remove try/catch block when Style applies native property.

* fix tslint

* Fix broken merge
Update package.json version

* Failed miserably - if the try/catch around applyProperty method is removed - TextField fails big time.
TextField needs some good refactoring as well as calls to _updateTextDecoration & _updateTextTransform
utils - setTextTransform & setTextDecoration should be split, typing support should be added.
2016-07-08 14:39:43 +03:00
atanasovg
422b6a4285 Reflects some refactoring in the widgest for Android. 2016-07-07 15:05:39 +03:00
Vasil Chimev
4d0fbef87b Bump up version to 2.2.0 2016-07-05 15:56:44 +03:00
Rossen Hristov
8b5afa83b7 Fix: Multiple ScrollViews on one page fires scrollEvent simultaneously
Resolves #2362
2016-07-04 13:35:53 +03:00
Hristo Deshev
b46727f56e Merge pull request #2357 from NativeScript/hdeshev/webpack-fixes
webpack fixes
2016-07-01 13:45:51 +03:00
Hristo Hristov
7db517858b TextWatchListener is removed at onDetach so that no exception is thrown if android raise textChanged but we destroyed our android object in onDestroy of edit-text (#2392) 2016-07-01 13:20:09 +03:00
Rossen Hristov
2cff891ca0 Background borderWidth, borderColor, borderRadius and clipPath are now used on Android only and ignored on iOS
Related to #2318
2016-06-30 16:15:56 +03:00
Rossen Hristov
ad05f55dc0 Fix: background-repeat is not respected
Related to #2318
2016-06-30 11:26:24 +03:00
Rossen Hristov
e61affc0c0 Merge pull request #2384 from NativeScript/issue-2173
Fix: iOS onSuspend + showModal() returning "Error: This value is not …
2016-06-30 09:32:24 +03:00
Rossen Hristov
8dc732cfbe Fix: iOS onSuspend + showModal() returning "Error: This value is not a native object"
Resolves #2173
2016-06-29 17:18:19 +03:00
Hristo Hristov
bc1224e351 android LayoutParams are not overridden (#2383)
* LayoutParams are no longer overriden with CommonLayoutParams

* Small code refactoring to get intellisense
2016-06-29 17:13:37 +03:00
Hristo Deshev
540594454f Add bundle entrypoint registration module. 2016-06-29 15:57:05 +03:00
Jason Zhekov
ffb82e250a Use global require to avoid custom webpack resolve 2016-06-28 11:43:42 +03:00
Jason Zhekov
c2b984664c Export all fetch types to the global object when running in snapshot 2016-06-28 11:43:36 +03:00
Rossen Hristov
72714d738c Fix tslint errors and add a couple of traces 2016-06-28 10:47:42 +03:00
Rossen Hristov
b0aee9d7a9 Fix: The navigation bar duplicates when going to TabView's "More" tab
Resolves #2121
2016-06-27 16:23:54 +03:00
Rossen Hristov
cfe1cb5b15 Merge pull request #2363 from NativeScript/take-2
Background performance optimizations
2016-06-27 09:52:29 +03:00
Rossen Hristov
7d3fb56def Move border properties to Background to avoid unnecessary refreshes. 2016-06-27 09:41:53 +03:00
Hristo Hristov
ce6bf2dc58 Activity intent extras are set on application run which breaks Frame class logic. They were never set on lower API levels (#2367) 2016-06-24 17:56:29 +03:00
Hristo Deshev
550c16ee66 Fix component-builder tslint error 2016-06-24 17:41:19 +03:00
Hristo Deshev
21fa1f6b41 Prefer registered modules in builder and component-builder.
Avoid breakage in bundled scenarios.
2016-06-24 16:33:09 +03:00
Rossen Hristov
05a3f3c846 Remove optimisation 2016-06-24 16:23:01 +03:00
Rossen Hristov
53a699b50b Background performance optimizations 2016-06-24 14:49:11 +03:00
Tsvetan Raikov
b018ac20f0 Fixed: Animations look wrong when applying 0 scale 2016-06-22 13:07:15 +03:00
Panayot Cankov
165a948150 Image won't require in onMeasure; global loadModule cache 2016-06-21 15:02:15 +03:00
Georgi Atanasov
fe450f0280 Merge pull request #2304 from NativeScript/atanasovg/update-http
Rename com.tns.Async.xxx to org.nativescript.widgets.Async.xxx
2016-06-21 11:37:32 +03:00
Rossen Hristov
c94693da44 Merge pull request #2339 from NativeScript/border-drawable
Implement the BorderDrawable class used in background.android.ts in Java
2016-06-21 09:21:42 +03:00
tzraikov
759db58f2c Merge pull request #2301 from NativeScript/raikov/webinspector
Updated webinspector interfaces
2016-06-20 16:20:27 +03:00
Tsvetan Raikov
8554bb199e Fixed: Action bar doesn't handle events properly when a custom button is added in Angular 2016-06-20 15:53:04 +03:00
Elie Mélois
6282baefd8 Ignore the case when getting a response header (#2250)
According to the RFC: https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
"Field names are case-insensitive".
For instance, Google Cloud Endpoints use "content-type" in the response.
2016-06-20 13:42:50 +03:00
Rossen Hristov
345b2a8163 Fix tslint errors 2016-06-20 12:18:36 +03:00
Rossen Hristov
36fd83365c Fix tslint errors 2016-06-20 12:13:39 +03:00
Rossen Hristov
559a7c816e Implement the BorderDrawable class used in background.android.ts in Java
Resolves #2318
2016-06-20 11:30:52 +03:00
tzraikov
81288df17f Merge pull request #2312 from NativeScript/raikov/fix-2161b
Fixed: TranslateX and Animate in iOS strange behaviour on 2.0
2016-06-20 09:58:17 +03:00
Tsvetan Raikov
f3c7aa5a76 Fixed action bar tests 2016-06-17 18:50:18 +03:00
Tsvetan Raikov
1742e9ab53 Fixed: TranslateX and Animate in iOS strange behaviour on 2.0 2016-06-17 18:23:28 +03:00
tzraikov
d0ca57c099 Merge pull request #2315 from NativeScript/raikov/fix-2209
Fixed: CSS-Animation w/ iteration-count:infinite is never reset causing out of memory
2016-06-17 18:07:24 +03:00
tzraikov
d4a66c384d Merge pull request #2308 from NativeScript/raikov/fix-2177
Fixed: iOS CSS Animation rotate() do not reset the value after 360 degrees rotation
2016-06-17 17:54:45 +03:00
tzraikov
6275c71c85 Merge pull request #2266 from NativeScript/raikov/fix-animationsync
Fixed animation value sync issues
2016-06-17 17:53:51 +03:00
tzraikov
e2999ee934 Merge pull request #2323 from NativeScript/raikov/fix-2256
Fixed: Custom ActionItem gets displaced in IOS
2016-06-17 17:51:54 +03:00
Nedyalko Nikolov
9ac40a5acb Fixed sorting issue with Css Selectors with same specificity. 2016-06-17 13:34:15 +03:00
Nedyalko Nikolov
58be9796b6 Merge pull request #2324 from NativeScript/nnikolov/CssCascadeSelectorsIssue
Fixed issue #1655 cascading css selectors.
2016-06-17 13:27:32 +03:00
Vladimir Enchev
1970c8b91f Merge pull request #2328 from NativeScript/livesync-css
CSS livesync fixed
2016-06-16 15:08:53 +03:00
Vladimir Enchev
5a40b08bc3 CSS livesync fixed 2016-06-16 14:27:43 +03:00
Hristo Deshev
1a88cf0e8c Fix frame.d.ts to not expose public android types. 2016-06-16 13:08:32 +03:00
Vladimir Enchev
6c9dc46284 Merge pull request #2322 from NativeScript/ios-ts-debug
TypeScript debug fixed
2016-06-16 10:34:30 +03:00
Nedyalko Nikolov
7fbfc92155 Fixed issue #1655 cascading css selectors. 2016-06-16 09:43:19 +03:00
Hristo Hristov
a95d8c5c32 Fix android activity being destroyed then recreated. (#2321) 2016-06-16 09:30:35 +03:00