Commit Graph

80 Commits

Author SHA1 Message Date
Robert Moore
f4dbc0287a AcpiSrc: Add cleanup function to remove empty lines at file start/end.
To promote consistency, this feature removes all empty lines at the start
of the file and at the end of the file.
2012-09-21 13:42:34 -07:00
Robert Moore
087f252d98 iASL/Tools: return statement audit.
Ensure that all normal return statements surround the return
expression (value) with parens, for consistency.
2012-09-21 09:50:35 -07:00
Robert Moore
7db43032db Update ACPICA copyrights to 2012.
Standard ACPICA source modules only.
2012-01-03 14:08:42 -08:00
Robert Moore
e3f7713188 Update for GCC 4.6
Fixes several issues with GCC 4.6 related to the new checks
for unused variables.
2011-10-04 07:55:35 -07:00
Robert Moore
d41344f1ec Update all ACPICA copyrights and signons to 2011.
Standard ACPICA source modules only.
2011-01-03 14:02:13 -08:00
Robert Moore
1af8b94914 iASL/Tools: Replace all %d format specifiers with %u (unsigned).
With only a few exceptions, ACPICA does not use signed integers.
Therefore, %d is incorrect.
2010-05-20 12:12:23 -07:00
Robert Moore
c7dd20b0d7 Update all ACPICA copyrights and signons to 2010.
Add 2010 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
2010-01-08 08:49:11 -08:00
Robert Moore
cdfcc7cfce Update for new gcc-4 warning options.
Added several new options for the gcc-4 generation, and updated the source
accordingly. This includes some code restructuring to eliminate unreachable
code, elimination of some gotos, elimination of unused return values, and
some additional casting.
2010-01-08 08:14:05 -08:00
Robert Moore
a1206bab23 AcpiSrc: Fix missing newlines in multi-line macros.
Fix a problem where newlines can be incorrectly removed from some
multi-line macros during conversion to Linux.
2009-07-24 13:55:13 -07:00
Robert Moore
78c5f575d4 Add missing function prototypes.
Mostly local prototypes that were missing.
2009-04-15 09:56:33 -07:00
Robert Moore
f19dd6aefd acpisrc: fix some non-ansi constructs.
Non-ansi comments, etc.
2009-04-14 14:11:44 -07:00
Robert Moore
416eb5461f Update all copyrights and signons to 2009.
Add 2009 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
2009-01-08 13:17:27 -08:00
Robert Moore
0b09da4ebd Remove obsolete version number in module headers.
Removed the "$Revision" number that appeared in each module header.
This version number was useful under SourceSafe and CVS, but has no
meaning under git. It is not only incorrect, it could also be
misleading.
2008-09-25 12:56:30 -07:00
Robert Moore
86b0a69e1f acpisrc: Improve comment counting mechanism.
Count first and last lines of multi-line comments as whitespace, not
comment lines. Handle Linux legal header in addition to standard
acpica header.
2008-08-25 13:50:34 -07:00
rmoore1
a417391ec6 Update copyright to 2008.
Added 2008 copyright to all module headers and signons. This affects virtually every file in the ACPICA core subsystem, iASL compiler, and the utilities.
2008-01-09 21:27:10 +00:00
rmoore1
5c57d6bdc7 Update to allow .ASL files (statistics only) 2007-11-20 22:37:34 +00:00
rmoore1
05d312d1e6 Implemented quiet mode to stop excess output. 2007-03-28 18:51:21 +00:00
rmoore1
6e075f8871 Update copyright to 2007.
Added 2007 copyright to all module headers and signons. This affects virtually every file in the ACPICA core subsystem, iASL compiler, and the utilities.
2007-01-09 20:01:19 +00:00
rmoore1
d7a9ca7ad8 Added option for special formatting for files containing structs 2006-03-15 22:13:27 +00:00
rmoore1
bcecdaeb79 Automated cleanup 2006-03-10 18:59:10 +00:00
rmoore1
2a8c9c79b9 Handle else-if and else-while when determining whitespace 2006-02-07 23:16:24 +00:00
rmoore1
ec5455db60 Add whitespace for comments that get crammed up against previous statement 2006-02-07 22:51:40 +00:00
rmoore1
9efdd774a4 Add 2006 copyright 2006-01-09 17:47:27 +00:00
rmoore1
b5931f0e72 automated cleanup 2005-10-27 23:14:07 +00:00
rmoore1
103dcd31c5 Changes for new resource structs and types 2005-10-21 21:09:10 +00:00
rmoore1
009971ccef Update for new symbols, allow initializer lists with braces 2005-09-30 22:31:56 +00:00
aystarik
180e606539 display long lines in verbose mode
date	2005.03.23.23.40.00;	author rmoore1;	state Exp;
2005-06-29 20:44:58 +00:00
aystarik
e5ae16a4d7 Fix for InsertCarriageReturn
date	2003.02.28.16.57.00;	author rmoore1;	state Exp;
2005-06-29 20:44:53 +00:00
aystarik
3303c35bb0 Check for end-of-line
date	2002.12.19.23.56.00;	author rmoore1;	state Exp;
2005-06-29 20:44:48 +00:00
aystarik
72c61dda99 Split out functions to 2 additional files
date	2002.12.17.17.55.00;	author rmoore1;	state Exp;
2005-06-29 20:44:43 +00:00
aystarik
38ddb77771 Update list of lower case identifiers for Linux
date	2002.12.13.22.10.00;	author rmoore1;	state Exp;
2005-06-29 20:44:42 +00:00
aystarik
461ddc13c9 Fix for quote
date	2002.10.22.21.33.00;	author rmoore1;	state Exp;
2005-06-29 20:44:38 +00:00
aystarik
773edb461d Removed PARSER_ONLY, renamed ENABLE_DEBUGGER to ACPI_DEBUGGER.
renamed ACPI_DEBUG to ACPI_DEBUG_OUTPUT


