Граф коммитов

4630 Коммитов

Автор SHA1 Сообщение Дата
pierre%netscape.com 62bf433a35 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
kmcclusk%netscape.com 5ae11d815b Defer invalidates using PL_event so they can be combined with reflow invalidates. This improves performances by reducing the number of paint messages and eliminates flicker bug 36849 sr=roc+moz@cs.cmu.edu r=rods@netscape.com 2001-01-20 04:59:39 +00:00
axel%pike.org 8648842440 not part of build, code by peterv, r=me, fixing XPathProcessor, nsISynchLoader, cleanup 2001-01-19 21:24:44 +00:00
jst%netscape.com ca95f73574 Fixing bug 54780. Checking in patch from heikki@netscape.com that makes nsDOMImplementation::CreateDocument() return the return value from NS_NewDOMDocument() instead of just ignoring it. r=me, r=disttsc@bart.nl, sr=none (trivial change). 2001-01-19 07:56:38 +00:00
saari%netscape.com 415d201213 Fix for 54406, tabbing through links with multiple frames doesn't work. r=byrner, sr=waterson 2001-01-19 01:28:27 +00:00
buster%netscape.com 6a93e50850 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
2001-01-16 22:10:04 +00:00
blakeross%telocity.com c72ba88ee8 Fix 65025: scrollbars in Mac Classic are wrong color. patch by lordpixel. r=blake sr=blizzard 2001-01-16 01:27:20 +00:00
axel%pike.org bcbac73b27 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) 2001-01-12 20:06:48 +00:00
bratell%lysator.liu.se 76de73b0fc Cleanup of the HTML -> plain text converter. Bug 62189. r=anthonyd@netscape.com sr=vidur@netscape.com 2001-01-12 07:26:39 +00:00
rods%netscape.com be43d5e2a0 must return NS_OK from DOM calls, this will make the button look enabled when enabled
Bug 63722 r=attinasi sr=buster
2001-01-11 15:14:47 +00:00
jst%netscape.com adf202b502 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 2001-01-10 22:41:47 +00:00
akkana%netscape.com 21558c5361 42452,61173: output formatted lists even in unformatted plaintext output. r=bratell, sr=sfraser 2001-01-10 22:08:08 +00:00
heikki%netscape.com b119e95db4 Some raw interface pointers to nsCOMPtrs, potential null pointer access fix, fixing two wrong eventStructTypes. No bug number. r=saari, sr=waterson. 2001-01-10 20:21:09 +00:00
jst%netscape.com 06ad76ab78 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 2001-01-10 05:11:05 +00:00
ben%netscape.com c85b487427 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
2001-01-10 01:08:23 +00:00
anthonyd%netscape.com 101cc14924 fix for bug #59003 fix for keybindings
sr=kin@netscape.com
r=akkana@netscape.com
2001-01-09 23:22:56 +00:00
sfraser%netscape.com a0dda75954 Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin 2001-01-09 22:47:02 +00:00
anthonyd%netscape.com dbd36fbbfb bug fix for 62796
sr=kin@netscape.com
a=jfrancis@netscape.com
r=jst@netscape.com
2001-01-09 21:44:35 +00:00
dcone%netscape.com 3b139c38ef Took outsome debug code which snuck in. 2001-01-09 20:41:05 +00:00
jst%netscape.com 987e96df6b Removing declaration of a function that is no longer in mozilla. 2001-01-09 05:26:22 +00:00
jst%netscape.com 15e7a09cce Removing duplicated code from layout, nsDOMDocumentType does the same things nsXMLDocumentType does and the former is the one that is used. 2001-01-09 05:13:10 +00:00
jst%netscape.com b74658e1ff 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 2001-01-09 02:53:33 +00:00
disttsc%bart.nl 8865de7afe Add support for showing keycode (VK_FOO) accelerators in menuitems. bug=47426, r=sspitzer,jst,saari, a=hyatt 2001-01-09 01:28:36 +00:00
jst%netscape.com 99150cedb1 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 2001-01-09 01:26:05 +00:00
jst%netscape.com 657a77d24e 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 2001-01-09 00:03:42 +00:00
jst%netscape.com 75f4f0f6f9 Trivial code cleanup that removes the need for a kungFoDeathGrip. r=heikki@netscape.com 2001-01-08 23:43:56 +00:00
jst%netscape.com 360c1f537e Trivial code cleanup, no bug. Removing unused variable and using nsCOMPtr in stead of doing manual addref/release. r=harishd@netscape.com 2001-01-08 22:16:52 +00:00
akkana%netscape.com d53a276b40 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
dcone%netscape.com 0f7ab3cd10 Added nsIPrintContext interface.
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster
2001-01-08 20:26:05 +00:00
pierre%netscape.com 7d4f85337f Not part of the build. Momentarily check in the StyleContext metrics before doing deeper changes. 2001-01-08 00:24:41 +00:00
cls%seawood.org 207f9c6a8c Backing out anthonyd's previous checkin as it is causing text boxes to not work anywhere on at least beos, linux & win32.
Bug #62796
2001-01-07 15:11:50 +00:00
anthonyd%netscape.com 433f8f528a bug fix for 62796 - various range fixes, including a crasher in Range::deleteContents()
sr=kin@netscape.com
r=jst@netscape.com
2001-01-07 04:52:23 +00:00
jst%netscape.com f3491667e7 Fixing bug 64513. Adding missing version number to a contract id. r=blakeross@telocity.com 2001-01-07 03:06:19 +00:00
bryner%uiuc.edu 7b1af9e0fe 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. 2001-01-06 05:58:47 +00:00
jst%netscape.com b1ebf176a1 Fixing regression introduced in my huge checkin a few weeks ago, backing out the change I made while doing some code cleanup/reorg 2001-01-05 23:26:05 +00:00
blakeross%telocity.com f7bc22e0b4 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 2001-01-05 23:06:09 +00:00
heikki%netscape.com 0c4e47bf44 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. 2001-01-05 00:35:20 +00:00
bryner%uiuc.edu d1f174bb11 Bug 62763 - null check to prevent crash when mousewheel scrolling a textarea with style overflow:hidden. r=sspitzer, sr=tor. 2001-01-04 22:24:07 +00:00
rods%netscape.com edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
heikki%netscape.com c97d0a8243 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. 2001-01-04 00:30:11 +00:00
cmanske%netscape.com 7db91fe68d Fixed selecting multiple rows, columns. Bug 64093, r=mjudge, sr=kin,sfraser 2001-01-04 00:24:39 +00:00
akkana%netscape.com 37986bc27c 56072: fix ctrl-left/right bindings on Unix. r=timeless,jag.anthonyd; a=kin 2001-01-04 00:01:34 +00:00
attinasi%netscape.com 5fbed3e0c0 Removed the bogus file-extension-as-image-type text from the title. b=47891 r=dcone sr=buster 2001-01-03 23:37:28 +00:00
attinasi%netscape.com b2c258ed3c Fixed leak in StyleContextCache: destructor was not cleaning up hash table entries. r=dbaron sr=buster b=63627 2001-01-02 23:13:49 +00:00
jst%netscape.com 96702bc8a2 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 2001-01-01 20:54:38 +00:00
dbaron%fas.harvard.edu caa9658024 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
heikki%netscape.com 03c0f143a1 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. 2000-12-27 23:48:10 +00:00
blakeross%telocity.com 7d3fb8a274 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 2000-12-27 08:41:29 +00:00
anthonyd%netscape.com 795524ba64 fix for bug#58028 - Range CompareBoundaryPoints returning incorrect values
r=jst,kin
a=kin
2000-12-27 00:37:01 +00:00
jst%netscape.com 2539c465b6 Removing unnecessary include files and forward declarations. 2000-12-26 01:21:25 +00:00
jst%netscape.com 6002d6944f Removing unused CID and doing some whitespace cleanup. 2000-12-26 01:01:41 +00:00
jst%netscape.com 671815e49a Removing dead code and unused member variables from nsHTMLDocument, r=timeless@mac.com. Oh, and wrap nsHTMLDocument::MatchLayers() in #ifdef NS_IMPLEMENT_DOCUMENT_LAYERS 2000-12-26 00:39:42 +00:00
jst%netscape.com ccf4483775 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 2000-12-24 01:52:05 +00:00
jst%netscape.com 469f98b907 More mac bustage fixes... 2000-12-23 13:32:28 +00:00
jst%netscape.com 9d288d841d One more attempt at fixing the mac redness. 2000-12-23 12:57:59 +00:00
jst%netscape.com 9b7f6623ab Fixing nsINameSpace leak introduced in my last checkin. 2000-12-23 12:14:41 +00:00
jst%netscape.com 0def54d99d Attempting to fix mac bustage. 2000-12-23 11:59:05 +00:00
jst%netscape.com 3c2288e0b9 Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com. 2000-12-23 10:56:31 +00:00
mkaply%us.ibm.com 6767d8308d OS/2 TB breakage
PR_CALLBACK
2000-12-22 02:39:03 +00:00
attinasi%netscape.com e3de75832c Turning the Style Context FastCache back on. a=hyatt@netscape, reviewed previously by pierre@netscape.com 2000-12-21 23:34:44 +00:00
cmanske%netscape.com f731cf305a Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser 2000-12-20 22:13:54 +00:00
leaf%mozilla.org c7984c2caa backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
hyatt%netscape.com 176da11932 fix 61471, a=ben 2000-12-20 07:25:19 +00:00
cmanske%netscape.com b6319b5e1c Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage) 2000-12-20 03:15:16 +00:00
cmanske%netscape.com 356492b2a7 Trying to fix speedracer build bustage 2000-12-20 02:56:17 +00:00
cmanske%netscape.com 3313e50daa Table selection work (part of b=57863): Moved param for GetTableSelectionDate from .h to .idl, requiring change from PRUint32 to PRInt16 for all users. Table Cell ranges are now added in document order (location in table) when selecting multiple cells. Refactored table selection methods and fixed leaks. r=mjudge, sr=kin 2000-12-20 01:36:41 +00:00
dbaron%fas.harvard.edu 556384e922 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=brendan@mozilla.org 2000-12-17 16:02:58 +00:00
jst%netscape.com 49aacd78f8 Fix a refcounting screwup I caused in my last checkin. r=pavlov 2000-12-16 23:38:56 +00:00
attinasi%netscape.com 95bcfca9fc Turned on Style Context Data Sharing. b=39618, r=pierre, sr=hyatt 2000-12-15 06:09:50 +00:00
jst%netscape.com 90ec69406d Fixing bug 62160, accessing ins or del elements from JS didn't work and caused a crash in the JS GC later on. sr=scc@mozilla.org, r=ben@netscape.com 2000-12-15 05:48:19 +00:00
jst%netscape.com 82295066c0 Adding protection for the casae where there's no root element in a document, bug 58477. r=blakeross@telocity.com, sr=scc@mozilla.org 2000-12-14 22:37:22 +00:00
hyatt%netscape.com e956a14459 Fix mutation events in XUL. r=hewitt, a=ben 2000-12-14 10:14:02 +00:00
hyatt%netscape.com 14719259ef Fix for 62301. r=hewitt, sr=ben 2000-12-14 09:32:39 +00:00
jst%netscape.com 1196cb233f Backing out my last change here, this change didn't do what it was supposed to do, not even close. 2000-12-14 06:16:39 +00:00
sfraser%netscape.com e0b33dce98 More useful error message when an XML bindings file fails to load. r=waterson, sr=hyatt 2000-12-14 02:32:26 +00:00
jst%netscape.com 1bd04c173d Checking in fix for annoying asserts on startup caused by a doctype token problem in the parser that was introduced yesterday, casting char * to PRUnichar * just aint a good idea (although that was only part of the problem). Fix done mostly by heikki@netscape.com, r=heikki, harishd, sr=me. 2000-12-14 02:30:12 +00:00
vidur%netscape.com 4f62c23956 Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
vidur%netscape.com 0a4eedc07d Implementation of ReadSegments to support less copying in the parser. r=rpotts, sr=jst 2000-12-12 21:57:47 +00:00
heikki%netscape.com 7ff1e2bfe0 Bug 51218, problems with DOCTYPE handling. r=harishd, a=vidur. 2000-12-11 22:21:06 +00:00
rods%netscape.com 01c76373c3 smoketest blocker,
an event is cancelled when it is equal to nsEventStatus_eConsumeNoDefault
a=joki
2000-12-11 20:07:50 +00:00
rods%netscape.com c543ccf234 removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460
2000-12-10 16:05:29 +00:00
hyatt%netscape.com 4ed7ab545c Fixing linux build bustage 2000-12-10 09:47:05 +00:00
hyatt%netscape.com 957686ba6a Speeding up retrieval of anonymous nodes by removing a redundant copy. Patched bug in
insertion point retrieval. a=ben@netscape.com
2000-12-10 09:23:43 +00:00
hyatt%netscape.com b776af02af Added support for fieldset and legend. Not used by default.
a=ben@netscape.com
2000-12-10 09:23:11 +00:00
hyatt%netscape.com eea715dc3f Added Pref control for XBL forms.
r=jst@netscape.com, a=ben@netscape.com
2000-12-10 09:20:40 +00:00
hyatt%netscape.com c2919eaadb Adding support for box objects to XML and HTML. Fixed focus bug with Generic Elements
r=jst@netscape.com, a=ben@netscape.com
2000-12-10 09:19:59 +00:00
hyatt%netscape.com 422723667a Adding support for box objects to XML and HTML. Reduced size of XUL content nodes by
4 bytes. r=jst@netscape.com, a=ben@netscape.com
2000-12-10 09:18:57 +00:00
disttsc%bart.nl b1bfdfa3d0 Remove titledbutton frame (wasn't built) and titledbutton atom, bug=57751, r=ben, a=hyatt 2000-12-09 12:36:07 +00:00
bryner%uiuc.edu e3a92267ce Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt. 2000-12-09 07:28:19 +00:00
dbaron%fas.harvard.edu fa7d014c05 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:46:08 +00:00
dbaron%fas.harvard.edu 2b2160f1b0 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:21:51 +00:00
jst%netscape.com 03266140d5 Fixing bug 57466. XML documents need to do principal fixup on redirect. sr=vidur, r=mstolts, r=pollmann. 2000-12-09 02:04:36 +00:00
attinasi%netscape.com d97aa7f2cb Changes to put style data into the layout regression data output. r=karnaze, a=waterson 2000-12-07 15:31:40 +00:00
hyatt%netscape.com d4bd87ea0d Big XUL landing. Fixed bug with button triggering on spacebar, fixed numerous tree bugs to enable intrinsic string sizing and XBL-derived trees with custom tags. a=ben 2000-12-07 10:18:40 +00:00
hyatt%netscape.com a809cb4755 Big XBL landing. Fixes numerous XBL bugs. a=ben 2000-12-07 10:11:21 +00:00
hyatt%netscape.com 021da9b1d3 More fun with XBL. Not used in build. a=ben 2000-12-07 09:52:13 +00:00
hyatt%netscape.com 6147067db4 XBL forms experiments. Testing the water to see what XBL can do right now. Not used as part of build. a=ben 2000-12-06 22:50:53 +00:00
blakeross%telocity.com 68cf67e019 Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. patch by lordpixel@mac.com. r=ben sr=blizzard 2000-12-05 21:49:42 +00:00
dbaron%fas.harvard.edu 7ccca40aab Fix leak of atom and fix return value propagation from SetMedia. b=58697 r=pierre@netscape.com sr=waterson@netscape.com 2000-12-02 15:53:42 +00:00
hyatt%netscape.com 330117b36e Making sure resource URIs are also globally cached by XBL (in addition to chrome URIs). a=ben 2000-12-02 10:34:52 +00:00