Commit Graph

3258 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
Hristo Deshev
81dc102031 Merge pull request #2423 from NativeScript/hdeshev/snippets-whitespace
Remove unicode nonbreaking whitespace in snippet declarations.
2016-07-06 17:10:41 +03:00
Hristo Deshev
09db46da0c Remove unicode nonbreaking whitespace in snippet declarations.
It was breaking the snippet extraction regexes.
2016-07-06 16:55:39 +03:00
Hristo Deshev
8c31cfbfd0 Merge pull request #2419 from NativeScript/hdeshev/doc-snippets-fixes
Fix unclosed snippet tags and duplicate snippets.
2016-07-06 16:22:00 +03:00
Hristo Deshev
846bafc660 Change snippet syntax to the new Jekyll tag. 2016-07-06 16:09:11 +03:00
Hristo Deshev
f87eb2d969 Fix unclosed snippet tags and duplicate snippets. 2016-07-05 17:27:59 +03:00
Vasil Chimev
a497429403 Merge pull request #2418 from NativeScript/vchimev-pack
Bump up version to 2.2.0
2016-07-05 06:11:56 -07:00
Vasil Chimev
4d0fbef87b Bump up version to 2.2.0 2016-07-05 15:56:44 +03:00
Rossen Hristov
240ae699ee Merge pull request #2412 from NativeScript/issue-2362
Fix: Multiple ScrollViews on one page fires scrollEvent simultaneously
2016-07-04 15:17:51 +03:00
Rossen Hristov
8b5afa83b7 Fix: Multiple ScrollViews on one page fires scrollEvent simultaneously
Resolves #2362
2016-07-04 13:35:53 +03:00
Erjan Gavalji
b9dca4f298 Remove the redundant header that gets added by the retriever script of the documentation 2016-07-01 10:24:44 -04: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
Hristo Hristov
369a0ac274 Update CHANGELOG.md (#2398)
* Update CHANGELOG.md

* Update CHANGELOG.md
2016-07-01 13:05:34 +03:00
Rossen Hristov
0a1c88e1da Merge pull request #2386 from NativeScript/background-position-fix
Fix: background-repeat is not respected
2016-06-30 17:27:19 +03:00
Jason Zhekov
5cc8051296 Merge pull request #2390 from NativeScript/jasssonpet/fetch-tests
Remove unused result variables in fetch tests
2016-06-30 16:35:44 +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
Jason Zhekov
65045595d0 Remove unused result variables in fetch tests 2016-06-30 15:57:32 +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
4af963f7e1 Merge pull request #2374 from NativeScript/back-more
Fix:  The navigation bar duplicates when going to TabView's "More" tab
2016-06-28 11:16:59 +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
86b679510b Merge pull request #2365 from NativeScript/hdeshev/webpack-snapshot
Bundling and Snapshotting fixes
2016-06-24 17:29:51 +03:00
SvetoslavTsenov
c2f96c7c44 Merge pull request #2366 from NativeScript/tsenov/Resources
Add icon in resource folder of ui-tests-app
2016-06-24 17:09:55 +03:00
SvetoslavTsenov
ce1b562bf1 Add icon in resource folder of ui-tests-app 2016-06-24 16:44:14 +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
tzraikov
99c0142aa4 Merge pull request #2355 from NativeScript/raikov/fix-animations-with-scale-zero
Fixed: Animations look wrong when applying 0 scale
2016-06-22 13:53:27 +03:00
Tsvetan Raikov
b018ac20f0 Fixed: Animations look wrong when applying 0 scale 2016-06-22 13:07:15 +03:00
Panayot Cankov
9707a505c0 Merge pull request #2352 from NativeScript/cankov/minor-perf-improvements
Image won't require in onMeasure; Add global loadModule cache
2016-06-22 09:38:51 +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
SvetoslavTsenov
c346701550 Merge pull request #2346 from NativeScript/tsenov/letterSpacingExample
Update letter sapcing page
2016-06-21 09:41:19 +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
Hristo Deshev
e5ce0cc3df Merge pull request #2347 from NativeScript/hdeshev/cookbook-nativescript-env
Make cookbook articles appear in nativescript env only.
2016-06-20 17:45:39 +03:00
SvetoslavTsenov
5a8ffb17a7 Update letter sapcing page 2016-06-20 16:35:52 +03:00