Commit Graph

1003 Commits

Author SHA1 Message Date
Andreas Fischer
5afc865775 SFTP Functional tests: Make use of assertNotSame 2014-05-22 00:40:49 +02:00
Andreas Fischer
8a43f02ae9 SFTP Functional tests: Keep story linear. 2014-05-22 00:40:49 +02:00
terrafrost
6e8e44b120 SFTP: add more unit tests 2014-05-22 00:40:49 +02:00
Andreas Fischer
69e15b3855 Merge pull request #342 from terrafrost/sftp-statcache-changes
SFTP: stat cache updates

* terrafrost/sftp-statcache-changes:
  SFTP: stat cache updates
2014-05-21 17:55:21 +02:00
Andreas Fischer
40d29b13d6 Merge pull request #341 from bantu/sftp-changes-20140510
SFTP: Rudimentary tests for file_exists(), is_file(), is_dir().

* bantu/sftp-changes-20140510:
  SFTP: Rudimentary tests for file_exists(), is_file(), is_dir().
2014-05-21 17:53:49 +02:00
terrafrost
4d9214970b SFTP: stat cache updates 2014-05-21 10:20:36 -05:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
4fece986e3 Use "Development Dependencies" instead of "Dependencies" for less confusion.
There are currently no production dependencies.
2014-04-15 16:51:50 +02:00
Andreas Fischer
9653e3c70f Capitalisation improvements. 2014-04-12 20:42:15 +02:00
Andreas Fischer
a7e7f5891a Add Contributing section to README.md 2014-04-12 20:32:32 +02:00
Andreas Fischer
670222bc31 Add section about Dependency Installation to README.md 2014-04-12 20:26:58 +02:00
Andreas Fischer
1a7e3746d5 Merge pull request #314 from bantu/codesniffer-via-phing
Add phing build script and run CodeSniffer from it

* bantu/codesniffer-via-phing:
  Run Code Sniffer via phing.
  Depend on phing/phing build script.
2014-04-12 19:30:37 +02:00
terrafrost
10be403aff ASN1: CS update 2014-04-12 12:01:04 -05:00
Andreas Fischer
4a064a0506 Run Code Sniffer via phing. 2014-04-12 07:48:32 +02:00
Andreas Fischer
8c9b7083d8 Depend on phing/phing build script. 2014-04-12 07:47:26 +02:00