Deyan Ginev
0b34e67699
fix(inspector): Fix --debug-brk issue with Inspector ( #5460 )
2018-02-26 11:47:24 +02:00
Alexander Djenkov
c54e069f57
fix(ios-action-bar): NavigationButton cannot be hidden if navigating with transition ( #5451 )
2018-02-26 09:44:58 +02:00
Manol Donev
4898c33a04
fix-next(modal) fix crash when closing modal dialog with root tabview inside ( #5446 )
2018-02-23 16:46:49 +02:00
Martin Yankov
4ce45666a5
test: add reset root view tests ( #5437 )
2018-02-21 11:38:37 +02:00
Martin Yankov
68d86fb6c6
fix(profiling): resetProfiles doesn't reset all profiles ( #5425 )
2018-02-19 13:18:50 +02:00
Alexander Djenkov
714af6bb02
fix(ios-frame): do not update backstack when navigating the same page ( #5426 )
2018-02-19 11:53:04 +02:00
Alexander Djenkov
b8e0beccdd
fix(ios-layouts): switch contentInsetAdjustmentBehavior on ScrollView ( #5411 )
...
* fix(layouts): switch contentInsetAdjustmentBehavior on ScrollView
* chore(ui-tests-app): add test for ScrollView as a root Page element
2018-02-15 09:27:16 +02:00
Manol Donev
2edef3de3b
fix(frame): root tabview with modal frame when suspend/resume app ( #5408 )
2018-02-12 16:09:51 +02:00
Martin Yankov
b113b0021a
feat: Add methods to get the root view and set a different root view at run time ( #5386 )
...
* feat: add option to set a different root view at run time
* feat: expose application getRootView method
* refactor: Introduce ViewEntry interface
* fix: Respect root view rturned from launch event in Android
* refactor: getRootView() code + caching root view per activity.
* refactor: add app-root.xml in apps
* refactor: http test made async
2018-02-09 16:04:20 +02:00
Vasil Chimev
0c8275fa06
refactor: unmark startActivity as deprecated ( #5405 )
...
https://github.com/NativeScript/NativeScript/issues/5307
2018-02-08 17:44:53 +02:00
Alexander Djenkov
f8dce08f0e
feat(tab-view-android): enable tabs repositioning ( #5385 )
...
* feat(tab-view-android): enable tabs repositioning
* feat(tab-view-android): enable tabs repositioning
* chore(apps): add bottom tab view example
2018-02-08 11:06:07 +02:00
Manol Donev
85dc75e09a
fix-next: navigation events' workflow in modal dialog scenarios ( #5341 )
2018-02-06 19:18:28 +02:00
tbozhikov
b728a7384d
chore: delete redundant LICENSE files ( #5383 )
...
* chore: delete redundant LICENSE files
* chore: add back updated LICENSE in tns-core-modules folder
2018-02-05 13:37:52 +01:00
Martin Yankov
f042417f10
refactor(android-tabview): tab adapter data changed event is called too many times ( #5364 )
2018-02-05 13:52:32 +02:00
Peter Kanev
0b1c36192d
refactor(console): remove the console module ( #5338 )
...
* refactor(console): remove the console module
Removing the console module implementation eliminates some error-prone
formatting logic, and certain platform-specific checks. The
implementation was also android-specific. Left a stub Console class
implementation as one is necessary to avoid errors with `console` being
undefined during the snapshot stage for android.
The console module is replaced by a 'console' implementation in the Android Runtime. See
android-runtime/PR #884
* fix(tests): update console module tests
2018-02-04 23:29:58 +02:00
Alexander Vakrilov
c0a7a45ab9
refactor: Handle TS2.7 stricter tuples checks ( #5366 )
2018-02-01 13:04:55 +02:00
Vasil Chimev
6e0cb2e7c2
fix-next: register ui/frame module in global ( #5356 )
...
This is required in order the XML component builder to be able to find the `ui/frame` module for the `<Frame>` element.
2018-01-30 20:07:31 +02:00
Martin Yankov
2b843195e4
fix-next(android-tabview): handle tab fragments attach/detach properly ( #5333 )
2018-01-29 17:25:36 +02:00
Dimitar Tachev
01fab68e58
feat: support intent replacement in the android activity ( #5337 )
2018-01-29 16:54:07 +02:00
Stanimira Vlaeva
1c78e4784c
feat(ios): fire onDisplayed event when first frame is ready to be displayed ( #5344 )
...
* feat: add a 'profiling: lifecycle' to track startup times
* feat: log when displayed event fires
* feat(ios): fire onDisplayed event when first frame is ready to be
displayed
2018-01-29 13:47:35 +02:00
Panayot Cankov
2166d1e415
feat(observable): Implement observable .once ( #5309 )
...
Node has a handy one-liner method on its EventEmitter called "once".
It is similar to "on", but fires a single time and automatically unsubscribes.
2018-01-25 11:38:27 +02:00
Alexander Djenkov
9d7f0e5315
fix(frame): recreate frame if no cached one found on app resume #5318 ( #5330 )
2018-01-25 11:37:47 +02:00
Alexander Djenkov
af934ccabf
feature(frame): introduce src property ( #5320 )
2018-01-25 10:57:13 +02:00
Alexander Vakrilov
923d48b23a
fix: layoutParent crash with ProxyViewContainer ( #5315 )
2018-01-24 18:27:00 +02:00
Alexander Vakrilov
b492996647
fix(layouts): Set automaticallyAdjustsScrollViewInsets ( #5311 )
2018-01-23 17:53:31 +02:00
Vasil Chimev
58d61caf59
refactor(image-source): throw if source is not a correct native instance ( #5273 )
...
* refactor(image-source): throw if source is not a correct native instance
* refactor(image-source): fromNativeSource and setNativeSource methods
* refactor: update image-source.d.ts file
BREAKING CHANGE:
Change the return type of `setNativeSource` method from `boolean` to `void`.
2018-01-23 16:57:29 +02:00
Hristo Hristov
016c64fe04
showModal & closeModal can be called on any View
...
fix livesync implementation to be compatible with 3.4 and to replace mainEntry for 4.0 when root is not Frame
some refactoring of page.ios in order to allow showing multiple modal dialogs
2018-01-18 13:34:25 +02:00
Hristo Hristov
9dd3e1a807
Fix crash with nested frames navigation when aactivity is recreated. We now check if frame native view is atached to window before running navigation.
...
Livesync now recreates the main page instead of calling frame.navigate
2018-01-15 18:07:20 +02:00
Hristo Hristov
3f2f5f41f0
Fix page styleScope for iOS
2018-01-12 12:43:55 +02:00
Hristo Hristov
ef86addd6d
Fix Page to be styleScope if frame is not
2018-01-12 10:23:54 +02:00
Hristo Hristov
8a428b011a
Small perf improvement in fromObject
2018-01-11 13:49:52 +02:00
Hristo Hristov
1e690a7b83
Add more typings to methods
2018-01-11 13:37:30 +02:00
Hristo Hristov
18fe9392d6
Fix memory leak in edit-text.android
...
Fix fromObjectRecursive to doesn't override source object
2018-01-11 13:25:03 +02:00
Hristo Hristov
82f081d603
fix android keyboard
2018-01-10 17:45:08 +02:00
Hristo Hristov
3384112ce8
When application start is called we don't set Frame to be styleScope
...
Added requestLayout for TextView
Round desiredSize in nativeMeasure
2018-01-09 13:17:50 +02:00
Hristo Hristov
8df8d754ab
Fix Enter key not moving caret on next line in TextView for android
...
Fixes #5121
2017-12-20 10:31:39 +02:00
Hristo Hristov
058a216ac9
Move styleScope from Page to View
...
Fix image-source test for API 27
setupAsRootView now makes the component styleScope
set css, addCss & addCssFile makes view to be styleScopeHost which cannot be overriden later from parent
Android modals now call setupAsRootView
Small fixes on ios layouts
launch event fired in andriod too
Moved some requestLayout calls to ios files where they belongs
2017-12-19 16:35:15 +02:00
Hristo Hristov
63ab46eb2a
Layout improvements
2017-12-15 17:11:51 +02:00
Hristo Hristov
33cd058718
Call loaded/unloaded on the rootView when application is resumed/suspended
...
Remove dead code from frame.ios
2017-12-15 15:26:23 +02:00
Hristo Hristov
4e74c37313
Fix android crash TabViewItem canBeLoaded was true even when TabView was destroyed
...
Fix android crash modal view was not destroyed even though his dialog was
2017-12-15 13:08:15 +02:00
Hristo Hristov
365d48550f
Revert Page.android onContentChange to addViewToNativeVisualTre due to Angular issue with ProxyViewContainer
2017-12-15 13:08:15 +02:00
Hristo Hristov
c0d3a4048d
Fix ListView itemClick for android
2017-12-15 13:08:15 +02:00
Hristo Hristov
a416fa4fb6
Fix TabViewItem loading
...
Fix showModal not on full screen
2017-12-15 13:08:15 +02:00
Hristo Hristov
0abfb1493c
Fix crash on API17 and API21-25
2017-12-15 13:08:15 +02:00
Hristo Hristov
ac04ede97e
Implemented showModal on View
2017-12-15 13:08:15 +02:00
Hristo Hristov
04c1132541
Fix broken merge conflict
2017-12-15 13:06:34 +02:00
Hristo Hristov
28f1a5875e
Fix crash on android where we queue few back navigations an exception is thrown.
...
Fix https://github.com/NativeScript/NativeScript/issues/4986
2017-12-15 13:06:34 +02:00
Hristo Hristov
edb0eb1721
Bring back ios property of CustomLayoutView
2017-12-15 13:06:34 +02:00
Hristo Hristov
1778ba1eb9
Fix showModal on iOS
2017-12-15 13:06:34 +02:00
Hristo Hristov
b489e52a5f
Fix iOS 11 titleView misplacement in ActionBar
2017-12-15 13:06:34 +02:00