Update the codes to 01.01.00.10 for the formal release

1. first formal version of macos
2. add the bambu networking plugin install logic
3. auto compute the wipe volume when filament change
4. add the logic of wiping into support
5. refine the GUI layout and icons, improve the gui apperance in lots of
   small places
6. serveral improve to support
7. support AMS auto-mapping
8. disable lots of unstable features: such as params table, media file download, HMS
9. fix serveral kinds of bugs
10. update the document of building
11. ...
This commit is contained in:
lane.wei authored and Lane.Wei committed 2022-07-22 20:35:34 +08:00
1 parent e1528e4299
commit e9e4d75877
267 files changed
+10323 -32225

No files matched your search

+5 -5
View File
@@ -184,7 +184,7 @@ private:
template <typename T>
boost::uint32_t SendRequest(int type, json const& req, Translator<T> const& translator, Callback<T> const& callback)
{
auto c = [translator, callback, thiz = shared_from_this()](int result, json const &resp, unsigned char const *data)
auto c = [translator, callback, this](int result, json const &resp, unsigned char const *data)
{
T t;
if (result == 0 || result == CONTINUE) {
@@ -196,7 +196,7 @@ private:
result = ERROR_JSON;
}
}
thiz->PostCallback<T>(callback, result, t);
PostCallback<T>(callback, result, t);
};
return SendRequest(type, req, c);
}
@@ -206,7 +206,7 @@ private:
template<typename T>
void InstallNotify(int type, Translator<T> const& translator, Applier<T> const& applier)
{
auto c = [translator, applier, thiz = shared_from_this()](int result, json const &resp, unsigned char const *data)
auto c = [translator, applier, this](int result, json const &resp, unsigned char const *data)
{
T t;
if (result == 0 || result == CONTINUE) {
@@ -219,7 +219,7 @@ private:
}
}
if (result == 0 && applier) {
thiz->PostCallback<T>([applier](int, T const & t) {
PostCallback<T>([applier](int, T const & t) {
applier(t);
}, 0, t);
}
@@ -274,9 +274,9 @@ private:
std::deque<callback_t2> m_callbacks;
std::deque<callback_t2> m_notifies;
bool m_stopped = true;
boost::thread m_recv_thread;
boost::mutex m_mutex;
boost::condition_variable m_cond;
boost::thread m_recv_thread;
Status m_status;
int m_last_error = 0;
};