Hi, Here it comes the new awesome!
I won't say this time that the changes are heavy. There are a bunch of them which make the awesome experience even sexier, and we do not break too much things so I'm quite happy even with +11/-8K SLOC modified. Notable changes are wibox, window stacking enhacements, embedded windows working (PDF in your browser!), image type, minimize state, wibox widget's structure change and the taglist/tasklist now written in Lua. There's also a bunch of new libraries that can be useful, such as naughty, awful.menu, etc. An announcement with a more human readable changelog is available[1]. I hope you'll enjoy this release as much as we did doing it. Many kudos to everyone who participated and sent patches. [1] http://awesome.naquadah.org/news/version_3.1-rc1/ Cheers, -- Julien Danjou // ᐰ <[EMAIL PROTECTED]> http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD awesome version 3.1-rc1 has been released. It is available from: tar.gz: http://awesome.naquadah.org/download/awesome-3.1-rc1.tar.gz md5sum: 069a1af3af61e4e95b08e34d79adf76a tar.bz2: http://awesome.naquadah.org/download/awesome-3.1-rc1.tar.bz2 md5sum: 853b9ce16f527869e180cc3adee35748 number of changes ----------------- 314 shortlog -------- Andrei Thorp (1): Added swapbydirection to client.lua.in in awful. Damien Leone (12): awful.menu: import awesomerc: added menu stuff awful.menu: align text when item doesn't have icon default theme: fix typo in icon path awesomerc.lua: use nano by default if no editor found in env awful.menu: change menu parameters to use a table, add height and width parameters awful.menu: prevent menus from poping outside the work area awful.menu: fix screen width computation awful.menu: add custom theme and fix various bugs awful.menu: add a close function and fix various bugs awful.menu: add menu_toggle parameter awesomerc: add menu_toggle parameter for the menu launcher Gregor Best (16): add beautiful support to invaders.lua and change Garoth' name Change enemy colors Fix 1800 points bug and finally get beautiful support working Various changes to awful.util and invaders Increased Invaders difficulty invaders: change enemy distribution invaders: add luadoc comments invaders: clean code invaders: change points per enemy invaders: remove unused graphics invaders: fix indention and spacing invaders: remove useless shots table invaders: code cleanup invaders: code cleanup invaders: replace ammo with round display invaders: fix broken screenshot path Gwenhael Le Moine (1): Fine tuned 'fairh' and 'fairv' layouts. Julien Danjou (262): awful: strip alpha channel in pango colors awesome-client: fix memleak in history awesome-client: read on !tty luaa: fix typo mouse: rework mouse buttons API, support release events draw: add support for top and left bg_margin awful: add button widget in awful awful: titlebars use awful.widget.button now client: check for visibility before arranging client: add support for the sticky attribute client: remove useless skip attribute client: rework all stacking stuff client: export fullscreen statusbar: add statusbar_getbywin() event: simplify widget get by coords widget: add support for mouse enter and leave events awful: button reset on mouse leave hooks: rename mouseover to mouse_over and simplify config client: split X props; handle fullscreen status mouse: simplify button push awful: button handle enter if mouse button pushed awful: implement under_mouse placement titlebar: remove/add now handle border client: now support fullcoords, with border and titlebar included awful: add no_overlap and no_offscreen placement placement: deprecate in favor of awful.placement client: remove deprecated focus_{set,get} mouse: cosmetic keygrabber: push an hash table instead of indexed table client: store size hints client: use a type attribute for NET WM window type client: export window type awful: refuse to set titlebar on no-normal windows titlebar: restack clients on titlebar add client: support input focus hints client: honorsizehints is now default awful: create a new launcher widget awesomerc: logo is now a launcher ewmh: add support for _NET_WM_STRUT_PARTIAL client: manage take phys_screen as arg screen: move screen_getbycoord() statusbar: only rebuild when necessary lua: export AWESOME_RELEASE tasklist: ignore some windows type client: inline isvisible() client: stop default tagging of sticky windows screen: invalidate widget cache on move mouse: redraw statusbar rt on screen move ewmh: avoid useless p_new awesomerc: simplify client: split minimized out of hidden event: unmanage or external reparenting (FS#41) client: floating state is only for normal type client: add a DOCK layer awful: filter focus by type lua: deprecate and replace {font,colors}_set lua: push color without alpha is not needed common: move draw, xscreen and swindow out image: add new image type ewmh: store netwm icon as draw_image_t client: merge icon_path and netwm icon widgets: replace appicon by imagebox property: use xcb property handler system client: open transient windows on the same screen xutil: inline xutil_error_delete draw: remove GdkPixBuf support draw: iconv is local image: merge draw_image_t and image_t image: add function to create from argb32 data image: add rotate and crop methods ewmh: add support for _NET_WM_STATE_TOGGLE ewmh: update window hints client: deprecate visible_get client: introduce isvisible() client: client.get() supports screen as argument awful: stop using deprecated visible_get() xscreen: remove useless screensinfo_delete screen: merge with xscreen, remove screens_info xutil: do not return pointer, init struct instead titlebar: remove old position attribute statusbar: remove width_user systray: use a_ functions statusbar: remove phys_screen attribute screen: store statusbars as array util: import orientation draw: merge draw context into swindow swindow: do not store phys_screen; store border color window: remove spurious printf event: fix left/right events event: add partial redraw wibox: merge statusbar and titlebar types use more precise types wibox: remove name wibox: wibox_refresh merge statusbar and titlebar wibox: merge statusbars and titlebars Lua objects luaa: remove useless csio2 variable awesome-client: handle disconnection keygrabber: add support for XKB_KEYS client: resize returns void client: add property hook wibox: add full geometry wibox: add ontop attribute util: remove off position awesome-client: reconnect if disconnected wibox: rework, merge titlebar awful: use minimized rather than hidden in tasklist label event: only grab root if mouse is on root build: add xproto dep build: imlib2 is no more optional build: xproto 7.0.10 is enough build: remove useless imlib2 option Revert "build: xproto 7.0.10 is enough" build: do not do build link if it exists wibox: compute phys_screen on right index titlebar: fix border color setting awful: split in several modules awful.client: remove useless vars awful.prompt: fix history save awful.prompt: add math lib client: export size hints lua: add awesome.conffile() awful: add helper to check configuration file syntax tabulous: store tags in otable lua: add --check option awful.util: use loadfile instead of loadstring awful.util: fix wrong variable lua: merge font and colors setters code, add comments xutil: store cursor font as static xutil: use token for keys draw: allow text to be on multiple lines taglist: set correctly area height awful.client: use right data array awful.client: maximize works in floating layout awful: add compatibility with old function names from util awful.widget: use margin instead of spaces widget: move widget_{set,get} awful.placement: fix no_overlap (FS#335) awesome: init systray earlier client: push splash and dialog on modal layer ewmh: order WINDOW_TYPE desktop: change description doc: change description in README icons: reduce square size wibox: handle position on new correctly lua: return on socket init failure layout: add fullscreen event: handle background changes client: change isprotodel to hasproto() property: check input flag set (FS#340) util: fix strsplit end buffer wibox: newindex allow border color change awful.titlebar: do not build args wibox: update position correctly for titlebar wibox: modify border color live luaa: send back but do not block (FS#338) awesomerc: split promptbox by screen (FS#332) wibox: initialize wibox borders correctly (FS#343) image: add crop_and_scale() method invaders: import luaa: add luaA_toudata() client: do not allow to modify name mouse: add index on button, permit object cloning util: document xmemdup() luaa: add stack dumping debug function luaa: split luaA_register() out of luaA_registerfct() hooks: add clients hook imagebox: add support for background color invaders: crush png files client: export skip_taskbar event: get coordinates of visible widgets only Rewrite {tag,task}list in Lua. lua: check for ref value before getting them graph: use array instead of linked list progressbar: use bar array rather than linked list awful.widget: tasklist to update on name changes widgets: clear private struct client: icon_name is stored and watched client, screen: use geometry rather coords as keyword awesomerc: use geometry libs: use geometry instead of coords wibox: handle widget_node_t as array rather than list structs: move some define out widget: bug fix when widget->len = 0 event: handle enter widget on window enter event: reset wibox widget mouse_over on leave image: add width and height attributes imagebox: fix luadoc fields graph, progressbar: fix bar/plot additions widgets: use a geometry callback awful.menu: add support for functions awful.util: add support for config dir awesomerc: use awful.util.getdir rather than env image: add argb32() method awesomerc: fix editor when nil awful.menu: add a menu for listing clients awful.titlebar: use pairs instead of ipairs draw: remove useless AlignAuto widget: store supported align and use to render flex widgets awful.widget: fix taglist label without beautiful (FS#353) wibox: draw before map to avoid artefacts wibox: support for border when not floating widget: return self for buttons mouse: fix button delete awful.client: rename focus and swap bydirection mouse: move declaration from structs to mouse header cnode: move struct to cnode header remove a bunch of useless #include-s event: save mouse position in wibox events awful.menu: escape client name in clients menu awesomerc: remove tabulous widget: unref callbacks on delete luaa: merge tostring() with DO_LUA_NEW awesomerc: remove useless wibox name icons: crush hooks: split out of luaa wibox: check for table loops awful: fix marking keybinding: store in globalconf event: regrab keys on keyboard mapping change (FS#365) client: better handling of transient windows stacking mouse: drop alpha channel in infobox wibox: stack correctly on attach lua: color pushlstring gets real len client: fix ontop wibox stacking awful.client: remove dumb comment line wibox: check floating size wibox: copy pixmap after mapping client: fullscreen do not care about padding awful.client: deprecate swap() imagebox: fix index return value imagebox: allow to not resize images draw: support top and bottom as align imagebox: support vertical alignment awesomerc: use fullgeometry in mouse warping (FS#351) draw: remove phys_screen from font handling swindow: set phys_screen correctly in draw context awful.screen: fix focus doc awful.screen: enhance doc client: move to screen after checking hints widget: make name optional luaa: new warning function widget: unknown type are no fatal anymore widget: add compatibility code for taglist and tasklist widgets mouse: add compatibility code for mouse() widget: add mouse_add compatibility luaa: change deprecate() with more useful info luaa: add compatibility for mouse_add hooks: fix mouseover compat draw: stop exporting draw_text_markup_expand image: allow empty image creation awesomerc: remove useless names awesomerc: reduce header awesomerc: fix spacing awesomerc: move awesome icon in top left corner client: handle fixed window stacking and DIALOG windows max: use phys_screen to get focus client (FS#366) textbox: add ellipsize and wrap mode support luaa: add support for meta __ipairs tag: stop checking for tag duplication and be less picky, only warn user wibox: only warn on looping table screen: only warn if no tag left change codename Konstantin Stepanov (1): socket: fix proto not supported under FreeBSD (FS#349) MATSUU Takuto (4): awsetbg: mkdir recursive awsetbg: enhance display command awsomerc: fix awful eval build: add x11-xcb as dep Maarten Maathuis (3): magnifier: Also resize in the case of a single window. magnifier: Focus on the parent if a non-tiled window has a transient_for. titlebar: generate mouse_enter and button events for the entire titlebar (and redirect them to the client) Nathan Weizenbaum (3): gitignore: add binaries awesome-client, socket, lua: make awesome-client into a true REPL awful: shift+tab cycles backwards through prompts Radosław Szkodziński (1): tasklist: add support for backward ordering - tasklist.invert Thomas Harning Jr (1): awful.titlebar: Pull in missing dependencies and grab theme details koniu (9): naughty: import naughty: destroy() now takes object instead idx (FS #350) naughty: icon_size added to config and notify() naughty: destroy oldest if no room for new popup naughty: new option 'config.hover_timeout' naughty: config.icon_size works now (FS#359) naughty: new notify() parameter 'run' naughty: cleanup of some code repetitions awful.prompt: add underline style to in run() args diffstat -------- .gitignore | 2 + CMakeLists.txt | 30 +- Makefile | 2 +- README | 5 +- awesome-client.c | 128 +++- awesome.1.txt | 6 +- awesome.c | 131 ++-- awesome.desktop | 2 +- awesomeConfig.cmake | 38 +- awesomerc.lua.in | 307 ++++----- client.c | 1174 ++++++++++++++++++-------------- client.h | 112 +++- cnode.h | 8 + common/array.h | 1 - common/atoms.list | 5 +- common/socket.c | 7 +- common/swindow.c | 170 ----- common/swindow.h | 103 --- common/tokenize.gperf | 42 ++- common/util.c | 54 ++- common/util.h | 18 +- common/version.c | 10 - common/xembed.c | 44 +- common/xembed.h | 2 +- common/xscreen.c | 157 ----- common/xscreen.h | 39 -- common/xutil.c | 92 ++-- common/xutil.h | 16 +- common/draw.c => draw.c | 514 ++++----------- common/draw.h => draw.h | 112 ++-- event.c | 456 +++++++------ event.h | 6 +- ewmh.c | 316 +++++----- ewmh.h | 17 +- hooks.c | 206 ++++++ icons/invaders/enemy_1.png | Bin 0 -> 601 bytes icons/invaders/enemy_2.png | Bin 0 -> 739 bytes icons/invaders/enemy_3.png | Bin 0 -> 511 bytes icons/invaders/player.png | Bin 0 -> 661 bytes icons/submenu.png | Bin 0 -> 440 bytes icons/taglist/squarefw.png | Bin 192 -> 187 bytes icons/taglist/squarew.png | Bin 203 -> 193 bytes image.c | 359 ++++++++++ statusbar.h => image.h | 51 +- keybinding.c | 39 +- keybinding.h | 6 +- keygrabber.c | 193 ++++-- layout.c | 4 +- layouts/fair.c | 20 +- layouts/fibonacci.c | 8 +- layouts/floating.c | 2 +- layouts/magnifier.c | 16 +- layouts/max.c | 29 +- layouts/max.h | 1 + layouts/tile.c | 7 +- lib/awful.lua.in | 1593 ------------------------------------------- lib/awful/beautiful.lua.in | 31 + lib/awful/client.lua.in | 564 +++++++++++++++ lib/awful/completion.lua.in | 112 +++ lib/awful/hooks.lua.in | 125 ++++ lib/awful/init.lua.in | 46 ++ lib/awful/layout.lua.in | 53 ++ lib/awful/menu.lua.in | 277 ++++++++ lib/awful/placement.lua.in | 174 +++++ lib/awful/prompt.lua.in | 309 +++++++++ lib/awful/screen.lua.in | 30 + lib/awful/tag.lua.in | 206 ++++++ lib/awful/titlebar.lua.in | 166 +++++ lib/awful/util.lua.in | 155 +++++ lib/awful/widget.lua.in | 391 +++++++++++ lib/beautiful.lua.in | 10 +- lib/invaders.lua.in | 557 +++++++++++++++ lib/naughty.lua.in | 260 +++++++ lib/tabulous.lua.in | 11 +- lua.c | 814 ---------------------- luaa.c | 1189 ++++++++++++++++++++++++++++++++ lua.h => luaa.h | 158 ++++- mouse.c | 448 ++++++++---- mouse.h | 27 +- placement.c | 161 ----- property.c | 422 ++++++++++++ placement.h => property.h | 14 +- screen.c | 321 +++++++--- screen.h | 8 +- statusbar.c | 703 +------------------- structs.h | 337 ++++------ swindow.c | 291 ++++++++ swindow.h | 77 +++ systray.c | 6 +- tag.c | 81 +-- tag.h | 3 +- themes/default.in | 11 +- titlebar.c | 562 +++++----------- titlebar.h | 90 ++-- utils/awsetbg | 6 +- wibox.c | 1026 ++++++++++++++++++++++++++++ statusbar.h => wibox.h | 39 +- widget.c | 424 +++++++----- widget.h | 36 +- widgets/appicon.c | 108 --- widgets/graph.c | 173 +++--- widgets/imagebox.c | 221 ++++++ widgets/progressbar.c | 223 +++---- widgets/systray.c | 57 +- widgets/taglist.c | 304 -------- widgets/tasklist.c | 401 ----------- widgets/textbox.c | 127 +++- window.c | 28 +- window.h | 3 +- 109 files changed, 11115 insertions(+), 7921 deletions(-)
signature.asc
Description: Digital signature
