Commit Graph

155 Commits

Author SHA1 Message Date
Hristo Hristov
682c465e56 setActivityCallbacks moved as public fucntion (#2696) 2016-09-09 14:03:55 +03:00
Panayot Cankov
c6b10d1a33 Manually kickstart GC for android after navigation 2016-09-08 17:07:40 +03:00
Morten Anton Bach Sjøgren
86055354b8 Feature: automationText wasn't read aloud on iOS.
View.automationText on iOS now sets both accessibilityIdentifier and accessibilityLabel
2016-09-01 16:17:46 +02:00
Panayot Cankov
dbfed16be9 Handle native instances with weak refs in transition closures 2016-09-01 12:40:44 +03:00
Nathan Walker
465b5bfd77 fix(iOS): image._setColorTint is not a function fix
closes https://github.com/NativeScript/NativeScript/issues/2647
closes https://github.com/NativeScript/nativescript-angular/issues/422
closes https://github.com/jlooper/pocketrave/issues/2
closes https://github.com/jlooper/pocketrave/issues/3
2016-08-30 21:09:18 -07:00
Nedyalko Nikolov
6bd1a11329 Merge pull request #2644 from NativeScript/nnikolov/PlaceholderColorProperty
Add placeholder-color style property.
2016-08-30 15:13:12 +03:00
Nedyalko Nikolov
e9ceb79b2e Add placeholder-color style property. 2016-08-30 14:00:35 +03:00
Tsvetan Raikov
afb2d1ea68 Added tintColor property in {N} ImageView 2016-08-29 18:50:44 +03:00
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