65 Commits

Author SHA1 Message Date
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
cls%seawood.org
6352367a62 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules.
git-svn-id: svn://10.0.0.236/trunk@146076 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 00:42:35 +00:00
bzbarsky%mit.edu
9e4941c980 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145292 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:35:53 +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
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
dbaron%dbaron.org
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +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
timeless%mozdev.org
79f28840dc Bug 197653 [@ nsFind::GetWordBreaker] crashes ADDREFing(0)
r=akkana sr=kin


git-svn-id: svn://10.0.0.236/trunk@139617 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 22:55:15 +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
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +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
kin%netscape.com
e3b69667f5 Fix for bug #176251 (Problems with nsContentIterator PRE traversal)
content/base/public/nsIContentIterator.h
  content/base/src/nsContentIterator.cpp
  content/base/src/nsGeneratedIterator.cpp
  content/build/nsContentCID.h
  content/build/nsContentModule.cpp
  embedding/components/find/src/nsFind.cpp
  layout/html/style/src/nsFrameContentIterator.cpp

  - Removed MakePre() and MakePost() from the nsIContentIterator interface.
  - Traversal must now be specified at time of creation.
  - Fixed nsContentIterator Init() methods so that they correctly calculate
    mFirst and mLast.
  - Modified PositionAt() to check if the node is in the traversal range.

r=jfrancis@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@134263 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 15:07:49 +00:00
aaronl%netscape.com
67faf008e6 Bug 175046, bug 172991, bug 166471. Make sure typeaheadfind and regular find don't find comment nodes, display:none, visibility:hidden or visibility:collapsed nodes. r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@133095 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:59:38 +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
dougt%netscape.com
57028338f0 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec
git-svn-id: svn://10.0.0.236/trunk@128192 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:05:21 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
alecf%netscape.com
ff59a7771d REQUIRES update after find component cleanup
git-svn-id: svn://10.0.0.236/trunk@124881 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 21:21:37 +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
e57f658210 134275: make find stop at table cell boundaries. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@121695 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 23:30:59 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
akkana%netscape.com
c0794125e6 92102: Make find wrap through frames. r=ccarlen sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120901 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 23:41:29 +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
akkana%netscape.com
d946f1ba2b 132612: fix a case where find misses a match after a partial match. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@120493 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:57:32 +00:00
akkana%netscape.com
e686e4b0e6 132894: improve our ability to go to the right place in the anchor
node; fix problem where we were skipping matches we should have
found.  r=cmanske sr=sfraser a=asa


git-svn-id: svn://10.0.0.236/trunk@117584 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 03:47:33 +00:00
akkana%netscape.com
acf69e3baf 80805,131767: Editor find/replace fixes, files missed in the previous checkin. r=cmanske sr=dveditz a=asa
git-svn-id: svn://10.0.0.236/trunk@116806 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 23:52:30 +00:00
akkana%netscape.com
7f2161c735 80805, 129971: Check endpoint correctly, don't skip too many nodes after a comment, fix some return values. r=cmanske sr=dveditz a=asa
git-svn-id: svn://10.0.0.236/trunk@116692 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 04:33:20 +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
timeless%mac.com
29beedeb0d Bug 114166 rewrite nsDeque
r=akkana sr=alecf
rs=alecf for TestDeque.cpp


git-svn-id: svn://10.0.0.236/trunk@115007 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:08:32 +00:00
akkana%netscape.com
27123eb55d 97157: turn off debug messages
git-svn-id: svn://10.0.0.236/trunk@114960 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:18:34 +00:00
akkana%netscape.com
1748e30579 126232: Fix some problems in new find. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@114837 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:28:32 +00:00
akkana%netscape.com
3c79d47137 more 123087 -- find API rewrite, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 04:26:49 +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
ccarlen%netscape.com
5735463f27 Bug 99613 - Freeze nsIWebBrowserFind iface. r=chak/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@110263 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 15:25:30 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +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
alecf%netscape.com
0a278b6afc bug 101761 - clean up embed components so we can better understand REQUIRES r=cls
git-svn-id: svn://10.0.0.236/trunk@103856 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:17:35 +00:00
gerv%gerv.net
aade3081c8 License changes, take 2. Bug 98089. mozilla/embedding/.
git-svn-id: svn://10.0.0.236/trunk@103758 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:58:40 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
2281a4d137 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103230 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 22:39:41 +00:00