summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2014-02-17set version to v1.5.0.preview.2Dan Allen
2014-02-17resolves #574 add -r and -I flags to asciidoctor commandDan Allen
2014-02-17resolves #876 an unresolved footnote ref should not crash processorDan Allen
2014-02-17small optimizationDan Allen
2014-02-17pass document as first argument to process method on PreprocessorDan Allen
2014-02-17include directive fixesDan Allen
- correct path calculation in Opal - raise IOError on 404 response in Opal - print message in document when include is not resolved - chomp endlines from template result when running in Opal
2014-02-16update name of processor instance if overridden at registrationDan Allen
2014-02-16merge pull request #852 from @bk2204Dan Allen
2014-02-16resolves #743 set defaults for file, path and dir in push_includeDan Allen
2014-02-16resolves #743 make Reader#push_include work without file / path infobrian m. carlson
2014-02-16minor optimizationsDan Allen
2014-02-16resolves #554 make docbook45 templates inherit from the docbook5 templatesDan Allen
2014-02-16resolves #554 switch default docbook backend to docbook5brian m. carlson
- switch docbook backend to docbook5. - make tests for DocBook 4.5 specify the correct backend - update documentation to reflect new docbook backend
2014-02-16call each thing by its right nameDan Allen
- rename Lexer to Parser - use dot notation instead of double colon notation for class methods
2014-02-16resolves #804 rewrite extensions to support extension instancesDan Allen
- rewrite extensions to support extension instances - class names, class instances and blocks are supported for every kind of extension - document extension APIs - introduce DSL for configuring extensions - add named group registration - add require library flag, -r, to cli for custom requires - add convenience methods on extension processor for creating various nodes - support lamba as process method - move all DSL methods to DSL classes - allow extension group or extensions registry to be passed to document - rename name dsl method to named; add helper method to parse content - refactor extension in Rakefile to work with new extension API - document extension APIs, use methods to retrieve all extensions - add default content model map to simplify Block creation - allow subs to be overridden in block constructor - add content_model option for macros to disable attribute parsing - allow empty target for block macro - add name_positional_attributes alias to pos_attrs option - rename methods to import dsl, update docs - don't output style on open block if nil, add missing endlines - pass attributes to Processor#parse_content - clear attributes if no block is dropped, update default content model map - duplicate attributes passed to processor; change return nil to return - add create method for example - add caption based on presence of <context>-caption attribute - move image postprocessing to generic location - add extension tests and docs - optimizations: - replace more calls to .nil? with truth checks - remove duplicate lookup of source in constructor - optimize caption assignment - cache path resolver - change order of truths in reader and document
2014-02-12resolves #896 rescue failure to resolve ::Dir.homeDan Allen
2014-02-12qualify RUBY_ENGINE_OPAL constantDan Allen
2014-02-12add support for resolving includes under OpalDan Allen
2014-02-12use $~[0] instead of $& for Opal compatibilityDan Allen
2014-02-10resolves #878 use glyphs for checkboxes when not using font iconsDan Allen
2014-02-07fix typo in capture group var assignmentDan Allen
2014-02-05fix spelling errorDan Allen
2014-02-05remove redundant character escapes in regexpsDan Allen
2014-02-05resolves #886 add time range anchor to video elementDan Allen
2014-02-03resolves #883 map null character to constant for Opal compatibilityDan Allen
- also move the declaration of the pass placeholder constants to Substitutors
2014-01-31ensure title attribute is only subbed onceDan Allen
2014-01-31remove unnecessary begin in Helpers.require_libraryDan Allen
2014-01-28fix duplicate local variable setting in cliDan Allen
2014-01-28additional optimizations and formattingDan Allen
2014-01-28an assortment of optimizations and formattingDan Allen
2014-01-28optimize AttributeList classDan Allen
2014-01-28split lines on string instead of regexpDan Allen
2014-01-28cleanup and optimize path resolverDan Allen
- store actual root when partitioning - handle dot directory correctly - memoize partition_path - add is_unc? method - optimize and format code
2014-01-28resolves #806 recognize Windows UNC path as absolute and preserve itDan Allen
2014-01-27resolves #805 adjust file glob to account for backslash in Windows pathsDan Allen
- additionally, don't glob if path is reachable file
2014-01-26resolves #853 match implicit URLs that use the file schemeDan Allen
2014-01-26resolves #870 allow attribute entry to reset / reseed counterDan Allen
2014-01-20follow-up fix for Opal compatibilityDan Allen
2014-01-20Opal compatibility fixesDan Allen
2014-01-20make the button styles look a bit nicerDan Allen
2014-01-20major refactoring of parser and regexpDan Allen
- move regexps from Hash to top-level constants - rename and document all regexps - remove unused regexps - use =~ instead of .match when MatchData isn't needed - use Regexp.match(String) form instead of String.match(Regexp) - fully qualify all stdlib class references - rename .nothing? to .nil_or_empty? - add several scan optimizations in parser and reader - slightly optimize paragraph renderer in HTML backend - don't wrap table header cell in simpara in DocBook backend - rename INTRINSICS to INTRINSIC_ATTRIBUTES - fixup inconsistent syntax
2014-01-19applied several optimizationsDan Allen
- introduce .nothing? method to combine check for nil? or empty? - add .chr method on String in Ruby 1.8.7 so we can use in higher versions - use [0] instead of first to access first element of Array - do sanity checks in more cases before running Regexp - use truth check instead of nil? check whereever possible - replace double quotes with %() on some interpolated strings
2014-01-19remove remaining uses of ERB internallyDan Allen
2014-01-19remove ERB from most DocBook templates; add some missing DocBook testsDan Allen
2014-01-18minor optimizationDan Allen
2014-01-18minor cleanupsDan Allen
2014-01-18remove ERB from HTML5 document templateDan Allen
2014-01-18optimizations and syntax cleanupsDan Allen
2014-01-18more efficient way to check for Extensions classDan Allen
2014-01-18minor syntax cleanupsDan Allen