4571 Commits

Author SHA1 Message Date
buster%netscape.com
31a79a4925 bug 56432 ()
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84973 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:10:04 +00:00
blakeross%telocity.com
1d5e9edb82 Fix 65025: scrollbars in Mac Classic are wrong color. patch by lordpixel. r=blake sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@84951 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 01:27:20 +00:00
axel%pike.org
8d208bdc0b not part of build, code by axel@pike.org, r=peterv; code by peterv@netscape.com, r=me. Fixing 59937, xpath function lib complete, 59649, 60059, 47720; building windows standalone, 46640; general code cleanup, fixing warnings; XPathProcessor and XSLTProcessor available to JS (work in progress)
git-svn-id: svn://10.0.0.236/trunk@84878 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 20:06:48 +00:00
bratell%lysator.liu.se
4d3ab899b1 Cleanup of the HTML -> plain text converter. Bug 62189. r=anthonyd@netscape.com sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84848 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 07:26:39 +00:00
rods%netscape.com
89f403c708 must return NS_OK from DOM calls, this will make the button look enabled when enabled
Bug 63722 r=attinasi sr=buster


git-svn-id: svn://10.0.0.236/trunk@84798 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 15:14:47 +00:00
jst%netscape.com
4cb696f69c Fixing bug 63967. Fixing a crash that happened when the .src of an image was set and the base URL was not available. r=timeless@mac.com, disttsc@bart.nl, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84743 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 22:41:47 +00:00
akkana%netscape.com
509c902a05 42452,61173: output formatted lists even in unformatted plaintext output. r=bratell, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84740 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 22:08:08 +00:00
heikki%netscape.com
a03af97a73 Some raw interface pointers to nsCOMPtrs, potential null pointer access fix, fixing two wrong eventStructTypes. No bug number. r=saari, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@84730 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 20:21:09 +00:00
jst%netscape.com
1298a86575 Fixing bug 60920. Adding type cheks to the document.form.select.options[n] setter so that we don't crash if someone tries to set the value to an invalid type (i.e. not a HTMLOptionElement). sr=brendan@mozilla.org, r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84715 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 05:11:05 +00:00
ben%netscape.com
65e5cb111d bug 56719, support deep merging for XUL overlays; 57108, remove the hidden form
from all XUL documents and remove the document.controls collection that
referenced hidden form's elements collection. r=waterson@netscape.com,
a=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84689 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 01:08:23 +00:00
anthonyd%netscape.com
1ff5aa2292 fix for bug #59003 fix for keybindings
sr=kin@netscape.com
r=akkana@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84680 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:22:56 +00:00
sfraser%netscape.com
4e7e05789b Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin
git-svn-id: svn://10.0.0.236/trunk@84675 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:47:02 +00:00
anthonyd%netscape.com
32339edfc0 bug fix for 62796
sr=kin@netscape.com
a=jfrancis@netscape.com
r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84669 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:44:35 +00:00
dcone%netscape.com
ec87b2a0a4 Took outsome debug code which snuck in.
git-svn-id: svn://10.0.0.236/trunk@84660 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:41:05 +00:00
jst%netscape.com
35375fad3c Removing declaration of a function that is no longer in mozilla.
git-svn-id: svn://10.0.0.236/trunk@84643 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:26:22 +00:00
jst%netscape.com
4f07baaecf Removing duplicated code from layout, nsDOMDocumentType does the same things nsXMLDocumentType does and the former is the one that is used.
git-svn-id: svn://10.0.0.236/trunk@84641 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:13:10 +00:00
jst%netscape.com
4b33676b31 Fixing bug 64642. This is a regression caused in my large content code reorg/cleanup that I did a few weeks ago, SetDocument on a from control was was forwarding the call to the wrong base class, it was calling nsGenericElement::SetDocument() in stead of nsGenericHTMLElement::SetDocument() and that caused style attributes to not get reparsed when form controls were added to a document. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84634 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 02:53:33 +00:00
disttsc%bart.nl
72b07c9ffc Add support for showing keycode (VK_FOO) accelerators in menuitems. bug=47426, r=sspitzer,jst,saari, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@84627 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 01:28:36 +00:00
jst%netscape.com
5ba9953b81 Fixing bug 63943. Accessing .offsetXXX properties on elements must call FlushPendingNotifications() on the document and not only on the pres shell to make sure the sink flushes all its content so that frames exists for all elements. r=heikki@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84626 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 01:26:05 +00:00
jst%netscape.com
f26965ded2 Code cleanup, no bug. Make the implementations of methods whose return type is declared as NS_IMETHOD return NS_IMETHODIMP and not just nsresult. r=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84616 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 00:03:42 +00:00
jst%netscape.com
c57fef481e Trivial code cleanup that removes the need for a kungFoDeathGrip. r=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84615 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:43:56 +00:00
jst%netscape.com
1f3e4f888b Trivial code cleanup, no bug. Removing unused variable and using nsCOMPtr in stead of doing manual addref/release. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84601 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:16:52 +00:00
akkana%netscape.com
13ae4ba935 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84590 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:01:29 +00:00
dcone%netscape.com
5556760ab2 Added nsIPrintContext interface.
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster


git-svn-id: svn://10.0.0.236/trunk@84586 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 20:26:05 +00:00
pierre%netscape.com
b2bb962fc9 Not part of the build. Momentarily check in the StyleContext metrics before doing deeper changes.
git-svn-id: svn://10.0.0.236/trunk@84539 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 00:24:41 +00:00
cls%seawood.org
c6df0ee30a Backing out anthonyd's previous checkin as it is causing text boxes to not work anywhere on at least beos, linux & win32.
Bug #62796


