Commit Graph

126 Commits

Author SHA1 Message Date
Derick Rethans
78747bd2df - Don't wrap lines... this is annoying while coding. 2001-09-09 13:29:31 +00:00
Rasmus Lerdorf
4d11d90880 Track down a few more functions that don't check for 0 args and use
faster mechanism
2001-08-13 07:55:39 +00:00
Rasmus Lerdorf
8c497f05c4 We don't consistently check for args passed to functions that don't
take any args.  In some cases we probably want to skip the check for
performance reasons, but in other cases where performance is unlikely
to be a factor, not throwing a warning on the wrong number of args passed
to a function is at best inconsistent, and at worst it could hide a bug.
So, add a few such checks.  There are still lots of cases out there.
2001-08-13 06:43:47 +00:00
Zeev Suraski
f6f6c4d7e6 Whitespace 2001-08-11 16:39:07 +00:00
Sascha Schumann
c095fa33d1 fix php_write 2001-08-05 16:22:50 +00:00
Zeev Suraski
1159c84ab7 - TSRMLS_FETCH work
- whitespace fixes
2001-08-05 01:43:02 +00:00
Zeev Suraski
b1de7fc900 More TSRMLS_FETCH annihilation. Enough for today... 2001-07-31 07:09:49 +00:00
Zeev Suraski
aa1772ca72 More TSRMLS_FETCH annihilation 2001-07-31 05:44:11 +00:00
Zeev Suraski
797a079a95 More TSRMLS_FETCH work, and a bit of cleanup 2001-07-30 06:18:13 +00:00
Zeev Suraski
1c25b8dd53 Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way 2001-07-30 01:56:43 +00:00
Zeev Suraski
d87cc976e1 Redesigned thread safety mechanism - nua nua 2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4 - Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Uwe Steinmann
85d3d3e199 - fixed some compiler warnings 2001-06-06 14:48:01 +00:00
Rasmus Lerdorf
81e2cf03ac Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
Stig Bakken
1beda9ee1e * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build) 2001-05-24 10:07:29 +00:00
Uwe Steinmann
8562b074a3 - completed list of error messages (thanks to Torben Wilson) 2001-05-18 08:07:09 +00:00
Daniel Beulshausen
b9927b845f *must* use HwSLS_FETCH() 2001-04-30 12:53:58 +00:00
Uwe Steinmann
b70952bb50 - fulltext query are working now 2001-03-21 07:58:21 +00:00
Uwe Steinmann
5dcf391497 - Inserting links without any delimiters is now possible 2001-03-16 17:40:38 +00:00
Uwe Steinmann
46eb8d8def -fixed prototype and indention 2001-03-14 06:33:46 +00:00
Andi Gutmans
eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
Sascha Schumann
c2fb53bed7 Finish fopen-wrappers rename. 2001-02-23 22:07:16 +00:00
Uwe Steinmann
454221ba62 - took out the HwSLS_FETCH to make it compile again on Unix
Is this really neccesary at this point?
2001-02-22 09:38:59 +00:00
Daniel Beulshausen
adcd6e7b0b make hyperwave build under win32 2001-02-20 20:45:55 +00:00
Thies C. Arntzen
8499b430cf @- Fixed some modules to allow using output-buffering. (Thies)
i nuked all unneded calls to php_header() - i'm not too sure how we do
handle HEAD Requests as they were only detected via php_header(). but calling
php_header from a module makes output-buffering unusable.

NOTICE: there is some EBSDIC stuff in gd.c - i think it's obsolete.
2001-02-15 14:49:01 +00:00
Egon Schmid
c7f5ad4336 Fixed another proto. 2001-01-26 21:22:33 +00:00
Zeev Suraski
aa6d2ac5d0 Heads up people!
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
2000-12-22 12:57:09 +00:00
Uwe Steinmann
89279afdd3 - handled possible case that an Anchor has no Position
(This used to cause a segm fault)
2000-12-14 07:37:37 +00:00
Uwe Steinmann
0e41e3c7cf - Bodytag is insertet by fnInsAnchors()
- several small bugs which might cause a segm fault
2000-12-13 17:27:13 +00:00
Uwe Steinmann
ba862cc06d - new function hw_insertanchors(). It takes a document, a list of anchors
and its destination and inserts the anchors into the text.
2000-12-12 12:28:26 +00:00
Uwe Steinmann
81def6d9d5 - new function hw_new_document_from_file() 2000-12-04 16:34:06 +00:00
Egon Schmid
91436356b8 Fixed some protos. 2000-12-01 15:03:25 +00:00
Uwe Steinmann
4a60447800 - optional argument for hw_pipedocument() to specify link prefix 2000-11-23 14:44:10 +00:00
Hartmut Holzgraefe
1f6878e912 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
Uwe Steinmann
eaad937f84 - Some more comments
- Initial support to just include anchors into documents
2000-11-09 13:36:54 +00:00
Uwe Steinmann
e577215736 - added four functions to do fulltext query 2000-10-27 09:29:40 +00:00
Andrei Zmievski
f1dcb32c9f Use zend_register_list_destructors_ex() instead. 2000-10-25 17:44:02 +00:00
Andrei Zmievski
7b4983c8f8 Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
  * Switched register_list_destructors() to use
    zend_register_list_destructors_ex() instead
  * Updated all relevant modules to provide the resource type name
    to register_list_destructors() call
  * Updated var_dump() to output resource type name instead of number

@- Made resource type names visible, e.g. var_dump() and
@  get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Uwe Steinmann
32f6eeb3bd - fixed prototyp 2000-08-28 13:04:40 +00:00
David Croft
83513d9580 Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
Added a few RCS $Id$ tags.

# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
2000-07-24 01:40:02 +00:00
Uwe Steinmann
f6347145ff - Link is now of type RESOURCE and not LONG 2000-07-05 19:47:43 +00:00
Sascha Schumann
cd754d7825 Rename macros which begin with underscore to appropiate macros. The general
rule is:

	macro_name=`echo $filename|tr a-z A-Z|sed 's/\./_/'`
2000-07-03 00:41:19 +00:00
Sascha Schumann
16017f6d78 Change header protection macros to conform to standard.
Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"

  All identifiers that begin with an underscore and either an uppercase
  letter or another underscore are always reserved for any use by the
  implementation.
2000-07-02 23:46:51 +00:00
Uwe Steinmann
33471de02a - using more of the zend API 2000-06-30 09:46:39 +00:00
Sascha Schumann
0c03253635 Stop including dl/phpdl.h. 2000-06-24 15:36:04 +00:00
Egon Schmid
6e815b76ea Some protos fixed. 2000-06-18 16:31:52 +00:00
Hartmut Holzgraefe
87a491d7b6 C++ // comments are evil ... 2000-06-16 18:24:02 +00:00
Andi Gutmans
2987d5216e - More #if WIN32|WINNT -> #ifdef PHP_WIN32 conversions 2000-06-15 23:45:05 +00:00
Egon Schmid
a526b42211 Fixed some protos. 2000-06-12 13:33:49 +00:00
Andi Gutmans
a9d4cf9023 - Nuke COMPILE_DL. Modules that need to be compiled as dll's in Windows
- need to define both COMPILE_DL_MODULE and HAVE_MODULE=1
2000-06-10 08:48:01 +00:00