erik%netscape.com
3d1abdc603
bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only; also
...
factored some code to reduce duplication; r=pierre,troy
2000-04-02 21:52:17 +00:00
nisheeth%netscape.com
db554bcdd5
Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches.
2000-04-01 00:39:15 +00:00
mjudge%netscape.com
774b479d38
changing bitflags for selection types. well they are bitflags now
2000-03-31 07:14:39 +00:00
mjudge%netscape.com
ba197c0a18
adding in new init methods for the new nsGeneratedContentIterator!
2000-03-31 07:14:02 +00:00
attinasi%netscape.com
f435083f78
Implemented Style Size Dump. r=rickg b=26565
2000-03-31 07:08:36 +00:00
evaughan%netscape.com
4891539d50
box skinnablility changes.
...
-r Hyatt
2000-03-31 07:02:06 +00:00
akkana%netscape.com
9e4f4dc539
Fix an entity bug for Naoki: Japanese entities weren't being correctly
...
pasted. This also fixes the symptoms, but not the underlying cause,
of the html mail nbsp bug. r=nhotta
2000-03-28 00:10:44 +00:00
pierre%netscape.com
c2c59a4b6f
#3371 . Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed.
2000-03-25 18:54:36 +00:00
morse%netscape.com
37b74b183b
fix bug 32374, block foreign images
2000-03-25 07:09:25 +00:00
pollmann%netscape.com
f177f98edc
Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), and add GetHistoryState method, r=nisheeth
2000-03-24 03:36:58 +00:00
mstoltz%netscape.com
d63fb120a5
Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris
2000-03-23 04:53:16 +00:00
troy%netscape.com
747997c224
Adding back changes that were backed out because they broke the Win32
...
clobber build. The problem building TestAttributes.exe is fixed
2000-03-23 00:34:54 +00:00
buster%netscape.com
69807e3b4b
bug 29595 (and others)
...
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy
2000-03-22 23:19:10 +00:00
granrose%netscape.com
8e0370139d
backing out troy.
2000-03-22 17:28:54 +00:00
troy%netscape.com
d342b8daf0
New code that isn't being used
2000-03-22 15:15:48 +00:00
dbaron%fas.harvard.edu
fd5dc605d2
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
2000-03-22 02:43:08 +00:00
akkana%netscape.com
5b2ce19ca0
23980: convert relative href= and src= to absolute. r=sfraser
2000-03-22 01:33:59 +00:00
mkaply%us.ibm.com
95df8f9115
# 24199
...
r= pierre@netscape.com
BiDi - ability to change the default direction of the browser
2000-03-21 15:51:59 +00:00
cmanske%netscape.com
89f6311468
Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
2000-03-21 06:04:02 +00:00
norris%netscape.com
9bc42a40c5
Added UpdatePrincipal function to support multiple signed scripts in a document. r=norris
2000-03-21 04:09:58 +00:00
nisheeth%netscape.com
e90cbb686f
r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document.
2000-03-21 03:25:16 +00:00
jst%netscape.com
b768001187
Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
...
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.
dom/public/nsDOMPropEnums.h,v - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v - bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v - bug 12559
2000-03-17 13:27:00 +00:00
pierre%netscape.com
4b5db8f52f
Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.
In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.
2000-03-17 10:15:13 +00:00
cmanske%netscape.com
ba3457173e
Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
2000-03-16 23:45:39 +00:00
rhp%netscape.com
77ad4f848b
Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589
2000-03-15 01:47:36 +00:00
rhp%netscape.com
6b6de2380a
Just adding a new file to the tree. THIS IS NOT PART OF ANY BUILD!
2000-03-05 17:26:58 +00:00
buster%netscape.com
61ad5d5127
fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
...
r=travis
a=jar
2000-03-03 23:15:29 +00:00
tbogard%aol.net
5c166f4fd5
nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
2000-03-02 07:13:02 +00:00
dbaron%fas.harvard.edu
7654eb97da
Fix bug 15428 as suggested by VYV03354@nifty.ne.jp . Stop using 0 as the initial values for min and max of inline box contents so that lines that do not (vertically) contain their own baseline are sized correctly. Also, correctly size BR frames using their line-height (for strict-mode only).
...
Fix bugs 24186, 26996, and 26998 by reworking the quirks-mode line-height handling so that inline elements that do not have text as children (or meet a few other conditions that show the author wants real CSS support) will not increase the size of the line, but will be as close to their correct size as possible without enlarging the line. This fix includes emulation of the strange Nav4/IE quirk that a block's line-height is enforced on the first line of LI elements and the last line of LI, DD, and DT elements. Many of the changes are removing an earlier fix for 24186.
r=buster
2000-02-15 04:26:44 +00:00
vidur%netscape.com
306c814879
Fix for bug 9140. Area elements now have event fired for them. r=joki
2000-02-11 01:24:59 +00:00
mjudge%netscape.com
a27771d4f5
big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
2000-02-10 04:35:51 +00:00
evaughan%netscape.com
f71ee84662
1) implememted box reflow coelescing.
...
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543
-r hyatt, troy, rod
2000-02-09 22:02:40 +00:00
kmcclusk%netscape.com
4d12d19a42
Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
...
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
dbaron%fas.harvard.edu
2d313e91ec
Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
...
r=joki
2000-02-03 02:49:58 +00:00
troy%netscape.com
eeed59e5ff
r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
...
so we can quickly tell whether the frame has an associated view
2000-02-03 00:51:37 +00:00
vidur%netscape.com
fa580e6551
Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
2000-01-28 23:43:12 +00:00
karnaze%netscape.com
d7b72a10f0
bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
...
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
nisheeth%netscape.com
b24ce89407
Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell.
2000-01-28 00:48:02 +00:00
norris%netscape.com
e7f484f030
Fix 23227 Document object vulnerability
...
r=mstoltz
2000-01-26 15:33:57 +00:00
nisheeth%netscape.com
e468aef1ea
r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter.
2000-01-25 16:00:44 +00:00
rods%netscape.com
b90aa46ba0
Added "const" infront of the arg for SetDefaultFont and SetDefaultFixedFont
...
r=pierre b=905
2000-01-25 14:33:03 +00:00
rods%netscape.com
0d40a139c3
Added new flag for scrolling a frame if it isn't visible
...
r=troy b=18649
2000-01-25 14:31:41 +00:00
pierre%netscape.com
8d74811b10
Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'.
2000-01-24 11:19:55 +00:00
nisheeth%netscape.com
71218baaf6
Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
2000-01-24 06:43:15 +00:00
troy%netscape.com
73a3709284
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
hyatt%netscape.com
1483c11c36
Adding an interface for the creation of elements. r=waterson
2000-01-19 03:09:12 +00:00
bryner%uiuc.edu
694f805643
Make trees capable of scrolling by full pages with the mouse wheel.
...
General cleanup and additions to mousewheel debugging code (which is
#ifdef DEBUG_scroll). r=hyatt.
2000-01-16 05:30:49 +00:00
hyatt%netscape.com
0b8fd87711
Forgot to check in a file.
2000-01-14 11:20:15 +00:00
hyatt%netscape.com
489fa24f63
Fixes for bugs 17460 and 21656. r=travis
2000-01-14 09:28:54 +00:00
hyatt%netscape.com
b78a98232e
Adding a new interface for retrieving/setting state information on form
...
controls.
2000-01-14 00:43:39 +00:00
nisheeth%netscape.com
409aee6ae9
r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
2000-01-12 08:28:24 +00:00
hyatt%netscape.com
3d186ddce8
adding behavior property to CSS. r=brendan
2000-01-11 03:40:41 +00:00
kin%netscape.com
09204de391
Fix for bug #21029 : Caret get's wrong offset when parent not a text node
...
mozilla/layout/base/public/nsIFrameSelection.h
- Added aReturnOffset arg to GetFrameForNodeOffset().
mozilla/layout/base/src/nsCaret.cpp
- mLastContentOffset now gets it's value from the offset
returned by GetFrameForNodeOffset().
mozilla/layout/base/src/nsRangeList.cpp
- GetFrameForNodeOffset() now returns an offset to be used
with the result frame.
r=mjudge@netscape.com ,jfrancis@netscape.com
2000-01-10 15:32:42 +00:00
pierre%netscape.com
a1bab88cc8
12825 "Need new 'overflow' values to control scrollbar visibility". Added -moz-scrollbars-none, -moz-scrollbars-horizontal and -moz-scrollbars-vertical.
2000-01-10 03:23:44 +00:00
mjudge%netscape.com
eecd5e732f
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
2000-01-08 00:31:32 +00:00
rbs%maths.uq.edu.au
b3ba853dbc
[#ifdef MOZ_MATHML] Added extension to the reflow metrics to support the bounding metrics needed for precise MathML placements. This is a WIP approved by Troy.
2000-01-07 14:36:43 +00:00
jst%citec.fi
7378578fe5
Fixing bug 12181 (removing static IID's). r=troy@netscape.com
2000-01-04 20:24:09 +00:00
troy%netscape.com
1558ba3b1a
Added new #define NS_SHRINKWRAPWIDTH that specifies that a frame should
...
shrink wrap its width (paying attention to the maximum computed width). Mostly
complete implementation for block frames
2000-01-03 04:32:13 +00:00
troy%netscape.com
4ddb903853
Work-in-progress for having maximum width (needed by tables) be updated
...
incrementally
1999-12-30 04:15:45 +00:00
pierre%netscape.com
a725da285d
16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp
1999-12-22 11:27:10 +00:00
ftang%netscape.com
1986cf104e
partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann
1999-12-22 07:56:40 +00:00
pierre%netscape.com
58b4c59a41
Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet.
1999-12-22 05:00:47 +00:00
vidur%netscape.com
1c0c61c381
Fix for bug 17726. Text.splitText now creates the correct type of node. Added nsITextContent::CloneContent to enable cloning without copying of the text. a=dagley r=nisheeth
1999-12-22 01:51:58 +00:00
jband%netscape.com
7d0cb0f4bb
Landing big set of DOM and XPConnect changes:
...
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.
XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.
Also, xpconnect tests are reorganized and improved.
fixes bugs: 13419, 17736, 17746, 17952, 22086
r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
alecf%netscape.com
8dc8ab82ae
fix for #21417
...
r=troy, a=chofmann
the editor's internal mDisplayFrame was not being removed from the frame manager's map of content->frames, so after enough scrolling in the addressing pane, reflow would try to reference a deleted frame. Fix is to remove the frame from the frame manager every time it's destroyed.
1999-12-17 03:28:50 +00:00
mjudge%netscape.com
df221dba54
new idl for line up/down scrolling
1999-12-15 03:56:32 +00:00
mjudge%netscape.com
2cf7e901e3
massive changes a=jar.hoffman, r=akkana
1999-12-11 00:02:08 +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
rods%netscape.com
11c20a5638
Should have left off the ":"
...
r=self
1999-12-06 23:05:52 +00:00
rods%netscape.com
d2badeaa7f
adding :-moz-option-selected
...
r=kmcclusk
1999-12-06 22:57:24 +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
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
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
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
akkana%netscape.com
661f837d79
Forgot to add the idl file to the makefile
1999-12-02 22:36:34 +00:00
sfraser%netscape.com
98de07bacc
Add nsISelectionController.idl for akkana.
1999-12-02 22:31:17 +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
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
hyatt%netscape.com
c07e825ba9
Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson
1999-11-29 22:15:07 +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
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
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
pinkerton%netscape.com
3de07b0c95
First Checked In.
1999-11-22 22:23:08 +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
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
fe56995443
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +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
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
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
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
brendan%mozilla.org
49357d5655
Remove nsIFrameReflow.h deadwood (r=waterson).
1999-11-05 05:00:39 +00:00
akkana%netscape.com
2274aa9a8f
Part of bratell@lysator.liu.se's fix to the nsHTMLToTXTSinkStream. r=akkana
1999-11-03 03:08:04 +00:00
kipp%netscape.com
9d26ed588b
r=troy; Added a new frame property atom
1999-11-02 23:42:13 +00:00
cls%seawood.org
14ef08310e
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
troy%netscape.com
04accb3de6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
kipp%netscape.com
42d72e139f
Added another frame property
1999-11-01 15:22:25 +00:00
troy%netscape.com
56620e9b5a
Added nsHTMLReflowState.h
1999-10-30 16:16:45 +00:00
troy%netscape.com
b513453f89
Updated to not export nsIFrameReflow.h
1999-10-30 02:53:36 +00:00
troy%netscape.com
b2025a682a
Changed to not export nsIFrameReflow.h
1999-10-30 02:52:43 +00:00
troy%netscape.com
effb3aefb7
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
troy%netscape.com
e2dfeedb8d
Changed view to be stored as a frame property instead of a member data
...
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
918255682c
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
braddr%puremagic.com
bf95f832dd
Change NS_COMFALSE to NS_ERROR_ABORT throughout the space manager.
...
r=smfr for these two files, and r=scc for the previous file
1999-10-22 06:49:50 +00:00
troy%netscape.com
d0190a7f34
r=karnaze@netscape.com
...
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
mjudge%netscape.com
3d3eb16f9a
massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me
1999-10-22 00:19:18 +00:00
ftang%netscape.com
548649505f
change the input method highligh code from 2 style to 4 styles. r=mjudge
1999-10-21 22:01:18 +00:00
kipp%netscape.com
dadfeff627
r=troy; Added a property for max-element-size storage for fixing bug 13196
1999-10-21 20:23:05 +00:00
kipp%netscape.com
6485ca4fb3
r=troy; Added nsITextContetChangeData to help optimize modifications of large text elements
1999-10-21 20:22:02 +00:00
troy%netscape.com
01cf059769
r=kipp@netscape.com
...
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
troy%netscape.com
fb99c83e01
Changes to frame property API (code's not being used yet)
1999-10-19 14:41:55 +00:00
troy%netscape.com
665c1e8f05
Changed a comment
1999-10-19 05:00:30 +00:00
troy%netscape.com
c327acc8a4
Change to code that's not currently being used. Before it gets used it
...
will get code reviewed
1999-10-19 04:52:33 +00:00
troy%netscape.com
a5e197eace
r=kipp@netscape.com Moved ownership of root frame (and frame hierarchy) over to
...
the frame manager
1999-10-18 22:20:37 +00:00
peterl%netscape.com
1634c730fd
Added new style data accessors.
...
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
troy%netscape.com
6e47ab221b
Added some new code that's not in use yet
1999-10-16 00:55:48 +00:00
kipp%netscape.com
ad778d6889
r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101
1999-10-15 23:36:07 +00:00
peterl%netscape.com
757c0b5f01
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
peterl%netscape.com
31e48e3bdc
moved toggle and tri-state from user-modify to user-select to stay in sync with CSS3
...
no bug #
r=pierre
1999-10-15 02:11:09 +00:00
kipp%netscape.com
11fc60f14d
r=troy; Added some more atoms so that Dframe sizing data is more particular for line boxes
1999-10-14 23:08:31 +00:00
kipp%netscape.com
8c6fbed636
r=troy; Added a #define to prevent future code crashes
1999-10-14 23:08:04 +00:00
mjudge%netscape.com
21ba41e280
bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h
1999-10-13 01:16:09 +00:00
kipp%netscape.com
2b4c0a8c97
Added two new atoms to help meter large vs. small line boxes
1999-10-12 23:22:34 +00:00
peterl%netscape.com
0aa8e8a9c7
add 'ignore' to user focus
...
r=hyatt
1999-10-12 00:21:06 +00:00
kipp%netscape.com
b0dcc883f8
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
troy%netscape.com
a5add6d414
Change to SizeOf() code (diagnostic code only). Changed table frame
...
code to split the column cache size out into a separate listing
1999-10-08 05:12:55 +00:00
peterl%netscape.com
d023d57dc3
First step at fixing 12106, factored out style rule processing from
...
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
kipp%netscape.com
f36a6b1cd9
Added some atoms to support SizeOf metrics
1999-10-07 00:31:41 +00:00
kipp%netscape.com
2738c38f7f
Support SizeOf methods
1999-10-05 23:47:46 +00:00
norris%netscape.com
9c950a3a20
Fix 15458 "onLoadHandler does not work"
...
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
troy%netscape.com
a30cba0af1
Made sure mOutsideEdge is initizlied
1999-10-04 23:44:44 +00:00
peterl%netscape.com
c6f780fac5
Added ability to track changes to content without frame
...
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:26:53 +00:00
peterl%netscape.com
c0b6883ad3
added API to track content that didn't get a frame
...
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:26:24 +00:00
troy%netscape.com
d219ef5e29
Added SizeOf() handler for floater information maintained by the
...
line box
1999-10-02 02:51:03 +00:00
troy%netscape.com
6f0d3813a7
Added SizeOf() handler for space manager
1999-10-02 00:52:01 +00:00
troy%netscape.com
e2ac00fe47
Hooked up SizeOf() for cell map and table layout strategies. Also added in
...
some table frame data that was missed
1999-10-02 00:02:54 +00:00
akkana%netscape.com
770ed40a0a
Add OutputWrap flag, and add comments for the other flags
1999-09-29 20:17:51 +00:00
kin%netscape.com
ff2c034123
First pass implementation of selection auto scrolling.
...
layout/base/public/nsIFrame.h
- Added GetContentAndOffsetsFromPoint() method. This
method will eventually replace GetPosition().
layout/base/public/nsIFrameSelection.h
- Added HandleDrag() and Start/StopAutoScrollTimer() methods.
layout/base/src/nsRangeList.cpp
- Added implementation for HandleDrag() and
Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsBRFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
layout/html/base/src/nsFrame.cpp
layout/html/base/src/nsFrame.h
- Added implementation for GetContentAndOffsetsFromPoint().
- Added GetClosestViewForFrame() utility method.
- Modified HandleEvent() to call HandleRelease() which now
stops the auto scrolling timers.
- Modified HandleDrag() to call nsIFrameSelection's HandleDrag()
and Start/StopAutoScrollTimer() methods.
layout/html/base/src/nsTextFrame.cpp
- Added implementation for GetContentAndOffsetsFromPoint().
1999-09-29 20:04:05 +00:00
peterl%netscape.com
870b54137e
make remap style optionally not go recursive
1999-09-29 03:30:47 +00:00
mjudge%netscape.com
0bb65d1fc8
fixes for M11 a=shaver r=cmanske. this will add 1 enumerator value to en enum in nsIFrame so dont be scared. this is for tweaking selection should not affect anyone outside of selection/editor
1999-09-25 23:33:02 +00:00
mgleeson1%netscape.com
e7cbff5298
fix for UNIX ports r=kipp, a=hofmann,kipp
1999-09-23 19:02:23 +00:00
kipp%netscape.com
f49c28ef15
Work around purify nonsense with bitfields
1999-09-22 00:38:57 +00:00
peterl%netscape.com
3e1015d0ab
Added compute style change
...
Added style tree verify
1999-09-21 07:48:57 +00:00
peterl%netscape.com
5c809530ca
removed ReResolveStyleContext
...
added flag for style tree verify
1999-09-21 07:48:34 +00:00
rpotts%netscape.com
93d54d8076
Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs.
1999-09-18 06:20:49 +00:00
jfrancis%netscape.com
7af46daf54
tidying up
1999-09-17 23:12:17 +00:00
kipp%netscape.com
b9d4f1196a
Zapped mCompatFloatMargin hack
1999-09-17 00:57:06 +00:00
kipp%netscape.com
2afe2536dd
Added in mCompatFloaterMargin
1999-09-16 19:55:28 +00:00
rpotts%netscape.com
2ce6e7be9b
Added a missing NS_DEFINE_STATIC_IID_ACCESSOR...
1999-09-16 08:50:18 +00:00
slamm%netscape.com
e650a94848
Fix build warnigns.
1999-09-15 19:19:51 +00:00
harishd%netscape.com
47b1297e30
Fixing build bustage...hopefully.
...
Missed a file
1999-09-15 18:28:10 +00:00
pollmann%netscape.com
a170712586
Bug 13058: Make global enum a public member.
1999-09-15 02:30:39 +00:00
kipp%netscape.com
f89f3350dd
Added List method
1999-09-15 00:24:41 +00:00
sfraser%netscape.com
801132e5a9
Super duper new caret
1999-09-14 23:41:19 +00:00
pollmann%netscape.com
82013ad7ea
Bug 13058: Tweaks to StatefulFrame interface
1999-09-14 01:58:49 +00:00
briano%netscape.com
cfc3c850ed
General cleanup.
1999-09-14 01:02:20 +00:00
troy%netscape.com
bde4ac61db
Added frame type for OBJECT frame
1999-09-13 21:26:05 +00:00
mjudge%netscape.com
24a5d270fd
fixes for crasher in tree
1999-09-11 00:18:02 +00:00
mjudge%netscape.com
8a55b0d40e
changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames.
1999-09-10 18:29:37 +00:00
peterl%netscape.com
788f9934ec
added look and feel accessor to pres context
1999-09-10 05:51:08 +00:00
peterl%netscape.com
ed08f30641
changed font weight step to 1 (from 101)
1999-09-10 05:50:30 +00:00
peterl%netscape.com
f653338e5d
added content state changed (vs content changed) notification
1999-09-10 05:50:02 +00:00
mjudge%netscape.com
7b6345b29b
adding in begin line and end line enums for selection movement. this allows peeking to the start and end of and like given a content offset for any frame.
1999-09-07 23:40:17 +00:00
peterl%netscape.com
e8b68a5fce
added reparent style context
1999-09-03 23:35:41 +00:00
peterl%netscape.com
6c381d978e
added accessors to additional style contexts
1999-09-03 23:35:14 +00:00
peterl%netscape.com
10a7e0588b
tracking to UI & forms proposal changes
1999-09-03 23:33:06 +00:00
hyatt%netscape.com
04bb2efe32
Must fix build bustage. I have to have access to members of this object without
...
being forced to call member functions (since my content nodes are in a separate
DLL from layout).
1999-09-02 02:09:07 +00:00
kipp%netscape.com
43c7c19731
Added another debug atom
1999-09-01 01:10:02 +00:00
jdunn%netscape.com
57cdc73100
HP requires newline
1999-09-01 00:53:21 +00:00
nisheeth%netscape.com
cac7a1a287
- Added setter for history state to nsIPresShell
...
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters in nsIStateful frame
so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.
1999-08-31 14:35:50 +00:00
nisheeth%netscape.com
5c883a4105
Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state.
1999-08-31 10:06:17 +00:00
kipp%netscape.com
20b3806ec4
Added new atoms
1999-08-31 04:31:39 +00:00
kipp%netscape.com
1d0c71c142
Added missing = 0 to make method's pure virtual
1999-08-31 04:20:22 +00:00
kipp%netscape.com
fd426dec6a
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
1999-08-31 03:09:40 +00:00
nisheeth%netscape.com
8702861be9
Added get/set document state API for use by session history.
1999-08-30 22:38:58 +00:00
kin%netscape.com
c4ea811665
Fix for bugs #7153 , #10673 , #12066 , #12067 , and #12793 .
...
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h
- Added code to scroll the selection into view
after processing key events.
- Commented out the hack that redraws the entire
view when the focus is gained and lost. Replaced
the hack code with calls to RepaintSelection().
layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
- Added ScrollSelectionIntoView() and RepaintSelection() methods.
layout/base/src/nsRangeList.cpp
- Added implementation for ScrollSelectionIntoView() and
RepaintSelection().
- Check for NULL primary frame in GetFocusNodeRect()
to fix bug #12793 .
1999-08-30 21:54:40 +00:00
norris%netscape.com
59b4dc8374
* clean up nsScriptSecurityManager
...
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
kipp%netscape.com
310e7befe5
Added in GetTextLength and CopyText methods for the MathML folks
1999-08-27 21:40:13 +00:00
kipp%netscape.com
feacb30520
Made WhiteSpaceIsSignificant a const method
1999-08-27 21:39:50 +00:00
kipp%netscape.com
8c06fe5c21
Added NS_FRAME_IS_UNFLOWABLE bit for handling frame trees that are too deep
1999-08-27 21:39:26 +00:00
sfraser%netscape.com
a28fc6628f
No longer need a pres shell for the document encoder; remove it.
1999-08-25 21:42:20 +00:00
mjudge%netscape.com
1ca330a9f0
changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :)
1999-08-24 21:51:47 +00:00
akkana%netscape.com
70ab0ba259
Revise the doc encoder and content sink APIs yet again to make it easier
...
to add new flags (pass a flag in the constructor, rather than specific
booleans. This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
evaughan%netscape.com
e7ce4e691c
xpscrollbars
1999-08-19 22:16:23 +00:00
troy%netscape.com
2a655ce368
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
peterl%netscape.com
7b416ebae7
added more pseudo elements
1999-08-08 01:05:05 +00:00
buster%netscape.com
0c8dd1b4da
just a comment, part of a memory leak bug fix to remind users to free a struct
1999-08-07 05:09:09 +00:00
pierre%netscape.com
ad77864095
breaking up gfx & native widgets
1999-08-06 05:11:39 +00:00
troy%netscape.com
9a1b7b21b2
Moved cantrenderreplacedelememt code over to the frame manager
1999-08-05 20:17:44 +00:00
troy%netscape.com
3ae06bfbdc
Changed frame construction code to use frame manager when modifying frame
...
model
1999-08-05 03:09:22 +00:00
buster%netscape.com
fc5f6f418f
added GetCaretEnabled
...
cleaned up caret APIs according to coding convention
1999-08-04 20:46:16 +00:00
troy%netscape.com
9a13cbb174
Now uses frame manager
1999-08-04 04:02:40 +00:00
troy%netscape.com
4db8257f5a
Initial check-in
1999-08-04 03:39:34 +00:00
troy%netscape.com
653e75725d
Added nsIFrameManager.h to exported files
1999-08-04 03:39:18 +00:00
mcafee%netscape.com
451c4afcee
Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren
1999-08-03 20:51:41 +00:00
troy%netscape.com
af3ef58730
Changed root frame class over to new reflow command handling
1999-07-27 14:15:42 +00:00
troy%netscape.com
d07cd82e4e
Added 'm' prefix to structs defined in nsISpaceManager
1999-07-25 19:01:13 +00:00
peterl%netscape.com
195fa109e9
added some experimental CSS3 properties
...
fixed style context impact reporting
1999-07-24 18:59:43 +00:00