From 43c02c61c5b53d438df4fb4fb82fe71bd593b8a8 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Mon, 19 Nov 2012 14:55:57 +0100 Subject: [PATCH] luadoc/: Remove luadoc hacks LDoc doesn't need any of this and actually breaks due to it. Signed-off-by: Uli Schlachter --- luadoc/awesome.lua | 2 -- luadoc/button.lua | 1 - luadoc/client.lua | 6 ------ luadoc/drawable.lua | 4 +--- luadoc/drawin.lua | 1 - luadoc/key.lua | 1 - luadoc/keygrabber.lua | 2 -- luadoc/mouse.lua | 1 - luadoc/mousegrabber.lua | 2 -- luadoc/root.lua | 2 -- luadoc/screen.lua | 1 - luadoc/selection.lua | 1 - luadoc/tag.lua | 1 - luadoc/timer.lua | 3 --- 14 files changed, 1 insertion(+), 27 deletions(-) diff --git a/luadoc/awesome.lua b/luadoc/awesome.lua index 667cb526..49c04d69 100644 --- a/luadoc/awesome.lua +++ b/luadoc/awesome.lua @@ -15,7 +15,6 @@ module("awesome") -- @name awesome --- Quit awesome. --- @param - -- @name quit -- @class function @@ -26,7 +25,6 @@ module("awesome") -- @class function --- Restart awesome. --- @param - -- @name restart -- @class function diff --git a/luadoc/button.lua b/luadoc/button.lua index 2ba1ddcf..124dc84d 100644 --- a/luadoc/button.lua +++ b/luadoc/button.lua @@ -29,7 +29,6 @@ module("button") -- @class function --- Get the number of instances. --- @param no_params luadoc is buggy. -- @return The number of button objects alive. -- @name instances -- @class function diff --git a/luadoc/client.lua b/luadoc/client.lua index 02a342d4..4aa4bfbd 100644 --- a/luadoc/client.lua +++ b/luadoc/client.lua @@ -53,7 +53,6 @@ module("client") -- @class function --- Check if a client is visible on its screen. --- @param - -- @return A boolean value, true if the client is visible, false otherwise. -- @name isvisible -- @class function @@ -89,7 +88,6 @@ module("client") -- @class function --- Kill a client. --- @param - -- @name kill -- @class function @@ -99,17 +97,14 @@ module("client") -- @class function --- Raise a client on top of others which are on the same layer. --- @param - -- @name raise -- @class function --- Lower a client on bottom of others which are on the same layer. --- @param - -- @name lower -- @class function --- Stop managing a client. --- @param - -- @name unmanage -- @class function @@ -132,7 +127,6 @@ module("client") -- @class function --- Get the number of instances. --- @param no_params luadoc is buggy. -- @return The number of client objects alive. -- @name instances -- @class function diff --git a/luadoc/drawable.lua b/luadoc/drawable.lua index 8ea9e576..f53591dc 100644 --- a/luadoc/drawable.lua +++ b/luadoc/drawable.lua @@ -6,16 +6,15 @@ module("drawable") --- Drawable object. -- @field surface The drawable's cairo surface. -- @name drawable +-- @class table --- Get drawable geometry. The geometry consists of x, y, width and height. --- @param no_params luadoc is buggy. -- @return A table with drawable coordinates and geometry. -- @name geometry -- @class function --- Refresh the drawable. When you are drawing to the surface, you have -- call this function when you are done to make the result visible. --- @param no_params luadoc is buggy. -- @name refresh -- @class function @@ -38,7 +37,6 @@ module("drawable") -- @class function --- Get the number of instances. --- @param no_params luadoc is buggy. -- @return The number of drawable objects alive. -- @name instances -- @class function diff --git a/luadoc/drawin.lua b/luadoc/drawin.lua index 63971698..fd399458 100644 --- a/luadoc/drawin.lua +++ b/luadoc/drawin.lua @@ -58,7 +58,6 @@ module("drawin") -- @class function --- Get the number of instances. --- @param no_params luadoc is buggy. -- @return The number of drawin objects alive. -- @name instances -- @class function diff --git a/luadoc/key.lua b/luadoc/key.lua index cd5fcabd..c4a6a4e3 100644 --- a/luadoc/key.lua +++ b/luadoc/key.lua @@ -32,7 +32,6 @@ module("key") -- @class function --- Get the number of instances. --- @param no_params luadoc is buggy. -- @return The number of key objects alive. -- @name instances -- @class function diff --git a/luadoc/keygrabber.lua b/luadoc/keygrabber.lua index ae741a7d..4e2e8bac 100644 --- a/luadoc/keygrabber.lua +++ b/luadoc/keygrabber.lua @@ -31,12 +31,10 @@ module("keygrabber") --

