Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Dmitry Stogov
4a25a7740d
Fixed ZE specific compile warnings (Bug #55629 )
2011-09-13 13:29:35 +00:00
Pierre Joye
5d62cd1530
- add skipif
2011-09-05 13:52:24 +00:00
Pierre Joye
493808af3d
- add skipif
2011-09-05 13:52:24 +00:00
Pierre Joye
07fae45eb7
- add skipif
2011-09-05 13:41:01 +00:00
Pierre Joye
6b424c19ce
- add skipif
2011-09-05 13:41:01 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Felipe Pena
6150174941
- Fixed bug #52468 (wddx_deserialize corrupts integer field value when left empty)
2010-08-01 17:34:09 +00:00
Felipe Pena
88b087bedd
- Fixed bug #52468 (wddx_deserialize corrupts integer field value when left empty)
2010-08-01 17:34:09 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Felipe Pena
c353601a3f
- MFH: Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_vars())
2009-06-16 02:54:26 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Mark Karpeles
75b07963e3
- MFH: ext/wddx: classes providing __sleep() are stored without properties (fixed)
...
- ext/wddx: fixed wddx_add_vars() ignoring first var in php 5.3
2008-11-20 15:55:00 +00:00
Felipe Pena
8258b703c5
- MFH: Fixed memory leak in wddx_add_vars()
2008-11-20 14:48:41 +00:00
Mark Karpeles
995deb9aef
- MFH: #46496 , wddx_serialize treats input as ISO-8859-1 (Mark Karpeles)
2008-11-20 14:14:05 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Rob Richards
94fd10cd79
MFH: fix bug #45901 (wddx_serialize_value crash with SimpleXMLElement object)
...
add test
2008-09-11 14:17:31 +00:00
Felipe Pena
473019a9b5
- MFH: CS
2008-08-24 04:02:49 +00:00
Felipe Pena
55f7368408
- Fixed types
...
- Fixed protos
2008-07-01 11:26:10 +00:00
Antony Dovgal
2f2953760b
fix typo
2008-07-01 07:56:24 +00:00
Felipe Pena
2526420e34
- Added arginfo
2008-06-27 14:33:12 +00:00
Felipe Pena
f23acf749d
- New parameter parsing API
2008-06-20 19:57:25 +00:00
Dmitry Stogov
2ecf4bb0a7
Lazy EG(active_symbol_table) initialization
2008-04-29 08:15:20 +00:00
Derick Rethans
f81134a9f2
- MFH: Fixed tests on 64bit platform.
2008-02-25 22:32:59 +00:00
Ilia Alshanetsky
73d031a390
Optimize wddx boolean encoding
2008-01-20 15:33:24 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Antony Dovgal
05b536f251
one more fix
2007-10-07 08:33:38 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Ilia Alshanetsky
f3ad3a770e
Fixed test
2007-06-11 15:09:41 +00:00
Ilia Alshanetsky
b6762a8991
Fixed bug #41527 (WDDX deserialize numeric string array key).
2007-06-11 15:08:43 +00:00
Antony Dovgal
ffd09c0961
fix tests
2007-05-18 11:29:55 +00:00
Ilia Alshanetsky
c70105610a
Fixed bug #41283 (Bug with serializing array key that are doubles or
...
floats).
2007-05-05 15:14:56 +00:00
Martin Kraemer
9c62ddde34
Typo
2007-03-14 09:58:14 +00:00
Stanislav Malyshev
2ad036da3a
ik, make it memcpy
2007-03-04 04:38:43 +00:00
Stanislav Malyshev
b2673ab004
fix wrong code
...
# noticed by Stefan Esser
2007-03-04 02:23:47 +00:00
Ilia Alshanetsky
efad70c2cc
snprintf() -> slprintf()
2007-02-27 03:28:17 +00:00
Ilia Alshanetsky
9783f5f1f3
strncpy() -> strlcpy()
2007-02-24 18:00:56 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Antony Dovgal
84a827e0d4
MFH
2007-01-18 16:21:32 +00:00
Ilia Alshanetsky
96a8399e2f
Added key_length intialization for intergers
2007-01-09 15:20:45 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
a055e93a27
optimize out strlen() calls
...
# Patch by Matt Wilmas
2006-12-13 15:31:47 +00:00
Antony Dovgal
5f6145b0fd
fix ZTS build
2006-08-02 22:03:47 +00:00
Ilia Alshanetsky
4eecfca79c
Fixed bug #38213 , #37611 , #37571 (wddx encoding fails to handle certain
...
characters).
2006-08-02 15:44:33 +00:00
foobar
0bf6b23cb8
MFH: fix phpize build
2006-07-27 01:18:55 +00:00
Marcus Boerger
d0f2f6cd04
- MFH zend_unmangle_property_name(), drop zend_unmangle_property_name_ex()
2006-07-24 18:03:45 +00:00
Antony Dovgal
3aaf62d159
there is no Unicode in 5_2
2006-07-11 12:15:11 +00:00
Hannes Magnusson
aaa1d62614
MFH: fix/add SKIPIF
2006-06-27 00:09:43 +00:00
Ilia Alshanetsky
a400d8908d
Convert E_ERROR to E_RECOVERABLE_ERROR
2006-05-30 02:40:33 +00:00
Ilia Alshanetsky
b882f9f37e
Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters)
2006-05-25 22:54:16 +00:00
Marcus Boerger
ec79dd793d
- MFH Bugfix 37587
2006-05-25 09:59:25 +00:00
Ilia Alshanetsky
a1bbdf831c
Fixed bug #37162 (wddx does not build as a shared extension).
...
#Patch By: jdolecek at NetBSD dot org
2006-04-23 16:02:05 +00:00
Frank M. Kromann
329198a955
Add header so WDDX builds as shared
2006-01-28 06:15:25 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
d09ad216a0
MFH: prevent compile failure with --disable-all
2005-12-21 14:22:26 +00:00
Antony Dovgal
604990d6a5
fix test, add test for 64bit platform
2005-12-21 12:16:20 +00:00
Antony Dovgal
b7d5d7047b
fix test
2005-12-21 11:46:26 +00:00
Antony Dovgal
c92ae847c7
add missing skipif conditions
...
fix existing ones
2005-12-21 11:42:06 +00:00
foobar
3e669bc950
MFH: nuke php3 legacy
2005-12-06 02:28:41 +00:00
Ilia Alshanetsky
c60079862b
Fixed bug #35410 (wddx_deserialize() doesn't handle large ints as keys
...
properly).
2005-11-30 18:10:19 +00:00
Rob Richards
e1791bedd5
MFH: use sizeof instead of define
2005-10-06 18:48:19 +00:00
Derick Rethans
f42742f796
- MFH: Fixed Windows build (patch by Mike)
2005-10-06 13:03:43 +00:00
Rob Richards
93ffc14028
MFH: fix buffer lengths passed to snprintf
2005-10-05 22:36:10 +00:00
Antony Dovgal
4b9b5505f0
fix #34505 (possible memory corruption when unmangling properties with empty names)
...
2nd part
2005-09-16 17:11:02 +00:00
foobar
307ec8ece4
MFH:- Fixed bug #34306 (wddx_serialize_value() crashes with long array keys)
2005-08-31 14:31:44 +00:00
Ilia Alshanetsky
2a37a0c495
MFH: Fixed bug #34068 (Numeric string as array key not cast to integer in
...
wddx_deserialize()).
2005-08-10 22:45:31 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Derick Rethans
3cdc895213
- Added backward compability wrapper "php_parse_date()".
...
- Changed WDDX extension to use new date parsing code.
- Removed all remnants to the old parser.
#- I hope that I didn't break the .dsp's...
2005-06-19 22:15:27 +00:00
foobar
9b57f5ff36
- Fixed bug #33185 (--enable-session=shared does not build)
2005-05-30 15:14:12 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
Dmitry Stogov
37887f1bd0
Fixed SIGSEGV on serializing data with circular references
2005-04-11 11:58:19 +00:00
Dmitry Stogov
37eee73274
Support for encoding/decoding of private and protected members
2005-04-11 09:27:47 +00:00
Marcus Boerger
016a39195e
- Fix test
2005-03-12 01:52:48 +00:00
Marcus Boerger
f3a5d430fc
- Fix another memleak
2005-03-12 01:46:47 +00:00
Marcus Boerger
6c73805c45
- Fix memleak
2005-03-12 01:44:04 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Ilia Alshanetsky
690ca62dd3
Do not use alloca() where it can be abused through user input.
2004-06-30 01:12:06 +00:00
Moriyoshi Koizumi
7f5950ffb7
- Fix test: Any datetime value that exceeds the unix time range should
...
not be unserialized.
2004-04-04 18:07:36 +00:00
Hartmut Holzgraefe
cc0894b788
more visa to sibira ;)
2004-03-24 18:43:23 +00:00
Moriyoshi Koizumi
9a0e4fae4c
- Forgot to commit this one.
2004-03-07 00:03:50 +00:00
Moriyoshi Koizumi
91b39a6538
- Fix test, take 2
2004-03-06 23:11:25 +00:00
Moriyoshi Koizumi
bf1ed3de73
- Fix test.
2004-03-01 10:44:22 +00:00
Moriyoshi Koizumi
3d83a4db04
- Bugfix #27287 (wddx segfaults during deserialization)
2004-02-29 05:21:36 +00:00
foobar
abb9ac9d5f
Test for bug #27287
2004-02-18 00:00:36 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Wez Furlong
3b450ec431
Add dependencies for these extensions
2003-12-22 13:16:43 +00:00
Wez Furlong
05b9b20ed8
Add new (optional!) win32 build infrastructure.
...
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +00:00
Moriyoshi Koizumi
3929cf22d8
Fix compiler warnings
2003-10-20 15:41:53 +00:00
Marcus Boerger
bf759e9609
Don't test other functionality than wddx here.
2003-08-14 17:25:05 +00:00
Ilia Alshanetsky
93bcd55eaf
emalloc -> safe_emalloc
2003-08-12 00:58:52 +00:00
Ilia Alshanetsky
58c25fb24a
Added missing handling of dateTime
...
Fixed compiler warning involving streams
Added a test case for wddx_deserialize()
2003-06-28 06:55:47 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
foobar
5e0a3ed73b
Make this build with libxml too.
2003-05-19 23:45:20 +00:00
Marcus Boerger
4229a483cf
Really fix this
2003-05-18 23:20:10 +00:00
Wez Furlong
0ab6c816d9
Fix build
2003-05-18 23:05:38 +00:00
Marcus Boerger
be7b80dcba
TSRM fix
2003-05-17 11:44:57 +00:00
Andrei Zmievski
8781970a78
MFB.
...
@- Updated wddx_deserialize() to take an open stream as an argument. (Andrei)
2003-05-14 18:15:17 +00:00
Ilia Alshanetsky
e10f20924e
Removed unnecessary checks.
2003-01-24 22:58:46 +00:00
Ilia Alshanetsky
1ae3c0e66e
Removed pointless memory allocation checks.
...
Changed php_error to php_error_docref.
2003-01-18 19:53:35 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Andrei Zmievski
a38123e756
Revert the patch for now. We'll be branching on Saturday the way it's
...
implemented is a bit half-baked. We can always merge it into the branch
at a later point.
2002-10-03 18:30:27 +00:00
Jan Lehnardt
aadb0c910b
- Added wddx_serialize_type(). Allows users to cast values to WDDX types
...
@- Added wddx_serialize_type(). Allows users to cast values to WDDX types (jan)
2002-10-03 08:56:10 +00:00
Sebastian Bergmann
b5d4b5496d
Fix ZTS build.
2002-09-26 18:13:32 +00:00
Andrei Zmievski
8e71a98cc9
Fix DL entry point.
2002-07-17 19:27:36 +00:00
Andrei Zmievski
1668570e4d
Changing email address.
2002-05-13 17:28:38 +00:00
Sascha Schumann
5cba3a99c2
extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed
2002-03-12 16:44:00 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sebastian Bergmann
dd95705ceb
Make phpinfo() look nicer.
2002-02-24 07:54:04 +00:00
Andi Gutmans
284eaf34cc
- Add TSRMLS_FETCH()'s needed for the new object overloading in ZE2.
2002-02-05 20:43:49 +00:00
Andrei Zmievski
c330a4f9ce
Revert back to using <char> element for newlines.
2002-01-24 16:18:50 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
foobar
f1397d5339
Unified the configure messages.
2001-11-30 19:00:13 +00:00
Andrei Zmievski
a2f95abb6d
- Added support for parsing recordsets.
...
- Fixed a bug that sometimes would corrupt top-level element
if it was a scalar one.
2001-11-18 01:16:03 +00:00
foobar
4a99c5ee5c
Fixed bug: #13844
2001-10-27 06:26:02 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jeroen van Wolffelaar
6d9c04e823
Undo Z_ subst
2001-09-27 19:43:06 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Zeev Suraski
e140b35b04
API update
2001-08-21 12:57:53 +00:00
Andrei Zmievski
e0c3120a11
Uh-oh, didn't mean to eliminate all folds.
2001-08-14 20:38:56 +00:00
Andrei Zmievski
90cc710351
Be more safe about freeing zvals.
2001-08-14 20:33:19 +00:00
Thies C. Arntzen
a35df189b8
we can no longer register internal-classes once the script is started.
...
therefore the "incomplete class" is now registered at MINIT time.
2001-08-06 13:36:08 +00:00
Zeev Suraski
aa1772ca72
More TSRMLS_FETCH annihilation
2001-07-31 05:44:11 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
7b1c400631
More TSRMLS_FETCH annihilation (Zend compatibility patch)
2001-07-30 04:58:07 +00:00
Andi Gutmans
13d4670c84
- More object macros
2001-07-28 19:11:05 +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
Andrei Zmievski
44de304a5f
Modified to work with the new parameter parsing API as a demonstration.
2001-07-11 03:58:51 +00:00
Thies C. Arntzen
bd4f32cf12
- fixed the reference in session thingie
...
- regression test checked (this time;-)
- added new regression test for references
- references _between_ session variables also work in when the session var
replaces an already existing global var (this was a brain twister)
- saved one strlen call per session variable
- fixed one tiny leak
2001-06-21 18:46:26 +00:00
Sebastian Bergmann
d926e84e5f
Change copyright note.
2001-06-19 21:25:53 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Wez Furlong
952a62207a
Add extra parameter to php_escape_html_entities.
...
# I meant to commit this with the html.[ch] changes
2001-05-28 11:05:14 +00:00
Sascha Schumann
b18077179d
Default to including expat.h
2001-05-12 10:22:16 +00:00
Sascha Schumann
21eee58f6f
As the WDDX extension can now be built as shared extension
...
without functional loss with regard to the session serializer, it
is safe to default to disable. We enable XML automatically only,
if the user is building WDDX as a static extension.
2001-05-07 08:22:34 +00:00
Andrei Zmievski
ea56318495
Patch from Sascha that abstracts session serializers. WDDX extension
...
now implements the encode/decode functions and registers them with
the session module.
2001-05-01 17:01:51 +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
Andrei Zmievski
f52831bc84
Enabling WDDX by default.
2001-04-20 19:33:22 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Andrei Zmievski
26283a3bcc
Preserve API compatibility.
2001-02-06 04:15:50 +00:00
Andrei Zmievski
88fce00cc0
Don't use Z* macros for non-zvals.
2001-02-06 03:57:43 +00:00
Andrei Zmievski
74912b9afb
Cleaned up and optimized WDDX serialization - it's about twice
...
as fast now.
2001-02-06 03:54:15 +00:00
foobar
1fc035dfa5
If external expat is used, header file is expat.h
2001-01-11 16:19:20 +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
Zeev Suraski
be895bcb96
Fix call_user_function() with objects - it could leak under certain circumstances
2000-12-13 22:50:10 +00:00
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
2000-11-20 10:33:33 +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
Zeev Suraski
c45b1c2c8b
- Fix warnings
...
- Fix URL scanner startup crash
2000-09-19 17:37:34 +00:00
Andrei Zmievski
a6bb6f5df3
Create module info function.
2000-09-13 20:58:19 +00:00
Andrei Zmievski
09ac5ed748
Really fix the de-allocation.
2000-09-13 15:31:50 +00:00
Andrei Zmievski
84908add07
Fixed block overrun.
2000-09-13 13:55:35 +00:00
Sascha Schumann
5d02c74b6b
Add support for <binary> WDDX element.
2000-08-07 17:25:57 +00:00
Andrei Zmievski
057264d6ed
Fix attribution on NEWS.
2000-07-05 15:18:26 +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
Stanislav Malyshev
a6b31f04cd
Lowercase class name before checking for it
...
# I didn't really check it - have no WDDX
2000-06-29 14:50:23 +00:00
Zeev Suraski
89efa59e98
Fix Win32 compilation
2000-06-23 23:13:35 +00:00
Sascha Schumann
eadbbec532
Make use of incomplete class API
2000-06-23 17:00:47 +00:00
Sascha Schumann
9d640cc990
Revert earlier commit.
2000-06-21 18:35:54 +00:00
Thies C. Arntzen
bc8d0782dd
unserialize() and wddx_deserialize() now create an empty class if they enconter
...
a class which's code is yet unknown. this makes sessionized data retain the
class name of objects even if you visited pages that don't have the classes
code available.
2000-06-21 18:22:22 +00:00
Andrei Zmievski
ff3b0c84a3
Call __wakeup() after all the instance variables are initialized.
2000-06-19 14:04:57 +00:00
Zeev Suraski
da66298659
- Fix a couple of wranings in the FTP code and in parsedate.y
...
- Be safer with LC_MESSAGES
- Align with the latest Zend change in call_user_function_ex()
2000-06-17 16:49:03 +00:00
Andrei Zmievski
6e1dee8c1e
Have to use zval_ptr_dtor() on values returned from user functions.
2000-06-17 15:53:33 +00:00
Andi Gutmans
1e5a405c5c
- Make Windows compile
...
- Windows doesn't support LC_MESSAGES
2000-06-17 14:48:03 +00:00
Andrei Zmievski
39aa0c4d3a
Just to make extra sure.
2000-06-16 19:55:51 +00:00
Andrei Zmievski
fa9b168161
@- Enhanced WDDX functions to call __sleep() and __wakeup() when working on
...
@ objects. (Andrei)
2000-06-16 19:50:45 +00:00
Egon Schmid
c6ddfd4440
Protos looks now equal in both versions.
2000-06-16 18:14:51 +00:00
Thies C. Arntzen
43d91224f6
@- Changed WDDX to serialize arrays as structs only if needed. (Thies)
2000-06-16 14:11:01 +00:00
Andrei Zmievski
e52889acd9
@- Changed WDDX to always serialize arrays as structs. (Andrei)
...
Changed WDDX to always serialize arrays as structs. PR #4924
2000-06-09 13:50:39 +00:00
Andrei Zmievski
1868bfdcdf
(php_wddx_deserialize_ex) return SUCCESS/FAILURE
...
Use that return value in WDDX session deserializer.
2000-06-09 03:00:02 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Andrei Zmievski
0a09f95dd7
Got rid of infinite recursion when serializing $GLOBALS[].
...
@- Fixed infinite recursion when serializing $GLOBALS[] in WDDX. (Andrei)
2000-05-04 20:28:21 +00:00
Andrei Zmievski
2b26bb5086
. Reworked string serialization
...
. <, >, and & in strings are now properly escaped
. Removed a lot of unnecessary calls to strlen()
@- Made WDDX serialization properly escape <, >, and &. Also speeded up
@ the serialization in general. (Andrei)
2000-05-04 20:00:07 +00:00
Sascha Schumann
7613e064f8
Remove trailing empty lines
2000-05-01 22:38:42 +00:00
Sascha Schumann
0d36199cf9
Large test commit IV
2000-05-01 22:04:52 +00:00
Sascha Schumann
de2cea47c0
Large commit test III
2000-05-01 22:00:09 +00:00
Sascha Schumann
a481fddfb3
Improved in-tree shared libraries build system
...
The following new/revived shared modules are available now:
... MySQL (*)
... PCRE (*)
... Session
... SWF
(*) capable of using bundled library or external library
All changes:
The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now.
This effectively means that all extensions have to use dynlib.
ext/mysql/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/pcre/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/ext_skel was changed to reflect that more modules should be
compileable as shared module.
ext/Makefile.in has been simplified enormously.
Dependencies are now stored in the build tree.
Empty dependencies are not generated by buildconf anymore. They
are now dynamically created during the build process.
Implicit rules for .S were removed.
The NO_RECURSION feature was removed.
"libs.mk" has been added to all cvsignore files in ext.
2000-05-01 02:42:55 +00:00
Sascha Schumann
953fe189da
Overall UNIX build system improvements:
...
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
(fixes Tru64 support)
* VPATH does not contain variables anymore
(fixes UnixWare support)
2000-04-30 03:20:09 +00:00
Andrei Zmievski
ebce1ad787
Additional check for IS_OBJECT.
2000-04-04 16:41:13 +00:00
Thies C. Arntzen
b491796a4c
@- WDDX now defaults to ISO-8859-1. (Thies)
...
# andrei, plz have a look at my changes - seems to work for me!
2000-04-04 15:47:11 +00:00
Thies C. Arntzen
38cb3de2bc
buffer was short by one
2000-04-04 11:35:01 +00:00
Sascha Schumann
1f822b98ce
Welcome PHP_ARG_ENABLE and PHP_ARG_WITH. They are there to replace the common
...
AC_MSG_CHECKING, AC_ARG_[ENABLE,WITH], AC_MSG_RESULT trio.
2000-03-27 23:33:38 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Andrei Zmievski
0e7e4d30f6
WDDX header comments now conform to the latest DTD.
2000-02-28 17:16:12 +00:00
Egon Schmid
76ec07c402
Is it ok, Andrei.
2000-02-24 16:03:27 +00:00
Egon Schmid
478abf57d4
More protos.
2000-02-24 15:55:10 +00:00
Zeev Suraski
86fa2aade2
the pipe is breaking all the time
2000-02-19 23:41:32 +00:00
Andrei Zmievski
087e39a7ef
Don't need dlist.h anymore.
2000-02-17 23:08:33 +00:00
Andrei Zmievski
588ea96deb
Updated to use Zend's internal doubly-linked list instead of dlist.[ch]
...
implementation.
Also fixed serialization to always output objects as struct. In the past,
if the object did not have any member variables initialized it would've
been output as array of length 0.
2000-02-17 23:07:47 +00:00
Andrei Zmievski
1f19c43d9d
Fix enable again.
2000-02-15 22:55:45 +00:00
Andrei Zmievski
530bb8ec9e
Changed --with-wddx to --enable-wddx.
2000-02-15 14:43:32 +00:00
Andrei Zmievski
4661030b38
Test for --enable-xml.
2000-02-15 14:24:59 +00:00
Andrei Zmievski
1a4e39838f
(PHP wddx_deserialize) Fixed a problem with deserializing empty values.
...
(php_addslashes) Guard against NULL data.
2000-02-02 21:53:27 +00:00
Andrei Zmievski
3e5dc58f35
(wddx_stack_destroy) Properly free the dangling varname.
...
(php_wddx_deserialize_ex) There should be only 1 value on the stack after
parser is done.
2000-01-15 23:34:51 +00:00
Andrei Zmievski
16a35c234e
Fix IS_UNSET -> IS_NULL rename.
2000-01-04 14:41:56 +00:00
Andrei Zmievski
4595bf1e20
* Implemented <boolean> and <null> types. We now support WDDX version 1.0
...
as best as we can.
* Cleaned up the API function names, _ was really not needed.
* Cleaned up the repetitive stack var name stuff with a macro.
* WDDX now no longer converts numbers to strings in arrays when during
serialization.
@Implemented support for <boolean> and <null> types according
@to WDDX version 1.0 (Andrei)
2000-01-03 18:10:27 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Sascha Schumann
2c99bef442
Get rid of config.h.stub. Note that you should embed a comment about
...
what the respective define does into the AC_DEFINE macro. I.e.
AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa
Integration of -ng changes. Changes:
...
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
(libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +00:00
Andi Gutmans
3f6e00e48d
- Use ALLOC_ZVAL() in PHP. Finding the places to put FREE_ZVAL(z) is much
...
more tricky and I'm not sure how many places this is. zval allocations
were only made directly in 11 places.
1999-12-24 15:43:39 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Sascha Schumann
3dc7757a99
Remove the extra INCLUDES line from most automake Mafiles. This is not
...
necessary, because we can change the value of INCLUDES globally in one
place (configure.in).
Also add two defines in thread-safe mode
(_REENTRANT and POSIX_PTHREAD_SEMANTICS)
1999-11-13 12:41:09 +00:00
Thies C. Arntzen
a02ac0c1fc
(wddx_add_vars) adjusted to new resource-API
1999-10-12 15:23:59 +00:00
Andrei Zmievski
f71789ee71
Remove _A.
1999-10-05 13:33:57 +00:00
Sascha Schumann
232afa4816
* archive-based convenience libraries completely replaced
...
with libtool components
* SAPI targets can enable thread-safe mode and define
shared/static/program build target
* all configure scripts use the same config.cache
* phplibdir is $(top_builddir)/modules to avoid
permission problems
* sapi/*/Makefile.inc are gone
* runpath handling cleaned up
* top-level Makefile.in obsoleted through Makefile.am
* --enable-versioning uses libtool's cleaner and more
portable -export-symbols feature
1999-10-04 15:18:26 +00:00
Andrei Zmievski
a92fb5fe3d
rename.
1999-10-01 14:54:55 +00:00
Andrey Hristov
be0eeccdbc
Update WDDX for new high-performance function API.
1999-09-24 18:43:34 +00:00
Zeev Suraski
360675cee3
Compile fixes for WDDX, XML and Zlib (untested)
1999-09-24 14:14:47 +00:00
Andrey Hristov
33eb7d83ca
WDDX can now serialize and deserialize objects. It uses a variable named
...
'php_classname' to store the class name as part of the structure. This way
WDDX modules in other languages don't get broken by extensions to DTD
we would have had to make otherwise.
1999-09-21 21:38:51 +00:00
Sascha Schumann
5a468e740c
This format is also used by the XML module
...
allows us to compile with Apache's expat-lite dir
1999-09-17 01:38:10 +00:00
Sascha Schumann
0320532962
Make some things accessible from outside for session module
1999-09-16 13:25:54 +00:00
Andrey Hristov
22ce3af972
HASH_OF is now in php.h.
1999-09-15 13:28:33 +00:00
Andrey Hristov
d8fc73b5c4
- Fixed mem leak when undefined variable was passed in for serialization
...
- Made it properly serialize object properties
1999-09-12 00:04:29 +00:00
Andrey Hristov
8e9cd1e4ae
Oops, don't need those commented out blocks.
1999-09-04 19:09:37 +00:00
Andrey Hristov
ef943e75a5
Conform to new resource handling guidelines.
1999-09-04 19:07:57 +00:00
Andrey Hristov
f8d9ef14b5
Fixed resource handling to conform to PHP4 guidelines.
1999-09-03 14:17:10 +00:00
Andrey Hristov
1a218328da
Fix for #2161
1999-08-26 13:25:53 +00:00
Andrey Hristov
3f48a5524d
Ported fixed for bug #2103 from PHP3.
1999-08-18 16:43:57 +00:00
Andrey Hristov
a100c51f51
Fixed a bug in WDDX that occured when a number was passed in instead
...
of a variable name.
1999-07-23 21:21:33 +00:00
Andrey Hristov
ced8e51328
Ported WDDX module.
1999-07-19 20:24:03 +00:00