1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-30 06:01:21 +03:00
Commit Graph

86 Commits

Author SHA1 Message Date
Bruce Momjian
4e28b08e53 Improve comment after 'else' handling of pgindent. 2004-10-07 02:32:06 +00:00
Bruce Momjian
b3f2b19218 Update length from 75 to 79. 2004-10-02 01:10:58 +00:00
Bruce Momjian
409de6be6c Re-add brace removal code but comment it out so we know why we removed
it and have it in case we need it for some special case.
2004-09-12 22:21:30 +00:00
Bruce Momjian
47402a9b00 Remove code that delete braces around single statements. 2004-09-12 22:11:27 +00:00
Bruce Momjian
15d3f9f6b7 Another pgindent run with lib typedefs added. 2004-08-30 02:54:42 +00:00
Bruce Momjian
ee66401f31 Update typedefs with /lib info. 2004-08-29 17:31:42 +00:00
Bruce Momjian
90cb9c3051 Update with new typedefs. Remove java and c++ parts of readme. 2004-08-29 04:49:45 +00:00
Bruce Momjian
e3107b2844 Mention grabbing typedefs from pgsql/lib too. 2004-01-04 00:11:29 +00:00
Bruce Momjian
a994d5984f Adjust pgindent for newer awks.
Nigel J. Andrews
2003-09-28 00:25:22 +00:00
Bruce Momjian
b4ca39b956 Allow pgindent to work with newer BSD indents. 2003-09-28 00:22:58 +00:00
Bruce Momjian
16e4adc38f Update bsd indent patch. 2003-09-27 21:26:09 +00:00
Bruce Momjian
ee84100cc1 Cleanup pgindent patch. 2003-09-27 21:19:47 +00:00
Bruce Momjian
5a288903b9 Guard against pgindent changing =- to = -. 2003-08-30 14:59:34 +00:00
Bruce Momjian
0e2b12bd96 pgindent fix for new typedefs. 2003-08-08 21:25:06 +00:00
Bruce Momjian
c7fda55cc6 Update pgindent readme. 2003-08-07 15:02:43 +00:00
Bruce Momjian
78154363f9 Update typedef names for pgindent 7.4. 2003-08-07 05:18:14 +00:00
Bruce Momjian
4490c7b14b Update symbols for 7.3. 2002-09-04 19:11:06 +00:00
Bruce Momjian
2355482e28 Update for 7.3 typedefs. 2002-09-04 19:00:01 +00:00
Bruce Momjian
af3cf2cfa8 Update to reflect Tom's suggestions. 2002-09-04 18:45:52 +00:00
Bruce Momjian
d54ae2aff2 Add C++ indent tool. 2002-06-15 19:13:04 +00:00
Bruce Momjian
09634eafe1 Indent jdbc case labels using pgjindent. 2001-11-19 23:16:46 +00:00
Bruce Momjian
46d50783bf Update pgindent README so it gets *.java.in files. 2001-11-19 22:36:11 +00:00
Bruce Momjian
876c7009fb Make extern C handling more flexible. 2001-11-08 17:03:23 +00:00
Bruce Momjian
c6e25ed1af Fix replacement of extern C string. 2001-11-07 22:10:02 +00:00
Bruce Momjian
1233d4fd6c Fix typo. 2001-11-07 21:29:04 +00:00
Bruce Momjian
e644fc25c7 Prevent indenting of 'extern "C"' blocks. 2001-11-07 21:24:28 +00:00
Bruce Momjian
ea08e6cd55 New pgindent run with fixes suggested by Tom. Patch manually reviewed,
initdb/regression tests pass.
2001-11-05 17:46:40 +00:00
Bruce Momjian
0f450dae8b More cleanup for stuff after closing brace in first column. 2001-11-05 06:37:51 +00:00
Bruce Momjian
d447dbf392 Handle tabs after closing brace in first column with less indenting. 2001-11-05 05:47:50 +00:00
Bruce Momjian
158129be72 Improve readability of script. 2001-11-05 05:18:43 +00:00
Bruce Momjian
3bb110ebb3 Pull in variables defined in structs; had too many tabs. 2001-11-04 21:27:41 +00:00
Bruce Momjian
8ee7c19e3c Require closing paren on line above brace to identify function
difinition, just for formatting workaround, per Tom's discovery.
2001-11-03 22:34:13 +00:00
Bruce Momjian
f008976bcd More updates for GNU indent. 2001-11-03 12:34:15 +00:00
Bruce Momjian
ffba91cd1e Make pgindent use GNU Indent version 2.X better. 2001-11-03 01:49:22 +00:00
Bruce Momjian
04550d3c90 Add check for 'extern "C"' for pgindent. 2001-11-02 23:43:24 +00:00
Bruce Momjian
c41b6b1b9c Fix small problem Tom Lane found with pgindent run. 2001-10-30 05:38:56 +00:00
Bruce Momjian
6783b2372e Another pgindent run. Fixes enum indenting, and improves #endif
spacing.  Also adds space for one-line comments.
2001-10-28 06:26:15 +00:00
Bruce Momjian
c29797deeb Add code to trip trailing newlines in a file. 2001-10-27 13:54:45 +00:00
Bruce Momjian
5ef74fe593 Correct fix for indenting. 2001-10-27 03:31:36 +00:00
Bruce Momjian
b93939a6a7 Adjust NR tests. More accurate. 2001-10-26 17:54:45 +00:00
Bruce Momjian
8c1f4e574b Add code to not indent enum, per Tom Lane. 2001-10-26 16:21:13 +00:00
Bruce Momjian
99a9f2f6f4 Add ODBC typedefs. 2001-10-26 15:42:54 +00:00
Bruce Momjian
80b9a00439 Add blank line before #endif to #endif's at the end of the file. 2001-10-25 19:57:03 +00:00
Bruce Momjian
3231341eed Add slash for comment spacing, for Tom. 2001-10-25 19:22:05 +00:00
Bruce Momjian
81d9a9674e Add comment spaces for trailing ) and comment. 2001-10-25 18:44:42 +00:00
Bruce Momjian
cae059ba5e Add spacing for single-line comments with trailing semicolon _and_
comma, per Tom.
2001-10-25 18:25:23 +00:00
Bruce Momjian
05584c9660 Code cleanup. 2001-10-25 06:27:56 +00:00
Bruce Momjian
59da2105d8 Update to prevent CATALOG() from wrapping. 2001-10-25 05:07:56 +00:00
Bruce Momjian
bbc7491de1 Add current typedef symbols to pgindent. 2001-10-25 03:56:35 +00:00
Bruce Momjian
3fb3678409 Create pgjindent for java. 2001-09-07 21:25:44 +00:00