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

7690 Коммитов

Автор SHA1 Сообщение Дата
hyatt%netscape.com 9b4265b345 Treecells can now have src set on them for images. 1999-12-05 09:21:25 +00:00
cls%seawood.org 4199ed0d8d Added empty throw() on operator new so that gcc 2.95+ doesn't complain about returning NULL. 1999-12-05 07:29:35 +00:00
sspitzer%netscape.com fe57494f11 fix warnings, also use #ifdef NOISY instead of if (gNoisy).
why generate code you aren't going to execute?
1999-12-05 05:15:24 +00:00
hyatt%netscape.com 38949ea8be No longer loading the global skin implicitly. 1999-12-05 05:13:55 +00:00
hyatt%netscape.com 0d069a5c8c Removing build warnings. 1999-12-05 04:57:13 +00:00
hyatt%netscape.com 260d64f5fc Fix Linux bustage. 1999-12-05 02:24:02 +00:00
hyatt%netscape.com 837e352c95 Fix Mac bustage. 1999-12-05 01:47:15 +00:00
hyatt%netscape.com 16a944a1e3 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
joki%netscape.com c68fbf669c Fix for bug 20663, mem leak in event listeners. r:beard 1999-12-04 23:40:05 +00:00
sspitzer%netscape.com 729304919b fix warning. 1999-12-04 21:37:38 +00:00
joki%netscape.com 805ffa761a Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com 1999-12-04 02:22:21 +00:00
pierre%netscape.com 697b6e0aae 20260 "html.css: <sup> and <sub>.elements need explict line-height". Fix from Ian Hickson <py8ieh=bugzilla@bath.ac.uk>. 1999-12-04 02:05:18 +00:00
vidur%netscape.com a90864f224 For bug 17325. Changed signature of css loader methods. R=nisheeth. 1999-12-04 01:29:18 +00:00
vidur%netscape.com 7261da2144 For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth. 1999-12-04 01:27:46 +00:00
vidur%netscape.com 1c8159ed5e For bug 17325: Added nsICSSLoaderObserver as a way to see when style sheets complete loading. r=pierre. 1999-12-04 01:27:14 +00:00
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
waterson%netscape.com 71fff2e1d9 Fix RemoveStyleSheet() per pierre's comments. 1999-11-30 04:33:28 +00:00
waterson%netscape.com cce2fc3cb5 Don't re-create atom over and over. r=hyatt 1999-11-30 01:13:36 +00:00
waterson%netscape.com c92f557c6b Avoid excessive updates by conditioning on attribute that changed. r=hyatt 1999-11-30 00:55:59 +00:00
waterson%netscape.com 814980aba6 Add 'indent' atom. r=hyatt 1999-11-30 00:55:14 +00:00
waterson%netscape.com 9d7fd822f9 Add focus pseudo-class atoms. r=hyatt 1999-11-30 00:54:45 +00:00
waterson%netscape.com 489b7f533f Tree scrolling improvements. Avoid string twiddling in CreateAnonymousTreeCellFrames. r=hyatt 1999-11-30 00:53:41 +00:00
dougt%netscape.com 1da7d3868d fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
nisheeth%netscape.com bd76892ca0 Fix for bug 20194. r=beard. Thank to Patrick Beard for finding this leak in CaptureFrameStateFor(). 1999-11-30 00:17:40 +00:00
selmer%netscape.com 6eb2058be8 Include rowIndex test 1999-11-29 23:59:28 +00:00
selmer%netscape.com ef134cddbd New test for moving rows via rowIndex assignment in javascript 1999-11-29 23:58:37 +00:00
valeski%netscape.com 765e77e708 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). 1999-11-29 23:02:14 +00:00
waterson%netscape.com 04b634654b Fix incorrect use of dont_QueryInterface() in PreHandleEvent() that was leaking. 1999-11-29 22:47:39 +00:00
hyatt%netscape.com c07e825ba9 Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson 1999-11-29 22:15:07 +00:00
valeski%netscape.com 5781ae85d3 r=vidur. 18889. PNG images weren't being registered (x-png that is) for viewing by layout, now they are 1999-11-29 22:14:32 +00:00
brendan%mozilla.org b05bdb027a Use nsAutoString for local strings (r=vidur@netscape.com). 1999-11-29 21:15:42 +00:00
brendan%mozilla.org 6fd322ea4b Fix refcnt underflow bug, defend against null myObj (r=vidur@netscape.com). 1999-11-29 20:44:36 +00:00
sspitzer%netscape.com 98214e5d2c fix warnings 1999-11-29 20:40:39 +00:00
brendan%mozilla.org 118bd6c79b Whitespace/comment police. 1999-11-28 10:32:13 +00:00
warren%netscape.com 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tor%cs.brown.edu 7cd3eedd8e Build bustage fix for gcc 2.7 & vc5 - include class interface
before playing with nsCOMPtr. r=travis@aol.net,a=dmose@mozilla.org
1999-11-27 05:05:14 +00:00
tbogard%aol.net 6b691a608e 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. 1999-11-27 03:23:43 +00:00
tbogard%aol.net 78a1aecb74 nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. 1999-11-27 03:11:10 +00:00
tbogard%aol.net 4f8eb9b94c 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. 1999-11-27 03:06:59 +00:00
shaver%netscape.com 506027739d 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>.
1999-11-26 05:33:35 +00:00
jfrancis%netscape.com 5276bfad3a 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) 1999-11-26 03:11:12 +00:00
rbs%maths.uq.edu.au 66cbaed262 Catch up with recentchanges in layout 1999-11-25 07:07:06 +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
rods%netscape.com 4f976a7098 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 c5c9a1f829 change to always check for upper case TEXT
r=kmccluck bug 19607
1999-11-24 21:24:06 +00:00
rods%netscape.com 8718dcf0dc 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 70fda8cdbe 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 b223674e45 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 20b772ca31 nsGfxListControl.cpp is now in the build 1999-11-24 20:56:05 +00:00
rods%netscape.com b209b3ebc0 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 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
mjudge%netscape.com a7cd9f0066 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 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
mjudge%netscape.com 22011f00ad 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 7fc5cd8f53 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 bc173ec910 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 87afdfc5ad 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 59b8ea67f0 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 b85ae7a27b removed return variable that wasn't used and its warning r=self 1999-11-23 14:21:03 +00:00
rods%netscape.com 9a7253aa22 removed extra variable declaration and the warning 1999-11-23 14:20:17 +00:00
rods%netscape.com 54cec9b893 fixed two warning r=me 1999-11-23 14:16:59 +00:00
tbogard%aol.net 82bc6d307b 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 d2e8fb3305 Enabled nsHTMLFrameElement and nsHTMLIFrameElement to implement the nsIChromeEventHandler interface. r=hyatt 1999-11-23 09:42:49 +00:00
warren%netscape.com a4e7d3e5e4 Minor cleanup. 1999-11-23 07:05:53 +00:00
rbs%maths.uq.edu.au 112358a896 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 a3a45cef6a #ifdef out all the stupid printfs. r=pinkerton, no bug. 1999-11-23 03:26:56 +00:00
saari%netscape.com cde3c865fd Popup menu positioning code. R: Hyatt 1999-11-23 03:02:01 +00:00
nisheeth%netscape.com 428bdc53fa 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 555d88f819 Added error checking (result code and null pointer), bug 19469, r=ftang. 1999-11-23 01:21:32 +00:00
pierre%netscape.com aa0d959a1e 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 902308261c 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 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
pierre%netscape.com 632ed6e972 12737: removed the 'moz-fixed' NavQuirk 1999-11-23 01:07:26 +00:00
pierre%netscape.com eeb8cc26e9 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 312f6cf2c3 Added a missing Release to prevent leaking a SupportsArrayEnumerator... 1999-11-23 00:59:41 +00:00
sfraser%netscape.com a84d04a846 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 daac2980dd First Checked In. 1999-11-22 22:30:12 +00:00
pinkerton%netscape.com 3de07b0c95 First Checked In. 1999-11-22 22:23:08 +00:00
rods%netscape.com 73bdbaa898 Added NavQuirks sizing for input button 1999-11-22 22:04:53 +00:00
rods%netscape.com adfc214399 Added NavQuirks sizing for buttons and hidden 1999-11-22 22:03:35 +00:00
rods%netscape.com 713ee167be 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 fab7ff02c4 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 e3b049c197 Fix for 17683, add key events for alt+numpad character generation. r:vidur 1999-11-22 19:45:13 +00:00
jdunn%netscape.com 3ca9e560df Adding newline which is required by HPUX 1999-11-22 19:34:18 +00:00
rbs%maths.uq.edu.au 4ebb9e5857 Code to render the mroot tag. 1999-11-22 12:35:36 +00:00
rbs%maths.uq.edu.au 034dc949dd 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 a445b590cf Added a control statement to avoid doing work that will lead nowhere. 1999-11-22 08:20:50 +00:00
tbogard%aol.net c4add5a50f Adding nsIChromeEventHandler.idl to the build. r=hyatt 1999-11-22 08:03:54 +00:00
tbogard%aol.net e400e4fc83 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
rickg%netscape.com 6b913476ab landing update for harishd r=rickg 1999-11-22 06:16:25 +00:00
rbs%maths.uq.edu.au 4613d695a8 Catch up with recent changes in layout. 1999-11-22 03:29:14 +00:00
rbs%maths.uq.edu.au 42b105a390 Now make mroot part of the mathml build. 1999-11-21 22:27:21 +00:00
rbs%maths.uq.edu.au ffa6ff34e6 Code to support the mfenced tag. 1999-11-21 22:16:47 +00:00
rbs%maths.uq.edu.au df5fa8c5b8 Minor cleanup and Fixed a regression introduced by the consolidation of the code in nsMathMLChar. 1999-11-21 22:15:17 +00:00
rbs%maths.uq.edu.au 99bb1fd916 Consolidation of the code. Stretchy painting in horizontal direction and vertical direction and now treated with separate functions, yielding to improved readability. 1999-11-21 22:10:45 +00:00
rbs%maths.uq.edu.au ae53c2182e Added factory function for the mroot tag and did a minor clean up 1999-11-21 22:05:15 +00:00
rbs%maths.uq.edu.au c1086c2ca4 Add hook for the mroot tag in the confined MathML world 1999-11-21 22:01:56 +00:00
rbs%maths.uq.edu.au 7f73b51124 Added three atoms: open, close, separators. These are the attributes of mfenced 1999-11-21 21:37:25 +00:00
troy%netscape.com d9d5304d3b b=19280. Changed DeletingFrameSubtree() so it's order N instead of
N^2/2 in the worst case. This speeds things way up. Note that the real
problem here is that WipeContainingBlock() is repeatedly throwing away
and recreating the BODY element's frame and all its child frames
1999-11-21 04:06:44 +00:00
bryner%uiuc.edu d245b90d04 These changes will enable scrolling with the mouse wheel (currently only
for unix).  r=saari.
1999-11-21 01:46:41 +00:00
beard%netscape.com e4cce3d9fd [MLK] aCurrentStyle can be the only owning reference. r=scc, bug=15906 1999-11-21 01:14:33 +00:00
bryner%uiuc.edu e4f3704160 Tree changes to support mousewheel scrolling, and some other tree
changes (scrolling changes and some nsString -> nsAutoString
conversions) from alecf.  r=alecf.
1999-11-21 00:51:31 +00:00
bryner%uiuc.edu b3668a1805 Oops, fixing a typo. Sorry about that. 1999-11-20 08:12:56 +00:00
bryner%uiuc.edu 9bf1ffc77e Adding a new interface that will be used for scrolling tree frames with
the mouse wheel.
1999-11-20 07:16:52 +00:00
troy%netscape.com 18e16961d7 b=19416. Workaround for problem of combo box drop-down being displayed in
the wrong place sometimes
1999-11-20 06:03:16 +00:00
troy%netscape.com df581eb873 b=19374. Restored some code I unintentionaly removed in previous checkin.
Now after Reflow() of child frame "kidRect.width" and "kidRect.height" are
updated
1999-11-19 22:04:01 +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
rods%netscape.com 8042f0e4e7 added boolean in DoneAddingContent method 1999-11-19 16:09:32 +00:00
rods%netscape.com 59006b15ec added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 16:05:16 +00:00
rods%netscape.com 5acd6380be added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 15:46:20 +00:00
rods%netscape.com 20d6dd16ce remove SetMainChild 1999-11-19 15:45:55 +00:00
rods%netscape.com efb018be9a added bool parm to is DoneAddingContent r=dcone bug 18241 1999-11-19 15:45:47 +00:00
rods%netscape.com a78e5ea304 added nsGfxListControlFrame.cpp commented out bug 18895 1999-11-19 15:45:07 +00:00
rods%netscape.com ee30f46561 added bool parm to DoneAddingContent r=dcone bug 18241 1999-11-19 15:43:06 +00:00
rods%netscape.com a6d34255f9 added bool parm to DoneAddingContent content sink sets it to false r=dcone bug 18241 1999-11-19 15:41:30 +00:00
rods%netscape.com 1799f59bd9 added nsGfxListControlFrame code ifdef'd out r=dcone bug 18241 1999-11-19 15:41:19 +00:00
troy%netscape.com fe56995443 WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com 99d18b9c63 fixed a typo that compiles on win32 but not on linux 1999-11-19 08:30:02 +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
buster%netscape.com f70d4ce386 just a comment for future webshell work 1999-11-19 07:32:20 +00:00
buster%netscape.com 27489dbca0 found a tiny bug, possible uninitialized variable. fixed it along with work for:
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:29:13 +00:00
buster%netscape.com e9f5bc6870 DOM extension for exposing text areas to XUL
bug 12022, r=rickg, vidur
also made some improvements for future docshell work
r=rickg, travis
1999-11-19 07:25:11 +00:00
buster%netscape.com 81dcb1e335 DOM extension for exposing text areas to XUL
bug 12022, r=rickg, vidur
1999-11-19 07:24:15 +00:00
buster%netscape.com 5617e8fd55 added nsIGfxTextControlFrame.h 1999-11-19 07:23:47 +00:00
buster%netscape.com 896b73dcde added files: mozilla/layout/html/content/src/nsEditorController.cpp 1999-11-19 07:22:40 +00:00
harishd%netscape.com 3bf1765e27 Fix for bug 18328
r=vidur
1999-11-19 04:02:23 +00:00
ducarroz%netscape.com 920db262fe Fix bug 9713. comment out some sensitive code until I rewrite it. This code isn't needed yet. r=mscott 1999-11-19 00:47:40 +00:00
rods%netscape.com 6282f02198 initial check in, not in the build 1999-11-18 22:14:26 +00:00
evaughan%netscape.com 71ed07b1f0 1) Changed box to use a linked list instead of a fixed array. -r Hyatt
2) Cleaned up some of the preference panels. -r Matt
1999-11-18 21:05:43 +00:00
kin%netscape.com 655697a251 Fix for bug #17989: Selection AutoScrolling broken when using GFX Scrollbars
layout/base/src/nsRangeList.cpp
        - Added ConstrainFrameAndPointToAnchorSubtree() and various utility
          methods.
        - Modified HandleDrag() to call ConstrainFrameAndPointToAnchorSubtree().

    layout/html/base/src/nsFrame.cpp
        - Modified GetContentAndOffsetFromPoint() to skip over generated
          and anonymous content frames.

    layout/html/base/src/nsGfxScrollFrame.cpp
    layout/html/base/src/nsGfxScrollFrame.h
        - Override the default nsFrame::GetContentAndOffsetsFromPoint()
          implementation with a version that calls
          mInner->GetContentAndOffsetsFromPoint(). This prevents the
          scrollbar frames from being included in the search.

    view/src/nsScrollPortView.cpp
        - Fixed bug where GetContainerSize() was returning the size of the
          ScrollPortView instead of the ScrolledView.

r=evaughan@netscape.com
1999-11-18 19:40:52 +00:00
dcone%netscape.com f48210cd80 Thickness of side is now checked. Fixed bug 14944. r=rods 1999-11-18 16:03:45 +00:00
rods%netscape.com 8c8f362920 removing extra box sizing code that is not needed.
computed border and padding is always added for Standard and only for explicit w/h for NavQuirks.
r=dcone bug=18448
1999-11-18 15:15:07 +00:00
dcone%netscape.com 665d39ad6c Move the dotted and dashed rouned corner code to fall into solid until it is supported by code
r=rods.  Bug fixed 13944
1999-11-18 15:09:02 +00:00
rbs%maths.uq.edu.au d11ec8c6ae Fine-tuning of the placement of the sqrt symbol and Patch of Mike Shaver to make the code compile on Linux 1999-11-18 04:51:56 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
rbs%maths.uq.edu.au 5cc78574eb Removed a left-over getchar() that was there for debugging purposes 1999-11-17 01:43:30 +00:00
rbs%maths.uq.edu.au ec744afa7e Code for the msqrt MathML tag 1999-11-17 01:40:04 +00:00
vidur%netscape.com e729e21e96 fix for bug 18693. Event handler default actions shouldn't be done in the capture phase. R=joki. 1999-11-17 01:01:12 +00:00
rbs%maths.uq.edu.au 6db5105981 Examples to illustrate the newly added support of stretchy MathML symbols 1999-11-17 00:55:32 +00:00
rbs%maths.uq.edu.au 65c5dcf594 Code to support stretchy MathML symbols! 1999-11-17 00:49:37 +00:00
rbs%maths.uq.edu.au 123ec44200 Add hook for the msqrt tag in the confined MathML world 1999-11-17 00:41:48 +00:00
vidur%netscape.com 28e617d26f Fix for bug 10173. Attributes that are enumerated values are returned with the first letter upper-cased. R=troy 1999-11-16 23:09:31 +00:00
rods%netscape.com accfa429da Added MakeSureSomethingIsSelected to the combobox so the ListBox can
call it after it is initialized.
1999-11-16 22:47:23 +00:00
rods%netscape.com 9862e79cc1 Added MakeSureSomethingIsSelected so the ListBox can call it after it is initialized. 1999-11-16 22:47:15 +00:00
alecf%netscape.com 77eab78b8c fix for #18196 - fix off-by-one errors with trees that have headers - EnsureRowIsVisible and IsValidRow expect zero-based rows, not row-index based rows
r=hyatt
1999-11-16 19:07:34 +00:00
alecf%netscape.com 71a07b64c5 fix off-by-one error when calculating row indicies for trees with headers/footers - use IsRowGroup(), which takes headers/footers into account
r=hyatt
no bug, but this fixes some wierd scrolling behavior
1999-11-16 18:57:49 +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
pollmann%netscape.com fa81b6bfef Fix typo during typo during previous checkin. 1999-11-16 01:20:04 +00:00
pollmann%netscape.com 8f04b58edc Bug 15204: Allow getting text value in uninitialized textarea - GetText works with text inputs AND textareas. r=harishd 1999-11-16 01:17:54 +00:00
saari%netscape.com 7582e2e065 Bring back, bring back, bring back the caret to me, to me...
The return of the text caret. Simple change, start dispatching content
focus events to the window (what I checked in) *and* the document (the
way it worked before, what editor relied upon). Discussed with joki, but not
technically reviewed.
1999-11-16 00:04:55 +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
brade%netscape.com 3fe50d23b4 File Removed. 1999-11-15 20:46:30 +00:00
don%netscape.com ce0079e2d5 Checked in saari fix for bug #18876 to help re-open tree. r:saari 1999-11-15 20:09:37 +00:00
karnaze%netscape.com f966f5add2 removed allocation warning messages 1999-11-15 15:42:20 +00:00
dcone%netscape.com 66a4aa2ef1 DrawDashedSides now used the correct height and width for the right and bottom 1999-11-15 15:33:25 +00:00
rods%netscape.com d53ab795b2 Fixing focus & blur event dispatch (mostly having to do with native windows in embedded webshells)
Fixing the sizing issues related to box-sizing for CSS.
r=buster, bug 17196,18448
1999-11-15 15:20:03 +00:00
rods%netscape.com 48470623cf temporarily adding box sizing utility methods to help forms calculate their size
appropriately for box sizing.
r=kmcllsuk, bug 18448
1999-11-15 15:16:28 +00:00
rods%netscape.com 65d5fbbdfb It will now mask out any focus events that may be generated because of native windows
r=buster, bug 17196
1999-11-15 15:13:12 +00:00
tbogard%aol.net 4465f2b8b2 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
rbs%maths.uq.edu.au 3c8a731f59 Catching up with recent changes in layout. Update to auto-install the mathml.dtd in bin/dtd/ 1999-11-14 23:10:56 +00:00
rbs%maths.uq.edu.au 79f03df3a2 Catching up with recent changes in layout 1999-11-14 22:15:05 +00:00
tbogard%aol.net 4f6c979f2f Changed QueryCapability to use the new interface requestor. r=pavlov 1999-11-14 10:22:00 +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
rickg%netscape.com dc381070e2 trying to get around string problem 1999-11-14 07:50:15 +00:00
rickg%netscape.com aab46f3a3b try to get around string problem 1999-11-14 07:46:23 +00:00
rickg%netscape.com 42bcc94e35 update to sync with string API change 1999-11-14 06:22:48 +00:00
beard%netscape.com 54792d43d1 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
rods%netscape.com 4c5e8f064c Should always return true, the caching of the "true" value is most important. Failing on getting the
preshell or frames should not be passed back.
r=self, bug 18784
1999-11-14 00:35:35 +00:00
rods%netscape.com f25c5cb072 Added notification to the select in CreateElemenet to tell it it is complete.
r=vidur(sort iof, we talked about this change on friday) bug 18784
1999-11-14 00:34:15 +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
saari%netscape.com 80a7ab6371 Landing focus changes. R: joki 1999-11-13 05:16:33 +00:00
rods%netscape.com ad0bd43918 Disabled key events when it is disabled
r=dcone,b=14771
1999-11-12 15:08:28 +00:00
rods%netscape.com ac91f36e7c Removed the mDisplay data member it was the same as mHasAllFrames, this was preventing
the options from having there selected state displayed initially
Also, changed it so when in drop down mode and nothing is selected it always scrolls
to 0,0
b=14771,13771 r=kmcclusk
1999-11-12 15:00:30 +00:00
alecf%netscape.com b7fbde42d2 fix for #17146, #13483, possibly #15479
don't be stupid about finding the insertion point onto the tree for new rows. use GetInsertionPoint to walk the frames to determine the appropriate row index for new content that doesn't already have frames, so that the rows in the cellmap get the right index.
r=hyatt, bryner@uiuc.edu, alecf (some code dictated by hyatt)
1999-11-12 05:51:26 +00:00
karnaze%netscape.com 1fc8f88c83 disabled delayed handling of reflow commands (pre rev 3.208). r=nisheeth 1999-11-12 04:41:34 +00:00
jdunn%netscape.com 165a7fafa6 Fix for AIX build bustage. Unfortunately the compiler requires that if
a class includes other classes, then the other classes must be defined
by the time the enclosing class is.  In this case nsDST includes
NodeArena, LeafNode & TwoNode and so therefore those classes must be
defined in nsDST.h.

