Commit Graph

63 Commits

Author SHA1 Message Date
chunmao.guo 2c1b0d6510 FIX: PrinterFileSystem: retry connect on user action
Change-Id: I3e8902298385ed2e5906fd15d1817b6e33522a76
Jira: STUDIO-6354
2024-04-08 19:50:03 +08:00
chunmao.guo a4b3f7a7c7 ENH: use Bambu_StartStreamEx for agora tunnel
Change-Id: I5c28dea49d267bf7ff967d0982dd83555899c8c4
Jira: none
2024-03-25 15:29:19 +08:00
chunmao.guo 89f40dd6fc FIX: clear error after reload file list ok
Change-Id: I5d5e4f2870302b198d3a9d40603a6fa8010b7e76
Jira: STUDIO-6306
2024-03-25 15:29:19 +08:00
chunmao.guo 87a98ce1fa FIX: show printer file path & title
Change-Id: Ie5eff188c3039deeca5da96b54407194bf8910a0
Jira: STUDIO-6268
2024-03-25 15:29:19 +08:00
chunmao.guo ac406d14ce ENH: adjust connect error string
Change-Id: I2ec6743fb6a332af8742a229b672737342abb779
Jira: STUDIO-5935
2024-03-25 10:42:29 +08:00
chunmao.guo e3653cae8d FIX: delete sdcard file crash
Change-Id: I814fd4b557fa92ac4060cbeb18a53f5616e49662
Jira: STUDIO-5977
2024-03-25 10:42:29 +08:00
chunmao.guo f79a3aa069 FIX: hide_id_middle_string 2
Change-Id: Iadf17b13416b8c6a3e8b4191493d459851d4d7d8
2024-03-25 10:42:29 +08:00
Kunlong Ma 8cba6a3566 FIX: Copywriting updates
JIRA: NONE

