92 Commits

Author SHA1 Message Date
Dimitry Ivanov
d264671d40 image-loader update doc about supported schemes 2018-08-25 14:02:05 +03:00
Dimitry Ivanov
75088d8414 image-loader add support for inline data uri image references 2018-08-25 13:31:42 +03:00
Dimitry Ivanov
c57d06dc7d image-loader add datauri parser 2018-08-25 13:11:13 +03:00
Dimitry Ivanov
9d80637035 Working with tests 2018-08-25 12:21:18 +03:00
Dimitry Ivanov
a0e208c370 Better assertions for nested blocks 2018-08-25 10:52:54 +03:00
Dimitry Ivanov
97c994d866 Remove attrs object from format 2018-08-24 23:25:48 +03:00
Dimitry Ivanov
7881420cbd Add html file test 2018-08-24 23:10:47 +03:00
Dimitry Ivanov
ba30654728 Add test cases for all avaialble elements (single) 2018-08-24 17:42:29 +03:00
Dimitry Ivanov
caf7f99335 Redefined test format 2018-08-24 17:09:23 +03:00
Dimitry Ivanov
db4be0eee3 Second and failing file 2018-08-23 18:49:46 +03:00
Dimitry Ivanov
808349d565 Working with test format 2018-08-23 18:39:10 +03:00
Dimitry Ivanov
4ae310595a Fix task list block parser to revert parsing state when line is not matching 2018-08-23 13:41:17 +03:00
Dimitry Ivanov
8fb15b77a1 Remove old docs 2018-08-22 12:26:52 +03:00
Dimitry Ivanov
06326eeb32 Add CHANGLELOG section to documentation 2018-08-21 19:02:20 +03:00
Dimitry Ivanov
a76ceebc22 Filling documentation gaps 2018-08-21 18:06:42 +03:00
Dimitry Ivanov
8b8bf60290 Working with documentation 2018-08-21 16:48:42 +03:00
Dimitry Ivanov
1a4418c461 Fix Theme#listItemColor and OL 2018-08-21 11:31:28 +03:00
Dimitry Ivanov
dc5cc9471c Reuse HTML named entities w commonmark-java (less memory consumption) 2018-08-20 17:11:36 +03:00
Dimitry Ivanov
d382b37a72 Started working with standalone doc site 2018-08-20 16:38:39 +03:00
Dimitry Ivanov
c7c998db8f Improve empty tag replacement 2018-08-19 19:20:35 +03:00
Dimitry Ivanov
5c9ba0f252 Add htmlIgnoreNonClosedTags option for SpannableConfiguration 2018-08-19 18:19:12 +03:00
Dimitry Ivanov
97e6eb47a3 Add checkUpdates gradle task 2018-08-19 17:54:01 +03:00
Dimitry Ivanov
20c92ddd5e Remove old html code 2018-08-19 16:02:02 +03:00
Dimitry Ivanov
9246a53891 Add blockquote tag handler 2018-08-19 15:26:08 +03:00
Dimitry Ivanov
2d9c80d519 Add ImageHandler (img tag) 2018-08-19 15:20:21 +03:00
Dimitry Ivanov
f1a38fca0f Add CssInlineStyleParser 2018-08-19 14:10:27 +03:00
Dimitry Ivanov
23b95e70b9 Improve TagHandler to allow direct set of spans 2018-08-19 11:36:31 +03:00
Dimitry Ivanov
019ed61e69 Introduce trimming html text logic 2018-08-18 23:10:41 +03:00
Dimitry Ivanov
617a1c8d8f Add HtmlRenderer asbtraction 2018-08-18 16:19:20 +03:00
Dimitry Ivanov
84a50be0dd Rename markwon-syntax to markwon-syntax-highlight 2018-08-18 14:58:36 +03:00
Dimitry Ivanov
203f5fae52 Html parser impl tests 2018-08-18 14:55:07 +03:00
Dimitry Ivanov
76fdbabad0 Renamed library modules to reflect maven artifact name 2018-08-18 13:35:37 +03:00
Dimitry Ivanov
0ec683ad48 Update gradle build configuration 2018-08-18 13:31:06 +03:00
Dimitry Ivanov
bd27f99f8e Merge with master (1.1.1) 2018-08-18 13:03:40 +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 Ivanov
4a6e5002e8 Add trimWhiteSpaceEnd configuration option 2018-08-18 12:38:29 +03:00
Dimitry Ivanov
359fd8699d Implement Appendable and CharSequence in SpannableBuilder 2018-08-17 17:13:13 +03:00
Dimitry Ivanov
1bad514714 Moved html artifacts to corresponding packages 2018-08-17 16:47:11 +03:00
Dimitry Ivanov
be484765da Add attributes to start tags 2018-08-17 15:59:25 +03:00
Dimitry Ivanov
bf8ff03b1c Add HtmlEmptyTagReplacement abstraction for empty tags 2018-08-17 15:44:33 +03:00
Dimitry Ivanov
97a25ecc14 Fix close logic for blocks 2018-08-17 13:09:06 +03:00
Dimitry Ivanov
ff3bedc37e Added 2 modules: html-parser-api and html-parser-impl 2018-08-17 12:53:36 +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
Dimitry Ivanov
c9d688dd68 Update maven push script v1.0.5 2018-05-22 11:18:28 +03:00
Dimitry
a02e9bc523
V1.0.5 (#39)
* Change LinkSpan to extend URLSpan. Allow default linkColor (if not set explicitly)

* Fit an image without dimensions to canvas width (and keep ratio)

* Add support for separate color for code blocks (#37)
2018-05-22 11:15:14 +03:00
Dimitry Ivanov
35c39d0f6d Fix for maven badges links in README 2018-03-18 13:00:23 +03:00