Skip to content
  1. Jul 22, 2013
  2. Jul 21, 2013
    • Sami Jaktholm's avatar
      Expo: Recompute glow quads if a desktop window is resized. · 73d2d066
      Sami Jaktholm authored
      (LP: #1090713). Fixes: https://bugs.launchpad.net/bugs/1090713.
      
      Approved by PS Jenkins bot, MC Return, Sam Spilsbury.
      73d2d066
    • MC Return's avatar
      Text, speed improvements: · 9bcc42c3
      MC Return authored
      Introduced
      const float halfPi    = PI / 2.0f; and
      const float triHalfPi = halfPi * 3;
      and used those to draw the rounded background.
      Introduced
      GLfloat xPlusWidth   = x + width; and
      GLfloat yMinusHeight = y - height;
      and used those coordinates for the vertexData array.
      
      Text, cleanup:
      
      Declaration of local variables outside of loops.
      Fixed indentation.
      
      Approved by PS Jenkins bot, Sam Spilsbury.
      9bcc42c3
    • MC Return's avatar
      img* plugins code cleanup: · fd1486a7
      MC Return authored
      Always bail out of function ASAP, do not calculate stuff you might not need.
      Declare variables outside of loops so they won't be re-declared in each loop.
      Use prefix instead of postfix increments.
      Declaration and assignment of variables in one line.
      Merged if condition checks.
      Added and removed brackets.
      Added and removed newlines, if appropriate.
      Minor code structure improvements, declare variables when you need them, not
      much earlier.
      Fixed indentation.
      
      Approved by PS Jenkins bot, Sam Spilsbury.
      fd1486a7
    • MC Return's avatar
      Firepaint, code cleanup: · 6b7d7bdf
      MC Return authored
      Declare variables outside of loops.
      Declaration and assignment of local variables in one line.
      Use pre- instead of postfix increment.
      Removed redundant newlines.
      Removed redundant casts. (from (float) optionGetFireColor)
      Removed redundant brackets.
      Added missing break (style issue only).
      Added comment and TODO.
      Fixed indentation.
      
      Firepaint, speedup:
      
      We just enable GL_BLEND if it is disabled and
      we just disable GL_BLEND if it was disabled before.
      
      Introduced the GLfloats xMinusW, xPlusW, yMinusH and
      yPlusH to store calculated coordinates instead of
      recalculating them multiple times.
      
      Introduced
      float fireLife = optionGetFireLife ();,
      float fireWidth = optionGetFireSize ();,
      float fireHeight = fireWidth * 1.5f; and
      bool mystFire = optionGetFireMystical ();
      and used those variables inside the loop.
      
      Firepaint, .xml.in cleanup:
      
      Firepaint now has 2 tabs, 'General' and 'Particle Settings'.
      The name of this plugin is Firepaint, <short> should not contain
      the description.
      Better description of the plugin.
      Uppercase option titles.
      Punctuation for tooltips.
      Improved tooltips.
      
      Firepaint, fixes:
      
      Initialize all class member variables in the ParticleSystem::
      ParticleSystem () ctor (LP: #1101512, LP: #1101580). Fixes: https://bugs.launchpad.net/bugs/1101512, https://bugs.launchpad.net/bugs/1101580.
      
      Approved by PS Jenkins bot, Sam Spilsbury.
      6b7d7bdf
    • MC Return's avatar
      src/session.cpp cleanup: · c5ecff28
      MC Return authored
      Declaration and assignment of local variables in one line.
      (this *should* fix bug #1101405)
      Use pre- instead of postfix increments.
      Added and removed newlines.
      Added missing break (just a style issue).
      Fixed indentation.
      
      (LP: #1101405). Fixes: https://bugs.launchpad.net/bugs/1101405.
      
      Approved by PS Jenkins bot, Sam Spilsbury.
      c5ecff28
    • BryanFRitt's avatar
      Fixed the non-working Annotate 'Clear' Button. · f7e431f9
      BryanFRitt authored
      Moved this option's CCSM position upwards to keep
      the button shortcuts together.
      
      (LP: #1202907). Fixes: https://bugs.launchpad.net/bugs/1202907.
      
      Approved by PS Jenkins bot, MC Return.
      f7e431f9
  3. Jul 19, 2013
    • Sami Jaktholm's avatar
      Bias the current viewport in addWindowSizeChanges. · 6de4aaf6
      Sami Jaktholm authored
      If window is visible in the current viewport, use that viewport when
      calculating geometries in addWindowSizeChanges. Otherwise the current method
      is used.
      
      This way visible windows are maximized in the current viewport.
      However, offscreen windows won't jump back to the active viewport if window
      maximizes by itself or addWindowSizeChanges is called for some other reason. Fixes: https://bugs.launchpad.net/bugs/776435.
      
      Approved by PS Jenkins bot, Brandon Schaefer, Sam Spilsbury.
      6de4aaf6
    • Sam Spilsbury's avatar
      Adjust acceptance tests for the fix to LP: #1198000 · a11ead6f
      Sam Spilsbury authored
        1. Always set frame extents before updating the frame
        2. Added COMPIZ_NO_CONFIGURE_BUFFER_LOCKS so that we don't have to deal
           with the delayed configure requests logic in the tests where it
           does not help
        3. Split restoredDecorationSize in to restoredDecorationBorderSize
           and restoredDecorationInputSize so that we can measure the size of
           the decoration both in terms of its visible and invisible border
        4. Wait for the default decoration properly
        5. Capture the initial geometry of the window with and without decorations
           when the window gets its first decoration. Use these values to calculate
           the size changes in the window from then on instead of its creation
           values
        6. Just flag when the window was first decorated in setWindowFrameExtents
           rather than checking if it is mapped. We only want to not resize
           the window once.
      
      Approved by PS Jenkins bot, Sam Spilsbury, Andrea Azzarone.
      a11ead6f
    • Sami Jaktholm's avatar
      Bias the current viewport in addWindowSizeChanges. · e4f2b054
      Sami Jaktholm authored
      If window is visible in the current viewport, use that viewport when
      calculating geometries in addWindowSizeChanges. Otherwise the current method
      is used.
      
      This way visible windows are maximized in the current viewport.
      However, offscreen windows won't jump back to the active viewport if window
      maximizes by itself or addWindowSizeChanges is called for some other reason.
      e4f2b054
    • Sam Spilsbury's avatar
      Merge lp:compiz · 9897c13f
      Sam Spilsbury authored
      9897c13f
    • BryanFRitt's avatar
  4. Jul 18, 2013
  5. Jul 17, 2013
  6. Jul 16, 2013
  7. Jul 15, 2013
  8. Jul 14, 2013
  9. Jul 12, 2013
  10. Jul 11, 2013