Permalink
Browse files

* ext/fast_xs/fast_xs.c: patch for 1.8.5 to define RARRAY_PTR. thank…

…s, mike perham!
  • Loading branch information...
1 parent 92e8000 commit cd161c1bae2b2dd130ff7994467b72a0b810eff4 _why committed Mar 31, 2009
Showing with 9 additions and 1 deletion.
  1. +7 −0 CHANGELOG
  2. +1 −1 Rakefile
  3. +1 −0 ext/fast_xs/fast_xs.c
View
@@ -1,3 +1,10 @@
+= 0.8
+=== 31st March, 2009
+* Saving memory and speed by using RStruct-based elements in the C extension.
+* Bug in tag parsing, causing runaway <script> and <style> tags in HTML.
+* Problem compiling under Ruby 1.9, due to our_rb_hash_lookup function meant for Ruby 1.8.
+* CData was missing inner_text method.
+
= 0.7
=== 17th March, 2009
* Rewritten parser routine, much lighter on memory, quite a bit faster.
View
@@ -10,7 +10,7 @@ RbConfig = Config unless defined?(RbConfig)
NAME = "hpricot"
REV = (`#{ENV['GIT'] || "git"} rev-list HEAD`.split.length + 1).to_s
-VERS = ENV['VERSION'] || "0.7" + (REV ? ".#{REV}" : "")
+VERS = ENV['VERSION'] || "0.8" + (REV ? ".#{REV}" : "")
PKG = "#{NAME}-#{VERS}"
BIN = "*.{bundle,jar,so,o,obj,pdb,lib,def,exp,class}"
CLEAN.include ["ext/hpricot_scan/#{BIN}", "ext/fast_xs/#{BIN}", "lib/**/#{BIN}",
View
@@ -6,6 +6,7 @@
#ifndef RARRAY_LEN
#define RARRAY_LEN(arr) RARRAY(arr)->len
+#define RARRAY_PTR(arr) RARRAY(arr)->ptr
#define RSTRING_LEN(str) RSTRING(str)->len
#define RSTRING_PTR(str) RSTRING(str)->ptr
#endif

0 comments on commit cd161c1

Please sign in to comment.