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
Rossen Hristov
d3f6e7d384
Remove a console.log
2016-08-22 18:06:09 +03:00
Rossen Hristov
416144b970
Add button.ios.ts to the commit
2016-08-22 18:05:22 +03:00
Rossen Hristov
996858825c
Fix: Text color of the Button not applied, when text-transform has been set.
...
Resolves #2601
2016-08-22 15:43:45 +03:00
Maya Zhecheva
e487928ab8
Updated improper field name
2016-08-22 15:20:36 +03:00
Maya Zhecheva
24ebcc56a9
Foregrond of buttons inside dialogs are not updated on creating a css style targetting both Button and Page Button
2016-08-22 10:45:58 +03:00
tzraikov
cdd6c7ace1
Merge pull request #2598 from NativeScript/raikov/fix-button-unload
...
Fixed: There is an exception when removing a button
2016-08-17 16:40:10 +03:00
Tsvetan Raikov
44a3b32fa6
Fixed: There is an exception when removing a button
2016-08-17 16:09:38 +03:00
Nedyalko Nikolov
e28bdd8621
Removed comments.
2016-08-16 17:07:09 +03:00
Nedyalko Nikolov
dc5b7d5bac
Fixed with another approach.
2016-08-16 17:02:57 +03:00
Nedyalko Nikolov
97a1ad6a7a
Label zero height issue fixed.
2016-08-16 16:33:56 +03:00
Nedyalko Nikolov
bb6a7107c9
Fixed issue when bind to bindingContext.
2016-08-15 17:08:42 +03:00
Hristo Hristov
fc0048c4a1
dependency-observable changes ( #2584 )
...
* Improved es6.d.ts
Small perf improvement in resetValues
* Fix tslint errors
* Removed all comments from es6.d.ts (TSLint hell)
2016-08-15 15:14:03 +03:00
Hristo Hristov
c8cce0ebcb
Fixed paddings ( #2552 )
...
* Fixed paddings
* Fix tslint
2016-08-07 22:29:00 +03:00
Hristo Deshev
7e5c29a163
Fix package.json "main" settings and remove .js references.
2016-08-04 16:24:29 +03:00
Hristo Hristov
8da85629fe
z-index handler added only for API 21+
2016-08-03 18:10:45 +03:00
Hristo Deshev
2fe8d77708
Merge pull request #2543 from NativeScript/hdeshev/thenable-promiselike
...
Rename Thenable<T> to PromiseLike<T>
2016-08-03 13:37:35 +03:00
Hristo Hristov
441a8087f9
fix snapshot ( #2544 )
2016-08-02 17:12:35 +03:00
Hristo Deshev
34c7dc1e02
Rename Thenable<T> to PromiseLike<T>
...
Also change the Promise generic param from R to T.
Make it similar to TypeScript's lib.es6.d.ts until we actually
remove those typings.
2016-08-02 13:09:10 +03:00
Maya Zhecheva
5b553daaad
Merge pull request #2539 from NativeScript/action-items-exception
...
Element that isn't a View should not be added to its parent
2016-08-01 17:22:55 +03:00
Hristo Hristov
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
Maya Zhecheva
17d0172ace
Element that is not an instance of a View should not be added to its parent.
2016-08-01 16:21:26 +03:00
Rossen Hristov
d73acb5497
Letter spacing in EM units
...
Resolves #2528
2016-07-29 14:16:05 +03:00
Rossen Hristov
15d891cc08
Refactor application of text decoration, text transform, letter spacing and formatted text.
...
Related to #2427
2016-07-28 10:33:33 +03:00
Hristo Deshev
2a94532865
Fix iOS font registration when bundling scripts.
...
Use fs.knownFolders to get the app dir
2016-07-26 16:49:50 +03:00
vakrilov
2dc9827721
FIX: Wrong isBackNavigation value
2016-07-25 11:47:07 +03:00
Rossen Hristov
fc39fad959
Fix: CSS background-image on Label not loading in iOS
...
Resolves #2414
2016-07-21 09:45:50 +03:00
vakrilov
4d1010155b
var -> let cleanup
2016-07-20 18:09:08 +03:00
vakrilov
ef6a24a5de
FIX: isBackNavigation worng when navigation away form page that is not backstack visible
2016-07-20 11:54:53 +03:00
Nedyalko Nikolov
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
Panayot Cankov
849736e35e
Merge pull request #2465 from NativeScript/css-hash-lookup-2
...
CSS refactoring
2016-07-19 17:59:10 +03:00
Nedyalko Nikolov
a481fa9808
Mark text property as special and set it with a string comming from builder.
2016-07-19 14:37:44 +03:00
Rossen Hristov
ffec9c3ad6
Make the new bindingContext parameter optional.
2016-07-19 13:22:52 +03:00
Rossen Hristov
39050861f3
Add NavigationEntry.bindingContext property
...
Resolves Issue #731
2016-07-19 12:06:29 +03:00
Panayot Cankov
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
Rossen Hristov
0dcb0c9b36
Remove the _originalBindingContext caching
2016-07-18 14:24:15 +03:00
Rossen Hristov
36ae896933
Fix: Set the binding context of a page automatically when navigated to.
...
Resolves #731
2016-07-18 13:40:13 +03:00
Alexander Vakrilov
0477c81dd5
Merge pull request #2458 from NativeScript/animations-fix
...
Unregister animations only once - on reset css
2016-07-18 12:29:42 +03:00
Maya Zhecheva
1d6310353d
fix: ActionBar's title not updating in OnLoaded event
2016-07-15 16:54:28 +03:00
vakrilov
1b00fe9a18
Unregister animations only once - on reset css
2016-07-15 11:42:04 +03:00
Rossen Hristov
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
Vasil Chimev
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
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