Commit Graph

81 Commits

Author SHA1 Message Date
Jonatan Heyman
3466e0d4fc Bump version to 2.0.0-alpha.2
#build
2024-12-09 12:37:05 +01:00
Jonatan Heyman
b7d2c26ce3 Bump version to 2.0.0-alpha 2024-12-09 12:37:05 +01:00
Jonatan Heyman
2f7374cca9 Use fuzzysearch to filter notes in NoteSelector 2024-12-09 12:37:05 +01:00
Jonatan Heyman
5b61a0a234 WIP: Implement ability to create new notes.
Support cache of multiple Editor instances.

Change so that current note name is included in the event data dispatched by emitCursorChange.
2024-12-09 12:37:05 +01:00
Jonatan Heyman
c14c700791 Add a way to display error dialogs 2024-12-09 12:37:05 +01:00
Jonatan Heyman
769d7eb0fb Throw error if major format version is greater than the currently supported version 2024-12-09 12:37:05 +01:00
Jonatan Heyman
633ea633b9 Bump version to 1.8.0 2024-07-14 15:39:25 +02:00
Jonatan Heyman
25364ec7e7 Bump version to 1.8.0-beta.3 2024-07-14 14:52:10 +02:00
Jonatan Heyman
971f406720 Bump version to 1.8.0-beta.2 2024-07-14 13:26:52 +02:00
JongwooLee
f9c841d19e add vue language support 2024-07-14 12:45:35 +02:00
dependabot[bot]
e5d4d31ca2 Bump ejs from 3.1.9 to 3.1.10
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 15:24:45 +02:00
dependabot[bot]
71f6a033cf Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 15:24:29 +02:00
Jonatan Heyman
a6746167d6 Bump version to 1.8.0-beta 2024-07-08 14:59:10 +02:00
Jonatan Heyman
a5252e12c4 Update prettier to latest version 2024-07-07 22:05:33 +02:00
Jonatan Heyman
48a29c7552 Bump version to 1.7.1 2024-07-02 19:00:34 +02:00
Jonatan Heyman
11df8ea864 Bump version to 1.7.1-beta 2024-06-30 14:18:57 +02:00
Jonatan Heyman
387c842d63 Upgrade to latest version of Electron 2024-06-30 14:18:57 +02:00
Jonatan Heyman
387ef33f94 Bump version to 1.7.0 2024-02-12 03:06:22 +01:00
Jonatan Heyman
d2b6641799 Bump version to 1.7.0-beta.2 2024-02-09 16:09:12 +01:00
dependabot[bot]
30d6e4d3fb Bump vite from 4.5.1 to 4.5.2
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 14:31:06 +01:00
Jonatan Heyman
f088c37061 Bump version to 1.7.0-beta 2024-02-08 14:25:59 +01:00
Jonatan Heyman
96667a9d3c Bump version to 1.6.0 2024-01-10 13:00:14 +01:00
Jonatan Heyman
85274103fc Bump version to 1.6.0-beta.5 2024-01-10 09:57:47 +01:00
Jonatan Heyman
73c3d12e38 Bump version to 1.6.0-beta.4 2024-01-09 00:46:57 +01:00
Jonatan Heyman
ff7323ed63 Bump version to 1.6.0-beta.3 2024-01-06 21:31:42 +01:00
Jonatan Heyman
fcbf1733c4 Bump version to 1.6.0-beta.2 2024-01-06 03:13:07 +01:00
Jonatan Heyman
7841a91e3c Bump version to 1.6.0-beta 2024-01-05 01:01:38 +01:00
Jonatan Heyman
93fb003476 Bump version to 1.5.0 2023-12-27 01:12:02 +01:00
Jonatan Heyman
1487590d1d Bump version to 1.5.0-beta 2023-12-26 01:34:34 +01:00
Jonatan Heyman
bb511b868b
Add support for more languages (#69)
* Contain language selection dialog in an element that can be scrolled, and automatically scroll it if needed when navigating the list with arrow keys

* Add support for more languages:

Clojure, Erlang, Golang, Lezer, Ruby, Shell, YAML

* Move prettier auto format settings for languages into Language() class

* Remove invalid import

* Fix bug that could cause auto formatting to fail for the last block.
Add tests for language auto detection and formatting.

* Fix broken tests

* Fix language auto detection on Safari Webkit which was broken

* Remove unnecessary wait time
2023-12-26 00:27:43 +01:00
Jonatan Heyman
1006fd4580
Implement tests using Playwright (#68)
* Set up Playwright and add first test

* Add npm run commands for running tests
Run tests in github actions

* Fix tests on non Mac environments

* Add method to HeynoteEditor class to set the buffer content

* Add more tests

* Set Github action job name
2023-12-25 17:41:15 +01:00
Jonatan Heyman
079fa666d6
Implement web version of Heynote (#63)
* Move windows.darkMode -> window.heynote.themeMode

* Only add UpdateStatusItem if window.heynote.autoUpdate is set

* Update Vite

* Implement web version of Heynote.

Add a child vite project in ./webapp/ that is Heynote running within a browser. Imports almost all code from ../src/ and only adds a thin bridge that corresponds to the API between the Electron main process and the app code.

* Remove commented out tag

* Specify publicDir in vite config, instead of using a symlink

* Add webapp_dev npm command to package.json

* Add npm run command: webapp:build

* Add resolve alias '@' that points to project root.
Move assets file from public to assets in order to let Vite/Rollup handle bundling.
2023-12-25 14:18:44 +01:00
Ahmed M. Atia
96440b28ba
Add syntax highlighting support for C# (#55)
* feat: add syntax highlighting support for C#

* update README - add C# sysntac highlighting support

* restore original indentation / formatting

* Fix syntax error in Lezer grammar

* Fix language auto detection of C#

---------

Co-authored-by: Jonatan Heyman <jonatan@heyman.info>
2023-12-24 10:59:24 +01:00
Jonatan Heyman
745052828a Bump version to 1.4.2 2023-12-21 19:27:06 +01:00
Jonatan Heyman
41795c14ea Bump version to 1.4.1 2023-12-21 10:44:40 +01:00
Jonatan Heyman
6086976dc4 Update prettier version and fix formatting bug.
Prettier currently has a bug that causes it's formatWithCursor() to be extremely slow in some cases. In Heynote, whenever you pasted a large JSON chunk and auto formatted it, with the cursor at the beginning or the start of the block, this would trigger that bug. This commit introduces a work around by using format() if the cursor is at the beginning or the end of the block.

Update to latest version of Prettier.
2023-12-21 03:09:53 +01:00
Jonatan Heyman
2a42eea089 Bump version to 1.4.0 2023-12-12 15:16:37 +01:00
Jonatan Heyman
82e89f9821 Bump version 2023-12-11 00:32:07 +01:00
Jonatan Heyman
d5ea4c77ab Set version to 1.4.0-beta.2 2023-12-11 00:13:53 +01:00
Jonatan Heyman
cc7eefbb75 Bump version to beta2 2023-12-10 23:45:43 +01:00
Jonatan Heyman
192bd2a62f Bump version to 1.4.0-beta 2023-12-10 23:01:07 +01:00
Jonatan Heyman
131a9ec877 Upgrade Electron to version 28.0.0 2023-12-10 22:56:50 +01:00
Jonatan Heyman
caddb1e66f Add electron-log to dependencies instead of devDependencies 2023-12-10 14:18:43 +01:00
Jonatan Heyman
ec80c8f814
Fix broken build action (#5) 2023-12-10 14:06:55 +01:00
Jonatan Heyman
ef06d68708 Bump version to 1.3.3-beta 2023-12-10 12:19:27 +01:00
Jonatan Heyman
a88f9cc49b Update dependency versions
Explicitly add "@codemirror/*" packages instead of relying on the "codemirror" sample package.
Update to newer versions for implicit dependencies in in package-lock.json.

This should fix errors in development mode on Windows.
2023-12-10 12:18:43 +01:00
Jonatan Heyman
6886fe9dbe Bump version to 1.3.2 2023-12-08 13:29:37 +01:00
Jonatan Heyman
456aaecc20 Bump version to 1.3.2-beta 2023-12-08 00:29:51 +01:00
Jonatan Heyman
8fd7f45174 Upgrade @lezer/markdown
Fixes a bug causing automatic creation of new list items in Markdown mode not work
2023-12-07 18:29:48 +01:00
Jonatan Heyman
ca20c494a0 Bump version to 1.3.0-beta 2023-12-07 02:12:48 +01:00