Closed
Bug 2998
Opened 26 years ago
Closed 25 years ago
[PP]: get rid of libimg/xpcompat.cpp as much as possible
Categories
(Core :: Graphics: ImageLib, defect, P2)
Tracking
()
VERIFIED
FIXED
M10
People
(Reporter: mcafee, Assigned: dcone)
Details
There are two versions of XP_QSORT, one in lib/xp/xp_qsort.c,
the other is embedded in modules/libimg/src/xpcompat.cpp.
I believe the xp version is the right one, this is the one
slamm sanitized last April. Only Solaris and Mac were using
the libimg one, I've changed Solaris to use the XP one, leaving
Mac as the sole (possible) client of the libimg version.
Mac should probably move over to the xp version, XP_QSORT()
is a utility function that doesn't belong in libimg.
Updated•26 years ago
|
Assignee: sdagley → pnunn
Comment 1•26 years ago
|
||
Reassigning to pnunn since the dupe is in her area. CC:'ing pierre in case
there's soemthing that needs to be changed in core Gecko.
Comment 2•26 years ago
|
||
No problem in core code: the duplicated function can be removed. FYI, there is
that comment below in xpcompat.cpp which gives a very bad excuse for why we have
duplicated entire functions.
/*
* The purpose of this file is to help phase out XP_ library
* from the image library. In general, XP_ data structures and
* functions will be replaced with the PR_ or PL_ equivalents.
* In cases where the PR_ or PL_ equivalents don't yet exist,
* this file (and its header equivalent) will play the role
* of the XP_ library.
*/
Reporter | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 3•26 years ago
|
||
fixed.
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Reporter | ||
Comment 4•26 years ago
|
||
reopening, assigning to pierre.
Reporter | ||
Updated•26 years ago
|
Assignee: pnunn → pierre
Status: REOPENED → NEW
Reporter | ||
Comment 5•26 years ago
|
||
This is a mac issue, XP_QSORT() needs to live in a dynamic library,
lib/xp is not part of that world yet.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Summary: Mac: Two versions of XP_QSORT (xp, libimg) → Mac: get rid of libimg/xpcompat.cpp as much as possible
Comment 6•26 years ago
|
||
There are other functions that should be removed from xpcompat.cpp (at least
XP_GetString and the FE_ timer functions). Ideally, the whole file should go
away. On Mac, several of these stub functions used to overwrite the 'real'
functions implemented somewhere else. It might even still be the case for
XP_GetString.
Updated•26 years ago
|
Resolution: FIXED → ---
Summary: Mac: get rid of libimg/xpcompat.cpp as much as possible → [PP]: get rid of libimg/xpcompat.cpp as much as possible
Updated•25 years ago
|
Target Milestone: M7
Updated•25 years ago
|
Target Milestone: M7
Reporter | ||
Updated•25 years ago
|
Target Milestone: M6
Reporter | ||
Comment 7•25 years ago
|
||
putting on the radar so this doesn't hide too long.
Updated•25 years ago
|
Target Milestone: M6 → M7
Updated•25 years ago
|
Target Milestone: M7 → M9
Comment 8•25 years ago
|
||
Puhing my Mac-specific bugs to M9 before reassigning them to someone else.
Comment 9•25 years ago
|
||
Reassigned to dcone
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•25 years ago
|
Target Milestone: M9 → M10
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 25 years ago
Resolution: --- → FIXED
Updated•24 years ago
|
QA Contact: brendan
Reporter | ||
Comment 10•24 years ago
|
||
dcone added a comment of " ", gee that's useful.
Marking verified.
Status: RESOLVED → VERIFIED
Comment 11•24 years ago
|
||
Dcode: did anything actually get fixed when this bug was marked FIXED?
/be
You need to log in
before you can comment on or make changes to this bug.
Description
•