Mesa (master): glapi: Reformat python code generation scripts to use 4-space indentation.
Paul Berry
stereotype441 at kemper.freedesktop.org
Wed Oct 10 18:23:37 UTC 2012
Module: Mesa
Branch: master
Commit: 99802519b47983be8301a0283f2946a44a9656a5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=99802519b47983be8301a0283f2946a44a9656a5
Author: Paul Berry <stereotype441 at 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 <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at 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
More information about the mesa-commit
mailing list