6226 Commits

Author SHA1 Message Date
hidday%geocities.com
f7f2557e73 Bug 64931 and bug 70551: new macros to implement attributes
with a default value for HTML elements. Converted table*
elements to use these new macros. More to follow.
r=sicking@bigfoot.com sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@114309 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:35:45 +00:00
alecf%netscape.com
83ac6a3dcc progress towards fixing 123041 - stop making copies of entities names and values as we retrieve them out of various entity tables
also, a few uses of NS_LITERAL_STRING, removal of long-since-unused nsHTMLContentSinkStream
r/sr=sfraser, sr=jag, r=harishd


git-svn-id: svn://10.0.0.236/trunk@114304 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 21:17:53 +00:00
rods%netscape.com
4d135d7b9b 1) It moves the BeginDocument to a earlier place in the call change
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi


git-svn-id: svn://10.0.0.236/trunk@114276 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 13:33:39 +00:00
bzbarsky%mit.edu
dc38245c49 Fix crash in treewalker when walking out of root element. Bug 124784,
r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@114221 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:51:40 +00:00
bryner%netscape.com
cb41e9c364 adding new theme constant, NS_THEME_DROPDOWN_TEXTFIELD. bug 124560, r=bzbarsky/pinkerton, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114218 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:44:36 +00:00
jkeiser%netscape.com
bf246b179c Make input type=file not submit form (bug 124749). r=bzbarsky@mit.edu, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114171 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 21:21:51 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
2ab4074373 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.


git-svn-id: svn://10.0.0.236/trunk@114146 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 16:10:51 +00:00
jst%netscape.com
d9eff4d98e Removing a nasty shortcut that I left in when fixing bug 116834. r=rginda@netscape.com, sr=blaker@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114123 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:48:31 +00:00
jst%netscape.com
7d4a1f9fee Fixing bug 121861. Removing dead code from nsHTMLImageElement::SetSrc(). r=bzbarsky@mit.edu, sr=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114119 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:21:16 +00:00
jst%netscape.com
95350ecfce Checking in Fabian Guisset's <hidday@geocities.com> fix for bug 95476. Making objectElement.tabIndex not always return -1. r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114117 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:18:22 +00:00
jst%netscape.com
99ebd21d9a Backing out v1.130 of this file since it caused crasher bug 120237. rs=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114112 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:49:25 +00:00
jst%netscape.com
35a3a33c39 Fixing bug 118194. Make sure we don't leave dangling document pointers in the content tree when the document goes away. r=bzbarsky@mit.edu, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114110 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:42:44 +00:00
hyatt%netscape.com
8b2fa72987 Giving XBL a helper func for sync loads of XML docs. r=danm, sr=ben
git-svn-id: svn://10.0.0.236/trunk@114093 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:56:32 +00:00
bryner%netscape.com
bbc692806c Bug 124298 - moving form submit/reset event firing into the content node. r=jkeiser, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114092 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 23:50:51 +00:00
radha%netscape.com
2bd74e926a Fox for bug # 109485. Meta refresh works differently than otehr browsers. r=valeski. sr=jaggernaut.
git-svn-id: svn://10.0.0.236/trunk@114073 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:46:09 +00:00
varga%utcru.sk
530d5a669e Fix for bugs:
121241 - Misplaced insertion line for outliner DND
120976 - Drop feedback needs some polishing
r=pink, sr=hyatt
Thanks for reviews and testing by zach.

- added new atom "dragSession"
- renamed atom "drop" to "dropOn"
- added new pseudo class -moz-outliner-drop-feedback
- added new paint method PaintDropFeedback()
- drop feedback in between rows is now painted at the same position for both orientations.


git-svn-id: svn://10.0.0.236/trunk@114067 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:35:18 +00:00
radha%netscape.com
37db922500 Fix for bug # 122904, 123936. r=mcafee. sr=alecf. Uninitialised variables and reorder of member initialisers.
git-svn-id: svn://10.0.0.236/trunk@114061 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:32:58 +00:00
jkeiser%netscape.com
bce3b6a176 Bug 121317 - use bitfields in nsHTMLInputElement, r=bryner@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@114042 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 18:23:47 +00:00
brade%netscape.com
70dbba7b56 remove nsIDiskDocument usage (instead use nsIWebBrowserPersist); bug 102033, r=glazman, sr=kin
git-svn-id: svn://10.0.0.236/trunk@114037 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:50:49 +00:00
peterv%netscape.com
b1c3df0cf1 Fix importNode, need to set the document before notifying. Bug 124358. r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@114021 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 11:28:15 +00:00
jst%netscape.com
42bf577957 Fixing bug 124252. Calling Init() from nsImageDocument::StartDocumentLoad() is pointless, Init() has already been called and any subsequent calls do nothing (but assert). r=jkeiser@iname.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113970 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:36:28 +00:00
cathleen%netscape.com
184587ade7 eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113965 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:11:33 +00:00
bzbarsky%mit.edu
0ba6b35b40 The type attr is only _sometimes_ case-sensitive for <li>. Bug 124167,
r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@113942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:05:17 +00:00
timeless%mac.com
092ea531fa Bug 33601ÿfixing warnings about switch(enumVar){case onlyOne: {}}
adds a default case. also removing an else after return.

