Up to [cvs.NetBSD.org] / pkgsrc / textproc / ruby-redcloth
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
textproc/ruby-redcloth: update to 4.3.3 pkgsrc change: update HOMEPAGE since redcloth.org dose not exist anymore. 4.3.3 (2023-11-02) * Add tests for CVE-2023-31606 [Helio Cola] * Fix rake compile [Helio Cola and Faria Education Group] * Fix CVE-2023-31606 (ReDOS possible in the sanitize_html function) [Kornelius Kalnbach and Merbin Russel]
Update ruby-redcloth to 4.3.2.
pkgsrc change: Add support for pkg_alternatives.
== 4.3.2 / May 23rd, 2016
* Fix additional case for CVE-2012-6684 [Joshua Siler]
== 4.3.1 / May 17th, 2016
* Fix additional case for CVE-2012-6684 [Joshua Siler]
== 4.3.0 / April 29th, 2016
* Remove JRuby and Windows cross compilation and support
* Add Ruby 2.2.3 testing and support
* include CVE-2012-6684 fix [Tomas Pospisek]
* fix by [Antonio Terceiro]
* see http://sources.debian.net/src/ruby-redcloth/4.2.9-4/debian/patches/0001-Filter-out-javascript-links-when-using-filter_html-o.patch/
* vulnerability reported by [Kousuke Ebihara]
* see http://co3k.org/blog/redcloth-unfixed-xss-en
== 4.2.9.1 / February 24, 2015
* Lazy-load latex_entities.yml [Charlie Somerville]
Add ${GEM_EXTSDIR}/gem.build_complete for new rubygems and updated ruby.
Add GEM_EXTSDIR support.
Update ruby-redcloth package to 4.2.9. == 4.2.9 / November 25, 2011 * Fix RbConfig / Config warning in Ruby 1.9.3. [Steve Purcell, Robert Gleeson, and unclaimedbaggage] * Use RSTRING_NOT_MODIFIED header for Rubinius [Dirkjan Bussink]
* Remove .require_paths from PLIST * Bump PKGREVISION.
Update ruby-redcloth package to 4.2.8. == 4.2.8 / August 17, 2011 * Do not treat warnings as errors so it compiles cleanly. [Tomasz WaĆkuski]
Update ruby-redcloth package to 4.2.7.
== 4.2.7 / Febrary 10, 2011
* Fixed typo in gemspec to make case-sensitive require work. [Gabe da Silveira]
* Tested installing the gem and requiring it with both cases on Ubuntu 8.04, 10.10 and OS X Version 10.6.6.
* Have spaces around the en-dash in LaTeX [Benjamin Quorning]
* Turned double-quote close to smart quotes in LaTeX [Jonathan D. Blake]
=== 4.2.6 / February 9, 2011
* Add case-sensitive require back into the gemspec.
* Fix rdoc options in gemspec.
=== 4.2.5 / February 7, 2011
* Fix bundler and rubygems-test incompatibilities. Working around bug:
https://github.com/carlhuda/bundler/issues/issue/1021
=== 4.2.4 / February 7, 2011
* Add .gemtest to opt-in to rubygems-test program (gem install rubygems-test to participate)
* Allow attributes to be set on hr and br tags [Jesse Stormier]
* Fix dangling <li> [Stephen Bannasch]
* Switch to bundler and rake-compiler for gem management/compilation
* Fix invalid YAML for Ruby 1.9.2 [Aaron Patterson]
Update ruby-redcloth to 4.2.0. Major changes since 4.0.4: * JRuby support! [olabini] * Added textilize ERB utility method. [edraut] * Compatible with Ruby 1.9. * Change to list attributes so you can give style/class to list items. * Ruby 1.9 string encodings are preserved * Table cell parsing has been enhanced to handle empty cells and cells containing text with line breaks * A major regression in the handling of notextile blocks has been fixed * There is better handling of quotes inside quoted phrases, question marks inside citations, etc. * Numerous LaTeX fixes thanks to NASA scientist Bil Kleb. * A pure-Ruby version of the state machine for those that absolutely can't compile the C extension or use the precompiled JRuby or Win32 binaries.
Remove @dirrm entries from PLISTs
Update ruby-redcloth to 4.0.4. *4.0.4 (October 1, 2008)* * Added some very basic support for images in LaTeX. [virtualfunction] * Fixed missed caps and inline modifiers wrapped in parentheses. #43, #45 * Removed indication of quotes explicitly with square brackets. Textile 2.0 does not support this and it wasn't in RedCloth 3. #46 * Made percent signs less greedy. They must surround a phrase or else they must be surrounded with square brackets, just like sup, sub, and del phrases. #47 * Reduced link eagerness so it wouldn't include preceding quoted phrases. #48 * Fixed compatibility issues with Ruby 1.9 [Keita Yamaguchi]. #52, 53, 54 * Fixed an error when a link was badly nested in parentheses. #55 * Fixed an error on superscript/subscript parenthetical phrase. #56 * Fixed bold phrases starting with a number being recognized as unordered lists. #60 * Fixed behavior of unclosed (multi-paragraph) quotes and incorrect handling of links inside double quotations. #59, #63 * Fixed empty block HTML disappearing. #64 *4.0.3 (August 18, 2008)* * Fix NoMethodError: private method gsub!' called for nil:NilClass when two dimensions followed by a space. #38 * Fixed unititialized constant RedCloth::TextileDoc with Rails 2.1. Came from a workaround for Rails bug #320 that was applied even when not necessary. #42 *4.0.2 (August 15, 2008)* * Fixed link references/aliases not being recognized when they include hyphens. #36 * Dimensions in feet and inches use correct typographic characters. #25 * Limit overzealous superscript and subscript. Sup/sub phrases must be surrounded by spaces or square brackets, as in Textile 2. #35 * Fixed HTML before tables causing the opening table tag to be emitted twice. #33 * Cleaned up unused code that was causing a warning. #28 * Workaround for Rails 2.1 bug that loads a previous version of RedCloth before loading the unpacked gem. Has since been fixed in edge rails. #30 * Added a RedCloth::VERSION.to_s and .== methods so you can puts and compare RedCloth::VERSION just like in previous RedCloth releases. #26 * Fixed HTML block ending tags terminating blocks prematurely. #22 *4.0.1 (July 24, 2008)* * Fixed lines starting with dashes being recognized as a definition list when there were no definitions. * Created alias RedCloth.rb so Rails 2.1 gem dependency works on case-sensitive operating systems . * Fixed parsing sentences that had two em dashes surrounded by spaces from becoming del phrases. #19 * Fixed links including prior quoted phrases. #17 *4.0.0 (July 21, 2008)* * New SuperRedCloth (RedCloth 4.0) is a total rewrite using Ragel for the parsing. * Markdown support has been removed. * Single newlines become <br> tags, just as in traditional RedCloth and other Textile parsers. * HTML special characters are automatically escaped inside code signatures, like Textile 2. This means you can simply write @<br />@ and the symbols are escaped whereas in RedCloth 3 you had to write @<br />@ to make the code fragment readable. * The restrictions parameter is observed just like previous versions (except :hard_breaks is now the default). * Arguments to RedCloth#to_html are called so extensions made for prior versions can work. Note: extensions need to be included rather than defined directly within the RedCloth class as was previously possible. * Custom block tags can be implemented as in the previous version, though the means of implementing them differs. * HTML embedded in the Textile input does not often need to be escaped from Textile parsing. * The parser will not wrap lines that begin with a space in paragraph tags. * Rudimentary support for LaTeX is built in. * RedCloth::VERSION on a line by itself inserts the version number into the output. * Output (less newlines and tabs) is identical to Textile 2 except a few cases where the RedCloth way was preferable. * Over 500 tests prevent regression * It's 40 times faster than the previous version.
Install as a gem using the pkgsrc rubygem.mk framework instead of directly into site_ruby.
Sort PLIST.
Update ruby-redcloth package to 3.0.4.
- version: 3.0.4
date: 2005-02-18
changes:
- The caps class doesn't swallow spaces.
- Horizontal rules required to be on an empty line.
- Hard breaks don't screw with Markdown headers any longer.
- Fixed error triggered by complex lists.
- Inline markups need to be butted up against enclosing text, no spaces.
- Fixed problem with intermingled single and double quotes.
- Brought back lite_mode.
Removed trailing white-space from line 1.
Fix PLIST. Bump PKGREVISION.
Import ruby-redcloth from pkgsrc-wip. Packaged by Rich Davies. RedCloth is a Ruby library for working with the Textile language (http://www.textism.com/tools/textile/).
Initial revision