3294 Commits

Author SHA1 Message Date
jst%netscape.com
6965052726 Don't leak the hash table used for the attribute map (#32196). Patch from shaver, r=beard
git-svn-id: svn://10.0.0.236/trunk@64078 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 00:54:30 +00:00
norris%netscape.com
953def32a1 Fix
32088 Circumventing Same Origin security policy using javascript: URLs
        32040 about: can't be link
Also remove deprecated method
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@64066 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 22:15:37 +00:00
jim_nance%yahoo.com
4e7663b8a1 Fix bug 33019. Compiler warnings.
Reviewed and approved by:
law, mscott, radha, brade, shaver, & dveditz


git-svn-id: svn://10.0.0.236/trunk@64065 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 22:11:55 +00:00
rods%netscape.com
e409a39d42 added psuedoCheck
git-svn-id: svn://10.0.0.236/trunk@64044 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 16:21:47 +00:00
pollmann%netscape.com
812fff3d93 Bug 32702: GetHistoryState works as expected now - check for success, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63981 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:36:55 +00:00
cmanske%netscape.com
d7aa412329 Optimized SelectBlockOfCells to select/unselect only those cells that really need to be. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63970 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 02:52:07 +00:00
kmcclusk%netscape.com
527a6dc707 Offset the viewmanager in nsDocumentViewer by passing the offset to nsIViewManager::Init instead of offsetting the root view b=32161 r=attanasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63933 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:50:42 +00:00
hyatt%netscape.com
4cff45ba81 Giving XBL an upgrade.
git-svn-id: svn://10.0.0.236/trunk@63892 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:19:49 +00:00
hyatt%netscape.com
2262937e5a XUL <textfield> lives!
git-svn-id: svn://10.0.0.236/trunk@63890 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 22:17:37 +00:00
pierre%netscape.com
97f14393e2 Bugs 2055, 2056, 14983 and 15432. Display:marker/run-in/compact are not supported. The CSS parser drops any declaration that contains one of these display types.
git-svn-id: svn://10.0.0.236/trunk@63861 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 14:45:04 +00:00
hyatt%netscape.com
6d4b4d4811 Adding support for new XUL widgets.
git-svn-id: svn://10.0.0.236/trunk@63850 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 09:58:49 +00:00
hyatt%netscape.com
c8a09afc79 Making all focusable content properly tabbable.
git-svn-id: svn://10.0.0.236/trunk@63849 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 09:56:58 +00:00
mstoltz%netscape.com
6bc9c31751 Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris
git-svn-id: svn://10.0.0.236/trunk@63828 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:53:16 +00:00
cmanske%netscape.com
e15bf8d5b3 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.
git-svn-id: svn://10.0.0.236/trunk@63825 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:24:58 +00:00
hyatt%netscape.com
682a6abf95 Giving XUL a <script> tag. r=danm
git-svn-id: svn://10.0.0.236/trunk@63808 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 01:17:08 +00:00
jst%netscape.com
42a4f6989e Make the value of "dir" attributes more accessible through the DOM, this fixes #32617. r=troy
git-svn-id: svn://10.0.0.236/trunk@63787 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:46:33 +00:00
buster%netscape.com
bf63049426 bug 29595 (and others)
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy


git-svn-id: svn://10.0.0.236/trunk@63783 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:19:10 +00:00
jst%netscape.com
0436606d70 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
git-svn-id: svn://10.0.0.236/trunk@63772 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:16:14 +00:00
hyatt%netscape.com
83078e0ec9 Changing XUL template syntax to use <textnode> for wrapped text creation rather
than <text>, which is now a genuine XUL element.


git-svn-id: svn://10.0.0.236/trunk@63764 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:57:35 +00:00
rods%netscape.com
59cb70fb38 GetSelectedIndex now always returns a value and NS_OK
The value first comes from the frame, then from the presstate then
from the default selection in the content
it's checked into the branch, this is the tip check in
r=mscott b=32726


git-svn-id: svn://10.0.0.236/trunk@63743 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 14:45:20 +00:00
jst%netscape.com
3021373294 Implmentation of the DOM Level 2 DocumentType interface. Not part of the build yet. r=joki
git-svn-id: svn://10.0.0.236/trunk@63742 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 14:38:50 +00:00
dbaron%fas.harvard.edu
d6149be79b Fix miscellaneous form element leaks. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63686 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:21:33 +00:00
akkana%netscape.com
f74b43d420 23980: convert relative href= and src= to absolute. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@63677 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:33:59 +00:00
jst%netscape.com
90ebc6a542 Reducing the size of text nodes by 4 bytes per node. r=troy
git-svn-id: svn://10.0.0.236/trunk@63671 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:23:42 +00:00
cmanske%netscape.com
4c4c8e8cf0 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
git-svn-id: svn://10.0.0.236/trunk@63660 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:58:02 +00:00
mkaply%us.ibm.com
0c7a6dba2f # 24199
r= pierre@netscape.com
BiDi - ability to change the default direction of the browser


