Commit Graph

1136 Commits

Author SHA1 Message Date
Andreas Fischer
7d2a3279c6 Merge pull request #338 from terrafrost/sftp-changes-20140510
SFTP: add file_exists, is_dir and is_file functions

* terrafrost/sftp-changes-20140510:
  SFTP: use_cache -> use_stat_cache
  SFTP: switch from using file existence cache to stat cache, like PHP
  SFTP: add support for recursive nlist and rawlist
  SFTP: add file_exists, is_dir and is_file functions
2014-05-18 23:20:58 +02:00
terrafrost
36fa9e4e48 SFTP: use_cache -> use_stat_cache 2014-05-18 15:55:12 -05:00
terrafrost
e09a6968da SFTP: switch from using file existence cache to stat cache, like PHP
also add a few new functions - is_link and filesize
2014-05-18 15:34:10 -05:00
Andreas Fischer
e0e62360df SFTP: Rudimentary tests for file_exists(), is_file(), is_dir(). 2014-05-14 01:11:19 +02:00
terrafrost
0a0398268a SFTP: add support for recursive nlist and rawlist 2014-05-13 17:10:32 -05:00
terrafrost
77641003fa SFTP: add file_exists, is_dir and is_file functions
also expand caching layer
2014-05-10 19:52:38 -05:00
Andreas Fischer
b7ebb1e0e3 Merge branch 'master' into php5
* master:
  BigInteger: speedup internal mode slightly
2014-05-06 00:49:46 +02:00
Andreas Fischer
3a309d36ed Merge pull request #335 from terrafrost/internal-mode-speedup
BigInteger: speedup internal mode slightly

* terrafrost/internal-mode-speedup:
  BigInteger: speedup internal mode slightly
2014-05-06 00:49:44 +02:00
Andreas Fischer
1821f6b28f Merge branch 'master' into php5
* master:
  ASN1: let strings in as well
  ASN1: make File_ASN1 accept int primitives and not just Math_BigInteger objects when an integer is expected
2014-05-06 00:41:59 +02:00
Andreas Fischer
755d2106cb Merge pull request #336 from terrafrost/asn1-int
ASN1: make File_ASN1 accept int primitives and not just Math_BigInteger ...

* terrafrost/asn1-int:
  ASN1: let strings in as well
  ASN1: make File_ASN1 accept int primitives and not just Math_BigInteger objects when an integer is expected
2014-05-06 00:41:56 +02:00
terrafrost
1b9c599476 ASN1: let strings in as well 2014-05-05 17:38:33 -05:00
terrafrost
7a9ea673ca ASN1: make File_ASN1 accept int primitives and not just Math_BigInteger objects when an integer is expected
The code to convert the regular integer type into the appropriate format could all just be in-line'd when an integer primitive is used but this approach is easier to read.
2014-05-05 16:39:35 -05:00
terrafrost
309c8fd555 BigInteger: speedup internal mode slightly
Changes should yield a slight speedup per the analysis at https://github.com/phpseclib/phpseclib/pull/317#issuecomment-42122335
2014-05-05 11:34:45 -05:00
Andreas Fischer
33aaf1431a Merge branch 'master' into php5
* master:
  Skip testDiffieHellmanKeyAgreement on TravisCI+5.3.3+Internal in the meantime.
  Remove randomness from testDiffieHellmanKeyAgreement.
  Link testDiffieHellmanKeyAgreement to corresponding bug ticket.
  Add Diffie-Hellman Test to BigInteger Testcase.
2014-05-05 11:34:26 +02:00
Andreas Fischer
4fd72af3a2 Merge pull request #317 from bantu/BigInteger-DiffieHellman-Test
Add Diffie-Hellman Test to BigInteger Testcase.

* bantu/BigInteger-DiffieHellman-Test:
  Skip testDiffieHellmanKeyAgreement on TravisCI+5.3.3+Internal in the meantime.
  Remove randomness from testDiffieHellmanKeyAgreement.
  Link testDiffieHellmanKeyAgreement to corresponding bug ticket.
  Add Diffie-Hellman Test to BigInteger Testcase.
