Compare commits

..

3733 Commits

Author SHA1 Message Date
(no author)
2308a8704a This commit was manufactured by cvs2svn to create tag 'START_LIBXPNET'.
git-svn-id: svn://10.0.0.236/tags/START_LIBXPNET@84116 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 00:27:11 +00:00
sgehani%netscape.com
563ead489b Initial checkin of libxpnet developed on Linux and ported to Windows.
(Not part of build.  Awaiting sr.)

b = 63835
r = ssu,dbragg



git-svn-id: svn://10.0.0.236/trunk@84115 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 00:27:10 +00:00
blizzard%redhat.com
d5cba57f22 add gtkembedmoz.so to the browser section. r,a=leaf
git-svn-id: svn://10.0.0.236/trunk@84113 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 00:14:12 +00:00
heikki%netscape.com
885b101f3f Bug 45627 and bug 45552. XMLSerializer to deal better with empty elements, special characters, elements from the HTML namespace and namespaces in general, and processing instructions. Removed a lot of duplicate code in XML Extras component, and made several small optimizations with nsCOMPtr initializations. r=vidur, a=jst.
git-svn-id: svn://10.0.0.236/trunk@84112 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 23:48:10 +00:00
sspitzer%netscape.com
f0a647bf53 fix all context menu for the message pane. except for "Select All",
none of the menu items worked.  two problems:  move isDocumentFrame()
out to contentAreaUtils.js and move the creation of the contextMenu out
so it wouldn't go out of scope.  r=blakeross, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84111 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 23:04:39 +00:00
bryner%uiuc.edu
cee05f3528 Removing dead files so that these directories will go away. Not part of build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@84110 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:59:26 +00:00
sspitzer%netscape.com
55dbadb2d6 fix for #60647, don't forget changes made to default smtp server
when opening (or closing) the advanced smtp dialog.
fix for #63830, disable "Username:" label when username text area is
diabled.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84108 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:46:14 +00:00
danm%netscape.com
b6865a3691 adding persistence of min/max state. arguably bug 32148 r=bienvenu,sspitzer. yes, i actually got this patch reviewed by two real people.
git-svn-id: svn://10.0.0.236/trunk@84107 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:41:46 +00:00
sspitzer%netscape.com
681a5f7e34 I have no desire to hear hyatt moo. r=bryner
git-svn-id: svn://10.0.0.236/trunk@84106 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:37:09 +00:00
blizzard%redhat.com
ba9727ad8d add a [psm] section to packages-unix r,a=leaf
git-svn-id: svn://10.0.0.236/trunk@84105 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:31:17 +00:00
nelsonb%netscape.com
582404ddad Detect null slot pointer instead of crashing.
git-svn-id: svn://10.0.0.236/trunk@84100 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 21:31:39 +00:00
wtc%netscape.com
88b91f1fb2 Bugzilla bug #63815: a workaround for IBM xlC_r 3.6.6 (on AIX 4.3) to
compile pk11slot.c.


git-svn-id: svn://10.0.0.236/trunk@84099 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 20:58:38 +00:00
wtc%netscape.com
c6dac0d3a1 Bugzilla bug #63807: fixed function prototype of SHA1_TraceState.
git-svn-id: svn://10.0.0.236/trunk@84097 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 18:47:57 +00:00
timeless%mac.com
4e5babe429 J:\DOCUMENT\Josh\LOCALS~1\Temp\4
git-svn-id: svn://10.0.0.236/trunk@84095 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 09:32:05 +00:00
blakeross%telocity.com
11c9e86642 Fix 63727: right-click on menu for back/fwd button pops up new menu. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84094 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 08:55:43 +00:00
blakeross%telocity.com
619ef3ec56 Fix 63721: removing extraneous code from nsHTMLButtonElement.cpp. It's Dead Code Removal week, so I'm just doing my part. r=jst sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84093 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 08:41:29 +00:00
sgehani%netscape.com
64ef92cadb Use new Test() API in libjar to ensure archive integrity before installing.
b = 61544
 r = dveditz
sr = dveditz


git-svn-id: svn://10.0.0.236/trunk@84092 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 07:06:58 +00:00
sgehani%netscape.com
5a95479440 Add ZIP_TestArchive support for CRC32 verification of all or individual items.
b = 61544
 r = dveditz
sr = alecf


git-svn-id: svn://10.0.0.236/trunk@84091 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 07:05:55 +00:00
cls%seawood.org
4e99bb67e6 Give the standalone build system a finer grained control over which directories are checked out.
Bug #57282 r=blizzard


git-svn-id: svn://10.0.0.236/trunk@84090 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 05:29:50 +00:00
nelsonb%netscape.com
a1d9627aef Use the -O2 optimizer only when BUILD_OPT is defined.
This makes AIX debug builds debuggable.


git-svn-id: svn://10.0.0.236/trunk@84089 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 04:10:10 +00:00
bryner%uiuc.edu
a106ac63fb Removing obsolete headers. Bug 38061. r/sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84088 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 03:48:18 +00:00
nelsonb%netscape.com
8a49aa69ad This code permits multiple implementations of freebl to coexist for a
single platform.  The best implementation for the local CPU is dynamicly
loaded at run time.  Requires DSOs to be in the LD_LIBRARY_PATH or
equivalent (e.g. SHLIB_PATH).


git-svn-id: svn://10.0.0.236/trunk@84087 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 03:20:04 +00:00
nelsonb%netscape.com
de911e489f Stubs for RC5 functions. This is NOT a working implementation of RC5.
git-svn-id: svn://10.0.0.236/trunk@84086 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 03:16:59 +00:00
nelsonb%netscape.com
e9d4a7ee0b Attempt to clarify code to reduce confusion about side effect of
MP_CHECKOK macro.


git-svn-id: svn://10.0.0.236/trunk@84085 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 03:14:28 +00:00
nelsonb%netscape.com
77b578ec4e Ensure function SHA1_TraceState is always defined, even when TRACING_SSL
is not defined.


git-svn-id: svn://10.0.0.236/trunk@84084 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 02:41:59 +00:00
nelsonb%netscape.com
617799f2be Fix an error message to correctly report the name of the failed init
function.


git-svn-id: svn://10.0.0.236/trunk@84083 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 02:38:47 +00:00
nelsonb%netscape.com
0abec21283 Change HP 64-bit and hybrid builds to use new HP assembly code.
Fix uses of $(LIB).


git-svn-id: svn://10.0.0.236/trunk@84082 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 02:08:54 +00:00
nelsonb%netscape.com
13f683315a The Initial Developer of the Original Code is Netscape
Communications Corporation.  Portions created by Netscape are
Copyright (C) 2000 Netscape Communications Corporation.  All Rights
Reserved.


git-svn-id: svn://10.0.0.236/trunk@84081 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 01:48:25 +00:00
nelsonb%netscape.com
c41d481f87 The Initial Developer of the Original Code is the Hewlett-Packard Company.
Portions created by Hewlett-Packard Company are
Copyright (C) 1999 Hewlett-Packard Company.  All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@84080 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 01:45:23 +00:00
nelsonb%netscape.com
d52d28c7cb The Initial Developer of the Original Code is the Hewlett-Packard Company.
Portions created by Hewlett-Packard Company are
Copyright (C) 1997 Hewlett-Packard Company.  All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@84079 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 01:44:44 +00:00
wtc%netscape.com
8980fada0e Bugzilla bug #63768: do not build "purified" libraries, which are no longer
necessary for the current version of Purify.
Modified Files:
	HP-UX.mk IRIX.mk README ReliantUNIX.mk SunOS4.1.3_U1.mk
	SunOS5.mk command.mk prefix.mk rules.mk ruleset.mk suffix.mk


git-svn-id: svn://10.0.0.236/trunk@84078 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:42:46 +00:00
anthonyd%netscape.com
a1ab735a6f fix for bug#58028 - Range CompareBoundaryPoints returning incorrect values
r=jst,kin
a=kin


git-svn-id: svn://10.0.0.236/trunk@84077 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:37:01 +00:00
bryner%uiuc.edu
ae46825410 Removing unused old plugin code. Not part of build. r=av, sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84076 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:22:36 +00:00
anthonyd%netscape.com
0c9762c747 fix for bug#59577 - hang during keyboard navigation
r=kin
sr=buster


git-svn-id: svn://10.0.0.236/trunk@84075 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:22:25 +00:00
cls%seawood.org
8dd6c1b5b4 Simple script to remove duplicates from a list given as the args.
git-svn-id: svn://10.0.0.236/trunk@84072 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:08:18 +00:00
cls%seawood.org
979ed1d04e XPCOM_STANDALONE is no longer needed for xpcom standalone builds
git-svn-id: svn://10.0.0.236/trunk@84071 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 23:49:01 +00:00
leaf%mozilla.org
3e465b9fc2 Automated update
git-svn-id: svn://10.0.0.236/trunk@84070 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 22:30:10 +00:00
bryner%uiuc.edu
8465661c9c Removing all traces of the old LAYERS #define. r=jst, sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84069 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 22:19:17 +00:00
leaf%mozilla.org
cba0867021 removing the touch of mozilla/security/Makefile unless we are explicitly
building BUILD_MODULES=psm... othwerwise, the checkout of the psm module
fails on an existing, built mozilla tree. r=cls


git-svn-id: svn://10.0.0.236/trunk@84068 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 22:10:13 +00:00
despotdaemon%netscape.com
0b553adb17 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@84067 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 22:07:37 +00:00
pschwartau%netscape.com
fd4c10b905 Adjusting hard-coded Pacific timezone date testcases to work in any tester's timezone -
git-svn-id: svn://10.0.0.236/trunk@84066 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 20:02:04 +00:00
pschwartau%netscape.com
e40507fc34 Adding functionality to adjust hard-coded date tests (written for Pacific timezone) for the tester's own timezone
git-svn-id: svn://10.0.0.236/trunk@84065 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 19:55:05 +00:00
pschwartau%netscape.com
a27f1315b0 Modifiying one line that was failing in GMT+ timezones (i.e. east of Greenwich)
git-svn-id: svn://10.0.0.236/trunk@84064 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 19:34:07 +00:00
jst%netscape.com
6a30c53238 Removing unnecessary include files and forward declarations.
git-svn-id: svn://10.0.0.236/trunk@84063 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:21:25 +00:00
jst%netscape.com
f5874fe4bc Removing unused CID and doing some whitespace cleanup.
git-svn-id: svn://10.0.0.236/trunk@84062 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:01:41 +00:00
jst%netscape.com
66de3dc038 Removing dead code and unused member variables from nsHTMLDocument, r=timeless@mac.com. Oh, and wrap nsHTMLDocument::MatchLayers() in #ifdef NS_IMPLEMENT_DOCUMENT_LAYERS
git-svn-id: svn://10.0.0.236/trunk@84061 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 00:39:42 +00:00
blakeross%telocity.com
2287d0252f Fixing a minor problem with the last patch I checked in. r=timeless
git-svn-id: svn://10.0.0.236/trunk@84060 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-25 23:57:57 +00:00
blakeross%telocity.com
ddd23b96ba Fix 42732: open web location dialog should remember previous url and other clean-up. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84059 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-25 05:13:15 +00:00
blakeross%telocity.com
f6256f739f Fix 38416: entire textarea should have edit cursor. patch proposed by neil@parkwaycc.co.uk. r=blake sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84058 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 09:03:31 +00:00
blakeross%telocity.com
221fab86dd Fix 63572: colorpicker in Composer and message compose is broken. r=cmanske sr=syd
git-svn-id: svn://10.0.0.236/trunk@84057 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 06:40:52 +00:00
jar%netscape.com
e48839ae48 Added --detail option to show basis for object sweeping action
git-svn-id: svn://10.0.0.236/trunk@84056 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 05:56:41 +00:00
mkaply%us.ibm.com
e5cbb693b5 OS/2 TB breakage
This would be the next break on Unichar


git-svn-id: svn://10.0.0.236/trunk@84055 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 03:54:59 +00:00
dbaron%fas.harvard.edu
419f4b4c27 Attempt to fix OS/2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2. b=54564
git-svn-id: svn://10.0.0.236/trunk@84054 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 03:36:32 +00:00
jst%netscape.com
1433395ab5 Fixing a change I overlooked in my last big checkin that caused a crash in some cases where forms were accessed from JS. r=jag
git-svn-id: svn://10.0.0.236/trunk@84053 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 01:52:05 +00:00
dbaron%fas.harvard.edu
09a89426ab Attempt to fix OS/2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2. UniChar was accidentally used in place of PRUnichar. b=54564
git-svn-id: svn://10.0.0.236/trunk@84052 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 01:26:18 +00:00
mkaply%us.ibm.com
7569381202 OS/2 TB breakage
PR_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@84051 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 22:57:56 +00:00
dbaron%fas.harvard.edu
0ab98045bb Attempt to fix BeOS bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2.
git-svn-id: svn://10.0.0.236/trunk@84050 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 22:15:06 +00:00
dbaron%fas.harvard.edu
08a452ecba Temporary hack to remove libpsmglue.so since cls's changes yesterday made it not built by default, and my changes today caused unresolved symbols in the old library. r=cls
git-svn-id: svn://10.0.0.236/trunk@84049 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 21:46:39 +00:00
dbaron%fas.harvard.edu
042a2e87ee Attempt to fix OS2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2.
git-svn-id: svn://10.0.0.236/trunk@84048 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 21:43:53 +00:00
dbaron%fas.harvard.edu
470a479f4d Attempt to fix OS2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2.
git-svn-id: svn://10.0.0.236/trunk@84047 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 20:31:08 +00:00
dbaron%fas.harvard.edu
72c9384f8a Attempt to fix OS2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2.
git-svn-id: svn://10.0.0.236/trunk@84046 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 19:00:35 +00:00
leaf%mozilla.org
cd6d570811 Automated update
git-svn-id: svn://10.0.0.236/trunk@84045 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 16:45:09 +00:00
dbaron%fas.harvard.edu
a948227cb8 Fix the use of dynamic_cast for nsCOMPtr logging so it doesn't appear in a macro. b=61243
Implement (without enabling, yet) assertions to warn about static constructors.  b=62006
Partly fix warnings about MOZ_DECL_CTOR_COUNTER on Mac builds by removing extra semicolon.  b=60145
Start to fix the longstanding leaks of nsTraceRefcnt's own hashtables.
r=waterson@netscape.com  sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@84044 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 16:43:32 +00:00
dbaron%fas.harvard.edu
e6ab2dc85e Fix and enable the autoconf test to allow the faster version of NS_LITERAL_STRING on compilers where sizeof(wchar_t) == 2 or compilers (such as gcc 2.96+) that accept -fshort-wchar to force this. r=waterson@netscape.com sr=cls@seawood.org b=54564
git-svn-id: svn://10.0.0.236/trunk@84043 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 16:34:49 +00:00
jst%netscape.com
9ebc385562 Removing the last (unnecessary) call to nsIHTMLContent::ToHTMLString that I missed in my first checkin. r=jag
git-svn-id: svn://10.0.0.236/trunk@84042 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 13:44:22 +00:00
jst%netscape.com
2c48463883 More mac bustage fixes...
git-svn-id: svn://10.0.0.236/trunk@84041 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 13:32:28 +00:00
jst%netscape.com
4f9d57512a One more attempt at fixing the mac redness.
git-svn-id: svn://10.0.0.236/trunk@84040 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 12:57:59 +00:00
jst%netscape.com
e4423638f8 Fixing nsINameSpace leak introduced in my last checkin.
git-svn-id: svn://10.0.0.236/trunk@84039 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 12:14:41 +00:00
jst%netscape.com
9dffc0950b Attempting to fix mac bustage.
git-svn-id: svn://10.0.0.236/trunk@84038 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 11:59:05 +00:00
jst%netscape.com
94b13f8d0c removed files: mozilla/layout/xml/content/src/nsGenericXMLElement.cpp
git-svn-id: svn://10.0.0.236/trunk@84037 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 11:12:01 +00:00
jst%netscape.com
e59263f7ec Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@84036 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 10:56:31 +00:00
disttsc%bart.nl
62d90be0d3 Add |.get()| to nsCString. Bug=58284,r=dbaron, a=scc.
git-svn-id: svn://10.0.0.236/trunk@84035 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 06:45:54 +00:00
rpotts%netscape.com
a63a689198 bug #62955 - Dialog boxes are the wrong size.
git-svn-id: svn://10.0.0.236/trunk@84034 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 06:07:38 +00:00
cls%seawood.org
82f51032b6 Do not pull PSM/NSS by default until the conflict problem with the PSM Makefiles is resolved.
do:
make -f client.mk pull_all BUILD_MODULES=psm
if you want to build psm/psm-glue/nss


git-svn-id: svn://10.0.0.236/trunk@84033 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 03:11:17 +00:00
cls%seawood.org
b803250fdb Remove js/src from psm dep list since it's already in DIRS list
git-svn-id: svn://10.0.0.236/trunk@84032 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 02:44:16 +00:00
cls%seawood.org
eb6acf27db JS has required NSPR for some time apparently. Updating module list to not pull all of js/ just enough to build libmozjs.so (js/src).
git-svn-id: svn://10.0.0.236/trunk@84031 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 02:26:44 +00:00
jgmyers%netscape.com
5167b4ed59 IPv6 support in PSM: bug 47834 r=ddrinan sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84030 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 01:26:25 +00:00
despotdaemon%netscape.com
70ef59ae38 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@84029 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 01:22:44 +00:00
despotdaemon%netscape.com
576fe2b9ef Pseudo-automatic update of changes made by thesteve@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@84028 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 01:12:24 +00:00
blakeross%telocity.com
c25cf676e7 Removing old pref.js (not used/built/packaged anywhere). r=bryner sr=syd
git-svn-id: svn://10.0.0.236/trunk@84027 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 01:08:10 +00:00
sspitzer%netscape.com
3259547dfc fix leak. sr=syd
git-svn-id: svn://10.0.0.236/trunk@84026 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 01:02:25 +00:00
curt%scruznet.com
acb00daf4e New.
git-svn-id: svn://10.0.0.236/trunk@84025 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 00:56:39 +00:00
curt%scruznet.com
7e371d2179 Pulled the logic for creating the plotable dat files out into a seperate
AWK script (create_dat.awk).

Use the Skip=5 variable definition to tell linear-regression.awk to ignore
the first 5 urls of data files.


git-svn-id: svn://10.0.0.236/trunk@84024 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 00:56:08 +00:00
sonmi%netscape.com
641a461f24 added qaclean and beautified some of the rest
git-svn-id: svn://10.0.0.236/trunk@84023 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:56:41 +00:00
sonmi%netscape.com
bea4f0e791 :-)
git-svn-id: svn://10.0.0.236/trunk@84022 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:56:06 +00:00
sonmi%netscape.com
c288e02891 was part of the qa wrapper for a long time, just never found the time to check it in
git-svn-id: svn://10.0.0.236/trunk@84021 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:40:54 +00:00
sspitzer%netscape.com
d602abb8d2 fixes for #57912, #14295, #14301
1) add ui and backend support for "log into this account at startup".  all that is missing is the code to actually do the logging in at startup.  that comes next.

2) hide the user name for news servers in the account manager.

3) fix ui to allow users to edit the username and hostname for a server, but disable it until the back end can handle a live swap of those values.

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84020 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:32:32 +00:00
sspitzer%netscape.com
aba8f5da56 fix for #63625. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84019 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:29:12 +00:00
sspitzer%netscape.com
4b850af209 fix for #63625, sr=bienvenu.
nsINewsDatabase.h -> nsINewsDatabase.idl


git-svn-id: svn://10.0.0.236/trunk@84018 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:28:56 +00:00
sspitzer%netscape.com
9dc96d6e42 new file, part of fix for #63625. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84017 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:24:44 +00:00
koehler%mythrium.com
50182298c6 Bug 59528 - BeOS: images are drawn outside of its bounding box - r=cls
git-svn-id: svn://10.0.0.236/trunk@84016 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:19:04 +00:00
dmose%mozilla.org
e7287beca1 changes from jake@acutex.net to make it possible to toggle the default value of newemailtech for new profiles, this is set by default to be turned on (the old default was off) ; r=dmose@mozilla.org. changes from me to make newemailtech the default in all new installations, and update the verbiage in various spots to make it clear that newemailtech is now considered the one true way and the old tech will be going away. r=endico@mozilla.org,cyeh@bluemartini.com
git-svn-id: svn://10.0.0.236/trunk@84014 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:01:30 +00:00
blakeross%telocity.com
cc37a74473 Fix 58571: JS strict warnings in SearchDialog.js. patch by Jarrod Gray (jarrod.k.gray@rose-hulman.edu). r=me sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84013 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 22:54:26 +00:00
rpotts%netscape.com
ba3a475136 bug #63529. Added a null-pointer check in nsWebShell::OnStateChange(...)
git-svn-id: svn://10.0.0.236/trunk@84012 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 21:47:26 +00:00
cls%seawood.org
ff78af5436 Slow down. Enjoy life. Stop forgetting to check in files.
git-svn-id: svn://10.0.0.236/trunk@84011 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 21:44:25 +00:00
cls%seawood.org
530f350854 Landing javi@netscape.com 's changes to make NSS place nice with the Mozilla build system.
Bug #60912 r=bryner
CARPOOL! a=leaf


git-svn-id: svn://10.0.0.236/trunk@84008 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 21:12:53 +00:00
despotdaemon%netscape.com
a1aa8ed809 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@84007 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 21:00:14 +00:00
dmose%mozilla.org
db51fafbe5 script for watching mysqld. r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84006 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 20:48:47 +00:00
dmose%mozilla.org
6e752e743b updated to ignore graphs subdir
git-svn-id: svn://10.0.0.236/trunk@84005 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 20:48:16 +00:00
cls%seawood.org
3179b75510 Add psm to standalone build system.
Pull psm & nss by default via client.mk .
Moves psm-glue from Mozilla build to psm module.
Bug #60912. r=bryner
CARPOOL!


git-svn-id: svn://10.0.0.236/trunk@84004 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 20:43:27 +00:00
mcgreer%netscape.com
d3c97823b6 merge from branch (this process will be fixed, someday)
git-svn-id: svn://10.0.0.236/trunk@84003 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 19:23:41 +00:00
curt%scruznet.com
f766c016c9 Can skip the first n number of urls by setting Skip=n from the command-line.
The default is Skip=0.


git-svn-id: svn://10.0.0.236/trunk@84001 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 19:04:23 +00:00
jar%netscape.com
81cb492328 Moving leak-soup.pl to sibling directory ../trace-malloc
git-svn-id: svn://10.0.0.236/trunk@83998 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 17:47:52 +00:00
jar%netscape.com
30ee2180d7 Moving leak-soup.pl from sibling directory ../trace-malloc-tools
git-svn-id: svn://10.0.0.236/trunk@83997 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 17:46:57 +00:00
alecf%netscape.com
49f954588a fix for blocker #63603 - forgot to implement OpenURL r=timeless
a=blocker-baby


git-svn-id: svn://10.0.0.236/trunk@83996 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 17:35:39 +00:00
relyea%netscape.com
676f4851bc Shared library changes.
Three directories pull the NSS libraries together into a three shared libaries:
nss, ssl, and smime. Symbols need to be exported by the DLL from the imported
libraries are defined in XXX/XXXsym.c Library linkage is controlled by
XXX/config.mk


git-svn-id: svn://10.0.0.236/trunk@83995 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 17:16:24 +00:00
relyea%netscape.com
2911c27f7a Add dynamic Library support to commands. Mark those that commands that still
need to be build with static libraries appropriately.


git-svn-id: svn://10.0.0.236/trunk@83994 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 17:09:07 +00:00
jar%netscape.com
1d7c29de5f Cleaned up printout for fragmentation analysis, and added helpful stats on actual allocations (to contrast with gap statistics)
git-svn-id: svn://10.0.0.236/trunk@83993 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 16:26:03 +00:00
curt%scruznet.com
f0981f562a Added www.yahoo.com five time at the beginning so that the browser can get
cached up befor the real memory testing starts happening.  The linear
regression AWK script will be modified to think this way, too.

Added some comment lines to explain a little about what each list is about.

Uncommented some urls which have been causing trouble, under the assumption
that what is checked in should be complete.  Whoever uses the list can
comment out whatever urls are troublesome in the particular test they are
running.


git-svn-id: svn://10.0.0.236/trunk@83992 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 15:28:48 +00:00
jar%netscape.com
69bdd51c9f Added diagnostics for flawed data (overlapping objects), and histogram generation for memory fragmentation evaluation
git-svn-id: svn://10.0.0.236/trunk@83991 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 08:43:39 +00:00
idk%eng.sun.com
f88a425a94 *not part of tbox builds*
Addon to previous checkin (fix for 63582)


git-svn-id: svn://10.0.0.236/trunk@83989 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 07:30:14 +00:00
idk%eng.sun.com
fcb39909f5 *not part of tbox builds*
fix for 63586


git-svn-id: svn://10.0.0.236/trunk@83988 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 07:28:26 +00:00
wtc%netscape.com
483b7c6c82 Bugzilla bug #62457: set the flock structure correctly and use fcntl
file locking on AIX 4.3, HP-UX 11.00, IRIX, Linux, OSF1 V4.0, and Solaris.
Modified Files: AIX.mk, HP-UX.mk, IRIX.mk, Linux.mk, OSF1.mk, SunOS5.mk,
and unix.c.


git-svn-id: svn://10.0.0.236/trunk@83986 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 06:02:52 +00:00
disttsc%bart.nl
17844fc800 Remove keywords.js from Mozilla (which doesn't use it), Netscape has its own version. Additional clean-up. Bug 58693, r=bryner, a=ben
git-svn-id: svn://10.0.0.236/trunk@83985 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 04:28:44 +00:00
sonmi%netscape.com
674b814b83 breaking the world record for NT bugs per minute
git-svn-id: svn://10.0.0.236/trunk@83984 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 03:02:01 +00:00
sonmi%netscape.com
96cd75cdfa fixed hostname for Win2000
git-svn-id: svn://10.0.0.236/trunk@83983 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 03:01:10 +00:00
sonmi%netscape.com
fe7e6c9293 fixed OS name for WinNT once more...
git-svn-id: svn://10.0.0.236/trunk@83982 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 03:00:17 +00:00
ssu%netscape.com
b605e660f1 fixing bug #63307 - PSM is not being installed in mozilla builds. sr=beinvenu, r=leaf,sgehani. not part of any tinderbox builds. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@83981 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 02:49:33 +00:00
mkaply%us.ibm.com
4caaef016a OS/2 TB breakage
PR_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@83980 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 02:39:03 +00:00
sonmi%netscape.com
bac25291dd bugfix and warning for NT
git-svn-id: svn://10.0.0.236/trunk@83979 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 02:31:56 +00:00
bienvenu%netscape.com
5fccb394db fix build warning from last checkin
git-svn-id: svn://10.0.0.236/trunk@83978 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 02:13:58 +00:00
bienvenu%netscape.com
b1b4a03926 download news messages for offline sr=sspitzer for mscott 15865
git-svn-id: svn://10.0.0.236/trunk@83977 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 02:05:48 +00:00
waldemar%netscape.com
ae23dd6d5d Revamped the syntax for calling superconstructors and tightened up the syntax for the super operator
git-svn-id: svn://10.0.0.236/trunk@83976 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 02:02:14 +00:00
sonmi%netscape.com
4222853d91 this script is supposed to cleanup after a failed QA
git-svn-id: svn://10.0.0.236/trunk@83975 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 02:00:29 +00:00
naving%netscape.com
a5444807c4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@83974 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 01:55:54 +00:00
naving%netscape.com
59cd2a9ad9 54909. r=sspitzer sr=bienvenu. Pop : Emptying trash now deletes subfolders also. Thanks to
sspitzer and david for the help.


git-svn-id: svn://10.0.0.236/trunk@83973 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 01:54:54 +00:00
brendan%mozilla.org
ab1ee3d23b Must hold tmmon around all suppress_tracing uses as well as defs (r=waterson, not part of build).
git-svn-id: svn://10.0.0.236/trunk@83972 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 01:32:39 +00:00
pinkerton%netscape.com
2baa86a01a clean up interface, per directions. adding copyLinkLocation(), and specifying semantics of selectNone() wrt insertion point location. Implemented selectNone(). r=saari/a=hyatt. bug#s 46867, 63001
git-svn-id: svn://10.0.0.236/trunk@83971 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 01:13:46 +00:00
av%netscape.com
a055b339d7 Part of fixing 61388, implemented PluginArrayImpl::Refresh body. r=a=jst, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@83970 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 00:08:31 +00:00
attinasi%netscape.com
fcdcfc547e Turning the Style Context FastCache back on. a=hyatt@netscape, reviewed previously by pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83969 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:34:44 +00:00
sspitzer%netscape.com
685e8512d9 fix for #56074. thanks to andrew taylor (andrew.taylor@cal.montage.ca) for the fix.
r=sspitzer,sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@83968 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:34:22 +00:00
karnaze%netscape.com
56d0a07733 bug 42443 - consider over specified col spans when allocating array, sr=buster
git-svn-id: svn://10.0.0.236/trunk@83967 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:06:44 +00:00
karnaze%netscape.com
fb49fe1119 bug 43204 - zero out padding for row/col group, ro/col, sr=buster
git-svn-id: svn://10.0.0.236/trunk@83966 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:05:15 +00:00
karnaze%netscape.com
3a6c654791 bug 40721 - improved TallestCellGotShorter(), sr=buster, r=rods
git-svn-id: svn://10.0.0.236/trunk@83965 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:03:42 +00:00
nicolson%netscape.com
65fc9897de Checking in what we can off SSL.
git-svn-id: svn://10.0.0.236/trunk@83964 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:59:12 +00:00
karnaze%netscape.com
12583bedd4 bug 33784 - added simple rule for "td div p", sr=buster, r=attinasi
git-svn-id: svn://10.0.0.236/trunk@83963 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:50:02 +00:00
curt%scruznet.com
48f61b64cb New
git-svn-id: svn://10.0.0.236/trunk@83962 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:40:18 +00:00
timeless%mac.com
9b551aa5d2 fix bug 50622 change the help content for -CreateProfile.
patch by andre@beta.telenordia.se r=timeless sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@83961 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:22:04 +00:00
pinkerton%netscape.com
f69338565d Make GetBits() convert from DDB to DIB when asking for the bits, if necessary.
r=kmcclusk, sr=hyatt. bugscape bug #3322.


git-svn-id: svn://10.0.0.236/trunk@83960 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:18:15 +00:00
attinasi%netscape.com
a684a2fc7f Fixes regression due to Style Data sharing: forcing shared contexts to be unique now when they have to be reresolved. b=63118 r=karnaze@netscape.com a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83959 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:16:38 +00:00
danm%netscape.com
e29fea90f0 move installed-chrome to the correct (Embed) directory. fixes missing scrollbars
git-svn-id: svn://10.0.0.236/trunk@83958 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:15:15 +00:00
mcgreer%netscape.com
256ae931c7 dump usage before doing anything when no args passed, bug 63520
git-svn-id: svn://10.0.0.236/trunk@83957 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:14:02 +00:00
naving%netscape.com
34df2358ab *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@83956 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:11:09 +00:00
naving%netscape.com
8bdde969d8 63083 r=bienvenu sr=mscott. Thanks to bienvenu for the fix
git-svn-id: svn://10.0.0.236/trunk@83955 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:10:40 +00:00
alecf%netscape.com
0ce62832f4 - move bookmarks over to the generic nsTreeUtils.js for stuff like sorting/menus
- convert history to use the new nsTreeController
- update history to support removing of individual items (bug #11412)
a=ben


git-svn-id: svn://10.0.0.236/trunk@83954 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 21:59:39 +00:00
alecf%netscape.com
89a97f4e81 update tree controller to add cut/paste, etc
and add some generic tree sorting/menu stuff
not part of build just yet


git-svn-id: svn://10.0.0.236/trunk@83953 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 21:53:42 +00:00
ssu%netscape.com
3bda94d531 fixing bug #63414 - Need to simplify the addition of components to the win32 installer. sr=vienvenu r=dveditz not part of tinderbox builds. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@83952 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 21:42:13 +00:00
ssu%netscape.com
5c8d2746fd fixing bug #63414 - Need to simplify the addition of components to the win32 installer. sr=vienvenu r=dveditz affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@83951 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 21:41:28 +00:00
harishd%netscape.com
8ed69b648d 62754 - Fix meta charset that was getting ignored.
63234 - Fix up an infinite looping caused by embedded null chars.

r=ftang
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@83950 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 20:46:00 +00:00
pinkerton%netscape.com
71eaa09bf0 rollup menu when we get a tab. r=saari, a=hyatt. bug #56381.
git-svn-id: svn://10.0.0.236/trunk@83949 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 20:40:14 +00:00
sdv%sparc.spb.su
9d224364a8 fix for bug 56576
git-svn-id: svn://10.0.0.236/trunk@83948 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 20:30:39 +00:00
danm%netscape.com
820852c80e move installed-chrome to the correct (Embed) directory. fixes missing scrollbars
git-svn-id: svn://10.0.0.236/trunk@83947 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 20:25:08 +00:00
sonmi%netscape.com
16c8bc41f1 removed certutilout with the other temporary files
git-svn-id: svn://10.0.0.236/trunk@83946 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 20:11:38 +00:00
sonmi%netscape.com
37e02ff968 took an additional set_host function out, called the real set_host earlier
git-svn-id: svn://10.0.0.236/trunk@83945 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 19:44:11 +00:00
sonmi%netscape.com
27fcfb56b4 bugfix for .nssqa file in results directory
git-svn-id: svn://10.0.0.236/trunk@83944 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 19:42:23 +00:00
sonmi%netscape.com
bb5f36058d several bugfixes concerning missing plattform list and the NT/2000 OS name
git-svn-id: svn://10.0.0.236/trunk@83943 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 19:40:24 +00:00
sonmi%netscape.com
4128e75460 changed the certutil output handeling once more
git-svn-id: svn://10.0.0.236/trunk@83942 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 19:35:36 +00:00
sspitzer%netscape.com
78f1ac739d fix javascript warnings. #60645. patch from gemal@gemal.dk. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@83940 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 15:28:50 +00:00
locka%iol.ie
5774cbaca9 More bug fixes for file persistence. Fixed a memory leak, added support for INPUT & BASE tags. Fixed a duff assertion. b=46574, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@83939 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 13:44:35 +00:00
alecf%netscape.com
9da31227bc allow removal of history items via RDF
sr=waterson, bug #11412


git-svn-id: svn://10.0.0.236/trunk@83938 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 07:39:43 +00:00
idk%eng.sun.com
e5c9614187 *not part of tbox builds*
Added shortcuts implementation (we would not wrap wrappers any more)

XPCOM object get called at the same thread the stub was created.


git-svn-id: svn://10.0.0.236/trunk@83937 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 06:52:52 +00:00
mccabe%netscape.com
3ca285bf65 Fix courtesy jband to quiet unused variable warning.
Move 'dlsoffset' to the block where it's used, inside #ifdef XP_MAC.

r=mccabe


git-svn-id: svn://10.0.0.236/trunk@83936 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 04:32:13 +00:00
bryner%uiuc.edu
180b7e6997 Bug 61623 - change NS_DEFINE_IID to NS_GET_IID in xpfe/. Patch from rods@netscape.com, r=bryner, sr=tor@cs.brown.edu.
git-svn-id: svn://10.0.0.236/trunk@83935 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 03:17:44 +00:00
mcgreer%netscape.com
a55d64f4d5 fix bug 63447 where certutil was opening an unneccessary output terminal.
git-svn-id: svn://10.0.0.236/trunk@83934 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:51:37 +00:00
idk%eng.sun.com
069309c7bf *not part of tbox builds*
addon to previous check in


git-svn-id: svn://10.0.0.236/trunk@83933 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:36:22 +00:00
idk%eng.sun.com
b83d28afac * not part of tbox builds*
Fixed 57779, 58191


git-svn-id: svn://10.0.0.236/trunk@83932 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:34:53 +00:00
pinkerton%netscape.com
6ae938a280 more work for bug 7347 (mac scrollwheel). now works with logitech, but still requires a click. we have code that doesn't, but there are still some issues. r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@83931 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:31:23 +00:00
blakeross%telocity.com
5e93b0a60f Fix 58566: JS strict warnings in msgMail3PaneWindow.js. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83930 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:26:18 +00:00
blakeross%telocity.com
b7e453dbbf Fix 58565: JS strict warnings in mailCommands.js. patch by jarrod.k.gray@rose-hulman.edu (Jarrod Gray). r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83929 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:23:22 +00:00
blakeross%telocity.com
22b826b4ca Fix 57652: JS strict warnings in customize.js. patch by gemal@gemal.dk (Henrik Gemal). r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83928 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:19:31 +00:00
blakeross%telocity.com
907e6c06cf Fix 58568: JS strict warnings in mailContextMenus.js. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83927 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:15:07 +00:00
blakeross%telocity.com
f299159d45 Fix 58560: JS strict warnings in radioBindings.xml. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83926 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:12:23 +00:00
sspitzer%netscape.com
28b69ed04e fix for #63449. center the throbber vertically in messenger and messenger compose. sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@83925 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 01:12:03 +00:00
waterson%netscape.com
ddfc4562a7 Bug 61339. Change idlc to generate NS_DEFINE_STATIC_IID_ACCESSOR() macro instead of 'hand rolled' GetIID(). r=jst, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@83924 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 00:41:00 +00:00
waterson%netscape.com
af1a05157f Bug 61339. Static accessor iid/cid should be 'const'. r=scc, sr=jband,rpotts
git-svn-id: svn://10.0.0.236/trunk@83923 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 00:38:31 +00:00
hyatt%netscape.com
8e6e61f3a9 Fix numerous embedding install issues and 62757 crasher. r=danm, a=dougt
git-svn-id: svn://10.0.0.236/trunk@83922 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 00:08:28 +00:00
waldemar%netscape.com
ffbb170b06 Simplified postfix-expressions and use-exclude-include
git-svn-id: svn://10.0.0.236/trunk@83921 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 00:04:52 +00:00
sspitzer%netscape.com
d7dfd1edbe fix for #47829 and #63382. some code clean up, move hard coded string into
properties files.  sr=bienvenu.  thanks to jag for the initial patch.


git-svn-id: svn://10.0.0.236/trunk@83920 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:56:22 +00:00
sonmi%netscape.com
b50e50b33f removed the "fix" for a nonproblem :
the problem appeared to be a failure of the shell to pass on the correct return
codes when run from cron (false positive and false negative results when run
from cron - in reality the returncodes were right, but the cron generated db
had no password because of a bug in certutil


git-svn-id: svn://10.0.0.236/trunk@83919 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:40:53 +00:00
rods%netscape.com
2d35ca6701 When clicking away from the dropdown, it wasn't resetting itself correctly.
If only the mouse was being used for selection, then it needs to reset itself to the state before dropping down
if arrow keys had been used then it needs to keep that selection
The combobox chaches the current selection, so when arrow keys are used it has the correct selection
when the mouse is used it holds the old selection. So therefore, we can compare against it
to determine what to do.
Bug 63247
r=waqar sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@83918 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:25:40 +00:00
sspitzer%netscape.com
9061f908ca fix for #14003. finally implement -version.
thanks to mcafee for the patch. sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@83917 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:20:20 +00:00
rpotts%netscape.com
227a3f4981 bug #15345 (sr=mscott). Replaced nsIDocumentLoaderObserver with nsIWebProgressListener... Also some whitespace cleanup :-)
git-svn-id: svn://10.0.0.236/trunk@83916 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:18:03 +00:00
brendan%mozilla.org
1f9562bcf1 Don't fatten a flyweight lock unnecessarily in JS_SetPrototype; misc. cleanups (63097, r=mccabe, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@83914 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:36:01 +00:00
cmanske%netscape.com
592c5876f1 Reinstating table selection work for bug 57863 now that textfield.value bug 63376 is fixed. r=kin, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83913 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:13:56 +00:00
cmanske%netscape.com
2df58f216c Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83912 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:13:54 +00:00
rpotts%netscape.com
7dc0796628 bug #15345 (r=sfraser, sr=mscott). Removed nsIDocumentLoaderObserver and replaced it with the new nsIWebProgress notifications...
git-svn-id: svn://10.0.0.236/trunk@83911 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:09:55 +00:00
varada%netscape.com
9ae44c0685 fix for bug #50662;leak in nsMsgSend.cpp;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83910 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 21:52:56 +00:00
naving%netscape.com
a79f4c86fe 63435 r=jag sr=bienvenu. Removing window.sizeToContent() because it is not needed.
git-svn-id: svn://10.0.0.236/trunk@83909 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 21:52:38 +00:00
varada%netscape.com
f208bd8ca3 fix for bug #50571;leak in nsMsgCompose.cpp;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83908 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 21:52:10 +00:00
morse%netscape.com
32371b6bff bug 63390, form manager title bar not localizable, submitter=walk84@usa.net, r=hidday@geocities.com/morse@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83907 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 21:49:53 +00:00
javi%netscape.com
0cb73b19b9 Backing out earlier check-in. Turns out ssu didn't need it.
git-svn-id: svn://10.0.0.236/trunk@83906 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 19:57:56 +00:00
javi%netscape.com
48338e3b50 Include packages for psm on windows. not part of build.
Needed by build team to fix Bug #63307


git-svn-id: svn://10.0.0.236/trunk@83905 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 19:53:51 +00:00
curt%scruznet.com
7ccac2c309 Added variable OUTFILE instead of hardcoding linux.dat name.
When the .dat files are created all test lines are awk'ed out so that
text can be included in the OUTFILE without affecting the data which
gets graphed.  The awk'ing assumes that blank lines in the OUTFILE
represent urls which failed to load and substitutes zeroes for all
data values.


git-svn-id: svn://10.0.0.236/trunk@83904 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 18:55:02 +00:00
leaf%mozilla.org
758c5a8f89 backing out regression-causing changes to reopen tree
git-svn-id: svn://10.0.0.236/trunk@83903 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 18:09:53 +00:00
despotdaemon%netscape.com
3f2479bc75 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@83902 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 17:32:45 +00:00
rods%netscape.com
857e0d4343 53259 - min-width and max-width not supported on form control
53457 - multiple items can be selected in select size=1 or in single select listbox
50376 - Cannot select with DOM option on dynamically created SELECT element
62442 - Incorrect extended selection behavior in listboxes

First big change is getting rid of local variables for border and padding and use the ones in the reflow state
Changed "IsInDropDownMode() == PR_TRUE && mComboboxFrame" to "IsInDropDownMode() == PR_TRUE"
Fix for regression from changing of how key events work (no bug assigned), this fix enabled the user to hit 'f' or 'F' and get to the first item that start with 'f' or 'F'
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83901 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:15:28 +00:00
rods%netscape.com
43a2ffa48a 53259 - min-width and max-width not supported on form control
59035 - type of a BUTTON should default to submit when type isn't specified
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83900 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:12:06 +00:00
rods%netscape.com
f5e6a46f6c 53259 - min-width and max-width not supported on form control
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83899 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:55 +00:00
rods%netscape.com
a649f72fbb 53259 - min-width and max-width not supported on form control
58220 - Select boxes rendering weird when using CSS to small value
r=kmclusk, sr=buster


git-svn-id: svn://10.0.0.236/trunk@83898 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:00 +00:00
locka%iol.ie
62fe709b09 Fixed a few problems building from clean, including missing widget/timer dependency & problems with psm modules when BUILD_PSM is not defined.
git-svn-id: svn://10.0.0.236/trunk@83897 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:06:36 +00:00
nboyd%atg.com
7e1f1b1404 Nope, 8 was right.
git-svn-id: svn://10.0.0.236/trunk@83896 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 13:31:59 +00:00
sspitzer%netscape.com
31352dcab2 fix for bugscape bug #3514, compose throbber looks bad. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@83895 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 09:15:46 +00:00
hyatt%netscape.com
bcf95a185d make empty trees with rows=n size properly. a=ben
git-svn-id: svn://10.0.0.236/trunk@83894 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 07:47:55 +00:00
hyatt%netscape.com
7d260d48cb fix 61471, a=ben
git-svn-id: svn://10.0.0.236/trunk@83893 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 07:25:19 +00:00
sspitzer%netscape.com
e611abb21b fix for #61791. use nsINewsDownloadDialogArgs instead of nsIDialogParamBlock
and some general cleanup.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@83892 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 06:31:54 +00:00
sspitzer%netscape.com
551971c29b mac part of the fix for #61791. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@83891 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 06:31:12 +00:00
nelsonb%netscape.com
48075c60b5 Revise mp_div and s_mp_div substantially. Reduce the number of temporary
variables.  Eliminate inner loop of shifts from s_mp_div.


git-svn-id: svn://10.0.0.236/trunk@83890 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 05:54:18 +00:00
cmanske%netscape.com
c930b83300 Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83889 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:25:30 +00:00
cmanske%netscape.com
c0fa7f0c0e Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83888 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:23:32 +00:00
cmanske%netscape.com
dafb7a83b7 Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83887 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:15:16 +00:00
cmanske%netscape.com
e8cfb821a1 Trying to fix speedracer build bustage
git-svn-id: svn://10.0.0.236/trunk@83886 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 02:56:17 +00:00
cmanske%netscape.com
2c944be4b8 Changes for table selection enums, part of bug 57863, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83885 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 02:35:27 +00:00
blakeross%telocity.com
e2f8973816 Fix 30878: right clicking on buttons should not trigger button action, and pressing spacebar needs to trigger all buttons. more to come. r=morse sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83884 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:58:56 +00:00
mscott%netscape.com
3ae5affeaa attempt to fix Sun OS breakage by casting enums to PRInt32.
git-svn-id: svn://10.0.0.236/trunk@83883 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:49:21 +00:00
danm%netscape.com
f3fe61f9da defer setting of a new window's min/max state until it's ready to be opened normally. (and alphabetized contributors). tweak to rev 3.308. bug 63268 r=hyatt,rods
git-svn-id: svn://10.0.0.236/trunk@83882 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:43:38 +00:00
cmanske%netscape.com
b590b1872c Changed param from PRUint32 to PRInt16 for implementor of nsFrameSelection::HandleTableSelection (part of table selection work, bug 57863) r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83881 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:38:20 +00:00
cmanske%netscape.com
15a86eda61 Changed param from PRUint32 to PRInt16 in nsFrame::GetDataForTableSelection; enums for param moved from .h file to .idl file. Part of table selection work, b=57863, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83880 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:36:55 +00:00
cmanske%netscape.com
2fc3e46191 Table selection work (part of b=57863): Moved param for GetTableSelectionDate from .h to .idl, requiring change from PRUint32 to PRInt16 for all users. Table Cell ranges are now added in document order (location in table) when selecting multiple cells. Refactored table selection methods and fixed leaks. r=mjudge, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83879 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:36:41 +00:00
javi%netscape.com
737f39d5c3 Build with NSS 3.1
git-svn-id: svn://10.0.0.236/trunk@83878 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:24:58 +00:00
javi%netscape.com
cd422fa976 Checking in code to load root cert module on UNIX platforms.
git-svn-id: svn://10.0.0.236/trunk@83877 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:21:58 +00:00
mscott%netscape.com
aa83e93a23 Bug #31982 --> landing this patch for John Myers. Revamp the logic for determining the lock state in the browser
window.

sr=mscott


git-svn-id: svn://10.0.0.236/trunk@83876 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:06:29 +00:00
alecf%netscape.com
4cbed29495 generic tree controller for handling cut/copy/paste/delete in trees
not part of build yet


git-svn-id: svn://10.0.0.236/trunk@83875 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 00:47:52 +00:00
karnaze%netscape.com
d0546a793d new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83874 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 00:45:05 +00:00
sonmi%netscape.com
553d1c4de4 undid the redirecting to a tmp file, only write the stderr to the stdout
git-svn-id: svn://10.0.0.236/trunk@83873 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 00:24:38 +00:00
mcgreer%netscape.com
36f6bad1fe initial checkin of Rijndael (AES) implementation. Only blocksize == 128 bits
has been tested on this checkin.
Added make target "rijndael_tables", which will generate rijndael32.tab.


git-svn-id: svn://10.0.0.236/trunk@83872 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 23:43:12 +00:00
waterson%netscape.com
b0bef5d299 Dump to 'allocations.log' in current process directory instead.
git-svn-id: svn://10.0.0.236/trunk@83871 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 23:40:54 +00:00
karnaze%netscape.com
dafe786728 new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83870 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 23:06:23 +00:00
rpotts%netscape.com
24ad0f7d8f a little cleanup - no need to make private methdos virtual...
git-svn-id: svn://10.0.0.236/trunk@83869 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 23:01:25 +00:00
javi%netscape.com
bb75ca7bbc Disable PSM log output by default. Developpers will have to explicity turn it on.
git-svn-id: svn://10.0.0.236/trunk@83868 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 22:57:44 +00:00
bratell%lysator.liu.se
d319a76958 Backing myself out to save mac build
git-svn-id: svn://10.0.0.236/trunk@83867 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 22:54:40 +00:00
javi%netscape.com
78298d51bf Don't error out when creating the list of PKCS#11 modules
if one wasn't loaded correctly.


git-svn-id: svn://10.0.0.236/trunk@83866 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 22:49:42 +00:00
mscott%netscape.com
3d4b1daba2 Bug #59827 --> pass the redirect flag up via a OnStatechange if we get a redirect. Also set the is document
flag if the original channel matches mDocumentChannel.
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@83865 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 22:07:58 +00:00
bratell%lysator.liu.se
5811dd1c0b Bug 62432, remove nsHTMLToTXTSinkStream from build. r=akkana@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83864 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 21:38:36 +00:00
karnaze%netscape.com
dc562ca5cb fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@83863 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 21:16:41 +00:00
dcone%netscape.com
8215e2bcf8 bug 63310 r=kmmclusk sr = buster. Fixes printing crash with images.
git-svn-id: svn://10.0.0.236/trunk@83862 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 21:15:57 +00:00
waterson%netscape.com
ca188f5e4b Bug 61424. Use NS_NO_VTABLE for all idlc-generated interfaces. r=jst, sr=jband
git-svn-id: svn://10.0.0.236/trunk@83861 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 21:08:55 +00:00
sonmi%netscape.com
6ac0669865 took unneccessart warning out
git-svn-id: svn://10.0.0.236/trunk@83860 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 20:56:28 +00:00
karnaze%netscape.com
40a59f1659 bugs 47163, 60807 and others, sr=buster
simplified BasicTableLayoutStrategy's CalculateTotals and CanAllocate
better calculation of proportional cols
calculation of adjusted widths due to colspans honors the fixed and pct widths of cols being spanned


git-svn-id: svn://10.0.0.236/trunk@83859 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 20:29:46 +00:00
blakeross%telocity.com
7ada1cd259 57019 in last checkin. feeling a little dyslexic today...
git-svn-id: svn://10.0.0.236/trunk@83858 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 20:11:11 +00:00
wtc%netscape.com
0bcaf0cbf5 Bugzilla bug #63273: define PR_Assert the same way in debug and optimized
builds.


git-svn-id: svn://10.0.0.236/trunk@83857 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 20:02:03 +00:00
blakeross%telocity.com
4654631343 Fix 19328, 57109: make alt+space and shift+alt+space open the control menu on Windows. r=danm sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83856 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 20:00:31 +00:00
blakeross%telocity.com
b8df49ec0c Fix 52385: non-localizable text in Page Info. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83855 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 19:44:30 +00:00
morse%netscape.com
c7c1488f0e bug 48982, prefilling individual textfield by doubleclicking, r=blackross@telocity.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83854 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 19:43:52 +00:00
bratell%lysator.liu.se
36881cebea Fix for bug 62031. Make it possible to display format=flowed mails as normal text/plain mails. r=nhotta@netscape.com sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83853 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 19:43:12 +00:00
shanjian%netscape.com
a853486b84 #54093 add language in language preference
p = adrian havill
r = shanjian
sr = blizzard


git-svn-id: svn://10.0.0.236/trunk@83852 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 19:40:00 +00:00
morse%netscape.com
c905b9041b bug 48923 prefill form data should be disabled if nothing to prefill, r=law@netscape.com sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83851 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 19:38:27 +00:00
shanjian%netscape.com
82c9f776e6 #54093, add language in language preference
pref-languages-add.xul
pref-languages.js
pref-languages.properties
makefile.win
MANIFEST
jar.mn

p = adrian havill
r = shanjian
sr = blizzard


git-svn-id: svn://10.0.0.236/trunk@83850 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 19:37:18 +00:00
shanjian%netscape.com
4d3c65af4c #54093, add language in language preference
pref-languages-add.xul
pref-languages.js
pref-languages.properties
makefile.win
MANIFEST
jar.mn

p = adrian havill
r = shanjian
sr = blizzard

This file contains a message used by add language dialogue box.


git-svn-id: svn://10.0.0.236/trunk@83849 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 19:35:21 +00:00
bratell%lysator.liu.se
11b8f332de Fix for bug 62031. Make it possible to display format=flowed mails as normal text/plain mails. r=nhotta@netscape.com sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83848 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 19:24:07 +00:00
cotter%netscape.com
67063df6d2 Added changes re PSM 1.4 for Communicator.
git-svn-id: svn://10.0.0.236/trunk@83844 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 19:23:47 +00:00
despotdaemon%netscape.com
d2fdf00356 Pseudo-automatic update of changes made by ddrinan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@83843 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 18:54:33 +00:00
morse%netscape.com
2d207b2f19 bug 48923 prefill form data should be disabled if nothing to prefill, r=law@netscape.com sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83842 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 15:59:48 +00:00
blakeross%telocity.com
4549a7375e Fix 30878: right clicking on buttons should not trigger button action, and pressing spacebar needs to trigger all buttons. more to come. r=sspitzer sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83840 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 08:25:23 +00:00
blakeross%telocity.com
e44439d15c Fix 63170: crash in [add|remove]Observer if either argument is null. r=dveditz sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83839 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 08:14:09 +00:00
sspitzer%netscape.com
fd1e978f05 fix for #62904. get shift-tab to switch between panes counter clockwise.
fix from blakeross@telocity.com.  r=sspitzer, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@83838 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 06:40:04 +00:00
nicolson%netscape.com
f6a45e8925 Convert com.netscape.jss package names to org.mozilla.jss.
The work was done by a script.


git-svn-id: svn://10.0.0.236/trunk@83837 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 06:19:02 +00:00
wtc%netscape.com
6733ab2562 Bugzilla bug #63273: define PR_Assert in optimized builds too.
git-svn-id: svn://10.0.0.236/trunk@83836 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 05:56:58 +00:00
sspitzer%netscape.com
cc0a5a17f0 fix for #63248. prevent crash when running news://host/group?list-ids urls.
I exposed this bug to the average user by fixing #24626.
now, to get list-ids urls to work.
sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@83835 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 05:33:46 +00:00
despotdaemon%netscape.com
72ca4498fe Pseudo-automatic update of changes made by curt@scruznet.com.
git-svn-id: svn://10.0.0.236/trunk@83834 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 05:02:21 +00:00
bienvenu%netscape.com
c266cd6b19 more work on offline, especially handling being offline re loading folders and messages w/o offline bodies 15865
git-svn-id: svn://10.0.0.236/trunk@83833 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 04:55:21 +00:00
sspitzer%netscape.com
72e93d441e rename DisplayHTMLInMessageWindow to DisplayHTMLInMessagePane.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@83829 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 03:45:21 +00:00
blakeross%telocity.com
b24b58c5ae Fix 7148: change old Pathfinder website to Time... r=kerz sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83828 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 03:30:09 +00:00
wtc%netscape.com
a396a16d83 Bugzilla bug #51743: removed the unnecessary pthread_mutex_trylock call
from PR_EnterMonitor.  Thanks to Vinay Badami <badami@netscape.com> for
the fix.


git-svn-id: svn://10.0.0.236/trunk@83826 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 03:04:55 +00:00
danm%netscape.com
df9c4c0248 moved processing of window-min/max messages from WM_SYSCOMMAND to WM_WINDOWPOSCHANGED. bug 63052 code=hyp-x@inf.bme.hu,r=hyatt,me
git-svn-id: svn://10.0.0.236/trunk@83825 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 03:01:31 +00:00
sspitzer%netscape.com
9ce8cf39ca fix for #24626. when viewing a cancelled message, display the "error"
in the message pane like we did in 4.x.  add the code to display
random html in the message pane to nsMsgWindow, so bienvenu can use it
for offline imap.  known problems:  title isn't being set and headers
aren't being hidden.  but that's next.  sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@83824 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 02:36:32 +00:00
karnaze%netscape.com
4ecf8f5473 new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83823 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 02:16:44 +00:00
javi%netscape.com
f297f2bc17 Fix for bug 63209 sr=cls@seawood.org r=javi@netscape.com
Checking in for pedemont@us.ibm.com

Make psm-glue use static libraries for libprotocol and
libcmt on OS/2


git-svn-id: svn://10.0.0.236/trunk@83822 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 02:06:31 +00:00
javi%netscape.com
cd65979e94 Fix for bug 63209 sr=cls@seawood.org r=javi@netscape.com
Checking in for pedemont@us.ibm.com

Make PSM use static libraries for libprotocol and libcmt
on OS/2


git-svn-id: svn://10.0.0.236/trunk@83821 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 02:00:54 +00:00
waldemar%netscape.com
978e7614c6 Changed 'operator' from a keyword to an attribute.
git-svn-id: svn://10.0.0.236/trunk@83820 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 01:57:13 +00:00
waldemar%netscape.com
90c740d3cf Removed 'operator' non-reserved word
git-svn-id: svn://10.0.0.236/trunk@83819 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 01:56:36 +00:00
bienvenu%netscape.com
e44aa6f579 make news and imap respect offline state r=sspitzer,sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@83818 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 01:19:34 +00:00
bienvenu%netscape.com
3f7c4bd86e add offline error code r=sspitzer,sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@83817 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 01:16:20 +00:00
hewitt%netscape.com
55a970a55d #16729 - [Modern] system font capabilities, r=andreww,sr=ben
git-svn-id: svn://10.0.0.236/trunk@83816 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 01:06:31 +00:00
hewitt%netscape.com
096b968987 #16729 - [Modern] system font capabilities, r=andreww,sr=ben
git-svn-id: svn://10.0.0.236/trunk@83814 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 01:00:49 +00:00
pinkerton%netscape.com
f8f7c0a98f Don't double-add flavors in list when both it is supported intrinsically and by conversion, support for adding data when flavor has not yet been registered, some additional cleanup. r=pink, a=hyatt. patch from Dainis Jonitis (Dainis_Jonitis@swh-t.lv)
git-svn-id: svn://10.0.0.236/trunk@83813 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 00:35:27 +00:00
blizzard%redhat.com
56246a3a73 remove duplicate entry of libappcomps.so, remove appcomps.xpt which was renamed to search.xpt and add libxremote_client.so which was missing. r=cls sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83812 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 00:31:07 +00:00
sonmi%netscape.com
456fa8d799 explicitly redirected certutil output once more to get rid of cron error msg
git-svn-id: svn://10.0.0.236/trunk@83811 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 00:26:21 +00:00
mkaply%us.ibm.com
0637e54550 r=mkaply, a=blizzard
From jkobal - the OS/2 timer saga continues


git-svn-id: svn://10.0.0.236/trunk@83809 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 00:16:33 +00:00
racham%netscape.com
62e88eb520 Fixing bugs 60634, 60635. Fixing javascript warnings for undeclared and badly scoped variables. r=racham, sr=bienvenu,mscott
git-svn-id: svn://10.0.0.236/trunk@83808 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-19 00:08:30 +00:00
mkaply%us.ibm.com
1f8a74ffea r=mkaply, a=blizzard
fix from jblanco - wrong accelerator key


git-svn-id: svn://10.0.0.236/trunk@83807 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 23:32:48 +00:00
morse%netscape.com
528dd58098 bug 62808, form manager dialog does not resize properly, r=blakeross@telocity.com sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83806 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 22:57:38 +00:00
radha%netscape.com
8f201f5025 Fix for bug # 59755. SH work wrong after doing view-source:url. Set ViewMode to
viewNormal for all Sh loads.  r=adamlock sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83805 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 22:55:46 +00:00
varada%netscape.com
c4b4ac54e2 fix for #55260; new message window with new profile brings up acount wizard and waits for callback;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83804 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 22:23:26 +00:00
waterson%netscape.com
421fc771a4 Improve rules attributing data to 'PresShell'.
git-svn-id: svn://10.0.0.236/trunk@83803 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 22:22:02 +00:00
waqar%netscape.com
805277a396 #=54194
r=dcone@netscape.com
sr=blizzard@mozilla.org
d=In widget/src/gtk/nsWindow.cpp in method GetNativeData when aDataType ==
NS_NATIVE_PLUGIN_PORT we are trying to use content of the mSuperWin without
checking that mSuperWin is not NULL. Adding of this check solves problem. If
mSuperWin is NULL we should return NULL as it happens in case of aDataType ==
NS_NATIVE_WINDOW.


git-svn-id: svn://10.0.0.236/trunk@83802 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 21:52:20 +00:00
blakeross%telocity.com
e11a0cdcfa Fix 58141: turn on internet keywords by default. r=doron sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83801 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 21:46:54 +00:00
mscott%netscape.com
81f074b874 Bug 57347 --> add a null ptr check to prevent a crash.
patch contributed by waterson
r=brendan
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@83800 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 21:46:35 +00:00
waterson%netscape.com
45f25521c6 Bug 62383. Make 'dump memory' button do trace-malloc dump if NS_TRACE_MALLOC is on. r=kandrot,sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@83799 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 21:40:32 +00:00
rods%netscape.com
7e2f11196a Removed unneded setting of index to kNothingSelected when an disabled option is selected
r=blake, sr=buster Bug 57580


git-svn-id: svn://10.0.0.236/trunk@83798 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 21:36:01 +00:00
vidur%netscape.com
155a78d2ed Fix for bug 62782. Edge case in scanner caused us to drop characters occasionally. Thanks to jst for identification of the problem. r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@83797 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 20:58:53 +00:00
vidur%netscape.com
0e19ac99ad Fix for bug 62782. Edge case in scanner caused us to drop characters occasionally. Thanks to jst for identification of the problem. r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@83796 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 20:44:10 +00:00
mkaply%us.ibm.com
a1fa286158 #63207
r=mkaply, a=blizzard
Thread synchronization in dirpicker - prevents trap


git-svn-id: svn://10.0.0.236/trunk@83795 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 20:33:29 +00:00
mkaply%us.ibm.com
85d269666a r=mkaply, a=blizzard
Small porting change from jeffk to position frame windows correctly


git-svn-id: svn://10.0.0.236/trunk@83794 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 20:30:41 +00:00
mkaply%us.ibm.com
e232aba866 #62335
r=jkobal, a=blizzard
Code from mkaply - proper mapping of OS/2 codepages to charsets


git-svn-id: svn://10.0.0.236/trunk@83793 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 20:27:19 +00:00
mkaply%us.ibm.com
11e3cbee70 #62335
r=mkaply, a=blizzard
Code from jkobal - proper positioning of DBCS IME


git-svn-id: svn://10.0.0.236/trunk@83792 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 20:25:40 +00:00
radha%netscape.com
9d0d722f02 Fix for bug # 49913. Pressing enter in the url field adds duplicate entry
to Session History. r=adamlock sr=alecf
 VS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@83791 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 20:02:26 +00:00
sspitzer%netscape.com
a5e0246dcc fix #63184. fix the subscribe dialog title.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@83790 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 19:59:38 +00:00
sspitzer%netscape.com
becfeef73a fix for #58238. sr=bienvenu. fix crash when growing the hash table
that contained the list of atoms.  see bug report for all the details.
thanks to bienvenu, scc, brendan, and hyatt for the help.


git-svn-id: svn://10.0.0.236/trunk@83789 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 19:58:20 +00:00
nboyd%atg.com
43cdd511cc Off by one error fixed.
git-svn-id: svn://10.0.0.236/trunk@83788 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 19:32:00 +00:00
nboyd%atg.com
5f3aed5cb5 Add ContextListener to API classes.
git-svn-id: svn://10.0.0.236/trunk@83787 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 19:30:26 +00:00
miodrag%netscape.com
bea66d7d16 Updtates for LDAPJDK 4.13
git-svn-id: svn://10.0.0.236/trunk@83786 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 14:02:20 +00:00
blakeross%telocity.com
e050a49d20 Fix 63126: busy cursor state is broken on windows and linux (after clicking on a link). r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83785 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 08:07:19 +00:00
blakeross%telocity.com
5a8faa9a03 Fix 51947: "prefill form" should not use 'f' accesskey on edit menu. r=morse sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83784 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 08:05:44 +00:00
ccarlen%netscape.com
f1dcdc040e Bug 35559 - dynamic profile switching support
r=racham, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83783 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 07:33:08 +00:00
dbaron%fas.harvard.edu
e32189e3a4 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83782 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-17 16:02:58 +00:00
cls%seawood.org
776fac5941 Removing unused source file now that fix for bug #55674 has landed.
Thanks to Yannick Koehler <koehler@mythrium.com> for the patch.
r=cls@seawood.org sr=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@83781 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-17 08:47:43 +00:00
cls%seawood.org
1a8a90b822 Fixing timers on BeOS and making a component out of them.
Thanks to Yannick Koehler <ykoehler@mythrium.com> for the patch and for having patience while we hashed out the fix for the fix.
Bug #55674. r=cls@seawood.org sr=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@83780 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-17 08:45:23 +00:00
dbaron%fas.harvard.edu
ce09d96e2e Fix bustage caused by naving%netscape.com in checkin to fix bug 43411. Filed bug 63087 on inter-module dependencies caused by this fix (which are the cause of the bustage).
git-svn-id: svn://10.0.0.236/trunk@83779 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-17 04:56:28 +00:00
naving%netscape.com
f14eade288 Fixing warnings made by earlier checkins. Declared inboxFolder twice
git-svn-id: svn://10.0.0.236/trunk@83778 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-17 03:09:14 +00:00
naving%netscape.com
93ba5d2ece 43411 sr=bienvenu. Changing Compact()'s definition to pass nsIUrlListener.
git-svn-id: svn://10.0.0.236/trunk@83777 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-17 01:20:42 +00:00
naving%netscape.com
6dc5b8bded 43411 sr=bienvenu. Implementing expunge inbox on exit for imap servers.
git-svn-id: svn://10.0.0.236/trunk@83776 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-17 01:19:41 +00:00
naving%netscape.com
79d1007d39 43411 sr=bienvenu. Implementing expunge inbox on exit for imap servers.Changing Compact()'s
definition


git-svn-id: svn://10.0.0.236/trunk@83775 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-17 01:19:26 +00:00
naving%netscape.com
445b26e976 43411 sr=bienvenu. Implementing expunge inbox on exit for imap servers. Changing Compact()'s
definition


git-svn-id: svn://10.0.0.236/trunk@83774 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-17 01:17:37 +00:00
jst%netscape.com
80b96c36c3 Fix a refcounting screwup I caused in my last checkin. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@83773 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 23:38:56 +00:00
dbaron%fas.harvard.edu
0e283e8c8c Make destructors that exist only for MOZ_COUNT_DTOR be #ifdef NS_BUILD_REFCNT_LOGGING instead of #ifdef DEBUG so the leak stats on optimized builds are correct. r=waterson@netscape.com sr=brendan@mozilla.org b=62421
git-svn-id: svn://10.0.0.236/trunk@83772 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 18:56:06 +00:00
wtc%netscape.com
cd31f55efa Bugzilla bug #63019: do not build static libraries unless the platform
does not have shared libraries.


git-svn-id: svn://10.0.0.236/trunk@83771 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 18:09:00 +00:00
bienvenu%netscape.com
6597d3c1e7 fix mac build bustage
git-svn-id: svn://10.0.0.236/trunk@83770 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 15:45:38 +00:00
bienvenu%netscape.com
2fadd4eb41 fix for escaping slashes for servers where slash is not the hiearchy delimiter r=sspitzer, sr=mscott 60197
git-svn-id: svn://10.0.0.236/trunk@83769 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 15:17:42 +00:00
bienvenu%netscape.com
3ef66fc9c0 change array growth algorithm to reduce allocs and copies r=alecf,sr=waterson 59279
git-svn-id: svn://10.0.0.236/trunk@83768 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 15:10:24 +00:00
m_kato%ga2.so-net.ne.jp
701c4e78c7 Fix bug 55256
On WinNT/2K, it uses Unicode window class due to M10L support.
sr=roc+moz@cs.cmu.edu


git-svn-id: svn://10.0.0.236/trunk@83767 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 09:52:58 +00:00
jar%netscape.com
ccec24aa4e Added code to help diagnose overlapping memory ranges, and duplicate use of addresses (for different objects)
git-svn-id: svn://10.0.0.236/trunk@83766 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 07:36:14 +00:00
beard%netscape.com
9c8037565b added newest source files, to use the icode assembler. (Pro6 update)
git-svn-id: svn://10.0.0.236/trunk@83765 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 07:01:50 +00:00
beard%netscape.com
9eb01127fd added newest source files, to use the icode assembler.
git-svn-id: svn://10.0.0.236/trunk@83764 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 07:01:22 +00:00
beard%netscape.com
4c50f3674b use string8::difference_type rather than uint for difference between iterators, cast uint32 to int32 to remove warnings.
git-svn-id: svn://10.0.0.236/trunk@83763 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 06:57:58 +00:00
beard%netscape.com
80d8463147 fixed return value warning by moving return statement.
git-svn-id: svn://10.0.0.236/trunk@83762 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 06:56:37 +00:00
beard%netscape.com
2de2a6e927 warnings, explicit use of JSValue constructor.
git-svn-id: svn://10.0.0.236/trunk@83761 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 06:54:40 +00:00
jst%netscape.com
3bc98ddc6e Fixing bug 37258. Making the window properties scrollbars, statusbar and directories replaceable to be compatible with NS 4.x. r&a=vidur&brendan
git-svn-id: svn://10.0.0.236/trunk@83760 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 05:20:31 +00:00
morse%netscape.com
42d43b10c7 bug 62570, secure cookies going to insecure sites, submitter=drudder@eazel.com, r=morse@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83759 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 03:51:22 +00:00
jst%netscape.com
b61ef3ef5f Fixing bug 58188 (and doing some minor whitespace cleanup). Making window.length replaceable so that scripts can use variables named length. To make this change I hadto fix the IDLC compiler to generate correct code in this case. r=brendan@mozilla.org, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83758 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 03:49:08 +00:00
beard%netscape.com
de55ec2b04 [not part of build] generalized printing support.
git-svn-id: svn://10.0.0.236/trunk@83757 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 03:38:21 +00:00
beard%netscape.com
a728ee97bc [not part of build] Carbon printing support.
git-svn-id: svn://10.0.0.236/trunk@83756 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 03:37:25 +00:00
despotdaemon%netscape.com
208e203f49 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@83755 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 02:51:10 +00:00
sonmi%netscape.com
c347e00d7d fixed various bugs
git-svn-id: svn://10.0.0.236/trunk@83754 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 02:46:44 +00:00
danm%netscape.com
b9e2aeb831 fix mac bustage, and probably a logic error
git-svn-id: svn://10.0.0.236/trunk@83753 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 02:41:26 +00:00
alecf%netscape.com
d50fd4a8cf attempt to fix bustage by explicitly using a PRBool
git-svn-id: svn://10.0.0.236/trunk@83752 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 01:41:43 +00:00
waldemar%netscape.com
26df8d7d3b Converted to CodeWarrior 6 and fixed errors
git-svn-id: svn://10.0.0.236/trunk@83751 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 01:14:55 +00:00
waldemar%netscape.com
cf2680a180 Fixed C++ errors
git-svn-id: svn://10.0.0.236/trunk@83750 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 01:14:36 +00:00
jeff.dyer%compilercompany.com
460bc81a21 Revised readme and removed CommandLine parser (for now).
git-svn-id: svn://10.0.0.236/trunk@83749 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 00:50:25 +00:00
alecf%netscape.com
272b3f1272 backend side of fix for 11412 r=radha, sr=waterson
Also:
- refactor deleting of rows to have a "matching" callback which tells us if we should delete a row
- refactor FindRow into FindUrl to share more code & error handling
- fix handling of PRInt64's to pass them by reference, not value for faster param passing on certain processors
- implement GetRowValue so we can refactor future AliasCellYarns into it, and eventually switch to UTF8 instead of unicode to make history faster
- random little cleanups


git-svn-id: svn://10.0.0.236/trunk@83748 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 00:48:31 +00:00
jeff.dyer%compilercompany.com
4adf7a0136 Removing Util.java.
git-svn-id: svn://10.0.0.236/trunk@83747 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 00:43:05 +00:00
disttsc%bart.nl
90a6f838da Clean up new/rename folder dialogs in mail/news (bug 60642), give focus to textfield (bug 60476) and fix warning (bug 60644), r=racham, a=ben, many thanks to Fabian for his help in writing these patches
git-svn-id: svn://10.0.0.236/trunk@83746 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 00:42:48 +00:00
disttsc%bart.nl
e7d8c49a16 Clean up new/rename folder dialogs in mail/news (bug 60642), give focus to textfield (bug 60476) and fix warning (bug 60644), r=racham, a=ben
git-svn-id: svn://10.0.0.236/trunk@83745 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 00:42:47 +00:00
jeff.dyer%compilercompany.com
7b15bacebf Removed dependency on sun.tools packages.
git-svn-id: svn://10.0.0.236/trunk@83744 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 00:42:16 +00:00
sonmi%netscape.com
431443f558 changed the text file to html
git-svn-id: svn://10.0.0.236/trunk@83743 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 00:38:38 +00:00
danm%netscape.com
e24742aafd check for empty db in Commit. bug 62968 r=alecf
git-svn-id: svn://10.0.0.236/trunk@83742 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 00:17:17 +00:00
blakeross%telocity.com
4dfc8a2520 Fixing a typo (refrlow -> reflow). r=attinasi sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83741 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 23:48:55 +00:00
racham%netscape.com
8b3420f46f Fix for bug 58947. Adding implementation for observer interfaces to SmtpDataSource. r=sspitzer, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@83740 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 23:44:20 +00:00
racham%netscape.com
75e3749156 Fix for bug 55388. Update mailaccounts list so that right values are written into the prefs file. r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83739 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 23:44:17 +00:00
waterson%netscape.com
dc10e82933 First checked in.
git-svn-id: svn://10.0.0.236/trunk@83738 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 22:41:21 +00:00
sonmi%netscape.com
961948df30 added winnt and win95
git-svn-id: svn://10.0.0.236/trunk@83737 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 22:33:09 +00:00
waterson%netscape.com
2395bb8d80 Latest type data hackery.
git-svn-id: svn://10.0.0.236/trunk@83736 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 21:59:10 +00:00
beard%netscape.com
21c3e6bc94 [Not part of build] Updated to use SetRootMenu() and SetMenuItemHierarchicalMenu() rather than juggling menu bars.
git-svn-id: svn://10.0.0.236/trunk@83735 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 21:43:22 +00:00
jar%netscape.com
a7d19c6d20 Added sweeping of memory attribution to parent objects
git-svn-id: svn://10.0.0.236/trunk@83734 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 21:12:09 +00:00
nicolson%netscape.com
cf2150c625 First checkin of Network Security Services, Java version.
git-svn-id: svn://10.0.0.236/trunk@83732 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 20:53:03 +00:00
jar%netscape.com
3f267be9e2 Original perl leak soup from Waterson
git-svn-id: svn://10.0.0.236/trunk@83731 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 20:27:42 +00:00
despotdaemon%netscape.com
49385a51f5 Pseudo-automatic update of changes made by johng@corel.com.
git-svn-id: svn://10.0.0.236/trunk@83730 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 14:41:33 +00:00
ccarlen%netscape.com
af367e5c11 NOT PART OF THE BUILD
Reworked to use string classes not just Str255s


git-svn-id: svn://10.0.0.236/trunk@83727 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 13:39:23 +00:00
ccarlen%netscape.com
f27c53e423 NOT PART OF THE BUILD
First check-in


git-svn-id: svn://10.0.0.236/trunk@83726 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 13:38:07 +00:00
ccarlen%netscape.com
3ea8b51e92 NOT PART OF THE BUILD
Added singlesignon usage
Added UniversalDialog support
Added contextual menu support


git-svn-id: svn://10.0.0.236/trunk@83725 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 13:36:56 +00:00
ccarlen%netscape.com
d3e6b5c218 NOT PART OF THE BUILD
Throbbing is done with one animated gif instead of a pile of separate images.


git-svn-id: svn://10.0.0.236/trunk@83724 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 13:35:10 +00:00
ccarlen%netscape.com
0e128bb5ef NOT PART OF THE BUILD
Added context menu support
Added way to make window properly from chrome flags


git-svn-id: svn://10.0.0.236/trunk@83723 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 13:33:56 +00:00
ccarlen%netscape.com
68ad563812 NOT PART OF THE BUILD
Added parameterized constructor
Added form capturing and pre-filling


git-svn-id: svn://10.0.0.236/trunk@83722 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 13:32:26 +00:00
ccarlen%netscape.com
914f804e6b NOT PART OF THE BUILD
Added Open File and Open Directory
Added support for GetURL AppleEvent


git-svn-id: svn://10.0.0.236/trunk@83721 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 13:30:40 +00:00
ccarlen%netscape.com
252c110fa5 NOT PART OF THE BUILD
Added resource IDs, Declared constants using enums so Rez could deal


git-svn-id: svn://10.0.0.236/trunk@83720 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 13:29:11 +00:00
ccarlen%netscape.com
64f7844756 NOT PART OF THE BUILD
Added resource for GetURL AppleEvent


git-svn-id: svn://10.0.0.236/trunk@83719 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 13:27:53 +00:00
ccarlen%netscape.com
7eb5cc0466 NOT PART OF THE BUILD
Added resources for UniversalDialog


git-svn-id: svn://10.0.0.236/trunk@83718 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 13:26:35 +00:00
ccarlen%netscape.com
0b20f94fea NOT PART OF THE BUILD
Added some files for contextual menu support.


git-svn-id: svn://10.0.0.236/trunk@83717 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 13:25:35 +00:00
jdunn%netscape.com
8f51d0daf1 fix unresolved symbol for nsUInt32Array by linking in libmsgbaseutil.
Also combine NSPR_LIBS & XPCOM_LIBS to just use MOZ_COMPONENT_LIBS

r= cls@seawood.org
# 62884


git-svn-id: svn://10.0.0.236/trunk@83716 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 12:58:07 +00:00
bryner%uiuc.edu
afee3b9df5 Removing the editor/ui makefiles from allmakefiles.sh, for bug 55778.
git-svn-id: svn://10.0.0.236/trunk@83715 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 10:38:24 +00:00
bryner%uiuc.edu
a612f25dcc Two more I forgot for bug 55778.
git-svn-id: svn://10.0.0.236/trunk@83714 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 10:22:38 +00:00
bryner%uiuc.edu
f47a6944ce Oops, forgot this one - we don't need to build in editor/ui either. Bug 55778. r=dprice, sr=cls.
git-svn-id: svn://10.0.0.236/trunk@83713 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 10:02:13 +00:00
bryner%uiuc.edu
72fefa1f6d Bug 55778 -- Don't descend into resources directories that don't have a jar.mn file. This is the Unix portion of the cleanup. r=dprice, sr=cls.
git-svn-id: svn://10.0.0.236/trunk@83712 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 07:32:25 +00:00
attinasi%netscape.com
f7c3c2d58d Turned on Style Context Data Sharing. b=39618, r=pierre, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@83711 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 06:09:50 +00:00
nelsonb%netscape.com
8cab0ed48d Correct make variable name for AIX.
git-svn-id: svn://10.0.0.236/trunk@83710 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 06:00:55 +00:00
nelsonb%netscape.com
28598a9213 Change AIX 32-bit options to use new fine-grained feature test macros.
git-svn-id: svn://10.0.0.236/trunk@83709 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 05:54:08 +00:00
jst%netscape.com
74dd2e29a1 Fixing bug 62160, accessing ins or del elements from JS didn't work and caused a crash in the JS GC later on. sr=scc@mozilla.org, r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83708 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 05:48:19 +00:00
nelsonb%netscape.com
09886b7824 Implement new feature test macros for controlling the use of mp_word over
individual types of operations, e.g., multiply, divide, add, subtract.
Use a specific combination of these for 32-bit on AIX.


git-svn-id: svn://10.0.0.236/trunk@83707 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 05:38:09 +00:00
cls%seawood.org
b273015e82 Sigh. Backing out parallel build fixes until we can figure out why the windows tinderbox breaks when my home build didn't.
git-svn-id: svn://10.0.0.236/trunk@83706 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 03:50:39 +00:00
nelsonb%netscape.com
d53f834287 Add missing Makefile lines to build mpi optimally for AIX 32 and 64-bit.
git-svn-id: svn://10.0.0.236/trunk@83705 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 03:01:23 +00:00
nelsonb%netscape.com
495e4f4fe9 Fix mpi-test for machines that have long or long long digits.
git-svn-id: svn://10.0.0.236/trunk@83704 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 03:00:00 +00:00
cls%seawood.org
5676b96cac Add locking so that .jar files aren't corrupted during parallel builds.
Bug #55174 r=axel@pike.org


git-svn-id: svn://10.0.0.236/trunk@83703 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 02:35:53 +00:00
cls%seawood.org
c0435ae274 Fix keyboard input for BeOS.
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the patch.
Bug #62680


git-svn-id: svn://10.0.0.236/trunk@83702 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 02:14:30 +00:00
cls%seawood.org
9be730f03e Fix classic theme look for BeOS.
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the patch.
Bug #62484 r=danm


git-svn-id: svn://10.0.0.236/trunk@83701 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 02:10:45 +00:00
rogerl%netscape.com
531d8874a0 Added 'length' to Array objects as a getter property - and fixed up stuff
that this depended on. Fixed parameter names for xml classes and added
'loadxml' global function.


git-svn-id: svn://10.0.0.236/trunk@83700 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:38:40 +00:00
larryh%netscape.com
0af9617b30 /m/dist is no more. long live /s/b/c
git-svn-id: svn://10.0.0.236/trunk@83699 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:29:25 +00:00
beard%netscape.com
972c3f686f Converted to an application for testing.
git-svn-id: svn://10.0.0.236/trunk@83698 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:26:06 +00:00
despotdaemon%netscape.com
cd127f99f0 Pseudo-automatic update of changes made by mcgreer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@83697 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:22:12 +00:00
sonmi%netscape.com
8c5c6361b0 use the new function to restet the masterbuild
git-svn-id: svn://10.0.0.236/trunk@83696 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:19:42 +00:00
sonmi%netscape.com
68e445c7e8 fixed the NT problem that no .nssqa file was created
more flexible with NT masterbuild (if blowfish build doesn't exist
we use whatever looks closest to NT :-)


git-svn-id: svn://10.0.0.236/trunk@83695 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:19:02 +00:00
beard%netscape.com
373ec78a59 JDK 1.1 compatibility. Should flesh out the CommandLine class to do what sun.tools.util.CommandLine does.
git-svn-id: svn://10.0.0.236/trunk@83694 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:09:58 +00:00
despotdaemon%netscape.com
a2f68fa9a0 Pseudo-automatic update of changes made by nsaini@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@83693 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:09:50 +00:00
sonmi%netscape.com
8d126d3951 fixed a comment, sed is very picky about strings starting with -n (it thinks
this is an option)


git-svn-id: svn://10.0.0.236/trunk@83692 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:07:45 +00:00
beard%netscape.com
812637e505 JDK 1.1 compatibility.
git-svn-id: svn://10.0.0.236/trunk@83691 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:06:50 +00:00
sonmi%netscape.com
2f40f3c5a9 set DOMSUF automatically if not set, reduced NT directories from 24 to 4,
fixed the problem that on HP sometimes the versionnumber is unknown


git-svn-id: svn://10.0.0.236/trunk@83690 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:06:26 +00:00
beard%netscape.com
e8250143e8 build system for Mac using CW Pro 6.
git-svn-id: svn://10.0.0.236/trunk@83689 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 01:05:32 +00:00
rpotts%netscape.com
897724c696 Fixing linux build bustage...
git-svn-id: svn://10.0.0.236/trunk@83688 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:58:40 +00:00
tao%netscape.com
3b1dbd114b 51327: mozilla doesn't parse java properties files correctly
patch from erik, r=tao,sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83687 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:52:09 +00:00
attinasi%netscape.com
055c1fb37b Fixed bad path in URI. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@83686 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:48:39 +00:00
blakeross%telocity.com
289b76c267 Fix 30878: right clicking on buttons should not trigger button action, and pressing spacebar needs to trigger all buttons. more to come. r=kin sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83685 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:42:53 +00:00
radha%netscape.com
4d459c9191 Fix for urlbar autocomplete bug # 54392 r=ducarroz, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83684 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:22:04 +00:00
despotdaemon%netscape.com
ed0d850a28 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@83683 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:19:46 +00:00
jdunn%netscape.com
9338ec5222 changing previous checkin to be OS/2 friendly using
other Makefile's format

# 62202


git-svn-id: svn://10.0.0.236/trunk@83682 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:14:08 +00:00
karnaze%netscape.com
62992a64c0 added delays to regression file lists, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83681 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:09:31 +00:00
darin%netscape.com
8bf9eafab0 Fixes bug 51363. Can't login into my.lycos.com. r=dougt, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83680 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:06:13 +00:00
naving%netscape.com
9bba93ef99 52564, r=varada, sr=mscott,bienvenu. Resizing so that ok,cancel button appear correctly.
git-svn-id: svn://10.0.0.236/trunk@83679 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:06:12 +00:00
beard%netscape.com
54b9cc1c43 Removing obsolete furballs.
git-svn-id: svn://10.0.0.236/trunk@83678 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:04:31 +00:00
beard%netscape.com
4cef4bd810 Removing obsolete furball.
git-svn-id: svn://10.0.0.236/trunk@83677 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 00:01:26 +00:00
mcgreer%netscape.com
d3ac6ff28c certs-only does not require input
git-svn-id: svn://10.0.0.236/trunk@83676 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:59:33 +00:00
valeski%netscape.com
5e71eaf318 r=edburns, a=brendan. 49839 moving OJI out of the registry setup code as it's already a seperate components and we were getting warnings when oji wasn't avail.
git-svn-id: svn://10.0.0.236/trunk@83675 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:49:59 +00:00
ddrinan%netscape.com
b57ec79daf Fixed the PSM version number to 1.4
git-svn-id: svn://10.0.0.236/trunk@83674 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:49:23 +00:00
tao%netscape.com
02499e1126 55715: out-of-date url: View, Languages and Web Content, Download More.
(patch from davidr8@home.com (Jesse Ruderman))
r=tao, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83673 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:47:16 +00:00
tao%netscape.com
ebcdbcd350 55328: Cannot input korean!!, (patch from jshin@pantheon.yale.edu)
r=nhotta,sr=erik


git-svn-id: svn://10.0.0.236/trunk@83672 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:40:36 +00:00
mstoltz%netscape.com
5110e790d3 Bug 55237 - adding CheckLoadURI to "Open In New Window." r=jband, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@83671 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:39:51 +00:00
rpotts%netscape.com
c5c8ce3551 bug #15345 (r=danm, sr=mscott). Removed dependency on nsIDocumentLoaderObserver... Now nsIWebProgressListener is used instead.
git-svn-id: svn://10.0.0.236/trunk@83670 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:38:00 +00:00
ssu%netscape.com
aeeedd907f fixing bug #62557 - need to automate the long filename file list generation. sr=mscott, r=dveditz,sgehani. not part of tinderbox builds.
git-svn-id: svn://10.0.0.236/trunk@83669 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:33:37 +00:00
ssu%netscape.com
1b71ea0248 fixing bug #62557 - need to automate the long filename file list generation. sr=mscott, r=dveditz,sgehani. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@83668 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:32:53 +00:00
rpotts%netscape.com
944cb9668e bug #15345 (r=danm, sr=mscott). Removed dependency on nsIDocumentLoaderObserver... Now nsIWebProgressListener is used instead.
git-svn-id: svn://10.0.0.236/trunk@83667 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:27:59 +00:00
rpotts%netscape.com
fa30354552 bug #46866. Added a read-only DOMWindow attribute to nsIWebProgress.
git-svn-id: svn://10.0.0.236/trunk@83666 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:26:35 +00:00
ducarroz%netscape.com
cba9ce9c36 Fix for bug 62301. Hyatt forget to remove the temp patch Ben did for bug 62226. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@83665 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:15:52 +00:00
danm%netscape.com
d75d2e1231 open new windows in their proper stored zoom state (minimization is disabled to protect the innocent). bug 32148 r=brendan,hyatt
git-svn-id: svn://10.0.0.236/trunk@83663 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:42:48 +00:00
jdunn%netscape.com
ed5858af9e nsMimeHtmlEmitter.cpp has a dependency on nsUInt32Array so am linking
in libmsgbaseutil so that it is not unresolved.
This is an HP runtime bustage on startup.

sr=alecf@netscape.com
# 62202


git-svn-id: svn://10.0.0.236/trunk@83662 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:42:23 +00:00
jst%netscape.com
a077967be8 Adding protection for the casae where there's no root element in a document, bug 58477. r=blakeross@telocity.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83661 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:37:22 +00:00
danm%netscape.com
f6f1f760b8 implement SetSizeMode. bug 32148 r=brendan,rods
git-svn-id: svn://10.0.0.236/trunk@83660 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:37:08 +00:00
danm%netscape.com
cf972c5562 implement SetSizeMode. bug 32148 r=brendan,pinkerton
git-svn-id: svn://10.0.0.236/trunk@83659 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:36:56 +00:00
leaf%mozilla.org
6b6fb37986 Automated update
git-svn-id: svn://10.0.0.236/trunk@83658 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:30:09 +00:00
cls%seawood.org
38383bb67c Build tools should be in place after the first pass and not wait for the next build phase
git-svn-id: svn://10.0.0.236/trunk@83657 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:28:51 +00:00
karnaze%netscape.com
d0203b7c43 Delay before writing regression. Accept delays in regression file list. sr=buster r=attinasi
git-svn-id: svn://10.0.0.236/trunk@83656 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:27:22 +00:00
despotdaemon%netscape.com
26ef342b5a Pseudo-automatic update of changes made by manpreet.singh@sun.com.
git-svn-id: svn://10.0.0.236/trunk@83655 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:25:12 +00:00
cls%seawood.org
1e89058c72 Everything needs libm and some platforms don't have shared lib dependencies. What was I thinking?
git-svn-id: svn://10.0.0.236/trunk@83654 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:17:19 +00:00
jst%netscape.com
9288eb059b Checking in scc's fix for blocker bug 62818, nsSlidingSubstring::GetReadableFragment(..., kFragmentAt, ...) wasn't implemented and that caused a crash when serializing HTML to plain text. r=me.
git-svn-id: svn://10.0.0.236/trunk@83653 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:16:10 +00:00
cls%seawood.org
8edee7ddcf Use $(STRIP) instead of strip for --enable-strip-libs.
git-svn-id: svn://10.0.0.236/trunk@83652 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:15:51 +00:00
sspitzer%netscape.com
d42844403c fix for #36488. thanks to andrew.taylor@cal.montage.ca for the initial patch.
make it so in the drafts and unsent message folders we change the sender
column to the recipient column. r=sspitzer, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@83651 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:08:23 +00:00
sfraser%netscape.com
3dc3e56530 Remove bogus paths to dist:client_stubs etc
git-svn-id: svn://10.0.0.236/trunk@83650 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:07:55 +00:00
sfraser%netscape.com
a73f8d7434 Fix bug 62791 - realloc now does in-place realloc when it can. r=pinkerton, sr=beard
git-svn-id: svn://10.0.0.236/trunk@83649 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:07:36 +00:00
buster%netscape.com
8bdaab9445 regression test additions and improvements.
no source code changed, not part of build, so no reviewer


git-svn-id: svn://10.0.0.236/trunk@83648 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:05:52 +00:00
javi%netscape.com
a9bec464ed Fix for Bug #62688 r=jj,dveditz sr=sfraser
Include the new PSM bits in the mozilla packages.


git-svn-id: svn://10.0.0.236/trunk@83647 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 21:59:14 +00:00
sspitzer%netscape.com
a82d79a739 fix for #51862. thanks to hyatt for the performance suggestion.
move the onclick handler out of the tree cell.  sr=mscott


git-svn-id: svn://10.0.0.236/trunk@83646 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 21:43:51 +00:00
sspitzer%netscape.com
be3b540253 fix for #45922. properly migrate secure news and secure imap servers from
4.x.  isSecure gets set and if no port was specified, we use the default
secure ports.  sr=mscott


git-svn-id: svn://10.0.0.236/trunk@83645 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 21:43:05 +00:00
sspitzer%netscape.com
e8ee575689 fix for #60638. send "mode reader" to the nntp server. we only
send it once per connection.  also, changes to skip the code that
asks the server for the extensions it supports.  extensions are not
supported yet.  sr=mscott


git-svn-id: svn://10.0.0.236/trunk@83644 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 21:41:23 +00:00
timeless%mac.com
8c78060a56 Fix Bug 49879 M18: Printing with libXp/Xprt ends-up in error+exit
Patch from Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz)
r=dcone
sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@83643 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 21:38:58 +00:00
despotdaemon%netscape.com
b5e3d960c9 Pseudo-automatic update of changes made by nicolson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@83642 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 21:26:35 +00:00
morse%netscape.com
9046045b9c bug 62057, cookie viewer breaks if too many entries, r=pnunn, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83640 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 19:27:16 +00:00
morse%netscape.com
89e3f6dc5f bug 62057, cookie viewer breaks if too many entries, r=pnunn, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83639 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 19:25:54 +00:00
morse%netscape.com
a975e444c7 bug 51144, make cookie viewer/password viewers resizable, r=blakeross@telocity.com, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83638 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 19:16:31 +00:00
morse%netscape.com
2a9a089443 bug 60896, garbage title on bookmark dialog, r=neeti@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83637 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 19:09:25 +00:00
blakeross%telocity.com
3df846113e Fix 31154: inconsistenty in descriptions of Netscape 4.x profiles. patch by Henrik Gemal (gemal@gemal.dk). r=verah a=ben
git-svn-id: svn://10.0.0.236/trunk@83636 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 18:47:11 +00:00
attinasi%netscape.com
c0e4167483 <abbr> and <acronym> elements with title attributes are now styled with dotted underlines and get a help cursor by default. b=56702 r=rods sr=buster
git-svn-id: svn://10.0.0.236/trunk@83635 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 18:34:05 +00:00
gerv%gerv.net
fcfc0557d8 Made deletion of graphs safer. Thanks to Joseph Heenan <joseph@picsel.com>
git-svn-id: svn://10.0.0.236/trunk@83634 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 17:52:18 +00:00
gerv%gerv.net
c16c505157 Fix duplicates table check; make sure we create graphs directory.
git-svn-id: svn://10.0.0.236/trunk@83633 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 17:48:01 +00:00
gerv%gerv.net
f88a68ca1b Fixed problem with ranges in regexps that I dreamt about a few nights ago.
git-svn-id: svn://10.0.0.236/trunk@83632 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 17:39:33 +00:00
m_kato%ga2.so-net.ne.jp
af796f688f bug 61100 and bug 58897
import mailbox for I18N support.
r=nhotta sr=mscott


git-svn-id: svn://10.0.0.236/trunk@83631 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 17:25:25 +00:00
risto%netscape.com
476922c97d Adding newline, testing
git-svn-id: svn://10.0.0.236/trunk@83630 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 15:53:14 +00:00
risto%netscape.com
b8e6dbaa07 Adding slash, just testing bug 62800
git-svn-id: svn://10.0.0.236/trunk@83629 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 15:50:09 +00:00
rods%netscape.com
ba3e6cf8d0 The changes to the select are to bring it back inline with what the rules were before they were optimized
The checkbox changes are to give it margins in standard mode and themake the vertical-align bottom so it is positioned correctly on the line.
Bug 62445, Bug 62350 r=kmcclusk, sr=buster


git-svn-id: svn://10.0.0.236/trunk@83628 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 15:18:45 +00:00
gerv%gerv.net
92ed2563d1 Fixed dupes table detection code; added check for graphs directory.
git-svn-id: svn://10.0.0.236/trunk@83627 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 12:19:35 +00:00
gerv%gerv.net
b7a9e184b2 Formatting change. Trivial.
git-svn-id: svn://10.0.0.236/trunk@83626 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 12:17:11 +00:00
hyatt%netscape.com
a66c3f88af Fix mutation events in XUL. r=hewitt, a=ben
git-svn-id: svn://10.0.0.236/trunk@83625 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 10:14:02 +00:00
hyatt%netscape.com
7de9d1164b Fix for 62301. r=hewitt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@83624 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 09:32:39 +00:00
cls%seawood.org
9b8e4a9c0a Add proper detection of STRIP (which I thought we already had). This should fix the nightly build problem.
git-svn-id: svn://10.0.0.236/trunk@83623 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 07:39:48 +00:00
jst%netscape.com
7e93050721 Backing out my last change here, this change didn't do what it was supposed to do, not even close.
git-svn-id: svn://10.0.0.236/trunk@83622 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 06:16:39 +00:00
bryner%uiuc.edu
e4f3243171 Removing this file so the directory will go away.
git-svn-id: svn://10.0.0.236/trunk@83621 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 04:27:26 +00:00
endico%mozilla.org
9e39992ae8 trivial change to test whether cvs is working
git-svn-id: svn://10.0.0.236/trunk@83620 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 03:09:17 +00:00
sfraser%netscape.com
e287e314b1 More useful error message when an XML bindings file fails to load. r=waterson, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@83619 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 02:32:26 +00:00
jst%netscape.com
dfa08e19a2 Checking in fix for annoying asserts on startup caused by a doctype token problem in the parser that was introduced yesterday, casting char * to PRUnichar * just aint a good idea (although that was only part of the problem). Fix done mostly by heikki@netscape.com, r=heikki, harishd, sr=me.
git-svn-id: svn://10.0.0.236/trunk@83618 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 02:30:12 +00:00
despotdaemon%netscape.com
9391333798 Pseudo-automatic update of changes made by varga@utcru.sk.
git-svn-id: svn://10.0.0.236/trunk@83617 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 02:21:51 +00:00
sonmi%netscape.com
845c2810f9 fixed missin platform bug
git-svn-id: svn://10.0.0.236/trunk@83616 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 02:13:55 +00:00
sonmi%netscape.com
b6772d24bd changed 32 bit platforms to explicitly say so, missing list was wrong before
git-svn-id: svn://10.0.0.236/trunk@83615 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 01:56:39 +00:00
sonmi%netscape.com
a2f25b34f3 added performance tests
git-svn-id: svn://10.0.0.236/trunk@83614 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 01:53:11 +00:00
sonmi%netscape.com
55468add8c fixed minor bugs, added performance tests to qa_stat
git-svn-id: svn://10.0.0.236/trunk@83613 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 01:41:57 +00:00
beard%netscape.com
47d72394af [not part of build] don't hack alpha when running on Mac OS X.
git-svn-id: svn://10.0.0.236/trunk@83612 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 00:43:51 +00:00
despotdaemon%netscape.com
d68c428c21 Pseudo-automatic update of changes made by jar@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@83610 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 00:08:19 +00:00
despotdaemon%netscape.com
d0227db8b7 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@83609 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 00:02:52 +00:00
rpotts%netscape.com
80ca66b8bb Fix for assert when loading content from the memory cache (ie. hitting Back). r=jst
git-svn-id: svn://10.0.0.236/trunk@83608 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 23:11:32 +00:00
attinasi%netscape.com
30e853e114 New performance data. Not part of any build.
git-svn-id: svn://10.0.0.236/trunk@83607 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 18:48:08 +00:00
ccarlen%netscape.com
d3f66b0228 NOT PART OF THE BUILD.
New file for context menu support.


git-svn-id: svn://10.0.0.236/trunk@83606 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 15:48:18 +00:00
nboyd%atg.com
7f0a44e33f Fix bug:
Subject:
             [Rhino] Script compiler bug?
        Date:
             Tue, 12 Dec 2000 22:08:23 GMT
       From:
             dave russo <d-russo@ti.com>
 Organization:
             Deja.com
 Newsgroups:
             netscape.public.mozilla.jseng




The following script does not seem to compile properly (using Rhino
1.5R1):

test.js:
var test = {};
test.foo = function () { print('foo')}
test.bar = function () { print('bar')}

After compiling test.js ("java org.mozilla.javascript.tools.jsc.Main
test.js"):

js> loadClass('test')
js> test.foo()
bar
js> load('test.js')
js> test.foo()
foo

Note that changing test.js to read:

var test = {};
test.foo = function foo() { print('foo')}
test.bar = function bar() { print('bar')}

Works around the problem.  Is there a problem with anonymous functions?


Sent via Deja.com
http://www.deja.com/


git-svn-id: svn://10.0.0.236/trunk@83605 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 15:17:24 +00:00
nboyd%atg.com
a002745599 Missed call to "in" needing parameter change.
git-svn-id: svn://10.0.0.236/trunk@83604 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 14:47:27 +00:00
locka%iol.ie
acb2f24052 winEmbed gets a face lift. sr=rpotts, b=60299
git-svn-id: svn://10.0.0.236/trunk@83603 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 13:47:16 +00:00
rods%netscape.com
bd3b79398d When remembering the time of the lst click it should be remembered only for mouse
down events, instead of all mouse events.
r=kmcclusk sr=buster Bug 53485


git-svn-id: svn://10.0.0.236/trunk@83602 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 11:53:10 +00:00
idk%eng.sun.com
99de0528f4 *not part of tbox builds*
fix for 57788, 57787


git-svn-id: svn://10.0.0.236/trunk@83601 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 09:09:46 +00:00
leaf%mozilla.org
4bd278406d Automated update
git-svn-id: svn://10.0.0.236/trunk@83600 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 08:30:09 +00:00
cls%seawood.org
13a8b08ade Commenting out unnecessary lib checks.
git-svn-id: svn://10.0.0.236/trunk@83599 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 08:19:29 +00:00
ben%netscape.com
9a6623fb87 make middle mouse click on link open in new window on all platforms. r=kandrot, a=jst
git-svn-id: svn://10.0.0.236/trunk@83598 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 07:29:35 +00:00
blakeross%telocity.com
aae668f4a1 Fix 57490: classic skin needs to use css2 system colors instead of hardcoded ones. patch by lordpixel@mac.com, much more to come. r=me a=ben
git-svn-id: svn://10.0.0.236/trunk@83597 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 05:48:40 +00:00
jband%netscape.com
0f4f0f5bff fix bustage to XPCOM_STANDALONE from fix to bug 43591. r=dbaron sr=brendan
git-svn-id: svn://10.0.0.236/trunk@83596 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 04:36:53 +00:00
nelsonb%netscape.com
52a2bf9366 Fix hybrid model builds for HP-UX.
git-svn-id: svn://10.0.0.236/trunk@83595 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 04:36:28 +00:00
disttsc%bart.nl
a0f0ab1f71 Attempt to fix HPUX bustage, r=scc
git-svn-id: svn://10.0.0.236/trunk@83594 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 04:08:45 +00:00
mkaply%us.ibm.com
6e06af2d75 OS/2 TB breakage
r=jag, a=scc
Don't use initializer on template


git-svn-id: svn://10.0.0.236/trunk@83593 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 04:07:21 +00:00
idk%eng.sun.com
8871f177c8 *not part of tbox builds*
fix for 57672


git-svn-id: svn://10.0.0.236/trunk@83592 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 03:51:08 +00:00
mkaply%us.ibm.com
73be28ba0e Remove obsolete files
git-svn-id: svn://10.0.0.236/trunk@83591 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 03:31:35 +00:00
disttsc%bart.nl
942410b856 And on to some actual BrowserInstance surgery. bug=46200, r=ben, a=alecf
git-svn-id: svn://10.0.0.236/trunk@83590 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 03:21:46 +00:00
ducarroz%netscape.com
4d2841adee Fix for bug 62113. Remove old sendPage function which get in the way of the new one from the mail overlay. R=blackRoss, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@83589 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 03:13:39 +00:00
mkaply%us.ibm.com
3ad3070e5b #62714
r=mkaply, a=blizzard
Code from jkobal - mishandling of some timers


git-svn-id: svn://10.0.0.236/trunk@83588 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 03:12:02 +00:00
mkaply%us.ibm.com
00ed1ba102 #62714
r=mkaply, a=blizzard
Code from jkobal - do the same as Windows - simple modal event filter


git-svn-id: svn://10.0.0.236/trunk@83587 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 03:09:08 +00:00
blizzard%redhat.com
35e560da73 Fix bug #56021. Allow windows to be resized larger than screen dimensions. r=pavlov,sr=brendan
git-svn-id: svn://10.0.0.236/trunk@83586 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 02:36:24 +00:00
morse%netscape.com
d4140736a5 bug 51102, r=sgehani@netscape.com a=hangas@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83585 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 02:17:01 +00:00
morse%netscape.com
c441601a17 bug 62419 -- wallet previewer busted, r=dbragg@netscape.com, a=hangas@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83584 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 01:59:54 +00:00
nelsonb%netscape.com
d965703b1e Make the -d option unnecessary when the built-in key is being used,
e.g. when -n none  has been specifed.


git-svn-id: svn://10.0.0.236/trunk@83583 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 01:38:14 +00:00
disttsc%bart.nl
dd4725f14e More appCore killing, bug=46200, r=ben, a=alecf
git-svn-id: svn://10.0.0.236/trunk@83582 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 01:28:08 +00:00
nelsonb%netscape.com
9dcc65aac7 Start building freebl with MPI's new floating point acceleration code.
git-svn-id: svn://10.0.0.236/trunk@83581 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 01:26:48 +00:00
nelsonb%netscape.com
9aedc41fdb Add support for unsigned long long mp_digits.
Revise and simplify the scheme of feature test macros used in mpi.h.
Remove all NSS_ and SOLARIS ifdefs from the source.


git-svn-id: svn://10.0.0.236/trunk@83580 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 01:22:22 +00:00
disttsc%bart.nl
5cf0803378 More appCore killing, bug=46200, r=ben, a=alecf
git-svn-id: svn://10.0.0.236/trunk@83579 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 01:21:34 +00:00
nelsonb%netscape.com
4dcb966df9 This file is the output of Sun's WorkShop 5.0 compiler for mpv_sparc.c,
when compiled for the v8+ or v9 architecture.  This file may be built
with WorkShop 4.2 and will produce the same .o as WorkShop 5.0.


git-svn-id: svn://10.0.0.236/trunk@83578 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 01:19:55 +00:00
waterson%netscape.com
7a95d704c6 More imagelib foo.
git-svn-id: svn://10.0.0.236/trunk@83572 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 00:42:35 +00:00
waterson%netscape.com
4d8983b2e5 Add pretty print for one histogram file.
git-svn-id: svn://10.0.0.236/trunk@83571 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 00:42:29 +00:00
sonmi%netscape.com
60b3ca2fd9 took yesterday's fix out, because it would potentially break running only
the subscripts, replaced it by a call to a script that makes the PATH
components uniqe


git-svn-id: svn://10.0.0.236/trunk@83570 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 00:36:53 +00:00
vidur%netscape.com
6748b3b8a5 Fix checked in for Mac casting problem
git-svn-id: svn://10.0.0.236/trunk@83568 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 00:25:26 +00:00
sonmi%netscape.com
ff2e452d6b oops - first bug
git-svn-id: svn://10.0.0.236/trunk@83567 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 00:00:32 +00:00
leaf%mozilla.org
346e608a46 rearranged DIRS order so builds can complete in one pass from a clean tree
r=valeski


git-svn-id: svn://10.0.0.236/trunk@83566 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 23:59:19 +00:00
sonmi%netscape.com
fa8bb351ea one first quick + dirty cut + paste doc about kernelconfigurations
git-svn-id: svn://10.0.0.236/trunk@83564 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 23:56:01 +00:00
vidur%netscape.com
74a455e018 Inadvertant checkin of nsLoggingSink
git-svn-id: svn://10.0.0.236/trunk@83563 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 23:55:35 +00:00
mstoltz%netscape.com
64c84d7a3f Second half of bug 58538. Allowing access to cross-origin DOM exceptions. r=jband, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@83562 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 23:10:07 +00:00
sonmi%netscape.com
085efe236e new qa wrapper - per wtc's request moved here from /m/src
git-svn-id: svn://10.0.0.236/trunk@83561 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 23:08:15 +00:00
sonmi%netscape.com
4910081765 nssqa documentation (or at least a start :-)
git-svn-id: svn://10.0.0.236/trunk@83560 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 23:06:34 +00:00
vidur%netscape.com
ab6a2520bd Fix for Solaris compiler warning from scc. r=vidur
git-svn-id: svn://10.0.0.236/trunk@83559 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 23:02:01 +00:00
nhotta%netscape.com
648852b770 Changed locale string parse code not to set country if the locale string is country+encoding and no country code,
check in for katakai@japan.sun.com, bug 60954, r=nhotta, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@83557 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 22:21:02 +00:00
nhotta%netscape.com
91a97b4c11 Replaced isalpha() and isdigit() by nsCRT equivalents which take unicode instead of char, bug 62407, r=morse, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@83556 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 22:20:50 +00:00
vidur%netscape.com
e60221ba2b removed files: mozilla/htmlparser/src/CRtfDTD.cpp
git-svn-id: svn://10.0.0.236/trunk@83555 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 22:04:11 +00:00
vidur%netscape.com
2a07658d84 removed files: mozilla/htmlparser/src/nsXIFDTD.cpp
git-svn-id: svn://10.0.0.236/trunk@83554 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 22:02:17 +00:00
vidur%netscape.com
3e62b3f9f3 Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
vidur%netscape.com
33d6574ffe Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83552 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:13 +00:00
vidur%netscape.com
65d3ffed0d Implementation of ReadSegments to support less copying in the parser. r=rpotts, sr=jst
git-svn-id: svn://10.0.0.236/trunk@83551 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:57:47 +00:00
jst%netscape.com
2afdb2a411 Fixing compiler warnings, not part of the build yet. r=vidur
git-svn-id: svn://10.0.0.236/trunk@83550 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:52:08 +00:00
cls%seawood.org
0993744d79 Need to cat huge list of makefiles directly to xargs instead of using variables.
Bug #37095 r=jdunn@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83549 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:28:24 +00:00
dcone%netscape.com
1b10d1c5c5 Fixed the background with Transparent PNG's and a 32 and 16 bit depth printing problem.
r=kmmclusk sr=buster bug = 55093, 46871


git-svn-id: svn://10.0.0.236/trunk@83548 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:27:42 +00:00
alecf%netscape.com
fef1120fb1 re-checkin all my changes from yesterday, plus some fix-ups so that history doesn't get
corrupted and we don't get lots of assertions at startup
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@83547 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:07:30 +00:00
nboyd%atg.com
2829d70817 Support single-letter bean properties.
git-svn-id: svn://10.0.0.236/trunk@83545 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:29:06 +00:00
vidur%netscape.com
8b926bfcb5 Set expat endian flags so we don't do an extra copy. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@83544 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:23:50 +00:00
ccarlen%netscape.com
fba774d9f3 Bug 51932 - Allow getting the FSSpec of a file which doesn't exist.
r=sdagley, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@83543 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:14:03 +00:00
vidur%netscape.com
00f259c6ae New file for buffer management for shared strings, written by scc. Not yet added to the build. r=vidur
git-svn-id: svn://10.0.0.236/trunk@83542 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:13:33 +00:00
cls%seawood.org
0b2c559784 Fix packaging of cross-compiled builds by using proper $(STRIP)
git-svn-id: svn://10.0.0.236/trunk@83541 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:08:40 +00:00
waterson%netscape.com
313301b4ad Extract interval as makefile parameter.
git-svn-id: svn://10.0.0.236/trunk@83540 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 20:00:33 +00:00
nboyd%atg.com
ad6d753417 Fix test case failures with RegExp constructor (new tests)
git-svn-id: svn://10.0.0.236/trunk@83539 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 15:19:36 +00:00
morse%netscape.com
5c47d60210 bug 62427: improve wallet's rules for detecting certain schema, r=dveditz@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83538 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 15:07:23 +00:00
nboyd%atg.com
e0b5e2c7aa Fix ArrayIndexOutOfBoundsException on "new RegExp()"
git-svn-id: svn://10.0.0.236/trunk@83537 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 14:51:55 +00:00
nboyd%atg.com
39a5727a57 Fix 62559, 58479
git-svn-id: svn://10.0.0.236/trunk@83536 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 14:35:38 +00:00
locka%iol.ie
ee1b0d8035 Fix for the crashing NewWindow2 event mechanism & new IMozControlBridge COM interface for ActiveX programmers who want to get at the Gecko APIs via the control. b=58471, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83535 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 13:05:35 +00:00
rods%netscape.com
24caa09c7b fixing drag+click == double click. The click counter needs to be zeroed during a drag
so a click that happens within the threshold of time between the end click of the drag
and the beginning click of the single click isn't counted like a double click.
The time in between the two which is system dependent and quite long.
b=kmcclusk sr=buster Bug 39192 and possibly Bug 47966


git-svn-id: svn://10.0.0.236/trunk@83534 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 12:22:49 +00:00
rods%netscape.com
7327a3401e removing unneeded includes
r=kmcclusk sr=buster b=62408


git-svn-id: svn://10.0.0.236/trunk@83533 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 12:17:11 +00:00
alecf%netscape.com
426a34fc03 back out my other changes to history, I don't know what's going on.
git-svn-id: svn://10.0.0.236/trunk@83532 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 09:15:25 +00:00
leaf%mozilla.org
97f7c73689 Automated update
git-svn-id: svn://10.0.0.236/trunk@83531 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 07:45:09 +00:00
cls%seawood.org
a9c4fa736c The ORBit fallback checks confuse cross-compile builds.
git-svn-id: svn://10.0.0.236/trunk@83530 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 07:40:37 +00:00
brendan%mozilla.org
a2555ca0ab Fix realloc bookkeeping blunder (r=waterson,pnunn, NOT PART OF DEFAULT BUILD).
git-svn-id: svn://10.0.0.236/trunk@83529 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 05:48:16 +00:00
waterson%netscape.com
02f28abf21 Add text to output current URL.
git-svn-id: svn://10.0.0.236/trunk@83528 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 05:12:49 +00:00
sonmi%netscape.com
4f96bbab84 fixed unreasonable long PATH (which refused) and got rid of the error when
run interactively (-n_TestUser-w_bogus was filtered through an sed, which
thought that -n was **his** option...)


git-svn-id: svn://10.0.0.236/trunk@83527 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 05:10:51 +00:00
cls%seawood.org
24f202b820 Backing out alecf's changes that were causing a crash on startup on unix builds.
git-svn-id: svn://10.0.0.236/trunk@83526 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 04:39:23 +00:00
dmose%mozilla.org
5eb722b3c3 add a stack to save the current global SQL state so that queries can be nested. used this mechanism to fix the 62618 regression. r=encido@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83525 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 03:47:40 +00:00
bienvenu%netscape.com
ff20cff6ce implement downloading of messages for offline use, add folder props ui r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@83524 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 03:18:06 +00:00
bienvenu%netscape.com
bd3823ac1d implement downloading of messages for offline use r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@83523 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 03:14:43 +00:00
bienvenu%netscape.com
b8d75dfe1d add folder prop sheets to build r=sspitzer,sr=mscott, r=ducarroz 15865 needed for offline imap
git-svn-id: svn://10.0.0.236/trunk@83522 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 03:14:04 +00:00
bienvenu%netscape.com
6000a0fa7e add strings for offline UI r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@83521 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 03:10:14 +00:00
bienvenu%netscape.com
f43f16c92a reflect downloaded status of msgs in UI r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@83520 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 03:08:08 +00:00
bienvenu%netscape.com
42a6f709a1 implement downloading of messages for offline use r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@83519 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 03:07:21 +00:00
beard%netscape.com
47a2c153d8 removed non-existent dist/client access path. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@83518 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 03:00:58 +00:00
morse%netscape.com
6fb1e53bb2 bug 58875, capture info in <select> tags, r=ssu, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83516 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 02:18:41 +00:00
waterson%netscape.com
429663f092 Add param for specifying how many rows you want in the output.
git-svn-id: svn://10.0.0.236/trunk@83515 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:56:01 +00:00
beard%netscape.com
01306b314a Fix for inflexible thumb position constraint. sr=evaughan
git-svn-id: svn://10.0.0.236/trunk@83514 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:52:45 +00:00
waterson%netscape.com
de70274b8d Improve imagelib heuristics.
git-svn-id: svn://10.0.0.236/trunk@83513 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:52:06 +00:00
av%netscape.com
4dc3817dc3 Addressing bug 60064, patch by lsv@sparc.spb.su, sr=blizzard, a=av
git-svn-id: svn://10.0.0.236/trunk@83512 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:51:12 +00:00
nboyd%atg.com
3d465ab186 fix javadoc
git-svn-id: svn://10.0.0.236/trunk@83511 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:48:53 +00:00
sonmi%netscape.com
ec7045b301 first attempt of a platformlist, still misses windows platforms
git-svn-id: svn://10.0.0.236/trunk@83510 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:44:20 +00:00
varada%netscape.com
65d44766c4 Fix for bug#60904; Fixing broken editing filters;r=alecf sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83509 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:12:17 +00:00
peterlubczynski%netscape.com
f97aecfa0a Set lastModified attribute for a plugin stream b=58134 a=av sr=buster
git-svn-id: svn://10.0.0.236/trunk@83507 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:00:28 +00:00
alecf%netscape.com
2e737df19b initial fix for 55293 - expire pages in history on shutdown
mostly stuff submitted by bienvenu, r=alecf, the rest by me, r=bienvenu
sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83506 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 00:41:42 +00:00
pschwartau%netscape.com
bea30636b0 Skip ecma_3/Date/15.9.5.7.js Rhino does Date.toLocaleTimeString() differently than SpiderMonkey
git-svn-id: svn://10.0.0.236/trunk@83505 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 00:13:24 +00:00
radha%netscape.com
8890d50acd Fix for bug # 54492 r=verah sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83503 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 23:29:04 +00:00
mang%subcarrier.org
bbc3fd1035 Fix for #62572
Removed obsolete code that allowed implicit declaration of nsid types.
This will cause a rebuild.
r=mccabe
sr=jband


git-svn-id: svn://10.0.0.236/trunk@83502 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 23:06:26 +00:00
peterlubczynski%netscape.com
5322f853e9 Prevents the call into the plugin if the plugin hasn't been already
initilized. bug=58823 r=av


git-svn-id: svn://10.0.0.236/trunk@83501 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 23:00:45 +00:00
peterlubczynski%netscape.com
997c62d20d Set unknown length of stream to -1 bug 59571 a=av sr=buster
git-svn-id: svn://10.0.0.236/trunk@83500 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 22:54:54 +00:00
morse%netscape.com
1b665b16db new file, not part of build
git-svn-id: svn://10.0.0.236/trunk@83499 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 22:23:09 +00:00
alecf%netscape.com
68e8110bc1 fix for #59815, as submitted in bug #55293 by bienvenu@netscape.com
r=alecf, sr=waterson (in 55293)


git-svn-id: svn://10.0.0.236/trunk@83498 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 22:22:20 +00:00
heikki%netscape.com
88d1b46226 Bug 51218, problems with DOCTYPE handling. r=harishd, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@83497 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 22:21:06 +00:00
mkaply%us.ibm.com
91837718bf OK, lets try this Arial fix for Russian
git-svn-id: svn://10.0.0.236/trunk@83496 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 22:14:44 +00:00
danm%netscape.com
7fd562da0d delete thread log in main thread dtor. bug 54303 code=jonsmirl@mediaone.net r=me,dougt,brendan
git-svn-id: svn://10.0.0.236/trunk@83495 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 21:55:47 +00:00
blakeross%telocity.com
b7a30d57ac Fix 62509: missing tab in the password manager. (patch by morse, I broke it in an earlier checkin). r=me sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83494 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 21:49:37 +00:00
alecf%netscape.com
62196f49fc fixes for:
#61140 - delete history.dat if it gets corrupted
 #56867 - implement "First Visited"
 #19370 - implement "Visit Count"
 #33697 - clean up nsGlobalHistory::OpenDB a bit more (doesn't fix the leak yet)
sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83493 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 21:39:05 +00:00
mkaply%us.ibm.com
877a2a2780 EMX build break
git-svn-id: svn://10.0.0.236/trunk@83492 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 21:38:49 +00:00
chuang%netscape.com
d1493f456e bug34051 use nsIFilePicker instead of nsIFileSpecWithUI in mailnews, r=sspitzer,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83491 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 21:35:13 +00:00
chuang%netscape.com
1e7073f348 Bug34051 use nsIFilePicker instead of nsIFileSpecWithUI in mailnews, r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83490 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 21:25:26 +00:00
mkaply%us.ibm.com
e133e512b1 #62335
r=pedemonte, a=blizzard
Using sscanf to parse font causes problems with whitespace - use something else


git-svn-id: svn://10.0.0.236/trunk@83489 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 21:15:04 +00:00
rods%netscape.com
fc0a5b36d7 smoketest blocker,
an event is cancelled when it is equal to nsEventStatus_eConsumeNoDefault
a=joki


git-svn-id: svn://10.0.0.236/trunk@83488 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 20:07:50 +00:00
mcgreer%netscape.com
6ca119ede9 hopefully fixes HP 64-bit opt QA failures, where cmsutil fails first time it is executed from script
git-svn-id: svn://10.0.0.236/trunk@83487 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 19:38:16 +00:00
mcgreer%netscape.com
95e43bf5fa cmsutil was broken for STDIN input
git-svn-id: svn://10.0.0.236/trunk@83486 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 18:42:58 +00:00
cls%seawood.org
7f7e4d7563 Oops, forgot to wrap the install in a USE_ELF_DYNSTR_GC ifdef.
git-svn-id: svn://10.0.0.236/trunk@83483 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 08:00:29 +00:00
cls%seawood.org
5d9507279a Changed named of ELF_DYNSTR_GC to elf-dynstr-gc.
Bug #62098


git-svn-id: svn://10.0.0.236/trunk@83482 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 07:25:45 +00:00
cls%seawood.org
448a8f3306 Moving the tool to strip the dynstr section from elf binaries to config/elf-dynstr-gc.c . See mozilla/tools/elf-dynstr-gc/elf-gc-dynstr.c for the previous history of this file.
Bug #62098 r=jag


git-svn-id: svn://10.0.0.236/trunk@83481 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 07:24:47 +00:00
cls%seawood.org
9700dd26b4 Update the standalone build system to handle our extensive intermodule header dependencies without descending into recursive dependency hell.
Bug 57282 r=jag


git-svn-id: svn://10.0.0.236/trunk@83480 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 06:52:25 +00:00
koehler%mythrium.com
0641b23043 Bug 58217 - Fix menus under BeOS. r=danm
As this only affect BeOS, I'm not asking for a sr= as
discussed with Blizzard previously.


git-svn-id: svn://10.0.0.236/trunk@83479 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 03:52:12 +00:00
cls%seawood.org
2d7b66fe56 Add the tinderbox-ports panel to panel-list so that it shows up by default.
Bug #62096.  Thanks to Stephen Walker <walk84@usa.net> for the patch.


git-svn-id: svn://10.0.0.236/trunk@83478 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 00:08:47 +00:00
nboyd%atg.com
de59febfdd Fix bug where "a = new Array[3]" would produce an IndexOutOfBoundsException
git-svn-id: svn://10.0.0.236/trunk@83475 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 18:33:52 +00:00
morse%netscape.com
080e9c4096 new file, not part of build
git-svn-id: svn://10.0.0.236/trunk@83474 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 17:02:11 +00:00
rods%netscape.com
3a1a98af2f removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460


git-svn-id: svn://10.0.0.236/trunk@83473 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 16:05:29 +00:00
wtc%netscape.com
5e3f471389 Bugzilla bug #61746: make NSPR local threads work on more NetBSD platforms.
Thanks to Charles Hannum <mycroft@netbsd.org> for the patch. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@83471 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 15:20:03 +00:00
dbaron%fas.harvard.edu
88714af7cf Adding pref to REQUIRES to fix senna tinderbox bustage from hyatt's checkin.
git-svn-id: svn://10.0.0.236/trunk@83470 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 14:34:06 +00:00
hyatt%netscape.com
c6a53f58a9 Fixing linux build bustage
git-svn-id: svn://10.0.0.236/trunk@83469 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:47:05 +00:00
hyatt%netscape.com
926accfee0 Patched nsDOMFactory to obey XBL forms pref. Added support for box objects to
documents and tweaked DocumentXBL methods. r=jst@netscape.com, a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83468 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:25:59 +00:00
hyatt%netscape.com
a31ea196ea Speeding up retrieval of anonymous nodes by removing a redundant copy. Patched bug in
insertion point retrieval. a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83467 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:23:43 +00:00
hyatt%netscape.com
6e25d74ffe Added support for fieldset and legend. Not used by default.
a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83466 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:23:11 +00:00
hyatt%netscape.com
2fd7a1940a Speeding up retrieval of anonymous nodes by removing a redundant copy.
a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83465 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:21:22 +00:00
hyatt%netscape.com
e0273d9feb Added Pref control for XBL forms.
r=jst@netscape.com, a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83464 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:20:40 +00:00
hyatt%netscape.com
17c7769c81 Adding support for box objects to XML and HTML. Fixed focus bug with Generic Elements
r=jst@netscape.com, a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83463 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:19:59 +00:00
hyatt%netscape.com
3b55023858 Adding support for box objects to XML and HTML. Reduced size of XUL content nodes by
4 bytes. r=jst@netscape.com, a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83462 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:18:57 +00:00
hyatt%netscape.com
5aedd41031 modify wording for XBL form control pref & relocate box debugging preferences so they
are accessible when in box debugging mode. a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83461 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:17:37 +00:00
hyatt%netscape.com
f7655658a5 prevent XBL forms from being dragged, quiet dragging operations. a=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83460 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:14:03 +00:00
cls%seawood.org
bbf6c30c33 Adding 'Tinderbox: SeaMonkey-Ports' panel to default list of panels.
Bug 62096 r=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83459 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 06:55:06 +00:00
dbaron%fas.harvard.edu
3cd8a680f6 Fix goto-related IRIX bustage.
git-svn-id: svn://10.0.0.236/trunk@83458 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 05:46:46 +00:00
leaf%mozilla.org
963185920d Automated update
git-svn-id: svn://10.0.0.236/trunk@83457 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 04:30:08 +00:00
dbaron%fas.harvard.edu
50436dd93f A better configure test for fixing the IRIX bustage.
git-svn-id: svn://10.0.0.236/trunk@83456 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 04:27:38 +00:00
leaf%mozilla.org
58d9503b7f Automated update
git-svn-id: svn://10.0.0.236/trunk@83455 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 03:15:08 +00:00
dbaron%fas.harvard.edu
88efcf30bd Attempt to fix |address_of| bustage on IRIX. r=scc@mozilla.org b=59414
git-svn-id: svn://10.0.0.236/trunk@83454 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 03:13:53 +00:00
wtc%netscape.com
cf072b6418 Bugzilla bug #51406: PR_GetConnectStatus should not invoke the new
'connectcontinue' method, which is not present in the PRIOMethods
table of NSPR 4.0.
Modified Files: prsocket.c ptio.c


git-svn-id: svn://10.0.0.236/trunk@83453 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 02:33:59 +00:00
ssu%netscape.com
40a53bd427 fixing bug #33353. patch from Henrik Gemal and Timeless. mo,r=ssu. not part of any tinderbox builds.
git-svn-id: svn://10.0.0.236/trunk@83452 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 23:22:20 +00:00
ssu%netscape.com
128191acb3 fixing bug #33349. patch from Henrik Gemal. mo,r=ssu. affects only windows platform.
git-svn-id: svn://10.0.0.236/trunk@83451 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 23:08:04 +00:00
disttsc%bart.nl
09d06da34f Remove titledbutton frame (wasn't built) and titledbutton atom, bug=57751, r=ben, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@83449 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 12:36:07 +00:00
bryner%uiuc.edu
aae64e984b Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83448 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 07:28:19 +00:00
dbaron%fas.harvard.edu
16a7f14c96 Fix bustage. Forgot to change NS_IMETHODIMP in function definitions.
git-svn-id: svn://10.0.0.236/trunk@83447 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:58:10 +00:00
dbaron%fas.harvard.edu
fc1d2a9cd5 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83446 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:46:08 +00:00
dbaron%fas.harvard.edu
e9d380a7cb Work in progress for bug 59414. Prepare to make |nsCOMPtr|'s |operator&| private to prevent many cases of accidental usage, and provide |address_of| for clients who really want a pointer to an nsCOMPtr. r=scc@mozilla.org sr=waterson@netcape.com
git-svn-id: svn://10.0.0.236/trunk@83445 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:45:43 +00:00
dbaron%fas.harvard.edu
f7db52e674 Fix bustage. Missed one change from |GetUnicode| to |get|.
git-svn-id: svn://10.0.0.236/trunk@83444 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:35:24 +00:00
karnaze%netscape.com
d474b575ad fix delays of regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83443 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:25:06 +00:00
dbaron%fas.harvard.edu
0cc4ea2497 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +00:00
dbaron%fas.harvard.edu
c9b1f05b24 Replace static nsAutoStrings with nsLiteralStrings to avoid static construction, and fix a build warning while I'm here. b=61957 r=erik@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83441 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:15:25 +00:00
dbaron%fas.harvard.edu
3709fd9c7d Avoid static constructor for nsSpecialSystemDirectory by making non-static, since function is not used often. b=61835 r=pavlov@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83440 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:13:06 +00:00
dbaron%fas.harvard.edu
ad5f529a65 Avoid relying on static constructor for nsFSStringConversion in nsLocalFile by making all methods static and avoiding the need for an object and then doing cleanup during XPCOM shutdown. b=43591 r=dougt@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83439 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:11:05 +00:00
dbaron%fas.harvard.edu
78991cf0e0 Fix leak of nsMemoryImpl from ns4xPlugin::CreatePlugin. b=56584 r=av@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83438 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:06:49 +00:00
dbaron%fas.harvard.edu
613ce7eae3 Make relatively positioned elements matter to their parents only at the original position by switching the order of computing the combined rect and computing relative positioning. b=4519 r=buster@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83437 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:04:17 +00:00
dbaron%fas.harvard.edu
386f135d01 Fix leak bug 47098 (image objects leaked for animated throbber or for cancelled image loads) by making ImageNetContextImpl have weak references to ImageConsumer and have ImageConsumer do more cleanup in its destructor when its OnStopRequest method wasn't called. r=pnunn, kmcclusk, dcone, beard sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83436 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:02:31 +00:00
blakeross%telocity.com
fec51a67dc Fix 30878: right clicking on buttons should not trigger button action, and pressing spacebar needs to trigger all buttons. more to come. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83435 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:00:24 +00:00
blakeross%telocity.com
d31c016cc1 Fix 30878: right clicking on buttons should not trigger button action, and pressing spacebar needs to trigger all buttons. more to come. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83434 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 03:59:32 +00:00
nelsonb%netscape.com
afa885868c On DEC Alpha/OSF1, following the examples in <c_asm.h>, use inline
assembly code to get 64-bit products and squares from 32-bit multipliers
in just two instructions.  Speeds up multiplication and squaring a lot.


git-svn-id: svn://10.0.0.236/trunk@83433 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 03:36:41 +00:00
nelsonb%netscape.com
1367cfcdaf When building without the inline assembly macros, use a simple cast
rather than the math lib's floor() function.  Also, don't and with a
mask of all 1 bits when casting to a smaller unsigned type will suffice.


git-svn-id: svn://10.0.0.236/trunk@83432 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 03:32:41 +00:00
racham%netscape.com
6f6f9a2aa8 Fixing bug 48092. Enabling the ability to change the port value automatically depending on the state of secure checkbox option. r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83429 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 03:03:58 +00:00
jst%netscape.com
b3fc2d5eba Fixing bug 57466. XML documents need to do principal fixup on redirect. sr=vidur, r=mstolts, r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@83426 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 02:04:36 +00:00
shanjian%netscape.com
6457372fd7 #60823 UnicodeToGBK and UnicodeToGB2312 converter don't work on SPARC Solaris
r = nhotta, sr=erik
the original code does not work with big-endian system.


git-svn-id: svn://10.0.0.236/trunk@83425 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:45:36 +00:00
larryh%netscape.com
9bb1174fda Bugzilla: 62396, fix threads in selfserv.c
git-svn-id: svn://10.0.0.236/trunk@83424 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:35:54 +00:00
mccabe%netscape.com
a7edd5be7f Fix to 62309. Change JS_AddRoot to JS_AddNamedRoot in Liveconnect to aid leak diagnoses.
r=beard
sr=brendan


git-svn-id: svn://10.0.0.236/trunk@83423 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:35:46 +00:00
waterson%netscape.com
9d01794504 First checked in.
git-svn-id: svn://10.0.0.236/trunk@83422 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:24:23 +00:00
bienvenu%netscape.com
ae5a7d0982 add newline at eof
git-svn-id: svn://10.0.0.236/trunk@83421 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:24:22 +00:00
bienvenu%netscape.com
e8dbdfb23a initial entry, not part of build
git-svn-id: svn://10.0.0.236/trunk@83420 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:17:37 +00:00
bienvenu%netscape.com
a47794bae5 initial add, not part of build
git-svn-id: svn://10.0.0.236/trunk@83419 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:16:39 +00:00
bienvenu%netscape.com
c020d0064c more work on offline message storage and retrieval, r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@83418 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:15:16 +00:00
disttsc%bart.nl
928ee0a02c Remove more dead titledbutton code, bug=57751, r=pinkerton, r=evaughan, a=brendan
git-svn-id: svn://10.0.0.236/trunk@83417 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:07:59 +00:00
javi%netscape.com
1a23edfcec Fixing Mac build bustag. a=leaf
git-svn-id: svn://10.0.0.236/trunk@83416 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 00:55:58 +00:00
leaf%mozilla.org
1b2986e532 we won't get very far building mozilla/security on windows without pulling
mozilla/security/makefile.win; build bustage fix for psm builds (doesn't
affect default build)


git-svn-id: svn://10.0.0.236/trunk@83415 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 00:34:08 +00:00
rogerl%netscape.com
3192db65c0 Sweeping set of changes to implement closures. Also re-targetted entire
front-end to Cobol and back-end now generates pdp11 assembly code in
spanish.


git-svn-id: svn://10.0.0.236/trunk@83413 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 23:55:39 +00:00
sonmi%netscape.com
aa69291244 added timestamps for stresstest per nelson's request
git-svn-id: svn://10.0.0.236/trunk@83412 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 23:49:55 +00:00
mkaply%us.ibm.com
75b92aca6b OS/2 build break
Need PR_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@83411 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 20:36:53 +00:00
waterson%netscape.com
e99855939c Mmm, more rules.
git-svn-id: svn://10.0.0.236/trunk@83410 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 20:31:31 +00:00
miodrag%netscape.com
58aff15585 Make file compile under JDK1.3
git-svn-id: svn://10.0.0.236/trunk@83409 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 17:17:49 +00:00
despotdaemon%netscape.com
24c24b6ef8 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@83408 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 17:09:21 +00:00
mkaply%us.ibm.com
146c4ec4be r=mkaply, a=blizzard
Code cleanup on ClipRegions


git-svn-id: svn://10.0.0.236/trunk@83407 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 15:44:13 +00:00
mkaply%us.ibm.com
ae856a23e9 r=mkaply, a=blizzard
Code cleanup on ExtTextOut


git-svn-id: svn://10.0.0.236/trunk@83406 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 15:43:06 +00:00
mkaply%us.ibm.com
84a31f8dab #61253
r=jkobal, a=blizzard
Using wrong or bad PS to query font availability


git-svn-id: svn://10.0.0.236/trunk@83405 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 15:38:10 +00:00
mkaply%us.ibm.com
0872420304 #62335
r=mkaply, a=blizzard
Code from jkobal to fix DBCS clipboard


git-svn-id: svn://10.0.0.236/trunk@83404 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 15:34:10 +00:00
mkaply%us.ibm.com
cf2ee2e1ea #60944
r=cls
This was already approved in #60020, just moving it in the makefile


git-svn-id: svn://10.0.0.236/trunk@83403 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 15:33:19 +00:00
mccabe%netscape.com
8db0182d42 More licenses and modelines.
Not part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@83402 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 10:19:59 +00:00
mccabe%netscape.com
fd0f0e8d79 Add informative comment.
Not part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@83401 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 10:01:35 +00:00
mccabe%netscape.com
1214194bac Whoops, wrong license.
git-svn-id: svn://10.0.0.236/trunk@83400 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 10:00:20 +00:00
mccabe%netscape.com
ee9dc32154 Add -p flags to several Makefile mkdir commands, to allow parallel gmakes. Still not sure how to make js/src/liveconnect/classes/*.java happy with parallel. gmakes...
Also add some #modelines to makefiles, and some more NPL licenses.

None of these files are part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@83399 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 09:56:47 +00:00
syd%netscape.com
34d41ad783 Pass an nsIPrompt instance to the login redirector. r=jelwell, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83398 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 07:07:45 +00:00
mccabe%netscape.com
c09cda8e4e Update to last fix of js.c. Multiple versions of functions #ifdef'ed to take different numbers of arguments (in C) are a pain. Use #ifdef-safe JS_GET_CLASS, instead.
Not part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@83397 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 06:30:57 +00:00
ben%netscape.com
4f01edac18 Fix to work around 62226 so we can open the tree. .value seems to have stopped working for the
addressing widget <xul:textfield/> elements only (not for other textfield elements and not for
autocomplete widgets - URLbar in browser still works). So I made the references to the textfields'
value property in this file refer to the value property on the anonymous HTML input element, which
seems to work.


git-svn-id: svn://10.0.0.236/trunk@83396 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 06:10:46 +00:00
dmose%mozilla.org
08808bf8f9 Fix for bug 61692: IDLify nsIEventQueue and nsIEventQueueService. This makes it possible to create an nsISupports proxy for calling across threads in languages other than C++ (eg JS). r=dougt@netscape.com, r=jband@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83395 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 04:30:36 +00:00
varada%netscape.com
bfca7cdf85 fix for bug#57340; custom components not showing up in build;added additional field
git-svn-id: svn://10.0.0.236/trunk@83394 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 04:00:29 +00:00
nelsonb%netscape.com
d13601b2b6 Change NewTempCertificate(), making the search for the cert and the
subsequent insertion of the cert into the DB into one atomic operation
by holding the certdb's lock around the pair of operations.  Bug 62286.


git-svn-id: svn://10.0.0.236/trunk@83393 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 03:35:29 +00:00
varada%netscape.com
dd6eadf033 fix for bug#59050; verification of user agent string
git-svn-id: svn://10.0.0.236/trunk@83392 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 02:42:06 +00:00
mccabe%netscape.com
b5182276d4 Fix to Windows build problem with the js reference build; replace non-API macro OBJ_GET_CLASS with API-kosher JS_GetClass. (OBJ_GET_CLASS used js_GetSlotWhileLocked, pulled from the set of exported symbols with the recent thread optimization checkin.)
Not part of the Mozilla build.  (Yes, it's a closed tree!)

r=brendan


git-svn-id: svn://10.0.0.236/trunk@83390 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 02:35:17 +00:00
hyatt%netscape.com
6d1af81891 Fix for smoketest bugscape blocker bug #3467.
git-svn-id: svn://10.0.0.236/trunk@83389 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 01:43:02 +00:00
nelsonb%netscape.com
d65fb44585 This modification, contributed by Sun, avoids computing values >= 2^52.
This code runs much faster than the previous version on UltraSparc-3 CPUs,
and slightly slower than the previous version on UltraSparc-II CPUs.


git-svn-id: svn://10.0.0.236/trunk@83388 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 00:20:36 +00:00
cls%seawood.org
a27dc8aced Adding caps to REQUIRES. Bug #62069 r=burning tinderbox: senna
git-svn-id: svn://10.0.0.236/trunk@83386 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 22:46:13 +00:00
despotdaemon%netscape.com
013f66d79c Pseudo-automatic update of changes made by kirke@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@83385 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 22:34:27 +00:00
relyea%netscape.com
d16864a195 OpenVMS changes bug 60143
git-svn-id: svn://10.0.0.236/trunk@83384 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 22:25:18 +00:00
relyea%netscape.com
9dc0a0150f Open VMS changes bug 60143
git-svn-id: svn://10.0.0.236/trunk@83383 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 22:24:46 +00:00
relyea%netscape.com
47080d092a Open VMS changes: bug 60143.
git-svn-id: svn://10.0.0.236/trunk@83382 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 22:23:06 +00:00
blizzard%redhat.com
39b25801ee Fix bug #51130. Use common dialogs for nsIPrompt in the embedding widget. r=danm, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@83381 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 21:09:43 +00:00
mcgreer%netscape.com
f37b3872a2 fix debug output so it doesn't crash
git-svn-id: svn://10.0.0.236/trunk@83380 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 18:38:27 +00:00
attinasi%netscape.com
7e7a62561d Regression test script for style regression tests
git-svn-id: svn://10.0.0.236/trunk@83379 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 15:40:22 +00:00
attinasi%netscape.com
8c4b5f51fd Regression test script for style regression tests, and first regression test file
git-svn-id: svn://10.0.0.236/trunk@83378 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 15:39:54 +00:00
attinasi%netscape.com
ae39d4befe Changes to put style data into the layout regression data output. r=karnaze, a=waterson
git-svn-id: svn://10.0.0.236/trunk@83377 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 15:31:40 +00:00
bryner%uiuc.edu
eccf014767 Adding a newline at the end of this file to prevent bustage on some compilers. r=pike.
git-svn-id: svn://10.0.0.236/trunk@83376 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 12:52:22 +00:00
hyatt%netscape.com
0fb61b36fe Trying to fix bustage. r=scc, a=ben
git-svn-id: svn://10.0.0.236/trunk@83375 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 11:57:45 +00:00
hyatt%netscape.com
df8783ef60 Tweak to tree binding. a=ben
git-svn-id: svn://10.0.0.236/trunk@83374 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 10:19:06 +00:00
hyatt%netscape.com
f2a55baa27 Big XUL landing. Fixed bug with button triggering on spacebar, fixed numerous tree bugs to enable intrinsic string sizing and XBL-derived trees with custom tags. a=ben
git-svn-id: svn://10.0.0.236/trunk@83373 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 10:18:40 +00:00
hyatt%netscape.com
f28d2bc75d This patch enables the tree widget to use custom tags via XBL. a=ben
git-svn-id: svn://10.0.0.236/trunk@83372 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 10:12:02 +00:00
hyatt%netscape.com
b53fbe50cc Big XBL landing. Fixes numerous XBL bugs. a=ben
git-svn-id: svn://10.0.0.236/trunk@83371 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 10:11:21 +00:00
hyatt%netscape.com
794590705b More fun with XBL. Not used in build. a=ben
git-svn-id: svn://10.0.0.236/trunk@83370 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 09:52:13 +00:00
mccabe%netscape.com
e18bba4e83 Fix to 58120 - Rhino's Date.prototype.setYear wasn't converting from internal UTC time to local time before working with the date, resulting in new dates that were off by the current timezone offset. Adding a LocalTime call fixes it.
Thanks to David Flanagan <david@oreilly.com> for catching this.


git-svn-id: svn://10.0.0.236/trunk@83369 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 09:21:45 +00:00
jband%netscape.com
4dbd18c0a9 now that the bustage is cleanedup (sorry), I'm fixing the whitespace of that hasty checkin
git-svn-id: svn://10.0.0.236/trunk@83368 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 09:06:55 +00:00
jband%netscape.com
389c2d6966 fix build bustage on some platforms from MI ambiguity
git-svn-id: svn://10.0.0.236/trunk@83367 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 08:33:50 +00:00
jband%netscape.com
2aa5fb0583 fix bug 62069 and bug 68538 by using nsISecurityCheckedComponent to allow unfettered access from JavaScript to Components.interfaces and the safer methods on nsXPCException. r=brendan r=mstoltz sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@83366 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 08:14:27 +00:00
mscott%netscape.com
02a65a3c04 Bug # --> 59956 --> add a null ptr check for mTable.
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83365 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 08:03:33 +00:00
disttsc%bart.nl
e3e4b8f41e Fix potential crash, bug 51663, r=radha, a=brendan
git-svn-id: svn://10.0.0.236/trunk@83364 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 06:24:12 +00:00
disttsc%bart.nl
4f01399bab Shut up warnings in a better way. bug=61568, r=blake, a=ben
git-svn-id: svn://10.0.0.236/trunk@83363 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 05:44:19 +00:00
nelsonb%netscape.com
c2c5c3c012 Add a new -t option to specify the maximum number of threads, and hence
the maximum number of simultaneous connections.  Default is now 8.
values < 1 or > 32 are ignored. Also, increase the minimum delay interval
for retrying failed connections from 10 to 50 milliseconds, and increase
it exponentially if/as more retries are required.  These changes have
made the stress tests finish considerably faster, and have improved the
consistency from run to run.  Previously runs times varies by 2:1 or more.


git-svn-id: svn://10.0.0.236/trunk@83362 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 05:34:50 +00:00
blakeross%telocity.com
8aeaf75054 Fix 48180: menulists don't respect data attribute (add-on to previous fix). patch by Jan Varga (varga@utcru.sk). r=jag a=ben
git-svn-id: svn://10.0.0.236/trunk@83361 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 04:29:53 +00:00
mccabe%netscape.com
e58b2357ae Fix to 8734. Make xpidl produce its' output file in the same directory it is run in. This only applies when the -o someotheroutname option isn't supplied. Previous behavior was to produce the output file in the same directory as the input file. Hopefully this'll save some confusion for first-time xpidl users.
Thanks to Mike Ang <mang@subcarrier.org> for fixing several errors in the initial version of this patch.

r=mang
sr=jband


git-svn-id: svn://10.0.0.236/trunk@83360 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 04:25:07 +00:00
mccabe%netscape.com
1a06291899 Usage message spelling fix courtesy Mike Ang <mang@subcarrier.org>.
r=mccabe


git-svn-id: svn://10.0.0.236/trunk@83359 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 04:22:24 +00:00
mccabe%netscape.com
72fd4d68c9 Fix to 54913. Add check against 'const unsigned long = -4', and centralize many const checks in xpidl_util.c from the various xpidl backends.
This'll cause the tree to rebuild.

sr=jband.


git-svn-id: svn://10.0.0.236/trunk@83358 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 04:17:33 +00:00
disttsc%bart.nl
9c0b202276 Fix html tooltips. I have been whipped. Ouch. bug=62050, r=blake, a=ben
git-svn-id: svn://10.0.0.236/trunk@83357 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 04:01:06 +00:00
dmose%mozilla.org
e84d64803e patch from Jake <jsteenhagen@novagate.com> to fix bug 59515; adds a title attribute containing status and short description to various bug links. In some browsers (most Mozilla builds, at least) this makes the status and short description available as a tooltip, so it is no longer necessary to click through to see it. r=dmose@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83356 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 03:04:32 +00:00
mccabe%netscape.com
eb53804812 Add emacs makefile modeline to many makefiles, add npl license to others.
(Comment changes only.)


git-svn-id: svn://10.0.0.236/trunk@83355 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 02:44:27 +00:00
mccabe%netscape.com
74045beb95 Fix to 48299. Distinguish between chrome JS and content JS when reporting errors; this will allow the JS console to hide or otherwise highlight errors in UI javascript.
r=jst, sr=jband.


git-svn-id: svn://10.0.0.236/trunk@83354 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 02:08:21 +00:00
ben%netscape.com
8b53e8cd85 [AURORA] Resizable Popup Windows. NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@83353 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 01:41:09 +00:00
ben%netscape.com
e3188a070b [AURORA] Aurora Test Harness. NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@83352 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 01:39:05 +00:00
ben%netscape.com
3199102b09 [AURORA] Navigator Widget Bindings. NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@83351 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 01:38:44 +00:00
ben%netscape.com
f7884b43d4 [AURORA] Navigator Command/Toolbar DB, initial revision of manipulation libraries, templates.
NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@83350 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 01:38:17 +00:00
ducarroz%netscape.com
7f6ba04d42 Fix nebiros (Sun WS 5.0) bustage. LF missing at the end of the file. Thanks dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@83349 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 01:36:36 +00:00
timeless%mac.com
c23b6ca967 Fix for bug 53661 Portable Network Graphic should be changed to PNG to match GIF & JPEG.
Decission was to expand GIF and JPEG.
patch by walk84@usa.net r=timeless sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83348 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 01:36:19 +00:00
mscott%netscape.com
56b9502dc2 Add pref to the requires list.
git-svn-id: svn://10.0.0.236/trunk@83347 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 01:35:04 +00:00
ducarroz%netscape.com
dc209c1631 Bug 61748: the function nsInputFileStream::read could return before having read all the requested data. Therefore we need to call it as long it's needed. Patch provided by colin@theblakes.com
R=ducarroz, SR=mscott,bienvenu


git-svn-id: svn://10.0.0.236/trunk@83346 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 00:52:27 +00:00
ducarroz%netscape.com
da11754c23 Bug 60626: Remove javascrit warning. Thanks gemal@gemal.dk (Henrik Gemal) for provinding the patch.
R=ducarroz, SR=mscott
Bug 61947: Pressing enter into an empty address switch the focus to subject field. Thanks hidday@geocities.com(Fabian Guisset) for providing part of the fix.
R=sspitzer, SR=bienvenu


git-svn-id: svn://10.0.0.236/trunk@83345 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 00:41:21 +00:00
mscott%netscape.com
73a65eb089 Bug #60907 --> When bringing up the helper app dialog, if a helper app is already
present then be sure to default the action to Open instead of Save To Disk.
sr=alecf
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@83344 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 00:38:09 +00:00
mscott%netscape.com
201bf33a52 Bug #61105 --> something changed that stopped status from showing up in the progress
dialog. Fixed that and then added percent progress text information as well to the dialog.
r=sspitzer
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83343 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 00:30:49 +00:00
mscott%netscape.com
71ac2137c6 Bug #30453 --> implement browser.download.dir support for helper app dialog.
r=sspitzer
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83342 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 00:22:46 +00:00
mscott%netscape.com
7398f7d8ea Bug #61204 --> show the reply-to field again.
r=benb, sspitzer
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83341 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 00:21:32 +00:00
ducarroz%netscape.com
4afa14a5ce Bug 59261. Fix memory leak. R=alecf, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@83340 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 00:13:48 +00:00
ddrinan%netscape.com
4018e327ac Fix for bug 60909. r=javi@netscape.com, bryner@netscape.com. sr=brendan@mozilla.org, leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@83339 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 23:45:42 +00:00
jfrancis%netscape.com
b90974896f fixes bug 62148: mac optimized build runs out of memory building nsHTMLEditor.cpp. I refactored a huge routine to be kinder to the codewarrior compiler. r=sfraser; sr=kin
git-svn-id: svn://10.0.0.236/trunk@83338 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 23:11:21 +00:00
sspitzer%netscape.com
27b28bb99e fix for #62011, the status bar should be at the bottom of the dialog.
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@83337 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:54:46 +00:00
hyatt%netscape.com
37fbc00f88 XBL forms experiments. Testing the water to see what XBL can do right now. Not used as part of build. a=ben
git-svn-id: svn://10.0.0.236/trunk@83336 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:50:53 +00:00
alecf%netscape.com
724e93a903 fix for #61137 r=blake a=ben
explicity use toString() to garantee we have a String object


git-svn-id: svn://10.0.0.236/trunk@83335 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:41:58 +00:00
alecf%netscape.com
eaf4854c32 fix for #48813 - add feedback when a "find" fails
r=blake
sr=ben


git-svn-id: svn://10.0.0.236/trunk@83334 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:40:39 +00:00
despotdaemon%netscape.com
e68fded29a Pseudo-automatic update of changes made by saari@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@83333 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:36:06 +00:00
mcgreer%netscape.com
323f81b560 still more debug output
git-svn-id: svn://10.0.0.236/trunk@83332 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:35:52 +00:00
relyea%netscape.com
3eadad382a Check in openVMS changes from but 60143
git-svn-id: svn://10.0.0.236/trunk@83331 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:31:56 +00:00
nhotta%netscape.com
412954959d Fix memory leak, check in for disttsc@bart.nl, bug 58423, r=nhotta, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@83330 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:29:36 +00:00
alecf%netscape.com
6e8ceeb034 fix for #45797 - remove deprecated NS_IMPL_ISUPPORTS from mail
r=sspitzer
sr=mscott
iho=warren


git-svn-id: svn://10.0.0.236/trunk@83329 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:24:41 +00:00
sfraser%netscape.com
6bde6a1e75 Adding options to not use the progress file, and optimize project opening in codewarrior. Bug 61401, r=scc, sr=jj
git-svn-id: svn://10.0.0.236/trunk@83328 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:09:50 +00:00
pschwartau%netscape.com
ba05e188dd Initial add; regression test for Bugzilla bug 57043
git-svn-id: svn://10.0.0.236/trunk@83327 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 20:52:59 +00:00
sfraser%netscape.com
df76c8f330 Fix for 62039 -- change methods to use const PRUnichar* instead of nsStrings for NS_LITERAL_STRING loving. r=cmanske, akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83326 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 20:48:35 +00:00
despotdaemon%netscape.com
b773fc10aa Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@83325 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 19:57:43 +00:00
ducarroz%netscape.com
d5bb3dfe51 Fix for bug 56262. Window's arguments are now passed through a nsISupports object (nsIMsgCOmposeParams). Also, I have extracted the content handler for mailto url from the nsIMsgComposeService as the URL dispatcher will create an instance of it and not get the service. I did some clean up too like using do_CreateInstance and do_GetService and removing dead code. Also, I catch any error than could append during the message compose initialization and display an alert instead of having a dead window! R=sspitzer, S=mscott
git-svn-id: svn://10.0.0.236/trunk@83324 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 19:56:27 +00:00
jband%netscape.com
16416c0908 fix warnings from fix to bug 61369
git-svn-id: svn://10.0.0.236/trunk@83323 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 19:40:56 +00:00
bienvenu%netscape.com
6eee14830e work on offline msg support r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@83322 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 19:35:43 +00:00
jeff.dyer%compilercompany.com
6d1b9a84a9 Corrupt. Removing.
git-svn-id: svn://10.0.0.236/trunk@83321 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 19:01:21 +00:00
jeff.dyer%compilercompany.com
af328a62d9 Removing, corrupt.
git-svn-id: svn://10.0.0.236/trunk@83320 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 18:59:39 +00:00
jeff.dyer%compilercompany.com
3fed90749c Drawing of compile-time values.
git-svn-id: svn://10.0.0.236/trunk@83319 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 18:37:20 +00:00
jeff.dyer%compilercompany.com
b147b05709 Fixed test to be correct js2.
git-svn-id: svn://10.0.0.236/trunk@83318 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 18:30:18 +00:00
jeff.dyer%compilercompany.com
e6837e1e00 Fixes to the type system and error handler.
git-svn-id: svn://10.0.0.236/trunk@83317 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 18:27:42 +00:00
beard%netscape.com
8678a8b570 [not part of build] implements theme:menu and theme:menuseperator <lordpixiel@mac.com>, r=beard
git-svn-id: svn://10.0.0.236/trunk@83316 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 17:25:16 +00:00
beard%netscape.com
daea2d06f6 [not part of build] Support for building with TARGET_CARBON. Added template for managing component scoped UPPs.
git-svn-id: svn://10.0.0.236/trunk@83315 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 17:16:12 +00:00
ducarroz%netscape.com
f0e08d0e4b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@83314 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 15:17:25 +00:00
ccarlen%netscape.com
0d559548a7 Bug 35559 - dynamic profile switching
Added file nsIProfileChangeStatus.idl
r=valeski, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83313 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 15:02:57 +00:00
ccarlen%netscape.com
3d6271c759 Bug 35559 - dynamic profile switching.
r=valeski, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@83312 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 14:57:34 +00:00
cls%seawood.org
44c2c6f901 If it is the first checkout, don't call build again (ends up in a recursive loop). Bug #59934
git-svn-id: svn://10.0.0.236/trunk@83311 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 08:10:52 +00:00
leaf%mozilla.org
4f161b4b4b Automated update
git-svn-id: svn://10.0.0.236/trunk@83310 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 07:30:07 +00:00
cls%seawood.org
acbe72cc5b Turn off monolithic toolkit builds for OpenBSD.
Thanks to David Krause <david@netcentral.com> for the patch.
Bug #60730


git-svn-id: svn://10.0.0.236/trunk@83309 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 07:22:00 +00:00
cls%seawood.org
07d7920a1c cleansrcdir should use the distclean target if possible
git-svn-id: svn://10.0.0.236/trunk@83308 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 07:14:00 +00:00
brendan%mozilla.org
50b1d4d1f6 Fix leak on IS_BIG_ENDIAN malloc failure early return (r=mccabe,sr=jband).
git-svn-id: svn://10.0.0.236/trunk@83307 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 06:53:33 +00:00
brendan%mozilla.org
784d503f6e Include <ctype.h> before using isalpha, etc.; misc style cleanup (r=mccabe,sr=jband).
git-svn-id: svn://10.0.0.236/trunk@83306 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 06:46:55 +00:00
cls%seawood.org
b29b32b734 Disable error check for xargs until OS/2 tinderbox is updated.
git-svn-id: svn://10.0.0.236/trunk@83305 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 06:36:35 +00:00
jband%netscape.com
a9d947a466 fix bug 59588. Since js_MarkAtom is called *so* often but is usually short-circuited, we add a macro to get the shortcircuit flag in the 3 callers and avoid most of the calls. r=mccabe sr=brendan
git-svn-id: svn://10.0.0.236/trunk@83304 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 06:03:30 +00:00
jband%netscape.com
ae30279ca2 fix bug 61788 - don't leave garbage in stack from js_AllocStack. Also, avoid allocing unneeded slots. r=mccabe sr=brendan
git-svn-id: svn://10.0.0.236/trunk@83303 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 06:00:49 +00:00
jband%netscape.com
959e1037f7 fix warnings
git-svn-id: svn://10.0.0.236/trunk@83302 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 05:59:16 +00:00
beard%netscape.com
9031e4b20d [not part of build] using CSS to do button alignment.
git-svn-id: svn://10.0.0.236/trunk@83301 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 05:31:07 +00:00
sspitzer%netscape.com
9afc2e9a28 fix for #62048. movemail accounts are deletable. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83300 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 04:14:28 +00:00
sspitzer%netscape.com
e07aa5de62 fix for #53970. the "allow at sign" pref is gone. if you were a 4.x user,
we already migrated you fine.  if you are a new user, we trust you to enter
in the right username.  sr=mscott


git-svn-id: svn://10.0.0.236/trunk@83299 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 04:13:54 +00:00
cls%seawood.org
3259a4d03b Adding check for xargs. It is used in some non-default build rules and we need it to properly clean up after our Makefile creation when using some shells.
Bug 37095 r=mkaply@us.ibm.com r=jdunn@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83298 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 03:25:17 +00:00
rods%netscape.com
55b184cf6c when in standard mode, the text field/area was sizing one char too big
r=25657, r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83297 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 03:20:39 +00:00
waterson%netscape.com
d52a8c9e1b Bug 59282. Specify URL at command line. r=dougt, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@83296 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 02:07:38 +00:00
waterson%netscape.com
789d9d1cbc Bug 59283. Don't let gtkEmbed/winEmbed open >1 window. r=dougt, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@83295 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 00:59:36 +00:00
chuang%netscape.com
d8045b8de1 Bug57975 Mailing list doesn't show up after created, r=ducarroz, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@83294 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 00:30:26 +00:00
waterson%netscape.com
93ab5c3017 Bug 61571. Improve speculative RTTI heuristics by adding one more instruction to the signature for typeinfo(). r=brendan, sr=beard
git-svn-id: svn://10.0.0.236/trunk@83293 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 00:05:45 +00:00
mcgreer%netscape.com
3e40898168 add some debug output to try and track down HP64 QA problem
git-svn-id: svn://10.0.0.236/trunk@83292 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 23:58:01 +00:00
sspitzer%netscape.com
1aef4fca9b fix for #61526. sr=bienvenu
this time, make the message count column resizable, and make it persist.


git-svn-id: svn://10.0.0.236/trunk@83291 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 23:22:23 +00:00
mkaply%us.ibm.com
d722bd436d #62021
r=jkobal, a=blizzard
Update some of the values for system colors


git-svn-id: svn://10.0.0.236/trunk@83289 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 22:40:48 +00:00
gerv%gerv.net
639725efe1 Bug 6682: moving location of graph creation dir to graphs instead of data/mining, for security reasons.
git-svn-id: svn://10.0.0.236/trunk@83288 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 22:36:26 +00:00
alecf%netscape.com
957fff2f60 fix for strict warnings #58631
r=blake
sr=alecf
submitted by=jarrod.k.gray@rose-hulman.edu


git-svn-id: svn://10.0.0.236/trunk@83287 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 22:12:19 +00:00
blakeross%telocity.com
1fa4ecd7a8 Fix 60606: remove (evil!) mail dependency on navigator.js. also fixes bookmarking in mail via the context menu. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83286 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 22:11:46 +00:00
sspitzer%netscape.com
4897374b79 fix for #29199. no reviewer.
git-svn-id: svn://10.0.0.236/trunk@83285 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 22:09:07 +00:00
morse%netscape.com
2f19934b26 bug 61390, no dialog asking if you want to save form data, r=dveditz, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83284 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 22:07:11 +00:00
tor%cs.brown.edu
8d628bf1e3 License file was accidentally omitted from this external library.
r=blizzard, sr=cls


git-svn-id: svn://10.0.0.236/trunk@83283 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 22:06:12 +00:00
blakeross%telocity.com
d14577142c Fix 61834: context menu with no items appears on right click of tree column header in search panel, and other minor cleanup. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83282 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:56:43 +00:00
sspitzer%netscape.com
507458bec2 fix problem with the subscribe column looking like crap. #61526
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@83281 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:53:13 +00:00
blakeross%telocity.com
7bd2b79f33 Fix 61707: strict js warnings in scrollbarBindings.xml. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83280 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:52:59 +00:00
blakeross%telocity.com
1314532a92 Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. patch by lordpixel@mac.com. r=ben sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@83279 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:49:42 +00:00
blakeross%telocity.com
db924fe25d Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. patch by lordpixel@mac.com. r=ben sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@83278 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:48:38 +00:00
blakeross%telocity.com
2314f9dd95 Fix 46174: widgets don't use Appearance Manager variation color in mac classic theme. r=ben sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@83277 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:48:00 +00:00
brendan%mozilla.org
850d9d969b JSPROP_SHARED implies no slot to entrain garbage (bug 61482, r=mccabe, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@83276 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:47:23 +00:00
javi%netscape.com
a7e5956fe1 Fix for Bug 60911 r=beard sr=sfraser
Add support for building PSM completely from source pulled from the mozilla cvs server.


git-svn-id: svn://10.0.0.236/trunk@83275 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:42:57 +00:00
blakeross%telocity.com
8a363368c4 Fix 61825: double-ended scrollbars have ugly/incorrect double black border between scrollbar buttons. patch by lordpixel@mac.com. r=me a=ben
git-svn-id: svn://10.0.0.236/trunk@83274 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:35:02 +00:00
blizzard%redhat.com
94bac8f90a Bug #61774. Add -remote help text to the cmd line. Patch from andre@beta.telenordia.se. sr=blizzard sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83273 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:34:39 +00:00
hyatt%netscape.com
6d643b2556 Fix for smoketest blocker 61946, r=pink
git-svn-id: svn://10.0.0.236/trunk@83272 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 21:17:30 +00:00
mkaply%us.ibm.com
42d3ed6dd0 Bad OS/2 only crash/regression - need for our daily build
git-svn-id: svn://10.0.0.236/trunk@83271 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 20:01:28 +00:00
sfraser%netscape.com
c1bc4b211e Fix the check for $main::options{xptlink} to get the release builds to create xptlink correctly. Also comment out a non-existent manifest file line. a=jj
git-svn-id: svn://10.0.0.236/trunk@83270 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 19:57:37 +00:00
harishd%netscape.com
49ae15ac4f REGRESSION TEST FILES - *** NOT PART OF THE BUILD ***
a=granrose


git-svn-id: svn://10.0.0.236/trunk@83269 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 18:51:05 +00:00
nboyd%atg.com
5196035164 Add construction of Counter from Java
git-svn-id: svn://10.0.0.236/trunk@83268 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 16:42:39 +00:00
nboyd%atg.com
b569ba961d Fix bug 61979
git-svn-id: svn://10.0.0.236/trunk@83267 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 16:06:20 +00:00
nboyd%atg.com
efe558d5d6 Fix bug 60093
git-svn-id: svn://10.0.0.236/trunk@83266 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 16:04:32 +00:00
beard%netscape.com
fadfb65e26 [not part of build] first cut at Carbon/Mac OS X compatible menu code.
git-svn-id: svn://10.0.0.236/trunk@83265 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 07:19:25 +00:00
cls%seawood.org
387c1ab0a0 Add security module (based upon bryner's nss autoconf patch)
git-svn-id: svn://10.0.0.236/trunk@83264 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 06:49:12 +00:00
cls%seawood.org
08e30af0a0 Add tools/elf-dynstr-gc to the default list of standalone files to pull as it is used in optimized builds.
git-svn-id: svn://10.0.0.236/trunk@83263 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 06:47:37 +00:00
brendan%mozilla.org
a91f4de13e Forgot to check this in as part of 54743's big patch, d'oh\!
git-svn-id: svn://10.0.0.236/trunk@83262 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 06:42:14 +00:00
mccabe%netscape.com
29570cf10d Fix to 45590. Beard untangled ancient and wrong code from prmjtime.c interacting with the Mac OS; 45590 is fixed by actually treating the date offset as a signed value (it should be!) rather than adding a day when east of Greenwich.
Along the way, Patrick also fixed a bug that's been with the JS engine on the mac for more than three years; used to be that Mac dates throughout the year were displayed according to the machine's *current* daylight savings time setting; now they display properly and all is well with the world.

Dependent on recent checkin fixing 61577, adding needed time library to the mac build.X

r=mccabe


git-svn-id: svn://10.0.0.236/trunk@83261 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 05:17:30 +00:00
beard%netscape.com
708b70adcb added UTCUtils for use by JavaScript engine. bug #61577, r=mccabe
git-svn-id: svn://10.0.0.236/trunk@83260 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 04:36:32 +00:00
sspitzer%netscape.com
e35099bfb5 fix for #61845. remove all NS_DEFINE_IID and replaces the consts with NS_GET_IID macros.
thanks to rods@netscape.com for the patch.  also, some other NS_DEFINE_IID/CID cleanup.
sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@83259 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 04:30:55 +00:00
mkaply%us.ibm.com
24742abbe8 #61963
r=mkaply, a=blizzard
Code from jkobal - proper addrefing of nswindow during event processing


git-svn-id: svn://10.0.0.236/trunk@83258 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 04:28:19 +00:00
wtc%netscape.com
5399ba3237 Bugzilla bug #60040: added missing double quotes ("") around the variable
($LIBIDL_CONFIG) after test -z.  r=cls@seawood.org.
Modified files: configure, configure.in


git-svn-id: svn://10.0.0.236/trunk@83256 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 04:15:59 +00:00
mkaply%us.ibm.com
4a8a3b38ed #58446
r=mkaply, a=blizzard
Code from jkobal - prevents garbage while displaying images


git-svn-id: svn://10.0.0.236/trunk@83255 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 04:01:13 +00:00
mkaply%us.ibm.com
cb73aeec7d #60973
r=jkobal, a=blizzard
Convert system font names to Unicode


git-svn-id: svn://10.0.0.236/trunk@83254 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 03:53:08 +00:00
mkaply%us.ibm.com
ff86884599 #61873
r=mkaply, a=blizzard
Code from jkobal - fix various focus/owner problems


git-svn-id: svn://10.0.0.236/trunk@83253 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 03:50:31 +00:00
mkaply%us.ibm.com
7b135353e3 #61943
r=cls
Add resource compiling for OS/2 - EMX, cleanup BeOS


git-svn-id: svn://10.0.0.236/trunk@83252 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 03:49:03 +00:00
brendan%mozilla.org
45d2ae13b6 Checkin for art@halogen.kharkov.ua, bug 61899, r=mccabe, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@83251 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 03:16:41 +00:00
naving%netscape.com
46d0de72bd 59063 & 59064. r=sspitzer sr=bienvenu. Fixing the warnings due to earlier checkins.
git-svn-id: svn://10.0.0.236/trunk@83250 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 02:49:05 +00:00
naving%netscape.com
7b881ac2a6 59063 & 59064. r=sspitzer sr=bienvenu. Fixing the warnings due to earlier checkins
git-svn-id: svn://10.0.0.236/trunk@83249 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 02:48:44 +00:00
pschwartau%netscape.com
710313d828 Replaced hard-coded TZ_DIFF = -8 with a dynamically-calculated value
git-svn-id: svn://10.0.0.236/trunk@83247 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 01:47:15 +00:00
sspitzer%netscape.com
989d652193 fix for #32249. make newsgroups threaded by default. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@83244 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 01:25:21 +00:00
sspitzer%netscape.com
8c41c8e919 fix for #61857. better status text when downloading the list of newsgroups
from the server.  sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@83243 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 01:17:22 +00:00
sspitzer%netscape.com
3d9c3edfbb fix for #60945 and #51274. make the subscribe dialog wider by default,
and make the size and position persist.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@83242 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 01:15:54 +00:00
mcgreer%netscape.com
fc9d876e3f uninit'ed var causes problem on some platforms
git-svn-id: svn://10.0.0.236/trunk@83241 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 01:13:24 +00:00
disttsc%bart.nl
3d883b4327 Add shift-ctrl-R for non-cache reload shortcut. bug=61330, r=blake, a=alecf
git-svn-id: svn://10.0.0.236/trunk@83240 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 00:33:29 +00:00
pinkerton%netscape.com
f1f7846912 add forms.css to packages for hyatt.
git-svn-id: svn://10.0.0.236/trunk@83239 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 23:40:03 +00:00
jeff.dyer%compilercompany.com
6ad4f40cf9 Fixed type bugs and header comments.
git-svn-id: svn://10.0.0.236/trunk@83238 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 18:47:28 +00:00
mkaply%us.ibm.com
bdd59e9351 Clipboard regression fix from jkobal - r=mkaply
git-svn-id: svn://10.0.0.236/trunk@83237 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 15:27:04 +00:00
disttsc%bart.nl
e8029d147a Temporarily hide leaks (hopefully). Bug 61886, r=dbaron, a=ben
git-svn-id: svn://10.0.0.236/trunk@83236 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 07:48:40 +00:00
leaf%mozilla.org
d23410668c Automated update
git-svn-id: svn://10.0.0.236/trunk@83235 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 05:30:10 +00:00
brendan%mozilla.org
3c7342b93f Checking in cls's latest patch to help my jslock.[ch] code on ultrasparc/gcc.
git-svn-id: svn://10.0.0.236/trunk@83234 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 05:27:41 +00:00
brendan%mozilla.org
0079469b4e A bit over-aggressive with that static keyword last time...
git-svn-id: svn://10.0.0.236/trunk@83233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 04:34:18 +00:00
leaf%mozilla.org
7023e1fa1f Automated update
git-svn-id: svn://10.0.0.236/trunk@83232 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 04:15:08 +00:00
brendan%mozilla.org
bfe8e534be cls's build-bustage patch to define ULTRA_SPARC independent of whether gcc is used on Sun systems.
git-svn-id: svn://10.0.0.236/trunk@83231 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 04:06:57 +00:00
brendan%mozilla.org
c359b1ea49 Fix NSPR_LOCK ifdefs (for JS_NO_THIN_LOCKS mode, enabled due to a configure.in bug on gcc/sparc5 systems). Fixes speedracer build bustage.
git-svn-id: svn://10.0.0.236/trunk@83230 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 04:02:27 +00:00
brendan%mozilla.org
ff9815b123 All this r=mccabe, r=beard, and sr=jband -- many thanks to all who helped,
especially to jband for his great stress-test setup and particularly helpful
(in terms of reproducing bugs in draft patches) MP and laptop machines.

- Radical(*) object (scope) locking optimization: don't lock if a scope is
  accessed on the context that exclusively owns it (initially, the context
  on which the scope was created).  Once a scope becomes shared among more
  than one owner-context, give it the usual thin or fat lock, per existing
  jslock.c code.

  I did this at the memory cost of another word per JSScope, ownercx, which
  raised scope size from 12 to 13 words if !DEBUG.  I also added a linked
  list head pointer, rt->scopeSharingTodo, and a scopeSharingDone condition
  variable to JSRuntime, and a scopeToShare pointer to JSContext that's
  necessary for deadlock avoidance.

  The rt->scopeSharingTodo list links JSScopes through the scope->u.link
  union arm, which overlays the pre-existing scope->count (now u.count)
  member.  This list holds scopes still exclusively owned by a context, but
  wanted by js_LockScope calls active on other threads.  Those calls wait
  on the rt->scopeSharingDone condition, which is notified every time an
  owner-context ends the request running on it, in which code active on
  that context may be using scope freely until end of request.

  The code that waits on rt->scopeSharingDone must first suspend any and
  all requests active on the calling context, and resume those contexts
  after the wait is notified.  This means a GC could happen while the
  thread locking a scope owned by another thread's context blocks; all
  calls to JS_LOCK_OBJ must therefore first home fp->sp above any live
  operands, e.g.  The interpreter takes care to do that already.

  To avoid AB-BA deadlocks, if a js_LockScope attempt on one context finds
  that the owner-context of the scope is already waiting on a scope owned
  by the current context (or indirectly depending on such a scope lock),
  the attempt converts the scope from lock-free exclusive ownership to
  shared ownership (thin or fat lock).

- Fix js_SetupLocks and the js_LockGlobal/js_UnlockGlobal code to avoid
  divmod instruction costs, strength-reducing to bit-mask instructions.

- The radical lock-free scope change required care in handling the 0=>1
  and 1=>0 transitions of cx->requestDepth, which was till now thread-local
  because part of the JSContext not manipulated by other threads.  It's
  still updated only by cx's thread, but it is read by other threads in
  the course of attempting to claim exclusive ownership of a scope for more
  lock-free JS object operations.

- The JS_SuspendRequest and JS_ResumeRequest APIs have changed incompatibly
  to require their caller to save and restore the requestCount found when
  JS_SuspendRequest is called.  This is necessary to avoid deadlock; sorry
  for the incompatible change.

- Fixed various nits in jslock.[ch], including using Init/Finish rather
  than New/Destroy for the methods that take a JSThinLock and initialize
  and finish/free its members.  Another example: JS_ATOMIC_ADDREF is now
  JS_ATOMIC_INCREMENT and JS_ATOMIC_DECREMENT, so the two cases can be
  mapped to PR_AtomicIncrement and PR_AtomicDecrement.  This entailed
  changing jsrefcount from jsword to int32 (PRInt32).

- No need to use JS_ATOMIC_INCREMENT on JSScopeProperty.nrefs, as it is
  always and everywhere protected by the property's JSScope.lock.

- Cleaned up gratuitous casts in jscntxt.c by using &cx->links, etc.

- The lock used for mutual exclusion around both request begin and end vs.
  GC synchronization is rt->gcLock, and this lock now also protects all
  scope->ownercx pointer changes from non-null (exclusive) to null (shared),
  the rt->scopeSharingTodo/scope->u.link list operations, and of course the
  rt->scopeSharingDone condition.

  But this means that js_GC cannot hold rt->gcLock across the bulk of its
  body, in particular the mark phase, during which JS_GetPrivate calls,
  e.g., may need to "promote" scope locks from lock-free to thin or fat,
  because doing so would double-trip.  There never was any good reason to
  hold rt->gcLock so long, of course -- locks are for mutual exclusion, not
  for waiting or notifying a thread -- those operations require a condition,
  rt->gcDone, which we already use along with rt->gcLevel to keep racing GC
  attempts at bay.

  So now that rt->gcLock does not protect the mark phase, the enumeration
  of rt->gcRootsHash can race badly with JS_RemoveRootRT, an API that may
  legitimately be called outside of a request, without even a context.  It
  turns out that people may be cheating on the request model even with
  JS_AddRoot, JS_AddNamedRoot, and JS_RemoveRoot calls, so we must make
  all of those interlock with the GC using gcLevel and gcDone, unless they
  are called on the gcThread.

  Also, since bug 49816 was fixed, there has been no need for a separate
  finalize phase, or for rt->gcFinalVec.  Finalizers can no longer allocate
  newborn GC-things that might be swept (because unmarked), or double-trip
  on rt->gcLock (which is no longer held).  So js_GC finalizes as it sweeps,
  just as it did in days of old.

- I added comments to jslock.h making it plain that callers of JS_LOCK_OBJ
  and JS_UNLOCK_OBJ must either be implementations of js_ObjectOps hooks,
  or code reachable only from those hooks; or else must be predicated on
  OBJ_IS_NATIVE tests.  It turns out jsinterp.c's CACHED_GET and CACHED_SET
  macros neglected to do such tests, limiting the ability of JS embeddings
  to implement JSObjectOps with their own non-JSScope JSObjectMap subclass.
  Fixed, small performance hit that the lock-free optimization should more
  than make up for.

- jslock.c now gives a #error if you try to compile it on a platform that
  lacks a compare-and-swap instruction.  The #error says to use NSPR locks.
  Before this change, some platforms would emulate compare-and-swap using
  a global PRLock, which is always worse in runtime than using per-scope
  PRLocks.


git-svn-id: svn://10.0.0.236/trunk@83229 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 02:43:31 +00:00
jband%netscape.com
21ba28c965 remove unnecessary nested JS_{Begin,End}Request in Load. r=beard
git-svn-id: svn://10.0.0.236/trunk@83228 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 02:13:13 +00:00
cls%seawood.org
bd969a2c7e Add hooks to turn on module dep tracking by setting MOZ_TRACK_MODULE_DEPS=1 when running configure. Bug #59454
git-svn-id: svn://10.0.0.236/trunk@83227 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 01:34:02 +00:00
morse%netscape.com
e3cf374d69 bug 59690, editable menulists weren't working, r=ben@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83226 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-04 00:41:12 +00:00
cls%seawood.org
4e69672da1 Update REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@83225 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-03 22:33:51 +00:00
disttsc%bart.nl
1f91206a5d more cleaning up (bug 55798), r=alecf, a=ben
git-svn-id: svn://10.0.0.236/trunk@83224 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-03 02:08:57 +00:00
dbaron%fas.harvard.edu
bc313ef62a Only clear the status when setting a new document, not when clearing the old document, because clearing the old document depends on when the document viewer's destructor is called (and it could be called from within JS GC). (And fix a build warning too.) r=disttsc@bart.nl sr=brendan@mozilla.org b=61840
git-svn-id: svn://10.0.0.236/trunk@83223 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-03 01:21:54 +00:00
blakeross%telocity.com
6fb7be7c97 just removing an extra line in classic's xpinstall.css (the changes to xpinstall.css for classic and modern should both have been the same in my last checkin)
git-svn-id: svn://10.0.0.236/trunk@83222 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-03 00:10:11 +00:00
pschwartau%netscape.com
5d7643c162 Removed hard-coded line var TZ_DIFF = -8. It's already set in the pre-loaded shell.js file.
git-svn-id: svn://10.0.0.236/trunk@83221 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 23:59:58 +00:00
blakeross%telocity.com
fb95046870 Fix 52512: no visual indication that columns are resizable in xpinstall dialogs. r=dveditz sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83220 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 23:47:49 +00:00
dbaron%fas.harvard.edu
0266fe34d7 Bypass XBL as a hack to avoid a large leak. b=61821 r=disttsc@bart.nl sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83219 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 19:17:38 +00:00
dbaron%fas.harvard.edu
3a7f433397 Add information to stack trace format so it can be processed by addr2line. b=59136
Make logging not crash when dll unloading is enabled.  b=60710
r=waterson@netscape.com  sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@83218 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 16:10:50 +00:00
dbaron%fas.harvard.edu
5a0c5e8151 Free the nsGtkIMEHelper singleton in the module destructor and count it in the leak/bloat stats. b=59271 r=erik@netscape.com sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83217 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 16:06:29 +00:00
dbaron%fas.harvard.edu
a0d33ff362 Allow xlib to build with gcc "2.96". sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83216 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 15:56:20 +00:00
dbaron%fas.harvard.edu
da3a72cf6f Fix leak of atom and fix return value propagation from SetMedia. b=58697 r=pierre@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83215 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 15:53:42 +00:00
disttsc%bart.nl
348ff6d2af More appCore ditching (bug 46200) and cleaning up of navigator.js (bug 55798), r=alecf, a=ben
git-svn-id: svn://10.0.0.236/trunk@83214 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 14:55:42 +00:00
hyatt%netscape.com
4baa05fdc9 Making sure resource URIs are also globally cached by XBL (in addition to chrome URIs). a=ben
git-svn-id: svn://10.0.0.236/trunk@83213 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 10:34:52 +00:00
hyatt%netscape.com
cbacfc28df Mac and Win XBL buttons. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@83212 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 10:29:29 +00:00
hyatt%netscape.com
1965514a2b XBL forms stuff. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@83211 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 10:27:05 +00:00
hyatt%netscape.com
5b6284e756 Enabling cross-namespace extensions for XBL. r=hixie, a=ben
git-svn-id: svn://10.0.0.236/trunk@83210 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 09:47:47 +00:00
waldemar%netscape.com
ee35fdfdf0 Made 'super' into an operator. Added syntax for operator overloading.
git-svn-id: svn://10.0.0.236/trunk@83209 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 09:10:12 +00:00
waldemar%netscape.com
0d2eb192bd Added 'operator' non-reserved word
git-svn-id: svn://10.0.0.236/trunk@83208 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 09:09:41 +00:00
sspitzer%netscape.com
660e68660a fix for #60783. when removing a news account, remove all the username and passwords stored in the password manager for that account. (there can be a username and password for the server and every newsgroups.) thanks to andrew.taylor@cal.montage.ca for the patch. r=sspitzer, sr=syd.
git-svn-id: svn://10.0.0.236/trunk@83207 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 05:14:32 +00:00
sspitzer%netscape.com
087da56cd9 fix for #39398. need icons in the tree and the menu list in the subscribe dialog. sr=bienvenu,syd.
git-svn-id: svn://10.0.0.236/trunk@83206 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 03:14:41 +00:00
nelsonb%netscape.com
4d2d37c131 Use the new floating point Montgomery multiply code from Sun on Solaris.
git-svn-id: svn://10.0.0.236/trunk@83205 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 02:37:22 +00:00
jeff.dyer%compilercompany.com
859dd2f766 Fixed a couple typos.
git-svn-id: svn://10.0.0.236/trunk@83204 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 02:04:51 +00:00
jeff.dyer%compilercompany.com
476b99cf9e Updated to reflect latest changes.
git-svn-id: svn://10.0.0.236/trunk@83203 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 01:49:18 +00:00
nelsonb%netscape.com
31f013d0e6 In ssl3_GatherData, the value of gs->inbuf.len was incorrect during the
GS_HEADER state.  It should be correct in all states.
In ssl_DestroyGather, prior to freeing the buffers, the code zeroed out
the ciphertext buffer.  It now zeros out the plaintext buffer instead.


git-svn-id: svn://10.0.0.236/trunk@83200 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 00:54:01 +00:00
jeff.dyer%compilercompany.com
595130165d Import of Initial Source from MVCC
git-svn-id: svn://10.0.0.236/trunk@83197 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 00:46:31 +00:00
sspitzer%netscape.com
504b781789 fix for #61007 and #61176. improve performance when downloading list
of newsgroups over a fast connection.  compute the download rate for the UI.
sr=bienvenu,syd.  thanks to bratell@lysator.liu.se for the patch (for #61007).


git-svn-id: svn://10.0.0.236/trunk@83196 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 00:05:03 +00:00
mcgreer%netscape.com
a35f8e524d table wasn't wide enough for long runs
git-svn-id: svn://10.0.0.236/trunk@83195 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 23:48:22 +00:00
danm%netscape.com
b9aa489b10 offscreen warnings given only for top-level windows, which is all we care about, if anything. bug 53621. r=lumpy. i swear.
git-svn-id: svn://10.0.0.236/trunk@83194 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 23:34:43 +00:00
mkaply%us.ibm.com
632a77a9e4 #61723
r=jkobal, a=blizzard
Fix for printer problem incorrect - backing out


git-svn-id: svn://10.0.0.236/trunk@83193 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 23:08:34 +00:00
hyatt%netscape.com
bd2313e790 update new build scripts along with the old ones. r=pink
git-svn-id: svn://10.0.0.236/trunk@83192 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 22:35:43 +00:00
locka%iol.ie
a50134a2a7 Context menu listener code hooked into the window root object to receive DOM events even for subframes. b=60489, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@83191 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 22:13:45 +00:00
mcgreer%netscape.com
61eaf70faf allow for more granularity in testing
git-svn-id: svn://10.0.0.236/trunk@83190 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 21:50:57 +00:00
larryh%netscape.com
2117dd5e21 Bugzilla: 61747. netbsd
git-svn-id: svn://10.0.0.236/trunk@83189 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 21:34:03 +00:00
bryner%uiuc.edu
3124c393c1 Backing out something I inadvertently checked in with my patch for 58589. r/sr=syd.
git-svn-id: svn://10.0.0.236/trunk@83188 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 21:19:22 +00:00
mkaply%us.ibm.com
cc46219d8b #61731
r=mkaply, a=blizzard
We were missing masks in DrawTile


git-svn-id: svn://10.0.0.236/trunk@83187 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 20:31:20 +00:00
pschwartau%netscape.com
c2fc5a66ec Initial add; see Bugzilla bug 61266 -
git-svn-id: svn://10.0.0.236/trunk@83186 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 20:20:43 +00:00
pschwartau%netscape.com
ab2ac534d2 Initial add; see Bugzilla bug 57631
git-svn-id: svn://10.0.0.236/trunk@83185 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 20:17:11 +00:00
mcgreer%netscape.com
cd71db259e fix broken AIX build
git-svn-id: svn://10.0.0.236/trunk@83184 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 19:00:50 +00:00
mkaply%us.ibm.com
fe50f67a22 EMX build break with new clipboard
git-svn-id: svn://10.0.0.236/trunk@83183 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 15:29:32 +00:00
cls%seawood.org
0930d4e797 Change --enable-optimize to take an argument.
Bug #53486 r=timeless


git-svn-id: svn://10.0.0.236/trunk@83182 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 13:21:43 +00:00
hyatt%netscape.com
fc3fb07bea adding new XBL form widget stylesheets. a=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83181 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 08:47:19 +00:00
hyatt%netscape.com
7badd5a120 breaking out html forms into their own stylesheet, a=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83180 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 08:27:34 +00:00
hyatt%netscape.com
62ff2d462c breaking out forms style rules into their own style sheet. a=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83179 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 08:26:36 +00:00
nelsonb%netscape.com
69b5cdadbd Back out a previous change to one line of this code for performance.
git-svn-id: svn://10.0.0.236/trunk@83178 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 03:58:17 +00:00
nelsonb%netscape.com
c13f8e7057 Add new optional third argument which specifies modulus size in bytes.
Don't print values for powers 0, 1, and 2 unless the repetition count
(the optional second argument) is 1.


git-svn-id: svn://10.0.0.236/trunk@83177 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 03:56:12 +00:00
nelsonb%netscape.com
bb03e50b31 Replace compiler-generated inner loop code with optimized code.
This optimized code was contributed by Sun Microsystems Inc.


git-svn-id: svn://10.0.0.236/trunk@83176 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 03:53:13 +00:00
nelsonb%netscape.com
57f86c8e45 * The Original Code is SPARC hand-optimized Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@83175 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 03:18:27 +00:00
nelsonb%netscape.com
93bbef4ef2 * inline macros for SPARC Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@83174 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 03:17:53 +00:00
hyatt%netscape.com
b9055984a9 use mac smart-scrolling prefs in XUL scrollbars. This is my first use of my mac other hosting scc's porn. r=pinkerton,a=ben.
git-svn-id: svn://10.0.0.236/trunk@83173 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 01:45:37 +00:00
mcgreer%netscape.com
12e48a8181 check in b64 encoded seeds
git-svn-id: svn://10.0.0.236/trunk@83171 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 01:31:18 +00:00
mcgreer%netscape.com
8cbcd772e8 massive changes to blapitest to allow for more flexible input types and improved
performance testing output.


git-svn-id: svn://10.0.0.236/trunk@83170 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 01:24:05 +00:00
mcgreer%netscape.com
dc265ee589 add scripts for testing cipher performance. modify cipher.sh to reflect command arg changes in blapitest.
git-svn-id: svn://10.0.0.236/trunk@83169 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 01:09:44 +00:00
mkaply%us.ibm.com
7b0d9152c4 clipboard cleanup and rewrite
r=mkaply, a=blizzard
Thanks to jkobal and Dainis Jonitis


git-svn-id: svn://10.0.0.236/trunk@83168 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 00:08:36 +00:00
mkaply%us.ibm.com
d04bc314b4 #61253
r=jkobal, a=blizzard
Don't draw borders on FillRects and FillArcs


git-svn-id: svn://10.0.0.236/trunk@83167 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 23:53:43 +00:00
blizzard%redhat.com
03052202c6 Fix bug #61519 crash in nsXBLPrototypeHandler::ExecuteHandler. Check for the existance of a focused window and if a QueryInterace returns null. r=pinkerton sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@83166 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 23:48:09 +00:00
leaf%mozilla.org
b5039cda6f reworded description of when to contact module owners, moa=dmose
git-svn-id: svn://10.0.0.236/trunk@83165 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 23:41:35 +00:00
robinf%netscape.com
79dd5cbe24 fixing bug 55965
git-svn-id: svn://10.0.0.236/trunk@83164 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 23:32:22 +00:00
robinf%netscape.com
d04434f790 updating user agent string info
git-svn-id: svn://10.0.0.236/trunk@83162 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 23:22:33 +00:00
karnaze%netscape.com
5467f0a23f new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83161 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 23:00:38 +00:00
endico%mozilla.org
79fe962d1d in the checkins table, make the descid indexed to speed up queries. For this field to be indexed, its definition needs to disallow null entries.
git-svn-id: svn://10.0.0.236/trunk@83160 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 22:58:39 +00:00
karnaze%netscape.com
b405145196 bug 29058 (slightly revised patch submitted by bernd.mielke@snafu.de) r=karnaze (previously sr=waterson).
git-svn-id: svn://10.0.0.236/trunk@83159 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 22:45:48 +00:00
radha%netscape.com
b5ba971447 Fix for bug 55197. Checking in patch on behalf of bzbarsky@mit.edu r=self sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83158 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 22:36:47 +00:00
mkaply%us.ibm.com
86f0f8c0d2 #59895
r=timeless, a=sfraser
Check type of open dialog and use correct title


git-svn-id: svn://10.0.0.236/trunk@83157 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 22:10:35 +00:00
mkaply%us.ibm.com
6f3ef19b61 #61595
r=jkobal, a=blizzard
Stupid stupid code I wrote caused trap


git-svn-id: svn://10.0.0.236/trunk@83156 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 22:07:02 +00:00
av%netscape.com
81af44f239 Fixing 18568, addidng some QT specific stuff to avoid build errors, patch by johng@corel.com, sr=brendan, r=pollmann a=av
git-svn-id: svn://10.0.0.236/trunk@83155 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 22:01:45 +00:00
leaf%mozilla.org
50cffc9f1d Automated update
git-svn-id: svn://10.0.0.236/trunk@83154 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 22:00:10 +00:00
sspitzer%netscape.com
f748d8729e fix for #59421. sr=bienvenu. prevent the crash when saving a news message with a unicode file name.
the save still fails, but at least you don't crash.


git-svn-id: svn://10.0.0.236/trunk@83153 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:59:01 +00:00
waterson%netscape.com
6d55fd1df3 Bug 61469. Add --enable-reflow-perf flag. r=cls, sr=leaf
git-svn-id: svn://10.0.0.236/trunk@83152 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:54:06 +00:00
waterson%netscape.com
e1faad0a5f Bug 58290. Add --disable-logging to turn of NS_LOGGING altogether. r=cls, sr=leaf
git-svn-id: svn://10.0.0.236/trunk@83151 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:52:41 +00:00
rods%netscape.com
cd5016b309 changing the name of the reflow state in the reflow counter macro
b=61496 r=kmcclusk sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83150 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:51:21 +00:00
rods%netscape.com
6cef61e607 uncommenting out a line for tracking reflow performance
b=61496 r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83149 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:46:12 +00:00
waterson%netscape.com
488d76f2ec Bug 57360. Handle non-ASCII characters as IDs and for document URLs. r=rjc, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83148 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:45:56 +00:00
karnaze%netscape.com
6d3930718f bug 42033 (patch submitted by bernd.mielke@snafu.de) - give 0 proportional cols their min width. sr=waterson, r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@83147 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:44:59 +00:00
harishd%netscape.com
6158ba6686 Regression test file - Not part of the build
git-svn-id: svn://10.0.0.236/trunk@83146 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:44:27 +00:00
rods%netscape.com
44f7461592 removing unneeded/unused code/methods
r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83144 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:39:28 +00:00
av%netscape.com
3359abaa88 Fixing bug 19617, prevent the default plugin to display multiple dialogs for the same mime type, patch by lsv@sparc.spb.su, sr=blizzard, a=av
git-svn-id: svn://10.0.0.236/trunk@83143 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:32:07 +00:00
beard%netscape.com
7dcc1cbcf9 Build OJI library as a component, not a shared library. sr=sfraser, r=jj, bug #61614.
git-svn-id: svn://10.0.0.236/trunk@83142 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:26:30 +00:00
blakeross%telocity.com
ec1c33524e Fix 58633 and 49744: a typo in GetLastVisited() and improving a cmd line help description. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83141 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:17:15 +00:00
dougt%netscape.com
110f4f1016 50558. check for nulls. written by warren harris r=dougt@netscape.com a=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83140 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:14:41 +00:00
dougt%netscape.com
e4505fe3a8 60723. check for null. r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83139 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:12:54 +00:00
dougt%netscape.com
75dd66323d 60718. check for null. r=valeski@netscape.com, a=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83138 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:10:55 +00:00
sfraser%netscape.com
67bcce0273 Fix the dump to escape the @. duh. r=#mozilla. a=leaf
git-svn-id: svn://10.0.0.236/trunk@83137 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 20:45:14 +00:00
mcgreer%netscape.com
ad905472c3 fix broken builds, linked in wrong order
git-svn-id: svn://10.0.0.236/trunk@83136 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 19:13:01 +00:00
waqar%netscape.com
44c2c51a4b #=24405
r=dcone@netscape.com
d=when printing www.mozilla.org with big font, the text gets cut off on the right margin. Changing the right and bottom margin from 0 to 500.


git-svn-id: svn://10.0.0.236/trunk@83134 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 16:01:20 +00:00
karnaze%netscape.com
0a9d87c0a3 bug 9848 - check for out of memory when calling new. r=dcone.
git-svn-id: svn://10.0.0.236/trunk@83133 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 15:53:55 +00:00
mkaply%us.ibm.com
3bad4315f7 #61587
r=mkaply, a=blizzard
Code from jkobal to fix strange random timer trap


git-svn-id: svn://10.0.0.236/trunk@83132 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 15:52:24 +00:00
disttsc%bart.nl
08dda71270 Last batch of the <titledbutton>s in xul/js... bug=57751, r=kin, a=ben
git-svn-id: svn://10.0.0.236/trunk@83131 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 15:07:53 +00:00
disttsc%bart.nl
a8f5e3a10c use interCaps in nsIFindComponent.idl, bug=61099, r=sspizter,law a=smfr
git-svn-id: svn://10.0.0.236/trunk@83130 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 14:40:59 +00:00
jdunn%netscape.com
b156f23ddc removing the explicit keyword from the copy constructor
to clear up bustage on hpux
r= ccarlen@netscape.com
sr= scc@mozilla.org
# 61367


git-svn-id: svn://10.0.0.236/trunk@83129 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 11:46:12 +00:00
jdunn%netscape.com
2292b3ba8b fixing HPUX build bustage
r= cls@seawood.org
# 61368


git-svn-id: svn://10.0.0.236/trunk@83128 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 11:22:51 +00:00
mccabe%netscape.com
fd7e056933 Fixes to 52520 and 13813. Move checks against [retval] usage from xpidl_typelib code to the common xpidl_util code used by all modes, and add a new check asserting that [retva] is only applied to the last parameter. XPConnect has had this restriction for a long time.
no r=, but it's very similar to previous approved changes.  I want to get it in with other xpidl modifications, as everybody's tree needs to be rebuilt anyway.


git-svn-id: svn://10.0.0.236/trunk@83127 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 10:51:39 +00:00
mccabe%netscape.com
3549d6926d Fix to 13765. Disallow IDL interfaces with [shared] parameters that aren't string, wstring or native. Also disallow [shared] with nsid or [array] parameters.
sr=jband


git-svn-id: svn://10.0.0.236/trunk@83126 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 09:52:29 +00:00
waterson%netscape.com
026685a3b2 More rules.
git-svn-id: svn://10.0.0.236/trunk@83125 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 08:47:52 +00:00
mccabe%netscape.com
b7a4884f88 Fix to 54061.
Warning fixes for XUL javascript.


git-svn-id: svn://10.0.0.236/trunk@83124 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 08:34:53 +00:00
waterson%netscape.com
6b2eb5bb38 Don't keep around objects: let callers do that.
git-svn-id: svn://10.0.0.236/trunk@83123 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 08:08:47 +00:00
mccabe%netscape.com
1e8e358ccf Better fix to problem with 57094; reinstate 57094 fix and add a conditional #undef of NS_NO_VTABLE to nsISupportsUtils.h before defining it there.
r=jband


git-svn-id: svn://10.0.0.236/trunk@83122 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 08:08:24 +00:00
mccabe%netscape.com
766ac6067d Fix to 57094 is running into trouble on windows, commenting out.
git-svn-id: svn://10.0.0.236/trunk@83121 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 07:56:47 +00:00
mccabe%netscape.com
5d14534ebe Tweak to previous checkin. Rectify 'to to' typo in comment added to generated header files. Thanks to jband for saving me the shame.
git-svn-id: svn://10.0.0.236/trunk@83120 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 07:52:16 +00:00
mccabe%netscape.com
1044bd61b8 Fixes for 40008, 40152, 40016, 51795, 57094.
Fix various aspects of xpidl, including:

don't fail on empty idl / idl containing only #includes
use error location instead of typedef location when reporting type errors
warn on interfaces that lack a uuid attribute (thanks Warren for the prod)
add include guards to generated .h files - faster mac compilation?
xpidl-generated headers don't need NS_NO_VTABLE defined.

This'll cause a tree rebuild.

r=mang (several)
sr=jband.


git-svn-id: svn://10.0.0.236/trunk@83119 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 07:51:02 +00:00
timeless%mac.com
7d5dd4d0ff Fixes bug 61441 (alternate mail window layout parity with Messenger.xul)
r=kerz, sr=syd


git-svn-id: svn://10.0.0.236/trunk@83118 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 07:12:00 +00:00
jband%netscape.com
cd06043da8 fixes for bug 60303, bug 60356, bug 57370, and bug 58982 r=mccabe sr=hyatt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@83117 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 06:58:37 +00:00
jband%netscape.com
730c857866 fix bug 58959 and groundwork for bug 57370. Handle interface whose name has changed correctly and add support for comparing iids without fetching. r=mccabe sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@83116 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 06:55:40 +00:00
mccabe%netscape.com
8b5b02a20a Fix to 61183. Detect whether the OS has given us a date string ending in /xx (as in xx/xx/xx) for Date.prototype.toLocale[Date]String, and pad it out to the real number of digits.
r=rogerl


git-svn-id: svn://10.0.0.236/trunk@83115 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 05:52:44 +00:00
jband%netscape.com
9aec5e7edf part of fix for bug 58982. Marking local array as static. r=jst sr=vidur
git-svn-id: svn://10.0.0.236/trunk@83114 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 05:35:10 +00:00
jband%netscape.com
1920eba705 fix bug 55506. If seman was initialized too early then it was failing to register its nameset. This happened on first run when JS Component Loader would use the secman. The result was that all calls to the security manager via JavaScript would fail for that session. This fixes that by continuing to try to register the nameset until it actually succeeds. r=mstoltz a=brendan
git-svn-id: svn://10.0.0.236/trunk@83113 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 05:32:08 +00:00
jband%netscape.com
79d14917b0 Add some thread stress tests used to figure out problem in bug 61369. r=brendan sr=waterson
git-svn-id: svn://10.0.0.236/trunk@83112 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 05:26:15 +00:00
jband%netscape.com
0404f79f76 fix bug 61369. Race between nsThread Init and Main. Also additions to make the interface more useful to non-C++ code. r=brendan sr=waterson
git-svn-id: svn://10.0.0.236/trunk@83111 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 05:24:53 +00:00
blakeross%telocity.com
48fe8aedf6 Fix 51024: "Desktop Integration" -> "Windows Integration". patch by Henrik Gemal (gemal@gemal.dk). r=me a=ben
git-svn-id: svn://10.0.0.236/trunk@83110 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 05:17:32 +00:00
blakeross%telocity.com
26a37f80a0 Fix 51024: "Desktop Integration" -> "Windows Integration". patch by Henrik Gemal (gemal@gemal.dk). r=me a=ben
git-svn-id: svn://10.0.0.236/trunk@83109 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 05:14:51 +00:00
sfraser%netscape.com
8944e63925 Check out mozilla/lib/mac/Instrumentation to get Instrumentation utility header
git-svn-id: svn://10.0.0.236/trunk@83108 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 04:55:39 +00:00
sfraser%netscape.com
cca03e7fba Adding some more error strings to better catch perl errors.
git-svn-id: svn://10.0.0.236/trunk@83107 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 04:50:27 +00:00
sfraser%netscape.com
fd525c9994 Making this mess build on Mac, fixing the tinderbox bustage.
git-svn-id: svn://10.0.0.236/trunk@83106 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 04:35:38 +00:00
locka%iol.ie
7cc77eb02b Another missing checking. b=46574, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83103 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 01:56:40 +00:00
pinkerton%netscape.com
2247927ef7 add selectors for scroll arrow placement and scroll thumb size. implemented on macos to look at appearance manager. made all platforms return 0 when asking for a selector that doesn't exist, so they are all the same. r=pchen, a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83102 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 01:51:14 +00:00
locka%iol.ie
d1bbed58a9 New encoder fixup helper interface. b=57996, r=jst
git-svn-id: svn://10.0.0.236/trunk@83101 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 01:08:22 +00:00
locka%iol.ie
ebe1c79f00 added files: mozilla/embedding/browser/webBrowser/nsDOMWalker.cpp, mozilla/embedding/browser/webBrowser/nsWebBrowserPersist.cpp
git-svn-id: svn://10.0.0.236/trunk@83099 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 00:47:48 +00:00
locka%iol.ie
39f6de3881 New persistence object and helper classes. b=46574, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83098 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 00:43:42 +00:00
blakeross%telocity.com
c9291a7ac5 the rest of my previous fix, the patch didn't apply fully.
git-svn-id: svn://10.0.0.236/trunk@83097 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 00:31:54 +00:00
blakeross%telocity.com
c9bd5cf4f2 Fix 52928: tree columns in page info window not resizable, and grippy isn't properly aligned. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83096 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 00:16:17 +00:00
ducarroz%netscape.com
59a239b214 Fix for bug 60015. Reapply original fix for bug 55179 which has been accidently backed out by the last checkin from timeless@mac.com. R=sspitzer, SR=alecf
git-svn-id: svn://10.0.0.236/trunk@83095 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 00:09:43 +00:00
hyatt%netscape.com
2867d59c9f Adding pref for XBL-based form controls. r=danm, a=ben
git-svn-id: svn://10.0.0.236/trunk@83094 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 00:07:09 +00:00
danm%netscape.com
cbdbac69e6 store dialog pointer in safe place so it can be retrieved in the OK handler. bug 55261. r=av,hyatt,pavlov
git-svn-id: svn://10.0.0.236/trunk@83093 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 23:44:52 +00:00
locka%iol.ie
4663ff5924 New persistence object and helper classes. b=46574, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83092 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 23:41:54 +00:00
mccabe%netscape.com
81f7853413 Remove unused property definitions and fix some errors that had crept in.
git-svn-id: svn://10.0.0.236/trunk@83091 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 23:32:53 +00:00
mkaply%us.ibm.com
b392b94a90 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly


git-svn-id: svn://10.0.0.236/trunk@83088 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 23:28:04 +00:00
blizzard%redhat.com
cd425e225c Fix bug #60516. This should fix problems with named targets in the embedding widget. Patch from rusty.lynch@intel.com. r=adamlock sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@83087 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 23:23:32 +00:00
blakeross%telocity.com
77c32d6ba5 Fix 55902: can't drag and drop mail into msg compose window to attach it. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83086 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 23:18:38 +00:00
leaf%mozilla.org
c837d82a7e Automated update
git-svn-id: svn://10.0.0.236/trunk@83085 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:45:09 +00:00
mkaply%us.ibm.com
3c8ba1648b #61253
r=mkaply,jkobal a=blizzard
Various OS/2 cleanup - fonts, print, and arcs


git-svn-id: svn://10.0.0.236/trunk@83084 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:42:28 +00:00
colin%theblakes.com
fdcbd5780f OpenVMS specific fix for unresolved symbols at link time (caused
by checkin for 59021).

bug=61463  r=cls


git-svn-id: svn://10.0.0.236/trunk@83083 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:42:24 +00:00
mccabe%netscape.com
8a69a11a5d Twiddle Make usage message.
git-svn-id: svn://10.0.0.236/trunk@83082 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:36:06 +00:00
karnaze%netscape.com
cc350f691c bug 50695 - skip form parents when computing a percent basis height in quirks mode. sr=buster, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@83081 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:31:57 +00:00
karnaze%netscape.com
7edb2f10f0 bug 55545 - set the table preferred width during an unconstrained reflow. Return the preferred width as the maximum width when requested in the outer table reflow. a=buster, r=dcone
git-svn-id: svn://10.0.0.236/trunk@83080 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:30:09 +00:00
sfraser%netscape.com
b9ac013c22 Fix crasher bug when typing in the URL bar, bug 61452. Need to null out a global when we delete it. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@83079 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:26:22 +00:00
kin%netscape.com
02a2a9a6b6 Misc fixes for pedantic build warnings.
r=jfrancis@netscape.com a=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83078 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:06:02 +00:00
karnaze%netscape.com
f1623e78d4 new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83077 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:04:24 +00:00
blizzard%redhat.com
632e38f4ee Return a specific value if a window wasn't found. Fixes bug #60865. r=tor, sr=brendan, a=alecf
git-svn-id: svn://10.0.0.236/trunk@83076 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:58:30 +00:00
pinkerton%netscape.com
71f1f63557 pulling out the dnd code (and my useless dumps) until we can differentiate between chrome and content. fixes regression.
git-svn-id: svn://10.0.0.236/trunk@83075 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:56:40 +00:00
sfraser%netscape.com
3a479605c2 Add a dump to the old scripts to encourage people to move to the new ones. r=kin
git-svn-id: svn://10.0.0.236/trunk@83074 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:52:30 +00:00
kestes%staff.mail.com
e8b5901d13 changing the filenames during the move was a bad idea,
restore the original filenames.


git-svn-id: svn://10.0.0.236/trunk@83073 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:50:17 +00:00
kestes%staff.mail.com
53e7e5607c changing the filenames was a bad idea, this was BTData.pm as found
in lib yesterday


git-svn-id: svn://10.0.0.236/trunk@83072 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:49:29 +00:00
karnaze%netscape.com
4c98bd1dc4 bug 35662 - when computing an artifical auto table width for % cells, count only the max contributor in each col. sr=waterson, r=peterl
bug 29058 (patch submitted by bernd.mielke@snafu.de) - consider proportional widths in avail totals. sr=waterson, r=karnaze


git-svn-id: svn://10.0.0.236/trunk@83071 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:48:56 +00:00
kestes%staff.mail.com
babd255d62 changing the filenames was a bad idea, this was TreeData.pm as found
in lib yesterday


git-svn-id: svn://10.0.0.236/trunk@83070 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:48:42 +00:00
kestes%staff.mail.com
a67667b3eb changing the filenames was a bad idea
git-svn-id: svn://10.0.0.236/trunk@83069 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:47:14 +00:00
mkaply%us.ibm.com
04ce0de0b6 htmlbindings changes for OS/2
git-svn-id: svn://10.0.0.236/trunk@83068 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:45:46 +00:00
morse%netscape.com
7adb92f5ee bug 60210, two tabs selected simultaneously, r=dbragg@netscape.com, sr=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83067 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:43:09 +00:00
javi%netscape.com
e14cfff1fb Plug some memory leaks that were brought to my attention by brendan. Not part of Mozilla build just yet.
git-svn-id: svn://10.0.0.236/trunk@83066 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:41:23 +00:00
kestes%staff.mail.com
3db17decf6 moved files to default_config
git-svn-id: svn://10.0.0.236/trunk@83065 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:27:54 +00:00
kestes%staff.mail.com
03939fe252 changed filename to processmail_builds
git-svn-id: svn://10.0.0.236/trunk@83064 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:25:45 +00:00
kestes%staff.mail.com
ee28257a14 files moved to default_config directory
git-svn-id: svn://10.0.0.236/trunk@83063 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:24:31 +00:00
sspitzer%netscape.com
396748a09c fix for #53792. sr=mscott. compute the length of the data correctly.
git-svn-id: svn://10.0.0.236/trunk@83062 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:20:29 +00:00
ssu%netscape.com
40ef6ce0ca Applying patch from disttsc@bart.nl for bug #60161 - Unknown error 804b0005 appears in status bar. r=ssu, sr=mscott. This check in does not affect tinderbox builds.
git-svn-id: svn://10.0.0.236/trunk@83061 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:20:09 +00:00
waterson%netscape.com
095508a120 Oops, remove one 'bamboozler' that isn't globally exported, except in my build.
git-svn-id: svn://10.0.0.236/trunk@83060 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:18:03 +00:00
waterson%netscape.com
a27c8695cc Bug 61241. Change trace-malloc's live object output format to mimic beard's format from Boehm. r=brendan, sr=jband
git-svn-id: svn://10.0.0.236/trunk@83059 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:16:53 +00:00
sspitzer%netscape.com
57d8f13256 fix for #61464. when autosubscribing to a secure news server (clicking on a snews:// url)
set the port to be the default secure news port, if it is not specified in the snews:// url.

sr=mscott


git-svn-id: svn://10.0.0.236/trunk@83058 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:14:32 +00:00
kestes%staff.mail.com
22ae34727f moved from processmail
git-svn-id: svn://10.0.0.236/trunk@83057 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:13:15 +00:00
kestes%staff.mail.com
8f6c8d95e1 explain the new configuration with defult_conf and local_conf
directories


git-svn-id: svn://10.0.0.236/trunk@83056 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:12:56 +00:00
kestes%staff.mail.com
2e6a648dd7 configure: @GZIP @GUNZIP @UUDECODE
explicity in TinderConfig not in ./configure


git-svn-id: svn://10.0.0.236/trunk@83055 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:12:12 +00:00
morse%netscape.com
162e5a7714 bug 56644, wallet cleanup, r=dveditz@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83054 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:05:33 +00:00
kestes%staff.mail.com
6083dd0caf moved from lib
git-svn-id: svn://10.0.0.236/trunk@83053 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 20:53:56 +00:00
kestes%staff.mail.com
e1c2249ee6 moved from lib as TreeData.pm
git-svn-id: svn://10.0.0.236/trunk@83052 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 20:53:45 +00:00
kestes%staff.mail.com
f3d7fce78c moved from lib as BTData.pm
git-svn-id: svn://10.0.0.236/trunk@83051 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 20:53:35 +00:00
kestes%staff.mail.com
4dcecd70ea improve comments
git-svn-id: svn://10.0.0.236/trunk@83050 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 20:40:34 +00:00
javi%netscape.com
1c9073e67b Fix busted loading of module for WIN32 and delete the TextGenContext used to fetch the name of the module for the root certificates.
git-svn-id: svn://10.0.0.236/trunk@83049 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 20:00:21 +00:00
kestes%staff.mail.com
fc5afe8f24 improve comments
git-svn-id: svn://10.0.0.236/trunk@83048 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 19:47:38 +00:00
kestes%staff.mail.com
fb3cceef52 minor changes prompted by McAfee.
git-svn-id: svn://10.0.0.236/trunk@83047 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 19:46:30 +00:00
karnaze%netscape.com
d3039e0d92 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@83046 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 17:37:14 +00:00
pinkerton%netscape.com
1b6667040d adding htmlBindings and platform bindings to packages.
git-svn-id: svn://10.0.0.236/trunk@83045 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 17:36:51 +00:00
disttsc%bart.nl
c1098cfcb8 More appCore removal, bug=46200, r=alecf, a=ben
git-svn-id: svn://10.0.0.236/trunk@83044 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 16:09:01 +00:00
disttsc%bart.nl
5ce580f7e9 More appCore removal. bug=46200, r=alecf, a=ben
git-svn-id: svn://10.0.0.236/trunk@83043 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 15:27:43 +00:00
dbaron%fas.harvard.edu
2b3be47025 Add newline to end of file to make HP compiler happy. r=timeless
git-svn-id: svn://10.0.0.236/trunk@83042 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 15:18:32 +00:00
disttsc%bart.nl
5e2fdddead Fix bug 48180 (``menulists don't respect data attribute''), patch by Jan Varga, r=jag, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@83041 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 12:47:19 +00:00
sfraser%netscape.com
5508be01ee Trying to fix build redness; convert the ImportXMLProject stuff to use thew new low-level AE handler, and change the error messages to be better picked up by the Tinderbox error parser.
git-svn-id: svn://10.0.0.236/trunk@83040 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 08:15:04 +00:00
sfraser%netscape.com
a501b855e8 Attempting to fix the clobber build redness; adding an 'import_project' handler which uses low-level Apple Event stuff to talk to CodeWarrior, which should detect errors better.
git-svn-id: svn://10.0.0.236/trunk@83039 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 08:14:01 +00:00
pinkerton%netscape.com
7b30afa6a9 file has moved into layout/xbl/builtin
git-svn-id: svn://10.0.0.236/trunk@83038 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 07:02:11 +00:00
pinkerton%netscape.com
298ef3a62e remove htmlBindings.xml and platformHTMLBindings.xml from jar files. they are now installed in res. a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83037 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 06:52:38 +00:00
tor%cs.brown.edu
5296fdff82 Bug 60789 - update libmng snapshot and handle alpha depth
requirements better.


git-svn-id: svn://10.0.0.236/trunk@83036 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 06:45:16 +00:00
pinkerton%netscape.com
fbcb65e21a Fix win32-only bustage.
git-svn-id: svn://10.0.0.236/trunk@83035 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 06:34:14 +00:00
ben%netscape.com
72a58028e5 bugfix for 57951, checking in again (this was backed out this morning to get the tree open, however it turns
out that the submenu positioning problem was actually caused by something else, and there was nothing wrong
with this change). r=pink, a=hyatt


git-svn-id: svn://10.0.0.236/trunk@83034 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 06:15:43 +00:00
pinkerton%netscape.com
75724d8d49 copy the html bindings to res.
git-svn-id: svn://10.0.0.236/trunk@83033 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 06:12:14 +00:00
pinkerton%netscape.com
0e07df9a54 Refactor some of the window key handler and add drag and drop handlers to the window root. Also move the html bindings (and platform bindings) to res, removing the chome dependency. a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83032 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 06:01:33 +00:00
beard%netscape.com
e02576fe14 After importing the XML project file, close it, to make tinderbox happy.
git-svn-id: svn://10.0.0.236/trunk@83031 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 05:56:57 +00:00
pinkerton%netscape.com
be85e23986 more small build things. r=bryner
git-svn-id: svn://10.0.0.236/trunk@83030 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 05:55:02 +00:00
morse%netscape.com
9b339727b5 bug 61275, email address interpreted as street address, r=dveditz@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83029 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 05:47:38 +00:00
blakeross%telocity.com
d9b3cd4cbd Damnit! Die bug die! Why is linux choking on a minor css change? I'm switching to IE. Depooooort meeeeee.........
git-svn-id: svn://10.0.0.236/trunk@83028 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 05:37:44 +00:00
pinkerton%netscape.com
a8a3fc29b7 forgot the adjust depth. r=bryner
git-svn-id: svn://10.0.0.236/trunk@83027 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 05:36:18 +00:00
pinkerton%netscape.com
979aef5977 start building xbl/builtin (a=hyatt).
git-svn-id: svn://10.0.0.236/trunk@83026 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 05:12:40 +00:00
cltbld%netscape.com
e0e20768cd [sfraser@netscape.com] Try to fix clobber tinderbox problems by putting a timeout on the Import project XML AppleScript. r=jj
git-svn-id: svn://10.0.0.236/trunk@83025 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 04:18:30 +00:00
nelsonb%netscape.com
b4b40e23e1 Add missing error detection to identest. Change the order in which
mp_ints are destroyed to make debugging easier.  These changes
facilitated detecting and fixing bug 61394.


git-svn-id: svn://10.0.0.236/trunk@83024 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 04:07:10 +00:00
blakeross%telocity.com
7b93c8572c Fix 57584: fix invalid style in test8.html. r=hixie, just a minor change to a test file
git-svn-id: svn://10.0.0.236/trunk@83023 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 03:57:11 +00:00
mccabe%netscape.com
970aad1804 Fix to 58673. Alias Date.prototype.toGMTString to Date.prototype.toUTCString (rather than defining seperate function objects for each). ECMA conformance.
r=rogerl


git-svn-id: svn://10.0.0.236/trunk@83022 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 03:03:05 +00:00
pinkerton%netscape.com
4b7459fa60 moving bindings into res to eliminate chrome dependency.
git-svn-id: svn://10.0.0.236/trunk@83021 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 02:54:24 +00:00
pinkerton%netscape.com
c99a54ab51 breaking apart root key handler into base class
git-svn-id: svn://10.0.0.236/trunk@83020 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 02:51:26 +00:00
jst%netscape.com
f8a9c545ce Fixing up indentation, tabs are evil! Whitespace only changes. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@83019 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 02:26:11 +00:00
mccabe%netscape.com
b2cbc0c82b Fix to 57048. Bring the JS engine's implementation of Object.prototype.propertyIsEnumerable in line with the ECMA spec.
Thanks to David Flanagan for noticing this problem.

r=rogerl


git-svn-id: svn://10.0.0.236/trunk@83018 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 02:05:10 +00:00
racham%netscape.com
1fab68b023 Adding reference to security overlay file so that 3pane alternate layout displays security button. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@83017 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:49:58 +00:00
nelsonb%netscape.com
39f1abdcff Fix bug 61394. Don't increase length of input vector by 1. Avoid
copying the vector twice.


git-svn-id: svn://10.0.0.236/trunk@83014 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:30:28 +00:00
naving%netscape.com
3651ef0d82 59063 59064, r=sspitzer, sr=bienvenu. Arguments changed
git-svn-id: svn://10.0.0.236/trunk@83013 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:18:37 +00:00
naving%netscape.com
b8717cbf7d 59063 59064, r=sspitzer, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@83011 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:17:14 +00:00
naving%netscape.com
d080be4478 59063 59064, r=sspitzer, sr=bienvenu. If the folder exists then the alert pops up.
git-svn-id: svn://10.0.0.236/trunk@83010 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:16:31 +00:00
naving%netscape.com
3d98589598 59063 59064, r=sspitzer, sr=bienvenu. arguments changed
git-svn-id: svn://10.0.0.236/trunk@83008 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:14:44 +00:00
naving%netscape.com
3dbb7a0756 59063 59064, r=sspitzer, sr=bienvenu. Passing the arguments correctly
git-svn-id: svn://10.0.0.236/trunk@83007 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:13:44 +00:00
naving%netscape.com
3a3e06e351 59063 59064, r=sspitzer, sr=bienvenu. Passing the right arguments because of change
in definitions


git-svn-id: svn://10.0.0.236/trunk@83006 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:12:57 +00:00
naving%netscape.com
cc69d34e1c 59063 59064, r=sspitzer, sr=bienvenu. throwing exception so that dialog does not close
git-svn-id: svn://10.0.0.236/trunk@83005 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:12:04 +00:00
naving%netscape.com
4978f11f95 59063 59064, r=sspitzer, sr=bienvenu. throw exception so that the dialog does not close
git-svn-id: svn://10.0.0.236/trunk@83004 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:11:14 +00:00
naving%netscape.com
d0f8a2104c 59063 59064, r=sspitzer, sr=bienvenu. Passing nsIMsgWindow for popping up alert if required
git-svn-id: svn://10.0.0.236/trunk@83003 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:10:28 +00:00
sonmi%netscape.com
e108bbd381 took out the NULL_SERVER restart code completely
git-svn-id: svn://10.0.0.236/trunk@83002 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:09:33 +00:00
naving%netscape.com
8246039d70 59063 59064, r=sspitzer, sr=bienvenu added an error msg
git-svn-id: svn://10.0.0.236/trunk@83001 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:09:30 +00:00
sonmi%netscape.com
65986aa49b more outpur (2>) to the certutil log file
git-svn-id: svn://10.0.0.236/trunk@83000 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:08:59 +00:00
sonmi%netscape.com
0787049cb0 took out the tail -f if running from cron
git-svn-id: svn://10.0.0.236/trunk@82999 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:07:59 +00:00
granrose%netscape.com
c4176426e8 create separate "package" directory in dist when packaging so that we don't strip libraries in the tree. r=cls. bugscape 3391.
git-svn-id: svn://10.0.0.236/trunk@82998 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 00:48:47 +00:00
endico%mozilla.org
d7493f6adf *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@82997 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 00:32:53 +00:00
pinkerton%netscape.com
5df2a80199 add scroll-wheel support bug 7347. r=beard/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@82996 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 00:30:46 +00:00
mjudge%netscape.com
8994e1cdc2 added in code to allow GetSelection() to work. r= mstoltz
git-svn-id: svn://10.0.0.236/trunk@82995 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 00:13:00 +00:00
mkaply%us.ibm.com
3bf87ed75e #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly


git-svn-id: svn://10.0.0.236/trunk@82994 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:51:05 +00:00
relyea%netscape.com
900bfbac2d Use NSS_Init() to open the databases.
Include pk11func.h so we get the proper forward function definition.


git-svn-id: svn://10.0.0.236/trunk@82993 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:37:52 +00:00
hyatt%netscape.com
a29e161fc4 menu bug fx r by danm ben
git-svn-id: svn://10.0.0.236/trunk@82992 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:35:04 +00:00
mkaply%us.ibm.com
694a94a527 #61253
r=mkaply, a=blizzard
Code from Dainis Jonitis - fix arc drawing


git-svn-id: svn://10.0.0.236/trunk@82991 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:30:59 +00:00
mkaply%us.ibm.com
0b0abb10e4 #56767
r/a=cls,leaf
Remove XP_PC - use XP_WIN or XP_OS2 explicitly


git-svn-id: svn://10.0.0.236/trunk@82990 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:27:38 +00:00
relyea%netscape.com
1435766bb3 Fix type casting problems in zip.c
git-svn-id: svn://10.0.0.236/trunk@82989 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:25:36 +00:00
relyea%netscape.com
1755211ed7 remove extre PR_PUBLIC definition so everything will compile under AIX
git-svn-id: svn://10.0.0.236/trunk@82988 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:24:55 +00:00
mcgreer%netscape.com
b907026ac7 fix missing libraries in windows build
git-svn-id: svn://10.0.0.236/trunk@82987 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:21:38 +00:00
javi%netscape.com
d69ec65a7c Include prototype for converting a mac path to unix path.
git-svn-id: svn://10.0.0.236/trunk@82986 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:04:16 +00:00
javi%netscape.com
2a7264244b Version of ctrlconn.c that loads root modules for Mac.
git-svn-id: svn://10.0.0.236/trunk@82985 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:02:37 +00:00
danm%netscape.com
928279c539 ignore busy threads when determining whether to add a new thread to the pool. bugs 55032,56337,58404,60338, others. r=beard,brendan,dougt,saari
git-svn-id: svn://10.0.0.236/trunk@82984 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 22:38:02 +00:00
relyea%netscape.com
f1b29b3e4a Add pkcs12 so the pk12util.c builds
git-svn-id: svn://10.0.0.236/trunk@82983 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 22:08:45 +00:00
relyea%netscape.com
0b66bf6e0a Use platlibs so the the builds work on NT as well.
git-svn-id: svn://10.0.0.236/trunk@82982 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 22:08:23 +00:00
ddrinan%netscape.com
ed85119cf3 Suppress the depend target
git-svn-id: svn://10.0.0.236/trunk@82981 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 22:01:56 +00:00
blakeross%telocity.com
4aaa49c0e4 Fix 57615: accesskey for print preview shows as (V) in composer. r=jag sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82980 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 21:50:08 +00:00
mccabe%netscape.com
140ab8c6e1 Restore toplevel Makefile (with an added note in the usage message about it's new limitations wrt debugger and bsf) and update the js library makefile to account for changed files.
git-svn-id: svn://10.0.0.236/trunk@82979 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 21:24:41 +00:00
javi%netscape.com
73ae6d3427 Also traverse into the nlslayer directory when building PSM.
git-svn-id: svn://10.0.0.236/trunk@82978 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 20:18:54 +00:00
waterson%netscape.com
5904b5397d First checked in.
git-svn-id: svn://10.0.0.236/trunk@82977 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 19:53:59 +00:00
leaf%mozilla.org
918b2fed22 backing out change to fix 61334, a=hyatt on the backout
git-svn-id: svn://10.0.0.236/trunk@82976 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 19:42:52 +00:00
javi%netscape.com
57e82950a4 Add the list of exported symbols from the pkcs11 shared library module
to this directory.


git-svn-id: svn://10.0.0.236/trunk@82974 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 19:12:42 +00:00
kestes%staff.mail.com
8459a6e4d8 Peristence::Storable has now been tested.
git-svn-id: svn://10.0.0.236/trunk@82972 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 17:54:45 +00:00
kestes%staff.mail.com
64f6569d6f use the Peristence module so that we can test the storable
implementation.


git-svn-id: svn://10.0.0.236/trunk@82971 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 17:53:39 +00:00
nboyd%atg.com
b5014d7984 Fix bug 61267.
git-svn-id: svn://10.0.0.236/trunk@82970 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 16:23:24 +00:00
rods%netscape.com
813a66daa1 patch from net (thanks Boris)
This fix correctly sets the content type for uploads for multipart posts
b=60737, r=rods sr=buster


git-svn-id: svn://10.0.0.236/trunk@82969 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 14:14:20 +00:00
hyatt%netscape.com
82140bea60 Fix insertion point reparentin gissue with blocks. r=hixie, a=ben
git-svn-id: svn://10.0.0.236/trunk@82968 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 10:10:41 +00:00
ben%netscape.com
a643c21606 Hyatt removing files from build. a=hyatt
git-svn-id: svn://10.0.0.236/trunk@82967 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 08:56:06 +00:00
hyatt%netscape.com
52fe432b4a Move menulist entirely into XBL. a=ben
git-svn-id: svn://10.0.0.236/trunk@82966 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 08:52:36 +00:00
ben%netscape.com
f2891e7df0 Fix hyatt's bustage. a=hyatt
git-svn-id: svn://10.0.0.236/trunk@82965 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 08:28:06 +00:00
beard%netscape.com
d50b671c58 [not part of build] This version arranges things so that the menu item drawn is drawn against the appropriate edge of the imaginary menu that contains the item. Therefore if attop or atbottom are true, the appropriate
bevel effect is drawn for the edge of the menu. <lordpixel@mac.com>, r=beard


git-svn-id: svn://10.0.0.236/trunk@82964 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 07:19:58 +00:00
hyatt%netscape.com
e922a83880 Removing obsolete frames from XUL dir. a=ben
git-svn-id: svn://10.0.0.236/trunk@82963 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 07:13:14 +00:00
hyatt%netscape.com
457ef78c19 Removing dead code. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@82962 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 06:54:01 +00:00
cls%seawood.org
6479ca1914 Fix linux/sparc test to work for sparc64 arch.
Thanks to Myth <frb@wiw.org> for the patch.
Bug #57501 r=cls@seawood.org


git-svn-id: svn://10.0.0.236/trunk@82961 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 05:27:19 +00:00
jst%netscape.com
ead0ef8a33 Getting rid of some static nsIID's in favor of using the NS_GET_IID() macro. sr=rpotts, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@82960 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 04:11:37 +00:00
jst%netscape.com
ee57d41453 Fixing bug 49597. Setting the 'checked' state on a dynamically created radio button that wasn't yet part of the document in JS was throwing an exception since our internal pres state code was generating a failure code when the input element didn't have a document. sr=vidur, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@82959 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 03:41:50 +00:00
sonmi%netscape.com
3ae8896e56 removed another server restart (NULL ciphers), but left code in in case we
need to reactivate the restart (search for variable NULL_SERVER)


git-svn-id: svn://10.0.0.236/trunk@82958 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 02:57:46 +00:00
mstoltz%netscape.com
b38427501e bug 59766. Added code to push current JS context onto context stack before all LC calls into JS, becuase the security manager looks on the context stack for permission info. r=jband, mccabe
git-svn-id: svn://10.0.0.236/trunk@82957 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 02:50:21 +00:00
sonmi%netscape.com
6eaa8d4672 attempt to remove cron error about output terminal can't be opened
made tmp files permanent so HP cmsutil coredump can be examined
added debugging output (log all certtutil starts), switchet to /bin/sh


git-svn-id: svn://10.0.0.236/trunk@82956 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 02:36:29 +00:00
rods%netscape.com
545fd85812 GetStateProperty now clears the outgoing arg before appending the new value.
b=61297, r=jst,a=hyatt


git-svn-id: svn://10.0.0.236/trunk@82955 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 02:35:41 +00:00
bienvenu%netscape.com
e7e6a05445 add offline folder flags, r=sspitzer,sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@82954 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 02:17:02 +00:00
cls%seawood.org
7b0df0ad65 Fix the BeOS implementation of Normalize().
Thanks to Hiromasa Kato <hiro@eng.iastate.edu> for the patch.
Bug #53014 r=cls@seawood.org sr=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@82952 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 01:43:09 +00:00
cls%seawood.org
d2eca59b54 Under BeOS, we must call Normalize() on a local file before it can be used.
Thanks to Hiromasa Kato <hiro@eng.ia.state.edu> for the patch. Bug #53014. r=cls@seawood.org sr=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@82951 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 01:41:05 +00:00
bryner%uiuc.edu
bbb637e1a5 Bug 61219 - don't use nsIPSMComponent! r/sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@82950 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 01:40:22 +00:00
naving%netscape.com
c9b5de9e98 #37942 r=sspitzer sr=mscott. Prevent the move/copy messages operation to continue if a
message is dropped on a folders-only folder.


git-svn-id: svn://10.0.0.236/trunk@82949 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 01:37:44 +00:00
kestes%staff.mail.com
be142db866 add better makefile test support.
fix echo bug.


git-svn-id: svn://10.0.0.236/trunk@82946 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:37:13 +00:00
mcgreer%netscape.com
1b936cd382 changes suggested by bryner to build more of NSS's utilities
git-svn-id: svn://10.0.0.236/trunk@82945 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:36:53 +00:00
kestes%staff.mail.com
d2ddcb6776 change the sample user to anonymous from kestes
git-svn-id: svn://10.0.0.236/trunk@82944 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:35:49 +00:00
larryh%netscape.com
b455ec3267 Bugzilla: 58575
git-svn-id: svn://10.0.0.236/trunk@82943 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:34:48 +00:00
kestes%staff.mail.com
441e54774d put module and branch information in the cvs popup windows
git-svn-id: svn://10.0.0.236/trunk@82942 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:34:00 +00:00
kestes%staff.mail.com
69e3504b6a improve the handling of estimated build time when there is dead time.
turn back on the line which tells all the columns which have been
ignored.


git-svn-id: svn://10.0.0.236/trunk@82941 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:32:57 +00:00
kestes%staff.mail.com
612486c214 make taint safe.
git-svn-id: svn://10.0.0.236/trunk@82940 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:31:29 +00:00
kestes%staff.mail.com
1c0b765df0 move the lock file to the HTML directory to ease testing.
git-svn-id: svn://10.0.0.236/trunk@82939 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:31:09 +00:00
kestes%staff.mail.com
b10cba26bc make taint safe
add more comments at the top to clear up ambiguities.

make the library load structure conform to other modules, I already
got one question


git-svn-id: svn://10.0.0.236/trunk@82938 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:30:26 +00:00
kestes%staff.mail.com
abc726205a make taint safe
git-svn-id: svn://10.0.0.236/trunk@82937 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:28:18 +00:00
morse%netscape.com
bf23f046b3 bug 61179, deleting menuitem causes crash, r=ssu@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@82936 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:28:01 +00:00
kestes%staff.mail.com
928562864b @authors needed to be a local variable and needed to ensure it was
unique when passed to 'mailto: '


git-svn-id: svn://10.0.0.236/trunk@82935 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:25:41 +00:00
morse%netscape.com
476506bf86 bug 60472, multiple user list for password not always displayed, r=sgehani@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82934 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:25:40 +00:00
kestes%staff.mail.com
15b1708625 remove comments about image subsystem, we no longer have this as a
requirement.

explain the warning issues better.

remove discussion of the bug tracking system, I coded it already.


git-svn-id: svn://10.0.0.236/trunk@82933 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:24:42 +00:00
kestes%staff.mail.com
b0c63c03ba make the intial build more realistic, there can be builds in progress
builds which have not started because of dead time and builds which
have started.


git-svn-id: svn://10.0.0.236/trunk@82932 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:23:16 +00:00
kestes%staff.mail.com
c5ea8efb89 added aditional test cases to max just to ensure it handles negative
numbers.


git-svn-id: svn://10.0.0.236/trunk@82931 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:21:36 +00:00
radha%netscape.com
25ba1a3f3b Fixing tree bustage
git-svn-id: svn://10.0.0.236/trunk@82930 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:01:16 +00:00
beard%netscape.com
e266b3261f Keep JDK 1.1 compatible.
git-svn-id: svn://10.0.0.236/trunk@82929 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 23:40:15 +00:00
heikki%netscape.com
a02e205742 Bug 59675, fixing uninitialized variables. r=jst, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@82928 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 23:23:28 +00:00
radha%netscape.com
1cab05269a Fix for bug # 54739 r/sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@82926 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 23:10:09 +00:00
karnaze%netscape.com
ed4a9c12ea bug 56563 - frame constructor creates anonymous frames when a table has a child which is not table related.
ConstructFrameByTag takes additional arg indicating that a whitespace frame was not constructed. sr=buster, r=attinasi


git-svn-id: svn://10.0.0.236/trunk@82925 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 22:47:33 +00:00
nboyd%atg.com
bdc5acabf3 Sense JDK1.3 dependencies.
git-svn-id: svn://10.0.0.236/trunk@82924 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 22:23:40 +00:00
svn%xmlterm.org
1dde1ba065 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Minor changes to get xmlterm to load with MathML/SVG enabled
(but xmlterm still fails to flush reflows)


git-svn-id: svn://10.0.0.236/trunk@82923 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 22:15:50 +00:00
waterson%netscape.com
842b58304c First checked in.
git-svn-id: svn://10.0.0.236/trunk@82922 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 22:07:30 +00:00
ben%netscape.com
52fbd822c0 fix for bug 57951, submenus of scrolling menus positioned incorrectly.
r=pinkerton@netscape.com, a=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@82921 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 22:04:58 +00:00
hyatt%netscape.com
42a6ac59c1 Fix for 51264. r=danm, a=ben
git-svn-id: svn://10.0.0.236/trunk@82920 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 22:00:33 +00:00
nhotta%netscape.com
081a9cd72d Changed to used percentage instead of absolute pixel size for HTML display.
This fixes the problem of plain text attached in HTML is shown larger, bug 40547, r=rhp, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@82919 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 21:44:08 +00:00
nhotta%netscape.com
7402e71af4 Changed to convert anchor name as UTF-8 instead of Latin1 if that fails then convert it as document charset, bug 58819, r=erik, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@82918 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 21:43:28 +00:00
svn%xmlterm.org
275dd9d859 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Code cleanup: disabled diagnostic output.


git-svn-id: svn://10.0.0.236/trunk@82917 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 21:38:14 +00:00
cls%seawood.org
12a26ba84e Enable BEOS_ADDON_WORKAROUND hack for all BeOS builds
git-svn-id: svn://10.0.0.236/trunk@82916 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 21:27:10 +00:00
waterson%netscape.com
4ba5eb1034 Add note about plugins.
git-svn-id: svn://10.0.0.236/trunk@82915 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 21:07:38 +00:00
mkaply%us.ibm.com
9ef5650fd4 #61253
r=mkaply,jkobal, a=blizzard
Setting wrong background on printing, setting wrong default on printing


git-svn-id: svn://10.0.0.236/trunk@82914 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 21:00:57 +00:00
radha%netscape.com
49f0e6f2c0 Fix for bug # 58216 r/sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@82913 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 20:25:31 +00:00
mkaply%us.ibm.com
e5d1ea2069 #53366
r=jkobal, a=blizzard
A pointer to mem is a really bad thing to hash against


git-svn-id: svn://10.0.0.236/trunk@82912 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 20:22:52 +00:00
pschwartau%netscape.com
7b58ea6846 Removing outdated testcase. See Bugzilla bug 49233.
git-svn-id: svn://10.0.0.236/trunk@82911 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 19:39:18 +00:00
dougt%netscape.com
1927027e09 Fixes 60886. r=adamlock
git-svn-id: svn://10.0.0.236/trunk@82910 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 19:35:03 +00:00
pschwartau%netscape.com
b3f7242461 Removing outdated testcase. See bug 49233.
git-svn-id: svn://10.0.0.236/trunk@82909 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 19:32:41 +00:00
nboyd%atg.com
23a4c9959e Add hasProperty and use it for the 'in' operator
git-svn-id: svn://10.0.0.236/trunk@82908 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 17:46:56 +00:00
nboyd%atg.com
efae45436c Fix 19734, accepting patch
git-svn-id: svn://10.0.0.236/trunk@82901 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 15:13:35 +00:00
nboyd%atg.com
52a01f2063 Switch to ant for building.
git-svn-id: svn://10.0.0.236/trunk@82900 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 15:04:48 +00:00
nboyd%atg.com
998690b9c0 Add debugger contribution from Christopher Oliver.
git-svn-id: svn://10.0.0.236/trunk@82899 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 15:00:45 +00:00
colin%theblakes.com
031f48020c OpenVMS specific fix for defeciency in stat.
b=60199 r=dougt a=waterson


git-svn-id: svn://10.0.0.236/trunk@82898 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 11:19:41 +00:00
ben%netscape.com
4967bacdba Mutation event files. r=joki, a=brendan
git-svn-id: svn://10.0.0.236/trunk@82897 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 08:27:09 +00:00
ben%netscape.com
4ef56d20bb Added mutation files. r=joki, a=brendan
git-svn-id: svn://10.0.0.236/trunk@82896 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 08:24:36 +00:00
hyatt%netscape.com
132d0db472 Patch for 55595. r=joki, a=brendan
git-svn-id: svn://10.0.0.236/trunk@82895 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 07:55:20 +00:00
pschwartau%netscape.com
6d446a8af4 Initital add -
git-svn-id: svn://10.0.0.236/trunk@82894 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-27 01:22:47 +00:00
disttsc%bart.nl
e663611339 Damn typos sneaking past me. Fixed. bug=61185, r=blake, a=ben
git-svn-id: svn://10.0.0.236/trunk@82893 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-26 04:37:10 +00:00
disttsc%bart.nl
d6dde7650d Whoops... Fixing ``/ //'' lines...
git-svn-id: svn://10.0.0.236/trunk@82892 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-25 13:51:33 +00:00
disttsc%bart.nl
edbf9769eb Get rid of most appCore uses in navigator.js and do some general cleaning-up. bug=46200, r=alecf, r=Hixie, a=ben
git-svn-id: svn://10.0.0.236/trunk@82891 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-25 12:27:40 +00:00
disttsc%bart.nl
2a988e681a Fix strict warnings in xulBindings.xml and add some stuff for bug 46200, r=blake, a=ben
git-svn-id: svn://10.0.0.236/trunk@82890 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-25 07:21:12 +00:00
disttsc%bart.nl
fa2fa229e1 A few preparations for later checkins for bug 46200. r=alecf, a=ben
git-svn-id: svn://10.0.0.236/trunk@82889 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-25 07:20:07 +00:00
disttsc%bart.nl
08abf1dcff titledbutton -> button. bug=57751, r=mscott, a=ben
git-svn-id: svn://10.0.0.236/trunk@82888 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-25 01:19:03 +00:00
pschwartau%netscape.com
be169d7260 Adding shell.js for ECMA3 Date tests, and tests for ECMA3 15.9.5.3 - 15.9.5.7
git-svn-id: svn://10.0.0.236/trunk@82887 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-25 01:17:24 +00:00
blakeross%telocity.com
9d4f1f1801 Fix 61093: mail crashes on startup.
git-svn-id: svn://10.0.0.236/trunk@82886 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-24 19:36:59 +00:00
blakeross%telocity.com
816d876083 hmm
git-svn-id: svn://10.0.0.236/trunk@82885 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 20:05:27 +00:00
blakeross%telocity.com
2dec3207e5 Fix 57584: minor problem in test8.html. r=a=(not built)
git-svn-id: svn://10.0.0.236/trunk@82884 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 18:16:48 +00:00
blakeross%telocity.com
490251e74f (readding a <script/> tag that I inadvertently removed in my checkin last night, and fixing a typo.)
git-svn-id: svn://10.0.0.236/trunk@82883 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 17:28:58 +00:00
rcassin%supernova.org
67096f5da5 Fix for bug 53658: Pref titledbox "Default Page Colors" should be "Default Page Appearance". r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82882 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 15:19:20 +00:00
rcassin%supernova.org
3aa8002709 Fix for bug 57345: "Cancel" in Save as Charset brings up Page Title. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82881 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 15:13:34 +00:00
blakeross%telocity.com
b24ee599f3 fix comment in last checkin
git-svn-id: svn://10.0.0.236/trunk@82880 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 06:19:00 +00:00
blakeross%telocity.com
bfb607e200 Fix 18787: sidebar panels need context menus. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82879 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 05:50:34 +00:00
blakeross%telocity.com
72d7034f7e Fix 59707: extract navigator's context menu and allow it to be used elsewhere in the app (and to help in embedding). r=jag a=alecf
git-svn-id: svn://10.0.0.236/trunk@82878 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 05:47:04 +00:00
disttsc%bart.nl
727c40ea5a Get rid of appCore from sessionHistoryUI.js again, hyatt's recent changes of saving the sessionHistory object on skin switching makes this possible.
bug=46200, r=alecf, a=ben


git-svn-id: svn://10.0.0.236/trunk@82877 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 05:24:35 +00:00
blakeross%telocity.com
98fac2c892 Fix 53977: shouldn't be able to access hidden tabs using the keyboard. r=jag a=ben
git-svn-id: svn://10.0.0.236/trunk@82876 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 04:31:45 +00:00
beard%netscape.com
7b73cacd8a importable XML project for CWPro6.
git-svn-id: svn://10.0.0.236/trunk@82875 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 04:27:33 +00:00
beard%netscape.com
026dcd3666 removed import of non-existent org.mozilla.javascript.tools.debugger.* package.
git-svn-id: svn://10.0.0.236/trunk@82874 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 04:24:34 +00:00
blakeross%telocity.com
c7db87a7b8 Fix 22184: F9 should toggle sidebar visibility. r=jag a=ben
git-svn-id: svn://10.0.0.236/trunk@82873 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 03:45:59 +00:00
dmose%mozilla.org
e7c5737f0b disable Delete User functionality until it gets fixed; currently leaves dangling pointers in the db. contributed by zach@zachlipton.com, r=dmose@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82872 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-23 00:41:03 +00:00
radha%netscape.com
cb3361bdcb Fix for bug # 58836 r=ducarroz sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82870 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 22:23:54 +00:00
dougt%netscape.com
3064e7eaad Static Modules change. Missed these two files yesterday. r=valeski/warren, sr/a=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@82869 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 21:50:53 +00:00
beard%netscape.com
7b25b0e54d [not part of build] menu item rendering.
git-svn-id: svn://10.0.0.236/trunk@82868 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 21:17:13 +00:00
dmose%mozilla.org
45d1e6c7f5 added macros for deallocating XPCOM arrays. r=alecf@netscape.com, moa=scc@mozilla.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82867 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 20:15:23 +00:00
dougt%netscape.com
1b09efa30c First cut of an embedding makefile for windows....
git-svn-id: svn://10.0.0.236/trunk@82866 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 20:12:16 +00:00
ddrinan%netscape.com
8d3ac0529b Install the library
git-svn-id: svn://10.0.0.236/trunk@82865 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 20:02:16 +00:00
ddrinan%netscape.com
e6c6b25132 Changes to get PSM to build with Mozilla
git-svn-id: svn://10.0.0.236/trunk@82864 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 19:59:30 +00:00
mscott%netscape.com
adb8c92516 Bug #60069 --> checking this patch in for Sergey Lunegov (lsv@sparc.spb.su)
make sure the mime action is initialized with the right action.
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@82862 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 19:48:49 +00:00
dbragg%netscape.com
db92cd9458 Fix for bug 51816. No longer setting max value in progess meter and initializing mLastUpdate to PR_Now. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82860 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 18:57:55 +00:00
dougt%netscape.com
2dac12d34f Second cut at an embedding makefile. This is not part of the seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@82859 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 18:39:16 +00:00
nboyd%atg.com
38669a9079 * Add ContextListener interface
* Add ability to access shell functions from compiled scripts, and to
  add shell functions to embedded apps more easily


git-svn-id: svn://10.0.0.236/trunk@82856 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 15:00:05 +00:00
brendan%mozilla.org
9ae6af2055 Add trace-malloc logfile flushing from an idle handler (r=rayw, a=waterson, not part of build).
git-svn-id: svn://10.0.0.236/trunk@82855 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 08:06:38 +00:00
brendan%mozilla.org
6a865d1089 Revamp REALLOC record for rayw's tool; add flush-log-files function (r=rayw, a=waterson, not part of build).
git-svn-id: svn://10.0.0.236/trunk@82854 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 08:05:05 +00:00
mcafee%netscape.com
bede486607 Tinderbox hints
git-svn-id: svn://10.0.0.236/trunk@82853 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 03:12:24 +00:00
gayatrib%netscape.com
94d10a9913 Fix for bug 44664--No feedback when no hits found in Search. r=racham sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82852 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 01:32:54 +00:00
mcafee%netscape.com
080a31ab0d Adding _parent target to url printed out in express mode.
git-svn-id: svn://10.0.0.236/trunk@82851 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 01:22:51 +00:00
koehler%mythrium.com
157de3adb1 Fixing bug 58874, making network works under BeOS. r=valeski@netscape.com,
r=matt@hottub.org, sr=mscott@netscape.com


git-svn-id: svn://10.0.0.236/trunk@82850 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 01:06:29 +00:00
despotdaemon%netscape.com
f61dd5c304 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@82849 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 00:51:13 +00:00
despotdaemon%netscape.com
7045edb3fb Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@82848 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 00:51:12 +00:00
radha%netscape.com
ed609c1ca4 Trivial fix for a problem described in bug # 53869.
git-svn-id: svn://10.0.0.236/trunk@82847 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 00:34:13 +00:00
locka%iol.ie
23ab5d75f3 NOT PART OF BUILD. Fixed nuisance problem in CBrowse test caused by two default buttons
git-svn-id: svn://10.0.0.236/trunk@82846 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-22 00:03:26 +00:00
relyea%netscape.com
77174994df Check in PKCS #11 test suite.
git-svn-id: svn://10.0.0.236/trunk@82844 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 23:56:51 +00:00
mscott%netscape.com
00fd3aa5e2 Bug #60830 --> use nsCRT::memcpy instead of memcpy.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@82843 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 23:56:40 +00:00
morse%netscape.com
312b38a590 bug 59184, file had 0x96 chars in it, r=verah, a=ben
git-svn-id: svn://10.0.0.236/trunk@82840 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 23:47:21 +00:00
dougt%netscape.com
90c9a975be Static Module Patch. r=valeski,warren@netscape.com, sr/a=cls@netscape.com
git-svn-id: svn://10.0.0.236/trunk@82839 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 23:40:34 +00:00
ssu%netscape.com
8cb5407b66 fixing bug #60449 - Default Custom N6 installer w/o CDAutorun shell aborts (from CD Media). sr=mscott, r=dveditz. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@82838 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 23:18:20 +00:00
mkaply%us.ibm.com
0fb4f6e8e1 #58668
r=cls
Makefile change so OS/2 doesn't use buffered I/O
Need to fix buffered I/O to not use fopen


git-svn-id: svn://10.0.0.236/trunk@82837 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 23:15:10 +00:00
beard%netscape.com
3c1775e1dd [not part of build] support for different kinds of buttons (thanks to lordpixel@mac.com for initial code).
git-svn-id: svn://10.0.0.236/trunk@82827 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 07:55:16 +00:00
beard%netscape.com
6885a2fe55 [not part of build] added scrollbar?part=rightArrow,leftArrow,topArrow,bottomArrow.
git-svn-id: svn://10.0.0.236/trunk@82826 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 06:09:42 +00:00
beard%netscape.com
c0e8fc1b91 [not part of build] added scrollbar?part=thumb.
git-svn-id: svn://10.0.0.236/trunk@82825 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 05:32:23 +00:00
waldemar%netscape.com
1e12cd3425 Added support for white space. Removed initial / production.
git-svn-id: svn://10.0.0.236/trunk@82824 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 04:07:05 +00:00
waldemar%netscape.com
ef79175478 Renamed simple to span
git-svn-id: svn://10.0.0.236/trunk@82823 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 04:06:44 +00:00
blakeross%telocity.com
4b0f23f3f6 Fix 58272: file | new message doesn't work in compose window. r=scottip sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82820 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 02:36:03 +00:00
sspitzer%netscape.com
a3799ab2f4 fix build bustage, thanks to mscott for the help.
git-svn-id: svn://10.0.0.236/trunk@82819 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 02:29:21 +00:00
sspitzer%netscape.com
0203991a7c fix for #54491 and #60507
remove some more bloat from the subscribe code.  use the SubscribeTree
to build up the hostinfo.dat file instead of keeping a duplicate nsCStringArray
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@82818 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 02:06:03 +00:00
sspitzer%netscape.com
4e33872d7f fix for #54728. remove passwords for server from the password manager when we remove the server.
fix by andrew.taylor@cal.montage.ca, r=sspitzer, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@82817 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 01:21:37 +00:00
darin%netscape.com
f96741ef69 Fixes bug 45747. Proxy auth does not handle multiple Proxy-Authenticate
headers.  Causes problems with MS proxy server II.  Patch supplied by
Brandon_Stewart@circuitcity.com.  r=darin, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@82816 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 01:14:50 +00:00
naving%netscape.com
f9bccdccbf #36255 r=sspitzer, sr=mscott. Do not send the select command to back end
because it is only a folder-only folder.


git-svn-id: svn://10.0.0.236/trunk@82815 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 01:00:55 +00:00
brendan%mozilla.org
5357c9f7c4 Store real JSString*, not address of auto JSSubString, in local root (60674, r=beard, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@82814 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:51:43 +00:00
darin%netscape.com
56e63d33c5 Updates to test file to support overlapped requests.
git-svn-id: svn://10.0.0.236/trunk@82813 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:49:41 +00:00
disttsc%bart.nl
e0c44967e1 Fixes reference cycle causing leaks, bug=60927, r=dbaron, a=alecf
git-svn-id: svn://10.0.0.236/trunk@82812 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:47:33 +00:00
beard%netscape.com
096504df7d updated dependencies
git-svn-id: svn://10.0.0.236/trunk@82811 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:31:10 +00:00
beard%netscape.com
6ad9c9ad26 added explicit getString() method to StringFormatter, and removed operator String() methods.
git-svn-id: svn://10.0.0.236/trunk@82810 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:29:39 +00:00
cls%seawood.org
8373cf37d8 Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454
git-svn-id: svn://10.0.0.236/trunk@82809 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:18:46 +00:00
beard%netscape.com
d35408a044 Made getStaticSlot() static, to remove warning.
git-svn-id: svn://10.0.0.236/trunk@82808 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:15:39 +00:00
beard%netscape.com
5fad5fc477 fixing unsigned/signed conversion warnings.
git-svn-id: svn://10.0.0.236/trunk@82807 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-21 00:14:55 +00:00
javi%netscape.com
414deff706 Add the ability to set what directory is used for the key and cert db's.
git-svn-id: svn://10.0.0.236/trunk@82795 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 19:46:14 +00:00
dave%intrec.com
a160af0716 Fix for bug 45586: Component, Version, and Milestone values are no longer
shown that belong to products the user can't see if usebuggroups is
active.  Patch by Matthias Radestock <rade@lshift.net>


git-svn-id: svn://10.0.0.236/trunk@82794 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 19:42:36 +00:00
nboyd%atg.com
35f64134be Merge debugger changes into trunk.
git-svn-id: svn://10.0.0.236/trunk@82791 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 16:16:32 +00:00
nboyd%atg.com
288ed8176b Fix for updated filename.
git-svn-id: svn://10.0.0.236/trunk@82789 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 14:44:56 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
alecf%netscape.com
f534d4e413 re-fix bug 59520 to handle dragged urls with attachments
r=blake


git-svn-id: svn://10.0.0.236/trunk@82784 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 06:46:47 +00:00
pavel%gingerall.cz
cc9f2c65d8 - script compilation support (JS::CompileScript)
- compiled script may be executed (JS::exec)
- memory leak fixed
  (JSVALtoSV returning objects; magic has to to a mortal value)


git-svn-id: svn://10.0.0.236/trunk@82782 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-19 14:40:33 +00:00
beard%netscape.com
c52733bca4 [not part of build] use __NSInitialize/__NSTerminate as CFM init/term routines, mainly for GC leak detector compatibility.
git-svn-id: svn://10.0.0.236/trunk@82779 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 17:49:39 +00:00
beard%netscape.com
517b5d9bb9 [not part of build] fix leaking rendering contexts.
git-svn-id: svn://10.0.0.236/trunk@82778 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 17:47:09 +00:00
ccarlen%netscape.com
322bbdd00a Fix small leak I made yesterday.
sr=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@82777 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 14:11:10 +00:00
despotdaemon%netscape.com
08d90b9c36 Pseudo-automatic update of changes made by warsome@pacbell.net.
git-svn-id: svn://10.0.0.236/trunk@82771 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 05:41:40 +00:00
disttsc%bart.nl
18bc924e16 Add necko packages to installed-chrome.txt. bug=54241, r=cls, a=alecf
git-svn-id: svn://10.0.0.236/trunk@82767 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 03:26:53 +00:00
beard%netscape.com
3b552f57ff CW Pro 6 compatibility.
git-svn-id: svn://10.0.0.236/trunk@82766 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 03:14:07 +00:00
alecf%netscape.com
f29e0eabfb fix BeOS bustage (this code not part of mac/win/unix builds)
git-svn-id: svn://10.0.0.236/trunk@82765 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 03:08:57 +00:00
alecf%netscape.com
748335e92c oops, fix it a little more
git-svn-id: svn://10.0.0.236/trunk@82764 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 03:07:09 +00:00
alecf%netscape.com
fcccbfec03 fix BeOS bustage (this code not in the mac/win/unix builds)
git-svn-id: svn://10.0.0.236/trunk@82763 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 03:05:53 +00:00
despotdaemon%netscape.com
68bdf1e52a Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@82762 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 02:47:57 +00:00
nboyd%atg.com
197485d4ac timestamping file
git-svn-id: svn://10.0.0.236/trunk@82761 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 02:24:06 +00:00
nboyd%atg.com
cfa9351a9f Add support in Rhino for BSF without the bsfengines.jar.
git-svn-id: svn://10.0.0.236/trunk@82760 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 02:14:46 +00:00
danm%netscape.com
db625ff360 removing glowcode directives. won't affect you unless you use an obsolete version of glowcode.
git-svn-id: svn://10.0.0.236/trunk@82759 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 02:13:42 +00:00
alecf%netscape.com
a6e3fb1e72 fix the orange by changing the timers to member variables of the service singletons, rather
than static nsCOMPtrs!
r=sspitzer
a=fixing bustage


git-svn-id: svn://10.0.0.236/trunk@82758 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 02:01:29 +00:00
beard%netscape.com
9e6fb8f507 [not part of build] tweak to prevent multiple alerts from coming up.
git-svn-id: svn://10.0.0.236/trunk@82757 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 01:57:15 +00:00
beard%netscape.com
9c12cd3b87 [not part of build] test case for theme:button.
git-svn-id: svn://10.0.0.236/trunk@82756 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 01:49:13 +00:00
sspitzer%netscape.com
bb0c51d22d fix for #60532. update the status and progress bar less frequently.
the less time I spend painting, the more time I spend doing the subscribe
work, which means we finish quicker.  sr=mscott


git-svn-id: svn://10.0.0.236/trunk@82755 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 00:24:13 +00:00
gayatrib%netscape.com
1bfa26c585 Fix for bug 41851--duplicate filter names not prevented. review=alecf
git-svn-id: svn://10.0.0.236/trunk@82754 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-18 00:20:38 +00:00
sspitzer%netscape.com
b39832d114 fix for #60523. make sure that the current profile is visible on startup
and any newly created profile is visible after creation. sr=alecf


git-svn-id: svn://10.0.0.236/trunk@82753 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 23:20:26 +00:00
edburns%acm.org
7a396be25b bug=40088
r=edburns
sr=shaver
Author = Xiaobin Lu.


git-svn-id: svn://10.0.0.236/trunk@82752 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 22:22:47 +00:00
sonmi%netscape.com
a82188b1c6 added debug echo for each testclient started
git-svn-id: svn://10.0.0.236/trunk@82751 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 22:12:26 +00:00
nelsonb%netscape.com
d42e69e615 When disabling SSL2, also disable ssl2 compatible client hellos.
This allows us to test with TLS servers that don't grok ssl2 hellos.


git-svn-id: svn://10.0.0.236/trunk@82750 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 21:57:02 +00:00
alecf%netscape.com
0a349b4eed fix tree bustage
git-svn-id: svn://10.0.0.236/trunk@82749 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 21:31:25 +00:00
blizzard%redhat.com
dd791b28ce two line change to remove iostreams from this test list. r=alecf,jag sr=scc
git-svn-id: svn://10.0.0.236/trunk@82747 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 21:17:53 +00:00
alecf%netscape.com
4ffddeb00c #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz


git-svn-id: svn://10.0.0.236/trunk@82745 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 20:54:21 +00:00
disttsc%bart.nl
cc671d80be Two about:blank related changes:
22400 - Don't show "about:blank" for "blank page" on new window open, r=smfr, a=alecf
37987 - Don't show "Document: done" for "about:blank", r=timeless, a=alecf


git-svn-id: svn://10.0.0.236/trunk@82744 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 20:50:14 +00:00
sspitzer%netscape.com
c436fd88e2 fix #54491 (subscribe is a big fat pig)
fix #56971 (correct spelling mistake: suppress not supress)
fix #60244 (subscribe retains only last server subscribe changes)
fix #60242 (subscribe typedown should select first match in list)
fix #39156 (fix how I determine the delimiter in subscribe.js)
fix #59231 (make insecure imap login work if password has a \ in it)
fix #53654 (subscribe downloaded bytes don't start at zero)
fix #39393 (stop button in subscribe)
fix #60506 (switching servers doesn't clear text area in subscribe)


git-svn-id: svn://10.0.0.236/trunk@82743 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 20:47:31 +00:00
nelsonb%netscape.com
7436b8c2ef Get the montmulf code to build, in preparation for integration into MPI.
git-svn-id: svn://10.0.0.236/trunk@82742 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 20:15:29 +00:00
blizzard%redhat.com
62360b4490 Fix bug #59194. This should restore focus to the right window when Mozilla is given focus when embedded in another application. r=saari,adamlock,valeski sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@82741 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 19:57:16 +00:00
bienvenu%netscape.com
22e821edd8 fix 52207 get rid of stopwatch cursor if we don't select an imap folder for some reason (e.g., read only, or already running a url on the folder) sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82740 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 19:57:03 +00:00
beard%netscape.com
bb1360b2d2 [not part of build] added scrollbar action.
git-svn-id: svn://10.0.0.236/trunk@82739 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 19:38:24 +00:00
varada%netscape.com
5fc4bfb3ac Adding ncifileeditor to read the txt files; fix for bug#52345
git-svn-id: svn://10.0.0.236/trunk@82738 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 19:32:47 +00:00
mkaply%us.ibm.com
d469d511d4 rginda said it was OK for me to add webbnet to the list of networks
git-svn-id: svn://10.0.0.236/trunk@82737 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 19:32:07 +00:00
varada%netscape.com
c736fa4e7e adding ncifileeditor to the cck.che
git-svn-id: svn://10.0.0.236/trunk@82736 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 19:31:08 +00:00
shanjian%netscape.com
06b4f12827 #59666, Occurances of uninitialized variables being used before being set.
r = nhotta, sr=erik


git-svn-id: svn://10.0.0.236/trunk@82735 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 18:13:52 +00:00
mcgreer%netscape.com
9efaa84381 checkin of blinding implementation
git-svn-id: svn://10.0.0.236/trunk@82734 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 17:58:35 +00:00
ccarlen%netscape.com
17cfe8be2b *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@82733 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 15:01:06 +00:00
ccarlen%netscape.com
229bc54fef Bug 57622 - Remove code which gets profile dir from registry. It was wrong for Mac and not used anyway. r=racham, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82732 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 15:00:35 +00:00
nboyd%atg.com
db7217df5b Fix 60184, and add SwingApplication.js example, with change
to shell to prevent early exit.


git-svn-id: svn://10.0.0.236/trunk@82731 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 13:05:46 +00:00
ccarlen%netscape.com
403b5e4c24 NOT PART OF THE BUILD
Fixed menu enabling of edit commands.


git-svn-id: svn://10.0.0.236/trunk@82730 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 12:49:15 +00:00
axel%pike.org
63c94ad8e9 Not part of the build. more people than I thought use the old build system, synching this with my changes for transformiix' TEXTPrinter to the autoconf one
git-svn-id: svn://10.0.0.236/trunk@82729 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 10:37:00 +00:00
alecf%netscape.com
7be2cccb25 #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self


git-svn-id: svn://10.0.0.236/trunk@82728 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 08:06:12 +00:00
disttsc%bart.nl
51f3c5a271 Make Go menu Back/Forward work again (and add accesskey to Home), bug=59836, r=timeless, a=alecf
git-svn-id: svn://10.0.0.236/trunk@82725 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 04:24:56 +00:00
disttsc%bart.nl
1b96e9c980 Fix css selectors for back/forward buttons. bug=49875, r=timeless, a=alecf
git-svn-id: svn://10.0.0.236/trunk@82724 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 04:20:50 +00:00
alecf%netscape.com
63a1f09a5d #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self


git-svn-id: svn://10.0.0.236/trunk@82723 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 03:45:13 +00:00
alecf%netscape.com
13743894ed fix for #45797 - fix NS_IMPL_ISUPPORTS consumers
r=dveditz a=self


git-svn-id: svn://10.0.0.236/trunk@82722 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 03:41:41 +00:00
sonmi%netscape.com
fe2b5b4603 checked in previous fix again. Hanging had other reasons
git-svn-id: svn://10.0.0.236/trunk@82721 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 02:17:18 +00:00
cls%seawood.org
2a8e631832 Add -n32 to ASFLAGS if USE_N32 is set on Irix.
git-svn-id: svn://10.0.0.236/trunk@82720 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 02:03:09 +00:00
bienvenu%netscape.com
03d0d44889 fix 57806, multiple filter logs for pop mail filtering logging, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82719 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 01:43:29 +00:00
sfraser%netscape.com
5b710bd5de Removal of some crufty old code that used to do UI udpating, and was obsolete by XUL command nodes. r=akkana
git-svn-id: svn://10.0.0.236/trunk@82718 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 01:25:28 +00:00
mcgreer%netscape.com
3f7dbe2a08 return SEC_ERR_NEED_RANDOM when the RNG does not have sufficient seeding data to proceed.
git-svn-id: svn://10.0.0.236/trunk@82717 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 01:01:36 +00:00
mcgreer%netscape.com
1e92ed678e these functions should be static
git-svn-id: svn://10.0.0.236/trunk@82716 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:59:51 +00:00
ssu%netscape.com
4cd82b5988 fixing bug #59451 - Custom installer's license.txt doesn't appear (WinNT&Win2000). sr=mscott, r=sgehani. affects windows platforms only.
git-svn-id: svn://10.0.0.236/trunk@82715 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:49:21 +00:00
akkana%netscape.com
0eff955ec3 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@82714 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:25:31 +00:00
akkana%netscape.com
15699a9838 Add nsIPlaintextEditor.
git-svn-id: svn://10.0.0.236/trunk@82713 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:19:56 +00:00
akkana%netscape.com
99c2128ff4 Plaintext editor API. sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82712 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:10:37 +00:00
rogerl%netscape.com
cfbc955b14 Added lexutils & exception... to default build.
git-svn-id: svn://10.0.0.236/trunk@82711 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 23:58:53 +00:00
rogerl%netscape.com
94fd6cbddb Example from Waldemar's spec.
git-svn-id: svn://10.0.0.236/trunk@82710 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 23:50:37 +00:00
disttsc%bart.nl
3ea393cc5b Change <titledbutton> to <button>, bug 57751, r=adamlock,blake,erik,racham,rginda,rjc, a=ben
git-svn-id: svn://10.0.0.236/trunk@82709 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 23:50:00 +00:00
rogerl%netscape.com
a2360d8337 Added BindThis argument, removed 'this' arg from Call.
git-svn-id: svn://10.0.0.236/trunk@82708 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 23:49:29 +00:00
rogerl%netscape.com
ddf0366c42 Added notion of binding a 'this' to a method to construct a mini-closure
for call semantics. Fixed MSVC warnings from lexutils. Added BindThis
instructionand removed 'this' from Call instruction (is now extracted
from target argument).


git-svn-id: svn://10.0.0.236/trunk@82707 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 23:48:42 +00:00
blakeross%telocity.com
7c695f4829 attempt to fix bustage
git-svn-id: svn://10.0.0.236/trunk@82706 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 23:02:24 +00:00
mscott%netscape.com
1d169d05b5 Bug #58657 --> destroy the event queue when we are done with it
sr=bienvenu
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@82705 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 22:42:32 +00:00
blakeross%telocity.com
f1fd1197c1 Fix 1004: should support CSS2 system colors. patch by lordpixel@mac.com. r=pavlov sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@82704 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 22:26:46 +00:00
blakeross%telocity.com
cc61dc5baf Fix 59867: sidebar dragging needs to respect user settings. r=evaughan a=hyatt
git-svn-id: svn://10.0.0.236/trunk@82703 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 22:25:45 +00:00
axel%pike.org
ab1efd764c Added support for xsl:output method="text" to transformiix standalone, not part of build
git-svn-id: svn://10.0.0.236/trunk@82702 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 22:08:58 +00:00
ducarroz%netscape.com
fec5045976 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@82701 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:53:55 +00:00
waterson%netscape.com
216fcfdaaa First checked in.
git-svn-id: svn://10.0.0.236/trunk@82700 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:52:05 +00:00
waterson%netscape.com
add274f414 Make gtkEmbed the default program to run.
git-svn-id: svn://10.0.0.236/trunk@82699 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:51:56 +00:00
bienvenu%netscape.com
b8e20d8d9a fix for 58691 problem with cyrus imap hierarchy delimiters, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82698 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:44:59 +00:00
kmcclusk%netscape.com
622694d09f Removing these unneeded files from from cvs, they have been in the build in years
r=kmcclusk,buster


git-svn-id: svn://10.0.0.236/trunk@82697 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:41:14 +00:00
sfraser%netscape.com
1e485336d7 Adding chardet IDL project, and MANIFEST_IDL for bug 46200, "nsBrowserInstance must die!". For jag, r=erk, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82696 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:38:58 +00:00
sfraser%netscape.com
1c60b21633 Adding chardet IDL project for bug 46200, "nsBrowserInstance must die!". For jag, r=erk, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@82695 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:35:01 +00:00
disttsc%bart.nl
fa14115e0e Convert nsIDocumentCharsetInfo to IDL so we can get rid of more bits of nsBrowse
rInstance. bug=46200, r=erik@netscape.com, r=smfr, a=alecf.


git-svn-id: svn://10.0.0.236/trunk@82694 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:33:34 +00:00
pinkerton%netscape.com
c4efcd5971 fix bustage. nsAReadableString& needs to be const.
git-svn-id: svn://10.0.0.236/trunk@82693 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:29:13 +00:00
waterson%netscape.com
0d67b96918 Fix variables used to pass image name
git-svn-id: svn://10.0.0.236/trunk@82692 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:27:51 +00:00
waterson%netscape.com
1899d5a0d6 Check args for image name
git-svn-id: svn://10.0.0.236/trunk@82691 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:27:37 +00:00
ssu%netscape.com
17ad45d004 fixing bug #53857. Win32 installer's Setup Type components logic does not behave correctly. sr=mscott, r=sgehani. affects windows platforms only.
git-svn-id: svn://10.0.0.236/trunk@82690 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 20:40:42 +00:00
pinkerton%netscape.com
52af1d855a Implemented nsIClipboardCommands by calling through to the appropriate controller. r=sfraser,a=hyatt. bug#46867
git-svn-id: svn://10.0.0.236/trunk@82685 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 20:08:48 +00:00
svn%xmlterm.org
f23913f9f8 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Using file: scheme rather thank resource: or chrome: scheme for jar url
to allow xmlterm to load other file: urls in IFRAMEs


git-svn-id: svn://10.0.0.236/trunk@82681 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 18:27:16 +00:00
mkaply%us.ibm.com
cb668e0c09 r=mkaply, a=blizzard
More ugliness for Russian on OS/2 - some pages use "arial"


git-svn-id: svn://10.0.0.236/trunk@82680 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 15:37:44 +00:00
mkaply%us.ibm.com
87daf4d9d8 #60326
r=mkaply, a=blizzard
Fix from areed, jkobal for off by one pel drawing rectangles


git-svn-id: svn://10.0.0.236/trunk@82679 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 15:29:19 +00:00
brade%netscape.com
8147dc3af7 fix bugs #56139 and (partially) #57206; r=cmanske; sr=kin; remove table height until css support for it is provided; always write valign until we know how to search up the tree
git-svn-id: svn://10.0.0.236/trunk@82678 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 15:17:58 +00:00
bryner%uiuc.edu
55ab447c71 Bug 60156 - make sure the filepicker component gets registered correctly. r=disttsc@bart.nl, a=ben@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@82677 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 07:57:46 +00:00
waterson%netscape.com
e3215a6b6f Add rules to make data files by running programs.
git-svn-id: svn://10.0.0.236/trunk@82676 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 05:47:32 +00:00
waterson%netscape.com
83f2806d96 First checked in.
git-svn-id: svn://10.0.0.236/trunk@82675 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 05:31:34 +00:00
chuang%netscape.com
3068abcb1c Bug 50641 [MLK] Leaking PRUnichar in DIR_GetLocalizedStringPref(), sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@82674 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 04:39:37 +00:00
sonmi%netscape.com
b4d85a522c backed out my changes, first it wanted input, then I started it <request file,
which made the next testclient fail / hang ...


git-svn-id: svn://10.0.0.236/trunk@82673 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 02:35:11 +00:00
bryner%uiuc.edu
ada2d38770 Trivial change, missing "return". r/sr/a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@82672 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 02:13:30 +00:00
waterson%netscape.com
bcd7e1147f Cleaner doc comments.
git-svn-id: svn://10.0.0.236/trunk@82671 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 01:10:48 +00:00
javi%netscape.com
8088b76db1 Implement the function that uses the directory service to return the path of where the executable lives on disk.
git-svn-id: svn://10.0.0.236/trunk@82670 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 01:08:58 +00:00
dbaron%fas.harvard.edu
acdf0cde48 Backout part of blake's changes that he didn't mean to check in to fix speedracer bustage. (These changes were part of a different patch.)
git-svn-id: svn://10.0.0.236/trunk@82669 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 01:08:24 +00:00
javi%netscape.com
d0c4ff0834 Add prototype for function that takes advantage of xpcom's ability to figure out where the executable lives on disk.
git-svn-id: svn://10.0.0.236/trunk@82668 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 01:03:48 +00:00
karnaze%netscape.com
c4dbf6cbde new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@82667 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 00:29:20 +00:00
javi%netscape.com
50485cdb41 Don't generate a .xSYM file for optimized and use PPC struct alignment instead of 68K struct alignment.
git-svn-id: svn://10.0.0.236/trunk@82664 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 00:05:29 +00:00
mccabe%netscape.com
904e878dda Not part of the Mozilla build. Update tool paths for server build.
git-svn-id: svn://10.0.0.236/trunk@82663 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 00:03:20 +00:00
mccabe%netscape.com
b2962221ce Not part of the Mozilla build. Add js and liveconnect config files for OSFV5.0
git-svn-id: svn://10.0.0.236/trunk@82662 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 23:57:49 +00:00
blakeross%telocity.com
3352c8fcfa Fix 56971: logging should not log user's password. patch by Andrew Taylor (andrew.taylor@cal.montage.ca). r=jefft sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82661 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 23:55:25 +00:00
sonmi%netscape.com
42254f79a3 trying iridium/components for a change now...
git-svn-id: svn://10.0.0.236/trunk@82660 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 23:26:03 +00:00
karnaze%netscape.com
54be8cad7e bug 48028 - changed frame constructor's AppendContent to handle both a caption child list and a row group
child list. a=buster, r=attinasi.


git-svn-id: svn://10.0.0.236/trunk@82659 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 23:19:37 +00:00
varada%netscape.com
2f7995319c fix for bug#60100; ftp fix
git-svn-id: svn://10.0.0.236/trunk@82658 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 23:07:32 +00:00
sfraser%netscape.com
e4ebb35bb6 Add error checking to the chdir call, so that the scripts produce the correct error message when you try having the 'mozilla' folder at the root of a volume. r=kin
git-svn-id: svn://10.0.0.236/trunk@82657 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 22:56:30 +00:00
dougt%netscape.com
bcfb7fc4d5 Checking error code from IsDirectory().
git-svn-id: svn://10.0.0.236/trunk@82656 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 22:39:43 +00:00
karnaze%netscape.com
c340f8a41b bug 57378 (table portion) - don't repeat a thead or tfoot that is larger than 25% of the page. a=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@82655 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 22:26:35 +00:00
darin%netscape.com
e04a6bf5a7 Fixes bug 59661. Occurances of uninitialized variables... r=gagan, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@82654 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 22:21:46 +00:00
sonmi%netscape.com
d765d88c96 added -d CLIENTDIR to the new testclient starts, so NT won't have a problem
git-svn-id: svn://10.0.0.236/trunk@82653 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 22:20:53 +00:00
sonmi%netscape.com
69b410a8db exchanged the obsolete iridium/compontents against hs-sca15c/mccrel2
git-svn-id: svn://10.0.0.236/trunk@82652 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 22:16:48 +00:00
darin%netscape.com
2a4b901593 Updating necko test file.
git-svn-id: svn://10.0.0.236/trunk@82651 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 22:13:39 +00:00
bienvenu%netscape.com
40d66c2079 fix for 50663, memory leak in ab directory handling, sr=me, checking in for jarrod.k.gray
git-svn-id: svn://10.0.0.236/trunk@82650 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 21:46:16 +00:00
mkaply%us.ibm.com
988f2cf58e #56772
r=cls
OS/2 missing platform specific navigation bindings stuff


git-svn-id: svn://10.0.0.236/trunk@82649 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 21:19:23 +00:00
naving%netscape.com
34008c4802 r=sspitzer, sr=mscott, #52365. Disable the folders-only folder in move/copy menu
Using the noSelect property to distinguish such folders in mailWindowOverlay.xul


git-svn-id: svn://10.0.0.236/trunk@82648 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 20:25:54 +00:00
waterson%netscape.com
579a55ee8b First checked in.
git-svn-id: svn://10.0.0.236/trunk@82647 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 19:57:34 +00:00
waterson%netscape.com
0019c0c869 First checked in.
git-svn-id: svn://10.0.0.236/trunk@82646 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 19:56:24 +00:00
karnaze%netscape.com
4fdfe1e0ea new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@82645 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 19:47:30 +00:00
javi%netscape.com
9fb4c55a35 Update version number for PSM.
git-svn-id: svn://10.0.0.236/trunk@82644 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 19:24:07 +00:00
javi%netscape.com
e112d103ed Bring some changes that went into Mac RTM onto the trunk of the PSM tree.
git-svn-id: svn://10.0.0.236/trunk@82643 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 19:20:28 +00:00
beard%netscape.com
fd46c1b63c [not part of build] theme protocol.
git-svn-id: svn://10.0.0.236/trunk@82642 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 17:56:24 +00:00
beard%netscape.com
81d3719722 [not part of build] theme protocol support.
git-svn-id: svn://10.0.0.236/trunk@82641 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 17:52:57 +00:00
karnaze%netscape.com
b405a325ad bug 40828 - call DidSetStyleContext when reflow a cell unconstrained. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@82640 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 16:01:26 +00:00
mkaply%us.ibm.com
5348ea3073 #56772
r=cls
OS/2 missing platform specific navigation bindings stuff


git-svn-id: svn://10.0.0.236/trunk@82639 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 16:00:20 +00:00
karnaze%netscape.com
90f01b8db4 bug 59252 - fixed regression caused by bug 53690. Don't reflow cell's in a fixed layout table unconstrained. a=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@82638 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 14:59:47 +00:00
mkaply%us.ibm.com
84e314f385 #56772
r=mkaply, a=blizzard
OS/2 missing platform specific navigation bindings stuff


git-svn-id: svn://10.0.0.236/trunk@82635 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 14:59:17 +00:00
brade%netscape.com
0cc12f404a use inline methods rather than typecasting directly to floats to prevent rounding errors (bug #56022); r=jst; sr=buster
git-svn-id: svn://10.0.0.236/trunk@82634 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 10:54:41 +00:00
alecf%netscape.com
7934917e02 part of fix for #41083 - add nsILocalFile support to the account manager
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@82633 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 08:50:07 +00:00
cls%seawood.org
7cff668588 Exporting icon gifs like we do on windows. Bug 59179 r=pnunn
git-svn-id: svn://10.0.0.236/trunk@82632 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 03:46:04 +00:00
cls%seawood.org
cba41f5c1b Do not add static libs to linker command if we are manually extracting the individual object files from the archive. Bug #59021
git-svn-id: svn://10.0.0.236/trunk@82631 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 03:37:45 +00:00
disttsc%bart.nl
868c5c4476 Fix iteration type in ConvertTo(Upper|Lower)Case in nsReadableUtils.cpp, bug=60047, r=dmose, a=scc
git-svn-id: svn://10.0.0.236/trunk@82630 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 01:58:23 +00:00
varada%netscape.com
b282e6603e changes to myisp.che
git-svn-id: svn://10.0.0.236/trunk@82629 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 01:32:42 +00:00
varada%netscape.com
78940f6cd1 changes to default.che
git-svn-id: svn://10.0.0.236/trunk@82628 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 01:32:05 +00:00
varada%netscape.com
b96d8edae4 getting rid of wrong commenting
git-svn-id: svn://10.0.0.236/trunk@82627 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 01:30:50 +00:00
sonmi%netscape.com
4084806f13 fixed a blank that that had gotten in the middle of a variablename
git-svn-id: svn://10.0.0.236/trunk@82626 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 00:48:36 +00:00
nhotta%netscape.com
df41eb771b Changed to convert anchor name as UTF-8 instead of Latin1 if that fails then convert it as document charset, bug= 58819,r=erik, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@82625 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-15 00:17:41 +00:00
morse%netscape.com
cb8476c8c1 bug 55847, Wallet Editor is not translation enabled, submitter=mkaply r=morse, a=ben
git-svn-id: svn://10.0.0.236/trunk@82622 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 22:11:25 +00:00
morse%netscape.com
9415a961c1 bug 55847, Wallet Editor is not translation enabled, submitter=mkaply r=morse, a=ben
git-svn-id: svn://10.0.0.236/trunk@82621 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 21:56:35 +00:00
mkaply%us.ibm.com
a0980964ee #56853
r=mkaply, a=blizzard
Code from aaron reed to fix polygon drawing. Also 16 color fix from jkobal.


git-svn-id: svn://10.0.0.236/trunk@82620 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 21:27:11 +00:00
mkaply%us.ibm.com
2ec772b77e #60081
r=jkobal, a=blizzard
Add support for textzoom and not scaling bitmap fonts


git-svn-id: svn://10.0.0.236/trunk@82619 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 20:32:15 +00:00
nboyd%atg.com
39df189a77 Subject:
[Rhino] importPackage() when not in Rhino shell?
        Date:
             Tue, 14 Nov 2000 09:37:39 -0000
       From:
             "Benjamin Geer" <geerb@midas-kapiti.com>
 Organization:
             Another Netscape Collabra Server User
 Newsgroups:
             netscape.public.mozilla.jseng




The importPackage() and importClass() functions provided by the Rhino shell
seems as if they would be very generally useful.  Unless I've missed
something, they don't seem to be available to scripts compiled using the
JavaScript compiler, or to scripts that are run using Script.exec().  Is
there any chance these functions could be made available for all scripts to
use?  This would save a lot of typing; one could then always write a = new
Foo() instead of a = new Package.com.baz.bar.foo.Foo().

--Benjamin Geer


git-svn-id: svn://10.0.0.236/trunk@82618 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 20:10:42 +00:00
nboyd%atg.com
9533127abb Update javadoc.
git-svn-id: svn://10.0.0.236/trunk@82617 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 20:08:53 +00:00
warren%netscape.com
6666de95b9 Bug 29207 - made it not allocate the PLEvent object. Added defensive code for mReceiver going away. r=waterson
git-svn-id: svn://10.0.0.236/trunk@82616 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 20:03:21 +00:00
erik%netscape.com
3d620c9d82 bug 42917; r=timeless,pavlov,bstell; sr=blizzard; need to increment
mFontsIndex only after we fail to load any font for the current family


git-svn-id: svn://10.0.0.236/trunk@82615 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 19:58:20 +00:00
varada%netscape.com
2885d058fd fix for bug#60037; changing N6Setup.exe to setup.exe
git-svn-id: svn://10.0.0.236/trunk@82614 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 19:20:47 +00:00
varada%netscape.com
8a5811a48f fix for 59020; changing typical to recommended
git-svn-id: svn://10.0.0.236/trunk@82613 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 19:11:45 +00:00
varada%netscape.com
68a154b027 partial fix for bug#31205; removing unnecessary stuff from the show values screen
git-svn-id: svn://10.0.0.236/trunk@82611 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 18:49:36 +00:00
ccarlen%netscape.com
6460e7e4a9 Bug 55891
r=brade, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@82610 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 15:58:54 +00:00
kestes%staff.mail.com
4278ab007f improve default $LOCK_FILE value.
explain that Storable is an untested CPAN module.


git-svn-id: svn://10.0.0.236/trunk@82609 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 15:41:01 +00:00
bienvenu%netscape.com
b9bb9611b6 fix rename/delete of imap folder with with mod-utf7 name sr=mscott 57131
git-svn-id: svn://10.0.0.236/trunk@82608 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 15:21:52 +00:00
morse%netscape.com
da451587b3 bug 59687, wallet to determine schema from displayable strings, r=dveditz, a=alecf
git-svn-id: svn://10.0.0.236/trunk@82607 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 14:32:06 +00:00
nboyd%atg.com
d0deab70b5 Fix bug:
slobo@espial.com wrote:
>
> Hello Mike
>
> In the following test case, tester returns "undefined cat" in Rhino
> while in NN it returns "meow cat".
>
> Thanks
>
> Steven
>
> /////////////////////////////////////////////////////////////////////
> function tester(nest){
>     var nest = nest+" cat";
>     alert(nest);
>     // nest now contains the value undefined.
> }
>
> tester("meow");


git-svn-id: svn://10.0.0.236/trunk@82606 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 13:30:55 +00:00
idk%eng.sun.com
1b9a555661 * not part of tbox build *
Updated for tip of Netscape_20000922_BRANCH
Updated for Solaris


git-svn-id: svn://10.0.0.236/trunk@82604 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 09:04:38 +00:00
mkaply%us.ibm.com
ff71082671 #59397
r=jkobal, a=blizzard
Forgot to add new files


git-svn-id: svn://10.0.0.236/trunk@82603 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 04:03:27 +00:00
ccarlen%netscape.com
96fd7af5f0 NOT PART OF THE BUILD.
Add clipboard support.


git-svn-id: svn://10.0.0.236/trunk@82602 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 03:45:53 +00:00
rginda%netscape.com
37eb1a8437 refactored lexer bits from icodeasm into lexutils
refactored exceptions from icodeasm into exception*
fixed LeadingCap method names to be interCapped
added string8 and string16 typedefs (as opposed to string vs String)


git-svn-id: svn://10.0.0.236/trunk@82601 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 03:11:54 +00:00
sonmi%netscape.com
7995becc53 no more temp files, all saved for later debugging purpose
runs with /bin/sh now


git-svn-id: svn://10.0.0.236/trunk@82600 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 02:24:44 +00:00
mkaply%us.ibm.com
fdabad01f2 #58805
r=mkaply, a=blizzard
More cleanup on nsAppShell


git-svn-id: svn://10.0.0.236/trunk@82599 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 01:36:03 +00:00
mkaply%us.ibm.com
03c0d0d728 #59397
r=jkobal, a=blizzard
Code from jblanco makes our file dialogs much better


git-svn-id: svn://10.0.0.236/trunk@82598 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 01:28:37 +00:00
mscott%netscape.com
16a097fdf1 Bug #53082 --> set the answered or forwarded flag on a message when we reply to it.
r=putterman
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@82597 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 01:13:00 +00:00
mscott%netscape.com
74b3b298ae Bug #53082 --> implement setMessageDispositionState
r=putterman
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@82596 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 01:12:21 +00:00
mscott%netscape.com
066596b27c Bug #53082 --> set the DB flag for marking a message as replied or forwarded.
r=putterman,sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@82595 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 01:11:15 +00:00
mscott%netscape.com
1d2883d07f Bug #53082 --> add API for setMessageDispositionState which is used to mark
the dispostition state for a message as either forwarded or replied, etc.
r=putterman
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@82594 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 01:10:41 +00:00
mkaply%us.ibm.com
8ec319a291 #60020
r=cls
Makefile changes to enable/disable console on OS/2


git-svn-id: svn://10.0.0.236/trunk@82593 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 00:50:30 +00:00
mkaply%us.ibm.com
aa394c6aa0 #58462
r=av, sr/a=none
OS/2 plugins need events too


git-svn-id: svn://10.0.0.236/trunk@82592 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 00:40:58 +00:00
alecf%netscape.com
16805e93f3 fix for #49424 - don't cache the string bundle if the file doesn't load
r=tao a=alecf


git-svn-id: svn://10.0.0.236/trunk@82591 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 00:15:43 +00:00
javi%netscape.com
9e499b5cd9 Add text for the module name for root certificates.
git-svn-id: svn://10.0.0.236/trunk@82590 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-14 00:02:03 +00:00
mcafee%netscape.com
422348238c Need to edit configure script in step 1, another minor comment change.
git-svn-id: svn://10.0.0.236/trunk@82589 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 23:48:11 +00:00
waterson%netscape.com
a452bd880a Prepend local dir to WATCH.
git-svn-id: svn://10.0.0.236/trunk@82588 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 23:37:00 +00:00
waterson%netscape.com
289c0ed05c First checked in.
git-svn-id: svn://10.0.0.236/trunk@82587 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 23:36:59 +00:00
mcafee%netscape.com
370b36ae4c Minor comment updates
git-svn-id: svn://10.0.0.236/trunk@82586 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 23:00:16 +00:00
javi%netscape.com
579f72ec75 Check in the shell for loading the root cert dll.
git-svn-id: svn://10.0.0.236/trunk@82585 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 22:57:19 +00:00
mkaply%us.ibm.com
a6e4f65034 #59494
Back out timer change


git-svn-id: svn://10.0.0.236/trunk@82584 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 22:52:08 +00:00
bienvenu%netscape.com
9b8212d4ea fixes for hierarchy delimiter handling, multiple fetches of imap messages to retrieve inline attachments, crash in morkRowObject::CloseRowObject r=mscott 52260, 59376 58691
git-svn-id: svn://10.0.0.236/trunk@82583 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 22:35:50 +00:00
bienvenu%netscape.com
fb8fe99a4d add method to get cache entry for mail news url r=mscott part of fix for 52260
git-svn-id: svn://10.0.0.236/trunk@82582 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 22:27:34 +00:00
cls%seawood.org
e7093765b0 Update GetBoundingMetrics() api for xlib + mathml case
git-svn-id: svn://10.0.0.236/trunk@82581 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 22:15:42 +00:00
nboyd%atg.com
005ebf7d84 Subject:
More changes to support non NativeJavaObject wrappers
   Date:
        Fri, 03 Nov 2000 17:56:38 +0100
   From:
        Igor Bukanov <igor@icesoft.no>
     To:
        nboyd@atg.com




Hi, Norris,

In post 1.5 rhino one can introduce own wrappers for arbitrary Java
objects. But I think to fully support this
org.mozilla.javascript.ScriptRuntime should be changes as well: its eq
and shallow_eq contain references to NativeJavaObject, this should be
replaced at least to Wrapper (see the atached patch). Even better
solution would be to add to WrapHandler methods to compare wrappers: I
can send a patch for that as well.

There is a small usability problem as well: if
org.mozilla.javascript.JavaMembers would be public I do not need to copy
it to a package with non NativeJavaObject.java wrapper.

Regards, Igor


git-svn-id: svn://10.0.0.236/trunk@82580 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 22:10:35 +00:00
ducarroz%netscape.com
68ef2aed3f fix SunOS/sparc bustage
git-svn-id: svn://10.0.0.236/trunk@82579 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 21:45:28 +00:00
mkaply%us.ibm.com
4142342d3e #58491
r=av, sr/a=scc
Change legacy plugin interfaces to C not C++


git-svn-id: svn://10.0.0.236/trunk@82578 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 21:40:27 +00:00
alecf%netscape.com
5652c4e097 fix for 59799, among other things..
Within content areas:
- don't drag form widgets
- don't drag anonymous XBL content
- correctly remove the title from the URL on a drop
r=jag, a=me


git-svn-id: svn://10.0.0.236/trunk@82577 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 21:33:05 +00:00
blakeross%telocity.com
672610c612 Fix 43728: needs to be a way to scroll autoscrollable menus via keyboard. patch by Jan Varga (varga@utcru.sk). r=pinkerton a=hyatt
git-svn-id: svn://10.0.0.236/trunk@82576 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 21:25:07 +00:00
blakeross%telocity.com
919a554018 Fix 59613: can't switch sidebar tabs in modern-based themes. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82575 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 21:02:25 +00:00
nhotta%netscape.com
688ac08feb Corrected language names for Norwegian, bug 56069, r=erik, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@82574 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 20:47:37 +00:00
nhotta%netscape.com
85d6f1cb5e Changed wording of the message compose charset warning, check in for gemal@gemal.dk, bug 52429, r=nhotta, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@82573 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 20:47:19 +00:00
morse%netscape.com
ac380a36e9 bug 57761, missing words in menu, r=jrgm, a=ben
git-svn-id: svn://10.0.0.236/trunk@82572 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 20:09:21 +00:00
pinkerton%netscape.com
cf40e8bed0 fix to get mac embed harness building. r=ccarlen.
git-svn-id: svn://10.0.0.236/trunk@82571 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 20:03:59 +00:00
ducarroz%netscape.com
6baa2a081a Fix for bug 54853. This is a patch submitted by bzbarsky@mit.edu. Even if the message compose window is initialized from a compose fields, we need to add info like reply-to or bcc from the current identity. R=ducarroz, SR=bienvenu,mscott
git-svn-id: svn://10.0.0.236/trunk@82570 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 19:54:57 +00:00
sonmi%netscape.com
2600e90a99 changed and improved selfserver / testclient and stressclient communication
all through the script


git-svn-id: svn://10.0.0.236/trunk@82569 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 18:49:14 +00:00
bnesse%netscape.com
097e775fd8 Load the library on all platforms if it hasn't already been loaded. Fix for bug #57885 r=av, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@82568 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 18:42:43 +00:00
pinkerton%netscape.com
807cf34b07 make the tooltip go away when the mouse moves. Also fix a problem for win32 where the tooltip auto-hiding would cause the timer to show again. r=blake/sr=sfraser. bug# 59917.
git-svn-id: svn://10.0.0.236/trunk@82567 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 18:18:38 +00:00
bryner%uiuc.edu
9621fbe2ab Bug 58589 - groundwork for horizontal mousewheel scrolling. r=jkobal, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@82566 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 18:16:43 +00:00
mkaply%us.ibm.com
efb33345ed #59770
r=mkaply, a=blizzard
Code from jkobal to fix spacebard with shift down


git-svn-id: svn://10.0.0.236/trunk@82565 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 15:43:42 +00:00
bryner%uiuc.edu
e1a5899271 Lots of code cleanup for the filepicker. Fixes bug 58694 (strict warnings). r=jag, a=ben.
git-svn-id: svn://10.0.0.236/trunk@82564 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 15:22:27 +00:00
brade%netscape.com
206c9d4888 fix image dimension problems (updating/constraining/etc.); r=kin; sr=sfraser; bug #57313
git-svn-id: svn://10.0.0.236/trunk@82563 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 15:06:59 +00:00
alecf%netscape.com
ac21f61e90 changing NS_DEBUG to DEBUG_attinasi to quiet down the console output
(no bug - this is just changing some debug-only #ifdefs)


git-svn-id: svn://10.0.0.236/trunk@82562 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 08:27:01 +00:00
mkaply%us.ibm.com
fefde5a05d OS/2 TB breakage
PR_CALLBACK only applies if it is a C function, not a member of a C++ class


git-svn-id: svn://10.0.0.236/trunk@82561 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 05:28:27 +00:00
pinkerton%netscape.com
ad8c4fafa0 register tooltip listener to listen for keypresses. r=danm, a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@82560 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-12 22:38:07 +00:00
pinkerton%netscape.com
c54798bb35 fix a slew of tooltip annoyances. pref to turn them off, they time out after 5 seconds, and they go away when you start typing. r=danm, a=hyatt. bugs 56920, 46544, 53653, 45530.
git-svn-id: svn://10.0.0.236/trunk@82559 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-12 22:09:13 +00:00
jst%netscape.com
6f5185f86d Making the method NS_NewXMLEntity() match its prototype, no bug. Problem found by Sorin Banu <sbanu@softwin.ro>. r=pollmann, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@82557 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-11 23:54:44 +00:00
sspitzer%netscape.com
c886b698e7 fix uninitialized variable. #59673. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82553 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-11 14:58:52 +00:00
bryner%uiuc.edu
e793676c1f Bug 59465 - retain multiple selection on right-click. r=disttsc@bart.nl, r/a=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@82552 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-11 07:42:52 +00:00
javi%netscape.com
2ca44a096a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@82551 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-11 02:26:21 +00:00
varada%netscape.com
844172522a fix for 58849;copying readme file to setup location
git-svn-id: svn://10.0.0.236/trunk@82548 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 21:52:44 +00:00
sspitzer%netscape.com
0e4ac5bba9 backing edburns out to open up the tree.
sorry ed.  a=granrose


git-svn-id: svn://10.0.0.236/trunk@82547 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 21:24:24 +00:00
kestes%staff.mail.com
ad7db62b14 The image module is not used at Mozilla.org in tinderbox1 anymore and
I never got the code working in tinderbox2 anyway.


git-svn-id: svn://10.0.0.236/trunk@82545 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 19:14:12 +00:00
sspitzer%netscape.com
b8a2e039b0 fix uninitialized variable. #59673. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82535 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 15:28:47 +00:00
sspitzer%netscape.com
f9cbecab17 fix uninitialized variable. #59673. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82529 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 15:20:46 +00:00
sspitzer%netscape.com
a89b010409 fix uninitialized variable. #59673. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82528 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 15:15:28 +00:00
sspitzer%netscape.com
abb8b454fd fix warnings. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82527 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 15:05:55 +00:00
kin%netscape.com
bdf22faafc Fix from katakai@japan.sun.com for bug #58698: Solaris only: cmd_cut operation fails in optimize build
Initialize result with NS_OK in CreateTxnsToDeleteContent().
r=kin@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@82526 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 14:53:40 +00:00
sspitzer%netscape.com
495c5d4819 fix for #59231. sr=mscott. if we use insecure login and the password
contain a "\", we'll fail.  the fix is to send "\\" for every "\".


git-svn-id: svn://10.0.0.236/trunk@82524 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 05:27:44 +00:00
sspitzer%netscape.com
924f63f264 turn off the the debug printfs.
git-svn-id: svn://10.0.0.236/trunk@82523 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 05:22:51 +00:00
cls%seawood.org
f1cdacb5f8 Replacing RH6.0 specific check for older ORBit (which has libIDL.so but not libIDL-config) with generic check. r=ramiro@eazel.com Bug #59695
git-svn-id: svn://10.0.0.236/trunk@82522 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 04:26:38 +00:00
alecf%netscape.com
a845efde6a big rewrite of drag & drop code to fix #52519
- fix warnings
- change title/url separator to "\n"
- clean up image dragging
- consolidate code
r=jag, a=ben


git-svn-id: svn://10.0.0.236/trunk@82521 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 02:54:17 +00:00
sonmi%netscape.com
dd7e6705b4 changed the way the -i option (NULL ciphers) are being handeled once more
also changed shell from ksh to sh, added more output to results.html


git-svn-id: svn://10.0.0.236/trunk@82520 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 02:07:17 +00:00
nelsonb%netscape.com
56ecdac735 Release the SpecRead Lock before returning in an error path.
This bug was found while reading code looking for a different bug.


git-svn-id: svn://10.0.0.236/trunk@82519 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 01:36:26 +00:00
disttsc%bart.nl
be1daf13dc Checking in the correct patch for bug 59526.
git-svn-id: svn://10.0.0.236/trunk@82518 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 01:30:07 +00:00
bienvenu%netscape.com
32b1d8041a fix problem with alerts locking ui when imap connection is down, r=mscott 58547
git-svn-id: svn://10.0.0.236/trunk@82517 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 01:00:45 +00:00
cls%seawood.org
40a69f16e3 Added LOOP_OVER_MOZ_DIRS macro which does not descend into directories with static makefiles
git-svn-id: svn://10.0.0.236/trunk@82516 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 00:55:44 +00:00
mcgreer%netscape.com
f887580126 fix the testing for null ciphers by relaunching the server
git-svn-id: svn://10.0.0.236/trunk@82515 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 00:25:50 +00:00
edburns%acm.org
c692199dd2 bug 59526
sr=waterson
r=valeski

This bullet-proofs the code so the one thread does not exit twice.


git-svn-id: svn://10.0.0.236/trunk@82513 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 23:49:57 +00:00
edburns%acm.org
e133c0a16e bug=59530
sr=waterson
r=valeski
This fix removes the two instances of the unsafe practice of having
static nsCOMPtr instances, either as static data members or or file
static variables.  This practice prevents the proper ref-counting of
such instances, and leads to accessing the instances after their
ref-count has gone to 0.

The following files are in this fix:

widget/timer/src/windows/nsTimer.cpp
xpfe/components/bookmarks/src/nsBookmarksService.cpp
xpfe/components/bookmarks/src/nsBookmarksService.h
widget/timer/src/windows/nsWindowsTimer.h


git-svn-id: svn://10.0.0.236/trunk@82512 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 23:46:39 +00:00
edburns%acm.org
fd5279eb21 bug 59530
r=waterson, sr=waterson
This fix removes the two instances of the unsafe practice of having
static nsCOMPtr instances, either as static data members or or file
static variables.  This practice prevents the proper ref-counting of
such instances, and leads to accessing the instances after their
ref-count has gone to 0.

The following files are in this fix:

widget/timer/src/windows/nsTimer.cpp
xpfe/components/bookmarks/src/nsBookmarksService.cpp
xpfe/components/bookmarks/src/nsBookmarksService.h
widget/timer/src/windows/nsWindowsTimer.h


git-svn-id: svn://10.0.0.236/trunk@82511 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 23:45:26 +00:00
edburns%acm.org
d2b159d460 nsTimer.cpp
git-svn-id: svn://10.0.0.236/trunk@82510 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 23:44:03 +00:00
disttsc%bart.nl
e14d83220e Hrm... One weird hidden dependancy fixed.
git-svn-id: svn://10.0.0.236/trunk@82509 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 23:12:07 +00:00
leaf%mozilla.org
cb328fe837 Automated update
git-svn-id: svn://10.0.0.236/trunk@82508 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 23:00:11 +00:00
mcgreer%netscape.com
f8536ee745 pk12util arises from the dead!
git-svn-id: svn://10.0.0.236/trunk@82507 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 23:00:00 +00:00
mcgreer%netscape.com
a7966074c4 make read/write work
git-svn-id: svn://10.0.0.236/trunk@82506 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 22:59:38 +00:00
leaf%mozilla.org
b815f0b3fe Automated update
git-svn-id: svn://10.0.0.236/trunk@82505 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 22:15:10 +00:00
javi%netscape.com
62e24ef5ef Remove a duplicate access path that was an absolute path and would only be good on one development machine.
git-svn-id: svn://10.0.0.236/trunk@82504 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 22:05:08 +00:00
despotdaemon%netscape.com
4f9fd63ad3 Pseudo-automatic update of changes made by mcgreer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@82503 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 21:50:00 +00:00
mkaply%us.ibm.com
9f87c93673 #59400
r=mkaply, a=blizzard
Code from jkobal to fix more clipboard stuff


git-svn-id: svn://10.0.0.236/trunk@82502 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 21:34:43 +00:00
disttsc%bart.nl
a919ea864b Whoops, forgot to remove one line
git-svn-id: svn://10.0.0.236/trunk@82501 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 21:14:43 +00:00
blakeross%telocity.com
c139033031 Fix 59559: wording change in prefs panel. patch by Stephen Walker (walk84@usa.net). r=me a=matt
git-svn-id: svn://10.0.0.236/trunk@82500 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 21:05:53 +00:00
varada%netscape.com
f86f1e46b0 fix for 59030;removing netscape 6 by from the installer screen first line
git-svn-id: svn://10.0.0.236/trunk@82499 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 21:02:56 +00:00
sspitzer%netscape.com
47c11c3bd6 initialize uninitialized variable. #50889, #59617. submitted by alex@pike.org, bruce@cubik.org.
r=sspitzer, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@82498 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 20:53:33 +00:00
jefft%netscape.com
9d142cff07 fixed bug 59470 -- failed to handle multipart/alternative message; r=rhp, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82497 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 20:34:12 +00:00
disttsc%bart.nl
b34ed638cd Moving nsIContentViewer over from webshell to docshell, converting from .h to .idl. Needed for bug 46200, r=moa=adam@netscape.com, a=alecf
git-svn-id: svn://10.0.0.236/trunk@82496 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 20:30:35 +00:00
jefft%netscape.com
23fe304558 fixed bug 57571 -- relative url crashes mail client; r=brendan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82495 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 20:29:39 +00:00
pinkerton%netscape.com
2d6c38a841 adding nsIContentViewer.idl for jag.
git-svn-id: svn://10.0.0.236/trunk@82494 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 20:28:41 +00:00
disttsc%bart.nl
8cac992e93 Make interview.html use moved wallet functions, bug=46200, r=a=alecf
git-svn-id: svn://10.0.0.236/trunk@82493 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 20:22:18 +00:00
varada%netscape.com
cd31a24ef3 fixing 59014; changing icons
git-svn-id: svn://10.0.0.236/trunk@82492 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 20:02:04 +00:00
kestes%staff.mail.com
cbb303e517 move the status table to its own file
improve prediction of when build will finish by adding 'deadtime'

Keep the spacing between builds greater then our HTML grid
spacing.  This used to be done in processmail, but that caused
problems with the MTA.


git-svn-id: svn://10.0.0.236/trunk@82491 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:55:52 +00:00
kestes%staff.mail.com
0b3f77612c add cache_cmd() and fix_time_format()
git-svn-id: svn://10.0.0.236/trunk@82490 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:48:05 +00:00
kestes%staff.mail.com
84ce8ff058 minor clenaup
git-svn-id: svn://10.0.0.236/trunk@82489 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:45:53 +00:00
kestes%staff.mail.com
f90b564b8a taken from TinderDB::Build.pm
git-svn-id: svn://10.0.0.236/trunk@82488 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:44:47 +00:00
kestes%staff.mail.com
07dc585027 make a distinction between: $TINDERBOX_HTML_DIR, $TINDERBOX_DATA_DIR
remove the tests for
        New build started too frequently.
        New build started before the previous one.
mailers are not so rational.


git-svn-id: svn://10.0.0.236/trunk@82487 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:43:49 +00:00
kestes%staff.mail.com
cda7d75212 remove references to image module
make a distinction between: $TINDERBOX_HTML_DIR, $TINDERBOX_DATA_DIR


git-svn-id: svn://10.0.0.236/trunk@82486 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:40:51 +00:00
kestes%staff.mail.com
27f8c32bcd use new module: BuildStatus
make a distinction between: $TINDERBOX_HTML_DIR, $TINDERBOX_DATA_DIR


git-svn-id: svn://10.0.0.236/trunk@82485 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:40:19 +00:00
kestes%staff.mail.com
1fa4a6c3c9 ensure that the filenames are taint clean
git-svn-id: svn://10.0.0.236/trunk@82484 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:39:22 +00:00
kestes%staff.mail.com
df3f7b4d9f make a distinction between: $TINDERBOX_HTML_DIR, $TINDERBOX_DATA_DIR
general cleanup and improved comments.


git-svn-id: svn://10.0.0.236/trunk@82483 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:38:34 +00:00
kestes%staff.mail.com
32c7ed1df5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@82482 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:34:36 +00:00
kestes%staff.mail.com
90895f109b add taint support
prevent users from accidentally editing files in
    build or install directory
check that code compiles before installing


git-svn-id: svn://10.0.0.236/trunk@82481 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:34:25 +00:00
kestes%staff.mail.com
699ca71d1a regularize use statements
git-svn-id: svn://10.0.0.236/trunk@82480 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:31:05 +00:00
kestes%staff.mail.com
9569c79b5f regularize the use statements
git-svn-id: svn://10.0.0.236/trunk@82479 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:29:08 +00:00
kestes%staff.mail.com
7eec139ed8 make code taint safe and use a configureation
file for setting #perlflags#


git-svn-id: svn://10.0.0.236/trunk@82478 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:22:00 +00:00
kestes%staff.mail.com
c2adb51664 add a statement:
use lib '#tinder_libdir#';


git-svn-id: svn://10.0.0.236/trunk@82477 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:17:56 +00:00
mcgreer%netscape.com
968df95d05 only launch the server once for coverage tests
git-svn-id: svn://10.0.0.236/trunk@82476 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:17:55 +00:00
kestes%staff.mail.com
bf7f5440cf add a statement:
use lib '#tinder_libdir#';

ensure that all filnames are taint free, they can come from globs


git-svn-id: svn://10.0.0.236/trunk@82475 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:17:39 +00:00
mcgreer%netscape.com
26c5151a23 add new ping command to usage
git-svn-id: svn://10.0.0.236/trunk@82474 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:17:04 +00:00
kestes%staff.mail.com
1369bba26f add a statement:
use lib '#tinder_libdir#';
cache CVS calls during run for increased speed.


git-svn-id: svn://10.0.0.236/trunk@82473 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:16:08 +00:00
kestes%staff.mail.com
22182f08c5 make a distinction between $TINDERBOX_HTML_DIR and
$TINDERBOX_DATA_DIR


git-svn-id: svn://10.0.0.236/trunk@82472 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:14:31 +00:00
kestes%staff.mail.com
e4db34e154 add test for fix_time_format_tst()
git-svn-id: svn://10.0.0.236/trunk@82471 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:13:17 +00:00
kestes%staff.mail.com
74ef9c1fb4 regularize the use statements.
git-svn-id: svn://10.0.0.236/trunk@82470 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:12:55 +00:00
kestes%staff.mail.com
40d3c9e799 make code taint safe by filtering output of globs.
git-svn-id: svn://10.0.0.236/trunk@82469 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:11:22 +00:00
kestes%staff.mail.com
a071299d3f make code taint safe by filtering output of globs.
git-svn-id: svn://10.0.0.236/trunk@82468 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:10:45 +00:00
terry%mozilla.org
a6732080cc Make 'doomed' reports honor the per-product defaultmilestone setting, rather than looking at the obsolete system-wide 'curmilestone' param.
git-svn-id: svn://10.0.0.236/trunk@82467 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 18:57:51 +00:00
mcgreer%netscape.com
e941348583 add "-q" option for creating a client which will "ping" the server until it
is available, or for 1 minute, whichever comes first


git-svn-id: svn://10.0.0.236/trunk@82465 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 18:29:52 +00:00
brade%netscape.com
2f240f910a always lowercase so alignment now works; r=kin; sr=sfraser; bug #57298
git-svn-id: svn://10.0.0.236/trunk@82464 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 14:40:57 +00:00
jst%netscape.com
c9abd37b7e Fixing bug 48031. Adding missing nullpointer checks to fix crashes in AppendChild(), RemoveChild(), ReplaceChild(), ... in nsDocument. r=nisheeth, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@82463 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 06:38:00 +00:00
alecf%netscape.com
cc3c028808 two more OpenBookmarkURL's that blake missed a=myself, r=jag
(this is consistent with blake & jag's earlier checkins)


git-svn-id: svn://10.0.0.236/trunk@82462 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 05:30:14 +00:00
nhotta%netscape.com
fe495f08de Null pointer check to prevent a crash by edit from desktop for Japanese path name, bug 59466, r=akkana, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@82461 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 04:35:38 +00:00
blakeross%telocity.com
9fe4a7cd2f fixing minor problem with my last fix. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82460 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 04:07:34 +00:00
sspitzer%netscape.com
6712444f77 add a sneaky hack for testing if rdf random access enumerators will
be a performance win, if we implement them.

this is temporary code.

(the other piece is non-temporary.  we had an uninitialized variable)

r=putterman, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@82459 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 03:57:50 +00:00
bienvenu%netscape.com
bd1505b512 fix delete to trash on cyrus servers -=r=jefft sr=mscott 58686
git-svn-id: svn://10.0.0.236/trunk@82458 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 02:47:41 +00:00
nelsonb%netscape.com
65d4fcca9a Build rsaperf benchmarking tool during nightly builds now.
git-svn-id: svn://10.0.0.236/trunk@82457 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 02:03:30 +00:00
despotdaemon%netscape.com
93ccadb7a5 Pseudo-automatic update of changes made by mcgreer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@82456 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 01:35:36 +00:00
despotdaemon%netscape.com
a278753f6b Pseudo-automatic update of changes made by mcgreer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@82455 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 01:28:17 +00:00
bienvenu%netscape.com
d953af4307 fix return value of SetInt32Property, groundwork for fix for 58691 imap hiearchy delimiter problems sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82454 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 01:26:35 +00:00
javi%netscape.com
3e964550af Clean this project up and make it build with NSS on the tip for both optimized and debugged.
No longer link in NSSCrupto libraries since the open NSS libraries now provide that functionality.

Don't build mac_rand.c since it gets built as part of the NSS libraries we link in.


git-svn-id: svn://10.0.0.236/trunk@82453 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 01:08:06 +00:00
javi%netscape.com
f8a4087196 Clean up the project some.
Only build sysrand.c instead of sysrand.c and mac_rand.c which ultimately are the same thing.


git-svn-id: svn://10.0.0.236/trunk@82452 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 01:06:22 +00:00
alecf%netscape.com
9ddacf9026 remove typo to fix bustage
git-svn-id: svn://10.0.0.236/trunk@82451 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:40:39 +00:00
alecf%netscape.com
bd675ec01c fix for #58103 - implement nsXULDocument::CreateRange()
sr=waterson


git-svn-id: svn://10.0.0.236/trunk@82450 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:32:27 +00:00
danm%netscape.com
723b66ed02 force windows based on modal windows to themselves be modal. bug 56677 r=brendan,hyatt
git-svn-id: svn://10.0.0.236/trunk@82449 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:18:38 +00:00
danm%netscape.com
5f6194b29e allow content windows to be modal/dependent, like chrome windows. bug 56677 r=brendan,hyatt
git-svn-id: svn://10.0.0.236/trunk@82448 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:18:03 +00:00
danm%netscape.com
b99b753bfb empty implementations for new method IsModal. bug 56677 r=brendan,hyatt
git-svn-id: svn://10.0.0.236/trunk@82447 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:17:09 +00:00
danm%netscape.com
f7c68cea67 new method IsModal. bug 56677 r=brendan,hyatt
git-svn-id: svn://10.0.0.236/trunk@82446 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:16:29 +00:00
bienvenu%netscape.com
a400e8c18d move NotifyStoreClosedAllHeaders to base class so imap can call it to fix 59376 crash in morkRowObject::CloseRowObject r=mscott
git-svn-id: svn://10.0.0.236/trunk@82445 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:14:22 +00:00
blakeross%telocity.com
18ad3326cc Fix 48876: make d&d and modifier-/middle-click possible throughout the app and implement selection within link (50673). Also fixes 59520, 48780, 48632, 57588, 59132. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82444 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:06:54 +00:00
sspitzer%netscape.com
9a8f8e2f66 minor fix. sr=warren
git-svn-id: svn://10.0.0.236/trunk@82443 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 23:59:13 +00:00
locka%iol.ie
0e3cbc8f9d added files: mozilla/docshell/base/nsCDefaultURIFixup.idl, mozilla/docshell/base/nsIURIFixup.idl
git-svn-id: svn://10.0.0.236/trunk@82442 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 23:20:36 +00:00
svn%xmlterm.org
4d7b8ed829 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Changed non-owning references in mozXMLTerminal to weak references to avoid
crash in mozXMLTerminal::Finalize when exiting xmlterm.


git-svn-id: svn://10.0.0.236/trunk@82441 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 22:20:18 +00:00
svn%xmlterm.org
6dc049ba8a --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Fixed error/warning message output to eliminate beeping problem.


git-svn-id: svn://10.0.0.236/trunk@82440 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 22:11:00 +00:00
karnaze%netscape.com
67e3f43fe8 Added more file lists. Fixed unix script to recognize multiple lists. This does not affect the build.
git-svn-id: svn://10.0.0.236/trunk@82439 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 22:09:57 +00:00
mcgreer%netscape.com
b37e50d262 initial mozilla checkin of the roots from the following companies:
Verisign/Thawte
Valicert
BelSign/GlobalSign
TrustCenter


git-svn-id: svn://10.0.0.236/trunk@82438 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 22:07:51 +00:00
mkaply%us.ibm.com
c9e93bf35a #58462
r=av, sr/a=waterson
Add OS/2 calling conventions for plugins


git-svn-id: svn://10.0.0.236/trunk@82437 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 21:28:38 +00:00
jeff.dyer%compilercompany.com
aeec17b652 Fix the first startup test.
git-svn-id: svn://10.0.0.236/trunk@82436 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 21:05:58 +00:00
locka%iol.ie
b4aaee2be4 added files: mozilla/docshell/base/nsDefaultURIFixup.cpp, mozilla/docshell/base/nsDefaultURIFixup.h
git-svn-id: svn://10.0.0.236/trunk@82435 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 21:05:25 +00:00
locka%iol.ie
fc5ff9fc9c Moved URI fixup code out of docshell and into a global service. b=51702, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@82434 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 21:00:37 +00:00
mccabe%netscape.com
4f5e93f6f6 Fix to 58946.
Make try { ... } catch(exn) { return exn } work by ensuring that the return value (exn) is maintained on the stack as we pop off scopes to return from the try/catch/finally.  The newly added JSOP_SWAP opcode helps us bubble.

This fixes a regression uncovered by the fix to 56716.

(I've noticed that this causes *depend* builds of the standalone JS shell to crash on this construct, but I've tested in the Mozilla build, and the dependencies seem to solve the problem there.)

r=brendan.mozilla.org
sr=jband@netscape.com


git-svn-id: svn://10.0.0.236/trunk@82433 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 20:39:43 +00:00
dmose%mozilla.org
4252e0481e updated comments relating to cvs patch requirements
git-svn-id: svn://10.0.0.236/trunk@82431 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 19:53:40 +00:00
beard%netscape.com
9c3a7e2d84 Replaced occurrences of $$, $1, $2 with result, first, second. CodeWarrior doesn't like $ characters in identifiers.
git-svn-id: svn://10.0.0.236/trunk@82430 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 19:50:39 +00:00
Jerry.Kirk%Nexwarecorp.com
46797d4330 PHOTON ONLY: Added a Kung Foo Deathgrip to the Timer Event handler
so the timer could not be destroyed while inside the callback. I
did it just like GTK did it. It was crashing at http://www.uescape.com


git-svn-id: svn://10.0.0.236/trunk@82425 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 13:54:15 +00:00
jefft%netscape.com
91ed2a01ba fixed bug 59460 -- unable to display international message; r=sspitzer, scottip333; sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82424 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 08:03:44 +00:00
waterson%netscape.com
ca5814a49b Bug 58778. Improve RTTI heuristics for Linux, and turn them on! r=beard, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@82423 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 06:44:33 +00:00
jband%netscape.com
9dc5349161 Add null ptr check to fix bug 59281. r=adamlock sr=waterson
git-svn-id: svn://10.0.0.236/trunk@82422 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 06:31:57 +00:00
tor%cs.brown.edu
29720c9727 Bug 59386 - off-by-one error in gtk alpha compositor divisor
causing blending artifacts, plus cleanup by moving compositing
calculation to a macro.  r=bryner, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@82421 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 05:17:23 +00:00
dbaron%fas.harvard.edu
0d7a67caac Release static nsDOMScriptObjectFactory, nsBoxLayout, and nsRepeatService in layout module destructor. r=jst@netscape.com b=43576 r=evaughan@netscape.com b=43582,43588 sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82420 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:22:03 +00:00
dbaron%fas.harvard.edu
8205ca1c3f Fix leaks of nsBoxLayout and nsRepeatService by freeing in layout module destructor. (Uses raw pointers instead of static nsCOMPtrs.) r=evaughan@netscape.com sr=brendan@mozilla.org b=43582, 43588
git-svn-id: svn://10.0.0.236/trunk@82419 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:20:22 +00:00
dbaron%fas.harvard.edu
a3645fac5c Fix leak of nsDOMScriptObjectFactory by freeing in layout module destructor. r=jst@netscape.com sr=brendan@mozilla.org b=43576
git-svn-id: svn://10.0.0.236/trunk@82418 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:17:18 +00:00
dbaron%fas.harvard.edu
1fab9ffaf8 Fix leak of an nsIURI (the URL of the quirk stylesheet). Patch from inaky.gonzalez@intel.com. r=attinasi@netscape.com sr=brendan@mozilla.org b=43656
git-svn-id: svn://10.0.0.236/trunk@82417 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:13:53 +00:00
dbaron%fas.harvard.edu
04c231b23e Fix leak of arrays allocated in GetPluginInfo. r=av@netscape.com sr=brendan@mozilla.org b=59159
git-svn-id: svn://10.0.0.236/trunk@82416 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:10:37 +00:00
dbaron%fas.harvard.edu
1d89ca0d26 Fix leak of nsConnectionCacheObj for FTP connections to nonexistant sites. r=valeski@netscape.com sr=brendan@mozilla.org b=58948
git-svn-id: svn://10.0.0.236/trunk@82415 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:08:23 +00:00
dbaron%fas.harvard.edu
256a605351 Make nsDestroyJSPrincipals stop confusing the leak stats by calling AddRef, but not when the refcount is 0. r=mstoltz@netscape.com sr=brendan@mozilla.org b=59135
git-svn-id: svn://10.0.0.236/trunk@82414 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:06:57 +00:00
dbaron%fas.harvard.edu
cf67dceed1 Fix leak of gViewManagers nsVoidArray. r=roc+moz@cs.cmu.edu sr=brendan@mozilla.org b=58965
git-svn-id: svn://10.0.0.236/trunk@82413 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:04:02 +00:00
dbaron%fas.harvard.edu
4cb75fda5a Remove the last remnants of the misspelled nsTextFormater and remove the misspelled files. r=erik@netscape.com sr=brendan@mozilla.org b=16951
git-svn-id: svn://10.0.0.236/trunk@82412 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:02:17 +00:00
dbaron%fas.harvard.edu
531c2e3ee0 Fix leak of mCurrentFocus that caused input element in URL bar to leak. r=saari@netscape.com sr=hyatt@netscape.com b=59042
git-svn-id: svn://10.0.0.236/trunk@82411 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 03:00:02 +00:00
dbaron%fas.harvard.edu
88006c5e39 Fix leak of ImageRequestImpl. r=pnunn@netscape.com sr=brendan@mozilla.org b=59179
git-svn-id: svn://10.0.0.236/trunk@82410 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 02:57:37 +00:00
dbaron%fas.harvard.edu
f953d98d6c Fix leak of nsFontGTK. Patch from bstell@netscape.com. r=erik@netscape.com sr=blizzard@mozilla.org b=5547
git-svn-id: svn://10.0.0.236/trunk@82409 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 02:56:10 +00:00
nelsonb%netscape.com
0f1491f068 Add new default public and private RSA keys.
git-svn-id: svn://10.0.0.236/trunk@82408 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 02:46:20 +00:00
nelsonb%netscape.com
5236cb62a3 Add values for test modulus and exponent for benchmarking purposes.
git-svn-id: svn://10.0.0.236/trunk@82407 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 02:44:17 +00:00
nelsonb%netscape.com
62d1dcc1df Fix mpp_pprime (Miller-Rabin Pseudo Primality test) to report MP_NO,
instead of MP_OKAY, for numbers == 3 mod 4 that are composite.
Also added two test cases to mpi-test.c.  Fixes bug 59438.


git-svn-id: svn://10.0.0.236/trunk@82406 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 01:52:52 +00:00
dprice%netscape.com
9723b2a687 Making the jar cache test more flexable.
Adding all-tests:: rule to makefile.win


git-svn-id: svn://10.0.0.236/trunk@82405 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 01:30:31 +00:00
javi%netscape.com
b1c0d85801 Add the MP_API_COMPATIBLE for Mac builds so that MPI libraries build
correctly.


git-svn-id: svn://10.0.0.236/trunk@82404 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 01:16:04 +00:00
javi%netscape.com
0942ce8c9e Modify the NSS project to use the new freebl code
git-svn-id: svn://10.0.0.236/trunk@82403 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 01:12:09 +00:00
javi%netscape.com
8092f6638b Make this file buildable on Mac
git-svn-id: svn://10.0.0.236/trunk@82402 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 01:11:23 +00:00
pschwartau%netscape.com
71f49ea4ea The const keyword is non-ECMA and not currently implemented in Rhino
git-svn-id: svn://10.0.0.236/trunk@82401 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 01:10:43 +00:00
javi%netscape.com
8aadacbd0e Make this file build on the Mac.
git-svn-id: svn://10.0.0.236/trunk@82400 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 01:06:47 +00:00
sfraser%netscape.com
58a8a69939 Fix for bug 48887 -- OpenURL apple event drops the last character of the URL. r=beard, sr=scc. Trunk checkin.
git-svn-id: svn://10.0.0.236/trunk@82399 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 00:53:30 +00:00
heikki%netscape.com
41b020b9c1 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@82397 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 00:42:42 +00:00
heikki%netscape.com
cea389f229 Bug 51428, fix UMR in nsEventStateManager::DispatchNewEvent
git-svn-id: svn://10.0.0.236/trunk@82396 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 00:33:37 +00:00
heikki%netscape.com
de26e0d8e5 Bug 48886, fix UMR and clean up some ugly code. r=jst, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@82395 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 00:31:06 +00:00
mkaply%us.ibm.com
635e0685ba #59255
r=mkaply, a=blizzard
Code from Dmitry Kubov to fix Arial


git-svn-id: svn://10.0.0.236/trunk@82394 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 22:50:46 +00:00
mkaply%us.ibm.com
42d2a56ca4 #59380
r=mkaply, a=blizzard
Code from jkobal/Dainis Jonitis to fix private clipboard formats


git-svn-id: svn://10.0.0.236/trunk@82393 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 22:31:41 +00:00
mkaply%us.ibm.com
e9c023316f #59381
r=mkaply, a=blizzard
Not handling border and window styles


git-svn-id: svn://10.0.0.236/trunk@82392 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 22:22:43 +00:00
mkaply%us.ibm.com
c03bbef3af #59396
r=jkobal, a=blizzard
Using wrong value for nsLookAndFeel, and wrong font checks


git-svn-id: svn://10.0.0.236/trunk@82391 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 22:17:55 +00:00
bratell%lysator.liu.se
df6fc2c67e Fix for 59181. HTML lists and format=flowed don't work together. The solution is to disable flow when lines are indented. r=akkana sr=vidur
git-svn-id: svn://10.0.0.236/trunk@82389 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 20:02:54 +00:00
robinf%netscape.com
f7286c7b50 fixinb bug 59019
git-svn-id: svn://10.0.0.236/trunk@82388 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 19:33:01 +00:00
pavel%gingerall.cz
a960aa3312 - jsperl.c compiled with js programm, not with libjs
- better JS value tie methods
- memory leaks fixed
- support of digging native js error from exception


git-svn-id: svn://10.0.0.236/trunk@82385 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 15:24:49 +00:00
kvisco%ziplink.net
678862fcf4 Not part of regular build. ContextState now extends
NamespaceResolver. ElementExpr has some code for handling namespaces.


git-svn-id: svn://10.0.0.236/trunk@82382 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 10:49:07 +00:00
kvisco%ziplink.net
c03e7cde3f Not part of regular build. Added method for resolving by prefix only
git-svn-id: svn://10.0.0.236/trunk@82381 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 10:47:17 +00:00
kvisco%ziplink.net
5e2036fad3 Not part of regular build. Added new method for NamespaceResolver
git-svn-id: svn://10.0.0.236/trunk@82380 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 10:46:03 +00:00
kvisco%ziplink.net
5193cdf065 Not part of regular build. Added fix for expressions starting with '/'
git-svn-id: svn://10.0.0.236/trunk@82379 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 10:42:35 +00:00
kvisco%ziplink.net
efe4468608 Not part of regular build. Patch to treat "abc:*" as an CNAME
git-svn-id: svn://10.0.0.236/trunk@82378 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 08:30:51 +00:00
pavlov%netscape.com
2a6a2ced8f commenting out some printfs r=ramiro
git-svn-id: svn://10.0.0.236/trunk@82377 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 08:29:59 +00:00
alecf%netscape.com
56277aab07 fix for #59125 - back out some stuff that I didn't mean to checkin
(wallet has to be loaded in main1() so that it registers correctly with the
observer service)
r=syd, sr=scc


git-svn-id: svn://10.0.0.236/trunk@82376 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 08:04:06 +00:00
blizzard%redhat.com
39e90cd15d fix bustage
git-svn-id: svn://10.0.0.236/trunk@82375 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 06:17:38 +00:00
koehler%mythrium.com
b3f112d355 reverted patch 55674
git-svn-id: svn://10.0.0.236/trunk@82374 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 05:56:30 +00:00
scc%mozilla.org
2e9c6662cc bug #39621, r=kmcclusky@netscape.com, sr=blizzard@mozilla.org. Enable the new view manager with a pref "nglayout.debug.enable_scary_view_manager". Just being the mac buddy for blizzard and roc.
git-svn-id: svn://10.0.0.236/trunk@82373 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 05:22:03 +00:00
nboyd%atg.com
277079138b Clean up debug APIs
git-svn-id: svn://10.0.0.236/trunk@82370 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 03:20:56 +00:00
mstoltz%netscape.com
5b27bdf415 Fixing bugscape 3109, LiveConnect exploit. sr=jband, brendan.
Fixing 58021, exploit in "open in new window," bug 55237. sr=brendan


git-svn-id: svn://10.0.0.236/trunk@82368 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 01:14:08 +00:00
rogerl%netscape.com
b095cbfba5 Fixed warnings & bogus qualifier.
git-svn-id: svn://10.0.0.236/trunk@82367 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 01:09:45 +00:00
pollmann%netscape.com
27b98e663c Bug 579678: Strip linebreaks from URLs before escaping r=gagan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82366 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 01:03:04 +00:00
rogerl%netscape.com
513a2a7bf9 Fixed statics and constructors bitrot.
git-svn-id: svn://10.0.0.236/trunk@82365 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 00:59:27 +00:00
rogerl%netscape.com
fb988909e9 More tests and changed 'verify' to live separately.
git-svn-id: svn://10.0.0.236/trunk@82364 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 00:58:42 +00:00
thayes%netscape.com
748e907627 Bug 59307: Provide a target value for the "new-email-default" result of PKCS12
restore, and use it for building the certificate list refresh URL.
Fix the certificate list code to correctly check the type of object it
is given.


git-svn-id: svn://10.0.0.236/trunk@82363 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-07 00:23:17 +00:00
mkaply%us.ibm.com
0fc0277f12 OS/2 TB breakage
Uh duh #if 0, not #ifdef 0


git-svn-id: svn://10.0.0.236/trunk@82362 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 23:49:49 +00:00
larryh%netscape.com
f4ea75c6c8 Bugzilla: 53014
git-svn-id: svn://10.0.0.236/trunk@82360 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 23:33:07 +00:00
blizzard%redhat.com
ebfe45c2a2 Fix for bug #59033. Properly detach the content progress listener and the container window to help with some shutdown crashes in the embedding widget. r=jst,valeski sr=mscott,brendan
git-svn-id: svn://10.0.0.236/trunk@82359 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 23:29:33 +00:00
larryh%netscape.com
7b1ae5e288 Bugzilla: 51655.
git-svn-id: svn://10.0.0.236/trunk@82358 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 23:27:49 +00:00
jst%netscape.com
bba246348c Fixing bug 58888. The content sink was incorrectly releasing the stream loader in its OnStreamComplete() method, this caused a crash when mozilla was running in off-line mode since OnStreamComplete() was called without the sink having a string reference to the stream loader so the incorrect release call in the sink caused a crash later on in necko. sr=rpotts, r=gagan,heikki
git-svn-id: svn://10.0.0.236/trunk@82357 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 23:22:44 +00:00
rogerl%netscape.com
c7b54f56ad Testcase for adding setter to non-final field.
git-svn-id: svn://10.0.0.236/trunk@82355 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 23:00:00 +00:00
rogerl%netscape.com
eee3dbd0a5 Fixed compare bugs. Report results from js2 test cases. Rewrote generic
equal to match ECMA 1.5


git-svn-id: svn://10.0.0.236/trunk@82354 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 22:57:10 +00:00
jefft%netscape.com
b942b55420 fixed bug 59203 -- Viewing attached message crashes in nsCRT::strtok; r=rhp, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82348 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 22:12:26 +00:00
sspitzer%netscape.com
d73754ceb5 fix for #58580. r=rhp, sr=mscott. make the files we put in /tmp for sending drafts
and posting news message have permissions of 600. it is bad to have users
messages world readable in /tmp.


git-svn-id: svn://10.0.0.236/trunk@82346 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 21:47:03 +00:00
mkaply%us.ibm.com
eb924234a4 #59259
r=mkaply, a=blizzard
Code from jkobal - don't just hide window, deactivate it


git-svn-id: svn://10.0.0.236/trunk@82344 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 21:04:35 +00:00
mkaply%us.ibm.com
9e45e6bbe5 #59274
r=mkaply, a=blizzard
Code from jkobal - special case checking for generated characters


git-svn-id: svn://10.0.0.236/trunk@82343 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 21:02:51 +00:00
mkaply%us.ibm.com
3944d1cfa0 #58805
r=mkaply, a=blizzard
Caused regression in timers - don't process entire timer queue


git-svn-id: svn://10.0.0.236/trunk@82342 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 20:59:27 +00:00
av%netscape.com
4f56599cca Bug 57869, spelling error in warning box, sr=waterson, r=av
git-svn-id: svn://10.0.0.236/trunk@82341 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 20:43:33 +00:00
mkaply%us.ibm.com
895b455091 ü55997
r=pnunn, sr=brendan
Don't set MINIMUM_DELAY_TIME unless delay_time was > 0


git-svn-id: svn://10.0.0.236/trunk@82338 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 20:08:29 +00:00
kestes%staff.mail.com
07015dd16d make code taint safe.
add patch by "Paul MacAdam" <paul@eazel.com>
fixing bugs in script.


git-svn-id: svn://10.0.0.236/trunk@82337 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 15:39:53 +00:00
briane%qnx.com
c7f78101e5 PHOTON build only
Updates for drawing and Printing


git-svn-id: svn://10.0.0.236/trunk@82334 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 15:29:04 +00:00
harishd%netscape.com
73f54d3808 59189 - Make sure that SanitizeKey() is accessed only by the attribute token.
r=jar
sr=scc


git-svn-id: svn://10.0.0.236/trunk@82333 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 06:03:34 +00:00
timeless%mac.com
d3809c9caf for bug 41515: Add access key to for Privacy and Security>&Security Manager. Per blake correcting spelling of 'Menu' was 'Ment'.
git-svn-id: svn://10.0.0.236/trunk@82332 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 05:56:33 +00:00
waterson%netscape.com
2843840ed8 Bug 59102, redux. After discussing with jar and rjc, we determined that the correct thing to do in this case is to continue to loop so long as either 1) the current enumerator mCurrent is still valid, or 2) there are more indices to try.
git-svn-id: svn://10.0.0.236/trunk@82330 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-06 04:52:58 +00:00
sspitzer%netscape.com
3d527a6464 fix for #59172. implement simple caching for FindServer().
we call FindServer() a lot.  But there it is very likely that the
server we ask for is the same server we asked for last time.
r=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@82329 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-05 20:50:32 +00:00
sspitzer%netscape.com
27dd11a0ce more for #17801. make "next unread navigation" go across servers.
git-svn-id: svn://10.0.0.236/trunk@82328 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-05 10:05:21 +00:00
ben%netscape.com
5633e3824e CHecking in fix for 59130, crash clicking links, patch from dbaron@fas.harvard.edu, r=ben@netscape.com,
a=hyatt@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@82327 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-05 03:53:55 +00:00
sspitzer%netscape.com
513293b482 fix for #17801. r=putterman. make it so "next" will take you across folders.
still work to be done before this feature is perfect, but this gets the
ball rolling.


git-svn-id: svn://10.0.0.236/trunk@82326 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-05 02:29:47 +00:00
waterson%netscape.com
603998aea4 Bug 59102. RDF containers are one-indexed; need to remember that when counting through them. Fix provided by hyatt, r=waterson. No sr= because we want to spin new builds with it.
git-svn-id: svn://10.0.0.236/trunk@82325 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-05 02:28:20 +00:00
putterman%netscape.com
8bfe3515ad Fix for 58748. r=jefft sr=mscott. Don't crash if there's no trash folder while trying to delete a folder.
git-svn-id: svn://10.0.0.236/trunk@82324 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-05 00:16:03 +00:00
bratell%lysator.liu.se
b7498adda5 Fix for bug 57047 - we are not treating text inside <pre> as preformatted if the text is inside another tag inside the <pre>. This has affected mail and copy'n'paste. We now look more thoroughly at the tag stack. r=akkana@netscape.com a=vidur@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@82323 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 20:51:33 +00:00
blizzard%redhat.com
7a412878b1 Fix bug #59015. Gtk timers do not shut down cleanly. Remove the timer when the shutdown method is called. This should fix some crashes when the embedding widget is shut down. r=bryner,waqar sr=brendan
git-svn-id: svn://10.0.0.236/trunk@82322 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 16:46:02 +00:00
ccarlen%netscape.com
60455fcf5b Bug 46866.
Splitting profile API into public and internal parts.
Bug 54937
Use profile as service, not component.
r=racham@netscape.com, sr=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@82321 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 16:28:50 +00:00
ccarlen%netscape.com
2243d1ff75 Bug 46866.
Splitting profile API into public and internal parts.
r=racham@netscape.com, sr=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@82320 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 16:27:30 +00:00
ccarlen%netscape.com
401868d37d Added for bug 46866.
r=racham@netscape.com, sr=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@82319 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 16:19:57 +00:00
hyatt%netscape.com
34d600148a Ben accidentally checked in a change to nsXBLService.cpp. Backing him out. What a mess tonight. Whew.
git-svn-id: svn://10.0.0.236/trunk@82318 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 11:03:14 +00:00
waldemar%netscape.com
3b64399fce Defined UseIncludesExcludes. Removed support for a::b::c.
git-svn-id: svn://10.0.0.236/trunk@82317 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 10:47:47 +00:00
waldemar%netscape.com
9596a6138e Added 'include' and 'exclude' non-reserved words
git-svn-id: svn://10.0.0.236/trunk@82316 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 10:46:24 +00:00
hyatt%netscape.com
4f58f87771 Forgot a 54203 file.
git-svn-id: svn://10.0.0.236/trunk@82315 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 09:33:20 +00:00
hyatt%netscape.com
62796a2cd1 Putting back 54150 on the trunk. ben,waterson. Finally found the reason it needs to be this way.
git-svn-id: svn://10.0.0.236/trunk@82314 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 09:10:48 +00:00
ben%netscape.com
bdb9ef9d26 back out hyatt's accidental checkin.
git-svn-id: svn://10.0.0.236/trunk@82313 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 09:07:49 +00:00
hyatt%netscape.com
fcc2faf04c Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@82312 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 09:01:21 +00:00
hyatt%netscape.com
8d63614935 added files: mozilla/dom/src/base/nsWindowRoot.cpp, mozilla/dom/src/base/nsFocusController.cpp
git-svn-id: svn://10.0.0.236/trunk@82311 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 08:25:27 +00:00
hyatt%netscape.com
61b754fcae Fix for 54203. r=saari, a=brendan
git-svn-id: svn://10.0.0.236/trunk@82310 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 08:21:20 +00:00
blakeross%telocity.com
03edc947cd Fix 44239, 43714, 48023, 51248: home button d&d, tooltips, prefs, and other cleanup. r=timeless a=alecf
git-svn-id: svn://10.0.0.236/trunk@82305 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 02:37:51 +00:00
dougt%netscape.com
4f8f242f56 58701. Missing timer .so in embedding dist r=pavlov@netscape.com, a=valeski
git-svn-id: svn://10.0.0.236/trunk@82296 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 01:30:37 +00:00
mcgreer%netscape.com
ba1581843a set up RNG for self-test (DSA needs it), and set default RSA public exponent
to 2**16 + 1


git-svn-id: svn://10.0.0.236/trunk@82295 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 01:11:48 +00:00
jj%netscape.com
327959c6b0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@82293 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 00:42:32 +00:00
alecf%netscape.com
8d72540669 long awaited fix for #39895 r=sspitzer, a=alecf, contributed by andrew.taylor@cal.montage.ca
parse the GECOS field stuff correctly on unix


git-svn-id: svn://10.0.0.236/trunk@82292 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 00:37:01 +00:00
koehler%mythrium.com
3a88729b72 Bug #55674: new timer implementation for BeOS r=blizzard
git-svn-id: svn://10.0.0.236/trunk@82291 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 00:27:22 +00:00
sfraser%netscape.com
0e7c82f0da Test file, NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@82290 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 00:22:48 +00:00
bnesse%netscape.com
ba89061d74 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@82289 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 00:11:44 +00:00
alecf%netscape.com
ba835cf955 first incomplete cut at the window opener object, to pass XPCOM types from C++ into window.arguments as native JS types.
not part of the build


git-svn-id: svn://10.0.0.236/trunk@82287 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 00:01:24 +00:00
bnesse%netscape.com
2eca0df02b Fix for Mac plugins getting double mouse events. bug 58814 r=av sr=waterson rtm++
git-svn-id: svn://10.0.0.236/trunk@82286 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 23:57:24 +00:00
darin%netscape.com
4410255a18 Adding a simple test program that calls OpenInputStream on an nsIChannel,
to help evaluate performance.


git-svn-id: svn://10.0.0.236/trunk@82285 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 23:26:45 +00:00
despotdaemon%netscape.com
43e5f7eadd Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@82284 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 22:38:28 +00:00
mcgreer%netscape.com
52d2b6f439 option for printing content version
git-svn-id: svn://10.0.0.236/trunk@82283 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 22:28:26 +00:00
blakeross%telocity.com
8bfa642b7e Fix 52541: link dragging no longer works. r=dr sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82282 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 22:11:52 +00:00
despotdaemon%netscape.com
fb066de345 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@82281 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 21:49:10 +00:00
mkaply%us.ibm.com
c67842765a #55103
r=cls
unix dir has some bad font heights for OS/2 - using all win


git-svn-id: svn://10.0.0.236/trunk@82280 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 21:30:21 +00:00
leaf%mozilla.org
824d4e38c7 Automated update
git-svn-id: svn://10.0.0.236/trunk@82279 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 21:30:10 +00:00
mkaply%us.ibm.com
14a2763b18 #55103
r=cls
Hardcode OS_ARCH and OS_TARGET for OS/2


git-svn-id: svn://10.0.0.236/trunk@82278 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 21:28:58 +00:00
mccabe%netscape.com
3a948ff4f4 Fix to 58008. Add missing ECMA-specified fuctions Date.prototype.toDateString, toTimeString, toLocaleDateString, toLocaleTimeString. Commoned some code to toLocale_helper and date_format.
Also make several formerly class static variables lazily initialized.


git-svn-id: svn://10.0.0.236/trunk@82277 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 21:28:49 +00:00
axel%pike.org
a431017a90 Not part of build, doing some buffer init on String wrapper
git-svn-id: svn://10.0.0.236/trunk@82276 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 20:48:41 +00:00
mkaply%us.ibm.com
8fdc10e622 EMX Break
Need INCL_DOSERRORS


git-svn-id: svn://10.0.0.236/trunk@82275 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 20:38:48 +00:00
rpallath%eng.sun.com
30cbcf1508 r=a=edburns
Updates
 build/Makefile.win              (create dir. bin/classes)
 build/Makefile                  (create dir. bin/classes)
 build/compile.mk                (DEBUG support)
 build/rules.mk                  (Changed order of LIBS and add MOZ_DEBUG flag)
 build/test.html                 (updated test.html)
 build/README                    (updated README)
 src/JNI/Makefile                (Changed JAR action)
 src/JNI/Makefile.win            (Changed JAR action)
 src/include/ojiapitests.h       (Resolve bug 52340)
 src/JNI/ClassOperation/Makefile (Add FindClass_8 Test)


New files
 README (Updated README)
 FAQ (Frequently asked questions)
 script/test.html (Default test.html to be loaded for all test cases)
 script/OJIValidTests.lst (List of Tests Cases that have to PASS)
 src/Killer/kill.bat  (compilation script for killer.exe)
 src/Killer/killer.cpp.win98 (for killing VC++ debug window for win98)


git-svn-id: svn://10.0.0.236/trunk@82274 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 20:05:16 +00:00
bryner%uiuc.edu
0b2c8895e4 Bug 57178: Make sure the menulist in the filepicker doesn't expand with long directory names. Requires adding "flex=1" to the text element of the menulist binding in modern. r=hyatt, a=ben.
git-svn-id: svn://10.0.0.236/trunk@82271 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 08:27:52 +00:00
karnaze%netscape.com
8e0ac00366 bug 53690 - don't allow a split row to reflow its cells unconstrained. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@82268 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 04:25:29 +00:00
erik%netscape.com
e93050bdef bug 53989; written by katakai@japan.sun.com; r=erik; sr=brendan; this is a
workaround for a couple of popular Japanese input methods (see bug report)


git-svn-id: svn://10.0.0.236/trunk@82264 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 03:19:18 +00:00
edburns%acm.org
4950ac846f bug: 55004
r=ashuk
a=edburns

This fix makes it so bookmarks work with the tip of the branch as of 11/01/00.

This fix removes the necessity to modify xpcom/base/nsDebug.cpp to
remove the thread safety assertions.

This fix primarily does two things:

1. Make nsActionEvents for all bookmarks/rdf actions

2. Remove the synchronized(this.browserControlCanvas.getTreeLock()) call
around nativeProcessEvents() in NativeEventThread.run().

Files in this fix:

M classes_spec/org/mozilla/webclient/test/EMWindow.java
M classes_spec/org/mozilla/webclient/wrapper_native/BookmarkEntryImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/BookmarksImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M classes_spec/org/mozilla/webclient/wrapper_native/RDFEnumeration.java
M classes_spec/org/mozilla/webclient/wrapper_native/RDFTreeNode.java
M src_moz/BookmarksImpl.cpp
M src_moz/RDFEnumeration.cpp
M src_moz/RDFTreeNode.cpp
M src_moz/nsActions.cpp
M src_moz/nsActions.h
M src_moz/motif/NativeLoaderStub.cpp


git-svn-id: svn://10.0.0.236/trunk@82262 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 03:16:55 +00:00
alecf%netscape.com
3fc6122509 back out my dumb-ass fix for 52519 - it only worked for like a day, then died.
git-svn-id: svn://10.0.0.236/trunk@82260 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 02:58:58 +00:00
bryner%uiuc.edu
57fa4b8d22 Patch from jrgm for bug 58437 - force tree rows to have a min height of 19px so they don't resize when the spin icon appears. r=bryner, a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@82259 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 02:51:44 +00:00
rogerl%netscape.com
978d58aeeb More tests
git-svn-id: svn://10.0.0.236/trunk@82258 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 02:42:23 +00:00
rogerl%netscape.com
d1aef56e6d Fixed adding setter to virtual inherited field.
git-svn-id: svn://10.0.0.236/trunk@82257 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 02:42:01 +00:00
pschwartau%netscape.com
07347e3c92 initial add
git-svn-id: svn://10.0.0.236/trunk@82256 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 02:27:44 +00:00
jeff.dyer%compilercompany.com
1511d4c19f Don't care if required named come after optional named parameters.
git-svn-id: svn://10.0.0.236/trunk@82255 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:44:30 +00:00
ashuk%eng.sun.com
5af8d651a6 author=ashuk
Bug=57725,49126
r=a=edburns


git-svn-id: svn://10.0.0.236/trunk@82254 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:30:54 +00:00
ashuk%eng.sun.com
4a6f37d5be author=ashuk
r=a=edburns
Bug=58791


git-svn-id: svn://10.0.0.236/trunk@82253 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:28:27 +00:00
ashuk%eng.sun.com
49ef0e6172 author=ashuk
Bug=50282,44330,53397
r=a=edburns


git-svn-id: svn://10.0.0.236/trunk@82252 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:27:47 +00:00
ashuk%eng.sun.com
b3387c11cd author=ashuk
Bug=58526
r=a=edburns


git-svn-id: svn://10.0.0.236/trunk@82251 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 01:25:31 +00:00
despotdaemon%netscape.com
739155e895 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@82249 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 23:46:31 +00:00
attinasi%netscape.com
166568a2a7 Fixed regression: I had accidentally put the link-underlining rules back into html.css, regression bug 20760. r=peterl@netscape.com, sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@82248 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 23:46:22 +00:00
edburns%acm.org
aee4ebbf93 Merged branch JAVADEV_PR3_20001002 into trunk.
git-svn-id: svn://10.0.0.236/trunk@82247 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 23:33:21 +00:00
alecf%netscape.com
19a05b26cb part of fix for #46200 - extract wallet from nsIBrowserInstance, and fixup all callers to call
the wallet service directly.. yay!
r=jag, a=ben


git-svn-id: svn://10.0.0.236/trunk@82246 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 23:00:08 +00:00
blizzard%redhat.com
9e29dd3188 Fix bug #57197, crash when opening a url when only the mail/news window is open by using the uri loader to do all of the heavy lifting. r=alecf, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82244 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 22:28:23 +00:00
harishd%netscape.com
049db120de 58455 - Catch BadLiteralString error for unmatched quote on the attribute name to avoid
infinite looping.
r=nisheeth,jst
sr=vidur.


git-svn-id: svn://10.0.0.236/trunk@82243 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 22:20:28 +00:00
alecf%netscape.com
ccb2185cdb fix for #58931 r=blake,sr=ben
fix lots of warnings in commonDialogs to make it a little easier to use the console


git-svn-id: svn://10.0.0.236/trunk@82242 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 22:15:41 +00:00
mkaply%us.ibm.com
671f27eec5 #53392
r=mkaply, a=blizzard
Code from tartak - memory overwrite in printing


git-svn-id: svn://10.0.0.236/trunk@82241 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 22:04:55 +00:00
harishd%netscape.com
680ce56c3b 58842 - Forgot to remove this..since atom is now nsCOMPtr.
r=pollmann
sr=vidur.


git-svn-id: svn://10.0.0.236/trunk@82240 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 22:03:10 +00:00
harishd%netscape.com
3655f49bc5 58842 - Fixing nsIAtom Leakage introduced by checkin to bug 27006.
r=pollmann
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@82239 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 22:00:04 +00:00
mscott%netscape.com
a2cef6b5c8 Bug #58669 --> don't let the helper app dialog be modal, this prevents
the external handler from properly processing incoming OnDataAvailable events
while the helper app dialog is up.
r=law,sspitzer
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@82238 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 21:44:31 +00:00
hyatt%netscape.com
1b8dff6196 Fix for 57897, r=dveditz, a=ben
git-svn-id: svn://10.0.0.236/trunk@82237 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 21:28:00 +00:00
larryh%netscape.com
a16c0ba384 Bugzilla: 49161. OpenVMS
git-svn-id: svn://10.0.0.236/trunk@82236 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 21:15:40 +00:00
rogerl%netscape.com
5d3d017b09 Fixed bogus rest reference, added named tests.
git-svn-id: svn://10.0.0.236/trunk@82233 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 19:40:42 +00:00
mkaply%us.ibm.com
da2b9b973a #58805
r=mkaply, a=blizzard
Code from jkobal to make appshell more like Windows and make timers more efficient


git-svn-id: svn://10.0.0.236/trunk@82232 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 19:36:30 +00:00
mkaply%us.ibm.com
f31363cc57 #58805
r=mkaply, a=blizzard
Code from jkobal to make appshell more like Windows and make timers more efficient


git-svn-id: svn://10.0.0.236/trunk@82230 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 15:44:58 +00:00
mkaply%us.ibm.com
6744520500 #58776
r=mkaply, a=blizzard
Code from jkobal to fix helper apps


git-svn-id: svn://10.0.0.236/trunk@82229 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 15:41:44 +00:00
jst%netscape.com
606af7f86a Fixing bug 25821. This is only a bandaid for the real problem with targetting javascript: URL's but it fixes the immediate problem while the targetting code is being rewritten. r=brendan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82228 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 08:43:19 +00:00
rjc%netscape.com
3282d54c7a Stupid stupid MSVC. Fix Win build bustage. r/a=me
git-svn-id: svn://10.0.0.236/trunk@82227 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 08:14:47 +00:00
mcgreer%netscape.com
e9a877c6a0 back out last change
git-svn-id: svn://10.0.0.236/trunk@82225 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 07:45:35 +00:00
mcgreer%netscape.com
3ae48fafea option for dumping values in RSA key
git-svn-id: svn://10.0.0.236/trunk@82224 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 07:44:47 +00:00
rjc%netscape.com
39381cda9c Fix bug # 58736: nsDirectoryViewer leak. r=dbaron sr=waterson
git-svn-id: svn://10.0.0.236/trunk@82223 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 07:34:46 +00:00
rjc%netscape.com
8529a671b3 Fix bug # 58421: bookmarks parsing. r=dbaron sr=waterson
git-svn-id: svn://10.0.0.236/trunk@82222 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 07:30:59 +00:00
kandrot%netscape.com
9dd0f8857b Initial check in of a tool to calc deltas of bloat snap shots.
git-svn-id: svn://10.0.0.236/trunk@82221 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 06:45:26 +00:00
radha%netscape.com
948853ce46 More fixes for bug # 46828. r=pollmann sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@82220 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 06:34:44 +00:00
timeless%mac.com
7d179e47ff needed to add files to this file otherwise the patch for bug 57222 would break mac classic theme [bad].
This adds a newline to the end of the file. I hope that's ok. If the build breaks I'll zap the line.


git-svn-id: svn://10.0.0.236/trunk@82219 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 06:33:08 +00:00
bryner%uiuc.edu
a84695d770 Bug 50597 - mousewheel nonfunctional if set to full-page scroll. r=mjudge,jkobal,ben. a=ben.
git-svn-id: svn://10.0.0.236/trunk@82218 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 05:15:34 +00:00
timeless%mac.com
646cc16d20 fix bug 57222 Mac Classic Skin: Prev/Next buttons in wizards look wrong
for lordpixel@mac.com, r=timeless a=ben


git-svn-id: svn://10.0.0.236/trunk@82217 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 05:13:45 +00:00
mccabe%netscape.com
82b238d8eb Fix previous fix to conform to brendan-nit.
git-svn-id: svn://10.0.0.236/trunk@82215 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 03:38:09 +00:00
jband%netscape.com
634c597282 fixing the broken indenting from dougt's checking (he applied my -wu patch). This is a whitespace change only (cvs diff -wu shows no change). If I don't fix this it will bother me forever!
git-svn-id: svn://10.0.0.236/trunk@82214 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 03:31:06 +00:00
harishd%netscape.com
18b84cdf01 27006 - FIXED a potential leak r=pollmann sr=vidur
git-svn-id: svn://10.0.0.236/trunk@82213 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 03:02:17 +00:00
sfraser%netscape.com
e338844826 Build script update (NOT PART OF THE BUILD)
1. Make the build scripts pull by default, and remember the pull state in the build progress file (pulling is now just the first step of the build).

2. Allow a local prefs file at the root of the source tree to cause the scripts to not look in the prefs folder for a build prefs file.

3. Improve the input file parsing, to deal with trailing # as comments

4. Totally parse the checkout list file now before checking out, instead of parsing and checking out at line at a time.

5. Ensure that the build flag arrays and hashes are cleared out at the start of a build, so that mozilla-then-netscape builds don't get the union of the two sets of flags.


git-svn-id: svn://10.0.0.236/trunk@82212 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 02:38:20 +00:00
blakeross%telocity.com
818e4bce5b Fixing a typo in my last patch...
git-svn-id: svn://10.0.0.236/trunk@82211 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 02:38:05 +00:00
bienvenu%netscape.com
c8a17c1ca7 fix 46375 (or part of it, anyway) reading large imap messages in too small chunks r=jefft, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82210 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 02:22:13 +00:00
sgehani%netscape.com
b1f4b3b7ec Make license agreement show up on ja_JP locale systems.
b=58604
r=dbragg,dveditz
a=brendan

(Dan Veditz will watch the tree for me.  Thanks Dan!)


git-svn-id: svn://10.0.0.236/trunk@82207 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 02:01:18 +00:00
ducarroz%netscape.com
dbe2702072 Fix for bug 57678. Disable menu item Send and Change button Send to Send Later when offline. R=varada, SR=mscott, A=pdt
git-svn-id: svn://10.0.0.236/trunk@82201 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 01:39:32 +00:00
blakeross%telocity.com
31fa9a217a Fix 58333, 58283, 58354: Middle mouse paste of URL no longer works, shift+click (not alt+click) to save a link, and middle-click/control-click on <AREA> doesn't open in new window. r=ben sr=brendan
git-svn-id: svn://10.0.0.236/trunk@82198 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 01:31:05 +00:00
mscott%netscape.com
09dfe3c0bc Bug #58774 --> salt the temp file name we generate when downloading external content
r=sspitzer,
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@82196 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 01:27:12 +00:00
racham%netscape.com
2d8993d31c Fixing bug 56002. Randomization process is fixed to get right values on the mac and regitry updates are done to make sure salted entries are in there. r=sspitzer,sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82193 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 01:10:05 +00:00
sspitzer%netscape.com
419951b1f3 fix for #58337 r=tonyr, sr=alecf
make sure we remove the temporary identity we create during
eudora and outlook import.


git-svn-id: svn://10.0.0.236/trunk@82191 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 01:02:38 +00:00
dveditz%netscape.com
9c9cd0ccc2 Give sterner warnings, locale installations are not "safe" and can be abused
(bug 58584). r=mstoltz,sgehani; sr=syd


git-svn-id: svn://10.0.0.236/trunk@82188 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 00:48:45 +00:00
koehler%mythrium.com
08fbd7ffb6 bug #55450: New gfx implementation more in synch with linux/gtk version. r=cls
r=blizzard (no sr has blizzard give me a go ahead for BeOS only stuff)


git-svn-id: svn://10.0.0.236/trunk@82187 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 00:47:12 +00:00
mccabe%netscape.com
8760d19817 Fix to 58007. Add Date.prototype.toDateString, toTimeString methods, by commoning existing date_format helper function with toString. ECMA-262 ed. 3 conformance.
r=brendan@mozilla.org
sr=jband@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@82182 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 23:57:37 +00:00
ducarroz%netscape.com
b80a1f4f2e Fix for bug 58532. Need to catch error thrown by the function unescape. R=sspitzer, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@82180 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 23:23:06 +00:00
brendan%mozilla.org
1c7fa4f26f Fix leaks for 'unregistered' monitors and locks (55498, r=beard, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@82172 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 22:21:28 +00:00
mkaply%us.ibm.com
2d3d05fd61 #58628
r=mkaply, a=blizzard
Code from jkobal to fix some focus problems


git-svn-id: svn://10.0.0.236/trunk@82160 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 21:08:09 +00:00
blizzard%redhat.com
0d9cd8617d Fix bug #58343. Make the signal connection while the superwin is still alive and don't explicitly remove the reference from the toplevel window. r=pavlov sr=brendan
git-svn-id: svn://10.0.0.236/trunk@82159 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:56:35 +00:00
danm%netscape.com
34082b3dbc small tweak to get nspr logging running again. bug 58514 r=warren
git-svn-id: svn://10.0.0.236/trunk@82158 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:30:47 +00:00
harishd%netscape.com
859b7a2217 27006 - Don't reload documents with POST form data.
r=rpotts,pollmann
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@82157 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:25:33 +00:00
naving%netscape.com
fc31dedc1d 54152. r=scottip sr=mscott. Lines node created.
git-svn-id: svn://10.0.0.236/trunk@82156 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:06:53 +00:00
naving%netscape.com
8b23ad8944 54152. r=scottip sr=mscott. Lines node created
git-svn-id: svn://10.0.0.236/trunk@82155 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:06:19 +00:00
mkaply%us.ibm.com
ed7010e799 #55813
r=dougt, sr/a=waterson
Support for a MOZILLA_HOME dir to specify pref location


git-svn-id: svn://10.0.0.236/trunk@82154 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:04:59 +00:00
naving%netscape.com
e328afc597 54152. r=scottip sr=mscott. Lines supported in news
git-svn-id: svn://10.0.0.236/trunk@82153 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:04:22 +00:00
naving%netscape.com
6a55471f84 54152. r=scottip sr=mscott. Lines supported in news.
git-svn-id: svn://10.0.0.236/trunk@82152 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:02:28 +00:00
naving%netscape.com
a76884764a 54152 r=scottip sr=mscott. Lines supported now.
git-svn-id: svn://10.0.0.236/trunk@82151 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:01:44 +00:00
naving%netscape.com
834db18351 55132, 54152. r=scottip, sr=mscott. Lines now supported in news and threadpane scrolls to
correct position when messagepane collapses and recollapses.


git-svn-id: svn://10.0.0.236/trunk@82150 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:00:31 +00:00
naving%netscape.com
298d2bbbdd Bug #56044, r=sspitzer, sr=mscott. Deleting instead of renaming is the right thing
to do because the folder is created in the code that follows.


git-svn-id: svn://10.0.0.236/trunk@82149 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 19:56:29 +00:00
namachi%netscape.com
9bc927ab43 Update Talkback Technology from Fullcircle(nowonder) to Support.com
git-svn-id: svn://10.0.0.236/trunk@82148 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 19:49:09 +00:00
mkaply%us.ibm.com
f07cfb6eb5 #57006
r=mjduge, sr/a=sfraser
Change hardcoded 15 to a call to the devicecontext to get conversion value


git-svn-id: svn://10.0.0.236/trunk@82147 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 18:54:16 +00:00
blakeross%telocity.com
82bc948641 Fix 58570: lots of strict warnings in searchTermOverlay.js. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82146 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 18:49:24 +00:00
nboyd%atg.com
004cf1c125 Upgrade to Ant 1.2 and remove deprecated tasks.
git-svn-id: svn://10.0.0.236/trunk@82145 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 18:43:55 +00:00
ccarlen%netscape.com
08c5d8b4ec This code was moved to mozilla/modules/appfilelocprovider. Removing from here. r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@82144 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 12:54:20 +00:00
rginda%netscape.com
5c3170d0ed doh! forgot to add the new file
git-svn-id: svn://10.0.0.236/trunk@82143 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 10:20:07 +00:00
rginda%netscape.com
38698afb3f -- CHATZILLA CHANGES ONLY --
sr = scc, r = syd
fix for bug 57633, which also fixes 27805,40636,41343,51352,54145,56708,57104,57138, and some other random unfiled bugs.


git-svn-id: svn://10.0.0.236/trunk@82142 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 09:33:16 +00:00
alla%lysator.liu.se
36025da0e3 Update elf-gc-dynstr to support ppc binaries and non-native-endian binaries. Also some general cleanup. r=waterson
git-svn-id: svn://10.0.0.236/trunk@82141 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 08:14:11 +00:00
mscott%netscape.com
1ac1af786f Bug #56938 --> get the document channel from the docloader
and force any Refresh urls back through the original window
context that initiated the helper app download. This solves
the problem where the user clicks on a link to download
content (either to disk or to a helper app) and that document
contains both a redirect for the actual content and a REFRESH
header which is used to point at a page the content provider
wants to see after the download is complete.

sr=rpotts, r=sspizter


git-svn-id: svn://10.0.0.236/trunk@82140 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 08:06:19 +00:00
mscott%netscape.com
20116a00b3 Bug #56938 --> add a method for retrieving the doc loader's
document channel.
r=sspitzer, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@82139 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 08:04:49 +00:00
mscott%netscape.com
ed9ad1b996 Bug #56938 --> Break out the code which parses and sets up refresh urls into
a separate method so we can expose it as an interface method
via nsIRefreshURI.
r=sspitzer,sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@82138 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 08:03:58 +00:00
mscott%netscape.com
392f47f802 Bug #56938 --> add a method for setting up a refresh uri given just a channel.
r=sspitzer, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@82137 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 08:03:22 +00:00
ben%netscape.com
cfcabfe156 that previous checkin was r=jrgm, blake, a=alecf
git-svn-id: svn://10.0.0.236/trunk@82136 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 06:55:19 +00:00
ben%netscape.com
2530441df8 test for the fix for 58551, crash on startup when event listener added twice.
git-svn-id: svn://10.0.0.236/trunk@82135 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 06:54:19 +00:00
cls%seawood.org
aea7c54243 Declare local variables as static to avoid conflicts with variables of the same name in other modules. Fixes Irix AliveTest bustage. r=javi
git-svn-id: svn://10.0.0.236/trunk@82134 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 06:01:54 +00:00
bryner%uiuc.edu
3f3c2792e2 Bug 56065 - Don't append an extra "*.*" filter to the filepicker when we don't know the extension. r=brendan, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@82133 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 05:59:44 +00:00
blakeross%telocity.com
fe4338e6de Fix 57648: strict warnings in bm-panel.js. patch by Jarrod Gray, r=me a=alecf
git-svn-id: svn://10.0.0.236/trunk@82132 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 03:37:47 +00:00
blakeross%telocity.com
a70824350d Fix 44329: xul is described as eXtensible. wording patch by Stephen Walker <walk84@usa.net> r=matt a=brendan
git-svn-id: svn://10.0.0.236/trunk@82126 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 02:20:22 +00:00
rhp%netscape.com
9655cb055b crash deleting mail - Bug #: 50239
git-svn-id: svn://10.0.0.236/trunk@82125 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 02:11:44 +00:00
rogerl%netscape.com
6e0f9ad195 Fixed signed/unsigned whinage.
git-svn-id: svn://10.0.0.236/trunk@82124 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 02:04:04 +00:00
rogerl%netscape.com
4f42ff6819 Simple call tests.
git-svn-id: svn://10.0.0.236/trunk@82123 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 01:55:46 +00:00
rogerl%netscape.com
bccf7d286c Fixed rest parameter index handling.
git-svn-id: svn://10.0.0.236/trunk@82122 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 01:55:13 +00:00
rogerl%netscape.com
75d26b1aae Fixed signed/unsigned whine.
git-svn-id: svn://10.0.0.236/trunk@82121 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 01:48:15 +00:00
warren%netscape.com
31c25ebc45 Moving leak fixes from logging_102900_branch to trunk to quite tinderbox a bit more.
git-svn-id: svn://10.0.0.236/trunk@82120 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 01:41:15 +00:00
rogerl%netscape.com
36884f6d49 Fixed JSArray for 1.5 semantics stuff. Changed readEvalFile to stop
doing line at a time nonsense. Fixed ExprNode::Index cases to use
InvokeExprNode instead of Binary.


git-svn-id: svn://10.0.0.236/trunk@82119 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 01:39:43 +00:00
hyatt%netscape.com
c389e67de6 Fix for 34400 and 49406. 34400 is r=waterson, a=brendan. 49406 is r=danm, a=brendan
git-svn-id: svn://10.0.0.236/trunk@82118 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 01:20:59 +00:00
warren%netscape.com
d9f2608732 Bug 47263 - null check for top crasher (mOutputStream becomes null -- could be going through END_READ state twice).
git-svn-id: svn://10.0.0.236/trunk@82117 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 00:58:10 +00:00
mstoltz%netscape.com
183b004599 Bug 58021 r=mccabe sr=hyatt. Added security check to sidebar.addPanel to prevent js/chrome insertion
git-svn-id: svn://10.0.0.236/trunk@82116 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 00:48:54 +00:00
hewitt%netscape.com
acbbf12ae0 #57711 - new lock icons, r=marlon, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@82115 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 00:40:27 +00:00
sfraser%netscape.com
2e71a3fdb8 Fix for bug 57835; increase the 'Preferred size' in both debug and opt targets to 20480 K. sr=hangas, r=brade.
git-svn-id: svn://10.0.0.236/trunk@82114 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 00:39:56 +00:00
dprice%netscape.com
6d9e63b473 fix for 53312 and 55893 adds a memory flusher and fixes a race condition in
zip cache code.  SR=waterson R=warren,jband


git-svn-id: svn://10.0.0.236/trunk@82110 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 22:44:20 +00:00
erik%netscape.com
3b3367c95a bug 57462; r=buster; sr=waterson; need to set "HasMultibyte" flag in
nsTextTransformer when we convert 0x5C to Yen Sign and Won Sign because
those chars are greater than 127; this fixes the problem where the Yen Sign
was not being displayed properly on Win95/98/ME because we have the 8-bit
rendering hint set on those platforms (see nsTextFrame's PaintAsciiText,
etc)


git-svn-id: svn://10.0.0.236/trunk@82109 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 22:06:59 +00:00
jefft%netscape.com
8891bd6170 fixed bug 57614 - copy to Sent folder failed after message sent successfully, r=bienvenu, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82108 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 22:04:58 +00:00
mkaply%us.ibm.com
bf5d2edd06 #58617
r/a=cls
Don't copy mozilla shell script to dist on OS/2


git-svn-id: svn://10.0.0.236/trunk@82107 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 21:49:38 +00:00
cyeh%bluemartini.com
0792676bb2 fix/enhancement from 53951:[rfe] make bug# link on show_bug.cgi an absolute link
so that saved copies of show_bug are useful. patch by dave@intrec.com, r=cyeh


git-svn-id: svn://10.0.0.236/trunk@82106 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 21:16:57 +00:00
dbaron%fas.harvard.edu
d828fe3597 Change to print leak/bloat stats in bytes when under 10000 bytes, rather than 1000. Add "B" to units. b=34485
git-svn-id: svn://10.0.0.236/trunk@82105 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 21:02:01 +00:00
av%netscape.com
98f1460974 Fixing bug 58095, retrieving right user agent string instead of harcoded one. Goes to the trunk only as per yesterday PDT meeting. r=valeski, r=serge, sr=waterson, a=av
git-svn-id: svn://10.0.0.236/trunk@82103 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 20:25:19 +00:00
locka%iol.ie
fda7bb0fc4 Fix for broken implementation of IE interface method IHTMLDocument2::Write(). b=58076, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82102 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 20:14:01 +00:00
mcgreer%netscape.com
9ad702c579 Changes to RSA keygen:
* use mp_invmod instead of mp_xgcd.  nelsonb optimized mp_invmod for even moduli, and this will take advantage of it.
* Assure that p > q.
* Assure that n is actually keysizeInBits long by setting the two high-order bits of p and q during generation.  Previously, it was possible for n to be 1 bit short.


git-svn-id: svn://10.0.0.236/trunk@82101 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 16:52:31 +00:00
mkaply%us.ibm.com
bb5d10fd28 Wrong casts being used
Caused outside contributor to be unable to build


git-svn-id: svn://10.0.0.236/trunk@82100 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 15:55:46 +00:00
ccarlen%netscape.com
2f0149c413 NOT PART OF BUILD
Re-adding because old file name had space in it.


git-svn-id: svn://10.0.0.236/trunk@82099 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 15:24:40 +00:00
ccarlen%netscape.com
90e34964a7 NOT PART OF THE BUILD
Name had space in it.


git-svn-id: svn://10.0.0.236/trunk@82098 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 15:20:22 +00:00
mkaply%us.ibm.com
356ea00e35 Wrong casts being used
Caused outside contributor to be unable to build


git-svn-id: svn://10.0.0.236/trunk@82097 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 14:49:46 +00:00
leaf%mozilla.org
a6f3529b8f Automated update
git-svn-id: svn://10.0.0.236/trunk@82096 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 11:00:09 +00:00
colin%theblakes.com
e9acd82418 Remove HAVE_MOVEMAIL for OpenVMS.
bug=58503 sr/moa=cls


git-svn-id: svn://10.0.0.236/trunk@82095 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 10:55:37 +00:00
waterson%netscape.com
ef130dbe40 Bug 58252. Make sure that local store and internet search service match RegisterDataSource() calls with UnregisterDataSource(). Make RDFServiceImpl support weak references. r=rjc,scc; sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82093 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 07:27:49 +00:00
morse%netscape.com
380ba3178f bug 57395, lock icon incorrect after a skin switch, r=dougt, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@82092 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 07:10:33 +00:00
rjc%netscape.com
2ba1492b3b Fix bug # 58428: first round search file update fix. r=gagan sr=waterson
git-svn-id: svn://10.0.0.236/trunk@82091 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 06:38:11 +00:00
dbaron%fas.harvard.edu
9cc24c9854 Remove extraneous line I introduced in previous checkin. r=waterson
git-svn-id: svn://10.0.0.236/trunk@82088 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 05:39:34 +00:00
dbaron%fas.harvard.edu
569c30eb6d Fix gcc 2.7.x bustage by defining |operator+()| for combinations involving |nsPromiseSubstring|, within |#ifdef NEED_CPP_DERIVED_TEMPLATE_OPERATORS|. (Based on scc's proposal earlier.) r=waterson
git-svn-id: svn://10.0.0.236/trunk@82087 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 04:33:32 +00:00
despotdaemon%netscape.com
e7a1de03a2 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@82085 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 01:45:03 +00:00
javi%netscape.com
4008a47230 Fix Mac bustage
git-svn-id: svn://10.0.0.236/trunk@82084 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 01:42:51 +00:00
blakeross%telocity.com
1ebe5e3ce2 Fix 57652: some strict warnings in customize.js. r=matt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82083 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 01:34:35 +00:00
dougt%netscape.com
1416434d55 Fixes uninitililzed variable. b58510. r=rpotts@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@82082 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 01:06:36 +00:00
javi%netscape.com
07c18743ce Build nsIEntropyCollector.idl on UNIX platforms..
git-svn-id: svn://10.0.0.236/trunk@82081 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 00:28:21 +00:00
gagan%netscape.com
80b0fe0e27 Fixing the solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@82076 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 00:16:16 +00:00
locka%iol.ie
6b15cffdba Fix for crash when closing main window while print dialog is open (checked in for Frank Tang). b=35896, sr=vidur, r=adamlock
git-svn-id: svn://10.0.0.236/trunk@82071 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:47:11 +00:00
javi%netscape.com
951fd4d23b Fix for Bug 57985 r=ddrinan,hyatt a=hyatt
Implement the nsIEntropyCollector interface so that we can send entropy
 bits off to PSM to better improve the randomness of generated keys for SSL


git-svn-id: svn://10.0.0.236/trunk@82068 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:35:46 +00:00
blakeross%telocity.com
65bb6429b5 Fix 58509: add button doesn't disable when pasting/deleting text from context menu. r=matt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82067 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:35:35 +00:00
javi%netscape.com
da4983de9e Fix for Bug #57985 r=hyatt,ddrinan a=hyat
Have HandleDOMEvent gather some information about mouse left button
  down events and pass it on to the entropy collector.


git-svn-id: svn://10.0.0.236/trunk@82064 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:33:34 +00:00
mkaply%us.ibm.com
f42f3b8552 #55829
r=mkaply, a=blizzard
Code from jkobal - we were calling Update instead of Invalidate


git-svn-id: svn://10.0.0.236/trunk@82063 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:29:02 +00:00
tara%tequilarista.org
a0ac2e57e0 Last minute adjustments
git-svn-id: svn://10.0.0.236/trunk@82061 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:23:42 +00:00
anthonyd%netscape.com
7960ad89fa fix for 58012 - selection behaviour not correct in unix
r=mcafee,akkana
sr=shaver
a=brendan


git-svn-id: svn://10.0.0.236/trunk@82058 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:07:54 +00:00
tara%tequilarista.org
d598e22507 Landing Gerv and Adam's changes for bug #6682
git-svn-id: svn://10.0.0.236/trunk@82055 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 23:02:41 +00:00
rpotts%netscape.com
94a6da09be bug #54725 (r=kmcclusk@netscape.com, sr=brendan@mozilla.org). Java plugin causes app to hang on shutdown.
git-svn-id: svn://10.0.0.236/trunk@82053 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:43:21 +00:00
mccabe%netscape.com
c46c0ae498 Fix sense of don't-fail-on-warning check propagated from js.c.
Thanks to John Bandhauer for the catch.

Not part of Mozilla.


git-svn-id: svn://10.0.0.236/trunk@82052 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:42:48 +00:00
blakeross%telocity.com
9f64d78289 Fix 57651, some strict warnings in sidebarOverlay.js r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82051 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:38:01 +00:00
attinasi%netscape.com
25cbf00d93 Fixed problems with backgrounds when 'always use my colors' is set to true: backgrounds are now transparent instead of inherited. b=57234 r=dbaron, a=buster
git-svn-id: svn://10.0.0.236/trunk@82050 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:27:37 +00:00
attinasi%netscape.com
9cd4597f96 Made rules for background on select buttons !important. b=57234 r=dbaron,rods a=buster
git-svn-id: svn://10.0.0.236/trunk@82049 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:25:49 +00:00
attinasi%netscape.com
396ae97d4d Changed font specification from 'monospace' to '-moz-fixed' to enforce fixed-width fonts always. b=58098 r=akkana,rickg a=buster
git-svn-id: svn://10.0.0.236/trunk@82047 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:22:17 +00:00
attinasi%netscape.com
95bf6b3925 Changed font specification from 'monospace' to '-moz-fixed' to enforce fixed-width fonts always. b=58098 r=dbaron,rickg a=buster
git-svn-id: svn://10.0.0.236/trunk@82046 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:20:56 +00:00
radha%netscape.com
d336d6ab02 Fix for bug # 58077 r=ducarroz sr=waterson
git-svn-id: svn://10.0.0.236/trunk@82045 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:10:24 +00:00
blizzard%redhat.com
0c30ce062e Fix bugs #58325, #58430. Change declaration names in class headers to what they actually should be - cosmetic only. Fix marshaler type to be STRING instead of POINTER. r=mmarker sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82043 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 22:04:23 +00:00
jj%netscape.com
a62a32cce0 bugzilla 58153: optimized target now generates a symbol file (trunk)
git-svn-id: svn://10.0.0.236/trunk@82041 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 21:56:05 +00:00
gagan%netscape.com
2726e55653 Fixes for 53580. These changes should build on AIX and Solaris as well. r=gagan,mkaply,darin, sr=scc
git-svn-id: svn://10.0.0.236/trunk@82038 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 21:50:54 +00:00
rhp%netscape.com
6382ae78e9 Fix for crashing when sending later fails - Bug #57851
git-svn-id: svn://10.0.0.236/trunk@82024 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 21:18:04 +00:00
mkaply%us.ibm.com
d13aab492d #58462
r=jkobal, a=blizzard
OS/2 specific code to fix some plugin problems


git-svn-id: svn://10.0.0.236/trunk@82023 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 21:06:11 +00:00
disttsc%bart.nl
9e8451dd69 Remove obsoleted "OpenBookmarkURL" function from bm-panel.js. bug=58366, r=matt, a=ben
git-svn-id: svn://10.0.0.236/trunk@82020 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 20:50:33 +00:00
dcone%netscape.com
a12913d061 bug = 58127 r = kmcclusk sr = buster. fixed 8 bit GDI calls for printing.
git-svn-id: svn://10.0.0.236/trunk@82019 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 20:43:09 +00:00
mkaply%us.ibm.com
f1948546f9 EMX build break.
git-svn-id: svn://10.0.0.236/trunk@82015 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 20:10:36 +00:00
mstoltz%netscape.com
7e0791842a Bug 57937, signed frames denied access to unsigned frames. r=mccabe, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@82014 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 20:05:07 +00:00
blizzard%redhat.com
233ab5406c Fix bug #57544. Add text/plain to the list of types that we support for the embedding widget. r=valeski sr=mscott
git-svn-id: svn://10.0.0.236/trunk@82013 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 19:48:53 +00:00
nboyd%atg.com
51ddcc8533 Fix bug 57060 for/in loop enumerates array elements as numbers, not strings
git-svn-id: svn://10.0.0.236/trunk@82012 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 19:46:02 +00:00
nboyd%atg.com
6677211b56 Fix bugs:
56318  function literals with names don't work right
57045  negative integers as object properties: weird behavior
58479  functions defined within conditional phrases are always crea


git-svn-id: svn://10.0.0.236/trunk@82011 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 19:34:11 +00:00
blizzard%redhat.com
554cc37150 build xremoteclient when building qt. a=leaf remove XIFF converter from qt build. checking in for John C. Griggs <johng@corel.com>
git-svn-id: svn://10.0.0.236/trunk@82010 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 19:26:53 +00:00
tara%tequilarista.org
fd23a44e5f correcting scope
git-svn-id: svn://10.0.0.236/trunk@82009 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 19:17:43 +00:00
dbaron%fas.harvard.edu
60a0a830ca Fix crash from GetElementsByTagName on a document without a root element. Patch from ftang@netscape.com r=jst@netscape.com,dbaron@fas.harvard.edu sr=vidur@netscape.com b=40121
git-svn-id: svn://10.0.0.236/trunk@82008 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 18:51:50 +00:00
blizzard%redhat.com
07fbfbf65d add missing files from qt build for John C. Griggs <johng@corel.com>
git-svn-id: svn://10.0.0.236/trunk@82005 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 18:23:39 +00:00
cls%seawood.org
2eaf4c4298 Fix --enable-homedir. Bug #58327
git-svn-id: svn://10.0.0.236/trunk@82004 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 15:54:11 +00:00
waqar%netscape.com
c1d6bbe433 #=34706
r=dcone@netscape.com
a=buster@netscape.com
d=Fixes a crash on linux when printing to a file in a directory where I dont
have permission to or printing to a directory or to a non existing printer.


git-svn-id: svn://10.0.0.236/trunk@82003 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 15:22:46 +00:00
bienvenu%netscape.com
033e35780c fix 55003 null protection in closing nsOutputStream r=kandrot sr=waterson
git-svn-id: svn://10.0.0.236/trunk@82002 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 15:20:31 +00:00
bienvenu%netscape.com
5847a7edda fix shift delete in local mail folders to allow subsequent msg select r=sspitzer sr=mscott 58323
git-svn-id: svn://10.0.0.236/trunk@82001 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 14:58:10 +00:00
hyatt%netscape.com
89f8fcaae3 Fix for 57139. a=ben
git-svn-id: svn://10.0.0.236/trunk@82000 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 09:26:53 +00:00
hyatt%netscape.com
5e80b096ef Fix for 57139, a=ben
git-svn-id: svn://10.0.0.236/trunk@81999 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 09:24:11 +00:00
buster%netscape.com
952ca09fa5 My previous check-in had an important line accidentally commented out. This just re-enables that line. This fixes bug 58257
git-svn-id: svn://10.0.0.236/trunk@81996 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:48:53 +00:00
buster%netscape.com
c94c187442 bug 53690 part of table never displayed because of incremental reflow bug
r=karnaze
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81995 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:15:32 +00:00
buster%netscape.com
abad145489 bug 54850 crash when plugin has an inline parent
r=av, r=peterl
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81994 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:11:59 +00:00
buster%netscape.com
d61dcff924 accidentally checked this in with a debug flag turned on that wrote a bunch of output to stdout. turned off.
git-svn-id: svn://10.0.0.236/trunk@81993 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:10:44 +00:00
blizzard%redhat.com
181574d83c bug #58258. Fix warnings in nsNetUtil.h, take II. This should work on win32.
git-svn-id: svn://10.0.0.236/trunk@81992 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 02:02:00 +00:00
hyatt%netscape.com
3cdf0bb826 Fix for 53218. r-pav, a=ben
git-svn-id: svn://10.0.0.236/trunk@81991 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 01:50:20 +00:00
dbaron%fas.harvard.edu
b317a6d07b Fix one-time leak of 4 nsVoidArray and 1 PRMonitor from code in nsRange.cpp by freeing in layout module destructor. r=mjudge@netscape.com sr=scc@mozilla.org b=56762
git-svn-id: svn://10.0.0.236/trunk@81990 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 21:38:52 +00:00
dbaron%fas.harvard.edu
42fb5fdb76 Fix one-time leak of 5 nsVoidArray by freeing in module destructor. r=pavlov@netscape.com sr=scc@mozilla.org b=56747
git-svn-id: svn://10.0.0.236/trunk@81989 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 21:35:02 +00:00
dbaron%fas.harvard.edu
dcf421d85f Fix CompositeDatasourceImpl::Release so it works all the time, including when |mDataSources.Count() == 0|. Use refcount stabilization by one more than the number of elements in mDataSources so that the |mRefCnt == mDataSources.Count()| is not hit on any recursive calls. r=waterson@netscape.com sr=scc@mozilla.org b=56744
git-svn-id: svn://10.0.0.236/trunk@81988 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 21:32:42 +00:00
dbaron%fas.harvard.edu
30be81be69 Instrument various classes so they show up in the leak/bloat stats. r=morse@netscape.com sr=scc@mozilla.org b=56644
git-svn-id: svn://10.0.0.236/trunk@81987 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 21:27:45 +00:00
dbaron%fas.harvard.edu
d307ff6be5 Fix refcount logging for nsCachedNetData objects so they don't appear to leak by indicating a refcount of 0 (for deletion) when the RECYCLED flag is set or when the arena is destroyed. r=rpotts@netscape.com sr=scc@mozilla.org b=31367
git-svn-id: svn://10.0.0.236/trunk@81986 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 21:24:39 +00:00
dbaron%fas.harvard.edu
6e8e992514 Since source files are no longer (thankfully!) copied around here, they don't need to be in the .cvsignore. r=cls@seawood.org b=49937
git-svn-id: svn://10.0.0.236/trunk@81985 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 21:21:48 +00:00
shaver%mozilla.org
853ef950d0 #56716, run finally{} before return from try{}/catch{}, r=mccabe, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@81984 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 18:54:58 +00:00
blizzard%redhat.com
a1d2010f91 backing out last change. it makes win32 sad.
git-svn-id: svn://10.0.0.236/trunk@81983 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 18:26:42 +00:00
brendan%mozilla.org
8b26bb2761 Use 0 - i rather than -i to avoid unsigned warning on Windows.
git-svn-id: svn://10.0.0.236/trunk@81982 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 18:08:40 +00:00
nboyd%atg.com
b2e5fffdaf Fix formatting
git-svn-id: svn://10.0.0.236/trunk@81981 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 18:07:26 +00:00
waterson%netscape.com
7530a86533 Bug 56713. Rework bulletproofing that sspitzer and I put in aeons ago: text nodes can wind up at the top level in an overlay. In this case we'll just ignore them instead of completely bailing, which'd put us into a bad state the next time around. r=hyatt, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@81980 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 17:58:21 +00:00
blizzard%redhat.com
e116048658 bug #58258 - warning fixes for nsIChannel::LOAD_NORMAL. r=scc sr=mscott,brendan
git-svn-id: svn://10.0.0.236/trunk@81979 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 17:44:42 +00:00
sspitzer%netscape.com
028cfa99b2 take out my PRINTF -> printf changes, since warren got backed out.
git-svn-id: svn://10.0.0.236/trunk@81976 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 03:02:27 +00:00
morse%netscape.com
5e4a6d80b4 bug 55731, files on disk need explicit html suffix, r=valeski, a=gagan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81975 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 01:57:24 +00:00
brendan%mozilla.org
327f36258e Handle negative-int-fits-in-jsval string literals as property names equivalent to their int conversions (57043, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@81973 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 01:30:16 +00:00
rickg%netscape.com
fdc899aa10 RTM+Limbo bugs: 55980, 57378. r=harishd, sr=buster, a=pdt.
git-svn-id: svn://10.0.0.236/trunk@81972 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 01:28:45 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
despotdaemon%netscape.com
b60d205909 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@81966 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 19:31:01 +00:00
despotdaemon%netscape.com
dd54e44211 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@81965 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 19:04:46 +00:00
mkaply%us.ibm.com
3a09a4453c OS/2 TB breakage
Stab in the dark here
This #ifdef is probably bad anyway. Is it checking for a BSD build system? We should have XP_BSD or something.


git-svn-id: svn://10.0.0.236/trunk@81963 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 15:29:50 +00:00
blakeross%telocity.com
2df8fbea78 Fix for 12056: ctrl+click on a link should open in new window, alt+click should save it. r=jst sr=brendan, alecf
git-svn-id: svn://10.0.0.236/trunk@81962 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 14:30:48 +00:00
warren%netscape.com
bc4600d89b Fixing ail bustage
git-svn-id: svn://10.0.0.236/trunk@81961 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 10:41:16 +00:00
warren%netscape.com
7527de4e31 Attempting to fix os2
git-svn-id: svn://10.0.0.236/trunk@81960 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 10:30:19 +00:00
warren%netscape.com
e9c204c51e Fixing printf problem with RAPTOR_STOPWATCH_TRACE
git-svn-id: svn://10.0.0.236/trunk@81959 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 10:14:36 +00:00
warren%netscape.com
3d3f35513d Fixing printf problem with MOZ_TIMER_DEBUGLOG
git-svn-id: svn://10.0.0.236/trunk@81958 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 10:11:27 +00:00
warren%netscape.com
3382d6b64e Fixed printfs for beos
git-svn-id: svn://10.0.0.236/trunk@81957 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 10:03:09 +00:00
cls%seawood.org
5d117f122a Added nslog.h in attempt to fix BeOS build post bug #47207
git-svn-id: svn://10.0.0.236/trunk@81956 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 09:10:02 +00:00
disttsc%bart.nl
c4b72529f2 Clean up profileMigrationProgress js code. bug=58266, r=sspitzer, a=alecf
git-svn-id: svn://10.0.0.236/trunk@81955 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 08:00:58 +00:00
sspitzer%netscape.com
beb40431b5 a new place to add the salting call. fix by racham, r=sspitzer, sr=alecf
also, fix warnings.  convert printf to PRINTF, ala warren.


git-svn-id: svn://10.0.0.236/trunk@81954 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 07:11:47 +00:00
alecf%netscape.com
21313a1312 fix for #13806 r=sfraser, sr=mscott
stop exporting excess symbols from addressbook


git-svn-id: svn://10.0.0.236/trunk@81953 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 07:01:37 +00:00
sspitzer%netscape.com
2e76e3f9bd fix build bustage. (for me only)
git-svn-id: svn://10.0.0.236/trunk@81950 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 06:38:31 +00:00
waldemar%netscape.com
f1156c178a Allowed multiple units in a unit expression
git-svn-id: svn://10.0.0.236/trunk@81946 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:55:47 +00:00
beard%netscape.com
81a076aac5 Bug 56607 (sr=waterson, r=edburns): Fixes for <APPLET> tag processing, clipping.
git-svn-id: svn://10.0.0.236/trunk@81945 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:55:35 +00:00
waldemar%netscape.com
6594c99865 Renamed OrdinaryInitialIdentifierCharacter and OrdinaryContinuingIdentifierCharacter to InitialIdentifierCharacter and ContinuingIdentifierCharacter
git-svn-id: svn://10.0.0.236/trunk@81944 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:55:19 +00:00
waldemar%netscape.com
8313ac2651 Initial version
git-svn-id: svn://10.0.0.236/trunk@81943 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:54:44 +00:00
beard%netscape.com
bc5e6bb713 Bug 56607 (sr=waterson, r=edburns): New version resource.
git-svn-id: svn://10.0.0.236/trunk@81942 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:54:14 +00:00
waldemar%netscape.com
beecf34d49 Added JS20/Units
git-svn-id: svn://10.0.0.236/trunk@81941 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:53:23 +00:00
beard%netscape.com
579a536bd5 Bug 56607 (sr=waterson, r=edburns): Added TextCommon shared library for access to CreateTextEncoding().
git-svn-id: svn://10.0.0.236/trunk@81940 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:51:28 +00:00
beard%netscape.com
3f175b0830 Support for hooking up MRJ to browser networking stack. (not part of build yet)
git-svn-id: svn://10.0.0.236/trunk@81938 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:39:55 +00:00
warren%netscape.com
ca63c9891b Fixing printf bustage
git-svn-id: svn://10.0.0.236/trunk@81937 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:36:44 +00:00
warren%netscape.com
5bfc8cb6de Fix for leak in Vprintf: taking patrick's patch instead
git-svn-id: svn://10.0.0.236/trunk@81936 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:24:32 +00:00
warren%netscape.com
e8cd262416 Fix for leak in Vprintf
git-svn-id: svn://10.0.0.236/trunk@81935 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:21:54 +00:00
warren%netscape.com
d94e6ec072 Removed printfs.
git-svn-id: svn://10.0.0.236/trunk@81933 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 05:07:06 +00:00
warren%netscape.com
eae490c1af Attempting to make solaris happier with ?:
git-svn-id: svn://10.0.0.236/trunk@81931 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 04:51:12 +00:00
warren%netscape.com
46721bdc5f undef'd printf for FreeBSD
git-svn-id: svn://10.0.0.236/trunk@81930 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 04:48:01 +00:00
warren%netscape.com
dfb9dae21a Fixed leak beard pointed out on PR_vsmprintf
git-svn-id: svn://10.0.0.236/trunk@81929 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 04:36:33 +00:00
warren%netscape.com
c3ecab7969 Fixed FPRINTF => PRINTF
git-svn-id: svn://10.0.0.236/trunk@81928 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 04:15:35 +00:00
warren%netscape.com
a33ece6792 problem with gNumberOfWebShells -- moved into DEBUG
git-svn-id: svn://10.0.0.236/trunk@81927 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 04:09:10 +00:00
warren%netscape.com
209d2435c5 Added AddRef/Release method for nsLog so that they don't appear to leak. Changed comments too.
git-svn-id: svn://10.0.0.236/trunk@81926 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 03:12:02 +00:00
warren%netscape.com
c098a7a43a Attempted to fix opt problem
git-svn-id: svn://10.0.0.236/trunk@81925 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:46:30 +00:00
warren%netscape.com
31b8a961f3 Removed PRINT that was conflicting.
git-svn-id: svn://10.0.0.236/trunk@81924 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:35:25 +00:00
dbaron%fas.harvard.edu
0df11335a5 Remove extra 0 param. (Fix warren's bustage.) r=warren
git-svn-id: svn://10.0.0.236/trunk@81923 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:30:42 +00:00
warren%netscape.com
4966ad1519 Removing more extra 0 params from NS_IMPL_LOG macro
git-svn-id: svn://10.0.0.236/trunk@81922 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:24:24 +00:00
dbaron%fas.harvard.edu
1a3a4b06b7 Removed extra 0 param. (Fix warren's bustage.)
git-svn-id: svn://10.0.0.236/trunk@81921 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:19:54 +00:00
warren%netscape.com
bb561fcbb0 Removed extra 0 param
git-svn-id: svn://10.0.0.236/trunk@81920 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:18:32 +00:00
dbaron%fas.harvard.edu
ff5593edcc Terminate statements with semicolon, not colon. (Fixing warren's bustage.)
git-svn-id: svn://10.0.0.236/trunk@81918 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:07:38 +00:00
warren%netscape.com
76e272205d Fixed mLoadStartTime problem
git-svn-id: svn://10.0.0.236/trunk@81917 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:01:20 +00:00
warren%netscape.com
1b82982835 Added def for NS_GetLog for optimized builds
git-svn-id: svn://10.0.0.236/trunk@81916 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:58:42 +00:00
warren%netscape.com
718287e2ad Fixed extra 0 param
git-svn-id: svn://10.0.0.236/trunk@81915 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:52:46 +00:00
dbaron%fas.harvard.edu
fa15526655 Fix MathML bustage from warren's changes (by removing duplicate changes in the .cpp file that were in the .h file too).
git-svn-id: svn://10.0.0.236/trunk@81914 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:49:00 +00:00
warren%netscape.com
4920294cee more fixes for dbaron
git-svn-id: svn://10.0.0.236/trunk@81913 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:28:06 +00:00
warren%netscape.com
8510b3ae02 Removing nslog.h from .c files
git-svn-id: svn://10.0.0.236/trunk@81912 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:11:36 +00:00
warren%netscape.com
e20fa75937 Fixed fprintf problem
git-svn-id: svn://10.0.0.236/trunk@81911 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:07:38 +00:00
warren%netscape.com
07dcb4b2f5 Fixed XP_FilePrintf problem
git-svn-id: svn://10.0.0.236/trunk@81910 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:03:01 +00:00
warren%netscape.com
56ed12d3ed Fixed PR_LOG problem.
git-svn-id: svn://10.0.0.236/trunk@81909 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:00:10 +00:00
warren%netscape.com
a0c507376a Adding diffs from obsolete nsPluginsDirUNIX.cpp to nsPluginsDirUnix.cpp
git-svn-id: svn://10.0.0.236/trunk@81908 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 00:52:29 +00:00
warren%netscape.com
9d5b061273 re-removing nsPluginsDirUNIX.cpp
git-svn-id: svn://10.0.0.236/trunk@81907 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 00:47:32 +00:00
warren%netscape.com
1c8bc82a36 readding nsPluginsDirUNIX.cpp
git-svn-id: svn://10.0.0.236/trunk@81906 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 00:47:08 +00:00
warren%netscape.com
b829671032 Fixing printf problem.
git-svn-id: svn://10.0.0.236/trunk@81905 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 00:40:49 +00:00
disttsc%bart.nl
8d43a58463 Whoops, checked into a flaming, CLOSED tree, backing it out.
(No worries, this'll be right back after this break.)


git-svn-id: svn://10.0.0.236/trunk@81904 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 00:39:17 +00:00
cls%seawood.org
11850acf77 removing old file again
git-svn-id: svn://10.0.0.236/trunk@81903 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 00:18:20 +00:00
rogerl%netscape.com
2dc7e15103 Fixed gcc whine about char16.
git-svn-id: svn://10.0.0.236/trunk@81902 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 00:07:36 +00:00
rogerl%netscape.com
7ccc093f31 Removed unused parameter.
git-svn-id: svn://10.0.0.236/trunk@81901 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 00:01:58 +00:00
disttsc%bart.nl
c0b16a70d4 Clean up profileMigrationProgress js code. bug=58266, r=sspitzer, a=alecf
git-svn-id: svn://10.0.0.236/trunk@81900 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 00:01:18 +00:00
rogerl%netscape.com
8133677bfb Named parameter work.
git-svn-id: svn://10.0.0.236/trunk@81899 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:55:31 +00:00
warren%netscape.com
f4fc9e4e13 Added NS_GetLog to export list
git-svn-id: svn://10.0.0.236/trunk@81898 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:50:07 +00:00
warren%netscape.com
c948616634 Removed extra 0 arg from macro
git-svn-id: svn://10.0.0.236/trunk@81897 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:41:27 +00:00
warren%netscape.com
e83a41018c Removed extra 0 arg from macro.
git-svn-id: svn://10.0.0.236/trunk@81896 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:37:22 +00:00
warren%netscape.com
46845c3a3e Removing nslog from .c file
git-svn-id: svn://10.0.0.236/trunk@81895 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:29:55 +00:00
warren%netscape.com
aaf23a98bf Added nslog.h
git-svn-id: svn://10.0.0.236/trunk@81894 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:25:45 +00:00
warren%netscape.com
b725c37ce9 Removed extra 0 arg
git-svn-id: svn://10.0.0.236/trunk@81893 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:21:30 +00:00
warren%netscape.com
0f79801669 Removed extra 0 arg.
git-svn-id: svn://10.0.0.236/trunk@81892 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:14:42 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
peterlubczynski%netscape.com
e7c9040b5e Prevent call into plugin if plugin is stopped. Fixes crash in plugin while reload/navigate while plugin is streaming. bug 54186, r=av, sr=buster
git-svn-id: svn://10.0.0.236/trunk@81883 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:05:07 +00:00
scc%mozilla.org
36c9406119 fix wrong error return; bug #57981 r=waterson, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@81882 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 21:46:20 +00:00
sfraser%netscape.com
b725568f25 Allowing 'pull all 1' in the prefs file to turn on pulling for the build scripts. Also change from using $0 to cwd() to enable calling scripts to work better. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81881 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 20:42:24 +00:00
pinkerton%netscape.com
90fec14c13 changes for Carbon r=pchen/a=sfraser. bug# 42100
git-svn-id: svn://10.0.0.236/trunk@81880 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 20:40:47 +00:00
nboyd%atg.com
558c3dabc5 Add javadoc.
git-svn-id: svn://10.0.0.236/trunk@81879 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 20:17:56 +00:00
nboyd%atg.com
eb1585428c Fix tree and icode printing.
git-svn-id: svn://10.0.0.236/trunk@81878 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 20:17:19 +00:00
varada%netscape.com
967e72c776 fix for bug#55964; changes to icon in setup.exe
git-svn-id: svn://10.0.0.236/trunk@81875 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 19:31:42 +00:00
mkaply%us.ibm.com
b8e6a756b9 OS/2 Tinderbox break
Need PR_CALLBACK for OS/2, and bad include of windows.h for XP_PC...hurrah we have XP_WIN now


git-svn-id: svn://10.0.0.236/trunk@81871 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 18:30:16 +00:00
kestes%staff.mail.com
25e43b2f80 add use Time::Local because we need it. Must have removed it by
accident.


git-svn-id: svn://10.0.0.236/trunk@81869 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 15:29:52 +00:00
buster%netscape.com
b3039d3db0 bug 56704 (Crash selecting text)
r=erik
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81868 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 14:16:36 +00:00
buster%netscape.com
c696b64b4d bug 57596 (crash caused by reframing XBL reparented explicit children)
fix by rickg
r=buster
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81867 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 14:14:36 +00:00
buster%netscape.com
5529df487c bug 57054 (<MAP> should be display:inline; in quirks mode)
r=rickg
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81866 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 13:56:33 +00:00
ccarlen%netscape.com
c20fc47027 Bug 57388 - Parent dir had a space in it. NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@81865 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 12:44:46 +00:00
cls%seawood.org
0634af7b5f Adding additional types to the strip exclusion list
git-svn-id: svn://10.0.0.236/trunk@81864 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 09:52:31 +00:00
axel%pike.org
bcccc52383 making makejs.pl builddir aware, see 22062, r=sgehani@netscape.com, moa=dveditz@netscape.com, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81863 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 09:20:28 +00:00
jst%netscape.com
c5d98e9df1 Fixing rtm+ bug 57495. Making element.getElementsByTagName() case insensitive if called on an HTML element. r=pollmann, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@81862 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 09:01:33 +00:00
cls%seawood.org
e5afebae95 Use MOZILLA_DIR instead of $(topsrcdir)/../mozilla to remove netscapism. Bug #54210
git-svn-id: svn://10.0.0.236/trunk@81861 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 08:47:51 +00:00
warren%netscape.com
d9cf983396 Added forgotten nsILoggingService.idl
git-svn-id: svn://10.0.0.236/trunk@81859 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 06:41:11 +00:00
warren%netscape.com
0605461450 Bug 47207 - removing printf / logging changes. Sticking in big toe. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81858 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 06:18:39 +00:00
cls%seawood.org
1c2efa89e9 No longer used. Bug #26798
git-svn-id: svn://10.0.0.236/trunk@81857 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 06:13:47 +00:00
warren%netscape.com
aed220a74b Changes to build on Mac.
git-svn-id: svn://10.0.0.236/trunk@81856 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 05:11:58 +00:00
dougt%netscape.com
20162d98d7 First draft of a embedding makefile.
git-svn-id: svn://10.0.0.236/trunk@81854 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 04:39:43 +00:00
mscott%netscape.com
1220e83b36 Bug #56934 --> properly determine the status for on end document load. We used to
use the status of the last request processed in loading the document to determine
 success or failure. That's incorrect. Instead, test to see if the load group is being
canceled. If it is, use that as the status for the entire document. Otherwise, ignore
the status for the last request and instead use the status for the main document
(the default load channel).

this also means making sure the http channel properly sets it's status code in ResponseComplete (r=gagan)
 sr=rpotts, r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@81852 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 04:13:51 +00:00
bienvenu%netscape.com
6d79fbd9db fix handling of interrupted news urls wrt connection cache r=sspitzer, sr=alecf 57665
git-svn-id: svn://10.0.0.236/trunk@81850 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 03:21:02 +00:00
timeless%mac.com
0b29ed7096 fix bug 46610 Status bar is missing offline indicator r=scottip, a=waterson
git-svn-id: svn://10.0.0.236/trunk@81849 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 03:15:52 +00:00
pinkerton%netscape.com
4c3dfd82d9 If we're being minimized, don't tell Gecko. This allows us to remember the
scroll position when we're un-minimized. bug#56156, r=rods/a=hyatt.


git-svn-id: svn://10.0.0.236/trunk@81847 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 02:41:08 +00:00
jj%netscape.com
f2217817e2 #58151: fixed 3 bogus tags
git-svn-id: svn://10.0.0.236/trunk@81846 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 02:39:08 +00:00
mccabe%netscape.com
babe1d49fe Changes to update standalone JavaScript and Liveconnect library builds to the New Era of NSPR 4 and JDK 1.2.
Fixes for OSF; they they assume the existence of /share/builds/components/[jdk|nspr]/SOME_VERSION/etc/etc.  Sorry, external folks!

Not part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@81844 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 01:10:09 +00:00
alecf%netscape.com
d9faae4b9c #52116 - Show URL for XBL element & method/attribute when a JS warning or exception happens
r=dveditz,mccabe, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@81843 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 00:51:23 +00:00
sfraser%netscape.com
ff6c6f712b Minor output cleanup. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81842 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 00:38:58 +00:00
mccabe%netscape.com
58fa3caf3e Changes to update standalone JavaScript and Liveconnect library builds to the New Era of NSPR 4 and JDK 1.2.
Fixes for Linux and SunOS; they assume the existence of /share/builds/components/[jdk|nspr]/SOME_VERSION/etc/etc.  Sorry, external folks!

Not part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@81841 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 00:08:31 +00:00
darin%netscape.com
43d3f7c717 Fixes bug 56785. 303 HTTP response now handled. r=gagan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81840 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 00:04:18 +00:00
mccabe%netscape.com
fdc21556f0 Fix standalone liveconnect build to not complain about missing fdlibm when asked to clean or clobber.
Not part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@81839 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 23:48:16 +00:00
mccabe%netscape.com
8f2cf2aab5 Make commandline shells for javascript and xpconnect-enabled javascript not return failure error codes when a warning occurs.
The failure codes were confusing our test drivers.

Not part of the Mozilla product.


git-svn-id: svn://10.0.0.236/trunk@81838 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 23:45:43 +00:00
nelsonb%netscape.com
ddc2c31a75 Performance benchmark for modular exponentiation.
Test modulus and exponent to be added later.


git-svn-id: svn://10.0.0.236/trunk@81836 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 23:30:50 +00:00
cls%seawood.org
d89298fb69 Fix typo
git-svn-id: svn://10.0.0.236/trunk@81833 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 22:36:29 +00:00
ccarlen%netscape.com
3ab40a320d Bug 57388. NOT PART OF BUILD - Re-adding because old dir had a space in it.
git-svn-id: svn://10.0.0.236/trunk@81829 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 21:17:23 +00:00
ccarlen%netscape.com
ca30e76775 Bug 57388. NOT PART OF BUILD - Re-adding because old dir had a space in it.
git-svn-id: svn://10.0.0.236/trunk@81828 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 21:09:49 +00:00
ccarlen%netscape.com
720e908f0e Bug 57388. NOT PART OF BUILD - Removing because parent dir had a spece in it.
git-svn-id: svn://10.0.0.236/trunk@81827 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 21:05:23 +00:00
leaf%mozilla.org
883e9e067c Automated update
git-svn-id: svn://10.0.0.236/trunk@81826 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 20:59:59 +00:00
mkaply%us.ibm.com
1a2282599a #58097
r=cls
TINDERBOX BREAK - Enable HAVE_MOVEMAIL


git-svn-id: svn://10.0.0.236/trunk@81825 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 20:45:48 +00:00
pchen%netscape.com
48fb000367 bugzilla 56564, r=matt, sr=alecf, add a "l" to ".htm" on other search URL
git-svn-id: svn://10.0.0.236/trunk@81824 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 20:28:49 +00:00
sfraser%netscape.com
a252d83419 Use indirection to get to the build module file (so that different builds can use different names). Also clean up the root scripts to share more code. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81822 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 20:00:34 +00:00
jeff.dyer%compilercompany.com
833f58344e Added a couple missing redesignates.
git-svn-id: svn://10.0.0.236/trunk@81821 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 19:51:31 +00:00
cls%seawood.org
767d12d3c2 Fix makefile creation problem when full path contains meta chars. Bug 50431. Thanks to ume@mahoroba.org for the patch.
git-svn-id: svn://10.0.0.236/trunk@81820 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 19:43:39 +00:00
neeti%netscape.com
ece036e209 fix for rtm++ bug 57746 crashes [@ nsDBAccessor::EnumEntry],r=gagan, sr=buster
git-svn-id: svn://10.0.0.236/trunk@81819 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 19:41:07 +00:00
cls%seawood.org
5d6d979d63 Adding build.dtd to ignore list. Bug #26798
git-svn-id: svn://10.0.0.236/trunk@81816 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 18:53:40 +00:00
mkaply%us.ibm.com
1dfac9946c #47876
r=jkobal, a=blizzard
Code from jeffreyj to fix filepicker names


git-svn-id: svn://10.0.0.236/trunk@81815 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 18:43:29 +00:00
mkaply%us.ibm.com
79a2854edd #58073
r=mkaply, a=blizzard
Modify different pieces of keyboard code to make NumKeypad work


git-svn-id: svn://10.0.0.236/trunk@81814 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 18:40:24 +00:00
kevin%perldap.org
61c5f9ac4f Removing my crap.
git-svn-id: svn://10.0.0.236/trunk@81813 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 17:37:07 +00:00
kevin%perldap.org
a679e1af1e Whoops - removing my crap.
git-svn-id: svn://10.0.0.236/trunk@81812 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 17:35:30 +00:00
kevin%perldap.org
e742d8f27a Added tools to the CVS repository.
git-svn-id: svn://10.0.0.236/trunk@81811 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 17:24:54 +00:00
locka%iol.ie
f821f5c184 NOT PART OF BUILD. Delphi sample using ActiveX control
git-svn-id: svn://10.0.0.236/trunk@81810 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 17:06:28 +00:00
axel%pike.org
fc24bed70d Fixing 53327, patch by jjs@acis.com.au, r=me, string() returns comment nodes, +whitespace, not part of build
git-svn-id: svn://10.0.0.236/trunk@81809 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 16:45:26 +00:00
kevin%perldap.org
21c11a7627 Changed % errors in LOG file to use sprintf.
Changed report email to be marked as BETA (for now).


git-svn-id: svn://10.0.0.236/trunk@81808 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 14:57:02 +00:00
dcone%netscape.com
45dcf7b162 bug = 57704 r = kmcclusk sr = buster. Needed to check for isPaginated before constucting scroll bars.
git-svn-id: svn://10.0.0.236/trunk@81807 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 13:48:49 +00:00
cls%seawood.org
c23bfa0d33 Backing out temp fix for bug #25562 (-LANG:exceptions=OFF CXXFLAGS).
Rerranging labels in nsMsgSend.cpp so that Irix CC won't complain about jumping to a label out of its region. Bug #25562 sr=mscott


git-svn-id: svn://10.0.0.236/trunk@81806 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 08:28:16 +00:00
leaf%mozilla.org
d35d4b035b Automated update
git-svn-id: svn://10.0.0.236/trunk@81805 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 07:59:56 +00:00
cls%seawood.org
dcb52e7b86 Add gcc check for -pthreads if -pthread check fails. bug #44504 Thanks to madams
@janna.com (Mark G. Adams) for the patch.


git-svn-id: svn://10.0.0.236/trunk@81804 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 07:53:51 +00:00
cls%seawood.org
5b58ae2d38 Add gcc check for -pthreads if -pthread check fails. bug #44504 Thanks to madams@janna.com (Mark G. Adams) for the patch.
git-svn-id: svn://10.0.0.236/trunk@81803 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 07:52:12 +00:00
mscott%netscape.com
455ed3c418 Bug #56934 --> properly determine the status for on end document load. We used to
use the status of the last request processed in loading the document to determine
success or failure. That's incorrect. Instead, test to see if the load group is being
canceled. If it is, use that as the status for the entire document. Otherwise, ignore
the status for the last request and instead use the status for the main document
(the default load channel).
sr=rpotts, r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@81801 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 06:34:20 +00:00
sfraser%netscape.com
35eb96c1c7 Add build time routines. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81800 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 06:00:31 +00:00
sfraser%netscape.com
7f8348d4fc Fix Jar::CreateJarFromManifest exporting. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81796 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 03:53:51 +00:00
beard%netscape.com
972f467d5e adding nodefactory.h to dependency mix
git-svn-id: svn://10.0.0.236/trunk@81795 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 03:43:41 +00:00
beard%netscape.com
0a57f9fd4a fixing confusing code for linux, static Arena() -> getArena()
git-svn-id: svn://10.0.0.236/trunk@81794 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 03:40:51 +00:00
jband%netscape.com
34cacdc7e6 fix bug 57962 by syncing xpconnect's JSContext list both before JSContext creation and after JSContext destruction. r=mccabe@netscape.com sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81793 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 03:40:23 +00:00
sspitzer%netscape.com
8ed3b6305d fix for #57151. r=bienvenu, sr=mscott. properly migrate the users addressbook
when they are non-ascii.


git-svn-id: svn://10.0.0.236/trunk@81792 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 03:39:24 +00:00
sspitzer%netscape.com
5bdfbf26f4 fix for #56002. for security, add a "salt" directory between the profile
directory and the profile data.  r=racham, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@81791 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 03:36:21 +00:00
sspitzer%netscape.com
4658d38b7c fix for #56666. add locking when getting mail from the spool file.
patch from adam@gimp.org.


git-svn-id: svn://10.0.0.236/trunk@81790 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 03:30:56 +00:00
mccabe%netscape.com
2ab9981a8b Add magic emacs modeline comment to make it display in Makefile mode.
Not part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@81789 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 02:59:03 +00:00
evaughan%netscape.com
f7a8046094 fix for bug #57026
r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@81788 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 02:53:39 +00:00
timeless%mac.com
591eaa661f fix bug 35057 Use "My Sidebar" consistently throughout browser
r=blake, a=ben


git-svn-id: svn://10.0.0.236/trunk@81787 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 02:36:02 +00:00
cls%seawood.org
e883c29f11 Rearrange library linking order so that all symbols are resolved for Irix builds. Build #55783. Thanks to rob@adacel.com.au (Robert Low) for the patch.
git-svn-id: svn://10.0.0.236/trunk@81786 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 02:24:31 +00:00
cls%seawood.org
e6c8b562ca Fix problem of undefined c++ template symbols in Irix builds by using 'CC -ar' to create intermediate library archives instead of 'ar'. Bug #55783 . Thanks to rob@adacel.com.au (Robert Low) for the patch.
git-svn-id: svn://10.0.0.236/trunk@81785 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 02:23:00 +00:00
timeless%mac.com
d3a7a9386d fix bug 47209, "add ellipsis to send page and send link"
r=jag a=putterman


git-svn-id: svn://10.0.0.236/trunk@81784 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 02:22:34 +00:00
mccabe%netscape.com
a5b99df08e Add magic emacs modeline comment to make it display in Makefile mode.
Not part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@81783 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 02:13:07 +00:00
disttsc%bart.nl
7531471b22 Make the font size menu always set a zoom level as interim fix until we've hooked up mousewheel font size changing to this menu.
bug=57480, r=bryner, a=ben


git-svn-id: svn://10.0.0.236/trunk@81782 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 01:31:40 +00:00
sfraser%netscape.com
3dcda1a5f4 Tidy up CodeWarrior path stuff. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81780 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 01:20:12 +00:00
attinasi%netscape.com
d63c72881b Historical performance data: not part of build.
git-svn-id: svn://10.0.0.236/trunk@81778 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 01:00:21 +00:00
rjc%netscape.com
96639be5f5 Fix bug # 57017: choosing PT folder loops if already marked as PT folder. r=ben sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81777 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 00:53:13 +00:00
bienvenu%netscape.com
aab6205e70 fix for 56643 topcrash in morkRowObject:CloseRowObject r=putterman,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81775 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 00:36:56 +00:00
varada%netscape.com
1bc2010e86 fix for bug#55972;customized helpmenu.rdf
git-svn-id: svn://10.0.0.236/trunk@81774 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 00:34:18 +00:00
attinasi%netscape.com
297910f252 Fix was already approved for checkin on the branch, now updating trunk as well. b=56194, r=karnaze a=buster (for RTM bug 40340)
git-svn-id: svn://10.0.0.236/trunk@81773 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 00:34:08 +00:00
nelsonb%netscape.com
92b8c51f00 Functions that provide default RSA public and private key for performance
benchmarks.  Values for these keys to be supplied in next revision.


git-svn-id: svn://10.0.0.236/trunk@81772 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 00:29:09 +00:00
rjc%netscape.com
233ac1d751 Search file update for bug # 57997: r=gagan sr=ben
git-svn-id: svn://10.0.0.236/trunk@81771 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 00:17:22 +00:00
rjc%netscape.com
b9dbc054a2 Search file removal for bug # 57997: r=gagan sr=ben
git-svn-id: svn://10.0.0.236/trunk@81770 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 00:14:31 +00:00
edburns%acm.org
e62ec5289e author=joechou@eng.sun.com
r=av
r=edburns@acm.org
sr=waterson
bug= 56019
///////////////////////////////////////////////////////////////////////////////
// Currently, in the MIME type info passed in by plugin, a ';' is used as the
// separator of two MIME types, and also the sparator of a version in one MIME
// type. For example:
// "application/x-java-applet;version1.3::java(TM) plugin;application/x-java-
// applet...".
// The ambiguity of ';'  causes the browser fail to parse the MIME types
// correctly.
//
// This method parses the MIME type input, and replaces the MIME type
// separators with '|' to eliminate the ambiguity of ';'. (The Windows version
// also uses '|' as the MIME type separator.)
//
// Input format: "...type[;version]:[extension]:[desecription];..."
// Output format: "...type[;version]:[extension]:[desecription]|..."
//
static void SetMIMETypeSeparator(char *minfo)
{


git-svn-id: svn://10.0.0.236/trunk@81769 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 00:12:38 +00:00
rjc%netscape.com
bf0e1fa600 Search file update for bug # 57997: r=gagan sr=ben
git-svn-id: svn://10.0.0.236/trunk@81768 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 00:07:45 +00:00
dmose%mozilla.org
5ac5d798ac test commit; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81767 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 23:54:02 +00:00
dmose%mozilla.org
bc8b6f89ca test commit; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81766 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 23:50:42 +00:00
nelsonb%netscape.com
40254f7a50 RSA performance benchmark program, ported to blapi from NSS 2.8.
git-svn-id: svn://10.0.0.236/trunk@81765 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 23:17:54 +00:00
danm%netscape.com
ea1640ee5e add nullcheck for docshell in LoadContentAreas. bug 57514 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@81764 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 23:17:44 +00:00
cls%seawood.org
d3f717370b OOOPS! Make sure that we touch the .done even if the directory already exists. This will fix the constant rebuild problem
git-svn-id: svn://10.0.0.236/trunk@81762 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 23:06:55 +00:00
sfraser%netscape.com
aa1cbbd6c0 More better perl module organization; keep utility modules in Moz. Also read list of modules to checkout from a file. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81761 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 22:29:43 +00:00
sfraser%netscape.com
7ccf0281d2 Better perl module organization; keep utility modules in Moz. Also read list of modules to checkout from a file. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81760 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 22:20:22 +00:00
sfraser%netscape.com
3daa0cbc88 Better perl module organization; keep utility modules in Moz. Also read list of modules to checkout from a file. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81759 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 21:52:22 +00:00
sfraser%netscape.com
c7acb82478 Better perl module organization; keep utility modules in Moz. Also read list of modules to checkout from a file. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81758 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 21:43:23 +00:00
cls%seawood.org
d0b19fa31d Treat irix64 builds as normal irix builds.
git-svn-id: svn://10.0.0.236/trunk@81757 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 21:36:02 +00:00
cls%seawood.org
b6b9799c4d Fix Irix sections to properly handle USE_N32
git-svn-id: svn://10.0.0.236/trunk@81756 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 21:24:11 +00:00
cls%seawood.org
98ccdcfa4a Propogate the exit codes of the wrapped binary. Bug #57741 . Thanks to harinath@cs.umn.edu (Raja Harinath) for the patch.
git-svn-id: svn://10.0.0.236/trunk@81752 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 20:32:37 +00:00
dbaron%fas.harvard.edu
062b3cb89b Fix the size of the "L" and "*" popups for Mozilla popup code, and shrink the name popup a little bit.
git-svn-id: svn://10.0.0.236/trunk@81751 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 20:14:34 +00:00
kevin%perldap.org
f1785dba31 Whoops - remove print statement.
git-svn-id: svn://10.0.0.236/trunk@81750 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 19:31:16 +00:00
kevin%perldap.org
dfb6ead2ce New version.
git-svn-id: svn://10.0.0.236/trunk@81749 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 19:29:13 +00:00
kevin%perldap.org
219fccab40 Added code to change the cwd to location of program.
git-svn-id: svn://10.0.0.236/trunk@81748 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 19:28:53 +00:00
kevin%perldap.org
eec3080c60 Added IO::File module
git-svn-id: svn://10.0.0.236/trunk@81747 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 19:28:24 +00:00
javi%netscape.com
5e5c810f42 Make boolean preferences work under Netscape6. It's the annoying JS bug
where you can't call top.variable when in the top most frame.

So I moved the function that was doing this to the frame that wanted to
toggle the boolean value instead of calling the top most frame to do this.


git-svn-id: svn://10.0.0.236/trunk@81746 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 18:57:06 +00:00
sfraser%netscape.com
67bdc18611 Fix a problem with the universal interfaces version, and include the build flags module. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81745 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 18:52:33 +00:00
morse%netscape.com
678735026f bug 57840, tre blocker, r=gagan,don
git-svn-id: svn://10.0.0.236/trunk@81744 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 18:14:23 +00:00
briane%qnx.com
835edb1fc2 PHOTON BUILD only
event loop fixes for modal dialogs


git-svn-id: svn://10.0.0.236/trunk@81742 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 18:01:02 +00:00
briane%qnx.com
400eff94c6 PHOTON BUILD only
cursors now change properly, dilogs display in correct locations, modal
dialogs work


git-svn-id: svn://10.0.0.236/trunk@81741 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 18:00:34 +00:00
briane%qnx.com
6c320be715 PHOTON BUILD only
fixes for colors in toggle buttons


git-svn-id: svn://10.0.0.236/trunk@81740 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 17:59:36 +00:00
javi%netscape.com
292e608318 Check-in final reviewed version of sslconn.c
git-svn-id: svn://10.0.0.236/trunk@81739 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 17:23:46 +00:00
blizzard%redhat.com
dc0ebc0b04 Bug #54219. Bring qt back from the dead. I am checking this in on behalf of John Griggs <johng@corel.com>. If you have problems with this code, please contact him.
git-svn-id: svn://10.0.0.236/trunk@81738 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 16:55:42 +00:00
axel%pike.org
6427d95164 adding the version="1.0" for some stylesheets, not part of build
git-svn-id: svn://10.0.0.236/trunk@81737 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 16:45:33 +00:00
bienvenu%netscape.com
b744499690 fix top crash in nsPop3Protocol::SendRetr, from branch, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81736 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 14:59:38 +00:00
karnaze%netscape.com
533eb58536 bug 54542 (Hyatt's patch) - pass in style context instead of resolving it. a=buster, r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@81735 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 14:55:21 +00:00
neeti%netscape.com
8dd67777a6 fix for rtm++ bug 57326, Crash trying to use the save link as context menu, r=gagan, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@81734 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 13:28:39 +00:00
jeff.dyer%compilercompany.com
5f7b205835 Added to FunctionDefinition a pointer that marks the position in the
parameter list that the named parameter marker occurs. The names at or
after that position may or may not have aliases associated with them.


git-svn-id: svn://10.0.0.236/trunk@81733 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 12:46:23 +00:00
mkaply%us.ibm.com
bbe9d86813 #52458
r=mkaply, a=blizzard
Code from jkobal to handle VSCROLL messages to get Thinkpad trackpoint scrolling working


git-svn-id: svn://10.0.0.236/trunk@81732 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 10:58:20 +00:00
mkaply%us.ibm.com
26947aef70 #57814
r=jkobal, a=blizzard
Fix for pasting HTML from clipboard - thanks to Dainis_Jonitis@swh-t.lv for the fix


git-svn-id: svn://10.0.0.236/trunk@81731 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 10:52:25 +00:00
mkaply%us.ibm.com
b362e3dfe7 #57639
r=mkaply, a=blizzard
Code from jkobal - check for VK_SPACE in vkey rather than space in char


git-svn-id: svn://10.0.0.236/trunk@81730 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 10:26:11 +00:00
brendan%mozilla.org
614fbcdb8a Fix obj.toSource to get attributes using the object in which id was found (56482, r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@81729 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 07:00:31 +00:00
bryner%uiuc.edu
384bb466fa Bug 57386 -- make setting the width and height separately on a newly created (1x1) XUL window work correctly. r=pavlov, sr=blizzard. Vixen works on unix now!
git-svn-id: svn://10.0.0.236/trunk@81727 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 06:21:20 +00:00
pierre%netscape.com
a0d18f7f40 56950 "SeaMonkey crash in css code". Check error codes when constructing a DocElementTableFrame. r=attinasi, sr=buster, a=phil.
git-svn-id: svn://10.0.0.236/trunk@81725 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 04:23:37 +00:00
brendan%mozilla.org
c36c1df644 Home sp before calling js_ValueToStringAtom and js_ValueToFunction (bug 57826, r=mccabe, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@81724 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 04:04:29 +00:00
sfraser%netscape.com
af09c147d7 Refactorying to allow for module reuse by other build systems (e.g. Netscape commercial build). NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81723 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 04:04:06 +00:00
blizzard%redhat.com
58f4b619cf Fix for bug #57046. Flush the X connection before returning the xid of the plugin port window. This is part of the fix to get the java plugin working on linux again. r=akkana a=brendan
git-svn-id: svn://10.0.0.236/trunk@81720 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 03:40:53 +00:00
cls%seawood.org
c6050e5fc6 Fixed the strip check to work for cross-compile builds. Bug #11893
git-svn-id: svn://10.0.0.236/trunk@81719 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 03:30:47 +00:00
mscott%netscape.com
4dc59361c0 Bug #56934 --> propogate the error returned by
OnDataAvailable so nsAsyncStreamListener can properly
cancel the load. This fixes the zdnet benchmark
problem. r=gagan, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@81718 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 03:10:49 +00:00
cls%seawood.org
46e28811f8 Must include build.dtd anyplace that uses navigator.dtd for the BuildId. Bug #26798 r=jag
git-svn-id: svn://10.0.0.236/trunk@81717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 03:06:42 +00:00
hyatt%netscape.com
ca45a6e0eb Fix for 57733.
git-svn-id: svn://10.0.0.236/trunk@81716 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 03:03:08 +00:00
dmose%mozilla.org
61eec7e852 The code was trying to use ConnectToDatabase to connect to the shadow db after quietly_check_login() had already called it for us under the covers _without_ the useshadowdb parameter. So reports were being run against the main database, triggering UI stalls. r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81715 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 02:34:13 +00:00
sfraser%netscape.com
8730751089 Support for a text-based list of build flags, and configurable log file locations. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81714 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 02:32:30 +00:00
pinkerton%netscape.com
612b0aac0b Don't use SetAnimatedThemeCursor() at interrupt time. Doh! Instead just back down to using the normal watch cursor. Not as pretty, but doesn't wipe out the machine at random. r=pchen/a=sfraser, bug#52565.
git-svn-id: svn://10.0.0.236/trunk@81710 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 01:43:53 +00:00
sfraser%netscape.com
0c5398f1a4 Move the list of build flags into an external file, so that it can be easily replaced by a different list for a different build. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81703 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 00:26:15 +00:00
kevin%perldap.org
7e97d68b33 Added micheal to email list.
Changed NaN threshold to 20%.


git-svn-id: svn://10.0.0.236/trunk@81698 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 23:13:37 +00:00
waterson%netscape.com
ac9d213f79 Bug 57764. Call UnregisterDataSource() in dtor. r=rjc, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@81697 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 23:13:23 +00:00
dr%netscape.com
9a50f51a61 patch for 53047, for jrgm who doesn't have cvs access. (rtm++, r=evaughan, a=ben)
git-svn-id: svn://10.0.0.236/trunk@81696 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 22:56:13 +00:00
sfraser%netscape.com
bef53973d5 Changes to allow for pref-file override of default file locations for the CodeWarrior and CVS session location files. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81694 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 22:49:23 +00:00
pavlov%netscape.com
ffef013342 fix for bug 56010 r=akkana,brendan sr=blizzard,erik
git-svn-id: svn://10.0.0.236/trunk@81692 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 22:38:03 +00:00
disttsc%bart.nl
2a07585a88 Fix Debug/Verification/PNG Images Test url, bug=39984, patch=teamwork (see bug), r=leaf, a=ben
git-svn-id: svn://10.0.0.236/trunk@81690 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 22:36:12 +00:00
mscott%netscape.com
e9df03eb52 Bug #57207 --> initialze elapsed time to 0 because we may use the variable before we
intialize it later on...
sr=alecf, r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@81689 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 22:20:25 +00:00
varada%netscape.com
2cb30d2eca changing name of cck.exe to setup.exe
git-svn-id: svn://10.0.0.236/trunk@81688 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 22:19:51 +00:00
mscott%netscape.com
f5242e2306 Bug #57207 --> When we bring up the progress dialog, if we've already received a on stop request,
then go ahead and make the progress dialog go away again. r=sspitzer, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@81687 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 22:18:56 +00:00
mjudge%netscape.com
33abd5ded1 bug fix for 48064. rtm++ r=simon a=brendan. pdt=ok. fixes check for valid frame after callonchange. (callonchange may actually destroy the frame underneath us.) also we need to update the focusedvalue when enter/submit is hit. this will save 2 onchange from being fired. one from enter, second from blur.
git-svn-id: svn://10.0.0.236/trunk@81684 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 22:08:44 +00:00
blakeross%telocity.com
07ea1f0309 Fix 57825: search button broken for single click searches. r=pchen a=alec, rtm+
git-svn-id: svn://10.0.0.236/trunk@81682 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 21:59:48 +00:00
dougt%netscape.com
753b408b21 changing default startpage of embedding examples to point to the embedding projects home page. s=jband@netscape.com, r=dougt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 21:57:35 +00:00
nhotta%netscape.com
5798e71d8b Changed not to call the localized date format function but instead calls PR_FormatTimeUSEnglish()
so later it can be parsed by PR_ParseTimeString() correctly,
bug 30994, r=rjc,sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@81680 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 21:53:12 +00:00
nelsonb%netscape.com
642b835b90 New implementation of mp_invmod for even moduli. 3x-500x faster than
xgcd for even moduli.


git-svn-id: svn://10.0.0.236/trunk@81677 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 21:32:53 +00:00
cls%seawood.org
fa19f2b6aa Cross-compiling fixes. Bug #11890 r=blizzard
git-svn-id: svn://10.0.0.236/trunk@81676 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 21:22:32 +00:00
cls%seawood.org
1a11bb372b Add an explicit dependency to avoid parallel build race problem. Bug #31364. r=axel@pike.org
git-svn-id: svn://10.0.0.236/trunk@81675 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 21:10:31 +00:00
beard%netscape.com
46bb7b6353 Added GC_init_MacOS() to make sure MaxApplZone() and MoreMasters() get called. r=sfraser, not part of standard build.
git-svn-id: svn://10.0.0.236/trunk@81674 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 20:18:43 +00:00
sfraser%netscape.com
ec11c4c885 Changed error strings for better tinderbox error reporting. NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@81672 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 18:21:47 +00:00
kevin%perldap.org
d1509ec6c7 Uncommented the RRD files.
git-svn-id: svn://10.0.0.236/trunk@81671 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 18:07:01 +00:00
dougt%netscape.com
cfd5193288 removing Makefile and adding Makefile.in
git-svn-id: svn://10.0.0.236/trunk@81670 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 17:16:20 +00:00
axel%pike.org
290a0bfefe fixing builddir!=srcdir, not part of build
git-svn-id: svn://10.0.0.236/trunk@81669 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 16:28:02 +00:00
bienvenu%netscape.com
8a07fc91b9 fix for 55983 pop filters mis-applied r=jefft, sr=alecf, a=jar
git-svn-id: svn://10.0.0.236/trunk@81668 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 14:38:20 +00:00
nisheeth%netscape.com
73116747c8 Fix for rtm++ bug 54568. a=buster. r=vidur. Fixes crash on sending a mail message from webmail. Also fixes crash on canceling out of the "Plugin not found" dialog that pops up on www.cbsnews.com when you want to see a video clip and the RealVideo plugin is not installed.
git-svn-id: svn://10.0.0.236/trunk@81664 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 06:34:01 +00:00
hyatt%netscape.com
72c2c4674c Fix for 56599. r=everybody. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@81662 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 05:55:42 +00:00
jst%netscape.com
e087aead9d Fixing rtm++ bug 56529. Necko was unescaping the content of URL's if a segment of the URL is requested (but not if the whole URL is requested), the DOM code used this unescaped string as is and that caused backwards compatibility problems. a=gagan&brendan, r=andreas.otte@primus-online.de
git-svn-id: svn://10.0.0.236/trunk@81660 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 04:56:10 +00:00
pollmann%netscape.com
f75f6c4d49 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@81659 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 04:35:25 +00:00
leaf%mozilla.org
eefbece09a Automated update
git-svn-id: svn://10.0.0.236/trunk@81657 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 04:14:57 +00:00
cls%seawood.org
d336515c99 Backing out fix for bug #35419 until we can figure out what to do about the libiberty problem.
git-svn-id: svn://10.0.0.236/trunk@81656 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 04:01:44 +00:00
pollmann%netscape.com
81cf051d9d Bug 57333: Remove search portion of form action - fixes Yahoo form post failure. r=rods, harishd, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@81655 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 03:55:19 +00:00
waterson%netscape.com
38581eaa61 Bug 42001, redux, with feedback from bienvenu. r=bienvenu, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@81654 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 03:49:02 +00:00
bryner%uiuc.edu
99e427855b Bug 56779 - dangling symlinks cause remainder of directory to not show up in filepicker. r=rjc, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@81650 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 02:51:08 +00:00
timeless%mac.com
59afd74cdf implement bug 43936 add context menus for XUL textfields r=timeless a=ben, written by Dan203
git-svn-id: svn://10.0.0.236/trunk@81648 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 02:43:25 +00:00
darin%netscape.com
3fc50fe8b3 Fixes bug 54081. Uploading large files (>50k). r=warren, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@81645 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 02:35:18 +00:00
timeless%mac.com
393e935414 implement bug 43936 add context menus for XUL textfields
r=timeless a=ben, written by Dan203


git-svn-id: svn://10.0.0.236/trunk@81643 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 02:10:35 +00:00
blakeross%telocity.com
716f58acd8 Fix 57728: page scrolls when |input type="image"| has the focus and spacebar is pressed. r=jrgm a=ben
git-svn-id: svn://10.0.0.236/trunk@81642 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 02:07:15 +00:00
jefft%netscape.com
e1f277d1c1 fixed bug 57571 - crash due to the failure of resolving relative image urls; r=bienvenu, sr=alecf, mscott
git-svn-id: svn://10.0.0.236/trunk@81641 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 02:00:53 +00:00
dmose%mozilla.org
30291b26c8 when invoked with -syncall, have the GET_LOCK time out after 45 minutes rather than 1 second, since we want syncall to happen anyway, even if other individual syncs are currently in progress. r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81640 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 01:51:56 +00:00
racham%netscape.com
0e82e51289 Fixing bug 57361. Taking care of the cases where people delete parent directories of profiles to not affect registry operations by making sure that profile directory always exists and create a profile in the default user profile location, if needed. r=ccarlen, sr=alecf, a=waterson
git-svn-id: svn://10.0.0.236/trunk@81639 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 01:47:56 +00:00
pollmann%netscape.com
051455613e Bugscape 2369: Don't hold onto frame reference / type across mInner::HandleDOMEvent, fixes crashes. r=rods,jst sr=vidur
git-svn-id: svn://10.0.0.236/trunk@81638 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 01:41:07 +00:00
cls%seawood.org
b073f4a1f8 Add -fPIC to ASFLAGS for solaris/gcc builds. Bug #35418
Use -shared instead of -G to build shared libraries for solaris/gcc builds. Bug #35419
Thanks to Herbie.Ong@eng.sun.com for the patch.


git-svn-id: svn://10.0.0.236/trunk@81634 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 01:10:25 +00:00
heikki%netscape.com
eda004b171 Bug 57437, copied the implementation from HTML. r=adamlock, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@81633 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 01:03:31 +00:00
mscott%netscape.com
0c698ba87a Bug #48403 --> don't allow JS running in a mailnews sand box to change the name of it's containing iframe.
this code was contributed by mstoltz.
r=beard, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@81632 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 00:52:02 +00:00
cyeh%bluemartini.com
96a8252486 remove problem with newer perl spewing error messages into the CGI
git-svn-id: svn://10.0.0.236/trunk@81631 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 00:44:21 +00:00
akkana%netscape.com
c2b0e5c309 56833: fix whitespace problem in html output
git-svn-id: svn://10.0.0.236/trunk@81629 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 00:31:08 +00:00
andreww%netscape.com
beba99516d bugzilla - 55838, r=ben, sr=hangas, fix for mac classic dialogs getting cut off on many dialogs. Fix changes html widget to box widget .
git-svn-id: svn://10.0.0.236/trunk@81628 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 00:02:32 +00:00
kevin%perldap.org
30c3f3261d Updated perl to /usr/local/bin/perl. Modified directory to match
TEST_ENV directory so I don't screw up accidentally.


git-svn-id: svn://10.0.0.236/trunk@81627 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 23:54:44 +00:00
tara%tequilarista.org
7ddd56de73 whoopsie.
git-svn-id: svn://10.0.0.236/trunk@81626 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 23:15:04 +00:00
javi%netscape.com
727ec8413d Don't escape parameters until after we've broken down the parameters into
arrays.  This makes it so that the character '&' is properly categorized
into the array if it's a member of the string for either parameter name
or value.


git-svn-id: svn://10.0.0.236/trunk@81625 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 22:52:31 +00:00
jeff.dyer%compilercompany.com
8d898e96b3 Fix assertions that I missed in partial debug mode. Also fixed problem with
optional parameter after the named parameter marker.


git-svn-id: svn://10.0.0.236/trunk@81622 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 22:23:32 +00:00
tara%tequilarista.org
d8048e08f1 Landing duplicates stuff from gervase markham
git-svn-id: svn://10.0.0.236/trunk@81621 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 22:01:31 +00:00
tara%tequilarista.org
172daf770e part of gervase markham's duplicates tracking functionality
git-svn-id: svn://10.0.0.236/trunk@81620 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 21:44:30 +00:00
javi%netscape.com
c6b856218c Don't assume a bitwise or will return the value 1.
git-svn-id: svn://10.0.0.236/trunk@81619 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 21:32:20 +00:00
kevin%perldap.org
73341a1968 Added epoch time stamps to data files.
git-svn-id: svn://10.0.0.236/trunk@81617 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 20:44:25 +00:00
kevin%perldap.org
b8734fe5f2 Modified directories to match those on jitter.
git-svn-id: svn://10.0.0.236/trunk@81616 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 20:19:05 +00:00
kevin%perldap.org
7d8e96e492 Imported
git-svn-id: svn://10.0.0.236/trunk@81615 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 20:08:18 +00:00
briane%qnx.com
c2f7896d2e PHOTON BUILD only
Fixes for new defines in PtMozilla.h header


git-svn-id: svn://10.0.0.236/trunk@81614 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 20:00:37 +00:00
jeff.dyer%compilercompany.com
4cfc6bf75b Parsing named parameters and arguments according to the Sep-23rd revision
of the grammar. WARNING: struct VariableBinding has grown. Recompile all
after getting this revision.


git-svn-id: svn://10.0.0.236/trunk@81613 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 19:39:55 +00:00
briane%qnx.com
0bdbb9cdfa PHOTON BUILD only
fixe font sizing, font sizes now look like other platforms


git-svn-id: svn://10.0.0.236/trunk@81612 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 19:39:49 +00:00
briane%qnx.com
94ebd33885 PHOTON BUILD only
fixes positioning bugs for dialogs and new windows


git-svn-id: svn://10.0.0.236/trunk@81611 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 19:38:41 +00:00
briane%qnx.com
6a13e11e9c PHOTON BUILD only
fixes forus problem with scrollbars


git-svn-id: svn://10.0.0.236/trunk@81610 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 19:38:04 +00:00
Peter.VanderBeken%pandora.be
23af33d344 Fixing bug 56794. a=granrose.
git-svn-id: svn://10.0.0.236/trunk@81609 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 18:50:23 +00:00
Peter.VanderBeken%pandora.be
94675493d0 Fixing bug 56794 properly. a=granrose.
git-svn-id: svn://10.0.0.236/trunk@81608 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 18:48:15 +00:00
javi%netscape.com
32c5092ea0 Check-in re-written SSL thread with fixes made so that the threads clean
up after themselves properly.


git-svn-id: svn://10.0.0.236/trunk@81607 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 18:34:48 +00:00
brade%netscape.com
b9237b2ee6 fix line endings (bug #56794) a=leaf; submitted by peter.vanderbeken@pandora.be
git-svn-id: svn://10.0.0.236/trunk@81606 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 18:34:41 +00:00
nboyd%atg.com
5a686d236b Subject:
[Rhino] Optimization for OptRuntime.thisGet
        Date:
             Mon, 23 Oct 2000 17:50:53 +0200
       From:
             Hannes Wallnoefer <hannes@helma.at>
 Organization:
             Another Netscape Collabra Server User
 Newsgroups:
             netscape.public.mozilla.jseng




I found a little oddity in
org.mozilla.javascript.optimizer.OptRuntime.thisGet().

get() is called twice on thisObj, once right at the beginning, and once
when starting to walk down the prototype chain. Below is what I think
this should look like - the prototype walk now begins with thisObj's
prototype, if it exists.

Also, (thisObj == null) was checked only after thisObj.get() was called,
so I moved that up in front.

Hannes
PS: I just made the changes in the news msg editor, so there may be
stupid mistakes.


git-svn-id: svn://10.0.0.236/trunk@81605 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 17:48:27 +00:00
nboyd%atg.com
1fbed5f2e4 Subject:
updated Global, Main and ImporterTopLevel
   Date:
        Mon, 23 Oct 2000 14:37:45 +0100
   From:
        Matthias Radestock <matthias@lshift.net>
     To:
        nboyd@atg.com




Norris,

I've made some more changes to shell.Main and shell.Global in order to
reduce their mutual dependency, enable "quit" and get "load" to operate
in the local scope.

see attachments for updated .diffs.


Matthias.


git-svn-id: svn://10.0.0.236/trunk@81604 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 15:55:42 +00:00
beard%netscape.com
0313a2b161 Fixed typo in package target.
git-svn-id: svn://10.0.0.236/trunk@81603 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 15:44:05 +00:00
nboyd%atg.com
151d31ddc9 Fix 56883.
git-svn-id: svn://10.0.0.236/trunk@81602 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 14:31:05 +00:00
nboyd%atg.com
e92e7d150f Patch from beard@netscape.com to fix 56879.
git-svn-id: svn://10.0.0.236/trunk@81601 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 14:30:40 +00:00
ben%netscape.com
bdd823c063 final ViXEn edit history tweaks for this morning...
NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@81599 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 11:53:23 +00:00
ben%netscape.com
3712af65f7 ViXEn transaction manager code cleanup.
NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@81598 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 11:46:37 +00:00
ben%netscape.com
57c2128ea7 more history window stuff. NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@81597 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 11:15:26 +00:00
ben%netscape.com
8a5705d5ac ViXEn stuff - transaction editing system work (RDF datasource)
history window, etc.
NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@81596 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 10:58:39 +00:00
mscott%netscape.com
fbc2cd3592 Bug #35956, 57619 --> be sure to disable auto conversion if we are handling the content
via an external app. sr=rpotts, r=gagan


git-svn-id: svn://10.0.0.236/trunk@81594 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 04:31:07 +00:00
pchen%netscape.com
4167478350 bugzilla 56564, r=matt, sr=alecf, ooops, found typo in fix, fixing typo
git-svn-id: svn://10.0.0.236/trunk@81592 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 02:49:02 +00:00
av%netscape.com
1c74bacf10 Bug 57210, sr=waterson, r=edburns, r=serge. Fixing crash when plugin reports not file exts or mime descriptions not matching to mime types on the start up scan.
git-svn-id: svn://10.0.0.236/trunk@81589 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-23 00:03:19 +00:00
brendan%mozilla.org
df4a97d00e Comment change only: document TOK_TRY and TOK_CATCH nodes.
git-svn-id: svn://10.0.0.236/trunk@81588 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-22 22:47:40 +00:00
Peter.VanderBeken%pandora.be
27986b8b93 Jar up component viewer (bug 56794). r=cls, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@81586 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-22 20:47:35 +00:00
ben%netscape.com
735061da5d update readme.
NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@81584 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-22 10:19:52 +00:00
ben%netscape.com
e3bf92aeab preliminary ViXEn document serialization work.
NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@81583 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-22 10:16:47 +00:00
ben%netscape.com
a192277f34 ViXEn transaction system work, history window work, setting up master controller.
NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@81582 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-22 10:15:11 +00:00
sfraser%netscape.com
9306ca1b7e Break ConfigureBuildSystem() into DoPrebuildCheck(), which is called before pulling, and ConfigureBuildSystem(), which requires a tree, and is called after pulling. Also move the code that creates DefinesConfig.h into a separate function. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81581 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-22 06:07:29 +00:00
sfraser%netscape.com
ec1ad67a0e Put ScanForManifestFiles in here for safekeeping (it is no longer used). NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@81580 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-22 06:05:14 +00:00
hyatt%netscape.com
1335b1b757 Fix for 56916. r=pav, a=ben.
git-svn-id: svn://10.0.0.236/trunk@81579 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-22 04:09:34 +00:00
disttsc%bart.nl
89fb9ef30f Get rid of a compile warning (PRUint32 vs PRInt32), r=dmose, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@81577 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 19:12:55 +00:00
leaf%mozilla.org
8fe044d37b Automated update
git-svn-id: svn://10.0.0.236/trunk@81576 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 08:44:59 +00:00
ramiro%eazel.com
bad607d4b4 Bug 56793. Add support for building unix mozilla with a default
MOZILLA_FIVE_HOME.  Build changes r=cls.  Small XPCOM change sr=scc.


git-svn-id: svn://10.0.0.236/trunk@81575 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 08:33:16 +00:00
beard%netscape.com
874e0ea6e0 Fixed access paths, link errors. [Not part of build.]
git-svn-id: svn://10.0.0.236/trunk@81574 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 07:29:53 +00:00
beard%netscape.com
329128977d Added static library targets, JSRef.o and JSRefDebug.o. [Not part of build.]
git-svn-id: svn://10.0.0.236/trunk@81573 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 06:46:21 +00:00
beard%netscape.com
8982594879 LiveConnect support for Mac. [Not part of standard build.]
git-svn-id: svn://10.0.0.236/trunk@81572 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 06:44:54 +00:00
tonyr%fbdesigns.com
16d1f47cb6 Fix for bug 54091, r=sspitzer, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@81570 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 04:19:20 +00:00
ben%netscape.com
9ce37484ac I am a twit
git-svn-id: svn://10.0.0.236/trunk@81569 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 03:35:57 +00:00
ben%netscape.com
bbd12b670d here come radio groups... More ViXEn transaction manager work.
NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@81567 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 03:09:18 +00:00
mkaply%us.ibm.com
08774b6798 OS/2 TB breakage
When I fixed the XP timer code, I forgot to update the OS/2 timers. Duh.


git-svn-id: svn://10.0.0.236/trunk@81566 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 02:44:30 +00:00
beard%netscape.com
660e01fccb fixed some spacing problems, Makefiles use hard tabs!
git-svn-id: svn://10.0.0.236/trunk@81562 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:57:54 +00:00
sfraser%netscape.com
80d5a16a3e Script changes to support writing MacPerl output to a file. NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@81560 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:56:01 +00:00
beard%netscape.com
6bfc356e68 update depenencies for linux
git-svn-id: svn://10.0.0.236/trunk@81559 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:55:59 +00:00
beard%netscape.com
e146d9b8f5 added xmlparser.cpp.
git-svn-id: svn://10.0.0.236/trunk@81557 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:51:32 +00:00
beard%netscape.com
c425f9d8ff fixing unsigned warnings, a leetle error checking.
git-svn-id: svn://10.0.0.236/trunk@81556 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:50:44 +00:00
beard%netscape.com
3aa4a2283f fixing unsigned/signed conversion warnings.
git-svn-id: svn://10.0.0.236/trunk@81555 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:43:35 +00:00
rogerl%netscape.com
6fdef2e1d5 Fixed signed/unsigned warning.
git-svn-id: svn://10.0.0.236/trunk@81554 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:38:59 +00:00
rogerl%netscape.com
a7b53cf793 Changed ArgumentList to ArgumentList*. (Still need to handle the
destructor though).


git-svn-id: svn://10.0.0.236/trunk@81553 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:31:22 +00:00
rogerl%netscape.com
289f607a92 Changed ArgumentList to ArgumentList*. Changed ICodeGenerator to take a
Context instead of world & global pair. Connected to ICodeAssembler from
XMLParser.


git-svn-id: svn://10.0.0.236/trunk@81552 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:30:23 +00:00
waterson%netscape.com
8f3b350acd Bugscape 2856. Use NS_ConvertUTF8toUCS2() when inflating URIs. r=rjc,jelwell sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@81551 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:19:56 +00:00
heikki%netscape.com
ca1fa50655 Changing topsrcdir to DEPTH, hopefully this fixes the build bustage.
git-svn-id: svn://10.0.0.236/trunk@81549 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:10:15 +00:00
alecf%netscape.com
10c8c4f7db update the fast-update script to be smarter about the "current" directory,
and only spit out relevant data about the branch and current directory where appropriate


git-svn-id: svn://10.0.0.236/trunk@81548 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-21 00:09:38 +00:00
heikki%netscape.com
191bd929de Corrected the whitespace mess.
git-svn-id: svn://10.0.0.236/trunk@81547 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 23:43:52 +00:00
heikki%netscape.com
7787fe82d5 Not part of Netscape 6.0 package. Checking in patches from toml@us.ibm.com. These fix bug 55508 (DOMParser does not work without script environment) and bug 55599 (add GetChannel method to nsIXMLHTTPRequest), as well as add a test program. r=heikki, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@81546 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 23:26:10 +00:00
sfraser%netscape.com
9f5d73bb45 Build number tweaking. FILES NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@81545 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 23:18:33 +00:00
sfraser%netscape.com
26548ea550 Moved the build number functions around, and integrated cls's build number changes. FILES NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@81544 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 23:17:38 +00:00
sfraser%netscape.com
88f1583876 Added code to set variables in $main:: from the prefs file. Also test for empty prefs file name. FILES NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@81543 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 23:16:38 +00:00
sfraser%netscape.com
8c73880fe3 Removed an unneeded module usage, added MOZILLA_OFFICIAL, added the prefs file name param to RunBuild. FILES NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@81542 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 23:15:57 +00:00
sfraser%netscape.com
400a9ba2a5 Add error handling to die if the input file cannot be read. Also detabbed the file. r=cls
git-svn-id: svn://10.0.0.236/trunk@81541 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 23:14:12 +00:00
akkana%netscape.com
3438132b6d 56066, 56561: Fix line break handling. r=bratell, jst, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@81540 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 23:05:14 +00:00
pchen%netscape.com
660f69b26c bugzilla 52291, r=jag, sr=alecf, call sizeToContent() to make dialog layout nice and purty
git-svn-id: svn://10.0.0.236/trunk@81539 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 22:53:32 +00:00
rginda%netscape.com
fc4f32fec4 fixups for lame windows parser, and multiple parse per instance issues.
git-svn-id: svn://10.0.0.236/trunk@81538 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 22:18:52 +00:00
darin%netscape.com
9b3f855991 Fixes for bug 49168. Corrects HTTP authentication lookup semantics. r=gagan, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@81537 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 21:08:58 +00:00
matt%netscape.com
117c8a145d http://bugzilla.mozilla.org/show_bug.cgi?id=55413
adding fuction for listeners
a=ben.
a=rjc


git-svn-id: svn://10.0.0.236/trunk@81536 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 20:45:21 +00:00
mkaply%us.ibm.com
17d415c6d3 This was approved a while ago by mitchell and leaf.
To satisfy our IBM lawyers, we need a file in the tree to detail our changes.
This is that file.


git-svn-id: svn://10.0.0.236/trunk@81535 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 20:27:03 +00:00
mkaply%us.ibm.com
8bdb56eb73 #55888
r=pavlov, rods, a=brendan
nsITimer implementation was using platform types (bool) instead of PRBool


git-svn-id: svn://10.0.0.236/trunk@81534 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 20:07:16 +00:00
disttsc%bart.nl
979f699ac5 Make accel+I work in the browser. bug=55569, r=ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@81533 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 20:04:28 +00:00
dbragg%netscape.com
82c6998f97 Fix for rtm++ bug 55259. Already checked in to branch and tested. Forgot to check in to trunk. r=dveditz, sr=mscott. Now only getting system clock seed once.
git-svn-id: svn://10.0.0.236/trunk@81532 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 19:11:28 +00:00
despotdaemon%netscape.com
4991bd198c Pseudo-automatic update of changes made by darin@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@81531 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 18:39:41 +00:00
despotdaemon%netscape.com
41dd3677dc Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@81530 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 18:24:22 +00:00
despotdaemon%netscape.com
445cb8baf7 Pseudo-automatic update of changes made by darin@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@81529 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 17:17:35 +00:00
leaf%mozilla.org
148fd453d1 Automated update
git-svn-id: svn://10.0.0.236/trunk@81528 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 15:00:01 +00:00
ramiro%eazel.com
cf151d7e64 Bug 56795. Adding support for corel/eazel profiler. Build changes approved
and reviewed by cls.  r=cls a=cls.


git-svn-id: svn://10.0.0.236/trunk@81527 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 14:59:13 +00:00
timeless%mac.com
b78c1a6a6f fix JavaScript error: line 33: missing } in compound statement
from bug 53896 r=timeless, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@81526 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 14:49:22 +00:00
ben%netscape.com
4668f5227a ViXEn wording change.
NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@81525 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 12:43:22 +00:00
ben%netscape.com
672de3b1cc More ViXEn transaction system love.
NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@81524 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 11:17:09 +00:00
rginda%netscape.com
e0d39a5237 lalala, things run, lalala. (well, kinda.)
git-svn-id: svn://10.0.0.236/trunk@81523 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 10:33:57 +00:00
timeless%mac.com
9c1a4616f1 fix the lingering mac issue on bug 46683 items in menus for Folders on Personal Toolbar are all underlined.
r=timeless, a=ben


git-svn-id: svn://10.0.0.236/trunk@81522 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 07:46:16 +00:00
cls%seawood.org
5f2b5a5676 Evil temporary workaround fix for pull problem. Keep this file in sync with config/mozBDate.pm
git-svn-id: svn://10.0.0.236/trunk@81521 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 06:31:19 +00:00
cls%seawood.org
865cae2ced Make sure that buildID is set to 0 unless MOZILLA_OFFICIAL is set. Bug #26798 r=leaf r=scc
Note: for mac, MOZILLA_OFFICIAL is only set by default on opt builds until the new mac build scripts land.


git-svn-id: svn://10.0.0.236/trunk@81519 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 05:21:40 +00:00
blizzard%redhat.com
241fee29fd bug #44847. -remote support for unix. r=dmose sr=shaver
git-svn-id: svn://10.0.0.236/trunk@81518 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 05:14:01 +00:00
blizzard%redhat.com
583bab6f7c bug #44847. start building the xremote client. r=dmose sr=shaver
git-svn-id: svn://10.0.0.236/trunk@81517 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 05:12:27 +00:00
blizzard%redhat.com
8e6d4394c6 bug #44847. -remote support for unix. r=dmose sr=shaver
git-svn-id: svn://10.0.0.236/trunk@81516 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 05:10:43 +00:00
blizzard%redhat.com
0ee5c5b073 start of fix for bug #44847. -remote support for unix.
git-svn-id: svn://10.0.0.236/trunk@81515 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 05:09:06 +00:00
mkaply%us.ibm.com
b8fb2fbb3e #56763
r=gagan, sr=mscott
Race condition in netwerk was causing timeouts on fast systems/slow connections


git-svn-id: svn://10.0.0.236/trunk@81514 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 04:39:44 +00:00
sfraser%netscape.com
9faf6cb755 Build script update (NOT IN BUILD). Ensure we correctly save and restore the cwd when starting CodeWarrior.
git-svn-id: svn://10.0.0.236/trunk@81513 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 04:14:53 +00:00
sfraser%netscape.com
8220b595ae More build script updates. NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@81512 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 04:00:06 +00:00
rginda%netscape.com
3f03ec66b9 more work on producing real live instructionstreams
git-svn-id: svn://10.0.0.236/trunk@81511 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 03:33:37 +00:00
gagan%netscape.com
2ffa15ff61 Temp fix for tree bustage... :-(
git-svn-id: svn://10.0.0.236/trunk@81509 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 03:14:19 +00:00
mkaply%us.ibm.com
eedf6a8aa4 Missing parenthesis on earlier checkin
git-svn-id: svn://10.0.0.236/trunk@81506 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 02:03:19 +00:00
gagan%netscape.com
e560c14d2c Fixes for bug 53580. No longer sending user/passwd in referrers. r=mscott, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@81505 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 02:03:15 +00:00
sfraser%netscape.com
77cd4e7cd1 Update to new build scripts. NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@81504 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 01:58:10 +00:00
chuang%netscape.com
974b919a65 Bug 54530 Edit | List. Clicking OK crashes. r=putterman,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81503 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 01:55:50 +00:00
warren%netscape.com
e84e7821cd Added new file - not in build yet.
git-svn-id: svn://10.0.0.236/trunk@81497 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 01:14:47 +00:00
rginda%netscape.com
58820fbf80 starting to turn the icode StatementNode vector into actual Instructions...
git-svn-id: svn://10.0.0.236/trunk@81496 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 01:13:03 +00:00
pollmann%netscape.com
d01931d691 Bug 52670: Grow session history frame list if needed when frames load out of order. r=radha@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81495 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 01:04:34 +00:00
waterson%netscape.com
94676ac58f Bug 42001. Implement 'clear history'. r=ben,brendan,alecf, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@81494 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 01:00:11 +00:00
waterson%netscape.com
2bfaee4cd7 Bug 57246. Need to ampersand-escape literals that are written in nsRDFXMLDataSource::SerializeMember(), too. r=rjc, sr=scc
git-svn-id: svn://10.0.0.236/trunk@81493 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 00:55:55 +00:00
matt%netscape.com
8faaf2dd25 error when checking in bookmarks code
for bug56574
a=alecf
a=rjc


git-svn-id: svn://10.0.0.236/trunk@81492 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 00:39:17 +00:00
kin%netscape.com
1d1146d7b0 Fix for bug #57165 (Document/Message is not spellchecked if the caret is at the end of the document)
Call nsISpellChecker::SetDocument() with a PR_TRUE to tell the spellchecker to start checking
from the start of the document.
r=brade@netscape.com sr,a=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@81491 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-20 00:05:41 +00:00
ben%netscape.com
610ebbb207 ViXEn Editing System, Part 2.
NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@81490 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 23:37:20 +00:00
gagan%netscape.com
59cef1d675 Fix for bug 53965. Thanks Nikolay. Fixes posting with SSL proxies. r=gagan, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@81489 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 23:21:49 +00:00
rogerl%netscape.com
097e415a8d changes to XMLLexer etc.
git-svn-id: svn://10.0.0.236/trunk@81488 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 23:07:58 +00:00
pchen%netscape.com
a79ac67c5f bugzilla 56564, r=matt, sr=alecf, revert code from bugscape 2666 and use
string bundle for "third" search URL


git-svn-id: svn://10.0.0.236/trunk@81486 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 22:43:34 +00:00
pchen%netscape.com
8498bf871e bugzilla 56564, r=matt, sr=alecf, added string in string bundle for "third"
search URL


git-svn-id: svn://10.0.0.236/trunk@81485 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 22:43:02 +00:00
rogerl%netscape.com
bea989fce2 Adding xmlparser stuff
git-svn-id: svn://10.0.0.236/trunk@81484 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 22:34:23 +00:00
mstoltz%netscape.com
9f6c7e98d5 Bug 56851, regression in XPInstall dialog. r=jst, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@81482 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 22:21:57 +00:00
mkaply%us.ibm.com
0a10896512 #56770
r=mkaply, a=blizzard
Code from jeffk - this was actually a focus problem


git-svn-id: svn://10.0.0.236/trunk@81481 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 22:20:48 +00:00
mkaply%us.ibm.com
3cb949fed5 #55550
r=mkaply, a=blizzard
Code from jjones to check window before deferencing it


git-svn-id: svn://10.0.0.236/trunk@81480 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 22:13:52 +00:00
varada%netscape.com
bed5d27d88 fix for bug#45493
git-svn-id: svn://10.0.0.236/trunk@81479 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 22:02:07 +00:00
varada%netscape.com
2be893113d fix for bug#52834
git-svn-id: svn://10.0.0.236/trunk@81478 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 22:01:06 +00:00
mkaply%us.ibm.com
a037b79b6c #56769
r=mkaply, a=blizzard
Code from jkobal to fix various clipboard problems


git-svn-id: svn://10.0.0.236/trunk@81477 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:57:17 +00:00
dcone%netscape.com
72d034b146 Have fix for bug 24406. r=kmmclusk sr=buster
git-svn-id: svn://10.0.0.236/trunk@81476 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:49:12 +00:00
alecf%netscape.com
582ae0f42e second part of fix for #52519 - unescape text/x-moz-url URLs when they are dropped into bookmarks and history
r=law@netscape.com
a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@81475 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:47:36 +00:00
alecf%netscape.com
16959a2ca5 second part of fix for #52519 - unescape text/x-moz-url URLs when they are dropped into bookmarks and history
r=law@netscape.com
a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@81474 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:40:09 +00:00
alecf%netscape.com
086199e48f first part of fix for #52519 - escape text/x-moz-url URLs when they are dragged r=law@netscape.com (LOTS of review!)
a=ben@netscape.com
(from the N6 branch)


git-svn-id: svn://10.0.0.236/trunk@81473 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:38:25 +00:00
mkaply%us.ibm.com
9a39c3cc16 #56769
r=mkaply, a=blizzard
Code from jkobal to fix various clipboard problems


git-svn-id: svn://10.0.0.236/trunk@81471 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:18:12 +00:00
sfraser%netscape.com
16e1e1b420 Fix for 20743 -- better strategy for low-memory handling when allocating image GWorlds. r=pierre, sr=dcone.
git-svn-id: svn://10.0.0.236/trunk@81470 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:17:13 +00:00
morse%netscape.com
26c6600070 bug 27687, can't log into yahoo mail, r=dveditz,gagan, a=gagan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81469 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:15:20 +00:00
javi%netscape.com
e8bc965643 Make this directory build in the new world.
Add some debug output in regards as to which directory it's gonna use
for the cert db.


git-svn-id: svn://10.0.0.236/trunk@81468 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:14:34 +00:00
kin%netscape.com
b55ec9f563 Fix for bugscape bug #2730 (spellchecker language pop-up menu not localizable)
Modified InitLanguageMenu() to use languageNames.properties and regionNames.properties
instead of the now deprecated acceptlanguage.properties.
r=brade@netscape.com sr,a=sfraser@netscape.com
This fix has not been checked into the Netscape_20000922_BRANCH.


git-svn-id: svn://10.0.0.236/trunk@81467 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:09:06 +00:00
javi%netscape.com
e64f03df80 Decompose the function for the SSL Service Thread to make it easier to read.
When doing a poll, exit the service thread if there are no sockets waiting
for data to be processed.  Make the poll for data from the client and
server sockts time out after 10 minutes.  At that point there should be
nothing waiting or the connection has gone away without us knowing about it.


git-svn-id: svn://10.0.0.236/trunk@81466 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 21:03:41 +00:00
dmose%mozilla.org
c6b003435c get rid of outdated comments; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81465 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 20:51:46 +00:00
dmose%mozilla.org
665d4dd0ab added a filter to send all checkins which contain file adds to cvs-adds@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81464 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 20:51:34 +00:00
dmose%mozilla.org
2004ef36c9 added -a option to allow be used to send mail only when files have been added. r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81463 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 20:42:46 +00:00
ccarlen%netscape.com
99a6b6477b Fix for 56998 which blocks 56041. nsLocalFile::Exists() could return TRUE if the file in fact didn't exist. Happened with files for which the volume or dir didn't exist. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@81462 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 20:41:55 +00:00
dougt%netscape.com
44a810bd77 b=46775. Adding ablity to generate a static module based on dougt/cls's work. There is a disagreement between us and warren about how exactly to do this. Since I have a working solution, I am checking this onto our embedding branch. This disagreement must be resolved before these changes land on the mozilla trunk.
git-svn-id: svn://10.0.0.236/trunk@81461 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 20:41:47 +00:00
blizzard%redhat.com
c99585f05b Fix bug #56753. Assertions when initializing the http handler. r=gagan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81460 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 20:05:00 +00:00
brendan%mozilla.org
79e8b4e37f - Treat 08, 09, 078, 079, etc. as decimal, but warn that they're not legal
ECMA-262 octal literals.  Old code would split 08 into 0 and 8 if JS1.2 or
  other non-ECMA version, and always split 078 into 07 and 8, resulting in
  missing ; syntax errors.

- Fix CheckFinalReturn to be aware of JS_HAS_EXCEPTIONS, finally (sic).  Lots
  of help from jag (Peter Annema, disttsc@bart.nl), thank him.

Both changes got lumped under bug 49233, and are r=jband, sr=shaver.


git-svn-id: svn://10.0.0.236/trunk@81459 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 19:21:53 +00:00
dougt%netscape.com
b062e0ed4b makes the about:bloat log (a) using nsIFile, and (b) next to the bin directory
git-svn-id: svn://10.0.0.236/trunk@81458 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 19:05:37 +00:00
locka%iol.ie
86c58a0fe4 Removed unused variables made obselete by previous checkin. b=56285
git-svn-id: svn://10.0.0.236/trunk@81457 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 18:56:56 +00:00
robinf%netscape.com
16e22a2bbf updating to reflect latest NS6 UI
git-svn-id: svn://10.0.0.236/trunk@81456 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 18:48:35 +00:00
anthonyd%netscape.com
a5bfdaf68e fix for bug #49663
nsRange::DeleteContents leaks
r=sfraser
sr=kin
a=brendan


git-svn-id: svn://10.0.0.236/trunk@81455 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 18:47:00 +00:00
jeff.dyer%compilercompany.com
16c8455d7f Fix redness by removing incorrect conversion.
git-svn-id: svn://10.0.0.236/trunk@81452 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 12:17:54 +00:00
jeff.dyer%compilercompany.com
5317ec15f0 b=53849, r=mstoltz@netscape.com,edburns@acm.org, a=brendan@mozilla.org.
This fix makes Liveconnect smarter about getting a security principal
when verifying that call from an applet to JS should be allowed.


git-svn-id: svn://10.0.0.236/trunk@81451 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 11:51:22 +00:00
ben%netscape.com
f44f9dd029 A whole bunch of ViXEn stuff, part 1. Basic aggregate transactions and
undo/redo fit and finish. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@81450 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 11:25:53 +00:00
pollmann%netscape.com
c08a906df3 Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts
git-svn-id: svn://10.0.0.236/trunk@81449 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 10:25:49 +00:00
gagan%netscape.com
39954bb4e3 Fixing the last addref I added. Part of the bug 32335 cleanup.
git-svn-id: svn://10.0.0.236/trunk@81445 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 07:08:22 +00:00
gagan%netscape.com
2d2e21ec40 Fixes for bug 32335. Include the fix for the leak, changed to voidarray from ISupportsArray, and removed dependency on nsISupports for nsAuth. r=gagan, sr=mscott,brendan
git-svn-id: svn://10.0.0.236/trunk@81443 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 07:06:50 +00:00
radha%netscape.com
1f00f858bb Fix for bug # 55055 r=adamlock sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@81440 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 06:41:24 +00:00
rickg%netscape.com
8d22dc81e8 fixed rtm++ bugs: 56665, 57173. r=attinasi, harishd; sr=buster.
git-svn-id: svn://10.0.0.236/trunk@81439 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 06:38:48 +00:00
racham%netscape.com
be65100a25 Fixing bug 56041. We have been storing paths instead of persitent strings since japanese migration bug 44764 was fixed. People who stored profile folders at customized locations on Mac were affected with that change. This fix saves the data back into the registry in persistent format for Mac. r=ccarlen a=alecf
git-svn-id: svn://10.0.0.236/trunk@81437 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 06:35:13 +00:00
radha%netscape.com
06a140b64b Fix for bug # 46828. r=mscott sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@81435 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 06:24:24 +00:00
buster%netscape.com
767024fce0 bug 57039 crash in [@ nsBlockBandData::GetBandData()]
r=karnaze
a=rickg, a=waterson
some simple bullet-proofing for possible null pointer dereferencing


git-svn-id: svn://10.0.0.236/trunk@81433 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 05:21:26 +00:00
beard%netscape.com
7a8f3051c3 More const String& happiness.
git-svn-id: svn://10.0.0.236/trunk@81432 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 03:37:02 +00:00
beard%netscape.com
5f2c6a21c1 const String& to soothe g++
git-svn-id: svn://10.0.0.236/trunk@81431 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 03:33:51 +00:00
beard%netscape.com
ef4f7ef1cf Fixing linux breakage, incorrect constructor name.
git-svn-id: svn://10.0.0.236/trunk@81430 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 03:32:23 +00:00
ben%netscape.com
004c2318e8 command line handler for Vixen, gut VixenShell, update makefiles.
NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@81429 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 03:23:45 +00:00
bryner%uiuc.edu
99bb585602 Adding unix makefiles for vixen. r/a=ben.
git-svn-id: svn://10.0.0.236/trunk@81428 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 03:16:19 +00:00
mkaply%us.ibm.com
444f566d71 #56553
r=mkaply, a=blizzard
Code from jkobal - were doing the wrong thing on window close


git-svn-id: svn://10.0.0.236/trunk@81427 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 03:11:23 +00:00
jefft%netscape.com
40523dde75 fixed bug 57059 -- buffer overrun on message header, r=ducarroz, rhp, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81426 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 02:24:09 +00:00
jefft%netscape.com
a54884e035 fixed bug 55993 -- forward attachment corrupt; r=ducarroz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81425 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 01:51:09 +00:00
beard%netscape.com
a50a3f22b2 Implement GetTagText(). r=jst, sr=waterson, bug #56390.
git-svn-id: svn://10.0.0.236/trunk@81424 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 01:37:53 +00:00
rods%netscape.com
e58019473e Both fixes are checks for null pointers 57044 checks for a null toolkit pointer
50208 checks for a null window in the processing of events
Bug 50208, 57044
r=saari,kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@81420 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 00:48:06 +00:00
rginda%netscape.com
6a77bd0c2a made (most) parse*operand functions do the right thing... the rest choke for now.
git-svn-id: svn://10.0.0.236/trunk@81416 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 00:03:12 +00:00
rogerl%netscape.com
bbe372f580 More warning whining.
git-svn-id: svn://10.0.0.236/trunk@81415 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 00:02:37 +00:00
rogerl%netscape.com
a888a1b2b8 Quiet warnings
git-svn-id: svn://10.0.0.236/trunk@81413 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 23:55:47 +00:00
rogerl%netscape.com
14d58a6a0c Added icodeasm & xmlparser to build
git-svn-id: svn://10.0.0.236/trunk@81412 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 23:46:39 +00:00
rjc%netscape.com
683f38f16b Fix bug # 55277: searching with multiple engines. r= danm sr=ben
git-svn-id: svn://10.0.0.236/trunk@81411 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 23:41:46 +00:00
rogerl%netscape.com
129334e4ff Added XMLparsing to load a class. Fixed handling of forward references to
class methods/fields.


git-svn-id: svn://10.0.0.236/trunk@81410 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 23:37:44 +00:00
harishd%netscape.com
bb52d0cbc1 Checking in for Rickg
42525 - Make Transitional doctype, greater that 4.0, with URI, strict

r=me,attinasi
sr=buster


git-svn-id: svn://10.0.0.236/trunk@81409 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 23:19:14 +00:00
brendan%mozilla.org
b13ca3b398 Don't nuke the stackPool in JS_GC if it's in use by cx->stackHeaders or cx->fp (or other future users; 57096, r=shaver, a=jband).
git-svn-id: svn://10.0.0.236/trunk@81407 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 22:21:46 +00:00
rginda%netscape.com
b410b9817f making argument name optional in argumetlists
git-svn-id: svn://10.0.0.236/trunk@81405 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 22:01:17 +00:00
rginda%netscape.com
fa54936dd5 waugh, "..." isn't supported on windows. Added full icode map generated by the new perl script. Added a comment character to the assembler, and required newlines after instructions.
git-svn-id: svn://10.0.0.236/trunk@81401 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:44:14 +00:00
rginda%netscape.com
6efffba0fe adding genmap.pl to generate the icode map
git-svn-id: svn://10.0.0.236/trunk@81400 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:41:03 +00:00
locka%iol.ie
5188d8cbb1 Fix to content sink's handling of anchors. Flushes reflows before scrolling and uses the pres shell's scrolling code. b=56285, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81399 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:37:54 +00:00
kestes%staff.mail.com
d04dd5ac85 add the notion of 'dead time' to better predict when builds will be
done at eazel.com.
when $buildstatus is 'building' we still want the popup window
explaining how long this has run.


git-svn-id: svn://10.0.0.236/trunk@81398 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:31:34 +00:00
kestes%staff.mail.com
b00321d663 wrong scope for $main::LOCALTIME
git-svn-id: svn://10.0.0.236/trunk@81397 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:27:43 +00:00
kestes%staff.mail.com
333cbc36d9 clean up some comments, explain some security issues about data
storage in the document root.


git-svn-id: svn://10.0.0.236/trunk@81396 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:26:57 +00:00
kestes%staff.mail.com
4f8f4847be clean up the comments.
factor out the pattern used to find variable names in mail


git-svn-id: svn://10.0.0.236/trunk@81395 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:26:04 +00:00
sfraser%netscape.com
be1525b091 Fix for 56136 -- when reloading the editor page because of a charset change, call the predestroy notification, so that listeners (e.g. the UI update timer) can tear themselves down. r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@81394 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:25:49 +00:00
kestes%staff.mail.com
127bf10dc4 the name TinderDB::MIN_TABLE_SPACING was a mistake, change it to
TinderDB::TABLE_SPACING


git-svn-id: svn://10.0.0.236/trunk@81393 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:24:06 +00:00
kestes%staff.mail.com
907ab2ec42 clean up the comments
factor out the pattern used to find variable names in the mail.


git-svn-id: svn://10.0.0.236/trunk@81392 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:22:57 +00:00
kestes%staff.mail.com
1899416ef5 if we do not load the Build module we can not pick which builds to
ignore.


git-svn-id: svn://10.0.0.236/trunk@81391 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:22:13 +00:00
cls%seawood.org
7feb2c1eae Set CROSS_COMPILE variable as appropriate so that cross-compiling works again. Bug #11890
git-svn-id: svn://10.0.0.236/trunk@81388 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 20:03:41 +00:00
cls%seawood.org
1f12fb3613 Fix for LDAP tags. Thanks to wtc for the patch. Bug 55007 r=dmose
git-svn-id: svn://10.0.0.236/trunk@81386 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 19:45:37 +00:00
ddrinan%netscape.com
d9eac1c53a Build the component.reg file for Linux only
git-svn-id: svn://10.0.0.236/trunk@81385 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 19:02:22 +00:00
tor%cs.brown.edu
3a97a1d406 Bug 19283 - blacken transparent pixels in 1-bit masks. This was
causing problems with binary alpha PNGs on Windows.  Patch from
Chris244@aol.com. r=pnunn, sr=tor


git-svn-id: svn://10.0.0.236/trunk@81384 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 18:05:41 +00:00
heikki%netscape.com
93d0e2eb2b Bug 53763, crash when event dialog dismissed and content changed. Make sure we release presshell before viewmanager so things can proceed smoothly. r=joki,scc; a=vidur.
git-svn-id: svn://10.0.0.236/trunk@81383 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 17:41:14 +00:00
heikki%netscape.com
e66e4dbfd8 Bug 54233, crash when quitting via keyboard. Make sure we release presshell before viewmanager so things can proceed smoothly. r=nisheeth,scc; a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@81382 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 17:36:54 +00:00
cls%seawood.org
84324175b1 Initial versions of buildid perl module & template files. Bug #26798
git-svn-id: svn://10.0.0.236/trunk@81381 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 17:15:17 +00:00
brendan%mozilla.org
fed709bfb1 Fix cx-for-acx typo-blunder (57070, r=mccabe, a=jband).
git-svn-id: svn://10.0.0.236/trunk@81380 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 16:00:39 +00:00
mcgreer%netscape.com
d5e90a3a90 fix for 64-bit platforms.
git-svn-id: svn://10.0.0.236/trunk@81379 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 15:41:23 +00:00
radha%netscape.com
d1381d9652 fix fr bug # 53922 checkin in to trunk r=waterson sr=alec
git-svn-id: svn://10.0.0.236/trunk@81378 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 14:50:00 +00:00
radha%netscape.com
c09977e252 Fix for bug # 53922. Checking in to trunk r=waterson sr=alec
git-svn-id: svn://10.0.0.236/trunk@81377 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 14:49:28 +00:00
kestes%staff.mail.com
0e524652d9 typo, extra dollar sign.
git-svn-id: svn://10.0.0.236/trunk@81376 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 14:33:57 +00:00
sspitzer%netscape.com
c3332652cd fix for bugscape bug #2931. r=sspitzer,r=valeski,sr=shaver
git-svn-id: svn://10.0.0.236/trunk@81375 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 14:01:38 +00:00
sspitzer%netscape.com
12c82e0e61 fix for #56572. r=racham, sr=mscott, a=PDT.
git-svn-id: svn://10.0.0.236/trunk@81374 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 13:41:34 +00:00
ccarlen%netscape.com
3e895d352c Fix for 54097 - Use nsIFileURL to build file URLs instead of nsFileSpec and nsFileURL.
r=dougt@netscape.com, a=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@81373 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 12:55:22 +00:00
hyatt%netscape.com
95ecbf5101 Fix for 56353. r=buster, r=waterson, a=brendan. Also reverting a style
change to a prop list for moz-binding to the state it was on the branch (just to
be compatible).


git-svn-id: svn://10.0.0.236/trunk@81372 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 08:03:24 +00:00
hyatt%netscape.com
8bcc673d51 Fix for rtm++ bug 44093.
git-svn-id: svn://10.0.0.236/trunk@81371 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 07:59:47 +00:00
hyatt%netscape.com
408acacf11 Fix for 56395 rtm++ bug.
git-svn-id: svn://10.0.0.236/trunk@81369 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 07:49:20 +00:00
hewitt%netscape.com
f63c91dbec #56569 - [Modern] messenger threadpane correctness, r=hyatt, a=hangas
git-svn-id: svn://10.0.0.236/trunk@81368 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 07:40:34 +00:00
cls%seawood.org
31934c70c0 Add -DXP_WIN & -DXP_WIN32 as default defines for win32 builds. Bug 56767
git-svn-id: svn://10.0.0.236/trunk@81366 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 07:10:38 +00:00
timeless%mac.com
a83cc7712a fix bug 51980 [Classic Mac] <textfield> doesn't use default lavender focus ring color.
[r=timeless, a=ben, sr=brendan]


git-svn-id: svn://10.0.0.236/trunk@81353 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 05:51:43 +00:00
cls%seawood.org
b959996186 Sync pr/src/Makefile* INCLUDES with subdirs so that parallel builds work again. Bug #31365
git-svn-id: svn://10.0.0.236/trunk@81352 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 05:01:29 +00:00
rginda%netscape.com
8c2fb1d298 fixed testcase and icodemap size
git-svn-id: svn://10.0.0.236/trunk@81349 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 04:33:54 +00:00
neeti%netscape.com
4bf096b287 Fix for rtm++ bug 55405 SetSizeEntry(..) called during shutdown could lead to corrupted cache, r=dp,sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@81348 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 03:59:34 +00:00
rginda%netscape.com
31c2af6cfb whee! the parse "tree" minimally "works"
git-svn-id: svn://10.0.0.236/trunk@81347 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 03:12:42 +00:00
waterson%netscape.com
5b5c62f74d Bug 54715. Use iterators instead of CharAt() in ParseAttribute(). r=scc, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@81344 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 02:05:57 +00:00
waterson%netscape.com
b9ffb4b40b Bug 56349. Be more conservative in RemoveMember(): use new function IsDirectlyContainedBy() to walk template and generated tree in parallel. r=rjc, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@81343 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 02:01:45 +00:00
disttsc%bart.nl
98e8e25ea6 Fixes several Gdk related key event problems on Linux / Solaris. r=,mo=Pavlov, a=blizzard
bug 53667 - alt + left/right doesn't navigate back/forward
bug 55792 - ctrl + left/right not skipping words
bug 54694 - ctrl + left segfaults


git-svn-id: svn://10.0.0.236/trunk@81339 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 01:17:06 +00:00
rginda%netscape.com
bdaadf77fe more icodeasm work... parse "tree" is finally testable... it might even work.
git-svn-id: svn://10.0.0.236/trunk@81337 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 01:02:13 +00:00
cls%seawood.org
58ff965fa0 Fix for bogus installer buildid on windows. Thanks to Jerry Baker <jerrybaker@weirdness.com> for the patch. r=ssu
git-svn-id: svn://10.0.0.236/trunk@81330 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-18 00:37:42 +00:00
kestes%staff.mail.com
e6e988ad73 add more bug summaries.
git-svn-id: svn://10.0.0.236/trunk@81327 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:56:31 +00:00
kestes%staff.mail.com
b68dfdcc14 If we delete too many duplicate treestates then we loose information
when the database is trimmed.

add more output to the CVS error message for close failures.


git-svn-id: svn://10.0.0.236/trunk@81326 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:55:25 +00:00
kestes%staff.mail.com
b48fa04f20 move other sources of popup window code to main HTMLPopUP file.
git-svn-id: svn://10.0.0.236/trunk@81325 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:53:36 +00:00
kestes%staff.mail.com
242deae6d1 document other sources of popup window code.
git-svn-id: svn://10.0.0.236/trunk@81324 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:53:09 +00:00
kestes%staff.mail.com
de55675934 It was a mistake to make $table_spacing settable at run time. There is
no MIN setting only a MAX.  This is useless.  So turn the variable to
a hard parameter $TinderDB::TABLE_SPACING.

Add a configuration variable $TinderConfig::LOG_PERFORMANCE


git-svn-id: svn://10.0.0.236/trunk@81323 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:51:05 +00:00
kestes%staff.mail.com
df813fe244 it was a mistake to make $table_spacing settable. There is no MIN
setting only a MAX.  This is useless.  So turn the variable to a hard
parameter  $TinderDB::TABLE_SPACING.


git-svn-id: svn://10.0.0.236/trunk@81322 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:49:24 +00:00
kestes%staff.mail.com
73c63d420b it was a mistake to make $table_spacing settable. There is no MIN
setting only a MAX.  This is useless.  So turn the variable to a hard
parameter  $TinderDB::TABLE_SPACING.

Add a configuration variable $TinderConfig::LOG_PERFORMANCE


git-svn-id: svn://10.0.0.236/trunk@81321 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:49:07 +00:00
kestes%staff.mail.com
59a9dcc7f9 document how to use fetchmail if sendmail causes problems.
begin to explain how to set up the bug tracking system.
clean up all the explantions a bit.


git-svn-id: svn://10.0.0.236/trunk@81320 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:47:08 +00:00
dmose%mozilla.org
3d31c414a3 NS_LITERAL_STRING definition on windows doesn't allow for concatenations inside the operator. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81318 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:14:10 +00:00
peterlubczynski%netscape.com
858d70e1c9 fix for context menus for plugins on the Mac, bug 55822 a=buster r=karnaze
git-svn-id: svn://10.0.0.236/trunk@81317 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:13:30 +00:00
dmose%mozilla.org
ae17ba5bfc LDAP error-handling cleanup, part 1. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81316 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:07:38 +00:00
matt%netscape.com
be983ca5cd for bug 56574
fixing IE bookmarks in sidbear bookmarks
a=alecf
a=rjc


git-svn-id: svn://10.0.0.236/trunk@81315 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 22:39:55 +00:00
robinf%netscape.com
465f1f2cf5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@81314 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 21:57:19 +00:00
peterlubczynski%netscape.com
afae9b0488 fix for plugin positioning and clipping, isolated to Mac. b=54962; r=dcone,kmcclusk; a=buster
git-svn-id: svn://10.0.0.236/trunk@81313 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 21:45:39 +00:00
jst%netscape.com
e3e374742f Fixing rtm++ bug 54121. Make sure to unroot the JS object before setting the script object to null to avoid referencing deleted memory later on in the GC. Thanks to sean@beatnik.com for testing and helping with the patch. a=waterson, r=brendan
git-svn-id: svn://10.0.0.236/trunk@81312 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 21:20:30 +00:00
dcone%netscape.com
48ad9d3ffc Fix for tiled images that with optimized images. r=kmmclusk sr=buster b=45100
git-svn-id: svn://10.0.0.236/trunk@81311 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 21:18:40 +00:00
peterlubczynski%netscape.com
22d2853050 Get and send plugin MIME type, fix for bug 54205 r=sfraser a=buster
git-svn-id: svn://10.0.0.236/trunk@81310 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 20:57:36 +00:00
kestes%staff.mail.com
eb69894b86 clarify the text
git-svn-id: svn://10.0.0.236/trunk@81307 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 20:30:29 +00:00
hyatt%netscape.com
00c1c1d200 Fix for 56340 (rtm++).
git-svn-id: svn://10.0.0.236/trunk@81306 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 19:00:34 +00:00
bnesse%netscape.com
069d3c216d Look for 'NSPL' as well as 'shlb'. Fix for bug #45697. r=av, sr=scc, a=rtm++.
git-svn-id: svn://10.0.0.236/trunk@81300 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 18:06:23 +00:00
bnesse%netscape.com
1bef179901 Use same define for all platforms. Fix for bug #45697 r=av, sr=scc, a=rtm++.
git-svn-id: svn://10.0.0.236/trunk@81299 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 18:04:47 +00:00
blakeross%telocity.com
94872f1c45 Fix 55170: change the accelerator/accesskey for Edit > Properties... the bookmarks window. r=jag sr=brendan
git-svn-id: svn://10.0.0.236/trunk@81298 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 17:33:19 +00:00
shaver%mozilla.org
00f758f7ef #56636, remove debug cruft, r/sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@81297 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 17:15:36 +00:00
shaver%mozilla.org
cd894417d7 #24612, make prefs observable from JS and other XPCOM bindings, r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@81296 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 17:08:00 +00:00
sspitzer%netscape.com
a2779ca4f1 workaround for #39655. r=putterman, sr=mscott, a=jar.
we don't have a fix for 39655, but this work around prevents the user
from "losing" the headers in the message pane when they switch folders.
the workaround is to collapse and expand the box that contains the headers
when showing the first message after re-rooting the threadpane.


git-svn-id: svn://10.0.0.236/trunk@81295 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 17:06:57 +00:00
blakeross%telocity.com
dadbd14960 Fix 56193: can't delete mail attachments from compose window in Classic. r=hewitt sr=ben, rtm+
git-svn-id: svn://10.0.0.236/trunk@81294 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 17:03:33 +00:00
briane%qnx.com
985f5202c4 PHOTON build only
Fixes for event handling.


git-svn-id: svn://10.0.0.236/trunk@81291 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 15:37:29 +00:00
mkaply%us.ibm.com
94c5a3c1b7 #56164
r=kmcclusk, a,sr=roc+moz@cs.cmu.edu
Comboboxes positioning incorrect on OS/2


git-svn-id: svn://10.0.0.236/trunk@81290 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 14:54:03 +00:00
mkaply%us.ibm.com
4a12b05fef #56816
r=mkaply, a=blizzard
Font crashes uses unknown fonts


git-svn-id: svn://10.0.0.236/trunk@81289 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 14:42:33 +00:00
idk%eng.sun.com
b259afe91d *not part of tbox build*
fix for 56954


git-svn-id: svn://10.0.0.236/trunk@81288 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 08:28:15 +00:00
rginda%netscape.com
b92b8e5a2c working in labels
git-svn-id: svn://10.0.0.236/trunk@81286 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 08:02:16 +00:00
rpotts%netscape.com
bd5de582cb bug #56333 (r=pnunn, sr=tor@cs.brown.edu). il_containers are sometimes leaked when the image load is interrupted
git-svn-id: svn://10.0.0.236/trunk@81284 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 06:09:36 +00:00
kmcclusk%netscape.com
e864dbfd62 Prevent flushing of pending events if painting or reflowing bug 56335 a=buster@netscape.com r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81283 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 05:07:39 +00:00
kmcclusk%netscape.com
6256e60cdb Added IsPainting method to return whether the viewmanager is currently painting. bug 56335 a=buster@netscape.com r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81282 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 05:03:45 +00:00
waterson%netscape.com
b36ece8e35 Bug 53415. about:credits points to http://www.mozilla.org/credits/. r=brendan, a=scc
git-svn-id: svn://10.0.0.236/trunk@81281 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 03:35:46 +00:00
ssu%netscape.com
f83d21eeee fixing bug #55253 - Browser cannot launch after update.html from Win 9x only. sr=brendan,warren r=dveditz,sgehani. not part of tinderbox builds. affects windows platforms only.
git-svn-id: svn://10.0.0.236/trunk@81278 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 01:30:28 +00:00
bryner%uiuc.edu
14f3bccef3 Bug 56570 - tree crash doing shift-click after deleting selected item. r=brendan, sr/a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@81276 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 01:23:28 +00:00
rginda%netscape.com
b587577138 icode assembler changes
git-svn-id: svn://10.0.0.236/trunk@81268 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 00:41:54 +00:00
mkaply%us.ibm.com
2b2b69a833 IRIX/SunOS breakge on ports
C++ comments in a header included by a C file
Come on guys, this is really basic stuff here


git-svn-id: svn://10.0.0.236/trunk@81267 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 00:13:01 +00:00
jband%netscape.com
41bbc60365 fix crasher bug 56843 in case of if('wrappedJSObject' in foo). Better solution for bigger problem in the works. a=brendan@mozilla.org r=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81262 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 22:34:26 +00:00
mkaply%us.ibm.com
63c6283b94 #56770
r=mkaply, a=blizzard
More attempts to fix keyboard stuff.


git-svn-id: svn://10.0.0.236/trunk@81261 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 22:30:06 +00:00
hewitt%netscape.com
2dd0b61947 #56562 - [Modern] corrected icon heights for messenger, r=german, a=hangas
git-svn-id: svn://10.0.0.236/trunk@81260 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 22:12:53 +00:00
ddrinan%netscape.com
2072c5cd02 Fix for bug 53198. r=javi@netscape.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81259 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 21:58:48 +00:00
hyatt%netscape.com
e403302c75 Fix for 56167. r=joki, a=waterson
git-svn-id: svn://10.0.0.236/trunk@81257 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 21:52:22 +00:00
hyatt%netscape.com
0e42c19923 Fix for 56235. r=saari, a=waterson
git-svn-id: svn://10.0.0.236/trunk@81256 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 21:49:33 +00:00
javi%netscape.com
44c27f644c Fix for bug $54860 a=brendan, r=ddrinan
Modify the PSM UI handler to pass different parameters on non WIN32
  platforms to prevent hanging the browser on Linux.


git-svn-id: svn://10.0.0.236/trunk@81254 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 20:11:08 +00:00
idk%eng.sun.com
1beb004422 * not part of tbox build *
fix for 56841


git-svn-id: svn://10.0.0.236/trunk@81253 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 19:24:51 +00:00
blizzard%redhat.com
928b7123e2 Fix bug #56753. The HTTP handler will now recognize if someone changes the misc field of the user agent after it's been created. r=gagan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81252 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 19:24:11 +00:00
briane%qnx.com
bd381e09e8 PHOTON build only
added libxpfelocation_s


git-svn-id: svn://10.0.0.236/trunk@81246 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 17:59:45 +00:00
kin%netscape.com
b94044a814 Fix for bug #56159 (Crash when sending after copy/paste with Spell Check enabled)
mozilla/editor/base/nsEditorShell.cpp
      - Make sure mSpellChecker is zeroed in Shutdown() just in case something went wrong.

    mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
      - Added checks to prevent iterating over a collapsed selection in FistSelectedBlock() and LastSelectedBlock().

r=brade@netscape.com sr,a=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@81245 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 14:31:48 +00:00
disttsc%bart.nl
0877c6c301 Fix strict warnings in stringbundleBindings.xml. bug=56752, r=ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@81244 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-16 12:59:11 +00:00
danm%netscape.com
52233cf85c drop timeouts without a JS context by using the runtime. bug 50705 r=brendan,jst
git-svn-id: svn://10.0.0.236/trunk@81241 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 23:23:12 +00:00
mozilla.BenB%bucksch.org
cd48bf42b3 50523: Remove (most) Netscape branding. a=av, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@81240 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 22:03:54 +00:00
mozilla.BenB%bucksch.org
69e665b7a6 53415: Updating (matches webpage from 200-10-02). r=endico, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@81239 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 21:53:16 +00:00
mcafee%netscape.com
d8ad9ef70e Fix alt-backarrow, alt-forwardarrow patch=jag, r=mcafee, sr=alecf (53667)
git-svn-id: svn://10.0.0.236/trunk@81238 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 21:40:19 +00:00
bienvenu%netscape.com
56e7ea846e fix 55993 problem forwarding imap messages with attachments r=jefft,sr=mscott a=jar
git-svn-id: svn://10.0.0.236/trunk@81237 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 20:41:36 +00:00
harishd%netscape.com
213c0b36dc 56501 - Serializer changes in dealing with NOSCRIPT ( checkin for jst )
r=me
sr=scc


git-svn-id: svn://10.0.0.236/trunk@81236 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 17:33:11 +00:00
harishd%netscape.com
91787aebed 56501 - Sink changes in dealing with NOSCRIPT content
r=jst
sr=scc,vidur


git-svn-id: svn://10.0.0.236/trunk@81235 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 17:31:09 +00:00
harishd%netscape.com
88aa869a01 56501 - Dealing with NOSCRIPT contents
r=jst
sr=scc, vidur


git-svn-id: svn://10.0.0.236/trunk@81234 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 17:30:08 +00:00
shaver%mozilla.org
ba2bebef95 #55739, fix strict JS warnings, r=ben, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@81233 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 16:12:04 +00:00
shaver%mozilla.org
777a2aea2b #55737, fix strict JS warnings, r=ben,sr=brendan
git-svn-id: svn://10.0.0.236/trunk@81232 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 16:05:39 +00:00
idk%eng.sun.com
21a858f191 * not part of tbox build *
fix for 56705


git-svn-id: svn://10.0.0.236/trunk@81231 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 11:11:11 +00:00
jband%netscape.com
8799479456 remove JS gc roots on wrappedjs objects during xpconnect shutdown to avoid needless rooting and noise in root leak logs. bug 55426. a=brendan@mozilla.org r=mccabe@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81229 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 05:42:25 +00:00
mscott%netscape.com
612e51add1 Bug #2729 --> disable empty trash on exit for aol servers as this causes a nasty
hang. This is a short term fix for this problem.
r=jefft
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@81228 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 05:05:43 +00:00
jband%netscape.com
a9cb568845 attempting to fix Mac bustage from ssu's checkin. IRC is quiet
git-svn-id: svn://10.0.0.236/trunk@81226 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 02:25:02 +00:00
jband%netscape.com
63be19cc18 only emit leaked root warnings when the JSRuntime is being deleted. This changes around the fix of bug 55117 and cleans up the incorrect leaked root warnings in bug 55426. a=brendan@mozilla.org r=mccabe@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81225 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-15 00:20:48 +00:00
ssu%netscape.com
62546f63c2 fixing bug #55253 - Browser cannot launch after update.html from Win 9x only. sr=brendan,warren moa=dveditz r=dveditz,sgehani. Checking in only to the trunk for QA testing. Will check in to the BRANCH after QA certifies OK.
git-svn-id: svn://10.0.0.236/trunk@81224 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 23:37:16 +00:00
ssu%netscape.com
1413e35bc5 fixing bug #55253 - Browser cannot launch after update.html from Win 9x only. sr=brendan,warren moa=dveditz r=dveditz,sgehani This file is not part of any tinderbox builds. This file only affect windows platforms. Checking in only to the trunk for QA testing. Will check in to the BRANCH after QA certifies OK.
git-svn-id: svn://10.0.0.236/trunk@81223 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 23:36:36 +00:00
sspitzer%netscape.com
a54a707147 fix bustage, sorry about that.
git-svn-id: svn://10.0.0.236/trunk@81222 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 22:31:12 +00:00
sspitzer%netscape.com
5b43c8a10e landing movemail changes from adam@gimp.org. only builds on UNIX, no extra bloat for win32 or mac. r=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81221 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 21:21:15 +00:00
leaf%mozilla.org
1cb81f1e1b Automated update
git-svn-id: svn://10.0.0.236/trunk@81220 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 21:15:02 +00:00
cls%seawood.org
244b9ff5bf Removing unneeded TK_LIBS from LIBS. r=rcassin@supernova.org sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81217 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 17:18:42 +00:00
bienvenu%netscape.com
3b572d4299 fix 56450 top crasher in nsPop3Protocol::SentRetr r=jefft,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81216 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 14:25:40 +00:00
morse%netscape.com
10898faa2e bug 56048, can't dismiss privacy tutorial on the mac, r=dveditz, a=ben
git-svn-id: svn://10.0.0.236/trunk@81213 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 06:30:13 +00:00
buster%netscape.com
71c396f2c6 bug 53974
r=attinasi
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81209 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 05:25:41 +00:00
ducarroz%netscape.com
64c40d0052 Fix for bug 55179. Use the activeChild to retrieve the current user selection in the popup menu. Thanks jwbaker@acm.org for providing the patch.
R=radha,ducarroz SR=alecf.


git-svn-id: svn://10.0.0.236/trunk@81201 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 04:17:43 +00:00
mscott%netscape.com
74161610a1 Bug #56459 --> mock imap channel needs to support nsIRequest in it's QI method.
this makes the progress dialog start working for opening imap mail attachments.
sr=alecf
r=jefft


git-svn-id: svn://10.0.0.236/trunk@81200 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 04:14:19 +00:00
mscott%netscape.com
d3aab683e5 Bug #55732 --> add defaults\mimeTypes.rdf to the packages.
this code came from sspitzer
r=alecf
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@81199 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 04:05:51 +00:00
ben%netscape.com
37b184bcba Fix for rtm++ bug 52086, non functional mail import wizard.
r=sspitzer, a=alecf, scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@81198 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 03:59:06 +00:00
blakeross%telocity.com
a136571755 Fix 25592 - implement "open frame in this whole window" functionality and add an item to the context menu. r=law sr=shaver
git-svn-id: svn://10.0.0.236/trunk@81195 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 03:40:41 +00:00
beard%netscape.com
37618b65ed proper dependency for typeinfo.cpp (not part of build), provided by dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@81193 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 03:27:27 +00:00
blakeross%telocity.com
0a3840767d Fix 56542, font for class="plain" textfields (like the URL bar) in win32 Classic is too big. r=ben sr=shaver
git-svn-id: svn://10.0.0.236/trunk@81192 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 03:01:22 +00:00
brendan%mozilla.org
fdc478f44b Rename window.options to be window._options, quick and dirty restoration of backward compatibility (37886, r=jst, a=vidur).
git-svn-id: svn://10.0.0.236/trunk@81191 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 02:26:36 +00:00
sgehani%netscape.com
41a0613ae5 Linux installer launches mozilla -installer at tehend of installation.
b=55419
r=ssu
a=dveditz


git-svn-id: svn://10.0.0.236/trunk@81190 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 02:22:48 +00:00
law%netscape.com
dc11f45fb3 rtm+ bug 27187; add code to make Mozilla the 'default browser'; r=ssu@netscape.com; sr=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81188 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 01:58:06 +00:00
matt%netscape.com
08ae080b62 48465">http://bugzilla.mozilla.org/show_bug.cgi?id=48465
added fix for bug 48465
a=ben
r=rjc
added function so in mail bookmarks sidebar
opens in top window


git-svn-id: svn://10.0.0.236/trunk@81187 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 01:51:51 +00:00
sfraser%netscape.com
b30f139d7b Fix bug 52548, sidebar links open in composer window and nuke composer content. sr=mscott, r=vishy.
git-svn-id: svn://10.0.0.236/trunk@81186 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 01:44:31 +00:00
law%netscape.com
9b9e075f79 rtm+ bug 27187; add code to make Mozilla the 'default browser'; r=ssu@netscape.com; sr=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81184 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 01:40:00 +00:00
law%netscape.com
4eaeaa75f0 rtm+ bug 27187; add code to make Mozilla the 'default browser'; r=ssu@netscape.com; sr=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81183 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 01:31:32 +00:00
wtc%netscape.com
d4f5304321 Bugzilla bug #56442: checked in generated files as a result of a new
ckapi.perl.
Modified files: nssck.api nssckepv.h nssckft.h nssckg.h


git-svn-id: svn://10.0.0.236/trunk@81181 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 01:29:12 +00:00
dprice%netscape.com
775e4470b6 backing out earlier changes for 53312
git-svn-id: svn://10.0.0.236/trunk@81178 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 01:15:24 +00:00
sspitzer%netscape.com
538eb892a1 the "Confirm Migration" dialog and the "Converting..." dialog have no skin when you use mozilla, since profile.css for the classic skin have bit rotted.
the fix is to copy over the profile.css from the modern skin.
bug #56274 r=hewitt, a=ben


git-svn-id: svn://10.0.0.236/trunk@81177 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 01:00:49 +00:00
sspitzer%netscape.com
4cf7ac9d5f fix for #55449. since 4.7 JA mac decided to have both "Mail" and <Localized "Mail">, we need to reorder how we determine the old path.
the new way we determine the old path:

check the pref, if set use it.
if not set, use <4.x profile directory>/<Localized word for "Mail"> if it exists
if it doesn't exist, use <4.x profile directory>/"Mail"

r=putterman,sr=mscott


git-svn-id: svn://10.0.0.236/trunk@81176 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 00:40:25 +00:00
sfraser%netscape.com
ba8197b606 Fix for 53310; implement IsLowMemory() on Mac, and turn on the low memory detection thread. r=waterson, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@81175 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 00:39:16 +00:00
matt%netscape.com
a2a2f59918 changing search url for bug 2282
sr=ben
r=putterman
r=rjc


git-svn-id: svn://10.0.0.236/trunk@81174 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 00:35:51 +00:00
dveditz%netscape.com
a348d5d3d9 Account for null to fix windows upgrade failure (bug 55254), r=dbragg/ssu, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@81173 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 00:16:55 +00:00
rginda%netscape.com
87c8265228 guess what? yep, more icode asm hacking.
git-svn-id: svn://10.0.0.236/trunk@81172 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 00:06:42 +00:00
akkana%netscape.com
3bf91f71a1 54449: Re-adding workaround for bug in delete-to-end, which was accidentally overwritten in XIF landing. r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@81171 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 00:03:05 +00:00
naving%netscape.com
257b22940f r =scottip, a = mscott Fix for bug #50886. Fix memory leaks in two places when
GetPrimaryEmail() is called.


git-svn-id: svn://10.0.0.236/trunk@81166 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 23:13:42 +00:00
naving%netscape.com
4c59334d92 r = scottip a = mscott. Fix for bug# 53348. Meunbar collapses but does not
restore.


git-svn-id: svn://10.0.0.236/trunk@81165 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 23:12:17 +00:00
naving%netscape.com
0b2b4f46b8 r =scottip a =mscott Fix bug #38600. Persist the sort column, key and
direction for the treeitems.


git-svn-id: svn://10.0.0.236/trunk@81164 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 23:11:02 +00:00
naving%netscape.com
d85f8a1657 r = scottip a=mscott Fix bug #38600. Call the xulSortService when none of the
cards in the address book is selected. This is needed whenever AB is launched.


git-svn-id: svn://10.0.0.236/trunk@81162 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 23:09:42 +00:00
mstoltz%netscape.com
9351f77d32 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc
git-svn-id: svn://10.0.0.236/trunk@81158 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:59:47 +00:00
law%netscape.com
b80345d74a rtm+ bug 40617; move globals to parent so Ok works after switching to another panel; r=blakeross@telocity.com; sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81157 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:59:17 +00:00
wtc%netscape.com
7b4bfa1cbf Bugzilla bug #56442: the DLL name on Windows should be nssckbi.dll, not
nssckbi32.dll.


git-svn-id: svn://10.0.0.236/trunk@81155 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:42:53 +00:00
wtc%netscape.com
6299135bd4 Bugzilla bug #56442: struct CK_FUNCTION_LIST must have the pack pragma
on Windows.  C_GetFunctionList must be DLL exported on Windows.


git-svn-id: svn://10.0.0.236/trunk@81154 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:41:36 +00:00
mjudge%netscape.com
5446d27b85 r=kin a=buster. fix has to go to trunk first. bug 49772
git-svn-id: svn://10.0.0.236/trunk@81153 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:37:52 +00:00
rogerl%netscape.com
f976aefde7 Bug #46196, a=brendan, r=mccabe. Fixed recursive death in out of memory
situation.


git-svn-id: svn://10.0.0.236/trunk@81150 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:11:52 +00:00
gordon%netscape.com
e1608282c8 Fix for Bug 56170 "After mac goes to sleep, getting IMAP mail locks up machine". Changed case kOTOutStateErr, so that it returns an error. This enables us to detect when a connection is closed out from under us.
git-svn-id: svn://10.0.0.236/trunk@81148 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 21:50:23 +00:00
saari%netscape.com
a1c24919d9 fix for rtm++ 53896, spacebar scrolls page when on form control. r=blake, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@81146 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 21:36:31 +00:00
dprice%netscape.com
1fd4f79bb0 fixing 54595 a=dveditz SR=sfraser,dveditz
git-svn-id: svn://10.0.0.236/trunk@81145 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 21:31:32 +00:00
gordon%netscape.com
90d826bdb9 Fix for Bug 41433 "Crash clicking offline icon in browser window" rtm++, r=gagan, sr=sfraser, a=jar. Protected calls to OTCloseProvider() so we only call it when mServiceRef is not null. Also set gNeedLateInitialization so we reallocate mServiceRef next time we're online and make a dns request.
git-svn-id: svn://10.0.0.236/trunk@81143 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 21:05:11 +00:00
dprice%netscape.com
d2ec7edcb7 removing debug statement.
git-svn-id: svn://10.0.0.236/trunk@81142 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 21:00:04 +00:00
cotter%netscape.com
cc79452f22 Corrected errors in release notes, added TLS info to help.
git-svn-id: svn://10.0.0.236/trunk@81141 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 20:49:56 +00:00
radha%netscape.com
4e0df00662 Fix for bug # 55145. r=pollmann a=rpotts
git-svn-id: svn://10.0.0.236/trunk@81140 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 20:49:40 +00:00
dprice%netscape.com
92f88bed7e added memory flusher for jar cache 53312
a=warren SR=warren,jband


git-svn-id: svn://10.0.0.236/trunk@81139 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 20:42:46 +00:00
sdagley%netscape.com
107bbe078e Fix #54778 - Make legacy plugins on Mac work from the "Plug-ins" folder. r=av,sr=sfraser,scc.
git-svn-id: svn://10.0.0.236/trunk@81135 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 18:59:05 +00:00
varada%netscape.com
ba4147f2f8 fix for bug#56308;changes to script.ib to accomodate changes in spi files for classic skin
git-svn-id: svn://10.0.0.236/trunk@81134 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 18:09:34 +00:00
kin%netscape.com
712894eb72 Fix for bugscape bug #2698 (Need to wire up Spellchecker language prefs)
mozilla/odules/libpref/src/init/all.js
      - Added "spellchecker.dictionary" default pref and removed old 4.x spellchecker prefs.

    mozilla/editor/base/nsEditorShell.cpp
      - Added code to InitSpellChecker() and UninitSpellChecker() to get and
        set the "spellchecker.dictionary" pref.

r=brade@netscape.com sr,a=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@81131 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 13:36:22 +00:00
jst%netscape.com
f23a896b90 (Checking in for jefft@netscape.com). Fixing rtm++ bug 56129. The file input stream wasn't always setting the EOF state correctly, this caused problems with saving mail messages to the sent folder and also problems with 'Save As Draft'. r=ducarroz, r=sspitzer, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@81130 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 11:15:36 +00:00
jst%netscape.com
9870b6af65 Fixing rtm++ bug 56212. The new serializers were a bit too eager about what characters to encode as entities, this caused bad things when sending email that contained double quotes and also when writing a message containing quotes in AIM. sr=vidur, r=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@81129 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 11:06:05 +00:00
sgehani%netscape.com
7b1565f51b Clean up zippies from the root of the system volume's "Temporary Items" folder. [b=2741; r=dougt; sr=sfraser]
git-svn-id: svn://10.0.0.236/trunk@81127 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 09:09:50 +00:00
alecf%netscape.com
7e9bb5238c fix for rtm++ bug #55424
r=nhotta@netscape.com,
sr=mscott@netscape.com
use GetUnicodeResource instead of
GetResource in order to get the
properly decoded Unicode string


git-svn-id: svn://10.0.0.236/trunk@81122 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 08:08:06 +00:00
disttsc%bart.nl
c64090fdf1 rdf:datasources --> datasources in DOMDataSourceViewer.xul, bug=53297, r=rjc, a=waterson
git-svn-id: svn://10.0.0.236/trunk@81119 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 05:28:04 +00:00
ducarroz%netscape.com
6cd1b5379a Fix for bug 54481. If nsMsgDisplayMessageByID failed likely because we don't have astring for the error, try again with NS_ERROR_SEND_FAILED. R=putterman, SR=alecf
git-svn-id: svn://10.0.0.236/trunk@81118 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 05:16:44 +00:00
ducarroz%netscape.com
f9152d9430 Fix for bug 54481. We need to escape any comma in the web page url. R=putterman, SR=alecf
git-svn-id: svn://10.0.0.236/trunk@81117 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 05:16:38 +00:00
ducarroz%netscape.com
08ac7f1600 Fix for bug 54481. Mac file name cannot have more than 31 characters. R=putterman, SR=alecf
git-svn-id: svn://10.0.0.236/trunk@81116 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 05:16:37 +00:00
ducarroz%netscape.com
ae6705e635 Fix for bug 54481. We need to escape any comma in web page url or file name. R=putterman, SR=alecf
git-svn-id: svn://10.0.0.236/trunk@81115 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 05:16:35 +00:00
anthonyd%netscape.com
62673e8a9e fix for bug # 55750
Crash opening "new composer window" to bogus location, after "this type of page can't be edited" dialog
r=sfraser
sr=kin
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@81114 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 05:06:02 +00:00
gagan%netscape.com
911b7eadff Fixing the solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@81113 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 05:05:10 +00:00
ben%netscape.com
da1f1b9702 Fix for rtm++ bug 53605, editing colour defaults for Composer writes bad data
to user preferences. patch from Steve Morse (morse@netscape.com), r=ben@netscape.com, a=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@81112 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 05:05:04 +00:00
gagan%netscape.com
34ee6bb707 Fix for bug 32335. Fixes to make basic auth use the realm for authenticating. Thanks to darin@netscape.com r=gagan, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@81107 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 04:01:48 +00:00
law%netscape.com
8904672f26 rtm++ bug 56122; fix typo to get nsIUrlWidget accessible to Navigator.js; r=dveditz@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@81105 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 03:46:36 +00:00
gagan%netscape.com
5ce5243e59 Fix for bug 31174. Misc. ssl related fixes for getting SSL proxies to work. r=ruslan,pavlov sr=dougt. Thanks nikolay.igotti@eng.sun.com
git-svn-id: svn://10.0.0.236/trunk@81104 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 03:18:55 +00:00
neeti%netscape.com
5ac74fafb2 fix for rtm++ bug 54630 - Disk cache not writing files after 512 files reached. r=dp, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@81103 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 03:01:10 +00:00
rhp%netscape.com
91a2e88543 Fix for bug #55074 - sr: mscott - Crash recurising in CountTotalMimeAttachments
git-svn-id: svn://10.0.0.236/trunk@81102 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 02:46:22 +00:00
brendan%mozilla.org
6e1f61c21a Checking in for rogerl (53614, r=mccabe, a=me).
git-svn-id: svn://10.0.0.236/trunk@81101 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 01:58:40 +00:00
karnaze%netscape.com
5c86c865cd bug 56024 - if there is no desired content width for a col, don't include the min content in totals. a=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@81100 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 01:57:02 +00:00
beard%netscape.com
a042232339 Fix for MRJ JITC/TalkBack interaction crasher. r=danm, a=waterson
git-svn-id: svn://10.0.0.236/trunk@81099 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 01:52:45 +00:00
nelsonb%netscape.com
13d86005dc An enhancement to the new -N feature. When -N is selected, do NOT wait
for the first https request to finish before launching all the others.


git-svn-id: svn://10.0.0.236/trunk@81097 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 01:25:44 +00:00
rickg%netscape.com
74d9db565a fix RTM++56085 crasher; r=attinasi, sr=buster
git-svn-id: svn://10.0.0.236/trunk@81095 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 01:16:56 +00:00
cotter%netscape.com
c681241430 Updtaed for PSM 4.1.
git-svn-id: svn://10.0.0.236/trunk@81094 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 01:12:35 +00:00
pavlov%netscape.com
ad452e359d fix for bug 45162 new plugins shouldn't use GdkSuperWin's, but instead should use XIDs. sr=blizzard r=valeski
git-svn-id: svn://10.0.0.236/trunk@81092 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 01:10:21 +00:00
jfrancis%netscape.com
4d276fe807 trunk checkin of: fix for rtm++ dogfood+ 55748; r=sfraser; sr=kin
git-svn-id: svn://10.0.0.236/trunk@81088 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 01:02:57 +00:00
andreww%netscape.com
b538c9bc2e bugzilla 55188, r=hewitt, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@81086 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:51:31 +00:00
nelsonb%netscape.com
7bb5b85b3b Add -v option. v means "verbose progress messages". Formerly, this
program was always very verbose.  Now, it only outputs progress messages
when -v is specified.  This is very useful for interactive use.
Cache statistics are written to stderr.


git-svn-id: svn://10.0.0.236/trunk@81085 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:50:05 +00:00
nelsonb%netscape.com
f8dc950690 Add new -N option. N means "No session reuse." -N disables the client
session cache, forcing all SSL handshakes to be FULL RSA handshakes.


git-svn-id: svn://10.0.0.236/trunk@81084 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:47:57 +00:00
waterson%netscape.com
6a911b0abb Bug 56115. Be sure to determine if CanContinueTextRun() while walking *down* as well as across. r=buster, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@81083 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:44:53 +00:00
hewitt%netscape.com
7c29692f90 #54751 - [Modern] main window cleanup, r=hangas, sr=ben
git-svn-id: svn://10.0.0.236/trunk@81081 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:38:46 +00:00
dmose%mozilla.org
8842ad78eb updated user-agent matching code to be more accurate about Win95 and MacOS
git-svn-id: svn://10.0.0.236/trunk@81080 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:36:39 +00:00
nelsonb%netscape.com
4ac0a5c799 * The Original Code is SPARC hand-optimized Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@81079 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:30:36 +00:00
nelsonb%netscape.com
d1c51fcf9b * inline macros for SPARC Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@81078 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:28:48 +00:00
nelsonb%netscape.com
2b93ca1500 * interface file for SPARC Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@81077 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:28:08 +00:00
nelsonb%netscape.com
fec8b0a095 * The Original Code is SPARC optimized Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@81076 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:27:04 +00:00
hewitt%netscape.com
4ebb82d607 #54751 - [Modern] new progress meter, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@81074 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:19:44 +00:00
hewitt%netscape.com
3266c901cf #52271 - [Modern] more icon stuff, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@81073 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:18:49 +00:00
rginda%netscape.com
3ec9b00543 adding some comments
git-svn-id: svn://10.0.0.236/trunk@81070 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 23:59:25 +00:00
rginda%netscape.com
03b5fb577e icode assembler still in progress
git-svn-id: svn://10.0.0.236/trunk@81069 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 23:58:51 +00:00
rginda%netscape.com
7797ece164 move # to first column for Very Lame Compilers.
git-svn-id: svn://10.0.0.236/trunk@81068 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 23:58:30 +00:00
jst%netscape.com
36aa358806 Fixing rtm++ bug 54825. The form element cleanup code in the HTML sink was incorrectly adding the form element itself to it's parent event if it had already been added, this caused the content iterator to lock up when doing 'Find on this page'. sr=vidur, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@81065 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 22:59:29 +00:00
ddrinan%netscape.com
6a86ffc1b7 Setting version to 1.4
git-svn-id: svn://10.0.0.236/trunk@81064 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 22:53:07 +00:00
nhotta%netscape.com
2f5501df93 Added an error handling in ConvertToUnicode() to use ISO-8859-1 if charset is invalid, bug 56059, r=bienvenu, sr=alecf,mscott.
git-svn-id: svn://10.0.0.236/trunk@81063 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 22:42:19 +00:00
ddrinan%netscape.com
f975de779d Fix for bug 53198
git-svn-id: svn://10.0.0.236/trunk@81062 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 22:41:47 +00:00
pchen%netscape.com
fc2068c88a bugscape 2269, r=danm, sr=scc, turn off print plus for bookmarks windows
git-svn-id: svn://10.0.0.236/trunk@81056 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 21:41:24 +00:00
pchen%netscape.com
daff1fdf09 bugscape 2269, r=danm, sr=scc, include communicatorOverlay.xul to get
complete help menu


git-svn-id: svn://10.0.0.236/trunk@81054 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 21:38:55 +00:00
javi%netscape.com
d9d8c5ae6e Fix for bug 45892 r=ddrinan a=brendan
Wait for a non-NULL response when doing a KEYGEN when the user has just
initialized the key database.


git-svn-id: svn://10.0.0.236/trunk@81053 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 21:27:42 +00:00
blakeross%telocity.com
2408f3eaf1 Fix 51026, change "Hyper-Text" to "Hypertext" in a prefs desktop integration label. r=gemal a=brendan
git-svn-id: svn://10.0.0.236/trunk@81052 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 21:20:20 +00:00
blakeross%telocity.com
6376bd300e Fix 53189: the Print dialog comes up twice when opening it from the button's menu in Composer and MailNews. r=brendan a=ben
git-svn-id: svn://10.0.0.236/trunk@81048 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 21:10:26 +00:00
nisheeth%netscape.com
ea6d296eed a=vidur. Fix for bug 34168. We now handle the case of a redundant percentage sign in the entity value of an entity definition in the internal subset without crashing.
git-svn-id: svn://10.0.0.236/trunk@81047 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 21:07:45 +00:00
hyatt%netscape.com
7fe9cc1693 Remaining file that I missed earlier on bug #55290.
git-svn-id: svn://10.0.0.236/trunk@81045 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 20:55:48 +00:00
hyatt%netscape.com
f202c2a852 Fix for 50846, a=waterson
git-svn-id: svn://10.0.0.236/trunk@81043 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 20:52:52 +00:00
buster%netscape.com
af23531792 bug 55250 (crash when align attribute is changed)
r=karanze
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81041 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 20:43:18 +00:00
despotdaemon%netscape.com
828efeb606 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@81039 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 20:33:41 +00:00
buster%netscape.com
09d59fd2f9 backed out my/waterson's potential fix for bug 43914
this fixes bug 56102
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81037 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 20:30:43 +00:00
leaf%mozilla.org
8cb2416476 backing out backout. rickg and buster found the one line problem in nsElementTable.cpp, fixed on n6 branch, merging to trunk.
git-svn-id: svn://10.0.0.236/trunk@81036 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 18:46:55 +00:00
leaf%mozilla.org
2f29f2439c backing out rickg's htmlparser changes (backing out fixes 56265 for two
independent developers).


git-svn-id: svn://10.0.0.236/trunk@81034 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 18:22:15 +00:00
briane%qnx.com
db86f25730 Not Part of Build... PHOTON ONLY
Additions of new callbacks to test new features of the PtMozilla widget.


git-svn-id: svn://10.0.0.236/trunk@81032 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 16:27:52 +00:00
briane%qnx.com
6f8b439454 Not Part of Build... PHOTON ONLY
Bug fixes and enhancements to the PtMozilla widget.  Also fixes taken from
the GTK version to get things working with the latest Embedding API changes.


git-svn-id: svn://10.0.0.236/trunk@81031 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 16:26:16 +00:00
briane%qnx.com
b89497da88 Not Part of Build... PHOTON ONLY
Multiple comboboxes in web pages now display properly


git-svn-id: svn://10.0.0.236/trunk@81030 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 16:19:02 +00:00
briane%qnx.com
e038c97ab8 Not Part of Build... PHOTON ONLY
Fixed all the default colors and sizes.  The classic theme is now correct.


git-svn-id: svn://10.0.0.236/trunk@81029 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 16:18:30 +00:00
nboyd%atg.com
48d08a8a57 Fix bug 56185.
git-svn-id: svn://10.0.0.236/trunk@81028 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 16:10:55 +00:00
nboyd%atg.com
0503a645d7 Fix bug 56158
git-svn-id: svn://10.0.0.236/trunk@81024 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 14:59:19 +00:00
ccarlen%netscape.com
cc41c1b2c6 Bug 38626 - Removed use of nsIFileLocator
r=alecf@netscape.com, a=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@81023 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 14:52:24 +00:00
ccarlen%netscape.com
185ee2538d Bug 38626 - The name of the "chrome" directory was "Chrome" which was wrong on Unix r=hyatt@netscape.com, a=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81021 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 14:50:42 +00:00
ccarlen%netscape.com
51ecc2b771 Bug 38626 - remove use of nsIFileLocator
r=hyatt@netscape.com, a=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@81020 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 14:48:33 +00:00
locka%iol.ie
f8ca0fd8cd Fix to name Internet Shortcuts after the document title, not the window title. b=41984, a=ben@netscape.com, r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81019 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 14:21:10 +00:00
waqar%netscape.com
0dc40a6753 #=53502
r=rods@netscape.com
a=buster@netscape.com
d=Fixes the problem with listbox and modifier keys.


git-svn-id: svn://10.0.0.236/trunk@81018 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 14:20:02 +00:00
bienvenu%netscape.com
ea6a0d2b28 fix filter to inbox for pop case 56007 r=sspitzer,alecf, etc
git-svn-id: svn://10.0.0.236/trunk@81016 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 14:17:28 +00:00
hewitt%netscape.com
480c078889 fixing corrupted image. same file as previously checked in, but this time CVS better not corrupt it.
git-svn-id: svn://10.0.0.236/trunk@81014 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 08:08:42 +00:00
rjc%netscape.com
9829ba6b6c Fix RTM++ bug # 51446: FTP issue with date/time strings containing dots. r=gagan sr=ftang
git-svn-id: svn://10.0.0.236/trunk@81013 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 08:08:39 +00:00
hewitt%netscape.com
9951f0bfc5 #52271 - [Modern] new secondary icons, r=german, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@81012 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 08:06:18 +00:00
rginda%netscape.com
0d5a837abf more icodeasm hacks
git-svn-id: svn://10.0.0.236/trunk@81010 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 07:55:13 +00:00
hyatt%netscape.com
a01b175d5b Backing out pinkerton's unapproved checkin to nsChromeRegistry.cpp, since it caused a regression.
git-svn-id: svn://10.0.0.236/trunk@81008 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 07:21:11 +00:00
beard%netscape.com
7d43bae8f2 Outer class loader support, using ClassManager.
git-svn-id: svn://10.0.0.236/trunk@81006 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 06:30:29 +00:00
pollmann%netscape.com
e2a0a7c26c Fix Un*x bustage (typo in last patch, oops, sorry!)
git-svn-id: svn://10.0.0.236/trunk@81000 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 04:50:35 +00:00
pollmann%netscape.com
06b24f2bf7 Fix AIX build bustage - these constants are already defined in system header files
git-svn-id: svn://10.0.0.236/trunk@80997 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 04:07:45 +00:00
pinkerton%netscape.com
7ff3af0342 update of chrome registry to use nsIFile to better work with paths with slashes. Fixes hang at startup on mac if the path had a '/' anywhere in it. r=waterson,a=sfraser. bug#54097
git-svn-id: svn://10.0.0.236/trunk@80996 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 04:01:35 +00:00
mscott%netscape.com
3e092b1634 Bug #2775 --> only force a delete model if the server is a AOL server.
only show deleted messages if the server is a AOL server.
r=bienvenu sr=alecf


git-svn-id: svn://10.0.0.236/trunk@80995 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 02:40:02 +00:00
cyeh%bluemartini.com
df16ebf8a1 fix for bug where removing files on a branch causes the BRANCH_TAG name
to show up as a file to be removed. patch and fix by
pzb@lightningcast.net (Peter Bowen)


git-svn-id: svn://10.0.0.236/trunk@80994 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 01:41:00 +00:00
disttsc%bart.nl
9bf72d07fe Change addressbook Edit > Edit Card... to Edit > Card Properties... and give it the ctrl+i accelerator.
bug=49782, r=putterman, a=waterson


git-svn-id: svn://10.0.0.236/trunk@80993 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 01:39:46 +00:00
rginda%netscape.com
ba4f3d38c7 more hacking (flailing, maybe) on the icode assembler
git-svn-id: svn://10.0.0.236/trunk@80992 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 01:32:01 +00:00
rginda%netscape.com
9ff1c09f53 initial checkin of simple query script for the icode hash
git-svn-id: svn://10.0.0.236/trunk@80991 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 01:31:33 +00:00
rogerl%netscape.com
5985f3fb18 Bug #55114, a=brendan, r=mccabe. Fixed failure in enumerating Java string
objects.


git-svn-id: svn://10.0.0.236/trunk@80990 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 01:23:13 +00:00
pollmann%netscape.com
5a7a80de57 Bug 48483: Fix HPUX bustage for Unix default plugin, fix thanks to wtc (added #ifdef guards to previous checkin per review by wtc, will not affect build)
git-svn-id: svn://10.0.0.236/trunk@80988 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 01:11:38 +00:00
despotdaemon%netscape.com
220ca080c6 Pseudo-automatic update of changes made by bobj@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@80985 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 00:22:59 +00:00
pollmann%netscape.com
56b3f3a359 Bug 48483: Fix HPUX bustage for Unix default plugin fix thanks to wtc, r=jdunn,pollmann sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80984 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 00:20:34 +00:00
rogerl%netscape.com
65a3657346 Bug #53614, a=brendan,r=mccabe. Fixed crash for calling RegExp literal.
git-svn-id: svn://10.0.0.236/trunk@80983 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 00:18:40 +00:00
dougt%netscape.com
f83e6f90cf fixes needing profile manager to use psm. bug 56161. r=javi, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80982 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 00:00:46 +00:00
sspitzer%netscape.com
eb1f63d020 fix for #55449. we over-localized some of the international 4.x release,
and localized the folder names "Mail" and "News" when we weren't supposed to.
this fix makes it so we do this when we migrate

1)  try the pref first
2)  if the pref is not set, try "4.x profile dir"/"Mail"
3)  if "4.x profile dir"/"Mail" doesn't exist, try "4.x profile dir"/"Localize-Word-For-Mail"


git-svn-id: svn://10.0.0.236/trunk@80980 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:52:48 +00:00
blakeross%telocity.com
eb73fadada Fix 55832: css "width: 100%" rendering incorrectly for button elements. patch by djoham@criadvantage.com. r=ianh a=ben, rtm++
git-svn-id: svn://10.0.0.236/trunk@80979 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:50:37 +00:00
rickg%netscape.com
2bad60b783 fixed RTM++ compatibility bugs: 53011, 54117, 54651, 54834, 54840, 55095. sr=buster, r=buster, attinasi, harish, sfraser for various portions.
git-svn-id: svn://10.0.0.236/trunk@80977 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:42:00 +00:00
rickg%netscape.com
4299d43cc1 WIP for bug 55095; sr=buster, r=attinasi, sfraser
git-svn-id: svn://10.0.0.236/trunk@80976 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:40:42 +00:00
sfraser%netscape.com
5f34f54f07 Fix bug 53999 -- ensure that non-jar builds use the same override rules as jar builds. r=warren, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@80967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:32:15 +00:00
jst%netscape.com
9da216f81e Fixing rtm++ bug 52998. Form controls inside <noscript> were incorrectly added to the form even if javascript was enabled. sr=vidur, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@80966 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:23:21 +00:00
mscott%netscape.com
17e47fb76c Bug #47636 --> add methods to convert back and forth between a nsIDocShellLoadTypeInfo
and a docshell load tye. Unify nsIURILoadCommand and nsIDocShellLoadType enums so they
can be treated as the same type.
r=radha, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@80965 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:17:02 +00:00
mscott%netscape.com
02fd4611b5 Bug #47636 --> add methods to convert back and forth between a nsIDocShellLoadTypeInfo
and a docshell load tye. Unify nsIURILoadCommand and nsIDocShellLoadType enums so they
can be treated as the same type. This allows the uriloader to pass the correct load info
from the docshell that originates the load over to the docshell that actually
ends up loading the url.
r=radha, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@80964 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:14:38 +00:00
jst%netscape.com
8ef014a604 Fixing rtm++ bug 54892. The .offsetParent property on the BODY element was incorreclty returning its real parent in stead of null. sr=vidur, r=pierre
git-svn-id: svn://10.0.0.236/trunk@80963 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:11:28 +00:00
mscott%netscape.com
0c5f85cf17 Bug #54381 --> if we are loading an http url that ends in .dll and the server didn't
give us a content type, then assume it is an unknown content type instead of
looking it up in the OS. This fixes the case were sites use ISAPI.dll and don't
specify content types.
r=gagan, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@80962 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:54:19 +00:00
mscott%netscape.com
170bdf49f3 Bug #54381 --> add <BODY> tag to the unknown decoder's attempt to figure out
if content is html or not.
r=gagan, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@80961 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:53:18 +00:00
larryh%netscape.com
aa164a08c2 Bugzilla: 46651. buffsize -> bufsize
git-svn-id: svn://10.0.0.236/trunk@80960 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:51:04 +00:00
jst%netscape.com
d547615f19 Rolling in the last of the NOXIF changes from the Netscape 6 branch, code mostly written by jfrancis. Fixes bugs 50742, 55806, 56000 and 55669. sr=kin, scc. r=kandrot, jst.
git-svn-id: svn://10.0.0.236/trunk@80959 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:50:14 +00:00
mkaply%us.ibm.com
6b6fea7aea #55810
r=mkaply, a=blizzard
Code from jkobal to fix various dropdown problems


git-svn-id: svn://10.0.0.236/trunk@80958 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:50:04 +00:00
rogerl%netscape.com
1ca0ef4c58 Bug #52479 , a=brendan,r=mccabe. Fixed crash on bad \uXXXX in input.
git-svn-id: svn://10.0.0.236/trunk@80957 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:34:40 +00:00
edburns%acm.org
f684ef784c bug=54291
a=brendan
r=edburns, scc

This checkin does three things:

1. Makes it so on Unix the user can set the env var NS600_PLUGIN_PATH to point
to a directory that will be used as the location for searching for plugins.

2. Removes nsPluginsDirUNIX.cpp and replaces it with nsPluginsDirUnix.cpp

3. Correctly formats nsPluginsDirUnix per brendan's recommendation.


git-svn-id: svn://10.0.0.236/trunk@80956 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:33:20 +00:00
attinasi%netscape.com
d98d18c7b7 Fixed regression for bug 40340 (checked in yesterday). Thanks to David Baron. r=karnaze, a=buster
git-svn-id: svn://10.0.0.236/trunk@80955 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:25:57 +00:00
blakeross%telocity.com
8195d395ea Fix 55839: URL bar passes empty search string to default search engine. r=rjc a=waterson
git-svn-id: svn://10.0.0.236/trunk@80954 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:19:01 +00:00
karnaze%netscape.com
e6d784c22a bug 55789 - the col group frame increments its num cols before inserting the col into the table. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80953 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:09:00 +00:00
tao%netscape.com
a5e1579a0e 54784: Chrome registry should flush stringbundle and XUL caching after
profile selection. r=hyatt,sr=alecf.
55156: localizable values are cached in the HTTP header. r=gagan, racham,
 sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@80952 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:07:04 +00:00
blakeross%telocity.com
ccb5b4ce1f sorry, 55952 in last checkin.
git-svn-id: svn://10.0.0.236/trunk@80950 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 21:57:59 +00:00
blakeross%telocity.com
10d45c7510 Fix 55592, clicking on blank tree in Sidebar tries to load http://advanceddeck/ r=rjc a=waterson
git-svn-id: svn://10.0.0.236/trunk@80949 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 21:52:51 +00:00
nhotta%netscape.com
88b08467a4 Fix Bug#: 53528 : ALT+HANKAKU/ZENKAKU key often activates menu bar
r=shanjian, sr=ftang, check in by nhotta's account for yokoyama.


git-svn-id: svn://10.0.0.236/trunk@80948 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 21:50:50 +00:00
sdv%sparc.spb.su
3768aea43f * NOT PART OF TBOX BUILD *
use HashSet instead of Hashtable for storing java
keywords.


git-svn-id: svn://10.0.0.236/trunk@80946 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 21:06:21 +00:00
sdv%sparc.spb.su
d888e2e93d * NOT PART OF TBOX BUILD *
improved interface registration algorithm


git-svn-id: svn://10.0.0.236/trunk@80945 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 20:35:12 +00:00
locka%iol.ie
ea40db52be Fix for anchor scrolling regression. b=55244, r=waterson@netscape.com, a=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80936 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 13:50:45 +00:00
brade%netscape.com
050d7335b0 extra line removed so that Advanced Edit dialog will come up; r/sr=kin/sfraser; bug #55746
git-svn-id: svn://10.0.0.236/trunk@80935 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 13:40:09 +00:00
hewitt%netscape.com
00b17efd65 #52271 - [Modern] new secondary icons, r=german, sr=ben
git-svn-id: svn://10.0.0.236/trunk@80933 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 11:29:33 +00:00
hewitt%netscape.com
27b92af325 #52271 - [Modern] new secondary icons, r=german, sr=ben
git-svn-id: svn://10.0.0.236/trunk@80931 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 11:03:44 +00:00
pollmann%netscape.com
57aa9ce6fb Bug 53708: Prune session history tree at frame being replaced to prevent wrong pages from being loaded into subframes. r=radha, a=adamlock
git-svn-id: svn://10.0.0.236/trunk@80927 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 10:05:17 +00:00
pollmann%netscape.com
80287fae49 Bug 54966, 54845, 55906: Prevent psm-glue from accidentally cancelling form submit for file: urls, javascript: urls, and submits to 127.0.0.1 r=javi,jst sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80924 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 09:53:29 +00:00
dveditz%netscape.com
2449da4f29 Use correct type of event queue in xpinstall, bug 54871 r=dougt, sr=brendan/blizzard
git-svn-id: svn://10.0.0.236/trunk@80923 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 08:47:49 +00:00
attinasi%netscape.com
15b59e76c0 Part fo fix for prefs bugs: disabling forced colors and fonts for Composer shells. b=40340, r=karnaze,pierre verbal approval from k.brade, a=buster
git-svn-id: svn://10.0.0.236/trunk@80922 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 08:35:06 +00:00
attinasi%netscape.com
c8ab5d1344 Implemented the backend for the following prefs: Override Document colors, Override document fonts, Link and Visited link colors, and Underline links. Provided the ability to disable the preferences as well, so Composer can show changed fonts and colors. These changes are stewing on the trunk for a day or so before making their debut on the branch. b=40340, r=karnaze,pierre a=buster
git-svn-id: svn://10.0.0.236/trunk@80920 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 08:33:01 +00:00
wtc%netscape.com
2e3c2cc514 Fixed the comment.
git-svn-id: svn://10.0.0.236/trunk@80915 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 07:21:38 +00:00
mcgreer%netscape.com
5fbd7e283b also do binary on stdout DER
git-svn-id: svn://10.0.0.236/trunk@80914 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 07:12:45 +00:00
mcgreer%netscape.com
cf3a7c75cb binary output always, for now
git-svn-id: svn://10.0.0.236/trunk@80913 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 07:04:30 +00:00
mcgreer%netscape.com
fff90deec0 fix output of DER's on windows
git-svn-id: svn://10.0.0.236/trunk@80912 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 06:52:06 +00:00
wtc%netscape.com
4aa8f7ce09 Commented out 'rm -rf ${TEMPFILES}' because TEMPFILES is not defined.
git-svn-id: svn://10.0.0.236/trunk@80911 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 06:47:36 +00:00
rjc%netscape.com
789b63a2c2 Fix bug # 55166: bookmark description loss. r=waterson sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@80910 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 06:47:06 +00:00
wtc%netscape.com
b6b49443a3 Fixed the echo output to match the command.
git-svn-id: svn://10.0.0.236/trunk@80909 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 06:46:05 +00:00
sgehani%netscape.com
40b8bc8c3d Testing the fix for bugscape 2470 on the trunk per PDT.
Make the Unix installer support fallbacks when loading the string bundle.

b=2470
r=dbragg
a=erik


git-svn-id: svn://10.0.0.236/trunk@80902 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 05:40:51 +00:00
sgehani%netscape.com
b229d1eb8e Testing the fix fix for bugscape 2470 on the trunk per PDT.
Make Unix installer support fallbacks when loading the string bundle.

b=2470
r=dbragg
a=erik


git-svn-id: svn://10.0.0.236/trunk@80901 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 05:39:29 +00:00
blakeross%telocity.com
9e0e1c406e Fix 53896, spacebar when HTML buttons/radiobuttons/checkboxes have the focus just scrolls the page. patch by saari. r=danm a=hyatt, rtm+
git-svn-id: svn://10.0.0.236/trunk@80898 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 03:47:45 +00:00
law%netscape.com
d44ede62ec rtm++ bug 55627; handle case where base window closes out from under Downloading dialog; patch submitted by jrgm@netscape.com; r=law@netscape.com, sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80893 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 03:04:31 +00:00
neeti%netscape.com
cc003f2e71 fix for bug 54072,r=dp, sr=rpotts/mscott
git-svn-id: svn://10.0.0.236/trunk@80892 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 03:03:40 +00:00
law%netscape.com
063d0fa6f9 rtm++ bug 55627; make Downloading dialog modal to avoid orphaning it; r=jrgm@netscape.com, sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80891 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 03:01:55 +00:00
rginda%netscape.com
add1fbfa6f initial checkin of icode assembler
git-svn-id: svn://10.0.0.236/trunk@80889 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 02:44:14 +00:00
rginda%netscape.com
801cc4adc1 seperate icode hash into module
git-svn-id: svn://10.0.0.236/trunk@80888 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 02:42:39 +00:00
racham%netscape.com
b871fc926a Fixing bug 50914. Migrated profiles were missing mimeTypes.rdf file. Added code to copy a default mimeTypes.rdf file into the migrated profile directory. r,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80887 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 02:40:16 +00:00
waldemar%netscape.com
a4bbb0643c Added s flag
git-svn-id: svn://10.0.0.236/trunk@80885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 02:28:13 +00:00
sspitzer%netscape.com
ccebc1c660 fixes for rtm++ bugs #55955 and #55444. on mac, migrate if the MagicCookies files doesn't exist. on mac, migrate if the "Mail" or "News" directories don't
exist.  r=putterman,sr=mscott


git-svn-id: svn://10.0.0.236/trunk@80882 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 02:12:11 +00:00
heikki%netscape.com
e56a7ca178 Bug 55377, fixed a couple of Purify FMMs. delete[] was used when free should have been used instead. r=akkana, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@80879 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 01:29:32 +00:00
jefft%netscape.com
868a44861f fixed bug 55351 - Unable to enter a password for a SMTP server; always send EHLO command first instead of parsing the greeting to decide whether the server is an SMTP or ESMTP server; r=bienvenu, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80878 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 01:16:19 +00:00
alecf%netscape.com
54a92da996 updating the bonsai script to be smart about guessing the current branch, and about only updating the current directory that you are in
also support both wget and lynx
(not part of build)


git-svn-id: svn://10.0.0.236/trunk@80876 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 00:57:44 +00:00
mcgreer%netscape.com
e7afcf22fd add a new function, SECU_TextFileToItem, for reading text files.
git-svn-id: svn://10.0.0.236/trunk@80875 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 00:56:32 +00:00
mcgreer%netscape.com
4ff87894d0 seperate text file reads from binary reads. Change all base64 encoded ciphertexts to end in LF instead of CRLF. This caused a bug on windows when checking out from CVS.
git-svn-id: svn://10.0.0.236/trunk@80874 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 00:55:45 +00:00
blakeross%telocity.com
a58bbd6a67 Fix for 46877, scroll position not being remembered in session history. patch is by evaughan. r=pink a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80873 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 00:36:30 +00:00
jfrancis%netscape.com
246c0aaeeb fixes bug 54895: certain editor operations (like align) crashed when applied to mulit-cell table cell selections; r=kin; sr=sfraser; a=jar
git-svn-id: svn://10.0.0.236/trunk@80872 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 00:27:33 +00:00
andreww%netscape.com
71b8b16da9 bugzilla=54574,
r=hewitt,
sr=ben,
stretchy back forward print buttons in classic mac


git-svn-id: svn://10.0.0.236/trunk@80870 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 23:56:55 +00:00
mkaply%us.ibm.com
8623504a46 #55365
r=pedemont, a=blizzard
We were forcing a failure on Verdana. BAD


git-svn-id: svn://10.0.0.236/trunk@80867 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 23:03:38 +00:00
mkaply%us.ibm.com
a97797f3ec #56011
r=jkobal, a=tor
Remove unnecessary XP_OS2 code in libimg


git-svn-id: svn://10.0.0.236/trunk@80864 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 22:16:34 +00:00
pinkerton%netscape.com
c840b05b31 Give folder pane transparant border when it is not in focus to avoid resizing when it gets focus. r=pchen,a=ben, bug 54713
git-svn-id: svn://10.0.0.236/trunk@80863 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 22:16:00 +00:00
mkaply%us.ibm.com
0c5c7d1352 #55831
r=mkaply, a=blizzard
Code from jkobal to make timers MUCH better


git-svn-id: svn://10.0.0.236/trunk@80857 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 21:45:12 +00:00
kin%netscape.com
aa34867bdf Fix for bug #52858 (Case where crash happens involving save to draft warning...)
mozilla/editor/ui/dialogs/content/EdSpellCheck.js
      - Make onClose() return true.

    mozilla/editor/ui/dialogs/content/EdSpellCheck.xul
      - Add onclose="onClose()" attribute to window tag.

r=brade@netscape.com sr,a=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@80854 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 21:40:39 +00:00
chuang%netscape.com
12e4d1488f bug50584 Lists in Personal Address Book not migrating as lists, r=bienvenu+putterman, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@80852 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 21:38:26 +00:00
gordon%netscape.com
9855761254 Fix for bug 49990 "Networking fails after sleep/wake cycle" on Mac. rtm+, r=pinkerton, sr =sfraser. Added support for provide will/has closed OT events.
git-svn-id: svn://10.0.0.236/trunk@80851 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 21:25:27 +00:00
pollmann%netscape.com
b6aa1f6695 Bug 48483: Unix default plugin, fix for OpenVMS bustage r=av@netscape.com a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@80848 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 21:01:14 +00:00
alecf%netscape.com
06154361f4 first-pass at bonsai-based cvs update script
(not part of build, not ready for general consumption)


git-svn-id: svn://10.0.0.236/trunk@80847 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 20:58:23 +00:00
hyatt%netscape.com
a9e5e2aa84 Fix for 43248. r=ben,a=waterson
git-svn-id: svn://10.0.0.236/trunk@80846 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 20:54:08 +00:00
hyatt%netscape.com
1939f91912 Fix for 5693. r=saari,a=waterson
git-svn-id: svn://10.0.0.236/trunk@80843 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 20:48:03 +00:00
larryh%netscape.com
a23c0899e6 Bugzilla: 55271. Attach thread on BeOS
git-svn-id: svn://10.0.0.236/trunk@80841 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 20:07:20 +00:00
sdv%sparc.spb.su
0d218094b7 * NOT PART OF TBOX BUILD *
r=idk@eng.sun.com
 - generate compilable java interfaces when identifiers
   in idls coincide with java keywords
 - correctly deal with methods which names in idls
   coincide with  some Object class methods


git-svn-id: svn://10.0.0.236/trunk@80840 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 19:41:27 +00:00
beard%netscape.com
5c3fba0bbc Map all exceptions to just return null.
git-svn-id: svn://10.0.0.236/trunk@80837 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 18:14:20 +00:00
brade%netscape.com
81f9c8fda5 checkin for leaf (a=leaf); hoping to fix freeze/lockups during depend builds
git-svn-id: svn://10.0.0.236/trunk@80835 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 16:15:51 +00:00
nboyd%atg.com
bdbde79b7c More javadoc.
git-svn-id: svn://10.0.0.236/trunk@80834 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 14:58:47 +00:00
mkaply%us.ibm.com
86d0aa8cc8 r=mkaply, a=blizzard
Quick fix to enable DBCS fonts


git-svn-id: svn://10.0.0.236/trunk@80833 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 14:31:46 +00:00
brade%netscape.com
a4deacb317 fix format submenus and View menu items to toggle appropriately (radio) and to show the proper setting even if the selection has changed since the menu was last opened. r/sr=kin/sfraser; bug #54317
git-svn-id: svn://10.0.0.236/trunk@80830 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 13:15:46 +00:00
brade%netscape.com
a473e32931 fix "header" type setting to display properly (missing ()) and to apply if only one cell is selected; bug #54899; r/sr=kin,sfraser
git-svn-id: svn://10.0.0.236/trunk@80829 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 13:13:33 +00:00
brade%netscape.com
c7047db3da fix Remove Image Map button (typo); bug #55383; r=sfraser/kin
git-svn-id: svn://10.0.0.236/trunk@80828 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 13:11:54 +00:00
locka%iol.ie
cfe12e1d08 New context menu listener code. b=55516, r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@80827 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 12:19:17 +00:00
mscott%netscape.com
c9c05d6665 Bug #55628 --> MoveTo won't delete the file if it already exists. When moving the temp
file to the user specified location, delete the specified location if it currently exists.
r=sspitzer, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@80825 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 05:20:09 +00:00
hewitt%netscape.com
71ef16fee1 #52544 - fixed color picker in mailnews prefs, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@80824 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 05:11:14 +00:00
hewitt%netscape.com
b58c0e4ea8 54750 - messengercompose addressingWidget cleanup, r=ducarroz, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@80823 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 05:08:54 +00:00
svn%xmlterm.org
66652d95b1 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Added .cvsignore files to locale dirs.


git-svn-id: svn://10.0.0.236/trunk@80822 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 05:01:38 +00:00
svn%xmlterm.org
0a8feabc0d --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Some code cleanup for Finalize methods.


git-svn-id: svn://10.0.0.236/trunk@80818 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:51:11 +00:00
hewitt%netscape.com
5476b22ec2 #54750 - messengercompose addressingWidget cleanup, r=ducarroz, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@80817 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:48:42 +00:00
svn%xmlterm.org
a980c25ca6 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Added test HTML documents to exercise xpcom/css/dom features used by xmlterm.


git-svn-id: svn://10.0.0.236/trunk@80816 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:46:00 +00:00
hewitt%netscape.com
a9a67eefc1 #52544 - fixed color picker in mailnews prefs, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@80814 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:40:56 +00:00
svn%xmlterm.org
4045f59e96 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Added a coupled of pagelet test scripts.


git-svn-id: svn://10.0.0.236/trunk@80812 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:40:22 +00:00
wtc%netscape.com
f56cd70fb2 Bugzilla bug #53902: a better way to fix the va_list compilation problem
in an older version of NetBSD/macppc.  Thanks to Martin Husemann
<martin@NetBSD.ORG> for the patch.
Modified files: _netbsd.h, prprf.c


git-svn-id: svn://10.0.0.236/trunk@80811 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:38:55 +00:00
svn%xmlterm.org
bb2ab9fb51 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Changes to fix xmlterm XPI file build.


git-svn-id: svn://10.0.0.236/trunk@80810 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:38:20 +00:00
hewitt%netscape.com
e3dbe0cb98 #55442 - [Modern] de-bolding button, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@80809 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:36:00 +00:00
hewitt%netscape.com
0937b2ff57 #54758 - [Modern] repairing hosed Edit Categories dialog, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@80808 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:35:26 +00:00
hewitt%netscape.com
3bf74f2d4d #2813(bugscape) - [Modern] new button images for keyword menubutton r=marlon, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@80807 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:32:29 +00:00
wtc%netscape.com
c567a688e9 Bugzilla bug #55740: fixed a typo. Thanks to Martin Husemann
<martin@NetBSD.ORG> for the patch.


git-svn-id: svn://10.0.0.236/trunk@80804 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:28:11 +00:00
nelsonb%netscape.com
2b8c08c44f Change the working directory to the test directory before running
certutil -S, which creates files in the current working directory.


git-svn-id: svn://10.0.0.236/trunk@80799 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 03:12:31 +00:00
waldemar%netscape.com
a48117ce87 Changed classof x to x.class. Removed eval. Made include be a non-reserved word. Changed syntax of import to allow an automatic use of selected namespaces.
git-svn-id: svn://10.0.0.236/trunk@80794 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 02:49:34 +00:00
waldemar%netscape.com
3cc51417a0 Removed "eval" and "include" keywords
git-svn-id: svn://10.0.0.236/trunk@80793 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 02:48:17 +00:00
wtc%netscape.com
45c91f68a1 Print NSPR and OS error codes if PR_Open fails.
git-svn-id: svn://10.0.0.236/trunk@80790 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 02:38:08 +00:00
nelsonb%netscape.com
ee37b23eff All output messages from strsclnt now begin with the string "strsclnt: ".
This makes it easier to separate mixed client and server output.


git-svn-id: svn://10.0.0.236/trunk@80789 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 02:10:25 +00:00
sfraser%netscape.com
8379325c00 Fix for 52808 -- standardized nsEditorShell creation and destruction across components, to fix editor observer notification timing. r=kin,ducarroz,jelwell, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@80787 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 01:45:46 +00:00
andreww%netscape.com
a3316ec3a1 53388,
r=varada,
sr=hangas,
classic editor - difficult to see arrows in font gifs.


git-svn-id: svn://10.0.0.236/trunk@80786 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 01:41:29 +00:00
bienvenu%netscape.com
808f2ea266 fix problem with missing all hdr tables in msg db making it impossible to get new headers r=scottip sr=mscott 55432
git-svn-id: svn://10.0.0.236/trunk@80784 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 01:22:44 +00:00
disttsc%bart.nl
5d41fb40a1 Fix a couple of xp filepicker bugs, r=pavlov, r=bryner, a=brendan:
- 51118 throws exception on double-clicks not on treerows
- 52188 Disable/enable Open/Save/Select when appropriate
- 55685 doesn't change to typed directories in save mode
- 55830 Make input field and file filter line up


git-svn-id: svn://10.0.0.236/trunk@80783 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 01:07:15 +00:00
despotdaemon%netscape.com
6b97fbc958 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@80780 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 00:57:41 +00:00
andreww%netscape.com
d4217a501c bugzilla 51085
r=hewitt
sr=hangas
keyverb wierdness on classic.


git-svn-id: svn://10.0.0.236/trunk@80779 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 00:53:01 +00:00
hewitt%netscape.com
4135e4b92a #54105 - [Modern] menulist correctness, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@80778 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 00:51:08 +00:00
evaughan%netscape.com
19928213e1 Part 2 fix for bug #55899
git-svn-id: svn://10.0.0.236/trunk@80775 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 00:39:13 +00:00
evaughan%netscape.com
dc35c94694 Part 1 fix for bug #55899
git-svn-id: svn://10.0.0.236/trunk@80774 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 00:38:43 +00:00
hewitt%netscape.com
859508f835 re-checking in corrupted gifs.
git-svn-id: svn://10.0.0.236/trunk@80773 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 00:30:28 +00:00
varada%netscape.com
9bb94aca9a fix for bug#52345; enabling panels.rdf to be viewed
git-svn-id: svn://10.0.0.236/trunk@80772 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 00:25:30 +00:00
varada%netscape.com
97d874f3c4 fix for bug#54076; removing branding_page5.ini from the flow
git-svn-id: svn://10.0.0.236/trunk@80771 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 00:17:08 +00:00
hewitt%netscape.com
b980de6f51 #54751 - [Modern] window cleanup, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@80770 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 00:14:19 +00:00
hewitt%netscape.com
c20449a10c #54105 - button/menulist correctness, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@80769 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 00:06:03 +00:00
karnaze%netscape.com
f89c16b1b4 bug 55192 (2nd part) - During a table reflow, consider row groups that may have been deleted because they were next flows and placed in the sibling chain. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80768 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 23:57:51 +00:00
mccabe%netscape.com
412d438279 Fix to 53929. Fix previously-broken UnregisterListener method on console service, by proxy-wrapping the service we've been asked to remove before comparing it to those in the listener list. The saved listeners are already proxy-wrapped, so the previous straight compare failed.
The equality check works because the proxy service caches proxies, and will always return the same wrapper.

This fixes a leak and a situation that led to some asserts in XPConnect on shutdown.  (Some listeners were proxy-wrapped JS objects.)

r=jband.


git-svn-id: svn://10.0.0.236/trunk@80765 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 23:45:59 +00:00
gordon%netscape.com
91f21b904c Fix bustage in optimized build for nsDnsService.cpp.
git-svn-id: svn://10.0.0.236/trunk@80763 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 23:41:19 +00:00
nelsonb%netscape.com
41fa542495 When an invalid option is encountered, print the usage message and exit.
Previously, it would simply silently stop parsing options and the program
would continue to run, leading to false successes in coverage tests.


git-svn-id: svn://10.0.0.236/trunk@80761 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 23:39:46 +00:00
racham%netscape.com
0224d7ef1b Fixing migration problems for japanese and european profiles. Used unicode persistent descriptor strings to get and set profile data. Removed all those prefs that had native characters in their values, from the list of profiles to be converted to utf8 format during migration. r=nhotta,alecf,sspitzer,ftang sr=alecf,ftang a=pdt
git-svn-id: svn://10.0.0.236/trunk@80760 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 23:27:28 +00:00
mkaply%us.ibm.com
3805c463f2 #53381
r=mkaply, a=blizzard
Much better fix for italic layout


git-svn-id: svn://10.0.0.236/trunk@80756 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 22:46:35 +00:00
waterson%netscape.com
105d20587c Ignore *.rgd
git-svn-id: svn://10.0.0.236/trunk@80755 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 22:25:30 +00:00
waterson%netscape.com
292bc09ec7 Add .cvsignore
git-svn-id: svn://10.0.0.236/trunk@80754 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 22:22:36 +00:00
waterson%netscape.com
599babad80 Bug 54005. Add regression test.
git-svn-id: svn://10.0.0.236/trunk@80753 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 22:22:00 +00:00
rogerl%netscape.com
0f281d3f25 Mods for getter/setter methods.
git-svn-id: svn://10.0.0.236/trunk@80752 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 22:21:26 +00:00
waterson%netscape.com
df2efa0f8e Bug 53627. Collapse threadpane attributes into the 'class' attribute to optimize for space and style rule lookup. r=scottip, a=ben
git-svn-id: svn://10.0.0.236/trunk@80751 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 22:20:10 +00:00
waterson%netscape.com
447bf672b1 Bug 54005. Test if frame CanContinueTextRun() before advancing to its sibling. r=karnaze, a=buster
git-svn-id: svn://10.0.0.236/trunk@80749 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 22:03:03 +00:00
gordon%netscape.com
fad8a9b8b8 Fix for bug 49990 "Networking fails after sleep/wake cycle" on Mac. rtm+, r=pinkerton, sr =sfraser. Added support for provide will/has closed OT events.
git-svn-id: svn://10.0.0.236/trunk@80748 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 21:59:49 +00:00
rogerl%netscape.com
94792a9d34 Bug #54408, r=mccabe, a=brendan. LiveConnect top-level property names
predefined readonly.


git-svn-id: svn://10.0.0.236/trunk@80747 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 21:39:22 +00:00
buster%netscape.com
59b79617a9 bug 29276 (text inside <label> tags within a table cell breaks out of table cell)
bug 1164 (ALIGN=MIDDLE and ALIGN=ABSMIDDLE values are not being supported)
bug 54119 (percentage (%) image (img) heights do nothing)
r=karnaze, rods, attinasi
a=waterson


git-svn-id: svn://10.0.0.236/trunk@80746 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 21:19:36 +00:00
waterson%netscape.com
b2130a8875 Bug 55100. Re-order vtable so that nsFrame::Destroy will find the size in the right spot. This is a band-aid fix. r=buster, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@80744 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 21:10:05 +00:00
dbragg%netscape.com
3c75a71e7a Fix for rtm++ bug 50625. Added #pragma optimization_level 1 in non-debug Mac builds. r=sfraser, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80743 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 21:03:47 +00:00
law%netscape.com
62b1de29bb rtm+ Bug 22411; r=radha@netscape.com; sr=brendan@mozilla.org; Handle various image files by converting relative URLs to absolute
git-svn-id: svn://10.0.0.236/trunk@80740 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 20:48:14 +00:00
waterson%netscape.com
9b0e6c9771 Bug 53627. Use nsAutoString to get around bug with nsPromiseFlatString; don't clobber positive result in IsVarInSet(). r=rjc, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@80739 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 20:28:04 +00:00
sspitzer%netscape.com
bc109ed5db fix for #2617. add an overlay to the commercial tree so that upon
finishing account creation, we call the FinishAccountHook().
in the commercial tree, this sets the "mail.is_a_franklin_user" pref
so that ab sync will work.  r=putterman, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@80738 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 20:18:31 +00:00
beard%netscape.com
5aef9dfb3c Added ClassManager.java.
git-svn-id: svn://10.0.0.236/trunk@80735 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 18:16:06 +00:00
beard%netscape.com
28f310212a Manages interactions with outer class loaders.
git-svn-id: svn://10.0.0.236/trunk@80734 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 17:43:51 +00:00
brade%netscape.com
c45dfef659 partial fix for setting checkmarks in Format submenus (based on selection); r=kin; sr=sfraser; submitted by cmanske; revised by brade; bug #54317
git-svn-id: svn://10.0.0.236/trunk@80729 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 14:55:04 +00:00
brendan%mozilla.org
63292a133f Remove not-found property caching (55624, r=shaver a=jband).
git-svn-id: svn://10.0.0.236/trunk@80727 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 14:38:21 +00:00
pierre%netscape.com
733562233a bug 47846: Crash opening mail message. r=attinasi+brendan, a=phil
git-svn-id: svn://10.0.0.236/trunk@80724 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 08:51:50 +00:00
pierre%netscape.com
02ddc14d64 bug 1046: letter-spacing should apply on space characters too. r=erik+buster, a=michaell.
git-svn-id: svn://10.0.0.236/trunk@80722 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 08:39:29 +00:00
rpotts%netscape.com
d4188aa054 bug #55703 (sr=buster). Stop leaking images in nsBulletFrame...
git-svn-id: svn://10.0.0.236/trunk@80720 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 06:23:37 +00:00
ben%netscape.com
32c358d5ed incremental ViXEN stuff, make vixen work with the latest contents.rdf suff and
ensure that it is packaged correctly. Forgot to note in my previous checkin that these files are NOT PART OF THE BUILD.


git-svn-id: svn://10.0.0.236/trunk@80719 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 05:16:59 +00:00
ben%netscape.com
11bfb018e0 incremental ViXEN stuff, make vixen work with the latest contents.rdf suff and
ensure that it is packaged correctly.


git-svn-id: svn://10.0.0.236/trunk@80718 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 05:16:07 +00:00
waterson%netscape.com
1e7a248bab Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
locka%iol.ie
ab54564219 Added missing webbrwsr.dll to browser package. b=54345, r=scc, a=scc
git-svn-id: svn://10.0.0.236/trunk@80716 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 20:04:02 +00:00
dougt%netscape.com
573d163e56 Fixes 64 bit address conversion in proxy. Also fixes proxing char parameters. p=jband, r=dougt, a=brendan. 52200, 26560.
git-svn-id: svn://10.0.0.236/trunk@80714 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 18:19:28 +00:00
sdv%sparc.spb.su
05eeb8f1be * NOT PART OF TBOX BUILD *
fixes crash when calling a method without return value


git-svn-id: svn://10.0.0.236/trunk@80713 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 12:29:59 +00:00
cls%seawood.org
a01e181349 Oops. Previous checkin was r=cls a=brendan bug=54528
git-svn-id: svn://10.0.0.236/trunk@80712 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 09:07:36 +00:00
cls%seawood.org
a5da03ccee Make sure to insert mathml @import directly after other imports and before other rulesets. Thanks to Brent Hendricks <brentmh@rice.edu> for the patch.
git-svn-id: svn://10.0.0.236/trunk@80711 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 09:05:56 +00:00
disttsc%bart.nl
24025d617e Make accel-h show up in Tasks > Tools -> History menuitem and make accel-h work everywhere. bug=52580, r=/a=ben
git-svn-id: svn://10.0.0.236/trunk@80710 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 06:32:49 +00:00
anthonyd%netscape.com
2cb8cf9499 fix for bug# 54253
Summary: D&D causes data loss
sr=kin
r=sfraser
a=kin


git-svn-id: svn://10.0.0.236/trunk@80708 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 06:29:05 +00:00
anthonyd%netscape.com
462d2a6e10 fix for bug#54222
The "noshade" attribute on Horizontal rule not set at all
sr=kin
r=mjudge
a=mjudge


git-svn-id: svn://10.0.0.236/trunk@80707 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 06:14:21 +00:00
disttsc%bart.nl
71c974b1b2 Fix accesskey underlining and mnemonic generation on dynamicly set value/accesskey
Fix minor ellipsis bugs
General clean-up of code and whitespace
bug=54710, r=evaughan, a=hyatt


git-svn-id: svn://10.0.0.236/trunk@80705 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 05:56:55 +00:00
disttsc%bart.nl
96efef22b3 Change some keysets which were using id "defaultKeySet" to "keyset", making overlaying on them easier. Also fix some whitespace issues. bug=53320, r=akkana, r=mscott, a=ben
git-svn-id: svn://10.0.0.236/trunk@80704 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 05:32:07 +00:00
disttsc%bart.nl
1286312fb9 Make Text Size menu not show on Macs. bug=52969, r=pinkerton, a=ben
git-svn-id: svn://10.0.0.236/trunk@80703 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 05:20:59 +00:00
blakeross%telocity.com
8be8c881dc Fix 42404, wording change for the URL bar in navigator. r=matt sr=ben
git-svn-id: svn://10.0.0.236/trunk@80702 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 05:17:43 +00:00
blakeross%telocity.com
a2622274cc Fix 51966, wording change for Sidebar. r=matt sr=ben
git-svn-id: svn://10.0.0.236/trunk@80701 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 05:15:58 +00:00
blakeross%telocity.com
735062d1e4 Fix 50730, wording change in the Tasks menu. r=matt sr=ben
git-svn-id: svn://10.0.0.236/trunk@80700 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 05:13:40 +00:00
dcone%netscape.com
51d834d7e8 bug = 50795 Use factory to create the nsRendering Context. r/sr=buster a=mcklusky r=erik [rtm++]
git-svn-id: svn://10.0.0.236/trunk@80699 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 03:31:14 +00:00
blakeross%telocity.com
babcd336eb Fix bug 52059, remove Print Preview from app menus until the feature is implemented and working. r=matt sr=ben, rtm+
git-svn-id: svn://10.0.0.236/trunk@80698 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-08 02:39:24 +00:00
rjc%netscape.com
49940cdc2c Fix RTM++ bug # 54320: copy "Search Plugins" folder into $DIST. r=warren sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@80692 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 21:43:20 +00:00
sspitzer%netscape.com
4897f0672a fix for bug #55193. get addressbook.css to package up in the classic jar. r=andreww, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@80691 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 20:28:31 +00:00
jst%netscape.com
31c350dcdf Removing old XIF tests (patch from akkana)
git-svn-id: svn://10.0.0.236/trunk@80688 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 12:28:41 +00:00
jst%netscape.com
981efdb53e Forgot these files in my last checkin.
git-svn-id: svn://10.0.0.236/trunk@80687 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 12:01:40 +00:00
jst%netscape.com
15202efd9f Forgot these files in my last checkin.
git-svn-id: svn://10.0.0.236/trunk@80686 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 11:56:09 +00:00
jst%netscape.com
d91b8d0358 Backing out makefile and project file changes.
git-svn-id: svn://10.0.0.236/trunk@80685 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 11:35:50 +00:00
jfrancis%netscape.com
335ccb3d98 noxif landing continued; see jst's prior checkin comments
git-svn-id: svn://10.0.0.236/trunk@80684 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 11:17:27 +00:00
jfrancis%netscape.com
1b86318438 noxif branch landing continued; see jst's prior checkin comments
git-svn-id: svn://10.0.0.236/trunk@80683 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 11:10:30 +00:00
jfrancis%netscape.com
0614f8da42 noxif branch landing: see jst's comments in prior checkin
git-svn-id: svn://10.0.0.236/trunk@80682 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 11:08:29 +00:00
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
dveditz%netscape.com
44e0ced51f Bug 48155 use relative resource: urls when registering chrome; r=sgehani, r/sr=scc, a=pdt [rtm++]
git-svn-id: svn://10.0.0.236/trunk@80680 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:30:46 +00:00
hewitt%netscape.com
fe3129d68b fixing corrupted gifs.
git-svn-id: svn://10.0.0.236/trunk@80677 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 09:30:21 +00:00
hewitt%netscape.com
138cad8078 fixing corrupted gifs. Same files I checked in yesterday. Let's hope the transfer goes through.
git-svn-id: svn://10.0.0.236/trunk@80676 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 09:23:44 +00:00
hewitt%netscape.com
3e2b4b0a29 fixing corrupted gifs.
git-svn-id: svn://10.0.0.236/trunk@80674 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 09:00:35 +00:00
hewitt%netscape.com
66b99b5aa5 try to fix corrupted gifs. Some were truncated in yesterday's checkin.
git-svn-id: svn://10.0.0.236/trunk@80672 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 08:54:35 +00:00
hewitt%netscape.com
dce5d6c4c9 on behalf of jglick, #54522 - mnemonics stuff, r=mcarlson, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80671 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 08:35:03 +00:00
hewitt%netscape.com
3895563da0 on behalf of jglick, #54933 - mnemonics stuff, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@80670 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 08:33:00 +00:00
hewitt%netscape.com
2c026b1a7b on behalf of jglick, #54543 - mnemonics stuff, r=scottip, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80669 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 08:31:47 +00:00
hewitt%netscape.com
f5d3af3e93 on behalf of jglick, #54543 - mnemonics stuff, r=scottip, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80668 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 08:25:05 +00:00
hewitt%netscape.com
47857ebedd on behalf of jglick, #54568 - mnemonics stuff, r=scottip, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80667 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 08:23:44 +00:00
jst%netscape.com
98fc340b03 New files, these used to be nsXIFFormatConverter, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@80666 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 06:58:49 +00:00
pollmann%netscape.com
b7892bccb1 Bug 16346: Implement overflow:hidden support from frames and iframes. Fix by peterlubczynski, r=pollmann, sr=buster
git-svn-id: svn://10.0.0.236/trunk@80657 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 05:37:27 +00:00
sspitzer%netscape.com
7afd2cc3c3 bulletproofing to prevent crash in #55273. r=putterman, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@80655 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 04:24:24 +00:00
sspitzer%netscape.com
7ec269c727 fix for bug #55193. get addressbook.css to package up in the classic jar.
r=andreww, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@80654 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 04:12:14 +00:00
mkaply%us.ibm.com
e0ab58bc99 OS/2 Tinderbox break
VisualAge needs a temporary here


git-svn-id: svn://10.0.0.236/trunk@80653 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 03:57:22 +00:00
mkaply%us.ibm.com
d59dbf4749 #53381
r=mkaply, a=blizzard
Code from jkobal to fix italic layout


git-svn-id: svn://10.0.0.236/trunk@80652 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 03:44:15 +00:00
mkaply%us.ibm.com
50e1de78bd #55105
r=mkaply, a=blizzard
Code from jkobal to fix our cursor drawing


git-svn-id: svn://10.0.0.236/trunk@80651 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 03:40:20 +00:00
jst%netscape.com
90294b9780 Fixing rtm++ bug 53317 that caused a crash in nsFrameImageLoader::NotifyFrames() due to references to pointers that are invalidated during a callback. Patch done by bienvenu@netscape.com. r=attinasi@netscape.com and me, sr@a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80649 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 03:12:50 +00:00
ssu%netscape.com
a20662cb89 fixing bug #54372 - installer creates C:\program files\Netscape\Netscape 6\install_wizard.log even if I point it to install somewhere else. sr=mscott, r=dveditz. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@80648 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 03:05:42 +00:00
law%netscape.com
64d7b53d3a Bug 53842; move mork to browser component from mail so that history window (i.e., global history) works
git-svn-id: svn://10.0.0.236/trunk@80647 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 03:05:17 +00:00
ssu%netscape.com
ef912d141f fixing bug #2778 - Win32 Nscp6 installer is misscalculating required space. sr=mscott, r=sgehani. affects only windows platforms. this file is not part of tinderbox builds.
git-svn-id: svn://10.0.0.236/trunk@80645 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:40:41 +00:00
ssu%netscape.com
ee1c2587de fixing bug #2778 - Win32 Nscp6 installer is misscalculating required space. sr=mscott, r=sgehani. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@80643 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:30:02 +00:00
saari%netscape.com
a3e7f84667 Fix for 53771, Mac only key event fix. r=sfraser, a=hyatt rtm++
git-svn-id: svn://10.0.0.236/trunk@80642 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:26:23 +00:00
law%netscape.com
69077d80b4 Bug 6119; r=radha@netscape.com; sr=waterson@netscape.com; Use nsIChannel::VALIDATE_NEVER when loading a page for view-source
git-svn-id: svn://10.0.0.236/trunk@80641 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:24:50 +00:00
nelsonb%netscape.com
f845bee819 With this change, SSL will not crash if the next lower layer's Recv
function returns more data than we asked for.  SSL will turn that event
into a PR_BUFFER_OVERFLOW_ERROR error.  iWS team asked for this.


git-svn-id: svn://10.0.0.236/trunk@80640 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:22:22 +00:00
matt%netscape.com
607e54aa13 bug 48465 adding code so that you can open a bookmarks panel
from mailnews.
r=ben
r=mcafee


git-svn-id: svn://10.0.0.236/trunk@80639 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:22:05 +00:00
nelsonb%netscape.com
f2d9c67c2f Fix a crash caused by using a null PRFileDesc * after PR_Open fails.
git-svn-id: svn://10.0.0.236/trunk@80638 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:16:03 +00:00
jst%netscape.com
66b122adb1 Fixing rtm++ bug 55587. nsAReadableString::FindChar() was returning the index from the offset to the character if found in stead of the index from the beginning of the string. r=kin, sr&a=scc
git-svn-id: svn://10.0.0.236/trunk@80637 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 01:53:56 +00:00
danm%netscape.com
6ff8657ebd update this test/sample so that it actually works with modern xul a=brendan
git-svn-id: svn://10.0.0.236/trunk@80636 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 01:39:16 +00:00
danm%netscape.com
716795a715 don't rebuild content if we're being closed. bug 53953 r=brendan,hyatt
git-svn-id: svn://10.0.0.236/trunk@80635 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 01:37:38 +00:00
varada%netscape.com
5565da80aa fix for bug 1552;helpmenu alteration;r=putterman;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80633 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 00:58:05 +00:00
wtc%netscape.com
74faefc902 Changed //helium/dist to //iridium/components (another way to get
access to /share/builds/components from NT at Netscape/iPlanet).


git-svn-id: svn://10.0.0.236/trunk@80630 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 00:56:20 +00:00
evaughan%netscape.com
987f86385b fix for bug #54049 (tree stability)
r=bryner, a=hyatt


git-svn-id: svn://10.0.0.236/trunk@80629 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 00:49:08 +00:00
law%netscape.com
9265f5cfb8 Bug 50656; r=matt@netscape.com; sr=ben@netscape.com; Don't let window.status override window.defaultStatus forever, and don't put auxilliary messages into overLink
git-svn-id: svn://10.0.0.236/trunk@80626 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 00:23:34 +00:00
blakeross%telocity.com
5747f33ac2 Fix bug 46645, pref about popping open the My Sidebar Search search when search results are available has no effect. r=rjc sr=scc, rtm+
git-svn-id: svn://10.0.0.236/trunk@80625 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 00:14:03 +00:00
pinkerton%netscape.com
d113bff73b Fixing COM refcounting problems by removing |mDataObject| from the drag target. Also removing the
cached drag session. r=pchen/a=hyatt. bug# 54803


git-svn-id: svn://10.0.0.236/trunk@80624 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 00:11:28 +00:00
disttsc%bart.nl
4440bdbb28 Add |.get()| to NS_ConvertUCS2toUTF8 to make getting rid of some MLKs easier, bug=54740, r=scc, a=waterson
git-svn-id: svn://10.0.0.236/trunk@80623 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 00:08:47 +00:00
blakeross%telocity.com
7e2d4db9b4 Fix bug 51151, "(D)" was being appended to a pref label (because the accesskey was a letter that the label didn't contain), fixed by just changing the accesskey. r=gemal sr=brendan
git-svn-id: svn://10.0.0.236/trunk@80622 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 23:56:45 +00:00
robinf%netscape.com
9efdd81f36 fixing bug 55180
git-svn-id: svn://10.0.0.236/trunk@80617 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 23:41:23 +00:00
pchen%netscape.com
7a1e5ff32b bugscape 2666, r=matt, sr=scc, set fallbackDefaultSearchURL to "http://search.netscape.com/" because navigator.js was overriding the old URL with this
git-svn-id: svn://10.0.0.236/trunk@80616 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 23:39:58 +00:00
pchen%netscape.com
321ea2847a bugscape 2666, r=matt, sr=scc, removed code to check to see if defaultSearchURL equals fallback URL, set fallback URL to hard coded value, should be functionally equivalent and we can internationalize the URLs
git-svn-id: svn://10.0.0.236/trunk@80615 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 23:39:55 +00:00
nelsonb%netscape.com
9f8a17787d In lib/smime, detect null pointers returned by various functions.
Christian Kaiser fixed the test script to pass the right directory name
to the test program.  The test script echoes all the cmsutil test
commands so that the error messages are associated with the proper one.
And cmsutil now puts its name on the front of its error messages.


git-svn-id: svn://10.0.0.236/trunk@80613 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 23:26:12 +00:00
robinf%netscape.com
62dc20e631 fixing bug 54076 - updating this screen to be Part Three
git-svn-id: svn://10.0.0.236/trunk@80612 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 23:25:29 +00:00
robinf%netscape.com
d905d75431 fixing bug 54076 this page no longer used in wizard
git-svn-id: svn://10.0.0.236/trunk@80611 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 23:18:19 +00:00
robinf%netscape.com
87340c26db fix for bug 54076
git-svn-id: svn://10.0.0.236/trunk@80610 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 23:15:32 +00:00
andreww%netscape.com
d5eec55664 bugzilla 55189 r=hewitt sr=hangas , splitter widget misaligned.
git-svn-id: svn://10.0.0.236/trunk@80605 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 23:00:23 +00:00
nhotta%netscape.com
d4ad841669 Moved "mailnews.start_page.url" from .js to .property, bug 55011, r=tao, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@80603 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 22:58:48 +00:00
ftang%netscape.com
b1d32feabe fix bug 54841. zero out the first 128 bits of the representatble
r=sr=erik


git-svn-id: svn://10.0.0.236/trunk@80601 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:54:38 +00:00
ftang%netscape.com
96fec9a4bd fix bug 54468. r=cata sr=erik. add boundary condiction and return
different result code for those cases.


git-svn-id: svn://10.0.0.236/trunk@80600 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:54:00 +00:00
nelsonb%netscape.com
c9723eb5f8 Call NSS_InitReadWrite instead of SECU_PKCS11Init, and check the result
for success.  Fixes a crash.  If it turns out that cmsutil doesn't need
to modifiy the cert and/or key DBs, then it should call NSS_Init, instead.


git-svn-id: svn://10.0.0.236/trunk@80599 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:45:01 +00:00
nelsonb%netscape.com
ae5c056a86 Call NSS_NoDB_Init instead of that broken old SECU_PKCS11Init.
Also, test to see that the init succeeded.


git-svn-id: svn://10.0.0.236/trunk@80598 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:40:52 +00:00
nelsonb%netscape.com
2992ba478c Fix a crash that occurs when NSS is initialized with NSS_NoDB_Init.
git-svn-id: svn://10.0.0.236/trunk@80597 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:38:57 +00:00
nelsonb%netscape.com
8cbcd9386e Implement new function NSS_InitReadWrite, which is just like NSS_Init
except that it opens the files read/write.  This is to replace the
broken SECU_ routines in nss/cmd/lib.


git-svn-id: svn://10.0.0.236/trunk@80596 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:37:25 +00:00
nboyd%atg.com
61afa72365 Add support for new Ant-based buildfile.
git-svn-id: svn://10.0.0.236/trunk@80582 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 16:26:17 +00:00
nboyd%atg.com
4ff3fec0c1 Remove reference that javadoc couldn't find
git-svn-id: svn://10.0.0.236/trunk@80581 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 16:25:36 +00:00
nboyd%atg.com
8da49fc983 Reformat code.
git-svn-id: svn://10.0.0.236/trunk@80580 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 16:25:14 +00:00
sdv%sparc.spb.su
80d06f079e * NOT PART OF TBOX BUILD *
fix for bug=55353


git-svn-id: svn://10.0.0.236/trunk@80579 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 15:04:05 +00:00
gayatrib%netscape.com
78108b6591 Fix for bug 43321. File|New|Folder should default to current account if applicable, otherwise to the default account. r=putterman,sr=alecf
git-svn-id: svn://10.0.0.236/trunk@80578 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 14:31:00 +00:00
sdv%sparc.spb.su
ef560b1a33 * NOT PART OF TBOX BUILD *
fix for bug=55480


git-svn-id: svn://10.0.0.236/trunk@80576 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 14:17:53 +00:00
brade%netscape.com
039997e232 move over changes from Netscape branch to trunk; string changes for localization; submitted by briano9@yahoo.com and dan6992@yahoo.com
git-svn-id: svn://10.0.0.236/trunk@80573 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 12:01:23 +00:00
brade%netscape.com
f5c32822c4 moving over checkin from Netscape branch to trunk (strings added for image map editor) Submitted by briano9@yahoo.com and dan6992@yahoo.com.
git-svn-id: svn://10.0.0.236/trunk@80572 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 11:59:01 +00:00
Peter.VanderBeken%pandora.be
e90b0df8bc Add back incorrectly removed #ifdef. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@80568 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 08:59:46 +00:00
Peter.VanderBeken%pandora.be
37f6022ea9 Move getNameSpaceURI before html hack. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@80567 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 08:45:01 +00:00
idk%eng.sun.com
9cd4f9d962 * NOT PART OF TBOX BUILD *
java uses general syntax for return values.
   (idl: void test0([retval] out long l); will be
    java: long test0(); intead of
    java   void test0(long[] l);
   )
author=sdv@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@80566 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 08:19:53 +00:00
sgehani%netscape.com
85c42f0bbc Make linux installer display intl charsets.
b=43057
r=ssu
a=syd,blizzard


git-svn-id: svn://10.0.0.236/trunk@80560 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 05:23:22 +00:00
sgehani%netscape.com
94dbca7699 Remove blue.jar from mac and linux installer packaging manifests.
b=54706
r=ssu
a=mscott


git-svn-id: svn://10.0.0.236/trunk@80559 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 05:19:09 +00:00
wtc%netscape.com
4ce2653e0e Bugzilla bug #54195: extended the 'uc' array to 256 elements because
it may be indexed by an 8-bit character.  Thanks to Naoki Hotta
<nhotta@netscape.com> for the fix.


git-svn-id: svn://10.0.0.236/trunk@80556 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 04:28:07 +00:00
ducarroz%netscape.com
1702f63956 Fix for bug 54774 & bug 54997. After deleting a row, we must resync the id's of them. Also, do not delete rows on autorepeat. R=varada, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@80554 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 03:59:59 +00:00
nhotta%netscape.com
5cea0d300b Added getDefaultLocalizedUnicharPref, bug 55011, r=tao, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@80553 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 03:49:15 +00:00
nhotta%netscape.com
ef086d5281 Change for multipart/mixed, use only a charset of the first attachment, r=sr=mscott, bug 54051.
git-svn-id: svn://10.0.0.236/trunk@80551 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 03:29:34 +00:00
ben%netscape.com
35a74edef8 fix for 49908, fix wording for Classic-Win and Classic-Mac. New text from
vera, r=tpringle@netscape.com, a=myself


git-svn-id: svn://10.0.0.236/trunk@80550 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 03:00:28 +00:00
vishy%netscape.com
16d8d879d8 sr=mscott, bugscape=2429, Shrimp crashes when closing some windows.
Solution is to release mPluginHost only if non-null.


git-svn-id: svn://10.0.0.236/trunk@80549 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 02:45:53 +00:00
ssu%netscape.com
0ab8b1f63c fixing bug #54067 - Clean up purify errors in Xpinstall engine. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80548 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 02:40:13 +00:00
rhp%netscape.com
ec750f6a4e Fix for permission problem on temp files - SECURITY - r: jefft
git-svn-id: svn://10.0.0.236/trunk@80547 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 01:41:22 +00:00
sfraser%netscape.com
e26ca340d3 Fix for 55080 -- missing return value. r=brade, sr=saari.
git-svn-id: svn://10.0.0.236/trunk@80546 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 01:17:22 +00:00
ben%netscape.com
872cbc085c addendum to 54574. a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80542 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 01:07:48 +00:00
karnaze%netscape.com
ed7846789e bug 53891 - strategy correctly calculates preferred width of a fixed width table. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80541 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 01:04:13 +00:00
mscott%netscape.com
48b31abe99 Bug #54009 --> fix crash when literal is null. This can happen because of
some bad debugging code that was left in mimetypes.rdf for pdf back in beta2
for now, return an error. This will make use ignore this entry in the data source
when performing mime lookups....which is good 'cause that will have a side
effect of making application/pdf content work again.
r=sspitzer, a=alecf


git-svn-id: svn://10.0.0.236/trunk@80540 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 00:58:05 +00:00
pinkerton%netscape.com
66397df03c turn off watch cursor before going into native code. make the cursor not turn on when library loads so embedding clients don't get screwed. r=pchen/a=hyatt, bug# 53121.
git-svn-id: svn://10.0.0.236/trunk@80539 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 00:57:40 +00:00
danm%netscape.com
6e5d856630 reverted line in SetVisibleByFlag; an odd casualty of the brace and indentation uglification that comprised most of rev 1.6. bug 54235 r=jst,waterson
git-svn-id: svn://10.0.0.236/trunk@80534 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 00:47:36 +00:00
ben%netscape.com
ad3210c6bb Fix for rtm++ 54574, fixing broken back and forward button feedback behaviour to work with either implementation of :hover, and repair
stretched icons. r=blakeross@telocity.com, a=hyatt


git-svn-id: svn://10.0.0.236/trunk@80530 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 00:27:27 +00:00
danm%netscape.com
96aa925b06 don't set status in SetNewDocument if window is partially destroyed. bug 49615 r=jst,waterson
git-svn-id: svn://10.0.0.236/trunk@80529 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 00:26:18 +00:00
karnaze%netscape.com
6d620a422b bug 49490 - turn off collapsing borders, rules. Fix reflow state to not account for vertical borders or padding on rows. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80527 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 23:49:25 +00:00
danm%netscape.com
da8244bfdb fix horrible url loading regression introduced by previous revision. r=hyatt. bugs 44437,55275
git-svn-id: svn://10.0.0.236/trunk@80521 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 23:30:56 +00:00
larryh%netscape.com
842df40d2d Bugzilla: 55268. BeOS
git-svn-id: svn://10.0.0.236/trunk@80519 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 23:15:45 +00:00
nelsonb%netscape.com
8ff433f882 The SSL client cache timeout values for SSL2 and SSL3 were reversed.
This caused all SSL3 sessions to timeout after 100 seconds. Bug 55231.


git-svn-id: svn://10.0.0.236/trunk@80517 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 23:10:14 +00:00
dbragg%netscape.com
842fff67f4 fix for rtm++ bug 52181. r=sspitzer sr=mscott. Removed return upon unsuccessful migration. Now it drops through and deletes the progress window as it should.
git-svn-id: svn://10.0.0.236/trunk@80509 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 22:36:27 +00:00
hewitt%netscape.com
7ad42387b4 #51645 - theme preview images for all platforms, r=law, a=ben
git-svn-id: svn://10.0.0.236/trunk@80506 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 22:32:48 +00:00
mccabe%netscape.com
a786236b08 Fix to 38820. Set white-space: normal for .treecell-error in JS Console css files for various themes.
This is needed because these files use css files that set the attribute to nowrap - which makes the JS console unusable on small screens.

Original patch courtesy Eric Hodel <drbrain@segment7.net>, with changes for our many themes contributed by Decklin Foster <fosterd@hartwick.edu>.

r=mccabe@netscape.com
r=hangas@netscape.com
a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@80503 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 22:29:41 +00:00
hewitt%netscape.com
5f6b096c6a #51645 - theme preview images for all platforms, r=law, a=ben
git-svn-id: svn://10.0.0.236/trunk@80495 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 22:11:32 +00:00
mkaply%us.ibm.com
56fd9ade34 #52455
r=pedemonte, jkobal, a=blizzard
Woohoo! We found the random memory overwrite that was breaking fonts.


git-svn-id: svn://10.0.0.236/trunk@80492 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 22:10:23 +00:00
mccabe%netscape.com
555583f56a Fix to 55117. Warn on DEBUG of any GC roots remaining at engine shutdown.
r=rogerl@netscape.com
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@80489 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:55:38 +00:00
hewitt%netscape.com
e734c054c1 #54703, #54105 - new files and stuff, r=andreww, a=ben
git-svn-id: svn://10.0.0.236/trunk@80488 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:50:06 +00:00
hewitt%netscape.com
38b4b2faf0 #54105 - [Modern] focus issues, r=andreww, a=ben
git-svn-id: svn://10.0.0.236/trunk@80487 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:48:30 +00:00
hewitt%netscape.com
f560109dc1 #54751 - [Modern] main window cleanup, r=andreww, a=ben
git-svn-id: svn://10.0.0.236/trunk@80486 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:44:48 +00:00
hewitt%netscape.com
c6c923c54e #54751 - [Classic] main window cleanup, r=andreww, a=ben
git-svn-id: svn://10.0.0.236/trunk@80485 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:43:13 +00:00
heikki%netscape.com
93c8ede43a Bug 51211. Image load event caused havoc in chrome, stop the event from getting into chrome. r=vidur, a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@80484 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:40:13 +00:00
hewitt%netscape.com
766d4fd39a #54753 - dialog cleanup issues, r=andreww, a=ben
git-svn-id: svn://10.0.0.236/trunk@80483 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:36:01 +00:00
hewitt%netscape.com
d4fcee798c #54753 - [Classic] dialog cleanup issues, r=andreww, a=ben
git-svn-id: svn://10.0.0.236/trunk@80482 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:35:25 +00:00
hewitt%netscape.com
de78f7f0da #54753 - [Modern] dialog cleanup issues, r=andreww, a=ben
git-svn-id: svn://10.0.0.236/trunk@80481 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:34:55 +00:00
hewitt%netscape.com
c530118638 #54754 - [Modern] border for sidebar tabs, r=andreww, a=ben
git-svn-id: svn://10.0.0.236/trunk@80480 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:33:06 +00:00
hewitt%netscape.com
c5bbdf03d0 #54105 - [Modern] focus/widget cleanup, r=andreww, a=ben
git-svn-id: svn://10.0.0.236/trunk@80479 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:31:43 +00:00
bryner%uiuc.edu
0daa896a94 bug 54789 - linux crash on Save All Attachments. r=jag,pavlov. sr/a=ben.
git-svn-id: svn://10.0.0.236/trunk@80478 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:26:24 +00:00
hewitt%netscape.com
e0b13184c7 #54073 - [Modern] splitter, grippy, toolbar polish, r=andreww, a=ben
git-svn-id: svn://10.0.0.236/trunk@80477 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:25:13 +00:00
alecf%netscape.com
26209617ab fix for #35803 r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80476 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:23:45 +00:00
alecf%netscape.com
09f36781f0 fix for #54367 - speed up the focusring stuff more by optimizing loops, etc.
r=putterman, andreww sr=mscott


git-svn-id: svn://10.0.0.236/trunk@80474 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:17:22 +00:00
karnaze%netscape.com
a3eba992f1 bug 55192 - use the strategy of the first in flow when (incorrectly) getting an incremental reflow during printing. a=buster, r=peterl
git-svn-id: svn://10.0.0.236/trunk@80473 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:07:00 +00:00
hewitt%netscape.com
d6d3118e1a #54073 - splitter, grippy, toolbar polish, r=andreww, a=ben
git-svn-id: svn://10.0.0.236/trunk@80472 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:06:46 +00:00
karnaze%netscape.com
cbfbe360c4 bug 51392 - use nothing changed flag when deciding whether to rebalance table during row incremental reflow. a=buster, r=peterl
git-svn-id: svn://10.0.0.236/trunk@80471 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:05:06 +00:00
karnaze%netscape.com
2492434d68 bug 19961 - in standard mode, honor fixed cols and give remaining space to auto cols if there are any. a=buster, r=dcone
git-svn-id: svn://10.0.0.236/trunk@80470 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 21:01:10 +00:00
karnaze%netscape.com
dbb78110d2 bug 54829 - process child frames with table specific code when repeating a row group for printing, a=buster, r=peterl
git-svn-id: svn://10.0.0.236/trunk@80469 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 20:59:18 +00:00
edburns%acm.org
5cdd889a57 bug=55109
r=rogerl
a=brendan
This fix makes it so the hard coded shared object name for the liveconnect
shared object on unix matches what is actually built by the build system.


git-svn-id: svn://10.0.0.236/trunk@80468 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 20:57:37 +00:00
mkaply%us.ibm.com
b3f22eb626 #55327
r=mkaply, a=blizzard
OS/2 only code - bring nsLocalFileOS2 to current level


git-svn-id: svn://10.0.0.236/trunk@80467 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 20:44:11 +00:00
harishd%netscape.com
664ab05c31 53489 - FMR fix ( r=jst, a=vidur ).
54448 - Allow param to be a kid of BODY for compatibility ( r=jst, a=vidur ).
53935 - Failed to reinitialize a variable "theIndex" that provoked a crash ( r=jst, a=buster)
53695 - Keep a reference to the first misplaced token for later use ( r=jst, a=buster ).


git-svn-id: svn://10.0.0.236/trunk@80464 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 20:10:28 +00:00
leif%netscape.com
42bc8d3f40 Merged in changes from v1.4.1.
git-svn-id: svn://10.0.0.236/trunk@80458 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 19:47:47 +00:00
kin%netscape.com
802e1193e0 Fix for bug #50570 ([MLK] Leaking PRUnichar buffer in nsHTMLEditor::InsertFromTransferable())
Added calls to nsMemory::Free() to free text in PasteAsPlainTextQuotation() and InsertFromTransferable().
r=brade@netscape.com sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@80457 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 19:38:46 +00:00
leif%netscape.com
72abe78b41 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@80456 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 18:51:45 +00:00
brade%netscape.com
b1685e2a90 Remove disabled attribute rather than setting to false; moving fix from branch to trunk.
git-svn-id: svn://10.0.0.236/trunk@80450 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 15:02:26 +00:00
brade%netscape.com
f005be6415 moving over fix from branch to trunk
git-svn-id: svn://10.0.0.236/trunk@80449 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 15:01:23 +00:00
sdv%sparc.spb.su
2f2d5e0d4b part of xipidl compiler to generate java interfaces
git-svn-id: svn://10.0.0.236/trunk@80448 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 14:54:47 +00:00
mkaply%us.ibm.com
3cf88238cf #55274
r=mkaply, a=blizzard
Code from jkobal - we were marching up owner instead of parent chain


git-svn-id: svn://10.0.0.236/trunk@80445 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 14:47:22 +00:00
mkaply%us.ibm.com
1c0b4bb6e9 OS/2 Tinderbox break
More XP_PC stuff


git-svn-id: svn://10.0.0.236/trunk@80443 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 13:18:17 +00:00
rhp%netscape.com
28788162d1 Fix for crashing when cancelling print requests - Bug #54417
git-svn-id: svn://10.0.0.236/trunk@80442 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 13:00:08 +00:00
colin%theblakes.com
48c58d875f r=dougt, sr=blizzard, bugzilla=55163
OpenVMS-specific change to handle HOME
correctly. Fixes location of appreg bug.


git-svn-id: svn://10.0.0.236/trunk@80441 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 10:12:15 +00:00
edburns%acm.org
564f839ce8 bug=
a=brendan
r=av

This bug fix makes it so nsPluginHostImp::FindProxyForURL()
honors ProxyAutoConfig settings.

It also cleans things up per Brendan.


git-svn-id: svn://10.0.0.236/trunk@80439 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 07:58:51 +00:00
hyatt%netscape.com
c13defe82d Fix win32 build bustage, r=scc
git-svn-id: svn://10.0.0.236/trunk@80437 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 07:48:20 +00:00
scc%mozilla.org
2a523643d1 and trying to fix OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@80436 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 07:24:51 +00:00
blizzard%redhat.com
b0cda875a9 fixing bugs 54351 and 54013. this should get the embedding widget working again after the jar landing. it also fixes streaming ( patch from ramiro. ). mini-nav.xul should work again too as a side effect.
git-svn-id: svn://10.0.0.236/trunk@80432 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 05:39:37 +00:00
bryner%uiuc.edu
73353be463 Bug 54798 - Don't append "(Not Downloaded)" to saved filenames when using Save All Attachments. r=jefft, sr/a=mscott.
git-svn-id: svn://10.0.0.236/trunk@80431 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 05:07:47 +00:00
quy%igelaus.com.au
520726f77d Updating xlib toolkit. r=a=blizzard. Not part of build. Bug # 54132
git-svn-id: svn://10.0.0.236/trunk@80429 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:35:18 +00:00
wtc%netscape.com
4b0d98c6e3 Bugzilla bug #55267: checked in a workaround for a tight spin in
PK11_GetSlotList on 64-bit HP-UX.


git-svn-id: svn://10.0.0.236/trunk@80428 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:24:04 +00:00
jband%netscape.com
db1c83ebf1 fix bug 55139. fix broken JSObject parenting of wrapped natives for JS components. r=shaver@mozilla.org a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@80427 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:15:43 +00:00
nelsonb%netscape.com
0347ee2d5b Prefix all selfserv's output messages with "selfserv: " so we can tell
client messages apart from server messages when the two are mixed.
When the verbose option is enabled, print out the session reuse stats
right after the first PR_Read completes, so we don't miss any.


git-svn-id: svn://10.0.0.236/trunk@80426 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:14:44 +00:00
jband%netscape.com
10181595d5 part of bug 55139. Add debug only diagnostic code for dump JSObjects. r=shaver@mozilla.org a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@80425 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:13:53 +00:00
jband%netscape.com
127d0b4529 fix bug 55151. This fixes a trunk only regression caused by me in a previous checkin. I missed that an 'if' block contained both a report of an error (that we might want to skip) and also a few lines of necessary error handling code. r=mccabe@netscape.com a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@80424 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:13:48 +00:00
wtc%netscape.com
99d3a2863d Bugzilla bug #54711: implemented the moz_import rule for OS/2.
git-svn-id: svn://10.0.0.236/trunk@80423 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:12:30 +00:00
nelsonb%netscape.com
ceda033fc8 3 Changes:
- Test SSL2 (not SSL3) when only SSL2 ciphers have been chosen.
- Use a different metric for determining when multiple full handshakes
have been done with SSL2.  (Can't use SSL3's counters for that purpose.)
- When PR_Connect returns a "connection reset by peer" error, silently
retry the operation with a new socket.


git-svn-id: svn://10.0.0.236/trunk@80422 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:11:31 +00:00
sfraser%netscape.com
e5cba10760 Fix for bug 55140, r=brade, sr=ftang. Fix a stale pointer bug in unicode font mapping routines, by not using a global (which got stale), but using an inline getter instead.
git-svn-id: svn://10.0.0.236/trunk@80421 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:06:53 +00:00
nelsonb%netscape.com
430efa5c96 Change the client options so that we actually test SSL2 when we say
we're testing SSL2, and test SSL3 when we say we're testing SSL3.


git-svn-id: svn://10.0.0.236/trunk@80420 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:05:32 +00:00
nelsonb%netscape.com
4b7bd4b303 Make the "nocerts" option for this script work properly.
Also, add a new "verbose" option to this script.


git-svn-id: svn://10.0.0.236/trunk@80419 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:04:37 +00:00
nelsonb%netscape.com
42d9cfbecb If $HOME or $DOMSUF is undefined, put out an error message and stop,
instead of going on and producing complicated and meaningless results.


git-svn-id: svn://10.0.0.236/trunk@80418 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 04:03:53 +00:00
putterman%netscape.com
93ab79c35a Fix for 54545. r=chuang, sr=mscott. Collected address book can now be turned off through prefs.
git-svn-id: svn://10.0.0.236/trunk@80417 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 03:52:38 +00:00
vishy%netscape.com
ef927d7251 sr=mscott,r=vishy (this is racham's code), bugzilla=48981
for standalone app, the profile data has to go in the windows
app data directory - not where the app is running


git-svn-id: svn://10.0.0.236/trunk@80415 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 03:34:18 +00:00
scc%mozilla.org
e32cf73b72 and a access error ... r=waterson on this fix
git-svn-id: svn://10.0.0.236/trunk@80413 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 03:28:41 +00:00
danm%netscape.com
a4ec95a92c add null check in Destroy. bug 53827. code=jefft r=me,shaver
git-svn-id: svn://10.0.0.236/trunk@80411 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 02:50:53 +00:00
mcgreer%netscape.com
3ccc35cfbf HPUX 64-bit also failed.
git-svn-id: svn://10.0.0.236/trunk@80410 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 02:47:43 +00:00
mcgreer%netscape.com
187b6f59de checked in wrong fix.
git-svn-id: svn://10.0.0.236/trunk@80409 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 02:41:09 +00:00
quy%igelaus.com.au
2daa9389f9 Updating xlib toolkit. r=a=blizzard. Not part of build. Bug # 54132
git-svn-id: svn://10.0.0.236/trunk@80408 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 02:01:33 +00:00
scc%mozilla.org
987356386c damn typo
git-svn-id: svn://10.0.0.236/trunk@80406 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:51:52 +00:00
quy%igelaus.com.au
1c2da7e99c Updating xlib toolkit. r=a=blizzard. Not part of build. Bug # 54132
git-svn-id: svn://10.0.0.236/trunk@80405 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:51:38 +00:00
mcgreer%netscape.com
20f38c11e2 fix for bug #55190. Some 64-bit platforms will not return an alloc'ed pointer from an undeclared function.
git-svn-id: svn://10.0.0.236/trunk@80404 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:39:35 +00:00
ssu%netscape.com
9020a09ddc fixing bug # 54063 - cleaning up purify errors in win32 installer. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@80403 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:38:33 +00:00
mcgreer%netscape.com
bf062edef7 workaround for bug #55234. optimized arcfour is not working on solaris 64-bit.
git-svn-id: svn://10.0.0.236/trunk@80402 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:33:54 +00:00
scc%mozilla.org
c06e84b625 bug #54601: r=waterson, a=brendan. Fix string allocation policy -- allocate exact size, double on fault ... thanks to everybody who helped me test this patch.
git-svn-id: svn://10.0.0.236/trunk@80401 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:22:00 +00:00
bryner%uiuc.edu
f8b1f2158d bug 54306 - fix extending the current selection using shift-click. sr/a=hyatt.
git-svn-id: svn://10.0.0.236/trunk@80400 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:13:56 +00:00
leif%netscape.com
d1824b1e6f Removed.
git-svn-id: svn://10.0.0.236/trunk@80398 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:08:34 +00:00
scc%mozilla.org
0c546d8367 fixed comments (so people are aware of the allocation policy)
git-svn-id: svn://10.0.0.236/trunk@80397 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:07:40 +00:00
scc%mozilla.org
fbd0ea0893 bug #54712, r=rjc, a=waterson. Added a |Distance| function to calculate the span between two iterators, then added a constructor and appropriate global function to allow |Substring|s to be made from iterators in addition to the old scheme of {index,length}
git-svn-id: svn://10.0.0.236/trunk@80396 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:07:02 +00:00
bienvenu%netscape.com
7b16b1bb6c apply patch to fix deref of null ic pointer from b3 branch r=pnunn
git-svn-id: svn://10.0.0.236/trunk@80395 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:06:29 +00:00
bienvenu%netscape.com
63960bcc62 fix 54854 crash in nsImapMailFolder::NormalEndHeaderParseStream r=mscott
git-svn-id: svn://10.0.0.236/trunk@80393 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 00:50:38 +00:00
bienvenu%netscape.com
480b013d85 fix crash in folder cache upon startup 55184 r=alecf
git-svn-id: svn://10.0.0.236/trunk@80392 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 00:45:55 +00:00
brendan%mozilla.org
8047b77647 Fix old bug that stored iter_state even after OBJ_ENUMERATE error (55201, r=rogerl, a=jband).
git-svn-id: svn://10.0.0.236/trunk@80391 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 00:43:17 +00:00
sfraser%netscape.com
e5fa9e9cd2 Fix for 53742 -- Open Location dialog, opened from Compser, should have titlebar. r=brade, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@80388 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 00:34:07 +00:00
timeless%mac.com
8723d5f1b8 fix bug 55157 r=cls, R=scc
remove old rhapsody reference to cmd/ybfe


git-svn-id: svn://10.0.0.236/trunk@80387 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 00:32:20 +00:00
quy%igelaus.com.au
557faac8b4 Updating xlib toolkit. r=a=blizzard. Not part of build. Bug # 54132
git-svn-id: svn://10.0.0.236/trunk@80386 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 00:29:55 +00:00
morse%netscape.com
3fe05e5914 bug 2544, image blocking not working, r=dveditz,hyatt, a=morse
git-svn-id: svn://10.0.0.236/trunk@80385 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 00:28:45 +00:00
quy%igelaus.com.au
402f9c1103 Updating xlib toolkit. r=a=blizzard. Not part of build. Bug # 54132
git-svn-id: svn://10.0.0.236/trunk@80384 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 00:10:19 +00:00
quy%igelaus.com.au
7f18f28391 Updating xlib toolkit. r=a=blizzard. Not part of build. Bug # <A HREF="http://bugzilla.mozilla.org/show_bug.cgi?id=54132">54132</A>
git-svn-id: svn://10.0.0.236/trunk@80383 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 00:04:54 +00:00
rjc%netscape.com
921f28decd Secon attempt to fix RTM++ bug # 54626: ftp dir resolution. r=waterson sr=gagan
git-svn-id: svn://10.0.0.236/trunk@80381 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 22:58:54 +00:00
axel%pike.org
c61e99bd4e Adding magic for creating transformiix xpi's on unix. Depends on patch at 22062, not part of build
git-svn-id: svn://10.0.0.236/trunk@80380 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 22:47:01 +00:00
axel%pike.org
bd972e3a35 fix for 51656, patch by jjs@acis.com.au (Jus), r=me,pvb, attributes in html output, not part of build
git-svn-id: svn://10.0.0.236/trunk@80379 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 22:43:59 +00:00
attinasi%netscape.com
bb6e726aa3 Fixed CSS cursor inheritance bug. b=51113, r=pierre@netscape.com, a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80378 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 22:25:15 +00:00
attinasi%netscape.com
b7188b65d1 Fixed null content causing assertion in ReResolveStyleContext. b=54454 r=karnaze@netscape.com, a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80377 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 22:22:46 +00:00
erik%netscape.com
52d0c37670 bug 54507; r=ftang; a=buster; complete the charset -> lang group table to
get the right fonts in layout (and to solve the assertion problem)


git-svn-id: svn://10.0.0.236/trunk@80374 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 22:10:13 +00:00
dbragg%netscape.com
811af5cc32 Fixfor rtm++ bug 54529. Calling window.focus() in Onload handler. r=sspitzer, brendan, a=brendan
git-svn-id: svn://10.0.0.236/trunk@80373 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 22:03:45 +00:00
chuang%netscape.com
a74ef366f5 bug52368 Deleted entries in PAB shows up in mailing list. r=putterman,sr=alecf
git-svn-id: svn://10.0.0.236/trunk@80368 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 20:36:46 +00:00
rjc%netscape.com
6e23f6c528 Fix RTM++ bug # 52789: history window sorting on URL fix. r=waterson sr=scc
git-svn-id: svn://10.0.0.236/trunk@80367 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 20:31:49 +00:00
mkaply%us.ibm.com
9fb5b6c7d5 #26962
r=nhotta, a=blizzard
OS/2 specific fixes to OS/2 locale support


git-svn-id: svn://10.0.0.236/trunk@80365 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 20:13:05 +00:00
mkaply%us.ibm.com
85276ea05b #26962
r=nhotta, a=brendan
Change ToNewUnicode to GetUnicode to avoid memory allocations
OS/2 specific fixes to OS/2 locale support


git-svn-id: svn://10.0.0.236/trunk@80364 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 20:11:55 +00:00
despotdaemon%netscape.com
5b574177bb Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@80361 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 19:58:49 +00:00
dougt%netscape.com
1fd4c83fd2 Replaces check for processingEvents. r=danm, darin a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80358 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 19:47:12 +00:00
disttsc%bart.nl
56d6e2c6b3 Found one more 'rdf:' to removei (incorrect namespace use). bug=53297, r=rginda, a=waterson
git-svn-id: svn://10.0.0.236/trunk@80357 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 19:28:26 +00:00
robinf%netscape.com
2378dbaad3 fix for bug 2740
git-svn-id: svn://10.0.0.236/trunk@80354 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 18:13:43 +00:00
rods%netscape.com
53b232809c decided it made sense to rename the arg from aName to aId to be less confusing.
Consider this part of my last checkin for Bug 54136.


git-svn-id: svn://10.0.0.236/trunk@80353 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 14:11:19 +00:00
rods%netscape.com
f188eb5e28 Renaming MatchName to MatchId and now it only compares against the element's id and also the name
Bug 54136, r=jst, a=buster


git-svn-id: svn://10.0.0.236/trunk@80351 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 14:04:15 +00:00
rods%netscape.com
17abdbdfb2 Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster


git-svn-id: svn://10.0.0.236/trunk@80349 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 13:39:07 +00:00
kin%netscape.com
45576ad361 Fix for bug #54731 (Spellchecker stops working after you close the Edit Personal Dictionary dialog)
Removed call to editorShell.UninitSpellChecker() inside Close().
This fix is already checked into the Netscape_20000922_BRANCH.
sr,a=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@80348 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 13:38:41 +00:00
kin%netscape.com
3c3f4d4d38 Fix for bug #53326 (can't select paragraph headers)
Modified HandlePress() to check for presence of
href value for anchors before bailing early.
This fix is already checked into the Netscape_20000922_BRANCH.
r=pinkerton@netscape.com sr,a=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@80347 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 13:38:17 +00:00
mscott%netscape.com
4f76352803 Bug #51018, 44176, 47203 implement load group retargeting and stand alone progress window
after we show the helper app dialog. So progress and load information is
now retargeted to a stand alone window instead of re-using the underlying
 browser / mail window...In order to do this, the external app handler needed to implement nsIURIContentListener.
sr=r=rpotts


git-svn-id: svn://10.0.0.236/trunk@80335 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 06:54:47 +00:00
mscott%netscape.com
e0e55dc33f Bug #47203 --> force more code to use the helper app dialog.
sr=alecf,rpotts


git-svn-id: svn://10.0.0.236/trunk@80334 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 06:53:52 +00:00
mscott%netscape.com
1329dc9e32 Bug #44176 --> support a ShowProgress method to launch a standalone
progress dialog.
r=law, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@80333 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 06:53:08 +00:00
mscott%netscape.com
2214ae3255 Bug #44176 --> support a ShowProgress method to launch a standalone
progress dialog. most of this dialog was ripped from downloadProgress.js/.xul. after RTM,
we are going to properly merge the two files togther. This version implements
nsIWebProgressListener...
r=law, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@80332 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 06:52:28 +00:00
mscott%netscape.com
d96d9f48c9 Bug #44176 --> support a ShowProgress method to launch a standalone
progress dialog. most of this dialog was ripped from downloadProgress.js/.xul. after RTM,
we are going to properly merge the two files togther. This version implements
nsIWebProgressListener...
r=law, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@80331 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 06:51:57 +00:00
timeless%mac.com
abb460a48a fix bug 46683 r=ben a=syd
git-svn-id: svn://10.0.0.236/trunk@80330 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 06:35:09 +00:00
ducarroz%netscape.com
58fb3b0d7d Fix for bug 54326. Import the right css file. R=sspitzer, SR=ben
git-svn-id: svn://10.0.0.236/trunk@80328 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 05:59:51 +00:00
ducarroz%netscape.com
ee0271310a Fix for bug 54396. Do not auto complete in the text field while deleting characters.r=Bienvenu & sspitzer, SR=alecf
git-svn-id: svn://10.0.0.236/trunk@80327 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 05:22:04 +00:00
ducarroz%netscape.com
67c27c01c9 Fix for bug 54562. Remove dot in save as file menu name. R=sspitzer, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@80322 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 04:54:20 +00:00
ben%netscape.com
8e9ba165dd fix for rtm++ 49908, fix text descriptions for classic skin. text from vera, r=don, a=myself.
git-svn-id: svn://10.0.0.236/trunk@80320 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 04:53:14 +00:00
ducarroz%netscape.com
ab2136972e Fix for bug 54604. In case of template or draft, mdd->url_name != mdd->options->url. R=sspitzer, SR=alecf
git-svn-id: svn://10.0.0.236/trunk@80318 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 04:51:11 +00:00
ducarroz%netscape.com
f034f831c9 Fix for bug 54026: We need to always parse the message to extract the headers during a reply even if the pref auto_quote is turn off. R=rhp, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@80316 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 04:46:18 +00:00
ducarroz%netscape.com
4ce6b9d525 Fix for bug 54501: Need to decode mime headers before using them. R=nhotta, SR=mscott
Fix for bug 54026: We need to always parse the message to extract the headers during a reply even if the pref auto_quote is turn off. R=rhp, SR=mscott


git-svn-id: svn://10.0.0.236/trunk@80315 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 04:43:36 +00:00
rjc%netscape.com
a98b6a36e6 Backing out previous checkin while I investigate orange.
git-svn-id: svn://10.0.0.236/trunk@80312 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 04:28:57 +00:00
buster%netscape.com
68cc97ceff bug 54980
bug 50480 (list-item marker of link list overlaps)
r=karnaze
a=waterson


git-svn-id: svn://10.0.0.236/trunk@80310 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 04:17:36 +00:00
morse%netscape.com
e3021ea1dc bug 52674, changing url for privacy tutorial, r=dveditz,ben, a=verah,ben,dveditz,mcarlson,matt
git-svn-id: svn://10.0.0.236/trunk@80300 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 02:57:25 +00:00
rods%netscape.com
c24645c1d1 subtract off 2 point sizes for fonts for List and Button on Windows and make sure
it is zero or greater
Bug 53744, r=attinasi, sr=buster


git-svn-id: svn://10.0.0.236/trunk@80290 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 02:17:44 +00:00
rjc%netscape.com
15630c5056 Fix RTM++ bug # 54626: ftp dir resolution. r=waterson sr=gagan
git-svn-id: svn://10.0.0.236/trunk@80288 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 02:06:54 +00:00
mcafee%netscape.com
f63368aaa4 Adding Ctrl-E for File | Edit Page accelerator (53773). r=akkana
git-svn-id: svn://10.0.0.236/trunk@80286 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 02:03:00 +00:00
hyatt%netscape.com
affb6d7316 Fix for 44437 leaks. r=ben, a=waterson
git-svn-id: svn://10.0.0.236/trunk@80281 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 00:41:53 +00:00
bryner%uiuc.edu
61225739f7 Fix for bug 53723 (gray form control on Linux). r=pierre, ianh,
pavlov.  sr/a=ben.


git-svn-id: svn://10.0.0.236/trunk@80280 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 00:38:03 +00:00
dp%netscape.com
83a4fbdae8 bug 54470 Deleting orphaned entries (no record associated with them)
rather than holding them forever in memory on evict.
r=neeti sr=rpotts
(updating fix from branch 1.29.4.2 to tip)


git-svn-id: svn://10.0.0.236/trunk@80278 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 22:54:55 +00:00
mozilla.BenB%bucksch.org
987dd6d0c4 55030: By default, do not send user's email address as anon. FTP password. r=mstoltz, a=brendan
git-svn-id: svn://10.0.0.236/trunk@80277 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 22:38:31 +00:00
dp%netscape.com
dde0954f7d bug 54470 Deleting orphaned entries (no record associated with them)
rather than holding them forever in memory on evict.
r=neeti sr=rpotts
(updating fix from branch 1.28.2.2 to tip)


git-svn-id: svn://10.0.0.236/trunk@80275 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 22:04:15 +00:00
dougt%netscape.com
f1f38cc7c8 Updating embedding config files. Don't need rdfdomds
git-svn-id: svn://10.0.0.236/trunk@80273 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 21:56:13 +00:00
nboyd%atg.com
70a139109c Allow superclass to appear anywhere in the list of classes in the JavaAdapter argument list.
git-svn-id: svn://10.0.0.236/trunk@80267 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 18:34:02 +00:00
robinf%netscape.com
086e8d8623 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@80266 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 16:39:56 +00:00
locka%iol.ie
437fcbc26d Fixes window.title property so that the frame window's titlebar is changed when the property changes. b=50682, r=mscott, a=mscott
git-svn-id: svn://10.0.0.236/trunk@80259 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 13:35:30 +00:00
risto%netscape.com
349bdbc894 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@80258 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 08:23:48 +00:00
risto%netscape.com
1d0e9fd8ef Adding harishm to /CVSROOT monitoring
git-svn-id: svn://10.0.0.236/trunk@80257 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 08:22:05 +00:00
risto%netscape.com
fb7a340935 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@80256 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 08:21:27 +00:00
risto%netscape.com
7a9f78f8de harishm@netscape.com will do cvs stuff too
git-svn-id: svn://10.0.0.236/trunk@80255 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 08:12:40 +00:00
risto%netscape.com
c9e41f6d5f Adding rko@netscape.com so that he'll see if server config is changed.
git-svn-id: svn://10.0.0.236/trunk@80254 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 08:12:10 +00:00
beard%netscape.com
97df5944a1 avoid an infinite loop on EOF.
git-svn-id: svn://10.0.0.236/trunk@80253 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 06:23:11 +00:00
wtc%netscape.com
c69a41d12e Backed out the previous checkin (which was not necessary).
git-svn-id: svn://10.0.0.236/trunk@80252 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 06:19:42 +00:00
wtc%netscape.com
6a8256dce2 On Windows use cp -r to implement the moz_import rule.
git-svn-id: svn://10.0.0.236/trunk@80251 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 04:58:30 +00:00
rpotts%netscape.com
5d24db7cdb bug #54239 (r=dougt). PSM can be initialized on the wrong thread...
git-svn-id: svn://10.0.0.236/trunk@80250 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 04:49:51 +00:00
ccarlen%netscape.com
45188f90a0 SAMPLE CODE - NOT PART OF THE BUILD
Updated for API changes.


git-svn-id: svn://10.0.0.236/trunk@80247 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 03:03:57 +00:00
ccarlen%netscape.com
5a75acb7a2 SAMPLE CODE - NOT PART OF THE BUILD
using mpfilelocproviderlib instead of profiles


git-svn-id: svn://10.0.0.236/trunk@80246 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 03:03:19 +00:00
ccarlen%netscape.com
3b511d2ad1 SAMPLE CODE - NOT PART OF THE BUILD
Made so PowerPlant could be compiled w/ 3.3 headers.


git-svn-id: svn://10.0.0.236/trunk@80245 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 03:02:34 +00:00
ccarlen%netscape.com
70858f7287 SAMPLE CODE - NOT PART OF THE BUILD
Added optimized target.


git-svn-id: svn://10.0.0.236/trunk@80244 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 03:01:29 +00:00
wtc%netscape.com
4a3eaddaa4 Added bltest.
git-svn-id: svn://10.0.0.236/trunk@80243 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 02:45:59 +00:00
dmose%mozilla.org
ce5d2f7d24 TestLDAP.cpp has bitrotted into uselessness. cvs removing. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80242 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 02:23:33 +00:00
ashuk%eng.sun.com
d7234fdeb1 author=ashuk
r=a=edburns
Bug=54129

changes for Solaris commercial build

_Ashu


git-svn-id: svn://10.0.0.236/trunk@80239 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:59:31 +00:00
dmose%mozilla.org
d2711a2b7d nsLDAPMessage::GetValues() now is a good XPCOM citizen and creates a copy of the [out] array with the shared allocator. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80237 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:53:23 +00:00
ashuk%eng.sun.com
2fa9f204f6 author=ashuk
Bug=54129

W3C dom2.jar file containing JavaDOM interfaces needed for
building Blackwood components


git-svn-id: svn://10.0.0.236/trunk@80236 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:39:41 +00:00
ashuk%eng.sun.com
cf0897f7f3 author=ashuk
Bug=54129

Run Script for commercial build


git-svn-id: svn://10.0.0.236/trunk@80235 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:20:56 +00:00
ddrinan%netscape.com
e35d2e721e Allocate the padded result arena with the correct length
git-svn-id: svn://10.0.0.236/trunk@80234 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:58:39 +00:00
wtc%netscape.com
5671033c01 Bugzilla bug #54711: removed unused variables MOZ_DIST and MOZ_LIB
from OS2.mk.  Handle the different names of plc4 and plds4 libraries
on OS/2.  Thanks to Huynh Trinh <hctrinh@us.ibm.com> for the patch.
Modified Files:
    coreconf/OS2.mk nss/lib/ckfw/builtins/Makefile
    nss/lib/fortcrypt/swfort/pkcs11/Makefile


git-svn-id: svn://10.0.0.236/trunk@80233 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:58:18 +00:00
dmose%mozilla.org
664e265d7d cut down number of Write() and OnDataAvailable() PLEvents by an order of magnitude ; fix error handler for nsLDAPMessage::IterateAttributes to properly deallocate the array on an error; update TODO.txt. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80232 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:52:03 +00:00
nelsonb%netscape.com
8fb55c2b69 Fix bug 54956, and cleanup some other things. Warning reduction.
git-svn-id: svn://10.0.0.236/trunk@80231 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:36:53 +00:00
mkaply%us.ibm.com
7dcf7a75de #52455
r=dougt a=blizzard
These are OS/2 specific porting fixes in an XP file (plevent.c)
I'm checking it in without super-review because we desperately
need these fixes in our nightly build.


git-svn-id: svn://10.0.0.236/trunk@80228 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:20:05 +00:00
danm%netscape.com
aeb4d7fe57 guard against null entries in the insertion point table. bug 54747, bugscape bug 2641. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@80224 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 23:34:28 +00:00
hyatt%netscape.com
027949517d Fix for 44437. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@80223 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 23:23:55 +00:00
wtc%netscape.com
099ac124d2 Bugzilla bug #49477: fixed memory leak in CERT_OpenCertDB. Have
certDBFilenameCallback duplicate the filename string so that its
return value can be freed.


git-svn-id: svn://10.0.0.236/trunk@80222 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 23:23:50 +00:00
wtc%netscape.com
890415bd51 Bugzilla bug #54869: support gcc for 32-bit Solaris/SPARC build.
git-svn-id: svn://10.0.0.236/trunk@80221 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 22:52:43 +00:00
mcgreer%netscape.com
3bd32da764 fix problems encountered in shell script. it appears that "echo nss > passfile" creates a file with 6 bytes on NT using the dos shell. the added bytes were causing problems with password files, which this while loop attempted to fix. however, it broke DER-encoded input that has added whitespace at the end. this checkin returns SECU_FileToItem to it's original state, which blindly accepts whitespace characters at the end of the file.
the second change is forced because SECITEM_AllocItem asserts dst->data == NULL, and many NSS utilities pass uninitialized SECItem's around.  In the future, those should be fixed, but for now zero the output buffer.


git-svn-id: svn://10.0.0.236/trunk@80219 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 22:30:27 +00:00
hyatt%netscape.com
899b919046 Fix for 54524. r=attinasi,waterson a=waterson. Also checking in patch
to nsXBLPrototypeHandler.cpp that went into the branch days ago (but that
I forgot to check in to the trunk).


git-svn-id: svn://10.0.0.236/trunk@80218 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 22:25:45 +00:00
mkaply%us.ibm.com
a0c82c648b #50764
r=mkaply, a=blizzard
Code from sobotka/jkobal to get clipboard working.


git-svn-id: svn://10.0.0.236/trunk@80217 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 22:10:26 +00:00
nboyd%atg.com
49ec458ad6 Avoid creating multiple wrappers.
git-svn-id: svn://10.0.0.236/trunk@80215 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 20:46:08 +00:00
mkaply%us.ibm.com
53e26dfbb4 #52455
r=pedemonte, a=blizzard
OK, here's the major font checkin. There's some debug code in here.


git-svn-id: svn://10.0.0.236/trunk@80214 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 19:00:52 +00:00
mkaply%us.ibm.com
48800f7c62 #45474
MAJOR OS/2 breakage as a result of 48758
Hey guys, we have a platformHTMLBindings.xml file too!


git-svn-id: svn://10.0.0.236/trunk@80213 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 18:44:26 +00:00
mcgreer%netscape.com
85581a8a3e fix 3.1 bugs: change && to || for arg check, two new functions are static
git-svn-id: svn://10.0.0.236/trunk@80212 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 17:39:37 +00:00
nboyd%atg.com
ae9c9e955c Do cheap test first.
git-svn-id: svn://10.0.0.236/trunk@80211 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 17:10:00 +00:00
despotdaemon%netscape.com
3250525177 Pseudo-automatic update of changes made by blizzard@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@80209 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 14:56:37 +00:00
despotdaemon%netscape.com
aacf4638ca Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@80208 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 14:53:32 +00:00
wtc%netscape.com
916fc7046a Added SunOS5.7_i86pc.mk.
git-svn-id: svn://10.0.0.236/trunk@80207 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 06:08:58 +00:00
timeless%mac.com
f7f608d17a l10n for bug 54712, a=rginda
git-svn-id: svn://10.0.0.236/trunk@80206 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 03:35:29 +00:00
wtc%netscape.com
7faf466ae7 Bugzilla bug #39476: free the dbname in the success case.
git-svn-id: svn://10.0.0.236/trunk@80205 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 17:13:34 +00:00
radha%netscape.com
5aca44907c Fix for bug # 53869. Wording for location bar autocomplete not OK. r=ben a=ben
git-svn-id: svn://10.0.0.236/trunk@80204 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 06:20:42 +00:00
dougt%netscape.com
2994ac87eb Adding shor wchar support. r/a scc@mozilla.org cls@seawood.com b= 54564
git-svn-id: svn://10.0.0.236/trunk@80203 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 06:16:14 +00:00
wtc%netscape.com
fd9b927670 Restored the printing of the runtime library search path.
git-svn-id: svn://10.0.0.236/trunk@80202 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 06:14:57 +00:00
wtc%netscape.com
a8fc188120 Deleted an extra echo command.
git-svn-id: svn://10.0.0.236/trunk@80201 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 06:01:32 +00:00
dougt%netscape.com
cf97fcfc5f Removing unused class
git-svn-id: svn://10.0.0.236/trunk@80200 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:52:15 +00:00
dougt%netscape.com
437cd3b772 Fixes threadpool to maximize thread usage r=wtc@netscape.com, warren@netscape.com, brendan@mozilla.org, a=brendan@mozilla.org b=36750
git-svn-id: svn://10.0.0.236/trunk@80199 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:35:03 +00:00
dougt%netscape.com
8a775fff06 Removes need for chrome r/a=blizzard@redhat.com b=54428
git-svn-id: svn://10.0.0.236/trunk@80198 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:26:26 +00:00
dougt%netscape.com
e36912633f Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80197 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:24:00 +00:00
wtc%netscape.com
ac46281515 Deleted an extra cp.
git-svn-id: svn://10.0.0.236/trunk@80196 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:09:17 +00:00
wtc%netscape.com
287ec3547d Bugzilla bug #54711: use full maci on OS/2. Thanks to hctrinh@us.ibm.com
(Huynh Trinh) for the patch.


git-svn-id: svn://10.0.0.236/trunk@80195 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 03:29:42 +00:00
wtc%netscape.com
0da76eea1e Bugzilla bug #54711: fixed a typo. Thanks to hctrinh@us.ibm.com
(Huynh Trinh) for the patch.


git-svn-id: svn://10.0.0.236/trunk@80193 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 03:17:56 +00:00
jband%netscape.com
a6dcffbfb6 NOT PART OF THE BUILD. new code for testing the jar cache
git-svn-id: svn://10.0.0.236/trunk@80192 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 00:10:51 +00:00
jband%netscape.com
ffdceb7dee Mostly submitted patches...
- Fix bug 54264 from Jon Smirl <jonsmirl@mediaone.net>
  Do cleanup of thread local storage on main thread.

- Fix bug 54275 from Jon Smirl <jonsmirl@mediaone.net>
  Release components in shell before shutting down xpcom

- Fix bug 54310 from Jon Smirl <jonsmirl@mediaone.net>
  Call JS_DestroyScript in xpcshell and js.c

- Fix bug 54352 from Jon Smirl <jonsmirl@mediaone.net>
  Cleanup what static data we can in xpclog.

- Initial fix of bug 54473
  Don't report warnings as errors in wrapped JS calls.

- Fix bug 54462 from Mark Hammond <MarkH@ActiveState.com>
  Fix jband's stupid use of uint8 for method indexes.

- Use environment rather than prefs for #ifdef'd debug options

- Don't report NS_ERROR_FACTORY_REGISTER_AGAIN as an error.

r=mccabe@netscape.com a=jband@netscape.com


git-svn-id: svn://10.0.0.236/trunk@80191 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 08:16:09 +00:00
rpotts%netscape.com
a51405cbc5 bug #41398. The cache manager is now a memory-pressure observer and flushed the memory cache on each notification.
git-svn-id: svn://10.0.0.236/trunk@80189 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 05:30:22 +00:00
wtc%netscape.com
63d6c87d42 Added missing closing comment delimiter "*/".
git-svn-id: svn://10.0.0.236/trunk@80188 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 04:30:08 +00:00
cls%seawood.org
b35eca2c21 Apply fixes for previous attempt to add STRIP to nspr build.
git-svn-id: svn://10.0.0.236/trunk@80186 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 03:24:19 +00:00
cls%seawood.org
19cbb19cff I was incorrectly informed about the impact of elf-dynstr-gc on non-x86 builds. Turning it off for non-linux x86 builds. bug 54405
git-svn-id: svn://10.0.0.236/trunk@80185 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 03:21:02 +00:00
despotdaemon%netscape.com
9ffccfdfd4 Pseudo-automatic update of changes made by blizzard@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@80184 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 02:58:53 +00:00
despotdaemon%netscape.com
8c185afb79 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@80183 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 02:54:28 +00:00
cls%seawood.org
c1290d8eb0 Turn elf-dynstr-gc on by default for linux. r=bryner bug 54405
git-svn-id: svn://10.0.0.236/trunk@80182 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 02:24:44 +00:00
nelsonb%netscape.com
920388cf0f Incorporate multiplication performance enhancements for UltraSparc CPUs
with the VIS instructions.


git-svn-id: svn://10.0.0.236/trunk@80181 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 01:46:30 +00:00
nelsonb%netscape.com
7a4fb55eef The Initial Developer of the Original Code is Netscape Communications
Corporation.  Portions created by Netscape are
Copyright (C) 2000 Netscape Communications Corporation.
All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@80180 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 01:43:27 +00:00
mccabe%netscape.com
2dd5d88811 Propagate fix to 41872 from the standalone JS shell to the standalone XPConnect-enabled JS shell. Make warnings on by default in the standalone JS shell, and introduce the -W option to suppress warnings if needed. Retained the -w option (enable warnings) in case somebody was using it.
This file doesn't go into the Mozilla distribution.

r=brendan,r=jband


git-svn-id: svn://10.0.0.236/trunk@80179 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 01:42:29 +00:00
wtc%netscape.com
ff19c64b23 Bugzilla bug #52904: deleted all the PKLITE and COMPRESS_TARGET stuff,
which is no longer needed.  This removes the requirement of 'which' on
Windows.
Modified files: ruleset.mk, rules.mk


git-svn-id: svn://10.0.0.236/trunk@80178 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 00:56:57 +00:00
mccabe%netscape.com
0307c96649 Fix to 41872. Make warnings on by default in the standalone JS shell, and introduce the -W option to suppress warnings if needed. Retained the -w option (enable warnings) in case somebody was using it.
This file is not part of the Mozilla build.

r=brendan


git-svn-id: svn://10.0.0.236/trunk@80177 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 00:24:22 +00:00
pnunn%netscape.com
e1a1eb55e0 bug#52390: fixes majick disappearing chrome images. (Turns off PIN_CHROME).
Checked into Commercial branch 09/29/00. pnunn.


git-svn-id: svn://10.0.0.236/trunk@80176 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 00:11:41 +00:00
disttsc%bart.nl
cae301f454 Make filepicker.css get packaged, should fix it not opening sometimes. bug=53697, r=/a=ben
git-svn-id: svn://10.0.0.236/trunk@80175 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-30 00:00:05 +00:00
nelsonb%netscape.com
30bcb59ec4 The Initial Developer of the Original Code is Sun Microsystems Inc.
Portions created by Sun Microsystems Inc. are
Copyright (C) 1999-2000 Sun Microsystems Inc.  All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@80174 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 23:39:30 +00:00
nelsonb%netscape.com
4964bf2790 The Initial Developer of the Original Code is Sun Microsystems Inc.
Portions created by Sun Microsystems Inc. are
Copyright (C) 1995-2000 Sun Microsystems Inc.  All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@80173 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 23:38:05 +00:00
robinf%netscape.com
0bcae0ec4d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@80172 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:45:00 +00:00
dmose%mozilla.org
ccfb778c6d fix up a progid->contractid conversion that got missed; update a few comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80171 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:35:35 +00:00
mcgreer%netscape.com
7c7b5185b4 add cipher and smime to the pantheon of nss tests.
git-svn-id: svn://10.0.0.236/trunk@80170 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:31:11 +00:00
dmose%mozilla.org
22a433d6b6 update so that datasource tests work with jar packaging. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80169 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:30:12 +00:00
mcgreer%netscape.com
fe62289b38 change for BSAFE. on windows, nsinstall will do copy instead of link.
need to forcibly remove library before attempting to reinstall.


git-svn-id: svn://10.0.0.236/trunk@80168 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:30:09 +00:00
mcgreer%netscape.com
52767c0e64 changes to use blapitest on NT.
git-svn-id: svn://10.0.0.236/trunk@80167 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:27:14 +00:00
nhotta%netscape.com
bf0debd67a (bstell speaking, (415) 845-7800)
bug 46974 - display of ascii (8 bit) data incorrect with 10646 (16 bit) font
a=erik r=blizzard, approved for trunk checkin by jar


git-svn-id: svn://10.0.0.236/trunk@80166 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:21:04 +00:00
nhotta%netscape.com
15b875f998 (bstell speaking, cell (415) 845-7800)
for bug 46974 we changed the type for nsFontHandle; make corresponding
changes here

bug 46974 - display of ascii (8 bit) data incorrect with 10646 (16 bit) font
a=erik r=blizzard, approved for trunk checkin by jar


git-svn-id: svn://10.0.0.236/trunk@80165 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:19:16 +00:00
disttsc%bart.nl
1617349a74 Remove an obsolete comment, r=/a=waterson
git-svn-id: svn://10.0.0.236/trunk@80164 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 21:34:48 +00:00
mkaply%us.ibm.com
899cae7f82 #54716
r=jkobal, a=blizzard
OS/2 only fix - we weren't destroying the splash screen.
Also put in a fix to honor system setting on OS/2 to not display the splash screen.


git-svn-id: svn://10.0.0.236/trunk@80163 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 21:20:12 +00:00
tor%cs.brown.edu
d98b5aefd5 Bug 52489 - prevent garbage from being shown when tiling a
partially received image.  Patch from adam@gimp.org.
r=alex@cendio.se,pavlov a=tor


git-svn-id: svn://10.0.0.236/trunk@80162 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 21:05:35 +00:00
mkaply%us.ibm.com
06a7fe7640 OS/2 Tinderbox break continued
Better fix for breakage per waterson


git-svn-id: svn://10.0.0.236/trunk@80161 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 20:48:04 +00:00
mkaply%us.ibm.com
9214cf5281 #54535
r=mkaply, dougt, a=jband
Code from jpedemonte to fix profile creation


git-svn-id: svn://10.0.0.236/trunk@80160 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 20:40:10 +00:00
dmose%mozilla.org
907f68d3ba Reorganized significantly. Triaged so that there are only 4 items left to do (the first four) before attempting an initial prerelease (0.x).
git-svn-id: svn://10.0.0.236/trunk@80159 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 20:09:38 +00:00
nelsonb%netscape.com
aedf4b3505 Don't use type "ulong". Use "unsigned long" instead.
git-svn-id: svn://10.0.0.236/trunk@80158 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 19:51:32 +00:00
despotdaemon%netscape.com
429d737c5f Pseudo-automatic update of changes made by pp@ludusdesign.com.
git-svn-id: svn://10.0.0.236/trunk@80157 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 17:48:39 +00:00
wtc%netscape.com
2fc6f07ea1 Initial NetBSD port contributed by Shin'ichiro TAYA <taya@sm.sony.co.jp>.
Modified Files:
    coreconf/config.mk nss/lib/util/unix_rand.c
Added Files:
    coreconf/NetBSD.mk


git-svn-id: svn://10.0.0.236/trunk@80156 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 17:42:39 +00:00
despotdaemon%netscape.com
5da2a6f226 Pseudo-automatic update of changes made by blizzard@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@80155 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 16:46:44 +00:00
mcgreer%netscape.com
5b4051f47c initial checkin of smime test script. does signed-data, enveloped-data, encrypted-data, and certs-only (basic cases).
git-svn-id: svn://10.0.0.236/trunk@80154 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 16:39:13 +00:00
mcgreer%netscape.com
363ed3f1b7 add a shortcut encoder routine.
git-svn-id: svn://10.0.0.236/trunk@80153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 16:38:11 +00:00
mcgreer%netscape.com
2feef2ae49 brutish changes to get encrypted data working, will clean up later. allows test script for 3.1 to work.
git-svn-id: svn://10.0.0.236/trunk@80152 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 16:37:29 +00:00
mcgreer%netscape.com
f6f79f1ff0 add seeding call (for 3.1, for 3.2 I think this function needs to go away).
git-svn-id: svn://10.0.0.236/trunk@80151 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 15:27:00 +00:00
mcgreer%netscape.com
56065300c5 add seeding call (req by RNG)
git-svn-id: svn://10.0.0.236/trunk@80150 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 15:25:42 +00:00
axel%pike.org
2cd8ffa847 removing windows linefeeds, still reminents from the old days, not part of build
git-svn-id: svn://10.0.0.236/trunk@80147 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 14:58:26 +00:00
mkaply%us.ibm.com
6bbbd419da OS/2 Tinderbox breakage
Need to make these values really PRUint32 for VisualAge
If you guys thought your changes to get gcc to work were bad, wait until you see these


git-svn-id: svn://10.0.0.236/trunk@80146 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 14:36:46 +00:00
nboyd%atg.com
b83be8c5eb Allow null returns from SecuritySupport methods if someone only
wants to implement LiveConnect filtering


git-svn-id: svn://10.0.0.236/trunk@80143 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 13:49:47 +00:00
Peter.VanderBeken%pandora.be
358f7463b9 Fix for bug #53323, provided by jjs@acis.com.au. r=me. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@80142 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 12:19:15 +00:00
Peter.VanderBeken%pandora.be
9c1e0f0e7b Fixing compiler warnings. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@80141 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 12:17:23 +00:00
waterson%netscape.com
4f16bfd129 Better fix, with explicit temporary for gcc-2.7.2.3's lame self. (thanks for the assist, scc.)
git-svn-id: svn://10.0.0.236/trunk@80140 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 06:45:22 +00:00
waterson%netscape.com
c78a8b32d2 Temporary fix orange on gcc-2.7.2.3 build.
git-svn-id: svn://10.0.0.236/trunk@80139 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 06:29:44 +00:00
vidur%netscape.com
a6de021349 Fix for bugscape bug 2533. onload event firing now happens *after* the last reflow command has been processed. a=waterson, r=nisheeth, pollmann, jst
git-svn-id: svn://10.0.0.236/trunk@80138 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 06:22:09 +00:00
dave%intrec.com
8dde2f6d6a Fix for bug 52921: checksetup.pl fails to create database with password.
Now it won't choke on this anymore.  Patch also includes a Perl 5.6
compatibility update (see bug 52921 and bug 44622 for details).


git-svn-id: svn://10.0.0.236/trunk@80137 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 05:43:53 +00:00
dougt%netscape.com
0706b5bdd1 removing annoying unneeded assertion. r/a=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80136 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 05:30:02 +00:00
dave%intrec.com
0fda1404bb Fix for bug 44076: Editparams falsely detecting text field changes and
NS4Mac putting a single linefeed in empty fields.


git-svn-id: svn://10.0.0.236/trunk@80135 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 05:29:09 +00:00
waterson%netscape.com
45b53bedb1 Bug 46134, the final chapter. Factor funky attribute parsing logic into a separate routine, ParseAttribute(), add callbacks to make SubstituteText() and IsAttrImpactedByVars() use this. Also (the real fix), make sure that we call it from AddSimpleRuleBindings() so we don't drop old-sk00l bindings on the floor when multiple substitutions present in an attribute. r=rjc, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@80134 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 04:09:42 +00:00
nelsonb%netscape.com
9d54eecd40 Fix some bugs from the last checkin.
git-svn-id: svn://10.0.0.236/trunk@80133 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 04:03:34 +00:00
disttsc%bart.nl
725d70d563 Simple xbl fixups after xbl syntax change, r=/a=hyatt
argument  -> parameter      : bug=52891, bug=53875
interface -> implementation : bug=53874


git-svn-id: svn://10.0.0.236/trunk@80132 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 02:25:45 +00:00
nhotta%netscape.com
ab6ac3dcca backing out previous changes since depend versions of the tree won't build
git-svn-id: svn://10.0.0.236/trunk@80131 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 02:20:25 +00:00
mcgreer%netscape.com
85cb433e26 changes to allow build with RSA BSAFE Crypto-C library
git-svn-id: svn://10.0.0.236/trunk@80130 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 02:15:42 +00:00
mcgreer%netscape.com
01ab8488fd change to allow builds with RSA BSAFE Crypto-C library
git-svn-id: svn://10.0.0.236/trunk@80129 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 02:14:03 +00:00
mcgreer%netscape.com
1abd54607e fixes based on review by nelsonb:
use mp_sub instead of mp_mod when possible.
increment generator candidate for DH instead of creating a new random one each time.
fix potential bugs when DH_Derive and KEA_Derive, where the secret is longer than the buffer the user requests.
check input key size to RSA_NewKey.
implement private key op with no CRT for PKCS12.
reduce base mod p and q before using mp_exptmod.
use mpl_lsh in pqg code (in place of exponent and multiply).
change PQG_Verify to return SECSuccess unless there is a library failure (not if verification fails).


git-svn-id: svn://10.0.0.236/trunk@80128 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 02:10:24 +00:00
dmose%mozilla.org
12782ecfb6 * switch from old {First,Next}Attribute() functions to new GetAttributes() call
* adjust GetDn() calls to use an nsXPIDLString now that GetDN() does proper string ownership

* error-handling improvements

* partial addition of event sink infrastructure to be used for updating the status bar

* nsLDAP.h include replaced with nsLDAPInternal.h

* migrate from progids to contractids

* emacs mode-line added, and re-indented

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80127 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:20:31 +00:00
dmose%mozilla.org
ea180437e2 * pipeWrite() prototype changed from |char *| to |const char *|
* infrastructure for firing progress against an nsIProgressEventSink added

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80126 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:14:53 +00:00
dmose%mozilla.org
8a7b889861 Migrate from progids to contractids. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80125 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:11:34 +00:00
dmose%mozilla.org
ce1848e9c5 define __STRICT_ANSI__ and change the include order to keep linux gcc from whining about one of the system include files. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80124 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:10:40 +00:00
dmose%mozilla.org
6053db6b6e Tweak some comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80123 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:09:27 +00:00
dmose%mozilla.org
d81043d9d2 include nsLDAPInternal.h instead of nsLDAP.h now. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80122 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:08:17 +00:00
dmose%mozilla.org
3f6a882c55 * include of ldap.h removed. this header is now a public header, and clients of the XPCOM wrapper don't need to be polluted with the contents of ldap.h, since that functionality should happen entirely inside the wrapper.
* NS_ERROR_LDAP_DECODING_ERROR added

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80121 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:06:53 +00:00
dmose%mozilla.org
853bcfa2ec * migrate from progids to contractids
a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80120 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:04:24 +00:00
dmose%mozilla.org
daee20badf * removed mPosition variable, since getAttributes() is now a single function
* prototypes for Iterate{Attributes,AttrErrHandler} added

* emacs mode line added

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80119 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:01:10 +00:00
dmose%mozilla.org
e000572e96 * replaced {First,Next}Attribute() functions with GetAttributes(), which returns an array. threadsafe and easier on JS callers.
* fixed GetDn() to do better error handling and use the standard XPCOM string ownership model (ie getter_Copies)

* better error handling for GetValues()

* tweak some includes

* added an emacs modeline and reindented

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:58:38 +00:00
dmose%mozilla.org
afe7807e71 * replaced {first,next}Attribute() with getAttributes which returns an array: threadsafe and more useful from JS.
* added an emacs mode line and reindented.

* improved doxygen comments to include nsresult errors thrown


git-svn-id: svn://10.0.0.236/trunk@80117 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:53:29 +00:00
dmose%mozilla.org
76477e7be7 Added an emacs mode line, reindented with spaces as per the mode line. Also tweaked a couple of comments as well as some debugging stuff. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80116 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:48:26 +00:00
av%netscape.com
4181c8bc8f Fixing 53451. Added retun failure when plugin retuns zero on NPP_WriteReady call, r=waterson
git-svn-id: svn://10.0.0.236/trunk@80115 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:46:18 +00:00
dmose%mozilla.org
310311aadf Infrastructure for internal use by the LDAP code. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80114 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:45:52 +00:00
dmose%mozilla.org
2891cdb510 Significant updates to the todo list. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@80113 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:43:22 +00:00
brendan%mozilla.org
4e4aa590e8 Fix bungled GC_KEEP_ATOMS logic (51954, r=mccabe, a=jband).
git-svn-id: svn://10.0.0.236/trunk@80110 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:18:15 +00:00
brendan%mozilla.org
2d9eb5eb2d Don't leave fp->sp above fp->spbase when returning, js_Invoke may GC on the way out (53123, r=mccabe, a=jband).
git-svn-id: svn://10.0.0.236/trunk@80109 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:13:25 +00:00
mcafee%netscape.com
de5c7233da HTML 4.0-izing this file, part of gemal@gemal.dk's patch. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@80108 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:04:23 +00:00
ben%netscape.com
b24747354f fix for nsbeta3++ 52890, remove green boxes from html/titledbuttons in XUL, r=dr, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@80107 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:59:35 +00:00
disttsc%bart.nl
8cf3138a1f Fix blue location bar height. bug=52911, r=/a=ben
git-svn-id: svn://10.0.0.236/trunk@80105 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:57:02 +00:00
peterlubczynski%netscape.com
9654c3e56d Deactivate double buffering for plugins plus fix up position and clip. bug 32327, bug 51787, bug 19931 bug 37126 r=sfraser,pchen a=buster
git-svn-id: svn://10.0.0.236/trunk@80104 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:29:26 +00:00
waterson%netscape.com
0e77f05c99 Bug 54475. Don't mark leaf nodes as 'requiring more work'. We know they're leaves! r=rjc, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@80103 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:25:10 +00:00
buster%netscape.com
7481822419 bug 53568
r=karnaze
a=waterson
migrating fix back from branch to tip


git-svn-id: svn://10.0.0.236/trunk@80100 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:20:55 +00:00
mkaply%us.ibm.com
65b5030ef3 #53402
r=mkaply, a=blizzard
We had a really bad os2pref.js from 4.61


git-svn-id: svn://10.0.0.236/trunk@80099 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:20:09 +00:00
hyatt%netscape.com
3a2e0e0561 fix for 53838, r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@80098 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:18:14 +00:00
waterson%netscape.com
976476e949 Bug 53353. Factor nsMemoryImpl create/destroy from flusher thread startup/shutdown. Avoids creation of second memory flusher thread after XPCOM shutdown. r=scc, sr=warren
git-svn-id: svn://10.0.0.236/trunk@80097 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:17:49 +00:00
rpotts%netscape.com
fb69d93bc3 when RemoveAll() is called do not double count the storage being freed...
git-svn-id: svn://10.0.0.236/trunk@80095 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:03:03 +00:00
nelsonb%netscape.com
6cff24caa7 Add mp_set_long and mp_set_ulong to the public API.
git-svn-id: svn://10.0.0.236/trunk@80094 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:53:45 +00:00
sgehani%netscape.com
132928e98d Merging pr3 branch to trunk:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80093 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:52:51 +00:00
sgehani%netscape.com
a0562917b2 Merge pr3 branch to trunk:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80092 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:51:16 +00:00
nhotta%netscape.com
3507185c5d the previous checkin was by bstell (Brian Stell)
cube:   (650) 937-2797
mobile: (415) 845-7800
home:   (415) 826-8141


git-svn-id: svn://10.0.0.236/trunk@80091 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:48:57 +00:00
valeski%netscape.com
acf05a190f 54508. r=edburns@acm.org, a=brendan@mozilla.org. we were installing the oji.dll in the bin dir *and* the bin/components dir which was redundant. oji.dll is a component and doesn't need to be in the bin dir.
git-svn-id: svn://10.0.0.236/trunk@80090 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:47:48 +00:00
nhotta%netscape.com
a95e523409 bug 46974 - display of ascii (8 bit) data incorrect with 10646 (16 bit) font
a=erik r=blizzard, approved for trunk checkin by jar


git-svn-id: svn://10.0.0.236/trunk@80089 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:46:27 +00:00
valeski%netscape.com
68360a0050 54508. removing oji.dll from the bin dir in the packager file. the lib is no longer installed in the bin dir, rather now only in the components dir.
git-svn-id: svn://10.0.0.236/trunk@80088 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:46:07 +00:00
sgehani%netscape.com
6b666fa74d Oops! Trunk not open: backing out last change.
git-svn-id: svn://10.0.0.236/trunk@80085 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:02:28 +00:00
sgehani%netscape.com
a0377bc6df Merge pr3 branch to trunk for:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80084 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 22:00:39 +00:00
edburns%acm.org
825bc96e67 bug=52883
author=ashuk
r,a=edburns

Make webclient work with the tip.


git-svn-id: svn://10.0.0.236/trunk@80080 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 21:37:25 +00:00
thayes%netscape.com
a89066e266 Bugzilla 39476: Copy the argument string in the OpenDBFilename callback function.
git-svn-id: svn://10.0.0.236/trunk@80079 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 21:36:11 +00:00
thayes%netscape.com
85f95a41ba Use T61 String for any ASCII characters that don't meet the PrintableString
requirements in name attribute values.


git-svn-id: svn://10.0.0.236/trunk@80078 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 21:29:14 +00:00
nelsonb%netscape.com
19f21c5bbd Fix numerous bugs in CERT_GetNickName. Fix bug 45247.
git-svn-id: svn://10.0.0.236/trunk@80077 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 21:13:29 +00:00
despotdaemon%netscape.com
775031d440 Pseudo-automatic update of changes made by pp@ludusdesign.com.
git-svn-id: svn://10.0.0.236/trunk@80076 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 20:39:12 +00:00
nelsonb%netscape.com
b246eb6761 Fix bug 39482. Don't use varargs when first argument is null.
git-svn-id: svn://10.0.0.236/trunk@80075 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 19:01:14 +00:00
despotdaemon%netscape.com
d5e52fd157 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@80074 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 18:36:00 +00:00
larryh%netscape.com
8b7f82ceec Bugzilla: 51465. strip binaries on optimized builds
git-svn-id: svn://10.0.0.236/trunk@80073 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 17:47:22 +00:00
relyea%netscape.com
e6b8b24e9d Add function for determining if we have root cert modules.
fix bug in internal root cert modules.


git-svn-id: svn://10.0.0.236/trunk@80072 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 17:40:48 +00:00
sgehani%netscape.com
5b983e2e6f Merge pr3 branch to trunk:
Part of fix for "Plugins" -> "Plug-ins" for backward compatibility.

b=53976
r=ssu
a=sfraser,granrose


git-svn-id: svn://10.0.0.236/trunk@80071 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 17:32:05 +00:00
mkaply%us.ibm.com
5f76fa5473 #45474
r=mkaply, a=blizzard
Finally, real OS/2 keyboard support


git-svn-id: svn://10.0.0.236/trunk@80068 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 13:37:38 +00:00
idk%eng.sun.com
21e5afbcd7 * NOT PART OF TBOX BUILD *
Fixed 54348


git-svn-id: svn://10.0.0.236/trunk@80067 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 11:27:41 +00:00
ssu%netscape.com
4eddbc72ad fixing bug #53906 - updated Java 2 installer bits. sr=vishy, r=dveditz,sgehani. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@80064 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 11:01:41 +00:00
cls%seawood.org
5210420bb0 Do not use c++ comments in c file. Breaks WS5.0 compiler.
git-svn-id: svn://10.0.0.236/trunk@80063 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 08:08:02 +00:00
wtc%netscape.com
f0a40595f6 Added config file for OSF1 V5.0.
git-svn-id: svn://10.0.0.236/trunk@80062 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 07:45:11 +00:00
sgehani%netscape.com
7e606948be Merging pr3 branch change to trunk for:
Part of fix for "Plugins" -> "Plug-ins" for backward compatibility.

b=53976
r=ssu
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@80061 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 07:14:56 +00:00
cls%seawood.org
a6ca675404 Some platforms include a version number for their dll suffixes. Use SHARED_LIBRARY instead of hardcoding a library name & suffix.
git-svn-id: svn://10.0.0.236/trunk@80059 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 06:57:00 +00:00
cls%seawood.org
8ace0cd4de Only build nullplugin when MOZ_ENABLE_GTK is set because nullplugin requires gtk and is breaking our non-gtk ports.
git-svn-id: svn://10.0.0.236/trunk@80058 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 06:48:02 +00:00
nisheeth%netscape.com
787c2b7cf1 r=pollmann. Fix for nsbeta3++ bug 48382. Fixes the infinite loop when location.href was set from the onload handler of a frame.
git-svn-id: svn://10.0.0.236/trunk@80056 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 05:44:10 +00:00
bratell%lysator.liu.se
90861c1db4 Fix for bug 54016 - crash when indentation wider then wrap width. The fix was to check for that condition. r=akkana@netscape.com, a=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80055 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 05:32:52 +00:00
mccabe%netscape.com
30978dc1d7 Fix to 54307. Patch courtesy Jon Smirl <jon@mediaone.net>.
Clean up several locks that jsdtoa uses, when JS_THREADSAFE.

a=brendan
r=mccabe


git-svn-id: svn://10.0.0.236/trunk@80053 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 05:14:32 +00:00
dveditz%netscape.com
fe987ceace Bug 53845 make InstallTrigger.getVersion() work for SmartUpdate site. r=ssu,sr=mscott,a=pdt nsbeta3++
git-svn-id: svn://10.0.0.236/trunk@80051 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 04:14:15 +00:00
neeti%netscape.com
54302036e0 fix for crasher nsbeta3++ bug 52818, r=dp, r/a=rpotts
git-svn-id: svn://10.0.0.236/trunk@80050 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 04:08:22 +00:00
cls%seawood.org
55b259a10b Add .DELETE_ON_ERROR: target so that if the build fails while building the target, it will remove the incomplete target. Bug 48404
git-svn-id: svn://10.0.0.236/trunk@80049 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 04:02:15 +00:00
mccabe%netscape.com
5ab17af9a7 Remove unused function prototype.
r=jband


git-svn-id: svn://10.0.0.236/trunk@80048 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 02:47:40 +00:00
nelsonb%netscape.com
f9d4f13115 Fix crash when PR_Connect times out.
git-svn-id: svn://10.0.0.236/trunk@80046 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 01:50:15 +00:00
saari%netscape.com
4df2e52418 fix for 53760, xbl double firing key events. r=hyatt, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80045 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 01:05:26 +00:00
hewitt%netscape.com
699bf985d9 54107 - [Modern] stop menulists from being too small initially, r=andreww, a=hangas
git-svn-id: svn://10.0.0.236/trunk@80044 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 00:38:25 +00:00
sfraser%netscape.com
a14fff2410 Fix for 52150; show caret in new composer/mail composer/AIM windows. If the editor is focussed on creation, show the caret instead of relying on a focus event. r, sr = kin,saari, hyatt
git-svn-id: svn://10.0.0.236/trunk@80042 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 00:31:48 +00:00
sfraser%netscape.com
4b74e084f3 Fix for 52150; show caret in new composer/mail composer/AIM windows. Uncomment a line that supresses focus, because we can get window activation calls after editor sets up the caret, and these need to be suppressed. r, sr = saari, hyatt
git-svn-id: svn://10.0.0.236/trunk@80041 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 00:31:35 +00:00
sgehani%netscape.com
d654b3ab76 Merging pr3 branch change for:
Fix setup dlg display to make selected dir legible.

b=52739
r=ssu
a=vishy


git-svn-id: svn://10.0.0.236/trunk@80038 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:57:22 +00:00
akhil.arora%sun.com
684bee80a4 implementation of the null plugin for unix
checking in on behalf of stephen mak <smak@sun.com>
b=48483 r=pollmann@netscape.com a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@80035 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:44:02 +00:00
hyatt%netscape.com
6bca73e533 Really patching leak.
git-svn-id: svn://10.0.0.236/trunk@80034 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:39:47 +00:00
hyatt%netscape.com
6ba172354f Attempting to plug the leak. I assume I'm allowed to check in leak fixes.
git-svn-id: svn://10.0.0.236/trunk@80033 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:27:13 +00:00
sfraser%netscape.com
6163e30db0 Fix for bugzilla bug 54079, bugscape bug 2331. builtinURLs.js: renamed vars to avoid conflicts, fixed it not to rely on the SinkObserver being called each time (this was only called for the first window), and to throw rather than returning "".
utilityOverlay.js: fixes in openTopWin() to ensure that we always call xlateURL on URNs, and load about:blank if the url is still "" (should never happen).
r=ben,tao. sr=waterson.

Checked into trunk and branch.


git-svn-id: svn://10.0.0.236/trunk@80031 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:13:09 +00:00
sfraser%netscape.com
2c8d85ad08 Fix for bug 54079: don't crash when loading XUL into the composer content area. Simple null check a=akkana, sr=brendan. Landed on trunk and branch
git-svn-id: svn://10.0.0.236/trunk@80030 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:08:09 +00:00
mcgreer%netscape.com
095c1d1361 shell script to run self-tests on ciphers supported by NSS.
git-svn-id: svn://10.0.0.236/trunk@80029 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:04:01 +00:00
mcgreer%netscape.com
15c0d6fdae changes for nss script. passed tests produce no output. fix dsa test case.
git-svn-id: svn://10.0.0.236/trunk@80028 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 23:03:21 +00:00
cmanske%netscape.com
57a52fa4f0 Part of fix for nested tables bug 53733. r=brade, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@80024 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:29:41 +00:00
cmanske%netscape.com
5770560ad9 Fixed nested tables bug 53733. r=brade, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@80023 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:24:17 +00:00
cmanske%netscape.com
939b1716e8 Part of fix for nested tables bug 53733. r=brade, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@80022 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:23:03 +00:00
pchen%netscape.com
a8d7dae7e8 Backing out jim_nance's checkins, breaks win32 build, also has #ifdef
XP_MAC which is crufty, should be able to do this xp


git-svn-id: svn://10.0.0.236/trunk@80021 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:21:05 +00:00
pchen%netscape.com
719a5dcaa1 Backing out jim_nance's checkins, break win32 build, also have #ifdef
XP_MAC which is crufty, should be able to do this xp


git-svn-id: svn://10.0.0.236/trunk@80020 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:16:50 +00:00
dougt%netscape.com
ca868ef44f Adding button to dump memory usage stat. r-valeksi, a-mscott
git-svn-id: svn://10.0.0.236/trunk@80019 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 22:15:08 +00:00
mccabe%netscape.com
459c2f3979 Fix to 54305, free array holding fat locks. Patch courtesy Jon Smirl <jonsmirl@mediaone.net>.
a=brendan
r=mccabe


git-svn-id: svn://10.0.0.236/trunk@80018 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:52:27 +00:00
hyatt%netscape.com
a14a7f850f Fix for 53417. r=brendan, a=brendan
git-svn-id: svn://10.0.0.236/trunk@80017 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:48:05 +00:00
radha%netscape.com
dbef2eb1b5 Fix for bugscape bug # 1644. keywords work eventhough the pref for it is turned off.
r=valeski a=mscott


git-svn-id: svn://10.0.0.236/trunk@80016 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:27:35 +00:00
varada%netscape.com
5a7e2d4797 fix for bug#33777;changing installer background text font and colour and shadow
git-svn-id: svn://10.0.0.236/trunk@80015 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:26:54 +00:00
despotdaemon%netscape.com
d9570400a0 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@80014 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:18:27 +00:00
rhp%netscape.com
d0e75ff34c Fixing Crash bug 53258 - crash with inline image viewing - r: sspitzer - PDT approval
git-svn-id: svn://10.0.0.236/trunk@80013 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:09:47 +00:00
mcafee%netscape.com
bcff87b79a Adding timeout to reload page.
git-svn-id: svn://10.0.0.236/trunk@80010 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 20:44:55 +00:00
valeski%netscape.com
9dd9cc908f whoops, that's supposed to be a 32bit int
git-svn-id: svn://10.0.0.236/trunk@80008 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 20:25:15 +00:00
hyatt%netscape.com
ad9a001211 added files: mozilla/layout/xbl/src/nsXBLPrototypeBinding.cpp
git-svn-id: svn://10.0.0.236/trunk@80007 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 20:24:47 +00:00
hyatt%netscape.com
c833b6b56c Fix for 53417. r=brendan, a=brendan
git-svn-id: svn://10.0.0.236/trunk@80006 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 20:23:49 +00:00
valeski%netscape.com
a2dba32cc0 r=brendan,a=brendan. 54127. This change cleans up a leak when we run out of memory, and reduces allocation of the file extension buffer by 2x. it also dumps the count to a local variable to do away w/ memory ambiguity using a pointer to elementCount
git-svn-id: svn://10.0.0.236/trunk@80005 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 19:50:59 +00:00
valeski%netscape.com
fc0398591c a=mscott,r=rpotts. 54199. optimized windows builds now link w/ the '/opt:nowin98' flag to reduce win98 page info in shared library output. there is a possible shared library loading performance degredation on win98 (I did not notice one on my win98 box).
git-svn-id: svn://10.0.0.236/trunk@80004 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 19:25:28 +00:00
cmanske%netscape.com
2d038abfe4 Fixing new content serializer's formatting to match behavior in current HTMLContentSink output. (This is a branch to be integrated later; not part of any current tip or 6.0 branch build) r/a=vidur
git-svn-id: svn://10.0.0.236/trunk@80003 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 19:23:36 +00:00
cyeh%bluemartini.com
d9c4caf971 fix for 45384: checksetup.pl fails to update very old bugzilla (10/1998) databases.
patch submitted by sstock@iconnect-inc.com


git-svn-id: svn://10.0.0.236/trunk@80002 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 17:51:36 +00:00
nisheeth%netscape.com
e972437e67 r=joki. Switching off the "nglayout.events.showHierarchicalHover" pref by default. This was enabled late in the beta 3 cycle and is causing performance problems with mousing over chrome. No code change is required.
git-svn-id: svn://10.0.0.236/trunk@80001 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 14:37:55 +00:00
nisheeth%netscape.com
34fd354477 Fix for nsbeta3++ bug 53219. Checking in for joki because he is away for a DOM face to face meeting today and tomorrow.
git-svn-id: svn://10.0.0.236/trunk@80000 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 14:34:50 +00:00
kin%netscape.com
357648d514 fix bug #51557; move JS functions out of html into xul; r/a=kin, sfraser
git-svn-id: svn://10.0.0.236/trunk@79999 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 14:33:05 +00:00
jim_nance%yahoo.com
9002271977 Workaround for bug 50782. The first attempt to fix this was r=pnull
a=brendan r=brendan.  Unfortunatly it broke the Mac.  This is the same
patch with #ifdefs for the mac.  This is r=scc


git-svn-id: svn://10.0.0.236/trunk@79998 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 11:48:54 +00:00
mcafee%netscape.com
2c5afc07f8 First add
git-svn-id: svn://10.0.0.236/trunk@79997 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 08:06:35 +00:00
wtc%netscape.com
fea63cfbcf Use '$(INSTALL) -m 444' to install files in nss/lib/crypto. By default
INSTALL is $(NSINSTALL) -R on Unix, which creates relative-path symlinks.


git-svn-id: svn://10.0.0.236/trunk@79994 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 05:51:04 +00:00
akhil.arora%sun.com
281efa9839 fixes for making auto proxies work again (phase1) b=53080 r=gagan@netscape.com a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79992 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 02:03:43 +00:00
varada%netscape.com
5cef111f48 changing ib.cpp because of jar changes
git-svn-id: svn://10.0.0.236/trunk@79990 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 01:42:51 +00:00
cmanske%netscape.com
6fb48462ec Repairing code accidentally remove by subsequent checkin: b=53377, r=mjudge, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@79989 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 01:09:49 +00:00
cls%seawood.org
0ff119d973 Make build ids work on unix again. Bug #53559 r=jag a=jar
git-svn-id: svn://10.0.0.236/trunk@79987 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 00:38:38 +00:00
andreww%netscape.com
6f662aecd5 bugzilla=53813, r=hewitt, a=hangas, fix for bad reference to prefpanels.css messing up skin switching.
git-svn-id: svn://10.0.0.236/trunk@79986 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 00:12:08 +00:00
ben%netscape.com
821c50a74b fix for 53537, middle mouse click drag on scrollbar causes clipboard to load in content area.
patch from jrgm, r=alecf, sr=ben (juss' checking it in...)


git-svn-id: svn://10.0.0.236/trunk@79984 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 00:08:27 +00:00
mcafee%netscape.com
86ddc3ed86 Ctrl-Home isn't supposed to go to home page, says lake the UI czar (51597). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@79983 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 23:02:08 +00:00
sspitzer%netscape.com
cd6fb60fe5 fix for nsbeta3++ bug #2203.
the problem was we were calling CreateIncomingServer() before the accounts were
loaded.  To solve this, I put a safe call to LoadAccounts() at the start of
CreateIncomingServer().

looking at the checkin logs, mscott made the same fix a while ago, but it got
overwritten by another change.

r/a=mscott


git-svn-id: svn://10.0.0.236/trunk@79982 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 22:37:13 +00:00
nhotta%netscape.com
47e7ee700d Changed to delay unescaping URI so it's only applied to a folder path portsion, bug 52165, r=putterman, a=alecf.
git-svn-id: svn://10.0.0.236/trunk@79980 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 22:09:59 +00:00
mcafee%netscape.com
3a78308de9 Adding ctrl+/- accelerators for View|Text Size enlarge/reduce (51597). patch=jag, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@79979 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 22:05:40 +00:00
despotdaemon%netscape.com
2608ad259a Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@79978 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 21:57:23 +00:00
attinasi%netscape.com
c1aa8ab9c0 Checking for null before deref: b=55358 r=a=buster
git-svn-id: svn://10.0.0.236/trunk@79976 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 21:00:32 +00:00
harishd%netscape.com
8ce4b6eeb9 50965 [nsbeta3+ - PDTP1]
Making sure that textnodes are created for SCRIPT,STYLE,TITLE,XMP,TEXTAREA,PLAINTEXT,
in FragmentSink, for editor->HTML Source.

r=jst
a=waterson.


git-svn-id: svn://10.0.0.236/trunk@79974 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 19:19:28 +00:00
sonmi%netscape.com
c19b7513e8 added SHLIB_PATH and LIBPATH for HPUX and AIX
git-svn-id: svn://10.0.0.236/trunk@79972 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 18:47:15 +00:00
jband%netscape.com
218ad77245 NOT PART OF BUILD. fixing tools bustage
git-svn-id: svn://10.0.0.236/trunk@79970 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 10:24:36 +00:00
rjc%netscape.com
d6ffb7a06f Fix bug # 53835: use appropriate namespace. r=waterson sr=brendan
git-svn-id: svn://10.0.0.236/trunk@79969 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 09:57:21 +00:00
idk%eng.sun.com
9a670ffd77 * NOT PART OF TBOX BUILDS *
Fixed bug with attributes handling.
Reported by Arthur Barrett


git-svn-id: svn://10.0.0.236/trunk@79968 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 08:46:42 +00:00
kvisco%ziplink.net
0e84aa541e Not part of regular build, a=leaf. Fixed xsl:include, reported by Steve Tinney
git-svn-id: svn://10.0.0.236/trunk@79967 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 07:38:51 +00:00
idk%eng.sun.com
ab0393e100 * NOT PART OF TBOX BUILDS *
Updated Pluglets to tip of the tree and latest jdk1.3 on solaris
Fixed 40615


git-svn-id: svn://10.0.0.236/trunk@79966 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 06:53:53 +00:00
hewitt%netscape.com
efefac8ab7 #53735 - [Modern] preventing toolbar buttons from stealing focus, r=andreww, a=hangas
git-svn-id: svn://10.0.0.236/trunk@79965 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 06:22:46 +00:00
m_kato%ga2.so-net.ne.jp
9940474780 fix bug 52863 r=rginda a=ben
fix installed-chrome.txt problem.  All chatzilla component do not register to installed-chrome.txt.  So IRC menu isn't shown in Task menu.


git-svn-id: svn://10.0.0.236/trunk@79964 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 06:10:39 +00:00
ssu%netscape.com
370cd25ed0 fixing bugscape #2469 - setuprsc.dll contains windows extended dialogs. sr=vishy r=dveditz affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@79963 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 05:23:00 +00:00
cls%seawood.org
0673f064f2 Fix OS/2 gmake problem. Bug #54080. r=leaf a=brendan Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch
git-svn-id: svn://10.0.0.236/trunk@79962 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 05:20:06 +00:00
kmcclusk%netscape.com
9f4886f121 Added new method to control whether ViewManager and ViewManager2 double-buffer when rendering. bug 49743 a=roc+moz@cs.cmu.edu r=peterl@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79960 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 05:04:53 +00:00
warren%netscape.com
c597247d16 Bug 52111. Fix for race condition between file transport and async stream listener -- mStatus was temporarily getting set to WOULD_BLOCK. code=alex@cendio.se, r=warren
git-svn-id: svn://10.0.0.236/trunk@79959 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 05:03:47 +00:00
radha%netscape.com
a650350252 Fix for bug # 52457. Autocomplete not active in modern themes. r=ben, a=ben
git-svn-id: svn://10.0.0.236/trunk@79958 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 04:52:12 +00:00
wtc%netscape.com
f014e09be3 Bugzilla bug #54131: link executable programs with the -z and +s linker
options.


git-svn-id: svn://10.0.0.236/trunk@79957 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 04:49:09 +00:00
waterson%netscape.com
3f80aa8798 Bug 53608. Avoid creating atoms in nsXULContentUtils. r,a=hyatt
git-svn-id: svn://10.0.0.236/trunk@79956 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 03:54:44 +00:00
sfraser%netscape.com
44996a74ef Fix build scripts to work when using BuildNGLayout{Debug}.pl to both pull and build (configure after the checkout), and fix MozJar.pm to generate correct paths in installed-chrome.txt when not using jar files.
git-svn-id: svn://10.0.0.236/trunk@79954 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 02:24:55 +00:00
warren%netscape.com
5456205381 Fixed REGCHROME to work when MOZ_DISABLE_JAR_PACKAGING is defined. r=waterson
git-svn-id: svn://10.0.0.236/trunk@79953 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 02:21:41 +00:00
pschwartau%netscape.com
9bd84a2465 Adding new test case for scope check and creating js1_5 test suite.
git-svn-id: svn://10.0.0.236/trunk@79950 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 21:24:09 +00:00
thayes%netscape.com
aef272aa20 Add UTF8String handling to Name attributes.
git-svn-id: svn://10.0.0.236/trunk@79949 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 21:13:24 +00:00
svn%xmlterm.org
2ca3d7e207 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Fix for XMLterm user level/icons mode selection (workaround for bug 53448).


git-svn-id: svn://10.0.0.236/trunk@79947 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 14:57:27 +00:00
nboyd%atg.com
0ed7fc4c54 Miscellaneous formatting changes.
git-svn-id: svn://10.0.0.236/trunk@79946 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 14:07:45 +00:00
nboyd%atg.com
d815f995a1 Drop unneeded references.
git-svn-id: svn://10.0.0.236/trunk@79945 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 14:06:47 +00:00
nboyd%atg.com
a077088af8 Fix enum.js regression.
git-svn-id: svn://10.0.0.236/trunk@79944 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 14:04:20 +00:00
cls%seawood.org
bf6bf4c74f Make sure we stay within the posix cmdline length limit (4096) when creating jars. Fix for aix & irix. Bug #53881 r=daa@distributed.net
git-svn-id: svn://10.0.0.236/trunk@79943 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 00:36:12 +00:00
cls%seawood.org
533e71175e Unlink file before rename() ing it. Fixes OS/2 bustage. r=mkaply Bug 51857
git-svn-id: svn://10.0.0.236/trunk@79942 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-25 00:11:03 +00:00
cls%seawood.org
737f4811a5 Make MOZ_DISABLE_JAR_PACKAGING not create jar files.
git-svn-id: svn://10.0.0.236/trunk@79941 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 23:56:38 +00:00
cls%seawood.org
6c1c1f1dda Explicitly check for glib instead of relying upon libIDLs check. Avoid duplicate checks. Bug #53230
git-svn-id: svn://10.0.0.236/trunk@79940 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 23:36:13 +00:00
cls%seawood.org
b5208f7b1f Autoconf's handling of certain cached values appears to be lame. Need to set the cache file to /dev/null so that perl can be found under a new path.
git-svn-id: svn://10.0.0.236/trunk@79939 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 20:45:54 +00:00
cls%seawood.org
d0164aaac3 Bump required perl version to 5.004. Check the PERL env variable for perl as well as the path. Bug #52065 r=jag
git-svn-id: svn://10.0.0.236/trunk@79938 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 20:07:15 +00:00
svn%xmlterm.org
b9cc6b24fc --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Changes to get XMLterm working with the new jar packaging.


git-svn-id: svn://10.0.0.236/trunk@79937 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 14:33:30 +00:00
svn%xmlterm.org
b782bca0ee --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Recent changes to nsChromeProtocolHandler.cpp have caused chrome HTML files to lose their XPConnect privileges. This meant that content/xmlterm.html could no longer access the XMLTermShell object. This checkin provides a somewhat clumsy workaround for that problem, to get XMLterm working with NS PR3/6.0.


git-svn-id: svn://10.0.0.236/trunk@79936 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 14:22:11 +00:00
svn%xmlterm.org
7d7277040e --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Fix to handle click events in inserted HTML fragments properly.


git-svn-id: svn://10.0.0.236/trunk@79935 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 14:13:21 +00:00
disttsc%bart.nl
b2f4a32b89 Last batch of checkins for bug=53297 ('rdf:resource' -> 'resource', 'rdf:containment' -> 'containment'). r=akkana, r=cmanske, r=rginda, r=ben, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79934 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 08:14:55 +00:00
waldemar%netscape.com
5dd5dfffc6 Added void and classof operators
git-svn-id: svn://10.0.0.236/trunk@79933 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 06:08:53 +00:00
cls%seawood.org
5e76e229eb Turn off MONOLITHIC_TOOLKIT for Irix. Thanks to Robert Low <rob@adacel.com.au> for the patch. Bug #53471 r=cls a=brendan
git-svn-id: svn://10.0.0.236/trunk@79931 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-24 02:09:47 +00:00
mozilla.BenB%bucksch.org
fd41c16a4d 51285: Move |EnsureBlockDisplay| to make it less agressive. Patch by attinasi, r=buster
git-svn-id: svn://10.0.0.236/trunk@79930 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 17:59:20 +00:00
disttsc%bart.nl
eed6922727 Turn View -> Text Size back on now that bug 52985 (mac menu bug) is fixed. Bug=53207, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79929 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 14:41:58 +00:00
waldemar%netscape.com
531c0dfeb8 Made implements clauses js2-only
git-svn-id: svn://10.0.0.236/trunk@79928 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 08:15:06 +00:00
pavlov%netscape.com
eedbefe232 fix for bug #52414 r,a,etc=brendan
git-svn-id: svn://10.0.0.236/trunk@79927 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 02:53:16 +00:00
tor%cs.brown.edu
7adc5e3b90 Bug 52275 - crasher if we ended up in DrawComposited() with a zero
width or height.  r=pavlov,scc a=buster


git-svn-id: svn://10.0.0.236/trunk@79926 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 01:55:30 +00:00
brendan%mozilla.org
22321f285c Fix two distinct bugs with similar symptoms (53123, r=law, a=jband).
git-svn-id: svn://10.0.0.236/trunk@79925 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 01:26:03 +00:00
rods%netscape.com
758be6484a The font size for selects and buttons needs to reduce the font size by 2 points
from the default font size set in prefs
b=53744 a=buster


git-svn-id: svn://10.0.0.236/trunk@79923 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 00:30:04 +00:00
relyea%netscape.com
06c8b64538 Fix problem where RSA op failures cause multiple retries of the RSA algorithm.
git-svn-id: svn://10.0.0.236/trunk@79922 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 00:05:27 +00:00
relyea%netscape.com
48c1a3bc08 Move the header files.
git-svn-id: svn://10.0.0.236/trunk@79921 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 00:04:34 +00:00
relyea%netscape.com
ae0d608418 Use the new NSS_NoDB_init.
git-svn-id: svn://10.0.0.236/trunk@79920 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-23 00:00:05 +00:00
nhotta%netscape.com
e1ca114bb9 Changed to escape folder name to prevent 8 bit data from bad conversions,
also changed to apply correct conversions (UTF-8 for RDF, OS native charset for file name), bug 52165, r=putterman, a=alecf.


git-svn-id: svn://10.0.0.236/trunk@79919 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 23:58:19 +00:00
wtc%netscape.com
b42598d7a0 Added perl-generated files nssckpev.h nssckft.h nssckg.h nssck.api.
git-svn-id: svn://10.0.0.236/trunk@79916 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 22:52:20 +00:00
peterlubczynski%netscape.com
41bcbed581 Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 r=buster a=karnaze
git-svn-id: svn://10.0.0.236/trunk@79915 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 22:45:31 +00:00
ddrinan%netscape.com
0a16350103 Copy over ALL of the components directory
git-svn-id: svn://10.0.0.236/trunk@79914 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 22:32:35 +00:00
timeless%mac.com
044938dcec r=ben a=ben. This is to match spec, bug 44895.
git-svn-id: svn://10.0.0.236/trunk@79913 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 21:09:39 +00:00
dr%netscape.com
d6eef97b0f fix for 53750. mmmm, moodifiers. r=putterman,scc
git-svn-id: svn://10.0.0.236/trunk@79910 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 19:03:39 +00:00
putterman%netscape.com
055952db1b Fix for 53736 for jglick. r=hangas,scottip. a=leaf. make search dialog open correctly.
git-svn-id: svn://10.0.0.236/trunk@79909 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 18:29:12 +00:00
putterman%netscape.com
5404507189 Fix for 53752. r=sspitzer, a=leaf. Make drang and drop work in mailnews by removing incorrect ';'
git-svn-id: svn://10.0.0.236/trunk@79908 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 18:09:55 +00:00
putterman%netscape.com
c26a9faec2 Fix for 53736. r=hangas, a=leaf. Make mailnews search dialog come up.
git-svn-id: svn://10.0.0.236/trunk@79907 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 17:53:13 +00:00
relyea%netscape.com
2363b76ffe Add NSS_NoDB_Init()
git-svn-id: svn://10.0.0.236/trunk@79906 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 17:34:29 +00:00
relyea%netscape.com
0403eae9d6 Check in changes to add NSS_NoDB_Init().
git-svn-id: svn://10.0.0.236/trunk@79905 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 17:33:46 +00:00
mkaply%us.ibm.com
b45d8cbddd OS/2 Tinderbox breakage
HOME dir isn't working on OS/2, so profile can't be created so the browser won't come up.
Change to OS2 dir to get things working.
r=dr


git-svn-id: svn://10.0.0.236/trunk@79904 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 17:32:10 +00:00
ddrinan%netscape.com
512fcc3806 Make the component directory writeable
git-svn-id: svn://10.0.0.236/trunk@79903 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 17:06:59 +00:00
mcgreer%netscape.com
397511ee21 revert changes to DH param gen. MPI does compute q=2p+1 for strong primes, but returns q not p. #ifdef in rsa for testing mp_exptmod_d vs. mp_exptmod, mp_exptmod is considerably faster.
git-svn-id: svn://10.0.0.236/trunk@79902 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 16:24:16 +00:00
kestes%staff.mail.com
f647f0ce7b clarify the mailing system discriptions
git-svn-id: svn://10.0.0.236/trunk@79901 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:24:16 +00:00
kestes%staff.mail.com
35b749a41d fully tested
git-svn-id: svn://10.0.0.236/trunk@79900 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:17:14 +00:00
kestes%staff.mail.com
1b657dd390 factor out functions to the new package MailProcess
git-svn-id: svn://10.0.0.236/trunk@79899 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:16:52 +00:00
kestes%staff.mail.com
a114f4ca86 use the new named time constants
use BTData


git-svn-id: svn://10.0.0.236/trunk@79898 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:15:00 +00:00
kestes%staff.mail.com
ef3538a98d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@79897 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:08:53 +00:00
kestes%staff.mail.com
3e20a8b13d add gen test for the bug tracking system
git-svn-id: svn://10.0.0.236/trunk@79896 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:08:09 +00:00
kestes%staff.mail.com
557fbaff34 add information about the bug tracking system
git-svn-id: svn://10.0.0.236/trunk@79895 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:07:28 +00:00
kestes%staff.mail.com
b33c139472 clarify that the timestamp is for the build mail not any other mail.
git-svn-id: svn://10.0.0.236/trunk@79894 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:03:32 +00:00
kestes%staff.mail.com
ea641d2e47 modify escapeHTML() to escape the "'" as well as standard characters,
so that my popup windows code do not see a "'" in their input as this
confuses them. (It does not help the popup but seems like a good idea
to leave in.)


git-svn-id: svn://10.0.0.236/trunk@79893 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:03:03 +00:00
kestes%staff.mail.com
756fb7dca6 add information about bug tracking module
git-svn-id: svn://10.0.0.236/trunk@79892 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:01:58 +00:00
kestes%staff.mail.com
a4fb5cdd81 add named constants for time.
git-svn-id: svn://10.0.0.236/trunk@79891 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:01:32 +00:00
jeff.dyer%compilercompany.com
4cdc60c355 #45692:r=edburns,a=brendan. Backing out latest change.
git-svn-id: svn://10.0.0.236/trunk@79890 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 15:01:29 +00:00
kestes%staff.mail.com
188368516b add use HTMLPopUp; (how did this ever work?)
git-svn-id: svn://10.0.0.236/trunk@79889 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:59:20 +00:00
kestes%staff.mail.com
81628dfe2e localize variables which had not been declared.
add comments to generated html to help debugging.
remove comments about $HTMLPopUp::EMPTY_TABLE_CELL,
     they belong in HTMLPopUp.pm.
Add more data to popup window title.


git-svn-id: svn://10.0.0.236/trunk@79888 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:58:40 +00:00
kestes%staff.mail.com
24a82c7783 typo
git-svn-id: svn://10.0.0.236/trunk@79887 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:56:14 +00:00
kestes%staff.mail.com
4a579248b7 use configure to set #!perl
git-svn-id: svn://10.0.0.236/trunk@79886 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:55:58 +00:00
kestes%staff.mail.com
eb4fab01ed increase time for tipClose so that IE users get a chance to read the
popup windows while javascript fights for focus.


git-svn-id: svn://10.0.0.236/trunk@79885 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:55:12 +00:00
wtc%netscape.com
6e29508dde Bugzilla bug #53114: fixed license.
git-svn-id: svn://10.0.0.236/trunk@79884 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:55:03 +00:00
wtc%netscape.com
46066dbd6d Added a white space.
git-svn-id: svn://10.0.0.236/trunk@79883 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:52:32 +00:00
mkaply%us.ibm.com
2cecdb7f90 #53387
r=brendan, a=brendan
We were doing bad things to the OS/2 character code before we gave it to XP


git-svn-id: svn://10.0.0.236/trunk@79882 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:43:19 +00:00
rods%netscape.com
4a1da53975 now prints only leaf docshells when there is a frameset and print leaf docshells
AND the rest of the document for anything else.
b=47478 a=buster


git-svn-id: svn://10.0.0.236/trunk@79881 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:42:13 +00:00
jeff.dyer%compilercompany.com
3e3315c27f #45692:r=edburns,a=brendan. Followup fixes for oji liveconnect security. Second attempt.
git-svn-id: svn://10.0.0.236/trunk@79880 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 14:17:46 +00:00
jeff.dyer%compilercompany.com
46c56443e5 #45692:r=edburns,a=brendan. Followup fixes for oji liveconnect security.
git-svn-id: svn://10.0.0.236/trunk@79879 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 13:48:20 +00:00
mkaply%us.ibm.com
b1ecc043c5 OS/2 Tinderbox break
Using true instead of PR_TRUE


git-svn-id: svn://10.0.0.236/trunk@79878 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 12:16:14 +00:00
jst%netscape.com
9a5175b281 Oops, missed a file, this should fix the horkeage.
git-svn-id: svn://10.0.0.236/trunk@79877 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 11:16:27 +00:00
jband%netscape.com
3b9eecb7ec backing out check in from jin_nance that broke Mac
git-svn-id: svn://10.0.0.236/trunk@79876 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:42:54 +00:00
hewitt%netscape.com
70dc19ecee wrong case on makefile.in, full checkin coming in a sec for bug #51645
git-svn-id: svn://10.0.0.236/trunk@79875 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:19:16 +00:00
jst%netscape.com
b45fd7a390 Redoing how 'replaceable' properties on DOM objects are resolved to be compatible with 4.x, with this change named frames in framesets override 'replaceable' properties so that window.toolbar (or any replaceable property) in a frameset document with a frame named 'toolbar' actually resolves to the frame, and not the native toolbar. r/a=brendan, r=rpotts&scc
git-svn-id: svn://10.0.0.236/trunk@79874 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:18:07 +00:00
jband%netscape.com
8f808e9b01 checking in patch from Jon Smirl <jonsmirl@mediaone.net> that lets us see past xptcall 'SharedStub' frames in stack traces. Because xptcall was doing a non-standard frame the debuggers and trace tools were not showing callers. This fixes that problem and will allow us to get *much* better data on crashes and other problems where the stack crosses xptcall. Tested on debug and release. r=jband@netscape.com, a=brendan@mozilla.org, a=waterson@mozilla.org. Thank you Jon!
git-svn-id: svn://10.0.0.236/trunk@79873 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:09:23 +00:00
hewitt%netscape.com
eabbfb7284 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@79872 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 09:45:35 +00:00
jim_nance%yahoo.com
ff4e76f2a7 Fixed 50782. Multiply defined symbols cause Tru64 5.0 to crash.
Found and fixed by harbaugh.  Fix improved by tor, r=pnunn, a=brendan


git-svn-id: svn://10.0.0.236/trunk@79871 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 09:18:40 +00:00
scc%mozilla.org
fa0975f86b bug #36908: checking in for endico, r=scc, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79870 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 09:05:57 +00:00
hewitt%netscape.com
11d21b9c95 #46423 - [Modern] focus border for menulist, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79869 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 09:05:01 +00:00
scc%mozilla.org
2e8330aa99 bug #36908: checking in for endico, r=scc, a=brendan. This file may no longer be used, but it's here, so I'm patching it appropriately. If it's not used, no harm done.
git-svn-id: svn://10.0.0.236/trunk@79868 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 08:44:13 +00:00
scc%mozilla.org
960306f179 bug #36908: checking in for endico, r=scc, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79867 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 08:42:44 +00:00
waldemar%netscape.com
7f85fa8f1a Major revisions for Sep 18 and 21 language changes
git-svn-id: svn://10.0.0.236/trunk@79866 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 08:16:22 +00:00
waldemar%netscape.com
6abc9a93ec Removed "constructor" keyword
git-svn-id: svn://10.0.0.236/trunk@79865 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 08:14:56 +00:00
scc%mozilla.org
1bb5c6c6ce bug #36908: checking in for endico, r=scc, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79864 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 07:51:47 +00:00
beard%netscape.com
c985ec638f [not part of build] base class for all references, provides interior pointer detection.
git-svn-id: svn://10.0.0.236/trunk@79863 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 07:35:59 +00:00
beard%netscape.com
9c224f03d5 [not part of build] interior pointer detection, cycle detection.
git-svn-id: svn://10.0.0.236/trunk@79862 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 07:32:52 +00:00
ssu%netscape.com
c9414dffa7 fixing bug #39015 - enabling proxy info to be set in bin\defaults\prefs\all-proxy.js if set in installer as well. a=mscott r=dveditz
git-svn-id: svn://10.0.0.236/trunk@79861 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 07:29:58 +00:00
mcafee%netscape.com
96076802e0 Adding rule to add separators in taskbar menus, e.g. <NC:separator>sep</NC:separator> (bugscape 2281). r=saari,ben
git-svn-id: svn://10.0.0.236/trunk@79860 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:52:36 +00:00
saari%netscape.com
2a874a3d33 fix for 53017, linux specific focus bug. a=brendan
git-svn-id: svn://10.0.0.236/trunk@79859 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:48:56 +00:00
av%netscape.com
c6e1678052 Fix for 44692, allowing default plugin guess about mime type by extension, a=mscott
git-svn-id: svn://10.0.0.236/trunk@79858 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:31:29 +00:00
mstoltz%netscape.com
eddbf0c4fe bug 24765, hooking up necko file cache to jar protocol. Hopefully without leaks this time. Also fixed leak in nsJARURI. r=beard, warren
git-svn-id: svn://10.0.0.236/trunk@79857 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:21:18 +00:00
av%netscape.com
43504d4fc0 Fix for 53399, check for null-pointer to avoid crash, by sean, r=av, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79856 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:17:28 +00:00
ben%netscape.com
c1f7605975 46519, classic skin polish fixes, remove bottom border from internetresults tree. a=hyatt
git-svn-id: svn://10.0.0.236/trunk@79855 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:13:47 +00:00
saari%netscape.com
1449d3bf79 Mac part of 48785 (hyatt's keybinding checkin) and also a fix for 52552. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79854 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 06:03:13 +00:00
hyatt%netscape.com
53b9fa182d added files: mozilla/layout/xbl/src/nsXBLWindowKeyHandler.cpp
git-svn-id: svn://10.0.0.236/trunk@79853 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:49:40 +00:00
hyatt%netscape.com
0f1e48936e removed files: mozilla/rdf/content/src/nsXULKeyListener.cpp
git-svn-id: svn://10.0.0.236/trunk@79852 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:47:47 +00:00
hyatt%netscape.com
de4a9b070d added files: mozilla/rdf/content/src/nsXULKeyListener.cpp
git-svn-id: svn://10.0.0.236/trunk@79851 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:45:45 +00:00
hyatt%netscape.com
8d87fd2a19 48758. r=ben,saari, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79850 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:44:16 +00:00
hewitt%netscape.com
2d104433f1 #51645 - mac theme preview images, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79849 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:42:05 +00:00
wtc%netscape.com
d729098ae8 Bugzilla bug #53114: fixed license in nss/cmd/zlib/Makefile and
manifest.mn.  Thanks to Brian Ryner <bryner@netscape.com> for the bug
report.


git-svn-id: svn://10.0.0.236/trunk@79848 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:35:35 +00:00
hyatt%netscape.com
bd7730ac60 48758. r=ben,saari, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79847 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:31:36 +00:00
timeless%mac.com
4fd864a251 a=ben, partial fixes for bugs 38840, 41535 and Mail3PaneVertlayout
git-svn-id: svn://10.0.0.236/trunk@79846 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:30:04 +00:00
hewitt%netscape.com
35f0785e9e #46423 - make menulists crop, fixes overflowing text on messengercompose in modern. r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79845 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:17:53 +00:00
hewitt%netscape.com
69cc2f0a34 #46519 - s/align/orient on tabcontrol, corrects classic look, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79844 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:14:11 +00:00
cmanske%netscape.com
78ede3e3a8 Fixed bugs 43394 (wrong type for getting recent menu max items pref), 52878 (wrong doc url results in adding a charset incorrectly), 47704 (making composer new page prefs work). r=mjudge. a=ben
git-svn-id: svn://10.0.0.236/trunk@79843 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:13:34 +00:00
bryner%uiuc.edu
97949f9310 Oops, forgot this file. bug 53648, r=scc, a=gagan,brendan.
git-svn-id: svn://10.0.0.236/trunk@79842 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:09:36 +00:00
ccarlen%netscape.com
8388f7b7b5 Bug #48981
Make use of mpfilelocprovider for Shrimp
r=bhuvan,mscott


git-svn-id: svn://10.0.0.236/trunk@79841 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:05:48 +00:00
vishy%netscape.com
144cb573f0 bugzilla 52182. r=a=mscott.
Modify the logic to launch external browser (only for target=_content
and target=_blank links). Also add something to DocShellLoadInfo
so that a user of nsDocShell::LoadURI can specify the target desired.


git-svn-id: svn://10.0.0.236/trunk@79840 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:04:58 +00:00
ccarlen%netscape.com
9bb8b1d598 Bug #48981
Added mpfilelocprovider lib to makefile
r=bhuvan,mscott


git-svn-id: svn://10.0.0.236/trunk@79839 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:04:47 +00:00
hewitt%netscape.com
929c75b66e #46423 - [Modern] focus borders on widgets, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79838 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:03:57 +00:00
ccarlen%netscape.com
74a90a99c3 Bug #48981
Added mpfilelocprovider lib to project
r=sfraser


git-svn-id: svn://10.0.0.236/trunk@79837 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:03:30 +00:00
hyatt%netscape.com
0e0805138e 48758. r=ben,saari, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79836 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:02:20 +00:00
blakeross%telocity.com
3d641b38d9 Fix nsbeta3+ bug 50202, IE favorites not working in PT Bookmarks menu. r=a=don
git-svn-id: svn://10.0.0.236/trunk@79835 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:57:06 +00:00
dveditz%netscape.com
4d29994735 bug 47080 change value of navigator.platform for backward compatibility, r=sgehani,a=scc
git-svn-id: svn://10.0.0.236/trunk@79834 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:52:22 +00:00
radha%netscape.com
5405a421fe Fix for bug #52215 r=ben a=ben
git-svn-id: svn://10.0.0.236/trunk@79833 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:51:34 +00:00
scc%mozilla.org
cabcbd58e4 bug#53648: including IDL from the security world; actually bryner's change; r=scc, a=gagan,brendan
git-svn-id: svn://10.0.0.236/trunk@79832 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:42:21 +00:00
bryner%uiuc.edu
0d33cc389b Moving files out of security/base at request of security team. The new home for these files is in netwerk. Bug 53648. r=scc. a=gagan,brendan.
git-svn-id: svn://10.0.0.236/trunk@79831 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:42:20 +00:00
pinkerton%netscape.com
c38e9e651f in the event proc for the NavServices dialogs, tell the watch task that we've hit an event loop so that it doesn't change the cursor to a watch. r=hyatt, bug# 53121
git-svn-id: svn://10.0.0.236/trunk@79830 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:27:24 +00:00
cmanske%netscape.com
26ff6cc9d3 Fixed wrong image for toolbar bug 53588. r=mjudge, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@79829 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:27:07 +00:00
neeti%netscape.com
f9d6a6c4f8 fix for bug 51095- mStorageInUse grows faster than required if we update files.r=dp,a=mscott
git-svn-id: svn://10.0.0.236/trunk@79828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:17:22 +00:00
hewitt%netscape.com
9e91428b33 #46423 - on behalf of jglick: mail/news search dialog cleanup, r=hewitt, a=hangas
git-svn-id: svn://10.0.0.236/trunk@79827 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:14:04 +00:00
rpotts%netscape.com
d56d04d162 bug #53273 (r=neeti,fur a=me).Clear the TRUNCATED_CONTENT flag when all of the data arrives for a URI. This handles the case where the entry was evicted (and the content was truncated) and is later reused...
git-svn-id: svn://10.0.0.236/trunk@79826 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 04:12:42 +00:00
chuang%netscape.com
1b3a8cc931 Bug50584 Lists in Personal Address Book not migrating as lists, r=putterman,a=mscott
git-svn-id: svn://10.0.0.236/trunk@79825 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:59:13 +00:00
hewitt%netscape.com
781b6f3216 #46423 - remove underlines from personal toolbar folders on :hover, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79824 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:54:42 +00:00
hewitt%netscape.com
0c1e4fe8a6 #46423 - mac font correctness on search button, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79823 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:53:40 +00:00
hewitt%netscape.com
4eadc013ed #46423 - return black bottom border to personal toolbar, r=marlon, a=ben
git-svn-id: svn://10.0.0.236/trunk@79822 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:52:07 +00:00
hewitt%netscape.com
60ab465817 #46423 - on behalf of jag: correctly sized check image, r=hewitt, a=ben
git-svn-id: svn://10.0.0.236/trunk@79821 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:50:21 +00:00
hewitt%netscape.com
c0ef5ee3cd #46423 - make text colors consistent in modern, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79820 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:49:39 +00:00
hewitt%netscape.com
47b299f3f7 #46423 - color adjustment on bookmark icons, r=hyatt, a=ben
git-svn-id: svn://10.0.0.236/trunk@79819 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:48:40 +00:00
jefft%netscape.com
1f98c68b8b fixed bug53238.txt -- Data loss: attachment option {Save All} fails to prompt user if destination dir has an existing file w/ same file name. r=mscott; a=msanz
git-svn-id: svn://10.0.0.236/trunk@79818 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:46:31 +00:00
ccarlen%netscape.com
72e6e9370e Adding mpfilelocprovider to build
This lib is being used to fix #48981
r=bhuvan, mscott


git-svn-id: svn://10.0.0.236/trunk@79817 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:46:18 +00:00
mscott%netscape.com
aeb15cd0e7 Bug #44176 --> pass in the length as the max progress for the download. This allows implementors of
nsIWebProgressLIstener to get notifications for ftp downloads.
r=valeski r=gagan


git-svn-id: svn://10.0.0.236/trunk@79816 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:46:11 +00:00
mscott%netscape.com
5d650ce115 Bug #44176 --> in order to have a progress dialog for helper apps, we reset the notifications. http
wasn't regenerating the proxied notifciation calls.
r=gagan


git-svn-id: svn://10.0.0.236/trunk@79815 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:44:13 +00:00
ccarlen%netscape.com
510117945d This lib is being used to fix #48981
This change is for a whole in the Unix implementation of nsIFile
r=bhuvan, mscott


git-svn-id: svn://10.0.0.236/trunk@79814 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:43:12 +00:00
dbragg%netscape.com
515c8f7edc Fix for bug 53511. Added the warning text and formatted the dialog to fit it correctly. r=ben a=ben
git-svn-id: svn://10.0.0.236/trunk@79813 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:17:52 +00:00
putterman%netscape.com
cf3bbb471f More work on 46888. Checking in for naving. Make sure delete doesn't prevent messages from being displayed later on. r=scottip,a=alecf.
git-svn-id: svn://10.0.0.236/trunk@79812 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:10:21 +00:00
ben%netscape.com
a648f48f5b part of previous checkin, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@79811 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 03:00:04 +00:00
ben%netscape.com
990dbe9766 fix for bug 53265, trees, menulists, etc have grey background on linux.
Introduce some unix-classic stylesheets here to force the colour scheme for these widgets to be black-on-white. a=hyatt@netscape.com.

Update the windows classic skin files for textfields to remove the hack put in place to accommodate linux.


git-svn-id: svn://10.0.0.236/trunk@79810 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:58:41 +00:00
shanjian%netscape.com
daaa82a806 #49414 crash in exist when global ime exist
r/a=ftang
gAIMMApp->Deactivate() should be called before release. This is documented
in MS documentation and tested in 4.x code.


git-svn-id: svn://10.0.0.236/trunk@79809 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:54:28 +00:00
taka%netscape.com
dd5e79acec fix for #45222. r=alecf, a=alecf
git-svn-id: svn://10.0.0.236/trunk@79808 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:52:11 +00:00
varada%netscape.com
5737de1749 fix for bug#31263;make splitters persist position in mail;r=putterman;a=alecf
git-svn-id: svn://10.0.0.236/trunk@79807 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:51:33 +00:00
varada%netscape.com
e1e2ea4db4 fix for bug#28520; keyboard navigation for mail;r=putterman;a=alecf
git-svn-id: svn://10.0.0.236/trunk@79806 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:51:23 +00:00
alecf%netscape.com
9e2154c173 fix for #53200 r=putterman,mscott
make the priority and status strings localizable, and add a priority string for "Normal"
localization change a=msanz


git-svn-id: svn://10.0.0.236/trunk@79805 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:48:11 +00:00
timeless%mac.com
ec823041ed another fix for another part of bug 41535 r=cmanske a=ben.
git-svn-id: svn://10.0.0.236/trunk@79804 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:45:51 +00:00
ben%netscape.com
4966dbf83e fix for 51360, cleanup for sidebar panel preview. r=matt, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@79803 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:30:34 +00:00
sgehani%netscape.com
09af5ae64b Throw up an error dialog and stop if any zippy errors detected. [nsbeta3+ b=34014; r=ssu; a=syd]
git-svn-id: svn://10.0.0.236/trunk@79802 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:23:54 +00:00
sgehani%netscape.com
d075dda93e Make linux installer work with netscape.com ftp servers. Flush the *entire*
response from the control connection.
[nsbeta3++ b=53289; r=ssu; a=mscott]


git-svn-id: svn://10.0.0.236/trunk@79801 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 02:20:32 +00:00
av%netscape.com
c82a187603 This should fix the redness
git-svn-id: svn://10.0.0.236/trunk@79800 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 01:48:05 +00:00
ftang%netscape.com
15aa3407c3 fix bug 53210. check in for yokoyama from ftang
a=ftang r=ftang remove static link of IMM32.DLL


git-svn-id: svn://10.0.0.236/trunk@79799 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 01:06:51 +00:00
ftang%netscape.com
b1d31f2c7d fix bug 33162. a=ftang
check in machine generate code
remove NEC japanese range


git-svn-id: svn://10.0.0.236/trunk@79798 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 01:03:39 +00:00
av%netscape.com
8c26ff9682 Fixing #36089. Allowing Mac browse through both 'Plugins' and 'Plug-ins' folders, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79797 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:58:46 +00:00
ben%netscape.com
b3a6bd3bc0 fix for b53137, classic dual menubuttons don't click down anymore. Remove the hacks
that I put in place to compensate for incorrect :hover behaviour. r=ianh, a=hyatt


git-svn-id: svn://10.0.0.236/trunk@79796 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:55:35 +00:00
attinasi%netscape.com
8dda09c87d Added viewsource.css: style rules for viewsource window, extracted from html.css. Not Part Of Build, Not currently used. a=ianh@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79795 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:53:20 +00:00
sspitzer%netscape.com
9868572343 removing script, since it no longer works. r/a=ben
git-svn-id: svn://10.0.0.236/trunk@79794 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:44:18 +00:00
sspitzer%netscape.com
b6002faa44 fix for #53487. get open attachment to work from news messages.
code stolen from mscott's code for imap & local messages.
r/a=mscott.


git-svn-id: svn://10.0.0.236/trunk@79793 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:44:08 +00:00
mjudge%netscape.com
bf52251b65 r=sfrasier a=pdt+ fixing plain text mail 33654 see kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:43:44 +00:00
mscott%netscape.com
c1c3ebc382 Bug #51403, 52875 --> don't fall out with a failure just because we can't get a last
modification date for a document... r=a=waterson


git-svn-id: svn://10.0.0.236/trunk@79791 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:43:40 +00:00
mjudge%netscape.com
c28fcc88a1 r=sfrasier a=pdt fixed submitting not sending an on-change event before submit event.
git-svn-id: svn://10.0.0.236/trunk@79790 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:43:16 +00:00
rjc%netscape.com
11f9a7932b Fix bug # 52789: bookmark sorting fix. r=jag, brendan, scc
git-svn-id: svn://10.0.0.236/trunk@79789 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:42:21 +00:00
warren%netscape.com
e227340ba1 Fix for throbber blocker -- mixed up override and non-override case in make-jars.pl. Also fix for os/2 problem -- can't call utime on open file. Also removed extra CRs from die cmds. r=ssu,mkaply@us.ibm.com,fosterd@hartwick.edu
git-svn-id: svn://10.0.0.236/trunk@79788 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:31:58 +00:00
sfraser%netscape.com
283710af89 Fixing Mac out of memory blocker (dupped to bug 20743); make the low memory buffer purgeable again after reallocating it, and tweak the heap space numbers for GWorld allocations. r=pchen, sr=scc
git-svn-id: svn://10.0.0.236/trunk@79787 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:17:07 +00:00
despotdaemon%netscape.com
8da099d22b Pseudo-automatic update of changes made by yokoyama@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@79786 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:16:23 +00:00
edburns%acm.org
496cf20121 bug=47878
r=edburns
a=edburns
author=rmv@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@79785 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:06:21 +00:00
ddrinan%netscape.com
88d5cc777e Copy ALL the contents of the components directory during build_xpi
git-svn-id: svn://10.0.0.236/trunk@79784 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:02:19 +00:00
mcgreer%netscape.com
d5e129d039 Fix DH param gen, MPI returns Sophie-Germain prime q, then compute 2q + 1. Initial checkin of two KEA functions.
git-svn-id: svn://10.0.0.236/trunk@79783 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 23:45:24 +00:00
gordon%netscape.com
a997b26141 Change for bug 21095 "about:cache and logging cache requests." Enabling changes for Macintosh. Added nsAboutCache.cpp to project file, and removed #if defs from nsNetModule.cpp. r=pinkerton a=brendan.
git-svn-id: svn://10.0.0.236/trunk@79782 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 23:08:12 +00:00
robinf%netscape.com
ddf93d4b95 fixing bug 52345: added View File button for panels.rdf
git-svn-id: svn://10.0.0.236/trunk@79781 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 23:02:44 +00:00
ddrinan%netscape.com
12277c548d This script will run regxpcom
git-svn-id: svn://10.0.0.236/trunk@79772 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 21:51:57 +00:00
ddrinan%netscape.com
a7c62abbcf More bug fixes for regxpcom
git-svn-id: svn://10.0.0.236/trunk@79771 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 21:50:23 +00:00
erik%netscape.com
f214eba503 bug 53585 and bug 53569; fixing a leak; r/a=brendan; a=granrose
git-svn-id: svn://10.0.0.236/trunk@79770 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 21:46:47 +00:00
sfraser%netscape.com
6accd6a5dd Rebuilt the project to attempt to avoid CodeWarrior crashes. a=granrose
git-svn-id: svn://10.0.0.236/trunk@79769 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 20:19:04 +00:00
evaughan%netscape.com
dbfd446b6e Fix for startup bug
-r waterson


git-svn-id: svn://10.0.0.236/trunk@79768 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 20:17:04 +00:00
ddrinan%netscape.com
42f5399239 Fix the directory location of regxpcom
git-svn-id: svn://10.0.0.236/trunk@79767 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 20:09:13 +00:00
mstoltz%netscape.com
6af6562c9e Fixing leak in nsXMLDocument to get the tree reopened. r=mccabe, brendan
git-svn-id: svn://10.0.0.236/trunk@79766 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 19:48:11 +00:00
ddrinan%netscape.com
9e00e22ad0 Fixed a problem with generating the component.reg file
git-svn-id: svn://10.0.0.236/trunk@79765 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 18:08:25 +00:00
warren%netscape.com
9e11d90fca Made it so that the commercial tree can find make-jars.pl
git-svn-id: svn://10.0.0.236/trunk@79764 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 17:24:07 +00:00
warren%netscape.com
44e0492e93 Added unlink before copy for case where commercial tree has a symlink.
git-svn-id: svn://10.0.0.236/trunk@79763 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 17:23:29 +00:00
cltbld%netscape.com
b4f8897a1c Do NOT hardcode values into the unix build. Let configure handled it. Fixing cement bustage
git-svn-id: svn://10.0.0.236/trunk@79762 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 16:37:14 +00:00
ccarlen%netscape.com
3c38de7ee0 Fix for #52181
r=dougt, a=buster


git-svn-id: svn://10.0.0.236/trunk@79761 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 13:45:31 +00:00
disttsc%bart.nl
6a7e4c2cd1 Partial fix for bug=53297 (rdf:resource -> resource), r=pavlov, a=waterson
git-svn-id: svn://10.0.0.236/trunk@79760 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 13:32:30 +00:00
disttsc%bart.nl
eae12a24b7 Removing bookmarks.xul per dmose's suggestion ("that was really just me messing around"). bug=53297, r=dmose, a=(not in build).
git-svn-id: svn://10.0.0.236/trunk@79759 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 13:27:25 +00:00
locka%iol.ie
0f0bc80169 Commented out reference to undefined enum. b=39158
git-svn-id: svn://10.0.0.236/trunk@79758 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 12:08:31 +00:00
cls%seawood.org
663ac2d8a3 Removing perl mod test as it appears to be causing some ports to fail when they normally would not have.
git-svn-id: svn://10.0.0.236/trunk@79757 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 11:13:00 +00:00
locka%iol.ie
f7f131f31f Put a reentrancy hack into ActiveX control to prevent multiple instances of the control each trying to call NS_InitXPCOM and crashing. Should help VB programmers a lot. b=39158, a=valeski, r=valeski
git-svn-id: svn://10.0.0.236/trunk@79756 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 11:11:11 +00:00
pierre%netscape.com
8ae19847aa fix related to the reconstruction of html.css (#6625), the css system fonts (#1021 and #3371) and a regression on the Mac from #44656: make the html form controls look better on the Mac. a=buster
git-svn-id: svn://10.0.0.236/trunk@79755 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 10:22:14 +00:00
pierre%netscape.com
7598a7ebfc fix related to the reconstruction of html.css (#6625) and to css system fonts (#1021): in quirks mode and on each platform, use the same fonts as Nav4 for edit fields, lists and buttons. r=rods a=buster
git-svn-id: svn://10.0.0.236/trunk@79754 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 10:21:23 +00:00
pierre%netscape.com
290d99a73b bug 6625 et al: reconstruction of html.css, ua.css and quirks.css. Checked in for Ian Hickson (ianh@netscape.com). r=pierre a=buster
git-svn-id: svn://10.0.0.236/trunk@79753 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 10:20:23 +00:00
warren%netscape.com
60fc4becf1 Backing out jar protocol change because it introduced a big memory leak on tinderbox test. a=jag
git-svn-id: svn://10.0.0.236/trunk@79752 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 08:26:07 +00:00
cls%seawood.org
46ca8fa98f Argh! We're caching the results of the checks for zip & perl from way back when so we need to check them against : as an error condition.
git-svn-id: svn://10.0.0.236/trunk@79751 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 08:20:16 +00:00
cls%seawood.org
1485477b87 Sigh. We call that script unconditionally onw so this might as well be an error condition.
git-svn-id: svn://10.0.0.236/trunk@79750 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 08:10:19 +00:00
cls%seawood.org
cd1acf3251 adding missing path separators
git-svn-id: svn://10.0.0.236/trunk@79749 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:59:26 +00:00
ben%netscape.com
b3e0262c65 add missing file to fix bustage
git-svn-id: svn://10.0.0.236/trunk@79748 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:58:36 +00:00
warren%netscape.com
be480a8085 Fixed preview.gif in jar.mn
git-svn-id: svn://10.0.0.236/trunk@79747 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:45:26 +00:00
timeless%mac.com
1b885ae62b for bug 41535; r=cmanske, a=brendan; urgent=blake+l10n.
It seems that charsetOverlay was replaced by charsetDetectorsOverlay.


git-svn-id: svn://10.0.0.236/trunk@79746 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:44:39 +00:00
cls%seawood.org
4a9f14a61e fix for objdir bustage
git-svn-id: svn://10.0.0.236/trunk@79745 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:43:43 +00:00
warren%netscape.com
e033f13de3 Removed obsolete make-jars-unix.pl
git-svn-id: svn://10.0.0.236/trunk@79744 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:15:57 +00:00
warren%netscape.com
22384dd887 Made make-jars.pl not make intermediate copy. Fixed problem calling zip multiple times.
git-svn-id: svn://10.0.0.236/trunk@79743 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:14:35 +00:00
cls%seawood.org
82afea4c09 We're going to start checking for perl modules to avoid build bustage down the road. For now, disable jar packaging if we do not have the required modules.
git-svn-id: svn://10.0.0.236/trunk@79742 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:14:29 +00:00
ben%netscape.com
c7023b3ce4 make sure mac build system knows about extra jar.mn introduced by previous checkin...
git-svn-id: svn://10.0.0.236/trunk@79741 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:12:59 +00:00
ben%netscape.com
87eb98ee8f change jar.mn to accommodate previous checkin
git-svn-id: svn://10.0.0.236/trunk@79740 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:12:30 +00:00
ben%netscape.com
54c176cee1 second part of fix for 53159, editor UI fixes. r=hewitt, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@79739 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:11:20 +00:00
hewitt%netscape.com
c21d43a459 46423 - updated non-focused tree selection color, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79738 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:09:56 +00:00
hewitt%netscape.com
55ac99b2fa 46423 - [Modern] first round of new icons, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79737 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:09:31 +00:00
ben%netscape.com
1cfac46e3b first part of fix for 53156, editor UI issues. r=hewitt, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@79736 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:05:00 +00:00
ben%netscape.com
7e4407529f fix for instructional text in search panel not wrapping for narrow sidebar widths, bug 53159,
r=matt, sr=hangas


git-svn-id: svn://10.0.0.236/trunk@79735 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:04:03 +00:00
ben%netscape.com
2feec7dcac Fix for 53154, search customize dialog tidy up. r=hewitt, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@79734 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:02:38 +00:00
ben%netscape.com
e6d74053ce part of previous checkin
git-svn-id: svn://10.0.0.236/trunk@79733 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 07:00:10 +00:00
ben%netscape.com
9dc7de7811 Fix for bug 52966, blank first item in session history popup associated with URLBar. r=hewitt, sr=radha.
git-svn-id: svn://10.0.0.236/trunk@79732 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:59:25 +00:00
hewitt%netscape.com
b6b0f2716b #46519 - put addressbook.css back into classic.jar, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79731 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:57:11 +00:00
hewitt%netscape.com
0f842389df #46423 - [Modern] resurrect edit mode tabs in composer, r=cmanske, a=ben
git-svn-id: svn://10.0.0.236/trunk@79730 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:43:38 +00:00
hewitt%netscape.com
5fecb49040 #46423 - underlines on personal toolbar bookmarks, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79729 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:37:07 +00:00
bryner%uiuc.edu
096b686a65 Fixing 52749 - unset the currentitem attribute on the old current item
when a new one is selected.  sr,a=hyatt.


git-svn-id: svn://10.0.0.236/trunk@79728 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:33:55 +00:00
cls%seawood.org
10bd908e59 Remove hardcoded initial setting of MOZ_DISABLE_JAR_PACKAGING so users can set it in the env passed to configure. Thanks to decklin for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@79727 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:32:18 +00:00
warren%netscape.com
512d3769ea Making windows package the editor stuff. Fixing structure of editor jar.mn
git-svn-id: svn://10.0.0.236/trunk@79726 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:24:54 +00:00
cls%seawood.org
d87759af59 make MOZ_DISABLE_JAR_PACKAGING actually disable the building of jars. ports tinderboxes and other develoers were not ready for the extra build requirements. r=#mozilla
git-svn-id: svn://10.0.0.236/trunk@79725 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:22:06 +00:00
wtc%netscape.com
bdea4bc5b7 One only needs to link with either libcrypto or freebl. We need to copy
freebl/sha_fast.{c,h} to libcrypto to make libcrypto complete.
Modified files: nss/cmd/platlibs.mk, nss/lib/Makefile,
nss/lib/fortcrypt/swfort/pkcs11/Makefile.


git-svn-id: svn://10.0.0.236/trunk@79724 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:20:44 +00:00
buster%netscape.com
c6836cffe9 bug 52333 (infinite loop when shifting focus due to error in frame parentage)
r=waterson
a=waterson
fixed the frame parentage for generated content associated with a leaf element.


git-svn-id: svn://10.0.0.236/trunk@79723 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:04:58 +00:00
buster%netscape.com
2e806dc969 bug 50758 (text-align:right for text control doesn't render as you type)
r=sfraser
a=waterson
We now invalidate the line explicitly if text-align:right is set, because
our incremental painting is biased towards frames that grow to L2R.  This
is a heavy-handed workaround, but it ends up doing very little extra invalidation,
and uses an already existing mechanism by just setting an existing flag.


git-svn-id: svn://10.0.0.236/trunk@79722 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:03:39 +00:00
saari%netscape.com
95b6d2ada8 Fix for 52895, mac menus can get messed up by changing the title of a submenu. r=smfr
git-svn-id: svn://10.0.0.236/trunk@79721 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:29:20 +00:00
pinkerton%netscape.com
acecf6b5f9 remove watch task, it went into gfx. add accessors to get it.
git-svn-id: svn://10.0.0.236/trunk@79718 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:11:54 +00:00
pinkerton%netscape.com
9b75c9ab4a turn off watch task around print dialog, r=sfraser bug 53121.
git-svn-id: svn://10.0.0.236/trunk@79717 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:11:08 +00:00
pinkerton%netscape.com
32756e393e turn off watch task around TrackDrag(), r=sfraser bug 53121.
git-svn-id: svn://10.0.0.236/trunk@79716 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:10:55 +00:00
pinkerton%netscape.com
82380a4b74 add nsWatchTask, r=sfraser bug 53121.
git-svn-id: svn://10.0.0.236/trunk@79715 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:10:04 +00:00
pollmann%netscape.com
b64b4cd23b Bug 51576: Fix a crash when resizing browser to zero height or width for frameset pages; Fix thanks to tobias.weibel@gmx.net; r=self, jst, vidur
git-svn-id: svn://10.0.0.236/trunk@79714 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:07:06 +00:00
cls%seawood.org
9dc307ae32 Moving Cleanup() back into the JarIt() function until a proper fix for the bustage is found.
git-svn-id: svn://10.0.0.236/trunk@79713 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:05:26 +00:00
pinkerton%netscape.com
7aa2b031a8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@79712 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:05:09 +00:00
mstoltz%netscape.com
2767b34064 Final (I hope) fix for 24765, using Necko file cache for the jar protocol. r=beard, a=warren.
git-svn-id: svn://10.0.0.236/trunk@79711 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:01:16 +00:00
pinkerton%netscape.com
5eb8b7c4b8 fix for 53478, mac menu items not responding to hidden attribute. r=saari/sfraser.
git-svn-id: svn://10.0.0.236/trunk@79710 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:01:09 +00:00
jband%netscape.com
bfe1b51ce8 - Use the thread context service rather than our own JSContext. This makes
us less unthreadsafe. Use THREADSAFE nsISupports impl macro. bug 52936
- Add JS_{Begin,End}Request. bug 39373
- Call xpc->InitClass on each global - not just the superglobal. bug 52591
- Remove some gotos using auto classes for cleanup.
- Converted WITH_SERVICE calls to do_GetService.
- Consistent placement of contractID strings.
a=shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@79709 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:30:32 +00:00
cls%seawood.org
7aeac0cad3 Replace custom recursive mkdir with perl5 standard File::Path::mkpath().
git-svn-id: svn://10.0.0.236/trunk@79708 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:29:59 +00:00
cmanske%netscape.com
7ebeb1d121 Strip out quote character in candidate filename, b=53377, r=pnunn, sfraser
git-svn-id: svn://10.0.0.236/trunk@79707 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:25:09 +00:00
cmanske%netscape.com
4e9fee0e5d Fixed hard-coded string, b=2410, r=pnunn, sfraser
git-svn-id: svn://10.0.0.236/trunk@79706 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:23:20 +00:00
rickg%netscape.com
832bd11159 fix potential leak from checkin for bug 48351. r=harishd, a=syd
git-svn-id: svn://10.0.0.236/trunk@79705 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 04:00:34 +00:00
waterson%netscape.com
13983dc9f9 Fix orange on linux; make page cycler load happen on event callback. r=warren, sort of
git-svn-id: svn://10.0.0.236/trunk@79704 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:59:54 +00:00
jband%netscape.com
b010fc6451 rest of the fix for bug 53268. a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79703 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:56:42 +00:00
sspitzer%netscape.com
46ba1a56f0 fix for #53421. make it so we can save attachments from news messages.
the problem was to save attachments, we were calling DisplayMessage()
with news://host/article-id urls, instead of news_message://host/group#article-number
DisplayMessage() can handle news://host/article-id urls, so we just let it.
r/a=mscott


git-svn-id: svn://10.0.0.236/trunk@79702 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:54:17 +00:00
warren%netscape.com
a7c34311e1 Fixed 'zip warning: name not matched' problem
git-svn-id: svn://10.0.0.236/trunk@79701 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:51:35 +00:00
jst%netscape.com
55f542c6ee Fixing nsbeta3+ 38215. Making with(window.location) { href=someurl; } work by dynamically defining the 'href' property in LocationImpl::Resolve() (since src is defined as [noscript] in the IDL). r/a=vidur, r/a=brendan
git-svn-id: svn://10.0.0.236/trunk@79700 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:43:10 +00:00
ben%netscape.com
61f4054b88 fix for bug 53362, message header view has four collapsed toolbar grippies below it.
patched <toolbar> code to internally use an attribute with a slightly more arcane name
so that changes to XUL are not likely to cause this problem.
r=pinkerton, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@79699 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 03:33:11 +00:00
rickg%netscape.com
f49eac9ff8 WIP for nsbeta3+ bug 52725. r=buster, syd. A=syd. We need to confirm removal of nspr dependency, then we can strip winmm.lib from makefile
git-svn-id: svn://10.0.0.236/trunk@79697 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:59:39 +00:00
rickg%netscape.com
4621c994de fixed nsbeta3+PDT[n] bugs: 48351, 49278, 50070, 52478. Partial fix (WIP) for 49678 and 52725. R=attinasi, buster, syd. A=buster
git-svn-id: svn://10.0.0.236/trunk@79696 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:58:12 +00:00
jst%netscape.com
36f7537a83 Fixing nsbeta3+ 49112. Making with(someimageelement) { src=someurl; } work by dynamically defining the 'src' property in nsHTMLImageElement::Resolve() (since src is defined as [noscript] in the IDL). r/a=vidur, r/a=brendan
git-svn-id: svn://10.0.0.236/trunk@79695 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:42:46 +00:00
pinkerton%netscape.com
bb483bdfa6 Added a line to end the drag session on a drop. Fixes bug 51904. r=evaughan/hyatt
git-svn-id: svn://10.0.0.236/trunk@79694 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:35:10 +00:00
leaf%mozilla.org
15aa30e4a9 Automated update
git-svn-id: svn://10.0.0.236/trunk@79693 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:15:11 +00:00
mcafee%netscape.com
182bde85b7 Adding --disable-jar-packaging for unix. r=warren
git-svn-id: svn://10.0.0.236/trunk@79692 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 02:11:01 +00:00
danm%netscape.com
ad0184667c added null check to previous version's change. bug 53472.
git-svn-id: svn://10.0.0.236/trunk@79691 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:58:25 +00:00
javi%netscape.com
8d634e3465 bug #51568
r=thayes,ddrinan a=brendan

Modify the inputs to open PSM windows so that SDR password windows work properly.


git-svn-id: svn://10.0.0.236/trunk@79690 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:51:15 +00:00
warren%netscape.com
7f169b60ba Fixed (a) not deleting installed-chrome.txt (bugscape bug 2428), (b) made MOZ_DISABLE_JAR_PACKAGING work again, and (c) created dist/bin/chrome directory in add-chrome.pl -- breaking objdir builds. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@79689 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:47:19 +00:00
brendan%mozilla.org
52e543f81e Fix 53268, r=jband.
git-svn-id: svn://10.0.0.236/trunk@79688 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:37:02 +00:00
sfraser%netscape.com
82db7390cc More jar file landing script changes for Mac. New $options flags to control jar build, and some code to sanity check the combinations of options.
git-svn-id: svn://10.0.0.236/trunk@79687 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:36:34 +00:00
mkaply%us.ibm.com
b17acdf843 #53410
r=brendan, a=brendan
Using wrong identifier to get screen width and height


git-svn-id: svn://10.0.0.236/trunk@79686 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:26:00 +00:00
evaughan%netscape.com
4e14fe3ce1 fix for bug #52663
-r hyatt -a waterson


git-svn-id: svn://10.0.0.236/trunk@79683 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:20:00 +00:00
ddrinan%netscape.com
8467faca47 Fixed typo
git-svn-id: svn://10.0.0.236/trunk@79682 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:13:38 +00:00
dveditz%netscape.com
3a199a6226 mac blocker 53461, mail not registered, chatzilla not installed. a/r=warren
git-svn-id: svn://10.0.0.236/trunk@79681 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 01:02:28 +00:00
mcafee%netscape.com
763ecf020b Reverting v1.47 back to 1.46 to fix bustage. r=peterlubczynski
git-svn-id: svn://10.0.0.236/trunk@79679 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:21:24 +00:00
naving%netscape.com
f20ad01615 r=sspitzer a=mscott
git-svn-id: svn://10.0.0.236/trunk@79678 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:19:23 +00:00
naving%netscape.com
f1ec513bd0 r=sspitzer a=mscott. Added CancelFailed()
git-svn-id: svn://10.0.0.236/trunk@79677 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:18:31 +00:00
naving%netscape.com
2ed8824469 r=sspitzer a=mscott. Notifies failures for Cancel
git-svn-id: svn://10.0.0.236/trunk@79676 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:17:20 +00:00
naving%netscape.com
e7f7ad4219 r=sspitzer a=mscott.
git-svn-id: svn://10.0.0.236/trunk@79675 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:16:23 +00:00
naving%netscape.com
6f8e1ce387 r=sspitzer a=mscott. Added mDeleteOrMoveMsgFailed atom for notification in failed cases.
git-svn-id: svn://10.0.0.236/trunk@79674 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:15:47 +00:00
naving%netscape.com
02ceaa2d78 r=sspitzer a=mscott. Added notification for delete/cancel failures
git-svn-id: svn://10.0.0.236/trunk@79673 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:14:24 +00:00
naving%netscape.com
d544d38e95 r= sspitzer a=mscott Added notification for cancel/delete failures.
git-svn-id: svn://10.0.0.236/trunk@79672 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:13:08 +00:00
mstoltz%netscape.com
676f6215b3 Fixing 52497, security problem in document.implementation, r=jst a=brendan
git-svn-id: svn://10.0.0.236/trunk@79671 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:38:28 +00:00
warren%netscape.com
d1cfaf75a2 Added -s option to make-jars.pl (doh).
git-svn-id: svn://10.0.0.236/trunk@79670 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:36:42 +00:00
shanjian%netscape.com
481efead80 # 52142 Existence of XIM will crash mozilla
r=tajima@eng.sun.com a=ftang
Among all input styles, only over-the-spot works at this time. Force input
style to be over-the-spot.


git-svn-id: svn://10.0.0.236/trunk@79669 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:21:31 +00:00
bienvenu%netscape.com
131d2efafe part of fix for inability to select messages r=mscott 46888
git-svn-id: svn://10.0.0.236/trunk@79668 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:21:17 +00:00
peterlubczynski%netscape.com
a45f923fc4 Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 a=buster
git-svn-id: svn://10.0.0.236/trunk@79667 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:16:50 +00:00
ddrinan%netscape.com
a50ed5ff5a Generate a component.reg as part of the xpi build for Unix. Bug# 49507
git-svn-id: svn://10.0.0.236/trunk@79666 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:15:23 +00:00
ftang%netscape.com
596b49b200 fix bug 50816. add if statement for prevFont so it won't crash on win95J while prevFont is null (when we try to render a
Unicode which do not have glyph in any font on the system.
r=buster,erik a=buster.


git-svn-id: svn://10.0.0.236/trunk@79665 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:13:12 +00:00
dbragg%netscape.com
7dbb9e2619 Fix for bug 52827. Getting the parent window and passing it to the alert and confirm dialogs. r=dveditz, law a=law (I used the old appproval list).
git-svn-id: svn://10.0.0.236/trunk@79664 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:12:03 +00:00
hyatt%netscape.com
897a841c45 Fix for 51084, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@79663 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:10:48 +00:00
erik%netscape.com
5d0d1b28b3 bug 52655; r/a=ftang; switch from GetCharsetAtom2() to NS_NewAtom() since
the former does some unwanted charset name mapping to work around problems
with Web sites using the wrong charset names; also added self test code to
catch any spelling errors since we are now not going through the charset
manager (GetCharsetAtom2)


git-svn-id: svn://10.0.0.236/trunk@79662 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:06:53 +00:00
erik%netscape.com
791ffe17b5 bug 4238; r/a=ftang,buster,waterson; added language specific transforms so
that we can do things like U+005C -> U+00A5 (backslash -> yen sign for ja)


git-svn-id: svn://10.0.0.236/trunk@79661 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:00:32 +00:00
erik%netscape.com
47844e796a bug 4238; r/a=ftang,buster,waterson; added language specific transform type
getter to nsIPresContext so that we can do things like U+005C -> U+00A5
(backslash -> yen sign)


git-svn-id: svn://10.0.0.236/trunk@79660 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 22:59:20 +00:00
warren%netscape.com
dc1f3b667b Merged in cls' changes for objDir builds.
git-svn-id: svn://10.0.0.236/trunk@79659 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 22:45:45 +00:00
edburns%acm.org
ffa897dd6d These changes make it so webclient compiles with the tip as of 20
September 2000.  It will run, but without bookmarks.

The changes consist of the following kinds of changes:

Changes to method signatures for methods implemented by webclient.

Changes to string functions.

Changes to account for the demise of PROGIDS in favor of ContractIDs

Modified files:

M classes_spec/org/mozilla/webclient/test/EMWindow.java
M src_moz/CBrowserContainer.cpp
M src_moz/CurrentPageImpl.cpp
M src_moz/Makefile.win
M src_moz/NativeEventThread.cpp
M src_moz/RDFEnumeration.cpp
M src_moz/RDFTreeNode.cpp
M src_moz/ns_util_export.cpp
M src_moz/rdf_util.cpp


git-svn-id: svn://10.0.0.236/trunk@79658 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:53:05 +00:00
edburns%acm.org
ef806124bd This bug is about JavaDOM building on the tip. These changes make it so
you can build JavaDOM with the tip as of 20 Sept 2000.

M dom/jni/javaDOMGlobals.h

  changed nsString2 to nsString

M dom/jni/org_mozilla_dom_NodeImpl.cpp

  nsIDOMNode::Supports is now nsIDOMNode::IsSupported().


git-svn-id: svn://10.0.0.236/trunk@79657 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:47:42 +00:00
edburns%acm.org
dcc02d3f9e Changed to bring up to the tip.
bug=32162
a=brendan
r=leaf


git-svn-id: svn://10.0.0.236/trunk@79655 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:38:33 +00:00
warren%netscape.com
a52f8417a3 Taking stab at change -- need to use topsrcdir for objDir build system.
git-svn-id: svn://10.0.0.236/trunk@79653 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:28:30 +00:00
warren%netscape.com
c90b2b9551 Checking in diagnostics for puma problem.
git-svn-id: svn://10.0.0.236/trunk@79651 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 21:20:59 +00:00
sfraser%netscape.com
74f6ae493d Fixes from the jar branch; ensure we launch CodeWarrior before building, so that idepath.txt gets written out.
git-svn-id: svn://10.0.0.236/trunk@79644 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 20:03:34 +00:00
edburns%acm.org
3ada8c1653 bug=32162
r=leaf
a=brendan
# This file contains make rules for building java files using mozilla's
# make system.  To use this file, you must include this file before
# including rules.mak. Like this:

# include <$(DEPTH)\config\javarules.mak>
# include <$(DEPTH)\config\rules.mak>


git-svn-id: svn://10.0.0.236/trunk@79643 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 20:02:49 +00:00
sfraser%netscape.com
ae42a2b9cb Fixing to pull SeaMonkey from teh trunk again.
git-svn-id: svn://10.0.0.236/trunk@79642 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:45:54 +00:00
warren%netscape.com
cdc56bbf4c Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani
git-svn-id: svn://10.0.0.236/trunk@79641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:35:24 +00:00
cls%seawood.org
55b2ba2753 Added include so that LOAD_FLAGS_NONE is actually found. Now, maybe the ports will go green...err, orange again.
git-svn-id: svn://10.0.0.236/trunk@79640 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:26:44 +00:00
despotdaemon%netscape.com
83521b8fee Pseudo-automatic update of changes made by sonmi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@79635 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 17:57:26 +00:00
relyea%netscape.com
6db6c3f97c Changes to build OS/2 NSS.
git-svn-id: svn://10.0.0.236/trunk@79632 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 17:20:23 +00:00
relyea%netscape.com
f47ead3b87 OS/2 build changes.
git-svn-id: svn://10.0.0.236/trunk@79631 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 17:07:22 +00:00
mkaply%us.ibm.com
969ef21515 Tinderbox bustage - Ports SUNOS, Ports LinuxPPC
locka missed a LoadURI in xmlterm
a=leaf


git-svn-id: svn://10.0.0.236/trunk@79629 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 16:22:06 +00:00
jefft%netscape.com
1a37bc8c0c fixed bug34051 - use nsIFilePicker instead of nsIFileSpecWithUI; r=alecf
git-svn-id: svn://10.0.0.236/trunk@79628 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 14:50:55 +00:00
rods%netscape.com
6f8fc6b5b4 adding comments to the fix that already got checked in.
a=waterson r=attinasi


git-svn-id: svn://10.0.0.236/trunk@79627 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 14:47:18 +00:00
mkaply%us.ibm.com
deb47ab8e0 #45185
r=mkaply, a=brendan
An OS/2 specific splashscreen


git-svn-id: svn://10.0.0.236/trunk@79626 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 14:02:01 +00:00
locka%iol.ie
76130c2d8e Fixed typedef problem in Win32. b=50949
git-svn-id: svn://10.0.0.236/trunk@79625 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 13:28:19 +00:00
locka%iol.ie
485f539058 Removed bogus IDL entry causing horkage. b=50949
git-svn-id: svn://10.0.0.236/trunk@79624 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 12:49:48 +00:00
locka%iol.ie
b3b9b2c9a7 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha
git-svn-id: svn://10.0.0.236/trunk@79623 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 12:23:53 +00:00
warren%netscape.com
3493178aec added contents.rdf files - not in build yet
git-svn-id: svn://10.0.0.236/trunk@79622 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 12:00:57 +00:00
leaf%mozilla.org
47d8c20481 Automated update
git-svn-id: svn://10.0.0.236/trunk@79621 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 11:46:43 +00:00
jdunn%netscape.com
8fddca4c14 unsetting the NO_LD_ARCHIVE flag for AIX, since it doesn't need
it and actually causes problems for us.
a= brendan@mozilla.org
#= 52783
r= cls@seawood.org


git-svn-id: svn://10.0.0.236/trunk@79620 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 11:40:42 +00:00
disttsc%bart.nl
474d2a9686 Remove incorrect 'rdf:' from 'rdf:resource', 'rdf:resource2' and 'rdf:containment'. Part of bug=53297, more to follow. r=rjc, a=waterson. This particular checkin should fix bug=52789 (column sorting in bookmarks and history) and bug=52547 (sidebar bookmarks panel not showing sort triangle).
git-svn-id: svn://10.0.0.236/trunk@79619 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 10:16:53 +00:00
edburns%acm.org
e9408a09a9 a=beard, waterson
r=av
bug=52963

Tested on win32.  Tested to build on win32 and solaris.

This patch fixes bug 52963, bug 52965, and bug 52973.

This patch contributed by Stanley Ho <stanley.ho@eng.sun.com>

52963: nsIPluginStreamListener::OnStartBinding isn't always called:

Added new ivar, mStartBinding:

   * Set to PR_TRUE after nsIPluginInstancePeer::OnStartBinding() has
   * been called.  Checked in ::OnStopRequest so we can call the
   * plugin's OnStartBinding if, for some reason, it has not already
   * been called.

52965: Length isn't always set:

  rv = channel->GetContentLength(&length);

  // it's possible for the server to not send a Content-Length.  We should
  // still work in this case.
  if (NS_FAILED(rv)) {
    mPluginStreamInfo->SetLength(-1);
  }
  else {
    mPluginStreamInfo->SetLength(length);
  }

52973: nsIHTTPHeaderListener called before nsIPluginStreamListener::NewStream

This fix required rolling back Andrei Volkov's change to the signature
of nsPluginStreamListenerPeer::SetUpStreamListener().  In order to call
the plugin with the headers before the NewStream is sent, we need the
nsIChannel.

files in this fix:

M modules/plugin/nglsrc/nsPluginHostImpl.cpp


git-svn-id: svn://10.0.0.236/trunk@79618 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 09:27:54 +00:00
waterson%netscape.com
6f54ba3dda Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@79617 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 08:25:48 +00:00
ben%netscape.com
fc8696fec9 a bunch more ViXEn stuff, not part of build!
git-svn-id: svn://10.0.0.236/trunk@79616 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 08:25:39 +00:00
mcafee%netscape.com
4bfe3604d8 Mis-named key id was preventing ctrl-s from showing up in File menu (53269). a,r=waterson
git-svn-id: svn://10.0.0.236/trunk@79615 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:39:38 +00:00
waterson%netscape.com
9d38102900 Fix orangeness on Linux.
git-svn-id: svn://10.0.0.236/trunk@79614 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:31:53 +00:00
waterson%netscape.com
518317ae26 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@79613 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:29:03 +00:00
hyatt%netscape.com
c8178f446e Fix for several XBL event regressions, trashing memory and crashers, sr=brendan,ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79612 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:21:35 +00:00
nisheeth%netscape.com
d6390acc47 r=reviewers@netscape.com (buster, waterson). Fix for nsbeta3+ bug . Turning on async reflow during doc load by default. This can be turned off by setting the "layout.reflow.async.duringDocLoad" pref to false in prefs.js.
git-svn-id: svn://10.0.0.236/trunk@79611 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:20:23 +00:00
hyatt%netscape.com
4420090f4e added files: mozilla/layout/xbl/src/nsXBLDragHandler.cpp, mozilla/layout/xbl/src/nsXBLFocusHandler.cpp, mozilla/layout/xbl/src/nsXBLFormHandler.cpp, mozilla/layout/xbl/src/nsXBLKeyHandler.cpp, mozilla/layout/xbl/src/nsXBLLoadHandler.cpp, mozilla/layout/xbl/src/nsXBLMouseHandler.cpp, mozilla/layout/xbl/src/nsXBLMouseMotionHandler.cpp, mozilla/layout/xbl/src/nsXBLScrollHandler.cpp, mozilla/layout/xbl/src/nsXBLXULHandler.cpp
git-svn-id: svn://10.0.0.236/trunk@79610 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:18:51 +00:00
hyatt%netscape.com
d6e1302ce6 Fix for several XBL event regressions, trashing memory and crashers, sr=brendan,ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79609 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:16:04 +00:00
dp%netscape.com
cb1b7d5fd7 bug 53122 OnFileAvailable() not being called due to release of
mCacheEntry by nsHTTPChannel before calling stop request. Delaying
release until after onStopRequest is called.

bug 51043 Caching cgi when we are not supposed to. Now we refetch a
page if there isn't Modified-Since header being sent. That isolates
cgis pretty well and keeps normal pages working as is.

bug 53272 Cache corruption triggers when we hit DNS errors. This is
due to the entry being in memory and never being flushed to
disk. Calling CacheAbort() on the error condition from
ResponseCompleted() takes care of that.
r=neeti, gagan


git-svn-id: svn://10.0.0.236/trunk@79608 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 07:13:03 +00:00
waterson%netscape.com
f10d520b6a Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@79607 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 06:40:22 +00:00
waterson%netscape.com
ac48abcd87 Bug 44352. Remove nsIMemoryPressureObserver in favor of nsIObserverService et al., and convert existing nsIMemoryPressureObserver clients. Add memory flusher thread. Add debug UI to force memory flush. r=alecf,sfraser,warren a=warren
git-svn-id: svn://10.0.0.236/trunk@79603 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 05:44:19 +00:00
jst%netscape.com
766617aaa5 Fixing nsbeta3+ bug 52724. Fixing an oversight found by David Baron in HTMLDocument::createElement(), this makes document.createElement() be case insensitive. r/a=vidur, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@79601 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 05:12:44 +00:00
bienvenu%netscape.com
10cddfdb57 fix crash replying to outlook message with dashed frame 52130 r=buster,waterson
git-svn-id: svn://10.0.0.236/trunk@79599 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 04:02:20 +00:00
bienvenu%netscape.com
d2b12e24b0 fix problem printing news messages r=mscott 52194
git-svn-id: svn://10.0.0.236/trunk@79598 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 03:43:08 +00:00
bienvenu%netscape.com
85b56a4170 fix corruption of msg threads r=scott 53184
git-svn-id: svn://10.0.0.236/trunk@79597 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 03:41:34 +00:00
idk%eng.sun.com
3ae85a8a7a * NOT PART OF TBOX BUILDS *
Fixed bug with [out] parametrs in java.
Improved component registration.
Added test for accessing ComponentManager from java


git-svn-id: svn://10.0.0.236/trunk@79594 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 01:32:12 +00:00
danm%netscape.com
bd843ec86f nip infinite recursion in GetInsertionPoint that can happen with xbl bindings that generate anonymous content and also contain a children element, as do trees and tabs. bugs 53116,53150. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79590 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 01:02:04 +00:00
hewitt%netscape.com
d60cb60c49 #46423 - [Modern] address book cleanup, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79589 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:26:30 +00:00
hewitt%netscape.com
f3071c548c #46519 - [Classic] address book cleanup, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79588 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:25:35 +00:00
hewitt%netscape.com
1a175077b0 #46519 - [Classic] messenger focus rings and general cleanup, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79587 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:24:05 +00:00
hewitt%netscape.com
aa5e60f7bb #46423 - messenger focus rings, :active behavior on "File" button, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79585 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:14:58 +00:00
waterson%netscape.com
0407eb4866 Bug 50999. Make nsBindingManager keep track of nsIAnonymousContentCreator-generated content; simplify anonymous content cleanup dance by making nsIBindingManager::ChangeDocumentFor() method. r=dbaron,hyatt a=hyatt
git-svn-id: svn://10.0.0.236/trunk@79584 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:14:04 +00:00
hewitt%netscape.com
32648347ca #46015 - making Ctrl-R work correctly for reload, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79583 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:08:50 +00:00
akkana%netscape.com
f8e7599ce6 More 50252: Handle the gtk keypad keys too. r=kin,pavlov
git-svn-id: svn://10.0.0.236/trunk@79582 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 00:02:30 +00:00
hewitt%netscape.com
c455a5a7f3 #46423 - cleaner navbar disabled buttons, r=marlon, a=ben
git-svn-id: svn://10.0.0.236/trunk@79581 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:59:38 +00:00
disttsc%bart.nl
06cec7ba8b Fixes a minor gotcha when selecting View -> Text Size -> Other, then cancel. Checkmark was left on Other instead of being set back on the menuitem it was on before. bug=52971, r=mozbot, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@79580 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:59:32 +00:00
hewitt%netscape.com
efa63ead01 #46423 - polish for menupopups of button-toolbar-2, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79579 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:58:36 +00:00
hewitt%netscape.com
eab50586f7 #46423 - menu tweaks and tooltip color change, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79578 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:57:37 +00:00
hewitt%netscape.com
2a9e53e4b8 #46423 - [Modern] toolbar collapsing fix, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79577 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:56:19 +00:00
hewitt%netscape.com
e63efe8cc0 #46423 - [Modern] making grippies scale vertically, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79575 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:48:52 +00:00
hewitt%netscape.com
df5321e419 #46423 - [Modern] making grippies scale vertically, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79574 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:40:04 +00:00
robinf%netscape.com
4e825d41a2 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@79573 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:24:39 +00:00
danm%netscape.com
cd9e2a50ef re-allow generalized event dispatch for windowshaded windows, but disallow mousemoved events. fixes bugs 33735, 51649, 52950, 51642. reverts bug 49007. sorry. r=pinkerton,sfraser.
git-svn-id: svn://10.0.0.236/trunk@79572 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:13:39 +00:00
disttsc%bart.nl
61f1446b68 Fixes View -> Text Size -> Other not opening a dialog on jar builds. Forgot to check this in last time. bug=52968, r=ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79571 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:13:02 +00:00
ssu%netscape.com
f47d9e1aee fixing bugscape #2351 - Cannot install from N6Setup.exe due to stale ns_temp dir. Affects only windows platforms a=mscott r=sgehani
git-svn-id: svn://10.0.0.236/trunk@79570 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:12:43 +00:00
hewitt%netscape.com
48783310a8 #46423 - [Modern] disabled text on navbar buttons should be dark, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79569 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:10:40 +00:00
hewitt%netscape.com
70ce68c245 #46423 - [Modern] tree cleanup, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79568 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:09:41 +00:00
timeless%mac.com
654b4466f3 fix bug 38866 r=ducarroz a=brendan using the revised string Auto-Detect per brendan and rudman
git-svn-id: svn://10.0.0.236/trunk@79567 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:02:06 +00:00
svn%xmlterm.org
2cd0b523d0 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Fixed missing caret problem. Updated jar.mn for locale stuff.


git-svn-id: svn://10.0.0.236/trunk@79566 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:01:42 +00:00
hewitt%netscape.com
4b60d57456 #46519 - get rid of border around treehead > treerow, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79565 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 23:01:25 +00:00
hewitt%netscape.com
aa6969ee2a #52828 - removed buggy tabpanel binding, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79564 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:59:24 +00:00
svn%xmlterm.org
f80101ba43 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Locale chrome changes. Added makefiles to handle xmltermOverlay.dtd


git-svn-id: svn://10.0.0.236/trunk@79563 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:58:39 +00:00
hewitt%netscape.com
3e5c33badf #46519 - put menubar on messageWindow within toolbox, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79562 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:58:28 +00:00
hewitt%netscape.com
9f4aa4ad1d #53084 - put twisties back on address book, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79561 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:55:42 +00:00
hewitt%netscape.com
4ebcaad5ad #52872 - removed extra tabs on form manager, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79559 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:51:09 +00:00
hewitt%netscape.com
d958ff74a6 #46519 - composer edit mode tab stuff, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79558 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:46:47 +00:00
hewitt%netscape.com
0bd0d8eb27 #45102 - theme preview images, r=hangas, a=ben
git-svn-id: svn://10.0.0.236/trunk@79557 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:41:53 +00:00
sspitzer%netscape.com
fece31ac28 part of the fix for #46888. after cancelling a news message, you can't
select another message.  fix by naving@netscape.com.  r=sspitzer,a=mscott
also a couple bullet proofing fixes to prevent crashes.


git-svn-id: svn://10.0.0.236/trunk@79556 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:40:52 +00:00
akkana%netscape.com
eac61c4ec3 50252: Fix non-alphabetic control/alt key events. r=kin,pavlov
git-svn-id: svn://10.0.0.236/trunk@79555 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:40:04 +00:00
sspitzer%netscape.com
97a1b2d046 bullet proofing for crash in #53250, related to #49115
r/a=mscott


git-svn-id: svn://10.0.0.236/trunk@79554 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:37:02 +00:00
harishd%netscape.com
e3738c1511 52013 - Block sink reentrance to avoid frame duplication.
49115 - Delay breaking the circularity, between parser & snk, with a death grip!!!

r=jst
a=vidur
[sheriff approved]


git-svn-id: svn://10.0.0.236/trunk@79553 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:35:50 +00:00
rpotts%netscape.com
1e559a5bcb bug #21095. Registering about:cache handler for windows and unix. The mac is excluded until some project work is done...
git-svn-id: svn://10.0.0.236/trunk@79552 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:33:55 +00:00
mscott%netscape.com
fa39469bdc Bug #52712 --> use collapsed attribute instead of hide consistantly...fixes problem
where attachment button would stop working after you switched folders
r=alecf


git-svn-id: svn://10.0.0.236/trunk@79551 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:26:54 +00:00
danm%netscape.com
c1e9cb725d skip parent window activation (bug 22658) on close if parent is HiddenWindow. bug 51619. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79550 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:17:32 +00:00
harishd%netscape.com
1bb3ea3774 42429 - Enabling code that I'd to back out due to bug 52443.
Looks like the TABLE code is ready to face the change.

r=rickg
a=jst


git-svn-id: svn://10.0.0.236/trunk@79549 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:13:53 +00:00
tor%cs.brown.edu
344c4a3a48 Lie in ImgDWriteReady as a minimal impact workaround until
41831 is fixed.  This was causing JNG images not to display
out of the cache, and probably occasionally a failed first
load.  r=pnunn, a=brendan


git-svn-id: svn://10.0.0.236/trunk@79548 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:03:31 +00:00
shanjian%netscape.com
dc6ad28b7b #53072 IME candidate window position problem
r=sfraser a=ftang
Offset within view is missing in one of the code path. Add it there.


git-svn-id: svn://10.0.0.236/trunk@79547 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:55:59 +00:00
tor%cs.brown.edu
8530ab1bab Small change to make a debug message from ilclient.cpp more
accurate, and only print it when compiled in debug mode (was
appearing when switching skins).
r=pnunn, a=brendan


git-svn-id: svn://10.0.0.236/trunk@79546 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:54:29 +00:00
heikki%netscape.com
82a70c8b59 Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods.
git-svn-id: svn://10.0.0.236/trunk@79545 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:47:04 +00:00
jband%netscape.com
0d1da1648f Allow for detection and graceful failure when we stumble upon an incompatible typelibs which might exist in the future. bug 53155. NOT fixing brendan's nit about the grammar in the comment. a=brendan@mozilla.org, r=shaver@mozilla.org,mccabe@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79544 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:42:47 +00:00
mcgreer%netscape.com
5f7f176064 Check in self-test based on FIPS 186-1 appendix 5
git-svn-id: svn://10.0.0.236/trunk@79543 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:14:22 +00:00
rogerl%netscape.com
19dd3fd7d2 Cleanup warning fix.
git-svn-id: svn://10.0.0.236/trunk@79542 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 20:56:49 +00:00
rogerl%netscape.com
9cb4c52c59 Fixed warnings for gcc build.
git-svn-id: svn://10.0.0.236/trunk@79541 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 20:35:05 +00:00
edburns%acm.org
74676b3b89 Jason found a bug left over from the manual diff.
git-svn-id: svn://10.0.0.236/trunk@79540 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 20:34:18 +00:00
beard%netscape.com
6559d1bc17 Backed out eager call to Initialize().
git-svn-id: svn://10.0.0.236/trunk@79539 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 20:15:15 +00:00
chrisk%netscape.com
00f892196c Fix bug # 53221: Call RNG_SystemInfoForRNG to provide RNG with enough
entropy for proper operation.


git-svn-id: svn://10.0.0.236/trunk@79538 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 19:34:46 +00:00
tao%netscape.com
a2188fb84c 09/17/00 history data.
git-svn-id: svn://10.0.0.236/trunk@79536 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 17:58:22 +00:00
beard%netscape.com
d083af01c7 [not part of build] make sure a writer is open at the end, before attempting to close it.
git-svn-id: svn://10.0.0.236/trunk@79535 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 17:53:17 +00:00
wtc%netscape.com
03b4e3428e Bugzilla bug #53204: import NSPR 4.0.1 on Windows NT and 4.0 on all other
platforms.
Modified files: manifest.mn, Makefile


git-svn-id: svn://10.0.0.236/trunk@79534 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 17:49:54 +00:00
mcgreer%netscape.com
89954b170a include support for adding S/MIME certs to the database. this will be needed for S/MIME test code.
git-svn-id: svn://10.0.0.236/trunk@79533 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 16:22:17 +00:00
terry%mozilla.org
0e2cfc5de9 Oops! This was changed a couple of months ago in such a way that a
large class of problems wouldn't be reported.  (It wouldn't show most
cases where a table had an invalid ID pointing into another table.)


git-svn-id: svn://10.0.0.236/trunk@79532 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 15:42:53 +00:00
beard%netscape.com
a728f62d23 [Not part of build] Changed getServices() to attribute services.
git-svn-id: svn://10.0.0.236/trunk@79531 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 14:48:11 +00:00
hyatt%netscape.com
2e04b10a30 Addendum to 53091. sr=ben
git-svn-id: svn://10.0.0.236/trunk@79527 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 07:25:45 +00:00
idk%eng.sun.com
83ab1ccef8 * NOT PART OF TBOX BUILDS *
Fixed bug with sending NULL pointer to object


git-svn-id: svn://10.0.0.236/trunk@79526 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 06:47:06 +00:00
mcgreer%netscape.com
0da23ab502 don't set modulus octets until good primes are generated.
git-svn-id: svn://10.0.0.236/trunk@79525 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 06:18:04 +00:00
wtc%netscape.com
5b8bc6256d Bugzilla bug #52404: FreeBSD doesn't have cuserid() either. Thanks to
Thomas Stromberg <tstromberg@rtci.com> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@79524 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 06:05:28 +00:00
mcgreer%netscape.com
3de86952da don't set prime data until good primes are generated.
git-svn-id: svn://10.0.0.236/trunk@79523 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 06:03:52 +00:00
beard%netscape.com
937a69ab56 [Not part of build] Added traceCollection, getServices methods.
git-svn-id: svn://10.0.0.236/trunk@79520 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:40:17 +00:00
quy%igelaus.com.au
3e360363c1 removing mozilla script from ignore list. r=waterson
git-svn-id: svn://10.0.0.236/trunk@79519 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:40:04 +00:00
beard%netscape.com
6530afb6ed Fixed startup/terminate routines.
git-svn-id: svn://10.0.0.236/trunk@79518 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:38:23 +00:00
jst%netscape.com
a76efbcbf7 Fixing nsbeta3+ bug 52572. Renaming CSSValue::valueType to CSSValue::cssValueType to be up-to-date with the latest changes to the DOM Level 2 spec. r/a=vidur, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@79517 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:37:23 +00:00
jst%netscape.com
75e09ddb65 Fixing nsbeta3+ bug 50393. Make frameset windows request the principal form their parent if there's no document object in the frameset nor a cached principal, this can happen with <frame src='javascript:...'> frames. r/a=vidur, r=mstoltz.
git-svn-id: svn://10.0.0.236/trunk@79516 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:21:00 +00:00
jst%netscape.com
3eb8fb9e34 Fixing nsbeta3+ bug 43741. Making mozilla ignore document.open() calls that are executed while the document is being parsed, this is needed for backwards compatibility. r/a=vidur, r=joki
git-svn-id: svn://10.0.0.236/trunk@79515 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:11:59 +00:00
wtc%netscape.com
4ef9643340 Bugzilla bug #52399: handle FreeBSD. Thanks to Thomas Stromberg
<tstromberg@rtci.com> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@79514 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 04:11:53 +00:00
wtc%netscape.com
db2d231de2 Bugzilla bug #52398: define USE_PTHREADS=1 by default. Do not link with
-lc or -lc_r.  Also merged other changes from NSPR's FreeBSD.mk.
Thanks to Thomas Stromberg <tstromberg@rtci.com> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@79511 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:53:08 +00:00
sspitzer%netscape.com
205a80ccaf fix for bug #47521. if the user cancels the account wizard on an invalid account,
force the account to get created anyway.  r/a=alecf


git-svn-id: svn://10.0.0.236/trunk@79510 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:44:33 +00:00
saari%netscape.com
e752b34f33 more fixes for 53017. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79509 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:37:09 +00:00
saari%netscape.com
b4f2be2aec focus fixes for 52150 et all. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79508 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:16:30 +00:00
tao%netscape.com
bac8d2755d mt421 release from Henrik.
git-svn-id: svn://10.0.0.236/trunk@79507 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:14:37 +00:00
saari%netscape.com
00c4bfcb32 fixing focus bugs for 53017. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79506 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:14:31 +00:00
tao%netscape.com
967ad1d080 mt420 release from Henrik.
git-svn-id: svn://10.0.0.236/trunk@79505 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:11:15 +00:00
tao%netscape.com
c72110c027 mt415 from henrik
git-svn-id: svn://10.0.0.236/trunk@79503 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 03:04:18 +00:00
beard%netscape.com
b9d21d46b2 [Not part of build] Really increase default heap size, to 8192.
git-svn-id: svn://10.0.0.236/trunk@79502 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:50:00 +00:00
beard%netscape.com
d2cdd88fd3 Bumped up memory/stack.
git-svn-id: svn://10.0.0.236/trunk@79501 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:34:41 +00:00
wtc%netscape.com
bfb15d5c17 Bugzilla bug #53143: removed the definition of NSPR internal macros.
Modified files: FreeBSD.mk, HP-UXB.10.10.mk, HP-UXB.10.20.mk, Linux.mk,
OSF1.mk, SunOS5.mk, cmd/SSLsample/Makefile.NSS, lib/freebl/Makefile.


git-svn-id: svn://10.0.0.236/trunk@79500 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:24:31 +00:00
brendan%mozilla.org
fa61a08216 Add strict warning for undefined property reference (foo.bar where bar names no object in foo or its prototypes; r=jband).
git-svn-id: svn://10.0.0.236/trunk@79499 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:24:11 +00:00
brendan%mozilla.org
861e26cb89 Fix JS_BeginRequest to avoid self-deadlock if called from a finalizer (52808, r=jband).
git-svn-id: svn://10.0.0.236/trunk@79498 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 02:18:17 +00:00
wtc%netscape.com
5fef956239 Added FreeBSD.mk, which contains the common config stuff for all versions
of FreeBSD.mk.  FreeBSD2.mk now merely includes FreeBSD.mk.
Modified file: FreeBSD2.mk
Added file: FreeBSD.mk


git-svn-id: svn://10.0.0.236/trunk@79497 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 01:48:42 +00:00
hyatt%netscape.com
8a90e94a56 fix for 53091, r=saari, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@79496 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 01:24:44 +00:00
jband%netscape.com
238a849b3f fix shutdown crasher bug 52940. We can't leave the thread context stack service thinking that the context we are about to delete is still valid. a,r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79495 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 01:09:48 +00:00
nhotta%netscape.com
e16f2bd594 bug: 45678 wrong font in mail composer
fix: set the 'document' charset (we figure out the target charset
     but did not set it in the 'document'
r=nhotta, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@79494 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 01:07:28 +00:00
cotter%netscape.com
aef795dddf Updated info re installation directories, running Communicator 4.x. Moved sentence re problems running PSM on Unix if you havelogged in as a different user since installation to Known Bugs/Issues.
git-svn-id: svn://10.0.0.236/trunk@79493 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:23:38 +00:00
brendan%mozilla.org
86e239c98f Fixes to use atomic rename(2) if possible in nsLocalFile::MoveTo (33098, r=?),
plus a bunch of other fixes and cleanups:

- Fix comment misstatements of fact in nsIFile.idl, improve style slightly.
- Fix typo in comment in nsILocalFile.idl.
- Avoid gratuitous nsCString and nsXPIDLCString copy-constructions, which
  entail malloc'ing, in nsLocalFileUnix.cpp's CopyTo and GetParent methods.
  But do use nsXPIDLCString instead of raw nsMemory::Alloc/Free.
- Get rid of unnecessary mLL_II2L and mLL_L2II macros, use "prlong.h" API only.
  Also use the LL_* macros consistently in case a Unix lacking long long type
  support wants to use this code.
* BTW, the "Date" methods should be renamed to use "Time" instead -- after all
  PRTime is the type, and traditionally "time" refers to the time-number, a
  scalar independent of one's position on the surface of the earth, while
  "date" refers to a struct full of locale-specific information derived from
  time and some "environment" variables such as DST.  Can we rename these
  nsIFile methods before Mozilla 0.9 / Netscape 6?
- Use CHECK_mPath consistently and first, before any assertions relating to
  arguments (which logically come after the 'this' parameter CHECK_mPath is
  making assertions about).
- Use nsCOMPtr for singly-inheriting implementations of XPCOM interfaces, to
  avoid scary-when-scaled 0-refcnt instances from being handled (these all
  got a ref via QI or equivalent soon enough, but you never know).  This also
  removed some naked deletes.
- Canonize all paths copied into mPath to lack trailing slashes, so we don't
  need to strip trailing slashes elsewhere, in higher-frequency methods (you
  set path less often than you get it or a substring of it).
- ssize_t for strlen return values.
- Since shaver used a function pointer to consolidate creat/mkdir logic, but
  didn't fold the necessary close of the new fd returned by non-failing creat
  into the pointed-at function, I did that.
- AppendRelativePath forbids .. as a component (bounded by / or beginning or
  end of string on either side), not just in the middle of fragment (so that
  foo..bar is not an illegal relative pathname -- it should not be).  BTW,
  what the heck is the difference between NS_ERROR_FILE_UNRECOGNIZED_PATH and
  ...INVALID_PATH?
- SetLeafName was overallocating the new pathname buffer by failing to subtract
  the old leafname's length.
- CopyTo was failing to return an NSRESULT_FOR_ERRNO(), it just called that
  macro on a line by itself -- eek!  It also contained redundant if (newFD
  == nsnull) {...} cleanup code, it did a useless PR_GetFileInfo call, and it
  leaked FDs on read or write error.
- Implemented CopyToFollowingLinks as a forwarded call to CopyTo, Unix does
  not support "copying" a symlink via normal file i/o.  Should we instead
  lstat in CopyTo and if a link is the source of the copy, do readlink and
  then symlink?
- Fixed the readlink method (GetTarget) to null-terminate the link string in
  the out parameter (readlink does not do that for you).
- Lots of little nsnull vs. NULL vs. 0, == and != applied to boolean or null
  literals, white-space, indentation, bracing, comment, and sloppy code order
  (e.g., declaring an initialized variable that's not used till after early
  returns) fixes.  Also invert some return logic so that NS_OK is the normal,
  least indented, final return.


git-svn-id: svn://10.0.0.236/trunk@79492 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:22:41 +00:00
edburns%acm.org
0898232dc5 This fix was contributed by
*      Jason Mawdsley <jason@macadamian.com>
 *      Louis-Philippe Gagnon <louisphilippe@macadamian.com>

It enables webclient to be built and run under JDK1.1.x.  Note that JavaDOM
does not work under jdk1.1.x.

The fix consists of two elements:

On the Java side, replace all JDK1.2 specific calls with JDK1.1.x
equivalents.  On the native side use pre-processer macro for
JNI_VERSION, like this:

#ifdef JNI_VERSION_1_2

#ifndef JNI_VERSION
#define JNI_VERSION JNI_VERSION_1_2
#endif

#else

#ifndef JNI_VERSION_1_1
#define JNI_VERSION_1_1 0x00010001
#endif

#ifndef JNI_VERSION
#define JNI_VERSION JNI_VERSION_1_1
#endif

#endif // END: JNI_VERSION_1_2

This fix has been tested on win32, solaris, and linux.

The following files are in this fix:

M webclient/classes_spec/org/mozilla/webclient/test/DOMTreeModel.java
M webclient/classes_spec/org/mozilla/webclient/test/DOMViewerFrame.java
M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/BookmarksImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/nsActions.cpp
M webclient/src_share/jni_util.cpp
M webclient/src_share/jni_util.h
M webclient/src_share/jni_util_export.cpp


git-svn-id: svn://10.0.0.236/trunk@79490 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:18:18 +00:00
akkana%netscape.com
67dc59a9f1 46644: Fix FMM. Contribution from Daniel Bratell, bratell@lysator.liu.se, r=waterson and me
git-svn-id: svn://10.0.0.236/trunk@79489 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:14:12 +00:00
beard%netscape.com
56fd12973d Uncommented Initialize() call.
git-svn-id: svn://10.0.0.236/trunk@79488 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:04:02 +00:00
beard%netscape.com
b874112290 Export thePlugin.
git-svn-id: svn://10.0.0.236/trunk@79487 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:03:30 +00:00
beard%netscape.com
28eb5b10f0 Create MRJConsole even in 4.X build.
git-svn-id: svn://10.0.0.236/trunk@79486 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 00:00:27 +00:00
beard%netscape.com
ec5cfcac9a Added MRJConsole.class.
git-svn-id: svn://10.0.0.236/trunk@79485 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:57:25 +00:00
beard%netscape.com
bde3ae2b27 Added MRJConsole.java to MRJPlugin.jar target.
git-svn-id: svn://10.0.0.236/trunk@79484 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:56:51 +00:00
nelsonb%netscape.com
3b07c0e434 Fix a UMR, one of many where the SECItem type field was uninitialized.
bug 39483.  Also, eliminate a warning about calling an undeclared function
by including the header file.


git-svn-id: svn://10.0.0.236/trunk@79483 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:53:18 +00:00
alecf%netscape.com
8bc76cfbdd part of fix for #42102 - use nsIFile for migration issues
r=sspitzer, dbragg


git-svn-id: svn://10.0.0.236/trunk@79482 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:51:30 +00:00
beard%netscape.com
f8403f8fec Create SIOUX console with menus, etc. r=jband, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79481 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:49:46 +00:00
brendan%mozilla.org
8619f05fe8 Censor all Call objects, per ECMA-262 (r=rogerl, 53037).
git-svn-id: svn://10.0.0.236/trunk@79480 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:35:22 +00:00
gagan%netscape.com
fb15eb7a47 Fix for bug 52257. mResponseDataListener could be null. r=valeski, brendan.
git-svn-id: svn://10.0.0.236/trunk@79479 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:29:30 +00:00
ducarroz%netscape.com
52bf9b69ff Fix for bug 52323. Use event.originalTarget instead of event.target in order to get the right target. a,r=alecf
git-svn-id: svn://10.0.0.236/trunk@79477 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:08:09 +00:00
mkaply%us.ibm.com
81cee80d89 #53096
r=akkana, a=brendan
Use OS/2 files for OS/2, not unix files


git-svn-id: svn://10.0.0.236/trunk@79476 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:08:02 +00:00
mkaply%us.ibm.com
56683b9811 #53096
r=akkana, a=brendan
Can't override accelerators properly which we will be doing on OS/2


git-svn-id: svn://10.0.0.236/trunk@79475 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 23:04:07 +00:00
warren%netscape.com
9bd953c5d5 Added build for themes:classic:messenger:mac:jar.mn
git-svn-id: svn://10.0.0.236/trunk@79471 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:36:59 +00:00
ducarroz%netscape.com
d001d47efb Fix for bug 52190. Avoid crash by using NS_IF_ADDREF. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@79470 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:35:46 +00:00
warren%netscape.com
f5ae9919ed Updated to work for mac jar packaging.
git-svn-id: svn://10.0.0.236/trunk@79469 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:33:20 +00:00
warren%netscape.com
6f99bc49b4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@79468 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:32:51 +00:00
brendan%mozilla.org
523ce70589 - Fix encodeURI, decodeURI, etc. common subroutines to avoid realloc'ing char
by char, by using a larger chunk size (64 chars) for linear growth.  Also got
  rid of ASCII-oriented add_bytes subroutine and related sprintf usage.
- Avoid reloading loop invariant str->chars all the time in encode and decode.
- Avoid creating garbage strings for unescaped and reserved character sets, by
  using statically initialized jschar array constants.
- Expand tabs, clean up 80th column violations, use prevailing style, etc.


git-svn-id: svn://10.0.0.236/trunk@79467 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:17:30 +00:00
ducarroz%netscape.com
864b82122c Fix for bug 52819. Use nsEditor::GetRootElement for retreiving the body node. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@79466 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:16:10 +00:00
beard%netscape.com
abe09c3670 Conditionally compile in GC_trace_object.
git-svn-id: svn://10.0.0.236/trunk@79465 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 22:09:20 +00:00
mkaply%us.ibm.com
6d9ca9b319 #53096
r=mkaply, a=brendan
Grab the windows platformBindings files and use them for OS/2


git-svn-id: svn://10.0.0.236/trunk@79464 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 21:50:06 +00:00
jefft%netscape.com
1708dac375 fixed bug 45727 -- Problems with download (POP) truncated msg from folder other than Inbox; disable fileters while downloading truncated message; bullet prove to prevent accessing empty string buffer; r=mscott
git-svn-id: svn://10.0.0.236/trunk@79463 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 21:49:47 +00:00
sspitzer%netscape.com
df25a9707a part of the fix for #51571. r/a=mscott
git-svn-id: svn://10.0.0.236/trunk@79462 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 21:49:17 +00:00
sspitzer%netscape.com
da15bc85a6 part of the fix for #51571. r/a=mscott
git-svn-id: svn://10.0.0.236/trunk@79461 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 21:44:54 +00:00
cyeh%bluemartini.com
ca34c0f2c8 fix for 52228: Bug list title should be name of query if running named query
patch by dave@intrec.com (Dave Miller)


git-svn-id: svn://10.0.0.236/trunk@79460 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 21:29:45 +00:00
sfraser%netscape.com
815347af0f New Mac build scripts. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@79459 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 20:55:35 +00:00
sfraser%netscape.com
b4593fb213 New Mac build scripts. NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@79458 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 20:54:48 +00:00
mkaply%us.ibm.com
0e728a08ca #47874
r=mkaply, a=brendan
Code from jkobal - continuing port of nsWindow.*


git-svn-id: svn://10.0.0.236/trunk@79457 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 20:39:13 +00:00
karnaze%netscape.com
6178e7fca1 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@79455 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 20:24:16 +00:00
nelsonb%netscape.com
47e6d7e2f1 Fix bug 52396. Don't compile case ENOSR on platforms that don't have it.
git-svn-id: svn://10.0.0.236/trunk@79454 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:53:59 +00:00
akkana%netscape.com
eeebc2cd6a 50252: fix key events for printable but non-alphabetic keys. r=dr
git-svn-id: svn://10.0.0.236/trunk@79453 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:50:50 +00:00
kestes%staff.mail.com
f3ce9ac0cd add new arguments --skip-check --force-time
add parse_args to parse new arguments
add fix_nonunix_times() so that all dates can be in either format
send errors to stderr as well as logfile
debug check_required_vars();


git-svn-id: svn://10.0.0.236/trunk@79452 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:40:56 +00:00
beard%netscape.com
6589f4aef2 added SIOUXSettings.
git-svn-id: svn://10.0.0.236/trunk@79451 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:36:25 +00:00
dbragg%netscape.com
6282a8a87d Fix for bug 52839. Changed GetSizes() to PR_FALSE in the case of the Profile dir so that directories wont be traversed. r=dveditz, racham, law a=law
git-svn-id: svn://10.0.0.236/trunk@79450 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:34:16 +00:00
kestes%staff.mail.com
726b257e83 convert to new style tinderbox variables
git-svn-id: svn://10.0.0.236/trunk@79449 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:34:08 +00:00
kestes%staff.mail.com
b3f23bdc4b new regression test
git-svn-id: svn://10.0.0.236/trunk@79448 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:33:32 +00:00
kestes%staff.mail.com
5b1617101c document HTMLPopUp implementations
document new $DEFAULT_HTML_PAGE = 'status.html';
document TRIM_DAYS for rmlogs


git-svn-id: svn://10.0.0.236/trunk@79447 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:32:46 +00:00
kestes%staff.mail.com
b44e1a2106 security (taint) fixes
use  $MAX_DISPLAY_HOURS to peg the display used in links


git-svn-id: svn://10.0.0.236/trunk@79446 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:30:28 +00:00
kestes%staff.mail.com
a578928aee security (taint) fixes
allow null message of the day
do not hardcode <a href instead call Link()


git-svn-id: svn://10.0.0.236/trunk@79445 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:29:31 +00:00
kestes%staff.mail.com
d627553829 security (taint) fixes
git-svn-id: svn://10.0.0.236/trunk@79444 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:28:32 +00:00
kestes%staff.mail.com
35566a48fc security fixes
rename of file is not nessary
use new generalization: $FileStructure::DEFAULT_HTML_PAGE


git-svn-id: svn://10.0.0.236/trunk@79443 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:27:42 +00:00
kestes%staff.mail.com
dc129f5a91 use extract_filename_chars()
document passwd can be global or pertree
use new generalization: $FileStructure::DEFAULT_HTML_PAGE


git-svn-id: svn://10.0.0.236/trunk@79442 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:26:22 +00:00
kestes%staff.mail.com
dd027ca73f dont hard code <a href> use link()
use new generalization: $FileStructure::DEFAULT_HTML_PAGE


git-svn-id: svn://10.0.0.236/trunk@79441 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:25:17 +00:00
kestes%staff.mail.com
257f3f4d5c modules must end in 1;
git-svn-id: svn://10.0.0.236/trunk@79440 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:23:53 +00:00
kestes%staff.mail.com
5cca78ee75 add support for taint checking
add support for time checking
centrallize all 'atomic move' operations


git-svn-id: svn://10.0.0.236/trunk@79439 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:23:17 +00:00
kestes%staff.mail.com
0798452f5d this must use atomic_rename_file()
git-svn-id: svn://10.0.0.236/trunk@79438 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:21:56 +00:00
kestes%staff.mail.com
49592f52dc use extract_user() for untainting
git-svn-id: svn://10.0.0.236/trunk@79437 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:21:18 +00:00
kestes%staff.mail.com
bec339424d add sanity check for record
fix gunzip URL (it had appeared twice in the string)


git-svn-id: svn://10.0.0.236/trunk@79436 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:20:44 +00:00
kestes%staff.mail.com
07f8ccc2c8 update file with current status
git-svn-id: svn://10.0.0.236/trunk@79435 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:18:34 +00:00
kestes%staff.mail.com
8188c55010 add users section
add 'security' as a goal


git-svn-id: svn://10.0.0.236/trunk@79434 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 19:18:03 +00:00
hyatt%netscape.com
5c664126c2 Fix for 52810. r=danm
git-svn-id: svn://10.0.0.236/trunk@79433 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 18:49:58 +00:00
nboyd%atg.com
0e00432009 Expand javadoc.
git-svn-id: svn://10.0.0.236/trunk@79432 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 18:38:02 +00:00
mkaply%us.ibm.com
60bbaee41a #45185
r=law, a=brendan
Code from jblanco for splashscreen on OS/2


git-svn-id: svn://10.0.0.236/trunk@79431 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 18:31:10 +00:00
mkaply%us.ibm.com
acccdd5a57 #45185
r=cls, a=brendan
Code from jblanco for splashscreen on OS/2


git-svn-id: svn://10.0.0.236/trunk@79430 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 18:30:32 +00:00
nboyd%atg.com
40a8441d83 Remove old-style debug codegen.
git-svn-id: svn://10.0.0.236/trunk@79429 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 17:57:02 +00:00
mcafee%netscape.com
4ee7ddc95c Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@79428 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 17:48:38 +00:00
mcafee%netscape.com
8be3bdc490 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@79427 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 17:43:15 +00:00
nboyd%atg.com
ad981566d5 Better error message for common error.
git-svn-id: svn://10.0.0.236/trunk@79426 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 17:28:59 +00:00
mkaply%us.ibm.com
52d8b9ee2b #45185
r=mkaply, a=brendan
Code from jblanco for splashscreen on OS/2


git-svn-id: svn://10.0.0.236/trunk@79425 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 14:25:59 +00:00
radha%netscape.com
a697155d42 More changes to fix 49498. r=ben
git-svn-id: svn://10.0.0.236/trunk@79424 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 14:25:32 +00:00
idk%eng.sun.com
b1aac5afc7 * NOT PART OF TBOX BUILDS *
InterfaceRegistry.registerInterface became public.


git-svn-id: svn://10.0.0.236/trunk@79423 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 11:01:28 +00:00
idk%eng.sun.com
fa74131a8d * NOT PART OF TBOX BUILDS *
Changed ProgID usage to ContractID usage


git-svn-id: svn://10.0.0.236/trunk@79421 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 10:07:00 +00:00
cls%seawood.org
f631237ae7 A strict javascript warning says that initializers should not have trailing , so it was removed
git-svn-id: svn://10.0.0.236/trunk@79420 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 07:22:58 +00:00
cls%seawood.org
09273d6398 A strict warning says that this variable needs to be declared before being used. It let's View->Page Source work again
git-svn-id: svn://10.0.0.236/trunk@79419 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 07:19:13 +00:00
warren%netscape.com
d2adc229cc Setting release timeout inside lock -- avoiding race condition.
git-svn-id: svn://10.0.0.236/trunk@79417 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 07:08:22 +00:00
Peter.VanderBeken%pandora.be
9adb88e8fe Adding MozillaObjectWrapper.cpp. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@79416 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 06:18:55 +00:00
alecf%netscape.com
8f8c6d6bf7 fix for #35803 r=sspitzer
load the smtp server list before loading the default server


git-svn-id: svn://10.0.0.236/trunk@79415 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 06:13:53 +00:00
Peter.VanderBeken%pandora.be
67d5f6e006 Fix bug #51494. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@79414 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 06:06:10 +00:00
putterman%netscape.com
053a1dc1dc Fix for 52811. r=alecf. Delete message works on the Mac again.
git-svn-id: svn://10.0.0.236/trunk@79413 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 03:46:10 +00:00
sspitzer%netscape.com
239ccb5a87 whoops, the default is supposed to be false, not true.
git-svn-id: svn://10.0.0.236/trunk@79412 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 03:35:40 +00:00
sspitzer%netscape.com
9f2af1fdf0 fix for #22163 from Decklin Foster.
set a default pref to prevent the JS exception.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@79411 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 03:27:09 +00:00
brendan%mozilla.org
9cb06ebf27 Define QI now that XPConnect wraps JS objects; fix comments (NOT PART OF BUILD).
git-svn-id: svn://10.0.0.236/trunk@79410 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 02:31:11 +00:00
warren%netscape.com
0bccd6825d Backing mstoltz out to get things back up and running with jar packaging. Also, I don't approve of the changes made to nsJARURI.cpp
git-svn-id: svn://10.0.0.236/trunk@79409 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 02:18:00 +00:00
warren%netscape.com
2e1ae66c1e Improving debug messages for contents.rdf.
git-svn-id: svn://10.0.0.236/trunk@79408 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 02:07:06 +00:00
warren%netscape.com
ea31bbc22b Fixed comment
git-svn-id: svn://10.0.0.236/trunk@79407 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 00:28:41 +00:00
mozilla.BenB%bucksch.org
8b66379c79 40024: Point to local copy of the contributors page. a=endico,brendan
git-svn-id: svn://10.0.0.236/trunk@79406 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-18 00:12:15 +00:00
warren%netscape.com
25202776ef Implementing bufferSegmentSize/bufferMaxSize -- don't know why they weren't implemented before.
git-svn-id: svn://10.0.0.236/trunk@79403 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-17 22:22:08 +00:00
cls%seawood.org
3c3eeb072f Sigh. Need a case for components & non-components.
git-svn-id: svn://10.0.0.236/trunk@79401 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-17 18:40:42 +00:00
beard%netscape.com
29e4db95cc Make XPC shell compile on XP_MAC. r=jband, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79400 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-17 15:34:39 +00:00
cls%seawood.org
81c2467cd2 Add support for BeOS addon limitation workaround. Set BEOS_ADDON_WORKAROUND to use it. bug #51655
git-svn-id: svn://10.0.0.236/trunk@79399 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-17 05:32:36 +00:00
idk%eng.sun.com
bd49bfb1fc Improved interface registration mechanism.
Author = sdv@sparc.spb.su
r = idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@79398 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-17 00:49:42 +00:00
jband%netscape.com
84449c4ab0 NOT PART OF BUILD. Fix xpconenct test uses of progids missed in the big progid to contractid renaming
git-svn-id: svn://10.0.0.236/trunk@79397 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 22:17:23 +00:00
brendan%mozilla.org
6f257f5b8e - Back out part of patch from tlundeen@webcrossing.com, my fault for taking it
in part (the entire patch made JSContexts ref-counted, but that is not an API
  compatible change, and it doesn't help clean up at JS_Finish time if the API
  user leaks JSContext refs anyway).  52835, r=jband.
- First part of 64-bit portability fix for 52792, r=jnance.  More work needed.
- Fix bogus assert and minimization in js_AllocStack, too.


git-svn-id: svn://10.0.0.236/trunk@79396 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 22:17:22 +00:00
jband%netscape.com
9d04a6fd59 NOT PART OF BUILD. Fix xpconenct test uses of progids missed in the big progid to contractid renaming
git-svn-id: svn://10.0.0.236/trunk@79395 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 21:47:32 +00:00
Peter.VanderBeken%pandora.be
2cabd6fa68 Enabling XSLT hooks in layout in default build. Bug #42228. r=axel@pike.org, a=waterson@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@79394 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 20:53:08 +00:00
m_kato%ga2.so-net.ne.jp
8be1876855 fix bug 44705 r=chuang - It uses utf-8 for the url of addressbook, fixes bad cast issue, and cleans up some codes.
git-svn-id: svn://10.0.0.236/trunk@79393 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 16:13:34 +00:00
mcgreer%netscape.com
7ec053ce12 just some general cleanup
git-svn-id: svn://10.0.0.236/trunk@79392 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 15:56:06 +00:00
dave%intrec.com
b1e000ea95 Fix for bug 51270: param for bodyhtml to allow sites to customize
background colors/image and link colors.


git-svn-id: svn://10.0.0.236/trunk@79391 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 14:08:37 +00:00
pinkerton%netscape.com
7cdd675cae jag's checkin makes mac submenus freak out. not sure why. backing out until we know why.
git-svn-id: svn://10.0.0.236/trunk@79390 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 08:06:15 +00:00
wtc%netscape.com
7ad339ef10 Bugzilla bug #52900: added Linux2.4.mk to allow us to build NSS on Linux
2.4.x kernels.  This bug was reported by Michael H. Warfield
<mhw@wittsend.com>.


git-svn-id: svn://10.0.0.236/trunk@79389 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 06:11:32 +00:00
beard%netscape.com
0264fc6c2a Fixing strict JS warning (duplicate declaration of var leakDetector). Using XPConnect wrapper as the prototype of the JS LeakDetector constructor function.
git-svn-id: svn://10.0.0.236/trunk@79388 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 05:18:51 +00:00
radha%netscape.com
4e79385613 Fix for dogfood+ bug 46845 r=pollmann
git-svn-id: svn://10.0.0.236/trunk@79387 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 04:36:18 +00:00
beard%netscape.com
7e9936e38e [Not part of build] Project to build XPConnect shell testbed.
git-svn-id: svn://10.0.0.236/trunk@79385 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 02:43:29 +00:00
dprice%netscape.com
a544fb7d3f backing out changes for jar packaging
git-svn-id: svn://10.0.0.236/trunk@79384 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 02:26:20 +00:00
thayes%netscape.com
cc2043221c Initialize random number generator from system information. The new
RNG implementation fails if insufficient seed is not provided, which
would cause SDR key generation to fail.


git-svn-id: svn://10.0.0.236/trunk@79383 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 00:53:08 +00:00
alecf%netscape.com
00c8fed934 string fix for #45512 r=mscott
git-svn-id: svn://10.0.0.236/trunk@79382 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 23:47:17 +00:00
despotdaemon%netscape.com
bfa6717b4d Pseudo-automatic update of changes made by namachi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@79381 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 23:30:30 +00:00
hyatt%netscape.com
609d1e841c Fix for bug #45989, theft of clipboard using XBL. r=ben
git-svn-id: svn://10.0.0.236/trunk@79380 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 23:28:29 +00:00
despotdaemon%netscape.com
a4e336a499 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@79379 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 23:23:40 +00:00
cls%seawood.org
64ec2a144a Added rules to handle generated buildid with jar packaging in an objdir. r=disttsc@bart.nl a=leaf bug #52065
git-svn-id: svn://10.0.0.236/trunk@79378 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:58:10 +00:00
ccarlen%netscape.com
aeebf6eac5 #52181 If when migrating the dest folder already existed, would not make a unique new dest folder but would fail.
r=bhuvan


git-svn-id: svn://10.0.0.236/trunk@79377 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:42:48 +00:00
cyeh%bluemartini.com
afd7140744 fix for 41303: new email tech doesn't work with emailregexp
patch by JRobertson@medevolve.com (Jon Robertson)


git-svn-id: svn://10.0.0.236/trunk@79376 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:39:35 +00:00
leaf%mozilla.org
b12b41d68c Automated update
git-svn-id: svn://10.0.0.236/trunk@79375 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:30:12 +00:00
cls%seawood.org
297375d5d9 Ok, I'm a moron. stderr == 2.
git-svn-id: svn://10.0.0.236/trunk@79374 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:29:20 +00:00
cyeh%bluemartini.com
c48e8178a6 front end fix for 31456: Editing a superuser clears their access flags
patch by jmrobin@tgix.com


git-svn-id: svn://10.0.0.236/trunk@79373 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:20:55 +00:00
cls%seawood.org
4136372555 Fix the case of overriding a jar entry
git-svn-id: svn://10.0.0.236/trunk@79372 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:19:51 +00:00
cls%seawood.org
cb273a1d7b If MOZ_ENABLE_JAR_PACKAGING is set, do not install the xpcom.properties. They will be in the the jar file
git-svn-id: svn://10.0.0.236/trunk@79371 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:16:01 +00:00
relyea%netscape.com
91f88bcb53 Fix stupid shell typo so that *ALL* the testcases will pass.
bob


git-svn-id: svn://10.0.0.236/trunk@79369 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:08:57 +00:00
mozilla.BenB%bucksch.org
f5321daaea 39372: Changing default to "blockquoting" plaintext (using vertical bars (instead of ">"s) for nested quotes during reply to plaintext msgs). r=a=alecf
git-svn-id: svn://10.0.0.236/trunk@79368 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:07:28 +00:00
sspitzer%netscape.com
8b0f81b576 fix for bug #51267. intermittent failure when loading files from jars.
the problem is that nsZipArchive and zlib are not thread safe.
for now, add a lock to prevent multiple threads from getting into that code
r=warren,dveditz
super-end-of-game-review=mscott


git-svn-id: svn://10.0.0.236/trunk@79367 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:56:20 +00:00
leaf%mozilla.org
e0f08cda73 Automated update
git-svn-id: svn://10.0.0.236/trunk@79366 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:45:39 +00:00
cls%seawood.org
43680a13b7 Change redirection rules for perl test so stderr results appear in config.log. Thanks to axel@pike.org for the fix.
git-svn-id: svn://10.0.0.236/trunk@79365 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:44:58 +00:00
cls%seawood.org
04e0754db4 Use make-jars-unix.pl for unix builds.
git-svn-id: svn://10.0.0.236/trunk@79364 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:43:02 +00:00
cls%seawood.org
65b5b02eb4 Initial unix variant of make-jars.pl. Supports objdirs. Takes additional "-s srcdir" option to designate location of srcdir. -c option does not work. r=disttsc@bart.nl (jag) a=leaf bug #52065
git-svn-id: svn://10.0.0.236/trunk@79363 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:40:10 +00:00
mstoltz%netscape.com
5fddebe063 Better bustage fix without leak r=scc
git-svn-id: svn://10.0.0.236/trunk@79362 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:12:36 +00:00
relyea%netscape.com
f2d81cda06 Fix merge problems from CVS. This version should now compile and work.
git-svn-id: svn://10.0.0.236/trunk@79361 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:01:53 +00:00
bryner%uiuc.edu
a8190e5a7a Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@79360 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:46:06 +00:00
mstoltz%netscape.com
d0300ddc1e Fixing bustage. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@79359 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:38:52 +00:00
mcgreer%netscape.com
e54cb9e60e signed data certs may not be set when this is called, so get certs from db.
git-svn-id: svn://10.0.0.236/trunk@79358 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:23:26 +00:00
blakeross%telocity.com
e8187cfd16 Beginning of the fix for bug 52727, search menu item and find dialog title should be Find in this Frame when searching a frame. r=law a=brendan
git-svn-id: svn://10.0.0.236/trunk@79357 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:21:29 +00:00
mkaply%us.ibm.com
456cbaca9c #45185
r=mkaply, a=brendan
Code from jblanco for splashscreen on OS/2


git-svn-id: svn://10.0.0.236/trunk@79356 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:15:28 +00:00
cls%seawood.org
8b82eecf54 Fix check for perl version and drop minimum perl version back to 5.000 r=axel@pike.org a=leaf bug #52065
git-svn-id: svn://10.0.0.236/trunk@79355 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:40:51 +00:00
mstoltz%netscape.com
b70553ceea Bugs 24765, 59288. Hooking up Necko file cache for jar protocol. r=beard, a=warren. Mac project files.
git-svn-id: svn://10.0.0.236/trunk@79354 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:36:10 +00:00
mstoltz%netscape.com
6191db92e2 Fix for bugs 24765, 49288. Using Necko file cache for the jar protocol. r=beard, a=warren.
git-svn-id: svn://10.0.0.236/trunk@79353 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:27:05 +00:00
mstoltz%netscape.com
f102bb482f Bugs 24765, 59288. Hooking up Necko file cache for jar protocol. r=beard, a=warren. Mac project files.
git-svn-id: svn://10.0.0.236/trunk@79352 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:26:57 +00:00
sean%beatnik.com
bd8880ddb6 fix for bug 50990 r=jst a=brendan prevent timeout list insertion pointer from being null
git-svn-id: svn://10.0.0.236/trunk@79351 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:22:03 +00:00
mkaply%us.ibm.com
d162af98d8 #45185
r=mkaply, a=brendan
Code from jblanco for splashscreen on OS/2


git-svn-id: svn://10.0.0.236/trunk@79350 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:19:53 +00:00
mkaply%us.ibm.com
c1e798944a #45185
r=cls, a=brendan
I have no idea how I broke rules.mk like this but it has extra CR/LF


git-svn-id: svn://10.0.0.236/trunk@79349 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:14:14 +00:00
mcgreer%netscape.com
fee15c70c4 NT still buggy with password files, this seems to fix it
git-svn-id: svn://10.0.0.236/trunk@79348 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 18:45:20 +00:00
cyeh%bluemartini.com
813748876f fixes for 51184, 51185, 51186: allow for ldap authentication. patches
by jmrobins@tgix.com (Joe Robins). LDAP sections haven't been
tested yet, but the code is arranged such that it shouldn't disturb
existing user authentication system.


git-svn-id: svn://10.0.0.236/trunk@79347 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 18:35:18 +00:00
mcgreer%netscape.com
ea6d4f6a57 extra #endif broke build
git-svn-id: svn://10.0.0.236/trunk@79346 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 15:58:42 +00:00
relyea%netscape.com
fe29703cc0 Propogate the password arg to the sign function.
git-svn-id: svn://10.0.0.236/trunk@79345 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 15:37:37 +00:00
relyea%netscape.com
2327610e28 Fix NT so it can read from a password file. (do the correct EOL conversions).
Fix trust display for certs not in the database.


git-svn-id: svn://10.0.0.236/trunk@79344 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 15:35:03 +00:00
leaf%mozilla.org
aa01b832f6 Automated update
git-svn-id: svn://10.0.0.236/trunk@79343 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 15:15:42 +00:00
cls%seawood.org
528ee823ce Sigh. This should be a warning for now, not an error condition
git-svn-id: svn://10.0.0.236/trunk@79342 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 15:03:33 +00:00
mkaply%us.ibm.com
ab7a303509 OS/2 VACPP Tinderbox bustage
Need cast for VisualAge. Don't ask me why.


git-svn-id: svn://10.0.0.236/trunk@79341 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 14:46:01 +00:00
mkaply%us.ibm.com
e6b5a692d4 OS/2 GCC Tinderbox bustage
Hopefully that last locale #define missing


git-svn-id: svn://10.0.0.236/trunk@79340 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 14:45:07 +00:00
jdunn%netscape.com
560db8d39c fixing AIX Tinderbox bustage:
PRBool's need PR_TRUE's or PR_FALSE's not 'false'


git-svn-id: svn://10.0.0.236/trunk@79339 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 12:23:15 +00:00
mscott%netscape.com
c88178404c enter the win directory for hewiit
git-svn-id: svn://10.0.0.236/trunk@79338 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:50:15 +00:00
mscott%netscape.com
f5afe68cf4 Enter the win directory for hewitt
git-svn-id: svn://10.0.0.236/trunk@79337 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:49:57 +00:00
mscott%netscape.com
8ea127f531 add two new makefiles to classic theme for hewitt
git-svn-id: svn://10.0.0.236/trunk@79336 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:49:19 +00:00
mscott%netscape.com
56e83f671e add new Makefile.in for hewitt
git-svn-id: svn://10.0.0.236/trunk@79335 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:48:41 +00:00
mscott%netscape.com
88d6f7ebc4 Let's try adding this makefile again, this time with a capital 'M'.
git-svn-id: svn://10.0.0.236/trunk@79334 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:47:57 +00:00
mkaply%us.ibm.com
a1e92d7a2e OS/2 GCC Tinderbox break
Another Locale #define missing from EMX


git-svn-id: svn://10.0.0.236/trunk@79333 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:33:50 +00:00
hewitt%netscape.com
c1133143f6 #46613 - fixing windows classic runtime bustage, r=hangas, a=mscott
git-svn-id: svn://10.0.0.236/trunk@79332 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:16:45 +00:00
mscott%netscape.com
12e7af20bf fix breakage for hewiit.
git-svn-id: svn://10.0.0.236/trunk@79331 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:03:20 +00:00
mscott%netscape.com
0007b58435 removing makefile.in that has the wrong case.
git-svn-id: svn://10.0.0.236/trunk@79330 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:39:43 +00:00
mscott%netscape.com
c5d687c934 contain unix breakage by not entering the sub directory yet.
git-svn-id: svn://10.0.0.236/trunk@79329 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:38:47 +00:00
hewitt%netscape.com
4cdab1531b #46613 - address book polish, r=ben, 2nd half of checkin started before close. a=mscott
git-svn-id: svn://10.0.0.236/trunk@79328 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:19:24 +00:00
mj%digicool.com
6b573a5a2d Fixing XML-RPC client bustage, r=jag, a=waterson
- Fix RayW's changes to actually work
- Fix bug #48564


git-svn-id: svn://10.0.0.236/trunk@79327 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:15:31 +00:00
hewitt%netscape.com
fc82482e9a #46613 - composer polish, r=hangas, 2nd half of checkin started before close. a=mscott
git-svn-id: svn://10.0.0.236/trunk@79326 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:15:05 +00:00
hewitt%netscape.com
62afa32484 #52522 - password manager tab alignment fix. r=morse, 2nd half of checkin started before close. a=mscott
git-svn-id: svn://10.0.0.236/trunk@79325 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:11:30 +00:00
warren%netscape.com
fa75c0f7d2 Bug 52701 - bringing MOZ_DISABLE_JAR_PACKAGING back to life.
git-svn-id: svn://10.0.0.236/trunk@79324 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 08:08:11 +00:00
sfraser%netscape.com
09236a8723 Changes for jar packaging on Mac, currently turned off. Refactoring of chrome installation, new options for using jar.mn and making jar files. r=warren
git-svn-id: svn://10.0.0.236/trunk@79323 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 08:01:41 +00:00
dveditz%netscape.com
3161b089f7 Bug 48504 correct user-agent for Windows ME. patch from Frank Faubert <frank@sane.com>
a=brendan, r=brendan,dveditz


git-svn-id: svn://10.0.0.236/trunk@79322 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 08:00:16 +00:00
joki%netscape.com
db526f3ce1 fixing bustage. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@79321 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:46:15 +00:00
dveditz%netscape.com
6af0e3663a Bug 32867 XPInstall API cleanup, r=sgehani@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79320 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:45:03 +00:00
hyatt%netscape.com
000df594e2 Taking a stab. r=joki
git-svn-id: svn://10.0.0.236/trunk@79319 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:34:44 +00:00
dveditz%netscape.com
188bf3736c removing obsolete files
git-svn-id: svn://10.0.0.236/trunk@79318 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:26:50 +00:00
hewitt%netscape.com
958c85433f #46613 - tree focus/selection colors, r=hangas
git-svn-id: svn://10.0.0.236/trunk@79317 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:18:37 +00:00
hewitt%netscape.com
0baa9e591e #46423 - remove bottom border of sidebar, r=hangas
git-svn-id: svn://10.0.0.236/trunk@79316 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:18:30 +00:00
kandrot%netscape.com
4af5f743be Missed a file for the bloat fix.
git-svn-id: svn://10.0.0.236/trunk@79315 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:11:03 +00:00
sgehani%netscape.com
7274583bb9 Open a new ftp cxn for every .xpi being downloaded: makes the linux installer
work on RH 6.2 distributions.
[r=ssu; nsbeta3+ b=52716]


git-svn-id: svn://10.0.0.236/trunk@79314 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:06:45 +00:00
saari%netscape.com
57831aa9c5 missed a bit from the last checkin as joki beat me to the repository
git-svn-id: svn://10.0.0.236/trunk@79313 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:02:58 +00:00
mjudge%netscape.com
81021b1142 fixing 34356. hack to get clickng before table working beta3+
git-svn-id: svn://10.0.0.236/trunk@79312 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:02:05 +00:00
jband%netscape.com
64af18af52 fix bug 39373. make xpconnect calls into JS within a request for safety. a,r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79311 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:59:38 +00:00
disttsc%bart.nl
fd103338cd Better version of View -> Text Size submenu. bug=37940, r=mj@digicool.com, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79310 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:59:30 +00:00
hyatt%netscape.com
f934c8ea6e Fix Linux bustage. r-joki
git-svn-id: svn://10.0.0.236/trunk@79309 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:58:32 +00:00
cmanske%netscape.com
0c989e936a More tweaks to prefs dialog b=47704, r=ben
git-svn-id: svn://10.0.0.236/trunk@79308 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:52:33 +00:00
kandrot%netscape.com
246377bde6 Fix for 370k of bloat.
r=waterson


git-svn-id: svn://10.0.0.236/trunk@79307 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:52:17 +00:00
radha%netscape.com
eca2e74b75 Fix for bug # 43871. Formerly a nsbeta3+ p1. I had the fixes sitting in my tree for a while.
r=ben


git-svn-id: svn://10.0.0.236/trunk@79306 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:50:31 +00:00
chuang%netscape.com
7160bc1727 Bug52368 Deleted entries in PAB shows up in mailing list. r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@79305 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:50:06 +00:00
ssu%netscape.com
a72fc30d56 fixing bug #52542 - Change download menu text. r=sgehani. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@79304 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:46:32 +00:00
ben%netscape.com
2c77886506 more from earlier profile manager checkin.
git-svn-id: svn://10.0.0.236/trunk@79303 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:45:40 +00:00
ben%netscape.com
08b5c51faf part of earlier profile manager checkin
git-svn-id: svn://10.0.0.236/trunk@79302 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:44:48 +00:00
alecf%netscape.com
a949d19fbc rdf side of fix for #52644 r=waterson
generate contractIDs appropriately for delegate factories


git-svn-id: svn://10.0.0.236/trunk@79301 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:43:40 +00:00
dveditz%netscape.com
888c26faf7 part of bug 32867, XPInstall API cleanup
git-svn-id: svn://10.0.0.236/trunk@79300 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:43:37 +00:00
sfraser%netscape.com
c71529a455 Adding file to RDF project for kandrot.
git-svn-id: svn://10.0.0.236/trunk@79299 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:42:42 +00:00
alecf%netscape.com
602cfc6b89 mail part of fix for #52644 r=putterman - registery smtp and filter delegate factories with the correct contractIDs
git-svn-id: svn://10.0.0.236/trunk@79298 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:42:36 +00:00
jglick%netscape.com
5158f47692 fixes for bugs: 44581, 52491, 52524, 52490, 52560, 52571, 52353, 52357, 52349, 43358. Spelling, wording and capitalization fixes. New Folder Dialog fixes. r=hangas
git-svn-id: svn://10.0.0.236/trunk@79297 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:41:01 +00:00
hyatt%netscape.com
5cf106b674 Fix for bad contractid. r=rayw
git-svn-id: svn://10.0.0.236/trunk@79296 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:39:29 +00:00
cls%seawood.org
bb283f64dc Turn off exception handling for irix 6.x builds as it fixes a bug with out-of-scope gotos. Bug #25562. Thanks to <jsd@igroup.org> for the suggested fix.
git-svn-id: svn://10.0.0.236/trunk@79295 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:39:01 +00:00
dveditz%netscape.com
0db5c78dec fixing typos in bloat detectors
git-svn-id: svn://10.0.0.236/trunk@79294 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:38:44 +00:00
hyatt%netscape.com
abfad4231c Numerous XBL fixes (security patches and minor syntax changes). r=ben
git-svn-id: svn://10.0.0.236/trunk@79293 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:38:35 +00:00
mcgreer%netscape.com
269deba25a Added function NSS_CMSSignedData_VerifyCertsOnly to API
git-svn-id: svn://10.0.0.236/trunk@79292 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:38:33 +00:00
timeless%mac.com
825dc20998 fix bug 44889, r=putterman a=brendan. Fixes Search menu to match spec from jglick.
git-svn-id: svn://10.0.0.236/trunk@79291 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:36:15 +00:00
timeless%mac.com
5c4748f997 Fix bug 44917, r=putterman a=brendan. Moving Thread menuitems into Messages submenu.
git-svn-id: svn://10.0.0.236/trunk@79290 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:31:29 +00:00
mscott%netscape.com
d3463a1323 Bug #43556 --> forgot to migrate over the default VMS file extensions from the old mime service
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@79289 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:28:44 +00:00
timeless%mac.com
9648723f97 fixes bug 44932 r=putterman a=brendan. Fixes Messenger Edit and View menus to match spec.
git-svn-id: svn://10.0.0.236/trunk@79288 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:28:33 +00:00
nbhatla%netscape.com
c4bb293e58 #46423 -> new modern skin. updates to edit-mode toolbar xul, to make the buttons look like botom tabs in modern and classic. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@79287 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:28:29 +00:00
saari%netscape.com
02474ba699 fix for 49975. r=pinkerton and hyatt
git-svn-id: svn://10.0.0.236/trunk@79286 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:28:26 +00:00
kandrot%netscape.com
6900aa9de0 Added to remove around 370k of bloat.
r=waterson


git-svn-id: svn://10.0.0.236/trunk@79285 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:25:54 +00:00
nbhatla%netscape.com
ec3555b4eb #46423 -> new modern skin. new editor formatting toolbar images, toolbar grippy, progressmeter, and edit-mode toolbar tabs. also small tweaks to classic. r=hewitt
git-svn-id: svn://10.0.0.236/trunk@79284 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:23:46 +00:00
disttsc%bart.nl
8a8770fad2 Add example for "no proxy for" field, modify accesskeys slight. Author=jce2@po.cwru.edu, bug=49858, r=jag, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79283 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:23:08 +00:00
anthonyd%netscape.com
9d2197ff8f bug fix for 22163
selection of url bar on focus
r=akkana


git-svn-id: svn://10.0.0.236/trunk@79282 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:21:03 +00:00
buster%netscape.com
871bd8d7c0 bug 18445
r=karnaze
This bug fixes the way we treat placement of replaced inline elements when
they have display:block.


git-svn-id: svn://10.0.0.236/trunk@79281 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:20:07 +00:00
dveditz%netscape.com
1df0ee9d48 Eliminate "packageregistry" file on unix (bug 33863), patch by Peter "jag" Annema
<disttsc@bart.nl>, r=dveditz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@79280 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:19:53 +00:00
joki%netscape.com
7ef6a305ea Fix for bug 5693 "problems with :hover". :hover should now work hierarchically, not just on the targetted Node. A pref was added to allow turning this off in low performance situations. r:jst
git-svn-id: svn://10.0.0.236/trunk@79279 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:17:54 +00:00
timeless%mac.com
f55a9ca1b9 Fix bug 44915, r=putterman a=brendan, adds Attachments to Messenger's File menu.
git-svn-id: svn://10.0.0.236/trunk@79278 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:17:48 +00:00
jband%netscape.com
e9ee268b9d fix bug 52579. Avoid infinite recursion dialog when JS is run by xpconnect on DOM context. a,r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79277 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:17:08 +00:00
joki%netscape.com
7c162a7c40 Fix for 30178, "hrefs override imagemap" and part of fix for 5693 by removing old hack to make :hover work on links. r:jst
git-svn-id: svn://10.0.0.236/trunk@79276 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:15:31 +00:00
ben%netscape.com
a5367f594d 51548, 46613. same as before.
git-svn-id: svn://10.0.0.236/trunk@79275 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:14:01 +00:00
joki%netscape.com
5582940255 Part of fix for bug 5693, add new pref to allow no firing of hierarchical :hover state if performance slowed. r:jst.
git-svn-id: svn://10.0.0.236/trunk@79274 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:13:58 +00:00
rpotts%netscape.com
7a47636d9e Removed two bogus asserts...
git-svn-id: svn://10.0.0.236/trunk@79273 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:13:11 +00:00
ben%netscape.com
7ec85739d3 51548, 46613, Profile Wizard is clipped on right and bottom sides, + general polish cleanup,
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@79272 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:13:01 +00:00
karnaze%netscape.com
0d3c74dd53 bug 42429 - Don't create whitespace text frames in table related frames (except for td). r=peterl.
git-svn-id: svn://10.0.0.236/trunk@79271 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:12:28 +00:00
karnaze%netscape.com
d6f50aa98b bug 52598 - during an incremental reflow, base the height of the row group on the last row instead of the last child. r=peterl.
git-svn-id: svn://10.0.0.236/trunk@79270 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:11:29 +00:00
radha%netscape.com
3673bb1f0d Fix for bug # 51564 r=valeski
git-svn-id: svn://10.0.0.236/trunk@79269 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:11:24 +00:00
joki%netscape.com
2626bc1429 Fix bug 40071 "accesskey doesn't block menus" by propagating the cancelled event state from PreHandleEvent into HandleDOMEvent. r:jst
git-svn-id: svn://10.0.0.236/trunk@79268 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:11:15 +00:00
cls%seawood.org
9e9bcc662e Fix perl api test so that jar packaging is not always disabled.
git-svn-id: svn://10.0.0.236/trunk@79267 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:10:56 +00:00
joki%netscape.com
903d3c3634 Partially fix bug 28323 by changing the text field editor keypress listener to not add characters into the text field if the user has cancelled the event. r:jst
git-svn-id: svn://10.0.0.236/trunk@79266 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:09:26 +00:00
cmanske%netscape.com
3679739131 Table dialog cleanup, b=47691, r=rcassin@supernova.org. Composer prefs cleanup, b=47704, r=ben
git-svn-id: svn://10.0.0.236/trunk@79265 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:08:51 +00:00
mscott%netscape.com
5555a48e21 Bug #43556 --> implement nsIMIMEService using the windows registry to look
up information about content we don't know about.


git-svn-id: svn://10.0.0.236/trunk@79264 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:08:11 +00:00
mscott%netscape.com
44d722d48e Bug #43556 --> implement nsIMIMEService
honor the http content disposition header if present.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@79263 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:07:58 +00:00
joki%netscape.com
0bc23fe2f3 Fix bug 47022 by fixing typo in mousemove listener registration. r: jst
git-svn-id: svn://10.0.0.236/trunk@79262 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:07:51 +00:00
nbhatla%netscape.com
69426c3b45 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@79261 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:07:48 +00:00
mscott%netscape.com
384b790f6e Bug #43556 --> merging nsIMIMEService and making it use OS specific
information.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@79260 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:06:58 +00:00
akkana%netscape.com
fdd39c8fc4 43388: allow format=flowed for UTF-8 messages. r=nhotta
git-svn-id: svn://10.0.0.236/trunk@79259 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:06:28 +00:00
mscott%netscape.com
f71a09f263 Bug #43556 --> merging nsIMIMEService and making it use OS specific
information.
r=pchen


git-svn-id: svn://10.0.0.236/trunk@79258 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:06:19 +00:00
brendan%mozilla.org
f49c7e675f Better patch for bug and bogus assertion found by rogerc@geocast.com.
git-svn-id: svn://10.0.0.236/trunk@79257 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:05:28 +00:00
akkana%netscape.com
108ffcf506 51570: remove ^W for delete word since it now conflicts with Close Window. r=kin
git-svn-id: svn://10.0.0.236/trunk@79256 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:05:25 +00:00
waterson%netscape.com
789d8856d6 Can't keep strong ref to pres shell. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79255 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 05:29:33 +00:00
mkaply%us.ibm.com
685bcd40f8 OS/2 GCC Tinderbox break
Locale #define missing from EMX


git-svn-id: svn://10.0.0.236/trunk@79254 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 03:53:14 +00:00
leaf%mozilla.org
81c590da6d adding mozilla/modules/mpfilelocprovider for embedding -leaf
git-svn-id: svn://10.0.0.236/trunk@79252 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:46:03 +00:00
beard%netscape.com
661077b41b Added GetURLWithHeaders to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@79251 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:32:30 +00:00
ddrinan%netscape.com
46acc7e6b7 Add XPCOM, NSPR and i18n back into xpi files
git-svn-id: svn://10.0.0.236/trunk@79250 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:28:23 +00:00
javi%netscape.com
e6ad43976b When doing forced backup, create a single p12 file which has all of
the certs instead of a single p12 file for each cert.


git-svn-id: svn://10.0.0.236/trunk@79249 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:27:06 +00:00
ddrinan%netscape.com
3195d0f272 Install PSM in its own directory
git-svn-id: svn://10.0.0.236/trunk@79248 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:26:52 +00:00
cyeh%bluemartini.com
5065a45918 put little comment in here about apostrophe's in enums
git-svn-id: svn://10.0.0.236/trunk@79247 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:00:56 +00:00
wtc%netscape.com
15a8c5657c Increase the sleep interval from 10 to 20.
git-svn-id: svn://10.0.0.236/trunk@79246 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:43:36 +00:00
bienvenu%netscape.com
7ed3aae5eb fix 51177 1M+ memory leak with compose window r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@79245 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:31:32 +00:00
cls%seawood.org
3968c18d24 Add check for perl api version 5.005 as forced by this jar fiasco.
Turn on MOZ_DISABLE_JAR_PACKAGING if perl api != 5.005 or zip is not installed.
Turn off the copy feature of make-jars.pl as that doesn't work in the objdir aware version of the make-jars.pl script.
Bug 52065. r=bryner


git-svn-id: svn://10.0.0.236/trunk@79244 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:19:30 +00:00
1494 changed files with 2205 additions and 138530 deletions

View File

@@ -1,42 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
IGNORE_MANIFEST=1
#//------------------------------------------------------------------------
#//
#// Makefile to build the java enhancers to mozilla
#//
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH = ..
DIRS = util \
dom \
webclient
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,36 +0,0 @@
Here lies the code that comprises the java enhancers to mozilla.
Authors: see the README files for each individual subdirectory
Requirements:
* JDK1.2 or greater (may work with lower versions, haven't checked).
* Successfully built MOZ_DEBUG=1 Mozilla M13 tree.
* Perl 5 perl.exe must be in your path
How To Build:
* make it so the directory in which this file resides is a child of your
top level Mozilla M13 directory
* make sure the environment var JDKHOME is set to your jdk installation
directory, ie SET JDKHOME=C:\jdk1.2.2
* type "nmake /f makefile.win all" and hope for the best
* this should compile the clasess into %MOZ_SRC%\dist\classes
Problems:
* clobber_all doesn't remove the .class files from dist\classes. You
have to do this manually.
* post to netscape.public.mozilla.java newsgroup
General notes:
* Please update the ChangeLog (changelo) files in the subdirectories when
you make changes.

View File

@@ -1,5 +0,0 @@
Fri Jul 30 14:57:28 1999 Ed Burns <Ed Burns <ed.burns@sun.com>>
* Made necessary changes to build files to build with jdk1.1.7 or
jdk1.2.2.

View File

@@ -1,44 +0,0 @@
@echo off
rem The contents of this file are subject to the Netscape Public
rem License Version 1.1 (the "License"); you may not use this file
rem except in compliance with the License. You may obtain a copy of
rem the License at http://www.mozilla.org/NPL/
rem
rem Software distributed under the License is distributed on an "AS
rem IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
rem implied. See the License for the specific language governing
rem rights and limitations under the License.
rem
rem The Original Code is mozilla.org code.
rem
rem The Initial Developer of the Original Code is Netscape
rem Communications Corporation. Portions created by Netscape are
rem Copyright (C) 1998 Netscape Communications Corporation. All
rem Rights Reserved.
rem
rem Contributor(s):
@echo on
@echo off
if not exist %2 echo Warning: %2 does not exist! (you may need to check it out)
if not exist %2 exit 1
pushd %2
goto NO_CAFE
if "%MOZ_CAFE%"=="" goto NO_CAFE
mkdir %MOZ_SRC%\mozilla\dist\classes\%2
%MOZ_TOOLS%\bin\sj.exe -classpath %MOZ_SRC%\mozilla\dist\classes;%MOZ_SRC%\mozilla\sun-java\classsrc -d %MOZ_SRC%\mozilla\dist\classes *.java
goto END
:NO_CAFE
perl.exe %MOZ_SRC%\mozilla\config\outofdate.pl -d %MOZ_SRC%\mozilla\dist\classes\%2 -cfg %1 *.java > doit.bat
call doit.bat
del /F /A:A doit.bat
:END
popd

View File

@@ -1,19 +0,0 @@
# this file contains defs that should be in the top level mozilla/config
# directory, but may not be there due to tree update issues.
!ifndef JAVA_HOME
JAVA_HOME=$(JDKHOME)
!endif
JAVA_DESTPATH = $(MOZ_SRC)\mozilla\dist\classes
DEFAULT_JAVA_SOURCEPATH = $(MOZ_SRC)\mozilla\sun-java\classsrc
JAVA_SOURCEPATH = $(MOZ_SRC)\mozilla\sun-java\classsrc11;$(DEFAULT_JAVA_SOURCEPATH)
JAVAC_ZIP=$(JAVA_HOME)\lib\classes.zip
JAVAC_CLASSPATH=$(JAVAC_ZIP)$(PATH_SEPARATOR)$(JAVA_DESTPATH)$(PATH_SEPARATOR)$(JAVA_SOURCEPATH)
JAVA=$(JDKHOME)\bin\java
JAVAH=$(JDKHOME)\bin\JAVAH
JAVAH_FLAGS=-jni -classpath $(JAVAC_CLASSPATH)

View File

@@ -1,134 +0,0 @@
#!perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
#Input: [-d dir] foo1.java foo2.java
#Compares with: foo1.class foo2.class (if -d specified, checks in 'dir',
# otherwise assumes .class files in same directory as .java files)
#Returns: list of input arguments which are newer than corresponding class
#files (non-existant class files are considered to be real old :-)
#
$found = 1;
# GLOBALS
$SEP = 0; # the paltform independent path separator
$CFG = 0; # the value of the -cfg flag
# determine the path separator
$_ = $ENV{"PATH"};
if (m|/|) {
$SEP = "/";
}
else {
$SEP = "\\";
}
if ($ARGV[0] eq '-d') {
$classdir = $ARGV[1];
$classdir .= $SEP;
shift;
shift;
} else {
$classdir = "." . $SEP;
}
# if -cfg is specified, print out the contents of the cfg file to stdout
if ($ARGV[0] eq '-cfg') {
$CFG = $ARGV[1];
shift;
shift;
}
$_ = $ARGV[0];
if (m/\*.java/) {
# Account for the fact that the shell didn't expand *.java by doing it
# manually.
&manuallyExpandArgument("java");
}
$printFile = 0;
foreach $filename (@ARGV) {
$classfilename = $classdir;
$classfilename .= $filename;
$classfilename =~ s/.java$/.class/;
# workaround to only build sun/io/* classes when necessary
# change the pathname of target file to be consistent
# with sun/io subdirectories
#
# sun/io was always getting rebuilt because the java files
# were split into subdirectories, but the package names
# remained the same. This was confusing outofdate.pl
#
$classfilename =~ s/sun\/io\/extended.\//sun\/io\//;
$classfilename =~ s/\.\.\/\.\.\/sun-java\/classsrc\///;
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,
$ctime,$blksize,$blocks) = stat($filename);
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$classmtime,
$ctime,$blksize,$blocks) = stat($classfilename);
# print $filename, " ", $mtime, ", ", $classfilename, " ", $classmtime, "\n";
if ($mtime > $classmtime) {
# Only print the file header if we actually have some files to
# compile.
if (!$printFile) {
$printFile = 1;
&printFile($CFG);
}
print $filename, " ";
$found = 0;
}
}
print "\n";
# push onto $ARG array all filenames with extension $ext
# @param ext the extension of the file
sub manuallyExpandArgument {
local($ext) = @_;
$ext = "\." . $ext; # put it in regexp
$result = opendir(DIR, ".");
@allfiles = grep(/$ext/, readdir(DIR));
$i = 0;
foreach $file (@allfiles) {
#skip emacs save files
$_ = $file;
if (!/~/) {
$ARGV[$i++] = $file;
}
}
}
sub printFile {
local($file) = @_;
$result = open(CFG, $file);
while (<CFG>) {
chop;
print $_;
}
}

View File

@@ -1,10 +0,0 @@
Index: DOMAccessor.java
===================================================================
RCS file: /cvsroot/mozilla/java/dom/classes/org/mozilla/dom/DOMAccessor.java,v
retrieving revision 1.2
diff -r1.2 DOMAccessor.java
31a32,33
> import org.mozilla.dom.util.GenericDocLoadListener;
>
38a41
> addDocumentLoadListener(new GenericDocLoadListener("JavaDOM"));

View File

@@ -1,30 +0,0 @@
#!gmake
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH = ../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = classes src jni
include $(topsrcdir)/config/rules.mk

View File

@@ -1,153 +0,0 @@
Sources
=======
The sources are located in mozilla/java/dom.
Subdirectories
classes
jni
src
tests
contain Java sources, Java native methods implementation,
native c++ code and Java DOM API tests respectively.
Note:
Sources that work with mozilla PR1 and earlier
versions should be checked out using DOM_PR1 tag.
No tags are needed for the sources that work with
the latest mozilla tree.
Building
========
Requirenments:
--------------
Current mozilla build
JDK1.2 or JDK1.3
Perl 5 must be in your path
JDKHOME environment variable set to your JDK dir
CLASSPATH environment cvariable set to contain
org.w3c.dom classes. The sources can be found at
http://www.w3.org/TR/2000/CR-DOM-Level-2-20000307/java-binding.html
(for mozilla PR1 and earlie versions)
http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/java-binding.html
(for the latest mozilla)
Solaris specific
----------------
Add following directories to LD_LIBRARY_PATH environment variable:
$MOZILLA_FIVE_HOME
$JDKHOME/jre/lib/$HOSTTYPE/native_threads
$JDKHOME/jre/lib/$HOSTTYPE/classic
$JDKHOME/jre/lib/$HOSTTYPE/
goto mozilla/java/dom directory and type "gmake"
Windows NT specific
-------------------
To enable OJI usage set environment variable JAVA_DOM_OJI_ENABLE=1
Add following directories to PATH environment variable:
%MOZILLA_FIVE_HOME%
%JDKHOME%\jre\bin\classic (only in case you don't use OJI)
goto mozilla/java/dom directory and type "nmake /f makefile.win"
Using the Java DOM API
======================
A Java component obtains a org.w3c.dom.Document by registering for
Document load notifications. The Document is passed in along with the
notifications. The preferred way for a Java component to register for
Document load notifications is to register via the DOMAccessor class.
However, this is possible only if OJI usage is enabled. This works
on Windows NT platform.
On Solaris currently the nsJavaDOM component instantiates its own JVM.
When an OJI-compatible JVM is available, we will move over to using it.
So, one has to apply two patches to
mozilla/webshell/src/nsWebShell.cpp
mozilla/java/dom/classes/org/mozilla/dom/DOMAccessor.java
They can be found at mozilla/java/dom directory.
The first one inits nsJavaDOM component and adds it as a
document load observer listener.
The second one registers a document load listener via DOMAccessor.
Note:
any class that implements the DocumentLoadListener interface may
stand for GenericDocLoadListener.
After applying a patch to nsWebShell.cpp edit
mozilla/webshell/src/Makefile.in to add -DJAVA_DOM to the list of
defines. Then do a gmake in this directory.
After applying a patch to DOMAccessor.java go to mozilla/java/dom/classes
and do a gmake. No changes in makefiles are needed.
You can find examples of Java DOM API usage in
mozilla/java/dom/classes/org/mozilla/dom/util
mozilla/java/dom/tests/src/applets
DOM2 events
------------
At the moment all DOM2 event-related interfaces are present
however they are not fully implemented yet
because Mozilla's core DOM does not support DOM2 events fully.
Consequences:
- some methods throws OperationUnsupportedException()
The basic implementation architecture is following:
- NodeImpl is extended to support EventTarget interface
- for every addEventListener call special NativeDOMProxyListener object is
created and is registered with Mozilla's DOM
It's task is to propagate event notifications from Mozilla's DOM
to target Java EventListener
- In order to sucessfully unregister EventListeners we need to
save association between java EventListener and corresponding
NativeDOMProxyListener object. This is done by storing such
associations Vector at NodeImpl
- javaDOMEventsGlobals class is used much like javaDOMGlobals for caching
(this code may be moved to javaDOMGlobals)
NSPR Logging
------------
The NSPR Log module name is javadom. For instructions on how to enable
logging, see dist/include/prlog.h
Debug output
------------
The debug build of the Java DOM API creates the JVM with the verbose
and the verboseGC options turned on, to help in debugging. It also
creates two files in the current working directory, dom-java.txt and
dom-cpp.txt, which are simple dumps of the DOM, as printed from C++
and from Java. The two should be identical. The code to write these
files is, essentially, my regression test. Feel free to add to it.
Dependencies
------------
Currently tested on Solaris 7 only with Java 2 SDK 1.2.1. egcs-2.91.66,
Sun Workshop C++ 4.2 and 5.0 have been know to compile this code
fine. gcc-2.8.1 does *not* work. I have not used anything
Java2-specific, and it works with JDK1.1.x too (I have been using JDK
1.1.6 too).
References
----------
I highly recommend reading Sheng Liang's new JNI book.

View File

@@ -1,25 +0,0 @@
o Convert to using IDL and GenericFactories. Once support for
ComponentLoaders is implemented in xpcom, use that to load our
component.
[5d]
o Use OJI to obtain the JVM.
[5d. Awaiting OJI availability]
o i18n the API
o Use nsISupportsProxies to work around thread
limitations. This will mean writing an IDL for nsIJavaDOM.h, but
that sould be trivial. Dcumentation for nsISupportsProxies is
available at
http://www.mozilla.org/projects/xpcom/Proxies.html.
[2w. Assigned. Contact: Sergey Lunegov <lsv@sparc.spb.su>]
o Investigate the possibility of writing a tool that can generate the
JNI code from idl. This is the only practical way to implement the
HTML DOM (because it is too big to hand-code).
[4w+]

View File

@@ -1,42 +0,0 @@
#!gmake
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH = ../../..
topsrcdir = ../../..
VPATH = .
srcdir = .
IGNORE_MANIFEST=1
JAVA_OR_NSJVM=1
NO_CAFE=1
JDIRS = org/mozilla/dom \
org/mozilla/dom/events \
org/mozilla/dom/util \
$(NULL)
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
JAVAC_PROG = $(JDKHOME)/bin/javac
JAVAC_FLAGS = -classpath $(CLASSPATH):$(JAVA_DESTPATH) -d $(JAVA_DESTPATH)
JAVAC = $(JAVAC_PROG) $(JAVAC_FLAGS)

View File

@@ -1,36 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
IGNORE_MANIFEST=1
DEPTH = ..\..\..
JAVA_OR_NSJVM=1
NO_CAFE=1
include <$(DEPTH)\config\config.mak>
JDIRS = org\mozilla\dom \
org\mozilla\dom\events \
org\mozilla\dom\util \
$(NULL)
JAVAC_PROG=$(JDKHOME)\bin\javac
JAVAC_FLAGS=-classpath $(CLASSPATH);$(JAVA_DESTPATH) -d $(JAVA_DESTPATH)
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,43 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.Attr;
import org.w3c.dom.Element;
public class AttrImpl extends NodeImpl implements Attr {
// instantiated from JNI or Document.createAttribute()
private AttrImpl() {}
public native String getName();
public native boolean getSpecified();
public native String getValue();
public native void setValue(String value);
/**
* The <code>Element</code> node this attribute is attached to or
* <code>null</code> if this attribute is not in use.
* @since DOM Level 2
*/
public native Element getOwnerElement();
}

View File

@@ -1,31 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.CDATASection;
public class CDATASectionImpl extends TextImpl implements CDATASection {
// instantiated from JNI or Document.createCDATASection()
private CDATASectionImpl() {}
}

View File

@@ -1,39 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.CharacterData;
public class CharacterDataImpl extends NodeImpl implements CharacterData {
// instantiated from JNI only
protected CharacterDataImpl() {}
public native void appendData(String arg);
public native void deleteData(int offset, int count);
public native String getData();
public native int getLength();
public native void insertData(int offset, String arg);
public native void replaceData(int offset, int count, String arg);
public native void setData(String data);
public native String substringData(int offset, int count);
}

View File

@@ -1,30 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.Comment;
public class CommentImpl extends CharacterDataImpl implements Comment {
// instantiated from JNI or Document.createComment()
private CommentImpl() {}
}

View File

@@ -1,146 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import java.util.Vector;
import java.util.Enumeration;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import java.security.AccessController;
public final class DOMAccessor {
private static Vector documentLoadListeners = new Vector();
private static JavaDOMPermission permission = new JavaDOMPermission("JavaDOM");
static {
System.loadLibrary("javadomjni");
}
private void DOMAccessorImpl() {}
private static native void register();
private static native void unregister();
private static native Node getNodeByHandle(long p);
private static native void doGC();
public static native void initialize();
public static synchronized void
addDocumentLoadListener(DocumentLoadListener listener) {
if (documentLoadListeners.size() == 0) {
register();
}
documentLoadListeners.addElement(listener);
}
public static synchronized void
removeDocumentLoadListener(DocumentLoadListener listener) {
documentLoadListeners.removeElement(listener);
if (documentLoadListeners.size() == 0) {
unregister();
}
}
public static synchronized void
startURLLoad(String url, String contentType, long p_doc) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.startURLLoad(url, contentType, (Document)getNodeByHandle(p_doc));
}
doGC();
}
public static synchronized void
endURLLoad(String url, int status, long p_doc) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.endURLLoad(url, status, (Document)getNodeByHandle(p_doc));
}
doGC();
}
public static synchronized void
progressURLLoad(String url, int progress, int progressMax,
long p_doc) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.progressURLLoad(url, progress, progressMax, (Document)getNodeByHandle(p_doc));
}
doGC();
}
public static synchronized void
statusURLLoad(String url, String message, long p_doc) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.statusURLLoad(url, message, (Document)getNodeByHandle(p_doc));
}
doGC();
}
public static synchronized void
startDocumentLoad(String url) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.startDocumentLoad(url);
}
doGC();
}
public static synchronized void
endDocumentLoad(String url, int status, long p_doc) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.endDocumentLoad(url, status, (Document)getNodeByHandle(p_doc));
}
doGC();
}
}

View File

@@ -1,32 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.DOMException;
public class DOMExceptionImpl extends DOMException
{
// instantiated from JNI only
private DOMExceptionImpl(short code, String message) {
super(code, message);
}
}

View File

@@ -1,62 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.DOMImplementation;
import org.w3c.dom.Document;
import org.w3c.dom.DocumentType;
import org.w3c.dom.DOMException;
public class DOMImplementationImpl implements DOMImplementation {
private long p_nsIDOMDOMImplementation = 0;
// instantiated from JNI only
private DOMImplementationImpl() {}
public boolean equals(Object o) {
if (!(o instanceof NodeListImpl))
return false;
else
return (XPCOM_equals(o));
}
public int hashCode(){
return XPCOM_hashCode();
}
public native boolean hasFeature(String feature, String version);
protected native void finalize();
private native boolean XPCOM_equals(Object o);
private native int XPCOM_hashCode();
//since DOM2
public native DocumentType createDocumentType(String qualifiedName,
String publicID,
String systemID);
public native Document createDocument(String namespaceURI,
String qualifiedName,
DocumentType doctype);
}

View File

@@ -1,29 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.DocumentFragment;
public class DocumentFragmentImpl extends NodeImpl implements DocumentFragment {
// instantiated from JNI or Document.createDocumentFragment()
private DocumentFragmentImpl() {}
}

View File

@@ -1,78 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.Attr;
import org.w3c.dom.CDATASection;
import org.w3c.dom.Comment;
import org.w3c.dom.Document;
import org.w3c.dom.DocumentFragment;
import org.w3c.dom.Element;
import org.w3c.dom.EntityReference;
import org.w3c.dom.ProcessingInstruction;
import org.w3c.dom.Text;
import org.w3c.dom.DocumentType;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.w3c.dom.DOMImplementation;
import org.w3c.dom.events.DocumentEvent;
import org.w3c.dom.events.Event;
import org.w3c.dom.DOMException;
public class DocumentImpl extends NodeImpl implements Document, DocumentEvent {
// instantiated from JNI only
private DocumentImpl() {}
public native Attr createAttribute(String name);
public native CDATASection createCDATASection(String data);
public native Comment createComment(String data);
public native DocumentFragment createDocumentFragment();
public native Element createElement(String tagName);
public native EntityReference createEntityReference(String name);
public native ProcessingInstruction
createProcessingInstruction(String target,
String data);
public native Text createTextNode(String data);
public native DocumentType getDoctype();
public native Element getDocumentElement();
public native NodeList getElementsByTagName(String tagName);
public native DOMImplementation getImplementation();
public native Event createEvent(String type);
public native NodeList getElementsByTagNameNS(String namespaceURI, String localName);
public native Element getElementById(String elementId);
public Node importNode(Node importedNode, boolean deep) throws DOMException {
throw new UnsupportedOperationException();
}
public Element createElementNS(String namespaceURI, String qualifiedName)
throws DOMException {
throw new UnsupportedOperationException();
}
public Attr createAttributeNS(String namespaceURI, String qualifiedName)
throws DOMException {
throw new UnsupportedOperationException();
}
}

View File

@@ -1,36 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.Document;
public interface DocumentLoadListener {
public void startURLLoad(String url, String contentType, Document doc);
public void endURLLoad(String url, int status, Document doc);
public void progressURLLoad(String url, int progress, int progressMax,
Document doc);
public void statusURLLoad(String url, String message, Document doc);
public void startDocumentLoad(String url);
public void endDocumentLoad(String url, int status, Document doc);
}

View File

@@ -1,40 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.DocumentType;
import org.w3c.dom.NamedNodeMap;
public class DocumentTypeImpl extends NodeImpl implements DocumentType {
// instantiated from JNI only
private DocumentTypeImpl() {}
public native String getName();
public native NamedNodeMap getEntities();
public native NamedNodeMap getNotations();
//since DOM level 2
public native String getPublicId();
public native String getSystemId();
public native String getInternalSubset();
}

View File

@@ -1,53 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.Attr;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.w3c.dom.DOMException;
public class ElementImpl extends NodeImpl implements Element {
// instantiated from JNI or Document.createElement()
private ElementImpl() {}
public native String getAttribute(String name);
public native Attr getAttributeNode(String name);
public native NodeList getElementsByTagName(String name);
public native String getTagName();
public native void normalize();
public native void removeAttribute(String name);
public native Attr removeAttributeNode(Attr oldAttr);
public native void setAttribute(String name, String value);
public native Attr setAttributeNode(Attr newAttr);
//since DOM2
public native String getAttributeNS(String namespaceURI, String localName);
public native void setAttributeNS(String namespaceURI, String qualifiedName, String value);
public native void removeAttributeNS(String namespacURI, String localName);
public native Attr getAttributeNodeNS(String namespaceURI, String localName);
public native Attr setAttributeNodeNS(Attr newAttr);
public native NodeList getElementsByTagNameNS(String namespaceURI, String localName);
public native boolean hasAttribute(String name);
public native boolean hasAttributeNS(String namespaceURI, String localName);
}

View File

@@ -1,34 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.Entity;
public class EntityImpl extends NodeImpl implements Entity {
// instantiated from JNI only
private EntityImpl() {}
public native String getPublicId();
public native String getSystemId();
public native String getNotationName();
}

View File

@@ -1,30 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.EntityReference;
public class EntityReferenceImpl extends NodeImpl implements EntityReference {
// instantiated from JNI or Document.createEntityReference()
private EntityReferenceImpl() {}
}

View File

@@ -1,36 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import java.security.BasicPermission;
public final class JavaDOMPermission extends BasicPermission {
public JavaDOMPermission(String name)
{
super(name);
}
public JavaDOMPermission(String name, String actions)
{
super(name);
}
}

View File

@@ -1,53 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.DOMException;
public class NamedNodeMapImpl implements NamedNodeMap {
// instantiated from JNI only
private NamedNodeMapImpl() {}
public native int getLength();
public native Node getNamedItem(String name);
public native Node item(int index);
public native Node removeNamedItem(String name);
public native Node setNamedItem(Node arg);
public Node getNamedItemNS(String namespaceURI, String localName) {
throw new UnsupportedOperationException();
}
public Node removeNamedItemNS(String namespaceURI, String name)
throws DOMException {
throw new UnsupportedOperationException();
}
public Node setNamedItemNS(Node arg)
throws DOMException {
throw new UnsupportedOperationException();
}
}

View File

@@ -1,219 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.Node;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.NodeList;
import org.w3c.dom.Document;
import org.w3c.dom.DOMException;
import org.w3c.dom.events.Event;
import org.w3c.dom.events.EventTarget;
import org.w3c.dom.events.EventListener;
import java.util.Vector;
import java.util.Hashtable;
class NodeEventListener {
EventListener listener = null;
String type = null;
boolean useCapture = false;
long nativeListener = 0;
NodeEventListener(String aType, EventListener aListener,
boolean aUseCapture, long aNativeListener) {
type = aType;
listener = aListener;
useCapture = aUseCapture;
nativeListener = aNativeListener;
}
public boolean equals(Object o) {
if (!(o instanceof NodeEventListener))
return false;
else {
NodeEventListener n = (NodeEventListener) o;
if ((useCapture != n.useCapture)
|| (type == null) || !type.equals(n.type)
|| (listener == null) || !listener.equals(n.listener))
return false;
else
return true;
}
}
}
public class NodeImpl implements Node, EventTarget {
/* The derived classes (Attr, CharacterData, DocumentFragment,
Document, Element, EntityReference, NamedNodeMap,
ProcessingInstruction) will also use this native pointer, since
the nsIDOM coreDom classes follow the same hierarchy */
private long p_nsIDOMNode = 0;
// this map stores association of java DOM listeners
// with corresponding native Nodes
static private Hashtable javaDOMlisteners = new Hashtable();
// instantiated from JNI only
protected NodeImpl() {}
protected NodeImpl(long p) {
p_nsIDOMNode = p;
}
public boolean equals(Object o) {
if (!(o instanceof NodeImpl))
return false;
else
return (XPCOM_equals(o));
}
public int hashCode(){
return XPCOM_hashCode();
}
public String toString() {
return "<" + getNodeName() +
" t=" + nodeTypeString(getNodeType()) +
" c=org.mozilla.dom.NodeImpl p=" +
Long.toHexString(p_nsIDOMNode) + ">";
}
private static String nodeTypeString(int type) {
switch (type) {
case Node.ELEMENT_NODE: return "ELEMENT";
case Node.ATTRIBUTE_NODE: return "ATTRIBUTE";
case Node.TEXT_NODE: return "TEXT";
case Node.CDATA_SECTION_NODE: return "CDATA_SECTION";
case Node.ENTITY_REFERENCE_NODE: return "ENTITY_REFERENCE";
case Node.ENTITY_NODE: return "ENTITY";
case Node.PROCESSING_INSTRUCTION_NODE: return "PROCESSING_INSTRUCTION";
case Node.COMMENT_NODE: return "COMMENT";
case Node.DOCUMENT_NODE: return "DOCUMENT";
case Node.DOCUMENT_TYPE_NODE: return "DOCUMENT_TYPE";
case Node.DOCUMENT_FRAGMENT_NODE: return "DOCUMENT_FRAGMENT";
case Node.NOTATION_NODE: return "NOTATION";
}
return "ERROR";
}
public native Node appendChild(Node newChild) throws DOMException;
public native Node cloneNode(boolean deep);
public native NamedNodeMap getAttributes();
public native NodeList getChildNodes();
public native Node getFirstChild();
public native Node getLastChild();
public native Node getNextSibling();
public native String getNodeName();
public native short getNodeType();
public native String getNodeValue();
public native Document getOwnerDocument();
public native Node getParentNode();
public native Node getPreviousSibling();
public native boolean hasChildNodes();
public native Node insertBefore(Node newChild, Node refChild) throws DOMException;
public native Node removeChild(Node oldChild) throws DOMException;
public native Node replaceChild(Node newChild, Node oldChild) throws DOMException;
public native void setNodeValue(String nodeValue);
protected native void finalize();
private native boolean XPCOM_equals(Object o);
private native int XPCOM_hashCode();
//since DOM level 2
public native boolean supports(String feature, String version);
public native String getNamespaceURI();
public native String getPrefix();
public native void setPrefix(String prefix);
public native String getLocalName();
public void addEventListener(String type,
EventListener listener,
boolean useCapture) {
long nativeListener = addNativeEventListener(type, listener, useCapture);
Long lnode = new Long(p_nsIDOMNode);
Vector listeners;
//in conjunction with internal synchronization of Hashtable and Vector
// this should be enough for safe concurrent access
synchronized (javaDOMlisteners) {
listeners = (Vector) javaDOMlisteners.get(lnode);
if (listeners == null) {
listeners = new Vector();
javaDOMlisteners.put(lnode, listeners);
}
}
if (nativeListener != 0) {
NodeEventListener l = new NodeEventListener(type,
listener,
useCapture,
nativeListener);
listeners.add(l);
}
}
public void removeEventListener(String type,
EventListener listener,
boolean useCapture) {
Vector listeners = (Vector) javaDOMlisteners.get(new Long(p_nsIDOMNode));
if (listeners == null)
return;
NodeEventListener l = new NodeEventListener(type,
listener, useCapture, 0);
int idx = listeners.indexOf(l);
//if trying to remove non-existing listener then return
if (idx == -1)
return;
l = (NodeEventListener) listeners.remove(idx);
removeNativeEventListener(type, l.nativeListener, useCapture);
}
public boolean dispatchEvent(Event evt) throws DOMException {
throw new UnsupportedOperationException();
}
private native long addNativeEventListener(String type,
EventListener listener,
boolean useCapture);
private native void removeNativeEventListener(String type,
long nativeListener,
boolean useCapture);
public void normalize() {
throw new UnsupportedOperationException();
};
}

View File

@@ -1,52 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public class NodeListImpl implements NodeList {
private long p_nsIDOMNodeList = 0;
// instantiated from JNI or Document.createAttribute()
private NodeListImpl() {}
public boolean equals(Object o) {
if (!(o instanceof NodeListImpl))
return false;
else
return (XPCOM_equals(o));
}
public int hashCode(){
return XPCOM_hashCode();
}
public native int getLength();
public native Node item(int index);
protected native void finalize();
private native boolean XPCOM_equals(Object o);
private native int XPCOM_hashCode();
}

View File

@@ -1,33 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.Notation;
public class NotationImpl extends NodeImpl implements Notation {
// instantiated from JNI only
private NotationImpl() {}
public native String getPublicId();
public native String getSystemId();
}

View File

@@ -1,34 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.ProcessingInstruction;
public class ProcessingInstructionImpl extends NodeImpl implements ProcessingInstruction {
// instantiated from JNI or Document.createProcessingInstruction()
private ProcessingInstructionImpl() {}
public native String getData();
public native String getTarget();
public native void setData(String data);
}

View File

@@ -1,33 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.Text;
public class TextImpl extends CharacterDataImpl implements Text {
// instantiated from JNI or Document.createTextNode()
protected TextImpl() {}
public native Text splitText(int offset);
}

View File

@@ -1,151 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.events;
import org.w3c.dom.Node;
import org.w3c.dom.events.Event;
import org.w3c.dom.events.EventTarget;
/**
* The <code>Event</code> interface is used to provide contextual information
* about an event to the handler processing the event. An object which
* implements the <code>Event</code> interface is generally passed as the
* first parameter to an event handler. More specific context information
* is passed to event handlers by deriving additional interfaces from
* <code>Event</code> which contain information directly relating to the type
* of event they accompany. These derived interfaces are also implemented by
* the object passed to the event listener.
* @since DOM Level 2
*/
public class EventImpl implements Event {
protected long p_nsIDOMEvent = 0;
// instantiated from JNI only
protected EventImpl() {}
public String toString() {
return "<c=org.mozilla.dom.events.Event type=" + getType() +
" target=" + getTarget() +
" phase=" + getEventPhase() +
" p=" + Long.toHexString(p_nsIDOMEvent) + ">";
}
/**
* The <code>type</code> property represents the event name as a string
* property.
*/
public native String getType();
/**
* The <code>target</code> property indicates the <code>EventTarget</code>
* to which the event was originally dispatched.
*/
public native EventTarget getTarget();
/**
* The <code>currentNode</code> property indicates the <code>Node</code>
* whose <code>EventListener</code>s are currently being processed. This
* is particularly useful during capturing and bubbling.
*/
public native EventTarget getCurrentTarget();
/**
* The <code>eventPhase</code> property indicates which phase of event flow
* is currently being evaluated.
*/
public native short getEventPhase();
/**
* The <code>bubbles</code> property indicates whether or not an event is a
* bubbling event. If the event can bubble the value is true, else the
* value is false.
*/
public native boolean getBubbles();
/**
* The <code>cancelable</code> property indicates whether or not an event
* can have its default action prevented. If the default action can be
* prevented the value is true, else the value is false.
*/
public native boolean getCancelable();
/**
* The <code>preventBubble</code> method is used to end the bubbling phase
* of event flow. If this method is called by any
* <code>EventListener</code>s registered on the same
* <code>EventTarget</code> during bubbling, the bubbling phase will cease
* at that level and the event will not be propagated upward within the
* tree.
*/
public native void preventBubble();
/**
* The <code>preventCapture</code> method is used to end the capturing phase
* of event flow. If this method is called by any
* <code>EventListener</code>s registered on the same
* <code>EventTarget</code> during capturing, the capturing phase will
* cease at that level and the event will not be propagated any further
* down.
*/
public native void preventCapture();
/**
* If an event is cancelable, the <code>preventCapture</code> method is used
* to signify that the event is to be canceled, meaning any default action
* normally taken by the implementation as a result of the event will not
* occur. If, during any stage of event flow, the
* <code>preventDefault</code> method is called the event is canceled. Any
* default action associated with the event will not occur. Calling this
* method for a non-cancelable event has no effect. Once
* <code>preventDefault</code> has been called it will remain in effect
* throughout the remainder of the event's propagation.
*/
public native void preventDefault();
/**
* The <code>stopPropagation</code> method is used prevent further
* propagation of an event during event flow. If this method is called by
* any <code>EventListener</code> the event will cease propagating
* through the tree. The event will complete dispatch to all listeners
* on the current <code>EventTarget</code> before event flow stops. This
* method may be used during any stage of event flow.
*/
public native void stopPropagation();
/**
*
* @param eventTypeArg Specifies the event type. This type may be any event
* type currently defined in this specification or a new event type. Any
* new event type must not begin with any upper, lower, or mixed case
* version of the string "DOM". This prefix is reserved for future DOM
* event sets.
* @param canBubbleArg Specifies whether or not the event can bubble.
* @param cancelableArg Specifies whether or not the event's default action
* can be prevented.
*/
public native void initEvent(String eventTypeArg,
boolean canBubbleArg,
boolean cancelableArg);
public native long getTimeStamp();
}

View File

@@ -1,160 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.events;
import org.w3c.dom.Node;
import org.w3c.dom.views.AbstractView;
import org.w3c.dom.events.MouseEvent;
import org.w3c.dom.events.EventTarget;
/**
* The <code>MouseEvent</code> interface provides specific contextual
* information associated with Mouse events.
* <p>The <code>detail</code> attribute inherited from <code>UIEvent</code>
* indicates the number of times a mouse button has been pressed and released
* over the same screen location during a user action. The attribute value
* is 1 when the user begins this action and increments by 1 for each full
* sequence of pressing and releasing. If the user moves the mouse between
* the mousedown and mouseup the value will be set to 0, indicating that no
* click is occurring.
* @since DOM Level 2
*/
public class MouseEventImpl extends UIEventImpl implements MouseEvent {
// instantiated from JNI only
private MouseEventImpl() {}
public String toString() {
return "<c=org.mozilla.dom.events.mouseUIEvent type=" + getType() +
" screen=(" + getScreenX() + "," + getScreenY() + ")" +
" client=(" + getClientX() + "," + getClientY() + ")" +
" mods=(" + getCtrlKey() + "," + getMetaKey() + "," + getShiftKey() + "," + getAltKey() + ")" +
" button=" + getButton() +
" target=" + getTarget() +
" phase=" + getEventPhase() +
" p=" + Long.toHexString(p_nsIDOMEvent) + ">";
}
/**
* <code>screenX</code> indicates the horizontal coordinate at which the
* event occurred in relative to the origin of the screen coordinate system.
*/
public native int getScreenX();
/**
* <code>screenY</code> indicates the vertical coordinate at which the event
* occurred relative to the origin of the screen coordinate system.
*/
public native int getScreenY();
/**
* <code>clientX</code> indicates the horizontal coordinate at which the
* event occurred relative to the DOM implementation's client area.
*/
public native int getClientX();
/**
* <code>clientY</code> indicates the vertical coordinate at which the event
* occurred relative to the DOM implementation's client area.
*/
public native int getClientY();
/**
* <code>ctrlKey</code> indicates whether the 'ctrl' key was depressed
* during the firing of the event.
*/
public native boolean getCtrlKey();
/**
* <code>shiftKey</code> indicates whether the 'shift' key was depressed
* during the firing of the event.
*/
public native boolean getShiftKey();
/**
* <code>altKey</code> indicates whether the 'alt' key was depressed during
* the firing of the event. On some platforms this key may map to an
* alternative key name.
*/
public native boolean getAltKey();
/**
* <code>metaKey</code> indicates whether the 'meta' key was depressed
* during the firing of the event. On some platforms this key may map to
* an alternative key name.
*/
public native boolean getMetaKey();
/**
* During mouse events caused by the depression or release of a mouse
* button, <code>button</code> is used to indicate which mouse button
* changed state.
*/
public native short getButton();
/**
* <code>relatedNode</code> is used to identify a secondary node related to
* a UI event.
*/
public native EventTarget getRelatedTarget();
/**
*
* @param typeArg Specifies the event type.
* @param canBubbleArg Specifies whether or not the event can bubble.
* @param cancelableArg Specifies whether or not the event's default action
* can be prevent.
* @param viewArg Specifies the <code>Event</code>'s
* <code>AbstractView</code>.
* @param detailArg Specifies the <code>Event</code>'s mouse click count.
* @param screenXArg Specifies the <code>Event</code>'s screen x coordinate
* @param screenYArg Specifies the <code>Event</code>'s screen y coordinate
* @param clientXArg Specifies the <code>Event</code>'s client x coordinate
* @param clientYArg Specifies the <code>Event</code>'s client y coordinate
* @param ctrlKeyArg Specifies whether or not control key was depressed
* during the <code>Event</code>.
* @param altKeyArg Specifies whether or not alt key was depressed during
* the <code>Event</code>.
* @param shiftKeyArg Specifies whether or not shift key was depressed
* during the <code>Event</code>.
* @param metaKeyArg Specifies whether or not meta key was depressed during
* the <code>Event</code>.
* @param buttonArg Specifies the <code>Event</code>'s mouse button.
* @param relatedNodeArg Specifies the <code>Event</code>'s related Node.
*/
public native void initMouseEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg,
int screenXArg,
int screenYArg,
int clientXArg,
int clientYArg,
boolean ctrlKeyArg,
boolean altKeyArg,
boolean shiftKeyArg,
boolean metaKeyArg,
short buttonArg,
EventTarget relatedTargetArg);
}

View File

@@ -1,89 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.events;
import org.w3c.dom.Node;
import org.w3c.dom.events.MutationEvent;
import org.mozilla.dom.events.EventImpl;
public class MutationEventImpl extends EventImpl implements MutationEvent {
/**
* <code>relatedNode</code> is used to identify a secondary node related to
* a mutation event. For example, if a mutation event is dispatched to a
* node indicating that its parent has changed, the <code>relatedNode</code>
* is the changed parent. If an event is instead dispatch to a subtree
* indicating a node was changed within it, the <code>relatedNode</code> is
* the changed node.
*/
public Node getRelatedNode() {
throw new UnsupportedOperationException();
}
/**
* <code>prevValue</code> indicates the previous value of text nodes and
* attributes in attrModified and charDataModified events.
*/
public String getPrevValue() {
throw new UnsupportedOperationException();
}
/**
* <code>newValue</code> indicates the new value of text nodes and
* attributes in attrModified and charDataModified events.
*/
public String getNewValue() {
throw new UnsupportedOperationException();
}
/**
* <code>attrName</code> indicates the changed attr in the attrModified
* event.
*/
public String getAttrName() {
throw new UnsupportedOperationException();
}
/**
*
* @param typeArg Specifies the event type.
* @param canBubbleArg Specifies whether or not the event can bubble.
* @param cancelableArg Specifies whether or not the event's default action
* can be prevent.
* @param relatedNodeArg Specifies the <code>Event</code>'s related Node
* @param prevValueArg Specifies the <code>Event</code>'s
* <code>prevValue</code> property
* @param newValueArg Specifies the <code>Event</code>'s
* <code>newValue</code> property
* @param attrNameArg Specifies the <code>Event</code>'s
* <code>attrName</code> property
*/
public void initMutationEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Node relatedNodeArg,
String prevValueArg,
String newValueArg,
String attrNameArg) {
throw new UnsupportedOperationException();
}
}

View File

@@ -1,74 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.events;
import org.w3c.dom.events.UIEvent;
import org.w3c.dom.views.AbstractView;
import org.mozilla.dom.events.EventImpl;
/**
* The <code>UIEvent</code> interface provides specific contextual
* information associated with User Interface events.
* @since DOM Level 2
*/
public class UIEventImpl extends EventImpl implements UIEvent {
// instantiated from JNI only
protected UIEventImpl() {}
public String toString() {
return "<c=org.mozilla.dom.events.UIEvent type=" + getType() +
" target=" + getTarget() +
" phase=" + getEventPhase() +
" p=" + Long.toHexString(p_nsIDOMEvent) + ">";
}
/**
* The <code>view</code> attribute identifies the <code>AbstractView</code>
* from which the event was generated.
*/
public native AbstractView getView();
/**
* Specifies some detail information about the <code>Event</code>, depending
* on the type of event.
*/
public native int getDetail();
/**
*
* @param typeArg Specifies the event type.
* @param canBubbleArg Specifies whether or not the event can bubble.
* @param cancelableArg Specifies whether or not the event's default action
* can be prevent.
* @param viewArg Specifies the <code>Event</code>'s
* <code>AbstractView</code>.
* @param detailArg Specifies the <code>Event</code>'s detail.
*/
public native void initUIEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg);
}

View File

@@ -1,231 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Sun are Copyright (C) 1999 Sun Microsystems,
* Inc. All Rights Reserved.
*
* Contributor(s): Denis Sharypov <sdv@sparc.spb.su>
*
*/
package org.mozilla.dom.util;
import java.io.BufferedOutputStream;
import java.io.PrintStream;
import java.io.FileOutputStream;
import java.io.IOException;
import org.w3c.dom.Document;
import org.w3c.dom.DocumentType;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public class DOMTreeDumper {
private String name;
private boolean debug;
private PrintStream ps;
private boolean inA;
private final String[] endTagForbiddenNames = {"AREA",
"BASE",
"BASEFONT",
"BR",
"COL",
"FRAME",
"HR",
"IMG",
"INPUT",
"ISINDEX",
"LINK",
"META",
"PARAM"};
public DOMTreeDumper() {
this("DOMTreeDumper", true);
}
public DOMTreeDumper(boolean debug) {
this("DOMTreeDumper", debug);
}
public DOMTreeDumper(String name) {
this(name, true);
}
public DOMTreeDumper(String name, boolean debug) {
this.name = name;
this.debug = debug;
}
private void dumpDocument(Document doc) {
if (doc == null) return;
Element element = doc.getDocumentElement();
if (element == null) return;
element.normalize();
// DocumentType dt = doc.getDoctype();
// dumpNode(dt);
dumpNode(element);
ps.println();
ps.flush();
element = null;
doc = null;
}
private void dumpNode(Node node) {
dumpNode(node, false);
}
private void dumpNode(Node node, boolean isMapNode) {
if (node == null) {
return;
}
int type = node.getNodeType();
String name = node.getNodeName();
String value = node.getNodeValue();
switch (type) {
case Node.ELEMENT_NODE:
if (name.equals("A")) inA = true;
if (!(inA || name.equals("BR"))) {
ps.println();
}
ps.print("<" + name);
dumpAttributes(node);
ps.print(">");
dumpChildren(node);
if (name.equals("A")) inA = false;
if (!endTagForbidden(name)) {
ps.print("</" + node.getNodeName() + ">");
}
break;
case Node.ATTRIBUTE_NODE:
ps.print(" " + name.toUpperCase() + "=\"" + value + "\"");
break;
case Node.TEXT_NODE:
if (!node.getParentNode().getNodeName().equals("PRE")) {
value = value.trim();
}
if (!value.equals("")) {
if (!inA) {
ps.println();
}
ps.print(canonicalize(value));
}
break;
case Node.COMMENT_NODE:
ps.print("\n<!--" + value + "-->");
break;
case Node.CDATA_SECTION_NODE:
case Node.ENTITY_REFERENCE_NODE:
case Node.ENTITY_NODE:
case Node.PROCESSING_INSTRUCTION_NODE:
case Node.DOCUMENT_NODE:
case Node.DOCUMENT_TYPE_NODE:
case Node.DOCUMENT_FRAGMENT_NODE:
case Node.NOTATION_NODE:
ps.println("\n<!-- NOT HANDLED: " + name +
" value=" + value + " -->");
break;
}
}
private void dumpAttributes(Node node) {
NamedNodeMap map = node.getAttributes();
if (map == null) return;
int length = map.getLength();
for (int i=0; i < length; i++) {
Node item = map.item(i);
dumpNode(item, true);
}
}
private void dumpChildren(Node node) {
NodeList children = node.getChildNodes();
int length = 0;
boolean hasChildren = ((children != null) && ((length = children.getLength()) > 0));
if (!hasChildren) {
return;
}
for (int i=0; i < length; i++) {
dumpNode(children.item(i), false);
}
if (!inA) {
ps.println();
}
}
private String canonicalize(String str) {
StringBuffer in = new StringBuffer(str);
int length = in.length();
StringBuffer out = new StringBuffer(length);
char c;
for (int i = 0; i < length; i++) {
switch (c = in.charAt(i)) {
case '&' :
out.append("&amp;");
break;
case '<':
out.append("&lt;");
break;
case '>':
out.append("&gt;");
break;
case '\u00A0':
out.append("&nbsp;");
break;
default:
out.append(c);
}
}
return out.toString();
}
private boolean endTagForbidden(String name) {
for (int i = 0; i < endTagForbiddenNames.length; i++) {
if (name.equals(endTagForbiddenNames[i])) {
return true;
}
}
return false;
}
public void dumpToFile(String fileName, Document doc) {
try {
FileOutputStream fos = new FileOutputStream(fileName);
ps = new PrintStream(new BufferedOutputStream(fos, 1024));
} catch (IOException ex) {
ex.printStackTrace();
return;
}
dbg("dumping to " + fileName);
dumpDocument(doc);
dbg("finished dumping...");
}
public void dumpToStream(PrintStream ps, Document doc) {
this.ps = ps;
dbg("dumping to stream...");
dumpDocument(doc);
dbg("finished dumping...");
}
private void dbg(String str) {
if (debug) {
System.out.println(name + ": " + str);
}
}
}

View File

@@ -1,105 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.util;
import java.io.PrintStream;
import org.w3c.dom.Document;
import org.mozilla.dom.DocumentLoadListener;
public class GenericDocLoadListener implements DocumentLoadListener {
private String name;
private PrintStream ps;
public GenericDocLoadListener() {
this("GenericDocLoadListener",
new PrintStream(System.out));
}
public GenericDocLoadListener(String name) {
this(name,
new PrintStream(System.out));
}
public GenericDocLoadListener(PrintStream ps) {
this("GenericDocLoadListener", ps);
}
public GenericDocLoadListener(String name, PrintStream ps) {
this.name = name;
this.ps = ps;
}
public DocumentLoadListener getDocumentLoadListener() {
return this;
}
public void startURLLoad(String url, String contentType, Document doc) {
if (ps != null) {
ps.println(name + " :start URL load - " +
url.toString() + " " +
contentType);
}
}
public void endURLLoad(String url, int status, Document doc) {
if (ps != null) {
ps.println(name + " :end URL load - " +
url.toString() + " " +
Integer.toHexString(status));
}
}
public void progressURLLoad(String url, int progress, int progressMax,
Document doc) {
if (ps != null) {
ps.println(name + " :progress URL load - " +
url.toString() + " " +
Integer.toString(progress) + "/" +
Integer.toString(progressMax));
}
}
public void statusURLLoad(String url, String message, Document doc) {
if (ps != null) {
ps.println(name + " :status URL load - " +
url.toString() + " (" +
message + ")");
}
}
public void startDocumentLoad(String url) {
if (ps != null) {
ps.println(name + " :start doc load - " +
url.toString());
}
}
public void endDocumentLoad(String url, int status, Document doc) {
if (ps != null) {
ps.println(name + " :end doc load - " +
url.toString() + " " +
Integer.toHexString(status));
}
}
}

View File

@@ -1,68 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Sun are Copyright (C) 1999 Sun Microsystems,
* Inc. All Rights Reserved.
*
* Contributor(s):
*
*/
package org.mozilla.dom.util;
import java.io.PrintStream;
import org.w3c.dom.events.Event;
import org.w3c.dom.events.EventListener;
public class GenericEventListener implements EventListener {
private String name;
private PrintStream ps;
public GenericEventListener() {
this("GenericEventListener",
new PrintStream(System.out));
}
public GenericEventListener(String name) {
this(name, new PrintStream(System.out));
}
public GenericEventListener(PrintStream ps) {
this("GenericEventListener", ps);
}
public GenericEventListener(String name, PrintStream ps) {
this.name = name;
this.ps = ps;
}
/**
* This method is called whenever an event occurs of the type for which the
* <code> EventListener</code> interface was registered.
* @param event The <code>Event</code> contains contextual information about
* the event. It also contains the <code>returnValue</code> and
* <code>cancelBubble</code> properties which are used in determining
* proper event flow.
*/
public void handleEvent(Event event) {
try {
if (ps != null) {
ps.println(name + ": got event " + event);
}
} catch (Exception e) {
if (ps != null) {
ps.println(name + ": exception in handleEvent " + e);
}
}
}
}

View File

@@ -1,84 +0,0 @@
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
DEPTH = ../../..
topsrcdir = $(DEPTH)
srcdir = $(topsrcdir)/java/dom/jni
VPATH = $(topsrcdir)/java/dom/jni
JAVAHOME = $(JDKHOME)
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = javadomjni
CPPSRCS = \
javaDOMGlobals.cpp \
javaDOMEventsGlobals.cpp \
nativeDOMProxyListener.cpp \
org_mozilla_dom_DOMAccessor.cpp \
org_mozilla_dom_AttrImpl.cpp \
org_mozilla_dom_CharacterDataImpl.cpp \
org_mozilla_dom_DocumentImpl.cpp \
org_mozilla_dom_DocumentTypeImpl.cpp \
org_mozilla_dom_DOMImplementationImpl.cpp \
org_mozilla_dom_ElementImpl.cpp \
org_mozilla_dom_EntityImpl.cpp \
org_mozilla_dom_NamedNodeMapImpl.cpp \
org_mozilla_dom_NodeImpl.cpp \
org_mozilla_dom_NodeListImpl.cpp \
org_mozilla_dom_NotationImpl.cpp \
org_mozilla_dom_ProcessingInstructionImpl.cpp \
org_mozilla_dom_TextImpl.cpp \
org_mozilla_dom_events_EventImpl.cpp \
org_mozilla_dom_events_UIEventImpl.cpp \
org_mozilla_dom_events_MouseEventImpl.cpp
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
JAVA_CLS= \
org.mozilla.dom.DOMAccessor \
org.mozilla.dom.AttrImpl \
org.mozilla.dom.CharacterDataImpl \
org.mozilla.dom.DocumentImpl \
org.mozilla.dom.DocumentTypeImpl \
org.mozilla.dom.DOMImplementationImpl \
org.mozilla.dom.ElementImpl \
org.mozilla.dom.EntityImpl \
org.mozilla.dom.NamedNodeMapImpl \
org.mozilla.dom.NodeImpl \
org.mozilla.dom.NodeListImpl \
org.mozilla.dom.NotationImpl \
org.mozilla.dom.ProcessingInstructionImpl \
org.mozilla.dom.TextImpl \
org.mozilla.dom.events.EventImpl \
org.mozilla.dom.events.MouseEventImpl \
org.mozilla.dom.events.UIEventImpl \
$(NULL)
JAVAH_PROG=$(JDKHOME)/bin/javah
JAVAH_FLAGS=-jni -classpath $(CLASSPATH):$(JAVA_DESTPATH)
export::
$(JAVAH_PROG) $(JAVAH_FLAGS) $(JAVA_CLS)
clobber::
rm -f org_*.h

View File

@@ -1,84 +0,0 @@
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
DEPTH = ../../..
topsrcdir = $(DEPTH)
srcdir = $(topsrcdir)/java/dom/jni
VPATH = $(topsrcdir)/java/dom/jni
JAVAHOME = $(JDKHOME)
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = javadomjni
CPPSRCS = \
javaDOMGlobals.cpp \
javaDOMEventsGlobals.cpp \
nativeDOMProxyListener.cpp \
org_mozilla_dom_DOMAccessor.cpp \
org_mozilla_dom_AttrImpl.cpp \
org_mozilla_dom_CharacterDataImpl.cpp \
org_mozilla_dom_DocumentImpl.cpp \
org_mozilla_dom_DocumentTypeImpl.cpp \
org_mozilla_dom_DOMImplementationImpl.cpp \
org_mozilla_dom_ElementImpl.cpp \
org_mozilla_dom_EntityImpl.cpp \
org_mozilla_dom_NamedNodeMapImpl.cpp \
org_mozilla_dom_NodeImpl.cpp \
org_mozilla_dom_NodeListImpl.cpp \
org_mozilla_dom_NotationImpl.cpp \
org_mozilla_dom_ProcessingInstructionImpl.cpp \
org_mozilla_dom_TextImpl.cpp \
org_mozilla_dom_events_EventImpl.cpp \
org_mozilla_dom_events_UIEventImpl.cpp \
org_mozilla_dom_events_MouseEventImpl.cpp
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
JAVA_CLS= \
org.mozilla.dom.DOMAccessor \
org.mozilla.dom.AttrImpl \
org.mozilla.dom.CharacterDataImpl \
org.mozilla.dom.DocumentImpl \
org.mozilla.dom.DocumentTypeImpl \
org.mozilla.dom.DOMImplementationImpl \
org.mozilla.dom.ElementImpl \
org.mozilla.dom.EntityImpl \
org.mozilla.dom.NamedNodeMapImpl \
org.mozilla.dom.NodeImpl \
org.mozilla.dom.NodeListImpl \
org.mozilla.dom.NotationImpl \
org.mozilla.dom.ProcessingInstructionImpl \
org.mozilla.dom.TextImpl \
org.mozilla.dom.events.EventImpl \
org.mozilla.dom.events.MouseEventImpl \
org.mozilla.dom.events.UIEventImpl \
$(NULL)
JAVAH_PROG=$(JDKHOME)/bin/javah
JAVAH_FLAGS=-jni -classpath $(CLASSPATH):$(JAVA_DESTPATH)
export::
$(JAVAH_PROG) $(JAVAH_FLAGS) $(JAVA_CLS)
clobber::
rm -f org_*.h

View File

@@ -1,268 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "prmon.h"
#include "nsAutoLock.h"
#include "javaDOMEventsGlobals.h"
#include "nsIDOMEvent.h"
#include "nsIDOMUIEvent.h"
jclass JavaDOMEventsGlobals::eventClass = NULL;
jclass JavaDOMEventsGlobals::uiEventClass = NULL;
jclass JavaDOMEventsGlobals::eventListenerClass = NULL;
jclass JavaDOMEventsGlobals::eventTargetClass = NULL;
jclass JavaDOMEventsGlobals::mouseEventClass = NULL;
jclass JavaDOMEventsGlobals::mutationEventClass = NULL;
jfieldID JavaDOMEventsGlobals::eventPtrFID = NULL;
jfieldID JavaDOMEventsGlobals::eventTargetPtrFID = NULL;
jfieldID JavaDOMEventsGlobals::eventPhaseBubblingFID = NULL;
jfieldID JavaDOMEventsGlobals::eventPhaseCapturingFID = NULL;
jfieldID JavaDOMEventsGlobals::eventPhaseAtTargetFID = NULL;
jmethodID JavaDOMEventsGlobals::eventListenerHandleEventMID = NULL;
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
static NS_DEFINE_IID(kIDOMUIEventIID, NS_IDOMUIEVENT_IID);
void JavaDOMEventsGlobals::Initialize(JNIEnv *env)
{
eventClass = env->FindClass("org/mozilla/dom/events/EventImpl");
if (!eventClass) {
JavaDOMGlobals::ThrowException(env, "Class org.mozilla.dom.events.EventImpl not found");
return;
}
eventClass = (jclass) env->NewGlobalRef(eventClass);
if (!eventClass)
return;
eventPtrFID =
env->GetFieldID(eventClass, "p_nsIDOMEvent", "J");
if (!eventPtrFID) {
JavaDOMGlobals::ThrowException(env, "There is no field p_nsIDOMEvent in org.mozilla.dom.events.EventImpl");
return;
}
eventListenerClass = env->FindClass("org/w3c/dom/events/EventListener");
if (!eventListenerClass) {
JavaDOMGlobals::ThrowException(env, "Class org.w3c.dom.events.EventListener not found");
return;
}
eventListenerClass = (jclass) env->NewGlobalRef(eventListenerClass);
if (!eventListenerClass)
return;
eventListenerHandleEventMID = env->GetMethodID(
eventListenerClass, "handleEvent", "(Lorg/w3c/dom/events/Event;)V");
if (!eventListenerHandleEventMID) {
JavaDOMGlobals::ThrowException(env, "There is no method handleEvent in org.w3c.dom.events.EventListener");
return;
}
uiEventClass = env->FindClass("org/mozilla/dom/events/UIEventImpl");
if (!uiEventClass) {
JavaDOMGlobals::ThrowException(env, "Class org.mozilla.dom.events.UIEventImpl not found");
return;
}
uiEventClass = (jclass) env->NewGlobalRef(uiEventClass);
if (!uiEventClass)
return;
eventPhaseBubblingFID =
env->GetStaticFieldID(eventClass, "BUBBLING_PHASE", "S");
if (!eventPhaseBubblingFID) {
JavaDOMGlobals::ThrowException(env, "There is no static field BUBBLING_PHASE in org.w3c.dom.events.Event");
return;
}
eventPhaseCapturingFID =
env->GetStaticFieldID(eventClass, "CAPTURING_PHASE", "S");
if (!eventPhaseCapturingFID) {
JavaDOMGlobals::ThrowException(env, "There is no static field CAPTURING_PHASE in org.w3c.dom.events.Event");
return;
}
eventPhaseAtTargetFID =
env->GetStaticFieldID(eventClass, "AT_TARGET", "S");
if (!eventPhaseAtTargetFID) {
JavaDOMGlobals::ThrowException(env, "There is no static field AT_TARGET in org.w3c.dom.events.Event");
return;
}
mouseEventClass = env->FindClass("org/mozilla/dom/events/MouseEventImpl");
if (!mouseEventClass) {
JavaDOMGlobals::ThrowException(env, "Class org.mozilla.dom.events.MouseEventImpl not found");
return;
}
mouseEventClass = (jclass) env->NewGlobalRef(mouseEventClass);
if (!mouseEventClass)
return;
}
void JavaDOMEventsGlobals::Destroy(JNIEnv *env)
{
env->DeleteGlobalRef(eventClass);
if (env->ExceptionOccurred()) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("JavaDOMEventsGlobals::Destroy: failed to delete Event global ref %x\n",
eventClass));
return;
}
eventClass = NULL;
env->DeleteGlobalRef(eventListenerClass);
if (env->ExceptionOccurred()) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("JavaDOMEventsGlobals::Destroy: failed to delete EventListener global ref %x\n",
eventListenerClass));
return;
}
eventListenerClass = NULL;
env->DeleteGlobalRef(uiEventClass);
if (env->ExceptionOccurred()) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("JavaDOMEventsGlobals::Destroy: failed to delete UIEvent global ref %x\n",
uiEventClass));
return;
}
uiEventClass = NULL;
env->DeleteGlobalRef(mouseEventClass);
if (env->ExceptionOccurred()) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("JavaDOMEventsGlobals::Destroy: failed to delete mouseEvent global ref %x\n",
mouseEventClass));
return;
}
mouseEventClass = NULL;
}
//returns true if specified event "type" exists in the given list of types
// NOTE: it is assumed that "types" list is enden with NULL
static jboolean isEventOfType(const char* const* types, const char* type)
{
int i=0;
while (type && types && types[i]) {
if (!strcmp(type,types[i]))
return JNI_TRUE;
i++;
}
return JNI_FALSE;
}
jobject JavaDOMEventsGlobals::CreateEventSubtype(JNIEnv *env,
nsIDOMEvent *event)
{
jobject jevent;
jclass clazz = eventClass;
nsISupports *isupports;
void *target;
nsresult rv;
isupports = (nsISupports *) event;
//check whenever our Event is UIEvent
rv = isupports->QueryInterface(kIDOMUIEventIID, (void **) &target);
if (!NS_FAILED(rv) && target) {
// At the moment DOM2 draft specifies set of UIEvent subclasses
// However Mozilla still presents these events as nsUIEvent
// So we need a cludge to determine proper java class to be created
static const char* const uiEventTypes[] = {
"resize",
"scroll",
"focusin",
"focusout",
"gainselection",
"loseselection",
"activate",
NULL
};
static const char* const mouseEventTypes[] = {
"click",
"mousedown",
"mouseup",
"mouseover",
"mousemove",
"mouseout",
NULL
};
nsString eventType;
rv = event->GetType(eventType);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Event.getType at JavaDOMEventsGlobals: failed");
return NULL;
}
char* buffer = nsnull;
if (eventType.IsUnicode()) {
buffer = eventType.ToNewUTF8String();
} else {
buffer = eventType.ToNewCString();
}
if (isEventOfType(mouseEventTypes, buffer) == JNI_TRUE) {
clazz = mouseEventClass;
} else if (isEventOfType(uiEventTypes, buffer) == JNI_TRUE) {
clazz = uiEventClass;
} else {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("Unknown type of UI event (%s)", buffer));
clazz = uiEventClass;
}
nsString::Recycle(&eventType);
event->Release();
event = (nsIDOMEvent *) target;
}
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("JavaDOMEventsGlobals::CreateEventSubtype: allocating Node of clazz=%x\n",
clazz));
jevent = env->AllocObject(clazz);
if (!jevent) {
JavaDOMGlobals::ThrowException(env,
"JavaDOMEventsGlobals::CreateEventSubtype: failed to allocate Event object");
return NULL;
}
env->SetLongField(jevent, eventPtrFID, (jlong) event);
if (env->ExceptionOccurred()) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("JavaDOMEventGlobals::CreateEventSubtype: failed to set native ptr %x\n",
(jlong) event));
return NULL;
}
event->AddRef();
return jevent;
}

View File

@@ -1,56 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#ifndef __JavaDOMEventsGlobals_h__
#define __JavaDOMEventsGlobals_h__
#include"javaDOMGlobals.h"
#include"nsIDOMEvent.h"
class JavaDOMEventsGlobals {
public:
static jclass eventClass;
static jclass eventListenerClass;
static jclass eventTargetClass;
static jclass uiEventClass;
static jclass mutationEventClass;
static jclass mouseEventClass;
static jfieldID eventPtrFID;
static jfieldID eventTargetPtrFID;
static jfieldID eventPhaseBubblingFID;
static jfieldID eventPhaseCapturingFID;
static jfieldID eventPhaseAtTargetFID;
static jmethodID eventListenerHandleEventMID;
static void Initialize(JNIEnv *env);
static void Destroy(JNIEnv *env);
static jobject CreateEventSubtype(JNIEnv *env,
nsIDOMEvent *event);
static jlong RegisterNativeEventListener();
static jlong UnregisterNativeEventListener();
};
#endif /* __JavaDOMEventsGlobals_h__ */

View File

@@ -1,622 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "prmon.h"
#include "nsAutoLock.h"
#include "nsIDOMNode.h"
#include "javaDOMGlobals.h"
#include "javaDOMEventsGlobals.h"
jclass JavaDOMGlobals::attrClass = NULL;
jclass JavaDOMGlobals::cDataSectionClass = NULL;
jclass JavaDOMGlobals::commentClass = NULL;
jclass JavaDOMGlobals::documentClass = NULL;
jclass JavaDOMGlobals::documentFragmentClass = NULL;
jclass JavaDOMGlobals::documentTypeClass = NULL;
jclass JavaDOMGlobals::domImplementationClass = NULL;
jclass JavaDOMGlobals::elementClass = NULL;
jclass JavaDOMGlobals::entityClass = NULL;
jclass JavaDOMGlobals::entityReferenceClass = NULL;
jclass JavaDOMGlobals::namedNodeMapClass = NULL;
jclass JavaDOMGlobals::nodeClass = NULL;
jclass JavaDOMGlobals::nodeListClass = NULL;
jclass JavaDOMGlobals::notationClass = NULL;
jclass JavaDOMGlobals::processingInstructionClass = NULL;
jclass JavaDOMGlobals::textClass = NULL;
jfieldID JavaDOMGlobals::nodePtrFID = NULL;
jfieldID JavaDOMGlobals::nodeListPtrFID = NULL;
jfieldID JavaDOMGlobals::domImplementationPtrFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeAttributeFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeCDataSectionFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeCommentFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeDocumentFragmentFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeDocumentFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeDocumentTypeFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeElementFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeEntityFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeEntityReferenceFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeNotationFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeProcessingInstructionFID = NULL;
jfieldID JavaDOMGlobals::nodeTypeTextFID = NULL;
jclass JavaDOMGlobals::domExceptionClass = NULL;
jmethodID JavaDOMGlobals::domExceptionInitMID = NULL;
jclass JavaDOMGlobals::runtimeExceptionClass = NULL;
jmethodID JavaDOMGlobals::runtimeExceptionInitMID = NULL;
const char* const JavaDOMGlobals::DOM_EXCEPTION_MESSAGE[] =
{"Invalid DOM error code",
"Index is out of bounds",
"Could not fit text",
"Wrong hierarchy request",
"Wrong document usage",
"Invalid character",
"Data is unsupported",
"Modification disallowed",
"Node not found",
"Type is unsupported",
"Attribute is alreay in use",
"Invalid state",
"Syntax error",
"Invalid modification",
"Namespace error",
"Invalid access"};
PRLogModuleInfo* JavaDOMGlobals::log = NULL;
PRCList JavaDOMGlobals::garbage = PR_INIT_STATIC_CLIST(&garbage);
PRLock* JavaDOMGlobals::garbageLock = NULL;
PRInt32 JavaDOMGlobals::javaMaxInt = 0;
class jniDOMGarbage : public PRCList {
public:
jniDOMGarbage(nsISupports* p) { domObject = p; }
nsISupports* domObject;
};
void JavaDOMGlobals::Initialize(JNIEnv *env)
{
garbageLock = PR_NewLock();
log = PR_NewLogModule("javadom");
PR_INIT_CLIST(&garbage);
/* Node is loaded first because it is the base class of a lot of the
others */
nodeClass = env->FindClass("org/mozilla/dom/NodeImpl");
if (!nodeClass) return;
nodeClass = (jclass) env->NewGlobalRef(nodeClass);
if (!nodeClass) return;
nodePtrFID =
env->GetFieldID(nodeClass, "p_nsIDOMNode", "J");
if (!nodePtrFID) return;
attrClass = env->FindClass("org/mozilla/dom/AttrImpl");
if (!attrClass) return;
attrClass = (jclass) env->NewGlobalRef(attrClass);
if (!attrClass) return;
cDataSectionClass = env->FindClass("org/mozilla/dom/CDATASectionImpl");
if (!cDataSectionClass) return;
cDataSectionClass = (jclass) env->NewGlobalRef(cDataSectionClass);
if (!cDataSectionClass) return;
commentClass = env->FindClass("org/mozilla/dom/CommentImpl");
if (!commentClass) return;
commentClass = (jclass) env->NewGlobalRef(commentClass);
if (!commentClass) return;
documentClass = env->FindClass("org/mozilla/dom/DocumentImpl");
if (!documentClass) return;
documentClass = (jclass) env->NewGlobalRef(documentClass);
if (!documentClass) return;
documentFragmentClass = env->FindClass("org/mozilla/dom/DocumentFragmentImpl");
if (!documentFragmentClass) return;
documentFragmentClass = (jclass) env->NewGlobalRef(documentFragmentClass);
if (!documentFragmentClass) return;
documentTypeClass = env->FindClass("org/mozilla/dom/DocumentTypeImpl");
if (!documentTypeClass) return;
documentTypeClass = (jclass) env->NewGlobalRef(documentTypeClass);
if (!documentTypeClass) return;
domImplementationClass = env->FindClass("org/mozilla/dom/DOMImplementationImpl");
if (!domImplementationClass) return;
domImplementationClass = (jclass) env->NewGlobalRef(domImplementationClass);
if (!domImplementationClass) return;
domImplementationPtrFID =
env->GetFieldID(domImplementationClass, "p_nsIDOMDOMImplementation", "J");
if (!domImplementationPtrFID) return;
elementClass = env->FindClass("org/mozilla/dom/ElementImpl");
if (!elementClass) return;
elementClass = (jclass) env->NewGlobalRef(elementClass);
if (!elementClass) return;
entityClass = env->FindClass("org/mozilla/dom/EntityImpl");
if (!entityClass) return;
entityClass = (jclass) env->NewGlobalRef(entityClass);
if (!entityClass) return;
entityReferenceClass = env->FindClass("org/mozilla/dom/EntityReferenceImpl");
if (!entityReferenceClass) return;
entityReferenceClass = (jclass) env->NewGlobalRef(entityReferenceClass);
if (!entityReferenceClass) return;
namedNodeMapClass = env->FindClass("org/mozilla/dom/NamedNodeMapImpl");
if (!namedNodeMapClass) return;
namedNodeMapClass = (jclass) env->NewGlobalRef(namedNodeMapClass);
if (!namedNodeMapClass) return;
nodeListClass = env->FindClass("org/mozilla/dom/NodeListImpl");
if (!nodeListClass) return;
nodeListClass = (jclass) env->NewGlobalRef(nodeListClass);
if (!nodeListClass) return;
nodeListPtrFID =
env->GetFieldID(nodeListClass, "p_nsIDOMNodeList", "J");
if (!nodeListPtrFID) return;
nodeTypeAttributeFID =
env->GetStaticFieldID(nodeClass, "ATTRIBUTE_NODE", "S");
if (!nodeTypeAttributeFID) return;
nodeTypeCDataSectionFID =
env->GetStaticFieldID(nodeClass, "CDATA_SECTION_NODE", "S");
if (!nodeTypeCDataSectionFID) return;
nodeTypeCommentFID =
env->GetStaticFieldID(nodeClass, "COMMENT_NODE", "S");
if (!nodeTypeCommentFID) return;
nodeTypeDocumentFragmentFID =
env->GetStaticFieldID(nodeClass, "DOCUMENT_FRAGMENT_NODE", "S");
if (!nodeTypeDocumentFragmentFID) return;
nodeTypeDocumentFID =
env->GetStaticFieldID(nodeClass, "DOCUMENT_NODE", "S");
if (!nodeTypeDocumentFID) return;
nodeTypeDocumentTypeFID =
env->GetStaticFieldID(nodeClass, "DOCUMENT_TYPE_NODE", "S");
if (!nodeTypeDocumentTypeFID) return;
nodeTypeElementFID =
env->GetStaticFieldID(nodeClass, "ELEMENT_NODE", "S");
if (!nodeTypeElementFID) return;
nodeTypeEntityFID =
env->GetStaticFieldID(nodeClass, "ENTITY_NODE", "S");
if (!nodeTypeEntityFID) return;
nodeTypeEntityReferenceFID =
env->GetStaticFieldID(nodeClass, "ENTITY_REFERENCE_NODE", "S");
if (!nodeTypeEntityReferenceFID) return;
nodeTypeNotationFID =
env->GetStaticFieldID(nodeClass, "NOTATION_NODE", "S");
if (!nodeTypeNotationFID) return;
nodeTypeProcessingInstructionFID =
env->GetStaticFieldID(nodeClass, "PROCESSING_INSTRUCTION_NODE", "S");
if (!nodeTypeProcessingInstructionFID) return;
nodeTypeTextFID =
env->GetStaticFieldID(nodeClass, "TEXT_NODE", "S");
if (!nodeTypeTextFID) return;
notationClass = env->FindClass("org/mozilla/dom/NotationImpl");
if (!notationClass) return;
notationClass = (jclass) env->NewGlobalRef(notationClass);
if (!notationClass) return;
processingInstructionClass = env->FindClass("org/mozilla/dom/ProcessingInstructionImpl");
if (!processingInstructionClass) return;
processingInstructionClass = (jclass) env->NewGlobalRef(processingInstructionClass);
if (!processingInstructionClass) return;
textClass = env->FindClass("org/mozilla/dom/TextImpl");
if (!textClass) return;
textClass = (jclass) env->NewGlobalRef(textClass);
if (!textClass) return;
domExceptionClass = env->FindClass("org/mozilla/dom/DOMExceptionImpl");
if (!domExceptionClass) return;
domExceptionClass = (jclass) env->NewGlobalRef(domExceptionClass);
if (!domExceptionClass) return;
domExceptionInitMID =
env->GetMethodID(domExceptionClass, "<init>", "(SLjava/lang/String;)V");
if (!domExceptionInitMID) return;
runtimeExceptionClass = env->FindClass("java/lang/RuntimeException");
if (!runtimeExceptionClass) return;
runtimeExceptionClass = (jclass) env->NewGlobalRef(runtimeExceptionClass);
if (!runtimeExceptionClass) return;
runtimeExceptionInitMID =
env->GetMethodID(runtimeExceptionClass, "<init>", "(Ljava/lang/String;)V");
if (!runtimeExceptionInitMID) return;
jclass integerClass = env->FindClass("java/lang/Integer");
jfieldID javaMaxIntFID =
env->GetStaticFieldID(integerClass, "MAX_VALUE", "I");
javaMaxInt = env->GetStaticIntField(integerClass, javaMaxIntFID);
//init events globals
JavaDOMEventsGlobals::Initialize(env);
}
void JavaDOMGlobals::Destroy(JNIEnv *env)
{
//destroy events stuff
JavaDOMEventsGlobals::Destroy(env);
env->DeleteGlobalRef(attrClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete Attr global ref %x\n",
attrClass));
return;
}
attrClass = NULL;
env->DeleteGlobalRef(cDataSectionClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete CDATASection global ref %x\n",
cDataSectionClass));
return;
}
cDataSectionClass = NULL;
env->DeleteGlobalRef(commentClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete Comment global ref %x\n",
commentClass));
return;
}
commentClass = NULL;
env->DeleteGlobalRef(documentClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete Document global ref %x\n",
documentClass));
return;
}
documentClass = NULL;
env->DeleteGlobalRef(documentFragmentClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete DocumentFragment global ref %x\n",
documentFragmentClass));
return;
}
documentFragmentClass = NULL;
env->DeleteGlobalRef(documentTypeClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete DocumentType global ref %x\n",
documentTypeClass));
return;
}
documentTypeClass = NULL;
env->DeleteGlobalRef(domImplementationClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete DOMImplementation global ref %x\n",
domImplementationClass));
return;
}
domImplementationClass = NULL;
env->DeleteGlobalRef(elementClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete Element global ref %x\n",
elementClass));
return;
}
elementClass = NULL;
env->DeleteGlobalRef(entityClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete Entity global ref %x\n",
entityClass));
return;
}
entityClass = NULL;
env->DeleteGlobalRef(entityReferenceClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete EntityReference global ref %x\n",
entityReferenceClass));
return;
}
entityReferenceClass = NULL;
env->DeleteGlobalRef(namedNodeMapClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete NamedNodeMap global ref %x\n",
namedNodeMapClass));
return;
}
namedNodeMapClass = NULL;
env->DeleteGlobalRef(nodeListClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete NodeList global ref %x\n",
nodeListClass));
return;
}
nodeListClass = NULL;
env->DeleteGlobalRef(nodeClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete Node global ref %x\n",
nodeClass));
return;
}
nodeClass = NULL;
env->DeleteGlobalRef(notationClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete Notation global ref %x\n",
notationClass));
return;
}
notationClass = NULL;
env->DeleteGlobalRef(processingInstructionClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete ProcessingInstruction global ref %x\n",
processingInstructionClass));
return;
}
processingInstructionClass = NULL;
env->DeleteGlobalRef(textClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete Text global ref %x\n",
textClass));
return;
}
textClass = NULL;
env->DeleteGlobalRef(domExceptionClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete DOM Exception global ref %x\n",
domExceptionClass));
return;
}
domExceptionClass = NULL;
env->DeleteGlobalRef(runtimeExceptionClass);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::Destroy: failed to delete DOM Exception global ref %x\n",
runtimeExceptionClass));
return;
}
runtimeExceptionClass = NULL;
TakeOutGarbage();
PR_DestroyLock(garbageLock);
}
jobject JavaDOMGlobals::CreateNodeSubtype(JNIEnv *env,
nsIDOMNode *node)
{
if (!node)
return NULL;
PRUint16 nodeType = 0;
(void) node->GetNodeType(&nodeType);
jclass clazz = nodeClass;
switch (nodeType) {
case nsIDOMNode::ATTRIBUTE_NODE:
clazz = attrClass;
break;
case nsIDOMNode::CDATA_SECTION_NODE:
clazz = cDataSectionClass;
break;
case nsIDOMNode::COMMENT_NODE:
clazz = commentClass;
break;
case nsIDOMNode::DOCUMENT_NODE:
clazz = documentClass;
break;
case nsIDOMNode::DOCUMENT_FRAGMENT_NODE:
clazz = documentFragmentClass;
break;
case nsIDOMNode::DOCUMENT_TYPE_NODE:
clazz = documentTypeClass;
break;
case nsIDOMNode::ELEMENT_NODE:
clazz = elementClass;
break;
case nsIDOMNode::ENTITY_NODE:
clazz = entityClass;
break;
case nsIDOMNode::ENTITY_REFERENCE_NODE:
clazz = entityReferenceClass;
break;
case nsIDOMNode::NOTATION_NODE:
clazz = notationClass;
break;
case nsIDOMNode::PROCESSING_INSTRUCTION_NODE:
clazz = processingInstructionClass;
break;
case nsIDOMNode::TEXT_NODE:
clazz = textClass;
break;
}
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::CreateNodeSubtype: allocating Node of type %d, clazz=%x\n",
nodeType, clazz));
jobject jnode = env->AllocObject(clazz);
if (!jnode) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::CreateNodeSubtype: failed to allocate Node of type %d\n",
nodeType));
return NULL;
}
env->SetLongField(jnode, nodePtrFID, (jlong) node);
if (env->ExceptionOccurred()) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::CreateNodeSubtype: failed to set native ptr %x\n",
(jlong) node));
return NULL;
}
node->AddRef();
return jnode;
}
void JavaDOMGlobals::AddToGarbage(nsISupports* domObject)
{
nsAutoLock lock(garbageLock);
jniDOMGarbage* elem = new jniDOMGarbage(domObject);
PR_INSERT_BEFORE(elem, &garbage);
PR_LOG(log, PR_LOG_DEBUG,
("JavaDOMGlobals::AddToGarbage: Scheduling %x\n", domObject));
}
void JavaDOMGlobals::TakeOutGarbage()
{
nsAutoLock lock(garbageLock);
PRUint32 count = 0;
nsISupports* domo = NULL;
PRCList* chain = NULL;
PRCList* elem = NULL;
for (chain = PR_LIST_HEAD(&garbage);
chain != &garbage;
chain = PR_NEXT_LINK(chain)) {
delete elem;
elem = chain;
domo = ((jniDOMGarbage*) elem)->domObject;
PR_LOG(log, PR_LOG_DEBUG,
("JavaDOMGlobals::TakeOutGarbage: Releasing %x\n", domo));
domo->Release();
domo = NULL;
count++;
}
delete elem;
PR_INIT_CLIST(&garbage);
if (count)
PR_LOG(log, PR_LOG_DEBUG,
("JavaDOMGlobals::TakeOutGarbage: Released %d objects\n", count));
}
// caller must return from JNI immediately after calling this function
void JavaDOMGlobals::ThrowException(JNIEnv *env,
const char * message,
nsresult rv,
ExceptionType exceptionType) {
jthrowable newException = NULL;
if (exceptionType == EXCEPTION_DOM) {
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::ThrowException: (%x) %s: %s\n",
NS_ERROR_GET_CODE(rv),
message ? message : "",
DOM_EXCEPTION_MESSAGE[NS_ERROR_GET_CODE(rv)]));
jstring jmessage =
env->NewStringUTF(DOM_EXCEPTION_MESSAGE[NS_ERROR_GET_CODE(rv)]);
newException =
(jthrowable)env->NewObject(domExceptionClass,
domExceptionInitMID,
NS_ERROR_GET_CODE(rv),
jmessage);
} else {
char buffer[256];
const char* msg = message;
if (rv != NS_OK) {
sprintf(buffer,
"(%x.%x) %s",
NS_ERROR_GET_MODULE(rv),
NS_ERROR_GET_CODE(rv),
message ? message : "");
msg = buffer;
}
PR_LOG(log, PR_LOG_ERROR,
("JavaDOMGlobals::ThrowException: %s\n", msg));
jstring jmessage = env->NewStringUTF(msg);
newException =
(jthrowable)env->NewObject(runtimeExceptionClass,
runtimeExceptionInitMID,
jmessage);
}
if (newException != NULL) {
env->Throw(newException);
}
// an exception is thrown in any case
}
nsString* JavaDOMGlobals::GetUnicode(JNIEnv *env,
jstring jstr)
{
jboolean iscopy = JNI_FALSE;
const jchar* name = env->GetStringChars(jstr, &iscopy);
if (!name) {
ThrowException(env, "GetStringChars failed");
return NULL;
}
nsString* ustr = new nsString((PRUnichar*)name,
env->GetStringLength(jstr));
env->ReleaseStringChars(jstr, name);
return ustr;
}

View File

@@ -1,110 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#ifndef __JavaDOMGlobals_h__
#define __JavaDOMGlobals_h__
#include "jni.h"
#include "prclist.h"
#include "nsError.h"
#include "nsString2.h"
// workaround for bug 30927
#ifdef ERROR
#undef ERROR
#endif
class nsISupports;
class nsIDOMNode;
struct PRLogModuleInfo;
struct PRLock;
class JavaDOMGlobals {
public:
static jclass attrClass;
static jclass cDataSectionClass;
static jclass commentClass;
static jclass documentClass;
static jclass documentFragmentClass;
static jclass documentTypeClass;
static jclass domImplementationClass;
static jclass elementClass;
static jclass entityClass;
static jclass entityReferenceClass;
static jclass namedNodeMapClass;
static jclass nodeClass;
static jclass nodeListClass;
static jclass notationClass;
static jclass processingInstructionClass;
static jclass textClass;
static jfieldID nodePtrFID;
static jfieldID nodeListPtrFID;
static jfieldID domImplementationPtrFID;
static jfieldID nodeTypeAttributeFID;
static jfieldID nodeTypeCDataSectionFID;
static jfieldID nodeTypeCommentFID;
static jfieldID nodeTypeDocumentFragmentFID;
static jfieldID nodeTypeDocumentFID;
static jfieldID nodeTypeDocumentTypeFID;
static jfieldID nodeTypeElementFID;
static jfieldID nodeTypeEntityFID;
static jfieldID nodeTypeEntityReferenceFID;
static jfieldID nodeTypeNotationFID;
static jfieldID nodeTypeProcessingInstructionFID;
static jfieldID nodeTypeTextFID;
static jclass domExceptionClass;
static jmethodID domExceptionInitMID;
static jclass runtimeExceptionClass;
static jmethodID runtimeExceptionInitMID;
static const char* const DOM_EXCEPTION_MESSAGE[];
typedef enum ExceptionType { EXCEPTION_RUNTIME,
EXCEPTION_DOM } ExceptionType;
static PRLogModuleInfo* log;
static PRCList garbage;
static PRLock* garbageLock;
static PRInt32 javaMaxInt;
static void Initialize(JNIEnv *env);
static void Destroy(JNIEnv *env);
static jobject CreateNodeSubtype(JNIEnv *env,
nsIDOMNode *node);
static void AddToGarbage(nsISupports* domObject);
static void TakeOutGarbage();
static void ThrowException(JNIEnv *env,
const char * message = NULL,
nsresult rv = NS_OK,
ExceptionType exceptionType = EXCEPTION_RUNTIME);
static nsString* GetUnicode(JNIEnv *env,
jstring str);
};
#endif /* __JavaDOMGlobals_h__ */

View File

@@ -1,128 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..
IGNORE_MANIFEST=1
DEFINES=-D_IMPL_NS_WEB -DWIN32_LEAN_AND_MEAN
MODULE=javadomjni
CPPSRCS= \
javaDOMGlobals.cpp \
javaDOMEventsGlobals.cpp \
nativeDOMProxyListener.cpp \
org_mozilla_dom_DOMAccessor.cpp \
org_mozilla_dom_AttrImpl.cpp \
org_mozilla_dom_CharacterDataImpl.cpp \
org_mozilla_dom_DocumentImpl.cpp \
org_mozilla_dom_DocumentTypeImpl.cpp \
org_mozilla_dom_DOMImplementationImpl.cpp \
org_mozilla_dom_ElementImpl.cpp \
org_mozilla_dom_EntityImpl.cpp \
org_mozilla_dom_NamedNodeMapImpl.cpp \
org_mozilla_dom_NodeImpl.cpp \
org_mozilla_dom_NodeListImpl.cpp \
org_mozilla_dom_NotationImpl.cpp \
org_mozilla_dom_ProcessingInstructionImpl.cpp \
org_mozilla_dom_TextImpl.cpp \
org_mozilla_dom_events_EventImpl.cpp \
org_mozilla_dom_events_MouseEventImpl.cpp \
org_mozilla_dom_events_UIEventImpl.cpp \
$(NULL)
CPP_OBJS= \
.\$(OBJDIR)\javaDOMGlobals.obj \
.\$(OBJDIR)\javaDOMEventsGlobals.obj \
.\$(OBJDIR)\nativeDOMProxyListener.obj \
.\$(OBJDIR)\org_mozilla_dom_DOMAccessor.obj \
.\$(OBJDIR)\org_mozilla_dom_AttrImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_CharacterDataImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_DocumentImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_DocumentTypeImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_DOMImplementationImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_ElementImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_EntityImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_NamedNodeMapImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_NodeImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_NodeListImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_NotationImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_ProcessingInstructionImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_TextImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_events_EventImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_events_UIEventImpl.obj \
.\$(OBJDIR)\org_mozilla_dom_events_MouseEventImpl.obj \
$(NULL)
JAVA_CLS= \
org.mozilla.dom.DOMAccessor \
org.mozilla.dom.AttrImpl \
org.mozilla.dom.CharacterDataImpl \
org.mozilla.dom.DocumentImpl \
org.mozilla.dom.DocumentTypeImpl \
org.mozilla.dom.DOMImplementationImpl \
org.mozilla.dom.ElementImpl \
org.mozilla.dom.EntityImpl \
org.mozilla.dom.NamedNodeMapImpl \
org.mozilla.dom.NodeImpl \
org.mozilla.dom.NodeListImpl \
org.mozilla.dom.NotationImpl \
org.mozilla.dom.ProcessingInstructionImpl \
org.mozilla.dom.TextImpl \
org.mozilla.dom.events.EventImpl \
org.mozilla.dom.events.MouseEventImpl \
org.mozilla.dom.events.UIEventImpl \
$(NULL)
LINCS=
MAKE_OBJ_TYPE = DLL
DLLNAME = javadomjni
DLL=.\$(OBJDIR)\$(DLLNAME).dll
LIBRARY_NAME=javadomimpl
LCFLAGS = \
$(LCFLAGS) \
$(DEFINES) \
$(NULL)
# These are the libraries we need to link with to create the dll
LLIBS= \
$(DIST)\lib\xpcom.lib \
$(LIBNSPR)
include <$(DEPTH)\config\config.mak>
include <$(DEPTH)\config\rules.mak>
JAVAH_PROG=$(JDKHOME)\bin\javah
JAVAH_FLAGS=-jni -classpath $(CLASSPATH);$(JAVA_DESTPATH)
export::
$(JAVAH_PROG) $(JAVAH_FLAGS) $(JAVA_CLS)
install:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
clobber::
rm -f $(DIST)\bin\$(DLLNAME).dll
rm -f $(DIST)\lib\$(DLLNAME).lib
rm -f org_*.h

View File

@@ -1,130 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include<stdio.h>
#include"prlog.h"
#include"nativeDOMProxyListener.h"
#include"nsIDOMNode.h"
#include"nsIDOMEventTarget.h"
#include"nsIDOMEventListener.h"
#include"javaDOMEventsGlobals.h"
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
static NS_DEFINE_IID(kIDOMEventListener, NS_IDOMEVENTLISTENER_IID);
NativeDOMProxyListener::NativeDOMProxyListener(JNIEnv *env, jobject jlistener)
{
mRefCnt = 0;
listener = env->NewGlobalRef(jlistener);
if (env->GetJavaVM(&vm) != 0)
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("NativeDOMProxyListener: Can't objant jvm\n"));
}
//should be called oly from NativeDOMProxyListener::Release
NativeDOMProxyListener::~NativeDOMProxyListener()
{
JNIEnv *env;
if (vm->AttachCurrentThread( &env, NULL) != 0)
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("NativeDOMProxyListener: Can't attach current thread to JVM\n"));
env->DeleteGlobalRef(listener);
if (env->ExceptionOccurred()) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("NativeDOMProxyListener::Destroy: failed to delete EventListener global ref %x\n",
listener));
return;
}
}
nsresult NativeDOMProxyListener::HandleEvent(nsIDOMEvent* aEvent)
{
jobject jevent;
JNIEnv *env;
if (vm->AttachCurrentThread( &env, NULL) != 0) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("NativeDOMProxyListener:HandleEvent Can't attach current thread to JVM\n"));
return NS_ERROR_FAILURE;
}
jevent = JavaDOMEventsGlobals::CreateEventSubtype(env, aEvent);
if (!jevent) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("NativeDOMProxyListener::HandleEvent Can't create java event object"));
return NS_ERROR_FAILURE;
}
env->CallVoidMethod(listener,
JavaDOMEventsGlobals::eventListenerHandleEventMID,
jevent);
if (env->ExceptionOccurred()) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("NativeDOMProxyListener::HandleEvent: failed to call EventListener %x\n",
listener));
return NS_ERROR_FAILURE;
}
return NS_OK;
}
nsresult NativeDOMProxyListener::QueryInterface(const nsIID &aIID, void **aResult)
{
if (aResult == NULL) {
return NS_ERROR_NULL_POINTER;
}
// Always NULL result, in case of failure
*aResult = NULL;
if (aIID.Equals(kISupportsIID)) {
*aResult = (void *) this;
} else if (aIID.Equals(kIDOMEventListener)) {
*aResult = (void *) this;
}
if (aResult != NULL) {
return NS_ERROR_NO_INTERFACE;
}
AddRef();
return NS_OK;
}
nsrefcnt NativeDOMProxyListener::AddRef()
{
return mRefCnt++;
}
nsrefcnt NativeDOMProxyListener::Release()
{
if (--mRefCnt == 0) {
delete this;
return 0; // Don't access mRefCnt after deleting!
}
return mRefCnt;
}

View File

@@ -1,29 +0,0 @@
#ifndef __JAVA_DOM_NATIVE_PROXY_LISTENER__
#define __JAVA_DOM_NATIVE_PROXY_LISTENER__
#include"nsIDOMEventListener.h"
#include"jni.h"
class NativeDOMProxyListener: public nsIDOMEventListener{
private:
JavaVM *vm;
jobject listener;
nsrefcnt mRefCnt;
//to be used only by Release()
virtual ~NativeDOMProxyListener();
public:
NativeDOMProxyListener(JNIEnv *env, jobject jlistener);
virtual nsresult HandleEvent(nsIDOMEvent* aEvent);
NS_IMETHOD QueryInterface(const nsIID &aIID, void **aResult);
NS_IMETHOD_(nsrefcnt) AddRef(void);
NS_IMETHOD_(nsrefcnt) Release(void);
};
#endif

View File

@@ -1,177 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMAttr.h"
#include "javaDOMGlobals.h"
#include "org_mozilla_dom_AttrImpl.h"
/*
* Class: org_mozilla_dom_AttrImpl
* Method: getName
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_AttrImpl_getName
(JNIEnv *env, jobject jthis)
{
nsIDOMAttr* attr = (nsIDOMAttr*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!attr) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Attr.getName: NULL pointer\n"));
return NULL;
}
nsString name;
nsresult rv = attr->GetName(name);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Attr.getName: failed (%x)\n", rv));
return NULL;
}
jstring jname = env->NewString(name.GetUnicode(), name.Length());
if (!jname) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Attr.getName: NewString failed\n"));
}
return jname;
}
/*
* Class: org_mozilla_dom_AttrImpl
* Method: getSpecified
* Signature: ()Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_AttrImpl_getSpecified
(JNIEnv *env, jobject jthis)
{
nsIDOMAttr* attr = (nsIDOMAttr*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!attr) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Attr.getSpecified: NULL pointer\n"));
return JNI_FALSE;
}
PRBool specified = PR_FALSE;
nsresult rv = attr->GetSpecified(&specified);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Attr.getSpecified: failed (%x)\n", rv));
return JNI_FALSE;
}
return (specified == PR_TRUE) ? JNI_TRUE : JNI_FALSE;
}
/*
* Class: org_mozilla_dom_AttrImpl
* Method: getValue
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_AttrImpl_getValue
(JNIEnv *env, jobject jthis)
{
nsIDOMAttr* attr = (nsIDOMAttr*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!attr) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Attr.getValue: NULL pointer\n"));
return NULL;
}
nsString value;
nsresult rv = attr->GetValue(value);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Attr.getValue: failed (%x)\n", rv));
return NULL;
}
jstring jval = env->NewString(value.GetUnicode(), value.Length());
if (!jval) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Attr.getValue: NewString failed\n"));
}
return jval;
}
/*
* Class: org_mozilla_dom_AttrImpl
* Method: setValue
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_AttrImpl_setValue
(JNIEnv *env, jobject jthis, jstring jval)
{
nsIDOMAttr* attr = (nsIDOMAttr*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!attr || !jval) {
JavaDOMGlobals::ThrowException(env,
"Attr.setValue: NULL pointer\n");
return;
}
nsString* cstr = JavaDOMGlobals::GetUnicode(env, jval);
if (!cstr)
return;
nsresult rv = attr->SetValue(*cstr);
nsString::Recycle(cstr);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Attr.setValue: failed (%x)\n", rv));
return;
}
}
/*
* Class: org_mozilla_dom_AttrImpl
* Method: getOwnerElement
* Signature: ()Lorg/w3c/dom/Element;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_AttrImpl_getOwnerElement
(JNIEnv *env, jobject jthis)
{
nsIDOMAttr* attr = (nsIDOMAttr*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!attr) {
JavaDOMGlobals::ThrowException(env,
"Attr.setValue: NULL pointer\n");
return NULL;
}
nsIDOMElement* aOwnerElement = nsnull;
nsresult rv = attr->GetOwnerElement(&aOwnerElement);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Attr.getOwnerElement: failed (%x)\n", rv));
return NULL;
}
return JavaDOMGlobals::CreateNodeSubtype(env, (nsIDOMNode*)aOwnerElement);
}

View File

@@ -1,323 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMCharacterData.h"
#include "nsDOMError.h"
#include "javaDOMGlobals.h"
#include "org_mozilla_dom_CharacterDataImpl.h"
/*
* Class: org_mozilla_dom_CharacterDataImpl
* Method: appendData
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_CharacterDataImpl_appendData
(JNIEnv *env, jobject jthis, jstring jvalue)
{
nsIDOMCharacterData* data = (nsIDOMCharacterData*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!data || !jvalue) {
JavaDOMGlobals::ThrowException(env,
"CharacterData.appendData: NULL pointer");
return;
}
nsString* value = JavaDOMGlobals::GetUnicode(env, jvalue);
if (!value)
return;
nsresult rv = data->AppendData(*value);
nsString::Recycle(value);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"CharacterData.appendData: failed", rv, exceptionType);
return;
}
}
/*
* Class: org_mozilla_dom_CharacterDataImpl
* Method: deleteData
* Signature: (II)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_CharacterDataImpl_deleteData
(JNIEnv *env, jobject jthis, jint offset, jint count)
{
if (offset < 0 || offset > JavaDOMGlobals::javaMaxInt ||
count < 0 || count > JavaDOMGlobals::javaMaxInt) {
JavaDOMGlobals::ThrowException(env, "CharacterData.deleteData: failed",
NS_ERROR_DOM_INDEX_SIZE_ERR,
JavaDOMGlobals::EXCEPTION_DOM);
return;
}
nsIDOMCharacterData* data = (nsIDOMCharacterData*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!data) {
JavaDOMGlobals::ThrowException(env,
"CharacterData.deleteData: NULL pointer");
return;
}
nsresult rv = data->DeleteData((PRUint32) offset, (PRUint32) count);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_INDEX_SIZE_ERR ||
rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"CharacterData.deleteData: failed", rv, exceptionType);
return;
}
}
/*
* Class: org_mozilla_dom_CharacterDataImpl
* Method: getData
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_CharacterDataImpl_getData
(JNIEnv *env, jobject jthis)
{
nsIDOMCharacterData* data = (nsIDOMCharacterData*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!data) {
JavaDOMGlobals::ThrowException(env,
"CharacterData.getData: NULL pointer");
return NULL;
}
nsString ret;
nsresult rv = data->GetData(ret);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (rv == NS_ERROR_DOM_DOMSTRING_SIZE_ERR) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"CharacterData.getData: failed", rv, exceptionType);
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"CharacterData.getData: NewString failed");
}
return jret;
}
/*
* Class: org_mozilla_dom_CharacterDataImpl
* Method: getLength
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_mozilla_dom_CharacterDataImpl_getLength
(JNIEnv *env, jobject jthis)
{
nsIDOMCharacterData* data = (nsIDOMCharacterData*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!data) {
JavaDOMGlobals::ThrowException(env,
"CharacterData.getLength: NULL pointer");
return 0;
}
PRUint32 len = 0;
nsresult rv = data->GetLength(&len);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"CharacterData.getLength: failed", rv);
return 0;
}
return (jint) len;
}
/*
* Class: org_mozilla_dom_CharacterDataImpl
* Method: insertData
* Signature: (ILjava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_CharacterDataImpl_insertData
(JNIEnv *env, jobject jthis, jint offset, jstring jvalue)
{
nsIDOMCharacterData* data = (nsIDOMCharacterData*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!data || !jvalue) {
JavaDOMGlobals::ThrowException(env,
"CharacterData.insertData: NULL pointer");
return;
}
nsString* value = JavaDOMGlobals::GetUnicode(env, jvalue);
if (!value)
return;
nsresult rv = data->InsertData((PRUint32) offset, *value);
nsString::Recycle(value);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_INDEX_SIZE_ERR ||
rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"CharacterData.insertData: failed", rv, exceptionType);
return;
}
}
/*
* Class: org_mozilla_dom_CharacterDataImpl
* Method: replaceData
* Signature: (IILjava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_CharacterDataImpl_replaceData
(JNIEnv *env, jobject jthis, jint offset, jint count, jstring jvalue)
{
if (offset < 0 || offset > JavaDOMGlobals::javaMaxInt ||
count < 0 || count > JavaDOMGlobals::javaMaxInt) {
JavaDOMGlobals::ThrowException(env, "CharacterData.replaceData: failed",
NS_ERROR_DOM_INDEX_SIZE_ERR,
JavaDOMGlobals::EXCEPTION_DOM);
return;
}
nsIDOMCharacterData* data = (nsIDOMCharacterData*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!data || !jvalue) {
JavaDOMGlobals::ThrowException(env,
"CharacterData.replaceData: NULL pointer");
return;
}
nsString* value = JavaDOMGlobals::GetUnicode(env, jvalue);
if (!value)
return;
nsresult rv = data->ReplaceData((PRUint32) offset, (PRUint32) count, *value);
nsString::Recycle(value);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_INDEX_SIZE_ERR ||
rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"CharacterData.replaceData: failed", rv, exceptionType);
return;
}
}
/*
* Class: org_mozilla_dom_CharacterDataImpl
* Method: setData
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_CharacterDataImpl_setData
(JNIEnv *env, jobject jthis, jstring jvalue)
{
nsIDOMCharacterData* data = (nsIDOMCharacterData*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!data || !jvalue) {
JavaDOMGlobals::ThrowException(env,
"CharacterData.setData: NULL pointer");
return;
}
nsString* value = JavaDOMGlobals::GetUnicode(env, jvalue);
if (!value)
return;
nsresult rv = data->SetData(*value);
nsString::Recycle(value);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"CharacterData.setData: failed", rv, exceptionType);
return;
}
}
/*
* Class: org_mozilla_dom_CharacterDataImpl
* Method: substringData
* Signature: (II)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_CharacterDataImpl_substringData
(JNIEnv *env, jobject jthis, jint offset, jint count)
{
if (offset < 0 || offset > JavaDOMGlobals::javaMaxInt ||
count < 0 || count > JavaDOMGlobals::javaMaxInt) {
JavaDOMGlobals::ThrowException(env, "CharacterData.substringData: failed",
NS_ERROR_DOM_INDEX_SIZE_ERR,
JavaDOMGlobals::EXCEPTION_DOM);
return NULL;
}
nsIDOMCharacterData* data = (nsIDOMCharacterData*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!data) {
JavaDOMGlobals::ThrowException(env,
"CharacterData.substringData: NULL pointer");
return NULL;
}
nsString ret;
nsresult rv = data->SubstringData((PRUint32) offset, (PRUint32) count, ret);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_INDEX_SIZE_ERR ||
rv == NS_ERROR_DOM_DOMSTRING_SIZE_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"CharacterData.substringData: failed", rv, exceptionType);
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"CharacterData.substringData: NewString failed");
}
return jret;
}

View File

@@ -1,118 +0,0 @@
#include "prlog.h"
#include "javaDOMGlobals.h"
#include "nsIDocumentLoader.h"
#include "nsIDocumentLoaderObserver.h"
#include "nsIServiceManager.h"
#include "nsCURILoader.h"
#include "nsIJavaDOM.h"
#include "org_mozilla_dom_DOMAccessor.h"
static NS_DEFINE_IID(kDocLoaderServiceCID, NS_DOCUMENTLOADER_SERVICE_CID);
static NS_DEFINE_IID(kJavaDOMCID, NS_JAVADOM_CID);
/*
* Class: org_mozilla_dom_DOMAccessor
* Method: register
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_DOMAccessor_register
(JNIEnv *env, jclass jthis)
{
if (!JavaDOMGlobals::log) {
JavaDOMGlobals::Initialize(env);
}
nsresult rv = NS_OK;
NS_WITH_SERVICE(nsIDocumentLoader, docLoaderService, kDocLoaderServiceCID, &rv);
if (NS_FAILED(rv) || !docLoaderService) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DOMAccessor::register: GetService(JavaDOM) failed: %x\n",
rv));
} else {
NS_WITH_SERVICE(nsIDocumentLoaderObserver, javaDOM, kJavaDOMCID, &rv);
if (NS_FAILED(rv) || !javaDOM) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DOMAccessor::register: GetService(JavaDOM) failed: %x\n",
rv));
} else {
rv = docLoaderService->AddObserver((nsIDocumentLoaderObserver*)javaDOM);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DOMAccessor::register: AddObserver(JavaDOM) failed x\n",
rv));
}
}
}
}
/*
* Class: org_mozilla_dom_DOMAccessor
* Method: unregister
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_DOMAccessor_unregister
(JNIEnv *, jclass jthis)
{
PR_LOG(JavaDOMGlobals::log, PR_LOG_DEBUG,
("DOMAccessor::unregister: unregistering %x\n", jthis));
nsresult rv = NS_OK;
NS_WITH_SERVICE(nsIDocumentLoader, docLoaderService, kDocLoaderServiceCID, &rv);
if (NS_FAILED(rv) || !docLoaderService) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DOMAccessor::unregister: GetService(DocLoaderService) failed %x\n",
rv));
} else {
NS_WITH_SERVICE(nsIDocumentLoaderObserver, javaDOM, kJavaDOMCID, &rv);
if (NS_FAILED(rv) || !javaDOM) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DOMAccessor::unregister: GetService(JavaDOM) failed %x\n",
rv));
} else {
rv = docLoaderService->RemoveObserver((nsIDocumentLoaderObserver*)javaDOM);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DOMAccessor::unregister: RemoveObserver(JavaDOM) failed x\n",
rv));
}
}
}
}
/*
* Class: org_mozilla_dom_DOMAccessor
* Method: createElement
* Signature: (J)Lorg/w3c/dom/Element;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DOMAccessor_getNodeByHandle
(JNIEnv *env, jclass jthis, jlong p)
{
if (!JavaDOMGlobals::log) {
JavaDOMGlobals::Initialize(env);
}
nsIDOMNode *node = (nsIDOMNode*)p;
return JavaDOMGlobals::CreateNodeSubtype(env, node);
}
/*
* Class: org_mozilla_dom_DOMAccessor
* Method: doGC
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_DOMAccessor_doGC
(JNIEnv *, jclass)
{
JavaDOMGlobals::TakeOutGarbage();
}
JNIEXPORT void JNICALL Java_org_mozilla_dom_DOMAccessor_initialize
(JNIEnv *env, jclass)
{
if (!JavaDOMGlobals::log) {
JavaDOMGlobals::Initialize(env);
}
}

View File

@@ -1,290 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMDOMImplementation.h"
#include "javaDOMGlobals.h"
#include "org_mozilla_dom_DOMImplementationImpl.h"
#include "nsDOMError.h"
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
/*
* Class: org_mozilla_dom_DOMImplementationImpl
* Method: XPCOM_equals
* Signature: (Ljava/lang/Object;)Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_DOMImplementationImpl_XPCOM_1equals
(JNIEnv *env, jobject jthis, jobject jarg)
{
jboolean b_retFlag = JNI_FALSE;
nsIDOMDOMImplementation* p_this = (nsIDOMDOMImplementation*)
env->GetLongField(jthis, JavaDOMGlobals::domImplementationPtrFID);
if (!p_this) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("DOMImplementation.equals: NULL pointer\n"));
return b_retFlag;
}
nsIDOMDOMImplementation* p_arg = (nsIDOMDOMImplementation*)
env->GetLongField(jarg, JavaDOMGlobals::domImplementationPtrFID);
if (!p_arg) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("DOMImplementation.equals: NULL arg pointer\n"));
return b_retFlag;
}
nsISupports* thisSupports = nsnull;
nsISupports* argSupports = nsnull;
nsresult rvThis =
p_this->QueryInterface(kISupportsIID, (void**)(&thisSupports));
if (NS_FAILED(rvThis) || !thisSupports) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DOMImplementation.equals: this->QueryInterface failed (%x)\n",
rvThis));
return b_retFlag;
}
nsresult rvArg =
p_arg->QueryInterface(kISupportsIID, (void**)(&argSupports));
if (NS_FAILED(rvArg) || !argSupports) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DOMImplementation.equals: arg->QueryInterface failed (%x)\n",
rvArg));
thisSupports->Release();
return b_retFlag;
}
if (thisSupports == argSupports)
b_retFlag = JNI_TRUE;
thisSupports->Release();
argSupports->Release();
return b_retFlag;
}
/*
* Class: org_mozilla_dom_DOMImplementationImpl
* Method: XPCOM_hashCode
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_mozilla_dom_DOMImplementationImpl_XPCOM_1hashCode
(JNIEnv *env, jobject jthis)
{
nsIDOMDOMImplementation* p_this = (nsIDOMDOMImplementation*)
env->GetLongField(jthis, JavaDOMGlobals::domImplementationPtrFID);
if (!p_this) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("DOMImplementation.hashCode: NULL pointer\n"));
return (jint) 0;
}
nsISupports* thisSupports = nsnull;
nsresult rvThis =
p_this->QueryInterface(kISupportsIID, (void**)(&thisSupports));
if (NS_FAILED(rvThis) || !thisSupports) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DOMImplementation.hashCode: QueryInterface failed (%x)\n",
rvThis));
return (jint) 0;
}
thisSupports->Release();
return (jint) thisSupports;
}
/*
* Class: org_mozilla_dom_DOMImplementationImpl
* Method: finalize
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_DOMImplementationImpl_finalize
(JNIEnv *env, jobject jthis)
{
nsIDOMDOMImplementation* dom = (nsIDOMDOMImplementation*)
env->GetLongField(jthis, JavaDOMGlobals::domImplementationPtrFID);
if (!dom) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("DOMImplementation.finalize: NULL pointer\n"));
return;
}
JavaDOMGlobals::AddToGarbage(dom);
}
/*
* Class: org_mozilla_dom_DOMImplementationImpl
* Method: hasFeature
* Signature: (Ljava/lang/String;Ljava/lang/String;)Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_DOMImplementationImpl_hasFeature
(JNIEnv *env, jobject jthis, jstring jfeature, jstring jversion)
{
nsIDOMDOMImplementation* dom = (nsIDOMDOMImplementation*)
env->GetLongField(jthis, JavaDOMGlobals::domImplementationPtrFID);
if (!dom || !jfeature) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("DOMImplementation.hasFeature: NULL pointer\n"));
return JNI_FALSE;
}
nsString* feature = JavaDOMGlobals::GetUnicode(env, jfeature);
if (!feature)
return JNI_FALSE;
nsString* version;
if (jversion) {
version = JavaDOMGlobals::GetUnicode(env, jversion);
if (!version) {
nsString::Recycle(feature);
return JNI_FALSE;
}
} else {
version = new nsString();
}
PRBool ret = PR_FALSE;
nsresult rv = dom->HasFeature(*feature, *version, &ret);
nsString::Recycle(feature);
nsString::Recycle(version);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DOMImplementation.hasFeature: failed (%x)\n", rv));
}
return ret == PR_TRUE ? JNI_TRUE : JNI_FALSE;
}
/*
* Class: org_mozilla_dom_DOMImplementationImpl
* Method: createDocumentType
* Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/DocumentType;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DOMImplementationImpl_createDocumentType
(JNIEnv *env, jobject jthis, jstring jqualifiedName, jstring jpublicID, jstring jsystemID)
{
nsIDOMDOMImplementation* dom = (nsIDOMDOMImplementation*)
env->GetLongField(jthis, JavaDOMGlobals::domImplementationPtrFID);
if (!dom || !jqualifiedName || !jpublicID || !jsystemID) {
JavaDOMGlobals::ThrowException(env,
"DOMImplementation.createDocumentType: NULL pointer");
return NULL;
}
nsString* qualifiedName = JavaDOMGlobals::GetUnicode(env, jqualifiedName);
if (!qualifiedName)
return NULL;
nsString* publicID = JavaDOMGlobals::GetUnicode(env, jpublicID);
if (!publicID) {
nsString::Recycle(qualifiedName);
return NULL;
}
nsString* systemID = JavaDOMGlobals::GetUnicode(env, jsystemID);
if (!systemID) {
nsString::Recycle(qualifiedName);
nsString::Recycle(publicID);
return NULL;
}
nsIDOMDocumentType* docType = nsnull;
nsresult rv = dom->CreateDocumentType(*qualifiedName, *publicID, *systemID, &docType);
nsString::Recycle(qualifiedName);
nsString::Recycle(publicID);
nsString::Recycle(systemID);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_INVALID_CHARACTER_ERR ||
rv == NS_ERROR_DOM_NAMESPACE_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"DOMImplementation.createDocumentType: failed", rv, exceptionType);
return NULL;
}
return JavaDOMGlobals::CreateNodeSubtype(env, (nsIDOMNode*)docType);
}
/*
* Class: org_mozilla_dom_DOMImplementationImpl
* Method: createDocument
* Signature: (Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/DocumentType;)Lorg/w3c/dom/Document;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DOMImplementationImpl_createDocument
(JNIEnv *env, jobject jthis, jstring jnamespaceURI, jstring jqualifiedName, jobject jdoctype)
{
nsIDOMDOMImplementation* dom = (nsIDOMDOMImplementation*)
env->GetLongField(jthis, JavaDOMGlobals::domImplementationPtrFID);
if (!dom || !jnamespaceURI || !jqualifiedName) {
JavaDOMGlobals::ThrowException(env,
"DOMImplementation.createDocument: NULL pointer");
return NULL;
}
nsString* namespaceURI = JavaDOMGlobals::GetUnicode(env, jnamespaceURI);
if (!namespaceURI)
return NULL;
nsString* qualifiedName = JavaDOMGlobals::GetUnicode(env, jqualifiedName);
if (!qualifiedName) {
nsString::Recycle(namespaceURI);
return NULL;
}
nsIDOMDocumentType* docType = nsnull;
if (jdoctype) {
docType = (nsIDOMDocumentType*)
env->GetLongField(jdoctype, JavaDOMGlobals::nodeListPtrFID);
if (!docType) {
JavaDOMGlobals::ThrowException(env,
"DOMImplementation.createDocument: NULL arg pointer");
return NULL;
}
}
nsIDOMDocument* doc = nsnull;
nsresult rv = dom->CreateDocument(*namespaceURI, *qualifiedName, docType, &doc);
nsString::Recycle(namespaceURI);
nsString::Recycle(qualifiedName);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_INVALID_CHARACTER_ERR ||
rv == NS_ERROR_DOM_NAMESPACE_ERR ||
rv == NS_ERROR_DOM_WRONG_DOCUMENT_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"DOMImplementation.createDocument: failed", rv, exceptionType);
return NULL;
}
return JavaDOMGlobals::CreateNodeSubtype(env, (nsIDOMNode*)doc);
}

View File

@@ -1,759 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMDocument.h"
#include "nsIDOMAttr.h"
#include "nsIDOMComment.h"
#include "nsIDOMElement.h"
#include "nsIDOMDocumentType.h"
#include "nsIDOMDocumentFragment.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMCDATASection.h"
#include "nsIDOMEntityReference.h"
#include "nsIDOMDOMImplementation.h"
#include "nsIDOMProcessingInstruction.h"
#include "nsIDOMDocumentEvent.h"
#include "nsDOMError.h"
#include "javaDOMGlobals.h"
#include "javaDOMEventsGlobals.h"
#include "org_mozilla_dom_DocumentImpl.h"
static NS_DEFINE_IID(kIDOMDocumentEventIID, NS_IDOMDOCUMENTEVENT_IID);
// undefine macros from WINBASE.H
#ifdef CreateEvent
#undef CreateEvent
#endif
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: createAttribute
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/Attr;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_createAttribute
(JNIEnv *env, jobject jthis, jstring jname)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc || !jname) {
JavaDOMGlobals::ThrowException(env,
"Document.createAttribute: NULL pointer");
return NULL;
}
nsIDOMAttr* ret = nsnull;
nsString* name = JavaDOMGlobals::GetUnicode(env, jname);
if (!name)
return NULL;
nsresult rv = doc->CreateAttribute(*name, &ret);
nsString::Recycle(name);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (rv == NS_ERROR_DOM_INVALID_CHARACTER_ERR) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Document.createAttribute: failed", rv, exceptionType);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::attrClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.createAttribute: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) ret);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.createAttribute: failed to set node ptr");
return NULL;
}
ret->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: createCDATASection
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/CDATASection;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_createCDATASection
(JNIEnv *env, jobject jthis, jstring jdata)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc || !jdata) {
JavaDOMGlobals::ThrowException(env,
"Document.createCDATASection: NULL pointer");
return NULL;
}
nsIDOMCDATASection* ret = nsnull;
nsString* data = JavaDOMGlobals::GetUnicode(env, jdata);
if (!data)
return NULL;
nsresult rv = doc->CreateCDATASection(*data, &ret);
nsString::Recycle(data);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (rv == NS_ERROR_DOM_NOT_SUPPORTED_ERR) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Document.createCDATASection: failed", rv, exceptionType);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::cDataSectionClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.createCDATASection: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) ret);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.createCDATASection: failed to set node ptr");
return NULL;
}
ret->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: createComment
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/Comment;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_createComment
(JNIEnv *env, jobject jthis, jstring jdata)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc || !jdata) {
JavaDOMGlobals::ThrowException(env,
"Document.createComment: NULL pointer");
return NULL;
}
nsIDOMComment* ret = nsnull;
nsString* data = JavaDOMGlobals::GetUnicode(env, jdata);
if (!data)
return NULL;
nsresult rv = doc->CreateComment(*data, &ret);
nsString::Recycle(data);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Document.createComment: failed", rv);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::commentClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.createComment: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) ret);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.createComment: failed to set node ptr");
return NULL;
}
ret->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: createDocumentFragment
* Signature: ()Lorg/w3c/dom/DocumentFragment;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_createDocumentFragment
(JNIEnv *env, jobject jthis)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc) {
JavaDOMGlobals::ThrowException(env,
"Document.createDocumentFragment: NULL pointer");
return NULL;
}
nsIDOMDocumentFragment* ret = nsnull;
nsresult rv = doc->CreateDocumentFragment(&ret);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Document.createDocumentFragment: failed", rv);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::documentFragmentClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.createDocumentFragment: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) ret);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.createDocumentFragment: failed to set node ptr");
return NULL;
}
ret->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: createElement
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/Element;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_createElement
(JNIEnv *env, jobject jthis, jstring jtagName)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc || !jtagName) {
JavaDOMGlobals::ThrowException(env,
"Document.createElement: NULL pointer");
return NULL;
}
nsIDOMElement* ret = nsnull;
nsString* tagName = JavaDOMGlobals::GetUnicode(env, jtagName);
if (!tagName)
return NULL;
nsresult rv = doc->CreateElement(*tagName, &ret);
nsString::Recycle(tagName);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (rv == NS_ERROR_DOM_INVALID_CHARACTER_ERR) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Document.createElement: failed", rv, exceptionType);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::elementClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.createElement: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) ret);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.createElement: failed to set node ptr");
return NULL;
}
ret->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: createEntityReference
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/EntityReference;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_createEntityReference
(JNIEnv *env, jobject jthis, jstring jname)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc || !jname) {
JavaDOMGlobals::ThrowException(env,
"Document.createEntityReference: NULL pointer");
return NULL;
}
nsIDOMEntityReference* ret = nsnull;
nsString* name = JavaDOMGlobals::GetUnicode(env, jname);
if (!name)
return NULL;
nsresult rv = doc->CreateEntityReference(*name, &ret);
nsString::Recycle(name);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_INVALID_CHARACTER_ERR ||
rv == NS_ERROR_DOM_NOT_SUPPORTED_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Document.createEntityReference: failed", rv, exceptionType);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::entityReferenceClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.createEntityReference: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) ret);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.createEntityReference: failed to set node ptr");
return NULL;
}
ret->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: createProcessingInstruction
* Signature: (Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/ProcessingInstruction;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_createProcessingInstruction
(JNIEnv *env, jobject jthis, jstring jtarget, jstring jdata)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc || !jtarget || !jdata) {
JavaDOMGlobals::ThrowException(env,
"Document.createProcessingInstruction: NULL pointer");
return NULL;
}
nsIDOMProcessingInstruction* ret = nsnull;
nsString* target = JavaDOMGlobals::GetUnicode(env, jtarget);
if (!target)
return NULL;
nsString* data = JavaDOMGlobals::GetUnicode(env, jdata);
if (!data) {
nsString::Recycle(target);
return NULL;
}
nsresult rv = doc->CreateProcessingInstruction(*target, *data, &ret);
nsString::Recycle(target);
nsString::Recycle(data);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_NOT_SUPPORTED_ERR ||
rv == NS_ERROR_DOM_INVALID_CHARACTER_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Document.createProcessingInstruction failed", rv, exceptionType);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::processingInstructionClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.createProcessingInstruction: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) ret);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.createProcessingInstruction: failed to set node ptr");
return NULL;
}
ret->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: createTextNode
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/Text;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_createTextNode
(JNIEnv *env, jobject jthis, jstring jdata)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc || !jdata) {
JavaDOMGlobals::ThrowException(env,
"Document.createTextNode: NULL pointer");
return NULL;
}
nsIDOMText* ret = nsnull;
nsString* data = JavaDOMGlobals::GetUnicode(env, jdata);
if (!data)
return NULL;
nsresult rv = doc->CreateTextNode(*data, &ret);
nsString::Recycle(data);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Document.createTextNode failed", rv);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::textClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.createTextNode: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) ret);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.createTextNode: failed to set node ptr");
return NULL;
}
ret->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: getDoctype
* Signature: ()Lorg/w3c/dom/DocumentType;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_getDoctype
(JNIEnv *env, jobject jthis)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc)
return NULL;
nsIDOMDocumentType* docType = nsnull;
nsresult rv = doc->GetDoctype(&docType);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Document.getDoctype: failed", rv);
return NULL;
}
if (!docType)
return NULL;
jobject jDocType = env->AllocObject(JavaDOMGlobals::documentTypeClass);
if (!jDocType) {
JavaDOMGlobals::ThrowException(env,
"Document.getDoctype: failed to allocate object");
return NULL;
}
env->SetLongField(jDocType, JavaDOMGlobals::nodePtrFID, (jlong) docType);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.getDoctype: failed to set node ptr");
return NULL;
}
docType->AddRef();
return jDocType;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: getDocumentElement
* Signature: ()Lorg/w3c/dom/Element;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_getDocumentElement
(JNIEnv *env, jobject jthis)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc) {
JavaDOMGlobals::ThrowException(env,
"Document.getDocumentElement: NULL pointer");
return NULL;
}
nsIDOMElement* element = nsnull;
nsresult rv = doc->GetDocumentElement(&element);
if (NS_FAILED(rv) || !element) {
JavaDOMGlobals::ThrowException(env,
"Document.getDocumentElement: failed", rv);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::elementClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.getDocumentElement: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) element);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.getDocumentElement: failed to set node ptr");
return NULL;
}
element->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: getElementsByTagName
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/NodeList;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_getElementsByTagName
(JNIEnv *env, jobject jthis, jstring jtagName)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc || !jtagName) {
JavaDOMGlobals::ThrowException(env,
"Document.getElementsByTagName: NULL pointer");
return NULL;
}
nsIDOMNodeList* elements = nsnull;
nsString* tagName = JavaDOMGlobals::GetUnicode(env, jtagName);
if (!tagName)
return NULL;
nsresult rv = doc->GetElementsByTagName(*tagName, &elements);
nsString::Recycle(tagName);
if (NS_FAILED(rv) || !elements) {
JavaDOMGlobals::ThrowException(env,
"Document.getElementsByTagName: failed", rv);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::nodeListClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.getElementsByTagName: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) elements);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.getElementsByTagName: failed to set node ptr");
return NULL;
}
elements->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: getImplementation
* Signature: ()Lorg/w3c/dom/DOMImplementation;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_getImplementation
(JNIEnv *env, jobject jthis)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc) {
JavaDOMGlobals::ThrowException(env,
"Document.getImplementation: NULL pointer");
return NULL;
}
nsIDOMDOMImplementation* impl = nsnull;
nsresult rv = doc->GetImplementation(&impl);
if (NS_FAILED(rv) || !impl) {
JavaDOMGlobals::ThrowException(env,
"Document.getImplementation: failed", rv);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::domImplementationClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.getImplementation: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) impl);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.getImplementation: failed to set node ptr");
return NULL;
}
impl->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: createEvent
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/events/Event;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_createEvent
(JNIEnv *env, jobject jthis, jstring jtype)
{
nsISupports *doc = (nsISupports*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc || !jtype) {
JavaDOMGlobals::ThrowException(env,
"Document.createEvent: NULL pointer");
return NULL;
}
nsString* type = JavaDOMGlobals::GetUnicode(env, jtype);
if (!type)
return NULL;
nsIDOMDocumentEvent* docEvent = nsnull;
doc->QueryInterface(kIDOMDocumentEventIID, (void **) &docEvent);
if(!docEvent) {
JavaDOMGlobals::ThrowException(env,
"Document.createEvent: NULL DOMDocumentEvent pointer");
return NULL;
}
nsIDOMEvent* event = nsnull;
nsresult rv = docEvent->CreateEvent(*type, &event);
nsString::Recycle(type);
if (NS_FAILED(rv) || !event) {
JavaDOMGlobals::ThrowException(env,
"Document.createEvent: failed", rv);
return NULL;
}
return JavaDOMEventsGlobals::CreateEventSubtype(env, event);
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: getElementsByTagNameNS
* Signature: (Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_getElementsByTagNameNS
(JNIEnv *env, jobject jthis, jstring jnamespaceURI, jstring jlocalName)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc || !jnamespaceURI || !jlocalName) {
JavaDOMGlobals::ThrowException(env,
"Document.getElementsByTagNameNS: NULL pointer");
return NULL;
}
nsString* namespaceURI = JavaDOMGlobals::GetUnicode(env, jnamespaceURI);
if (!namespaceURI)
return NULL;
nsString* localName = JavaDOMGlobals::GetUnicode(env, jlocalName);
if (!localName) {
nsString::Recycle(namespaceURI);
return NULL;
}
nsIDOMNodeList* elements = nsnull;
nsresult rv = doc->GetElementsByTagNameNS(*namespaceURI, *localName, &elements);
nsString::Recycle(namespaceURI);
nsString::Recycle(localName);
if (NS_FAILED(rv) || !elements) {
JavaDOMGlobals::ThrowException(env,
"Document.getElementsByTagNameNS: failed", rv);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::nodeListClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Document.getElementsByTagNameNS: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) elements);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Document.getElementsByTagNameNS: failed to set node ptr");
return NULL;
}
elements->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentImpl
* Method: getElementById
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/Element;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentImpl_getElementById
(JNIEnv *env, jobject jthis, jstring jelementId)
{
nsIDOMDocument* doc = (nsIDOMDocument*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!doc || !jelementId) {
JavaDOMGlobals::ThrowException(env,
"Document.getElementById: NULL pointer");
return NULL;
}
nsString* elementId = JavaDOMGlobals::GetUnicode(env, jelementId);
if (!elementId)
return NULL;
nsIDOMElement* element = nsnull;
nsresult rv = doc->GetElementById(*elementId, &element);
nsString::Recycle(elementId);
if (NS_FAILED(rv) || !element) {
JavaDOMGlobals::ThrowException(env,
"Document.getElementById: failed", rv);
return NULL;
}
return JavaDOMGlobals::CreateNodeSubtype(env, (nsIDOMNode*)element);
}

View File

@@ -1,243 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMDocumentType.h"
#include "nsIDOMNamedNodeMap.h"
#include "javaDOMGlobals.h"
#include "org_mozilla_dom_DocumentTypeImpl.h"
/*
* Class: org_mozilla_dom_DocumentTypeImpl
* Method: getEntities
* Signature: ()Lorg/w3c/dom/NamedNodeMap;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentTypeImpl_getEntities
(JNIEnv *env, jobject jthis)
{
nsIDOMDocumentType* docType = (nsIDOMDocumentType*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!docType) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("DocumentType.getEntities: NULL pointer\n"));
return NULL;
}
nsIDOMNamedNodeMap* nodeMap = nsnull;
nsresult rv = docType->GetEntities(&nodeMap);
if (NS_FAILED(rv) || !nodeMap) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getEntities: failed (%x)\n", rv));
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::namedNodeMapClass);
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getEntities: failed to allocate object\n"));
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) nodeMap);
if (env->ExceptionOccurred()) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getEntities: failed to set node ptr: %x\n", nodeMap));
return NULL;
}
nodeMap->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentTypeImpl
* Method: getName
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_DocumentTypeImpl_getName
(JNIEnv *env, jobject jthis)
{
nsIDOMDocumentType* docType = (nsIDOMDocumentType*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!docType) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("DocumentType.getName: NULL pointer\n"));
return NULL;
}
nsString ret;
nsresult rv = docType->GetName(ret);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getName: failed (%x)\n", rv));
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getName: NewString failed\n"));
}
return jret;
}
/*
* Class: org_mozilla_dom_DocumentTypeImpl
* Method: getNotations
* Signature: ()Lorg/w3c/dom/NamedNodeMap;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_DocumentTypeImpl_getNotations
(JNIEnv *env, jobject jthis)
{
nsIDOMDocumentType* docType = (nsIDOMDocumentType*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!docType) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("DocumentType.getNotations: NULL pointer\n"));
return NULL;
}
nsIDOMNamedNodeMap* nodeMap = nsnull;
nsresult rv = docType->GetNotations(&nodeMap);
if (NS_FAILED(rv) || !nodeMap) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getNotations: failed (%x)\n", rv));
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::namedNodeMapClass);
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getNotations: failed to allocate object\n"));
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) nodeMap);
if (env->ExceptionOccurred()) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getNotations: failed to set node ptr: %x\n", nodeMap));
return NULL;
}
nodeMap->AddRef();
return jret;
}
/*
* Class: org_mozilla_dom_DocumentTypeImpl
* Method: getPublicId
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_DocumentTypeImpl_getPublicId
(JNIEnv *env, jobject jthis)
{
nsIDOMDocumentType* docType = (nsIDOMDocumentType*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!docType) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("DocumentType.getPublicId: NULL pointer\n"));
return NULL;
}
nsString ret;
nsresult rv = docType->GetPublicId(ret);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getPublicId: failed (%x)\n", rv));
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getPublicId: NewString failed\n"));
}
return jret;
}
/*
* Class: org_mozilla_dom_DocumentTypeImpl
* Method: getSystemId
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_DocumentTypeImpl_getSystemId
(JNIEnv *env, jobject jthis)
{
nsIDOMDocumentType* docType = (nsIDOMDocumentType*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!docType) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("DocumentType.getSystemId: NULL pointer\n"));
return NULL;
}
nsString ret;
nsresult rv = docType->GetSystemId(ret);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getSystemId: failed (%x)\n", rv));
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getSystemId: NewString failed\n"));
}
return jret;
}
/*
* Class: org_mozilla_dom_DocumentTypeImpl
* Method: getInternalSubset
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_DocumentTypeImpl_getInternalSubset
(JNIEnv *env, jobject jthis)
{
nsIDOMDocumentType* docType = (nsIDOMDocumentType*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!docType) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("DocumentType.getInternalSubset: NULL pointer\n"));
return NULL;
}
nsString ret;
nsresult rv = docType->GetInternalSubset(ret);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getInternalSubset: failed (%x)\n", rv));
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("DocumentType.getInternalSubset: NewString failed\n"));
}
return jret;
}

View File

@@ -1,770 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMElement.h"
#include "nsIDOMAttr.h"
#include "nsIDOMNodeList.h"
#include "nsDOMError.h"
#include "javaDOMGlobals.h"
#include "org_mozilla_dom_ElementImpl.h"
/*
* Class: org_mozilla_dom_ElementImpl
* Method: getAttribute
* Signature: (Ljava/lang/String;)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_ElementImpl_getAttribute
(JNIEnv *env, jobject jthis, jstring jname)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jname) {
JavaDOMGlobals::ThrowException(env,
"Element.getAttribute: NULL pointer");
return NULL;
}
nsString* cname = JavaDOMGlobals::GetUnicode(env, jname);
if (!cname)
return NULL;
nsString attr;
nsresult rv = element->GetAttribute(*cname, attr);
nsString::Recycle(cname);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Element.getAttribute: failed", rv);
return NULL;
}
jstring jattr = env->NewString(attr.GetUnicode(), attr.Length());
if (!jattr) {
JavaDOMGlobals::ThrowException(env,
"Element.getAttribute: NewString failed");
return NULL;
}
return jattr;
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: getAttributeNode
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/Attr;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_ElementImpl_getAttributeNode
(JNIEnv *env, jobject jthis, jstring jname)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jname) {
JavaDOMGlobals::ThrowException(env,
"Element.getAttributeNode: NULL pointer");
return NULL;
}
nsString* cname = JavaDOMGlobals::GetUnicode(env, jname);
if (!cname)
return NULL;
nsIDOMAttr* attr = nsnull;
nsresult rv = element->GetAttributeNode(*cname, &attr);
nsString::Recycle(cname);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Element.getAttributeNode: failed", rv);
return NULL;
}
if (!attr)
return NULL;
jobject jattr = env->AllocObject(JavaDOMGlobals::attrClass);
if (!jattr) {
JavaDOMGlobals::ThrowException(env,
"Element.getAttributeNode: failed to allocate object");
return NULL;
}
env->SetLongField(jattr, JavaDOMGlobals::nodePtrFID, (jlong) attr);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Element.getAttributeNode: failed to set node ptr");
return NULL;
}
attr->AddRef();
return jattr;
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: getElementsByTagName
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/NodeList;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_ElementImpl_getElementsByTagName
(JNIEnv *env, jobject jthis, jstring jname)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jname) {
JavaDOMGlobals::ThrowException(env,
"Element.getElementsByTagName: NULL pointer");
return NULL;
}
nsString* cname = JavaDOMGlobals::GetUnicode(env, jname);
if (!cname)
return NULL;
nsIDOMNodeList* nodes = nsnull;
nsresult rv = element->GetElementsByTagName(*cname, &nodes);
nsString::Recycle(cname);
if (NS_FAILED(rv) || !nodes) {
JavaDOMGlobals::ThrowException(env,
"Element.getElementsByTagName: failed", rv);
return NULL;
}
jobject jnodes = env->AllocObject(JavaDOMGlobals::nodeListClass);
if (!jnodes) {
JavaDOMGlobals::ThrowException(env,
"Element.getElementsByTagName: failed to allocate object");
return NULL;
}
env->SetLongField(jnodes, JavaDOMGlobals::nodeListPtrFID, (jlong) nodes);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Element.getElementsByTagName: failed to set node ptr");
return NULL;
}
nodes->AddRef();
return jnodes;
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: getTagName
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_ElementImpl_getTagName
(JNIEnv *env, jobject jthis)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element) {
JavaDOMGlobals::ThrowException(env,
"Element.getTagName: NULL pointer");
return NULL;
}
nsString tagName;
nsresult rv = element->GetTagName(tagName);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Element.getTagName: failed", rv);
return NULL;
}
jstring jTagName = env->NewString(tagName.GetUnicode(), tagName.Length());
if (!jTagName) {
JavaDOMGlobals::ThrowException(env,
"Element.getTagName: NewString failed");
return NULL;
}
return jTagName;
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: normalize
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_ElementImpl_normalize
(JNIEnv *env, jobject jthis)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element) {
JavaDOMGlobals::ThrowException(env,
"Element.normalize: NULL pointer");
return;
}
nsresult rv = element->Normalize();
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Element.normalize: failed", rv);
return;
}
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: removeAttribute
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_ElementImpl_removeAttribute
(JNIEnv *env, jobject jthis, jstring jname)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jname) {
JavaDOMGlobals::ThrowException(env,
"Element.removeAttribute: NULL pointer");
return;
}
nsString* name = JavaDOMGlobals::GetUnicode(env, jname);
if (!name)
return;
nsresult rv = element->RemoveAttribute(*name);
nsString::Recycle(name);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Element.removeAttribute: failed", rv, exceptionType);
return;
}
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: removeAttributeNode
* Signature: (Lorg/w3c/dom/Attr;)Lorg/w3c/dom/Attr;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_ElementImpl_removeAttributeNode
(JNIEnv *env, jobject jthis, jobject joldAttr)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !joldAttr) {
JavaDOMGlobals::ThrowException(env,
"Element.removeAttributeNode: NULL pointer");
return NULL;
}
nsIDOMAttr* oldAttr = (nsIDOMAttr*)
env->GetLongField(joldAttr, JavaDOMGlobals::nodePtrFID);
if (!oldAttr) {
JavaDOMGlobals::ThrowException(env,
"Element.removeAttributeNode: NULL arg pointer");
return NULL;
}
nsIDOMAttr* ret = nsnull;
nsresult rv = element->RemoveAttributeNode(oldAttr, &ret);
if (NS_FAILED(rv) || !ret) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR ||
rv == NS_ERROR_DOM_NOT_FOUND_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Element.removeAttributeNode: failed", rv, exceptionType);
return NULL;
}
jobject jattr = env->AllocObject(JavaDOMGlobals::attrClass);
if (!jattr) {
JavaDOMGlobals::ThrowException(env,
"Element.removeAttributeNode: failed to allocate object");
return NULL;
}
env->SetLongField(jattr, JavaDOMGlobals::nodePtrFID, (jlong) ret);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Element.removeAttributeNode: failed to set node ptr");
return NULL;
}
ret->AddRef();
return jattr;
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: setAttribute
* Signature: (Ljava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_ElementImpl_setAttribute
(JNIEnv *env, jobject jthis, jstring jname, jstring jvalue)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jname || !jvalue) {
JavaDOMGlobals::ThrowException(env,
"Element.setAttribute: NULL pointer");
return;
}
nsString* name = JavaDOMGlobals::GetUnicode(env, jname);
if (!name)
return;
nsString* value = JavaDOMGlobals::GetUnicode(env, jvalue);
if (!value) {
nsString::Recycle(name);
return;
}
nsresult rv = element->SetAttribute(*name, *value);
nsString::Recycle(value);
nsString::Recycle(name);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_INVALID_CHARACTER_ERR ||
rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Element.setAttribute: failed", rv, exceptionType);
return;
}
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: setAttributeNode
* Signature: (Lorg/w3c/dom/Attr;)Lorg/w3c/dom/Attr;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_ElementImpl_setAttributeNode
(JNIEnv *env, jobject jthis, jobject jnewAttr)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jnewAttr) {
JavaDOMGlobals::ThrowException(env,
"Element.setAttributeNode: NULL pointer");
return NULL;
}
nsIDOMAttr* newAttr = (nsIDOMAttr*)
env->GetLongField(jnewAttr, JavaDOMGlobals::nodePtrFID);
if (!newAttr) {
JavaDOMGlobals::ThrowException(env,
"Element.setAttributeNode: NULL arg pointer");
return NULL;
}
nsIDOMAttr* ret = nsnull;
nsresult rv = element->SetAttributeNode(newAttr, &ret);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR ||
rv == NS_ERROR_DOM_WRONG_DOCUMENT_ERR ||
rv == NS_ERROR_DOM_INUSE_ATTRIBUTE_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Element.setAttributeNode: failed", rv, exceptionType);
return NULL;
}
if (!ret)
return NULL;
jobject jattr = env->AllocObject(JavaDOMGlobals::attrClass);
if (!jattr) {
JavaDOMGlobals::ThrowException(env,
"Element.setAttributeNode: failed to allocate object");
return NULL;
}
env->SetLongField(jattr, JavaDOMGlobals::nodePtrFID, (jlong) ret);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Element.setAttributeNode: failed to set node ptr");
return NULL;
}
ret->AddRef();
return jattr;
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: getAttributeNS
* Signature: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_ElementImpl_getAttributeNS
(JNIEnv *env, jobject jthis, jstring jnamespaceURI, jstring jlocalName)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jnamespaceURI || !jlocalName) {
JavaDOMGlobals::ThrowException(env,
"Element.getAttributeNS: NULL pointer");
return NULL;
}
nsString* namespaceURI = JavaDOMGlobals::GetUnicode(env, jnamespaceURI);
if (!namespaceURI)
return NULL;
nsString* localName = JavaDOMGlobals::GetUnicode(env, jlocalName);
if (!localName) {
nsString::Recycle(namespaceURI);
return NULL;
}
nsString ret;
nsresult rv = element->GetAttributeNS(*namespaceURI, *localName, ret);
nsString::Recycle(namespaceURI);
nsString::Recycle(localName);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Element.getAttributeNS: failed");
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Element.getAttributeNS: NewString failed\n"));
}
return jret;
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: setAttributeNS
* Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_ElementImpl_setAttributeNS
(JNIEnv *env, jobject jthis, jstring jnamespaceURI, jstring jqualifiedName, jstring jvalue)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jnamespaceURI || !jqualifiedName || !jvalue) {
JavaDOMGlobals::ThrowException(env,
"Element.setAttributeNS: NULL pointer");
return;
}
nsString* namespaceURI = JavaDOMGlobals::GetUnicode(env, jnamespaceURI);
if (!namespaceURI)
return;
nsString* qualifiedName = JavaDOMGlobals::GetUnicode(env, jqualifiedName);
if (!qualifiedName) {
nsString::Recycle(namespaceURI);
return;
}
nsString* value = JavaDOMGlobals::GetUnicode(env, jvalue);
if (!value) {
nsString::Recycle(namespaceURI);
nsString::Recycle(qualifiedName);
return;
}
nsresult rv = element->SetAttributeNS(*namespaceURI, *qualifiedName, *value);
nsString::Recycle(namespaceURI);
nsString::Recycle(qualifiedName);
nsString::Recycle(value);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_INVALID_CHARACTER_ERR ||
rv == NS_ERROR_DOM_NAMESPACE_ERR ||
rv == NS_ERROR_DOM_WRONG_DOCUMENT_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"ElementImpl.setAttributeNS: failed", rv, exceptionType);
}
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: removeAttributeNS
* Signature: (Ljava/lang/String;Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_ElementImpl_removeAttributeNS
(JNIEnv *env, jobject jthis, jstring jnamespaceURI, jstring jlocalName)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jnamespaceURI || !jlocalName) {
JavaDOMGlobals::ThrowException(env,
"Element.removeAttributeNS: NULL pointer");
return;
}
nsString* namespaceURI = JavaDOMGlobals::GetUnicode(env, jnamespaceURI);
if (!namespaceURI)
return;
nsString* localName = JavaDOMGlobals::GetUnicode(env, jlocalName);
if (!localName) {
nsString::Recycle(namespaceURI);
return;
}
nsresult rv = element->RemoveAttributeNS(*namespaceURI, *localName);
nsString::Recycle(namespaceURI);
nsString::Recycle(localName);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Element.removeAttributeNS: failed", rv, exceptionType);
}
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: getAttributeNodeNS
* Signature: (Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_ElementImpl_getAttributeNodeNS
(JNIEnv *env, jobject jthis, jstring jnamespaceURI, jstring jlocalName)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jnamespaceURI || !jlocalName) {
JavaDOMGlobals::ThrowException(env,
"Element.getAttributeNodeNS: NULL pointer");
return NULL;
}
nsString* namespaceURI = JavaDOMGlobals::GetUnicode(env, jnamespaceURI);
if (!namespaceURI)
return NULL;
nsString* localName = JavaDOMGlobals::GetUnicode(env, jlocalName);
if (!localName) {
nsString::Recycle(namespaceURI);
return NULL;
}
nsIDOMAttr* attr = nsnull;
nsresult rv = element->GetAttributeNodeNS(*namespaceURI, *localName, &attr);
nsString::Recycle(namespaceURI);
nsString::Recycle(localName);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Element.getAttributeNodeNS: failed", rv);
return NULL;
}
if (!attr)
return NULL;
return JavaDOMGlobals::CreateNodeSubtype(env, (nsIDOMNode*)attr);
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: setAttributeNodeNS
* Signature: (Lorg/w3c/dom/Attr;)Lorg/w3c/dom/Attr;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_ElementImpl_setAttributeNodeNS
(JNIEnv *env, jobject jthis, jobject jnewAttr)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jnewAttr) {
JavaDOMGlobals::ThrowException(env,
"Element.setAttributeNodeNS: NULL pointer");
return NULL;
}
nsIDOMAttr* newAttr = (nsIDOMAttr*)
env->GetLongField(jnewAttr, JavaDOMGlobals::nodePtrFID);
if (!newAttr) {
JavaDOMGlobals::ThrowException(env,
"Element.setAttributeNodeNS: NULL arg pointer");
return NULL;
}
nsIDOMAttr* ret = nsnull;
nsresult rv = element->SetAttributeNodeNS(newAttr, &ret);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR ||
rv == NS_ERROR_DOM_WRONG_DOCUMENT_ERR ||
rv == NS_ERROR_DOM_INUSE_ATTRIBUTE_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Element.setAttributeNodeNS: failed", rv, exceptionType);
return NULL;
}
if (!ret)
return NULL;
return JavaDOMGlobals::CreateNodeSubtype(env, (nsIDOMNode*)ret);
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: getElementsByTagNameNS
* Signature: (Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_ElementImpl_getElementsByTagNameNS
(JNIEnv *env, jobject jthis, jstring jnamespaceURI, jstring jlocalName)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jnamespaceURI || !jlocalName) {
JavaDOMGlobals::ThrowException(env,
"Element.getElementsByTagNameNS: NULL pointer");
return NULL;
}
nsString* namespaceURI = JavaDOMGlobals::GetUnicode(env, jnamespaceURI);
if (!namespaceURI)
return NULL;
nsString* localName = JavaDOMGlobals::GetUnicode(env, jlocalName);
if (!localName) {
nsString::Recycle(namespaceURI);
return NULL;
}
nsIDOMNodeList* nodes = nsnull;
nsresult rv = element->GetElementsByTagNameNS(*namespaceURI, *localName, &nodes);
nsString::Recycle(namespaceURI);
nsString::Recycle(localName);
if (NS_FAILED(rv) || !nodes) {
JavaDOMGlobals::ThrowException(env,
"Element.getElementsByTagNameNS: failed", rv);
return NULL;
}
jobject jnodes = env->AllocObject(JavaDOMGlobals::nodeListClass);
if (!jnodes) {
JavaDOMGlobals::ThrowException(env,
"Element.getElementsByTagNameNS: failed to allocate object");
return NULL;
}
env->SetLongField(jnodes, JavaDOMGlobals::nodeListPtrFID, (jlong) nodes);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Element.getElementsByTagNameNS: failed to set node ptr");
return NULL;
}
nodes->AddRef();
return jnodes;
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: hasAttribute
* Signature: (Ljava/lang/String;)Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_ElementImpl_hasAttribute
(JNIEnv *env, jobject jthis, jstring jname)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jname) {
JavaDOMGlobals::ThrowException(env,
"Element.hasAttribute: NULL pointer");
return JNI_FALSE;
}
nsString* name = JavaDOMGlobals::GetUnicode(env, jname);
if (!name)
return JNI_FALSE;
PRBool hasAttr = PR_FALSE;
nsresult rv = element->HasAttribute(*name, &hasAttr);
nsString::Recycle(name);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Element.hasAttribute: failed", rv);
return JNI_FALSE;
}
return (hasAttr == PR_TRUE) ? JNI_TRUE : JNI_FALSE;
}
/*
* Class: org_mozilla_dom_ElementImpl
* Method: hasAttributeNS
* Signature: (Ljava/lang/String;Ljava/lang/String;)Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_ElementImpl_hasAttributeNS
(JNIEnv *env, jobject jthis, jstring jnamespaceURI, jstring jlocalName)
{
nsIDOMElement* element = (nsIDOMElement*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!element || !jnamespaceURI || !jlocalName) {
JavaDOMGlobals::ThrowException(env,
"Element.hasAttributeNS: NULL pointer");
return JNI_FALSE;
}
nsString* namespaceURI = JavaDOMGlobals::GetUnicode(env, jnamespaceURI);
if (!namespaceURI)
return JNI_FALSE;
nsString* localName = JavaDOMGlobals::GetUnicode(env, jlocalName);
if (!localName) {
nsString::Recycle(namespaceURI);
return JNI_FALSE;
}
PRBool hasAttr = PR_FALSE;
nsresult rv = element->HasAttributeNS(*namespaceURI, *localName, &hasAttr);
nsString::Recycle(namespaceURI);
nsString::Recycle(localName);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Element.hasAttributeNS: failed", rv);
return JNI_FALSE;
}
return (hasAttr == PR_TRUE) ? JNI_TRUE : JNI_FALSE;
}

View File

@@ -1,128 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMEntity.h"
#include "javaDOMGlobals.h"
#include "org_mozilla_dom_EntityImpl.h"
/*
* Class: org_mozilla_dom_EntityImpl
* Method: getNotationName
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_EntityImpl_getNotationName
(JNIEnv *env, jobject jthis)
{
nsIDOMEntity* entity = (nsIDOMEntity*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!entity) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("Entity.getNotationName: NULL pointer\n"));
return NULL;
}
nsString ret;
nsresult rv = entity->GetNotationName(ret);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Entity.getNotationName: failed (%x)\n", rv));
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Entity.getNotationName: NewString failed\n"));
return NULL;
}
return jret;
}
/*
* Class: org_mozilla_dom_EntityImpl
* Method: getPublicId
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_EntityImpl_getPublicId
(JNIEnv *env, jobject jthis)
{
nsIDOMEntity* entity = (nsIDOMEntity*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!entity) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("Entity.getPublicId: NULL pointer\n"));
return NULL;
}
nsString ret;
nsresult rv = entity->GetPublicId(ret);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Entity.getPublicId: failed (%x)\n", rv));
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Entity.getPublicId: NewString failed\n"));
return NULL;
}
return jret;
}
/*
* Class: org_mozilla_dom_EntityImpl
* Method: getSystemId
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_EntityImpl_getSystemId
(JNIEnv *env, jobject jthis)
{
nsIDOMEntity* entity = (nsIDOMEntity*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!entity) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("Entity.getSystemId: NULL pointer\n"));
return NULL;
}
nsString ret;
nsresult rv = entity->GetSystemId(ret);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Entity.getSystemId: failed (%x)\n", rv));
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Entity.getSystemId: NewString failed\n"));
return NULL;
}
return jret;
}

View File

@@ -1,207 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMNamedNodeMap.h"
#include "nsIDOMNode.h"
#include "javaDOMGlobals.h"
#include "nsDOMError.h"
#include "org_mozilla_dom_NamedNodeMapImpl.h"
/*
* Class: org_mozilla_dom_NamedNodeMapImpl
* Method: getLength
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_mozilla_dom_NamedNodeMapImpl_getLength
(JNIEnv *env, jobject jthis)
{
nsIDOMNamedNodeMap* map = (nsIDOMNamedNodeMap*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!map) {
JavaDOMGlobals::ThrowException(env,
"NodeMap.getLength: NULL pointer");
return 0;
}
PRUint32 length = 0;
nsresult rv = map->GetLength(&length);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"NodeMap.getLength: failed", rv);
return 0;
}
return (jint) length;
}
/*
* Class: org_mozilla_dom_NamedNodeMapImpl
* Method: getNamedItem
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/Node;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_NamedNodeMapImpl_getNamedItem
(JNIEnv *env, jobject jthis, jstring jname)
{
nsIDOMNamedNodeMap* map = (nsIDOMNamedNodeMap*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!map || !jname) {
JavaDOMGlobals::ThrowException(env,
"NodeMap.getNamedItem: NULL pointer");
return NULL;
}
nsIDOMNode* node = nsnull;
nsString* name = JavaDOMGlobals::GetUnicode(env, jname);
if (!name)
return NULL;
nsresult rv = map->GetNamedItem(*name, &node);
nsString::Recycle(name);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"NodeMap.getNamedItem: failed", rv);
return NULL;
}
if (!node)
return NULL;
return JavaDOMGlobals::CreateNodeSubtype(env, node);
}
/*
* Class: org_mozilla_dom_NamedNodeMapImpl
* Method: item
* Signature: (I)Lorg/w3c/dom/Node;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_NamedNodeMapImpl_item
(JNIEnv *env, jobject jthis, jint jindex)
{
if (jindex < 0 || jindex > JavaDOMGlobals::javaMaxInt) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("NamedNodeMap.item: invalid index value (%d)\n", jindex));
return NULL;
}
nsIDOMNamedNodeMap* map = (nsIDOMNamedNodeMap*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!map) {
JavaDOMGlobals::ThrowException(env,
"NodeMap.item: NULL pointer");
return NULL;
}
nsIDOMNode* node = nsnull;
nsresult rv = map->Item((PRUint32) jindex, &node);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"NodeMap.item: failed", rv);
return NULL;
}
if (!node)
return NULL;
return JavaDOMGlobals::CreateNodeSubtype(env, node);
}
/*
* Class: org_mozilla_dom_NamedNodeMapImpl
* Method: removeNamedItem
* Signature: (Ljava/lang/String;)Lorg/w3c/dom/Node;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_NamedNodeMapImpl_removeNamedItem
(JNIEnv *env, jobject jthis, jstring jname)
{
nsIDOMNamedNodeMap* map = (nsIDOMNamedNodeMap*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!map || !jname) {
JavaDOMGlobals::ThrowException(env,
"NodeMap.removeNamedItem: NULL pointer");
return NULL;
}
nsIDOMNode* node = nsnull;
nsString* name = JavaDOMGlobals::GetUnicode(env, jname);
if (!name)
return NULL;
nsresult rv = map->RemoveNamedItem(*name, &node);
nsString::Recycle(name);
if (NS_FAILED(rv) || !node) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (rv == NS_ERROR_DOM_NOT_FOUND_ERR) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"NodeMap.removeNamedItem: failed", rv, exceptionType);
return NULL;
}
return JavaDOMGlobals::CreateNodeSubtype(env, node);
}
/*
* Class: org_mozilla_dom_NamedNodeMapImpl
* Method: setNamedItem
* Signature: (Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_NamedNodeMapImpl_setNamedItem
(JNIEnv *env, jobject jthis, jobject jarg)
{
nsIDOMNamedNodeMap* map = (nsIDOMNamedNodeMap*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!map || !jarg) {
JavaDOMGlobals::ThrowException(env,
"NodeMap.setNamedItem: NULL pointer");
return NULL;
}
nsIDOMNode* arg = (nsIDOMNode*)
env->GetLongField(jarg, JavaDOMGlobals::nodePtrFID);
if (!arg) {
JavaDOMGlobals::ThrowException(env,
"NodeMap.setNamedItem: NULL item pointer");
return NULL;
}
nsIDOMNode* node = nsnull;
nsresult rv = map->SetNamedItem(arg, &node);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR ||
rv == NS_ERROR_DOM_WRONG_DOCUMENT_ERR ||
rv == NS_ERROR_DOM_INUSE_ATTRIBUTE_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"NodeMap.setNamedItem: failed", rv, exceptionType);
return NULL;
}
if (!node)
return NULL;
return JavaDOMGlobals::CreateNodeSubtype(env, node);
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,192 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMNode.h"
#include "nsIDOMNodeList.h"
#include "javaDOMGlobals.h"
#include "org_mozilla_dom_NodeListImpl.h"
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
/*
* Class: org_mozilla_dom_NodeListImpl
* Method: XPCOM_equals
* Signature: (Ljava/lang/Object;)Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_NodeListImpl_XPCOM_1equals
(JNIEnv *env, jobject jthis, jobject jarg)
{
jboolean b_retFlag = JNI_FALSE;
nsIDOMNodeList* p_this =
(nsIDOMNodeList*) env->GetLongField(jthis, JavaDOMGlobals::nodeListPtrFID);
if (!p_this) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("NodeList.equals: NULL pointer\n"));
return b_retFlag;
}
nsIDOMNodeList* p_arg =
(nsIDOMNodeList*) env->GetLongField(jarg, JavaDOMGlobals::nodeListPtrFID);
if (!p_arg) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("NodeList.equals: NULL arg pointer\n"));
return b_retFlag;
}
nsISupports* thisSupports = nsnull;
nsISupports* argSupports = nsnull;
nsresult rvThis =
p_this->QueryInterface(kISupportsIID, (void**)(&thisSupports));
if (NS_FAILED(rvThis) || !thisSupports) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("NodeList.equals: this->QueryInterface failed (%x)\n", rvThis));
return b_retFlag;
}
nsresult rvArg =
p_arg->QueryInterface(kISupportsIID, (void**)(&argSupports));
if (NS_FAILED(rvArg) || !argSupports) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("NodeList.equals: arg->QueryInterface failed (%x)\n", rvArg));
thisSupports->Release();
return b_retFlag;
}
if (thisSupports == argSupports)
b_retFlag = JNI_TRUE;
thisSupports->Release();
argSupports->Release();
return b_retFlag;
}
/*
* Class: org_mozilla_dom_NodeListImpl
* Method: XPCOM_hashCode
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_mozilla_dom_NodeListImpl_XPCOM_1hashCode
(JNIEnv *env, jobject jthis)
{
nsIDOMNodeList* p_this =
(nsIDOMNodeList*) env->GetLongField(jthis, JavaDOMGlobals::nodeListPtrFID);
if (!p_this) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("NodeList.hashCode: NULL pointer\n"));
return (jint) 0;
}
nsISupports* thisSupports = nsnull;
nsresult rvThis =
p_this->QueryInterface(kISupportsIID, (void**)(&thisSupports));
if (NS_FAILED(rvThis) || !thisSupports) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("NodeList.hashCode: QueryInterface failed (%x)\n", rvThis));
return (jint) 0;
}
thisSupports->Release();
return (jint) thisSupports;
}
/*
* Class: org_mozilla_dom_NodeListImpl
* Method: finalize
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_NodeListImpl_finalize
(JNIEnv *env, jobject jthis)
{
nsIDOMNodeList* nodes = (nsIDOMNodeList*)
env->GetLongField(jthis, JavaDOMGlobals::nodeListPtrFID);
if (!nodes) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("NodeList.finalize: NULL pointer\n"));
return;
}
JavaDOMGlobals::AddToGarbage(nodes);
}
/*
* Class: org_mozilla_dom_NodeListImpl
* Method: getLength
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_mozilla_dom_NodeListImpl_getLength
(JNIEnv *env, jobject jthis)
{
nsIDOMNodeList* nodes = (nsIDOMNodeList*)
env->GetLongField(jthis, JavaDOMGlobals::nodeListPtrFID);
if (!nodes) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("NodeList.getLength: NULL pointer\n"));
return 0;
}
PRUint32 length = 0;
nsresult rv = nodes->GetLength(&length);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("NodeList.getLength: failed (%x)\n", rv));
return 0;
}
return (jint) length;
}
/*
* Class: org_mozilla_dom_NodeListImpl
* Method: item
* Signature: (I)Lorg/w3c/dom/Node;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_NodeListImpl_item
(JNIEnv *env, jobject jthis, jint jindex)
{
if (jindex < 0 || jindex > JavaDOMGlobals::javaMaxInt) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("NodeList.item: invalid index value (%d)\n", jindex));
return NULL;
}
nsIDOMNodeList* nodes = (nsIDOMNodeList*)
env->GetLongField(jthis, JavaDOMGlobals::nodeListPtrFID);
if (!nodes) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("NodeList.item: NULL pointer\n"));
return NULL;
}
nsIDOMNode* node = NULL;
nsresult rv = nodes->Item((PRUint32) jindex, &node);
if (NS_FAILED(rv) || !node) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("NodeList.item: failed (%x)\n", rv));
return NULL;
}
return JavaDOMGlobals::CreateNodeSubtype(env, node);
}

View File

@@ -1,94 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMNotation.h"
#include "javaDOMGlobals.h"
#include "org_mozilla_dom_NotationImpl.h"
/*
* Class: org_mozilla_dom_NotationImpl
* Method: getPublicId
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_NotationImpl_getPublicId
(JNIEnv *env, jobject jthis)
{
nsIDOMNotation* notation = (nsIDOMNotation*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!notation) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("Notation.getPublicId: NULL pointer\n"));
return NULL;
}
nsString ret;
nsresult rv = notation->GetPublicId(ret);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Notation.getPublicId: failed (%x)\n", rv));
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Notation.getPublicId: NewString failed\n"));
return NULL;
}
return jret;
}
/*
* Class: org_mozilla_dom_NotationImpl
* Method: getSystemId
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_NotationImpl_getSystemId
(JNIEnv *env, jobject jthis)
{
nsIDOMNotation* notation = (nsIDOMNotation*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!notation) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_WARNING,
("Notation.getSystemId: NULL pointer\n"));
return NULL;
}
nsString ret;
nsresult rv = notation->GetSystemId(ret);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Notation.getSystemId: failed (%x)\n", rv));
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Notation.getSystemId: NewString failed\n"));
return NULL;
}
return jret;
}

View File

@@ -1,129 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMProcessingInstruction.h"
#include "nsDOMError.h"
#include "javaDOMGlobals.h"
#include "org_mozilla_dom_ProcessingInstructionImpl.h"
/*
* Class: org_mozilla_dom_ProcessingInstructionImpl
* Method: getData
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_ProcessingInstructionImpl_getData
(JNIEnv *env, jobject jthis)
{
nsIDOMProcessingInstruction* pi = (nsIDOMProcessingInstruction*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!pi) {
JavaDOMGlobals::ThrowException(env,
"ProcessingInstruction.getData: NULL pointer");
return NULL;
}
nsString ret;
nsresult rv = pi->GetData(ret);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"ProcessingInstruction.getData: failed", rv);
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"ProcessingInstruction.getData: NewString failed");
return NULL;
}
return jret;
}
/*
* Class: org_mozilla_dom_ProcessingInstructionImpl
* Method: getTarget
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_ProcessingInstructionImpl_getTarget
(JNIEnv *env, jobject jthis)
{
nsIDOMProcessingInstruction* pi = (nsIDOMProcessingInstruction*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!pi) {
JavaDOMGlobals::ThrowException(env,
"ProcessingInstruction.getTarget: NULL pointer");
return NULL;
}
nsString ret;
nsresult rv = pi->GetTarget(ret);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"ProcessingInstruction.getTarget: failed", rv);
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"ProcessingInstruction.getTarget: NewString failed");
return NULL;
}
return jret;
}
/*
* Class: org_mozilla_dom_ProcessingInstructionImpl
* Method: setData
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_ProcessingInstructionImpl_setData
(JNIEnv *env, jobject jthis, jstring jdata)
{
nsIDOMProcessingInstruction* pi = (nsIDOMProcessingInstruction*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!pi || !jdata) {
JavaDOMGlobals::ThrowException(env,
"ProcessingInstruction.setData: NULL pointer");
return;
}
nsString* data = JavaDOMGlobals::GetUnicode(env, jdata);
if (!data)
return;
nsresult rv = pi->SetData(*data);
nsString::Recycle(data);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"ProcessingInstruction.setData: failed", rv, exceptionType);
return;
}
}

View File

@@ -1,82 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMText.h"
#include "nsDOMError.h"
#include "javaDOMGlobals.h"
#include "org_mozilla_dom_TextImpl.h"
/*
* Class: org_mozilla_dom_TextImpl
* Method: splitText
* Signature: (I)Lorg/w3c/dom/Text;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_TextImpl_splitText
(JNIEnv *env, jobject jthis, jint joffset)
{
if (joffset < 0 || joffset > JavaDOMGlobals::javaMaxInt) {
JavaDOMGlobals::ThrowException(env, "Text.splitText: failed",
NS_ERROR_DOM_INDEX_SIZE_ERR,
JavaDOMGlobals::EXCEPTION_DOM);
return NULL;
}
nsIDOMText* text = (nsIDOMText*)
env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);
if (!text) {
JavaDOMGlobals::ThrowException(env,
"Text.splitText: NULL pointer");
return NULL;
}
nsIDOMText* ret = nsnull;
nsresult rv = text->SplitText((PRUint32) joffset, &ret);
if (NS_FAILED(rv) || !ret) {
JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;
if (NS_ERROR_GET_MODULE(rv) == NS_ERROR_MODULE_DOM &&
(rv == NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR ||
rv == NS_ERROR_DOM_INDEX_SIZE_ERR)) {
exceptionType = JavaDOMGlobals::EXCEPTION_DOM;
}
JavaDOMGlobals::ThrowException(env,
"Text.splitText: failed", rv, exceptionType);
return NULL;
}
jobject jret = env->AllocObject(JavaDOMGlobals::textClass);
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Text.splitText: failed to allocate object");
return NULL;
}
env->SetLongField(jret, JavaDOMGlobals::nodePtrFID, (jlong) ret);
if (env->ExceptionOccurred()) {
JavaDOMGlobals::ThrowException(env,
"Text.splitText: failed to set node ptr");
return NULL;
}
ret->AddRef();
return jret;
}

View File

@@ -1,383 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMNode.h"
#include"nsIDOMEvent.h"
#include"nsIDOMEventTarget.h"
#include"javaDOMEventsGlobals.h"
#include "org_mozilla_dom_events_EventImpl.h"
// static NS_DEFINE_IID(kIDOMNodeIID, NS_IDOMNODE_IID);
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: getCurrentTarget
* Signature: ()Lorg/w3c/dom/events/EventTarget;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_events_EventImpl_getCurrentTarget
(JNIEnv *env, jobject jthis)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.getCurrentNode: NULL pointer\n");
return NULL;
}
nsIDOMEventTarget* ret = nsnull;
nsresult rv = event->GetCurrentTarget(&ret);
if (NS_FAILED(rv) || !ret) {
JavaDOMGlobals::ThrowException(env,
"Event.getCurrentNode: failed", rv);
return NULL;
}
nsIDOMNode* node = nsnull;
rv = ret->QueryInterface(NS_GET_IID(nsIDOMNode), (void**)&node);
printf("========== rv:%x node:%x", rv, node);
// return JavaDOMGlobals::CreateNodeSubtype(env, ret);
return JavaDOMGlobals::CreateNodeSubtype(env, node);
}
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: getEventPhase
* Signature: ()S
*/
JNIEXPORT jshort JNICALL Java_org_mozilla_dom_events_EventImpl_getEventPhase
(JNIEnv *env, jobject jthis)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.getEventPhase: NULL native pointer\n");
return 0;
}
PRUint16 eventPhase = 0;
nsresult rv = event->GetEventPhase(&eventPhase);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Event.getEventPhase: failed", rv);
return 0;
}
jfieldID phaseFID = NULL;
switch(eventPhase) {
case nsIDOMEvent::BUBBLING_PHASE:
phaseFID = JavaDOMEventsGlobals::eventPhaseBubblingFID;
break;
case nsIDOMEvent::CAPTURING_PHASE:
phaseFID = JavaDOMEventsGlobals::eventPhaseCapturingFID;
break;
case nsIDOMEvent::AT_TARGET:
phaseFID = JavaDOMEventsGlobals::eventPhaseAtTargetFID;
break;
}
jshort ret = 0;
if (phaseFID) {
ret = env->GetStaticShortField(JavaDOMEventsGlobals::eventClass, phaseFID);
if (env->ExceptionOccurred()) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Event.getEventPhase: slection of phaseFID failed\n"));
return ret;
}
} else {
JavaDOMGlobals::ThrowException(env,
"Event.getEventPhase: illegal phase");
}
return ret;
}
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: getBubbles
* Signature: ()Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_events_EventImpl_getBubbles
(JNIEnv *env, jobject jthis)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.getBubbles: NULL pointer");
return JNI_FALSE;
}
PRBool canBubble = PR_FALSE;
nsresult rv = event->GetBubbles(&canBubble);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Event.getBubbles: failed", rv);
return JNI_FALSE;
}
return (canBubble == PR_TRUE) ? JNI_TRUE : JNI_FALSE;
}
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: getCancelable
* Signature: ()Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_events_EventImpl_getCancelable
(JNIEnv *env, jobject jthis)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.getCancelable: NULL pointer");
return JNI_FALSE;
}
PRBool cancelable = PR_FALSE;
nsresult rv = event->GetCancelable(&cancelable);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Event.getCancelable: failed", rv);
return JNI_FALSE;
}
return (cancelable == PR_TRUE) ? JNI_TRUE : JNI_FALSE;
}
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: getTarget
* Signature: ()Lorg/w3c/dom/events/EventTarget;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_events_EventImpl_getTarget
(JNIEnv *env, jobject jthis)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.getTarget: NULL pointer");
return NULL;
}
nsIDOMEventTarget* ret = nsnull;
nsresult rv = event->GetTarget(&ret);
if (NS_FAILED(rv) || !ret) {
JavaDOMGlobals::ThrowException(env,
"Event.getTarget: failed", rv);
return NULL;
}
nsIDOMNode* node = nsnull;
rv = ret->QueryInterface(NS_GET_IID(nsIDOMNode), (void**)&node);
printf("========== rv:%x node:%x", rv, node);
// return JavaDOMGlobals::CreateNodeSubtype(env, ret);
return JavaDOMGlobals::CreateNodeSubtype(env, node);
}
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: getType
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_events_EventImpl_getType
(JNIEnv *env, jobject jthis)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.getType: NULL pointer");
return NULL;
}
nsString ret;
nsresult rv = event->GetType(ret);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Event.getType: failed", rv);
return NULL;
}
jstring jret = env->NewString(ret.GetUnicode(), ret.Length());
if (!jret) {
JavaDOMGlobals::ThrowException(env,
"Event.getType: NewString failed");
return NULL;
}
return jret;
}
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: preventBubble
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_events_EventImpl_preventBubble
(JNIEnv *env, jobject jthis)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.preventBubble: NULL pointer");
return;
}
nsresult rv = event->PreventBubble();
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Event.preventBubble: failed", rv);
}
}
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: preventCapture
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_events_EventImpl_preventCapture
(JNIEnv *env, jobject jthis)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.preventCapture: NULL pointer");
return;
}
nsresult rv = event->PreventCapture();
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Event.preventCapture: failed", rv);
}
}
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: preventDefault
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_events_EventImpl_preventDefault
(JNIEnv *env, jobject jthis)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.preventDefault: NULL pointer");
return;
}
nsresult rv = event->PreventDefault();
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Event.preventDefault: failed", rv);
}
}
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: initEvent
* Signature: (Ljava/lang/String;ZZ)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_events_EventImpl_initEvent
(JNIEnv *env, jobject jthis, jstring jeventTypeArg, jboolean jcanBubbleArg, jboolean jcancelableArg)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event || !jeventTypeArg) {
JavaDOMGlobals::ThrowException(env,
"Event.initEvent: NULL pointer");
return;
}
nsString* cvalue = JavaDOMGlobals::GetUnicode(env, jeventTypeArg);
if (!cvalue)
return;
PRBool canBubble = jcanBubbleArg == JNI_TRUE ? PR_TRUE : PR_FALSE;
PRBool cancelable = jcancelableArg == JNI_TRUE ? PR_TRUE : PR_FALSE;
nsresult rv = event->InitEvent(*cvalue, canBubble, cancelable);
nsString::Recycle(cvalue);
if (NS_FAILED(rv)) {
PR_LOG(JavaDOMGlobals::log, PR_LOG_ERROR,
("Event.initEvent: failed (%x)\n", rv));
}
}
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: stopPropagation
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_events_EventImpl_stopPropagation
(JNIEnv *env, jobject jthis)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.stopPropagation: NULL pointer");
return;
}
nsresult rv = event->StopPropagation();
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Event.stopPropagation: failed", rv);
}
}
/*
* Class: org_mozilla_dom_events_EventImpl
* Method: getTimeStamp
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_org_mozilla_dom_events_EventImpl_getTimeStamp
(JNIEnv *env, jobject jthis)
{
nsIDOMEvent* event = (nsIDOMEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.getTimeStamp: NULL pointer");
return 0;
}
PRUint64 aTimeStamp;
nsresult rv = event->GetTimeStamp(&aTimeStamp);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"Event.getTimeStamp: failed", rv);
return 0;
}
return (jlong)aTimeStamp;
}

View File

@@ -1,374 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include "nsIDOMNode.h"
#include "nsIDOMMouseEvent.h"
#include "nsIDOMEventTarget.h"
#include "javaDOMEventsGlobals.h"
#include "org_mozilla_dom_events_MouseEventImpl.h"
/*
* Class: org_mozilla_dom_events_MouseEventImpl
* Method: getAltKey
* Signature: ()Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_events_MouseEventImpl_getAltKey
(JNIEnv *env, jobject jthis)
{
nsIDOMMouseEvent* event = (nsIDOMMouseEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getAltKey: NULL pointer");
return JNI_FALSE;
}
PRBool altKey = PR_FALSE;
nsresult rv = event->GetAltKey(&altKey);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getAltKey: failed", rv);
return JNI_FALSE;
}
return (altKey == PR_TRUE) ? JNI_TRUE : JNI_FALSE;
}
/*
* Class: org_mozilla_dom_events_MouseEventImpl
* Method: getButton
* Signature: ()S
*/
JNIEXPORT jshort JNICALL Java_org_mozilla_dom_events_MouseEventImpl_getButton
(JNIEnv *env, jobject jthis)
{
nsIDOMMouseEvent* event = (nsIDOMMouseEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getButton: NULL pointer");
return 0;
}
PRUint16 code = 0;
nsresult rv = event->GetButton(&code);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getButton: failed", rv);
return 0;
}
return (jshort) code;
}
/*
* Class: org_mozilla_dom_events_MouseEventImpl
* Method: getClientX
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_mozilla_dom_events_MouseEventImpl_getClientX
(JNIEnv *env, jobject jthis)
{
nsIDOMMouseEvent* event = (nsIDOMMouseEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getClientX: NULL pointer");
return 0;
}
PRInt32 clientX = 0;
nsresult rv = event->GetClientX(&clientX);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getClientX: failed", rv);
return 0;
}
return (jint) clientX;
}
/*
* Class: org_mozilla_dom_events_MouseEventImpl
* Method: getClientY
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_mozilla_dom_events_MouseEventImpl_getClientY
(JNIEnv *env, jobject jthis)
{
nsIDOMMouseEvent* event = (nsIDOMMouseEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getClientY: NULL pointer");
return 0;
}
PRInt32 clientY = 0;
nsresult rv = event->GetClientY(&clientY);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getClientY: failed", rv);
return 0;
}
return (jint) clientY;
}
/*
* Class: org_mozilla_dom_events_MouseEventImpl
* Method: getCtrlKey
* Signature: ()Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_events_MouseEventImpl_getCtrlKey
(JNIEnv *env, jobject jthis)
{
nsIDOMMouseEvent* event = (nsIDOMMouseEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getCtrlKey: NULL pointer");
return JNI_FALSE;
}
PRBool ctrlKey = PR_FALSE;
nsresult rv = event->GetCtrlKey(&ctrlKey);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getCtrlKey: failed", rv);
return JNI_FALSE;
}
return (ctrlKey == PR_TRUE) ? JNI_TRUE : JNI_FALSE;
}
/*
* Class: org_mozilla_dom_events_MouseEventImpl
* Method: getMetaKey
* Signature: ()Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_events_MouseEventImpl_getMetaKey
(JNIEnv *env, jobject jthis)
{
nsIDOMMouseEvent* event = (nsIDOMMouseEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getMetaKey: NULL pointer");
return JNI_FALSE;
}
PRBool metaKey = PR_FALSE;
nsresult rv = event->GetMetaKey(&metaKey);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getMetaKey: failed", rv);
return JNI_FALSE;
}
return (metaKey == PR_TRUE) ? JNI_TRUE : JNI_FALSE;
}
/*
* Class: org_mozilla_dom_events_MouseEventImpl
* Method: getScreenX
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_mozilla_dom_events_MouseEventImpl_getScreenX
(JNIEnv *env, jobject jthis)
{
nsIDOMMouseEvent* event = (nsIDOMMouseEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getScreenX: NULL pointer\n");
return 0;
}
PRInt32 screenX = 0;
nsresult rv = event->GetScreenX(&screenX);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getScreenX: failed", rv);
return 0;
}
return (jint) screenX;
}
/*
* Class: org_mozilla_dom_events_MouseEventImpl
* Method: getScreenY
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_mozilla_dom_events_MouseEventImpl_getScreenY
(JNIEnv *env, jobject jthis)
{
nsIDOMMouseEvent* event = (nsIDOMMouseEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getScreenY: NULL pointer");
return 0;
}
PRInt32 screenY = 0;
nsresult rv = event->GetScreenY(&screenY);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getScreenY: failed", rv);
return 0;
}
return (jint) screenY;
}
/*
* Class: org_mozilla_dom_events_MouseEventImpl
* Method: getShiftKey
* Signature: ()Z
*/
JNIEXPORT jboolean JNICALL Java_org_mozilla_dom_events_MouseEventImpl_getShiftKey
(JNIEnv *env, jobject jthis)
{
nsIDOMMouseEvent* event = (nsIDOMMouseEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getShiftKey: NULL pointer");
return JNI_FALSE;
}
PRBool shiftKey = PR_FALSE;
nsresult rv = event->GetShiftKey(&shiftKey);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getShiftKey: failed", rv);
return JNI_FALSE;
}
return (shiftKey == PR_TRUE) ? JNI_TRUE : JNI_FALSE;
}
/*
* Class: org_mozilla_dom_events_MouseEventImpl
* Method: getRelatedTarget
* Signature: ()Lorg/w3c/dom/events/EventTarget;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_events_MouseEventImpl_getRelatedTarget
(JNIEnv *env, jobject jthis)
{
nsIDOMMouseEvent* event = (nsIDOMMouseEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getRelatedNode: NULL pointer");
return NULL;
}
nsIDOMEventTarget* ret = nsnull;
nsresult rv = event->GetRelatedTarget(&ret);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.getRelatedNode: failed", rv);
return NULL;
}
if (!ret)
return NULL;
nsIDOMNode* node = nsnull;
rv = ret->QueryInterface(NS_GET_IID(nsIDOMNode), (void**)&node);
printf("========== rv:%x node:%x", rv, node);
// return JavaDOMGlobals::CreateNodeSubtype(env, ret);
return JavaDOMGlobals::CreateNodeSubtype(env, node);
}
/*
* Class: org_mozilla_dom_events_MouseEventImpl
* Method: initMouseEvent
* Signature: (Ljava/lang/String;ZZLorg/w3c/dom/views/AbstractView;IIIIIZZZZSLorg/w3c/dom/Node;)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_events_MouseEventImpl_initMouseEvent
(JNIEnv *env, jobject jthis,
jstring jtypeArg,
jboolean jcanBubbleArg,
jboolean jcancelableArg,
jobject jviewArg,
jint jdetailArg,
jint jscreenXArg,
jint jscreenYArg,
jint jclientXArg,
jint jclientYArg,
jboolean jctrlKeyArg,
jboolean jaltKeyArg,
jboolean jshiftKeyArg,
jboolean jmetaKeyArg,
jshort jbuttonArg,
jobject jrelatedNodeArg)
{
nsIDOMMouseEvent* event = (nsIDOMMouseEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"MouseEvent.initMouseEvent: NULL pointer");
return;
}
nsString* cvalue = JavaDOMGlobals::GetUnicode(env, jtypeArg);
if (!cvalue)
return;
PRBool canBubble = jcanBubbleArg == JNI_TRUE ? PR_TRUE : PR_FALSE;
PRBool cancelable = jcancelableArg == JNI_TRUE ? PR_TRUE : PR_FALSE;
PRBool ctrlKeyArg = jctrlKeyArg == JNI_TRUE ? PR_TRUE : PR_FALSE;
PRBool altKeyArg = jaltKeyArg == JNI_TRUE ? PR_TRUE : PR_FALSE;
PRBool shiftKeyArg = jshiftKeyArg == JNI_TRUE ? PR_TRUE : PR_FALSE;
PRBool metaKeyArg = jmetaKeyArg == JNI_TRUE ? PR_TRUE : PR_FALSE;
nsresult rv = event->InitMouseEvent(*cvalue,
ctrlKeyArg,
altKeyArg,
shiftKeyArg,
metaKeyArg,
(PRInt32)jscreenXArg,
(PRInt32)jscreenYArg,
(PRInt32)jclientXArg,
(PRInt32)jclientYArg,
(PRUint16)jbuttonArg,
(PRUint16)jdetailArg);
nsString::Recycle(cvalue);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"UIEvent.initUIEvent: failed", rv);
}
}

View File

@@ -1,122 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prlog.h"
#include"javaDOMEventsGlobals.h"
#include "org_mozilla_dom_events_UIEventImpl.h"
#include "nsIDOMUIEvent.h"
#include "nsIDOMAbstractView.h"
/*
* Class: org_mozilla_dom_events_UIEventImpl
* Method: getView
* Signature: ()Lorg/w3c/dom/views/AbstractView;
*/
JNIEXPORT jobject JNICALL Java_org_mozilla_dom_events_UIEventImpl_getView
(JNIEnv *env, jobject jthis)
{
nsIDOMUIEvent* event = (nsIDOMUIEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"Event.getCurrentNode: NULL pointer");
return NULL;
}
nsIDOMAbstractView* aView = nsnull;
nsresult rv = event->GetView(&aView);
if (NS_FAILED(rv) || !aView) {
JavaDOMGlobals::ThrowException(env,
"UIEvent.getView: failed", rv);
return NULL;
}
// REMIND: Abstract View
return NULL; //JavaDOMEventGlobals::CreateEventSubtype(env, ret);
}
/*
* Class: org_mozilla_dom_events_UIEventImpl
* Method: getDetail
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_mozilla_dom_events_UIEventImpl_getDetail
(JNIEnv *env, jobject jthis)
{
nsIDOMUIEvent* event = (nsIDOMUIEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event) {
JavaDOMGlobals::ThrowException(env,
"UIEvent.getDetail: NULL pointer");
return 0;
}
PRInt32 aDetail = 0;
nsresult rv = event->GetDetail(&aDetail);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"UIEvent.getDetail: failed", rv);
return 0;
}
return (jint)aDetail;
}
/*
* Class: org_mozilla_dom_events_UIEventImpl
* Method: initUIEvent
* Signature: (Ljava/lang/String;ZZLorg/w3c/dom/views/AbstractView;I)V
*/
JNIEXPORT void JNICALL Java_org_mozilla_dom_events_UIEventImpl_initUIEvent
(JNIEnv *env, jobject jthis,
jstring jtypeArg,
jboolean jcanBubbleArg,
jboolean jcancelableArg,
jobject jviewArg,
jint jdetailArg)
{
nsIDOMUIEvent* event = (nsIDOMUIEvent*)
env->GetLongField(jthis, JavaDOMEventsGlobals::eventPtrFID);
if (!event || !jtypeArg || !jviewArg) {
JavaDOMGlobals::ThrowException(env,
"Event.initUIEvent: NULL pointer\n");
return;
}
nsString* cvalue = JavaDOMGlobals::GetUnicode(env, jtypeArg);
if (!cvalue)
return;
PRBool canBubble = jcanBubbleArg == JNI_TRUE ? PR_TRUE : PR_FALSE;
PRBool cancelable = jcancelableArg == JNI_TRUE ? PR_TRUE : PR_FALSE;
// REMIND: need to deal with AbstractView
// NS_IMETHOD InitUIEvent(const nsString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, nsIDOMAbstractView* aViewArg, PRInt32 aDetailArg)=0;
nsresult rv = event->InitUIEvent(*cvalue, canBubble, cancelable, NULL, (PRUint32)jdetailArg);
nsString::Recycle(cvalue);
if (NS_FAILED(rv)) {
JavaDOMGlobals::ThrowException(env,
"UIEvent.initUIEvent: failed", rv);
}
}

View File

@@ -1,32 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
IGNORE_MANIFEST=1
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH = ..\..
DIRS = classes src jni
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,25 +0,0 @@
Index: nsWebShell.cpp
===================================================================
RCS file: /cvsroot/mozilla/webshell/src/nsWebShell.cpp,v
retrieving revision 1.467
diff -r1.467 nsWebShell.cpp
119a120,125
> #ifdef JAVA_DOM
> #include "nsIJavaDOM.h"
> static NS_DEFINE_IID(kJavaDOMCID, NS_JAVADOM_CID);
> static NS_DEFINE_IID(kIJavaDOMIID, NS_IJAVADOM_IID);
> #endif // JAVA_DOM
>
1579a1586,1597
> #ifdef JAVA_DOM
> nsresult jrv = NS_OK;
> NS_WITH_SERVICE(nsIDocumentLoaderObserver, javaDOM, kJavaDOMCID, &jrv);
> if (NS_FAILED(jrv) || !javaDOM) {
> fprintf(stderr,
> "nsWebShell::Init: GetService of JavaDOM failed (error %x)\n",
> jrv);
> } else {
> printf("\n webshell: added JAVADOM as observer...\n");
> mDocLoader->AddObserver(javaDOM);
> }
> #endif // JAVA_DOM

View File

@@ -1,42 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
*/
#include "JavaDOMSecurityContext.h"
static NS_DEFINE_IID(kISecurityContextIID, NS_ISECURITYCONTEXT_IID);
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
NS_IMPL_ADDREF(JavaDOMSecurityContext);
NS_IMPL_RELEASE(JavaDOMSecurityContext);
JavaDOMSecurityContext::JavaDOMSecurityContext() {
NS_INIT_REFCNT();
}
JavaDOMSecurityContext::~JavaDOMSecurityContext() {
}
NS_METHOD
JavaDOMSecurityContext::QueryInterface(const nsIID& aIID, void** aInstancePtr)
{
if (NULL == aInstancePtr) {
return NS_ERROR_NULL_POINTER;
}
*aInstancePtr = NULL;
if (aIID.Equals(kISecurityContextIID) ||
aIID.Equals(kISupportsIID)) {
*aInstancePtr = (nsISecurityContext*) this;
AddRef();
return NS_OK;
}
return NS_NOINTERFACE;
}
NS_METHOD
JavaDOMSecurityContext::Implies(const char* target, const char* action, PRBool *bAllowedAccess)
{
*bAllowedAccess = PR_TRUE;
return NS_OK;
}

View File

@@ -1,29 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
*/
#include "nsISecurityContext.h"
class JavaDOMSecurityContext : public nsISecurityContext {
public:
////////////////////////////////////////////////////////////////////////////
// from nsISupports
NS_DECL_ISUPPORTS
////////////////////////////////////////////////////////////////////////////
// from nsISecurityContext:
/**
* Get the security context to be used in LiveConnect.
* This is used for JavaScript <--> Java.
*
* @param target -- Possible target.
* @param action -- Possible action on the target.
* @return -- NS_OK if the target and action is permitted on the security context.
* -- NS_FALSE otherwise.
*/
NS_IMETHOD Implies(const char* target, const char* action, PRBool *bAllowedAccess);
JavaDOMSecurityContext();
virtual ~JavaDOMSecurityContext();
};

View File

@@ -1,64 +0,0 @@
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
DEPTH = ../../..
topsrcdir = $(DEPTH)
srcdir = .
include $(DEPTH)/config/autoconf.mk
JAVAHOME = $(JDKHOME)
MODULE = javadom
LIBRARY_NAME = javadom
IS_COMPONENT = 1
CPPSRCS = \
nsJavaDOMImpl.cpp
include $(topsrcdir)/config/config.mk
ifeq ($(OS_ARCH),Linux)
INCLUDES += -I$(JAVAHOME)/include -I$(JAVAHOME)/include/linux
DSO_LDOPTS += \
-L$(JAVAHOME)/jre/lib/i386 \
-L$(JAVAHOME)/jre/lib/i386/classic \
-L$(JAVAHOME)/jre/lib/i386/native_threads \
-Xlinker -rpath $(JAVAHOME)/jre/lib/i386 \
-Xlinker -rpath $(JAVAHOME)/jre/lib/i386/classic \
-Xlinker -rpath $(JAVAHOME)/jre/lib/i386/native_threads \
-ljvm -lhpi
DEFINES += -DDISABLE_JIT
else
INCLUDES += -I$(JAVAHOME)/include -I$(JAVAHOME)/include/solaris
DSO_LDOPTS += \
-L$(JAVAHOME)/jre/lib/sparc \
-L$(JAVAHOME)/jre/lib/sparc/classic \
-L$(JAVAHOME)/jre/lib/sparc/native_threads \
-R$(JAVAHOME)/jre/lib/sparc \
-R$(JAVAHOME)/jre/lib/sparc/classic \
-R$(JAVAHOME)/jre/lib/sparc/native_threads \
-ljvm -lhpi
endif
EXPORTS = \
nsIJavaDOM.h
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk

View File

@@ -1,64 +0,0 @@
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
DEPTH = ../../..
topsrcdir = $(DEPTH)
srcdir = .
include $(DEPTH)/config/autoconf.mk
JAVAHOME = $(JDKHOME)
MODULE = javadom
LIBRARY_NAME = javadom
IS_COMPONENT = 1
CPPSRCS = \
nsJavaDOMImpl.cpp
include $(topsrcdir)/config/config.mk
ifeq ($(OS_ARCH),Linux)
INCLUDES += -I$(JAVAHOME)/include -I$(JAVAHOME)/include/linux
DSO_LDOPTS += \
-L$(JAVAHOME)/jre/lib/i386 \
-L$(JAVAHOME)/jre/lib/i386/classic \
-L$(JAVAHOME)/jre/lib/i386/native_threads \
-Xlinker -rpath $(JAVAHOME)/jre/lib/i386 \
-Xlinker -rpath $(JAVAHOME)/jre/lib/i386/classic \
-Xlinker -rpath $(JAVAHOME)/jre/lib/i386/native_threads \
-ljvm -lhpi
DEFINES += -DDISABLE_JIT
else
INCLUDES += -I$(JAVAHOME)/include -I$(JAVAHOME)/include/solaris
DSO_LDOPTS += \
-L$(JAVAHOME)/jre/lib/sparc \
-L$(JAVAHOME)/jre/lib/sparc/classic \
-L$(JAVAHOME)/jre/lib/sparc/native_threads \
-R$(JAVAHOME)/jre/lib/sparc \
-R$(JAVAHOME)/jre/lib/sparc/classic \
-R$(JAVAHOME)/jre/lib/sparc/native_threads \
-ljvm -lhpi
endif
EXPORTS = \
nsIJavaDOM.h
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk

View File

@@ -1,84 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..
IGNORE_MANIFEST=1
DEFINES=-D_IMPL_NS_WEB -DWIN32_LEAN_AND_MEAN
!ifdef JAVA_DOM_OJI_ENABLE
DEFINES=$(DEFINES) -DJAVA_DOM_OJI_ENABLE
!endif
MODULE=javadom
IS_COMPONENT=1
LIBRARY_NAME=libjavadom
CPPSRCS= \
!ifdef JAVA_DOM_OJI_ENABLE
JavaDOMSecurityContext.cpp \
!endif
nsJavaDOMImpl.cpp \
$(NULL)
CPP_OBJS= \
!ifdef JAVA_DOM_OJI_ENABLE
.\$(OBJDIR)\JavaDOMSecurityContext.obj \
!endif
.\$(OBJDIR)\nsJavaDOMImpl.obj \
$(NULL)
EXPORTS = \
nsIJavaDOM.h
!ifndef JAVA_DOM_OJI_ENABLE
LINCS= \
-I$(JDKHOME)\include \
-I$(JDKHOME)\include\win32
!endif
MAKE_OBJ_TYPE = DLL
DLLNAME = javadom
DLL=.\$(OBJDIR)\$(DLLNAME).dll
LCFLAGS = \
$(LCFLAGS) \
$(DEFINES) \
$(NULL)
LLIBS= \
!ifdef JAVA_DOM_OJI_ENABLE
$(DIST)\lib\oji.lib \
!else
$(JDKHOME)\lib\jvm.lib \
!endif
$(DIST)\lib\xpcom.lib \
$(LIBNSPR)
include <$(DEPTH)\config\config.mak>
include <$(DEPTH)\config\rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\components
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
clobber::
rm -f $(DIST)\bin\components\$(DLLNAME).dll
rm -f $(DIST)\lib\$(DLLNAME).lib

View File

@@ -1,75 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#ifndef __nsIJavaDOM_h__
#define __nsIJavaDOM_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIDocumentLoaderObserver.h"
#include "jni.h"
class nsIURI;
/* {9cc0ca50-0e31-11d3-8a61-0004ac56c4a5} */
#define NS_IJAVADOM_IID_STR "9cc0ca50-0e31-11d3-8a61-0004ac56c4a5"
#define NS_IJAVADOM_IID \
{0x9cc0ca50, 0x0e31, 0x11d3, \
{ 0x8a, 0x61, 0x00, 0x04, 0xac, 0x56, 0xc4, 0xa5 }}
#define NS_JAVADOM_CID \
{0xd6b2e820, 0x9113, 0x11d3, \
{ 0x9c, 0x11, 0x0, 0x10, 0x5a , 0xe3, 0x80 , 0x1e }}
class nsIJavaDOM : public nsIDocumentLoaderObserver {
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IJAVADOM_IID)
/* nsIDocumentLoaderObserver methods */
NS_IMETHOD OnStartDocumentLoad(nsIDocumentLoader* loader,
nsIURI* aURL,
const char* aCommand) = 0;
NS_IMETHOD OnEndDocumentLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
nsresult aStatus) = 0;
NS_IMETHOD OnStartURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel) = 0;
NS_IMETHOD OnProgressURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
PRUint32 aProgress,
PRUint32 aProgressMax) = 0;
NS_IMETHOD OnStatusURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
nsString& aMsg) = 0;
NS_IMETHOD OnEndURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
nsresult aStatus) = 0;
NS_IMETHOD HandleUnknownContentType(nsIDocumentLoader* loader,
nsIChannel* channel,
const char *aContentType,
const char *aCommand) = 0;
};
#endif /* __nsIJavaDOM_h__ */

View File

@@ -1,653 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
#include "prenv.h"
#include "nsISupportsUtils.h"
#include "nsIURL.h"
#include "nsIChannel.h"
#include "nsIDocument.h"
#include "nsIDocumentLoader.h"
#include "nsIDocumentLoaderObserver.h"
#include "nsIDocumentViewer.h"
#include "nsIDOMDocument.h"
#include "nsIDocShell.h"
#include "nsJavaDOMImpl.h"
#include "nsIModule.h"
#include "nsIGenericFactory.h"
#if defined(DEBUG)
#include <stdio.h>
#include "nsIDOMElement.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMNamedNodeMap.h"
static void dump_document(nsIDOMDocument* dom, const char* urlSpec);
static void dump_node(FILE* of, nsIDOMNode* node, int indent,
PRBool isMapNode);
static void dump_map(FILE* of, nsIDOMNamedNodeMap* map, int indent);
static char* strip_whitespace(const PRUnichar* input, int length);
static const char* describe_type(int type);
#endif
#ifdef JAVA_DOM_OJI_ENABLE
#include "ProxyJNI.h"
#include "nsIServiceManager.h"
nsJVMManager* nsJavaDOMImpl::jvmManager = NULL;
JavaDOMSecurityContext* nsJavaDOMImpl::securityContext = NULL;
static NS_DEFINE_CID(kJVMManagerCID,NS_JVMMANAGER_CID);
#else
JavaVM* nsJavaDOMImpl::jvm = NULL;
#endif
static NS_DEFINE_IID(kIDocShellIID, NS_IDOCSHELL_IID);
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
static NS_DEFINE_IID(kIJavaDOMIID, NS_IJAVADOM_IID);
static NS_DEFINE_IID(kIDocumentViewerIID, NS_IDOCUMENT_VIEWER_IID);
static NS_DEFINE_IID(kIDOMDocumentIID, NS_IDOMDOCUMENT_IID);
static NS_DEFINE_IID(kIDocumentLoaderObserverIID, NS_IDOCUMENT_LOADER_OBSERVER_IID);
NS_IMPL_ADDREF(nsJavaDOMImpl);
NS_IMPL_RELEASE(nsJavaDOMImpl);
jclass nsJavaDOMImpl::domAccessorClass = NULL;
jmethodID nsJavaDOMImpl::startURLLoadMID = NULL;
jmethodID nsJavaDOMImpl::endURLLoadMID = NULL;
jmethodID nsJavaDOMImpl::progressURLLoadMID = NULL;
jmethodID nsJavaDOMImpl::statusURLLoadMID = NULL;
jmethodID nsJavaDOMImpl::startDocumentLoadMID = NULL;
jmethodID nsJavaDOMImpl::endDocumentLoadMID = NULL;
#define NS_JAVADOM_PROGID \
"component://netscape/blackwood/java-dom"
NS_GENERIC_FACTORY_CONSTRUCTOR(nsJavaDOMImpl)
static nsModuleComponentInfo components[] =
{
{
"Java DOM",
NS_JAVADOM_CID,
NS_JAVADOM_PROGID,
nsJavaDOMImplConstructor
}
};
NS_IMPL_NSGETMODULE("JavaDOMModule",components);
NS_IMETHODIMP nsJavaDOMImpl::QueryInterface(REFNSIID aIID, void** aInstance)
{
if (NULL == aInstance)
return NS_ERROR_NULL_POINTER;
*aInstance = NULL;
if (aIID.Equals(kIJavaDOMIID)) {
*aInstance = (void*) ((nsIJavaDOM*)this);
NS_ADDREF_THIS();
return NS_OK;
}
if (aIID.Equals(kIDocumentLoaderObserverIID)) {
*aInstance = (void*) ((nsIDocumentLoaderObserver*)this);
NS_ADDREF_THIS();
return NS_OK;
}
if (aIID.Equals(kISupportsIID)) {
*aInstance = (void*) ((nsISupports*)this);
NS_ADDREF_THIS();
return NS_OK;
}
return NS_NOINTERFACE;
}
nsJavaDOMImpl::nsJavaDOMImpl()
{
NS_INIT_ISUPPORTS();
}
PRBool nsJavaDOMImpl::Init(JNIEnv** jniEnv) {
JNIEnv* env = GetJNIEnv();
if (!env) return PR_FALSE;
*jniEnv = env;
if (!domAccessorClass) {
domAccessorClass = env->FindClass("org/mozilla/dom/DOMAccessor");
if (!domAccessorClass) return PR_FALSE;
domAccessorClass = (jclass) env->NewGlobalRef(domAccessorClass);
if (!domAccessorClass) return PR_FALSE;
startURLLoadMID =
env->GetStaticMethodID(domAccessorClass,
"startURLLoad",
"(Ljava/lang/String;Ljava/lang/String;J)V");
if (Cleanup(env) == PR_TRUE) {
domAccessorClass = NULL;
return PR_FALSE;
}
endURLLoadMID =
env->GetStaticMethodID(domAccessorClass,
"endURLLoad",
"(Ljava/lang/String;IJ)V");
if (Cleanup(env) == PR_TRUE) {
domAccessorClass = NULL;
return PR_FALSE;
}
progressURLLoadMID =
env->GetStaticMethodID(domAccessorClass,
"progressURLLoad",
"(Ljava/lang/String;IIJ)V");
if (Cleanup(env) == PR_TRUE) {
domAccessorClass = NULL;
return PR_FALSE;
}
statusURLLoadMID =
env->GetStaticMethodID(domAccessorClass,
"statusURLLoad",
"(Ljava/lang/String;Ljava/lang/String;J)V");
if (Cleanup(env) == PR_TRUE) {
domAccessorClass = NULL;
return PR_FALSE;
}
startDocumentLoadMID =
env->GetStaticMethodID(domAccessorClass,
"startDocumentLoad",
"(Ljava/lang/String;)V");
if (Cleanup(env) == PR_TRUE) {
domAccessorClass = NULL;
return PR_FALSE;
}
endDocumentLoadMID =
env->GetStaticMethodID(domAccessorClass,
"endDocumentLoad",
"(Ljava/lang/String;IJ)V");
if (Cleanup(env) == PR_TRUE) {
domAccessorClass = NULL;
return PR_FALSE;
}
}
return PR_TRUE;
}
nsJavaDOMImpl::~nsJavaDOMImpl()
{
}
PRBool nsJavaDOMImpl::Cleanup(JNIEnv* env)
{
if (env->ExceptionOccurred()) {
env->ExceptionDescribe();
return PR_TRUE;
}
return PR_FALSE;
}
nsIDOMDocument* nsJavaDOMImpl::GetDocument(nsIDocumentLoader* loader)
{
nsIDocShell* docshell = nsnull;
nsISupports* container = nsnull;
nsIContentViewer* contentv = nsnull;
nsIDocumentViewer* docv = nsnull;
nsIDocument* document = nsnull;
nsIDOMDocument* domDoc = nsnull;
nsresult rv = loader->GetContainer(&container);
if (NS_SUCCEEDED(rv) && container) {
rv = container->QueryInterface(kIDocShellIID, (void**) &docshell);
container->Release();
if (NS_SUCCEEDED(rv) && docshell) {
rv = docshell->GetContentViewer(&contentv);
docshell->Release();
if (NS_SUCCEEDED(rv) && contentv) {
rv = contentv->QueryInterface(kIDocumentViewerIID, (void**) &docv);
contentv->Release();
if (NS_SUCCEEDED(rv) && docv) {
rv = docv->GetDocument(document);
docv->Release();
if (NS_SUCCEEDED(rv) && document) {
rv = document->QueryInterface(kIDOMDocumentIID, (void**) &domDoc);
if (NS_SUCCEEDED(rv) && docv) {
return domDoc;
}
}
}
}
}
}
fprintf(stderr,
"nsJavaDOMImpl::GetDocument: failed: "
"container=%x, webshell=%x, contentViewer=%x, "
"documentViewer=%x, document=%x, "
"domDocument=%x, error=%x\n",
(unsigned) (void*) container,
(unsigned) (void*) docshell,
(unsigned) (void*) contentv,
(unsigned) (void*) docv,
(unsigned) (void*) document,
(unsigned) (void*) domDoc,
rv);
return NULL;
}
NS_IMETHODIMP nsJavaDOMImpl::OnStartDocumentLoad(nsIDocumentLoader* loader,
nsIURI* aURL,
const char* aCommand)
{
JNIEnv* env = NULL;
if (Init(&env) == PR_FALSE) return NS_ERROR_FAILURE;
char* urlSpec = (char*) "";
if (aURL)
aURL->GetSpec(&urlSpec);
jstring jURL = env->NewStringUTF(urlSpec);
if (!jURL) return NS_ERROR_FAILURE;
env->CallStaticVoidMethod(domAccessorClass,
startDocumentLoadMID,
jURL);
if (Cleanup(env) == PR_TRUE) return NS_ERROR_FAILURE;
return NS_OK;
}
NS_IMETHODIMP nsJavaDOMImpl::OnEndDocumentLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
nsresult aStatus)
{
JNIEnv* env = NULL;
if (Init(&env) == PR_FALSE) return NS_ERROR_FAILURE;
char* urlSpec = (char*) "";
nsIURI* url = nsnull;
if (channel && NS_SUCCEEDED(channel->GetURI(&url)))
url->GetSpec(&urlSpec);
jstring jURL = env->NewStringUTF(urlSpec);
if (!jURL) return NS_ERROR_FAILURE;
nsIDOMDocument* domDoc = GetDocument(loader);
env->CallStaticVoidMethod(domAccessorClass,
endDocumentLoadMID,
jURL,
(jint) aStatus,
(jlong)domDoc);
if (Cleanup(env) == PR_TRUE) return NS_ERROR_FAILURE;
return NS_OK;
}
NS_IMETHODIMP nsJavaDOMImpl::OnStartURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel)
{
JNIEnv* env = NULL;
if (Init(&env) == PR_FALSE) return NS_ERROR_FAILURE;
char* urlSpec = (char*) "";
nsIURI* url = nsnull;
if (channel && NS_SUCCEEDED(channel->GetURI(&url)))
url->GetSpec(&urlSpec);
jstring jURL = env->NewStringUTF(urlSpec);
if (!jURL) return NS_ERROR_FAILURE;
char* contentType = (char*) "";
if (channel)
channel->GetContentType(&contentType);
if (!contentType)
contentType = (char*) "";
jstring jContentType = env->NewStringUTF(contentType);
if (!jContentType) return NS_ERROR_FAILURE;
nsIDOMDocument* domDoc = GetDocument(loader);
env->CallStaticVoidMethod(domAccessorClass,
startURLLoadMID,
jURL,
jContentType,
(jlong)domDoc);
if (Cleanup(env) == PR_TRUE) return NS_ERROR_FAILURE;
return NS_OK;
}
NS_IMETHODIMP nsJavaDOMImpl::OnProgressURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
PRUint32 aProgress,
PRUint32 aProgressMax)
{
JNIEnv* env = NULL;
if (Init(&env) == PR_FALSE) return NS_ERROR_FAILURE;
char* urlSpec = (char*) "";
nsIURI* url = nsnull;
if (channel && NS_SUCCEEDED(channel->GetURI(&url)))
url->GetSpec(&urlSpec);
jstring jURL = env->NewStringUTF(urlSpec);
if (!jURL) return NS_ERROR_FAILURE;
nsIDOMDocument* domDoc = GetDocument(loader);
env->CallStaticVoidMethod(domAccessorClass,
progressURLLoadMID,
jURL,
(jint) aProgress,
(jint) aProgressMax,
(jlong)domDoc);
if (Cleanup(env) == PR_TRUE) return NS_ERROR_FAILURE;
return NS_OK;
}
NS_IMETHODIMP nsJavaDOMImpl::OnStatusURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
nsString& aMsg)
{
JNIEnv* env = NULL;
if (Init(&env) == PR_FALSE) return NS_ERROR_FAILURE;
char* urlSpec = (char*) "";
nsIURI* url = nsnull;
if (channel && NS_SUCCEEDED(channel->GetURI(&url)))
url->GetSpec(&urlSpec);
jstring jURL = env->NewStringUTF(urlSpec);
if (!jURL) return NS_ERROR_FAILURE;
const PRUnichar* cMsg = aMsg.GetUnicode();
jstring jMessage = env->NewString(cMsg, aMsg.Length());
if (!jMessage) return NS_ERROR_FAILURE;
nsIDOMDocument* domDoc = GetDocument(loader);
env->CallStaticVoidMethod(domAccessorClass,
statusURLLoadMID,
jURL,
jMessage,
(jlong)domDoc);
if (Cleanup(env) == PR_TRUE) return NS_ERROR_FAILURE;
return NS_OK;
}
NS_IMETHODIMP nsJavaDOMImpl::OnEndURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
nsresult aStatus)
{
JNIEnv* env = NULL;
if (Init(&env) == PR_FALSE) return NS_ERROR_FAILURE;
char* urlSpec = (char*) "";
nsIURI* url = nsnull;
if (channel && NS_SUCCEEDED(channel->GetURI(&url)))
url->GetSpec(&urlSpec);
jstring jURL = env->NewStringUTF(urlSpec);
if (!jURL) return NS_ERROR_FAILURE;
nsIDOMDocument* domDoc = GetDocument(loader);
#if defined(DEBUG)
dump_document(domDoc, urlSpec);
#endif
env->CallStaticVoidMethod(domAccessorClass,
endURLLoadMID,
jURL,
(jint) aStatus,
(jlong)domDoc);
if (Cleanup(env) == PR_TRUE) return NS_ERROR_FAILURE;
return NS_OK;
}
NS_IMETHODIMP nsJavaDOMImpl::HandleUnknownContentType(nsIDocumentLoader* loader,
nsIChannel* channel,
const char *aContentType,
const char *aCommand)
{
return NS_OK;
}
JNIEnv* nsJavaDOMImpl::GetJNIEnv() {
JNIEnv* env;
#ifdef JAVA_DOM_OJI_ENABLE
nsresult result;
if (!jvmManager) {
NS_WITH_SERVICE(nsIJVMManager, _jvmManager, kJVMManagerCID, &result);
if (NS_SUCCEEDED(result)) {
jvmManager = (nsJVMManager*)((nsIJVMManager*)_jvmManager);
}
}
if (!jvmManager) {
return NULL;
}
jvmManager->CreateProxyJNI(NULL,&env);
// if (!securityContext) {
// securityContext = new JavaDOMSecurityContext();
// }
// SetSecurityContext(env, securityContext);
SetSecurityContext(env, new JavaDOMSecurityContext());
#else /* JAVA_DOM_OJI_ENABLE */
if (!jvm) {
StartJVM();
}
#ifdef XP_PC
jvm->AttachCurrentThread((void**)&env,NULL);
#else
jvm->AttachCurrentThread(&env,NULL);
#endif
#endif /* JAVA_DOM_OJI_ENABLE */
return env;
}
#ifndef JAVA_DOM_OJI_ENABLE
void nsJavaDOMImpl::StartJVM(void) {
jsize jvmCount;
JNI_GetCreatedJavaVMs(&jvm, 1, &jvmCount);
if (jvmCount) {
return;
}
JNIEnv *env = NULL;
JDK1_1InitArgs vm_args;
JNI_GetDefaultJavaVMInitArgs(&vm_args);
vm_args.version = 0x00010001;
vm_args.verifyMode = JNI_TRUE;
#ifdef DEBUG
vm_args.verbose = JNI_TRUE;
vm_args.enableVerboseGC = JNI_TRUE;
#endif // DEBUG
char* cp = PR_GetEnv("CLASSPATH");
char* p = new char[strlen(cp) + strlen(vm_args.classpath) + 2];
strcpy(p, vm_args.classpath);
if (cp) {
#ifdef XP_PC
strcat(p, ";");
#else
strcat(p, ":");
#endif
strcat(p, cp);
vm_args.classpath = p;
}
#ifdef DISABLE_JIT
/* workaround to get java dom to work on Linux */
char **props = new char*[2];
props[0]="java.compiler=";
props[1]=0;
vm_args.properties = props;
#endif
#ifdef DEBUG
printf("classpath is \"%s\"\n", vm_args.classpath);
#endif // DEBUG
#ifdef XP_PC
jint rv = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
#else
jint rv = JNI_CreateJavaVM(&jvm, &env, &vm_args);
#endif
if (rv < 0) {
printf("\n JAVA DOM: could not start jvm\n");
} else {
printf("\n JAVA DOM: successfully started jvm\n");
}
delete[] p;
}
#endif /* JAVA_DOM_OJI_ENABLE */
#if defined(DEBUG)
static void dump_document(nsIDOMDocument* domDoc, const char* urlSpec)
{
if (!domDoc) return;
if (strstr(urlSpec, ".xul") ||
strstr(urlSpec, ".js") ||
strstr(urlSpec, ".css") ||
strstr(urlSpec, "file:")) return;
FILE* of = fopen("dom-cpp.txt", "a");
if (!of) {
perror("nsJavaDOMImpl::dump_document: failed to open output file\n");
return;
}
nsIDOMElement* element = nsnull;
nsresult rv = domDoc->GetDocumentElement(&element);
if (NS_FAILED(rv) || !element)
return;
(void) element->Normalize();
fprintf(of, "\n+++ %s +++\n", urlSpec);
dump_node(of, (nsIDOMNode*) element, 0, PR_FALSE);
fprintf(of, "\n");
fflush(of);
fclose(of);
}
static void dump_node(FILE* of, nsIDOMNode* node, int indent,
PRBool isMapNode)
{
if (!node) return;
fprintf(of, "\n");
for (int i=0; i < indent; i++)
fprintf(of, " ");
nsString name;
nsString value;
PRUint16 type;
node->GetNodeName(name);
node->GetNodeValue(value);
node->GetNodeType(&type);
const PRUnichar* cname = name.GetUnicode();
const PRUnichar* cvalue = value.GetUnicode();
char* cnorm = strip_whitespace(cvalue, value.Length());
fprintf(of, "name=\"%s\" type=%s value=\"%s\"",
cname, describe_type(type), cnorm);
delete[] cnorm;
if (isMapNode) return;
nsIDOMNamedNodeMap* map = nsnull;
node->GetAttributes(&map);
dump_map(of, map, indent);
nsIDOMNodeList* children = nsnull;
node->GetChildNodes(&children);
if (!children) return;
PRUint32 length=0;
children->GetLength(&length);
for (PRUint32 j=0; j < length; j++) {
nsIDOMNode* child = nsnull;
children->Item(j, &child);
dump_node(of, child, indent+2, PR_FALSE);
}
}
static void dump_map(FILE* of, nsIDOMNamedNodeMap* map, int indent)
{
if (!map) return;
fprintf(of, "\n");
PRUint32 length=0;
map->GetLength(&length);
if (length > 0) {
for (int i=0; i < indent; i++)
fprintf(of, " ");
fprintf(of, "------- start attributes -------");
}
for (PRUint32 j=0; j < length; j++) {
nsIDOMNode* node = nsnull;
map->Item(j, &node);
dump_node(of, node, indent, PR_TRUE);
}
if (length > 0) {
fprintf(of, "\n");
for (int k=0; k < indent; k++)
fprintf(of, " ");
fprintf(of, "------- end attributes -------");
}
}
static char* strip_whitespace(const PRUnichar* input, int length)
{
if (!input || length < 1) {
char* out = new char[1];
out[0] = 0;
return out;
}
char* out = new char[length+1];
char* op = out;
const PRUnichar* ip = input;
PRUnichar c = ' ';
PRUnichar pc = ' ';
int i = 0;
for (c = *ip++; i++<length; c = *ip++) {
if ((pc == ' ' || pc == '\n' || pc == '\t') &&
(c == ' ' || c == '\n' || c == '\t'))
continue;
*op++ = (char)c;
pc = c;
}
*op++ = 0;
return out;
}
static const char* describe_type(int type)
{
switch (type) {
case nsIDOMNode::ELEMENT_NODE: return "ELEMENT";
case nsIDOMNode::ATTRIBUTE_NODE: return "ATTRIBUTE";
case nsIDOMNode::TEXT_NODE: return "TEXT";
case nsIDOMNode::CDATA_SECTION_NODE: return "CDATA_SECTION";
case nsIDOMNode::ENTITY_REFERENCE_NODE: return "ENTITY_REFERENCE";
case nsIDOMNode::ENTITY_NODE: return "ENTITY";
case nsIDOMNode::PROCESSING_INSTRUCTION_NODE: return "PROCESSING_INSTRUCTION";
case nsIDOMNode::COMMENT_NODE: return "COMMENT";
case nsIDOMNode::DOCUMENT_NODE: return "DOCUMENT";
case nsIDOMNode::DOCUMENT_TYPE_NODE: return "DOCUMENT_TYPE";
case nsIDOMNode::DOCUMENT_FRAGMENT_NODE: return "DOCUMENT_FRAGMENT";
case nsIDOMNode::NOTATION_NODE: return "NOTATION";
}
return "ERROR";
}
#endif

View File

@@ -1,77 +0,0 @@
#ifndef __nsJavaDOMImpl_h__
#define __nsJavaDOMImpl_h__
#include "jni.h"
#include "nsIJavaDOM.h"
#ifdef JAVA_DOM_OJI_ENABLE
#include "nsJVMManager.h"
#include "JavaDOMSecurityContext.h"
#endif
class nsIURI;
class nsIDOMDocument;
class nsIDocumentLoader;
class nsJavaDOMImpl : public nsIJavaDOM {
NS_DECL_ISUPPORTS
public:
nsJavaDOMImpl();
virtual ~nsJavaDOMImpl();
/* nsIDocumentLoaderObserver methods */
NS_IMETHOD OnStartDocumentLoad(nsIDocumentLoader* loader,
nsIURI* aURL,
const char* aCommand);
NS_IMETHOD OnEndDocumentLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
nsresult aStatus);
NS_IMETHOD OnStartURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel);
NS_IMETHOD OnProgressURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
PRUint32 aProgress,
PRUint32 aProgressMax);
NS_IMETHOD OnStatusURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
nsString& aMsg);
NS_IMETHOD OnEndURLLoad(nsIDocumentLoader* loader,
nsIChannel* channel,
nsresult aStatus);
NS_IMETHOD HandleUnknownContentType(nsIDocumentLoader* loader,
nsIChannel* channel,
const char *aContentType,
const char *aCommand);
private:
#ifdef JAVA_DOM_OJI_ENABLE
static nsJVMManager* jvmManager;
static JavaDOMSecurityContext* securityContext;
#else
static JavaVM* jvm;
#endif
static jclass domAccessorClass;
static jmethodID startURLLoadMID;
static jmethodID endURLLoadMID;
static jmethodID progressURLLoadMID;
static jmethodID statusURLLoadMID;
static jmethodID startDocumentLoadMID;
static jmethodID endDocumentLoadMID;
static JNIEnv* GetJNIEnv(void);
static void StartJVM(void);
static PRBool Init(JNIEnv**);
// cleanup after a JNI method invocation
static PRBool Cleanup(JNIEnv* env);
nsIDOMDocument* GetDocument(nsIDocumentLoader* loader);
};
#endif /* __nsJavaDOMImpl_h__ */

View File

@@ -1,81 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.test;
public class BWBaseTest implements Execution
{
/**
* This is a dummy implementation of interface method
*
* @param obj Object instance (Node/Document/....)
*
* @return if test has passed then return true else false
*
*
*/
public boolean execute(Object obj)
{
return true;
}
/**
* Send a null Object. Classes extending this class will override this
* method
*
*
* @return Null object reference
*
*/
public Object returnObject()
{
return null;
}
/**
* This method indicates whether a particular method is UNSUPPORTED or
* not.
*
*/
public void setUnsupported()
{
UNSUPPORTED = true;
}
/**
* This method indicates whether a particular method is UNSUPPORTED or
* not.
*
*
* @return Value of boolean varibale UNSUPPORTED.
*
*/
public boolean isUnsupported()
{
return UNSUPPORTED;
}
public static boolean FAILED=false;
public static boolean PASSED=true;
public boolean UNSUPPORTED=false;
}

View File

@@ -1,102 +0,0 @@
JavaTest Template:
Woking on similar lines as JavaSpec, this template generator parses an
input Class file and creates unique Test Template Files for
each public method complying with all combinations of its parameter list.
It is mainly used for doing a white box testing for all API's (methods).
This will ensure that all Java Testcase Files follow a given template.
It uses reflection to figure out all constructors and public methods
for a given class.
The file-naming convention for output files is a straight forward one.
<class Name>_<method name>_<param combinations>.java
param combinations is based on all permutations depending on the values
of different data types (as listed below)
Listed below is all possible values for types of parameter.
String = (null, "DUMMY_STRING")
int = (0, Integer.MIN_VALUE, Integer.MAX_VALUE)
float = (0, Float.MIN_VALUE, Float.MAX_VALUE)
double = (0, Double.MIN_VALUE, Double.MAX_VALUE)
long = (0, Long.MIN_VALUE, Long.MAX_VALUE)
short = (0, Short.MIN_VALUE, Short.MAX_VALUE)
char = (Character.MAX_VALUE)
boolean = (true, false)
byte = (Byte.MIN_VALUE, Byte.MAX_VALUE)
Integer = (null, 0, Integer.MIN_VALUE, Integer.MAX_VALUE)
Float = (null, 0, Float.MIN_VALUE, Float.MAX_VALUE)
Double = (null, 0, Double.MIN_VALUE, Double.MAX_VALUE)
Long = (null, 0, Long.MIN_VALUE, Long.MAX_VALUE)
Short = (null, 0, Short.MIN_VALUE, Short.MAX_VALUE)
Character = (null, Character.MAX_VALUE)
Byte = (null, Byte.MIN_VALUE, Byte.MAX_VALUE)
Object = (null, "NOTNULL")
So for a method 'm' for class 'c' with two String parameters
the output files generated will be
c_m_String_String_0.java --> (null, null)
c_m_String_String_1.java --> ("DUMMY_STRING", null)
c_m_String_String_2.java --> (null, "DUMMY_STRING")
C_m_String_String_3.java --> ("DUMMY_STRING", "DUMMY_STRING")
--------------------------------------------------------------------------
How to run
==========
java BWJavaTestTemplate [ -d <output directory> ] classname
<output directory> is the location where u want to generate these
TestCase files
--------------------------------------------------------------------------
For Example
===========
Class: x.java
public class x
{
public x(String arg)
{
}
private void modifyVal(String instr)
{
}
public void setVal (String ival)
{
}
public void setIndexVal (String ival, int index)
{
}
}
Generated Files are
x_setVal_String_0.java
x_setVal_String_1.java
x_setIndexVal_String_int_0.java
x_setIndexVal_String_int_1.java
x_setIndexVal_String_int_2.java
x_setIndexVal_String_int_3.java
x_setIndexVal_String_int_4.java
x_setIndexVal_String_int_5.java
x_x_String_0.java
x_x_String_1.java
x.txt
--------------------------------------------------------------------------
NOTE: Right now the author name in each of those generated files is left
empty. Future version will reflect the same from configuration files

View File

@@ -1,192 +0,0 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.51 [en] (X11; U; SunOS 5.6 sun4u) [Netscape]">
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#551A8B" alink="#FF0000">
<b><u><font color="#993399"><font size=+1>JavaTest Template</font></font></u></b>
<br>&nbsp;
<p>Woking on similar lines as JavaSpec, this template generator parses
an
<br>input Class file and creates unique Test Template Files for
<br>each public method complying with all combinations of its parameter
list.
<br>It is mainly used for doing a white box testing for all API's (methods).
<p>This will ensure that all Java Testcase Files follow a given template.
<p>It uses reflection to figure out all constructors and public methods
<br>for a given class.
<br>The file-naming convention for output files is a straight forward one.
<br>[class Name]_[method name]_[param combinations].java
<p>param combinations is based on all permutations depending on the values
<br>of different data types (as listed below)
<br>&nbsp;
<p>Listed below is all possible values for types of parameter.
<br>&nbsp;
<table BORDER COLS=2 WIDTH="100%" BGCOLOR="#99FFCC" NOSAVE >
<tr NOSAVE>
<td WIDTH="100" NOSAVE>String</td>
<td>(null, "DUMMY_STRING")</td>
</tr>
<tr>
<td>int</td>
<td>(0, Integer.MIN_VALUE, Integer.MAX_VALUE)</td>
</tr>
<tr>
<td>float</td>
<td>(0, Float.MIN_VALUE, Float.MAX_VALUE)</td>
</tr>
<tr>
<td>double</td>
<td>(0, Double.MIN_VALUE, Double.MAX_VALUE)</td>
</tr>
<tr>
<td>long</td>
<td>(0, Long.MIN_VALUE, Long.MAX_VALUE)</td>
</tr>
<tr>
<td>short</td>
<td>(0, Short.MIN_VALUE, Short.MAX_VALUE)</td>
</tr>
<tr>
<td>char</td>
<td>(Character.MAX_VALUE)</td>
</tr>
<tr>
<td>boolean</td>
<td>(true, false)</td>
</tr>
<tr>
<td>byte</td>
<td>(Byte.MIN_VALUE, Byte.MAX_VALUE)</td>
</tr>
<tr>
<td>Integer</td>
<td>(null, 0, Integer.MIN_VALUE, Integer.MAX_VALUE)</td>
</tr>
<tr>
<td>Float</td>
<td>&nbsp;(null, 0, Float.MIN_VALUE, Float.MAX_VALUE)</td>
</tr>
<tr>
<td>Double</td>
<td>(null, 0, Double.MIN_VALUE, Double.MAX_VALUE)</td>
</tr>
<tr>
<td>Long</td>
<td>(null, 0, Long.MIN_VALUE, Long.MAX_VALUE)</td>
</tr>
<tr>
<td>Short</td>
<td>(null, 0, Short.MIN_VALUE, Short.MAX_VALUE)</td>
</tr>
<tr>
<td>Character</td>
<td>(null, Character.MAX_VALUE)</td>
</tr>
<tr>
<td>Byte</td>
<td>(null, Byte.MIN_VALUE, Byte.MAX_VALUE)</td>
</tr>
<tr>
<td>Object</td>
<td>(null, "NOTNULL")</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table>
<p>So for a method 'm' for class 'c' with two String parameters the output
files generated will be
<br>c_m_String_String_0.java --> (null, null)
<br>c_m_String_String_1.java --> ("DUMMY_STRING", null)
<br>c_m_String_String_2.java --> (null, "DUMMY_STRING")
<br>C_m_String_String_3.java --> ("DUMMY_STRING", "DUMMY_STRING")
<p>
<hr NOSHADE WIDTH="100%">
<h2>
<b><u><font color="#993399"><font size=+1>How to run</font></font></u></b></h2>
<p><br>java BWJavaTestTemplate [ -d&nbsp;<output directory>] classname
<br><output directory>is the location where u want to generate these
<br>TestCase files
<br>
<hr NOSHADE WIDTH="100%">
<h2>
<u><font color="#993399">Example</font></u></h2>
<font color="#FF6666">Class: x.java</font><font color="#FF6666"></font>
<p><font color="#FF6666">&nbsp;&nbsp; public class x</font>
<br><font color="#FF6666">&nbsp;&nbsp; {</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public x(String
arg)</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</font><font color="#FF6666"></font>
<p><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp; private void modifyVal(String
instr)</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp; {</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp; }</font><font color="#FF6666"></font>
<p><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp; public void setVal (String
ival)</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp; {</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp; }</font><font color="#FF6666"></font>
<p><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp; public void setIndexVal
(String ival, int index)</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp; {</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp;&nbsp; }</font>
<br><font color="#FF6666">&nbsp; }</font>
<br><font color="#FF6666"></font>&nbsp;<font color="#FF6666"></font>
<p>Generated Files are
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp; x_setVal_String_0.java</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp; x_setIndexVal_String_int_0.java</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp; x_setIndexVal_String_int_1.java</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp; x_setIndexVal_String_int_2.java</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp; x_setIndexVal_String_int_3.java</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp; x_setIndexVal_String_int_4.java</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp; x_setIndexVal_String_int_5.java</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp; x_x_String_0.java</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp; x_x_String_1.java</font>
<br><font color="#FF6666">&nbsp;&nbsp;&nbsp; x.txt</font><font color="#FF6666"></font>
<p>
<hr NOSHADE WIDTH="100%">
<p><u><font color="#993399"><font size=+1>NOTE</font></font></u>
<p>Right now the author name in each of those generated files is left&nbsp;
empty. Future version will reflect the same from configuration files.
</body>
</html>

View File

@@ -1,895 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.test;
import java.lang.*;
import java.util.*;
import java.io.*;
import java.lang.reflect.*;
import org.mozilla.dom.*;
class BWJavaTemplate
{
ReflectionTest rt=null;
String fullclass=null;
String jclass=null;
String packageName=null;
String outputDir=null;
Vector outputFiles=null;
private Method[] methods = null;
private String currMethod=new String();
private String currParamList=new String();
private Hashtable rules = null;
public BWJavaTemplate(String ajclass, String aoutDir, String rulesFile)
{
outputDir = aoutDir+System.getProperty("file.separator");
fullclass = ajclass;
if (fullclass == null) {
System.out.println("Class Name cannot be NULL... ");
return;
}
if (rulesFile != null) {
loadRules(rulesFile);
}
int idx = fullclass.lastIndexOf(".");
if ( idx != -1)
{
packageName = fullclass.substring(0, idx);
jclass = fullclass.substring(idx+1);
System.out.println("packageName is " + packageName);
} else {
jclass = fullclass;
}
System.out.println("class Name is " + jclass);
rt = new ReflectionTest();
if (rt == null) {
System.out.println("Could not instantiate ReflectionTest...\n");
return;
}
outputFiles = new Vector();
System.out.println("Parsing constructors and methods ...");
if (!(parseClassConstructor()) && !(parseClassMethod())) {
System.out.println("Can't parse neither COnstructors nor Methods !!!\n");
return;
}
DataOutputStream dos = null;
String txtFile = jclass + ".txt";
try {
dos = new DataOutputStream( new FileOutputStream(outputDir+txtFile));
} catch (Exception e) {
System.out.println("ERROR: Could not create File " + txtFile);
return;
}
try {
//dos.write("#Class|Method|Parameter|FileName\n".getBytes());
for(int i=0; i<outputFiles.size(); i++)
{
dos.write(((String)outputFiles.elementAt(i)).getBytes());
dos.write("\n".getBytes());
}
} catch (IOException e) {
System.out.println("ERROR: Could not write to File " + txtFile);
return;
}
try {
dos.close();
} catch (Exception e) {
System.out.println("ERROR: Could not close File " + txtFile);
return;
}
}
private void loadRules(String rulesFile) {
try {
/* Input stream routines*/
FileInputStream in = new FileInputStream(rulesFile);
LineNumberReader ln = new LineNumberReader((Reader)(new InputStreamReader((InputStream)in)));
/*Parsing rules file*/
rules = new Hashtable();
String str = null;
int pos = -1;
while((str = ln.readLine()) != null) {
if ((pos = str.indexOf(' ')) <= 0 || pos == str.length()) {
System.out.println("WARNIG: rules file format error at line "+ln.getLineNumber());
} else {
//System.out.println("Rules: "+str.substring(0, pos)+" <-> "+str.substring(pos+1));
rules.put((Object)str.substring(0, pos), (Object)str.substring(pos+1));
}
}
} catch (Exception e) {
System.out.println("WARNING: Can't read rules file "+rulesFile+": "+e.fillInStackTrace()+"\n");
rules = null;
}
}
/**
* Parses the class constructors and create class files
*
* @return Either true or false
*/
public boolean parseClassConstructor()
{
Class cl = null;
try {
cl = Class.forName(fullclass);
} catch (Exception e) {
System.out.println("Could not find class file " + fullclass);
return false;
}
if (Modifier.isAbstract(cl.getModifiers()))
return false;
if (Modifier.isInterface(cl.getModifiers()))
return false;
Constructor constructors[] = rt.getConstructors(cl);
String paramString = null;
int staticFlag=0;
for (int i = 0; i < constructors.length; i++)
{
staticFlag=0;
String returnType = "void";
Constructor c = constructors[i];
Class[] paramTypes = c.getParameterTypes();
String conName = c.getName();
currMethod = conName;
int mod = c.getModifiers();
if (Modifier.isStatic(mod))
staticFlag = 1;
else if (!(Modifier.isPublic(mod)))
continue;
paramString = new String();
ParamCombination pcomb = null;
pcomb = new ParamCombination(paramTypes.length);
if (pcomb == null)
{
System.out.println("Could not instantiate ParamCombination...\n");
return false;
}
for (int j = 0; j < paramTypes.length; j++)
{
// Construct parameter string (param1_param2_...)
String pstr = paramTypes[j].getName();
String tstr = new String("");
// check if param is an Array and accordingly get
// component type.
if (pstr.startsWith("["))
{
int index = pstr.lastIndexOf("[") + 1;
tstr = "Arr" + (new Integer(index)).toString();
pstr = (pstr.substring(index)).trim();
if (pstr.length() == 1) {
if (pstr.compareTo("I") == 0)
tstr = tstr + "int";
else if (pstr.compareTo("F") == 0)
tstr = tstr + "float";
else if (pstr.compareTo("D") == 0)
tstr = tstr + "double";
else if (pstr.compareTo("S") == 0)
tstr = tstr + "short";
else if (pstr.compareTo("C") == 0)
tstr = tstr + "char";
else if (pstr.compareTo("B") == 0)
tstr = tstr + "byte";
} else {
// Remove the leading 'L' from the string
pstr = pstr.substring(1);
}
// Remove trailing semicolon
int slen = pstr.length();
pstr = pstr.substring(0, slen-1);
}
// Remove . from paramname (java.lang.String)
int idx = pstr.lastIndexOf(".");
if (idx != -1)
{
pstr = pstr.substring(idx + 1);
}
tstr = tstr + pstr;
paramString = paramString + "_" + tstr;
/* get value list for parameter */
pcomb.addElement(getParameterValueList(tstr));
}
// remove leading underscore
if (paramString.length() > 1)
paramString = paramString.substring(1);
currParamList = paramString;
String combstr[] = pcomb.getValueList();
if (combstr != null)
{
for (int k=0; k< combstr.length; k++)
{
String pstr = paramString + "_" + (new Integer(k)).toString();
createTemplate(jclass, jclass, pstr, combstr[k], returnType, staticFlag);
}
} else {
createTemplate(jclass, jclass, null, null, returnType, staticFlag);
}
}
return true;
}
/**
* Parses the class methods and create class files
*
* @return Either true or false
*/
public boolean parseClassMethod()
{
Class cl = null;
try {
cl = Class.forName(fullclass);
} catch (Exception e) {
System.out.println("Could not find class file " + fullclass);
return false;
}
methods = rt.getMethods(cl);
String paramString = null;
int staticFlag=0;
for (int i = 0; i < methods.length; i++)
{
System.out.println("Parsing method: "+jclass+" -> "+methods[i].getName());
staticFlag=0;
Method m = methods[i];
Class[] paramTypes = m.getParameterTypes();
String conName = m.getName();
String returnType = (m.getReturnType()).getName();
currMethod = conName;
int mod = m.getModifiers();
if (Modifier.isStatic(mod))
staticFlag = 1;
else if (!(Modifier.isPublic(mod)))
continue;
paramString = new String();
ParamCombination pcomb = null;
System.out.println("Number of parms: "+paramTypes.length);
pcomb = new ParamCombination(paramTypes.length);
if (pcomb == null)
{
System.out.println("Could not instantiate ParamCombination...\n");
return false;
}
if (Modifier.isStatic(m.getModifiers()))
staticFlag = 1;
for (int j = 0; j < paramTypes.length; j++)
{
// Construct parameter string (param1_param2_...)
String pstr = paramTypes[j].getName();
String tstr = new String("");
// check if param is an Array and accordingly get
// component type.
if (pstr.startsWith("["))
{
int index = pstr.lastIndexOf("[") + 1;
tstr = "Arr" + (new Integer(index)).toString();
pstr = (pstr.substring(index)).trim();
if (pstr.length() == 1) {
if (pstr.compareTo("I") == 0)
tstr = tstr + "int";
else if (pstr.compareTo("F") == 0)
tstr = tstr + "float";
else if (pstr.compareTo("D") == 0)
tstr = tstr + "double";
else if (pstr.compareTo("S") == 0)
tstr = tstr + "short";
else if (pstr.compareTo("C") == 0)
tstr = tstr + "char";
else if (pstr.compareTo("B") == 0)
tstr = tstr + "byte";
} else {
// Remove the leading 'L' from the string
pstr = pstr.substring(1);
}
// Remove trailing semicolon
int slen = pstr.length();
pstr = pstr.substring(0, slen-1);
}
// Remove . from paramname (java.lang.String)
int idx = pstr.lastIndexOf(".");
if (idx != -1)
{
pstr = pstr.substring(idx + 1);
}
tstr = tstr + pstr;
paramString = paramString + "_" + tstr;
/* get value list for parameter */
pcomb.addElement(getParameterValueList(tstr));
}
// remove leading underscore
if (paramString.length() > 1)
paramString = paramString.substring(1);
String combstr[] = pcomb.getValueList();
if (combstr != null)
{
for (int k=0; k< combstr.length; k++)
{
String pstr = paramString + "_" + (new Integer(k)).toString();
currParamList = paramString;
createTemplate(jclass, conName, pstr, combstr[k], returnType, staticFlag);
}
} else {
createTemplate(jclass, conName, null, null, returnType, staticFlag);
}
}
return true;
}
/**
* GetParses the class constructors and create class files
*
* @param Name of the paramter class
* @return Vector of all permissbile values for this class
* viz: for String class it will be null/"dummy"
*/
public Vector getParameterValueList(String param)
{
Vector result = null;
if (param == null) return null;
result = new Vector();
if (param.compareTo("String") == 0)
{
result.addElement("null");
result.addElement("\"DUMMY_STRING\"");
} else
if (param.compareTo("int") == 0)
{
result.addElement("0");
result.addElement("Integer.MIN_VALUE");
result.addElement("Integer.MAX_VALUE");
} else
if (param.compareTo("float") == 0)
{
result.addElement("0");
result.addElement("Float.MAX_VALUE");
result.addElement("Float.NaN");
} else
if (param.compareTo("double") == 0)
{
result.addElement("0");
result.addElement("Double.MAX_VALUE");
result.addElement("Double.NaN");
} else
if (param.compareTo("long") == 0)
{
result.addElement("0");
result.addElement("Long.MIN_VALUE");
result.addElement("Long.MAX_VALUE");
} else
if (param.compareTo("short") == 0)
{
result.addElement("0");
result.addElement("Short.MIN_VALUE");
result.addElement("Short.MAX_VALUE");
} else
if (param.compareTo("char") == 0)
{
result.addElement("Character.MAX_VALUE");
} else
if (param.compareTo("boolean") == 0)
{
result.addElement("true");
result.addElement("false");
} else
if (param.compareTo("byte") == 0)
{
result.addElement("Byte.MIN_VALUE");
result.addElement("Byte.MAX_VALUE");
} else
if (param.compareTo("Integer") == 0)
{
result.addElement("null");
result.addElement("new Integer(0)");
result.addElement("new Integer(Integer.MIN_VALUE)");
result.addElement("new Integer(Integer.MAX_VALUE)");
} else
if (param.compareTo("Float") == 0)
{
result.addElement("null");
result.addElement("new Float(0)");
result.addElement("new Float(Float.MAX_VALUE)");
result.addElement("new Float(Float.NaN)");
} else
if (param.compareTo("Double") == 0)
{
result.addElement("null");
result.addElement("new Double(0)");
result.addElement("new Double(Double.MAX_VALUE)");
result.addElement("new Double(Double.NaN)");
} else
if (param.compareTo("Long") == 0)
{
result.addElement("null");
result.addElement("new Long(0)");
result.addElement("new Long(Long.MIN_VALUE)");
result.addElement("new Long(Long.MAX_VALUE)");
} else
if (param.compareTo("Short") == 0)
{
result.addElement("null");
result.addElement("new Short(0)");
result.addElement("new Short(Short.MIN_VALUE)");
result.addElement("new Short(Short.MAX_VALUE)");
} else
if (param.compareTo("Character") == 0)
{
result.addElement("'" + (new Character(Character.MAX_VALUE)).toString() + "`");
} else
if (param.compareTo("Byte") == 0)
{
result.addElement("null");
result.addElement("new Byte(Byte.MIN_VALUE)");
result.addElement("new Byte(Byte.MAX_VALUE)");
} else
if (rules != null && rules.get(param) != null) {
result.addElement((String)rules.get(param));
result.addElement("null");
} else {
result.addElement("null");
result.addElement("NOTNULL");
}
return result;
}
/**
* Create Template Java File
*
* @param className Name of the class file
* @param methodName Name of the method
* @param paramString Concated string of parameter types separated by
* underscores.
* @param valueList A concated String of values for the above
* parameters in the given order
* @param returnType Return Type for the given method.
*
*
* @return void
*/
public void createTemplate( String className,
String methodName,
String paramString,
String valueList,
String returnType,
int staticFlag
)
{
if (className == null) return;
if (methodName == null) return;
if (returnType == null) return;
if (paramString != null)
if (valueList == null) return;
String cName = new String();
String filename = new String();
if (paramString != null){
cName = className + "_" + methodName + "_" + paramString;
filename = cName + ".java";
} else {
cName = className + "_" + methodName;
filename = cName + ".java";
}
DataOutputStream raf = null;
try {
raf = new DataOutputStream( new FileOutputStream(outputDir+filename));
} catch (Exception e) {
System.out.println("ERROR: Could not create File " + filename);
return;
}
try {
String fstr = new String();
fstr = fstr + "/**";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " * @version 1.00 ";
fstr = fstr + "\n";
fstr = fstr + " * @author ";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " * TESTID ";
fstr = fstr + "\n";
fstr = fstr + " * ";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " */";
fstr = fstr + "\n";
fstr = fstr + "package org.mozilla.dom.test;";
fstr = fstr + "\n";
fstr = fstr + "\n";
fstr = fstr + "import java.util.*;";
fstr = fstr + "\n";
fstr = fstr + "import java.io.*;";
fstr = fstr + "\n";
fstr = fstr + "import org.mozilla.dom.test.*;";
fstr = fstr + "\n";
fstr = fstr + "import org.mozilla.dom.*;";
fstr = fstr + "\n";
fstr = fstr + "import org.w3c.dom.*;";
fstr = fstr + "\n";
fstr = fstr + "import org.w3c.dom.html.*;";
fstr = fstr + "\n";
fstr = fstr + "\n";
fstr = fstr + "public class " + cName;
fstr = fstr + " extends BWBaseTest implements Execution";
fstr = fstr + "\n";
fstr = fstr + "{";
fstr = fstr + "\n";
fstr = fstr + "\n";
fstr = fstr + " /**";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " ***********************************************************";
fstr = fstr + "\n";
fstr = fstr + " * Constructor";
fstr = fstr + "\n";
fstr = fstr + " ***********************************************************";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " */";
fstr = fstr + "\n";
fstr = fstr + " public " + cName + "()";
fstr = fstr + "\n";
fstr = fstr + " {";
fstr = fstr + "\n";
fstr = fstr + " }";
fstr = fstr + "\n";
fstr = fstr + "\n";
fstr = fstr + "\n";
fstr = fstr + " /**";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " ***********************************************************";
fstr = fstr + "\n";
fstr = fstr + " * Starting point of application";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " * @param args Array of command line arguments";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " ***********************************************************";
fstr = fstr + "\n";
fstr = fstr + " */";
fstr = fstr + "\n";
fstr = fstr + " public static void main(String[] args)";
fstr = fstr + "\n";
fstr = fstr + " {";
fstr = fstr + "\n";
fstr = fstr + " }";
fstr = fstr + "\n";
fstr = fstr + "\n";
fstr = fstr + " /**";
fstr = fstr + "\n";
fstr = fstr + " ***********************************************************";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " * Execute Method ";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " * @param tobj Object reference (Node/Document/...)";
fstr = fstr + "\n";
fstr = fstr + " * @return true or false depending on whether test passed or failed.";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " ***********************************************************";
fstr = fstr + "\n";
fstr = fstr + " */";
fstr = fstr + "\n";
fstr = fstr + " public boolean execute(Object tobj)";
fstr = fstr + "\n";
fstr = fstr + " {";
fstr = fstr + "\n";
fstr = fstr + " if (tobj == null) {";
fstr = fstr + "\n";
fstr = fstr + " TestLoader.logPrint(\"Object is NULL...\");";
fstr = fstr + "\n";
fstr = fstr + " return BWBaseTest.FAILED;";
fstr = fstr + "\n";
fstr = fstr + " }";
fstr = fstr + "\n";
fstr = fstr + "\n";
fstr = fstr + " String os = System.getProperty(\"OS\");";
fstr = fstr + "\n";
fstr = fstr + " osRoutine(os);";
fstr = fstr + "\n";
/* String pString=valueList;
if (valueList == null)
pString= new String("");
*/
if (rules != null && rules.get(className) != null)
fstr =fstr + makeTestRoutine(className, returnType, methodName, valueList);
fstr = fstr + " return BWBaseTest.PASSED;";
fstr = fstr + "\n";
fstr = fstr + " }";
fstr = fstr + "\n";
fstr = fstr + "\n";
fstr = fstr + " /**";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " ***********************************************************";
fstr = fstr + "\n";
fstr = fstr + " * Routine where OS specific checks are made. ";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " * @param os OS Name (SunOS/Linus/MacOS/...)";
fstr = fstr + "\n";
fstr = fstr + " ***********************************************************";
fstr = fstr + "\n";
fstr = fstr + " *";
fstr = fstr + "\n";
fstr = fstr + " */";
fstr = fstr + "\n";
fstr = fstr + " private void osRoutine(String os)";
fstr = fstr + "\n";
fstr = fstr + " {";
fstr = fstr + "\n";
fstr = fstr + " if(os == null) return;";
fstr = fstr + "\n";
fstr = fstr + "\n";
fstr = fstr + " os = os.trim();";
fstr = fstr + "\n";
fstr = fstr + " if(os.compareTo(\"SunOS\") == 0) {}";
fstr = fstr + "\n";
fstr = fstr + " else if(os.compareTo(\"Linux\") == 0) {}";
fstr = fstr + "\n";
fstr = fstr + " else if(os.compareTo(\"Windows\") == 0) {}";
fstr = fstr + "\n";
fstr = fstr + " else if(os.compareTo(\"MacOS\") == 0) {}";
fstr = fstr + "\n";
fstr = fstr + " else {}";
fstr = fstr + "\n";
fstr = fstr + " }";
fstr = fstr + "\n";
fstr = fstr + "}";
fstr = fstr + "\n";
raf.write(fstr.getBytes());
} catch (IOException e) {
System.out.println("ERROR: Could not write to File " + filename);
return;
}
try {
raf.close();
} catch (Exception e) {
System.out.println("ERROR: Could not close File " + filename);
return;
}
DataOutputStream dos = null;
String txtFile = className + ".txt";
try {
dos = new DataOutputStream( new FileOutputStream(outputDir+txtFile));
} catch (Exception e) {
System.out.println("ERROR: Could not create File " + txtFile);
return;
}
String str = className + ":" + currMethod + ":" + currParamList + ":" + filename;
outputFiles.addElement(str);
try {
dos.write(str.getBytes());
} catch (IOException e) {
System.out.println("ERROR: Could not write to File " + txtFile);
return;
}
try {
dos.close();
} catch (Exception e) {
System.out.println("ERROR: Could not close File " + txtFile);
return;
}
}
private Method findMethod(String mn) {
if (methods == null)
return null;
for (int i=0; i < methods.length; i++) {
//System.out.println("Comparing: "+mn+" <-> "+methods[i].getName());
if (methods[i].getName().compareTo(mn) == 0)
return methods[i];
}
return null;
}
private String makeTestRoutine(String className, String returnType, String methodName, String valueList) {
String result = new String("");
String tab = " ", tab1=tab+tab, tab2=tab1+tab, tab3=tab2+tab1;
String robj = "", check = "";
String valList = valueList;
if (valueList == null)
valList = "";
/*Weather method returns object ?*/
if (returnType.compareTo("void") != 0) {
robj = returnType + " rc = ";
if (returnType.indexOf('.') > 0)
check = tab3 + "if (rc == null) return BWBaseTest.FAILED;\n";
}
/*Let's try to find set<->get pair for methods with one argument ...*/
if (methodName.startsWith("set") && valueList.indexOf(',') < 0 && valueList.compareTo("null") != 0) {
String getMethod = "get" + methodName.substring(3);
//System.out.println("GET_METHOD "+getMethod);
Method m;
if ((m = findMethod(getMethod)) != null && m.getParameterTypes().length == 0) {
String equals = ".equals";
/* Weather return type is standard ?*/
if (m.getReturnType().getName().indexOf('.') < 0)
equals = "==";
check = tab3+"if (!(obj."+getMethod+"()"+equals+"("+valueList+"))) return BWBaseTest.FAILED;\n";
}
}
result += tab1 + "Document d = (Document)tobj;\n";
result += tab1 + "if (d != null) {\n";
result += tab2 + "try {\n";
result += tab3 + className+" obj = " + rules.get(className)+";\n";
result += tab3 + robj + "obj." + methodName + "("+valList+");\n" + check;
result += tab2 + "} catch (Exception e) {\n";
result += tab3 + "return BWBaseTest.FAILED;\n";
result += tab2 + "}\n";
result += tab1 + "} else {\n";
result += tab2 + "return BWBaseTest.FAILED;\n";
result += tab1 + "}\n";
return result;
}
public static void usage()
{
System.out.println("Usage: java JavaTestTemplate [-d <output dir>] [-r <rules_file>] <className>");
}
public static void main(String args[])
{
if (args.length == 0)
{
BWJavaTemplate.usage();
return;
}
String className = null;
String outDirectory = null;
String rulesFile = null;
switch(args.length) {
case(0):
BWJavaTemplate.usage();
return;
case(1):
if(args[0].charAt(0) == '-') {
BWJavaTemplate.usage();
return;
}
className = args[0];
break;
default:
for(int i=0; i<args.length;) {
if(args[i].charAt(0) != '-') {
if (className != null) {
BWJavaTemplate.usage();
return;
}
className = args[i];
i++;
} else {
switch(args[i].charAt(1)) {
case('d'):
outDirectory = args[i+1];
i+=2;
break;
case('r'):
rulesFile = args[i+1];
i+=2;
break;
default:
BWJavaTemplate.usage();
return;
} //end of switch
}
}
} //end of switch
/*
if (args.length == 3) {
if (args[0].compareTo("-d") != 0) {
BWJavaTemplate.usage();
return;
} else {
outDirectory = args[1];
className = args[2];
}
} else {
outDirectory = new String(".");
className = args[0];
}
*/
BWJavaTemplate jt = new BWJavaTemplate(className, outDirectory, rulesFile);
}
}

View File

@@ -1,7 +0,0 @@
BW_TESTDIR=/workspace/mozilla/java/dom/tests/src
BW_TESTFILE=BWTestClass.lst
BW_LOGDIR=/workspace/mozilla/java/dom/tests/src/log
BW_LOGFILE=BWTest.log
BW_THREADMODE=S
BW_HTMLTEST=file:
BW_XMLTEST=file:

View File

@@ -1 +0,0 @@
org.mozilla.dom.test.AttrImpl_getName

View File

@@ -1,237 +0,0 @@
org.mozilla.dom.test.AttrImpl_getName
org.mozilla.dom.test.AttrImpl_getSpecified
org.mozilla.dom.test.AttrImpl_getValue
org.mozilla.dom.test.AttrImpl_getOwnerElement
org.mozilla.dom.test.AttrImpl_setValue_String_0
org.mozilla.dom.test.AttrImpl_setValue_String_1
org.mozilla.dom.test.CharacterDataImpl_appendData_String_0
org.mozilla.dom.test.CharacterDataImpl_appendData_String_1
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_0
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_1
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_2
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_3
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_4
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_5
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_6
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_7
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_8
org.mozilla.dom.test.CharacterDataImpl_getData
org.mozilla.dom.test.CharacterDataImpl_getLength
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_0
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_1
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_2
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_3
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_4
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_5
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_0
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_1
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_10
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_11
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_12
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_13
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_14
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_15
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_16
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_17
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_2
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_3
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_4
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_5
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_6
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_7
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_8
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_9
org.mozilla.dom.test.CharacterDataImpl_setData_String_0
org.mozilla.dom.test.CharacterDataImpl_setData_String_1
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_0
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_1
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_2
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_3
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_4
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_5
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_6
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_7
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_8
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_0
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_1
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_2
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_3
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_4
org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_0
org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_String_0
org.mozilla.dom.test.DOMImplementationImpl_createDocument_String_String_DocumentType_0
org.mozilla.dom.test.DocumentImpl_createAttribute_String_0
org.mozilla.dom.test.DocumentImpl_createAttribute_String_1
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_0
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_1
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_2
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_3
org.mozilla.dom.test.DocumentImpl_createCDATASection_String_0
org.mozilla.dom.test.DocumentImpl_createCDATASection_String_1
org.mozilla.dom.test.DocumentImpl_createComment_String_0
org.mozilla.dom.test.DocumentImpl_createComment_String_1
org.mozilla.dom.test.DocumentImpl_createDocumentFragment
org.mozilla.dom.test.DocumentImpl_createElement_String_0
org.mozilla.dom.test.DocumentImpl_createElement_String_1
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_0
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_1
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_2
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_3
org.mozilla.dom.test.DocumentImpl_createEntityReference_String_0
org.mozilla.dom.test.DocumentImpl_createEvent_String_0
org.mozilla.dom.test.DocumentImpl_createEvent_String_1
org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_0
org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_1
org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_2
org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_3
org.mozilla.dom.test.DocumentImpl_createTextNode_String_0
org.mozilla.dom.test.DocumentImpl_createTextNode_String_1
org.mozilla.dom.test.DocumentImpl_getDoctype
org.mozilla.dom.test.DocumentImpl_getDocumentElement
org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_0
org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_1
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_0
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_1
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_2
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_3
org.mozilla.dom.test.DocumentImpl_getElementById_String_0
org.mozilla.dom.test.DocumentImpl_getElementById_String_1
org.mozilla.dom.test.DocumentImpl_getImplementation
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_0
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_1
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_2
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_3
org.mozilla.dom.test.DocumentTypeImpl_getEntities
org.mozilla.dom.test.DocumentTypeImpl_getName
org.mozilla.dom.test.DocumentTypeImpl_getNotations
org.mozilla.dom.test.DocumentTypeImpl_getPublicId
org.mozilla.dom.test.DocumentTypeImpl_getSystemId
org.mozilla.dom.test.DocumentTypeImpl_getInternalSubset
org.mozilla.dom.test.ElementImpl_getAttributeNode_String_0
org.mozilla.dom.test.ElementImpl_getAttributeNode_String_1
org.mozilla.dom.test.ElementImpl_getAttribute_String_0
org.mozilla.dom.test.ElementImpl_getAttribute_String_1
org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_0
org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_1
org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_2
org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_3
org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_0
org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_1
org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_2
org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_3
org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_0
org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_1
org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_0
org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_1
org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_2
org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_3
org.mozilla.dom.test.ElementImpl_getTagName
org.mozilla.dom.test.ElementImpl_hasAttribute_String_0
org.mozilla.dom.test.ElementImpl_hasAttribute_String_1
org.mozilla.dom.test.ElementImpl_hasAttributeNS_String_String_0
org.mozilla.dom.test.ElementImpl_hasAttributeNS_String_String_1
org.mozilla.dom.test.ElementImpl_hasAttributeNS_String_String_2
org.mozilla.dom.test.ElementImpl_hasAttributeNS_String_String_3
org.mozilla.dom.test.ElementImpl_normalize
org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_0
org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_1
org.mozilla.dom.test.ElementImpl_removeAttribute_String_0
org.mozilla.dom.test.ElementImpl_removeAttribute_String_1
org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_0
org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_1
org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_2
org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_3
org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_0
org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_1
org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_2
org.mozilla.dom.test.ElementImpl_setAttributeNodeNS_Attr_0
org.mozilla.dom.test.ElementImpl_setAttributeNodeNS_Attr_1
org.mozilla.dom.test.ElementImpl_setAttribute_String_String_0
org.mozilla.dom.test.ElementImpl_setAttribute_String_String_1
org.mozilla.dom.test.ElementImpl_setAttribute_String_String_2
org.mozilla.dom.test.ElementImpl_setAttribute_String_String_3
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_0
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_1
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_2
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_3
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_4
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_5
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_6
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_7
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_8
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_9
org.mozilla.dom.test.NamedNodeMapImpl_getLength
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_0
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_1
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_0
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_1
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_2
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_3
org.mozilla.dom.test.NamedNodeMapImpl_item_int_0
org.mozilla.dom.test.NamedNodeMapImpl_item_int_1
org.mozilla.dom.test.NamedNodeMapImpl_item_int_2
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_0
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_1
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_0
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_1
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_2
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_3
org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_0
org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_1
org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_2
org.mozilla.dom.test.NamedNodeMapImpl_setNamedItemNS_Node_0
org.mozilla.dom.test.NamedNodeMapImpl_setNamedItemNS_Node_1
org.mozilla.dom.test.NodeImpl_appendChild_Node_0
org.mozilla.dom.test.NodeImpl_appendChild_Node_1
org.mozilla.dom.test.NodeImpl_cloneNode_boolean_0
org.mozilla.dom.test.NodeImpl_cloneNode_boolean_1
org.mozilla.dom.test.NodeImpl_equals_Object_0
org.mozilla.dom.test.NodeImpl_equals_Object_1
org.mozilla.dom.test.NodeImpl_equals_Object_2
org.mozilla.dom.test.NodeImpl_getAttributes
org.mozilla.dom.test.NodeImpl_getChildNodes
org.mozilla.dom.test.NodeImpl_getFirstChild
org.mozilla.dom.test.NodeImpl_getLastChild
org.mozilla.dom.test.NodeImpl_getNextSibling
org.mozilla.dom.test.NodeImpl_getNodeName
org.mozilla.dom.test.NodeImpl_getNodeType
org.mozilla.dom.test.NodeImpl_getNodeValue
org.mozilla.dom.test.NodeImpl_getOwnerDocument
org.mozilla.dom.test.NodeImpl_getParentNode
org.mozilla.dom.test.NodeImpl_getPreviousSibling
org.mozilla.dom.test.NodeImpl_getNamespaceURI
org.mozilla.dom.test.NodeImpl_getPrefix
org.mozilla.dom.test.NodeImpl_getLocalName
org.mozilla.dom.test.NodeImpl_hasChildNodes
org.mozilla.dom.test.NodeImpl_hashCode
org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_0
org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_1
org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_2
org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_3
org.mozilla.dom.test.NodeImpl_removeChild_Node_0
org.mozilla.dom.test.NodeImpl_removeChild_Node_1
org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_0
org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_1
org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_2
org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_3
org.mozilla.dom.test.NodeImpl_setNodeValue_String_0
org.mozilla.dom.test.NodeImpl_setNodeValue_String_1
org.mozilla.dom.test.NodeImpl_toString
org.mozilla.dom.test.NodeImpl_normalize
org.mozilla.dom.test.NodeImpl_setPrefix_String_0
org.mozilla.dom.test.NodeImpl_setPrefix_String_1
org.mozilla.dom.test.NodeImpl_supports_String_String_0
org.mozilla.dom.test.NodeImpl_supports_String_String_1
org.mozilla.dom.test.NodeImpl_supports_String_String_2
org.mozilla.dom.test.NodeImpl_supports_String_String_3
org.mozilla.dom.test.NodeListImpl_getLength
org.mozilla.dom.test.NodeListImpl_item_int_0
org.mozilla.dom.test.NodeListImpl_item_int_1
org.mozilla.dom.test.NodeListImpl_item_int_2
org.mozilla.dom.test.ProcessingInstructionImpl_getData
org.mozilla.dom.test.ProcessingInstructionImpl_getTarget
org.mozilla.dom.test.ProcessingInstructionImpl_setData_String_0
org.mozilla.dom.test.ProcessingInstructionImpl_setData_String_1
org.mozilla.dom.test.TextImpl_splitText_int_0
org.mozilla.dom.test.TextImpl_splitText_int_1
org.mozilla.dom.test.TextImpl_splitText_int_2

View File

@@ -1,219 +0,0 @@
org.mozilla.dom.test.AttrImpl_getName
org.mozilla.dom.test.AttrImpl_getSpecified
org.mozilla.dom.test.AttrImpl_getValue
org.mozilla.dom.test.AttrImpl_getOwnerElement
org.mozilla.dom.test.AttrImpl_setValue_String_0
org.mozilla.dom.test.AttrImpl_setValue_String_1
org.mozilla.dom.test.CharacterDataImpl_appendData_String_0
org.mozilla.dom.test.CharacterDataImpl_appendData_String_1
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_0
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_1
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_2
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_3
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_4
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_5
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_6
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_7
org.mozilla.dom.test.CharacterDataImpl_deleteData_int_int_8
org.mozilla.dom.test.CharacterDataImpl_getData
org.mozilla.dom.test.CharacterDataImpl_getLength
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_0
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_1
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_2
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_3
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_4
org.mozilla.dom.test.CharacterDataImpl_insertData_int_String_5
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_0
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_1
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_10
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_11
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_12
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_13
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_14
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_15
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_16
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_17
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_2
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_3
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_4
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_5
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_6
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_7
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_8
org.mozilla.dom.test.CharacterDataImpl_replaceData_int_int_String_9
org.mozilla.dom.test.CharacterDataImpl_setData_String_0
org.mozilla.dom.test.CharacterDataImpl_setData_String_1
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_0
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_1
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_2
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_3
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_4
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_5
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_6
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_7
org.mozilla.dom.test.CharacterDataImpl_substringData_int_int_8
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_0
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_1
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_2
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_3
org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_0
org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_String_0
org.mozilla.dom.test.DOMImplementationImpl_createDocument_String_String_DocumentType_0
org.mozilla.dom.test.DocumentImpl_createAttribute_String_0
org.mozilla.dom.test.DocumentImpl_createAttribute_String_1
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_0
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_1
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_2
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_3
org.mozilla.dom.test.DocumentImpl_createComment_String_0
org.mozilla.dom.test.DocumentImpl_createComment_String_1
org.mozilla.dom.test.DocumentImpl_createDocumentFragment
org.mozilla.dom.test.DocumentImpl_createElement_String_0
org.mozilla.dom.test.DocumentImpl_createElement_String_1
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_0
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_1
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_2
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_3
org.mozilla.dom.test.DocumentImpl_createEvent_String_0
org.mozilla.dom.test.DocumentImpl_createEvent_String_1
org.mozilla.dom.test.DocumentImpl_createTextNode_String_0
org.mozilla.dom.test.DocumentImpl_createTextNode_String_1
org.mozilla.dom.test.DocumentImpl_getDoctype
org.mozilla.dom.test.DocumentImpl_getDocumentElement
org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_0
org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_1
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_0
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_1
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_2
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_3
org.mozilla.dom.test.DocumentImpl_getElementById_String_0
org.mozilla.dom.test.DocumentImpl_getElementById_String_1
org.mozilla.dom.test.DocumentImpl_getImplementation
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_0
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_1
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_2
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_3
org.mozilla.dom.test.ElementImpl_getAttributeNode_String_0
org.mozilla.dom.test.ElementImpl_getAttributeNode_String_1
org.mozilla.dom.test.ElementImpl_getAttribute_String_0
org.mozilla.dom.test.ElementImpl_getAttribute_String_1
org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_0
org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_1
org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_2
org.mozilla.dom.test.ElementImpl_getAttributeNS_String_String_3
org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_0
org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_1
org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_2
org.mozilla.dom.test.ElementImpl_getAttributeNodeNS_String_String_3
org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_0
org.mozilla.dom.test.ElementImpl_getElementsByTagName_String_1
org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_0
org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_1
org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_2
org.mozilla.dom.test.ElementImpl_getElementsByTagNameNS_String_String_3
org.mozilla.dom.test.ElementImpl_getTagName
org.mozilla.dom.test.ElementImpl_hasAttribute_String_0
org.mozilla.dom.test.ElementImpl_hasAttribute_String_1
org.mozilla.dom.test.ElementImpl_hasAttributeNS_String_String_0
org.mozilla.dom.test.ElementImpl_hasAttributeNS_String_String_1
org.mozilla.dom.test.ElementImpl_hasAttributeNS_String_String_2
org.mozilla.dom.test.ElementImpl_hasAttributeNS_String_String_3
org.mozilla.dom.test.ElementImpl_normalize
org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_0
org.mozilla.dom.test.ElementImpl_removeAttributeNode_Attr_1
org.mozilla.dom.test.ElementImpl_removeAttribute_String_0
org.mozilla.dom.test.ElementImpl_removeAttribute_String_1
org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_0
org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_1
org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_2
org.mozilla.dom.test.ElementImpl_removeAttributeNS_String_String_3
org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_0
org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_1
org.mozilla.dom.test.ElementImpl_setAttributeNode_Attr_2
org.mozilla.dom.test.ElementImpl_setAttributeNodeNS_Attr_0
org.mozilla.dom.test.ElementImpl_setAttributeNodeNS_Attr_1
org.mozilla.dom.test.ElementImpl_setAttribute_String_String_0
org.mozilla.dom.test.ElementImpl_setAttribute_String_String_1
org.mozilla.dom.test.ElementImpl_setAttribute_String_String_2
org.mozilla.dom.test.ElementImpl_setAttribute_String_String_3
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_0
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_1
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_2
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_3
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_4
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_5
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_6
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_7
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_8
org.mozilla.dom.test.ElementImpl_setAttributeNS_String_String_String_9
org.mozilla.dom.test.NamedNodeMapImpl_getLength
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_0
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItem_String_1
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_0
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_1
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_2
org.mozilla.dom.test.NamedNodeMapImpl_getNamedItemNS_String_String_3
org.mozilla.dom.test.NamedNodeMapImpl_item_int_0
org.mozilla.dom.test.NamedNodeMapImpl_item_int_1
org.mozilla.dom.test.NamedNodeMapImpl_item_int_2
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_0
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItem_String_1
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_0
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_1
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_2
org.mozilla.dom.test.NamedNodeMapImpl_removeNamedItemNS_String_String_3
org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_0
org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_1
org.mozilla.dom.test.NamedNodeMapImpl_setNamedItem_Node_2
org.mozilla.dom.test.NamedNodeMapImpl_setNamedItemNS_Node_0
org.mozilla.dom.test.NamedNodeMapImpl_setNamedItemNS_Node_1
org.mozilla.dom.test.NodeImpl_appendChild_Node_0
org.mozilla.dom.test.NodeImpl_appendChild_Node_1
org.mozilla.dom.test.NodeImpl_cloneNode_boolean_0
org.mozilla.dom.test.NodeImpl_cloneNode_boolean_1
org.mozilla.dom.test.NodeImpl_equals_Object_0
org.mozilla.dom.test.NodeImpl_equals_Object_1
org.mozilla.dom.test.NodeImpl_equals_Object_2
org.mozilla.dom.test.NodeImpl_getAttributes
org.mozilla.dom.test.NodeImpl_getChildNodes
org.mozilla.dom.test.NodeImpl_getFirstChild
org.mozilla.dom.test.NodeImpl_getLastChild
org.mozilla.dom.test.NodeImpl_getNextSibling
org.mozilla.dom.test.NodeImpl_getNodeName
org.mozilla.dom.test.NodeImpl_getNodeType
org.mozilla.dom.test.NodeImpl_getNodeValue
org.mozilla.dom.test.NodeImpl_getOwnerDocument
org.mozilla.dom.test.NodeImpl_getParentNode
org.mozilla.dom.test.NodeImpl_getPreviousSibling
org.mozilla.dom.test.NodeImpl_getNamespaceURI
org.mozilla.dom.test.NodeImpl_getPrefix
org.mozilla.dom.test.NodeImpl_getLocalName
org.mozilla.dom.test.NodeImpl_hasChildNodes
org.mozilla.dom.test.NodeImpl_hashCode
org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_0
org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_1
org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_2
org.mozilla.dom.test.NodeImpl_insertBefore_Node_Node_3
org.mozilla.dom.test.NodeImpl_removeChild_Node_0
org.mozilla.dom.test.NodeImpl_removeChild_Node_1
org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_0
org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_1
org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_2
org.mozilla.dom.test.NodeImpl_replaceChild_Node_Node_3
org.mozilla.dom.test.NodeImpl_setNodeValue_String_0
org.mozilla.dom.test.NodeImpl_setNodeValue_String_1
org.mozilla.dom.test.NodeImpl_toString
org.mozilla.dom.test.NodeListImpl_getLength
org.mozilla.dom.test.NodeListImpl_item_int_0
org.mozilla.dom.test.NodeListImpl_item_int_1
org.mozilla.dom.test.NodeListImpl_item_int_2
org.mozilla.dom.test.NodeImpl_normalize
org.mozilla.dom.test.NodeImpl_setPrefix_String_0
org.mozilla.dom.test.NodeImpl_setPrefix_String_1
org.mozilla.dom.test.NodeImpl_supports_String_String_0
org.mozilla.dom.test.NodeImpl_supports_String_String_1
org.mozilla.dom.test.NodeImpl_supports_String_String_2
org.mozilla.dom.test.NodeImpl_supports_String_String_3
org.mozilla.dom.test.TextImpl_splitText_int_0
org.mozilla.dom.test.TextImpl_splitText_int_1
org.mozilla.dom.test.TextImpl_splitText_int_2

View File

@@ -1,57 +0,0 @@
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_0
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_1
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_2
org.mozilla.dom.test.DOMImplementationImpl_hasFeature_String_String_4
org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_0
org.mozilla.dom.test.DOMImplementationImpl_createDocumentType_String_String_String_String_0
org.mozilla.dom.test.DOMImplementationImpl_createDocument_String_String_DocumentType_0
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_0
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_1
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_2
org.mozilla.dom.test.DocumentImpl_createAttributeNS_String_String_3
org.mozilla.dom.test.DocumentImpl_createCDATASection_String_0
org.mozilla.dom.test.DocumentImpl_createCDATASection_String_1
org.mozilla.dom.test.DocumentImpl_createComment_String_0
org.mozilla.dom.test.DocumentImpl_createComment_String_1
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_0
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_1
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_2
org.mozilla.dom.test.DocumentImpl_createElement_createElementNS_String_String_3
org.mozilla.dom.test.DocumentImpl_createEvent_String_0
org.mozilla.dom.test.DocumentImpl_createEvent_String_1
org.mozilla.dom.test.DocumentImpl_createEntityReference_String_0
org.mozilla.dom.test.DocumentImpl_createEntityReference_String_1
org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_0
org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_1
org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_2
org.mozilla.dom.test.DocumentImpl_createProcessingInstruction_String_String_3
org.mozilla.dom.test.DocumentImpl_createTextNode_String_0
org.mozilla.dom.test.DocumentImpl_createTextNode_String_1
org.mozilla.dom.test.DocumentImpl_getDoctype_xml
org.mozilla.dom.test.DocumentImpl_getDocumentElement
org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_0
org.mozilla.dom.test.DocumentImpl_getElementsByTagName_String_1
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_0
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_1
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_2
org.mozilla.dom.test.DocumentImpl_getElementsByTagNameNS_String_String_3
org.mozilla.dom.test.DocumentImpl_getElementById_String_0
org.mozilla.dom.test.DocumentImpl_getElementById_String_1
org.mozilla.dom.test.DocumentImpl_getImplementation
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_0
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_1
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_2
org.mozilla.dom.test.DocumentImpl_importNode_Node_boolean_3
org.mozilla.dom.test.DocumentTypeImpl_getEntities
org.mozilla.dom.test.DocumentTypeImpl_getName
org.mozilla.dom.test.DocumentTypeImpl_getNotations
org.mozilla.dom.test.DocumentTypeImpl_getPublicId
org.mozilla.dom.test.DocumentTypeImpl_getSystemId
org.mozilla.dom.test.DocumentTypeImpl_getInternalSubset
org.mozilla.dom.test.ProcessingInstructionImpl_getData
org.mozilla.dom.test.ProcessingInstructionImpl_getTarget
org.mozilla.dom.test.ProcessingInstructionImpl_setData_String_0
org.mozilla.dom.test.ProcessingInstructionImpl_setData_String_1
org.mozilla.dom.test.TextImpl_splitText_int_0
org.mozilla.dom.test.TextImpl_splitText_int_1
org.mozilla.dom.test.TextImpl_splitText_int_2

View File

@@ -1,119 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.test;
public class BWTestThread extends Thread
{
/**
* Constructor
*
* @param str Thread Name
*
* @return
*
*/
public BWTestThread (String astr)
{
super(astr);
threadName = astr;
if (threadName == null)
threadName = "defaultThread";
}
/**
* Set the Test Case ClassObject which has to be launched by this thread.
* and the Base Document Object.
* all these objects extend from BWBaseTest class.
*
* @param aobj Test Class Object reference
* (subclassed from BWBaseTest).
* @param atargetObj Base Document Object Reference
*
*
* @return
*
*/
public void setTestObject(Object aobj, Object atargetObj)
{
classObj = aobj;
targetObj = atargetObj;
}
/**
* Get the Test Case Object Reference.
*
* @return Test Object Reference
*
*/
public Object getTestObject()
{
return classObj;
}
/**
* Get the Thread Name
*
* @return thread name string
*
*/
public String getThreadName()
{
return threadName;
}
/**
* Thread Run Method
*
* @return
*
*/
public void run()
{
if (classObj == null) return;
if (targetObj == null) return;
try {
Thread.sleep (10);
} catch (Exception e) {
}
execute();
}
public synchronized void execute()
{
if (((BWBaseTest)classObj).execute(targetObj)) {
TestLoader.txtPrint(threadName, "PASSED");
} else {
TestLoader.txtPrint(threadName, "FAILED");
}
}
private Object classObj=null;
private Object targetObj=null;
private String threadName=null;
}

View File

@@ -1,200 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import java.util.Vector;
import java.util.Enumeration;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.mozilla.dom.test.*;
import java.security.AccessController;
public final class DOMAccessor {
private static Vector documentLoadListeners = new Vector();
private static JavaDOMPermission permission = new JavaDOMPermission("JavaDOM");
static {
System.loadLibrary("javadomjni");
addDocumentLoadListener(new TestListener());
}
private void DOMAccessorImpl() {}
private static native void register();
private static native void unregister();
private static native Node getNodeByHandle(long p);
private static native void doGC();
public static synchronized void
addDocumentLoadListener(DocumentLoadListener listener) {
if (documentLoadListeners.size() == 0) {
register();
}
documentLoadListeners.addElement(listener);
}
public static synchronized void
removeDocumentLoadListener(DocumentLoadListener listener) {
documentLoadListeners.removeElement(listener);
if (documentLoadListeners.size() == 0) {
unregister();
}
}
public static synchronized void
startURLLoad(String url, String contentType, long p_doc) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.startURLLoad(url, contentType, (Document)getNodeByHandle(p_doc));
}
doGC();
}
public static synchronized void
endURLLoad(String url, int status, long p_doc) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.endURLLoad(url, status, (Document)getNodeByHandle(p_doc));
}
doGC();
}
public static synchronized void
progressURLLoad(String url, int progress, int progressMax,
long p_doc) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.progressURLLoad(url, progress, progressMax, (Document)getNodeByHandle(p_doc));
}
doGC();
}
public static synchronized void
statusURLLoad(String url, String message, long p_doc) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.statusURLLoad(url, message, (Document)getNodeByHandle(p_doc));
}
doGC();
}
public static synchronized void
startDocumentLoad(String url) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.startDocumentLoad(url);
}
doGC();
}
public static synchronized void
endDocumentLoad(String url, int status, long p_doc) {
AccessController.checkPermission(permission);
for (Enumeration e = documentLoadListeners.elements();
e.hasMoreElements();) {
DocumentLoadListener listener =
(DocumentLoadListener) e.nextElement();
listener.endDocumentLoad(url, status, (Document)getNodeByHandle(p_doc));
}
doGC();
}
}
class TestListener implements DocumentLoadListener {
public void endDocumentLoad(String url, int status, Document doc) {
if (url.endsWith(".xul")
|| url.endsWith(".js")
|| url.endsWith(".css")
//|| url.startsWith("file:")
)
return;
if ((!(url.endsWith(".html"))) && (!(url.endsWith(".xml"))))
return;
if (url.endsWith(".html"))
{
if (url.indexOf("test.html") == -1) {
System.err.println("TestCases Tuned to run with test.html...");
return;
}
}
if (url.endsWith(".xml"))
{
if (url.indexOf("test.xml") == -1) {
System.err.println("TestCases Tuned to run with test.xml...");
return;
}
}
Object obj = (Object) doc;
System.out.println("Loading new TestLoader...\n");
TestLoader tl = new TestLoader(obj, 0);
if (tl != null) {
Object retobj = tl.loadTest();
}
//doc = null;
}
public void startURLLoad(String url, String contentType, Document doc) {}
public void progressURLLoad(String url, int progress, int progressMax,
Document doc) {}
public void statusURLLoad(String url, String message, Document doc) {}
public void startDocumentLoad(String url) {}
public void endURLLoad(String url, int status, Document doc) {}
} //end of class

View File

@@ -1,201 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public License
Version 1.0 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
the License for the specific language governing rights and limitations
under the License.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are Copyright (C) 1999 Sun Microsystems,
Inc. All Rights Reserved.
*/
package org.mozilla.dom;
import java.io.FileOutputStream;
import java.io.BufferedOutputStream;
import java.io.PrintStream;
import java.io.IOException;
import org.w3c.dom.Document;
import org.w3c.dom.DocumentType;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.w3c.dom.*;
import org.mozilla.dom.test.*;
public class DOMFactory implements DocumentLoadListener {
private static final boolean debug = false;
public DocumentLoadListener getDocumentLoadListener() {
return this;
}
public void startURLLoad(String url, String contentType, Document doc) {
if (debug)
System.err.println("DOM: start URL load - " +
url.toString() + " " +
contentType);
}
public void endURLLoad(String url, int status, Document doc) {
if (debug)
System.err.println("DOM: end URL load - " +
url.toString() + " " +
Integer.toHexString(status));
if (url.endsWith(".xul") ||
url.endsWith(".js") ||
url.endsWith(".css") ||
url.startsWith("file:")) return;
if ((!(url.endsWith(".html"))) && (!(url.endsWith(".xml"))))
return;
if (url.endsWith(".html"))
{
if (url.indexOf("test.html") == -1) {
System.out.println("TestCases Tuned to run with test.html...");
return;
}
}
if (url.endsWith(".xml"))
{
if (url.indexOf("test.xml") == -1) {
System.out.println("TestCases Tuned to run with test.xml...");
return;
}
}
Object obj = (Object) doc;
TestLoader tl = new TestLoader(obj, 0);
if (tl != null) {
Object retobj = tl.loadTest();
}
doc = null;
}
public void progressURLLoad(String url, int progress, int progressMax, Document doc) {
if (debug)
System.err.println("DOM: progress URL load - " +
url.toString() + " " +
Integer.toString(progress) + "/" +
Integer.toString(progressMax));
}
public void statusURLLoad(String url, String message, Document doc) {
if (debug)
System.err.println("DOM: status URL load - " +
url.toString() + " (" +
message + ")");
}
public void startDocumentLoad(String url) {
if (debug)
System.err.println("DOM: start load - " +
url.toString());
}
public void endDocumentLoad(String url, int status, Document doc) {
if (debug) {
System.err.println("DOM: end load - " +
url.toString() + " " +
Integer.toHexString(status));
}
}
private void dump(PrintStream ps, Node node, int indent, boolean mapNode) {
ps.println();
for (int i=0; i<indent; i++)
ps.print(' ');
ps.print("name=\"" + node.getNodeName() + "\"" +
" type=" + dumpType(node.getNodeType()) +
" value=\"" + normalize(node.getNodeValue()) + "\"");
if (mapNode)
return;
NamedNodeMap map = node.getAttributes();
dumpMap(ps, map, indent);
NodeList children = node.getChildNodes();
if (children == null)
return;
int length = children.getLength();
for (int i=0; i < length; i++) {
dump(ps, children.item(i), indent+2, false);
}
}
private void dumpMap(PrintStream ps, NamedNodeMap map, int indent) {
if (map == null) return;
ps.println();
int length = map.getLength();
if (length > 0) {
for (int i=0; i<indent; i++)
ps.print(' ');
ps.print("------- start attributes -------");
}
for (int i=0; i < length; i++) {
Node item = map.item(i);
dump(ps, item, indent, true);
}
if (length > 0) {
ps.println();
for (int i=0; i<indent; i++)
ps.print(' ');
ps.print("------- end attributes -------");
}
}
private static String dumpType(int type) {
switch (type) {
case Node.ELEMENT_NODE: return "ELEMENT";
case Node.ATTRIBUTE_NODE: return "ATTRIBUTE";
case Node.TEXT_NODE: return "TEXT";
case Node.CDATA_SECTION_NODE: return "CDATA_SECTION";
case Node.ENTITY_REFERENCE_NODE: return "ENTITY_REFERENCE";
case Node.ENTITY_NODE: return "ENTITY";
case Node.PROCESSING_INSTRUCTION_NODE: return "PROCESSING_INSTRUCTION";
case Node.COMMENT_NODE: return "COMMENT";
case Node.DOCUMENT_NODE: return "DOCUMENT";
case Node.DOCUMENT_TYPE_NODE: return "DOCUMENT_TYPE";
case Node.DOCUMENT_FRAGMENT_NODE: return "DOCUMENT_FRAGMENT";
case Node.NOTATION_NODE: return "NOTATION";
}
return "ERROR";
}
private static String normalize(String s) {
int len = s.length();
StringBuffer sb = new StringBuffer(len);
char c = ' ';
char pc = ' ';
for (int i=0; i < len; i++) {
c = s.charAt(i);
if ((pc == ' ' || pc == '\n' || pc == '\t') &&
(c == ' ' || c == '\n' || c == '\t'))
continue;
sb.append(c);
pc = c;
}
return sb.toString();
}
}

View File

@@ -1,93 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom;
import org.w3c.dom.Attr;
import org.w3c.dom.CDATASection;
import org.w3c.dom.Comment;
import org.w3c.dom.Document;
import org.w3c.dom.DocumentFragment;
import org.w3c.dom.Element;
import org.w3c.dom.EntityReference;
import org.w3c.dom.ProcessingInstruction;
import org.w3c.dom.Text;
import org.w3c.dom.DocumentType;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.w3c.dom.DOMImplementation;
import org.w3c.dom.events.DocumentEvent;
import org.w3c.dom.events.Event;
import org.w3c.dom.DOMException;
public class DocumentImpl extends NodeImpl implements Document, DocumentEvent {
// instantiated from JNI only
private DocumentImpl() {}
public DocumentImpl(long p) {
super(p);
}
public native Attr createAttribute(String name);
public native CDATASection createCDATASection(String data);
public native Comment createComment(String data);
public native DocumentFragment createDocumentFragment();
public native Element createElement(String tagName);
public native EntityReference createEntityReference(String name);
public native ProcessingInstruction
createProcessingInstruction(String target,
String data);
public native Text createTextNode(String data);
public native DocumentType getDoctype();
public native Element getDocumentElement();
public native NodeList getElementsByTagName(String tagName);
public native DOMImplementation getImplementation();
public Event createEvent(String type) throws DOMException {
throw new UnsupportedOperationException();
}
public Node importNode(Node importedNode, boolean deep) throws DOMException {
throw new UnsupportedOperationException();
}
public Element createElementNS(String namespaceURI, String qualifiedName)
throws DOMException {
throw new UnsupportedOperationException();
}
public Attr createAttributeNS(String namespaceURI, String qualifiedName)
throws DOMException {
throw new UnsupportedOperationException();
}
public NodeList getElementsByTagNameNS(String namespaceURI, String localName) {
throw new UnsupportedOperationException();
}
public Element getElementById(String elementId) {
throw new UnsupportedOperationException();
};
}

View File

@@ -1,37 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.test;
public interface Execution
{
/**
*
* @param targetObj Object instance (Node/Document/....)
*
* @return Return true or false
*
*/
public boolean execute(Object targetObj);
}

View File

@@ -1,59 +0,0 @@
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
HOMEDIR=../
SRCDIR=$(HOMEDIR)/src
CLASSDIR=$(HOMEDIR)/classes
JAVAC=javac
TESTPACKAGE=org/mozilla/dom/test
DOMPACKAGE=org/mozilla/dom
all:
@echo "******************************************************"
@echo "Make changes to $(SRCDIR)/mozilla.csh"
@echo "and source it else it may not compile..."
@echo "******************************************************"
@echo ""
$(JAVAC) -d $(CLASSDIR) $(JAVAFILES)
$(JAVAC) -d $(CLASSDIR) $(DOMFILE)
cd api; make
cd $(CLASSDIR); jar cvf testdom.jar org
JAVAFILES= Execution.java \
BWBaseTest.java \
TestLoader.java \
ParamCombination.java \
ReflectionTest.java \
BWTestThread.java \
BWJavaTemplate.java
DOMFILE= DocumentImpl.java \
DOMAccessor.java
clean:
for i in ${JAVAFILES} ; do \
file=$$i; \
classfile=`echo $$file | sed 's/java/class/g'` ; \
/bin/rm $(CLASSDIR)/$(TESTPACKAGE)/$$classfile ; done
/bin/rm $(CLASSDIR)/$(DOMPACKAGE)/DOMFactory.class ;
cd api; make clean

View File

@@ -1,60 +0,0 @@
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
HOMEDIR=../
SRCDIR=$(HOMEDIR)/src
CLASSDIR=$(HOMEDIR)/classes
JAVAC=javac
TESTPACKAGE=org/mozilla/dom/test
DOMPACKAGE=org/mozilla/dom
all:
@echo "******************************************************"
@echo "Make changes to $(SRCDIR)/mozilla.csh"
@echo "and source it else it may not compile..."
@echo "******************************************************"
@echo ""
$(JAVAC) -d $(CLASSDIR) $(JAVAFILES)
$(JAVAC) -d $(CLASSDIR) $(DOMFILE)
cd api; make
cd $(CLASSDIR); jar cvf testdom.jar org
JAVAFILES= Execution.java \
BWBaseTest.java \
TestLoader.java \
ParamCombination.java \
ReflectionTest.java \
BWTestThread.java \
BWJavaTemplate.java
DOMFILE= DocumentImpl.java \
DOMAccessor.java
clean:
for i in ${JAVAFILES} ; do \
file=$$i; \
classfile=`echo $$file | sed 's/java/class/g'` ; \
/bin/rm $(CLASSDIR)/$(TESTPACKAGE)/$$classfile ; done
/bin/rm $(CLASSDIR)/$(DOMPACKAGE)/DOMFactory.class ;
cd api; make clean

View File

@@ -1,78 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Sun are
# Copyright (C) 1999 Sun Microsystems, Inc. All
# Rights Reserved.
#
# Contributor(s):
HOMEDIR=..
SRCDIR=$(HOMEDIR)\src
CLASSDIR=$(HOMEDIR)\classes
JAVAC=javac
TESTPACKAGE=org\mozilla\dom\test
DOMPACKAGE=org\mozilla\dom
GENERATOR_FILES=BWJavaTemplate.java \
ReflectionTest.java \
ParamCombination.java
JAVAFILES= Execution.java \
BWBaseTest.java \
TestLoader.java \
ParamCombination.java \
ReflectionTest.java \
BWTestThread.java \
BWJavaTemplate.java
DOMFILE=DOMAccessor.java \
DocumentImpl.java
all: testloader accessor
@echo done
@cd api
@nmake -f Makefile.win
testloader:
@echo "******************************************************"
@echo "Make changes to $(SRCDIR)\mozilla.bat"
@echo "and execute it else it may not compile..."
@echo "******************************************************"
@echo ""
@echo Building test accessory classes ...
@$(JAVAC) -d $(CLASSDIR) $(JAVAFILES)
accessor:
!if !defined(USE_APPLET_FOR_REGISTRATION)
@echo Building DOMAccessor ...
@$(JAVAC) -d $(CLASSDIR) $(DOMFILE)
!endif
generator:
javac $(GENERATOR_FILES) -d $(CLASSDIR)
clean:
del /f/q $(CLASSDIR)\$(TESTPACKAGE)\*.class
del /f/q $(CLASSDIR)\$(DOMPACKAGE)\*.class

View File

@@ -1,134 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.test;
import java.lang.*;
import java.util.*;
class ParamCombination
{
Object arrayOfVector[] = null;
int totalCombinations = 0;
int currIndex = 0;
/**
*
* Constructor
*
* @param paramLength No. of parameters which shall serve as index
* to array ofVectors
* @return void
*
*/
public ParamCombination(int paramLength)
{
arrayOfVector = new Object[paramLength];
if (arrayOfVector == null) return;
}
/**
*
* This routine adds a new Vector into arrayOfVector
*
* @param v Vector class containing values in string format
* viz: 0/null/DUMMY_STRING
* @return void
*
*/
public void addElement(Vector v)
{
if (v != null)
{
arrayOfVector[currIndex++] = v;
if (totalCombinations == 0) totalCombinations = v.size();
else totalCombinations = totalCombinations * v.size();
}
}
/**
*
* This routine adds a new Vector into arrayOfVector
*
* @return array of Strings containing all combinations of values in
* each Vector in vector array
*
*/
public String[] getValueList()
{
if (totalCombinations == 0) return null;
String str[] = new String[totalCombinations];
int len = arrayOfVector.length;
if (len == 1)
{
Vector v = (Vector)arrayOfVector[0];
for (int j=0; j< v.size(); j++)
str[j] = (String)v.elementAt(j);
return str;
}
Vector tmpVect = (Vector)arrayOfVector[len -1];
for (int i=arrayOfVector.length-2; i>= 0; i--)
{
tmpVect = getCombination((Vector)arrayOfVector[i], tmpVect);
}
for (int i=0; i< tmpVect.size(); i++)
{
str[i] = (String)tmpVect.elementAt(i);
}
return str;
}
/**
*
* Get all combinations of values in Vectors v1 and v2
*
* @param v1 Vector class containing values in string format
* viz: 0/null/DUMMY_STRING
* @param v2 Vector class containing values in string format
* viz: 0/null/DUMMY_STRING
* @return vector containing combinations of above values.
* viz: null, null
* null, DUMMY_STRING
* 0, null...
*
*/
private Vector getCombination( Vector v1, Vector v2)
{
Vector store = new Vector();
for (int i=0; i< v1.size(); i++)
{
String vstr1 = (String)v1.elementAt(i);
for (int j=0; j< v2.size(); j++)
{
String vstr2 = (String)v2.elementAt(j);
String newstr = vstr1 + ", " + vstr2;
store.addElement(newstr);
}
}
return store;
}
}

View File

@@ -1,149 +0,0 @@
This document describes steps required to run the Test Suite for JavaDOM API.
For Solaris
===========
1) open mozilla.csh
2) make changes to variables
MOZILLA_FIVE_HOME - Absolute path where mozilla-bin
executable is located.
JAVA_HOME - Absolute Path to JDK dir.
TEST_PATH - Absolute Directory Path where file
BWTestClass.lst is located.
USE_APPLET_FOR_REGISTRATION - set this variable if you wish to use
applet for running tests Otherwise
hacked DOMAccessor class is used.
3) source mozilla.csh
this will set up the environment
4) Edit BWProperties file and change the locations for variables
BW_TESTDIR (Absolute Directory Path where file BWTestClass.lst is
located)
BW_LOGDIR (Absolute Directory Path where log files need to be
created)
BW_THREADMODE (Execute tests in single thread [S] or
multi-thread [M] mode. Takes values S/M.)
BW_HTMLTEST (URL where redirect.html file are located. Used if you
run tests through TestLoader applet)
BW_XMLTEST (URL where test.xml file are located. Used if you run
tests through TestLoader applet)
5) Copy redirect.html, redirectxml.html, test.html and test.xml files to your Web-Servers DOCUMENT_ROOT
(By default it is assumed that they can be accessed as
http://<server name>/redirect.html).
or
http://<server name>/~<username>/redirect.html).
6) Invoke autorun.sh from command prompt.
sh autorun.sh
7) The results are recorded in HTML file BWTest.html
and in log file BWTest.log
Individual test Log files are also found in 'log' directory.
---------------------------------------------------------------------------
To Invoke a specific test case
sh autorun.sh -t org.mozilla.dom.test.AttrImpl_getName
NOTE: All Test Cases are reocorded in file BWTestClass.lst.ORIG
Assumption:
I assume that u have copied the files test.xml
and redirect.html, redirectxml.html, test.html to your DOCUMENT_ROOT of
your WebServer.
The URL it tries to load is http://<servername>/redirect.html.
If it is set in users public_html then open file autorun.sh
and change DOCROOT accordingly.
=============================================================================
For WIN32
===========
Assumes you have installed PERL and the following variables are set in your environment:
MOZILLA_HOME - top directory in mozilla's tree
JAVA_HOME - path to JDK
1) open mozilla.bat
2) make changes to variables
USE_APPLET_FOR_REGISTRATION - set this variable if you wish to use
applet for running tests
(now available under Win32 only).
Otherwise hacked DOMAccessor class
is used.
MOZILLA_BIN - Mozilla's executable file name
(e.g. mozilla.exe or viewer.exe)
TEST_PATH - path to the current directory
(where mozilla.bat is)
TEST_URL - URL where redirect.html and test.html
are located (complete URL looks like:
$TEST_URL/redirect.html).Used if you
run tests through hacked DOMAccessor only
3) execute mozilla.bat from command prompt
this will create new console and set up the environment for this
command prompt
4) Edit BWProperties file and change the locations for variables
BW_TESTDIR (Absolute Directory Path where file BWTestClass.lst is
located)
BW_LOGDIR (Absolute Directory Path where log files need to be
created)
BW_THREADMODE (Execute tests in single thread [S] or
multi-thread [M] mode. Takes values S/M.)
BW_HTMLTEST (URL where redirect.html file is located. Used if you
run tests through TestLoader applet)
BW_XMLTEST (URL where test.xml file is located. Used if you
run tests through TestLoader applet)
NOTE: Since on Windows file separator is a `\`, it should be escaped
by another '\'. So if a file is in c:\mozilla\tests then it
would be written as c:\\mozilla\\tests.
5) Invoke autorun.pl from command prompt.
perl autorun.pl
For quick testing say
if you use applet for registration
mozilla.exe file:/TestLoaderHTML.html
(mozilla.exe file:/TestLoaderXML.html)
if you use hacked DOMAcceessor.
mozilla.exe file:/redirect.html
7) The results are recorded in HTML file BWTest.html
and in log file BWTest.log
Individual test Log files are also found in 'log' directory.
---------------------------------------------------------------------------
To Invoke a specific test case
perl autorun.pl -t org.mozilla.dom.test.AttrImpl_getName
NOTE: All Test Cases are recorded in file BWTestClass.lst.ORIG
---------------------------------------------------------------------------
BUGS:
Currently a bug is filed against getDocumentType method of object Document.
for XML (see Bugzilla ID: 15118).
Hence all the tests which depend on the same will fail, namely
DocumentTypeImpl->getEntities
DocumentTypeImpl->getInternalSubset
DocumentTypeImpl->getName
DocumentTypeImpl->getNotations
DocumentTypeImpl->getPublicId
DocumentTypeImpl->getSystemId
DocumentImpl->getDoctype_xml

View File

@@ -1,341 +0,0 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.51 [en] (X11; U; SunOS 5.7 sun4u) [Netscape]">
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#551A8B" alink="#FF0000">
<center>
<h3>
<b>README for DOM API Test Execution</b></h3>
<a href="#solaris">Solaris</a>
&nbsp;
&nbsp;
<a href="#winnt">WinNT</a>
&nbsp;
&nbsp;
<a href="#linux">Linux</a>
&nbsp;
&nbsp;
<a href="#mac">Macintosh</a>
</center>
<a name=solaris>
<center>
<hr NOSHADE WIDTH="100%"></center>
<i><u><font color="#990000"><font size=+3>Solaris</font></font></u></i>
<ul>
<li>
<b><font size=+1>open <font color="#FF6666">mozilla.csh</font></font></b></li>
<li>
<b><font size=+1>make changes to variables</font></b></li>
</ul>
<ul>&nbsp;
<center><table BORDER COLS=2 WIDTH="80%" BGCOLOR="#99FFCC" NOSAVE >
<tr NOSAVE>
<td WIDTH="30%" NOSAVE><b><font color="#FF6666"><font size=+1>TEST_PATH</font></font></b></td>
<td><b>Absolute Directory Path where file BWTestClass.lst is located.</b></td>
</tr>
<tr NOSAVE>
<td NOSAVE><b><font color="#FF6666"><font size=+1>MOZILLA_FIVE_HOME</font></font></b></td>
<td><b>Absolute Path where mozilla-bin is located.</b></td>
</tr>
<tr>
<td><b><font color="#FF6666"><font size=+1>JAVA_HOME</font></font></b></td>
<td><b>Absolute Path to JDK dir.</b></td>
</tr>
<tr>
<td><b><font color="#FF6666"><font size=+1>USE_APPLET_FOR_REGISTRATION</font></font></b></td>
<td><b>Set this variable if you wish to use applet for running tests (now
available under Win32 only). Otherwise hacked DOMAccessor class is
used.</b></td>
</tr>
</table></center>
<li>
<b><font size=+1>source mozilla.csh this will set up the environment</font></b></li>
<li>
<b><font size=+1>Edit BWProperties file and change the locations for variables</font></b></li>
</ul>
<center><table BORDER COLS=2 WIDTH="80%" BGCOLOR="#99FFCC" NOSAVE >
<tr NOSAVE>
<td WIDTH="30%" NOSAVE><b><font color="#FF6666"><font size=+1>BW_TESTDIR</font></font></b></td>
<td><b>Absolute Directory Path where file BWTestClass.lst is located.</b></td>
</tr>
<tr NOSAVE>
<td NOSAVE><b><font color="#FF6666"><font size=+1>BW_LOGDIR</font></font></b></td>
<td><b>Absolute Directory&nbsp; Path where log files need to be created.</b></td>
</tr>
<tr>
<td><b><font color="#FF6666"><font size=+1>BW_THREADMODE</font></font></b></td>
<td><b>Indicates whether to execute tests in single-thread mode[S]&nbsp;&nbsp;&nbsp;&nbsp;
or multi-thread mode[M].&nbsp; Takes values S/M .</b></td>
</tr>
<tr>
<td><b><font color="#FF6666"><font size=+1>BW_HTMLTEST</font></font></b></td>
<td><b>URL where redirect.html, test.html files are located. Used if you run tests through
TestLoader applet.</b></td>
</tr>
<tr>
<td><b><font color="#FF6666"><font size=+1>BW_XMTEST</font></font></b></td>
<td><b>URL where redirectxml.html, test.xml files are located. Used if you</b>
<br><b>run tests through TestLoader applet</b></td>
</tr>
</table></center>
<ul>&nbsp;</ul>
<ul>
<li>
<b><font size=+1>Copy <font color="#FF6666">redirect.html, test.html</font> and <font color="#FF6666">redirectxml.html, test.xml</font>
files to your web-servers DOCUMENT_ROOT ( By default it is assumed that
they can be&nbsp; accessed as <font color="#3366FF">http://[server name]/text.html</font>&nbsp;
or <font color="#3366FF">http://[servername]/~[username]/text.html</font>).</font></b></li>
</ul>
<ul>
<li>
<b><font size=+1>Invoke autorun.sh from command prompt.</font></b></li>
<ul>
<li>
<b><font size=+1>sh autorun.sh</font></b></li>
</ul>
</ul>
<ul>
<li>
<b><font size=+1>The results are recorded in HTML file <font color="#FF6666">BWTest.html</font>
and in log file <font color="#FF6666">BWTest.log</font> Individual test
Log files are also found in 'log' directory.</font></b></li>
</ul>
<p><br><b><font size=+1>To Invoke a specific test case</font></b>
<blockquote><b><font size=+1>sh autorun.sh -t org.mozilla.dom.test.AttrImpl_getName</font></b></blockquote>
<b><font size=+1><u><font color="#3366FF">NOTE:</font></u>All Test Cases
are recorded in file BWTestClass.lst.ORIG</font></b>
<p><font size=+1><u><font color="#3366FF">ASSUMPTION</font></u><b>: I assume
that u have copied the files test.xml, redirectxml.html, redirect.html, test.html to your DOCUMENT_ROOT
of your WebServer.</b></font>
<br><b><font size=+1>The URL it tries to load is http://[servername]/redirect.html.</font></b>
<br><b><font size=+1>If it is set in users public_html then open file autorun.sh
and change DOCROOT accordingly.</font></b>
<p>
</a>
<hr SIZE=4 NOSHADE WIDTH="100%">
<a name="winnt">
<br><i><u><font color="#990000"><font size=+3>Windows NT</font></font></u></i>
<ol>
<li>
<b>Assumes you have installed PERL and the following variables are set
in your environment:</b></li>
<ul>
<li>
<font color="#FF6666">MOZILLA_HOME</font> - top directory in mozilla's
tree</li>
<li>
<font color="#FF6666">JAVA_HOME</font> - path to JDK</li>
</ul>
<li>
open mozilla.bat</li>
<li>
make changes to variables</li>
<ul>
<li>
<font color="#FF6666">MOZILLA_BIN</font> - Mozilla's executable file name
(e.g. mozilla.exe or viewer.exe)</li>
<li>
<font color="#FF6666">TEST_PATH</font> - path to the current directory
(where mozilla.bat is)</li>
<li>
<font color="#FF6666">TEST_URL</font> - URL where redirect.html and test.html
are located (complte URL looks like that: $TEST_URL/redirect.html). Is used
if you run tests through hacked DOMAccessor only.</li>
</ul>
<li>
execute <b>mozilla.bat</b> from command prompt this will create new console
and set up the environment for this command prompt</li>
<li>
Edit BWProperties file and change the locations for variables</li>
<ul>
<li>
<font color="#FF6666">BW_TESTDIR</font> (Absolute Directory Path where
file BWTestClass.lst is located)</li>
<li>
<font color="#FF6666">BW_LOGDIR</font> (Absolute Directory Path where log
files need to be created)</li>
<li>
<font color="#FF6666">BW_THREADMODE</font> (Execute tests in single thread
[S] or multi-thread [M] mode. Takes values S/M.)</li>
<li>
<font color="#FF6666">BW_HTMLTEST</font> (URL where redirect.html file are
located. Used if you run tests through TestLoader applet)</li>
<li>
<font color="#FF6666">BW_XMLTEST</font> (URL where test.xml file are located.
Used if you run tests through TestLoader applet)</li>
</ul>
<br>
<b>NOTE:</b> Since on Windows file separator is a `\`, it should be escaped by
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;another '\'. So if a file is in c:\mozilla\tests then it would be written as c:\\mozilla\\tests.
<br>
<br>
<li>
There are several ways to run tests:</li>
<ul>
<li>
Invoke autorun.pl from command prompt.</li>
<br><b>perl autorun.pl</b>
<br>For each test new Mozilla is executed.
<li>
For quick testing say</li>
<br><b>mozilla.exe file:/TestLoaderHTML.html</b>
<br>(mozilla.exe file:/TestLoaderXML.html)
<br>if you use applet for registration
<li>
or say</li>
<br><b>mozilla.exe file:/redirect.html</b>
<br>if you use hacked DOMAcceessor.</ul>
<li>
The results are recorded in HTML file BWTest.html and in log file BWTest.log
Individual test Log files are also found in 'log' directory.</li>
</ol>
<!--
<ul>
<li>
<b><font size=+1>open <font color="#FF6666">mozilla.bat</font></font></b></li>
</ul>
<ul>
<li>
<b><font size=+1>make changes to variables</font></b></li>
<ul>
<li>
<b><font color="#FF6666"><font size=+1>BLACKWOOD_HOME</font></font></b></li>
<li>
<b><font color="#FF6666"><font size=+1>MOZILLA_FIVE_HOME</font></font></b></li>
<li>
<b><font color="#FF6666"><font size=+1>JAVA_HOME</font></font></b></li>
<li>
<b><font color="#FF6666"><font size=+1>TEST_PATH</font></font></b></li>
<li>
<b><font color="#FF6666"><font size=+1>TEST_URL</font></font></b></li>
</ul>
</ul>
<ul>
<li>
<b><font size=+1>execute&nbsp; mozilla.bat from command prompt.</font></b></li>
<br><b><font size=+1>&nbsp;this will set up the environment for this command
prompt.</font></b></ul>
<ul>
<li>
<b><font size=+1>Edit BWProperties file and change the locations for variables</font></b></li>
</ul>
<center><table BORDER COLS=2 WIDTH="80%" BGCOLOR="#99FFCC" NOSAVE >
<tr NOSAVE>
<td WIDTH="30%" NOSAVE><b><font color="#FF6666"><font size=+1>BW_TESTDIR</font></font></b></td>
<td><b>Absolute Directory Path where file BWTestClass.lst is located.</b></td>
</tr>
<tr NOSAVE>
<td NOSAVE><b><font color="#FF6666"><font size=+1>BW_LOGDIR</font></font></b></td>
<td><b>Absolute D.irectory&nbsp; Path where log files need to be created.</b></td>
</tr>
<tr>
<td><b><font color="#FF6666"><font size=+1>BW_THREADMODE</font></font></b></td>
<td><b>Indicates whether to execute tests in single-thread mode[S]&nbsp;&nbsp;&nbsp;&nbsp;
or multi-thread mode[M].&nbsp; Takes values S/M .</b></td>
</tr>
</table></center>
<ul>&nbsp;</ul>
<ul>
<li>
<b><font size=+1>Copy files <font color="#CC6600">redirect.html, test.html</font>and <font color="#CC6600">redirectxml.html, test.xml</font>
into some document directory of HTTP server. TEST_URL environment variable
should contain the URL of this directory.</font></b></li>
<br><b><font size=+1>&nbsp;For example, if you placed the files in the
root directory of&nbsp;&nbsp; HTTP server "<font color="#3333FF">myserver</font>",
then value of TEST_URL should be&nbsp; "<font color="#3333FF">http://myserver</font>".</font></b></ul>
<ul>
<li>
<b><font size=+1>Invoke autorun.pl from command prompt.</font></b></li>
<ul>
<li>
<b><font size=+1>perl autorun.pl</font></b></li>
</ul>
</ul>
<ul><b><font size=+1>The results are recorded in HTML file <font color="#FF6666">BWTest.html</font>
and in log file <font color="#FF6666">BWTest.log</font> Individual test
Log files are also found in 'log' directory.</font></b></ul>
-->
</a>
<hr SIZE=4 NOSHADE WIDTH="100%">
<br>&nbsp;
</body>
</html>

View File

@@ -1,140 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.test;
import java.lang.reflect.*;
public class ReflectionTest
{ public static void main(String[] args)
{ String name = readLine("Please enter a class name (e.g. java.util.Date): ");
try
{ Class cl = Class.forName(name);
Class supercl = cl.getSuperclass();
System.out.print("class " + name);
if (supercl != null && !supercl.equals(Object.class))
System.out.print(" extends " + supercl.getName());
System.out.print("\n{\n");
printConstructors(cl);
System.out.println();
printMethods(cl);
System.out.println();
printFields(cl);
System.out.println("}");
}
catch(ClassNotFoundException e)
{ System.out.println("Class not found.");
}
}
public static String readLine(String str)
{ int ch;
String r = "";
boolean done = false;
System.out.println(str);
while (!done)
{ try
{ ch = System.in.read();
if (ch < 0 || (char)ch == '\n')
done = true;
else if ((char)ch != '\r') // weird--it used to do \r\n translation
r = r + (char) ch;
}
catch(java.io.IOException e)
{ done = true;
}
}
return r;
}
public static void printConstructors(Class cl)
{ Constructor[] constructors = cl.getDeclaredConstructors();
for (int i = 0; i < constructors.length; i++)
{ Constructor c = constructors[i];
Class[] paramTypes = c.getParameterTypes();
String name = c.getName();
System.out.print(Modifier.toString(c.getModifiers()));
System.out.print(" " + name + "(");
for (int j = 0; j < paramTypes.length; j++)
{ if (j > 0) System.out.print(", ");
System.out.print(paramTypes[j].getName());
}
System.out.println(");");
}
}
public static void printMethods(Class cl)
{ Method[] methods = cl.getDeclaredMethods();
for (int i = 0; i < methods.length; i++)
{ Method m = methods[i];
Class retType = m.getReturnType();
Class[] paramTypes = m.getParameterTypes();
String name = m.getName();
System.out.print(Modifier.toString(m.getModifiers()));
System.out.print(" " + retType.getName() + " " + name
+ "(");
for (int j = 0; j < paramTypes.length; j++)
{ if (j > 0) System.out.print(", ");
System.out.print(paramTypes[j].getName());
}
System.out.println(");");
}
}
public static void printFields(Class cl)
{ Field[] fields = cl.getDeclaredFields();
for (int i = 0; i < fields.length; i++)
{ Field f = fields[i];
Class type = f.getType();
String name = f.getName();
System.out.print(Modifier.toString(f.getModifiers()));
System.out.println(" " + type.getName() + " " + name
+ ";");
}
}
public Method[] getMethods(Class cl)
{
Method[] methods = cl.getDeclaredMethods();
return methods;
}
public Class[] getParameters(Method m)
{
Class[] paramTypes = m.getParameterTypes();
return paramTypes;
}
public Constructor[] getConstructors(Class cl)
{
Constructor[] constructors = cl.getDeclaredConstructors();
return constructors;
}
}

View File

@@ -1,721 +0,0 @@
/*
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org code.
The Initial Developer of the Original Code is Sun Microsystems,
Inc. Portions created by Sun are
Copyright (C) 1999 Sun Microsystems, Inc. All
Rights Reserved.
Contributor(s):
*/
package org.mozilla.dom.test;
import java.lang.*;
import java.util.*;
import java.io.*;
import java.net.URL;
import java.applet.Applet;
import org.w3c.dom.Document;
import org.mozilla.dom.DOMAccessor;
import org.mozilla.dom.DocumentLoadListener;
import org.mozilla.dom.test.*;
public class TestLoader extends Applet implements DocumentLoadListener
{
private Object targetObj;
private int returnType = 0;
private static String TESTFILE = "BWTestClass.lst";
private static String PROPERTYFILE = "BWProperties";
private static String LOGFILE = "BWTest.log";
private static String LOGHTML = "BWTest.html";
private static String LOGTXT = "BWTest.txt";
public static Properties propTable = new Properties();
private final boolean debug = true;
private static String FILE_SEP = "/";
/**
************************************************************************
* Default constructor
*
************************************************************************
*/
public TestLoader()
{
System.out.println("########################## Createing default TestLoader ...\n");
try {
throw new Exception();
} catch (Exception e) {
e.printStackTrace();
}
FILE_SEP = System.getProperty("file.separator");
}
/**
************************************************************************
* Constructor
*
* @param targetObj Object instance (Node/Document/....)
* @param areturnType if 1 then return Object expected
* if 0 then no return Object expected
*
************************************************************************
*/
public TestLoader(Object obj, int areturnType)
{
System.out.println("########################## Createing TestLoader ...");
targetObj = obj;
returnType = areturnType;
FILE_SEP = System.getProperty("file.separator");
}
/**
*
************************************************************************
*
* Sets the Testing Target
*
* @param target Target to be tested
*
* @return void
*
************************************************************************
*
*/
void setTarget(Object target)
{
targetObj = target;
}
/**
*
************************************************************************
*
* Load all the Test cases specified in file $BLACWOOD_TESTFILE
* It reads each entry and creates a runtime instantiation of each class
*
************************************************************************
*
*/
public Object loadTest()
{
if (targetObj == null) {
System.out.println("Target Object " + targetObj.toString() + " is null....");
return null;
}
// Read Property File
TestLoader.readPropertyFile();
// Check Property Names, to see if provided with correct file
// separators.
// For Windows platform FILE_SEP is \ but it has to be escaped with
// another \ , so a property value would look like c:\\mozilla\\java
// instead of c:\mozilla\java
//
String CHECK_SEP = "/";
if ( FILE_SEP.compareTo("/") == 0) CHECK_SEP = "\\";
Enumeration em = propTable.propertyNames();
if (em == null) return null;
while (em.hasMoreElements())
{
String name = (String)(em.nextElement());
String val = propTable.getProperty(name);
if (val == null) continue;
if (val.indexOf("BW_HTMLTEST") != -1) continue;
if (val.indexOf("BW_XMLTEST") != -1) continue;
int idx = val.indexOf(CHECK_SEP);
if (idx != -1) {
System.out.println("********** ERROR: File Separator for Property " + name + " is incorrect in file " + PROPERTYFILE);
return null;
}
}
String testDir = ".";
String testFile = TESTFILE;
System.out.println("Inside LoadTest");
// Set Test directory
testDir = propTable.getProperty("BW_TESTDIR");
if (testDir == null) testDir=".";
// Set Test Filename
testFile = propTable.getProperty("BW_TESTFILE");
if (testFile == null) testFile = TESTFILE;
String fname = testDir + FILE_SEP + testFile;
FileInputStream in = null;
try {
in = new FileInputStream(fname);
} catch (SecurityException e) {
System.out.println ("Security Exception:Could not create stream for file " + fname);
System.exit(-1);
return null;
} catch (FileNotFoundException e) {
System.out.println ("Could not create stream for file " + fname);
System.exit(-1);
return null;
}
BufferedReader din;
try {
din = new BufferedReader(new InputStreamReader(in));
} catch (Exception e) {
System.out.println ("Could not get Input Reader for file " + fname);
return null;
}
String line= new String("");
Vector fileVect = new Vector();
try {
while (line != null)
{
line = din.readLine();
if (line != null)
{
if (line.charAt(0) == '#')
continue;
fileVect.addElement(line);
}
}
} catch (Exception e) {
System.out.println("could not read Line from file " + fname);
line=null;
}
try {
din.close();
} catch (Exception e) {
System.out.println ("Could not close file " + fname);
return null;
}
// check if test have to be run in single Thread mode(S) or
// multi Thread mode (M)
//
String threadMode = propTable.getProperty("BW_THREADMODE");
if (threadMode == null)
threadMode = "S";
for (int i=0; i<fileVect.size(); i++)
{
String s = (String)fileVect.elementAt(i);
Class c=null;
try {
System.out.println("############### Class name: "+s);
c = Class.forName(s);
} catch (ClassNotFoundException e) {
System.out.println ("Could not find class " + s);
continue;
}
Object classObj = null;
try {
classObj = c.newInstance();
} catch (Exception e) {
System.out.println ("Could not instantiate class " + s);
continue;
}
// If single thread execution
if (threadMode.compareTo("S") == 0)
{
try {
System.out.println("################ Starting test ...");
if (((BWBaseTest)classObj).execute(targetObj)) {
if (((BWBaseTest)classObj).isUnsupported())
txtPrint(s, "UNSUPPORTED METHOD");
else
txtPrint(s, "PASSED");
System.out.println("################ passed");
} else {
txtPrint(s, "FAILED");
System.out.println("################ failed");
}
} catch (Exception e) {
System.out.println("################ failed with exception: "+e);
txtPrint(s, "FAILED: "+e);
}
// if any return type expected, then it is returned.
// This is just a provision kept for latter use
//
//if (returnType == 1)
//{
// return (((BWBaseTest)classObj).returnObject());
//}
} else {
BWTestThread t = new BWTestThread(s);
try {
System.out.println("############## Starting test ...");
if (t != null)
{
t.setTestObject(classObj, targetObj);
t.start();
}
} catch (Exception e) {
txtPrint(s, "FAILED: "+e);
}
}
}
//txtPrint("Parent Thread Done", "PASSED");
return null;
}
/**
*******************************************************************
*
* Read the property File and update the Property propTable
* the Property file BWProperties lists out all en. variables
* and their values.
*
* @return void
*
*******************************************************************
*/
public static void readPropertyFile()
{
if (propTable == null)
return ;
// Get Input Stream from Property file
FileInputStream fin=null;
try {
fin = new FileInputStream("./" + PROPERTYFILE);
} catch (Exception e) {
System.out.println ("Security Exception:Could not create stream for file " + PROPERTYFILE);
return;
}
try {
propTable.load(fin);
} catch (Exception e) {
System.out.println("Could not load property file " + PROPERTYFILE);
return;
}
try {
fin.close();
} catch (Exception e) {
System.out.println("Could not close " + PROPERTYFILE);
return;
}
}
/**
*
************************************************************************
* Routine which prints to log files and also to STDOUT
*
* @param msg Message to be logged
*
* @return void
************************************************************************
*
*/
public static void logErrPrint(String msg)
{
if (msg == null) return;
System.out.println(msg);
TestLoader.logPrint(msg);
}
/**
*
************************************************************************
* Routine which prints to log files
*
* @param msg Message to be logged
*
* @return void
************************************************************************
*
*/
public static void logPrint(String msg)
{
if (msg == null) return;
String logDir = propTable.getProperty("BW_LOGDIR");
if (logDir == null) logDir = ".";
String logFile = propTable.getProperty("BW_LOGFILE");
if (logFile == null) logFile = LOGFILE;
String fname = logDir + FILE_SEP + logFile;
// Get Output Stream from Log file
RandomAccessFile raf=null;
try {
raf = new RandomAccessFile(fname, "rw");
} catch (Exception e) {
System.out.println ("Could not open file " + fname);
return;
}
try {
long len = raf.length();
raf.seek(len);
raf.write(msg.getBytes());
raf.write("\n".getBytes());
} catch (IOException e) {
System.out.println("ERROR: Could not write to File " + fname);
return;
}
try {
raf.close();
} catch (Exception e) {
System.out.println("ERROR: Could not close File " + fname);
return;
}
}
/**
*
************************************************************************
* Routine which prints Header for HTML file
************************************************************************
*
*/
public static void htmlPrintHeader()
{
String logDir = propTable.getProperty("BW_LOGDIR");
if (logDir == null) logDir = ".";
String logFile = LOGHTML;
String fname = logDir + FILE_SEP + logFile;
File f=null;
try {
f = new File(logDir, logFile);
} catch (Exception e) {
System.out.println ("Could not get file Descriptor for file " + fname);
return;
}
if (f.exists())
{
File newf=null;
String nom = logFile + ".bak";
try {
newf = new File(logDir, nom);
} catch (Exception e) {
System.out.println ("Could not get file Descriptor for file " + nom);
return;
}
try {
f.renameTo(newf);
} catch (Exception e) {
System.out.println ("Could not rename file " + logFile + " to " + nom);
return;
}
}
// Get Output Stream from Log file
RandomAccessFile raf=null;
try {
raf = new RandomAccessFile(fname, "rw");
} catch (Exception e) {
System.out.println ("Could not open file " + fname);
return;
}
String msg=null;
try {
raf.seek(0);
Date dt = new Date();
msg = "<html><head><title>\n";
msg = msg + "DOMAPI Core Level 1 Test Status\n";
msg = msg + "</title></head><body bgcolor=\"white\">\n";
msg = msg + "<center><h1>\n";
msg = msg + "DOM API Automated TestRun Results\n";
msg = msg + dt.toString();
msg = msg + "</h1></center>\n";
msg = msg + "<hr noshade>";
msg = msg + "<table bgcolor=\"#99FFCC\">\n";
msg = msg + "<tr bgcolor=\"#FF6666\">\n";
msg = msg + "<td>Test Case</td>\n";
msg = msg + "<td>Result</td>\n";
msg = msg + "</tr>\n";
raf.write(msg.getBytes());
raf.write("\n".getBytes());
} catch (IOException e) {
System.out.println("ERROR: Could not write to File " + fname);
return;
}
try {
raf.close();
} catch (Exception e) {
System.out.println("ERROR: Could not close File " + fname);
return;
}
}
/**
*
************************************************************************
* Routine which prints Footer for HTML file
************************************************************************
*
*/
public static void htmlPrintFooter()
{
String logDir = propTable.getProperty("BW_LOGDIR");
if (logDir == null) logDir = ".";
String logFile = LOGHTML;
String fname = logDir + FILE_SEP + logFile;
// Get Output Stream from Log file
RandomAccessFile raf=null;
try {
raf = new RandomAccessFile(fname, "rw");
} catch (Exception e) {
System.out.println ("Could not open file " + fname);
return;
}
String msg=null;
try {
long len = raf.length();
raf.seek(len);
msg = "</table></body></html>\n";
raf.write(msg.getBytes());
} catch (IOException e) {
System.out.println("ERROR: Could not write to File " + fname);
return;
}
try {
raf.close();
} catch (Exception e) {
System.out.println("ERROR: Could not close File " + fname);
return;
}
}
/**
*
************************************************************************
* Routine which prints to HTML files
*
* @param testCase TestCase name (class name)
* @param msg Message to be logged
*
* @return void
************************************************************************
*
*/
public static void htmlPrint(String testCase, String msg)
{
if (msg == null) return;
if (testCase == null) return;
String logDir = propTable.getProperty("BW_LOGDIR");
if (logDir == null) logDir = ".";
String logFile = LOGHTML;
String fname = logDir + FILE_SEP + logFile;
// Get Output Stream from Log file
RandomAccessFile raf=null;
try {
raf = new RandomAccessFile(fname, "rw");
} catch (Exception e) {
System.out.println ("Could not open file " + fname);
return;
}
try {
String msg1 = null;
long len = raf.length();
raf.seek(len);
msg1 = "<tr><td>" + testCase + "</td>\n";
msg1 = msg1 + "<td>" + msg + "</td>\n";
msg1 = msg1 + "</tr>";
raf.write(msg1.getBytes());
} catch (IOException e) {
System.out.println("ERROR: Could not write to File " + fname);
return;
}
try {
raf.close();
} catch (Exception e) {
System.out.println("ERROR: Could not close File " + fname);
return;
}
}
/**
*
************************************************************************
* Routine which prints to txt file
*
* @param testCase TestCase name (class name)
* @param msg Message to be logged
*
* @return void
************************************************************************
*
*/
public static void txtPrint(String testCase, String msg)
{
if (msg == null) return;
if (testCase == null) return;
String logDir = propTable.getProperty("BW_LOGDIR");
if (logDir == null) logDir = ".";
String logFile = TestLoader.LOGTXT;
String fname = logDir + FILE_SEP + logFile;
// Get Output Stream from Log file
RandomAccessFile raf=null;
try {
raf = new RandomAccessFile(fname, "rw");
} catch (Exception e) {
System.out.println ("Could not open file " + fname);
return;
}
try {
String msg1 = null;
long len = raf.length();
raf.seek(len);
msg1 = testCase + "=" + msg + "\n";
raf.write(msg1.getBytes());
} catch (IOException e) {
System.out.println("ERROR: Could not write to File " + fname);
return;
}
try {
raf.close();
} catch (Exception e) {
System.out.println("ERROR: Could not close File " + fname);
return;
}
}
/*Implementing DocumentLoadListener interface*/
public void endDocumentLoad(String url, int status, Document doc)
{
System.out.println("################### Got Document: "+url);
if ((!(url.endsWith(".html"))) && (!(url.endsWith(".xml")))) {
System.out.println("################### Document is not HTML/XML ... "+url);
return;
}
if (url.endsWith(".html"))
{
if (url.indexOf("test.html") == -1) {
System.out.println("TestCases Tuned to run with test.html...");
return;
}
}
if (url.endsWith(".xml"))
{
if (url.indexOf("test.xml") == -1) {
System.out.println("TestCases Tuned to run with test.xml...");
return;
}
}
Object obj = (Object) doc;
setTarget(obj);
System.out.println("################## Loading test ... ");
try {
Object retobj = loadTest();
System.out.println("################## test exited normally ... ");
} catch (Exception e) {
System.out.println("################## test exited abnormally: \n" + e);
}
doc = null;
};
public void startURLLoad(String url, String contentType, Document doc) {};
public void endURLLoad(String url, int status, Document doc) {};
public void progressURLLoad(String url, int progress, int progressMax, Document doc) {};
public void statusURLLoad(String url, String message, Document doc) {};
public void startDocumentLoad(String url) {};
/*Overiding some Applet's methods */
public void init()
{
System.err.println("################## Regestring DocumentLoadListener !");
DOMAccessor.addDocumentLoadListener((DocumentLoadListener)this);
String testURL = propTable.getProperty("BW_HTMLTEST");
if (testURL == null) {
System.err.println("################# WARNING: BW_HTMLTEST property is not set ! Using file: protocol by default !");
testURL="file:";
}
if (getParameter("test_type").equals("XML")) {
testURL = propTable.getProperty("BW_XMLTEST");
if (testURL == null)
testURL="file:";
testURL+="/test.xml";
} else if (getParameter("test_type").equals("HTML")) {
testURL+="/test.html";
} else {
System.err.println("################ WARNING: Unrecognized test type (valid are HTML/XML):"+getParameter("test_type")+"\nLoading test.html by default.");
testURL+="/test.html";
}
System.err.println("################## Loading "+testURL);
try {
getAppletContext().showDocument(new URL(testURL));
} catch (Exception e) {
System.err.println("############ Can't show test document: \nException: " + e.fillInStackTrace());
}
}
}//end of class

View File

@@ -1,7 +0,0 @@
<html>
<body>
<applet code="org.mozilla.dom.test.TestLoader" width=1 height=1>
<param name="test_type" value="HTML">
</applet>
</body>
</html>

View File

@@ -1,7 +0,0 @@
<html>
<body>
<applet code="org.mozilla.dom.test.TestLoader" width=1 height=1></applet>
<param name="test_type" value="XML">
</script>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More