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

1089 Коммитов

Автор SHA1 Сообщение Дата
attinasi%netscape.com e97f599347 Eliminated warnings from recent checkin (trivial changes). 2000-06-22 05:14:32 +00:00
vidur%netscape.com cb02a23a0d Fix for bug 42278. Thought I'd got it with my prior checkin, but didn't notice rbs@maths.uq.edu.au's prior checkin to switch the namespace string literals. r=nisheeth 2000-06-21 23:59:21 +00:00
vidur%netscape.com d690a7d2b9 Fix for bug 38349. Implemented nsIDOMNode::CloneNode() and ImportNode() for XML and HTML documents as part of finishing out our DOM1 and DOM2 implementations. Cleanup of DOMImplementation::createDocument. r=jst 2000-06-21 23:56:52 +00:00
attinasi%netscape.com 634e3cc180 Implemented Style Context Data sharing, reducing the amount of memory used in style by about 40%. Performance will degrade by about 10%, that is being worked on now. b=39618 r=waterson 2000-06-21 20:44:59 +00:00
vidur%netscape.com 19aa4a879d Fix for bug 9392. document.plugins now aliases to window.navigator.plugins. r=nisheeth 2000-06-21 00:53:26 +00:00
vidur%netscape.com b5aa109281 Fix for bug 42278. Switched around positions of old REC-html40 namespace URI and new XHTML namespace URI in the table so that we do the reverse mapping from namespaceID to URI correctly. r=nisheeth 2000-06-21 00:49:22 +00:00
vidur%netscape.com 32f78655cb Work for bug 33475 - completion of Document-related DOM Level 2 support. Null-checks for the empty document case. The documentElement can now be replaced. Load() no longer takes extra unused argument. r=jst,nisheeth 2000-06-17 01:46:58 +00:00
pollmann%netscape.com 5c21e34fcc Bug 4891: document.forms[x] fixed for document.written forms r=jst@netscape.com 2000-06-17 01:28:41 +00:00
jst%netscape.com c06191a726 Fixing nsbeta2+ bug 41588, accessing document.documentElement on an empty document in JS threw a NS_ERROR_FAILURE exception in stead of just returning null. r=heikki@citec.fi 2000-06-16 13:37:46 +00:00
rbs%maths.uq.edu.au 29f1b6960b Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com 2000-06-15 09:54:41 +00:00
hyatt%netscape.com 25eb29bc5f Fix for #41281, r=brendan 2000-06-14 08:19:07 +00:00
scc%mozilla.org 55650a35b3 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms 2000-06-12 23:52:31 +00:00
jst%netscape.com c81e705a3c Fixing nsbeta2+ bug 41487, form controls with the same NAME and ID ended up in the form control list in the form element twice. r=nisheeth 2000-06-09 22:47:29 +00:00
mjudge%netscape.com 749ec6bc58 too many copies for ender-lite. happening whenever people were setting selection progromatically. r=hyatt 34896 2000-06-09 05:14:19 +00:00
attinasi%netscape.com f7e1ee029a Fixed crash due to ordering problem: b=38768 r=dcone 2000-06-07 23:04:45 +00:00
akkana%netscape.com 0fe6a06be9 40457: suppress extra XIF output for cases where the selection
doesn't intersect the range at all. r=jfrancis, a=beppe.
2000-06-07 22:58:39 +00:00
akkana%netscape.com 4d58187b46 40457: Add implementation for range methods to tell whether
a node or point intersects the range. r=jfrancis, a=beppe.
2000-06-07 22:57:36 +00:00
mjudge%netscape.com 0926517600 adding in null check since we dont ALWAYS use selection to output xif. this gets rid of an assertion that i found while fixing a regression 41814 r=donm a=donm ect 2000-06-07 22:46:11 +00:00
cmanske%netscape.com 2b8e4ab110 Finished table cell selection optimization bug 41045. r=mjudge, a=beppe 2000-06-06 23:14:42 +00:00
pierre%netscape.com de9cafe37c Checked back in the backed out code (41321) after doing a minor fix in nsCSSValue.cpp (41618) 2000-06-06 09:36:12 +00:00
pierre%netscape.com fa066a26d1 Backed out the previous changes (41321, waterson/attinasi) because of the regression in 41618. 2000-06-06 06:50:21 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
mkaply%us.ibm.com ef6f939d58 # 37239
r = jst, a = brendan
OS/2 bringup - PR_CALLBACK
2000-06-03 00:00:01 +00:00
cmanske%netscape.com a5c39baa66 Fix for table selection performance problems. b=41045, r=mjudge, a=beppe 2000-06-02 23:05:06 +00:00
waterson%netscape.com 6d9fee8e7d Bug 41321. Use PRUnichar* instead of nsString* to store string values for nsCSSValue and nsHTMLValue. r=attinasi. 2000-06-02 22:54:35 +00:00
attinasi%netscape.com 36e73369c4 Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze 2000-06-02 21:45:06 +00:00
hyatt%netscape.com e891a5ba9c Tree/grid foundation work. 2000-06-02 08:13:29 +00:00
jst%netscape.com 4185f0098f Fixing nsbeta2+ bug 40197, a typo caused the doctype in a document to be found only found if it was the first child in the document. r=vidur, a=nisheeth 2000-06-01 23:40:26 +00:00
erik%netscape.com 6e4f58c9c4 bug 32206; add charset observer methods; r=buster; a=ftang 2000-06-01 23:11:40 +00:00
erik%netscape.com a258aa2914 bug 32206; add notifiers for charset changes; r=buster; a=ftang 2000-06-01 23:10:44 +00:00
jst%netscape.com ab03b1c7a8 Fixing dogfood+ bug 40571, various problems with multiple form objects with the same name. r=vidur 2000-06-01 22:55:19 +00:00
mjudge%netscape.com a14d4fbfb0 bug = 34896, r= hyatt. changing caret apis. this will demand that when a caret changes focus a call to setDOMSelection must be called to tell the caret what selection to listen to. 2000-06-01 02:37:40 +00:00
cmanske%netscape.com 87c72f0139 Added row/column selection in tables: Bug 26833. r=kin, a=beppe 2000-05-31 00:07:58 +00:00
akkana%netscape.com bc8b6ee7fb 38713: Allow TakeFocus motion inside selection batching. r=mjudge, jfrancis; a=beppe 2000-05-31 00:02:12 +00:00
attinasi%netscape.com 95c822478e Fixed bug 31955: font-face is now inheriting into tables in QuirksMode. r=dcone, a=karnaze 2000-05-30 22:53:02 +00:00
hyatt%netscape.com e0cfd827ae Fix mac bustage. 2000-05-27 22:40:40 +00:00
hyatt%netscape.com 8b528f224c Fixing bugs in skin switching. 2000-05-27 20:03:14 +00:00
hyatt%netscape.com 55d7f2a285 Brutal sharing of XBL classes implemented. 2000-05-27 08:20:04 +00:00
hyatt%netscape.com 3064160cb5 Adding anonymous content getter. r=waterson, a=waterson 2000-05-26 22:45:26 +00:00
harishd%netscape.com 2e8349e7bd Added DumpContent() for parser regression test.
Triggered only under debug mode & when PARSER_DUMP_CONTENT flag is set.

