| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-05-07 | audit: only set up the build environment once | Jack Nagel | |
| 2013-05-06 | ArchRequirement: takes a single arch | Misty De Meo | |
| Fixes #19646. | |||
| 2013-05-06 | Fix type error in conflict_requirement | Jack Nagel | |
| Fixes #19636. | |||
| 2013-05-06 | Avoid extra array allocations | Jack Nagel | |
| 2013-05-06 | Reduce allocations in dependency construction | Jack Nagel | |
| By always passing around a single, unnested array rather than splatting and then defensively flattening and compacting things, we can avoid allocating a bunch of unnecessary arrays. This gives a performance boost of roughly 4% when enumerating 2500 formulae, and has the side effect of cleaning up the dependency API. | |||
| 2013-05-06 | TypeError is appropriate here | Jack Nagel | |
| 2013-05-06 | Check Requirement before Dependency | Jack Nagel | |
| It's much more likely that an instance of Requirement is passed. | |||
| 2013-05-06 | Extract string and class logic from parse_spec | Jack Nagel | |
| 2013-05-05 | Formula: fix to_hash output for bottles | Misty De Meo | |
| 2013-05-03 | Add frameworks helper to formula | Adam Vandenberg | |
| 2013-05-02 | info: re-raise on blacklist miss | Jack Nagel | |
| 2013-05-02 | --env: show HOMEBREW_CC in superenv | Adam Vandenberg | |
| Closes #18247. | |||
| 2013-04-29 | info: try blacklist for unknown formula names | Adam Vandenberg | |
| Closes #17399. | |||
| 2013-04-27 | Avoid capturing groups when unnused | Jack Nagel | |
| 2013-04-27 | Combine GitHub version regexes | Jack Nagel | |
| 2013-04-27 | Only remove DS_Store on ENOTEMPTY | Jack Nagel | |
| 2013-04-27 | Don't test error message | Jack Nagel | |
| Now that we are testing for a custom exception type, we don't need to make any assertion about the message. | |||
| 2013-04-27 | Allow `brew versions` to work with underspecified formulae | Jack Nagel | |
| 2013-04-26 | audit: fix interpolation check | Jack Nagel | |
| Fixes #19363. | |||
| 2013-04-26 | Add deps target to tests Rakefile for needed gems. | Mike McQuaid | |
| 2013-04-25 | doctor: don't shell out in coreutils check | Misty De Meo | |
| 2013-04-25 | doctor: add default-names findutils check | Misty De Meo | |
| Fixes #19265. | |||
| 2013-04-24 | Add a couple more version tests | Jack Nagel | |
| 2013-04-24 | Split up big version detection test | Jack Nagel | |
| 2013-04-22 | audit: warn about top-level methods | Jack Nagel | |
| 2013-04-21 | Remove global methods from formulae | Simon Sigurdhsson | |
| Removes any global methods from formulae, and moves #kext_prefix (which seems to be at least somewhat abstractable) into the Formula class. The only formula with global methods is now aspell; it (and its generating script in contrib) has been changed to prefix that method with `aspell_`, to minimize the risk of name collisions. Closes #19331. Closes #19343. Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2013-04-20 | Avoid calling to_s on the same Pathname multiple times | Jack Nagel | |
| 2013-04-18 | Don't accept Formula objects as dep specs | Jack Nagel | |
| It was pointed out that this isn't used at all. | |||
| 2013-04-17 | Reorder dep spec types by frequency | Jack Nagel | |
| 2013-04-17 | Add :hg build requirement. | Adam Vandenberg | |
| Closes #19074. | |||
| 2013-04-16 | Fix download strategy for SVN HEAD | Xiyue Deng | |
| After converting to Pathname to create paths, using '+=' will result in path concatenation by '/', which result in weird path like 'gcc--svn/-HEAD'. This patch should fix this. Closes #19233. Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2013-04-16 | VersionElement: attempt most likely match first | Jack Nagel | |
| 2013-04-16 | Only call Pathname#to_s once per Version object | Jack Nagel | |
| 2013-04-16 | Only dup and shift when specs hash is populated | Jack Nagel | |
| 2013-04-16 | Reduce repeated array inclusion check | Jack Nagel | |
| Currently we check if "tag" is present in LANGUAGE_MODULES for every String dep, even if tag is nil. Stop doing this, and make the LANGUAGE_MODULES array into a Set instead to improve lookup performance. | |||
| 2013-04-16 | Add tests for FormulaPin and simplify implementation | Jack Nagel | |
| 2013-04-15 | Update for Xcode 4.6.2 | Ashley Towns | |
| Closes #19227. Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2013-04-15 | Don't create MacOS.version multiple times | Jack Nagel | |
| 2013-04-15 | Optimize Version#<=> | Jack Nagel | |
| 2013-04-15 | Avoid expensive Pathname concatenation | Jack Nagel | |
| 2013-04-15 | Clean up remaining DownloadStrategy initializers | Jack Nagel | |
| 2013-04-14 | Avoid repeated interpolation here too | Jack Nagel | |
| 2013-04-14 | Style nit | Jack Nagel | |
| 2013-04-14 | Performance fix for Pathname#prepend_prefix | Jack Nagel | |
| See 05a456c231dc6da7cb0f7c70cb21feaf9a0d803c; same story. | |||
| 2013-04-14 | Performance fix for Pathname#chop_basename | Jack Nagel | |
| This is an internal method, but is called a bunch of times in performance-critical codepaths, and is ultra slow because the constant is interpoplated into the Regexp each time the method is called. Alas, this has been fixed in Ruby 1.9+. | |||
| 2013-04-14 | Avoid slow operations in FormulaPin#initialize | Jack Nagel | |
| A FormulaPin object is created every time Formula is instantiated, so don't do filesystem operations or Pathname concatenation eagerly. | |||
| 2013-04-14 | Don't use Pathname#/ in performance-critical code | Jack Nagel | |
| This method (well, really, #join) is *twice* as slow as simple concatenation, and shouldn't really be used at all in non-Formula code. | |||
| 2013-04-14 | Optimization: avoid repeated interpolation in regexp | Jack Nagel | |
| Benchmark.bm do |b| b.report("before") do 100_000.times { /(\.#{MacOS.cat}\.bottle\.(\d+\.)?tar\.gz)$/ } end b.report("after ") do 100_000.times { /(\.#{MacOS.cat}\.bottle\.(\d+\.)?tar\.gz)$/o } end end user system total real before 35.400000 0.140000 35.540000 ( 35.619674) after 0.020000 0.000000 0.020000 ( 0.016662) | |||
| 2013-04-14 | Keg requires OpenStruct | Jack Nagel | |
| 2013-04-14 | Only prune taps if taps exist. | Adam Vandenberg | |
| Closes #19192. | |||
