Peter Kokot
cf3b852109
Trim trailing whitespaces in build files
...
Some editors utilizing .editorconfig automatically trim whitespaces. For
convenience this patch removes whitespaces in certain build files:
- ext/*/config*.m4
- configure.ac
- acinclude.m4
2018-07-29 03:43:45 +02:00
Peter Kokot
8d3f8ca12a
Remove unused Git attributes ident
...
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00
Gabriel Caruso
c93aba042f
Give a reason why the test was skipped
...
This will help us debug why a test was skipped in GCOV
(http://gcov.php.net/viewer.php?version=PHP_HEAD&func=skip ), and maybe
put them to run again
2018-07-22 16:41:41 -03:00
Anatol Belski
c90f1964f9
Move to size_t for string length
2018-07-09 13:34:04 +02:00
Dmitry Stogov
d90c6f2443
Removed useless zval_ptr_dtor()
2018-05-29 17:58:06 +03:00
Dmitry Stogov
5eb1f92f31
Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
2018-05-28 16:27:12 +03:00
Tim Bazuin
033907b9a5
Add support for rl_completion_suppress_append and rl_completion_append_character
...
These options are only available with libreadline.
2018-03-25 18:21:35 +02:00
Gabriel Caruso
ded3d984c6
Use EXPECT instead of EXPECTF when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Ricardo Melo
8fb5bac653
Test that readline respects open_basedir
2017-08-25 00:12:36 +01:00
Tom Van Looy
04fb3f28ff
Remove superfluous semicolons
2017-06-26 00:23:25 +02:00
Nikita Popov
035a27cbc6
Only compute callback name in error cases
...
Mostly the callback name is only used to report an error. Try to
avoid calculating it if no error occurred.
2017-06-25 18:45:59 +02:00
Anatol Belski
cfe577fb86
revert workaround for bug #74489 as it's fixed in the dependency lib
2017-05-14 01:47:40 +02:00
Anatol Belski
000fe3aacc
Fixed bug #74489 readline() immediately returns false in interactive console mode
2017-04-22 18:33:53 +02:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Anatol Belski
9ab0db0813
extend skipif
2016-11-18 12:00:02 +01:00
Xinchen Hui
ee2d662434
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fixed bug #72538 (readline_redisplay crashes php)
2016-07-03 23:57:02 +08:00
Xinchen Hui
612aff3a8a
Fixed bug #72538 (readline_redisplay crashes php)
2016-07-03 23:56:27 +08:00
Dmitry Stogov
0cfb47651c
Fixed compilation warnings
2016-06-28 11:37:51 +03:00
Dmitry Stogov
323b2733f6
Fixed compilation warnings
2016-06-22 00:40:50 +03:00
Joe Watkins
12f826d7df
Merge branch 'PHP-7.0'
...
* PHP-7.0:
fix size_t signed comparison
2016-04-29 10:20:27 +01:00
Joe Watkins
dbae1653da
fix size_t signed comparison
2016-04-29 10:19:55 +01:00
Nikita Popov
5602f64213
Eliminate usages of _PP macros
...
These are either in debug code (fix them), commented out (drop
them) or in dead compatibility macros (drop them).
One usage was in php_stream_get_from_zval(), which we have not used
since at least PHP 5.2 and, judging from the fact that nobody
complained about it causing compile errors in PHP 7, nobody else
uses it either, so drop it.
There are still remaining uses in mysqli embedded and odbc birdstep.
These probably need to be dropped outright.
2016-03-03 23:20:12 +01:00
Xinchen Hui
14f105ebba
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fixed test ext/readline/tests/readline_read_history_error_001.phpt
2016-03-02 12:31:30 +08:00
Xinchen Hui
3fb566f475
Fixed test ext/readline/tests/readline_read_history_error_001.phpt
...
This only pass with libedit
2016-03-02 12:29:15 +08:00
Xinchen Hui
b79b036a31
The test self should be fixed(maybe relates to env?)
...
Revert "Fixed test ext/readline/tests/readline_read_history_error_001.phpt"
This reverts commit 69e26f9f8f
.
2016-02-29 15:19:18 +08:00
Xinchen Hui
bb9fdd25bc
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Revert "Fixed test ext/readline/tests/readline_read_history_error_001.phpt"
2016-02-29 15:10:23 +08:00
Xinchen Hui
1d22fb2ed5
Revert "Fixed test ext/readline/tests/readline_read_history_error_001.phpt"
...
This reverts commit 69e26f9f8f
.
2016-02-29 15:10:17 +08:00
Xinchen Hui
bb4d2f6577
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fixed test ext/readline/tests/readline_read_history_error_001.phpt
2016-02-29 15:08:11 +08:00
Xinchen Hui
69e26f9f8f
Fixed test ext/readline/tests/readline_read_history_error_001.phpt
2016-02-29 15:07:19 +08:00
Anatol Belski
29176aaa01
vc doesn't support #warning
2016-01-19 12:14:59 +01:00
Anatol Belski
e1c3df3e88
fork test
2016-01-15 13:10:09 +01:00
Anatol Belski
d7a1b243da
fork test
2016-01-15 13:02:36 +01:00
Anatol Belski
3169d473e9
add wineditline info to minfo
2016-01-15 12:45:56 +01:00
Anatol Belski
d249321116
basic support for wineditline
2016-01-15 12:45:54 +01:00
Anatol Belski
9ac3b75116
config.w32 for ext/readline
2016-01-15 12:45:53 +01:00
Anatol Belski
400a6a4ccb
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fix header file include
2016-01-15 08:44:22 +01:00
Anatol Belski
348dd1a018
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix header file include
2016-01-15 08:43:56 +01:00
Jason Young
d1401f6059
Fix header file include
2016-01-15 08:43:00 +01:00
Lior Kaplan
3d5438bf7b
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Update header to PHP Version 7
Happy new year (Update copyright to 2016)
Happy new year (Update copyright to 2016)
2016-01-01 20:04:31 +02:00
Lior Kaplan
ed35de784f
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
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Nikita Popov
b343cd913b
Merge branch 'PHP-7.0'
2015-12-11 16:33:47 +01:00
Nikita Popov
04407b79df
Fixed bug #71094
...
I didn't see any non-dummy readline tests to work off, so this
change is tested manually only.
While at it also fix other zval_dtors and use ZVAL_COPY.
2015-12-11 16:33:07 +01:00
Stanislav Malyshev
acb38ac636
Eliminate _PP macro
...
Not sure if this code ever used (probably not as it doesn't even compile now)
but just in case...
2015-10-18 16:37:03 -07:00
Nikita Popov
5c95226d50
Various warning fixes
2015-07-17 20:18:25 +02:00
Dmitry Stogov
4a2e40bb86
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
2015-06-30 04:05:24 +03:00
Kalle Sommer Nielsen
8153286efe
Drop zend_indent() as it was never used, complete or working
2015-03-27 20:04:46 +01:00
Anatol Belski
663074b6b1
cleanup mod version macros and mod defs, round x
2015-03-23 21:30:22 +01:00
Xinchen Hui
fc087ed1ee
Merge branch 'PHP-5.6'
...
Conflicts:
ext/readline/readline.c
2015-02-15 22:56:56 +08:00