r=rickg
a=rickg
2000-05-26 19:45:37 +00:00
harishd%netscape.com dd1ab0ea53 Added DumpContent() triggered by parser [ for regression test ].
r=rickg
a=rickg
2000-05-26 19:45:32 +00:00
jst%netscape.com 46cd84fa38 Checking in temporary code that lets a user turn on the new DOM Level 2 behavior by setting the 'temp.DOMLevel2update.enabled' preference to true, this is to help with the general DOM update, and it's part of the fix needed for bug 33474. r=vidur@netscape.com, a=pdt@netscape.com 2000-05-25 23:48:45 +00:00
kin%netscape.com 2303aabdcb Part 1 of fix for bug #39821: Drag and Drop interferes with selection.
layout/base/public/nsIFrameSelection.h
  layout/base/src/nsSelection.cpp
  layout/events/src/nsEventStateManager.cpp
  layout/html/base/src/nsFrame.cpp
  layout/html/forms/src/nsGfxTextControlFrame2.cpp
  xpfe/browser/resources/content/navigatorDD.js

r=brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com,waterson@netscape.com
2000-05-25 20:04:02 +00:00
jfrancis%netscape.com bcd3fa6b6c fixes 29329 2000-05-24 23:01:09 +00:00
hyatt%netscape.com 574331fad6 XBL Fixes r=ben 2000-05-24 08:19:10 +00:00
hyatt%netscape.com 5bed7dc4bd fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
joki%netscape.com 35d5e0f553 More support for onresize and onscroll, bug 960 2000-05-17 06:53:58 +00:00
joki%netscape.com 93950c7879 fix for resize event support, bug 960, and additional support for DOM 2 events. 2000-05-17 05:27:22 +00:00
jst%netscape.com cc992d6d06 Store attribute names in XML elements as nsINodeInfos plus some general DOM cleanup. 2000-05-17 04:52:09 +00:00
mjudge%netscape.com 65c56ff98d removing debug messages 2000-05-17 03:07:31 +00:00
pavlov%netscape.com 0c75802384 changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
mjudge%netscape.com bcb5dc750c missing {} around a block 2000-05-17 02:02:20 +00:00
jst%netscape.com b22cf9671a Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
mjudge%netscape.com 8117739bbf fixing relative div position bug with autoscroll 2000-05-16 22:41:38 +00:00
jst%netscape.com fa23c947ff Fix invalid nsString useage. 2000-05-16 14:43:32 +00:00
joki%netscape.com b2e873d830 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
cmanske%netscape.com 08012f4089 Select table column and row support (20973). r=mjudge 2000-05-16 03:03:13 +00:00
shaver%mozilla.org 8f7d1fbff0 Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
jst%netscape.com c4b236d445 Make .localName always return the local name, even if there's no namespace on the node. 2000-05-16 02:17:14 +00:00
jst%netscape.com 8e1109a431 Implementing getElementsByTagNameNS() for XML and HTML documents. 2000-05-16 00:55:05 +00:00
jst%netscape.com 68ee24180b Pass the name without the prefix to the DOM script object factory... 2000-05-15 22:48:38 +00:00
jst%netscape.com a29b0b6f25 Checking in DOM Level 2 version of the DOM interface Element. 2000-05-15 20:31:55 +00:00
mjudge%netscape.com e2ab14f470 fixing legal issues 2000-05-15 14:19:25 +00:00
mjudge%netscape.com c6539035c0 fixing output from selection piece 2000-05-15 14:18:30 +00:00
jst%netscape.com 6417d02cc9 More utility frunctions in nsINodeInfoManager. 2000-05-14 23:45:32 +00:00
jst%netscape.com 416f155970 Adding more utility functions to nsINodeInfo. 2000-05-14 18:34:35 +00:00
jst%netscape.com 539575a00c Implementing DOM hasFeature() and supports(). 2000-05-14 13:08:00 +00:00
jst%netscape.com 5d215557cf Add support for DOM Level 2 document.defaultView 2000-05-14 02:08:53 +00:00
mjudge%netscape.com 8318464852 fixing warnings and some redundant code 2000-05-13 20:47:42 +00:00
mjudge%netscape.com 5364dec9d5 fixing redundant calls to notify selection listeners 2000-05-13 09:10:16 +00:00
mjudge%netscape.com 3a1f901c10 (ender-lite) forcing use of nsixifconverter rather than nsxifconverter. making tostring method take output type parameters. 2000-05-13 08:07:34 +00:00
mjudge%netscape.com 3d704a7361 exporting new apis for nsIXIFConverter and forcing nsidocument and nsicontent to use them 2000-05-13 08:06:37 +00:00
jst%netscape.com c7e3c310d9 Add GetNodeInfo() to nsIContent. 2000-05-12 14:09:28 +00:00
jst%netscape.com ff00e8645b Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter. 2000-05-12 13:46:59 +00:00
mjudge%netscape.com a89f9e3c80 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret. 2000-05-11 04:25:43 +00:00
jst%netscape.com 77c5f57f3d Fixing bug 38357. Passing a document node to nsRange::SelectNode() crashed mozilla, now it properly throws the exception INVALID_NODE_TYPE_ERR if the node type is incorrect. r=akkana@netscape.com 2000-05-11 01:44:44 +00:00
nisheeth%netscape.com 6346ccc595 Add support for loading an XML document from script within a XUL document also. 2000-05-10 23:02:32 +00:00
jst%netscape.com 4281027673 Support replacing the doctype in a document. 2000-05-10 19:52:08 +00:00
jst%netscape.com fced8630c2 Fixing incorrect hash table useage, this fixes smoketest blocker #38795. a=granrose 2000-05-10 18:19:46 +00:00
jst%netscape.com 50499cc037 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com. 2000-05-10 13:13:39 +00:00
ftang%netscape.com b7349b52c8 fix bug in the SaveDocument code. 2000-05-10 03:52:02 +00:00
hyatt%netscape.com ec8e3fe54c Making XML, MathML, SVG, and HTML elements support passing attribute changes into XBL bindings. 2000-05-10 02:15:47 +00:00
hyatt%netscape.com 8fc27c5ee1 Fix leak. 2000-05-10 01:09:45 +00:00
hyatt%netscape.com fbac03f025 XBL now works with HTML, XUL, SVG, MathML, and XML! 2000-05-09 21:42:40 +00:00
jst%netscape.com c855b6a512 Checking in new files for (the not yet checked in) shared node info code. Not part of the build yet. r=buster@netscape.com 2000-05-08 14:29:44 +00:00
mjudge%netscape.com f00814dfd1 forgot to initialize this 2000-05-08 04:00:48 +00:00
mjudge%netscape.com d1a4360966 tabbing 2000-05-08 04:00:26 +00:00
erik%netscape.com 87183532c2 bug 26237; added support for HTML LANG attribute -- it now uses the fonts
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre
2000-05-05 21:04:36 +00:00
dprice%netscape.com c03d40d966 fix for 38253 r=mjudge 2000-05-05 05:37:27 +00:00
shaver%mozilla.org a09f39c8c7 first part of ContentPolicy stuff (#37983, r=brendan) 2000-05-05 05:28:49 +00:00
karnaze%netscape.com d2c39b970f bug 37037, 37490, and a table paganation problem when captions are present. 2000-05-04 23:16:42 +00:00
mjudge%netscape.com 91bec71070 stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out. 2000-05-04 08:35:42 +00:00
waterson%netscape.com 34e873c290 Must use string literal for named references. 2000-05-03 23:42:58 +00:00
waterson%netscape.com 2d8cdc7b21 Must use string literal for named references. 2000-05-03 23:42:20 +00:00
waterson%netscape.com 1367517a2e Must use string literal for named references. 2000-05-03 23:34:10 +00:00
mjudge%netscape.com b24046a978 new api for limiter in selection 2000-05-02 03:44:17 +00:00
sfraser%netscape.com ed77f6bbc2 Add null check. 2000-05-01 21:50:18 +00:00
kin%netscape.com 375ea702a2 Fix for crasher bugs 37701 and 37728. r=mjudge@netscape.com 2000-05-01 18:21:30 +00:00
hyatt%netscape.com 7a88f1566e Fix scrollbar stylesheet relative to ua stylesheet. 2000-05-01 07:58:07 +00:00
nisheeth%netscape.com fa1d77063b 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
dbaron%fas.harvard.edu d590a65996 Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28). 2000-05-01 00:26:37 +00:00
hyatt%netscape.com 3d7518c01b Adding support for other backstop style sheets. 2000-04-28 23:32:51 +00:00
karnaze%netscape.com 75ea85e43a new reflow/layout code for outer table to handle captions and margins. better % height handling.
row groups and rows don't include external cellspacing in there dimensions. r=troy.
2000-04-28 21:05:31 +00:00
jst%netscape.com f92606d00a Make nsSelection::ToString(); do the right thing, now it uses the document encoder to create the string representation of the selection. r=mjudge&akkana (before I did a string API change). 2000-04-28 13:58:08 +00:00
mjudge%netscape.com 6e453761da change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument 2000-04-28 06:21:31 +00:00
mjudge%netscape.com 48f046e6b3 ender lite checkin. 2000-04-27 07:37:12 +00:00
jst%netscape.com 3625709458 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
akkana%netscape.com 952ffde9b5 Backing out previous change -- wasn't ready. a=mjudge 2000-04-26 01:58:28 +00:00
mjudge%netscape.com 6622635cab making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
akkana%netscape.com 39a76668ca Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
troy%netscape.com 8b0eb04e08 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com af52293cd0 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00
troy%netscape.com 73fc3dde30 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
jdunn%netscape.com 97a831afcb adding newline for hp 2000-04-21 22:17:14 +00:00
anthonyd%netscape.com 745cf02967 r=mjudge. adding in focus listener to docviwer. this will now disable/reenable selection on those displays that desired selection at all. 2000-04-21 21:40:28 +00:00
anthonyd%netscape.com 05840e5f32 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
scc%netscape.com ca2faa7f58 making string conversions explicit 2000-04-17 10:28:55 +00:00
scc%netscape.com 8624ce5d67 making string conversions explicit 2000-04-16 11:19:26 +00:00
scc%netscape.com c38395df69 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com 927265130c making string conversions explicit 2000-04-15 20:15:37 +00:00
pierre%netscape.com a6156d11f5 #33244. changed the default value for empty-cells: 'hide' in quirks mode and 'show' in strict mode. 2000-04-15 03:50:48 +00:00
mjudge%netscape.com 4f36050dbc fixing selection speed. only copying to clipboard on mouse up 2000-04-14 23:00:30 +00:00
mjudge%netscape.com dd0979f114 touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api. 2000-04-14 11:21:19 +00:00
jst%netscape.com d779768929 Making nsDOMAttributeMap a 'live' NamedNodeMap, removed the hashtable for the attributes since a) it caused the none-liveness and b) it was overkill, the number of attributes is usually so low so having a hashtable for them doesn't help much. 2000-04-13 23:42:52 +00:00
jst%netscape.com 2c4d540f7a Update the DOM interface to DOM Level 2, only stubs so far. 2000-04-13 21:21:02 +00:00
mjudge%netscape.com 949cea5712 table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture. 2000-04-13 20:21:32 +00:00
mjudge%netscape.com fde996376c fixing 2 bugs. bug for notifications going out when we dont need them for selection changing. and for fixing some keyboard navigations around non-text frames 2000-04-12 10:34:19 +00:00
mjudge%netscape.com 3ad06c4f40 fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view. 2000-04-12 03:04:11 +00:00
hyatt%netscape.com 537541b987 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +00:00
hyatt%netscape.com 8eb821021a Making <children> support dynamic. 2000-04-04 06:29:20 +00:00
jst%netscape.com aebdfd63a7 Updating the DOM Attr interface to match the DOM Level 2 spec. r=waterson@netscape.com 2000-04-03 13:40:04 +00:00
scc%netscape.com be4311c49a making string conversions explicit 2000-04-03 11:20:35 +00:00
jst%netscape.com 9f88f0ed6f Minor cleanup and fixing a compier warning. 2000-04-02 22:05:10 +00:00
erik%netscape.com 3d1abdc603 bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only; also
factored some code to reduce duplication; r=pierre,troy
2000-04-02 21:52:17 +00:00
mjudge%netscape.com 4f1817faa3 selecting generated content works now. subtree iterator and all. incredible... added new private method to nsTextFrame to factor out some things on getting correct offsets from generated frames. its a no-op almost for non generated frames 2000-04-02 05:05:31 +00:00
jst%netscape.com 5fdb266f31 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far. 2000-04-01 13:31:23 +00:00
jst%netscape.com 3c83b6aaa7 Changing the DOM exceptions thrown from methods on data nodes, fixes bug #16605. 2000-04-01 12:55:53 +00:00
jst%netscape.com 52b98a1e56 Removing some code redundancy in the DOM Core implementations, fixing bugs #16585 and #16606. 2000-04-01 12:36:16 +00:00
nisheeth%netscape.com db554bcdd5 Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches. 2000-04-01 00:39:15 +00:00
mjudge%netscape.com a471fdc5e3 moving nsGeneratedContent stuff to new file nsGeneratedIterator. adding new bitflags for selection types for nsSelection 2000-03-31 07:17:22 +00:00
mjudge%netscape.com ba197c0a18 adding in new init methods for the new nsGeneratedContentIterator! 2000-03-31 07:14:02 +00:00
attinasi%netscape.com f435083f78 Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
warren%netscape.com d60b12b153 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
jst%netscape.com 6eeedef061 Replace internal HTML Doctype API with the DOM DocumentType API, HTML documents now get a DOM DocumentType if the file contains one and the DOM DocumentType is ouput if/when the document is saved. This fixes bug #25020. 2000-03-28 23:25:26 +00:00
akkana%netscape.com 9e4f4dc539 Fix an entity bug for Naoki: Japanese entities weren't being correctly
pasted.  This also fixes the symptoms, but not the underlying cause,
of the html mail nbsp bug.  r=nhotta
2000-03-28 00:10:44 +00:00
scc%netscape.com 9c2f6dad62 small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
jst%netscape.com 7b2d17ca96 Don't leak the hash table used for the attribute map (#32196). Patch from shaver, r=beard 2000-03-25 00:54:30 +00:00
cmanske%netscape.com b1c6615b67 Optimized SelectBlockOfCells to select/unselect only those cells that really need to be. r=mjudge 2000-03-24 02:52:07 +00:00
kmcclusk%netscape.com b7dfa4f7db Offset the viewmanager in nsDocumentViewer by passing the offset to nsIViewManager::Init instead of offsetting the root view b=32161 r=attanasi@netscape.com 2000-03-23 23:50:42 +00:00
mstoltz%netscape.com d63fb120a5 Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris 2000-03-23 04:53:16 +00:00
cmanske%netscape.com 4771f69c44 Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze. 2000-03-23 04:24:58 +00:00
jst%netscape.com fb0a85bfac Update DOMImplementation, DocumentType and DOM Error codes to match the current DOM Level 2 recommendation, also make HTML documents have a DocumentType if one is given in the file. r=joki@netscape.com 2000-03-22 22:16:14 +00:00
jst%netscape.com 87479828ed Implmentation of the DOM Level 2 DocumentType interface. Not part of the build yet. r=joki 2000-03-22 14:38:50 +00:00
akkana%netscape.com 5b2ce19ca0 23980: convert relative href= and src= to absolute. r=sfraser 2000-03-22 01:33:59 +00:00
jst%netscape.com 053a38dec3 Reducing the size of text nodes by 4 bytes per node. r=troy 2000-03-22 01:23:42 +00:00
cmanske%netscape.com a5bf0eee30 Cleaning up selection: changed 'RangeList' to 'Selection', thus changing implementation class of nsIDOMSelection and nsIFrameSelection to nsSelection. File nsRangeList.cpp replaced with new nsSelection.cpp 2000-03-21 23:58:02 +00:00
mkaply%us.ibm.com 95df8f9115 # 24199
r= pierre@netscape.com
BiDi - ability to change the default direction of the browser
2000-03-21 15:51:59 +00:00
norris%netscape.com 9bc42a40c5 Added UpdatePrincipal function to support multiple signed scripts in a document. r=norris 2000-03-21 04:09:58 +00:00
nisheeth%netscape.com e90cbb686f r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document. 2000-03-21 03:25:16 +00:00
jst%netscape.com f3f0c75c8b Remove the last virtual fuctions from nsGenericElement, this reduces the size of most element nodes in mozilla by 4 bytes. r=troy@netscape.com,bruce@cybersight.com 2000-03-21 01:29:01 +00:00
jst%netscape.com af7f00849e Backing out my last change since it broke the tree, sorry. 2000-03-18 03:11:52 +00:00
jst%netscape.com b91323399c Removing the last virtual functions from nsGenericElement, this reduces the size of every element object by 4 bytes. r=troy@netscapce.com 2000-03-18 01:55:47 +00:00
jst%netscape.com b768001187 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
cmanske%netscape.com ba3457173e Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge 2000-03-16 23:45:39 +00:00
rhp%netscape.com 77ad4f848b Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589 2000-03-15 01:47:36 +00:00
rickg%netscape.com 4791ab3e8f removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
norris%netscape.com b06e55722c Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
tbogard%aol.net 8dec60b884 ContentViewer Initialization now take an nsIWidget instead of a native window. 2000-03-11 01:24:59 +00:00
tbogard%aol.net 5c166f4fd5 nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
norris%netscape.com 3d5f67908e Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
pollmann%netscape.com de48cfb517 Bug 14827: Removing dead code. r=harishd a=rickg 2000-02-21 02:21:38 +00:00
jdunn%netscape.com 79a31a4d59 Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
joki%netscape.com 4596efac68 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
mscott%netscape.com 4ada318a65 Bug #19499 --> remove some obsolete code involving mailto
urls. we can handle mailto urls just fine now. this was giving us problems if you moused over or
clicked on a http/file url that had the word "mailto" in it.
r=vidur
2000-02-16 03:28:40 +00:00
sfraser%netscape.com 6ff0e90ae4 Fix the document viewer command updating, give it a selection listener etc, so that commands get updated at the right time. for bug 18395. r=pinkerton 2000-02-16 01:39:30 +00:00
mjudge%netscape.com e2bd1c1f55 adding new file should not be built yet. this will do no harm 2000-02-12 06:09:19 +00:00
mjudge%netscape.com e1d8c0ef7f small change for bad assert... 2000-02-12 00:24:55 +00:00
tbogard%aol.net 5e32625591 Assert when trying to sizeToContent on subframes. It's not allowed. r=hyatt 2000-02-11 08:35:20 +00:00
attinasi%netscape.com bab15315db PresShell is now observing the document always instead of just when a new PresContext is NOT created. r=troy b=25406 2000-02-11 01:21:50 +00:00
attinasi%netscape.com 39839d0450 Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-11 01:21:36 +00:00
attinasi%netscape.com c928260026 Backing out the change I accidentally checked in. 2000-02-10 19:47:36 +00:00
attinasi%netscape.com 11accf56e4 Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-10 19:21:55 +00:00
mjudge%netscape.com a27771d4f5 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
kmcclusk%netscape.com 4d12d19a42 Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
jst%citec.fi fcc693c42f Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com 2000-02-09 13:58:26 +00:00
tbogard%aol.net 36870eea40 SizeToContent now works properly within the new DocShell API world. r=hyatt 2000-02-08 15:49:14 +00:00
joki%netscape.com b7846d75d9 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
vidur%netscape.com 1b3b2a8670 Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy 2000-02-08 01:12:59 +00:00
vidur%netscape.com f091f8b9ab Fix for bug 24306. The DocumentViewer now cleans up dangling webshell references in the PresContext. nsGenericElement::TriggerLink deals with a nonexistent handler (it might have been deleted already as part of event processing). r=buster, joki 2000-02-02 23:40:22 +00:00
valeski%netscape.com e2aad556ef r=norris. we now pass url creation failure's into the onclick handers 2000-02-02 23:02:59 +00:00
pp%ludusdesign.com 43d7ba4273 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
sfraser%netscape.com 1600a747cc Avoid crashing when mousing over links in teh composer window. r=brade 2000-02-01 00:00:17 +00:00
vidur%netscape.com fe4e5e294c Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-29 00:34:07 +00:00
vidur%netscape.com fa580e6551 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-28 23:43:12 +00:00
warren%netscape.com f8b1c9d37f Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki 2000-01-28 06:55:27 +00:00
vidur%netscape.com 13e3a7871d Fixed bug 16609. RemoveNamedItem now returns the correct error code if the attribute doesn't exist. r=pollmann 2000-01-27 05:17:11 +00:00
vidur%netscape.com 6a5ccaa020 Fix for bugs 25082 and 25084. Range::SetStartBefore, etc. need to return an error for a null sibling. Range::createContextualFragment needed to allow for a null document. r=pollmann 2000-01-27 02:51:51 +00:00
harishd%netscape.com 33831df359 Fix for Bug 24738 - Restricting DOCTYPE to html document only.
r=pollmann
2000-01-26 22:57:18 +00:00
norris%netscape.com e7f484f030 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
dcone%netscape.com b0fee5d1bd support for regression testing. r=rods 2000-01-26 15:14:41 +00:00
pierre%netscape.com 8d74811b10 Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'. 2000-01-24 11:19:55 +00:00
pierre%netscape.com 65054c6b32 9809 "Dynamic changes of outline properties aren't repainted". Generate a reflow when the outline changes. 2000-01-24 08:16:54 +00:00
nisheeth%netscape.com 71218baaf6 Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
norris%netscape.com e753eaa792 Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
2000-01-23 04:23:14 +00:00
scc%netscape.com 5c3b4478ed Must use |GetEnumerator|; can't QI a selection to get the enumerator. Fixes bug #24354. Also fixes a leak in the same routine. r=buster, a={chofmann, brendan} 2000-01-19 22:56:25 +00:00
hyatt%netscape.com 1483c11c36 Adding an interface for the creation of elements. r=waterson 2000-01-19 03:09:12 +00:00
sfraser%netscape.com 9588dc9c47 More of the fix for 14026 -- hook up Select All in the browser windows's controller, and general tidyup. r=saari 2000-01-18 21:06:10 +00:00
danm%netscape.com 86d8d3bea8 adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt 2000-01-15 02:30:34 +00:00
tao%netscape.com 36794ca76e bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur. 2000-01-15 02:01:05 +00:00
dcone%netscape.com a70ef8651c Added a container for the printContext. r= rods b = 21470 2000-01-14 14:30:41 +00:00
norris%netscape.com 0e2e489d30 Fix warning. 2000-01-11 23:55:18 +00:00
dcone%netscape.com e480054d7e Set the container for the printContext. Fixes an Assert, but not the entire bug. r=Rods b=21470 2000-01-11 22:32:23 +00:00
hyatt%netscape.com 3d186ddce8 adding behavior property to CSS. r=brendan 2000-01-11 03:40:41 +00:00
pinkerton%netscape.com 8a5bbf46f5 fixing bug 21414 the right way, reverting api's to their previous ways. 2000-01-10 23:04:24 +00:00
norris%netscape.com 18d9ee89da Fix
858  [Feature] JavaScript auto-disable per-domain RFE
    13023 Users must be able to disable Java and JavaScript (for JS in mail)
    21923 Executing functions in "chrome:" protocol - #2.
    r=mstoltz

    (Checked in with red on Mac; Wan-Teh says his changes are localized so
     it shouldn't interfere with his fixing bustage.)
2000-01-08 16:51:54 +00:00
pinkerton%netscape.com 938b7c8db0 Added a new param to the HTML->Text sink stream to take the charset so that we can convert to plain text with the correct charset for the platform. Enhanced the XIFFormatConverter to take advantage of this, fixing bug 21414. r=akkana, nhotta. 2000-01-08 01:48:39 +00:00
pollmann%netscape.com 2f27c49438 Bug 12599: Accept string as integer attribute to prevent assert, fix courtesy rickg r=self and harishd 2000-01-07 05:44:42 +00:00
sspitzer%netscape.com 40c5cb1c5c checking in beard's bulletproofing fix for the profile crashers on mac. r=sspitzer 2000-01-04 21:24:37 +00:00
vidur%netscape.com 772682981a Fix for bug 22344. Removing FMMs in nsDOMAttribute.cpp. a=don r=kin 1999-12-22 22:44:30 +00:00
pierre%netscape.com a725da285d 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 1999-12-22 11:27:10 +00:00
pierre%netscape.com 58b4c59a41 Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet. 1999-12-22 05:00:47 +00:00
vidur%netscape.com ca30edfe8f 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 1999-12-22 01:54:04 +00:00
vidur%netscape.com 1c0c61c381 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 1999-12-22 01:51:58 +00:00
jband%netscape.com 7d0cb0f4bb 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
1999-12-18 20:29:29 +00:00
tbogard%aol.net 780e191953 Fixing some places when talking to the webshell object to start talking through the new docshell interfaces. 1999-12-18 02:09:29 +00:00
mjudge%netscape.com df221dba54 new idl for line up/down scrolling 1999-12-15 03:56:32 +00:00
danm%netscape.com d4c1aaf21b check for null context in SetDocument. part of fix for bug 19302. r:hyatt a:chofmann 1999-12-15 02:15:57 +00:00
mjudge%netscape.com 2cf7e901e3 massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +00:00
warren%netscape.com 26c830d785 Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
nisheeth%netscape.com 13c0cdd6da Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed. 1999-12-06 07:44:18 +00:00
hyatt%netscape.com 16a944a1e3 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net 648ace3e23 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
akkana%netscape.com 796735bcbd 18046: IDL implementation of nsISelectionController from sford4@netscape.net,
and the infrastructure to hook it up.
  This also changes the spelling from nsISelectionControler. r=mjudge
1999-12-02 21:45:21 +00:00
norris%netscape.com afb1f1e1e3 Fix
20257 unable to edit existing images in editor due to JS error
	19933 JavaScript "window.location" core dumps in CAPS
Back out previous changes for enforcing security on listeners and go with a
simple restriction of access to the method for adding listeners.
r=mstoltz
1999-12-01 22:23:22 +00:00
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
waterson%netscape.com 71fff2e1d9 Fix RemoveStyleSheet() per pierre's comments. 1999-11-30 04:33:28 +00:00
dougt%netscape.com 1da7d3868d fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
hyatt%netscape.com c07e825ba9 Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson 1999-11-29 22:15:07 +00:00
norris%netscape.com b62c04253e Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.

I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.

Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.

r=joki

There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.

r=jband
1999-11-25 05:28:18 +00:00
shaver%netscape.com 2d28223caa use explicit |.get()| for Unix compilers, a=leaf 1999-11-25 01:02:52 +00:00
vidur%netscape.com c49c6f4ec1 Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki 1999-11-25 00:05:21 +00:00
tbogard%aol.net a0640b60c4 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
waqar%netscape.com 52d9849fb5 # 15904, 19582
r vidur@netscape.com
d Fixes the problem with memory leak in AppendData node when manipulating
  comment nodes.
1999-11-23 23:13:03 +00:00
dcone%netscape.com 87afdfc5ad Initialize the mEnableRendering in other constructor... so print preview will show document. r=rods 1999-11-23 21:45:36 +00:00
pierre%netscape.com c1abaa96a5 12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge. 1999-11-23 01:07:56 +00:00
buster%netscape.com 814ee271ad fixed bug 19381. previously, I had added 2 interfaces onto this class, but I
forgot to add those classes in the QueryInterface method.  god, i wish we
had a macro for that!
r=kmcclusk.  thanks, kevin
1999-11-19 21:33:21 +00:00
buster%netscape.com 5e269fcf05 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
norris%netscape.com 411aade911 * Fix 12124 [DOGFOOD] Reading user's preferences
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
tbogard%aol.net 50379d48b1 Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
tbogard%aol.net 425a1fb90f Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov 1999-11-14 10:12:21 +00:00