Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | defines a private require-hub active_support/rails | Xavier Noria | 2012-08-02 | 1 | -0/+1 |
| | | | | | | | | This is a private place to put those AS features that are used by every component. Nowadays we cherry-pick individual files wherever they are used, but that it is not worth the effort for stuff that is going to be loaded for sure sooner or later, like blank?, autoload, concern, etc. | ||||
* | TestCase does not need to be loaded when loading the framework | Aaron Patterson | 2012-06-15 | 1 | -1/+3 |
| | |||||
* | Revert "AV::TestCase does not need to be loaded when eagerly loading the" | Aaron Patterson | 2012-06-14 | 1 | -2/+1 |
| | | | | This reverts commit f5e7cb84cd377feb1b60c5356ce02123e9c94380. | ||||
* | AV::TestCase does not need to be loaded when eagerly loading the | Aaron Patterson | 2012-06-14 | 1 | -1/+2 |
| | | | | framework | ||||
* | Fix the build | Santiago Pastorino | 2012-05-22 | 1 | -1/+0 |
| | |||||
* | require active_support/lazy_load_hooks where is needed | Santiago Pastorino | 2012-05-22 | 1 | -0/+1 |
| | |||||
* | Lazy load I18n | Santiago Pastorino | 2012-05-11 | 1 | -2/+3 |
| | |||||
* | Move require to where it's needed | Santiago Pastorino | 2012-05-11 | 1 | -2/+0 |
| | |||||
* | Remove ruby/shim | Santiago Pastorino | 2012-05-11 | 1 | -1/+1 |
| | | | | require 'action_view' is now much faster | ||||
* | Merge pull request #4248 from andrew/2012 | Vijay Dev | 2011-12-31 | 1 | -1/+1 |
|\ | | | | | Updated copyright notices for 2012 | ||||
| * | Updated copyright notices for 2012 | Andrew Nesbitt | 2011-12-31 | 1 | -1/+1 |
| | | |||||
* | | Fixes for using action view template in isolation. | José Valim | 2011-11-30 | 1 | -0/+1 |
| | | |||||
* | | Rename AV::Helpers::AssetPaths to AV::AssetPaths to solve autoload mess. | José Valim | 2011-06-21 | 1 | -0/+1 |
| | | |||||
* | | Remove autoload for a couple of constants which don't exist anymore | brainopia | 2011-05-31 | 1 | -5/+0 |
|/ | |||||
* | Oops, missing autoload, closes #466 | José Valim | 2011-05-09 | 1 | -0/+1 |
| | |||||
* | Tidy up pending TODOs after discussion with Mr. Gatoz (@wycats). | José Valim | 2011-05-01 | 1 | -1/+0 |
| | |||||
* | Remove view dependency from AV::Renderer. | José Valim | 2011-05-01 | 1 | -0/+1 |
| | |||||
* | More cleanup and moving responsibilities around. | José Valim | 2011-05-01 | 1 | -1/+0 |
| | |||||
* | Start abstracting the renderer. | José Valim | 2011-05-01 | 1 | -1/+1 |
| | |||||
* | Yo dawg, I heard you like streaming. So I put a fiber, inside a block, ↵ | José Valim | 2011-04-16 | 1 | -1/+11 |
| | | | | inside a body, so you can stream. | ||||
* | Initial work on fibered layout. | José Valim | 2011-04-16 | 1 | -0/+1 |
| | |||||
* | We're in 2011, let's update our license | Prem Sichanugrist | 2011-02-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | SReorganize autoloads slightly and move two files to lib/action_view root. | José Valim | 2010-10-14 | 1 | -9/+6 |
| | |||||
* | removing some load path tomfoolery | Aaron Patterson | 2010-10-11 | 1 | -3/+0 |
| | |||||
* | fixing railties tests | Aaron Patterson | 2010-10-11 | 1 | -1/+0 |
| | |||||
* | Do not allow templates coming from Fallback resolvers to store a virtual path. | José Valim | 2010-10-10 | 1 | -0/+1 |
| | |||||
* | Clean up the house before moving in the new furniture. | José Valim | 2010-10-10 | 1 | -1/+7 |
| | | | | This commit moves all the template rendering logic that was hanging around AV::Base to renderer objects. | ||||
* | Cleaned up autoload definitions. | Łukasz Strzałkowski | 2010-09-02 | 1 | -15/+20 |
| | | | | | | Now it's more transparent, and readable Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | No need to delegate. Simply include the whole RecordIdentifier module. | José Valim | 2010-07-21 | 1 | -0/+1 |
| | |||||
* | Revert "Moved encoding work in progress to a feature branch." | wycats | 2010-05-17 | 1 | -1/+5 |
| | | | | This reverts commit ade756fe42423033bae8e5aea8f58782f7a6c517. | ||||
* | Moved encoding work in progress to a feature branch. | Jeremy Kemper | 2010-05-16 | 1 | -5/+1 |
| | | | | This reverts commits af0d1a88157942c6e6398dbf73891cff1e152405 and 64d109e3539ad600f58536d3ecabd2f87b67fd1c. | ||||
* | Significantly improved internal encoding heuristics and support. | wycats | 2010-05-16 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Default Encoding.default_internal to UTF-8 * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file * Read templates as BINARY, use default_external or template-wide magic comments inside the Template to set the initial encoding * This means that template handlers in Ruby 1.9 will receive Strings encoded in default_internal (UTF-8 by default) * Create a better Exception for encoding issues, and use it when the template source has bytes that are not compatible with the specified encoding * Allow template handlers to opt-into handling BINARY. If they do so, they need to do some of their own manual encoding work * Added a "Configuration Gotchas" section to the intro Rails Guide instructing users to use UTF-8 for everything * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid $KCODE value is used Also: * Fixed a few tests that were assert() rather than assert_equal() and were caught by Minitest requiring a String for the message * Fixed a test where an assert_select was misformed, also caught by Minitest being more restrictive * Fixed a test where a Rack response was returning a String rather than an Enumerable | ||||
* | Initial work to improve the state of encodings for templates | wycats | 2010-05-16 | 1 | -0/+2 |
| | |||||
* | Eliminate an error from an implicit dependency on AV::Base | wycats | 2010-03-19 | 1 | -1/+3 |
| | |||||
* | Optimize and clean up how details key get expired. | José Valim | 2010-03-10 | 1 | -0/+1 |
| | |||||
* | Merge master. | José Valim | 2010-03-08 | 1 | -7/+7 |
|\ | |||||
| * | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | ||||
* | | Rename Template::Lookup to LookupContext. | José Valim | 2010-03-08 | 1 | -0/+1 |
| | | |||||
* | | More refactoring on the views side of rendering. | José Valim | 2010-03-08 | 1 | -0/+1 |
|/ | |||||
* | Merge branch 'master' of git://github.com/rails/rails | Mikel Lindsaar | 2010-02-02 | 1 | -2/+1 |
|\ | |||||
| * | Deleted all references to ActionView::SafeBuffer in favor of ↵ | Santiago Pastorino | 2010-01-31 | 1 | -2/+0 |
| | | | | | | | | | | | | ActiveSupport::SafeBuffer Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
| * | action_view/safe_buffer is no longer valid | Santiago Pastorino | 2010-01-31 | 1 | -1/+0 |
| | | | | | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
| * | For performance reasons, you can no longer call html_safe! on Strings. ↵ | Yehuda Katz | 2010-01-31 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe. | ||||
* | | Updating copyright dates on all licenses | Mikel Lindsaar | 2010-02-01 | 1 | -1/+1 |
|/ | |||||
* | Autoload AC and AV test case classes | Joshua Peek | 2010-01-04 | 1 | -0/+2 |
| | |||||
* | Remove the ActionView::Base autoload because it creates crazy circular ↵ | Carlhuda | 2009-12-23 | 1 | -1/+1 |
| | | | | autoload insanity | ||||
* | Flip deferrable autoload convention | Joshua Peek | 2009-12-22 | 1 | -20/+21 |
| | |||||
* | Add active_support/ruby/shim to the default requirements for AP components | Yehuda Katz | 2009-12-20 | 1 | -1/+1 |
| | |||||
* | Fully expand relative rails framework paths and make sure we aren't | Joshua Peek | 2009-12-16 | 1 | -7/+6 |
| | | | | adding any to the load path more than once. | ||||
* | Add autoloads for ActionView::Template* classes, and an ↵ | Nathan Weizenbaum | 2009-12-10 | 1 | -0/+4 |
| | | | | | | ActionView::TemplateError alias for ActionView::Template::Error. Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> |