Stanislav Malyshev
b4a4db467b
Fix missing type checks in various functions
2014-07-27 02:42:49 -07:00
Aidas Kasparas
d339ddf417
Bug #41577 fix: reinitialization of dotnet_domain structure member
2014-05-22 09:54:44 +03:00
Dmitry Stogov
cd4b4dfc4d
Merge branch 'master' into refactoring2
...
Conflicts:
Zend/zend_hash.c
ext/date/php_date.c
2014-05-05 13:02:43 +04:00
Anatol Belski
3023257ff0
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
updated NEWS
Fixed bug #66431 Special Character via COM Interface (CP_UTF8)
2014-04-29 13:46:38 +02:00
Anatol Belski
3fbacdc6e8
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #66431 Special Character via COM Interface (CP_UTF8)
2014-04-29 13:46:03 +02:00
Anatol Belski
2d625b5f81
Fixed bug #66431 Special Character via COM Interface (CP_UTF8)
2014-04-29 13:40:44 +02:00
Dmitry Stogov
f9927a6c97
Merge mainstream 'master' branch into refactoring
...
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patches related to constant expression handling (we need to review them carefully)
I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway)
Conflicts:
Zend/zend.h
Zend/zend_API.c
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.c
Zend/zend_exceptions.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_highlight.c
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/php_date.c
ext/dom/documenttype.c
ext/hash/hash.c
ext/iconv/iconv.c
ext/mbstring/tests/zend_multibyte-10.phpt
ext/mbstring/tests/zend_multibyte-11.phpt
ext/mbstring/tests/zend_multibyte-12.phpt
ext/mysql/php_mysql.c
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd_reverse_api.c
ext/mysqlnd/php_mysqlnd.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c
ext/pcre/php_pcre.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo_pgsql/pgsql_driver.c
ext/pgsql/pgsql.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/html.c
ext/standard/mail.c
ext/standard/php_array.h
ext/standard/proc_open.c
ext/standard/streamsfuncs.c
ext/standard/user_filters.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
main/php_variables.c
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_print.c
sapi/phpdbg/phpdbg_prompt.c
2014-04-26 00:32:51 +04:00
Bob Weinand
f614fc6898
Fix bug #66015 by reverting "Removed operations on constant arrays."
2014-04-11 10:08:44 +02:00
Dmitry Stogov
f4cfaf36e2
Use better data structures (incomplete)
2014-02-10 10:04:30 +04:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Xinchen Hui
c0d060f5c0
Bump year
2014-01-03 11:04:26 +08:00
Veres Lajos
4749457a49
HASH_KEY_NON_EXISTANT fix
2013-07-21 20:09:53 -07:00
Felipe Pena
fba44be828
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #62475 (variant_* functions causes crash when null given as an argument)
Update NEWS
- BFN
2013-06-25 21:40:24 -03:00
Felipe Pena
4289696828
- Fixed bug #62475 (variant_* functions causes crash when null given as an argument)
2013-06-25 21:36:50 -03:00
Stanislav Malyshev
02e4d7a290
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:30:59 -07:00
Stanislav Malyshev
ac40c0b562
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:20:18 -07:00
Nikita Popov
fcc6611de9
Add support for non-scalar Iterator keys in foreach
...
RFC: https://wiki.php.net/rfc/foreach-non-scalar-keys
2013-03-12 17:27:31 +01:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Xinchen Hui
e081c55fb5
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-10 10:31:31 +08:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +08:00
Xinchen Hui
e4a8fa6a15
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-09 13:29:51 +08:00
Xinchen Hui
6284ef112e
Fixed bug #63236 (Executable permission on various source files)
2012-10-09 13:28:31 +08:00
Johannes Schlüter
3cd50ca714
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #62146 com_dotnet cannot be built shared, tested by Anatoliy
Those changes are in 5.3.15
- BFN
2012-05-25 00:23:51 +02:00
Johannes Schlüter
8fc9df3f67
Fix bug #62146 com_dotnet cannot be built shared, tested by Anatoliy
2012-05-25 00:22:25 +02:00
Anatoliy Belsky
b67a4cc340
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
2012-04-03 13:09:17 +02:00
Anatoliy Belsky
94cefaedaf
Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
2012-04-03 13:07:51 +02:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Dmitry Stogov
788be2c54a
Fixed bug #60167 (Crash / memory corruption in ext/com_dotnet) (Timm Friebe).
2011-11-25 11:29:28 +00:00
Stanislav Malyshev
77d0643b68
fixes for bug #55748
2011-11-18 07:11:19 +00:00
Pierre Joye
8535adfb31
- Fix #55301 (com_dotnet part) check if malloc succeded
2011-07-28 10:34:16 +00:00
Pierre Joye
582c2fa868
- Fix #55301 (com_dotnet part) check if malloc succeded
2011-07-28 10:34:16 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
32b5f8a1a3
- Added new parameter parsing option (p - for valid path (string without null byte in the middle))
...
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Pierre Joye
131b658982
- this function is only in trunk
2011-01-20 13:57:40 +00:00
Pierre Joye
54e9aa9110
- fail when no known op are given
2011-01-20 06:58:04 +00:00
Pierre Joye
739a870b0d
- fail when no known op are given
2011-01-20 06:58:04 +00:00
Pierre Joye
d83d01a32e
- unused var
2011-01-20 06:55:11 +00:00
Pierre Joye
4ff753b99b
- unused var
2011-01-20 06:55:11 +00:00
Pierre Joye
a0708af925
- fail when no known op are given
2011-01-20 06:54:28 +00:00
Pierre Joye
1e9faabe8e
- fail when no known op are given
2011-01-20 06:54:28 +00:00
Pierre Joye
ed5594f135
- kill local redeclaration
2011-01-20 06:49:17 +00:00
Pierre Joye
eddf7586db
- kill local redeclaration
2011-01-20 06:49:17 +00:00
Pierre Joye
17c1ba460d
- init err (and simplify)
2011-01-20 06:45:52 +00:00
Pierre Joye
3292399d27
- init err (and simplify)
2011-01-20 06:45:52 +00:00
Pierre Joye
aac73eb84a
- init err
2011-01-20 06:44:16 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Pierre Joye
4574844c52
- cleanup broken double definition of php_win_err and rename it while being there
2010-11-25 23:06:12 +00:00
Kalle Sommer Nielsen
1fed0e5a84
Kill some more constness warnings in com_dotnet/phar/standard
2010-11-19 16:03:00 +00:00
Pierre Joye
ce96fd6b07
- fix #39863 , do not accept paths with NULL in them. See http://news.php.net/php.internals/50191 , trunk will have the patch later (adding a macro and/or changing (some) APIs. Patch by Rasmus
2010-11-18 15:22:22 +00:00
Kalle Sommer Nielsen
9c4a92cf51
There are a few cases where we can save a TSRMLS_FETCH() call here
2010-09-23 04:50:26 +00:00
Pierre Joye
aa0ed267a2
- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert
2010-09-16 09:13:19 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Dmitry Stogov
94dd83722b
Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table
2010-04-20 10:57:45 +00:00
Stanislav Malyshev
b65385aa44
fix non-ts build
2010-04-16 23:36:53 +00:00
Kalle Sommer Nielsen
7ef4cdf471
Remove a couple TSRMLS_FETCH() calls around ext/main/sapi
2010-04-13 11:02:15 +00:00
Stanislav Malyshev
de363cf818
fix #49192 - crash in GC when get_properties handler returns null
2010-04-01 22:54:03 +00:00
Stanislav Malyshev
44a5b8e459
fix #49192 - crash in GC when get_properties handler returns null
2010-04-01 22:54:03 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Pierre Joye
1431ba235b
- Fixed crash in com_print_typeinfo when an invalid typelib is given
2009-10-27 19:16:55 +00:00
Kalle Sommer Nielsen
485f28aae9
MFH: Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle)
2009-07-01 18:44:56 +00:00
Kalle Sommer Nielsen
ff88b45ffc
MFH: Fix compiler warnings
2009-05-19 17:38:29 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Jani Taskinen
b17dc14f18
MFH: nuketh C++ comments
2008-08-03 12:15:55 +00:00
Felipe Pena
2838f22fc0
- Added arginfo
2008-07-14 18:08:37 +00:00
Felipe Pena
84a8bb038a
MFH: New way for check void parameters
2008-03-10 22:15:36 +00:00
Nuno Lopes
61eb7ae554
remove unused PHP_EXTNAME_API macros.
...
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Dmitry Stogov
c3ab6bd091
Fixed bug #43136 (possible crash on script execution timeout. The EG(function_state_ptr) is completely removed, EG(current_execute_data)->function_state must be used instead)
2007-11-20 09:51:12 +00:00
Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Dmitry Stogov
1b01048cd8
Fixed 64-bit issues
2007-04-09 15:32:35 +00:00
Dmitry Stogov
6c394c8b38
ZTS fix
2007-04-09 15:32:08 +00:00
Martin Kraemer
9c62ddde34
Typo
2007-03-14 09:58:14 +00:00
andy wharmby
a252c79d53
Fixed bug #35872 (Prevent object store references during RSHUTDOWN)
2007-03-05 15:49:00 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Stanislav Malyshev
31a325823a
Cosmetic fix - safe_emalloc(nmemb, size, offset)
2007-02-21 01:13:44 +00:00
Stanislav Malyshev
a72041406b
CreateInstance requires BSTR (should fix #33188 )
2007-02-21 01:11:11 +00:00
Stanislav Malyshev
47e06ea821
fix unallocated free
2007-02-20 20:30:36 +00:00
Dmitry Stogov
955d3e73e8
typo
2007-02-19 17:29:19 +00:00
andy wharmby
74cafe0840
Fixed bug #37927 (Prevent trap when COM extension processes argument of type VT_DISPATCH|VT_REF)
2007-02-02 15:44:06 +00:00
andy wharmby
cda82bc0a3
Fixed bug #34564 (COM extension not returning modified "out" argument)
2007-02-02 15:27:35 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Rob Richards
47fb655a56
fix bug #33734 and related (Something strange with COM Object)
...
- caused by fix in com_handlers.c rev 1.22.2.5
2006-12-24 12:32:10 +00:00
Rob Richards
b7ec6f90e0
- fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c
...
- fix bug #37588 (COM Property propputref converts to PHP function
and can't be accesed): com_handlers.c
- fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c
- add tests
2006-12-24 10:00:59 +00:00
Rob Richards
c2c9908f88
fix heap corruption when adding/caching typelib (also fixes bug 39606)
...
add test
2006-12-09 10:52:09 +00:00
Dmitry Stogov
c06f9e1efe
COM initialization/deinitialization are done only if necessary
2006-11-17 11:40:52 +00:00
Ilia Alshanetsky
941c036297
Fixed bug #36644 (possible crash in variant_date_from_timestamp()).
2006-11-13 15:33:26 +00:00
Ilia Alshanetsky
76f23d4dcf
Fixed bug #38400 (Use of com.typelib_file may cause a crash).
2006-10-18 23:47:33 +00:00
Ilia Alshanetsky
df5c300303
Fixed bug #38198 (possible crash when COM reports an exception).
2006-10-10 17:32:50 +00:00
Edin Kadribasic
480e788d95
Fix for #38985 (Wez)
2006-10-06 12:23:30 +00:00
Ilia Alshanetsky
4c65e0e1cd
Added missing validation checks around expand_filepath()
2006-09-16 18:10:32 +00:00
Dmitry Stogov
b0c4150967
Prevent opening of empty filename ""
2006-09-08 05:52:00 +00:00