summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_charset.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Remove legacy AC_CHECK_TYPE calls for uint and ulongPeter Kokot2019-03-061-4/+4
| | | | | | | | | | | | | | | | | | | | | The AC_CHECK_TYPE was refactored in more recent versions of Autoconf and the call with two arguments is obsolete and not recommended anymore. This patch also refactors some leftovers of using ulong and uint which are not standard nor common usages of types in C. The ulong can be used as zend_ulong and uint usage is actually `unsigned int`. The usage of HAVE_ULONG removed since it is not used in current code base. Legacy edgecase for some legacy HPUX systems removed: - sys/stream.h header is not checked and the HAVE_SYS_STREAM_H is not defined with current build system. - flags are unsigned int - max_allowed_packet changed to unsigned int
* Update and fix remaining year ranges (2019)Peter Kokot2019-02-081-1/+1
| | | | | | This patch follows previous license year ranges updates. With new approach source code files now have simplified headers with license information without year ranges.
* Remove local variablesPeter Kokot2019-02-031-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* const-ify some functionsAndrey Hristov2019-01-041-33/+33
|
* year++Xinchen Hui2018-01-021-1/+1
|
* Merge branch 'PHP-7.1'Johannes Schlüter2017-04-141-0/+47
|\
| * Merge branch 'PHP-7.0' into PHP-7.1Johannes Schlüter2017-04-141-0/+47
| |\
| | * Add support for MySQL 8's Unicode typesJohannes Schlüter2017-04-141-0/+47
| | |
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
| * | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
| | |
* | | further normalizations, uint vs uint32_tAnatol Belski2016-11-261-1/+1
|/ / | | | | | | | | | | fix merge mistake yet one more replacement run
* | Merge branch 'PHP-7.0'Andrey Hristov2016-03-161-1/+1
|\ \ | |/
| * More email fixingAndrey Hristov2016-03-161-1/+1
| |
* | Merge branch 'PHP-7.0'Andrey Hristov2016-03-161-3/+4
|\ \ | |/
| * Fix emails in headers. @mysql.com addresses are no more since many years.Andrey Hristov2016-03-161-3/+4
| |
* | Merge branch 'PHP-7.0'Lior Kaplan2016-01-011-1/+1
|\ \ | |/ | | | | | | | | | | * PHP-7.0: Update header to PHP Version 7 Happy new year (Update copyright to 2016) Happy new year (Update copyright to 2016)
| * Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
| |\ | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| | * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| | |
| | * bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | MNDR:Andrey Hristov2015-11-121-2/+2
| | | | | | | | | | | | - move things out of mysqlnd_priv.h
* | | MNDR:Andrey Hristov2015-11-121-1/+0
|/ / | | | | | | - remove inclusion of uneeded headers
* | cleanup the mod version macros, round 2Anatol Belski2015-03-231-1/+1
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-4/+4
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | master renames phase 1Anatol Belski2014-08-251-2/+2
| |
* | ported mysql and mysqlndAnatol Belski2014-08-191-2/+2
|/
* Add support for gb18030/MySQL 5.7Andrey Hristov2014-06-181-4/+46
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Fix some errors in mysqlnd charset listNikita Popov2013-03-241-11/+9
| | | | | | | | | | | | I fixed the stuff that seemed obviously wrong, but there are some more differences with the SHOW COLLATIONS output: * The whole range of "utf16" collations missing * "filename" missing * "ucs2_general_mysql500_ci" and "utf8_general_mysql500_ci" missing I wasn't sure whether those omissions are intentional, so I didn't add them.
* add new charset, from MySQL 5.6Andrey Hristov2013-02-011-8/+11
|
* Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2013-01-061-1/+1
|\
| * bump yearXinchen Hui2013-01-061-1/+1
| |
* | Merge branch 'PHP-5.3' into PHP-5.4andrey2012-06-291-19/+56
|\ \ | |/
| * new charsetsandrey2012-06-291-19/+56
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - Fixed bad xor in signed types due to integer promotion.Gustavo André dos Santos Lopes2011-09-051-5/+5
| | | | | | | | | | - Replaced undefined signed overflow with char -> unsigned char conversion.
| * Sync r314808 to 5_3 branchXinchen Hui2011-08-231-2/+2
| | | | | | | | | | Eliminated compiler warnings "comparison is always false", "cast to pointer from integer of different siz" and tail zero warnings
| * Fix rangeAndrey Hristov2011-05-101-1/+1
| | | | | | | | | | (thanks again nihen)
| * Fix for bug 54674..typo in the check of SJISAndrey Hristov2011-05-091-5/+3
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * new collationsAndrey Hristov2010-10-081-0/+2
| |
| * WS fixesAndrey Hristov2010-09-231-1/+1
| |
| * Added utf16 and utf32 support, as in MySQL 5.5, in mysqlnd.Andrey Hristov2010-08-161-220/+203
| | | | | | | | | | | | | | | | Fixed tests, so they don't try to use SET NAMES utf16|utf32, as character_set_client can't be set to those (the lexer can't read ucs2, utf16 and utf32). Added support for 4-byte utf8, as found in MySQL 5.5
| * - Fix copyrightsFelipe Pena2010-04-201-2/+2
| |
| * CS + WS changesAndrey Hristov2010-04-151-2/+2
| |
| * Update charset tableAndrey Hristov2009-11-241-3/+43
| |