41 Commits

Author SHA1 Message Date
Lukas Matena
dc229589bb Fixed compiler warnings 2022-08-16 11:20:31 +02:00
enricoturri1966
172929259a Tech ENABLE_GL_CORE_PROFILE - Fix in generate_system_info_json()
Fixed conflicts during rebase with master
2022-05-26 11:45:44 +02:00
Lukas Matena
51211e265a SendSystemInfoDialog: fixed check of internet connection on Windows:
S_FALSE is returned when COM interface is already initialized, it should be considered a success.
2022-05-17 12:14:03 +02:00
enricoturri1966
6201dad245 Tech ENABLE_COLOR_CLASSES set as default 2022-01-14 08:19:00 +01:00
enricoturri1966
34a640a4a9 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_color_class 2022-01-03 09:33:05 +01:00
enricoturri1966
cd4094743e Tech ENABLE_COLOR_CLASSES - 1st installment -> Introduction of classes ColorRGB and ColorRGBA to unify color data definition and manipulation 2021-12-22 10:45:35 +01:00
Vojtech Bubnik
53af2fc0b8 Fixed crash in send system info dialog due to empty prerelease string. 2021-12-21 10:34:55 +01:00
Lukas Matena
efaf4e47c1 When system info sending fails, do not save the "sent" flag into appconfig 2021-11-30 16:21:20 +01:00
Lukas Matena
2c31755bc9 Do not use __FILE__ macro (#7293) 2021-11-16 16:09:30 +01:00
Lukas Matena
8915d8bc91 Improvement of previous commit:
- use boost::nowide instead of WinAPI for the encoding conversion
- only add the node when it is not empty
2021-11-10 11:39:34 +01:00
Lukas Matena
bfa91cbd95 Windows: Include blacklisted libraries in SendSystemInfo data 2021-11-10 11:09:37 +01:00
Lukas Matena
0b6fc0817f SendSystemInfo: Reworked internet connection check,
now we only do the check on Windows, see the comments
in the code for details.
2021-11-01 12:57:49 +01:00
YuSanka
8d0a4c7cd6 SendSystemInfoDialog: Use button instead of hyperlink
+ Fixed wsWidgets asserts
2021-10-22 15:36:07 +02:00
Lukas Matena
e30e7ffdef SendSystemInfo: improved error handling 2021-10-18 15:34:51 +02:00
Lukas Matena
99bf3d0a25 SendSystemInfo: Show also in alphas, fixed alpha detection 2021-10-18 15:34:51 +02:00
Lukas Matena
1afa18d719 SendSystemInfo: Use GET instead of ping to check internet connection 2021-10-18 15:34:51 +02:00
Lukas Matena
692a0dade7 SendSystemInfo macOS fixes (get system language, fix ping) 2021-10-18 15:34:51 +02:00
Lukas Matena
5b20406a33 SendSystemInfo: Reporting RAM in GiB 2021-10-18 15:34:51 +02:00
Lukas Matena
13ff92335b Several fixes and improvements in SendSystemInfoDialog:
- do not show memory in MB, show it in GiB rounded to one decimal place
- when sending fails, the HTTP error code is not presented to the user (it is logged though)
- when the user cancels the sending, no extra "sending cancelled" message is shown
- in case there is no internet connection, the dialog is not shown at all
- a 6 second timeout for a case that connection is lost during sending
- the dialog is only shown when the wizard does not show on startup
2021-10-18 15:34:51 +02:00
Lukas Matena
8d115def76 SendSystemInfo: Trim leading/trailing whitespace from all the values 2021-10-18 15:34:51 +02:00
Lukas Matena
ea25461a95 An attempt to fix the SendSystemInfo dialog on GTK3 2021-10-18 15:34:51 +02:00
Lukas Matena
3f9cefc168 SendSystemInfo: Open the dialog based on appconfig, even in alphas 2021-10-18 15:34:51 +02:00
Lukas Matena
f72a5cf1e7 SendSystemInfo: Only get the scaling on Win, not on mac or Linux 2021-10-18 15:34:51 +02:00
Lukas Matena
56c3ea0261 SendSystemInfo: Use /proc/info instead on lscpu on Linux,
center dialog after resizing
2021-10-18 15:34:51 +02:00
Lukas Matena
8401ba192b Show PrusaSlicer logo in the SendSystemInfoDialog 2021-10-05 15:36:00 +02:00
Lukas Matena
deec0330bb Disable the dialog before merge with master 2021-10-05 15:09:53 +02:00
Lukas Matena
d7d056c8ba This reverts commits a186017 and 2423e7f 2021-10-05 15:09:53 +02:00
Lukas Matena
5dd9e98f27 SendSystemInfo: Return number of logical cores on Apple 2021-10-05 15:09:53 +02:00
Lukas Matena
5b5c72e73e REVERT LATER: More debugging logging 2021-10-05 15:09:53 +02:00
Lukas Matena
e8412d654c Use /etc/machine-id as unique id on Linux 2021-10-05 15:09:53 +02:00
Lukas Matena
1bef2eacc5 Use hardware UUID as unique id on Apple 2021-10-05 15:09:53 +02:00
Lukas Matena
c0eb4fbbd9 Use MAC address as a base of unique system ID on Windows 2021-10-05 15:09:53 +02:00
Lukas Matena
4733e17266 SendSystemInfoDialog: Collect CPU info on Windows 2021-10-05 15:09:53 +02:00
Lukas Matena
a49c691241 SendSystemInfoDialog now opens through CallAfter, GL extensions are sorted 2021-10-05 15:09:53 +02:00
Lukas Matena
bdc4c4cf30 Added some more info (wxWidgets, gtk, Linux distro, CPU info, monitors) 2021-10-05 15:09:52 +02:00
Lukas Matena
af5abc8079 REVERT LATER: Something for debugging 2021-10-05 15:09:52 +02:00
Lukas Matena
b87f512b9e SendSystemInfo: do not close the dialog when failed/cancelled, set content-type to json 2021-10-05 15:09:52 +02:00
Lukas Matena
6a819dad89 SendSystemInfoDialog: Actual sending of the info 2021-10-05 15:09:52 +02:00
Lukas Matena
e8af0d6d0f SendSystemInfoDialog: Use HTML for formatting 2021-10-05 15:09:52 +02:00
YuSanka
d6222cf8a8 SendSystemInfoDialog: Layout adjustments 2021-10-05 15:09:52 +02:00
Lukas Matena
faa808b385 First draft of SendSystemInfoDialog 2021-10-05 15:09:52 +02:00