Closed
Bug 767587
Opened 12 years ago
Closed 11 years ago
GCLI should have a type for files
Categories
(DevTools Graveyard :: Graphic Commandline and Toolbar, defect, P2)
DevTools Graveyard
Graphic Commandline and Toolbar
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: jwalker, Assigned: jwalker)
References
Details
Attachments
(1 file, 1 obsolete file)
323.26 KB,
patch
|
jwalker
:
review+
|
Details | Diff | Splinter Review |
Something like this: type: 'file' type { name: 'file', exists: ..., // One of [yes|no|optional], default=optional type: ... // One of [file|dir|any], default=any } Things to consider: * This should be able to work asynchronously (get IO off main thread) * UI should be able to offer a file selection dialog (check what options are available there) * What do we do about symlinks, devices, etc * What do we do about file permissions, readability, etc
Assignee | ||
Comment 1•12 years ago
|
||
New component triage. Filter on "Lobster Thermidor aux crevettes with a Mornay sauce"
Component: Developer Tools → Developer Tools: Graphic Commandline and Toolbar
Assignee | ||
Comment 2•11 years ago
|
||
There's a lot here, so you probably want this broken out: https://github.com/joewalker/gcli/pull/14
Comment 3•11 years ago
|
||
Comment on attachment 773955 [details] [diff] [review] v1 Review of attachment 773955 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me. The l10n comments should probably be fixed though. ::: browser/locales/en-US/chrome/browser/devtools/gcli.properties @@ +58,5 @@ > +fileErrExists='%1$S' already exists > + > +# LOCALIZATION NOTE (fileErrIsNotFile): Error message given when a file > +# argument points to a non directory, when a directory is needed (e.g. for use > +# with 'cd') %1$S is a filename Maybe: Error message given when a file argument points to a non file (e.g. a directory) %1$S is a filename @@ +63,5 @@ > +fileErrIsNotFile='%1$S' is not a file > + > +# LOCALIZATION NOTE (fileErrIsNotDirectory): Error message given when a file > +# argument points to a non-file, when a directory is needed (e.g. for use with > +# 'cd') %1$S is a filename Maybe: Error message given when a file argument points to a non-directory, when a directory is needed (e.g. for use with 'cd') %1$S is a directory name
Attachment #773955 -
Flags: review?(mratcliffe) → review+
Assignee | ||
Comment 4•11 years ago
|
||
With review comment fixes
Attachment #773955 -
Attachment is obsolete: true
Attachment #778824 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 5•11 years ago
|
||
Try: https://tbpl.mozilla.org/?tree=Try&rev=93660c241ba4 Fx-Team: https://tbpl.mozilla.org/?tree=Fx-Team&rev=7c3d5bdc569c HG Revision: https://hg.mozilla.org/integration/fx-team/rev/0ebbdfbb31eb
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0ebbdfbb31eb
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•