Re: [PATCH] awful.util: add linewrap()

2009-05-30 Thread Julien Danjou
At 1243640834 time_t, koniu wrote:
 On Thu, May 28, 2009 at 13:14, Julien Danjou jul...@danjou.info wrote:
  Pushed.
 
 Ay, sorry, forgot to add string to the environment, see amended patch.

Pushed.

-- 
Julien Danjou
// ᐰ jul...@danjou.info   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Anna Molly! Anna Molly! Anna Molly!


signature.asc
Description: Digital signature


Re: rounded wibox corners

2009-05-30 Thread Uli Schlachter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Julien Danjou wrote:
 Hi,
 
 At 1243625625 time_t, Uli Schlachter wrote:
 Should I try to do so or are there some issues with the current code that 
 would
 have to be sorted out first? (E.g. farhaven suggested to load the mask for 
 the
 rounded corners from a file instead of generating it, I dunno...)
 
 Seems pretty ok. Maybe it'd need some rearrangement to be more readable,
 and also respect a little more STYLES, but seems ok as far as I
 understand it.

Uhm, yeah, I bet it would at least cause some warnings with awesome's CFLAGS.

 What's your userland API proposal for this feature ?

Uhm, the plan so far was to have a corner_size and for each corner a setting
whether it should be rounded or not. Originally I planned a corner_size setting
for each corner, but maths defeated me (There were rounding issues).

 Because I'm wondering if exporting rounded corner is enough. I'd suggest
 we export more or less XShape to Lua and then add rounded corner, which
 is a particular usage of XShape, to awful.

Uhm... Actually, this could be done quite easy *if* someone adds some API for
drawing 1bit depth (black and white) pixmaps via some lua api :P

 YMMV, and I know nothing about XShape. :)

You create a 1bit pixmap (size doesn't really matter, it will be clipped to the
window's geometry) for your window. Everything which is black will be
transparent, the white part is what actually stays visible. Then you do one
single XShape call and the window got the pixmap's shape.
Well... XShape can do more than this and I just remember that I have to check
how it affects window borders. The spec allow you to set three pixmaps (I forgot
how those are called). One is describes the... uhm... shape? of the window.
Another one defines which part of the window is the border (the difference
between this pixmap and the last one is the window border) and XShape 1.1 adds a
new option which is the input area. I'm not exactly sure what this does, but I
guess it does something input related. ;)

Looking at the current image lua API, I kinda doubt that it's worth to use this
for generating a 1bit pixmap. Plus, if a window is resized you pretty much have
to set a new pixmap. Everything else would look ugly or make the resize 
pointless.

I think it's better to just have rounded via some C code for now...

Cheers,
Uli

P.S.: Since a 1bit pixmap is used there can be no gray involved and thus no
anti-aliasing is possible. I'd doubt if some fancy-shape window with rough
corners would look good...
- --
Do you know that books smell like nutmeg or some spice from a foreign land?
  -- Faber in Fahrenheit 451
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iQEcBAEBCAAGBQJKIPNZAAoJECLkKOvLj8sGBGAH/i1f2Ys3w/HvTx/LC373mfF7
Zuxt7ztlEXgsJ5jeOmt53xYhB0z0lbKIlOAJ3woXhIEDxKApZWmZuyzi3RDOd4uo
R00+9jsr0AV2/95m4BBtnSznXdVnvVDp/tCSh/01797lufNlyME+EUiJdPREiEoi
0ONRpXEXB6yypmRg4SgQDsKHkEyVsDcgJDq5XAUvcUNE4LPoaloiqEs4pHpqmnUt
/ekBEbM/3QhHQWqf1697/nFdfR7Y9ABQfu4cJ4QSIyhdiBkO2YehPgO/nMSOQr0B
XuzSi10EcwdQ8DxPjuxNQcghAiD0z+tD+K78Nz5+bgwSQe0PPObSu+/9Nfa2e+s=
=KZBR
-END PGP SIGNATURE-

-- 
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


Re: rounded wibox corners

2009-05-30 Thread Julien Danjou
At 1243673434 time_t, Uli Schlachter wrote:
 Looking at the current image lua API, I kinda doubt that it's worth to use 
 this
 for generating a 1bit pixmap. Plus, if a window is resized you pretty much 
 have
 to set a new pixmap. Everything else would look ugly or make the resize 
 pointless.

We could adapt image API for such a case.

 I think it's better to just have rounded via some C code for now...

I trust you on that.

 P.S.: Since a 1bit pixmap is used there can be no gray involved and thus no
 anti-aliasing is possible. I'd doubt if some fancy-shape window with rough
 corners would look good...

Depends, if you want to draw a triangle, it's enough. :-)

Cheers,
-- 
Julien Danjou
// ᐰ jul...@danjou.info   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Anna Molly! Anna Molly! Anna Molly!


signature.asc
Description: Digital signature


[awesome bugs] #476 - xxkb does not remember keyboard layout asociated with application in awesome 3.2

2009-05-30 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#476 - xxkb  does not remember keyboard layout asociated with application in 
awesome 3.2
User who did this - maxim (pax)

--
I have installed awesome 3.1 on my archlinux machine and the bug was not 
reproduced. Howewer, after upgrade to awesome 3.2 the bug appeared.
Also the bug is reproducible on my gentoo machine with awesome 3.2. 


Is the bug still reproducible in awesome 3.3 ?
--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=detailstask_id=476#comment1261

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 awesome-devel-unsubscr...@naquadah.org.


