d626d3ba75
Last time I touched this code, I went in looking for a specific problem, and came out with a fix specific to that issue. That fix was not wrong, yet it hardly covered all the problems present in the code once one took into account issues like: - local vs remote resources, - relative vs absolute paths, - different operating systems behaving differently, and - Qt being uniquely buggy on different platforms. The major part of it was fixed by using QUrl.fromUserInput(), which does the exact kind of auto-detection for the nature of the resource that we were in need of. The rest of the issues were fixed by creating a number of test cases and fixing problems as they popped up. Testing was done in Windows & Ubunty against the above-mentioned test cases, which can be found in PR #629. Regarding ImageTooltip.supportedSchemes When QUrl.fromUserInput() misidentifies the scheme on Linux, it causes all resemblance between the original request and the reply.request() in the finished() signal to be lost, which results in this item getting stuck in the ImageTooltip processing pipeline. Limiting the supported schemes to the ones most commonly encountered ('file', 'http', 'https' and the schema-less local paths) is the only reliable method I have found to work around this particular bug in Qt. |
||
---|---|---|
bin | ||
i18n | ||
icons | ||
libs | ||
manuskript | ||
package | ||
resources | ||
sample-projects | ||
snap | ||
.codeclimate.yml | ||
.gitignore | ||
.travis.yml | ||
_config.yml | ||
CHANGELOG.md | ||
COPYING | ||
CREDITS | ||
makefile | ||
manuskript.spec | ||
README.md | ||
TODO.t2t |
Manuskript
Manuskript is an open-source tool for writers.
Manuskript runs on GNU/Linux, Mac OS X, and Windows.
Features
Manuskript provides a rich environment to help writers create their
first draft and then further refine and edit their masterpiece.
With Manuskript you can:
- Grow your premise from one sentence, to a paragraph, to a full summary
- Create characters
- Conceive plots
- Construct outlines (Outline mode and/or Index cards)
- Write with focus (Distraction free mode)
- Build worlds
- Track items
- Edit and re-organize chapters and scenes
- View Story line
- Compose with fiction or non-fiction templates and writing modes
- Import and export document formats such as HTML, ePub, OpenDocument, DocX, and more
Additionally Manuskript can help in many more ways with a spell checker, markdown highlighter, frequency analyzer, and automatic save in open and plain text file format.
Download
Download and install Manuskript today.
HowTo's
See the Wiki for more detailed instructions on how to install and use Manuskript.
Contribute
You can help improve Manuskript by reporting issues, writing wiki documentation, and translating to other languages. See also Manuskript Contribute page.
Manuskript is written in Python3 and PyQt5.
Free Software
Manuskript is Free Software.
You have the freedom to run, copy, distribute, study, change and improve the software.
Manuskript is distributed under the GNU General Public License version 3 or (at your option) any later version.