Commit Graph

530 Commits

Author SHA1 Message Date
Trevor Saunders
7692f41b04 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Phil Ringnalda
0b10e72f72 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
66701da22a bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Trevor Saunders
7b427257b3 bug 845562 - nsFrameSelection doesn't need to inherit from nsISupports r=smaug 2013-02-15 16:32:19 -05:00
Trevor Saunders
08fdf22a1b bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug 2013-02-15 15:09:28 -05:00
Olli Pettay
8f731ed4c1 Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde 2013-02-18 18:32:32 +02:00
Ryan VanderMeulen
be0e88e929 Backed out changeset 645cb4fbf390 (bug 842132) for build bustage. 2013-02-18 11:12:16 -05:00
Olli Pettay
063a55504c Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde 2013-02-18 17:33:49 +02:00
Trevor Saunders
405ff5ffa1 bug 841706 - remove nsSelectionIterator r=smaug 2013-02-15 05:52:57 -05:00
Trevor Saunders
6bb0b0890f bug 838570 - selection code can sometimes leak a range r=smaug 2013-02-07 06:05:24 -05:00
Trevor Saunders
c55a85644c bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Mats Palmgren
7532b4e736 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Trevor Saunders
8006627889 bug 828138 - remove out arg from Selection::GetPresContext() r=ehsan 2012-12-19 13:44:58 -05:00
Trevor Saunders
7ddadfb14b bug 828138 - make Selection::GetPresShell() return the pres shell instead of use an out arg r=ehsan 2012-12-18 19:55:11 -05:00
Trevor Saunders
2d8b6affd6 bug 828138 - remove nsISelectionPrivate::SetPresShell() r=ehsan 2012-12-18 17:30:11 -05:00
Robert O'Callahan
ae130ef998 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
2013-01-04 02:23:11 +13:00
Trevor Saunders
3f8f49e192 bug 781409 - remove nsITableLayout r=roc,davidb 2012-08-08 09:05:17 -04:00
Benoit Jacob
c995bc9e1e Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Mats Palmgren
333f7cfb5b Bug 806755 - Don't call scroll methods on the pres shell after the Selection was disconnected. r=roc 2012-11-04 07:41:42 +01:00
Robert O'Callahan
6c21308451 Bug 805697. There is no point in checking for the existence of a caret in the presshell --- it will always have one, and it wouldn't matter if it didn't. r=mats 2012-10-29 17:31:45 +13:00
Robert O'Callahan
e0d76efca2 Bug 805697. Remove StCaretHider since it's not needed anymore. r=mats 2012-10-29 17:31:26 +13:00
David Zbarsky
857c4a57f6 Backout bug 779684 for topcrash 2012-10-15 14:35:50 -04:00
Masayuki Nakano
9ddaf04f0e Bug 795785 part.2 Scroll editor when caret is moved even if it's specified overflow: hidden; r=smaug 2012-10-08 03:45:51 +09:00
Masayuki Nakano
b6bbe5c1a3 Bug 795785 part.1 Editor should scroll the selection into view after edit even when the editor is specified overflow: hidden; r=ehsan,smaug, sr=smaug 2012-10-08 03:45:51 +09:00
Robert O'Callahan
da3be23f1f Bug 791616. Part 3: Don't scroll vertically to get the caret into view if that's not a perceived scrollable direction. r=mats 2012-09-24 16:38:16 +12:00
Robert O'Callahan
4944baf992 Back out bug 791616 due to test failure. 2012-09-24 21:55:16 +12:00
Robert O'Callahan
02c400a29f Bug 791616. Part 3: Don't scroll vertically to get the caret into view if that's not a perceived scrollable direction. r=mats 2012-09-24 16:38:16 +12:00
Koosha Khajeh Moogahi
0fb083278a Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Graeme McCutcheon
8448210d07 Bug 766181 - Require Selection::AddItem's aOutIndex param. r=roc 2012-09-17 14:54:01 +01:00
Aryeh Gregor
ab0280a36e Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz 2012-08-07 17:58:47 +03:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26 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
316904acc6 Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan 2012-08-07 17:54:44 +03:00
Aryeh Gregor
691ef24b2a Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Jan Varga
c9f27fa528 Bug 779684 - Move FrameIteratorFlags to nsFrameIterator class. r=roc 2012-08-06 20:27:04 -04:00
David Zbarsky
2d1e72a475 Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc 2012-08-05 23:00:55 -04:00
Adam Dane [:hobophobe]
3762672e73 Bug 769791 - Optimize adding ranges to the end of mRanges in nsSelection. r=smaug 2012-07-24 15:25:36 -05:00
Ehsan Akhgari
7917f7709f Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
21303ca9d4 Bug 777292 - Cast NS_ENUMERATOR_FALSE to nsresult and complain in comments; r=ehsan 2012-07-27 17:03:25 +03:00
Aryeh Gregor
3910f004e2 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Mats Palmgren
35ecb3b457 Bug 777578 - Make mLimiter and mAncestorLimiter strong refs. r=smaug 2012-07-26 23:44:10 +02:00
Olli Pettay
2067752f5b Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Aryeh Gregor
22bb3e3489 Bug 771873 part 1 - Check for reversed indices in Selection::GetIndicesForInterval; r=ehsan 2012-07-12 18:56:30 +03:00
Aryeh Gregor
c6b8b3cea6 Bug 770580 part 2 - Fix crash due to removed null check in Selection::selectFrames; r=ehsan 2012-07-06 09:39:01 +03:00
Aryeh Gregor
8f58d5632e Bug 770580 part 1 - Clarify Selection::selectFrames parameter; r=ehsan 2012-07-06 09:39:01 +03:00
Phil Ringnalda
06d0c4a197 Back out ea9410c65673 (bug 769791) for mochitest-chrome bustage 2012-07-03 21:36:45 -07:00
Adam Dane [:hobophobe]
5fa05d45ab Bug 769791 - Optimize nsSelection::GetIndicesForInterval for adding ranges to the end. r=smaug 2012-07-03 18:19:42 -05:00
David Zbarsky
9050aef271 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Aryeh Gregor
143747c0a4 Bug 767169 part 1 - Partial cleanup of Selection::selectFrames; r=ehsan 2012-06-28 14:29:56 +03:00