2816 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
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
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
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
ecaee9783b Bug 22305. Fix leak when replacing cache entry for style sheet and prototype document. r=buster, a=sdagley
git-svn-id: svn://10.0.0.236/trunk@56325 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:42:42 +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
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
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
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
waterson%netscape.com
08cfbca3b4 Bug 21364. Fix document leaks that occur via uncollected script objects: compile scripts against a special global object owned by the prototype document. shaver mostly did this work. r=brendan Bug 21661. Break circular reference between command dispatcher and XUL document. r=saari
git-svn-id: svn://10.0.0.236/trunk@56114 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:06:28 +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
hyatt%netscape.com
a992457306 Fix for 21610. r=waterson
git-svn-id: svn://10.0.0.236/trunk@56078 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 03:19:34 +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
waterson%netscape.com
ceddb6ce58 Bug 21610. Add support to distinguish key binding overlay from normal overlay documents.
git-svn-id: svn://10.0.0.236/trunk@56060 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 23:18:34 +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
mjudge%netscape.com
ed4df3718e oops forgot to remove 2ND! line from makefile
git-svn-id: svn://10.0.0.236/trunk@56037 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 05:22:07 +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
vidur%netscape.com
021a42b33f Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55999 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:34:17 +00:00
vidur%netscape.com
dc826a1336 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.
git-svn-id: svn://10.0.0.236/trunk@55997 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:11:19 +00:00
danm%netscape.com
b5781d5136 deathgrip the event listener manager in HandleEvent. partial fix for bug 21397. r:hyatt a:chofmann
git-svn-id: svn://10.0.0.236/trunk@55968 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 02:29:34 +00:00
pollmann%netscape.com
b78c738e4a Bug 20315: Make non-iso charsets work in frameset documents. Fix 2/2: Propagate charset info from parent frames to children r=ftang a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55936 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:45:06 +00:00
ftang%netscape.com
17cbeb77e7 fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload
git-svn-id: svn://10.0.0.236/trunk@55930 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 21:00:47 +00:00
waterson%netscape.com
9d54abd105 Bug 20724. Atomize short attribute values to avoid string allocation and copying overhead. r=hyatt, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55906 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 18:16:22 +00:00
rjc%netscape.com
b1a59b34b6 Fix PDT+ bug # 21245: add sorting support for <treecolgroup> trags. Review: hyatt, putterman. Approval: chofmann.
git-svn-id: svn://10.0.0.236/trunk@55904 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 08:17:31 +00:00
hyatt%netscape.com
c324cc9a00 Fix for the crash in SendFocusBlur.
git-svn-id: svn://10.0.0.236/trunk@55901 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 05:42:18 +00:00
hyatt%netscape.com
142b602c9a Fix for PDT bug #21247. r=saari, mjudge
git-svn-id: svn://10.0.0.236/trunk@55879 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:06:29 +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
sfraser%netscape.com
a945951480 Fix for bug 21189; first node's content was duplicated with timer-based notifications on. Fix by vidur, r=smfr, a=brendan. Also work around a problem with LL_CMP macros on compilers that don't use long long (NSPR bug 21428).
git-svn-id: svn://10.0.0.236/trunk@55869 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 22:47:39 +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
vidur%netscape.com
7ddd31965b Fix for bug 21271. Check if the current context is the head context in HTMLContentSink::CloseHTML, even though the parser shouldn't let that happen. Fixes crash in Channels dropdown. A=jar R=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55838 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 03:36:50 +00:00
saari%netscape.com
072f9f11f5 Helping to fix 19114 by making a strong ref weak. Potential fix for 19268 by making scrollbars not steal focus. r=hyatt a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55832 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 00:51:50 +00:00
joki%netscape.com
c31311ba6f fix 21337, set modifier keys for generated events. r:brendan a:brendan
git-svn-id: svn://10.0.0.236/trunk@55807 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 21:02:09 +00:00
buster%netscape.com
25d1324f5d bug 21187
fixed the webshell leak in <textarea> and <input type=text|password>
the problem was the new nsWebShell::SetDocument() call was indirectly causing nsHTMLDocument to instantiate a parser
and fire off a parse.  bad circular references ensued.  The fix is to use the "aCommand" param to pass a hint
to the nsHTMLDocument, telling it there's no need to involve a parser.

in the simple case, we no longer leak webshells.  That is, if you open mozilla.exe, look at a page (whether it has a text
control on it or not), and shut down the app, no webshell is leaked.  If I browse around, sometimes we still leak a webshell
somewhere.  I haven't figured out exactly where that is yet.  A guess is history, which is in the process of being reworked
anyway.

r=mscott
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@55796 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 07:18:38 +00:00
vidur%netscape.com
2d4baee02f Partial fix for bug 20645. Rather than just assert on error state, bail out with an error code. Real fix still due from the parser guys, but we don't crash anymore. a=chofmann r=rickg
git-svn-id: svn://10.0.0.236/trunk@55792 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 03:10:22 +00:00
dougt%netscape.com
1131f006d6 fix for 19133. r=waterson, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@55789 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 02:28:43 +00:00
rickg%netscape.com
53f36f30cd unintentionally commited. Backing out
git-svn-id: svn://10.0.0.236/trunk@55774 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 23:05:14 +00:00
rickg%netscape.com
9e042dd8f4 fixed bug 21146; r=buster; a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@55770 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 22:54:08 +00:00
hyatt%netscape.com
1587680a3d Fix for caret problems in Ender text fields. r=saari
git-svn-id: svn://10.0.0.236/trunk@55761 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 20:55:45 +00:00
hyatt%netscape.com
43b6924a32 Fix for the two crashers: 21180 and 21163, r=saari
git-svn-id: svn://10.0.0.236/trunk@55760 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 20:18:16 +00:00