Daniel Hahler
de3d97fb0d
Merge pull request #682 from actionless/vim-bindings-improvements
...
chore(awful: hotkeys: vim): small improvements in hotkeys descriptions
2016-02-12 23:00:26 +01:00
actionless
2501f128e4
chore(awful: hotkeys: vim): rename key groups
2016-02-12 01:07:04 +01:00
actionless
36e124d894
chore(awful: hotkeys: vim): add `find` and `scroll` categories
2016-02-12 01:05:59 +01:00
actionless
e5466feb07
fix(awesomerc): fix importing vim hotkeys
2016-02-12 01:03:07 +01:00
actionless
8041078618
chore(awful: hotkeys: vim): small improvements in hotkeys descriptions
2016-02-12 01:03:07 +01:00
Daniel Hahler
66b93ffded
Merge pull request #687 from psychon/fix-harmless-luacheck-warnings
...
Fix harmless luacheck warnings
2016-02-11 23:36:56 +01:00
Uli Schlachter
7ec7483928
Travis: Run "make check"
...
Wait, what? Up to now Travis hasn't actually used "make check" but called some
things individually?!?
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-11 21:55:32 +01:00
Uli Schlachter
c75741c578
Fix luacheck warnings for the rest of awful
...
This fixes *most* luacheck warnings in awful. However, some non-trivial ones
remain for latter.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-11 21:55:32 +01:00
Uli Schlachter
99a4184224
Fix luacheck warnings in lib/awful/widget/
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-11 21:55:32 +01:00
Uli Schlachter
c455e1f90e
Fix luacheck warnings in half of awful
...
Boy, awful is huge... Let's better do it in two parts
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-11 21:55:32 +01:00
Uli Schlachter
f2cf4a6385
Fix luacheck warnings in beautiful and menubar
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-11 21:55:32 +01:00
Uli Schlachter
cf1576cdd8
Fix all luacheck warnings in spec/
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-11 21:55:08 +01:00
Uli Schlachter
2c24449a96
Default config: Add a missing "local"
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-11 21:55:08 +01:00
Uli Schlachter
0ef214ef8d
Themes: Use "local"
...
All themes (except for xresources) were setting a global variable "theme" with
the defined settings. Prefix this with "local".
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-11 21:55:08 +01:00
Daniel Hahler
bb85e10042
Merge pull request #685 from actionless/hotkeys_extended_mathes
...
feat(awful: hotkeys): extended matching rules
2016-02-11 21:52:22 +01:00
Daniel Hahler
58954f7f08
Merge pull request #675 from psychon/remove-gears.sort
...
Remove gears.sort
2016-02-11 21:51:44 +01:00
Daniel Hahler
2a57f0335f
.travis.yml: fix indent
2016-02-11 21:40:46 +01:00
Daniel Hahler
33b2277df9
Merge pull request #649 from psychon/make-benchmark-less-exact
...
Make benchmarks less exact
2016-02-11 21:26:32 +01:00
Daniel Hahler
7e57ca30ff
Merge pull request #651 from psychon/client-leaks
...
Client leaks
2016-02-11 21:24:57 +01:00
Daniel Hahler
196e85d2a3
Merge pull request #671 from psychon/number_vs_int
...
Use int instead of number
2016-02-11 21:23:58 +01:00
actionless
901771e51b
feat(awful: hotkeys): extended matching rules
2016-02-11 12:33:02 +01:00
Emmanuel Lepage Vallée
89cab7a52a
Merge pull request #684 from Elv13/decl_widget2
...
wibox.widget: Add method to create declarative widgets directly
2016-02-11 04:05:10 -05:00
Emmanuel Lepage Vallee
cb896ca87f
wibox.widget: Add method to create declarative widgets directly
2016-02-11 03:58:54 -05:00
Emmanuel Lepage Vallée
4a45db9eb0
Merge pull request #642 from Elv13/upstream_dynamic_p6
...
Add ratio and stack layouts
2016-02-11 03:44:49 -05:00
Emmanuel Lepage Vallée
dd7b7bf48f
Merge pull request #683 from actionless/fix-hotkeys-sorting
...
fix(awful: hotkeys): fix sorting of hotkeys
2016-02-11 03:44:16 -05:00
Emmanuel Lepage Vallee
d59bdec32f
Fix make install when documentation is disabled
2016-02-11 03:43:19 -05:00
actionless
4aaedb0f86
fix(awful: hotkeys): restore continuation symbol
2016-02-11 03:43:13 +01:00
Emmanuel Lepage Vallee
0a39d196c7
wibox.layout: Add the new 'ratio' layout
...
This layout allow each widgets to take 'r' percent of the total
space, where 'r' is configurable.
It re-implement the 'wfact' system used by `awful.layout.suit.tile`
2016-02-10 21:40:40 -05:00
Emmanuel Lepage Vallee
20030e6f93
wibox.layout: Add new 'stack' layout
...
This layout display the widgets on top of each other. It can also optionally
display only the first one.
The most common use case is to create a composited widget. Other use case
include the creation of a "paged" stack to only display the most
relevant widget without adding extra complexity to the parent layout.
2016-02-10 21:40:40 -05:00
actionless
333c5cd31c
fix(awful: hotkeys): case when description is missing (+prettify)
2016-02-11 03:32:11 +01:00
actionless
3a9f7a1cee
fix(awful: hotkeys): compute length of the line correctly
2016-02-11 01:04:54 +01:00
actionless
64bd09d38d
fix(awful: hotkeys): fix sorting of hotkeys
2016-02-11 00:54:47 +01:00
Emmanuel Lepage Vallée
ff8f2aef27
Merge pull request #678 from Elv13/bgimage
...
Extend bgimage support
2016-02-10 03:59:06 -05:00
Emmanuel Lepage Vallée
cd584fda55
Merge pull request #486 from Elv13/new_widget_syntax
...
widget: Add a new container declaration syntax
2016-02-10 03:58:31 -05:00
Emmanuel Lepage Vallee
b1e69dba8c
doc: Move the new widget documentation to a new file
...
This will help with discoverability
2016-02-10 01:25:41 -05:00
Emmanuel Lepage Vallee
8be1104615
doc: Add layout system documentation
2016-02-10 01:25:41 -05:00
Emmanuel Lepage Vallee
0e833fd5f4
awesomerc: Use the new declarative syntax
2016-02-10 01:25:41 -05:00
Emmanuel Lepage Vallee
7842f92f08
wibox: Support the declarative container syntax
...
Also support it for titlebars
2016-02-10 01:25:31 -05:00
Emmanuel Lepage Vallee
6a68173ccb
widget: Add a new container declaration syntax
...
This new syntax is inspired by the Awesome widget 3.2-3.4 API. It
allow cleaner widgets declaration. The produced code is usually much
shorted and easier to read than wibox.widget imperative syntax.
2016-02-10 01:09:50 -05:00
Emmanuel Lepage Vallee
e36f23171b
wibox.widget: Add `set_children` method
...
Provide a generic method to set the widget content
2016-02-10 01:09:50 -05:00
Emmanuel Lepage Vallee
3ef5003ace
doc: Add support for images
2016-02-10 01:09:50 -05:00
Emmanuel Lepage Vallee
4a20f9e533
titlebar: Support bgimage
2016-02-10 00:15:17 -05:00
Emmanuel Lepage Vallee
c957b3d5a8
wibox: Support bg_image
2016-02-10 00:15:14 -05:00
Emmanuel Lepage Vallee
7666976538
drawable: Add background image support
...
Copy what's done in `widget.background`
2016-02-10 00:15:09 -05:00
Emmanuel Lepage Vallee
cbea82f1c8
widget.background: Allow function as background image
...
There is already a hack into `awful.widget.common`. This system aim
to make the hack obselete while preserving the useful part.
I think this is also necessary to properly support SVG (with DPI
and resize).
Finally, Qt handle this using the QBrush concept, where you can have
programmatic patterns. Cairo doesn't have this concept, so there is no
"clean" way to have programmatic brushes.
2016-02-10 00:15:00 -05:00
Uli Schlachter
94e9a030c1
Remove gears.sort
...
It's unused since commit 0aa4304bda
. Before this was a stable sorting
algorithm since table.sort is allowed to be unstable. Apparently we don't need a
stable sorting algorithm anymore.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-07 12:24:35 +01:00
Uli Schlachter
d09ece6b5a
Require "integer" instead of "number" in more places
...
E.g. trying to press mouse button 1.5 via root.fake_input() doesn't make sense.
Previously the code silently truncated the number to an integer. Now it
complains about this instead.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-06 13:59:14 +01:00
Uli Schlachter
051d0de85f
Replace many pushnumber calls with pushinteger
...
The only remaining calls are for a window's opacity and in the DBus type
handling. Everything else wants integers, not something with a comma.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-06 13:46:46 +01:00
Emmanuel Lepage Vallée
720768330c
Merge pull request #664 from Elv13/background_border
...
widget.background: Add shape border support
2016-02-06 03:48:13 -05:00
Emmanuel Lepage Vallee
33c943d9b8
widget.background: Add shape border support
2016-02-06 03:43:42 -05:00