Commit 41327b9
authored
Extract
Fixes https://linear.app/a8c/issue/AINFRA-639
The code is already in use in the WooCommerce iOS watchOS app, see
woocommerce/woocommerce-ios@ec7a641
I decide to extract the files under the standard `Sources/` and `Tests/`
root folders that SwiftPM expects. To keep the `Package.swift` and
`podspec`s consistent, I moved all the other sources and tests there,
too.
I updated the plumbing in the example app and ran it locally to ensure
it still works, for what is worth.
<img alt="Screenshot 2025-06-04 at 8 12 01 AM"
src="https://github.com/user-attachments/assets/c7f8fdd2-134c-4f47-9d41-aac895c12c1e"
width=300/>
---
- [x] I have considered if this change warrants release notes and have
added them to the appropriate section in the `CHANGELOG.md` if
necessary. – N.A. many files were moved, but the source change was
minimal.HTMLParser in dedicated library (#1412)File tree
344 files changed
+393
-4033
lines changed- .buildkite
- Aztec.xcodeproj
- project.xcworkspace
- Aztec.xcworkspace
- AztecTests
- HTML/Nodes
- Aztec
- Classes
- Example
- AztecExample.xcodeproj
- Example.xcworkspace
- Sources
- Aztec
- Assets
- Media.xcassets
- image.imageset
- play.imageset
- Classes
- Constants
- Converters
- AttributesToStringAttributes
- Base
- Implementations
- ElementsToAttributedString
- Base
- Implementations
- StringAttributesToAttributes
- Base
- ConditionalConverters
- Implementations
- Utility
- EditorView
- Extensions
- Formatters
- Base
- Implementations
- GUI
- FormatBar
- NSAttributedString
- Attributes
- Conversions
- AttachmentToElementConverter
- Base
- ParagraphPropertyConverters/Base
- Plugin
- Processor
- Renderers
- TextKit
- ParagraphProperty
- HTMLParser
- Converters
- In
- Out
- DOM
- Data
- Logic/CSS
- ElementsToHTML
- Base
- Implementations
- Extensions
- HTMLToElements
- WordPressEditor
- Assets
- Classes
- Extensions
- Plugins/WordPressPlugin
- Calypso
- AutopRemovep
- CaptionShortcode
- Embeds
- GalleryShortcode
- VideoShortcode
- Gutenberg
- Processors
- Renderers
- ViewControllers/OptionsTableViewController
- Tests
- AztecTests
- Converters
- AttributesToStringAttributes
- ElementToAttributedString
- StringAttributesToAttributes
- EditorView
- Extensions
- Formatters
- Importer
- NSAttributedString/Conversions
- Processor
- Renderers
- Resources
- TestingSupport
- TextKit
- HTMLParserTests/HTML
- Conversions
- Nodes
- WordPressEditorTests
- Extensions
- Processors
- Resources
- WordPressPlugin
- Calypso
- AutopRemovep
- CaptionShortcode
- GalleryShortcode
- Gutenberg
- WordPressEditor
- WordPressEditor.xcodeproj
- WordPressEditorTests
- WordPressEditor
- fastlane
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
344 files changed
+393
-4033
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
65 | 79 | | |
66 | 80 | | |
67 | 81 | | |
| |||
91 | 105 | | |
92 | 106 | | |
93 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
94 | 118 | | |
95 | 119 | | |
96 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
This file was deleted.
Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
This file was deleted.
This file was deleted.
0 commit comments