Change-Id: I6df034f95b4e6d517c57286dd6f564510b9fa4ab
2024-03-25 10:42:29 +08:00
chunmao.guo a193169a76 FIX: hide_id_middle_string
Change-Id: I28f32ec526b443d31d7992971b80ab1cb737deb6
Github: STUDIO-5825
2024-03-25 10:42:29 +08:00
chunmao.guo a9227daca1 FIX: MediaFilePanel error state
Change-Id: I318ef59fb97478ffee16dff594022b2b9029964a
Jira: STUDIO-5638
2024-03-25 10:42:29 +08:00
Bastien Nocera d310e4ca34 slic3r: Fix missing includes
Fix a lot of "undeclared" errors during compilation on top of the
current GNOME 45 Flatpak SDK.
2024-01-02 17:42:37 +08:00
chunmao.guo f4b062640d FIX: not cache printer file list on error
Change-Id: I99843aedbf14d3d1d553ccac9b0bd26403274a82
Jira: none
2023-11-30 09:51:52 +08:00
chunmao.guo 99f5863ffa ENH: handle printer direct close and not retry
Change-Id: I5dd55f8085cf6383a8420ab41e614ea6ae210c78
Jira: STUDIO-5305
2023-11-23 17:35:33 +08:00
chunmao.guo a888747755 FIX: crash when async delete printer file
Change-Id: I92c5e812d04da263338fb0eea2fd7583cf9ecde0
Jira: STUDIO-5222
2023-11-22 08:23:38 +08:00
chunmao.guo 0f7dd9b3a4 FIX: PrinterFileSystem: lost callback when connection not ready
Change-Id: Id0f0c41e51fef8220bd6bd7fb40876840fee05ad
Jira: STUDIO-4811
2023-11-09 10:09:10 +08:00
chunmao.guo d6357d12b5 FIX: [STUDIO-4775] fix hide_passwd crash
Change-Id: I32224ee6af9f17cd4c448f519dcff65060ed7216
Jira: STUDIO-4775
2023-11-09 10:09:10 +08:00
chunmao.guo 52b816b657 FIX: [STUDIO-4522] hide passwd of media url from log
Change-Id: Ib4da577ea39cca9fb34d920101a81f1708a6934e
Jira: STUDIO-4522
2023-11-01 09:33:21 +08:00
chunmao.guo 7bbb7e7ca4 FIX: PrinterFileSystem crash when switch file type
Change-Id: I25b0659d7a33bda5bb1157c967dac300b41696a9
Github: 2633
2023-11-01 09:33:21 +08:00
chunmao.guo 24e672a0f1 FIX: [STUDIO-4228] clear cache data before require thumbnail of 3mf
Change-Id: I8cf60fa3b8a45a85311cddc5c508d88fcfdb41da
Jira: STUDIO-4228
2023-11-01 09:11:19 +08:00
chunmao.guo ed82262ca8 FIX: [STUDIO-3736] show download failed dialog & cancel task
Change-Id: I25830b29ffaaced26fcee8290ccfcce590e3963a
2023-11-01 09:11:19 +08:00
chunmao.guo 448e3b8a8b FIX: handle printer file downalod failure
Change-Id: I1e8cbf4a6d4081270ed78bf7d1471eb1d6114a0b
2023-11-01 09:11:19 +08:00
chunmao.guo 5a0f9ff4f0 FIX: default thumbnail type jpeg
Change-Id: I3f911b74b646241c3b2449eaefe532071218af70
2023-11-01 09:11:19 +08:00
chunmao.guo 031a678ea0 FIX: ModelMetadata is zipped without subpath, not substract it
Change-Id: I5af608b1aa312bfab79bbdea09e99f8b4b2de5de
2023-07-13 10:35:05 +08:00
chunmao.guo fefd13a4ac FIX: big thumbnail send by multi-frame
Change-Id: Ia3a88fb53b8cc27d20fa976822c91c09b4442d71
2023-07-13 10:35:05 +08:00
chunmao.guo a4b3a5c000 FIX: [STUDIO-3571] not skip auxiliary for send gcode
Change-Id: I2dd1e36c571261c93ac899db5bbd3ad38fc40bc9
2023-07-07 17:52:43 +08:00
chunmao.guo d164cd0265 FIX: special char # in printer file name
Change-Id: If9553108acc4b84c9d8824c995d3b0f607da7687
2023-07-07 17:29:08 +08:00
chunmao.guo f96e60a14a FIX: [STUDIO-3254] deselect all files when changing list type
Change-Id: I6904653093bcf72c4df8f98877e2bbd7f3cf4ae9
2023-07-07 17:29:08 +08:00
chunmao.guo fba2431f91 FIX: cycle request when ModelThumbnail failed
Change-Id: Id3faa194b9cc5b8a7d54007fd7d15dd9d054955f
2023-07-07 17:29:08 +08:00
chunmao.guo ac4f641222 FIX: media error message
Change-Id: I6fb9879b03fee6fab3b0aa2123cfe67c9b5916dc
2023-07-07 17:29:08 +08:00
chunmao.guo 10988f0bae FIX: [STUDIO-3090] export error string to file panel
Change-Id: Ifabff9646dfcf19da9188edfb2447b33c8c1089e
2023-07-07 17:29:08 +08:00
chunmao.guo 75545c65cd FIX: [STUDIO-3057] keep download state in file
Change-Id: I6685f014e9c6fe3bf2e33218cec68d188f8cbc72
2023-07-07 17:29:08 +08:00
chunmao.guo 9b0dbeb19d FIX: [STUDIO-2969] model file thumbnail error continue
Change-Id: I0eab0cd0e85dd1c3dcc07eaed855682546ba4e04
2023-07-07 17:29:08 +08:00
chunmao.guo e3d4380244 FIX: retry fetch file thumbnail one by one and split reply
Change-Id: I0c532bb57997ac61ff12172478459fc13f34f01c
2023-07-07 17:29:08 +08:00
chunmao.guo ddd2c544c8 FIX: add load model process dialog
Change-Id: I3cf9f5a535236f87425a0314bde283e4549ca5e7
2023-07-07 17:25:51 +08:00
chunmao.guo e48170e7fe FIX: [STUDIO-2964] something with fix printer file management
Change-Id: Id8c2349766c8ca3f90a0985873726a72f760da50
2023-07-07 17:25:51 +08:00
chunmao.guo 1f56efe5ea FIX: printer file system debug log
Change-Id: Iac9520de0d844fe24e116b0b4f0491c560ff3c26
(cherry picked from commit c97f927110b9c96cc8d43f521f88ea0e77522ff7)
2023-07-07 17:25:51 +08:00
chunmao.guo 5a7aa74e62 ENH: printer compatible for tunnel protos
Change-Id: Ic409ad967da43ad696b75a6c97e90e1f70e7610d
2023-07-07 17:25:51 +08:00
chunmao.guo c142c8a31e FIX: [STUDIO-1868] not show wrong models with old printer firmware
Change-Id: Ifa08e2e18348827ab3577ae98c0cf553bd4028f0
2023-07-07 17:25:51 +08:00
chunmao.guo 8c1dce19d3 FIX: [STUDIO-1868] sdcard model files runnable
Change-Id: I3b644a5bbea5e936903f7308e3bf484e5203f92c
2023-07-07 17:25:51 +08:00
chunmao.guo c58baa6b16 FIX: error log reduce
Change-Id: I836ba41eefb3a8c12a57a22d208ee7d60140e345
2023-07-07 17:25:51 +08:00
chunmao.guo 904b122878 ENH: [STUDIO-1868] fetch printer model files and parse
Change-Id: If8da0072be5856cc179da3e62a06982de0ce2ecb
2023-07-07 17:25:51 +08:00
chunmao.guo e8387b97ac ENH: [STUDIO-1868] update printer file system protocol
Change-Id: I22300fadcafc08042cbeac537d0d0e7f621db3d2
2023-07-07 17:25:51 +08:00
chunmao.guo ef1e4a132d ENH: [STUDIO-2446] support select media files by group of month/year
Change-Id: I10d26e34405a13daa477be011e7353d79232b4b3
2023-04-17 15:39:02 +08:00
Stone Li 6827b41eb3 NEW: add track events for debugging network
Change-Id: I671f91b4af00277236ca71014f8d667109756d00
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-04-17 15:39:02 +08:00
lane.wei 6b15afc7b6 ENH: refine the timestamp when using P1P
the timestamp of mjpeg is not accurate
we simulate one

