Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: KDE/ghostwriter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.1.0
Choose a base ref
...
head repository: KDE/ghostwriter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Dec 1, 2021

  1. Create mac-osx-deploy.yml

    bmcnns authored Dec 1, 2021
    Copy the full SHA
    746a20b View commit details
  2. Copy the full SHA
    84595fa View commit details
  3. Copy the full SHA
    00ae426 View commit details

Commits on Dec 13, 2021

  1. Update ghostwriter_zh.ts

    NightSharp authored Dec 13, 2021
    Copy the full SHA
    89a5ad1 View commit details

Commits on Dec 14, 2021

  1. Added missing reference to statisticsindicator.cpp/.h which prevented…

    … CMake from building project.
    mruiz42 committed Dec 14, 2021
    Copy the full SHA
    51dcfb2 View commit details
  2. Copy the full SHA
    929f621 View commit details

Commits on Dec 18, 2021

  1. Copy the full SHA
    4c44cba View commit details

Commits on Dec 24, 2021

  1. Merge pull request #703 from mruiz42/master

    Added a workaround to prevent empty draft files from being saved to disk
    wereturtle authored Dec 24, 2021
    Copy the full SHA
    bc329fe View commit details
  2. Merge pull request #702 from NightSharp/patch-2

    Update ghostwriter_zh.ts
    wereturtle authored Dec 24, 2021
    Copy the full SHA
    32ebf1b View commit details
  3. Copy the full SHA
    bbf44c5 View commit details
  4. Merge pull request #694 from bmcnns/master

    Adds deployment job for Mac OS builds
    wereturtle authored Dec 24, 2021
    Copy the full SHA
    26a27b7 View commit details
  5. Copy the full SHA
    ea86a90 View commit details
  6. Release 2.1.1

    wereturtle committed Dec 24, 2021
    Copy the full SHA
    8d973c0 View commit details

Commits on Dec 25, 2021

  1. Update changelog

    wereturtle committed Dec 25, 2021
    Copy the full SHA
    c2b2389 View commit details

Commits on Feb 19, 2022

  1. Copy the full SHA
    dcf1c6e View commit details
  2. Release 2.1.2-snapshot

    wereturtle committed Feb 19, 2022
    Copy the full SHA
    2f7c30f View commit details

Commits on Feb 26, 2022

  1. Copy the full SHA
    00cedc3 View commit details

Commits on Mar 5, 2022

  1. Copy the full SHA
    2ba2d93 View commit details

Commits on Mar 13, 2022

  1. Copy the full SHA
    a941d6a View commit details
  2. Copy the full SHA
    052f0e1 View commit details
  3. Copy the full SHA
    55cb54d View commit details
  4. Release 2.1.2

    wereturtle committed Mar 13, 2022
    Copy the full SHA
    5342e65 View commit details

Commits on Mar 16, 2022

  1. Create appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    2a17331 View commit details
  2. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    125d5cf View commit details
  3. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    ddac81f View commit details
  4. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    a26ee95 View commit details
  5. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    97113ab View commit details
  6. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    e987674 View commit details
  7. Copy the full SHA
    97782cb View commit details
  8. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    7d54349 View commit details
  9. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    4d1efcf View commit details
  10. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    9b1779a View commit details
  11. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    c9f05e0 View commit details
  12. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    36ed6f5 View commit details
  13. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    ff1784e View commit details
  14. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    7cc84c4 View commit details
  15. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    e2d68e3 View commit details
  16. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    97fb156 View commit details
  17. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    471f514 View commit details
  18. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    4ce627a View commit details
  19. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    6ee2bc3 View commit details
  20. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    3e22e31 View commit details
  21. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    80dacdd View commit details
  22. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    1cd5957 View commit details
  23. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    5116c3c View commit details
  24. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    71390f0 View commit details
  25. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    3a8ad51 View commit details
  26. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    17744d8 View commit details
  27. Update appveyor.yml

    wereturtle authored Mar 16, 2022
    Copy the full SHA
    a24204b View commit details

Commits on Mar 17, 2022

  1. Update appveyor.yml

    wereturtle authored Mar 17, 2022
    Copy the full SHA
    5c3c61e View commit details
Showing 560 changed files with 105,776 additions and 85,069 deletions.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SPDX-FileCopyrightText: 2022 Megan Conkle <megan.conkle@kdemail.net>
#
# SPDX-License-Identifier: GPL-3.0-or-later

# Use UNIX line endings to pass pre-receive git hook audit on KDE Invent GitLab
* text=auto eol=lf
*.bat eol=crlf
*.xsl eol=crlf
17 changes: 9 additions & 8 deletions .github/ISSUE_TEMPLATE/bug-report-or-troubleshooting-request.md
Original file line number Diff line number Diff line change
@@ -2,37 +2,38 @@
name: Bug Report or Troubleshooting Request
about: Create a bug report or troubleshooting request
title: ''
labels: ''
labels: 'bug, unconfirmed'
assignees: wereturtle

---

