Commit Graph

4765 Commits

Author SHA1 Message Date
Nikolay Tsonev
625d801014 hiding cookbook/ui/action-bar article in favor of ui/action-bar (#5404)
* hiding cookbook/ui/action-bar article in favor of ui/action-bar

* removing action-bar article from cookbook
2018-02-20 16:43:45 +02:00
dtopuzov
795940c224 chore: 3.4.1 changelog (#5444)
Add changelog for 3.4.1 release.
2018-02-20 16:39:37 +02:00
Stanimira Vlaeva
e42567fdd5 docs(CONTRIBUTING): add commit message guidelines (#5430) 2018-02-19 14:02:44 +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
e1eea8efe7 test(e2e): add modal-navigation app (#5393)
* chore(apps): add modal-navigation-app for ui testing

* test(e2e): add modal-navigation app

* test(apps): remove modal-navigation-app

The app has been moved to `e2e/modal-navigation`.

* chore: include e2e folder to npm scripts

* docs: include e2e folder to DevelopmentWorkflow.md

* chore(e2e): update .gitignore

* fix(e2e): relative paths

* chore(e2e): update package.json

* test(e2e): add change root view to modal-navigation

* test(e2e): set androidTabsPosition to botton

* chore(e2e): add VSCode launch.json config

* docs(e2e): delete LICENSE and README.md files

* refactor(e2e): rename modal-tab-page to modal-tab-root

* test(e2e): update iOS launch screen
2018-02-14 16:51:51 +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
Nikolay Tsonev
f27d5f212f edit cookbook/image article improve code snippets (#5396) 2018-02-07 18:42:36 +02:00
Nick Iliev
7121eaea89 refactor: update image source documentation snippets and tests (#5390) 2018-02-07 14:58:28 +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
Darin Dimitrov
925c60677f Use LF for shell scripts (#5374) 2018-02-05 09:09:28 +02:00
radeva
c88478a02a docs: add link to NativeScript roadmap (#5380) 2018-02-05 09:01:48 +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
464cdd5a07 fix: Fix scroll-view tests for ios 9 and 10 (#5358) 2018-02-02 09:50:15 +02:00
Alexander Vakrilov
c0a7a45ab9 refactor: Handle TS2.7 stricter tuples checks (#5366) 2018-02-01 13:04:55 +02:00
Emil Stoychev
c66a3fb3a7 Change SO with {N} Forum 2018-02-01 11:24:08 +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
Teodor Dermendjiev
e69af8dda9 update(launch screen): Add iPhone X launch screens (#5163) 2018-01-29 13:58:14 +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
radeva
5bae124604 chore: update waffle link for ios runtime (#5334) 2018-01-26 09:29:45 +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
Nikolay Tsonev
9eb341bcb5 adding backStackEntry example, including missing import md file text field (#5319) 2018-01-24 15:28:58 +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
tbozhikov
1f77301453 chore: update Readme with the common NS diagram (#5281) 2018-01-22 11:35:39 +02:00
tbozhikov
3ee4509080 chore: update community files (#5302) 2018-01-22 09:53:39 +02:00
radeva
01d79ba54e chore(readme): link more resources; update cli badge link (#5305)
- add links to Playground, Marketplace, forum
- update CLI badge to point to CLI project
- add link to Slack in Get Help section
2018-01-22 09:51:44 +02:00
Alexander Vakrilov
a0378e8b74 Update package.json 2018-01-19 17:26:01 +02:00
Alexander Vakrilov
8d59cc4de6 fix: cleanup modaltest paths (#5300) 2018-01-19 16:21:09 +02:00
radeva
87703ce3ea chore: link waffle.io board from README (#5239)
In order to make our working boards more visible, I'm adding links to the corresponding waffle.io boards in the Repositories section.
2018-01-19 10:23:05 +02:00
Vasil Chimev
6850ec9580 docs: add CHANGELOG for 3.4.0 (#5195) 2018-01-19 10:22:52 +02:00
Hristo Hristov
3114a9d7b1 migrated JS files toTS 2018-01-18 14:02:36 +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