Commit Graph

4122 Commits

Author SHA1 Message Date
Daniel Beulshausen
f1351348b8 fix ouput directory 2001-04-30 10:01:36 +00:00
Daniel Beulshausen
cb7c65d052 fix win32 build 2001-04-30 09:57:16 +00:00
Sergey Kartashoff
52c3958f88 Added UDM_FIELD_CATEGORY parameter to get current document
category in the mnoGoSearch module
2001-04-30 08:57:41 +00:00
David Croft
34f03f2c5c @ - Added key_exists() to check if a given key or index exists in an
@ array or object (David Croft)
Added key_exists() to check if a given key or index exists in an array or object
2001-04-30 04:06:09 +00:00
Andi Gutmans
91451bfcaf - Remove leak from opendir() under Windows. Maybe readdir.c should be
changed to use emalloc()
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-04-29 18:06:56 +00:00
Andi Gutmans
21603118b1 - Fix bug Bug id #5987. It could be fixed by changing readdir.c but I
- prefered not to touch that code but to treat windows a bit differently
- in dir.c
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-04-29 17:57:23 +00:00
Zeev Suraski
6487d08e6b Accept the fix suggestion from bug #9562 2001-04-29 17:33:11 +00:00
Derick Rethans
b8ad2e842d - 'Fix' for bug #10145 2001-04-29 15:48:07 +00:00
Sean Bright
a98c9ba66f Fix proto decription. 2001-04-29 13:30:56 +00:00
Sean Bright
596e8208be Really fix bug #10362.
# My previous fix caused a segfault when there were parens in an unallowed
# tag :(  Thanks Andi.
2001-04-29 13:16:05 +00:00
Zeev Suraski
c8a768a2fb whitespace fix 2001-04-29 11:37:03 +00:00
foobar
28a2cb46d5 Fix bug #10545. 2001-04-29 10:14:18 +00:00
Sean Bright
9e34117cd9 Fix for bug #10362 2001-04-28 23:07:51 +00:00
Sterling Hughes
425c714435 # Actually fix the bug this time (I fixed another bug last time :) 2001-04-28 21:44:44 +00:00
Sterling Hughes
d53ab0ae48 fix bug #10541 2001-04-28 21:37:45 +00:00
Sean Bright
4175151567 - Fix for bugs #9042, #8212, and #8962. Patch from <tunacat@yahoo.com>
- Fixed proto for exec()
2001-04-28 13:16:18 +00:00
Sterling Hughes
c67b6e4836 Add the xslt_make_array and xslt_free_array api functions (C level).
Change the naming to be a bit more standard for a few of the existing
api functions.

Make the sablotron backend compile with these changes.
2001-04-27 05:00:52 +00:00
Sterling Hughes
1865be6ca4 fix for bug #8994, courtesy tom.anheyer@berlinonline.de
# Are we having another RC, and if so, can I MFH in time for it?
2001-04-26 13:47:17 +00:00
Matt McClanahan
cb9db291c7 Enforce the right number of params for mysql_fetch_*() functions, related to bug 9839. 2001-04-26 08:22:12 +00:00
Sterling Hughes
25ad8d38f3 Add a readme, this is a substitute to the e-mail I was going to send. it
gives a basic overview of the new xslt extension and goes into the details
of the api, etc.
2001-04-26 05:38:17 +00:00
Andi Gutmans
6e8f7a06f6 - use get_current_key_ex() in order to receive key length and not having
- to use strlen() everywhere.
2001-04-26 02:54:27 +00:00
Sterling Hughes
9c8780c809 Add a free function to free the returned structure. 2001-04-26 02:12:07 +00:00
Sterling Hughes
ad138d77db Add the parse_xslt_arguments api function which parses sablotron type
arguments into an easy to use structure.
2001-04-26 02:01:09 +00:00
Shane Caraveo
a7f48e470f compile was broken, new argument? 2001-04-26 01:46:18 +00:00
Sterling Hughes
35890db0a1 Add an experimental version of the new XSLT extension. This is by no means
to be used on anything production, if you want to test it, beware, it may or
may not work (feel free to complain to me if it doesn't work, or shower
praise if it does work)...

