Closed
Bug 94768
Opened 23 years ago
Closed 23 years ago
provide a switch to turn off the building of Acccessibility
Categories
(Core :: XUL, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla0.9.4
People
(Reporter: mozilla, Assigned: mozilla)
References
Details
(Keywords: access)
Attachments
(4 files)
481 bytes,
patch
|
Details | Diff | Splinter Review | |
36.02 KB,
patch
|
Details | Diff | Splinter Review | |
454 bytes,
patch
|
Details | Diff | Splinter Review | |
38.07 KB,
patch
|
Details | Diff | Splinter Review |
This is being driven by two factors:
1) There may be builds that do not want to include the building of
accessibility. For instance in a PDA-type device where there is no MSAA
accessibility and they have severly limited space.
2) The fix for bug 77648 has introduced a dependancy on MS Active Template
Libraries ( for windows builds only ) and some people may not want to install
those pieces of the development toolkit. Not to mention we are trying to keep
the codebase as compiler agnostic as possible ( although ATL seems to be
implemented on more than just the MSVC++ compiler -- Borland ).
w95make: Entering Directory
f:\build\beonex\mozilla\widget\src\windows\expose\ISimpleDOMNode with target
install
+++ make: Creating directory: WIN32_O.OBJ
dlldata.c
ISimpleDOMNode_p.c
ISimpleDOMNode_i.c
+++ make: Creating DLL: .\WIN32_O.OBJ\ISimpleDOMNodeMarshal.dll
Creating library .\WIN32_O.OBJ\ISimpleDOMNodeMarshal.lib and object
.\WIN32_O.OBJ\ISimpleDOMNodeMarshal.exp
Installing .\WIN32_O.OBJ\ISimpleDOMNodeMarshal.dll into
..\..\..\..\..\dist\WIN32_O.OBJ\bin\ISimpleDOMNodeMarshal.dll
NMAKE : fatal error U1077: 'regsvr32' : return code '0x5'
Stop.
MOZILLA_0_9_2_BRANCH (branch: 1.4.116).
Assignee | ||
Comment 3•23 years ago
|
||
Have the switch working on Windows, I will be posting a diff to test on linux in
a little while and testing it when I get into work after lunch. Also need to
test on Mac - mac changes will be included in the diff.
Assignee | ||
Comment 4•23 years ago
|
||
Assignee | ||
Comment 5•23 years ago
|
||
Accessibility would be on by default, to turn it off either:
1) on windows
set DISABLE_ACCESSIBLITY=1 in your environment
2) on Linux/unix
pass --disable-accessibility to whatever it is we pass those switches to ( put
it in you .mozilla )
3) on Mac set ACCESSIBILITY to 0 in a build script file. Not sure which one,
beard showed me it was possible. I figure mac people know where to set such
variables. I need to have one of them test this out.
Assignee | ||
Comment 7•23 years ago
|
||
as I understand it ATL is not MFC. We *only* require ( until I can hopefully
find a way around it ) 2 ATL headers for Accessibility. So the NO_MFC shouldn't
apply to this code.
The code posted above was written by aaronl, maybe he can talk to that
needing/requiring MFC better than I. I am unsure of wether needing regsvr32
indicates a dependancy on MFC or just on certain windows functionality.
Assignee | ||
Comment 8•23 years ago
|
||
mscott: can you verify that this patch fixes your problem on windows?
- also, there is an additional patch coming for linux - Makefile.in
Assignee | ||
Comment 9•23 years ago
|
||
Comment 10•23 years ago
|
||
r/sr on the Mac parts of the patch
Comment 11•23 years ago
|
||
Actually, you should only build the IDL if 'accessible' is on:
BuildIDLProject(":mozilla:layout:macbuild:layoutIDL.mcp",
"layout");
+ if ($main::options{accessible}) {
BuildIDLProject(":mozilla:accessible:macbuild:accessibleIDL.mcp",
"accessible");
+ }
BuildIDLProject(":mozilla:rdf:macbuild:RDFIDL.mcp",
"rdf");
Comment 12•23 years ago
|
||
r=leaf for build system changes, windows and linux.
Assignee | ||
Comment 13•23 years ago
|
||
Comment 14•23 years ago
|
||
sr=hyatt
Assignee | ||
Comment 15•23 years ago
|
||
Checked in last night ( thurs 16 aug )
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 16•23 years ago
|
||
May God have mercy on us all. The 212 bug spam-o-rama is Now!
QA Contact: aegis → jrgm
You need to log in
before you can comment on or make changes to this bug.
Description
•