summaryrefslogtreecommitdiff
path: root/ext/imap
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Skip imap_lsub_basic.phpt under asanNikita Popov2020-09-241-0/+1
| | | | | | | | | | | | | | | | | | LeakSanitizer fails on Azure with: > Tracer caught signal 11: addr=0x0 pc=0x7f86cde7c8b0 sp=0x7f86c46bcce0
* | | Promote warnings to Error in IMAP extensionGeorge Peter Banyard2020-09-2311-252/+344
| | | | | | | | | | | | | | | | | | Drop some dependencies on argc at the same time Closes GH-6164
* | | Add proper default values for optional arguments in IMAPGeorge Peter Banyard2020-09-223-41/+27
| | | | | | | | | | | | Closes GH-6179
* | | Refactor imap_mail()'s internal implementation to use zend_stringsGeorge Peter Banyard2020-09-221-52/+55
| | |
* | | Skip IMAP test which chokes on ASAN buildGeorge Peter Banyard2020-09-221-0/+1
| | |
* | | Drop some connection retries in IMAP testGeorge Peter Banyard2020-09-211-23/+6
| | | | | | | | | | | | They are unnecessary and just take time for no good reason
* | | Merge branch 'PHP-7.4' into masterChristoph M. Becker2020-09-211-1/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Fix memory leak in php_imap_mutf7()
| * | Merge branch 'PHP-7.3' into PHP-7.4Christoph M. Becker2020-09-211-1/+2
| |\ \ | | |/ | | | | | | | | | * PHP-7.3: Fix memory leak in php_imap_mutf7()
| | * Fix memory leak in php_imap_mutf7()Christoph M. Becker2020-09-211-1/+2
| | | | | | | | | | | | We have to free the string which has been allocated by libc-client.
* | | Update README for how to setup IMAP testsGeorge Peter Banyard2020-09-201-35/+11
| | | | | | | | | | | | | | | This details which packages needs to be installed on Ubuntun 18.04, which configure flags are necessary and what the setup.sh shell script does.
* | | Fix IMAP testsGeorge Peter Banyard2020-09-1814-212/+13
| | | | | | | | | | | | | | | Drop various ZPP checks and make them PASS Add CONFLICT file as the tests all hit the same mailbox
* | | Set-up IMAP in AzureGeorge Peter Banyard2020-09-186-7/+46
| | | | | | | | | | | | Closes GH-6162
* | | Run tidyNikita Popov2020-09-183-8/+8
| | | | | | | | | | | | | | | This should fix most of the remaining issues with tabs and spaces being mixed in tests.
* | | Generate arginfosMáté Kocsis2020-09-161-4/+4
| | |
* | | Display string default values in stubs more uniformlyMáté Kocsis2020-09-161-3/+3
| | | | | | | | | | | | Settling on using quoted string
* | | Display types in stubs more uniformlyMáté Kocsis2020-09-162-7/+7
| | | | | | | | | | | | | | | | | | In preparation for generating method signatures for the manual. This change gets rid of bogus false|null return types, a few unnecessary trailing backslashes, and settles on using ? when possible for nullable types.
* | | Improve error messages mentioning parameters instead of argumentsMáté Kocsis2020-09-091-1/+1
| | | | | | | | | | | | Closes GH-5999
* | | Add many missing closing PHP tags to testsMáté Kocsis2020-08-091-0/+1
| | | | | | | | | | | | Closes GH-5958
* | | Add a bunch of missing argument types to stubsMáté Kocsis2020-08-032-3/+6
| | |
* | | Remove proto comments from C filesMax Semenik2020-07-061-178/+89
| | | | | | | | | | | | Closes GH-5758
* | | Replace EXPECTF when possibleFabien Villepinte2020-06-293-3/+3
| | | | | | | | | | | | Closes GH-5779
* | | Remove unnecessary PHPDoc-alike blocks from testsMáté Kocsis2020-06-2423-114/+1
| | | | | | | | | | | | Closes GH-5759
* | | Include stub hash in generated arginfo filesNikita Popov2020-06-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necessary. This ensures that release artifacts will never try to regenerate stubs and thus fetch PHP-Parser, as long as you do not modify any files. Closes GH-5739.
* | | Fix [-Wundef] warning in IMAP extensionGeorge Peter Banyard2020-05-162-24/+24
| | |
* | | Removed pure zpp tests in the imap extensionJens de Nies2020-05-1414-537/+0
| | | | | | | | | | | | Closes GH-5569.
* | | Store default parameter values of internal functions in arg infoMáté Kocsis2020-04-081-23/+23
| | | | | | | | | | | | | | | | | | | | | Closes GH-5353. From now on, PHP will have reflection information about default values of parameters of internal functions. Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
* | | Generate functions entries from stubs for another set of extensionsMáté Kocsis2020-04-054-171/+180
| | | | | | | | | | | | Closes GH-5351
* | | Annotate function aliases in stubsMáté Kocsis2020-04-041-7/+29
| | |
* | | Change argument error message formatMáté Kocsis2020-02-267-13/+13
| | | | | | | | | | | | Closes GH-5211
* | | Add stubs for aliasesMáté Kocsis2020-02-183-51/+61
| | | | | | | | | | | | Closes GH-5187
* | | Make type error messages more consistentMáté Kocsis2020-02-177-13/+13
| | | | | | | | | | | | Closes GH-5092
* | | Reindent phpt filesNikita Popov2020-02-0338-287/+287
| | |
* | | Merge branch 'PHP-7.4'Nikita Popov2020-01-201-3/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Fix bug #79112: IMAP can't find OpenSSL during configure
| * | Fix bug #79112: IMAP can't find OpenSSL during configureNikita Popov2020-01-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the check of PHP_OPENSSL inside SETUP_OPENSSL. It's the responsibility of the caller to determine whether they want to enable openssl or not. This makes SSL detection in IMAP work, which uses a different option. Additionally also clarify that --with-openssl-dir cannot actually be used to specify an OpenSSL directory -- these options just serve as a way to enable OpenSSL in extensions without also enabling the OpenSSL extension. They need to be renamed to something clearer in master. Closes GH-5091.
* | | Make error messages more consistent by fixing capitalizationMáté Kocsis2020-01-178-28/+28
| | | | | | | | | | | | Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
* | | Fix #78880: Final spelling fixesMáté Kocsis2020-01-161-2/+2
| | |
* | | Fix #78880: Another bunch of spelling errorsMáté Kocsis2020-01-161-1/+1
| | |
* | | Use RETURN_THROWS() after zend_fetch_resource*()Máté Kocsis2020-01-031-47/+47
| | |
* | | Use RETURN_THROWS() after try_convert_to_string()Máté Kocsis2020-01-031-3/+3
| | |
* | | Use RETURN_THROWS() during ZPP in most of the extensionsMáté Kocsis2019-12-311-66/+66
| | | | | | | | | | | | Except for some bigger ones: reflection, sodium, spl
* | | Add union return types with one classMáté Kocsis2019-11-182-18/+9
| | |
* | | Add union return types for function stubsMáté Kocsis2019-11-112-192/+91
| | |
* | | Clean DONE tags from testsFabien Villepinte2019-11-0732-64/+0
| | | | | | | | | | | | | | | | | | | | | Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
* | | Cleanup return values when parameter parsing is unsuccessfulMáté Kocsis2019-10-301-2/+2
| | |
* | | Remove irrelevant tests (they were failed because of warning to exception ↵Dmitry Stogov2019-10-024-184/+0
| | | | | | | | | | | | chenge in parameter parsing API).
* | | Fixed testsDmitry Stogov2019-10-025-15/+7
| | |
* | | Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-252-4/+0
| | | | | | | | | | | | Closes GH-4732.
* | | Added arginfo stubs for IMAP extensionStephen Reay2019-09-223-368/+684
| | |
* | | Convert IMAP function aliasesStephen Reay2019-09-192-6/+6
| | | | | | | | | | | | | | | | | | These are not really aliases, convert them to normal functions. Closes GH-4725.
* | | Merge branch 'PHP-7.4'Peter Kokot2019-07-181-1/+0
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.4: Fix typo Remove unused defines