Commit Graph

1116 Commits

Author SHA1 Message Date
Hristo Hristov
b0cff20450 Manually applying CSS in removed and now it is done once per cell. (#2174)
* Manually applying CSS in removed and now it is done once per cell.
Clearing bindingContext is now done in refresh method instead of preparing cell.
Obsolete isScrolling property on ListView.
Removed android scroll listener.
Added test for nulling cells bindingContext.
Uncommented few tests and made them work.
Fixed android ListView eachChildView to return the wrapping StackLayout so that Unloading now works as expected.
onUnload method in view-common now raise unloaded only if item isLoaded=true.

* Fix navigation path
2016-05-25 14:03:45 +03:00
Rossen Hristov
90f8b0da74 Merge pull request #2155 from NativeScript/new-trans
Fixed: Navigating with clearHistory / transition
2016-05-25 11:03:52 +03:00
Rossen Hristov
ebb1f15be5 Removed some cleanup 2016-05-25 10:08:55 +03:00
Rossen Hristov
32a61e7a65 Revert "Fix null reference exception."
This reverts commit 9e36329e9d.
2016-05-25 10:06:52 +03:00
Rossen Hristov
5c215de798 Revert "Trying to fix build failures"
This reverts commit 17b89a80a3.
2016-05-25 10:06:42 +03:00
Rossen Hristov
c2e5ef5a7b Revert "..."
This reverts commit 12a7a6baec.
2016-05-25 10:06:34 +03:00
Rossen Hristov
12a7a6baec ... 2016-05-25 09:51:04 +03:00
Rossen Hristov
17b89a80a3 Trying to fix build failures 2016-05-25 09:48:07 +03:00
Rossen Hristov
9e36329e9d Fix null reference exception. 2016-05-20 18:32:08 +03:00
Rossen Hristov
7340a6e2fc Trying to prevent memory leaks. 2016-05-20 17:48:34 +03:00
Vladimir Enchev
a7699ea66d zIndex added 2016-05-20 12:55:52 +03:00
Rossen Hristov
37f13c50d4 Fixed: Navigating with clearHistory / transition 2016-05-20 11:50:15 +03:00
Panayot Cankov
674f4e7704 Merge pull request #2111 from NativeScript/widgets-ios-async-image
Optional async mode for loading images from local files
2016-05-20 09:11:36 +03:00
Nedyalko Nikolov
1b395aac7f async image loading from data, files and resources for ios
Use the tns_safeDecodeImageNamedCompletion from the widgets framework

Add loadMode on Image with sync and async options for local images
2016-05-19 16:58:58 +03:00
Panayot Cankov
df1d322ca0 Merge pull request #2127 from NativeScript/cankov/checked-logging
Add a flag when logging to skip string template calculations in release
2016-05-19 15:52:08 +03:00
Alexander Vakrilov
30ea1b0276 Merge pull request #2118 from NativeScript/TheOriginalJosh-use-getRawX-Y-instead-of-getX-Y-to-allow-smoother-panning-coordinates
The original josh use get raw x y instead of get x y to allow smoother panning coordinates
2016-05-18 16:42:44 +03:00
Hristo Hristov
6b69ba1904 Fix for https://github.com/NativeScript/NativeScript/issues/2076 (#2135) 2016-05-18 15:57:08 +03:00
Nedyalko Nikolov
48bb902fcd Merge pull request #2133 from NativeScript/nnikolov/TabViewViewStatesFix
Removed unnecessary view state creation.
2016-05-18 15:37:27 +03:00
Nedyalko Nikolov
a036f78365 Removed unnecessary view state creation. 2016-05-18 11:16:40 +03:00
Vladimir Enchev
bd8878842a Merge pull request #2128 from NativeScript/android-background-reset
android background reset fixed
2016-05-17 17:11:14 +03:00
Vladimir Enchev
f10666e1f0 Merge pull request #2126 from NativeScript/android-Button-zindex
zIndex fixed for Android buttons
2016-05-17 17:11:04 +03:00
Panayot Cankov
eda260323e Add a flag we can use to skip string template calcs in release 2016-05-17 16:43:41 +03:00
Vladimir Enchev
60a6c9b12d android background reset fixed 2016-05-17 16:12:16 +03:00
Vladimir Enchev
1bdd2dfa44 zIndex fixed for Android buttons 2016-05-17 15:49:26 +03:00
Plamen Petkov
1a8d5d5cd8 Merge pull request #2105 from NativeScript/plamen5kov/add_packagejson_info
add native script key in package.son files
2016-05-17 14:51:52 +03:00
vakrilov
1f4c93d270 Minor refactorings 2016-05-17 14:48:21 +03:00
tzraikov
05f802bb16 Merge pull request #2124 from NativeScript/raikov/fix-2084
Fixed: App crashes when animating ActionBar
2016-05-17 14:47:29 +03:00
Tsvetan Raikov
6075a837e8 Fixed: App crashes when animating ActionBar 2016-05-17 11:40:29 +03:00
Hristo Deshev
59b45f8d35 Extract single style property resolution to an exported API.
Used by CSS selectors, and now the Angular `setElementStyle` renderer API.
2016-05-16 17:30:51 +03:00
vakrilov
c22f7ce478 Multi-pointer case - covered 2016-05-16 13:52:35 +03:00
Vladimir Enchev
b8785afd74 Merge pull request #2102 from NativeScript/clip-path
clip-path support added
2016-05-16 11:27:19 +03:00
Josh Sommer
8d5ef9b15b changed getX and getY to getRawX and getRawY
getRawX & Y always return the X & Y coordinates relative to the view
getX and getY sometimes return coordinates that are relative to the
previous motion. this update will allow smoother coordinates on panning
instead of occasional  jumping back and fourth of the delta X and Y
coordinates
2016-05-14 08:23:37 -04:00
Vladimir Enchev
ebed79da36 clip-path support added 2016-05-13 17:31:55 +03:00
Vladimir Enchev
75b1586cc3 Merge pull request #2099 from covex-nn/master
Typo in Pointer.getY method for iOS
2016-05-13 16:30:45 +03:00
plamen5kov
7164391849 added nativescript key to existing package.json files and added package.json files where missing 2016-05-13 14:34:03 +03:00
Hristo Hristov
d62f018a55 Fix navigatedFrom event raised when Activity is destroyed without actual navigation. (#2100) 2016-05-13 13:11:10 +03:00
Andrey F. Mindubaev
eb653c602e Typo: Pointer.getY method for iOS returned this.location.x instead of this.location.y 2016-05-13 12:30:39 +03:00
Vladimir Enchev
87c9828a04 Merge pull request #2049 from akagr/feature/add-attributes-2048
Expose configurable attributes property when loading components
2016-05-11 10:10:38 +03:00
Hristo Deshev
21c74bdf5a Call row/column removed callbacks on removeRows/removeColumns.
Changed callback names to _onRowRemoved, etc and changed visibility to
public to work around a TypeScript "protected" limitation.
2016-05-09 16:58:56 +03:00
Nedyalko Nikolov
115d4aa0a3 Merge pull request #2071 from NativeScript/nnikolov/Issue2016
Fixed issue with simple object as binding context.
2016-05-09 11:00:52 +03:00
Vladimir Enchev
2674f0666c Merge pull request #2066 from NativeScript/jasssonpet/delete-ui-main
Delete missing main module in ui/package.json
2016-05-09 09:43:24 +03:00
Akash Agrawal
c2f084224a Expose configurable attributes property when loading components 2016-05-08 23:31:44 +05:30
Nedyalko Nikolov
c5a14464e8 Fixed issue with simple object as binding context. 2016-05-05 15:10:31 +03:00
Nedyalko Nikolov
b3b22ae2e4 Fixed css specifity levels for type selectors. 2016-05-04 11:28:37 +03:00
Rossen Hristov
6830f80a86 Merge pull request #2068 from NativeScript/web-view-leak
Fixed: WebView still visible in chrome://inspect after page is destroyed
2016-05-03 18:44:08 +03:00
Rossen Hristov
2cc1259bfd Fixed: WebView still visible in chrome://inspect after page is destroyed
Resolves #2053
2016-05-03 17:14:58 +03:00
Jason Zhekov
b02c073f63 Delete missing main module in ui/package.json 2016-05-03 15:05:08 +03:00
Nedyalko Nikolov
4e4a69c282 Additional fix for changing binding context issue. 2016-05-03 14:23:58 +03:00
Rossen Hristov
063f075e38 Revert "Fixed: iOS ActivityIndicator disrespects its visibility property when starting / stopping"
This reverts commit e269225336.
2016-04-28 17:38:06 +03:00
Rossen Hristov
54c65e94d7 Split layout-base to iOS and Android files
clipToBounds for a single view can't be implemented in Android in a straightforward manner

Resolves #1829
2016-04-28 17:35:06 +03:00