Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update from main branch #1

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
0f3e3a4
test: Add a few more unit tests
Sub6Resources Sep 6, 2022
a62449a
fix: Change CSSBoxWidget to CssBoxWidget
Sub6Resources Sep 17, 2022
9dc7f08
fix: Use enum instead of const int internally in length.dart
Sub6Resources Sep 17, 2022
7581ea7
fix: Apply margins to <table> properly
Sub6Resources Sep 17, 2022
ff059b7
Merge pull request #1135 from Sub6Resources/enhancement/margin-values
Sub6Resources Sep 17, 2022
18c77db
chore: Add basic melos support
Sub6Resources Sep 26, 2022
92e4bd9
Add analysis and code format checks
Sub6Resources Sep 26, 2022
bce44d4
chore: Add analysis_options.yaml to each package
Sub6Resources Sep 26, 2022
3defeec
Fix analysis warning
Sub6Resources Sep 26, 2022
e1a5d3d
Fix analysis hints in lib/
Sub6Resources Sep 26, 2022
b7b8c2d
Fix analysis hints in test/
Sub6Resources Sep 26, 2022
0976e7e
Fix analysis hints in example/
Sub6Resources Sep 26, 2022
b74054c
Fix analysis hints in packages/flutter_html_audio
Sub6Resources Sep 26, 2022
a346914
Fix analysis hints in flutter_html_iframe
Sub6Resources Sep 26, 2022
8bdb767
Fix analysis hints in flutter_html_math
Sub6Resources Sep 26, 2022
f7ad078
Fix analysis hints in flutter_html_svg
Sub6Resources Sep 26, 2022
42d3a72
Fix analysis hints in flutter_html_table
Sub6Resources Sep 26, 2022
87e1575
Fix analysis hints in flutter_html_video
Sub6Resources Sep 26, 2022
abf5274
Run flutter formatter
Sub6Resources Sep 26, 2022
64f9485
chore(release): publish packages
Sub6Resources Sep 27, 2022
e4149b7
Update changelog
Sub6Resources Sep 27, 2022
cb23cf0
Remove pubspec_overrides as they should be ignored by .gitignore
Sub6Resources Sep 30, 2022
db99a2b
flutter_html_mat: escape braces
fukatani Oct 11, 2022
e99e2cc
feat: Support mtable, mtd, mtr for draw matrix. (#1164)
fukatani Oct 20, 2022
deb726a
feat: Upgrade list-style-type to CSS3
Sub6Resources Oct 7, 2022
520ff3c
fix: Fix various issues with list rendering
Sub6Resources Oct 8, 2022
6571e3b
Re-add support for list-style-image and do some final cleanup
Sub6Resources Oct 20, 2022
c75e0df
fix: Fix issue with font scaling introduced in 3.0.0-alpha.6 (#1173)
Sub6Resources Oct 21, 2022
9ca2308
feat: Support mfenced. (#1174)
fukatani May 9, 2023
a999a30
feat: Support mmultiscripts. (#1175)
fukatani May 9, 2023
298b986
fix SelectableHtml not rebuild when data change (#1111)
docaohuynh May 9, 2023
e6e0381
Correct margin collapse (#1237)
arjanmels May 9, 2023
9a3d8a3
Adding tests for SVG and fixing height/width bug (#1202)
jlyonsmith May 9, 2023
a5f9928
Fix missing headers parameter (#1203)
ndelanou May 9, 2023
07f112a
Improve video (#1236)
arjanmels May 9, 2023
ed75f8f
Fix: Aspect ratio exception when height is 0 (#1222)
ib-8 May 9, 2023
d316bd4
Corrected accessibility text scaling
May 12, 2023
8ac444b
Migrate `CustomRender` to `HtmlExtension` (#1176)
Sub6Resources May 13, 2023
b5758e2
Corrected whitespace (dart format --line-length=80
May 14, 2023
2ffa1dd
feat: Add WrapperExtension helper (#1264)
Sub6Resources May 15, 2023
d7247cb
fix: a tag should not style as link if href is not provided (#1265)
Sub6Resources May 15, 2023
fe896de
feat: support vertical-align in inline styles (#1266)
Sub6Resources May 15, 2023
cc00406
fix: Cleaned up whitespace processing and added whitespace tests (#1267)
Sub6Resources May 16, 2023
1715cdc
Use proper `<figure>` stylesheet (#1269)
Sub6Resources May 16, 2023
6a83e45
Merge branch 'text_scaling' of https://github.com/noviocare/flutter_h…
Sub6Resources May 16, 2023
15cb05e
fix: Corrected accessibility text scaling
Sub6Resources May 16, 2023
27e33a9
fix: improve API for ExtensionContext and export marker.dart (#1273)
Sub6Resources May 18, 2023
6350f02
fix: Add "display: Display.block" to table (#1278)
arjanmels May 23, 2023
496d1aa
fix: start list items on a new line (#1281)
nico-famedly May 23, 2023
d709199
feat: Update CssBoxWidget to handle rtl marker boxes (#1270)
Sub6Resources May 23, 2023
a380ebc
Mark Summary and Details as block items (#1276)
arjanmels May 26, 2023
46a11b1
chore(release): publish packages
Sub6Resources May 31, 2023
2bba928
Reformat CHANGELOG.md
Sub6Resources May 31, 2023
a55d3df
chore: Update upper sdk constraint for external packages to Dart 4.0.…
Sub6Resources May 31, 2023
32b59d4
Update CONTRIBUTING.md
Sub6Resources May 31, 2023
79ec194
Update flutter math fork version (#1304)
zhourengui Jun 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 34 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,40 @@
version: 2.1
orbs:
codecov: codecov/codecov@1.0.2
executors:
default-executor:
docker:
- image: cirrusci/flutter:stable
resource_class: large
shell: /bin/bash
jobs:
build:
docker:
- image: cirrusci/flutter
executor: default-executor
steps:
- checkout
- run: flutter --version
- run: flutter test --coverage
- codecov/upload:
file: coverage/lcov.info
- checkout
- run: flutter --version
- run:
name: Set up environment
command: |
echo 'export PATH=$HOME/.pub-cache/bin:$PATH' >> $BASH_ENV
source $BASH_ENV
- run:
name: Setup melos
command: |
flutter pub global activate melos
melos --version
melos bootstrap
- run:
name: Run Test Suite
command: melos run test
- run:
name: Generate Coverage Report
command: melos run gen_coverage
- codecov/upload:
file: coverage_report/lcov.info
- run:
name: Run flutter analyze
command: melos run analyze
- run:
name: Check That Flutter Code is Formatted Correctly
command: dart format -o none --set-exit-if-changed .
Binary file removed .github/flutter_html_screenshot.png
Binary file not shown.
Binary file removed .github/flutter_html_screenshot2.png
Binary file not shown.
Binary file removed .github/flutter_html_screenshot3.png
Binary file not shown.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,9 @@ modules.xml
**/flutter_export_environment.sh

/example/ios/Flutter/Flutter.podspec

packages/**/pubspec_overrides.yaml
./pubspec_overrides.yaml
/example/pubspec_overrides.yaml

coverage/
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,54 @@
# Change Log

#### 3.0.0-beta.2 *May 2023*

- Several Breaking Changes. See the [migration guide](https://github.com/Sub6Resources/flutter_html/wiki/Migration-Guides#300)

- **FIX**: start list items on a new line ([#1281](https://github.com/sub6resources/flutter_html/issues/1281)). ([496d1aa8](https://github.com/sub6resources/flutter_html/commit/496d1aa8e655891d2f597c5e4d7e92057801d815))
- **FIX**: Add "display: Display.block" to table ([#1278](https://github.com/sub6resources/flutter_html/issues/1278)). ([6350f023](https://github.com/sub6resources/flutter_html/commit/6350f02354b7de601ce294123717e2051be97eee))
- **FIX**: improve API for ExtensionContext and export marker.dart ([#1273](https://github.com/sub6resources/flutter_html/issues/1273)). ([27e33a95](https://github.com/sub6resources/flutter_html/commit/27e33a955e872d47306db9480f74f6da2e9a028a))
- **FIX**: Cleaned up whitespace processing and added whitespace tests ([#1267](https://github.com/sub6resources/flutter_html/issues/1267)). ([cc00406b](https://github.com/sub6resources/flutter_html/commit/cc00406b1d0c115e5c66dd4bdfb40db32496f55f))
- **FIX**: a tag should not style as link if href is not provided ([#1265](https://github.com/sub6resources/flutter_html/issues/1265)). ([d7247cb3](https://github.com/sub6resources/flutter_html/commit/d7247cb303c25d0011f85f9b2d3687924de3d83d))
- **FEAT**: Update CssBoxWidget to handle rtl marker boxes ([#1270](https://github.com/sub6resources/flutter_html/issues/1270)). ([d7091990](https://github.com/sub6resources/flutter_html/commit/d7091990d193e892e2f782ac8d91fc0326aff4bc))
- **FEAT**: support vertical-align in inline styles ([#1266](https://github.com/sub6resources/flutter_html/issues/1266)). ([fe896de5](https://github.com/sub6resources/flutter_html/commit/fe896de5ed8b79425bb33800a26fa4ac328057fe))
- **FEAT**: Add WrapperExtension helper ([#1264](https://github.com/sub6resources/flutter_html/issues/1264)). ([2ffa1dda](https://github.com/sub6resources/flutter_html/commit/2ffa1ddabb3f2a660ab85c551255b89fe8a24ab5))


#### 3.0.0-beta.1 - *May 2023*

- Several Breaking Changes. See the [migration guide](https://github.com/Sub6Resources/flutter_html/wiki/Migration-Guides#300)

- **FIX**: Aspect ratio exception when height is 0 ([#1222](https://github.com/sub6resources/flutter_html/issues/1222)). ([ed75f8fe](https://github.com/sub6resources/flutter_html/commit/ed75f8fef779e920ecc1f27719a4150a29e3ebee))
- **FIX**: Fix issue with font scaling introduced in 3.0.0-alpha.6 ([#1173](https://github.com/sub6resources/flutter_html/issues/1173)). ([c75e0dfb](https://github.com/sub6resources/flutter_html/commit/c75e0dfb1be6cb79748f719487043d12bc330c60))
- **FIX**: Fix various issues with list rendering. ([520ff3c3](https://github.com/sub6resources/flutter_html/commit/520ff3c326d5dc8f5a601022c2a32d58e2e83cbb))
- **FIX**: Apply margins to <table> properly. ([7581ea79](https://github.com/sub6resources/flutter_html/commit/7581ea798744b2830affaaf75bbdff016b03f7af))
- **FIX**: Use enum instead of const int internally in length.dart. ([9dc7f08c](https://github.com/sub6resources/flutter_html/commit/9dc7f08ca238ff6a93314be5de716ad4e3baebb8))
- **FIX**: Change CSSBoxWidget to CssBoxWidget. ([a62449a7](https://github.com/sub6resources/flutter_html/commit/a62449a77c18701a0faf8ffd650f9c535b2d006c))
- **FEAT**: Support mmultiscripts. ([#1175](https://github.com/sub6resources/flutter_html/issues/1175)). ([a999a300](https://github.com/sub6resources/flutter_html/commit/a999a30027eff0aabb2825ffdbe383f9affab7f6))
- **FEAT**: Support mfenced. ([#1174](https://github.com/sub6resources/flutter_html/issues/1174)). ([9ca23084](https://github.com/sub6resources/flutter_html/commit/9ca230848beb15332f96294083ed4989831130d7))
- **FEAT**: Upgrade list-style-type to CSS3. ([deb726ae](https://github.com/sub6resources/flutter_html/commit/deb726ae2776f45305026c0aa081d4a5b5a1c71d))
- **FEAT**: Support mtable, mtd, mtr for draw matrix. ([#1164](https://github.com/sub6resources/flutter_html/issues/1164)). ([e99e2cc1](https://github.com/sub6resources/flutter_html/commit/e99e2cc1553ab17b4ceff08f784e99283b28dff4))

## 3.0.0-alpha.6 - *September 2022*

- **FIX** #731 Resolve newline `<br>` issue
- **FIX** Align the baseline of inline content with the baseline of its parent flow, even if it has padding or borders
- **FIX** Improved fontSize inheritance when cascading styles
- **FIX** `auto` margins now work for any `Display.BLOCK` element.
- **FIX** `auto` width and height is now the default, rather than `null`
- **FIX** New CSSBoxWidget that handles calculations of child sizes for a more accurate HTML/CSS layout
- **BREAKING** New `Margin`, `Height`, and `Width` classes that allow `em`, `rem`, `px`, `auto`, and `%` values to be given
- **FEAT** Negative margins are now allowed
- **FIX** Updated default `p` and `h1-6` styles to use `em` for better font scaling
- **BREAKING** Package now requires Dart sdk >= Dart 2.17
- **FIX**: Apply margins to <table> properly. (7581ea79)
- **FIX**: Use enum instead of const int internally in length.dart. (9dc7f08c)
- **FIX**: Change CSSBoxWidget to CssBoxWidget. (a62449a7)
- **FIX**: fix textShadow color declaration handler. (77ffe7cb)
- **FIX**: ol use default style. (1c2412a2)
- **FIX**: Crash when a tr tag includes text node. (ba8301c9)
- **FEAT**: exposes fontFamilyFallback parameter. (1d65aafd)

## [3.0.0-alpha.5] - June 9, 2022:
* Fixed hot reloads, thanks @arjenmels
* Fixed link taps not working
Expand Down
7 changes: 1 addition & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
Thanks for your interest in contributing to `flutter_html`!

I'm pretty busy, so in order to help me best make use of the time I spend working on this project, please adhere to the following guidelines when contributing:

1. In general, don't submit a pull request without discussing the feature with me, in an issue, first. I don't want you to have to do a whole bunch of work for nothing. This also makes it so there won't be a whole bunch of changes I make you do in order to have your pull request merged.
2. Please read the [wiki](https://github.com/Sub6Resources/flutter_html/wiki) before contributing (there are only two pages at the moment). This will give you an idea of what my plans are for this repository, and what you do and don't need to work on.

More specific guidelines will be added soon.
Please see the contribution guide in the wiki: https://github.com/Sub6Resources/flutter_html/wiki/Contributing
Loading