Anatol Belski
3d49768cc2
fixed set process_title()
2013-08-23 07:12:56 -07:00
Anatol Belski
715b040f46
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
...
Conflicts:
Zend/zend_exceptions.c
ext/date/php_date.c
ext/standard/string.c
ext/standard/url_scanner_ex.c
ext/standard/url_scanner_ex.re
main/rfc1867.c
2013-08-16 01:45:50 -07:00
Christopher Jones
3c166c4758
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
Conflicts:
ext/gmp/gmp.c
2013-08-14 20:47:00 -07:00
Christopher Jones
39612afc72
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
Conflicts:
ext/dba/libinifile/inifile.c
2013-08-14 20:43:25 -07:00
Christopher Jones
9ad97cd489
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
2013-08-14 20:36:50 -07:00
Anatol Belski
6478088a2c
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
...
Conflicts:
Zend/zend_operators.h
main/SAPI.h
main/rfc1867.c
main/streams/php_stream_transport.h
main/streams/streams.c
main/streams/transports.c
main/streams/xp_socket.c
2013-08-13 01:07:12 -07:00
Michael Wallner
4a9d7c1f00
add NEWS entry; add simple test
2013-08-06 22:51:58 +02:00
Michael Wallner
14caf174ff
unify stdint type usage
...
if you need C99 stdint types, just include "php_stdint.h"
2013-08-06 22:49:56 +02:00
Anatol Belski
62c1f4127b
more for cli sapi
2013-07-29 02:39:44 -07:00
Anatol Belski
46e07a6fd7
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
...
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2013-07-18 03:20:13 -07:00
Stanislav Malyshev
9cc9d32e6a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add built-in web server to invocation list
Terminology: change embedded web server to built-in web server to align with cli usage
Align -B and -E parameter names with cli usage (begin_code and end_code)
Fix Bug #65219 DBSETLDBNAME should be called before login to set DBNAME in login record
2013-07-14 17:01:43 -07:00
Lior Kaplan
f4b9b20b35
Add built-in web server to invocation list
2013-07-14 17:00:56 -07:00
Lior Kaplan
bcef0ebc2d
Terminology: change embedded web server to built-in web server to align with cli usage
2013-07-14 16:42:23 -07:00
Lior Kaplan
07501dc1a2
Align -B and -E parameter names with cli usage (begin_code and end_code)
2013-07-14 16:42:09 -07:00
Anatol Belski
59d95c1537
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
2013-07-10 01:09:28 -07:00
Anthony Ferrara
6e008d40c2
It compiles. Sort-of. In a way. Yeah. But nothing works. Sigh
2013-07-02 09:46:30 -04:00
Remi Collet
1aeb2514fe
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix typo in php man page
2013-07-02 12:19:37 +02:00
Remi Collet
67817a199c
fix typo in php man page
2013-07-02 12:19:09 +02:00
Remi Collet
8f0567581e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed Bug #65142 Missing phar man page
NEWS
Fixed Bug #65143 Missing php-cgi man page
2013-07-02 10:47:38 +02:00
Remi Collet
c940aab789
Fixed Bug #65143 Missing php-cgi man page
...
Currently php-cgi man page is a simple redirect to
php (CLI) man page.
Could be splited / improved in the future.
2013-07-02 10:42:47 +02:00
Adam Harvey
77c46ba516
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix the spelling of the php_cli_server_http_response_status_code_pair typedef.
Change the search in get_status_string() to correctly handle unknown codes.
2013-06-20 09:39:37 -07:00
Adam Harvey
f5c7fe9202
Fix the spelling of the php_cli_server_http_response_status_code_pair typedef.
...
Specifically: php_cli_server_http_reponse_status_code_pair →
php_cli_server_http_response_status_code_pair.
2013-06-20 09:34:21 -07:00
Adam Harvey
283f56af66
Change the search in get_status_string() to correctly handle unknown codes.
...
This previously used a buggy implementation of binary search that would loop
infinitely for unknown codes when searching in reason arrays of particular
sizes (such as the one we have at the moment). Since C provides bsearch(),
we'll just use that instead, since libc authors hopefully get this right.
There was also an additional bug that was masked by the first one: the design
was that an unknown code would result in get_status_string() returning NULL,
which would then result in a segfault in append_http_status_line(), since it
assumed that it would always receive a valid string pointer that could be
handed off to smart_str_appends_ex(). We'll now return a placeholder in that
case.
Fixes bug #65066 (Cli server not responsive when responding with 422 http
status code).
2013-06-20 09:31:57 -07:00
Nuno Lopes
e769025791
leave a sane environment behind (even if empty) when exiting
...
some OS atexit() handlers call getenv()
2013-04-07 02:33:33 -04:00
Xinchen Hui
bed44e562e
missed part of the patch
2013-03-29 23:47:46 +08:00
Xinchen Hui
953f07503a
Fixed bug #64544 (Valgrind warnings after using putenv)
...
The frozen_envion is needed, since if an item in environ is updated
(like the test script HOME one), invalid free still shows up
2013-03-29 23:42:50 +08:00
Keyur Govande
b2a760fe45
Merge branch 'pull-request/313' into PHP-5.5
...
* pull-request/313:
Patch for Bug #64544 . The process title change module keeps track of the locally allocated environ, so it doesn't need to worry about when environ changes underneath it, for example by putenv()/setenv()
2013-03-29 14:42:16 +00:00
Keyur Govande
5bf6323e51
Patch for Bug #64544 .
...
The process title change module keeps track of the locally allocated
environ, so it doesn't need to worry about when environ changes
underneath it, for example by putenv()/setenv()
2013-03-29 14:27:36 +00:00
Nikita Popov
92aa361bfc
Forgot to fix the test on 5.4
2013-03-28 18:42:01 +01:00
Nikita Popov
b1a6a17039
Fix Bug #64545 : PHP Error in ef93a93ee2
...
Test was using die "Foo" instead of die("Foo").
2013-03-28 18:23:23 +01:00
Xinchen Hui
127c78cb76
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-28 23:23:07 +08:00
Xinchen Hui
ef93a93ee2
Attempt to fix SKIP
2013-03-28 23:22:20 +08:00
Xinchen Hui
7dd661d0cd
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-28 14:35:02 +08:00
Xinchen Hui
ab089611e0
Fix test on Mac (\D shows up)
2013-03-28 14:34:08 +08:00
Xinchen Hui
ae71c1d9aa
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-28 13:54:37 +08:00
Xinchen Hui
467cd6a60f
Add test for #64529
2013-03-28 13:45:42 +08:00
Johannes Schlüter
d900382814
Merge branch 'PHP-5.4' into PHP-5.5
2013-03-24 17:33:17 +01:00
Johannes Schlüter
6f560b0487
Document embedded server options in manpage
2013-03-24 17:32:30 +01:00
Johannes Schlüter
de71f435d8
Merge branch 'PHP-5.3' into PHP-5.4
2013-03-24 17:32:00 +01:00
Johannes Schlüter
66682f5abe
It's 2013, even for a manpage
2013-03-24 17:31:29 +01:00
Pierre Joye
0179284bfb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- add reminder for checking return values
2013-03-24 13:29:16 +01:00
Pierre Joye
bb18fa448c
- add reminder for checking return values
2013-03-24 13:27:00 +01:00
Anatol Belski
ec26141f92
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- fix x64 issues on windows with the various time types (overflow, signed and unsigned bits ops, etc.) causing crashes on start, error or log, must be done in win32/time.c for some of these functions too
2013-03-23 22:43:58 +01:00
Pierre Joye
3af4896837
- fix x64 issues on windows with the various time types (overflow, signed and unsigned bits ops, etc.) causing crashes on start, error or log, must be done in win32/time.c for some of these functions too
...
Signed-off-by: Anatol Belski <ab@php.net >
2013-03-23 22:42:03 +01:00
Keyur Govande
a0a995cff3
Support for CLI process title ( https://wiki.php.net/rfc/cli_process_title )
...
A new commit into branch 5.5
2013-03-07 18:54:34 +00:00
Stanislav Malyshev
c877fcf6ec
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Added HTTP codes as of RFC 6585
2013-02-17 01:20:14 -08:00
Jonh Wendell
59b016192d
Added HTTP codes as of RFC 6585
...
Added descriptions for the new HTTP codes:
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 511 Network Authentication Required
2013-02-17 01:18:40 -08:00
Remi Collet
5d3501c7d4
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #64128 buit-in web server is broken on ppc64.
2013-02-01 19:26:11 +01:00
Remi Collet
0cea9e6843
Fixed bug #64128 buit-in web server is broken on ppc64.
...
fdset management using bit operator is broken on non-x86 arch
and cause built-in server the enter an infinite loop of "select"
and never handle any request.
2013-02-01 19:23:25 +01:00
Lars Strojny
785e66adb5
PR #260 : Update css for 404 pages to feel more up to date and have a consistent layout across browsers
2013-01-14 20:43:14 +01:00