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

7552 Коммитов

Автор SHA1 Сообщение Дата
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
pinkerton%netscape.com 0a6a86fb7c reworking of toolbar d&d impl and tree d&d impl (r=hyatt). 1999-11-11 05:10:38 +00:00
pinkerton%netscape.com d95fa3ac47 readding the tree item drag capturer 1999-11-11 05:10:28 +00:00
waqar%netscape.com fda217b0f1 # 16610
r vidur
d Javascript should throw an execption on index size error. DOM now throws
an execption for size error.
1999-11-11 01:48:25 +00:00
pinkerton%netscape.com 90900d5452 remove the tree item drag capturer. i was premature. 1999-11-11 01:46:12 +00:00
pinkerton%netscape.com 7291963fd3 backing out my last added file. 1999-11-11 01:42:12 +00:00
waqar%netscape.com 897e3625ed # 6071, 15904
r vidur
d Fixes the problem with comment delimiters.
1999-11-11 01:28:32 +00:00
pinkerton%netscape.com d83ccdc51f add nsTreeItemDragCapturer to the build 1999-11-11 01:04:36 +00:00
pinkerton%netscape.com 628eba1120 adding nsTreeItemDragCapturer to the build and moving XUL frames into the right group. 1999-11-11 01:04:15 +00:00
pinkerton%netscape.com 847e28c4d8 First Checked In. 1999-11-11 01:03:41 +00:00
pinkerton%netscape.com 998a745d66 set the default image size to be small in order to avoid obvious reflows when button code would assume 30x30 before it loaded the image (r=evaughan). 1999-11-11 00:58:42 +00:00
karnaze%netscape.com 03eb7987dd new regression test not affecting build. 1999-11-11 00:56:50 +00:00
av%netscape.com 7c2704d6f6 Fix for bug 16302. Added counting margins when calculating the object size, r=nisheeth 1999-11-11 00:00:07 +00:00
evaughan%netscape.com d0f0677305 Fixed gfxscrollbar bugs #16460 and #15722 1999-11-10 23:51:44 +00:00
pollmann%netscape.com 6f2c30f0bd Bug 17656: Checking in jst@citec.fi fix to make Framesets resize correctly. A: chofmann R: pollmann 1999-11-10 23:50:38 +00:00
ftang%netscape.com bd10da3562 Change the GetRelativedWindowCoordinate to return the botton of the cursor, instead of the top of the cursor. We need this to make Mac IME candidcate window popup in a more reasonable place. author=sfraser. r=ftang 1999-11-10 23:47:56 +00:00
brade%netscape.com d6659ba379 remove empty_doc.html (bug #15442) r:Jerry.Kirk@Nexwarecorp.com 1999-11-10 14:48:36 +00:00
gagan%netscape.com a49e1e6359 Fix for 7533. The mechanism of specifying charset in content-type of a post data was breaking a lot of websites. I have changed the default to not send charset. If this has to be changed again this should go thru a pref (See bug 18431) 1999-11-10 08:58:20 +00:00
ftang%netscape.com b0b627423b fix 16808. change hard coded utf-8'to UTF-8', get charset hint from webshell. r=nhotta 1999-11-10 05:50:10 +00:00
nisheeth%netscape.com 6a7c8adf6c a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
waterson%netscape.com a86d4e56bd Bug 18257. Fix leak of nsIDocument in form submission. r=karnaze, a=chofmann 1999-11-10 00:30:09 +00:00
sspitzer%netscape.com e3a6b820eb fix warning. 1999-11-10 00:09:32 +00:00
rods%netscape.com 9257dfb652 I checked in a bad fix. This is correct. I have had Chris K. check it over.
Migrains will do that to you. for bug 18039
1999-11-09 23:49:37 +00:00
waterson%netscape.com 5c4138dfd5 Bug 18067. Event listeners are refcounted; do not try to manually 'delete'. r=hyatt, a=chofmann. 1999-11-09 23:37:57 +00:00
waterson%netscape.com 2e43f337cc Bug 18066. Only addref the listener if it isn't already in our set of listeners. r=joki, a=chofmann 1999-11-09 23:37:08 +00:00
rods%netscape.com d723048682 Fixes bug 18039, it doesn't call WipeContainingBlock for select frames
This needs a better fix, filed bug 18366
r=kmcclusk
1999-11-09 22:36:05 +00:00
karnaze%netscape.com 940bcdae93 new regression test not affecting build. 1999-11-09 21:06:13 +00:00
karnaze%netscape.com b50a692ba8 new regression test, not affecting build. 1999-11-09 18:45:09 +00:00
rods%netscape.com d8bca1113b Fixes MLK 18207 - missing addref, r=beard
Fixes Crasher 17852 by temporarily commenting out the offending line, waiting on bug 18183
r=kmcclusk
1999-11-09 13:41:27 +00:00
pinkerton%netscape.com 14245ece47 fix for #17664 (crash in drag code when css destroys the frame when clicking on link). small fix for when target is null on mouseMove events (say when mouse is in menu bar on MacOS). (r=saari). 1999-11-09 07:10:46 +00:00
nisheeth%netscape.com 242db1bd00 r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell. 1999-11-09 03:23:26 +00:00
joki%netscape.com 9a7af075b2 Fix for bug 17618, null out current event target frame after processing event. a:chofmann, r:vidur 1999-11-08 21:30:22 +00:00
kin%netscape.com 1545d7a65f Fix for bug #18230: [DOGFOOD] Assertion thrown when clicking in the editor.
Fixed nsRangeListIterator AddRef/QueryInterface problems.
r=buster@netscape.com, a=chofmann@netscape.com
1999-11-08 18:49:36 +00:00
scc%netscape.com 60ce1bccdc Since there are two |CurrentItem()| functions, had to add an |NS_STATIC_CAST| to disambiguate the deciding parameter, caused by the change to |nsCOMPtr|s. r={danm, hyatt} 1999-11-08 11:43:08 +00:00
karnaze%netscape.com a85a487827 new regression tests not affecting the build. 1999-11-08 05:25:31 +00:00
karnaze%netscape.com b20160477e bug 18204 - null pointer check fixes crash. permission from chofmann. 1999-11-08 05:24:27 +00:00
karnaze%netscape.com f0e7497dc5 new regression tests - does not affect build. 1999-11-07 20:02:08 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
pollmann%netscape.com f1b69a06ac Bug 17995: Don't reset selection when adding an option to a combobox, as it caused reframing and a crash. r=harishd a=choffman 1999-11-06 00:54:54 +00:00