Merge lp:~timo-jyrinki/compiz/blacklist_remove_double_escape_from_xml into lp:compiz/0.9.9
Status: | Rejected |
---|---|
Rejected by: | Timo Jyrinki |
Proposed branch: | lp:~timo-jyrinki/compiz/blacklist_remove_double_escape_from_xml |
Merge into: | lp:compiz/0.9.9 |
Diff against target: |
12 lines (+1/-1) 1 file modified
plugins/opengl/opengl.xml.in (+1/-1) |
To merge this branch: | bzr merge lp:~timo-jyrinki/compiz/blacklist_remove_double_escape_from_xml |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Compiz Maintainers | Pending | ||
Review via email: mp+140139@code.launchpad.net |
Commit message
Remove double escaping ('\\.') from the XML unredirect_
Description of the change
Remove double escaping ('\\.') from the XML unredirect_
It's there in the test code when it's inside C code, but in XML it shouldn't be double escaped?
Unredirection can be tested by getting enough options set in a specific way and a non-vsyncing video player, then opening a tearing test http://
Tested on AMD Radeon 6670 on precise (where the blacklist is meant to have its only effect) hardware with the string (nouveau|AMD).*Mesa 8\\.0 vs. (nouveau|AMD).*Mesa 8\.0 - with the former the blacklist doesn't disable unredirecting, with the latter it does. Presumptions on AMD hardware are that unredirect_
Tested on Intel hardware with the default string vs. the new default (nouveau|
Unmerged revisions
- 3531. By Timo Jyrinki
-
Remove double escaping ('\\.') from the XML unredirect_
driver_ blacklist default. (LP: #1091103)
The proposed change results in a build failure (opengl_ options. cpp:48: 80: error: unknown escape sequence: '\.' [-Werror]), even though if user set it works fine.
Unless other suggestions appear, working on a replacement that removes the escaping altogether from both the xml file and the tests, even though that's of course 'any character' then instead of a dot. There are not many "Mesa 8[anycharacter]0":s other than "Mesa 8.0" in the strings, though.