Closed
Bug 177333
Opened 22 years ago
Closed 22 years ago
--enable-plaintext-editor-only no longer build
Categories
(Core :: DOM: Editor, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.2final
People
(Reporter: tvl, Assigned: bryner)
Details
Attachments
(1 file, 6 obsolete files)
8.12 KB,
patch
|
mozeditor
:
review+
sfraser_bugs
:
superreview+
|
Details | Diff | Splinter Review |
--enable-plaintext-editor-only no longer builds on the trunk.
c++ -I/usr/X11R6/include -frtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-pedantic -Wno-long-long -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_tvl -DTRACING
-g -fno-inline -fPIC -shared -Wl,-h -Wl,libeditor.so -o libeditor.so
nsTextEditorReg.o -Wl,--whole-archive ../text/libtexteditor_s.a
../base/libeditorbase_s.a -Wl,--no-whole-archive
../../../dist/lib/libunicharutil_s.a -L../../../dist/bin -lxpcom -liberty
-liberty -L../../../dist/bin -L/src/local/Mozilla/debug/dist/lib -lplds4 -lplc4
-lnspr4 -lpthread -ldl -L../../../dist/bin -lmozjs -Wl,-Bsymbolic -ldl -lm
nsTextEditorReg.o: In function `nsEditorServiceConstructor(nsISupports *, nsID
const &, void **)':
/src/local/Mozilla/../../../mozilla/editor/libeditor/build/nsTextEditorReg.cpp:54:
undefined reference to `nsEditorService::nsEditorService(void)'
collect2: ld returned 1 exit status
make[6]: *** [libeditor.so] Error 1
make[6]: Leaving directory `/src/local/Mozilla/debug/editor/libeditor/build'
This looks like fallout from bryner's checkin for bug 170136 (Configure flag to
disable composer).
I think he may need to make the same changes he made to
editor/libeditor/build/nsEditorRegistration.cpp
to
editor/libeditor/build/nsTextEditorReg.cpp
Assignee: kin → bryner
Assignee | ||
Comment 2•22 years ago
|
||
Hm, I know --enable-plaintext-editor-only builds fine in conjunction with
--disable-composer, but I guess it may have broken if used separately.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → mozilla1.2final
Comment 3•22 years ago
|
||
Do we really need both options? I thought that disabling the composer would
also disable the html editing features as they aren't needed/used without the
composer.
I think what was checked in merely prevented the composer dll and chrome from
being built, so I'm assuming that whatever builds that are relying on this
disable composer option, are still building the editor-core library with the
HTML code enabled.
Some embedders want the minimal amount of editor-core code necessary to keep
text widgets in the browser working. That's what the plaintext-only option is
about. This plaintext-only option also reduces the editor-core dll by about half.
Assignee | ||
Comment 5•22 years ago
|
||
Attachment #104574 -
Flags: superreview+
Comment 7•22 years ago
|
||
Comment on attachment 104574 [details] [diff] [review]
patch
r=cls
Attachment #104574 -
Flags: review+
Assignee | ||
Comment 8•22 years ago
|
||
Oops, sorry I didn't check this in yet. --enable-plaintext-editor-only broke
again today, but in a different way. I have a new patch that addresses both
problems. I completely removed nsTextEditorReg.cpp and just added #ifdefs to
nsEditorRegistration.cpp. This seems like a better solution anyway, and more
maintainable.
Assignee | ||
Comment 9•22 years ago
|
||
Assignee | ||
Comment 10•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Attachment #106071 -
Attachment is obsolete: true
Comment 11•22 years ago
|
||
Comment on attachment 106072 [details] [diff] [review]
patch #2 with removal of nsTextEditorReg.cpp included
r=mjudge
Attachment #106072 -
Flags: review+
Comment 12•22 years ago
|
||
Comment on attachment 106072 [details] [diff] [review]
patch #2 with removal of nsTextEditorReg.cpp included
sr=ben@netscape.com
Attachment #106072 -
Flags: superreview+
Assignee | ||
Comment 13•22 years ago
|
||
Hm, I guess there need to be some mac build changes to go with this. Too tired
to do that tonight.
Assignee | ||
Comment 14•22 years ago
|
||
I think this is all that we need for Mac.
Comment 15•22 years ago
|
||
That seems a bit unnatural to me. MacEditorConfig.h is included when building
the plaintext-only editor as well.
Assignee | ||
Comment 16•22 years ago
|
||
This leverages the already-existing #define on Mac.
Attachment #106072 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #106128 -
Attachment is obsolete: true
Comment 17•22 years ago
|
||
Some mac build help for bryner. This patch changes the plaintext targets to
use the plaintext prefix files, which lights the MOZILLA_PLAINTEXT_EDITOR_ONLY
define.
Comment 18•22 years ago
|
||
Don't we need a new build option too?
Assignee | ||
Comment 19•22 years ago
|
||
Attachment #106130 -
Attachment is obsolete: true
Attachment #106158 -
Attachment is obsolete: true
Comment 20•22 years ago
|
||
Comment on attachment 106159 [details] [diff] [review]
new combined patch
i built this on cfm mac, and tested the resulting lib with mozilla. text
widgets work.
Attachment #106159 -
Flags: review+
Updated•22 years ago
|
Attachment #106159 -
Flags: superreview+
Assignee | ||
Comment 21•22 years ago
|
||
checked in.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•