30c998a954
Fix unit-tests checks. ( #2538 )
...
* Fix unit-tests checks.
LetterSpacing handlers are added for iOS and Android API 21+
* Removed unneded check for android
* Used parseInt instead of new Number due to TSLint error
2016-08-01 16:21:32 +03:00
d73acb5497
Letter spacing in EM units
...
Resolves #2528
2016-07-29 14:16:05 +03:00
15d891cc08
Refactor application of text decoration, text transform, letter spacing and formatted text.
...
Related to #2427
2016-07-28 10:33:33 +03:00
2a94532865
Fix iOS font registration when bundling scripts.
...
Use fs.knownFolders to get the app dir
2016-07-26 16:49:50 +03:00
2dc9827721
FIX: Wrong isBackNavigation value
2016-07-25 11:47:07 +03:00
fc39fad959
Fix: CSS background-image on Label not loading in iOS
...
Resolves #2414
2016-07-21 09:45:50 +03:00
4d1010155b
var -> let cleanup
2016-07-20 18:09:08 +03:00
ef6a24a5de
FIX: isBackNavigation worng when navigation away form page that is not backstack visible
2016-07-20 11:54:53 +03:00
2656f18926
Merge pull request #2474 from NativeScript/nnikolov/TextPropertyMustBeString
...
Mark text property as special and set it with a string comming from b…
2016-07-20 09:53:59 +03:00
849736e35e
Merge pull request #2465 from NativeScript/css-hash-lookup-2
...
CSS refactoring
2016-07-19 17:59:10 +03:00
a481fa9808
Mark text property as special and set it with a string comming from builder.
2016-07-19 14:37:44 +03:00
ffec9c3ad6
Make the new bindingContext parameter optional.
2016-07-19 13:22:52 +03:00
39050861f3
Add NavigationEntry.bindingContext property
...
Resolves Issue #731
2016-07-19 12:06:29 +03:00
c1aeeb51a7
Inital by-type split
...
Split type.class from CssTypeSelector to CssCompositeSelector, probably support type#id.class selectors
Apply review comments, refactor css-selectors internally
Applied refactoring, all tests pass, button does not notify changes
Add tests for the css selectors parser.
Added tests for css-selectors
Added basic implementation of mayMatch and changeMap for css match state
Implemented TKUnit.assertDeepEqual to check key and key/values in Map and Set
Watch for property and pseudoClass changes
Add one child group test
Add typings for animations
Added mechanism to enable/disable listeners for pseudo classes
Count listeners instead of checking handlers, reverse subscription and unsubscription
2016-07-18 17:24:09 +03:00
0dcb0c9b36
Remove the _originalBindingContext caching
2016-07-18 14:24:15 +03:00
36ae896933
Fix: Set the binding context of a page automatically when navigated to.
...
Resolves #731
2016-07-18 13:40:13 +03:00
0477c81dd5
Merge pull request #2458 from NativeScript/animations-fix
...
Unregister animations only once - on reset css
2016-07-18 12:29:42 +03:00
1d6310353d
fix: ActionBar's title not updating in OnLoaded event
2016-07-15 16:54:28 +03:00
1b00fe9a18
Unregister animations only once - on reset css
2016-07-15 11:42:04 +03:00
c3ce128e65
Merge pull request #2435 from toddanglin/patch-1
...
Update iOS TabView to use Automatic rendering mode
2016-07-13 11:08:24 +03:00
c2867e7a1c
Merge pull request #2428 from NativeScript/atanasovg/image-cache-update
...
Reflects some refactoring in the widgest for Android.
2016-07-11 03:20:28 -07:00
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
42b267bccc
paddings should be taken from style because they could be undefined from newValue ( #2433 )
2016-07-08 18:18:56 +03:00
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
422b6a4285
Reflects some refactoring in the widgest for Android.
2016-07-07 15:05:39 +03:00
8b5afa83b7
Fix: Multiple ScrollViews on one page fires scrollEvent simultaneously
...
Resolves #2362
2016-07-04 13:35:53 +03:00
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
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
ad05f55dc0
Fix: background-repeat is not respected
...
Related to #2318
2016-06-30 11:26:24 +03:00
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
8dc732cfbe
Fix: iOS onSuspend + showModal() returning "Error: This value is not a native object"
...
Resolves #2173
2016-06-29 17:18:19 +03:00
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
ffb82e250a
Use global require to avoid custom webpack resolve
2016-06-28 11:43:42 +03:00
72714d738c
Fix tslint errors and add a couple of traces
2016-06-28 10:47:42 +03:00
b0aee9d7a9
Fix: The navigation bar duplicates when going to TabView's "More" tab
...
Resolves #2121
2016-06-27 16:23:54 +03:00
cfe1cb5b15
Merge pull request #2363 from NativeScript/take-2
...
Background performance optimizations
2016-06-27 09:52:29 +03:00
7d3fb56def
Move border properties to Background to avoid unnecessary refreshes.
2016-06-27 09:41:53 +03:00
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
550c16ee66
Fix component-builder tslint error
2016-06-24 17:41:19 +03:00
21fa1f6b41
Prefer registered modules in builder and component-builder.
...
Avoid breakage in bundled scenarios.
2016-06-24 16:33:09 +03:00
05a3f3c846
Remove optimisation
2016-06-24 16:23:01 +03:00
53a699b50b
Background performance optimizations
2016-06-24 14:49:11 +03:00
b018ac20f0
Fixed: Animations look wrong when applying 0 scale
2016-06-22 13:07:15 +03:00
165a948150
Image won't require in onMeasure; global loadModule cache
2016-06-21 15:02:15 +03:00
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
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
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
345b2a8163
Fix tslint errors
2016-06-20 12:18:36 +03:00
36fd83365c
Fix tslint errors
2016-06-20 12:13:39 +03:00
559a7c816e
Implement the BorderDrawable class used in background.android.ts in Java
...
Resolves #2318
2016-06-20 11:30:52 +03:00