495 Commits

Author SHA1 Message Date
Dimitry Ivanov
066b634bee Migrated existing tests to new format 2018-12-17 18:25:48 +03:00
Dimitry Ivanov
1245712ef6 Migrating tests to new format 2018-12-17 17:10:58 +03:00
Dimitry Ivanov
7c473b3d37 Change markwon render return type to Spanned 2018-12-17 16:19:31 +03:00
Dimitry Ivanov
414a8763f2 Redefine test format 2018-12-17 16:18:20 +03:00
Dimitry Ivanov
448a620399 Add TestSpan module 2018-12-17 14:40:23 +03:00
Dimitry Ivanov
5a18aa3a01 Remove ext tests from core module 2018-12-13 19:05:49 +03:00
Dimitry Ivanov
c6349738ad Prepare for 2.0.1 release v2.0.1 2018-12-10 15:15:42 +03:00
Dimitry
26bfb7f2e2
V2.0.1 fixed (#83)
* `SpannableMarkdownVisitor` Rename blockQuoteIndent to blockIndent
* Fixed block new lines logic for block quote and paragraph (#82)
* AsyncDrawable fix no dimensions bug (#81)
* Update SpannableTheme to use Px instead of Dimension annotation
* Allow TaskListSpan isDone mutation 
* Updated commonmark-java to 0.12.1
* Add OrderedListItemSpan measure utility method (#78)
* Add SpannableBuilder#getSpans method
* Fix DataUri scheme handler in image-loader (#74)
* Introduced a "copy" builder for SpannableThem
  Thanks @c-b-h 🙌
2018-12-10 14:58:40 +03:00
Dimitry Ivanov
078d4dfc38 Add README to ext-latex module 2018-12-03 17:58:24 +03:00
Dimitry Ivanov
582b9209d9 Fix typo in AsyncDrawable waitingForDimensions 2018-12-03 17:32:27 +03:00
Dimitry Ivanov
577c3fc782 Add markwon-ext-latex module extension 2018-12-02 16:29:47 +03:00
Dimitry Ivanov
6a82b75aba Update sample-custome-extension to use plugin 2018-12-02 15:32:41 +03:00
Dimitry Ivanov
f97c852c8a Remove listlevel internal state 2018-12-02 15:22:11 +03:00
Dimitry Ivanov
5b61521e30 Remove increment/decrement blockIndent from visitor 2018-12-02 15:09:15 +03:00
Dimitry Ivanov
19cd94febb Specific node visitors for core nodes 2018-12-02 14:29:27 +03:00
Dimitry Ivanov
42aab2280e Rename blockQuoteIndent to blockIndent 2018-12-02 14:04:58 +03:00
Dimitry Ivanov
b52de58fbd Applying fix from 2.0.1 to blockQuote and paragraph (fac23ef) 2018-12-02 14:02:04 +03:00
Dimitry Ivanov
ca231ab2d8 AsyncDrawable fix no dimensions bug 2018-12-02 13:57:49 +03:00
Dimitry Ivanov
b6b360b736 Add before and after render methods to plugin 2018-12-02 13:54:08 +03:00
Dimitry Ivanov
dc9a4dbf56 Removed html from core artifact 2018-11-26 17:27:53 +03:00
Dimitry Ivanov
d48b33e9a5 Add extension modules 2018-11-26 16:46:55 +03:00
Dimitry Ivanov
6eb8e64d75 Add bufferType Markwon option and fix GIF in sample 2018-11-26 16:11:16 +03:00
Dimitry Ivanov
66bb33a76b Create HtmlPlugin 2018-11-26 15:51:16 +03:00
Dimitry Ivanov
27ed17aaff Move all html entities to markwon-html module 2018-11-26 15:16:11 +03:00
Dimitry Ivanov
2efd12f020 Syntax highlight plugin, image modules (svg, gif), working sample application 2018-11-25 15:48:58 +03:00
Dimitry Ivanov
3526e16565 Core functionality plugin 2018-11-24 16:59:20 +03:00
Dimitry Ivanov
498c811987 POC for plugin system 2018-11-24 16:03:08 +03:00
Dimitry Ivanov
340ce5753c Update README (apps using...) 2018-11-22 13:35:45 +03:00
Dimitry Ivanov
82b8f2fdfd Update SpannableTheme to use Px instead of Dimension annotation 2018-11-22 13:08:01 +03:00
Dimitry Ivanov
b531684872 Allow TaskListSpan isDone mutation 2018-11-22 13:05:14 +03:00
Dimitry Ivanov
65ece1621c Updated commonmark-java to 0.12.1 2018-11-22 13:02:48 +03:00
Dimitry Ivanov
b2a467ffe9 Add OrderedListItemSpan measure utility method 2018-11-20 15:17:30 +03:00
Dimitry Ivanov
cb917e7391 Adding tests for SpannableBuilder 2018-11-05 12:14:15 +03:00
Dimitry Ivanov
7a1b76af66 Add SpannableBuilder#getSpans method 2018-11-04 15:37:17 +03:00
Dimitry Ivanov
cbf9a7b4a6 Small NB to build.gradle 2018-11-04 14:15:22 +03:00
Dimitry Ivanov
eb232037a1 Update syntaxHighlight test 2018-11-04 14:15:10 +03:00
Dimitry Ivanov
3eea327671 Add travis CI build status badge 2018-11-04 13:44:09 +03:00
Dimitry Ivanov
b9c1107f56 Add syntaxHighlight small test 2018-11-04 13:08:55 +03:00
Dimitry Ivanov
6dade2bf98 Update travis config to use 28.0.3 2018-11-04 12:59:26 +03:00
Dimitry Ivanov
499b8b47fc Update android gradle plugin to 3.2.1 2018-11-04 12:59:20 +03:00
Dimitry Ivanov
fed3d1fe33 Fix DataUri scheme handler in image-loader 2018-11-04 12:59:09 +03:00
Cyrus Bakhtiari-Haftlang
f78f153f9c Introduced a "copy" builder for SpannableTheme (#72) 2018-11-04 12:58:58 +03:00
Dimitry Ivanov
ca9e63b9fe Version 2.0.1-SNAPSHOT 2018-11-04 12:58:47 +03:00
Dimitry
e0563dca43
V2.0.0 (#66)
* Add `html-parser-api` and `html-parser-impl` modules
* Add `HtmlEmptyTagReplacement`
* Implement Appendable and CharSequence in SpannableBuilder
* Renamed library modules to reflect maven artifact names
* Rename `markwon-syntax` to `markwon-syntax-highlight`
* Add HtmlRenderer asbtraction
* Add CssInlineStyleParser
* Fix Theme#listItemColor and OL
* Fix task list block parser to revert parsing state when line is not matching
* Defined test format files
* image-loader add datauri parser
* image-loader add support for inline data uri image references
* Add travis configuration
* Fix image with width greater than canvas scaled
* Fix blockquote span
* Dealing with white spaces at the end of a document
* image-loader add SchemeHandler abstraction
* Add sample-latex-math module
v2.0.0
2018-09-17 13:15:58 +03:00
Dimitry Ivanov
8ef4a72131 Change version to 1.1.1 v1.1.1 2018-08-18 12:49:39 +03:00
Dimitry
20159bef7f
V1.1.1 (#60)
* Fix OrderedListItemSpan text position (baseline) (#55)
* Add softBreakAddsNewLine option for SpannableConfiguration (#54)
* Paragraph text can now explicitly be spanned (#58) 
  Thanks to @c-b-h!
* Fix table border color if odd background is specified (#56)
* Add table customizations (even and header rows)
2018-08-18 12:45:55 +03:00
Dimitry
7c7b1f59a8
V1.1.0 (#53)
* Update build configuration

* Update commonmark to 0.11.0 and android-gif to 1.2.14

* Add  module `library-syntax`

* Add default prism4j theme implementation

* Add syntax highlight to sample app

* Update syntax highlight to use SpannableStringBuilder

* Working with syntax rendering

* Add darkula theme to syntax highlight

* Add  attribute for image-loader module

* Update version to 1.1.0-SNAPSHOT

* Updating build configuration for snapshot publish

* Add headingTypeface, headingTextSizes to SpannableTheme (#51)

* Add headingTypeface to SpannableTheme, use a custom heading typeface in the sample app

* Add headingTextSizes

* Switching to headingTextSizeMultipliers, adding validating annotations, adding example

* Consolidate logic, add crash if header index is out of bounds

* Add small version clarifications

* Introduce MediaDecoder abstraction for image-loader module

* Switch to use SpannableFactory

* Switch to use SpannableFactory for html parsing

* Update sample application to add play-pause functionality for gifs

* Small cleanup

* Update prism4j version 1.1.0

* Update build configuration

* Add README to library-syntax module

* Update README
v1.1.0
2018-07-30 15:19:42 +02:00
Dimitry Ivanov
5ef985670a Rename final apk artifact name 2018-06-26 18:46:51 +02:00
Dimitry
cb66618d3a
V1.0.6 (#46)
* Fix bullet list item size (depend on text size and not top-bottom arguments)

* Add SNAPSHOT publishing

* Add ability to specify MovementMethod when applying markdown to a TextView

* Add information about new method signature to README (Markwon.setText)

* Fix README links reference

* Add new section to README (applications using markwon)

* Markdown images size is also resolved via ImageSizeResolver
v1.0.6
2018-06-26 10:50:56 +02:00
Dimitry Ivanov
ddb8989669 Update artifact version 1.0.5 2018-05-22 11:22:21 +03:00