tbogard%aol.net
648ace3e23
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
akkana%netscape.com
796735bcbd
18046: IDL implementation of nsISelectionController from sford4@netscape.net,
...
and the infrastructure to hook it up.
This also changes the spelling from nsISelectionControler. r=mjudge
1999-12-02 21:45:21 +00:00
norris%netscape.com
afb1f1e1e3
Fix
...
20257 unable to edit existing images in editor due to JS error
19933 JavaScript "window.location" core dumps in CAPS
Back out previous changes for enforcing security on listeners and go with a
simple restriction of access to the method for adding listeners.
r=mstoltz
1999-12-01 22:23:22 +00:00
warren%netscape.com
a265a32348
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
waterson%netscape.com
71fff2e1d9
Fix RemoveStyleSheet() per pierre's comments.
1999-11-30 04:33:28 +00:00
dougt%netscape.com
1da7d3868d
fix for 18078. r=mstoltz,warren
1999-11-30 00:32:43 +00:00
hyatt%netscape.com
c07e825ba9
Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson
1999-11-29 22:15:07 +00:00
norris%netscape.com
b62c04253e
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
2d28223caa
use explicit |.get()| for Unix compilers, a=leaf
1999-11-25 01:02:52 +00:00
vidur%netscape.com
c49c6f4ec1
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
tbogard%aol.net
a0640b60c4
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
waqar%netscape.com
52d9849fb5
# 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
dcone%netscape.com
87afdfc5ad
Initialize the mEnableRendering in other constructor... so print preview will show document. r=rods
1999-11-23 21:45:36 +00:00
pierre%netscape.com
c1abaa96a5
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
buster%netscape.com
814ee271ad
fixed bug 19381. previously, I had added 2 interfaces onto this class, but I
...
forgot to add those classes in the QueryInterface method. god, i wish we
had a macro for that!
r=kmcclusk. thanks, kevin
1999-11-19 21:33:21 +00:00
buster%netscape.com
5e269fcf05
moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
...
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
norris%netscape.com
411aade911
* Fix 12124 [DOGFOOD] Reading user's preferences
...
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
tbogard%aol.net
50379d48b1
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
1999-11-15 22:17:54 +00:00
tbogard%aol.net
425a1fb90f
Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov
1999-11-14 10:12:21 +00:00
rickg%netscape.com
3a651edc56
force rebuild of this file
1999-11-14 08:41:36 +00:00
beard%netscape.com
54792d43d1
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
1999-11-14 02:51:25 +00:00
law%netscape.com
346061bc84
Fix bustage by backing out some CallQueryInterface calls (for Travis); r=travis@netscape.com
1999-11-13 08:20:53 +00:00
tbogard%aol.net
ea837f023a
Changed storage of of the container to hold simply nsISupports as the mContainer instead of nsIContentViewerContainer. Changed calls to QueryCapability to use the nsIInterfaceRequestor::GetInterface(). r=scc
1999-11-13 07:36:28 +00:00
buster%netscape.com
e5ea329a29
removed a bogus assert.
1999-11-11 22:24:19 +00:00
jdunn%netscape.com
8dc361fd80
removing ';' from the end of the macros, since the macro in nsTimer.h
...
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
waqar%netscape.com
fda217b0f1
# 16610
...
r vidur
d Javascript should throw an execption on index size error. DOM now throws
an execption for size error.
1999-11-11 01:48:25 +00:00
waqar%netscape.com
897e3625ed
# 6071, 15904
...
r vidur
d Fixes the problem with comment delimiters.
1999-11-11 01:28:32 +00:00
nisheeth%netscape.com
6a7c8adf6c
a=sdagley. Move over to new timing macros...
1999-11-10 03:41:09 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
joki%netscape.com
bd3ab57a91
Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur
1999-11-05 23:37:40 +00:00
akkana%netscape.com
2274aa9a8f
Part of bratell@lysator.liu.se's fix to the nsHTMLToTXTSinkStream. r=akkana
1999-11-03 03:08:04 +00:00
cls%seawood.org
14ef08310e
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com
7c3c6240fe
Added address information to the dump content diagnostic code
1999-11-01 15:23:06 +00:00
jfrancis%netscape.com
307ac216f2
fix for bugs: 16724, 16855; r=sfraser
1999-11-01 15:15:56 +00:00
mjudge%netscape.com
3aec561aba
reviewed by hyatt bug of someone elses but in my code. dont know number. simple check for null
1999-10-29 23:12:44 +00:00
braddr%puremagic.com
d92727dc68
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
...
r=scc
1999-10-28 03:16:48 +00:00
kipp%netscape.com
0c6d8445a7
r=troy; fixed bug #17346 - the nsTextFormatter self test code found a bug in the nsTextFragment ctor code...
1999-10-27 23:01:16 +00:00
braddr%puremagic.com
b49b3dbdce
Ooops.. tree closed, better back these out for now. Sorry.
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
b2ea5b4c45
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
...
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
waqar%netscape.com
e9ff1627d1
# 15904
...
r vidur
d fixes a problem where first character of the comment was being destroyed.
1999-10-26 01:30:55 +00:00
kin%netscape.com
bb3caa6434
Fix for bug #16701 : Editor API Log playback of Insert HRule crashes in DOM code
...
and bug #16848 : DOM Crash
- Removed extra NS_RELEASE(attrPrivate) call that was releasing
attrPrivate one too many times, and causing nsDOMAttributeMap::SetNamedItem() to crash.
r=vidur@netscape.com
1999-10-25 14:15:34 +00:00
mjudge%netscape.com
3d3eb16f9a
massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me
1999-10-22 00:19:18 +00:00
jst%citec.fi
fc1c8f3ca2
Make printing use only enabled stylesheets. No bug, r=kipp@netscape.com and dcone@netscape.com.
1999-10-21 22:20:37 +00:00
kipp%netscape.com
8ea39cafa7
Use nsTextContentChangeData to pass down to the reflow logic the effect on the text
1999-10-21 20:40:51 +00:00
kipp%netscape.com
70376de659
new file for text reflow optimiziation
1999-10-21 20:40:25 +00:00
kipp%netscape.com
6485ca4fb3
r=troy; Added nsITextContetChangeData to help optimize modifications of large text elements
1999-10-21 20:22:02 +00:00
akkana%netscape.com
c17c0e1ed8
15777: Don't declare the same function-static symbol twice in the same file, because some versions of gcc can't deal with it. r=mcafee
1999-10-20 20:20:38 +00:00
nisheeth%netscape.com
f485a1ad04
Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
1999-10-19 22:27:20 +00:00
akkana%netscape.com
f4660ce231
Remove two ifdef DEBUG_akkana lines that were left in when someone
...
changed the implementation of ConvertContentToXIF, so that I can
compile again. This won't affect anyone but me. r=kipp
1999-10-18 19:01:56 +00:00