mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
Extension to add builtin accessibility. In the future it will support text-to-speech and braille displays for visually impaired users. See README, bug=65158, r=jst, sr=vidur.
This commit is contained in:
parent
ee47e675f3
commit
a13e35cab0
@ -291,8 +291,8 @@ modules/libimg/public_com/Makefile
|
||||
modules/libimg/src/Makefile
|
||||
modules/libimg/gifcom/Makefile
|
||||
modules/libimg/jpgcom/Makefile
|
||||
modules/libimg/pngcom/Makefile
|
||||
modules/libimg/mngcom/Makefile
|
||||
modules/libimg/pngcom/Makefile
|
||||
modules/libimg/mngcom/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_libjar="
|
||||
@ -333,6 +333,11 @@ modules/plugin/SanePlugin/Makefile
|
||||
modules/plugin/default/unix/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_access_builtin="
|
||||
extensions/access-builtin/Makefile
|
||||
extensions/access-builtin/accessproxy/Makefile
|
||||
"
|
||||
|
||||
MAKEFILES_netwerk="
|
||||
netwerk/Makefile
|
||||
netwerk/base/Makefile
|
||||
@ -912,6 +917,10 @@ for extension in $MOZ_EXTENSIONS; do
|
||||
extensions/wallet/walletpreview/Makefile
|
||||
extensions/wallet/build/Makefile
|
||||
" ;;
|
||||
access-builtin ) MAKEFILES_access_builtin="$MAKEFILES_extensions
|
||||
extensions/access-builtin/Makefile
|
||||
extensions/access-builtin/accessproxy/Makefile
|
||||
" ;;
|
||||
xmlextras ) MAKEFILES_extensions="$MAKEFILES_extensions
|
||||
extensions/xmlextras/Makefile
|
||||
extensions/xmlextras/base/Makefile
|
||||
@ -1015,7 +1024,9 @@ else
|
||||
;;
|
||||
transformiix) add_makefiles "$MAKEFILES_transformiix"
|
||||
;;
|
||||
xpcom) add_makefiles "$MAKEFILES_xpcom"
|
||||
access-builtin) add_makefiles "$MAKEFILES_access_builtin"
|
||||
;;
|
||||
xpcom) add_makefiles "$MAKEFILES_xpcom"
|
||||
|
||||
;;
|
||||
xpconnect) add_makefiles "
|
||||
|
37
extensions/access-builtin/Makefile.in
Normal file
37
extensions/access-builtin/Makefile.in
Normal file
@ -0,0 +1,37 @@
|
||||
# The contents of this file are subject to the Mozilla Public License
|
||||
# Version 1.1 (the "License"); you may not use this file except in
|
||||
# compliance with the License. You may obtain a copy of the License at
|
||||
# http://www.mozilla.org/MPL/
|
||||
|
||||
# Software distributed under the License is distributed on an "AS IS"
|
||||
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing rights and limitations
|
||||
# under the License.
|
||||
|
||||
# The Initial Developer of the Original Code is Aaron Leventhal.
|
||||
# Portions created by Aaron Leventhal are Copyright (C) 2001
|
||||
# Aaron Leventhal. All Rights Reserved.
|
||||
|
||||
# Alternatively, the contents of this file may be used under the terms
|
||||
# of the GNU General Public License (the "GPL"), in which case the
|
||||
# provisions of the GPL are applicable instead of those above. If you
|
||||
# wish to allow use of your version of this file only under the terms of
|
||||
# the GPL and not to allow others to use your version of this file under
|
||||
# the MPL, indicate your decision by deleting the provisions above and
|
||||
# replace them with the notice and other provisions required by the
|
||||
# GPL. If you do not delete the provisions above, a recipient may use
|
||||
# your version of this file under either the MPL or the GPL.
|
||||
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH = ../..
|
||||
topsrcdir = ../..
|
||||
srcdir = .
|
||||
VPATH = .
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = accessproxy accessiblehandler speechout
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
48
extensions/access-builtin/README
Normal file
48
extensions/access-builtin/README
Normal file
@ -0,0 +1,48 @@
|
||||
# The contents of this file are subject to the Mozilla Public License
|
||||
# Version 1.1 (the "License"); you may not use this file except in
|
||||
# compliance with the License. You may obtain a copy of the License at
|
||||
# http://www.mozilla.org/MPL/
|
||||
|
||||
# Software distributed under the License is distributed on an "AS IS"
|
||||
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing rights and limitations
|
||||
# under the License.
|
||||
|
||||
# The Initial Developer of the Original Code is Aaron Leventhal.
|
||||
# Portions created by Aaron Leventhal are Copyright (C) 2001
|
||||
# Aaron Leventhal. All Rights Reserved.
|
||||
|
||||
# Alternatively, the contents of this file may be used under the terms
|
||||
# of the GNU General Public License (the "GPL"), in which case the
|
||||
# provisions of the GPL are applicable instead of those above. If you
|
||||
# wish to allow use of your version of this file only under the terms of
|
||||
# the GPL and not to allow others to use your version of this file under
|
||||
# the MPL, indicate your decision by deleting the provisions above and
|
||||
# replace them with the notice and other provisions required by the
|
||||
# GPL. If you do not delete the provisions above, a recipient may use
|
||||
# your version of this file under either the MPL or the GPL.
|
||||
|
||||
# Contributor(s):
|
||||
|
||||
This is the access-builtin module
|
||||
|
||||
This module creates a preference in Mozilla for browsing with text-to-speech, and eventually
|
||||
with a brailled display.
|
||||
|
||||
See http://access-mozilla.sourceforge.net
|
||||
|
||||
On UNIX or Linux, enable this as part of the build with
|
||||
./configure --with-extensions=default,accessibility
|
||||
|
||||
On Windows you will need to manually perform the make in this directory.
|
||||
|
||||
Mac builds are not enabled yet.
|
||||
|
||||
To use, you must add these lines to prefs.js in your profile directory.
|
||||
user_pref("accessibility.browsewithcaret", true);
|
||||
user_pref("accessibility.usetexttospeech", "ViaVoice");
|
||||
|
||||
The actual text-to-speech conversion is temporarily broken.
|
||||
However, the debug console window will tell you what would be spoken.
|
||||
|
||||
Normally, you would need to get the free download of IBM ViaVoice.
|
59
extensions/access-builtin/accessproxy/Makefile.in
Normal file
59
extensions/access-builtin/accessproxy/Makefile.in
Normal file
@ -0,0 +1,59 @@
|
||||
#!gmake
|
||||
# The contents of this file are subject to the Mozilla Public License
|
||||
# Version 1.1 (the "License"); you may not use this file except in
|
||||
# compliance with the License. You may obtain a copy of the License at
|
||||
# http://www.mozilla.org/MPL/
|
||||
|
||||
# Software distributed under the License is distributed on an "AS IS"
|
||||
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing rights and limitations
|
||||
# under the License.
|
||||
|
||||
# The Initial Developer of the Original Code is Aaron Leventhal.
|
||||
# Portions created by Aaron Leventhal are Copyright (C) 2001
|
||||
# Aaron Leventhal. All Rights Reserved.
|
||||
|
||||
# Alternatively, the contents of this file may be used under the terms
|
||||
# of the GNU General Public License (the "GPL"), in which case the
|
||||
# provisions of the GPL are applicable instead of those above. If you
|
||||
# wish to allow use of your version of this file only under the terms of
|
||||
# the GPL and not to allow others to use your version of this file under
|
||||
# the MPL, indicate your decision by deleting the provisions above and
|
||||
# replace them with the notice and other provisions required by the
|
||||
# GPL. If you do not delete the provisions above, a recipient may use
|
||||
# your version of this file under either the MPL or the GPL.
|
||||
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH = ../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = accessproxy
|
||||
XPIDL_MODULE = accessproxy
|
||||
LIBRARY_NAME = accessproxy
|
||||
IS_COMPONENT = 1
|
||||
|
||||
CPPSRCS = \
|
||||
nsAccessProxy.cpp \
|
||||
nsAccessProxyRegistration.cpp \
|
||||
$(NULL)
|
||||
|
||||
XPIDLSRCS = nsIAccessProxy.idl
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
LIBS += \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
|
||||
|
||||
install:: $(TARGETS)
|
||||
|
64
extensions/access-builtin/accessproxy/makefile.win
Normal file
64
extensions/access-builtin/accessproxy/makefile.win
Normal file
@ -0,0 +1,64 @@
|
||||
#!gmake
|
||||
# The contents of this file are subject to the Mozilla Public License
|
||||
# Version 1.1 (the "License"); you may not use this file except in
|
||||
# compliance with the License. You may obtain a copy of the License at
|
||||
# http://www.mozilla.org/MPL/
|
||||
|
||||
# Software distributed under the License is distributed on an "AS IS"
|
||||
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing rights and limitations
|
||||
# under the License.
|
||||
|
||||
# The Initial Developer of the Original Code is Aaron Leventhal.
|
||||
# Portions created by Aaron Leventhal are Copyright (C) 2001
|
||||
# Aaron Leventhal. All Rights Reserved.
|
||||
|
||||
# Alternatively, the contents of this file may be used under the terms
|
||||
# of the GNU General Public License (the "GPL"), in which case the
|
||||
# provisions of the GPL are applicable instead of those above. If you
|
||||
# wish to allow use of your version of this file only under the terms of
|
||||
# the GPL and not to allow others to use your version of this file under
|
||||
# the MPL, indicate your decision by deleting the provisions above and
|
||||
# replace them with the notice and other provisions required by the
|
||||
# GPL. If you do not delete the provisions above, a recipient may use
|
||||
# your version of this file under either the MPL or the GPL.
|
||||
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..\..
|
||||
MODULE=accessproxy
|
||||
XPIDL_MODULE = accessproxy
|
||||
LIBRARY_NAME = accessproxy
|
||||
IS_COMPONENT = 1
|
||||
|
||||
|
||||
MAKE_OBJ_TYPE=DLL
|
||||
DLLNAME=$(MODULE)
|
||||
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
||||
|
||||
XPIDLSRCS= .\nsIAccessProxy.idl \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS=\
|
||||
.\$(OBJDIR)\nsAccessProxy.obj \
|
||||
.\$(OBJDIR)\nsAccessProxyRegistration.obj \
|
||||
$(NULL)
|
||||
|
||||
LLIBS=\
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(LIBPLC) \
|
||||
$(LIBNSPR) \
|
||||
$(NULL)
|
||||
|
||||
LINCS=\
|
||||
-I$(PUBLIC)\accessproxy \
|
||||
-I$(PUBLIC)\raptor \
|
||||
-I$(PUBLIC)\xpcom \
|
||||
$(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
install:: $(DLL)
|
||||
$(MAKE_INSTALL) $(DLL) $(DIST)\bin\components
|
||||
|
||||
|
31
extensions/access-builtin/makefile.win
Normal file
31
extensions/access-builtin/makefile.win
Normal file
@ -0,0 +1,31 @@
|
||||
# The contents of this file are subject to the Mozilla Public License
|
||||
# Version 1.1 (the "License"); you may not use this file except in
|
||||
# compliance with the License. You may obtain a copy of the License at
|
||||
# http://www.mozilla.org/MPL/
|
||||
|
||||
# Software distributed under the License is distributed on an "AS IS"
|
||||
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing rights and limitations
|
||||
# under the License.
|
||||
|
||||
# The Initial Developer of the Original Code is Aaron Leventhal.
|
||||
# Portions created by Aaron Leventhal are Copyright (C) 2001
|
||||
# Aaron Leventhal. All Rights Reserved.
|
||||
|
||||
# Alternatively, the contents of this file may be used under the terms
|
||||
# of the GNU General Public License (the "GPL"), in which case the
|
||||
# provisions of the GPL are applicable instead of those above. If you
|
||||
# wish to allow use of your version of this file only under the terms of
|
||||
# the GPL and not to allow others to use your version of this file under
|
||||
# the MPL, indicate your decision by deleting the provisions above and
|
||||
# replace them with the notice and other provisions required by the
|
||||
# GPL. If you do not delete the provisions above, a recipient may use
|
||||
# your version of this file under either the MPL or the GPL.
|
||||
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..
|
||||
|
||||
DIRS=accessproxy accessiblehandler speechout
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
Loading…
x
Reference in New Issue
Block a user