rbs@maths.uq.edu.au
4dbee6da31
Catch up with recentchanges in layout
1999-11-25 07:07:06 +00:00
norris@netscape.com
b84f4e2755
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
1999-11-25 05:28:18 +00:00
shaver@netscape.com
8f1c54fb00
use explicit |.get()| for Unix compilers, a=leaf
1999-11-25 01:02:52 +00:00
vidur@netscape.com
91ec5e1e27
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
1999-11-25 00:05:21 +00:00
rods@netscape.com
4bb45cec53
added back in the code that hook it up to the form for submission
...
r=kmcclusk bug 19546
1999-11-24 21:37:34 +00:00
rods@netscape.com
fe68828b2c
change to always check for upper case TEXT
...
r=kmccluck bug 19607
1999-11-24 21:24:06 +00:00
rods@netscape.com
313a3b5799
CheckIfAllFramesHere not actually check to see if all the frames are there
...
r=kmcclusk Bug 19949
1999-11-24 21:12:03 +00:00
rods@netscape.com
6f9bb1c25a
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
1999-11-24 21:10:49 +00:00
rods@netscape.com
0437048c61
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
1999-11-24 20:59:49 +00:00
rods@netscape.com
bca1448d3f
nsGfxListControl.cpp is now in the build
1999-11-24 20:56:05 +00:00
rods@netscape.com
59d7faf2ad
fixed it up for the frame changes so it will compile
...
(not in build yet, because if it was tinderbox would be in flames)
1999-11-24 17:33:59 +00:00
tbogard@aol.net
617bb737a6
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
mjudge@netscape.com
fc88b86e04
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)
1999-11-24 01:10:22 +00:00
waqar@netscape.com
d0ace1ed9c
# 15904, 19582
...
r vidur@netscape.com
d Fixes the problem with memory leak in AppendData node when manipulating
comment nodes.
1999-11-23 23:13:03 +00:00
mjudge@netscape.com
a10c0375d6
missed a |= instead of just a ==. The compared variable is a bitflag not just a number.
1999-11-23 22:49:44 +00:00
alecf@netscape.com
8a987d0692
fix for #16929
...
nuke the scrollbar whenever the total rows is less than the visible rows. This prevents the scrollbar from disappearing under you if you scroll up after many rows have been deleted (such as collapsing folders in mail)
r=hyatt
1999-11-23 22:05:19 +00:00
kin@netscape.com
0752c93eab
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
1999-11-23 22:05:05 +00:00
dcone@netscape.com
97da9a766f
Initialize the mEnableRendering in other constructor... so print preview will show document. r=rods
1999-11-23 21:45:36 +00:00
mjudge@netscape.com
5fb61f40e8
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?
1999-11-23 20:30:21 +00:00
rods@netscape.com
d3e1705809
removed return variable that wasn't used and its warning r=self
1999-11-23 14:21:03 +00:00
rods@netscape.com
ac1ddc32a2
removed extra variable declaration and the warning
1999-11-23 14:20:17 +00:00
rods@netscape.com
2137f8f3a1
fixed two warning r=me
1999-11-23 14:16:59 +00:00
tbogard@aol.net
947bea1d58
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
1999-11-23 09:57:47 +00:00
tbogard@aol.net
0dcd2a9787
Enabled nsHTMLFrameElement and nsHTMLIFrameElement to implement the nsIChromeEventHandler interface. r=hyatt
1999-11-23 09:42:49 +00:00
warren@netscape.com
dacc8bbfb9
Minor cleanup.
1999-11-23 07:05:53 +00:00
rbs@maths.uq.edu.au
e6c1ad04e5
Consolidation of the code and efficient trimming of msqrt by delagating a big chunk of the reflow operation to the base class.
1999-11-23 06:04:02 +00:00
sfraser@netscape.com
f0b51a43cd
#ifdef out all the stupid printfs. r=pinkerton, no bug.
1999-11-23 03:26:56 +00:00
saari@netscape.com
16f0980338
Popup menu positioning code. R: Hyatt
1999-11-23 03:02:01 +00:00
nisheeth@netscape.com
dcf496222e
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.
1999-11-23 02:06:39 +00:00
nhotta@netscape.com
93d40cdf05
Added error checking (result code and null pointer), bug 19469, r=ftang.
1999-11-23 01:21:32 +00:00
pierre@netscape.com
89f1eaf0a5
8862 "listStyleImage not directly updated". Changing the className causes recreation of frames for the element. Suggested although not formally reviewed by vidur.
1999-11-23 01:08:44 +00:00
pierre@netscape.com
d815fcec1d
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.
1999-11-23 01:08:20 +00:00
pierre@netscape.com
238b79536a
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.
1999-11-23 01:07:56 +00:00
pierre@netscape.com
abaf4ebf0a
12737: removed the 'moz-fixed' NavQuirk
1999-11-23 01:07:26 +00:00
pierre@netscape.com
37418c4758
12520/12521 "GFX select elements need to be able to turn off text" turn off user selection inside the drop-down list. r=mjudge.
1999-11-23 01:05:45 +00:00
rpotts@netscape.com
f7a527c3c9
Added a missing Release to prevent leaking a SupportsArrayEnumerator...
1999-11-23 00:59:41 +00:00
sfraser@netscape.com
21cdb284d4
Include stdio.h using system paths, not user paths. r=syd,akk, shaver. no bug (so bite me)
1999-11-22 23:46:30 +00:00
pinkerton@netscape.com
a770e977f3
First Checked In.
1999-11-22 22:30:12 +00:00
pinkerton@netscape.com
07a4d2af9b
First Checked In.
1999-11-22 22:23:08 +00:00
rods@netscape.com
81a7878fae
Added NavQuirks sizing for input button
1999-11-22 22:04:53 +00:00
rods@netscape.com
eec62689c5
Added NavQuirks sizing for buttons and hidden
1999-11-22 22:03:35 +00:00
rods@netscape.com
d727c811c9
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
1999-11-22 22:02:19 +00:00
kmcclusk@netscape.com
6d299d9497
Changed misspelled vertial-align to vertical-align for input[type=image]. bug=16370. r=rods@netscape.com
1999-11-22 21:32:22 +00:00
joki@netscape.com
167b10fce3
Fix for 17683, add key events for alt+numpad character generation. r:vidur
1999-11-22 19:45:13 +00:00
jdunn@netscape.com
4a7ac0642a
Adding newline which is required by HPUX
1999-11-22 19:34:18 +00:00
rbs@maths.uq.edu.au
37eb6707ae
Code to render the mroot tag.
1999-11-22 12:35:36 +00:00
rbs@maths.uq.edu.au
f50c1e71ed
Added a control statement to avoid doing work that will lead nowhere.
1999-11-22 08:42:20 +00:00
rbs@maths.uq.edu.au
1e88715290
Added a control statement to avoid doing work that will lead nowhere.
1999-11-22 08:20:50 +00:00
tbogard@aol.net
d25fa870b5
Adding nsIChromeEventHandler.idl to the build. r=hyatt
1999-11-22 08:03:54 +00:00
tbogard@aol.net
8092613c89
First check-in.... Defining nsIChromeEventHandler interface for use to make the mChromeElement event firing generic. r=hyatt
1999-11-22 08:02:28 +00:00