[awesome bugs] #357 - git-awesome leaks memory

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#357 - git-awesome leaks memory
User who did this - calmar (calmar)

--
it seems it's possible to increase the memory by opening/closing clients. Gimp 
or just terminals. Like opening 20 and closing them again etc. It seems.

http://www.calmar.ws/tmp/typescript  <- pmap `pidof awesome`
--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=357#comment831

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #357 - git-awesome leaks memory

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#357 - git-awesome leaks memory
User who did this - calmar (calmar)

--
I can at least about confirm it.

like shown on the screenshot: http://www.calmar.ws/tmp/013-Fri-screen.png (~41%)

I don't use ultimate latest git, but I try also to dig it down then.
--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=357#comment830

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #357 - git-awesome leaks memory

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#357 - git-awesome leaks memory
User who did this - Julien Danjou (jd)

--
Hum nop, unless I'm missing something that's just a proof that it only leak 23 
KB which is just ridiculous. :)

Could you try to paste me some pmap `pidof awesome` after running it a while?
--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=357#comment829

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


Analogue Clock for Awesome 3

2008-10-23 Thread Gregor Best
Hi people,

with the help of some patches by jd, I today got around creating an analogue
clock widget for Awesome3. If you could test it and give me some feedback, I'd
be more than pleased.

Setting it up is really straight forward:

1) You need oocairo for this to work, grab it from
http://www.daizucms.org/lua/library/oocairo/download/lua-oocairo-1.1.tar.gz
2) You need a patch by jd, grab this one from http://paste.debian.net/19797/
3) Patch the source with the above patch, compile and install it
4) Place the attached cairoclock.lua somewhere where Lua can find it, the best
place is IMHO ~/.config/awesome
5) Add a require("cairoclock") to your config
6) Add an imagebox to your statusbar and pass this imagebox to
cairoclock.start like this:
ib_clock = widget({ type = "imagebox", name = "clock", align = "right" })
cairoclock.start(ib_clock)

After restarting awesome, your statusbar should display a simple round clock
with three hands, the red one is for seconds, the green one for minutes and the
blue one for hours.

