vidur%netscape.com
61f580e993
Fix for bug 22344. Removing FMMs in nsDOMAttribute.cpp. a=don r=kin
...
git-svn-id: svn://10.0.0.236/trunk@56443 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:44:30 +00:00
troy%netscape.com
9787e2f28e
b=1994. Changed to respect alt="" and use it
...
git-svn-id: svn://10.0.0.236/trunk@56418 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 21:26:14 +00:00
pierre%netscape.com
cc4c33320d
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
The (small) changes in nsCSSRendering.cpp are temporary. It's just to reflect the changes made elsewhere in the style context. The code that actually draws the RoundRect with a different radius for each corner will be implemented later today.
git-svn-id: svn://10.0.0.236/trunk@56388 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 11:30:22 +00:00
pierre%netscape.com
ab167ecc58
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
git-svn-id: svn://10.0.0.236/trunk@56387 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 11:27:10 +00:00
ftang%netscape.com
cfa1a18207
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
...
git-svn-id: svn://10.0.0.236/trunk@56377 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 07:56:40 +00:00
pierre%netscape.com
325e90f476
Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet.
...
git-svn-id: svn://10.0.0.236/trunk@56361 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 05:00:47 +00:00
vidur%netscape.com
a423e0e3c7
Fix for bug 9779. Element::normalize() now combines more than 2 nodes. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@56333 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:54:04 +00:00
vidur%netscape.com
c34925bd34
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
...
git-svn-id: svn://10.0.0.236/trunk@56332 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:51:58 +00:00
jband%netscape.com
191411b358
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
git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
tbogard%aol.net
b5cb13131e
Fixing some places when talking to the webshell object to start talking through the new docshell interfaces.
...
git-svn-id: svn://10.0.0.236/trunk@56167 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:09:29 +00:00
alecf%netscape.com
aaa9106176
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.
git-svn-id: svn://10.0.0.236/trunk@56134 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 03:28:50 +00:00
mjudge%netscape.com
45a19c261d
Precursor change to akkana and hyatts fix for platform dependent key-bindings. HOME and END will now implement the scroll to top and scroll to bottom for mac. Scroll and Move for pageup/pagedown and CTRL-HOME and CTRL-END on windows will not work until m13. This is ok for now and will hurry up completion of M12. r=akkana. simple fix like 10 lines really.
...
git-svn-id: svn://10.0.0.236/trunk@56105 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 22:48:02 +00:00
dcone%netscape.com
6a8024bb5f
Used the height and width of the page returned from the nsDeviceContext instead of hard coded values. r=buster
...
git-svn-id: svn://10.0.0.236/trunk@56090 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 15:15:23 +00:00
mjudge%netscape.com
6dcf82559d
new idl for line up/down scrolling
...
git-svn-id: svn://10.0.0.236/trunk@56029 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:56:32 +00:00
mjudge%netscape.com
4704ff3a85
adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also.
...
git-svn-id: svn://10.0.0.236/trunk@56028 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:54:52 +00:00
danm%netscape.com
ba5552a03c
check for null context in SetDocument. part of fix for bug 19302. r:hyatt a:chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56014 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 02:15:57 +00:00
selmer%netscape.com
1798c5367a
bug 18001 assertion & crash on treeTest1.xul. r=hyatt a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@55992 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:30:41 +00:00
rods%netscape.com
99432f125e
temprary fix for combobox dropdowns that jump all around.
...
r=beard a=chofmann bug 19416
git-svn-id: svn://10.0.0.236/trunk@55990 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 22:21:58 +00:00
karnaze%netscape.com
6ffe908f39
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
...
git-svn-id: svn://10.0.0.236/trunk@55939 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:56:31 +00:00
alecf%netscape.com
b45d74d4d2
fix #18420 - deleting last item makes tree jump to top
...
fix was to scroll up one line during the frame destruction process.
To do this, we had to set up the content chain for the row just before the content node was deleted.
r=hyatt
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55895 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 02:08:07 +00:00
mjudge%netscape.com
78a1c7b0e7
massive changes a=jar.hoffman, r=akkana
...
git-svn-id: svn://10.0.0.236/trunk@55878 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:02:08 +00:00
rbs%maths.uq.edu.au
7db2c3e16f
[NOT PART OF THE DEFAULT BUILD]. *Changes to bring MathML in sync with layout (added aPresShell on factory routines). *Postfixed atoms with underscore to avoid conflicts with reserved names in C++ and math.h
...
git-svn-id: svn://10.0.0.236/trunk@55849 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 13:07:59 +00:00
warren%netscape.com
e9f618e116
Fix for leak/bloat stats going negative. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@55840 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 04:27:52 +00:00
erik%netscape.com
3bc497b41c
bug 8801; added some code to pick up font size prefs from prefs file(s);
...
r=ftang; a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55820 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:44:47 +00:00
alecf%netscape.com
c222ee0416
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)
git-svn-id: svn://10.0.0.236/trunk@55745 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 07:20:25 +00:00
pollmann%netscape.com
945d82f2db
Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy
...
git-svn-id: svn://10.0.0.236/trunk@55683 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:07:03 +00:00
evaughan%netscape.com
791292ffa1
Fixed that nasty bug that caused fonts to change when clicking in the URL bar. -r jevering
...
git-svn-id: svn://10.0.0.236/trunk@55676 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:56:28 +00:00
erik%netscape.com
b6eb1a0559
bug 8801; adding new font prefs implementation; r=ftang
...
git-svn-id: svn://10.0.0.236/trunk@55642 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:27:52 +00:00
evaughan%netscape.com
7773253d6f
Fix for PDP+ bug #20712
...
-r beard
git-svn-id: svn://10.0.0.236/trunk@55533 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 05:28:32 +00:00
troy%netscape.com
c42e11df4b
b=20873. Switched to using underlying NSPR arena for frame memory allocation,
...
and reduced the recycler array.
git-svn-id: svn://10.0.0.236/trunk@55527 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:36:08 +00:00
evaughan%netscape.com
edbfd05a90
1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
...
-r Troy
git-svn-id: svn://10.0.0.236/trunk@55520 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 03:36:05 +00:00
rods%netscape.com
af658423e2
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
git-svn-id: svn://10.0.0.236/trunk@55485 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 00:05:23 +00:00
rods%netscape.com
c5c2e469e6
Should have left off the ":"
...
r=self
git-svn-id: svn://10.0.0.236/trunk@55463 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:05:52 +00:00
rods%netscape.com
34b37eb441
adding :-moz-option-selected
...
r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@55458 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 22:57:24 +00:00
kin%netscape.com
238a3616c4
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
git-svn-id: svn://10.0.0.236/trunk@55438 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 20:10:18 +00:00
troy%netscape.com
52084caad8
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
git-svn-id: svn://10.0.0.236/trunk@55424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 15:49:53 +00:00
nisheeth%netscape.com
f599ff75ef
Enable save/restore for frame state.
...
git-svn-id: svn://10.0.0.236/trunk@55414 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 09:03:16 +00:00
nisheeth%netscape.com
3785d66606
Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
...
git-svn-id: svn://10.0.0.236/trunk@55409 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 07:44:18 +00:00
rods%netscape.com
dc5c34441e
Added block mgr flag to combo and list frame and their internal SelectArea frame
...
r=(at troy's suggestion), bug 19382
git-svn-id: svn://10.0.0.236/trunk@55381 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:43:26 +00:00
hyatt%netscape.com
6663542fca
Treecells can now have src set on them for images.
...
git-svn-id: svn://10.0.0.236/trunk@55365 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 09:21:25 +00:00
hyatt%netscape.com
3d70eed61d
Removing build warnings.
...
git-svn-id: svn://10.0.0.236/trunk@55335 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 04:57:13 +00:00
hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
sspitzer%netscape.com
d53721b599
fix warning.
...
git-svn-id: svn://10.0.0.236/trunk@55313 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 21:37:38 +00:00
tbogard%aol.net
067920c238
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.
git-svn-id: svn://10.0.0.236/trunk@55175 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:24:22 +00:00
kmcclusk%netscape.com
d3a24645a8
Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55120 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:06:32 +00:00
akkana%netscape.com
87d7b8f23c
Forgot to add the idl file to the makefile
...
git-svn-id: svn://10.0.0.236/trunk@55100 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:36:34 +00:00
sfraser%netscape.com
ad4471e3c6
Add nsISelectionController.idl for akkana.
...
git-svn-id: svn://10.0.0.236/trunk@55097 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:31:17 +00:00
akkana%netscape.com
f6184abf8e
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
git-svn-id: svn://10.0.0.236/trunk@55083 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:45:21 +00:00
pierre%netscape.com
c7a56395b0
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.
...
git-svn-id: svn://10.0.0.236/trunk@55057 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:19:16 +00:00
danm%netscape.com
9bfb5a41b9
adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@54950 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 22:35:33 +00:00