Commit graph

328 commits

Author SHA1 Message Date
Olivier Keshavjee 572feb5409 Creates empty import window 2017-11-06 09:16:44 +01:00
Olivier 1f04bf6f54
Merge pull request #192 from camstevenson/import-export
Adds: Import OPML
2017-11-06 08:21:06 +01:00
Cam Stevenson 1fa86ddd73 Finish OPML Import 2017-11-05 08:24:25 -05:00
Olivier Keshavjee 81de19165b Adds a 'Rename Item' option to context menu in the Tree view #189 2017-11-05 13:49:31 +01:00
Olivier Keshavjee 2cc721674a Fixes: Index card text almost invisible in dark themes. #183 2017-11-02 12:14:45 +01:00
Olivier Keshavjee 701833ed7e Bumps version number 2017-10-31 21:25:27 +01:00
Olivier Keshavjee 687286f9ab Merge branch 'feature/future' into develop
Conflicts:
	manuskript/settingsWindow.py
2017-10-31 21:02:09 +01:00
Olivier Keshavjee f67f5a6817 Fixes: Settings window / left hand pane too narrow with translation #177 2017-10-30 09:58:29 +01:00
Olivier Keshavjee c85bb7d2fd Adds: Swedish translation #177. Tack Vare @vithiri. 2017-10-30 09:36:03 +01:00
Olivier Keshavjee 59df6ea98c Fixes: Untranslatable strings. #178 2017-10-30 09:26:46 +01:00
Olivier Keshavjee 45a8200d3b Working on: Pandoc output: add more custom settings #173 2017-10-29 14:50:16 +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 e393848bc0 App crash when moving a step in Plots section #134 2017-10-29 10:21:28 +01:00
Olivier Keshavjee 276559bc04 Fixes a bug in #169: crash when moving around folders with the same name 2017-10-27 12:27:12 +02:00
Olivier Keshavjee c9fc18f685 Fixes a bug in #169: dragging an open folder creates duplicates 2017-10-27 07:30:07 +02:00
Olivier Keshavjee f99e4facab Fixes a bug in #169: when dragging a folder and dropping it between two same folder split panes it is silently deleted 2017-10-25 19:15:30 +02:00
Olivier Keshavjee 761286c497 Merges feature/CustomIcons 2017-10-23 15:10:30 +02:00
Olivier Keshavjee 583734512b Adds: custom item sizes in Tree View 2017-10-23 14:40:55 +02:00
Olivier Keshavjee 40cc136836 Adds: custom icons 2017-10-23 13:45:08 +02:00
Cam Stevenson 44db1a5989 Checkpoint: functional OPML import 2017-10-22 10:21:39 -04:00
Cam Stevenson 3557c222ce Merge remote-tracking branch 'upstream/develop' into import-export
# Conflicts:
#	manuskript/mainWindow.py
2017-10-21 16:38:20 -04:00
Cam Stevenson bdc6a096f2 Checkpoint: OPML import 2017-10-21 16:29:17 -04:00
Olivier Keshavjee f09c961399 Adds: Passes title, subtitle and author to pandoc for document export 2017-10-21 01:01:26 +02:00
Olivier Keshavjee 497d1e83a1 Corrects a stylesheet mistake that could make context menu in textEditView hard to read 2017-10-21 00:01:43 +02:00
Olivier Keshavjee 648b4b67eb Fixes more bugs in drag n drop: seg fault when creating an item after deleting an item that was open for editing, and other small stuff 2017-10-20 23:39:57 +02:00
Olivier Keshavjee d95c3f821d Fixes: Some panels require initial two clicks of RHS tab to hide #167 2017-10-20 10:01:47 -06:00
Olivier Keshavjee 1a8d4c5c72 Adds some docstrings on editor/view classes, because I never remember who they are and what they do... 2017-10-20 16:20:33 +02:00
Olivier Keshavjee a44dd41f00 Fixes bug in drag'n'drop: item can be dropped into itself (or children of itself) 2017-10-20 15:28:37 +02:00
Olivier Keshavjee 6ec0c19376 Corrects: Spell checker is active for partial words. #166 2017-10-19 22:48:49 +02: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
Olivier Keshavjee d78b8196cc Fixes but for: disable cursor blinking #165 2017-10-19 18:15:56 +02:00
Olivier Keshavjee ee058a309f Fixes: Spell checker is active for partial words. #166 2017-10-19 13:33:36 +02:00
Olivier Keshavjee eb89d2f309 Adds optimization of fullscreen's theme thumbnail generation in settings, and corrects a small stylesheet bug 2017-10-19 12:27:11 +02:00
Olivier Keshavjee b81a571b2e Adds: Disable cursor blinking (#165), Configurable editor margins (#168) 2017-10-19 12:13:20 +02:00
Olivier Keshavjee bffe17f9f0 Slight optimization through delay in Settings Windows 2017-10-19 10:38:32 +02:00
Olivier Keshavjee d51797df77 Fixes: Compile without open project causes a crash #164 2017-10-18 11:12:10 +02:00
Olivier Keshavjee f36abfd2e4 Adds: Block insertion cursor. (#163) 2017-10-18 10:44:05 +02:00
Olivier Keshavjee 3eda56ed5a Tries to fix 'Indent not saved in custom full screen theme #133', and adds cache to theme thumbnails 2017-10-18 10:13:22 +02:00
Olivier Keshavjee 2c36902d46 Fixes a bug when creating a new project, introduced with #148 2017-10-17 22:15:13 +02:00
Olivier Keshavjee dc0cc57ffa Merge branch 'feature/justify' into develop to add: Justified formatting of text #148 2017-10-17 18:29:42 +02:00
Olivier Keshavjee cbc02b15d9 Improves on: Use on smaller resolution screens #108 2017-10-17 18:04:30 +02:00
Olivier Keshavjee 4e74da41d1 Working on: Request: Justified formatting of text #148 2017-10-17 13:05:46 +02:00
Olivier Keshavjee b37dc9715c Adds a few more icons 2017-10-16 10:48:04 +02:00
Olivier Keshavjee 6e895af789 Fixes: Multiple selections of items sometimes gets Notes/references field to be ereased #10 2017-10-16 09:43:09 +02:00
Olivier Keshavjee d7407afb8f Fixes: In revision mode text, selecting group doesn't load text-preferences right. #51 2017-10-16 00:40:41 +02:00
Cam Stevenson 56553cf119 Merge branch 'develop' into import-export 2017-10-15 17:27:08 -04:00
Cam Stevenson 982a96021b Checkpoint: OPML import 2017-10-15 17:25:09 -04:00
Olivier Keshavjee 67efc47a18 Spell checking works but does not underline misspelled words #147 2017-10-15 22:45:57 +02:00
Olivier Keshavjee aed93550f2 Adds missing icons, and changes one in navigation dock (#159) 2017-10-15 22:23:06 +02:00
Olivier Keshavjee c7e6a2d53e Fixes again: Crash when permissions don't allow saving #138 2017-10-15 21:39:36 +02:00
Olivier Keshavjee f160d7d1c2 Small display bug corrected 2017-10-15 14:58:51 +02:00
Olivier Keshavjee 33f1a9b840 Adds icons to settings window 2017-10-15 14:53:05 +02:00
Olivier Keshavjee 86184ab2d8 Changes icons in navigation dock (#159) 2017-10-15 14:30:50 +02:00
Olivier Keshavjee a6123292ae Adds: go-up button. See #157 2017-10-14 21:39:16 +02:00
Olivier Keshavjee 742e24dbd2 Improving english words: redaction → editor, infos → info. See #53 2017-10-14 20:40:50 +02:00
Olivier Keshavjee dba1874b6b Adds: double click in index cards view background goes to the parent folder (#157) 2017-10-14 17:39:46 +02:00
Olivier Keshavjee e11e9f81b5 Adds: new flash card style 2017-10-14 17:11:17 +02:00
Olivier Keshavjee db8ef59c2f Adds tooltip to navigation bar 2017-10-14 14:14:17 +02:00
Olivier Keshavjee 2ad05cf32b Fixes: Use on smaller resolution screens #108 2017-10-14 14:05:22 +02:00
Olivier Keshavjee 79f2321128 Fixes: Contrast Problem in Notes/Refences with Dark Background #143 2017-10-14 12:34:16 +02:00
Olivier Keshavjee f2aa9abc85 Fixes: Crash when permissions don't allow saving #138 2017-10-14 12:17:03 +02:00
Olivier Keshavjee c89dd460da Adds: Ability to always show word target in distraction free mode #109 2017-10-14 11:38:22 +02:00
Olivier Keshavjee f069183ac8 Fixes a small bug in when closing fullScreenEditor 2017-10-14 11:12:56 +02:00
Olivier Keshavjee 452ac6212c Fixes: Undo/redo works in some text areas but not others #34 2017-10-14 11:01:38 +02:00
Olivier Keshavjee 6a88cb9aca Temporary fix for: Undo/redo works in some text areas but not others #34 2017-10-14 10:35:48 +02:00
Olivier Keshavjee 6bc74454c7 Partially fixes: Some bugs in Windows XP and Ubuntu 15.1 #25. Removes unused button in character's detailed infos. 2017-10-14 09:35:29 +02:00
Olivier Keshavjee 7ad2e93a3b Fixes: Indent not saved in custom full screen theme #133 2017-10-14 09:32:25 +02:00
Olivier Keshavjee d2762f2819 Merge branch 'feature/QtWebEngine' into develop 2017-10-12 08:47:57 +02:00
Olivier Keshavjee bae8c2f570 Adds OPML format to pandoc exporter 2017-10-12 08:36:10 +02:00
Olivier ab9c95cc6d Merge pull request #136 from gedakc/fix-fail-to-load-last-state-of-panels
Fixes: Manuskript fails to load last state of panels
2017-10-11 08:50:22 +02:00
Olivier c635d335f9 Merge pull request #149 from gedakc/add-missing-init-file
Add missing __init__.py file
2017-10-11 08:48:16 +02:00
Olivier 6660dabace Merge pull request #151 from gedakc/add-world-tab-help-tip
Add help tip for world tab
2017-10-11 08:47:01 +02:00
Olivier Keshavjee 99bd090288 Put software version in one sigle label to allow easier copy/pasting 2017-10-11 08:32:44 +02:00
Curtis Gedak 6d607e8804 Add Help -> About dialog window
Add "Help -> About" menu entry that invokes an "About" dialog window
for Manuskript.

Show details such as logo, version, website, copyright, license, and
software versions in use (Python, PyQT, and Qt).
2017-09-29 09:27:53 -06:00
Curtis Gedak 5d462d6a47 Single source the package version
Define one place to store the Manuskript version so that it can be
used in multiple locations.

Reference:

Single-sourcing the package version
https://packaging.python.org/guides/single-sourcing-package-version/
2017-09-28 13:54:53 -06:00
Curtis Gedak 4b4c9f4258 Add help tip for world tab 2017-09-23 12:53:18 -06:00
Curtis Gedak 539f8fd228 Add missing __init__.py file 2017-09-19 10:18:05 -06:00
Curtis Gedak e93c958598 Fixes: Manuskript fails to load last state of panels
See issue #14.

Four panels use custom widgets on the Right-Hand-Side tabs to control
visibility.  These panels are:

  PANEL NAME     VIEWABLE ON NAVIGATION TAB
  ------------   --------------------------
  Book summary   Plots
  Project tree   Redaction
  Metadata       Redaction
  Story line     Redaction

When the custom widget is created, it is assigned a name that is
marked for translation.  The final text name appears to have a
shortcut letter automatically assigned.  For example in English:

  Book summary   ->   B&ook summary
  Project tree   ->   &Project tree
  Metadata       ->   &Metadata
  Story line     ->   Story &line

On restoration the choice to restore state is based on successful
comparison between title and btn.text().  Currently this comparison
fails because title contains "&" and btn.text() does not contain "&".

Fix by removing all ampersand "&" characters from both title and
btn.text() when performing comparison.
2017-08-06 10:14:40 -06:00
Olivier e971d7e167 Merge pull request #121 from gedakc/ensure-same-add-character-importance-values
Fixes: add character button does not set importance slider to default…
2017-07-15 07:16:41 +02:00
Olivier 6cc7b724da Merge pull request #129 from gedakc/fix-file-save-as
Fixes: Contents missing when non-single file project saved with Save as
2017-07-15 07:12:17 +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 3569f78928 Fixes: add plot then choose new plot does not set importance slider
By default when a plot is added to the plot model, the
importance value is set to "0" (Minor).  However when the new
plot is selected, the importance slider remains set to the value
of the previously selected plot.

Steps to Reproduce:

1.  Click add plot (plus sign) button.
2.  Select this "New plot".
3.  Select "Basic infos" tab and change Plot name to "My Plot".
4.  Move Importance slider all the way to the right (Main).
5.  Click add plot (plus sign) button.
6.  Select this "New plot".

    Note that the "New plot" is shown in the plot list pane under
    "Minor", but the Importance slider is still all the way to the
    right (Main).

This enhancement ensures that the corresponding plot UI importance
slider is also set to the proper plot importance.
2017-07-01 10:18:46 -06:00
Curtis Gedak 8fe282e484 Ensure character tabs are disabled when no valid character is selected
Previously if a character was selected, and next
  either:  a title (Main, Secondary, Minor) was selected,
      or:  the character remove button was clicked,
then the character tabs would remain enabled.  This was incorrect
behaviour.

In the case a character was removed and the user moved the
importance slider then Manuskript would crash.

This enhancement disables the character tabs when there is no valid
character selected.
2017-07-01 10:17:17 -06:00
Curtis Gedak dedf5fb27a Fixes: add character then choose new character does not set importance slider
See issue #102.

By default when a character is added to the character model, the
importance value is set to "0" (Minor).  However when the new
character is selected, the importance slider remains set to the value
of the previously selected character.

Steps to Reproduce:

1.  Click add character (plus sign) button.
2.  Select this "New character".
3.  Select "Basic infos" tab and change Name to "Bob".
4.  Move Importance slider all the way to the right (Main).
5.  Click add character (plus sign) button.
6.  Select this "New character".

    Note that the "New character" is shown in the character list pane
    under "Minor", but the Importance slider is still all the way to
    the right (Main).

This enhancement ensures that the corresponding character UI
importance slider is also set to the proper character importance.
2017-07-01 10:17:07 -06:00
Olivier Keshavjee 2beb3a939b Conditional import of QtWebEngine or QtWebKit 2017-06-20 15:24:15 +02:00
Olivier Keshavjee 35bb0f7cfe Fixes #119: Distraction free mode crashes with time target 2017-06-20 14:08:48 +02:00
Olivier Keshavjee fb9eb479f8 Reverts a mistake 2017-06-15 16:03:00 +02:00
Olivier Keshavjee 28e28e71e5 Adds webFiew file, forgotten in last commit 2017-06-15 15:40:22 +02:00
Olivier Keshavjee 2ff7cf80c6 Adds QtWebEngine support, while keeping QtWebKit support. 2017-06-15 15:24:06 +02:00
Olivier Keshavjee dfed1e7ec9 Fixes Pandoc PDF output error with unicode characters #117 2017-06-15 14:37:55 +02:00
Olivier Keshavjee 4c03326fca Merge branch 'enable-change-index-cards-background-to-color' of git://github.com/gedakc/manuskript into gedakc-enable-change-index-cards-background-to-color 2017-06-15 14:13:36 +02:00
Olivier 147d1c0952 Merge pull request #110 from gedakc/change-translator-warning-to-note
Change message from warning to note for failed to load translator string
2017-06-15 14:10:50 +02:00
Olivier Keshavjee 32861a4a9a Merge branch 'ScullyBlue-german_translation' into develop 2017-06-15 14:07:25 +02:00
Olivier Keshavjee 47826c6419 Adds setting to change language 2017-06-15 14:07:09 +02: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
Curtis Gedak 8d356c52ce Fixes: Unable to change index cards background from image to a color
See issue #52.

Enable selection of background color in addition to background image
for index cards.  This setting is accessed from the manuskript menu
**Edit -> Settings -> Views -> Index cards**.

Keep initial default of "writingdesk" background image for Index cards.

Also update comments for functions to better describe how these work.
2017-06-10 12:53:55 -06:00
Curtis Gedak 828fc3375e Change message from warning to note for failed to load translator
The message for failing to find and load a language translator was
misleading.

There is no problem running Manuskript with the default English
language (no translation loaded).  The word **Warning** implied that
something was wrong with manuskript and could be confusing to users.
2017-06-06 10:10:23 -06:00
Olivier Keshavjee 79962f1e0d Bumped version number 2017-05-25 18:15:43 +02:00
Olivier Keshavjee e16f47bd2a Double signal for double efficency (#23) 2017-05-23 17:05:09 +02:00
Olivier Keshavjee 48a45e7498 Changes signal to allow activation by single click (see #23) 2017-05-23 17:02:04 +02:00