Commit graph

152 commits

Author SHA1 Message Date
desperateCoder
72239ef708 #1019 his class, his rules 2021-07-26 11:02:08 +02:00
desperateCoder
97eef881c0 #1019 get rid of whitespace appending via loop 2021-07-26 11:02:08 +02:00
Stefan Niedermann
938940bcfc Add convenience methods for TextWatcherIntegrationTest
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-26 11:02:08 +02:00
Stefan Niedermann
e279b17632 Fix tests
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-26 11:02:08 +02:00
Stefan Niedermann
d38f8d0aba Watch tests fail
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-26 11:02:08 +02:00
Stefan Niedermann
04219ae638 Fix unit tests
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-26 11:02:08 +02:00
Stefan Niedermann
f465c3f038 Add TextWatcherIntegrationTest
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-26 11:02:08 +02:00
Stefan Niedermann
b149c2d0c4 Fix autocontinuation for indented ordered lists
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-26 11:02:08 +02:00
Stefan Niedermann
8e2264ea23 Lower indention on pressing backspace
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-26 11:02:08 +02:00
Stefan Niedermann
37a01ce17c Lower indention on pressing backspace
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-26 11:02:08 +02:00
Stefan Niedermann
f24dae9e96 Lower indention on pressing backspace
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-26 11:02:08 +02:00
Stefan Niedermann
14a3e6928c #1019 ↪️ Auto continuation should continue a list at the same indention level
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-26 11:02:08 +02:00
Stefan Niedermann
7f5c2989ed Fix MarkdownUtil#getEndOfLine
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-22 16:07:00 +02:00
dependabot[bot]
d6e1a60085 Bump appcompat from 1.3.0 to 1.3.1
Bumps appcompat from 1.3.0 to 1.3.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-22 15:17:43 +02:00
Stefan Niedermann
e45aa1b064 Add more unit tests for list autocontinuation
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-22 13:03:12 +02:00
Stefan Niedermann
0ac8a2fe86 Add unit tests for list autocontinuation
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-07-22 11:52:38 +02:00
dependabot[bot]
877aae303a Bump jsoup from 1.13.1 to 1.14.1
Bumps [jsoup](https://github.com/jhy/jsoup) from 1.13.1 to 1.14.1.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.13.1...jsoup-1.14.1)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 16:27:23 +02:00
dependabot[bot]
f2b37df272 Bump core from 1.3.0 to 1.4.0
Bumps core from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.test:core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 15:25:18 +02:00
Stefan Niedermann
b5297e1e87 Minor refactorings
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-25 19:26:06 +02:00
Stefan Niedermann
e4935a3d2a Add multiple unit tests for togglePunctuation
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-25 19:03:17 +02:00
desperateCoder
91b7216716 minor refactoring 2021-06-25 13:11:48 +02:00
desperateCoder
5861b74382 fixed test 2021-06-25 13:08:32 +02:00
Stefan Niedermann
11d878fac9 Add unit test for Toggle italic for last bold + italic in a row of multiple marked elements
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-25 12:49:33 +02:00
desperateCoder
4d7260464c fixed test 2021-06-25 12:26:24 +02:00
Stefan Niedermann
d818209809 Code format
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-24 22:24:53 +02:00
Stefan Niedermann
b6dd7fe045 Add unit test for "Toggle italic for last of many bolds in one line"
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-24 12:57:59 +02:00
Stefan Niedermann
97651c0352 Minor refactorings
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-24 12:48:21 +02:00
Stefan Niedermann
b213bc645f Merge branch 'master' into markdown-context-menu-multiline 2021-06-24 11:20:52 +02:00
Stefan Niedermann
8f92d2e1ef Minor refactorings
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-24 11:20:47 +02:00
desperateCoder
760a7b3b41 make punctuation great again 2021-06-23 20:57:42 +02:00
Stefan Niedermann
eae70001d1 Fix #1276 Checkboxes using an uppercase X can not be toggled
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-23 10:09:57 +02:00
dependabot[bot]
110d841336 Bump mockito-core from 3.11.1 to 3.11.2
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.11.1 to 3.11.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.1...v3.11.2)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 16:38:40 +02:00
desperateCoder
f3c40e5108 Merge branch 'master' of github.com:stefan-niedermann/nextcloud-notes into markdown-context-menu-multiline 2021-06-19 12:57:28 +02:00
desperateCoder
c42da80623 added testcase 2021-06-19 12:57:12 +02:00
dependabot[bot]
806914bb16 Bump mockito-core from 3.11.0 to 3.11.1
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 10:14:24 +02:00
Stefan Niedermann
96dd4f17a7 Remove dead code
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-13 20:38:15 +02:00
Stefan Niedermann
720390686f Refactor links in checkboxes and add unit tests
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-13 19:50:31 +02:00
Stefan Niedermann
f57603d472 Refactor links in checkboxes and add unit tests
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-13 15:20:29 +02:00
Stefan Niedermann
4421bc1358 Merge remote-tracking branch 'origin/clickable-links' into clickable-links
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-13 12:02:58 +02:00
Stefan Niedermann
fc598b84c9 Remove unused import
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-13 11:52:59 +02:00
Stefan Niedermann
f2c3883dfe Apply ToggleTaskListSpan only for areas without ClickableSpan
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-13 11:51:48 +02:00
Stefan Niedermann
db3513961c Apply ToggleTaskListSpan only for areas without ClickableSpan
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-13 11:38:43 +02:00
Stefan Niedermann
642863016c update changelog
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-12 16:19:26 +02:00
Stefan Niedermann
dad6836f73 Use ExecutorServices for running threaded tasks
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-11 11:05:17 +02:00
Stefan Niedermann
858ed3475f #1018 Use Glide for image loading
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-05 13:22:38 +02:00
Stefan Niedermann
07663224f1 #1243 Remove content of notes and search terms from LogCat
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-06-01 10:20:13 +02:00
Niedermann IT-Dienstleistungen
2534aefb77
Remove robolectric config (#1242)
This is no longer necessary:

```java
@config(sdk = [Build.VERSION_CODES.P])
```
2021-05-31 11:33:33 +02:00
Stefan Niedermann
5c87048074 Move instrumented tests to robolectric unit tests
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-30 15:23:07 +02:00
dependabot[bot]
46106bee1f Bump annotations from 21.0.0 to 21.0.1
Bumps [annotations](https://github.com/JetBrains/java-annotations) from 21.0.0 to 21.0.1.
- [Release notes](https://github.com/JetBrains/java-annotations/releases)
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JetBrains/java-annotations/compare/21.0.0...21.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 08:55:36 +02:00
Stefan Niedermann
771026fc32 Use default locale when checking whether device manufacturer is samsung
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2021-05-25 15:25:55 +02:00