Gregor Best-- {{{ environment
local cairo = require("oocairo")
local awful = require("awful")
local beautiful = require("awful.beautiful")
local math  = math
local image = image
local wibox = wibox
local widget= widget
local os= os
local tonumber  = tonumber

module("cairoclock")
-- }}}
-- {{{ locals
local w = 40
local h = 40
local center= { math.floor(w/2), math.floor(h/2) }
local PI= 2 * math.asin(1)
local time  = nil
local cs= nil
local cr= nil
-- }}}
-- {{{ hexcolor_decimal
function hexcolor_decimal (hexcolor)
local red = hexcolor:sub(2, 3)
local green = hexcolor:sub(4, 5)
local blue = hexcolor:sub(6, 7)
local alpha = hexcolor:sub(8, 9)

local hexdata = { ['a'] = 10, ['b'] = 11, ['c'] = 12, ['d'] = 13, ['e'] = 14, ['f'] = 15 }

function hextodec (hex)
local decimal
local s = hex:sub(1, 1)
if not tonumber(s) then
decimal = hexdata[s:lower()]
else
decimal = tonumber(s)
end
s = hex:sub(2, 2)
decimal = decimal * 16
if not tonumber(s) then
decimal = decimal + hexdata[s:lower()]
else
decimal = decimal + tonumber(s)
end

return decimal
end

local dcolor = { }
dcolor[1] = hextodec(red) / 255
dcolor[2] = hextodec(green) / 255
dcolor[3] = hextodec(blue) / 255
if alpha and alpha ~= "" then
dcolor[4] = hextodec(alpha) / 255
end
return dcolor
end
-- }}}
-- {{{ circle
--- Draw a circle
-- [EMAIL PROTECTED] c the drawing context
-- [EMAIL PROTECTED] p a table containing the center point of the circle
-- [EMAIL PROTECTED] r the circle's radius
-- [EMAIL PROTECTED] color table containing the color to draw
-- [EMAIL PROTECTED] w the linewidth, leave nil for filled circle
function circle (c, p, r, color, w)
c:new_sub_path()
c:arc(p[1], p[2], r, 0, 2 * PI)
c:close_path()
c:set_source_rgb(color[1], color[2], color[3])
if w then
c:set_line_width(w)
c:stroke()
else
c:fill()
end
end
-- }}}
-- {{{ line
--- Draw a line
-- [EMAIL PROTECTED] c the drawing context
-- [EMAIL PROTECTED] from a table for the starting point
-- [EMAIL PROTECTED] to see above for the ending point
-- [EMAIL PROTECTED] color table containing
-- [EMAIL PROTECTED] w the line width
function line (c, f, t, color, w)
c:new_sub_path()
c:move_to(f[1], f[2])
c:line_to(t[1], t[2])
c:set_source_rgb(color[1], color[2], color[3])
c:set_line_width(w)
c:stroke()
end
-- }}}
-- {{{ update time
function update_time (box)
time = os.date("%I:%M:%S")
local second = tonumber(time:match(".*(%d%d)$"))
local minute = tonumber(time:match(".*:(%d%d):.*"))
local hour   = tonumber(time:match("^(%d%d).*"))
local angle
local x
local y
-- {{{ clear drawing context
cb = beautiful.get().bg_normal or "#303030"
cb = hexcolor_decimal(cb)

cr:new_sub_path()
cr:move_to(0, 0)
cr:line_to(w, 0)
cr:line_to(w, h)
cr:line_to(0, h)
cr:close_path()
cr:set_source_rgb(cb[1], cb[2], cb[3])
cr:fill()
-- }}}
circle(cr, center, math.floor(math.min(w, h) / 2) - 2, { 0, 0, 0 }, 2)
-- {{{ hour handle
angle = ((12 - hour) * 30 + 180) * 0.01745
x = math.floor(math.sin(angle) * ((math.min(w, h) / 2) - 2))
y = math.floor(math.cos(angle) * ((math.min(w, h) / 2) - 2))
line(cr, center, { center[1] + x, center[2] + y }, { 0, 0, 1 }, 2)
-- }}}
-- {{{ minute handle
angle = ((60 - minute) * 6 + 180) * 0.01745
x = math.floor(math.sin(angle) * ((math.min(w, h) / 2) - 3))
y = math.floor(math.cos(angle) * ((math.min(w, h) / 2) - 3))
line(cr, center, { center[1] + x, center[2] + y }, { 0, 1, 0 }, 2)
-- }}}
-- {{{ seconds handle
angle = ((60 - second) * 6 + 180) * 0.01745
x = math.floor(math.sin(angle) * ((math.min(w, h)

[awesome bugs] #357 - git-awesome leaks memory (Attachment added)

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#357 - git-awesome leaks memory
User who did this - Hannes Schulz (hannes)

--
I'm not sure whether this helps, I compiled awesome with CMAKE_BUILD_TYPE=Debug 
and ran valgrind --leak-check=full awesome for a while, clicking this, opening 
that... it says that 23 KB were definitely lost during the short time (1min 
max). I attach the valgrind-log. If you need something else, please tell me 
what to do.
--

One or more files have been attached.

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=357#comment828

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #357 - git-awesome leaks memory

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#357 - git-awesome leaks memory
User who did this - Hannes Schulz (hannes)

--
I'll try to figure it out, but I'm not quite proficient regarding valgrind. The 
problem, however, persists, I'm back to 18% RAM usage now (htop).
--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=357#comment827

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #358 - naughty: no screen height limit handling

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#358 - naughty: no screen height limit handling
User who did this - koniu (koniu)

--
basic implementation:
http://git.mercenariesguild.net/?p=awesome.git;a=commit;h=d68347faa3fabbbc7dee3999647bd60d8a3d51bc

TODO: sticky handling

--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=358#comment826

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #353 - Taglist doesn't have specified color when not using bautifull and no squares.

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task is now closed:

FS#353 - Taglist doesn't have specified color when not using bautifull and no 
squares.
User who did this - Julien Danjou (jd)

Reason for closing: Fixed
Additional comments about closing: commit 
9f8773ddfaf09ee6e3a5d7fd69a08f75b6c62469
Author: Julien Danjou <[EMAIL PROTECTED]>
Date:   Thu Oct 23 17:55:38 2008 +0200

   awful.widget: fix taglist label without beautiful (FS#353)
   
   Signed-off-by: Julien Danjou <[EMAIL PROTECTED]>



More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=353

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #359 - naughty: icon gets scaled to full popup height

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - koniu (koniu) 


Attached to Project - awesome
Summary - naughty: icon gets scaled to full popup height
Task Type - Bug Report
Category - naughty
Status - Assigned
Assigned To - koniu
Operating System - All
Severity - Low
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - Currently imagebox widget (used to display the icon) automatically scales to parent wibox height. 

This depends on FS#352, I'm adding this one to have a track of outstanding naughty issues. 


http://img157.imageshack.us/my.php?image=200810202100311024x768sut9.png
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=352

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=359

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #358 - naughty: no screen height limit handling

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - koniu (koniu) 


Attached to Project - awesome
Summary - naughty: no screen height limit handling
Task Type - Bug Report
Category - Core
Status - New
Assigned To - koniu
Operating System - All
Severity - Low
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - Yeah, right now new popups will be displayed off screen if its all of 
available height is occupied by previous notifications. This is an issue most 
likely to occur with multiline IM notifications or with very limited screen 
sizes.

I'm implementing premature destroy() unless the popup is sticky (ie. timeout = 
0) to have the popups scroll as they come.

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=358

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #297 - keybord is very slow sometimes

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#297 - keybord is very slow sometimes
User who did this - OttoAllmendinger (OttoA)

--
I am using ArchLinux and the files from the repository suggested in the wiki.

On second reading, I think our bugs are not related. 


I once had the same bug as you, but I think it was with KDE and Compiz, not 
with awesome. All I could do was hit Ctrl-Alt-Backspace (slowly and 
sequentially ;-))
--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=297#comment825

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #357 - git-awesome leaks memory

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#357 - git-awesome leaks memory
User who did this - Julien Danjou (jd)

--
Hum, a quick look with valgrind did not reveal anything suspicious so far.

Any bigger chance on your side?
--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=357#comment824

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #357 - git-awesome leaks memory

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Hannes Schulz (hannes) 


Attached to Project - awesome
Summary - git-awesome leaks memory
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - 
Operating System - Linux

Severity - High
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - In Version v3.0-220-g183f372:

awesome seems to leak memory.

On my 750MB RAM computer, it occupied 31% yesterday. 
I restarted it (2.8% mem occupied by awesome).

After a few hours of using it, I'm back to 18% today.

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=357

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #351 - Mouse warping causes strange behaviour when moving mouse between windows

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#351 - Mouse warping causes strange behaviour when moving mouse between 
windows
User who did this - Julien Danjou (jd)

--
I mark that as fixable for 3.1, but I did not try to reproduce it for now.

What I can tell is that arrange() is call on focus events because some layouts 
like magnifier change windows position on focus change, so that's normal.
--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=351#comment823

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #346 - Apps running from awful.spawn have niceness 5

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task is now closed:

FS#346 - Apps running from awful.spawn have niceness 5
User who did this - Julien Danjou (jd)

Reason for closing: Not a bug
Additional comments about closing: Not a real bug, depends on the shell 
configuration.

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=346

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #356 - There are two close buttons if you use window titlebars

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task is now closed:

FS#356 - There are two close buttons if you use window titlebars
User who did this - Julien Danjou (jd)

Reason for closing: Fixed
Additional comments about closing: commit 
3005196d6440d9fe68007959610a76cbbc609834
Author: Julien Danjou <[EMAIL PROTECTED]>
Date:   Thu Oct 23 11:22:58 2008 +0200

   awful.titlebar: use pairs instead of ipairs
   
   Signed-off-by: Julien Danjou <[EMAIL PROTECTED]>



More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=356

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #11 - Display running apps

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task is now closed:

FS#11 - Display running apps
User who did this - Julien Danjou (jd)

Reason for closing: Implemented
Additional comments about closing: commit 
dc58313eeeaa1955a22db459bb6bf7779bca5582
Author: Julien Danjou <[EMAIL PROTECTED]>
Date:   Thu Oct 23 11:19:46 2008 +0200

   awful.menu: add a menu for listing clients
   
   This also allows usage of images object as icons, and destroy menu on

   function execution.
   
   Signed-off-by: Julien Danjou <[EMAIL PROTECTED]>



More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=11

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #28 - Menu system on awesome

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task is now closed:

FS#28 - Menu system on awesome
User who did this - Julien Danjou (jd)

Reason for closing: Implemented
Additional comments about closing: commit 
4d5b43a75e274f16ed115df12dd8f41109006e56
Author: Damien Leone <[EMAIL PROTECTED]>
Date:   Wed Oct 22 14:22:48 2008 +0200

   awful.menu: import
   
   Signed-off-by: Julien Danjou <[EMAIL PROTECTED]>



More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=28

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]


[awesome bugs] #297 - keybord is very slow sometimes

2008-10-23 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#297 - keybord is very slow sometimes
User who did this - Michal Nowak (mnowak)

--
Otto: 

What distro is it? 


I am on Fedora Rawhide and don't have xcompmgr, but will definitely check 
whether is there the 20-30% spinning.
--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=297#comment822

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [EMAIL PROTECTED]