7599 Commits

Author SHA1 Message Date
rods%netscape.com
34b37eb441 adding :-moz-option-selected
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@55458 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:57:24 +00:00
jdunn%netscape.com
238cb44868 adding newline which is required on HP
git-svn-id: svn://10.0.0.236/trunk@55449 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:02:16 +00:00
kin%netscape.com
b61d6c2bdb Fix for bug #20524: [DOGFOOD] No Caret in Win32 Composer window
Made some modifications to nsEventStateManager::PreHandleEvent().
We now prevent setting of gLastFocusedContent when handling
NS_ACTIVATE. We now allow DOM focus notifications even when
we can't send a blur notification in NS_GOTFOCUS.
r=saari@netscape.com


git-svn-id: svn://10.0.0.236/trunk@55446 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 21:48:36 +00:00
kin%netscape.com
238a3616c4 Fix for bug #20106: [DOGFOOD] caret dissapears after some edit operations
Modified nsRangeList::GetFrameForNodeOffset() to handle case where aOffset
is >= to number of children.
r=mjudge@netscape.com


git-svn-id: svn://10.0.0.236/trunk@55438 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 20:10:18 +00:00
troy%netscape.com
52084caad8 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics


git-svn-id: svn://10.0.0.236/trunk@55424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 15:49:53 +00:00
nisheeth%netscape.com
f599ff75ef Enable save/restore for frame state.
git-svn-id: svn://10.0.0.236/trunk@55414 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 09:03:16 +00:00
nisheeth%netscape.com
3785d66606 Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
git-svn-id: svn://10.0.0.236/trunk@55409 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 07:44:18 +00:00
rods%netscape.com
a7d3631f72 now trims white space and makes sure the text is two spaces if empty
r=kmcclusk b=none


git-svn-id: svn://10.0.0.236/trunk@55384 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:48:37 +00:00
rods%netscape.com
1fa69507a8 was adding in the wrong border and padding for fixed width
r=self b 18448


git-svn-id: svn://10.0.0.236/trunk@55383 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:47:04 +00:00
rods%netscape.com
7a55d88518 removed the substraction of the border and padding for fixed width
r=kmcclusk b 18448


git-svn-id: svn://10.0.0.236/trunk@55382 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:45:58 +00:00
rods%netscape.com
dc5c34441e Added block mgr flag to combo and list frame and their internal SelectArea frame
r=(at troy's suggestion), bug 19382


git-svn-id: svn://10.0.0.236/trunk@55381 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:43:26 +00:00
rods%netscape.com
52cc20d7d0 Added a "flags" varaible for combobox creation
r=self, bug 19382


git-svn-id: svn://10.0.0.236/trunk@55380 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:43:19 +00:00
rods%netscape.com
c4e4448cdb Added a "flags" variable for combobox creation
also fixed a a small problem with border padding being added in for fixed size comboboxes
r=self,  bug 19382


git-svn-id: svn://10.0.0.236/trunk@55379 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:43:18 +00:00
hyatt%netscape.com
189360dda0 Making menu titles really crop.
git-svn-id: svn://10.0.0.236/trunk@55377 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:17:10 +00:00
hyatt%netscape.com
6663542fca Treecells can now have src set on them for images.
git-svn-id: svn://10.0.0.236/trunk@55365 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 09:21:25 +00:00
cls%seawood.org
7ae9896327 Added empty throw() on operator new so that gcc 2.95+ doesn't complain about returning NULL.
git-svn-id: svn://10.0.0.236/trunk@55350 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 07:29:35 +00:00
sspitzer%netscape.com
d3ad1a51a2 fix warnings, also use #ifdef NOISY instead of if (gNoisy).
why generate code you aren't going to execute?


git-svn-id: svn://10.0.0.236/trunk@55339 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 05:15:24 +00:00
hyatt%netscape.com
7e1bb9e358 No longer loading the global skin implicitly.
git-svn-id: svn://10.0.0.236/trunk@55336 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 05:13:55 +00:00
hyatt%netscape.com
3d70eed61d Removing build warnings.
git-svn-id: svn://10.0.0.236/trunk@55335 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 04:57:13 +00:00
hyatt%netscape.com
d7908baef5 Fix Linux bustage.
git-svn-id: svn://10.0.0.236/trunk@55328 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 02:24:02 +00:00
hyatt%netscape.com
3443fbb03c Fix Mac bustage.
git-svn-id: svn://10.0.0.236/trunk@55325 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 01:47:15 +00:00
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
joki%netscape.com
09db2943e9 Fix for bug 20663, mem leak in event listeners. r:beard
git-svn-id: svn://10.0.0.236/trunk@55319 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:40:05 +00:00
sspitzer%netscape.com
d53721b599 fix warning.
git-svn-id: svn://10.0.0.236/trunk@55313 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 21:37:38 +00:00
joki%netscape.com
46824fda78 Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55265 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 02:22:21 +00:00
pierre%netscape.com
9d454dc56b 20260 "html.css: <sup> and <sub>.elements need explict line-height". Fix from Ian Hickson <py8ieh=bugzilla@bath.ac.uk>.
git-svn-id: svn://10.0.0.236/trunk@55263 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 02:05:18 +00:00
vidur%netscape.com
a68ed6e2a5 For bug 17325. Changed signature of css loader methods. R=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@55253 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:29:18 +00:00
vidur%netscape.com
4662ada89f For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@55252 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:27:46 +00:00
vidur%netscape.com
6eb67e93bd For bug 17325: Added nsICSSLoaderObserver as a way to see when style sheets complete loading. r=pierre.
git-svn-id: svn://10.0.0.236/trunk@55251 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:27:14 +00:00
tbogard%aol.net
067920c238 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.


git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
brendan%mozilla.org
4ccbd4b644 - 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)


