Commit Graph

304 Commits

Author SHA1 Message Date
Tomas V.V.Cox
9037bedb9e The "pear package" command will try to open "./package.xml" if no more
params are given.
2001-08-19 12:53:01 +00:00
Tomas V.V.Cox
df54bca0a0 better error hanlding 2001-08-19 12:37:51 +00:00
Tomas V.V.Cox
cf70755a05 maintain original file perms 2001-08-19 12:30:24 +00:00
Stig Bakken
b96e13a99d Added "phptar" command as proof that the Archive_Tar class works.
# Great work, Vincent!
2001-08-19 00:34:08 +00:00
Tomas V.V.Cox
a0bf4ac47d added support for the following tags in package.xml:
- <State> inside <Release> (package development state: 'alpha','beta','stable','snapshot')
- <Changelog> stores <Release> entries
- <Maintainers> stores multiple <Maintainer> entries
- <Role> inside <Maintainer> ('lead','developer','contributor','helper')
2001-08-18 14:40:25 +00:00
Sebastian Bergmann
d311622203 Forgot to add DB.php. 2001-08-17 08:51:09 +00:00
foobar
12a74c513d These files do not exist anymore. 2001-08-17 08:47:43 +00:00
Chuck Hagenbuch
2b9e767822 PEAR::raiseError() can be called statically - don't assume $this will be
there!
2001-08-15 21:26:12 +00:00
Stig Bakken
84cdabcec0 * point people to the manual instead 2001-08-15 21:03:51 +00:00
Stig Bakken
d400f78079 * expected error codes are stored on a stack now, PEAR::expectError()
pushes into it, PEAR::popExpect() pops off it
* made pear_error test work on other boxes than my own :-)
2001-08-14 21:11:33 +00:00
Stig Bakken
3c801213c6 * updated test (currently passes only on my laptop, sorry...) 2001-08-14 12:49:51 +00:00
Stig Bakken
c49f8aa0ef * added expectError() method 2001-08-14 12:49:25 +00:00
Stig Bakken
ecb2b081f1 @Added --version option to php-config (Stig) 2001-08-13 07:58:29 +00:00
Tomas V.V.Cox
bafa98109c removed my debug code :) 2001-08-11 16:14:14 +00:00
Tomas V.V.Cox
9ca706e8ab don't show is_file() stat errors 2001-08-11 16:11:49 +00:00
Sebastian Bergmann
fe956141fc 'delete' is a reserved word in Zend Engine 2 2001-08-11 08:08:05 +00:00
Sebastian Bergmann
5ac3adf9d2 Rename storage* to container*. 2001-08-10 16:12:33 +00:00
Tomas V.V.Cox
b4cdd3af84 fix multiple factory calls problem with php < 4.0.7 2001-08-09 08:06:52 +00:00
Tomas V.V.Cox
d87bae9f1b *** empty log message *** 2001-08-09 07:56:33 +00:00
Tomas V.V.Cox
02545f0503 spaces 2001-08-09 07:52:29 +00:00
Alexander Merz
25382be8ff fix PHPDoc 2001-08-09 01:11:56 +00:00
Tomas V.V.Cox
96aab6aed4 don't show the call_user_method deprecated use warning (disturbs tests) 2001-08-04 10:47:10 +00:00
Tomas V.V.Cox
fa0481609c * Added the new fetch row mode: DB_FETCHMODE_OBJECT that returns the columns
of a fetched row as object properties
* Added a new class DB_row (the default type of a fetched row object)
* Updated some phpdocs
2001-08-03 14:13:52 +00:00
Tomas V.V.Cox
88748bc7a8 added BaseInstall dir support 2001-08-01 13:24:55 +00:00
Christian Stocker
32e6c484a8 Moved to the /pear repository 2001-07-31 22:35:20 +00:00
Tomas V.V.Cox
2c1af4d645 package() now returns the full path of the generated package also improved
windows support (if php getcwd() returns also the drive letter, please test it)
2001-07-31 13:36:54 +00:00
Stig Bakken
ae92dc7139 * DB_storage broke when DB_common::query was added, fixed 2001-07-31 07:57:14 +00:00
Christian Stocker
410dfbe6a4 moved from the Experimental dir. the basic things should work... 2001-07-30 15:54:28 +00:00
Tomas V.V.Cox
1e2d51855c raiseError() now can accepts a PEAR error object in its first argument. With
this, users can "re-throw" a previously created PEAR error object (very
useful after the use of (push|pop)ErrorHandling)
2001-07-29 04:25:33 +00:00
Tomas V.V.Cox
fa75ae3394 Added the methods pushErrorHandler and popErrorHandler. With this it's
posible to override the actual error handler with a new one for the time
you need and restore it back when finish.
2001-07-29 03:46:55 +00:00
Alexander Merz
ca5fd10e1d Bugfix by Johannes Erdfelt 2001-07-27 11:53:35 +00:00
Tomas V.V.Cox
538c838ac9 DB::assertExtension-> trigger a useful error message if backend extension couldn't be loaded 2001-07-26 00:01:27 +00:00
Stig Bakken
082165f198 * added emacs footer 2001-07-25 21:20:31 +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
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
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
Jon Parise
dc5e76ec57 Private members don't have to be functions. 2001-07-18 00:27:15 +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
Chuck Hagenbuch
20a61a49ca fix problem with static usage... 2001-07-17 16:01:16 +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
Stig Bakken
8406547fdb (PEAR DB) some doc fixes 2001-07-15 22:54:08 +00:00