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

4219 Коммитов

Автор SHA1 Сообщение Дата
Alexander Surkov 0a304aba4a Bug 889512 - no focus event for google's moving textbox, r=tbsaunde 2013-07-31 10:47:39 -04:00
Ehsan Akhgari 2824b29025 Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Alexander Surkov 5a340550eb Bug 892091 - ARIA treegrid should be editable by default, r=davidb 2013-07-30 11:43:00 -04:00
Ehsan Akhgari ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Alexander Surkov 9b8f2cd83e Bug 810268 - there's no way to know unselected item when selection in single selection was changed, r=tbsaunde 2013-07-28 14:33:57 -04:00
Eitan Isaacson 624c35874a Bug 898545 - Get rid of simple touch rule, and make the simple rule use bigger targets when possible. r=marcoz 2013-07-26 14:09:17 -07:00
Eitan Isaacson d2297abc43 Bug 898008 - Use 'wheel' event for scrolling. r=maxli 2013-07-26 08:18:12 -07:00
Alexander Surkov bf46e8cd79 Bug 896326 - Accessibility may return empty lines where there are embedded objects, r=tbsaunde 2013-07-26 10:41:25 -04:00
Max Li 7ea615da33 Bug 690199 - ARIA select widget should expose focusable state regardless the way they manage its children. r=surkov 2013-07-26 06:26:44 -04:00
Max Li 732719f231 Bug 886076 - Part 2: Support movement by granularity in AccessFu. r=eeejay 2013-07-24 17:52:57 -04:00
Max Li a078805c8c Bug 886076 - Part 1: Implement moveNextByText and movePreviousByText in nsAccessiblePivot. r=surkov 2013-07-25 13:56:12 -04:00
Eitan Isaacson da80805eda Bug 898002 - Ignore synthesized touch events. r=marcoz 2013-07-25 10:09:48 -07:00
Eitan Isaacson cf1e33d72d Bug 894485 - Have touch events precede mouse events to simulate touch devices. r=surkov 2013-07-25 08:59:08 -07:00
Alexander Surkov d45ff286e0 Bug 894547 - move tests abstraction up for at caret offset text testing, r=tbsaunde 2013-07-25 11:15:27 -04:00
Alexander Surkov 9c4a6c8881 Bug 893166 - getTextBeforeOffset line end fails on wrapped lines, r=tbsaunde 2013-07-24 14:11:02 -04:00
Alexander Surkov b47072329a Bug 890353 - move get text for line boundary tests into separate file, r=tbsaunde
--HG--
rename : accessible/tests/mochitest/text/test_singleline.html => accessible/tests/mochitest/text/test_lineboundary.html
2013-07-24 10:56:14 -04:00
Marco Zehe ca6ae5f306 Bug 896400 - Tablist should no longer be an implicit polite live region, r=surkov 2013-07-24 09:04:49 +02:00
Alexander Surkov 70588fbd92 Bug 887250 - ARIA textbox role doesn't expose value, r=tbsaunde 2013-07-23 12:06:52 -04:00
Joshua Cranmer 3d6ceae21d Bug 884061 - Part 3a: Use NS_DECL_THREADSAFE_ISUPPORTS in accessible/, r=tbsaunde
--HG--
extra : rebase_source : 621f71d9c618e7a7804c48b8bc4c5ab43f96493a
2013-07-14 11:34:46 -05:00
Marco Zehe 76eb402be0 Bug 758675 - Speak accessible description if available, r=eeejay, f=yzen 2013-07-23 10:40:49 +02:00
Alexander Surkov 9f0f0b2d59 Bug 891338 - Popup accessibility broken, r=tbsaunde, roc, f=marcoz, jamie 2013-07-22 11:58:19 -04:00
Birunthan Mohanathas fbd179ce85 Bug 784739 - Switch from NULL to nullptr in accessible/; r=ehsan
--HG--
extra : rebase_source : 1b7f27076438d90024bf0ca7f9698a50efce1507
2013-07-20 11:48:54 +03:00
Alexander Surkov 516c4c5af4 Bug 888247 - ARIA columnheader/rowheader shouldn't be selectable by default, r=tbsaunde 2013-07-19 11:20:51 -04:00
Alexander Surkov c50bcfa9a6 Bug 882767 - don't expose whitespace accessibles in context of grids, r=tbsaunde 2013-07-18 11:09:45 -04:00
Max Li 62124caec6 Bug 890940 - [AccessFu] Refactor coordinate handling to account for widget scaling. r=eeejay
--HG--
extra : rebase_source : 273f9171405c18e38bc9ec9e0d8d01f3d7d5fae4
2013-07-17 16:41:29 -04:00
William Chen a71d9ff782 Bug 796061 - Part 1: Remove mBindingTable from nsBindingManager. r=mrbkap 2013-07-17 09:05:03 -07:00
Alexander Surkov 57612af8ed Bug 882647 - get rid of BOUNDARY_ATTRIBUTE_RANGE, r=tbsaunde 2013-07-17 10:23:10 -04:00
Eitan Isaacson a661aa3612 Bug 894601 - Fix regression in context menu activation in Android.
Bug 894601 - Fix regression in context menu activation in Android. r=maxli
2013-07-16 13:49:00 +02:00
Eitan Isaacson 93dfb0d942 Bug 893153 - Virtual cursor control refactor, fixes navigating in hidden frames. r=davidb r=maxli 2013-07-16 11:45:17 -07:00
Alexander Surkov e2bccc2b51 Bug 882602 - clean up getText* line boundary code, r=tbsaunde 2013-07-16 13:13:34 -04:00
Brian O'Keefe f4815f2203 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Eitan Isaacson fdaffab3a1 Bug 892607 - Start pivot searches from outside the ignored subtree. r=surkov 2013-07-15 14:19:51 -07:00
Alexander Surkov 1a2ca2d673 Bug 882292 - getTextAfterOffset for line boundary on new rails, r=tbsaunde 2013-07-15 11:56:38 -04:00
Marco Zehe 96fd2e9d54 Bug 893336 - Rename listItemCount to reflect string change, r=yzen,flod 2013-07-15 15:57:54 +02:00
Alexander Surkov 04a0ea12e4 Bug 877974, part2 - fix commenting of the getTextAtOffset line boundary, r=tbsaunde 2013-07-15 09:01:03 -04:00
Mike Hommey b97d1767fc Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Alexander Surkov 9e12a2556a Bug 879130 - getTextBeforeOffset line end boundary is on new rails, r=tbsaunde 2013-07-12 13:34:13 -04:00
Max Li 67e49576fa Bug 891967 - Show caret in braille when editing. r=eeejay r=kats 2013-07-11 15:55:40 -04:00
Trevor Saunders f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Marco Zehe 68982508ba Bug 892491 - [AccessFu] Add landmark quick navigation, r=eeejay 2013-07-11 16:42:11 -04:00
Alexander Surkov c505126737 Bug 878757 - fix getTextBeforeOffset for line start boundary, r=tbsaunde 2013-07-11 09:16:18 -04:00
Max Li 4404da576c Bug 892000 - Wrong context menu opens when long pressing. r=marcoz
--HG--
extra : rebase_source : 0ae9833f429249f20857d6da71a2abfb7b078a8a
2013-07-10 14:59:22 -04:00
Ryan VanderMeulen 03e73d9988 Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Trevor Saunders 63ed0e9589 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Yura Zenevich 92a6c38cf5 Bug 891335 - [AccessFu] Making lists with only one item use the singular form of 'List 1 item'. r=eeejay, marcoz
---
 accessible/src/jsat/OutputGenerator.jsm            |    6 +++---
 .../tests/mochitest/jsat/test_landmarks.html       |    4 ++--
 .../tests/mochitest/jsat/test_utterance_order.html |   12 ++++++------
 .../en-US/chrome/accessibility/AccessFu.properties |    2 +-
 4 files changed, 12 insertions(+), 12 deletions(-)
