Граф коммитов

7475 Коммитов

Автор SHA1 Сообщение Дата
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
brendan%mozilla.org f3855ca6b0 - Doc-comments for nsIScriptContext methods I added or modified.
- Rename nsIScriptContext::CompileFunction to CompileEventHandler, and add BindCompiledEventHandler, to reflect function name restrictions and help brutal sharing.
- Add adjunct-interface nsIScriptEventHandlerOwner to nsIScriptObjectOwner.h; this interface is queried for by nsEventListenerManger.cpp to test and fill the XUL prototype event handler "cache".
- PR_LOG JS warnings, and look in javascript.options.{strict,werror} for those options.  
- Implement nsIScriptEventHandlerOwner in nsXULElement, keeping pointers to pre-compiled event handlers in nsXULPrototypeAttribute.
 
(bug 13218, r=waterson@netscape.com,vidur@netscape.com)
1999-12-03 03:40:30 +00:00
drapeau%eng.sun.com f0789172d2 Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
Build').  Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found.  The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.

r=drapeau@eng.sun.com.  Fix contributed by Jayashri Visvanathan
(visvan@eng.sun.com).
1999-12-03 00:26:09 +00:00
kmcclusk%netscape.com 85e3c0493a Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com 1999-12-03 00:06:32 +00:00
akkana%netscape.com 661f837d79 Forgot to add the idl file to the makefile 1999-12-02 22:36:34 +00:00
sfraser%netscape.com 3635577371 Add nsISelectionController.idl for akkana 1999-12-02 22:31:27 +00:00
sfraser%netscape.com 98de07bacc Add nsISelectionController.idl for akkana. 1999-12-02 22:31:17 +00:00
rods%netscape.com e7f6250c8b changed select:-moz-dropdown-list back to collapse from hidden, this works better in more cases
r=kmcclusk
1999-12-02 22:09:35 +00:00
rods%netscape.com 0874e74a36 clips inside the border instead of inside the border and padding
r=kmcclusk bug 20301
1999-12-02 22:07:43 +00:00
rods%netscape.com 8181190296 changing generated and psuedo content frames to inherit
r=kmcclusk bug 20301
1999-12-02 22:06:53 +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
saari%netscape.com 1779ba2e0e Adding new event state manager API GetFocusedEventTarget which returns the current frame in focus
regardless of the ESM instance you call it from. Editor guys need this for bug 20225
1999-12-02 20:55:17 +00:00
pierre%netscape.com bdddfbe53b 20042 "crash on www.netscape.com". Back out my change from v1.30 to fix a crash on InfoWorld which was caused by invalid html code and can no longer be reproduced with their current presentation. 1999-12-02 09:19:16 +00:00
sfraser%netscape.com 75d8b254fc Fix for another part of for 19954 -- convert textarea data to LF termination before saving frame state. r=pollman 1999-12-02 03:12:51 +00:00
sfraser%netscape.com f33fc0a9d5 Fix for 19954 -- convert form values to CRLF linebreaks when submitting forms. r=pollman 1999-12-02 03:11:38 +00:00
waterson%netscape.com 562bcab6b2 Bug 9489. Remove cliprect push/pop to decrease paint time on titledbuttons. The cliprect was not doing anything useful, and was costing about 36% of titledbutton paint time. r=hyatt 1999-12-02 02:50:29 +00:00
evaughan%netscape.com 5c9a818369 1) Added sanity checks to box to case memory bugs
2) Fixed the floating point roundoff that was causing boxes to lay themselves out off by 1 pixel
3) Simplified box data structure