date	2002.07.26.21.45.00;	author rmoore1;	state Exp;
2005-06-29 20:44:37 +00:00
aystarik
91f2ab6b32 Handle escape sequences in format strings
date	2002.05.28.16.03.00;	author rmoore1;	state Exp;
2005-06-29 20:44:36 +00:00
aystarik
4d06244121 Gpe0Blk and Gpe1Blk were coming out as gpe0blk and gpe1_blk. Made 0
case like 1 case.


date	2002.03.08.02.06.00;	author agrover;	state Exp;
2005-06-29 20:44:34 +00:00
aystarik
28235710ad Pass through identifiers of the form _1X_
date	2001.10.10.15.18.00;	author rmoore1;	state Exp;
2005-06-29 20:44:31 +00:00
aystarik
d2230c1a48 Fix for end-of-buffer
date	2001.09.20.16.06.00;	author rmoore1;	state Exp;
2005-06-29 20:44:29 +00:00
aystarik
2e2c5c06da add ACPI_DEBUG_PRINT_RAW
date	2001.08.31.19.58.00;	author agrover;	state Exp;
2005-06-29 20:44:27 +00:00
aystarik
ab11183675 Match exact word for statement removal and conditional compile removal
date	2001.08.31.19.57.00;	author rmoore1;	state Exp;
2005-06-29 20:44:26 +00:00
aystarik
1847a5789a fixed isalpha -> isalnum
date	2001.08.31.19.56.00;	author rmoore1;	state Exp;
2005-06-29 20:44:25 +00:00
aystarik
c5661dcb08 Added "replace whole word" option to string replacement
date	2001.08.31.19.55.00;	author rmoore1;	state Exp;
2005-06-29 20:44:24 +00:00
aystarik
8a76bdd5d3 Better fix for escaped quotes!
date	2001.08.24.20.22.00;	author rmoore1;	state Exp;
2005-06-29 20:44:23 +00:00
aystarik
6d96601310 Handle escaped quotes within a quoted string
date	2001.08.24.14.31.00;	author rmoore1;	state Exp;
2005-06-29 20:44:22 +00:00
aystarik
b6eafca967 remove _t postfix from type names
date	2001.07.17.00.24.00;	author agrover;	state Exp;
2005-06-29 20:44:21 +00:00
aystarik
53c69463d4 change DEBUG_TRACK_ALLOCATIONS to DBG_TRACK_ALLOCATIONS. This prevents
the ACPI_DEBUG-removing code in asconvert from getting us.


date	2001.07.10.21.02.00;	author agrover;	state Exp;
2005-06-29 20:44:20 +00:00
aystarik
89a16eed8f Cleanup prior to label
date	2001.04.26.23.12.00;	author rmoore1;	state Exp;
2005-06-29 20:44:19 +00:00
aystarik
32c1adc803 More enhancements for the moveBracetoPreviousLine function
date	2001.02.28.22.02.00;	author rmoore1;	state Exp;
2005-06-29 20:44:16 +00:00
aystarik
e3d86b91ee All braces EXCEPT the "open function" brace now moved up to previous
line.  Some fixes to the TAB8 conversion support


date	2001.02.22.23.55.00;	author rmoore1;	state Exp;
2005-06-29 20:44:14 +00:00
aystarik
bbf6766df0 remove ifdefs before DEBUG_PRINTs
date	2001.02.09.01.42.00;	author agrover;	state Exp;
2005-06-29 20:44:13 +00:00
aystarik
f525a5fcff new define TRACK_ALLOCATIONS needs to be stripped from linux nodebug
builds


date	2001.01.22.18.33.00;	author agrover;	state Exp;
2005-06-29 20:44:12 +00:00