Re: rounded wibox corners

2009-05-30 Thread Andrei Thorp
I'd just like to add some of my obvious, possible use cases for this:

- Pretty rounded-off notifications (heck, with a composite manager and
a bit more magic, it would be easy to actually make them fade in/out
as is popular with notifications these days)
- Imagine you had a top-docked wibox -- you could round off the
corners furthest away from the top to make it look like it's tidily
attached to the top. Very fancy, I guess this is what the Mac top
panel looks like? (Also this would look even cooler if you made it
slide in/out for hiding or on startup)
- Could maybe round off menus too? this might not be as nice though.

Thanks a lot, Uli (and Plagman). I'm really surprised you've put it so
much effort to do all this on a whimsical request, but I'm very
grateful.

Cheers,

-Andrei Garoth Thorp

On Sat, May 30, 2009 at 2:22 AM, Uli Schlachter psyc...@znc.in wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Julien Danjou wrote:
 At 1243673434 time_t, Uli Schlachter wrote:
 P.S.: Since a 1bit pixmap is used there can be no gray involved and thus no
 anti-aliasing is possible. I'd doubt if some fancy-shape window with rough
 corners would look good...

 Depends, if you want to draw a triangle, it's enough. :-)

 Ok, here is the deal:
 XRender can also make parts of a window transparent and cairo supports this.
 XRender also allows stuff like 23.3% transparent, so there can also be some
 anti-aliasing, BUT this requires a running composite manager.

 When everyone is running composite managers I'll come up with some lua API for
 making triangle-shaped wiboxes. :P

 Cheers,
 Uli
 - --
 Do you know that books smell like nutmeg or some spice from a foreign land?
                                                  -- Faber in Fahrenheit 451
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iQEcBAEBCAAGBQJKIPrCAAoJECLkKOvLj8sG6rQIAMpw1oEjtvpcT0msBC2Xatal
 UAFrsV4qbntboGrzl4AyhEVSpvwVnAO0aD0vi83PJN7jDoha4Dvvg5NVr+4I6sYg
 Uq611SDQ9EYP1LZ2iiI9fHVErGqJkZrtzfAMA7M/FrtiRyJKtNEEqDNjmrkLWZDe
 fX6rvC11vsI5j6yqr8f5PaY+OTpRitSMPvCa8basqfN7uZB1ekPb/oss2oVXodPL
 iTKLqr4+BlnjXQokAVLkBmy/TQumERP00Ivg0rUs2B5u3nL0AwqRq/tYXqUTx+4j
 L4eKwQVSMC/Fdn/ugEB+wkDVp42geiE9Jemullaa0iemVMiDN4g4ttjCGCDqhOM=
 =2gQO
 -END PGP SIGNATURE-

 --
 To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


Australian Maan, Woman Torched in Barrels

2009-05-30 Thread recaption


uretic.rtf
Description: Binary data


[awesome bugs] #526 - awesome-3.3 won't launch kde4 apps

2009-05-30 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#526 - awesome-3.3 won't launch kde4 apps
User who did this - Alex Alexander (wired)

--
spawn, spawn_with_shell and the run prompt have the same results.

some kde4 apps don't start at all (like kmail), others start and stay in the 
background (they show up in ps ax) but never draw any windows (like dolphin).
--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=detailstask_id=526#comment1262

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 awesome-devel-unsubscr...@naquadah.org.


[awesome bugs] #525 - window borders break when changing display orientation

2009-05-30 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#525 - window borders break when changing display orientation
User who did this - Thomas Nilsson (Knirch)

--
(warning, hopefully excessive information included)

I've witnessed the same problem, my current setup (was) in debian sid:

x11-common 7.4+1   
xserver-xorg   7.4+1   
xserver-xorg-core  1.6.1.90
xserver-xorg-input-evdev   2.2.2-1 
xserver-xorg-input-kbd 1.3.2-3 
xserver-xorg-input-mouse   1.4.0-2 
xserver-xorg-video-nv  2.1.13-1


sadly my card didn't want to work with nv, so that's irrelevant, the current 
nvidia closed source driver was the same during the tests, so that's probably 
out of the picture aswell. Downgrading to the current list:

x11-common 7.3+18   
xserver-xorg   7.3+18   
xserver-xorg-core  1.4.2-10 
xserver-xorg-input-evdev   2.0.8-1  
xserver-xorg-input-kbd 1.3.1-1  
xserver-xorg-input-mouse   1.3.0-1  
xserver-xorg-video-nv  2.1.10-1 


resolved the problem for me. Awesome version didn't change the behavior for me. 
I personally didn't try with another wm (didn't have one installed at the 
moment, and with the exception of proving it's not awesome, who'd have anything 
else installed? :))

I'd guess this is a relevant bugreport from freedesktops bugzilla:
https://bugs.freedesktop.org/show_bug.cgi?id=20287
could be related:
https://bugs.freedesktop.org/show_bug.cgi?id=19519

and a few more; https://bugs.freedesktop.org/buglist.cgi?quicksearch=rotate

they all seem to have xorg 7.4 in common. A bunch of these reports include 
patches which could help fix your (and mine) problem, I've however too lazy to 
compile xorg myself, so I'll just monitor the bugs that seem relevant and hope 
it gets resolved quickly :)

--

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=detailstask_id=525#comment1263

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 awesome-devel-unsubscr...@naquadah.org.


Pedestrian chaarged for walking over car

2009-05-30 Thread Janower


crow.rtf
Description: Binary data