Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thread Safety #171

Merged
merged 2 commits into from
Dec 24, 2016
Merged

Thread Safety #171

merged 2 commits into from
Dec 24, 2016

Conversation

gfx
Copy link
Collaborator

@gfx gfx commented Dec 24, 2016

Make pygments.rb thread-safe by instantiating Pygments::Popen per-thread.

NOTE: it does not change public methods but the internal is significantly changed.

@gfx gfx merged commit a9d2641 into master Dec 24, 2016
@gfx gfx deleted the thread_safe branch December 24, 2016 03:31
jsonn pushed a commit to jsonn/pkgsrc that referenced this pull request Mar 20, 2017
Version 1.1.1 (2016/12/28)
-----------------------------

* Suppress Ruby 2.4.0's warnings [#172](pygments/pygments.rb#172)
* Enable `frozen_string_literal` [#173](pygments/pygments.rb#173)

Version 1.1.0 (2016/12/24)
-----------------------------

* Support JRuby [#170](pygments/pygments.rb#170)
* Make pygments.rb thread safe [#171](pygments/pygments.rb#171)

Version 1.0.0 (2016/12/11)
-----------------------------

* Upgrade bundled pygments to 2.2.0-HEAD [#167](pygments/pygments.rb#167)
  * This includes **incompatible changes* because of upgrade of pygments.
    See http://pygments.org/ for details.
* Relax yajl-ruby dependency to "~> 1.2" [#164](pygments/pygments.rb#164)
* Python binary can be configured by `PYTMENTS_RB_PYTHON` env [#168](pygments/pygments.rb#168)
* Improved error messages when python binary is missing [#158](pygments/pygments.rb#158)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant