Closed
Bug 860050
Opened 11 years ago
Closed 11 years ago
Remove non-namespaced JSHandle names
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: terrence, Unassigned)
References
Details
Attachments
(9 files)
29.05 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
1.48 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
2.97 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
1.19 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
4.71 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
1.75 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
9.80 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
1.02 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
12.27 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
These are for legacy C compatibility. I expect this is thoroughly rotted by now. If anyone needs them later, they can easily re-add them in the c-api wrapper's header.
Reporter | ||
Comment 1•11 years ago
|
||
This patch was generated by running the following two command: find js/ -name "*.cpp" -or -name "*.h" | xargs sed -i 's/JSRawObject /JSObject */g' find . -name "*.cpp" -or -name "*.h" | xargs sed -i 's/JSRawObject/JSObject*/g' Ack confirms that there are no more references. A follow-up removes the definition and the one place where the above simple script does not work.
Attachment #738075 -
Flags: review?(jcoppeard)
Reporter | ||
Comment 2•11 years ago
|
||
I will fold this with the first before pushing. Try run is green: https://tbpl.mozilla.org/?tree=Try&rev=58c10c995baa
Attachment #738076 -
Flags: review?(jcoppeard)
Reporter | ||
Comment 3•11 years ago
|
||
Removed manually since there were only 5 occurrences.
Attachment #738186 -
Flags: review?(jcoppeard)
Reporter | ||
Comment 4•11 years ago
|
||
Trivial: the rest of the JSRaw have no uses.
Attachment #738187 -
Flags: review?(jcoppeard)
Reporter | ||
Comment 5•11 years ago
|
||
Attachment #738200 -
Flags: review?(jcoppeard)
Reporter | ||
Comment 6•11 years ago
|
||
Attachment #738201 -
Flags: review?(jcoppeard)
Reporter | ||
Comment 7•11 years ago
|
||
Generated with the script:
> find js/src/jsapi-tests/ -name "*.cpp" | xargs sed -i 's/JSMutableHandleObject/JS::MutableHandleObject/g'
> find js/ -name "*.py" -or -name "*.h" | xargs sed -i 's/JSMutableHandleObject/JS::MutableHandleObject/g'
> find js/ -name "*.cpp" | xargs sed -i 's/JSMutableHandleObject/MutableHandleObject/g'
Attachment #738247 -
Flags: review?(jcoppeard)
Reporter | ||
Comment 8•11 years ago
|
||
Remove JSMutableHandleObject typedef manually rather than complicating the script. Will fold before pushing.
Attachment #738250 -
Flags: review?(jcoppeard)
Reporter | ||
Comment 9•11 years ago
|
||
This is the browser portion of the name change. It was generated with the following command:
> find . -name "*.py" -or -name "*.h" -or -name "*.cpp" | xargs sed -i 's/JSMutableHandleObject/JS::MutableHandle<JSObject*>/g'
Attachment #738251 -
Flags: review?(bzbarsky)
Reporter | ||
Comment 10•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=79bcfab5a037
Comment 11•11 years ago
|
||
Comment on attachment 738251 [details] [diff] [review] JSMutableHandleObject; 3of3; v0 r=me
Attachment #738251 -
Flags: review?(bzbarsky) → review+
Updated•11 years ago
|
Attachment #738075 -
Flags: review?(jcoppeard) → review+
Updated•11 years ago
|
Attachment #738076 -
Flags: review?(jcoppeard) → review+
Updated•11 years ago
|
Attachment #738186 -
Flags: review?(jcoppeard) → review+
Updated•11 years ago
|
Attachment #738187 -
Flags: review?(jcoppeard) → review+
Updated•11 years ago
|
Attachment #738200 -
Flags: review?(jcoppeard) → review+
Updated•11 years ago
|
Attachment #738201 -
Flags: review?(jcoppeard) → review+
Updated•11 years ago
|
Attachment #738247 -
Flags: review?(jcoppeard) → review+
Updated•11 years ago
|
Attachment #738250 -
Flags: review?(jcoppeard) → review+
Comment 12•11 years ago
|
||
Any more to do here?
Reporter | ||
Comment 13•11 years ago
|
||
Green try run at: https://tbpl.mozilla.org/?tree=Try&rev=263ce8d8cb07 Pushed at: https://hg.mozilla.org/integration/mozilla-inbound/rev/4581bea1b9cf https://hg.mozilla.org/integration/mozilla-inbound/rev/bb5c1c2c413e https://hg.mozilla.org/integration/mozilla-inbound/rev/ee10fbf0d59b https://hg.mozilla.org/integration/mozilla-inbound/rev/c1846cf42c9b https://hg.mozilla.org/integration/mozilla-inbound/rev/c996a9ace58c https://hg.mozilla.org/integration/mozilla-inbound/rev/b3516be5f0b8
Comment 14•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4581bea1b9cf https://hg.mozilla.org/mozilla-central/rev/bb5c1c2c413e https://hg.mozilla.org/mozilla-central/rev/ee10fbf0d59b https://hg.mozilla.org/mozilla-central/rev/c1846cf42c9b https://hg.mozilla.org/mozilla-central/rev/c996a9ace58c https://hg.mozilla.org/mozilla-central/rev/b3516be5f0b8
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•