Commit Graph

388 Commits

Author SHA1 Message Date
Hristo Deshev
499db0eb47 Remove global Object var declaration to avoid clashing with TS 2.0
TypeScript 2.0 now has its own Object typings.
2016-08-29 14:35: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
Nedyalko Nikolov
b9385fc4cd Renamed and moved to module Observable creation functions. 2016-08-24 15:37:46 +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
Alexis Cramatte
450c5fb9cf Fix: Content type with "+json" suffix are now parsed as JSON 2016-08-17 21:27:10 +02: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
Nedyalko Nikolov
3fc706972f Fixed creating Observable object from nested JSON object. 2016-08-12 17:33:28 +03:00
Vasil Chimev
70a3d60627 Bump version to 2.3.0 2016-08-08 19:25:09 +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
tzraikov
097367274b Merge pull request #2522 from NativeScript/raikov/fix-livesync-css-angular
Fixed: CSS is not automatically livesynced in angular apps
2016-08-01 16:22:04 +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
Tsvetan Raikov
ce83da8ba3 Fixed: CSS is not automatically livesynced in angular apps 2016-07-28 14:59:16 +03:00
Rossen Hristov
21926a95ea Additional refactoring and code cleanup 2016-07-28 14:48:03 +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
Panayot Cankov
e49a44879f Merge pull request #2514 from NativeScript/android-launch-screen
Add a mechanism the launch screen theme to be reset after launch
2016-07-27 15:26:16 +03:00
Panayot Cankov
ebcc3711d8 Add a mechanism the launch screen theme to be reset after launch 2016-07-27 14:44:22 +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
Stephen Feather
365ba230a4 simple typo fix in the camera module Readme.md 2016-07-25 17:59:41 -04: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
Vasil Chimev
4d0fbef87b Bump up version to 2.2.0 2016-07-05 15:56:44 +03:00