Commit Graph

175 Commits

Author SHA1 Message Date
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
Rossen Hristov
8b5afa83b7 Fix: Multiple ScrollViews on one page fires scrollEvent simultaneously
Resolves #2362
2016-07-04 13:35:53 +03: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
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
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
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