Commit Graph

9901 Commits

Author SHA1 Message Date
Sascha Schumann
664df24d11 Fix GC bug which did not increment the proper variable.
Fix warning regarding the initial hash value.
Use php_uint32 everywhere.
Speedup linked-list traversal by using the hash value.
Degrade linked-list to singledly linked-list.
Allocate a new shared memory buffer, if the data does not fit into the
current one.  Prior to this change, we always allocated a new buffer.
Fix debug prints to be compatible with non-GCC compilers.
NUL-terminate string return values.
2001-07-18 23:18:58 +00:00
Tomas V.V.Cox
9638928317 - Only decompress package once
- Allow relative directory package calls (for ex:
  pear install packs/Pear_DB-1.1.tgz)
2001-07-18 23:13:56 +00:00
Sascha Schumann
9576ab24dd Instead of using the poor system rand() algorithm and the
system-time seed, rely on the long-living LCG to determine
whether to start the GC process.
2001-07-18 22:56:56 +00:00
Sascha Schumann
dcc60b7f4a The lcg needs to operate on signed 32-bit integers, so use
the proper php_int32 types here.
2001-07-18 22:55:52 +00:00
Sascha Schumann
e8fe8f9d99 Provide typedefs for php_int32 2001-07-18 22:54:55 +00:00
Sascha Schumann
eef0dda4da Retire old hash algorithm and use the FNV-1 algorithm. 2001-07-18 21:39:02 +00:00
Harald Radi
3110a58795 fixed a bug in 'case VT_DATE' 2001-07-18 19:56:18 +00:00
Tomas V.V.Cox
65af9358cd - remove the xml parser code (use PEAR_Common::infoFromDescFile)
- added the new package.xml Dir tag support
- killed many bugs and warnings

(as it is quite usable yet, work is still in progress)
2001-07-18 17:29:09 +00:00
Tomas V.V.Cox
97c0042c04 - always write a the package definition file as 'package.xml' inside the package
- other clean-up's
2001-07-18 17:13:38 +00:00
Tomas V.V.Cox
073f9ec70f killed some warnings 2001-07-18 17:11:28 +00:00
Stanislav Malyshev
f0c879bb26 Make variables receiving long be long
Fix binary (x,o,b) formats - they should not be signed
2001-07-18 16:48:52 +00:00
Stanislav Malyshev
db97aea8d9 fix double->long conversion 2001-07-18 16:46:51 +00:00
Stanislav Malyshev
e2a7a6b0f6 Prevent cURl from always outputting the header. Fix bug #12018 2001-07-18 10:47:54 +00:00
Jon Parise
dc5e76ec57 Private members don't have to be functions. 2001-07-18 00:27:15 +00:00
be10830fda ChangeLog update 2001-07-18 00:10:01 +00:00
2e3155620a NEWS update 2001-07-18 00:09:58 +00:00
Jon Parise
28d5698523 Woops, missed a closing paren. 2001-07-17 23:56:46 +00:00
Jon Parise
36868ff301 Describe the standards for function naming and private methods. 2001-07-17 23:55:10 +00:00
Tomas V.V.Cox
c75f153daa Oops, said include but do require (thanks Jon and Rasmus) 2001-07-17 20:46:16 +00:00
Tomas V.V.Cox
bed51fa581 - Removed the xml parser code (use now PEAR_Common::infoFromDescriptionFile())
- Added the ability to build packages without the need of being in the same
  dir as the package.xml file (f.ex: pear package ./mypack/package.xml)
- Removed methods log() and mkdirHier() as they are now in Common.php
- More debug code and error checks
2001-07-17 19:21:55 +00:00
Tomas V.V.Cox
5cb96db143 moved methods log() and mkdirHier() from Packager/Installer to here 2001-07-17 19:13:40 +00:00
Tomas V.V.Cox
55c6e37956 include only the needed files 2001-07-17 19:11:48 +00:00
Jason Greene
6034e5161d Forgotten Include.
This should fix the windows build (though I currently don't have a way to test it)
2001-07-17 16:56:51 +00:00
Rasmus Lerdorf
9bc97ac865 Add always_populate_raw_post_data ini directive and default it to 0 to
maintain current behaviour.  If this is turned on then $HTTP_RAW_POST_DATA
is always populated with a copy of the raw post data.
@ - Add config option (always_populate_raw_post_data) which when enabled
@   will always populate $HTTP_RAW_POST_DATA regardless of the post mime
@   type (Rasmus)
2001-07-17 16:46:07 +00:00
Andi Gutmans
6bd084cb0a - Remove unused code 2001-07-17 16:10:15 +00:00
Chuck Hagenbuch
20a61a49ca fix problem with static usage... 2001-07-17 16:01:16 +00:00
Joey Smith
5f2d12c3bc Be consistent with hashed_details behavior. 2001-07-17 08:16:58 +00:00
Jason Greene
8eb5a4b856 @Added support for socket and popen file types to ftp_fput (Jason) 2001-07-17 05:53:03 +00:00
18463f52a8 ChangeLog update 2001-07-17 00:10:19 +00:00
Zeev Suraski
a9915bf69a Another layout fix 2001-07-16 20:43:18 +00:00
Zeev Suraski
b6064e5d3e Fix layout
Guys - when submitting patches - please make sure you're not breaking
the layout of the code!  It's not less important than the patch
itself.
2001-07-16 20:42:49 +00:00
Tomas V.V.Cox
e3e8ae44c7 extend infoFromDescriptionFile() to:
- Handle the new FileList->Dir tag format (see
http://marc.theaimsgroup.com/?l=pear-dev&m=99071271521558&w=2)
- Attributes of Files can inherit from Dir
- Support for the experimental LibFile/LibName/Sources tags

other indents and fixes
2001-07-16 18:01:09 +00:00
Zeev Suraski
43ebb86806 Fix bug #10287 - avoid crashing under a bogus usage of list() 2001-07-16 15:48:31 +00:00
Stanislav Malyshev
cdf0532ad3 Make read always 0-terminate strings 2001-07-16 15:44:36 +00:00
Zeev Suraski
ba1249dc8e Fix the crash Joey found 2001-07-16 13:48:07 +00:00
Zeev Suraski
407fd77c20 Generalize 2001-07-16 13:31:55 +00:00
Zeev Suraski
1c27165161 Add a useful #define 2001-07-16 13:31:22 +00:00
03b6b37157 ChangeLog update 2001-07-16 13:17:45 +00:00
Andrei Zmievski
f8180ef58b Fix NEWS. 2001-07-16 13:09:55 +00:00
Stanislav Malyshev
b028410760 Add credits to GMP 2001-07-16 12:45:36 +00:00
Zeev Suraski
fb532ba52b Fix bug #10467 2001-07-16 11:41:06 +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
Rasmus Lerdorf
721c562e2a Fix a couple of build warnings 2001-07-16 04:31:13 +00:00
1d5f1bb464 ChangeLog update 2001-07-16 00:10:10 +00:00
618fa10e6f NEWS update 2001-07-16 00:10:07 +00:00
Stig Bakken
8406547fdb (PEAR DB) some doc fixes 2001-07-15 22:54:08 +00:00
Zeev Suraski
2edcf835ed Update cast 2001-07-15 22:49:25 +00:00
Zeev Suraski
1c2893a1b9 Minor cleaning 2001-07-15 22:48:04 +00:00
Zeev Suraski
ec6c9f67c4 Optimize the parser a bit 2001-07-15 19:24:32 +00:00
Zeev Suraski
d1ac05a850 Fix warning 2001-07-15 19:14:25 +00:00