90 Commits

Author SHA1 Message Date
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
roc+%cs.cmu.edu
d225763725 Bug 300313. DeCOMtaminate linebreaker/wordbreaker, and access them directly as services rather than through a factory. r+sr=roc, patch by Joshua Welderson (thanks Joshua\!)
git-svn-id: svn://10.0.0.236/trunk@178583 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 03:00:06 +00:00
peterv%propagandism.org
aac2b47f2a Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
jshin%mailaps.org
c5c347930c bug 166127 search string in Japanese doesn't match exactly : patch by saito@densan.co.jp, r/sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@172907 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-30 01:37:00 +00:00
timeless%mozdev.org
141164ce86 Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
r=mrbkap sr=bz


git-svn-id: svn://10.0.0.236/trunk@168788 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 05:05:10 +00:00
bsmedberg%covad.net
3edf9d37c8 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
git-svn-id: svn://10.0.0.236/trunk@166737 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 04:07:01 +00:00
bryner%brianryner.com
e1daca3ce3 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
git-svn-id: svn://10.0.0.236/trunk@165757 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:48:45 +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
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +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
aff7d184e9 fix typo
git-svn-id: svn://10.0.0.236/trunk@154939 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:35:35 +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
12ed685455 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +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
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +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
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