Abe Jellinek
76f844da2f
Scaffold: Autocomplete translator IDs in setTranslator() calls
2022-11-01 16:36:44 -04:00
Abe Jellinek
ac8db7a376
fx-compat: Scaffold: Fix type-to-find not receiving ' '
2022-11-01 16:05:17 -04:00
Abe Jellinek
1aebad3c19
Scaffold: Fix copying JSON test data
...
Previously only copied '[object Object]'.
2022-11-01 16:04:24 -04:00
Dan Stillman
acc4d2a81b
Update paths for Mozilla Fluent files
...
Follow-up to zotero/zotero-standalone-build@600b35d
2022-09-15 18:39:19 -04:00
Abe Jellinek
500f187a60
Scaffold: Remove useless debug
2022-09-13 11:20:41 -07:00
Abe Jellinek
52e8fa8995
Prune Monaco distribution, fix JS acting like TS in Scaffold
...
We don't need most of the bundled languages or localizations, so they were just
taking up disk space pointlessly.
2022-09-12 14:06:17 -07:00
Abe Jellinek
0fe394082c
fx-compat: Scaffold: Prevent Space from scrolling translator list
2022-08-30 10:07:15 -04:00
Abe Jellinek
c2254f3783
fx-compat: Scaffold: Native checkboxes, dropmarker
2022-08-22 16:20:28 -04:00
Abe Jellinek
0eaf5887ea
fx-compat: Scaffold: Use platform keys like zoteroPane
2022-08-17 16:47:39 -04:00
Abe Jellinek
f5f49c7b1d
fx-compat: Scaffold: Non-async detectWeb and async scrape by default
...
We don't usually want an async detectWeb, since HTTP requests should only be
used there in very exceptional cases. We do usually want an async scrape (and we
were already - mistakenly - awaiting it).
2022-08-17 16:31:30 -04:00
Abe Jellinek
139d92054f
Scaffold templates: Pull URL from doc
...
Link URLs could lead to redirects.
2022-08-11 02:25:43 -04:00
Abe Jellinek
7d3e95e050
Fix Scaffold load error when fontSize pref is set
2022-08-11 02:25:43 -04:00
Abe Jellinek
5e6dc290b6
fx-compat: Scaffold: Read ESLint output from stdin
...
Need to update your zotero/translators clone to get linting working again.
2022-07-19 16:26:17 -04:00
Abe Jellinek
14f79018ad
fx-compat: Scaffold: Fix "undefined" attributes
2022-07-19 14:44:28 -04:00
Abe Jellinek
916627b590
fx-compat: Scaffold: Fix indentation using spaces
2022-07-11 13:03:48 -04:00
Abe Jellinek
f81b4b071f
fx-compat: Correct create[XUL]Element[NS]() calls
...
This fixes the dictionary manager and various other places where a XUL
element was being created with createElement(), and also simplifies a lot
of createElementNS(HTML_NS, ...) calls.
This might cause some minor regressions but everything tested has
worked. Not touching preferences (#2659 ) or bindings.
2022-06-29 11:14:40 -04:00
Abe Jellinek
9c837b3361
Improve Monaco integration and use in csledit
...
And remove timedtextarea.xml. Fixes #2665 .
2022-06-28 15:05:16 -04:00
Abe Jellinek
9a2e98360a
fx-compat: Scaffold: Update Monaco
...
Now that we can. Quite a bit faster and more customizable.
2022-06-08 17:38:59 -05:00
Abe Jellinek
e537018e71
fx-compat: Initial fix for Scaffold
...
Not working:
- Web tests (hidden browser is broken)
- Test Updated status text
- Various platform menu things (code copied from ZP and will use whichever
approach we settle on there)
2022-06-08 17:16:50 -05:00
Dan Stillman
2e26703b50
fx-compat: goQuitApplication() now takes an event
argument
2022-05-13 04:28:57 -04:00
Dan Stillman
77015336a4
WIP: Localization
2022-05-13 04:28:56 -04:00
Abe Jellinek
dea9fc5e88
Scaffold: setInterval -> activate listener
2022-04-07 19:50:13 -07:00
Abe Jellinek
fbaa1c6e61
Fix huge Scaffold toolbar icons on Win/Linux
2022-04-05 14:50:05 -07:00
Abe Jellinek
27c9086222
Scaffold: Show "defer" value in test list
2022-03-30 14:49:42 -07:00
Abe Jellinek
ed31a11fce
Scaffold: Sanitize items for display more accurately
2022-03-09 11:42:16 -08:00
Dan Stillman
6da38c292e
Scaffold: Tweak tooltip text for Run and Update button
2022-03-02 22:36:44 -05:00
Abe Jellinek
5409ae3313
Overhaul Scaffold ( #2293 )
2022-03-02 22:36:04 -05:00
Abe Jellinek
c5067edd2d
Fix Scaffold failing to initialize ( #2200 )
2021-09-09 05:17:35 -04:00
Adomas Venčkauskas
4d497afea0
Use Translator Tester code from shared repo for Scaffold
2021-07-28 15:46:07 +03:00
Abe Jellinek
d2db842938
Scaffold: Add action to open test URL in internal browser ( #2117 )
2021-07-13 03:33:57 -04:00
Abe Jellinek
f942c224f5
Scaffold: Run/delete tests with the keyboard ( #2118 )
2021-07-09 03:42:08 -04:00
Abe Jellinek
06660d04f0
Scaffold: Update year and add spacing in template ( #2066 )
2021-05-21 00:53:19 -04:00
Dan Stillman
018f04f369
Scaffold: Focus code editor when selecting tab
2020-12-24 02:46:19 -05:00
Dan Stillman
2ed4bb1c8f
Ace: Config adjustments in Run JavaScript window
...
- Use the "Chrome" theme
- Hide the gutter
- Don't highlight the active line
- Remove default iframe borders
- Focus the editor on window open
Ace instances (e.g., Scaffold) are now responsible for setting their own
theme (to avoid a flash of Monokai before a lighter theme appears).
2020-12-24 02:45:37 -05:00
Dan Stillman
e095dbb031
Ace: Fix path to ace.html ( #1930 )
2020-12-24 02:41:51 -05:00
Fletcher Hazlehurst
36d81e839c
Use ace-builds NPM package
2020-12-18 10:45:38 -07:00
Dan Stillman
558ad20ce6
Scaffold: Improve cookie handling
...
- Use cookies from browser pane when running detectWeb or doWeb
- Use cookies from document when running or updating tests
This should fix various cases where translators can't be properly
developed or tested in Scaffold (e.g., [1]).
[1] https://github.com/zotero/translators/pull/2296#issuecomment-739116620
2020-12-06 03:09:13 -05:00
Dan Stillman
7c201f5d59
Big Sur style fixes
...
- Restore active <tab> label
- Fix appearance of tabs in item pane
2020-07-28 00:15:11 -04:00
Dan Stillman
a086507167
Obey Cmd/Ctrl-W in Scaffold, Style Editor, and Run JavaScript windows
2020-05-17 04:08:43 -04:00
Dan Stillman
2d720b9532
Scaffold: Clarify error parsing tests
2020-05-15 19:24:20 -04:00
Philipp Zumstein
066ec123d0
Update newWeb.js
2020-01-06 15:12:18 -05:00
Dan Stillman
d4f682aa88
Merge branch 'fx60'
2019-10-21 21:44:01 -04:00
Dan Stillman
0bd04877bf
Don't run detectWeb/doWeb in Scaffold if target doesn't match
...
Closes #1728
2019-08-30 01:02:12 -04:00
Dan Stillman
95a9ccae69
Update ACE to 17.06.19
...
Addresses #1727
2019-08-28 08:05:48 -04:00
Dan Stillman
f0e9c8bfba
Fx60: Fix Scaffold
...
Fixes #1727
2019-08-28 07:44:35 -04:00
Dan Stillman
6f965251ed
Add FilePicker module to replace nsIFilePicker
...
`nsIFilePicker::show()` is removed in Firefox 60 in favor of `open()`,
which takes a callback (and apparently has been preferred for a long
time).
There's no point switching to that, so this module is a version of
nsIFilePicker with an async `show()` that returns a promise and some
XPCOM-isms replaced (e.g., string paths instead of nsIFile).
2019-08-27 00:47:39 -04:00
Dan Stillman
1c6840f9a5
Scaffold: Load translator on double-click
2019-08-10 08:40:24 -04:00
Dan Stillman
e1adbafeb0
Support Cmd-= for zooming in Scaffold code editor
...
In addition to Cmd-+
2019-08-07 01:03:45 -04:00
Dan Stillman
d898022ada
Update Scaffold UI based on font size pref
2019-08-06 21:00:08 -04:00
Dan Stillman
4cbefca7eb
Tweak text of Scaffold setup prompt
2019-08-05 05:16:11 -04:00
Dan Stillman
2b6fb73b57
Add Scaffold as a built-in developer tool
2019-08-02 07:00:39 -04:00