Files | Admin

Notes:

Release Name: 1.7

Notes:
This release contains bugfixes and major performance enhancements.


Changes: * e428773 Bump version number post-release * df05fe4 Update link to issue tracker * baa33f4 Update README with donation instructions * 41965fb Remove stale comment * 3178948 Add comment justifying the scope_includes_space variable * 654f862 Automatically append link in _Wikitext_hyperlink * d3e9acd Make _Wikitext_hyperlink return void * ef7b60a Remove temporary string variable from _Wikitext_hyperlink * 0f4fbf0 Rename _Wikitext_hyperlink to _Wikitext_append_hyperlink * 43b9db8 Teach _Wikitext_append_hyperlink to check the autolink setting * 0996af6 Rename _Wikitext_downcase to _Wikitext_downcase_bang * 923e4f7 Redefine TOKEN_TEXT in terms of TOKEN_LEN * 12af298 Refactor _Wikitext_rollback_failed_link function and friends * 39e9ff5 Handle blank link text * a4654a0 Don't apply "external" class when rolling back failed external links * 1565585 Minor clean-up in _Wikitext_rollback_failed_external_link * efcb302 Reuse link_target if link_text is Qnil in _Wikitext_append_hyperlink * bc7f749 Improve efficiency of _Wikitext_pop_all_from_stack * 67836d6 Use _Wikitext_pop_all_from_stack before returning output * 26c1d56 Drop second param from _Wikitext_pop_all_from_stack * 15fa86b Convert space_to_underscore struct member to an int * e3e6c22 Convert autolink struct member to an int * 9b7e1bc Remove superfluous comments about autolinking * b2b1314 Convert pending_crlf struct member to an int * c762d64 Define and use TRUE and FALSE macros * 8dc9b9c Use char type for boolean struct members * 88b2ce8 Use C99 _Bool type * fff26a2 Reorder parser struct members for better word alignment * 3a92f50 Add "capturing" member to parser struct * 37022df Make parser struct participate in Ruby's Garbage Collection * ea1f3c0 Remove GC_WRAP_STR and GC_WRAP_ARY macros * dd018a2 Add str_append_rb_str function * 34032ad Partially revert "Remove GC_WRAP_STR and GC_WRAP_ARY macros" * 2744eba Change 4 VALUE (String) members of the parser_t struct to str_t type * e2c51be Overallocate for speed in str.c * 0946140 Remove str_new_no_copy function * 2ba0cb6 Add sanity checks to parsing benchmark scripts * 3e98fa2 Remove unnecessary allocation from _Wikitext_parser_sanitize_link_target * 8dc1c13 Collapse conditional inside _Wikitext_parser_sanitize_link_target * a6ac22f Refactor _Wikitext_utf32_char_to_entity (append to buffer) * 619a504 Make _Wikitext_parser_sanitize_link_target return void * 9bb93fe Avoid copying string backing when returning from parse function * 65abcb4 Reformat _Wikitext_utf8_to_utf32 for better readability * 4b0a88b Remove unused str_swap function * b389984 Remove unused str_new_size function * d125bbd Make link_target parameter a pointer to str in append hyperlink function * 4843a7e Remove unnecessary string_from_str call in _Wikitext_parser_encode_link_target * 998be3c Make link_text parameter a pointer to str in append hyperlink function * 8f0b2b8 Update benchmarking notes * f481d5a Change emit parameter of _Wikitext_dedent to bool type * 7ac7aee Collapse a conditional in EXT_LINK_START case * 246578c Rename "rollback" param in _Wikitext_parser_append_sanitized_link_target * 4628a67 Rename _Wikitext_parser_* functions to _Wikitext_* * 0ac6375 Avoid allocation in _Wikitext_append_sanitized_link_target * 792889f Style fix * 597a542 Drop INVALID_ENCODING macro * 9990a69 Invert sense of "trim" parameter in _Wikitext_append_sanitized_link_target * 6147092 Remove unnecessary "dest" pointer in _Wikitext_append_sanitized_link_target * 17c7a94 _Wikitext_append_sanitized_link_target consistency changes * 8e0caf8 Remove unnecessary "len" variables * c1c3e3e Add encoding markers to benchmark files for Ruby 1.9 * 7051f61 Preliminary fix for Ruby 1.9 compatibility * 33cd74f Conditional compilation for Ruby 1.8.x and 1.9.x * 299b705 Remove unnecessary include * af4d055 Rename input var in _Wikitext_encode_link_target * 7b6f8f7 Minor reshuffling in _Wikitext_encode_link_target * cbfe571 Remove unnecessary parens * b6026ba Abandon plan to eliminate ALLOC_N in _Wikitext_encode_link_target * ffee17f Clean up code-level docs for _Wikitext_encode_link_target function * 1697891 Remove Wikitext_parser_encode_special_link_target function * f396e5f Remove comment from _Wikitext_append_entity_from_utf32_char * 86eebc3 Pass str_t output param to _Wikitext_append_entity_from_utf32_char * 90a0704 Remove unnecessary parens * a808223 Collapse H*_END rules into a single case * 96a5da3 Update release notes for forthcoming 1.7 release * 1b9517e Change internal function prefix from "_Wikitext_" to "wiki_" * f6b7627 Change remaining instances of "_Wikitext_" to "wiki_" * d7913ce Bump version number for 1.7 release For the full details of these commits please see the source code repository at: http://git.wincent.com/wikitext.git See also the release notes in the RDoc: http://wikitext.rubyforge.org/