Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroAir committed Oct 20, 2023
1 parent 9d0de7b commit 4a43158
Show file tree
Hide file tree
Showing 60 changed files with 810 additions and 536 deletions.
2 changes: 2 additions & 0 deletions libs/cpp_httplib/httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#ifndef CPPHTTPLIB_HTTPLIB_H
#define CPPHTTPLIB_HTTPLIB_H

#define CPPHTTPLIB_OPENSSL_SUPPORT

#define CPPHTTPLIB_VERSION "0.14.1"

/*
Expand Down
150 changes: 75 additions & 75 deletions locale/lithium.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Lithium \n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2023-10-08 14:31+0800\n"
"POT-Creation-Date: 2023-10-19 02:44+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -17,275 +17,275 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: E:/msys64/home/Qrm/OpenAPT/src/modules/device/device_manager.cpp:163
#: /workspaces/Lithium/src/modules/device/device_manager.cpp:163
msgid "A device with name {} already exists, please choose a different name"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/device/device_manager.cpp:190
#: /workspaces/Lithium/src/modules/device/device_manager.cpp:190
msgid "Trying to add a new camera instance : {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/device/device_manager.cpp:192
#: /workspaces/Lithium/src/modules/device/device_manager.cpp:192
msgid "Added new camera {} instance successfully"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/device/device_manager.cpp:197
#: /workspaces/Lithium/src/modules/device/device_manager.cpp:197
msgid "Trying to add a new telescope instance : {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/device/device_manager.cpp:199
#: /workspaces/Lithium/src/modules/device/device_manager.cpp:199
msgid "Added new telescope instance successfully"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/device/device_manager.cpp:204
#: /workspaces/Lithium/src/modules/device/device_manager.cpp:204
msgid "Trying to add a new Focuser instance : {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/device/device_manager.cpp:206
#: /workspaces/Lithium/src/modules/device/device_manager.cpp:206
msgid "Added new focuser instance successfully"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/device/indidevice_manager.cpp:266
#: /workspaces/Lithium/src/modules/device/indidevice_manager.cpp:266
msgid "Failed to run command: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:63
#: /workspaces/Lithium/src/modules/thread/thread.cpp:63
msgid "Failed to destroy ThreadManager: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:82
#: /workspaces/Lithium/src/modules/thread/thread.cpp:82
msgid "Thread manager has stopped, cannot add new thread"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:100
#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:122
#: /workspaces/Lithium/src/modules/thread/thread.cpp:100
#: /workspaces/Lithium/src/modules/thread/thread.cpp:122
msgid "Unhandled exception in thread: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:128
#: /workspaces/Lithium/src/modules/thread/thread.cpp:128
msgid "Added thread: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:133
#: /workspaces/Lithium/src/modules/thread/thread.cpp:133
msgid "Failed to add thread {}: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:149
#: /workspaces/Lithium/src/modules/thread/thread.cpp:149
msgid "All threads joined"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:153
#: /workspaces/Lithium/src/modules/thread/thread.cpp:153
msgid "Failed to join all threads: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:163
#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:180
#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:194
#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:205
#: /workspaces/Lithium/src/modules/thread/thread.cpp:163
#: /workspaces/Lithium/src/modules/thread/thread.cpp:180
#: /workspaces/Lithium/src/modules/thread/thread.cpp:194
#: /workspaces/Lithium/src/modules/thread/thread.cpp:205
msgid "Thread {} not found"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:172
#: /workspaces/Lithium/src/modules/thread/thread.cpp:172
msgid "Thread {} joined"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:184
#: /workspaces/Lithium/src/modules/thread/thread.cpp:184
msgid "Failed to join thread {}: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/thread/thread.cpp:210
#: /workspaces/Lithium/src/modules/thread/thread.cpp:210
msgid "Failed to check if thread {} is running: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:75
#: /workspaces/Lithium/src/modules/system/process.cpp:75
msgid "Failed to create PowerShell process"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:85
#: /workspaces/Lithium/src/modules/system/process.cpp:85
msgid "Running command: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:98
#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:122
#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:143
#: /workspaces/Lithium/src/modules/system/process.cpp:98
#: /workspaces/Lithium/src/modules/system/process.cpp:122
#: /workspaces/Lithium/src/modules/system/process.cpp:143
msgid "Failed to create process"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:108
#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:153
#: /workspaces/Lithium/src/modules/system/process.cpp:108
#: /workspaces/Lithium/src/modules/system/process.cpp:153
msgid "Process created: {} (PID: {})"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:132
#: /workspaces/Lithium/src/modules/system/process.cpp:132
msgid "Running script: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:170
#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:182
#: /workspaces/Lithium/src/modules/system/process.cpp:170
#: /workspaces/Lithium/src/modules/system/process.cpp:182
msgid "Process terminated: {} (PID: {})"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:174
#: /workspaces/Lithium/src/modules/system/process.cpp:174
msgid "Failed to terminate process"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:190
#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:246
#: /workspaces/Lithium/src/modules/system/process.cpp:190
#: /workspaces/Lithium/src/modules/system/process.cpp:246
msgid "Process not found"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:205
#: /workspaces/Lithium/src/modules/system/process.cpp:205
msgid "Process not found by name: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:212
#: /workspaces/Lithium/src/modules/system/process.cpp:212
msgid "Currently running processes:"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:216
#: /workspaces/Lithium/src/modules/system/process.cpp:216
msgid "{} (PID: {})"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:261
#: /workspaces/Lithium/src/modules/system/process.cpp:261
msgid "Process completed: {} (PID: {})"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:265
#: /workspaces/Lithium/src/modules/system/process.cpp:265
msgid "Failed to wait for process completion"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:271
#: /workspaces/Lithium/src/modules/system/process.cpp:271
#, c-format
msgid "Process completed: %s (PID: %d)"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:276
#: /workspaces/Lithium/src/modules/system/process.cpp:276
msgid "All processes completed."
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:287
#: /workspaces/Lithium/src/modules/system/process.cpp:287
msgid "Failed to create process snapshot"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:328
#: /workspaces/Lithium/src/modules/system/process.cpp:328
msgid "Failed to open /proc directory"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:357
#: /workspaces/Lithium/src/modules/system/process.cpp:357
msgid "Failed to get process path"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:378
#: /workspaces/Lithium/src/modules/system/process.cpp:378
msgid "Failed to get process info length"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:385
#: /workspaces/Lithium/src/modules/system/process.cpp:385
msgid "Failed to allocate memory"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/process.cpp:391
#: /workspaces/Lithium/src/modules/system/process.cpp:391
msgid "Failed to get process info"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/pid.cpp:94
#: /workspaces/Lithium/src/modules/system/pid.cpp:94
msgid "CreateToolhelp32Snapshot failed."
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/pid.cpp:113
#: /workspaces/Lithium/src/modules/system/pid.cpp:113
msgid "Watching process with PID: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/pid.cpp:124
#: /workspaces/Lithium/src/modules/system/pid.cpp:124
msgid "Process exited with code: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/pid.cpp:133
#: /workspaces/Lithium/src/modules/system/pid.cpp:133
msgid "GetExitCodeProcess failed."
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/pid.cpp:143
#: /workspaces/Lithium/src/modules/system/pid.cpp:143
msgid "OpenProcess failed."
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/pid.cpp:170
#: /workspaces/Lithium/src/modules/system/pid.cpp:170
msgid "Process exited with status: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/modules/system/pid.cpp:179
#: /workspaces/Lithium/src/modules/system/pid.cpp:179
msgid "Process terminated by signal: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/App.cpp:223
#: /workspaces/Lithium/src/App.cpp:223
msgid "port the server running on"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/App.cpp:224
#: /workspaces/Lithium/src/App.cpp:224
msgid "host the server running on"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/App.cpp:225
#: /workspaces/Lithium/src/App.cpp:225
msgid "path to the config file"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/App.cpp:226
#: /workspaces/Lithium/src/App.cpp:226
msgid "path to the modules directory"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/App.cpp:227
#: /workspaces/Lithium/src/App.cpp:227
msgid "web panel"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/App.cpp:228
#: /workspaces/Lithium/src/App.cpp:228
msgid "path to log file"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/App.cpp:230
#: /workspaces/Lithium/src/App.cpp:230
msgid "Lithium Command Line Interface:"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/App.cpp:231
#: /workspaces/Lithium/src/App.cpp:231
msgid "End."
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/App.cpp:239
#: /workspaces/Lithium/src/App.cpp:239
#, c-format
msgid "Failed to parser command line : %s"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/App.cpp:260
#: /workspaces/Lithium/src/App.cpp:260
#, c-format
msgid "Command line server port : %d"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/App.cpp:266
#: /workspaces/Lithium/src/App.cpp:266
#, c-format
msgid "Set server port to %d"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/LithiumApp.cpp:67
#: /workspaces/Lithium/src/LithiumApp.cpp:67
msgid "Failed to load Lithium App , error : {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/LithiumApp.cpp:79
#: /workspaces/Lithium/src/LithiumApp.cpp:79
msgid "Get config value: {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/LithiumApp.cpp:85
#: /workspaces/Lithium/src/LithiumApp.cpp:85
msgid "Set {} to {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/LithiumApp.cpp:272
#: /workspaces/Lithium/src/LithiumApp.cpp:272
msgid "Failed to run chai command : {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/LithiumApp.cpp:290
#: /workspaces/Lithium/src/LithiumApp.cpp:290
msgid "Failed to run chai multi command {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/LithiumApp.cpp:303
#: /workspaces/Lithium/src/LithiumApp.cpp:303
msgid "Failed to load chaiscript file {}"
msgstr ""

#: E:/msys64/home/Qrm/OpenAPT/src/LithiumApp.cpp:316
#: /workspaces/Lithium/src/LithiumApp.cpp:316
msgid "Failed to run chai script {}"
msgstr ""
2 changes: 1 addition & 1 deletion src/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Description: Main
#include "controller/AsyncStaticController.hpp"
#include "controller/AsyncSystemController.hpp"
#include "controller/AsyncWebSocketController.hpp"
#include "controller/IOController.hpp"
#include "controller/AsyncIOController.hpp"
#include "controller/AsyncProcessController.hpp"
#include "controller/AsyncPHD2Controller.hpp"
#include "controller/AsyncTaskController.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/AppComponent.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* AppComponent.cpp
* AppComponent.hpp
*
* Copyright (C) 2023 Max Qian <lightapt.com>
*
Expand Down
Loading

0 comments on commit 4a43158

Please sign in to comment.