14
I Use This!
Activity Not Available

News

Analyzed 4 months ago. based on code collected over 1 year ago.
Posted about 6 years ago by [email protected]
Merge r2722 through r2770 from trunk into 2.4.x branch. This will form the basis of FFADO 2.4.1.
Posted about 6 years ago by [email protected]
SConstruct: try another approach for ConfigGuess?(). The change made in r2768 seems to break scons2 when running with python2 on some systems (reported by Dave Plater on ffado-devel). It is noted that scons 2.4.1 under python 2.7.14 seems to be ... [More] fine. The crash reported by Dave seemed to be related to the context.Result() call: File "/data/packages/BUILD/ffado-svn/SConstruct", line 472: config_guess = conf.ConfigGuess?() File "/usr/lib/python2.7/site-packages/SCons/SConf.py", line 640: ret = self.test(context, *args, **kw) File "/data/packages/BUILD/ffado-svn/SConstruct", line 160: context.Result( ret ) File "/usr/lib/python2.7/site-packages/SCons/SConf.py", line 791: raise TypeError?("Expected string, int or bool, got " + str(type(res))) This patch moves the decode() call so it comes after the context.Result() call. This works under scons 2.4.1 with python 2.7.14, but it seems this is no guarantee that other combinations will be ok. [Less]
Posted about 6 years ago by [email protected]
appdata: adjust screenshot URL. The URL of the appdata screenshot has been adjusted to improve clarity on the web server and provide more flexibility in the future if it's needed.
Posted about 6 years ago by [email protected]
SConstruct: explicitly convert check_output() results to strings. Under python3, check_output() returns bytes rather than strings. To permit certain string operations on the result, explicitly convert this to a string using decode(). This may address some issues encountered when using scons3 with python3.
Posted about 6 years ago by [email protected]
SConstruct: allow for the absence of svnversion during build. Contrary to earlier assumptions, check_output() does not deal gracefully with the absence of the target binary. Trap exceptions raised by check_output() when calling svnversion so FFADO can still be built on systems where subversion is not installed.
Posted about 6 years ago by [email protected]
Fix handling of errno in test-mixer and test-pan. To maintain compatibility with gcc6, errno can no longer be initialised like a variable. To ensure it's always defined, inclusion of cerrno is needed. These issues were solved in test-volume.cpp ... [More] and test-enhanced-mixer.cpp in r2605 (errno initialisation) and r2607 (inclusion of cerrno). Obviously the same changes are needed in test-mixer and test-pan., and it's not clear how this was missed in the earlier patches. It is probably related to the fact that these test programs are rarely compiled these days. Patch from Dave Plater. [Less]
Posted about 6 years ago by [email protected]
Minor python improvements to Scons scripts. Replace older alternatives with subprocess (CheckJackdVer? should be more efficient). Directly use python ordering for tuples. Stop importing unused modules. Replace hand-written comparisons with ... [More] startswith() (one was buggy). Open and close files with context managers. Patch from Nicolas Boulenguez with testing and minor fixes by Jonathan Woithe. [Less]
Posted about 6 years ago by [email protected]
Delete trailing whitespaces. Indent with spaces instead tabs. Patch from Nicolas Boulenguez.
Posted about 6 years ago by [email protected]
ffado-diag: correct regex used to find firewire controllers in lspci output. The previous re.findall() regex expected the PCI bus ID to be within literal parentheses, while the intent was probably to specify a subexpression (or "group" as python ... [More] calls it). When a subexpression (group) is included in the regex passed to re.findall(), the values produced re.findall() are the contents of the subexpression. A call to the group() method is not required. These changes have been tested on python2. [Less]
Posted about 6 years ago by [email protected]
SConstruct: correct install rule for ffado-mixer.appdata.xml. The wrong source filename was inadvertently referenced in the install rule added in r2756.