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

7326 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 5f0d688d44 Use the prototype cache smarter, not harder, for getting sheets. Bug
183859, r=sicking, sr=brendan.
2002-12-11 03:33:40 +00:00
bzbarsky%mit.edu 7a11dca83f Chrome protocol handler should not munge URIs on channel open (and remove some
workarounds around that behavior).  Bug 182124, r=rjc, sr=darin
2002-12-11 03:29:27 +00:00
harishd%netscape.com 5a50d2c541 Avoid unnecessary string copies in nsFixPtr. b=169764, r=heikki, sr=peterv.
** Patch provided by jst@netscape.com **
2002-12-11 01:46:46 +00:00
bzbarsky%mit.edu 934193c384 Resolve possible problem in the unlikely event that we kick off an async load
for a sheet and then kick off a sync load for the same sheet before the async
load completes...  Bug 183299, r=sicking, sr=peterv
2002-12-11 00:28:47 +00:00
bzbarsky%mit.edu a2bf27cfb4 Remove some nsISupportsArray usage in nsSelection in favor of nsCOMArray. Bug
184022, r=timeless, sr=peterv
2002-12-11 00:02:49 +00:00
caillon%returnzero.com 58177694ed 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
alexsavulov%netscape.com 53016edcfa d'oh, missed this in previous checkin for bug 183890 (mea culpa) 2002-12-09 19:15:52 +00:00
alexsavulov%netscape.com 1107b5bc04 fix for bug 183890: this bug was introduced by the fix for bug 147878 that
is an addition to fix for bug 138957 (the form submission deferral in JS
handlers to wait for the return value.)
the current patch fixes the bug so that it resets mDeferSubmission false only
if we are in the NS_FORM_SUBMIT event preventig reseting in a bubling phase
of a possible onclick of a submit button/image.

