lp:~mc-return/compiz/compiz.merge-fix1114525-cppcheck-reveals-true-positives

Created by MC Return and last modified
Get this branch:
bzr branch lp:~mc-return/compiz/compiz.merge-fix1114525-cppcheck-reveals-true-positives
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

3602. By MC Return

xv and yv are of type unsigned int, so we %u is the right
format to snprintf them, not %d

3601. By MC Return

int lco, rco, tco and bco got the value output assigned, but this
value never was used, but all got new values assigned a few lines
later
Declare and assign int lco, rco, tco and bco in the same line

3600. By MC Return

Commented out calculation of x2, because this value gets recalculated
a few lines later before having been used

3599. By MC Return

Use prefix ++ operators to increase w (x2) and it in their for loops,
because pre-increment can be more efficient

3598. By MC Return

Use prefix ++ operator to increase rit in the for loop,
because pre-increment can be more efficient

3597. By MC Return

Do not assign false to bool rv, because a new value is reassigned
a few lines later, before the old one has been used
Declare and assign bool rv in the same line instead

3596. By MC Return

Removed useless calculation of distance, because the calculated value is never used

3595. By MC Return

Removed unused variable TfWindowList::iterator iter in TrailfocusScreen::refillList ()

3594. By MC Return

quilt ubuntu-config.patch refresh:
The unmaximize_or_minimize_window_key replaces the unmaximize_window_key, so
Ctrl+Super+Down is now the shortcut for the unmaximize_or_minimize_window_key.

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

Approved by Michael Terry.

3593. By MC Return

Thumbnail plugin, new features:

Added a rounded background to the window title text.

Made the distance between text and thumbnail configurable.

Window-like-background or glow are now rendered around
the thumbnail live preview only, excluding the text.
This ensures no transparent hole is generated anymore and
fixes the look of the window title text rendering, while
enhancing the possibility for customization.

Code cleanup:

Return ASAP if the text plugin is not loaded.
No need to check if (t->text) twice.
Improved height calculation.

thumbnail.xml.in changes:

Added options to adjust the text distance (pixel between
thumbnail and window title text) and font background color
and opacity.

Made the window title text font white and fully opaque
to create a sane default, otherwise it would not be
visible on a transparent black background (alpha and color
are the same like the default background/glow color).

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

Approved by Brandon Schaefer, 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.9
This branch contains Public information 
Everyone can see this information.

Subscribers