Mainly in PHP's CVS so that work on the other backends can take place.
The api (function_entry) is what I'm thinking of for all backends.  Every
backend simply needs to define these functions, I'll send an e-mail describing
all this in a bit....
2001-04-26 00:13:26 +00:00
Hartmut Holzgraefe
17da9f22f2 a backslash was missing (+ whitespace) 2001-04-25 21:26:05 +00:00
Rasmus Lerdorf
e8e6828863 - Make the printf functions binary clean
@ - Make the printf family of functions binary clean
2001-04-25 21:05:59 +00:00
Andrei Zmievski
07a5e3fb9c * Made ENT_* defines availabe to other functions.
* The key/variable names in WDDX are now html escaped to not break XML.
@- Fixed WDDX serialization to HTML-escape key/variable names so as not to
@  break the XML packet. (Andrei)
2001-04-25 20:14:29 +00:00
Frank M. Kromann
a09c88cb6a Remove c++ comment
Move errormessage when FBExec is not running. This error should not show if we connect through a port number.
2001-04-25 19:45:13 +00:00
Frank M. Kromann
7873ab04b3 make fbsql_field_flags return a value 2001-04-25 18:01:22 +00:00
Frank M. Kromann
c5cc42cae9 removed unused code 2001-04-25 18:00:55 +00:00
Andy Sautins
1dc4678d44 Collections cleanup
- Removed date specific methods.  Dates work consistently with
         the rest of the oci8 code.
       - Removed unused variables from collection code.
       - RETURN_FALSE on all errors.
       - fix error prints to php_error.
2001-04-25 17:48:30 +00:00
Andy Sautins
e650cba5e4 Cleanup collections - removed unused members from oci_collection structure 2001-04-25 17:44:07 +00:00
Andi Gutmans
ef1835f54f - Fix filetype() and lstat() too. 2001-04-25 06:30:24 +00:00
Andi Gutmans
ef71855bc6 - Another fix 2001-04-25 05:53:45 +00:00
Andi Gutmans
502b4efb7d - Nuke warning. This signed/unsigned stuff gets really annoying sometimes. 2001-04-25 05:43:30 +00:00
Andi Gutmans
76860d4fc0 - Fix problem with is_link(), there seem to be at least another couple of
- bugs lurking around though.
- Cleaned up code a bit and optimized it a bit too.
2001-04-25 04:22:29 +00:00
Sterling Hughes
a59a85b598 Fixed a crash bug.
Return the proper amount.
2001-04-24 22:10:41 +00:00
Chuck Hagenbuch
029cd8a882 Fix for bug 9908: check that the result of mail_sort is not 0 before trying
to dereference the pointer. :)

Also, free sort programs - this might have been a memory leak.
2001-04-23 21:58:44 +00:00
Thies C. Arntzen
c03efd49f4 fixed ZTS buidl - still some WS pollution left 2001-04-23 11:54:02 +00:00
Sterling Hughes
bb9fe151c3 Fix bug #10447. 2001-04-22 23:40:34 +00:00
Sascha Schumann
c44da99842 Fix freeing of a NULL pointer 2001-04-22 17:20:03 +00:00
Stig Bakken
2cf1b8d345 * expanded the following constants and made them available in PHP:
DEFAULT_INCLUDE_PATH
  PEAR_INSTALL_DIR
  PHP_EXTENSION_DIR
  PHP_BINDIR
  PHP_LIBDIR
  PHP_DATADIR
  PHP_SYSCONFDIR
  PHP_LOCALSTATEDIR
  PHP_CONFIG_FILE_PATH