**IMPORTANT NOTICE**: Please do NOT use the issue tracker for new feature requests. Only bug reports or troubleshooting requests are being accepted at this time. For details, please see the [contributing guidelines](https://github.com/wereturtle/ghostwriter/blob/master/CONTRIBUTING.md).

**Platform (please complete the following information):**
- OS and version [e.g. Ubuntu 18.04, Windows 10, MacOS Sierra]:
- If Linux, Desktop Environment [e.g., Gnome, Plasma, Cinnamon, etc.]:
- If Linux, display server [Wayland or X11]:

**ghostwriter installation (please complete the following information):**
- ghostwriter version [see Help->About in menu bar]:
- If Windows, installation type [e.g., portable or full install]:
- If Linux, installation type [e.g., Flatpak, PPA, private build]:
- Installation type [e.g., Windows portable, Flatpak, PPA, Fedora COPR, private build, Linux repository]:
- If using a private build, version of Qt used to build [see Help->About Qt in menu bar]:

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
2. Click on '...'
3. Scroll down to '...'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.
If applicable, add screenshots to help explain the issue.

**Additional context**
Add any other context about the problem here.

Please attach or copy any text that will help demonstrate the issue.
55 changes: 37 additions & 18 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2014-2022 Megan Conkle <megan.conkle@kdemail.net>
#
# SPDX-License-Identifier: GPL-3.0-or-later

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
@@ -13,12 +17,12 @@ name: "CodeQL"

on:
push:
branches: [ master ]
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ "master" ]
schedule:
- cron: '42 9 * * 6'
- cron: '34 8 * * 3'

jobs:
analyze:
@@ -33,39 +37,54 @@ jobs:
fail-fast: false
matrix:
language: [ 'cpp' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

#- run: |
# make bootstrap
# make release
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh


# Steps represent a sequence of tasks that will be executed as part of the job
- name: Install Qt
- run: |
sudo apt-get update
sudo apt-get install g++ qtbase5-dev libqt5svg5-dev qtmultimedia5-dev qtwebengine5-dev libhunspell-dev pkg-config libqt5concurrent5 qttools5-dev-tools
# Runs a single command using the runners shell
- name: Compile
- run: |
qmake -qt5
make
sudo make install
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
4 changes: 4 additions & 0 deletions .github/workflows/copr.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2014-2022 Megan Conkle <megan.conkle@kdemail.net>
#
# SPDX-License-Identifier: GPL-3.0-or-later

name: fedora-copr-build

on:
4 changes: 4 additions & 0 deletions .github/workflows/launchpad.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2014-2022 Megan Conkle <megan.conkle@kdemail.net>
#
# SPDX-License-Identifier: GPL-3.0-or-later

name: launchpad-ppa-build

on:
34 changes: 34 additions & 0 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# SPDX-FileCopyrightText: 2014-2022 Megan Conkle <megan.conkle@kdemail.net>
#
# SPDX-License-Identifier: GPL-3.0-or-later

name: macos-build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
macos-build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Install Homebrew
run: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- name: Install QT 5 from Brew
run: |
brew install qt5
brew link qt5 --force
- name: Build ghostwriter
run: |
qmake
make
- name: Upload package
uses: actions/upload-artifact@v2
with:
name: ghostwriter
path: build/release/ghostwriter.app/
26 changes: 14 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# This is a basic workflow to help you get started with Actions
# SPDX-FileCopyrightText: 2014-2022 Megan Conkle <megan.conkle@kdemail.net>
#
# SPDX-License-Identifier: GPL-3.0-or-later

# Build ghostwriter

name: ubuntu-build

# Controls when the action will run.
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
@@ -15,24 +19,22 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# Check out the repository under $GITHUB_WORKSPACE, so the job can access it
- uses: actions/checkout@v2

- name: Install Qt
run: |
sudo apt-get update
sudo apt-get update
sudo apt-get install g++ qtbase5-dev libqt5svg5-dev qtmultimedia5-dev qtwebengine5-dev libhunspell-dev pkg-config libqt5concurrent5 qttools5-dev-tools
# Runs a single command using the runners shell
# Runs a single command using the runners shell
- name: Compile
run: |
qmake -qt5
make
sudo make install
- name: Install
run: sudo make install
66 changes: 50 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,49 @@
# C++ objects and libs

*.slo
*.lo
*.o
*.a
*.la
*.lai
*.so
*.dll
*.dylib
# SPDX-FileCopyrightText: 2014-2024 Megan Conkle <megan.conkle@kdemail.net>
#
# SPDX-License-Identifier: GPL-3.0-or-later

# Qt-es
# RC py files
icons_rc.py
resources_rc.py

# general
build/
/build*/
*.rej
*.orig
*.out
CMakeLists.txt.user*
/.clang-format
/.idea

# kate
*~
*-swp

# kdevelop
*.kdev4

# from kdiff3
*.BACKUP.*
*.BASE.*
*.LOCAL.*
*.REMOTE.*

# from dolphin
.directory

# LSP Server data
/.clangd
/.cmake/
/.cache/
/compile_commands.json
/cmake-build*
.vscode/
.flatpak/
.flatpak-builder/
/_build/

# Qt-es
/.qmake.cache
/.qmake.stash
*.pro.user
@@ -24,18 +56,20 @@ qrc_*.cpp
ui_*.h
Makefile*
*-build-*
/.qtc_clangd/
/.qtc_clangd/*
*.idx

# QtCreator

*.autosave

#QtCtreator Qml
# QtCtreator Qml
*.qmlproject.user
*.qmlproject.user.*

*.qm

build/

# Mac finder stub
.DS_Store


10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-FileCopyrightText: None
# SPDX-License-Identifier: CC0-1.0

include:
- project: sysadmin/ci-utilities
file:
- /gitlab-templates/linux-qt6.yml
- /gitlab-templates/linux-qt6-next.yml
- /gitlab-templates/freebsd-qt6.yml
- /gitlab-templates/windows-qt6.yml
14 changes: 14 additions & 0 deletions .kde-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: None
# SPDX-License-Identifier: CC0-1.0

Dependencies:
- 'on': ['@all']
'require':
'frameworks/extra-cmake-modules': '@latest-kf6'
'frameworks/sonnet': '@latest-kf6'
'frameworks/kcoreaddons': '@latest-kf6'
'frameworks/kxmlgui': '@latest-kf6'
'frameworks/kconfigwidgets': '@latest-kf6'

Options:
require-passing-tests-on: [ 'Linux', 'FreeBSD', 'Windows' ]
Loading