1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 23:18:13 +02:00
Commit Graph

9918 Commits

Author SHA1 Message Date
Sascha Schumann 4ebcdd9929 Add optional support for using boyer-moore to str_replace. 2001-07-20 01:22:29 +00:00
0b3a7e6546 ChangeLog update 2001-07-20 00:10:16 +00:00
Joey Smith c2e983709a I just got annoyed by this, eventually. :) 2001-07-19 23:36:37 +00:00
Zeev Suraski d68f53e94e Unfix, it has too strong effects 2001-07-19 18:33:22 +00:00
Zeev Suraski ce29cb297e Catch all cases 2001-07-19 15:53:38 +00:00
Marc Boeren 2a661c6114 Added the error-message functionality (new in odbc module) (Mc) 2001-07-19 15:45:56 +00:00
Marc Boeren e8bcbacb3e changed implementation of creating reference to a value by columnname (Mc)
added a test for changing the referenced value (Mc)
2001-07-19 15:44:58 +00:00
Zeev Suraski 01814bb2b8 Fix bug #11970, strike 2 2001-07-19 14:15:50 +00:00
Zeev Suraski 06fc55cc67 Revert bogus patch 2001-07-19 14:11:40 +00:00
Adam Dickmeiss 863062a8be Function yaz_record handles MARC records that have identifers in 00X. 2001-07-19 13:27:58 +00:00
Tomas V.V.Cox 30ec364e49 move the package list handler methods to the new Packlist.php also removed
the unused code
2001-07-19 11:15:48 +00:00
Tomas V.V.Cox e78a175fc0 This class will handle the pear packages database (it's experimental now) 2001-07-19 11:10:28 +00:00
Tomas V.V.Cox 0d629b854a added TODO and checks before try to open the package.xml file 2001-07-19 10:32:06 +00:00
Stanislav Malyshev dfe15ad070 Fix warnings 2001-07-19 08:12:12 +00:00
Sascha Schumann 1734ff698c update 2001-07-19 04:58:44 +00:00
Sascha Schumann ef42a25b42 Fix a serious long-standing bug which deleted the shared memory segment
when an Apache children died.

Dynamically resize hash-table.

The hash key is now stored as part of the hash entry structure which
saves a mm_malloc.

ps_sd_new has been restructured to avoid code duplication.

A bug concerning moving existing entries to the top of a linked list
has been fixed.
2001-07-19 04:16:54 +00:00
0d7c522313 ChangeLog update 2001-07-19 00:11:34 +00:00
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