Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f260c5e
Reintroduced file listing and navigation.
5cript Mar 6, 2025
6f8e162
Added create file.
5cript Mar 6, 2025
6a1108a
Improved channel shutdowns.
5cript Mar 7, 2025
0163757
Improved synchronization of ssh channels and sessions using strands.
5cript Mar 8, 2025
9ee4419
Added some docs comments.
5cript Mar 8, 2025
5f410f3
Added documentation to processing thread class.
5cript Mar 8, 2025
1d0b3f3
Improved multi threading behaviour of close.
5cript Mar 8, 2025
d79f027
Made file explorer button border more visible.
5cript Mar 8, 2025
8c64460
Started implementation of download operation class.
5cript Mar 9, 2025
98143ab
Simplified operation task flush.
5cript Mar 9, 2025
0cfca0f
Added tests for download operation.
5cript Mar 9, 2025
cc301ce
Added download operation add to queue.
5cript Mar 10, 2025
7db12ea
Removed unused code.
5cript Mar 11, 2025
d787251
Removed accidentally added clangd file.
5cript Mar 11, 2025
2c0b509
Added handlers for file grid context menu.
5cript Mar 14, 2025
c35c706
Refactored operations.
5cript Jun 21, 2025
a7d1bec
Added progress bar class.
5cript Jun 21, 2025
caa14e8
Changed some formatting.
5cript Jun 21, 2025
062304a
Removed browser selection from file grid.
5cript Jun 21, 2025
6fc8aef
Refactored session manager by adding session class.
5cript Sep 9, 2025
af43e61
Added missing header.
5cript Oct 7, 2025
40a5955
Added timer function to rpc helper.
5cript Oct 10, 2025
6a0c535
Added strand getter.
5cript Oct 10, 2025
0adc4e7
Moved and added classes to shared data.
5cript Oct 10, 2025
e2c45d1
Added legible type checker to directory entry.
5cript Oct 10, 2025
acc19df
Added timeout to sftp options.
5cript Oct 10, 2025
7be2e5f
Removed unused id.
5cript Oct 10, 2025
6c804a1
Made ids json convertible.
5cript Oct 10, 2025
414db4b
Added missing virtual.
5cript Oct 10, 2025
23f622c
Added thread uml for bulk download.
5cript Oct 10, 2025
9cc105f
Added virtual dtor to TerminalChannel class.
5cript Oct 10, 2025
9879131
Made progress on downloading.
5cript Oct 10, 2025
acd5c96
Added enum string converter.
5cript Oct 11, 2025
a212f71
Added include.
5cript Oct 11, 2025
49a7993
Added utility to convert naming convention.
5cript Oct 11, 2025
104aa76
Introduced spaceship operator to id.
5cript Oct 11, 2025
3e9e8ca
Made progress bar work properly.
5cript Oct 11, 2025
b3d148e
Made Initial download operation ui happen.
5cript Oct 11, 2025
1a2687a
Made download progress work and look better.
5cript Oct 12, 2025
8e303b0
Made single downloads work fully and cancelable.
5cript Oct 12, 2025
d46ed86
Improved download buffering.
5cript Oct 13, 2025
986e679
Added operation auto removal.
5cript Oct 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .clangd

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ dependencies/*
node_modules/*
themes/node_modules/*
themes/node_modules
todo.txt
todo.txt
.clangd
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set(NUI_FETCH_ROAR OFF CACHE BOOL "Dont fetch roar, use local copy" FORCE)
set(NUI_FETCH_NLOHMANN_JSON OFF CACHE BOOL "Dont fetch nlohmann, use local copy" FORCE)
set(ROAR_EXTERNAL_NLOHMANN_JSON ON CACHE BOOL "Use an external nlohmann_json library (provide it manually)" FORCE)
set(SPDLOG_BUILD_SHARED OFF CACHE BOOL "Dont build shared spdlog" FORCE)
set(NUI_FILE_EXPLORER_MEMORY64 ON CACHE BOOL "Enable MEMORY64 for nui-file-explorer" FORCE)

option(BUILD_SHARED_LIBS "Do not build shared libraries" OFF)
option(BUILD_STATIC_LIBS "Build static libraries" ON)
Expand Down Expand Up @@ -69,5 +70,6 @@ else()
include(./_cmake/dependencies/gtest.cmake)
enable_testing()
add_subdirectory(ssh/test/ssh)
add_subdirectory(backend/test/backend)
endif()
endif()
10 changes: 8 additions & 2 deletions _cmake/common_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ if (${MSVC})
else()
target_compile_options(core-target INTERFACE -Wall -Wextra -Wpedantic)
endif()
target_compile_options(core-target INTERFACE -Wbad-function-cast -Wcast-function-type -fexceptions -pedantic $<$<CONFIG:DEBUG>:-g;-Werror=return-type> $<$<CONFIG:RELEASE>:-O3>)
target_link_options(core-target INTERFACE $<$<CONFIG:RELEASE>:-s;-static-libgcc;-static-libstdc++>)

set(MEM64 "")
if (EMSCRIPTEN)
set(MEM64 "-sMEMORY64=1")
endif()

target_compile_options(core-target INTERFACE -Wbad-function-cast -Wcast-function-type -fexceptions -pedantic $<$<CONFIG:DEBUG>:-g;-Werror=return-type> $<$<CONFIG:RELEASE>:-O3> ${MEM64})
target_link_options(core-target INTERFACE $<$<CONFIG:RELEASE>:-s;-static-libgcc;-static-libstdc++> ${MEM64})
target_compile_features(core-target INTERFACE cxx_std_23)
2 changes: 1 addition & 1 deletion _cmake/dependencies/spdlog.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include(FetchContent)
FetchContent_Declare(
spdlog
GIT_REPOSITORY https://github.com/gabime/spdlog.git
GIT_TAG ae1de0dc8cf480f54eaa425c4a9dc4fef29b28ba
GIT_TAG v1.16.0
)

FetchContent_MakeAvailable(spdlog)
5 changes: 3 additions & 2 deletions backend/include/backend/main.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#pragma once

#include <backend/process/process_store.hpp>
#include <backend/ssh_session_manager.hpp>
#include <backend/session_manager.hpp>
#include <persistence/state_holder.hpp>
#include <backend/password/password_prompter.hpp>
#include <ssh/async/processing_thread.hpp>

#include <boost/asio/steady_timer.hpp>
#include <nui/core.hpp>
Expand Down Expand Up @@ -37,7 +38,7 @@ class Main
Nui::RpcHub hub_;
ProcessStore processes_;
PasswordPrompter prompter_;
SshSessionManager sshSessionManager_;
std::shared_ptr<SessionManager> sshSessionManager_;
std::atomic_bool shuttingDown_;
boost::asio::steady_timer childSignalTimer_;
};
Loading