Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Forgot to update load path dir for vendored memcache | Joshua Peek | 2009-09-14 | 2 | -2/+1 | |
| | ||||||
* | Skip parent isolation tests too | Jeremy Kemper | 2009-09-13 | 1 | -121/+123 | |
| | ||||||
* | Bump vendored memcache to 1.7.5 | Joshua Peek | 2009-09-13 | 1 | -93/+292 | |
| | ||||||
* | Rollback AS bundler work and improve activation of vendored dependencies | Joshua Peek | 2009-09-13 | 14 | -87/+51 | |
| | ||||||
* | Callbacks need to require reporting | Joshua Peek | 2009-09-13 | 1 | -0/+1 | |
| | ||||||
* | Restore AS vendor file until we get things sorted out in railties | Joshua Peek | 2009-09-13 | 2 | -0/+28 | |
| | ||||||
* | Don't eager require mocha, AS unit needs to set stuff up first | Joshua Peek | 2009-09-13 | 1 | -1/+1 | |
| | ||||||
* | Detect missing dependencies and automatically run bundler | Joshua Peek | 2009-09-13 | 4 | -13/+32 | |
| | ||||||
* | Shush interpolation warnings | Joshua Peek | 2009-09-13 | 1 | -2/+6 | |
| | ||||||
* | Forget about old memoize immutable behavior | Joshua Peek | 2009-09-13 | 1 | -10/+0 | |
| | ||||||
* | Load vendored i18n if its not found since its a real requirement | Joshua Peek | 2009-09-13 | 1 | -1/+7 | |
| | ||||||
* | Avoid referencing rubygems | Joshua Peek | 2009-09-13 | 1 | -1/+1 | |
| | ||||||
* | Move AS vendor support into bundler. | Joshua Peek | 2009-09-13 | 155 | -36/+35 | |
| | | | Run `rake bundle` before running tests. | |||||
* | require reporting before attempting to "shush" | Joshua Peek | 2009-09-13 | 2 | -0/+3 | |
| | ||||||
* | Shush, new_callbacks | Jeremy Kemper | 2009-09-13 | 1 | -2/+4 | |
| | ||||||
* | Shush, rexml | Jeremy Kemper | 2009-09-13 | 2 | -3/+3 | |
| | ||||||
* | Prefer not to shadow a local | Jeremy Kemper | 2009-09-13 | 1 | -1/+1 | |
| | ||||||
* | Ignore isolation test tests for test-unit 2 also | Jeremy Kemper | 2009-09-13 | 1 | -2/+3 | |
| | ||||||
* | Clean up spurious JSON decoding test failure | Jeremy Kemper | 2009-09-13 | 4 | -16/+7 | |
| | ||||||
* | Ruby 1.9 compat: fix regexp slice test | Jeremy Kemper | 2009-09-13 | 1 | -1/+1 | |
| | ||||||
* | Silence warning for Encoding.default_external= | Jeremy Kemper | 2009-09-13 | 1 | -9/+5 | |
| | ||||||
* | Use Encoding.default_external, not _internal | Jeremy Kemper | 2009-09-13 | 2 | -10/+10 | |
| | ||||||
* | activesupport -> active_support | Jeremy Kemper | 2009-09-13 | 1 | -3/+2 | |
| | ||||||
* | making secure_compare faster | Aaron Patterson | 2009-09-13 | 1 | -28/+8 | |
| | | | | | | [#3195 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Dup the arguments to string compare so we can use force_encoding. | Michael Koziarski | 2009-09-13 | 1 | -2/+2 | |
| | ||||||
* | Revert "ruby 1.9 friendly secure_compare" because it breaks CI and Sam ↵ | Yehuda Katz | 2009-09-12 | 1 | -6/+9 | |
| | | | | | | Ruby's suite This reverts commit 5de75398c495f109772b622291362a98bc6c21d1. | |||||
* | Revert "Allow frameworks to be required by their gem name" | Jeremy Kemper | 2009-09-12 | 1 | -1/+0 | |
| | | | | | | | This has just been confusing. Better to educate than band-aid. This reverts commit 18a24274ec823ded4ffa29bf33fd3d76816aab7e. Originally from http://dev.rubyonrails.org/ticket/8845 [drnic] | |||||
* | ruby 1.9 friendly secure_compare | Jakub Kuźma | 2009-09-12 | 1 | -9/+6 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Remove redundant checks for valid character regexp in ↵ | Beau Harrington | 2009-09-10 | 1 | -2/+2 | |
| | | | | | | | | ActiveSupport::Multibyte#clean and #verify. [#3181 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Refactor new callbacks and AR implementation. | José Valim | 2009-09-08 | 2 | -67/+103 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Changed ActiveRecord to use new callbacks and speed up observers by only ↵ | José Valim | 2009-09-08 | 2 | -46/+65 | |
| | | | | | | notifying events that are actually being consumed. Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Ruby 1.9: fix MessageVerifier#secure_compare | Jeremy Kemper | 2009-09-08 | 1 | -9/+27 | |
| | ||||||
* | Please 1.8.6 CI | Joshua Peek | 2009-09-07 | 1 | -0/+3 | |
| | ||||||
* | Fix failing AS isolated tests | Joshua Peek | 2009-09-05 | 4 | -3/+14 | |
| | ||||||
* | Turn warnings on for AS isolated tests | Joshua Peek | 2009-09-05 | 1 | -1/+1 | |
| | ||||||
* | Fix a messed up merge commit | Michael Koziarski | 2009-09-04 | 1 | -4/+0 | |
| | ||||||
* | Add verify and clean methods to ActiveSupport::Multibyte. | Michael Koziarski | 2009-09-04 | 4 | -18/+239 | |
| | | | | | | | | | | | | When accepting character input from outside of your application you can't blindly trust that all strings are properly encoded. With these methods you can check incoming strings and clean them up if necessary. Signed-off-by: Michael Koziarski <michael@koziarski.com> Conflicts: activesupport/lib/active_support/multibyte.rb | |||||
* | Fix timing attack vulnerability in ActiveSupport::MessageVerifier. | Coda Hale | 2009-09-04 | 1 | -3/+16 | |
| | | | | | | Use a constant-time comparison algorithm to compare the candidate HMAC with the calculated HMAC to prevent leaking information about the calculated HMAC. Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Add required dependencies on activemodel | Carl Lerche | 2009-09-01 | 1 | -1/+1 | |
| | ||||||
* | Add rake gemspec and gemspecs to the repo | Yehuda Katz | 2009-08-31 | 2 | -0/+34 | |
| | ||||||
* | Duplicating the options hash in Date#advance to prevent modification of the ↵ | Jay Pignata | 2009-08-31 | 2 | -0/+7 | |
| | | | | | | original [#1133 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Eliminate warnings from Regexp multiline extension tests | Jeffrey Hardy | 2009-08-26 | 1 | -3/+3 | |
| | | | | | | [#3103 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Correct Regexp#un/optionalize assertions and fix uncovered failures | Jeffrey Hardy | 2009-08-26 | 2 | -6/+8 | |
| | | | | | | [#3102 state:incomplete] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Ruby 1.9: fix Time#beginning_of_day inaccuracy due to subtracting a Float | Jeremy Kemper | 2009-08-22 | 1 | -1/+2 | |
| | ||||||
* | Skip isolation test tests when using MiniTest | Jeremy Kemper | 2009-08-15 | 1 | -2/+4 | |
| | ||||||
* | Allow superclass_delegating_accessor to take a block for initial set. | Yehuda Katz | 2009-08-11 | 1 | -3/+4 | |
| | ||||||
* | More perf work: | Yehuda Katz | 2009-08-11 | 1 | -7/+15 | |
| | | | | | | | | | | | | | | * Move #set_cookie and #delete_cookie inline to optimize. These optimizations should almost certainly be sent back upstream to Rack. The optimization involves using an ivar for cookies instead of indexing into the headers each time. * Was able to use a bare Hash for headers now that cookies have their own joining semantics (some code assumed that the raw cookies were an Array). * Cache blankness of body on body= * Improve expand_cache_key for Arrays of a single element (common in our case) * Use a simple layout condition check unless conditions are used * Cache visible actions * Lazily load the UrlRewriter * Make etag an ivar that is set on prepare! | |||||
* | Got overhead down from 127 to 85. All tests pass: | Yehuda Katz | 2009-08-11 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Tentatively replaced HeaderHash with SimpleHeaderHash, which does not preserve case but does handle converting Arrays to Strings in to_hash. This requires further discussion. * Moved default_charset to ActionDispatch::Response to avoid having to hop over to ActionController. Ideally, this would be a constant on AD::Response, but some tests expect to be able to change it dynamically and I didn't want to change them yet. * Completely override #initialize from Rack::Response. Previously, it was creating a HeaderHash, and then we were creating an entirely new one. There is no way to call super without incurring the overhead of creating a HeaderHash. * Override #write from Rack::Response. Its implementation tracks Content-Length, and doing so adds additional overhead that could be mooted if other middleware changes the body. It is more efficiently done at the top-level server. * Change sending_file to an instance_variable instead of header inspection. In general, if a state is important, it should be set as a property of the response not reconstructed later. * Set the Etag to @body instead of .body. AS::Cache.expand_cache_key handles Arrays fine, and it's more efficient to let it handle the body parts, since it is not forced to create a joined String. * If we detect the default cache control case, just set it, rather than setting the constituent parts and then running the normal (expensive) code to generate the string. | |||||
* | Allow delegating to nil, because the method might actually exist on it | Bryan Helmkamp | 2009-08-10 | 2 | -5/+21 | |
| | ||||||
* | Correctly handle offsets in Multibyte::Chars#index and #rindex. | Erik Ostrom | 2009-08-09 | 2 | -4/+11 | |
| | | | | | | | | The offset in codepoints was being passed directly to the wrapped string's index/rindex method. Now we translate the offset into bytes first. [#3028 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |