Граф коммитов

81 Коммитов

Автор SHA1 Сообщение Дата
Michael Li 3b4d1337e7 Bug 1287145 - Support QueryInterfacing proxy accessibles to nsIAccessibleHyperText. r=tbsaunde 2016-07-18 08:23:00 +02:00
Michael Li 132d906366 Bug 1286322 - Make xpcAccessibleHyperLink work with proxied accessibles. r=tbsaunde
--HG--
extra : rebase_source : d72ba51ce093d74ef41e6e5390f96f97c08ad5d8
2016-07-14 14:07:00 -04:00
Michael Li 5c0a021d2d bug 1286612 - Remove unsafe assignment in xpcAccessibleValue::GetMinimumIncrement. r=yzenevich 2016-07-13 10:56:00 +02:00
Michael Li 5de5fa74c5 Bug 1286610 - Change MinValue() call to CurValue() in xpcAccessibleValue::GetCurrentValue. r=yzenevich 2016-07-13 10:54:00 +02:00
Michael Li ebd6bd5bbd Bug 1285643 - Make xpcAccessibleValue work with proxied accessibles. r=tbsaunde 2016-07-11 14:26:00 -04:00
Michael Li c28fee3910 Bug 1284281 - Support QueryInterfacing proxy accessibles to nsIAccessibleHyperlink. r=tbsaunde 2016-07-07 08:13:00 +02:00
Trevor Saunders 434092ec78 bug 1278004 - support QIing proxied accessibles to nsIAccessibleValue r=davidb 2016-06-07 14:18:08 -04:00
Yura Zenevich 21020ab218 Bug 1275983 - support proxies in xpcAccessible::GetRelationByType(). r=tbsaunde
MozReview-Commit-ID: 3cisZF54kp0
2016-05-27 23:18:40 -04:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Trevor Saunders 317b423cfb bug 1259023 - make nsIAccessible.{Next,Prev}Sibling work with proxied accessibles r=yzen 2016-04-13 04:00:56 -04:00
Trevor Saunders ef3432fda2 bug 1259023 - make nsIAccessible.indexInParent work on proxied accessibles r=yzen 2016-04-13 04:00:56 -04:00
Trevor Saunders 8a74954930 bug 1259023 - make nsIAccessible.parent work with proxies r=yzen 2016-04-13 04:00:56 -04:00
Yura Zenevich 3288128792 Bug 1259023 - if proxy is a nullpointer, do not set IS_PROXY in AccessibleOrProxy. r=tbsaunde
MozReview-Commit-ID: Gx6GAAKZ7bo
2016-04-04 16:37:57 -04:00
Mike Hommey 7f131dbc35 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester 2016-03-17 06:49:44 +09:00
Trevor Saunders 6da1ca03eb bug 1253268 - allow getting ids of proxied accessibles r=yzen 2016-03-09 17:33:27 -05:00
Trevor Saunders 76693e1dac bug 1250882 - implement xpcAccessible::GetBounds() for proxied accessibles r=davidb 2016-02-24 19:19:58 -05:00
Trevor Saunders 5b5e284221 bug 1250882 - make xpcAccessible::GetAttributes() work with proxied accessibles r=davidb 2016-02-24 19:19:58 -05:00
Trevor Saunders 10cd68f503 bug 1250882 - implement xpcAccessible::GetValue() for proxied accessibles r=davidb 2016-02-24 19:19:58 -05:00
Trevor Saunders bfef2fd517 bug 1250882 - implement xpcAccessible::GetLanguage() for proxied accessibles r=davidb 2016-02-24 19:19:57 -05:00
Trevor Saunders 4afd60694b bug 1250882 - implement xpcAccessible::GetDescription() for proxied accessibles r=davidb 2016-02-24 19:19:57 -05:00
Trevor Saunders a3d021d18a bug 1250882 - implement xpcAccessible::Name() for proxied accessibles r=davidb 2016-02-24 19:19:57 -05:00
Trevor Saunders 2c0a5d150d bug 1250882 - implement xpcAccessible::GetState() for proxied accessibles r=davidb 2016-02-24 19:19:57 -05:00
Bogdan Postelnicu ffae8ec404 Bug 1245464 - initialize with 0 mSupportedIfaces in xpcAccessibleGeneric in order to avoid corrupted result after bit-wise operation. r=surkov 2016-02-03 13:53:11 +02:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Trevor Saunders 523de36bc0 bug 1243077 - make xpcAccessible::GetLastChild() work with proxied accessibles r=davidb 2016-01-27 18:42:48 -05:00
Trevor Saunders 99fd4be44b bug 1243077 - make xpcAccessible::GetFirstChild() work with proxies r=davidb 2016-01-27 18:42:47 -05:00
Trevor Saunders fb9bc4aa75 bug 1243077 - make xpcAccessible::GetChildren() work with proxied accessibles r=davidb 2016-01-27 18:42:46 -05:00
Trevor Saunders b859f555ce bug 1243077 - remove an unnecessary AddRef() from xpcAccessible::GetChildren()
r=davidb
2016-01-27 18:42:46 -05:00
Trevor Saunders eca38fe746 bug 1243077 - make xpcAccessible::GetChildAt() work with proxied accessibles r=davidb 2016-01-27 18:42:46 -05:00
Trevor Saunders b25ec82248 bug 1243077 - support proxied accessibles in xpcAccessible::GetRole() r=davidb 2016-01-27 18:42:45 -05:00
Trevor Saunders f92728f426 bug 1243077 - add ToXPC{,Document} overloads for proxied accessibles r=davidb 2016-01-27 18:42:44 -05:00
Trevor Saunders 6695ff5d5b bug 1243077 - implement xpcAccessible::GetChildCount() for proxied accessibles
r=davidb
2016-01-27 18:42:43 -05:00
Trevor Saunders 5a95547b7e bug 1243077 - add AccessibleOrProxy xpcAccessible::IntlGeneric() r=davidb
It will be useful to get mIntl without casting it to either Accessible* or
  ProxyAccessible*.  sadly C++ won't let us overload the name Intl() this way
  so for now this method is named IntlGeneric().
