54 Commits

Author SHA1 Message Date
Peter Kokot
60fc212c58 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
Zeev Suraski
ac41db6819 Remove yearly range from copyright notice 2019-01-30 11:03:12 +02:00
Xinchen Hui
9115516ea5 year++ 2018-01-02 12:57:58 +08:00
Sammy Kaye Powers
cc64885cca Update copyright headers to 2017 2017-01-02 09:30:12 -06:00
Dmitry Stogov
67a21090ae Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings.
Fixed most incorrect use cases of format specifiers.
2016-06-21 16:00:37 +03:00
Nikita Popov
6a0e03940a Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE
Also re bug #71575.
2016-03-03 16:50:01 +01:00
Anatol Belski
1ead5762de further datatype and range check fixes for ibase 2016-01-11 09:46:53 +01:00
Xinchen Hui
be61597106 Fix various bugs in interbase
Also read: https://marc.info/?l=php-internals&m=145077389117375&w=2
2016-01-11 08:32:47 +01:00
Lior Kaplan
dd6c050a1b Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
  Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
886211ce09 Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
Anatol Belski
1ae4a5aa76 switch to the unified globals accessor where appropriate 2015-07-29 13:26:35 +02:00
Dmitry Stogov
aad974a2c2 Cleanup (avoid reallocations) 2015-07-02 18:58:04 +03:00
Anatol Belski
3d5ef1331a made ZEND_TSRMLS_CACHE_* macros look like function calls
which also comply with the current semantics for such macros
2015-02-16 17:19:32 +01:00
Popa Adrian Marius
6fa5f75344 Apply PHP7 firebird fixes after API Cleanup from 8c920a22ac 2015-02-13 17:55:17 +02:00
Popa Adrian Marius
03fc1bb6ce Revert "Remove Jouni Ahto from maintainers and files as requested , anyway we have git blame/history"
This reverts commit 7cf1450df14b8da0c3c255470ebe4c237fb49b88.
2015-01-22 10:16:51 +02:00
Popa Adrian Marius
bcfaec95c3 Remove Jouni Ahto from maintainers and files as requested , anyway we have git blame/history 2015-01-21 18:08:56 +02:00
Xinchen Hui
0ab7a94683 bump year 2015-01-15 23:27:30 +08:00
Xinchen Hui
aa87420d2e bump year 2015-01-15 23:26:37 +08:00
Anatol Belski
78ffe57ca3 first shot remove TSRMLS_* things 2014-12-13 23:06:14 +01:00
Johannes Schlüter
f6b9aa7e6b s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
Xinchen Hui
1c065a0ee7 resource type is int 2014-08-29 11:28:21 +08:00
Popa Adrian Marius
52f9e46e44 rename misleading define 2014-08-28 18:20:28 +03:00
Popa Adrian Marius
587bea9219 solve conflicting type size_t vs int 2014-08-28 17:10:42 +03:00
Dmitry Stogov
9f591ac69c ext/interbase support (incomplete) 2014-07-29 10:15:01 +04:00
Anatol Belski
327fa2b03f fixed ZEND_DEBUG usage 2014-05-05 00:50:51 +02:00
Popa Adrian Marius
fa3c715568 Cleanup $ is not needed for git 2014-04-10 17:42:32 +03:00
Xinchen Hui
5114ba9894 Bump year 2014-01-03 11:04:26 +08:00
Xinchen Hui
2507066197 Happy New Year 2013-01-01 16:28:54 +08:00
Xinchen Hui
2e3ddf9690 Fixed bug #63236 (Executable permission on various source files) 2012-10-09 13:28:31 +08:00
Felipe Pena
aaa5567c9c - Year++ 2012-01-01 13:15:04 +00:00
Felipe Pena
f480e28840 - Fixed bug #54269 (Short exception message buffer causes crash) 2011-05-22 19:06:21 +00:00
Felipe Pena
7f323c0f14 - Year++ 2011-01-01 02:19:59 +00:00
Sebastian Bergmann
e101e2ac6f sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Sebastian Bergmann
774e5c4de9 MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Ilia Alshanetsky
056197f9a8 Fixed bug #43912 (Interbase column names are truncated to 31 characters) 2008-01-23 01:22:24 +00:00
Sebastian Bergmann
f5fda9fdb2 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Sebastian Bergmann
3d643d8df4 MFH: Bump year. 2007-01-01 09:36:18 +00:00
foobar
56336e6f33 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
4a2f8a06f6 - Bumber up year 2005-08-03 14:08:58 +00:00
Ard Biesheuvel
1963c1a361 Don't copy ini items to module globals
(fixed unregistered bug with mangled default_db setting)
2004-07-06 13:46:19 +00:00
Ard Biesheuvel
50d0ba839e Use constant IBASE_CREATE instead of just 0 2004-06-01 08:38:33 +00:00
Ard Biesheuvel
656397ad37 Improved handling of 'CREATE DATABASE ...' by ibase_query()
Improved param handling of ibase_query() and ibase_execute()
2004-05-31 13:40:25 +00:00
Ard Biesheuvel
71e35f86d9 Removed ibase_timefmt() - use ini_set() instead
Improved phpinfo() appearance
2004-05-30 16:20:25 +00:00
Ard Biesheuvel
d1f3dafbe5 Changed default date format to ISO
Enable sync flag in connect()
2004-05-28 23:39:33 +00:00
Ard Biesheuvel
2705155516 Make sure METADATALENGTH is defined (used by IB 7) 2004-05-21 13:14:56 +00:00
Ard Biesheuvel
4634a607af Dropped support for ancient Interbase versions (< 6)
# This has no consequences for Firebird, as its initial release was based on IB 6
2004-05-12 14:29:42 +00:00
Edin Kadribasic
004e214106 No need to export anything. Fixes win32 build 2004-04-19 14:13:41 +00:00
Ard Biesheuvel
badf5be0b4 Don't define ibase_service struct type unless its member types are defined 2004-04-07 10:36:00 +00:00
Ard Biesheuvel
2b6449763a More divide & conquer 2004-04-05 13:22:34 +00:00
Ard Biesheuvel
eac01326c8 CS 2004-04-04 13:51:56 +00:00