rickg%netscape.com
46b9d23028
added new color for CDATA in viewsource; r=none
...
git-svn-id: svn://10.0.0.236/trunk@54839 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 01:13:28 +00:00
pierre%netscape.com
2af3ff840a
12520 "GFX select elements need to be able to turn off text". Fixing previous checkins in nsFrame::DisplaySelection(): mUserSelect is not a bit field.
...
git-svn-id: svn://10.0.0.236/trunk@54811 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:31:16 +00:00
troy%netscape.com
ed6fcf8e88
b=20329. Fixed CleanupFrameReferences() so it isn't O(N!)
...
git-svn-id: svn://10.0.0.236/trunk@54808 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:23:50 +00:00
kin%netscape.com
6cc5706528
Fix for bug #20107 [DOGFOOD] typing in the body causes body to scroll to top
...
and bug #19541 [DOGFOOD] Browser jumps to top of page seconds after
scrolling down
Modified nsScrollPortFrame::Reflow() to pass NS_FRAME_NO_MOVE_VIEW when
reflowing it's kidFrame.
r=evaughan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54806 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 23:18:47 +00:00
karnaze%netscape.com
86e6b675b0
new regression tests
...
git-svn-id: svn://10.0.0.236/trunk@54786 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:26:37 +00:00
ftang%netscape.com
fd45ea4f85
fix bug 18398. Make sure the startOffset and textWidth get reset in the while loop
...
git-svn-id: svn://10.0.0.236/trunk@54777 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:16:12 +00:00
bryner%uiuc.edu
6e5ee99738
Making a minor optimization for mousewheel scrolling on trees. r=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@54767 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:00:28 +00:00
troy%netscape.com
e1ca6b4aeb
Fixed compiler warning
...
git-svn-id: svn://10.0.0.236/trunk@54726 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 05:38:15 +00:00
troy%netscape.com
64a7b56d5e
b=20286. Changed PlaceFloater() so that it repositions any views after
...
placing the frame
git-svn-id: svn://10.0.0.236/trunk@54723 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 05:09:08 +00:00
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
troy%netscape.com
42c75ca193
Changes parameter to be "const nsRect*" and changed a comment
...
git-svn-id: svn://10.0.0.236/trunk@54720 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:48:34 +00:00
waterson%netscape.com
5b5c83c2d3
Fix RemoveStyleSheet() per pierre's comments.
...
git-svn-id: svn://10.0.0.236/trunk@54718 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:33:28 +00:00
waterson%netscape.com
a2b3fa347d
Don't re-create atom over and over. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@54692 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 01:13:36 +00:00
waterson%netscape.com
7e8ab58db1
Avoid excessive updates by conditioning on attribute that changed. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@54662 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:55:59 +00:00
waterson%netscape.com
e04535a449
Add 'indent' atom. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@54661 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:55:14 +00:00
waterson%netscape.com
a6f93c39c3
Add focus pseudo-class atoms. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@54660 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:54:45 +00:00
waterson%netscape.com
a62fed42a4
Tree scrolling improvements. Avoid string twiddling in CreateAnonymousTreeCellFrames. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@54659 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:53:41 +00:00
dougt%netscape.com
0c53e29d87
fix for 18078. r=mstoltz,warren
...
git-svn-id: svn://10.0.0.236/trunk@54648 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:32:43 +00:00
nisheeth%netscape.com
9c5972cc6e
Fix for bug 20194. r=beard. Thank to Patrick Beard for finding this leak in CaptureFrameStateFor().
...
git-svn-id: svn://10.0.0.236/trunk@54642 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:17:40 +00:00
selmer%netscape.com
8c416d926e
Include rowIndex test
...
git-svn-id: svn://10.0.0.236/trunk@54631 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 23:59:28 +00:00
selmer%netscape.com
992d99ef43
New test for moving rows via rowIndex assignment in javascript
...
git-svn-id: svn://10.0.0.236/trunk@54630 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 23:58:37 +00:00
valeski%netscape.com
8271d7284a
r=travis. 20135. we were clipping the rightmost digit of the seconds field in a refresh header attribute (thus losing a factor of 10 in refresh timer timeout).
...
git-svn-id: svn://10.0.0.236/trunk@54626 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 23:02:14 +00:00
waterson%netscape.com
c439c8fcbb
Fix incorrect use of dont_QueryInterface() in PreHandleEvent() that was leaking.
...
git-svn-id: svn://10.0.0.236/trunk@54623 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:47:39 +00:00
hyatt%netscape.com
3f8b94159a
Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@54608 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:15:07 +00:00
valeski%netscape.com
cbd0bdfa96
r=vidur. 18889. PNG images weren't being registered (x-png that is) for viewing by layout, now they are
...
git-svn-id: svn://10.0.0.236/trunk@54607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:14:32 +00:00
brendan%mozilla.org
eee1a99532
Use nsAutoString for local strings (r=vidur@netscape.com).
...
git-svn-id: svn://10.0.0.236/trunk@54591 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 21:15:42 +00:00
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
sspitzer%netscape.com
ccdb1964d1
fix warnings
...
git-svn-id: svn://10.0.0.236/trunk@54572 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 20:40:39 +00:00
brendan%mozilla.org
96b0c7d20d
Whitespace/comment police.
...
git-svn-id: svn://10.0.0.236/trunk@54533 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 10:32:13 +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
rbs%maths.uq.edu.au
77f37dc003
Catch up with recentchanges in layout
...
git-svn-id: svn://10.0.0.236/trunk@54479 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 07:07:06 +00:00
norris%netscape.com
2429ef124a
Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
...
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.
I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.
Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.
r=joki
There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.
r=jband
git-svn-id: svn://10.0.0.236/trunk@54477 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 05:28:18 +00:00
shaver%netscape.com
fa23ac7310
use explicit |.get()| for Unix compilers, a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@54469 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-25 01:02:52 +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
waqar%netscape.com
b0564cd829
# 15904, 19582
...
r vidur@netscape.com
d Fixes the problem with memory leak in AppendData node when manipulating
comment nodes.
git-svn-id: svn://10.0.0.236/trunk@54337 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 23:13:03 +00:00