Hi I agree that printf for errors and warnings should be replaced or complemented with some other solution. 7 May Marc-André merged my patch (pull request 581) called errorcodes. This patch is an initial first attempt from me to handle this requirement. Unfortunately this patch was broken 25 May ( changes in tcp.c)
This patch stores the last error in a variable. The error codes stored in this variable can later be translated to an error string in required language. XRDP use this error code. Regards Arvid 2012/6/12 Daryl Poe <daryl....@hp.com>: > FreeRDP developers: > > In situations where xfreerdp is run from the command line, printf-style > communications with the user works well. In other environments, the > end-user isn't exposed to the command line. All interactions have to > happen through dialogs, whether it's certificate verification, error > conditions, or (eventually) connection information such as latency, > remoteFX usage, frames per second, etc. However, I imagine every vendor > wants to do user interactions their own way (in a way that matches the > rest of their interface), whether it is printf, dialog, zenity, gtk, qt, > etc. > > Has there been any thought to a generic interface through which xfreerdp > communicates directly with the user, into which anyone can dynamically > plug in their own front-end GUI-module? (And the command-line > interface is provided by default.) > > Localization is another factor that plays into this. The current user > interface isn't internationalized (as of 1.0.1, at least), but a generic > interface might allow the GUI provider to localize as they see fit. And > it's certainly possible that folks could contribute their various > user-interaction implementations back to the project. > > Thanks, > Daryl > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Freerdp-devel mailing list > Freerdp-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freerdp-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Freerdp-devel mailing list Freerdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel