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

7690 Коммитов

Автор SHA1 Сообщение Дата
rickg%netscape.com 4308b04de5 fixed bug 21146; r=buster; a=chofmann. 1999-12-08 22:54:08 +00:00
hyatt%netscape.com 3a797b3681 Fix for caret problems in Ender text fields. r=saari 1999-12-08 20:55:45 +00:00
hyatt%netscape.com c759f0ad08 Fix for the two crashers: 21180 and 21163, r=saari 1999-12-08 20:18:16 +00:00
hyatt%netscape.com 59da512000 Implementing support for popupanchor and popupalign. 1999-12-08 11:30:47 +00:00
hyatt%netscape.com c13bdf625e Fix for 21139, r=waterson 1999-12-08 09:01:06 +00:00
alecf%netscape.com ebaab71049 fix for #18420 - scrolling screws up when selection changes
fix oncontentinserted and oncontentremoved so that mTopFrame is set correctly, and don't be over-zealous about destroying frames.
r=hyatt (well, really written mostly by hyatt and digested by me)
1999-12-08 07:20:25 +00:00
hyatt%netscape.com 3f9fa43e97 Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari
1999-12-08 04:54:29 +00:00
hyatt%netscape.com 4e88dc4e32 Making menu titles work again. Making menu accelerators work again. r=saari 1999-12-08 04:52:42 +00:00
troy%netscape.com a6b6c4cdc7 Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex() 1999-12-08 04:49:20 +00:00
vidur%netscape.com 1eb3d4e793 Fix for bug 17857. Relative URLs for script-based setting of the SRC attribute now does resolution relative to the calling context. R=nisheeth. 1999-12-08 03:52:01 +00:00
vidur%netscape.com 810848c78d Fix for bug 18877. DemoteContainer in the content sink no longer unconditionally does notificaions. Also turned on timer-based notifications by default (bug 17325). R=troy 1999-12-08 03:47:05 +00:00
pollmann%netscape.com 1ff41e3d76 Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy 1999-12-08 02:07:03 +00:00
troy%netscape.com 976a6ebb15 Removed code from PrepareChildIncrementalReflow() that was marking all lines
dirty if max-element-size was requested.
1999-12-08 02:05:51 +00:00
akkana%netscape.com b5d1582420 20603: In an HTML document, the body node should always be part of the
selection, because output needs to get style nodes on the body. r=sfraser
1999-12-08 02:05:16 +00:00
evaughan%netscape.com be92299c7a Fixed that nasty bug that caused fonts to change when clicking in the URL bar. -r jevering 1999-12-08 01:56:28 +00:00
pinkerton%netscape.com 6923d0e3ab fix spellings and build warnings (bug #15571). r=gimpy. 1999-12-08 00:12:15 +00:00
rods%netscape.com 13cecc3177 Fixing the updating of the frame for when the label changes (i.e. via script)
sends back a reflow hint. It also checks to see if the primary frame is a combobox
and asks it to refresh its display
r=kmcclusk bug 19373 (PDT+)
1999-12-08 00:10:34 +00:00
rods%netscape.com 58000ea4b5 Always passing back that the frames are there, this still isn't right and needs to be
reworked again. But this will able some XUL selects to work that otherwise would be
broken and I haven't found it to cause any problems with a lot of testing. I have
regressed to this situation in the past and it worked OK.
r=kmcclusk, bug=none but hangas (or self) would have filed one by end of day.
1999-12-08 00:08:41 +00:00
troy%netscape.com 24cb3d4ab9 Removed an assert that is no longer applicable 1999-12-07 23:43:07 +00:00
troy%netscape.com 0864b57fe0 b=16456. Removed some debug assertion code that was incorrect and caused
us to hit asserts when printing
1999-12-07 23:41:48 +00:00
erik%netscape.com 3b0183896d bug 8801; adding new font prefs implementation; r=ftang 1999-12-07 23:27:52 +00:00
brendan%mozilla.org c939085774 - Rename "FunctionObject" or shorthands to "EventHandler" to make nsIScriptContext more scripting-language-neutral.
- Allow nsIScriptContext::BindEventHandler to take a null void* handler argument, to remove the binding by nullifying it (for hyatt's XML-driven-key-mapping work). 
- Try to GetCompiledEventHandler (and if we don't, and compile it, Put too) for the load event and other non-deferred (XUL window-level) event listeners. 
- Improve doc comments and whitespace.
1999-12-07 22:14:17 +00:00
jdunn%netscape.com 147cebd2d6 r= evaughan@netscape.com
# 20933

HP was having problems with the GET_HEIGHT/GET_WIDTH macros being
on the left of the '=', so I created a SET_HEIGHT/SET_WIDTH macros.
1999-12-07 22:10:45 +00:00
rginda%netscape.com b749fbbf15 Adding check for null document. Prevents crash described in bug 20677.
r=brendan@mozilla.org
1999-12-07 22:04:52 +00:00
scc%netscape.com f4ad22b9d9 Make observers support weak references. Bug #18682; r=dp. 1999-12-07 14:06:36 +00:00
jfrancis%netscape.com 6b9ca53f07 fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved. 1999-12-07 08:30:19 +00:00
sfraser%netscape.com 7a09644a3d #ifdef out a printf. r=none 1999-12-07 07:38:16 +00:00
rickg%netscape.com 78c5d8cb44 WIP on fixing <noscript> bug for real -- post dogfood. r=syd 1999-12-07 07:25:56 +00:00
evaughan%netscape.com 65f1d0b07f Fix for PDP+ bug #20712
-r beard
1999-12-07 05:28:32 +00:00
troy%netscape.com a25520a4fb b=20873. Switched to using underlying NSPR arena for frame memory allocation,
and reduced the recycler array.
1999-12-07 04:36:08 +00:00
evaughan%netscape.com 57cbebd4ef Fixed build bustage looks like a merge error. 1999-12-07 04:27:20 +00:00
evaughan%netscape.com 183d6249cf 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy
1999-12-07 03:36:05 +00:00
ftang%netscape.com 723af171cd add query composition event which get current curosor position. add timer base IME x y location query for gtk. r=erik. fix bug 17916 20550 1999-12-07 01:29:00 +00:00
rods%netscape.com 7159ff2692 added a call in the creation of selects (comboboxes):
nsHTMLContainerFrame::CreateViewForFrame(aPresContext, comboboxFrame,
                                                 aStyleContext, PR_FALSE);
so we get a view when we are absolutely positioned.
r=buster bug 19382
1999-12-07 00:05:23 +00:00
rods%netscape.com 11c20a5638 Should have left off the ":"
r=self
1999-12-06 23:05:52 +00:00
rods%netscape.com 6e773b0546 removing unused variables (bloat) and using nsLayoutAtoms::optionSelectedPseudo instead of
using a string and creating and deleting it each time.
r=kmcclusk
1999-12-06 22:59:43 +00:00
rods%netscape.com d2badeaa7f adding :-moz-option-selected
r=kmcclusk
1999-12-06 22:57:24 +00:00
jdunn%netscape.com 9f5adb8b9b adding newline which is required on HP 1999-12-06 22:02:16 +00:00
kin%netscape.com 866303bdee 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
1999-12-06 21:48:36 +00:00
kin%netscape.com 245694332c 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
1999-12-06 20:10:18 +00:00
troy%netscape.com 3c7966f705 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
1999-12-06 15:49:53 +00:00
nisheeth%netscape.com 25c8120cdc Enable save/restore for frame state. 1999-12-06 09:03:16 +00:00
nisheeth%netscape.com 13c0cdd6da Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed. 1999-12-06 07:44:18 +00:00
rods%netscape.com 7e6c5acc96 now trims white space and makes sure the text is two spaces if empty
r=kmcclusk b=none
1999-12-05 20:48:37 +00:00
rods%netscape.com cbdbb04ceb was adding in the wrong border and padding for fixed width
r=self b 18448
1999-12-05 20:47:04 +00:00
rods%netscape.com a15c550545 removed the substraction of the border and padding for fixed width
r=kmcclusk b 18448
1999-12-05 20:45:58 +00:00
rods%netscape.com bf0df9fef3 Added block mgr flag to combo and list frame and their internal SelectArea frame
r=(at troy's suggestion), bug 19382
1999-12-05 20:43:26 +00:00
rods%netscape.com 23eed4531c Added a "flags" varaible for combobox creation
r=self, bug 19382
1999-12-05 20:43:19 +00:00
rods%netscape.com 1abe243c94 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
1999-12-05 20:43:18 +00:00
hyatt%netscape.com 5a8b590403 Making menu titles really crop. 1999-12-05 20:17:10 +00:00
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