| Age | Commit message (Collapse) | Author |
|
|
|
attribute (PR #4148)
|
|
|
|
|
|
|
|
|
|
definitions [skip ci]
|
|
|
|
|
|
|
|
|
|
CLI (PR #4030)
|
|
|
|
attribute is locked (PR #4015)
|
|
|
|
non-numeric counter (PR #4003)
|
|
not modify locked attributes (PR #3944)
|
|
|
|
attribute-missing=drop-line (PR #3170)
|
|
* still honor header_footer option as fallback for backwards compatibility
|
|
|
|
|
|
to nil (PR #3063)
- change default value of fallback attribute name on attr/attr? to nil
- if fallback attribute name is true, look for same attribute on document
- look for table-frame, table-grid, and table-stripes attributes on document as fallback fro frame, grid, and stripes on table
|
|
comment to source files (PR #3055)
- replace gsub! and sub! with gsub and sub, respectively
- add `frozen_string_literal: true` magic comment to all Ruby source files
- see https://www.mikeperham.com/2018/02/28/ruby-optimization-with-one-magic-comment/
|
|
attribute name (PR #2940)
|
|
- don't store the options attribute on the block once the options are parsed
- only store options as individual attributes (e.g., header-option)
- add an options method on AbstractNode to retrieve the set of option names
- store partial-option as empty string instead of true
- reference low-level option attribute internally
|
|
- scope the role attribute to the block
- use attr/attr? to look up role with inheritance if necessary
- set role on document using role attribute instead of docrole attribute
|
|
- remove the DocBook45Converter class
- remove accomodations in DocBook5Converter for DocBook 4.5
- don't register the docbook45 backend name in the converter registry
- drop docbook45 from the backend CLI option values
- don't mention DocBook 4.5 in the man page
- don't mention DocBook 4.5 in the CLI usage statement
- update tests to use DocBook 5 instead of DocBook 4.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- switch to modern hash syntax (from :key => value to key: value)
- put space inside hash brackets (from {key: value} to { key: value }
- use dangling comma on last entry of multi-line hash
|
|
- use require_relative in place of require when it relied on $LOAD_PATH manipulation
- configure bin scripts to work with require_relative
- rename ROOT_PATH to ROOT_DIR
- rename DATA_PATH to DATA_DIR
- rename STYLESHEETS_DATA_PATH to STYLESHEETS_DIR
- define LIB_DIR
- simplify test helper require and setup
- add bindir helper to test suite
- remove unneeded constants in test helper
- reorder autoload statements
- require version directly instead of autoloading
|
|
- remove constants for differentiating between Ruby versions
- remove fallback assignment for RUBY_ENGINE constant
- remove rubygems require
- use unicode character properties in regular expressions (e.g., \p{Word})
- remove COERCE_ENCODING constant
- always set FORCE_ENCODING constant to true unless default external encoding is not UTF-8
- remove workaround for computing line length
- use lines method instead of lines.entries to get lines for string
- always normalize lines
- check if JRuby class is defined instead of checking for JRuby engine
- remove global RUBY_ENGINE_JRUBY constant
- move RUBY_ENGINE_OPAL constant inside Asciidoctor module
- remove magic encoding comments (since default script encoding is UTF-8)
- remove workaround when printing encoding information
- remove fallback assignments for passthrough escape characters
- remove Ruby core backports (only leave Asciidoctor-specific extensions)
- use __dir__ instead of File.dirname __FILE__
- use Float#truncate to truncate column widths
- override Float#truncate on Ruby 2.3 to implement precision argument
- remove concurrent/hash backport
- simplify class_for_name helper
- don't call to_sym on constants returned from constants method
- remove unnecessary aliasing of regexp match variables; use magic variable instead (e.g., m = $~)
- remove workaround for sub_specialchars to accomodate gsub with map argument
- remove comment about %:z placeholder for strftime
- don't call .to_a on return value of Hash#keys
- get home directory using Dir.home
- remove exceptions and exclusions for Ruby < 2 in test suite
- update list of supported Ruby engines and versions in READMEs
- update ruby versions in run-tests.sh
|
|
- rename render_string to convert_string
- rename render_embedded_string to convert_string_to_embedded
- rename render_inline_string to convert_inline_string
- use convert_inline_string where :doctype was being set to :inline
|
|
- remove both leading and trailing modifiers from attribute name
- add test to verify behavior
|
|
- use single gsub pass
- remove dropped lines, if any, in post-processing step
- cache compliance values correctly
- optimize for single-line case
- add missing guards to check for attribute reference head
|
|
- add Reader#mark method to mark position of cursor (store internally)
- add Reader#cursor_at_mark method to build Cursor from previously saved mark
- mark position of cursor after reading block attribute lines in Parser.next_block
- use Reader#cursor_at_mark to retrieve/record source location in Parser.next_block
- add cursor option to Reader#read_lines_until so unterminated block warning reports start location of block
- allow value of cursor option passed to Reader#read_lines_until to be :at_mark to read cursor from mark
- update test assertions
|
|
- using the shorthand syntax to set block attributes (id, roles, options) doesn't reset block style
- roles specified using shorthand syntax are additive
- parse style attribute eagerly, after reading each block attribute line
- simplify check for discrete heading
|
|
|
|
- add assert_message helper for asserting a single message
- add assert_messages helper for asserting multiple messages
- rewrite paths and reader tests to assert log messages instead of stderr stream
- assert message about illegal reference to parent is only reported on first violation when resolving system path
- use instance variable to store shared logger in tests
|
|
|
|
- use memory logger in some of the tests instead of capturing messages from stderr
- add test to verify basic formatter includes progname and source location in printed message
|
|
- support name!@, !name@, name!=@, and !name=@ syntax to soft unset attribute
- interpret false attribute value from API as soft unset
- allow modifier to be placed at end of name to soft set an attribute (e.g., icons@=font)
- add tests for all permutations of setting attributes from API
- minor refactoring
|
|
- replace use of render method with convert method
|
|
- replace assert_equal nil with assert_nil
|