Mats Palmgren
38a55345e3
Bug 732941 - Deal with OOM when copying nsCOMArray. r=bz
2012-03-11 03:32:27 +01:00
Nathan Froyd
72e8d1d540
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Aryeh Gregor
0afeab2129
Bug 719503 - selection.deleteFromDocument() throws for collapsed selection; r=ehsan
2012-02-22 10:38:25 -05:00
Ms2ger
fbc1bcf68b
Bug 722406 - Part a: Introduce nsISelection::CollapseNative; r=smaug
2012-02-01 11:54:22 +01:00
Ehsan Akhgari
e2811ba7bb
Bug 171237 - Part 2: Correct the calls to ScrollIntoView which were not updated as part of bug 605138; r=roc
2012-01-11 20:19:19 -05:00
Ehsan Akhgari
b07d71747a
Bug 171237 - Center the search results instead of scrolling only enough to show them in order to provide more visual context; r=roc
2012-01-11 20:18:23 -05:00
David Zbarsky
e96cf389ad
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
Olli Pettay
5badfe6a05
Bug 714162 - Don't traverse certainly alive selections, additional patch, r=mccr8
2012-01-06 21:08:08 +02:00
Olli Pettay
c19a3e22f7
Bug 714162 - Don't traverse certainly alive selections, r=mccr8
2011-12-30 12:47:23 +02:00
Mats Palmgren
d1a1e5d593
Bug 712937 - Null-check aRange. r=bzbarsky
2011-12-24 05:08:23 +01:00
Nicholas Nethercote
56767a7167
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Mats Palmgren
1e2a52a8bd
Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug
2011-12-20 10:15:41 +01:00
Jeff Walden
a0ca3d8af2
Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert
2011-12-18 01:00:47 -05:00
Jeff Walden
19f38bafe5
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
...
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Jeff Muizelaar
96217c7697
Bug 698107. layout: Return nsnull instead of false. r=bz
...
Caught by a clang warning.
--HG--
extra : rebase_source : 384a3451b7e54f8afb40f5e8a94000c00a54cc6d
2011-11-08 18:09:22 -05:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
David Zbarsky
b849d09dcc
Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug
2011-08-07 16:17:00 -04:00
David Zbarsky
8509478d01
Bug 672536 - Merge nsISelection3 into nsISelection r=smaug
2011-08-07 16:18:00 -04:00
Masayuki Nakano
1380b10143
Bug 675865 backout new dragginf for selection handling code from Mozilla8 r=smaug (backed out patches are: bug 552707, bug 644621, bug 670058, bug 670508, bug 671319)
2011-08-03 12:39:02 +09:00
Ehsan Akhgari
2f51d73796
Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky
2011-07-28 13:51:22 -04:00
Mounir Lamouri
2e1dfaef9e
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-20 12:18:54 -07:00
Ehsan Akhgari
ee5215c7a6
Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD
2011-07-19 16:25:54 -04:00
Mounir Lamouri
5937d63965
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-19 11:22:43 -07:00
Mounir Lamouri
b088e154d6
Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage.
2011-07-19 10:49:48 -07:00
Mounir Lamouri
d2f5a3b4c3
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-18 17:05:10 -07:00
Masayuki Nakano
dc5b552abb
Bug 670058 Stop drag handling for selection when the dragging frame selection detaches presShell r=smaug
2011-07-11 13:20:46 +09:00
Masayuki Nakano
180918ceb1
Bug 552707 While we're expanding selection by dragging, the selection root element should capture mouse events and all scrollable elements should be scrollable r=roc+smaug, ui=faaborg
2011-07-06 11:16:18 +09:00
Craig Topper
43c8429d0c
Bug 654369 - Part 9: Remove OOM checks from layout/generic r=bz
...
--HG--
extra : rebase_source : b828e73151ceb8cb59e1d8f7c0671dc88397057c
2011-04-28 22:02:16 -07:00
Masayuki Nakano
49814a538d
Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc
2011-05-25 15:32:00 +09:00
Masayuki Nakano
060287addd
Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc
2011-05-25 15:31:59 +09:00
Craig Topper
3897308906
Bug 658143 - Part 3: Remove nsFrameSelection QI and createInstance support. r=roc
2011-05-18 22:28:54 -07:00
Dão Gottwald
ca1f9f0f94
Bug 451833 - Highlight the domain name in the address bar. r=roc,sdwilsh ui-r=faaborg
...
--HG--
extra : rebase_source : 1010ad246e94e271a0efaaca13356aff5d4b3bc3
2011-05-02 19:50:18 +02:00
Zack Weinberg
51864c09d8
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Robert O'Callahan
c957ae039e
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Ehsan Akhgari
11ad8ed434
Bug 642823 - Make the behavior of nsISelection::Modify consistent for word selection across platforms by not eating spaces on any platform; r=roc
2011-03-20 15:49:06 -04:00
Olli Pettay
6696bada46
Bug 637621, allow selection collapse more often, r+a=jst
...
--HG--
extra : rebase_source : 216a2405f929ca00cc4982ebb39230b4f3018dc1
2011-03-02 16:55:12 +02:00
Mats Palmgren
2534080c69
Bug 602331 - selection addRange cannot select nodes that are being dynamically appended to the DOM. r=roc a=blocking2.0:final
2011-01-14 01:22:26 +01:00
timeless@mozdev.org
c4888bce55
Bug 620304 crash [@ nsTypedSelection::GetIndicesForInterval] if !aStartIndex/!aEndIndex, r+a=jst
2010-12-20 01:19:00 -08:00
Jonathan Kew
a9323f7452
bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc
2010-12-16 14:17:41 -08:00
Jonathan Kew
6531a7f776
Backed out changeset 1958ebae93cc for causing mochitest orange. a=backout
2010-12-16 15:15:35 -08:00
Jonathan Kew
7a31c3e079
bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc
2010-12-16 14:17:41 -08:00
Timothy Nikkel
5c1b10cee6
Bug 559993. Scroll the whole selection into view, not just the focus point when finding on a page. r=roc a=blocking-final+
2010-11-24 19:35:02 -06:00
Ms2ger
6f999474e8
Bug 589623 - Raise INVALID_STATE_ERR exceptions from Selection.collapseTo{Start|End}; r+a=jst
2010-11-06 10:40:13 +01:00
Ms2ger
540c59a0a3
Bug 589621 - Throw the correct exception for Selection.getRangeAt called with out-of-bounds values; r=sicking a=bsmedberg
2010-11-06 10:40:04 +01:00
Ehsan Akhgari
28e97f8723
Bug 389321 - Part 1: Don't choke on textnodes which don't have a primary frame; r=roc a=blocking-betaN+
2010-08-17 15:25:53 -04:00
Ehsan Akhgari
bc3929193c
Bug 605138 follow-up: fix Thunderbird bustage. r=me a=bustage
2010-10-25 14:24:40 -04:00
Ehsan Akhgari
b3ebab6edb
Bug 605138 - Part 2: Refactor nsTypedSelection::ScrollIntoView to use flags instead of parameters; r=roc a=blocking-final+
2010-10-22 18:41:55 -04:00
Ehsan Akhgari
c5d807f1c7
Bug 605138 - Scripts from topix.net apparently causing page to scroll down when opening; r=roc a=blocking-final+
2010-10-21 16:56:20 -04:00
Neil Deakin
902842e19b
Bug 578667, text not highlighting when selectiondrag is outside frame, r=mats,a=blocking
2010-10-25 10:06:30 -04:00
Boris Zbarsky
c54cf4b5bd
Bug 594808. If the given range is detached, don't try to work with its start/end containers. r=sicking
2010-10-20 20:24:15 -04:00
Ehsan Akhgari
7c73e783f7
Bug 604314 - "ASSERTION: unexpected disconnected nodes"; r,a=roc
...
--HG--
extra : rebase_source : be7c85abe0c8c84c5663a871ee831863c4823bad
2010-10-18 23:24:39 -04:00
Ehsan Akhgari
ecfaa4d477
Bug 586662 - Part 3: Don't attempt to compare unrelated points when manipulating selections; r=roc a=blocking-betaN+
2010-09-23 14:44:01 -04:00
Justin Lebar
445d3bb942
Bug 581051 - Move selection.modify() from nsISelection.idl into nsISelection3.idl. r,approval2.0=jst
...
--HG--
extra : rebase_source : 9008b467241f21bc66d5fca734d916400d21e3b2
2010-07-22 11:02:06 -07:00
Timothy Nikkel
eaf04d25f4
Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats
2010-07-18 21:23:48 -05:00
Jesse Ruderman
f04ef428cb
Remove stray line breaks from NS_ERROR messages, since they interfere with log processing. rs=jst
...
--HG--
extra : rebase_source : 87421691da969e0ebe5fbfbc44cd8f18617d1351
2010-06-17 13:28:38 -07:00
Ehsan Akhgari
67c7d5d5e2
Bug 332636 - Handle backspace for Unicode plane 1 characters correctly; r=roc
...
--HG--
extra : rebase_source : a343610b06983d3328f3ddb2e7025193ab275094
2010-06-04 13:28:19 -04:00
Mats Palmgren
4915b380e1
Bug 39098 - Elements with visibility:hidden, visibility:collapse, or display:none get copied to the clipboard. r=dbaron
2010-05-25 01:24:15 +02:00
Mats Palmgren
fb69d7564f
Backout bug 39098 due to Tinderbox orange.
2010-05-21 18:28:39 +02:00
Mats Palmgren
96b6a1a45d
Bug 39098 - Elements with visibility:hidden, visibility:collapse, or display:none get copied to the clipboard. r=dbaron
2010-05-21 15:52:07 +02:00
Boris Zbarsky
4d2b5f13cc
Bug 562688 part 11. Eliminate eELEMENT usage in layout/generic. r=dbaron
2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
Justin Lebar
0897480e5e
Bug 496275 - Expose JS API for modifying page's selection. r=mats, sr=jst
2010-04-28 19:47:23 +02:00
Peter Van der Beken
8e3acb1006
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
...
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Craig Topper
7b89b159bb
Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
...
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Kyle Huey
afc6c6ca2d
Backed out changeset 4b8936ac4a31
2010-03-30 19:56:44 -04:00
Craig Topper
6c9540a26d
Bug 253889: More deCOMtamination of nsIPresShell. r=roc
2010-03-28 19:21:11 -04:00
Craig Topper
c3fc5fa456
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Craig Topper
a956b85435
Bug 253889: DeCOMtaminate nsIPresShell r=roc
2010-03-20 17:54:19 -04:00
Peter Van der Beken
e5d87ec5bb
Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
...
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Mats Palmgren
549893b6d7
Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc
2010-03-14 23:52:07 +01:00
Jonas Sicking
c4106f7f22
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Mats Palmgren
fa91c35561
Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc
2010-01-26 14:10:12 +01:00
Masayuki Nakano
798021118b
Bug 539531 - Crash when I click-and-drag on a "Gordon" flash emulation [@ nsFrameSelection::ConstrainFrameAndPointToAnchorSubtree(nsIFrame*, nsPoint&, nsIFrame**, nsPoint&) ]. r=bz
2010-01-20 11:22:09 +01:00
Robert O'Callahan
c814462e8a
Bug 526394. Part 26: Rework nsSelection to use frames only. r=mats
2009-09-10 17:16:18 +12:00
Robert O'Callahan
7eb8b6c4d7
Bug 526394. Part 17: Convert some selection-related code in nsTextControlFrame and nsSelection. r=mats
2009-09-03 17:23:47 +12:00
Robert O'Callahan
9324676397
Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats
2009-09-01 23:29:27 +12:00
Boris Zbarsky
b22600af13
Bug 537419. mContent might be null here. r=dbaron
2009-12-31 20:37:57 -05:00
Boris Zbarsky
b3883855ac
Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc
2009-12-24 16:20:06 -05:00
Masayuki Nakano
13ffca5258
Bug 42676 Can't drag to extend selection out of blocks with overflow:hidden/auto/scroll r=Olli
2009-12-12 13:25:21 +09:00
Robert O'Callahan
e67180ce2a
Bug 527306. Remove problematic flush in selectFrames. r=bz
2009-11-16 11:52:31 +13:00
Olli Pettay
db0b04db91
Bug 520070, r=bz
...
--HG--
extra : rebase_source : fcdc0ee7c15269db40c02b7cd930c6117d0a2fe2
2009-10-05 13:10:31 +03:00
David Zbarsky
8d8553ee41
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Graeme McCutcheon
f9440e42ac
Bug 510575 - fix calculation of bounds in nsTypedSelection::GetIndicesForInterval, and ensure range adding code always checks for duplicates. r=roc
2009-09-25 11:11:42 +01:00
Graeme McCutcheon
4dc6beed49
Bug 493111 - ASSERTION: Range index not returned. r=roc
2009-09-22 19:05:39 +01:00
Neil Deakin
3599d06edc
Bug 516991, get the right scrollable view from within the selection scroll timer, otherwise scrolling is jumpy, r=roc
2009-09-17 16:33:29 -04:00
Mats Palmgren
948203eb7d
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Neil Deakin
02a7469b05
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-13 09:13:16 -04:00
Neil Deakin
a5bfe49767
Bug 503943, back out mouse capture patch, CLOSED TREE
2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-10 08:51:36 -04:00
Alexander Surkov
2e6d6da4f4
Bug 417929 - nsIAccessiblTable selectRows does not unselect previously selected rows, r=marcoz, davidb, ginn, smaug, sr=roc
2009-09-10 11:06:54 +08:00
Boris Zbarsky
36622c6995
Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
...
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Hashem Masoud
c8f711113e
Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin
2009-08-14 16:09:00 +02:00
timeless@mozdev.org
854b7b365e
Bug 506645 nsTypedSelection::AddItem doesn't always null check aOutIndex
...
r=smaug
2009-08-12 11:49:55 +02:00
timeless@mozdev.org
3d39adc39e
Bug 506258 nsFrameSelection::ConstrainFrameAndPointToAnchorSubtree doesn't seem to use anchorFrame or anchorFrameOffset
...
r=roc
2009-08-12 11:49:54 +02:00
Robert O'Callahan
78f3465f56
Bug 506874. Don't temporarily remove ranges from the selection while we alter the frame state. Also adds a bunch of selection tests. r=smaug
...
--HG--
extra : rebase_source : 5d4fd55728e1167cc57451b5c80a46643191678b
2009-08-03 14:12:57 +12:00
Michael Kohler
404670f1f3
Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless
2009-07-27 10:47:02 +02:00
Robert O'Callahan
14dbcb0874
Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky
...
--HG--
extra : rebase_source : 18c390e3ebd09de82b1a23699c56b741f928ca37
2009-07-27 10:05:41 +12:00
Graeme McCutcheon
aba02829e6
Bug 348681 follow-up comment fix.
2009-05-09 22:36:17 +01:00
Graeme McCutcheon
0e41a51d57
Bug 348681 - Don't allow overlapping ranges in the selection. r+sr=roc
2009-05-09 22:30:19 +01:00
L. David Baron
ef1d609c60
Traverse and unlink selection listeners. (Bug 490071) r+sr=peterv
2009-05-08 21:59:26 -07:00
Masayuki Nakano
3ad00a6eb6
Bug 482138 [TSF] nsTextFrame has to draw composition string by TIP specified style r+sr=roc
2009-04-23 12:27:12 +09:00
Boris Zbarsky
1c4f1309c3
Bug 488417. Need to hold strong refs to ranges across calling RemoveRange. r+sr=roc
2009-04-21 15:57:40 -04:00
Boris Zbarsky
749e0df085
Bug 486547. Fix build bustage on Windows
2009-04-06 14:39:02 -04:00
Boris Zbarsky
f5f91b5ad4
Bug 486547 part 7. Simplify some more of the table code in nsFrameSelection. r+sr=smaug
2009-04-06 13:21:30 -04:00
Boris Zbarsky
5940e832d1
Bug 486547 part 6. Simplify some cell-related code in nsFrameSelection. r+sr=smaug
2009-04-06 13:20:32 -04:00
Boris Zbarsky
318b8f4046
Bug 486547 part 5. Switch various table cell selection stuff off nsIDOMRange. r+sr=smaug
2009-04-06 13:20:30 -04:00
Boris Zbarsky
d1064d6aa3
Bug 486547 part 4. Switch some more code off nsIDOMNode/nsIDOMRange r+sr=smaug
2009-04-06 13:17:38 -04:00
Boris Zbarsky
4c92001924
Bug 486547 part 3. Eliminate the Fetch*Node methods of nsTypedSelection. r+sr=smaug
2009-04-06 13:17:38 -04:00
Boris Zbarsky
e95b3b80d3
Bug 486547 part 2. Switch nsFrameSelection::mMaintainRange to storing nsIRange, not nsIDOMRange. r+sr=smaug
2009-04-06 13:17:38 -04:00
Boris Zbarsky
b4295b1789
Bug 486547 part 1. Switch nsTypedSelection to storing nsIRange, not nsIDOMRange, objects. r+sr=smaug
2009-04-06 13:17:37 -04:00
Olli Pettay
68a0322fcd
Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron
2009-03-11 17:43:08 +02:00
Olli Pettay
08022b8871
Bug 466856 - Crash [@ nsTypedSelection::CopyRangeToAnchorFocus], r+sr=roc
2009-02-26 18:36:34 +02:00
Peter Van der Beken
78527f8037
Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz.
2009-01-14 13:24:10 +01:00
Peter Van der Beken
84d3eabc50
Back out changeset 9fd8740decb8 (Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles).) to try to fix orange.
2009-01-14 15:12:37 +01:00
Peter Van der Beken
4189af9d67
Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz.
2009-01-14 13:24:10 +01:00
Benjamin Smedberg
24e7cb1f78
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
Benjamin Smedberg
50621e4f9f
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
d0b948876f
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
Uri Bernstein
def95c60da
Set mMaintainRange to null when there is no selection. b=470212 r=mats sr=roc
2009-01-08 22:17:49 +01:00
Mats Palmgren
1dc0d756d8
Don't crash if views were destroyed while flushing notifications. b=421839 r+sr=roc
2008-12-08 00:11:37 +01:00
Vladimir Vukicevic
81d2b6f8e9
b=461813, crash in nsFrameSelection::HandleDrag; r+sr=roc
2008-11-04 11:29:13 -08:00
Markus Stange
7a9f82ce7e
Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc
2008-11-04 15:38:16 +01:00
Benjamin Smedberg
4eb5e5d5a8
Bug 461212 - deCOM frame traversal (relanding) r=mats.palmgren sr=roc
2008-10-30 10:15:22 -07:00
Benjamin Smedberg
3a3f316c84
Backed out changeset affcc1c08bc0 (deCOM frame enumerator) due to regression from it or bug 461410.
2008-10-28 02:47:40 -04:00
Benjamin Smedberg
d89e3c2841
Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc
2008-10-28 00:47:19 -04:00
Uri Bernstein
f6d3f0ca80
Bug 459921 - Double-click-and-drag selects previous word when dragging to left half of first letter of a word. r+sr=roc.
2008-10-21 11:52:52 +02:00
Uri Bernstein
ff104b5951
Bug 415707 - multiple text selection improvement doesn't work with double-click "word-by-word" or triple-click "paragraph" modes. r+sr=roc.
2008-10-17 21:46:33 +02:00
Theppitak Karoonboonyanan
018ec4b25f
Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc
2008-10-16 20:44:32 +13:00
Olli Pettay
9d96a5cb3f
bug 302775 - extractContents doesn't work if start and end node of a Range object is an attribute node, r=peterv, sr=sicking
2008-10-15 12:40:28 +03:00
Uri Bernstein
b6fcdfbcc2
Bug 459660: Remove two unused members of nsTypedSelection and their accessors. r+sr=roc.
2008-10-13 23:25:21 +02:00
Uri Bernstein
17f37431ef
Bug 459588: Kill OLD_SELECTION code. r+sr=roc.
2008-10-13 00:11:51 +02:00
Uri Bernstein
204ce01f25
Bug 426766: Cursor keys behave weirdly in "view source" window. r+sr=roc.
2008-10-09 12:07:16 +02:00
Uri Bernstein
66ac8551e1
Bug 458089: Kill VISUALSELECTION code. r=smontagu, sr=roc.
2008-10-09 12:05:30 +02:00
Alexander Surkov
0b44649c8c
Bug 456944 - Crash when spell checking selection changes, r=smaug, sr=roc
2008-10-08 20:53:14 +08:00
Graeme McCutcheon
b6ce570b3c
Bug 451252 - "Highlight All" find selection not visible in elements that have -moz-user-select: none set; r+sr=roc
2008-09-07 16:12:50 +02:00
Uri Bernstein
10ba4b83d3
Merge commit for bug 210197
2008-08-09 19:34:08 +03:00
Uri Bernstein
e2c16e860b
Unconditionally reset mDragSelectingCells to false on mouse-up, so that the system doesn't remain in table selection mode when dragging outside a table. bug=210197. r+sr=mats.palmgren
2008-08-09 18:09:37 +03:00
Asaf Romano
86d6cde299
Bug 263683 - Findbar's Highlight feature should not manipulate the DOM. Patch by Graeme McCutcheon <graememcc_firefox@graeme-online.co.uk>, r=me,roc. sr=roc.
2008-07-30 23:48:56 +03:00
Alexander Surkov
92240ca1b2
bug 345759 - Spell as you type not accessible, r=aaronlev, r=Olli.Pettay, sr=neil
2008-07-17 14:06:24 +02:00
John Daniels
ef0fee1d70
Bug 419532 – deCOMtaminate nsICaret. r+sr=roc
2008-07-16 12:52:01 +02:00
Benjamin Smedberg
34d11c2d91
Bug 442729 - Annotate stack-only classes in layout, r+sr=roc
2008-07-01 15:16:45 -04:00
gavin@gavinsharp.com
e50c8e8688
Bug 423523: Caret can leave div w/ contenteditable = true with repeated arrow keys, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=peterv, a=beltzner
2008-04-23 15:33:14 -07:00
dbaron@dbaron.org
72f25cf7a0
Backout bug 157546 (making the delete key delete by clusters) to fix blockers bug 419217 and bug 419406. Instead of removing the added test, mark now-failing tests as todo. a=damons
2008-04-14 18:04:18 -07:00
uriber@gmail.com
5bce60c798
When adding a range to the selection, set the anchor focus to the added range, rather than the last range in the selection. bug=392746 r+sr=roc a1.9=beltzner. Mochitest (v3) by Martijn Wargers.
2008-03-31 10:47:42 -07:00
uriber@gmail.com
1cb980c3fe
reverting fix for 392746 due to unexplained failure of /tests/toolkit/content/tests/widgets/test_colorpicker_popup.xul
2008-03-30 14:55:37 -07:00
uriber@gmail.com
94163e6499
When adding a range to the selection, set the anchor focus to the added range, rather than the last range in the selection. bug=392746 r+sr=roc a1.9=beltzner. Mochitest by Martijn Wargers.
2008-03-30 11:13:29 -07:00
masayuki@d-toybox.com
3dcfbbf7fc
Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner
2008-02-28 07:28:37 -08:00
masayuki@d-toybox.com
f6e10b8d70
backing out the previous patch, becaused qm-centos5-01 dep unit test is orange
2008-02-28 05:59:25 -08:00