Commit Graph

150 Commits

Author SHA1 Message Date
timeless@mozdev.org
faee71417a Bug 619282 continuing is always false in nsFind::Find
r=neil
2010-12-14 23:49:00 -05:00
Timothy Nikkel
232d0b4160 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
Ehsan Akhgari
7883671dc5 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
Mitchell Field
d0f35f6883 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Saint Wesonga
14eed6ac2e Bug 456502 - nsFind::Find() calls StripChars() on a non-ASCII char. r=bsmedberg 2010-06-27 19:33:38 +02:00
Ms2ger@gmail.com
91560b026e Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Mounir Lamouri
34bd1fda86 Bug 557620 - Implement <input type="tel">. r=smaug,dolske,dao sr=sicking 2010-05-12 09:17:07 +02:00
Mitchell Field
f544d71a9d Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
David Baron
c66b15e601 Bug 502301 - fix C++0x narrowing conversion inside {} compilation errors [r=benjamin] 2010-04-20 10:41:21 +02:00
Craig Topper
25d5518e18 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Boris Zbarsky
a864e44fa8 Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
David Zbarsky
3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Josh Aas
75be6f9e1e Don't use Scrap Manager API in 64-bit builds on Mac OS X. b=517398 r=mstange r=bsmedberg 2009-09-24 16:22:56 -04:00
Neil Deakin
dc9b8b8573 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
8f435d226b 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
0aa6350041 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Neil Rashbrook
ab74ffe5df Bug 499115 nsFind fails to find again in certain form controls r+sr=bz 2009-06-24 10:33:35 +01:00
Neil Deakin
15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Boris Zbarsky
081b4b02e7 Bug 486547 part 1. Switch nsTypedSelection to storing nsIRange, not nsIDOMRange, objects. r+sr=smaug 2009-04-06 13:17:37 -04:00
Josh Aas
dde6460538 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Jonathan Kew
1ddae522c2 Bug 328412 - Find in empty document triggers "ASSERTION: No first node!"; r=bzbarsky sr=jst 2009-03-04 08:43:02 +01:00
Benjamin Smedberg
3498a5f86e 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
73a6fab34b 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
802d1a10c7 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
Olli Pettay
3cba110fca 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
Serge Gautherie
768535f4f7 Bug 450048 - "nsFind.cpp(961) : warning C4309: 'initializing' : truncation of constant value"; class/interface test; r+sr=jst 2008-09-23 03:32:13 +02:00
Boris Zbarsky
712fbe6e3a Back out bug 333177 "fix", since it would break searching across &shy; 2008-08-25 13:21:29 -04:00
Serge Gautherie
d207aa32c6 Bug 450048 - nsFind.cpp(961) : warning C4309: 'initializing' : truncation of constant value, r+sr=jst 2008-08-14 08:24:12 +02:00
L. David Baron
1347910ac9 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
Olli.Pettay@helsinki.fi
6880db45dc Bug 423965, [@ nsFind::Find], r+sr=jst, a=beltzner 2008-03-31 04:58:00 -07:00
Olli.Pettay@helsinki.fi
b46aebb468 Bug 414338, nsFind crashes if passed a range rooted at a document, r+sr=jst 2008-03-18 03:10:21 -07:00
masayuki@d-toybox.com
1c98c2e245 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
076b8bba8e backing out the previous patch, becaused qm-centos5-01 dep unit test is orange 2008-02-28 05:59:25 -08:00
masayuki@d-toybox.com
600836e7ed Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner 2008-02-28 03:01:56 -08:00
Olli.Pettay@helsinki.fi
652c1e007c Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking 2008-02-26 04:40:18 -08:00
masayuki@d-toybox.com
6e2677d193 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron 2008-02-16 07:31:27 -08:00
dtownsend@oxymoronical.com
9b0e4bcdd7 Bug 404773: Find bar doesn't like the letters 'b', 'o', 'd', 'y', and 'random'. s+sr=jst, a=P1 blocking 2007-12-06 13:19:16 -08:00
bzbarsky@mit.edu
8f63f75429 Make find code less sensitive to exactly which nodes return true for IsNativeAnonymous(). Bug 403090, r+sr=mats, a=schrep 2007-11-18 10:53:43 -08:00
masayuki@d-toybox.com
a20d56bd8d Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
mozilla.mano@sent.com
645edc2eee Bug 294615 - Search/find fails on words containing soft hyphen (&shy;). r+sr=jst. 2007-07-24 13:47:42 -07:00
bzbarsky@mit.edu
ced8f1a4b0 Use a Subsumes() check, not a same-origin one. r+sr=jst 2007-07-09 21:14:00 -07:00
bzbarsky@mit.edu
11cd15d771 Make the ranges used by find code able to span anonymous content. Bug 384706,
r+sr=sicking
2007-06-18 20:01:03 -07:00
bzbarsky@mit.edu
086c2eb0c0 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
martijn.martijn@gmail.com
067d379a61 Bug 378178 - Some code that doesn't compile under DEBUG_FIND anymore, r+sr=bzbarsky 2007-04-21 04:00:01 -07:00
bzbarsky@mit.edu
f792615997 Don't try to use ranges to represent chunks of the flattened tree, becauseranges can't have endpoints that are anonymous wrt the other endpoint. Bug374873, r+sr=rbs 2007-04-18 13:05:42 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
martijn.martijn%gmail.com
5fc4a6dc3f Bug 336279 � Find misses text in this testcase, r=jst, sr=rbs 2007-01-29 13:58:24 +00:00
cvshook%sicking.cc
4c08721214 Bug 345342: Add nullcheck fix regression from previous checkin. r/sr=bz 2006-07-22 05:52:05 +00:00
cvshook%sicking.cc
3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00