Skip to content
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

Support for SimplyPrint cloud integration #4385

Closed
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
8ca2f1d
Support for SimplyPrint cloud integration (SoftFever/OrcaSlicer#4525)
Noisyfox Mar 23, 2024
3411a75
Various improvements to SimplyPrint integration (SoftFever/OrcaSlicer…
Noisyfox Jun 21, 2024
1903eff
UI Jobs Rework
tamasmeszaros Nov 30, 2021
93aaee8
Add WindowWorker.hpp
Ocraftyone Jul 21, 2024
a2d9e7b
Update ArrangeJob calls
Ocraftyone Jul 21, 2024
900b30e
Fix misnamed type
Ocraftyone Jul 21, 2024
e74bdc2
Fix include statement
Ocraftyone Jul 21, 2024
e4c2a7f
Try fixing build with gcc 13.3 (SoftFever/OrcaSlicer#5991) (SoftFever…
Noisyfox Jul 7, 2024
8b12a5a
Fix path parameters in json library
Ocraftyone Jul 21, 2024
77ca520
Port MIME logic from BBL/Orca
Ocraftyone Jul 21, 2024
63d0ace
Add QueuePrint to PrintHostPostUploadAction
Ocraftyone Jul 21, 2024
f26be69
Add HttpServer::port_type in place of boost::asio::ip::port_type
Ocraftyone Jul 21, 2024
31503ac
Convert OAuthDialog to WindowWorker from PlaterWorker
Ocraftyone Jul 21, 2024
756cc03
Revert "Fix issue caused by the fact that the backing widget of the `…
Ocraftyone Jul 21, 2024
0bf1782
Fix signature of upload function to match overridden function
Ocraftyone Jul 21, 2024
57dce8a
Remove device tab logic
Ocraftyone Jul 21, 2024
ba2a2c6
Remove "use_3mf" as it is only supported on BBL printers
Ocraftyone Jul 21, 2024
41de219
Fix includes
Ocraftyone Jul 21, 2024
1ceb20a
Port Http::url_decode from BBL/Orca
Ocraftyone Jul 21, 2024
1ce7877
Modify HttpServer
Ocraftyone Jul 21, 2024
b3ff363
Replace "orcaslicer" with "superslicer" in client ID and request header
Ocraftyone Jul 22, 2024
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
Prev Previous commit
Next Next commit
Try fixing build with gcc 13.3 (SoftFever/OrcaSlicer#5991) (SoftFever…
…/OrcaSlicer#5992)

(cherry picked from commit adec6b7)
Noisyfox authored and Ocraftyone committed Jul 22, 2024
commit e4c2a7f2ae98379522cc7bf8a75b626c86581577
8 changes: 6 additions & 2 deletions src/slic3r/Utils/Http.cpp
Original file line number Diff line number Diff line change
@@ -135,9 +135,13 @@ std::unique_ptr<CurlGlobalInit> CurlGlobalInit::instance;

struct form_file
{
fs::ifstream ifs;
fs::ifstream ifs;
boost::filesystem::ifstream::off_type init_offset;
size_t content_length;

form_file(fs::path const& p, const boost::filesystem::ifstream::off_type offset, const size_t content_length)
: ifs(p, std::ios::in | std::ios::binary), init_offset(offset), content_length(content_length)
{}
};

struct Http::priv
@@ -327,7 +331,7 @@ void Http::priv::form_add_file(const char *name, const fs::path &path, const cha
filename = path.string().c_str();
}

form_files.emplace_back(form_file{{path, std::ios::in | std::ios::binary}, offset, length});
form_files.emplace_back(path, offset, length);
auto &f = form_files.back();
size_t size = length;
if (length == 0) {