5414 Commits

Author SHA1 Message Date
brendan%mozilla.org
81777e8de7 Fix refcnt underflow bug, defend against null myObj (r=vidur@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@54574 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 20:44:36 +00:00
warren%netscape.com
eb9a891946 Eliminated the libs build pass.
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
tor%cs.brown.edu
f4d16e3240 Build bustage fix for gcc 2.7 & vc5 - include class interface
before playing with nsCOMPtr. r=travis@aol.net,a=dmose@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@54499 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 05:05:14 +00:00
tbogard%aol.net
d90a54c043 nsGfxTextControlFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed some regular XPCOM pointers to be nsCOMPtrs.
git-svn-id: svn://10.0.0.236/trunk@54497 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 03:23:43 +00:00
tbogard%aol.net
b37b8cb748 nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface.
git-svn-id: svn://10.0.0.236/trunk@54496 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 03:11:10 +00:00
tbogard%aol.net
50834581e0 nsFrameFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed the call to GetTitle to properly free the returned pointer as an internal const pointer is no longer returned.
git-svn-id: svn://10.0.0.236/trunk@54495 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 03:06:59 +00:00
shaver%netscape.com
df01636bd9 Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.


git-svn-id: svn://10.0.0.236/trunk@54484 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-26 05:33:35 +00:00
jfrancis%netscape.com
42b5777e9f Fix for bug #18859: [DOGFOOD] URL bar messed up
Replaced all calls to SelectAllText() with calls to
nsIEditor::SelectAll().
r=jfrancis@netscape.com

(kin is the author of these changes - being checked in by reviewer)


git-svn-id: svn://10.0.0.236/trunk@54483 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-26 03:11:12 +00:00
vidur%netscape.com
29607952c0 Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
git-svn-id: svn://10.0.0.236/trunk@54457 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 00:05:21 +00:00
rods%netscape.com
a904db796a added back in the code that hook it up to the form for submission
r=kmcclusk bug 19546


git-svn-id: svn://10.0.0.236/trunk@54435 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 21:37:34 +00:00
rods%netscape.com
0ca8329bcb change to always check for upper case TEXT
r=kmccluck bug 19607


git-svn-id: svn://10.0.0.236/trunk@54432 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 21:24:06 +00:00
rods%netscape.com
daa6109f75 CheckIfAllFramesHere not actually check to see if all the frames are there
r=kmcclusk Bug 19949


git-svn-id: svn://10.0.0.236/trunk@54431 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 21:12:03 +00:00
rods%netscape.com
5466f34839 Add a check around the WipeContaingBlock call in ContentInserted, it checks for
the select and doesn't do it. Just like Bug 18366, r=kmcclusk Bug 19949


git-svn-id: svn://10.0.0.236/trunk@54430 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 21:10:49 +00:00
rods%netscape.com
17d3e898d7 when there is no value it gets the text for the butto from the egernated content
in all cases (not just when it is a submit or reset) r=kmcclusk bug 19607


git-svn-id: svn://10.0.0.236/trunk@54426 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 20:59:49 +00:00
rods%netscape.com
50d2a1f377 nsGfxListControl.cpp is now in the build
git-svn-id: svn://10.0.0.236/trunk@54425 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 20:56:05 +00:00
rods%netscape.com
1722fe906a fixed it up for the frame changes so it will compile
(not in build yet, because if it was tinderbox would be in flames)


git-svn-id: svn://10.0.0.236/trunk@54414 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 17:33:59 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
mjudge%netscape.com
4c7a925272 Fixing mac issue with selection dragging not working when above or below single line text. aka URL. mac has a different preference now. this may be done with look and feel object later. hyatt,cmanske(19191)
git-svn-id: svn://10.0.0.236/trunk@54354 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 01:10:22 +00:00
mjudge%netscape.com
93087b4bea missed a |= instead of just a ==. The compared variable is a bitflag not just a number.
git-svn-id: svn://10.0.0.236/trunk@54333 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 22:49:44 +00:00
kin%netscape.com
275e4a25ba Fix for bug #18092 which is a modified version of Kipp's fix for #1413 that
also fixes #18002, and #18006. nsContainerFrame::GetFrameForPointUsing() now
looks through any outside children even if it finds a normal child containing
aPoint.

r=joki@netscape.com


git-svn-id: svn://10.0.0.236/trunk@54322 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 22:05:05 +00:00
mjudge%netscape.com
43a63010d1 small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt?
git-svn-id: svn://10.0.0.236/trunk@54299 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 20:30:21 +00:00
rods%netscape.com
a6d7ccf209 removed return variable that wasn't used and its warning r=self
git-svn-id: svn://10.0.0.236/trunk@54282 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 14:21:03 +00:00
rods%netscape.com
d5f402d8c6 removed extra variable declaration and the warning
git-svn-id: svn://10.0.0.236/trunk@54281 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 14:20:17 +00:00
rods%netscape.com
94accb2fc7 fixed two warning r=me
git-svn-id: svn://10.0.0.236/trunk@54280 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 14:16:59 +00:00
tbogard%aol.net
80ea367e86 Changed the concept of the webshell holding an mChromeElement object to it holding a nsIChromeEventHandler interface. This is more generic and allows other apps to plugin nicer into the API.r=hyatt
git-svn-id: svn://10.0.0.236/trunk@54270 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 09:57:47 +00:00
tbogard%aol.net
5a58d9854e Enabled nsHTMLFrameElement and nsHTMLIFrameElement to implement the nsIChromeEventHandler interface. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@54269 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 09:42:49 +00:00
sfraser%netscape.com
d121ce38a0 #ifdef out all the stupid printfs. r=pinkerton, no bug.
git-svn-id: svn://10.0.0.236/trunk@54249 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 03:26:56 +00:00
nisheeth%netscape.com
4d096639bc r=karnaze. Fix for bug 18367. We set the primary frame for table rows to be the row frame for all cases now. Earlier, the anonymous table row group frame was getting set as the primary frame of rows inserted from script.
git-svn-id: svn://10.0.0.236/trunk@54239 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 02:06:39 +00:00
nhotta%netscape.com
c0d856f5bb Added error checking (result code and null pointer), bug 19469, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@54233 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:21:32 +00:00
pierre%netscape.com
cb816ff88c 8862 "listStyleImage not directly updated". Changing the className causes recreation of frames for the element. Suggested although not formally reviewed by vidur.
git-svn-id: svn://10.0.0.236/trunk@54232 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:08:44 +00:00
pierre%netscape.com
5814ba61a0 18285: crash on infoworld. When we append a change to the ChangeList, make sure we return its hint, especially if it's a HINT_REFLOW because the reflow may delete some frames that are referred to elsewhere in the ChangeList. r=troy.
git-svn-id: svn://10.0.0.236/trunk@54231 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:08:20 +00:00
pierre%netscape.com
47b0c08a9f 12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@54230 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:07:56 +00:00
pierre%netscape.com
4a74358841 12737: removed the 'moz-fixed' NavQuirk
git-svn-id: svn://10.0.0.236/trunk@54228 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:07:26 +00:00
pierre%netscape.com
35f41f6a1d 12520/12521 "GFX select elements need to be able to turn off text" turn off user selection inside the drop-down list. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@54227 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 01:05:45 +00:00
rpotts%netscape.com
818496052b Added a missing Release to prevent leaking a SupportsArrayEnumerator...
git-svn-id: svn://10.0.0.236/trunk@54223 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 00:59:41 +00:00
sfraser%netscape.com
1d2a704d20 Include stdio.h using system paths, not user paths. r=syd,akk, shaver. no bug (so bite me)
git-svn-id: svn://10.0.0.236/trunk@54213 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 23:46:30 +00:00
rods%netscape.com
14ecc50063 Added NavQuirks sizing for input button
git-svn-id: svn://10.0.0.236/trunk@54176 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 22:04:53 +00:00
rods%netscape.com
3593d7e84c Added NavQuirks sizing for buttons and hidden
git-svn-id: svn://10.0.0.236/trunk@54175 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 22:03:35 +00:00
rods%netscape.com
9a199b5e98 Added the correct fonts for submit,reset, input button.
set box-sizing for HTML 4 buttons
Set font in psuedo element for the input text
r=kmcclusk bug b=11285


git-svn-id: svn://10.0.0.236/trunk@54174 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 22:02:19 +00:00
kmcclusk%netscape.com
5461495672 Changed misspelled vertial-align to vertical-align for input[type=image]. bug=16370. r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54168 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 21:32:22 +00:00
jdunn%netscape.com
a81f697336 Adding newline which is required by HPUX
git-svn-id: svn://10.0.0.236/trunk@54154 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 19:34:18 +00:00
rickg%netscape.com
d5114737fd landing update for harishd r=rickg
git-svn-id: svn://10.0.0.236/trunk@54128 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 06:16:25 +00:00
rbs%maths.uq.edu.au
5753b4d3a0 Add hook for the mroot tag in the confined MathML world
git-svn-id: svn://10.0.0.236/trunk@54115 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-21 22:01:56 +00:00
troy%netscape.com
44bfa2d248 b=19280. Changed DeletingFrameSubtree() so it's order N instead of
N^2/2 in the worst case. This speeds things way up. Note that the real
problem here is that WipeContainingBlock() is repeatedly throwing away
and recreating the BODY element's frame and all its child frames


git-svn-id: svn://10.0.0.236/trunk@54092 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-21 04:06:44 +00:00
troy%netscape.com
01e5cb02a3 b=19416. Workaround for problem of combo box drop-down being displayed in
the wrong place sometimes


git-svn-id: svn://10.0.0.236/trunk@54041 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 06:03:16 +00:00
troy%netscape.com
07f4c06751 b=19374. Restored some code I unintentionaly removed in previous checkin.
Now after Reflow() of child frame "kidRect.width" and "kidRect.height" are
updated


git-svn-id: svn://10.0.0.236/trunk@54020 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 22:04:01 +00:00
rods%netscape.com
73b63eb2a5 added boolean in DoneAddingContent method
git-svn-id: svn://10.0.0.236/trunk@54013 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 16:09:32 +00:00
rods%netscape.com
28621261c8 added bool parm to is DoneAddinContent r=dcone bug 18241
git-svn-id: svn://10.0.0.236/trunk@54012 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 16:05:16 +00:00
rods%netscape.com
19bedc8578 added bool parm to is DoneAddinContent r=dcone bug 18241
git-svn-id: svn://10.0.0.236/trunk@54006 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:46:20 +00:00
rods%netscape.com
adb9c767ca remove SetMainChild
git-svn-id: svn://10.0.0.236/trunk@54005 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:45:55 +00:00