lp:~mc-return/compiz/compiz.merge-animation-code-cleanup
Created by
MC Return
and last modified
- Get this branch:
- bzr branch lp:~mc-return/compiz/compiz.merge-animation-code-cleanup
Branch merges
Propose for merging
No branches
dependent on this one.
- Sami Jaktholm (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Compiz Maintainers: Pending requested
-
Diff: 5739 lines (+1325/-1054)18 files modifiedplugins/animation/src/animation.cpp (+440/-329)
plugins/animation/src/curvedfold.cpp (+18/-20)
plugins/animation/src/dodge.cpp (+95/-67)
plugins/animation/src/dream.cpp (+10/-11)
plugins/animation/src/extensionplugin.cpp (+81/-53)
plugins/animation/src/fade.cpp (+4/-5)
plugins/animation/src/focusfade.cpp (+8/-7)
plugins/animation/src/glide.cpp (+11/-11)
plugins/animation/src/grid.cpp (+41/-46)
plugins/animation/src/horizontalfold.cpp (+17/-21)
plugins/animation/src/magiclamp.cpp (+48/-57)
plugins/animation/src/options.cpp (+147/-116)
plugins/animation/src/private.h (+284/-205)
plugins/animation/src/restack.cpp (+52/-35)
plugins/animation/src/rollup.cpp (+10/-12)
plugins/animation/src/transform.cpp (+6/-7)
plugins/animation/src/wave.cpp (+9/-9)
plugins/animation/src/zoomside.cpp (+44/-43)
Related bugs
Related blueprints
Recent revisions
- 3718. By MC Return
-
ccp code cleanup:
Declare variables if you need them, do not declare them if you return.
Declare CCSSettingValue *val; outside the foreach loop.
Use prefix instead of postfix increments.
Merged if condition checks.
Declaration and assignment of variables in one line.
Removed redundant brackets.
Added and removed newlines.
Fixed indentation.Approved by PS Jenkins bot, Sam Spilsbury.
- 3717. By MC Return
-
Text plugin code cleanup:
Do not declare variables you do not need if you return anyway.
Use prefix instead of postfix increments.
Merged if condition checks.
Declaration and assignment of variables in one line.
Added and removed newlines.
Removed redundant brackets.
Fixed indentation.Approved by PS Jenkins bot, Sam Spilsbury.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:compiz/0.9.10