Imprecise message "this value should be an active source, or unit" ------------------------------------------------------------------
Key: LS-479 URL: http://dev.sourcefabric.org/browse/LS-479 Project: Liquidsoap Issue Type: New Feature Components: Liquidsoap Affects Versions: 0.9.3, 0.9.1, 0.9.0 Reporter: David Baelde That message shows up when typing but also execution. That's because we can't know at typing time if the source is active or not, so we issue a warning and confirm it later. The imprecision is annoying. Also, the message can show up during streaming (and it goes to stdout), just run add_timeout(2.,{ "bla" ; (-1.) }) in parallel with anything to see it. That's not so important, but there may be a nice simplification behind all this: make all outputs (....,source)->unit instead of (...source)->source. This will make it impossible to chain them, but this style has no real advantage besides concision, and people generally don't use it. What do you think? Then we could issue a clearer warning (perhaps even an error) for non-ignored values of non-unit type. The change would also make it possible to warn users about ignored sources -- currently we can't do that because active sources are safely ignored. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl