Commit Graph

134 Commits

Author SHA1 Message Date
Emmanuel Lepage Vallee 879a43fbc4 Add ability to track connections
One interesting use case for this is to only do expensive
operations if something is connected to the signal:

--   item:connect_signal("connection",function(_,name,count)
--     if name == "mouse::move" and count == 0 then
--       widget:connect_signal("mouse::move",conn)
--     end
--   end)
--   item:connect_signal("disconnection",function(_,name,count)
--     if count == 0 then
--       widget:connect_signal("mouse::move",conn)
--     end
--   end)
2014-04-05 23:54:06 -04:00
Emmanuel Lepage Vallee d0d4d5fcd4 Fix issue #24, implement long hover/press signals 2014-04-04 23:44:23 -04:00
Emmanuel Lepage Vallee f7bf7279c3 Add mod1 (alt) support for key hooks 2014-04-03 23:25:35 -04:00
Emmanuel Lepage Vallee 591b153dce Update documentation 2014-04-02 23:36:56 -04:00
Emmanuel Lepage Vallee e1656169a2 Add partial support for taglist extensions (issue #25) 2014-04-01 23:42:02 -04:00
Emmanuel Lepage Vallee dbc0ccfbcb Fix the radical.item.style.arrow_alternate style 2014-03-30 18:10:36 -04:00
Emmanuel Lepage Vallee 8b965aa3bb Use negative padding instead of some hacks for 'arrow_prefix' item style 2014-03-30 17:50:46 -04:00
Emmanuel Lepage Vallee 0b7e043156 Groundwork necessary to add random widgets to the tasklist (issue #23) 2014-03-29 22:56:09 -04:00
Emmanuel Lepage Vallee 03578bc71e Add highlighting to altTab 2014-03-28 02:13:12 -04:00
Emmanuel Lepage Vallee f461d0316a Implement tag menu highlight (issue #22) 2014-03-28 01:25:09 -04:00
Emmanuel Lepage Vallee 5efc2d89e0 Fix arrow menu, improve tag/task menu 2014-03-26 23:21:42 -04:00
Emmanuel Lepage Vallee ef7e46f865 Improve dynamic menu speed 2014-03-26 16:18:59 -04:00
Emmanuel Lepage Vallee 700714eb1e Fix a bee04c14bc regression 2014-03-26 00:21:42 -04:00
Emmanuel Lepage Vallee ca8801aa11 Move the signals menu to its own file (issue #21) 2014-03-24 00:58:19 -04:00
Emmanuel Lepage Vallee 61099cef80 Add a basic tag menu 2014-03-24 00:37:49 -04:00
Emmanuel Lepage Vallee b10169e613 Fix f746a8b3 2014-03-24 00:04:19 -04:00
Emmanuel Lepage Vallee 2e6e3fb4ca Better compute the minimum size 2014-03-24 00:00:01 -04:00
Emmanuel Lepage Vallee 801d2ca2b4 Move the tag menu to a new file (issue #21) 2014-03-23 23:34:44 -04:00
Emmanuel Lepage Vallee f746a8b347 Make async menu faster
This may cause some visual artefacts, but is about 5 time
faster than the old way.
2014-03-23 19:00:56 -04:00
Emmanuel Lepage Vallee 14c420ac49 Fix keyboard handling 2014-03-23 00:14:25 -04:00
Emmanuel Lepage Vallee bee04c14bc Fix issue #11, break API, may cause regressions 2014-03-22 17:35:43 -04:00
Emmanuel Lepage Vallee 9b9c96be1b Fix a bug when table (widgets) are resized 2014-03-22 17:03:04 -04:00
Emmanuel Lepage Vallee 0a5f240ab1 Make it possible to change tooltip text 2014-03-22 01:04:11 -04:00
Emmanuel Lepage Vallee 059572956e Change the way position is computed
The old way was a hack arounf an Awesome 3.5.0 limitation.
The newer should be more reliable.

Please report any regressions.
2014-03-22 00:11:08 -04:00
Emmanuel Lepage Vallee d8e220a7bb Fix bugs with sub menu, embed menu and scrolling 2014-03-21 23:20:50 -04:00
Emmanuel Lepage Vallee dbf1865055 Add a more reliable (but hacky) tag tracking system 2014-03-20 22:50:06 -04:00
Emmanuel Lepage Vallee 02865234a1 tasklist: Support multiple screens 2014-03-19 23:13:55 -04:00
Emmanuel Lepage Vallee b17f802318 Minor fixes 2014-03-18 23:52:19 -04:00
Emmanuel Lepage Vallee c10a94c0cb Use 'state::changed' instead of hardcoded calls to refresh (issue #18) 2014-03-16 23:46:23 -04:00
Emmanuel Lepage Vallee 76ea448b2d Add and document more beautiful values for [tag,task]lists 2014-03-15 01:22:09 -04:00
Emmanuel Lepage Vallee 162483dade Fix multiple taglist issue 2014-03-14 23:51:26 -04:00
Emmanuel Lepage Vallee 2c9bd9107f Fil multiple minor issues related to fg and underlay colors 2014-03-13 01:14:52 -04:00
Emmanuel Lepage Vallee 5d21035698 Add some filter options 2014-03-12 22:56:56 -04:00
Emmanuel Lepage Vallee 231eef25bc Add global underlay support 2014-03-12 00:31:50 -04:00
Emmanuel Lepage Vallee ad20d9e2be Properly handle menu prefix and suffix widgets
This was previously hardcoded

100 commits!
2014-03-11 20:50:00 -04:00
Emmanuel Lepage Vallee 5255cca803 Change object syntax to user get_ and set_ prefix instead of get_map/set_map mappers (issue #15) 2014-03-05 00:12:48 -05:00
Emmanuel Lepage Vallee b8ba760a1f Fix various minor issues 2014-03-02 16:29:07 -05:00
Emmanuel Lepage Vallee 95ed8b26c4 More style/colors oriented refactoring 2014-03-02 16:28:30 -05:00
Emmanuel Lepage Vallee fabd52d1a6 Major refactoring, address issue #12 2014-02-22 23:59:03 -05:00
Emmanuel Lepage Vallee b6ba3ad383 Replace old state handling implementation by something 'better'
While **much** more complex and slower for regular menus, it has advantages:

 * Better performance scaling when state count grow
 * Prevent most accidental unsupported state colors
 * Prevent a big if elseif elseif... switch copy pasted in all item_styles
 * Make it easier to register new states

As for the 'bloated' created by this commit, it will be moved when I will
fix issue #12
2014-02-21 22:22:20 -05:00
Emmanuel Lepage Vallee 9148c48dd1 Fix issue #7 2014-02-20 22:29:40 -05:00
Emmanuel Lepage Vallee fd835fdbeb Fix issue #14 2014-02-19 22:16:59 -05:00
Emmanuel Lepage Vallee 7046b40f83 Add icon_transformation option (take this from Blind playbook)
It can use Blind common.drawing tools to implement some magic.

I may merge this into Radical and kill Blind as everything else
is pretty much deprecated at this point. Blind was never more
than a hack.
2014-02-19 22:09:28 -05:00
Emmanuel Lepage Vallee 1dea6095b0 Fix a bug when menu are larger than the screen edge 2014-02-18 22:19:38 -05:00
Emmanuel Lepage Vallee 579f26eb82 Add client_menu to radical (originally from 2010) 2014-02-18 00:19:44 -05:00
Emmanuel Lepage Vallee 5a79549e59 Add opacity option 2014-02-17 22:57:04 -05:00
Emmanuel Lepage Vallee cd88700613 Port rc.lua default tasklist buttons to the tasklist module 2014-02-17 01:11:35 -05:00
Emmanuel Lepage Vallee 5cebb6a961 Switch to the new button handling API (instead of awful.button) 2014-02-16 23:55:44 -05:00
Emmanuel Lepage Vallee 5713f00e1b Add modifiers to the new event interface 2014-02-16 14:46:10 -05:00
Emmanuel Lepage Vallee 0a74963b41 Add proxy signals for item mouse events (issue #10 ) 2014-02-15 21:57:07 -05:00