55 Commits

Author SHA1 Message Date
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
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
jaggernaut%netscape.com
937638062c Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls
git-svn-id: svn://10.0.0.236/trunk@102907 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 05:37:29 +00:00
alecf%netscape.com
f3d9c9c141 Add REQUIRES to many modules for win32 support, bug 98372 r=cls
git-svn-id: svn://10.0.0.236/trunk@102825 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:32:40 +00:00
jaggernaut%netscape.com
9985dcc528 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls.
git-svn-id: svn://10.0.0.236/trunk@102802 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 12:48:23 +00:00
valeski%netscape.com
8db35965a8 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
ccarlen%netscape.com
29dc4f1588 Bug 92100 - When searching in frames, selection is visible in > 1 frame. r=valeski/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@101629 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 05:14:15 +00:00
jaggernaut%netscape.com
56ae52c17a Bug 73353: clean up the REQUIRES lines in Makefiles.
git-svn-id: svn://10.0.0.236/trunk@99764 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 22:36:12 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00