summaryrefslogtreecommitdiff
path: root/ext/standard
Commit message (Collapse)AuthorAgeFilesLines
* - Fix dirname()Andi Gutmans2000-10-031-29/+47
|
* - Fix VC++ warningAndi Gutmans2000-10-031-1/+2
|
* - Now really fix it.Andi Gutmans2000-10-021-2/+2
|
* - Fix bug in parse_url()Andi Gutmans2000-10-021-1/+1
|
* - Cleanup some output functionsAndi Gutmans2000-09-302-2/+2
|
* Don't try to serialize references.Sascha Schumann2000-09-291-18/+20
| | | | | | Circular references would otherwise kill PHP, as the serializer would overrun the stack.
* Automatic conversion might cause interpretation of 0xff as EOF, so we storeSascha Schumann2000-09-271-1/+3
| | | | | | | the result in an object of type int first. Submitted by: melchers@cis.fu-berlin.de
* Recognize single quotes around cdata.Sascha Schumann2000-09-273-211/+198
| | | | | Move smart_str functions to an extra file.
* Move php_memnstr to the header file, so that the function body is availableSascha Schumann2000-09-272-15/+15
| | | | | in all compilation units (note the static linkage).
* Unify memory allocation in smart_str functionsSascha Schumann2000-09-262-53/+51
|
* Small fix to the literal IPv6 parsing, now stops at first ] after [Stig Venaas2000-09-221-1/+1
|
* Parsing of URLs with literal IPv6 addresses, see RFC 2732Stig Venaas2000-09-221-6/+8
| | | | | @- IPv6 support in fopen (one can access IPv6 ftp/web servers) (Stig Venaas)
* Cleanup SCANNER_DEBUG and don't NUL terminate work bufferSascha Schumann2000-09-202-39/+41
|
* Use emalloc and friends. Since we reuse all buffers, this does not affectSascha Schumann2000-09-202-25/+27
| | | | | | | | the speed. The smart_str_* functions don't NUL terminate strings anymore. We can rely on the length of the strings completely.
* Remove this pseudo optimization from the previous rewrite.Sascha Schumann2000-09-203-81/+31
| | | | | | Since we leave/enter the loop more often, the cost of maintaining c_arg/c_val is higher than simply copying the tag/arg string once.
* Another 5%-10% speed increase achieved bySascha Schumann2000-09-203-112/+100
| | | | | | - making ctx->val read-only - adding a special appendc function for appending single characters
* Add support for URLs containing NAME info (for scrolling; #name).Sascha Schumann2000-09-202-43/+111
|
* Rename prototype to currently used name. These stupid names will go away onceSascha Schumann2000-09-201-1/+1
| | | | | the transition periode ends.
* 2nd Rewrite of the main scanner engine. This version is cleaner and faster.Sascha Schumann2000-09-203-660/+554
| | | | | | | | | | | | | | | | It handles the following tags currently: <FRAME .. SRC=URL ..> <INPUT .. TYPE=IMAGE SRC=URL ..> <A .. HREF=URL ..> <AREA .. HREF=URL ..> <IMG .. SRC=URL ..> Additional ones can be added within seconds. The support for HTML forms has been significantly improved. The scanner will now add proper Hidden Fields for the Session ID.
* Reduce the amount of copying in the mainloop. We copy tag/arg only, if weSascha Schumann2000-09-193-52/+106
| | | | | | need to preserve them for a new loop iteration (after we leave mainloop). Otherwise, we can just let them point to the work area.
* Revert part of last commit. I'll refine it later.Sascha Schumann2000-09-192-7/+13
|
* - Change to Z_BVAL macroAndi Gutmans2000-09-191-1/+1
|
* Another speedup by avoiding string copies.Sascha Schumann2000-09-192-90/+66
| | | | | 15% speed gain in test case (rewriting 1M URLs).
* Remove nextiter labelSascha Schumann2000-09-192-3/+1
|
* s/DEBUG/SCANNER_DEBUG/. "Convert" one macro to inline function to be moreSascha Schumann2000-09-192-46/+62
| | | | | consistent. Also use continue.
* Fix a few build bugs, still no goZeev Suraski2000-09-192-6/+12
|
* The rewrite was completely authored by HartmutSascha Schumann2000-09-191-2/+1
|
* Remove unnecessary include directiveSascha Schumann2000-09-191-1/+0
|
* - Fix warningsZeev Suraski2000-09-193-8/+18
| | | | | - Fix URL scanner startup crash
* Add new URL scanner. This version is up to 20% faster. It will beSascha Schumann2000-09-196-1/+1194
| | | | | | | enabled by default once I'm sure that it works in every case. To enable it, apply s/url_adapt_ext/url_adapt_ext_ex/ to session.c
* Fix RINIT/RSHUTDOWN functions and add url_adapt_ext()Sascha Schumann2000-09-192-0/+14
|
* Fix decbinStanislav Malyshev2000-09-171-1/+1
|
* Add empty string checks to add?slashesStanislav Malyshev2000-09-171-0/+14
|
* Thought that I had just committed something really stupid.Zak Greant2000-09-161-2/+2
| | | | | | | On closer inspection, realized that the proto comments for chown and chgrp were reversed. :) I did not realize this and had only fixed chown previously
* trivial changeZak Greant2000-09-161-13/+13
| | | | | corrected mistake in proto comment for chown fold
* - Made eval() and several other runtime-evaluated code portions report theZeev Suraski2000-09-122-2/+11
| | | | | nature and location of errors more accurately (Stas)
* Forgot to update proto.Andrei Zmievski2000-09-121-1/+1
|
* @- Added second argument to array_reverse() that indicatese whetherAndrei Zmievski2000-09-121-11/+23
| | | | | @ the original array keys should be preserved. (Andrei)
* reversed chomp alias addition as per Andi Gutmans' requestDaniel Beckham2000-09-122-5/+0
|
* # missed proto commentsRasmus Lerdorf2000-09-121-2/+2
|
* Clean up htmlspecialchars/htmlentities inconsistencies.Rasmus Lerdorf2000-09-122-14/+34
| | | | | @Clean up htmlspecialchars/htmlentities inconsistencies. (Rasmus)
* added chomp() alias for chop() for us Perl purists.Daniel Beckham2000-09-122-0/+5
|
* Make parse_str always register globals with 1 argument and never -Stanislav Malyshev2000-09-121-5/+6
| | | | | with 2 arguments
* A quick attempt to make parse_str($str,$arr) not register globals.Stanislav Malyshev2000-09-121-0/+3
|
* - Fix bug #5997Andi Gutmans2000-09-121-1/+1
|
* - Fix for bug #6673Derick Rethans2000-09-111-20/+37
| | | | | | | - Added a "cut" option to wordwrap (as per feature request #6429) @ Added an optional parameter to wordwrap that cuts a string if the length of a word is longer than the maximum allowed with (Derick)
* - Remove #if 0 codeAndi Gutmans2000-09-111-3/+0
|
* - Move php_open_temporary_file() out of file.cAndi Gutmans2000-09-112-152/+3
|
* Kill a warningSascha Schumann2000-09-111-2/+2
|
* (PHP parse_str) ParameterPassedByReference() check is not necessary.Andrei Zmievski2000-09-111-10/+0
|