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

2522 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Smedberg c0b8dd79be Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
David Bolter 0634258783 Bug 452388 - Support value of undefined for aria-checked/aria-pressed/aria-selected, r=aaronlev, r=surkov, r=MarcoZ 2009-01-12 18:20:34 +01:00
Phil Ringnalda 15a97e780f Correct spelling of ofset to offset the lack of builds in a CLOSED TREE 2009-01-11 10:46:17 -08:00
Benjamin Smedberg 507daffc50 Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg b0f322f21c Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Marco Zehe 3f5ed1a3a1 Fixing Windows and Linux orange from bug 469818 2009-01-06 16:33:45 +01:00
Marco Zehe 569706a5a2 Followup to bug 469818 - Refactor test_textboxes.* files, re-enabled XUL file of this test suite 2009-01-06 15:06:29 +01:00
Marco Zehe 4329556f44 Bug 469818 - Refactor test_textboxes.* files, r=surkov 2009-01-06 15:04:28 +01:00
Alexander Surkov 5e4bb7fd66 Bug 468418 - Expose level for nested lists in HTML, r=marcoz, aaronlev 2009-01-05 15:41:30 +08:00
Ginn Chen e8cc0d7bdd Bug 460926 A11y heirachy is broken on GNOME 2.24, r=surkov.alexander sr=roc 2008-12-22 14:46:30 +08:00
Alexander Surkov 34d6e34cbb Bug 466629 - AttributeChangedEvent not fired, or at least test is failing, with spell check mistakes on Linux, r=marcoz 2008-12-17 15:10:41 +08:00
Alexander Surkov 84fc57abb5 Bug 468451 - Images with empty alt attribute no longer get an empty accessible name, but return NULL instead, r=aaronlev, marcoz, davidb 2008-12-17 00:13:49 +08:00
Alexander Surkov caf5217eb5 Bug 448744 - IAccessibleText::caretOffset should return -1 if the system caret is not currently with in that particular object, r=aaronlev, marcoz, sr=roc 2008-12-16 18:14:20 +08:00
Marco Zehe 84d5a916f0 disabling tests until bug 468451 is fixed 2008-12-09 12:02:25 -08:00
Neil Deakin 82fa0d4920 Bug 393575, change nsIMenuParent to nsMenuParent, r+sr=bz
--HG--
rename : layout/xul/base/src/nsIMenuParent.h => layout/xul/base/src/nsMenuParent.h
2008-12-05 11:37:31 -05:00
L. David Baron 5ecdb26ff8 Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
Alexander Surkov b2e974fd33 Bug 467057 - xul menulist doesn't fire expand/collapse state change events, r=marcoz, aaronlev 2008-12-03 17:04:02 +08:00
Alexander Surkov 40d187b963 Bug 462868 - background-color text attribute being exposed as black when it isn't, r=aaronlev, marcoz 2008-12-03 15:22:49 +08:00
Alexander Surkov 598e82268f Bug 467055 - move name calculated from tooltip code to GetName, r=davidb, marcoz 2008-12-03 15:21:08 +08:00
Alexander Surkov 79775091e5 Bug 467139 - NameFromSubtree rule should be based on role, r=aaronlev, marcoz, davidb, sr=neil 2008-12-03 15:18:41 +08:00
Alexander Surkov a2bb4ab4ef Bug 459782 - check the name calculation rules for nsHTMLLinkAccessible. r=david.bolter/marco.zehe, a191=beltzner. 2008-11-28 12:12:15 +01:00
Alexander Surkov c0e4f15def Bug 459782 - check the name calculation rules for nsHTMLLinkAccessible. r=david.bolter/marco.zehe, a191=beltzner. 2008-11-28 11:04:34 +01:00
Alexander Surkov 4f0678568c Bug 441974 - Several tests fail when running in conjunction with other mochitests, succeed when running stand-alone, patch=MarcoZ, r=me, a=beltzner 2008-11-27 12:06:11 +08:00
Alexander Surkov cc672241dd Bug 416872 - Simplify GetState() impl's for defunct objects, r=david.bolter, sr=neil, a=beltzner 2008-11-27 12:04:05 +08:00
Marco Zehe 1161b7fbc8 Temporarily disable all .xul files in a11y mochitests, see bug 465755 2008-11-19 20:53:19 +01:00
Marco Zehe c38796e016 Disabled test_textboxes.xul in a11y test suite temporarily 2008-11-19 18:01:36 +01:00
Phil Ringnalda 5ac69655c0 Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Alexander Surkov 1a80e5b38c Bug 280136 - Remove GetFinalState(), r=davidb 2008-11-04 11:37:46 +08:00
Alexander Surkov d480b595f3 Bug 386978 - get rid FireToolkitEvent, r=aaronlev, sr=benjamin 2008-11-04 11:36:36 +08:00
Alexander Surkov 7cd576d036 Bug 461920 - remove nsPIAccessNode, r=marcoz, aaronlev, sr=neil 2008-11-01 11:58:07 +08:00
Marco Zehe 02264658e6 bug 462350 - Refactor and rename test_bug428479.html to test_aria_role_equation.html, r=surkov
--HG--
rename : accessible/tests/mochitest/test_bug428479.html => accessible/tests/mochitest/test_aria_role_equation.html
2008-10-31 13:19:28 +01:00
Benjamin Smedberg 864b3b4042 Relanding bug 461410 - nsILineIterator is never used outside of layout - set nsresults to replicate the existing code more correctly, which fixes the mochitest failures, r+sr=roc with nits noted by Mats Palmgren 2008-10-30 12:17:59 -07:00
Marco Zehe 537942c7f8 bug 462316 - Refactor test_aria_role_article.html, r=surkov 2008-10-30 11:47:16 +01:00
Marco Zehe 18693a33e2 bug 462314 - Refactor test_aria_activedescendant.html, r=surkov 2008-10-30 11:39:17 +01:00
Marco Zehe 254a593004 bug 458058 - Crash [@ CallQueryInterface<nsINode, nsIDOMElement>(nsINode*, nsIDOMElement**) ], r=aaronlev 2008-10-30 09:24:09 +01:00
Philipp Kewisch dab4025210 Additional fix for bug 462025 as discussed with aaronlev,surkov 2008-10-29 18:03:20 +01:00
Alexander Surkov 2e5fd42c90 Bug 461767 - don't create nslinkableaccessible if 'click' event handler is registered, r=aaronlev, marcoz 2008-10-29 16:55:28 +08:00
Alexander Surkov 6765f8fcc6 Bug 455482 - In a select nested within a label, the accname contains each option's text, should only contain label's text, patch=Eitan, r=me, marcoz 2008-10-29 16:53:43 +08:00
Philipp Kewisch c50ba753cd Fix bug 462025 - Venkman crashes in nsDocAccessible::HasFlag (regression). r=aaronlev 2008-10-29 09:43:21 +01:00
Alexander Surkov 3398287634 Bug 460932 - text-indent and text-align should really be object attributes, r=aaronlev, marcoz 2008-10-28 19:54:57 +08:00
Alexander Surkov a2bf8a6fc7 Bug 461761 - assertion: Obtained accessible isn't a child of this accessible, r=aaronlev 2008-10-28 19:53:19 +08:00
Alexander Surkov 7d9f6d351c Bug 460417 - invalid handling of selection changes inside input element, r=aaronlev, marcoz, sr=neil 2008-10-28 16:43:07 +08:00
Benjamin Smedberg cedc981196 Backed out changeset d4c9a0776667 (deCOM nsILineEnumerator) due to regression from it or bug 461212 2008-10-28 02:49:14 -04:00
Benjamin Smedberg 2c860d5e0d Bug 461410 - nsILineIterator is never used outside of layout, and doesn't need to be refcounted: the callers can just destroy it when they're done with it. We can't do this with a virtual destructor, however, because nsTableRowGroupFrame implements the interface directly, while nsLineIterator is a separately-allocated class. So clients are expected to call DisposeLineIterator when they're done with it.
Instead of accessing nsILineIterator using QueryInterface, we add a nsIFrame::GetLineIterator API, which is cleaner and more efficient all at the same time!

r+sr=roc
2008-10-28 00:47:19 -04:00
Olli Pettay 7890765d72 Bug 460156 - bring back the old behavior of range.isPointInRange(), r=surkov, sr=sicking 2008-10-19 23:41:21 +03:00
Alexander Surkov cbbf100149 Bug 460239 - move static methods from nsAccessible and nsAccessNode to utils, r=aaronlev 2008-10-17 18:10:43 +08:00
Alexander Surkov 1a6d7c503e Bug 460402 - remove extra noise when there is no document accessible, r=aaronlev 2008-10-17 18:09:22 +08:00
Justin Dolske 825d819a9b Bug 455057 - some chrome images have embedded profiles. ui-r=faaborg, sr=mconnor. 2008-10-16 15:20:21 -07:00
Alexander Surkov 55059191d6 Bug 460165 - introduce nsAccUtils, rs=aaronlev
--HG--
rename : accessible/src/base/nsCoreUtils.cpp => accessible/src/base/nsAccUtils.cpp
rename : accessible/src/base/nsCoreUtils.h => accessible/src/base/nsAccUtils.h
2008-10-16 17:12:05 +08:00
Alexander Surkov 6614310697 Bug 459973 - rename nsAccUtils to nsCoreUtils, r=aaronlev
--HG--
rename : accessible/src/base/nsAccessibilityUtils.cpp => accessible/src/base/nsCoreUtils.cpp
rename : accessible/src/base/nsAccessibilityUtils.h => accessible/src/base/nsCoreUtils.h
2008-10-16 09:52:58 +08:00