Romolo Manfredini
7a102a4669
Solved bugs #9746 and #9937 , pg_close was closing twice the default conn.
2001-03-24 18:36:43 +00:00
Sascha Schumann
fa068b5297
Fix ZTS build
2001-03-24 01:08:13 +00:00
Marc Boeren
1a842c4ae6
Fixed compile errors for PostgreSQL support (Mc)
...
Removed globals that Rui put in, and changed the dbx_get_row
to include a row_number (which PostgreSQL expects) (Mc)
Added source files to Makefile.in and dbx.dsp (Mc)
#Could someone please check if the PostgreSQL support works?
#And please, check your work _before_ you commit anything!
2001-03-23 14:50:17 +00:00
Rui Hirokawa
cd1debc81c
changed license of PostgreSQL module in ext/dbx.
2001-03-23 13:40:12 +00:00
Rui Hirokawa
6ee15704e8
added initial support for PostgreSQL to ext/dbx.
2001-03-23 11:50:04 +00:00
Marc Boeren
10bb608e4e
Changed header for source files, now point to PHP license (Mc)
...
Found another // comment and replaced with /**/ (Mc)
Removed proprietary license (in favor of php license) (Mc)
Added .cvsignore file, I hope it works correctly (Mc)
2001-03-23 10:23:58 +00:00
Romolo Manfredini
01ac20050e
Added target ownership check in function copy for safe_mode operations
2001-03-23 09:30:51 +00:00
Stephen van Egmond
7f48c7adf5
Simple patch to deal with lack of fields in the BeOS implementation of rusage.
2001-03-23 04:36:29 +00:00
Frank M. Kromann
d7491166c5
Removing extra check for warnings.
2001-03-23 00:58:59 +00:00
Frank M. Kromann
8bea574877
Adding warning when query fails
2001-03-22 21:16:23 +00:00
Marc Boeren
49bc33395b
Changed C++ style comments to C-style comments (Marc)
...
#I hope I got 'em all
@Changed C++ style comments to C-style comments (Marc)
2001-03-22 15:14:34 +00:00
Sean Bright
90f3e09f08
Fixed prototype.
2001-03-22 14:43:48 +00:00
foobar
f6e4cbd434
Fix bugs: #9920 , #9190
2001-03-22 13:16:58 +00:00
Marc Boeren
0f9503c923
no comment :)
2001-03-22 12:26:21 +00:00
Marc Boeren
ce79b44c27
Added dbx module (database abstraction) to the repositorty (/ext/dbx).
...
Compiles under Linux (--enable-dbx) and Windows.
Supports MySQL and ODBC modules (more to be added later).
@ Added dbx module (database abstraction) to the repository. (Marc)
2001-03-22 11:07:04 +00:00
Uwe Steinmann
dbc4d4b457
- fixed some bugs with xpath
2001-03-22 06:58:13 +00:00
Frank M. Kromann
eea4386582
setting right params to zend_get_parameters_ex
2001-03-21 21:53:45 +00:00
Rainer Schaaf
9444df9e0b
Beta2 of PDFlib V4.0 will introduce on new function (PDF_place_pdi_page)
...
and PDF_close_pdi_page will lose one parameter.
These changes are done for the phpwrapper now.
This has no impact on PDFlib V3.x.
2001-03-21 20:55:35 +00:00
Andi Gutmans
022ece7814
- Fix spelling error
2001-03-21 20:07:19 +00:00
Frank M. Kromann
983bfff7de
changed arg types from pval* to zval**
2001-03-21 19:56:33 +00:00
Ben Mansell
6d7ce5ffa0
UnixWare 7.1 does not have EX_TEMPFAIL or (as far as I can tell)
...
a concept of a temporary failure response to pclose().
2001-03-21 15:15:31 +00:00
Sean Bright
e249545165
Fix for bug #9698 .
...
# Anyone that can think of a way to fix long2ip(), feel free.
2001-03-21 13:53:38 +00:00
Uwe Steinmann
b70952bb50
- fulltext query are working now
2001-03-21 07:58:21 +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
Harald Radi
256d799809
@Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls
...
@and even COM calls much faster.
@All ini settings are now prefixed by 'com.'.
@Now you need not provide a path to the file containing the typelib, you can
@also provide the GUID of the TypeLib - entry or an IID for preloading
@type - information. (phanto)
memory leak was reportet, i'm not sure that it is fixed by now, but it should be.
2001-03-20 22:35:30 +00:00
Sterling Hughes
ad8fd43e10
remove some unneccessary casts, remove unneccessary error casts, standardize
...
the coding format for some of the stuff.
2001-03-20 21:30:42 +00:00
Fredrik Öhrn
3c5ed324dd
Fix erronous out of bounds error message in rand(min,max)
2001-03-20 20:48:42 +00:00
Frank M. Kromann
80c4511012
Fixing crash when result conrains 0 rows
2001-03-20 20:25:55 +00:00
Fredrik Öhrn
88a6a97a86
really fix the build
2001-03-20 20:04:42 +00:00
Frank M. Kromann
3cbe879b89
Converting to c-style comments.
...
Adding prototypes to all exported function
2001-03-20 19:21:45 +00:00
Thies C. Arntzen
deae9549c8
make qtdom compile on Mandrake-cooker
2001-03-20 19:19:31 +00:00
Daniel Beulshausen
00b8f898e7
fix dsp
2001-03-20 17:45:10 +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
Sascha Schumann
a2ff136c8e
fix build
2001-03-20 12:50:27 +00:00
Sterling Hughes
9b4c5db8ae
Remove some unnecessary error checking
2001-03-20 01:46:41 +00:00
foobar
de3f405997
Removed skipif.php + Fixed tests to use skipif.inc instead.
2001-03-20 01:22:07 +00:00
foobar
4f18fcb863
Removed unnessary file.
2001-03-20 01:06:25 +00:00
Andrei Zmievski
d9aa966a44
@- Added array_map() function that applies a callback to the elements
...
@ of given arrays and returns the result. It can also be used with a
@ null callback to transpose arrays. (Andrei)
2001-03-19 21:20:02 +00:00
Fredrik Öhrn
98b5ca057b
Removed redundant initialization.
2001-03-19 17:01:36 +00:00
Fredrik Öhrn
87138d68cd
Much needed cleanup and new functions added
...
-------------------------------------------
Cleaned up stringhandling for binary safeness.
All functions now maintain a global 'errno' variable.
All functions now print warning messages on failure.
Added error code constants.
Fixed bug #8041 while maintaining backward compatibility.
New functions:
yp_all traverse a map
yp_cat retrive an entire map in one go
yp_errno get last error code
yp_err_string get a human readable error message
2001-03-18 22:16:47 +00:00
Fredrik Öhrn
00d81acc4f
Solved compile failure due to clash bewteen IMAP and ClibPDF headers.
2001-03-18 18:32:58 +00:00
foobar
4759855606
Prevent mem leak
2001-03-18 09:25:40 +00:00
foobar
4f00125b7a
Fix the fix. Plus killed some compile warnings.
2001-03-18 05:52:40 +00:00
Zeev Suraski
fbbf5c0faa
Fix reference to nuked function
2001-03-18 02:35:10 +00:00
Stephen van Egmond
3b8140e47c
fixed a (C++) warning about implicit conversion from void*
2001-03-17 20:35:38 +00:00
Zeev Suraski
34b2fc4a6c
Fix the output buffering bug Andre found
2001-03-17 03:03:50 +00:00
Andrei Zmievski
770c66125d
@- Added array_filter(), which allows filtering of array elements via
...
@ the specified callback. (Andrei)
2001-03-16 20:46:33 +00:00
Andrei Zmievski
f7f2cf9de5
All user callbacks should be to EG(function_table).
2001-03-16 19:51:08 +00:00
Frank M. Kromann
6195f14633
Fixing build on Win32 by adding missing BLS_FETCH();
2001-03-16 19:48:40 +00:00
Andrei Zmievski
561cc74389
@- Fixed all relevant array functions to avoid moving the internal array
...
@ pointer during operations. (Andrei)
2001-03-16 19:29:23 +00:00
foobar
88f41b4e91
This has got to be the last one..
2001-03-16 18:18:01 +00:00
Uwe Steinmann
5dcf391497
- Inserting links without any delimiters is now possible
2001-03-16 17:40:38 +00:00
Derick Rethans
9720ac01fc
- Fixed mem leak
2001-03-16 15:59:45 +00:00
foobar
8913a7350e
Missed this one.
2001-03-16 14:45:46 +00:00
foobar
21d158229b
Make compile again when ZTS is enabled and imap-2000 is used. Bug #9762
2001-03-16 13:17:54 +00:00
Sascha Schumann
59eb57e42a
Don't do anything, if the user wants no PDF.
2001-03-16 12:23:31 +00:00
foobar
ab560941ee
This should fix problems in systems without libbind.
2001-03-16 07:13:06 +00:00
foobar
4567d57c61
Added a check for the one function missing in <= 0.1.0 versions of ming lib.
2001-03-16 02:06:34 +00:00
Brian Bruns
bb5369fc62
sybase_affected_rows implementation submitted by John F. Dumas <jdumas@locutus.kingwoodcable.com>
2001-03-16 01:21:32 +00:00
foobar
847e0d996c
Killed a compile warning + made ming extension compile with the older ming libs.
2001-03-16 00:37:35 +00:00
foobar
7b6a385c95
Missing files.
2001-03-16 00:36:47 +00:00
foobar
e92ff40bc7
Beutify + fix some errors in finding libs and header files.
2001-03-16 00:36:31 +00:00
Daniel Beulshausen
0688feeba4
fix win32 build
2001-03-15 20:45:49 +00:00
Jon Parise
01008bb03c
Whitespace (spaces to four-column tabs)
2001-03-15 05:07:31 +00:00
James Moore
2e22b01cf1
Adding webteam to credits.
2001-03-14 21:28:58 +00:00
foobar
3f64aa6a94
Forgot this one..
2001-03-14 13:43:58 +00:00
foobar
f35cb7d89b
Missing.
2001-03-14 13:42:33 +00:00
Sascha Schumann
a4ec164698
Fix ZTS build
2001-03-14 13:38:03 +00:00
Uwe Steinmann
46eb8d8def
-fixed prototype and indention
2001-03-14 06:33:46 +00:00
Zeev Suraski
8b5a768640
Make get_browser() read its information from $HTTP_SERVER_VARS[] if available
2001-03-13 23:20:23 +00:00
Zeev Suraski
e6f3fb39cb
Implement mysql_unbuffered_query() - uses mysql_use_result() instead of
...
mysql_store_result()
2001-03-13 22:52:53 +00:00
foobar
256537a7cf
cleanup.
2001-03-13 22:50:02 +00:00
Jason Greene
ba553edc06
fix broken m4, you should have all checking code withing your withval test
...
-Jason
2001-03-13 22:44:49 +00:00
foobar
c45884c5fb
Extension was enabled by default..
2001-03-13 22:33:53 +00:00
Zeev Suraski
fdf21452ed
Centralize query code
2001-03-13 21:42:43 +00:00
Zeev Suraski
f5ddc2826d
Use a container struct instead of MYSQL directly
2001-03-13 21:13:19 +00:00
Frank M. Kromann
d5e1266dc5
Initial check-in of FrontBase extension
2001-03-13 20:58:47 +00:00
Sascha Schumann
667a1f1fdb
buf is gone. Don't reference it.
2001-03-13 17:11:43 +00:00
Adam Dickmeiss
91554d8b9c
Added yaz_database. Option bit ExtendedServices set for InitRequest.
2001-03-13 17:04:06 +00:00
Sascha Schumann
2b6698aaa9
Replace another sprintf
2001-03-13 16:58:36 +00:00
Sascha Schumann
86cf74a169
Nuke calls to sprintf, snprintf, strcat, strcpy and rely on
...
memcpy and smart_strs.
2001-03-13 16:53:34 +00:00
Frank M. Kromann
f49d04fb12
Fixing compiler warning on win32
2001-03-13 16:39:47 +00:00
Frank M. Kromann
0981778351
Changed email
2001-03-13 16:33:39 +00:00
Andrei Zmievski
285ec0ca2c
@- IMPORTANT: removed /F modifier handling from preg_replace(). Instead
...
@ one should use new preg_replace_callback() function. (Andrei)
2001-03-13 05:24:03 +00:00
Dave Hayden
f2427f42fa
changed scalar args and returns to doubles, added Ming_setScale function,
...
added SWFTEXTFIELD_HTML flag, fixed SWFTextField_setIndentation glitch
2001-03-13 01:57:43 +00:00
Sean Bright
48caa74c20
Fixed prototype.
2001-03-12 15:14:38 +00:00
Alexander Feldman
1791658112
A small fix to make the function imageloadfont portable.
2001-03-12 13:57:53 +00:00
Stanislav Malyshev
0fa068e1fa
Prevent memory leak
2001-03-12 10:14:00 +00:00
Stanislav Malyshev
be83ba17da
Use hash position with array_flip
2001-03-12 08:07:00 +00:00
Andrei Zmievski
40dd7eef96
This will have to do until the docs come along.
2001-03-12 03:10:15 +00:00
Andrei Zmievski
d73ef12429
@- Added array_reduce(), which allows iterative reduction of an array
...
@ to a single value via a callback function. (Andrei)
- Added array_reduce(), which allows iterative reduction of an array
to a single value via a callback function.
- Fixed usage of zend_is_callable() in PCRE.
2001-03-12 03:06:53 +00:00
foobar
12503baa55
Cleaning this a little bit.
2001-03-12 02:06:06 +00:00
foobar
48545dd7b9
ws fixes. Plus removed unnecessary AC_MSG_ calls.
2001-03-12 01:20:16 +00:00
foobar
5b4d6e7db3
ws fix.
2001-03-12 00:46:26 +00:00
Alexander Feldman
397c76d787
Fixed a compatibility problem is some file functions (fgets, fputs, fread,
...
fwrite). The ANSI standard says that if a file is opened in read/write
mode, fseek() should be called before switching from reading to writing
and vice versa.
2001-03-11 10:08:27 +00:00
foobar
ba12d0b4b1
Added missing alias. PR: #9550
2001-03-11 04:13:53 +00:00
foobar
6795032cb8
HAVE_BINDLIB --> HAVE_LIBBIND
2001-03-11 03:49:21 +00:00
foobar
499b63a354
If AC_CHECK_LIB fails, assume that --with-openssl is needed
2001-03-11 00:49:16 +00:00
foobar
3db6f55748
This should fix the problems with not including -lz.
2001-03-10 17:33:33 +00:00
Rui Hirokawa
0e9581bddb
just reversed a previous patch.
2001-03-10 02:21:39 +00:00
Rui Hirokawa
f3c9c8dd07
initialized some strings in global variable structure.
2001-03-10 02:03:26 +00:00
Frank M. Kromann
f98710c870
Adding a new function odbc_next_result() allowing the query to return more than one result.
...
This can be done with a stored procedure or by sending more than one select to the server.
2001-03-09 23:44:55 +00:00
Frank M. Kromann
4230bdd3ed
Adding a new function mssql_next_result() allowing the query to return more than one result.
...
This can be done with a stored procedure or by sending more than one select to the server.
2001-03-09 23:37:56 +00:00
Andrei Zmievski
8d677828b9
@- Fixed argument checking for call_user_func* functions and allowed
...
@ specifying array($obj, 'method') syntax for call_user_func_array. (Andrei)
2001-03-09 21:42:26 +00:00
Stanislav Malyshev
e30d8e4abf
Better use buffer_to_buffer, since zval is really buffer, not string (it can
...
contain \0's and not end in \0).
# and recode_string is recode_buffer_to_buffer internally anyways
2001-03-08 17:11:57 +00:00
Daniel Beulshausen
177f9bd1f5
add missing globals fetches
2001-03-07 17:23:30 +00:00
Zeev Suraski
0b65578ec7
Implement internal output compression?\0020:wq
2001-03-06 20:43:54 +00:00
Zeev Suraski
9a04f870ab
Fix freeing of buffers
2001-03-06 19:38:33 +00:00
Zeev Suraski
93e9e7521a
Fixes to internal output buffering
2001-03-06 18:29:00 +00:00
Zeev Suraski
0ece429a16
More internal output buffering fixes
2001-03-06 16:28:51 +00:00
Zeev Suraski
20d2432c86
Fix internal output buffering
2001-03-06 16:25:14 +00:00
Zeev Suraski
13a97fefeb
Initial work on internal output handlers - should be much quicker
2001-03-06 15:54:49 +00:00
Sean Bright
5d3939ac39
Typo.
...
# I don't know where I got 4.02 from
2001-03-06 04:42:04 +00:00
Sean Bright
64ad839328
get_meta_tags now allows attributes that are not quoted as well as those
...
that are. It follows the HTML 4.01 specification for attribute values
outlined here -> http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2
2001-03-06 04:34:05 +00:00
Rainer Schaaf
929551891e
fixed bug in PDF_getbuffer (happend only on Windows)
...
When using PDFlib V4.0 the pdf_set(grey/rgbcolor) functions are replaced
by the PDFlib V4.0 function pdf_setcolor
2001-03-05 16:18:51 +00:00
Sean Bright
dca3c8753f
get_meta_tags now handles single quoted attributes as well as those that
...
are double quoted.
2001-03-05 00:20:41 +00:00
Zeev Suraski
1b38207410
I don't know German, but I imagine that was the problem :)
2001-03-04 22:03:23 +00:00
Zeev Suraski
1000a86e5f
Fix phpinfo() bug that crept in
2001-03-04 15:49:38 +00:00
Zeev Suraski
a22ada795f
Improve memory consumption on chunked output buffering
2001-03-04 15:46:13 +00:00
Zeev Suraski
39724f6e4a
Implemented chunked output buffering support - it's quite cool!
2001-03-04 15:12:38 +00:00
Frank M. Kromann
f6f67ffd62
Changed code layout to remove PHP warning when running php as a CGI.
2001-03-04 02:41:27 +00:00
Zeev Suraski
c64fe7fbe1
Fix non-thread safe mode
2001-03-04 01:45:19 +00:00
Zeev Suraski
0117c7848e
this function will never return true...
2001-03-04 01:17:21 +00:00
Zeev Suraski
0a98aa6ada
Improve chunked output buffering - the output handler now knows at which stage it is
2001-03-04 01:09:36 +00:00
Sylvain PAGES
a5c676e91f
- modified line 161 to be xml compliant
2001-03-03 07:58:31 +00:00
Sterling Hughes
d1fdea8373
add a warn not available for curl_getinfo().
...
remove unneccessary error checking.
2001-03-03 01:06:55 +00:00
Andrei Zmievski
80cdb812c1
@- Forced call_user_method() and call_user_method_array() to take the
...
@ object argument by reference. (Andrei)
* Forced call_user_method() and call_user_method_array() to take the
object argument by reference.
* Also cleaned up the protos for those functions and brought
call_user_method_array() into functional equivalence with
call_user_method().
2001-03-02 20:22:14 +00:00
Zeev Suraski
9f5b255b3f
Add CyberMut extension from Sylvain PAGES <spages@free.fr>
2001-03-02 14:36:29 +00:00
Sergey Kartashoff
f262b2a738
# TODO updates in mnoGoSearch module README
2001-03-02 12:14:31 +00:00
Sergey Kartashoff
5a8b126d21
# mnoGoSearch example fix
2001-03-02 11:43:27 +00:00
Sergey Kartashoff
8bc7344f0b
UDM_ISPELL_TYPE_SERVER parameter in udm_load_ispell_data has been added
...
to work with ispell server. This feature is available starting from
mnoGoSearch 3.1.12 or later. Fixed Udm_Free_Ispell_Data(). Example updated.
2001-03-02 11:41:35 +00:00
Thies C. Arntzen
1b7eaa76c4
@- Fixed binding of ROWIDs in OCI8. (Thies)
2001-03-02 09:12:55 +00:00
foobar
d3ce7f294c
ws fix
2001-03-02 00:15:49 +00:00
Rainer Schaaf
fa0085b495
- integrated new functions vor PDFlib V4.0 (beta1)
...
- all functions accepting strings now support binary strings, by calling
the appropriate PDF*2() functions.
2001-03-01 19:51:55 +00:00
Sergey Kartashoff
9a109425fe
UDM_PARAM_CROSS_WORDS mnoGoSearch extension session parameter has been
...
added to use crosswords available since version 3.1.11 of mnogosearch.
Example updated.
2001-03-01 14:51:12 +00:00
Sergey Kartashoff
474a59eacb
# mnoGoSearch example updated.
2001-03-01 14:18:07 +00:00
Sergey Kartashoff
cfe2412081
Udm_Api_Version function has been added.
...
Example updated.
2001-03-01 13:38:39 +00:00
Sergey Kartashoff
423fcaf2dc
Udm_Get_Doc_Count function from mnoGoSearch 3.1.11 has been added.
...
mnoGoSearch library version printing in phpinfo() has been added.
Example updated.
2001-03-01 13:26:26 +00:00
Sergey Kartashoff
035d2b3077
Added UdmFreeEnv call to mnoGoSearch link list destructor to
...
free memory allocated for environment.
2001-03-01 11:38:18 +00:00
Chuck Hagenbuch
e2f632e1f2
If php is compiled --with-imap-ssl, link in the SSL authenticator from
...
c-client so that we can use php to make ssl imap connections.
2001-03-01 07:06:54 +00:00
Dan Kalowsky
63ec8d7eaf
#adding name to credits. nothing to see here, keep moving.
...
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-02-28 01:02:48 +00:00
Andi Gutmans
01ed33d1b6
- Pointed out by Andrei. zval_ptr_dtor() should be used instead of the
...
zval_del_ref() function which should be nuked.
2001-02-27 20:16:35 +00:00
Zeev Suraski
b8787bf2d8
Fix chunked output buffering support
2001-02-27 00:09:14 +00:00
Sascha Schumann
95b3347d8b
Provide proper function aliases, if the sendmail functions
...
don't exist.
Submitted by: Nadir Amra <amra@us.ibm.com>
2001-02-26 20:26:07 +00:00
Andi Gutmans
a0d3c5a88e
- Finally rename modules.h to zend_modules.h for consistency (first try
...
was 2000-03-11).
- Remove the first_arg_force_ref[]; and friends extern from php.h as they
are included via zend_API.h
2001-02-26 18:14:50 +00:00
Dan Kalowsky
17444700d4
# Bad patch job on the last commit by me. I take the BAD_CODER award for
...
# the day.
Removes two unnecessary REGISTER_MAIN_LONG_CONSTANT's.
# what should be done about the PHP_MINFO_FUNCTION
2001-02-26 16:36:08 +00:00
Andi Gutmans
7fbdc83318
- Fix whitespace
2001-02-26 15:49:38 +00:00
Rui Hirokawa
f901783074
ob_iconv_handler changed to use for text data only.
2001-02-26 15:41:38 +00:00