Fred Emmott
734e5e2f2b
Add autoload support for .hh files (HHVM)
...
HHVM is adding support for an alternative extension for files using
HHVM-specific features. Support them in the Class Map and PSR4
autoloaders.
Trivial example: https://github.com/fredemmott/hh_extension_toolset
2014-03-18 14:37:44 -07:00
Nils Adermann
70a20ebcc1
Merge pull request #2805 from xabbuh/issue-2626
...
Check the referenced package for a white list entry
2014-03-12 17:07:58 +01:00
Christian Flothmann
0e9325da79
for AliasPackages check that the aliased package is white listed so that version constraints of AliasPackages are taken into account when computing package provisions
2014-03-12 16:35:23 +01:00
Christian Flothmann
2241328934
fix "replace-alias.test" test
2014-03-12 16:35:04 +01:00
Christophe Coevoet
b639005f29
Added a failing test for #2626
2014-03-12 15:10:25 +01:00
Jordi Boggiano
aa9c257f0e
Merge remote-tracking branch 'alebiavati/list-paths'
2014-03-09 16:09:15 +01:00
Jordi Boggiano
78343ead10
Merge pull request #2765 from neoascetic/gzip_downloader
...
Gzip downloader (resolves #2521 )
2014-03-09 15:39:32 +01:00
Jordi Boggiano
604a65cc31
Fix indenting, refs #2788
2014-03-06 10:26:16 +01:00
Jordi Boggiano
d90fec3d44
Merge remote-tracking branch 'sylvainfilteau/master'
2014-03-06 10:25:24 +01:00
Sylvain Filteau
92e283973f
Skip test requiring mbstring when it's not installed
2014-03-05 20:30:09 -05:00
Pavel Puchkin
9fda8cdc84
Type in comment
2014-03-05 11:25:58 +10:00
Alessandro Biavati
c5d1a3575c
Added `path` flag to show install path for installed packages
2014-03-02 16:01:39 -08:00
Jordi Boggiano
fff913d6de
Update deps
2014-03-01 21:25:32 +01:00
Jordi Boggiano
5fb005631a
Tweaking dispatchScript method to be in line with the rest, and add devMode to *_AUTOLOAD_DUMP events
2014-03-01 21:22:01 +01:00
Jordi Boggiano
790a25c348
Adjust dump command, add another test, update docs, refs #1344
2014-03-01 21:21:00 +01:00
Jordi Boggiano
023ff131aa
Merge remote-tracking branch 'bamarni/autoload-dev'
2014-03-01 20:28:31 +01:00
Jordi Boggiano
cea7c07cf2
Fix CS
2014-03-01 19:58:37 +01:00
Jordi Boggiano
1f2d8908f3
Merge remote-tracking branch 'olvlvl/fix_issue_2598'
2014-03-01 19:56:33 +01:00
Pavel Puchkin
7ccb91667f
Fallback to gzip functions when on Windows
2014-02-28 10:30:12 +11:00
Bilal Amarni
db91454a13
added an autoload-dev section
2014-02-28 00:27:03 +01:00
Jordi Boggiano
0d4c2bb7d7
Fix github test
2014-02-26 17:38:58 +01:00
Jordi Boggiano
5b0dc99fec
Reuse github existing tokens instead of failing, fixes #2724
2014-02-26 17:20:47 +01:00
Jordi Boggiano
1851c29dd3
Update code to work with #2766
2014-02-26 17:19:54 +01:00
Jordi Boggiano
9db2a537e5
Merge remote-tracking branch 'cs278/github-otp-support'
2014-02-26 16:16:13 +01:00
Nils Adermann
edbc22f6bb
Merge pull request #2766 from Seldaek/rfs_errors
...
Capture response bodies in exceptions when http requests fail
2014-02-26 16:11:09 +01:00
Jordi Boggiano
5067d76dbc
Adjust test suite
2014-02-26 16:01:31 +01:00
Jordi Boggiano
28bb781324
Capture response bodies in exceptions when http requests fail
2014-02-26 15:53:27 +01:00
Pavel Puchkin
c598fdb0f5
Since there is no solution for non-unix (for now), remove the condition
2014-02-27 00:01:11 +11:00
Pavel Puchkin
ba56ac362a
Final fix. Preserve initial file name
2014-02-26 23:49:53 +11:00
Pavel Puchkin
a287884619
There is no need in DIRECTORY_SEPARATOR since it Unix
2014-02-26 22:52:47 +11:00
Pavel Puchkin
3811fe7d8b
Resolves #2521 . First and simple attempt to make a gzip downloader
2014-02-26 22:50:00 +11:00
Jordi Boggiano
e1e48b28f7
Update vendor dir modified time after every install/update, fixes #2764
2014-02-26 10:43:42 +01:00
Nils Adermann
b808ff5e28
Don't hardcode the URL to an https one either
2014-02-25 15:57:35 +01:00
Nils Adermann
edfaf727e5
When using the github driver with no-api don't reset to an ssh url
2014-02-25 15:55:44 +01:00
Jordi Boggiano
665a2bd0c0
Tweak error message and make TransportException extend from RuntimeException, refs #2753
2014-02-25 13:34:39 +01:00
Jordi Boggiano
a612b2affe
Merge remote-tracking branch 'naderman/download-failover'
2014-02-25 13:25:27 +01:00
Jordi Boggiano
c698c8655c
Merge pull request #2754 from naderman/github-no-api
...
Make the github driver behave like git if "no-api" is specified.
2014-02-25 13:19:03 +01:00
Jordi Boggiano
e4a3078685
Merge pull request #2751 from sndpl/issue/1966
...
Fix for #1966 , use the preferred-install from the rootPackage
2014-02-25 13:13:23 +01:00
Nils Adermann
31fd6c233c
Rethrow download exceptions when no options left & clean up code
2014-02-24 19:52:20 +01:00
Nils Adermann
1ccf4b0fc3
Correct the tests for dist urls for github
2014-02-24 19:51:03 +01:00
Nils Adermann
a80fde97d5
Make the github driver behave like git if "no-api" is specified.
2014-02-24 19:36:56 +01:00
Nils Adermann
35fbe3fd42
Download failover means we can now always try github zip urls for dist
2014-02-24 18:53:34 +01:00
Nils Adermann
5ed18d9aa2
Fail over from source to dist and vice versa when downloads fail
...
Any RuntimeException descendent will be caught and cause another
download attempt using either source or dist depending on what was
attempted first.
2014-02-24 18:40:33 +01:00
Sandy Pleyte
ee62ec60f0
Remove old comment
2014-02-24 16:22:44 +01:00
Sandy Pleyte
ab8f67e8cf
Always use rootPackage config
2014-02-24 16:20:10 +01:00
Sandy Pleyte
9af5eaa574
Refactored the code with the switch statement.
2014-02-24 15:27:41 +01:00
Sandy Pleyte
bc7c93ae85
Fix for #1966 , use the preferred-install from the rootPackage config to install the dependencies.
2014-02-24 13:34:50 +01:00
Jordi Boggiano
234be0b5e3
CS fixes, refs #2750
2014-02-24 12:49:09 +01:00
Jordi Boggiano
d607432c75
Merge remote-tracking branch 'parsingphase/avoidFalseWildcardUpdateWarning'
2014-02-24 12:45:39 +01:00
Richard George
2c01c9dd05
Avoid "Package foo/* listed for update is not installed" error
...
Previously 'compose update foo/*' gave an error
"Package foo/* listed for update is not installed. Ignoring" even if some foo/*
packages were present; however the packages *would* then be updated as
requested. This removes the false error iff foo/SOMEPACKAGE is required.
2014-02-24 11:28:08 +00:00