TheJackiMonster
98d6eb4975
Remove usage of hardcoded path separators
...
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-12-12 15:53:37 +01:00
TheJackiMonster
79ba7b59ed
Set templateIndex to none when marked as deleted
...
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-12-07 15:41:18 +01:00
TheJackiMonster
14392909c3
Fix word count for template selection ( fix #1163 )
...
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-12-07 15:34:01 +01:00
Belug
d22eb3bcb9
Fixing the tests for travis-CI
2021-04-09 19:19:03 -04:00
Jan Wester
ff2cbca028
Converted most print statements to use logging
...
Some snippets have yet to be converted due to the more complex nature
of those snippets, and to keep things neat a separate commit makes more
sense for those.
2021-04-08 18:44:28 +02:00
Jan Wester
b41fb00b0d
Several tiny things squashed into one
...
All Models should have only one object managing them, and it is not the
class responsible for doing the welcome-related tasks.
Small .gitignore update
2021-04-08 18:28:53 +02:00
TheJackiMonster
12be4c3a3d
Fixed all Python syntax warnings
2021-02-21 23:45:34 +01:00
NocturnalFred
995eda101f
fix issue #468 'unit' is reset
2019-06-05 10:34:11 -06:00
LingSamuel
cbf35fa373
Open/Save As/Create last accessed directory
2018-12-07 12:01:33 -07:00
LingSamuel
7bbc112d25
Add last accessed directory
2018-12-07 12:01:33 -07:00
Curtis Gedak
60b58d9658
Fix Python 3.7 DeprecationWarning use local.format_string() messages
...
Fix by replacing locale.format() with locale.format_string().
2018-11-16 12:52:56 -07:00
Curtis Gedak
21423734e9
Revert "Minor grammar fixes"
...
This reverts commit 2fdf8c64bf
.
The problem introduced by the commit is that the Editor pane would
incorrectly label book elements with the plural form of a word. For
example "Books 4", "Sections 2", "Chapters 1", or "Scenes 3". Hence
the need to undo the commit.
Closes issue #383 .
2018-09-20 14:57:44 -06:00
RiderExMachina
2fdf8c64bf
Minor grammar fixes
...
Fix grammar regarding multiple of an object.
2018-09-11 10:32:51 -06:00
Sebastian Rasmussen
dfe88a9681
Fix typos in code comments, invisible to end-users.
2018-01-29 10:30:41 -07:00
Olivier Keshavjee
9c635301b5
Adds #223 : command line parameter to open project
2017-11-30 17:47:23 +01:00
Olivier Keshavjee
f999d6b33d
Fixes bug in welcome: cannot chose template with translation
2017-11-27 22:19:16 +01:00
Olivier Keshavjee
64994cde3a
Adds: unit tests and starts refactoring models
2017-11-23 11:03:14 +01:00
Olivier Keshavjee
f945387066
Adds unit test for #225 : Manuskript fails to run in Ubuntu 14.04
2017-11-22 09:08:54 +01:00
Olivier Keshavjee
6cc8864937
Fixes #225 : Manuskript fails to run in Ubuntu 14.04
2017-11-22 08:52:30 +01:00
Olivier Keshavjee
584b0b04a6
Checkpoint: revisions
2017-11-19 15:29:38 +01:00
Olivier Keshavjee
9e95196cc5
Changes Outline enums to IntEnum
2017-11-15 20:58:12 +01:00
Olivier Keshavjee
bc0d6f5760
Creates base classes
2017-11-15 20:34:05 +01:00
Olivier Keshavjee
a334e8bd1b
Improves theme desktop integration greatly
2017-11-14 15:01:20 +01:00
Olivier Keshavjee
ee212db39c
Removes most of hard-coded colors
2017-11-14 14:56:11 +01:00
Olivier Keshavjee
b0af99eddc
Adds default system style to text editor
2017-11-14 10:50:32 +01:00
Olivier Keshavjee
c4f8d0da60
Fixes: Missing default file extension when Saving As... #211
2017-11-13 00:51:08 +01:00
Olivier Keshavjee
0a0649a0db
Fixes: Manuskript crashes when a wrong locale is set. See #188 .
2017-11-06 18:29:18 +01:00
Olivier Keshavjee
4d82963eba
Fixes: Create new project ignores changes made to template levels before Create #171
2017-10-29 13:40:10 +01:00
Olivier Keshavjee
4484423ace
Fixes: Some panels require initial two clicks of RHS tab to hide #167
2017-10-19 22:21:15 +02:00
Curtis Gedak
8abb274c9f
Fixes: Contents missing when non-single file project saved with Save as
...
See issue #128 .
With the "Save to one single file" setting **disabled** (accessible
via "Edit -> Settings" under the General tab), then using
"File -> Save as..." creates only a portion of the previous project
files and content.
Steps to Reproduce:
1. Open or create project with data (characters, plots, outline, etc.)
2. Ensure existing project is saved with "File -> Save".
3. Choose "File -> Save as..."
4. Enter a new filename and click Save button.
5. Choose "File -> Close Project"
6. Choose "File -> Open" and choose the newly created project filename.
Note that most of the project contents are missing or empty
(plots, outline, etc.).
This enhancement disables smart caching for the first save of the new
project filename so that all project files are saved under the new
filename.
2017-07-04 12:42:27 -06:00
Curtis Gedak
13f8f72ee8
Request confirmation if create project would overwrite existing file(s)
...
Previously creating a new project with an existing filename would
blindly overwrite the existing project file(s). This could result in
an author accidentally losing all of their work, assuming they did not
have a backup.
This enhancement pops up a warning asking the user if they wish to
overwrite the existing project filename.
2017-06-12 10:58:29 -06:00
Olivier Keshavjee
106e67a62b
WelcomDialog: select template with single click on all plateform ( #44 )
2016-09-21 08:59:52 +02:00
Olivier Keshavjee
72d050b7ae
Fixes bug: cannot create project without chosing template first
2016-04-01 14:02:02 +02:00
Olivier Keshavjee
26ffc47350
Fixes bug when switching projects
2016-03-31 10:50:20 +02:00
Olivier Keshavjee
f850b4ef0e
Corrects bug: does not append non-exising files to recent files
2016-03-30 11:43:32 +02:00
Olivier Keshavjee
bc8b3027e2
Purging types from welcome
2016-03-30 10:16:00 +02:00
Olivier Keshavjee
644d0c1c7b
Welcome windows: adds templates for fiction and non-fiction
2016-03-30 09:13:40 +02:00
Olivier Keshavjee
2c0e3074ce
Adds: UI setting to change project format (single file, or directory)
2016-03-29 19:13:51 +02:00
Olivier Keshavjee
a27e5db6f5
Needs to do the Markdown syntax highlighter now...
2016-03-11 15:45:51 +01:00
Olivier Keshavjee
6e43756669
Bug correction
2016-03-11 15:05:40 +01:00
Olivier Keshavjee
420f562c1b
New CharacterModel (changes name and uses QAbstractItemModel instead of QStandardItemModel)
2016-03-03 16:38:38 +01:00
Olivier Keshavjee
e15275109b
Welcome widget lists sample projects
2016-02-10 02:04:26 +01:00
Olivier Keshavjee
a5aa2fdd07
Bug correction: Save file doesn't automatically add .msk
2016-02-09 08:09:44 +01:00
Olivier Keshavjee
8094abbb0a
Bug correction: crash on initial save
2016-02-08 14:44:39 +01:00
Olivier Keshavjee
69e0ca93be
Cleaning up imports, at last
2016-02-06 12:34:22 +01:00
Olivier Keshavjee
c469f262f3
Renaming source folder
2016-02-06 08:38:33 +01:00