Module: Mesa
Branch: master
Commit: 99802519b47983be8301a0283f2946a44a9656a5
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=99802519b47983be8301a0283f2946a44a9656a5

Author: Paul Berry <stereotype...@gmail.com>
Date:   Wed Oct 10 07:20:57 2012 -0700

glapi: Reformat python code generation scripts to use 4-space indentation.

This brings us into accordance with the official Python style guide
(http://www.python.org/dev/peps/pep-0008/#indentation).

To preserve the indentation of the c code that is generated by these
scripts, I've avoided re-indenting triple-quoted strings (unless those
strings appear to be docstrings).

Acked-by: Kenneth Graunke <kenn...@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.roman...@intel.com>

---

 src/mapi/glapi/gen/extension_helper.py |  330 ++++----
 src/mapi/glapi/gen/glX_XML.py          | 1026 +++++++++++-----------
 src/mapi/glapi/gen/glX_doc.py          |  472 +++++-----
 src/mapi/glapi/gen/glX_proto_common.py |   88 +-
 src/mapi/glapi/gen/glX_proto_recv.py   | 1018 +++++++++++-----------
 src/mapi/glapi/gen/glX_proto_send.py   | 1532 ++++++++++++++++----------------
 src/mapi/glapi/gen/glX_proto_size.py   | 1218 +++++++++++++-------------
 src/mapi/glapi/gen/glX_server_table.py |  712 ++++++++--------
 src/mapi/glapi/gen/gl_SPARC_asm.py     |  440 +++++-----
 src/mapi/glapi/gen/gl_XML.py           | 1376 ++++++++++++++--------------
 src/mapi/glapi/gen/gl_apitemp.py       |  418 +++++-----
 src/mapi/glapi/gen/gl_enums.py         |  192 ++--
 src/mapi/glapi/gen/gl_gentable.py      |   76 +-
 src/mapi/glapi/gen/gl_offsets.py       |  138 ++--
 src/mapi/glapi/gen/gl_procs.py         |  300 ++++----
 src/mapi/glapi/gen/gl_table.py         |  392 ++++----
 src/mapi/glapi/gen/gl_x86-64_asm.py    |  546 ++++++------
 src/mapi/glapi/gen/gl_x86_asm.py       |  412 +++++-----
 src/mapi/glapi/gen/mesadef.py          |  306 ++++----
 src/mapi/glapi/gen/remap_helper.py     |  308 ++++----
 src/mapi/glapi/gen/typeexpr.py         |  378 ++++----
 21 files changed, 5839 insertions(+), 5839 deletions(-)

Diff:   
http://cgit.freedesktop.org/mesa/mesa/diff/?id=99802519b47983be8301a0283f2946a44a9656a5
_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to