Hristo Hristov
e6250e718a
Disable recycling of native views
...
createNativeView will set iOS nativeView if it is null/undefined
2017-03-28 18:08:59 +03:00
Hristo Hristov
c18a76c93a
rename:
...
_createNativeView to createNativeView;
_initNativeView to initNativeView
_disposeNativeView to disposeNativeView
_resetNativeView to resetNativeView
2017-03-28 18:08:59 +03:00
Hristo Hristov
f2898f84d5
NativeView recycled for android
2017-03-28 18:08:59 +03:00
Panayot Cankov
2b28730011
Split get/set native to getDefault setNative
2017-03-22 16:37:52 +02:00
Hristo Deshev
629eb6e683
Use relative imports in tns-core-modules.
...
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
Hristo Hristov
1d49f5f3c3
fix padding on text-view & text-field ( #3758 )
...
* fix padding on text-view & text-field
text-base is now snapshotable
view.android is now snapshotable
* createNativeView returns the nativeView for android
Fix image tests
Implement test for image loaded from res://
EffectivePaddings updated when nativeView have some from its native theme
2017-03-09 16:09:53 +02:00
Panayot Cankov
6d6564af16
Fix dp vs dip conversions in iOS for errors of tests
2017-03-08 09:24:31 +02:00
Hristo Deshev
b45cbe929b
No more ambient modules for tns-core-modules/* subpackages.
...
- Use path mappings in tsconfig.json to resolve module typings
- Only use ambient mobules for global API's
- Move single-file modules to a subdir with the same name so that
we can provide a hand-written typing next to it (via package.json)
- Delete all mentions of tns-core-modules.d.ts
- Delete reference d.ts assembly build steps. Not needed anymore.
- HACK! Use a <reference> for global typings in application.d.ts
to avoid publishing a separate @types/tns-core-modules package.
- Rename declarations.d.ts to tns-core-modules.d.ts to preserve
JS project mappings in references.d.ts (the only place we use those)
2017-03-07 17:59:02 +02:00
Hristo Hristov
33aa48bdfd
Add support for snapshot
...
Fix Layout class getMeasuredWidth & getMeasuredHeight
Move some classes to widgets
Fix API17 tests
2017-03-06 14:05:55 +02:00
Panayot Cankov
3066dbd072
Clipping is required for iOS even with uniform borders, as long as the radius is > 0
2017-02-27 16:07:21 +02:00
Panayot Cankov
dc97ed24f9
Fix flexbox css not applied. Fix addCss duplicating some selectors.
2017-02-23 16:41:08 +02:00
Hristo Deshev
ac90b9db2b
Fix a crash when nesting a ProxyViewContainer in FlexboxLayout.
...
Conflicts:
tns-core-modules/ui/layouts/flexbox-layout/flexbox-layout.ios.ts
2017-02-23 15:23:34 +02:00
Panayot Cankov
312a99667e
Enable Button tests, fix AbsoluteLayout tests
2017-01-23 09:42:24 +02:00
Rossen Hristov
fec5e92dbe
Fix tracing
2017-01-16 13:29:46 +02:00
vakrilov
819155fb18
Minor fixes + more green tests
2017-01-12 16:20:38 +02:00
Nedyalko Nikolov
b4575e1d5b
Fixed xml-declaration tests.
2017-01-11 14:36:08 +02:00
Rossen Hristov
eb4ac8d109
Fix all tslint errors
2017-01-06 12:00:06 +02:00
Hristo Hristov
bfab188ba0
clear nativeView field. ( #3418 )
...
moved some native setters from TabView to TabViewItem.
shorthand properties converters now accounts for unsetValue.
better formatting for test duration.
2017-01-05 18:08:42 +02:00
Panayot Cankov
43f5f117a7
Fix minor tslint errors
2017-01-04 17:37:56 +02:00
vakrilov
c30be0d606
View lifecycle methods
2017-01-04 17:18:45 +02:00
Panayot Cankov
9bf411b7f6
Update _updateNativeLayoutParams and fix minWidth/Height for ios flexbox
2017-01-04 16:51:06 +02:00
Panayot Cankov
4ae6473e48
fix flexbox tests
2017-01-04 11:55:05 +02:00
Panayot Cankov
d8db6a2484
Fix flexbox-layout properties
2017-01-04 11:55:05 +02:00
Rossen Hristov
cce0a2d42f
Fix all property types
2017-01-04 10:21:03 +02:00
Panayot Cankov
b73d038f48
Let dock, wrap, absolute and grid tests run
2016-12-30 14:05:17 +02:00
Panayot Cankov
becf428e90
Fix most of the label tests
2016-12-28 17:33:38 +02:00
Panayot Cankov
c66e3e8ab5
Fix tslint errors
2016-12-27 13:20:59 +02:00
Panayot Cankov
70cc1dd5d9
Move the effective* values from style to this
2016-12-27 10:57:10 +02:00
Rossen Hristov
0ec9950d46
Padding
2016-12-22 14:45:41 +02:00
PanayotCankov
7931ecd4f8
Fix tslint errors
2016-12-21 17:42:31 +02:00
Rossen Hristov
4cd3eed1cd
Trying to fix padding...
2016-12-21 14:30:34 +02:00
Hristo Hristov
f5905f072d
fix tab-view, segmented-bar, action-bar, all ViewBases ( #3340 )
2016-12-21 12:02:02 +02:00
Rossen Hristov
9236517fcb
GridUnitType enum + fixes
2016-12-20 11:21:31 +02:00
Hristo Hristov
c71b4d4bf1
Hhristov/modules30 fixes ( #3321 )
...
* Fixed bindings, several css properties, attached properties
* Fix valueChanged handlers
Fix double registration of width/height property handlers
* fix broken merge
2016-12-19 17:52:18 +02:00
Rossen Hristov
8ac7c8d574
HorizontalAlignment and VerticalAlignment
2016-12-19 16:25:08 +02:00
Hristo Hristov
745388c3da
Hhristov/modules30 fixes ( #3316 )
...
* Fixed properties, text-base, action-bar, bindings, view
* Rebase onto master
2016-12-19 10:21:43 +02:00
Rossen Hristov
51e448aa10
Fixed: getViewById, TextDecoration
2016-12-15 13:20:25 +02:00
Hristo Hristov
e97fd105e3
Fix missing exports
2016-12-14 13:59:50 +02:00
Hristo Hristov
f75f583573
tns-core-modules done
2016-12-13 15:51:18 +02:00
Hristo Hristov
440f924131
only flex-box left
2016-12-13 15:51:18 +02:00
Hristo Hristov
12ffd9c1e8
absolute-layout
2016-12-13 15:51:18 +02:00
Hristo Hristov
19ee47ba24
got to layouts
2016-12-13 15:51:18 +02:00
Hristo Hristov
645f428f59
alpha1
2016-12-13 15:51:18 +02:00
Hristo Hristov
b58e0b08a3
refactoring
2016-12-13 15:51:18 +02:00
Panayot Cankov
56cd220c17
FlexboxLayout profiling and improvements ( #3173 )
...
* It looks like inline styles are making the flexbox example slow
* FlexboxLayout createReorderIndices proper overload
* Remove the getLayoutParams
* Removed unnecessary reorder methods
* Fix tslint errors
2016-11-30 11:30:02 +02:00
PanayotCankov
2bf7b07bf6
Add validation/parsing for the FlexboxLayout properties
...
Make FlexboxLayout work with CSS properties, shorhands are not yet supported
Make shorthand properties
Remove redundant logging
2016-11-10 11:16:24 +02:00
Panayot Cankov
45578430ac
Merge pull request #3020 from NativeScript/flexbox-last-noshrink-fix
...
Shrink will not damage the last item when it is shrink=0
2016-11-07 13:14:24 +02:00
PanayotCankov
bac125efc1
Shrink will not damage the last item when it is shrink=0
2016-11-04 12:12:28 +02:00
PanayotCankov
f79ed04671
Fix flexbox crash for iOS
2016-11-04 11:30:21 +02:00
Panayot Cankov
ae02bbdff3
Fix order set at runtime, polish unit test app example.
...
Add alignSelf nad flexWrapBefore in the flexbox examples
Some test fail with quite close calculations. Use eps.
Fix flex grow making last items with flexGrow 0 to shrink due to rounding, happy tslint
2016-10-24 14:34:26 +03:00