Abe Jellinek
4a856b94cc
fx-compat: Item box: Fix abstract expander
2022-05-25 13:22:52 -06:00
Abe Jellinek
3566d1fc1f
fx-compat: Item box: Fix item type menulist
...
- Use IDs as list item values
- Use addEventListener() so events are actually received
- Put menulist inside <td>
* This causes a small appearance regression at the moment because
<td> margins/padding are a bit off, but that issue is visible on
all other fields already.
2022-05-25 12:51:15 -06:00
Tom Najdek
8b76bf6e65
Run add_omni_file script when file change detected
2022-05-25 19:56:23 +02:00
Tom Najdek
7aa3bde170
On error, ring the bell
...
Should help with noticing syntax errors etc.
2022-05-25 19:37:20 +02:00
Tom Najdek
eb5f2978cc
Fix a problem with build when switching branch
...
When switching between master and fx102 bogus files were created outside
of the build/ directory. That's because previously we had a symlinked
file itembox.css and now we compile a file itemBox.css into the same
directory. However when running `npm start`, after switching branch, the
symlink still existed and thus when writing a new file, symlink was
followed and output has been written inside a source file instead.
Build system will now run cleanup step first (where it checks if files
frim `.signatures.json` still exist in src), then proceed with build,
so old symlinks will be removed thus producing a valid build.
This problem probably only happened on case-insensitive file-systems
(like default config on macOS HFS+).
2022-05-25 16:38:16 +02:00
Tom Najdek
32c0d228cc
Fix all scss files rebuild on every non-js change
...
multimatch test was incorrect triggering scss rebuild on every change
that reached that logic.
Also fixed weird (legacy?) use of path.join()
2022-05-25 16:10:15 +02:00
Abe Jellinek
c2ce5c7596
fx-compat: Remove duplicate menulistItemTypes.js
2022-05-24 15:56:09 -06:00
Abe Jellinek
5d96f9960a
fx-compat: Item box: Fix unstyled menulists
2022-05-24 15:48:10 -06:00
Abe Jellinek
fdd73d4ada
fx-compat: Item box: Fix multiline fields & autocomplete
2022-05-24 15:42:54 -06:00
Abe Jellinek
02bcb1712c
fx-compat: Fix content shrinking to half of window height
...
On my system, this would always happen after adding a new attachment.
2022-05-24 13:59:12 -06:00
Abe Jellinek
29b270e761
fx-compat: Fix progress queue / Find Available PDFs
2022-05-24 13:52:52 -06:00
Abe Jellinek
195dd379d9
fx-compat: Fix context menu icons showing on Mac
...
Why does :is match when a regular selector doesn't? I have absolutely no
idea, but it's more concise anyway.
Fixes #2620
2022-05-24 13:37:20 -06:00
Abe Jellinek
87decd0f8d
fx-compat: Fix _getExtensionFromURL()
2022-05-24 12:07:30 -06:00
Abe Jellinek
300af4477f
fx-compat: Fix Attach Link dialog
2022-05-24 12:02:37 -06:00
Abe Jellinek
a2215cb8f6
fx-compat: Fix hard confirmation dialog
...
ID changed to commonDialog so we get commonDialog.css styling for free.
2022-05-24 11:43:45 -06:00
Dan Stillman
1a1a5924da
fx-compat: Simplify Zotero.File.download()
...
`NetUtil.newChannel()` can take a string spec, so don't bother parsing
to an nsIURI first
Follow-up to 7adb8fd150
2022-05-24 03:03:36 -04:00
Abe Jellinek
7adb8fd150
fx-compat: Fix Zotero.File.download()
2022-05-24 00:47:22 -06:00
Abe Jellinek
eae9a4447d
fx-compat: Mostly fix locateManager
...
Still many selectors to update in preferences.css, but how we do that
depends on what our <prefwindow>/<prefpane> replacement looks like.
2022-05-24 00:46:39 -06:00
Martynas Bagdonas
7b4c4e528c
fx-compat: Fix context pane:
...
- Stacked view.
- Item pane tabs.
- Note list search box.
2022-05-19 14:10:51 +03:00
Martynas Bagdonas
e99a0d4515
fx-compat: Partial fixes for note editor
2022-05-19 14:10:51 +03:00
Dan Stillman
29bc36c02a
fx-compat: Tweak styling of Create Bibligraphy window
...
And generalize CSS rules for richlistitem and groupbox headers (using
HTML H2s for the latter, as Mozilla does)
Follow-up to 547311ff26
2022-05-19 02:06:42 -04:00
Dan Stillman
9bf61f9914
fx-compat: Update CSL Edit window
2022-05-18 23:45:51 -04:00
Dan Stillman
d6e0c90baa
Revert "fx-compat: Fix item box CSS link casing"
...
This reverts commit 4c21a42b53
.
itemBox.css is correct
2022-05-18 23:45:51 -04:00
Abe Jellinek
948b09a27f
fx-compat: Remove uses of defunct DOM constructors
...
This fixes feed translation. Getting a lot of '[object Object]' fields
from that, but I don't think it's related to these changes.
2022-05-18 20:03:37 -07:00
Abe Jellinek
09ec5b1fde
fx-compat: Fix ProgressWindow
...
popup -> alwaysontop because popup removes the background.
2022-05-18 19:52:59 -07:00
Abe Jellinek
547311ff26
Fix Create Bibliography
...
listbox is gone, but richlistbox is still here as a custom element and
works fine for cases where we don't need virtualization.
groupbox label and richlistitem styles should probably be copied to
somewhere global once tuned a bit.
2022-05-18 19:32:39 -07:00
Abe Jellinek
4c21a42b53
fx-compat: Fix item box CSS link casing
2022-05-17 10:03:29 -07:00
Abe Jellinek
5f24b2dc98
Fix Create Parent dialog
2022-05-17 09:47:19 -07:00
Martynas Bagdonas
8dae561557
fx-compat: Remove ';' because style.setProperty fails in note-editor
2022-05-17 14:40:04 +03:00
Abe Jellinek
49a9c2dba9
fx-compat: Fix Export dialog
...
RDF isn't working yet, but CSV works well.
2022-05-16 14:27:23 -07:00
Abe Jellinek
60606a8528
fx-compat: Fix Add to Collection menu
...
Document.createXULElement is handy.
2022-05-16 13:18:16 -07:00
Martynas Bagdonas
9e93007355
fx-compat: Initial fixes for PDF reader, tabs and contextPane
2022-05-13 18:50:19 +03:00
Dan Stillman
4eb405d405
Update utilities submodule
2022-05-13 04:28:57 -04:00
Dan Stillman
da9154d811
fx-compat: Get basicViewer working for debug output
...
Doesn't work with, e.g., zotero://timeline/library
2022-05-13 04:28:57 -04:00
Dan Stillman
88afb2c495
Temporarily disable CI
2022-05-13 04:28:57 -04:00
Dan Stillman
d6875e1182
fx-compat: Switch to Mozilla's method of loading window scripts
2022-05-13 04:28:57 -04:00
Dan Stillman
9b3d7a32e3
Include error message in startup error dialog
2022-05-13 04:28:57 -04:00
Dan Stillman
248847b775
fx-compat: Fix CSS targeting for Big Sur and later in chrome.manifest
2022-05-13 04:28:57 -04:00
Dan Stillman
7c458b9bd3
fx-compat: Fix positioning of some context menus
2022-05-13 04:28:57 -04:00
Dan Stillman
bc68b6e9fe
fx-compat: Start to fix tag color chooser dialog
...
Among other things, need to recreate XBL <customcolorpicker> as a Custom
Element and need to change `ondialogaccept`/etc. to event listeners:
https://searchfox.org/mozilla-central/rev/b72e9d7d63bf499d1d8168291b93d4ec7fde236e/browser/components/places/content/bookmarkProperties.js#232-237
2022-05-13 04:28:57 -04:00
Dan Stillman
63634eed02
fx-compat: Fix clicking URL label
...
Now that it's a div rather than a label, have to use `textContent`
instead `nodeValue`
2022-05-13 04:28:57 -04:00
Dan Stillman
d797734b38
Don't use Lucida for default note font
2022-05-13 04:28:57 -04:00
Dan Stillman
516c76a4ab
fx-compat: Start to update feed settings dialog
2022-05-13 04:28:57 -04:00
Dan Stillman
909d68eac3
fx-compat: Fix New Item menu
2022-05-13 04:28:57 -04:00
Dan Stillman
2e26703b50
fx-compat: goQuitApplication() now takes an event
argument
2022-05-13 04:28:57 -04:00
Dan Stillman
172c2da2cc
fx-compat: Add dropmarkers to toolbarbuttons
2022-05-13 04:28:57 -04:00
Dan Stillman
758c3187fc
fx-compat: Update Edit menu (WIP)
2022-05-13 04:28:57 -04:00
Dan Stillman
280a1265c8
fx-compat: Remove Mac toolbarbutton images
...
Need to replace with proper styling, but the former approach doesn't
work with the new toolbarbutton component.
2022-05-13 04:28:57 -04:00
Dan Stillman
10a801fcc7
WIP: Localization
2022-05-13 04:28:57 -04:00
Dan Stillman
a16e0620d2
WIP: Localization 3
2022-05-13 04:28:57 -04:00