2014-05-05 11:34:16 +02:00
Andreas Fischer
602fb55195 Skip testDiffieHellmanKeyAgreement on TravisCI+5.3.3+Internal in the meantime. 2014-04-29 17:42:33 +02:00
Andreas Fischer
9e79fc2407 Remove randomness from testDiffieHellmanKeyAgreement. 2014-04-29 16:37:10 +02:00
Andreas Fischer
7e007ad879 Link testDiffieHellmanKeyAgreement to corresponding bug ticket. 2014-04-29 16:37:10 +02:00
Andreas Fischer
e839fa80a3 Add Diffie-Hellman Test to BigInteger Testcase. 2014-04-29 16:37:10 +02:00
Andreas Fischer
1d01f56f28 Merge branch 'master' into php5
* master:
  BigInteger: update comments and add test case
  BigInteger: fix some int64 issues
2014-04-29 16:32:59 +02:00
Andreas Fischer
431e3a04c7 Merge branch 'int64-fix'
* int64-fix:
  BigInteger: update comments and add test case
  BigInteger: fix some int64 issues
2014-04-29 16:32:49 +02:00
terrafrost
9eb6e1ed67 BigInteger: update comments and add test case 2014-04-29 16:32:25 +02:00
terrafrost
e4ff01f054 BigInteger: fix some int64 issues 2014-04-29 16:32:25 +02:00
Andreas Fischer
8eeb201de8 Merge branch 'master' into php5
* master:
  CS: Fix "PEAR.Functions.FunctionCallSignature.Indent" sniff.
2014-04-24 00:41:20 +02:00
Andreas Fischer
60a9631219 Merge pull request #206 from bantu/cs-function-call-signature-indent
CS: Fix "PEAR.Functions.FunctionCallSignature.Indent" sniff.

* bantu/cs-function-call-signature-indent:
  CS: Fix "PEAR.Functions.FunctionCallSignature.Indent" sniff.
2014-04-24 00:41:16 +02:00
Andreas Fischer
c0bdf1bd90 CS: Fix "PEAR.Functions.FunctionCallSignature.Indent" sniff. 2014-04-24 00:26:02 +02:00
Andreas Fischer
b3081f2a61 Merge branch 'master' into php5
* master:
  SSH2: improve handling of incomplete packets
2014-04-19 15:46:56 +02:00
Andreas Fischer
b90deb5e83 Merge pull request #328 from terrafrost/get_binary_packet
SSH2: improve handling of incomplete packets

* terrafrost/get_binary_packet:
  SSH2: improve handling of incomplete packets
2014-04-19 15:44:29 +02:00
Andreas Fischer
d107d43ec3 Merge branch 'master' into php5
* master:
  Make build script exit with non-zero status when sniff fails.
2014-04-19 15:37:06 +02:00
Andreas Fischer
0886808b2e Merge pull request #330 from bantu/phing-sniff-fail
Make build script exit with non-zero status when sniff fails.

* bantu/phing-sniff-fail:
  Make build script exit with non-zero status when sniff fails.
2014-04-19 15:37:01 +02:00
Andreas Fischer
81982ef86e Make build script exit with non-zero status when sniff fails. 2014-04-19 15:27:59 +02:00
Andreas Fischer
5cfe1560a0 Merge branch 'master' into php5
* master:
  BigInteger: explain precense of uncallable code
2014-04-19 14:05:12 +02:00
Andreas Fischer
a7c6de08a8 Merge pull request #329 from terrafrost/biginteger-comments
BigInteger: explain precense of uncallable code

* terrafrost/biginteger-comments:
  BigInteger: explain precense of uncallable code
2014-04-19 14:05:04 +02:00
terrafrost
0cbb631852 BigInteger: explain precense of uncallable code 2014-04-18 23:43:03 -05:00
terrafrost
efd3b96dc8 SSH2: improve handling of incomplete packets 2014-04-18 16:58:00 -05:00
Andreas Fischer
b471d7bc3e Merge branch 'master' into php5
* master:
  Remove space at end of line in tests/File/ASN1/DevTest.php.
