Commit Graph
5534 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 575f032032 Removing warnings. a=don r=waqar 1999-12-22 22:47:15 +00:00
troy@netscape.com 193aa3fb45 b=1994. Changed to respect alt="" and use it 1999-12-22 21:26:14 +00:00
rods@netscape.com c524ddd3d0 turned off some debug rods only 1999-12-22 20:03:59 +00:00
rods@netscape.com 6fcf5327ac Fixed the edge case where the select may have zero
options or one optionwith no lable and no content and it sizes out to be zero
high also fixed twhere visibility was being check incorrectly
r=kmcclusk
1999-12-22 20:03:03 +00:00
rods@netscape.com 78ba4514f2 fixed visibility check error
r=kmcclusk bug=21701
1999-12-22 19:54:21 +00:00
rods@netscape.com 29c56f37d7 turned off some rods debug output and fixed visibility check error
r=kmcclusk bug=21701
1999-12-22 19:52:56 +00:00
rods@netscape.com 8cdf3a4059 changed clipping in Paint to be intersect instead of replace
r=kmcclusk
1999-12-22 19:50:47 +00:00
rods@netscape.com ca64e4ae5d Fixed the edge case where the select may have zero options or one option
with no lable and no content and it sizes out to be zero high
also fixed twhere visibility wasbeing check incorrectly
r=kmcclusk
1999-12-22 19:49:36 +00:00
rods@netscape.com bb9b8457e2 Added experimental ifdef;ed but turned for reducing the number of resize reflows,
basically we ignore them and pass back our most recently reflowed size
r=karnaze bug=22063
1999-12-22 19:46:28 +00:00
rods@netscape.com 93b4f9eeca addjusted fonts in several of the form controls. most now inherit
tightened up some of the rules for the select
r=buster,hangus,kmcclusk bug 19426,17303,17114
1999-12-22 19:43:30 +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
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
briano@netscape.com f0bfb0e10e Fix for build breakage on NetBSD/arm. 1999-12-22 03:54:58 +00:00
vidur@netscape.com 9e940187c1 Fix for bug 21122. Don't capitalize the value of the type attribute of list elements for cases in which the case is significant. Fix for bug 20677. Temporary fix that ensures that SetDocument calls percolate down the entire subtree. a=dagley r=nisheeth 1999-12-22 01:55:38 +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
vidur@netscape.com 68ed245f69 Fix for bug 18840. Radio button groups are now reflected as collections in a form's namespace. Added nsIDOMHTMLFormControlList interface and special handling for namedItem method that return a jsval. a=dagley r=pollmann 1999-12-22 01:48:47 +00:00
waterson@netscape.com 4e2962f87a Bug 22305. Fix accounting for style sheets and rule processors; r=buster, a=sdagley 1999-12-22 01:41:42 +00:00
sspitzer@netscape.com 92a5c3ef96 initialize some variables, fix a comment, fix a FMM 1999-12-22 00:41:38 +00:00
hyatt@netscape.com e277038ddb Patch that gets tabbing back into text fields. r=waterson 1999-12-21 19:35:13 +00:00
pinkerton@netscape.com 98386b8937 remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley. 1999-12-21 19:28:15 +00:00
karnaze@netscape.com ad7eb6a3dc new regression tests 1999-12-19 18:55:07 +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
hyatt@netscape.com b54ff28b2e Fixes for 3 PDT+ bugs (THAT'S RIGHT). Bugs 21895, 21832, and 21610. r=mjudge,
a=i'm leaving now for vacation, and i can't find anyone around, but i'm assuming that you
actually want them before January 3rd, so I'm checking them in.
1999-12-18 04:02:28 +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
karnaze@netscape.com ddf6fbe068 new regression test not in the build 1999-12-17 13:33:26 +00:00
buster@netscape.com 21f8a43d73 fixed bugs 21612 ([dogfood] first click doesn't get through to text field)
and 18500 (Can't drag-select in text widget unless focussed first)
This fix does NOT address other focus-related problems having to do with text controls.
r=rickg
a=chofmann
platform testing support=kin,dcone,akkana (THANKS!)
1999-12-17 07:10:10 +00:00
karnaze@netscape.com 201b9110f8 bug 21918 typo in calling InsertRowGroups, r=sdagley,syd 1999-12-17 06:52:37 +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
mscott@netscape.com 5e9bc3f5f0 fix a memory leak involving the global context 1999-12-17 00:46:11 +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
mccabe@netscape.com 9f3d8437f3 Fix to 21900.
#ifdef strftime formatting string "%#c" ('format to 4-digit date string, any format') to "%c" for non-Windows platform, as only Windows accepts, requires or understands that extra '#' to get a 4-digit date.

Thanks to KerryGinn@computer.org for spotting this one.  (document.lastModified came out as "%#c" on a mac.)

r=Pavlov
a=choffman.
1999-12-16 09:06:41 +00:00
karnaze@netscape.com e6d2f07284 bug 21143/21765, collapsed rows/cols not displayng when expanded. 1999-12-16 06:29:50 +00:00
pollmann@netscape.com 86ad214fbe Bug 21013: Add base url to NS_NewURI - this allows forms to be submitted to relative url's. r=pierre a=chofmann My contact info=650.520.3348 1999-12-16 02:51:47 +00:00
karnaze@netscape.com 7d51e2dae1 removed caching of collapsed rows and cols as a likely fix for non reproducable bug 21652. a=hofmann, r=hyatt 1999-12-16 01:51:06 +00:00
saari@netscape.com c7b8feec57 Missed part of my previous checkin to stop double pastes... exporting the event stop dispatch state back out of ngGfxTextControlFrame 1999-12-16 00:43:07 +00:00
hyatt@netscape.com a3b36234ca Fix for bug #21703. r=karnaze, a=chofmann 1999-12-16 00:37:03 +00:00
saari@netscape.com 00c3e11f92 Fix for PDT+ bug 21536. r=hyatt 1999-12-16 00:34:43 +00:00
norris@netscape.com a88ab50fa3 Fix bug 21144 "[DOGFOOD] Executing JS functions in "chrome:" protocol (creating local directories and profiles)"
r=pollmann,a=chofmann
Basically, this just calls a method in the security manager to determine if a page loaded from the document's URI
can be allowed to open a page from the ACTION URI. This is the same check that's currently used on window.open,
for example.
1999-12-15 17:20:31 +00:00
mjudge@netscape.com a7842b57d0 oops forgot to remove 2ND! line from makefile 1999-12-15 05:22:07 +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
pollmann@netscape.com f9b4268a0b Bug 11762: Create a webshell for an iframe even if size is 0x0. r=evaughan a=chofmann 1999-12-15 00:09:10 +00:00
vidur@netscape.com bc1240b526 Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann. 1999-12-14 23:34:17 +00:00
vidur@netscape.com f6bdf8c29e Fix for bug 20737. Get rid of html.css entries for LAYER/ILAYER. Make sure only default (span) content is created for them. a=chofmann r=pollmann. 1999-12-14 23:11:19 +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 d76055f1ca temprary fix for combobox dropdowns that jump all around.
changed the way a temp nsSize was being created.
removed all the dom listener interfaces and code (they weren't being used)
r=beard,self a=chofmann bug 19416, 20957, 19300, 20250
1999-12-14 22:22:00 +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