git-svn-id: svn://10.0.0.236/trunk@84532 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 15:11:50 +00:00
anthonyd%netscape.com
df8ca35e51 bug fix for 62796 - various range fixes, including a crasher in Range::deleteContents()
sr=kin@netscape.com
r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84513 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 04:52:23 +00:00
jst%netscape.com
c282b18e91 Fixing bug 64513. Adding missing version number to a contract id. r=blakeross@telocity.com
git-svn-id: svn://10.0.0.236/trunk@84509 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 03:06:19 +00:00
bryner%uiuc.edu
4b72ed8f2f Bug 49273 - always set the hover state on content when we get a MOUSE_ENTER event. This prevents problems with some window managers that send MOUSE_LEAVE and MOUSE_ENTER events before ButtonPress events. r=saari, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@84469 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 05:58:47 +00:00
jst%netscape.com
dc0cca8f46 Fixing regression introduced in my huge checkin a few weeks ago, backing out the change I made while doing some code cleanup/reorg
git-svn-id: svn://10.0.0.236/trunk@84444 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:26:05 +00:00
blakeross%telocity.com
96ac363462 Fix 54963: mousewheel text sizing not bounded, and lower upper bound (to 2000%). patch by Jonas Sicking (sicking@bigfoot.com). r=bryner,blake a=ben
git-svn-id: svn://10.0.0.236/trunk@84440 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:06:09 +00:00
heikki%netscape.com
d466758782 Bug 45420, createCDATASection should check for input ']]>' and some null pointer checks. Removed a bogus comment. Original patch from Taras Tielkes, needed to modify a little because we are now using nsAReadableStrings. r=jst, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@84394 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 00:35:20 +00:00
bryner%uiuc.edu
2855615802 Bug 62763 - null check to prevent crash when mousewheel scrolling a textarea with style overflow:hidden. r=sspitzer, sr=tor.
git-svn-id: svn://10.0.0.236/trunk@84386 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 22:24:07 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
heikki%netscape.com
42e783bf26 Bug 63560, XML content sink was not adding script element contents to the content model. Includes also minor optimizations and fixes 2 compiler warnings. r=harishd, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@84335 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:30:11 +00:00
cmanske%netscape.com
34f19b7ba3 Fixed selecting multiple rows, columns. Bug 64093, r=mjudge, sr=kin,sfraser
git-svn-id: svn://10.0.0.236/trunk@84329 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:24:39 +00:00
akkana%netscape.com
98b28f736f 56072: fix ctrl-left/right bindings on Unix. r=timeless,jag.anthonyd; a=kin
git-svn-id: svn://10.0.0.236/trunk@84317 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:01:34 +00:00
attinasi%netscape.com
07d48e660b Removed the bogus file-extension-as-image-type text from the title. b=47891 r=dcone sr=buster
git-svn-id: svn://10.0.0.236/trunk@84312 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:37:28 +00:00
attinasi%netscape.com
fe76e144b4 Fixed leak in StyleContextCache: destructor was not cleaning up hash table entries. r=dbaron sr=buster b=63627
git-svn-id: svn://10.0.0.236/trunk@84272 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:13:49 +00:00
jst%netscape.com
ffe4f795a3 Fixing bug 57534. document.open() is defined to not return anything in the DOM spec but for backwards compatibility it needs to return the document itself. r=blakeross@telocity.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84254 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 20:54:38 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
heikki%netscape.com
885b101f3f Bug 45627 and bug 45552. XMLSerializer to deal better with empty elements, special characters, elements from the HTML namespace and namespaces in general, and processing instructions. Removed a lot of duplicate code in XML Extras component, and made several small optimizations with nsCOMPtr initializations. r=vidur, a=jst.
git-svn-id: svn://10.0.0.236/trunk@84112 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 23:48:10 +00:00
blakeross%telocity.com
619ef3ec56 Fix 63721: removing extraneous code from nsHTMLButtonElement.cpp. It's Dead Code Removal week, so I'm just doing my part. r=jst sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84093 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 08:41:29 +00:00
anthonyd%netscape.com
a1ab735a6f fix for bug#58028 - Range CompareBoundaryPoints returning incorrect values
r=jst,kin
a=kin


git-svn-id: svn://10.0.0.236/trunk@84077 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:37:01 +00:00
jst%netscape.com
6a30c53238 Removing unnecessary include files and forward declarations.
git-svn-id: svn://10.0.0.236/trunk@84063 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:21:25 +00:00
jst%netscape.com
f5874fe4bc Removing unused CID and doing some whitespace cleanup.
git-svn-id: svn://10.0.0.236/trunk@84062 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:01:41 +00:00
jst%netscape.com
66de3dc038 Removing dead code and unused member variables from nsHTMLDocument, r=timeless@mac.com. Oh, and wrap nsHTMLDocument::MatchLayers() in #ifdef NS_IMPLEMENT_DOCUMENT_LAYERS
git-svn-id: svn://10.0.0.236/trunk@84061 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 00:39:42 +00:00
jst%netscape.com
1433395ab5 Fixing a change I overlooked in my last big checkin that caused a crash in some cases where forms were accessed from JS. r=jag
git-svn-id: svn://10.0.0.236/trunk@84053 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 01:52:05 +00:00
jst%netscape.com
2c48463883 More mac bustage fixes...
git-svn-id: svn://10.0.0.236/trunk@84041 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 13:32:28 +00:00
jst%netscape.com
4f9d57512a One more attempt at fixing the mac redness.
git-svn-id: svn://10.0.0.236/trunk@84040 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 12:57:59 +00:00