Commit Graph

475 Commits

Author SHA1 Message Date
Jonatan Heyman
bc3a9b66a1 Add test that ensures that getBlocksFromSyntaxTree() and getBlocksFromString() functions produces the same results 2024-07-07 22:05:33 +02:00
Jonatan Heyman
016422e7db Update imports so that that they also work in playwright tests 2024-07-07 22:05:33 +02:00
Jonatan Heyman
a5252e12c4 Update prettier to latest version 2024-07-07 22:05:33 +02:00
Jonatan Heyman
9bcf03d00c Typo 2024-07-07 22:05:33 +02:00
Jonatan Heyman
c3892163af Remove timeout parameter for getBlocksFromSyntaxTree() since we now expect the syntax tree to already be available. 2024-07-07 22:05:33 +02:00
Jonatan Heyman
29d4eb26cc Optimize block parsing when syntax tree isn't available.
If the syntax tree isn't available, use String.indexOf to parse the blocks.
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
Donghee Lee
d943fc8015 Support Dart Syntax 2024-06-12 07:47:45 +02:00
Jonatan Heyman
78e2bb2ec3
Add link to website and logo
Signed-off-by: Jonatan Heyman <jonatan@heyman.info>
2024-03-25 13:29:23 +01:00
Jonatan Heyman
93e805152e Add .webmanifest to web app 2024-02-26 18:22:52 +01:00
Ariel Barreiro
302ed1a0b8
Fix language 2024-02-16 11:04:57 -03:00
Ariel Barreiro
b368810ecc
Document how to format number with local
Relates to #201
2024-02-16 11:03:35 -03: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
Jonatan Heyman
2f22951e9f Add "Always on top" setting which makes Heynote stay on top of other programs 2024-02-09 16:07:27 +01:00
Jonatan Heyman
a7e0f53c35 Avoid code duplication by auto building the GUESSLANG_LANGUAGES list in langdetect-worker.js from the src/editor/languages.js:LANGUAGES list. 2024-02-09 16:02:07 +01:00
Jonatan Heyman
d591d7ddb1 Add PowerShell language mode 2024-02-09 16:02:07 +01:00
Jonatan Heyman
9e3fc5e8e6 Add Diff language mode 2024-02-09 16:02:07 +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
Abhishek Maran
5eed314e32
fix: Block corruption when deleting block content using deleteLine command (#134)
* fix: cell corruption when deleting block contents

* customize deleteLine to fix cell corruption

* implemented tests for delete line

* moved deleteLine and selectedLineBlocks to delete-line.js
2024-02-07 13:03:59 +01:00
Jonatan Heyman
f9673b0954 Use explicit key bindings for copy/paste/cut, instead of just relying on default browser keys 2024-01-29 13:20:21 +01:00
Jonatan Heyman
a5088a48af Open the Heynote window when menu bar icon is left-clicked on Mac 2024-01-26 01:42:29 +01:00
BlackHoleFox
fdfce3d9c8 Remove unnessecary entitlements 2024-01-25 23:09:30 +01:00
BlackHoleFox
9e3ca58822 Remove insecure macOS entitlement 2024-01-25 23:09:30 +01:00
Jonatan Heyman
41d9ef7025
Copy whole current line(s) when selection(s) are empty (#177)
* Copy whole current line(s) when selection(s) are empty

* Fix tests on Linux/Windows
2024-01-25 17:44:38 +01:00
Jonatan Heyman
91f80ff84a Check that stored screen position and size are still valid (not larger than screen or outside screen), and if not, reset them. 2024-01-25 14:31:02 +01:00
ImKaashif
5e169a1927 added x and y co-ordinates to windowConfig 2024-01-25 14:31:02 +01:00
Jonatan Heyman
295e55552b Add version number to settings dialog.
For the web app we also display the git hash.
2024-01-12 15:09:13 +01:00
Jonatan Heyman
37b62d416e Move window.heynote.isWebApp to window.heynote.platform.isWebApp 2024-01-12 14:42:37 +01:00
Jonatan Heyman
e292fab449 Always show settings button in status bar (not just in web app) 2024-01-12 14:42:37 +01:00
Jonatan Heyman
15ee6b9194 Change "Preferences" to "Settings" in the application menu (#100) 2024-01-12 14:29:36 +01:00
Jonatan Heyman
5adbbc72ec
Add prev variable to Math blocks that holds the previous value (#156)
Moved documentation on Math blocks from the FAQ into it's own section in the Readme.
2024-01-11 21:28:11 +01:00
Jonatan Heyman
66e7082786 Set default font size to 16px in webapp for mobile devices in order to avoid auto zoom in when the keyboard appears on iOS Safari 2024-01-11 21:05:15 +01:00
Jonatan Heyman
c645b0bac8 Avoid zoom in on input focus, in the webapp on mobile devices
Set LanguageSelector's input font-size to 16px on mobile devices.

Add SASS mixins "webapp" and "webapp-mobile" to write specific CSS for those clients.
2024-01-11 21:05:15 +01:00
Jonatan Heyman
54e390eeec Set text color for language selector's input in dark mode
(in Electron it has a good default since the native UI gets it's theme set, but this does not happen in a browser where the user selects the dark theme)
2024-01-11 21:05:15 +01:00
Jonatan Heyman
922aa83a10 Fix "white flash" effect when resizing window in dark mode
* Fix so that the background color of the page gets properly set according to the current theme.

* Change so that we add the theme attribute to the <html> element instead of <body>, making it possible to use the +dark-mode SASS mixin in body CSS selectors

* Introduce CSS variables for the status bar's background and text colors
2024-01-11 16:58:21 +01:00
Jonatan Heyman
195a00a783 Add info on how to override format() in Math blocks 2024-01-10 18:05:31 +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
fea7e3cec2 Fix bug causing crash when starting the app for the first time (without a config file) 2024-01-10 09:55:38 +01:00
Jonatan Heyman
73c3d12e38 Bump version to 1.6.0-beta.4 2024-01-09 00:46:57 +01:00
Jonatan Heyman
e1287d795e Remove AltGr from global hotkey setting on Windows
Did not work. On windows pressing Ctrl+Alt is the same as AltGr, so setting the hotkey to Ctrl+Alt+H will make the hotkey AltGr+H work.
2024-01-09 00:45:53 +01:00
Jonatan Heyman
090b6fc1dd Add tests for custom fonts 2024-01-09 00:35:33 +01:00
Jonatan Heyman
f0927add74 Fix broken Settings dialog in browsers that doesn't support queryLocalFonts() 2024-01-09 00:35:33 +01:00
Jonatan Heyman
780a949a73 Fix so that Settings dialog work when browser doesn't support queryLocalFonts() 2024-01-09 00:35:33 +01:00
Jonatan Heyman
09539f9cd8 Remove invalid code (copy & paste error) 2024-01-09 00:35:33 +01:00
Jonatan Heyman
a56a267e06 Add support for changing font family and font size 2024-01-09 00:35:33 +01:00