summaryrefslogtreecommitdiff
path: root/ext/sysvmsg
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-8.0'Nikita Popov2021-02-161-0/+1
|\ | | | | | | | | * PHP-8.0: Mark resource-like objects as non-comparable
| * Mark resource-like objects as non-comparableNikita Popov2021-02-161-0/+1
| | | | | | | | | | | | | | As these hold on to some internal resource, there can't be two "equal" objects with different identity. Make sure the lack of public properties doesn't result in these being treated as always equal.
* | Improve class entry generationMáté Kocsis2021-02-161-2/+1
| | | | | | | | Related to GH-6701
* | Generate class entries for snmp, soap, sockets, sodium, sqlite3, sysv*, tidyMáté Kocsis2021-02-153-6/+16
| | | | | | | | Closes GH-6696
* | Replace zend_bool uses with boolNikita Popov2021-01-151-2/+2
|/ | | | | | | We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
* Review parameter names in ext/sysvmsgMáté Kocsis2020-10-013-16/+25
| | | | Closes GH-6247
* Add more argument types to stubsMáté Kocsis2020-08-072-3/+3
| | | | Closes GH-5943
* Promote warnings to exceptions in ext/gettext, ext/sysvmsg and ext/xmlMáté Kocsis2020-08-033-20/+20
| | | | Closes GH-5926
* Add a bunch of missing argument types to stubsMáté Kocsis2020-08-032-1/+9
|
* Remove proto comments from C filesMax Semenik2020-07-061-20/+10
| | | | Closes GH-5758
* Replace EXPECTF when possibleFabien Villepinte2020-06-291-1/+1
| | | | Closes GH-5779
* Add ZEND_ACC_NO_DYNAMIC_PROPERTIES flag to SysvMessageQueueMáté Kocsis2020-06-241-1/+1
|
* 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 Sysvmsg extensionGeorge Peter Banyard2020-05-181-1/+1
|
* Convert resource to object in SysvmsgMáté Kocsis2020-05-145-74/+100
| | | | Closes GH-5546
* Store default parameter values of internal functions in arg infoMáté Kocsis2020-04-081-7/+7
| | | | | | | 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 function entries for another batch of extensionsMáté Kocsis2020-04-053-25/+24
| | | | Closes GH-5352
* Reindent phpt filesNikita Popov2020-02-034-10/+10
|
* Make error messages more consistent by fixing capitalizationMáté Kocsis2020-01-173-6/+6
| | | | 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-162-2/+2
|
* Use RETURN_THROWS() after zend_fetch_resource*()Máté Kocsis2020-01-031-5/+5
|
* Use RETURN_THROWS() during ZPP in most of the extensionsMáté Kocsis2019-12-311-7/+7
| | | | Except for some bigger ones: reflection, sodium, spl
* Add union return types for function stubsMáté Kocsis2019-11-112-6/+3
|
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-252-4/+0
| | | | Closes GH-4732.
* Added arginfo stubs for sysvmsgStephen Reay2019-08-123-44/+76
| | | | Closes GH-4522.
* Merge branch 'PHP-7.4'Peter Kokot2019-05-121-2/+0
|\ | | | | | | | | * PHP-7.4: Normalize comments in *nix build system m4 files
| * Normalize comments in *nix build system m4 filesPeter Kokot2019-05-121-2/+0
| | | | | | | | | | | | | | | | | | Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-04-241-1/+1
|\ \ | |/ | | | | | | * PHP-7.4: Use better macros
| * Use better macrosDmitry Stogov2019-04-241-1/+1
| |
| * Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function ↵Dmitry Stogov2019-04-241-9/+9
| | | | | | | | by reference
* | Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function ↵Dmitry Stogov2019-04-241-9/+9
|\ \ | | | | | | | | | by reference
| * | Use ZEND_TRA_ASSIGN_REF_... macros for by reference arguments of internal ↵Dmitry Stogov2019-04-241-9/+9
| |/ | | | | | | functions.
* | Merge branch 'PHP-7.4'Peter Kokot2019-03-151-1/+1
|\ \ | |/ | | | | | | * PHP-7.4: Replace dirname(__FILE__) by __DIR__ in tests
| * Replace dirname(__FILE__) by __DIR__ in testsFabien Villepinte2019-03-151-1/+1
| |
* | Adjust tests for zpp TypeError changeNikita Popov2019-03-111-15/+8
|/
* Add AS_HELP_STRING to *nix build configure optionsPeter Kokot2019-03-071-2/+4
| | | | | | | | The Autoconf's default AS_HELP_STRING macro can properly format help strings [1] so watching out if columns are aligned manually is not anymore. [1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Pretty-Help-Strings
* Remove local variablesPeter Kokot2019-02-033-19/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Remove yearly range from copyright noticeZeev Suraski2019-01-302-2/+2
|
* Implement typed propertiesNikita Popov2019-01-111-20/+17
| | | | | | | | | | RFC: https://wiki.php.net/rfc/typed_properties_v2 This is a squash of PR #3734, which is a squash of PR #3313. Co-authored-by: Bob Weinand <bobwei9@hotmail.com> Co-authored-by: Joe Watkins <krakjoe@php.net> Co-authored-by: Dmitry Stogov <dmitry@zend.com>
* Trim trailing whitespace in testsGabriel Caruso2018-10-144-5/+5
|
* Remove __USE_GNU definesNikita Popov2018-09-171-5/+0
| | | | | | | | This is an internal glibc macro, it should not be necessary to use it if we already define _GNU_SOURCE (we do through AC_USE_SYSTEM_EXTENSIONS). Needing to use __USE_GNU generally indicates an inclusion order problem (libc header included before config.h).
* Don't export anything in php_sysvmsg.hNikita Popov2018-09-172-34/+30
| | | | These are all only relevant for the implementation.
* Remove unused Git attributes identPeter Kokot2018-07-252-3/+1
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Fixed incorrrecr zval_dtor() usage to replace value of argument passed by ↵Dmitry Stogov2018-07-051-4/+3
| | | | reference, that may lead to memory leaks.
* Normalize sysvmsg phpinfo() outputPeter Kokot2018-06-021-3/+0
| | | | | | | | This patch normalizes the sysvmsg extension version in the php info output. Instead of the Git attributes ident blob object name from Git repository it only displays the extension status. Remove sysvmsg version
* Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-201-1/+1
| | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* year++Xinchen Hui2018-01-022-2/+2
|
* Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
|
* Cleanup type conversionDmitry Stogov2017-12-071-8/+4
|
* Get rid of all these old package[2].xml files, most of these had no had a ↵Kalle Sommer Nielsen2017-08-171-40/+0
| | | | | | release since PHP4, or any release at all in close to 10 years, some even did not have a package registered at pecl OCI, PDO_OCI and zip are left as they are actively developed and released there