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

2038 Коммитов

Автор SHA1 Сообщение Дата
dcone%netscape.com e980952da4 Took out the clip for backgrounds.. not needed r=rods. bug=16685 1999-12-01 14:45:59 +00:00
hyatt%netscape.com a48ef93f44 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 9d6defe3e5 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
troy%netscape.com 1e57139e94 b=20329. Fixed CleanupFrameReferences() so it isn't O(N!) 1999-11-30 23:23:50 +00:00
warren%netscape.com 2db26922a6 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
waterson%netscape.com 947d490060 Fix RemoveStyleSheet() per pierre's comments. 1999-11-30 04:33:28 +00:00
waterson%netscape.com c2d7952c4c Tree scrolling improvements. Avoid string twiddling in CreateAnonymousTreeCellFrames. r=hyatt 1999-11-30 00:53:41 +00:00
dougt%netscape.com f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
nisheeth%netscape.com 767ba5b269 Fix for bug 20194. r=beard. Thank to Patrick Beard for finding this leak in CaptureFrameStateFor(). 1999-11-30 00:17:40 +00:00
hyatt%netscape.com 7ab98f7f26 Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson 1999-11-29 22:15:07 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
norris%netscape.com 51842ef45e 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 fdc109612c use explicit |.get()| for Unix compilers, a=leaf 1999-11-25 01:02:52 +00:00
vidur%netscape.com dd88339f19 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 178617001b 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
tbogard%aol.net af1ce8d410 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
waqar%netscape.com 91eea99324 # 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
dcone%netscape.com fb46865127 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 d7fbad6cea 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
nisheeth%netscape.com 84cc491cb1 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
pierre%netscape.com 36d3ba78e4 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 096c23050e 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
pinkerton%netscape.com 264abc6f3b First Checked In. 1999-11-22 22:23:08 +00:00
joki%netscape.com e51265f992 Fix for 17683, add key events for alt+numpad character generation. r:vidur 1999-11-22 19:45:13 +00:00
tbogard%aol.net 261d576815 Adding nsIChromeEventHandler.idl to the build. r=hyatt 1999-11-22 08:03:54 +00:00
tbogard%aol.net a8a1643f27 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
rbs%maths.uq.edu.au 64e4ded56d Add hook for the mroot tag in the confined MathML world 1999-11-21 22:01:56 +00:00
troy%netscape.com cc2f4ee6df 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 506d296672 Oops, fixing a typo. Sorry about that. 1999-11-20 08:12:56 +00:00
bryner%uiuc.edu c5d0fa6f07 Adding a new interface that will be used for scrolling tree frames with
the mouse wheel.
1999-11-20 07:16:52 +00:00
buster%netscape.com 86541b4c40 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 bd658d548d added nsGfxListControlFrame code ifdef'd out r=dcone bug 18241 1999-11-19 15:41:19 +00:00
troy%netscape.com 597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com 93551f1751 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 6d8e2f2301 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
kin%netscape.com 9ce2f08c0b 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 1b778eadc9 Thickness of side is now checked. Fixed bug 14944. r=rods 1999-11-18 16:03:45 +00:00
dcone%netscape.com 3c24d927ea 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 4979550535 Add hook for the msqrt tag in the confined MathML world 1999-11-17 00:41:48 +00:00
norris%netscape.com 5b4b0169aa * 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
tbogard%aol.net 8c8bbce9a7 Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
dcone%netscape.com dee8f4a5a5 DrawDashedSides now used the correct height and width for the right and bottom 1999-11-15 15:33:25 +00:00
tbogard%aol.net d855c6540f Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov 1999-11-14 10:12:21 +00:00
rickg%netscape.com 1694cf9261 force rebuild of this file 1999-11-14 08:41:36 +00:00
rickg%netscape.com 5f5f93e512 trying to get around string problem 1999-11-14 07:50:15 +00:00
rickg%netscape.com c9e77e80b3 try to get around string problem 1999-11-14 07:46:23 +00:00
rickg%netscape.com 1826780418 update to sync with string API change 1999-11-14 06:22:48 +00:00
beard%netscape.com 65a3476676 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
law%netscape.com 41d554cbdd 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 131348416b 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