Compare commits

..
10 Commits
3 changed files with 84 additions and 53 deletions

No files matched your search

+22 -1
View File
@@ -7,13 +7,34 @@ royalty-free license to install and use Pineapple Notepad ("Software") for both
and commercial purposes. You may use this software within your business, for-profit projects,
or professional services.
RESTRICTIONSs
RESTRICTIONS
* No Resale: You may not sell, rent, lease, sublicense, or distribute the Software for money,
nor may you bundle the Software with other products or services for sale.
* No Modification: You may not modify, reverse engineer, decompile, or disassemble the Software.
* No Rebranding: You may not remove any copyright notices, branding, or logos from the Software.
SPONSOR LICENSE
If you have received a sponsor license file (.lic) for the Software, the following additional
terms apply to the sponsor license and to any features that require sponsor activation:
* Personal Use: You may use your sponsor license file to activate the Software on any number of
devices that you personally own or control.
* No Distribution: You may not share, sell, rent, lease, sublicense, publish, or otherwise
distribute your sponsor license file to any other person. The sponsor license is personal to
the licensee identified within the file.
* Personal Backups: You may make reasonable backup copies of your sponsor license file for your
own archival purposes, provided such copies are not distributed to any other person.
* Non-Transferable: The sponsor license is non-transferable. You may not assign, transfer, or
sublicense your sponsor license to any other party without the Licensor's prior written
consent.
These terms are in addition to, and do not limit, the other terms of this Agreement. The
Software remains usable without a sponsor license under the LICENSE GRANT above; the sponsor
license only unlocks additional features and confers no additional ownership rights in the
Software.
OWNERSHIP
The Software is licensed, not sold. The Licensor retains all title, copyright, and other
+30 -26
View File
@@ -32,9 +32,15 @@ Note that it's *currently* closed source. See the "Open Source Goal" section if
| Folder Pane | ✅ | ✅ | ✅ | ✅ | ✅ |
| Document Map | ✅ | ✅ | ❌ | ❌ | ✅ |
| "Run..." Dialog | ✅ | ✅ | ❌ | ❌ | ❌ |
| Interval Backup | 🚧[^10] | ✅ | ❌ | ✅ | ✅ |
| Interval Backup | ✅ | ✅ | ❌ | ✅ | ✅ |
| Quick Switcher[^12] | ✅ | ✅ | ❌ | ❌ | ✅ |
| User Defined Language | ✅ | ✅ | ❌ | ⚠️[^11] | ✅ |
| Text Marking | ✅ | ✅ | ✅ | ✅ | ❌ |
| HTML Export | ✅ | 🧩 | ✅ | ❌ | ✅ |
| Spell Check | ✅ | 🧩 | ❌ | ❌ | ✅ |
| Find in Search Results | ✅ | ✅ | ❌ | ⚠️[^13] | ❌ |
| Editor Engine | Scintilla | Scintilla | Scintilla | QScintilla | KTextEdit |
| Regex Engine | RESearch [^11] | Boost.Regex | QRegularExpression | Boost.Regex [^12] | QRegularExpression |
| Regex Engine | QRegularExpression | Boost.Regex | QRegularExpression | Boost.Regex [^10] | QRegularExpression |
[^1]: Currently not open-sourced. Planned to be Open Source once Open Source Sponsor Goal is reached (please consider donate!). Tier 2 sponsors can also get the full source code for building and auditing‌ purpose before the goal is reached.
[^2]: Some non-printable characters are not able to be shown.
@@ -43,44 +49,39 @@ Note that it's *currently* closed source. See the "Open Source Goal" section if
[^5]: Currently only available as an experimental version in sponsor tier, will be available in future releases once Open Source Sponsor Goal is reached.
[^6]: Highlight selected word in the editor.
[^9]: Enable "Read-only" mode and also enable "Auto-reload" mode to get similar experience.
[^10]: Currently WIP, planned to be available in 0.8.0 releases (or 0.7.z for sponsor early access).
[^11]: RESearch is Scintilla's built-in regex engine. I do plan to replace it with a QRegularExpression-based solution in 0.8.0 release.
[^12]: According to their pre-existing legacy code and their current dynamic library, they are reusing the same implementation that Notepad++ is using (BoostRegExSearch).
[^10]: According to their pre-existing legacy code and their current dynamic library, they are very likely reusing the same implementation that Notepad++ is using (BoostRegExSearch).
[^11]: Only support keyword-level customization based on Lexilla's cpp lexer.
[^12]: Use <kbd>Ctrl+Tab</kbd> to switch between recently viewed opened documents.
## Open Source Goal
Pineapple Notepad is currently not an open source project, but the goal is to make Pineapple Notepad open source. I've set-up a $150 Ko-fi goal that Pineapple Notepad will be released as an Open-Source project if the goal is reached. Please read [this post](https://ko-fi.com/post/Pineapple-Notepad-A-Cross-platform-Notepad--Alte-G2G71V8JPX) for details. If you're interested, please use the following links to support this project.
Pineapple Notepad is currently not an open source project, but the goal is to make Pineapple Notepad open source. I've set-up a $150 Ko-fi goal that Pineapple Notepad will be released as an Open-Source project if the goal is reached. Please read [this post](https://ko-fi.com/post/Pineapple-Notepad-A-Cross-platform-Notepad--Alte-G2G71V8JPX) for details. You can track the progress of the goal [in this page](https://pineapple-notepad.blumia.net/sponsor). If you're interested, please use the following links to support this project.
### Sponsor Benefits
Before the goal is reached, if you support Pineapple Notepad for equial or more than $10, you can be credited within the application's About dialog as a kickstart supporter.
Please read the following details for sponsor benefits and possible restrictions.
As a token of gratitude, sponsors will be able to receive a sponsor license and unlock some nice-to-have features before we reach the open-source sponsorship goals. Additionally, depending on the sponsor's donation, sponsors might be able to get credited within the application and access the source code before the open-source sponsorship goals are reached. Details are as follows:
<details>
All listed benefits below only apply to sponsors who donate **before** we reach the Open Source goal.
#### Tier 1: 10 USD
### Tier 0: 2 USD
- Get pre-released builds of Pineapple Notepad.
- Get experimental builds of Pineapple Notepad.
- You (individual) will be credited within the application's About dialog as a kickstart supporter.
- The name will be kept for at least 10 releases, after that, the name might be moved a standalone `THANKS` file in the source repository.
- Optional email and/or home page could be provided.
- Restriction applies (Please reach out if you have any questions or not sure if it applies to you):
- The name, email and/or link to your home page should not contain political content, any emoji or other contents might cause me trouble.
- Get a sponsor license, which can be used to unlock some nice-to-have features in the free release version. Currently, the following features are available:
- Theme color editor (to tweak a specific color in a theme)
- Customizable context menu (for the editor area)
- Get credited within the blog of the next release
#### Tier 2: 35 USD
### Tier 1: 10 USD
- All benefits of Tier 1
- Get full source code of Pineapple Notepad that allows you build it from source or audit it.
- You (company/organization) will be credited within the application's About dialog as a sponsor.
- The name will be kept for at least 10 releases, after that, the name might be moved a standalone `THANKS` file in the source repository.
- Optional email and/or home page could be provided.
- Restriction applies (Please reach out if you have any questions or not sure if it applies to you):
- The name, email and/or link to your home page should not contain political content, any emoji or other contents might cause me trouble.
- Gambling, blockchain, adult content and/or other similar contents are not allowed.
- All tier 0 rights, and
- For at least the next 10 versions, get credited within the application's "About" dialog at "Special Thanks" tab
- Get pre-release / sponsor-edition of Pineapple Notepad on itch.io (the sponsor license is full featured without requiring a sponsor license)
### Tier 2: 25 USD
- All tier 1 rights, and
- Get source code access on itch.io before the open-source sponsor goal is reached (for auditing and building from source)
</details>
@@ -92,6 +93,8 @@ All listed benefits below only apply to sponsors who donate **before** we reach
[![Afdian](https://static.afdiancdn.com/static/img/logo/logo.png)Afdian](https://afdian.com/a/BLumia)
[itch.io](https://blumia.itch.io/pineapple-notepad)
### Related Open-Sourced Projects
Some associated projects are already open-sourced:
@@ -99,6 +102,7 @@ Some associated projects are already open-sourced:
- [kf6redist](https://github.com/BLumia/kf6redist): KDE Framework redistribution building scripts and patches.
- [libintl](https://github.com/BLumia/libintl): Patched libintl for easier build with CMake.
- [icoutils-rs](https://github.com/BLumia/icoutils-rs): drop-in, portable replacement for icoutils's `icotool`.
- [pineapple-msix](https://github.com/BLumia/pineapple-msix): MSIX packaging utility.
## License
+32 -26
View File
@@ -32,9 +32,15 @@
| 文件夹面板 | ✅ | ✅ | ✅ | ✅ | ✅ |
| 文档结构图 | ✅ | ✅ | ❌ | ❌ | ✅ |
| 运行对话框 | ✅ | ✅ | ❌ | ❌ | ❌ |
| 定时周期备份 | 🚧[^10] | ✅ | ❌ | ✅ | ✅ |
| 定时周期备份 | ✅ | ✅ | ❌ | ✅ | ✅ |
| 自定义语言 | ✅ | ✅ | ❌ | ⚠️[^11] | ✅ |
| 文档快捷切换[^12] | ✅ | ✅ | ❌ | ❌ | ✅ |
| 文本标记 | ✅ | ✅ | ✅ | ✅ | ❌ |
| HTML 导出 | ✅ | 🧩 | ✅ | ❌ | ✅ |
| 拼写检查 | ✅ | 🧩 | ❌ | ❌ | ✅ |
| 在搜索结果中查找 | ✅ | ✅ | ❌ | ⚠️[^13] | ❌ |
| 编辑器引擎 | Scintilla | Scintilla | Scintilla | QScintilla | KTextEdit |
| 正则引擎 | RESearch [^11] | Boost.Regex | QRegularExpression | Boost.Regex [^12] | QRegularExpression |
| 正则引擎 | QRegularExpression | Boost.Regex | QRegularExpression | Boost.Regex [^10] | QRegularExpression |
[^1]: 目前未开源。计划在达到开源赞助目标后开源(请考虑捐赠!)。第二档位的赞助者也可在开源目标达成前提前获取完整源码以供自行构建和代码审查。
[^2]: 某些不可打印字符无法显示。
@@ -43,54 +49,53 @@
[^5]: 当前仅作为实验性版本提供给赞助者,若开源目标达成后则会在未来版本中可用。
[^6]: 在编辑器中高亮选中的单词。
[^9]: 需启用只读模式并启用自动重载来获得近似体验。
[^10]: 当前施工中,计划在 0.8.0 版本(或者面向赞助者的 0.7.z 版本)中提供。
[^11]: RESearch 是 Scintilla 的内置正则引擎。我计划在 0.8.0 版本将其替换为基于 QRegularExpression 的解决方案。
[^12]: 根据其原有旧代码和当前的动态库的情况,其目前实现复用了来自 Notepad++ 的正则引擎实现(BoostRegExSearch)。
[^10]: 根据其原有旧代码和当前的动态库的情况,其目前实现非常可能复用了来自 Notepad++ 的正则引擎实现(BoostRegExSearch)。
[^11]: 仅支持基于 Lexilla 现有的 cpp lexer 进行关键词自定义。
[^12]: <kbd>Ctrl+Tab</kbd> 快速切换最近查看过的已打开文档。
[^13]: 是对搜索结果面板提供了一个快速搜索框,而非针对搜索结果面板内的结果再次进行查找。
## 开源目标
菠萝记事本目前不是一个开源项目,但目标是使菠萝记事本成为开源软件。我已设定了一个 1000 元的开源目标,如果达到该目标,Pineapple Notepad 将作为开源项目发布。请阅读[这篇文章](https://ko-fi.com/post/Pineapple-Notepad-A-Cross-platform-Notepad--Alte-G2G71V8JPX)了解详情。如果您有兴趣,请使用以下链接支持此项目。
菠萝记事本目前不是一个开源项目,但目标是使菠萝记事本成为开源软件。我已设定了一个 1000 元的开源目标,如果达到该目标,Pineapple Notepad 将作为开源项目发布。请阅读[这篇文章](https://ko-fi.com/post/Pineapple-Notepad-A-Cross-platform-Notepad--Alte-G2G71V8JPX)了解详情。您可以在[这个页面](https://pineapple-notepad.blumia.net/sponsor)了解开源赞助目标的当前进度。如果感兴趣,可以使用以下链接支持此项目。
### 赞助权益
在达到目标之前,如果您支持菠萝记事本达到或超过 50 元,您可以让您的名字出现在应用程序的"关于"对话框的特别致谢中。
请阅读以下详情了解赞助权益和可能的限制。
为了表示对赞助者的感谢,在开源赞助目标达成前,赞助者可获得赞助者许可证,可供解锁一些锦上添花的小功能。另外,根据赞助情况,赞助者还可以获得署名致谢与(在开源目标达成之前)访问源码的权益。具体如下:
<details>
下面列出的所有权益仅适用于在达到开源目标**之前**捐赠的赞助者。
#### 第 1 档:50 元
### 档位 0: 10 CNY
- 获取菠萝记事本的预发布版本。
- 您(个人)将在应用程序的"关于"对话框中被列为启动支持者。
- 该名称将保留至少 10 个版本,之后可能会移动到源代码仓库中的独立 `THANKS` 文件。
- 可以提供可选的电子邮件和/或主页。
- 适用限制(如果您有任何疑问或不确定是否适用于您,请联系我):
- 您的名称、电子邮件和/或主页链接不应包含政治内容、任何表情符号或其他可能给我带来麻烦的内容。
- 获得赞助者许可证,可供在免费发布的版本中解锁一些赞助者限定的锦上添花的小功能,目前包括:
- 主题颜色编辑器(可供微调某个主题中的特定颜色)
- 可自定义的右键菜单(供编辑器区域使用)
- 在下次版本发布时的博客中署名致谢
#### 第 2 档:200 元
### 档位 1: 50 CNY
- 第 1 档的所有权益
- 获取菠萝记事本的完整源代码,允许您从源代码构建或进行审计。
- 您(公司/组织)将在应用程序的"关于"对话框中被列为赞助者。
- 该名称将保留至少 10 个版本,之后可能会移动到源代码仓库中的独立 `THANKS` 文件。
- 可以提供可选的电子邮件和/或主页。
- 适用限制(如果您有任何疑问或不确定是否适用于您,请联系我):
- 您的名称、电子邮件和/或主页链接不应包含政治内容、任何表情符号或其他可能给我带来麻烦的内容。
- 恕不接受赌博、区块链、成人内容和/或其他类似内容。
- 前一个档位所包含的所有权益
- 在后续的至少 10 个版本中,在应用程序的关于对话框的“致谢”标签页中署名致谢
- 在 itch.io 中获得预发布版本/赞助者专版(赞助者专版不需要赞助者许可证即包含所有功能)
### 档位 2: 150 CNY
- 前一个档位所包含的所有权益
- (在开源目标达成之前)在 itch.io 中获得公开发布版本的完整源码,可供审计与从源码构建等需求使用
</details>
*如果您对赞助权益有任何疑问,请通过创建 Issue 或在 Ko-fi 上给我留言或其他任何可以联系到我的方式与我取得联系。*
### 资助
### 赞助
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/blumia)
[![爱发电](https://static.afdiancdn.com/static/img/logo/logo.png)爱发电](https://afdian.com/a/BLumia)
[itch.io](https://blumia.itch.io/pineapple-notepad)
### 相关的开源项目
一些与此项目关联的项目已开源:
@@ -98,6 +103,7 @@
- [kf6redist](https://github.com/BLumia/kf6redist): KDE Framework 再分发版本的构建脚本和相关补丁。
- [libintl](https://github.com/BLumia/libintl): 可供 CMake 构建的 libintl 版本。
- [icoutils-rs](https://github.com/BLumia/icoutils-rs): icoutils 的 `icotool` 工具的单可执行文件便携替代实现。
- [pineapple-msix](https://github.com/BLumia/pineapple-msix): MSIX 便捷打包工具。
## 许可证