Merge lp://qastaging/~mc-return/compiz/compiz.fix1030473-part1 into lp://qastaging/compiz/0.9.8
Proposed by
MC Return
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | 3460 |
Merged at revision: | 3301 |
Proposed branch: | lp://qastaging/~mc-return/compiz/compiz.fix1030473-part1 |
Merge into: | lp://qastaging/compiz/0.9.8 |
Diff against target: |
1789 lines (+192/-190) 54 files modified
cmake/src/compiz/compiz_discover_gtest_tests.cpp (+2/-2) compizconfig/libcompizconfig/src/bindings.c (+1/-1) compizconfig/libcompizconfig/src/compiz.cpp (+19/-17) gtk/window-decorator/events.c (+3/-3) kde/window-decorator-kde4/window.cpp (+1/-1) plugins/animation/src/animation.cpp (+8/-8) plugins/animation/src/extensionplugin.cpp (+3/-3) plugins/animationaddon/src/burn.cpp (+1/-1) plugins/annotate/src/annotate.cpp (+1/-2) plugins/ccp/src/ccp.cpp (+1/-1) plugins/clone/src/clone.cpp (+2/-2) plugins/colorfilter/src/parser.cpp (+2/-1) plugins/compiztoolbox/src/compiztoolbox.cpp (+2/-2) plugins/composite/src/screen.cpp (+3/-3) plugins/cubeaddon/src/cubeaddon.cpp (+14/-13) plugins/dbus/src/dbus.cpp (+1/-1) plugins/decor/src/clip-groups/tests/clip-groups/src/test-decor-clip-groups.cpp (+1/-1) plugins/decor/src/decor.cpp (+4/-8) plugins/extrawm/src/extrawm.cpp (+2/-2) plugins/ezoom/src/ezoom.cpp (+2/-3) plugins/firepaint/src/firepaint.cpp (+1/-2) plugins/grid/src/grid.cpp (+4/-4) plugins/group/src/group.cpp (+1/-1) plugins/group/src/init.cpp (+4/-4) plugins/group/src/paint.cpp (+1/-1) plugins/group/src/selection.cpp (+4/-4) plugins/group/src/tab.cpp (+3/-3) plugins/loginout/src/loginout.cpp (+2/-2) plugins/mousepoll/src/mousepoll.cpp (+2/-2) plugins/opengl/src/fragment.cpp (+1/-1) plugins/opengl/src/paint.cpp (+1/-1) plugins/place/src/place.cpp (+1/-1) plugins/place/src/screen-size-change/src/screen-size-change.cpp (+3/-3) plugins/resize/src/resize.cpp (+11/-12) plugins/ring/src/ring.cpp (+6/-6) plugins/scale/src/scale.cpp (+2/-2) plugins/session/src/session.cpp (+6/-8) plugins/shift/src/shift.cpp (+4/-2) plugins/snap/src/snap.cpp (+4/-4) plugins/staticswitcher/src/staticswitcher.cpp (+4/-4) plugins/switcher/src/switcher.cpp (+1/-1) plugins/td/src/3d.cpp (+1/-1) plugins/trailfocus/src/trailfocus.cpp (+2/-2) plugins/wall/src/offset_movement/src/offset-movement.cpp (+1/-1) plugins/wobbly/src/wobbly.cpp (+17/-13) src/event.cpp (+1/-1) src/match.cpp (+2/-2) src/plugin.cpp (+3/-3) src/screen.cpp (+15/-13) src/stackdebugger.cpp (+6/-6) src/timer/src/timeouthandler.cpp (+1/-1) src/timer/src/timer.cpp (+2/-2) src/timer/tests/callbacks/src/test-timer-callbacks.cpp (+1/-1) src/timer/tests/while-calling/src/test-timer-set-times-while-calling.cpp (+1/-1) |
To merge this branch: | bzr merge lp://qastaging/~mc-return/compiz/compiz.fix1030473-part1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Approve | ||
MC Return | Needs Resubmitting | ||
Sam Spilsbury | Approve | ||
Review via email:
|
Commit message
Fixed various problems described in bug 1030473.
Optimized performance and style following suggestions reported by cppcheck:
1. Reduced the scope of various variables.
2. Used prefix ++ operators for non-primitive types, because those can be more efficient than post-increment. Post-increment usually keeps a copy of the previous value, adds extra code and is slower.
Description of the change
Fixes various problems described in bug 1030473.
To post a comment you must log in.
Still a lot to do :)
[/compizconfig/ compizconfig- python/ compizconfig. c:619]: (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:652]: (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:818]: (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1335] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1343] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1354] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1362] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1370] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1378] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1398] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1431] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1475] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1508] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1532] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:1570] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:2007] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:2057] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:2722] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:3047] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:3136] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:3630] : (style) The second of the two statements can never be executed, and so should be removed. compizconfig- python/ compizconfig. c:3648] : (style) The second of the two stateme...
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/
[/compizconfig/