-
Notifications
You must be signed in to change notification settings - Fork 3
fixes #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
fixes #4
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
9e3298c
updates
DerThorsten aba3f00
updates
DerThorsten 50f7b26
updates
DerThorsten 6f910de
updates
DerThorsten 5279693
updates
DerThorsten a44bebb
debug
DerThorsten eb8289e
moved create polls
DerThorsten 82e67da
debug
DerThorsten da75752
cleanup
DerThorsten 2c62d46
ci
DerThorsten cf28f0d
fixes
DerThorsten 207872d
fixes
DerThorsten 37dd829
tests
DerThorsten a1874a5
tests
DerThorsten e38b2a1
missing file
DerThorsten f336434
includes
DerThorsten 9ba1096
includes
DerThorsten 420c98d
includes
DerThorsten 46efba9
includes
DerThorsten 61242b1
includes
DerThorsten 0ef458c
includes
DerThorsten 61590a4
fixes
DerThorsten 496e02b
fixes
DerThorsten c770421
fixes
DerThorsten 257d6fc
fixes
DerThorsten 75f793f
fixes
DerThorsten d2af6b7
Merge remote-tracking branch 'upstream/main'
DerThorsten 3922126
fixes
DerThorsten 6f27d0c
add back ctrl
DerThorsten 6f36017
restore info msg
DerThorsten 3aa3464
removed unused
DerThorsten File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,7 @@ | |
| #include <memory> | ||
| #include <uvw.hpp> | ||
|
|
||
| #include "xeus-uv.hpp" | ||
| #include "xeus_uv.hpp" | ||
|
|
||
|
|
||
| namespace xeus | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| /*************************************************************************** | ||
| * Copyright (c) 2026, Dr. Thorsten Beier * | ||
| * Copyright (c) 2016, Johan Mabille and Sylvain Corlay * | ||
| * * | ||
| * Distributed under the terms of the BSD 3-Clause License. * | ||
| * * | ||
| * The full license is in the file LICENSE, distributed with this software. * | ||
| ****************************************************************************/ | ||
|
|
||
| #include <iostream> | ||
| #include <memory> | ||
|
|
||
| #include "xeus/xkernel.hpp" | ||
| #include "xeus/xkernel_configuration.hpp" | ||
| #include "xeus-zmq/xzmq_context.hpp" | ||
| #include "xeus-zmq/xserver_zmq.hpp" | ||
| #include "xmock_interpreter.hpp" | ||
|
|
||
| #include "xeus-uv/xserver_uv.hpp" | ||
| #include "xeus-uv/xhook_base.hpp" | ||
|
|
||
| #include <uvw.hpp> | ||
|
|
||
| int main(int argc, char* argv[]) | ||
| { | ||
| std::string file_name = (argc == 1) ? "connection.json" : argv[2]; | ||
| xeus::xconfiguration config = xeus::load_configuration(file_name); | ||
|
|
||
| auto context = xeus::make_zmq_context(); | ||
|
|
||
| auto make_xserver = [&](xeus::xcontext& context, | ||
| const xeus::xconfiguration& config, | ||
| nl::json::error_handler_t eh) { | ||
| return xeus::make_xserver_uv(context, config, eh); | ||
| }; | ||
|
|
||
| using interpreter_ptr = std::unique_ptr<xeus::xmock_interpreter>; | ||
| interpreter_ptr interpreter = interpreter_ptr(new xeus::xmock_interpreter()); | ||
| xeus::xkernel kernel(config, | ||
| xeus::get_user_name(), | ||
| std::move(context), | ||
| std::move(interpreter), | ||
| make_xserver); | ||
| std::cout << "starting kernel" << std::endl; | ||
| kernel.start(); | ||
|
|
||
| return 0; | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...overenthusiastic cleanup