Commit Graph

60 Commits

Author SHA1 Message Date
Uli Schlachter cf4630dbe1 Remove some useless use of cat
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:39:24 +02:00
Uli Schlachter d9c71f4e23 Fix a wrong leading space in gperf.sh's shebang
While this space doesn't hurt on any modern OS (afaik), it does break stuff
on the old ones and is non-standard. Removing it won't hurt, so...

Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:39:15 +02:00
Julien Danjou 24b82772d2 atoms: drop useless strlen usage
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-18 13:37:01 +02:00
Julien Danjou 2037a053a9 layout: move layout code to Lua
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:21 +01:00
Julien Danjou f188c10fa4 util: precompute funcname in name_func_link
This will improve search a bit.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou ccc6452d49 widget: change widget initialization code
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou 8e65cb2037 build: do not use git dashed command
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 11:04:10 +01:00
Alex Cornejo 00721a15ea layout: add fair layout
Based on the original idea of Nathan Huesken, which was then implemented by
Gwenhael Le Moine, I completed and corrected the layout.

I added icons for the layout and modified the makefile and the aweseomerc.lua.in
to include the fair layout.

In the process I also decided to modify layoutgen.sh and tag.c, so that in the
future new layouts can be added without touching tag.c.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-11 13:31:28 +02:00
Julien Danjou 8e4873b3aa build: ignore lvalue
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-02 16:52:50 +02:00
Julien Danjou 2c0febaedc build: stop using dashed git commands
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-01 15:13:19 +02:00
Julien Danjou f747352c84 gperf: remove -m option, not recognize by FreeBSD
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-22 17:34:20 +02:00
Julien Danjou c2f8275bf8 client: deprecate client_get() and client_set()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 12:17:19 +02:00
Julien Danjou 5473c31737 awful,tabulous: fix copyright for luadoc
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-04 16:41:23 +02:00
Julien Danjou f278c02a3d build: fake C api as module
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-04 14:35:42 +02:00
Julien Danjou 7c5ab691c8 bui;d fix dist script
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-01 16:15:06 +02:00
Julien Danjou 1a8467ff28 build: dist create bz2 too
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 16:13:27 +02:00
Julien Danjou b3a16bc6ad build: add support for __index in widgets
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 17:57:16 +02:00
Julien Danjou 414e227a1a build: add support for documentation of __index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 10:32:35 +02:00
Julien Danjou db49685413 atoms: autogenerate atom list
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 20:05:53 +02:00
Julien Danjou 45b0a2df80 lua: replace .new() by __call meth
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 14:11:54 +02:00
Julien Danjou 4bf6d2df62 widgets: add documentation support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-26 23:32:33 +02:00
Julien Danjou fc509e4d16 lua-src: fix a bug if l is nil, add , as optional
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-26 22:44:07 +02:00
Michael Gehring 388dbb01c1 build: implement make dist using git-archive
Instead of jumping through hoops to get the ignore list
right just use git-archive to get a clean source tarball.
2008-06-24 08:58:04 +02:00
Julien Danjou 0b93318836 build: fix argument generation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 18:53:45 +02:00
Michael Gehring 27bc445664 cmake: use luadoc for functions exported from C
Documenting half of the Lua API in the awesomerc manpage and the other
half with luadoc, doesn't make much sense. I modified the output of
gendoc.lua to something that looks like lua with luadoc markup. That
file can then be processed by luadoc and we have all Lua documentation in
one place.

And yes, we're now pulling custom doxygen tags out of C source code to
generate annotated lua source code we never use, which is then mangled
again by luadoc to spit out a set of html files.
2008-06-23 18:43:05 +02:00
Pierre Habouzit 4e588743ad we want case sensitivity
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-23 14:56:40 +02:00
Pierre Habouzit c2df807ede Use gperf to tokenize some strings.
This makes the code way more readable, and also avoids a lot of strcmps.

Use it for draw_align_get_from_str as a proof of concept.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-23 07:41:22 +02:00
Julien Danjou 41b4214d18 build: fix bashisms
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-22 22:15:37 +02:00
Michael Gehring 7448914304 cmake: remove old build-utils 2008-06-22 22:13:07 +02:00
Michael Gehring 426d2fee9e cmake: update git version every build 2008-06-22 22:13:06 +02:00
Michael Gehring 276f5f8849 [doxygen] Add \lvalue and convert existing doc.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-11 07:36:34 +02:00
Julien Danjou 4a07bc578f [build] Fix gendoc spaces
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 16:44:47 +02:00
Michael Gehring 9b2a5be57f adapt gendoc.lua to work with the new lua commands
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 08:49:00 +02:00
Julien Danjou c148b378cf [build] Replace $() with ``
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-08 09:35:41 +02:00
Julien Danjou c12b1e6b89 [build] Fix a bug in function name identifying
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-28 10:13:27 +02:00
Julien Danjou 96f2da3505 [build] List all function in manpage
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-26 20:24:30 +02:00
Julien Danjou 51e72f1d68 [build] Print a newline after printing comments
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-26 20:17:15 +02:00
Julien Danjou be44700669 [doc] Add new Lua based documentation generator for API
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-26 15:25:40 +02:00
Julien Danjou c822a9ccf1 [widget] Rename WidgetConstructor to widget_constructor_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-25 14:07:01 +02:00
Julien Danjou 0142f0efc9 [layout] Rename LayoutArrange to layout_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-23 15:11:59 +02:00
Julien Danjou 1f046b3c9f [everything] Switch from libconfuse to Lua
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-20 18:01:15 +02:00
Julien Danjou 4c89bc0d0c [uicb] Stop autogenerating uicb list
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-04 12:40:14 +02:00
Julien Danjou e33d6cae80 [uicb] Rename Uicb type to uicb_t
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-03 12:01:03 +02:00
marco candrian 4817c018d0 draw_style has 'bottom', 'top' and 'line' options
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-16 18:32:09 +02:00
marco candrian 09be09bf41 [doc] graph's grow has left and right (only) 2008-04-14 04:21:52 +02:00
marco candrian 3f38529b0c [doc] generate rc skeleton based on the order found in common/configopts
what is much better now already.

Much better could be achived still once
2008-04-09 03:07:57 +02:00
marco candrian 0113e69463 [docs] rcskeleton improving and completing 2008-04-09 02:21:54 +02:00
Julien Danjou 6b19c3e246 [doc] Rewrite type details
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-08 08:28:37 +02:00
marco candrian 03e754e04a [doc] Initial rc skeleton generator
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-04-08 08:18:19 +02:00
Julien Danjou d25ff609ca [build/doc] Add support for STR_LIST
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 18:02:53 +01:00