Commit Graph

3179 Commits

Author SHA1 Message Date
waterson%netscape.com
d58070d687 Bug 19033. Wait until the parse is complete to set the 'root' element in the prototype document. This ensures that malformed XUL with too few close-tags won't leave the prototype document with a dangling pointer to a destroyed element. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@56885 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:29:30 +00:00
sspitzer%netscape.com
e111e775da checking in beard's bulletproofing fix for the profile crashers on mac. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@56754 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 21:24:37 +00:00
jfrancis%netscape.com
798e103ac4 fixing unix horkage
git-svn-id: svn://10.0.0.236/trunk@56716 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 04:03:28 +00:00
vidur%netscape.com
7bc5864a19 Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd
git-svn-id: svn://10.0.0.236/trunk@56711 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:06:13 +00:00
blizzard%redhat.com
1f1ce365e8 Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard
git-svn-id: svn://10.0.0.236/trunk@56630 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-30 22:03:58 +00:00
sspitzer%netscape.com
39c4302028 bulletproofing fix for crash reported in #22811
git-svn-id: svn://10.0.0.236/trunk@56605 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 19:28:06 +00:00
sspitzer%netscape.com
dba8f2b061 whoops. when I checked in that warnings fix I accidentally checked in some
changes from bryner for the mouse wheel prefs.  backing my last check in out,
but still fixing the warning.


git-svn-id: svn://10.0.0.236/trunk@56581 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 23:02:38 +00:00
sspitzer%netscape.com
3f096cd0c6 fix warnings
git-svn-id: svn://10.0.0.236/trunk@56571 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:41:57 +00:00
sspitzer%netscape.com
f7440a0d0d fix warnings.
git-svn-id: svn://10.0.0.236/trunk@56570 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:37:29 +00:00
mcafee%netscape.com
52595fb145 Fixing null pointer reference, patch submitted by jst@citec.fr. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@56565 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 08:29:11 +00:00
sspitzer%netscape.com
53d4c796ae only hyatt needs to see his debugging printfs.
git-svn-id: svn://10.0.0.236/trunk@56533 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 07:53:41 +00:00
sspitzer%netscape.com
db432aac87 fix for pierre's warnings. r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@56494 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 18:35:35 +00:00
rjc%netscape.com
9a29a914a5 Small sorting change: always sort {null} items last (after non-null items).
git-svn-id: svn://10.0.0.236/trunk@56485 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 12:01:44 +00:00
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