Commit Graph

382 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
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
Hristo Hristov
2e46932fa9 Commented failing test for API 17 on x86 only (#2137) 2016-05-18 17:15:55 +03:00
Hristo Hristov
6b69ba1904 Fix for https://github.com/NativeScript/NativeScript/issues/2076 (#2135) 2016-05-18 15:57:08 +03:00
Leo Caseiro
34f2ffe148 Spell mistake on Docs isEanbled to isEnabled 2016-05-13 16:56:26 +10:00
Hristo Deshev
3607bc63ac Merge pull request #2082 from NativeScript/hdeshev/gridlayout-onrowremoved
Call row/column removed callbacks on removeRows/removeColumns.
2016-05-11 09:55:41 +03:00
Nikolay Iliev
ee2eee3d7e how-to's fixed slashes in code comments 2016-05-09 18:02:05 +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
Vladimir Enchev
fc27063622 Merge pull request #2079 from NativeScript/pete/docs-update
Update docomentation
2016-05-09 11:34:31 +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
Peter Kanev
b1222b71b2 fix wording 2016-05-09 09:52:27 +03:00
Peter Kanev
a9fdc3359d make articles consistent in structure 2016-05-05 15:38:40 +03:00
Nedyalko Nikolov
c5a14464e8 Fixed issue with simple object as binding context. 2016-05-05 15:10:31 +03:00
Erjan Gavalji
f15f283c74 Reorder test file structure to match the modules
Needed to have a nice structured cookbook dir in the docs

Includes:
Move the data-module tests under the data dir
Move the frame tests under the ui dir
Rename the dialog.md file to dialogs.md
Fix the web-view title
Add previous_url attributes to each article for SEO
Rename the style dir to styling to match the reference
Fix the frame-tests path
2016-05-05 10:43:35 +03:00
Nedyalko Nikolov
b3b22ae2e4 Fixed css specifity levels for type selectors. 2016-05-04 11:28:37 +03:00
Nedyalko Nikolov
4e4a69c282 Additional fix for changing binding context issue. 2016-05-03 14:23:58 +03:00
Erjan Gavalji
401c39924e Fix the build. Improve docs require statements 2016-05-02 18:08:46 +03:00
Erjan Gavalji
3074b6089f Move the layouts tests under the layouts dir 2016-05-02 17:44:58 +03:00
Erjan Gavalji
10095ed4b1 Fix a typo 2016-05-02 11:59:23 +03:00
Erjan Gavalji
bdbffb79bd Switch titles to lower-case 2016-05-02 10:45:50 +03:00
Erjan Gavalji
3e489db2c9 Improve the readability of the docs navbar 2016-05-02 10:10:51 +03:00
Nedyalko Nikolov
7203d201c0 Fixed stack overflow exception in binding. 2016-04-27 17:18:26 +03:00
Hristo Hristov
b2c182fd7a Improve Binding class (#2038)
Remove options parameter
2016-04-27 16:43:45 +03:00
Nedyalko Nikolov
8fef852d89 Fixed adding converters to bindingContext. 2016-04-20 15:49:44 +03:00
Nedyalko Nikolov
2c4c3c90e2 Fix for using same name properties in binding. 2016-04-19 17:19:04 +03:00
Alexander Vakrilov
3823cc45d0 Merge pull request #1989 from NativeScript/feature/ui-strings
Fix: setting text in Span to number/null/undefined
2016-04-19 11:50:43 +03:00
vakrilov
fddaf251f7 Fix: setting text in Span to number/null/undefined 2016-04-18 18:33:15 +03:00
Nikolay Tsonev
d2961be83d changes 2016-04-18 15:11:01 +03:00
Nikolay Tsonev
e01daed7eb Merged master onto feature/docs 2016-04-15 16:54:37 +03:00
Nikolay Tsonev
6f5bbd69c9 add list-picker.md 2016-04-15 16:27:57 +03:00
Nikolay Tsonev
fd7289a4c9 modify snippets 2016-04-15 16:27:56 +03:00
Nikolay Iliev
ee292f771f How-To files generated with markdown spippet injector 2016-04-15 12:14:06 +03:00
Nikolay Iliev
9fe9d6e77d How-To md files with markdown-snippet-injector 2016-04-14 16:52:51 +03:00
Nikolay Iliev
89fad4f41c how-tos made with markdown snippet injector 2016-04-14 15:20:35 +03:00
Hristo Hristov
f768fda881 Fixed some slow tests. (#1968)
Fixed modal page on iOS7.
2016-04-14 15:01:32 +03:00
Hristo Hristov
a66636fc6b Improve unit-tests (#1946)
* Improved unit-tests speed & reliability

* Fixed iOS tests.
Improved message output
2016-04-13 10:28:28 +03:00
Nedyalko Nikolov
3eb8514e96 Fix for using css attribute selector alone. 2016-04-07 17:04:23 +03:00
Nedyalko Nikolov
ba2a84de6b Better tracing (logging) of run-time errors. 2016-04-01 17:34:14 +03:00
Nedyalko Nikolov
5297fac2d1 DatePicker tests fix. 2016-03-30 15:53:57 +03:00
Hristo Deshev
336379a18e Fix a randomly failing DatePicker test. 2016-03-29 14:37:33 +03:00
Tsvetan Raikov
20ebb453c4 fixing animation tests 2016-03-25 16:58:56 +02:00
Tsvetan Raikov
073cc94926 implemented CSS animations
fixing animation tests
2016-03-25 15:26:48 +02:00
vakrilov
acb3640a39 Test + additional fixes 2016-03-24 17:29:35 +02:00
Hristo Deshev
9daa948887 Allow updates to application CSS rules.
Expose an `application.addCss` method and hide `application.cssSelectors`
from end-user typings. Update StyleScope's with new application selectors
on style application.

NOT updating existing controls/views unless reloaded, or forced (via a
change to className, etc).
2016-03-24 14:45:20 +02:00
Vladimir Enchev
281cb95fad Animation error handing improved 2016-03-24 11:09:22 +02:00
Nathanael Anderson
ccdc394be4 This adds the ability to Cancel the Animation via the Promise returned via a play command. 2016-03-21 22:52:55 -06:00
Rossen Hristov
fd3784e275 Merge pull request #1815 from NativeScript/view-get-location
Add public instance methods to View for getting locations and size
2016-03-21 14:18:51 +02:00
Rossen Hristov
bec22271e1 More adjustments 2016-03-21 13:57:36 +02:00
Rossen Hristov
15f94ce9e3 Increase delta again 2016-03-21 13:27:17 +02:00