Commit Graph
2092 Commits
Author SHA1 Message Date
nisheeth@netscape.com 247251a68f PRTime is a struct on the Mac. I'm going to need to time to make changes so that everything works on the Mac. Commenting out the offending code for now as it is not used in the default case. 1999-12-23 03:47:02 +00:00
nisheeth@netscape.com f246541155 Attempt to fix Mac bustage. 1999-12-23 03:08:57 +00:00
nisheeth@netscape.com e1d3f81e71 a=donm, r=vidur.
- Added support for two prefs:
a) a boolean pref "layout.reflow.async" that turns asynchronous reflow on/off.  The default is off.
b) an integer pref "layout.reflow.timeslice" that specifies a reflow timeslice, in microseconds.  When asynchronous reflow is on, the reflow command processing loop in ProcessReflowCommands() tries to return to the event loop if the time spent processing reflow commands exceeds this timeslice.  The default value is 1 second.
1999-12-23 02:02:33 +00:00
vidur@netscape.com 7bf8303b01 Fix for bug 22344. Removing FMMs in nsDOMAttribute.cpp. a=don r=kin 1999-12-22 22:44:30 +00:00
troy@netscape.com 193aa3fb45 b=1994. Changed to respect alt="" and use it 1999-12-22 21:26:14 +00:00
pierre@netscape.com 83ae2d3149 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. 1999-12-22 11:30:22 +00:00
pierre@netscape.com 37a1ed2e42 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 d4988b06cc 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 f57951cbaf 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 0bbf656a41 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 1999-12-22 01:54:04 +00:00
vidur@netscape.com 3d232a9ad8 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 2e04e1dd4e 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
tbogard@aol.net 75823eb78c Fixing some places when talking to the webshell object to start talking through the new docshell interfaces. 1999-12-18 02:09:29 +00:00
alecf@netscape.com eddd1bab6c 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 ce1e7462b9 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. 1999-12-16 22:48:02 +00:00
dcone@netscape.com 261126218b Used the height and width of the page returned from the nsDeviceContext instead of hard coded values. r=buster 1999-12-16 15:15:23 +00:00
mjudge@netscape.com 532aa9c0f7 new idl for line up/down scrolling 1999-12-15 03:56:32 +00:00
mjudge@netscape.com 020966f5bc 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. 1999-12-15 03:54:52 +00:00
danm@netscape.com 7b6b472650 check for null context in SetDocument. part of fix for bug 19302. r:hyatt a:chofmann 1999-12-15 02:15:57 +00:00
selmer@netscape.com b7e3cb7d7b bug 18001 assertion & crash on treeTest1.xul. r=hyatt a=chofmann 1999-12-14 22:30:41 +00:00
rods@netscape.com 3954688ee2 temprary fix for combobox dropdowns that jump all around.
r=beard a=chofmann bug 19416
1999-12-14 22:21:58 +00:00
karnaze@netscape.com f52136224a incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann 1999-12-13 22:56:31 +00:00
alecf@netscape.com 35e434c912 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
1999-12-11 02:08:07 +00:00
mjudge@netscape.com 7c63f70297 massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +00:00
rbs@maths.uq.edu.au 0e0a2bd538 [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 1999-12-10 13:07:59 +00:00
warren@netscape.com 0212fba9bf Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
erik@netscape.com 7c0b7b81ba bug 8801; added some code to pick up font size prefs from prefs file(s);
r=ftang; a=chofmann
1999-12-09 22:44:47 +00:00
alecf@netscape.com 4e2251d703 fix for #18420 - scrolling screws up when selection changes
fix oncontentinserted and oncontentremoved so that mTopFrame is set correctly, and don't be over-zealous about destroying frames.
r=hyatt (well, really written mostly by hyatt and digested by me)
1999-12-08 07:20:25 +00:00
pollmann@netscape.com eb98bd7502 Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy 1999-12-08 02:07:03 +00:00
evaughan@netscape.com 04ffa440cb Fixed that nasty bug that caused fonts to change when clicking in the URL bar. -r jevering 1999-12-08 01:56:28 +00:00
erik@netscape.com eb0d360fd3 bug 8801; adding new font prefs implementation; r=ftang 1999-12-07 23:27:52 +00:00
evaughan@netscape.com bac34cf1a3 Fix for PDP+ bug #20712
-r beard
1999-12-07 05:28:32 +00:00
troy@netscape.com 71df55fc17 b=20873. Switched to using underlying NSPR arena for frame memory allocation,
and reduced the recycler array.
1999-12-07 04:36:08 +00:00
evaughan@netscape.com e9aaa04ce3 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 061f6131ca added a call in the creation of selects (comboboxes):
nsHTMLContainerFrame::CreateViewForFrame(aPresContext, comboboxFrame,
                                                 aStyleContext, PR_FALSE);
so we get a view when we are absolutely positioned.
r=buster bug 19382
1999-12-07 00:05:23 +00:00
rods@netscape.com 4b84f74642 Should have left off the ":"
r=self
1999-12-06 23:05:52 +00:00
rods@netscape.com 507d41f5bc adding :-moz-option-selected
r=kmcclusk
1999-12-06 22:57:24 +00:00
kin@netscape.com f1907eb47c Fix for bug #20106: [DOGFOOD] caret dissapears after some edit operations
Modified nsRangeList::GetFrameForNodeOffset() to handle case where aOffset
is >= to number of children.
r=mjudge@netscape.com
1999-12-06 20:10:18 +00:00
troy@netscape.com 7abe460751 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 beee29664a Enable save/restore for frame state. 1999-12-06 09:03:16 +00:00
nisheeth@netscape.com aafbc5d74c Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed. 1999-12-06 07:44:18 +00:00
rods@netscape.com 1bf93202ea Added block mgr flag to combo and list frame and their internal SelectArea frame
r=(at troy's suggestion), bug 19382
1999-12-05 20:43:26 +00:00
hyatt@netscape.com 2a888b93fe Treecells can now have src set on them for images. 1999-12-05 09:21:25 +00:00
hyatt@netscape.com 500f964671 Removing build warnings. 1999-12-05 04:57:13 +00:00
hyatt@netscape.com 9a7a1b27f7 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
sspitzer@netscape.com e3cde9765e fix warning. 1999-12-04 21:37:38 +00:00
tbogard@aol.net 25baa5ff98 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
kmcclusk@netscape.com 642a715a41 Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com 1999-12-03 00:06:32 +00:00
akkana@netscape.com 89e6422f81 Forgot to add the idl file to the makefile 1999-12-02 22:36:34 +00:00
sfraser@netscape.com 08fac5a0c1 Add nsISelectionController.idl for akkana. 1999-12-02 22:31:17 +00:00