php-src/ext/gd/libgd
Peter Kokot 92ac598aab Remove local variables
This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files.  All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.
2019-02-03 21:03:00 +01:00
..
bmp.h Implement #69606: Support BMPs (added in GD 2.1.0) 2017-01-04 14:55:02 +01:00
COPYING
gd.c Merge branch 'PHP-7.2' into PHP-7.3 2019-01-16 20:22:37 +01:00
gd.h Remove HAVE_SYS_VARARGS_H 2018-09-16 20:50:20 +02:00
gd2copypal.c
gd2time.c
gd2topng.c
gd_bmp.c Merge branch 'PHP-7.2' into PHP-7.3 2018-12-31 20:50:19 +01:00
gd_color_match.c Merge branch 'PHP-7.1' into PHP-7.2 2019-01-06 11:57:16 -08:00
gd_crop.c Fix #73291: imagecropauto() $threshold differs from external libgd 2018-12-01 18:49:30 +01:00
gd_errors.h fix syslog interference 2016-10-13 14:40:37 +02:00
gd_filter.c Fixed bug #75124 (gdImageGrayScale() may produce colors) 2017-08-27 13:53:39 +02:00
gd_gd.c
gd_gd2.c fix changed symbol 2017-01-17 10:10:12 +01:00
gd_gif_in.c Merge branch 'PHP-7.1' into PHP-7.2 2018-01-01 21:07:21 -08:00
gd_gif_out.c Sync with upstream 2019-01-19 11:30:12 +01:00
gd_intern.h
gd_interpolation.c Fix misleading variable type 2019-01-11 00:21:44 +01:00
gd_io.c Implement #69606: Support BMPs (added in GD 2.1.0) 2017-01-04 14:55:02 +01:00
gd_io.h Implement #69606: Support BMPs (added in GD 2.1.0) 2017-01-04 14:55:02 +01:00
gd_io_dp.c Fixed bug #75111 (Memory disclosure or DoS via crafted .bmp image) 2017-08-24 14:07:10 +02:00
gd_io_file.c
gd_io_ss.c
gd_jpeg.c Sync with upstream 2019-01-19 11:30:12 +01:00
gd_matrix.c Remove extra semicolons 2018-07-25 21:47:04 -03:00
gd_pixelate.c
gd_png.c Unify error handling of bundled and external libgd 2016-10-07 01:13:49 +02:00
gd_rotate.c Fix #73893: A hidden danger of death cycle in a function of gd 2017-01-10 19:52:06 +01:00
gd_security.c Align overflow error messages with upstream 2018-02-10 15:41:33 +01:00
gd_ss.c Unify error handling of bundled and external libgd 2016-10-07 01:13:49 +02:00
gd_topal.c Move freeing of truecolor pixels to a function 2016-10-03 12:11:46 +02:00
gd_transform.c
gd_wbmp.c Sync with upstream 2019-01-19 11:30:12 +01:00
gd_webp.c Migrate ext/gd to pkg-config 2019-01-15 10:15:05 +01:00
gd_xbm.c Remove local variables 2019-02-03 21:03:00 +01:00
gdcache.c
gdcache.h
gddemo.c
gdfontg.c
gdfontg.h
gdfontl.c
gdfontl.h
gdfontmb.c
gdfontmb.h
gdfonts.c
gdfonts.h
gdfontt.c
gdfontt.h
gdft.c Merge branch 'PHP-7.1' 2016-09-20 01:38:28 +02:00
gdhelpers.c
gdhelpers.h Port variable image resolution support from libgd 2.1.0 2016-09-19 19:00:58 +02:00
gdkanji.c Merge branch 'PHP-5.6' into PHP-7.0 2016-07-23 16:55:16 +02:00
gdparttopng.c
gdtables.c
gdtest.c
gdtestft.c
gdtopng.c
gdxpm.c
jisx0208.h
pngtogd.c
pngtogd2.c
README
testac.c
wbmp.c Fix memory leak 2017-10-23 15:26:08 +02:00
wbmp.h
webpng.c

This directory contains the GD library available from 
http://www.boutell.com/gd/

The inclusion of this library with PHP is in response to the 
popularity of the GD extension and the GD library itself.  We felt
it would be worthwhile to make sure everyone had access to the
features of GD and by bundling GD with PHP we have a known target to
work against.

In addition to the above, a number of motivated PHP hackers have
expressed an interest in extending the functionality of the PHP-GD
combination.  By putting a version of GD into PHP CVS we have provided
a sandbox for them to throw sand at each other in.  Any and all
improvements we make to the GD library will be contributed back to the
original maintainers of this library at boutell.com.

The following statement is from the original GD package:

  Credits and license terms
  
   In order to resolve any possible confusion regarding the authorship of
   gd, the following copyright statement covers all of the authors who
   have required such a statement. _If you are aware of any oversights in
   this copyright notice, please contact Thomas Boutell who will be
   pleased to correct them._

COPYRIGHT STATEMENT FOLLOWS THIS LINE

     Portions copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
     by Cold Spring Harbor Laboratory. Funded under Grant P41-RR02188 by
     the National Institutes of Health.
     
     Portions copyright 1996, 1997, 1998, 1999, 2000, 2001 by
     Boutell.Com, Inc.
     
     Portions relating to GD2 format copyright 1999, 2000 Philip Warner.
     
     Portions relating to PNG copyright 1999, 2000 Greg Roelofs.
     
     Portions relating to libttf copyright 1999, 2000 John Ellson
     (ellson@lucent.com).
     
     Portions relating to JPEG and to color quantization copyright 2000,
     Doug Becker and copyright (C) 1994-1998, Thomas G. Lane. This
     software is based in part on the work of the Independent JPEG
     Group. See the file README-JPEG.TXT for more information.
     
     Portions relating to WBMP copyright 2000 Maurice Szmurlo and Johan
     Van den Brande.
     
     _Permission has been granted to copy, distribute and modify gd in
     any context without fee, including a commercial application,
     provided that this notice is present in user-accessible supporting
     documentation._
     
     This does not affect your ownership of the derived work itself, and
     the intent is to assure proper credit for the authors of gd, not to
     interfere with your productive use of gd. If you have questions,
     ask. "Derived works" includes all programs that utilize the
     library. Credit must be given in user-accessible documentation.
     
     _This software is provided "AS IS."_ The copyright holders disclaim
     all warranties, either express or implied, including but not
     limited to implied warranties of merchantability and fitness for a
     particular purpose, with respect to this code and accompanying
     documentation.
     
     Although their code does not appear in gd 2.0.1, the authors wish
     to thank David Koblas, David Rowley, and Hutchison Avenue Software
     Corporation for their prior contributions.
     
END OF COPYRIGHT STATEMENT