KernelDeimos
41f378e403
Somehow this got lost earlier
2024-06-04 16:53:29 -04:00
KernelDeimos
0b0707363c
Fix potential race condition
2024-06-04 16:28:53 -04:00
Nariman Jelveh
04fefc0761
Update README.md
2024-06-04 13:07:02 -07:00
Ikko Eltociear Ashimine
de974f0551
chore: update UI.js
...
occured -> occurred
2024-06-05 01:17:23 +09:00
Eric Dubé
aec5cd5148
Merge pull request #451 from HeyPuter/eric/drivers-1
...
refactor(backend): de-couple driver registration from DriverService
2024-06-03 18:11:53 -04:00
Eric Dubé
2a2a42c153
Merge pull request #424 from AtkinsSJ/sed
...
Actually parse sed scripts
2024-06-03 12:22:15 -04:00
Nariman Jelveh
66639ea110
Merge pull request #449 from wamynobe/main
...
fix: fix typo
2024-06-03 00:50:31 -07:00
Nariman Jelveh
1ae82b3210
turns out ESLint is garbage
2024-06-02 16:30:29 -07:00
Nariman Jelveh
a81f461b54
Implement the contextMenu
API for Puter.js
2024-06-02 16:15:35 -07:00
Nariman Jelveh
cf8a07286a
Fix typo sanitizeItems
to sanitize_items
2024-06-02 10:23:41 -07:00
Nariman Jelveh
6efff83616
Support separator in the setMenubar
API
2024-06-02 10:21:11 -07:00
Nariman Jelveh
233a2719c6
Add temp-email
driver implementation to the SDK
2024-06-01 16:34:37 -07:00
Nariman Jelveh
49f61c4782
Update UIContextMenu.js
2024-06-01 15:56:32 -07:00
KernelDeimos
665b2d4e4e
refactor(backend): de-couple driver registration from DriverService
2024-06-01 18:20:27 -04:00
Mason Nguyen
ce328b7245
fix: fix typo
2024-06-01 11:00:03 +07:00
Eric Dubé
135b5eccc5
Merge pull request #448 from HeyPuter/eric/log-update
...
feat(backend): improve logger and reduce logs
2024-05-31 20:38:10 -04:00
KernelDeimos
2d8e6240c6
feat(backend): add tip of day
2024-05-31 20:36:14 -04:00
KernelDeimos
4bdad75766
feat(backend): improve logger and reduce logs
2024-05-31 19:40:13 -04:00
KernelDeimos
522664d415
feat(backend): allow services to provide user properties
2024-05-31 18:10:11 -04:00
KernelDeimos
71e2310fa4
tweak(ui): expose UIAlert to service scripts
2024-05-31 18:09:15 -04:00
KernelDeimos
d2b37fc436
tweak(ui): fix NotifCard accessing on_click
2024-05-31 18:03:45 -04:00
Nariman Jelveh
e6e058c0a0
Update UIContextMenu.js
2024-05-31 10:58:18 -07:00
Sam Atkins
6de4c89c25
refactor(phoenix): Combine similar sed command classes
...
These make more sense combined into one Command which is controlled by
constructor parameters:
- b, t and T
- d and D
- g and G
- h and H
- p and P
2024-05-31 15:49:32 +01:00
Sam Atkins
0d4f907b66
feat(phoenix): Implement parsing of sed scripts
...
Sed is now finally able to actually run scripts, instead of ignoring all
input and running a hard-coded test script!
2024-05-31 15:49:32 +01:00
Sam Atkins
e047b0bf30
fix(phoenix): Add missing newlines to sed command output
2024-05-31 15:49:32 +01:00
Sam Atkins
f250f86446
feat(phoenix): Add --dump and --file options to sed
2024-05-31 15:49:32 +01:00
Sam Atkins
4067c82486
feat(phoenix): Expose parsed arg tokens to apps that request them
...
Some shell apps care about what order the arguments appear in. When
`parseArgs()` is called with `tokens: true`, it produces this `tokens`
array which represents all the command line options and arguments, in
order, which is useful for these more advanced cases.
2024-05-31 15:49:32 +01:00
Sam Atkins
306014adc7
feat(phoenix): Add more commands to sed, including labels and branching
...
This is ported over from an old forgotten branch I'd deleted, then
thankfully managed to dig up again. 😅
Instead of making GroupCommand contain child commands, use a flat array
for commands and implement groups as GroupStartCommand and
GroupEndCommand. This makes it much simpler to iterate the commands
list in order to jump to labels.
Then implement those labels and the commands that use them: b, t, and T.
Also add the s SubstituteCommand, and combine the code for the q and Q
commands.
2024-05-31 15:49:32 +01:00
Sam Atkins
6aae8fc63b
refactor(phoenix): Split up sed code
...
Let's organise this a bit.
2024-05-31 15:49:32 +01:00
Sam Atkins
9b4d16fbe9
fix(parsely): Make Repeat parser work when no separator is given
2024-05-31 15:49:32 +01:00
Sam Atkins
d46b043c5d
feat(parsely): Add stringUntil() parser
...
The counterpart of stringOf(), it reads characters until it matches its
parameter.
2024-05-31 15:49:32 +01:00
Sam Atkins
5656d9d42f
feat(parsely): Add a fail() parser
...
I've found this useful for stubbing out parts of a grammar during
development.
2024-05-31 15:49:32 +01:00
Nariman Jelveh
c9a43ce5c0
Update UIContextMenu.js
2024-05-30 18:16:32 -07:00
Nariman Jelveh
7c8492ba43
Fix the issue of checkmark's wrong color in ctx menu disabled items on hover
2024-05-30 17:09:18 -07:00
Nariman Jelveh
16d5ac6abb
Delay opening the submenu for smoother mouse navigation on the menu
2024-05-30 15:24:50 -07:00
Nariman Jelveh
a8515e0a41
Switch font to Inter 🎉
2024-05-30 15:14:25 -07:00
KernelDeimos
fccabf1bc0
feat(backend): allow services to provide whoami values
2024-05-30 17:11:06 -04:00
Eric Dubé
dd1d129693
Merge pull request #444 from HeyPuter/eric/ui-updates
...
UI Updates
2024-05-30 16:48:28 -04:00
KernelDeimos
124596058a
feat(ui): allow component-based settings tabs
2024-05-30 16:14:32 -04:00
KernelDeimos
be38df32ec
tweak(ui): allow setting render more for JustHTML
2024-05-30 16:14:32 -04:00
KernelDeimos
577bd59b6c
feat(ui): add new components
...
This commit adds the following components:
- ActionCard
- Frame
- NotifCard
2024-05-30 16:14:32 -04:00
KernelDeimos
f8780d032b
fix(ui): improve Component base class
...
The following improvements were made:
- do not require empty object in constructor
- allow components to override render mode based on constructor values
- improve error handling in get()
- allow array of property names in on_ready()->listen()
- allow components to be attached to shadow roots
2024-05-30 16:07:16 -04:00
KernelDeimos
38ba42575c
feat(ui): add new components
...
This commit adds the following components:
- Glyph
2024-05-30 16:04:52 -04:00
Nariman Jelveh
60f0ade3c1
Improve the UX of the menubar and context menu
2024-05-30 13:02:00 -07:00
KernelDeimos
8e083d20d2
tweak(ui): allow size changing on spinner
2024-05-30 15:59:05 -04:00
Eric Dubé
a62a56fd7b
Merge pull request #413 from AtkinsSJ/extract-posix-error
...
refactor: Move PosixError class where it can be accessed outside of Phoenix
2024-05-30 12:43:41 -04:00
Eric Dubé
895358e6e5
Merge pull request #423 from AtkinsSJ/parsely
...
Tidy up "newparser" so it can be used properly
2024-05-30 12:42:03 -04:00
Eric Dubé
d57980c6cb
Merge pull request #421 from AtkinsSJ/exit-status
...
Add exit status codes to `puter.exit()`, and an `exit` builtin to Phoenix
2024-05-30 12:28:36 -04:00
Eric Dubé
0672562c8a
Merge pull request #442 from HeyPuter/eric/extensibility
...
class registry for service scripts
2024-05-28 20:10:03 -04:00
KernelDeimos
d047abf31c
Update eslint
2024-05-28 19:06:00 -04:00