Commit Graph

631 Commits

Author SHA1 Message Date
genexliu
72e490a036 fix the issue that an iOS animation promise may never be resolved nor rejected 2015-08-14 17:53:04 +08:00
Vladimir Enchev
31b1b30b9d br not handled properly by HtmlView + functional test
Fix for #581
2015-08-13 16:26:31 +03:00
vakrilov
cd491d6c03 Tslint 2015-08-13 14:34:23 +03:00
vakrilov
ede36a16ca Template builder code cleanup 2015-08-13 14:26:09 +03:00
Hristo Hristov
b1e3d43308 Merge pull request #579 from NativeScript/hhristov/builder-fix
Fix builder issue where builder doesn't pop complex properties correc…
2015-08-13 13:53:54 +03:00
hshristov
8226d86133 Fix builder issue where builder doesn't pop complex properties correctly. 2015-08-13 13:37:11 +03:00
Vladimir Enchev
6a42e6019c valueForKey("_searchField") replaced 2015-08-13 11:40:30 +03:00
Vladimir Enchev
951f565c21 ios code fixed 2015-08-12 16:13:35 +03:00
Vladimir Enchev
2d07eb9dd0 font-size CSS support for search-bar + test 2015-08-12 15:19:04 +03:00
Vladimir Enchev
c1378b427f code fixed 2015-08-12 09:33:14 +03:00
Vladimir Enchev
384ba394e7 gesture binding fixed + test 2015-08-11 16:31:30 +03:00
Hristo Hristov
f7d5d49bfe Merge pull request #571 from NativeScript/hhristov/layout-fix
Fix ListView module to check for layoutBase instead of Layout
2015-08-11 15:33:53 +03:00
hshristov
6a6f7fcf92 Fix ListView module to check for layoutBase instead of Layout
Remove some unnecessary traces
2015-08-11 15:28:39 +03:00
Georgi Atanasov
0468857604 Merge pull request #554 from NativeScript/atanasovg/file-system-api
Atanasovg/file system api
2015-08-10 17:55:10 +03:00
Georgi Atanasov
267e1dccfe Merge pull request #565 from NativeScript/atanasovg/fix-actionbar-defaultlabel
Fix the way the default application label is retrieved. Check for inv…
2015-08-10 15:46:59 +03:00
hshristov
3f4cf47578 Fix ItemSpec length is rounded 2015-08-10 14:30:46 +03:00
Hristo Deshev
a526e6cec8 Making tslint happy. 2015-08-07 18:26:29 +03:00
Hristo Deshev
c5608d7c5c Brought back the viewModule.getAncestor function.
Extended it, so you can pass actual type instances instead of strings.
2015-08-07 18:26:29 +03:00
Hristo Deshev
141668bb05 Fix applying app CSS to template children when using custom pages.
No longer using getAncestor(view, "Page") to look for a pagey parent.
Replaced that with a View.page property. Removed getAncestor as its type
name-based implementation seems unreliable.
2015-08-07 18:26:21 +03:00
atanasovg
0df2b56095 Fix the way the default application label is retrieved. Check for invalid value. 2015-08-07 17:14:29 +03:00
vakrilov
72578c4918 FIX: Repeater layout bug 2015-08-07 13:30:59 +03:00
vakrilov
bccd5133a3 FIX: Nested templates are not parsed 2015-08-07 11:44:34 +03:00
Vladimir Enchev
24cb7bb591 Fixed #557 2015-08-07 10:00:44 +03:00
Rossen Hristov
c470fef0b0 Made two methods private. 2015-08-06 15:42:17 +03:00
Rossen Hristov
216b6a57f7 Fixed AffectsLayout 2015-08-06 15:41:19 +03:00
Rossen Hristov
59d6dbb224 Fixed all merge problems. 2015-08-06 14:58:55 +03:00
Rossen Hristov
abc9faccfa Added Padding+Border support for Label, Button, TextField and TextView for both platforms. Only iOS TextView does not support them. 2015-08-06 14:58:53 +03:00
atanasovg
bb95d61d85 Fix wrong parameter name. 2015-08-04 16:55:51 +03:00
atanasovg
c683ea44e6 Refactor the file-system-access API to be synchronous. Added *Sync equivalents of the file-system APIs. Removed usage of file-system-access within the code. 2015-08-04 16:53:12 +03:00
hshristov
5322dd19b2 Fix Image source property to have None metadata for android - no need for layout invalidation from JS.
ClipToBounds implementation added back.
Optimization in style.ts to set native properties at once.
Fix height of CommonLayoutParameters.
2015-08-03 18:18:42 +03:00
hshristov
4c03cddbd6 Fix tslint error
Change module-merge to use the global merge function
2015-08-03 13:49:22 +03:00
hshristov
8d8cea103f Fix wrap-layout implementation for iOS
Fix layout-helper so that unit-tests can work again
2015-08-03 13:49:14 +03:00
hshristov
e58506563a Fix WrapLayout
Fix ScrollView
Fix Stylers.android
Remove some method from View class
Fix layout-helper test views
Fix all android failing tests
Remove onLayout on Button and TextBase
2015-08-03 13:49:11 +03:00
hshristov
bd50fb5550 Fixed several unit-tests 2015-08-03 13:49:08 +03:00
hshristov
41168d3782 Layouts are now implemented natively for Android. 2015-08-03 13:49:03 +03:00
Hristo Deshev
422cc37d48 Layout child API extensions
- Layout.insertChild(atIndex, child)
- Layout.getChildIndex(child): number
2015-08-03 13:49:00 +03:00
Vladimir Enchev
805722a5b7 default value fixed 2015-08-03 13:48:56 +03:00
Vladimir Enchev
7516ac6ab3 ApplyXmlAttributes implementation fixed 2015-08-03 13:48:54 +03:00
hshristov
42e5e9aac0 Fix merge error 2015-08-03 13:48:51 +03:00
hshristov
1761fd79f0 Fix tslint error 2015-08-03 13:48:49 +03:00
hshristov
0da2f297fd Fix tslint errors 2015-08-03 13:48:44 +03:00
hshristov
0ad198165c Layouts are now implemented natively for Android. 2015-08-03 13:48:41 +03:00
Hristo Deshev
38f243de5c Move css and css-value modules to the toplevel.
This is the default location when installing from npm, and Angular uses
that when parsing CSS.

Updated module paths, requires, csproj, tsconfig and grunt tasks.
2015-08-03 12:01:09 +03:00
vakrilov
6ebd488735 Application orientation changed event 2015-07-31 11:51:01 +03:00
vakrilov
f0f0e91b70 Default page background - white 2015-07-31 11:04:19 +03:00
Rossen Hristov
18d3d5fea4 Removed the code that raises 'unloaded' event for list-view rows for performance reasons. 2015-07-31 09:30:42 +03:00
Rossen Hristov
64ab2e1e2e Fixed a tslint error. 2015-07-30 16:41:16 +03:00
Rossen Hristov
f1b2f068d0 Fixed Issue #513: Android backgroundColor animation is not gradual 2015-07-30 16:19:23 +03:00
Rossen Hristov
b1e55f1066 Animations 1.0 2015-07-29 15:24:43 +03:00
Rossen Hristov
09c00cb13b Animations Spike 2015-07-29 15:24:38 +03:00