r=roc+moz@cs.cmu.edu sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113941 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:05:16 +00:00
heikki%netscape.com
e015e1f82d Bug 98788, document.load() needs to do better reset on the document before starting to load new content. Also fixed a couple of bogus comments and unneeded document reset in document creation. r=mstoltz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@113849 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:24:09 +00:00
bzbarsky%mit.edu
faf6e2389b Make image/x-icon show ICON in title bar, not X-ICON. Bug 42093,
r=sicking, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113822 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 21:05:52 +00:00
pinkerton%netscape.com
46d542dcc5 ifdef-fu for mach-o. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@113797 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 15:42:06 +00:00
rods%netscape.com
412b45015d More streamline approach to discovering if there is at least one printer.
And if the printer name is not set, then it gets the default printer and uses
that. instead.
This fixes remembering the last printer that was used and it also
enables you to to set the printer name and print silently (instead of silent
always having to use the default printer)
Bug 123335 sr=hyatt r=dcone


git-svn-id: svn://10.0.0.236/trunk@113783 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 13:04:47 +00:00
bzbarsky%mit.edu
d6aa6839e7 Show the image type in the URL bar for image documents. Bug 42093,
r=timeless, sr=jag.


git-svn-id: svn://10.0.0.236/trunk@113744 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:40:18 +00:00
sspitzer%netscape.com
01eedb53a2 fix for assertions caused by checkin for #115289
remove all fancy string foo.  r=bzbarsky, sr=sfraser, a=radha


git-svn-id: svn://10.0.0.236/trunk@113714 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 20:27:10 +00:00
jst%netscape.com
d79bb6b848 Checking in Pete Zha's <pete.zha@sun.com> fix for bug 121726. Don't remove and re-insert form controls into form.elements when the name or id changes. This caused form.elements to be incorrectly ordered and is pointless to start with. r=jkeiser@iname.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113698 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 10:36:28 +00:00
jst%netscape.com
4373fa4ab0 More comments...
git-svn-id: svn://10.0.0.236/trunk@113691 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 07:13:50 +00:00
jst%netscape.com
a49bb992db Fixing bug 116834. Making element.innerHTML='...<script>...</script>...' not execute the script, this makes mozilla compatible with IE wrt innerHTML and execution of scripts. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113684 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 05:53:56 +00:00
jst%netscape.com
4e17fc730c Fixing bug 115352. Making FlushPendingNotifications() properly flush the parent document as well if there is one. This causes layout data in iframes to not always be up to date since iframe sizes are dependent on the parent being reflown. r=peterv@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113683 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 05:47:22 +00:00
rpotts%netscape.com
bc4e6e1a96 bug #117948 (r=bzarsky@mit.edu, sr=vidur@netscape.com) Ignore the HTTP Window-Target header inside of <meta> tags
git-svn-id: svn://10.0.0.236/trunk@113680 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 04:46:54 +00:00
jst%netscape.com
cdb28fa8fb Checking in Fabian's <hidday@geocities.com> fix for bug 69196. Making image.border, .hspace, and .vspace default to 1 an not -1. r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113677 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 04:37:10 +00:00
jst%netscape.com
e5c226065e Checking in Fabian's <hidday@geocities.com> fix for bug 76895. Making cloneNode() work on document fragments. r=bzbarsky@mit.edu, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113676 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 04:22:17 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
jst%netscape.com
5aa4af9df0 Fixing bug 123438. Making element.localName not be uppercased for XHTML elements. r=heikki@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@113663 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:51:06 +00:00
cathleen%netscape.com
ec77313291 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
heikki%netscape.com
c5b81825af Bug 119335, string assertion in XMLContentSerializer, use Substring for non-null terminated string. r=jst, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@113654 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:35:34 +00:00
hyatt%netscape.com
cdc7d6d6d8 Fix Macho and Cocoa horkage because of a missing ifdef.
git-svn-id: svn://10.0.0.236/trunk@113597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 10:56:42 +00:00
blakeross%telocity.com
d2d17b6520 79047 - shift+space should scroll upwards. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@113591 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 06:15:14 +00:00
alecf%netscape.com
43bee42ecd more dependency updates
git-svn-id: svn://10.0.0.236/trunk@113536 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 21:29:01 +00:00
mjudge%netscape.com
40f7d1b02e 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work.
git-svn-id: svn://10.0.0.236/trunk@113507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 05:13:56 +00:00
jst%netscape.com
e88756b2b7 Fixing bug 113498. Making .src on a new Image(); always be absolute. r=sicking@bigfoot.com, rs=rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@113473 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 00:17:40 +00:00
rjesup%wgate.com
5f600bf6e5 Bug 117667: access past end of docshell child array. sr=jst, r=joki
git-svn-id: svn://10.0.0.236/trunk@113463 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 23:56:48 +00:00
jaggernaut%netscape.com
0ac23b506b Bug 90221: Click() needs to act like a real click. r=jst, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@113462 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 23:55:49 +00:00
heikki%netscape.com
51cf66c5f5 Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@113450 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 22:28:55 +00:00