7639 Commits

Author SHA1 Message Date
vidur%netscape.com
d562441874 Removing warnings. a=don r=waqar
git-svn-id: svn://10.0.0.236/trunk@56444 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:47:15 +00:00
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
rods%netscape.com
4d45458719 turned off some debug rods only
git-svn-id: svn://10.0.0.236/trunk@56405 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 20:03:59 +00:00
rods%netscape.com
79a7eb5a88 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


git-svn-id: svn://10.0.0.236/trunk@56404 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 20:03:03 +00:00
rods%netscape.com
fb5e39b501 fixed visibility check error
r=kmcclusk bug=21701


git-svn-id: svn://10.0.0.236/trunk@56400 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:54:21 +00:00
rods%netscape.com
b475188196 turned off some rods debug output and fixed visibility check error
r=kmcclusk bug=21701


git-svn-id: svn://10.0.0.236/trunk@56399 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:52:56 +00:00
rods%netscape.com
3fcb63ffc0 changed clipping in Paint to be intersect instead of replace
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@56397 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:50:47 +00:00
rods%netscape.com
20b8c791fe 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


git-svn-id: svn://10.0.0.236/trunk@56396 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:49:36 +00:00
rods%netscape.com
ee6753e288 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


git-svn-id: svn://10.0.0.236/trunk@56394 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:46:28 +00:00
rods%netscape.com
91ebb6a147 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


git-svn-id: svn://10.0.0.236/trunk@56392 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:43:30 +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
briano%netscape.com
b12c091510 Fix for build breakage on NetBSD/arm.
git-svn-id: svn://10.0.0.236/trunk@56349 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 03:54:58 +00:00
waterson%netscape.com
eb127bdb43 Fix misuse of nsCOMPtr that was leaking style contexts from the progress meter frame. r=pinkerton, a=sdagley
git-svn-id: svn://10.0.0.236/trunk@56340 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:59:01 +00:00
pinkerton%netscape.com
23a7bfa8d3 forgot to call the inherited base class QI when i rewrote the qi impls. xpmenus work again. a=sdagley.
git-svn-id: svn://10.0.0.236/trunk@56338 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:57:29 +00:00
vidur%netscape.com
7807cb01cf 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
git-svn-id: svn://10.0.0.236/trunk@56334 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:55:38 +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
vidur%netscape.com
e8816c32e3 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
git-svn-id: svn://10.0.0.236/trunk@56330 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:48:47 +00:00
waterson%netscape.com
aac4344739 Bug 22305. Fix accounting for style sheets and rule processors; r=buster, a=sdagley
git-svn-id: svn://10.0.0.236/trunk@56323 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:41:42 +00:00
sspitzer%netscape.com
d2f6e369ba initialize some variables, fix a comment, fix a FMM
git-svn-id: svn://10.0.0.236/trunk@56321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 00:41:38 +00:00
pinkerton%netscape.com
055691d293 2nd fix for bustage, i hope.
git-svn-id: svn://10.0.0.236/trunk@56296 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 20:15:48 +00:00
pinkerton%netscape.com
e7bb4cbb67 fix for bustage, i hope.
git-svn-id: svn://10.0.0.236/trunk@56295 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:56:15 +00:00
hyatt%netscape.com
e91083d770 Patch that gets tabbing back into text fields. r=waterson
git-svn-id: svn://10.0.0.236/trunk@56291 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:35:13 +00:00
pinkerton%netscape.com
df130bfa90 remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley.
git-svn-id: svn://10.0.0.236/trunk@56289 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:28:15 +00:00
saari%netscape.com
3c1b9ef055 Simple check for null fix for a crasher that some people are seeing quite a lot today. It is reflected in bug 22024. R= waterson, a= chofmann
git-svn-id: svn://10.0.0.236/trunk@56259 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 01:12:40 +00:00
karnaze%netscape.com
b74d73db50 new regression tests
git-svn-id: svn://10.0.0.236/trunk@56218 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-19 18:55:07 +00:00
jband%netscape.com
d8d20f7d06 added files: mozilla/layout/base/src/nsLayoutUtils.cpp
git-svn-id: svn://10.0.0.236/trunk@56204 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:30:17 +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
hyatt%netscape.com
66f9e68928 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.


git-svn-id: svn://10.0.0.236/trunk@56179 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 04:02:28 +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
karnaze%netscape.com
48a5d7a6e3 new regression test not in the build
git-svn-id: svn://10.0.0.236/trunk@56146 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 13:33:26 +00:00
buster%netscape.com
c6b9cd5cd6 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!)


git-svn-id: svn://10.0.0.236/trunk@56143 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 07:10:10 +00:00
karnaze%netscape.com
538ae6631f bug 21918 typo in calling InsertRowGroups, r=sdagley,syd
git-svn-id: svn://10.0.0.236/trunk@56142 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 06:52:37 +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
mscott%netscape.com
283b96bec8 fix a memory leak involving the global context
git-svn-id: svn://10.0.0.236/trunk@56123 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:46:11 +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
mccabe%netscape.com
8be12a7ac1 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.


git-svn-id: svn://10.0.0.236/trunk@56089 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 09:06:41 +00:00
karnaze%netscape.com
ea71168fd7 bug 21143/21765, collapsed rows/cols not displayng when expanded.
git-svn-id: svn://10.0.0.236/trunk@56084 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 06:29:50 +00:00
pollmann%netscape.com
54feb63046 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
git-svn-id: svn://10.0.0.236/trunk@56076 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 02:51:47 +00:00
karnaze%netscape.com
9729119ade removed caching of collapsed rows and cols as a likely fix for non reproducable bug 21652. a=hofmann, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@56075 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 01:51:06 +00:00
karnaze%netscape.com
948c3afd00 small change Hyatt discovered and forgot to checkin. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@56074 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 01:45:22 +00:00
saari%netscape.com
167adea29b Missed part of my previous checkin to stop double pastes... exporting the event stop dispatch state back out of ngGfxTextControlFrame
git-svn-id: svn://10.0.0.236/trunk@56072 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 00:43:07 +00:00
hyatt%netscape.com
37ace2ec21 Fix for bug #21703. r=karnaze, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56070 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 00:37:03 +00:00
saari%netscape.com
d975dd1d01 Fix for PDT+ bug 21536. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@56069 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 00:34:43 +00:00
saari%netscape.com
c5b4a238c8 Fix for PDT+ bugs 21602 and 21648. r=joki
git-svn-id: svn://10.0.0.236/trunk@56055 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 22:04:43 +00:00