Compare commits

..

2519 Commits

Author SHA1 Message Date
dkl%redhat.com
b52a1dc48a Various fixes. Added CanSeeProduct functionality back in but also left in old style product groups. Removed references to usebuggroupsentry and usebuggroups since we want it on all the time.
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_Groups_Branch@122814 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 18:07:41 +00:00
dkl%redhat.com
48b5f960fd Initial creation of Bugzilla_PgSQL_Groups_Branch 2002/05/23
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_Groups_Branch@122087 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 19:34:21 +00:00
(no author)
73bf11394f This commit was manufactured by cvs2svn to create branch
'Bugzilla_PgSQL_Groups_Branch'.

git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_Groups_Branch@122018 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 09:21:37 +00:00
matty%chariot.net.au
08a6affc66 Bug 93667: Add comments to uncommented sections of sanitycheck.cgi
git-svn-id: svn://10.0.0.236/trunk@122016 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 09:21:35 +00:00
cls%seawood.org
65b8f5eb84 Make script aware of BeOS profile quirks. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@122015 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 08:54:18 +00:00
pschwartau%netscape.com
215e9d229c Removing this test. It has been superseded by test ecma_3/Function/15.3.4.3-1.js
git-svn-id: svn://10.0.0.236/trunk@122014 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 06:01:09 +00:00
pschwartau%netscape.com
b6d1d217f9 Initial add. Tests language conformance to EMCA-262 Edition 3 Section 15.3.4.4
git-svn-id: svn://10.0.0.236/trunk@122013 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 05:54:58 +00:00
pschwartau%netscape.com
98e55f8ea2 Initial add. Tests language conformance to EMCA-262 Edition 3, Section 15.3.4.3
git-svn-id: svn://10.0.0.236/trunk@122012 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 05:54:21 +00:00
mhammond%skippinet.com.au
e191ed4bda nsCString->nsString API changes. Merged from 1.0 branch.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@122011 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 05:41:04 +00:00
dveditz%netscape.com
d50114319b bug 144704 make sure view image context menu item doesn't inherit the wrong context, r=bryner,sr=brendan,a=chofmann,adt1.0.0+
git-svn-id: svn://10.0.0.236/trunk@122007 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 04:56:05 +00:00
dveditz%netscape.com
76317ab894 bug 143420 make sure showOnlyThisFrame option doesn't inherit the wrong context r=bryner,sr=scc,a=brendan,adt1.0.0+
git-svn-id: svn://10.0.0.236/trunk@122006 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 04:54:50 +00:00
darin%netscape.com
355294781f fixes bug 146074 "Proxy-authorization not on all requests after authentication"
r=rjesup@wgate.com sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@122002 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 03:26:21 +00:00
mkaply%us.ibm.com
4f895f38d3 #145764
a=brendan
OS/2 only - fix broken icon


git-svn-id: svn://10.0.0.236/trunk@122001 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 02:30:48 +00:00
nicolson%netscape.com
564c9a0bd8 Fix http://bugzilla.mozilla.org/show_bug.cgi?id=144934: generating DSA public key from spec is broken.
git-svn-id: svn://10.0.0.236/trunk@122000 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 02:13:31 +00:00
waldemar%netscape.com
3ce2952da5 Removed interfaces
git-svn-id: svn://10.0.0.236/trunk@121995 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:59:22 +00:00
dbaron%fas.harvard.edu
1feee5c8c0 Fix Mac bustage from brendan's checkin.
git-svn-id: svn://10.0.0.236/trunk@121994 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:53:12 +00:00
harishd%netscape.com
d043ec8b24 Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121993 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:46:16 +00:00
smeredith%netscape.com
ddaadd7e8c Change to the install.bmp. Temp for beta until we get real artwork (like,
from an artist.)
Change to make variable substiution in cfg version output.


git-svn-id: svn://10.0.0.236/trunk@121992 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:46:11 +00:00
jst%netscape.com
ba0136402f Queting down compiler warning...
git-svn-id: svn://10.0.0.236/trunk@121991 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:39:21 +00:00
jst%netscape.com
69e73782f6 Fixing security bug 143369. Plug security holes that let webpages fake their origin. r=brendan@mozilla.org, mstoltz@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121989 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:34:01 +00:00
relyea%netscape.com
c26b24b009 Back out the change on Module destruction.
git-svn-id: svn://10.0.0.236/trunk@121988 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:25:48 +00:00
naving%netscape.com
daee284468 145258 r=cavin sr=bienvenu Use unique tmp files when saving filter rules otherwise rules.dat can be corrupted in a multiuser environment
git-svn-id: svn://10.0.0.236/trunk@121987 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:21:11 +00:00
dbaron%fas.harvard.edu
554bf97dfe Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@121986 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:14:51 +00:00
ben%netscape.com
0369fd52d4 Fix for bug 86501 - bookmarks.html file is truncated to 0-length when shutting down with a full profile disk. Write bookmarks to a temporary file, and rename that to 'bookmarks.html' only if the write operation succeeded. r=bryner, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@121982 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:07:14 +00:00
brendan%mozilla.org
0d99c56ee7 Don't fail to call OBJ_CHECK_ACCESS for o.__proto__ = x, with enough mode bits to say what's happening (143369, r=shaver, sr=jst).
git-svn-id: svn://10.0.0.236/trunk@121981 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:06:40 +00:00
naving%netscape.com
dacbaf3716 145341 r=cavin sr=bienvenu Automatic downloading of pop3 msgs on biff was not updating status counter. fix is to pass valid msgWindow. this is needed for stopping such downloads and/or for throwing errors.
git-svn-id: svn://10.0.0.236/trunk@121980 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:05:03 +00:00
bbaetz%student.usyd.edu.au
7277c16c2b Bug 144565 - describecomponents.cgi shows wrong components when user has
access to only one product
Bug 145113 - describecomponents doesn't call quietly_check_login()
r=justdave, gerv


git-svn-id: svn://10.0.0.236/trunk@121977 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:38:17 +00:00
attinasi%netscape.com
920feb16ba Added How-To doc on debugging table reflow (provided by Bernd - Thanks!)
git-svn-id: svn://10.0.0.236/trunk@121973 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:12:06 +00:00
attinasi%netscape.com
18da03af0f Some Table Debugging guidelines. Documentation only, not part of any build, product or gooseberry pie.
git-svn-id: svn://10.0.0.236/trunk@121971 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:06:15 +00:00
bienvenu%netscape.com
aae58a640c put up a message if imap server connection fails without an error before seeing server greeting, 71792 r=cavin, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@121970 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:05:50 +00:00
bienvenu%netscape.com
e348cbb6b2 add max number of imap connections to cache, r=cavin, sr=sspitzer 71792
git-svn-id: svn://10.0.0.236/trunk@121969 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 23:04:24 +00:00
nhotta%netscape.com
ac9b3cebbe Implement kPlatformCharsetSel_KeyboardInput for MacOS,
bug 141248, r=ftang, sr=brendan.


git-svn-id: svn://10.0.0.236/trunk@121967 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 22:55:25 +00:00
mcafee%netscape.com
7d0a176700 Adding external dependency mechanism (145338). r=blythe, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121966 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 22:54:05 +00:00
blizzard%redhat.com
23186ea28a Bug #121248. Clipboard support for gtk2. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@121964 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 22:47:56 +00:00
igor%mir2.org
1d36d6d37f Making HTML tag helper functions to convert thisObj to string to match SpiderMonkey and user expectations (was reported by Steven Beal <steven.beal@peregrine.com>)
git-svn-id: svn://10.0.0.236/trunk@121961 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 22:00:08 +00:00
bienvenu%netscape.com
0e39ba4a4a rest of fix for 13560, don't display permissions on imap folder props if server doesn't support acl r=naving, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@121960 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:43:23 +00:00
depstein%netscape.com
409d03e52e fixed compiler bugs. removed nsIWebBrowser.cpp because of naming conflict, adding nsIWebBrow.cpp for test cases.
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@121958 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:37:34 +00:00
ducarroz%netscape.com
ee500f9e22 Fix for bug 132163 (patch v3). Fix warnings. R=ducarroz, SR=mscott. Patch provided by ayn2@cornell.edu (Aleksey Nogin)
git-svn-id: svn://10.0.0.236/trunk@121957 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:34:56 +00:00
rpotts%netscape.com
f5cdc2123c bug #145994 (r=chak,sr=alec). Fix null-pointer crash when stop() is called within a nsIWebProgressListener notification.
git-svn-id: svn://10.0.0.236/trunk@121956 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:30:58 +00:00
relyea%netscape.com
23cb868af3 Don't crash if url is specified, but the crl is broken
git-svn-id: svn://10.0.0.236/trunk@121955 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:26:52 +00:00
relyea%netscape.com
362f005de5 Missing component when deleting should not be fatal
git-svn-id: svn://10.0.0.236/trunk@121954 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:26:14 +00:00
relyea%netscape.com
9588bde41b Fix spelling error.
Clear out certs from the cache before the token goes away.


git-svn-id: svn://10.0.0.236/trunk@121953 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:24:35 +00:00
relyea%netscape.com
ae88814fc8 Fix spelling error.
git-svn-id: svn://10.0.0.236/trunk@121952 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:23:33 +00:00
relyea%netscape.com
9c6ae52048 Clear out certs associated with tokens that have just been taken off the trust domain.
git-svn-id: svn://10.0.0.236/trunk@121951 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:22:55 +00:00
ducarroz%netscape.com
fe5c7d5b7c Fix for bug 132163 (patch v2). Fix warnings. R=ducarroz, SR=bienvenu. Patch provided by ayn2@cornell.edu (Aleksey Nogin)
git-svn-id: svn://10.0.0.236/trunk@121950 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:12:10 +00:00
morse%netscape.com
5d7187dbc6 bug 98673, reduce turbo mode memory usage, r=law, sr=jag
git-svn-id: svn://10.0.0.236/trunk@121949 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:10:48 +00:00
cbiesinger%web.de
b0d20ba6df bug 92947 r=timeless sr=jag
Better feedback when components of a page do not download


git-svn-id: svn://10.0.0.236/trunk@121947 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 21:05:11 +00:00
naving%netscape.com
f5e667b202 121926 r=bienvenu sr=mscott. Fixing a bug where mailnews doesn't ask for password if the passwordManager has
wrong password. The problem was walletService wasn't getting created so we were never clearing bad password.


git-svn-id: svn://10.0.0.236/trunk@121946 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 20:44:46 +00:00
igor%mir2.org
a30adf8bfd Optimization in toInt32/toUint32/toUint16 for common case of integer argument.
git-svn-id: svn://10.0.0.236/trunk@121944 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 20:18:15 +00:00
igor%mir2.org
dc3598a563 Added indexOf and lastIndexOf
git-svn-id: svn://10.0.0.236/trunk@121942 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 20:14:10 +00:00
igor%mir2.org
af7c9c5715 In getElements return ScriptRuntime.emptyArgs when array length is 0
git-svn-id: svn://10.0.0.236/trunk@121941 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 20:13:30 +00:00
rods%netscape.com
c9a14d5e5f unregisters the focus listener after a new one is installed.
Bug 145388 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@121939 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 19:37:28 +00:00
timeless%mac.com
9811787253 Bug 130853 crash in winembed.exe
scope observerService so it isn't held past embedding shutdown
r=smontagu moa=adamlock


git-svn-id: svn://10.0.0.236/trunk@121938 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 19:19:50 +00:00
mikep%oeone.com
fb597fc9f2 Removing incorrect day of week from display.
git-svn-id: svn://10.0.0.236/trunk@121937 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 19:12:45 +00:00
mikep%oeone.com
03c03e84f1 Adding in about calendar page.
git-svn-id: svn://10.0.0.236/trunk@121936 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 18:56:22 +00:00
shrutiv%netscape.com
f13bbdb320 Fix for bugscape bug 15302: Enable Classic Skin checkbox on component
selection list


git-svn-id: svn://10.0.0.236/trunk@121935 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 18:38:10 +00:00
akkana%netscape.com
861bc33d7e Fix strict JS warning that slipped in with the fix for 71726. r=brade, sr=jst+kin
git-svn-id: svn://10.0.0.236/trunk@121934 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 18:26:52 +00:00
myk%mozilla.org
985786ffcb Fix for bug 47251: Make HTML output HTML 4.01 Transitional compliant.
Patch by mental <xor@ivwnet.com>.
r=justdave,myk


git-svn-id: svn://10.0.0.236/trunk@121929 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 17:53:48 +00:00
mikep%oeone.com
567c9deb61 Adding in sizeToContent.
git-svn-id: svn://10.0.0.236/trunk@121928 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 17:15:03 +00:00
mikep%oeone.com
1a13026fec Fixing bug 140061.
git-svn-id: svn://10.0.0.236/trunk@121927 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 17:13:16 +00:00
myk%mozilla.org
a5545a7fa8 Fix for bug 143743: Eliminates warning by properly initializing array reference.
Fix by Myk Melez <myk@mozilla.org>.
r=bbaetz,justdave


git-svn-id: svn://10.0.0.236/trunk@121926 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 14:18:00 +00:00
glazman%netscape.com
e22242dc35 fixing brad Tbox warning; b=142019, r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121925 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 13:33:25 +00:00
jdunn%netscape.com
bc7394a43d fix AIX's xlC364 internal compiler error (just rearranging existing code)
# 143461
r=brade@netscape.com
sr=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@121924 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 13:26:30 +00:00
rods%netscape.com
fa1b0e717d The problem here is the "edge" prefs are now preficed with the printer name,
and the nsPrintOptions know how to convert the printer name, so we need to add
a helper method to nsIPrintOptions.idl so the nsSimplePageSeq can get the properly named value.
Bug 140669 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121923 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 10:53:45 +00:00
glazman%netscape.com
5ba41690ab output of CSS border and background shorthand properties was buggy ; the new code implements a proposal by Hixie that tries to output the minimal number of properties.
b=142019, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@121922 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 08:16:42 +00:00
despotdaemon%netscape.com
15ab54fb0a Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@121920 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 06:57:28 +00:00
sspitzer%netscape.com
b139864590 fix for bug #142940. add support to LDIF import / export for generic
AB columns, like _AimScreenName.  r=dmose, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@121916 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 05:20:39 +00:00
pete.zha%sun.com
2d093a6ca6 bug 145615:Should use AString instead of wstring or DOMString in accessibility APIs
r=aaronl, sr=jst


git-svn-id: svn://10.0.0.236/trunk@121915 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 05:16:58 +00:00
blythe%netscape.com
9c4be8e491 Not part of a normal build.
Fix perl script to work on cygwin32 build environment.
r=cls


git-svn-id: svn://10.0.0.236/trunk@121914 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 03:46:41 +00:00
dkl%redhat.com
8a5026c9eb Bug 143586 - required modules tests should be sorted. Patch by David Lawrence <dkl@redhat.com> r=justdave@syndicomm.com,bbaetz@student.usyd.edu.au
git-svn-id: svn://10.0.0.236/trunk@121913 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 03:42:35 +00:00
rginda%netscape.com
34709cd5a1 bug 145466, "Can't save the profile data"
patch=smaug@jippii.fi,r=me,a=chofmann
add missing parameter nsIOutputStream::init callsite
VS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@121911 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 02:43:30 +00:00
smeredith%netscape.com
2cea1ceccd Change to the prefs xml to have version information.
git-svn-id: svn://10.0.0.236/trunk@121909 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 02:22:23 +00:00
jkeiser%netscape.com
2f1b928eaa Fix crasher regression from bug 74091. bug 74091, r=dbaron@fas.harvard.edu, sr=
jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@121908 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 02:11:05 +00:00
rjc%netscape.com
8d342dff6f Fix bug # 144337: According to TechNote 2051, on Mac OS X we should be able to short-circuit QuickDraw's implicit LockPortBits() on every QD call by stratetic usage of ::LockPortBits() and ::UnlockPortBits(). Gives a few % points improvement on window drawing/updates. r=sdagley sr=ben
git-svn-id: svn://10.0.0.236/trunk@121907 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 01:25:57 +00:00
mcafee%netscape.com
5abff48d7f Fixing necko directory list (143399). r=blythe, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121905 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 00:37:49 +00:00
jst%netscape.com
00ab30aef5 Fixing typo in assert...
git-svn-id: svn://10.0.0.236/trunk@121904 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 00:26:27 +00:00
ducarroz%netscape.com
5f20f32e12 Fix for bug 131990. We must allow spave for the BCC headers. Also, function generate_encodedwords should not accept a output_carryoverlen <= 0. R=taka, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@121903 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 00:17:43 +00:00
bryner%netscape.com
e3a290ef80 Prevent a crash that happens if you context-click while autocomplete is active in mail compose (bug 137864). r=danm, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@121902 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 00:00:46 +00:00
mscott%netscape.com
326d3d1b6c Bug #127702 --> security fix
r=cavin
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@121900 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 23:30:12 +00:00
jpierre%netscape.com
3d920a25ee Fix for bug 137645 - cached certificate does not get its nickname updated after P12 import of matching user certificate
git-svn-id: svn://10.0.0.236/trunk@121899 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 23:21:39 +00:00
oeschger%netscape.com
18abd6efe1 update to search rdf, dispensation for content updates for 122806
git-svn-id: svn://10.0.0.236/trunk@121896 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:54:37 +00:00
hwaara%chello.se
3f4cb388c7 #115324, remove unused search/filters code. r=bienvenu, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@121895 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:53:04 +00:00
jst%netscape.com
7b7411c3ef Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
mkaply%us.ibm.com
28e004aa7c No bug - remove unused code
git-svn-id: svn://10.0.0.236/trunk@121892 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:30:03 +00:00
mcafee%netscape.com
4b192071c3 ordering comment
git-svn-id: svn://10.0.0.236/trunk@121891 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:25:18 +00:00
bienvenu%netscape.com
1c6e4e0421 fix another compiler warning, rs=sspitzer 126460
git-svn-id: svn://10.0.0.236/trunk@121890 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 21:33:47 +00:00
darin%netscape.com
3deecbd85f fixes bug 141779 "Trunk, M1RC1 Crashes related to DNS caching [@ nsDNSRequest::FireStop]"
r=gordon sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@121889 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 21:31:27 +00:00
jst%netscape.com
28264dd6a6 Fixing bug 132609. Make window.close() work even when called from an event handler that was added with addEventListener(). r=heikki@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121888 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 20:55:41 +00:00
pschwartau%netscape.com
0d2852fa7f Initial add. Regression test for bug 145779.
git-svn-id: svn://10.0.0.236/trunk@121887 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 20:37:43 +00:00
bienvenu%netscape.com
6ae4a30fc1 fix occurance of potential (not actual) unitialized variable use in mork atom rs=sspitzer
git-svn-id: svn://10.0.0.236/trunk@121885 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 20:24:41 +00:00
bratell%lysator.liu.se
86074cf594 Bug 85267 - clear internal jsdtoa caches when closing down the js engine. Patch by steve.taylor@ndsuk.com r=khanson@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@121884 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 20:07:48 +00:00
timeless%mac.com
f6f450587d Bug 145589 we call a getter with null, which crashes winEmbed
r=jkeiser sr=jst

<timeless> *shrug* i'm not actively trying to defend this patch, it's the
right thing to do for the given contract
<jkeiser> timeless: I dunno, doing *x = blah; when you don't need to do
it is definitely more expensive than if (!x)
<timeless> you aren't even allowed to do what you suggest, the
contract explicitly forbids it
[clarification, the caller isn't allowed to rely on this]
if i tried to do what you suggest, shaver would kill me :)
<jkeiser> timeless: so shaver is the guy to ask here?
<timeless> yeah if you're concerned about it
if you care measure. i care about crashing and contract violations
the contract was (out foo). which according to what shaver said
when i asked him and my memory of that, didn't allow 0.
<shaver> it doesn't allow 0
<jst> right
<shaver> we check it all over the place in the code, because we're sheep
<dmose> baaa


git-svn-id: svn://10.0.0.236/trunk@121883 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 20:06:29 +00:00
nhotta%netscape.com
f7a136c759 Changed the meta parse function for performance,
bug 144917, r=ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@121880 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 19:51:35 +00:00
nhotta%netscape.com
0b31da6989 Change not to set the composing mail charset as attachment's chaset.
bug 144917, r=ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@121879 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 19:51:16 +00:00
sspitzer%netscape.com
9fbded7e9d fix for #145532. (selection is moved when using a keyboard shortcut with focus on left pane). this regression caused by fix for #133366. thanks to kyle.yuan@sun.com for the fix. r=varga, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121878 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 19:22:55 +00:00
sspitzer%netscape.com
7569eb1d3f fix for bug #145532. hitting 'n' when folder pane has focus
selects the folder that start with n, instead of the next folder with unread.  regression caused by checkin for #145532.
patch by kyle.yuan@sun.com.  r=varga, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@121877 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 19:10:54 +00:00
jst%netscape.com
97546aa3a6 Backing out a small part of jkeiser's fix for bug 74091 which caused bug 145741. CallQueryInterface() is not null safe. r=harishd@netscape.com. sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121876 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 18:48:00 +00:00
ian.mcgreer%sun.com
aeac107432 bug 144309, return value of STAN_GetCERTCertificate not checked
r=wtc


git-svn-id: svn://10.0.0.236/trunk@121875 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 18:05:11 +00:00
ian.mcgreer%sun.com
55b7e262c6 fix bustage caused by generated file discrepancies
git-svn-id: svn://10.0.0.236/trunk@121874 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 16:01:21 +00:00
ian.mcgreer%sun.com
91547c3cd3 need to match ckapi.perl with generated target nssck.api, which was modified
git-svn-id: svn://10.0.0.236/trunk@121873 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 14:38:48 +00:00
dcone%netscape.com
b2c7d98667 Updated work for the Debug plugin. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@121871 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 13:13:05 +00:00
igor%mir2.org
1e61698378 From the email:
The attached patch adds support for debugging eval and Function code transparently. It changes omj.NativeGlobal and omj.BaseFunction to embed  line number of origin of eval and Function scripts into source name and pass 1 as base line for script code. In this way a debugger implementation can treat eval and Function code in the same way as scripts loaded from some url while giving more information about error location in case of an error in eval code as the error source would contain both line number of eval origin and line number in eval code itself.
I chose to embed line numbers via patterns like

sourcefile#<line-number>(eval)
sourcefile#<line-number>(Function)

just to be able to to pass the constructed name to URL constructor if the original sourcefile is a valid URL but it is pretty arbitrary.


git-svn-id: svn://10.0.0.236/trunk@121870 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 11:40:17 +00:00
jfrancis%netscape.com
42b40ed3ca fix for 140484: tagStr incorrectly freed in nsListCommand::GetCurrentState; r=jfrancis; sr=kin; ceckin in on behalf of Dan McGuirk
git-svn-id: svn://10.0.0.236/trunk@121868 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 10:48:31 +00:00
ben%netscape.com
93f2ce40bf Check in Michiel van Leeuwen's patch for bug 135076 that fixes the problem where you get scroll arrows in submenus when the submenus are initially opened so close to the bottom of the screen that their position is adjusted to make them fit on screen. r=bryner, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@121866 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 09:04:25 +00:00
peterlubczynski%netscape.com
004f3a6210 Removing extra line that sneaked in
git-svn-id: svn://10.0.0.236/trunk@121865 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 04:02:12 +00:00
peterlubczynski%netscape.com
9ebb36a3a8 Fixing last checkin for bug 120875, hiding plugin for tabs, r=bnesse sr=beard
git-svn-id: svn://10.0.0.236/trunk@121864 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 03:29:48 +00:00
kyle.yuan%sun.com
2ec1c6ce57 Bug 144700 To polish the nsIAccessibleHyperLink interface
r=kyle.yuan, r=aaronl, sr=jst

Check in for Gilbert.Fang@Sun.COM.


git-svn-id: svn://10.0.0.236/trunk@121860 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 02:31:14 +00:00
depstein%netscape.com
12280dd41a added nsIWebBrowser.obj
git-svn-id: svn://10.0.0.236/trunk@121851 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-19 07:51:04 +00:00
dbaron%fas.harvard.edu
778a1c0cc9 Limit the quirk that prevents dynamic pseudo-classes from applying to quirks mode, to :hover and :active only, and to a stricter definition of global selectors, since we no longer have to worry about performance problems. b=96984 sr=attinasi r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@121850 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-19 02:05:29 +00:00
sspitzer%netscape.com
26753a49f0 fix for blocker bug #145475. plain text mail compose unusable.
regression caused by fix for #144955.
thanks to ayn2@cornell.edu for the fix.  r/sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@121846 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 22:41:48 +00:00
stephend%netscape.com
dae51418d0 Bug 131489. Textbox in search panel should be centered vertically. Patch by Stephen Walker <walk84@yahoo.com> r=me, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@121845 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 22:11:15 +00:00
bratell%lysator.liu.se
40adde0ec3 Followup to checkin for bug 120992. It asserted in an edge case which this fixes. r=mozbot
git-svn-id: svn://10.0.0.236/trunk@121844 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 17:33:37 +00:00
rods%netscape.com
1801ad4a29 printing properties must be moved to global jar
Bug 138026 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121843 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 12:02:21 +00:00
bratell%lysator.liu.se
76194315c8 Bug 120992 - avoid expensive locking when converting numbers to strings. Now we look once for the whole operation instead of over and over again any time we access a shared structure. r=khanson@netscape.com, sr=brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@121841 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 06:21:49 +00:00
mkaply%us.ibm.com
da935ee04a #109464
r=gerv, sr=alecf, a=chofmann,brendan
OS/2 only if statement - Os/2 has different default DPI values


git-svn-id: svn://10.0.0.236/trunk@121831 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 04:01:00 +00:00
bryner%netscape.com
7ef95162ae Fix Copy Link Location. The tooltip timer was causing the document's popupNode to get nulled out. We don't actually need to set popupNode at all for tooltips, we have tooltipNode for that. Modified the menu popup code to use tooltipNode for tooltips. Bug 143607. r=hewitt, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@121829 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 03:55:16 +00:00
wtc%netscape.com
c20e6cd554 Bugzilla bug 145178: added OpenBSD build support. The patch is contributed
by Christopher Seawood <seawood@netscape.com>.
Modified Files: coreconf/config.mk sslmutex.c sslmutex.h
Added Files: coreconf/OpenBSD.mk


git-svn-id: svn://10.0.0.236/trunk@121823 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 03:24:17 +00:00
nboyd%atg.com
ed69e3e861 Fix bug:
I have noticed that attempting to call a java method like this:

public void foo(String foo, Serializable bar)
{
	// un-important details
}

from script using foo("foo", "bar"); fails because the second argument
is not deemed coercable to Serializable.  A preliminary look at the
coercion code shows that no check is made in this case with
isAssignableFrom().
The to type is only tested against StringClass and ObjectClass (non
primitive case).
(See NativeJavaObject.getConversionWeight())


git-svn-id: svn://10.0.0.236/trunk@121821 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 01:57:52 +00:00
heikki%netscape.com
b0d8992492 Bug 142788, malformed comment end was not detected in quirks mode which caused the rest of the document to be treated as a comment. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@121816 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 01:08:50 +00:00
wtc%netscape.com
ae173749da Bugzilla bug 131171: added HP-UX IPF (ia64) support. Portions of the patch
(attachment 84127) were contributed by Jim Dunn <jdunn@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@121813 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:52:11 +00:00
wtc%netscape.com
877b7389a3 Fixed typo (32 should be 64) in the previous checkin.
git-svn-id: svn://10.0.0.236/trunk@121811 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:41:20 +00:00
wtc%netscape.com
9b3d07f037 Use +DD64 instead of +DA2.0W. +DD64 works for both PA-RISC and IA-64.
git-svn-id: svn://10.0.0.236/trunk@121810 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:40:27 +00:00
cotter%netscape.com
be88ad8747 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; misc. privacy & security
git-svn-id: svn://10.0.0.236/trunk@121807 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:38:01 +00:00
rpotts%netscape.com
c8b67b2d03 bug #145181 (r=bryner, sr=jst). Fix tab browsing after the patch for bug #46856
git-svn-id: svn://10.0.0.236/trunk@121805 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:26:45 +00:00
jst%netscape.com
9dc48e1db8 Fixing bug 131841. Don't make calls on weak XPCOM (nsIPresShell in this case) pointers since the objects might go away during the call, this lead to a crash in this particular case. r=sicking@bigfoot.com, sr=vidur@netscape.com, brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@121802 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:02:50 +00:00
seawood%netscape.com
0a83abb080 Workaround the fact that OpenBSD doesn't have certain error defines.
Bug #145136 r=dmose


git-svn-id: svn://10.0.0.236/trunk@121800 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 23:51:37 +00:00
seawood%netscape.com
edc3e79ee6 Sync config.guess & config.sub with official GNU copies.
Bug #140869 r=bryner


git-svn-id: svn://10.0.0.236/trunk@121799 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 23:44:58 +00:00
sspitzer%netscape.com
2c98b0ad4b fix for #76415. wrong icon for unread column for unread message.
thanks to betz2010@netscape.net for the gif.  r/sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@121798 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 23:41:56 +00:00
ducarroz%netscape.com
a038cce82b Fix for bug 59673. Patch v4 submitted by Aleksey Nogin <ayn2@cornell.edu>. Fix compiler warning about variables not initialized before beeing used. R=ducarroz, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@121797 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 23:31:54 +00:00
ducarroz%netscape.com
51bf2fbc99 Fix for bug 144257. We should skip out-commented html when looking for entities. R=varada, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@121795 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 23:04:12 +00:00
depstein%netscape.com
bd012f9001 added nsIWebBrowser menu and UI for test cases
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@121794 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 23:03:43 +00:00
yokoyama%netscape.com
193b67719c Bug 139248
Patch to stop fontdownload dlg in mail/news
r=nhotta; sr=mscott checking in for smontagu


git-svn-id: svn://10.0.0.236/trunk@121792 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 22:58:46 +00:00
peterv%netscape.com
5f6c074d1e Removing unused file. r=sicking. Doesn't affect default build.
git-svn-id: svn://10.0.0.236/trunk@121791 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 22:48:12 +00:00
jst%netscape.com
01d39954de Checking in jband's fix for bug 143853. Make sure to refresh the cached prototype JSObject when a context is reinitialized and a global object is reused between pages in a window. r=dbradley@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121790 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 22:36:54 +00:00
jst%netscape.com
408871e30b Fixing bug 145064. Don't throw exceptions when asking for .pathname n' friends on types of URI's that don't support the property in question. r=bzbarsky@mit.edu, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121789 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 22:31:23 +00:00
nhotta%netscape.com
808bd62ecf Use "sourceTextEncoding" to convert search name and description,
bug 92314, r=rjc, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@121788 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 22:30:50 +00:00
naving%netscape.com
5ab02d0031 fixing a warning from last checkin
git-svn-id: svn://10.0.0.236/trunk@121787 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 22:29:51 +00:00
sicking%bigfoot.com
54d6cba7b2 Bug 134295: Make position() work together with xsl:sort again. This will put back some problems with attribute-nodes, but those problems should be much less common then the current situation.
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@121786 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 22:25:06 +00:00
jst%netscape.com
1116447966 Fixing bug 141442. Make window.openDialog() overridable from web content, and move the security check into the actual method implementation. r=mstoltz@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121785 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 22:24:06 +00:00
cmanske%netscape.com
bec604989c Remove unnecessary utilities to enable/disable ui elements. fix by neil@parkwaycc.co.uk, b=144955, r=cmanske, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@121784 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:50:04 +00:00
mcafee%netscape.com
f5022448b6 Adding --skip-core-cvs option, useful for hacking on this script.
git-svn-id: svn://10.0.0.236/trunk@121782 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:32:20 +00:00
wtc%netscape.com
4c223d939b Bugzilla bug 145128: fixed a typo error in sec_pkcs5_rc4(). Also simplfied
two other similar constructs.  r=relyea.


git-svn-id: svn://10.0.0.236/trunk@121780 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:29:27 +00:00
hewitt%netscape.com
0917e34b31 126480 - autocomplete popup doesn't appear the first time you type, r=ben, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@121779 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:24:48 +00:00
hewitt%netscape.com
85e23086ef 130448 - urlbar history popup mislocated if you have a long url in it (patch by schoepf@in.tum.de), r=ben, sr=me
git-svn-id: svn://10.0.0.236/trunk@121778 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:23:36 +00:00
oeschger%netscape.com
fcdf92419e content update, check-in dispensation per 122806, fixes 138763, duplicate paragraph in mail_help. Plus removed references to IM.
git-svn-id: svn://10.0.0.236/trunk@121777 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:19:49 +00:00
mscott%netscape.com
d6c978090a Fix Mac breakage.
git-svn-id: svn://10.0.0.236/trunk@121776 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:12:57 +00:00
cavin%netscape.com
9fd6ab2b21 Fix for 145336. Create keys for cards created from list members. r=dmose, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@121773 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 20:46:42 +00:00
mostafah%oeone.com
17d5181054 Adding first version of oeICalTodo component
git-svn-id: svn://10.0.0.236/trunk@121772 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 20:44:37 +00:00
cavin%netscape.com
993b9d903f Fix for #91295. Map Eudora address entries which has two or more email addresses to lists. r=sspitzer, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@121771 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 20:18:39 +00:00
kaie%netscape.com
6fe2eabf6f b=143532 Only allow toggling FIPS when it is safe to
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121769 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 19:56:11 +00:00
ducarroz%netscape.com
3a3a0df8d3 Fix for bug 142672. We should not display an alternative part without a content-type. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@121768 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 19:47:50 +00:00
rods%netscape.com
de923fc396 Removing debug line for setting dialog title.
Bug 145037 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@121767 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 19:25:51 +00:00
ian.mcgreer%sun.com
0143d73ab4 bug 144448, incorrect use of ## operator in creating CKFW entry points
git-svn-id: svn://10.0.0.236/trunk@121766 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 18:57:34 +00:00
naving%netscape.com
916b3697ee 139576 r=bienvenu sr=mscott Fixing a performance regression in downloading pop3 mail on MAC and other platforms (not win32 & linux). This was because seek is expensive, atleast on mac. Made it so that we
seek whenever absolutely necessary.


git-svn-id: svn://10.0.0.236/trunk@121765 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 18:41:38 +00:00
pinkerton%netscape.com
e1cc6c2308 Hooking up security lock icon notification in the UI. Works as you
switch tabs as well.


git-svn-id: svn://10.0.0.236/trunk@121764 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 18:24:03 +00:00
mikep%oeone.com
e374b550aa Adding in select all function, bug 145115
git-svn-id: svn://10.0.0.236/trunk@121757 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 13:16:14 +00:00
sspitzer%netscape.com
7016c92313 fix for #137916. cleanup directory server properties dialog.
r=walk84 sr=sspitzer, patch by andreas.premstaller@uibk.ac.at


git-svn-id: svn://10.0.0.236/trunk@121754 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 07:56:20 +00:00
depstein%netscape.com
93314d0ddf uploading nsIWebBrowser test cases
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@121747 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 06:01:52 +00:00
heikki%netscape.com
383d357977 Bug 137628, depending on network speed the contents of comments could appear on a page in strict mode. Treat unclosed comment in strict mode as text. Fix line numbers in case we need to wait for more content before parsing. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@121745 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 05:38:46 +00:00
cmanske%netscape.com
99651d937e Finished 'Clone' method for copying JS objects, b=135834, r=akkana, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@121744 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 04:48:21 +00:00
cmanske%netscape.com
539762aa80 Fixed list number style bug 131791, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@121743 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 04:46:06 +00:00
cmanske%netscape.com
0d24e53832 Remove unnecessary method AppendLabelAndValueToMenuList, b=144956, fix by neil@parkwaycc.co.uk, r=cmanske, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@121742 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 04:42:21 +00:00
sspitzer%netscape.com
d8b600b4b6 fix for #145162. folder properties dialog does not match spec.
r=jglick, rs=bienvenu


git-svn-id: svn://10.0.0.236/trunk@121741 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 04:39:51 +00:00
aaronl%netscape.com
467bd48ce3 Bug 130969. Active accessibility: fix MSAA focus events. r=bryner, saari. sr=jst
git-svn-id: svn://10.0.0.236/trunk@121740 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 04:04:24 +00:00
aaronl%netscape.com
002526cf90 Bug 134787. Active Accessibility: support XBL checkbox (first XBL-based HTML form control to be supported). r=jgaunt, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121739 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 04:03:12 +00:00
cmanske%netscape.com
4d019d22a4 Backing out changes to files accidentally checked in!
git-svn-id: svn://10.0.0.236/trunk@121738 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 03:39:21 +00:00
shrutiv%netscape.com
81426be033 Fix for bug 13653: Need to add turbo pref (default to OFF) (r=smeredith)
git-svn-id: svn://10.0.0.236/trunk@121737 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 03:30:49 +00:00
cmanske%netscape.com
f6807c297e Fixed spell check bugs 142597 (dictionary names not localized, r=andreww, sr=hewitt) and 112732 (added accesskeys, r=neil@parkwaycc.co.uk, sr=hewitt) EdSpellCheck.xul EdSpellCheck.js EdDictionary.xul EdDictionary.js
git-svn-id: svn://10.0.0.236/trunk@121736 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 03:27:45 +00:00
dbaron%fas.harvard.edu
c53c56f3f7 Make GetImplementationFlags more useful/extensible by changing the default implementation to return zero rather than returning the flags from the shared buffer handle, and add a constant for one expected future use. b=109571 r=jag sr=scc
git-svn-id: svn://10.0.0.236/trunk@121733 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 02:53:34 +00:00
locka%iol.ie
d01d5ea51f Check for duplicate names when saving subframes. b=142846 r=brade@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121732 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 02:47:10 +00:00
jfrancis%netscape.com
90c6f46b66 fix for 144787: multiple breaks inserted on return. r=fm;sr=kin
git-svn-id: svn://10.0.0.236/trunk@121731 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 02:44:55 +00:00
dbaron%fas.harvard.edu
d9f83ac480 Null-check mBindingTable to avoid crash with some themes. b=143835 r=brendan sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121729 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 02:33:03 +00:00
kaie%netscape.com
8d5d864502 b=142096 Message Security box does not display all recipients
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/trunk@121728 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 02:27:39 +00:00
dbaron%fas.harvard.edu
2f3ccaa13b Rename a variable so that we can build on gcc 3.1. r=cls sr=jst b=139089
git-svn-id: svn://10.0.0.236/trunk@121727 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 02:22:22 +00:00
bienvenu%netscape.com
01334fc792 show message if imap server doesn't support sharing in sharing tab of folder props r=naving, sr=sspitzer 135860
git-svn-id: svn://10.0.0.236/trunk@121724 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 01:58:54 +00:00
locka%iol.ie
9fb4bb0280 Reinstate keyword fixup code to fix regression. b=143080 r=valeski@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121723 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 01:58:45 +00:00
cavin%netscape.com
5f14c697bf Fix for 123068. Added SMTP server name to NS_ERROR_SMTP_SEND_FAILED and NS_ERROR_COULD_NOT_LOGIN_TO_SMTP_SERVER error strings. r=ducarroz, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@121722 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 01:50:30 +00:00
bzbarsky%mit.edu
06f2047388 Restrict the fix for bug 116938 to Windows-only to preserve OS/2 and
Linux users' sanity.  Bug 144923, r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@121720 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 01:34:29 +00:00
kaie%netscape.com
ba0ec084d8 b=144823 Localized certificate name is garbled, unable to send out signed/encrypted mail on a localized build
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/trunk@121719 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 01:21:31 +00:00
kaie%netscape.com
39befe7d20 b=120939 Make clear that both encryption and signing certs are required to configure s/mime.
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/trunk@121718 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 01:12:49 +00:00
kyle.yuan%sun.com
3739e65bc3 Bug 133366 Type letters to navigate XUL tree
Enhanced the event handler for keypress.
Disabled keypress navigation in mailnews' thread pane.


git-svn-id: svn://10.0.0.236/trunk@121715 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:54:38 +00:00
kyle.yuan%sun.com
5cc26f3617 Bug 133365 Type letters to navigate XUL listbox
Adde new event handler for keypress event


git-svn-id: svn://10.0.0.236/trunk@121714 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:50:01 +00:00
cotter%netscape.com
2078ec04b8 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; index tags & some content updates
git-svn-id: svn://10.0.0.236/trunk@121709 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:47:39 +00:00
oeschger%netscape.com
c868f2e297 adding some entries to search db for help, dispensation per 122806, r=cotter
git-svn-id: svn://10.0.0.236/trunk@121708 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:44:53 +00:00
oeschger%netscape.com
a352345d4b removing an unused html file from the build, dispensation per 122806, r=cotter
git-svn-id: svn://10.0.0.236/trunk@121707 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:43:08 +00:00
relyea%netscape.com
62d20bc510 Fix Linux and Solaris builds
git-svn-id: svn://10.0.0.236/trunk@121705 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:39:26 +00:00
kaie%netscape.com
099984547a b=104502 Updated icons for S/Mime security
icons=marlon  r=kaie  sr=mscott


git-svn-id: svn://10.0.0.236/trunk@121704 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:35:14 +00:00
law%netscape.com
93531ad76c Bugs 129614/129604/137676; ensure all download errors are shown to user (and fix download manager quirk so it doesn't think all downloads are 0kb of 0kb); r=bzbarsky, sr=blake
git-svn-id: svn://10.0.0.236/trunk@121703 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:31:53 +00:00
despotdaemon%netscape.com
9c216c0ab0 Pseudo-automatic update of changes made by kyle.yuan@sun.com.
git-svn-id: svn://10.0.0.236/trunk@121702 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:30:13 +00:00
pinkerton%netscape.com
a12c7f7407 explicitly set locale in installed-chrome.txt for embedding packaging. r=ccarlen/sr=beard/a=valeski bug 144866.
git-svn-id: svn://10.0.0.236/trunk@121701 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:20:38 +00:00
bzbarsky%mit.edu
5a398331a8 Fix positioning of fixed and absolute positioned blocks with auto left
or top.  Bug 126213, r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121700 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:05:27 +00:00
bienvenu%netscape.com
301966befa fix mark all read when we do get previous neww messages r/sr =sspitzer 64480
git-svn-id: svn://10.0.0.236/trunk@121697 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 23:53:40 +00:00
rpotts%netscape.com
b52563b316 bug #46856. r=valeski, sr=darin) nsIWebProgress/nsIWebProgressListener API changes.
git-svn-id: svn://10.0.0.236/trunk@121696 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 23:41:59 +00:00
akkana%netscape.com
e57f658210 134275: make find stop at table cell boundaries. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@121695 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 23:30:59 +00:00
smeredith%netscape.com
9e8af60239 For timebomb.
git-svn-id: svn://10.0.0.236/trunk@121694 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 23:24:22 +00:00
varada%netscape.com
57cd07ccee fix for 130036;in offline mode ctrl-enter should do send later;r=ducarroz;sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@121690 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 22:57:12 +00:00
naving%netscape.com
382a908ca7 144330 r=cavin sr=bienvenu. Make biff work when turbo is on and when we shutdown in one profile and start up
with another profile


git-svn-id: svn://10.0.0.236/trunk@121689 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 22:49:51 +00:00
rpotts%netscape.com
b3fe143df7 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
git-svn-id: svn://10.0.0.236/trunk@121688 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 22:35:31 +00:00
relyea%netscape.com
2d6d8be629 The tip is now NSS 3.6, make sure new builds properly indicate this
git-svn-id: svn://10.0.0.236/trunk@121687 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 22:12:37 +00:00
relyea%netscape.com
a22725ee80 Add PK11_GetPBEIV to exported symbol list.
git-svn-id: svn://10.0.0.236/trunk@121686 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 22:12:10 +00:00
relyea%netscape.com
c79d693488 Add function to get the PBEIV.
git-svn-id: svn://10.0.0.236/trunk@121685 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 22:06:19 +00:00
relyea%netscape.com
2a643985f6 Add support to turn on or off optimizations based on parameters to NSS_Init functions
git-svn-id: svn://10.0.0.236/trunk@121684 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 22:05:17 +00:00
relyea%netscape.com
41215b834a Make a single softoken which works for both servers and clients depending on configuration.
Add the _PAD functions to the internal database token.


git-svn-id: svn://10.0.0.236/trunk@121683 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 22:04:12 +00:00
rpotts%netscape.com
a05ef325f8 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
git-svn-id: svn://10.0.0.236/trunk@121682 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 21:46:18 +00:00
rpotts%netscape.com
fddbe0a4e7 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
git-svn-id: svn://10.0.0.236/trunk@121681 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 21:22:23 +00:00
srilatha%netscape.com
bd955d9aab Fix for bug # 129610. Simple Mapi Pref does not get saved if the pref window is launched from mail
r=rdayal@netscape.com, sr=mscott@netscape.com


git-svn-id: svn://10.0.0.236/trunk@121679 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 21:19:45 +00:00
rjesup%wgate.com
b33bd08ac0 Bug 145061: errno == ESRCH test is backwards; old profile locks not cleared
in Unix.  r=rjesup, sr=blizzard, patch by brendan.  Checkin in for him.


git-svn-id: svn://10.0.0.236/trunk@121678 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 21:17:27 +00:00
dcone%netscape.com
618d37f48f Update to the debug plugin. This is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@121676 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 21:04:27 +00:00
yokoyama%netscape.com
fd4996cb64 Bug 118179
FTP directory listing is broken for Japanese text
/r=bbaetz, /sr=darin


git-svn-id: svn://10.0.0.236/trunk@121675 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 21:00:48 +00:00
rpotts%netscape.com
07329cd38e bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
git-svn-id: svn://10.0.0.236/trunk@121674 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:57:37 +00:00
rods%netscape.com
031b1251a3 Printing and Print Preview Tests
git-svn-id: svn://10.0.0.236/trunk@121673 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:49:34 +00:00
relyea%netscape.com
4cf82fda48 Argh. I thought I had compiled this! fixe compile errors.
git-svn-id: svn://10.0.0.236/trunk@121672 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:48:27 +00:00
av%netscape.com
4cde48abd7 Fixing 143178 -- refreshing plugins before going to the plugin finder sevice, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@121671 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:47:29 +00:00
av%netscape.com
1219086da7 Fixing 143178 -- refreshing plugins before going to the plugin finder sevice, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@121670 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:41:26 +00:00
relyea%netscape.com
63cbe3d0ea Add Transactions (still need to add transactions on database upgrade).
Make trust objects their own objects to reduce a couple of unnecessary cert decodes.


git-svn-id: svn://10.0.0.236/trunk@121669 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:39:04 +00:00
dbaron%fas.harvard.edu
d7e353055e Fix to fix for bug 134580: quirks mode line height must ignore all whitespace at the beginning of the line, not just what happens to be in the first text node. b=134580 sr=waterson r=attinasi
git-svn-id: svn://10.0.0.236/trunk@121668 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 19:44:20 +00:00
jkeiser%netscape.com
2f9a0e53c7 Make option text show up when option changes. bug 136885, r=rods@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121666 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 19:27:13 +00:00
rbs%maths.uq.edu.au
517c23e256 bring back the disappearing smilies, b=144556, r=brade, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121665 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 19:19:44 +00:00
ccarlen%netscape.com
1357b1a684 Bug 144930 - Profile dialog pops up on every launch with QuickLaunch. Regression from bug 76431. r=rjesup@wgate.com/sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@121663 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 19:16:31 +00:00
seawood%netscape.com
7fd4ec7eff Override compile flags instead of appending them for profile, coverage & trace-malloc builds. This should fix the talkback line number issue.
Bug #141834 r=leaf sr=jdunn


git-svn-id: svn://10.0.0.236/trunk@121662 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 19:02:45 +00:00
rods%netscape.com
1f80744640 Missed the mailnews dir for previous patch and checkin
Bug 144128 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@121661 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 18:48:50 +00:00
jkeiser%netscape.com
de1df5e67d Make textarea wrap="hard" not wrap text for restore/JS (only submit and edit). bug 74091, r=rods@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121660 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 18:26:05 +00:00
dbaron%fas.harvard.edu
9ebb9d2ce4 Speed up IMAGE_CheckForPermission by (1) caching the 'imageblocker.enabled' pref and using a pref-changed callback and (2) not getting the warning message from the string bundle and formatting it with nsTextFormatter::smprintf until we know we're going to display the warning dialog. Also do (2) in nsCookies since they share the same permission checking code (Permission_Check). b=143918 r=morse sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121659 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 18:00:39 +00:00
despotdaemon%netscape.com
a443257bbd Pseudo-automatic update of changes made by ere@atp.fi.
git-svn-id: svn://10.0.0.236/trunk@121658 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 17:50:30 +00:00
pinkerton%netscape.com
800edbb5cd Fix dougt's nsCRT bustage.
git-svn-id: svn://10.0.0.236/trunk@121657 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 17:38:26 +00:00
wtc%netscape.com
afb76f7391 Bug 131171: added HP-UX 11.20 support.
git-svn-id: svn://10.0.0.236/trunk@121654 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 17:35:41 +00:00
despotdaemon%netscape.com
6a8b3aff97 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@121653 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 17:22:03 +00:00
despotdaemon%netscape.com
52be911e15 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@121652 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 16:50:45 +00:00
blizzard%redhat.com
4a3feb521f Fix gtk2 build bustage. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@121648 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 16:21:00 +00:00
mkaply%us.ibm.com
529090b2b1 #141528
r=bzbarsky, sr=blizzard, a=chofmann
OS/2 only - new helper app code - more like unix - new protoocl handler code


git-svn-id: svn://10.0.0.236/trunk@121634 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:32:19 +00:00
bienvenu%netscape.com
44d90487f1 fix warning about possible use of unitialized var, r=naving, sr=sspitzer 127289
git-svn-id: svn://10.0.0.236/trunk@121631 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:24:36 +00:00
bienvenu%netscape.com
9fe2b7f12b fix problem with threads with unread msgs only view where unread header gets added to thread not in view, and ends up with collapsed bit set in db, r=naving, sr=sspitzer 123858
git-svn-id: svn://10.0.0.236/trunk@121630 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:23:17 +00:00
brade%netscape.com
4d31d69c62 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@121625 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:06:58 +00:00
jefft%netscape.com
29232d5604 fixed bug 129418 - MDN:Switching identity should retain request for MDN receipt options; r=ducarroz,sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@121623 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 14:01:21 +00:00
rods%netscape.com
8776ddd71b Adds a new arg to the PP call. The new arg is not being used, it is
for future and is needed for the API freeze.
Bug 144716 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121621 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:51:54 +00:00
dbaron%fas.harvard.edu
6ebd080e55 Clean up FindFrameWithContent. No need to search children of special frames too (hang bug 140275). Use special sibling when next-in-flow isn't available, and use the hint even when we have special frames. Convert gotos into additional while loop. Turn useless :after check into assertion. Don't modify aParentFrame and aParentContent for when the hint fails. b=140275 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121620 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:39:44 +00:00
wtc%netscape.com
836a983bd1 Bugzilla bug 138532: use pipes instead of semaphores for NetBSD, which does
not have semaphore.h.  Thanks to Chris Seawood <seawood@netscape.com> for
the patch.  Modified files: sslmutex.h sslmutex.c


git-svn-id: svn://10.0.0.236/trunk@121619 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:36:03 +00:00
dbaron%fas.harvard.edu
4f72a32cd9 Attempt to refix bug 118014 crash by removing SetUndisplayedPseudoIn and doing run-time checks that we're not inserting the same node into the undisplayed map twice. b=136704 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121617 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:30:57 +00:00
wtc%netscape.com
d9db710e44 Bugzilla bug 133753: added support for AIX 5.1 to security/coreconf.
git-svn-id: svn://10.0.0.236/trunk@121614 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:12:33 +00:00
rginda%netscape.com
b0faa02072 - chatzilla only -
bug 143503, "long channel topic isn't wrapped properly"
r=samuel@sieb.net, sr=shaver@mozilla.org, a=leaf@mozilla.org
insert spaces in long topic words so things can wrap.

bug 140088, "Chatzilla is crashing when switching tabs."
r=samuel@sieb.net, sr=shaver, a=rjesup@wgate.com
don't touch the tree selection while the tree is hidden.


git-svn-id: svn://10.0.0.236/trunk@121611 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 10:49:25 +00:00
peterlubczynski%netscape.com
b2403a4a88 Fixing keyboard events with full page plugins on Mac bug 143316 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121610 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 06:43:03 +00:00
oeschger%netscape.com
59663c21ba restoring/adding help buttons to account manager and mailnews dialogs, bug=129540, r=racham, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121608 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 05:48:33 +00:00
oeschger%netscape.com
8b3f1e8a3d adding a help button to page info, bug=140466, r=racham, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121607 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 05:40:57 +00:00
wtc%netscape.com
b90d0bfa19 Fixed build breakage on BeOS -- made the ifdef match the one in sslsnce.c.
git-svn-id: svn://10.0.0.236/trunk@121606 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 05:32:30 +00:00
jaggernaut%netscape.com
644f73736f Bug 139649: Fix IsDependentOn, I forgot to make the ptr and ptr, length based Assign, Append and Insert go through the dependency checks. r=alecf, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@121604 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 04:35:00 +00:00
igor%mir2.org
4c5f340966 In evalSpecial do not allocate int[] buffer Context.getSourcePositionFromStack if line number is already known
git-svn-id: svn://10.0.0.236/trunk@121603 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 04:18:56 +00:00
igor%mir2.org
ccd0df1a7b In jsConstructor use single StringBuffer to build function source
git-svn-id: svn://10.0.0.236/trunk@121602 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 04:17:04 +00:00
kaie%netscape.com
368f1596b1 b=129067 Deleted certs still appear in Cert Manager.
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121600 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 04:03:19 +00:00
kaie%netscape.com
6057d8ceae b=129067 Backing out unreliable patch.
See bugzilla for details.
Better patch will be checked in a minute.


git-svn-id: svn://10.0.0.236/trunk@121599 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:59:36 +00:00
kaie%netscape.com
cfaa81bf8d b=136948 Give better feedback when no valid certs for S/Mime are available
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/trunk@121598 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:51:37 +00:00
mkaply%us.ibm.com
a92f393710 #97861
r=cls
OS/2 only - add OS/2 specific nsTransform2D so Os/2 builds don't suck


git-svn-id: svn://10.0.0.236/trunk@121597 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:42:07 +00:00
kaie%netscape.com
89402e216a b=144056 security state not reset after loading about:blank pages
r=javi sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@121596 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:39:59 +00:00
timeless%mac.com
156b779047 Bug 18266 Query IMAP folders other than INBOX for new msgs
patch by ere@atp.fi r=bienvenu sr=scc


git-svn-id: svn://10.0.0.236/trunk@121595 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:32:20 +00:00
timeless%mac.com
9ab5ff7ba7 Bug 136756 http://bugzilla.mozilla.org/show_bug.cgi?id=136756#c29
from the book of this can't be good by leaf

bonsai answer's leaf's question thusly:
No files matched this file name. It may have been added recently.
it does indicate that a file by the correct spelling exists...


git-svn-id: svn://10.0.0.236/trunk@121594 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:26:40 +00:00
mkaply%us.ibm.com
70313566ef #143674
r=me, sr=blizzard
OS/2 - change splash from Warpzilla to Mozilla


git-svn-id: svn://10.0.0.236/trunk@121593 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:24:07 +00:00
smeredith%netscape.com
dc8e8bcb26 Simplified the timebomb code a little to ease the build script problems.
git-svn-id: svn://10.0.0.236/trunk@121592 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:19:14 +00:00
stephend%netscape.com
e032916150 Bug 141678. Aligning the text on the colorpickers. Patch by Stephen Walker <walk84@yahoo.com> r=me, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@121591 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:09:41 +00:00
pete.zha%sun.com
5894b69ba2 bug 143168:remove ilayer layer tag from mozilla code
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com)'s fix


git-svn-id: svn://10.0.0.236/trunk@121590 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:08:15 +00:00
stephend%netscape.com
31ea9be8d9 Bug 127337. Restore Default for Home Page button in Navigator. Patch by Stephen Walker <walk84@yahoo.com> r=samir, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@121589 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 02:56:26 +00:00
rbs%maths.uq.edu.au
ed6af20424 sync the CSS mapping of MathML attributes that affect the style (e.g. color) when these attributes are changed dynamically, b=142592, r=roc, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121587 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 01:11:09 +00:00
law%netscape.com
501a96a7c3 Bug 14807; handle WM_QUERYENDSESSION (Windows logoff/session) using -killAll; r=sgehani@netscape.com, sr=blaker@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121585 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 01:02:15 +00:00
bienvenu%netscape.com
3ff1450226 backing out last checkin
git-svn-id: svn://10.0.0.236/trunk@121584 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 00:53:09 +00:00
bienvenu%netscape.com
8b2d3fbe6c fix mork warnings on linux, r=bienvenu, sr=sspitzer, patch by godsham@ntsource.com
git-svn-id: svn://10.0.0.236/trunk@121583 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 00:51:31 +00:00
blythe%netscape.com
9a78faa885 Wallet category
git-svn-id: svn://10.0.0.236/trunk@121582 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 00:46:00 +00:00
pinkerton%netscape.com
34fdcea7a5 Remove the "my panels" sidebar panel.
git-svn-id: svn://10.0.0.236/trunk@121581 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 00:34:56 +00:00
akkana%netscape.com
a199243cff 46227: eliminate extra spaces inserted switching between normal and source modes of composer. Patch is from burpmaster@truffula.net, r=akk, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121580 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 00:32:40 +00:00
nhotta%netscape.com
56b9d37357 Changed GetTopmostMsgWindow, added pointer checks after the dom function calls,
bug 144735, r=ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@121579 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 00:31:56 +00:00
jpierre%netscape.com
331684f97b Fix for 141256 - correct HTTP parsing for OCSP in NSS
git-svn-id: svn://10.0.0.236/trunk@121578 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 23:59:40 +00:00
dougt%netscape.com
0cc68ec556 fixing bustage in cvg
git-svn-id: svn://10.0.0.236/trunk@121575 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 23:16:29 +00:00
mkaply%us.ibm.com
99e69ce6b7 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@121574 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 23:14:20 +00:00
pinkerton%netscape.com
6f38580f45 Fix for bug 144848, crash opening sidebar. we were caching the sidebar toolbar
button in the wrong place, so we'd end up holding onto the button we created
to display in the toolbar cust dialog, and then when it went away, bad things
would happen when next tried to update it.


git-svn-id: svn://10.0.0.236/trunk@121573 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 23:07:50 +00:00
timeless%mac.com
5cbf7bbcad fixing build bustage for qnx photon embedding
this is from the nsI*File freeze


git-svn-id: svn://10.0.0.236/trunk@121572 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 23:03:01 +00:00
dougt%netscape.com
9cafee40f8 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@121571 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 22:54:08 +00:00
dougt%netscape.com
d0d68d5fa2 attempting to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@121570 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 22:37:21 +00:00
waterson%netscape.com
d6944c48fa Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@121568 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 22:21:15 +00:00
timeless%mac.com
2976361bba fixing directory bustage (nsCRT string)
/home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp: In method `nsresult nsLDAPChannel::OnLDAPBind(nsILDAPMessage *)':
/home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp:796: syntax error before `::'
/home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp:798: confused by earlier errors, bailing out
gmake[4]: *** [nsLDAPChannel.o] Error 1
gmake[4]: Leaving directory `/home/timeless/mozilla/obj-xlib-i386-unknown-freebsd4.4/directory/xpcom/base/src'

if (nsCRT::strlen(baseDn) == 0) {


git-svn-id: svn://10.0.0.236/trunk@121567 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 22:20:44 +00:00
igor%mir2.org
e9390a105e Check in generateFunctionICode for own source to pass to debugger to cover new Function(...) case where top level function is not part of surrounding script
git-svn-id: svn://10.0.0.236/trunk@121563 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 21:27:46 +00:00
timeless%mac.com
487d41c0ae fixing xlib build bustage
nsDeviceContextSpecXlib.cpp - bustage (PL_strcasecmp) from string freeze
nsDeviceContextSpecXlib.h - bustage (PATH_MAX) from revision 1.10 Bug 120916


git-svn-id: svn://10.0.0.236/trunk@121562 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 21:21:57 +00:00
ducarroz%netscape.com
e6f5ae32e6 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@121561 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 21:21:33 +00:00
dougt%netscape.com
dbabf259c7 Fixing svg build bustage
git-svn-id: svn://10.0.0.236/trunk@121560 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 21:21:07 +00:00
dougt%netscape.com
6d0e8153ba fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@121559 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 21:14:41 +00:00
dougt%netscape.com
dce464a67b attempting to fix os2 bustage
git-svn-id: svn://10.0.0.236/trunk@121556 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 21:09:40 +00:00
dougt%netscape.com
a558fa74cb Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@121555 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 21:04:39 +00:00
sspitzer%netscape.com
475d9a8ef2 fix for #101016. installer fails with certain versions of bash
because we are trying to do getcwd() from a deleted directory.
thanks to zackw@panix.com for the help, and seawood@netscape.com
for the patch.  r=syd, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@121554 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 21:02:43 +00:00
dougt%netscape.com
5e3c7a3b9a fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@121551 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:48:15 +00:00
dougt%netscape.com
8ed8f43051 fixing build bustage...
git-svn-id: svn://10.0.0.236/trunk@121550 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:44:51 +00:00
harishd%netscape.com
6781fe20d2 Making sure that mCountRemaining also gets updated when data gets inserted into the scanner buffer. b=117441, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121548 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:20:55 +00:00
bzbarsky%mit.edu
2a7d5994ae Add a "new directory" button to the XP filepicker. Bug 58311, patch by
johann@ai.univie.ac.at, r=bzbarsky, sr=jag


git-svn-id: svn://10.0.0.236/trunk@121547 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:19:12 +00:00
ducarroz%netscape.com
091e637cb7 Fix for bug 134277. Better managment (encoding/decoding) of double-quote in addresses. R=taka, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@121546 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:17:48 +00:00
dougt%netscape.com
9328ab89eb fixing macX build bustage
git-svn-id: svn://10.0.0.236/trunk@121545 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:17:12 +00:00
bzbarsky%mit.edu
7a3a458150 make view-source work on sites sending no content-type header. Bug
86835, r=bbaetz, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@121544 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:09:07 +00:00
darin%netscape.com
9fc573450a fixes bug 134793 "browser hangs when [ is put in the URL bar"
r=gagan sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@121543 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:07:48 +00:00
mkaply%us.ibm.com
811dc772df #142619
r=Roland.Mainz@informatik.med.uni-giessen.de, sr=attinasi
Initial num copies from queried value, don't just use 1


git-svn-id: svn://10.0.0.236/trunk@121542 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:03:28 +00:00
dbaron%fas.harvard.edu
4a66bff07d Give nsHTMLReflowState an explicit copy-constructor and assignment operator to fix up mCBReflowState and fix regressions from previous patch. b=143706 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121541 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 19:58:20 +00:00
varga%utcru.sk
a396d6462b Fix for bug 142404 - nsXULTreeBuilder::Drop should enable drop if canDropBeforeAfter is true
r=varga, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@121540 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 19:51:08 +00:00
brendan%mozilla.org
479af8befa Checking in khanson@netscape.com's patch fixing GMT offset day-overflow (65671, r=mccabe, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@121539 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 19:44:34 +00:00
dougt%netscape.com
3fb5c7c9b2 udp is not ready for prime time. backing out to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@121538 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 19:33:25 +00:00
mcafee%netscape.com
74ba6a308f Starting a kill-file for modules, don't build mozldap.
git-svn-id: svn://10.0.0.236/trunk@121537 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 19:21:29 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
ccarlen%netscape.com
a00f9461f3 Bug 76431 - Protect profiles from multiple instances sharing the same profile. r=brendan/sr=darin
git-svn-id: svn://10.0.0.236/trunk@121532 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 14:30:00 +00:00
morse%netscape.com
85f70912e1 not part of build, removing confusion caused by obsolete file
git-svn-id: svn://10.0.0.236/trunk@121531 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 14:13:46 +00:00
morse%netscape.com
ef383135ed bug 140625, wallet wording change to reflect new menu structure, r=sgehani, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@121530 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 14:05:52 +00:00
morse%netscape.com
514ca4d7ee bug 143204, crash in password manager, r=sgehani, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@121529 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 13:56:30 +00:00
morse%netscape.com
23b6ea1e26 bug 138132, reverse sort order in cookie manager when using p3p, r=sgehani, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@121528 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 13:46:54 +00:00
mikep%oeone.com
c6d649f99e Fixing bug 144724, adding in dialog event keys.
git-svn-id: svn://10.0.0.236/trunk@121527 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 12:28:25 +00:00
pavlov%netscape.com
dd0c3018e4 fixing bug 142113. r=varga sr=brendan
git-svn-id: svn://10.0.0.236/trunk@121525 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 10:28:42 +00:00
rods%netscape.com
8968632944 Fixed the multi-byte strcmp
I also removed the failure check after the calls to EnumerateNativePrinters
because even if one fails, it doesn't mean the others will. So it should keep trying.
The rest of the code is extra error checking that is all ifdef'ed out
I renamed one of two methods that had the same name (to reduce confusion) and got rid of it's uneeded return code.
Bug 143241 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121524 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 09:56:32 +00:00
cbiesinger%web.de
602696e7de bug 143708 r=naving sr=bienvenu
Can't switch online/offline mode from MailNews anymore


git-svn-id: svn://10.0.0.236/trunk@121522 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 07:57:03 +00:00
darin%netscape.com
41e684261e fixes bug 141796 "Mozilla crashed in http-pipelining code Trunk M1RC2
[@ nsHttpPipeline::GetRequestSize_Locked]" r=jag sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@121521 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 05:36:04 +00:00
despotdaemon%netscape.com
ef2ab6d996 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@121520 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 05:08:41 +00:00
darin%netscape.com
ccb5ef3eb8 trying to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@121518 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 04:58:58 +00:00
sspitzer%netscape.com
d335f38218 fix for #144283. error message cleanup. r=stephend, sr=sspitzer
thanks to walk84@yahoo.com for the patch.


git-svn-id: svn://10.0.0.236/trunk@121516 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 04:35:40 +00:00
mcafee%netscape.com
04c1118a27 module name should be chrome here (143587). r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121515 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 04:06:47 +00:00
jaggernaut%netscape.com
d7c8a2d045 Bug 139649: Fix string code to use IsDependentOn instead of depending on nsAPromiseString type. r=scc, sr=darin
git-svn-id: svn://10.0.0.236/trunk@121513 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 03:28:44 +00:00
darin%netscape.com
26c8185782 fixes bug 143821 "Trunk M1RC2 crashes with bad connection
[@ nsHttpHandler::ReclaimConnection]" r=kaie sr=jag


git-svn-id: svn://10.0.0.236/trunk@121512 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 03:07:14 +00:00
bzbarsky%mit.edu
644aba347a Detect raw <META> tags as HTML. Bug 143611, r=timeless, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@121510 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 02:14:26 +00:00
seawood%netscape.com
69f92b071e Because js uses static data structures and is linked into other shared libraries, js must be built as a shared library.
Thanks to Colin Blake <colin@theblakes.com> for the original patch.
Bug #127442 r=bryner


git-svn-id: svn://10.0.0.236/trunk@121509 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 01:37:07 +00:00
jkeiser%netscape.com
cd01f90b57 Make submit() and reset() work as events. bug 144534, r=alexsavulov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121507 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 01:24:59 +00:00
bienvenu%netscape.com
4cad60ba76 remove linefeeds from offline msg message r/sr=sspitzer 144345
git-svn-id: svn://10.0.0.236/trunk@121502 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 00:30:06 +00:00
waterson%netscape.com
91a3c01b35 Bug 110112. Disable `ask me before loading images' until the feature can be implemented in a way that doesn't re-enter layout. r=morse, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@121501 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 00:19:08 +00:00
bienvenu%netscape.com
be847c4c2e fix mismatched memory free warnings, r=cavin, sr=sspitzer 143035
git-svn-id: svn://10.0.0.236/trunk@121499 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 00:12:58 +00:00
depstein%netscape.com
cfb3182fd7 remove mfcembed.htm
git-svn-id: svn://10.0.0.236/trunk@121498 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 00:10:36 +00:00
ssu%netscape.com
a87a530840 checking in patch for walk84@yahoo.com. fixing bug 100374 - Message/Move cascading menus missing some special folder icons in Classic. r=ssu sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@121497 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 23:49:22 +00:00
oeschger%netscape.com
a07603f94e adding an image to help content, r=cotter, dispensation per 122806
git-svn-id: svn://10.0.0.236/trunk@121494 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 23:37:58 +00:00
shliang%netscape.com
0cb737c855 135204 - rearranging search menus. r=sspitzer,sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@121493 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 23:18:52 +00:00
naving%netscape.com
d1329421f9 138342 r=cavin sr=bienvenu fixing undo of moving msgs from imap to local
git-svn-id: svn://10.0.0.236/trunk@121492 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 23:18:33 +00:00
akkana%netscape.com
97f207d714 71726: fix validation url for the http case
git-svn-id: svn://10.0.0.236/trunk@121491 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 23:18:11 +00:00
relyea%netscape.com
7fa18f0801 bug 133397. Move AddPermModule() inside the previously empty if statement where it belongs.
git-svn-id: svn://10.0.0.236/trunk@121490 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 23:16:16 +00:00
cotter%netscape.com
63ffb3b78a ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; updated content to match mozilla UI
git-svn-id: svn://10.0.0.236/trunk@121489 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 23:15:40 +00:00
nhotta%netscape.com
84b23264fe Moved the charset check out of "if (msgType == nsIMsgCompDeliverMode.Now || msgType == nsIMsgCompDeliverMode.Later)",
bug 142902, r=ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@121487 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 22:50:25 +00:00
cotter%netscape.com
e9dd894f27 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; page info updates for TOC.
git-svn-id: svn://10.0.0.236/trunk@121486 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 22:48:43 +00:00
ssu%netscape.com
a7548aa120 fixing bug 144483 - Message Filters menu item has conflicting access key. r=dean_tessman@hotmail.com sr=mscott
git-svn-id: svn://10.0.0.236/trunk@121484 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 22:26:09 +00:00
cbiesinger%web.de
de7fcbf094 bug 143333 patch by paper@animecity.nu r=pavlov sr=tor
Transparent Animated GIF rendered laced with garbage pixels


git-svn-id: svn://10.0.0.236/trunk@121483 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:55:15 +00:00
kaie%netscape.com
277ae6c71d b=137874 Unable to import CA cert before SSL keep alive connection is terminated
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121482 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:46:03 +00:00
bzbarsky%mit.edu
86a84f474a Fix crash on "moz-bitmap:" urls with no bitmap name. Bug 143912,
r=timeless, sr=hewitt/shaver


git-svn-id: svn://10.0.0.236/trunk@121481 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:44:02 +00:00
kaie%netscape.com
d8bb7d92e2 Backing out code from bug 102633 and the unsuccessful fix attempt from bug 137530, because the UI does not work as expected.
r=javi / sr=alecf for backing out


git-svn-id: svn://10.0.0.236/trunk@121480 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:42:54 +00:00
sspitzer%netscape.com
5c779b010e fix for #90368. when in brief header display mode, add tooltip (with email address) to display name. r=hwaara, sr=sspitzer, a=jglick. thanks to Mike Lee (tseng_mike@yahoo.com) for the patch.
git-svn-id: svn://10.0.0.236/trunk@121479 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:39:50 +00:00
mkaply%us.ibm.com
af4f7c7adf #144554
r=me, sr=blizzard
OS/2 - remove stupid code that broke mail migration


git-svn-id: svn://10.0.0.236/trunk@121477 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:35:18 +00:00
cbiesinger%web.de
00a41d8d01 bug 109862 r=pavlov sr=tor
multilayered windows icons (*.ico) dont disply in highest possible quality


git-svn-id: svn://10.0.0.236/trunk@121476 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:32:13 +00:00
waterson%netscape.com
4412c67242 Bug 143959. Now that we've figured out which box to pass through the recursion, we don't need the `aClearDirtyBits' flag anymore. This should fix the layout drop-outs in the mail three pane. r=dbaron, sr=kin
git-svn-id: svn://10.0.0.236/trunk@121475 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:27:46 +00:00
rods%netscape.com
ce71a66973 Somehow this didn't get checked in with everything else for Bug 115136
git-svn-id: svn://10.0.0.236/trunk@121474 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:25:43 +00:00
bnesse%netscape.com
4a812e2675 [Not part of build] Bring file up to date with the "Carbon7" version to ease build system changes.
git-svn-id: svn://10.0.0.236/trunk@121473 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 18:49:55 +00:00
bnesse%netscape.com
0a80798ff9 [Not part of build] change Plugins to "Plug-Ins".
git-svn-id: svn://10.0.0.236/trunk@121472 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 18:48:41 +00:00
smeredith%netscape.com
3f601ac37a Fixed bug getting the pretty value from bool prefs with choices.
git-svn-id: svn://10.0.0.236/trunk@121471 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 16:51:12 +00:00
smeredith%netscape.com
aeff8c43c9 Added timebomb code.
git-svn-id: svn://10.0.0.236/trunk@121470 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 15:25:35 +00:00
rods%netscape.com
de84818d20 Changing CID to ContractID and const char* to const char xxx[]
As part of Bug 144128


git-svn-id: svn://10.0.0.236/trunk@121469 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 14:32:42 +00:00
rods%netscape.com
c9aff94488 Static build bustage fix
git-svn-id: svn://10.0.0.236/trunk@121468 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 14:15:19 +00:00
rods%netscape.com
a601fe3a67 Missed these...fixing bustage
Bug 144128 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121467 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 13:41:11 +00:00
mikep%oeone.com
c04bd71b40 Fixing bug 144295, adding in tasks menu to calendar.
git-svn-id: svn://10.0.0.236/trunk@121466 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 13:24:00 +00:00
dbaron%fas.harvard.edu
5d19a6a9e8 Store containing block reflow state so we don't have to walk up the tree to find it every time. b=143706 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121465 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:59:55 +00:00
dbaron%fas.harvard.edu
98637bcf6e Use text-indent in max-element-size calculation (130116, 91468, 140682). Don't apply text-indent after page break to the same block (45694). b=130116 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121464 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:55:55 +00:00
rods%netscape.com
29c0c5d959 This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121463 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:05:00 +00:00
jaggernaut%netscape.com
03072ae01d Bug 132583: deal more cleanly with passing non-UTF8 strings to NS_ConvertUTF8toUCS2. r=scc, sr=darin
git-svn-id: svn://10.0.0.236/trunk@121461 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 08:27:57 +00:00
jay.yan%sun.com
064bc1b93d bug 143379 build Bustage-patch for bug 124042 broke Solaris's build, r=blizzard, sr=darin
git-svn-id: svn://10.0.0.236/trunk@121460 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 06:47:52 +00:00
dprice%netscape.com
deb61046c4 84763 - r=ssu sr=dveditz
fix buffer overrun and avoid error case with http downloads


git-svn-id: svn://10.0.0.236/trunk@121459 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 05:37:06 +00:00
dprice%netscape.com
6d7b30a036 66722 r=danm sr=dveditz
fix a return value


git-svn-id: svn://10.0.0.236/trunk@121458 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 05:35:02 +00:00
leaf%mozilla.org
d40bda0019 Automated update
git-svn-id: svn://10.0.0.236/trunk@121457 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 05:26:03 +00:00
seawood%netscape.com
06bac5dd16 If --disable-md is given, do not use gcc's -include directive as it screws up dependencies.
Bug 140171 r=bryner


git-svn-id: svn://10.0.0.236/trunk@121456 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 05:18:16 +00:00
mkaply%us.ibm.com
ef28bb9071 #114891
r=nhotta, sr=blizzard, a=rjesup
New enum for specifying charset of 4.x prefs.js


git-svn-id: svn://10.0.0.236/trunk@121454 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 04:19:29 +00:00
mkaply%us.ibm.com
58c73c3440 #114891
r=nhotta, sr=blizzard, a=rjesup
New enum for specifying charset of 4.x prefs.js


git-svn-id: svn://10.0.0.236/trunk@121453 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 04:13:02 +00:00
leaf%mozilla.org
a48e0e8f5b Automated update
git-svn-id: svn://10.0.0.236/trunk@121452 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 04:11:01 +00:00
mkaply%us.ibm.com
dcade1e077 Remove invalid comment so file matches branch
git-svn-id: svn://10.0.0.236/trunk@121451 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 04:05:18 +00:00
seawood%netscape.com
271d00e5e8 Conditionally check for -lSM & -lICE if -lXt test fails.
Use XT_LIBS variable for -lXt and its dependencies.
Link XT_LIBS in static xlib builds.
Use same modulename for xlib module in Makefile as the code uses.
Bug #126163 & Bug #144182 r=bryner


git-svn-id: svn://10.0.0.236/trunk@121450 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 04:04:23 +00:00
dcone%netscape.com
ca0eaa3250 plug-in example for dumping the frames for a single web page. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@121447 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 03:15:08 +00:00
nicolson%netscape.com
ed1a144ecf Support DSAPrivateKey.
git-svn-id: svn://10.0.0.236/trunk@121446 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 02:21:25 +00:00
locka%iol.ie
3bc7a8ff85 NOT PART OF BUILD. Rudimentary scripting working in XPConnect. Invoke & SetProperty methods are working.
git-svn-id: svn://10.0.0.236/trunk@121443 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:58:00 +00:00
mcafee%netscape.com
db57740b38 really nuking rdfbase this time
git-svn-id: svn://10.0.0.236/trunk@121442 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:54:08 +00:00
rginda%netscape.com
dac6892cd1 add PERL_BIN and PERL_ARGS
git-svn-id: svn://10.0.0.236/trunk@121440 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:44:01 +00:00
bzbarsky%mit.edu
707ff12de0 Make incremental reflow of fixed-position tables happier. Bug 94009,
r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121439 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:44:00 +00:00
rginda%netscape.com
6bafa56631 initial add of js api documentation source
git-svn-id: svn://10.0.0.236/trunk@121438 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:39:03 +00:00
caillon%returnzero.com
00ebc565e0 Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121437 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:28:17 +00:00
timeless%mac.com
62142585ed Bug 142853 disabling XUL cache causes assertions, eats ram
honor pref: nglayout.debug.disable_xul_cache
this fixes the assertion
r=waterson sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121436 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:15:27 +00:00
mcafee%netscape.com
0c2c18dd87 Sample mozconfig file
git-svn-id: svn://10.0.0.236/trunk@121435 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:15:07 +00:00
mcafee%netscape.com
fce4a549ec removing rdfbase module name, this becomes part of rdf module now. (143587) r=cls, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121434 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:09:47 +00:00
mcafee%netscape.com
8602c000ab rdfbase module getting tacked on to rdf module, removing rdfbase. (143587) r=cls, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121433 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:06:29 +00:00
shliang%netscape.com
ff50479853 137825 - sidebar colors are not quite right. r=andreww, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@121432 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:03:31 +00:00
mcafee%netscape.com
85452d3ae8 removing rdfbase module name, this becomes part of rdf module now. (143587) r=cls, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121431 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:00:28 +00:00
shliang%netscape.com
311abfe00c 137246 - autocomplete icons misaligned. patch by stephen walker, r=shuehan, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@121427 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:43:49 +00:00
shliang%netscape.com
2f785d7bfc 141064 - focus for new mailing list dialog should be in list name field. r=hewitt, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@121426 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:36:48 +00:00
jfrancis%netscape.com
7051a47928 fix for 108035: making a list out of several divs gave bad results sr=kin r=brade
git-svn-id: svn://10.0.0.236/trunk@121425 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:35:57 +00:00
shliang%netscape.com
ff1db5fde4 142636 - addressbook card view notes section is at bottom. r=ssu, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@121424 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:31:45 +00:00
shliang%netscape.com
df66cb5708 134430 - change default mdn pref. r=ssu, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@121423 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:22:48 +00:00
shliang%netscape.com
d157eb48f8 135089 - fixing truncated menulists. r=bryner, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@121422 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:16:04 +00:00
blizzard%redhat.com
9ac19c6f88 Bug #143993. gtk2 does not compile with --disable-accessibility. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@121421 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:11:03 +00:00
nhotta%netscape.com
f3b707093a Set a correct accesskey value for "more",
bug 138028, r=naving, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@121420 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:10:22 +00:00
blizzard%redhat.com
9d12099112 Bug #143991. nsWidgetFactory.cpp does not compile without IBMBIDI. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@121419 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:07:12 +00:00
jfrancis%netscape.com
64b7f510fc fix for 112167: pasting list items cal leave selection between items. Also allows you to type after pasted link without being in link. sr=kin r=fm
git-svn-id: svn://10.0.0.236/trunk@121418 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:05:37 +00:00
waterson%netscape.com
5b30d03c75 Bug 143959. Undo previous temporary fix. Fix (and document) nsBoxReflowState::Unwind to propagate the _root_ box through the recursion. r=dbaron, sr=kin
git-svn-id: svn://10.0.0.236/trunk@121416 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:00:31 +00:00
rdayal%netscape.com
1e2466c2f3 fix for bug # 131857 - setting Mozilla as default mail app crashes
Makefile.in changed to build msgMapi.dll for machines using gmake for windows builds.
r=cls, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@121411 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 23:04:36 +00:00
darin%netscape.com
0990c0c6cf freezing nsIFile/nsILocalFile API (b=129279)
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121410 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 22:55:29 +00:00
attinasi%netscape.com
60ff62b22d DOCUMENTATION CHECKIN: updated index to include Reflow document on mozilla.org, and Waterson's block and line cheat sheet
git-svn-id: svn://10.0.0.236/trunk@121409 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 22:44:42 +00:00
rods%netscape.com
806a037b28 The problem is thwe getting of the PS in the CreateBrowser method used to work.
But now the webBrowser no longer has a valid docshell.
But this patch now makes sure that it gets a Global PS at all the right places.
It also fixes PP. It checks the menu item when in PP and unchecks it when a
document is loaded. That way you can select the menu a second time and have it exit PP.
Bug 143346 r=chak sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121408 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 22:33:24 +00:00
justdave%syndicomm.com
07ff5cb3a3 Fix for bug 144091: adding old-params.txt to .cvsignore
git-svn-id: svn://10.0.0.236/trunk@121406 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 22:31:47 +00:00
gerv%gerv.net
5d960fc917 Bug 144165 - enter_bug product selection has a footer like without a login if no usebuggroupsentry. Patch by jouni@heikniemi.net; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@121405 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 22:28:48 +00:00
mkaply%us.ibm.com
8c3ade6d96 #144275
r=pedemonte, sr=blizzard
OS/2 only - use button 2 for drag


git-svn-id: svn://10.0.0.236/trunk@121403 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 22:02:45 +00:00
danm%netscape.com
6f9a87bf22 death to remaining compiler warnings. removed a dead function. inspired by bug 126488
git-svn-id: svn://10.0.0.236/trunk@121402 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 22:00:21 +00:00
danm%netscape.com
7ff48b5062 death to compiler warnings. bug 126488 code=ayn2@cornell.edu r=jag,rjc
git-svn-id: svn://10.0.0.236/trunk@121400 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 21:46:24 +00:00
danm%netscape.com
fe4cdcf0cd death to compiler warnings. bug 126488 code=ayn2@cornell.edu r=me,scc
git-svn-id: svn://10.0.0.236/trunk@121399 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 21:43:15 +00:00
locka%iol.ie
7facf77f8b NOT PART OF BUILD. Implemented variant to java object class, getProperty and return codes from Invoke(). Moved LiveConnect & XPConnect stuff into their own files.
git-svn-id: svn://10.0.0.236/trunk@121397 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 21:06:14 +00:00
cavin%netscape.com
174f0993fa Fix for #82276. Always return entry info even if there's no other attribute associated with the contact. r=ducarroz, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@121396 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 21:02:42 +00:00
blythe%netscape.com
fd339c8296 Not part of a normal build.
Sync access to images.
Update last accessed context time, so that proper evication will take place.
Rename variable to more appropriate name.
Cleanup a little more on exit.


git-svn-id: svn://10.0.0.236/trunk@121394 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 20:50:56 +00:00
morse%netscape.com
2c3dd97e32 bug 143328, hiding panels in form manager, r=sgehani, sr=jag
git-svn-id: svn://10.0.0.236/trunk@121391 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 20:44:17 +00:00
morse%netscape.com
8546db0107 bug 137079, account management at buy.com does not work, r=pink, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121390 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 20:41:22 +00:00
mikep%oeone.com
31e23eb547 Adding in exceptions to repeating events, a few other small bug fixes from OEone
git-svn-id: svn://10.0.0.236/trunk@121389 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 19:25:20 +00:00
waterson%netscape.com
40088e3131 Bug 143959. Temporarily disable block reflow coalescing.
git-svn-id: svn://10.0.0.236/trunk@121388 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 19:00:56 +00:00
mostafah%oeone.com
5f78824a39 Added removeAllExceptions() function. And changed getExceptions() to return dates in a sorted order
git-svn-id: svn://10.0.0.236/trunk@121387 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 18:45:03 +00:00
mikep%oeone.com
9a5043d2b9 Fixing bug 143235, problem with dragging events in day view.
git-svn-id: svn://10.0.0.236/trunk@121386 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 18:25:48 +00:00
wtc%netscape.com
81093d6dd5 Bugzilla bug 135069: SEC_PKCS12DestroyExportContext should free the slot
reference allocated in SEC_PKCS12CreateExportContext. r=relyea,mcgreer.


git-svn-id: svn://10.0.0.236/trunk@121385 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 17:22:46 +00:00
bzbarsky%mit.edu
0133886ac9 Fix blocker 143917 -- wrong form being submitted for nested
forms.  Patch by jkeiser, r=bzbarsky/peterv sr=jst/shaver


git-svn-id: svn://10.0.0.236/trunk@121384 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 17:22:30 +00:00
wtc%netscape.com
7d92def93d Bugzilla bug 135824: fixed slot reference leaks in signtool and removed
a faulty attempt to set user trust.  r=relyea,mcgreer.
Modified files: certgen.c util.c


git-svn-id: svn://10.0.0.236/trunk@121383 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 17:08:20 +00:00
preed%sigkill.com
c663fe353b Bug 129466 - Adding a comment per a discussion w/ bbaetz on IRC about having backported this bug's patch to the 2_14_1-BRANCH, which was checked in today
git-svn-id: svn://10.0.0.236/trunk@121378 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 15:27:09 +00:00
kaie%netscape.com
f16d425197 b=127175 Fix javascript strict warnings
r=javi sr=mscott


git-svn-id: svn://10.0.0.236/trunk@121376 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 14:03:51 +00:00
mikep%oeone.com
ef15a59b63 Fixing bug 143831 for finding the user's profile directory.
git-svn-id: svn://10.0.0.236/trunk@121375 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 13:40:25 +00:00
edburns%acm.org
ebc9db0841 Correctly build the XPINSTALLER for Webclient1.2
git-svn-id: svn://10.0.0.236/trunk@121374 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 07:35:13 +00:00
pete.zha%sun.com
2e2d95f152 bug 109217:Active Accessibility: implement support for <tree>
r=aaronl, sr=jst
Check in for Kyle Yuan(kyle.yuan@sun.com)'s fix
Check in other files.


git-svn-id: svn://10.0.0.236/trunk@121373 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 07:19:43 +00:00
pete.zha%sun.com
e83ad928d1 bug 109217:Active Accessibility: implement support for <tree>
r=aaronl, sr=jst
Check in for Kyle Yuan(kyle.yuan@sun.com)'s fix
Check in the new file. Will check in others later


git-svn-id: svn://10.0.0.236/trunk@121372 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 07:11:28 +00:00
gerv%gerv.net
5382dd2989 Bug 143560 - showdependencytree.cgi eats all available memory if there's a circular dependency. Patch by myk; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@121368 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 06:24:49 +00:00
cltbld%netscape.com
b90954df29 On BSDI 4.x, glib & libIDL live under /usr/contrib/gnome so use that path by default. -cls
git-svn-id: svn://10.0.0.236/trunk@121367 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 03:59:31 +00:00
seawood%netscape.com
085e3d7e47 Check for non-whitespace instead of alphanumerics when grabbing module names from the REQUIRES list.
Bug #141999 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121366 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 03:55:52 +00:00
bzbarsky%mit.edu
92f0cdd01c Bug 142135 -- make cacheToken QI to nsICacheEntryInfo. Patch by
Antonio.Xu <antonio.xu@sun.com>, r=bzbarsky, sr=darin


git-svn-id: svn://10.0.0.236/trunk@121364 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 03:21:07 +00:00
blythe%netscape.com
0ef79cdcf7 Make generated graphs capable of handling multiple simultaneous access.
git-svn-id: svn://10.0.0.236/trunk@121363 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 03:02:52 +00:00
blythe%netscape.com
c4de2699a4 Not part of a normal build.
Have callsite stats be on a per context basis as well.


git-svn-id: svn://10.0.0.236/trunk@121362 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 02:43:27 +00:00
dcone%netscape.com
2c17ab70cd Updated files for the Debug plugin. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@121361 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 02:32:35 +00:00
blythe%netscape.com
060619ce45 Not part of a normal build.
Have the categories become context aware.
Each context will naturally have it's own set of category runs.


git-svn-id: svn://10.0.0.236/trunk@121360 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 01:48:30 +00:00
blythe%netscape.com
848452cdb9 Not part of a normal build.
Use per request/context options in most cases now.


git-svn-id: svn://10.0.0.236/trunk@121358 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 00:01:15 +00:00
sspitzer%netscape.com
24ef8f578e supplimental fix for #119360. LDIF export / import is lossy.
I messed up the attribute name.  It's mozillaHomeState, not mozillaHomeStreet.
r=dmose.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@121357 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 21:26:12 +00:00
seawood%netscape.com
ee2d996b56 Increase Shared Memory Transport size to 512k for solaris builds.
Note: "512 is a good compromise between the transport speed and the system memory resources consumed."
Thanks to Jeff Wasilko <jw-mozilla@smoe.org> for the patch.
Bug #118846 r=cls


git-svn-id: svn://10.0.0.236/trunk@121356 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 21:25:04 +00:00
leaf%mozilla.org
d2032ce7da Automated update
git-svn-id: svn://10.0.0.236/trunk@121354 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 21:11:04 +00:00
blizzard%redhat.com
364c11d98b Bug #121255. Hook up gtk2 to xremote. r=cls on the configure.in change
git-svn-id: svn://10.0.0.236/trunk@121352 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 21:03:17 +00:00
sspitzer%netscape.com
85f10a6af1 fix for bugscape bug #15485. when using turbo, after exiting, some imap accounts
would throw up password prompts when the biff timer would go off.
the issue about the biff timer going off after exit is bug #143848.
r/sr=mscott


git-svn-id: svn://10.0.0.236/trunk@121351 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 21:00:04 +00:00
caillon%returnzero.com
c10953be33 Bug 139026, Removing strict warnings. Patch by walk84@yahoo.com, r=cbiesinger@web.de, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121350 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 19:13:22 +00:00
caillon%returnzero.com
7f7b5c2580 Bug 143582, Text in the New Helper App dialog should be centered. Patch by walk84@yahoo.com, r=doron@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121349 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 19:11:54 +00:00
dougt%netscape.com
a3f37debcc fixing up line parameter from last checkin.
git-svn-id: svn://10.0.0.236/trunk@121348 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 18:31:17 +00:00
timeless%mac.com
123f127341 Bug 87965 Can't expand chrome/*.jar files on ARM
fixing warnings caught by ayn2@cornell.edu
patch by jeroen.dobbelaere@acunia.com
r=timeless sr=jst


git-svn-id: svn://10.0.0.236/trunk@121347 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 17:29:30 +00:00
blizzard%redhat.com
522521677b Unbuilt support files for remote helping
git-svn-id: svn://10.0.0.236/trunk@121343 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 06:48:19 +00:00
blythe%netscape.com
623fa275b1 Not part of normal build.
Start propogating options so that eventually can switch over to per client
instead of global structures.


git-svn-id: svn://10.0.0.236/trunk@121342 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 04:46:22 +00:00
blythe%netscape.com
68b6a04cdd Not part of a normal build.
Context cache framework is in.


git-svn-id: svn://10.0.0.236/trunk@121341 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 04:17:56 +00:00
dougt%netscape.com
344d834437 Adding XPCOM_DEBUG_BREAK back to windows.
git-svn-id: svn://10.0.0.236/trunk@121340 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 04:03:36 +00:00
bzbarsky%mit.edu
954d9659e2 Initialize the hint, just in case. Bug 139968, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121339 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 23:26:44 +00:00
dougt%netscape.com
2db1a7c6ee fixing a comment.
git-svn-id: svn://10.0.0.236/trunk@121338 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 21:52:14 +00:00
dougt%netscape.com
12a170e07e synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver
git-svn-id: svn://10.0.0.236/trunk@121337 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 21:15:06 +00:00
igor%mir2.org
151f5d542a Elimination of FileWindow.breakpoints and Main.breakpointsMap as reference to SourceInfo provides all necessary information
git-svn-id: svn://10.0.0.236/trunk@121336 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 18:28:44 +00:00
igor%mir2.org
2831e8a4ee Removing itsFirstLine and itsEndLine from InterpreterData and replacing in DebuggableScript getFirstLine, getEndLine and getIntructionLines by getLineNumbers as Debugger imlementation can get all the necessary information from single call to getLineNumbers
git-svn-id: svn://10.0.0.236/trunk@121334 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 16:15:50 +00:00
rpotts%netscape.com
7891d40319 bug #99627 (r=chak, sr=mscott). Mark nsIURICOntentListener interface as frozen
git-svn-id: svn://10.0.0.236/trunk@121331 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 05:14:09 +00:00
pinkerton%netscape.com
af50f4af64 Fix for nsIFile now being unicode apis instead of UTF8
git-svn-id: svn://10.0.0.236/trunk@121330 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 04:14:03 +00:00
morse%netscape.com
9c71fdc51b bug 140464, cookies expire at end of session of date header is missing, c=mloiselle@yahoo.com, r=morse, sr=darin
git-svn-id: svn://10.0.0.236/trunk@121329 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 04:06:01 +00:00
srilatha%netscape.com
98943d28aa Fix for bug # 124057. Deleting addressbook from prefs should delete it from the addressbook window
r=rdayal, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@121328 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 03:24:23 +00:00
sspitzer%netscape.com
75e3f35cd1 fix for performance bug #109557. stand alone message display time depends
on number of messages in the folder.  clone the db view, instead of rebuilding it.
thanks to antonio.xu@sun.com for the fix.

fix for bug #93863.  sub folders of special folder (where we show recipient for author in the thread pane) should also treat recipient as author in the threadpane.
thanks to reto@tischhauser.com for the initial patch.

r=bienvenu, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@121326 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 01:52:02 +00:00
oeschger%netscape.com
a1f957dea3 small updates to the search db, dispensation per 122806, r=cotter
git-svn-id: svn://10.0.0.236/trunk@121325 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 01:50:49 +00:00
jgaunt%netscape.com
e6db686903 dumb ass!
git-svn-id: svn://10.0.0.236/trunk@121324 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 01:44:16 +00:00
sspitzer%netscape.com
5520778555 whitespace fixes I had in my tree. r/sr=no-one
git-svn-id: svn://10.0.0.236/trunk@121323 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 01:38:42 +00:00
blythe%netscape.com
1dcd6d6550 Fix unix build warning.
Not part of normal build.


git-svn-id: svn://10.0.0.236/trunk@121322 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 01:27:34 +00:00
blythe%netscape.com
4c31aa3b3c Not part of a normal build.
Change it such that all options come from framework.
Basically, a very large whack in regards to processing.


git-svn-id: svn://10.0.0.236/trunk@121321 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 01:24:52 +00:00
jgaunt%netscape.com
a8f6b1ff9e Doh! more bustage
git-svn-id: svn://10.0.0.236/trunk@121320 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 01:15:23 +00:00
sspitzer%netscape.com
25f79b6169 fix #126844. freeing mismatched memory. thanks to pj@ludd.luth.se for the fix.
r/sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@121319 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-11 01:01:56 +00:00
jgaunt%netscape.com
6def77dfa4 Fixing Bustage
git-svn-id: svn://10.0.0.236/trunk@121317 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 23:57:01 +00:00
gordon%netscape.com
8dcbf5b04d fix for bug 91795 "large downloads cause mozilla to consume too much memory".
Changed OnDataSizeChange() to abort when entry size exceeds cache capacity.
r=dougt, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@121316 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 23:44:53 +00:00
seawood%netscape.com
ccb198ffca Include <stddef.h> instead of <stdlib.h> in wchar_t tests to avoid exit() declaration issues with autoconf.
Bug #139211 r=dbaron


git-svn-id: svn://10.0.0.236/trunk@121315 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 23:35:40 +00:00
gerv%gerv.net
db23b49769 Bug 143486 - enter_bug.cgi: Using ?format=simple doesn't work. Patch by burnus@gmx.de; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@121314 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 23:33:11 +00:00
kestes%walrus.com
9cb4e2ddb5 turn off mozilla layers
git-svn-id: svn://10.0.0.236/trunk@121313 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 23:23:05 +00:00
kestes%walrus.com
6199b504b0 fixes for mozilla layers.
git-svn-id: svn://10.0.0.236/trunk@121312 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 23:21:23 +00:00
kestes%walrus.com
7b119e3e31 fixes to link_choices
git-svn-id: svn://10.0.0.236/trunk@121311 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 23:14:30 +00:00
wtc%netscape.com
3d2fbfca17 Bugzilla bug 135052: more cleanup in SEC_PKCS12DecoderStart. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@121310 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 23:10:06 +00:00
kestes%walrus.com
19db723ccf checkins for mozilla layers
git-svn-id: svn://10.0.0.236/trunk@121309 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 23:07:57 +00:00
kestes%walrus.com
1aae9f3ee3 fixes for mozilla layers.
git-svn-id: svn://10.0.0.236/trunk@121308 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 23:00:41 +00:00
kestes%walrus.com
ca1bce672a fixes
git-svn-id: svn://10.0.0.236/trunk@121307 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:56:57 +00:00
myk%mozilla.org
ba615925a9 Fix for bug 143547: Don't show bugs as grey if usebuggroups parameter is set to true.
Patch by Myk Melez <myk@mozilla.org>.
2xr=gerv


git-svn-id: svn://10.0.0.236/trunk@121306 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:56:25 +00:00
kestes%walrus.com
02248b4413 fixes
git-svn-id: svn://10.0.0.236/trunk@121305 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:51:05 +00:00
kestes%walrus.com
1027011d9a bug fixes
git-svn-id: svn://10.0.0.236/trunk@121304 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:48:33 +00:00
justdave%syndicomm.com
38b3f8bf51 Bumping version to 2.17 for development on the trunk. Bugzilla 2.16 release process is now ocurring on BUGZILLA-2_16-BRANCH. Any bugs intended for 2.16 must be checked in both on the branch and the trunk. Checkins for 2.17/2.18 items can be checked in on the trunk now.
git-svn-id: svn://10.0.0.236/trunk@121303 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:47:00 +00:00
kestes%walrus.com
e76a7fd471 fixes for mozillay layers.
git-svn-id: svn://10.0.0.236/trunk@121302 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:42:08 +00:00
kestes%walrus.com
cfa5480234 add SECONDS_PER_WEEK
git-svn-id: svn://10.0.0.236/trunk@121301 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:41:41 +00:00
jgaunt%netscape.com
775b50b9ce bug 124448 Accessibility Support for Object/Embed tags
r=aaronl
sr=jst


git-svn-id: svn://10.0.0.236/trunk@121300 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:34:53 +00:00
rbs%maths.uq.edu.au
962aecb2cf Whitespace to correct the typo in the bug number, b=49721,122524 (rather than 1222524)
git-svn-id: svn://10.0.0.236/trunk@121299 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:31:03 +00:00
darin%netscape.com
5d2df41e6b fixes bug 142874 "Remove Accept-Encoding from Networking prefs panel"
patch=walk84 r=caillon sr=darin


git-svn-id: svn://10.0.0.236/trunk@121298 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:23:54 +00:00
rbs%maths.uq.edu.au
0d471bf64a Add 'View Selection/MathML Source' to the context menu & the support for that to work, namely: enlist MathML entity names, break viewSource.xul into a sharable XUL overlay, and implement the necessary logic to automatically re-select a selection into the inflated view-source display. b=49721,1222524, r=bzbarsky, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121297 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:05:59 +00:00
ssu%netscape.com
a4e9b06b5a fixing bug 132146 - Get Map does not work via keyboard. r=bhuvan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@121296 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:02:59 +00:00
kestes%walrus.com
97723bfabf fixes for mozillalayers.
git-svn-id: svn://10.0.0.236/trunk@121295 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:00:45 +00:00
varga%utcru.sk
ad539bbaf9 Fix for bug 133351 - Bookmarks cannot be moved by drag in sidebar.
r=pink, sr=jag


git-svn-id: svn://10.0.0.236/trunk@121294 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:50:18 +00:00
kestes%walrus.com
367ad3062b not radio but checkbox group
git-svn-id: svn://10.0.0.236/trunk@121293 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:49:33 +00:00
kestes%walrus.com
41f3951a81 fixes for addnote association code
git-svn-id: svn://10.0.0.236/trunk@121292 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:46:25 +00:00
kestes%walrus.com
a0c4f06816 fixes
git-svn-id: svn://10.0.0.236/trunk@121291 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:38:03 +00:00
igor%mir2.org
a932e7fbe1 Implementing DebuggableScript.getInstructionLines via scanning icode array for line number icode tokens thus removing the need to call Context.setGeneratingDebug(true) to get brekable lines in the script.
git-svn-id: svn://10.0.0.236/trunk@121290 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:33:51 +00:00
kestes%walrus.com
6b684ade3f new association code, need to check it in to test it.
git-svn-id: svn://10.0.0.236/trunk@121289 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:24:39 +00:00
kestes%walrus.com
1ab0c30d22 switch star gif.
git-svn-id: svn://10.0.0.236/trunk@121288 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:23:38 +00:00
kestes%walrus.com
dd2b307670 no need for 'use syslog' any more.
git-svn-id: svn://10.0.0.236/trunk@121287 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:22:48 +00:00
kestes%walrus.com
6dc5573925 no need for 'use syslog' anymore.
git-svn-id: svn://10.0.0.236/trunk@121286 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:21:59 +00:00
kestes%walrus.com
0a9dab8563 misspelt word.
git-svn-id: svn://10.0.0.236/trunk@121285 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:21:07 +00:00
kestes%walrus.com
b8c8c5bb71 new notice assciations stuff.
git-svn-id: svn://10.0.0.236/trunk@121284 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:20:30 +00:00
kestes%walrus.com
817a8518aa new notice association code
git-svn-id: svn://10.0.0.236/trunk@121283 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:19:42 +00:00
kestes%walrus.com
5cfb4c130a resync file with changes to other columns. This does not include new NOTICES changes.
git-svn-id: svn://10.0.0.236/trunk@121282 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:18:52 +00:00
kestes%walrus.com
6470956342 add new associations information.
git-svn-id: svn://10.0.0.236/trunk@121281 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:17:56 +00:00
kestes%walrus.com
7d05cceaec add localtime to output to help with debugging.
git-svn-id: svn://10.0.0.236/trunk@121280 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:16:53 +00:00
srilatha%netscape.com
851d120f7b Fix for bug # 143161. Autocompletion does not work with ldap server with multibyte basedn.
r=dmose, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@121279 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:04:00 +00:00
ducarroz%netscape.com
1b9b394adf Fix for bug 139362. In order to avoid to be hit by bug 70083, we need to do a copy of the string we are passing to NewURI to be sure it's in one segment. Patch proposed by jag. R=ducarroz, SR=sspitzer
git-svn-id: svn://10.0.0.236/trunk@121278 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 21:00:03 +00:00
dougt%netscape.com
7709dc95af initalizes member variables in thread poll. 141479. r=dp, sr=darin
git-svn-id: svn://10.0.0.236/trunk@121277 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 20:48:45 +00:00
jpierre%netscape.com
a7116d8ca2 Fix for bug 142868 - CA certificates are imported with NULL nicknames .
git-svn-id: svn://10.0.0.236/trunk@121276 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 20:21:38 +00:00
justdave%syndicomm.com
c1ba469588 Fix for bug 78701: missing . in INVALID description in queryhelp.cgi
Patch by norton@w5ac.tamu.edu
2xr= justdave


git-svn-id: svn://10.0.0.236/trunk@121274 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 20:10:32 +00:00
ducarroz%netscape.com
8ac48b8a7e Fix for bug 67825. The shift option to select an alternative message compose window should be available only for mail3Pane toolbar's button. R=varada, SR=sspitzer
git-svn-id: svn://10.0.0.236/trunk@121273 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 20:02:38 +00:00
depstein%netscape.com
5a26d44009 added NotifyObservers() tests in nsIObserServ.cpp, webProg listener to TestYourMethod2() in Tests.cpp.
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@121272 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 19:03:28 +00:00
darin%netscape.com
b529cd37d3 fixes bug 143311 "nsStreamListenerTee should completely drop mSink during
OnStopRequest" r=gordon,dougt sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@121271 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:38:09 +00:00
relyea%netscape.com
c77048cb3b Add function to determine if it's safe to delete the internal module.
git-svn-id: svn://10.0.0.236/trunk@121269 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:36:18 +00:00
serge%netscape.com
2d42f2070a fix for 119494, Mozilla breaks the stream to the plugin if server cannot proceed byte range request
[returns 200, instead of 206] r=peterl, sr=darin


git-svn-id: svn://10.0.0.236/trunk@121268 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:32:42 +00:00
waterson%netscape.com
5bae3657e6 Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
jst%netscape.com
79bf7a0a29 Fixing bug 135278. Stop don't use Substring() on a null poiter, Substring() asserts if given a null pointer. r=dbaron@fas.harvard.edu, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121264 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:21:50 +00:00
relyea%netscape.com
9f70e7569c Detect when we have a previously deleted internal module which has not yet been freed, and don't try to switch to it.
git-svn-id: svn://10.0.0.236/trunk@121263 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:13:44 +00:00
relyea%netscape.com
02cae503ef Add new error code for trying to all previously deleted modules which have not yet been freed.
git-svn-id: svn://10.0.0.236/trunk@121262 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:12:39 +00:00
relyea%netscape.com
dd2a44ddc1 Allow both FIPS and non-FIPS tokens to be initialized and active at the same time.
git-svn-id: svn://10.0.0.236/trunk@121261 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:11:37 +00:00
relyea%netscape.com
e3dc251173 When we force, we should preserve the NULL nickname semantics.
git-svn-id: svn://10.0.0.236/trunk@121260 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:10:26 +00:00
rods%netscape.com
187ad3eb3b Missed these from checkin for
Bug 143248 r=dcone,conrad sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121259 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 17:58:41 +00:00
despotdaemon%netscape.com
a8c6fc69a2 Pseudo-automatic update of changes made by myk@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@121258 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 17:33:00 +00:00
despotdaemon%netscape.com
f8f27a3d02 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@121257 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 17:19:09 +00:00
igor%mir2.org
03d9a963d1 From email about moving breakpoint support away from Rhino core:
I attach the patch to move away setting/quering for breakpoints from the Rhino core to application as a debugger implementation can check if a particular line has a breakpoint or not. The changes to omj/tools/debugger takes more then few lines I initially thought but they are mostly caused by refactoring to implement different view to set/query breakpoints.

The patch replaces getLineNumbers, placeBreakpoint and removeBreakpoint in DebuggableScript by getFirstLine, getEndLine and getInstructionLines where the last function fills a boolean array to indicate which script lines can ever occur in DebugFrame.onLineChange. These are read-only functions so InterpeterData are never mdofied by the debugger.

omj/tools/debugger/Main uses this information to check whether it is possible to place breakpoint at a particular line, and if possible, it sets to true entry at the boolean breakpoint array. In this way testing for break in onLineChange is simple and fast as it just needs to check if breakpoint array holds true at the given line number position.


git-svn-id: svn://10.0.0.236/trunk@121256 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 16:17:33 +00:00
dcone%netscape.com
0c701d364b b = 143363 r=rods sr=kin. A DC was not being released properly on windows, it is now.
git-svn-id: svn://10.0.0.236/trunk@121255 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 14:18:18 +00:00
dmose%netscape.com
84d6a44973 Set maximum LDAP I/O timeout to 10 seconds (bug 143172). This significantly mitigates the pain of the connection hang bug (bug 79509). r=mcs@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121248 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 04:14:18 +00:00
naving%netscape.com
24e0efee2f bugscape 15399 fix by ducarroz r=cavin sr=mscott. fix Body of Multipart/alternative message with attachment not included when forwarded
git-svn-id: svn://10.0.0.236/trunk@121247 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 03:46:18 +00:00
oeschger%netscape.com
8e38fcfddb adding some new content to help, r=cotter, dispensation per bug 122806
git-svn-id: svn://10.0.0.236/trunk@121245 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 03:19:56 +00:00
mkaply%us.ibm.com
c4118f2b33 #137782
r=pinkerton, sr=jst, a=asa
Change for OS/2 only - use right mouse button for drag


git-svn-id: svn://10.0.0.236/trunk@121244 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 03:08:37 +00:00
pete.zha%sun.com
1c5a20addb bug 139877:right-click context menu access keys require "enter" to perform action
r=pete.zha@sun.com sr=jag
Check in Kyle Yuan(kyle.yuan@sun.com)'s fix


git-svn-id: svn://10.0.0.236/trunk@121243 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 02:57:56 +00:00
blizzard%redhat.com
3b56ef9bb4 Bug #140767. Menus don't open when hovered while another menu is open. Don't drop motion events when there's a rollup listener and the event isn't over a popup window. r=rjesup,sr=shaver
git-svn-id: svn://10.0.0.236/trunk@121239 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 01:53:13 +00:00
matty%chariot.net.au
e8c34e20f9 Release notes update.
git-svn-id: svn://10.0.0.236/trunk@121237 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 01:31:19 +00:00
mcafee%netscape.com
c713bf43c6 comments changes
git-svn-id: svn://10.0.0.236/trunk@121236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 01:28:44 +00:00
kmcclusk%netscape.com
636f37816d Move logic in nsHTMLFrameInnerFrame's destroy to nsHTMLFrameInnerFrame:Destroy so its contents are destroyed *before* nsHTMLFrameInnerFrame is destroyed. bug=66748 r=jkeiser@netscape.com sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121235 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 01:25:41 +00:00
sspitzer%netscape.com
3fb55d2380 fix for the other dataloss issue in #119360.
there are addressbook fields that we don't export / import.
add LDIF attributes (prefixed with "mozilla") for the missing fields.
also we don't specify an object class.  for now, use
mozillaAbPersonObsolete as the object class, which is temporary.
r=dmose, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@121234 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 01:22:13 +00:00
naving%netscape.com
c7fe49c230 fixing whitespace from last checkin
git-svn-id: svn://10.0.0.236/trunk@121231 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 01:16:21 +00:00
katakai%japan.sun.com
9511c8d100 bug 142873
Can't turn on IM after a popup window opens
Call SetFocus() of XIC again to the current focused widget
r=blizzard,sr=shaver,a=asa(for1.0branch)


git-svn-id: svn://10.0.0.236/trunk@121230 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 01:11:24 +00:00
naving%netscape.com
bab5680ad6 140591 r=varada sr=sspitzer fix create filter from message to work on mac OS X. Also fixes bug 112714 on linux where we could not get to browser window if we were doing create filter from message ...
git-svn-id: svn://10.0.0.236/trunk@121229 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 00:59:12 +00:00
cavin%netscape.com
d739dbfe74 Fix for 58206. Output "From " line if a msg does start with one such line. r=ducarroz, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@121227 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 00:28:18 +00:00
nicolson%netscape.com
b683a70331 comment out JDK 1.4 test so we can build with earlier versions
git-svn-id: svn://10.0.0.236/trunk@121225 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 00:13:19 +00:00
nicolson%netscape.com
a98f19eade Don't run javac if there are no source files to compille
git-svn-id: svn://10.0.0.236/trunk@121224 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 00:12:44 +00:00
wtc%netscape.com
067b921dbc Bugzilla bug 135821: fixed the internal slot reference leak in
PK11_WrapPrivKey.  r=relyea.


git-svn-id: svn://10.0.0.236/trunk@121221 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 23:34:24 +00:00
mcafee%netscape.com
85745bd3dd better cmd failure warning
git-svn-id: svn://10.0.0.236/trunk@121220 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 23:23:10 +00:00
cavin%netscape.com
33fa0aacd7 Fix for 126860 - Free array elements before freeing array itself. r=cavin, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@121219 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 23:22:29 +00:00
wtc%netscape.com
10180aec0b Bugzilla bug 135809: fixed the slot reference leaks in PBE_CreateContext
and SEC_PKCS5GetIV.  r=relyea.


git-svn-id: svn://10.0.0.236/trunk@121218 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 23:21:16 +00:00
kestes%walrus.com
fbcaaca5c5 remove unused gifs, give used gifs names which are disciptive.
git-svn-id: svn://10.0.0.236/trunk@121217 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 23:19:35 +00:00
mcafee%netscape.com
88ec4f41c7 Warn instead of exit when we get error status back from run_shell_command.
git-svn-id: svn://10.0.0.236/trunk@121216 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 23:19:05 +00:00
wtc%netscape.com
eb2fa5c698 Bugzilla bug 135818: fixed internal slot reference leaks in
PK11_VerifySlotMechanisms and PK11_InitToken.  r=relyea.


git-svn-id: svn://10.0.0.236/trunk@121215 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 23:18:15 +00:00
cotter%netscape.com
426829ab74 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; correction to previous update.
git-svn-id: svn://10.0.0.236/trunk@121214 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 23:16:12 +00:00
gerv%gerv.net
052cc689c4 Bug 143231 - Changing a bug with an empty buglist gives a warning. Patch by jouni@heikniemi.net; 2xr=justdave.
git-svn-id: svn://10.0.0.236/trunk@121212 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 23:15:26 +00:00
wtc%netscape.com
f799663ca1 Bugzilla bug 135826: fixed the slot reference leaks.
git-svn-id: svn://10.0.0.236/trunk@121211 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 23:01:21 +00:00
kestes%walrus.com
1c5d922c59 from mgalli@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121210 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:56:37 +00:00
shrutiv%netscape.com
975ca44e21 Fix for bugscape bug 15326: Title bar customization not being used
git-svn-id: svn://10.0.0.236/trunk@121207 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:54:26 +00:00
ian.mcgreer%sun.com
54f51b49be bug 135808, STAN_GetDefaultCryptoToken appears to leak a slot reference, but there are no callers of it. Removing function.
r=wtc


git-svn-id: svn://10.0.0.236/trunk@121205 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:42:23 +00:00
kestes%walrus.com
746d9a3fbf update
git-svn-id: svn://10.0.0.236/trunk@121204 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:40:58 +00:00
kestes%walrus.com
93b9aa2b75 add new gif info.
git-svn-id: svn://10.0.0.236/trunk@121203 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:40:42 +00:00
kestes%walrus.com
902a84a80a minor cleanup.
git-svn-id: svn://10.0.0.236/trunk@121202 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:40:09 +00:00
rods%netscape.com
0b53e9796b set the UI accordingly after doing PP from the combobox
Bug 143309 r=sgehani sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121201 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:39:57 +00:00
kestes%walrus.com
5f98003fd8 add perl warnings to compiles, check for cvs keywords.
git-svn-id: svn://10.0.0.236/trunk@121200 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:37:06 +00:00
cotter%netscape.com
379ba9fe48 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; misc. privacy & security updates, corrections
git-svn-id: svn://10.0.0.236/trunk@121199 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:25:24 +00:00
sspitzer%netscape.com
bd90a62efa fix for #136628. mailnews main pref panel is cropped.
r=caillon, sr=sspitzer.  according to the spec,
alerts and window layout will have their own category.
but until then, this should help somewhat.


git-svn-id: svn://10.0.0.236/trunk@121198 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:07:39 +00:00
rods%netscape.com
e97a493be3 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121197 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:02:44 +00:00
mkaply%us.ibm.com
9450047bd3 Acidentally left some printfs in
git-svn-id: svn://10.0.0.236/trunk@121196 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 21:59:21 +00:00
danm%netscape.com
c9b494a94f null guard gLastFocusedContent in PreHandleEvent. bug 142918 r=jst,saari a=blizzard
git-svn-id: svn://10.0.0.236/trunk@121195 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 21:53:54 +00:00
myk%mozilla.org
79d5ff2ba5 Fix for bug 135449: allows named queries to override the last sort order.
Patch by Myk Melez <myk@mozilla.org>.
2xr=justdave


git-svn-id: svn://10.0.0.236/trunk@121192 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 21:37:37 +00:00
wtc%netscape.com
b6b6b518e8 Bugzilla bug 135334: free the internal key slot reference when we are done.
git-svn-id: svn://10.0.0.236/trunk@121191 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 21:14:36 +00:00
kestes%walrus.com
76b6f07405 add new star gifs
git-svn-id: svn://10.0.0.236/trunk@121190 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 21:12:39 +00:00
rpotts%netscape.com
193b614d9f bug #129795 (r=darin@netscape.com, swr=alecf@netscape.com) wrong document channel assertions are firing during redirects...
git-svn-id: svn://10.0.0.236/trunk@121189 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:37:50 +00:00
radha%netscape.com
2ae3fea654 Removing a printf from a previous checkin.
git-svn-id: svn://10.0.0.236/trunk@121188 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:35:02 +00:00
radha%netscape.com
4ca1f14e87 Fix for bug # 135289. META http-equiv="cache-control" directives are ignored by back forward buttons. r=rpotts sr=darin.
git-svn-id: svn://10.0.0.236/trunk@121187 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:32:35 +00:00
mkaply%us.ibm.com
a635d34f38 #142695
r=mkaply, sr=blizzard
OS/2 only - code from Jessica Blanco - don't use CRLF in printer names


git-svn-id: svn://10.0.0.236/trunk@121186 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:31:02 +00:00
mkaply%us.ibm.com
93d75d8c53 #141833
r=tartak, sr=blizzard
OS/2 only - better error checking for icon decoder


git-svn-id: svn://10.0.0.236/trunk@121185 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:25:37 +00:00
aaronl%netscape.com
f6a29faa2d Bug 139877. Right click context menu accesskeys require 'Enter' to perform action (regression). Fix by Kyle Yuan. r=aaronl, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121184 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:12:21 +00:00
bzbarsky%mit.edu
0985b9ce27 make clip:inherit work. Bug 141734, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121183 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:05:25 +00:00
wtc%netscape.com
ca30af678b Bugzilla bug 135058: free nickCopy on error returns in
PK11_FindCertsFromNickname.  r=mcgreer.


git-svn-id: svn://10.0.0.236/trunk@121182 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:01:18 +00:00
dkl%redhat.com
79c1f0c184 Bug 143251 - RFE: checksetup.pl should report module version in error message. Patch by dkl@redhat.com 2xr=justdave@syndicomm.com
git-svn-id: svn://10.0.0.236/trunk@121179 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 19:39:05 +00:00
kestes%walrus.com
835f9f634b quiet warnings.
git-svn-id: svn://10.0.0.236/trunk@121177 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 18:17:39 +00:00
kestes%walrus.com
b1596c0cde fix problem when different CVS roots are used.
git-svn-id: svn://10.0.0.236/trunk@121176 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 18:16:56 +00:00
kestes%walrus.com
1429af134b add more comments, this is a confusing issue.
git-svn-id: svn://10.0.0.236/trunk@121175 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 18:15:57 +00:00
nicolson%netscape.com
91c7428426 add SocketBase.getLocalAddressNative.
git-svn-id: svn://10.0.0.236/trunk@121174 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 17:11:18 +00:00
nicolson%netscape.com
6daa91532a Fix 143256: SSLServerSocket.getInetAddress returns the wrong address.
Implement toString() for both socket types.


git-svn-id: svn://10.0.0.236/trunk@121173 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 17:10:06 +00:00
matty%chariot.net.au
c92d88ea69 Release notes updates.
git-svn-id: svn://10.0.0.236/trunk@121172 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 16:52:45 +00:00
mcs%netscape.com
430bde8f9d Fix 142883 - need option to build with Forte/Workshop 6 compiler
on Solaris 5.6.
	Added support for SOLARIS_USE_FORTE6=1 gmake option.


git-svn-id: svn://10.0.0.236/trunk@121171 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 16:50:55 +00:00
karnaze%netscape.com
67ff631786 bug 141021 - skip row reflow optimization of cell when the cell hasn't had a pass2 reflow. sr=waterson, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@121170 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:44:02 +00:00
bzbarsky%mit.edu
171fd440e2 Fix off-by-one-char error that caused hang. Bug 142290, r=caillon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121169 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:41:51 +00:00
nicolson%netscape.com
39bdcec74e add more PBE keygen algorithms.
git-svn-id: svn://10.0.0.236/trunk@121168 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:32:54 +00:00
nicolson%netscape.com
25ea7929c6 update to work better with PBE.
git-svn-id: svn://10.0.0.236/trunk@121167 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:32:33 +00:00
nicolson%netscape.com
5f2bd5566f get rid of PBEKeySpec, just use PBEKeyGenParams.
git-svn-id: svn://10.0.0.236/trunk@121166 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:29:07 +00:00
karnaze%netscape.com
fc7ff3663e bug 120107 - calc max/max-elem sizes when requested during an unconstrained incremental reflow. sr=waterson, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@121165 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:28:28 +00:00
ccarlen%netscape.com
9311892e26 Bug 141285 - SingleSignon used only from form fields does not observe profile switches. r=morse/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121164 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:24:24 +00:00
rpotts%netscape.com
529662caa2 bug #142976 (r=darin@netscape.com, sr=jst@netscape.com) OnStopRequest is not always fired by the nsStorageTransport
git-svn-id: svn://10.0.0.236/trunk@121163 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 08:45:44 +00:00
mcafee%netscape.com
407bb92a71 comment
git-svn-id: svn://10.0.0.236/trunk@121162 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 08:39:46 +00:00
mcafee%netscape.com
ae86e36a8b Switch to use checked-in version of all.dot modules map file. a=alecf
git-svn-id: svn://10.0.0.236/trunk@121161 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 08:27:52 +00:00
justdave%syndicomm.com
588963f864 Bumping version number to 2.16rc1
git-svn-id: svn://10.0.0.236/trunk@121154 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 05:19:30 +00:00
despotdaemon%netscape.com
6d459dc8d7 Pseudo-automatic update of changes made by bhart00@yahoo.com.
git-svn-id: svn://10.0.0.236/trunk@121152 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 04:55:10 +00:00
despotdaemon%netscape.com
66ea09ebed Pseudo-automatic update of changes made by bhart00@yahoo.com.
git-svn-id: svn://10.0.0.236/trunk@121150 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 04:34:23 +00:00
kestes%walrus.com
82856af76e change name from 'progress' to 'columns' this is clearer
git-svn-id: svn://10.0.0.236/trunk@121148 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 03:10:40 +00:00
kestes%walrus.com
f2637e04fe I like these flames better.
git-svn-id: svn://10.0.0.236/trunk@121147 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 03:09:52 +00:00
kestes%walrus.com
2afd09a27e make bugs have long empty cells like Bonsai now does
git-svn-id: svn://10.0.0.236/trunk@121146 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 03:09:12 +00:00
kestes%walrus.com
c7659622ab fixes which were brought up when debugging BT_Generic.
git-svn-id: svn://10.0.0.236/trunk@121145 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 03:08:38 +00:00
jkeiser%netscape.com
4fd4a3d9c6 Treat NOLAYER like any undeclared tag (from Antonio Xu). Bug 61443, r=harishd@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121143 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 02:33:34 +00:00
glen.beasley%sun.com
3bf177114d 115778 return local port
git-svn-id: svn://10.0.0.236/trunk@121142 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 02:26:25 +00:00
myk%mozilla.org
6cd0db7d9b Partial fix for bug 142928. Fixes egregrious example of mean and unnecessary error message. Why ping the user for using an at sign instead of a percentage sign in their CVS username? It's a common mistake and easy to correct; no need to make people feel bad about it.
git-svn-id: svn://10.0.0.236/trunk@121140 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 02:09:38 +00:00
myk%mozilla.org
c1e18f80bb Fix for bug 143173: remove unnecessary fields and specific reporter's name from links to Bugzilla.
git-svn-id: svn://10.0.0.236/trunk@121139 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 01:50:44 +00:00
hewitt%netscape.com
d7e002caf4 129980 - crash right clicking while loading page, r=peterl, sr=ben
git-svn-id: svn://10.0.0.236/trunk@121138 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 01:43:18 +00:00
blakeross%telocity.com
a48ee21a66 142766 - download manager should not take focus when downloads start. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@121137 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 01:38:55 +00:00
blakeross%telocity.com
963499edc7 142767 - download manager default size is far too big. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@121136 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 01:34:23 +00:00
blakeross%telocity.com
d11af4513c 142422 - pressing delete should highlight/select next item in list. r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@121135 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 00:50:39 +00:00
myk%mozilla.org
9acda4d8f8 Fix for bug 143164: support URLs and URL paths better.
git-svn-id: svn://10.0.0.236/trunk@121134 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 00:40:02 +00:00
wtc%netscape.com
8cc00ea7d3 Bugzilla bug 142345: fixed mistakes in _MD_OpenSharedMemory and
_MD_CloseSharedMemory.  Thanks to Vladimir Golitsin
<vgolitsin@mindspring.com> for the bug report and bug fix.


git-svn-id: svn://10.0.0.236/trunk@121133 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 00:34:39 +00:00
shrutiv%netscape.com
de913478bf Fix for bugscape bug 15331: Start Menu customization text clipped
git-svn-id: svn://10.0.0.236/trunk@121132 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 00:33:54 +00:00
darin%netscape.com
006195db35 fixes bug 139817 "M1RC1 topcrash [@ nsHttpChannel::OnStartRequest]"
r=gordon sr=jst


git-svn-id: svn://10.0.0.236/trunk@121131 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 00:31:24 +00:00
jkeiser%netscape.com
6fecd9e30b Remove DemoteForm. Sweet, sweet revenge--may you rest in peace. bug 90756, r=harishd@netscape.com, sr=vidur@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121130 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 00:29:23 +00:00
bryner%netscape.com
3f7b51593b Make Enter/Return always activate the default button on mac, even if a different button is focused. Bug 132720, r=hewitt, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@121129 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 00:04:37 +00:00
zach%zachlipton.com
f1c8349267 Fix for bug 143124, Fix warning messages about *::TESTOUT and clean up
test code. Patch makes the tests much better now.

r=zach x2


git-svn-id: svn://10.0.0.236/trunk@121127 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 23:49:32 +00:00
cotter%netscape.com
2691a407b3 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; misc. privacy & security content & formatting updates
git-svn-id: svn://10.0.0.236/trunk@121122 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 23:25:40 +00:00
gerv%gerv.net
866c8abe37 Bug 143091 - No email to the qa contact when creating bugs. Patch by gerv; 2xr=justdave.
git-svn-id: svn://10.0.0.236/trunk@121121 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 23:21:25 +00:00
gerv%gerv.net
476947d361 Bug 143040 - Tidy up remove parameters message in checksetup.pl. Patch by gerv; r=justdave, ddk.
git-svn-id: svn://10.0.0.236/trunk@121119 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 23:20:22 +00:00
gerv%gerv.net
ca9253e228 More documentation updates.
git-svn-id: svn://10.0.0.236/trunk@121111 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 23:19:11 +00:00
rods%netscape.com
d95c15509c fix bustage, makefile was in correct
git-svn-id: svn://10.0.0.236/trunk@121110 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 23:07:46 +00:00
kestes%walrus.com
dd86bade48 fix href test regexp.
git-svn-id: svn://10.0.0.236/trunk@121109 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 22:42:09 +00:00
mcafee%netscape.com
4afdee979f First-pass name for the modules dependency map file, this should probably be renamed and moved to mozilla/builds or mozilla config. a=alecf
git-svn-id: svn://10.0.0.236/trunk@121108 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 22:35:35 +00:00
kestes%walrus.com
cf4cbed2ff still tweaking
$TinderConfig::DISPLAY_BUILD_ERRORS
and
 	event_times_vec()
to make it look right.


git-svn-id: svn://10.0.0.236/trunk@121107 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 22:30:12 +00:00
myk%mozilla.org
f7f500ac1e Fix for bug 142828: prompts the user for a file to edit if none is given.
git-svn-id: svn://10.0.0.236/trunk@121106 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 22:27:53 +00:00
kestes%walrus.com
aa0ffc0c10 check that the TinderboxPrint string contains valid URL's
git-svn-id: svn://10.0.0.236/trunk@121105 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 22:14:49 +00:00
jst%netscape.com
f315d8b9a4 Fixing bug 143088. Freezing nsIDOMWindow, nsIDOMWindowCollection, and nsIDOMBarProp. r=fabian@bluishgecko.net, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121104 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 21:55:48 +00:00
edburns%acm.org
08b3c4ef3a I now have webclient mostly working on win32. The following features have been tested and work well.
File->New Window

File->Close

View->View Page Source as String

Search->Find

Search->Find Next

Edit->Select All

Edit->Copy

History->Back

History->Forward

History-> <Navigation Number>

Bookmarks->Manage Bookmarks

The bookmarks window pops up and you can double click on bookmarks to
cause webclient to go to that page.

Stream->Load Stream From File...

Stream->Load Random HTML InputStream

Mouse over events work

The DOMViewer works

Navigation buttons work.

This leaves Bookmarks->Add Current Page, Bookmarks->Add Current Page in New Folder,
Profile->Create Profile, and Profile->Delete Profile. The first two should be easy,
the second two, I'll probably just take out, since their implementation was based in
BlackConnect, which is currently quite dead.

When I'm happy with the state of Webclient on win32, I'll get it working on linux.


git-svn-id: svn://10.0.0.236/trunk@121103 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 21:55:14 +00:00
sspitzer%netscape.com
c17ede91f5 fix for #142933. Fix leak. r=cavin, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@121102 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 21:51:47 +00:00
cltbld%netscape.com
1be3d6ae2c updating for machV beta
git-svn-id: svn://10.0.0.236/trunk@121101 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 21:49:50 +00:00
myk%mozilla.org
d2241d31e8 Last half of fix for bug 142911: shows location of file instead of its name if possible.
git-svn-id: svn://10.0.0.236/trunk@121100 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 21:48:18 +00:00
blythe%netscape.com
a0535b5bb2 space trace command line parsing hooked up to new options framework.
git-svn-id: svn://10.0.0.236/trunk@121099 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 21:32:24 +00:00
gerv%gerv.net
4354a7d2e1 Oops - mistook the reference vs. copy behaviour. r=hixie, ddk on IRC.
git-svn-id: svn://10.0.0.236/trunk@121098 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 21:25:15 +00:00
gerv%gerv.net
644a4e4f5d The first installment of Gerv's spanking of the Bugzilla Guide. This is a work-in-progress.
git-svn-id: svn://10.0.0.236/trunk@121097 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 21:16:47 +00:00
mostafah%oeone.com
dd7573e0c1 Added getFirstEventsForRange() function
git-svn-id: svn://10.0.0.236/trunk@121096 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 21:13:44 +00:00
rods%netscape.com
20054422a5 All the files have been moved to the unixshaed directory
Bug 115136 r=dcone sr=attainasi


git-svn-id: svn://10.0.0.236/trunk@121095 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 21:12:09 +00:00
alecf%netscape.com
ba7c3eff8d relicense these files to be triple-licensed so Galeon can use them
bug 142568, r=tao, sr=jag


git-svn-id: svn://10.0.0.236/trunk@121094 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:48:26 +00:00
bzbarsky%mit.edu
5ad9be30cc Bug 140758 redux -- cache results of getElementsByTagName in case people call
it in a loop.  r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@121093 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:48:19 +00:00
aaronl%netscape.com
849c919d76 Bug 136696. Active Accessibility: support get_accKeyboardShortcut(). r=jgaunt, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121092 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:43:49 +00:00
mostafah%oeone.com
cfceb487a8 Fixed getNextNEvents() function
git-svn-id: svn://10.0.0.236/trunk@121091 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:43:05 +00:00
mostafah%oeone.com
2d7ff7aacb Added getPreviousOccurence() function
git-svn-id: svn://10.0.0.236/trunk@121090 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:42:47 +00:00
aaronl%netscape.com
ebf18cfc47 Bug 135481. Active Accessibility: need method to scroll view to make specified IAccessible visible. r=jgaunt, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121089 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:28:39 +00:00
shanjian%netscape.com
c3d0048922 #140983 [regression]SC IME doesn't work properly and JA IME works wrong
If windows code page is 936 (simplified chinese), check IME's support of
unicode using GetProperty.
p=yokoyama, r=shanjian, sr=kin
check in for roy by shanjian


git-svn-id: svn://10.0.0.236/trunk@121088 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:24:55 +00:00
aaronl%netscape.com
116e86ace3 Bug 135482. Active Accessibility: need EVENT_OBJECT_SCROLLINGEND to tell where screen has scrolled to. r=jgaunt, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@121087 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:21:03 +00:00
rods%netscape.com
a9806babab Need to call StartPrint to initialize the Seq Frame
Bug 143089 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@121086 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:11:14 +00:00
bienvenu%netscape.com
d8a1b5c90e fix address book int yarn code to set yarn size correctly r=cavin, sr=sspitzer 142941
git-svn-id: svn://10.0.0.236/trunk@121085 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:53:26 +00:00
bienvenu%netscape.com
2b0f4dfc3c fix for crash when venkman pokes us with a stick, r=me, sr=sspitzer, timeless found crash 142858
git-svn-id: svn://10.0.0.236/trunk@121084 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:50:16 +00:00
varada%netscape.com
305b05f740 fix for 70540;launch account wizard when trying to compose messages with no accounts;r=racham;sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@121083 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:36:36 +00:00
dbaron%fas.harvard.edu
fb8751252d Replace assertion with a comment explaining why we need to null-check the result of |nsIDOMHTMLDocument::GetBody|. b=119351 r=kin sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121082 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:27:40 +00:00
darin%netscape.com
0eea5a5d49 fixes bug 142843 "mozilla ignores 'Expires: 0' and 'Pragma: no-cache' when
sent with a 'Last-Modified' header" r=bbaetz sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@121081 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:15:52 +00:00
depstein%netscape.com
51cd75e28d made 'native' changes to nsILocalFile tests. added nsIWebBrowserSetup tests, temporarily in Tests.cpp (TestYourMethod()).
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@121080 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:11:49 +00:00
kaie%netscape.com
08893b777c b=137530 Fix checkboxes in Edit Cipher dialog.
r=javi sr=hewitt idea-for-fix=varga


git-svn-id: svn://10.0.0.236/trunk@121079 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:06:11 +00:00
gerv%gerv.net
7f9c4c78fd Bug 143066 - footer shows as logged out on show_bug.cgi. Patch by gerv; 2xr=ddk
git-svn-id: svn://10.0.0.236/trunk@121078 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:02:58 +00:00
cbiesinger%web.de
879f614ce1 bug 141158 r=timeless sr=alecf
JS Strict warnings in utilityOverlay.js


git-svn-id: svn://10.0.0.236/trunk@121077 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:00:35 +00:00
cbiesinger%web.de
b790e31842 bug 139044 r=doron sr=alecf
js strict warnings in filepicker.js


git-svn-id: svn://10.0.0.236/trunk@121076 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 18:58:53 +00:00
cbiesinger%web.de
0d2b40dfe7 bug 102517 r=Morten@Nilsen.com sr=alecf
javascript strict warnings in mail-offline.js


git-svn-id: svn://10.0.0.236/trunk@121075 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 18:56:15 +00:00
cbiesinger%web.de
d04d5e863b bug 111404 patch by smaug@jippii.fi r=biesi sr=alecf
js strict warning in tabbrowser.xml


git-svn-id: svn://10.0.0.236/trunk@121074 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 18:53:43 +00:00
waterson%netscape.com
f717b66161 Bug 132905. Tweak CreateTemplatecontents slightly to help isolate a topcrash. r=rjc, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@121073 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 18:50:41 +00:00
nhotta%netscape.com
99a4ed43ce Remove unused string for charset menu,
bug 140120, r=ftang, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@121072 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 18:38:37 +00:00
nhotta%netscape.com
d25f40ea4e Add GB18030 to mail compose charset menu,
bug 136498, r=yokoyama, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@121071 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 18:36:26 +00:00
gerv%gerv.net
e56462dc14 Bug 143045 - Bug groups text is unclear. Patch by jmrobins@tgix.com; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@121070 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 18:32:36 +00:00
gerv%gerv.net
8436808119 Bug 142950 - query links in footer are broken. Patch by gerv; r=ddk, afranke.
git-svn-id: svn://10.0.0.236/trunk@121066 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 17:58:10 +00:00
mikep%oeone.com
3022c52e83 Adding in ability to show future events again.
git-svn-id: svn://10.0.0.236/trunk@121065 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 17:49:22 +00:00
mikep%oeone.com
9ab36e6b84 Fixing bug with SQL query being sent for future events.
git-svn-id: svn://10.0.0.236/trunk@121064 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 17:49:04 +00:00
kestes%walrus.com
143c52c9b0 fixes to quiet -w since
damien_carbery@hyperion.com is having trouble with them.


git-svn-id: svn://10.0.0.236/trunk@121063 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 17:43:02 +00:00
pinkerton%netscape.com
292e51c57b Make drawer work when window is on a 2nd monitor.
git-svn-id: svn://10.0.0.236/trunk@121061 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 15:00:46 +00:00
rods%netscape.com
02ac44dc3b change printpreview toolbar over to a combobox with discrete values
Bug 127857 r=sgehani sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121060 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 14:16:44 +00:00
locka%iol.ie
be5d5eb606 NOT PART OF BUILD. Throws exceptions for errors
git-svn-id: svn://10.0.0.236/trunk@121059 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 14:09:13 +00:00
locka%iol.ie
4f8838822e NOT PART OF BUILD. Support for most primitive data types in LiveConnect impl.
git-svn-id: svn://10.0.0.236/trunk@121058 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 13:22:03 +00:00
pete.zha%sun.com
842f7704d8 bug 70478:The "quote original message" option is missing when creating a reply or new message
r=ducarroz sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@121057 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 09:36:45 +00:00
bryner%netscape.com
58554f257e Fixing mcafee's windows bustage.
git-svn-id: svn://10.0.0.236/trunk@121055 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 08:13:32 +00:00
jay.yan%sun.com
4ad7b5a866 bug #135395 Add framework code for mozilla accessibility on Linux,
r=jay.yan@sun.com, sr=blizzard@mozilla.org, author is bolian.yin@sun.com.
this part is for allmakefiles.sh. Done!


git-svn-id: svn://10.0.0.236/trunk@121054 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 07:44:34 +00:00
jay.yan%sun.com
f3cfbd2409 bug #135395 Add framework code for mozilla accessibility on Linux,
r=jay.yan@sun.com, sr=blizzard@mozilla.org, author is bolian.yin@sun.com.
this part is for files of gtk2 directory.


git-svn-id: svn://10.0.0.236/trunk@121053 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 07:42:34 +00:00
jay.yan%sun.com
4b0857d84d bug #135395 Add framework code for mozilla accessibility on Linux,
r=jay.yan@sun.com, sr=blizzard@mozilla.org, author is bolian.yin@sun.com.
this part is for new files of mai directory.


git-svn-id: svn://10.0.0.236/trunk@121052 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 07:38:13 +00:00
mcafee%netscape.com
e10272e188 Moving PropertiesTest.cpp to netwerk/test (142680). r=cls, a=alecf
git-svn-id: svn://10.0.0.236/trunk@121048 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 06:13:40 +00:00
mcafee%netscape.com
2c93f02691 Moving necko PropertiesTest over to netwerk. Remove toplevel xpcom/tests dirs hack. (142680) r=cls, a=alecf
git-svn-id: svn://10.0.0.236/trunk@121047 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 06:11:48 +00:00
mcafee%netscape.com
7bb400f861 Moving PropertiesTest.cpp from xpcom/tests to netwerk/test to remove necko dependency from xpcom (142680). r=cls, a=alecf
git-svn-id: svn://10.0.0.236/trunk@121046 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 06:08:25 +00:00
edburns%acm.org
62ce0ecc33 Manage Bookmarks now works. You can click on links and the browser will go there.
git-svn-id: svn://10.0.0.236/trunk@121042 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 05:17:41 +00:00
gerv%gerv.net
b3f09d7476 Correct error message that Dave just fixed.
git-svn-id: svn://10.0.0.236/trunk@121041 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 05:06:13 +00:00
justdave%syndicomm.com
82728efb7e fix Tinderbox flaming
git-svn-id: svn://10.0.0.236/trunk@121040 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 04:56:52 +00:00
gerv%gerv.net
7420557e49 Bug 140437 - clean up parameters. Patch by gerv; 2xr=justdave.
git-svn-id: svn://10.0.0.236/trunk@121039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 04:40:35 +00:00
bzbarsky%mit.edu
abc6497b45 Back last checkin out till I get the windows casting stuff settled out....
git-svn-id: svn://10.0.0.236/trunk@121038 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 04:13:16 +00:00
bzbarsky%mit.edu
1ec693a3a2 Fix bustage
git-svn-id: svn://10.0.0.236/trunk@121037 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 03:47:22 +00:00
timeless%mac.com
40a501e6f8 whoops, wrong file
git-svn-id: svn://10.0.0.236/trunk@121036 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 03:45:23 +00:00
timeless%mac.com
a16d906b63 rods beos bustage (changes between rev 1.24 and 1.25) r=bz
git-svn-id: svn://10.0.0.236/trunk@121035 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 03:45:22 +00:00
bienvenu%netscape.com
6876ad97b0 fix crash importing long mailing list r=naving, sr=sspitzer 62084
git-svn-id: svn://10.0.0.236/trunk@121034 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 03:16:22 +00:00
bzbarsky%mit.edu
c195950355 Bug 140758 -- cache results of getElementsByTagName in case people call
it in a loop.  r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@121033 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 03:15:45 +00:00
darin%netscape.com
cbb59bb228 fixes OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@121032 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 02:16:43 +00:00
myk%mozilla.org
def9e13440 Fix for bug 142645: Tells users how to get a CVS account or file a bug report and attach their changes.
git-svn-id: svn://10.0.0.236/trunk@121031 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 01:49:07 +00:00
darin%netscape.com
eaf4dab634 fixing XP_WIN bookmarks bustage
git-svn-id: svn://10.0.0.236/trunk@121030 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 01:28:08 +00:00
kestes%walrus.com
c9d8cb0f5e erased the variables after setting them!
git-svn-id: svn://10.0.0.236/trunk@121028 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 00:44:45 +00:00
myk%mozilla.org
22ac49b0e6 Last bit of fix for bug 142860.
Patch by Myk Melez <myk@mozilla.org>.


git-svn-id: svn://10.0.0.236/trunk@121027 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 00:43:00 +00:00
kestes%walrus.com
d9427f10e8 bad localization. My evals did not put variables into the correct
scope.


git-svn-id: svn://10.0.0.236/trunk@121026 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 00:39:52 +00:00
darin%netscape.com
41900b63cb fixes potential win bustage
git-svn-id: svn://10.0.0.236/trunk@121025 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 00:20:32 +00:00
blythe%netscape.com
db01e0d163 Not part of normal build.
Use new options framework to initialize options.


git-svn-id: svn://10.0.0.236/trunk@121024 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 00:16:20 +00:00
myk%mozilla.org
5eedd75e14 Fix for bug 142860: Properly support editing of files with Mac-, Windows-, and Unix-style line endings.
Patch by Myk Melez <myk@mozilla.org>.


git-svn-id: svn://10.0.0.236/trunk@121023 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 00:15:00 +00:00
darin%netscape.com
dd44e5738e fixing mac bustage (next time i'll remember to build PSM on my mac)
git-svn-id: svn://10.0.0.236/trunk@121022 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 00:07:23 +00:00
attinasi%netscape.com
e0d7b3be3f Documentation Update:
Making Index page for Layout more complete now


git-svn-id: svn://10.0.0.236/trunk@121021 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 00:05:07 +00:00
darin%netscape.com
db9e45aa23 fixing WIN32 bustage.
git-svn-id: svn://10.0.0.236/trunk@121020 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:58:57 +00:00
blythe%netscape.com
c94402d8aa not part of normal build.
initial retooling of common prefs for multi user access.
more in this area to come.


git-svn-id: svn://10.0.0.236/trunk@121018 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:39:34 +00:00
wtc%netscape.com
fc46fdd1bb Bugzilla bug 136279: Return oldpath only if it is different from path.
Avoid an unnecessary call to SECMOD_HasRootCerts in nss_FindExternalRoot.


git-svn-id: svn://10.0.0.236/trunk@121017 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:35:22 +00:00
tingley%sundell.net
2b6c6bc17b Fix regression of bug 89065 to make text-decoration: blink work again.
r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121015 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:26:02 +00:00
harishd%netscape.com
884c73af13 No need to tokenize the input stream if the DTD ( NavDTD ) cannot create a content sink. b=138071, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121014 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:18:15 +00:00
naving%netscape.com
686b0b5023 104085 r=robinf,cavin sr=bienvenu fix problems when user exceeds num of custom headers allowed (50)
git-svn-id: svn://10.0.0.236/trunk@121013 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:13:21 +00:00
naving%netscape.com
217f9f168b 104085 r=cavin sr=bienvenu Add NS_MSG_CUSTOM_HEADERS_OVERFLOW error
git-svn-id: svn://10.0.0.236/trunk@121012 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:09:24 +00:00
attinasi%netscape.com
6de58463f2 Documentation Update: Removed 'template' from title
git-svn-id: svn://10.0.0.236/trunk@121011 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:08:49 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
mitchf%netscape.com
9b650339a0 checks to see if homepage URL has been set in UI
fixes bug 13923


git-svn-id: svn://10.0.0.236/trunk@121009 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:55:20 +00:00
myk%mozilla.org
9bec2878f6 Code clean-up for bug 142643: uses $1 instead of \1
Patch by Myk Melez <myk@mozilla.org>.


git-svn-id: svn://10.0.0.236/trunk@121008 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:52:56 +00:00
kestes%walrus.com
43590cf249 cosmetic changes to improve clarity.
git-svn-id: svn://10.0.0.236/trunk@121007 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:51:21 +00:00
kestes%walrus.com
de4a26c41f factor out GIF variable
git-svn-id: svn://10.0.0.236/trunk@121006 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:50:46 +00:00
kestes%walrus.com
536f45f11c factor out the even_vecs stuff.
git-svn-id: svn://10.0.0.236/trunk@121005 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:50:07 +00:00
kestes%walrus.com
80cf114184 put back the EMPTY CELL
git-svn-id: svn://10.0.0.236/trunk@121004 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:49:14 +00:00
kestes%walrus.com
5d721bcb9f add new GIF variable and move out the EMPTY variable
git-svn-id: svn://10.0.0.236/trunk@121003 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:48:40 +00:00
kestes%walrus.com
6faa7a2347 fixes for the new GIF variable.
git-svn-id: svn://10.0.0.236/trunk@121002 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:47:36 +00:00
kestes%walrus.com
bba54d58e8 update the GIF mechanism, create a separate GZLOG variable.
git-svn-id: svn://10.0.0.236/trunk@121000 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:47:02 +00:00
attinasi%netscape.com
5e53cefedf Documentation only: not part of any build.
Tech Note for how to add a new style property.


git-svn-id: svn://10.0.0.236/trunk@120999 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:46:14 +00:00
cmanske%netscape.com
dab9d822f3 Fixed getting state of 'noshade' attribute in Horizontal Lind Dialog. b=142784, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@120998 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:45:54 +00:00
locka%iol.ie
32ce391546 NOT PART OF BUILD. Fix for intermittant crash issue
git-svn-id: svn://10.0.0.236/trunk@120995 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:13:52 +00:00
ssu%netscape.com
f2c74e95a3 fixing bug 128552 - f6 and control+tab don't work in AB window. r=racham sr=mscott
git-svn-id: svn://10.0.0.236/trunk@120994 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 22:13:24 +00:00
depstein%netscape.com
02fbce9543 Fixed an 'observer matching' bug in nsIObserServ.cpp.
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@120992 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:59:57 +00:00
gerv%gerv.net
283d518ef5 Oops :-) Missing #.
git-svn-id: svn://10.0.0.236/trunk@120989 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:56:40 +00:00
justdave%syndicomm.com
b2d9c62cc8 Fix tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@120987 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:55:48 +00:00
locka%iol.ie
909a7e9896 NOT PART OF BUILD. More work on LiveConnect. It actually works now(!) but is a bit crashy for some undetermined reason.
git-svn-id: svn://10.0.0.236/trunk@120986 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:54:29 +00:00
locka%iol.ie
ff78c900d7 NOT PART OF BUILD. Plugin test pages
git-svn-id: svn://10.0.0.236/trunk@120985 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:51:12 +00:00
depstein%netscape.com
bc53cc23bd updated sHistoryListener test, uses onLoad function.
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@120984 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:47:54 +00:00
gerv%gerv.net
821ef3a861 Bug 142231 - template/.cvsignore should contain es, de, but not custom. Patch by burnus@gmx.de, 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@120982 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:33:53 +00:00
gerv%gerv.net
7c62d9c54f bug 142792 - Output from checksetup.pl contains misspelled words. Patch by ddk; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@120981 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:31:03 +00:00
gerv%gerv.net
fc485f3bf1 Bug 140435 - Templatise GetCommandMenu. Patch by gerv; r=bbaetz, justdave.
git-svn-id: svn://10.0.0.236/trunk@120980 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:28:52 +00:00
kestes%walrus.com
9567845c79 the red button
git-svn-id: svn://10.0.0.236/trunk@120979 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:28:39 +00:00
kestes%walrus.com
e07789cc30 add multiple flames gifs
git-svn-id: svn://10.0.0.236/trunk@120978 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:26:00 +00:00
nicolson%netscape.com
668781e807 change assert to _assert.
git-svn-id: svn://10.0.0.236/trunk@120977 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:45:09 +00:00
nicolson%netscape.com
bef183a58f add some checks to prevent misunderstandings
git-svn-id: svn://10.0.0.236/trunk@120976 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:44:48 +00:00
relyea%netscape.com
394940b694 Automatically create a NULL email profile for certs with email addresses which
are imported into the internal token.


git-svn-id: svn://10.0.0.236/trunk@120975 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:38:59 +00:00
kestes%walrus.com
b1345b09e3 use new round function
git-svn-id: svn://10.0.0.236/trunk@120974 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:37:43 +00:00
kestes%walrus.com
daa7263737 documentation improvements.
git-svn-id: svn://10.0.0.236/trunk@120973 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:36:26 +00:00
kestes%walrus.com
ef4cffc926 set the default state
git-svn-id: svn://10.0.0.236/trunk@120972 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:35:26 +00:00
nicolson%netscape.com
cd69649b24 update version numbers.
git-svn-id: svn://10.0.0.236/trunk@120971 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:34:54 +00:00
kestes%walrus.com
a012bf4527 clean up scope warning. Fix the event_rec to be more like tinderbox1.
git-svn-id: svn://10.0.0.236/trunk@120970 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:34:45 +00:00
nicolson%netscape.com
02e5524cb7 make it public so that it can be instantiated from CryptoManager.
git-svn-id: svn://10.0.0.236/trunk@120969 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:34:05 +00:00
myk%mozilla.org
91501446fc Fix for bug 142643: Re-implements line-break escaping to prevent literal occurrences
of escaped line break sequences from being mistakenly interpreted as line breaks.
Patch by Myk Melez <myk@mozilla.org>.


git-svn-id: svn://10.0.0.236/trunk@120968 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:33:58 +00:00
kestes%walrus.com
c068d3fcd8 clean up some scope warnings.
git-svn-id: svn://10.0.0.236/trunk@120967 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:33:53 +00:00
nicolson%netscape.com
55e9a45b9e implement some methods in support of java.security.Key.
git-svn-id: svn://10.0.0.236/trunk@120966 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:33:23 +00:00
nicolson%netscape.com
062242bfcd fix broken error message.
git-svn-id: svn://10.0.0.236/trunk@120965 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:32:29 +00:00
ian.mcgreer%sun.com
467a24f935 bug 141936, crash when NULL nickname entry is stored in temp store
r=jpierre


git-svn-id: svn://10.0.0.236/trunk@120964 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:31:59 +00:00
nicolson%netscape.com
418598173d Now SymmetricKey knows what KeyGenAlgorithm its associated with.
git-svn-id: svn://10.0.0.236/trunk@120963 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:31:52 +00:00
nicolson%netscape.com
4c4277a8b7 force load of SHA1 provider before installing it as a provider.
git-svn-id: svn://10.0.0.236/trunk@120962 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:31:14 +00:00
nicolson%netscape.com
964e9d00d5 add JCE providers.
git-svn-id: svn://10.0.0.236/trunk@120961 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:30:38 +00:00
sgehani%netscape.com
abcfd06592 Complete backing out sidebar personal toolbar button.
b=142261; r=law; sr=jag


git-svn-id: svn://10.0.0.236/trunk@120960 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:29:16 +00:00
attinasi%netscape.com
956014268c Added checks for null to handle the case where a Mac-specific theme with native scrollbars is applied to a non-Mac platform, which was crashing us. b=138720 sr=kin r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@120959 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:29:04 +00:00
nicolson%netscape.com
7e575ca7e6 update version strings.
git-svn-id: svn://10.0.0.236/trunk@120958 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:24:03 +00:00
jst%netscape.com
44a55d0e51 Fixing bug 140462. nsIURI segment accessors return only part of the requested segments in some cases. r=bbaetz@student.usyd.edu.au, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120957 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:23:37 +00:00
shanjian%netscape.com
bfcfeac51a #141877 file:// protocol does not display non ASCII folder name under cjk window system
use mbsrchr to check if the last char in patch is '\'
r=dougt, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120956 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:09:07 +00:00
kestes%walrus.com
63dc3b2b5c move the method for cleaning up row_times into its own function.
git-svn-id: svn://10.0.0.236/trunk@120955 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:03:22 +00:00
kestes%walrus.com
7e75e657d1 more accurate ingore unwanted errors. Taken from mozilla.org logs.
git-svn-id: svn://10.0.0.236/trunk@120954 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 20:01:44 +00:00
despotdaemon%netscape.com
cb04f89e8c Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@120953 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 19:47:23 +00:00
pinkerton%netscape.com
15d277370a Make CF_HTML a different flavor and return it to editor w/out any
modification. Bulletproof the data we get from the OS by always null
terminating it. r=brade/sr=kin bug# 69566.


git-svn-id: svn://10.0.0.236/trunk@120952 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 19:45:58 +00:00
rods%netscape.com
44357c13cc Fix bustage
git-svn-id: svn://10.0.0.236/trunk@120951 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 19:27:05 +00:00
rods%netscape.com
659bd3bd17 OK, really fixing the HP bustage this time.
git-svn-id: svn://10.0.0.236/trunk@120950 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 15:33:06 +00:00
ian.mcgreer%sun.com
1e68160965 bug 142175, PK11_ListCerts regressions -- handle PKCS#11 incompatibilites with serial numbers, and fix trust collection.
git-svn-id: svn://10.0.0.236/trunk@120949 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:58:12 +00:00
mikep%oeone.com
ae5ccfb945 Day view and week view now show proper formatted times.
git-svn-id: svn://10.0.0.236/trunk@120948 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:55:38 +00:00
waterson%netscape.com
a6d480fbb6 Add some NOISY_SPACEMANAGER debugging code.
git-svn-id: svn://10.0.0.236/trunk@120946 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:08:54 +00:00
waterson%netscape.com
ec9aa1aeb8 Fix debug-only printf.
git-svn-id: svn://10.0.0.236/trunk@120945 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:07:53 +00:00
rods%netscape.com
f2b48d0e93 fixed build bustage on HP
git-svn-id: svn://10.0.0.236/trunk@120944 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:07:28 +00:00
rods%netscape.com
7ad503bef8 These files are no longer needed.
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120943 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:03:30 +00:00
rods%netscape.com
c7076aeef4 Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
missed these files/changes
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120942 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 13:56:02 +00:00
ccarlen%netscape.com
0646288913 Fixing bustage that will be happening. The wrong copy of this got checked in with Rod's checkin for bug 115136.
git-svn-id: svn://10.0.0.236/trunk@120941 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 13:51:21 +00:00
ccarlen%netscape.com
c5d5a72b58 File got truncated in Rod's checkin for bug 115136. Fixing that.
git-svn-id: svn://10.0.0.236/trunk@120940 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 13:23:54 +00:00
mikep%oeone.com
737e92e974 New event dialog now modal, collapsing checkboxes for future events.
git-svn-id: svn://10.0.0.236/trunk@120939 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 13:15:25 +00:00
ian%hixie.ch
c7b3364fb9 Preliminary work in making the user prefs notifications page nicer.
git-svn-id: svn://10.0.0.236/trunk@120938 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 12:16:24 +00:00
ian%hixie.ch
c1c1c9842b Add the hidden userPrefs.userID fields to the user prefs page so that changes to users other than yourself actually take effect.
git-svn-id: svn://10.0.0.236/trunk@120937 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 12:16:01 +00:00
rods%netscape.com
fe2355ea4d Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120936 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 12:03:37 +00:00
cbiesinger%web.de
aea052db06 bug 130876 patch by lorenzo@colitti.com r=pavlov sr=tor
some .gifs don't display


git-svn-id: svn://10.0.0.236/trunk@120935 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 10:30:50 +00:00
bbaetz%student.usyd.edu.au
06efba3015 Bug 135543 - @Support::Templates::testitems does not list all templates
Patch by ddkilzer@theracingworld.com (David D. Kilzer), r=gerv, justdave


git-svn-id: svn://10.0.0.236/trunk@120934 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 09:45:32 +00:00
kaie%netscape.com
c34e8d9af2 b=141871 Releasing callback in nsNSSSocketInfo must be proxied.
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120932 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 09:35:00 +00:00
kaie%netscape.com
6a6da6c58f b=112384 Unable to download some CRLs.
r=javi sr=darin


git-svn-id: svn://10.0.0.236/trunk@120931 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 09:29:23 +00:00
kaie%netscape.com
8f4df8a64d b=139329 Crashes trying to send signed mail.
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120930 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 09:25:19 +00:00
bbaetz%student.usyd.edu.au
6340b4eca1 Bug 134571 - client-side image maps in showdependencygraph.cgi
Patch by zeroJ@null.net (John Vandenberg), r=bbaetz, justdave


git-svn-id: svn://10.0.0.236/trunk@120929 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 09:14:38 +00:00
bbaetz%student.usyd.edu.au
a0eaabeac8 Bug 140355 - warn the user about not using a webserver group
r=gerv, justdave


git-svn-id: svn://10.0.0.236/trunk@120928 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 09:09:44 +00:00
bbaetz%student.usyd.edu.au
5426c8a5da Bug 139782 - raw directory listing format is confusing
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@120926 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 08:40:09 +00:00
brendan%mozilla.org
1fd017c5ae Avoid toSource bloat in e.stack; fix related crash due to unrooted errObject in js_ErrorToException (139316, r=rginda, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@120925 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 08:34:51 +00:00
glazman%netscape.com
c1c14d7c54 Composer was assigning an invalid value to nowrap attribute on table cells.
b=142442, r=brade, sr=kin


git-svn-id: svn://10.0.0.236/trunk@120924 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 08:34:34 +00:00
brendan%mozilla.org
b39de47648 Fix old bogus static dollarStr thread-safety bug (142651, r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@120923 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 08:29:39 +00:00
dprice%netscape.com
4f04c8286c 142170 r=ssu sr=jag adt=jaime a=asa
add message= flag to RunApp sections of .ini files

142282 r=ssu,syd,dprice sr=mscott adt=jaime a=chofmann
add supercede attribute to Components sections of .ini files


git-svn-id: svn://10.0.0.236/trunk@120921 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 07:22:20 +00:00
mcafee%netscape.com
89decbbbc4 switch to DIRS-based build, not build-in-each-directory way.
git-svn-id: svn://10.0.0.236/trunk@120920 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 07:05:10 +00:00
kestes%walrus.com
d50d6e28b4 escape the parenthesis.
git-svn-id: svn://10.0.0.236/trunk@120919 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 04:05:17 +00:00
ian%hixie.ch
6efcedea1b pendingCommands.defined doesn't seem to work... Let's try pendingCommands.ref. It's technically more correct anyway.
git-svn-id: svn://10.0.0.236/trunk@120917 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 03:04:37 +00:00
ian%hixie.ch
daa25efe83 Forgot to fully convert the templates to Template Toolkit: nested dots need to be escaped differently now.
git-svn-id: svn://10.0.0.236/trunk@120916 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 03:03:00 +00:00
kestes%walrus.com
5076f11e51 minor fixes
git-svn-id: svn://10.0.0.236/trunk@120915 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 02:47:43 +00:00
kestes%walrus.com
002d10ffe8 minor fixes, this one really works.
git-svn-id: svn://10.0.0.236/trunk@120913 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 02:34:58 +00:00
kestes%walrus.com
1f74596bc8 rewrite the problem code. Clearly I can't debug the old code, the new one is simpler
and should be faster/easier to debug/understand.


git-svn-id: svn://10.0.0.236/trunk@120912 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 01:50:48 +00:00
ian%hixie.ch
bd02b41d6b Fix some bugs with the pendingCommand escaping code: First, extra spaces were being inserted (so much for s///x). Second, the escaping was actually modifying the original keys. Third, there were some logic errors that caused underescaping or resulted in the wrong key being escaped.
git-svn-id: svn://10.0.0.236/trunk@120911 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 01:50:22 +00:00
wtc%netscape.com
7084b5beaa Bugzilla bug 142677: made --disable-ipv6 work on AIX. Removed the obsolete
file _aix32in6.cfg.
Modified files: configure.in configure _aix32.cfg
Removed file: _aix32in6.cfg


git-svn-id: svn://10.0.0.236/trunk@120910 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 01:43:40 +00:00
blakeross%telocity.com
e47a83e3ac 133666 - skin switch on restart not completely performed. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@120909 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 01:33:29 +00:00
waterson%netscape.com
dbe6737108 Fix build bustage when NOISY_SPACE_MANAGER is set.
git-svn-id: svn://10.0.0.236/trunk@120908 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 01:32:55 +00:00
ian%hixie.ch
eaed54eda6 Lots of tweaks, mainly to make the source look pretty. Also hid the Settings header if there are no important settings.
git-svn-id: svn://10.0.0.236/trunk@120907 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 01:32:28 +00:00
ben%netscape.com
ea9ebe4185 bug 142165, crash and fasl file invalidation when loading non-chrome XUL files.
Ensure that we only poke the chrome cache for prototype documents that are chrome
URIs. Also, ensure that we only cache the fasl'ed prototype when it was read
without hiccup.
r=blake, sr=brendan.


git-svn-id: svn://10.0.0.236/trunk@120906 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 01:29:44 +00:00
timeless%mac.com
e258fa6de5 Bug 125450 "Typeface" should be aligned to the left not center in font prefs
patch by walk84@yahoo.com r=timeless sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120905 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 01:00:58 +00:00
kestes%walrus.com
dc0bd53a21 fix
git-svn-id: svn://10.0.0.236/trunk@120904 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 00:23:49 +00:00
kestes%walrus.com
9323e5af52 fix
git-svn-id: svn://10.0.0.236/trunk@120903 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 23:52:57 +00:00
kestes%walrus.com
89084decb4 fixes
git-svn-id: svn://10.0.0.236/trunk@120902 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 23:51:43 +00:00
akkana%netscape.com
c0794125e6 92102: Make find wrap through frames. r=ccarlen sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120901 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 23:41:29 +00:00
kestes%walrus.com
79ba78a533 fix
git-svn-id: svn://10.0.0.236/trunk@120900 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 23:38:38 +00:00
jpierre%netscape.com
213eb381ac Fix for 142658 - fix certutil crash with NULL nickname
git-svn-id: svn://10.0.0.236/trunk@120898 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 23:10:40 +00:00
ian%hixie.ch
dc84debdd8 Correct a typo: Output is done through the application object, not the user prefs object...
git-svn-id: svn://10.0.0.236/trunk@120897 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 23:05:08 +00:00
kestes%walrus.com
9790e7e097 fix
git-svn-id: svn://10.0.0.236/trunk@120896 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 23:04:10 +00:00
kestes%walrus.com
7fb9e80fa2 fix
git-svn-id: svn://10.0.0.236/trunk@120895 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 23:01:55 +00:00
kestes%walrus.com
5d65c0bbc6 fix
git-svn-id: svn://10.0.0.236/trunk@120894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 23:00:05 +00:00
brendan%mozilla.org
843653e566 Fix script attribute handling so type trumps language (135493, r=heikki, sr=jst).
git-svn-id: svn://10.0.0.236/trunk@120893 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:59:42 +00:00
ian%hixie.ch
bab803e830 Add an additional check that the change ID is valid
git-svn-id: svn://10.0.0.236/trunk@120892 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:59:22 +00:00
kestes%walrus.com
5a99b981c2 more fixes
git-svn-id: svn://10.0.0.236/trunk@120891 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:57:10 +00:00
naving%netscape.com
cce371d37a 142627 r=racham sr=bienvenu, fixing a regression to make copies and folders panel work correctly.
git-svn-id: svn://10.0.0.236/trunk@120890 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:53:31 +00:00
darin%netscape.com
17c3fa9d2b fixing documentation bug (r=ccarlen)
git-svn-id: svn://10.0.0.236/trunk@120889 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:45:30 +00:00
myk%mozilla.org
bccde8f0ab Fix for bug 137673: No longer displays CVS error codes to end users.
Patch by James Cox <imajes@php.net>.
r=myk


git-svn-id: svn://10.0.0.236/trunk@120888 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:22:33 +00:00
akkana%netscape.com
1600a4843d 92102: Fix wrapping through frames, and don't find content inside noframes tags. r=ccarlen sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120887 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:22:13 +00:00
kestes%walrus.com
d2ed8ca972 allow zero dead times, delete columns which have no activity for 24 hours.
git-svn-id: svn://10.0.0.236/trunk@120885 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:08:41 +00:00
ccarlen%netscape.com
462d3f886e Removing - obsolete and not part of build. Bug 141367. r=akkana/sr=kin
git-svn-id: svn://10.0.0.236/trunk@120884 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 22:06:02 +00:00
hwaara%chello.se
f9abb6e3c9 #109291, "document.*Color is empty".
Fix our DOM color  properties to work like on other browsers. For example, when no body bgcolor is explicitely specified, we will return the default bgcolor instead of just returning null. Same thing with text color, visited link color etc.

r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@120883 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:58:10 +00:00
kestes%walrus.com
cc2394299f forgot a pair of ||
git-svn-id: svn://10.0.0.236/trunk@120882 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:55:17 +00:00
nicolson%netscape.com
b81a91d907 Renamed to JSS*.
git-svn-id: svn://10.0.0.236/trunk@120881 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:54:38 +00:00
kestes%walrus.com
1f572400f2 in trim_db() localize @run_times @dead_times and remove
columns which are not currently recieving data.


git-svn-id: svn://10.0.0.236/trunk@120880 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:53:57 +00:00
pinkerton%netscape.com
0b20e68bf4 make NS_ConvertUTF8toUCS2(ptr, length) work correctly. r=jag/sr=scc bug#141866
git-svn-id: svn://10.0.0.236/trunk@120879 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:50:45 +00:00
gerv%gerv.net
ab8fc4b9a1 Oops - adding INTERFACE comments accidentally included some code from another patch. Backing out those changes.
git-svn-id: svn://10.0.0.236/trunk@120878 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:49:53 +00:00
myk%mozilla.org
b33089a344 Fix for bug 142637: Cleans up configuration files.
Patch by Myk Melez <myk@mozilla.org>.


git-svn-id: svn://10.0.0.236/trunk@120877 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:46:48 +00:00
shrutiv%netscape.com
efd3c14ee1 changing browser name
git-svn-id: svn://10.0.0.236/trunk@120876 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:45:50 +00:00
shrutiv%netscape.com
72d744ae19 Fix for bugscape bug 14657: Need to rename c11n program product name
"Netscape 6 by .." (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@120875 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:34:23 +00:00
shrutiv%netscape.com
58a4e27f76 specifying type for strVersion
git-svn-id: svn://10.0.0.236/trunk@120874 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:32:20 +00:00
shrutiv%netscape.com
04c044f8d2 Fix for bugscape bug 14657: Need to rename c11n program product name
"Netscape 6 by .." (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@120873 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:27:23 +00:00
ian%hixie.ch
97a39903b1 Forgot to fully convert the templates to Template Toolkit: nested dots need to be escaped differently now. Also added filters to the URI fragments so that spaces get escaped properly. They'll be stuck together at some point.
git-svn-id: svn://10.0.0.236/trunk@120872 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:15:05 +00:00
jaggernaut%netscape.com
efe4a24b85 Bug 129428: Paste doesn't work in bookmark manager. Patch by ben@netscape.com, r=pierrechanial@netscape.net, sr=jag
git-svn-id: svn://10.0.0.236/trunk@120871 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:10:51 +00:00
kestes%walrus.com
201d735b89 don't make ignore of NS_ENSURE_TRUE(presShell) depend on line number.
git-svn-id: svn://10.0.0.236/trunk@120870 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:07:57 +00:00
ian%hixie.ch
509dbdd477 Forgot to fully convert the templates to Template Toolkit: nested dots need to be escaped differently now
git-svn-id: svn://10.0.0.236/trunk@120869 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:05:28 +00:00
kestes%walrus.com
e5029517ec fixes
git-svn-id: svn://10.0.0.236/trunk@120868 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:05:01 +00:00
kestes%walrus.com
61ce6cbff0 fixes
git-svn-id: svn://10.0.0.236/trunk@120867 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:03:11 +00:00
radha%netscape.com
26ea934e32 Fix for bug # 125372. Forward arrow not active when it should be. r=adamlock sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@120866 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:01:59 +00:00
ian%hixie.ch
7fa663701f Add more information to the hash passed to the change of address outputs
git-svn-id: svn://10.0.0.236/trunk@120865 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:01:48 +00:00
ian%hixie.ch
25757cccba Remove the 'html' bit from the filenames.
git-svn-id: svn://10.0.0.236/trunk@120864 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:00:53 +00:00
kestes%walrus.com
992e385dfd fixes for LAST_TREEDATA
git-svn-id: svn://10.0.0.236/trunk@120863 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:57:53 +00:00
kestes%walrus.com
63396e2333 redefine when states are different to include notion of no LAST_TREESTATE.
git-svn-id: svn://10.0.0.236/trunk@120862 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:53:03 +00:00
kestes%walrus.com
eaba1bb42a fixes to how trim_db is called, and to make sure we get fresh estimate data.
git-svn-id: svn://10.0.0.236/trunk@120861 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:45:18 +00:00
shrutiv%netscape.com
d4559c1fa5 Fix for bugscape bug 11874: Better description of language desired in
Lang dropdown menu (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@120860 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:41:55 +00:00
saari%netscape.com
23a534e482 fix for bugzilla 142138, null checks to prevent exploding when processing an activate event during window tear down. sr=jag, r=chak
git-svn-id: svn://10.0.0.236/trunk@120859 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:35:17 +00:00
shrutiv%netscape.com
677c8cf780 Fix for bugscape bug 11874: Better description of language desired in
Lang dropdown menu (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@120858 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:34:26 +00:00
kestes%walrus.com
7862c24a7d last_TREESTATE not equal to default case handled incorrectly.
git-svn-id: svn://10.0.0.236/trunk@120857 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:23:28 +00:00
pavlov%netscape.com
836667a989 fixing bug 132319. patch from paper@animecity.nu. r=pavlov sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@120856 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:20:49 +00:00
bzbarsky%mit.edu
9d349de176 Bug 139624 (minor fixes to view-source menus). Patch by
gregvalure@yahoo.com (Greg Valure), r=bzbarsky, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120855 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:19:54 +00:00
leaf%mozilla.org
a2a54f53ce Automated update
git-svn-id: svn://10.0.0.236/trunk@120854 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:11:12 +00:00
dougt%netscape.com
9eb4ba66a4 Fixing the SunOS bustage. Removing res_ninit check until we can add the right link lines. bug 142205
git-svn-id: svn://10.0.0.236/trunk@120853 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:01:52 +00:00
mikep%oeone.com
e2d408dd0e Adding in function to remove unifinder observer.
git-svn-id: svn://10.0.0.236/trunk@120851 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 19:35:15 +00:00
gerv%gerv.net
333d8ec13b Bug 140993 - Pass javascript correctly into header; templatise the rest of the header-related parameters. Patch by gerv; r=bbaetz, caillon.
git-svn-id: svn://10.0.0.236/trunk@120850 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 19:30:21 +00:00
mikep%oeone.com
efbec274dc Adding in ability to copy and paste calendar events.
git-svn-id: svn://10.0.0.236/trunk@120849 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 19:27:50 +00:00
kestes%walrus.com
7e227fe67b not setting $LAST_TREESTATE appropriately at top of status_table_row();
git-svn-id: svn://10.0.0.236/trunk@120848 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 19:23:47 +00:00
gerv%gerv.net
ec0f12da44 Bug 141036 - add INTERFACE comments to all templates. This does the first 20 or so - many more to go... Patch by gerv; 2xr=bbaetz.
git-svn-id: svn://10.0.0.236/trunk@120845 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 19:17:24 +00:00
mikep%oeone.com
280c094344 Bug fixes for oeone changes with move to new calendar code.
git-svn-id: svn://10.0.0.236/trunk@120844 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 19:11:19 +00:00
kestes%walrus.com
5f1f07d69d more HTML indentation fixes.
git-svn-id: svn://10.0.0.236/trunk@120843 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 19:08:55 +00:00
kestes%walrus.com
4d60513ac4 fixes to HTML indentation, to make debugging easier.
git-svn-id: svn://10.0.0.236/trunk@120842 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 19:04:58 +00:00
nicolson%netscape.com
49c0585c53 Sun's PBE Key Spec is incomplete.
git-svn-id: svn://10.0.0.236/trunk@120841 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 18:58:39 +00:00
nicolson%netscape.com
776c75633e add DESede.
git-svn-id: svn://10.0.0.236/trunk@120840 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 18:49:52 +00:00
kestes%walrus.com
aff54855ed indent the build cell a bit more. This will help me debug HTML.
git-svn-id: svn://10.0.0.236/trunk@120839 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 18:37:00 +00:00
kestes%walrus.com
6bed324885 put a comment for Time to help debug HTML.
git-svn-id: svn://10.0.0.236/trunk@120838 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 18:36:28 +00:00
kestes%walrus.com
d90acc9405 change popup.
git-svn-id: svn://10.0.0.236/trunk@120836 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 18:21:34 +00:00
kestes%walrus.com
328699a2de more fixes to make the nwe multiline empty column work.
git-svn-id: svn://10.0.0.236/trunk@120835 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 18:15:57 +00:00
kestes%walrus.com
4d9532e7b8 fix missing '}';
git-svn-id: svn://10.0.0.236/trunk@120834 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 17:53:27 +00:00
kestes%walrus.com
a6811e94b4 fix overlapping build hack. Use the OO notation (so we search ISA) when
looking for trim_db().


git-svn-id: svn://10.0.0.236/trunk@120833 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 17:41:38 +00:00
dcone%netscape.com
88a13297e4 Added some files for the Debug object. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@120830 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 13:16:27 +00:00
dcone%netscape.com
d240581dbf Updated the debug object. This is not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@120829 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 13:14:33 +00:00
ian%hixie.ch
91bcd3f99e E-mail templates
git-svn-id: svn://10.0.0.236/trunk@120828 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 12:53:53 +00:00
rods%netscape.com
1724160827 Make "Num copies" work for PS
Bug 139566 r=roland sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120827 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 12:04:22 +00:00
ian%hixie.ch
9cf6b26355 Remove the 'html' bit from the filenames.
git-svn-id: svn://10.0.0.236/trunk@120826 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 11:03:12 +00:00
ian%hixie.ch
aa3b6dd129 Ok, handle undef in getArgumentsFromString the same as an empty string. This function sometimes gets called with the result of peekArgument(), which could be undef.
git-svn-id: svn://10.0.0.236/trunk@120825 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 10:10:57 +00:00
ian%hixie.ch
bba2709b08 There's a bug somewhere which results in the expansion of an undefined string. This assertion should help track it down.
git-svn-id: svn://10.0.0.236/trunk@120824 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 09:55:19 +00:00
ian%hixie.ch
a31edff424 Oops, forgot to make the primary key ID an auto_increment column.
git-svn-id: svn://10.0.0.236/trunk@120823 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 09:53:01 +00:00
bryner%netscape.com
e5298ad2d1 Fixing gtk2 bustage. r=cls.
git-svn-id: svn://10.0.0.236/trunk@120821 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 07:02:45 +00:00
ian%hixie.ch
781a940078 getFields returns an arrayref, so we have to dereference it before using it in a foreach loop.
git-svn-id: svn://10.0.0.236/trunk@120820 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 05:51:02 +00:00
ian%hixie.ch
1b4265f8b6 Oops, I was stomping on the fieldsByID property by treating it as a function instead of a hash. Also add in an assertion to check that insertField() is always called with a real field.
git-svn-id: svn://10.0.0.236/trunk@120819 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 05:50:06 +00:00
ian%hixie.ch
086b5ab6a1 Make user fields all provide the user.field service so that they can be easily recognised.
git-svn-id: svn://10.0.0.236/trunk@120818 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 05:48:48 +00:00
ian%hixie.ch
10cfb5209d Change the expected field category name from 'detail' to 'personal' for consistency
git-svn-id: svn://10.0.0.236/trunk@120817 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 05:26:00 +00:00
ian%hixie.ch
d6a5a371d4 When getting ones password sent without getting a login failed message first, the pending command is the request to send a new password... so you get sent back to that once your password is sent. That's not good. This fixes it by moving the pendingCommands code to the login.failed page and making the login.detailsSent page only show the continue button when appropriate.
git-svn-id: svn://10.0.0.236/trunk@120816 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 05:17:00 +00:00
ian%hixie.ch
48ec2543c1 User Preferences Screens
git-svn-id: svn://10.0.0.236/trunk@120815 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 04:55:59 +00:00
mcafee%netscape.com
d0abd79216 switching point color to dk. green
git-svn-id: svn://10.0.0.236/trunk@120814 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 04:50:24 +00:00
ian%hixie.ch
b54f6a7738 Fixing the spelling of getRightsForGroups() where it is declared and used. Also fixing one of the SQL statements to use rights.rightID not rights.ID.
git-svn-id: svn://10.0.0.236/trunk@120813 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 04:36:42 +00:00
mcafee%netscape.com
1458ab2d6a switch TinderboxPrint aggregation char to ; since I want to use , for graph urls. I think people are mostly calling TinderboxPrint for each blurb of data anyways.
git-svn-id: svn://10.0.0.236/trunk@120812 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 04:10:08 +00:00
mcafee%netscape.com
9fd907106b back to comma, # didn't work
git-svn-id: svn://10.0.0.236/trunk@120811 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 04:05:10 +00:00
ian%hixie.ch
e93997dd50 Rename 'setting' to 'settings' throughout to be consistent. Also, make it so that someone with the right to change all groups gets to be the equivalent of an owner even in groups where he is only marked as administrator.
git-svn-id: svn://10.0.0.236/trunk@120810 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 03:54:14 +00:00
mcafee%netscape.com
b7cea046ae switch to # for showpoint split char, can't use comma b/c of TinderboxPrint: conflict
git-svn-id: svn://10.0.0.236/trunk@120809 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 03:49:55 +00:00
ian%hixie.ch
a1a5159f19 Hardcoded constants strike again... Changing the setup code to let the first administrator have the rights to let other people be administrators.
git-svn-id: svn://10.0.0.236/trunk@120808 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 03:10:50 +00:00
karnaze%netscape.com
3c41b1b999 bug 138725 - Reflow placeholder's out of flow frame in DoCleanupFrameReferences. Avoid reframing when an inline is appended to an inline containing a block. sr=waterson, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@120807 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 02:02:35 +00:00
blakeross%telocity.com
590ce2f697 132013 - remove from list should be batched. r=hewitt sr=ben
git-svn-id: svn://10.0.0.236/trunk@120806 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 01:14:27 +00:00
cmanske%netscape.com
84a8db9613 Fixed enter key handling in Publish Progress dialog. b=140962, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@120805 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 23:07:27 +00:00
ian%hixie.ch
e70690de47 comment clarification
git-svn-id: svn://10.0.0.236/trunk@120803 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 22:43:05 +00:00
blakeross%telocity.com
8d3697a6d3 140262 - context menu for input type=password should include paste. patch by bz. r=biesi sr=me
git-svn-id: svn://10.0.0.236/trunk@120802 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 20:39:50 +00:00
mcafee%netscape.com
c7c77c5df4 Adding showpoint feature for performance graphs, clicking on past tbox builds will highlight that datapoint in the graph.
git-svn-id: svn://10.0.0.236/trunk@120798 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 17:25:33 +00:00
mcafee%netscape.com
2d0c36f39e Write out temp file with pid, to avoid race condition
git-svn-id: svn://10.0.0.236/trunk@120797 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 08:50:14 +00:00
mcafee%netscape.com
f40b288bff Trying out new cgi parameter showpoint, &showpoint=2002:03:21:06:52:28,4087 will print a big point there, e.g. highlighting one of the data points
git-svn-id: svn://10.0.0.236/trunk@120796 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 08:14:00 +00:00
mkaply%us.ibm.com
9338b131dc OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@120794 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 03:26:52 +00:00
caillon%returnzero.com
56d55212c0 Rename getSelection to get_selection. Fixes bug 141716, Mozilla context menus were broken on query.cgi because of getSelection overriding the native method which is used by Mozilla's context menu code. r=bbaetz x2
git-svn-id: svn://10.0.0.236/trunk@120793 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-05 03:08:50 +00:00
leaf%mozilla.org
3614a838d1 adding a module that contains everything "the whole client" uses, so
we can have a bonsai tree that tracks things on branches like 1.0, where
all the major components are on the same tag and are potentially taking
checkins. -leaf


git-svn-id: svn://10.0.0.236/trunk@120792 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 20:41:04 +00:00
mkaply%us.ibm.com
23cfcacb88 OS/2 bustage - its either remove PR_CALLBACK or add it to the header. I don't have an OS/2 machine since I am in San Antonio where my new son was born. See http://www.kaply.com
git-svn-id: svn://10.0.0.236/trunk@120790 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 18:49:30 +00:00
sspitzer%netscape.com
3ce96eb856 part of the fix for #119360. LDIF export is lossy. In this case,
I forgot we have to base64 encode any lines that contain \r or \n.
For example, the "notes" field in a card.  Thanks to Rich Ibbotson
(ribbotso@rochester.rr.com) for the initial patch.
r=dmose, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@120789 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 18:03:51 +00:00
sspitzer%netscape.com
609636bdf3 fix for #115906. when typing in notes, enter should not close the edit / new card dialog.
also, fix the buttons on the edit card dialog to match the spec.
r=racham, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@120788 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 18:01:06 +00:00
sicking%bigfoot.com
f33f681c69 Bug 130439: Remove unused function in tokenizer. Patch by choess@stwing.upenn.edu
r=harishd sr=heikki


git-svn-id: svn://10.0.0.236/trunk@120787 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 15:41:00 +00:00
bryner%netscape.com
bbfe41ce26 Make the XUL cache lock gc'ing of script objects while they are in the cache, to prevent pulling out a bogus JSObject. Bug 132216, r=waterson, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@120786 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 09:15:04 +00:00
cbiesinger%web.de
f129e9fca9 bug 138052 patch by timeless r=biesi sr=darin
data: is still too agressive about stripping whitespace XML


git-svn-id: svn://10.0.0.236/trunk@120785 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 09:10:36 +00:00
depstein%netscape.com
f0ae3d816c added test cases for nsIWebBrowser, temporarily in TestYourMethod().
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@120783 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 05:55:55 +00:00
bryner%netscape.com
870e2e8bf7 Adding the functions JS_LockGCThingRT and JS_UnlockGCThingRT, which are variants that only require a JSRuntime, not a JSContext. Converted some internal callers to use the new interface. Bug 141356, patch from shaver, r=bryner, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@120782 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 05:28:09 +00:00
bbaetz%student.usyd.edu.au
fa87875122 Bug 139313 - warning in buglist.cgi when votes isn't a parameter
patch by cedric.caron@urbanet.ch (Cedric Caron), r=bbaetz x2


git-svn-id: svn://10.0.0.236/trunk@120781 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 04:58:07 +00:00
leaf%mozilla.org
5480a179d4 Automated update
git-svn-id: svn://10.0.0.236/trunk@120780 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 03:41:12 +00:00
dougt%netscape.com
5720de8da3 Fixes 117628. Failed DNS error causes future lookups to fail. Now we call res_ninit() on platforms which support this function when the dns lookup fails. r=brendan@mozilla.org, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120779 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 03:40:06 +00:00
blythe%netscape.com
48687c1c81 Abstract option acquisition for reuse in per thread settings.
Have the category focus also cause cached graphs to reset.


git-svn-id: svn://10.0.0.236/trunk@120777 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 02:06:52 +00:00
kestes%walrus.com
f048209120 fixes for bugs
git-svn-id: svn://10.0.0.236/trunk@120776 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:51:46 +00:00
oeschger%netscape.com
da532d5a06 updating help content, dispensation per 122806: adding entries to search database, r=cotter
git-svn-id: svn://10.0.0.236/trunk@120774 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:28:49 +00:00
pschwartau%netscape.com
ff51060c41 Initial add. Regression test for bug 140974.
git-svn-id: svn://10.0.0.236/trunk@120773 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:13:40 +00:00
blythe%netscape.com
047482f5f0 fix cvs keyword subtitution crash
git-svn-id: svn://10.0.0.236/trunk@120772 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:12:18 +00:00
ian%hixie.ch
1c05c87769 Change variable names to reflect the fact that objects are instances, not classes.
git-svn-id: svn://10.0.0.236/trunk@120771 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:11:56 +00:00
depstein%netscape.com
68fff3bbb1 updated web nav test case. a=asa for QA checkins that are not part of the default builds
git-svn-id: svn://10.0.0.236/trunk@120770 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:10:59 +00:00
ian%hixie.ch
bd2477f239 Add some debugging info to every page once and for all.
git-svn-id: svn://10.0.0.236/trunk@120769 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:10:38 +00:00
ian%hixie.ch
6691baf86d Make the user factory return the same object if the same user is requested multiple times. This means that if the currect user is changed on the fly, the changes actually take effect instead of there being a potential race condition between the change, the access of the currect user, and the objects going out of scope and updating the database.
git-svn-id: svn://10.0.0.236/trunk@120768 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:09:27 +00:00
blythe%netscape.com
e13346a4ef Not part of normal builds.
Accept options cookie, document how request specific options are to be set.


git-svn-id: svn://10.0.0.236/trunk@120767 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:07:16 +00:00
ian%hixie.ch
a3c9a95658 Pass the app reference to the user factory. Fix the code that uses argument branches to treat them as arrays instead of scalars.
git-svn-id: svn://10.0.0.236/trunk@120766 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:06:38 +00:00
ian%hixie.ch
5a049e0b50 Two more things to do: make getSettings return a boolean instead of raising an exception, and add a pass-through command that outputs can use to bring up specific templates
git-svn-id: svn://10.0.0.236/trunk@120765 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:03:48 +00:00
ian%hixie.ch
c68716f30e Add support for converting + signs in URIs back to spaces.
git-svn-id: svn://10.0.0.236/trunk@120764 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 01:02:19 +00:00
edburns%acm.org
603de46e8a Make it possible to render the bookmarks tree, but you can't click on a
bookmark to open it in the browser due to a Java side deadlock.


git-svn-id: svn://10.0.0.236/trunk@120762 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:30:01 +00:00
ssu%netscape.com
cd1c8c8ee6 fixing bug 141858 - unexpected setup\setup.exe error message after installing browser
git-svn-id: svn://10.0.0.236/trunk@120759 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:18:54 +00:00
mcafee%netscape.com
bff0b0c6a3 Print out visited modules in leaf-first order, first attempt at fixing the build-order problem.
git-svn-id: svn://10.0.0.236/trunk@120758 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:17:06 +00:00
mscott%netscape.com
ba5e706e46 Bug #121583 --> work around the infinite reflow loop in various windows that use tree widgets by
forcing a min height and min width on the the tree. This fixes the famous 100 % CPU hang.

Patch from kin@netscape.com
r=mscott
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@120755 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:04:39 +00:00
rginda%netscape.com
3d59b1e393 - venkman only -
bug 137327, r=caillon@returnzero.com,a=shaver
translate null to -1 in getParentIndex return, to avoid infinite loop


git-svn-id: svn://10.0.0.236/trunk@120754 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:04:07 +00:00
rginda%netscape.com
953d83577f - cview only -
bug 137327, r=caillon@returnzero.com,a=shaver
translate null to -1 in getParentIndex return, to avoid infinite loop


git-svn-id: svn://10.0.0.236/trunk@120753 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-04 00:03:28 +00:00
beard%netscape.com
1871c4e7b8 [not part of build] Change history for 1.0fc2.
git-svn-id: svn://10.0.0.236/trunk@120750 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 23:40:53 +00:00
beard%netscape.com
495492eca8 [not part of build] bumped version to 1.0fc2.
git-svn-id: svn://10.0.0.236/trunk@120749 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 23:40:15 +00:00
mcafee%netscape.com
24bde16cc1 opaque data comment
git-svn-id: svn://10.0.0.236/trunk@120748 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 23:37:38 +00:00
bnesse%netscape.com
761e7e7761 Bumped version to 1.0fc2.
git-svn-id: svn://10.0.0.236/trunk@120747 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 23:35:39 +00:00
bnesse%netscape.com
1e5c132e95 [Not part of build] Fix for bug 136063. r=sdagley, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@120745 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 23:27:33 +00:00
cmanske%netscape.com
8c2d1c5ce0 Fixed previewing page in browser command in Composer, b=140959, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@120744 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 23:23:55 +00:00
kestes%walrus.com
a1f1928ff8 fixes to the split on change state
git-svn-id: svn://10.0.0.236/trunk@120743 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 23:16:53 +00:00
rginda%netscape.com
44829cd301 - chatzilla only -
correct the command name for the View->Open At Startup option


git-svn-id: svn://10.0.0.236/trunk@120742 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 23:02:12 +00:00
cathleen%netscape.com
31520dfde0 export rules file into dist r=dp
git-svn-id: svn://10.0.0.236/trunk@120740 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 22:51:16 +00:00
kestes%walrus.com
3ef8755907 change call to savetree_db to use oo notiation so we search ISA
git-svn-id: svn://10.0.0.236/trunk@120739 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 22:37:41 +00:00
dp%netscape.com
5940f0fc77 Moving printNodeProcessor to new api
git-svn-id: svn://10.0.0.236/trunk@120738 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 22:33:08 +00:00
kestes%walrus.com
ef65e90b01 fix break multiline empty on change of tree state
git-svn-id: svn://10.0.0.236/trunk@120736 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 22:29:28 +00:00
kestes%walrus.com
9e8bff8ea1 fixes
git-svn-id: svn://10.0.0.236/trunk@120734 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 22:01:05 +00:00
mscott%netscape.com
69e38c4cf8 Bug #136949 --> when creating a new search or filter row, clone the search attribute
from the previous row.
r=ssu
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@120733 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 21:58:10 +00:00
mscott%netscape.com
d0818f9bda Bug #109109 --> usability improvements to the custom header dialog
r=naving
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@120732 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 21:57:39 +00:00
kestes%walrus.com
4a3079a056 forgot to reset $NEXT_ROW{$tree}
git-svn-id: svn://10.0.0.236/trunk@120731 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 21:44:25 +00:00
ducarroz%netscape.com
34909b2474 Fix for bug 135279. Need to be able to specify a line token other than LF when reading a stream buffer. Local file on Mac or CR as line ending. R=naving, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@120729 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 21:36:33 +00:00
kestes%walrus.com
39886c1e40 computed rowspan but did not use it.
git-svn-id: svn://10.0.0.236/trunk@120728 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 21:28:51 +00:00
kestes%walrus.com
581a65bbd8 fixes
git-svn-id: svn://10.0.0.236/trunk@120727 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 21:25:24 +00:00
jst%netscape.com
94cd4f4728 Fixing bug 140944. Making document.body.scroll* map to the scroll info for the root scroll frame. r=bzbarsky@mit.edu, sr=shaver@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@120726 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 21:14:13 +00:00
kestes%walrus.com
ed77bcfaba bonsai fixes to make one giant square of no data.
git-svn-id: svn://10.0.0.236/trunk@120725 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 21:09:55 +00:00
wtc%netscape.com
2ee8ebd2f0 Bugzilla bug 136279: fixed bugs where 'path' and 'oldpath' were passed
to string functions before they were null-terminated.  Added a comment
to explain what 'oldpath' is for.


git-svn-id: svn://10.0.0.236/trunk@120722 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 20:59:50 +00:00
stephend%netscape.com
b8247b22f8 Bug 141894. Security button in msgCompose should have a tooltip. r=kaie@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120721 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 20:46:51 +00:00
kestes%walrus.com
71c78099e1 add checks for permissions on the log directories during startup
git-svn-id: svn://10.0.0.236/trunk@120720 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 20:28:24 +00:00
kestes%walrus.com
4d81e30f19 fix spelling of $OSVer
git-svn-id: svn://10.0.0.236/trunk@120719 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 20:20:44 +00:00
kestes%walrus.com
7b5bc76bb9 remove duplicate my of status variable.
git-svn-id: svn://10.0.0.236/trunk@120718 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 20:17:23 +00:00
timeless%mac.com
334800900f Bug 141813 add javadoc comments to idl so people can get useful info from them
nsIDOMEvent.idl nsIDOMEventListener.idl nsIDOMEventTarget.idl
r=fabian sr=jst


git-svn-id: svn://10.0.0.236/trunk@120717 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 19:57:42 +00:00
kestes%walrus.com
d59dea4ef0 use a centralized function to round numbers.
only use successful builds in computation of deadtime.
only use 10 most recent builds in computation of averages.
We do not use the very first datapoint in computation
of averages.
Fix the incoming data here so that builds do not overlap.



add a debug_database() function for use in debugging code.
there was an 'if ($buildstatus ne 'not_running')' but this
can't appear in the database remove it.


git-svn-id: svn://10.0.0.236/trunk@120716 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 19:50:43 +00:00
kestes%walrus.com
ec7f06f71a allow build errors to be turned off.
git-svn-id: svn://10.0.0.236/trunk@120715 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 19:43:58 +00:00
igor%mir2.org
121277b325 Replace when possible usage of API available only since JDK 1.2 by their JDK 1.1 analogous or by classes available in the Rhino core to make port to JDK 1.1 easier.
git-svn-id: svn://10.0.0.236/trunk@120714 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 19:42:36 +00:00
kestes%walrus.com
ca41a1add9 centrallize all rounding through a single function.
git-svn-id: svn://10.0.0.236/trunk@120713 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 19:41:44 +00:00
pinkerton%netscape.com
8169bfa608 Adding David Haas
git-svn-id: svn://10.0.0.236/trunk@120712 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 19:23:18 +00:00
pinkerton%netscape.com
3ac36bd9e3 Update the progress meter during download. From David Haas (haasd@cae.wisc.edu)
git-svn-id: svn://10.0.0.236/trunk@120711 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 19:22:23 +00:00
pinkerton%netscape.com
d81f18e816 Behave correctly when dock icon clicked and no windows are open. From David Haas (haasd@cae.wisc.edu)
git-svn-id: svn://10.0.0.236/trunk@120710 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 19:17:28 +00:00
darin%netscape.com
a8839fa81b fixes build bustage with --enable-xpctools
patch=dmose r/sr=darin


git-svn-id: svn://10.0.0.236/trunk@120709 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 19:04:14 +00:00
alexsavulov%netscape.com
31b7c38fc7 fix for bug 134437 - syncronous focus event causes reflow reentrancy
resulting in a crash on WIN32. fixed trough WM_SETFOCUS deferral
sr= waterson r=kmccklusk


git-svn-id: svn://10.0.0.236/trunk@120708 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 18:52:04 +00:00
sicking%bigfoot.com
8aac8549b9 Bug 119317. Drop support for non-namespaced "inherits" xbl-attribute and move over the last uses of the old syntax.
r=Hixie sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@120706 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 17:51:44 +00:00
wtc%netscape.com
712f922229 Bugzilla bug 137736: Use "return 0" instead of exit(0) in the main()
functions of the configure test programs.  Miscellaneous changes to fix
compiler warnings about the configure test programs.


git-svn-id: svn://10.0.0.236/trunk@120704 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 17:39:01 +00:00
mostafah%oeone.com
4a866c25df Fixing incorrect file names in css ( mostly png to gif ). Fixes bug 141399
git-svn-id: svn://10.0.0.236/trunk@120699 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 15:58:01 +00:00
timeless%mac.com
cf3f4b0ae8 Bug 87965 Can't expand chrome/*.jar files on ARM
patch by jeroen.dobbelaere@acunia.com
r=dveditz sr=brendan


git-svn-id: svn://10.0.0.236/trunk@120697 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 14:50:46 +00:00
pinkerton%netscape.com
426a72cadc backing out last patch, it doesn't work
git-svn-id: svn://10.0.0.236/trunk@120696 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 14:20:31 +00:00
pinkerton%netscape.com
75d13dda9d Fix data length issues with CF_HTML. It's utf8, so don't treat it like
unicode when computing the length. r=brade/sr=kin, bug 69566.


git-svn-id: svn://10.0.0.236/trunk@120695 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 14:19:11 +00:00
pinkerton%netscape.com
abbe236093 Fix NS_ConvertUTF8ToUCF2 correctly work with substrings. patch by jag, r=pink
sr=scc, bug#141866


git-svn-id: svn://10.0.0.236/trunk@120694 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 13:57:12 +00:00
waterson%netscape.com
46262a3fef Bug 137094. Prevent flow-of-control leak of space manager. r=attinasi, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@120693 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 13:49:44 +00:00
dp%netscape.com
885583ff86 Necko uri folded into necko
git-svn-id: svn://10.0.0.236/trunk@120692 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 13:27:16 +00:00
ccarlen%netscape.com
ae4d6a3e13 Bug 141673 - PPEmbed crashes on launch due to bad code added in nsIFile API change. r=pinkerton/sr=darin
git-svn-id: svn://10.0.0.236/trunk@120691 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 13:22:08 +00:00
rayw%netscape.com
d29baad3e5 Fixes bug 141765, r=heikki, sr=jst, rs=rayw.
This is a very simple, safe fix that fixes a crash in decoding structures
inside of arrays in SOAP, and affects nothing else.


git-svn-id: svn://10.0.0.236/trunk@120690 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 11:56:31 +00:00
seawood%netscape.com
209d34721d Restore unlabelled 'MozillaHack's.
Bug #140869


git-svn-id: svn://10.0.0.236/trunk@120687 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 10:25:32 +00:00
seawood%netscape.com
8ab457ad81 Restoring unlabelled 'MozillaHack's. Fixing Netscape uname bustage.
Bug #140869


git-svn-id: svn://10.0.0.236/trunk@120686 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 10:02:09 +00:00
seawood%netscape.com
ad19ddf31b Sync config.guess & config.sub with official GNU versions.
Bug #140869 r=bryner


git-svn-id: svn://10.0.0.236/trunk@120685 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 08:49:10 +00:00
seawood%netscape.com
ccd79a6ccf Sync config.guess & config.sub with official GNU copies.
Bug #140869 r=bryner


git-svn-id: svn://10.0.0.236/trunk@120684 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 08:29:00 +00:00
seawood%netscape.com
85cc979afe Fix xlib bustage.
Thanks to Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de> for the patch.
Bug #135441 r=cls


git-svn-id: svn://10.0.0.236/trunk@120683 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 08:11:10 +00:00
hyatt%netscape.com
1a84520aba Adding globe icon for URL bar. Updating to 0.2.7
git-svn-id: svn://10.0.0.236/trunk@120682 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 08:02:16 +00:00
darin%netscape.com
4c9f13c694 cleaning up documentation, marking some interfaces frozen, and splitting
up some interfaces into separate IDL files (b=124465)
reviewed by dougt and bbaetz


git-svn-id: svn://10.0.0.236/trunk@120681 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 07:49:43 +00:00
hyatt%netscape.com
d883bb4473 Adding globe icon for URL bar. Updating to 0.2.7
git-svn-id: svn://10.0.0.236/trunk@120680 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 07:32:18 +00:00
hyatt%netscape.com
1d5690b786 Fix for 121583. r=ben, sr=kin, adt=selmer
git-svn-id: svn://10.0.0.236/trunk@120679 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 07:03:27 +00:00
gerv%gerv.net
c66a8b94a7 Bug 135836 - change requests should include expiration details. Patch by zeroJ@null.net; r=gerv, justdave.
git-svn-id: svn://10.0.0.236/trunk@120675 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 06:37:47 +00:00
jaggernaut%netscape.com
fcd4cabc3a Bug 139321: forward button not working with pdf, r=biesi, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120674 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 06:37:32 +00:00
gerv%gerv.net
dd0d0b1a95 Bug 141609 - "Version unspecified" error when changing product with product groups enabled. Patch by myk; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@120673 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 06:03:25 +00:00
darin%netscape.com
224d55f0e9 documentation cleanup for nsIFile/nsILocalFile API changes (no code changes)
git-svn-id: svn://10.0.0.236/trunk@120672 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 06:01:29 +00:00
matty%chariot.net.au
f220ef870f Bug 97496: Release notes updates.
git-svn-id: svn://10.0.0.236/trunk@120671 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 05:50:32 +00:00
mhammond%skippinet.com.au
499548dbb4 Update build instructions.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120669 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 05:14:38 +00:00
kestes%walrus.com
94858bca32 misuse of '==' for 'eq'.
git-svn-id: svn://10.0.0.236/trunk@120667 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 04:44:05 +00:00
kestes%walrus.com
e8a3f0c29d typo in construct_build_event_times_vec
git-svn-id: svn://10.0.0.236/trunk@120666 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 04:33:30 +00:00
kestes%walrus.com
35308afcaa put bugs on the end,
git-svn-id: svn://10.0.0.236/trunk@120665 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 04:16:40 +00:00
kestes%walrus.com
fb695a64e2 typo sorting on empty field
git-svn-id: svn://10.0.0.236/trunk@120664 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 04:16:12 +00:00
kestes%walrus.com
7379e43623 add new buildtime disipline
git-svn-id: svn://10.0.0.236/trunk@120663 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 04:12:02 +00:00
kestes%walrus.com
0bebd3e8a7 adjust the tree states
git-svn-id: svn://10.0.0.236/trunk@120662 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 04:11:12 +00:00
kestes%walrus.com
a478f81e13 add new
construct_build_event_times_vec function


git-svn-id: svn://10.0.0.236/trunk@120660 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 04:10:29 +00:00
kestes%walrus.com
80fcd35f1d semi colon
git-svn-id: svn://10.0.0.236/trunk@120658 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:38:44 +00:00
ben%netscape.com
7b499f5a87 Forgot to check in this file, which was r=dbaron, sr=waterson as part of previous checkin
git-svn-id: svn://10.0.0.236/trunk@120657 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:37:31 +00:00
kestes%walrus.com
dbe0d6248d legend for description
git-svn-id: svn://10.0.0.236/trunk@120656 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:37:05 +00:00
kestes%walrus.com
6a15621046 add a space in text.
git-svn-id: svn://10.0.0.236/trunk@120655 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:29:14 +00:00
kestes%walrus.com
312cfa188f add descriptions for TreeState
git-svn-id: svn://10.0.0.236/trunk@120654 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:28:18 +00:00
kestes%walrus.com
e9e57aba12 add descriptions to states
git-svn-id: svn://10.0.0.236/trunk@120653 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:27:30 +00:00
law%netscape.com
572a104ba1 Bug 141330; don't force extension to match content type on Mac; r=sdagley, sr=jag
git-svn-id: svn://10.0.0.236/trunk@120652 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:20:11 +00:00
kestes%walrus.com
ce83f29aa6 fixes
git-svn-id: svn://10.0.0.236/trunk@120651 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:15:54 +00:00
ben%netscape.com
c7e0f3103f Forgot to mention that all prior checkins were for bug 112064 :-)
git-svn-id: svn://10.0.0.236/trunk@120649 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:10:23 +00:00
ben%netscape.com
989514f6c4 [Chrome FastLoad]
Implement XUL Prototype Document and Prototype Element serialization/deserialization scheme for FastLoad of chrome documents.
r=brendan, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@120648 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:04:34 +00:00
ben%netscape.com
521dde6f78 [Chrome FastLoad]
Patch from jst to prevent crash on shutdown.
r=ben, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@120647 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:02:07 +00:00
ben%netscape.com
da52a65491 [Chrome FastLoad]
Make nsStandardURL implement nsIClassInfo so that URIs can be serialized into the FastLoad File.
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@120646 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:01:32 +00:00
ben%netscape.com
4f2cdc14d0 [Chrome FastLoad]
Ensure that principals are written as Compound Objects using |WriteCompoundObject|, not using |WriteObject|
r=mstoltz, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@120645 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:00:46 +00:00
ben%netscape.com
181a218f38 [Chrome FastLoad]
Add a comment describing the meaning of error code return values from nsXULPrototypeCache::GetPrototype.
r=hyatt, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@120644 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:00:20 +00:00
ben%netscape.com
e7a1684e98 [Chrome FastLoad]
Patch to make FastLoad Service return the previous URI selected when selecting a new one, as well as fixing a few issues relating to dependencies on non-existent files. Patch from brendan, r=dbaron, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@120643 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 02:59:42 +00:00
kestes%walrus.com
a6657890f7 fixes
git-svn-id: svn://10.0.0.236/trunk@120640 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 02:41:09 +00:00
kestes%walrus.com
1bcd593791 fixes
git-svn-id: svn://10.0.0.236/trunk@120638 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 02:37:27 +00:00
kestes%walrus.com
8817df793a add new 'TinderHeader::TreeState_Bonsai_Plus'
git-svn-id: svn://10.0.0.236/trunk@120636 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 02:32:06 +00:00
kestes%walrus.com
cdf06c1f29 combine txt and bonsai modules.
git-svn-id: svn://10.0.0.236/trunk@120634 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 02:22:47 +00:00
kestes%walrus.com
e180ef8bb6 fixes for new treestate admin code.
git-svn-id: svn://10.0.0.236/trunk@120633 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 02:21:52 +00:00
mcafee%netscape.com
90f5856baa Fix spelling errors. r=kestes (140449)
git-svn-id: svn://10.0.0.236/trunk@120632 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 02:05:12 +00:00
sspitzer%netscape.com
df345095b8 fix for dataloss bug #140094. r/sr=bienvenu,sspitzer
fix suggested by dp.


git-svn-id: svn://10.0.0.236/trunk@120630 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:55:27 +00:00
mhammond%skippinet.com.au
aac9b0435e We are now building with the standard build system - yay!
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120627 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:23:56 +00:00
cotter%netscape.com
63ff863716 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; minor updates for certs help.
git-svn-id: svn://10.0.0.236/trunk@120626 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:22:20 +00:00
mhammond%skippinet.com.au
148e18b8fb Merging 1.0 branch onto the trunk (I know this is not the usual
way, but it is just me :)
Not part of the build!


git-svn-id: svn://10.0.0.236/trunk@120625 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:16:47 +00:00
mhammond%skippinet.com.au
47ee49babc Final fixes for Unix!
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120624 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:09:51 +00:00
mhammond%skippinet.com.au
05172bf801 Merge in changes from 1.8.2.3 on the 1.0 branch.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120623 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:02:32 +00:00
naving%netscape.com
3447dca20d 141152 r=ducarroz sr=bienvenu fix the partial msg display code in mime to use escaped uidl and then unescape
this uidl in pop3 code. fixes truncated pop3 msg download problems with uidl having quotes(")


git-svn-id: svn://10.0.0.236/trunk@120622 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 01:00:21 +00:00
timeless%mac.com
d25c3af471 Bug 125449 "Fonts for" is vertical aligned top instead of middle in caption
patch by walk84@yahoo.com r=doron sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120620 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 00:38:22 +00:00
blythe%netscape.com
8b17f4beff Turn options into arrays instead of heap to allow easy copying into a per
thread/client option duplicate.


git-svn-id: svn://10.0.0.236/trunk@120619 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 00:32:23 +00:00
kestes%walrus.com
4c6908db23 fixes for VC_NAME and REGEXP code
git-svn-id: svn://10.0.0.236/trunk@120618 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 00:27:48 +00:00
nicolson%netscape.com
76092bb074 move alg-specific provider classes into generic parent classes.
git-svn-id: svn://10.0.0.236/trunk@120617 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 00:27:03 +00:00
mscott%netscape.com
62ccf94223 Bug #134288 --> hide extra hash marks caused by the smime code in the 3-pane and compose window when you
are viewing/sending a message with no security information.
r=kai
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@120616 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 00:23:52 +00:00
seawood%netscape.com
4023981a66 No need to build xpconnect twice.
Bug #107302


git-svn-id: svn://10.0.0.236/trunk@120615 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 00:21:15 +00:00
kestes%walrus.com
14d9bd204e rearrange names of bug_id2url to make the new bonsai code work.
git-svn-id: svn://10.0.0.236/trunk@120614 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 00:19:41 +00:00
kestes%walrus.com
f56a9a60af use single quotes arround rexexp.
git-svn-id: svn://10.0.0.236/trunk@120613 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 00:10:18 +00:00
kestes%walrus.com
549d14b105 fix typo, make bug_ids uniq.
git-svn-id: svn://10.0.0.236/trunk@120612 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 00:09:56 +00:00
kestes%walrus.com
41ba1ceefd missing parenthesis
git-svn-id: svn://10.0.0.236/trunk@120611 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:58:48 +00:00
kestes%walrus.com
0c28b84793 Pick up $VC_NAME by fixing typo
add new $VC_BUGNUM_REGEXP code
fix empty cell with shading problem


git-svn-id: svn://10.0.0.236/trunk@120610 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:57:16 +00:00
kestes%walrus.com
9227fa3630 add cvskeywords.
git-svn-id: svn://10.0.0.236/trunk@120609 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:54:26 +00:00
bienvenu%netscape.com
9568238704 don't commit the db for every news article expired r/sr = sspitzer 123922
git-svn-id: svn://10.0.0.236/trunk@120608 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:54:09 +00:00
kestes%walrus.com
f4b1a5d349 document new event_times_vec function
git-svn-id: svn://10.0.0.236/trunk@120607 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:53:24 +00:00
kestes%walrus.com
5595971398 change column header to "Guilty" and add new regular expression to find bug ticket numbers in checkin comments.
git-svn-id: svn://10.0.0.236/trunk@120606 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:51:58 +00:00
sspitzer%netscape.com
4a3c0670cb fix for #141881. remove addMailListToDatabase() from nsIAbDirectory.idl, not needed.
also, so other code cleanup.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@120605 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:46:59 +00:00
kestes%walrus.com
13b5d9a860 inconsistent spelling of %TinderboxPrininconsistent spelling of %TinderboxPrintt
git-svn-id: svn://10.0.0.236/trunk@120604 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:43:24 +00:00
naving%netscape.com
b1bc8e2dd3 141354 r=bienvenu sr=mscott If the filters have custom headers that are not in "mailnews.customHeaders" pref
then add them to the pref, fixes a corruption problem on adding new filters.


git-svn-id: svn://10.0.0.236/trunk@120603 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:34:05 +00:00
kestes%walrus.com
1e66fd8099 fix auto refersh line, make it look more like samples found on the web.
git-svn-id: svn://10.0.0.236/trunk@120602 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:15:48 +00:00
nicolson%netscape.com
a3d3ae9b19 upgrade to NSS 3.4.1 RTM and NSPR 4.2.
git-svn-id: svn://10.0.0.236/trunk@120601 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 23:02:49 +00:00
kestes%walrus.com
436c0be5bd add cvs keywords to files.
git-svn-id: svn://10.0.0.236/trunk@120599 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:58:28 +00:00
kestes%walrus.com
326c32627f adding cvs keywords to files.
git-svn-id: svn://10.0.0.236/trunk@120597 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:57:29 +00:00
kestes%walrus.com
2b77fdc9db add cvs keywords to files
git-svn-id: svn://10.0.0.236/trunk@120595 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:56:33 +00:00
seawood%netscape.com
189054504b Trim module.mk's xpcom entry since all of xpcom's external deps have been removed.
Move 3rd party libs into tier_1 dir list.
Move standalone application level libs into tier_2 list.
Bug #107302 r=blythe sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120594 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:53:30 +00:00
peterlubczynski%netscape.com
42927222a7 Fixing problems with showing/hiding Mac plugins. Specifically, these problems:
* Mouse events "bleeding through" tabs so that a plugin in one tab responds to mouse movements in another (bug 120875)
* dynamic control of CSS visiblity property with plugins on mac (can hide/show plugins) (bug 137230)
* Plugins incorrectly show up on top of documents and in the wrong place in print preview. This fix will also them to be hidden like they are on other platforms. (bug 133992)
r=av sr=beard


git-svn-id: svn://10.0.0.236/trunk@120593 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:47:49 +00:00
rbs%maths.uq.edu.au
d21c5c6672 Added yet another defense to make Mozilla really robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). Per request of super-reviewer & driver, also removed wallpaper null-checks sprinkled in the past for the problem. b=136248, r=shanjian, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120592 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:24:59 +00:00
kestes%walrus.com
e88cc29c07 make the build cells never truely emtpy.
git-svn-id: svn://10.0.0.236/trunk@120591 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:11:32 +00:00
locka%iol.ie
f752ac30d5 NOT PART OF BUILD. Reordered makefile, incorporated LiveConnect/XPConnect scripting patch by <Paul.Oswald@medec.com>. Code cleanup. b=127710
git-svn-id: svn://10.0.0.236/trunk@120590 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:10:19 +00:00
mscott%netscape.com
baecde3f38 Bug #141835 --> register the browser window to handle image/jpg (we already registered image/jpeg)
r=naving
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@120589 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:56:19 +00:00
bnesse%netscape.com
210e61a00b [Not part of build] Initial checkin of header files required to build the MRJ Plugin.
git-svn-id: svn://10.0.0.236/trunk@120587 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:56:05 +00:00
blythe%netscape.com
62dc1d285c Not part of the normal build.
Fix a crash when category data led to 0 data.


git-svn-id: svn://10.0.0.236/trunk@120585 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:52:17 +00:00
sspitzer%netscape.com
972168dc37 fix for #135984. mailto: urls with %20 don't work properly.
r=ducarroz, sr=sspitzer, fix by antonio.xu@sun.com


git-svn-id: svn://10.0.0.236/trunk@120582 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:32:07 +00:00
mkaply%us.ibm.com
a4bad263d0 #141676
r=pedemonte, sr=blizzard
OS/2 only - don't add the hidden window to the task list


git-svn-id: svn://10.0.0.236/trunk@120581 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:26:09 +00:00
dp%netscape.com
3bf7d05b91 bug 130381 Using arena for registry prepopulation r=dougt sr=alecf a=asa
git-svn-id: svn://10.0.0.236/trunk@120580 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:25:08 +00:00
jst%netscape.com
e90c1ba6c2 Backing out a small security related part of the last fix for bug 118933 that wasn't needed.
git-svn-id: svn://10.0.0.236/trunk@120579 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:21:58 +00:00
igor%mir2.org
5ef252b9f8 Store only single instance of any string in InterpreterData.itsStringTable and remove itsStringTableIndex and itsDoubleTableIndex from InterpreterData as they are used only during code generation
git-svn-id: svn://10.0.0.236/trunk@120578 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:19:43 +00:00
igor%mir2.org
b261d7ceb6 Allow to put null keys to ObjToIntMap and optimize Iterator not to search through key array tail after processing the last key.
git-svn-id: svn://10.0.0.236/trunk@120577 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:15:33 +00:00
wtc%netscape.com
e0654ef648 Bugzilla bug 141820: don't quote parameters when calling DosStart.
The patch is contributed by Michael Kaply <mkaply@us.ibm.com>.


git-svn-id: svn://10.0.0.236/trunk@120575 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:14:00 +00:00
mkaply%us.ibm.com
d76acfab56 #140754
r=mkaply, sr=blizzard
OS/2 only - remove mPixelScale - use mCPixelScale - fix print preview scaling


git-svn-id: svn://10.0.0.236/trunk@120574 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:12:28 +00:00
igor%mir2.org
8016b0292c In remove set int key value to 0 so a new key with the same slot would get initial 0 after put(int, Object)
git-svn-id: svn://10.0.0.236/trunk@120573 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 21:11:05 +00:00
brendan%mozilla.org
c57adad168 Fix js_SetProtoOrParent to handle non-native and native-but-incompatible-class-change proto-setting scenarios (140164, r=khanson, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@120570 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:59:35 +00:00
peterlubczynski%netscape.com
db0df3ee8d Adding extra event call (WM_WINDOWPOSCHANGED) for windowless plugins on Windows so that they are updated with their position and bounds. Bug 135737, r=av, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120569 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:46:22 +00:00
peterlubczynski%netscape.com
081f08f038 Fixup to previous checkin for scanning plugins in installation folders, bug 133282 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120565 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:37:32 +00:00
bnesse%netscape.com
48665497a5 Fix for bug 141552. Remove unused static functions from prefs. r=blythe, sr=jsg.
git-svn-id: svn://10.0.0.236/trunk@120564 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:34:17 +00:00
tor%cs.brown.edu
6c24b4847c Bug 137694 - only create the 1-bit GC once we've created a 1-bit pixmap.
r=pavlov, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@120563 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:27:26 +00:00
smontagu%netscape.com
a2b76cba1b Fix hang when pressing ENTER in Hebrew text fields. Bug 95228, r=jkeiser, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120562 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:25:32 +00:00
nicolson%netscape.com
af6e7b336d New provider files for JSS 3.2.
git-svn-id: svn://10.0.0.236/trunk@120561 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:25:15 +00:00
kestes%walrus.com
69ca8ef499 tune error parsers for mozilla data.
git-svn-id: svn://10.0.0.236/trunk@120559 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 19:45:13 +00:00
leaf%mozilla.org
e526b19341 add the binary suffix to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@120558 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 19:43:09 +00:00
ian.mcgreer%sun.com
2bda604c43 bug 141355, CERT_DecodeDERCertificate is not a safe function for some uses, must be replaced with CERT_NewTempCertificate.
git-svn-id: svn://10.0.0.236/trunk@120556 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 19:00:13 +00:00
blythe%netscape.com
32ac9fd241 NOT part of a normal build.
Fix spacetrace images.
Make per request data thread/callstack specific instead of using a global.


git-svn-id: svn://10.0.0.236/trunk@120555 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 18:38:42 +00:00
rods%netscape.com
5840b2d575 Fixing more bustage
git-svn-id: svn://10.0.0.236/trunk@120551 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 18:07:15 +00:00
relyea%netscape.com
2d324e9fbd Fix the RSA key check to correctly accept keys with p < q.
git-svn-id: svn://10.0.0.236/trunk@120549 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 17:39:13 +00:00
ccarlen%netscape.com
d9eec4d503 Fixing bustage on Planetoid.
git-svn-id: svn://10.0.0.236/trunk@120548 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 16:48:51 +00:00
rods%netscape.com
0d52b57c9d some functions need to be static, this should fix the static build bustage
git-svn-id: svn://10.0.0.236/trunk@120547 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 16:23:20 +00:00
rods%netscape.com
047a00dc17 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120544 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 14:10:12 +00:00
rods%netscape.com
8753f91b51 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120543 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 14:02:57 +00:00
rods%netscape.com
b78c834b7f Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120542 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 13:47:53 +00:00
rods%netscape.com
2eb86ae788 backing out unwanted changes
git-svn-id: svn://10.0.0.236/trunk@120541 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 13:24:08 +00:00
rods%netscape.com
86b99f77e1 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120540 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 12:38:43 +00:00
rods%netscape.com
0383d4ef32 Minor fix
Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120539 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 12:32:13 +00:00
rods%netscape.com
1915d4a4e9 minor change
Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120538 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 12:30:09 +00:00
rods%netscape.com
8867442f48 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120537 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 12:08:52 +00:00
hewitt%netscape.com
8dffc57408 bookmark drag and drop
git-svn-id: svn://10.0.0.236/trunk@120536 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 12:08:47 +00:00
rods%netscape.com
ac14a93374 Add the new pluggable dialog work, in build, not used yet
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120535 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 11:50:36 +00:00
mhammond%skippinet.com.au
cedee7a50c Moving towards full autoconf build support.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 11:05:25 +00:00
mhammond%skippinet.com.au
be746a0b08 Some changes for nsIFile moving to nsACString.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@120533 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 11:04:37 +00:00
gerv%gerv.net
65c600ce5a Bug 141635 - showdependencygraph requires bug number for doall. Patch by zeroJ@null.net; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@120530 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 07:03:00 +00:00
jkeiser%netscape.com
f17332e5e6 Make noframes never show up. bug 134401, r=bzbarsky@mit.edu, sr=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120529 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 06:59:30 +00:00
kestes%walrus.com
b14575f631 must use undef not undefine.
git-svn-id: svn://10.0.0.236/trunk@120528 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 05:16:08 +00:00
despotdaemon%netscape.com
9d6eb268f2 Pseudo-automatic update of changes made by preed@sigkill.com.
git-svn-id: svn://10.0.0.236/trunk@120527 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 04:58:14 +00:00
kestes%walrus.com
5232a517c3 fix html formatting.
git-svn-id: svn://10.0.0.236/trunk@120526 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 04:38:52 +00:00
glen.beasley%sun.com
e9d9b8a7ca bug 131308 build 64 bit JSS with JDK 1.4
git-svn-id: svn://10.0.0.236/trunk@120525 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 04:37:16 +00:00
kestes%walrus.com
3c84710db0 fix \n missing from HTML.
add spaces arround notice available character to make it work with images.


git-svn-id: svn://10.0.0.236/trunk@120524 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 04:25:14 +00:00
kestes%walrus.com
99e3a39634 add cvs keywords.
make sure the comments in the HTML always show the full package name.
undo the wrongful deletion of 'dead code'


git-svn-id: svn://10.0.0.236/trunk@120523 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 04:12:41 +00:00
kestes%walrus.com
9d880ac91d the code was not dead.
git-svn-id: svn://10.0.0.236/trunk@120522 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 04:08:40 +00:00
glen.beasley%sun.com
ae8de5cf99 bug 129394 change assert to _assert
git-svn-id: svn://10.0.0.236/trunk@120521 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 04:04:23 +00:00
kestes%walrus.com
ed090a66ed remove dead code.
git-svn-id: svn://10.0.0.236/trunk@120519 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 03:19:37 +00:00
kestes%walrus.com
aaf3edbd70 ignore the error strings, not the warning strings.
git-svn-id: svn://10.0.0.236/trunk@120518 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 03:18:40 +00:00
law%netscape.com
c504608fa9 Bug 141647; make sure profile is selected if -turbo option is given with other command line options that trigger display of a window; r=jelwell, sr=jag
git-svn-id: svn://10.0.0.236/trunk@120517 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 03:18:19 +00:00
kestes%walrus.com
7e3dfecbe5 revert last checkin.
git-svn-id: svn://10.0.0.236/trunk@120515 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 03:09:10 +00:00
kestes%walrus.com
5d7be88065 make layers on click only.
git-svn-id: svn://10.0.0.236/trunk@120514 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 02:57:51 +00:00
kestes%walrus.com
5d48177250 mozilla layers.
git-svn-id: svn://10.0.0.236/trunk@120513 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 02:47:18 +00:00
kestes%walrus.com
c1002f90d9 max was not in main namespace.
git-svn-id: svn://10.0.0.236/trunk@120512 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 02:19:44 +00:00
despotdaemon%netscape.com
f73efa7eb6 Pseudo-automatic update of changes made by namachi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@120511 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 02:05:53 +00:00
despotdaemon%netscape.com
4b8b398941 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@120510 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 02:02:31 +00:00
kestes%walrus.com
fe859a3fbf make the column heading terse.
git-svn-id: svn://10.0.0.236/trunk@120508 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:59:48 +00:00
kestes%walrus.com
0685914b81 fix urls.
git-svn-id: svn://10.0.0.236/trunk@120507 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:58:00 +00:00
kestes%walrus.com
048375f915 fix urls.
git-svn-id: svn://10.0.0.236/trunk@120506 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:55:37 +00:00
kestes%walrus.com
beed7829de put in flames.
put in tinderboxprint legend
put in hack for negative deadtimes.


git-svn-id: svn://10.0.0.236/trunk@120505 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:52:33 +00:00
kestes%walrus.com
86b7ec04c2 allow users to change Notice character.
git-svn-id: svn://10.0.0.236/trunk@120504 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:51:04 +00:00
kestes%walrus.com
46f0e720fb put the flames back
put legend for tinderprint.
make all the functions accept lists as well as vectors.


git-svn-id: svn://10.0.0.236/trunk@120503 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:50:05 +00:00
kestes%walrus.com
e02c846e04 Make legend more terse.
put the localposttime in the hidden comment for reference
allow users to configure the notice character.


git-svn-id: svn://10.0.0.236/trunk@120502 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:48:51 +00:00
kestes%walrus.com
57a661cc26 allow a '.' in the buildname, but restrict other metacharacters.
git-svn-id: svn://10.0.0.236/trunk@120501 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:46:53 +00:00
kestes%walrus.com
f4c39b2e92 add handlers for post processing of build logs.
move all the buildname munging into the mail processing.


git-svn-id: svn://10.0.0.236/trunk@120500 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:43:22 +00:00
kestes%walrus.com
0b104025fa use the local perl to run the gen tests --daemon-mode
git-svn-id: svn://10.0.0.236/trunk@120499 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:41:28 +00:00
kestes%walrus.com
9e35d1004d move the print statement before the regeneration so people have time to read it.
git-svn-id: svn://10.0.0.236/trunk@120498 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:40:42 +00:00
kestes%walrus.com
901b587aa4 localize variables.
tune error parses for Mozilla.org data.


git-svn-id: svn://10.0.0.236/trunk@120497 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:39:47 +00:00
sspitzer%netscape.com
1f46453113 supplimental fix for #137886, support for re-migration.
to avoid problems, don't move .slt folder to .slt-old and then remigrate.
instead, leave .slt folder alone and migrate to .slt-new.
this makes restoring harder, but re-migration faster, safter and simpler.
r=ccarlen,sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@120496 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 01:37:03 +00:00
blythe%netscape.com
7da6230333 Not part of normal build.
Put each client request on a thread.


git-svn-id: svn://10.0.0.236/trunk@120495 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 00:28:42 +00:00
akkana%netscape.com
c29b3151c0 139420: Allow replacing a string with a null string. r= (and parts of the patch contributed by) parish@ntlworld.com, sr=kin
git-svn-id: svn://10.0.0.236/trunk@120494 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 00:12:11 +00:00
akkana%netscape.com
d946f1ba2b 132612: fix a case where find misses a match after a partial match. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@120493 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:57:32 +00:00
gerv%gerv.net
8e4e1e509d General updates. I'm working through the entire guide, tidying it up.
git-svn-id: svn://10.0.0.236/trunk@120490 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:48:33 +00:00
brendan%mozilla.org
5665856b96 Followup fix for 138791, neil@parkwaycc.co.uk's superior bit-fu (r=rjesup, sr=waterson, a=asa).
git-svn-id: svn://10.0.0.236/trunk@120488 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:35:46 +00:00
gerv%gerv.net
70044a777d Bug 117936 - deprecate Apache 1.2 as our .htaccess files don't work with it.
git-svn-id: svn://10.0.0.236/trunk@120485 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:28:18 +00:00
gerv%gerv.net
b17880ad9b Bug 125395 - remove revision history. That's what CVS is for :-) Also, do other tidy-ups and updates to front page.
git-svn-id: svn://10.0.0.236/trunk@120484 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:24:29 +00:00
gerv%gerv.net
571ee6fa5b ug 105877 - Backup & check for modifications before upgrade.
git-svn-id: svn://10.0.0.236/trunk@120483 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:10:21 +00:00
rginda%netscape.com
7a6440b27a bug 135455, Missing chatzilla icon in Window dropdown menu
patch=mailto:andreas.premstaller@uibk.ac.at, r=rginda,sr=ben,a=asa


git-svn-id: svn://10.0.0.236/trunk@120480 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:06:12 +00:00
cmanske%netscape.com
cbbf6d1614 Add accesskeys to spelling dialogs, b=112732, r=neil@parwaycc.co.uk, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@120479 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:05:29 +00:00
timeless%mac.com
f347f0f70b Bug 125489 'Privacy & Security' item has no children + items from tasks menu
patch by Roland.Mainz@informatik.med.uni-giessen.de
r=dougt sr=brendan


git-svn-id: svn://10.0.0.236/trunk@120478 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:04:46 +00:00
waterson%netscape.com
a32e3b52e5 Bug 138057. Vestigial cleanup.
git-svn-id: svn://10.0.0.236/trunk@120476 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:02:02 +00:00
gerv%gerv.net
bb79f23f6d Bug 137709 - remove incorrect information about email preferences.
git-svn-id: svn://10.0.0.236/trunk@120475 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 23:00:27 +00:00
gerv%gerv.net
a317e7f1ca Bug 111712 - update command for changing path to Perl.
git-svn-id: svn://10.0.0.236/trunk@120474 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:56:48 +00:00
gerv%gerv.net
f2f011f5f4 Bug 126907 - remove "Future" section from guide.
git-svn-id: svn://10.0.0.236/trunk@120473 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:55:29 +00:00
bryner%netscape.com
26b8ec03bc Make sure to set a cursor for our popup windows, since GTK doesn't do this automatically for us (and we don't want it to always inherit the root window cursor). Bug 133387, r=pavlov, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@120470 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:41:45 +00:00
cathleen%netscape.com
39cdfbee28 Fixing to include spacecategory.c. Fix by Garrett on cathleen's tree -dp
git-svn-id: svn://10.0.0.236/trunk@120468 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:39:46 +00:00
pinkerton%netscape.com
a70e5bb296 remove portions of smfr's last scrolling optimization. the OffsetRgn calls seem un-necessary and caused problems with redrawing outliners and scrolling while windows overlapped the scrolled widget. r=sdagley/sr=beard. bug# 141249
git-svn-id: svn://10.0.0.236/trunk@120467 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:23:46 +00:00
bnesse%netscape.com
eb5b29bb76 Fix for bug 141552. Remove build warnings from prefs. r=jag, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@120466 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:12:01 +00:00
gordon%netscape.com
d7931689d2 Adding new files for disk cache. These are not part of the build, but will get reviewed before being enabled.
git-svn-id: svn://10.0.0.236/trunk@120465 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:08:07 +00:00
saari%netscape.com
b5444e769f Fixing bugzilla 102321, regression in scrolling performance. Should also fix 256 color rendering regression. r=dcone, sr=jag
git-svn-id: svn://10.0.0.236/trunk@120464 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:03:34 +00:00
pinkerton%netscape.com
cdb4fe925b don't register image/jpeg, it only gets in the way of other things we do
support. r=brade/sr=alecf. bug# 69566


git-svn-id: svn://10.0.0.236/trunk@120462 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 22:02:54 +00:00
pinkerton%netscape.com
8640a1bc79 Support pasting of CF_HTML flavor. r=brade/sr=alecf. bug#69566
git-svn-id: svn://10.0.0.236/trunk@120461 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 21:58:38 +00:00
gerv%gerv.net
8d5596dcb9 Bug 141557 - modification to user deletion code in editusers.cgi - prevent allowuserdeletion being bypassed. Patch by gerv; 2xr=myk.
git-svn-id: svn://10.0.0.236/trunk@120459 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 20:54:10 +00:00
jaggernaut%netscape.com
6d9de96321 Bug 141455: hang when selecting text and right-clicking on page. r=akkana, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@120458 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 20:52:29 +00:00
bienvenu%netscape.com
fcb95e7024 fix crash on shutdown when duplicate mail db listeners have been registered r=naving, sr=sspitzer 141028
git-svn-id: svn://10.0.0.236/trunk@120457 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 20:48:03 +00:00
bienvenu%netscape.com
cad7a43a7b fix crash on shutdown after saving imap draft r=naving, sr=sspitzer 141028
git-svn-id: svn://10.0.0.236/trunk@120456 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 20:47:03 +00:00
locka%iol.ie
f99f6f5b65 Stop image control frame stomping on the event status. This stops context menu events being propogated to their parents and sent twice for input elements with images. bugscape=14131 r=saari@netscape.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120455 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 20:15:44 +00:00
sicking%bigfoot.com
ebb009d928 Bug 140687: Make substring() for all start-indexes
r=Pike, sr=jst


git-svn-id: svn://10.0.0.236/trunk@120451 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 19:48:59 +00:00
nboyd%atg.com
337bbcf489 Fix broken link
git-svn-id: svn://10.0.0.236/trunk@120450 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 19:21:51 +00:00
bnesse%netscape.com
ea06e31c80 [Not part of build] Part of bug 98476. If the file doesn't exist, it's not an error.
git-svn-id: svn://10.0.0.236/trunk@120449 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 19:08:46 +00:00
bnesse%netscape.com
17b2eddabd Fix for bug 140150. Do not leak dialog string objects. r=morse, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@120448 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 19:06:49 +00:00
gerv%gerv.net
f55deedd7d Bug 140770 - Navigation doesn't work after creating a new bug. This fix displays a new bug to the user immediately after it's been filed. Patch by gerv; r=justdave, afranke.
git-svn-id: svn://10.0.0.236/trunk@120447 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 19:00:51 +00:00
mostafah%oeone.com
06d2fe9db1 Enhancing ParseIcalString.
Changing ParseIcalComponent to accept both VEVENT and VCALENDAR types.
Changing ParseIcalComponent to work properly if it is called on an existing event as a second sweep.


git-svn-id: svn://10.0.0.236/trunk@120445 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 18:02:14 +00:00
kestes%walrus.com
d6efaa91ba add parenthesis to keep arguments as a list.
git-svn-id: svn://10.0.0.236/trunk@120444 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 17:07:48 +00:00
nboyd%atg.com
7285fe794d Now pass 104077.
git-svn-id: svn://10.0.0.236/trunk@120443 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 16:47:25 +00:00
cmanske%netscape.com
00caddbe80 Avoid duplicate sites when sitename changes, b=136413, r=akkana, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@120441 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 14:50:23 +00:00
cmanske%netscape.com
1b613277d1 Clone objects to create temp variable, b=135834, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@120440 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 14:50:10 +00:00
cmanske%netscape.com
115cde8e95 Allow 'HTML' image to be to the right of 'Source' text in tab, b=113883, r=mkaply, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@120439 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 14:40:51 +00:00
kaie%netscape.com
efdd70937a b=139948 SSL Tooltip not updated when going from one ssl site to another
r=javi sr=jag


git-svn-id: svn://10.0.0.236/trunk@120438 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 14:15:27 +00:00
mostafah%oeone.com
e2402c5b9f Fixing incorrect printf FORMAT string
git-svn-id: svn://10.0.0.236/trunk@120437 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 14:11:30 +00:00
igor%mir2.org
6fd7263faa Allow in UintMap for any key to hold int and object values simultaneously, as the old code could only detect that the key is allowed to hold an object value only if there are no other keys with int values. In the new version, if the key is present, it always has both int and object values, but they default to 0 or int if not specified in put. It is effectively the old behavior when the map contained at least one int key, but at least it is documented.
git-svn-id: svn://10.0.0.236/trunk@120436 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 14:10:41 +00:00
kaie%netscape.com
109ddc5f16 b=130692 Find matching certificate using case insensitive email address
r=javi sr=jag


git-svn-id: svn://10.0.0.236/trunk@120435 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 14:09:42 +00:00
kaie%netscape.com
565eab0df8 b=141317 CopyToLowerCase produces strings with random content
r=jag sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120432 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 14:02:11 +00:00
mostafah%oeone.com
c51bf4c840 Fixed buildid not being properly updated in Calendar-About alert
git-svn-id: svn://10.0.0.236/trunk@120431 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 13:37:03 +00:00
cbiesinger%web.de
9397709fa4 bug 62703 patch by neil@parkwaycc.co.uk r=ducarroz sr=alecf
Mail Compose: Need mnemonics for "Attachments" and "Subject"


git-svn-id: svn://10.0.0.236/trunk@120429 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 12:47:42 +00:00
cbiesinger%web.de
490b0917f3 bug 140990 patch by pj@ludd.luth.se r=timeless sr=jag
Mismatched free() / delete / delete [] at nsAString::AssignFromPromise(nsAString const &)


git-svn-id: svn://10.0.0.236/trunk@120428 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 12:41:58 +00:00
axel%pike.org
0f09277655 Bug 141173, TxObject::hashCode() and Map crash, PRInt32->PRUint32, r=peterv, sr=jaggernaut
git-svn-id: svn://10.0.0.236/trunk@120426 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 10:45:13 +00:00
justdave%syndicomm.com
74e6cd7d04 Full recompile of the docs so everyone can see what the current SGML docs actually look like in HTML.
git-svn-id: svn://10.0.0.236/trunk@120425 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 09:29:09 +00:00
justdave%syndicomm.com
a016f5197a correction to one of the command lines
git-svn-id: svn://10.0.0.236/trunk@120424 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 09:24:40 +00:00
justdave%syndicomm.com
3abe88d8ce Corrected installation and compiling instructions for the docs, based on extensive trial and error on Landfill.
git-svn-id: svn://10.0.0.236/trunk@120423 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 09:13:30 +00:00
gerv%gerv.net
91338e8231 Bug 141385 - dependency graph title is incorrect when doall is specified. Patch by zeroJ@null.net; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@120422 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 06:23:36 +00:00
rbs%maths.uq.edu.au
ce94e89c25 bug 121748 - stretch fences at a size that fully covers non-fences. Also improve the height of token elements such as <mi> when they involve symbol fonts with weird metrics, r=roc+moz, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120421 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 05:47:15 +00:00
bernd.mielke%snafu.de
8dbd814839 hide also collapsed borders when the table is hidden, bug 135782 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120420 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 05:33:11 +00:00
kestes%walrus.com
8c89ff5af8 add better error reporting when tinderbox mail gets bounced.
git-svn-id: svn://10.0.0.236/trunk@120419 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 04:12:31 +00:00
depstein%netscape.com
d6f19b4e46 added NS_LITERAL_CSTRINGs to nsIFile.cpp. Some XPIDialog/Progress code in Tests.cpp
git-svn-id: svn://10.0.0.236/trunk@120416 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 03:33:18 +00:00
hewitt%netscape.com
d03ea4fcfc 134195 - trees don't work in builds installed over old builds, r=dbaron, sr=jag, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@120415 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 03:15:50 +00:00
kestes%walrus.com
0225c40e39 another typo.
git-svn-id: svn://10.0.0.236/trunk@120414 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 03:11:20 +00:00
kestes%walrus.com
bb74047c27 typo
git-svn-id: svn://10.0.0.236/trunk@120413 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 03:10:32 +00:00
kestes%walrus.com
16c1e94718 typo, comment was not marked.
git-svn-id: svn://10.0.0.236/trunk@120412 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 03:08:33 +00:00
kestes%walrus.com
41c55905bd make it possible to have truly empty cells in the table not just "&nbsp;".
git-svn-id: svn://10.0.0.236/trunk@120411 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 03:07:25 +00:00
hewitt%netscape.com
f315a7c601 123834 - no text in wizard buttons on mac, r=andreww, sr=ben
git-svn-id: svn://10.0.0.236/trunk@120410 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 03:03:58 +00:00
kestes%walrus.com
21036391e7 turn off the uniform table spacing.
git-svn-id: svn://10.0.0.236/trunk@120408 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:54:12 +00:00
kestes%walrus.com
25f95f8d7b explain that you must reload page.
git-svn-id: svn://10.0.0.236/trunk@120406 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:52:46 +00:00
kestes%walrus.com
47e7535a30 fixes to make regenerate pages work
git-svn-id: svn://10.0.0.236/trunk@120405 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:49:26 +00:00
kestes%walrus.com
2d7346dec8 fixes
git-svn-id: svn://10.0.0.236/trunk@120404 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:47:06 +00:00
kestes%walrus.com
2bfcb4dbd8 fixes
git-svn-id: svn://10.0.0.236/trunk@120403 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:46:13 +00:00
kestes%walrus.com
166db90f68 fixes, forgot to include TinderConfig.
git-svn-id: svn://10.0.0.236/trunk@120402 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:42:11 +00:00
kestes%walrus.com
49a87e33f7 fixes
git-svn-id: svn://10.0.0.236/trunk@120401 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:36:26 +00:00
kestes%walrus.com
9cfb67eae3 fixes
git-svn-id: svn://10.0.0.236/trunk@120400 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:35:15 +00:00
cotter%netscape.com
a7061a2a11 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; misc. SDX & interface updates
git-svn-id: svn://10.0.0.236/trunk@120399 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:34:47 +00:00
kestes%walrus.com
27d15138b1 try this
git-svn-id: svn://10.0.0.236/trunk@120398 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:31:22 +00:00
kestes%walrus.com
3aebb8bc6e put content type at top of output.
git-svn-id: svn://10.0.0.236/trunk@120397 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:23:55 +00:00
kestes%walrus.com
1a9cf91f2a missing EOF fixed, URL was very wrong, now I just need to get the tree name to make this work.
git-svn-id: svn://10.0.0.236/trunk@120396 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:19:10 +00:00
kestes%walrus.com
8bc8606ab5 allow users to pick the row structure, it can now be uniform times (every 5 minutes)
or it can be one row for each time we have data for.


git-svn-id: svn://10.0.0.236/trunk@120395 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:06:26 +00:00
kestes%walrus.com
34ab09f7b0 use a OO calling sequence to call our implementations of HTMLPopUp. This
is needed to allow easier testing of the full set of HTMLPopUp libraries.


git-svn-id: svn://10.0.0.236/trunk@120394 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:03:03 +00:00
peterlubczynski%netscape.com
be3246ade9 Implementing new prefs that will allow for automatic scanning of tier one plugins in their installation locations:
pref("plugin.scan.SunJRE", "1.3");
pref("plugin.scan.Acrobat", "5.0");
pref("plugin.scan.Quicktime", "5.0");
pref("plugin.scan.WindowsMediaPlayer", "7.0");
pref("plugin.scan.4xPluginFolder", false);

This also adds a one-off hack to scan for Real Player (nppl3260.dll) in the XPCOM components folder.

Bug 133282, r=av sr=waterson


git-svn-id: svn://10.0.0.236/trunk@120393 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:01:50 +00:00
kestes%walrus.com
8e980890e8 move each HTML Popup into its own name space and modify the functions to
accept a typical OO calling sequence with a $self as first argument.


git-svn-id: svn://10.0.0.236/trunk@120392 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 02:01:49 +00:00
kestes%walrus.com
611f5a9906 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@120389 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:56:59 +00:00
kestes%walrus.com
1d19a4934a more comments.
allow users to turn off text browser characters,  allow users to use
nonuniform row spacing.


git-svn-id: svn://10.0.0.236/trunk@120388 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:56:23 +00:00
kestes%walrus.com
79c3aaf9b9 add information about the new regenerate cgi program.
git-svn-id: svn://10.0.0.236/trunk@120387 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:55:19 +00:00
kestes%walrus.com
2126f713e2 allow 'buildstarted' state as a synonym for 'building'.
git-svn-id: svn://10.0.0.236/trunk@120386 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:53:50 +00:00
kestes%walrus.com
72d696ee92 allow there to be perl regular expression metacharacters in the buildnames,
particularly parenthesis.


git-svn-id: svn://10.0.0.236/trunk@120385 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:52:53 +00:00
kestes%walrus.com
17e469d6dd new test, to demonstrate all popup possibilities.
git-svn-id: svn://10.0.0.236/trunk@120384 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:51:51 +00:00
kestes%walrus.com
2d5e199950 add popup_test target
git-svn-id: svn://10.0.0.236/trunk@120383 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:48:55 +00:00
kestes%walrus.com
43d29e3e21 add function event_times_vec and move the typical trim function into this file.
git-svn-id: svn://10.0.0.236/trunk@120382 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:48:13 +00:00
kestes%walrus.com
58786f21c1 add function event_times_vec
git-svn-id: svn://10.0.0.236/trunk@120381 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:47:05 +00:00
kestes%walrus.com
7ba6398e3f end times must be whole numbers, no decimals.
git-svn-id: svn://10.0.0.236/trunk@120380 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:46:23 +00:00
jpierre%netscape.com
5bbb8ada10 Fix for 136279 - initialize NSS in a way compatible with < 3.4 versions of NSS
git-svn-id: svn://10.0.0.236/trunk@120377 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 01:04:41 +00:00
dbaron%fas.harvard.edu
c57d40b6dc Don't double-create :before and :after content by checking |processChildren| in ConstructHTMLFrame and only doing the hacky (and probably incorrect) sibling-:before/:after construction for leaf frames. b=141289 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120376 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:51:36 +00:00
dbaron%fas.harvard.edu
8bc0a6579f Consider whitespace in quirks-mode line-height algorithm when it's in the middle of the line. b=134580 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120375 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:42:49 +00:00
cmanske%netscape.com
630d8638b2 Make Link dialog wider for long urls, b=133790, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@120373 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:39:45 +00:00
dbaron%fas.harvard.edu
a681655481 Remove ClearUndisplayedContentMap hack from ReconstructStyleData (expanded for bug 118014; see bug 136728). Fix multiple content inserted notifications from XBL (the real cause of bug 118014) by checking the undisplayed content map in addition to the primary frame map. Fix FrameManager::GetUndisplayedContent to work correctly, and remove code in nsCSSFrameConstructor::AttributeChanged that was working around its brokenness. b=136704 sr=waterson r=attinasi
git-svn-id: svn://10.0.0.236/trunk@120372 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:36:50 +00:00
wtc%netscape.com
85ec3def26 Bugzilla bug 127062: use PR_MSG_PEEK instead of MSG_PEEK.
git-svn-id: svn://10.0.0.236/trunk@120370 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:21:50 +00:00
dbaron%fas.harvard.edu
1ec44c55ea Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120368 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:17:04 +00:00
wtc%netscape.com
58c8b6839b Bugzilla bug 131057: define PORT_Strdup as a function that calls PORT_Alloc.
Modified files:
	lib/ckfw/nsprstub.c lib/fortcrypt/swfort/pkcs11/stub.c
	lib/nss/nss.def lib/util/secport.c lib/util/secport.h


git-svn-id: svn://10.0.0.236/trunk@120367 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:06:39 +00:00
dbaron%fas.harvard.edu
ba70a10942 Add command-line tool for parsing CSS files. b=139943 sr=waterson r=attinasi
git-svn-id: svn://10.0.0.236/trunk@120365 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:03:57 +00:00
cmanske%netscape.com
8b997c19b1 Fixed display of 'undefined' instead of empty string in Publish Progress dialog, b=138040, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@120364 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:55:48 +00:00
dp%netscape.com
b168ef0b13 export formatNumber
git-svn-id: svn://10.0.0.236/trunk@120363 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:52:52 +00:00
cmanske%netscape.com
ddc6b3fd51 Fixed duplicate accesskey for Composer context menu, b=137621, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@120362 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:49:47 +00:00
dp%netscape.com
4e4ceef6b6 printCategoryTree
git-svn-id: svn://10.0.0.236/trunk@120361 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:44:03 +00:00
blythe%netscape.com
f95347d1eb Not part of normal build.
Move tmreader lifetime into a global, such that when the connections become
threaded that we do not have to manage joining all threads when we'd like
to exit; leave that job to PR_Cleanup.


git-svn-id: svn://10.0.0.236/trunk@120360 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:43:56 +00:00
cmanske%netscape.com
2e7fb1b6d9 Bring Table dialog to XUL1.0 standards for proper Esc key and button ordering, b=135945, r=neil@parkwaycc.co.uk, sr=kin
git-svn-id: svn://10.0.0.236/trunk@120359 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:42:48 +00:00
dp%netscape.com
f480b61d67 Rearranged rules to get more accurate assignment
git-svn-id: svn://10.0.0.236/trunk@120358 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:42:32 +00:00
ssu%netscape.com
459be54948 fixing bug 100822 - Shut down running browsers after download. r=curt sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@120357 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:41:25 +00:00
serge%netscape.com
5c8fa20595 fix #139572 [Acrobat's form fails to render ( pdf on secure site)] r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@120356 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:39:59 +00:00
cmanske%netscape.com
83043c2343 Activate publish icon when typing in HTML source mode, b=140063, r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@120355 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:30:29 +00:00
brendan%mozilla.org
fa2530c123 Don't 'constant-fold' if(false)var foo=42 into nothing (140974, r=khanson, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@120354 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:28:34 +00:00
darin%netscape.com
4f32d845fb fixes bug 141061 - XMLHttpRequest allows reading of local files
r=mstoltz sr=heikki


git-svn-id: svn://10.0.0.236/trunk@120353 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:22:04 +00:00
jkeiser%netscape.com
10f3c5e677 Allow form submit with javascript URI to call submit() within the JS function. bug 139798, r=alexsavulov@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120352 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:21:58 +00:00
tor%cs.brown.edu
f6cb646578 Bug 53597: gamma correction backout. r=dbaron, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@120351 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 23:15:52 +00:00
tor%cs.brown.edu
32bfaf3754 Bug 22337: -install option to install private colormap. r=pavlov, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@120347 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:34:34 +00:00
shrutiv%netscape.com
f8cf3d1a41 Fix for bug 106748: When adding custom component, the description and size
may be left blank (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@120344 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:32:22 +00:00
dkl%redhat.com
a0a2dde0c5 Bug 141326 - broken hyperlink in editkeywords.cgi. Fix by dkl@redhat.com. 2xr=Gerv
git-svn-id: svn://10.0.0.236/trunk@120340 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:15:52 +00:00
karnaze%netscape.com
5572fad021 new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@120338 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:10:22 +00:00
axel%pike.org
eabe26a3b6 remove denglish from the tree, testcase, not part of the build
git-svn-id: svn://10.0.0.236/trunk@120336 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 22:02:03 +00:00
varada%netscape.com
69806d90f8 fix for 141314;associate the right smtp server with each account;r=racham;sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@120335 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:53:09 +00:00
karnaze%netscape.com
bd65918973 bug 138292 - add a non table related frame to its parent frame's child list when the parent frame is an anonymous table cell frame. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@120334 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:45:58 +00:00
karnaze%netscape.com
92d0625651 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@120333 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:41:52 +00:00
karnaze%netscape.com
cc7a86e2f4 bug 113235 - avoid reframing when content is inserted inside an inline frame which contains a block. sr=waterson, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@120331 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:34:15 +00:00
cavin%netscape.com
60d6df4b8e Fix for 138804. Put child folders in the pending list when root folder is sitll missing and process these child folders when root folder shows up. r=ducarroz, sr=sspitzer, a=rjesup@wgate.com.
git-svn-id: svn://10.0.0.236/trunk@120330 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:32:09 +00:00
naving%netscape.com
e5a1847e93 139876 r=bienvenu sr=mscott Add two methods to nsIMsgFolder to transfer db init info when we are getting rid
of old db and creating a new db for the same folder
135275 r=bienvenu sr=mscott Added a boolean dbBatching param to EnableNotification that will tell us when
to do db batching. This param help us to not open unused stream to local dest folder in mailDatabase code, hence we can rid of #ifdef MAC.


git-svn-id: svn://10.0.0.236/trunk@120329 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:24:22 +00:00
gerv%gerv.net
c54450f795 Bug 140311 - query.cgi, search/seach.html.tmpl: should move some strings to template. Patch by burnus@gmx.de; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@120328 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:18:09 +00:00
dougt%netscape.com
3144ee0eb9 Fixes bugs 138254 and 138157. The first addresses problems with STOR and CWD. On some servers, we screw up and ask that the server to store the uploaded file in a absolute position when we really want the file to be relative to the CWD. The second bug addressees resolves a cpu peg after upload. r=bbaetz/brade. sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120327 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:12:53 +00:00
hyatt%netscape.com
0ee6e4a225 Fix ESPN.
git-svn-id: svn://10.0.0.236/trunk@120326 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:07:31 +00:00
cbiesinger%web.de
e903303b3b bug 133675 patch by Morten@Nilsen.com r=biesi sr=alecf
javascript strict warnings in findUtils.js


git-svn-id: svn://10.0.0.236/trunk@120325 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:04:10 +00:00
alecf%netscape.com
58208cba4d update standalone xpcom documentation
just docs, not part of build


git-svn-id: svn://10.0.0.236/trunk@120324 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:02:35 +00:00
kin%netscape.com
68d79e4f6b Fix for bug 125345 (Font attributes disappear when you double click editor window)
Modified TypeInState::NotifySelectionChanged() to work around
bogus selection changed notifications (bug 140303). We now
call reset when the collapsed selection changes position, or
becomes uncollapsed.

  mozilla/editor/libeditor/html/TypeInState.cpp
  mozilla/editor/libeditor/html/TypeInState.h

r=jfrancis@netscape.com  sr=attinasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@120323 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 20:59:43 +00:00
alecf%netscape.com
2025475a6d officially remove the REQUIRES=uconv dependency from xpcom!
r=mcafee, sr=darin
bug 100676


git-svn-id: svn://10.0.0.236/trunk@120322 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 20:57:35 +00:00
dougt%netscape.com
2a4f12499e Fixes 141235. Indexed-html converter doesn't handle parent directories for file protocol. r=chak@netscape.com, sr=darin@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@120320 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 20:53:09 +00:00
chak%netscape.com
9ff000752e Fix for #141247 - Enable HTML dir listings
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@120319 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 20:48:15 +00:00
naving%netscape.com
7b3af65edc 138297 r=bienvenu sr=mscott. null out the filter list when we are unloading server, fixes problem with single profile filters in turbo mode.
git-svn-id: svn://10.0.0.236/trunk@120318 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 20:35:01 +00:00
cbiesinger%web.de
10a549d7c9 bugs 141163, 141168 r=rginda no sr needed for cview
fix some strict warnings in component viewer


git-svn-id: svn://10.0.0.236/trunk@120317 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 20:28:26 +00:00
mcafee%netscape.com
f083071f1e Adding Mac OSX/Darwin-specific profile directory
git-svn-id: svn://10.0.0.236/trunk@120316 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 20:27:01 +00:00
blizzard%redhat.com
88b4fa936e Bug #141239. Remove tabs from code and clean up indenting in the c files. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@120312 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 19:29:00 +00:00
blizzard%redhat.com
d75a534456 Bug #121259. gtk2 needs to have maximize/minimize WM hints hooked up. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@120311 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 19:03:12 +00:00
despotdaemon%netscape.com
ed0c384afd Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@120310 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 18:15:42 +00:00
kestes%walrus.com
3b53987433 comment out the test trees so that Mozilla.org can use the treedata page
without seeing test artifacts but others can see how the tests work.


git-svn-id: svn://10.0.0.236/trunk@120309 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 18:01:02 +00:00
kestes%walrus.com
cdd6ca504d fix typo effecting the URL which points to Bonsai
git-svn-id: svn://10.0.0.236/trunk@120308 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 17:58:26 +00:00
kestes%walrus.com
4b40084b09 fix typo in backward compatibility effecting "test failed"
git-svn-id: svn://10.0.0.236/trunk@120307 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 17:57:38 +00:00
hyatt%netscape.com
353aaaa62b Add Richard Schreyer to contributor list.
git-svn-id: svn://10.0.0.236/trunk@120306 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 17:29:26 +00:00
bienvenu%netscape.com
bd7d2bf147 fix hang starting mail, sr=alecf 141162
git-svn-id: svn://10.0.0.236/trunk@120305 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 16:43:26 +00:00
despotdaemon%netscape.com
6da93634e6 Pseudo-automatic update of changes made by mjudge@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@120303 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 16:22:26 +00:00
colinp%oeone.com
9fdf384a4e fix to bug 137024 - tooltips capitalisation
git-svn-id: svn://10.0.0.236/trunk@120302 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 15:39:11 +00:00
pinkerton%netscape.com
15db7e42d6 Indent entries in the folder popup to reflect the hierarchy. from Richard Schreyer (richards9@mac.com)
git-svn-id: svn://10.0.0.236/trunk@120301 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 14:58:16 +00:00
bienvenu%netscape.com
fe9f14c48f fix 140555 r/sr=sspitzer downloading two copies of every news msg for offline use when syncing newsgroups, also don't allow multiple downloads to the same group
git-svn-id: svn://10.0.0.236/trunk@120300 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 14:46:44 +00:00
alecf%netscape.com
2d3a67732d final part of patch for bug 138299 - converting consumers of nsIWindowMediator over to the non-RDF contractid
r=danm, sr=jag


git-svn-id: svn://10.0.0.236/trunk@120299 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 14:21:48 +00:00
john.marmion%ireland.sun.com
037d1a6b15 fix for #135414. LDAP Address Book intgration with 3rdparty products fails.
r=dmose,sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@120296 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 13:28:07 +00:00
shaver%mozilla.org
af624f98f5 Fix Forte bustage resulting from fix for 124335 (private, unused |operator new|
not returning a value).  Trading for warnings on gcc, which would really
rather have me throw an exception.


git-svn-id: svn://10.0.0.236/trunk@120295 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 12:44:49 +00:00
dprice%netscape.com
6665e83c18 139641 r-ssu sr=dveditz
allow the windows installer to use filenames from keys in the registry


git-svn-id: svn://10.0.0.236/trunk@120292 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 09:07:00 +00:00
jkeiser%netscape.com
fc6776dab0 Fix stupid-Mac-OSX-compiler crasher. bug 134934, r=saari@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120291 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 08:03:01 +00:00
sspitzer%netscape.com
fbd60aa436 fix build issue. thanks to jefft for the patch.
git-svn-id: svn://10.0.0.236/trunk@120289 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 06:33:18 +00:00
sspitzer%netscape.com
828d8b9fbe fix for #137886. fix string infinite loop issue that was causing remigration to hang on win2k and win98
r/sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120288 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 05:26:17 +00:00
av%netscape.com
26992da121 Fixing 106411 -- 'Starting plugin...' message is stuck in the status bar, r=serge, sr=beard
git-svn-id: svn://10.0.0.236/trunk@120287 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 05:08:44 +00:00
mstoltz%netscape.com
7e89ee0e46 Bug 140133 - Replace unsafe strcpy with strncpy and null-terminate the result.
r=nhotta, sr=heikki


git-svn-id: svn://10.0.0.236/trunk@120285 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 04:07:57 +00:00
jaggernaut%netscape.com
6f59cccadb Fix two typos on previous checkin for bug 139633. r=dmose, sr=mozbot (even though I couldn't reach him, I'm sure he would've given me sr= for this simple bustage fix)
git-svn-id: svn://10.0.0.236/trunk@120283 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 04:03:57 +00:00
dmose%netscape.com
f1bd22715a Fix clean/clobber targets to properly remove shared and static libraries (bug 136651). Patch from Philip K. Warren <pkw@austin.ibm.com>; r=dmose@netscape.com; sr=sspitzer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@120281 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 03:40:22 +00:00
dmose%netscape.com
b65fd89881 Fix build hiccup in autoconf build (bug 137723); patch from Colin Blake <colin@theblakes.com>; r=mcs@netscape.com, dmose@netscape.com; sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120280 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 03:24:24 +00:00
shrutiv%netscape.com
5b00702c9e Fix for bug 140980: Missing setup.exe, install.ini and setuprsc.dll
in c11n builds


git-svn-id: svn://10.0.0.236/trunk@120279 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 02:46:51 +00:00
alecf%netscape.com
93e7be5f78 oops fix a typo in my last checkin, to bug 139633 that dbaron caught - "dst" should have been "src"
git-svn-id: svn://10.0.0.236/trunk@120274 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:39:22 +00:00
despotdaemon%netscape.com
177d4823f4 Pseudo-automatic update of changes made by hyatt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@120273 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:37:44 +00:00
alecf%netscape.com
868ac4081c Fix for bug 138299 - switch consumers of nsIWindowMediator service to use the non-RDF contractID, in preparation for bug 132175
r=danm, sr=jag


git-svn-id: svn://10.0.0.236/trunk@120272 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:36:59 +00:00
bzbarsky%mit.edu
cbd4d50912 xlib complains a lot about fonts with '*' in the XLFD string. Bug
136743, patch by Roland.Mainz@informatik.med.uni-giessen.de (Roland
Mainz), r=bstell, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120271 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:29:14 +00:00
dmose%netscape.com
4eea0e428a Fix memory leak in libssldap and an incorrect error return in libprldap (bug 137017). r=mcs@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120270 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:23:58 +00:00
darin%netscape.com
6bdc7c7242 fixes bug 138877 "Browser crashes if HREF contains entity #9619; M1RC1
topcrash [@ MSVCRT.DLL - PR_Free] [@ libc.so.6 - PR_Free]"
r=nhotta sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@120269 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:13:54 +00:00
mitchf%netscape.com
b66ba45f97 Added graying out of remoteadmin checkbox if unlockable
Fixes bug 11949


git-svn-id: svn://10.0.0.236/trunk@120265 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 00:45:56 +00:00
smontagu%netscape.com
2cbd720b1d Perform Bidi reordering on page headers when printing. Bug 139297, r=Roland.Mainz@informatik.med.uni-giessen.de, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120263 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 00:37:12 +00:00
ian%hixie.ch
adc37e223f change the default include type from XML to x-auto so that by default we can include other templates without knowing what they are.
git-svn-id: svn://10.0.0.236/trunk@120262 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 00:24:48 +00:00
ian%hixie.ch
d2fc17dd5a Make getSettings return a boolean instead of raising an exception.
git-svn-id: svn://10.0.0.236/trunk@120261 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 00:24:01 +00:00
ian%hixie.ch
0f90df3b8e Add various FILTERs were required to keep the output valid HTML...
git-svn-id: svn://10.0.0.236/trunk@120260 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 00:23:07 +00:00
ian%hixie.ch
759a7da243 Add support for pending commands, so that after getting their password sent users can continue doing what they were doing before. (This requires support on the output side as well, typically the HTTP protocol will use this, and less interactive protocols like e-mail won't.)
git-svn-id: svn://10.0.0.236/trunk@120259 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 00:18:33 +00:00
ian%hixie.ch
a8b1b7a2f7 Add getArgumentsAsString() and getArgumentsFromString() so that the arguments can be flattened and then 'retexturised' a later time and reused.
git-svn-id: svn://10.0.0.236/trunk@120258 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 00:13:20 +00:00
ian%hixie.ch
6e6f48680f Login component output files for the HTTP protocol
git-svn-id: svn://10.0.0.236/trunk@120257 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 00:11:55 +00:00
wtc%netscape.com
208a2b674b Whitespace change.
git-svn-id: svn://10.0.0.236/trunk@120256 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 00:11:19 +00:00
relyea%netscape.com
55266fbdbd Use NewTempCert and AddTempCert when importing because the cert may already exist
in the cache.


git-svn-id: svn://10.0.0.236/trunk@120254 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 23:54:07 +00:00
brendan%mozilla.org
07e8f26854 Avoid opening and trying to reopen in CopyTo, so we work on FAT32 filesystems mounted on Linux (e.g.; 134163, r=dougt, sr=waterson).
git-svn-id: svn://10.0.0.236/trunk@120253 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 23:35:18 +00:00
cathleen%netscape.com
adea6ff786 Checking in Intel's contribution for SSE2 JPEG optimization, bug 125762, r=cathleen sr=scc
git-svn-id: svn://10.0.0.236/trunk@120252 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 23:27:33 +00:00
yokoyama%netscape.com
55d22709ee Bug139842
Populate the unicode string with replacement char in case of decoder failure
Impact only mail/news.
/r=nhotta;sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@120248 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 23:21:53 +00:00
despotdaemon%netscape.com
cfc0c2b63a Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@120247 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 23:05:49 +00:00
mkaply%us.ibm.com
c7449bf045 #140538
r=pedemont, sr=blizzard
OS/2 only - fix some edge cases where file dialog didn't appear, general cleanup


git-svn-id: svn://10.0.0.236/trunk@120241 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:38:03 +00:00
mkaply%us.ibm.com
279ac4f48c Hope to fix OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@120239 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:37:08 +00:00
hyatt%netscape.com
0dca33080a Fix.
git-svn-id: svn://10.0.0.236/trunk@120238 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:23:17 +00:00
bzbarsky%mit.edu
1e4a6df19b Make selecting parts of a line in align:justify work right on
Mac/Linux.  Bug 58704, r=akkana, sr=kin


git-svn-id: svn://10.0.0.236/trunk@120236 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:03:41 +00:00
hyatt%netscape.com
c441f7150a GOD DAMMIT.
git-svn-id: svn://10.0.0.236/trunk@120235 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:03:34 +00:00
andreww%netscape.com
74f66ff7de bugzilla 141029 r=cmanske, sr=sspitzer add needed overlay target to editorTasksOverlay.xul.
git-svn-id: svn://10.0.0.236/trunk@120233 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:01:46 +00:00
pavlov%netscape.com
617fd5a8e5 bug 133217. r=biesi sr=ben. fixes problem where imagelib will reload images when it shouldn't due to the wrong pointer address being passed in
git-svn-id: svn://10.0.0.236/trunk@120232 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 21:59:32 +00:00
hyatt%netscape.com
a4d0b22d9c Fix crash on quit.
git-svn-id: svn://10.0.0.236/trunk@120231 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 21:57:22 +00:00
hyatt%netscape.com
b7862f8fc0 The crash doesn't happen this way.
git-svn-id: svn://10.0.0.236/trunk@120230 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 21:52:10 +00:00
bienvenu%netscape.com
5df7f761bd fix top crash in imap header parsing, r=naving, sr=sspitzer 140986
git-svn-id: svn://10.0.0.236/trunk@120229 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 21:36:37 +00:00
ben%netscape.com
f3f35a8ed5 Let's try this NIB thing again...
git-svn-id: svn://10.0.0.236/trunk@120228 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 21:31:08 +00:00
shaver%mozilla.org
1e6dd7e839 Use a dhash instead of a vector and linear search for storing module data
in the static component loader.  BUg 128335, r=dougt, sr=waterson.


git-svn-id: svn://10.0.0.236/trunk@120227 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 21:29:38 +00:00
shaver%mozilla.org
e7e33ed3a3 Use an nsFixedSizeAllocator to legalize the bit-packing's assumption that
all nsXULAttributes pointers will be 8-byte aligned.  Bug 124335, r=brendan,
sr=waterson.


git-svn-id: svn://10.0.0.236/trunk@120226 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 21:28:29 +00:00
alecf%netscape.com
61312b4eeb fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin


git-svn-id: svn://10.0.0.236/trunk@120220 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:29:54 +00:00
cbiesinger%web.de
9b30ae8f63 bug 112908 patch by rossi@telnet.at r=biesi sr=alecf
Error in walletOverlay.js on startup [redeclaration of const hide]


git-svn-id: svn://10.0.0.236/trunk@120218 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:19:00 +00:00
pinkerton%netscape.com
577b80695e remove duplicated line
git-svn-id: svn://10.0.0.236/trunk@120217 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:12:47 +00:00
pinkerton%netscape.com
6766a72a7d changing copying phase to use dist/Embed for everything, rather than plucking things from the tree. allows debug builds to work better with security
git-svn-id: svn://10.0.0.236/trunk@120216 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:07:27 +00:00
cbiesinger%web.de
0a511393d9 bug 67790 r=walk84 sr=alecf
js warning in bookmarksOverlay.js


git-svn-id: svn://10.0.0.236/trunk@120215 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:59:45 +00:00
cbiesinger%web.de
620a081e5c bug 57652 r=caillon sr=alecf
js strict warning in customize.js


git-svn-id: svn://10.0.0.236/trunk@120214 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:52:08 +00:00
cbiesinger%web.de
60f52579d5 bug 115192 patch by walk84@yahoo.com r=caillon sr=alecf
js strict warning in bookmarks.xml


git-svn-id: svn://10.0.0.236/trunk@120213 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:49:14 +00:00
gerv%gerv.net
d91ba1bbc3 Bug 140664 - checksetup.pl fails on perl 5.005. Patch by bbaetz; r=afranke, daa@rm.incc.net, gerv.
git-svn-id: svn://10.0.0.236/trunk@120212 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:49:00 +00:00
cbiesinger%web.de
b8aad8b138 bug 67793 r=timeless sr=alecf
js strict warning in addBookmark.js


git-svn-id: svn://10.0.0.236/trunk@120211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:42:42 +00:00
gerv%gerv.net
addf50dfdd Bug 140564 - Unquoted variable in regexp in globals.pl. Patch by xor@ivwnet.com; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@120210 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:37:52 +00:00
cbiesinger%web.de
769b27cf1f bug 55798 r=fabian sr=alecf
strict warning in navigator.js


git-svn-id: svn://10.0.0.236/trunk@120209 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:37:21 +00:00
gerv%gerv.net
7dddb78e4a Bug 140329 - Stagger headers have wrong order. Patch by myk; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@120208 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:36:03 +00:00
gerv%gerv.net
33a5971d2a Bug 140784 - edit*.cgi need a use lib "." on Win32/IIS w/ taint. Patch by jouni@heikniemi.net; r=bbaetz, gerv.
git-svn-id: svn://10.0.0.236/trunk@120207 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:32:29 +00:00
gerv%gerv.net
8a60366c55 Bug 140953 - Creating the first attachment status fails. Patch by jouni@heikniemi.net, 2xr=myk.
git-svn-id: svn://10.0.0.236/trunk@120206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:29:52 +00:00
hyatt%netscape.com
cb75dbfa12 Better but still get a sheet error message.
git-svn-id: svn://10.0.0.236/trunk@120205 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:25:49 +00:00
cbiesinger%web.de
f149159d8a bug 91876 patch by walk84@yahoo.com r=biesi sr=alecf
strict warning in help.js


git-svn-id: svn://10.0.0.236/trunk@120204 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:22:58 +00:00
igor%mir2.org
d0876ec0f6 LabelTable cleanup:
1. Targeting of labels with 0x80000000 biscuits is moved from LabelTable to ClassFileWriter as this is classfile specific and is not necessary in Interpreter.
2. LabelTable allows for pc > Short.MAX_VALUE as this restriction is classfile specific. The only requirement is for jump offsets to stay within short range.
3. LabelTable is made private member of Interpreter and ClassFileWriter instead of being classes' superclass to avoid API leakage that forced optimizer.Codegen to declare few utility methods public as they got the same signature as LabelTable methods visible throw Interpreter inheritance.


git-svn-id: svn://10.0.0.236/trunk@120203 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:21:57 +00:00
hyatt%netscape.com
31614567b1 This is better. Still undoing fuckage.
git-svn-id: svn://10.0.0.236/trunk@120202 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 19:05:29 +00:00
hyatt%netscape.com
c2dcd673e3 Undo ben's horkage.
git-svn-id: svn://10.0.0.236/trunk@120201 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 18:59:33 +00:00
cbiesinger%web.de
db5bd52266 bug 140146 patch by ere@atp.fi r=bienvenu sr=mscott
crash in nsMsgFolder during shutdown


git-svn-id: svn://10.0.0.236/trunk@120200 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 18:15:09 +00:00
igor%mir2.org
4b64638ac8 I replaced java.util.Enumeration type for result and arguments of ScriptRuntime.initEnum/ScriptRuntime.nextEnum by Object to allow for greater flexibility in for (...in...) implementation.
git-svn-id: svn://10.0.0.236/trunk@120199 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 17:31:11 +00:00
sdagley%netscape.com
232cba891f Fix mach-o bustage introduced with last checkin - NS_TruncNodeName is implemented in nsLocalFileMac which currently isn't part of the mach-o build.
git-svn-id: svn://10.0.0.236/trunk@120197 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 15:49:49 +00:00
mostafah%oeone.com
f7e9ee84d3 Bringing code up-to-date with libical official CVS on Apr 29th 2002 ( Fixes bug 140793 )
git-svn-id: svn://10.0.0.236/trunk@120196 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 15:14:41 +00:00
locka%iol.ie
e1de5ef1a3 Stop crash in mousewheel code when wheel is rolled over another Gecko app window (e.g. mfcEmbed). b=137213 r=bryner@netscape.com alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120195 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 14:50:58 +00:00
bzbarsky%mit.edu
f67369b089 Text zoom should reflow the viewport, otherwise fixed-pos elements don't
get reflown correctly.  Bug 51578, r=dbaron, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@120194 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 13:46:29 +00:00
ben%netscape.com
683a56a738 Remove noisy NSLogs
git-svn-id: svn://10.0.0.236/trunk@120193 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 13:15:25 +00:00
ben%netscape.com
0fce0b02a3 Fix Project to have correct connection between CHHistoryDataSource and its outliner view
git-svn-id: svn://10.0.0.236/trunk@120192 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 12:58:30 +00:00
ben%netscape.com
fad99266a6 More history sidebar panel work.
git-svn-id: svn://10.0.0.236/trunk@120191 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 12:39:27 +00:00
ben%netscape.com
4684fa90fb History DataSource
git-svn-id: svn://10.0.0.236/trunk@120189 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 10:27:55 +00:00
glazman%netscape.com
569c41821a weird crasher in |nsHTMLCSSUtils::GetElementContainerOrSelf|
b=138003, r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@120187 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 10:13:23 +00:00
glazman%netscape.com
7e799c5402 The 'lighter' CSS value was not output in STYLE attributes because of a bug in |nsCSSProps::SearchKeywordTableInt|
This routine was stopping on negative values but there are some negative values defined in nsStyleConsts.h

b=137061, r=caillon, sr=kin


git-svn-id: svn://10.0.0.236/trunk@120185 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 09:39:55 +00:00
hyatt%netscape.com
2a0f41690a Pref code for internet config hooked up.
git-svn-id: svn://10.0.0.236/trunk@120182 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 09:15:53 +00:00
hyatt%netscape.com
e310ca2bdd oops.
git-svn-id: svn://10.0.0.236/trunk@120181 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 08:23:05 +00:00
hyatt%netscape.com
83ab62d426 Adding pref manager from Wisner.
git-svn-id: svn://10.0.0.236/trunk@120180 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 08:22:37 +00:00
hyatt%netscape.com
e64931b1ea The importer works.
git-svn-id: svn://10.0.0.236/trunk@120179 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 08:08:24 +00:00
sdagley%netscape.com
4be2c14636 Fix #116079 - if a file with no extension is dragged to Mozilla and it has a file type of 'TEXT' treat it as text/plain rather than application/octet-stream. r=bryner, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@120178 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 07:01:44 +00:00
badami%netscape.com
4576e12d1b bug 122877 r=bratell sr=jst a=asa patch=t_mutreja@yahoo.com
case insensitive matching for attributes (HREF != href)


git-svn-id: svn://10.0.0.236/trunk@120177 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 06:25:55 +00:00
sdagley%netscape.com
3514e263d8 Fix #139360 - Don't silently fail when file name from FilePicker >31 characters. Do a mid-trunc until we can switch to HFS+ APIs. r=ccarlen,pinkerton sr=scc
git-svn-id: svn://10.0.0.236/trunk@120176 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 06:22:55 +00:00
gerv%gerv.net
895ffbaef8 Bug 140553 - remaining instances of uri filter. Patch by gerv; 2xr=bbaetz.
git-svn-id: svn://10.0.0.236/trunk@120175 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 06:15:50 +00:00
hyatt%netscape.com
a05d7cb1fe Bookmarks importer. Not ready for prime time yet.
git-svn-id: svn://10.0.0.236/trunk@120172 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 04:17:32 +00:00
blakeross%telocity.com
64ddb1bb82 32034 - sidebar search fails if no navigator windows are open. r=bryner sr=ben
git-svn-id: svn://10.0.0.236/trunk@120170 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 03:00:57 +00:00
blakeross%telocity.com
50c1befaf9 128630 - go button in search doesn't work with enter on mac. r=bryner sr=ben
git-svn-id: svn://10.0.0.236/trunk@120169 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 02:13:40 +00:00
dcone%netscape.com
3ddf81f058 b=134887 r=kmmclusky sr=attinasi Fix the calculation of the image pointer using
the correct bits per pixel instead of assuming 24.  This fixes alpha blending of some backgrounds.
b=135535 r=kmmclusky sr=attinasi.  Fix the way we delete the DC.. instead of deleteobject
use deleteDC.  Should free up resources on windows.


git-svn-id: svn://10.0.0.236/trunk@120168 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 02:08:56 +00:00
blakeross%telocity.com
f7eabb6053 135270 - sidebar add button doesn't call right dialog for bkmrk groups. r=bryner sr=ben
git-svn-id: svn://10.0.0.236/trunk@120167 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 01:50:15 +00:00
hyatt%netscape.com
af5b36cedb More work on importing of bookmarks.
git-svn-id: svn://10.0.0.236/trunk@120166 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 01:28:30 +00:00
nboyd%atg.com
c31b7feb8c Remove skip for bug 120194
git-svn-id: svn://10.0.0.236/trunk@120165 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 00:58:40 +00:00
nboyd%atg.com
2217c61f59 Patch from Igor to fix 120194
git-svn-id: svn://10.0.0.236/trunk@120164 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 00:56:30 +00:00
blakeross%telocity.com
68c85668e9 137815 - crash hitting enter key before panel content finishes loading [@nsTreeSelection::FireOnSelectHandler]. r=bryner sr=ben
git-svn-id: svn://10.0.0.236/trunk@120163 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 23:55:58 +00:00
bryner%netscape.com
cdb977189b Bug 137440 - download manager should appear by default, rather than separate progress dialogs (except on mac, until 132027 is fixed). Checking in for blake. r=hixie, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@120162 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 23:54:08 +00:00
blakeross%telocity.com
0ef3a6b1d0 er, reverting changes that weren't supposed to happen...
git-svn-id: svn://10.0.0.236/trunk@120161 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 23:42:48 +00:00
blakeross%telocity.com
1978242a8c 137440 - download manager should appear by default, rather than separate progress dialogs. r=hixie sr=ben
git-svn-id: svn://10.0.0.236/trunk@120159 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 23:26:49 +00:00
hyatt%netscape.com
338c864383 Implemented view source.
git-svn-id: svn://10.0.0.236/trunk@120158 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 22:53:27 +00:00
gerv%gerv.net
4f9204d96e Bug 137623 - showdependencytree.cgi has minor grammatical and formatting issues. Patch by gerv; r=bbaetz, justdave.
git-svn-id: svn://10.0.0.236/trunk@120156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 22:24:40 +00:00
hyatt%netscape.com
4e975646d8 Lay the plumbing for view source. Tweak context menu wording. Hook up some unconnected context menu items in the image link context menu.
git-svn-id: svn://10.0.0.236/trunk@120155 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 22:23:25 +00:00
gerv%gerv.net
fa3782ed6a Bug 140765 - midair template has an error. Patch by jouni@heikniemi.net, 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@120153 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 22:16:14 +00:00
gerv%gerv.net
a94f85d68d Bug 140006 - ThrowTemplateError should try a template before using print statements. Patch by gerv, r=bbaetz, justdave.
git-svn-id: svn://10.0.0.236/trunk@120152 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 22:09:38 +00:00
hyatt%netscape.com
2d72ff336f Ok, so now it's picking a URL for import.
git-svn-id: svn://10.0.0.236/trunk@120151 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 22:07:03 +00:00
gerv%gerv.net
633754ee1a Bug 138904 - post_bug templates should be separate. Renaming template so that the name's not so long, and we can use formats.
git-svn-id: svn://10.0.0.236/trunk@120150 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 22:06:43 +00:00
gerv%gerv.net
af4cd449d1 Bug 138904 - post_bug templates should be separate. Patch by gerv, 2xr=myk.
git-svn-id: svn://10.0.0.236/trunk@120149 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 22:05:31 +00:00
hyatt%netscape.com
ccd4b6d15d adding an import bookmarks menu command.
git-svn-id: svn://10.0.0.236/trunk@120148 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 21:59:30 +00:00
gerv%gerv.net
858b27bae9 Bug 140103 - various templatisations or cleanups in CGI.pl. Patch by gerv; r=justdave, bbaetz.
git-svn-id: svn://10.0.0.236/trunk@120147 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 21:57:10 +00:00
hyatt%netscape.com
812727b346 adding an import bookmarks menu command.
git-svn-id: svn://10.0.0.236/trunk@120146 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 21:57:00 +00:00
ian%hixie.ch
223bfdcd36 <hyatt> you mean "compatibility" not "compatability" <hyatt> got a spelling error in the README
git-svn-id: svn://10.0.0.236/trunk@120144 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 18:47:03 +00:00
justdave%syndicomm.com
adad77d4a7 Fix for bug 140633: Template Toolkit bug causes directory "datatemplate" to be created in the Bugzilla root directory instead
of creating "template" within the "data" directory.  Adding a trailing slash to the compile directory name to work around it.
2xr= bbaetz


git-svn-id: svn://10.0.0.236/trunk@120143 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 18:43:14 +00:00
igor%mir2.org
592be5ea8c Do not call acquireLabel/addLabelFixup/markLabel if label is not stored in parse tree and can be resolved immediately after node subtree generation (see new addForwardsGoto and resolveForwardGoto methods)
git-svn-id: svn://10.0.0.236/trunk@120141 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 15:17:24 +00:00
ian%hixie.ch
a9dfef3c46 In response to all the comments about the imminent exodus...
git-svn-id: svn://10.0.0.236/trunk@120140 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 15:14:11 +00:00
blakeross%telocity.com
fa1b582fc6 134039 - theme switching should shut down quicklaunch. r=law sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@120138 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 14:28:18 +00:00
ben%netscape.com
3e9449470a Add stub implementation for missing method
git-svn-id: svn://10.0.0.236/trunk@120137 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 14:18:17 +00:00
ben%netscape.com
ca72ff6a45 Update Credits :-)
git-svn-id: svn://10.0.0.236/trunk@120136 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 14:07:30 +00:00
ben%netscape.com
c08886b03d RDF Outline View DataSource, take 1.
git-svn-id: svn://10.0.0.236/trunk@120135 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 14:06:08 +00:00
locka%iol.ie
4f3c910854 On behalf of Dan McGuirk<mcguirk@tolteceng.com> Add missing scrollbar folder. b=138692 r=adamlock@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120134 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 11:09:26 +00:00
locka%iol.ie
d22a17f327 Switch if statement from testing for VARIANT_TRUE to testing for !VARIANT_FALSE to make behaviour more client forgiving and like IE. r=brade@netscape sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@120133 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 11:00:12 +00:00
ben%netscape.com
2cb56ea24d Updating nsIFile usage to reflect darin's file changes
git-svn-id: svn://10.0.0.236/trunk@120132 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 07:57:00 +00:00
jkeiser%netscape.com
cdf91f6f16 Make iframe border repaint when style changes (bug 124507), r=waterson@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120131 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 07:53:41 +00:00
mkaply%us.ibm.com
0c1d7094a4 Extra bracket
git-svn-id: svn://10.0.0.236/trunk@120130 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 02:17:58 +00:00
racham%netscape.com
923a0afa2f Fixing bug 140183. Checking ShowProgress dialog attribute and pref as printing is done. Patch by Rod Spears. r=danm,bhuvan sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@120129 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 01:43:23 +00:00
racham%netscape.com
d40e296732 Fixing bug 140183. Adding an attribute to the PrintSettings which allows silent printing i.e., without a progress window. Patch by Rod Spears. r=samir,bhuvan sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@120128 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 01:42:17 +00:00
miodrag%netscape.com
2583a3078e Updates for LDAPJDK 4.16
git-svn-id: svn://10.0.0.236/trunk@120126 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 23:41:15 +00:00
caillon%returnzero.com
c677254fc3 Bug 131429. The context menu item for 'Set as Wallpaper' on Windows platforms should be disabled while the image is loading, in order to prevent a partial image being set. r=biesi, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@120125 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 18:47:47 +00:00
curt%netscape.com
e9e056db8d New "ProductNameInternal" and decriptable key "Product PreviousVersion"
(Bug 140178, r=ssu, sr=dveditz)


git-svn-id: svn://10.0.0.236/trunk@120124 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 16:47:39 +00:00
curt%netscape.com
c3c83f16eb Distinguishes between an external productname displayed to the user and an
internal product name used for registry and install paths.
  (Bug 140178, r=ssu, sr=dveditz)


git-svn-id: svn://10.0.0.236/trunk@120123 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 16:44:44 +00:00
blizzard%redhat.com
96f4896505 Use a common style for all of these files, add comments at the top to enforce that style and remove all the tabs in these files. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@120122 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 16:26:10 +00:00
mkaply%us.ibm.com
f4bd52d910 OS/2 bustage - did I do this right?
git-svn-id: svn://10.0.0.236/trunk@120121 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 16:16:23 +00:00
karnaze%netscape.com
786a9b3275 bug 138436 - remove redundant style change reflows on auto-layout table. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@120120 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 15:54:37 +00:00
mkaply%us.ibm.com
7d6434b57d Beos bustage - somehow forgot to check this in
git-svn-id: svn://10.0.0.236/trunk@120119 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 15:36:21 +00:00
mkaply%us.ibm.com
864ee118b0 Can you tell I did this too fast - that's two misspellings so far
git-svn-id: svn://10.0.0.236/trunk@120118 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 15:32:14 +00:00
mkaply%us.ibm.com
233c598c39 Misspelling
git-svn-id: svn://10.0.0.236/trunk@120117 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 14:37:42 +00:00
mkaply%us.ibm.com
931b403cc4 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@120116 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 13:57:05 +00:00
blizzard%redhat.com
defac81182 Bug #129591. nsWindow::Enabled is a no-op on GTK. Also fixes bug #65521. linux modal dialogs should only freeze parent window (not all windows.) This code is a big cleanup of the event dispatching code, too. r=bryner,sr=jst
git-svn-id: svn://10.0.0.236/trunk@120115 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 13:50:21 +00:00
mkaply%us.ibm.com
aa4d6dc90d OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@120114 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 13:49:35 +00:00
igor%mir2.org
f38d221116 Do not allocate Label object and instead store label's PC and fixups in itsFixupTable and itsFixupTable arrays
git-svn-id: svn://10.0.0.236/trunk@120113 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 12:27:14 +00:00
hyatt%netscape.com
e7b6a5f36e NPOB. Fix a boolean. Cocoa.
git-svn-id: svn://10.0.0.236/trunk@120112 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 09:43:44 +00:00
pete.zha%sun.com
ca9d084b2b bug 139726:Duplicate variable definition broken compilers other than gcc
r=pete.zha@sun.com sr=jag
Check in for Jay Yan(jay.yan@sun.com)'s fix


git-svn-id: svn://10.0.0.236/trunk@120111 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 09:41:46 +00:00
igor%mir2.org
04d1e46d71 Hiding details of omj.LabelTable implementation behind new getLabelPC, addLabelFixup, fixLabelGotos and clearLabels methods and making all its fields private.
git-svn-id: svn://10.0.0.236/trunk@120110 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 09:13:28 +00:00
hyatt%netscape.com
d1566b06cb The auto complete session successfully instantiates now in response to user input.
git-svn-id: svn://10.0.0.236/trunk@120109 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 09:10:19 +00:00
hyatt%netscape.com
c132e5e231 The auto complete session successfully instantiates now in response to user input.
git-svn-id: svn://10.0.0.236/trunk@120108 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 09:09:08 +00:00
darin%netscape.com
9f6e22264d fixing solaris bustage
git-svn-id: svn://10.0.0.236/trunk@120107 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 09:02:53 +00:00
hyatt%netscape.com
64e0b0e925 More autocomplete groundwork.
git-svn-id: svn://10.0.0.236/trunk@120106 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 08:47:59 +00:00
pete.zha%sun.com
949e84e2ef bug 140204:HTTP preferences have weird checkbox handling
r=bzbarsky sr=darin
Check in for Antonio Xu's(antonit.xu@sun.com) fix


git-svn-id: svn://10.0.0.236/trunk@120105 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 08:47:56 +00:00
darin%netscape.com
1579c79f52 fixing OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@120104 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 08:29:19 +00:00
hyatt%netscape.com
d131f044e3 More autocomplete groundwork.
git-svn-id: svn://10.0.0.236/trunk@120103 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 08:25:30 +00:00
hyatt%netscape.com
0ab6bc3a94 Hooking in autocomplete. Still just laying groundwork.
git-svn-id: svn://10.0.0.236/trunk@120102 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 08:14:13 +00:00
darin%netscape.com
8205a5345d fixing OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@120101 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 07:34:27 +00:00
hyatt%netscape.com
a02151f879 Initial commit of autocomplete files.
git-svn-id: svn://10.0.0.236/trunk@120100 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 07:18:22 +00:00
hyatt%netscape.com
0fb6df63f0 Adding the auto completing text field. Upping the version to 0.2.6.
git-svn-id: svn://10.0.0.236/trunk@120099 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 07:11:05 +00:00
gerv%gerv.net
6b92e8e0b6 Bug 138284 - prepare for Bugzilla Helper replacement enter_bug template. Patch by gerv; r=bbaetz, myk.
git-svn-id: svn://10.0.0.236/trunk@120098 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 06:57:16 +00:00
darin%netscape.com
d6ab86854e fixes OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@120097 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 06:45:16 +00:00
darin%netscape.com
03a37c6bff fixes win32 bustage
git-svn-id: svn://10.0.0.236/trunk@120096 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 06:32:40 +00:00
bbaetz%student.usyd.edu.au
c40b378bff Bug 105960 - xml.cgi has wrong content type, and should be standalone
r=caillon x2


git-svn-id: svn://10.0.0.236/trunk@120095 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 06:25:41 +00:00
leaf%mozilla.org
d384169348 Automated update
git-svn-id: svn://10.0.0.236/trunk@120094 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:41:14 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
wtc%netscape.com
fadd9c12b4 Bugzilla bug 129080: Unroll the collect_data code. Pin the required buffers.
Allow the cache to grow if necessary to hold large objects. r=nelsonb,wtc.
Modified Files: h_bigkey.c hash_buf.c


git-svn-id: svn://10.0.0.236/trunk@120091 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:11:58 +00:00
wtc%netscape.com
6a8f527899 Plug leak. (bug 124234)
git-svn-id: svn://10.0.0.236/trunk@120090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:09:48 +00:00
kestes%walrus.com
3ecb68832c updates
git-svn-id: svn://10.0.0.236/trunk@120088 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:05:14 +00:00
kestes%walrus.com
fb36f35d72 fixes
git-svn-id: svn://10.0.0.236/trunk@120086 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 04:59:46 +00:00
kestes%walrus.com
0c6b576a83 missing ;
git-svn-id: svn://10.0.0.236/trunk@120085 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 04:57:03 +00:00
kestes%walrus.com
8547e50f78 Ignore build must allow spaces in buildnames.
git-svn-id: svn://10.0.0.236/trunk@120084 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 04:55:37 +00:00
kestes%walrus.com
9b4cc286a8 fixes
git-svn-id: svn://10.0.0.236/trunk@120082 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 04:24:43 +00:00
kestes%walrus.com
7d2b040bc6 fixes
git-svn-id: svn://10.0.0.236/trunk@120081 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 04:23:46 +00:00
kestes%walrus.com
1616e7c1a3 update
git-svn-id: svn://10.0.0.236/trunk@120080 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 04:20:10 +00:00
kestes%walrus.com
d21871333b turnoff network security features.
git-svn-id: svn://10.0.0.236/trunk@120079 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 04:11:58 +00:00
kestes%walrus.com
0160676a1f redo page layout to netscape/mozilla standard.
git-svn-id: svn://10.0.0.236/trunk@120078 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 04:11:36 +00:00
jfrancis%netscape.com
47b0819f74 trivial change to reduce CW compiler memory demands. r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@120077 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 03:53:17 +00:00
kestes%walrus.com
556d887cac fixes
git-svn-id: svn://10.0.0.236/trunk@120075 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 03:23:02 +00:00
wtc%netscape.com
e97087c610 Backed out the fix for bug 121975. It doesn't work on Windows 95.
Modified Files: configure configure.in WIN32.mk _win95.h w95dllmain.c
w95thred.c


git-svn-id: svn://10.0.0.236/trunk@120074 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 03:12:25 +00:00
kestes%walrus.com
3189efac62 more fixed to allow the notices to be backdated.
git-svn-id: svn://10.0.0.236/trunk@120070 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 02:31:12 +00:00
smeredith%netscape.com
02fcd76abf Fix for http://bugscape.netscape.com/show_bug.cgi?id=14145
The logo wasn't the right one in some places and the logo URL was wrong in some places.


git-svn-id: svn://10.0.0.236/trunk@120069 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 02:27:23 +00:00
av%netscape.com
d751279ef2 Bustage fix
git-svn-id: svn://10.0.0.236/trunk@120068 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 02:24:18 +00:00
bbaetz%student.usyd.edu.au
10c5ded5ee Bug 97832 - turn on template compilation. This means that the minimum TT
version is now 2.07.
r=myk, gerv


git-svn-id: svn://10.0.0.236/trunk@120067 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 02:16:32 +00:00
kestes%walrus.com
1b623af03a update
git-svn-id: svn://10.0.0.236/trunk@120066 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:57:05 +00:00
av%netscape.com
ffc889d807 Fixing 132430 -- RealJukeBox breaks the plugin finder service, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120064 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:48:51 +00:00
kestes%walrus.com
3b87573772 updates
git-svn-id: svn://10.0.0.236/trunk@120063 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:48:06 +00:00
av%netscape.com
6a23f98260 Fixing 132430 -- RealJukeBox breaks plugin finder service, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120061 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:47:18 +00:00
kestes%walrus.com
f3a232dedd updaet
git-svn-id: svn://10.0.0.236/trunk@120059 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:37:05 +00:00
kestes%walrus.com
ed5b00f5a5 add an effective time field.
git-svn-id: svn://10.0.0.236/trunk@120058 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:24:55 +00:00
alecf%netscape.com
d3e760e121 bug 136235 - comment-only change - update nsIGlobalHistory to use javadoc format, and properly document the API
r=chak, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@120057 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:21:09 +00:00
bryner%netscape.com
5d3bd9ef31 Fix shift-tabbing in the case where the first focusable element in the page has a non-text child node. Bug 136495, r=aaronl, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@120056 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:20:48 +00:00
kestes%walrus.com
a691ceaa11 updates
git-svn-id: svn://10.0.0.236/trunk@120053 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 01:13:08 +00:00
kestes%walrus.com
0d403af54f updates
git-svn-id: svn://10.0.0.236/trunk@120051 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 00:50:18 +00:00
kestes%walrus.com
1df30737b2 updates.
git-svn-id: svn://10.0.0.236/trunk@120050 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 00:47:33 +00:00
kestes%walrus.com
1e56611d3e update
git-svn-id: svn://10.0.0.236/trunk@120048 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 00:31:09 +00:00
hyatt%netscape.com
ecb7dd8048 Optimize plugin views to be opaque, since they don't need to draw. Check in all the plugin code for cocoa widgets.
git-svn-id: svn://10.0.0.236/trunk@120047 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 00:19:49 +00:00
cltbld%netscape.com
dd1e2c354d Updating user agent string for 1.0, bug 133797.
r=lpham, sr=leaf, a=asa for blanket version approval.
asasaki checking in as cltbld.


git-svn-id: svn://10.0.0.236/trunk@120046 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 00:09:53 +00:00
jst%netscape.com
48eb0d492d Fixing one more part of the DOM performance bug 118933. Cache the properties 'document' and 'window' on the global object in JS to avoid needing to go through XPConnect every time these are accessed. 2x speedup on some DOM testcases where the bulk of the time we spend is in the JS engine and XPConnect. r=peterv@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120044 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 00:03:47 +00:00
kestes%walrus.com
5425774f20 update legend
git-svn-id: svn://10.0.0.236/trunk@120043 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:49:06 +00:00
kestes%walrus.com
88b74fb165 fix issue where there is no old tree states so the cells get rendered improperly.
git-svn-id: svn://10.0.0.236/trunk@120042 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:45:33 +00:00
kestes%walrus.com
d39e9a1789 put the C on all builds to show what made it into each build.
git-svn-id: svn://10.0.0.236/trunk@120041 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:44:55 +00:00
dmose%netscape.com
e95f1df257 Only set PERL if it has not already been set (bug 137318). r=seawood@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120040 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:33:52 +00:00
kestes%walrus.com
e87eb26183 updates
git-svn-id: svn://10.0.0.236/trunk@120039 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:29:21 +00:00
wtc%netscape.com
165777392a Added pkibase.c to the project.
git-svn-id: svn://10.0.0.236/trunk@120037 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:29:19 +00:00
kestes%walrus.com
4e1983d432 updates
git-svn-id: svn://10.0.0.236/trunk@120036 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:28:02 +00:00
hyatt%netscape.com
8d430b108b hook up toggle toolbar method, update version to 0.2.5
git-svn-id: svn://10.0.0.236/trunk@120034 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:25:15 +00:00
gerv%gerv.net
4d7de54334 Bug 138994 - split up duplicates.html.tmpl. Patch by gerv; r=myk, bbaetz.
git-svn-id: svn://10.0.0.236/trunk@120032 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:18:57 +00:00
igor%mir2.org
00fb0831f8 Refactoring interpreter initialization to follow code more easily
git-svn-id: svn://10.0.0.236/trunk@120031 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:18:08 +00:00
igor%mir2.org
f0f3f160b8 Tab removal
git-svn-id: svn://10.0.0.236/trunk@120030 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:14:50 +00:00
wtc%netscape.com
573d9f7960 Needed a (char *) cast for slotInfo.manufacturerID because it is an array
of "unsigned" chars.  Mac's compiler complains about that.


git-svn-id: svn://10.0.0.236/trunk@120029 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:05:40 +00:00
jgmyers%netscape.com
a17eadae1c Remove ssl-forcehandshake workaround r=kaie/rpotts/bienvenu sr=darin
git-svn-id: svn://10.0.0.236/trunk@120027 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:02:11 +00:00
kestes%walrus.com
040a65b6b9 make the seamonkey tree be like the original seamonkey tree.
git-svn-id: svn://10.0.0.236/trunk@120026 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 23:00:10 +00:00
kestes%walrus.com
9914019f37 color changes for the colorblind.
git-svn-id: svn://10.0.0.236/trunk@120025 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:57:22 +00:00
wtc%netscape.com
662e6d3fce Removed devobject.c from the project. That file was removed.
git-svn-id: svn://10.0.0.236/trunk@120023 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:52:07 +00:00
darin%netscape.com
0c2bd395a2 fixes bug 138780 - Redirect with non-ASCII in URL fails
r=andreas.otte@debitel.net sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@120022 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:50:50 +00:00
kestes%walrus.com
feae9a8170 automatically run --daemon-mode when admin or notices are run.
git-svn-id: svn://10.0.0.236/trunk@120021 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:42:44 +00:00
wtc%netscape.com
821736ca16 Need to define SHLIB_SUFFIX for lib/softoken/dbinit.c.
git-svn-id: svn://10.0.0.236/trunk@120020 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:42:15 +00:00
kestes%walrus.com
23ccc82912 still messing with the TinderPrint stuff.
git-svn-id: svn://10.0.0.236/trunk@120019 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:40:11 +00:00
relyea%netscape.com
c00ee8b330 return error when incomplete shutdown has been detected.
git-svn-id: svn://10.0.0.236/trunk@120018 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:36:07 +00:00
kestes%walrus.com
4ee1be6de4 fixed typo, slipage is now slippage.
git-svn-id: svn://10.0.0.236/trunk@120017 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:33:53 +00:00
kestes%walrus.com
977d35ecf1 more backward compatibilty.
git-svn-id: svn://10.0.0.236/trunk@120016 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:27:45 +00:00
kestes%walrus.com
298ee9edd3 add better error message on failure.
git-svn-id: svn://10.0.0.236/trunk@120015 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:27:17 +00:00
gerv%gerv.net
60e5d5524b Bug 140419 - fix merge error from bug 138995. Oops. Patch by burnus@gmx.de; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@120014 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:16:34 +00:00
kestes%walrus.com
457e6e243c change availible to available.
git-svn-id: svn://10.0.0.236/trunk@120012 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 22:05:07 +00:00
peterv%netscape.com
2c2fdc6a40 Fix for bug 140060 (ReplaceChild on a document's documentElement fails). r=bz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@120011 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:52:48 +00:00
naving%netscape.com
e2ebd228b4 139833 r=racham sr=sspitzer Save the default sent/drafts/templates(folder URIs) prefs settings correctly
git-svn-id: svn://10.0.0.236/trunk@120010 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:50:18 +00:00
mscott%netscape.com
81a9d2870c Bug #121299 --> fix the cookie icon. Add a classic screenshot icon.
r=morse
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@120008 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:44:51 +00:00
gerv%gerv.net
e9d0d76dc5 Bug 140407 - remove all references to directories template/default and template/custom. They are no more. Oceania is at war with Eastasia. Oceania has always been at war with Eastasia.
git-svn-id: svn://10.0.0.236/trunk@120005 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:12:42 +00:00
bryner%netscape.com
2226e7ff45 Removing old XBL form control images. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@120004 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:12:19 +00:00
bryner%netscape.com
c36b4dc7bc Removing references to old XBL form control images and CSS. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@120003 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:11:04 +00:00
gerv%gerv.net
064e2e53b6 Move a </center> tag (inserted in bug 129442 in a vain attempt to make this CGI's HTML validate) to the bottom of the initial page. This has the effect of fixing the alignment of the "choose chart" widgets; returning them back to the centre, where it should be. No bug number.
git-svn-id: svn://10.0.0.236/trunk@120002 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 21:09:50 +00:00
rginda%netscape.com
7ca6105a0a - venkman only -
bug 139883, "ErrorHookProc can be tricked into thinking it never finished running", r=peterv
fixes bad early return in jsds_ErrorHookProc
test for correct max params (12, not 8) in CreatePPLineMap
use nsnull instead of 0 for null pointer return value


git-svn-id: svn://10.0.0.236/trunk@120000 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:57:35 +00:00
alecf%netscape.com
5a90faf1b2 check in start of "embed-lite" module, lightweight versions of some seamonkey components
This way embedding doesn't need to include stuff like chrome, rdf, mork, etc.

not part of the build


git-svn-id: svn://10.0.0.236/trunk@119999 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:47:58 +00:00
kmcclusk%netscape.com
7e5ea4f126 Abort paint if destroying the PresShell and check for null PresShell in nsImageLoader. bug 102585. r=waterson sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119998 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:44:38 +00:00
pinkerton%netscape.com
4ad7747592 remove a log statement
git-svn-id: svn://10.0.0.236/trunk@119993 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:24:15 +00:00
pinkerton%netscape.com
64ce5abe13 don't pass drags to anything that's one of our views, but not a ChildView
(ie, scrollbars).


git-svn-id: svn://10.0.0.236/trunk@119992 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:24:02 +00:00
varga%utcru.sk
6519ceab0c Fix for bugs:
135002 - timing issues in the outliner content model.
137890 - twisties doesn't appear for empty="true" on treeitems.
r=bryner, sr=hewitt,ben
- added support for hidden attribute on a treeitem


git-svn-id: svn://10.0.0.236/trunk@119991 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:20:57 +00:00
oeschger%netscape.com
1860765f52 help content update: search database additions, dispensation per 122806
git-svn-id: svn://10.0.0.236/trunk@119989 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:19:05 +00:00
gerv%gerv.net
b7d623586c Bug 138995 - split up search.html.tmpl. Patch by gerv; 2xr=myk.
git-svn-id: svn://10.0.0.236/trunk@119987 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:03:08 +00:00
sspitzer%netscape.com
713cdf089b fix for regression bug #138647. turn off some code that was for #134743.
until I figure it out.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119986 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 19:52:41 +00:00
waterson%netscape.com
21adc83f72 Bug 138057. Eliminate nsBlockFrame::RememberFloaterDamage, instead
recording the damage when we reflow the floater. This allows us to
catch several cases that we weren't catching before, so we no longer
need to dirty all the line boxes when an incremental reflow targeted
at a float arrives. r=dbaron, sr=attinasi.


git-svn-id: svn://10.0.0.236/trunk@119985 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 19:28:27 +00:00
waterson%netscape.com
fc93436b44 Bug 138057. Eliminate nsBlockFrame::RememberFloaterDamage, instead recording the damage when we reflow the floater. This allows us to catch several cases that we weren't catching before, so we no longer need to dirty all the line boxes when an incremental reflow targeted at a float arrives. r=dbaron, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@119984 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 19:19:39 +00:00
pinkerton%netscape.com
83426e46af open a new widow if there aren't any available for us to use
git-svn-id: svn://10.0.0.236/trunk@119983 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 19:13:38 +00:00
pinkerton%netscape.com
270b9880d7 Hookup mozilla pref about re-using the window on a GURL event
git-svn-id: svn://10.0.0.236/trunk@119981 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 19:02:28 +00:00
pinkerton%netscape.com
427ab907a7 fix a warning
git-svn-id: svn://10.0.0.236/trunk@119980 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 19:01:52 +00:00
alecf%netscape.com
ceee571e24 bug 138287 - profile manager depends on appshell
we were just creating some CIDs that were totally unused, so I removed them and the #includes
that caused the dependency
sr=jag, r=bhuvan


git-svn-id: svn://10.0.0.236/trunk@119978 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 18:47:25 +00:00
myk%mozilla.org
d1d7395e3b Fix for bug 139930: checksetup.pl no longer fails if data/params does not exist
Patch by Myk Melez <myk@mozilla.org>
r=bbaetz,gerv


git-svn-id: svn://10.0.0.236/trunk@119977 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 18:39:39 +00:00
myk%mozilla.org
27b098d51a Fix for bug 139759: gets email searches for "cc: list or assignee" working again.
Patch by David Ward <dward@netschools.net>
2xr=myk


git-svn-id: svn://10.0.0.236/trunk@119976 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 18:17:04 +00:00
myk%mozilla.org
e1af5ca685 Fix for bug 140354: Prevents "edit attachment as comment" from displaying opening and closing HTML tags on recent versions of Mozilla by making the regexp that finds and removes them case-insensitive.
Patch by Myk Melez <myk@mozilla.org>
2xr=gerv


git-svn-id: svn://10.0.0.236/trunk@119974 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 18:12:54 +00:00
cbiesinger%web.de
2c9a436463 bug 140141 patch by kairo@kairo.at r=biesi sr=alecf
Switching language/content packs is broken (once again)


git-svn-id: svn://10.0.0.236/trunk@119973 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 18:11:38 +00:00
caillon%returnzero.com
5681d9fb51 139343, zapping build warnings from computed style. r=bzbarsky,sr=jst
git-svn-id: svn://10.0.0.236/trunk@119972 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 18:10:14 +00:00
blizzard%redhat.com
1c2cde4376 Changes related to getting embedding working. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@119971 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 17:52:08 +00:00
sgehani%netscape.com
20ebe3070d Backing out sidebar personal toolbar button.
b=134345


git-svn-id: svn://10.0.0.236/trunk@119965 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 14:59:15 +00:00
ian.mcgreer%sun.com
2fd68a1c79 When doing cert traversals, create the certs in full as they are found. This avoids thrashing the softoken's object cache when the database has a large number of certs.
git-svn-id: svn://10.0.0.236/trunk@119963 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 14:34:05 +00:00
dcone%netscape.com
11f38d5872 b=137223 r=pavlov sr=attinasi Fixed rendering of blended PNG's
git-svn-id: svn://10.0.0.236/trunk@119961 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 13:12:18 +00:00
kin%netscape.com
b2952b65a9 Fix for bug 135154 (Cursor not appearing in textarea after tabbing into it)
Don't call StopBlinking() if the selection changed notification is
for a selection that is different from the one in mDomSelectionWeak.

r=akkana@netscape.com  sr=attinasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@119960 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 13:11:47 +00:00
ian.mcgreer%sun.com
befe2ca30f fix broken HPUX builds
git-svn-id: svn://10.0.0.236/trunk@119958 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 12:59:06 +00:00
peterv%netscape.com
e1b09b9084 Fix for bug 129655 ([ps] PostScript module device depth is 1bit). Patch by Roland.Mainz@informatik.med.uni-giessen.de. r=dcone, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@119957 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 12:43:43 +00:00
peterv%netscape.com
216a815a36 Fix for bug 139380 (duplicate code in nsFontMetricsXlib.cpp/nsFontMetricsGTK.cpp). Patch by Roland.Mainz@informatik.med.uni-giessen.de. r=bstell, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@119956 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 11:36:26 +00:00
rods%netscape.com
32963ff2a4 Use binary search from nsTextFrame to find the length of the header/footer strings
Bug 139384  r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119955 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 11:30:33 +00:00
axel%pike.org
7ac8dcbcda bug 139934, echo DISPLAY and printing environment vars in debug mode. patch by Roland.Mainz@informatik.med.uni-giessen.de, r=cls
git-svn-id: svn://10.0.0.236/trunk@119954 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 09:51:17 +00:00
igor%mir2.org
bfd7506c8e I changed VariableTable to store arbitrary Object as variable data to avoid allocation of LocalVariable in the interpreter mode as in this case only the variable name is used and it can be stored directly. It allows to remove omj.LocalVariable and omj.optimizer.OptVariableTable for the cost of having omc.JavaVariable which omj.optimizer.OptLocalVariable implement to pass to omc.ClassFileWriter debug information about the variable.
git-svn-id: svn://10.0.0.236/trunk@119953 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 08:01:29 +00:00
gerv%gerv.net
73101104b9 Bug 135817 - update template filename. Oops.
git-svn-id: svn://10.0.0.236/trunk@119949 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 06:46:16 +00:00
gerv%gerv.net
2893ccfdb3 Bug 140124 - PuntTryAgain must die. Patch by gerv, 2xr=myk.
git-svn-id: svn://10.0.0.236/trunk@119945 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 06:13:41 +00:00
jband%netscape.com
3d5443b5d6 fix bug 139243. Remove reference count based rooting of JS objects of wrapped natives and replace it with GC-time marking. This is a pretty good DOM performance win. r=dbradley sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119944 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 06:08:35 +00:00
gerv%gerv.net
7e5eb805ff Bug 135814 - templatise Token.pm. Patch by zeroj; 2xr=bbaetz.
git-svn-id: svn://10.0.0.236/trunk@119943 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 06:01:30 +00:00
aaronl%netscape.com
ae270dfe39 Bug 122312. Active Accessibility: support default actions for menu items and options. r=jgaunt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@119942 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 04:50:21 +00:00
aaronl%netscape.com
9209bfabbd Active Accessibility: getAccActionName returning empty string on Linux and Mac
git-svn-id: svn://10.0.0.236/trunk@119940 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 04:39:42 +00:00
jkeiser%netscape.com
fbe7c59140 Make iframe not load on DemoteForm and not load when iframe is removed from tree (bug 138900). r=peterv@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119938 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 03:24:32 +00:00
kestes%walrus.com
c7d1ca2dc9 updates.
git-svn-id: svn://10.0.0.236/trunk@119937 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 02:11:49 +00:00
mscott%netscape.com
a3ba37343f Bug #140104 --> only bring in the cookie tasks overlay if the window is a nav window.
this fixes a problem where mail, mail compose and editor windows were getting a cookie icon in
them.
r/sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@119935 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 02:05:53 +00:00
kestes%walrus.com
feefc1f438 updates
git-svn-id: svn://10.0.0.236/trunk@119934 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 02:05:26 +00:00
kestes%walrus.com
df11a2f46d updates
git-svn-id: svn://10.0.0.236/trunk@119933 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 01:57:59 +00:00
relyea%netscape.com
247f970965 Add code to update nickname and 'CKA_ID' from set attribute calls. This allows
us to add a nickname to a cert after we import it from pkcs #12.


git-svn-id: svn://10.0.0.236/trunk@119932 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 01:44:33 +00:00
hyatt%netscape.com
dc91296dc6 Starting to add toolbar show/hide for bookmarsk toolbar.
git-svn-id: svn://10.0.0.236/trunk@119931 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 01:39:14 +00:00
sspitzer%netscape.com
814bf90c4c fix for #137886. Detect defunct previously migrated profiles and offer to re-migrate.
this is pref controlled, "profile.seconds_until_defunct.  by default,
we'll never offer to remigrate.  initial patch by ccarlen.
r=ccarlen,racham,sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119930 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 01:37:04 +00:00
dmose%netscape.com
6dfc652588 Make nsldapi_os_connect_with_to correctly check error return from poll (bug 140101). Patch from Rich Megginson <richm@netscape.com>. r=dmose@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119927 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 01:32:59 +00:00
leaf%mozilla.org
c6cd44c98f Automated update
git-svn-id: svn://10.0.0.236/trunk@119926 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 01:26:29 +00:00
seawood%netscape.com
3d36ed21e9 Fix long-standing typo. Search for <sys/bitypes.h> not <sys/bittypes.h>
Bug #139895 r=bryner


git-svn-id: svn://10.0.0.236/trunk@119925 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 01:13:21 +00:00
mscott%netscape.com
12664cb4b4 Bug #121299 --> fix the cookie manager status icon
rs=sspitzer


git-svn-id: svn://10.0.0.236/trunk@119924 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 01:12:23 +00:00
relyea%netscape.com
a9598f5760 Write the nickname entry as well when adding a nickname to a bug.
git-svn-id: svn://10.0.0.236/trunk@119923 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 01:09:21 +00:00
kestes%walrus.com
33ad9be614 typo.
git-svn-id: svn://10.0.0.236/trunk@119922 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 00:51:11 +00:00
kestes%walrus.com
11310aeaec fix backward compatibility.
git-svn-id: svn://10.0.0.236/trunk@119921 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 00:49:22 +00:00
kestes%walrus.com
6483193469 remove some of the more strict checks.
git-svn-id: svn://10.0.0.236/trunk@119918 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 00:44:23 +00:00
myk%mozilla.org
d7f91c9b81 Fix for bug 139588: changes "size" to "maxlength" in abbreviations hash since "size" is a hash built-in method in Template Toolkit 2.07
Patch by Gerv <gerv@gerv.net>
r=ddk,myk


git-svn-id: svn://10.0.0.236/trunk@119917 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 00:41:37 +00:00
kestes%walrus.com
1a5e9e97dc updates
git-svn-id: svn://10.0.0.236/trunk@119915 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 00:06:18 +00:00
kestes%walrus.com
d0b6bea7f3 update
git-svn-id: svn://10.0.0.236/trunk@119914 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:55:30 +00:00
kestes%walrus.com
f2485ff722 updates.
git-svn-id: svn://10.0.0.236/trunk@119911 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:46:12 +00:00
cotter%netscape.com
5685000842 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; content & formatting fixes for certs help
git-svn-id: svn://10.0.0.236/trunk@119910 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:45:04 +00:00
bnesse%netscape.com
4cc479d6af Attempting to fix pinkertons bustage... removed apparently unintentional definition.
git-svn-id: svn://10.0.0.236/trunk@119909 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:38:50 +00:00
mscott%netscape.com
43c5c295cb Bug #121299 --> landing new cookie icons from Gail that are transparent. Building framework for allowing cookies to
use modern and classic icons instead of putting the icons in content too.

r=morse
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@119908 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:37:00 +00:00
kestes%walrus.com
4c587b6556 update.
git-svn-id: svn://10.0.0.236/trunk@119907 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:33:14 +00:00
jgaunt%netscape.com
89cefd69af bug 138346 html element accessible action names not expose in embedding
added accessible.properties to the embedding manifest
r=chak
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119904 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:21:04 +00:00
kestes%walrus.com
3d3660ce73 put html in a different directory.
git-svn-id: svn://10.0.0.236/trunk@119903 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:05:24 +00:00
jst%netscape.com
a9a7bb82fa Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119902 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:04:52 +00:00
kestes%walrus.com
5a409bb57c Setup for Mozilla.org Lounge.
git-svn-id: svn://10.0.0.236/trunk@119901 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:57:59 +00:00
brendan%mozilla.org
c51fbdc476 Purge the deflated string cache entry, if any, before finalizing external strings (140070, r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@119900 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:55:03 +00:00
shrutiv%netscape.com
d2fd8ba68a Fix for bug 126820: Grey out Wizard UI sections not supported for Mac
installer (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@119899 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:49:20 +00:00
nhotta%netscape.com
babd2864ea Add charset fallback mechanism to nsISaveAsCharset and use it for message headers and plain text body,
bug 109342, r=ducarroz,ftang, sr=bienvenu,sspitzer.


git-svn-id: svn://10.0.0.236/trunk@119898 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:49:19 +00:00
alecf%netscape.com
dbd5b7ffad more tweaks to windowDS - migrate some code over from the window mediator to get window attributes, etc.
not part of build


git-svn-id: svn://10.0.0.236/trunk@119897 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:48:07 +00:00
shrutiv%netscape.com
b111c114cf Fix for bug 126820: Grey out Wizard UI sections not supported for
Mac installer (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@119896 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:45:49 +00:00
pinkerton%netscape.com
dbdcfe33d6 remove a printf
git-svn-id: svn://10.0.0.236/trunk@119895 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:41:59 +00:00
pinkerton%netscape.com
5486100095 Add ability to drop items on browser view and have them processed by gecko.
git-svn-id: svn://10.0.0.236/trunk@119894 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:41:13 +00:00
pinkerton%netscape.com
6425e201e8 "Development" build style now uses Debug mozilla, as it should be.
git-svn-id: svn://10.0.0.236/trunk@119893 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:40:43 +00:00
pinkerton%netscape.com
579813f870 Can now drop items onto ChildView and they are correctly processed by gecko. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@119892 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:40:00 +00:00
shrutiv%netscape.com
caccbc6363 Fix for bug 13920: Grey out Classic Skin from component list (r=smeredith)
git-svn-id: svn://10.0.0.236/trunk@119890 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:36:55 +00:00
myk%mozilla.org
07e20f7ffe Fix for bug 140161: Prevents function call from displaying its return value, which we don't need.
Patch by Myk Melez <myk@mozilla.org>.
2xr=gerv


git-svn-id: svn://10.0.0.236/trunk@119889 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:35:14 +00:00
leaf%mozilla.org
d1488d2c64 Automated update
git-svn-id: svn://10.0.0.236/trunk@119887 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:26:35 +00:00
seawood%netscape.com
b5a8fc5449 Only check for & use -fshort-wchar with CXX as some versions of gcc only support -fshort-wchar for g++.
Bug #139211 r=bryner


git-svn-id: svn://10.0.0.236/trunk@119886 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:18:43 +00:00
caillon%returnzero.com
832c4d44bd Venkman only. 138242, Add 'Window' to the menubar, contributed by smaug@jippii.fi. r=caillon,rginda.
git-svn-id: svn://10.0.0.236/trunk@119885 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:14:18 +00:00
jst%netscape.com
0546da2c91 Fixing regression bug 139870. Don't crash when running into framesets/iframes that are too deeply nested. r=peterV@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119884 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:06:49 +00:00
attinasi%netscape.com
d71e5f8c22 Check for null FontMetrics to prevent crash. r=shanjian sr=kin
git-svn-id: svn://10.0.0.236/trunk@119883 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:00:22 +00:00
pinkerton%netscape.com
15833e1ae5 oops, missed a {
git-svn-id: svn://10.0.0.236/trunk@119880 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:35:40 +00:00
peterv%netscape.com
8e1fee6c6c Fix for bug 135825 (No scrollbars in P3P summary window). r=Pike, sr=heikki.
git-svn-id: svn://10.0.0.236/trunk@119878 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:31:09 +00:00
serge%netscape.com
ec03f9f278 fix 130080 [Signing Acrobat doesn't work] r=peterl, sr=darin
git-svn-id: svn://10.0.0.236/trunk@119877 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:28:06 +00:00
pinkerton%netscape.com
0362057174 remove bugnumber accidentally inserted in file.
git-svn-id: svn://10.0.0.236/trunk@119876 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:26:03 +00:00
pinkerton%netscape.com
32b2932c8e package download progress on mac for embedding. fix jar manifest to not pull en-unix on every platform. r=bryner/sr=ben/a=rjesup. bug#134523
git-svn-id: svn://10.0.0.236/trunk@119875 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:25:59 +00:00
relyea%netscape.com
8b5c7835b1 Detect Active Card presents and disable PROTECTED_PIN_PATH login when found.
git-svn-id: svn://10.0.0.236/trunk@119871 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:24:47 +00:00
gerv%gerv.net
b377ae7964 Bug 140145 - GetLongDescriptionAsHTML must die. Patch by gerv, 2xr=bbaetz.
git-svn-id: svn://10.0.0.236/trunk@119869 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:16:03 +00:00
wtc%netscape.com
430098b6dd Deleted code that was made obsolete by the previous revision.
git-svn-id: svn://10.0.0.236/trunk@119868 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:10:09 +00:00
brendan%mozilla.org
887c1af363 Handle wraparound of PRIntervalTime, plus crucial fixes thanks to Ere Maijala <ere@atp.fi> (138791, r=rjesup, sr=waterson).
git-svn-id: svn://10.0.0.236/trunk@119866 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:07:54 +00:00
mkaply%us.ibm.com
951e8e2934 Syncing OS/2 forms.css with recent checkin
bug 139989, Fieldset needs prettier default border, patch by mabus@runbox.no, r=axel@pike.org, sr=ben.


git-svn-id: svn://10.0.0.236/trunk@119865 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:07:02 +00:00
mkaply%us.ibm.com
c853bb4c7a #125076
r=mkaply, sr=blizzard, a=roc+moz
OS/2 only - from Jessica Blanco - different way to allocate printer data to fix crash/hang on some drivers


git-svn-id: svn://10.0.0.236/trunk@119864 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:04:59 +00:00
dougt%netscape.com
8a15383d0a Reduces the chance of losing a known race condition. 139556. r=rpotts@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119863 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:04:27 +00:00
mkaply%us.ibm.com
5b73311b7b #139852
r=mkaply, sr=blizzard, a=roc+moz
OS/2 only - from Javier Pedemonte - implement ConstrainPosition


git-svn-id: svn://10.0.0.236/trunk@119862 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 21:03:12 +00:00
relyea%netscape.com
bc88a1e278 Don't let activeCards set the Protect_Auth bit because they weren't intending to
to begin with.


git-svn-id: svn://10.0.0.236/trunk@119858 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:57:06 +00:00
karnaze%netscape.com
479f972b95 bug 136746 - check for null pointer if a line is empty. sr=waterson, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@119857 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:53:32 +00:00
ian.mcgreer%sun.com
240768dc76 if a cert already exists, use C_SetAttributeValue to change its mutable attributes during import (instead of trying to recreate it)
git-svn-id: svn://10.0.0.236/trunk@119856 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:49:49 +00:00
jaggernaut%netscape.com
0ef0fa25ae Bug 139522: SSL Pages are incorrectly displayed as being not encrypted. r=kaie, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@119854 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:46:09 +00:00
gerv%gerv.net
5b2b627018 Bug 140121 - make sure we keep calling SyncAnyPendingShadowChanges from the footer. Patch by gerv, 2xr=myk.
git-svn-id: svn://10.0.0.236/trunk@119853 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:42:59 +00:00
leaf%mozilla.org
6a763e1c48 Automated update
git-svn-id: svn://10.0.0.236/trunk@119852 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:41:47 +00:00
seawood%netscape.com
aa7863932b Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components

Bug #56601 r=leaf


git-svn-id: svn://10.0.0.236/trunk@119850 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:40:00 +00:00
alecf%netscape.com
fff1fee0a1 band-aid patch for bug 134523, so that embeddors can still download files even if they don't have a progress dialog implementation
sr=blake, r=ccarlen


git-svn-id: svn://10.0.0.236/trunk@119849 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:36:46 +00:00
khanson%netscape.com
fe8d0add83 Reverse of Patch 66477 for bug #121744. Bug #131348, r=shaver, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@119848 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:33:33 +00:00
mscott%netscape.com
7ad17b5981 Bug #134745 --> take a stab at fixing the yellow triangle icon on win98. remove the discarable attribute
on the new mail notification icon.

rs=sspitzer


git-svn-id: svn://10.0.0.236/trunk@119847 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:16:48 +00:00
gerv%gerv.net
716e0c938b Bug 140110 - remove 273 lines of redundant code from CGI.pl. Patch by gerv; 2xr=ddk.
git-svn-id: svn://10.0.0.236/trunk@119846 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 19:43:50 +00:00
gerv%gerv.net
052ea79f56 Remove confusing comment referring make_options, which this CGI no longer calls. No bug number.
git-svn-id: svn://10.0.0.236/trunk@119845 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 19:40:59 +00:00
ian.mcgreer%sun.com
d8db4158aa bug 138626, remove deleted cert from cache even if references still exist
git-svn-id: svn://10.0.0.236/trunk@119844 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 19:37:30 +00:00
ian.mcgreer%sun.com
5e0a1eab3c reorganize token cache so that cache entries for imported objects are created from the token, not from the user-supplied template
git-svn-id: svn://10.0.0.236/trunk@119843 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 19:33:47 +00:00
darin%netscape.com
97db783f62 fixes bug 137692 "This URL create a BLANK screen (instead of 3 frames)"
patch=antonio.xu@sun.com, r=bbaetz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@119842 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 19:31:45 +00:00
bienvenu%netscape.com
4a973636c4 fix handling of download for offline use when imap no select folder is configured for offline use r=naving, sr=sspitzer 133951
git-svn-id: svn://10.0.0.236/trunk@119841 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 19:08:40 +00:00
blizzard%redhat.com
01ec8767b8 Update to the most recent fontconfig and Xft code from the xfree cvs repository. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@119840 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 19:03:37 +00:00
bienvenu%netscape.com
ae13358f73 fix crash deleting news server and adding it back r=naving, sr=sspitzer 80869
git-svn-id: svn://10.0.0.236/trunk@119839 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 19:02:37 +00:00
blizzard%redhat.com
bb7c118f3e Update to freetype 2.1.0. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@119838 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 19:02:24 +00:00
blizzard%redhat.com
3315874a29 Update to freetype 2.1.0 - not part of the build.
git-svn-id: svn://10.0.0.236/trunk@119837 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 18:58:00 +00:00
sspitzer%netscape.com
b67360adf9 fix for #101527. moveTo() of directories leaves subdirectories behind on win2k.
r=dougt, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119836 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 18:56:04 +00:00
relyea%netscape.com
176c5f891d NSS 3.4 has branch, that makes the tip at least NSS 3.5
git-svn-id: svn://10.0.0.236/trunk@119835 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 18:51:45 +00:00
ducarroz%netscape.com
f5b804307c Fix for bug 138619. We must initialize rv before using it!. R=srilatha, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@119834 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 18:50:15 +00:00
smeredith%netscape.com
1c89029a27 Support UTF-8 in pref editor XML file and extended chars in pref editor UI. http://bugscape.netscape.com/show_bug.cgi?id=12978
Fixed Components list should not jump when lower items unchecked. http://bugzilla.mozilla.org/show_bug.cgi?id=84541
Removed some obsolete files.


git-svn-id: svn://10.0.0.236/trunk@119833 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 18:43:33 +00:00
relyea%netscape.com
81f4e81e01 Don't set the Token value before fetching CRL attributes. This code is fetching
attributes from a known CRL, not looking up new attributes (I'm pretty sure that
CVS apropos would show I checked in the previously wrong code).

bob


git-svn-id: svn://10.0.0.236/trunk@119832 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 18:33:45 +00:00
heikki%netscape.com
7695b6b43e Bug 138138, attempting to fix smoketest/topcrasher again. Patch from jst, r=varga@utcru.sk, sr=heikki, a=lpham.
git-svn-id: svn://10.0.0.236/trunk@119831 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 18:18:12 +00:00
gerv%gerv.net
93d75dde6f Bug 139928 - cvs remove templates from template/default directory. These templates now all live in template/en/default, for l10n purposes.
git-svn-id: svn://10.0.0.236/trunk@119830 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 17:22:37 +00:00
peterlubczynski%netscape.com
0d52c94436 Fixing crash with default plugin, r=av, sr=waterson, bug 139529
git-svn-id: svn://10.0.0.236/trunk@119824 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 14:07:46 +00:00
axel%pike.org
e715087165 bug 139989, Fieldset needs prettier default border, patch by mabus@runbox.no, r=me, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@119823 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 12:28:39 +00:00
peterv%netscape.com
f55dfe4eb5 Fix for bug 129006 (Invalid xml crashes mozilla after reload [@nsXMLContentSink::Observe]). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119822 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 11:58:08 +00:00
hyatt%netscape.com
366c506be8 Fix popup positioning when window is scrolled.
git-svn-id: svn://10.0.0.236/trunk@119820 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 09:22:07 +00:00
hyatt%netscape.com
ed59edda78 Add support for smooth text toggling.
git-svn-id: svn://10.0.0.236/trunk@119819 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 08:50:02 +00:00
igor%mir2.org
974c0a6fd0 Links update
git-svn-id: svn://10.0.0.236/trunk@119818 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 06:46:47 +00:00
michael.lowe%bigfoot.com
cc92c1fe83 Order autocomplete completion candidates by time or frequency. bug 78270. author=me, cbsears_sf@yahoo.com, alecf; r=blake; sr=alecf
git-svn-id: svn://10.0.0.236/trunk@119817 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 06:10:42 +00:00
bryner%netscape.com
42331c6020 Backing out the patch for bug 136495 because it caused regression bug 139801.
git-svn-id: svn://10.0.0.236/trunk@119816 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 05:59:02 +00:00
leaf%mozilla.org
5d6c624320 Automated update
git-svn-id: svn://10.0.0.236/trunk@119811 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 03:11:17 +00:00
seawood%netscape.com
e53065a2db Oops. The 'make install' changes were from bug #56601 r=leaf
git-svn-id: svn://10.0.0.236/trunk@119810 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 02:59:07 +00:00
seawood%netscape.com
7e4c3987ab Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components


git-svn-id: svn://10.0.0.236/trunk@119809 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 02:52:44 +00:00
danm%netscape.com
286123ea27 force popup widget to be invisible when the menu is not explicitly open. bug 120155 r=bryner,hyatt a=scc
git-svn-id: svn://10.0.0.236/trunk@119807 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 01:22:13 +00:00
sonja.mirtitsch%sun.com
c27013e6aa trying a version that can test tip as default for tinderbox and 341
as default for nightly QA


git-svn-id: svn://10.0.0.236/trunk@119806 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 01:04:10 +00:00
kestes%walrus.com
eafaf00db5 fixes to make sure that the automated tests work. mostly ignoring files
which are new but do not apply to the test.


git-svn-id: svn://10.0.0.236/trunk@119805 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:57:07 +00:00
kestes%walrus.com
f36f528238 ignore files in the src tree beginning with dot.
git-svn-id: svn://10.0.0.236/trunk@119804 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:56:10 +00:00
kestes%walrus.com
8c94643307 fixes to make it compile.
git-svn-id: svn://10.0.0.236/trunk@119803 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:55:49 +00:00
nhotta%netscape.com
d581af35bc Adding a localization comment to a property file not to translate the strings,
bug 139615, r=rchen.


git-svn-id: svn://10.0.0.236/trunk@119801 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:48:50 +00:00
relyea%netscape.com
6a46ac6264 Don't crash if our cache entry is not found.
git-svn-id: svn://10.0.0.236/trunk@119800 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:45:42 +00:00
kestes%walrus.com
bf23b24529 add get/set functions to access the handlers.
git-svn-id: svn://10.0.0.236/trunk@119799 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:36:46 +00:00
kestes%walrus.com
579a40083f whops forgot a '}', code did not compile.
git-svn-id: svn://10.0.0.236/trunk@119798 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:31:30 +00:00
relyea%netscape.com
db7beae40a Turn off caching for non-hardware tokens for now until we fix some of our
tokens which can be updated out-of-band to use the proper 'removable token'
semantics.


git-svn-id: svn://10.0.0.236/trunk@119797 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:25:58 +00:00
kestes%walrus.com
2b44863703 the sample would not compile.
git-svn-id: svn://10.0.0.236/trunk@119795 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:15:03 +00:00
kestes%walrus.com
c2619603bc add information about perl libraries needed.
git-svn-id: svn://10.0.0.236/trunk@119794 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:14:36 +00:00
kestes%walrus.com
f692caa182 update
git-svn-id: svn://10.0.0.236/trunk@119793 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:14:07 +00:00
kestes%walrus.com
4a07b48703 add support for tinderboxprint strings from build machines. build.pm now keeps most recent
build if the builds are started too quickly but loggs the error.


git-svn-id: svn://10.0.0.236/trunk@119792 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:13:48 +00:00
kestes%walrus.com
8a5d73e163 fixes to allow unit tests to work again (ignore files which are inapplicable to the test)
git-svn-id: svn://10.0.0.236/trunk@119791 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:12:56 +00:00
kestes%walrus.com
d0057a39c3 add data to test TinderboxPrint code.
git-svn-id: svn://10.0.0.236/trunk@119790 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:12:13 +00:00
kestes%walrus.com
c6fe03610d test was time zone dependent, comment it out for now.
git-svn-id: svn://10.0.0.236/trunk@119789 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 00:11:51 +00:00
bryner%netscape.com
542e78295a Tidying up the removal of before/afterselected attributes before we remove a tab (bug 137836). r=pink, sr=blake, thanks to neil@parkwaycc.co.uk for the suggestion.
git-svn-id: svn://10.0.0.236/trunk@119788 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:57:30 +00:00
dmose%netscape.com
df786edb35 Reinstate real_install target so that it will be possible to have an install target for Mozilla that works as expected (bug 138442); patch from Chris Seawood <cls@seawood.org>, r=dmose@netscape.com, mcs@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119786 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:53:23 +00:00
sgehani%netscape.com
b425270838 Turn sidebar personal toolbar icon off till all parties come to a consensus.
b=134345


git-svn-id: svn://10.0.0.236/trunk@119785 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:52:08 +00:00
sgehani%netscape.com
f85d1f10b0 Add ids to be overlaid. Missed file from checkin for bug 134345.
r=morse; sr=hewitt,jag


git-svn-id: svn://10.0.0.236/trunk@119784 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:50:17 +00:00
dmose%netscape.com
828c2c2e4f Repair autoconf confusion due to the disappearance of dirver.c (bug 139917). Autoconf buildsystem changes only; r=seawood@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119783 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:46:34 +00:00
cotter%netscape.com
81791b73db ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; various content updates
git-svn-id: svn://10.0.0.236/trunk@119781 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:37:26 +00:00
khanson%netscape.com
4289421167 fixes memory leak in jsdtoa.c bug 138666, sr=brendan, r=khanson
git-svn-id: svn://10.0.0.236/trunk@119780 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:36:48 +00:00
kestes%walrus.com
b6147437be let tinderbox handle the new TinderboxPrint keyword in the log files.
git-svn-id: svn://10.0.0.236/trunk@119779 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:25:34 +00:00
kestes%walrus.com
e3e6357a9f add better more detailed error messages when bonsai fails.
git-svn-id: svn://10.0.0.236/trunk@119778 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:24:42 +00:00
rjesup%wgate.com
b4eaecfd4e Bug 137903: duplicate call in nsImageGTK (cruft). r=bzbarsky, sr=tor
git-svn-id: svn://10.0.0.236/trunk@119769 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 22:54:07 +00:00
relyea%netscape.com
9cc9d97ae5 Don't crash if we don't find the profile (and thus don't have a slot to free).
git-svn-id: svn://10.0.0.236/trunk@119767 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 22:23:37 +00:00
gerv%gerv.net
fb91a9cc16 Bug 137183 - tab names should be in the template not in the .cgi. Patch by gerv; r=afranke, myk.
git-svn-id: svn://10.0.0.236/trunk@119766 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 22:21:59 +00:00
despotdaemon%netscape.com
6a99476e1f Pseudo-automatic update of changes made by kairo@kairo.at.
git-svn-id: svn://10.0.0.236/trunk@119764 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 22:12:36 +00:00
sicking%bigfoot.com
eb7bf64d29 bug 137399: Make removeAttribute work again for html-elements not in main doc-tree
r=glazou sr=jst


git-svn-id: svn://10.0.0.236/trunk@119763 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 22:08:05 +00:00
myk%mozilla.org
c6100ac9e8 Fix for bug 126571: prevents display of messages to end-users about parameters being removed when an installation upgrades to a later
version of Bugzilla from which some parameters have been removed.
Patch by Myk Melez <myk@mozilla.org>
2xr=gerv


git-svn-id: svn://10.0.0.236/trunk@119758 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:44:20 +00:00
despotdaemon%netscape.com
018b58ffa3 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@119757 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:43:42 +00:00
gerv%gerv.net
5e35cdb923 Bug 138456 - use proper error functions in DBNameToIdAndCheck. Patch by gerv; 2xr=myk.
git-svn-id: svn://10.0.0.236/trunk@119756 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:41:51 +00:00
jgaunt%netscape.com
861c2e54d1 bug 139621 get accessiblity in the mac & unxi installer stub
r=dprice
sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@119755 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:40:17 +00:00
sspitzer%netscape.com
5afbc63010 strdup() not defined on the mac, using PL_strdup() instead. fix bustage for bienvenu.
git-svn-id: svn://10.0.0.236/trunk@119754 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:40:10 +00:00
jgaunt%netscape.com
98a3b57816 bug 139621 accessiblilty libs not included when installing using the stub
r=dprice
sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@119753 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:38:54 +00:00
igor%mir2.org
cd67667f6d I replaced Vector by ObjArray when it was used from the single thread and similarly replaced Hashatble by ObjToIntMap when it was used from the single thread to mark keys presence ignoring values. It avoids unnecessary synchronization and save memory. To simplify the replacement I added to ObjArray and ObjToIntMap few utility methods.
git-svn-id: svn://10.0.0.236/trunk@119752 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:37:36 +00:00
rbs%maths.uq.edu.au
ef26560b34 MathML entries are missing in embedding packages, b=137029, r=adamlock, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@119751 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:32:26 +00:00
varga%utcru.sk
c53105d2ae Landing Neil's fix for bug 132682 - Twisties aren't clickable in History Sidebar
r=varga, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119749 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:30:16 +00:00
myk%mozilla.org
f3dc61d411 Fix for bug 139632: connect to the database in enter_bug.cgi in case it is time to rebuild the version cache, which needs a database
connection.
Patch by Myk Melez <myk@mozilla.org>.
2xr=gerv


git-svn-id: svn://10.0.0.236/trunk@119748 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:28:36 +00:00
rbs%maths.uq.edu.au
a4745763f3 MathML entries are missing in embedding packages, b=137029, r=adamlock, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@119747 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:27:39 +00:00
shanjian%netscape.com
7119419d47 #132006 Traditional Chinese is detected as Simplified Chinese
This is an addition patch to deal with gb18030 broadness. If there are
only 2 verifiers left, and one of them is gb18030, we drop gb18030
and return the other one.
r=ftang, sr=scc


git-svn-id: svn://10.0.0.236/trunk@119746 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 21:22:07 +00:00
kestes%walrus.com
f2fdc668c4 I introduced a bug into slamm's code.
fix it.


git-svn-id: svn://10.0.0.236/trunk@119741 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:57:23 +00:00
bienvenu%netscape.com
d9be23b405 fix 136805 broken mdn receipts when msg subject has non-ascii characters fix by jeff tsai, r=ducarroz, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@119740 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:45:53 +00:00
ian%hixie.ch
39482f1bf4 If the app name is the same as the page name, only display it once in the page title
git-svn-id: svn://10.0.0.236/trunk@119739 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:31:53 +00:00
brade%netscape.com
4cc00d3935 don't allow extra ftp commands to be executed (bug 139202); r=bbaetz, mstoltz; sr=alecf, darin
git-svn-id: svn://10.0.0.236/trunk@119738 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:26:05 +00:00
bnesse%netscape.com
ba13d66177 Damn CVS... recomitting as "AppleSingle".
git-svn-id: svn://10.0.0.236/trunk@119736 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:19:32 +00:00
bienvenu%netscape.com
314c6db837 fix reading unread message in sent folder that had an mdn request not to prompt for return receipt, fix by jeff tsai, r=bienvenu, sr=sspitzer 138054
git-svn-id: svn://10.0.0.236/trunk@119735 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:16:23 +00:00
bnesse%netscape.com
775e384aff Fix for bug 135474. Add additional mimetype strings for better compatibility. r=sdagley, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@119734 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:12:02 +00:00
bnesse%netscape.com
67736c9f32 Fixes for bug 125278 and bug 138606. Do not force plugin draw when already drawing and fix backwards compatibility issues to Netscape 6.x. r=sdagley, sr=beard on both patches.
git-svn-id: svn://10.0.0.236/trunk@119733 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:09:21 +00:00
gerv%gerv.net
ad4fba12a7 Bug 125066 - remove the need to set a milestone on accept for products with just one milestone. Patch by zeroj; r=justdave, gerv.
git-svn-id: svn://10.0.0.236/trunk@119732 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:07:57 +00:00
bienvenu%netscape.com
7bafb89bbb fix error/crash replying to a message in a folder with a comma in the name r=ducarroz, sr=sspitzer 133861
git-svn-id: svn://10.0.0.236/trunk@119731 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:03:44 +00:00
ian%hixie.ch
c840d6561b Move from COSES to TemplateToolkit
git-svn-id: svn://10.0.0.236/trunk@119730 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 20:02:34 +00:00
shanjian%netscape.com
721b45da33 #92806 need to support GB18030 in universal detector
replace gb18030 state machine with the new one, which has been tested in
PSM detector.
r=ftang, sr=scc


git-svn-id: svn://10.0.0.236/trunk@119729 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 19:57:02 +00:00
shanjian%netscape.com
135c181962 #92806 need to support GB18030 in universal detector
replace state machine for gb18030 with the new one, which has been tested
in PSM detector.
r=ftang, sr=scc,


git-svn-id: svn://10.0.0.236/trunk@119728 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 19:54:58 +00:00
ian.mcgreer%sun.com
ac0f699149 This is a real corner case. If a search is done by issuer/serial, and the returned cert was in the cache, need to see if the cert's slot was removed. If so, destroy the cert and retry the search on the present tokens.
git-svn-id: svn://10.0.0.236/trunk@119727 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 19:39:41 +00:00
blizzard%redhat.com
21c1fd2be6 Bug #81779. Mozilla crashes if you higlight and repeatedly drag text. Return if the source data items aren't available. r=rjesup,sr=shaver
git-svn-id: svn://10.0.0.236/trunk@119726 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 19:11:59 +00:00
dcone%netscape.com
cc5a4b9700 bug=102321 Speed up the background tiling r=kmcclusky a=attinasi. Forgot to put in one small
change.  TileMin goes from 4 to 8


git-svn-id: svn://10.0.0.236/trunk@119725 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:59:02 +00:00
relyea%netscape.com
748ddfbe78 Don't crash when getting a single user cert, but old certs are in the database
with the same subject, but no keys.


git-svn-id: svn://10.0.0.236/trunk@119724 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:29:04 +00:00
gerv%gerv.net
f57c616c0a Bug 136180 - use uri/url_quote filters correctly. Patch by ddk; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@119723 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:27:43 +00:00
relyea%netscape.com
3d3e22dba5 Look up both DER encoded serial numbers (PKCS #11 spec), and decode serial
numbers (Old NSS) when looking up certs by issuer and SN.


git-svn-id: svn://10.0.0.236/trunk@119722 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:27:17 +00:00
relyea%netscape.com
88854adbcd Authenticate to tokens before looking up user certs.
git-svn-id: svn://10.0.0.236/trunk@119720 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:25:48 +00:00
alecf%netscape.com
9a9e5e8f39 update the window datasource for bug 132175:
- implement the datasource with an inner
- add gRefCnt to properly refcnt RDF resources
- add a new nsIWindowDataSource interface to supplant getWindowForResource
- copy over KeyIndex logic
- bring over some code to handle the "intaskslist" attribute on the window

not part of build


git-svn-id: svn://10.0.0.236/trunk@119719 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:19:02 +00:00
gerv%gerv.net
e10f7f05fb Bug 139800 - remove errant references to index.html. Patch by ddk, 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@119718 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:11:00 +00:00
leaf%mozilla.org
eb72845ed7 destination directory should be allowed to have "+" characters, fixes part
of bug 56601, r=cls


git-svn-id: svn://10.0.0.236/trunk@119717 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:08:47 +00:00
gerv%gerv.net
47a38db4f5 Bug 139787 - more template name fixes to stop tree burning. Patch by ddk, 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@119716 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:07:15 +00:00
timeless%mac.com
b2852fe816 Bug 139647 ###!!! ASSERTION: getElementById(""), fix caller?: '!aId.IsEmpty()'
r=neil@parkwaycc.co.uk sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119715 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:06:00 +00:00
mcs%netscape.com
638da2e24c Fix bug # 138545 - more flexibility needed for pre-built components
location. Introduced component specific RELEASE_TREE macros, e.g.,
NSPR_RELEASE_TREE.


git-svn-id: svn://10.0.0.236/trunk@119712 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 15:08:06 +00:00
rods%netscape.com
02eac7b853 printing properties must be moved to global jar
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman


git-svn-id: svn://10.0.0.236/trunk@119709 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 13:15:13 +00:00
michael.lowe%bigfoot.com
e748cbf3b4 backout last checkin
git-svn-id: svn://10.0.0.236/trunk@119705 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 11:55:00 +00:00
michael.lowe%bigfoot.com
b5823d76fd Order autocomplete completion candidates by time or frequency. bug 78270. author=me, cbsears_sf@yahoo.com, alecf; r=blake; sr=alecf
git-svn-id: svn://10.0.0.236/trunk@119704 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 11:12:45 +00:00
rods%netscape.com
5ed1f833ab Fixing viewer so it can print again.
git-svn-id: svn://10.0.0.236/trunk@119703 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 11:00:39 +00:00
justdave%syndicomm.com
5e27b4391b Fix tinderbox bustage caused by the template location code change. The tests are now looking in the right place for the
templates.  4 templates in the new location now come up with syntax errors however.


git-svn-id: svn://10.0.0.236/trunk@119701 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 09:50:53 +00:00
bryner%netscape.com
cad03cc1f6 Fix for shift-tabbing out of the document into the URL bar (the tab-from-caret code was getting confused in this case). Bug 136495, r=aaronl, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@119700 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 09:11:50 +00:00
igor%mir2.org
4322887b08 Initial version
git-svn-id: svn://10.0.0.236/trunk@119699 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 07:44:52 +00:00
hyatt%netscape.com
85947c113e Make popups position properly.
git-svn-id: svn://10.0.0.236/trunk@119698 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 07:32:49 +00:00
gerv%gerv.net
7f0405a062 Adding .cvsignore file so we ignore "custom" directory and ".htaccess" file.
git-svn-id: svn://10.0.0.236/trunk@119697 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 07:29:49 +00:00
gerv%gerv.net
bf209bace0 Bug 138588 - missed a DisplayError -> ThrowTemplateError change.
git-svn-id: svn://10.0.0.236/trunk@119696 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 07:28:11 +00:00
gerv%gerv.net
c8a771fb68 Bug 138588 - change to use new template structure. Patch by gerv, r=myk, afranke.
git-svn-id: svn://10.0.0.236/trunk@119695 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 07:24:50 +00:00
pete.zha%sun.com
3675c24e79 bug 92491:press letters to select item in XUL menu, menulist
r=aaronl sr=hyatt
Check in for Kyle Yuan's(kyle.yuan@sun.com) fix


git-svn-id: svn://10.0.0.236/trunk@119694 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 07:15:35 +00:00
pete.zha%sun.com
0087cabe3e bug 127993:selected theme doesnot have one checked flag
r=bryner sr=blake
Check in for Jerry Tan(jerry.tan@sun.com)'s fix


git-svn-id: svn://10.0.0.236/trunk@119693 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 06:52:30 +00:00
cotter%netscape.com
dd148324cd ongoing help content updates per bugzilla 122806 & AADT, r=oeschger; misc. security updates, help on help
git-svn-id: svn://10.0.0.236/trunk@119688 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 05:52:05 +00:00
mkaply%us.ibm.com
c2e4faa7c6 #139219
r=pedemont, sr=blizzard
OS/2 only - handle zorder event


git-svn-id: svn://10.0.0.236/trunk@119686 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 04:15:37 +00:00
mkaply%us.ibm.com
be118d12f8 #138728
r=pedemont, sr=blizzard
OS/2 only - convert filter names to platform specific charset


git-svn-id: svn://10.0.0.236/trunk@119685 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 04:13:38 +00:00
mkaply%us.ibm.com
ceb24332dc #67749
r=cls
OS/2 only - add OS/2 specific forms.css


git-svn-id: svn://10.0.0.236/trunk@119684 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 04:08:37 +00:00
mkaply%us.ibm.com
9518b8280d #124164
r=pedemont, sr=blizzard
OS/2 only - get rid of OS/2 specific setting of form fonts


git-svn-id: svn://10.0.0.236/trunk@119683 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 04:03:49 +00:00
kestes%walrus.com
cd991b2f73 remove test crud which got in by mistake. there is no PID file for the
tinderbox server.


git-svn-id: svn://10.0.0.236/trunk@119682 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 04:00:40 +00:00
kestes%walrus.com
6e7c87ba60 update.
git-svn-id: svn://10.0.0.236/trunk@119681 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:59:15 +00:00
jst%netscape.com
502ecb6fc3 Checking in ducarroz@netscape.com's cleanup for bug 138663. r=bzbarsky@mit.edu, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119680 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:56:40 +00:00
mkaply%us.ibm.com
4228cbe2e5 #124164
r=mkaply, sr=attinasi
OS/2 only - we suppor the new leading API


git-svn-id: svn://10.0.0.236/trunk@119679 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:56:07 +00:00
mkaply%us.ibm.com
963246a6eb #124164
r=mkaply, sr=blizzard, a=shaver
OS/2 only - code from Javier Pedemonte to properly set font heights


git-svn-id: svn://10.0.0.236/trunk@119678 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:55:18 +00:00
mkaply%us.ibm.com
332ad4c46b #100676
r=pedemont,cls (makefile), sr=alecf, a=shaver
OS/2 only - remove dependency on uconv for filename conversions


git-svn-id: svn://10.0.0.236/trunk@119677 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:47:06 +00:00
bryner%netscape.com
5dca2cecef Whitespace-only change to note that previous checkin was for bug 137836.
git-svn-id: svn://10.0.0.236/trunk@119676 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:36:09 +00:00
bryner%netscape.com
85821f9baf Make sure not to focus the urlbar on window open if the navigation toolbar is hidden. Bug 88239, r=sgehani, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@119675 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:34:58 +00:00
bryner%netscape.com
88047b33fd Clean up beforeselected and afterselected attributes when tabs are removed, this fixes a drawing glitch due to CSS rules matching when they shouldn't. r=ben, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@119674 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:33:25 +00:00
kestes%walrus.com
351fa6e3a3 allow the check of syncronized times to be user parametrizable.
git-svn-id: svn://10.0.0.236/trunk@119673 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:27:35 +00:00
kestes%walrus.com
c9a0f11857 new configure script thanks to Stephen Lamm (slamm@yahoo-inc.com).
git-svn-id: svn://10.0.0.236/trunk@119672 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:26:09 +00:00
kestes%walrus.com
c605d37992 add information about using cgiwrap.
fix typo in location of tinder.cgi.


git-svn-id: svn://10.0.0.236/trunk@119671 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:23:12 +00:00
kestes%walrus.com
08e842ae02 the temp data file for passing BT data now must be called BT_Generic the same as the
official class name.  This was changed from BT, to allow the class to use enheritance
from the TextDB base class.


git-svn-id: svn://10.0.0.236/trunk@119670 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:20:34 +00:00
kestes%walrus.com
4ce39e0274 allow each column to be included multiple times. This is mostly to allow the time column
to appear on the left and right side of the table but may eventually be used to have
two columns which get data from different sources.  Mostly this fix was to move
 the registration of each column (push the results of new()'ing each module onto a list)
from being the responsibility of the module at require time to being the respoinsibility
of the TinderDB class.


git-svn-id: svn://10.0.0.236/trunk@119669 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 03:19:05 +00:00
sgehani%netscape.com
83d09fbd59 Unhork update notifications by fixing the pref call for the localized
datasource pref.
b=139355; r=bryner; sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119668 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 02:42:08 +00:00
sgehani%netscape.com
da07d21bfd Improve sidebar discoverability.
b=134345; r=morse; sr=jag


git-svn-id: svn://10.0.0.236/trunk@119667 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 02:20:40 +00:00
hyatt%netscape.com
4e0a20f470 Fix for 139574, wrong user agent specifics on mach-o builds. r=bryner, sr=darin
git-svn-id: svn://10.0.0.236/trunk@119666 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:55:53 +00:00
hyatt%netscape.com
e0690fa950 Lowering Cocoa mouse wheel num lines. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119665 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:52:38 +00:00
kaie%netscape.com
e526af6b60 b=129067 Deleted certs still appear in Cert Manager, uses slow workaround, which should get removed once bug 138626 is fixed.
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119664 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:51:33 +00:00
kaie%netscape.com
00fd78d437 b=134992 Fix crash when displaying some S/Mime messages.
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119662 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:40:49 +00:00
kaie%netscape.com
2d7ad41f06 b=139349 Need to use dont_AddRef with GetCertAtIndex
r=bryner sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119661 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:35:05 +00:00
jst%netscape.com
aea34406c2 Fixing regression bug 138663. Cached mail compose windows open up blank. r=harishd@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119660 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:33:56 +00:00
waldemar%netscape.com
ee0339f94f Added more definition semantics. Removed instance member indirection. Removed indexable flag.
git-svn-id: svn://10.0.0.236/trunk@119659 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:30:48 +00:00
rods%netscape.com
eb2270a88c making sure end_document can be called correctly without crashing
several safety checks
Bug 139369  r=dcone,roland sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119658 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:30:24 +00:00
mcs%netscape.com
2fe4ecc1c7 Fix bug # 139535 - ldapsearch: filter patterns that contain %* cause crash.
Avoid calling sprintf() if there is no valid filter pattern.
Also eliminated a few Linux compiler warnings.


git-svn-id: svn://10.0.0.236/trunk@119657 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:30:20 +00:00
waldemar%netscape.com
1995ad529b Added support for optional fields
git-svn-id: svn://10.0.0.236/trunk@119656 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:30:02 +00:00
waldemar%netscape.com
2b2c426593 Added support for optional fields. Removed requirement that free variables be constants.
git-svn-id: svn://10.0.0.236/trunk@119655 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:29:40 +00:00
rods%netscape.com
cf98beaa54 mOrigDCScale needs to come from the previous PrintData object or it will continue to get smaller
Bug 139459  r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119654 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:26:54 +00:00
smontagu%netscape.com
1842f89e61 ArabicShaping() shouldn't assume that the input and output is in visual order. Bug 137871. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119653 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:26:49 +00:00
kaie%netscape.com
f46cc896e6 b=139325 Leaking CERTCertificate references from nsNSSCertificate::GetChain
r=bryner/javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119652 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:15:12 +00:00
law%netscape.com
05330ea544 Bug 134754; add scriptiable API to get Win32 registry value; r=sgehani, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@119651 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:14:18 +00:00
law%netscape.com
b08cd22fee Bug 116938; make sure temp file has extension matching content type and block ::ShellExecute of executable files; r=bzbarsky, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@119650 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:09:52 +00:00
dougt%netscape.com
f3bfcc05e3 Fix for 139512. GPF During Installation in Regxpcom during install. patch by jband, r=dougt, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@119649 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:55:49 +00:00
smontagu%netscape.com
7376d9fd95 Correct handling of zero-width joiners and non-joiners. Bug 110497. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119648 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:50:17 +00:00
dcone%netscape.com
5fba051a0c bug=102321 Speed up the background tiling r=kmcclusky sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119647 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:48:56 +00:00
thayes%netscape.com
684371ee8f Reserved Netscape extension (NETSCAPE 1 18)
git-svn-id: svn://10.0.0.236/trunk@119646 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:48:20 +00:00
law%netscape.com
39c065826c Bug 136188; add support for WWW_GetWindowInfo DDE topic; r=John Weilander (support@kaylon.com); sr=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@119645 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:48:00 +00:00
smontagu%netscape.com
c0b0bc0ee7 Move HandleNumbers() from nsBidiPresUtils to nsBidiUtils. Bug 137857. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119644 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:29:18 +00:00
gerv%gerv.net
3df0cfe825 Bug 138582 - convert all INCLUDEs to PROCESS. Patch by gerv, r=bbaetz, afranke.
git-svn-id: svn://10.0.0.236/trunk@119643 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:27:55 +00:00
tor%cs.brown.edu
29d05986a2 Bug 137685 - gamma correction causing black backgrounds in embedding.
r=brendan, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@119642 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:21:25 +00:00
igor%mir2.org
ccaa4ae84c Serialization change: implement only Serializable with custom readObject/writeObject instead of Externalizable not to invent own versioning support.
git-svn-id: svn://10.0.0.236/trunk@119638 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 22:39:25 +00:00
hyatt%netscape.com
733e1ffb6f Optimization to make resizing with many tabs open fast.
git-svn-id: svn://10.0.0.236/trunk@119635 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 22:23:57 +00:00
myk%mozilla.org
fabccc7d40 Fix for bug 124587: Lock bugs table before inserting new bug.
Patch by Myk Melez <myk@mozilla.org>
r=bbaetz,justdave


git-svn-id: svn://10.0.0.236/trunk@119634 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 21:33:46 +00:00
mostafah%oeone.com
4a14f5fc8d Replaced property for exception dates with EXDATE
git-svn-id: svn://10.0.0.236/trunk@119624 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 20:18:51 +00:00
mostafah%oeone.com
47e22a8032 Updating to recent code in libical CVS dated (Apr-23-2002) which fixes missing icalproperty_get_exdate() function
git-svn-id: svn://10.0.0.236/trunk@119623 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 19:36:20 +00:00
ian.mcgreer%sun.com
57c0f959ce fix shutdown leaks
git-svn-id: svn://10.0.0.236/trunk@119622 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 17:22:13 +00:00
hwaara%chello.se
7b05d20c66 #138852, removing last living parts of viewmanager2.
r=kmcclusk, sr=jst


git-svn-id: svn://10.0.0.236/trunk@119621 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:53:44 +00:00
caillon%returnzero.com
729453af15 Removing JavaScript strict warnings.
Patches by walk84@yahoo.com, r=caillon, sr=shaver
Fixes bug 60659, bug 132956


git-svn-id: svn://10.0.0.236/trunk@119620 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:48:45 +00:00
brade%netscape.com
c30dc5cfd8 (checkin for ccarlen) Bug 136311 - Can't install on 8.6 because MSL is using functions not available there. Set the compile flags so we don't use HFS. r=brade/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@119619 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:30:24 +00:00
brade%netscape.com
9adccb77d8 checkin fix for installer on 8.5 and 8.6 for ccarlen (r=brade, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@119618 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:28:29 +00:00
pinkerton%netscape.com
cb63268bc0 add first stage of dragging images. advertise os-native image format to other applications. r=ccarlen/sr=alecf. bug# 138049
git-svn-id: svn://10.0.0.236/trunk@119617 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:24:48 +00:00
pinkerton%netscape.com
c3e6483203 delay mediator hookup to later in reflow to catch some other outliners. r=sdagley/sr=ben. bug# 139263
git-svn-id: svn://10.0.0.236/trunk@119616 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:20:42 +00:00
brade%netscape.com
d64c312ce7 remove FontManager (moved to gfxComponent.xml) so it can be weak linked (bug 138495); r=ccarlen, pinkerton, sr=sfraser, a=rjesup, adt=putterman
git-svn-id: svn://10.0.0.236/trunk@119615 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:14:37 +00:00
brade%netscape.com
b01917450e add fontmanager library (bug 138495) r=ccarlen, pinkerton, sr=sfraser, a=rjesup, adt=putterman
git-svn-id: svn://10.0.0.236/trunk@119614 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:14:30 +00:00
seawood%netscape.com
69415e6ded Remove high performance timers from OS/2 and revert to default millisecond timer.
Thanks to Michael Kaply <mkaply@us.ibm.com> for the patch.
Bug #136958 r=cls


git-svn-id: svn://10.0.0.236/trunk@119613 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:11:31 +00:00
mostafah%oeone.com
fc73047310 Fixed bug 137987: Calendar breaks build when compiled static
git-svn-id: svn://10.0.0.236/trunk@119612 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 14:06:11 +00:00
locka%iol.ie
1414060818 Add missing nssckbi library to embedding packages. b=134034 r=kaie@netscape.com sr=rpotts@netscape.com a=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119609 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 12:51:09 +00:00
peterv%netscape.com
38c4cddccd Forgot to make this minor change that jst requested to my fix for bug 135895 (XHTML <style> element not working).
git-svn-id: svn://10.0.0.236/trunk@119608 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 12:44:30 +00:00
rods%netscape.com
f5d5b87dc0 Make the UI scrollbars now scale in PrintPreview. We are having to do all this rather bizarre
stuff because the scrollbars in the document share all the same code and style contexts of the UI scrollbars
Bug 120616 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119606 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 12:05:43 +00:00
varga%utcru.sk
7ce1dc8280 Fix for 135764 - mozilla crashes in DOM Inspector - Trunk [@ nsTreeBodyFrame::SetBounds]
r=bryner, sr=ben


git-svn-id: svn://10.0.0.236/trunk@119605 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 10:36:23 +00:00
darin%netscape.com
ce5a8fbe08 fixes bug 138754 "http pipelining related assertions" r=gagan sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@119604 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 07:30:28 +00:00
seawood%netscape.com
18248a8c6e Use debug() instead of dump() so that js component registration output only shows up in debug builds.
Bug #138726 r=rginda sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119603 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 07:30:11 +00:00
dprice%netscape.com
c662b56b44 130428 r=syd sr=dveditz
xpi's triggered with query strings now work on win32


git-svn-id: svn://10.0.0.236/trunk@119601 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 04:24:05 +00:00
pinkerton%netscape.com
e985f256da Beginnings of dnd support.
git-svn-id: svn://10.0.0.236/trunk@119599 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 03:57:09 +00:00
pinkerton%netscape.com
6c50bd5e82 infrastructure to handle dragdrop. Not part of build
git-svn-id: svn://10.0.0.236/trunk@119598 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 03:55:19 +00:00
dougt%netscape.com
dd8e7742e1 PAC instantiation hangs Regxpcom Solaris nightly build packaging process. Fixing timer logic. Patch by Kenneth Herron. r=dougt@netscape.com, sr=brendan@mozilla.org, b=106009
git-svn-id: svn://10.0.0.236/trunk@119597 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 03:15:52 +00:00
bzbarsky%mit.edu
a8131904c6 Make disabled checked radio/checkbox elements have a visible mark. Make
other disabled controls look more clearly disabled.

Bug 138737, r=neil@parkwaycc.co.uk,jkeiser.  sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119596 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 02:40:44 +00:00
morse%netscape.com
0e610581b4 bug 132641, -killAll to shutdown everything, r=law, sr=jag
git-svn-id: svn://10.0.0.236/trunk@119595 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 02:34:30 +00:00
morse%netscape.com
04806e63c3 bug 132641, -killAll to shutdown everything, r=law, sr=jag
git-svn-id: svn://10.0.0.236/trunk@119594 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 02:23:56 +00:00
nhotta%netscape.com
0e70e5b59f Changed to use a different util function which does not call the converter repeatedly in a loop
in order to workaround the converter problem (bug 138578),
bug 120728, r=ducarroz, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@119593 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 02:20:17 +00:00
nhotta%netscape.com
fdbbbfeb1d Added out argument for NS_MsgStripRE to avoid altering the const argument,
bug 131983, r=ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@119592 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 02:18:19 +00:00
naving%netscape.com
57c51fd6b8 138217 r=cavin sr=bienvenu. Make folders of an acct in one profile do not show up for the same acct in another
profile in turbo mode. Clear the subfolders array when we are forcing shutdown of rootFolder and all its children.


git-svn-id: svn://10.0.0.236/trunk@119590 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 02:14:36 +00:00
mscott%netscape.com
6025d7237c Bug #133580 --> make image/tiff attachments show up as external attachments
instead of acting non-existent in the message.
r=ducarroz
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119588 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 01:14:47 +00:00
suresh%netscape.com
c5283bdb7c fix for 138231. Select a tab if the last selected one is not ``in view''. r=suresh, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@119587 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 01:06:34 +00:00
morse%netscape.com
0e645dfb8e bug 123633, save prefs when closing last window, r=sgehani, sr=jag
git-svn-id: svn://10.0.0.236/trunk@119585 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 00:50:24 +00:00
timeless%mac.com
d016d768cb Bug 134853 Bookmark groups displayed as folders within personal toolbar
patch by neil@parkwaycc.co.uk r=ben sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119583 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 00:38:55 +00:00
cmanske%netscape.com
88f52690ec Fixed publish error message bug 138040, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@119582 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 00:15:46 +00:00
bzbarsky%mit.edu
fe03bdce6c Fix parsing of content-types with options (bug 138639). r=bbaetz, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@119578 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:55:30 +00:00
jst%netscape.com
4b957f7a30 Fixing bugs 138138 and 138663. Making boxobjects clear their presentation related data when a XUL document is hidden. r=jkeiser@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119576 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:48:14 +00:00
cmanske%netscape.com
03186d78d9 Fixed date/time format bug 132699 (fix mostly by nhotta), r=cmanske/nhotta, sr=kin
git-svn-id: svn://10.0.0.236/trunk@119575 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:37:28 +00:00
morse%netscape.com
92b1580dda bug 138918, fix regression caused by menu restructuring, r=sgehani, sr=jag
git-svn-id: svn://10.0.0.236/trunk@119574 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:37:00 +00:00
morse%netscape.com
f3d32299ea bug 135568, make task menu consistent with spec, r=sgehani, sr=jag
git-svn-id: svn://10.0.0.236/trunk@119573 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:30:34 +00:00
morse%netscape.com
6987756544 bug 136972, change definition of p3p high mode, r=sgehani, sr=jag
git-svn-id: svn://10.0.0.236/trunk@119572 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:23:41 +00:00
ducarroz%netscape.com
66e6957a63 FIx for bugscape bug 11669. Add preference to turn off plugin access in mail. R=mscott, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@119571 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:16:17 +00:00
jst%netscape.com
856750ef5c Fixing printing crash bug 127891. Make the destruction of printing related frames not hide iframe's document viewers. r=rods@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119570 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:12:18 +00:00
naving%netscape.com
20f9c744c4 138828 r/sr=bienvenu. Made it so that customHeaders can be removed from the UI. The fix is to clearUserPref "mailnews.customHeaders" when all headers are removed.
git-svn-id: svn://10.0.0.236/trunk@119569 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:07:33 +00:00
kaie%netscape.com
58208ef2e4 b=125607 Temporary workaround for better displaying signed S/Mime messages w/ attachments from IMAP servers.
r=ducarroz sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119568 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:02:29 +00:00
smontagu%netscape.com
5aa7fbae23 Prevent crash caused by trigger-happy deletion of frames during Bidi resolution. Bug 95228, r=lkemmel@il.ibm.com, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@119567 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 22:55:19 +00:00
caillon%returnzero.com
26cd35aec4 Bug 138604, make the bugzilla sidebar use valid XUL plus some template cleanup. r=bbaetz,gerv
git-svn-id: svn://10.0.0.236/trunk@119566 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 22:33:00 +00:00
gerv%gerv.net
1e0187b749 Bug 139051 - fix misspelling of "privilege". Patch by mental <xor@ivwnet.com>, 2xr=bbaetz.
git-svn-id: svn://10.0.0.236/trunk@119564 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 21:09:19 +00:00
igor%mir2.org
d46b041bb0 Updating the debugger to reflect changes in Rhino debug API.
git-svn-id: svn://10.0.0.236/trunk@119562 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 20:47:51 +00:00
igor%mir2.org
c2e4714c61 Debugger interface changes:
1. Replacing omj.debug.Debugger.enterFrame() by omj.debug.Debugger.getFrame() and omj.debug.DebugFrame.onEnter() to allow to return null from omj.debug.Debugger.getFrame to enable full optimization with debugger set if it is not interested in monitoring a particular frame

2. Changing type for the source argument in omj.debug.Debugger.handleCompilationDone from StringBuffer to String as Debugger instances should not be able to modify source even by chance.


git-svn-id: svn://10.0.0.236/trunk@119561 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 20:46:43 +00:00
ian.mcgreer%sun.com
5ec26e1000 avoid use of iterator
git-svn-id: svn://10.0.0.236/trunk@119560 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 20:44:07 +00:00
ian.mcgreer%sun.com
d2b3f9f435 NewTemp has to be matched with AddTempCertToPerm
git-svn-id: svn://10.0.0.236/trunk@119558 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 20:27:52 +00:00
relyea%netscape.com
034136c5db Token and cert processing fixes:
1) use NewTempCert rather than DERDecode cert in all import cert cases.
When DERDecode cert is used, we may wind up with a cert that gets cleared
when we try to import it because it already in the cache. NewTempCert will
return the version that is in the cache.
   2) If we are returning the CAList, only return certs that are CA's
(not usercerts).
   3) Authenticate to all the tokens if necessary before we try to list
certs. (Stan code should eventually get automatic authentication calls in
the code itself).
   4) When looking up user certs, don't return those certs with the same
subject, but do not have any key material associated with them (that is
don't crash if we have old certs in our database without nicknames, but
match user certs on our smart cards).
   5) Save the nickname associated with our subject list in the temp
cache so we can correctly remove the entry even if the cert's nickname
changes (because of smart card insertions and removals, or because of
creation and deletions of our user cert).


git-svn-id: svn://10.0.0.236/trunk@119557 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 19:09:01 +00:00
ian.mcgreer%sun.com
eb543c80f2 file is no longer part of build (functionality in devtoken.c)
git-svn-id: svn://10.0.0.236/trunk@119554 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 18:28:30 +00:00
dp%netscape.com
a19134e7ef best shot at a rules file.
git-svn-id: svn://10.0.0.236/trunk@119553 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 18:15:15 +00:00
mcs%netscape.com
2755fc9aff Fix bug # 138627 - mktemp() warnings when building ldapsearch.exe.
Use _mktemp() on Windows.
Remove a couple of unused local variables.


git-svn-id: svn://10.0.0.236/trunk@119552 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 17:42:22 +00:00
mcs%netscape.com
ce6dabf851 Fix bug # 136910 - ldap build bustage on QNX.
git-svn-id: svn://10.0.0.236/trunk@119551 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 17:24:19 +00:00
mcs%netscape.com
f8a28b293f Fix bug # 138612 - should use gethostbyname_r() on Linux.
git-svn-id: svn://10.0.0.236/trunk@119549 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 16:57:50 +00:00
ian.mcgreer%sun.com
88ac348c0d overwrite old entry during import, so that changing trust works correctly
git-svn-id: svn://10.0.0.236/trunk@119547 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 15:21:06 +00:00
ian.mcgreer%sun.com
9d553c9294 fix bugs in cert import with smart card cache
git-svn-id: svn://10.0.0.236/trunk@119546 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 14:14:44 +00:00
alecf%netscape.com
549fd3c05e remove convertISupportsToDOMWindow in order to clean up nsIWindowMediator
bug 138299 (preparation for bug 132175)


git-svn-id: svn://10.0.0.236/trunk@119543 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 14:02:48 +00:00
alecf%netscape.com
d7122f52da add window mediator listener functionality for bug 132175
(not part of build)


git-svn-id: svn://10.0.0.236/trunk@119542 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 14:00:24 +00:00
alecf%netscape.com
e0332d9c02 add skeleton window data source to pull out RDF dependency from appshell
not part of build


git-svn-id: svn://10.0.0.236/trunk@119540 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 13:54:39 +00:00
kaie%netscape.com
1aee727224 b=137627 Fix crash seen with some messages.
r=kaie sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@119539 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 13:49:53 +00:00
brade%netscape.com
82ede514b3 checkin fix for bug 115128 for sfraser (assertion removed) (r=brade, sr=darin)
git-svn-id: svn://10.0.0.236/trunk@119538 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 13:39:16 +00:00
hyatt%netscape.com
8ebe39086f Implement popups for selects.
git-svn-id: svn://10.0.0.236/trunk@119535 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 04:14:36 +00:00
despotdaemon%netscape.com
da36b32bd1 Pseudo-automatic update of changes made by pete.zha@sun.com.
git-svn-id: svn://10.0.0.236/trunk@119534 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 03:35:13 +00:00
blakeross%telocity.com
26df33e055 105547 - remove pref to control where new windows open (tab or window). r=bryner sr=ben
git-svn-id: svn://10.0.0.236/trunk@119532 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 03:12:36 +00:00
blakeross%telocity.com
d2e89833e5 105547 - remove pref to control where new windows open (tab or window). r=bryner sr=ben
git-svn-id: svn://10.0.0.236/trunk@119528 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 01:25:29 +00:00
blakeross%telocity.com
b454e53d42 131762 - can open multiple occurrences of download manager. r=hixie sr=ben
git-svn-id: svn://10.0.0.236/trunk@119527 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 01:19:13 +00:00
serge%netscape.com
63446c5077 fix for #131153, PDF plugin doesn't work, it expects file extension for stream type == StreamType_AsFile; r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@119526 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 01:08:27 +00:00
gerv%gerv.net
3c59bf5daa Bug 135707 - rearrange templates to normalise filenames, and create directory structure which allows for localised versions of the templates. Earlier versions of these templates can be found, cvs removed, scattered around bugzilla/template/default; but there are no substantial changes between their initial checkin there and here.
git-svn-id: svn://10.0.0.236/trunk@119525 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 21:30:21 +00:00
mcafee%netscape.com
d1ee27dabf Future modular build mechanism, not part of main seamonkey build. Adding gtk/tests for TestGtkEmbed. Added jpeg, mng modules from modules/libimg.
git-svn-id: svn://10.0.0.236/trunk@119524 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 19:39:34 +00:00
darin%netscape.com
5f8787630c fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@119523 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 19:12:28 +00:00
blakeross%telocity.com
8c0cbc0095 135103 - context menus missing separator in image menu. r=dean sr=ben
git-svn-id: svn://10.0.0.236/trunk@119522 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 18:52:49 +00:00
darin%netscape.com
2bcfcccf85 fixes bug 138280 "Trunk crash [@ nsStorageTransport::nsReadRequest::OnStartRequest]"
r=gagan sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@119521 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 18:33:42 +00:00
ian%hixie.ch
f5ab46863f Add an adminMessage to the default admin user.
git-svn-id: svn://10.0.0.236/trunk@119519 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 15:03:29 +00:00
ian%hixie.ch
5e2ee154d4 Add a (default, very simple) login command so that the standard footer can have a login link.
git-svn-id: svn://10.0.0.236/trunk@119518 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 14:58:13 +00:00
ian%hixie.ch
5a84742d94 Changing from COSES to TemplateToolkit
git-svn-id: svn://10.0.0.236/trunk@119517 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 14:53:34 +00:00
ian%hixie.ch
05037798ba Split the confused getRights API into two, one to get the list of rights, and one to get the list of rights applicable to a set of groups. Make the user's output hash list all rights if the user is an administrator (this mirrors the behaviour of the user hasRight API).
git-svn-id: svn://10.0.0.236/trunk@119516 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 14:11:41 +00:00
ian%hixie.ch
e94bcacf88 add group names to the data passed to templates
git-svn-id: svn://10.0.0.236/trunk@119515 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 14:08:27 +00:00
ian%hixie.ch
614383c517 If a user bookmarks or reloads the logout page, we don't want to show an error.
git-svn-id: svn://10.0.0.236/trunk@119514 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 14:05:15 +00:00
hyatt%netscape.com
0d99cc052a Cocoa scrollbar tweak. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119513 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 10:04:42 +00:00
cbiesinger%web.de
9e33625233 bug 55798 patch by jscript@pacbell.net r=bzbarsky sr=alecf
js strict warning in navigator.js


git-svn-id: svn://10.0.0.236/trunk@119512 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 09:20:49 +00:00
hyatt%netscape.com
11fc1f753a Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@119511 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 07:44:27 +00:00
hyatt%netscape.com
134ac569e3 Did I forget something?
git-svn-id: svn://10.0.0.236/trunk@119510 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 07:29:25 +00:00
mcafee%netscape.com
40080b3a98 Part of future embed modular build mechanism, not part of seamonkey build. Adding gtkembedmoz module to map.
git-svn-id: svn://10.0.0.236/trunk@119509 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 05:50:12 +00:00
mcafee%netscape.com
f9aac2eb4f Initial developer part of license doesn't apply here.
git-svn-id: svn://10.0.0.236/trunk@119508 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 05:10:34 +00:00
nboyd%atg.com
5d2b6cb32b Implement support for new Package(<classLoader>)
git-svn-id: svn://10.0.0.236/trunk@119507 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-21 01:50:43 +00:00
hyatt%netscape.com
4f3b12524d I so did not mean to check this in. NPOB anyway. Going now to wash my mouth out with soap.
git-svn-id: svn://10.0.0.236/trunk@119506 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 23:28:10 +00:00
hyatt%netscape.com
18d1c9b815 Fix about box.
git-svn-id: svn://10.0.0.236/trunk@119505 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 23:21:25 +00:00
hyatt%netscape.com
2803c48155 I think it builds now.
git-svn-id: svn://10.0.0.236/trunk@119504 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 23:19:28 +00:00
hyatt%netscape.com
a268cfd2d2 Prefs commit.
git-svn-id: svn://10.0.0.236/trunk@119503 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 23:05:15 +00:00
hyatt%netscape.com
b448f886a8 Personal pane commit.
git-svn-id: svn://10.0.0.236/trunk@119502 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 23:04:29 +00:00
hyatt%netscape.com
a74fee7a32 Initial commit of .h files
git-svn-id: svn://10.0.0.236/trunk@119501 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 22:59:40 +00:00
jkeiser%netscape.com
56149841e9 Fix Tinderbox popups not appearing (bug 138676), jst's patch, r=jkeiser, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@119500 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 19:22:51 +00:00
cbiesinger%web.de
f253b68e2e bug 136402 patch by neil.marshall@sympatico.ca r=db48x sr=alecf
Case of first letter in text labels is sometimes wrong in the Media tab


git-svn-id: svn://10.0.0.236/trunk@119498 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 18:09:09 +00:00
cbiesinger%web.de
d0e61df573 bug 76099 patch by neil.marshall@sympatico.ca r=db48x sr=alecf
Include referring URL in Page info


git-svn-id: svn://10.0.0.236/trunk@119497 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 18:02:14 +00:00
bienvenu%netscape.com
58bff836bc fix compiler warnings patch by godsham@ntsource.com r=bzbarsky sr=bienvenu 129208
git-svn-id: svn://10.0.0.236/trunk@119496 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 16:45:09 +00:00
justdave%syndicomm.com
0bb9b498d5 Fix for bug 125013: ProcessMultipartFormFields in CGI.pl would hang if the posting browser included regexp metacharacters in its boundary string.
Patch by tkl@telenet.ch (Thomas Klaeger)
2xr= justdave


git-svn-id: svn://10.0.0.236/trunk@119495 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 16:17:54 +00:00
caillon%returnzero.com
752e7c3817 Bug 131672, many editor property dialogs have no access keys. Patch by neil@parkwaycc.co.uk, r=cmankse, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@119494 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 16:07:09 +00:00
caillon%returnzero.com
02be840658 Page info shouldn't open cache items in blocking mode. Fixes Bug 124566, 'View Page Info whilst this page loading hangs browser.' Patch by db48x@yahoo.com, r=caillon, sr=darin
git-svn-id: svn://10.0.0.236/trunk@119493 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 14:49:41 +00:00
caillon%returnzero.com
55ddf331b7 Bug 113273. Implement computed style for '-moz-appearance', '-moz-box-*', '-moz-float-edge', and '-moz-user-*'. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@119490 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 14:30:57 +00:00
dbaron%fas.harvard.edu
38203ae41a Fix assertion when typing over a selection. b=137556 sr=kin r=bryner
git-svn-id: svn://10.0.0.236/trunk@119487 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 12:36:45 +00:00
dprice%netscape.com
50a57d9c14 118216 r=syd sr=dveditz
fixes a crasher in xpinstall


git-svn-id: svn://10.0.0.236/trunk@119484 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 08:55:02 +00:00
ben%netscape.com
bac9c7b18a Fix two bugs:
- 130614 [adt2] Trunk crashes on startup on Win95 @ nsBookmarksService::ParseFavoritesFolder
         On older Windows installs, IE4 is not present and as a result there's no system
         favorites folder. Insert a null check so that we only parse a system favorites folder
         if one exists.
         r=bryner, sr=hyatt
- 127476 [adt1] Non-ASCII characters in IE Favorites are imported as garbage.
         IE stores Favorite Name as the non-extension part of the file name (baseName). The
         code was using GetFileBaseName, which returns a CString (dumb!). Converted to
         extract the bookmark name from the unicode leaf name.
         r=ftang, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@119483 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 08:48:35 +00:00
hyatt%netscape.com
f1fd1e8167 Adding the controller objects.
git-svn-id: svn://10.0.0.236/trunk@119482 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 07:54:17 +00:00
hyatt%netscape.com
bb483ad9a4 More initial commits.
git-svn-id: svn://10.0.0.236/trunk@119481 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 07:48:56 +00:00
hyatt%netscape.com
dd29dde636 Adding bookmarks service.
git-svn-id: svn://10.0.0.236/trunk@119480 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 07:48:00 +00:00
hyatt%netscape.com
5de9b86ba7 Initial location abr commit. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119479 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 07:46:53 +00:00
hyatt%netscape.com
84d933e14a Add tooltips to personal toolbar buttons.
git-svn-id: svn://10.0.0.236/trunk@119478 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 07:37:05 +00:00
hyatt%netscape.com
d51c29904d Use bookmark group image.
git-svn-id: svn://10.0.0.236/trunk@119477 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 07:27:35 +00:00
hyatt%netscape.com
137a9a2756 Initial commits of a bunch of files. Chimera. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119476 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 07:21:10 +00:00
cbiesinger%web.de
c6736ed621 bug 136538 r=bbaetz sr=darin
data: protocol doesn't unescape its uri string


git-svn-id: svn://10.0.0.236/trunk@119475 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 06:54:02 +00:00
bryner%netscape.com
4f889d5ddc Removing build tools that are no longer necessary with win32 gmake builds. This is in preparation for creating a new, smaller wintools.zip. Not part of the build, r/a=leaf.
git-svn-id: svn://10.0.0.236/trunk@119474 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 05:50:11 +00:00
bryner%netscape.com
023c65d785 Shut down all sockets in http's keepalive/idle list when the SESSION_LOGOUT event happens. This ensures that we don't leak NSS resources associated with SSL sockets. Bug 125561, r=ccarlen, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@119473 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 05:40:24 +00:00
depstein%netscape.com
2909503e6f added additional flag support for onHistoryReload() of history listener.
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@119472 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 03:39:31 +00:00
mscott%netscape.com
721b7f3404 Bug #132731 --> dynamically adjust the width of the alert window
to prevent unwanted wrapping of text if the user is using larger fonts
r=neil@parkwaycc.co.uk
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@119470 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 03:08:54 +00:00
depstein%netscape.com
47220f6b81 adding nsIWebNavTestLib.js and nsIWebNavTestCase1.html into /webNav
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@119467 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:54:38 +00:00
hyatt%netscape.com
4763d39c08 Inital commit of the extended outliner. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119466 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:54:08 +00:00
hyatt%netscape.com
333c2d6b32 Initial commit. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119465 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:49:49 +00:00
hyatt%netscape.com
8afbc84c67 Initial NIB commits. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119464 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:46:28 +00:00
hyatt%netscape.com
a53f4e46c1 Icon files. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119463 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:42:11 +00:00
hyatt%netscape.com
8a37383323 initial commit. npob.
git-svn-id: svn://10.0.0.236/trunk@119462 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:40:57 +00:00
hyatt%netscape.com
a68c686633 Initial commit of iconic tab items. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119461 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:38:31 +00:00
hyatt%netscape.com
889cc6736b Initial commit of tab view. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119460 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:36:18 +00:00
hyatt%netscape.com
81404ce45a Initial commit of auto-hiding tab view. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119459 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:29:21 +00:00
depstein%netscape.com
49d6ff1c46 fixed makefile.win. some minor updates to other files.
a=asa for QA checkins that are not part of the default builds


git-svn-id: svn://10.0.0.236/trunk@119458 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:24:27 +00:00
hyatt%netscape.com
c403e83e04 Initial commit of splash screen. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119457 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:23:05 +00:00
mcafee%netscape.com
7830f39baa Adding --disable-tests, cleaning up whitespace
git-svn-id: svn://10.0.0.236/trunk@119456 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:17:23 +00:00
mcafee%netscape.com
148a7c016a Adding dynamic modules.mk support.
git-svn-id: svn://10.0.0.236/trunk@119455 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:15:40 +00:00
hyatt%netscape.com
31ca1646bc Initial commit of the about box for chimera. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119454 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:15:19 +00:00
hyatt%netscape.com
a85832f103 Adding files to chimera. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119453 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 02:08:48 +00:00
hyatt%netscape.com
52b5fe533a Checking in the project file for chimera. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119452 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:56:44 +00:00
hyatt%netscape.com
347a5a9357 Starting to check in chimera. Images first. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119451 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:53:49 +00:00
jaggernaut%netscape.com
fe68e4711d Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
git-svn-id: svn://10.0.0.236/trunk@119450 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:48:32 +00:00
hyatt%netscape.com
8c3b440bdf Stop scrollbar crash. Cocoa. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119449 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:30:20 +00:00
oeschger%netscape.com
feb62d467f adding a GIF for the help content, author=robinf, r=oeschger, dispensation for regular updates per 122806
git-svn-id: svn://10.0.0.236/trunk@119448 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:24:37 +00:00
dp%netscape.com
e0a45b8f42 Sorting in category report
git-svn-id: svn://10.0.0.236/trunk@119446 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 00:25:55 +00:00
endico%mozilla.org
1695428071 add mozilla/tools/trace-malloc to MozillaTinderboxAll module
git-svn-id: svn://10.0.0.236/trunk@119445 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 00:19:11 +00:00
dp%netscape.com
b8ccebffd0 Store len of patterns for fast comparison
git-svn-id: svn://10.0.0.236/trunk@119444 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 00:14:22 +00:00
jst%netscape.com
44d5eb5fd7 Fixing bug 80083. Making sure window.navigator doesn't get GC'd during the lifetime of a document. r=fabian@bluishgecko.net, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119443 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 00:04:33 +00:00
hyatt%netscape.com
29a587a141 Enable API for obtaining the real window from a hidden enclosing view. Cocoa. NPOB.
git-svn-id: svn://10.0.0.236/trunk@119442 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:58:36 +00:00
jst%netscape.com
3d4957e7ba Fixing typo in a comment...
git-svn-id: svn://10.0.0.236/trunk@119441 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:56:45 +00:00
jst%netscape.com
1e97d5f5a8 Fixing regression bug 138540. Make iframe's with scrollbars='no' not have scrollbars. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119440 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:55:45 +00:00
blythe%netscape.com
4076145951 Fix bug 132903, Not part of normal build.
Improve win32 linkage ordering.


git-svn-id: svn://10.0.0.236/trunk@119438 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:16:20 +00:00
radha%netscape.com
07bd6b26cd Fix for bug # 138134. scrollbar restoration for anchor traversals broken because of few regressions in the last week. r=adamlock sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@119437 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:14:53 +00:00
sfraser%netscape.com
e9d103b8aa Second attempt to fix bug 137295; gaps appearing in images on Mac OS X. Changed to not pass in the clipRgn when we're drawing to another image (e.g. animated GIFs), or another non-window destination where we don't want to clip. r=pink, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@119435 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:07:56 +00:00
ian.mcgreer%sun.com
bfdfb2a5be re-sync the trust domain cache with token insertion/removal
git-svn-id: svn://10.0.0.236/trunk@119434 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 23:06:44 +00:00
gerv%gerv.net
13b8993966 Bug 138581 - add template/en/* to the search path. Patch by gerv, 2xr=justdave.
git-svn-id: svn://10.0.0.236/trunk@119433 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:47:33 +00:00
nicolson%netscape.com
e470ff6268 JSS 3.2 features check-in.
git-svn-id: svn://10.0.0.236/trunk@119432 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:42:05 +00:00
gerv%gerv.net
165a0315eb Bug 135707 - template reorganisation. This makes the new copies of the templates use all the correct names internally. Patch by me, 2xr=myk.
git-svn-id: svn://10.0.0.236/trunk@119431 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:38:22 +00:00
bzbarsky%mit.edu
1070ebf374 Fix potential memory leaks in nsDataChannel. Bug 138081, r=timeless,
sr=darin


git-svn-id: svn://10.0.0.236/trunk@119430 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:37:41 +00:00
darin%netscape.com
2d531129d7 mac project changes for bug 93054
git-svn-id: svn://10.0.0.236/trunk@119429 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:30:15 +00:00
bzbarsky%mit.edu
e7d6f144d1 Fix the "style rules" display for display:table elements. Bug 122557,
r=caillon, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@119428 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:29:24 +00:00
darin%netscape.com
d88400611e implement HTTP/1.1 pipelining, b=93054
r=gagan, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@119425 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 22:25:23 +00:00
mkaply%us.ibm.com
7bee409f58 #137693
r=mkaply, sr=blizzard, a=rjesup@wgate.com
OS/2 only - workaround for MINCHO font bug


git-svn-id: svn://10.0.0.236/trunk@119422 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 21:57:22 +00:00
dp%netscape.com
fe2828750c Using stncmp instead of strstr for callsite maching.
git-svn-id: svn://10.0.0.236/trunk@119421 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 21:51:03 +00:00
dp%netscape.com
ca9149699b commandline options for category file and focus category.
git-svn-id: svn://10.0.0.236/trunk@119420 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 21:49:55 +00:00
igor%mir2.org
526727ee42 Removing one more time creating of bogus activation for InterpretedScript added with the previous change
git-svn-id: svn://10.0.0.236/trunk@119416 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 20:58:03 +00:00
ian.mcgreer%sun.com
2f30d58738 * make sure the token cache returns failure in overflow case
* change internal module trust order again, builtins uses 100, and internal module must come first


git-svn-id: svn://10.0.0.236/trunk@119415 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 19:30:12 +00:00
ian.mcgreer%sun.com
aabd47f4fc try again, the default is 50 so the internal module must be higher
git-svn-id: svn://10.0.0.236/trunk@119414 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 19:19:33 +00:00
ian.mcgreer%sun.com
b9e6962325 make sure the internal module defaults to trust order > 50
git-svn-id: svn://10.0.0.236/trunk@119413 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 19:01:45 +00:00
gerv%gerv.net
c1cabcdde4 Bug 135707 - make template/en/default templates consistent with template/default. Patch by ddk, 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@119412 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 18:35:45 +00:00
cltbld%netscape.com
038d37a6f8 printf for deleting profile, for debugging. -mcafee
git-svn-id: svn://10.0.0.236/trunk@119411 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 18:24:10 +00:00
peterlubczynski%netscape.com
96a1ca7d10 Fixing smoketest blocker bug 138500 r=av sr=jag a=leaf
git-svn-id: svn://10.0.0.236/trunk@119409 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 18:08:04 +00:00
ian.mcgreer%sun.com
782014ef9d improve synchronization between the token state and token cache operations
git-svn-id: svn://10.0.0.236/trunk@119408 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 17:32:22 +00:00
ian.mcgreer%sun.com
88d5adeca3 Only fall back to email search if the "nickname" has an @ character. This is because email searches will not go through the cache, so should be avoided if possible.
git-svn-id: svn://10.0.0.236/trunk@119406 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 16:22:31 +00:00
ian.mcgreer%sun.com
bafa34ec88 Fixes for smart card cache. Don't do cache searches by email address, since GetAttributeValue does not set that field. Handle removal correctly for item at tail of list. Don't search token after a successful cache search that returned zero hits.
git-svn-id: svn://10.0.0.236/trunk@119405 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 16:14:13 +00:00
caillon%returnzero.com
2914f67ee4 Bug 133166, Remove JavaScript strict warning. Patch by walk84@yahoo.com, r=caillon, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@119403 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 14:42:37 +00:00
dcone%netscape.com
3ac366987b b=90751 Took out changes.. did not work on the Mac OSX/Darwin build.
git-svn-id: svn://10.0.0.236/trunk@119402 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 14:31:26 +00:00
axel%pike.org
d3461c28de NOT PART OF BUILD, testcase harnish.
This is a big overhaul of buster, moving to rdf controlled trees.
The index is now part of the testcases, which makes it easier to keep them
up-to-date. I also started improving the support for HTML testcases. Another
new feature is the support for saving and loading results.
Plus alot of internal cleanup, though there's still more to come.


git-svn-id: svn://10.0.0.236/trunk@119398 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 14:05:47 +00:00
colinp%oeone.com
3a984db487 fix to week view resizing (bug 125366)
git-svn-id: svn://10.0.0.236/trunk@119397 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 13:44:05 +00:00
dcone%netscape.com
0f86881067 b=90751 This is a fix for the Mac V build I broke last night. This fix was give by ccarlen.. sorry for the breakage. Thanks to seawood and Dagley for getting things back online. I have to remember to watch that ports build.
git-svn-id: svn://10.0.0.236/trunk@119396 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 13:40:00 +00:00
axel%pike.org
1ed849cbc2 bug 70855, add NSPR logging to transformiix, mere printf's for standalone. r=peterv, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@119389 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 10:28:57 +00:00
brade%netscape.com
0a5ba43631 show an alert if we fail to get a document uri (bug 126258) r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@119386 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 09:54:50 +00:00
gerv%gerv.net
845e4a7761 Bug 3935 - mozilla-native psuedo classes and properties should be marked as such. This fixes a number of them; still a few more to do. Patch by gerv, r=dbaron, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@119384 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 08:07:11 +00:00
jfrancis%netscape.com
9611b56ac2 more 136944: fixing typos in original patch. r=Aleksey Nogin, sr=kin. Thanks to Aleksey Nogin for catching these.
git-svn-id: svn://10.0.0.236/trunk@119382 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:43:19 +00:00
shliang%netscape.com
4e4ac3231b 135975 - theme preview images are outdated - images by gregvalure@yahoo.com - r=andreww, sr=hewitt, a=jesup
git-svn-id: svn://10.0.0.236/trunk@119381 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:38:23 +00:00
shliang%netscape.com
55d4814edd 132032 - column settings for unread msg count in folder pane not followed - r=bhuvan, sr=sspitzer, a=asa
git-svn-id: svn://10.0.0.236/trunk@119379 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:19:26 +00:00
igor%mir2.org
b1e186737a Making interpreter bytecode independent from Context.isGeneratingDebug so debugger can handle scripts compiled without Context.isGeneratingDebug: if itsNeedsActivation is false with debugger present, Interpreter.interpret creates activation scope and check in variable queries/assignments if they should be made against activation object and not stack[VAR_SHIFT+...] array.
git-svn-id: svn://10.0.0.236/trunk@119378 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:19:07 +00:00
seawood%netscape.com
8f6e3fa8c2 Workaround for nsFileSpec lossage.
Thanks to Steve Dagley <sdagley@netscape.com> for the patch.
Fixing tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@119375 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:00:58 +00:00
shliang%netscape.com
9c2829e1fa 133863 - plug-in finder service pref ui - r=hewitt, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@119374 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 07:00:16 +00:00
mkaply%us.ibm.com
c54005fdf8 OS/2 bustage - forgot to remove it in header
git-svn-id: svn://10.0.0.236/trunk@119366 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 06:05:03 +00:00
cotter%netscape.com
7265580609 ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; various privacy feature updates
git-svn-id: svn://10.0.0.236/trunk@119355 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 04:14:03 +00:00
peterlubczynski%netscape.com
ecdc6a7cbc Fixing name mismatch from bug 113464 r=bnesse sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119354 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 04:13:18 +00:00
sspitzer%netscape.com
0f42114e08 fix for #138092. bad information text in mailing list dialog.
now that it is modal, you can't dnd.  text from robinf@netscape.com.
r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119353 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 03:53:27 +00:00
bzbarsky%mit.edu
6718729877 Backing patch out since it breaks Win32 and I don't have time to fix it
right now.


git-svn-id: svn://10.0.0.236/trunk@119352 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 03:48:22 +00:00
bzbarsky%mit.edu
ed2f7a074d Data URIs are not nsIURLs. Bug 77850, r=law, sr=darin
git-svn-id: svn://10.0.0.236/trunk@119351 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 03:21:35 +00:00
bzbarsky%mit.edu
e0b7afec0a Fix potential memory leaks in nsDataChannel. Bug 138081, r=timeless,
sr=darin


git-svn-id: svn://10.0.0.236/trunk@119350 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 03:16:37 +00:00
bzbarsky%mit.edu
0e856b703b Fix mismatch between labels and reality for the "non-printable space"
offsets.  Bug 135361, patch by
Roland.Mainz@informatik.med.uni-giessen.de (Roland Mainz), r=bzbarsky,
sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119349 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 03:13:23 +00:00
karnaze%netscape.com
c4272e08c7 bug 136848 - consider a sibling of type col group, col, row group as a valid siblings of a child only if the child is the same type. sr=attinasi, r=kin
git-svn-id: svn://10.0.0.236/trunk@119348 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 03:11:29 +00:00
joki%netscape.com
b9370d89c9 Fix for bug 124990 , Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.


git-svn-id: svn://10.0.0.236/trunk@119347 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:53:22 +00:00
joki%netscape.com
568563a1cc Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.


git-svn-id: svn://10.0.0.236/trunk@119346 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:52:01 +00:00
seawood%netscape.com
26389cf685 Add make -j support to win32 gmake builds.
Bug #132848 r=bryner


git-svn-id: svn://10.0.0.236/trunk@119345 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:42:28 +00:00
mkaply%us.ibm.com
77d458f0c1 OS/2 bustage - no PR_CALLBACK here
git-svn-id: svn://10.0.0.236/trunk@119344 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:33:00 +00:00
rdayal%netscape.com
86c09b35bd fixes leaks when retrieving attribs and values for each LDAP search entry, bug # 134069
r=dmose, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@119343 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:08:57 +00:00
seawood%netscape.com
cbaf091b26 Remove references to obsolete CHROME_ variables.
Bug #113401 r=bryner


git-svn-id: svn://10.0.0.236/trunk@119342 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 01:29:29 +00:00
mcafee%netscape.com
bbf5c922f9 Part of future embedding build mechanism, not part of main mozilla build yet. Adding img* modules, r=blythe
git-svn-id: svn://10.0.0.236/trunk@119341 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 00:09:50 +00:00
heikki%netscape.com
f930f21502 Bug 129607, avoid trying to parse the response if we cannot be sure it is XML. This fixes hang in HTML parser, and is a big performance improvement if you are loading non-XML data. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@119340 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 00:06:40 +00:00
rdayal%netscape.com
d1acf193f3 fix for MAPI send of files with localized filenames, bug # 103313
r=nhotta, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@119339 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 23:43:36 +00:00
bienvenu%netscape.com
8ebc68f1ed fix imap not to download all msg headers r=naving, sr=sspitzer 137994
git-svn-id: svn://10.0.0.236/trunk@119338 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 23:40:22 +00:00
attinasi%netscape.com
f3872354cd Make sure SpaceManager is in the reflowState before absolute items are reflowed to prevent crash. b=130251 r=alexsavulov sr=waterson
git-svn-id: svn://10.0.0.236/trunk@119337 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 23:37:51 +00:00
jst%netscape.com
e489d07941 Fixing bug 98654. Make document.write() not cancel earlier location.href=...'s when both are done from the same script. r=bzbarsky@mit.edu, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119336 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 23:25:35 +00:00
darin%netscape.com
e8af8ac280 fixes bug 136956 "HTTP preferences panel needs to control proxy settings
as well" r=brade sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119335 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 23:22:41 +00:00
bienvenu%netscape.com
efcf334394 make this file build (at least on windows) after nsIFileOutputStream changes r/sr = jkeiser
git-svn-id: svn://10.0.0.236/trunk@119334 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 23:14:30 +00:00
bienvenu%netscape.com
df506da353 turning off some debug_bienvenu code
git-svn-id: svn://10.0.0.236/trunk@119333 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:49:48 +00:00
jst%netscape.com
bd884250a1 Fixing bug 98654. Make document.write() not cancel earlier location.href=...'s when both are done from the same script. r=bzbarsky@mit.edu, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119332 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:49:39 +00:00
rods%netscape.com
49b198aeab printing properties must be moved to global jar
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman


git-svn-id: svn://10.0.0.236/trunk@119331 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:43:02 +00:00
dcone%netscape.com
08e3acb44a b=90751 r=peterl sr=attinasi a=asa This should fix the problem finding the printer settings plugin.
git-svn-id: svn://10.0.0.236/trunk@119330 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:40:46 +00:00
darin%netscape.com
4e21a05383 fixes bug 60811 "[RFE] User should be able to force HTTP proxy transactions
to use HTTP/1.0 exclusively." r=brade,bbaetz sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@119329 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:36:39 +00:00
bienvenu%netscape.com
12d741b8e4 fix updating of command handlers in cases where there is no selection r=ssu, sr=sspitzer 134893
git-svn-id: svn://10.0.0.236/trunk@119328 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:32:25 +00:00
darin%netscape.com
f4f601e383 fixes bug 137965 "Document contains no data on disconnect"
r=bbaetz sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@119327 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:30:11 +00:00
robinf%netscape.com
0296efb9dd routine help image update per bug 122806, r=oeschger
git-svn-id: svn://10.0.0.236/trunk@119326 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:27:26 +00:00
varada%netscape.com
a55ae7f99e fix for 58506;smtp panel doesnt get refreshed in account wizard if prefilled first account exists;r=srilatha;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@119325 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:26:47 +00:00
kaie%netscape.com
816a215e41 b=137154 PSM needs to call SSL_ClearSessionCache before switching profiles
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119324 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:25:26 +00:00
shanjian%netscape.com
b5f70013eb #138002 nsParser should be accept charset notification coming from low priority source
check charset source before updating parser's charset.
r=ftang, sr=jst


git-svn-id: svn://10.0.0.236/trunk@119323 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:21:50 +00:00
naving%netscape.com
4de2000863 138014 r=bienvenu sr=mscott Make undo delete messages work for the case when we do Ctrl A/Select all and delete all messages in an imap folder.
git-svn-id: svn://10.0.0.236/trunk@119322 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:15:39 +00:00
shanjian%netscape.com
5708ab13f1 #115114 autodetect universal detects french as Central European (ISO-8859-2)
remove 2 hungarian probers.
r=ftang, sr=scc


git-svn-id: svn://10.0.0.236/trunk@119321 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:15:08 +00:00
harishd%netscape.com
c996b9fb65 Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst
git-svn-id: svn://10.0.0.236/trunk@119320 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:11:17 +00:00
timeless%mac.com
765b24766c Bug 137097 NODE_ID function is useless overhead
patch by neil@parkwaycc.co.uk r=bzbarsky sr=blake


git-svn-id: svn://10.0.0.236/trunk@119319 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:11:10 +00:00
pinkerton%netscape.com
0594191ec2 removing nsControllerCommandManager. r=ccarlen/sr=sfraser. bug# 137647.
git-svn-id: svn://10.0.0.236/trunk@119318 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:09:52 +00:00
jst%netscape.com
5723ee1e99 One more minor tweak for blocker bug 138007 (checked in the wrong diff last time). Making iframe.src=... not load the src twice when the iframe is visible. r=jkeiser@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119317 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:06:37 +00:00
jkeiser%netscape.com
a0a822ebdc Close submitted files (input type=file) when done with them. (bug 126829) r=dougt@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119316 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:02:09 +00:00
sspitzer%netscape.com
0388215cbb fix for #134743. Turbo on, mailing list entries duplicated after an exit/restart.
r=racham, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@119315 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 22:01:00 +00:00
sspitzer%netscape.com
5fd093a92c fix for #124208. Address Book window shows LDAP directories from previous Profile in turbo mode.
r=bienvenu, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@119314 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:59:58 +00:00
sspitzer%netscape.com
c74ff537e8 minor code cleanup. no bug. r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@119313 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:58:29 +00:00
sspitzer%netscape.com
38b713148d fix for #138048. double clicking on card in addressbook sidebar
doesn't bring up compose window.  r=racham, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119312 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:57:09 +00:00
varada%netscape.com
07767bbafb fix for 136937;mail composition body becomes ineditable after send failure;r=srilatha;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@119311 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:56:04 +00:00
sspitzer%netscape.com
d3edf408d5 fix for #138253. don't do window.confirm() from chrome in addressbook.js.
r=hewitt, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119310 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:55:40 +00:00
jkeiser%netscape.com
314b3e62d6 Fix keyboard movement crasher all-disabled selects (bug 136606), r=rods@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119309 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:54:57 +00:00
jst%netscape.com
3796c7c429 One more minor tweak for blocker bug 138007. Making iframe.src=... not load the src twice when the iframe is visible. r=jkeiser@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119308 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:54:48 +00:00
alex.fritze%crocodile-clips.com
a0ab9e862a [SVG build only] Bug#137973: Use SafeElementAt instead of
ElementAt. Patch by <paul.golz@crocodile-clips.com>.


git-svn-id: svn://10.0.0.236/trunk@119307 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:53:53 +00:00
sspitzer%netscape.com
6bff90d630 fix for #134958. can't delete mailing list from dir pane.
r=hewitt, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119306 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:53:19 +00:00
seawood%netscape.com
dec2158510 Add LIBS_DIR to the link line before EXTRA_DSO_LIBS to avoid link-ordering issues on linkers that care (e.g,Sun Forte 7).
Bug #137762 r=dcran


git-svn-id: svn://10.0.0.236/trunk@119305 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:50:31 +00:00
danm%netscape.com
b5cc6f8203 make blur() available to embedded apps. bug 57841 in its third avatar r=jst,scc a=valeski
git-svn-id: svn://10.0.0.236/trunk@119304 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:50:11 +00:00
srilatha%netscape.com
1e5358c7ff Fix for bug # 134947. Import text dialog unusable.
r=varada, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@119301 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:47:28 +00:00
nhotta%netscape.com
3c06def49e Use ISO-8859-1 as a compose charset if us-ascii, change for edit as new,
bug 136938, r=ducarroz, sr=kin.


git-svn-id: svn://10.0.0.236/trunk@119300 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 21:43:10 +00:00
jkeiser%netscape.com
1ebf9df601 Make iframe load when setAttribute("src") happens on it (blocker bug 138007), JST's patch +some, r=bryner@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119298 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 20:59:54 +00:00
jpierre%netscape.com
862378ca25 Fix for 138084 - free slot list if NSC_Initialize fails
git-svn-id: svn://10.0.0.236/trunk@119297 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 20:54:22 +00:00
gerv%gerv.net
6a36910cb1 Bug 135707 - rearrange templates to normalise filenames, and create directory structure which allows for localised versions of the templates. Earlier versions of these templates can be found, cvs removed, scattered around bugzilla/template/default; but there are no substantial changes between their initial checkin there and here.
git-svn-id: svn://10.0.0.236/trunk@119296 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 20:29:05 +00:00
mcs%netscape.com
40b4a0e2fd Additional fix for bug # 81584 - strtok use and STRTOK on Linux.
git-svn-id: svn://10.0.0.236/trunk@119295 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 20:12:30 +00:00
dp%netscape.com
fd1952056c Categories report
git-svn-id: svn://10.0.0.236/trunk@119294 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 20:11:45 +00:00
gerv%gerv.net
36e5c93736 Bug 138064 - False-positive error message in checksetup.pl when checking for "png" in data/webdot/.htaccess. Patch by ddk; 2xr=justdave.
git-svn-id: svn://10.0.0.236/trunk@119293 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:59:00 +00:00
edburns%acm.org
abbf4da054 comment
git-svn-id: svn://10.0.0.236/trunk@119292 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:58:58 +00:00
jst%netscape.com
eead4a8134 Fixing crasher bug 138138. Clear the box object table in xul documents when a xul document is hidden since the box object table may contain references to non-refcounted frames that will be destroyed when the document is hidden. r=jkeiser@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119291 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:50:31 +00:00
ian.mcgreer%sun.com
88c21a0f77 catch non-present tokens before searching them
git-svn-id: svn://10.0.0.236/trunk@119290 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:37:12 +00:00
gerv%gerv.net
68b5feadb1 Bug 135707 - rearrange templates to normalise filenames, and create directory structure which allows for localised versions of the templates. Earlier versions of these templates can be found, cvs removed, scattered around bugzilla/template/default; but there are no substantial changes between their initial checkin there and here.
git-svn-id: svn://10.0.0.236/trunk@119289 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:32:47 +00:00
mcs%netscape.com
4d5a53f17c Fix bug # 138248 - ldapsearch dumps core if -P and -K used together.
git-svn-id: svn://10.0.0.236/trunk@119288 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:30:12 +00:00
gerv%gerv.net
8bc4a6fd11 Bug 135707 - rearrange templates to normalise filenames, and create directory structure which allows for localised versions of the templates. Earlier versions of these templates can be found, cvs removed, scattered around bugzilla/template/default; but there are no substantial changes between their initial checkin there and here.
git-svn-id: svn://10.0.0.236/trunk@119287 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:27:55 +00:00
ian.mcgreer%sun.com
ce6615c3cf two fixes for certs with multiple instances
git-svn-id: svn://10.0.0.236/trunk@119286 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:26:17 +00:00
shrutiv%netscape.com
0bec1b8bf3 fixing memory leak
git-svn-id: svn://10.0.0.236/trunk@119285 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:21:26 +00:00
mcs%netscape.com
3189937825 Improve comments.
git-svn-id: svn://10.0.0.236/trunk@119284 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:01:19 +00:00
mcs%netscape.com
696551982a Fix bug # 99068 - Can't compile on NetBSD.
Fix bug # 121276 - use sigthreadmask instead of sigprocmask (AIX).
Fix bug # 81584 - strtok use and STRTOK on Linux.
	The charray() code now uses strtok_r() if available.
	strtok_r() is now used everywhere on Linux if available.


git-svn-id: svn://10.0.0.236/trunk@119283 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:00:29 +00:00
gerv%gerv.net
0bafcd3bc4 Bug 135707 - rearrange templates to normalise filenames, and create directory structure which allows for localised versions of the templates. Earlier versions of these templates can be found, cvs removed, scattered around bugzilla/template/default; but there are no substantial changes between their initial checkin there and here.
git-svn-id: svn://10.0.0.236/trunk@119282 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 18:57:05 +00:00
mcs%netscape.com
8dd634aa97 Add a comment near LDAP_NO_ATTRS and LDAP_ALL_USER_ATTRS.
git-svn-id: svn://10.0.0.236/trunk@119281 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 18:54:29 +00:00
mcs%netscape.com
0c1f40ad50 Fix bug # 132040 - LDAP tools need a "no man in the middle" option.
New libssldap public function: ldapssl_set_strength().
	New command line tool option: -3 ("no third").
Fix bug # 134035 - LDAP command line tools don't report vendor mismatch.
Improved error checks and reporting for SSL errors in tools.


git-svn-id: svn://10.0.0.236/trunk@119280 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 18:53:19 +00:00
mostafah%oeone.com
489585d1a5 Brought libical code up to date with the code in official CVS on 18 Apr 2002
git-svn-id: svn://10.0.0.236/trunk@119279 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 18:47:31 +00:00
relyea%netscape.com
58bccc96dd Don't crash if we try to get the name of a non-existant token.
git-svn-id: svn://10.0.0.236/trunk@119278 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 17:54:30 +00:00
bernd.mielke%snafu.de
0ff75196e4 making the regression tests working again under linux ( I broke it) bug 136519
this is Not Part of the Build, thanks to bz for providing the fix


git-svn-id: svn://10.0.0.236/trunk@119277 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 17:53:32 +00:00
relyea%netscape.com
0e6eb41035 Remember the nickname in the cache entry so that we can always free it when the cert goes away, even if the nickname has changes.
Also, initialize subjectList to NULL at the beginning, so we don't try to add nickname when we aren't supposed to.


git-svn-id: svn://10.0.0.236/trunk@119276 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 17:52:55 +00:00
relyea%netscape.com
71202164a8 We need to make sure we always return a trust object, even if that object says
there is no trust.


git-svn-id: svn://10.0.0.236/trunk@119275 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 17:50:40 +00:00
ian.mcgreer%sun.com
2f83527b52 landing new smart card cache, bug 135429
git-svn-id: svn://10.0.0.236/trunk@119274 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 17:30:05 +00:00
mostafah%oeone.com
b86f760a66 Changing code to support multiple vevents in one iCaelndar object in ModifyEvent() & DeleteEvent() . Related to bug 135192
git-svn-id: svn://10.0.0.236/trunk@119273 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 16:32:23 +00:00
mcs%netscape.com
fabb0d49a2 Revise SSL layer comment
git-svn-id: svn://10.0.0.236/trunk@119271 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 15:30:22 +00:00
mcs%netscape.com
fa7b3f4568 correct Solaris $ORIGIN comment
git-svn-id: svn://10.0.0.236/trunk@119270 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 15:27:49 +00:00
nicolson%netscape.com
e9a1d34759 update NSS version.
git-svn-id: svn://10.0.0.236/trunk@119269 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 14:33:16 +00:00
mcs%netscape.com
51df7d919a Fix bug # 122905 - ldap_url_search_s does not honor first argument ?
ldap_url_search() now uses the port from the LDAP * if no hostport
	is included in the URL. This is a change in behavior, but the old
	behavior was wrong.


git-svn-id: svn://10.0.0.236/trunk@119267 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 01:48:24 +00:00
mcs%netscape.com
7756ad5b65 Correct some comments to refer to the CONNECT extended I/O callback
rather than the non-existent SOCKET callback.


git-svn-id: svn://10.0.0.236/trunk@119266 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 01:30:46 +00:00
mcs%netscape.com
caffdbfdd6 Remove dirver.c and Makefile.client references to it (no longer used).
git-svn-id: svn://10.0.0.236/trunk@119265 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 01:25:49 +00:00
mcs%netscape.com
294f99e117 Add -v flag to native Solaris cc (enables stricter semantic checks,
and certain lint-like checks on .c files).


git-svn-id: svn://10.0.0.236/trunk@119264 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 01:23:00 +00:00
mcs%netscape.com
bdaf1fe814 Revised fix to properly handle connect timeouts smaller than
1000ms on Windows and other platforms that do not have poll().
Patch provided by mhein@sun.com.


git-svn-id: svn://10.0.0.236/trunk@119263 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 01:15:04 +00:00
mitchf%netscape.com
4d360469ea changes to interpret.cpp (as found in patch http://bugscape/attachment.cgi?id=5049&action=view) were not checked in for some reason.
git-svn-id: svn://10.0.0.236/trunk@119262 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 01:04:59 +00:00
dougt%netscape.com
d1da75028f Even better patch. This is what was intented in the first place, a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@119261 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 00:32:49 +00:00
dougt%netscape.com
4e01e43916 Do not hold references passed xpcom shutdown. a=leaf
git-svn-id: svn://10.0.0.236/trunk@119260 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 00:20:58 +00:00
bbaetz%student.usyd.edu.au
1f7a53abc8 Missing version string. Fixes tinderbox bustage, or it would if the
tinderboxes were working r=./runtests.sh --verbose x2


git-svn-id: svn://10.0.0.236/trunk@119259 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 00:00:43 +00:00
beard%netscape.com
c90fc82323 [Not part of build.] Fix for bugzilla #136063, override operator new/delete for thread-safety, remove carbon timer from main event loop before processing. r=bnesse, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@119258 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 23:45:55 +00:00
bnesse%netscape.com
930c19af9d [Not part of build] Bumped all version info up to 1.0fc1.
git-svn-id: svn://10.0.0.236/trunk@119257 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 23:22:50 +00:00
bnesse%netscape.com
26e9b72140 [Not part of build] Fix for bug 135474. Added new version mimetypes to improve compatibility. r=sdagley, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@119256 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 23:19:23 +00:00
justdave%syndicomm.com
0ae95e9e91 Fix for bug 12004: need info on Template and AppConfig in the help docs.
Documentation SGML patch by Greg Leblanc <gleblanc@linuxweasel.com>


git-svn-id: svn://10.0.0.236/trunk@119255 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 22:59:09 +00:00
gerv%gerv.net
c805b29f24 Bug 137954 - Empty "move-button-text" field blocks changing bugs. Patch by gerv, 2xr=justdave.
git-svn-id: svn://10.0.0.236/trunk@119254 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 22:59:07 +00:00
mostafah%oeone.com
e105ed3062 Added RemoveObserver() and fixed GetNextNEvents()
git-svn-id: svn://10.0.0.236/trunk@119253 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 22:03:27 +00:00
myk%mozilla.org
bc301254f0 Fix for bug 126792: Templatizes showdependencytree.cgi.
Patch by Myk Melez <myk@mozilla.org>.
r=afranke,gerv


git-svn-id: svn://10.0.0.236/trunk@119252 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 21:58:30 +00:00
mcs%netscape.com
b4b052bbff Merge onto the trunk all changes made on
ldapcsdk_50_client_branch between ldapcsdk_50_client_base
and ldapcsdk_50_client_branch-20020417-pre-trunk-merge.


git-svn-id: svn://10.0.0.236/trunk@119250 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 21:53:50 +00:00
gerv%gerv.net
91c4136750 Bug 135545 - missing template version strings. Patch by ddk; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@119249 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 21:28:20 +00:00
gerv%gerv.net
8525f02884 Bug 136754 - warning in editproduct.cgi if usebuggroups option is on. Patch by justdave; r=gerv, bbaetz.
git-svn-id: svn://10.0.0.236/trunk@119246 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 21:12:43 +00:00
gerv%gerv.net
fab1e962a2 Bug 137589 - fix test 4 not to hang on the "use CGI" in the template.
git-svn-id: svn://10.0.0.236/trunk@119245 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 21:10:43 +00:00
dp%netscape.com
0a062f757c fastload-js -> chrome-js
git-svn-id: svn://10.0.0.236/trunk@119244 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 20:25:04 +00:00
caillon%returnzero.com
01aa588630 Bug 137993. Calendar icon in the Window menu should not be stretched. r=mikep
git-svn-id: svn://10.0.0.236/trunk@119241 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 19:50:15 +00:00
timeless%mac.com
3248a99956 fixing gmake requires bustage from:
Changes for plugin finder service, bug 133864, r=av sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119235 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 15:45:14 +00:00
caillon%returnzero.com
99aee188d1 Make WidgetStateManager also remember the .checked property for <listitem type="checkbox"/>. This fixes bug 134441, Scripts & Windows pref panel doesn't remember checkboxes on viewing it the second time. r=hewitt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@119234 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:46:21 +00:00
caillon%returnzero.com
10ff83b247 Bug 137297. Alphabetize computed style's queryableProperties list. r=bzbarsky, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@119231 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:30:58 +00:00
bienvenu%netscape.com
1deacd4c38 disable sending unsent messages while sending unsent messages r=ducarroz, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@119228 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:17:03 +00:00
bienvenu%netscape.com
2eca97cf6d disable sending unsent messages while sending unsent messages r=ducarroz, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@119226 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:07:38 +00:00
peterlubczynski%netscape.com
4f2ae1abe5 Changes for plugin finder service, bug 133864, r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119225 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:07:10 +00:00
bienvenu%netscape.com
185a9c2ad0 fix updating of toolbar buttons when switching to offline and selecting a message not downloaded for offline use r=naving, sr=sspitzer 134980
git-svn-id: svn://10.0.0.236/trunk@119224 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:06:31 +00:00
mozilla.BenB%bucksch.org
3fa691d4d4 108153:
Forgot to remove the debug output, as promised to reviewers.
r=ducarroz,sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119220 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 09:56:25 +00:00
jay.yan%sun.com
e5363dfee5 bug 127893 checkin the additional IDL files contributed by Sun
r=jgaunt sr=jst
this is the final part of this patch: XML file for MAC makefile. the first 2 parts are new files and makefile for win/linux.


git-svn-id: svn://10.0.0.236/trunk@119219 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 09:55:49 +00:00
jay.yan%sun.com
0e81336585 bug 127893 checkin additional IDL files contributed by Sun
r=jgaunt sr=jst
this is the second part of the patch: makefile for linux and windows. I will checkin xml file for MAC makefile soon


git-svn-id: svn://10.0.0.236/trunk@119218 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 09:49:23 +00:00
jay.yan%sun.com
95057fc657 bug 127893 check in additional IDL files contributed by Sun
r=jgaunt sr=jst
this part is only the new idl files, I will checkin makefile for 3 platforms soon.


git-svn-id: svn://10.0.0.236/trunk@119217 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 09:44:40 +00:00
pete.zha%sun.com
71c0f4eaa8 bug 120485:Can't delete folders on IMAP server cascadely
r=bienvenu sr=mscott
Check in for Henry Jia's(henry.jia@sun.com) fix


git-svn-id: svn://10.0.0.236/trunk@119216 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 07:38:27 +00:00
pete.zha%sun.com
fa6e20de06 bug 106479:Multiple IMAP accounts: Check "Empty Trash on Exit" from account setting freeze an IMAP account without Trash folder. r=timeless sr=mscott
Check in Henry Jia's(henry.jia@sun.com) fix


git-svn-id: svn://10.0.0.236/trunk@119215 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 07:18:37 +00:00
mcafee%netscape.com
08a246a9fc Future embedding build mechanism, not part of main mozilla build. Adding png module.
git-svn-id: svn://10.0.0.236/trunk@119211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 05:15:28 +00:00
mcafee%netscape.com
55379f8c1c Future embedding build mechanism, not part of main mozilla build. Adding commandhandler and embedding/find modules.
git-svn-id: svn://10.0.0.236/trunk@119209 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 05:01:24 +00:00
cotter%netscape.com
1eee3fb62c ongoing help content updates per bugzilla 122806 & ADT, r=oeschger; minor fix for smime help.
git-svn-id: svn://10.0.0.236/trunk@119207 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:52:07 +00:00
jst%netscape.com
67ee650f45 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
mcafee%netscape.com
52c04da714 New embedding build mechanism, not part of main mozilla build. Adding some new module mappings; support for multiple directories for a given module.
git-svn-id: svn://10.0.0.236/trunk@119205 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:15:58 +00:00
jst%netscape.com
6ab4b19962 foo
git-svn-id: svn://10.0.0.236/trunk@119204 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 03:48:37 +00:00
timeless%mac.com
e64c1dcb16 Bug 136932 TestCSSPropertyLookup is broken
r=karnaze rs=darin


git-svn-id: svn://10.0.0.236/trunk@119203 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 03:42:29 +00:00
law%netscape.com
70d10cab50 Bug 136940; add pref-triggered code that can disable QuickLaunch in multiple-profile case; r=morse, sr=blake
git-svn-id: svn://10.0.0.236/trunk@119202 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 03:33:00 +00:00
myk%mozilla.org
3553d6e173 Fix for bug 136506: work-around taint error on Perl 5.005.
Patch by Davidy Avery <daa@rm.incc.net>.
2x r=myk


git-svn-id: svn://10.0.0.236/trunk@119201 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 02:55:10 +00:00
dcone%netscape.com
f00848e793 bug=90751 r=peterl sr=attinasi a=asa. JJ Esner tested this part
for the building of the Mac application.  This is the final part of the patch
that will put the plugin into the application bundle. This will not effect tinderbox,
but will come into play when the Mac application is built and bundled up.


git-svn-id: svn://10.0.0.236/trunk@119198 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 02:27:14 +00:00
bbaetz%student.usyd.edu.au
dbd80bf05e Bug 134370 - ftp password displayed in page heading
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@119197 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:45:15 +00:00
dp%netscape.com
64bdd6f00b optimization: When only category changes, dont harvest; just recompute cost.
git-svn-id: svn://10.0.0.236/trunk@119196 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:37:14 +00:00
dp%netscape.com
7e319462f8 more categories
git-svn-id: svn://10.0.0.236/trunk@119195 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:33:16 +00:00
racham%netscape.com
614e8a0c7e Fixing bug 137876. Fixing typo in the functional call so that ISPs can set off functions to be executed via this routine. r=andreww, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@119194 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:25:37 +00:00
racham%netscape.com
8fee33d9a0 Fixing bug 131330. Setting currentpageid attribute on a given wizard page so that ISPs can customize that page via css files. r=andreww, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@119193 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:16:41 +00:00
bryner%netscape.com
a3d0d771ed Remove workarounds in publish dialog for menulist sizing problem (bug 131481). patch from cmanske, r=bryner, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@119192 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:13:36 +00:00
akkana%netscape.com
d59846a7f1 134439: revert to old tests, since the pref has reverted
git-svn-id: svn://10.0.0.236/trunk@119191 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:10:30 +00:00
dp%netscape.com
cd1c10a847 installing rules.txt in dist/bin
git-svn-id: svn://10.0.0.236/trunk@119190 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:03:44 +00:00
wtc%netscape.com
e520ea685d Bugzilla bug 126087: removed symKey->refLock because we are using atomic
routines on symKey->refCount now.  Declare symKey->refCount as PRInt32 to
match the prototype of PR_AtomicIncrement/Decrement.
Modified files: pk11skey.c secmodti.h


git-svn-id: svn://10.0.0.236/trunk@119189 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 01:03:23 +00:00
akkana%netscape.com
6709b4a5a2 134439: Disable wrap_to_window_width by default, regression since the patch was reviewed
git-svn-id: svn://10.0.0.236/trunk@119188 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:41:14 +00:00
mcafee%netscape.com
903fbcfdf1 File for future embedding build mechanism, not part of main seamonkey build. Mork moved to top-level, timer is obsolete. r=alecf
git-svn-id: svn://10.0.0.236/trunk@119187 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:32:27 +00:00
akkana%netscape.com
10a8b2f996 134439: Fix dom-text conversion tests for our new handling of quoted text
git-svn-id: svn://10.0.0.236/trunk@119185 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:23:30 +00:00
dp%netscape.com
a91809e282 shared globals
git-svn-id: svn://10.0.0.236/trunk@119184 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:13:59 +00:00
dp%netscape.com
1784cd5c6a Fixing core dump caused by freeing static categoryname
git-svn-id: svn://10.0.0.236/trunk@119183 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:12:44 +00:00
dp%netscape.com
0a8a07bc8f Dealing with non-existent category file
git-svn-id: svn://10.0.0.236/trunk@119182 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:11:55 +00:00
rods%netscape.com
11932984ae Selection now works with multiple selects
Bug 64165 r=jkeiser sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119181 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 00:09:54 +00:00
bryner%netscape.com
2dc869eadd Fix menulists so that they correctly honor a max-size set via CSS. Previously they were drawing at the correct size but reporting the unconstrained size to the box layout code, causing too much space to be reserved. r=cmanske, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@119178 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:51:07 +00:00
dp%netscape.com
e42ff7fd06 categories
git-svn-id: svn://10.0.0.236/trunk@119177 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:36:47 +00:00
mjudge%netscape.com
e9cb2b63a8 fix for up down behavior after typing or selecting sr=kin a=scc r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@119176 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:26:22 +00:00
akkana%netscape.com
a8c06c892e 134439: Make plaintext compose wrap to window width instead of output
width, and don't wrap quotes in <pre> or <span>, to work around various
editor bugs.  Detect quoted blocks at output time, and continue our
existing behavior of not wrapping quoted text. r=jfrancis,bratell, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@119175 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:11:33 +00:00
mjudge%netscape.com
f1aaed93f5 was in 9.8 and 9.9 bs7868 SHOULD have been checked into trunk trying again. will go into 1.0 branch soonest
git-svn-id: svn://10.0.0.236/trunk@119174 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:02:50 +00:00
mjudge%netscape.com
537bde0fdf bs7868. bug driving me crazy i keep putting it into trunk but i keep failing. this patch was in 9.9 and 9.8 will go into branch soonest
git-svn-id: svn://10.0.0.236/trunk@119173 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:02:11 +00:00
blakeross%telocity.com
d784c3c4ad begin prefs reorg.
git-svn-id: svn://10.0.0.236/trunk@119172 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:55:17 +00:00
dprice%netscape.com
5392ad6d85 136497 r=jfrancis sr=dveditz
carbonize XPICleanup


git-svn-id: svn://10.0.0.236/trunk@119171 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:54:39 +00:00
mcafee%netscape.com
2ac08519dd Improve error messages, print full path of offending directory.
git-svn-id: svn://10.0.0.236/trunk@119170 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:51:58 +00:00
jgmyers%netscape.com
ecd4736934 Remove unneeded ForceHandshake code which broke IMAP/SSL over SOCKS: bug 133434 r=kaie@netscape.com sr=brendan@mozilla.org a=asa
git-svn-id: svn://10.0.0.236/trunk@119169 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:49:33 +00:00
shanjian%netscape.com
f4874eb280 #132006 Traditional Chinese is detected as Simplified Chinese
correct a mistake in gb18030 machine, class number is incorrect.
r=ftang, sr=shaver@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@119168 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:48:06 +00:00
naving%netscape.com
dc441272f9 134291 r=mscott sr=bienvenu Make migration for 2nd profile having imap accts work. The fix is to make imapHostSessionList listen for profile-before-change topic and reset all the host (resetAll).
git-svn-id: svn://10.0.0.236/trunk@119167 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:42:16 +00:00
varada%netscape.com
33c22cf15a fix for 58506;smtp panel doesnt get refreshed in account wizard;r=srilatha;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@119166 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:41:06 +00:00
wtc%netscape.com
13bd4b2242 Bugzilla bug 133584: PK11_SaveSMimeProfile also needs to free free_slot if
it returns on error.


git-svn-id: svn://10.0.0.236/trunk@119165 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:40:07 +00:00
sfraser%netscape.com
f967908741 Fix for bug 137295; work around a bug in Mac OS X that causes bad drawing of images with 1-bit masks when the destination port has a non-empty clip region. r=pinkerton, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@119162 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:35:28 +00:00
heikki%netscape.com
0a3e483e19 Bug 137632, effectively back out bug 59774 for XML. Going back/forward in history positions us correctly with anchors again. r=radha, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119161 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:21:54 +00:00
hwaara%chello.se
b2a21de438 #128527, "disabling a radiobutton doesn't disable the text".
r=andreww, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@119160 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:20:09 +00:00
dbragg%netscape.com
cf94efafad Regular milestone update of localeVersion values to 1.0.0. Bug 126785. r=tao, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@119159 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:19:10 +00:00
smontagu%netscape.com
9a0c591863 Bring the behaviour of Is[Lower|Upper]Case into line with nsCRT::Is[Lower|Upper]. Bug 137505, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@119158 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:18:58 +00:00
bnesse%netscape.com
465d569ee0 Fix for bug 113464. Don't free unallocated objects. r=peterl, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@119157 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:16:16 +00:00
jj%netscape.com
643753d4bb landing fix for #134227 on the trunk: Updated Mozilla installer strings to 1.0.0+. r=leaf, sr=granrose
git-svn-id: svn://10.0.0.236/trunk@119156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:16:15 +00:00
mscott%netscape.com
1fc62b8469 Bug #134745 --> don't call DestroyIcon on shared resources like the
biff icon. This can cause a yellow triangle to appear instead of the icon.
r=naving
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@119155 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:13:20 +00:00
jj%netscape.com
be1ab4791d landing fix for #134223 on the trunk: udpate Finder's Get Info strings to 1.0.0+ for OS9 and OSX. r=asaki, sr=granrose.
git-svn-id: svn://10.0.0.236/trunk@119154 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:12:06 +00:00
dbragg%netscape.com
ed118d2c4a Regular milestone update of localeVersion values to 1.0.0. r=tao, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@119153 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:08:13 +00:00
harishd%netscape.com
b95d0f6708 Initialize token allocator, in the BuildModel() regardless of whether a sink is available or not. b=137644, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@119151 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 22:04:26 +00:00
bryner%netscape.com
53a85150d9 Make sure tab and shift-tab go through all recipients in the mail addressing widget, not just recipients that are scrolled into view. Bug 124304, r=ben, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@119150 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 21:58:53 +00:00
blythe%netscape.com
20fa342f71 Fix bug 135807
Embedding tests need module name to work with modsquad scripts.
r=cls sr=alecf


git-svn-id: svn://10.0.0.236/trunk@119149 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 21:52:25 +00:00
blythe%netscape.com
3552b57b29 fix bug 134737, gmake win32 trace-malloc gd enabled build, r=dp sr=alecf
git-svn-id: svn://10.0.0.236/trunk@119148 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 21:50:01 +00:00
waterson%netscape.com
2f4bf0ccb6 Bug 137378. Stop ancestor frame notification at a frame that is an NS_FRAME_REFLOW_ROOT. r=karnaze, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@119147 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 21:19:32 +00:00
sonja.mirtitsch%sun.com
9523e62873 changes for jdk 1.4; and mccrel move
git-svn-id: svn://10.0.0.236/trunk@119144 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 20:57:42 +00:00
chak%netscape.com
3289e588d3 Fix for #135226 - 256 color palettes should be selected as background palettes
(Checking in patch for saari)
r=blythe, sr=waterson, a=adt for checkin to trunk


git-svn-id: svn://10.0.0.236/trunk@119141 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 20:54:23 +00:00
mozilla.BenB%bucksch.org
06ea7568a8 Fixing mac build. Forgot to check in the mac build system change :-(.
Also forgot a little debug change.


git-svn-id: svn://10.0.0.236/trunk@119140 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 20:44:46 +00:00
bnesse%netscape.com
20d66bf5cc Fixing syntax in filter check. Thanks to timeless.
git-svn-id: svn://10.0.0.236/trunk@119138 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:59:50 +00:00
sfraser%netscape.com
9083c95915 Fix for bug 127362 -- incremental scrolling gets slower and slower. Make sure that we shift window->visRgn to the correct coordinates before doing region math, and ensure that HandleUpdateEvent() leaves the port in the way that it found it. r=pinkerton, sr=beard.
git-svn-id: svn://10.0.0.236/trunk@119137 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:53:30 +00:00
bnesse%netscape.com
05ae10cd22 macprefs.js not macpref.js stupid....
git-svn-id: svn://10.0.0.236/trunk@119136 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:44:46 +00:00
mozilla.BenB%bucksch.org
5556c3ba54 Fixing win32 bustage, hopefully.
git-svn-id: svn://10.0.0.236/trunk@119135 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:28:51 +00:00
bzbarsky%mit.edu
a9b0ea2da1 Fix crash on copy of text with embedded nulls. Bug 136278, r=brade, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@119133 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:16:33 +00:00
pinkerton%netscape.com
ffa1ccf893 package xul security dialogs in embedding. also add appcomps to embed to get session history. r=ccarlen/sr=alecf. bug# 135211
git-svn-id: svn://10.0.0.236/trunk@119131 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:09:57 +00:00
pinkerton%netscape.com
cfb9aa9baa get tabs looking better and fix some enabling/active issues with the drawing logic. r=pink/sr=hyatt. patch from ajfeldman@brown.edu. bug# 134447
git-svn-id: svn://10.0.0.236/trunk@119130 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:02:15 +00:00
mscott%netscape.com
f96e7c4924 remove an obsolete #ifdef DEBUG_mscott
git-svn-id: svn://10.0.0.236/trunk@119129 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:54:04 +00:00
bnesse%netscape.com
373960b5ed Removing files eliminated by bug 132140. r=dveditz, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@119128 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:51:11 +00:00
bzbarsky%mit.edu
28dfd0c812 Bug 113015 -- page info sometimes says "not cached" for cached
content. r=db48x, sr=darin


git-svn-id: svn://10.0.0.236/trunk@119127 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:48:36 +00:00
bnesse%netscape.com
32ce7d6556 Fix for bug 132140. Clean up prefs backend. r=dveditz, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@119126 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:48:19 +00:00
bnesse%netscape.com
e081a717ed Adding new files for bug 132140. r=dveditz, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@119125 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:43:00 +00:00
mozilla.BenB%bucksch.org
054bc5840d 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

We achieve that by either
- removing offending HTML tags/attributes
- using the plaintext alternative (if existing) or converting HTML to plaintext and back to HTML (if there's only HTML) or
- rendering the HTML source.

r=ducarroz, sr=bienvenu

This is the libmime backend. It adds 2 new libmime classes for the HTML conversion, code to select the right libmime classes and some other helperstuff/tweaks.


git-svn-id: svn://10.0.0.236/trunk@119124 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:41:45 +00:00
mozilla.BenB%bucksch.org
0a8425612e 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

We achieve that by either
- removing offending HTML tags/attributes
- using the plaintext alternative (if existing) or converting HTML to plaintext and back to HTML (if there's only HTML) or
- rendering the HTML source.

r=ducarroz, sr=bienvenu

This is the libmime backend. It adds 2 new libmime classes for the HTML conversion and some other switching code.

Adding new files


git-svn-id: svn://10.0.0.236/trunk@119123 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:36:34 +00:00
mozilla.BenB%bucksch.org
8988994c68 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

We achieve that by either
- removing offending HTML tags/attributes
- converting HTML to plaintext and back to HTML or
- rendering the HTML source.

This is the pref UI, a View submenu


git-svn-id: svn://10.0.0.236/trunk@119122 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:32:41 +00:00
bnesse%netscape.com
5395eb726a Fix for bug 123787. Insure gRoot is allocated before attempting to free it. r=sfraser, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@119121 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:32:31 +00:00
mozilla.BenB%bucksch.org
514deaf847 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

We achieve that by either
- removing offending HTML tags/attributes
- converting HTML to plaintext and back to HTML or
- rendering the HTML source.


git-svn-id: svn://10.0.0.236/trunk@119120 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:31:21 +00:00
bernd.mielke%snafu.de
a18f62af95 fix viewer for windows gmake builds bug 136942 r=cls sr=attinasi,
probably the last viewer fix for the viewer-Goliath, as David is
already around the corner ...


git-svn-id: svn://10.0.0.236/trunk@119119 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:31:16 +00:00
mozilla.BenB%bucksch.org
88a779e421 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

This class removes every HTML tag/attribute that is not explicitly allowed from the source.
Adding new class to build
r=akk, sr=jst


git-svn-id: svn://10.0.0.236/trunk@119118 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:24:14 +00:00
mozilla.BenB%bucksch.org
0881360414 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

This class removes every HTML tag/attribute that is not explicitly allowed from the source.
Adding new files
r=akk, sr=jst


git-svn-id: svn://10.0.0.236/trunk@119117 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:19:09 +00:00
hwaara%chello.se
fffc33ba03 #137382, cleanup handling of SVG namespace, and remove old bogus namespace.
r=afri (not part of default build)


git-svn-id: svn://10.0.0.236/trunk@119116 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:13:13 +00:00
mcafee%netscape.com
1c8dd0fa5b Minor comment changes, not part of main mozilla build.
git-svn-id: svn://10.0.0.236/trunk@119115 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:11:37 +00:00
timeless%mac.com
2a70c77497 Bug 137780 lots of warnings about unhandled enum and a complaint about
using an unscoped nsCOMPtr in a switch
r=dbradley sr=jst


git-svn-id: svn://10.0.0.236/trunk@119114 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:09:53 +00:00
ftang%netscape.com
b4d1dd7f31 fix bug 131837 r=nhotta sr=kin. fix simp chinese to unicode mapping table for several sites
git-svn-id: svn://10.0.0.236/trunk@119111 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 14:55:59 +00:00
timeless%mac.com
2efde25601 disable-bidi bustage, bug 82151
r=biesi


git-svn-id: svn://10.0.0.236/trunk@119110 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 14:49:29 +00:00
cbiesinger%web.de
79dff9ec82 bug 104825 r=caillon sr=attinasi
ABBR and ACRONYM should not have arrow/question cursor


git-svn-id: svn://10.0.0.236/trunk@119109 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 14:34:23 +00:00
bienvenu%netscape.com
df68575100 fix copying imap/news msgs while offline without msg body and make copying multiple messages while offline work r=naving, sr=sspitzer 131047 also land fix for handling failure in local move copy that's been in my tree, r=naving, sr=sspitzer and closing local db's after copying messages into them r=naving, sr=sspitzer 114211
git-svn-id: svn://10.0.0.236/trunk@119108 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 14:20:35 +00:00
brade%netscape.com
7d0bbdd4d3 bug 136413, submitted by rcassin@supernova.org (r=brade, sr=kin) use "host (scheme)" for default site name
git-svn-id: svn://10.0.0.236/trunk@119106 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 14:14:25 +00:00
ducarroz%netscape.com
2b22f4af87 Fix for bug 136008. Do not cache the compose window if it's the last window else that will prevent the application to shutdown. Patch submitted by antonio.xu@sun.com. R=ducarroz, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@119104 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 13:51:32 +00:00
timeless%mac.com
65f476eaaa gmake bustage, bug 129347
r=peterv


git-svn-id: svn://10.0.0.236/trunk@119103 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 13:44:49 +00:00
brade%netscape.com
f80bbee807 bug 134503; put click handler on body rather than editor so scrollbar is not affected (r=akkana, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@119102 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 13:30:40 +00:00
kin%netscape.com
fd00e605c9 Fix for bug 68331 (Moving caret in TEXTAREA to start of line can cause page to scroll horizontally)
- Modified GetSelectionRegionRectAndScrollableView() to clip
  aRect so that it is completely within the bounds of the
  scrolledView. This insures that other scrolled views in
  the parent hierarchy will not scroll more than they have to.

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


git-svn-id: svn://10.0.0.236/trunk@119101 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 13:30:28 +00:00
rdayal%netscape.com
8af73fac38 fix for bug # 129347, trunk checking
resolves hang in MAPI Client in certain cases when doing MAPI Send
fixes an attachment leak here
r=ducarroz, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@119100 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 12:43:30 +00:00
rdayal%netscape.com
6336d0c479 fix for bug # 129347, trunk checkin
resolves hang in MAPI Client in certain cases when doing MAPI Send
r=ducarroz, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@119099 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 12:36:21 +00:00
rdayal%netscape.com
e9baf270b6 fix for bug # 129347, trunk checking
resolves hang in MAPI Client in certain cases when doing MAPI Send
r=ducarroz, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@119098 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 12:35:05 +00:00
timeless%mac.com
282a30f615 Bug 137495 TestDeque tries to delete a static class
r=caillon rs=darin


git-svn-id: svn://10.0.0.236/trunk@119097 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 12:05:43 +00:00
peterv%netscape.com
eb1e6e2ca8 Fix for bug 132300 (Need a better way to bootstrap an XPathEvaluator). r=pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119096 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 11:57:17 +00:00
peterv%netscape.com
c4c01eee2c Fix for bug 56087 (XSLTProcessor::TransformDocument can't work on existing document). r=harishd, sr=heikki.
git-svn-id: svn://10.0.0.236/trunk@119095 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 09:26:04 +00:00
bbaetz%student.usyd.edu.au
a5d4b479a4 bug 117718 - Mass Change removes a bugs groupset if the bug was in the
wrong product group
r=justdave x2


git-svn-id: svn://10.0.0.236/trunk@119094 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 08:29:01 +00:00
bbaetz%student.usyd.edu.au
bab19bde2c Bug 125427 - Taint error in duplicates.cgi with perl < 5.6
r=gerv, myk


git-svn-id: svn://10.0.0.236/trunk@119093 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 08:25:52 +00:00
bbaetz%student.usyd.edu.au
183c98e9f7 Bug 129420 - mailto: urls not working with PAC
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@119091 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 07:41:47 +00:00
igor%mir2.org
76a458a7fe Fixing bug 137181 so after delete arguments[i], arguments[i] and corresponding function parameter in activation are not shared:
The patch uses the special NOT_FOUND value to flag deleted indexes. It also
make sure that original array object passed to Function.call is not modified,
as all changes goes to cloned copy. It is not necessary for the fix, but it is
the only place in the current Rhino that can alter Object[] array passed to
Function.call and I think it is better to remove this exceptional case.


git-svn-id: svn://10.0.0.236/trunk@119090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 07:28:40 +00:00
igor%mir2.org
8bbd639ae9 In setAttributes(int,...) mask out unused attributes bits in the same as setAttributes(String,...) does
git-svn-id: svn://10.0.0.236/trunk@119089 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 07:24:50 +00:00
sspitzer%netscape.com
ccf58a14b9 until we've got a proper fix for the focus / cursor issue
(bug #130581) we need to turn of the cached compose window
(by default) on linux.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119088 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 07:23:38 +00:00
sspitzer%netscape.com
e142e2424f fix for #137697. about:config generates xpconnect errors
because getImageSrc is not defined.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119087 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 07:18:00 +00:00
sspitzer%netscape.com
c189301a1c explictly call .get(). no bug. r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@119086 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 06:59:14 +00:00
jaggernaut%netscape.com
d8a26b0f43 Bug 121841: <!ENTITY> hangs 0.9.8 and trunk using 100% CPU. r=bryner, sr=scc. With thanks to Jeff Qiu <jeff.qiu@sun.com>.
git-svn-id: svn://10.0.0.236/trunk@119084 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 06:27:16 +00:00
sspitzer%netscape.com
3b5d837bd9 fix build bustage, forgot to check in this file for #134897
git-svn-id: svn://10.0.0.236/trunk@119083 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 06:26:59 +00:00
edburns%acm.org
739f828b40 Webclient compiles and runs with MOZILLA_0_9_9_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@119082 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 06:12:28 +00:00
sspitzer%netscape.com
6a538e9e68 landing cavin's fix for #134897. turbo related bug:
Mail account info and message display not working for new profile created in Quick Launch mode
r=bienvenu, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@119080 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 05:22:35 +00:00
bryner%netscape.com
44e172b98b Adding support for optgroups for XBL form controls (bug 130115). r=jkeiser, varga sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119078 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 05:09:35 +00:00
jaggernaut%netscape.com
af4e22d49e Bug 128965: Better icons for components in Window menu. r=marlon, sr=jag
git-svn-id: svn://10.0.0.236/trunk@119076 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:39:13 +00:00
justdave%syndicomm.com
08b9c8baaf Fix for bug 137669: remove <nobr> tags from attachment status lists
Patch by Jeffrey Baker <jwbaker@acm.org>
r= justdave x2


git-svn-id: svn://10.0.0.236/trunk@119075 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:25:21 +00:00
jefft%netscape.com
8a90bdb33a fixed bug 133437 - Sent Copy of MDN Request messages should have MSG_FLAG_MDN_REPORT_NEEDED turned off; r=ducarroz, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@119074 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:18:19 +00:00
jefft%netscape.com
ed08b7175b fixed bug 136476 - MDN:If you filter mesgs and receive a mesg that is
requesting RR, you are prompted to send the RR before you actually click
on the mesg; r=bienvenu, sr=sspitzer

fixed bug 133437 - Sent Copy of MDN Request messages should have
MSG_FLAG_MDN_REPORT_NEEDED turned off; r=ducarroz, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119073 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:16:40 +00:00
bzbarsky%mit.edu
30bc7a2891 Fix the "Close" menuitem and keyboard shortcut in Inspector. r=hwaara,
sr=hewitt.


git-svn-id: svn://10.0.0.236/trunk@119072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:14:49 +00:00
jefft%netscape.com
b565343992 fixed bug 136476 -MDN:If you filter mesgs and receive a mesg that is requesting RR, you are prompted to send the RR before you actually click on the mesg; r=bienvenu, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@119071 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:13:09 +00:00
bzbarsky%mit.edu
e3d1f58b1c cloneNode() needs to copy the "style" attr as an HTMLValue, not as a
string.  Bug 137428, r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@119070 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:12:03 +00:00
shanjian%netscape.com
8514f72223 #128154 Crash: opening non-ascii attachments
replace default "default char" from "?" to "_".
r=ftang, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@119069 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:10:54 +00:00
matty%chariot.net.au
2477beaf12 Release notes update.
git-svn-id: svn://10.0.0.236/trunk@119067 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:03:30 +00:00
bryner%netscape.com
bbc0df6f1d Oops, I meant to remove this files when I removed the old XBL form controls (bug 137483). These are no longer in the tree.
git-svn-id: svn://10.0.0.236/trunk@119066 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 04:00:58 +00:00
seawood%netscape.com
f1970f74c1 Add nsIMacTextInputEventSink to XPIDLSRCS.
Fixing OSX mach-o tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@119064 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 03:54:11 +00:00
morse%netscape.com
687e7a6c73 bug 62348, treat unescaped slash in query string correctly, coder=sn@neopoly.de, r=morse, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@119061 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 03:13:20 +00:00
ccarlen%netscape.com
e67f99d6b3 Fixing bustage - needs #if TARGET_CARBON
git-svn-id: svn://10.0.0.236/trunk@119056 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:46:14 +00:00
mjudge%netscape.com
971c0c3c10 82151 r=jfrancis sr = kin
git-svn-id: svn://10.0.0.236/trunk@119055 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:42:09 +00:00
mjudge%netscape.com
7c514c7a2d r= jfrancis sr= kin
git-svn-id: svn://10.0.0.236/trunk@119054 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:39:54 +00:00
mscott%netscape.com
d6312bc6eb Bug #134745 --> prevent multiple biff calls from trying to
show an animated alert when we are already showing an alert.

Bug #133130 --> fix a race condition that caused the notification icon
to never go away.

r=bhuvan
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@119050 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 01:40:42 +00:00
dougt%netscape.com
00a9390fb5 fix mac build bustage
git-svn-id: svn://10.0.0.236/trunk@119049 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 01:25:24 +00:00
varga%utcru.sk
c8db1a769f Fix for bug 137178 - Outliner tree expanded by default, should not be.
- prevent insertions to closed containers
r=sgehani/varga, sr=hewitt, patch=sgehani,varga


git-svn-id: svn://10.0.0.236/trunk@119047 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 01:12:22 +00:00
morse%netscape.com
32f416081d bug 137551, form manager stopped working, sr=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@119045 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 01:03:11 +00:00
relyea%netscape.com
8eb6106686 Don't free the temp secmod.db name until we are through using it.
git-svn-id: svn://10.0.0.236/trunk@119044 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:24:34 +00:00
shliang%netscape.com
a3f82b7e39 137211 - change Netcenter reference in absync to Netscape.com. r=ssu,sr=sspitzer,a=asa
git-svn-id: svn://10.0.0.236/trunk@119043 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:15:25 +00:00
mcafee%netscape.com
53053a425c Stub file for generated modules.mk, part of future embed build mechanism, not used by mozilla. r=garrett.
git-svn-id: svn://10.0.0.236/trunk@119042 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:13:33 +00:00
despotdaemon%netscape.com
c9c1107042 Pseudo-automatic update of changes made by myk@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@119041 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:13:06 +00:00
bienvenu%netscape.com
c442f87092 put up error message when user tries to move/copy messages not downloaded for offline use to local folders r=naving,sr=sspitzer 131047
git-svn-id: svn://10.0.0.236/trunk@119038 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:09:43 +00:00
shliang%netscape.com
507b785098 134801 - Account Manager panels sorted incorrectly - r=bhuvan,sr=sspitzer,a=asa
git-svn-id: svn://10.0.0.236/trunk@119037 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:08:44 +00:00
heikki%netscape.com
76fc825460 Bug 128541, make send(null) work again. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119031 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 00:02:58 +00:00
dougt%netscape.com
b7bc680fcc removing #error to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@119027 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:57:42 +00:00
ftang%netscape.com
ad2ed72858 fix bug 110726. Add carbon event handler for Text Input event to handle input methods r=ccarlen sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@119025 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:53:11 +00:00
ftang%netscape.com
77a58c15ab fix bug 110726. r=ccarlen sr=sfraser a=asa add CTextInputEventhandling.cpp
git-svn-id: svn://10.0.0.236/trunk@119024 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:51:13 +00:00
ftang%netscape.com
aade862b31 fix bug 110726. add carbon event handler for Text Input events. r=ccarlen sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@119021 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:49:29 +00:00
ftang%netscape.com
9983fb0ade fix bug 110726. r=ccarlen sr=sfraser a=asa . implement nsIMacTextInputEventSink on nsMacWindow so embdding application can send in Input Method events.
git-svn-id: svn://10.0.0.236/trunk@119020 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:47:05 +00:00
colin%theblakes.com
b4dacc8d9c Make printing work again on OpenVMS.
b=136884 r=rods sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119019 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:47:02 +00:00
ftang%netscape.com
7b220e60c4 fix 110726. add new idl for mac embedding r=ccarlen sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@119018 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:45:27 +00:00
darin%netscape.com
20c598b6e8 fixes bug 136216 "[viewpoint] GetURL fails on https file when the file is
partially in the browser's memory cache" r=serge sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@119017 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:45:07 +00:00
joki%netscape.com
38545b4f98 Fix for bug 135345, have input element check its own focus state before attempting to set focus to itself to avoid possible recursion inside onfocus handlers. r:jkeiser, sr:jst
git-svn-id: svn://10.0.0.236/trunk@119015 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:29:15 +00:00
gerv%gerv.net
5f70d85ddd Bug 121247 - enter_bug comment templates. Template method for amalgamation of free-form enter_bug text fields into the description. Patch by gerv; 2xr=myk.
git-svn-id: svn://10.0.0.236/trunk@119014 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:17:03 +00:00
naving%netscape.com
907f271f54 136784 r=bienvenu sr=mscott. Make compact local folders work for out-of-date summary files
and skip the folder if we are in middle of building msf file(parsing kicked off by selecting folder).


git-svn-id: svn://10.0.0.236/trunk@119013 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 23:05:07 +00:00
dcone%netscape.com
9b4f2d2de6 b=135208 r=kmmclusky,sr=attinasi,a=asa. This just updates some of the reviewers comment
into the fix that was not there.  This fixed the color output of text


git-svn-id: svn://10.0.0.236/trunk@119012 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:58:35 +00:00
smontagu%netscape.com
35003c5081 (Checkin for Roland.Mainz@informatik.med.uni-giessen.de). Bug 127520 "Large pictures print corrupted", r=db48x, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119011 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:57:12 +00:00
mkaply%us.ibm.com
43a21f2eba #59403
r=pedemont, sr=blizzard, a=asa
OS/2 only - beginning of drag/drop


git-svn-id: svn://10.0.0.236/trunk@119010 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:56:31 +00:00
mkaply%us.ibm.com
909008d4a0 #135795
r=cls, a=asa
Disable mkdepend on OS/2 for now.


git-svn-id: svn://10.0.0.236/trunk@119009 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:54:51 +00:00
heikki%netscape.com
e5db6b53ff Bug 136788, when going back and forth in history we still need to call StartLayout and EndLoad. Patch from peterv, r=jst, sr=heikki.
git-svn-id: svn://10.0.0.236/trunk@119008 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:53:58 +00:00
dougt%netscape.com
baa3697d5a XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119007 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:52:15 +00:00
dbaron%fas.harvard.edu
1ddd386e5e Remove bitrotted DEBUG_RULES code. Clean up RULE_HASH_STATS debugging code. Add comments to HasStateDependentStyle, and speed it up by making IsStateSelector match only what it needs to. Clean up GetRuleCascade by sorting the final array in non-reversed order and merging BuildStateEnum and BuildHashEnum. b=128743 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@119006 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:49:26 +00:00
srilatha%netscape.com
0759f808fd Fix for bug #129708. MultiByte BaseDN is garbled in Directory Server properties dialog
r=ducarroz, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@119005 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:46:07 +00:00
bienvenu%netscape.com
c078b49bb7 100871 compacting offline imap stores marks messages read r=navin, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@119004 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:41:15 +00:00
dougt%netscape.com
9ab3a7e18a Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119003 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:39:43 +00:00
dougt%netscape.com
ae02918975 Addresses some native component loader thread issues. Makes use of the threadsafe version of nsISupports. Adds comments to IDL it indicate that AutoRegister can only be called from the main thread. See 98755 for details. r=jband@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119002 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:36:59 +00:00
jst%netscape.com
bce0c1cd5f Comment changes only...
git-svn-id: svn://10.0.0.236/trunk@119001 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:36:52 +00:00
ducarroz%netscape.com
76f6f57994 Fix for bug 134729. Remove cols attibute passed down when user press the delete key and instead add a function to calculate the number of columns. R=varada,shuehan SR=sspitzer
git-svn-id: svn://10.0.0.236/trunk@119000 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:33:26 +00:00
dougt%netscape.com
b530f8011e Fix for shutdown crash [@PR_EnterMonitor] called with a deleted monitor on the MemoryFlusher thread. 135330. r=brendan@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118999 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:33:03 +00:00
myk%mozilla.org
884e902c8b Fix for bug 134198: Warns installations about Apache configuration issue with security ramifications.
Fix by Gregory Leblanc <gleblanc@linuxweasel.com>.
Docs fix, no review needed.


git-svn-id: svn://10.0.0.236/trunk@118998 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:30:29 +00:00
dbaron%fas.harvard.edu
a1c65dd9f5 Fix event state changes on some UI buttons by not overwriting a true result from HasStateDependentStyle with a false one. b=137067 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@118997 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:28:54 +00:00
tor%cs.brown.edu
0b1e282591 Bug 53597 - gamma correction was missing RGB jpeg images on unix.
r=biesi, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@118996 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:28:09 +00:00
dougt%netscape.com
a17830dad4 XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118995 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:26:29 +00:00
bryner%netscape.com
74861abc91 Make sure nsDocShell::GetVisibility returns false if we are inside a hidden pane of a deck; this prevents ctrl+tab from focusing these documents (which causes focus to appear lost). Bug 106123, r=jkeiser, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@118994 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:25:17 +00:00
bryner%netscape.com
82f8d2ff51 Removing the old versions of the xbl form controls from the tree (bug 137483). r=pinkerton, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@118993 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:21:28 +00:00
shrutiv%netscape.com
b808c1199b Fix for bug 121914: Default ports for mail and news (r=smeredith)
git-svn-id: svn://10.0.0.236/trunk@118991 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 21:05:07 +00:00
ian.mcgreer%sun.com
7c1a3c929d bug 63815, AIX compiler fails to build ckhelper.c in debug mode
git-svn-id: svn://10.0.0.236/trunk@118990 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 21:04:00 +00:00
edburns%acm.org
579dbe6ec7 M Makefile.win
M dom/jni/javaDOMEventsGlobals.cpp
M dom/jni/makefile.win
M dom/jni/nativeDOMProxyListener.cpp
M dom/jni/nativeDOMProxyListener.h
M dom/jni/org_mozilla_dom_events_EventImpl.cpp
M dom/src/makefile.win
M dom/src/nsJavaDOMImpl.cpp
M webclient/Makefile.win
M webclient/classes_spec/Makefile.win
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/ProfileManagerImpl.java
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/CurrentPageActionEvents.cpp
M webclient/src_moz/HistoryActionEvents.cpp
M webclient/src_moz/HistoryImpl.cpp
M webclient/src_moz/InputStreamShim.cpp
M webclient/src_moz/Makefile.win
M webclient/src_moz/NativeEventThread.cpp
M webclient/src_moz/NativeEventThreadActionEvents.cpp
M webclient/src_moz/NavigationActionEvents.cpp
M webclient/src_moz/NavigationImpl.cpp
M webclient/src_moz/PreferencesActionEvents.cpp
M webclient/src_moz/PromptActionEvents.cpp
M webclient/src_moz/RDFActionEvents.cpp
M webclient/src_moz/win32/Makefile.win

Changes to make webclient compile and run with MOZILLA_0_9_9_BRANCH.


git-svn-id: svn://10.0.0.236/trunk@118989 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 17:38:52 +00:00
ian.mcgreer%sun.com
d1d308ecd3 fix bbroken solaris x86 build
git-svn-id: svn://10.0.0.236/trunk@118988 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 16:20:39 +00:00
ian%hixie.ch
ca25fac4fe Clarifying the position on whether we accept input or not. We don't. Go away.
git-svn-id: svn://10.0.0.236/trunk@118987 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 15:42:13 +00:00
ian.mcgreer%sun.com
f87d824279 bug 135521, change cert lookups on tokens to be actual finds instead of traversals
git-svn-id: svn://10.0.0.236/trunk@118986 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 15:22:11 +00:00
brade%netscape.com
f7166e0631 bug 135862, use correct strings for new composer window (submitted by cmanske, r=brade, sr=kin, a=rjesup, adt=jaime, l10n=rchen)
git-svn-id: svn://10.0.0.236/trunk@118985 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 14:42:09 +00:00
ian.mcgreer%sun.com
7f7995e833 fix a cert reference leak in strsclnt
git-svn-id: svn://10.0.0.236/trunk@118983 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 14:24:15 +00:00
rods%netscape.com
e1f791f3b4 Backed out the one line that causes this to happen
64165 r=jkeiser sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118981 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 13:39:00 +00:00
rods%netscape.com
2cdba8dc7e Original check work with passing back NS_OK, it appears something in the front-end
may have changed. Passing back NS_ERROR_FAILURE now works. (maybe should have been that
in the first place)
Bug 136185 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118980 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 13:30:32 +00:00
rods%netscape.com
657b01c9ea For PP cache the zoom and zoomtext scale factors and reset then back into the DC when leaving PP.
Bug 136785 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118979 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 13:22:05 +00:00
kaie%netscape.com
c48807e87c b=136908 Make CRL manager UI work again.
r=kaie sr=ben


git-svn-id: svn://10.0.0.236/trunk@118978 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 12:18:13 +00:00
bryner%netscape.com
de1d25160d Bug 137468 - use insertafter for mail overlay so that other overlays can insert icons between mail, composer, and addressbook. r=ben, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@118974 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 05:44:38 +00:00
jrgm%netscape.com
fe04da14a4 capability to have tinderbox reboot after each build cycle (basically for win9x machines)
git-svn-id: svn://10.0.0.236/trunk@118973 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 05:40:49 +00:00
bryner%netscape.com
ac8c47f3f7 Don't allow the theme css to override the dropdown button min-size. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@118969 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 03:58:26 +00:00
timeless%mac.com
8b3dbd9d32 Bug 92763 Add Windows XP as OS selection for entering/searching bugs
patch by ddk r=bbaetz r=justdave
Bug 135666 Creating bugs: OS detection doesn't work for Internet Explorer, Win NT 4.
patch by ddk+johannes.pellenz@sdm.de r=bbaetz r=justdave

Adds Windows XP to the bugzilla OS list
Activates the Windows XP detection (it was commented out waiting for this fix...)
Makes Windows NT (4) detection match the pattern everything else used


git-svn-id: svn://10.0.0.236/trunk@118968 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 03:54:18 +00:00
bienvenu%netscape.com
d474d32b8c subscribe button broken for sub-folders r=naving, sr=sspitzer 135507
git-svn-id: svn://10.0.0.236/trunk@118967 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 03:08:49 +00:00
jay.yan%sun.com
d5f4a357e2 bug 135663: On Solaris, physical F11 and F12 keys do not map to VK_F11 and VK_F12 keycodes
r=akk, sr=chris blizzard


git-svn-id: svn://10.0.0.236/trunk@118966 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 03:05:24 +00:00
jefft%netscape.com
555ce34237 fixed bug 129418, Switching identity should retain request for MDN receipt options; r=ducarroz, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@118965 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 03:03:12 +00:00
bbaetz%student.usyd.edu.au
df6c1b8739 Bug 129442 - make html of a default installation (mostly) HTML 4.01
transitional compliant
Original patch by chema@ximian.com, modified/extended by
bbaetz@student.usyd.edu.au
r=gerv, justdave


git-svn-id: svn://10.0.0.236/trunk@118964 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 02:48:17 +00:00
bbaetz%student.usyd.edu.au
ebf7ccf4a2 Bug 136751 - warnings with show_bug.cgi
r=justdave x2


git-svn-id: svn://10.0.0.236/trunk@118963 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 02:19:19 +00:00
joki%netscape.com
97d0bb3a1f Fix for 93111, Make table row and col frame invalid as direct targets of mouseevents. Mouseevents on table should hit cells or the table itself instead. r:dbaron, sr:jst
git-svn-id: svn://10.0.0.236/trunk@118962 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 21:52:52 +00:00
joki%netscape.com
34048fc38a Fix for bug 78989, force focus events to go their corresponding view as opposed to using coordinate targeting which can be incorrect. r:roc+moz, sr:jst
git-svn-id: svn://10.0.0.236/trunk@118961 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 21:45:04 +00:00
igor%mir2.org
ac3b5c6c15 Replace VariableTable.getVariable(name) != null by VariableTable.hasVariable(name) and use ObjToIntMap in place of Hashtable
git-svn-id: svn://10.0.0.236/trunk@118960 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 21:32:19 +00:00
igor%mir2.org
eeebf685e0 Make all fields in VariableTable private and use access API to get them in optimizer/OptVariableTable to allow to change VariableTable implementation without changing its usage
git-svn-id: svn://10.0.0.236/trunk@118959 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 21:29:35 +00:00
bernd.mielke%snafu.de
806c98ca85 make rtest.sh windows compatible, this allows windows gmake builds to run
*the* layout regression tests, not part of the build bug 136519 r=jkeiser sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118958 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 17:50:50 +00:00
attinasi%netscape.com
3597699f82 temporary topcrash fix: make sure stale anonymoux content is removed from the undisplayed map when a style sheet is added. b=118014 r=dbaron sr=kin
NOTE: bug 136704 has been opened for making the real fix, and reference to this patch has been noted therein.


git-svn-id: svn://10.0.0.236/trunk@118957 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 15:34:02 +00:00
attinasi%netscape.com
bb192a4154 Backout some diagnostic code. b=134962 sr=waterson r=dbaron
git-svn-id: svn://10.0.0.236/trunk@118956 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 15:16:40 +00:00
kirk.erickson%sun.com
7d73417a6c Resolves 126087. Backed out of slot->keyCount atomic instructions.
git-svn-id: svn://10.0.0.236/trunk@118955 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 14:07:12 +00:00
jfrancis%netscape.com
353f2a4e3c fix for bug 100855: paragraph fromat feedback from editor inaccurate. r=brade; sr=kin
git-svn-id: svn://10.0.0.236/trunk@118951 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 05:57:14 +00:00
bbaetz%student.usyd.edu.au
1a9c1a800a Bug 110980 - no email to cc list when opening new bug
original patch by jake@bugzilla.org, merged to current sources by
bbaetz@student.usyd.edu.au
r=gerv, justdave


git-svn-id: svn://10.0.0.236/trunk@118950 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 04:43:55 +00:00
dbaron%fas.harvard.edu
8fa769bf01 Relanding pavlov's changes for bug 129953, in pieces.
git-svn-id: svn://10.0.0.236/trunk@118949 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 03:37:42 +00:00
jfrancis%netscape.com
0c211fb13a fix for 135337, 132837, 136504, and a side issue from
84485.  The deal here is that the editor is smarter about figuring out what dom nodes appear empty to the user (properly accounting for invisible whitespace and invisible br nodes).  r=glazman; sr=kin


git-svn-id: svn://10.0.0.236/trunk@118948 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 02:37:23 +00:00
timeless%mac.com
aaa1ed1384 Bug 128530 Use |nsISaveAsCharset::attr_EntityAfterCharsetConv| instead of |nsISaveAsCharset::attr_EntityBeforeCharsetConv| in GTK+/Xlib toolkits
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rbs rs=attinasi


git-svn-id: svn://10.0.0.236/trunk@118947 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 01:28:42 +00:00
timeless%mac.com
9213a48a0b Bug 129999 needs ansi-1251 font support in nsFontMetricsGTK/nsFontMetricsXlib
patch by Roland.Mainz@informatik.med.uni-giessen.de r=katakai sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@118946 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 00:40:26 +00:00
dbaron%fas.harvard.edu
c82bf9b58d Relanding pavlov's changes for bug 129953, in pieces.
git-svn-id: svn://10.0.0.236/trunk@118945 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-14 00:27:16 +00:00
jfrancis%netscape.com
937e3eda32 fixing 136944: crash typing in editor. r=fm sr=kin
git-svn-id: svn://10.0.0.236/trunk@118944 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 23:54:59 +00:00
caillon%returnzero.com
57f46e6115 Bug 133764. Unable to change content pack and language pack at once. Patch by kairo@kairo.at, r=dbragg, sr=alecf, a=asa.
git-svn-id: svn://10.0.0.236/trunk@118941 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 22:49:21 +00:00
peterv%netscape.com
ce5b7e4b26 Fix for bug 126691 (need extensions\interfaceinfo build fu). sr=sfraser. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@118940 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 21:57:59 +00:00
peterv%netscape.com
0ee760a574 Keep WSDL building on Mac. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@118939 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 21:56:36 +00:00
peterv%netscape.com
15230759b4 Fix for bug 126691 (need extensions\interfaceinfo build fu). sr=sfraser. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@118938 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 21:38:17 +00:00
hwaara%chello.se
7c014f054f #13702, just fixing some minor typos in the documentation. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@118937 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 19:47:15 +00:00
caillon%returnzero.com
e2892b71b9 Removing duplicate pref. Thanks to jonasj@jonasj.dk for noticing this, and for providing the patch. r=caillon, sr=tor.
git-svn-id: svn://10.0.0.236/trunk@118936 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 19:22:57 +00:00
dbaron%fas.harvard.edu
6343801501 Relanding pavlov's changes for bug 129953, in pieces.
git-svn-id: svn://10.0.0.236/trunk@118935 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 19:00:50 +00:00
dbaron%fas.harvard.edu
fee86da3b9 Fix leak (within the pres shell arena) of lines from nsLineBox::DeleteLineList. b=136764 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@118934 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 18:54:40 +00:00
tor%cs.brown.edu
898c22feac Bug 53597 - another attempt to fix win32.
git-svn-id: svn://10.0.0.236/trunk@118933 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 16:42:26 +00:00
tor%cs.brown.edu
8829797093 Bug 53597 - win32 temporary patch.
git-svn-id: svn://10.0.0.236/trunk@118929 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 15:29:36 +00:00
mkaply%us.ibm.com
faf1e2abb9 Missing paren
git-svn-id: svn://10.0.0.236/trunk@118927 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 14:49:30 +00:00
sicking%bigfoot.com
c122069cd1 Bug 119317: move the "inherits" attribute to the xbl namespace for most clients.
r=hixie sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@118926 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 14:25:38 +00:00
peterv%netscape.com
537df5e7fa Fixing mac bustage.
git-svn-id: svn://10.0.0.236/trunk@118925 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 13:03:26 +00:00
peterv%netscape.com
9afb405395 Fixing mac bustage.
git-svn-id: svn://10.0.0.236/trunk@118923 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 12:52:28 +00:00
tor%cs.brown.edu
8266f56e2f Bug 53597 - attempt to fix macos and os2 bustage.
git-svn-id: svn://10.0.0.236/trunk@118922 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 11:54:38 +00:00
tor%cs.brown.edu
f4b74fad45 Bug 53597 - irix build bustage fix.
git-svn-id: svn://10.0.0.236/trunk@118921 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 11:44:02 +00:00
tor%cs.brown.edu
11d356a740 Bug 53597 build bustage fix.
git-svn-id: svn://10.0.0.236/trunk@118920 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 11:31:37 +00:00
tor%cs.brown.edu
b8025de88e Bug 53597 - consistent gamma correction. r=dbaron, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@118919 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 10:03:59 +00:00
seawood%netscape.com
920e9131fd Make --srcdir autodetection work with activestate perl
Bug #135589


git-svn-id: svn://10.0.0.236/trunk@118917 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 08:39:48 +00:00
seawood%netscape.com
c784e19762 Roll our own version of abs2rel to handle MOZ_OBJDIRs with .. in their path
Bug #135589 r=kaie


git-svn-id: svn://10.0.0.236/trunk@118916 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 08:13:38 +00:00
rbs%maths.uq.edu.au
453cb1ce37 SaveAs leaves private [-|_moz] attributes in the output, b=134298, r=akkana, sr=jst
git-svn-id: svn://10.0.0.236/trunk@118915 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 07:47:21 +00:00
shanjian%netscape.com
d835d70292 #136935 :hover paints over previous link's underline
raise the minimal underline position so that it is within its own area.
r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118913 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 06:08:25 +00:00
cltbld%netscape.com
73b8deda38 Abstractec dist/bin for MacOSX case. Added MacOSX changes to allow for timing performance tests to run. a=saari
git-svn-id: svn://10.0.0.236/trunk@118911 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 05:27:01 +00:00
cotter%netscape.com
2760a316ad ongoing help content updates per bugzilla 1222806 & ADT, r=oeschger; update for edit ciphers section per new UI
git-svn-id: svn://10.0.0.236/trunk@118910 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 05:25:44 +00:00
peterlubczynski%netscape.com
6b9b96a054 Adding support for BP_GetSupportedMIMETypes and NP_GetMIMEDescription on Mac (so Quicktime can play MPEGS) bug 113464 r=bnesse sr=beard
git-svn-id: svn://10.0.0.236/trunk@118909 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 05:10:30 +00:00
aaronl%netscape.com
39b21312e8 Bug 121114. Make links in properties windows keyboard accessible. r=bzbarsky, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@118908 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 05:10:28 +00:00
heikki%netscape.com
f8c0c26eb3 Bug 128326, disable saving XML as complete because it has serious dataloss bugs. r=bzbarsky, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@118907 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 03:37:44 +00:00
peterlubczynski%netscape.com
16f0e2a472 Correctly set visibility of view on DidReflow for cases when our CSS visibility style has changed from visible (windows part) bug 129306 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@118906 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 02:43:58 +00:00
bzbarsky%mit.edu
0fb5284569 Fix bug 135833 (view source not working right when it needs a repost).
r=rpotts, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@118905 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 02:23:52 +00:00
andreww%netscape.com
b9135f3a4f bugzilla 128895 throbber in OSX should not look like a ok/cancel (aqua) button r=shliang sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@118903 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 02:01:52 +00:00
danm%netscape.com
0554eb1b26 changing the format of the comment describing registerNotification, as requested by depstein. bug 99618
git-svn-id: svn://10.0.0.236/trunk@118902 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:55:13 +00:00
stephend%netscape.com
f8375e0e65 Fixing bug 135797. Move it to my 'Sent' folder is the correct text. r=robinf (wording), r=shuehan (code), sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@118901 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:54:31 +00:00
mstoltz%netscape.com
50e08140ae Bug 136993 - Put the "trusted codebase principals" feature back in.
r=harishd, sr=jst, a=valeski


git-svn-id: svn://10.0.0.236/trunk@118900 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:53:46 +00:00
peterlubczynski%netscape.com
31c9c16dac Fixing HIDDEN attribute on EMBED tag and also removing support for it for APPLET tags. Bug 136456 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@118899 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:53:23 +00:00
naving%netscape.com
e31d3745cf 137008 r=bienvenu sr=mscott Make redo work for quick search view if folder was in threaded display mode.
git-svn-id: svn://10.0.0.236/trunk@118898 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:50:18 +00:00
peterlubczynski%netscape.com
281be23cd5 Stop sending bogus menu events to full-page plugins bug 93895 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@118896 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:46:31 +00:00
mscott%netscape.com
9ac8a77967 Bug #135753 --> if we are moving a new message to a new folder, be sure
to reduce the # of new messages count from the source folder

r=naving
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@118895 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:36:59 +00:00
mscott%netscape.com
7e0b2f1e21 Bug #123104 --> fix an inaccuracy in the new mail count. Always reset to 0
if we discover we have no new mail even if the state has already been changed
that way.
r=naving
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@118893 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:36:14 +00:00
mscott%netscape.com
e6d1ac43a9 Bug #135753 --> figure out the folder to select when the user clicks on the animated alert to ensure that we select the right folder.
Bug #135756 --> Only show the animated alert for the first account with new mail.

r=naving
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@118891 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:35:38 +00:00
cltbld%netscape.com
260e81f61c Bug# 134225 - Updated milestone string from 0.9.9+ to 1.0.0+ r=asaki,sr/a=leaf. ycalonje checking in as cltbld
git-svn-id: svn://10.0.0.236/trunk@118888 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 00:58:08 +00:00
edburns%acm.org
dc41ee6c8f Added waitForDebugger.
* Usage: <P>

* Place a call to this method in the earliest possible entry point of
* your servlet app.  It will cause the app to enter into an infinite
* loop, sleeping until the static var keepWaiting is set to false.  The
* idea is that you attach your debugger to the servlet, then, set a
* breakpont in this method.  When it is hit, you use the debugger to set
* the keepWaiting class var to false.


git-svn-id: svn://10.0.0.236/trunk@118883 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 22:57:18 +00:00
shrutiv%netscape.com
1e530da359 Fix for bug 112687: DOS window flashes when installer is launched from
CD Autorun (r=smeredith)


git-svn-id: svn://10.0.0.236/trunk@118882 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 21:20:40 +00:00
myk%mozilla.org
13f0930dee Fix for bug 136227: Corrects syntax error in bash script.
Patch by David Kilzer <ddkilzer@theracingworld.com>.
2xr=afranke


git-svn-id: svn://10.0.0.236/trunk@118880 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 21:15:45 +00:00
sspitzer%netscape.com
393fdee6cd fix for blocker bug #136874. mail/news can't be reopened after closing.
r=shuehan, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@118876 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 21:11:15 +00:00
pschwartau%netscape.com
649f1c5b5c Initial add. Regression test for bug 137181.
git-svn-id: svn://10.0.0.236/trunk@118875 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 21:06:15 +00:00
myk%mozilla.org
7f1cab808b Fix for bug 125660: Templatizes process_bug.cgi.
Patch by Myk Melez <myk@mozilla.org>
r=gerv,bbaetz


git-svn-id: svn://10.0.0.236/trunk@118874 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 21:02:00 +00:00
mikep%oeone.com
824e2bb50a Adding in patch 78956 from danp@oeone.com
git-svn-id: svn://10.0.0.236/trunk@118872 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 20:24:10 +00:00
pschwartau%netscape.com
48521f8b50 Updating status messages to the current format.
git-svn-id: svn://10.0.0.236/trunk@118871 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 20:23:33 +00:00
colinp%oeone.com
4e4eb06890 new graphic for classic skin
git-svn-id: svn://10.0.0.236/trunk@118870 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 19:44:43 +00:00
colinp%oeone.com
f4924d22b0 fix to classic topbar buttons. Many were using the wrong filetype
git-svn-id: svn://10.0.0.236/trunk@118869 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 19:36:19 +00:00
ian.mcgreer%sun.com
087cfad2e3 fix error statement
git-svn-id: svn://10.0.0.236/trunk@118867 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 19:17:48 +00:00
relyea%netscape.com
50406c66c5 Bug 133584: Fix reference leaks which prevent shutdown in NSS and in the tests.
Debug builds can verify correct operation by setting NSS_STRICT_SHUTDOWN, which
will cause an assert if shutdown is called but not all the modules are freed (which
means a slot, key, or cert reference has been leaked).


git-svn-id: svn://10.0.0.236/trunk@118866 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 19:05:21 +00:00
ian.mcgreer%sun.com
0b26715a58 bug 136806, don't authenticate to friendly slots when adding certs
git-svn-id: svn://10.0.0.236/trunk@118865 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 18:07:49 +00:00
mostafah%oeone.com
4527b48616 Unescaping given URL
git-svn-id: svn://10.0.0.236/trunk@118864 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 16:25:27 +00:00
mostafah%oeone.com
20e89a8c29 Removing extra spaces after \ which made the windows makefile unusabel
git-svn-id: svn://10.0.0.236/trunk@118863 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 16:11:23 +00:00
mikep%oeone.com
916905a8a3 Adding in week number to week view.
git-svn-id: svn://10.0.0.236/trunk@118862 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 16:01:54 +00:00
ian.mcgreer%sun.com
dd1f8aa30b testing theory that unmatched atomic increment/decrement is causing occasional tinderbox failures. See bug 126087.
git-svn-id: svn://10.0.0.236/trunk@118861 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 15:51:11 +00:00
mikep%oeone.com
284a69d92c Adding in ability to filter out previous events from unifinder.
git-svn-id: svn://10.0.0.236/trunk@118860 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 15:38:39 +00:00
pinkerton%netscape.com
5d8e16d36c fix bustage
git-svn-id: svn://10.0.0.236/trunk@118859 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 15:26:36 +00:00
pinkerton%netscape.com
ffdf250be4 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@118858 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 15:26:05 +00:00
kin%netscape.com
e4f805dccb Fix for bug 106489 (Text entered in box does not appear)
- Moved MoveChildrenTo() and GetRealFrame() to a point in the
  file where they could be called from my new utility method
  AdjustOutOfFlowFrameParentPtrs().

- Modified MoveChildrenTo() to take an nsFrameConstructorState arg,
  so that it can call my new method AdjustOutOfFlowFrameParentPtrs()
  so that out-of-flow floater frames are reparented to the correct
  containing block when the placeholder is moved under the block
  created in ConstructInline().

r=attinasi@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@118857 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 14:41:40 +00:00
bienvenu%netscape.com
6fa81d0eff fix 123721 can't move/copy imap messages across imap servers r=naving, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@118856 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 14:36:11 +00:00
dcone%netscape.com
ad2aee4f0c b=135208 r=kmcclusk@netscape.com sr=attinasi a=asa Fixed printing of color text when we dont
have a background.


git-svn-id: svn://10.0.0.236/trunk@118855 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 14:30:00 +00:00
dcone%netscape.com
c1204c31aa b=135208 r=kmcclusk sr=attinasi a=asa. Fix darkening of light color text when we print.
git-svn-id: svn://10.0.0.236/trunk@118854 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 14:19:38 +00:00
pinkerton%netscape.com
f4f43a5220 turn off double-buffering on osx with a new method on nsIRenderingContext. r=kmcclusk/sr=sfraser/a=valeski. bug# 78764
git-svn-id: svn://10.0.0.236/trunk@118853 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:56:53 +00:00
kmcclusk%netscape.com
d5af536078 Fix off by one pixel scrolling errors running under 96DPI by replacing the damageRect.ScaleRoundOut(p2t) call with explicit conversion to twips because ScaleRoundOut introduced errors in the pixel to twips conversion. bug 120918; sr=attinasi r=dcone a=asa adt_a=paw
git-svn-id: svn://10.0.0.236/trunk@118852 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:43:32 +00:00
peterv%netscape.com
e6fea376e0 Fix for bug 135895 (XHTML <style> element not working). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@118851 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:24:32 +00:00
mikep%oeone.com
aa3290a439 Fixing problems with drag and drop, adding it in for week view.
git-svn-id: svn://10.0.0.236/trunk@118850 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:20:53 +00:00
dcone%netscape.com
efe0e9c96a b=90751 r=peterl sr=attinasi a=asa Adding printer extensions to OSX
git-svn-id: svn://10.0.0.236/trunk@118849 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:20:04 +00:00
dcone%netscape.com
064ef3ba35 b=90751 r=peterl sr=attinasi a=asa adding Mac OSX printer extensions.
git-svn-id: svn://10.0.0.236/trunk@118848 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:16:13 +00:00
dcone%netscape.com
261a644388 b=90751 r=peterl sr=attinasi a=asa Adding printer extensions to Mac OSX
git-svn-id: svn://10.0.0.236/trunk@118847 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:13:36 +00:00
dcone%netscape.com
ab1c0b6957 b=90751 r=peterl sr=attinasi a=asa. Adding OSX printer dialog extensions
git-svn-id: svn://10.0.0.236/trunk@118846 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 13:12:10 +00:00
brade%netscape.com
694fd42111 build magic to ensure that platform overlays are inserted into jar files despite last modified date (r=pinkerton, sr=sfraser) bug 75898
git-svn-id: svn://10.0.0.236/trunk@118841 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 12:55:29 +00:00
brade%netscape.com
b75c2c926a build magic to ensure that platform overlays are inserted into jar files despite last modified date (r=pinkerton, sr=sfraser) bug 75898
git-svn-id: svn://10.0.0.236/trunk@118840 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 12:46:21 +00:00
caillon%returnzero.com
d283e6e7a2 Bug 117707. Disabling most of the prefs in Edit>Prefs>Advanced>Scripts/Windows was causing real JS scripts to break because it used CAPS. Move the checks for these features into C++, with new prefs. Patch by doronr@naboonline.com (initial work) and caillon@returnzero.com. r=fabian sr=jst a=asa.
git-svn-id: svn://10.0.0.236/trunk@118839 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 10:11:39 +00:00
hyatt%netscape.com
90f86714b6 Context menu code tweaking. NPOB. Cocoa only.
git-svn-id: svn://10.0.0.236/trunk@118838 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 09:39:59 +00:00
hyatt%netscape.com
28fafaf8a8 Context menu code tweaking. NPOB. Cocoa only.
git-svn-id: svn://10.0.0.236/trunk@118837 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 09:22:37 +00:00
law%netscape.com
3f667ae501 Bug 133120; modify check for QuickLaunch specified in registry key so it handles quotes around program name and the fact that -turbo may not be there; r=jelwell, sr=blake
git-svn-id: svn://10.0.0.236/trunk@118834 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 07:04:36 +00:00
seawood%netscape.com
6404d6e9ce Since linux lets you turn off atime updating in some filesystems, check to see if stat()->atime returns an invalid value and use mtime instead.
Bug #136123 r=bryner


git-svn-id: svn://10.0.0.236/trunk@118833 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 06:01:39 +00:00
rpotts%netscape.com
52067fb160 bug #106253 (r=peterl@netscape.com, sr=jst@netscape.com, a=valeski@netscape.com). Make sure that URIs requested by plugins are added to the appropriate loadgroup...
git-svn-id: svn://10.0.0.236/trunk@118832 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 05:59:26 +00:00
kaie%netscape.com
087ba91b66 b=102633 Changed cipher prefs dialog.
Allow the user to enable additional ciphers.
Disable two cipher suites that are no longer in use (said the NSS team).
r=javi/nelsonb/cotter sr=alecf


git-svn-id: svn://10.0.0.236/trunk@118831 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 04:44:29 +00:00
jkeiser%netscape.com
bb87f1e0dc Fix very bad reflow problem in nsBoxToBlockAdaptor (bug 119849). r=hewitt@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118830 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 04:39:48 +00:00
kaie%netscape.com
77d80e392f b=119418 Fix handling of opaque signed S/Mime messages.
Also fixes some other S/Mime issues, as described in the bug.
r=ddrinan/ducarroz/darin sr=alecf


git-svn-id: svn://10.0.0.236/trunk@118829 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 04:26:40 +00:00
relyea%netscape.com
72e0339f45 Update the version field in the handle when doing the automatic update.
git-svn-id: svn://10.0.0.236/trunk@118827 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 03:43:34 +00:00
alecf%netscape.com
893002ab40 argh, continuing to fix bustage
git-svn-id: svn://10.0.0.236/trunk@118826 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 03:39:11 +00:00
mcafee%netscape.com
75e35c292b Setting make for Darwin/macho build
git-svn-id: svn://10.0.0.236/trunk@118824 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 03:31:33 +00:00
alecf%netscape.com
4473b8a870 fix bustage by switching from nsIChromeRegistry to nsIXULChromeRegistry
git-svn-id: svn://10.0.0.236/trunk@118822 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 02:42:13 +00:00
hyatt%netscape.com
eef57b173c Fix for 136985, add api for finding out if a global window is running a timeout or still loading, r=jst, sr=blake
git-svn-id: svn://10.0.0.236/trunk@118821 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 02:15:43 +00:00
hyatt%netscape.com
9a2426429d Fix for 129893, cocoa changes to gfx/layout/view, r=pink, sr=ben
git-svn-id: svn://10.0.0.236/trunk@118820 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 02:05:12 +00:00
alecf%netscape.com
d6b987e7bf fix for bug 119923 - split nsIChromeRegistry into 2 interfaces, one that is XUL-specific
this way we can implement an minimal chrome registry for embedding, that doesn't support all the wacky skin- and locale-switching goodness of XUL.
r=waterson, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@118819 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 01:52:27 +00:00
naving%netscape.com
7d901aa7d8 136973 r/sr=bienvenu. Remove un-necessary EnableNotifications calls when moving msgs to
local folders.


git-svn-id: svn://10.0.0.236/trunk@118818 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 01:30:44 +00:00
harishd%netscape.com
25552a752b Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@118816 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 00:39:05 +00:00
harishd%netscape.com
4737cceba4 Fixed a crash my making sure that the CNavDTD and HTMLContentSink stacks are synchronized when handling a FORM. b=133410, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@118812 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:50:44 +00:00
shliang%netscape.com
c5dc75cf4b 132896 - remove offline mode at startup ui in pref panel - r=ssu,sr=sspitzer,a=asa
git-svn-id: svn://10.0.0.236/trunk@118811 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:40:48 +00:00
darin%netscape.com
17d2fdcdc1 fixes bug 130079 "Importing IE favorites turns spaces into %20 (URL-encoded)"
patch=andreas.otte@debitel.net r=ben sr=darin


git-svn-id: svn://10.0.0.236/trunk@118810 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:18:34 +00:00
rjc%netscape.com
d7559c5aa3 Fix bug # 132493: Mac OS X multiple sheets issue. r=pink sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@118809 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:06:00 +00:00
ian.mcgreer%sun.com
2990f05d49 additional fix for the patch from bug 126087. Must not set symKey->slot to NULL after leaving the freelist lock, or somebody else might pick up the symKey from the freelist, have their slot NULL'ed, and whamo..
git-svn-id: svn://10.0.0.236/trunk@118808 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:05:38 +00:00
andreas.otte%debitel.net
ecbdf3dcf2 fix bug 132254 [Invalid URL confuses mozilla] Don't let
nsStandardURL::Resolve return a parser error on an invalid url, just
ignore it and assume it to be relative, r=morse, sr=darin


git-svn-id: svn://10.0.0.236/trunk@118807 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 22:52:53 +00:00
darin%netscape.com
f922bb94e3 fixes bug 136857 "Enable Pipelining doesn't remain disabled when HTTP 1.0
selected" patch=davidstl@yahoo.com r=brade sr=darin


git-svn-id: svn://10.0.0.236/trunk@118802 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 22:24:02 +00:00
seawood%netscape.com
3a5e4065aa Roll our own version of abs2rel to handle MOZ_OBJDIRs with .. in their path
Bug #135589 r=kaie


git-svn-id: svn://10.0.0.236/trunk@118800 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 22:18:55 +00:00
blakeross%telocity.com
fe0c4ffbc0 127349 - remove partial favicon support. r=ben sr=alecf a=asa
git-svn-id: svn://10.0.0.236/trunk@118798 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 22:02:06 +00:00
igor%mir2.org
abea7cfb18 As Christopher Oliver <coliver@mminternet.com> pointed out, in many execution paths calls to Scriptable.put follows corresponding Scriptable.has with the same name/id, and although the put method implementations in ScriptableObject and IdScriptable use cache for a previously accessed name to avoid expensive name lookups, the corresponding has implementation do use the cache.
These changes add the cache optimization to the has methods and remove cache update from the put methods under the assumption that newly assigned properties would not be used immediately.


git-svn-id: svn://10.0.0.236/trunk@118797 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 21:59:45 +00:00
shrutiv%netscape.com
84234b9d13 Fix for bug 110134: Browser Window's Title bar text not picked up
git-svn-id: svn://10.0.0.236/trunk@118792 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 21:45:23 +00:00
igor%mir2.org
ab92539dc3 As the scope parameter for the bind and getBase methods should never be null, make sure they trigger NullPointerException on "scope == null" to detect bad API usage earlier.
git-svn-id: svn://10.0.0.236/trunk@118790 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 21:36:31 +00:00
timeless%mac.com
e4f258ecce Bug 136925 TestDBM knowingly crashes
test file, review requirement waved by darin
sr=darin


git-svn-id: svn://10.0.0.236/trunk@118789 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 21:35:28 +00:00
pinkerton%netscape.com
49804beecf actually hook up dnd overriding apis to webbrowserchrome. r=brade/sr=blizzard/a=valeski. bug# 136744.
git-svn-id: svn://10.0.0.236/trunk@118788 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 21:33:24 +00:00
syd%netscape.com
f0fcf91f8d Fix for smoketest blocker 13768. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@118787 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 21:17:15 +00:00
mostafah%oeone.com
317b05d578 Added ability in SetServer() function to resolve URLs ( Progress on bug 134008 )
git-svn-id: svn://10.0.0.236/trunk@118785 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 20:46:18 +00:00
mostafah%oeone.com
0284a96a7b Added ability in SetServer() function to resolve URLs ( Progress on bug 134008 )
git-svn-id: svn://10.0.0.236/trunk@118784 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 20:35:04 +00:00
mikep%oeone.com
837d38b32f Starting drag and drop to select events for week.
git-svn-id: svn://10.0.0.236/trunk@118783 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 20:21:50 +00:00
mikep%oeone.com
d49b41f608 Slight change to week view new event calling.
git-svn-id: svn://10.0.0.236/trunk@118782 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 19:56:30 +00:00
mikep%oeone.com
eb005964e1 Adding ability to drag over the day view to select start and end time.
git-svn-id: svn://10.0.0.236/trunk@118780 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 19:18:30 +00:00
ian.mcgreer%sun.com
5d4cebecf9 key should be freed when refcount == 0 after decrement. See bug 126087.
git-svn-id: svn://10.0.0.236/trunk@118779 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 19:15:31 +00:00
brade%netscape.com
55d94f8153 backout changes by pavlov (bug 136677) r=cathleen
git-svn-id: svn://10.0.0.236/trunk@118778 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 18:50:42 +00:00
wtc%netscape.com
91f85eb08c Deleted a printf statement in the Neutrino builds. Bug 135692.
git-svn-id: svn://10.0.0.236/trunk@118777 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 18:34:17 +00:00
ian%hixie.ch
0a25fa0ff3 Some bugs: crashes opening the sidebar, and the fact that the search sidebar is a leeetle broken.
git-svn-id: svn://10.0.0.236/trunk@118776 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 18:34:12 +00:00
wtc%netscape.com
71a791c9a2 Bug 135450: OS/2 only - don't set priority if it is the default.
The patch is contributed by Michael Kaply <mkaply@us.ibm.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@118775 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 18:31:09 +00:00
wtc%netscape.com
cf740de4b1 Bugzilla bug 135448: removed a level of code to make semaphores faster.
This patch is contributed by Michael Kaply <mkaply@us.ibm.com>.
Modified files: _os2 os2cv.c os2vacpp.asm


git-svn-id: svn://10.0.0.236/trunk@118774 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 18:23:57 +00:00
wtc%netscape.com
3418eb99e4 Bugzilla bug 135119: fixed compilation problems on Linux Alpha. r=cls.
git-svn-id: svn://10.0.0.236/trunk@118772 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 18:11:46 +00:00
mikep%oeone.com
3c9b77e858 Showing day numbers and adding double click to launch new events in months besides the current one.
git-svn-id: svn://10.0.0.236/trunk@118770 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 17:03:19 +00:00
mikep%oeone.com
5449823961 Adding in pref for snooze time.
git-svn-id: svn://10.0.0.236/trunk@118769 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 16:49:34 +00:00
pschwartau%netscape.com
d573f597e1 Adding an early return for Rhino; we only want to run this test in SpiderMonkey for now.
git-svn-id: svn://10.0.0.236/trunk@118768 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 16:11:53 +00:00
mikep%oeone.com
dc8f54154a Adding in ability to specify build ID.
git-svn-id: svn://10.0.0.236/trunk@118767 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 15:20:34 +00:00
mikep%oeone.com
157146eb97 Adding in ability to update build ids.
git-svn-id: svn://10.0.0.236/trunk@118766 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 15:12:18 +00:00
oeschger%netscape.com
5a03160045 just updating some mozilla help content, dispensation per 122806, updating per 46917, r=oeschger, author=jayesh sheth
git-svn-id: svn://10.0.0.236/trunk@118764 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:43:36 +00:00
oeschger%netscape.com
89c0c1d527 just updating some mozilla help content, dispensation per 122806, updating per 46917, r=oeschger, author=jayesh sheth
git-svn-id: svn://10.0.0.236/trunk@118762 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:41:29 +00:00
dcone%netscape.com
51670da1ff b = 90751 r=peterl sr=attinasi a=asa Add print options to mac OSX
git-svn-id: svn://10.0.0.236/trunk@118761 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:38:57 +00:00
dcone%netscape.com
c8b3f3be09 b=90751 r=peterl sr=attinasi a=asa Add printer extensions to OSX
git-svn-id: svn://10.0.0.236/trunk@118759 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:37:16 +00:00
seawood%netscape.com
15a81d9be8 Fix link ordering problem when building static components with static gtk.
Bug #136192 r=bryner


git-svn-id: svn://10.0.0.236/trunk@118756 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:30:31 +00:00
pinkerton%netscape.com
2f19e424d1 clean up checking for a golden child menu. don't delete a golden child menu when setting the hidden attribute. that would be bad. r=saari/sr=sfraser/a=asa. bug# 136460
git-svn-id: svn://10.0.0.236/trunk@118755 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:22:52 +00:00
kin%netscape.com
58d6844948 Fix for bug 128136 (Printing disables keyboard movement of caret in textfields)
Added SuppressEventHandlers() utility routine, which PreDestroy()
and CreateAnonymousContent() now call to determine if the controller
unregister/register code should be executed.

r=rods@netscape.com  sr=sfraser@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@118752 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:02:47 +00:00
kin%netscape.com
cb4f8026fd Fix for bug 110940 (order List ID does not display correctly after change )
RenumberListsFor() now calls Invalidate() for a bullet frame if it's ordinal is changed.

r=kmcclusk@netscape.com  sr=waterson@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@118750 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:01:11 +00:00
glazman%netscape.com
295c5fca2a Inserting a special char was disabling all inline styles in composer (due to bad call); b=103213, r=brade, sr=kin, a=rjesup, super-a=jfrancis, rs=jaime
git-svn-id: svn://10.0.0.236/trunk@118749 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 13:48:05 +00:00
cbiesinger%web.de
440584cac1 bug 44716 r=pavlov sr=tor
Mozilla doesn't claim .jfif, .pjpeg, .pjp extensions when checked


git-svn-id: svn://10.0.0.236/trunk@118748 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 13:36:49 +00:00
brade%netscape.com
25515677d5 change progress status icons if cancellation of publish, fix SetProgressFinished to handle cases where we don't have a filename (bug 126258 and 135771) r=cmanske, akkana; sr=kin
git-svn-id: svn://10.0.0.236/trunk@118747 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 13:35:51 +00:00
glazman%netscape.com
bb46744574 Allow Composer's users to remove named anchors w/o having to use Source View; b=80742; r=brade, r=jfrancis, sr=kin, a=asa
git-svn-id: svn://10.0.0.236/trunk@118746 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 13:33:30 +00:00
brade%netscape.com
11a0dda1c3 disable debug output, handle aborted error as a non-error, handle cases where we have a null channel (bugs 135527, 126258, 135771) r=cmanske, akkana; sr=kin
git-svn-id: svn://10.0.0.236/trunk@118745 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 13:27:00 +00:00
nboyd%atg.com
1a079cafd3 Fix for following problem:
hi Norris,

in our product, which makes heavy use of Rhino, we have many Java Objects
we wrap with ECMAScript wrappers, which extend the ScriptableObject class
and implement the Wrapper interface. Those wrappers automagically wrap the
native Java object with the help of a WrapHandler implementation.

we now ran into a problem :

we have a java class with two overloaded static methods like this :
     public class Test {
         public static String create(File f) {}
         public static String create(Custom c) {}
     }

The Custom class exists as a native Java implementation like
     public class Custom {}

and a accompanying ECMAScript wrapper like
     public class CustomWrapper
        extends ScriptableObject
        implements Wrapper {}

in our ECMAScripts we make the wrapper class known as a host object along
the lines of
     defineClass("CustomWrapper");
and can then use the object as a normal ECMAScript host object. no big deal
and working great.

but : the code
     var s = Test.creat( new Custom( "xyz") );
fails with the information, that the methods are ambiguous, which of course
they are not.

Looking at the code of NativeJavaMethod.findFunction() and the helpers in
NativeJavaObject it seems, that the fact of the Custom host object being a
Wrapper is not taken into account. in an easy fix of
NativeJavaMethod.findFunction(), i simply replace all arguments, which are
Wrapper imlpementation by the wrapped object. this solves my problem, but
of course i'm not sure on side effects.

i attach the testcase as well as the fixed NativeJavaMethod class in the
jar file. to run the test with and without the fix, extract the jar and do
     ant test

please let me know, what you think of this.

regards and thanks, f.

Felix Meschberger


git-svn-id: svn://10.0.0.236/trunk@118744 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 12:56:24 +00:00
nboyd%atg.com
f3170be2ce Use hasProperty rather than getProperty to avoid creation of lazily evaluated properties.
git-svn-id: svn://10.0.0.236/trunk@118743 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 12:54:16 +00:00
igor%mir2.org
2837f1aad7 Move code to finalize activation setup from ScriptRuntime to NativeCall not to depend in ScriptRuntime on internals of NativeCall
git-svn-id: svn://10.0.0.236/trunk@118741 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 09:15:44 +00:00
igor%mir2.org
b42ddce943 Removal of "|| caller.originalArgs == null" in the get method as caller.originalArgs is always != null
git-svn-id: svn://10.0.0.236/trunk@118740 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 09:12:45 +00:00
pavlov%netscape.com
bd90e1407a re-landing 129953
git-svn-id: svn://10.0.0.236/trunk@118739 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 07:55:53 +00:00
bbaetz%student.usyd.edu.au
d9eb9f47f7 Bug 121162 - remove unused file booleanchart.html
'patch' by mattyt, r=bbaetz, justdave


git-svn-id: svn://10.0.0.236/trunk@118738 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 07:31:45 +00:00
timeless%mac.com
4545764715 Bug 135903 'Size' items in Page Info hasn't units
patch by db48x@yahoo.com r=biesi sr=alecf a=rjesup


git-svn-id: svn://10.0.0.236/trunk@118735 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 06:40:12 +00:00
timeless%mac.com
ea0605a101 Bug 69295 [RFE] Unable to follow link/copy/drag elements of Page Info, e.g. images
patch by db48x@yahoo.com r=kerz sr=alecf a=rjesup


git-svn-id: svn://10.0.0.236/trunk@118734 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 06:38:31 +00:00
endico%mozilla.org
c4da7fa5da remove spaces from beginning of lines of comments
git-svn-id: svn://10.0.0.236/trunk@118733 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:58:49 +00:00
endico%mozilla.org
99a83aeaa5 add blank line after MozillaTinderboxAll definition
git-svn-id: svn://10.0.0.236/trunk@118732 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:57:26 +00:00
endico%mozilla.org
2682c21cad Tinderbox mysteriously went red. Try moving the comments in MozillaTinderboxAll outside of module definition.
git-svn-id: svn://10.0.0.236/trunk@118731 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:56:11 +00:00
endico%mozilla.org
e869553e01 add mozilla/security/manager to MozillaTinderboxAll since it is pulled
from the trunk, not the NSS branch


git-svn-id: svn://10.0.0.236/trunk@118730 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:47:49 +00:00
pavlov%netscape.com
63ff0ed4b4 backing out changes for 129953...
git-svn-id: svn://10.0.0.236/trunk@118729 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:38:55 +00:00
mcafee%netscape.com
a770b81658 remove ip hack
git-svn-id: svn://10.0.0.236/trunk@118728 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:15:44 +00:00
mcafee%netscape.com
f02c073eb1 remove ip Tp hack
git-svn-id: svn://10.0.0.236/trunk@118727 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:13:39 +00:00
kaie%netscape.com
329b219d40 b=102633 Allow the user to enable additional ciphers, dynamically obtaining a list of ciphers from NSS.
Disable support for two ciphers that are no longer in use.
r=javi/nelsonb/cotter sr=alecf


git-svn-id: svn://10.0.0.236/trunk@118726 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:07:09 +00:00
kaie%netscape.com
939f120b0d b=119481 Fix various unitialized variables.
r=kaie/javi sr=kin


git-svn-id: svn://10.0.0.236/trunk@118725 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 05:01:29 +00:00
seawood%netscape.com
f04b305423 BeOS needs unistd.h for read() and friends.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@118723 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:50:36 +00:00
badami%netscape.com
98be6d6825 HTTP 300 page screws up session history
bug 114982 sr=darin r=rpotts a=asa


git-svn-id: svn://10.0.0.236/trunk@118722 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:46:27 +00:00
kaie%netscape.com
3e6aaf62a0 b=118319 Fix memory leak.
r=javi/wtc sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@118721 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:35:08 +00:00
kaie%netscape.com
d053029b9b b=119481 Fix various unitialized variables.
r=kaie/javi sr=kin


git-svn-id: svn://10.0.0.236/trunk@118720 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:31:53 +00:00
kaie%netscape.com
10548d1ef3 b=129740 Fix client auth with profiles migrated from Communicator.
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@118719 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:24:20 +00:00
kaie%netscape.com
4b2f42cec0 b=132543 Fix crash when downloading CRL
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@118718 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 04:21:18 +00:00
dbaron%fas.harvard.edu
1e850f52c6 Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@118715 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:49:30 +00:00
dbaron%fas.harvard.edu
c719840dba Fix percentage font sizes when all font properties specified (and not inherited) by weaking (again) optimization of not calling parent's GetStyleData. b=132381 r=hyatt sr=waterson
git-svn-id: svn://10.0.0.236/trunk@118713 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:29:40 +00:00
serge%netscape.com
a65806ef7b fix #94895, Flash movie is constantly stopped and restarted, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@118712 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:27:00 +00:00
dbaron%fas.harvard.edu
cbd505bd3b Fix potential leak of view observer (pres shell). b=134664 r=roc+moz sr=jag
git-svn-id: svn://10.0.0.236/trunk@118711 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:26:30 +00:00
seawood%netscape.com
14a386d562 Error 690: "nsSelectsAreaFrame.cpp", line 149 # Nonempty source files must end with a newline that is not preceded by a backslash.
(Fixing HP-UX tinderbox bustage)


git-svn-id: svn://10.0.0.236/trunk@118710 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:25:58 +00:00
dbaron%fas.harvard.edu
1d8c4f5344 Fix topcrash by clearing the view manager's weak pointer back to the pres shell before the pres shell goes away. b=134664 r=roc+moz sr=jag
git-svn-id: svn://10.0.0.236/trunk@118709 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:24:18 +00:00
dprice%netscape.com
0d6d9c8db1 123649 r=mjudge sr=dveditz a=rjesup adt=putterman
fixes crasher in xpi_prepareprocessarguments


git-svn-id: svn://10.0.0.236/trunk@118708 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:13:54 +00:00
jrgm%netscape.com
07d671dad0 get rid of Win32::* uses; this script will run tests with 'cygwin' perl,but not with 'MSWin32' (Activestate) perl
git-svn-id: svn://10.0.0.236/trunk@118707 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:42:41 +00:00
yokoyama%netscape.com
4ab5de56e9 Bug 135476
Fixing regression, Simple typo
in pref-charset.js
/r=ftang, /sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@118706 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:42:37 +00:00
dveditz%netscape.com
257fddc210 prevent chromeless/blank browser after upgrade (bug 135222) r=syd@netscape.com, sr=sfraser@netscape.com, a=rjesup@wgate.com, adt=paw@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118703 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:28:51 +00:00
rods%netscape.com
5391f59ec1 To fix bustage.
git-svn-id: svn://10.0.0.236/trunk@118702 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:28:37 +00:00
depstein%netscape.com
1bcff0c8d9 Added session history listener library and test scripts.
git-svn-id: svn://10.0.0.236/trunk@118701 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:27:47 +00:00
jaggernaut%netscape.com
8880e4d3a9 Bug 37638: URL bar is given focus by default in new window [via accel+N or File > New Navigator Window]
Bug 89835: Window opened up with JavaScript has focus in the URL bar while NN4 and IE put focus on the content area

Focus will now always go to the content area unless we're opening for a blank page.

r=bryner, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@118700 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:20:02 +00:00
dcone%netscape.com
7eecf8f9aa b=121230 r=kmcClusky sr=attinasi a=tor. Fixes PNG rendering 8 bit rendering.
git-svn-id: svn://10.0.0.236/trunk@118699 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:19:23 +00:00
cavin%netscape.com
365b2e2aa7 Fix for 123804. Remember unprocessed child folders until their parent folders show up. r=ducarroz, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@118698 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:18:59 +00:00
waterson%netscape.com
27b2245dbd Bug 135146. Implement NS_FRAME_REFLOW_ROOT to allow reflows for <textarea> and <input type='text'> to be dispatched from the scroll frame within the nsGfxTextControlFrame2. r=kin, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@118697 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:13:41 +00:00
mjudge%netscape.com
5707942d3f fix from 9.8 added to 9.9 and 1.0 branches. moving to trunk as well. small fix for image display
git-svn-id: svn://10.0.0.236/trunk@118696 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:11:23 +00:00
naving%netscape.com
9227d48beb 136443 r=blake sr=sspitzer. Fix "Stop" button|menu to work again in mailnews.
git-svn-id: svn://10.0.0.236/trunk@118695 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:03:30 +00:00
relyea%netscape.com
9753092f2e bug 128586 (and other) importing non-NSS pkcs#12 files.
We need to decode the privatekeyinfo attributes if they exist.


git-svn-id: svn://10.0.0.236/trunk@118692 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:59:43 +00:00
racham%netscape.com
d2c2c16157 Fixing bug 135594. Allowing ISPs to overlay wizard pages to customize mailnews wizard. r/sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@118691 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:55:51 +00:00
rods%netscape.com
926073cd03 Click on the checkbox to get focus to the right spot and then press <tab> to
move between the listboxes.
Bug 64165 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118690 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:53:20 +00:00
rods%netscape.com
dd82de1a8d The real fix is to enable the printing of XUL docs, which is what is crashing.
The best we can do right now is not print XUL Docs. This patch checks to see if
it is a XUL document and if it is it idsplay a dialog and and doesn't Print or
Print Preview.
Bug 136185 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118688 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:45:11 +00:00
rods%netscape.com
5d79a0e67c This patch also fixes a regression from 6.2 where when printing selection it
prints in the top margin of the second (or third, etc.) page.
Bug 134769 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118687 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:34:59 +00:00
rods%netscape.com
b274a573de Add a new attr to PrintObject for identifying POs that are to be hidden, not
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118686 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:33:24 +00:00
darin%netscape.com
1f6d5501d3 fixes bug 136678 "byte range request fails if server returns anything other
than 206" r=dougt sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@118684 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:24:06 +00:00
darin%netscape.com
fd0ff3aab6 fixes bug 135547 "make event queues more robust"
r=danm sr=rpotts,brendan


git-svn-id: svn://10.0.0.236/trunk@118682 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:16:04 +00:00
alexsavulov%netscape.com
d471bf6ed8 fix for bug 107545
added nullchek for a frame pointer
r= kmcckuskey sr= attinasi a=rjesup adt1.0.0+=syd


git-svn-id: svn://10.0.0.236/trunk@118680 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:06:39 +00:00
shanjian%netscape.com
afd38856f3 #76097 Need to include external leading for CJK normal Line-height
Font metrics returns both internal and external leading to layout. Layout
now is responsible for calculating the normalLineHeight. It take consideration
of external leading, and compensate if it does not exist. All these are controled
by a preference switch.

r=rbs, sr=attinasi,


git-svn-id: svn://10.0.0.236/trunk@118679 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:00:40 +00:00
shanjian%netscape.com
da7d80f268 #128181 ncr between 128-159 does not work in html attribute value
Add a function called "AppendNCR" and use this function for all NCR parsing.
r=ftang, sr=jst,


git-svn-id: svn://10.0.0.236/trunk@118678 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 23:37:58 +00:00
cotter%netscape.com
0877eec6bc ongoing privacy & security help content updates per 122806, r=oeschger; misc. minor correx.
git-svn-id: svn://10.0.0.236/trunk@118676 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 23:35:24 +00:00
nelsonb%netscape.com
14d0da3976 Add enum names for use in forward declarations.
git-svn-id: svn://10.0.0.236/trunk@118674 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 23:27:50 +00:00
bryner%netscape.com
24d11bbe0a Fixing the painting of the overlap area between tabs. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@118671 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 23:19:03 +00:00
ian%hixie.ch
698d4541c2 <brendan> failure to use subjunctive in browser/README.html, wahhh
git-svn-id: svn://10.0.0.236/trunk@118670 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 23:18:00 +00:00
leaf%mozilla.org
860772f639 Automated update
git-svn-id: svn://10.0.0.236/trunk@118668 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:56:32 +00:00
mkaply%us.ibm.com
e0e0ed81e5 #136622
r=pedemont, sr=blizzard, a=asa
OS/2 only - rewrite cursor code - support crosshair


git-svn-id: svn://10.0.0.236/trunk@118667 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:55:38 +00:00
pschwartau%netscape.com
0aeda3e829 Adding an early return for SpiderMonkey; we only want to run this test in Rhino.
git-svn-id: svn://10.0.0.236/trunk@118666 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:52:26 +00:00
pschwartau%netscape.com
c0b0a2682b Improving comment.
git-svn-id: svn://10.0.0.236/trunk@118665 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:50:42 +00:00
shanjian%netscape.com
1b1bd16284 #91305 add univerialchardet into unix default extensions list
r=cls sr=hewitt a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/trunk@118664 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:47:01 +00:00
pschwartau%netscape.com
ed6654fc50 Improving Rhino detection by using the new inRhino() function in the utility file shell.js
git-svn-id: svn://10.0.0.236/trunk@118663 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:44:14 +00:00
pschwartau%netscape.com
8569e5d014 Adding a utility function to detect the Rhino shell.
git-svn-id: svn://10.0.0.236/trunk@118662 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:39:16 +00:00
gerv%gerv.net
fdcfcf38c9 Build bustage - add version string. Oops. No bug number.
git-svn-id: svn://10.0.0.236/trunk@118661 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:36:52 +00:00
gerv%gerv.net
9f63585fa5 Bug 199635 - templatise duplicates.cgi. Patch by gerv, r=myk, bbaetz.
git-svn-id: svn://10.0.0.236/trunk@118660 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:30:00 +00:00
pschwartau%netscape.com
1c4fc339c1 Initial add. Regression test for bug 131348.
git-svn-id: svn://10.0.0.236/trunk@118659 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:18:32 +00:00
harishd%netscape.com
a6dd951b3e Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann
git-svn-id: svn://10.0.0.236/trunk@118658 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:16:46 +00:00
kin%netscape.com
f593eeea73 Fix for bug 136408 (Crash editing pages with text widgets)
Use :canvas as selector to avoid triggering layout crash bug 123049.
Added isindex and textarea to list of items to use default cursor.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
adt=syd@netscape.com  a=rjesup@wgate.com


git-svn-id: svn://10.0.0.236/trunk@118655 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 22:02:27 +00:00
despotdaemon%netscape.com
5f0b92c07c Pseudo-automatic update of changes made by rcassin@supernova.org.
git-svn-id: svn://10.0.0.236/trunk@118654 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:53:26 +00:00
jst%netscape.com
a5c442b76e Checking in jeff.qiu@sun.com's fix for bug 77585. Speeding up nsGenericDOMDataNode::AppendData(). r=cbiesinger@web.de, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118652 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:44:04 +00:00
naving%netscape.com
db1e5a6bb9 22994 r=morse sr=dveditz sspitzer Add support for blocking cookies in mailnews by default. Used an overlay
to add this new checkbox that gets the value from disableCookieForMailNews pref


git-svn-id: svn://10.0.0.236/trunk@118651 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:40:53 +00:00
karnaze%netscape.com
34d7213599 new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@118650 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:40:46 +00:00
karnaze%netscape.com
6dcf85a892 bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@118648 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:32:41 +00:00
ducarroz%netscape.com
f8c10f4c31 Fix for bug 129358. Need to pre-initialize spec.name to void memory corruption in the copy constructor when the file doesn't exist. Also protect the copy constructor against bogus spec.name. R=fraser, SR=sspitzer, A=asa
git-svn-id: svn://10.0.0.236/trunk@118647 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:32:27 +00:00
akkana%netscape.com
b8493d4a6b 129122: add a new serializer mode (used primarily by mail) in which
<br> tags within <pre> blocks are translated to newlines.
  r=nhotta,ducarroz,tmutreja sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@118645 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:25:15 +00:00
danm%netscape.com
3d4b49a969 freezing interface for 1.0. bug 99618 r=chak,rpotts a=valeski
git-svn-id: svn://10.0.0.236/trunk@118644 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:21:46 +00:00
ducarroz%netscape.com
9c77084e7f Fix for bug 120594. Add null pointer check to avoid crashing. R=varada. SR=bienvenu, A=asa
git-svn-id: svn://10.0.0.236/trunk@118642 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:20:53 +00:00
danm%netscape.com
ca3f288dcc freezing interface for 1.0. bug 136275 r=chak,rpotts a=valeski
git-svn-id: svn://10.0.0.236/trunk@118641 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:20:10 +00:00
danm%netscape.com
61f9233ff4 (interface freezing in last revision is bug 99617 r=chak,rpotts a=valeski)
git-svn-id: svn://10.0.0.236/trunk@118640 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:17:38 +00:00
danm%netscape.com
1f27732fc7 freezing interface for mozilla 1.0
git-svn-id: svn://10.0.0.236/trunk@118639 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:13:37 +00:00
naving%netscape.com
87c44ff77a 136636 r=sspitzer sr=bienvenu a=rjesup. StartBatch is called twice in some cases, so don't set m_ownFolderStream to false. fixes regressions - moving msgs/ filter corrupting Inbox.
git-svn-id: svn://10.0.0.236/trunk@118638 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:12:29 +00:00
ccarlen%netscape.com
e374c56f6e For smoketest blocker 136693. Adding impl of confirmEx to PPEmbed's prompt service. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@118635 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 19:51:42 +00:00
mikep%oeone.com
b8dbe55fc5 Adding pref to set the default length for events, bug 136373
git-svn-id: svn://10.0.0.236/trunk@118633 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 18:23:40 +00:00
wtc%netscape.com
78321f21cd Bugzilla bug 136625: prevent pk11_cert_collect from storing NULL in the
certData.certs array so that pk11_searchCertsAndTrust won't deference a
NULL pointer.  r=relyea.


git-svn-id: svn://10.0.0.236/trunk@118632 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 17:56:52 +00:00
wtc%netscape.com
6f841868b3 Bugzilla bug 119418: export NSS_CMSMessage_IsEncrypted.
git-svn-id: svn://10.0.0.236/trunk@118631 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 17:54:02 +00:00
mkaply%us.ibm.com
12efffe3de OS/2 bustage - these should be extern C - r=dmose
git-svn-id: svn://10.0.0.236/trunk@118630 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 17:35:49 +00:00
colinp%oeone.com
34c8eca640 new graphics for edit & delete in classic
git-svn-id: svn://10.0.0.236/trunk@118628 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 15:30:30 +00:00
colinp%oeone.com
45a1e3d20d new graphics for edit & delete in the toolbar
git-svn-id: svn://10.0.0.236/trunk@118627 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 15:06:14 +00:00
cbiesinger%web.de
5acc5ee9c8 bug 136382 r=rjesup@wgate.com sr=tor
preference to disable image placeholders


git-svn-id: svn://10.0.0.236/trunk@118626 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 14:45:05 +00:00
mikep%oeone.com
b0ab38bfde Fixing order of files in jar.mn file.
git-svn-id: svn://10.0.0.236/trunk@118625 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 14:40:26 +00:00
mikep%oeone.com
bea8dad387 Moving code to new seperate file.
git-svn-id: svn://10.0.0.236/trunk@118624 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 14:38:32 +00:00
mikep%oeone.com
f3d64f515f Fixing problem with changing start date not changing end date of event.
git-svn-id: svn://10.0.0.236/trunk@118623 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 14:38:06 +00:00
mikep%oeone.com
17578642a1 Changes for image change as per bug 135942.
git-svn-id: svn://10.0.0.236/trunk@118622 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 14:14:07 +00:00
mikep%oeone.com
fddd649d68 Fixing images as per bug 135942 (modern skin only)
git-svn-id: svn://10.0.0.236/trunk@118621 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 14:13:19 +00:00
radha%netscape.com
63630831d8 Fix for bug # 135868. Null pointer reference in nsDocShell::InternalLoad. r=mcafee sr=rpotts a=valeski. Approved by ADT.
git-svn-id: svn://10.0.0.236/trunk@118620 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 14:04:02 +00:00
briane%qnx.com
cab278b529 PHOTON BUILD ONLY
fix for a path problem with config files


git-svn-id: svn://10.0.0.236/trunk@118618 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 13:57:19 +00:00
timeless%mac.com
b4fe5cdb58 Bug 135679 Form submit doesn't work if target is same page and current url has anchor
patch by ere@atp.fi r=jkeiser sr=attinasi a=rjesup


git-svn-id: svn://10.0.0.236/trunk@118617 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 13:56:30 +00:00
sicking%bigfoot.com
cbbfc8af11 Fix for bug 132302: Return the right exception for DOM Range. Fix by peterv.
r=Pike, sr=jst


git-svn-id: svn://10.0.0.236/trunk@118616 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 13:38:30 +00:00
mkaply%us.ibm.com
a1810efc82 These should be here but I don't think it will fix the Os/2 bustage
git-svn-id: svn://10.0.0.236/trunk@118615 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 12:54:13 +00:00
shliang%netscape.com
0c90dcffdc 133355 - adding fake free web mail account to folder pane - will only show up in commercial builds - r=bhuvan,sr=sspitzer,a=asa
git-svn-id: svn://10.0.0.236/trunk@118614 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 11:59:45 +00:00
locka%iol.ie
a7f818a9a6 Lower limit on number of nested content frames before giving up. b=126466 r=fabian@bluishgecko.net sr=jst@netscape.com a=rjesup@wgate.com (drivers) a=jaimejr@netscape.com (adt)
git-svn-id: svn://10.0.0.236/trunk@118610 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 11:13:35 +00:00
locka%iol.ie
f7209cf65c Fix an %s which should have been an %S. b=131143 r=chak@netscape.com sr=rpotts@netscape.com a=lorikaplan@netscape.com (locale) a=jaimejr@netscape.com (adt) a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118609 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 11:09:59 +00:00
caillon%returnzero.com
36dd3c5c2f Bug 135998, Clean up and shrink output of the HTML directory listing. r=bbaetz,glazou sr=darin a=valeski
git-svn-id: svn://10.0.0.236/trunk@118608 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 10:28:57 +00:00
bryner%netscape.com
b13be5e028 Fix crash if the view manager is destroyed (such as on a page change) while a menupopup is open. Bug 129785. r=ben, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@118606 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 09:32:22 +00:00
bryner%netscape.com
2831d5cbf4 Fix positioning of menupopups that are inside iframes (bug 129782). r=pavlov, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@118605 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 09:27:11 +00:00
pavlov%netscape.com
18a1f3a0be adding ,0 to fix os2 bustage
git-svn-id: svn://10.0.0.236/trunk@118604 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 09:06:18 +00:00
seawood%netscape.com
eb460ffccc Add newline to fix hpux tinderbox bustage.
git-svn-id: svn://10.0.0.236/trunk@118602 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 08:44:15 +00:00
pavlov%netscape.com
bbfecb6d79 hopefully fixing the mac bustage. adding nsITimerManager.idl
git-svn-id: svn://10.0.0.236/trunk@118601 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 06:38:19 +00:00
morse%netscape.com
5f0d011656 bug 135199, remove send flyout on file menu, r=sgehani, sr=jag, adt=putterman
git-svn-id: svn://10.0.0.236/trunk@118600 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 06:33:48 +00:00
pavlov%netscape.com
3d11dccf2f adding nsITimerManager
git-svn-id: svn://10.0.0.236/trunk@118599 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 06:06:12 +00:00
despotdaemon%netscape.com
0f3949ec3c Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@118598 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 05:58:14 +00:00
varga%utcru.sk
ad70a0bb4a Fix for bug 135294 - Click on splitter causes semi-hang
r=hwaara, sr=ben, a=asa


git-svn-id: svn://10.0.0.236/trunk@118595 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:58:02 +00:00
varga%utcru.sk
208623a2f4 Fix for bug 135048 - Folder pane won't auto scroll down during drag and drop.
Covers 134889 also.
r=bryner, sr=ben, a=asa


git-svn-id: svn://10.0.0.236/trunk@118594 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:55:46 +00:00
pavlov%netscape.com
ab4d4cb4b6 er, missing idl file on windows gmake builds
git-svn-id: svn://10.0.0.236/trunk@118592 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:51:17 +00:00
pavlov%netscape.com
c38c540c08 bug 129953 r=rjesup sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@118588 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:41:23 +00:00
danm%netscape.com
1f4d9e7342 reverting rev 3.409. this re-opens bug 120155 but fixes bug 134317 and bug 135528. snif.
git-svn-id: svn://10.0.0.236/trunk@118587 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:36:20 +00:00
blakeross%telocity.com
b915e3a935 remove grippy from sidebar
git-svn-id: svn://10.0.0.236/trunk@118586 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:22:29 +00:00
dmose%netscape.com
40882ab4e1 LDAP over SSL (bug 107411). UI changes thanks to srilatha@netscape.com nsLDAPSecurityGlue.cpp: r=mcs@netscape.com; Mac S/MIME build changes: r=javi@netscape.com; Mac Project changes: r=rdayal; all other files: r=bhuvan@netscape.com; entire patch: sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118585 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:21:13 +00:00
leaf%mozilla.org
1730d11d30 reverting my bogus, fruitless, futile change
git-svn-id: svn://10.0.0.236/trunk@118584 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:17:42 +00:00
cltbld%netscape.com
77ebd45801 Switching to client-side pageload test reporting. a=jrgm
git-svn-id: svn://10.0.0.236/trunk@118580 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 03:38:40 +00:00
ian.mcgreer%sun.com
1a75fc7207 bug 135871, CERT_ImportCerts not storing temp certs
r=relyea


git-svn-id: svn://10.0.0.236/trunk@118578 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 23:46:57 +00:00
leaf%mozilla.org
244d144a19 checkin superfluous text; testing dolog.pl change
git-svn-id: svn://10.0.0.236/trunk@118577 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 23:43:28 +00:00
leaf%mozilla.org
d8ea071d4e hack to prevent sending mail for the force commit on the 1_0_0 branch
git-svn-id: svn://10.0.0.236/trunk@118576 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 23:41:01 +00:00
igor%mir2.org
1a558693c3 Removal of unused maxInstanceId (I forgot to do it during 1.20 update)
git-svn-id: svn://10.0.0.236/trunk@118575 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 23:24:19 +00:00
ian%hixie.ch
15f14b3444 '<stuart> right now its showing a teranchela(sp?) eating something or something' r=kerz
git-svn-id: svn://10.0.0.236/trunk@118570 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 21:23:57 +00:00
igor%mir2.org
ee2cf584a7 Inherit from IdScriptable to save memory on hash table structures for callee, caller and length properties and speedup arguments initialization.
git-svn-id: svn://10.0.0.236/trunk@118564 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 21:00:54 +00:00
igor%mir2.org
cd133cdc1e Do not alias UniqueTag.NULL_VALUE as IdScriptable.NULL_TAG and use it directly
git-svn-id: svn://10.0.0.236/trunk@118562 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 20:58:27 +00:00
blakeross%telocity.com
0363f88908 add history button.
git-svn-id: svn://10.0.0.236/trunk@118561 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 20:11:45 +00:00
mostafah%oeone.com
583f87667a Removed temporary printf's
git-svn-id: svn://10.0.0.236/trunk@118560 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 19:43:41 +00:00
mostafah%oeone.com
f32844192b Added Clone function. Fixes bug 135727
git-svn-id: svn://10.0.0.236/trunk@118559 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 19:25:41 +00:00
nicolson%netscape.com
8597a98d9b login to token before importing private key.
git-svn-id: svn://10.0.0.236/trunk@118558 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 19:23:49 +00:00
mostafah%oeone.com
b9579ba01e Added more detailed instructions for getting aroud the ICal component not being registered
git-svn-id: svn://10.0.0.236/trunk@118557 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 18:53:29 +00:00
igor%mir2.org
91a578dd8c Elimination of InterpreterData.idFunction as it duplicate InterpreterData.itsFunctionType != 0
git-svn-id: svn://10.0.0.236/trunk@118555 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 18:19:01 +00:00
igor%mir2.org
02741cc679 Use int instead of byte for type of FunctionNode.itsFunctionType to have less (byte) casts.
git-svn-id: svn://10.0.0.236/trunk@118554 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 18:16:48 +00:00
relyea%netscape.com
7d579a63ce Handle yet another PKCS #11 device which has non-standard behavior, but is well established in the market place.
git-svn-id: svn://10.0.0.236/trunk@118553 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 17:58:00 +00:00
colinp%oeone.com
37fedcd723 fix to bug 113029 - Add Calendar to Preferences-->Appearance startup list
git-svn-id: svn://10.0.0.236/trunk@118552 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 17:23:18 +00:00
25365 changed files with 103548 additions and 6225685 deletions

View File

@@ -1,43 +0,0 @@
Please be apprised of the following Legal Notices:
A) The U.S. District Court for the Eastern District of Virginia has
ruled that the Netscape Navigator code does not infringe Wang's U.S.
Patent No. 4,751,669 ("the '669 Patent") because: 1) HTML is not
Videotex as defined by the '669 patent; 2) web servers are not central
suppliers; and 3) Navigator does not "connect," as defined by the '669
Patent, to web servers on the Internet. Wang may appeal this decision to
the Federal Circuit. Wang contended that its Patent disclosing a
"Videotext" system, is infringed by the following functionality in the
Netscape Navigator code: 1) the animated logo and status line indicators
--See Claims 1,8 and 9; 2) the "File Save As" function --See Claims
23-27; 3) Bookmarks and Rename Bookmarks in the Properties window --See
Claims 20-22; 4) storing HTML, GIF, and JPEG files and adding filename
extensions --See Claim 38
B) Intermind owns pending U.S. patent applications on communications
systems which employ metadata ("channel objects") to define a control
structure for information transfer. The Netscape code does not infringe
as released; however, modifications which utilize channel objects as
described by Intermind should be considered carefully. The following is
a statement from Intermind: "Intermind's claims fundamentally involve
the use of a control structure to automate communications. ...The
essence of Intermind's top claim is that two devices sender and
receiver have persistent storage, communicate over a network,
and exchange a control structure including metadata which describes: 1)
what information is to be updated, 2) when to update this information,
and 3) how to transfer the updated information. In addition, at least
the receiving device must be able to process the metadata in order to
perform the update determination and transfer. Any digital
communications system which incorporates all of these elements will be
covered by Intermind's patents." See Intermind.com.
C) Stac, Inc., and its licensing agent Hi/fn, own several patents which
disclose data compression methods implementing an LZS compression
algorithm, including U.S. Patent Nos. 4,701,745 and 5,016, 009 ("the
Stac Patents"). The Netscape Communicator code does not perform
compression. If you modify the Netscape source code to perform
compression, please take notice of the Stac Patents.
D) Netscape Communications Corporation ("Netscape") does not guarantee
that any source code or executable code available from the mozilla.org
domain is Year 2000 compliant.

View File

@@ -1,567 +0,0 @@
MOZILLA PUBLIC LICENSE
Version 1.1
---------------
1. Definitions.
1.0.1. "Commercial Use" means distribution or otherwise making the
Covered Code available to a third party.
1.1. "Contributor" means each entity that creates or contributes to
the creation of Modifications.
1.2. "Contributor Version" means the combination of the Original
Code, prior Modifications used by a Contributor, and the Modifications
made by that particular Contributor.
1.3. "Covered Code" means the Original Code or Modifications or the
combination of the Original Code and Modifications, in each case
including portions thereof.
1.4. "Electronic Distribution Mechanism" means a mechanism generally
accepted in the software development community for the electronic
transfer of data.
1.5. "Executable" means Covered Code in any form other than Source
Code.
1.6. "Initial Developer" means the individual or entity identified
as the Initial Developer in the Source Code notice required by Exhibit
A.
1.7. "Larger Work" means a work which combines Covered Code or
portions thereof with code not governed by the terms of this License.
1.8. "License" means this document.
1.8.1. "Licensable" means having the right to grant, to the maximum
extent possible, whether at the time of the initial grant or
subsequently acquired, any and all of the rights conveyed herein.
1.9. "Modifications" means any addition to or deletion from the
substance or structure of either the Original Code or any previous
Modifications. When Covered Code is released as a series of files, a
Modification is:
A. Any addition to or deletion from the contents of a file
containing Original Code or previous Modifications.
B. Any new file that contains any part of the Original Code or
previous Modifications.
1.10. "Original Code" means Source Code of computer software code
which is described in the Source Code notice required by Exhibit A as
Original Code, and which, at the time of its release under this
License is not already Covered Code governed by this License.
1.10.1. "Patent Claims" means any patent claim(s), now owned or
hereafter acquired, including without limitation, method, process,
and apparatus claims, in any patent Licensable by grantor.
1.11. "Source Code" means the preferred form of the Covered Code for
making modifications to it, including all modules it contains, plus
any associated interface definition files, scripts used to control
compilation and installation of an Executable, or source code
differential comparisons against either the Original Code or another
well known, available Covered Code of the Contributor's choice. The
Source Code can be in a compressed or archival form, provided the
appropriate decompression or de-archiving software is widely available
for no charge.
1.12. "You" (or "Your") means an individual or a legal entity
exercising rights under, and complying with all of the terms of, this
License or a future version of this License issued under Section 6.1.
For legal entities, "You" includes any entity which controls, is
controlled by, or is under common control with You. For purposes of
this definition, "control" means (a) the power, direct or indirect,
to cause the direction or management of such entity, whether by
contract or otherwise, or (b) ownership of more than fifty percent
(50%) of the outstanding shares or beneficial ownership of such
entity.
2. Source Code License.
2.1. The Initial Developer Grant.
The Initial Developer hereby grants You a world-wide, royalty-free,
non-exclusive license, subject to third party intellectual property
claims:
(a) under intellectual property rights (other than patent or
trademark) Licensable by Initial Developer to use, reproduce,
modify, display, perform, sublicense and distribute the Original
Code (or portions thereof) with or without Modifications, and/or
as part of a Larger Work; and
(b) under Patents Claims infringed by the making, using or
selling of Original Code, to make, have made, use, practice,
sell, and offer for sale, and/or otherwise dispose of the
Original Code (or portions thereof).
(c) the licenses granted in this Section 2.1(a) and (b) are
effective on the date Initial Developer first distributes
Original Code under the terms of this License.
(d) Notwithstanding Section 2.1(b) above, no patent license is
granted: 1) for code that You delete from the Original Code; 2)
separate from the Original Code; or 3) for infringements caused
by: i) the modification of the Original Code or ii) the
combination of the Original Code with other software or devices.
2.2. Contributor Grant.
Subject to third party intellectual property claims, each Contributor
hereby grants You a world-wide, royalty-free, non-exclusive license
(a) under intellectual property rights (other than patent or
trademark) Licensable by Contributor, to use, reproduce, modify,
display, perform, sublicense and distribute the Modifications
created by such Contributor (or portions thereof) either on an
unmodified basis, with other Modifications, as Covered Code
and/or as part of a Larger Work; and
(b) under Patent Claims infringed by the making, using, or
selling of Modifications made by that Contributor either alone
and/or in combination with its Contributor Version (or portions
of such combination), to make, use, sell, offer for sale, have
made, and/or otherwise dispose of: 1) Modifications made by that
Contributor (or portions thereof); and 2) the combination of
Modifications made by that Contributor with its Contributor
Version (or portions of such combination).
(c) the licenses granted in Sections 2.2(a) and 2.2(b) are
effective on the date Contributor first makes Commercial Use of
the Covered Code.
(d) Notwithstanding Section 2.2(b) above, no patent license is
granted: 1) for any code that Contributor has deleted from the
Contributor Version; 2) separate from the Contributor Version;
3) for infringements caused by: i) third party modifications of
Contributor Version or ii) the combination of Modifications made
by that Contributor with other software (except as part of the
Contributor Version) or other devices; or 4) under Patent Claims
infringed by Covered Code in the absence of Modifications made by
that Contributor.
3. Distribution Obligations.
3.1. Application of License.
The Modifications which You create or to which You contribute are
governed by the terms of this License, including without limitation
Section 2.2. The Source Code version of Covered Code may be
distributed only under the terms of this License or a future version
of this License released under Section 6.1, and You must include a
copy of this License with every copy of the Source Code You
distribute. You may not offer or impose any terms on any Source Code
version that alters or restricts the applicable version of this
License or the recipients' rights hereunder. However, You may include
an additional document offering the additional rights described in
Section 3.5.
3.2. Availability of Source Code.
Any Modification which You create or to which You contribute must be
made available in Source Code form under the terms of this License
either on the same media as an Executable version or via an accepted
Electronic Distribution Mechanism to anyone to whom you made an
Executable version available; and if made available via Electronic
Distribution Mechanism, must remain available for at least twelve (12)
months after the date it initially became available, or at least six
(6) months after a subsequent version of that particular Modification
has been made available to such recipients. You are responsible for
ensuring that the Source Code version remains available even if the
Electronic Distribution Mechanism is maintained by a third party.
3.3. Description of Modifications.
You must cause all Covered Code to which You contribute to contain a
file documenting the changes You made to create that Covered Code and
the date of any change. You must include a prominent statement that
the Modification is derived, directly or indirectly, from Original
Code provided by the Initial Developer and including the name of the
Initial Developer in (a) the Source Code, and (b) in any notice in an
Executable version or related documentation in which You describe the
origin or ownership of the Covered Code.
3.4. Intellectual Property Matters
(a) Third Party Claims.
If Contributor has knowledge that a license under a third party's
intellectual property rights is required to exercise the rights
granted by such Contributor under Sections 2.1 or 2.2,
Contributor must include a text file with the Source Code
distribution titled "LEGAL" which describes the claim and the
party making the claim in sufficient detail that a recipient will
know whom to contact. If Contributor obtains such knowledge after
the Modification is made available as described in Section 3.2,
Contributor shall promptly modify the LEGAL file in all copies
Contributor makes available thereafter and shall take other steps
(such as notifying appropriate mailing lists or newsgroups)
reasonably calculated to inform those who received the Covered
Code that new knowledge has been obtained.
(b) Contributor APIs.
If Contributor's Modifications include an application programming
interface and Contributor has knowledge of patent licenses which
are reasonably necessary to implement that API, Contributor must
also include this information in the LEGAL file.
(c) Representations.
Contributor represents that, except as disclosed pursuant to
Section 3.4(a) above, Contributor believes that Contributor's
Modifications are Contributor's original creation(s) and/or
Contributor has sufficient rights to grant the rights conveyed by
this License.
3.5. Required Notices.
You must duplicate the notice in Exhibit A in each file of the Source
Code. If it is not possible to put such notice in a particular Source
Code file due to its structure, then You must include such notice in a
location (such as a relevant directory) where a user would be likely
to look for such a notice. If You created one or more Modification(s)
You may add your name as a Contributor to the notice described in
Exhibit A. You must also duplicate this License in any documentation
for the Source Code where You describe recipients' rights or ownership
rights relating to Covered Code. You may choose to offer, and to
charge a fee for, warranty, support, indemnity or liability
obligations to one or more recipients of Covered Code. However, You
may do so only on Your own behalf, and not on behalf of the Initial
Developer or any Contributor. You must make it absolutely clear than
any such warranty, support, indemnity or liability obligation is
offered by You alone, and You hereby agree to indemnify the Initial
Developer and every Contributor for any liability incurred by the
Initial Developer or such Contributor as a result of warranty,
support, indemnity or liability terms You offer.
3.6. Distribution of Executable Versions.
You may distribute Covered Code in Executable form only if the
requirements of Section 3.1-3.5 have been met for that Covered Code,
and if You include a notice stating that the Source Code version of
the Covered Code is available under the terms of this License,
including a description of how and where You have fulfilled the
obligations of Section 3.2. The notice must be conspicuously included
in any notice in an Executable version, related documentation or
collateral in which You describe recipients' rights relating to the
Covered Code. You may distribute the Executable version of Covered
Code or ownership rights under a license of Your choice, which may
contain terms different from this License, provided that You are in
compliance with the terms of this License and that the license for the
Executable version does not attempt to limit or alter the recipient's
rights in the Source Code version from the rights set forth in this
License. If You distribute the Executable version under a different
license You must make it absolutely clear that any terms which differ
from this License are offered by You alone, not by the Initial
Developer or any Contributor. You hereby agree to indemnify the
Initial Developer and every Contributor for any liability incurred by
the Initial Developer or such Contributor as a result of any such
terms You offer.
3.7. Larger Works.
You may create a Larger Work by combining Covered Code with other code
not governed by the terms of this License and distribute the Larger
Work as a single product. In such a case, You must make sure the
requirements of this License are fulfilled for the Covered Code.
4. Inability to Comply Due to Statute or Regulation.
If it is impossible for You to comply with any of the terms of this
License with respect to some or all of the Covered Code due to
statute, judicial order, or regulation then You must: (a) comply with
the terms of this License to the maximum extent possible; and (b)
describe the limitations and the code they affect. Such description
must be included in the LEGAL file described in Section 3.4 and must
be included with all distributions of the Source Code. Except to the
extent prohibited by statute or regulation, such description must be
sufficiently detailed for a recipient of ordinary skill to be able to
understand it.
5. Application of this License.
This License applies to code to which the Initial Developer has
attached the notice in Exhibit A and to related Covered Code.
6. Versions of the License.
6.1. New Versions.
Netscape Communications Corporation ("Netscape") may publish revised
and/or new versions of the License from time to time. Each version
will be given a distinguishing version number.
6.2. Effect of New Versions.
Once Covered Code has been published under a particular version of the
License, You may always continue to use it under the terms of that
version. You may also choose to use such Covered Code under the terms
of any subsequent version of the License published by Netscape. No one
other than Netscape has the right to modify the terms applicable to
Covered Code created under this License.
6.3. Derivative Works.
If You create or use a modified version of this License (which you may
only do in order to apply it to code which is not already Covered Code
governed by this License), You must (a) rename Your license so that
the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
"MPL", "NPL" or any confusingly similar phrase do not appear in your
license (except to note that your license differs from this License)
and (b) otherwise make it clear that Your version of the license
contains terms which differ from the Mozilla Public License and
Netscape Public License. (Filling in the name of the Initial
Developer, Original Code or Contributor in the notice described in
Exhibit A shall not of themselves be deemed to be modifications of
this License.)
7. DISCLAIMER OF WARRANTY.
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
8. TERMINATION.
8.1. This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to cure
such breach within 30 days of becoming aware of the breach. All
sublicenses to the Covered Code which are properly granted shall
survive any termination of this License. Provisions which, by their
nature, must remain in effect beyond the termination of this License
shall survive.
8.2. If You initiate litigation by asserting a patent infringement
claim (excluding declatory judgment actions) against Initial Developer
or a Contributor (the Initial Developer or Contributor against whom
You file such action is referred to as "Participant") alleging that:
(a) such Participant's Contributor Version directly or indirectly
infringes any patent, then any and all rights granted by such
Participant to You under Sections 2.1 and/or 2.2 of this License
shall, upon 60 days notice from Participant terminate prospectively,
unless if within 60 days after receipt of notice You either: (i)
agree in writing to pay Participant a mutually agreeable reasonable
royalty for Your past and future use of Modifications made by such
Participant, or (ii) withdraw Your litigation claim with respect to
the Contributor Version against such Participant. If within 60 days
of notice, a reasonable royalty and payment arrangement are not
mutually agreed upon in writing by the parties or the litigation claim
is not withdrawn, the rights granted by Participant to You under
Sections 2.1 and/or 2.2 automatically terminate at the expiration of
the 60 day notice period specified above.
(b) any software, hardware, or device, other than such Participant's
Contributor Version, directly or indirectly infringes any patent, then
any rights granted to You by such Participant under Sections 2.1(b)
and 2.2(b) are revoked effective as of the date You first made, used,
sold, distributed, or had made, Modifications made by that
Participant.
8.3. If You assert a patent infringement claim against Participant
alleging that such Participant's Contributor Version directly or
indirectly infringes any patent where such claim is resolved (such as
by license or settlement) prior to the initiation of patent
infringement litigation, then the reasonable value of the licenses
granted by such Participant under Sections 2.1 or 2.2 shall be taken
into account in determining the amount or value of any payment or
license.
8.4. In the event of termination under Sections 8.1 or 8.2 above,
all end user license agreements (excluding distributors and resellers)
which have been validly granted by You or any distributor hereunder
prior to termination shall survive termination.
9. LIMITATION OF LIABILITY.
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
10. U.S. GOVERNMENT END USERS.
The Covered Code is a "commercial item," as that term is defined in
48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
software" and "commercial computer software documentation," as such
terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
all U.S. Government End Users acquire Covered Code with only those
rights set forth herein.
11. MISCELLANEOUS.
This License represents the complete agreement concerning subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. This License shall be governed by
California law provisions (except to the extent applicable law, if
any, provides otherwise), excluding its conflict-of-law provisions.
With respect to disputes in which at least one party is a citizen of,
or an entity chartered or registered to do business in the United
States of America, any litigation relating to this License shall be
subject to the jurisdiction of the Federal Courts of the Northern
District of California, with venue lying in Santa Clara County,
California, with the losing party responsible for costs, including
without limitation, court costs and reasonable attorneys' fees and
expenses. The application of the United Nations Convention on
Contracts for the International Sale of Goods is expressly excluded.
Any law or regulation which provides that the language of a contract
shall be construed against the drafter shall not apply to this
License.
12. RESPONSIBILITY FOR CLAIMS.
As between Initial Developer and the Contributors, each party is
responsible for claims and damages arising, directly or indirectly,
out of its utilization of rights under this License and You agree to
work with Initial Developer and Contributors to distribute such
responsibility on an equitable basis. Nothing herein is intended or
shall be deemed to constitute any admission of liability.
13. MULTIPLE-LICENSED CODE.
Initial Developer may designate portions of the Covered Code as
"Multiple-Licensed". "Multiple-Licensed" means that the Initial
Developer permits you to utilize portions of the Covered Code under
Your choice of the NPL or the alternative licenses, if any, specified
by the Initial Developer in the file described in Exhibit A.
EXHIBIT A -Mozilla Public License.
``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 ______________________________________.
The Initial Developer of the Original Code is ________________________.
Portions created by ______________________ are Copyright (C) ______
_______________________. All Rights Reserved.
Contributor(s): ______________________________________.
Alternatively, the contents of this file may be used under the terms
of the _____ license (the "[___] License"), in which case the
provisions of [______] License are applicable instead of those
above. If you wish to allow use of your version of this file only
under the terms of the [____] License and not to allow others to use
your version of this file under the MPL, indicate your decision by
deleting the provisions above and replace them with the notice and
other provisions required by the [___] License. If you do not delete
the provisions above, a recipient may use your version of this file
under either the MPL or the [___] License."
[NOTE: The text of this Exhibit A may differ slightly from the text of
the notices in the Source Code files of the Original Code. You should
use the text of this Exhibit A rather than the text found in the
Original Code Source Code for Your Modifications.]
----------------------------------------------------------------------
AMENDMENTS
The Netscape Public License Version 1.1 ("NPL") consists of the
Mozilla Public License Version 1.1 with the following Amendments,
including Exhibit A-Netscape Public License. Files identified with
"Exhibit A-Netscape Public License" are governed by the Netscape
Public License Version 1.1.
Additional Terms applicable to the Netscape Public License.
I. Effect.
These additional terms described in this Netscape Public
License -- Amendments shall apply to the Mozilla Communicator
client code and to all Covered Code under this License.
II. "Netscape's Branded Code" means Covered Code that Netscape
distributes and/or permits others to distribute under one or more
trademark(s) which are controlled by Netscape but which are not
licensed for use under this License.
III. Netscape and logo.
This License does not grant any rights to use the trademarks
"Netscape", the "Netscape N and horizon" logo or the "Netscape
lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript",
"Smart Browsing" even if such marks are included in the Original
Code or Modifications.
IV. Inability to Comply Due to Contractual Obligation.
Prior to licensing the Original Code under this License, Netscape
has licensed third party code for use in Netscape's Branded Code.
To the extent that Netscape is limited contractually from making
such third party code available under this License, Netscape may
choose to reintegrate such code into Covered Code without being
required to distribute such code in Source Code form, even if
such code would otherwise be considered "Modifications" under
this License.
V. Use of Modifications and Covered Code by Initial Developer.
V.1. In General.
The obligations of Section 3 apply to Netscape, except to
the extent specified in this Amendment, Section V.2 and V.3.
V.2. Other Products.
Netscape may include Covered Code in products other than the
Netscape's Branded Code which are released by Netscape
during the two (2) years following the release date of the
Original Code, without such additional products becoming
subject to the terms of this License, and may license such
additional products on different terms from those contained
in this License.
V.3. Alternative Licensing.
Netscape may license the Source Code of Netscape's Branded
Code, including Modifications incorporated therein, without
such Netscape Branded Code becoming subject to the terms of
this License, and may license such Netscape Branded Code on
different terms from those contained in this License.
VI. Litigation.
Notwithstanding the limitations of Section 11 above, the
provisions regarding litigation in Section 11(a), (b) and (c) of
the License shall apply to all disputes relating to this License.
EXHIBIT A-Netscape Public License.
"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 Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s): ______________________________________.
Alternatively, the contents of this file may be used under the
terms of the _____ license (the "[___] License"), in which case
the provisions of [______] License are applicable instead of
those above. If you wish to allow use of your version of this
file only under the terms of the [____] License and not to allow
others to use your version of this file under the NPL, indicate
your decision by deleting the provisions above and replace them
with the notice and other provisions required by the [___]
License. If you do not delete the provisions above, a recipient
may use your version of this file under either the NPL or the
[___] License."

View File

@@ -1,399 +0,0 @@
#
# 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@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/build/unix/modules.mk
ifneq ($(BUILD_MODULES),all)
DIRS = $(BUILD_MODULE_DIRS)
EXPORT_DIRS = $(BUILD_MODULE_DEP_DIRS)
else
#
# And now for something completely different...
# Divide the default build into tiers.
# Tiers must be defined on module boundaries
#
default: $(SUBMAKEFILES)
$(MAKE) tier_0
$(MAKE) nspr
$(MAKE) ldap
ifdef MOZ_ENABLE_XFT
$(MAKE) freetype
$(MAKE) expat
endif
$(MAKE) tier_1
$(MAKE) tier_9
ifdef MOZ_EXTENSIONS
$(MAKE) tier_94
endif
ifdef MOZ_PSM
$(MAKE) tier_95
endif
ifdef MOZ_MAIL_NEWS
$(MAKE) tier_97
endif
ifdef MOZ_CALENDAR
$(MAKE) tier_98
endif
$(MAKE) tier_99
# Make sure that the existing rulesets work
DIRS = \
$(tier_0_dirs) \
$(tier_1_dirs) \
$(tier_9_dirs) \
$(NULL)
ifdef GC_LEAK_DETECTOR
DIRS += gc/boehm
endif
ifdef MOZ_EXTENSIONS
DIRS += $(tier_94_dirs)
endif
ifdef MOZ_PSM
DIRS += $(tier_95_dirs)
endif
ifdef MOZ_MAIL_NEWS
DIRS += $(tier_97_dirs)
endif
ifdef MOZ_CALENDAR
DIRS += $(tier_98_dirs)
endif
DIRS += $(tier_99_dirs)
#
# tier 0 - base build config dirs
#
tier_0_dirs = \
config \
build \
include \
$(NULL)
#
# tier 1 - base libraries
#
tier_1_dirs = js
# MacOSX needs to build lib for MoreFiles before xpcom
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
tier_1_dirs += lib/mac/MoreFiles
endif
#
# tier 9 - core components (xpcom,necko,gecko)
#
# intl should not be in here - it's just temporary until
# xpconnect's dependency on intl is repaired - see bug 106130
tier_9_dirs += \
modules/libreg \
string \
xpcom \
intl \
$(NULL)
ifndef MOZ_NATIVE_ZLIB
tier_9_dirs += modules/zlib
endif
# Installer needs standalone libjar, hence standalone zlib
ifneq (,$(filter Linux SunOS WINNT,$(OS_ARCH)))
tier_9_dirs += modules/zlib/standalone
endif
tier_9_dirs += \
modules/libjar \
$(NULL)
ifdef MOZ_JAVA_SUPPLEMENT
tier_9_dirs += \
java/util \
java/webclient \
$(NULL)
endif
ifndef MOZ_NATIVE_JPEG
tier_9_dirs += jpeg
endif
tier_9_dirs += dbm js/src/xpconnect
ifdef MOZ_OJI
tier_9_dirs += js/src/liveconnect
endif
ifdef MOZ_JSDEBUGGER
tier_9_dirs += js/jsd
endif
ifdef MOZ_ENABLE_XFT
tier_9_dirs += other-licenses/Xft
endif
ifdef MOZ_ENABLE_XLIB
tier_9_dirs += gfx/src/xlibrgb widget/src/xlibxtbin
endif
ifdef MOZ_ENABLE_GTK
tier_9_dirs += widget/src/gtksuperwin widget/src/gtkxtbin
endif
ifdef MOZ_INTERNAL_LIBART_LGPL
tier_9_dirs += other-licenses/libart_lgpl
endif
tier_9_dirs += \
modules/libutil \
netwerk \
modules/mpfilelocprovider \
uriloader \
modules/libpref \
modules/libimg \
modules/oji \
caps \
rdf \
expat \
htmlparser \
gfx \
gfx2 \
modules/libpr0n \
modules/plugin \
dom \
view \
widget \
content \
layout \
db \
docshell \
webshell \
embedding \
editor \
sun-java \
profile \
themes \
$(NULL)
ifdef ACCESSIBILITY
tier_9_dirs += accessible
endif
ifdef MOZ_LDAP_XPCOM
tier_9_dirs += directory/xpcom
endif
# This must preceed xpfe
ifdef MOZ_JPROF
tier_9_dirs += tools/jprof
endif
tier_9_dirs += xpfe xpinstall
ifdef MOZ_LEAKY
tier_9_dirs += tools/leaky
endif
ifdef ENABLE_TESTS
tier_9_dirs += xpcom/tests
endif
ifdef NS_TRACE_MALLOC
tier_9_dirs += tools/trace-malloc
endif
tier_9_dirs += l10n
#
# tier 9x - application features
#
ifdef MOZ_EXTENSIONS
tier_94_dirs += extensions
endif
ifdef MOZ_PSM
tier_95_dirs += security/manager
endif
ifdef MOZ_MAIL_NEWS
tier_97_dirs += mailnews
endif
ifdef MOZ_CALENDAR
tier_98_dirs += calendar
endif
#
# tier 99 - application binaries
#
ifneq (,$(MOZ_STATIC_COMPONENTS)$(MOZ_META_COMPONENTS))
tier_99_dirs += modules/staticmod
endif
tier_99_dirs += xpfe/bootstrap
ifdef MOZ_ENABLE_GTK
tier_99_dirs += embedding/browser/gtk/tests
endif
endif # BUILD_MODULES == all
STATIC_MAKEFILES := nsprpub directory/c-sdk
ifdef MOZ_PSM
STATIC_MAKEFILES += security/nss
endif
GARBAGE_DIRS += dist
DIST_GARBAGE = config.cache config.log config.status config-defs.h \
dependencies.beos config/autoconf.mk config/myrules.mk config/myconfig.mk \
unallmakefiles \
$(topsrcdir)/.mozconfig.mk $(topsrcdir)/.mozconfig.out
ifeq ($(BUILD_MODULES),all)
# Build psuedo-external modules first when export is explicitly called
export::
$(MAKE) -C config export
$(MAKE) nspr
$(MAKE) ldap
ifdef MOZ_ENABLE_XFT
$(MAKE) freetype
$(MAKE) expat
endif
install::
ifndef MOZ_NATIVE_NSPR
$(MAKE) -C nsprpub real_install DESTDIR=$(DESTDIR) libdir=$(mozappdir) includedir=$(includedir)/nspr
$(RM) -f $(addprefix $(DESTDIR)$(mozappdir)/$(LIB_PREFIX), $(addsuffix .$(LIB_SUFFIX), nspr4 plds4 plc4))
$(RM) -f $(addprefix $(DESTDIR)$(bindir)/,nspr-config compile-et.pl prerr.properties)
endif
ifdef MOZ_LDAP_XPCOM
$(MAKE) -C directory/c-sdk real_install DESTDIR=$(DESTDIR) libdir=$(mozappdir) includedir=$(includedir)/ldap
endif
endif
include $(topsrcdir)/config/rules.mk
ifeq ($(BUILD_MODULES),all)
# Clean up after psuedo-external modules
clean clobber realclean clobber_all distclean::
ifndef MOZ_NATIVE_NSPR
$(MAKE) -C nsprpub $@
endif
ifdef MOZ_LDAP_XPCOM
$(MAKE) -C directory/c-sdk $@
endif
endif
tier_%:
@echo "$@: $($@_dirs)"
@$(EXIT_ON_ERROR) \
for d in $($@_dirs); do $(UPDATE_TITLE) \
$(MAKE) -C $$d export; \
done ; \
$(PERL) $(MOZILLA_DIR)/config/purge-old-headers.pl $(DIST)/include ;\
for d in $($@_dirs); do $(UPDATE_TITLE) \
$(MAKE) -C $$d libs; \
done
#
# Individual modules
#
boehm:
ifdef GC_LEAK_DETECTOR
$(MAKE) -C gc/boehm
endif
nspr: boehm
ifndef MOZ_NATIVE_NSPR
$(MAKE) -C nsprpub
endif
ldap:
ifdef MOZ_LDAP_XPCOM
$(MAKE) -C directory/c-sdk
endif
freetype:
ifdef MOZ_ENABLE_XFT
ifndef MOZ_XFT_SYSTEM_FREETYPE2
$(MAKE) -C other-licenses/freetype
$(MAKE) -C other-licenses/freetype install
endif
endif
expat:
ifdef MOZ_ENABLE_XFT
$(MAKE) -C other-licenses/expat
$(MAKE) -C other-licenses/expat install
endif
# For modules.mk standalone build
export::
+$(LOOP_OVER_EXPORT_DIRS)
export::
@$(PERL) $(MOZILLA_DIR)/config/purge-old-headers.pl $(DIST)/include
distclean::
cat unallmakefiles | $(XARGS) rm -f
rm -f unallmakefiles $(DIST_GARBAGE)
ifeq ($(OS_ARCH),WINNT)
rebase:
ifdef MOZILLA_OFFICIAL
echo rebasing $(DIST)
/bin/find $(DIST) -name "*.dll" > rebase.lst
rebase -b 60000000 -R . -G rebase.lst
rm rebase.lst
endif
splitsymbols:
ifdef MOZILLA_OFFICIAL
echo splitting symbols out of binaries
/bin/find $(DIST) -name "*.dll" -exec splitsym {} \;
/bin/find $(DIST) -name "*.exe" -exec splitsym {} \;
/bin/find $(DIST) -name "*.EXE" -exec splitsym {} \;
endif # MOZILLA_OFFICIAL
deliver: splitsymbols rebase
endif # WINNT
# Temporary hack for NSS 3.4 landing (bug 116334, wtc@netscape.com)
ifdef MOZ_PSM
ifdef COMPILER_DEPEND
depend::
$(MAKE) -C security/manager depend
endif
endif

View File

@@ -1,325 +0,0 @@
==============================================================
= = = = = = = = = = Mozilla Read Me = = = = = = = = = = =
==============================================================
Mozilla is subject to the terms detailed in the license
agreement accompanying it.
This Read Me file contains information about system
requirements and installation instructions for the Windows,
Mac OS, and Linux builds of Mozilla.
For more info on Mozilla, see www.mozilla.org. To submit bugs
or other feedback, see the Navigator QA menu and check out
Bugzilla at http://bugzilla.mozilla.org for links to known
bugs, bug-writing guidelines, and more. You can also get help
with Bugzilla by pointing your IRC client to #mozillazine
at irc.mozilla.org.
==============================================================
Getting Mozilla
==============================================================
You can download nightly builds of Mozilla from the
Mozilla.org FTP site at
ftp://ftp.mozilla.org/pub/mozilla/nightly/
For the very latest builds, see
ftp://ftp.mozilla.org/pub/mozilla/nightly/latest
Keep in mind that nightly builds, which are used by
Mozilla.org developers for testing, may be buggy. If you are
looking for a more polished version of Mozilla, Mozilla.org
releases Milestone builds of Mozilla every six weeks or so
that you can download from
http://www.mozilla.org/releases
Be sure to read the Mozilla release notes for information
on known problems and installation issues with Mozilla.
The release notes can be found at the preceding URL along
with the milestone releases themselves.
Note: Please use Talkback builds whenever possible. These
builds allow transmission of crash data back to Mozilla
developers, improved crash analysis, and posting of crash
information to our crash-data newsgroup.
==============================================================
System Requirements
==============================================================
*All Platforms
To view and use the new streamlined "Modern" theme,
your display monitor should be set to display
thousands of colors. For users who cannot set their
displays to use more than 256 colors, Mozilla.org
recommends using the "Classic" theme for Mozilla.
To select the Modern theme after you have installed
Mozilla, from the Navigator browser, open the View
menu, and then open then open the Apply Theme submenu
and choose Modern.
*Mac OS
-Mac OS 8.6 or later
-PowerPC 604e 266 MHz or faster processor, or G3/G4
-64 MB RAM
-36 MB of free hard disk space
*Windows
-Windows 9x/Me or Windows NT 4/2000/XP
-Intel Pentium-class 233 MHz (or faster) processor
-64 MB RAM
-26 MB free hard disk space
*Linux
-Red Hat Linux 6.x or 7 with X11 R6
[Note: Mozilla is certified and fully supported on
Red Hat Linux, but will run on other Linux
distributions, such as Debian 2.1 (or later) or
SuSE 6.2 (or later). The libraries glibc 2.1 (or
higher) and libjpeg.so.62 (or higher) are required.]
-Intel Pentium-class 233 MHz (or faster) processor
-64MB RAM
-26MB free hard disk space
==============================================================
Installation Instructions
==============================================================
For Mac OS and Windows users, it is strongly recommended that
you exit all programs before running the setup program. Also,
you should temporarily disable virus-detection software.
For Linux users, note that the installation instructions use
the bash shell. If you're not using bash, adjust the commands
accordingly.
For all platforms, install into a clean (new) directory.
Installing on top of previously released builds may cause
problems.
Note: These instructions do not tell you how to build Mozilla.
For info on building the Mozilla source, see
http://www.mozilla.org/source.html
Windows Installation Instructions
---------------------------------
Note: For Windows NT/2000/XP systems, you need Administrator
privileges to install Mozilla. If you see an "Error 5" message
during installation, make sure you're running the installation
with Administrator privileges.
To install Mozilla by downloading the Mozilla installer,
follow these steps:
1. Click the the mozilla-win32-installer.exe link on
the site you're downloading Mozilla from to download
the installer file to your machine.
2. Navigate to where you downloaded the file and
double-click the Mozilla program icon on your machine
to begin the Setup program.
3. Follow the on-screen instructions in the setup
program. The program starts automatically the first
time.
To install Mozilla by downloading the .zip file and
installing manually, follow these steps:
1. Click the mozilla-win32-talkback.zip link or the
mozilla-win32.zip link on the site you're down-
loading Mozilla from to download the .zip file to
your machine.
2. Navigate to where you downloaded the file and
double-click the compressed file.
Note: This step assumes you already have a recent
version of WinZip installed, and that you know how to
use it. If not, you can get WinZip and information
about the program at www.winzip.com.
3. Extract the .zip file to a directory such as
C:\Program Files\mozilla.org\Mozilla.
4. To start Mozilla, navigate to the directory you
extracted Mozilla to and double-click the Mozilla.exe
icon.
Mac OS Installation Instructions
--------------------------------
Note: If the downloaded file does not expand automatically
you must expand the file using a program such as StuffIt
Expander. Expander ships with all new Macs and comes with the
default system install, so you may want to do a find in
Sherlock for "StuffIt" to make sure that you don't already
have it installed.
If you don't have Expander, you can get a copy at the
following Web site:
http://www.aladdinsys.com/expander/expander_mac_login.html
If you do already have Expander, you need to set it to start
by default. See the above URL for info on using Expander.
To install Mozilla by downloading the Mozilla installer,
(recommended) follow these steps:
1. Click the MacMozillaInstaller.sea.bin link on the
site you're downloading Mozilla from to download the
file to your Mac's desktop. A MozillaInstaller
folder is created.
2. Double-click the MozillaInstaller folder in the
Finder.
3. Double-click the Mozilla Installer icon.
4. Follow the on-screen instructions to complete the
installation process.
5. To start Mozilla, open the folder where you
installed Mozilla and double-click the Mozilla icon.
To install Mozilla by downloading the .bin file and
installing manually, follow these steps:
1. Click the mozilla-mac-*.sea.bin link on the site
you're downloading Mozilla from to download the
Mozilla binary to your Mac's desktop.
2. Double-click the mozilla-mac-*.sea.sit.bin icon
on your desktop.
3. Choose the directory where you want to install
Mozilla.
4. To start Mozilla, open the folder where you
installed Mozilla and double-click the Mozilla icon.
Linux Installation Instructions
-------------------------------
Note: If you install in the default directory (which is
usually /usr/local/mozilla), or any other directory where
only the root user normally has write-access, you must
start Mozilla first as root before other users can start
the program. Doing so generates a set of files required
for later use by other users.
To install Mozilla by downloading the Mozilla installer,
follow these steps:
1. Create a directory named mozilla (mkdir mozilla)
and change to that directory (cd mozilla).
2. Click the link on the site you're downloading
Mozilla from to download the installer file
(called mozilla-1686-pc-linux-gnu-installer.tar.gz)
to your machine.
3. Change to the mozilla directory (cd mozilla) and
decompress the archive with the following command:
tar zxvf moz*.tar.gz
The installer is now located in a subdirectory of
Mozilla named mozilla-installer.
4. Change to the mozilla-installer directory
(cd mozilla-installer) and run the installer with the
./mozilla-installer command.
5. Follow the instructions in the install wizard for
installing Mozilla.
Note: If you have a slower machine, be aware that the
installation may take some time. In this case, the
installation progress may appear to hang indefinitely,
even though the installation is still in process.
6. To start Mozilla, change to the directory where you
installed it and run the ./mozilla command.
To install Mozilla by downloading the tar.gz file:
1. Create a directory named "mozilla" (mkdir mozilla)
and change to that directory (cd mozilla).
2. Click the link on the site you're downloading
Mozilla from to download the non-installer
(mozilla*.tar.gz) file into the mozilla directory.
3. Change to the mozilla directory (cd mozilla) and
decompress the file with the following command:
tar zxvf moz*.tar.gz
This creates a "mozilla" directory under your mozilla
directory.
4. Change to the mozilla directory (cd mozilla).
5. Run Mozilla with the following run script:
./mozilla
To hook up Mozilla complete with icon to the GNOME Panel,
follow these steps:
1. Click the GNOME Main Menu button, open the Panel menu,
and then open the Add to Panel submenu and choose Launcher.
2. Right-click the icon for Mozilla on the Panel and
enter the following command:
directory_name./mozilla
where directory_name is the name of the directory
you downloaded mozilla to. For example, the default
directory that Mozilla suggests is /usr/local/mozilla.
3. Type in a name for the icon, and type in a comment
if you wish.
4. Click the icon button and type in the following as
the icon's location:
directory_name/icons/mozicon50.xpm
where directory name is the directory where you
installed Mozilla. For example, the default directory
is /usr/local/mozilla/icons/mozicon50.xpm.

View File

@@ -1,2 +0,0 @@
Pursuant to section 3.3 of the MPL, this file will contain a list of the files
that have been modified by IBM Corporation.

View File

@@ -1,3 +0,0 @@
For mozilla-the-client build instructions, please read:
http://www.mozilla.org/build/

View File

@@ -1,32 +0,0 @@
#
# 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@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = public src build
include $(topsrcdir)/config/rules.mk

View File

@@ -1,190 +0,0 @@
<html>
<head>
<title>
How the Accessible Module works
</title>
</head>
<body>
<h1>How the Accessible module (accessibility.dll) works</h1>
<ul>
<p>
See also:
<a href="http://www.mozilla.org/projects/ui/accessibility/vendors-win.html">Gecko Info for Windows Accessibility Vendors</a>, a primer for vendors of 3rd party accessibility software, on how to use our MSAA and other relevant API's.
</p>
<p>
The <a href="http://lxr.mozilla.org/seamonkey/source/accessible/">Accessible module</a> is where we implement support for the <a href="http://www.microsoft.com/enable/msaa/">Microsoft Active Accessibility (MSAA) API</a>
(<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=12952">bug 12952</a>).
Support for Sun's <a href="http://www.sun.com/access/gnome/">Gnome Accessibility API</a> is part of our future plans as well.
</p>
</ul>
<h2>What is MSAA?</h2>
<ul>
<p>
A 3rd part accessibility aid, such as a screen reader, wants to track what's happening inside Mozilla. It needs to know about
focus changes and other events, and it needs to know whtat data nodes there are in the layout tree.
Using this information,
the screen reader will speak out loud important changes to the document or UI, and allow the user to track
where they navigate. Some screen readers also magnify text and images in the currently focused area, and others
show information on a <a href="http://www.audiodata.de/e/produkte/pc/lapbraille/">refreshable braille display</a>.
</p>
<p>
In Windows, accesibility aids acquires the necessary information to do this using hacks and MSAA. MSAA is supposed
to be the "right way" for accessibility aids to get information, but sometimes the hacks are more effective.
For example, screen readers look for screen draws of a vertical blinking line, to determine the location of the caret.
Without doing this, screen readers would not be able to let the user know where there caret has moved to in most programs,
because so many applications do not use the system caret (ours is an example). This is so commonly done, that
no one even bothers to support the MSAA caret, because the hack works.
</p>
<p>
MSAA provides information in two different ways:
<ol>
<li>a COM interface (IAccessible) that allows applications to expose the tree of data nodes that make up
each window in the user interface currently being interacted with and</li>
<li> a set of system messages
that confer accessibility-related events such as focus changes, changes to document content and alerts.</li>
</ol>
</p>
<p>
To really learn about MSAA, you need to download
the entire <a href="http://www.microsoft.com/enable/msaa/download.htm">MSAA SDK</a>.
Without downloading the SDK, you won't get the complete documentation.
The SDK also contains some very useful tools, such as the Accessible Event Watcher, which shows what accessible
events are being generated by a given piece of software. The Accessible Explorer and Inspect Object tools
show the tree of data nodes the Accessible object is exposing through COM.
</p>
</ul>
<h2>IAccessible Interface</h2>
<ul>
<p>
The IAccessible interface is used in a tree of IAccessible's, each one representing a data node, similar to a DOM.
</p>
<p>
Here are the methods supported in IAccessible:
<ul>
<li>get_accParent: Get the parent of an IAccessible.</li>
<li>get_accChildCount: Get the number of children of an IAccesible.</li>
<li>get_accChild: Get the child of an Iaccessible.</li>
<li>get_accName: Get the "name" of the IAccessible, for example the name of a button, checkbox or menuitem.</li>
<li>get_accValue: Get the "value" of the IAccessible, for example a number in a slider, a URL for a link, the text a user entered in a field.</li>
<li>get_accDescription: Get a long description of the current IAccessible. This is not really too useful.</li>
<li>get_accRole: Get an enumerated value representing what this IAccessible is used for, for example.</li>
is it a link, static text, editable text, a checkbox, or a table cell, etc.</li>
<li>get_accState: a 32 bit field representing possible on/off states, such as focused, fousable, selected, selectable, visible, protected (for passwords),
checked, etc. </li>
<li>get_accHelp: Get context sensitive help for the IAccessible.</li>
<li>get_accHelpTopic: We don't use this, it's only if the Windows help system is used.</li>
<li>get_accKeyboardShortcut: What is the keyboard shortcut for this IAccessible.</li>
<li>get_accFocus: Which child is focused?</li>
<li>get_accSelection: Which children of this item are selected?</li>
<li>get_accDefaultAction: Get a description or name of the default action for this component, such as "jump" for links.</li>
<li>accSelect: Select the item associated with this IAccessible.</li>
<li>accLocation: Get the x,y coordinates, and the height and width of this IAccessible node.</li>
<li>accNavigate: Navigate up, down, left or right from this IAccessible.</li>
<li>accHitTest: Find out what IAccessible exists and a specific coordinate.</li>
<li>accDoDefaultAction: Perform the action described by get_accDefaultAction.</li>
<li>put_accName: Change the name.</li>
<li>put_accValue: Change the value.</li>
</ul>
</p>
</ul>
<h2>The Basics</h2>
<ul>
<p>
Rather than directly implement IAccessible with an Accessible class, we have chosen to proxy to our own cross-platform interface,
called nsIAccessible, which is more robust. It has the capability of supporting other new accessibility API's such
as Sun's Gnome Accessiblity API. The nsIAccessible interface is implemented by a variety of classes for each of the
various objects in HTML. Each class is tailored to the specific abilities and properties of the HTML objects it applies to.
</p>
<p>
The first thing that happens when an accessibility aid wants to watch our application is calls the Windows API function
AccessibleObjectFromWindow(). This in turns sends the window in question
a <a href="http://lxr.mozilla.org/seamonkey/search?string=WM_GETOBJECT">WM_GETOBJECT</a> message requesting an IAccessible for the window.
In our case, this event is received in mozilla/widget/src/windows/nsWindow.cpp.
We send back an IAccessible interface that represents that root window. The accessibility aid will use
that first IAccessible to reach rest of the IAccessible hierarchy, by asking for it's children IAccessibles, asking the children for the
grandchildren IAccessibles, and so on. Until this WM_GETOBJECT message is processed, the accessibility.dll is not loaded,
so there is almost zero overhead for accessibility in Mozilla.
</p>
</ul>
<h2>How the IAccessible's are Created</h2>
<ul>
<p>
To create the root IAccessible for a window the first time it gets the <a href="http://lxr.mozilla.org/seamonkey/search?string=WM_GETOBJECT">WM_GETOBJECT</a> message in,
nsWindow.cpp first generates an internal event
called <a href="http://lxr.mozilla.org/seamonkey/search?string=NS_GETACCESSIBLE">NS_GETACCESSIBLE</a>,
which is handled in nsFrame.cpp via the creation of an nsRootAccessible implementation of the nsIAccessible interface.
The first IAccessible is then created by instantiating a RootAccessible class. This RootAccessible is also cached by
the nsWindow it's for, so that any additional WM_GETOBJECT messages use the same RootAccessible.
The RootAccessible class used to implement IAccessible here is slightly different from the normal Accessible class
that's used, in that it keeps track of event data.
RootAccessible and Accessible are both implemented
in <a href="http://lxr.mozilla.org/seamonkey/source/widget/source/windows/Accessible.cpp">
mozilla/widget/src/windows/Accessible.cpp</a>).
</P>
</ul>
<h2>The Real Power Behind IAccessible's</h2>
<ul>
<p>The implementations of IAccessible (Accessible and RootAccessible), don't know anything about Mozilla
objects. They merely proxy to our cross platform accessibility classes, which all have an nsIAccessible interface.
</h2>
<p>
The base implementation for nsIAccessible is called nsAccessible. It has default implementations for all the
nsIAccessible methods. It also knows how
to walk Mozilla's content DOM and frame tree, exposing only the objects that are needed for accessibility.
Essentially, nsAccessible knows what it needs to expose by asking each DOM node's primary frame for
an nsIAccessible, using the GetAccessible() method. If it gets one, it's considered an accessible object.
A frame that wishes to return
an nsIAccessible GetAccessible() is called, creates one of the correct type on the fly using
nsIAccessibilityService methods built for that purpose.
</p>
<p>
The specific implementations
of nsIAccessible for each widget or content type inherit from nsAccessible.
Each implementation then overrides those methods
it wishes to implement, and does nothing for those methods it wants the default behavior for.
For example, the default behavior for nsIAccessible::getAccFirstChild is to
instantial a nsDOMTreeWalker, and ask it for the first child. However, nsImageAccessible overrides getAccFirstChild,
returning the first area of an image map if there is one, otherwise nsnull.
</p>
</ul>
<h2>MSAA Events</h2>
<ul>
<p>
When an accessibility-related event occurs within an application such as Mozilla, it must use NotifyWinEvent from
the Win32 API. NotifyWinEvent is passed arguments for the window the event occured in, and the number of the child
within that window. Accessibility aids use the Win32 call SetWinEventHook() to register as a listener for these events.
</p>
<p>
The accessibility aid is choose which events it is interested in learning more about by using the Win32 API call
AccessibleObjectFromEvent, requesting the IAccessible to the node corresponding to the
child number that had been indicated from NotifyWinEvent(). This ends up asking our RootAccessible for the child
IAccessible that matches the window handle and child id we indicated through NotofyWinEvent().
</p>
<p>
In Mozilla, this creates a problem. We cannot
keep track of a child number for every important accessible node in a document. We deal with this by generating fake
child IDs for the most recent accessibile events that we have generated, in a circular array.
</p>
<p>
Since there is a RootAccessible for each top level window that might generate MSAA events, that's where we do the bookkeeping
for these events and their nsIAccessible's. Whenever NotifyWinEvent() is called, a new fake ID is generated (We use
negative numbers for the fake IDs). When the callback comes to request the IAccessible for that child number,
we check the circular array for that ID, and voila, we have the corresponding nsIAccessible to proxy.
</p>
<p>
Every RootAccessible has an nsRootAccessible which is an nsIAccessibleEventReceiver. The RootAccessible
uses this to register itself as an nsIAccessibleEventListener. In the end, nsRootAccessible registers itself as a listener
of Mozilla's internal and DOM events. It's HandleEvent routine translates these events into MSAA events, and passes them along to
with an nsIAccessible to the original RootAccessible::HandleEvent
which turns that nsIAccessible into a NotifyWinEvent call, complete with a fake child ID.
</p>
<p>
Most MSAA events aren't utilized by accessibility aids. Therefore we implement only the handful that matter.
The most important event is the focus event, followed by name, state and value change events.
</p>
</ul>
</body>
</html>

View File

@@ -1,68 +0,0 @@
#
# 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): John Gaunt (jgaunt@netscape.com)
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
LIBRARY_NAME = accessibility
EXPORT_LIBRARY = 1
ifneq ($(OS_ARCH),WINNT)
SHORT_LIBNAME = access
endif
IS_COMPONENT = 1
MODULE_NAME = nsAccessibilityModule
REQUIRES = \
xpcom \
string \
dom \
$(NULL)
CPPSRCS = nsAccessibilityFactory.cpp
LOCAL_INCLUDES = -I$(srcdir)/../src
SHARED_LIBRARY_LIBS = \
$(DIST)/lib/$(LIB_PREFIX)accessibility_base_s.$(LIB_SUFFIX) \
$(DIST)/lib/$(LIB_PREFIX)accessibility_html_s.$(LIB_SUFFIX) \
$(NULL)
ifdef MOZ_XUL
SHARED_LIBRARY_LIBS += $(DIST)/lib/$(LIB_PREFIX)accessibility_xul_s.$(LIB_SUFFIX)
endif
EXTRA_DSO_LIBS = \
gkconshared_s \
gkgfx \
$(NULL)
EXTRA_DSO_LDOPTS = \
$(LIBS_DIR) \
$(EXTRA_DSO_LIBS) \
$(MOZ_COMPONENT_LIBS) \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -1,55 +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): John Gaunt (jgaunt@netscape.com)
DEPTH=..\..
MODULE=accessibility
REQUIRES = \
xpcom \
string \
dom \
$(NULL)
LIBRARY_NAME=accessibility
MODULE_NAME=nsAccessibilityModule
include <$(DEPTH)\config\config.mak>
CPP_OBJS=\
.\$(OBJDIR)\nsAccessibilityFactory.obj \
$(NULL)
LINCS = $(LINCS) -I..\src # for implementation headers
SUB_LIBRARIES=\
$(DIST)\lib\accessibility_base_s.lib \
$(DIST)\lib\accessibility_html_s.lib \
!ifdef MOZ_XUL
$(DIST)\lib\accessibility_xul_s.lib \
!endif
$(NULL)
LLIBS=\
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\gkgfx.lib \
$(DIST)\lib\contentshared_s.lib \
$(LIBNSPR) \
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,76 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsCOMPtr.h"
#include "nsIModule.h"
#include "nsIGenericFactory.h"
#include "nsIServiceManager.h"
#include "nsIComponentManager.h"
#include "nsIAccessibilityService.h"
#include "nscore.h"
static NS_IMETHODIMP
NS_ConstructAccessibilityService(nsISupports *aOuter, REFNSIID aIID, void **aResult)
{
nsresult rv;
NS_ASSERTION(aOuter == nsnull, "no aggregation");
nsIAccessibilityService* accessibility;
rv = NS_NewAccessibilityService(&accessibility);
if (NS_FAILED(rv)) {
NS_ERROR("Unable to construct chrome registry");
return rv;
}
rv = accessibility->QueryInterface(aIID, aResult);
NS_ASSERTION(NS_SUCCEEDED(rv), "unable to find correct interface");
NS_RELEASE(accessibility);
return rv;
}
// The list of components we register
static const nsModuleComponentInfo components[] =
{
{ "AccessibilityService",
NS_ACCESSIBILITY_SERVICE_CID,
"@mozilla.org/accessibilityService;1",
NS_ConstructAccessibilityService
},
};
NS_IMPL_NSGETMODULE(nsAccessibilityModule, components);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,26 +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=..
DIRS= public src build
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,2 +0,0 @@
nsIAccessibilityService.idl
nsIAccessible.idl

View File

@@ -1,43 +0,0 @@
#
# 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@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
XPIDL_MODULE= accessibility
XPIDLSRCS = \
nsIAccessibilityService.idl \
nsIAccessible.idl \
nsIAccessibleDocument.idl \
nsIAccessibleEventReceiver.idl \
nsIAccessibleEventListener.idl \
nsIAccessibleSelectable.idl \
nsIAccessibleProvider.idl \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -1,39 +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=..\..
MODULE=accessibility
XPIDL_MODULE=accessibility
XPIDLSRCS = \
.\nsIAccessibilityService.idl \
.\nsIAccessible.idl \
.\nsIAccessibleDocument.idl \
.\nsIAccessibleEventReceiver.idl \
.\nsIAccessibleEventListener.idl \
.\nsIAccessibleSelectable.idl \
.\nsIAccessibleProvider.idl \
$(NULL)
EXPORTS = \
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,99 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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 the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#include "nsISupports.idl"
#include "domstubs.idl"
#include "nsIAtom.idl"
#include "domstubs.idl"
#include "nsIAccessible.idl"
interface nsIWeakReference;
[scriptable, uuid(68D9720A-0984-42b6-A3F5-8237ED925727)]
interface nsIAccessibilityService : nsISupports
{
nsIAccessible createAccessible(in nsIDOMNode aNode, in nsISupports aDocument);
nsIAccessible createIFrameAccessible(in nsIDOMNode aNode);
nsIAccessible createRootAccessible(in nsISupports aPresContext, in nsISupports aFrame);
nsIAccessible createHTML4ButtonAccessible(in nsISupports aFrame);
nsIAccessible createHTMLAreaAccessible(in nsIWeakReference aPresShell, in nsIDOMNode aDOMNode, in nsIAccessible aAccParent);
nsIAccessible createHTMLBlockAccessible(in nsIDOMNode aNode, in nsISupports aDocument);
nsIAccessible createHTMLButtonAccessible(in nsISupports aFrame);
nsIAccessible createHTMLCheckboxAccessible(in nsISupports aFrame);
nsIAccessible createHTMLComboboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
nsIAccessible createHTMLGroupboxAccessible(in nsISupports aFrame);
nsIAccessible createHTMLImageAccessible(in nsISupports aFrame);
nsIAccessible createHTMLListboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
// new
// nsIAccessible CreateHTMLObjectAccessible(in nsISupports aFrame);
// end new
nsIAccessible createHTMLRadioButtonAccessible(in nsISupports aFrame);
nsIAccessible createHTMLSelectOptionAccessible(in nsIDOMNode aNode, in nsIAccessible aAccParent, in nsISupports aPresShell);
nsIAccessible createHTMLTableAccessible(in nsISupports aFrame);
nsIAccessible createHTMLTableCellAccessible(in nsISupports aFrame);
nsIAccessible createHTMLTextAccessible(in nsISupports aFrame);
nsIAccessible createHTMLTextFieldAccessible(in nsISupports aFrame);
nsIAccessible createXULButtonAccessible(in nsIDOMNode aNode);
nsIAccessible createXULCheckboxAccessible(in nsIDOMNode aNode);
nsIAccessible createXULColorPickerAccessible(in nsIDOMNode aNode);
nsIAccessible createXULColorPickerTileAccessible(in nsIDOMNode aNode);
nsIAccessible createXULComboboxAccessible(in nsIDOMNode aNode);
nsIAccessible createXULDropmarkerAccessible(in nsIDOMNode aNode);
nsIAccessible createXULGroupboxAccessible(in nsIDOMNode aNode);
nsIAccessible createXULImageAccessible(in nsIDOMNode aNode);
nsIAccessible createXULListboxAccessible(in nsIDOMNode aNode);
nsIAccessible createXULListitemAccessible(in nsIDOMNode aNode);
nsIAccessible createXULMenubarAccessible(in nsIDOMNode aNode);
nsIAccessible createXULMenuitemAccessible(in nsIDOMNode aNode);
nsIAccessible createXULMenupopupAccessible(in nsIDOMNode aNode);
nsIAccessible createXULMenuSeparatorAccessible(in nsIDOMNode aNode);
nsIAccessible createXULProgressMeterAccessible(in nsIDOMNode aNode);
nsIAccessible createXULStatusBarAccessible(in nsIDOMNode aNode);
nsIAccessible createXULRadioButtonAccessible(in nsIDOMNode aNode);
nsIAccessible createXULRadioGroupAccessible(in nsIDOMNode aNode);
nsIAccessible createXULSelectOptionAccessible(in nsIDOMNode aNode);
nsIAccessible createXULSelectListAccessible(in nsIDOMNode aNode);
nsIAccessible createXULTabAccessible(in nsIDOMNode aNode);
nsIAccessible createXULTabBoxAccessible(in nsIDOMNode aNode);
nsIAccessible createXULTabPanelsAccessible(in nsIDOMNode aNode);
nsIAccessible createXULTabsAccessible(in nsIDOMNode aNode);
nsIAccessible createXULTextAccessible(in nsIDOMNode aNode);
nsIAccessible getAccessibleFor(in nsIDOMNode aNode);
};
%{ C++
// for component registration
// {DE401C37-9A7F-4278-A6F8-3DE2833989EF}
#define NS_ACCESSIBILITY_SERVICE_CID \
{ 0xde401c37, 0x9a7f, 0x4278, { 0xa6, 0xf8, 0x3d, 0xe2, 0x83, 0x39, 0x89, 0xef } }
extern nsresult
NS_NewAccessibilityService(nsIAccessibilityService** aResult);
%}

View File

@@ -1,193 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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 the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: Eric D Vaughan (evaughan@netscape.com)
*
* Contributor(s):
* Aaron Leventhal
* John Gaunt
*/
#include "nsISupports.idl"
#include "nsIDOMNode.idl"
#include "domstubs.idl"
[scriptable, uuid(B26FBE47-9A5F-42a1-822B-082461AE4D6D)]
interface nsIAccessible : nsISupports
{
readonly attribute nsIAccessible accParent;
readonly attribute nsIAccessible accNextSibling;
readonly attribute nsIAccessible accPreviousSibling;
readonly attribute nsIAccessible accFirstChild;
readonly attribute nsIAccessible accLastChild;
readonly attribute long accChildCount;
attribute DOMString accName;
readonly attribute DOMString accValue;
readonly attribute DOMString accDescription;
readonly attribute unsigned long accRole;
readonly attribute unsigned long accState;
readonly attribute unsigned long accExtState;
readonly attribute DOMString accHelp;
readonly attribute nsIAccessible accFocused;
nsIAccessible accGetAt(in long x, in long y);
nsIAccessible accNavigateRight();
nsIAccessible accNavigateLeft();
nsIAccessible accNavigateUp();
nsIAccessible accNavigateDown();
void accGetBounds(out long x,
out long y,
out long width,
out long height);
void accAddSelection();
void accRemoveSelection();
void accExtendSelection();
void accTakeSelection();
void accTakeFocus();
readonly attribute PRUint8 accNumActions;
DOMString getAccActionName(in PRUint8 index);
void accDoAction(in PRUint8 index); // Action number 0 is the default action
nsIDOMNode accGetDOMNode();
// Used by Accessible implementation to save data and speed up accessibility tree walking
[noscript] void CacheOptimizations(in nsIAccessible aParent, in PRInt32 aSiblingIndex, in nsIDOMNodeList aSiblingList);
// MSAA State flags - used for bitfield. More than 1 allowed.
const unsigned long STATE_UNAVAILABLE = 0x00000001; // Disabled, maps to opposite of Java ENABLED, Gnome/ATK SENSITIVE?
const unsigned long STATE_SELECTED = 0x00000002;
const unsigned long STATE_FOCUSED = 0x00000004;
const unsigned long STATE_PRESSED = 0x00000008;
const unsigned long STATE_CHECKED = 0x00000010;
const unsigned long STATE_MIXED = 0x00000020; // 3-state checkbox or toolbar button
const unsigned long STATE_READONLY = 0x00000040; // Maps to opposite of Java/Gnome/ATK EDITABLE state
const unsigned long STATE_HOTTRACKED = 0x00000080;
const unsigned long STATE_DEFAULT = 0x00000100;
const unsigned long STATE_EXPANDED = 0x00000200;
const unsigned long STATE_COLLAPSED = 0x00000400;
const unsigned long STATE_BUSY = 0x00000800;
const unsigned long STATE_FLOATING = 0x00001000; // Children "owned" not "contained" by parent
const unsigned long STATE_MARQUEED = 0x00002000;
const unsigned long STATE_ANIMATED = 0x00004000;
const unsigned long STATE_INVISIBLE = 0x00008000;
const unsigned long STATE_OFFSCREEN = 0x00010000;
const unsigned long STATE_SIZEABLE = 0x00020000;
const unsigned long STATE_MOVEABLE = 0x00040000;
const unsigned long STATE_SELFVOICING = 0x00080000;
const unsigned long STATE_FOCUSABLE = 0x00100000;
const unsigned long STATE_SELECTABLE = 0x00200000;
const unsigned long STATE_LINKED = 0x00400000;
const unsigned long STATE_TRAVERSED = 0x00800000;
const unsigned long STATE_MULTISELECTABLE = 0x01000000; // Supports multiple selection
const unsigned long STATE_EXTSELECTABLE = 0x02000000; // Supports extended selection
const unsigned long STATE_ALERT_LOW = 0x04000000; // This information is of low priority
const unsigned long STATE_ALERT_MEDIUM = 0x08000000; // This information is of medium priority
const unsigned long STATE_ALERT_HIGH = 0x10000000; // This information is of high priority
const unsigned long STATE_PROTECTED = 0x20000000; // Maps to Gnome's *Role* ATK_ROLE_PASSWD_TEXT, nothing for Java?
const unsigned long STATE_HASPOPUP = 0x40000000; // New in MSAA 2.0
// Extended state flags (for now non-MSAA, for Java and Gnome/ATK support)
// This is only the states that there isn't already a mapping for in MSAA
// See www.accessmozilla.org/article.php?sid=11 for information on the mappings between accessibility API states
const unsigned long STATE_INVALID = 0x00200000; // No explanation given
const unsigned long STATE_ACTIVE = 0x00400000; // This window is currently the active window
const unsigned long STATE_EXPANDABLE = 0x00800000; // An item that can be expanded, such as a tree item with children
const unsigned long STATE_MODAL = 0x01000000; // Must do something with control before leaving it
const unsigned long STATE_MULTI_LINE = 0x02000000; // Edit control that can take multiple lines
const unsigned long STATE_SENSITIVE = 0x04000000; // No explanation given
const unsigned long STATE_RESIZABLE = 0x08000000; // Object can be resized
const unsigned long STATE_SHOWING = 0x10000000; // This object and all of it's ancestors are visible
const unsigned long STATE_SINGLE_LINE = 0x20000000; // This text object can only contain 1 line of text
const unsigned long STATE_TRANSIENT = 0x40000000; // Tells accessibility aid "Don't add event listener - this object doesn't generate any". For example, could be used with higher level containers.
const unsigned long STATE_VERTICAL = 0x80000000; // Especially used for sliders and scrollbars
// MSAA Roles - only one per nsIAccessible or IAccessible
const unsigned long ROLE_TITLEBAR = 0x00000001;
const unsigned long ROLE_MENUBAR = 0x00000002;
const unsigned long ROLE_SCROLLBAR = 0x00000003;
const unsigned long ROLE_GRIP = 0x00000004;
const unsigned long ROLE_SOUND = 0x00000005;
const unsigned long ROLE_CURSOR = 0x00000006;
const unsigned long ROLE_CARET = 0x00000007;
const unsigned long ROLE_ALERT = 0x00000008;
const unsigned long ROLE_WINDOW = 0x00000009;
const unsigned long ROLE_CLIENT = 0x0000000A;
const unsigned long ROLE_MENUPOPUP = 0x0000000B;
const unsigned long ROLE_MENUITEM = 0x0000000C;
const unsigned long ROLE_TOOLTIP = 0x0000000D;
const unsigned long ROLE_APPLICATION = 0x0000000E;
const unsigned long ROLE_DOCUMENT = 0x0000000F;
const unsigned long ROLE_PANE = 0x00000010;
const unsigned long ROLE_CHART = 0x00000011;
const unsigned long ROLE_DIALOG = 0x00000012;
const unsigned long ROLE_BORDER = 0x00000013;
const unsigned long ROLE_GROUPING = 0x00000014;
const unsigned long ROLE_SEPARATOR = 0x00000015;
const unsigned long ROLE_TOOLBAR = 0x00000016;
const unsigned long ROLE_STATUSBAR = 0x00000017;
const unsigned long ROLE_TABLE = 0x00000018;
const unsigned long ROLE_COLUMNHEADER = 0x00000019;
const unsigned long ROLE_ROWHEADER = 0x0000001A;
const unsigned long ROLE_COLUMN = 0x0000001B;
const unsigned long ROLE_ROW = 0x0000001C;
const unsigned long ROLE_CELL = 0x0000001D;
const unsigned long ROLE_LINK = 0x0000001E;
const unsigned long ROLE_HELPBALLOON = 0x0000001F;
const unsigned long ROLE_CHARACTER = 0x00000020;
const unsigned long ROLE_LIST = 0x00000021;
const unsigned long ROLE_LISTITEM = 0x00000022;
const unsigned long ROLE_OUTLINE = 0x00000023;
const unsigned long ROLE_OUTLINEITEM = 0x00000024;
const unsigned long ROLE_PAGETAB = 0x00000025;
const unsigned long ROLE_PROPERTYPAGE = 0x00000026;
const unsigned long ROLE_INDICATOR = 0x00000027;
const unsigned long ROLE_GRAPHIC = 0x00000028;
const unsigned long ROLE_STATICTEXT = 0x00000029;
const unsigned long ROLE_TEXT = 0x0000002A; // Editable, selectable, etc.
const unsigned long ROLE_PUSHBUTTON = 0x0000002B;
const unsigned long ROLE_CHECKBUTTON = 0x0000002C;
const unsigned long ROLE_RADIOBUTTON = 0x0000002D;
const unsigned long ROLE_COMBOBOX = 0x0000002E;
const unsigned long ROLE_DROPLIST = 0x0000002F;
const unsigned long ROLE_PROGRESSBAR = 0x00000030;
const unsigned long ROLE_DIAL = 0x00000031;
const unsigned long ROLE_HOTKEYFIELD = 0x00000032;
const unsigned long ROLE_SLIDER = 0x00000033;
const unsigned long ROLE_SPINBUTTON = 0x00000034;
const unsigned long ROLE_DIAGRAM = 0x00000035;
const unsigned long ROLE_ANIMATION = 0x00000036;
const unsigned long ROLE_EQUATION = 0x00000037;
const unsigned long ROLE_BUTTONDROPDOWN = 0x00000038;
const unsigned long ROLE_BUTTONMENU = 0x00000039;
const unsigned long ROLE_BUTTONDROPDOWNGRID = 0x0000003A;
const unsigned long ROLE_WHITESPACE = 0x0000003B;
const unsigned long ROLE_PAGETABLIST = 0x0000003C;
const unsigned long ROLE_CLOCK = 0x0000003D;
const unsigned long ROLE_SPLITBUTTON = 0x0000003E; // New in MSAA 2.0
const unsigned long ROLE_IPADDRESS = 0x0000003F; // New in MSAA 2.0
const unsigned long ROLE_NOTHING = 0xffffffff;
};

View File

@@ -1,41 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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 the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: Aaron Leventhal
*
* Contributor(s):
* John Gaunt
*/
#include "nsISupports.idl"
#include "nsIAccessible.idl"
#include "domstubs.idl"
interface nsIDocument;
[scriptable, uuid(8781FC88-355F-4439-881F-6504A0A1CEB6)]
interface nsIAccessibleDocument : nsISupports
{
readonly attribute DOMString URL;
readonly attribute DOMString title;
readonly attribute DOMString mimeType;
readonly attribute DOMString docType;
DOMString getNameSpaceURIForID(in short nameSpaceID);
[noscript] nsIDocument getDocument();
};

View File

@@ -1,45 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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 the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: Eric D Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#include "nsISupports.idl"
#include "nsIAccessible.idl"
[scriptable, uuid(BEE49E7D-9D06-49bf-8984-1694C697D74F)]
interface nsIAccessibleEventListener : nsISupports
{
// these are set to the values given by MSAA
const unsigned long EVENT_FOCUS = 0x8005;
const unsigned long EVENT_STATE_CHANGE = 0x800A;
const unsigned long EVENT_NAME_CHANGE = 0x800C;
const unsigned long EVENT_SELECTION = 0x8006;
const unsigned long EVENT_SELECTION_ADD = 0x8007;
const unsigned long EVENT_SELECTION_REMOVE = 0x8008;
const unsigned long EVENT_SELECTION_WITHIN = 0x8009;
const unsigned long EVENT_MENUSTART = 0x0004;
const unsigned long EVENT_MENUEND = 0x0005;
const unsigned long EVENT_MENUPOPUPSTART = 0x0006;
const unsigned long EVENT_MENUPOPUPEND = 0x0007;
void handleEvent(in unsigned long aEvent, in nsIAccessible aTarget);
};

View File

@@ -1,32 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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 the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: Eric D Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#include "nsIAccessibleEventListener.idl"
[scriptable, uuid(AB331E47-4FAA-4a12-9480-9B480DD78B39)]
interface nsIAccessibleEventReceiver : nsISupports
{
void addAccessibleEventListener(in nsIAccessibleEventListener aListener);
void removeAccessibleEventListener();
};

View File

@@ -1,33 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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 the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: John Gaunt (jgaunt@netscape.com)
*
* Contributor(s):
* John Gaunt
*/
#include "nsISupports.idl"
#include "nsIAccessible.idl"
[scriptable, uuid(3f0e3eb0-1dd2-11b2-9605-be5b8e76cf4b)]
interface nsIAccessibleProvider : nsISupports
{
readonly attribute nsIAccessible accessible;
};

View File

@@ -1,34 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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 the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Original Author: John Gaunt (jgaunt@netscape.com)
*
* Contributor(s):
* John Gaunt
*/
#include "nsISupports.idl"
#include "nsIAccessible.idl"
#include "nsISupportsArray.idl"
[scriptable, uuid(34d268d6-1dd2-11b2-9d63-83a5e0ada290)]
interface nsIAccessibleSelectable : nsISupports
{
nsISupportsArray GetSelectedChildren();
};

View File

@@ -1,39 +0,0 @@
#
# 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): John Gaunt (jgaunt@netscape.com)
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = \
base \
html \
$(null)
ifdef MOZ_XUL
DIRS += xul
endif
include $(topsrcdir)/config/rules.mk

View File

@@ -1 +0,0 @@
accessible.properties

View File

@@ -1,77 +0,0 @@
#
# 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): John Gaunt (jgaunt@netscape.com)
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
LIBRARY_NAME = accessibility_base_s
REQUIRES = \
content \
content_xul \
docshell \
dom \
gfx \
gfx2 \
htmlparser \
imglib2 \
intl \
layout \
locale \
necko \
string \
uriloader \
view \
webshell \
widget \
xpcom \
xuldoc \
webbrwsr \
$(NULL)
CPPSRCS = \
nsAccessibilityService.cpp \
nsAccessible.cpp \
nsBaseWidgetAccessible.cpp \
nsFormControlAccessible.cpp \
nsGenericAccessible.cpp \
nsRootAccessible.cpp \
nsSelectAccessible.cpp \
$(NULL)
EXPORTS = \
nsRootAccessible.h \
$(NULL)
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES += \
-I$(srcdir) \
-I$(srcdir)/../html \
-I$(srcdir)/../xul \
$(NULL)

View File

@@ -1,8 +0,0 @@
jump = Jump
press = Press
check = Check
uncheck = Uncheck
select = Select
open = Open
close = Close
switch = Switch

View File

@@ -1,3 +0,0 @@
en-win.jar:
locale/en-US/global-platform/accessible.properties

View File

@@ -1,77 +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): John Gaunt (jgaunt@netscape.com)
DEPTH = ..\..\..
MODULE = accessibility
LIBRARY_NAME = accessibility_base_s
REQUIRES = \
content \
content_xul \
docshell \
dom \
gfx \
intl \
layout \
locale \
necko \
string \
uriloader \
view \
webshell \
widget \
xpcom \
$(NULL)
CPP_OBJS = \
.\$(OBJDIR)\nsAccessibilityService.obj \
.\$(OBJDIR)\nsAccessible.obj \
.\$(OBJDIR)\nsBaseWidgetAccessible.obj \
.\$(OBJDIR)\nsFormControlAccessible.obj \
.\$(OBJDIR)\nsGenericAccessible.obj \
.\$(OBJDIR)\nsRootAccessible.obj \
.\$(OBJDIR)\nsSelectAccessible.obj \
$(NULL)
EXPORTS = \
.\nsRootAccessible.h \
$(NULL)
LINCS = \
-I..\html \
-I..\xul \
-I..\..\..\layout\html\forms\public \
-I..\..\..\layout\html\forms\src \
-I..\..\..\layout\html\base\src \
$(NULL)
include <$(DEPTH)\config\rules.mak>
libs:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
clobber::
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib

File diff suppressed because it is too large Load Diff

View File

@@ -1,69 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Original Author: David W. Hyatt (hyatt@netscape.com)
* Contributor(s): John Gaunt (jgaunt@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __nsAccessibilityService_h__
#define __nsAccessibilityService_h__
#include "nsIAccessibilityService.h"
#include "nsIContent.h"
#include "nsIPresShell.h"
#include "nsIDocShell.h"
class nsIFrame;
class nsIWeakReference;
class nsIDOMNode;
class nsAccessibilityService : public nsIAccessibilityService
{
public:
nsAccessibilityService();
virtual ~nsAccessibilityService();
NS_DECL_ISUPPORTS
// nsIAccessibilityService methods:
NS_DECL_NSIACCESSIBILITYSERVICE
private:
nsresult GetInfo(nsISupports* aFrame, nsIFrame** aRealFrame, nsIWeakReference** aShell, nsIDOMNode** aContent);
nsresult GetShellFromNode(nsIDOMNode *aNode, nsIWeakReference **weakShell);
void GetOwnerFor(nsIPresShell *aPresShell, nsIPresShell **aOwnerShell, nsIContent **aOwnerContent);
nsIContent* FindContentForDocShell(nsIPresShell* aPresShell, nsIContent* aContent, nsIDocShell* aDocShell);
};
#endif /* __nsIAccessibilityService_h__ */

File diff suppressed because it is too large Load Diff

View File

@@ -1,168 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsAccessible_H_
#define _nsAccessible_H_
#include "nsCOMPtr.h"
#include "nsGenericAccessible.h"
#include "nsIAccessible.h"
#include "nsIAccessibilityService.h"
#include "nsIDOMNode.h"
#include "nsIFocusController.h"
#include "nsIPresContext.h"
#include "nsIPresShell.h"
#include "nsPoint.h"
#include "nsRect.h"
#include "nsWeakReference.h"
#include "nsIDOMNodeList.h"
#include "nsIBindingManager.h"
#define ACCESSIBLE_BUNDLE_URL "chrome://global-platform/locale/accessible.properties"
class nsIContent;
class nsIDocShell;
class nsIFrame;
class nsIWebShell;
enum { eSiblingsUninitialized = -1, eSiblingsWalkNormalDOM = -2}; // Used in sibling index field as flags
class nsAccessible : public nsGenericAccessible
{
public:
// to eliminate the confusion of "magic numbers" -- if ( 0 ){ foo; }
enum { eAction_Switch=0, eAction_Jump=0, eAction_Click=0 };
// how many actions
enum { eNo_Action=0, eSingle_Action=1 };
nsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
virtual ~nsAccessible();
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccFocused(nsIAccessible **_retval);
NS_IMETHOD AccGetAt(PRInt32 x, PRInt32 y, nsIAccessible **_retval);
NS_IMETHOD AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height);
NS_IMETHOD AccRemoveSelection(void);
NS_IMETHOD AccTakeSelection(void);
NS_IMETHOD AccTakeFocus(void);
NS_IMETHOD AccGetDOMNode(nsIDOMNode **_retval);
protected:
virtual nsIFrame* GetFrame();
virtual nsIFrame* GetBoundsFrame();
virtual void GetBounds(nsRect& aRect, nsIFrame** aRelativeFrame);
virtual void GetPresContext(nsCOMPtr<nsIPresContext>& aContext);
PRBool IsPartiallyVisible();
NS_IMETHOD AppendLabelText(nsIDOMNode *aLabelNode, nsAString& _retval);
NS_IMETHOD AppendLabelFor(nsIContent *aLookNode, const nsAString *aId, nsAString *aLabel);
NS_IMETHOD GetHTMLAccName(nsAString& _retval);
NS_IMETHOD GetXULAccName(nsAString& _retval);
NS_IMETHOD AppendFlatStringFromSubtree(nsIContent *aContent, nsAString *aFlatString);
NS_IMETHOD AppendFlatStringFromContentNode(nsIContent *aContent, nsAString *aFlatString);
NS_IMETHOD AppendStringWithSpaces(nsAString *aFlatString, const nsAString& textEquivalent);
NS_IMETHOD GetFocusedElement(nsIDOMElement **aFocusedElement);
NS_IMETHOD CacheOptimizations(nsIAccessible *aParent, PRInt32 aSiblingIndex, nsIDOMNodeList *aSiblingList);
// helper method to verify frames
static PRBool IsCorrectFrameType(nsIFrame* aFrame, nsIAtom* aAtom);
static nsresult GetTranslatedString(const nsAString& aKey, nsAString& aStringOut);
void GetScrollOffset(nsRect *aRect);
void GetScreenOrigin(nsIPresContext *aPresContext, nsIFrame *aFrame, nsRect *aRect);
// Data Members
nsCOMPtr<nsIDOMNode> mDOMNode;
nsCOMPtr<nsIWeakReference> mPresShell;
nsCOMPtr<nsIAccessible> mParent;
nsCOMPtr<nsIDOMNodeList> mSiblingList; // If some of our computed siblings are anonymous content nodes, cache node list
PRInt32 mSiblingIndex; // Cache where we are in list of kids that we got from nsIBindingManager::GetContentList(parentContent)
};
/** This class is used to walk the DOM tree. It skips
* everything but nodes that either implement nsIAccessible
* or have primary frames that implement "GetAccessible"
*/
struct WalkState {
nsCOMPtr<nsIAccessible> accessible;
nsCOMPtr<nsIDOMNode> domNode;
nsCOMPtr<nsIDOMNodeList> siblingList;
PRInt32 siblingIndex; // Holds a state flag or an index into the siblingList
WalkState *prevState;
};
class nsAccessibleTreeWalker {
public:
nsAccessibleTreeWalker(nsIWeakReference* aShell, nsIDOMNode* aContent,
PRInt32 aCachedSiblingIndex, nsIDOMNodeList *aCachedSiblingList, PRBool mWalkAnonymousContent);
~nsAccessibleTreeWalker();
NS_IMETHOD GetNextSibling();
NS_IMETHOD GetPreviousSibling();
NS_IMETHOD GetParent();
NS_IMETHOD GetFirstChild();
NS_IMETHOD GetLastChild();
PRInt32 GetChildCount();
WalkState mState;
protected:
NS_IMETHOD GetChildBefore(nsIDOMNode* aParent, nsIDOMNode* aChild);
PRBool IsHidden();
PRBool GetAccessible();
NS_IMETHOD GetFullTreeParentNode(nsIDOMNode *aChildNode, nsIDOMNode **aParentNodeOut);
void GetSiblings(nsIDOMNode *aOneOfTheSiblings);
void GetKids(nsIDOMNode *aParent);
void ClearState();
NS_IMETHOD PushState();
NS_IMETHOD PopState();
nsCOMPtr<nsIWeakReference> mPresShell;
nsCOMPtr<nsIAccessibilityService> mAccService;
nsCOMPtr<nsIBindingManager> mBindingManager;
};
#endif

View File

@@ -1,425 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsAccessible.h"
#include "nsBaseWidgetAccessible.h"
#include "nsCOMPtr.h"
#include "nsGUIEvent.h"
#include "nsIContent.h"
#include "nsIDOMElement.h"
#include "nsIDOMEventReceiver.h"
#include "nsIFrame.h"
#include "nsILink.h"
#include "nsIPresContext.h"
#include "nsIPresShell.h"
#include "nsISelection.h"
#include "nsISelectionController.h"
// ------------
// nsBlockAccessible
// ------------
nsBlockAccessible::nsBlockAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):nsAccessible(aNode, aShell)
{
}
/* nsIAccessible accGetAt (in long x, in long y); */
NS_IMETHODIMP nsBlockAccessible::AccGetAt(PRInt32 tx, PRInt32 ty, nsIAccessible **_retval)
{
// We're going to find the child that contains coordinates (tx,ty)
PRInt32 x,y,w,h;
AccGetBounds(&x,&y,&w,&h); // Get bounds for this accessible
if (tx >= x && tx < x + w && ty >= y && ty < y + h)
{
// It's within this nsIAccessible, let's drill down
nsCOMPtr<nsIAccessible> child;
nsCOMPtr<nsIAccessible> smallestChild;
PRInt32 smallestArea = -1;
nsCOMPtr<nsIAccessible> next;
GetAccFirstChild(getter_AddRefs(child));
PRInt32 cx,cy,cw,ch; // Child bounds
while(child) {
child->AccGetBounds(&cx,&cy,&cw,&ch);
// ok if there are multiple frames the contain the point
// and they overlap then pick the smallest. We need to do this
// for text frames.
// For example, A point that's in block #2 is also in block #1, but we want to return #2:
//
// [[block #1 is long wrapped text that continues to
// another line]] [[here is a shorter block #2]]
if (tx >= cx && tx < cx + cw && ty >= cy && ty < cy + ch)
{
if (smallestArea == -1 || cw*ch < smallestArea) {
smallestArea = cw*ch;
smallestChild = child;
}
}
child->GetAccNextSibling(getter_AddRefs(next));
child = next;
}
if (smallestChild != nsnull)
{
*_retval = smallestChild;
NS_ADDREF(*_retval);
return NS_OK;
}
*_retval = this;
NS_ADDREF(this);
return NS_OK;
}
*_retval = nsnull;
return NS_OK;
}
/**
* nsContainerAccessible
*/
nsContainerAccessible::nsContainerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/** no actions */
NS_IMETHODIMP nsContainerAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eNo_Action;
return NS_OK;
}
/** no actions */
NS_IMETHODIMP nsContainerAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
return NS_OK;
}
/** no actions */
NS_IMETHODIMP nsContainerAccessible::AccDoAction(PRUint8 index)
{
return NS_OK;
}
/** no state -- normal */
NS_IMETHODIMP nsContainerAccessible::GetAccState(PRUint32 *_retval)
{
*_retval = 0;
return NS_OK;
}
/** no value */
NS_IMETHODIMP nsContainerAccessible::GetAccValue(nsAString& _retval)
{
return NS_OK;
}
/** no name*/
NS_IMETHODIMP nsContainerAccessible::GetAccName(nsAString& _retval)
{
return NS_OK;
}
//-------------
// nsLeafFrameAccessible
//-------------
nsLeafAccessible::nsLeafAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsLeafAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsLeafAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsLeafAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}
//----------------
// nsLinkableAccessible
//----------------
nsLinkableAccessible::nsLinkableAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell), mIsALinkCached(PR_FALSE), mLinkContent(nsnull), mIsLinkVisited(PR_FALSE)
{
}
/* long GetAccState (); */
NS_IMETHODIMP nsLinkableAccessible::GetAccState(PRUint32 *_retval)
{
nsAccessible::GetAccState(_retval);
*_retval |= STATE_READONLY | STATE_SELECTABLE;
if (IsALink()) {
*_retval |= STATE_LINKED;
if (mIsLinkVisited)
*_retval |= STATE_TRAVERSED;
}
// Get current selection and find out if current node is in it
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIPresContext> context;
shell->GetPresContext(getter_AddRefs(context));
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
nsIFrame *frame = nsnull;
if (content && NS_SUCCEEDED(shell->GetPrimaryFrameFor(content, &frame)) && frame) {
nsCOMPtr<nsISelectionController> selCon;
frame->GetSelectionController(context,getter_AddRefs(selCon));
if (selCon) {
nsCOMPtr<nsISelection> domSel;
selCon->GetSelection(nsISelectionController::SELECTION_NORMAL, getter_AddRefs(domSel));
if (domSel) {
PRBool isSelected = PR_FALSE, isCollapsed = PR_TRUE;
domSel->ContainsNode(mDOMNode, PR_TRUE, &isSelected);
domSel->GetIsCollapsed(&isCollapsed);
if (isSelected && !isCollapsed)
*_retval |=STATE_SELECTED;
}
}
}
if (IsALink()) {
// Make sure we also include all the states of the parent link, such as focusable, focused, etc.
PRUint32 role;
GetAccRole(&role);
if (role != ROLE_LINK) {
nsCOMPtr<nsIAccessible> parentAccessible;
GetAccParent(getter_AddRefs(parentAccessible));
if (parentAccessible) {
PRUint32 orState = 0;
parentAccessible->GetAccState(&orState);
*_retval |= orState;
}
}
}
return NS_OK;
}
NS_IMETHODIMP nsLinkableAccessible::GetAccValue(nsAString& _retval)
{
if (IsALink()) {
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(mLinkContent));
if (elt)
return elt->GetAttribute(NS_LITERAL_STRING("href"), _retval);
}
return NS_ERROR_NOT_IMPLEMENTED;
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsLinkableAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsLinkableAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
// Action 0 (default action): Jump to link
if (index == eAction_Jump) {
if (IsALink()) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("jump"), _retval);
return NS_OK;
}
return NS_ERROR_NOT_IMPLEMENTED;
}
return NS_ERROR_INVALID_ARG;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsLinkableAccessible::AccDoAction(PRUint8 index)
{
// Action 0 (default action): Jump to link
if (index == 0) {
if (IsALink()) {
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIPresContext> presContext;
shell->GetPresContext(getter_AddRefs(presContext));
if (presContext) {
nsMouseEvent linkClickEvent;
linkClickEvent.eventStructType = NS_EVENT;
linkClickEvent.message = NS_MOUSE_LEFT_CLICK;
linkClickEvent.isShift = PR_FALSE;
linkClickEvent.isControl = PR_FALSE;
linkClickEvent.isAlt = PR_FALSE;
linkClickEvent.isMeta = PR_FALSE;
linkClickEvent.clickCount = 0;
linkClickEvent.widget = nsnull;
nsEventStatus eventStatus = nsEventStatus_eIgnore;
mLinkContent->HandleDOMEvent(presContext,
&linkClickEvent,
nsnull,
NS_EVENT_FLAG_INIT,
&eventStatus);
return NS_OK;
}
}
}
return NS_ERROR_INVALID_ARG;
}
PRBool nsLinkableAccessible::IsALink()
{
if (mIsALinkCached) // Cached answer?
return mLinkContent? PR_TRUE: PR_FALSE;
nsCOMPtr<nsIContent> walkUpContent(do_QueryInterface(mDOMNode));
if (walkUpContent) {
nsCOMPtr<nsIContent> tempContent = walkUpContent;
while (walkUpContent) {
nsCOMPtr<nsILink> link(do_QueryInterface(walkUpContent));
if (link) {
mLinkContent = tempContent;
mIsALinkCached = PR_TRUE;
nsLinkState linkState;
link->GetLinkState(linkState);
if (linkState == eLinkState_Visited)
mIsLinkVisited = PR_TRUE;
return PR_TRUE;
}
walkUpContent->GetParent(*getter_AddRefs(tempContent));
walkUpContent = tempContent;
}
}
mIsALinkCached = PR_TRUE; // Cached that there is no link
return PR_FALSE;
}
// ------------
// nsMenuListenerAccessible
// ------------
NS_IMPL_ISUPPORTS_INHERITED1(nsMenuListenerAccessible, nsAccessible, nsIDOMXULListener)
nsMenuListenerAccessible::nsMenuListenerAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsAccessible(aDOMNode, aShell)
{
mRegistered = PR_FALSE;
mOpen = PR_FALSE;
}
nsMenuListenerAccessible::~nsMenuListenerAccessible()
{
if (mRegistered) {
nsCOMPtr<nsIDOMEventReceiver> eventReceiver(do_QueryInterface(mDOMNode));
if (eventReceiver)
eventReceiver->RemoveEventListener(NS_LITERAL_STRING("popupshowing"), this, PR_TRUE);
}
}
NS_IMETHODIMP nsMenuListenerAccessible::PopupShowing(nsIDOMEvent* aEvent)
{
mOpen = PR_TRUE;
/* TBD send state change event */
return NS_OK;
}
NS_IMETHODIMP nsMenuListenerAccessible::PopupHiding(nsIDOMEvent* aEvent)
{
mOpen = PR_FALSE;
/* TBD send state change event */
return NS_OK;
}
NS_IMETHODIMP nsMenuListenerAccessible::Close(nsIDOMEvent* aEvent)
{
mOpen = PR_FALSE;
/* TBD send state change event */
return NS_OK;
}
void
nsMenuListenerAccessible::SetupMenuListener()
{
// if not already one, register ourselves as a popup listener
if (!mRegistered) {
nsCOMPtr<nsIDOMEventReceiver> eventReceiver(do_QueryInterface(mDOMNode));
if (!eventReceiver) {
return;
}
nsresult rv = eventReceiver->AddEventListener(NS_LITERAL_STRING("popupshowing"), this, PR_TRUE);
if (NS_FAILED(rv)) {
return;
}
mRegistered = PR_TRUE;
}
}

View File

@@ -1,148 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsBaseWidgetAccessible_H_
#define _nsBaseWidgetAccessible_H_
#include "nsAccessible.h"
#include "nsCOMPtr.h"
#include "nsIContent.h"
#include "nsIDOMNode.h"
#include "nsIDOMXULListener.h"
/**
* This file contains a number of classes that are used as base
* classes for the different accessibility implementations of
* the HTML and XUL widget sets. --jgaunt
*/
/**
* Special Accessible that knows how to handle hit detection for flowing text
*/
class nsBlockAccessible : public nsAccessible
{
public:
nsBlockAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD AccGetAt(PRInt32 x, PRInt32 y, nsIAccessible **_retval);
};
/**
* Special Accessible that just contains other accessible objects
* no actions, no name, no state, no value
*/
class nsContainerAccessible : public nsAccessible
{
public:
nsContainerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
NS_IMETHOD GetAccName(nsAString& _retval);
};
/**
* Leaf version of DOM Accessible -- has no children
*/
class nsLeafAccessible : public nsAccessible
{
public:
nsLeafAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
};
/**
* A type of accessible for DOM nodes containing an href="" attribute.
* It knows how to report the state of the link ( traveled or not )
* and can activate ( click ) the link programmatically.
*/
class nsLinkableAccessible : public nsAccessible
{
public:
nsLinkableAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
protected:
PRBool IsALink();
PRBool mIsALinkCached; // -1 = unknown, 0 = not a link, 1 = is a link
nsCOMPtr<nsIContent> mLinkContent;
PRBool mIsLinkVisited;
};
/*
* A base class that can listen to menu events. Its used by selects so the
* button and the window accessibles can change their name and role
* depending on whether the drop down list is dropped down on not
*/
class nsMenuListenerAccessible : public nsAccessible, public nsIDOMXULListener
{
public:
NS_DECL_ISUPPORTS_INHERITED
nsMenuListenerAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsMenuListenerAccessible();
// popup listener
NS_IMETHOD PopupShowing(nsIDOMEvent* aEvent);
NS_IMETHOD PopupShown(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD PopupHiding(nsIDOMEvent* aEvent);
NS_IMETHOD PopupHidden(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD Close(nsIDOMEvent* aEvent);
NS_IMETHOD Command(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD Broadcast(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD CommandUpdate(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent) { return NS_OK; }
virtual void SetupMenuListener();
PRBool mRegistered;
PRBool mOpen;
};
#endif

View File

@@ -1,226 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* John Gaunt (jgaunt@netscape.com)
* Aaron Leventhal (aaronl@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// NOTE: alphabetically ordered
#include "nsFormControlAccessible.h"
#include "nsIDocument.h"
#include "nsIDOMHTMLFormElement.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMHTMLLabelElement.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMXULButtonElement.h"
#include "nsIDOMXULCheckboxElement.h"
#include "nsIDOMXULDocument.h"
#include "nsIDOMXULElement.h"
#include "nsIDOMXULLabelElement.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
#include "nsReadableUtils.h"
#include "nsString.h"
/**
* nsFormControlAccessible
*/
nsFormControlAccessible::nsFormControlAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/**
* XUL states: focused, unavailable(disabled), focusable, ?protected?
* HTML states: focused, unabailable(disabled), focusable, protected
*/
NS_IMETHODIMP nsFormControlAccessible::GetAccState(PRUint32 *_retval)
{
// Get the focused state from the nsAccessible
nsAccessible::GetAccState(_retval);
PRBool disabled = PR_FALSE;
nsresult rv = NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMHTMLInputElement> htmlFormElement(do_QueryInterface(mDOMNode, &rv));
if (NS_SUCCEEDED(rv) && htmlFormElement) {
htmlFormElement->GetDisabled(&disabled);
nsAutoString typeString;
htmlFormElement->GetType(typeString);
if (typeString.EqualsIgnoreCase("password"))
*_retval |= STATE_PROTECTED;
}
else {
nsCOMPtr<nsIDOMXULControlElement> xulFormElement(do_QueryInterface(mDOMNode, &rv));
if (NS_SUCCEEDED(rv) && xulFormElement) {
xulFormElement->GetDisabled(&disabled);
/* XXX jgaunt do XUL elements support password fields? */
}
}
if (disabled)
*_retval |= STATE_UNAVAILABLE;
else
*_retval |= STATE_FOCUSABLE;
return NS_OK;
}
/**
* Will be called by both HTML and XUL elements, this method
* merely checks who is calling and then calls the appropriate
* protected method for the XUL or HTML element.
*/
NS_IMETHODIMP nsFormControlAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMXULElement> xulFormElement(do_QueryInterface(mDOMNode));
if (xulFormElement)
return GetXULAccName(_retval);
else
return GetHTMLAccName(_retval);
}
/**
* No Children
*/
NS_IMETHODIMP nsFormControlAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* No Children
*/
NS_IMETHODIMP nsFormControlAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* No Children
*/
NS_IMETHODIMP nsFormControlAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}
// ------------
// Radio button
// ------------
nsRadioButtonAccessible::nsRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
/**
*
*/
NS_IMETHODIMP nsRadioButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
/**
*
*/
NS_IMETHODIMP nsRadioButtonAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("select"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/**
*
*/
NS_IMETHODIMP nsRadioButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_RADIOBUTTON;
return NS_OK;
}
// ------------
// Text Accessibles
// ------------
nsTextAccessible::nsTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsLinkableAccessible(aDomNode, aShell)
{
}
/**
* We are text
*/
NS_IMETHODIMP nsTextAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_TEXT;
return NS_OK;
}
/**
* No Children
*/
NS_IMETHODIMP nsTextAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* No Children
*/
NS_IMETHODIMP nsTextAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* No Children
*/
NS_IMETHODIMP nsTextAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}

View File

@@ -1,93 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric D Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsFormControlAccessible_H_
#define _nsFormControlAccessible_H_
#include "nsBaseWidgetAccessible.h"
/**
* This supports name and state information for both XUL and HTML
* widgets. Designed to be a base class for the impls of XUL
* and HTML form widget Accessibles
*/
class nsFormControlAccessible : public nsAccessible
{
public:
nsFormControlAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
};
/**
*
*/
class nsRadioButtonAccessible : public nsFormControlAccessible
{
public:
nsRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
};
/**
* Text nodes have no children, but since double inheritance
* no-worky we have to re-impl the LeafAccessiblity blocks
* this way.
*/
class nsTextAccessible : public nsLinkableAccessible
{
public:
nsTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
};
#endif

View File

@@ -1,242 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsGenericAccessible.h"
#include "nsCOMPtr.h"
#include "nsIWeakReference.h"
#include "nsReadableUtils.h"
#include "nsIContent.h"
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsGenericAccessible, nsIAccessible)
nsGenericAccessible::nsGenericAccessible()
{
NS_INIT_ISUPPORTS();
/* member initializers and constructor code */
}
nsGenericAccessible::~nsGenericAccessible()
{
/* destructor code */
}
/* nsIAccessible getAccParent (); */
NS_IMETHODIMP nsGenericAccessible::GetAccParent(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getAccNextSibling (); */
NS_IMETHODIMP nsGenericAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getAccPreviousSibling (); */
NS_IMETHODIMP nsGenericAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsGenericAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsGenericAccessible::GetAccLastChild(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsGenericAccessible::GetAccChildCount(PRInt32 *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccName (); */
NS_IMETHODIMP nsGenericAccessible::GetAccName(nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccValue (); */
NS_IMETHODIMP nsGenericAccessible::GetAccValue(nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setAccName (in wstring name); */
NS_IMETHODIMP nsGenericAccessible::SetAccName(const nsAString& name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccDescription (); */
NS_IMETHODIMP nsGenericAccessible::GetAccDescription(nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsGenericAccessible::GetAccRole(PRUint32 *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccState (); */
NS_IMETHODIMP nsGenericAccessible::GetAccState(PRUint32 *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsGenericAccessible::GetAccNumActions(PRUint8 *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsGenericAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsGenericAccessible::AccDoAction(PRUint8 index)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible getAccFocused(); */
NS_IMETHODIMP nsGenericAccessible::GetAccFocused(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* wstring getAccHelp (); */
NS_IMETHODIMP nsGenericAccessible::GetAccHelp(nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible accGetAt (in long x, in long y); */
NS_IMETHODIMP nsGenericAccessible::AccGetAt(PRInt32 x, PRInt32 y, nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible accNavigateRight (); */
NS_IMETHODIMP nsGenericAccessible::AccNavigateRight(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible accNavigateLeft (); */
NS_IMETHODIMP nsGenericAccessible::AccNavigateLeft(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible accNavigateUp (); */
NS_IMETHODIMP nsGenericAccessible::AccNavigateUp(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIAccessible accNavigateDown (); */
NS_IMETHODIMP nsGenericAccessible::AccNavigateDown(nsIAccessible **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accGetBounds (out long x, out long y, out long width, out long height); */
NS_IMETHODIMP nsGenericAccessible::AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accAddSelection (); */
NS_IMETHODIMP nsGenericAccessible::AccAddSelection()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accRemoveSelection (); */
NS_IMETHODIMP nsGenericAccessible::AccRemoveSelection()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accExtendSelection (); */
NS_IMETHODIMP nsGenericAccessible::AccExtendSelection()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accTakeSelection (); */
NS_IMETHODIMP nsGenericAccessible::AccTakeSelection()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void accTakeFocus (); */
NS_IMETHODIMP nsGenericAccessible::AccTakeFocus()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long getAccExtState (); */
NS_IMETHODIMP nsGenericAccessible::GetAccExtState(PRUint32 *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsGenericAccessible::AccGetDOMNode(nsIDOMNode **_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsGenericAccessible::CacheOptimizations(nsIAccessible *aParent, PRInt32 aSiblingIndex, nsIDOMNodeList *aSiblingList)
{
return NS_ERROR_NOT_IMPLEMENTED;
}

View File

@@ -1,67 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric D Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsGenericAccessible_H_
#define _nsGenericAccessible_H_
#include "nsISupports.h"
#include "nsIAccessible.h"
#include "nsIContent.h"
#include "nsIDOMNode.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsCOMPtr.h"
#include "nsIWeakReference.h"
/**
* Basic implementation
* supports nothing
*/
class nsGenericAccessible : public nsIAccessible
{
NS_DECL_ISUPPORTS
NS_DECL_NSIACCESSIBLE
public:
nsGenericAccessible();
virtual ~nsGenericAccessible();
};
#endif

View File

@@ -1,684 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsIAccessible.h"
#include "nsRootAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIDOMNSDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsIDOMEventTarget.h"
#include "nsIDOMElement.h"
#include "nsIDOMNSEvent.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOMEventListener.h"
#include "nsReadableUtils.h"
#include "nsILink.h"
#include "nsHTMLFormControlAccessible.h"
#include "nsHTMLLinkAccessible.h"
#include "nsIURI.h"
#include "nsIDocShell.h"
#include "nsIDocShellTreeItem.h"
#include "nsIWebNavigation.h"
#include "nsIXULDocument.h"
#include "nsIDOMDocument.h"
#include "nsIDOMDocumentType.h"
#include "nsINameSpaceManager.h"
#include "nsIDOMNSHTMLSelectElement.h"
#include "nsIAccessibleSelectable.h"
#include "nsLayoutAtoms.h"
#include "nsString.h"
#include "nsXPIDLString.h"
#include "nsIAccessibilityService.h"
#include "nsIServiceManager.h"
#include "nsHTMLSelectAccessible.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsCURILoader.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsIScriptGlobalObject.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
NS_INTERFACE_MAP_BEGIN(nsRootAccessible)
NS_INTERFACE_MAP_ENTRY(nsIAccessibleDocument)
NS_INTERFACE_MAP_ENTRY(nsIAccessibleEventReceiver)
NS_INTERFACE_MAP_ENTRY(nsIDOMFocusListener)
NS_INTERFACE_MAP_ENTRY(nsIDOMFormListener)
NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference)
NS_INTERFACE_MAP_ENTRY(nsITimerCallback)
NS_INTERFACE_MAP_ENTRY(nsIWebProgressListener)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMFormListener)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsIDOMEventListener, nsIDOMFormListener)
NS_INTERFACE_MAP_END_INHERITING(nsAccessible)
NS_IMPL_ADDREF_INHERITED(nsRootAccessible, nsAccessible);
NS_IMPL_RELEASE_INHERITED(nsRootAccessible, nsAccessible);
nsIDOMNode * nsRootAccessible::gLastFocusedNode = 0; // Strong reference
PRUint32 nsRootAccessible::gInstanceCount = 0;
//#define DEBUG_LEAKS 1 // aaronl debug
//-----------------------------------------------------
// construction
//-----------------------------------------------------
nsRootAccessible::nsRootAccessible(nsIWeakReference* aShell):nsAccessible(nsnull,aShell),
nsDocAccessibleMixin(aShell), mAccService(do_GetService("@mozilla.org/accessibilityService;1")),
mBusy(eBusyStateUninitialized)
{
mListener = nsnull;
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (shell) {
shell->GetDocument(getter_AddRefs(mDocument));
mDOMNode = do_QueryInterface(mDocument);
}
nsLayoutAtoms::AddRefAtoms();
++gInstanceCount;
#ifdef DEBUG_LEAKS
printf("=====> %d nsRootAccessible's %x\n", gInstanceCount, (PRUint32)this);
#endif
}
//-----------------------------------------------------
// destruction
//-----------------------------------------------------
nsRootAccessible::~nsRootAccessible()
{
if (--gInstanceCount == 0)
NS_IF_RELEASE(gLastFocusedNode);
#ifdef DEBUG_LEAKS
printf("======> %d nsRootAccessible's %x\n", gInstanceCount, (PRUint32)this);
#endif
nsLayoutAtoms::ReleaseAtoms();
RemoveAccessibleEventListener();
}
/* attribute wstring accName; */
NS_IMETHODIMP nsRootAccessible::GetAccName(nsAString& aAccName)
{
return GetTitle(aAccName);
}
// helpers
nsIFrame* nsRootAccessible::GetFrame()
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
nsIFrame* root = nsnull;
if (shell)
shell->GetRootFrame(&root);
return root;
}
void nsRootAccessible::GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame)
{
*aRelativeFrame = GetFrame();
if (*aRelativeFrame)
(*aRelativeFrame)->GetRect(aBounds);
}
/* readonly attribute nsIAccessible accParent; */
NS_IMETHODIMP nsRootAccessible::GetAccParent(nsIAccessible * *aAccParent)
{
*aAccParent = nsnull;
return NS_OK;
}
/* readonly attribute unsigned long accRole; */
NS_IMETHODIMP nsRootAccessible::GetAccRole(PRUint32 *aAccRole)
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
*aAccRole = 0;
return NS_ERROR_FAILURE;
}
/*
// Commenting this out for now.
// It was requested that we always use MSAA ROLE_PANE objects instead of client objects.
// However, it might be asked that we put client objects back.
nsCOMPtr<nsIPresContext> context;
shell->GetPresContext(getter_AddRefs(context));
nsCOMPtr<nsISupports> container;
context->GetContainer(getter_AddRefs(container));
if (container) {
nsCOMPtr<nsIDocShellTreeItem> parentTreeItem, docTreeItem(do_QueryInterface(container));
if (docTreeItem) {
docTreeItem->GetSameTypeParent(getter_AddRefs(parentTreeItem));
// Basically, if this docshell has a parent of the same type, it's a frame
if (parentTreeItem) {
*aAccRole = ROLE_PANE;
return NS_OK;
}
}
}
*aAccRole = ROLE_CLIENT;
*/
*aAccRole = ROLE_PANE;
// If it's a <dialog>, use ROLE_DIALOG instead
nsCOMPtr<nsIContent> rootContent;
mDocument->GetRootContent(getter_AddRefs(rootContent));
if (rootContent) {
nsCOMPtr<nsIDOMElement> rootElement(do_QueryInterface(rootContent));
if (rootElement) {
nsAutoString name;
rootElement->GetLocalName(name);
if (name.Equals(NS_LITERAL_STRING("dialog")))
*aAccRole = ROLE_DIALOG;
}
}
return NS_OK;
}
NS_IMETHODIMP nsRootAccessible::GetAccState(PRUint32 *aAccState)
{
*aAccState = STATE_FOCUSABLE;
if (mBusy == eBusyStateLoading)
*aAccState |= STATE_BUSY;
return NS_OK;
}
NS_IMETHODIMP nsRootAccessible::GetAccValue(nsAString& aAccValue)
{
return GetURL(aAccValue);
}
void nsRootAccessible::Notify(nsITimer *timer)
{
// Short timer is finished
if (mBusy != eBusyStateDone) {
mBusy = eBusyStateDone;
if (mListener)
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, this);
}
}
void nsRootAccessible::StartDocReadyTimer()
{
if (!mTimer) {
nsresult rv;
mTimer = do_CreateInstance("@mozilla.org/timer;1", &rv);
if (NS_SUCCEEDED(rv)) {
const PRUint32 kUpdateTimerDelay = 1;
mTimer->Init(NS_STATIC_CAST(nsITimerCallback*, this), kUpdateTimerDelay);
}
}
}
/* void addAccessibleEventListener (in nsIAccessibleEventListener aListener); */
NS_IMETHODIMP nsRootAccessible::AddAccessibleEventListener(nsIAccessibleEventListener *aListener)
{
NS_ASSERTION(aListener, "Trying to add a null listener!");
if (mListener)
return NS_OK;
mListener = aListener;
// use AddEventListener from the nsIDOMEventTarget interface
nsCOMPtr<nsIDOMEventTarget> target(do_QueryInterface(mDocument));
if (target) {
// capture DOM focus events
nsresult rv = target->AddEventListener(NS_LITERAL_STRING("focus"), NS_STATIC_CAST(nsIDOMFocusListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// capture Form change events
rv = target->AddEventListener(NS_LITERAL_STRING("change"), NS_STATIC_CAST(nsIDOMFormListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// add ourself as a CheckboxStateChange listener (custom event fired in nsHTMLInputElement.cpp)
rv = target->AddEventListener(NS_LITERAL_STRING("CheckboxStateChange"), NS_STATIC_CAST(nsIDOMFormListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// add ourself as a RadioStateChange Listener ( custom event fired in in nsHTMLInputElement.cpp & radio.xml)
rv = target->AddEventListener(NS_LITERAL_STRING("RadioStateChange"), NS_STATIC_CAST(nsIDOMFormListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
rv = target->AddEventListener(NS_LITERAL_STRING("ListitemStateChange"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
rv = target->AddEventListener(NS_LITERAL_STRING("popupshowing"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
rv = target->AddEventListener(NS_LITERAL_STRING("popuphiding"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
rv = target->AddEventListener(NS_LITERAL_STRING("DOMMenuItemActive"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// Extremely short timer, after which we announce that page is finished loading
// By waiting until after this short time, we know that the 3rd party accessibility software
// has received it's accessible, and can handle events on it.
StartDocReadyTimer();
// Set up web progress listener - we need to know when page loading is finished
// That way we can send the STATE_CHANGE events for the MSAA root "pane" object (ROLE_PANE),
// and change the STATE_BUSY bit flag
nsCOMPtr<nsIPresShell> presShell(do_QueryReferent(mPresShell));
if (presShell) {
nsCOMPtr<nsIPresContext> context;
presShell->GetPresContext(getter_AddRefs(context));
if (context) {
nsCOMPtr<nsISupports> container; context->GetContainer(getter_AddRefs(container));
nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(container));
if (docShell) {
mWebProgress = do_GetInterface(docShell);
mWebProgress->AddProgressListener(this, nsIWebProgress::NOTIFY_LOCATION |
nsIWebProgress::NOTIFY_STATE_DOCUMENT);
}
}
}
NS_ASSERTION(mWebProgress, "Could not get nsIWebProgress for nsRootAccessible");
}
return NS_OK;
}
/* void removeAccessibleEventListener (); */
NS_IMETHODIMP nsRootAccessible::RemoveAccessibleEventListener()
{
if (mListener) {
nsCOMPtr<nsIDOMEventTarget> target(do_QueryInterface(mDocument));
if (target) {
target->RemoveEventListener(NS_LITERAL_STRING("focus"), NS_STATIC_CAST(nsIDOMFocusListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("change"), NS_STATIC_CAST(nsIDOMFormListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("CheckboxStateChange"), NS_STATIC_CAST(nsIDOMFormListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("popupshowing"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("popuphiding"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("DOMMenuItemActive"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("RadioStateChange"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
target->RemoveEventListener(NS_LITERAL_STRING("ListitemStateChange"), NS_STATIC_CAST(nsIDOMXULListener*, this), PR_TRUE);
}
if (mTimer) {
mTimer->Cancel();
mTimer = nsnull;
}
if (mWebProgress) {
mWebProgress->RemoveProgressListener(this);
mWebProgress = nsnull;
}
mListener = nsnull;
}
return NS_OK;
}
void nsRootAccessible::FireAccessibleFocusEvent(nsIAccessible *focusAccessible, nsIDOMNode *focusNode)
{
if (focusNode && gLastFocusedNode != focusNode) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_FOCUS, focusAccessible);
NS_IF_RELEASE(gLastFocusedNode);
gLastFocusedNode = focusNode;
NS_ADDREF(gLastFocusedNode);
}
}
// --------------- nsIDOMEventListener Methods (3) ------------------------
NS_IMETHODIMP nsRootAccessible::HandleEvent(nsIDOMEvent* aEvent)
{
if (mListener) {
// optionTargetNode is set to current option for HTML selects
nsCOMPtr<nsIDOMNode> targetNode, optionTargetNode;
nsresult rv = GetTargetNode(aEvent, targetNode);
if (NS_FAILED(rv))
return rv;
// Check to see if it's a select element. If so, need the currently focused option
nsCOMPtr<nsIDOMHTMLSelectElement> selectElement(do_QueryInterface(targetNode));
if (selectElement) // ----- Target Node is an HTML <select> element ------
nsHTMLSelectOptionAccessible::GetFocusedOptionNode(targetNode, optionTargetNode);
// for focus events on Radio Groups we give the focus to the selected button
nsCOMPtr<nsIDOMXULSelectControlElement> selectControl(do_QueryInterface(targetNode));
if (selectControl) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> selectItem;
selectControl->GetSelectedItem(getter_AddRefs(selectItem));
optionTargetNode = do_QueryInterface(selectItem);
}
nsAutoString eventType;
aEvent->GetType(eventType);
nsCOMPtr<nsIAccessible> accessible;
if (NS_SUCCEEDED(mAccService->GetAccessibleFor(targetNode, getter_AddRefs(accessible)))) {
if (eventType.EqualsIgnoreCase("focus") || eventType.EqualsIgnoreCase("DOMMenuItemActive")) {
if (optionTargetNode &&
NS_SUCCEEDED(mAccService->GetAccessibleFor(optionTargetNode, getter_AddRefs(accessible)))) {
FireAccessibleFocusEvent(accessible, optionTargetNode);
}
else
FireAccessibleFocusEvent(accessible, targetNode);
}
else if (eventType.EqualsIgnoreCase("change")) {
if (!selectControl) // Don't use onchange to fire EVENT_STATE_CHANGE events for selects
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
else if (eventType.EqualsIgnoreCase("ListitemStateChange")) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_FOCUS, accessible);
}
else if (eventType.EqualsIgnoreCase("CheckboxStateChange")) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
else if (eventType.EqualsIgnoreCase("RadioStateChange") ) {
// first the XUL radio buttons
if (targetNode &&
NS_SUCCEEDED(mAccService->GetAccessibleFor(targetNode, getter_AddRefs(accessible)))) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_FOCUS, accessible);
}
else { // for the html radio buttons -- apparently the focus code just works. :-)
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
}
else if (eventType.EqualsIgnoreCase("popupshowing"))
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_MENUPOPUPSTART, accessible);
else if (eventType.EqualsIgnoreCase("popuphiding"))
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_MENUPOPUPEND, accessible);
}
}
return NS_OK;
}
NS_IMETHODIMP nsRootAccessible::GetTargetNode(nsIDOMEvent *aEvent, nsCOMPtr<nsIDOMNode>& aTargetNode)
{
nsCOMPtr<nsIDOMEventTarget> domEventTarget;
nsCOMPtr<nsIDOMNSEvent> nsevent(do_QueryInterface(aEvent));
if (nsevent) {
nsevent->GetOriginalTarget(getter_AddRefs(domEventTarget));
}
nsresult rv;
aTargetNode = do_QueryInterface(domEventTarget, &rv);
return rv;
}
// ------- nsIDOMFocusListener Methods (1) -------------
NS_IMETHODIMP nsRootAccessible::Focus(nsIDOMEvent* aEvent)
{
return HandleEvent(aEvent);
}
NS_IMETHODIMP nsRootAccessible::Blur(nsIDOMEvent* aEvent) { return NS_OK; }
// ------- nsIDOMFormListener Methods (5) -------------
NS_IMETHODIMP nsRootAccessible::Submit(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::Reset(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::Change(nsIDOMEvent* aEvent)
{
// get change events when the form elements changes its state, checked->not,
// deleted text, new text, change in selection for list/combo boxes
// this may be the event that we have the individual Accessible objects
// handle themselves -- have list/combos figure out the change in selection
// have textareas and inputs fire a change of state etc...
return HandleEvent(aEvent);
}
// gets Select events when text is selected in a textarea or input
NS_IMETHODIMP nsRootAccessible::Select(nsIDOMEvent* aEvent) { return NS_OK; }
// gets Input events when text is entered or deleted in a textarea or input
NS_IMETHODIMP nsRootAccessible::Input(nsIDOMEvent* aEvent) { return NS_OK; }
// ------- nsIDOMXULListener Methods (8) ---------------
NS_IMETHODIMP nsRootAccessible::PopupShowing(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::PopupShown(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::PopupHiding(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::PopupHidden(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::Close(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::Command(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::Broadcast(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHODIMP nsRootAccessible::CommandUpdate(nsIDOMEvent* aEvent) { return NS_OK; }
// ------- nsIAccessibleDocument Methods (5) ---------------
NS_IMETHODIMP nsRootAccessible::GetURL(nsAString& aURL)
{
return nsDocAccessibleMixin::GetURL(aURL);
}
NS_IMETHODIMP nsRootAccessible::GetTitle(nsAString& aTitle)
{
return nsDocAccessibleMixin::GetTitle(aTitle);
}
NS_IMETHODIMP nsRootAccessible::GetMimeType(nsAString& aMimeType)
{
return nsDocAccessibleMixin::GetMimeType(aMimeType);
}
NS_IMETHODIMP nsRootAccessible::GetDocType(nsAString& aDocType)
{
return nsDocAccessibleMixin::GetDocType(aDocType);
}
NS_IMETHODIMP nsRootAccessible::GetNameSpaceURIForID(PRInt16 aNameSpaceID, nsAString& aNameSpaceURI)
{
return nsDocAccessibleMixin::GetNameSpaceURIForID(aNameSpaceID, aNameSpaceURI);
}
NS_IMETHODIMP nsRootAccessible::GetDocument(nsIDocument **doc)
{
return nsDocAccessibleMixin::GetDocument(doc);
}
NS_IMETHODIMP nsRootAccessible::OnStateChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRUint32 aStateFlags, nsresult aStatus)
{
return NS_OK;
}
/* void onProgressChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long aCurSelfProgress, in long aMaxSelfProgress, in long aCurTotalProgress, in long aMaxTotalProgress); */
NS_IMETHODIMP nsRootAccessible::OnProgressChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRInt32 aCurSelfProgress, PRInt32 aMaxSelfProgress,
PRInt32 aCurTotalProgress, PRInt32 aMaxTotalProgress)
{
NS_NOTREACHED("notification excluded in AddProgressListener(...)");
return NS_OK;
}
/* void onLocationChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsIURI location); */
NS_IMETHODIMP nsRootAccessible::OnLocationChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, nsIURI *location)
{
// Load has been verified, it will occur, about to commence
if (mListener && mBusy != eBusyStateLoading) {
mBusy = eBusyStateLoading;
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, this);
StartDocReadyTimer();
}
return NS_OK;
}
/* void onStatusChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in nsresult aStatus, in wstring aMessage); */
NS_IMETHODIMP nsRootAccessible::OnStatusChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, nsresult aStatus, const PRUnichar *aMessage)
{
NS_NOTREACHED("notification excluded in AddProgressListener(...)");
return NS_OK;
}
/* void onSecurityChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long state); */
NS_IMETHODIMP nsRootAccessible::OnSecurityChange(nsIWebProgress *aWebProgress,
nsIRequest *aRequest, PRUint32 state)
{
NS_NOTREACHED("notification excluded in AddProgressListener(...)");
return NS_OK;
}
nsDocAccessibleMixin::nsDocAccessibleMixin(nsIDocument *aDoc):mDocument(aDoc)
{
}
nsDocAccessibleMixin::nsDocAccessibleMixin(nsIWeakReference *aPresShell)
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(aPresShell));
if (shell)
shell->GetDocument(getter_AddRefs(mDocument));
}
nsDocAccessibleMixin::~nsDocAccessibleMixin()
{
}
NS_IMETHODIMP nsDocAccessibleMixin::GetURL(nsAString& aURL)
{
nsCOMPtr<nsIPresShell> presShell;
mDocument->GetShellAt(0, getter_AddRefs(presShell));
if (!presShell)
return NS_ERROR_FAILURE;
nsCOMPtr<nsIDocShell> docShell;
GetDocShellFromPS(presShell, getter_AddRefs(docShell));
nsCOMPtr<nsIWebNavigation> webNav(do_GetInterface(docShell));
nsCAutoString theURL;
if (webNav) {
nsCOMPtr<nsIURI> pURI;
webNav->GetCurrentURI(getter_AddRefs(pURI));
if (pURI)
pURI->GetSpec(theURL);
}
//XXXaaronl Need to use CopyUTF8toUCS2(nsDependentCString(theURL), aURL); when it's written
aURL.Assign(NS_ConvertUTF8toUCS2(theURL));
return NS_OK;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetTitle(nsAString& aTitle)
{
// This doesn't leak - we don't own the const pointer that's returned
aTitle = *(mDocument->GetDocumentTitle());
return NS_OK;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetMimeType(nsAString& aMimeType)
{
nsCOMPtr<nsIDOMNSDocument> domnsDocument(do_QueryInterface(mDocument));
if (domnsDocument) {
return domnsDocument->GetContentType(aMimeType);
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetDocType(nsAString& aDocType)
{
nsCOMPtr<nsIXULDocument> xulDoc(do_QueryInterface(mDocument));
nsCOMPtr<nsIDOMDocument> domDoc(do_QueryInterface(mDocument));
nsCOMPtr<nsIDOMDocumentType> docType;
if (xulDoc) {
aDocType = NS_LITERAL_STRING("window"); // doctype not implemented for XUL at time of writing - causes assertion
return NS_OK;
}
else if (domDoc && NS_SUCCEEDED(domDoc->GetDoctype(getter_AddRefs(docType))) && docType) {
return docType->GetName(aDocType);
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetNameSpaceURIForID(PRInt16 aNameSpaceID, nsAString& aNameSpaceURI)
{
if (mDocument) {
nsCOMPtr<nsINameSpaceManager> nameSpaceManager;
if (NS_SUCCEEDED(mDocument->GetNameSpaceManager(*getter_AddRefs(nameSpaceManager))))
return nameSpaceManager->GetNameSpaceURI(aNameSpaceID, aNameSpaceURI);
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetDocument(nsIDocument **doc)
{
*doc = mDocument;
if (mDocument) {
NS_IF_ADDREF(*doc);
return NS_OK;
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsDocAccessibleMixin::GetDocShellFromPS(nsIPresShell* aPresShell, nsIDocShell** aDocShell)
{
*aDocShell = nsnull;
if (aPresShell) {
nsCOMPtr<nsIDocument> doc;
aPresShell->GetDocument(getter_AddRefs(doc));
if (doc) {
nsCOMPtr<nsIScriptGlobalObject> scriptObj;
doc->GetScriptGlobalObject(getter_AddRefs(scriptObj));
if (scriptObj) {
scriptObj->GetDocShell(aDocShell);
if (*aDocShell)
return NS_OK;
}
}
}
return NS_ERROR_FAILURE;
}

View File

@@ -1,156 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsRootAccessible_H_
#define _nsRootAccessible_H_
#include "nsAccessible.h"
#include "nsIAccessibleEventReceiver.h"
#include "nsIAccessibleEventListener.h"
#include "nsIAccessibleDocument.h"
#include "nsIDOMFormListener.h"
#include "nsIDOMXULListener.h"
#include "nsIDOMFocusListener.h"
#include "nsIDocument.h"
#include "nsIAccessibilityService.h"
#include "nsIWebProgressListener.h"
#include "nsIWeakReference.h"
#include "nsITimer.h"
#include "nsITimerCallback.h"
#include "nsIWebProgress.h"
class nsDocAccessibleMixin
{
public:
nsDocAccessibleMixin(nsIDocument *doc);
nsDocAccessibleMixin(nsIWeakReference *aShell);
virtual ~nsDocAccessibleMixin();
NS_DECL_NSIACCESSIBLEDOCUMENT
protected:
NS_IMETHOD GetDocShellFromPS(nsIPresShell* aPresShell, nsIDocShell** aDocShell);
nsCOMPtr<nsIDocument> mDocument;
};
class nsRootAccessible : public nsAccessible,
public nsDocAccessibleMixin,
public nsIAccessibleDocument,
public nsIAccessibleEventReceiver,
public nsIDOMFocusListener,
public nsIDOMFormListener,
public nsIDOMXULListener,
public nsIWebProgressListener,
public nsITimerCallback,
public nsSupportsWeakReference
{
NS_DECL_ISUPPORTS_INHERITED
public:
enum EBusyState {eBusyStateUninitialized, eBusyStateLoading, eBusyStateDone};
nsRootAccessible(nsIWeakReference* aShell);
virtual ~nsRootAccessible();
/* attribute wstring accName; */
NS_IMETHOD GetAccName(nsAString& aAccName);
NS_IMETHOD GetAccValue(nsAString& aAccValue);
NS_IMETHOD GetAccParent(nsIAccessible * *aAccParent);
NS_IMETHOD GetAccRole(PRUint32 *aAccRole);
NS_IMETHOD GetAccState(PRUint32 *aAccState);
// ----- nsIAccessibleEventReceiver -------------------
NS_IMETHOD AddAccessibleEventListener(nsIAccessibleEventListener *aListener);
NS_IMETHOD RemoveAccessibleEventListener();
// ----- nsIDOMEventListener --------------------------
NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent);
// ----- nsIDOMFocusListener --------------------------
NS_IMETHOD Focus(nsIDOMEvent* aEvent);
NS_IMETHOD Blur(nsIDOMEvent* aEvent);
// ----- nsIDOMFormListener ---------------------------
NS_IMETHOD Submit(nsIDOMEvent* aEvent);
NS_IMETHOD Reset(nsIDOMEvent* aEvent);
NS_IMETHOD Change(nsIDOMEvent* aEvent);
NS_IMETHOD Select(nsIDOMEvent* aEvent);
NS_IMETHOD Input(nsIDOMEvent* aEvent);
NS_IMETHOD PopupShowing(nsIDOMEvent* aEvent);
NS_IMETHOD PopupShown(nsIDOMEvent* aEvent);
NS_IMETHOD PopupHiding(nsIDOMEvent* aEvent);
NS_IMETHOD PopupHidden(nsIDOMEvent* aEvent);
NS_IMETHOD Close(nsIDOMEvent* aEvent);
NS_IMETHOD Command(nsIDOMEvent* aEvent);
NS_IMETHOD Broadcast(nsIDOMEvent* aEvent);
NS_IMETHOD CommandUpdate(nsIDOMEvent* aEvent);
NS_IMETHOD_(void) Notify(nsITimer *timer);
NS_DECL_NSIACCESSIBLEDOCUMENT
NS_DECL_NSIWEBPROGRESSLISTENER
protected:
NS_IMETHOD GetTargetNode(nsIDOMEvent *aEvent, nsCOMPtr<nsIDOMNode>& aTargetNode);
virtual void GetBounds(nsRect& aRect, nsIFrame** aRelativeFrame);
virtual nsIFrame* GetFrame();
void FireAccessibleFocusEvent(nsIAccessible *focusAccessible, nsIDOMNode *focusNode);
void StartDocReadyTimer();
static PRUint32 gInstanceCount;
// mListener is not a com pointer. We don't own the listener
// it is the callers responsibility to remove the listener
// otherwise we will get into circular referencing problems
// We don't need a weak reference, because we're owned by this listener
nsIAccessibleEventListener *mListener;
static nsIDOMNode * gLastFocusedNode; // we do our own refcounting for this
nsCOMPtr<nsITimer> mTimer;
nsCOMPtr<nsIWebProgress> mWebProgress;
nsCOMPtr<nsIAccessibilityService> mAccService;
EBusyState mBusy;
};
#endif

View File

@@ -1,743 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Original Author: Eric Vaughan (evaughan@netscape.com)
* Contributor(s): John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsCOMPtr.h"
#include "nsFormControlAccessible.h"
#include "nsIAtom.h"
#include "nsIComboboxControlFrame.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIDOMHTMLOptionElement.h"
#include "nsIDOMHTMLOptGroupElement.h"
#include "nsIDOMText.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsIFrame.h"
#include "nsIListControlFrame.h"
#include "nsISelectControlFrame.h"
#include "nsLayoutAtoms.h"
#include "nsRootAccessible.h"
#include "nsSelectAccessible.h"
#include "nsIServiceManager.h"
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/** Constructor -- cache our parent */
nsSelectListAccessible::nsSelectListAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/** Return our parents bounds */
NS_IMETHODIMP nsSelectListAccessible::AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height)
{
return mParent->AccGetBounds(x,y,width,height);
}
/** Return our cached parent */
NS_IMETHODIMP nsSelectListAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_ADDREF(*_retval);
return NS_OK;
}
/** We are a list */
NS_IMETHODIMP nsSelectListAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LIST;
return NS_OK;
}
/** We are an only child */
NS_IMETHODIMP nsSelectListAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/** We are an only child */
NS_IMETHODIMP nsSelectListAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* nsSelectOptionAccessible
*/
/** Constructor -- cache our parent */
nsSelectOptionAccessible::nsSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsLeafAccessible(aDOMNode, aShell)
{
if (aParent)
mParent = aParent;
else {
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
nsCOMPtr<nsIDOMNode> parentNode, parentNode1;
nsCOMPtr<nsIAccessible> parentAccessible, lastChildAcc;
aDOMNode->GetParentNode(getter_AddRefs(parentNode));
if (parentNode) {
// this parent could be a Combobox or a ListBox. Each has a different
// was to get to the ListElement.
nsCOMPtr<nsIDOMHTMLOptGroupElement> optGroupElement(do_QueryInterface(parentNode));
if (optGroupElement) {
parentNode->GetParentNode(getter_AddRefs(parentNode1));
parentNode = parentNode1;
}
accService->GetAccessibleFor(parentNode, getter_AddRefs(parentAccessible));
PRUint32 role;
do {
parentAccessible->GetAccLastChild(getter_AddRefs(lastChildAcc));
if (lastChildAcc)
lastChildAcc->GetAccRole(&role);
parentAccessible = lastChildAcc;
} while (role != nsIAccessible::ROLE_LIST && lastChildAcc);
}
mParent = parentAccessible;
}
}
/** click us! */
NS_IMETHODIMP nsSelectOptionAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("select"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/** We are a ListItem */
NS_IMETHODIMP nsSelectOptionAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LISTITEM;
return NS_OK;
}
/** Return our cached parent */
NS_IMETHODIMP nsSelectOptionAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
* Get our Name from our Content's subtree
*/
NS_IMETHODIMP nsSelectOptionAccessible::GetAccName(nsAString& _retval)
{
// CASE #1 -- great majority of the cases
// find the label attribute - this is what the W3C says we should use
nsCOMPtr<nsIDOMElement> domElement(do_QueryInterface(mDOMNode));
NS_ASSERTION(domElement, "No domElement for accessible DOM node!");
nsresult rv = domElement->GetAttribute(NS_LITERAL_STRING("label"), _retval) ;
if (NS_SUCCEEDED(rv) && !_retval.IsEmpty() ) {
return NS_OK;
}
// CASE #2 -- no label parameter, get the first child,
// use it if it is a text node
nsCOMPtr<nsIDOMNode> child;
mDOMNode->GetFirstChild(getter_AddRefs(child));
if (child) {
nsCOMPtr<nsIDOMText> text (do_QueryInterface(child));
if (text) {
nsCOMPtr<nsIContent> content (do_QueryInterface(child));
if (!content) {
return NS_ERROR_FAILURE;
}
nsAutoString txtValue;
rv = AppendFlatStringFromContentNode(content, &txtValue);
if (NS_SUCCEEDED(rv)) {
// Temp var (txtValue) needed until CompressWhitespace built for nsAString
txtValue.CompressWhitespace();
_retval.Assign(txtValue);
return NS_OK;
}
}
}
return NS_ERROR_FAILURE;
}
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/** ----- nsListboxAccessible ----- */
/** Constructor */
nsListboxAccessible::nsListboxAccessible(nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsAccessible(aDOMNode, aShell)
{
}
/** We are a window, as far as MSAA is concerned */
NS_IMETHODIMP nsListboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_WINDOW;
return NS_OK;
}
/**
* We always have 1 child: a subclass of nsSelectListAccessible.
*/
NS_IMETHODIMP nsListboxAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 1;
return NS_OK;
}
/**
* As a nsHTMLListboxAccessible we can have the following states:
* STATE_FOCUSED
* STATE_READONLY
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsListboxAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsAccessible::GetAccState(_retval);
*_retval |= STATE_READONLY | STATE_FOCUSABLE;
return NS_OK;
}
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/** ----- nsComboboxAccessible ----- */
/**
* Constructor -- set initial state - closed, register ourself
*/
nsComboboxAccessible::nsComboboxAccessible(nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsAccessible(aDOMNode, aShell)
{
mRegistered = PR_FALSE;
mOpen = PR_FALSE;
SetupMenuListener();
}
/**
* Destructor -- If we are registered, remove ourselves as a listener.
*/
nsComboboxAccessible::~nsComboboxAccessible()
{
if (mRegistered) {
nsCOMPtr<nsIDOMEventReceiver> eventReceiver(do_QueryInterface(mDOMNode));
if (eventReceiver)
eventReceiver->RemoveEventListener(NS_LITERAL_STRING("popupshowing"), this, PR_TRUE);
}
}
/**
* Inherit the ISupports impl from nsAccessible,
* handle nsIDOMXULListener and nsIAccessibleSelectable ourself
*/
NS_IMPL_ISUPPORTS_INHERITED2(nsComboboxAccessible, nsAccessible, nsIDOMXULListener, nsIAccessibleSelectable)
/**
* If we aren't already registered, register ourselves as a
* listener to "popupshowing" events on our DOM node. Set our
* state to registered, but don't notify MSAA as they
* don't need to know about this state.
*/
void
nsComboboxAccessible::SetupMenuListener()
{
// if not already registered as a popup listener, register ourself
if (!mRegistered) {
nsCOMPtr<nsIDOMEventReceiver> eventReceiver(do_QueryInterface(mDOMNode));
if (eventReceiver && NS_SUCCEEDED(eventReceiver->AddEventListener(NS_LITERAL_STRING("popupshowing"), this, PR_TRUE)))
mRegistered = PR_TRUE;
}
}
/** We are a combobox */
NS_IMETHODIMP nsComboboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_COMBOBOX;
return NS_OK;
}
/**
* We always have 3 children: TextField, Button, Window. In that order
*/
NS_IMETHODIMP nsComboboxAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 3;
return NS_OK;
}
/**
* nsIAccessibleSelectable method. No-op because our selection is returned through
* GetValue(). This _may_ change just to provide additional info for the vendors
* and another option for them to get at stuff. Despite the fact that we are
* single selection only.
*/
NS_IMETHODIMP nsComboboxAccessible::GetSelectedChildren(nsISupportsArray **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* As a nsComboboxAccessible we can have the following states:
* STATE_FOCUSED
* STATE_READONLY
* STATE_FOCUSABLE
* STATE_HASPOPUP
* STATE_EXPANDED
* STATE_COLLAPSED
*/
NS_IMETHODIMP nsComboboxAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsAccessible::GetAccState(_retval);
if (mOpen)
*_retval |= STATE_EXPANDED;
else
*_retval |= STATE_COLLAPSED;
*_retval |= STATE_HASPOPUP | STATE_READONLY | STATE_FOCUSABLE;
return NS_OK;
}
/**
* Set our state to open and (TBD) fire an event to MSAA saying our state
* has changed.
*/
NS_IMETHODIMP nsComboboxAccessible::PopupShowing(nsIDOMEvent* aEvent)
{
mOpen = PR_TRUE;
/* TBD send state change event */
return NS_OK;
}
/**
* Set our state to not open and (TDB) fire an event to MSAA saying
* our state has changed.
*/
NS_IMETHODIMP nsComboboxAccessible::PopupHiding(nsIDOMEvent* aEvent)
{
mOpen = PR_FALSE;
/* TBD send state change event */
return NS_OK;
}
/**
* Set our state to not open and (TDB) fire an event to MSAA saying
* our state has changed.
*/
NS_IMETHODIMP nsComboboxAccessible::Close(nsIDOMEvent* aEvent)
{
mOpen = PR_FALSE;
/* TBD send state change event */
return NS_OK;
}
/** ----- nsComboboxTextFieldAccessible ----- */
/** Constructor */
nsComboboxTextFieldAccessible::nsComboboxTextFieldAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsLeafAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/**
* Currently gets the text from the first option, needs to check for selection
* and then return that text.
* Walks the Frame tree and checks for proper frames.
*/
NS_IMETHODIMP nsComboboxTextFieldAccessible::GetAccValue(nsAString& _retval)
{
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if (!frame || !context)
return NS_ERROR_FAILURE;
frame->FirstChild(context, nsnull, &frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::blockFrame))
return NS_ERROR_FAILURE;
#endif
frame->FirstChild(context, nsnull, &frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::textFrame))
return NS_ERROR_FAILURE;
#endif
nsCOMPtr<nsIContent> content;
frame->GetContent(getter_AddRefs(content));
if (!content)
return NS_ERROR_FAILURE;
AppendFlatStringFromSubtree(content, &_retval);
return NS_OK;
}
/**
* Gets the bounds for the BlockFrame.
* Walks the Frame tree and checks for proper frames.
*/
void nsComboboxTextFieldAccessible::GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame)
{
// get our first child's frame
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if (!frame || !context)
return;
frame->FirstChild(context, nsnull, aBoundingFrame);
frame->FirstChild(context, nsnull, &frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::blockFrame))
return;
#endif
frame->GetRect(aBounds);
}
/** Return our cached parent */
NS_IMETHODIMP nsComboboxTextFieldAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
* We are the first child of our parent, no previous sibling
*/
NS_IMETHODIMP nsComboboxTextFieldAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* Our role is currently only static text, but we should be able to have
* editable text here and we need to check that case.
*/
NS_IMETHODIMP nsComboboxTextFieldAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_STATICTEXT;
return NS_OK;
}
/**
* As a nsComboboxTextFieldAccessible we can have the following states:
* STATE_READONLY
* STATE_FOCUSED
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsComboboxTextFieldAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsAccessible::GetAccState(_retval);
*_retval |= STATE_READONLY | STATE_FOCUSABLE;
return NS_OK;
}
/** -----ComboboxButtonAccessible ----- */
/** Constructor -- cache our parent */
nsComboboxButtonAccessible::nsComboboxButtonAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsLeafAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/** Just one action ( click ). */
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
/**
* Gets the bounds for the gfxButtonControlFrame.
* Walks the Frame tree and checks for proper frames.
*/
void nsComboboxButtonAccessible::GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame)
{
// get our second child's frame
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if (!context)
return;
*aBoundingFrame = frame; // bounding frame is the ComboboxControlFrame
frame->FirstChild(context, nsnull, &frame); // first frame is for the textfield
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::blockFrame))
return;
#endif
frame->GetNextSibling(&frame); // sibling frame is for the button
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::gfxButtonControlFrame))
return;
#endif
frame->GetRect(aBounds);
}
/** We are a button. */
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
/** Return our cached parent */
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
* Gets the name from GetAccActionName()
*/
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccName(nsAString& _retval)
{
return GetAccActionName(eAction_Click, _retval);
}
/**
* Our action name is the reverse of our state:
* if we are closed -> open is our name.
* if we are open -> closed is our name.
* Uses the frame to get the state, updated on every click
*/
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
PRBool isOpen = PR_FALSE;
nsIFrame *boundsFrame = GetBoundsFrame();
nsIComboboxControlFrame* comboFrame;
boundsFrame->QueryInterface(NS_GET_IID(nsIComboboxControlFrame), (void**)&comboFrame);
if (!comboFrame)
return NS_ERROR_FAILURE;
comboFrame->IsDroppedDown(&isOpen);
if (isOpen)
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("close"), _retval);
else
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("open"), _retval);
return NS_OK;
}
/**
* As a nsComboboxButtonAccessible we can have the following states:
* STATE_PRESSED
* STATE_FOCUSED
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsComboboxButtonAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsAccessible::GetAccState(_retval);
// we are open or closed --> pressed or not
PRBool isOpen = PR_FALSE;
nsIFrame *boundsFrame = GetBoundsFrame();
nsIComboboxControlFrame* comboFrame;
boundsFrame->QueryInterface(NS_GET_IID(nsIComboboxControlFrame), (void**)&comboFrame);
if (!comboFrame)
return NS_ERROR_FAILURE;
comboFrame->IsDroppedDown(&isOpen);
if (isOpen)
*_retval |= STATE_PRESSED;
*_retval |= STATE_FOCUSABLE;
return NS_OK;
}
/** ----- nsComboboxWindowAccessible ----- */
/**
* Constructor -- cache our parent
*/
nsComboboxWindowAccessible::nsComboboxWindowAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/**
* As a nsComboboxWindowAccessible we can have the following states:
* STATE_FOCUSED
* STATE_FOCUSABLE
* STATE_INVISIBLE
* STATE_FLOATING
*/
NS_IMETHODIMP nsComboboxWindowAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsAccessible::GetAccState(_retval);
// we are open or closed
PRBool isOpen = PR_FALSE;
nsIFrame *boundsFrame = GetBoundsFrame();
nsIComboboxControlFrame* comboFrame = nsnull;
boundsFrame->QueryInterface(NS_GET_IID(nsIComboboxControlFrame), (void**)&comboFrame);
if (!comboFrame)
return NS_ERROR_FAILURE;
comboFrame->IsDroppedDown(&isOpen);
if (! isOpen)
*_retval |= STATE_INVISIBLE;
*_retval |= STATE_FOCUSABLE | STATE_FLOATING;
return NS_OK;
}
/** We are a window */
NS_IMETHODIMP nsComboboxWindowAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_WINDOW;
return NS_OK;
}
/** Return our cached parent */
NS_IMETHODIMP nsComboboxWindowAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
* We are the last sibling of our parent.
*/
NS_IMETHODIMP nsComboboxWindowAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* We only have one child, a list
*/
NS_IMETHODIMP nsComboboxWindowAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 1;
return NS_OK;
}
/**
* Gets the bounds for the areaFrame.
* Walks the Frame tree and checks for proper frames.
*/
void nsComboboxWindowAccessible::GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame)
{
// get our first option
nsCOMPtr<nsIDOMNode> child;
mDOMNode->GetFirstChild(getter_AddRefs(child));
// now get its frame
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
*aBoundingFrame = nsnull;
return;
}
nsIFrame* frame = nsnull;
nsCOMPtr<nsIContent> content(do_QueryInterface(child));
shell->GetPrimaryFrameFor(content, &frame);
if (!frame) {
*aBoundingFrame = nsnull;
return;
}
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::blockFrame))
return;
#endif
frame->GetParent(aBoundingFrame);
frame->GetParent(&frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::areaFrame))
return;
#endif
frame->GetRect(aBounds);
}

View File

@@ -1,238 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Original Author: Eric Vaughan (evaughan@netscape.com)
* Contributor(s): John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __nsSelectAccessible_h__
#define __nsSelectAccessible_h__
#include "nsBaseWidgetAccessible.h"
#include "nsIAccessibleSelectable.h"
#include "nsIDOMXULListener.h"
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/**
* The list that contains all the options in the select.
*/
class nsSelectListAccessible : public nsAccessible
{
public:
nsSelectListAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsSelectListAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
/**
* Options inside the select, contained within the list
*/
class nsSelectOptionAccessible : public nsLeafAccessible
{
public:
nsSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsSelectOptionAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/**
* A class that represents the Listbox widget.
*/
class nsListboxAccessible : public nsAccessible
{
public:
nsListboxAccessible (nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsListboxAccessible () {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/**
* A class the represents the HTML Combobox widget.
*/
class nsComboboxAccessible : public nsAccessible,
public nsIAccessibleSelectable,
public nsIDOMXULListener
{
public:
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIACCESSIBLESELECTABLE
nsComboboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsComboboxAccessible();
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
/* ----- nsIDOMXULListener ----- */
NS_IMETHOD PopupShowing(nsIDOMEvent* aEvent);
NS_IMETHOD PopupShown(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD PopupHiding(nsIDOMEvent* aEvent);
NS_IMETHOD PopupHidden(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD Close(nsIDOMEvent* aEvent);
NS_IMETHOD Command(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD Broadcast(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD CommandUpdate(nsIDOMEvent* aEvent) { return NS_OK; }
NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent) { return NS_OK; }
virtual void SetupMenuListener();
protected:
PRBool mRegistered;
PRBool mOpen;
};
/**
* A class the represents the text field in the Combobox to the left
* of the drop down button
*/
class nsComboboxTextFieldAccessible : public nsLeafAccessible
{
public:
nsComboboxTextFieldAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsComboboxTextFieldAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
/**
* A class that represents the button inside the Select to the
* right of the text field
*/
class nsComboboxButtonAccessible : public nsLeafAccessible
{
public:
nsComboboxButtonAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsComboboxButtonAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
/**
* A class that represents the window that lives to the right
* of the drop down button inside the Select. This is the window
* that is made visible when the button is pressed.
*/
class nsComboboxWindowAccessible : public nsAccessible
{
public:
nsComboboxWindowAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsComboboxWindowAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
#endif

View File

@@ -1,71 +0,0 @@
#
# 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): John Gaunt (jgaunt@netscape.com)
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
LIBRARY_NAME = accessibility_html_s
REQUIRES = \
content \
content_xul \
docshell \
dom \
gfx \
gfx2 \
htmlparser \
imglib2 \
intl \
layout \
locale \
necko \
string \
uriloader \
view \
webshell \
widget \
xpcom \
webbrwsr \
$(NULL)
CPPSRCS = \
nsHTMLAreaAccessible.cpp \
nsHTMLFormControlAccessible.cpp \
nsHTMLIFrameRootAccessible.cpp \
nsHTMLImageAccessible.cpp \
nsHTMLLinkAccessible.cpp \
nsHTMLSelectAccessible.cpp \
nsHTMLTableAccessible.cpp \
nsHTMLTextAccessible.cpp \
$(NULL)
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES = \
-I$(srcdir)/../base \
$(NULL)

View File

@@ -1,74 +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): John Gaunt (jgaunt@netscape.com)
DEPTH = ..\..\..
MODULE = accessibility
LIBRARY_NAME = accessibility_html_s
REQUIRES = \
content \
dom \
gfx \
gfx2 \
htmlparser \
imglib2 \
layout \
locale \
necko \
string \
uriloader \
webshell \
widget \
xpcom \
$(NULL)
CPP_OBJS = \
.\$(OBJDIR)\nsHTMLAreaAccessible.obj \
.\$(OBJDIR)\nsHTMLFormControlAccessible.obj \
.\$(OBJDIR)\nsHTMLIFrameRootAccessible.obj \
.\$(OBJDIR)\nsHTMLImageAccessible.obj \
.\$(OBJDIR)\nsHTMLLinkAccessible.obj \
.\$(OBJDIR)\nsHTMLSelectAccessible.obj \
.\$(OBJDIR)\nsHTMLTableAccessible.obj \
.\$(OBJDIR)\nsHTMLTextAccessible.obj \
$(NULL)
EXPORTS = \
$(NULL)
LINCS = \
-I..\base \
-I..\..\..\layout\html\forms\public \
-I..\..\..\layout\html\forms\src \
-I..\..\..\layout\html\base\src \
$(NULL)
include <$(DEPTH)\config\rules.mak>
libs:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
clobber::
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib

View File

@@ -1,169 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsGenericAccessible.h"
#include "nsHTMLAreaAccessible.h"
#include "nsReadableUtils.h"
#include "nsString.h"
#include "nsAccessible.h"
#include "nsIAccessibilityService.h"
#include "nsIServiceManager.h"
#include "nsIDOMElement.h"
#include "nsIDOMHTMLAreaElement.h"
// --- area -----
nsHTMLAreaAccessible::nsHTMLAreaAccessible(nsIDOMNode *aDomNode, nsIAccessible *aAccParent, nsIWeakReference* aShell):
nsLinkableAccessible(aDomNode, aShell), mAccParent(aAccParent)
{
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccName(nsAString & _retval)
{
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(mDOMNode));
if (elt) {
nsAutoString hrefString;
elt->GetAttribute(NS_LITERAL_STRING("title"), _retval);
}
return NS_OK;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LINK;
return NS_OK;
}
/* wstring getAccValue (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(mDOMNode));
if (elt)
elt->GetAttribute(NS_LITERAL_STRING("href"), _retval);
return NS_OK;
}
/* wstring getAccDescription (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccDescription(nsAString& _retval)
{
// Still to do - follow IE's standard here
nsCOMPtr<nsIDOMHTMLAreaElement> area(do_QueryInterface(mDOMNode));
if (area)
area->GetShape(_retval);
return NS_OK;
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccParent(nsIAccessible * *aAccParent)
{
*aAccParent = mAccParent;
NS_IF_ADDREF(*aAccParent);
return NS_OK;
}
nsIAccessible *nsHTMLAreaAccessible::CreateAreaAccessible(nsIDOMNode *aDOMNode)
{
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
if (accService) {
nsIAccessible* acc = nsnull;
accService->CreateHTMLAreaAccessible(mPresShell, aDOMNode, mAccParent, &acc);
return acc;
}
return nsnull;
}
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccNextSibling(nsIAccessible * *aAccNextSibling)
{
*aAccNextSibling = nsnull;
nsCOMPtr<nsIDOMNode> nextNode;
mDOMNode->GetNextSibling(getter_AddRefs(nextNode));
if (nextNode)
*aAccNextSibling = CreateAreaAccessible(nextNode);
return NS_OK;
}
/* readonly attribute nsIAccessible accPreviousSibling; */
NS_IMETHODIMP nsHTMLAreaAccessible::GetAccPreviousSibling(nsIAccessible * *aAccPrevSibling)
{
*aAccPrevSibling = nsnull;
nsCOMPtr<nsIDOMNode> prevNode;
mDOMNode->GetPreviousSibling(getter_AddRefs(prevNode));
if (prevNode)
*aAccPrevSibling = CreateAreaAccessible(prevNode);
return NS_OK;
}
/* void accGetBounds (out long x, out long y, out long width, out long height); */
NS_IMETHODIMP nsHTMLAreaAccessible::AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height)
{
//nsIFrame *frame;
// Do a better job on this later - need to use GetRect on mAreas of nsImageMap from nsImageFrame
//return mAccParent->nsAccessible::AccGetBounds(x,y,width,height);
*x = *y = *width = *height = 0;
return NS_ERROR_NOT_IMPLEMENTED;
}

View File

@@ -1,71 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLAreaAccessible_H_
#define _nsHTMLAreaAccessible_H_
#include "nsBaseWidgetAccessible.h"
#include "nsAccessible.h"
/* Accessible for image map areas - must be child of image
*/
class nsHTMLAreaAccessible : public nsLinkableAccessible
{
public:
nsHTMLAreaAccessible(nsIDOMNode *domNode, nsIAccessible *accParent, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString & _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccParent(nsIAccessible * *aAccParent);
NS_IMETHOD GetAccNextSibling(nsIAccessible * *aAccNextSibling);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible * *aAccPreviousSibling);
NS_IMETHOD GetAccDescription(nsAString& _retval);
NS_IMETHOD AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height);
protected:
nsIAccessible *CreateAreaAccessible(nsIDOMNode *aDOMNode);
nsCOMPtr<nsIAccessible> mAccParent;
};
#endif

View File

@@ -1,446 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// NOTE: alphabetically ordered
#include "nsAccessible.h"
#include "nsFormControlAccessible.h"
#include "nsHTMLAtoms.h"
#include "nsHTMLFormControlAccessible.h"
#include "nsIDOMHTMLButtonElement.h"
#include "nsIDOMHTMLFormElement.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMNSHTMLButtonElement.h"
#include "nsIDOMHTMLLabelElement.h"
#include "nsIDOMHTMLTextAreaElement.h"
#include "nsIDOMXULCheckboxElement.h"
#include "nsIDOMXULButtonElement.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsINameSpaceManager.h"
#include "nsIFrame.h"
#include "nsISelectionController.h"
#include "nsReadableUtils.h"
#include "nsWeakReference.h"
// --- checkbox -----
nsHTMLCheckboxAccessible::nsHTMLCheckboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_CHECKBUTTON;
return NS_OK;
}
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) { // 0 is the magic value for default action
// check or uncheck
PRUint32 state;
GetAccState(&state);
if (state & STATE_CHECKED)
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("uncheck"), _retval);
else
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("check"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTMLCheckboxAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) { // 0 is the magic value for default action
nsCOMPtr<nsIDOMHTMLInputElement> htmlCheckboxElement(do_QueryInterface(mDOMNode));
if (htmlCheckboxElement) {
htmlCheckboxElement->Click();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccState(PRUint32 *_retval)
{
nsFormControlAccessible::GetAccState(_retval);
PRBool checked = PR_FALSE; // Radio buttons and check boxes can be checked
nsCOMPtr<nsIDOMHTMLInputElement> htmlCheckboxElement(do_QueryInterface(mDOMNode));
if (htmlCheckboxElement)
htmlCheckboxElement->GetChecked(&checked);
if (checked)
*_retval |= STATE_CHECKED;
return NS_OK;
}
//------ Radio button -------
nsHTMLRadioButtonAccessible::nsHTMLRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsRadioButtonAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLRadioButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Click) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
if (element) {
element->Click();
return NS_OK;
}
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTMLRadioButtonAccessible::GetAccState(PRUint32 *_retval)
{
nsFormControlAccessible::GetAccState(_retval);
PRBool checked = PR_FALSE; // Radio buttons and check boxes can be checked
nsCOMPtr<nsIDOMHTMLInputElement> htmlRadioElement(do_QueryInterface(mDOMNode));
if (htmlRadioElement)
htmlRadioElement->GetChecked(&checked);
if (checked)
*_retval |= STATE_CHECKED;
return NS_OK;
}
// ----- Button -----
nsHTMLButtonAccessible::nsHTMLButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("press"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTMLButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Click) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
if (element) {
element->Click();
return NS_OK;
}
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccState(PRUint32 *_retval)
{
nsFormControlAccessible::GetAccState(_retval);
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No nsIDOMElement for button node!");
nsAutoString buttonType;
element->GetAttribute(NS_LITERAL_STRING("type"), buttonType);
if (buttonType.EqualsIgnoreCase("submit"))
*_retval |= STATE_DEFAULT;
return NS_OK;
}
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMHTMLInputElement> button(do_QueryInterface(mDOMNode));
if (!button)
return NS_ERROR_FAILURE;
nsAutoString name;
button->GetValue(name);
name.CompressWhitespace();
_retval.Assign(name);
return NS_OK;
}
// ----- HTML 4 Button: can contain arbitrary HTML content -----
nsHTML4ButtonAccessible::nsHTML4ButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsLeafAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;;
}
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("press"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTML4ButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) {
nsCOMPtr<nsIDOMNSHTMLButtonElement> buttonElement(do_QueryInterface(mDOMNode));
if ( buttonElement )
{
buttonElement->Click();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccState(PRUint32 *_retval)
{
nsAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No nsIDOMElement for button node!");
nsAutoString buttonType;
element->GetAttribute(NS_LITERAL_STRING("type"), buttonType);
if (buttonType.EqualsIgnoreCase("submit"))
*_retval |= STATE_DEFAULT;
return NS_OK;
}
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccName(nsAString& _retval)
{
nsresult rv = NS_ERROR_FAILURE;
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
nsAutoString name;
if (content)
rv = AppendFlatStringFromSubtree(content, &name);
if (NS_SUCCEEDED(rv)) {
// Temp var needed until CompressWhitespace built for nsAString
name.CompressWhitespace();
_retval.Assign(name);
}
return rv;
}
// --- textfield -----
nsHTMLTextFieldAccessible::nsHTMLTextFieldAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLTextFieldAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_TEXT;
return NS_OK;
}
NS_IMETHODIMP nsHTMLTextFieldAccessible::GetAccValue(nsAString& _retval)
{
PRUint32 state;
GetAccState(&state);
if (state & STATE_PROTECTED) // Don't return password text!
return NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMHTMLTextAreaElement> textArea(do_QueryInterface(mDOMNode));
if (textArea) {
textArea->GetValue(_retval);
return NS_OK;
}
nsCOMPtr<nsIDOMHTMLInputElement> inputElement(do_QueryInterface(mDOMNode));
if (inputElement) {
inputElement->GetValue(_retval);
return NS_OK;
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsHTMLTextFieldAccessible::GetAccState(PRUint32 *_retval)
{
// can be
// focusable, focused, protected. readonly, unavailable, selected
nsAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
nsCOMPtr<nsIDOMHTMLTextAreaElement> textArea(do_QueryInterface(mDOMNode));
nsCOMPtr<nsIDOMHTMLInputElement> inputElement(do_QueryInterface(mDOMNode));
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(mDOMNode));
PRBool isReadOnly = PR_FALSE;
elt->HasAttribute(NS_LITERAL_STRING("readonly"), &isReadOnly);
if (isReadOnly)
*_retval |= STATE_READONLY;
// Get current selection and find out if current node is in it
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIPresContext> context;
shell->GetPresContext(getter_AddRefs(context));
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
nsIFrame *frame = nsnull;
if (content && NS_SUCCEEDED(shell->GetPrimaryFrameFor(content, &frame)) && frame) {
nsCOMPtr<nsISelectionController> selCon;
frame->GetSelectionController(context,getter_AddRefs(selCon));
if (selCon) {
nsCOMPtr<nsISelection> domSel;
selCon->GetSelection(nsISelectionController::SELECTION_NORMAL, getter_AddRefs(domSel));
if (domSel) {
PRBool isCollapsed = PR_TRUE;
domSel->GetIsCollapsed(&isCollapsed);
if (!isCollapsed)
*_retval |=STATE_SELECTED;
}
}
}
if (!textArea) {
if (inputElement) {
/////// ====== Must be a password field, so it uses nsIDOMHTMLFormControl ==== ///////
PRUint32 moreStates = 0;
nsresult rv = nsFormControlAccessible::GetAccState(&moreStates);
*_retval |= moreStates;
return rv;
}
return NS_ERROR_FAILURE;
}
PRBool disabled = PR_FALSE;
textArea->GetDisabled(&disabled);
if (disabled)
*_retval |= STATE_UNAVAILABLE;
return NS_OK;
}
// --- groupbox -----
/*
* The HTML for this is <fieldset> <legend>box-title</legend> form elements </fieldset>
*/
nsHTMLGroupboxAccessible::nsHTMLGroupboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLGroupboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_GROUPING;
return NS_OK;
}
NS_IMETHODIMP nsHTMLGroupboxAccessible::GetAccState(PRUint32 *_retval)
{
// Groupbox doesn't support any states!
*_retval = 0;
return NS_OK;
}
NS_IMETHODIMP nsHTMLGroupboxAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
if (element) {
nsCOMPtr<nsIDOMNodeList> legends;
element->GetElementsByTagName(NS_LITERAL_STRING("legend"), getter_AddRefs(legends));
if (legends) {
nsCOMPtr<nsIDOMNode> legendNode;
legends->Item(0, getter_AddRefs(legendNode));
nsCOMPtr<nsIContent> legendContent(do_QueryInterface(legendNode));
if (legendContent) {
_retval.Assign(NS_LITERAL_STRING("")); // Default name is blank
return AppendFlatStringFromSubtree(legendContent, &_retval);
}
}
}
return NS_OK;
}

View File

@@ -1,113 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric D Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLFormControlAccessible_H_
#define _nsHTMLFormControlAccessible_H_
#include "nsBaseWidgetAccessible.h"
#include "nsFormControlAccessible.h"
class nsICheckboxControlFrame;
class nsHTMLCheckboxAccessible : public nsFormControlAccessible
{
public:
nsHTMLCheckboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
class nsHTMLRadioButtonAccessible : public nsRadioButtonAccessible
{
public:
nsHTMLRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
class nsHTMLButtonAccessible : public nsFormControlAccessible
{
public:
nsHTMLButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
};
class nsHTML4ButtonAccessible : public nsLeafAccessible
{
public:
nsHTML4ButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
};
class nsHTMLTextFieldAccessible : public nsFormControlAccessible
{
public:
nsHTMLTextFieldAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
class nsHTMLGroupboxAccessible : public nsAccessible
{
public:
nsHTMLGroupboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
};
#endif

View File

@@ -1,205 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsHTMLIFrameRootAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIPresShell.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsIDOMDocument.h"
#include "nsReadableUtils.h"
NS_INTERFACE_MAP_BEGIN(nsHTMLIFrameRootAccessible)
NS_INTERFACE_MAP_END_INHERITING(nsRootAccessible)
NS_IMPL_ADDREF_INHERITED(nsHTMLIFrameRootAccessible, nsRootAccessible);
NS_IMPL_RELEASE_INHERITED(nsHTMLIFrameRootAccessible, nsRootAccessible);
NS_IMPL_ADDREF_INHERITED(nsHTMLIFrameAccessible, nsBlockAccessible);
NS_IMPL_RELEASE_INHERITED(nsHTMLIFrameAccessible, nsBlockAccessible);
NS_IMETHODIMP
nsHTMLIFrameAccessible::QueryInterface(const nsIID& aIID, void** aInstancePtr)
{
NS_ASSERTION(aInstancePtr, "QueryInterface requires a non-NULL destination!");
if ( !aInstancePtr )
return NS_ERROR_NULL_POINTER;
if (aIID.Equals(NS_GET_IID(nsIAccessibleDocument))) {
*aInstancePtr = (void*)(nsIAccessibleDocument*) this;
NS_IF_ADDREF(this);
return NS_OK;
}
return nsBlockAccessible::QueryInterface(aIID, aInstancePtr);
}
nsHTMLIFrameAccessible::nsHTMLIFrameAccessible(nsIDOMNode* aNode, nsIAccessible* aRoot, nsIWeakReference* aShell, nsIDocument *aDoc):
nsBlockAccessible(aNode, aShell), mRootAccessible(aRoot), nsDocAccessibleMixin(aDoc)
{
}
/* attribute wstring accName; */
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccName(nsAString& aAccName)
{
return GetTitle(aAccName);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccValue(nsAString& aAccValue)
{
return GetURL(aAccValue);
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
return mRootAccessible->GetAccFirstChild(_retval);
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccLastChild(nsIAccessible **_retval)
{
return mRootAccessible->GetAccLastChild(_retval);
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccChildCount(PRInt32 *_retval)
{
return mRootAccessible->GetAccChildCount(_retval);
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PANE;
return NS_OK;
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetAccState(PRUint32 *aAccState)
{
return nsAccessible::GetAccState(aAccState);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetURL(nsAString& aURL)
{
return nsDocAccessibleMixin::GetURL(aURL);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetTitle(nsAString& aTitle)
{
return nsDocAccessibleMixin::GetTitle(aTitle);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetMimeType(nsAString& aMimeType)
{
return nsDocAccessibleMixin::GetMimeType(aMimeType);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetDocType(nsAString& aDocType)
{
return nsDocAccessibleMixin::GetDocType(aDocType);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetNameSpaceURIForID(PRInt16 aNameSpaceID, nsAString& aNameSpaceURI)
{
return nsDocAccessibleMixin::GetNameSpaceURIForID(aNameSpaceID, aNameSpaceURI);
}
NS_IMETHODIMP nsHTMLIFrameAccessible::GetDocument(nsIDocument **doc)
{
return nsDocAccessibleMixin::GetDocument(doc);
}
//=============================//
// nsHTMLIFrameRootAccessible //
//=============================//
//-----------------------------------------------------
// construction
//-----------------------------------------------------
nsHTMLIFrameRootAccessible::nsHTMLIFrameRootAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
mOuterNode(aNode), nsRootAccessible(aShell)
{
}
//-----------------------------------------------------
// destruction
//-----------------------------------------------------
nsHTMLIFrameRootAccessible::~nsHTMLIFrameRootAccessible()
{
}
void nsHTMLIFrameRootAccessible::Init()
{
if (!mOuterAccessible) {
nsCOMPtr<nsIDOMDocument> domDoc;
mOuterNode->GetOwnerDocument(getter_AddRefs(domDoc));
nsCOMPtr<nsIDocument> doc(do_QueryInterface(domDoc));
if (doc) {
nsCOMPtr<nsIPresShell> parentShell;
doc->GetShellAt(0, getter_AddRefs(parentShell));
if (parentShell) {
nsCOMPtr<nsIContent> content(do_QueryInterface(mOuterNode));
nsIFrame* frame = nsnull;
parentShell->GetPrimaryFrameFor(content, &frame);
NS_ASSERTION(frame, "No outer frame.");
frame->GetAccessible(getter_AddRefs(mOuterAccessible));
NS_ASSERTION(mOuterAccessible, "Something's wrong - there's no accessible for the outer parent of this frame.");
}
}
}
}
/* readonly attribute nsIAccessible accParent; */
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccParent(nsIAccessible * *_retval)
{
Init();
return mOuterAccessible->GetAccParent(_retval);
}
/* nsIAccessible getAccNextSibling (); */
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
Init();
return mOuterAccessible->GetAccNextSibling(_retval);
}
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
Init();
return mOuterAccessible->GetAccPreviousSibling(_retval);
}

View File

@@ -1,101 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsIFrameRootAccessible_H_
#define _nsIFrameRootAccessible_H_
#include "nsBaseWidgetAccessible.h"
#include "nsRootAccessible.h"
#include "nsAccessible.h"
#include "nsIAccessibleDocument.h"
class nsIWebShell;
class nsIWeakReference;
class nsHTMLIFrameAccessible : public nsBlockAccessible,
public nsIAccessibleDocument,
public nsDocAccessibleMixin
{
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIACCESSIBLEDOCUMENT
public:
nsHTMLIFrameAccessible(nsIDOMNode* aNode, nsIAccessible* aRoot, nsIWeakReference* aShell, nsIDocument *doc);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccName(nsAString& aAccName);
NS_IMETHOD GetAccValue(nsAString& AccValue);
NS_IMETHOD GetAccRole(PRUint32 *aAccRole);
NS_IMETHOD GetAccState(PRUint32 *aAccState);
protected:
nsCOMPtr<nsIAccessible> mRootAccessible;
};
class nsHTMLIFrameRootAccessible : public nsRootAccessible
{
NS_DECL_ISUPPORTS_INHERITED
public:
nsHTMLIFrameRootAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
virtual ~nsHTMLIFrameRootAccessible();
/* attribute wstring accName; */
NS_IMETHOD GetAccParent(nsIAccessible * *aAccParent);
/* nsIAccessible getAccNextSibling (); */
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
/* nsIAccessible getAccPreviousSibling (); */
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
protected:
void Init();
// In these variable names, "outer" relates to the nsHTMLIFrameAccessible, as opposed to the
// nsHTMLIFrameRootAccessible which is "inner".
// The outer node is a <browser> or <iframe> tag, whereas the inner node corresponds to the inner document root.
nsCOMPtr<nsIDOMNode> mOuterNode;
nsCOMPtr<nsIAccessible> mOuterAccessible;
};
#endif

View File

@@ -1,205 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsGenericAccessible.h"
#include "nsHTMLImageAccessible.h"
#include "nsReadableUtils.h"
#include "nsAccessible.h"
#include "nsIHTMLDocument.h"
#include "nsIDocument.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIAccessibilityService.h"
#include "nsIServiceManager.h"
#include "imgIRequest.h"
#include "imgIContainer.h"
#include "nsIImageFrame.h"
// --- image -----
nsHTMLImageAccessible::nsHTMLImageAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsLinkableAccessible(aDOMNode, aShell)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(aDOMNode));
nsCOMPtr<nsIDocument> doc;
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell)
return;
shell->GetDocument(getter_AddRefs(doc));
nsAutoString mapElementName;
if (doc && element) {
nsCOMPtr<nsIHTMLDocument> htmlDoc(do_QueryInterface(doc));
element->GetAttribute(NS_LITERAL_STRING("usemap"),mapElementName);
if (htmlDoc && !mapElementName.IsEmpty()) {
if (mapElementName.CharAt(0) == '#')
mapElementName.Cut(0,1);
htmlDoc->GetImageMap(mapElementName, getter_AddRefs(mMapElement));
}
}
}
NS_IMETHODIMP nsHTMLImageAccessible::GetAccState(PRUint32 *_retval)
{
// The state is a bitfield, get our inherited state, then logically OR it with STATE_ANIMATED if this
// is an animated image.
nsLinkableAccessible::GetAccState(_retval);
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
nsIFrame *frame = nsnull;
if (content && shell)
shell->GetPrimaryFrameFor(content, &frame);
nsCOMPtr<nsIImageFrame> imageFrame(do_QueryInterface(frame));
nsCOMPtr<imgIRequest> imageRequest;
if (imageFrame)
imageFrame->GetImageRequest(getter_AddRefs(imageRequest));
nsCOMPtr<imgIContainer> imgContainer;
if (imageRequest)
imageRequest->GetImage(getter_AddRefs(imgContainer));
if (imgContainer) {
PRUint32 numFrames;
imgContainer->GetNumFrames(&numFrames);
if (numFrames > 1)
*_retval |= STATE_ANIMATED;
}
return NS_OK;
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLImageAccessible::GetAccName(nsAString& _retval)
{
nsresult rv = NS_ERROR_FAILURE;
nsCOMPtr<nsIContent> imageContent(do_QueryInterface(mDOMNode));
if (imageContent) {
nsAutoString name;
rv = AppendFlatStringFromContentNode(imageContent, &name);
if (NS_SUCCEEDED(rv)) {
// Temp var needed until CompressWhitespace built for nsAString
name.CompressWhitespace();
_retval.Assign(name);
}
}
return rv;
}
/* wstring getAccRole (); */
NS_IMETHODIMP nsHTMLImageAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_GRAPHIC;
return NS_OK;
}
nsIAccessible *nsHTMLImageAccessible::CreateAreaAccessible(PRUint32 areaNum)
{
if (!mMapElement)
return nsnull;
if (areaNum == -1) {
PRInt32 numAreaMaps;
GetAccChildCount(&numAreaMaps);
if (numAreaMaps<=0)
return nsnull;
areaNum = NS_STATIC_CAST(PRUint32,numAreaMaps-1);
}
nsIDOMHTMLCollection *mapAreas;
mMapElement->GetAreas(&mapAreas);
if (!mapAreas)
return nsnull;
nsIDOMNode *domNode = nsnull;
mapAreas->Item(areaNum,&domNode);
if (!domNode)
return nsnull;
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
if (!accService)
return nsnull;
if (accService) {
nsIAccessible* acc = nsnull;
accService->CreateHTMLAreaAccessible(mPresShell, domNode, this, &acc);
return acc;
}
return nsnull;
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsHTMLImageAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = CreateAreaAccessible(0);
return NS_OK;
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsHTMLImageAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = CreateAreaAccessible(-1);
return NS_OK;
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsHTMLImageAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
if (mMapElement) {
nsIDOMHTMLCollection *mapAreas;
mMapElement->GetAreas(&mapAreas);
if (mapAreas) {
PRUint32 length;
mapAreas->GetLength(&length);
*_retval = NS_STATIC_CAST(PRInt32, length);
}
}
return NS_OK;
}

View File

@@ -1,71 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLImageAccessible_H_
#define _nsHTMLImageAccessible_H_
#include "nsAccessible.h"
#include "nsBaseWidgetAccessible.h"
#include "nsIFrame.h"
#include "nsIImageFrame.h"
#include "nsIDOMHTMLMapElement.h"
/* Accessible for supporting images
* supports:
* - gets name, role
* - support basic state
*/
class nsHTMLImageAccessible : public nsLinkableAccessible
{
public:
nsHTMLImageAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
protected:
nsIAccessible *CreateAreaAccessible(PRUint32 areaNum);
nsCOMPtr<nsIDOMHTMLMapElement> mMapElement;
};
#endif

View File

@@ -1,79 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsHTMLLinkAccessible.h"
#include "nsWeakReference.h"
#include "nsIFrame.h"
#include "nsILink.h"
#include "nsILinkHandler.h"
#include "nsISelection.h"
#include "nsISelectionController.h"
#include "nsIPresContext.h"
#include "nsReadableUtils.h"
#include "nsIDOMElement.h"
nsHTMLLinkAccessible::nsHTMLLinkAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsLinkableAccessible(aDomNode, aShell)
{
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLLinkAccessible::GetAccName(nsAString& _retval)
{
if (!IsALink()) // Also initializes private data members
return NS_ERROR_FAILURE;
nsAutoString name;
nsresult rv = AppendFlatStringFromSubtree(mLinkContent, &name);
if (NS_SUCCEEDED(rv)) {
// Temp var needed until CompressWhitespace built for nsAString
name.CompressWhitespace();
_retval.Assign(name);
}
return rv;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLLinkAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LINK;
return NS_OK;
}

View File

@@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLLinkAccessible_H_
#define _nsHTMLLinkAccessible_H_
#include "nsAccessible.h"
#include "nsBaseWidgetAccessible.h"
class nsHTMLLinkAccessible : public nsLinkableAccessible
{
public:
nsHTMLLinkAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
#endif

View File

@@ -1,706 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsCOMPtr.h"
#include "nsHTMLSelectAccessible.h"
#include "nsIAccessibilityService.h"
#include "nsIFrame.h"
#include "nsIComboboxControlFrame.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMHTMLOptionElement.h"
#include "nsIDOMHTMLOptGroupElement.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsIDOMHTMLOListElement.h"
#include "nsIListControlFrame.h"
#include "nsIServiceManager.h"
#include "nsLayoutAtoms.h"
#include "nsIDocument.h"
/**
* Selects, Listboxes and Comboboxes, are made up of a number of different
* widgets, some of which are shared between the two. This file contains
* all of the widgets for both of the Selects, for HTML only. Some of them
* extend classes from nsSelectAccessible.cpp, which contains base classes
* that are also extended by the XUL Select Accessibility support.
*
* Listbox:
* - nsHTMLListboxAccessible
* - nsHTMLSelectListAccessible
* - nsHTMLSelectOptionAccessible
*
* Comboboxes:
* - nsHTMLComboboxAccessilbe
* - nsHTMLComboboxTextFieldAccessible
* - nsHTMLComboboxButtonAccessible
* - nsHTMLComboboxWindowAccessilbe
* - nsHTMLSelectListAccessible
* - nsHTMLSelectOptionAccessible
*/
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/** ----- nsHTMLSelectListAccessible ----- */
/** Default Constructor */
nsHTMLSelectListAccessible::nsHTMLSelectListAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsSelectListAccessible(aParent, aDOMNode, aShell)
{
}
/**
* As a nsHTMLSelectListAccessible we can have the following states:
* STATE_MULTISELECTABLE
* STATE_EXTSELECTABLE
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccState(PRUint32 *_retval)
{
nsCOMPtr<nsIDOMHTMLSelectElement> select (do_QueryInterface(mDOMNode));
if ( select ) {
PRBool multiple;
select->GetMultiple(&multiple);
if ( multiple )
*_retval |= STATE_MULTISELECTABLE | STATE_EXTSELECTABLE;
}
return NS_OK;
}
/**
* Gets the last child of the DOM node and creates and returns
* a nsHTMLSelectOptionAccessible.
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccLastChild(nsIAccessible **_retval)
{
nsCOMPtr<nsIDOMNode> last;
mDOMNode->GetLastChild(getter_AddRefs(last));
*_retval = new nsHTMLSelectOptionAccessible(this, last, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Gets the child count of a Select List Accessible. We want to count
* all the <optgroup>s and <option>s as children because we want a
* flat tree under the Select List.
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccChildCount(PRInt32 *aAccChildCount)
{
// Count the number of <Option Group> and <option> elements and return
// this number. This is so the tree can be flattened
nsCOMPtr<nsIDOMNode> next, nextInner, nextChild;
nsCOMPtr<nsIDOMHTMLOptionElement> optionElement(do_QueryInterface(mDOMNode));
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
PRInt32 countChild;
countChild = 0;
mDOMNode->GetFirstChild(getter_AddRefs(next));
while (next) {
nsCOMPtr<nsIDOMHTMLOptGroupElement> optGroupElement(do_QueryInterface(next));
countChild++;
if (optGroupElement) {
next->GetFirstChild(getter_AddRefs(nextInner));
while (nextInner ) {
nsCOMPtr<nsIDOMHTMLOptionElement> optionElement(do_QueryInterface(nextInner));
if (optionElement) {
countChild++;
}
nextInner->GetNextSibling(getter_AddRefs(nextChild));
nextInner = nextChild;
} // endWhile nextInner
} // endif optGroupElement
next->GetNextSibling(getter_AddRefs(nextInner));
next = nextInner;
} // endWhile next
*aAccChildCount = countChild;
return NS_OK;
}
/** ----- nsHTMLSelectOptionAccessible ----- */
/** Default Constructor */
nsHTMLSelectOptionAccessible::nsHTMLSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsSelectOptionAccessible(aParent, aDOMNode, aShell)
{
}
/**
* Gets the next accessible sibling of the mDOMNode and creates and returns
* a nsHTMLSelectOptionAccessible or nsHTMLSelectOptGroupAccessible.
*/
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
// Get next sibling and if found create and return an accessible for it
// When getting the next sibling of an SelectOption we could be working with
// either an optgroup or an option. We process this tree as flat.
*_retval = nsnull;
nsCOMPtr<nsIDOMNode> next;
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
nsCOMPtr<nsIDOMHTMLOptGroupElement> currOptGroupElement(do_QueryInterface(mDOMNode));
if (currOptGroupElement) {
mDOMNode->GetFirstChild(getter_AddRefs(next));
}
if (!next) // no child under a <optgroup> or we started with a <option>
mDOMNode->GetNextSibling(getter_AddRefs(next)); // See if there is another <optgroup>
if (next) {
accService->GetAccessibleFor(next, _retval);
return NS_OK;
}
// else No child then or child is not a <option> nor an <optgroup>
// go back up to the parent and get next sibling from there,
nsCOMPtr<nsIDOMNode> parent, parentNextSib;
mDOMNode->GetParentNode(getter_AddRefs(parent));
if (!parent) {
return NS_OK;
} else {
nsCOMPtr<nsIDOMHTMLOListElement> listElement(do_QueryInterface(parent));
if (listElement) // we are done!
return NS_OK;
}
parent->GetNextSibling(getter_AddRefs(parentNextSib));
if (!parentNextSib)
return NS_OK; // done
// We have a parent that is an option or option group
// get accessible for either one and return it
accService->GetAccessibleFor(parentNextSib, _retval);
return NS_OK;
}
/**
* Gets the previous accessible sibling of the mDOMNode and creates and returns
* a nsHTMLSelectOptionAccessible or nsHTMLSelectOptGroupAccessible.
*/
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
nsCOMPtr<nsIAccessible> thisAcc, selectListAcc, nextSiblingAcc;
accService->GetAccessibleFor(mDOMNode, getter_AddRefs(thisAcc));
// The accessible parent of an <option> or <optgroup> is always the SelectListAcc - see GetAccessibleFor()
thisAcc->GetAccParent(getter_AddRefs(selectListAcc));
if (!selectListAcc) {
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIDOMNode> siblingDOMNode;
selectListAcc->GetAccFirstChild(_retval);
// Go thru all the siblings until we find ourselves(mDOMNode) then use the
// sibling right before us.
do {
(*_retval)->GetAccNextSibling(getter_AddRefs(nextSiblingAcc));
if (!nextSiblingAcc) {
*_retval = nsnull;
return NS_ERROR_FAILURE;
}
nextSiblingAcc->AccGetDOMNode(getter_AddRefs(siblingDOMNode));
if (siblingDOMNode == mDOMNode) {
break; // we found ourselves!
}
NS_RELEASE(*_retval);
*_retval = nextSiblingAcc;
NS_IF_ADDREF(*_retval);
} while (nextSiblingAcc);
return NS_OK;
}
/**
* As a nsHTMLSelectOptionAccessible we can have the following states:
* STATE_SELECTABLE
* STATE_SELECTED
* STATE_FOCUSED
* STATE_FOCUSABLE
* STATE_INVISIBLE -- not implemented yet
*/
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccState(PRUint32 *_retval)
{
*_retval = 0;
nsCOMPtr<nsIDOMNode> focusedOptionNode, parentNode;
// Go up to parent <select> element
nsCOMPtr<nsIDOMNode> thisNode(do_QueryInterface(mDOMNode));
do {
thisNode->GetParentNode(getter_AddRefs(parentNode));
nsCOMPtr<nsIDOMHTMLSelectElement> selectControl(do_QueryInterface(parentNode));
if (selectControl) {
break;
}
thisNode = parentNode;
} while (parentNode);
if (!parentNode) {
return NS_ERROR_FAILURE;
}
// find out if we are the focused node
GetFocusedOptionNode(parentNode, focusedOptionNode);
if (focusedOptionNode == mDOMNode)
*_retval |= STATE_FOCUSED;
// Are we selected?
nsCOMPtr<nsIDOMHTMLOptionElement> option (do_QueryInterface(mDOMNode));
if ( option ) {
PRBool isSelected = PR_FALSE;
option->GetSelected(&isSelected);
if ( isSelected )
*_retval |= STATE_SELECTED;
}
*_retval |= STATE_SELECTABLE | STATE_FOCUSABLE;
return NS_OK;
}
/**
* Helper method for getting the focused DOM Node from our parent(list) node. We
* need to use the frame to get the focused option because for some reason we
* weren't getting the proper notification when the focus changed using the DOM
*/
nsresult nsHTMLSelectOptionAccessible::GetFocusedOptionNode(nsIDOMNode *aListNode,
nsCOMPtr<nsIDOMNode>& aFocusedOptionNode)
{
NS_ASSERTION(aListNode, "Called GetFocusedOptionNode without a valid list node");
nsCOMPtr<nsIContent> content(do_QueryInterface(aListNode));
nsCOMPtr<nsIDocument> document;
content->GetDocument(*getter_AddRefs(document));
nsCOMPtr<nsIPresShell> shell;
if (document)
document->GetShellAt(0,getter_AddRefs(shell));
if (!shell)
return NS_ERROR_FAILURE;
nsIFrame *frame = nsnull;
shell->GetPrimaryFrameFor(content, &frame);
PRInt32 focusedOptionIndex = 0;
// Get options
nsCOMPtr<nsIDOMHTMLSelectElement> selectElement(do_QueryInterface(aListNode));
NS_ASSERTION(selectElement, "No select element where it should be");
nsCOMPtr<nsIDOMHTMLCollection> options;
nsresult rv = selectElement->GetOptions(getter_AddRefs(options));
if (NS_SUCCEEDED(rv)) {
nsCOMPtr<nsIListControlFrame> listFrame(do_QueryInterface(frame));
if (listFrame) {
// Get what's focused in listbox by asking frame for "selected item".
// Can't use dom interface for this, because it will always return the first selected item
// when there is more than 1 item selected. We need the focused item, not
// the first selected item.
rv = listFrame->GetSelectedIndex(&focusedOptionIndex);
}
else // Combo boxes can only have 1 selected option, so they can use the dom interface for this
rv = selectElement->GetSelectedIndex(&focusedOptionIndex);
}
// Either use options and focused index, or default to list node itself
if (NS_SUCCEEDED(rv) && options && focusedOptionIndex >= 0) // Something is focused
rv = options->Item(focusedOptionIndex, getter_AddRefs(aFocusedOptionNode));
else { // If no options in list or focusedOptionIndex <0, then we are not focused on an item
aFocusedOptionNode = aListNode; // return normal target content
rv = NS_OK;
}
return rv;
}
/** ----- nsHTMLSelectOptGroupAccessible ----- */
/** Default Constructor */
nsHTMLSelectOptGroupAccessible::nsHTMLSelectOptGroupAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsHTMLSelectOptionAccessible(aParent, aDOMNode, aShell)
{
}
/**
* As a nsHTMLSelectOptGroupAccessible we can have the following states:
* STATE_SELECTABLE
*/
NS_IMETHODIMP nsHTMLSelectOptGroupAccessible::GetAccState(PRUint32 *_retval)
{
nsHTMLSelectOptionAccessible::GetAccState(_retval);
*_retval &= ~(STATE_FOCUSABLE|STATE_SELECTABLE);
return NS_OK;
}
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/** ----- nsHTMLListboxAccessible ----- */
/** Constructor */
nsHTMLListboxAccessible::nsHTMLListboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsListboxAccessible(aDOMNode, aShell)
{
}
/** Inherit the ISupports impl from nsAccessible, we handle nsIAccessibleSelectable */
NS_IMPL_ISUPPORTS_INHERITED1(nsHTMLListboxAccessible, nsListboxAccessible, nsIAccessibleSelectable)
/**
* Our last (and only) child is an nsHTMLSelectListAccessible object
*/
NS_IMETHODIMP nsHTMLListboxAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Our first (and only) child is an nsHTMLSelectListAccessible object
*/
NS_IMETHODIMP nsHTMLListboxAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Our value is the value of our ( first ) selected child. nsIDOMHTMLSelectElement
* returns this by default with GetValue().
*/
NS_IMETHODIMP nsHTMLListboxAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMHTMLSelectElement> select (do_QueryInterface(mDOMNode));
if ( select ) {
select->GetValue(_retval);
return NS_OK;
}
return NS_ERROR_FAILURE;
}
/**
* nsIAccessibleSelectable method.
* - gets from the Select DOMNode the list of all Select Options
* - iterates through all of the options looking for selected Options
* - creates IAccessible objects for selected Options
* - Returns the IAccessibles for selectd Options in the nsISupportsArray
*
* retval will be nsnull if:
* - there are no Options in the Select Element
* - there are Options but none are selected
* - the DOMNode is not a nsIDOMHTMLSelectElement ( shouldn't happen )
*/
NS_IMETHODIMP nsHTMLListboxAccessible::GetSelectedChildren(nsISupportsArray **_retval)
{
nsCOMPtr<nsIDOMHTMLSelectElement> select(do_QueryInterface(mDOMNode));
if(select) {
nsCOMPtr<nsIDOMHTMLCollection> options;
// get all the options in the select
select->GetOptions(getter_AddRefs(options));
if (options) {
// set up variables we need to get the selected options and to get their nsIAccessile objects
PRUint32 length;
options->GetLength(&length);
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
nsCOMPtr<nsISupportsArray> selectedAccessibles;
NS_NewISupportsArray(getter_AddRefs(selectedAccessibles));
if (!selectedAccessibles || !accService)
return NS_ERROR_FAILURE;
// find the selected options and get the accessible objects;
PRBool isSelected = PR_FALSE;
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
for (PRUint32 i = 0 ; i < length ; i++) {
nsCOMPtr<nsIDOMNode> tempNode;
options->Item(i,getter_AddRefs(tempNode));
if (tempNode) {
nsCOMPtr<nsIDOMHTMLOptionElement> tempOption(do_QueryInterface(tempNode));
if (tempOption)
tempOption->GetSelected(&isSelected);
if (isSelected) {
nsCOMPtr<nsIAccessible> tempAccess;
accService->CreateHTMLSelectOptionAccessible(tempOption, this, context, getter_AddRefs(tempAccess));
if ( tempAccess )
selectedAccessibles->AppendElement(tempAccess);
isSelected = PR_FALSE;
}
}
}
selectedAccessibles->Count(&length); // reusing length
if ( length != 0 ) { // length of nsISupportsArray containing selected options
*_retval = selectedAccessibles;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
}
}
// no options, not a select or none of the options are selected
*_retval = nsnull;
return NS_OK;
}
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/** ----- nsHTMLComboboxAccessible ----- */
/** Constructor */
nsHTMLComboboxAccessible::nsHTMLComboboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsComboboxAccessible(aDOMNode, aShell)
{
}
/**
* Our last child is an nsHTMLComboboxWindowAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLComboboxWindowAccessible(this, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Our last child is an nsHTMLComboboxTextFieldAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLComboboxTextFieldAccessible(this, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Our value is the value of our ( first ) selected child. nsIDOMHTMLSelectElement
* returns this by default with GetValue().
*/
NS_IMETHODIMP nsHTMLComboboxAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMHTMLSelectElement> select (do_QueryInterface(mDOMNode));
if (select) {
select->GetValue(_retval);
return NS_OK;
}
return NS_ERROR_FAILURE;
}
/** ----- nsHTMLComboboxTextFieldAccessible ----- */
/** Constructor */
nsHTMLComboboxTextFieldAccessible::nsHTMLComboboxTextFieldAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsComboboxTextFieldAccessible(aParent, aDOMNode, aShell)
{
}
/**
* Our next sibling is an nsHTMLComboboxButtonAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxTextFieldAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLComboboxButtonAccessible(parent, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/** -----ComboboxButtonAccessible ----- */
/** Constructor -- cache our parent */
nsHTMLComboboxButtonAccessible::nsHTMLComboboxButtonAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsComboboxButtonAccessible(aParent, aDOMNode, aShell)
{
}
/**
* Programmaticaly click on the button, causing either the display or
* the hiding of the drop down box ( window ).
* Walks the Frame tree and checks for proper frames.
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::AccDoAction(PRUint8 index)
{
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if (!context)
return NS_ERROR_FAILURE;
frame->FirstChild(context, nsnull, &frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::blockFrame))
return NS_ERROR_FAILURE;
#endif
frame->GetNextSibling(&frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::gfxButtonControlFrame))
return NS_ERROR_FAILURE;
#endif
nsCOMPtr<nsIContent> content;
frame->GetContent(getter_AddRefs(content));
// We only have one action, click. Any other index is meaningless(wrong)
if (index == eAction_Click) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(content));
if (element)
{
element->Click();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
/**
* Our next sibling is an nsHTMLComboboxWindowAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLComboboxWindowAccessible(parent, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* Our next sibling is an nsHTMLComboboxTextFieldAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLComboboxTextFieldAccessible(parent, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/** ----- nsHTMLComboboxWindowAccessible ----- */
/**
* Constructor -- cache our parent
*/
nsHTMLComboboxWindowAccessible::nsHTMLComboboxWindowAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell):
nsComboboxWindowAccessible(aParent, aDOMNode, aShell)
{
}
/**
* Our previous sibling is a nsHTMLComboboxButtonAccessible object
*/
NS_IMETHODIMP nsHTMLComboboxWindowAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLComboboxButtonAccessible(parent, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* We only have one child, a list
*/
NS_IMETHODIMP nsHTMLComboboxWindowAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
* We only have one child, a list
*/
NS_IMETHODIMP nsHTMLComboboxWindowAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if (! *_retval)
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}

View File

@@ -1,224 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __nsHTMLSelectAccessible_h__
#define __nsHTMLSelectAccessible_h__
#include "nsCOMPtr.h"
#include "nsIAccessibleSelectable.h"
#include "nsIDOMNode.h"
#include "nsIWeakReference.h"
#include "nsSelectAccessible.h"
/**
* Selects, Listboxes and Comboboxes, are made up of a number of different
* widgets, some of which are shared between the two. This file contains
* all of the widgets for both of the Selects, for HTML only. Some of them
* extend classes from nsSelectAccessible.cpp, which contains base classes
* that are also extended by the XUL Select Accessibility support.
*
* Listbox:
* - nsHTMLListboxAccessible
* - nsHTMLSelectListAccessible
* - nsHTMLSelectOptionAccessible
*
* Comboboxes:
* - nsHTMLComboboxAccessible
* - nsHTMLComboboxTextFieldAccessible
* - nsHTMLComboboxButtonAccessible
* - nsHTMLComboboxWindowAccessible
* - nsHTMLSelectListAccessible
* - nsHTMLSelectOptionAccessible(s)
*/
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/*
* The list that contains all the options in the select.
*/
class nsHTMLSelectListAccessible : public nsSelectListAccessible
{
public:
nsHTMLSelectListAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLSelectListAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *aAccChildCount) ;
};
/*
* Options inside the select, contained within the list
*/
class nsHTMLSelectOptionAccessible : public nsSelectOptionAccessible
{
public:
nsHTMLSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLSelectOptionAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
static nsresult GetFocusedOptionNode(nsIDOMNode *aListNode, nsCOMPtr<nsIDOMNode>& aFocusedOptionNode);
};
/*
* Opt Groups inside the select, contained within the list
*/
class nsHTMLSelectOptGroupAccessible : public nsHTMLSelectOptionAccessible
{
public:
nsHTMLSelectOptGroupAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLSelectOptGroupAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/*
* A class the represents the HTML Listbox widget.
*/
class nsHTMLListboxAccessible : public nsListboxAccessible,
public nsIAccessibleSelectable
{
public:
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIACCESSIBLESELECTABLE
nsHTMLListboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLListboxAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
};
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/*
* A class the represents the HTML Combobox widget.
*/
class nsHTMLComboboxAccessible : public nsComboboxAccessible
{
public:
nsHTMLComboboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLComboboxAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
};
/*
* A class the represents the text field in the Select to the left
* of the drop down button
*/
class nsHTMLComboboxTextFieldAccessible : public nsComboboxTextFieldAccessible
{
public:
nsHTMLComboboxTextFieldAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLComboboxTextFieldAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
};
/**
* A class that represents the button inside the Select to the
* right of the text field
*/
class nsHTMLComboboxButtonAccessible : public nsComboboxButtonAccessible
{
public:
nsHTMLComboboxButtonAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLComboboxButtonAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD AccDoAction(PRUint8 index);
};
/*
* A class that represents the window that lives to the right
* of the drop down button inside the Select. This is the window
* that is made visible when the button is pressed.
*/
class nsHTMLComboboxWindowAccessible : public nsComboboxWindowAccessible
{
public:
nsHTMLComboboxWindowAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLComboboxWindowAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
};
#endif

View File

@@ -1,101 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsHTMLTableAccessible.h"
#include "nsWeakReference.h"
#include "nsReadableUtils.h"
#include "nsIDOMElement.h"
nsHTMLTableCellAccessible::nsHTMLTableCellAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsBlockAccessible(aDomNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTableCellAccessible::GetAccRole(PRUint32 *aResult)
{
*aResult = ROLE_CELL;
return NS_OK;
}
NS_IMETHODIMP nsHTMLTableCellAccessible::GetAccState(PRUint32 *aResult)
{
nsAccessible::GetAccState(aResult);
*aResult &= ~STATE_FOCUSABLE; // Inherit all states except focusable state since table cells cannot be focused
return NS_OK;
}
nsHTMLTableAccessible::nsHTMLTableAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsBlockAccessible(aDomNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTableAccessible::GetAccRole(PRUint32 *aResult)
{
*aResult = ROLE_TABLE;
return NS_OK;
}
NS_IMETHODIMP nsHTMLTableAccessible::GetAccState(PRUint32 *aResult)
{
nsAccessible::GetAccState(aResult);
*aResult &= ~STATE_FOCUSABLE; // Inherit all states except focusable state since tables cannot be focused
return NS_OK;
}
NS_IMETHODIMP nsHTMLTableAccessible::GetAccName(nsAString& aResult)
{
aResult.Assign(NS_LITERAL_STRING("")); // Default name is blank
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
if (element) {
nsCOMPtr<nsIDOMNodeList> captions;
element->GetElementsByTagName(NS_LITERAL_STRING("caption"), getter_AddRefs(captions));
if (captions) {
nsCOMPtr<nsIDOMNode> captionNode;
captions->Item(0, getter_AddRefs(captionNode));
if (captionNode) {
nsCOMPtr<nsIContent> captionContent(do_QueryInterface(captionNode));
AppendFlatStringFromSubtree(captionContent, &aResult);
}
}
}
return NS_OK;
}

View File

@@ -1,64 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLTableAccessible_H_
#define _nsHTMLTableAccessible_H_
#include "nsAccessible.h"
#include "nsBaseWidgetAccessible.h"
class nsHTMLTableCellAccessible : public nsBlockAccessible
{
public:
nsHTMLTableCellAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *aResult);
NS_IMETHOD GetAccState(PRUint32 *aResult);
};
class nsHTMLTableAccessible : public nsBlockAccessible
{
public:
nsHTMLTableAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *aResult);
NS_IMETHOD GetAccState(PRUint32 *aResult);
NS_IMETHOD GetAccName(nsAString& aResult);
};
#endif

View File

@@ -1,51 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsHTMLTextAccessible.h"
nsHTMLTextAccessible::nsHTMLTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsTextAccessible(aDomNode, aShell)
{
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccName(nsAString& _retval)
{
return mDOMNode->GetNodeValue(_retval);
}

View File

@@ -1,54 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsHTMLTextAccessible_H_
#define _nsHTMLTextAccessible_H_
#include "nsFormControlAccessible.h"
class nsIWeakReference;
class nsHTMLTextAccessible : public nsTextAccessible
{
public:
nsHTMLTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
};
#endif

View File

@@ -1,34 +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): John Gaunt (jgaunt@netscape.com)
DEPTH = ..\..
include <$(DEPTH)\config\config.mak>
DIRS = \
base \
html \
!ifdef MOZ_XUL
xul \
!endif
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,70 +0,0 @@
#
# 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): John Gaunt (jgaunt@netscape.com)
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
LIBRARY_NAME = accessibility_xul_s
REQUIRES = \
content \
content_xul \
docshell \
dom \
gfx \
gfx2 \
htmlparser \
imglib2 \
intl \
layout \
locale \
necko \
string \
uriloader \
view \
webshell \
widget \
xpcom \
webbrwsr \
$(NULL)
CPPSRCS = \
nsXULColorPickerAccessible.cpp \
nsXULFormControlAccessible.cpp \
nsXULMenuAccessible.cpp \
nsXULSelectAccessible.cpp \
nsXULTabAccessible.cpp \
nsXULTextAccessible.cpp \
$(NULL)
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1
include $(topsrcdir)/config/rules.mk
LOCAL_INCLUDES = \
-I$(srcdir)/../base \
-I$(srcdir)/../html \
$(NULL)

View File

@@ -1,67 +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): John Gaunt (jgaunt@netscape.com)
DEPTH = ..\..\..
MODULE = accessibility
LIBRARY_NAME = accessibility_xul_s
REQUIRES = \
content \
dom \
gfx \
layout \
necko \
string \
widget \
xpcom \
$(NULL)
CPP_OBJS = \
.\$(OBJDIR)\nsXULColorPickerAccessible.obj \
.\$(OBJDIR)\nsXULFormControlAccessible.obj \
.\$(OBJDIR)\nsXULMenuAccessible.obj \
.\$(OBJDIR)\nsXULSelectAccessible.obj \
.\$(OBJDIR)\nsXULTabAccessible.obj \
.\$(OBJDIR)\nsXULTextAccessible.obj \
$(NULL)
EXPORTS = \
$(NULL)
LINCS = \
-I..\base \
-I..\html \
-I..\..\..\layout\html\forms\public \
-I..\..\..\layout\html\forms\src \
-I..\..\..\layout\html\base\src \
$(NULL)
include <$(DEPTH)\config\rules.mak>
libs:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
clobber::
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib

View File

@@ -1,130 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// NOTE: alphabetically ordered
#include "nsXULColorPickerAccessible.h"
#include "nsReadableUtils.h"
#include "nsString.h"
#include "nsXULFormControlAccessible.h"
#include "nsIDOMElement.h"
/**
* XUL Color Picker Tile
*/
/**
* Default Constructor
*/
nsXULColorPickerTileAccessible::nsXULColorPickerTileAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
/**
* We are a pushbutton
*/
NS_IMETHODIMP nsXULColorPickerTileAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
/**
* Possible states: focused, focusable, selected
*/
NS_IMETHODIMP nsXULColorPickerTileAccessible::GetAccState(PRUint32 *_retval)
{
// get focus and disable status from base class
nsFormControlAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
// Focused?
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No XUL Element for colorpicker");
PRBool isFocused = PR_FALSE;
element->HasAttribute(NS_LITERAL_STRING("hover"), &isFocused);
if (isFocused)
*_retval |= STATE_FOCUSED;
PRBool isSelected = PR_FALSE;
element->HasAttribute(NS_LITERAL_STRING("selected"), &isSelected);
if (isFocused)
*_retval |= STATE_SELECTED;
return NS_OK;
}
NS_IMETHODIMP nsXULColorPickerTileAccessible::GetAccName(nsAString& _retval)
{
_retval.Assign(NS_LITERAL_STRING(""));
return NS_OK;
}
NS_IMETHODIMP nsXULColorPickerTileAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No XUL Element for colorpicker");
return element->GetAttribute(NS_LITERAL_STRING("color"), _retval);
}
/**
* XUL Color Picker
*/
/**
* Default Constructor
*/
nsXULColorPickerAccessible::nsXULColorPickerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsXULColorPickerTileAccessible(aNode, aShell)
{
}
/**
* Possible states: focused, focusable, unavailable(disabled)
*/
NS_IMETHODIMP nsXULColorPickerAccessible::GetAccState(PRUint32 *_retval)
{
// get focus and disable status from base class
nsFormControlAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE | STATE_HASPOPUP;
return NS_OK;
}

View File

@@ -1,63 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsXULColorPickerAccessible_H_
#define _nsXULColorPickerAccessible_H_
// NOTE: alphabetically ordered
#include "nsFormControlAccessible.h"
class nsXULColorPickerTileAccessible : public nsFormControlAccessible
{
public:
nsXULColorPickerTileAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
};
class nsXULColorPickerAccessible : public nsXULColorPickerTileAccessible
{
public:
nsXULColorPickerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
#endif

View File

@@ -1,566 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// NOTE: alphabetically ordered
#include "nsIDocument.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMXULButtonElement.h"
#include "nsIDOMXULCheckboxElement.h"
#include "nsIDOMXULDescriptionElement.h"
#include "nsIDOMXULDocument.h"
#include "nsIDOMXULLabelElement.h"
#include "nsIDOMXULMenuListElement.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
#include "nsReadableUtils.h"
#include "nsString.h"
#include "nsXULFormControlAccessible.h"
#include "nsIAccessibilityService.h"
#include "nsIServiceManager.h"
/**
* XUL Button: can contain arbitrary HTML content
*/
/**
* Default Constructor
*/
// Don't inherit from nsFormControlAccessible - it doesn't allow children and a button can have a dropmarker child
nsXULButtonAccessible::nsXULButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell), mAccService(do_GetService("@mozilla.org/accessibilityService;1"))
{
}
NS_IMETHODIMP nsXULButtonAccessible::GetAccName(nsAString& aResult)
{
return GetXULAccName(aResult);
}
/**
* Only one actions available
*/
NS_IMETHODIMP nsXULButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;;
}
/**
* Return the name of our only action
*/
NS_IMETHODIMP nsXULButtonAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("press"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/**
* Tell the button to do it's action
*/
NS_IMETHODIMP nsXULButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) {
nsCOMPtr<nsIDOMXULButtonElement> buttonElement(do_QueryInterface(mDOMNode));
if ( buttonElement )
{
buttonElement->DoCommand();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
/**
* We are a pushbutton
*/
NS_IMETHODIMP nsXULButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
/**
* Possible states: focused, focusable, unavailable(disabled)
*/
NS_IMETHODIMP nsXULButtonAccessible::GetAccState(PRUint32 *_retval)
{
// get focus and disable status from base class
nsAccessible::GetAccState(_retval);
PRBool disabled = PR_FALSE;
nsCOMPtr<nsIDOMXULControlElement> xulFormElement(do_QueryInterface(mDOMNode));
if (xulFormElement) {
xulFormElement->GetDisabled(&disabled);
if (disabled)
*_retval |= STATE_UNAVAILABLE;
else
*_retval |= STATE_FOCUSABLE;
}
// Buttons can be checked -- they simply appear pressed in rather than checked
nsCOMPtr<nsIDOMXULButtonElement> xulButtonElement(do_QueryInterface(mDOMNode));
if (xulButtonElement) {
PRBool checked = PR_FALSE;
PRInt32 checkState = 0;
xulButtonElement->GetChecked(&checked);
if (checked) {
*_retval |= STATE_PRESSED;
xulButtonElement->GetCheckState(&checkState);
if (checkState == nsIDOMXULButtonElement::CHECKSTATE_MIXED)
*_retval |= STATE_MIXED;
}
}
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No nsIDOMElement for button node!");
PRBool isDefault = PR_FALSE;
element->HasAttribute(NS_LITERAL_STRING("default"), &isDefault) ;
if (isDefault)
*_retval |= STATE_DEFAULT;
return NS_OK;
}
/**
* Perhaps 1 child - if there's a <dropmarker>
*/
NS_IMETHODIMP nsXULButtonAccessible::GetAccFirstChild(nsIAccessible **aResult)
{
*aResult = nsnull;
nsCOMPtr<nsIAccessible> testAccessible;
nsAccessible::GetAccLastChild(getter_AddRefs(testAccessible));
// If the anonymous tree walker can find accessible children, and the last one is a push button,
// then use it as the only accessible child -- because this is the scenario where we have a dropmarker child
if (testAccessible) {
PRUint32 role;
if (NS_SUCCEEDED(testAccessible->GetAccRole(&role)) && role == ROLE_PUSHBUTTON) {
*aResult = testAccessible;
NS_ADDREF(*aResult);
}
}
return NS_OK;
}
NS_IMETHODIMP nsXULButtonAccessible::GetAccLastChild(nsIAccessible **aResult)
{
return GetAccFirstChild(aResult);
}
NS_IMETHODIMP nsXULButtonAccessible::GetAccChildCount(PRInt32 *aResult)
{
*aResult = 0;
nsCOMPtr<nsIAccessible> accessible;
GetAccFirstChild(getter_AddRefs(accessible));
if (accessible)
*aResult = 1;
return NS_OK;
}
/**
* XUL Dropmarker: can contain arbitrary HTML content
*/
/**
* Default Constructor
*/
nsXULDropmarkerAccessible::nsXULDropmarkerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
/**
* Only one actions available
*/
NS_IMETHODIMP nsXULDropmarkerAccessible::GetAccNumActions(PRUint8 *aResult)
{
*aResult = eSingle_Action;
return NS_OK;;
}
PRBool nsXULDropmarkerAccessible::DropmarkerOpen(PRBool aToggleOpen)
{
PRBool isOpen = PR_FALSE;
nsCOMPtr<nsIDOMNode> parentButtonNode;
mDOMNode->GetParentNode(getter_AddRefs(parentButtonNode));
nsCOMPtr<nsIDOMXULButtonElement> parentButtonElement(do_QueryInterface(parentButtonNode));
if (parentButtonElement) {
parentButtonElement->GetOpen(&isOpen);
if (aToggleOpen)
parentButtonElement->SetOpen(!isOpen);
}
else {
nsCOMPtr<nsIDOMXULMenuListElement> parentMenuListElement(do_QueryInterface(parentButtonNode));
if (parentMenuListElement) {
parentMenuListElement->GetOpen(&isOpen);
if (aToggleOpen)
parentMenuListElement->SetOpen(!isOpen);
}
}
return isOpen;
}
/**
* Return the name of our only action
*/
NS_IMETHODIMP nsXULDropmarkerAccessible::GetAccActionName(PRUint8 index, nsAString& aResult)
{
if (index == eAction_Click) {
if (DropmarkerOpen(PR_FALSE))
aResult = NS_LITERAL_STRING("close");
else
aResult = NS_LITERAL_STRING("open");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/**
* Tell the Dropmarker to do it's action
*/
NS_IMETHODIMP nsXULDropmarkerAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Click) {
DropmarkerOpen(PR_TRUE); // Reverse the open attribute
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/**
* We are a pushbutton
*/
NS_IMETHODIMP nsXULDropmarkerAccessible::GetAccRole(PRUint32 *aResult)
{
*aResult = ROLE_PUSHBUTTON;
return NS_OK;
}
NS_IMETHODIMP nsXULDropmarkerAccessible::GetAccState(PRUint32 *aResult)
{
*aResult = 0;
if (DropmarkerOpen(PR_FALSE))
*aResult = STATE_PRESSED;
return NS_OK;
}
/**
* XUL checkbox
*/
/**
* Default Constructor
*/
nsXULCheckboxAccessible::nsXULCheckboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsFormControlAccessible(aNode, aShell)
{
}
/**
* We are a CheckButton
*/
NS_IMETHODIMP nsXULCheckboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_CHECKBUTTON;
return NS_OK;
}
/**
* Only one action available
*/
NS_IMETHODIMP nsXULCheckboxAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
/**
* Return the name of our only action
*/
NS_IMETHODIMP nsXULCheckboxAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
// check or uncheck
PRUint32 state;
GetAccState(&state);
if (state & STATE_CHECKED)
_retval = NS_LITERAL_STRING("uncheck");
else
_retval = NS_LITERAL_STRING("check");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/**
* Tell the checkbox to do its only action -- check( or uncheck) itself
*/
NS_IMETHODIMP nsXULCheckboxAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Click) {
PRBool checked = PR_FALSE;
nsCOMPtr<nsIDOMXULCheckboxElement> xulCheckboxElement(do_QueryInterface(mDOMNode));
if (xulCheckboxElement) {
xulCheckboxElement->GetChecked(&checked);
xulCheckboxElement->SetChecked(!checked);
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
/**
* Possible states: focused, focusable, unavailable(disabled), checked
*/
NS_IMETHODIMP nsXULCheckboxAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus and disable status from base class
nsFormControlAccessible::GetAccState(_retval);
// Determine Checked state
nsCOMPtr<nsIDOMXULCheckboxElement> xulCheckboxElement(do_QueryInterface(mDOMNode));
if (xulCheckboxElement) {
PRBool checked = PR_FALSE;
xulCheckboxElement->GetChecked(&checked);
if (checked) {
*_retval |= STATE_CHECKED;
PRInt32 checkState = 0;
xulCheckboxElement->GetCheckState(&checkState);
if (checkState == nsIDOMXULCheckboxElement::CHECKSTATE_MIXED)
*_retval |= STATE_MIXED;
}
}
return NS_OK;
}
/**
* XUL groupbox
*/
nsXULGroupboxAccessible::nsXULGroupboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsXULGroupboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_GROUPING;
return NS_OK;
}
NS_IMETHODIMP nsXULGroupboxAccessible::GetAccState(PRUint32 *_retval)
{
// Groupbox doesn't support any states!
*_retval = 0;
return NS_OK;
}
NS_IMETHODIMP nsXULGroupboxAccessible::GetAccName(nsAString& _retval)
{
_retval.Assign(NS_LITERAL_STRING("")); // Default name is blank
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
if (element) {
nsCOMPtr<nsIDOMNodeList> captions;
element->GetElementsByTagName(NS_LITERAL_STRING("caption"), getter_AddRefs(captions));
if (captions) {
nsCOMPtr<nsIDOMNode> captionNode;
captions->Item(0, getter_AddRefs(captionNode));
if (captionNode) {
element = do_QueryInterface(captionNode);
NS_ASSERTION(element, "No nsIDOMElement for caption node!");
element->GetAttribute(NS_LITERAL_STRING("label"), _retval) ;
}
}
}
return NS_OK;
}
/**
* progressmeter
*/
nsXULProgressMeterAccessible::nsXULProgressMeterAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsXULProgressMeterAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PROGRESSBAR;
return NS_OK;
}
/**
* No states supported for progressmeter
*/
NS_IMETHODIMP nsXULProgressMeterAccessible::GetAccState(PRUint32 *_retval)
{
*_retval =0;
return NS_OK;
}
NS_IMETHODIMP nsXULProgressMeterAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No element for DOM node!");
element->GetAttribute(NS_LITERAL_STRING("value"), _retval);
_retval.Append(NS_LITERAL_STRING("%"));
return NS_OK;
}
/**
* XUL Radio Button
*/
/** Constructor */
nsXULRadioButtonAccessible::nsXULRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsRadioButtonAccessible(aNode, aShell)
{
}
/** Our only action is to click */
NS_IMETHODIMP nsXULRadioButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Click) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> radioButton(do_QueryInterface(mDOMNode));
if (radioButton) {
radioButton->DoCommand();
return NS_OK;
}
}
return NS_ERROR_INVALID_ARG;
}
/** We are Focusable and can be Checked and focused */
NS_IMETHODIMP nsXULRadioButtonAccessible::GetAccState(PRUint32 *_retval)
{
nsFormControlAccessible::GetAccState(_retval);
PRBool selected = PR_FALSE; // Radio buttons can be selected
nsCOMPtr<nsIDOMXULSelectControlItemElement> radioButton(do_QueryInterface(mDOMNode));
if (radioButton)
radioButton->GetSelected(&selected);
if (selected)
*_retval |= STATE_CHECKED;
return NS_OK;
}
/**
* This gets the parent of the RadioGroup (our grandparent) and sets it
* as our parent, for future calls.
*/
NS_IMETHODIMP nsXULRadioButtonAccessible::GetAccParent(nsIAccessible ** aAccParent)
{
if (! mParent) {
nsCOMPtr<nsIAccessible> tempParent;
nsAccessible::GetAccParent(getter_AddRefs(tempParent));
if (tempParent)
tempParent->GetAccParent(getter_AddRefs(mParent));
}
NS_ASSERTION(mParent,"Whoa! This RadioButtonAcc doesn't have a parent! Better find out why.");
*aAccParent = mParent;
NS_ADDREF(*aAccParent);
return NS_OK;
}
/**
* XUL Radio Group
* The Radio Group proxies for the Radio Buttons themselves. The Group gets
* focus whereas the Buttons do not. So we only have an accessible object for
* this for the purpose of getting the proper RadioButton. Need this here to
* avoid circular reference problems when navigating the accessible tree and
* for getting to the radiobuttons.
*/
/** Constructor */
nsXULRadioGroupAccessible::nsXULRadioGroupAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/**
* XUL StatusBar: can contain arbitrary HTML content
*/
/**
* Default Constructor
*/
nsXULStatusBarAccessible::nsXULStatusBarAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/**
* We are a statusbar
*/
NS_IMETHODIMP nsXULStatusBarAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_STATUSBAR;
return NS_OK;
}
NS_IMETHODIMP nsXULStatusBarAccessible::GetAccState(PRUint32 *_retval)
{
*_retval = 0; // no special state flags for status bar
return NS_OK;
}

View File

@@ -1,136 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsXULFormControlAccessible_H_
#define _nsXULFormControlAccessible_H_
// NOTE: alphabetically ordered
#include "nsBaseWidgetAccessible.h"
#include "nsFormControlAccessible.h"
#include "nsHTMLFormControlAccessible.h"
class nsXULButtonAccessible : public nsAccessible
// Don't inherit from nsFormControlAccessible - it doesn't allow children and a button can have a dropmarker child
{
public:
nsXULButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& aResult);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
private:
nsCOMPtr<nsIAccessibilityService> mAccService;
};
class nsXULCheckboxAccessible : public nsFormControlAccessible
{
public:
nsXULCheckboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
class nsXULDropmarkerAccessible : public nsFormControlAccessible
{
public:
nsXULDropmarkerAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
private:
PRBool DropmarkerOpen(PRBool aToggleOpen);
};
class nsXULGroupboxAccessible : public nsAccessible
{
public:
nsXULGroupboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
};
class nsXULProgressMeterAccessible : public nsAccessible
{
public:
nsXULProgressMeterAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString &_retval);
};
class nsXULRadioButtonAccessible : public nsRadioButtonAccessible
{
public:
nsXULRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD AccDoAction(PRUint8 index);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
class nsXULRadioGroupAccessible : public nsAccessible
{
public:
nsXULRadioGroupAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
};
class nsXULStatusBarAccessible : public nsAccessible
{
public:
nsXULStatusBarAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
#endif

View File

@@ -1,264 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsXULMenuAccessible.h"
#include "nsAccessible.h"
#include "nsIAccessible.h"
#include "nsIDOMElement.h"
#include "nsIDOMXULPopupElement.h"
// ------------------------ Menu Item -----------------------------
nsXULMenuitemAccessible::nsXULMenuitemAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccState(PRUint32 *_retval)
{
nsAccessible::GetAccState(_retval);
// Focused?
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No DOM element for menu node!");
PRBool isFocused = PR_FALSE;
element->HasAttribute(NS_LITERAL_STRING("_moz-menuactive"), &isFocused);
if (isFocused)
*_retval |= STATE_FOCUSED;
// Has Popup?
nsAutoString tagName;
element->GetLocalName(tagName);
if (tagName.Equals(NS_LITERAL_STRING("menu")))
*_retval |= STATE_HASPOPUP;
nsAutoString menuItemType;
element->GetAttribute(NS_LITERAL_STRING("type"), menuItemType);
if (!menuItemType.IsEmpty()) {
// Selectable?
if (menuItemType.Equals(NS_LITERAL_STRING("radio")))
*_retval |= STATE_SELECTABLE;
// Checked?
PRBool isChecked = PR_FALSE;
element->HasAttribute(NS_LITERAL_STRING("checked"), &isChecked);
if (isChecked) {
if (*_retval & STATE_SELECTABLE)
*_retval |= STATE_SELECTED; // Use STATE_SELECTED for radio buttons
else *_retval |= STATE_CHECKED;
}
}
// Offscreen?
// If parent or grandparent menuitem is offscreen, then we're offscreen too
// We get it by replacing the current offscreen bit with the parent's
PRUint32 parentState = 0;
nsCOMPtr<nsIAccessible> parentAccessible;
GetAccParent(getter_AddRefs(parentAccessible));
parentAccessible->GetAccState(&parentState);
*_retval &= ~STATE_OFFSCREEN; // clear the old OFFSCREEN bit
*_retval |= (parentState & STATE_OFFSCREEN); // or it with the parent's offscreen bit
return NS_OK;
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No DOM element for menu node!");
element->GetAttribute(NS_LITERAL_STRING("label"), _retval);
return NS_OK;
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_MENUITEM;
return NS_OK;
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccFirstChild(nsIAccessible **aAccFirstChild)
{
*aAccFirstChild = nsnull;
// Last argument of PR_FALSE indicates we don't walk anonymous children for menuitems
nsAccessibleTreeWalker walker(mPresShell, mDOMNode, mSiblingIndex, mSiblingList, PR_FALSE);
if (NS_SUCCEEDED(walker.GetFirstChild())) {
*aAccFirstChild = walker.mState.accessible;
NS_ADDREF(*aAccFirstChild);
}
return NS_OK;
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccLastChild(nsIAccessible **aAccLastChild)
{
*aAccLastChild = nsnull;
// Last argument of PR_FALSE indicates we don't walk anonymous children for menuitems
nsAccessibleTreeWalker walker(mPresShell, mDOMNode, mSiblingIndex, mSiblingList, PR_FALSE);
if (NS_SUCCEEDED(walker.GetLastChild())) {
*aAccLastChild = walker.mState.accessible;
NS_ADDREF(*aAccLastChild);
}
return NS_OK;
}
NS_IMETHODIMP nsXULMenuitemAccessible::GetAccChildCount(PRInt32 *aAccChildCount)
{
// Last argument of PR_FALSE indicates we don't walk anonymous children for menuitems
nsAccessibleTreeWalker walker(mPresShell, mDOMNode, mSiblingIndex, mSiblingList, PR_FALSE);
*aAccChildCount = walker.GetChildCount();
return NS_OK;
}
// ------------------------ Menu Separator ----------------------------
nsXULMenuSeparatorAccessible::nsXULMenuSeparatorAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsXULMenuitemAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULMenuSeparatorAccessible::GetAccState(PRUint32 *_retval)
{
// Isn't focusable, but can be offscreen
nsXULMenuitemAccessible::GetAccState(_retval);
*_retval &= STATE_OFFSCREEN;
return NS_OK;
}
NS_IMETHODIMP nsXULMenuSeparatorAccessible::GetAccName(nsAString& _retval)
{
_retval.Assign(NS_LITERAL_STRING(""));
return NS_OK;
}
NS_IMETHODIMP nsXULMenuSeparatorAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_SEPARATOR;
return NS_OK;
}
// ------------------------ Menu Popup -----------------------------
nsXULMenupopupAccessible::nsXULMenupopupAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell): nsAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULMenupopupAccessible::GetAccState(PRUint32 *_retval)
{
// We are onscreen if our parent is active
*_retval = 0;
PRBool isActive = PR_FALSE;
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
element->HasAttribute(NS_LITERAL_STRING("menuactive"), &isActive);
if (!isActive) {
nsCOMPtr<nsIAccessible> parentAccessible;
nsCOMPtr<nsIDOMNode> parentNode;
GetAccParent(getter_AddRefs(parentAccessible));
if (parentAccessible)
parentAccessible->AccGetDOMNode(getter_AddRefs(parentNode));
element = do_QueryInterface(parentNode);
if (element)
element->HasAttribute(NS_LITERAL_STRING("open"), &isActive);
}
if (!isActive)
*_retval |= STATE_OFFSCREEN;
return NS_OK;
}
NS_IMETHODIMP nsXULMenupopupAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No element for popup node!");
while (element) {
element->GetAttribute(NS_LITERAL_STRING("label"), _retval);
if (!_retval.IsEmpty())
return NS_OK;
nsCOMPtr<nsIDOMNode> parentNode, node(do_QueryInterface(element));
if (!node)
return NS_ERROR_FAILURE;
node->GetParentNode(getter_AddRefs(parentNode));
element = do_QueryInterface(parentNode);
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsXULMenupopupAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_MENUPOPUP;
return NS_OK;
}
// ------------------------ Menu Bar -----------------------------
nsXULMenubarAccessible::nsXULMenubarAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell): nsAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULMenubarAccessible::GetAccState(PRUint32 *_retval)
{
return nsAccessible::GetAccState(_retval);
}
NS_IMETHODIMP nsXULMenubarAccessible::GetAccName(nsAString& _retval)
{
_retval = NS_LITERAL_STRING("menubar");
return NS_OK;
}
NS_IMETHODIMP nsXULMenubarAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_MENUBAR;
return NS_OK;
}

View File

@@ -1,87 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: Aaron Leventhal (aaronl@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsXULMenuAccessible_H_
#define _nsXULMenuAccessible_H_
#include "nsAccessible.h"
/* Accessible for supporting XUL menus
*/
class nsXULMenuitemAccessible : public nsAccessible
{
public:
nsXULMenuitemAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **aAccFirstChild);
NS_IMETHOD GetAccLastChild(nsIAccessible **aAccLastChild);
NS_IMETHOD GetAccChildCount(PRInt32 *aAccChildCount);
};
class nsXULMenuSeparatorAccessible : public nsXULMenuitemAccessible
{
public:
nsXULMenuSeparatorAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
class nsXULMenupopupAccessible : public nsAccessible
{
public:
nsXULMenupopupAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
class nsXULMenubarAccessible : public nsAccessible
{
public:
nsXULMenubarAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
#endif

View File

@@ -1,360 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsCOMPtr.h"
#include "nsXULSelectAccessible.h"
#include "nsIAccessibilityService.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMXULMultSelectCntrlEl.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsIServiceManager.h"
#include "nsLayoutAtoms.h"
/**
* Selects, Listboxes and Comboboxes, are made up of a number of different
* widgets, some of which are shared between the two. This file contains
* all of the widgets for both of the Selects, for XUL only. Some of them
* extend classes from nsSelectAccessible.cpp, which contains base classes
* that are also extended by the XUL Select Accessibility support.
*
* Listbox:
* - nsXULListboxAccessible
* - nsXULSelectListAccessible
* - nsXULSelectOptionAccessible
*
* Comboboxes:
* - nsXULComboboxAccessible
* - nsHTMLTextFieldAccessible (editable) or nsTextAccessible (readonly)
* - nsXULComboboxButtonAccessible
* - nsXULSelectListAccessible
* - nsXULSelectOptionAccessible
*/
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/** ----- nsXULSelectListAccessible ----- */
/** Default Constructor */
nsXULSelectListAccessible::nsXULSelectListAccessible(nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULSelectListAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LIST;
return NS_OK;
}
/**
* As a nsXULSelectListAccessible we can have the following states:
* STATE_MULTISELECTABLE
* STATE_EXTSELECTABLE
*/
NS_IMETHODIMP nsXULSelectListAccessible::GetAccState(PRUint32 *_retval)
{
*_retval = 0;
nsAutoString selectionTypeString;
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode));
NS_ASSERTION(element, "No nsIDOMElement for caption node!");
element->GetAttribute(NS_LITERAL_STRING("seltype"), selectionTypeString) ;
if (selectionTypeString.EqualsIgnoreCase("multiple"))
*_retval |= STATE_MULTISELECTABLE | STATE_EXTSELECTABLE;
return NS_OK;
}
/** ----- nsXULSelectOptionAccessible ----- */
/** Default Constructor */
nsXULSelectOptionAccessible::nsXULSelectOptionAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsXULMenuitemAccessible(aDOMNode, aShell)
{
}
NS_IMETHODIMP nsXULSelectOptionAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LISTITEM;
return NS_OK;
}
/**
* As a nsXULSelectOptionAccessible we can have the following states:
* STATE_SELECTABLE
* STATE_SELECTED
* STATE_FOCUSED
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsXULSelectOptionAccessible::GetAccState(PRUint32 *_retval)
{
nsXULMenuitemAccessible::GetAccState(_retval);
nsCOMPtr<nsIDOMXULSelectControlItemElement> item(do_QueryInterface(mDOMNode));
PRBool isSelected = PR_FALSE;
item->GetSelected(&isSelected);
if (isSelected)
*_retval |= STATE_SELECTED;
return NS_OK;
}
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/** ----- nsXULListboxAccessible ----- */
/** Constructor */
nsXULListboxAccessible::nsXULListboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsListboxAccessible(aDOMNode, aShell)
{
}
/** Inherit the ISupports impl from nsAccessible, we handle nsIAccessibleSelectable */
NS_IMPL_ISUPPORTS_INHERITED1(nsXULListboxAccessible, nsListboxAccessible, nsIAccessibleSelectable)
/**
* Let Accessible count them up
*/
NS_IMETHODIMP nsXULListboxAccessible::GetAccChildCount(PRInt32 *_retval)
{
return nsAccessible::GetAccChildCount(_retval);
}
/**
* As a nsXULListboxAccessible we can have the following states:
* STATE_FOCUSED
* STATE_READONLY
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsXULListboxAccessible::GetAccState(PRUint32 *_retval)
{
// Get focus status from base class
nsListboxAccessible::GetAccState(_retval);
// see if we are multiple select if so set ourselves as such
nsCOMPtr<nsIDOMElement> element (do_QueryInterface(mDOMNode));
if (element) {
nsAutoString selType;
element->GetAttribute(NS_LITERAL_STRING("seltype"), selType);
if (!selType.IsEmpty() && selType.Equals(NS_LITERAL_STRING("multiple")))
*_retval |= STATE_MULTISELECTABLE;
}
*_retval |= STATE_FOCUSABLE ;
return NS_OK;
}
/**
* Our value is the value of our ( first ) selected child. nsIDOMXULSelectElement
* returns this by default with GetValue().
*/
NS_IMETHODIMP nsXULListboxAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMXULSelectControlElement> select(do_QueryInterface(mDOMNode));
if (select) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> selectedItem;
select->GetSelectedItem(getter_AddRefs(selectedItem));
return selectedItem->GetValue(_retval);
}
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsXULListboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LIST;
return NS_OK;
}
/**
* nsIAccessibleSelectable method.
* - gets from the Select DOMNode the list of all Select Options
* - iterates through all of the options looking for selected Options
* - creates IAccessible objects for selected Options
* - Returns the IAccessibles for selected Options in the nsISupportsArray
*
* retval will be nsnull if:
* - there are no Options in the Select Element
* - there are Options but none are selected
* - the DOMNode is not a nsIDOMXULSelectControlElement ( shouldn't happen )
*/
NS_IMETHODIMP nsXULListboxAccessible::GetSelectedChildren(nsISupportsArray **_retval)
{
*_retval = nsnull;
nsCOMPtr<nsIAccessibilityService> accService(do_GetService("@mozilla.org/accessibilityService;1"));
nsCOMPtr<nsISupportsArray> selectedAccessibles;
NS_NewISupportsArray(getter_AddRefs(selectedAccessibles));
if (!selectedAccessibles || !accService)
return NS_ERROR_FAILURE;
nsCOMPtr<nsIDOMNodeList> selectedItems;
nsCOMPtr<nsIDOMXULMultiSelectControlElement> listbox (do_QueryInterface(mDOMNode));
PRInt32 length = 0;
if (listbox) {
listbox->GetSelectedCount(&length);
for ( PRInt32 i = 0 ; i < length ; i++ ) {
nsCOMPtr<nsIAccessible> tempAccessible;
nsCOMPtr<nsIDOMXULSelectControlItemElement> tempNode;
listbox->GetSelectedItem(i, getter_AddRefs(tempNode));
nsCOMPtr<nsIDOMNode> tempDOMNode (do_QueryInterface(tempNode));
accService->CreateXULListitemAccessible(tempDOMNode, getter_AddRefs(tempAccessible));
if (tempAccessible)
selectedAccessibles->AppendElement(tempAccessible);
}
}
PRUint32 uLength = 0;
selectedAccessibles->Count(&uLength);
if ( uLength != 0 ) { // length of nsISupportsArray containing selected options
*_retval = selectedAccessibles;
NS_ADDREF(*_retval);
}
// no options, not a select or none of the options are selected
return NS_OK;
}
/** ----- nsXULListitemAccessible ----- */
/** Constructor */
nsXULListitemAccessible::nsXULListitemAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsXULMenuitemAccessible(aDOMNode, aShell)
{
}
/** Inherit the ISupports impl from nsAccessible, we handle nsIAccessibleSelectable */
NS_IMPL_ISUPPORTS_INHERITED0(nsXULListitemAccessible, nsXULMenuitemAccessible)
/**
* If there is a Listcell as a child ( not anonymous ) use it, otherwise
* default to getting the name from GetXULAccName
*/
NS_IMETHODIMP nsXULListitemAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMNode> child;
if (NS_SUCCEEDED(mDOMNode->GetFirstChild(getter_AddRefs(child)))) {
nsCOMPtr<nsIDOMElement> childElement (do_QueryInterface(child));
if (childElement) {
nsAutoString tagName;
childElement->GetLocalName(tagName);
if (tagName.Equals(NS_LITERAL_STRING("listcell"))) {
childElement->GetAttribute(NS_LITERAL_STRING("label"), _retval);
return NS_OK;
}
}
}
return GetXULAccName(_retval);
}
/**
*
*/
NS_IMETHODIMP nsXULListitemAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LISTITEM;
return NS_OK;
}
/**
*
*/
NS_IMETHODIMP nsXULListitemAccessible::GetAccState(PRUint32 *_retval)
{
// nsAccessible::GetAccState(_retval); // get focused state
nsCOMPtr<nsIDOMXULSelectControlItemElement> listItem (do_QueryInterface(mDOMNode));
if (listItem) {
PRBool isSelected;
listItem->GetSelected(&isSelected);
if (isSelected)
*_retval |= STATE_SELECTED;
nsCOMPtr<nsIDOMNode> domParent;
mDOMNode->GetParentNode(getter_AddRefs(domParent));
nsCOMPtr<nsIDOMXULMultiSelectControlElement> parent(do_QueryInterface(domParent));
if (parent) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> current;
parent->GetCurrentItem(getter_AddRefs(current));
if (listItem == current)
*_retval |= STATE_FOCUSED;
}
*_retval |= STATE_FOCUSABLE | STATE_SELECTABLE;
}
return NS_OK;
}
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/** ----- nsXULComboboxAccessible ----- */
/** Constructor */
nsXULComboboxAccessible::nsXULComboboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsComboboxAccessible(aDOMNode, aShell)
{
}
/**
* Our value is the value of our ( first ) selected child. nsIDOMXULSelectElement
* returns this by default with GetValue().
*/
NS_IMETHODIMP nsXULComboboxAccessible::GetAccValue(nsAString& _retval)
{
nsCOMPtr<nsIDOMXULSelectControlElement> select(do_QueryInterface(mDOMNode));
if (select) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> selectedItem;
select->GetSelectedItem(getter_AddRefs(selectedItem));
return selectedItem->GetValue(_retval);
}
return NS_ERROR_FAILURE;
}

View File

@@ -1,167 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __nsXULSelectAccessible_h__
#define __nsXULSelectAccessible_h__
#include "nsCOMPtr.h"
#include "nsIAccessibleSelectable.h"
#include "nsIDOMNode.h"
#include "nsIWeakReference.h"
#include "nsSelectAccessible.h"
#include "nsXULMenuAccessible.h"
/**
* Selects, Listboxes and Comboboxes, are made up of a number of different
* widgets, some of which are shared between the two. This file contains
* all of the widgets for both of the Selects, for XUL only. Some of them
* extend classes from nsSelectAccessible.cpp, which contains base classes
* that are also extended by the XUL Select Accessibility support.
*
* Listbox:
* - nsXULListboxAccessible
* - nsXULSelectListAccessible
* - nsXULSelectOptionAccessible
*
* Comboboxes:
* - nsXULComboboxAccessible <menulist />
* - nsHTMLTextFieldAccessible
* - nsXULComboboxButtonAccessible
* - nsXULSelectListAccessible <menupopup />
* - nsXULSelectOptionAccessible(s) <menuitem />
*/
/** ------------------------------------------------------ */
/** First, the common widgets */
/** ------------------------------------------------------ */
/*
* The list that contains all the options in the select.
*/
class nsXULSelectListAccessible : public nsAccessible
{
public:
nsXULSelectListAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsXULSelectListAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
/*
* Options inside the select, contained within the list
*/
class nsXULSelectOptionAccessible : public nsXULMenuitemAccessible
{
public:
nsXULSelectOptionAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsXULSelectOptionAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
static nsresult GetFocusedOptionNode(nsIWeakReference *aPresShell, nsIDOMNode *aListNode, nsCOMPtr<nsIDOMNode>& aFocusedOptionNode);
};
/** ------------------------------------------------------ */
/** Secondly, the Listbox widget */
/** ------------------------------------------------------ */
/*
* A class the represents the XUL Listbox widget.
*/
class nsXULListboxAccessible : public nsListboxAccessible,
public nsIAccessibleSelectable
{
public:
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIACCESSIBLESELECTABLE
nsXULListboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsXULListboxAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAString& _retval);
};
/**
* Listitems -- used in listboxes
*/
class nsXULListitemAccessible : public nsXULMenuitemAccessible
{
public:
NS_DECL_ISUPPORTS_INHERITED
nsXULListitemAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsXULListitemAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
/** ------------------------------------------------------ */
/** Finally, the Combobox widgets */
/** ------------------------------------------------------ */
/*
* A class the represents the XUL Combobox widget.
*/
class nsXULComboboxAccessible : public nsComboboxAccessible
{
public:
nsXULComboboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsXULComboboxAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccValue(nsAString& _retval);
};
#endif

View File

@@ -1,211 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// NOTE: alphabetically ordered
#include "nsXULTabAccessible.h"
#include "nsIDOMXULSelectCntrlEl.h"
#include "nsIDOMXULSelectCntrlItemEl.h"
/**
* XUL Tab
*/
/** Constructor */
nsXULTabAccessible::nsXULTabAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsLeafAccessible(aNode, aShell)
{
}
/**
* Might need to use the GetXULAccName method from nsFormControlAcc.cpp
*/
NS_IMETHODIMP nsXULTabAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMXULSelectControlItemElement> tab(do_QueryInterface(mDOMNode));
if (tab)
return GetXULAccName(_retval);
return NS_ERROR_FAILURE;
}
/** Only one action available */
NS_IMETHODIMP nsXULTabAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = eSingle_Action;
return NS_OK;
}
/** Return the name of our only action */
NS_IMETHODIMP nsXULTabAccessible::GetAccActionName(PRUint8 index, nsAString& _retval)
{
if (index == eAction_Click) {
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("switch"), _retval);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/** Tell the tab to do it's action */
NS_IMETHODIMP nsXULTabAccessible::AccDoAction(PRUint8 index)
{
if (index == eAction_Switch) {
nsCOMPtr<nsIDOMXULSelectControlItemElement> tab(do_QueryInterface(mDOMNode));
if ( tab )
{
tab->DoCommand();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_INVALID_ARG;
}
/** We are a tab */
NS_IMETHODIMP nsXULTabAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PAGETAB;
return NS_OK;
}
/**
* Possible states: focused, focusable, unavailable(disabled), offscreen
*/
NS_IMETHODIMP nsXULTabAccessible::GetAccState(PRUint32 *_retval)
{
// get focus and disable status from base class
nsLeafAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
return NS_OK;
}
/**
* XUL TabBox
* to facilitate naming of the tabPanels object we will give this the name
* of the selected tab in the tabs object.
*/
/** Constructor */
nsXULTabBoxAccessible::nsXULTabBoxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/** We are a window*/
NS_IMETHODIMP nsXULTabBoxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_WINDOW;
return NS_OK;
}
/** Possible states: normal */
NS_IMETHODIMP nsXULTabBoxAccessible::GetAccState(PRUint32 *_retval)
{
*_retval = 0;
return NS_OK;
}
/** 2 children, tabs, tabpanels */
NS_IMETHODIMP nsXULTabBoxAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 2;
return NS_OK;
}
/**
* XUL TabPanels
* XXX jgaunt -- this has to report the info for the selected child, reachable through
* the DOMNode. The TabPanels object has as its children the different
* vbox/hbox/whatevers that provide what you look at when you click on
* a tab.
* Here is how this will work: when asked about an object the tabPanels object will find
* out the selected child and create the tabPanel object using the child. That should wrap
* any XUL/HTML content in the child, since it is a simple nsAccessible basically.
* or maybe we just do that on creation. Not use the DOMnode we are given, but cache the selected
* DOMnode and then run from there.
*/
/** Constructor */
nsXULTabPanelsAccessible::nsXULTabPanelsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsAccessible(aNode, aShell)
{
}
/** We are a Property Page */
NS_IMETHODIMP nsXULTabPanelsAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PROPERTYPAGE;
return NS_OK;
}
/**
* Possible values: focused, focusable, unavailable
*/
NS_IMETHODIMP nsXULTabPanelsAccessible::GetAccState(PRUint32 *_retval)
{
// get focus and disable status from base class -- skip container because we have state
nsAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
return NS_OK;
}
/**
* The name for the panel is the name from the tab associated with
* the panel. XXX not sure if the "panels" object should have the
* same name.
*/
NS_IMETHODIMP nsXULTabPanelsAccessible::GetAccName(nsAString& _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/**
* XUL Tabs - the s really stands for strip. this is a collection of tab objects
*/
/** Constructor */
nsXULTabsAccessible::nsXULTabsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsContainerAccessible(aNode, aShell)
{
}
/** We are a Page Tab List */
NS_IMETHODIMP nsXULTabsAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PAGETABLIST;
return NS_OK;
}

View File

@@ -1,99 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsXULTabAccessible_H_
#define _nsXULTabAccessible_H_
// NOTE: alphabetically ordered
#include "nsBaseWidgetAccessible.h"
#include "nsFormControlAccessible.h"
#include "nsHTMLFormControlAccessible.h"
/** An individual tab */
class nsXULTabAccessible : public nsLeafAccessible
{
public:
nsXULTabAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
};
/**
* Contains a tabs object and a tabPanels object. A complete
* entity with relationships between tabs and content to
* be displayed in the tabpanels object
*/
class nsXULTabBoxAccessible : public nsAccessible
{
public:
nsXULTabBoxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
};
/**
* Represents the content area associated with the tabs object (when
* used together)
*/
class nsXULTabPanelsAccessible : public nsAccessible
{
public:
nsXULTabPanelsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccName(nsAString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
protected:
nsCOMPtr<nsIDOMNode> mGParentDOMNode;
nsCOMPtr<nsIDOMNode> mParentDOMNode;
};
/** merely a container of tab obejcts */
class nsXULTabsAccessible : public nsContainerAccessible
{
public:
nsXULTabsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
#endif

View File

@@ -1,62 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// NOTE: alphabetically ordered
#include "nsIDOMXULDescriptionElement.h"
#include "nsWeakReference.h"
#include "nsXULTextAccessible.h"
/**
* For XUL descriptions and labels
*/
nsXULTextAccessible::nsXULTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsTextAccessible(aDomNode, aShell)
{
}
/* wstring getAccName (); */
NS_IMETHODIMP nsXULTextAccessible::GetAccName(nsAString& _retval)
{
nsCOMPtr<nsIDOMXULDescriptionElement> descriptionElement(do_QueryInterface(mDOMNode));
if (descriptionElement) {
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
return AppendFlatStringFromSubtree(content, &_retval);
}
return NS_ERROR_FAILURE;
}

View File

@@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Author: John Gaunt (jgaunt@netscape.com)
*
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _nsXULTextAccessible_H_
#define _nsXULTextAccessible_H_
#include "nsFormControlAccessible.h"
class nsIWeakReference;
class nsXULTextAccessible : public nsTextAccessible
{
public:
nsXULTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAString& _retval);
};
#endif

16
mozilla/aclocal.m4 vendored
View File

@@ -1,16 +0,0 @@
dnl
dnl Local autoconf macros used with mozilla
dnl The contents of this file are under the Public Domain.
dnl
builtin(include, build/autoconf/glib.m4)dnl
builtin(include, build/autoconf/gtk.m4)dnl
builtin(include, build/autoconf/libIDL.m4)dnl
builtin(include, build/autoconf/nspr.m4)dnl
builtin(include, build/autoconf/libart.m4)dnl
builtin(include, build/autoconf/pkg.m4)dnl
builtin(include, build/autoconf/freetype2.m4)dnl
dnl
define(MOZ_TOPSRCDIR,.)dnl MOZ_TOPSRCDIR is used in altoptions.m4
builtin(include, build/autoconf/altoptions.m4)dnl

File diff suppressed because it is too large Load Diff

View File

@@ -1,39 +0,0 @@
#
# 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 Communicator client code,
# released March 31, 1998.
#
# 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@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
ifeq (,$(filter WINNT OS2,$(OS_ARCH)))
DIRS = unix
endif
include $(topsrcdir)/config/rules.mk
# Install bloaturls.txt file for tinderbox Bloaty test.
libs:: bloaturls.txt
$(INSTALL) $< $(DIST)/bin

View File

@@ -1,179 +0,0 @@
#! /usr/bin/env 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) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# acoutput-fast.pl - Quickly create makefiles that are in a common format.
#
# Most of the makefiles in mozilla only refer to two configure variables:
# @srcdir@
# @top_srcdir@
# However, configure does not know any better and it runs sed on each file
# with over 150 replacement rules (slow as molasses).
#
# This script takes a list of makefiles as input. For example,
#
# echo $MAKEFILES | acoutput-fast.pl
#
# The script creates each Makefile that only references @srcdir@ and
# @top_srcdir@. For other files, it lists them in a shell command that is
# printed to stdout:
#
# CONFIG_FILES="unhandled_files..."; export CONFIG_FILES
#
# This command can be used to have config.status create the unhandled
# files. For example,
#
# eval "echo $MAKEFILES | acoutput-fast.pl"
# AC_OUTPUT($MAKEFILES)
#
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
#use File::Basename;
sub dirname {
my $dir = $_[0];
return '.' if not $dir =~ m%/%;
$dir =~ s%/[^/][^/]*$%%;
return $dir;
}
# Create one directory. Assumes it doesn't already exist.
# Will create parent(s) if needed.
sub create_directory {
my $dir = $_[0];
my $parent = dirname($dir);
create_directory($parent) if not -d $parent;
mkdir "$dir",0777;
}
# Create all the directories at once.
# This can be much faster than calling mkdir() for each one.
sub create_directories {
my @makefiles = @_;
my @dirs = ();
my $ac_file;
foreach $ac_file (@makefiles) {
push @dirs, dirname($ac_file);
}
# Call mkdir with the directories sorted by subdir count (how many /'s)
if (@dirs) {
my $mkdir_command = "mkdir -p ". join(' ', @dirs);
if (system($mkdir_command) != 0) {
print STDERR "Creating dirs all at once failed; trying one at atime\n";
foreach $dir (@dirs) {
if (not -d $dir) {
print STDERR "Creating directory $dir\n";
create_directory($dir);
}
}
}
}
}
if ($ARGV[0] =~ /^--srcdir=/) {
$ac_given_srcdir = (split /=/, shift @ARGV)[1];
} else {
$ac_given_srcdir = $0;
$ac_given_srcdir =~ s|/?build/autoconf/.*$||;
$ac_given_srcdir = '.' if $ac_given_srcdir eq '';
}
# Read list of makefiles from the stdin or,
# from files listed on the command-line.
#
@makefiles=();
push @makefiles, split while (<STDIN>);
# Create all the directories at once.
# This can be much faster than calling mkdir() for each one.
create_directories(@makefiles);
# Output the makefiles.
#
@unhandled=();
foreach $ac_file (@makefiles) {
if (not $ac_file =~ /Makefile$/ or $ac_file =~ /:/) {
push @unhandled, $ac_file;
next;
}
$ac_file_in = "$ac_given_srcdir/$ac_file.in";
$ac_dir = dirname($ac_file);
if ($ac_dir eq '.') {
$ac_dir_suffix = '';
$ac_dots = '';
} else {
$ac_dir_suffix = "/$ac_dir";
$ac_dir_suffix =~ s%^/\./%/%;
$ac_dots = $ac_dir_suffix;
$ac_dots =~ s%/[^/]*%../%g;
}
if ($ac_given_srcdir eq '.') {
$srcdir = '.';
if ($ac_dots eq '') {
$top_srcdir = '.'
} else {
$top_srcdir = $ac_dots;
$top_srcdir =~ s%/$%%;
}
} elsif ($ac_given_srcdir =~ m%^/% or $ac_given_srcdir =~ m%^.:/%) {
$srcdir = "$ac_given_srcdir$ac_dir_suffix";
$top_srcdir = "$ac_given_srcdir";
} else {
$srcdir = "$ac_dots$ac_given_srcdir$ac_dir_suffix";
$top_srcdir = "$ac_dots$ac_given_srcdir";
}
if (-e $ac_file) {
next if -M _ < -M $ac_file_in;
print STDERR "updating $ac_file\n";
} else {
print STDERR "creating $ac_file\n";
}
open (INFILE, "<$ac_file_in")
or ( warn "can't read $ac_file_in: No such file or directory\n" and next);
open (OUTFILE, ">$ac_file")
or ( warn "Unable to create $ac_file\n" and next);
while (<INFILE>) {
#if (/\@[_a-zA-Z]*\@.*\@[_a-zA-Z]*\@/) {
# warn "Two defines on a line:$ac_file:$.:$_";
# push @unhandled, $ac_file;
# last;
#}
s/\@srcdir\@/$srcdir/g;
s/\@top_srcdir\@/$top_srcdir/g;
if (/\@[_a-zA-Z]*\@/) {
warn "Unknown variable:$ac_file:$.:$_";
push @unhandled, $ac_file;
last;
}
print OUTFILE;
}
close INFILE;
close OUTFILE;
}
# Print the shell command to be evaluated by configure.
#
print "CONFIG_FILES=\"".join(' ', @unhandled)."\"; export CONFIG_FILES\n";

View File

@@ -1,140 +0,0 @@
dnl The contents of this file are subject to the Netscape Public
dnl License Version 1.1 (the "License"); you may not use this file
dnl except in compliance with the License. You may obtain a copy of
dnl the License at http://www.mozilla.org/NPL/
dnl
dnl Software distributed under the License is distributed on an "AS
dnl IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
dnl implied. See the License for the specific language governing
dnl rights and limitations under the License.
dnl
dnl The Original Code is mozilla.org code.
dnl
dnl The Initial Developer of the Original Code is Netscape
dnl Communications Corporation. Portions created by Netscape are
dnl Copyright (C) 1999 Netscape Communications Corporation. All
dnl Rights Reserved.
dnl
dnl Contributor(s):
dnl
dnl altoptions.m4 - An alternative way of specifying command-line options.
dnl These macros are needed to support a menu-based configurator.
dnl This file also includes the macro, AM_READ_MYCONFIG, for reading
dnl the 'myconfig.m4' file.
dnl Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
dnl MOZ_ARG_ENABLE_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE]])
dnl MOZ_ARG_DISABLE_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE]])
dnl MOZ_ARG_ENABLE_STRING( NAME, HELP, IF-SET [, ELSE])
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING( NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
dnl MOZ_ARG_WITH_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE])
dnl MOZ_ARG_WITHOUT_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE])
dnl MOZ_ARG_WITH_STRING( NAME, HELP, IF-SET [, ELSE])
dnl MOZ_ARG_HEADER(Comment)
dnl MOZ_CHECK_PTHREADS( NAME, IF-YES [, ELSE ])
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
dnl MOZ_TWO_STRING_TEST(NAME, VAL, STR1, IF-STR1, STR2, IF-STR2 [, ELSE])
AC_DEFUN(MOZ_TWO_STRING_TEST,
[if test "[$2]" = "[$3]"; then
ifelse([$4], , :, [$4])
elif test "[$2]" = "[$5]"; then
ifelse([$6], , :, [$6])
else
ifelse([$7], ,
[AC_MSG_ERROR([Option, [$1], does not take an argument ([$2]).])],
[$7])
fi])
dnl MOZ_ARG_ENABLE_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE]])
AC_DEFUN(MOZ_ARG_ENABLE_BOOL,
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], [$enableval], yes, [$3], no, [$4])],
[$5])])
dnl MOZ_ARG_DISABLE_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE]])
AC_DEFUN(MOZ_ARG_DISABLE_BOOL,
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], [$enableval], no, [$3], yes, [$4])],
[$5])])
dnl MOZ_ARG_ENABLE_STRING(NAME, HELP, IF-SET [, ELSE])
AC_DEFUN(MOZ_ARG_ENABLE_STRING,
[AC_ARG_ENABLE([$1], [$2], [$3], [$4])])
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING(NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
AC_DEFUN(MOZ_ARG_ENABLE_BOOL_OR_STRING,
[ifelse([$5], ,
[errprint([Option, $1, needs an "IF-SET" argument.
])
m4exit(1)],
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], [$enableval], yes, [$3], no, [$4], [$5])],
[$6])])])
dnl MOZ_ARG_WITH_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE])
AC_DEFUN(MOZ_ARG_WITH_BOOL,
[AC_ARG_WITH([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], [$withval], yes, [$3], no, [$4])],
[$5])])
dnl MOZ_ARG_WITHOUT_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE])
AC_DEFUN(MOZ_ARG_WITHOUT_BOOL,
[AC_ARG_WITH([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], [$withval], no, [$3], yes, [$4])],
[$5])])
dnl MOZ_ARG_WITH_STRING(NAME, HELP, IF-SET [, ELSE])
AC_DEFUN(MOZ_ARG_WITH_STRING,
[AC_ARG_WITH([$1], [$2], [$3], [$4])])
dnl MOZ_ARG_HEADER(Comment)
dnl This is used by webconfig to group options
define(MOZ_ARG_HEADER, [# $1])
dnl
dnl Apparently, some systems cannot properly check for the pthread
dnl library unless <pthread.h> is included so we need to test
dnl using it
dnl
dnl MOZ_CHECK_PTHREADS(lib, success, failure)
AC_DEFUN(MOZ_CHECK_PTHREADS,
[
AC_MSG_CHECKING([for pthread_create in -l$1])
echo "
#include <pthread.h>
void *foo(void *v) { int a = 1; }
int main() {
pthread_t t;
if (!pthread_create(&t, 0, &foo, 0)) {
pthread_join(t, 0);
}
exit(0);
}" > dummy.c ;
echo "${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -l[$1] $LDFLAGS $LIBS" 1>&5;
${CC-cc} -o dummy${ac_exeext} dummy.c $CFLAGS $CPPFLAGS -l[$1] $LDFLAGS $LIBS 2>&5;
_res=$? ;
rm -f dummy.c dummy${ac_exeext} ;
if test "$_res" = "0"; then
AC_MSG_RESULT([yes])
[$2]
else
AC_MSG_RESULT([no])
[$3]
fi
])
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
AC_DEFUN(MOZ_READ_MOZCONFIG,
[AC_REQUIRE([AC_INIT_BINSH])dnl
# Read in '.mozconfig' script to set the initial options.
# See the mozconfig2configure script for more details.
_AUTOCONF_TOOLS_DIR=`dirname [$]0`/[$1]/build/autoconf
. $_AUTOCONF_TOOLS_DIR/mozconfig2configure])
dnl This gets inserted at the top of the configure script
MOZ_READ_MOZCONFIG(MOZ_TOPSRCDIR)

View File

@@ -1,54 +0,0 @@
#!/bin/sh
#
# 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):
#
# clean-config.sh - Removes all files generated by mozilla configure.
# Only removes files from the topsrcdir. To clean up an objdir,
# simply remove the directory and start over.
#
# Usage:
# 1. cd <topsrcdir>
# 2. build/autoconf/clean-config.sh
#
# Send comments, improvements, bugs to slamm@netscape.com
topsrcdir=`cd \`dirname $0\`/../..; pwd`
if [ ! -f configure.in ]; then
echo "clean-config.sh only cleans the source tree. To run," 2>&1
echo " cd $topsrcdir; build/autoconf/clean-config.sh" 2>&1
echo " (To clean a separate objdir, simple remove the directory.)" 2>&1
exit 1
fi
if [ -f mailnews/makefiles ]; then
MOZ_MAIL_NEWS=1
export MOZ_MAIL_NEWS
fi
. allmakefiles.sh
rm -fr $MAKEFILES \
config-defs.h \
config.cache \
config.log \
config.status \
$NULL

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,137 +0,0 @@
# Configure paths for FreeType2
# Marcelo Magallon 2001-10-26, based on gtk.m4 by Owen Taylor
dnl AM_CHECK_FT2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for FreeType2, and define FT2_CFLAGS and FT2_LIBS
dnl
AC_DEFUN(AC_CHECK_FT2,
[dnl
dnl Get the cflags and libraries from the freetype-config script
dnl
AC_ARG_WITH(freetype-prefix,
[ --with-ft-prefix=PFX Prefix where FreeType is installed (optional)],
ft_config_prefix="$withval", ft_config_prefix="")
AC_ARG_WITH(freetype-exec-prefix,
[ --with-ft-exec-prefix=PFX
Exec prefix where FreeType is installed (optional)],
ft_config_exec_prefix="$withval", ft_config_exec_prefix="")
AC_ARG_ENABLE(freetypetest,
[ --disable-freetypetest
Do not try to compile and run a test FreeType program],
[], enable_fttest=yes)
if test x$ft_config_exec_prefix != x ; then
ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
if test x${FT2_CONFIG+set} != xset ; then
FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config
fi
fi
if test x$ft_config_prefix != x ; then
ft_config_args="$ft_config_args --prefix=$ft_config_prefix"
if test x${FT2_CONFIG+set} != xset ; then
FT2_CONFIG=$ft_config_prefix/bin/freetype-config
fi
fi
AC_PATH_PROG(FT2_CONFIG, freetype-config, no)
min_ft_version=ifelse([$1], ,6.1.0,$1)
AC_MSG_CHECKING(for FreeType - version >= $min_ft_version)
no_ft=""
if test "$FT2_CONFIG" = "no" ; then
no_ft=yes
else
FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
ft_min_major_version=`echo $min_ft_version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
ft_min_minor_version=`echo $min_ft_version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
ft_min_micro_version=`echo $min_ft_version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_fttest" = "xyes" ; then
ft_config_is_lt=no
if test $ft_config_major_version -lt $ft_min_major_version ; then
ft_config_is_lt=yes
else
if test $ft_config_major_version -eq $ft_min_major_version ; then
if test $ft_config_minor_version -lt $ft_min_minor_version ; then
ft_config_is_lt=yes
else
if test $ft_config_minor_version -eq $ft_min_minor_version ; then
if test $ft_config_micro_version -lt $ft_min_micro_version ; then
ft_config_is_lt=yes
fi
fi
fi
fi
fi
if test "x$ft_config_is_lt" = "xyes" ; then
ifelse([$3], , :, [$3])
AC_MSG_RESULT(no)
else
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $FT2_CFLAGS"
LIBS="$FT2_LIBS $LIBS"
dnl
dnl Sanity checks for the results of freetype-config to some extent
dnl
AC_TRY_RUN([
#include <ft2build.h>
#include FT_FREETYPE_H
#include <stdio.h>
#include <stdlib.h>
int
main()
{
FT_Library library;
FT_Error error;
error = FT_Init_FreeType(&library);
if (error)
return 1;
else
{
FT_Done_FreeType(library);
return 0;
}
}
],, no_ft=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi # test $ft_config_version -lt $ft_min_version
fi # test "x$enable_fttest" = "xyes"
fi # test "$FT2_CONFIG" = "no"
if test "x$ft_config_is_lt" != "xyes" ; then
if test "x$no_ft" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$FT2_CONFIG" = "no" ; then
echo "*** The freetype-config script installed by FreeType 2 could not be found."
echo "*** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the FT2_CONFIG environment variable to the"
echo "*** full path to freetype-config."
else
echo "*** The FreeType test program failed to run. If your system uses"
echo "*** shared libraries and they are installed outside the normal"
echo "*** system library path, make sure the variable LD_LIBRARY_PATH"
echo "*** (or whatever is appropiate for your system) is correctly set."
fi
FT2_CFLAGS=""
FT2_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(FT2_CFLAGS)
AC_SUBST(FT2_LIBS)
fi
])

View File

@@ -1,200 +0,0 @@
# Configure paths for GLIB
# Owen Taylor 97-11-3
dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or
dnl gthread is specified in MODULES, pass to glib-config
dnl
AC_DEFUN(AM_PATH_GLIB,
[dnl
dnl Get the cflags and libraries from the glib-config script
dnl
AC_ARG_WITH(glib-prefix,[ --with-glib-prefix=PFX Prefix where GLIB is installed (optional)],
glib_config_prefix="$withval", glib_config_prefix="")
AC_ARG_WITH(glib-exec-prefix,[ --with-glib-exec-prefix=PFX
Exec prefix where GLIB is installed (optional)],
glib_config_exec_prefix="$withval", glib_config_exec_prefix="")
AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and run a test GLIB program],
, enable_glibtest=yes)
if test x$glib_config_exec_prefix != x ; then
glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
if test x${GLIB_CONFIG+set} != xset ; then
GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
fi
fi
if test x$glib_config_prefix != x ; then
glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
if test x${GLIB_CONFIG+set} != xset ; then
GLIB_CONFIG=$glib_config_prefix/bin/glib-config
fi
fi
for module in . $4
do
case "$module" in
gmodule)
glib_config_args="$glib_config_args gmodule"
;;
gthread)
glib_config_args="$glib_config_args gthread"
;;
esac
done
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
unset ac_cv_path_GLIB_CONFIG
AC_PATH_PROG(GLIB_CONFIG, glib-config, no)
min_glib_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
no_glib=""
if test "$GLIB_CONFIG" = "no" ; then
no_glib=yes
else
GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_glibtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GLIB_CFLAGS"
LIBS="$GLIB_LIBS $LIBS"
dnl
dnl Now check if the installed GLIB is sufficiently new. (Also sanity
dnl checks the results of glib-config to some extent
dnl
rm -f conf.glibtest
AC_TRY_RUN([
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.glibtest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_glib_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_glib_version");
exit(1);
}
if ((glib_major_version != $glib_config_major_version) ||
(glib_minor_version != $glib_config_minor_version) ||
(glib_micro_version != $glib_config_micro_version))
{
printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
$glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
glib_major_version, glib_minor_version, glib_micro_version);
printf ("*** was found! If glib-config was correct, then it is best\n");
printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
(glib_minor_version != GLIB_MINOR_VERSION) ||
(glib_micro_version != GLIB_MICRO_VERSION))
{
printf("*** GLIB header files (version %d.%d.%d) do not match\n",
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
glib_major_version, glib_minor_version, glib_micro_version);
}
else
{
if ((glib_major_version > major) ||
((glib_major_version == major) && (glib_minor_version > minor)) ||
((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
glib_major_version, glib_minor_version, glib_micro_version);
printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the glib-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
printf("*** correct copy of glib-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_glib" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$GLIB_CONFIG" = "no" ; then
echo "*** The glib-config script installed by GLIB could not be found"
echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the GLIB_CONFIG environment variable to the"
echo "*** full path to glib-config."
else
if test -f conf.glibtest ; then
:
else
echo "*** Could not run GLIB test program, checking why..."
CFLAGS="$CFLAGS $GLIB_CFLAGS"
LIBS="$LIBS $GLIB_LIBS"
AC_TRY_LINK([
#include <glib.h>
#include <stdio.h>
], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GLIB or finding the wrong"
echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
echo "***"
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
echo "*** came with the system with the command"
echo "***"
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
echo "*** may want to edit the glib-config script: $GLIB_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
GLIB_CFLAGS=""
GLIB_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
rm -f conf.glibtest
])

View File

@@ -1,191 +0,0 @@
# Configure paths for GTK+
# Owen Taylor 97-11-3
# (copy of gtk.m4 (public domain))
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
dnl
AC_DEFUN(AM_PATH_GTK,
[dnl
dnl Get the cflags and libraries from the gtk-config script
dnl
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
gtk_config_prefix="$withval", gtk_config_prefix="")
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX
Exec prefix where GTK is installed (optional)],
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
, enable_gtktest=yes)
if test x$gtk_config_exec_prefix != x ; then
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
fi
fi
if test x$gtk_config_prefix != x ; then
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
fi
fi
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
unset ac_cv_path_GTK_CONFIG
AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
min_gtk_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
no_gtk=""
if test "$GTK_CONFIG" = "no" ; then
no_gtk=yes
else
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_gtktest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
dnl
dnl Now check if the installed GTK is sufficiently new. (Also sanity
dnl checks the results of gtk-config to some extent
dnl
rm -f conf.gtktest
AC_TRY_RUN([
#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.gtktest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_gtk_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gtk_version");
exit(1);
}
if ((gtk_major_version != $gtk_config_major_version) ||
(gtk_minor_version != $gtk_config_minor_version) ||
(gtk_micro_version != $gtk_config_micro_version))
{
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf ("*** was found! If gtk-config was correct, then it is best\n");
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
(gtk_minor_version != GTK_MINOR_VERSION) ||
(gtk_micro_version != GTK_MICRO_VERSION))
{
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
}
#endif /* defined (GTK_MAJOR_VERSION) ... */
else
{
if ((gtk_major_version > major) ||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_gtk" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$GTK_CONFIG" = "no" ; then
echo "*** The gtk-config script installed by GTK could not be found."
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the GTK_CONFIG environment variable to the"
echo "*** full path to gtk-config."
echo "*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk"
else
if test -f conf.gtktest ; then
:
else
echo "*** Could not run GTK test program, checking why..."
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
AC_TRY_LINK([
#include <gtk/gtk.h>
#include <stdio.h>
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GTK or finding the wrong"
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
echo "***"
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
echo "*** came with the system with the command"
echo "***"
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
GTK_CFLAGS=""
GTK_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
rm -f conf.gtktest
])

View File

@@ -1,119 +0,0 @@
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5; it is not part of GNU.
#
# $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $
#
# This script is compatible with the BSD install script, but was written
# from scratch.
#
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
instcmd="$mvprog"
chmodcmd=""
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
fi
if [ x"$dst" = x ]
then
echo "install: no destination specified"
exit 1
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d $dst ]
then
dst="$dst"/`basename $src`
fi
# Make a temp file name in the proper directory.
dstdir=`dirname $dst`
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp
# and set any options; do chmod last to preserve setuid bits
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; fi
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; fi
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; fi
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; fi
# Now rename the file to the real destination.
$doit $rmcmd $dst
$doit $mvcmd $dsttmp $dst
exit 0

View File

@@ -1,198 +0,0 @@
# Configure paths for LIBIDL
dnl AM_PATH_LIBIDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for LIBIDL, and define LIBIDL_CFLAGS and LIBIDL_LIBS
dnl
AC_DEFUN(AM_PATH_LIBIDL,
[dnl
dnl Get the cflags and libraries from the libIDL-config script
dnl
AC_ARG_WITH(libIDL-prefix,[ --with-libIDL-prefix=PFX
Prefix where libIDL is installed (optional)],
libIDL_config_prefix="$withval", libIDL_config_prefix="")
AC_ARG_WITH(libIDL-exec-prefix,[ --with-libIDL-exec-prefix=PFX
Exec prefix where libIDL is installed (optional)],
libIDL_config_exec_prefix="$withval", libIDL_config_exec_prefix="")
AC_ARG_ENABLE(libIDLtest, [ --disable-libIDLtest Do not try to compile and run a test libIDL program],
, enable_libIDLtest=yes)
if test x$libIDL_config_exec_prefix != x ; then
libIDL_config_args="$libIDL_config_args --exec-prefix=$libIDL_config_exec_prefix"
if test x${LIBIDL_CONFIG+set} != xset ; then
LIBIDL_CONFIG=$libIDL_config_exec_prefix/bin/libIDL-config
fi
fi
if test x$libIDL_config_prefix != x ; then
libIDL_config_args="$libIDL_config_args --prefix=$libIDL_config_prefix"
if test x${LIBIDL_CONFIG+set} != xset ; then
LIBIDL_CONFIG=$libIDL_config_prefix/bin/libIDL-config
fi
fi
AM_PATH_GLIB(1.2.0)
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
unset ac_cv_path_LIBIDL_CONFIG
AC_PATH_PROG(LIBIDL_CONFIG, libIDL-config, no)
min_libIDL_version=ifelse([$1], ,0.6.0,$1)
AC_MSG_CHECKING(for libIDL - version >= $min_libIDL_version)
no_libIDL=""
if test "$LIBIDL_CONFIG" = "no" ; then
no_libIDL=yes
else
LIBIDL_CFLAGS=`$LIBIDL_CONFIG $libIDL_config_args --cflags`
LIBIDL_LIBS=`$LIBIDL_CONFIG $libIDL_config_args --libs`
# hack to allow us to keep using libIDL 0.6.3-0.6.7. Anyone may remove
# this after we start requiring libIDL 0.6.8 or anything higher
LIBIDL_CFLAGS="$GLIB_CFLAGS $LIBIDL_CFLAGS"
LIBIDL_LIBS="$GLIB_LIBS $LIBIDL_LIBS"
libIDL_config_major_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
libIDL_config_minor_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
libIDL_config_micro_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_libIDLtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $LIBIDL_CFLAGS"
LIBS="$LIBIDL_LIBS $LIBS"
dnl
dnl Now check if the installed LIBIDL is sufficiently new.
dnl
rm -f conf.libIDLtest
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <libIDL/IDL.h>
int
main ()
{
int major, minor, micro;
int libIDL_major_version;
int libIDL_minor_version;
int libIDL_micro_version;
char *tmp_version;
system ("touch conf.libIDLtest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup ("$min_libIDL_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_libIDL_version");
exit(1);
}
tmp_version = g_strdup (IDL_get_libver_string ());
if (sscanf(tmp_version, "%d.%d.%d",
&libIDL_major_version,
&libIDL_minor_version,
&libIDL_micro_version) != 3) {
printf("%s, bad version string\n", tmp_version);
exit(1);
}
if ((libIDL_major_version != $libIDL_config_major_version) ||
(libIDL_minor_version != $libIDL_config_minor_version) ||
(libIDL_micro_version != $libIDL_config_micro_version))
{
printf("\n*** 'libIDL-config --version' returned %d.%d.%d, but libIDL (%d.%d.%d)\n",
$libIDL_config_major_version, $libIDL_config_minor_version, $libIDL_config_micro_version,
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
printf ("*** was found! If libIDL-config was correct, then it is best\n");
printf ("*** to remove the old version of LIBIDL. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If libIDL-config was wrong, set the environment variable LIBIDL_CONFIG\n");
printf("*** to point to the correct copy of libIDL-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
else if ((libIDL_major_version != LIBIDL_MAJOR_VERSION) ||
(libIDL_minor_version != LIBIDL_MINOR_VERSION) ||
(libIDL_micro_version != LIBIDL_MICRO_VERSION))
{
printf("\n*** libIDL header files (version %d.%d.%d) do not match\n",
LIBIDL_MAJOR_VERSION, LIBIDL_MINOR_VERSION, LIBIDL_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
}
else
{
if ((libIDL_major_version > major) ||
((libIDL_major_version == major) && (libIDL_minor_version > minor)) ||
((libIDL_major_version == major) && (libIDL_minor_version == minor) && (libIDL_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of libIDL (%d.%d.%d) was found.\n",
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
printf("*** You need at least libIDL version %d.%d.%d.\n",
major, minor, micro);
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the libIDL-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of libIDL, but you can also set the LIBIDL_CONFIG environment to point to the\n");
printf("*** correct copy of libIDL-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_libIDL=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_libIDL" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$LIBIDL_CONFIG" = "no" ; then
echo "*** The libIDL-config script installed by libIDL could not be found"
echo "*** If libIDL was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the LIBIDL_CONFIG environment variable to the"
echo "*** full path to libIDL-config."
else
if test -f conf.libIDLtest ; then
:
else
echo "*** Could not run libIDL test program, checking why..."
CFLAGS="$CFLAGS $LIBIDL_CFLAGS"
LIBS="$LIBS $LIBIDL_LIBS"
AC_TRY_LINK([
#include <stdio.h>
#include <stdlib.h>
#include <libIDL/IDL.h>
], [ return IDL_get_libver_string ? 1 : 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding libIDL or finding the wrong"
echo "*** version of LIBIDL. If it is not finding libIDL, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means libIDL was incorrectly installed"
echo "*** or that you have moved libIDL since it was installed. In the latter case, you"
echo "*** may want to edit the libIDL-config script: $LIBIDL_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
LIBIDL_CFLAGS=""
LIBIDL_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(LIBIDL_CFLAGS)
AC_SUBST(LIBIDL_LIBS)
rm -f conf.libIDLtest
])

View File

@@ -1,165 +0,0 @@
# Configure paths for LIBART
# Raph Levien 98-11-18
# stolen from Manish Singh 98-9-30
# stolen back from Frank Belew
# stolen from Manish Singh
# Shamelessly stolen from Owen Taylor
dnl AM_PATH_LIBART([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for LIBART, and define LIBART_CFLAGS and LIBART_LIBS
dnl
AC_DEFUN(AM_PATH_LIBART,
[dnl
dnl Get the cflags and libraries from the libart-config script
dnl
AC_ARG_WITH(libart-prefix,[ --with-libart-prefix=PFX Prefix where LIBART is installed (optional)],
libart_prefix="$withval", libart_prefix="")
AC_ARG_WITH(libart-exec-prefix,[ --with-libart-exec-prefix=PFX Exec prefix where LIBART is installed (optional)],
libart_exec_prefix="$withval", libart_exec_prefix="")
AC_ARG_ENABLE(libarttest, [ --disable-libarttest Do not try to compile and run a test LIBART program],
, enable_libarttest=yes)
if test x$libart_exec_prefix != x ; then
libart_args="$libart_args --exec-prefix=$libart_exec_prefix"
if test x${LIBART_CONFIG+set} != xset ; then
LIBART_CONFIG=$libart_exec_prefix/bin/libart-config
fi
fi
if test x$libart_prefix != x ; then
libart_args="$libart_args --prefix=$libart_prefix"
if test x${LIBART_CONFIG+set} != xset ; then
LIBART_CONFIG=$libart_prefix/bin/libart-config
fi
fi
AC_PATH_PROG(LIBART_CONFIG, libart-config, no)
min_libart_version=ifelse([$1], ,0.2.5,$1)
AC_MSG_CHECKING(for LIBART - version >= $min_libart_version)
no_libart=""
if test "$LIBART_CONFIG" = "no" ; then
no_libart=yes
else
LIBART_CFLAGS=`$LIBART_CONFIG $libartconf_args --cflags`
LIBART_LIBS=`$LIBART_CONFIG $libartconf_args --libs`
libart_major_version=`$LIBART_CONFIG $libart_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
libart_minor_version=`$LIBART_CONFIG $libart_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
libart_micro_version=`$LIBART_CONFIG $libart_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_libarttest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $LIBART_CFLAGS"
LIBS="$LIBS $LIBART_LIBS"
dnl
dnl Now check if the installed LIBART is sufficiently new. (Also sanity
dnl checks the results of libart-config to some extent
dnl
rm -f conf.libarttest
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libart_lgpl/libart.h>
char*
my_strdup (char *str)
{
char *new_str;
if (str)
{
new_str = malloc ((strlen (str) + 1) * sizeof(char));
strcpy (new_str, str);
}
else
new_str = NULL;
return new_str;
}
int main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.libarttest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = my_strdup("$min_libart_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_libart_version");
exit(1);
}
if (($libart_major_version > major) ||
(($libart_major_version == major) && ($libart_minor_version > minor)) ||
(($libart_major_version == major) && ($libart_minor_version == minor) && ($libart_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** 'libart-config --version' returned %d.%d.%d, but the minimum version\n", $libart_major_version, $libart_minor_version, $libart_micro_version);
printf("*** of LIBART required is %d.%d.%d. If libart-config is correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
printf("*** If libart-config was wrong, set the environment variable LIBART_CONFIG\n");
printf("*** to point to the correct copy of libart-config, and remove the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}
}
],, no_libart=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_libart" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$LIBART_CONFIG" = "no" ; then
echo "*** The libart-config script installed by LIBART could not be found"
echo "*** If LIBART was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the LIBART_CONFIG environment variable to the"
echo "*** full path to libart-config."
else
if test -f conf.libarttest ; then
:
else
echo "*** Could not run LIBART test program, checking why..."
CFLAGS="$CFLAGS $LIBART_CFLAGS"
LIBS="$LIBS $LIBART_LIBS"
AC_TRY_LINK([
#include <stdio.h>
#include <libart_lgpl/libart.h>
], [ return 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding LIBART or finding the wrong"
echo "*** version of LIBART. If it is not finding LIBART, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means LIBART was incorrectly installed"
echo "*** or that you have moved LIBART since it was installed. In the latter case, you"
echo "*** may want to edit the libart-config script: $LIBART_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
LIBART_CFLAGS=""
LIBART_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(LIBART_CFLAGS)
AC_SUBST(LIBART_LIBS)
rm -f conf.libarttest
])

View File

@@ -1,280 +0,0 @@
#! /usr/bin/env 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) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# make-makefiles - Quickly create Makefiles for subdirectories.
# Also, creates any needed subdirectories.
#
# usage: make-makefiles [ -t <topsrcdir> -d <depth> ] [ <subdir> | <subdir>/Makefile ] ...
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
#$debug = 1;
# Determine various tree path variables
#
($topsrcdir, $depth, @makefiles) = parse_arguments(@ARGV);
$object_fullpath = `pwd`;
chdir $depth;
$object_root = `pwd`;
chomp $object_fullpath;
chomp $object_root;
# $source_subdir is the path from the object root to where
# 'make-makefile' was called. For example, if make-makefile was
# called from "mozilla/gfx/src", then $source_subdir would be
# "gfx/src/".
$source_subdir = "$object_fullpath/";
my $quoted_object_root = quotemeta($object_root);
$source_subdir =~ s|^$quoted_object_root/||;
# Prefix makefiles with $source_subdir so that paths
# will be relative to the top of the object tree.
#
for $makefile (@makefiles) {
$makefile = "$source_subdir$makefile";
}
create_directories(@makefiles);
# Find the path to the source directory based on how 'make-makefile'
# was invoked. The path is either relative to the object directory
# or an absolute path.
$given_srcdir = find_srcdir($topsrcdir, $depth);
if ($debug) {
warn "object_fullpath = $object_fullpath\n";
warn "object_root = $object_root\n";
warn "source_subdir = $source_subdir\n";
warn "makefiles = @makefiles\n";
warn "given_srcdir = $given_srcdir\n";
}
@unhandled = update_makefiles($given_srcdir, @makefiles);
run_config_status(@unhandled);
# end of Main
############################################################
sub dirname {
return $_[0] =~ /(.*)\/.*/ ? "$1" : '.';
}
# find_depth: Pull the value of DEPTH out of a Makefile (or Makefile.in)
sub find_depth {
my $depth = '';
open(MAKEFILE, "<$_[0]") || die "Unable to open $_[0]: $!\n";
while (<MAKEFILE>) {
next unless /^DEPTH\s*=\s*(\..*)/;
$depth = $1;
last;
}
close MAKEFILE;
return $depth;
}
sub parse_arguments {
my @args = @_;
my $depth = '';
my $topsrcdir = '';
my @makefiles = ();
while (1) {
if ($args[0] eq '-d') {
$depth = $args[1];
shift @args;
shift @args;
} elsif ($args[0] eq '-t') {
$topsrcdir = $args[1];
shift @args;
shift @args;
} else {
last;
}
}
if ($topsrcdir eq '') {
$topsrcdir = $0; # Figure out topsrcdir based on program name.
$topsrcdir =~ s|/?build/autoconf/.*$||;
}
if ($depth eq '') {
# Use $(DEPTH) in the Makefile or Makefile.in to determine the depth
if (-e "Makefile.in") {
$depth = find_depth("Makefile.in");
} elsif (-e "Makefile") {
$depth = find_depth("Makefile");
} elsif (-e "../Makefile") {
$depth = "../".find_depth("../Makefile");
$depth =~ s/\/\.$//;
} else {
warn "Unable to determine depth (e.g. ../..) to root of objdir tree.\n";
die "No Makefile(.in) present. Try running with '-d <depth>'\n";
}
}
# Build the list of makefiles to generate
#
@makefiles = ();
my $makefile;
foreach $makefile (@args) {
$makefile =~ s/\.in$//;
$makefile =~ s/\/$//;
$makefile =~ /Makefile$/ or $makefile .= "/Makefile";
push @makefiles, "$makefile";
}
@makefiles = "Makefile" unless @args;
return ($topsrcdir, $depth, @makefiles);
}
# Create all the directories at once.
# This can be much faster than calling mkdir() for each one.
sub create_directories {
my @makefiles = @_;
my @dirs = ();
my $ac_file;
foreach $ac_file (@makefiles) {
push @dirs, dirname($ac_file);
}
# Call mkdir with the directories sorted by subdir count (how many /'s)
system "mkdir -p ". join(' ', @dirs) if @dirs;
}
# Find the top of the source directory
# (Assuming that the executable is in $top_srcdir/build/autoconf)
sub find_srcdir {
my ($ac_given_srcdir, $depth) = @_;
if ($debug) {
print "ac_given_srcdir = $ac_given_srcdir\n";
print "depth = $depth\n";
}
if ($ac_given_srcdir =~ /^\./ and $depth ne '.') {
my $quoted_depth = quotemeta($depth);
$ac_given_srcdir =~ s|^$quoted_depth/?||;
}
if ($debug) {
print "ac_given_srcdir = $ac_given_srcdir\n";
}
$ac_given_srcdir = '.' if $ac_given_srcdir eq '';
return $ac_given_srcdir;
}
# Output the makefiles.
#
sub update_makefiles {
my ($ac_given_srcdir, @makefiles) = @_;
my @unhandled=();
my $ac_file;
foreach $ac_file (@makefiles) {
my $ac_file_in = "$ac_given_srcdir/${ac_file}.in";
my $ac_dir = dirname($ac_file);
my $ac_dots = '';
my $ac_dir_suffix = '';
my $srcdir = '.';
my $top_srcdir = '.';
# Determine $srcdir and $top_srcdir
#
if ($ac_dir ne '.') {
$ac_dir_suffix = "/$ac_dir";
$ac_dir_suffix =~ s%^/\./%/%;
$ac_dots = $ac_dir_suffix;
$ac_dots =~ s%/[^/]*%../%g;
}
if ($ac_given_srcdir eq '.') {
if ($ac_dots ne '') {
$top_srcdir = $ac_dots;
$top_srcdir =~ s%/$%%;
}
} elsif ($ac_given_srcdir =~ m%^/% or $ac_given_srcdir =~ m%^.:/%) {
$srcdir = "$ac_given_srcdir$ac_dir_suffix";
$top_srcdir = "$ac_given_srcdir";
} else {
$srcdir = "$ac_dots$ac_given_srcdir$ac_dir_suffix";
$top_srcdir = "$ac_dots$ac_given_srcdir";
}
if ($debug) {
print "ac_dir = $ac_dir\n";
print "ac_file = $ac_file\n";
print "ac_file_in = $ac_file_in\n";
print "srcdir = $srcdir\n";
print "top_srcdir = $top_srcdir\n";
print "cwd = " . `pwd` . "\n";
}
# Copy the file and make substitutions.
# @srcdir@ -> value of $srcdir
# @top_srcdir@ -> value of $top_srcdir
#
if (-e $ac_file) {
next if -M _ < -M $ac_file_in; # Next if Makefile is up-to-date.
warn "updating $ac_file\n";
} else {
warn "creating $ac_file\n";
}
open INFILE, "<$ac_file_in" or do {
warn "$0: Cannot read $ac_file_in: No such file or directory\n";
next;
};
open OUTFILE, ">$ac_file" or do {
warn "$0: Unable to create $ac_file\n";
next;
};
while (<INFILE>) {
#if (/\@[_a-zA-Z]*\@.*\@[_a-zA-Z]*\@/) {
# #warn "Two defines on a line:$ac_file:$.:$_";
# push @unhandled, $ac_file;
# last;
#}
s/\@srcdir\@/$srcdir/g;
s/\@top_srcdir\@/$top_srcdir/g;
if (/\@[_a-zA-Z]*\@/) {
#warn "Unknown variable:$ac_file:$.:$_";
push @unhandled, $ac_file;
last;
}
print OUTFILE;
}
close INFILE;
close OUTFILE;
}
return @unhandled;
}
sub run_config_status {
my @unhandled = @_;
# Run config.status with any unhandled files.
#
if (@unhandled) {
$ENV{CONFIG_FILES}= join ' ', @unhandled;
system "./config.status";
}
}

View File

@@ -1,85 +0,0 @@
#!/bin/sh
#
# 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):
#
#
# This script will match a dir with a set of dirs.
#
# Usage: match-dir.sh match [dir1 dir2 ... dirn]
#
# Send comments, improvements, bugs to ramiro@netscape.com
#
if [ -f Makefile ]; then
MAKEFILE="Makefile"
else
if [ -f Makefile.in ]; then
MAKEFILE="Makefile.in"
else
echo
echo "There ain't no 'Makefile' or 'Makefile.in' over here: $pwd, dude."
echo
exit 1
fi
fi
# Use DEPTH in the Makefile.in to determine the depth
depth=`grep -w DEPTH ${MAKEFILE} | grep "\.\." | awk -F"=" '{ print $2; }'`
cwd=`pwd`
# Determine the depth count
n=`echo $depth | tr '/' ' ' | wc -w`
cd $depth
objdir=`pwd`
path=`echo $cwd | sed "s|^${objdir}/||"`
match=$path
for i in $*
do
# echo "Looking for $match in $i"
echo $i | grep -q -x $match
if [ $? -eq 0 ]
then
echo "1"
exit 0
fi
# echo "Looking for $i in $match"
echo $match | grep -q $i
if [ $? -eq 0 ]
then
echo "1"
exit 0
fi
done
echo "0"
exit 0

View File

@@ -1,46 +0,0 @@
#! /bin/sh
#
# 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) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Stephen Lamm <slamm@netscape.com>
#
# mozconfigfind - Loads options from .mozconfig onto configure's
# command-line. The .mozconfig file is searched for in the
# order:
# if $MOZCONFIG is set, use that.
# Otherwise, use $TOPSRCDIR/.mozconfig
# Otherwise, use $HOME/.mozconfig
#
topsrcdir=$1
for _config in $MOZCONFIG \
$MOZ_MYCONFIG \
$topsrcdir/.mozconfig \
$topsrcdir/mozconfig \
$topsrcdir/mozconfig.sh \
$topsrcdir/myconfig.sh \
$HOME/.mozconfig \
$HOME/.mozconfig.sh \
$HOME/.mozmyconfig.sh
do
if test -f $_config; then
echo $_config;
exit 0
fi
done

View File

@@ -1,94 +0,0 @@
#! /bin/sh
#
# 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) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Stephen Lamm <slamm@netscape.com>
#
# mozconfig2client-mk - Translates .mozconfig into options for client.mk.
# Prints defines to stdout.
#
# See mozconfig2configure for more details
print_header() {
_mozconfig=${MOZCONFIG:-$HOME/.mozconfig}
cat >> $tmp_file <<EOF
# gmake
# This file is automatically generated for client.mk.
# Do not edit. Edit $_mozconfig instead.
# To create a new .mozconfig file, you can visit,
# http://webtools.mozilla.org/build/config.cgi
EOF
}
ac_add_options() {
echo "# $* is used by configure (not client.mk)" >> $tmp_file
}
mk_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash,
# and substitute '@<word>@' with '$(<word>)'.
_opt=`echo "$_opt" | sed -e 's/\([\"\\]\)/\\\1/g; s/@\([^@]*\)@/\$(\1)/g;'`
echo $_opt;
opts="${opts:+$opts^}$_opt";
done >> $tmp_file
}
mk_echo_options() {
echo "Adding client.mk options from $MOZCONFIG:"
IFS=^
for _opt in $opts; do
echo " $_opt"
done
}
# Main
#--------------------------------------------------
scriptdir=`dirname $0`
topsrcdir=$1
out_file=$2
tmp_file="$out_file-tmp$$"
opts=""
trap "rm -f $tmp_file; exit 1" 1 2 15
MOZCONFIG=`$scriptdir/mozconfig-find $topsrcdir`
print_header > $tmp_file
# If the path changes, configure should be rerun
echo "# PATH=$PATH" >> $tmp_file
if [ "$MOZCONFIG" ]
then
. $MOZCONFIG
fi
if [ "$opts" ]; then
mk_echo_options
fi
if test -f $out_file && cmp -s $tmp_file $out_file; then
rm $tmp_file
else
mv -f $tmp_file $out_file
fi

View File

@@ -1,70 +0,0 @@
#! /bin/sh
#
# 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) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Stephen Lamm (slamm@netscape.com)
#
# mozconfig2configurator - Translates .mozconfig into options for
# the online configurator,
#
# http://webtools.mozilla.org/build/config.cgi
#
# This is called by the 'webconfig' target of mozilla/client.mk
#
ac_add_options() {
for _opt
do
# Escape special url characters
_opt=`echo $_opt | sed -e 's/%/%25/g;s/ /%20/g;s/&/%26/g;'`
case "$_opt" in
--*-*= ) url="$url$_opt&" ;;
--*-* ) url="$url$_opt=yes&" ;;
esac
done
}
mk_add_options() {
for _opt
do
# Escape special url characters
# Escape special url characters
_opt=`echo $_opt | sed -e 's/%/%25/g;s/ /%20/g;s/&/%26/g;'`
url="$url$_opt&"
done
}
#
# main
#
# find-mozconfig.sh
# In params: $MOZCONFIG $HOME ($MOZ_MYCONFIG)
scriptdir=`dirname $0`
MOZCONFIG=`$scriptdir/mozconfig-find $topsrcdir`
if [ "$MOZCONFIG" ]
then
url="http://webtools.mozilla.org/build/config.cgi?"
. $MOZCONFIG
# Drop the last character of $url
echo `expr "$url" : "\(.*\)."`
fi

View File

@@ -1,99 +0,0 @@
#! /bin/sh
#
# 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) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Stephen Lamm <slamm@netscape.com>
#
# mozconfig2configure - Loads options from .mozconfig onto configure's
# command-line. See find-mozconfig.sh for how the config file is
# found
#
# The options from .mozconfig are inserted into the command-line
# before the real command-line options. This way the real options
# will override any .mozconfig options.
#
# .mozconfig is a shell script. To add an option to configure's
# command-line use the pre-defined function, ac_add_options,
#
# ac_add_options <configure-option> [<configure-option> ... ]
#
# For example,
#
# ac_add_options --with-pthreads --enable-debug
#
# ac_add_options can be called multiple times in .mozconfig.
# Each call adds more options to configure's command-line.
# Note: $_AUTOCONF_TOOLS_DIR must be defined in the script that includes this.
ac_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash.
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;s/@\([^@]*\)@/\$\1/g;'`
_opt=`echo $_opt | sed -e 's/@\([^@]*\)@/\$(\1)/g'`
# Avoid adding duplicates
case "$ac_options" in
*"$_opt"* ) ;;
* ) mozconfig_ac_options="$mozconfig_ac_options $_opt" ;;
esac
done
}
mk_add_options() {
# These options are for client.mk
# configure can safely ignore them.
:
}
ac_echo_options() {
echo "Adding configure options from $MOZCONFIG:"
eval "set -- $mozconfig_ac_options"
for _opt
do
echo " $_opt"
done
}
# Main
#--------------------------------------------------
_topsrcdir=`dirname $0`
ac_options=
mozconfig_ac_options=
# Save the real command-line options
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash.
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;'`
ac_options="$ac_options \"$_opt\""
done
MOZCONFIG=`$_AUTOCONF_TOOLS_DIR/mozconfig-find $_topsrcdir`
if [ "$MOZCONFIG" ]; then
. $MOZCONFIG
fi
if [ "$mozconfig_ac_options" ]; then
ac_echo_options 1>&2
fi
eval "set -- $mozconfig_ac_options $ac_options"

View File

@@ -1,67 +0,0 @@
# -*- tab-width: 4; -*-
# Configure paths for NSPR
# Public domain - Chris Seawood <cls@seawood.org> 2001-04-05
# Based upon gtk.m4 (also PD) by Owen Taylor
dnl AM_PATH_NSPR([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for NSPR, and define NSPR_CFLAGS and NSPR_LIBS
AC_DEFUN(AM_PATH_NSPR,
[dnl
AC_ARG_WITH(nspr-prefix,
[ --with-nspr-prefix=PFX Prefix where NSPR is installed],
nspr_config_prefix="$withval",
nspr_config_prefix="")
AC_ARG_WITH(nspr-exec-prefix,
[ --with-nspr-exec-prefix=PFX
Exec prefix where NSPR is installed],
nspr_config_exec_prefix="$withval",
nspr_config_exec_prefix="")
if test -n "$nspr_config_exec_prefix"; then
nspr_config_args="$nspr_config_args --exec-prefix=$nspr_config_exec_prefix"
if test -z "$NSPR_CONFIG"; then
NSPR_CONFIG=$nspr_config_exec_prefix/bin/nspr-config
fi
fi
if test -n "$nspr_config_prefix"; then
nspr_config_args="$nspr_config_args --prefix=$nspr_config_prefix"
if test -z "$NSPR_CONFIG"; then
NSPR_CONFIG=$nspr_config_prefix/bin/nspr-config
fi
fi
unset ac_cv_path_NSPR_CONFIG
AC_PATH_PROG(NSPR_CONFIG, nspr-config, no)
min_nspr_version=ifelse([$1], ,4.0.0,$1)
AC_MSG_CHECKING(for NSPR - version >= $min_nspr_version (skipping))
no_nspr=""
if test "$NSPR_CONFIG" = "no"; then
no_nspr="yes"
else
NSPR_CFLAGS=`$NSPR_CONFIG $nspr_config_args --cflags`
NSPR_LIBS=`$NSPR_CONFIG $nspr_config_args --libs`
dnl Skip version check for now
nspr_config_major_version=`$NSPR_CONFIG $nspr_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
nspr_config_minor_version=`$NSPR_CONFIG $nspr_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
nspr_config_micro_version=`$NSPR_CONFIG $nspr_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
fi
if test -z "$no_nspr"; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
fi
AC_SUBST(NSPR_CFLAGS)
AC_SUBST(NSPR_LIBS)
])

View File

@@ -1,57 +0,0 @@
dnl This file is Copyright 2001 Red Hat, Inc.
dnl This file is in the public domain.
dnl
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
dnl also defines GSTUFF_PKG_ERRORS on error
AC_DEFUN(PKG_CHECK_MODULES, [
succeeded=no
if test -z "$PKG_CONFIG"; then
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
fi
if test "$PKG_CONFIG" = "no" ; then
echo "*** The pkg-config script could not be found. Make sure it is"
echo "*** in your path, or set the PKG_CONFIG environment variable"
echo "*** to the full path to pkg-config."
else
if ! $PKG_CONFIG --atleast-pkgconfig-version 0.7.0; then
echo "*** Your version of pkg-config is too old. You need version 0.7.0 or newer."
echo "*** See http://www.freedesktop.org/software/pkgconfig"
else
AC_MSG_CHECKING(for $2)
if $PKG_CONFIG --exists "$2" ; then
AC_MSG_RESULT(yes)
succeeded=yes
AC_MSG_CHECKING($1_CFLAGS)
$1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
AC_MSG_RESULT($$1_CFLAGS)
AC_MSG_CHECKING($1_LIBS)
$1_LIBS=`$PKG_CONFIG --libs "$2"`
AC_MSG_RESULT($$1_LIBS)
else
$1_CFLAGS=""
$1_LIBS=""
## If we have a custom action on failure, don't print errors, but
## do set a variable so people can do so.
$1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
ifelse([$4], ,echo $1_PKG_ERRORS,)
fi
AC_SUBST($1_CFLAGS)
AC_SUBST($1_LIBS)
fi
fi
if test $succeeded = yes; then
ifelse([$3], , :, [$3])
else
ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
fi
])

Some files were not shown because too many files have changed in this diff Show More