-r Hyatt
1999-12-02 01:07:27 +00:00
troy%netscape.com 7ca374e1b7 b=20367, r=jinjin@pacbell.net. Changed ResizeReflow() so that if we skip
reflowing the table cell (that's an optimization we do) we make sure and
position any child views
1999-12-02 01:02:53 +00:00
sfraser%netscape.com 3cbb52af45 Part of fix for bug 16813 -- line termination problems with forms. r=pollman, rickg. 1999-12-01 23:05:58 +00:00
mcafee%netscape.com 42774e25f1 Fix for divide-by-zero case when encountering a zer-height rect. (20071) r=evaughan 1999-12-01 22:48:06 +00:00
danm%netscape.com a9db94dfe7 adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com 1999-12-01 22:35:33 +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
rods%netscape.com a8d4d5a0e6 changing "select:-moz-dropdown-list" to be hidden instead of collapse,
this works much better.
bug 19416 r=kmcclusk
1999-12-01 22:04:10 +00:00
pinkerton%netscape.com 2de81d4c63 correctly remove event listeners when frame goes away. fixes bug 19542, r=rjc 1999-12-01 22:02:33 +00:00
buster%netscape.com b527e5bb5e warning cleanup 1999-12-01 15:15:44 +00:00
buster%netscape.com 97c5a5fb1e bug 2253. added controller to html text input
r = kmcclusk
1999-12-01 15:12:49 +00:00
dcone%netscape.com 1ec73e897c Took out the clip for backgrounds.. not needed r=rods. bug=16685 1999-12-01 14:45:59 +00:00
hyatt%netscape.com 99d28e168d Prevent tree widget row groups from being added to the undisplayed content
map twice.
1999-12-01 11:13:06 +00:00
hyatt%netscape.com 0404f67bce Making a change to trees so that their inner frame is a box instead of a block. This
makes trees faster and bypasses numerous block bugs that occur when tables or trees
are used with boxes.  Also fixes bug #20354 (which is not a regression after all).
1999-12-01 10:37:20 +00:00
saari%netscape.com c882a84687 Fix for bug 18983, multiple carets showing up. R: shaver, a long time ago. I've since verified personally on linux and other platforms. 1999-12-01 09:09:46 +00:00
pierre%netscape.com 8599cb76a4 Backing-out previous change which had the effect of getting rid of the widgets for *all* fixed positioned elements. Removing widgets is a goal at term but it's something that we want to leave to the View Manager folk(s) or at least do in sync with them. 1999-12-01 05:10:50 +00:00
troy%netscape.com c86aebb168 Added XXX comment to remind me (and Chris) of a problem that needs to
be revisited
1999-12-01 04:50:26 +00:00
troy%netscape.com ba02c09ac3 Removed dead code 1999-12-01 04:18:20 +00:00
troy%netscape.com a43233ea1a Correctly this time 1999-12-01 04:13:19 +00:00
troy%netscape.com cfcb675bb4 Removed some commented out dead code 1999-12-01 04:12:46 +00:00
troy%netscape.com 53b3fe1d67 Removed some old dead code 1999-12-01 04:10:47 +00:00
pierre%netscape.com 537d50025c 18163 "Use of fixed positioning in style sheet corrupts display". Don't create empty widgets for fixed positioned elements in order to avoid problems in the View Manager (GetDrawingSurface) where we end up copying uninitialized bitmaps to the screen. The main reason for fixing the bug here instead of within the View Manager is that we'll get rid of widgets altogether over time. 1999-12-01 04:10:02 +00:00
waterson%netscape.com 272d842840 Bug 9489. Use nsAutoVoidArray for collecting classes to avoid excessive heap use. 1999-12-01 03:27:25 +00:00
sspitzer%netscape.com 9419807380 simple bullet proofing fix for #20423 1999-12-01 03:08:04 +00:00
rickg%netscape.com dada4270af added new color for CDATA in viewsource; r=none 1999-12-01 01:13:28 +00:00
pierre%netscape.com c96bf41683 12520 "GFX select elements need to be able to turn off text". Fixing previous checkins in nsFrame::DisplaySelection(): mUserSelect is not a bit field. 1999-11-30 23:31:16 +00:00
troy%netscape.com ef5dae52b1 b=20329. Fixed CleanupFrameReferences() so it isn't O(N!) 1999-11-30 23:23:50 +00:00
kin%netscape.com a3ccad5403 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
1999-11-30 23:18:47 +00:00
karnaze%netscape.com f0d160f9c7 new regression tests 1999-11-30 22:26:37 +00:00
ftang%netscape.com 606b96a9df fix bug 18398. Make sure the startOffset and textWidth get reset in the while loop 1999-11-30 22:16:12 +00:00
bryner%uiuc.edu c271bcbc40 Making a minor optimization for mousewheel scrolling on trees. r=shaver. 1999-11-30 22:00:28 +00:00
troy%netscape.com 40af4a9d1d Fixed compiler warning 1999-11-30 05:38:15 +00:00
troy%netscape.com 8d6fa574b2 b=20286. Changed PlaceFloater() so that it repositions any views after
placing the frame
1999-11-30 05:09:08 +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
troy%netscape.com 12f89b6912 Changes parameter to be "const nsRect*" and changed a comment 1999-11-30 04:48:34 +00:00