2013-07-10 10:33:38 -04:00
Yura Zenevich b30a370ce6 Bug 874474 - [AccessFu] Making description last the default utterance order. r=eeejay
---
 accessible/src/jsat/OutputGenerator.jsm |    6 ++----
 b2g/app/b2g.js                          |    2 ++
 mobile/android/app/mobile.js            |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
2013-07-10 10:25:57 -04:00
Yura Zenevich 73dba62c25 Bug 888256 - Adding support for speaking landmarks. r=eeejay, marcoz
---
 accessible/src/jsat/OutputGenerator.jsm            |   76 ++++++++--
 accessible/tests/mochitest/jsat/Makefile.in        |    1 +
 .../tests/mochitest/jsat/test_landmarks.html       |  154 ++++++++++++++++++++
 .../en-US/chrome/accessibility/AccessFu.properties |    8 +
 4 files changed, 225 insertions(+), 14 deletions(-)
 create mode 100644 accessible/tests/mochitest/jsat/test_landmarks.html
2013-07-09 16:09:25 -04:00
Alexander Surkov 57bfde5416 Bug 878515 - getTextAtOffset line boundary may return a wrong line in case of soft line breaks, r=tbsaunde 2013-07-09 13:32:07 -04:00
Max Li b2e7f360ff Bug 890940 - Visual bounds box is very wrong. r=eeejay
Also fix EBT coordinates
2013-07-09 09:55:03 -04:00
Max Li a53c1f5376 Bug 886074 - Braille should update when editing. r=eeejay 2013-07-04 05:50:11 -04:00