Commit Graph

37 Commits

Author SHA1 Message Date
Alexander Surkov
5c089550ca Bug 961737 - getTextAtOffset is broken w.r.t. embedded object characters, part3 (list items), r=tbsaunde 2014-02-05 10:21:32 -05:00
Alexander Surkov
653b85b092 Bug 961737 - DOMPointToOffset cleaning up, r=tbsaunde 2014-02-03 19:56:45 -05:00
Alexander Surkov
12bad61a19 Bug 963607 - add some consts, make cache members mutable, GetChildOffset part, r=tbsaunde 2014-01-25 09:07:37 -05:00
Ehsan Akhgari
1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Alexander Surkov
1eb23fe623 Bug 880159, part4 - char at caret offset at end of line should not return next line char, r=tbsaunde 2013-12-28 14:14:08 -05:00
Alexander Surkov
ba7382771f Bug 880159, part3 - clean up CharAt stuff, r=tbsaunde 2013-12-19 14:28:51 -05:00
Alexander Surkov
1a330301a9 Bug 935375 - Word offsets broken if the next word is an embedded object, r=tbsaunde 2013-12-16 21:32:12 -05:00
Alexander Surkov
9d189300bb Bug 943612 - don't use GetPosAndText to convert offsets to DOM range, r=tbsaunde 2013-12-13 11:26:35 -05:00
Alexander Surkov
269193f2ff Bug 935254 - getTextAt broken for list items, r=tbsaunde 2013-12-10 07:40:54 -05:00
Alexander Surkov
d9cac2444b Bug 944396 - remove GetRelativeOffset, r=tbsaunde 2013-12-06 13:47:00 -05:00
Alexander Surkov
adca1c8284 Bug 941710 - move out text boundary calculation from GetPosAndText, r=tbsaunde 2013-11-25 13:28:27 -05:00
Alexander Surkov
fa57d900fa Bug 934039 - isolate XPCOM text interfaces implementation, r=tbsaunde 2013-11-18 08:19:33 -05:00
Alexander Surkov
5292692f9d Bug 928504 - reorg text selection change event firing, r=tbsaunde 2013-10-26 10:58:53 -04:00
Alexander Surkov
4357db48c3 Bug 899433 - Accessibility returns empty line for last line in certain cases, r=tbsaunde 2013-09-11 12:56:01 -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
57612af8ed Bug 882647 - get rid of BOUNDARY_ATTRIBUTE_RANGE, r=tbsaunde 2013-07-17 10:23:10 -04:00
Alexander Surkov
e2bccc2b51 Bug 882602 - clean up getText* line boundary code, r=tbsaunde 2013-07-16 13:13:34 -04:00
Alexander Surkov
9e12a2556a Bug 879130 - getTextBeforeOffset line end boundary is on new rails, r=tbsaunde 2013-07-12 13:34:13 -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
Alexander Surkov
577149b5bd Bug 877974 - reorg getTextAtOffset for line boundary, r=tbsaunde 2013-07-02 08:57:29 -04:00
Alexandre BM
7134130a62 Bug 850987 - RenderedToContentOffset/ContentToRenderedOffset should return an offset unchanged for HTMLTextFieldAccessible, r=tbsaunde, f=surkov 2013-04-05 17:15:26 +09:00
Alexander Surkov
d8a307c8c0 Bug 855732 - getTextBeforeOffset for word boundaries: evolving, r=tbsaunde 2013-03-31 22:39:29 +09:00
Alexander Surkov
ae5c60632f Bug 853340 - getTextAtOffset for word boundaries: beginning of a new life, r=tbsaunde
CLOSED TREE
2013-03-24 09:57:06 +09:00
Trevor Saunders
4bfc7a03fa backout 392c55ce512d bug 853340 to see if it somehow broke linux pgo landed on a CLOSED TREE 2013-03-24 15:28:34 -04:00
Alexander Surkov
913ab91ce5 Bug 853340 - getTextAtOffset for word boundaries: beginning of a new life, r=tbsaunde 2013-03-24 09:57:06 +09:00
Alexander Surkov
29945b3499 Bug 810572, part 3 - merge Accessible::AccessibleTypes with AccTypes, r=tbsaude 2012-12-18 14:22:26 +09:00
Alexander Surkov
6b25f9216f Bug 812466 - namespacify Accessible classes, r=tbsaunde 2012-11-18 11:01:44 +09:00
Alexander Surkov
eb874beb3e Bug 740764 - Restrict object attributes inheritance through documents to ARIA attributes, r=tbsaunde 2012-10-19 16:15:23 +09:00
Alexander Surkov
50bae428b0 Bug 799909 - decomify Accessible::GetNameInternal, r=tbsaunde 2012-10-14 13:18:39 +09:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

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 "*.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Trevor Saunders
44db52b2be bug 765252 - ensure doc accessibles don't out live the related pres shell r=bz, davidb, surkov 2012-07-28 00:21:40 -04:00
Matt Brubeck
01a396145f Back out 30fbd796d3bb and 50e2e602bab0 (bug 765252) because of Windows build failure 2012-07-25 20:10:06 -07:00
Trevor Saunders
124602d44c bug 765252 - ensure PresShell::Destroy() always shutsdown the related accessible document r=bz, davidb 2012-07-21 07:48:05 -04:00
Trevor Saunders
20c7e75ace bug 758113 - remove a bunch of nsIDOMNode stuff from HypertextAccessible r=davidb 2012-04-06 14:08:24 -04:00
Andrew Quartey
232b379314 Bug 762038 - Get rid of HyperTextAccessible CID. r=tbsaunde 2012-06-19 19:01:10 -04:00
Mark Capella
6780d6fc0a Bug 759305 - De-ns-ify nsHyperTextAcc, r=surkov
--HG--
rename : accessible/src/atk/nsHyperTextAccessibleWrap.h => accessible/src/atk/HyperTextAccessibleWrap.h
rename : accessible/src/html/nsHyperTextAccessible.cpp => accessible/src/generic/HyperTextAccessible.cpp
rename : accessible/src/html/nsHyperTextAccessible.h => accessible/src/generic/HyperTextAccessible.h
rename : accessible/src/mac/nsHyperTextAccessibleWrap.h => accessible/src/mac/HyperTextAccessibleWrap.h
rename : accessible/src/msaa/nsHyperTextAccessibleWrap.cpp => accessible/src/msaa/HyperTextAccessibleWrap.cpp
rename : accessible/src/msaa/nsHyperTextAccessibleWrap.h => accessible/src/msaa/HyperTextAccessibleWrap.h
rename : accessible/src/other/nsHyperTextAccessibleWrap.h => accessible/src/other/HyperTextAccessibleWrap.h
2012-05-31 04:04:41 -04:00