56 Commits

Author SHA1 Message Date
073cc94926 implemented CSS animations
fixing animation tests
2016-03-25 15:26:48 +02:00
a30c4e13a0 Fix a crash when using a ProxyViewContainer in ListView item templates.
Not a regular {N} usage scenario, but it can happen with Angular components
which get wrapped in a proxy container.
2016-03-01 17:29:47 +02:00
a9d2b2e970 Fixed 'jurky` navigation between pages in iOS.
Fixed after application suspend/resume the UI was not restored.
Fixed modal-views page
2016-02-24 09:48:16 +02:00
69ef5ffc49 Apply the fix, suggested by Github userx4080, issue 1371 2016-02-04 15:58:38 +02:00
56f1aaa795 Do not use lazy requires where not needed. 2016-01-25 16:33:18 +02:00
fbc612610f Snapshot refactorings, which mainly wraps Android extends within inner functions so that they are evaluated at runtime, when needed. Also some refactoring preventing circular requires. 2016-01-20 10:22:08 +02:00
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
070b01c544 Remove UTF-8 BOM's from package.json files 2015-12-01 15:37:14 +02:00
a44c9f9aa6 Added some checks for binding infrastructure. 2015-11-25 08:51:36 +02:00
f6958d9b22 Remove listview cell selection in iOS 2015-11-24 10:52:47 +02:00
e95820b04a Add Template factory function and use it in the Repeater and ListView components 2015-11-23 12:11:13 +02:00
52c674a510 Fixed problem with iOS 7 and ListView rowHeight. 2015-11-13 11:13:43 +02:00
f60f50f136 Added rowHeight property for ListView. 2015-11-04 18:17:29 +02:00
70041bd999 Don't expose platform types in public d.ts files.
Use any. Add a comment with the real type.
2015-10-30 17:17:29 +02:00
f72d79e65a iOS owner pattern changed to use WeakRef in order to prevent memory leaks.
Optimized list-view-tests.
Added time per test.
2015-10-22 10:26:59 +03:00
8936ef8317 Fixed #909: Android ListView will not update its UI after refresh is called until it is scrolled up and down. 2015-10-09 17:04:10 +03:00
0ecb5d4dcd Implement Page background option to span under status bar (iOS only for the moment) 2015-10-06 14:35:59 +03:00
0b6ca23e25 BindingContext will be set before adding items to visual tree (ListView, Repeater). 2015-09-30 11:18:46 +03:00
77838ae9c6 Change from "classic" TS 1.6 imports to the default resolution scheme.
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00
173cde895e Pull the Owned android helper interface to utils/utils.
In a @private block.
2015-09-18 11:29:12 +03:00
9fbcf5f143 Fix typescript 1.6 compile errors.
- Remove unknown properties in object literals.
- Don't use module-level `delete` statements.
2015-09-18 11:20:17 +03:00
a9d8e5a578 Removed animation from scrollToIndex due to problems in iOS. 2015-09-04 12:10:33 +03:00
d2983d99f8 setSelection used instead smoothScrollToPosition 2015-08-27 14:01:59 +03:00
905c395fea scrollToIndex added to ListView 2015-08-27 13:26:15 +03:00
6a6f7fcf92 Fix ListView module to check for layoutBase instead of Layout
Remove some unnecessary traces
2015-08-11 15:28:39 +03:00
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
18d3d5fea4 Removed the code that raises 'unloaded' event for list-view rows for performance reasons. 2015-07-31 09:30:42 +03:00
1439313e7b Make moduleMerge a global function - this saves a total of 83 requires upon application loading. 2015-07-27 13:04:48 +03:00
ac36729cb7 The unloaded event of view in the ListView's itemTemplate will now be called when its underlying native view is removed from the visual tree. When this happens is beyond our control. 2015-07-20 09:15:58 +03:00
b45718b1ef BindingContext set two times on adding item to ListView. Fixes issue #410. 2015-07-14 14:47:40 +03:00
3907975577 Remove class override of ListViewCell
This is broken in the new ios runtime.
2015-06-09 15:51:07 +03:00
068dd8b868 Fixed crash due to asserts in scrollToRowAtIndexPathAtScrollPositionAnimated for ListView's UITableView instance. Fixed a case where the UITableView fails to calculate its layout when the page it is displayed in is navigated to, from and back to. 2015-06-02 10:47:40 +03:00
9238f29556 separator is no longer forced to the edge
Use this code in ListView.itemLoading event if you want to control the
inset:

function listViewItemLoading(args) {
if (args.ios) {
args.ios.separatorInset = UIEdgeInsetsZero;
args.ios.preservesSuperviewLayoutMargins = false;
args.ios.layoutMargins = UIEdgeInsetsZero;
}
}
2015-05-27 16:47:01 +03:00
2feeed4d47 ListViewCell returned due to layout problems 2015-05-26 15:44:06 +03:00
d0936dfc59 view parent exposed in itemLoading event 2015-05-26 14:11:51 +03:00
342bae570d getExports moved to builder 2015-05-25 12:09:15 +03:00
3b6a23bfb5 Fixed issue with binding context in a list view scenario. 2015-05-19 11:53:42 +03:00
c3b687c880 Ts lint 2015-05-18 11:51:15 +03:00
3cfaa221ae Clean unused variables 2015-05-18 11:29:57 +03:00
57171c768e WeakEvents with map 2015-05-15 18:39:01 +03:00
71c9266be3 WeakEvents refactoring and used in ListView 2015-05-15 18:39:01 +03:00
fd9ff189ba List view attaches with weakEventHandler 2015-05-15 18:39:00 +03:00
95ca8d9c8c Replace knownEvents modules with static strings. 2015-04-24 09:29:00 +03:00
cd6e723c30 Changed gestures enums like other enums. 2015-04-20 16:32:06 +03:00
710c423609 Fix ios transition issue
Revert imageSource property metadata to None
Improve ListView preparecell check
2015-04-08 10:55:02 +03:00
38bc482359 Moved delegate handling to onLoaded / onUnloaded methods and reworked the WebView tests. 2015-04-03 13:32:39 +03:00
96c0a52c8f Fix issue with black random black items when scrolling 2015-04-02 18:26:12 +03:00
d952faa3c2 Added application resources (used for binding converters), also some bug
fixes (binding related).
2015-04-01 11:45:30 +03:00
30553253f4 another list-view android fix :( 2015-03-27 16:14:35 +02:00
9ee7d5f90b new android runtime properties modules fixed 2015-03-27 11:13:44 +02:00