Emmanuel Lepage Vallee
f9c9e11d11
graph: Move to wibox.widget
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
6493cbee76
progressbar: Move to `wibox.widget`
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
ae0d306114
textclock: Move to wibox.widget
...
It doesn't depend on `awful`, so it doesn't belong in `awful`.
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
44a4eca40e
doc: Port the shape images to the doc example system
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
feb3833fd1
doc: Move the background examples to the container suit
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
d85588babe
wibox: Create a container module
...
Previously, the "containers" were placed in layout or widget.
They all have similar APIs and usage, so lets bring them together.
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
990beef9d0
util: Add a class deprecation function.
2016-05-30 17:51:18 -04:00
Emmanuel Lepage Vallee
3f0d218f72
util.table.crush: Optionally use rawset
2016-05-30 17:51:18 -04:00
Emmanuel Lepage Vallee
dbcb850de9
wibar: Restore previous behavior
...
The behavior was changed during the rewrite. This was a mistake
as it was assumed (wrongly) that nobody used this function with
wiboxes other than "wibars" (awful.wibox).
Fixes #917
2016-05-19 13:27:46 -04:00
Emmanuel Lepage Vallee
cc5e78ff55
wibar: Improve constructor documentation
2016-05-19 01:27:05 -04:00
Emmanuel Lepage Vallee
4d45063adb
wibox: Add constructor documentation
...
The leading point is on purpose. It work around a ldoc bug and is
already used elsewhere (like signals without a ::)
2016-05-19 01:27:05 -04:00
Emmanuel Lepage Vallee
f26fa5e099
wibox: Add more constructor arguments
...
Fixes #916
2016-05-19 01:27:05 -04:00
actionless
938de72ba7
fix(awful: wibar): visible arg was ignored
2016-05-19 00:21:22 +02:00
Emmanuel Lepage Vallée
3fd292e1ff
Merge pull request #912 from Elv13/fix_tag_delete_race
...
tag: Avoid a race condition when deleting tags.
2016-05-18 16:01:30 -04:00
Emmanuel Lepage Vallee
6e6c4c3a5d
tag: Avoid a race condition when deleting tags.
...
Since the screen removal patchset, the tags properties were
cleaned too early. This caused code connecting to "property::activated"
to be called with the tag already partially deleted. For code depending
on those properties, such as radical.impl.taglist, this caused errors.
2016-05-18 15:46:09 -04:00
Emmanuel Lepage Vallée
c1d3f291fe
Merge pull request #913 from Elv13/gear_obj_props
...
Gear.object properties
2016-05-18 15:20:43 -04:00
Emmanuel Lepage Vallee
bb5ee50de9
layoutbox: Revert 25f4f24791
...
Apparently, there is such thing as not leaking enough...
Also try to clear the widgets from mywibox. This seem to help.
Time will tell.
Fixes #914 , unfixes #808
2016-05-18 01:45:21 -04:00
Emmanuel Lepage Vallee
d6a7b6c645
object: Add a dynamic property example
2016-05-18 01:23:53 -04:00
Emmanuel Lepage Vallee
f810d78e7b
object: Add a signal example
2016-05-18 01:23:53 -04:00
Emmanuel Lepage Vallee
adebef629b
object: Add an header description
2016-05-18 01:23:53 -04:00
Emmanuel Lepage Vallee
b1c33fbd09
object: Add type information to documentation
2016-05-18 01:23:53 -04:00
Emmanuel Lepage Vallee
4b21ca9184
object: Add dynamic properties support.
...
Similar systems already exist un luaobject, wibox and the declarative
widget system. This close the gap and also bring the property based
syntax to wibox and other gears.object users.
While this need to be enabled explicitly for legacy reasons, it
doesn't break the API.
Once widespread, this implementation will replace the one found
in wibox.widget.base_widget.
2016-05-18 01:23:53 -04:00
Emmanuel Lepage Vallée
32eeaa9513
Merge pull request #878 from Elv13/geometry_overhaul_p3.02
...
Geometry overhaul part 3.02: Wibars
2016-05-16 14:13:38 -04:00
Emmanuel Lepage Vallee
11e77d5191
gears: Remove `screen`
...
It has been deprecated for a while and was never part of a release.
2016-05-16 14:03:00 -04:00
Emmanuel Lepage Vallee
aa46b96369
gears.geometry: Add area_remove
2016-05-16 14:03:00 -04:00
Emmanuel Lepage Vallee
1ce92bb550
get_rect_by_dir: Move to `gears.geometry`
...
Begin to break down `awful.util`
2016-05-16 14:03:00 -04:00
Emmanuel Lepage Vallee
1a05d53cab
screen: Use `gears.geometry`
2016-05-16 14:03:00 -04:00
Emmanuel Lepage Vallee
dd121623b5
gears.geometry: Mutualize getbycoord
2016-05-16 14:03:00 -04:00
Emmanuel Lepage Vallee
251614afff
wibox: Remove the dependency on `awful`
2016-05-16 01:18:28 -04:00
Emmanuel Lepage Vallee
9d13e08c63
gears: Add a geometry modules
...
Add an abstract geometry module to `gears`
2016-05-16 01:18:19 -04:00
Daniel Hahler
eea8de5057
Merge pull request #899 from Jajauma/naughty-action-text
...
naughty: display improvement of the notification client actions
2016-05-16 03:08:22 +02:00
Emmanuel Lepage Vallee
4b395bea81
mouse: Port wibox.move to the placement API
2016-05-15 17:17:12 -04:00
Emmanuel Lepage Vallee
38185b161a
wibar: Add a remove function
2016-05-15 17:17:12 -04:00
Emmanuel Lepage Vallee
dafd29f2a3
awful.wibox: Rename to awful.wibar
...
Why:
* Two different (but related) concepts had the same name
* Users were confused for years on IRC
* The wibar name was already in use in some doc to avoid confusion
2016-05-15 17:17:12 -04:00
Emmanuel Lepage Vallee
7d390a91f1
awful.wibox: Import some wibox documentation.
2016-05-15 17:17:12 -04:00
Emmanuel Lepage Vallee
77380eb121
wibox: Move the documentation to a shared file
...
To be re-used by wibars, tooltips and menus
2016-05-15 17:17:12 -04:00
Emmanuel Lepage Vallee
833ad952f6
awful.wibox: Port to the placement API
2016-05-15 17:17:12 -04:00
Emmanuel Lepage Vallee
50c97ed167
placement: Add a callback to detach the placement function
2016-05-15 17:17:12 -04:00
Emmanuel Lepage Vallee
21c9766aa6
placement: Fix under_mouse
...
The function stopped actually setting the geometry...
This was missed by tests because of an oversaw elsewhere.
2016-05-15 17:17:12 -04:00
Emmanuel Lepage Vallee
45ff7efce5
placement: Support 'attach' in composited placement functions
2016-05-15 17:17:11 -04:00
Emmanuel Lepage Vallee
e78a07574b
placement: Do not forward the args in get_parent_geometry
...
The args are for 'd', not the parent.
2016-05-15 17:17:11 -04:00
Emmanuel Lepage Vallee
c490ca3803
placement: Fix margin support
...
This was only partially implemented. The margins were substracted from
the area too early in the pipeline. Now, they are added when getting
the size and substracted when setting it. This way, the margins will
"survive" when a placement function set an absolute value in one of
the field. Previously, this caused one (or more) of the margins to
be lost.
2016-05-15 17:17:11 -04:00
Emmanuel Lepage Vallee
a141dbfd06
wibox: Add screen properties
2016-05-15 17:17:11 -04:00
Emmanuel Lepage Vallee
129b3b1d50
wibox: Add wibox property support
...
Just like the miss handler system, but for wiboxes.
This will simplify the API as there was a mix of properties
and accessors in the API doc.
2016-05-15 17:17:09 -04:00
Emmanuel Lepage Vallee
9a72062cac
wibox: Turn into "real" objects.
...
Before this commit, it was necessary to call 'rawset' to be
able to add new fields to the wibox. This is no longer required.
This solution was choosen because wibox is itself a base class of
menus and wibars. Those classes can now add new properties without
hacks.
2016-05-15 17:15:55 -04:00
Emmanuel Lepage Vallee
43ef623dc6
client: Add x, y, width and height properties
2016-05-15 17:15:55 -04:00
Emmanuel Lepage Vallee
25f4f24791
layoutbox: Fix a leak with Lua 5.1 and luajit
...
Fixes #808
2016-05-15 17:15:55 -04:00
Emmanuel Lepage Vallee
df6bc2f6bc
wibox: Make the table argument optional
...
For consistency with other objects.
2016-05-15 17:15:55 -04:00
Emmanuel Lepage Vallée
f9fa8538b9
Merge pull request #909 from psychon/screen-getbycoord
...
Fix awful.screen.getbycoord
2016-05-15 16:02:03 -04:00
Jajauma
4d7e8c804e
naughty: change action markup to emphasize clickability
...
This commit changes the markup applied to the action description text to
emphasize the fact that the action zone is actually clickable. Bold is
replaced with underline, the Unicode 261B symbol (right pointer) is
added as well.
2016-05-15 18:46:09 +03:00