2014-04-18 18:03:03 +02:00
Andreas Fischer
b9a29d8678 Merge pull request #327 from bantu/asn1-devtest-remove-space-eol
Remove space at end of line in tests/File/ASN1/DevTest.php.

* bantu/asn1-devtest-remove-space-eol:
  Remove space at end of line in tests/File/ASN1/DevTest.php.
2014-04-18 18:02:16 +02:00
Andreas Fischer
aa96490018 Remove space at end of line in tests/File/ASN1/DevTest.php. 2014-04-18 17:47:05 +02:00
Andreas Fischer
ff72ce3078 Merge branch 'master' into php5
* master:
  bug280 is ambiguous. Use github prefix instead.
2014-04-18 17:07:23 +02:00
Andreas Fischer
b2e1cc1b02 Merge pull request #326 from bantu/phpunit-group-source-prefix
bug280 is ambiguous. Use github prefix instead.

* bantu/phpunit-group-source-prefix:
  bug280 is ambiguous. Use github prefix instead.
2014-04-18 17:07:21 +02:00
Andreas Fischer
a7da467819 Merge branch 'master' into php5
* master:
  Added some simple Net_SSH2 tests
2014-04-18 16:55:42 +02:00
Andreas Fischer
b676cc2690 Merge pull request #241 from mpscholten/ssh2-tests
Added some simple Net_SSH2 tests

* mpscholten/ssh2-tests:
  Added some simple Net_SSH2 tests

Conflicts:
	tests/Net/SSH2Test.php
2014-04-18 16:54:24 +02:00
Andreas Fischer
4728823fc9 bug280 is ambiguous. Use github prefix instead. 2014-04-18 16:49:37 +02:00
Andreas Fischer
bf7abfcfce Merge branch 'master' into php5
* master:
  ASN1: test case updates
  ASN1: add test cases for latest changes
  ASN1: CS update
  ASN1: make developing new ASN.1 scripts a little easier
  ASN1: make it so bit string's can have an optional minimum size
  ASN1: explicit application tags didn't work (although implicit ones did)
2014-04-18 16:48:05 +02:00
Andreas Fischer
14cfcc1b53 Merge pull request #310 from terrafrost/keberos-fix
ASN1 changes

* terrafrost/keberos-fix:
  ASN1: test case updates
  ASN1: add test cases for latest changes
  ASN1: CS update
  ASN1: make developing new ASN.1 scripts a little easier
  ASN1: make it so bit string's can have an optional minimum size
  ASN1: explicit application tags didn't work (although implicit ones did)
2014-04-18 16:47:48 +02:00
Andreas Fischer
d22dfbff20 Merge branch 'master' into php5
* master:
  Use "Development Dependencies" instead of "Dependencies" for less confusion.
  Capitalisation improvements.
  Add Contributing section to README.md
  Add section about Dependency Installation to README.md
2014-04-18 16:44:57 +02:00
Andreas Fischer
a104be4a77 Merge pull request #316 from bantu/readme-update
Add "Installing Dependencies" and "Contributing" sections to README.md

* bantu/readme-update:
  Use "Development Dependencies" instead of "Dependencies" for less confusion.
  Capitalisation improvements.
  Add Contributing section to README.md
  Add section about Dependency Installation to README.md
2014-04-18 16:44:43 +02:00
terrafrost
f970b69a9e ASN1: test case updates 2014-04-17 23:53:33 -05:00
terrafrost
27b3ea4059 ASN1: add test cases for latest changes 2014-04-16 15:18:45 -05:00
Andreas Fischer
aa7b2f0e92 Merge pull request #318 from bantu/BigInteger-setRandomGenerator-removal
Remove deprecated method Math_BigInteger::setRandomGenerator().

* bantu/BigInteger-setRandomGenerator-removal:
  Remove deprecated method Math_BigInteger::setRandomGenerator().
2014-04-15 16:55:12 +02:00