History log of /PHP-8.3/ext/imap/php_imap.c (Results 1 – 25 of 480)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 6c25257d 16-Jun-2023 George Peter Banyard

ext/imap: Refactor common conditional property assignment

By introducing new functions and doing some preprocessor black magic


# d714ae89 14-Jun-2023 George Peter Banyard

ext/imap: Refactor imap_fetch_overview()

Reduce level of indentations by using early guards to return/continue


# b1f24e3b 14-Jun-2023 George Peter Banyard

ext/imap: Add const qualifier for header_injection()

Also reformat long if condition to make it clearer


# b1dd9b8a 14-Jun-2023 George Peter Banyard

ext/imap: Do not condition on number of arguments but on pointer being set or not


# 0b99bc21 14-Jun-2023 George Peter Banyard

ext/imap: Cleanup custom implementation of rfc822_write_address()

This is used only when c-client does not have this feature, maybe this is something we should asume nowadays?


# 9798dc20 14-Jun-2023 George Peter Banyard

ext/imap: Use propery API instead of php_imap_hash_add_object()

It was only ever used to update an object property table and never an associative array.


# 5d030487 13-Jun-2023 George Peter Banyard

ext/imap: Remove php_imap_list_add_object() function

The symtable was always an array so use appropriate HashTable API


# 85a4a80d 14-Jun-2023 George Peter Banyard

ext/imap: Refactor + Update to modern property write API (#11415)

Use common functions for creating and setting up similar objects

The increase in verbosity compared to the ``add_pr

ext/imap: Refactor + Update to modern property write API (#11415)

Use common functions for creating and setting up similar objects

The increase in verbosity compared to the ``add_property_*()`` version is somewhat unfortunate, but the behaviour of ``add_property_str()`` releasing the zend_string is suboptimal, confusing, and has me concerned.

show more ...


# 9d5f2f13 20-Mar-2023 Ilija Tovilo

Use new ZSTR_INIT_LITERAL macro (#10879)


# d98963a0 16-Sep-2022 Ilija Tovilo

Switch to Ubuntu 22.04 for GitHub actions jobs

Closes GH-10814


# 7936c808 23-Jan-2023 Máté Kocsis

Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)


# 52a891ae 13-Dec-2022 George Peter Banyard

Add a new imap_is_open() function to check that a connection object is still valid


# e4ef394c 05-Dec-2022 Christoph M. Becker

Drop superfluous check for imap_stream

`GET_IMAP_STREAM` already checks whether `.imap_stream` is `NULL`, and
bails out in that case.

Closes GH-10053.


Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3
# 71c22efa 12-Aug-2022 Christoph M. Becker

Fix GH-9309: Segfault when connection is used after imap_close()

We actually need to check whether `php_imap_object.imap_stream` is
`NULL` to detect that the connection has already been

Fix GH-9309: Segfault when connection is used after imap_close()

We actually need to check whether `php_imap_object.imap_stream` is
`NULL` to detect that the connection has already been closed.

Closes GH-9313.

show more ...


Revision tags: php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5
# 176a484d 12-Apr-2022 Tim Düsterhus

Mark parameter in ext/imap as sensitive


# e7d482d8 06-Jun-2022 Máté Kocsis

Declare ext/imap constants in stubs (#8715)


Revision tags: php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6
# 90b7bde6 03-Nov-2021 Dmitry Stogov

Use more compact representation for packed arrays.

- for packed arrays we store just an array of zvals without keys.
- the elements of packed array are accessible throuf as ht->arPacked[

Use more compact representation for packed arrays.

- for packed arrays we store just an array of zvals without keys.
- the elements of packed array are accessible throuf as ht->arPacked[i]
instead of ht->arData[i]
- in addition to general ZEND_HASH_FOREACH_* macros, we introduced similar
familied for packed (ZEND_HASH_PACKED_FORECH_*) and real hashes
(ZEND_HASH_MAP_FOREACH_*)
- introduced an additional family of macros to access elements of array
(packed or real hashes) ZEND_ARRAY_ELEMET_SIZE, ZEND_ARRAY_ELEMET_EX,
ZEND_ARRAY_ELEMET, ZEND_ARRAY_NEXT_ELEMENT, ZEND_ARRAY_PREV_ELEMENT
- zend_hash_minmax() prototype was changed to compare only values

Because of smaller data set, this patch may show performance improvement
on some apps and benchmarks that use packed arrays. (~1% on PHP-Parser)

TODO:
- sapi/phpdbg needs special support for packed arrays (WATCH_ON_BUCKET).
- zend_hash_sort_ex() may require converting packed arrays to hash.

show more ...


Revision tags: php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3
# b66168e8 17-Aug-2021 Nikita Popov

Fix maybe-uninitialized warning

Some GCC versions don't like zend_try in loop. Avoid the issue
by pulling it out of the loop, we don't particularly care about
skipping further warnin

Fix maybe-uninitialized warning

Some GCC versions don't like zend_try in loop. Avoid the issue
by pulling it out of the loop, we don't particularly care about
skipping further warnings if a bailout occurs, just that it
does not interrupt shutdown.

Closes GH-7380.

show more ...


# bcc2f070 17-Aug-2021 Nikita Popov

Prevent bailout during imap shutdown error reporting

This is a non-intrusive, minimal fix for bug #81316, which prevents
a bailout during imap RSHUTDOWN and prevents the basic shutdown

Prevent bailout during imap shutdown error reporting

This is a non-intrusive, minimal fix for bug #81316, which prevents
a bailout during imap RSHUTDOWN and prevents the basic shutdown
handler from being skipped.

I wasn't able to make the issue reproduce in a small test.

show more ...


Revision tags: php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2
# cd0cd3d3 01-Aug-2021 Kamil Tekiela

Fix typos (#7327)


Revision tags: php-8.0.9, php-7.4.22, php-8.1.0beta1
# 570d9b63 20-Jul-2021 Joe Watkins

Not serializable flag permeation


Revision tags: php-7.4.22RC1, php-8.0.9RC1
# 2bc23cc6 08-Jul-2021 Nikita Popov

Deprecate imap NIL constant

Part of https://wiki.php.net/rfc/deprecations_php_8_1.


Revision tags: php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2
# ceb6fa6d 18-Jun-2021 Patrick Allaert

Convert some recently introduced zend_bool to bool

As well as `scripts/dev/check_parameters.php` utility.

Cfr. 3e01f5afb1b52fe26a956190296de0192eedeec1


Revision tags: php-7.4.21RC1, php-8.0.8RC1
# bc8aa7d0 09-Jun-2021 Nikita Popov

Use free_obj in IMAP\Connection

Looks like this incorrect pattern was copied from the FTP
implementation.


Revision tags: php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1
# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...


12345678910>>...20