r troy: Note, Troy didn't APPROVE of the fix (since it isn't pretty) but
        he has graciously allowed it in order to help AIX development.
        He did believe that it wouldn't hurt to put the change in.
1999-11-12 03:52:50 +00:00
vidur%netscape.com 68a2e39215 Fix for bug 18040. Removed spurious UMR. Added macro for turning off incremental notification. R=buster, pollmann. 1999-11-12 02:07:54 +00:00
vidur%netscape.com d75bc3b151 Fix for bug 18186. document.lastModified now returns the correct value for FileChannels as well. R=pollmann. 1999-11-12 02:06:54 +00:00
vidur%netscape.com d563684b31 Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann. 1999-11-12 02:06:09 +00:00
kmcclusk%netscape.com 762e065e7d Fixed problem where buttons where causing reflows when entering and exiting.
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com
1999-11-12 01:45:53 +00:00
pinkerton%netscape.com 6915f28945 don't generate drag exit events until _after_ drop event has been processed. move from PreHandleEvent to PostHandleEvent. r=saari. 1999-11-12 01:02:14 +00:00
waterson%netscape.com 6792604f63 Bug 18544. Make sure to destroy mDisplayFrame before re-creating. r=buster 1999-11-11 22:40:25 +00:00
rods%netscape.com a5d50819b6 added empty impl of DoneAddingContent
b 17695, r=self
1999-11-11 22:25:23 +00:00
buster%netscape.com e5ea329a29 removed a bogus assert. 1999-11-11 22:24:19 +00:00
buster%netscape.com cd639c9a8d partial fix for bug 11537, r=kmcclusk (sucker!)
also checked in some webshell redesign work, but that is #ifdef'd out (also reviewed by kevin, double-sucker!)
1999-11-11 22:23:32 +00:00
rods%netscape.com 6f6e5b8b6b notifies the select content when all the children content is there
r=vidur, bug 17965
1999-11-11 22:15:02 +00:00
rods%netscape.com 63760fca6d Added new method "DoneAddingContent" so the select frame can be told that all the content has been added
Reworked the select code to keep the state as to whether all the content and/or all the frames
have been created and then whether it is initialized
r=self&kmcclusk, bug 17965
1999-11-11 22:13:33 +00:00
rods%netscape.com bf86cfed5e Added method "DoneAddingContent" to notify the select that all the chiild are there
it also caches this state so it can be asked whether they have been added
Added method: IsDoneAddingContent(PRBool * aIsDone)
r=vidur, bug 17965
1999-11-11 22:13:20 +00:00
rods%netscape.com a5f4858ce7 Added method "DoneAddingContent" to notify the select that all the chiild are there
r=vidur, bug 17965
1999-11-11 22:13:17 +00:00
waterson%netscape.com 28ce5c2427 Bug 18542. Make sure that we don't over-write aContentStyle arg when GFX scrollbars are turned on. r=evaughan 1999-11-11 21:48:17 +00:00
troy%netscape.com c1985d3f41 Re-order things so we set the content object's document pointer after
initializing it. This eliminates some useless "content changed" notifications
1999-11-11 21:43:15 +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
troy%netscape.com 2fe8acaf02 b=17798. Changed WipeContainingBlock() to remove the frames it is deleting from
the content to frame map and undisplayed content map
1999-11-11 21:08:32 +00:00
karnaze%netscape.com c9aa5e2a0a put back to rev 3.340 due to mail/news regressions. 1999-11-11 18:22:57 +00:00
troy%netscape.com e36c0c9d4c b=17546. Changed block frame code to save/restore space manager when create
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
karnaze%netscape.com aa92cfa616 fixed crash (cnn and other sites with javascript) in nsCellMap due to it not being invalidated. 1999-11-11 05:43:35 +00:00
pinkerton%netscape.com d7ab8c7416 readding the tree item drag capturer (r=hyatt) 1999-11-11 05:10:47 +00:00