r= jkeiser sr= jst a= brendan
2002-12-09 19:11:12 +00:00
jkeiser%netscape.com 928715aac0 Oog. Green and open not enough. jkeiser back self out, keep drivers from hitting with big rock. 2002-12-09 06:15:33 +00:00
jkeiser%netscape.com cdf00824db Make select redisplay correctly when size changes between 1 and not-1 (bug 170446), r=rods@netscape.com, sr=bzbarsky@mit.edu 2002-12-09 06:02:00 +00:00
jkeiser%netscape.com 58e0c572a2 fix behavior (and crasher) when changing type during event handler (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu 2002-12-09 05:56:58 +00:00
aaronl%netscape.com d1b84fe5e1 Bug 178520. input.focus() should not do input.select(). r=bryner, sr=bzbarsky, a=asa 2002-12-07 00:56:03 +00:00
sicking%bigfoot.com bc30311143 Bug 178601: Fix recursion-crash by makeing sure to not reevaluate a script if the script moves its container element. Patch by Harshal (keeda@hotpop.com)
r=sicking sr=bz a=asa
2002-12-06 08:16:34 +00:00
dbaron%fas.harvard.edu f260bf1d61 Fix build bustage inside |#ifdef DEBUG_dbaron|. (Not part of build.) 2002-12-06 04:42:49 +00:00
dean_tessman%hotmail.com 0bb1cb85f4 bug 30431 - Intellimouse Explorer Backwards and Forwards button support.
r=rods on widget, timeless on content
sr=bryner
a=asa
2002-12-06 03:41:43 +00:00
bzbarsky%mit.edu 2b37dbfedc Fix crash in some icky document.write() cases.. We gotta stop blocking the
parser.  Bug 183784, r=sicking, sr=peterv, a=asa
2002-12-06 01:27:37 +00:00
timeless%mozdev.org bea53cd3c6 Bug 183309 Mozilla crashes on startup. - Trunk [@ nsBindingManager::GetXBLDocumentInfo]
patch by nallen@acm.org r=brendan sr=alecf a=asa
2002-12-05 21:25:23 +00:00
bzbarsky%mit.edu 14df08c2a9 I meant 8192 and typed 8092. r/sr/a=brendan 2002-12-05 06:36:18 +00:00
bzbarsky%mit.edu 8739316360 Um.. spell PRUint16 right 2002-12-04 06:15:43 +00:00
bzbarsky%mit.edu e25163073f Fix mac bustage 2002-12-04 06:13:56 +00:00
bzbarsky%mit.edu 704d627e65 UTFInputStream does not do very good error-recovery, so always
use nsConverterInputStream instead.  Bug 183165, r=timeless, sr=sspitzer,
general approval=dbaron
2002-12-04 06:07:50 +00:00
kyle.yuan%sun.com 624d00d49b Bug 134823 Toolbars don't honour accesskeys
r=dean_tessman, sr=jaggernaut
support accesskey for toolbarbutton
2002-12-04 05:38:07 +00:00
caillon%returnzero.com 2dfcddf813 Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
r=bzbarsky sr=jst
2002-12-04 05:18:39 +00:00
caillon%returnzero.com d84dcb7bfa 182702: Convert printing code to use nsIPrefBranch and nsIPrefService
r=rods sr=roc+moz
2002-12-04 02:03:17 +00:00
karnaze%netscape.com 1e5fe33205 bug 127286 (part I due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov 2002-12-04 00:25:43 +00:00
alexsavulov%netscape.com 21c1fbc661 Fix for bug 147878 - defer submission until onSubmit returns so we can
chose to submit name/value or the triggering element if the return is true.
r= jkeiser sr= jst
2002-12-03 23:06:34 +00:00
bzbarsky%mit.edu 54a05568ad Take out the hack added in bug 47846 to deal with the fact that Equals() did
not work on mailnews urls.  It works fine now (see bug 98626).

Bug 182248, r=bienvenu. sr=darin
2002-12-03 20:19:18 +00:00
karnaze%netscape.com 155780adb3 bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser. 2002-12-03 16:02:42 +00:00
karnaze%netscape.com 22356ecce3 bug 161644 - don't allow a first letter to be a block unless it is floating. sr=bzbarsky, r=dbaron. 2002-12-03 15:48:26 +00:00
bzbarsky%mit.edu 362bf5cd8b Fixing compiler warning. r=timeless. 2002-12-03 15:14:00 +00:00
peterv%netscape.com c66c7382b4 Fix for bug 165532 (Disable cross-site loading of XSLT stylesheets by default). r=sicking, sr=bz. 2002-12-03 09:20:43 +00:00
bzbarsky%mit.edu 0ed35654f5 ugh. Forgot this one line... 2002-12-03 08:29:35 +00:00
bzbarsky%mit.edu d22acb835e get rid of build warning for unused var. 2002-12-03 06:53:22 +00:00
bzbarsky%mit.edu 4667677aa7 Change nsICSSLoader to nsAString instead of nsString (build bustage). 2002-12-03 06:46:46 +00:00
bzbarsky%mit.edu c815579255 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
alecf%netscape.com b700a500d1 stupid mac / linux compilers were accepting "const const" - but the mac does not.
fixing bustage
2002-12-03 02:24:50 +00:00
sicking%bigfoot.com 583cd72c24 Bug 169124: Make the XSLT contentsink create generic xml-elements for all elements to get around limitations with xhtml elements. Also do some cleaning in the XML contentsink.
r=harishd sr=peterv
2002-12-02 23:24:57 +00:00
alecf%netscape.com 177f12f225 oops, forgot to add that my last checkin was bug 177545 2002-12-02 22:32:04 +00:00
alecf%netscape.com 28fbb1af13 switch nsBindingManager over to pldhash and nsDoubleHashtable - this greatly reduces the number of allocations from XBL, the single worst consumer of nsHashtable!
sr=brendan, r=hyatt
2002-12-02 22:30:26 +00:00
cbiesinger%web.de 304fb299ae bug 84756 patch by Harshal <keeda@hotpop.com> r=caillon sr=peterv
JS menu is destroyed during use
2002-12-01 13:54:39 +00:00
peterv%netscape.com cf2f43d2c9 Fix OS/2 bustage. 2002-11-30 09:45:19 +00:00
peterv%netscape.com 20ca8a4ff2 Bustage fix. 2002-11-30 00:27:09 +00:00
alexsavulov%netscape.com 1c278ed2f5 Fix for bug 138957 - Submission triggering element must submit nam/value pair
if the submission is performed from onlcick and the handler retunrs true.
Introduced submission deferal to wait for the handler's return value.
r= jkeiser sr=jst
2002-11-30 00:01:21 +00:00
peterv%netscape.com 23b10864c8 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
bzbarsky%mit.edu 577fcd1aa1 Remove fishy logic with the advisory type. Bug 155421, r=sicking, sr=dbaron 2002-11-27 03:42:37 +00:00
shanjian%netscape.com e348dc0d27 #181117 Non-ASCII(plane 1 surrogate) link not correctly parsed in UTF-16
if the doc charset is utf-16 or utf-32,use utf8 for url encoding.
r=nhotta, sr=darin
2002-11-26 04:42:30 +00:00
bzbarsky%mit.edu fb49963b7a Handle null namespaces in getElementsByTagNameNS. Bug 181791, r=sicking, sr=jst 2002-11-26 01:13:27 +00:00
caillon%returnzero.com 5ed7e6dd58 Bug 181600, Updating for reviewer comments (removing an if). still r=sicking,sr=peterv 2002-11-25 23:27:29 +00:00
caillon%returnzero.com f7c7b81ae7 Bug 181600 - Use the new pref APIs. r=sicking, sr=peterv 2002-11-25 23:26:06 +00:00
sicking%bigfoot.com 8fa4129fc1 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
sicking%bigfoot.com c1b0f2d62c fix bustage 2002-11-25 09:33:11 +00:00
sicking%bigfoot.com f04a4ebeb7 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
rods%netscape.com b5e31d9566 Instead of at the end of of the PO it needs to be in the middel of reflow
where we bail out earlier, basically same fix different location
Bug 149710 r=dcone sr=jst
2002-11-22 13:06:58 +00:00
rods%netscape.com 63bf52851b The search for the selected frames was not looking in all the child lisst for each frame
Bug 181228 r=dcone sr=jst
2002-11-22 13:02:05 +00:00
bratell%lysator.liu.se 36efaff0e4 Bug 165893 - use cached nsParserService pointer instead of looking up the service everywhere. r=jst, sr=bzbarsky 2002-11-22 12:20:05 +00:00
darin%netscape.com 9b3557c713 fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2002-11-22 07:40:16 +00:00
jfrancis%netscape.com c8b4e00d8c pay no attention to the man behind the curtain. 2002-11-22 05:40:10 +00:00
jfrancis%netscape.com e24066934c more work on build bustage. 2002-11-22 04:45:25 +00:00
jfrancis%netscape.com bc4a70346c fixing build bustage 2002-11-22 04:29:15 +00:00
jfrancis%netscape.com 309efe79a5 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin 2002-11-22 03:30:59 +00:00
jst%netscape.com 1102bd7ce7 Fixing bug 181351. Making NS_NewTextNode() return an nsITextContent pointer in stead of reaturning an nsIContent pointer to avoid having to QI the new text node to set it's value. r=caillon@returnzero.com, sr=bzbarsky@mit.edu 2002-11-22 01:11:33 +00:00
jst%netscape.com 1a0100f695 Fixing bug 181351. Making NS_NewTextNode() return an nsITextContent pointer in stead of reaturning an nsIContent pointer to avoid having to QI the new text node to set it's value. r=caillon@returnzero.com, sr=bzbarsky@mit.edu 2002-11-21 23:53:06 +00:00
kin%netscape.com 3ce45e2b5c Fix for bug #176251 (Problems with nsContentIterator PRE traversal)
content/base/public/nsIContentIterator.h
  content/base/src/nsContentIterator.cpp
  content/base/src/nsGeneratedIterator.cpp
  content/build/nsContentCID.h
  content/build/nsContentModule.cpp
  embedding/components/find/src/nsFind.cpp
  layout/html/style/src/nsFrameContentIterator.cpp

  - Removed MakePre() and MakePost() from the nsIContentIterator interface.
  - Traversal must now be specified at time of creation.
  - Fixed nsContentIterator Init() methods so that they correctly calculate
    mFirst and mLast.
  - Modified PositionAt() to check if the node is in the traversal range.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2002-11-21 15:07:49 +00:00
bryner%netscape.com c7bbf7ecd7 Fixing bug 180285 (hang in mail compose), regression from bug 124990. Don't throw an exception if dispatchEvent is called on an element that's not in a document. r=saari, sr=jst. 2002-11-21 01:27:34 +00:00
bryner%netscape.com 58f87373d4 Removing an unused variable. r=mozbot. 2002-11-20 23:37:52 +00:00
jst%netscape.com ba13886a7e Checking in keeda@hotpop.com's fix for bug 179461. Partially implement IE's select.options.add() method. No support for the optional second argument yet. r=caillon@returnzero.com, sr=jst@netscape.com 2002-11-20 22:36:36 +00:00
jst%netscape.com 648afca17d Fixing bug 180816. Avoid construction of an nsAutoString every time we open a container in the sink when the nsAutoString is only needed when dealing with textarea tags. 2002-11-20 22:30:53 +00:00
cmanske%netscape.com 460f4e38f5 Start controller IDs at 1 for InsertController. b=180814, r=brade, sr=sfraser 2002-11-20 11:36:05 +00:00
caillon%returnzero.com a14626117b Fixing an NS_PRECONDITION to reference the correct variable. Followup to last night's checkin for bug 147189. r/sr=bzbarsky 2002-11-20 06:35:33 +00:00
timeless%mozdev.org adf0c88e29 Bug 180893 nsXULTemplateBuilder::Retract wastes cycles in an XXX writeme loop
r=varga sr=bz
2002-11-20 06:15:54 +00:00
rbs%maths.uq.edu.au 9cfc8750a9 .innerHTML wasn't recovering &nbsp; and this was causing consumers such as View Selection Source to lose it, b=165686, r=jst, sr=bzbarsky 2002-11-20 01:47:06 +00:00
brade%netscape.com b4bfb1e5b4 bug 157111; add some new commands, remove unneeded Init call for editSession; r=cmanske, sr=sfraser 2002-11-20 01:22:17 +00:00
bzbarsky%mit.edu 4d094c04fc Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00
harishd%netscape.com 78cd0a1375 Temp. patch to fix DOM TO TEXT CONVERSION. r=jst 2002-11-19 21:47:13 +00:00
harishd%netscape.com 858dd7ab53 Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst 2002-11-19 18:29:35 +00:00
timeless%mozdev.org c306e75366 Bug 180217 nsXULDocument::~nsXULDocument will crash if mDocumentURL is null
r=dbradley sr=brendan
2002-11-19 18:22:36 +00:00
bernd.mielke%snafu.de 4308cfab48 limit the number of columns spanned, as a protection against suspicous html code, bug 86293, r=karnaze, sr=bzbarksy 2002-11-19 15:43:22 +00:00
glazman%netscape.com c2eafb4d15 'larger' and 'smaller' CSS values for 'font-size' were not working outside of range xx-small to xx-large and that prevented users to use very big and very small fonts in both Composer and mail composition; b=63987, r=dbaron, sr=bzbarsky 2002-11-19 15:16:31 +00:00
bzbarsky%mit.edu 45d22c648f Report the unknown namespace when we have an unknown namespace error.
Bug 180852, r=dbaron, rs=roc+moz
2002-11-19 15:12:02 +00:00
bratell%lysator.liu.se 31be52fa19 Bug 165893 - avoid refetching the parser service all the time. r=jst@netscape.com, sr=bzbarsky@mit.edu 2002-11-19 13:39:20 +00:00
caillon%returnzero.com ec408241f6 Attempt to fix nebiros bustage by moving style struct access into nsIInspectorCSSUtils
r/a=timeless,jkeiser,#mozilla
bug 147189
2002-11-19 07:41:07 +00:00
rods%netscape.com 8071dd246e Make it so SetDocument doesn't get set when returning from PP
Bug 176201 r=dcone sr=jst
2002-11-18 14:34:09 +00:00
timeless%mozdev.org 7e61bc0fee Bug 96229 keyboard (and right mouse in context menu) doesn't autocheck menuitem type="checkbox" and type="radio"
patch by neil@parkwaycc.co.uk r=aaronl sr=bz
2002-11-18 14:01:20 +00:00
peterlubczynski%netscape.com 7f43c8c427 Fixing bug 173938 with a hack for full-page plugins to be destroyed before the frame. r=av sr=jst 2002-11-18 07:48:10 +00:00
dbaron%fas.harvard.edu b2f992acb9 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
timeless%mozdev.org 7875f468ed Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
bzbarsky%mit.edu fb7d2e0e52 Don't drop the principal, because we need it later on in destruction.
Let it die a peaceful death on its own.  Bug 180441, patch by
keeda@hotpop.com (Harshal), r=jst, sr=bzbarsky
2002-11-16 22:49:14 +00:00
bzbarsky%mit.edu 9ba10e6a63 Backing out alecf for now, since this change makes mailcompose crash
(and we don't want smoketest blockers, now do we?)
2002-11-16 12:07:13 +00:00
bzbarsky%mit.edu 9e997eb61f Need to sanity-check the index to avoid out-of-bounds array access. Bug
180043, r=jkeiser, sr=alecf
2002-11-16 06:08:37 +00:00
alecf%netscape.com 3dc37760d5 prep work for fixing bug 180379 - stop creating extra nsCSSSelectors - instead of creating them on the stack then copying them to the heap, start with them newly on the heap.
r=bzbarsky, sr=dbaron
2002-11-16 05:37:24 +00:00
caillon%returnzero.com 8e703da896 Bug 180185, nsStyleText::WhiteSpaceIsSignificant() should take -moz-pre-wrap into account too
r=dbaron sr=bzbarsky
2002-11-15 03:14:56 +00:00
alecf%netscape.com a7b81df6c6 take two at fixing bug 177401 - convert nsIBinaryStream over to using nsAString/nsACString for string values, to speed up fastload
sr=darin, r=dougt
(the previous checkin had a typo which disabled fastload entirely!)
2002-11-14 18:16:31 +00:00
brade%netscape.com a1d7da2b80 implement queryCommandEnabled (bug 179730, r=akkana, sr=peterv) 2002-11-13 15:23:03 +00:00
cmanske%netscape.com ca1d8bc561 Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser 2002-11-12 23:03:27 +00:00
dbaron%fas.harvard.edu ca4ad476d2 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin 2002-11-12 15:17:07 +00:00
brade%netscape.com 80afa6428d check origin, disable paste and some other commands until security review, cmd mgr api changes, remove forced focus (bug 157117, r=mkaply, sr=sfraser) 2002-11-11 20:19:37 +00:00
bzbarsky%mit.edu 2c43d2a805 Allow list labels to be negative. Bug 56088, r=caillon, smontagu, sr=roc+moz 2002-11-09 18:33:37 +00:00
jkeiser%netscape.com 3deb842c0f Fix virtual destructor warning, bug 165647, r=dmose, sr=bz 2002-11-09 05:11:26 +00:00
jkeiser%netscape.com 18cb71de9c Fix Mac build bustage. 2002-11-09 03:42:42 +00:00
alecf%netscape.com 50a35c0245 argh, back out my last checkin because Ts went UP not down! 2002-11-09 01:31:32 +00:00