Commit Graph

47 Commits

Author SHA1 Message Date
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
Julien Danjou 7294dc55fd [build/doc] Add support for comments on section
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:22:35 +01:00
Julien Danjou 51b6630d9e [build] Change python path to /usr/bin/env python
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 17:13:14 +01:00
Julien Danjou 25b22a7cb9 [doc] Add autogeneration of options documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 16:48:52 +01:00
Julien Danjou c834134cc8 [doc] Autogenerate documentation for uicb from source code
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-27 15:00:46 +01:00
Julien Danjou f4beb460d8 Add support for package codename into codename-stamp (like version) 2008-03-13 10:57:10 +01:00
Julien Danjou 19ffbf6e0f move awesomerc manpages to section 5 (File format) 2008-02-28 12:36:17 +01:00
Hans Ulrich Niedermann 6dd1c20816 Honor GIT_DIR setting when determining version
If GIT_DIR is not set, fall back to top_srcdir/.git

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-30 09:22:45 +01:00
Hans Ulrich Niedermann e719d6d0b6 fix header generators for out-of-source builds
The header generator scripts now work when srcdir!=builddir.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Julien Danjou bbe0254393 move gen scripts in build-utils 2008-01-21 16:31:14 +01:00
Hans Ulrich Niedermann eadebdd35d Add version generation script, version stamp file
Use a single script to generate the version number from git. This script

  * strips the v from the start of the "git describe" output
  * changes all "-" occurences to "."
  * does NOT create a properly sortable version number from "2.1-rc2"
    type "git describe" output
  * does NOT generate a "proper" "1.2.3" type version number under any
    circumstances
  * will generate "2.1" in case the "git describe" output is "2.1"

These policy might need closer adaption to awesome's tagging habit
some time.

In dist tarballs, ship a "version-stamp" file with the package version
in it. If the "version-stamp" file is present (i.e. if it is a source
tree from a dist tarball), no git checks will be performed.

Concept from autoconf, but code written from scratch to match
awesome's requirements.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-15 08:21:43 +01:00