--- Stop grabbing the keyboard. --- @param - -- @name stop -- @class function --- Check if the keygrabber is running. --- @param - -- @return A boolean value, true if running, false otherwise. -- @name isrunning -- @class function diff --git a/luadoc/mouse.lua b/luadoc/mouse.lua index 1177b7fc..e150a4ac 100644 --- a/luadoc/mouse.lua +++ b/luadoc/mouse.lua @@ -17,7 +17,6 @@ module("mouse") -- @class function --- Get the client or any object which is under the pointer. --- @param - -- @return A client or nil. -- @name object_under_pointer -- @class function diff --git a/luadoc/mousegrabber.lua b/luadoc/mousegrabber.lua index b9508dff..280c6eed 100644 --- a/luadoc/mousegrabber.lua +++ b/luadoc/mousegrabber.lua @@ -14,12 +14,10 @@ module("mousegrabber") -- @class function --- Stop grabbing the mouse pointer. --- @param - -- @name stop -- @class function --- Check if the mousegrabber is running. --- @param - -- @return A boolean value, true if running, false otherwise. -- @name isrunning -- @class function diff --git a/luadoc/root.lua b/luadoc/root.lua index 2cca5de4..1d30fb57 100644 --- a/luadoc/root.lua +++ b/luadoc/root.lua @@ -34,7 +34,6 @@ module("root") -- @class function --- Get the wiboxes attached to a screen. --- @param - -- @return A table with all wiboxes. -- @name wiboxes -- @class function @@ -46,7 +45,6 @@ module("root") -- @class function --- Get the attached tags. --- @param - -- @return A table with all tags. -- @name tags -- @class function diff --git a/luadoc/screen.lua b/luadoc/screen.lua index 04353c49..abf52980 100644 --- a/luadoc/screen.lua +++ b/luadoc/screen.lua @@ -12,7 +12,6 @@ module("screen") -- @name screen --- Get the number of screen. --- @param - -- @return The screen count, at least 1. -- @name count -- @class function diff --git a/luadoc/selection.lua b/luadoc/selection.lua index 6aa80901..8daf3b9e 100644 --- a/luadoc/selection.lua +++ b/luadoc/selection.lua @@ -4,7 +4,6 @@ module("selection") --- Get the selection (clipboard) content. --- @param - -- @return A string with the selection (clipboard) content. -- @name selection -- @class function diff --git a/luadoc/tag.lua b/luadoc/tag.lua index 16a089cf..3b68c033 100644 --- a/luadoc/tag.lua +++ b/luadoc/tag.lua @@ -35,7 +35,6 @@ module("tag") -- @class function --- Get the number of instances. --- @param no_params luadoc is buggy. -- @return The number of tag objects alive. -- @name instances -- @class function diff --git a/luadoc/timer.lua b/luadoc/timer.lua index dd404b8a..5e5d4b19 100644 --- a/luadoc/timer.lua +++ b/luadoc/timer.lua @@ -12,12 +12,10 @@ module("timer") -- @name timer --- Start the timer. --- @param - -- @name start -- @class function --- Stop the timer. --- @param - -- @name stop -- @class function @@ -40,7 +38,6 @@ module("timer") -- @class function --- Get the number of instances. --- @param no_params luadoc is buggy. -- @return The number of timer objects alive. -- @name instances -- @class function