]> granicus.if.org Git - php/log
php
9 years agoupdated NEWS and fixed a typo
Anatol Belski [Tue, 28 Apr 2015 15:08:03 +0000 (17:08 +0200)]
updated NEWS and fixed a typo

9 years agoMerge branch 'PHP-5.6'
Derick Rethans [Tue, 28 Apr 2015 14:58:30 +0000 (15:58 +0100)]
Merge branch 'PHP-5.6'

Conflicts:
ext/date/lib/parse_iso_intervals.re
ext/date/lib/timelib.h

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Derick Rethans [Tue, 28 Apr 2015 14:57:35 +0000 (15:57 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

9 years agoMerge whitespace changes that have been made to timelib and PHP-5.6 and master
Derick Rethans [Tue, 28 Apr 2015 14:57:26 +0000 (15:57 +0100)]
Merge whitespace changes that have been made to timelib and PHP-5.6 and master

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Tue, 28 Apr 2015 13:35:01 +0000 (15:35 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated NEWS
  backported patch for bug #69472

9 years agoupdated NEWS
Anatol Belski [Tue, 28 Apr 2015 13:34:11 +0000 (15:34 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 28 Apr 2015 13:32:22 +0000 (15:32 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  backported patch for bug #69472

9 years agobackported patch for bug #69472
Anatol Belski [Tue, 28 Apr 2015 13:31:47 +0000 (15:31 +0200)]
backported patch for bug #69472

9 years agoFixed bug #69472 php_sys_readlink ignores misc errors from GetFinalPathNameByHandleA
Jan Starke [Thu, 16 Apr 2015 19:10:51 +0000 (21:10 +0200)]
Fixed bug #69472 php_sys_readlink ignores misc errors from GetFinalPathNameByHandleA

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Tue, 28 Apr 2015 13:15:30 +0000 (15:15 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  updated NEWS
  updated NEWS
  Fixed bug #69381 out of memory with sage odbc driver

9 years agoupdated NEWS
Anatol Belski [Tue, 28 Apr 2015 13:14:45 +0000 (15:14 +0200)]
updated NEWS

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 28 Apr 2015 13:13:46 +0000 (15:13 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  updated NEWS
  Fixed bug #69381 out of memory with sage odbc driver

9 years agoupdated NEWS
Anatol Belski [Tue, 28 Apr 2015 13:13:19 +0000 (15:13 +0200)]
updated NEWS

9 years agoFixed bug #69381 out of memory with sage odbc driver
Frederic Marchal [Tue, 28 Apr 2015 13:08:53 +0000 (15:08 +0200)]
Fixed bug #69381 out of memory with sage odbc driver

This is just a hotfix as there are still drivers with no full
ODBC 3.x support. This patch origins from bug #68350 which was
solved by the proper 3.0 migration, another driver (Sage)
turned out to have the real issue.

9 years agofix bug #69381
Anatol Belski [Tue, 28 Apr 2015 13:02:48 +0000 (15:02 +0200)]
fix bug #69381

a simpler version is to be backported

9 years agoMerge branch 'PHP-5.6'
Anatol Belski [Tue, 28 Apr 2015 12:39:30 +0000 (14:39 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  fix VC9 build with PCRE
  Revert "Fix segfault in ext/date since 957aa2"
  Revert "Fix segfault in ext/date since 957aa2"

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Tue, 28 Apr 2015 12:38:45 +0000 (14:38 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix VC9 build with PCRE
  Revert "Fix segfault in ext/date since 957aa2"

9 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Tue, 28 Apr 2015 12:38:21 +0000 (14:38 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix VC9 build with PCRE

9 years agofix VC9 build with PCRE
Anatol Belski [Tue, 28 Apr 2015 11:15:39 +0000 (13:15 +0200)]
fix VC9 build with PCRE

9 years agoRevert "Fix segfault in ext/date since 957aa2"
Matteo Beccati [Tue, 28 Apr 2015 10:48:00 +0000 (12:48 +0200)]
Revert "Fix segfault in ext/date since 957aa2"

This reverts commit b5e5098c50397ed910a79ac1d64b7d0fff2c02e1.

A proper fix from Derick is underway. I apologise for stepping on his toes ;)

9 years agoRevert "Fix segfault in ext/date since 957aa2"
Matteo Beccati [Tue, 28 Apr 2015 10:48:00 +0000 (12:48 +0200)]
Revert "Fix segfault in ext/date since 957aa2"

This reverts commit b5e5098c50397ed910a79ac1d64b7d0fff2c02e1.

A proper fix from Derick is underway. I apologise for stepping on his toes ;)

9 years agoRevert "Fix segfault in ext/date since 957aa2"
Matteo Beccati [Tue, 28 Apr 2015 10:48:00 +0000 (12:48 +0200)]
Revert "Fix segfault in ext/date since 957aa2"

This reverts commit b5e5098c50397ed910a79ac1d64b7d0fff2c02e1.

A proper fix from Derick is underway. I apologise for stepping on his toes ;)

9 years agoMerge branch 'PHP-5.6'
Remi Collet [Tue, 28 Apr 2015 10:50:30 +0000 (12:50 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  relax tests with huge year (new zic)
  ignore second value for huge timestamp test (new zic)
  relax test for date < INT32_MIN (new zic)
  relax bigbang content (new zic)
  Make date transitions tests more flexible

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Tue, 28 Apr 2015 10:50:09 +0000 (12:50 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  relax tests with huge year (new zic)
  ignore second value for huge timestamp test (new zic)
  relax test for date < INT32_MIN (new zic)
  relax bigbang content (new zic)
  Make date transitions tests more flexible

9 years agorelax tests with huge year (new zic)
Remi Collet [Sat, 18 Apr 2015 08:00:15 +0000 (10:00 +0200)]
relax tests with huge year (new zic)

9 years agoignore second value for huge timestamp test (new zic)
Remi Collet [Sat, 18 Apr 2015 07:37:06 +0000 (09:37 +0200)]
ignore second value for huge timestamp test (new zic)

9 years agorelax test for date < INT32_MIN (new zic)
Remi Collet [Sat, 18 Apr 2015 07:28:29 +0000 (09:28 +0200)]
relax test for date < INT32_MIN (new zic)

9 years agorelax bigbang content (new zic)
Remi Collet [Sat, 18 Apr 2015 07:11:39 +0000 (09:11 +0200)]
relax bigbang content (new zic)

9 years agoMake date transitions tests more flexible
Remi Collet [Sat, 18 Apr 2015 05:47:47 +0000 (07:47 +0200)]
Make date transitions tests more flexible

zic in recent glibc (2.20) introduce a new transitionn
so use a range to avoid failure when total number
of transitions is different (243/244)

9 years agoMicro optimizations
Dmitry Stogov [Tue, 28 Apr 2015 09:41:39 +0000 (12:41 +0300)]
Micro optimizations

9 years agoMerge branch 'PHP-5.6'
Matteo Beccati [Tue, 28 Apr 2015 09:08:46 +0000 (11:08 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix segfault in ext/date since 957aa2

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Matteo Beccati [Tue, 28 Apr 2015 08:57:52 +0000 (10:57 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix segfault in ext/date since 957aa2

9 years agoFix segfault in ext/date since 957aa2
Matteo Beccati [Tue, 28 Apr 2015 08:57:18 +0000 (10:57 +0200)]
Fix segfault in ext/date since 957aa2

9 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Tue, 28 Apr 2015 06:41:18 +0000 (23:41 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Upgrade PCRE to 8.36, it fixes some crashes

Conflicts:
ext/pcre/pcrelib/config.h
ext/pcre/pcrelib/pcre_ucd.c

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 28 Apr 2015 06:30:57 +0000 (23:30 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Upgrade PCRE to 8.36, it fixes some crashes

9 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 28 Apr 2015 06:22:44 +0000 (23:22 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Upgrade PCRE to 8.36, it fixes some crashes

9 years agoUpgrade PCRE to 8.36, it fixes some crashes
Stanislav Malyshev [Tue, 28 Apr 2015 06:15:27 +0000 (23:15 -0700)]
Upgrade PCRE to 8.36, it fixes some crashes

We probably will need to go to 8.37 once it is released.

9 years agoMake it inline
Xinchen Hui [Tue, 28 Apr 2015 03:30:25 +0000 (11:30 +0800)]
Make it inline

9 years agoDrop unused num index
Xinchen Hui [Tue, 28 Apr 2015 03:26:58 +0000 (11:26 +0800)]
Drop unused num index

9 years agoFixed interned string leaks after new STATIC_KEY flag is introduced
Xinchen Hui [Tue, 28 Apr 2015 03:14:21 +0000 (11:14 +0800)]
Fixed interned string leaks after new STATIC_KEY flag is introduced

9 years agoDrop compile_class_decl return value
Nikita Popov [Mon, 27 Apr 2015 18:15:06 +0000 (20:15 +0200)]
Drop compile_class_decl return value

Was introduced for anon classes, but no longer needed.

9 years agoRestored accedently removed line that caused memory leak
Dmitry Stogov [Mon, 27 Apr 2015 20:05:24 +0000 (23:05 +0300)]
Restored accedently removed line that caused memory leak

9 years agoMinor Typo in Comment
hakre [Mon, 27 Apr 2015 17:09:34 +0000 (19:09 +0200)]
Minor Typo in Comment

9 years agoCleanup substr_replace
Nikita Popov [Mon, 27 Apr 2015 16:58:47 +0000 (18:58 +0200)]
Cleanup substr_replace

9 years agoClean up some type conversions
Nikita Popov [Sat, 25 Apr 2015 18:43:11 +0000 (20:43 +0200)]
Clean up some type conversions

While at it also fix some type checks in iconv and drop dead and
unported code in standard/filters.

9 years agoMicro optimizations
Dmitry Stogov [Mon, 27 Apr 2015 15:30:33 +0000 (18:30 +0300)]
Micro optimizations

9 years agoAdded news entry
Dmitry Stogov [Mon, 27 Apr 2015 14:21:16 +0000 (17:21 +0300)]
Added news entry

9 years agoMerge branch 'anon'
Dmitry Stogov [Mon, 27 Apr 2015 14:18:35 +0000 (17:18 +0300)]
Merge branch 'anon'

* anon:
  Pass class_entry through IS_VAR to avoid hash lookup in ZEND_NEW.
  Use "safe" anonymous class names. Don't show the mangled names through var_dump().
  Refactored using specialized opcodes
  Fix implementing_class handling
  More cleanup (mainly retab)
  Don't issue FETCH_CLASS for anon classes
  More retab
  Simply anon class name generation
  Retab
  Revert unrelated changes / rebase fixup
  Rebase Joe's anon classes implementation

9 years agoUse new hash iteration API.
Dmitry Stogov [Mon, 27 Apr 2015 13:50:47 +0000 (16:50 +0300)]
Use new hash iteration API.

9 years agoEliminate useless checks
Dmitry Stogov [Mon, 27 Apr 2015 12:54:41 +0000 (15:54 +0300)]
Eliminate useless checks

9 years agoPass class_entry through IS_VAR to avoid hash lookup in ZEND_NEW.
Dmitry Stogov [Mon, 27 Apr 2015 11:16:29 +0000 (14:16 +0300)]
Pass class_entry through IS_VAR to avoid hash lookup in ZEND_NEW.

9 years agoUse "safe" anonymous class names. Don't show the mangled names through var_dump().
Dmitry Stogov [Mon, 27 Apr 2015 10:08:22 +0000 (13:08 +0300)]
Use "safe" anonymous class names. Don't show the mangled names through var_dump().

9 years agoRefactored using specialized opcodes
Dmitry Stogov [Mon, 27 Apr 2015 09:24:39 +0000 (12:24 +0300)]
Refactored using specialized opcodes

9 years agoFix implementing_class handling
Nikita Popov [Sun, 26 Apr 2015 14:03:58 +0000 (16:03 +0200)]
Fix implementing_class handling

9 years agoMore cleanup (mainly retab)
Nikita Popov [Sun, 26 Apr 2015 13:54:30 +0000 (15:54 +0200)]
More cleanup (mainly retab)

9 years agoDon't issue FETCH_CLASS for anon classes
Nikita Popov [Sun, 26 Apr 2015 13:36:40 +0000 (15:36 +0200)]
Don't issue FETCH_CLASS for anon classes

9 years agoMore retab
Nikita Popov [Sun, 26 Apr 2015 13:28:55 +0000 (15:28 +0200)]
More retab

9 years agoSimply anon class name generation
Nikita Popov [Sun, 26 Apr 2015 13:24:13 +0000 (15:24 +0200)]
Simply anon class name generation

Drop dead "parent" code

9 years agoRetab
Nikita Popov [Sun, 26 Apr 2015 13:17:53 +0000 (15:17 +0200)]
Retab

9 years agoRevert unrelated changes / rebase fixup
Nikita Popov [Sun, 26 Apr 2015 13:12:10 +0000 (15:12 +0200)]
Revert unrelated changes / rebase fixup

9 years agoRebase Joe's anon classes implementation
krakjoe [Sun, 26 Apr 2015 13:02:57 +0000 (15:02 +0200)]
Rebase Joe's anon classes implementation

9 years agoMerge branch 'PHP-5.6'
Derick Rethans [Sun, 26 Apr 2015 10:04:54 +0000 (11:04 +0100)]
Merge branch 'PHP-5.6'

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Derick Rethans [Sun, 26 Apr 2015 10:04:35 +0000 (11:04 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

9 years agoFixed location reading due to file format changes
Derick Rethans [Sun, 26 Apr 2015 10:04:16 +0000 (11:04 +0100)]
Fixed location reading due to file format changes

9 years agoPrint should be in *current* context (stack)
Bob Weinand [Sat, 25 Apr 2015 17:15:08 +0000 (19:15 +0200)]
Print should be in *current* context (stack)

9 years agoAdd line_start/end info to main op_array
Bob Weinand [Sat, 25 Apr 2015 17:10:43 +0000 (19:10 +0200)]
Add line_start/end info to main op_array

9 years agoTweak new deflate/inflate implementations
Nikita Popov [Sat, 25 Apr 2015 17:00:41 +0000 (19:00 +0200)]
Tweak new deflate/inflate implementations

Return NULL on zpp.
Don't manually cast zvals to long.

9 years agoFix bug #69532
Nikita Popov [Sat, 25 Apr 2015 16:47:26 +0000 (18:47 +0200)]
Fix bug #69532

Partial revert of ea2fc7f935d2767c127756647f47be8d420346ce.

9 years agoRespect USE_OTHER in spl_array_is_object
Nikita Popov [Sat, 25 Apr 2015 11:18:13 +0000 (13:18 +0200)]
Respect USE_OTHER in spl_array_is_object

Also a bit of code cleanup in get_hash_table.

9 years agoDon't store $this reference for IS_SELF AO
Nikita Popov [Sat, 25 Apr 2015 09:59:02 +0000 (11:59 +0200)]
Don't store $this reference for IS_SELF AO

The var_dump output changes in array_022.phpt were wrong previously,
the "storage" that was referenced there was not the actually used
storage.

9 years agoDrop ArrayObject IS_REF flag
Nikita Popov [Fri, 24 Apr 2015 17:23:49 +0000 (19:23 +0200)]
Drop ArrayObject IS_REF flag

9 years ago- Updated to version 2015.4 (2015d)
Derick Rethans [Fri, 24 Apr 2015 21:56:26 +0000 (22:56 +0100)]
- Updated to version 2015.4 (2015d)

9 years agoEmpty merge
Derick Rethans [Fri, 24 Apr 2015 21:56:26 +0000 (22:56 +0100)]
Empty merge

9 years agoOptimized HashTable copy and cleanup function for cases without holes.
Dmitry Stogov [Fri, 24 Apr 2015 19:43:50 +0000 (22:43 +0300)]
Optimized HashTable copy and cleanup function for cases without holes.

9 years ago- Updated to version 2015.4 (2015d)
Derick Rethans [Fri, 24 Apr 2015 16:22:33 +0000 (17:22 +0100)]
- Updated to version 2015.4 (2015d)

9 years agoEmpty merge
Derick Rethans [Fri, 24 Apr 2015 16:22:32 +0000 (17:22 +0100)]
Empty merge

9 years ago- Updated to version 2015.4 (2015d)
Derick Rethans [Fri, 24 Apr 2015 16:22:31 +0000 (17:22 +0100)]
- Updated to version 2015.4 (2015d)

9 years agoDropped CN_match and SNI_server_name context options
Nikita Popov [Fri, 24 Apr 2015 16:18:18 +0000 (18:18 +0200)]
Dropped CN_match and SNI_server_name context options

9 years agoRemove PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT
Nikita Popov [Fri, 24 Apr 2015 16:08:18 +0000 (18:08 +0200)]
Remove PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT

Use the generic ATTR_EMULATE_PREPARES instead.

9 years agoFix vim folding block
Daniel Lowrey [Fri, 24 Apr 2015 15:27:24 +0000 (09:27 -0600)]
Fix vim folding block

9 years agoUPGRADING
Daniel Lowrey [Fri, 24 Apr 2015 15:25:21 +0000 (09:25 -0600)]
UPGRADING

9 years agoUpdate NEWS/UPGRADING
Daniel Lowrey [Fri, 24 Apr 2015 15:19:58 +0000 (09:19 -0600)]
Update NEWS/UPGRADING

9 years agoMerge branch 'deflate'
Daniel Lowrey [Fri, 24 Apr 2015 15:02:59 +0000 (09:02 -0600)]
Merge branch 'deflate'

* deflate:
  Add inflate_*() test cases
  Add incremental zlib inflate API
  Add deflate_*() test cases
  Several deflate_* changes (more after the jump)
  Add incremental zlib deflate API

9 years agoOptimized zend_hash_rehash(), added some exoectations to generate better code
Dmitry Stogov [Fri, 24 Apr 2015 10:00:56 +0000 (13:00 +0300)]
Optimized zend_hash_rehash(), added some exoectations to generate better code

9 years agoMerge branch 'PHP-5.6'
Yasuo Ohgaki [Fri, 24 Apr 2015 07:06:41 +0000 (16:06 +0900)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Set NULL after efree

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
Yasuo Ohgaki [Fri, 24 Apr 2015 07:05:50 +0000 (16:05 +0900)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Set NULL after efree

9 years agoSet NULL after efree
Yasuo Ohgaki [Fri, 24 Apr 2015 07:04:01 +0000 (16:04 +0900)]
Set NULL after efree

9 years agoAdded HashTable flag HASH_FLAG_STATIC_KEYS that is maintaned to be set if all hash...
Dmitry Stogov [Fri, 24 Apr 2015 06:34:50 +0000 (09:34 +0300)]
Added HashTable flag HASH_FLAG_STATIC_KEYS that is maintaned to be set if all hash table keys are numbers or interned strings.
Take this flag into account when copy or destroy HashTable to avoud useless checks for each key.

9 years agoAdd inflate_*() test cases
Daniel Lowrey [Fri, 24 Apr 2015 05:10:44 +0000 (23:10 -0600)]
Add inflate_*() test cases

9 years agoAdd incremental zlib inflate API
Daniel Lowrey [Wed, 22 Apr 2015 16:02:19 +0000 (10:02 -0600)]
Add incremental zlib inflate API

9 years agoAdd deflate_*() test cases
Daniel Lowrey [Wed, 22 Apr 2015 05:02:34 +0000 (23:02 -0600)]
Add deflate_*() test cases

9 years agoSeveral deflate_* changes (more after the jump)
Daniel Lowrey [Wed, 22 Apr 2015 05:00:10 +0000 (23:00 -0600)]
Several deflate_* changes (more after the jump)

- Remove deflate_flush()
- Add ZLIB_FINISH constant for use with deflate_add()
- Use options array at parameter 2 of deflate_add() to insulate
  against future API changes
- Minor bug fixes
- deflate_init() and deflate_add() now always return FALSE in the
  event of an error

9 years agoDont't use DO_ICALL for internal functions returned by reference
Dmitry Stogov [Thu, 23 Apr 2015 21:34:11 +0000 (00:34 +0300)]
Dont't use DO_ICALL for internal functions returned by reference

9 years agoCleanup comments and add related tests.
Dmitry Stogov [Thu, 23 Apr 2015 14:52:05 +0000 (17:52 +0300)]
Cleanup comments and add related tests.

9 years agoSlight improvement
Xinchen Hui [Thu, 23 Apr 2015 13:50:38 +0000 (21:50 +0800)]
Slight improvement

9 years agoFixed compiler warning
Kalle Sommer Nielsen [Thu, 23 Apr 2015 10:31:02 +0000 (12:31 +0200)]
Fixed compiler warning

9 years agoDon't propogate "fake" EX(called_scope) and EX(This) into each internal function.
Dmitry Stogov [Thu, 23 Apr 2015 09:16:37 +0000 (12:16 +0300)]
Don't propogate "fake" EX(called_scope) and EX(This) into each internal function.
They need quite seldom and it's cheaper to get them from corresponfing upper stack frame.

9 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Thu, 23 Apr 2015 00:43:55 +0000 (03:43 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  libpq versions older than 9.3 do not have lo_lseek64
  fix include with vc14
  fix compilation with vc14
  improve zpp readme

9 years agoMake internal non-static methods to be executed in context of class. Set EG(scope...
Dmitry Stogov [Thu, 23 Apr 2015 00:41:50 +0000 (03:41 +0300)]
Make internal non-static methods to be executed in context of class. Set EG(scope) accordingly.

9 years agolibpq versions older than 9.3 do not have lo_lseek64
Rasmus Lerdorf [Wed, 22 Apr 2015 23:15:28 +0000 (16:15 -0700)]
libpq versions older than 9.3 do not have lo_lseek64