Skip to content

Commit 9d3ec41

Browse files
committed
chore: switch to d4rt
1 parent 3c8a2a5 commit 9d3ec41

File tree

287 files changed

+12407
-6421
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

287 files changed

+12407
-6421
lines changed

epubx/.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# See https://www.dartlang.org/tools/private-files.html
2+
3+
# Files and directories created by pub
4+
.buildlog
5+
.packages
6+
.project
7+
.pub/
8+
build/
9+
**/packages/
10+
.dart_tool/
11+
12+
# Files created by dart2js
13+
# (Most Dart developers will use pub build to compile Dart, use/modify these
14+
# rules if you intend to use dart2js directly
15+
# Convention is to use extension '.dart.js' for Dart compiled to Javascript to
16+
# differentiate from explicit Javascript files)
17+
*.dart.js
18+
*.part.js
19+
*.js.deps
20+
*.js.map
21+
*.info.json
22+
23+
# Directory created by dartdoc
24+
doc/api/
25+
26+
# Don't commit pubspec lock file
27+
# (Library packages only! Remove pattern if developing an application package)
28+
pubspec.lock
29+
30+
#Ignore VSCode Directory
31+
.vscode/

epubx/.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: dart
2+
dart:
3+
- stable
4+
sudo: false
5+
before_script:
6+
- chmod +x ./tool/travis.sh
7+
- chmod +x ./tool/publish.sh
8+
- pub get
9+
script: ./tool/travis.sh
10+
deploy:
11+
provider: script
12+
script: ./tool/publish.sh
13+
skip_cleanup: true
14+
on:
15+
branch: master
16+
dart: stable

epubx/CHANGELOG.md

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
## 4.0.0
2+
3+
- Merge all pull requests
4+
5+
## 3.0.0
6+
### Changed
7+
- `metadata` file now saves as `mimetype` [pull#1](https://github.com/rbcprolabs/epubx.dart/pull/1)
8+
### Added
9+
- Epub v3 support [dart-epub | pull#76](https://github.com/orthros/dart-epub/pull/76)
10+
- Doc comment [dart-epub | pull#80](https://github.com/orthros/dart-epub/pull/80)
11+
12+
## 3.0.0-dev.3
13+
### Changed
14+
- At `EpubReader.{openBook, readBook}` first argument can be future (not before)
15+
16+
## 3.0.0-dev.2
17+
### Fixed
18+
- Fixed null-safety bug
19+
20+
## 3.0.0-dev.1
21+
### Added
22+
- Null-safety migration
23+
### Changed
24+
- Upgrade all dependencies
25+
26+
## 2.1.0
27+
### Fixed
28+
- Version 3 EPUB's can have a null Table of Contents
29+
- Updated `pedantic` analysis options
30+
31+
## 2.0.7
32+
### Added
33+
- Added example of using `epub` in a web page: `examples/web_ex`
34+
### Fixed
35+
- Fixed errors from pedantic analysis
36+
### Changed
37+
- Added pedantic analysis options
38+
39+
## 2.0.6
40+
### Fixed
41+
- Fixed Issue #35: File cannot be opened if its path is url-encoded in the manifest
42+
- Updated `examples/dart_ex` to have a README as well as use a locally stored file.
43+
44+
## 2.0.5
45+
### Changed
46+
- Exposed `EpubChapterRef` to consumers.
47+
48+
## 2.0.4
49+
### Fixed
50+
- Merged pull request #45
51+
- Fixes pana hits to make code more readable
52+
53+
## 2.0.3
54+
### Changed
55+
- Raised `sdk` version constraint to 2.0.0
56+
- Raised constraint on `async` to 3.0.0
57+
### Fixed
58+
- Merged pull request #40 by vblago.
59+
- Fixes Undefined class 'XmlBuilder'
60+
61+
## 2.0.2
62+
### Changed
63+
- Lowered sdk version constraint to 2.0.0-dev.61.0
64+
65+
## 2.0.1
66+
### Changed
67+
- Formatted documents
68+
69+
## 2.0.0
70+
### Added
71+
- Added support for writing Epubs back to Byte Arrays
72+
- Tests for writing Epubs
73+
74+
### Changed
75+
- Epub Readers and Writers now have their == operator and hashCode get-er overridden
76+
77+
### Fixed
78+
- Fixed an issue when reading EpubContentFileRef
79+
80+
## 1.3.2
81+
### Changed
82+
- Updates to Travis configuration and publishing
83+
84+
## 1.3.1
85+
### Changed
86+
- Updates to Travis configuration and publishing
87+
### Removed
88+
- Removed unused variable `FilePath` from `EpubBook` and `EpubBookRef`
89+
90+
## 1.3.0
91+
### Added
92+
- Package now supports Dart 2!
93+
### Removed
94+
- Removed support for Dart 1.2.21
95+
96+
## 1.2.10
97+
### Fixed
98+
- Merged pull request #15 from ShadowJonathan/dev.
99+
- Fixes issue with parsing schema by removing `opf:` namespace
100+
101+
## 1.2.9
102+
### Changed
103+
- Ran code through `dartfmt` as per analysis by `pana`
104+
105+
## 1.2.8
106+
### Added
107+
- Added unit tests for Images
108+
### Changed
109+
- Updated dependencies
110+
111+
## 1.2.7
112+
### Added
113+
- Added upper limit of Dart version to 2.0.1
114+
115+
## 1.2.6
116+
### Added
117+
- Added Support for Dart 2.0
118+
119+
## 1.2.5
120+
### Added
121+
- A publish step in the travis deploy
122+
123+
## 1.2.4
124+
### Changed
125+
- EnumFromString no longer uses the `mirrors` package to make this Flutter compatible by @MostafaAyesh
126+
127+
## 1.2.3
128+
### Added
129+
- This Changelog!
130+
131+
### Changed
132+
- Author email
133+
134+
## 1.2.2
135+
### Changed
136+
- Dependencies were updated to more permissive versions by @jarontai
137+
138+
### Added
139+
- Example by @jarontai
140+
- More Entities and types are exported by @jarontai
141+
142+
### Fixed
143+
- Issue with case sensitivity in switch statements from @jarontai
144+
- Issue with Async Loops from @jarontai
145+
146+
## 1.2.1
147+
### Fixed
148+
- Made code in line with Dart styleguide

epubx/CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at colin@ifdevthentalk.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

epubx/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Colin Nelson
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)