6728 Commits

Author SHA1 Message Date
bryner%netscape.com
b848d573e1 Fix crasher 151568 caused by my checkin for focus bug 131651. r=dbaron, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@123405 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 23:38:06 +00:00
mstoltz%netscape.com
3cba7a04ae 133170 - Need to re-check host for security on a redirect after a call to
XMLHttpRequest.open(). For xmlextras, r=heikki, sr=jband. For caps,
r=bzbarsky, sr=jst
147754 - Add same-origin check to XMLSerializer. Patch by jst. r=mstoltz,
sr=jband
113351 - Add same-origin check to XSL Include. Patch by peterv and jst,
r=mstoltz, sr=rpotts
135267 - Add same-origin check to stylesheets included via LINK tags.
r=dveditz, sr=scc


git-svn-id: svn://10.0.0.236/trunk@123373 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:54:18 +00:00
heikki%netscape.com
67bca4fa92 Forgot to remove extra addref.
git-svn-id: svn://10.0.0.236/trunk@123365 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:19:59 +00:00
heikki%netscape.com
0e9d23116e Bug 151745, need to stabilize XPCOM object before using (prevents a crash in SVG). Patch from alex.fritze@crocodile-clips.com, r=peterv, sr=heikki.
git-svn-id: svn://10.0.0.236/trunk@123342 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 20:02:29 +00:00
heikki%netscape.com
76e55d41f0 Bug 125583, disable automatic XLinks in mail, and make it so that pref dom.disable_open_during_load also disables all automatic XLinks that try to open in new window. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@123335 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 18:52:16 +00:00
glazman%netscape.com
fa208cf299 Making nsCSSDeclaration::GetValue() call itself to respond !important values when needed was making the CSS Parser choke in nsCSSParserImpl::AppendValue()
b=148501, r=brade, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@123313 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 12:36:43 +00:00
joki%netscape.com
bbd30f7c20 Fix for bug 123700, send synthetic mouseenter/out messages to IFRAME elements to allow tracking when mouse is inside IFRAME. r:harishd, sr:jst
git-svn-id: svn://10.0.0.236/trunk@123295 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 04:14:55 +00:00
dbaron%fas.harvard.edu
f73c8cccfe XUL fastload shouldn't call ParseStyleAttribute when there is no style attribute. b=151262 r=waterson sr=brendan
git-svn-id: svn://10.0.0.236/trunk@123257 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 22:14:36 +00:00
kin%netscape.com
3016bcf312 Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@123237 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:43:32 +00:00
glazman%netscape.com
caec6c87e9 fixing crasher due to outbounds index in nsCSSStyleSheet.cpp; b=151198, r=brade, sr=jst
git-svn-id: svn://10.0.0.236/trunk@123208 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 08:29:51 +00:00
mstoltz%netscape.com
8324b9ee2c Backing out fix for 135267 - this patch requires another change that hasn't gone in yet.
git-svn-id: svn://10.0.0.236/trunk@123192 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 22:49:14 +00:00
mstoltz%netscape.com
4a618befec Fixing 135267 - don't allow access to style rules loaded from a different
host. r=dveditz, sr=scc.


git-svn-id: svn://10.0.0.236/trunk@123189 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 21:20:17 +00:00
jkeiser%netscape.com
b39021ec8c Make pressing enter submit by clicking the first button in form even if there is only one textfield in form. bug 147850, r=bzbarsky@mit.edu, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123143 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 07:50:45 +00:00
jkeiser%netscape.com
43ad149022 Comment form submission more thoroughly. bug 148466, r=alexsavulov@netscape.com, rs=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123142 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 07:39:08 +00:00
jkeiser%netscape.com
2e33319f15 Make select.selectedIndex = 3; clear all selections in multiple select. bug 77039, r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123141 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 07:36:57 +00:00
jkeiser%netscape.com
53396e1fbd Make input type=hidden save/restore value. bug 149962, r=rods, sr=jst
git-svn-id: svn://10.0.0.236/trunk@123140 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 06:35:11 +00:00
mkaply%us.ibm.com
15156fea65 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@123134 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 05:04:12 +00:00
bryner%netscape.com
f6cf7c683b Fix the situation where clicking a link that has a mousedown handler which opens a window would erroneously send a blur to the newly-opened window (bug 131651). r=saari, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@123133 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 05:00:35 +00:00
shanjian%netscape.com
447b7a35cc #102407 Unexpected instances of POSTDATA warning messages [form sub]
Swap the priority of weakdoc charset and default charset.
disable auto detection for POST document.
r=ftang, sr=darin


git-svn-id: svn://10.0.0.236/trunk@123131 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 04:18:31 +00:00
dbaron%fas.harvard.edu
b362818ab8 Fix crash exiting print preview in certain cases (pages with frames; embedding apps) by ensuring view manager outlives pres shell. b=148308 r=rods sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123129 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:32:24 +00:00
dbaron%fas.harvard.edu
cfc603f54a Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin
git-svn-id: svn://10.0.0.236/trunk@123127 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:27:48 +00:00
roc+%cs.cmu.edu
f300916895 Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson
git-svn-id: svn://10.0.0.236/trunk@123126 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:22:35 +00:00
harishd%netscape.com
2f67ab9c46 Strip leading/trailing spaces from img src attribute value that was preventing image rendering. b=87894, r=jkaiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@123108 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 23:23:12 +00:00
smontagu%netscape.com
cc4e2832ab Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 21:00:20 +00:00
cbiesinger%web.de
6f7dc93da9 bug 115473 r=pavlov sr=brendan
Remove timer priorities


