masayuki%d-toybox.com
1b098bf39a
Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@246727 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 15:28:40 +00:00
masayuki%d-toybox.com
dde4ffc7c2
backing out the previous patch, becaused qm-centos5-01 dep unit test is orange
...
git-svn-id: svn://10.0.0.236/trunk@246723 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 13:59:28 +00:00
masayuki%d-toybox.com
2d6679113d
Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@246719 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 11:01:59 +00:00
masayuki%d-toybox.com
d5d7f20c6e
Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@245831 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 15:31:33 +00:00
bzbarsky%mit.edu
0c36079470
Make find code less sensitive to exactly which nodes return true for
...
IsNativeAnonymous(). Bug 403090, r+sr=mats, a=schrep
git-svn-id: svn://10.0.0.236/trunk@239608 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-18 18:53:43 +00:00
bzbarsky%mit.edu
b4a6e94075
Use a Subsumes() check, not a same-origin one. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@229587 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-10 04:14:00 +00:00
bzbarsky%mit.edu
83dd69385f
Make the ranges used by find code able to span anonymous content. Bug 384706,
...
r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@228288 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 03:01:04 +00:00
bzbarsky%mit.edu
d2d337437c
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
...
GetShellAt(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
git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu
bf19ef708d
Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
martijn.martijn%gmail.com
374a566a68
Bug 223816 - find function in midas window not working, NS_ERROR_DOM_BAD_URI error. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@195088 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 20:16:27 +00:00
darin%meer.net
a590d1f799
fixes bug 321837 "nsWebBrowserFind::FindNext fails to wrap when searching chrome docshells" patch by rdmsoft@bugs.rdmsoft.com r=rbs,sfraser sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@193298 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 05:31:10 +00:00
sharparrow1%yahoo.com
c7989ee277
Bug 327868: nsIFrameSelection cleanup. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@190633 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 00:49:04 +00:00
bzbarsky%mit.edu
36fcca4958
Flush frames before trying to find and select stuff. Bug 307783, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@187118 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-07 03:44:32 +00:00
jst%mozilla.jstenback.com
895df6e6ca
Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
bzbarsky%mit.edu
d1afb179ba
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
bryner%brianryner.com
2dbfb983b1
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
mats.palmgren%bredband.net
98a82b2777
Check fo null before using GetFocusedElement result. b=252977 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160494 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-08 17:18:58 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
rbs%maths.uq.edu.au
0942656e37
Ensure that Find Again (F3) iterates over all matches, even when the ESM::MoveFocusToCaret() takes a shortcut that leaves the focus controller slightly out-of-sync, b=249345, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@158667 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-01 21:29:21 +00:00
bryner%brianryner.com
7247372aa3
deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
rbs%maths.uq.edu.au
6af5bfc8ad
Scroll the find position last so that it is not overriden by another intermediate scrolling, b=242056, r=akkana, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@155801 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-01 07:47:23 +00:00
rbs%maths.uq.edu.au
29e5c10d30
Find in textareas misses some matches & some cleanup/consolidation, b=241053, r=akkana, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@155603 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-27 22:22:43 +00:00
gerv%gerv.net
586f796c2a
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
rbs%maths.uq.edu.au
bfe77ca6d3
Add the much requested support for find in <textarea> and text <input> elements. Also fix a long-standing problem with the mutually-exclusion: selecting something in a text field doesn't clear an earlier selection outside. b=58305, r=akkana, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@154934 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 19:45:46 +00:00
bryner%brianryner.com
62dee43850
deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153335 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 17:17:37 +00:00
jst%mozilla.jstenback.com
854468a176
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
jst%mozilla.jstenback.com
803e4eb910
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
timeless%mozdev.org
4ea883526c
Bug 221845 (Patch) (OS X) put type ahead find string on find pasteboard
...
patch by haasd@cae.wisc.edu r=akkana sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@148604 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 19:22:23 +00:00
bryner%brianryner.com
eeddf02bde
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bryner%brianryner.com
101a9e4e72
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146615 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:05:34 +00:00
jaggernaut%netscape.com
df747d0621
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
aaronl%netscape.com
63348d831a
Bug 211933. Incorrect null check in webbrowserfind code. r=dean_tessman, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@144636 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 06:41:20 +00:00
sfraser%netscape.com
4ae47cf5b0
Fix bug 118657: don't allow window.find() to propagate into frames that it doesn't have permissions for. r=msotlz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@141428 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 00:53:58 +00:00
sfraser%netscape.com
5ef9013e0c
Remove a bogus DEBUG_smfr block. r/sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@138745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-01 00:56:23 +00:00
dbaron%dbaron.org
daa2fa4b45
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@135995 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:51:43 +00:00
aaronl%netscape.com
e72c199b3e
Bug 171260. Typeaheadfind in page with frames wrecks normal find. r=akkana, sr=sfraser. a=asa
...
git-svn-id: svn://10.0.0.236/trunk@132847 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 23:24:33 +00:00
aaronl%netscape.com
388e891855
Bug 171079. Typeaheadfind::findnext overriding regular find next when it shouldn't. r=akkana, sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@131431 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 18:00:01 +00:00
aaronl%netscape.com
7aa4d6dbcd
Correct nsWebBrowserFind.cpp checkin to fix bustage using NS_NAMED_LITERAL_STRING
...
git-svn-id: svn://10.0.0.236/trunk@130397 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 00:56:34 +00:00
darin%netscape.com
dbd71ea612
fixing aaronl's bustage
...
git-svn-id: svn://10.0.0.236/trunk@130395 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 00:42:40 +00:00
aaronl%netscape.com
f01d5624ca
Bug 167921 - allow web pages to use preventDefault so that typeaheadfind doesn't interfere with them. r=kyle, sr=brendan. Also fixes bug 165315 - typeaheadfind shouldn't hardcode kbd shortcuts, bug 77704 - add accelerator for find prev (also added menu item). Also fixes bug 167783 - ctrl+g for typeaheadfind after repeating characters. Also fixes bug 168408 - backspace after bad character typed should do the right thing, but don't add bad characters to buffer. Also fixes bug 71832 - add F3 for find next (also shift+F3). Bug 157669 - Alt+D to select location bar (IE keyboard compatibility), r=sgehani, sr=hewitt
...
git-svn-id: svn://10.0.0.236/trunk@130385 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 22:46:50 +00:00
akkana%netscape.com
fb8a01e1eb
126312: remove old find code. r=brade sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@124873 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 20:41:51 +00:00
kin%netscape.com
fa152a3def
Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
...
mozilla/content/base/public/nsISelectionController.idl
mozilla/content/base/src/nsSelection.cpp
mozilla/editor/composer/src/nsEditorShell.cpp
mozilla/editor/idl/nsIPlaintextEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/nsEditor.h
mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
mozilla/editor/ui/dialogs/content/EdTableProps.js
mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
mozilla/layout/base/public/nsIFrameSelection.h
mozilla/layout/html/base/src/nsPresShell.cpp
mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
mozilla/mailnews/compose/src/nsMsgCompose.cpp
mozilla/xpfe/browser/resources/content/viewPartialSource.js
- Added aIsSynchronous arg to the ScrollSelectionIntoView()
method of nsISelectionController and nsIFrameSelection.
Updated all callers to pass new arg.
- Modified selection to post a plevent to call which does the
call to ScrollIntoView() in the async ScrollIntoView() case.
- Edits in text widgets now use asynchronous reflow, paint,
and scroll processing full time.
- Removed redundant ScrollSelectionIntoView() calls in the
editor event listeners.
- Editor IME code now forced to flush reflows and paints before
getting caret coordinates.
r=jfrancis@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123236 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:35:12 +00:00
akkana%netscape.com
1600a4843d
92102: Fix wrapping through frames, and don't find content inside noframes tags. r=ccarlen sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@120887 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:22:13 +00:00
aaronl%netscape.com
aab415c282
Fixes bug 66597, bug 103284, bug 114440, bug 120023, bug 128741, bug 19259. Cleans up browse with caret, makes it work with XML content docs, creates keyboard toggle for it (Accel+shift+K), synchronizes focus and document selection so that users can tab navigate relative to their last find or click in text, or vice versa, makes tabbing move relative to named anchor that has been jumped to. r=bryner, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116297 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:21:48 +00:00
akkana%netscape.com
25812279fc
126651,126909: Fix some glitches in the find algorithm. r=cmanske sr=kin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115259 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 01:12:26 +00:00
akkana%netscape.com
c4d91d0aeb
123087: Redesign Find API, rewrite new find algorithm.
...
Not yet enabled by default; needs testing. r=brade sr=kin.
git-svn-id: svn://10.0.0.236/trunk@114664 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 04:17:07 +00:00
akkana%netscape.com
76737b8259
120623: remove printfs. r=bzbarsky r,a=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@112402 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-17 21:57:00 +00:00
akkana%netscape.com
7641a5fe9e
97157: New faster find-in-page.
...
This is still work in progress and hasn't had all the bugs ironed out
yet, so for now, it's preffed off by default ("browser.new_find").
r=jfrancis sr=kin
git-svn-id: svn://10.0.0.236/trunk@112328 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 07:05:40 +00:00
jaggernaut%netscape.com
51e0dc7a6c
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00