Bruce Momjian
0a78320057
pgindent run for 9.4
...
This includes removing tabs after periods in C comments, which was
applied to back branches, so this change should not effect backpatching.
2014-05-06 12:12:18 -04:00
Bruce Momjian
5ff47acf8f
entab: add new options
...
Add new entab options to process only C comment whitespace after
periods, and to protect leading whitespace.
2014-01-31 11:05:21 -05:00
Bruce Momjian
8440897b38
Fix pointer processing in new entab.c function
2014-01-29 13:31:11 -05:00
Bruce Momjian
e93f7253a7
Add C functions to centralize entab processing
2014-01-29 12:48:07 -05:00
Bruce Momjian
db90bcf8df
Add more C comments to entab.c.
2014-01-29 12:22:22 -05:00
Bruce Momjian
f979599b20
Modernize entab source code
...
Remove halt.c, improve comments, rename manual page file.
2013-06-19 12:31:26 -04:00
Peter Eisentraut
5bb2ddc0af
entab: Fix some compiler warnings
2013-01-29 22:21:21 -05:00
Peter Eisentraut
8bd44677df
entab: Improve makefile
...
A few simplifications and stylistic improvements, found while grepping
around for makefile problems elsewhere.
2012-04-24 21:20:55 +03:00
Magnus Hagander
822128947e
Add .gitignore file for entab
...
Kevin Grittner
2012-01-09 18:18:25 +01:00
Bruce Momjian
e991930e8a
Improve entab's Makefile install entry.
...
Andrew Dunstan
2011-10-11 18:03:34 -04:00
Peter Eisentraut
fc946c39ae
Remove useless whitespace at end of lines
2010-11-23 22:34:55 +02:00
Magnus Hagander
9f2e211386
Remove cvs keywords from all files.
2010-09-20 22:08:53 +02:00
Peter Eisentraut
3f11971916
Remove extra newlines at end and beginning of files, add missing newlines
...
at end of files.
2010-08-19 05:57:36 +00:00
Peter Eisentraut
086c189456
Normalize fgets() calls to use sizeof() for calculating the buffer size
...
where possible, and fix some sites that apparently thought that fgets()
will overwrite the buffer by one byte.
Also add some strlcpy() to eliminate some weird memory handling.
2007-02-08 11:10:27 +00:00
Bruce Momjian
8b4ff8b6a1
Wording cleanup for error messages. Also change can't -> cannot.
...
Standard English uses "may", "can", and "might" in different ways:
may - permission, "You may borrow my rake."
can - ability, "I can lift that log."
might - possibility, "It might rain today."
Unfortunately, in conversational English, their use is often mixed, as
in, "You may use this variable to do X", when in fact, "can" is a better
choice. Similarly, "It may crash" is better stated, "It might crash".
2007-02-01 19:10:30 +00:00
Alvaro Herrera
7234777674
Apply entab fix from Marko Kreen for these problems:
...
- halt.c did not include stdlib.h, thus missed exit() prototype
- Makefile ignores BINDIR for install.
- Makefile calls install with user/group args, thus failing for regular user.
While trying it I noticed that the Makefile does not support VPATH builds ...
2006-07-11 21:21:59 +00:00
Bruce Momjian
f3d99d160d
Add CVS tag lines to files that were lacking them.
2006-03-11 04:38:42 +00:00
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
2005-10-15 02:49:52 +00:00
Bruce Momjian
22f0303023
Fix compile of entab to use stdarg.h. Clean up includes.
...
Marko Kreen
2005-05-27 15:15:31 +00:00
Neil Conway
3fa7901070
This patch changes the use of varargs.h to stdarg.h as
...
required by modern versions of GCC.
Niels Breet
2005-04-15 04:29:32 +00:00
Bruce Momjian
d665217278
Fix include used by entab.
2003-10-07 17:40:09 +00:00
Bruce Momjian
4d4953fc41
Make Win32 tests to match existing Cygwin tests, where appropriate.
2003-04-18 01:03:42 +00:00
Tom Lane
8ff263f362
Fix portability problem (result of getopt is int, not char).
2002-01-09 18:21:46 +00:00
Bruce Momjian
b81844b173
pgindent run on all C files. Java run to follow. initdb/regression
...
tests pass.
2001-10-25 05:50:21 +00:00
Bruce Momjian
9e1552607a
pgindent run. Make it all clean.
2001-03-22 04:01:46 +00:00
Peter Eisentraut
2a7da3f564
Standardize on __CYGWIN__ rather than __CYGWIN32__ macro. Doesn't matter
...
either way (although the former is preferred by the Cygwin folks
themselves), but using only one seems nicer.
2000-09-29 13:53:35 +00:00
Bruce Momjian
7a6b562fdf
Apply Win32 patch from Horak Daniel.
1999-01-17 06:20:06 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Bruce Momjian
5d68d3e957
New entab version.
1997-09-06 03:14:38 +00:00
Bruce Momjian
b71fba22e3
New entab version.
1997-09-06 02:46:43 +00:00
Bruce Momjian
723f66076e
Update entab version.
1997-09-06 01:46:25 +00:00
Bruce Momjian
2718f3097f
Fix for entab.
1997-09-06 01:37:01 +00:00
Bruce Momjian
fddc57bfcd
Add PGINDENT and support program.
1997-08-29 21:13:00 +00:00