git-svn-id: svn://10.0.0.236/trunk@123068 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:47:04 +00:00
ben%netscape.com
bb3938d55b Fix for topcrashers bug 143118 and bug 146891 - prevent continued deserialization after a a deserialization failure of the XUL PD by aborting on failure, also, ensure that that propagates up so we can catch it. Fix an oops (trying to remove the fasl file before closing the stream to it) and hack around a nsLocalFileWin bug (bug 150156) in the process. r=waterson, sr=brendan, a=asa
git-svn-id: svn://10.0.0.236/trunk@122957 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-09 10:31:00 +00:00
jkeiser%netscape.com
e7b5e6e67f Fire onSubmit event when enter pressed in no-submit-button forms (bug 149685). r=peterv, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@122906 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 23:00:17 +00:00
rods%netscape.com
f762610be3 Don't check the range boolean for ending the page
Bug 146296 r=dcone sr=waterson a=asa


git-svn-id: svn://10.0.0.236/trunk@122887 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 14:30:17 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
heikki%netscape.com
4fa84bff42 Bug 132105, XLinks must pay attention to the popup prefs. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@122694 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 20:24:37 +00:00
rods%netscape.com
83ef4246aa Check for null dom content before doing QI
Bug 148760 r=jkesier sr=jst


git-svn-id: svn://10.0.0.236/trunk@122673 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 12:06:59 +00:00
cbiesinger%web.de
97b4ba4704 bug 8031 r=tor sr=dveditz
XBM support


git-svn-id: svn://10.0.0.236/trunk@122670 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 08:48:12 +00:00
jkeiser%netscape.com
65ed9147ab Bug 125578.
git-svn-id: svn://10.0.0.236/trunk@122629 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:46:30 +00:00
jkeiser%netscape.com
0c2a8f4e96 Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122617 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 00:44:04 +00:00
timeless%mac.com
a36ee39e7c Bug 144763 tolerate do_QueryReferent() returning null [@nsXULPrototypeScript::Compile]
r=harishd sr=jst


git-svn-id: svn://10.0.0.236/trunk@122571 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 19:17:46 +00:00
dbaron%fas.harvard.edu
268cd40267 Make quirk stylesheet assertion |#ifdef DEBUG_dbaron| until I figure out why it's firing. b=147691 r=hwaara sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122569 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 18:26:18 +00:00
jst%netscape.com
cd8c0a0283 Attempting to fix bug 138900. Avoid multiple calls to LoadSrc() in iframe elements while the document is being built. This should speed up pageloads for pages with iframes on them. r=jkeiser@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122469 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-01 01:15:57 +00:00
roc+%cs.cmu.edu
614583e822 Bug 50623. Don't forget background styles inherited from the initial context. This has the effect of making FRAME/IFRAME documents transparent by default. Also, make FRAME/IFRAME elements paint any background styles set on them. r=dbaron,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122398 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 03:20:23 +00:00
jst%netscape.com
f062933ad6 Removing duplicate #include...
git-svn-id: svn://10.0.0.236/trunk@122270 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 19:15:50 +00:00
dbaron%fas.harvard.edu
b339b0f982 Remove universalSelector atom. b=112318 sr=waterson r=brendan
git-svn-id: svn://10.0.0.236/trunk@122247 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 00:49:48 +00:00
dbaron%fas.harvard.edu
3fad646b6d Convert the 4 tables of the RuleHash from nsHashtable to pldhash. Encapsulate the differences between tables, and the quirks/strict differences within the id and class tables, in the 6 sets of hashtable ops. Remove mCaseSensitive member and related code from AtomKey and remove nsInt32Key completely. Null-terminate lists of RuleValues rather than using a special mEndValue, and build the lists in the reverse order (reversing the meaning of their index). Store universal rules in their own list rather than using magic key. b=112318 sr=waterson r=brendan
git-svn-id: svn://10.0.0.236/trunk@122246 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 00:49:44 +00:00
peterv%netscape.com
aab00646c0 Fix for bug 88761 (html code for selected and noshade (and other minimizable attributes) not w3c conformant). r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@122219 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 12:34:48 +00:00
dbaron%fas.harvard.edu
255ee4ff0c Clear the undisplayed content map before calling SetDocument(null), which can cause some XBL content to be destroyed without notifications, leaving dangling pointers in the undisplayed map. b=145737 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122187 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-26 17:03:42 +00:00
dbaron%fas.harvard.edu
36706675ec Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
git-svn-id: svn://10.0.0.236/trunk@122112 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 23:09:31 +00:00
rods%netscape.com
7add5ab6a7 The allows TAB events to be processed. This seems to work fine, because the
forms controls can never get focus. I did a lot of testing and the focus goes
to the toolbar and doesn't go to any forms controls.
Bug 145388 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@122068 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 10:48:37 +00:00
dbaron%fas.harvard.edu
ce23b316f1 Fix checking of checkboxes inside their label by not sending the duplicate event if the click was already within the form control. b=96813 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@122042 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:23:12 +00:00
jst%netscape.com
0e34136ef1 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
harishd%netscape.com
d043ec8b24 Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121993 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:46:16 +00:00
dbaron%fas.harvard.edu
554bf97dfe Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@121986 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:14:51 +00:00
rods%netscape.com
c9a14d5e5f unregisters the focus listener after a new one is installed.
Bug 145388 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@121939 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 19:37:28 +00:00