Wez Furlong
e419d735c4
Better error message to save looking in the wrong place.
2004-05-21 16:36:37 +00:00
Greg Beaver
f30b95fcf0
fix missing assignment
...
$this->_errors = array_filter($this->_errors);
2004-05-21 03:43:58 +00:00
Greg Beaver
981948641c
fix for BC break
...
staticGetErrors adds the parameter $level between $purge and $merge, as it will be as common (or more common) as $purge.
2004-05-21 03:33:51 +00:00
Greg Beaver
aaa7263bdd
Several issues resolved.
...
fix 1444: PEAR_ErrorStack->push() needs to validate $msg and $code as string/int
add error level checking to hasErrors() and getErrors().
BC break!!:
staticGetErrors adds the parameter $level between $purge and $merge, as it will be as common (or more common) as $purge.
2004-05-21 03:33:19 +00:00
Marcus Boerger
d94136fc30
- Remove unused blocks
2004-05-19 08:45:46 +00:00
Pierre Joye
9e9576ecfa
- T_WHITESPACE for the 1st test...
2004-05-16 21:00:24 +00:00
Pierre Joye
a937ae4762
- PHP allows spaces before :: (parent :: foo(); )
...
Nota bene, requires another change to really check the syntax:
loop back to the first non white space element and valid it (parent,
string or var)
2004-05-16 20:55:29 +00:00
Pierre Joye
915e9a555e
- Fix #1329 , closedir on exit (kameshj at fastmail dot fm)
2004-05-16 15:43:30 +00:00
Pierre Joye
d049b24dfd
- Fix #1330 , unused variable
2004-05-16 15:39:07 +00:00
Pierre Joye
59727034b7
- Fix #1249 (wrong print out the wrong state with force option)
...
- some NL issues, sorry, commit now too
2004-05-16 15:37:13 +00:00
Martin Jansen
46f2330c19
* Providing the full URL to the coding standards.
2004-05-04 10:43:24 +00:00
Greg Beaver
d14b94b8df
fix to work with only the installed version of PEAR
2004-04-30 16:45:46 +00:00
Greg Beaver
11be5f887b
fix included files and put error messages in PEAR_Downloader where they are needed
2004-04-30 16:37:39 +00:00
Greg Beaver
bf87bf816c
remove notices in E_ALL for config test in PHP 4.3.6
2004-04-30 03:39:04 +00:00
Greg Beaver
56d7d95c67
hopefully fix this test for all cases
2004-04-30 03:35:43 +00:00
Greg Beaver
e349a5e41d
update to begin process for next release (release is not imminent)
2004-04-30 02:09:03 +00:00
Greg Beaver
94ff299736
fix unit test to work with 1.3.2 (which will be needed)
2004-04-30 02:06:11 +00:00
Greg Beaver
af03ecf9e1
fix 1186: notice in PEAR_Common undeclared $_packageName
2004-04-30 02:05:45 +00:00
Greg Beaver
65ecfc28cf
fix unit test with PEAR 1.3.1
2004-04-30 01:57:35 +00:00
Greg Beaver
1f22d848e9
fix bug 1242 - notice if multi-dimensional array is passed as a parameter
...
add optional parameter to staticHasErrors() that allows error determination for a single package
2004-04-27 04:31:39 +00:00
Greg Beaver
8a91c1d5b8
re-organize as per PEAR-Core discussion
2004-04-09 07:38:48 +00:00
Greg Beaver
dfa4a5d927
as per PEAR-Core discussion, remove all but absolutely essential
...
packages for the installer, and for PEAR_Frontend_Web
2004-04-09 01:12:41 +00:00
Greg Beaver
7ab7b99ac1
oops, PHPUnit2, not PHPUnit
2004-04-08 23:52:36 +00:00
Jon Parise
ba863b4558
Include Mail 1.1.3 with PHP 5.
2004-04-08 18:27:26 +00:00
Greg Beaver
b3cec4d9d4
Dan wants tabs -> spaces
2004-04-08 15:03:21 +00:00
Greg Beaver
eaa48d3743
forgot phpunit -> phpunit2 for php5
2004-04-08 14:59:31 +00:00
Greg Beaver
fdc1b53183
this should update the list
...
# Pierre-Alain, have you tested frontend_web with pager 2 yet?
2004-04-08 14:30:13 +00:00
Wez Furlong
61144768ed
Add this list here, so that pear-core guys can manipulate the PEAR bundle
...
for the win32 snapshot.
2004-04-08 13:32:50 +00:00
Greg Beaver
0715add65f
developer -> lead for cellog
2004-04-07 00:29:58 +00:00
Greg Beaver
e09aff93fb
add PEAR_ErrorStack to description of PEAR
2004-04-06 22:18:37 +00:00
Greg Beaver
f2e8c04e8a
change release date
2004-04-06 22:08:51 +00:00
Greg Beaver
ae73e40808
fixed #534 for real (remove notice if state=stable doesn't exist, and use "none" for stable version number)
2004-04-03 15:56:00 +00:00
Greg Beaver
b79e803a43
fix Bug #937 throwError() treats every call as static
...
fix Bug #964 PEAR_ERROR_EXCEPTION causes fatal error
2004-04-03 06:28:54 +00:00
Greg Beaver
9d86149b01
fix #534 : pear search doesn't list unstable releases
2004-04-03 06:06:17 +00:00
Greg Beaver
361951bc01
not devel any more
2004-04-03 00:42:20 +00:00
Greg Beaver
578c28fb0c
update naming of tests - forgot to rename files before committing,
...
but this is not a big deal, as the name 'Error_Stack' still makes sense
2004-03-21 23:06:20 +00:00
Greg Beaver
9b530c04f1
added in wrong directory, move to tests/
2004-03-21 23:02:29 +00:00
Greg Beaver
57b32bdf57
small changes
...
Use '' instead of ""
allow subclasses to easily change the exception class used just by
overriding the _exceptionClass property
2004-03-21 23:00:54 +00:00
Greg Beaver
4039adabf4
new package.xml to be used for installing tests, to make it easy to collect all tests in the same location for all PEAR packages
2004-03-21 22:57:33 +00:00
Stig Bakken
c9a5a75fef
* fit copyright header on 80 columns
2004-03-21 22:11:18 +00:00
Greg Beaver
a145c1b4ce
update to 1.3.1dev
2004-03-19 03:16:12 +00:00
Greg Beaver
4180b972ae
phpunit tests for PEAR_ErrorStack
2004-03-19 00:48:39 +00:00
Greg Beaver
0ba63371ed
new Error Stack for PEAR, EXPERIMENTAL until proven solid and stable
2004-03-19 00:48:18 +00:00
Martin Jansen
ba7d6efe7b
* Converting tabs to spaces
2004-03-18 12:23:57 +00:00
Martin Jansen
254456a4a6
* Typo fixes
2004-03-18 12:21:28 +00:00
Greg Beaver
e3c0e33f11
fix #1008 : safe mode raises warning
...
fix register_argc_argv in pear.bat
2004-03-13 17:37:23 +00:00
Pierre Joye
4a31a6a88b
- revert previous commit:
...
- Features freeze period
- No agreement on this change
- Even if an agreement exists, this change is not enough to allow the
usage of this new tag
2004-03-12 18:22:48 +00:00
Martin Jansen
c653c6d1d9
* Adding new state "emeritus", which can be used for former maintainers of
...
packages.
Submitted by: Daniel Convissor
# The necessary updates for the website and the manual will follow in a
# few hours or at least tomorrow morning.
2004-03-12 18:05:08 +00:00
Christian Stocker
c18b8dcd2d
- fix a linefeed problem, if there are more than one configureoption
2004-03-04 13:37:37 +00:00
Anil Madhavapeddy
b49e8fe865
Move the _prependPath function into PEAR_Downloader from PEAR_Installer,
...
as PEAR_Downloader uses it (and PEAR_Installer inherits PEAR_Downloader).
Unbreaks 'pear install -R'
2004-02-29 15:58:17 +00:00
Greg Beaver
7c6b73ce38
fix #640 , error in comment for getStaticProperty
2004-02-27 02:27:00 +00:00
Greg Beaver
3e56af98e0
get_class -> is_a
2004-02-27 02:24:06 +00:00
Greg Beaver
4be7974f82
stupid oversight, no 4.2 dep
2004-02-20 17:15:07 +00:00
Pierre Joye
081fa78b08
- Remove DB 1.6.0RC6
2004-02-20 15:37:33 +00:00
Pierre Joye
a120b56aaf
- Update to DB-1.6.0 stable
2004-02-20 15:36:24 +00:00
Pierre Joye
6123f87e25
- MFB
2004-02-20 15:35:44 +00:00
Stig Bakken
cdad10a21a
* apply bold escape codes only if output is going to a terminal/tty
2004-02-17 05:49:16 +00:00
Stig Bakken
2fd0f86c73
* don't cut lines when wrapping output
2004-02-15 17:43:00 +00:00
Pierre Joye
77e432c6ac
- Update to DB-1.6.0RC6 (stable)
...
notabene: No more RC with stable state will be bundled with stable
php release. It's ok for php5 beta4.
2004-02-12 14:09:53 +00:00
Pierre Joye
c2d135276c
- Remove old DB
2004-02-12 14:08:19 +00:00
Stig Bakken
aa8572cfba
* obsolete
2004-02-07 08:31:09 +00:00
Greg Beaver
71b6a816f6
fix PATH_SEPARATOR issues - was defined in PHP 4.3.0, but documentation never showed this.
2004-02-07 04:42:07 +00:00
Greg Beaver
570edb04a7
re-adding as binary - file is unmodified
2004-02-03 23:59:16 +00:00
Greg Beaver
6d44a96a83
remove in order to re-add as binary
2004-02-03 23:58:20 +00:00
Greg Beaver
20c8e629a4
make pear run-tests work with PEAR core tests, allow it to work for Windows users as well
2004-01-31 22:39:25 +00:00
Pierre Joye
3507f04062
- "Fix" the command name in the usage text
2004-01-26 01:59:14 +00:00
Pierre Joye
e3af7958a5
- # 521 entry
2004-01-26 01:36:51 +00:00
Pierre Joye
f9bfd58bd7
- Remove useless property
2004-01-26 00:57:30 +00:00
Pierre Joye
477de56f71
- Fix #521 , incorrect filename in CS warnings
2004-01-26 00:49:16 +00:00
Pierre Joye
48fb978f72
- Use is_a
2004-01-25 23:53:13 +00:00
Pierre Joye
2b88a7b667
WS
2004-01-25 23:36:28 +00:00
Pierre Joye
bff0e9df23
- Update Mail, HTTP and DB. Adding new archives
2004-01-25 23:09:05 +00:00
Pierre Joye
8fad852352
- Update HTTP, DB and Mail packages
2004-01-25 23:08:09 +00:00
Martin Jansen
36137aefe0
* CS
2004-01-19 13:57:38 +00:00
Greg Beaver
b0494146b6
fix -m argument to mkDir(). Conversion to octal was not being made,
...
and a string should never be passed into mkdir().
Thanks to Alex Hayes
2004-01-19 03:32:12 +00:00
Greg Beaver
a440ed6935
fix Bug #594 PEAR_Common::analyzeSourceCode fails on string with $var and {
...
also fixes SOAP packaging error
2004-01-17 17:20:36 +00:00
Greg Beaver
7dc2bf3605
fix get_class() case-sensitive incompatibility in PHP5
2004-01-14 22:43:12 +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
Derick Rethans
9dd1d8bfc8
- Test 3
2003-12-19 15:26:47 +00:00
Derick Rethans
cd46b43506
- test 2
2003-12-19 15:22:43 +00:00
Derick Rethans
da4a9eea92
- Test new commit info file
2003-12-19 15:02:15 +00:00
Pierre Joye
5f16e61f05
- date==today()
2003-12-19 13:56:11 +00:00
Pierre Joye
fbfde0fc0e
- prepare 1.3b5
2003-12-19 13:39:40 +00:00
Stig Bakken
9fd18029a9
* PHP 4 fix for the E_STRICT check
2003-12-18 22:09:17 +00:00
Greg Beaver
cab4d7137b
fix #449 : XML_SVG and VFS fail to install properly using PEAR command
...
fix #455 : PEAR_Downloader does not set $ui
2003-12-18 18:09:13 +00:00
Greg Beaver
b1362a53ab
remove retarded use of numbers (REALLY bad idea) for error handling, add check for E_STRICT and ignore all of those errors
2003-12-18 17:48:54 +00:00
Greg Beaver
e353289cfc
remove optional dep on xmlrpc, not really useful at this point
...
add required dep on pcre, as it is used without reservation in PEAR_Config, and other places
2003-12-16 02:12:55 +00:00
Greg Beaver
af2f43c75e
update notes
2003-12-12 00:02:32 +00:00
Greg Beaver
ad747ba2e3
MFB
2003-12-11 23:57:15 +00:00
Greg Beaver
0134c5c3ab
add missing not relation
2003-12-11 23:30:52 +00:00
Andrei Zmievski
f25486922f
MFB
2003-12-11 19:37:03 +00:00
Greg Beaver
2272c11d80
fix #391 , PHP 5 reference fix
2003-12-11 16:07:01 +00:00
Greg Beaver
117698b4c6
add failure test for non-existing file
2003-12-11 15:59:08 +00:00
Greg Beaver
541ebbeaeb
new unit test for PEAR_Packager
2003-12-11 15:56:08 +00:00
Greg Beaver
ab3afbfdf5
since nobody has taken any action, fix Console_Getopt to be BC, and update the PEAR core to take advantage of the new way. Use 1.2 to avoid any problems with versioning.
...
The core passes all unit tests with these changes, so they should work.
Andrei: feel free to change anything you don't like, this is just a make it work fix.
2003-12-11 05:54:35 +00:00
Greg Beaver
3cd16913a8
update test cases for new error messages
2003-12-11 05:49:37 +00:00
Greg Beaver
fa07b7a09c
new test case for directory tree deletion on uninstall
2003-12-11 05:30:57 +00:00
Greg Beaver
398ab9756a
remove references to global variables in validatePackageInfo, remove extraneous summary that is never reached in the switch
2003-12-09 23:43:58 +00:00
Pierre Joye
85ce95847f
- MFB (fix pecl install)
2003-12-09 20:54:58 +00:00
Greg Beaver
06ef18bed9
fix #279
2003-12-07 00:29:46 +00:00
Greg Beaver
3148e2e9be
fix #205 , wider column names for pear list
2003-12-07 00:10:40 +00:00
Greg Beaver
bd766fc7e5
fix #167
2003-12-07 00:02:34 +00:00
Greg Beaver
8161b2f742
MFB
2003-12-06 23:45:36 +00:00
Greg Beaver
cfb05861b9
CS
2003-12-06 23:37:30 +00:00
Greg Beaver
59b98030bc
(try again)
...
fix 2 bugs
- optional dependencies not supported
- incorrect index determination
2003-12-06 23:32:30 +00:00
Greg Beaver
8425c2a16b
fix 3 bugs
...
- optional dependencies not supported
- PHP 5 references (#362 )
- incorrect index determination
2003-12-06 23:07:52 +00:00
Greg Beaver
5e0b0b147b
finished unit test for _processDependency failure test
2003-12-06 22:33:53 +00:00
Greg Beaver
68c7403a13
stupid me - this was a circular reference, removing
2003-12-06 22:17:22 +00:00
Greg Beaver
d9f4fd0757
slightly clearer error messages
2003-12-06 22:14:11 +00:00
Greg Beaver
fc3cb93064
fix arg parsing to work with Console_Getopt 2.0
2003-12-06 22:07:49 +00:00
Greg Beaver
9e361c0278
remove unnecessary experimental code
2003-12-06 21:52:20 +00:00
Greg Beaver
107d75d86b
getting ready for both packages to be released
2003-12-06 21:47:53 +00:00
Greg Beaver
8cd5e9ec6e
fix for Console_GetOpt 2.0 (what was 1.1 - re-release being negotiated)
2003-12-06 21:35:02 +00:00
Greg Beaver
bb861773a9
forgot to have it delete the directory it creates
2003-12-06 06:56:55 +00:00
Greg Beaver
61bd893e0d
update phpdoc comment
2003-12-06 06:08:56 +00:00
Greg Beaver
33aa36fb8d
add todo for known issue that isn't yet critical but will be
2003-12-06 06:06:50 +00:00
Greg Beaver
c46abac9bd
new test case - test invalid download conditions
...
TODO:
- tests for _processDependency
2003-12-06 06:05:04 +00:00
Greg Beaver
29df86f2d1
improve error message, it was both terrible grammar and unclear.
2003-12-06 05:59:25 +00:00
Greg Beaver
d1770cc57f
fix error message - was printing an empty preferred state
2003-12-06 05:35:52 +00:00
Greg Beaver
49a2893adb
simple fix for core bug #362 - raiseError() doesn't return a reference, why should throwError()?
2003-12-06 02:00:33 +00:00
Andrei Zmievski
a3d2fd336c
MFB
2003-12-05 22:02:48 +00:00
Greg Beaver
5252f3faa9
merge downloader code into HEAD - it works
...
fix bug found in uninstall
2003-12-04 02:11:40 +00:00
Greg Beaver
d2ad2841bd
unit test for new code - proves it works
2003-12-04 02:01:46 +00:00
Greg Beaver
07a0281d00
add helper methods needed - now it is 100% unit tested
2003-12-04 02:00:39 +00:00
Greg Beaver
e8468911ed
fixed minor bug
2003-12-04 01:35:45 +00:00
Greg Beaver
ad9629d2bf
finished unit test
2003-12-04 01:35:27 +00:00
Greg Beaver
1558f748e3
fix bugs found in unit-testing, one BC issue also
2003-12-04 01:22:50 +00:00
Greg Beaver
2ab2d8263c
fix notice
2003-12-04 01:22:12 +00:00
Greg Beaver
dba21314ce
another segment working
2003-12-04 01:22:00 +00:00
Greg Beaver
172bf25830
another test case, small fix for XML_RPC caching borking working tests
2003-12-03 23:46:10 +00:00
Greg Beaver
ed3167eada
another tgz for test case comparison
2003-12-03 23:36:00 +00:00
Greg Beaver
604dcdd256
add part of a test case
2003-12-03 23:24:47 +00:00
Greg Beaver
577cf36f91
remove unnecessary notice generator in certain cases
2003-12-03 23:00:05 +00:00
Greg Beaver
4e5e628637
new unit test for downloader - incomplete.
...
WARNING: this test requires a fully functional pearweb server at address pear.Chiara, with several packages available for download. This one will fail until Martin has time to set up test.pear.php.net as the server.
2003-12-03 22:53:58 +00:00
Greg Beaver
35bdc2f7eb
duhhh...
2003-12-03 22:39:55 +00:00
Greg Beaver
036ac99eef
new test case and supporting files - incomplete, but works as it is
2003-12-01 04:51:21 +00:00
Greg Beaver
cd4baaf654
potential major booboo in unit test, probably won't affect this one
2003-12-01 04:04:07 +00:00
Greg Beaver
cde3509868
2 bugs found here, added deprecation warning for those who have written their own PEAR application
2003-12-01 01:02:40 +00:00
Greg Beaver
3e60df640e
2 bugs found here
2003-12-01 01:00:57 +00:00
Greg Beaver
1b95c31c77
2 bugs found
2003-12-01 00:59:14 +00:00
Greg Beaver
b27f71ca58
fclose() might be needed
2003-12-01 00:43:34 +00:00
Greg Beaver
87365b0149
new unit test
2003-12-01 00:36:47 +00:00
Greg Beaver
2939c3539d
fix bug found by unit testing in package ordering
2003-12-01 00:15:53 +00:00
Greg Beaver
21714261a6
fix unit test
2003-12-01 00:14:37 +00:00
Greg Beaver
3db2e9bdcc
minor booboo
2003-12-01 00:14:16 +00:00
Greg Beaver
df5317e336
new unit test - test works, but there is a serious bug in sortPkgDeps to be fixed, as unearthed by this test
2003-11-30 23:43:19 +00:00
Greg Beaver
bfc02f7223
finish unit test with non-working download test with callback
2003-11-30 22:51:17 +00:00
Greg Beaver
398dec718a
add in skip condition for internet offline, and callback test
2003-11-30 22:49:33 +00:00
Greg Beaver
685e7a365a
first unsuccessful test works
2003-11-30 22:39:24 +00:00
Greg Beaver
2276704637
first successful download test works :)
2003-11-30 22:37:47 +00:00