Git Product home page Git Product logo

Comments (3)

Marcus10110 avatar Marcus10110 commented on July 30, 2024

The Logic software does not look at mFlags - it's setup as a convention for analyzers to implement in GenerateBubbleText.

example:

if( frame.mFlags & DISPLAY_AS_ERROR_FLAG )
{
	AddResultString( "!Warning: MAB is too short" );
}

Unfortunately the analyzer SDK does not support emojis, and I suspect that it doesn't handle anything other than vanilla ascii. If I have time I'll check into that to see if there is an easy fix. I know the software supports displaying ⚠ and the round trip between an std::string / QString and the display, so we must be making a mistake somewhere in the analyzer results system - we might be passing it to QString incorrectly, for instance.

from sampleanalyzer.

dudanov avatar dudanov commented on July 30, 2024

From the documentation: "Two flags are reserved by the system, and will produce an error or warning indication on the bubble displaying the Frame.". Proceeding from this, you conclude that the processing of system flags should be performed by the main program, and processing of custom flags should be handled by the plug-in function GenerateBubbleText. Why in this case the reservation of system flags and their announcement in SDK? In my understanding, this should affect the color of Bubble messages, for example.

from sampleanalyzer.

Marcus10110 avatar Marcus10110 commented on July 30, 2024

Thanks for pointing this out, we desperately need to update the documentation for this.

I think when that comment was added, we did plan to do something with mFlags. However, I can confirm that we never implemented a feature that uses it. We also won't be adding this in the future. Many of our analyzers and 3rd party ones use mFlags for analyzer-specific information, so the software can't make any assumptions about what will be found there.

Unfortunately I don't know when we'll have the time - we're a tiny team at the moment, and we're focused mostly on real time view and other feature improvements. We are also working on a system for unit testing protocol analyzers though, which we will open source. (technically it's public at the moment, but it's still in the early stages)

from sampleanalyzer.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.