aboutsummaryrefslogtreecommitdiff
path: root/src/tools/pginclude
Commit message (Collapse)AuthorAge
* cpluspluscheck: Update include pathPeter Eisentraut2016-04-11
| | | | | Some things in src/include/fe_utils require libpq headers, so add libpq's include path to the command line used here.
* pgindent run for release 9.3Bruce Momjian2013-05-29
| | | | | This is the first run of the Perl-based pgindent script. Also update pgindent instructions.
* Exclude utils/probes.h and pg_trace.h from cpluspluscheckPeter Eisentraut2013-03-01
| | | | | They can include sys/sdt.h from SystemTap, which itself contains C++ code and so won't compile with a C++ compiler under extern "C" linkage.
* Exclude access/rmgrlist.h from cpluspluscheckPeter Eisentraut2013-02-08
| | | | It is not meant to be included standalone.
* Don't include postgres.h in postgres_fe.h for cpluspluscheck.Andrew Dunstan2012-12-18
| | | | | | Error exposed by recent Assert changes. Complaint from Peter Eisentraut.
* Add URL for include file visualization tool.Bruce Momjian2012-08-16
|
* Add possible alternate tool for pgrminclude, from Peter GeogheganBruce Momjian2012-08-16
|
* Remove whitespace from end of linesPeter Eisentraut2012-05-15
| | | | pgindent and perltidy should clean up the rest.
* Lots of doc corrections.Robert Haas2012-04-23
| | | | Josh Kupershmidt
* Make pgcompinclude/pgrminclude less tied to Bruce's personal machine.Robert Haas2011-12-01
| | | | | Not everyone has /pg linked to the src subdirectory of their PostgreSQL tree. Also, cc isn't the way to invoke the compiler everywhere.
* In pgrminclude, document requirement to use pgcompinclude, and sortBruce Momjian2011-09-25
| | | | files so include removal is more predictable.
* Document pgrminclude limitations.Bruce Momjian2011-09-24
|
* Expand pgrminclude to exclude use of macros CppAsString and CppConcat.Bruce Momjian2011-09-24
|
* Have pgrminclude skip files that use CppAsString2 because CppAsString2Bruce Momjian2011-09-07
| | | | will expaned undefined identifiers.
* Improve method of avoiding fcinfo compile errors.Bruce Momjian2011-09-01
| | | | Fix pgrminclude C comment marker.
* Modify pgrminclude -v to report include files that can't be compiled onBruce Momjian2011-08-28
| | | | | | | | | their own. Avoid compile problems with defines being redefined after the removal of the #if blocks. Change script to use shell functions for simplicity.
* Allow more include files to be compiled in their own by adding missingBruce Momjian2011-08-27
| | | | | | include dependencies. Modify pgcompinclude to skip a common fcinfo error.
* Add support for #elif to pgrminclude.Bruce Momjian2011-08-27
|
* Add another pgdefine path check, and a cvs-git change.Bruce Momjian2011-08-26
|
* Change references of CVS to .git.Bruce Momjian2011-08-26
|
* Fix missing pgdefine detection in pgrminclude.Bruce Momjian2011-08-26
|
* Modify pgrminclude to include all code, even in #if blocks. ProcessBruce Momjian2011-08-26
| | | | | | .h include files before .c files. Mark some includes as needed to be ignored by pgrminclude.
* Cleanup of script.Bruce Momjian2011-08-26
|
* do include files firstBruce Momjian2011-08-26
|
* Fix #if blocks.Bruce Momjian2011-08-26
|
* Fix pgrminclude regex pattern.Bruce Momjian2011-08-26
|
* In pgrminclude, add code to skip includes with a marker comment.Bruce Momjian2011-08-26
|
* In pgrminclude, make skipped include names constent and skip files withBruce Momjian2011-08-26
| | | | #if/#ifdefs.
* Mark cpluspluscheck as excutable in git.Bruce Momjian2011-08-22
|
* Remove -fno-operator-names switch from cpluspluscheck.Tom Lane2010-12-27
| | | | No longer needed now that bitand() and bitor() have been renamed.
* Rearrange cpluspluscheck to check just one .h file at a time.Tom Lane2010-12-27
| | | | | | | | | | | This is slower than the original coding but avoids the problem of including files in an unpredictable order. Aside from being more trustworthy, we can get rid of some exclusions that were formerly made for what turn out to be ordering or re-inclusion problems. I also modified it to include libpq's exported files in the check. ecpg should be included as well, but I'm unclear on which ecpg .h files are meant to be included by clients.
* Tweak cpluspluscheck to avoid directly #include'ing gram.h.Tom Lane2010-12-27
| | | | | gram.h has ordering dependencies, which are satisfied when it's included from gramparse.h, but might not be if it's pulled in directly.
* Remove useless whitespace at end of linesPeter Eisentraut2010-11-23
|
* Remove cvs keywords from all files.Magnus Hagander2010-09-20
|
* Make backend header files C++ safePeter Eisentraut2009-07-16
| | | | | | | | | | | This alters various incidental uses of C++ key words to use other similar identifiers, so that a C++ compiler won't choke outright. You still (probably) need extern "C" { }; around the inclusion of backend headers. based on a patch by Kurt Harriman <harriman@acm.org> Also add a script cpluspluscheck to check for C++ compatibility in the future. As of right now, this passes without error for me.
* More README src cleanups.Bruce Momjian2008-03-21
|
* Add WIN32 compile suggestion to pginclude README.Bruce Momjian2006-07-19
|
* Add pginclude testing ideas.Bruce Momjian2006-07-18
|
* Mention dependency problems caused by pgrminclude on include files.Bruce Momjian2006-07-17
|
* Create a tool to catch #include omissions that might not result in anyTom Lane2006-07-15
| | | | | | compiler warning, specifically #ifdef or #if defined tests on symbols that are defined in a file not included. The results are a bit noisy and require care to interpret, but it's a lot better than no tool at all.
* Move CFLAGS for pginclude to the end of the command line.Bruce Momjian2006-07-14
|
* Skip stripping postgres_fe.h include file.Bruce Momjian2006-07-13
|
* Improve pginclude tools to process include file usage by other include files.Bruce Momjian2006-07-13
|
* Fix pgrminclude to work for stripping include files.Bruce Momjian2006-07-12
|
* Improve pginclude tests.Bruce Momjian2006-07-11
|
* Improve pginclude compile flags.Bruce Momjian2006-07-11
|
* Update pginclude documentation.Bruce Momjian2006-07-11
|
* Have pgrminclude process include files too.Bruce Momjian2006-07-11
|
* Add $CFLAGS support to pgrminclude.Bruce Momjian2006-07-11
|
* Move pgrminclude debug code to be more effective.Bruce Momjian2006-07-11
|