Commit Graph

71 Commits

Author SHA1 Message Date
Sterling Hughes
645a98ef99 Change DOM-XML's error reporting to E_WARNING which is more appropriate 2001-09-09 09:41:40 +00:00
Joey Smith
a4a1543753 Fix bug #13025. 2001-08-29 22:26:04 +00:00
Joey Smith
5d451c9885 Fix 1st case of #9893. 2nd case was already fixed in previous commit. 2001-08-26 11:36:27 +00:00
Joey Smith
f0ea3478cb Some changes to help out previous users of domxml...
node::tagname == node::name.
Add property "type" to textnode types.
2001-08-21 21:49:32 +00:00
Joey Smith
df7967729e Kill some duplicate PHP_FALIAS()'s.
Many of these were commented out, but I killed them anyways just to be
consistent.
2001-08-14 08:23:22 +00:00
Joey Smith
14f05c17dd Group PHP_FE and PHP_FALIAS with their own kind. 2001-08-14 07:49:28 +00:00
Joey Smith
a26110de2c Fix my own ws errors. 2001-08-14 07:44:21 +00:00
Joey Smith
b79868c28c Register le_domxmltextp. 2001-08-14 07:37:14 +00:00
Joey Smith
109f414557 Don't hammer the resource type right off the bat. 2001-08-14 07:36:18 +00:00
Joey Smith
e3d6fc72e5 Trim ws only lines. 2001-08-14 07:34:20 +00:00
foobar
a870fd2757 ws fix. Also added some missing protos and fold tags. 2001-08-14 07:14:23 +00:00
Joey Smith
022626a8f0 Remove unused variable and fix small mental error. 2001-08-14 00:10:39 +00:00
Andi Gutmans
ad18bd07f1 - More Engine 2 work. 2001-08-13 18:47:52 +00:00
Joey Smith
fc487f4603 Change to Z_* macros. 2001-08-13 08:08:18 +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
Joey Smith
2aca8c67ea Let domxml compile with ZendEngine2. 2001-08-11 20:44:30 +00:00
Zeev Suraski
f6f6c4d7e6 Whitespace 2001-08-11 16:39:07 +00:00
foobar
9e0ad17dc4 compile fix (missing TSRMLS_CC) 2001-08-10 08:02:09 +00:00
Joey Smith
ca33def60b K&R-ify the switch statments. 2001-08-09 12:41:39 +00:00
Joey Smith
f8d7307270 Commit acutal code only, will do ws on another pass. 2001-08-09 12:35:09 +00:00
Joey Smith
00418457d3 Revert patch to seperate code from whitespace changes. 2001-08-09 12:22:41 +00:00
Joey Smith
e2a2aa75b0 Restore xpath_eval() and the underlying php_xpathptr_eval().
It still leaks like crazy, but does not appear to crash, and
seems to work correctly.

Anyone who can possibly test this, please do.

@- Restore xpath_eval() and php_xpathptr_eval() for 4.0.7. There
@  are still some known leaks.
2001-08-09 12:15:58 +00:00
foobar
053cac2c3a Missed these 2001-08-07 17:17:39 +00:00
foobar
f710812427 Yet another TSRM fix. 2001-08-07 16:24:11 +00:00
Zeev Suraski
1159c84ab7 - TSRMLS_FETCH work
- whitespace fixes
2001-08-05 01:43:02 +00:00
Zeev Suraski
aa1772ca72 More TSRMLS_FETCH annihilation 2001-07-31 05:44:11 +00:00
Zeev Suraski
d76cf1da18 More TSRMLS_FETCH work 2001-07-31 04:53:54 +00:00
foobar
6ee8e4bccc Make this compile in ZTS mode. 2001-07-30 20:11:28 +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
Joey Smith
f272469b4c Close Bug #10235.
This makes domxml_root() work again. It now works
equally as well as object method or a simple function.
2001-07-16 11:16:44 +00:00
Joey Smith
cd9fe169e1 This should get xmldocfile() working again.
This should fix bugs:
11192, 10899
2001-07-08 00:54:25 +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
Andrei Zmievski
ae90bcf16d Open season on memory leaks, shoot all you can. 2001-05-11 21:29:47 +00:00
Andrei Zmievski
1db2516277 Start cleaning up domxml memory leaks. Still much stuff to do. 2001-05-11 16:14:19 +00:00
Uwe Steinmann
7ee542a524 - added domxml_version() to retrieve version of libxml 2001-04-09 11:53:06 +00:00
foobar
7449d09be0 Fixed bug: #10040. 2001-03-29 00:22:45 +00:00
foobar
6751e58f9d Fixed a typo. 2001-03-26 21:42:01 +00:00
Uwe Steinmann
dbc4d4b457 - fixed some bugs with xpath 2001-03-22 06:58:13 +00:00
Uwe Steinmann
e8d48dd7ae - added EntityReference and Notation class
- fixed handling of PI nodes
- implemented more class functions
2001-03-21 05:45:40 +00:00
Sebastian Bergmann
53385a9537 Nuke another warning. 2001-03-20 17:04:45 +00:00
Uwe Steinmann
3dfbbc31ac - fixed lot of compiler warnings 2001-03-20 16:20:42 +00:00
Uwe Steinmann
9fc59ce735 - complete rewrite of domxml module.
It is now mostly conform to DOM Level 2 though some classes and
  methods are still missing
2001-03-20 15:01:13 +00:00
Andi Gutmans
eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
Uwe Steinmann
32b8cdde14 - add domxml_unlink_node(), not tested 2001-02-08 15:12:16 +00:00
Uwe Steinmann
bcac88e8fb - changed naming of some functions (kept compatibility) 2001-01-26 08:15:57 +00:00
foobar
ab6639564c - Fixed a possible crash bug in xmltree().
# PR: #7052
2001-01-12 16:49:06 +00:00
Andi Gutmans
5e5c59ebcb - Get rid of C++ comments 2001-01-05 14:34:15 +00:00
Uwe Steinmann
db56ddb36c - fixed potential segmfault in xmldoc() and xmldocfile() 2001-01-05 14:11:19 +00:00
Rasmus Lerdorf
2a926135a9 Fix typo 2000-12-28 17:25:11 +00:00