git-svn-id: svn://10.0.0.236/trunk@55157 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 03:40:30 +00:00
drapeau%eng.sun.com
1cd55fd548 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).


git-svn-id: svn://10.0.0.236/trunk@55129 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:26:09 +00:00
kmcclusk%netscape.com
d3a24645a8 Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55120 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:06:32 +00:00
akkana%netscape.com
87d7b8f23c Forgot to add the idl file to the makefile
git-svn-id: svn://10.0.0.236/trunk@55100 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:36:34 +00:00
sfraser%netscape.com
7fb638c5fe Add nsISelectionController.idl for akkana
git-svn-id: svn://10.0.0.236/trunk@55098 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:31:27 +00:00
sfraser%netscape.com
ad4471e3c6 Add nsISelectionController.idl for akkana.
git-svn-id: svn://10.0.0.236/trunk@55097 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:31:17 +00:00
rods%netscape.com
c75ec68d38 changed select:-moz-dropdown-list back to collapse from hidden, this works better in more cases
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@55093 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:09:35 +00:00
rods%netscape.com
9f71844e59 clips inside the border instead of inside the border and padding
r=kmcclusk bug 20301


git-svn-id: svn://10.0.0.236/trunk@55091 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:07:43 +00:00
rods%netscape.com
6f46990bc8 changing generated and psuedo content frames to inherit
r=kmcclusk bug 20301


git-svn-id: svn://10.0.0.236/trunk@55090 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:06:53 +00:00
akkana%netscape.com
f6184abf8e 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


git-svn-id: svn://10.0.0.236/trunk@55083 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:45:21 +00:00
saari%netscape.com
de3e84d435 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


git-svn-id: svn://10.0.0.236/trunk@55078 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 20:55:17 +00:00
pierre%netscape.com
c7a56395b0 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.
git-svn-id: svn://10.0.0.236/trunk@55057 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:19:16 +00:00
sfraser%netscape.com
d809f93363 Fix for another part of for 19954 -- convert textarea data to LF termination before saving frame state. r=pollman
git-svn-id: svn://10.0.0.236/trunk@55011 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:12:51 +00:00
sfraser%netscape.com
24d4124fee Fix for 19954 -- convert form values to CRLF linebreaks when submitting forms. r=pollman
git-svn-id: svn://10.0.0.236/trunk@55009 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:11:38 +00:00
waterson%netscape.com
3db2b20a4c 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
git-svn-id: svn://10.0.0.236/trunk@55004 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 02:50:29 +00:00
evaughan%netscape.com
14bd190690 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


git-svn-id: svn://10.0.0.236/trunk@54980 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 01:07:27 +00:00
troy%netscape.com
3123910725 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


git-svn-id: svn://10.0.0.236/trunk@54977 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 01:02:53 +00:00
sfraser%netscape.com
fc3e089fe6 Part of fix for bug 16813 -- line termination problems with forms. r=pollman, rickg.
git-svn-id: svn://10.0.0.236/trunk@54959 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 23:05:58 +00:00
mcafee%netscape.com
b7c344e758 Fix for divide-by-zero case when encountering a zer-height rect. (20071) r=evaughan
git-svn-id: svn://10.0.0.236/trunk@54955 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:48:06 +00:00
danm%netscape.com
9bfb5a41b9 adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@54950 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:35:33 +00:00