6205 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
bcc31f85dd Don't let an empty intl.charset.default pref set the document charset to
the empty string.  Fall back to ISO-8859-1 in the script loader if there
is no other charset set.  Bug 118404, r=harishd, sr=jst


git-svn-id: svn://10.0.0.236/trunk@113444 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 21:36:00 +00:00
mkaply%us.ibm.com
1211f86623 #122482
rs=jst
Make OS/2 go down a Windows path to fix some focus events


git-svn-id: svn://10.0.0.236/trunk@113422 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 15:14:35 +00:00
rods%netscape.com
20b4083174 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson


git-svn-id: svn://10.0.0.236/trunk@113419 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:52:11 +00:00
bryner%netscape.com
c5d149916e bug 108791 - infinite recursion crash when tabbing if there is no focusable content. r=saari, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@113400 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 05:14:44 +00:00
alecf%netscape.com
f7ee18f044 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver


git-svn-id: svn://10.0.0.236/trunk@113390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 01:53:09 +00:00
heikki%netscape.com
10484cc5cc Bug 106053, remove unused XHTML namespace declarations, and fix incorrect namespace usages. r=harishd, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@113369 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 22:12:36 +00:00
seawood%netscape.com
37b1446d30 Per the hpux compiler:
# Nonempty source files must end with a newline that is not preceded by a backslash.


git-svn-id: svn://10.0.0.236/trunk@113356 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 20:39:17 +00:00
pinkerton%netscape.com
3cd8c83ac1 moving idl into MANIFEST_IDL to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@113354 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 20:34:17 +00:00
akkana%netscape.com
1a4a0619ba 113551: add bindings for Sun copy/paste keys. r=bz, sr=kin
git-svn-id: svn://10.0.0.236/trunk@113347 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:59:02 +00:00
radha%netscape.com
309a70610e wyciwyg channel files added. bug=35340 r/sr = jst, nisheeth, darin
git-svn-id: svn://10.0.0.236/trunk@113342 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:44:08 +00:00
radha%netscape.com
38a7a759a1 Changes related to wyciwyg protocol implementation. r=35340 r/sr by jst, darin,nisheeth
git-svn-id: svn://10.0.0.236/trunk@113338 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:38:16 +00:00
radha%netscape.com
9607a6f0c7 Changes related to wyciwyg protocol implementation. r=35340 r/sr by jst, nisheeth, darin.
git-svn-id: svn://10.0.0.236/trunk@113337 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:36:45 +00:00
radha%netscape.com
0a2fcf9a45 Initial checkin for wyciwyg protocol implementation. bug=35340 r/sr by nisheeth, darin, jst
git-svn-id: svn://10.0.0.236/trunk@113336 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:35:33 +00:00
radha%netscape.com
cad9148b23 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@113335 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 19:33:05 +00:00
naving%netscape.com
9c79a0be05 116329 one small change to patch by tingley@sundell.net r=rjc sr=waterson. Made it so that XULSortService
can grok for nsIRDFBlob


git-svn-id: svn://10.0.0.236/trunk@113241 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 22:37:17 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
alecf%netscape.com
4331ed65d3 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
cathleen%netscape.com
dd8ebc5bd1 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
darin%netscape.com
b801661659 fixes bug 121765 "NS_MakeAbsoluteWithCharset should not URL escape before
calling nsIURI::Resolve" r=nhotta, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@113180 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:40:27 +00:00
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
pinkerton%netscape.com
a7cee19a47 twisties, upside down tabs, and tree implementation on mac. Also adding constants for window, menu, and dialog backgrounds XP. bug 115747, r=sdagley/sr=hyatt,sfraser.
git-svn-id: svn://10.0.0.236/trunk@113139 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:10:57 +00:00