lp:~mc-return/compiz/compiz.merge-fix1173684-shift-switcher-broken-and-hardcoded-text-placement

Created by MC Return and last modified
Get this branch:
bzr branch lp:~mc-return/compiz/compiz.merge-fix1173684-shift-switcher-broken-and-hardcoded-text-placement
Only MC Return can upload to this branch. If you are MC Return please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
MC Return
Project:
Compiz
Status:
Merged

Recent revisions

3682. By MC Return

Fixed bottom position calculation

3681. By MC Return

Fixed indentation
Fixed typo

3680. By MC Return

*Shift Window Switcher:

Implemented new option to adjust the vertical offset of the text placement.
Fixed vertical placement calculation for top and bottom positions
Removed hardcoded and redundant float border

Use 256x256 pixel resolution for icons, instead of 96x96
Minor indentation fixes

3679. By MC Return

Refactor screenshot code to make it clearer and also to allow us to take
screenshots in glPaintOutput as opposed to paint ().

Taking screenshots in paint () was probably correct pre-GLES, but isn't
really correct now - we want to be able to read off of the currently
bound scratch framebuffer where we last painted the frame. Reading off
the frontbuffer is an imprecise operation because the contents of both
buffers are really undefined after a swap. In the case where we are
not painting to a scratch framebuffer object, we'll just end up reading
from the backbuffer anyways, which would be correct to do mid-frame.

Also added the new static const GLenums
DRAW_FRAMEBUFFER_BINDING and
READ_FRAMEBUFFER_BINDING to opengl.h.

(LP: #771875). Fixes: https://bugs.launchpad.net/bugs/771875.

Approved by PS Jenkins bot, Sam Spilsbury.

3678. By MC Return

Shift Switcher .xml cleanup:

Better description of the plugin's function.
Fixed load before "bs" plugin typo -> it is the obs plugin.
Created a "Switcher Mode" tab and moved Flip/Cover mode settings there.
Created a subgroup for mouse-specific settings.
Better tooltips with enhanced descriptions.
Improved titles.
Fixes all around (typos, etc.).

Approved by PS Jenkins bot, Sam Spilsbury.

3677. By MC Return

Cube .xml cleanup:

Better plugin description.
Uppercase titles.
Improved tooltips.

Approved by PS Jenkins bot, Sam Spilsbury.

3676. By Sam Spilsbury

Rewrite screen size change tests.

1. Rename the overly-terse variables names to variables names that have some
   significance
2. Split the giant three-test structure into multiple tests each with only one
   assert
3. Remove a lot of redundant calculation
4. Remove magic numbers peppered throughout the code. Use constants and
   express asserts as relationships between those constants.
5. Refactor some of the more common test-advancement code (such as changing
   the screen size) into the test fixture as common methods.

(LP: #1167983). Fixes: https://bugs.launchpad.net/bugs/1167983.

Approved by PS Jenkins bot, Steve Langasek.

3675. By MC Return

Workspacenames .xml cleanup:

Better description of the plugin's functionality.
Improved tooltips.

Approved by PS Jenkins bot, Sam Spilsbury.

3674. By MC Return

Grid, code cleanup:

Merged if statements.
Replaced magic number 65535.0f with const float MaxUShortFloat =
std::numeric_limits <unsigned short>::max ();.
Use prefix- instead of postfix-increment.
Removed redundant (float) casts.
Removed redundant brackets.
Added and removed newlines to improve readability.
Minor indentation fixes.

Approved by PS Jenkins bot, Sam Spilsbury.

3673. By MC Return

Animation code cleanup:

Use prefix- instead of postfix- in- and decrements.
Removed redundant brackets.
Added and removed newlines where appropriate.
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
This branch contains Public information 
Everyone can see this information.

Subscribers