git-svn-id: svn://10.0.0.236/trunk@63595 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:51:59 +00:00
pollmann%netscape.com
191038a9c7 Bug 28143: Set selectedIndex to -1 should deselect all options (2 of 2 - when frame does not exist) r=waqar
git-svn-id: svn://10.0.0.236/trunk@63593 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:46:43 +00:00
hyatt%netscape.com
2eea7163c1 Marking my territory. ;)
git-svn-id: svn://10.0.0.236/trunk@63578 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 13:15:24 +00:00
hyatt%netscape.com
2aa21dfc54 Adding licenses to XBL files.
git-svn-id: svn://10.0.0.236/trunk@63577 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 13:14:34 +00:00
jst%netscape.com
daf83bdd00 Fixing the remaining part of #12559. r=gagan
git-svn-id: svn://10.0.0.236/trunk@63568 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 12:22:07 +00:00
norris%netscape.com
93ee43a3b2 added updatePrincipal function to nsDocument. r=norris (this is mstoltz's checkin)
git-svn-id: svn://10.0.0.236/trunk@63542 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:20:04 +00:00
norris%netscape.com
17c637de9c Added intersection of principals when multiple scripts are encountered. r=norris
(this is mstoltz's checkin)


git-svn-id: svn://10.0.0.236/trunk@63539 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:12:56 +00:00
norris%netscape.com
304b246cd7 Added UpdatePrincipal function to support multiple signed scripts in a document. r=norris
git-svn-id: svn://10.0.0.236/trunk@63538 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:09:58 +00:00
nisheeth%netscape.com
9317eafd78 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.
git-svn-id: svn://10.0.0.236/trunk@63529 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:25:16 +00:00
jst%netscape.com
d639a6b9e5 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
git-svn-id: svn://10.0.0.236/trunk@63511 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:29:01 +00:00
saari%netscape.com
ec7629c39d Null checking for saftey in some of the focus code. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@63505 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 00:47:19 +00:00
nhotta%netscape.com
ae0c89be06 Removed headers and constants for nsFactory, bug 11880, r=rjc.
git-svn-id: svn://10.0.0.236/trunk@63499 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:58:40 +00:00
karnaze%netscape.com
ef33586f26 bug 28071 - added Use DTD compatibility mode to viewer. layout uses single mechanism for determining compatibility mode. r=rods.
git-svn-id: svn://10.0.0.236/trunk@63493 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:39:22 +00:00
attinasi%netscape.com
ade61276ef Fixed error in SelectorMatches where anchor tags with no href were being treated as links in some cases. b=23209 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@63476 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:49:42 +00:00
nhotta%netscape.com
27150a7d9b Changed to use nsILocaleService instead of nsLocaleFactory, bug 18338, r=rjc.
git-svn-id: svn://10.0.0.236/trunk@63475 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 22:48:39 +00:00
dbaron%fas.harvard.edu
10ef096dc9 Fix leak statistics by logging all releases, and fix one extra release. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63415 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:35:22 +00:00
dbaron%fas.harvard.edu
dd3116b06a Fix leak of style contexts. r=karnaze@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63413 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:26:13 +00:00
jim_nance%yahoo.com
55ae4a6a68 Fix for uninitialized variable
r=waterson


git-svn-id: svn://10.0.0.236/trunk@63411 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 19:07:35 +00:00
norris%netscape.com
09ff59d528 Fix a number of security bugs. (I can't see the numbers at home because
they have restricted visibility.)
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@63404 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 17:48:12 +00:00
rods%netscape.com
d9ce7addbc Fixed GetSelectedIndex so it gets it out of the pressate when there is no frame.
for PDT+ bug 32119, I am checking in the fix in on the Tip,
ducarroz will check it in on the branch
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63400 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 15:29:48 +00:00
waterson%netscape.com
bc9b1d0a0b Get rid of dead code.
git-svn-id: svn://10.0.0.236/trunk@63375 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 05:26:25 +00:00
jst%netscape.com
8a0ea8c8e5 Backing out my last change since it broke the tree, sorry.
git-svn-id: svn://10.0.0.236/trunk@63363 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 03:11:52 +00:00
jst%netscape.com
1045f00b64 Fixing what (at least used to) crashes #28489. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63359 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 02:10:28 +00:00
jst%netscape.com
f68730e139 Removing the last virtual functions from nsGenericElement, this reduces the size of every element object by 4 bytes. r=troy@netscapce.com
git-svn-id: svn://10.0.0.236/trunk@63356 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 01:55:47 +00:00
dougt%netscape.com
6f9fac33b3 adding GetSecurityInfo to the nsIChannel. bug 29646 r= warren.
git-svn-id: svn://10.0.0.236/trunk@63320 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:07:37 +00:00