Commit Graph

24 Commits

Author SHA1 Message Date
Peter Kokot
1c850bfcca Sync leading and final newlines in source code files
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-14 12:55:24 +02:00
Peter Kokot
3362620b5f Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
Bernd
3a51145d0a
Update README.EXT_SKEL 2017-11-10 05:34:13 +00:00
Tom Van Looy
6d0dec27fa Remove leftovers of TSRMLS in docs 2015-12-25 11:13:28 +01:00
Rasmus Lerdorf
41013ba597 Fix the most obvious issues here.
There are other problems though
2015-01-20 23:56:51 -08:00
Yasuo Ohgaki
d65ddb633d Fix English and improve by Stas. Thanks :) 2014-01-26 17:20:13 -08:00
Yasuo Ohgaki
f496aac1f6 Update source docs 2014-01-26 17:20:12 -08:00
Yasuo Ohgaki
76c098395d Revert "Update source docs"
This reverts commit 10d06cd4ff.
2014-01-26 17:20:12 -08:00
Yasuo Ohgaki
60bcf84dda Update source docs 2014-01-26 17:20:12 -08:00
Anatol Belski
9ccde8a415 added notes about the PECL site conformity 2013-10-14 16:07:26 +02:00
Stanislav Malyshev
6b87e16bf0 update the docs
# if we keep it in CVS, it should have correct docs
2008-06-19 17:59:35 +00:00
Hartmut Holzgraefe
f355c4c5bb ok, re-adding this mostly un-maintained awk/sed/sh nightmare for now ... 2003-06-29 16:07:18 +00:00
Hartmut Holzgraefe
7218a70ff6 ext_skel is no more, and ext_skel_ng is moving to PEAR::PECL_Gen 2003-06-29 12:21:58 +00:00
foobar
34aa1fdd2a fix bug #22841 2003-03-24 12:16:03 +00:00
Hartmut Holzgraefe
de87d3fda3 advertising ext_skel_ng ;) 2003-03-13 09:02:13 +00:00
Jon Parise
705766fd9b - Spell out "cd" as "change directory".
- Replace "ie" with "e.g.", which is more appropriate in this context.
2002-10-23 21:31:12 +00:00
Rasmus Lerdorf
9c57dffecd Looks like mawk can't handle create_stubs - if someone is keen it would be
nice to fix that, but for now just make a note that gawk may be needed.
2002-03-30 16:44:56 +00:00
Zeev Suraski
5dfe1deb96 We no longer need any FETCH's for internal functions 2001-08-02 05:49:24 +00:00
Rasmus Lerdorf
8cf4e4a725 TSRM fix for ext_skel - probably more needed 2001-08-02 05:36:50 +00:00
Hartmut Holzgraefe
c420d653ee support for short comments was added to ext_skel proto files
theese will be used in proto comments in the source
and as <refpurpose> information in the XML docs
2000-10-31 11:30:11 +00:00
Rasmus Lerdorf
246999a51f Tiny wording fix 2000-07-16 18:51:00 +00:00
Jouni Ahto
495a957c99 - Fixed incorrect code generated when all parameters are optional.
- Fixed handling of grouped optional parameters.
- Added an option to generate xml documentation.
- Added an option not to be nice and helpful and create all kinds
  of comments and testing functions.
- Added on option to create function stubs only.
- Added options --assing-params and --string-lens that change
  the generated code.
- Updated documentation.
2000-06-15 01:57:23 +00:00
Jouni Ahto
88426390a8 - Fix incorrect code creation when an optional argument is resource type. 2000-06-10 09:45:27 +00:00
Jouni Ahto
d09ec3261f - Add some documentation for ext_skel and a note about it's existence. 2000-06-10 08:59:43 +00:00