Change-Id: I9198f1ba930994cc4f86e8d3a3c778539d04ccb3
2023-02-01 16:24:44 +08:00
Joshua Wise 43a7f88c6c Add support for Bambu Lab X1 series live video stream on Linux.
wxWidgets on Linux uses GStreamer as its back-end for wxMediaCtrl, which
doesn't have a bambu: URI handler.  On Windows, this is handled by a Windows
Media subsystem plugin, and on Mac, this is handled with a BambuPlayer
class.  Luckily, the libBambuSource.so binary that is distributed with the
network plugin package already contains support for receiving h.264 data
from the network, and the API is the same as is used by the tiny
bambusource.exe binary on Windows; we glue this into a GStreamer source
plugin that registers a URI handler for bambu:.

To make this work, we make a few additional changes elsewhere.  GStreamer
seems to have trouble rendering an Xv overlay onto a 32bpp X visual, but
Bambu Slicer seems to request a 32bpp visual for some background
transparency in the Notebook; it doesn't seem to use it in an interesting
way on Linux, though, so we remove that request for transparency to allow
Bambu Studio to render to a 24bpp visual.  The media controller
infrastructure also makes a few assumptions about when sizing information
can be queried from a wxMediaCtrl backend that do not hold true on Linux; we
either fix those assumptions, or fake them out, as needed.  We also make a
few changes needed to successfully compile C.

This has only been tested with the GStreamer backend for wxWidgets --
notably, not the GStreamer-play backend (these are, astonishingly, two
different things!).  If you find that this seems not to work, consider
*un*installing the libgstreamer-plugins-bad1.0-dev package and then
rebuilding wxWidgets.
2023-01-12 14:56:04 +08:00
chunmao.guo d480d526e1 FIX: [STUDIO-1584] Mediafile: fix batch delete not work
Change-Id: I48b5897afdaa324f80cd9d5dbcd858c86903ef06
2022-12-15 04:38:15 -05:00
chunmao.guo 64ae3c3a56 FIX: [STUDIO-1360] media file image scale on macOS
Change-Id: I2a25ff53b9beb08a90aca07adad7accc69b6d2ed
2022-12-15 04:38:15 -05:00
chunmao.guo 3f4136157e FIX: [STUDIO-1358] Media file cancel waiting download
Change-Id: Iaaa0da90f57aeb0e8aaf1049589d4f1012fc6460
2022-12-15 04:38:15 -05:00
chunmao.guo 5f20d14476 FIX: retry thumbnail request after refresh file list
Change-Id: I013566743f21df6403fb6bcd835e9e13dd40ddef
2022-12-15 04:33:48 -05:00