* no longer generating pear/PEAR.php
* fixed some tests
* some more installer work
2001-04-22 01:09:14 +00:00
Andrei Zmievski
f52831bc84 Enabling WDDX by default. 2001-04-20 19:33:22 +00:00
foobar
d9b2f7910e ws pollution removed. 2001-04-20 15:37:55 +00:00
Jason Greene
ebad4ff6af Change all // to /* */, fixed small whitespace.
Builds on Solaris now.
2001-04-19 22:00:34 +00:00
Andi Gutmans
a5a4b4e2f8 - Use memcpy() instead of strlcpy() which is faster. 2001-04-19 21:42:45 +00:00
Dan Kalowsky
d7383e3255 appling patch for joey since he has no ODBC karma. this is for bug #10252 2001-04-19 19:55:05 +00:00
Sterling Hughes
06e6363985 fix crash bug 10400. 2001-04-19 14:59:33 +00:00
Wez Furlong
d52f75aa1c Patch from Adam Dickmeiss to make configure detect libtff again. 2001-04-19 14:16:09 +00:00
Andi Gutmans
65cccf02ba - WS 2001-04-19 04:02:03 +00:00
Dan Kalowsky
f41f369754 corrects bug #7488, patch supplied by submitter (torben@php.net).
quick local tests show it to work.
2001-04-19 02:31:23 +00:00
Derick Rethans
f557830af8 - Fixed some more problems with keys being chopped off (fix for bug #8839) 2001-04-18 22:14:06 +00:00
Adam Dickmeiss
1c62af36eb Function yaz_record returns database for record if type is "database". 2001-04-18 15:03:24 +00:00
Marc Boeren
e2c8e80e2b Removed some old commented code (Mc) 2001-04-18 12:34:52 +00:00
Marc Boeren
9fc2c61698 Added DBX_CMP_TEXT and DBX_CMP_NUMBER constants and support for them in
the dbx_cmp_desc and dbx_cmp_asc functions. The old method of passing a
string "number" is now no longer valid. (Mc)
2001-04-18 12:31:08 +00:00
Frank M. Kromann
f09a36b91f Adding fbsql_fetch_assoc() functon 2001-04-17 17:39:43 +00:00
Wez Furlong
86c84da7c2 Discovered warn_not_available and used it. 2001-04-17 17:08:03 +00:00
Wez Furlong
57af70f707 Changes for streams. Added temporary fopenstream function to PHP so that
the streams can be tested.
2001-04-17 17:06:06 +00:00
Dan Kalowsky
685186f9fd This change seems to fix bugs 7158, 7807, 8531, and 8636. After asking why this patch was applied no one seemed to respond with anything useful. If you find this change in error, sorry, I tested it on as many systems as I could. 2001-04-17 02:02:36 +00:00
Wez Furlong
fe88b5fd6e Fixed lame attempt to prevent ttf linkage when using freetype2 2001-04-17 01:02:37 +00:00
Frank M. Kromann
fb98b6b838 Fixing memory leek on CancelFetch. 2001-04-16 16:27:11 +00:00
Andrei Zmievski
1a1018452c @- Fixed a bug with /e modifier in preg_replace(), that would not correctly
@  replace two-digit references if single digit references were present
@  before them. This fixed bug #10218. (Andrei)
2001-04-16 04:56:31 +00:00
Alexander Feldman
f0abfcc894 Fixed typo. 2001-04-15 19:03:12 +00:00
Alexander Feldman
531b8042ad We shoud not fseek in a pipe and this caused a problem with popen and
fgets on the platforms where the buffer fix was applied (Solaris, FreeBSD).
Now the fseek is done only when the handle is of type fopen.
2001-04-15 18:42:50 +00:00
Rui Hirokawa
053994b5eb deleted warning output in dbx/pgsql. 2001-04-14 10:32:14 +00:00
Thies C. Arntzen
c42f260145 enable temporary LOBs when we detect oracle 8.1
enabled by default in Win32 project!
2001-04-14 09:51:29 +00:00
Thies C. Arntzen
8ac2502dfe @- Added temporary LOB support in OCI8 (Patch by David Benson) 2001-04-14 08:38:46 +00:00
Thies C. Arntzen
14d800f7d9 the collections stuff s worth mentioning in the credits! 2001-04-14 08:06:40 +00:00
Wez Furlong
e030eb8238 When using freetype2, turn off libttf and turn on native gd ttf. 2001-04-14 00:15:26 +00:00
Thies C. Arntzen
9a42a31ba4 @- Fixed crash in pathinfo() 2001-04-13 18:22:13 +00:00
Thies C. Arntzen
b9216bcc1b @ - OCI8 now supports binding of collections
@   (Patch by Andy Sautins <asautins@veripost.net>)
2001-04-13 14:43:39 +00:00
Wez Furlong
e9731903d1 Added GD 2.0.1 support. 2001-04-13 12:00:12 +00:00
Thies C. Arntzen
cb88701315 never initialize oci in OCI_THREADED mode. seems to break win32. 2001-04-11 15:46:03 +00:00
Marc Boeren
4532eebc4a Added a database member to the dbx_link object. Since e.g. mysql reuses
connections, two or more dbx_link objects may share the connection
identifier. The database name is used in the dbx_query, where it calls
mysql_db_query instead of mysql_query.
This means the database name has to be passed around to all dbx_xxx_query
functions, hence the update on all the files. (Mc)
# Thanks to Christian Rabe for all the input on this issue!
2001-04-11 08:14:57 +00:00
Frank M. Kromann
6df886acfe Fixing database password to actually work 2001-04-10 18:44:51 +00:00
Jon Parise
6aabc2c9d4 Statements end with a period. 2001-04-10 17:31:35 +00:00
Kevin
3cd2c989d3 Fixed compatibility issues in the ODBC extension for the Velocis Database server. Specifically, config.m4 was changed to use the client libraries instead of the serer libraries, and to look for the libs in the $RDSHOME/lin directory ass opposed to the $RDSHOME/bin directory. Makefile.in was changed to use the php_odbc.c file as the source for Velocis support. Other misc changes include a few #defines for some undefined data types and some #ifdefs for unsupported functions. 2001-04-10 16:26:28 +00:00
Jason Greene
86c2eaf741 Fix for PR #9729, 9664, 9656, 8667.
All compilers on Solaris should build this extension correctly now.
It turns out the SUN CC, by default, enables a define that enables the use of
#pragma redefine extname in sun header files. This is why cc would work,
and gcc wouldn't.

-Jason
2001-04-10 03:16:05 +00:00
Derick Rethans
a379669ab6 - Removed debug thing 2001-04-10 00:09:17 +00:00
Derick Rethans
61e1bf9286 - Fix for bug #8839
- MINFO updated to use smart_str's
2001-04-10 00:07:53 +00:00
Sean Bright
b936138fd3 Constand should be case sensitive.
# Thanks Sterling
2001-04-09 21:12:54 +00:00
Jon Parise
5464d29551 Fix whitespace (use tabs). 2001-04-09 21:08:47 +00:00
Sean Bright
ec6f1887f8 Stop SIGSEGV on Apache startup. Patch from <adam@indexdata.dk> 2001-04-09 20:56:49 +00:00
foobar
d85be2956c Fix bug #10212. 2001-04-09 15:46:24 +00:00
Rasmus Lerdorf
334cba47b9 printf argnum (parameter swapping) support from Morten Poulsen 2001-04-09 15:44:24 +00:00
Marc Boeren
066547a220 Added optional 'comparison_type' parameter to compare functions, to force
either text or number comparison. (Mc)
2001-04-09 11:53:39 +00:00
Uwe Steinmann
7ee542a524 - added domxml_version() to retrieve version of libxml 2001-04-09 11:53:06 +00:00
Stig Bakken
368c6bf003 @Add DIRECTORY_SEPARATOR constant ('/' on UNIX, '\' on Windows) (Stig) 2001-04-08 21:57:13 +00:00
Jon Parise
99b5477b90 Use tabs instead of spaces. 2001-04-08 01:13:07 +00:00
foobar
176f5847be ws pollution removed. 2001-04-07 21:46:43 +00:00
Jon Parise
db2cfde087 Fix compilation (strict compilers require constant initializers). 2001-04-07 18:22:29 +00:00
André Langhorst
9762f64222 fix proto 2001-04-07 15:43:06 +00:00
foobar
393189fccd fixed protos 2001-04-07 02:48:19 +00:00
foobar
802a3ab829 Fixed some bugs. 2001-04-06 23:17:31 +00:00
foobar
84e5576f97 Killed some compile warnings. 2001-04-06 18:01:52 +00:00
Sean Bright
a1ba58a46c Fixed possible overflow again.
# Heh...
2001-04-06 17:48:34 +00:00
Jon Parise
8540c6923d Make this message more grammatically correct. 2001-04-06 16:04:25 +00:00
Sean Bright
10eaf14db9 Fixed possible overflow. 2001-04-06 14:42:06 +00:00
foobar
62c517d124 spaces to tabs 2001-04-05 18:48:03 +00:00