summaryrefslogtreecommitdiff
path: root/ext/erb/escape
AgeCommit message (Collapse)Author
2025-10-13[ruby/erb] html_escape: refactor redundant ifSharon Rosner
(https://github.com/ruby/erb/pull/88) https://github.com/ruby/erb/commit/c231ced3f4
2025-10-12[ruby/erb] Fix integer overflowNobuyoshi Nakada
Fix https://github.com/ruby/erb/pull/87 https://github.com/ruby/erb/commit/75764f022b
2025-10-11[ruby/erb] html_escape: Avoid buffer allocation for strings with noSharon Rosner
escapable character (https://github.com/ruby/erb/pull/87) This change improves reduces allocations and makes `html_escape` ~35% faster in a benchmark with escaped strings taken from the `test_html_escape` test in `test/test_erb.rb`. - Perform buffer allocation on first instance of escapable character. - Instead of copying characters one at a time, copy unescaped segments using `memcpy`. https://github.com/ruby/erb/commit/aa482890fe
2025-07-15[ruby/erb] Declare escape functions as Ractor-safeJohn Hawthorn
(https://github.com/ruby/erb/pull/63) https://github.com/ruby/erb/commit/fdd45c0d89
2025-05-12[ruby/erb] [DOC] Make documentation 100%Nobuyoshi Nakada
https://github.com/ruby/erb/commit/9152ce8db4
2024-01-04[ruby/erb] Skip building a native extension for JRubyTakashi Kokubun
https://github.com/ruby/erb/commit/f0f68baf6b
2022-11-27[ruby/erb] Skip using the extension for truffleruby as wellTakashi Kokubun
(https://github.com/ruby/erb/pull/39) * Skip using the extension for truffleruby as well * Just skip building the C extension for TruffleRuby * Skip rake compile for truffleruby * Use resolve_feature_path * Revert "Use resolve_feature_path" This reverts commit https://github.com/ruby/erb/commit/acc1e0c0ffaf. * Use resolve_feature_path with LoadError guard https://github.com/ruby/erb/commit/85dcb08439
2022-11-26[ruby/erb] Define ERB::Escape moduleTakashi Kokubun
(https://github.com/ruby/erb/pull/38) Close #32
2022-11-25[ruby/erb] Keep ERB::Util#html_escape privateTakashi Kokubun
ERB::Util.html_escape has been public, but ERB::Util#html_escape had been private. https://github.com/ruby/erb/commit/e62210bf56
2022-11-24[ruby/erb] Rename erb.so to erb/escape.soTakashi Kokubun
(https://github.com/ruby/erb/pull/35) https://github.com/ruby/erb/commit/1280046952