66 Commits

Author SHA1 Message Date
Dimitry Ivanov
b55b1f0dcc Reduce number of invalidations in AsyncDrawable 2020-01-14 16:05:28 +03:00
Dimitry Ivanov
36089699d4 Update android gradle plugin to 3.5.2 2019-11-14 16:04:23 +03:00
Dimitry Ivanov
f1e750b305 Add editor sample 2019-11-07 14:02:07 +03:00
Dimitry Ivanov
8768e8a33c Editor implementation 2019-11-07 00:27:41 +03:00
Dimitry Ivanov
2a43797023 TablePlugin defer table-row invalidation 2019-08-01 12:29:46 +03:00
Dimitry Ivanov
386254f962 Preparing 4.0.0 release 2019-06-26 17:57:33 +03:00
Dimitry Ivanov
5c78f1d515 Image, apply bounds for result drawable if empty 2019-06-19 00:28:22 +03:00
Dimitry Ivanov
a3ebae3b87 Renamed DefaultImageMediaDecoder to DefaultMediaDecoder 2019-06-17 23:01:02 +03:00
Dimitry Ivanov
9aade9d6ca Migrate to androidx 2019-06-11 18:42:14 +03:00
Dimitry Ivanov
a2a5857f06 registryImpl test 2019-06-08 15:50:07 +03:00
Dimitry Ivanov
ab4c80dca5 Update dependencies 2019-06-05 00:35:39 +03:00
Dimitry Ivanov
13536302cc Package name and maven group-id change io.noties.markwon 2019-06-05 00:20:36 +03:00
Dimitry Ivanov
dba07e3f3c Linkify perf notice 2019-06-04 16:39:07 +03:00
Dimitry Ivanov
cedb3971a0 text-added-listener for core-plugin and linkify module 2019-06-02 22:12:40 +03:00
Dimitry Ivanov
2e35ef53bb Ensure explicit dependencies for SVG and GIF 2019-05-30 15:28:39 +03:00
Dimitry Ivanov
5bf21bc940 Moved image loading into separate module 2019-05-28 18:50:03 +03:00
Dimitry Ivanov
6098bcc652 Update documentation to point to v3 as primary target 2019-03-15 17:00:09 +03:00
Dimitry Ivanov
27d0df0da1 Updated sample and app launcher icons 2019-01-30 14:12:51 +03:00
Dimitry Ivanov
02e7539881 Implicit LinkMovementMethod if not supplied explicitly 2019-01-13 16:57:16 +03:00
Dimitry Ivanov
82fe43a921 TablePlugin another create factory method 2019-01-12 16:32:51 +03:00
Dimitry Ivanov
7a598829a9 Bring back legacy 2.x.x documentation 2019-01-12 15:58:24 +03:00
Dimitry Ivanov
37ad8effcd markwon-bundle gradle script 2019-01-07 16:02:32 +03:00
Dimitry Ivanov
702f2a0546 Move artifacts to 'ru.noties.markwon' group 2019-01-07 14:54:29 +03:00
Dimitry Ivanov
0505845e4c Add sample module and update app icons 2018-12-28 14:19:36 +03:00
Dimitry Ivanov
c16cdff871 MarkwonBuilderImpl test 2018-12-27 18:45:45 +03:00
Dimitry Ivanov
581265a22a Introduce priority abstraction (order and dependency for plugins) 2018-12-26 19:07:31 +03:00
Dimitry Ivanov
2aef492e7d Fix build 2018-12-23 16:51:55 +03:00
Dimitry Ivanov
4f02a793e7 Fix markwon main artifact tests 2018-12-22 17:18:54 +03:00
Dimitry Ivanov
9dd3d4a94d RenderProps and SpanFactories 2018-12-22 15:38:29 +03:00
Dimitry Ivanov
69f9d0ebb8 Moved image span from factory to image-plugin 2018-12-17 18:42:42 +03:00
Dimitry Ivanov
5a18aa3a01 Remove ext tests from core module 2018-12-13 19:05:49 +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
b2a467ffe9 Add OrderedListItemSpan measure utility method 2018-11-20 15:17:30 +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
2018-09-17 13:15:58 +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
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
2018-06-26 10:50:56 +02:00
Dimitry
79fceb6f69
Custom extension sample (#27)
* Initialized custom extension module

* Upgraded android gradle plugin to 3.0.1

* Shaping up the custom extension module

* Added README to  module

* Small improvement for IconVisitor (added color null check)
2018-02-16 18:19:38 +03:00
Dimitry
6e2dd36e4f
1.0.1 (#14)
* Added retention annotation for Alignment IntDef (#3)

* Task lists (#4)

* Added since annotation to newly added method/classes

* Fixed the indexes bug for margin spans (#6)

* Feature: Revert spans order (#11)

* SpannableBuilder

* Removed nullablity from Markwon class (no null markdown)

* Image sizes via HTML (#13)
2017-11-11 17:41:10 +03:00
Dimitry Ivanov
b92c2f54ac Preparing the release 2017-05-27 16:54:08 +03:00
Dimitry Ivanov
a7e1f178f4 Added gifs 2017-05-27 14:32:34 +03:00
Dimitry Ivanov
97f13926e0 Added ability to load from assets 2017-05-27 14:14:14 +03:00
Dimitry Ivanov
8f75cff2aa Changed module name to library 2017-05-26 12:17:52 +03:00