2016-01-27 18:42:43 -05:00
Trevor Saunders 8f79d0d09c bug 1241453 - allow caching proxies in xpcAccessibleDocuments r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders 955114b39c bug 1241453 - assert accessibles are only added to non remote xpcAccessibleDocuments r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders 9672799f00 bug 1241453 - fixup xpcAccessible Intl() methods to not assume mIntl is always an Accessible r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders dd9c8002ab bug 1241453 - allow xpcAccessibleDocument::mCache to use proxies as keys r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders 78f1ab8c9d bug 1241453 - allow constructing xpcAccessibles with proxies r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders 73bf84da55 bug 1241453 - allow storing proxies in xpcAccessibleGeneric::mIntl r=davidb 2016-01-26 07:49:25 -05:00
Sylvestre Ledru ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Alexander Surkov 356a8b6d75 Bug 1233118 - implement IAccessible2_3::selectionRanges, r=yzen 2016-01-20 12:53:03 -05:00
Mike Hommey aab4d7dc38 Bug 1231148 - Avoid requiring IDL files installed in $DIST/idl to run AccEventGen.py. r=ted
While working on growing the fastermake backend to do compilation, I ran into
the problem that there's an implicit dependency from AccEventGen.py on the fact
that IDL files are installed in $DIST/idl. While we may need some way to
express such things in general, it turns out that for this specific use case,
we don't actually /need/ IDLs in $DIST/idl, and a couple paths are enough to
get things to work.
2015-12-09 19:23:53 +09:00
Ted Mielczarek 47dba5ed8c bug 1160185 - support GENERATED_FILES in EXPORTS. r=glandium
This change allows specifying objdir-relative paths in EXPORTS to enable
exporting entries from GENERATED_FILES. Objdir paths in EXPORTS that are
not in GENERATED_FILES will raise an exception.

Example:
```
EXPORTS += ['!g.h', 'f.h']
GENERATED_FILES += ['g.h']
```

Given the implementation, this should also work for FINAL_TARGET_FILES,
FINAL_TARGET_PP_FILES, and TESTING_FILES, but those are not well-tested.

This patch also renames the install manifest for '_tests' to match the
directory name for convenience in some code I refactored.

--HG--
extra : commitid : CwayzXtxv1O
extra : rebase_source : 5fb6f461fc740da9bce14bbdbfabdfe618af8803
2015-12-01 09:53:16 -05:00
Nicholas Nethercote 25177238ef Bug 1187139 (part 3) - Replace nsBaseHashtable::Enumerate() calls in accessible/ with iterators. r=tbsaunde.
--HG--
extra : rebase_source : 55473258ba149c2b00d3b1808d0f93425dcd1925
2015-11-29 14:02:07 -08:00
Chris Manchester f1d38f349b Bug 1217015 - Convert AccEventGen.py to GENERATED_FILES and get rid of most of accessible/xpcom/Makefile.in r=glandium,tbsaunde
--HG--
extra : commitid : HEsKoRUC2fH
2015-11-16 16:51:51 -08:00
Nathan Froyd 01583602a9 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

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Olli Pettay 42685fa873 Bug 1213382 - proxy more accessible selection methods, r=tbsaunde
--HG--
extra : rebase_source : 1d8d688d4b1ab671aed5ba28bdcc14b2c4b94f70
2015-10-13 22:08:00 +03:00