summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-05Bump version to 0.9.5externals/firefox-javascript-replThomas Fitzsimmons
* firefox-javascript-repl.el: Bump version to 0.9.5. * NEWS: Document update.
2023-06-05Use browse-url-firefox-program for firefox binaryThomas Fitzsimmons
* firefox-javascript-repl.el: Remove architecture column from compatibility table. Require browse-url. (firefox-javascript-repl): Use fully qualified firefox executable path.
2023-06-02Bump version to 0.9.4Thomas Fitzsimmons
* firefox-javascript-repl.el: Bump version to 0.9.4. * NEWS: Document changes.
2023-06-02Prompt before deletion of temporary profile directoryThomas Fitzsimmons
* firefox-javascript-repl.el (firefox-javascript-repl): Prompt before deletion of temporary profile directory.
2023-06-01Bump version to 0.9.3Thomas Fitzsimmons
* firefox-javascript-repl.el: Bump version to 0.9.3. * NEWS: Include update.
2023-06-01Bump version to 0.9.2Thomas Fitzsimmons
* firefox-javascript-repl.el: Bump version to 0.9.2. * NEWS: Lowercase package name.
2023-06-01Bump version to 0.9.1Thomas Fitzsimmons
* firefox-javascript-repl.el: Bump version to 0.9.1. * NEWS: New file.
2023-06-01Work around missing submodule support in GNU ELPAThomas Fitzsimmons
* wtfjs.README.md: New file. * firefox-javascript-repl.el (fjrepl--show-quirk): Load quirk-of-the-day from wtfjs.README.md snapshot. Increase quirk message timeout to seven seconds. (firefox-javascript-repl--mode): Do not ignore quirk errors.
2023-06-01Add missing autoloadThomas Fitzsimmons
* firefox-javascript-repl.el (fjrepl--stop): Make non-interactive. (firefox-javascript-repl): Autoload.
2023-06-01Bump version to 0.9.0Thomas Fitzsimmons
* firefox-javascript-repl.el: Bump version to 0.9.0.
2023-06-01Ignore errors when showing quirkThomas Fitzsimmons
* firefox-javascript-repl.el (firefox-javascript-repl--mode): Ignore errors when showing quirk.
2023-05-31Make firefox-javascript-repl--mode privateThomas Fitzsimmons
* firefox-javascript-repl.el (firefox-javascript-repl--mode): Make private.
2023-05-31Pass process object to kill-processThomas Fitzsimmons
* firefox-javascript-repl.el (firefox-javascript-repl-mode): Pass process object to kill-process.
2023-05-27Fix kill-buffer-hook for Emacs 26.1Thomas Fitzsimmons
* firefox-javascript-repl.el (firefox-javascript-repl-mode): Do not add comint--indirect-cleanup to kill-buffer-hook if it does not exist.
2023-05-27Trim some messagesThomas Fitzsimmons
* firefox-javascript-repl.el (fjrepl--debug): Trim message. (fjrepl--handle-first): Rename network argument. Trim sentinel event messages. (firefox-javascript-repl): Rename firefox-process argument. Trim sentinel event messages.
2023-05-27Move usage to start of commentaryThomas Fitzsimmons
* firefox-javascript-repl.el: Move usage to start of commentary.
2023-05-27Mention throwaway profile in commentaryThomas Fitzsimmons
* firefox-javascript-repl.el: Mention throwaway profile in commentary.
2023-05-27Refer to Firefox Debugging Remote ProtocolThomas Fitzsimmons
* firefox-javascript-repl.el: Refer to Firefox Debugging Remote Protocol consistently. Expand FRDP acronym and link to official documentation. (fjrepl--get-result, fjrepl--extract-result) (fjrepl--handle-done, fjrepl--handle-console) (fjrepl--handle-target, fjrepl--handle-tab) (fjrepl--debug-result): Update docstrings to use FRDP acronym. * firefox-javascript-repl.el (fjrepl--parse-prior-message): Remove some tabs. (firefox-javascript-repl): Likewise.
2023-05-26Adjust commentary wordingThomas Fitzsimmons
* firefox-javascript-repl.el: Adjust commentary wording.
2023-05-26Add jss URL to commentaryThomas Fitzsimmons
* firefox-javascript-repl.el: Add jss URL to commentary.
2023-05-26Add Package-RequiresThomas Fitzsimmons
* firefox-javascript-repl.el: Require emacs 26.1 or greater for package.
2023-05-26Backport to Emacs 26.1Thomas Fitzsimmons
* firefox-javascript-repl.el: Fill out and format testing table in commentary. Require json. Reorder require lines. (messages-buffer-name): Declare variable. (firefox-javascript-repl-mode): Fix Emacs 26.1 compatibility issues. (fjrepl--parse-prior-message): Replace json-parse-string with json-read-from-string for Emacs 26.1 compatiblity. (firefox-javascript-repl): Replace string-trim with string-trim-left and string-trim-right for Emacs 26.1 compatibility.
2023-05-26Polish process management, debugging and namingThomas Fitzsimmons
* firefox-javascript-repl.el: Finish commentary. (fjrepl--debug): New variable. (fjrepl--debug): New function. (fjrepl--input-sender): Log debug message. (fjrepl--directory): Rename. (fjrepl--show-quirk): Rename. Lengthen timeout. Ellipsize long examples. (firefox-javascript-repl-mode): Make non-interactive. Remove unneeded js-mode setup steps. Insert prompt at beginning of buffer. (fjrepl--remove-results): New function. (fjrepl--extract-result): Log debug message. (fjrepl--count): New variable. (fjrepl--handle-done): Remove protocol traffic from comint buffer. Add console actor to message. (fjrepl--ensure-count): New function. (fjrepl--handle-console): Shorten success message. Append progress counter to minibuffer message. (fjrepl--handle-target): Likewise. Log debug message. (fjrepl--handle-tab): Likewise. (fjrepl--debug-result): New function. (fjrepl--handle-first): Append progress counter to minibuffer message. Log debug message. (firefox-javascript-repl): Pop to buffer if process already exists. Reset progress counter. Insert a mark in the debug message buffer. Rename firefox-standard-output-buffer-name. Kill the firefox-javascript-repl buffer, not the process. (fjrepl--stop): Rename.
2023-05-25Add a JavaScript example with which to testThomas Fitzsimmons
* example.js: Import from developer.mozilla.org tutorial.
2023-05-25Remove newlines before sending JavaScriptThomas Fitzsimmons
* firefox-javascript-repl.el (fjrepl--input-sender): Remove newlines before sending. (fjrepl--extract-result): Parse more result types.
2023-05-25Show JavaScript quirk on startupThomas Fitzsimmons
* firefox-javascript-repl.el (firefox-javascript-repl--directory): New constant. (firefox-javascript-repl--show-quirk): New function. (firefox-javascript-repl-mode): Show quirk.
2023-05-25Enable font lockThomas Fitzsimmons
* firefox-javascript-repl.el: Require cc-langs. (firefox-javascript-repl-mode): Remove some duplicated settings. Set js-mode as indirect comint buffer. Enable comint-fontify-input-mode.
2023-05-25Fix string quotingThomas Fitzsimmons
* firefox-javascript-repl.el (fjrepl--input-sender): Escape double quotes.
2023-05-25Add .gitignore fileThomas Fitzsimmons
* .gitignore: New file.
2023-05-25Get basic REPL workingThomas Fitzsimmons
* firefox-javascript-repl.el: Document testing versions. (firefox-javascript-repl-binary): Delete variable, inline value. (fjrepl--console-actor): New variable. (fjrepl--prompt): Likewise. (fjrepl--input-sender): New variable. (firefox-javascript-repl-mode): New mode. (fjrepl--create-profile-directory): Delete privacy policy. Disable drop down. (fjrepl--get-result): Rename argument to descend. (fjrepl--extract-result): New function. (fjrepl--handle-done): Set process filter. Pop buffer. (fjrepl--handle-console): Set console actor variable. Rename some variables.
2023-05-18Get ready for asynchronous JavaScript evaluationThomas Fitzsimmons
* firefox-javascript-repl.el (fjrepl--message) (fjrepl--error, fjrepl--create-profile-directory) (fjrepl--send-string): Shorten name. (fjrepl--parse-prior-message) (fjrepl--get-result, fjrepl--handle-done) (fjrepl--handle-console, fjrepl--format-message) (fjrepl--handle-target, fjrepl--handle-tab) (fjrepl--handle-first): New functions. (firefox-javascript-repl): Simplify using new function.
2023-05-18Complete actor retrievalThomas Fitzsimmons
* firefox-javascript-repl.el (firefox-javascript-repl--message) (firefox-javascript-repl--error) (firefox-javascript-repl--accept-input) (firefox-javascript-repl--send-string) (firefox-javascript-repl--get-first-tab-actor): New functions. (firefox-javascript-repl--create-profile-directory): Kill buffer after writing out its contents. (firefox-javascript-repl): Distinguish standard output and network process names and buffer names. Remove a debug message. Kill network and process buffers when Firefox terminates. Check for a network connection to Firefox. Find the actor in the first tab.
2023-05-18firefox-javascript-repl: New packageThomas Fitzsimmons
* firefox-javascript-repl.el: New file.