Commit Graph

1297 Commits

Author SHA1 Message Date
Hristo Deshev
3dfd0532fc Simplify binding app converter test. 2015-08-07 18:26:29 +03:00
Hristo Deshev
6f43077830 Fix a date formatting test failure in list-view-tests 2015-08-07 18:26:29 +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
Alexander Vakrilov
ea627a8c26 Merge pull request #563 from NativeScript/feature/nested-templates
FIX: Nested templates are not parsed
2015-08-07 17:03:48 +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
171017e526 Merge pull request #562 from NativeScript/bindings-with-comma
Fixed #557
2015-08-07 10:36:14 +03:00
Vladimir Enchev
24cb7bb591 Fixed #557 2015-08-07 10:00:44 +03:00
Rossen Hristov
2a106ea356 Merge pull request #559 from NativeScript/padding
Padding
2015-08-06 15:49:16 +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
vakrilov
a286027a4f Snippet fix 2015-08-06 14:45:50 +03:00
Hristo Hristov
00f0d25429 Merge pull request #445 from NativeScript/hhristov/native-layouts
Implemented native layouts for android
2015-08-04 18:25:58 +03:00
Vladimir Enchev
114118bc7a wrong "this" fixed 2015-08-04 16:14:40 +03:00
Vladimir Enchev
3d42e87ea1 use inherited class instead of UIResponder 2015-08-04 15:16:34 +03:00
Vladimir Enchev
94601ca9c7 Merge pull request #547 from NativeScript/without-app-delegate
Exposed UIApplicationDelegate and removed default implementation
2015-08-04 14:26:19 +03:00
Vladimir Enchev
28cd946a92 strong reference restored 2015-08-04 13:55:01 +03:00
Vladimir Enchev
60de8c1285 code commented 2015-08-04 11:56:40 +03:00
Vladimir Enchev
5e2f184568 UIResponder instead null 2015-08-04 11:48:23 +03:00
Vladimir Enchev
40f39e61da missing ObjCProtocols added 2015-08-04 11:48:12 +03:00
Vladimir Enchev
f154bc5e53 window is now optional 2015-08-04 11:47:57 +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
vakrilov
fe84ff0097 Some typos fixed 2015-08-03 17:13:56 +03:00
Vladimir Enchev
117be96d5c strong reference to the window added 2015-08-03 17:11:10 +03:00
Vladimir Enchev
00f68a2820 More code improvements 2015-08-03 16:36:25 +03:00
Vladimir Enchev
c5b2b38275 code improved 2015-08-03 16:02:03 +03:00
Vladimir Enchev
c57b47aa3d Default UIApplicationDelegate removed 2015-08-03 14:49:04 +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
bc2f6a63c6 add layout-helper.d.ts 2015-08-03 13:49:18 +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
17251c1063 invalid reference removed 2015-08-03 13:48:58 +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
5a06731daa Merge pull request #546 from hdeshev/reworkcss-root
Move css and css-value modules to the toplevel.
2015-08-03 12:42:37 +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
Vladimir Enchev
ecb5adc52b Merge pull request #542 from NativeScript/header-fields
Fixed #535
2015-08-03 09:55:38 +03:00
Vladimir Enchev
cd01d2e55a Fixed #535 2015-08-03 09:19:40 +03:00
Vladimir Enchev
5e5d75c09d Merge pull request #526 from NativeScript/app-delegate
wrong app delegate creation removed
2015-07-31 13:00:47 +03:00