Commit Graph

11554 Commits

Author SHA1 Message Date
Sara Golemon
e6fbb7baf5 http.h php_http,h rename 2003-09-06 14:52:10 +00:00
Marcus Boerger
a986b3f6a4 Add missing newline if no static methods are available 2003-09-06 13:18:12 +00:00
Marcus Boerger
10ea007e39 - Internal functions shall be static
- Fix more nesting
2003-09-06 13:11:27 +00:00
foobar
d00a14339c - Typos, CS, etc.
# Sara, add the missing description to the proto..
2003-09-06 13:07:47 +00:00
Marcus Boerger
35529e1964 Fix logic 2003-09-06 13:02:16 +00:00
foobar
ed32007f58 renamed http.h -> php_http.h 2003-09-06 12:56:02 +00:00
Marcus Boerger
c31fc7771a - Fix CS: {{{ / }}}
- Fix static reflection_*::export()
- Add class reflection_object which allows to show dynamic properties
2003-09-06 12:52:40 +00:00
Marcus Boerger
f5b1114449 Use %s where it makes more sense 2003-09-06 10:59:07 +00:00
Sara Golemon
c0469ceb8d Fix Objects bug. (Objects != Arrays) 2003-09-06 07:34:58 +00:00
Sara Golemon
490e7fd6fd Fix segfault on uninitialized zval, skip NULL/Resource types, fix integer value handling, and process doubles/bools more efficiently. 2003-09-06 06:57:40 +00:00
Sara Golemon
3b63b21f37 Standard Footer 2003-09-06 05:41:48 +00:00
Sara Golemon
79ad5802a5 Prevent Recursion 2003-09-06 05:41:36 +00:00
Sara Golemon
0be65c49d3 Introducing php_url_encode_hash_ex() internal function
and http_build_query() userspace function.
2003-09-06 00:35:21 +00:00
Marcus Boerger
d9d082072c Omitting is also possible here 2003-09-05 20:09:19 +00:00
Marcus Boerger
f05525a0ef WS 2003-09-05 20:05:08 +00:00
Marcus Boerger
14ffad71d6 Fix warnings 2003-09-05 19:27:26 +00:00
Ard Biesheuvel
193f5a67db Add missing CVS Ids 2003-09-05 17:02:02 +00:00
Marcus Boerger
79a507e4eb Simplify reflection_property::__constructor() and fix property factory 2003-09-05 14:48:55 +00:00
foobar
821f517f63 - Simple test for ming 2003-09-05 14:46:38 +00:00
Marcus Boerger
9a39cd5501 - Don't use resorved words as variable names.
- Improve several exception messages.
- Fix Reflection_Property::_construct() / getDeclaringClass()
# The above does not imply that properties are fixed when returned
# by other reflection api methods.
2003-09-05 14:35:31 +00:00
Ard Biesheuvel
2815169319 Be more relaxed about dimensions of array arguments 2003-09-05 14:21:25 +00:00
Ard Biesheuvel
c9d082ef21 Test array handling 2003-09-05 13:08:41 +00:00
Ard Biesheuvel
2802293dd3 Make the test fail if anything goes wrong :-)
Some CS
2003-09-05 12:18:03 +00:00
Marcus Boerger
34990374e1 Fix reflection_api::__construct() (noticed by Andrey) 2003-09-05 12:14:03 +00:00
Marc Boeren
e3929cc33a Added DBX_RESULT_UNBUFFERED flag for dbx_query.
Added dbx_fetch_row() function.
Added/updated tests for both.
@Added DBX_RESULT_UNBUFFERED flag for dbx_query. (Marc)
@Added dbx_fetch_row() function. (Marc)
2003-09-05 08:39:26 +00:00
Ard Biesheuvel
e73be1cb4a Added support for binding arrays 2003-09-04 22:37:14 +00:00
Marcus Boerger
95649ab260 Tests show updating consts must happen once at runtime (revert optimization).
Add tests for static properties.
2003-09-04 16:00:01 +00:00
Marcus Boerger
4e7a782f3a Add reflection_class::getstaticproerties() 2003-09-04 15:57:25 +00:00
Marcus Boerger
421e2e9275 Go with the mess 2003-09-04 14:54:53 +00:00
Marcus Boerger
0f91d8a4f6 Go with stdlyCaps 2003-09-04 14:44:55 +00:00
Ard Biesheuvel
f4511d4aae Don't rely on sizeof(int) == 4 2003-09-04 14:44:34 +00:00
Ard Biesheuvel
cb8da7b090 Fix inter-op with IB < 6
Fixes for 64-bit archs
2003-09-04 14:18:39 +00:00
Ard Biesheuvel
6f998688b5 Fixed fetching of arrays
# Untested for multidimensional arrays
2003-09-04 11:09:46 +00:00
Jon Parise
da7facc21b Register the TYPEMODEL constant from c-client's mail.h. 2003-09-04 07:47:58 +00:00
Ard Biesheuvel
912a834749 No scaling for double type
Added missing array types
Precompute scale factors
2003-09-04 01:26:36 +00:00
Sebastian Bergmann
afdecc374d ZTS fix. 2003-09-03 18:13:11 +00:00
Ard Biesheuvel
4ff5341fb0 WS 2003-09-03 17:15:40 +00:00
foobar
af06d049cf test for bug #25378 2003-09-03 16:40:52 +00:00
foobar
7d57f9eddf sync 2003-09-03 16:24:24 +00:00
foobar
ba6c58ad73 - Fixed bug #25378 (Invalid data passed to unserialize() causes segfault) 2003-09-03 16:24:15 +00:00
Ard Biesheuvel
804312c4a1 Test correct binding of 16-bit NUMERIC parameters 2003-09-03 15:24:50 +00:00
Ard Biesheuvel
b3b68834b5 Fix binding of 16-bit NUMERIC parameters 2003-09-03 15:15:30 +00:00
foobar
acd8096d53 - Fixed bug #25372 (sscanf() does not work with %X) 2003-09-03 11:54:35 +00:00
Rob Richards
fd5758781c changes to php_dom.h for last commit
replaced removed closing tags - doh
2003-09-03 10:48:02 +00:00
Rob Richards
5630dd0be2 add document HTML load/save methods
add document standalone validate method
cleanup some prototype declarations
domexception inherits from default exception
2003-09-03 10:11:53 +00:00
Marcus Boerger
2f6e25da79 Clearly distinguish between Const, Static and Other members.
# Const and static props have more in common then static and dynamic/implicit.
2003-09-03 00:38:13 +00:00
Ard Biesheuvel
d674159601 Nuke far pointers
# Unfortunately, this does break compatibility with Windows 3.x :-)
2003-09-02 22:37:26 +00:00
Ard Biesheuvel
f19dcfe8a3 CS fixes
# Boy, these guys are worse than -ansi -pedantic
2003-09-02 22:19:18 +00:00
Ard Biesheuvel
4545ea4666 Make ibase_{param|field}_info() return typenames that actually mean something 2003-09-02 19:30:20 +00:00
Marcus Boerger
560d3ab36a Use appropriate function for property name unmangling.
# Make Andrey happy
2003-09-02 14:46:02 +00:00
Marcus Boerger
7148cb9e73 Make these static as noticed by Andrey 2003-09-02 14:11:53 +00:00
Ard Biesheuvel
3d6426ee14 Fix use of EXTERN_C macros 2003-09-02 13:34:23 +00:00
Ard Biesheuvel
0f1b506f20 Can't ignore variadic DEBUG macro for compilers
that don't support them. Revert.
2003-09-02 13:17:56 +00:00
Marcus Boerger
bd86aff005 These are implicit properties as denoted by the flag. Dynamic properties only
exist in one single object and currently reflection api is not capable of
showing those.
2003-09-02 13:12:47 +00:00
Ard Biesheuvel
dbdd5b415d Changed some formatting/macro/debugging/variadic stuff 2003-09-02 12:46:42 +00:00
foobar
62d2810cfc - Fixed bug #25343 (is_dir() gives warning on FreeBSD). 2003-09-02 01:22:02 +00:00
Sara Golemon
29664d9322 MFB: Plug leak when invalid domain name provided. 2003-09-01 22:38:40 +00:00
Marcus Boerger
bca0019d43 Fix initial buffer size 2003-09-01 21:14:09 +00:00
Marcus Boerger
2b19c5435e Fix class handling of invoke 2003-09-01 21:11:38 +00:00
Marcus Boerger
bef3e13caf Add missing '}' 2003-09-01 19:47:34 +00:00
Marcus Boerger
cbd08869f2 Add static reflector::export() and its implementations.
#
# This makes the main reflection use a lot easier.
#
2003-09-01 16:13:24 +00:00
Marcus Boerger
a389286b99 Set the params in the struct 2003-09-01 15:09:57 +00:00
Stanislav Malyshev
90f7a474ac The sendmail_path executable check breaks setups that use parameters
for sendmail - including the default setup - so I'm disabling it for now.
2003-09-01 08:20:17 +00:00
Ilia Alshanetsky
07f864d06b Make sure that ftp->data is nulled after it's freed. This may fix bug
#25294 & bug #25296.
2003-08-31 21:07:01 +00:00
Ilia Alshanetsky
9c82b1fa75 Fixed compiler warnings. 2003-08-31 20:45:51 +00:00
foobar
c952ea0bb3 - Fix win32 debug build 2003-08-31 16:28:19 +00:00
foobar
46e47ec0db - Fix the win32 build.
# mbregex is still not build, that onigurama stuff didn't compile
2003-08-31 16:08:46 +00:00
Marcus Boerger
4506d4ea24 Don't repeat first const count(consts) time 2003-08-31 15:47:48 +00:00
Marcus Boerger
660c14e74a Beautify output 2003-08-31 15:30:13 +00:00
Marcus Boerger
4af0621036 Add reflection_parameters, patch by Timm Friebe 2003-08-31 15:06:54 +00:00
Marcus Boerger
47d1e8ac77 Fix formatting specifier 2003-08-31 14:38:25 +00:00
Marcus Boerger
733e90bf0a No dots at the end of error messages 2003-08-31 14:35:10 +00:00
Marcus Boerger
2a744ccb90 Fix format specifiers 2003-08-31 14:33:17 +00:00
Zeev Suraski
8767205afa Fix Win32 linkage problems 2003-08-31 12:41:53 +00:00
Marcus Boerger
8376b7eff7 Check whether we may access tat union 2003-08-31 11:21:30 +00:00
Marcus Boerger
63dacec1d4 Revert commit by accident, sorry 2003-08-31 11:03:05 +00:00
Marcus Boerger
d15ad4609d Revisited: Replace the non portable code by spprintf 2003-08-31 10:52:23 +00:00
Marcus Boerger
ade319ac54 Using zend_spprintf should be faster here 2003-08-31 10:06:13 +00:00
Sergey Kartashoff
c4b0b8c262 - a new UDM_PARAM_SEARCH_RESULTS mnogosearch API command added to limit
maximum number of search results
2003-08-31 07:00:29 +00:00
Marcus Boerger
f1c92fa4c5 - Calling abstract methods should be a error for consistency reason.
- So in reflection_api we use the reflection_exception again.
2003-08-30 23:51:42 +00:00
foobar
c803e4643d No need to enable by default. Derick got confused. :) 2003-08-30 22:09:27 +00:00
foobar
4d788fc1e2 libmbfl is required always 2003-08-30 21:57:29 +00:00
foobar
c57ecb0e9a ws 2003-08-30 21:32:10 +00:00
Marcus Boerger
6c69b28790 fci.function_table & fci.function_name are not needed since we use zend_fcall_info_cache 2003-08-30 13:47:27 +00:00
Marcus Boerger
e679504861 Be precise 2003-08-30 13:38:23 +00:00
Marcus Boerger
49a538d054 Actually using fcc would be a good idea 2003-08-30 12:58:35 +00:00
foobar
49ff8e7866 Add note about version requirement 2003-08-30 11:01:25 +00:00
foobar
97b151ee3e Added version checking and --with-openssl-dir option 2003-08-30 10:57:42 +00:00
Sascha Schumann
e090d2ddb9 Never overwrite .c files when re2c does not exist. 2003-08-30 07:27:05 +00:00
Marcus Boerger
c3f7ea3510 Fix property inheritance by using dedicated new function 2003-08-29 23:30:03 +00:00
Marcus Boerger
50040c8ae9 - Use zend_fcall_info_cache in invoke() to improve speed.
# This also fixes the problem with calling static methods.
2003-08-29 21:46:12 +00:00
Marcus Boerger
0cb983885d Throw exception if user wants to pass arguments to an non existing constructor 2003-08-29 21:33:24 +00:00
Marcus Boerger
adaf6429a7 Throw exception if user wants to pass arguments to an non existing constructor 2003-08-29 21:32:25 +00:00
Marcus Boerger
eb8d89c363 Allow to pass arguments to the constructor 2003-08-29 21:13:50 +00:00
Sergey Kartashoff
1795915b32 - A mnogosearch extension is updated to work with mnogosearch-3.2.15+ 2003-08-29 13:35:26 +00:00
Sascha Schumann
a3c89a2e8f Fix a segfault which occured when using a storage format not capable
of expressing references (e.g. WDDX) and deserializing a session variable
whose name conflicted with an existing symbol in the global scope.

PR: #25307
Submitted by: Jani Taskinen
Speling fixes: me
2003-08-29 12:33:47 +00:00
foobar
a256170d66 - skip with CLI 2003-08-29 09:09:18 +00:00
Sascha Schumann
5b09f342fe improve format string 2003-08-29 07:34:47 +00:00
foobar
192666b184 MFB 2003-08-29 00:53:46 +00:00
Marcus Boerger
b75133c0c6 Need to check if we got any value before destroying it 2003-08-28 23:36:46 +00:00