Commit Graph

1069 Commits

Author SHA1 Message Date
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
vakrilov
4a6c841f0e Fix: crashes when applying css 2015-07-28 09:56:27 +03:00
atanasovg
1439313e7b Make moduleMerge a global function - this saves a total of 83 requires upon application loading. 2015-07-27 13:04:48 +03:00
vakrilov
78886c5e9c FIX: Adnroid app crashes when there is action bar on main page 2015-07-24 17:07:38 +03:00
Vladimir Enchev
772568939b Merge pull request #478 from NativeScript/ui-builder
//@private removed
2015-07-24 11:23:26 +03:00
Vladimir Enchev
f097d7a42a Merge pull request #475 from NativeScript/lower-case-dashed
Support lower-case-dashed component declaration in the XML added
2015-07-24 10:44:35 +03:00
Vladimir Enchev
da25936c87 //@private removed 2015-07-24 10:25:40 +03:00
vakrilov
dc4a8f745f FIX: App.css now applied when there is page css 2015-07-23 17:02:15 +03:00
Vladimir Enchev
5bb52f545d Support lower-case-dashed component declaration in the XML added 2015-07-23 16:46:12 +03:00
Vladimir Enchev
98395d6ac4 Merge pull request #468 from NativeScript/component-builder
component builder simplified
2015-07-23 10:00:10 +03:00
vakrilov
f4db4802bb Definitions fixes 2015-07-22 17:22:56 +03:00
Vladimir Enchev
5ca763455c layouts handled automatically as well 2015-07-22 17:09:28 +03:00
Vladimir Enchev
65412d9201 component builder simplified 2015-07-22 16:31:28 +03:00