Commit Graph
34 Commits
Author SHA1 Message Date
Eitan Isaacson 0efb3c64e2 Bug 1239051 - Labels should expose labeled controllers action. r=tbsaunde 2016-01-14 12:37:15 -08:00
Nicholas Nethercote 4fab88afad Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde. 2015-12-15 21:24:06 -08:00
Alexander Surkov 6b139ce051 Bug 1226000 - control may pick up its name from wrong label, r=yzen 2015-11-24 14:44:24 -05:00
Takeshi Kurosawa c2f552d3ab Bug 1007975 - div with display:table exposes table semantics r=surkov
- Construct a table accessible object if a content in question is HTML <table>
- Drop checking whether a table accessible object is built by CSS display:table from HTMLTableAccessbile::IsProbablyLayoutTable
2015-10-19 21:46:54 +09:00
Nathan Froyd 4e6d8f6705 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Nicholas Nethercote 12fec02dfb Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Alexander Surkov b306ef83eb Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition(), part2, r=marcoz 2015-08-28 10:52:21 -04:00
Alexander Surkov b40dafceac Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition, r=marcoz 2015-08-18 20:38:24 -04:00
Aryeh Gregor c1bd5a2ced Bug 1179451 - Part 1: Rewrite some ternary operators as if/else. r=froydnj 2015-08-13 15:22:48 +03:00
Lorien Hu 040e26c517 Bug 1100602 - Fire show/hide events in HTMLLIAccessible::UpdateBullet r=tbsaunde 2015-07-14 11:10:30 -04:00
Frédéric Wang 2f05a546b3 Bug 1180189 - Fix crash in mozilla::a11y::HTMLTableRowAccessible::GroupPosition, r=MarcoZ 2015-07-14 09:27:26 +02:00
Alexander Surkov 9341777bfa Bug 1177268 - implement aria-rowcount/index and aria-colcount/index, r=marcoz 2015-06-26 14:41:22 -07:00
Andrea Marchesini f0aa02df0b Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
Alexander Surkov 66bd2fc819 Bug 1146257 - spanned headers don't work well in our table code, r=marcoz 2015-03-26 08:05:06 -04:00
Alexander Surkov fd82130528 Bug 1141978 - Support rowgroup and colgroup HTML scope, r=marcoz 2015-03-23 11:51:33 -04:00
Ehsan Akhgari ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Frédéric Wang 5cc9401a34 Bug 1001637 - Make math tables implement the nsIAccessibleTable interface. r=surkov 2015-03-19 12:45:59 -04:00
Alexander Surkov 0c354e687a Bug 1140500 - add object attributes declaration into markup map, r=marcoz 2015-03-07 20:20:17 -05:00
Alexander Surkov 476fe85808 Bug 1140497 - add more roles into markup map, r=marcoz 2015-03-07 12:35:27 -05:00
Alexander Surkov e606ac1cc2 Bug 1139900 - make tag name based roles faster, r=marcoz 2015-03-05 13:16:12 -05:00
Andrea Marchesini fda421fd8c Bug 1134280 - Get rid of Tag() - patch 2.1 - /accessible - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:08:59 +00:00
Andrea Marchesini 6b10d5e43e Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Marco Zehe 6af0417391 Bug 1121518 - ARIA 1.1: Add support for role 'searchbox', r=surkov 2015-02-27 15:41:57 +01:00
Alexander Surkov 68635d8eff Bug 1133322 - tweak shutdown procedure for accessibles maintaining own trees, r=yzen 2015-02-18 23:37:32 -05:00
Alexander Surkov 5d813edc4b Bug 1130793 - wrong class is used for ARIA grid cell contained by HTML tr@role='row', r=yzen 2015-02-13 20:09:51 -05:00
Ehsan Akhgari fd6ae38880 Bug 1117037 - Mark virtual overridden functions as MOZ_OVERRIDE in accessible/; r=tbsaunde 2015-01-02 18:47:38 -05:00
Alexander Surkov 1377dadabe Bug 1113389 - loading google creates accessibles without firing show events, r=tbsaunde 2014-12-30 15:43:49 -05:00
Chris Peterson 83fa2577db Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
Alexander Surkov be19c27102 Bug 1076816 - segregate XPCOM tree, r=davidb 2014-10-21 20:49:28 -04:00
Trevor Saunders d766fe15d6 bug 1041070 - fix O(N^2) runtime of tree update r=surkov 2014-09-02 14:54:04 -04:00
Alexander Surkov 2eb0e9beb8 Bug 1064877 - dexpcomify Accessible class, r=tbsaunde 2014-09-16 13:30:23 -04:00
Trevor Saunders d67df400c1 bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Benoit Jacob bdd0d98cd2 Bug 1035394 - Fix dangerous public destructors in accessible - r=surkov 2014-07-08 17:23:18 -04:00
Birunthan Mohanathas e551bc9312 Bug 1028563 - Part 1: Flatten accessible/src/ directory. rs=surkov 2014-06-22 10:15:19 -07:00