-
Notifications
You must be signed in to change notification settings - Fork 418
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
Use upstream libsigrokdecode to avoid breakages #428
Comments
Totally agree! 👍🏼 |
I did a "proof of concept" on how hard it'd be to make use of ustream It shouldn't be too hard fixing the problems below, though I'm not sure if there will be willingness to merge such PR by @DreamSourceLab, so I'm not gonna wrap this up for now. |
@fornellas |
@DreamSourceLab I believe your previous comment was miwed up with discussions from #427 and #429. Let's keep those discussions there. This issue here is regarding the fact that DSView forked & patched Sigrok libraries (libsigrokdecode), in a way that's incompatible with Sigrok decoders. These changes created a phethora of issues, which made my life a LOT harder when attempting to develop for DSView. As I poked around the code, it seems the changes were minimal, and potentially, something reversible, so we can use standard libsigrokdecode (and all current & future decoders there). PS: not sure how I can import this |
@fornellas We have never declared any compatibility, the open source license allows any modification, not to mention the improvement of performance and user experience |
Unfortunately my experience was exactly the opposite: the incompatible API changes pushed, while 100% within what the license allows, created a much worse user experience for me. As DSView does not provide full in depth documentation for its decoder API interface, and I had to rely on Sigrok's, which caused all the confusion, due to the breaking changes. Also, there were bugs at DSView codebase resulting from API changes, that I followed as examples to my code, and were actually broken. It seem these have been fixed ( By the end of the day, you can do whatever you prefer with DSView decoder API. My suggestion (and from various other users who thumbed up here) is to keep the API compatible with Sigrok. You can take it or leave it. |
I'm not sure the circunstances behind having forked libsigrokdecode into
libsigrokdecode4DSL
, but it is causing a lot of headaches:self.matched
is brokenlibsigrokdecode4DSL
.I'm after using a simple UART decoder, to develop another decoder on top. What should be simple, is becoming a huge pain.
Can't we have
libsigrokdecode
used here? It can work fine as a Git submodule.The text was updated successfully, but these errors were encountered: