Compare commits

..

1139 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
569 changed files with 104276 additions and 63956 deletions

View File

@@ -1,353 +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):
* Peter Van der Beken <peterv@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 "nsSyncLoader.h"
#include "nsIDocument.h"
#include "nsIDOMDocument.h"
#include "nsIDOMElement.h"
#include "nsIDOMDOMImplementation.h"
#include "nsIDOMEventReceiver.h"
#include "nsIEventQueueService.h"
#include "nsIPrivateDOMImplementation.h"
#include "nsIScriptSecurityManager.h"
#include "nsLayoutCID.h"
#include "nsNetUtil.h"
static const char* kLoadAsData = "loadAsData";
static NS_DEFINE_CID(kIDOMDOMImplementationCID, NS_DOM_IMPLEMENTATION_CID);
static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
/*
* This class exists to prevent a circular reference between
* the loaded document and the nsSyncloader instance. The
* request owns the document. While the document is loading,
* the request is a load listener, held onto by the document.
* The proxy class breaks the circularity by filling in as the
* load listener and holding a weak reference to the request
* object.
*/
class txLoadListenerProxy : public nsIDOMLoadListener {
public:
txLoadListenerProxy(nsWeakPtr aParent);
virtual ~txLoadListenerProxy();
NS_DECL_ISUPPORTS
// nsIDOMEventListener
NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent);
// nsIDOMLoadListener
NS_IMETHOD Load(nsIDOMEvent* aEvent);
NS_IMETHOD Unload(nsIDOMEvent* aEvent);
NS_IMETHOD Abort(nsIDOMEvent* aEvent);
NS_IMETHOD Error(nsIDOMEvent* aEvent);
protected:
nsWeakPtr mParent;
};
txLoadListenerProxy::txLoadListenerProxy(nsWeakPtr aParent)
{
NS_INIT_ISUPPORTS();
mParent = aParent;
}
txLoadListenerProxy::~txLoadListenerProxy()
{
}
NS_IMPL_ISUPPORTS1(txLoadListenerProxy, nsIDOMLoadListener)
NS_IMETHODIMP
txLoadListenerProxy::HandleEvent(nsIDOMEvent* aEvent)
{
nsCOMPtr<nsIDOMLoadListener> listener = do_QueryReferent(mParent);
if (listener) {
return listener->HandleEvent(aEvent);
}
return NS_OK;
}
NS_IMETHODIMP
txLoadListenerProxy::Load(nsIDOMEvent* aEvent)
{
nsCOMPtr<nsIDOMLoadListener> listener = do_QueryReferent(mParent);
if (listener) {
return listener->Load(aEvent);
}
return NS_OK;
}
NS_IMETHODIMP
txLoadListenerProxy::Unload(nsIDOMEvent* aEvent)
{
nsCOMPtr<nsIDOMLoadListener> listener = do_QueryReferent(mParent);
if (listener) {
return listener->Unload(aEvent);
}
return NS_OK;
}
NS_IMETHODIMP
txLoadListenerProxy::Abort(nsIDOMEvent* aEvent)
{
nsCOMPtr<nsIDOMLoadListener> listener = do_QueryReferent(mParent);
if (listener) {
return listener->Abort(aEvent);
}
return NS_OK;
}
NS_IMETHODIMP
txLoadListenerProxy::Error(nsIDOMEvent* aEvent)
{
nsCOMPtr<nsIDOMLoadListener> listener = do_QueryReferent(mParent);
if (listener) {
return listener->Error(aEvent);
}
return NS_OK;
}
nsSyncLoader::nsSyncLoader()
{
NS_INIT_ISUPPORTS();
}
nsSyncLoader::~nsSyncLoader()
{
if (mLoading && mChannel) {
mChannel->Cancel(NS_BINDING_ABORTED);
}
}
NS_IMPL_ISUPPORTS3(nsSyncLoader, nsISyncLoader, nsIDOMLoadListener, nsISupportsWeakReference)
NS_IMETHODIMP
nsSyncLoader::LoadDocument(nsIURI* documentURI, nsIDocument *aLoader, nsIDOMDocument **_retval)
{
nsresult rv = NS_OK;
nsCOMPtr<nsIURI> loaderURI;
aLoader->GetDocumentURL(getter_AddRefs(loaderURI));
nsCOMPtr<nsIScriptSecurityManager> securityManager =
do_GetService(NS_SCRIPTSECURITYMANAGER_CONTRACTID, &rv);
NS_ENSURE_SUCCESS(rv, rv);
rv = securityManager->CheckLoadURI(loaderURI, documentURI,
nsIScriptSecurityManager::STANDARD);
NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsILoadGroup> loadGroup;
rv = aLoader->GetDocumentLoadGroup(getter_AddRefs(loadGroup));
NS_ENSURE_SUCCESS(rv, rv);
// Get and initialize a DOMImplementation
nsCOMPtr<nsIDOMDOMImplementation> implementation =
do_CreateInstance(kIDOMDOMImplementationCID, &rv);
NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsIPrivateDOMImplementation> privImplementation(do_QueryInterface(implementation, &rv));
NS_ENSURE_SUCCESS(rv, rv);
privImplementation->Init(documentURI);
// Create an empty document from it
nsString emptyStr;
nsCOMPtr<nsIDOMDocument> DOMDocument;
rv = implementation->CreateDocument(emptyStr,
emptyStr,
nsnull,
getter_AddRefs(DOMDocument));
NS_ENSURE_SUCCESS(rv, rv);
rv = NS_NewChannel(getter_AddRefs(mChannel), documentURI, nsnull, loadGroup);
NS_ENSURE_SUCCESS(rv, rv);
// Make sure we've been opened
if (!mChannel) {
return NS_ERROR_NOT_INITIALIZED;
}
// Tell the document to start loading
nsCOMPtr<nsIDocument> document = do_QueryInterface(DOMDocument, &rv);
NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsIEventQueueService> service =
do_GetService(NS_EVENTQUEUESERVICE_CONTRACTID, &rv);
NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsIEventQueue> currentThreadQ;
rv = service->PushThreadEventQueue(getter_AddRefs(currentThreadQ));
NS_ENSURE_SUCCESS(rv, rv);
// Register as a load listener on the document
nsCOMPtr<nsIDOMEventReceiver> target = do_QueryInterface(DOMDocument);
NS_ENSURE_TRUE(target, NS_ERROR_FAILURE);
nsWeakPtr requestWeak = getter_AddRefs(NS_GetWeakReference(NS_STATIC_CAST(nsIDOMLoadListener*, this)));
txLoadListenerProxy* proxy = new txLoadListenerProxy(requestWeak);
if (!proxy) {
service->PopThreadEventQueue(currentThreadQ);
return NS_ERROR_OUT_OF_MEMORY;
}
// This will addref the proxy
rv = target->AddEventListenerByIID(NS_STATIC_CAST(nsIDOMEventListener*,
proxy),
NS_GET_IID(nsIDOMLoadListener));
if (NS_FAILED(rv)) {
service->PopThreadEventQueue(currentThreadQ);
return rv;
}
mLoadSuccess = PR_FALSE;
nsCOMPtr<nsIStreamListener> listener;
rv = document->StartDocumentLoad(kLoadAsData, mChannel,
loadGroup, nsnull,
getter_AddRefs(listener),
PR_FALSE);
if (NS_SUCCEEDED(rv)) {
// Start reading from the channel
rv = mChannel->AsyncOpen(listener, nsnull);
if (NS_SUCCEEDED(rv)) {
mLoading = PR_TRUE;
// process events until we're finished.
PLEvent *event;
while (mLoading && NS_SUCCEEDED(rv)) {
rv = currentThreadQ->WaitForEvent(&event);
NS_ASSERTION(NS_SUCCEEDED(rv), ": currentThreadQ->WaitForEvent failed...\n");
if (NS_SUCCEEDED(rv)) {
rv = currentThreadQ->HandleEvent(event);
NS_ASSERTION(NS_SUCCEEDED(rv), ": currentThreadQ->HandleEvent failed...\n");
}
}
}
}
mChannel = 0;
if (NS_FAILED(rv)) {
service->PopThreadEventQueue(currentThreadQ);
// This will release the proxy
target->RemoveEventListenerByIID(NS_STATIC_CAST(nsIDOMEventListener*,
proxy),
NS_GET_IID(nsIDOMLoadListener));
return rv;
}
// This will release the proxy
rv = target->RemoveEventListenerByIID(NS_STATIC_CAST(nsIDOMEventListener*,
proxy),
NS_GET_IID(nsIDOMLoadListener));
if (NS_FAILED(rv)) {
return rv;
}
nsCOMPtr<nsIDOMElement> documentElement;
DOMDocument->GetDocumentElement(getter_AddRefs(documentElement));
if (mLoadSuccess && documentElement) {
*_retval = DOMDocument;
NS_ADDREF(*_retval);
}
rv = service->PopThreadEventQueue(currentThreadQ);
return rv;
}
// nsIDOMEventListener
nsresult
nsSyncLoader::HandleEvent(nsIDOMEvent* aEvent)
{
return NS_OK;
}
// nsIDOMLoadListener
nsresult
nsSyncLoader::Load(nsIDOMEvent* aEvent)
{
if (mLoading) {
mLoading = PR_FALSE;
mLoadSuccess = PR_TRUE;
}
return NS_OK;
}
nsresult
nsSyncLoader::Unload(nsIDOMEvent* aEvent)
{
return NS_OK;
}
nsresult
nsSyncLoader::Abort(nsIDOMEvent* aEvent)
{
if (mLoading) {
mLoading = PR_FALSE;
}
return NS_OK;
}
nsresult
nsSyncLoader::Error(nsIDOMEvent* aEvent)
{
if (mLoading) {
mLoading = PR_FALSE;
}
return NS_OK;
}

View File

@@ -1,34 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Transformiix XSLT Processor.
#
# The Initial Developer of the Original Code is Axel Hecht.
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
# All Rights Reserved.
#
# Contributor(s):
# Axel Hecht <axel@pike.org>
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = source
ifndef TX_EXE
DIRS += build public
endif
include $(topsrcdir)/config/rules.mk

View File

@@ -1,178 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Transformiix XSLT Processor.
#
# The Initial Developer of the Original Code is Axel Hecht.
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
# All Rights Reserved.
#
# Contributor(s):
# Axel Hecht <axel@pike.org>
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = transformiix
LIBRARY_NAME = transformiix
EXPORT_LIBRARY = 1
ifneq ($(OS_ARCH),WINNT)
SHORT_LIBNAME = t8iix
endif
REQUIRES = xpcom \
string \
dom \
layout \
content \
content_xsl \
widget \
necko \
js \
appshell \
xpconnect \
caps \
locale \
unicharutil \
htmlparser \
webshell \
docshell \
$(NULL)
IS_COMPONENT = 1
MODULE_NAME = TransformiixModule
CPPSRCS = XSLTProcessorModule.cpp
LOBJS =../source/base/ArrayList.$(OBJ_SUFFIX) \
../source/base/Double.$(OBJ_SUFFIX) \
../source/base/List.$(OBJ_SUFFIX) \
../source/base/TxObjectWrapper.$(OBJ_SUFFIX) \
../source/base/Map.$(OBJ_SUFFIX) \
../source/base/NamedMap.$(OBJ_SUFFIX) \
../source/base/SimpleErrorObserver.$(OBJ_SUFFIX) \
../source/base/Stack.$(OBJ_SUFFIX) \
../source/base/StringList.$(OBJ_SUFFIX) \
../source/base/Tokenizer.$(OBJ_SUFFIX) \
../source/base/txAtoms.$(OBJ_SUFFIX) \
../source/base/txExpandedNameMap.$(OBJ_SUFFIX) \
../source/net/URIUtils.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaObjectWrapper.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaAttr.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaCDATASection.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaCharacterData.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaComment.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaDOMImplementation.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaDocument.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaDocumentFragment.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaDocumentType.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaElement.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaEntity.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaEntityReference.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaNamedNodeMap.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaNode.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaNodeList.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaNotation.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaProcInstruction.$(OBJ_SUFFIX) \
../source/xml/dom/mozImpl/MozillaText.$(OBJ_SUFFIX) \
../source/xpath/AdditiveExpr.$(OBJ_SUFFIX) \
../source/xpath/AttributeExpr.$(OBJ_SUFFIX) \
../source/xpath/AttributeValueTemplate.$(OBJ_SUFFIX) \
../source/xpath/BasicNodeExpr.$(OBJ_SUFFIX) \
../source/xpath/BooleanExpr.$(OBJ_SUFFIX) \
../source/xpath/BooleanFunctionCall.$(OBJ_SUFFIX) \
../source/xpath/BooleanResult.$(OBJ_SUFFIX) \
../source/xpath/ElementExpr.$(OBJ_SUFFIX) \
../source/xpath/ErrorFunctionCall.$(OBJ_SUFFIX) \
../source/xpath/Expr.$(OBJ_SUFFIX) \
../source/xpath/ExprLexer.$(OBJ_SUFFIX) \
../source/xpath/ExprLexerChars.$(OBJ_SUFFIX) \
../source/xpath/ExprParser.$(OBJ_SUFFIX) \
../source/xpath/ExtensionFunctionCall.$(OBJ_SUFFIX) \
../source/xpath/FilterExpr.$(OBJ_SUFFIX) \
../source/xpath/FunctionCall.$(OBJ_SUFFIX) \
../source/xpath/LocationStep.$(OBJ_SUFFIX) \
../source/xpath/MultiplicativeExpr.$(OBJ_SUFFIX) \
../source/xpath/NodeSet.$(OBJ_SUFFIX) \
../source/xpath/NodeSetFunctionCall.$(OBJ_SUFFIX) \
../source/xpath/nsXPathEvaluator.$(OBJ_SUFFIX) \
../source/xpath/nsXPathException.$(OBJ_SUFFIX) \
../source/xpath/nsXPathExpression.$(OBJ_SUFFIX) \
../source/xpath/nsXPathNSResolver.$(OBJ_SUFFIX) \
../source/xpath/nsXPathResult.$(OBJ_SUFFIX) \
../source/xpath/NumberExpr.$(OBJ_SUFFIX) \
../source/xpath/NumberFunctionCall.$(OBJ_SUFFIX) \
../source/xpath/NumberResult.$(OBJ_SUFFIX) \
../source/xpath/PathExpr.$(OBJ_SUFFIX) \
../source/xpath/PredicateList.$(OBJ_SUFFIX) \
../source/xpath/RelationalExpr.$(OBJ_SUFFIX) \
../source/xpath/RootExpr.$(OBJ_SUFFIX) \
../source/xpath/StringExpr.$(OBJ_SUFFIX) \
../source/xpath/StringFunctionCall.$(OBJ_SUFFIX) \
../source/xpath/StringResult.$(OBJ_SUFFIX) \
../source/xpath/TextExpr.$(OBJ_SUFFIX) \
../source/xpath/UnionExpr.$(OBJ_SUFFIX) \
../source/xpath/UnaryExpr.$(OBJ_SUFFIX) \
../source/xpath/VariableRefExpr.$(OBJ_SUFFIX) \
../source/xpath/XPathNames.$(OBJ_SUFFIX) \
../source/xml/XMLUtils.$(OBJ_SUFFIX) \
../source/xml/XMLDOMUtils.$(OBJ_SUFFIX) \
../source/xml/parser/XMLParser.$(OBJ_SUFFIX) \
../source/xml/parser/nsSyncLoader.$(OBJ_SUFFIX) \
../source/xslt/txOutputFormat.$(OBJ_SUFFIX) \
../source/xslt/Names.$(OBJ_SUFFIX) \
../source/xslt/Numbering.$(OBJ_SUFFIX) \
../source/xslt/ProcessorState.$(OBJ_SUFFIX) \
../source/xslt/txMozillaTextOutput.$(OBJ_SUFFIX) \
../source/xslt/txMozillaXMLOutput.$(OBJ_SUFFIX) \
../source/xslt/txRtfHandler.$(OBJ_SUFFIX) \
../source/xslt/txTextHandler.$(OBJ_SUFFIX) \
../source/xslt/VariableBinding.$(OBJ_SUFFIX) \
../source/xslt/XSLTProcessor.$(OBJ_SUFFIX) \
../source/xslt/functions/CurrentFunctionCall.$(OBJ_SUFFIX) \
../source/xslt/functions/DocumentFunctionCall.$(OBJ_SUFFIX) \
../source/xslt/functions/ElementAvailableFnCall.$(OBJ_SUFFIX) \
../source/xslt/functions/FunctionAvailableFnCall.$(OBJ_SUFFIX) \
../source/xslt/functions/GenerateIdFunctionCall.$(OBJ_SUFFIX) \
../source/xslt/functions/SystemPropertyFunctionCall.$(OBJ_SUFFIX) \
../source/xslt/functions/txFormatNumberFunctionCall.$(OBJ_SUFFIX) \
../source/xslt/functions/txKeyFunctionCall.$(OBJ_SUFFIX) \
../source/xslt/util/NodeStack.$(OBJ_SUFFIX) \
../source/xslt/util/txNodeSorter.$(OBJ_SUFFIX) \
../source/xslt/util/txXPathResultComparator.$(OBJ_SUFFIX) \
$(NULL)
EXTRA_DSO_LDOPTS += \
$(MOZ_UNICHARUTIL_LIBS) \
$(MOZ_COMPONENT_LIBS) \
$(MOZ_UNICHARUTIL_LIBS) \
$(MOZ_JS_LIBS) \
$(NULL)
include $(topsrcdir)/config/rules.mk
INCLUDES += -I$(srcdir)/../source/xslt -I$(srcdir)/../source/base \
-I$(srcdir)/../source/net \
-I$(srcdir)/../source/xml -I$(srcdir)/../source/xml/dom \
-I$(srcdir)/../source/xml/parser -I$(srcdir)/../source/xpath \
-I$(srcdir)/../source/xslt/util -I$(srcdir)/../source/xslt/functions
_T_VERSION = $(shell date +%Y%m%d%H)
GARBAGE += install.js $(wildcard transformiix*.xpi)
xpi:
$(PERL) $(topsrcdir)/xpinstall/packager/unix/makejs.pl $(srcdir)/transformiix.jst $(_T_VERSION) . install.js
zip transformiix$(_T_VERSION).xpi install.js
cd $(DIST); zip -u ../extensions/transformiix/build/transformiix$(_T_VERSION).xpi bin/components/$(LIB_PREFIX)transformiix.$(LIB_SUFFIX)

View File

@@ -1,253 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Peter Van der Beken are Copyright (C) 2000
* Peter Van der Beken. All Rights Reserved.
*
* Contributor(s):
* Peter Van der Beken, peter.vanderbeken@pandora.be
* -- original author.
*
*/
#include "nsICategoryManager.h"
#include "nsIDOMClassInfo.h"
#include "nsIExceptionService.h"
#include "nsIGenericFactory.h"
#include "nsIScriptNameSpaceManager.h"
#include "nsIServiceManager.h"
#include "nsSyncLoader.h"
#include "nsXPathEvaluator.h"
#include "nsXPathException.h"
#include "nsXPathExpression.h"
#include "nsXPathNSResolver.h"
#include "nsXPathResult.h"
#include "nsXPIDLString.h"
#include "txAtoms.h"
#include "XSLTProcessor.h"
#include "TxLog.h"
#include "nsCRT.h"
/* 1c1a3c01-14f6-11d6-a7f2-ea502af815dc */
#define TRANSFORMIIX_DOMCI_EXTENSION_CID \
{ 0x1c1a3c01, 0x14f6, 0x11d6, {0xa7, 0xf2, 0xea, 0x50, 0x2a, 0xf8, 0x15, 0xdc} }
#define TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID \
"@mozilla.org/transformiix-domci-extender;1"
NS_DOMCI_EXTENSION(Transformiix)
static NS_DEFINE_CID(kXSLTProcessorCID, TRANSFORMIIX_XSLT_PROCESSOR_CID);
NS_DOMCI_EXTENSION_ENTRY_BEGIN(XSLTProcessor)
NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDocumentTransformer)
NS_DOMCI_EXTENSION_ENTRY_END(XSLTProcessor, nsIDocumentTransformer,
PR_FALSE, &kXSLTProcessorCID)
static NS_DEFINE_CID(kXPathEvaluatorCID, TRANSFORMIIX_XPATH_EVALUATOR_CID);
NS_DOMCI_EXTENSION_ENTRY_BEGIN(XPathEvaluator)
NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDOMXPathEvaluator)
NS_DOMCI_EXTENSION_ENTRY_END(XPathEvaluator, nsIDOMXPathEvaluator, PR_TRUE,
&kXPathEvaluatorCID)
NS_DOMCI_EXTENSION_ENTRY_BEGIN(XPathException)
NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDOMXPathException)
NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIException)
NS_DOMCI_EXTENSION_ENTRY_END(XPathException, nsIDOMXPathException, PR_TRUE,
nsnull)
NS_DOMCI_EXTENSION_ENTRY_BEGIN(XPathExpression)
NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDOMXPathExpression)
NS_DOMCI_EXTENSION_ENTRY_END(XPathExpression, nsIDOMXPathExpression,
PR_TRUE, nsnull)
NS_DOMCI_EXTENSION_ENTRY_BEGIN(XPathNSResolver)
NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDOMXPathNSResolver)
NS_DOMCI_EXTENSION_ENTRY_END(XPathNSResolver, nsIDOMXPathNSResolver,
PR_TRUE, nsnull)
NS_DOMCI_EXTENSION_ENTRY_BEGIN(XPathResult)
NS_DOMCI_EXTENSION_ENTRY_INTERFACE(nsIDOMXPathResult)
NS_DOMCI_EXTENSION_ENTRY_END(XPathResult, nsIDOMXPathResult, PR_TRUE,
nsnull)
NS_DOMCI_EXTENSION_END
// Factory Constructor
NS_GENERIC_FACTORY_CONSTRUCTOR(XSLTProcessor)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsXPathEvaluator)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSyncLoader)
NS_DECL_DOM_CLASSINFO(XSLTProcessor)
NS_DECL_DOM_CLASSINFO(XPathEvaluator)
NS_DECL_DOM_CLASSINFO(XPathException)
NS_DECL_DOM_CLASSINFO(XPathExpression)
NS_DECL_DOM_CLASSINFO(XPathNSResolver)
NS_DECL_DOM_CLASSINFO(XPathResult)
static NS_METHOD
RegisterTransformiix(nsIComponentManager *aCompMgr,
nsIFile *aPath,
const char *registryLocation,
const char *componentType,
const nsModuleComponentInfo *info)
{
nsresult rv = NS_OK;
nsCOMPtr<nsICategoryManager> catman =
do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
if (NS_FAILED(rv))
return rv;
nsXPIDLCString previous;
rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
"XSLTProcessor",
TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
PR_TRUE, PR_TRUE, getter_Copies(previous));
NS_ENSURE_SUCCESS(rv, rv);
rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
"XPathEvaluator",
TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
PR_TRUE, PR_TRUE, getter_Copies(previous));
NS_ENSURE_SUCCESS(rv, rv);
rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
"XPathException",
TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
PR_TRUE, PR_TRUE, getter_Copies(previous));
NS_ENSURE_SUCCESS(rv, rv);
rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
"XPathExpression",
TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
PR_TRUE, PR_TRUE, getter_Copies(previous));
NS_ENSURE_SUCCESS(rv, rv);
rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
"XPathNSResolver",
TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
PR_TRUE, PR_TRUE, getter_Copies(previous));
NS_ENSURE_SUCCESS(rv, rv);
rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_CLASS,
"XPathResult",
TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
PR_TRUE, PR_TRUE, getter_Copies(previous));
NS_ENSURE_SUCCESS(rv, rv);
char* iidString = NS_GET_IID(nsIDocumentTransformer).ToString();
if (!iidString)
return NS_ERROR_OUT_OF_MEMORY;
rv = catman->AddCategoryEntry(JAVASCRIPT_DOM_INTERFACE,
"nsIDocumentTransformer",
iidString,
PR_TRUE, PR_TRUE, getter_Copies(previous));
nsCRT::free(iidString);
return rv;
}
TX_LG_IMPL;
static PRBool gInitialized = PR_FALSE;
static nsIExceptionProvider *sXPathExceptionProvider = 0;
// Perform our one-time intialization for this module
PR_STATIC_CALLBACK(nsresult)
Initialize(nsIModule* aSelf)
{
NS_PRECONDITION(!gInitialized, "module already initialized");
if (gInitialized)
return NS_OK;
gInitialized = PR_TRUE;
sXPathExceptionProvider = new nsXPathExceptionProvider();
if (!sXPathExceptionProvider)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(sXPathExceptionProvider);
nsCOMPtr<nsIExceptionService> xs =
do_GetService(NS_EXCEPTIONSERVICE_CONTRACTID);
if (xs)
xs->RegisterExceptionProvider(sXPathExceptionProvider,
NS_ERROR_MODULE_DOM_XPATH);
if (!txXMLAtoms::init())
return NS_ERROR_OUT_OF_MEMORY;
if (!txXPathAtoms::init())
return NS_ERROR_OUT_OF_MEMORY;
if (!txXSLTAtoms::init())
return NS_ERROR_OUT_OF_MEMORY;
if (!txHTMLAtoms::init())
return NS_ERROR_OUT_OF_MEMORY;
TX_LG_CREATE;
return NS_OK;
}
// Shutdown this module, releasing all of the module resources
PR_STATIC_CALLBACK(void)
Shutdown(nsIModule* aSelf)
{
NS_PRECONDITION(gInitialized, "module not initialized");
if (!gInitialized)
return;
gInitialized = PR_FALSE;
if (sXPathExceptionProvider) {
nsCOMPtr<nsIExceptionService> xs =
do_GetService(NS_EXCEPTIONSERVICE_CONTRACTID);
if (xs)
xs->UnregisterExceptionProvider(sXPathExceptionProvider,
NS_ERROR_MODULE_DOM_XPATH);
NS_RELEASE(sXPathExceptionProvider);
}
NS_IF_RELEASE(NS_CLASSINFO_NAME(XSLTProcessor));
NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathEvaluator));
NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathException));
NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathExpression));
NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathNSResolver));
NS_IF_RELEASE(NS_CLASSINFO_NAME(XPathResult));
txXMLAtoms::shutdown();
txXPathAtoms::shutdown();
txXSLTAtoms::shutdown();
txHTMLAtoms::shutdown();
TX_LG_DELETE;
}
// Component Table
static const nsModuleComponentInfo gComponents[] = {
{ "XSLTProcessor",
TRANSFORMIIX_XSLT_PROCESSOR_CID,
TRANSFORMIIX_XSLT_PROCESSOR_CONTRACTID,
XSLTProcessorConstructor,
RegisterTransformiix },
{ "XPathEvaluator",
TRANSFORMIIX_XPATH_EVALUATOR_CID,
NS_XPATH_EVALUATOR_CONTRACTID,
nsXPathEvaluatorConstructor },
{ "Transformiix Synchronous Loader",
TRANSFORMIIX_SYNCLOADER_CID,
TRANSFORMIIX_SYNCLOADER_CONTRACTID,
nsSyncLoaderConstructor },
{ "Transformiix DOMCI Extender",
TRANSFORMIIX_DOMCI_EXTENSION_CID,
TRANSFORMIIX_DOMCI_EXTENSION_CONTRACTID,
NS_DOMCI_EXTENSION_CONSTRUCTOR(Transformiix) }
};
NS_IMPL_NSGETMODULE_WITH_CTOR_DTOR(TransformiixModule, gComponents,
Initialize, Shutdown)

View File

@@ -1,160 +0,0 @@
#!nmake
#
# 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=transformiix
REQUIRES = xpcom \
string \
dom \
widget \
content_xsl \
necko \
content \
xpconnect \
js \
htmlparser \
webshell \
docshell \
$(NULL)
include <$(DEPTH)/config/config.mak>
LIBRARY_NAME=transformiix
MODULE_NAME=TransformiixModule
CPP_OBJS= \
..\source\base\$(OBJDIR)\ArrayList.obj \
..\source\base\$(OBJDIR)\Double.obj \
..\source\base\$(OBJDIR)\List.obj \
..\source\base\$(OBJDIR)\TxObjectWrapper.obj \
..\source\base\$(OBJDIR)\Map.obj \
..\source\base\$(OBJDIR)\NamedMap.obj \
..\source\base\$(OBJDIR)\SimpleErrorObserver.obj \
..\source\base\$(OBJDIR)\Stack.obj \
..\source\base\$(OBJDIR)\StringList.obj \
..\source\base\$(OBJDIR)\Tokenizer.obj \
..\source\base\$(OBJDIR)\txAtoms.obj \
..\source\base\$(OBJDIR)\txExpandedNameMap.obj \
..\source\net\$(OBJDIR)\URIUtils.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaObjectWrapper.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaAttr.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaCDATASection.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaCharacterData.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaComment.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaDOMImplementation.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaDocument.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaDocumentFragment.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaDocumentType.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaElement.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaEntity.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaEntityReference.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaNamedNodeMap.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaNode.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaNodeList.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaNotation.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaProcInstruction.obj \
..\source\xml\dom\mozImpl\$(OBJDIR)\MozillaText.obj \
..\source\xpath\$(OBJDIR)\AdditiveExpr.obj \
..\source\xpath\$(OBJDIR)\AttributeExpr.obj \
..\source\xpath\$(OBJDIR)\AttributeValueTemplate.obj \
..\source\xpath\$(OBJDIR)\BasicNodeExpr.obj \
..\source\xpath\$(OBJDIR)\BooleanExpr.obj \
..\source\xpath\$(OBJDIR)\BooleanFunctionCall.obj \
..\source\xpath\$(OBJDIR)\BooleanResult.obj \
..\source\xpath\$(OBJDIR)\ElementExpr.obj \
..\source\xpath\$(OBJDIR)\ErrorFunctionCall.obj \
..\source\xpath\$(OBJDIR)\Expr.obj \
..\source\xpath\$(OBJDIR)\ExprLexer.obj \
..\source\xpath\$(OBJDIR)\ExprLexerChars.obj \
..\source\xpath\$(OBJDIR)\ExprParser.obj \
..\source\xpath\$(OBJDIR)\ExtensionFunctionCall.obj \
..\source\xpath\$(OBJDIR)\FilterExpr.obj \
..\source\xpath\$(OBJDIR)\FunctionCall.obj \
..\source\xpath\$(OBJDIR)\LocationStep.obj \
..\source\xpath\$(OBJDIR)\MultiplicativeExpr.obj \
..\source\xpath\$(OBJDIR)\NodeSet.obj \
..\source\xpath\$(OBJDIR)\NodeSetFunctionCall.obj \
..\source\xpath\$(OBJDIR)\nsXPathEvaluator.obj \
..\source\xpath\$(OBJDIR)\nsXPathException.obj \
..\source\xpath\$(OBJDIR)\nsXPathExpression.obj \
..\source\xpath\$(OBJDIR)\nsXPathNSResolver.obj \
..\source\xpath\$(OBJDIR)\nsXPathResult.obj \
..\source\xpath\$(OBJDIR)\NumberExpr.obj \
..\source\xpath\$(OBJDIR)\NumberFunctionCall.obj \
..\source\xpath\$(OBJDIR)\NumberResult.obj \
..\source\xpath\$(OBJDIR)\PathExpr.obj \
..\source\xpath\$(OBJDIR)\PredicateList.obj \
..\source\xpath\$(OBJDIR)\RelationalExpr.obj \
..\source\xpath\$(OBJDIR)\RootExpr.obj \
..\source\xpath\$(OBJDIR)\StringExpr.obj \
..\source\xpath\$(OBJDIR)\StringFunctionCall.obj \
..\source\xpath\$(OBJDIR)\StringResult.obj \
..\source\xpath\$(OBJDIR)\TextExpr.obj \
..\source\xpath\$(OBJDIR)\UnionExpr.obj \
..\source\xpath\$(OBJDIR)\UnaryExpr.obj \
..\source\xpath\$(OBJDIR)\VariableRefExpr.obj \
..\source\xpath\$(OBJDIR)\XPathNames.obj \
..\source\xml\$(OBJDIR)\XMLUtils.obj \
..\source\xml\$(OBJDIR)\XMLDOMUtils.obj \
..\source\xml\parser\$(OBJDIR)\nsSyncLoader.obj \
..\source\xml\parser\$(OBJDIR)\XMLParser.obj \
..\source\xslt\$(OBJDIR)\txOutputFormat.obj \
..\source\xslt\$(OBJDIR)\Names.obj \
..\source\xslt\$(OBJDIR)\Numbering.obj \
..\source\xslt\$(OBJDIR)\ProcessorState.obj \
..\source\xslt\$(OBJDIR)\txMozillaTextOutput.obj \
..\source\xslt\$(OBJDIR)\txMozillaXMLOutput.obj \
..\source\xslt\$(OBJDIR)\txRtfHandler.obj \
..\source\xslt\$(OBJDIR)\txTextHandler.obj \
..\source\xslt\$(OBJDIR)\VariableBinding.obj \
..\source\xslt\$(OBJDIR)\XSLTProcessor.obj \
..\source\xslt\functions\$(OBJDIR)\CurrentFunctionCall.obj \
..\source\xslt\functions\$(OBJDIR)\DocumentFunctionCall.obj \
..\source\xslt\functions\$(OBJDIR)\ElementAvailableFnCall.obj \
..\source\xslt\functions\$(OBJDIR)\FunctionAvailableFnCall.obj \
..\source\xslt\functions\$(OBJDIR)\GenerateIdFunctionCall.obj \
..\source\xslt\functions\$(OBJDIR)\SystemPropertyFunctionCall.obj \
..\source\xslt\functions\$(OBJDIR)\txFormatNumberFunctionCall.obj \
..\source\xslt\functions\$(OBJDIR)\txKeyFunctionCall.obj \
..\source\xslt\util\$(OBJDIR)\NodeStack.obj \
..\source\xslt\util\$(OBJDIR)\txNodeSorter.obj \
..\source\xslt\util\$(OBJDIR)\txXPathResultComparator.obj \
.\$(OBJDIR)\XSLTProcessorModule.obj \
$(NULL)
LCFLAGS = \
$(LCFLAGS) \
$(DEFINES) \
$(NULL)
LINCS= -I$(PUBLIC)\xpcom -I..\source\xslt\functions \
-I..\source\xml\dom -I..\source\xml\dom\mozImpl \
-I..\source\xpath -I..\source\xslt\util -I..\source\xml -I..\source\xslt \
-I..\source\base -I..\source\net -I..\source\xml\parser
# These are the libraries we need to link with to create the dll
LLIBS=$(LLIBS) $(LIBNSPR) \
$(DIST)\lib\unicharutil_s.lib \
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\js3250.lib \
$(DIST)\lib\expat.lib
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,30 +0,0 @@
var err = initInstall("Transformiix", "Transformiix", $Version$);
logComment("initInstall: " + err);
var fProgram = getFolder("Program");
logComment("fProgram: " + fProgram);
if (verifyDiskSpace(fProgram, $SpaceRequired$))
{
err = addDirectory("Transformiix",
$Version$,
"bin",
fProgram,
"",
true );
logComment("addDirectory() returned: " + err);
if (err==SUCCESS)
{
err = performInstall();
logComment("performInstall() returned: " + err);
}
else
{
cancelInstall(err);
logComment("cancelInstall() due to error: " + err);
}
}
else
cancelInstall(INSUFFICIENT_DISK_SPACE);

View File

@@ -1,227 +0,0 @@
TransforMiiX (TM)
(C) Copyright 1999, 2000, The MITRE Corporation, Keith Visco, et al. All rights reserved.
Note: The changes listed here mainly reflect the core XSLT processor and
the standalone version.
Build 20000906
-- Fixed UTF8 bug
- reported by Steve Tinney (stinney@sas.upenn.edu)
-- Updated Expat for standalone version
Build 20000725
-- Windows Makefiles are up to date to create Mozilla module
- thanx to Arthur Barrett and Justin Smith
Build 20000722
-- Fixed leading + trailing whitspace when printing comments
- reported by Jeff Bailey
-- Fixed bug in ExprLexer caused by a previous patch
- The prevToken was being set to NULL, in cases when
it shouldn't have been
- discovered when looking for an error reported by
Bernhard Zwischenbrugger
Build 20000618
-- Added changes from Olivier Gerardin for improved
handling of template parameters
Build 20000523
-- Added fix from Marc Schefer regarding OR expressions
- If the left hand expression was false...the right
hand expression was not evaluated (which should
only happen if the expression is an AND expr).
-- Added support for document() function
- implemented by Olivier Gerardin
- The second argument to the function is not yet supported
-- Added support for lang() function
- implemented by Marina Mechtcherikova
-- Fixed bug with doing xsl:copy-of on a document node.
- reported by Olivier Gerardin
Build 20000420
-- Fixed document base issue with transfromiix.cpp (Nathan)
- When an XSLT stylesheet is specified on the command line
the document base was still defaulting to the XML document,
instead of the stylesheet
-- Fixed bug in namespace-uri() function [NodeSetFunctionCall.cpp] - Marina
- If an expression was passed as an argument to the function,
which evaluated to an empty NodeSet, the context node was being
used, which is incorrect. We now just return an empty string.
-- Fixed bug in PathExpr::matches (Marina)
- expressions such as "foo//bar" would not always match
properly if more than one node existed in the final
set of "matching context nodes" (so basically if foo
was not the root element).
Build 20000419
-- Added the generate-id function
-- Added XPath Extension Function support
Build 20000413
-- Added some bug fixes from Marina
-- fixed parsing of multiple predicates
-- added support to handle attribute-set recursion
-- added appropriate calls to handle use-attribute-sets on xsl:copy
Build 20000412
-- Fixed the following Axes names in Names.cpp so that
the are compatible with the XSLT 1.0 recommendation (Marina)
-- FOLLOWING_SIBLING_AXIS - removed the trailing s
-- PRECEDING_SIBLING_AXIS - removed the trailing s
-- Added support for xsl:sort (kvisco)
-- simple sorting is working...documentation to follow
-- Added StringComparator and DefaultStringComparator
-- we need some more comparators for I18N support
-- Did some directory structure changes
- source/xsl is now source/xslt
- source/xsl/expr is now source/xpath
-- Changed xslt/XSLProcessor.* to XSLTProcessor.*
-- Incorporated some changes from Olivier Gerardin for the Expat parser
Build 20000331
-- Fixed a memory leak with translate() function (kvisco)
-- StringFunctionCall.cpp
-- Updated the necessary source files to support the changes to
the String class (kvisco)
-- Overloaded String::toCharArray to automatically create the
character array (tomk)
-- Changed String::toChar to String::toCharArray (tomk)
Build 20000327
-- Fixed "dot" bug in CNAME parsing (ExprLexer.cpp) reported by Nathan Pride
Build 20000326
-- Added Peter Van der Beken's changes to net/URIUtils for integration
within Mozilla
-- Added Marina Mechtcheriakova's changes to xml/parser/XMLParser.cpp to fix
a Unicode bug in ::startElement. Instead of improperly casting char*
as DOM_CHAR*, the proper String constructor, String(char*) is used
Build 20000322
-- Added Unicode bug fix from Lidong
Build 20000318
-- Added Olivier's implementation of the XPath Number functions
-- Added missing prototype to TxString.h (Peter Van der Beken)
Build 20000222
-- Added Attribute parent mapping since DOM 1.0 doesn't support it
-- Added default sorting of NodeSet by DocumentOrder
-- yes this is a hint that xsl:sort is will be available soon
Build 20000218
-- Fixed bug reported by Thiery Le Bouil, xsl:param was getting
processed, and then treated as a literal element
Build 20000217
-- Changed StringList#iterator to return a pointer instead of a reference
-- Added patches from Eric Du for FreeBSD, sorry for the delay in committing these
Build 20000216
-- Fixed bug with using wildcards directly after the parent operator, such as "/*"
-- Fixed bug with PredicateList#isEmpty which was returning the opposite of the
expected value.
-- this also caused default priorities to be incorrectly calculated.
Build 19991110
-- fixed bug with PathExpr and LocationStep with respect
to the ::match method
-- problem reported by Oblix
-- Added support for xsl:include (only file URLs will work)
-- fixed the built-in xsl:apply-templates rule to handle text nodes
-- moved code base to Linux platform for default development environment
Build 19990818
-- Added very simple support for xsl:number
-- Added support for xsl:with-param
-- Added more XPath support
-- added operator precedence
-- added and, or, <,<=,>=,>
Build 19990816
-- Changed focus from 19990709 to 19990813 XSLT Working Draft
-- Made some changes for Borland C compatibility
-- submitted by Stefan Heesch
-- added xsl:copy-of
-- fixed a bug with DOM Element, to allow DocumentFragments as children
Build 19990813
-- added new example: identity.xml/xsl which tests:
-- xsl:copy, node()
-- added comment(), pi(), and node()
-- XMLParser still needs to handle reading in XML comments
-- added xsl:copy
-- added xsl:processing-instruction
-- added xsl:comment
Build 19990812
-- Created base/Double.cpp (primitives.h)
-- Based off some code submitted by Larry Fitzpatrick, changed Name from
FloatPort to Double, I wanted to add more Double related methods
-- changed the NaN() method to just a static double
-- All expr classes now use Double::isNaN() and Double::NaN
-- I added Double::isInfinite, Double::POSITIVE_INFINITY and
Double::NEGATIVE_INFINITY
-- Added base/Integer.cpp back into Makefile
-- added Integer::toString(int,String);
-- changed implementation
-- Moved code to convert from Strings to doubles and from doubles to Strings
into the Double class
-- removed testdom.cpp from xml/dom
-- Added more changes from Larry Fitzpatrick and Michele Lee for
porting issues
-- added appropriate return values for:
-- xml/dom/Element.cpp
-- xml/dom/NodeDefinition.cpp
-- base/StringList.cpp
-- xsl/expr/PredicateList.cpp
-- Added remaining String Function Calls
-- substring(), substring-after(), substring-before(), translate(),
string-length()
Build 19990810
-- Added most of the Whitespace handling
-- Added ErrorObserver interface
-- ErrorObserver is now used throughout most of the code
-- Added SimpleErrorObserver implementation of ErrorObserver
-- Moved main() method from XSLProcessor.cpp to tranformiix.cpp
-- Added the following XPath functions:
-- local-part(), name(), namespace()
-- see functions.xml/functions.xsl for available functions
Build 19990806
-- Incoporated Changes From Larry Fitzpatrick
-- Added more XPath functions
-- last(), count(), string(), contains(), starts-with(), concat()
-- see functions.xml/functions.xsl for available functions
-- Added xsl:text support

View File

@@ -1,376 +0,0 @@
<HTML>
<HEAD>
<TITLE>Transformiix (TM) Contributors</TITLE>
<META name="author" content="Keith Visco">
</HEAD>
<BODY Text="#000000" BGColor="#FFFFFF">
<!-- OUTER TABLE -->
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="640">
<TR>
<TD WIDTH="80"></TD>
<TD WIDTH="560" COLSPAN="2" ALIGN="RIGHT">
<B><FONT SIZE="+2">Transfor<FONT Color="blue">Mii</FONT>X</FONT></B>
<SUP>TM</SUP>
</TD>
</TR>
<TD WIDTH="80"><BR></TD>
<TD WIDTH="560" COLSPAN="2">
<!-- Contents -->
<HR SIZE="1" />
<BR/>
<P>
Much of the original <B>Transfor<FONT Color="blue">Mii</FONT>X</B> code was ported
from <A HREF="http://www.clc-marketing.com/xslp">XSL:P</A>,
an open source XSLT processor. Thanks to all the contributors of
that project. TransforMiiX is now a whole new beast...thanks to all
of the hard work of those listed below.
<P>
<P>
<B>Core Developers</B><P>
The following people have contributed substantial time and
effort to the development.
<TABLE WIDTH="100%" CELLSPACING="1">
<TR BGColor="#EEEEEE"><TH>Name</TH><TH>Contribution</TH><TH>Company</TH></TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A href="mailto:kvisco@ziplink.net">Visco, Keith</a>
</TD>
<TD VALIGN="TOP" WIDTH="300">
Software design, and most of the XSLT implementation and
base classes implementation.
</TD>
<TD VALIGN="TOP">
<A HREF="http://www.exoffice.com">Exoffice Technologies</A>
<P>
<FONT SIZE="-1">Formerly with The MITRE Corporation</FONT>.
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A href="mailto:tomk@mitre.org">Kneeland, Tom</a>
</TD>
<TD>
Software design, DOM Implementation. Handled the initial
Mozilla integration and wrapper classes,
String and String wrapper classes.
</TD>
<TD VALIGN="TOP">
<A HREF="http://www.mitre.org">The MITRE Corporation</A>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:peter.vanderbeken@pandora.be">Van der Beken, Peter</A>
</TD>
<TD VALING="TOP" WIDTH="300">
Leading the Transformiix/Mozilla integration,
and Macintosh porting issues. Without Peter...we'd be doomed! :-)
</TD>
<TD VALIGN="TOP">
<BR>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:axel@pike.org">Hecht, Axel</A> (AKA - Pike)
</TD>
<TD WIDTH="300">
Build issues...configure, Make, etc. Solaris porting issues.
All nasty comments on regarding make files should now be directed to Pike!
</TD>
<TD VALIGN="TOP">
<BR>
</TD>
</TR>
</TABLE>
</P>
<P>
<P>
<B>Additional Developers</B><P>
The following people have contributed to the development.
<BR>(appearing in alphabetical order)
<TABLE WIDTH="100%" CELLSPACING="1">
<TR BGColor="#EEEEEE"><TH>Name</TH><TH>Contribution</TH><TH>Company</TH></TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:arthur.barrett@march-hare.com">Barrett, Arthur</A>
</TD>
<TD WIDTH="300">
Working on Windows makefiles.
</TD>
<TD VALIGN="TOP">
<BR>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:bbrown@solana.com">Brown, William Lewis</A>
</TD>
<TD WIDTH="300">
Working with Marina on XSLT 1.0 conformity issues.
</TD>
<TD VALIGN="TOP">
<BR>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:duxy@leyou.com.cn">Du, Eric</A>
</TD>
<TD WIDTH="300">
FreeBSD floating point porting issues
</TD>
<TD VALIGN="TOP">
<BR>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:lef@opentext.com">Fitzpatrick, Larry</A>
</TD>
<TD WIDTH="300">
Larry was the first contributor to the project. He sent
a number of C++ porting issues with Visual C++,
and has influenced some of the early design.
</TD>
<TD VALIGN="TOP">
<A HREF="http://www.opentext.com">OpenText</A>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:ogerardin@vo.lu">Gerardin, Olivier</A>
</TD>
<TD WIDTH="300">
Implemented the XPath Number functions, the document()
function, as well as some other changes/improvements.
<FONT SIZE="-1">
(see <A HREF="changes.txt">changes.txt</A> for more info)
</FONT>
</TD>
<TD VALIGN="TOP">
<A HREF="http://www.digitalwave.lu">DigitalWave</A>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:rguarino@wavo.com">Guarino, Bobbi</A>
</TD>
<TD WIDTH="300">
Solaris porting issues
</TD>
<TD VALIGN="TOP">
<A HREF="http://www.wavo.com">Wavo Corporation</A>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:Heesch@t-online.de">Heesch, Stefan</A>
</TD>
<TD WIDTH="300">
C++ porting issues with Borland C
</TD>
<TD VALIGN="TOP">
<BR><A HREF=""></A>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:joe@pwd.hp.com">Kuan, Joseph</A>
</TD>
<TD WIDTH="300">
Sent changes for getting TransforMiiX to build on HPUX, SUNOS and AIX.
<I>I still need to add these into the CVS.</I>
</TD>
<TD VALIGN="TOP">
<A HREF="http://www.hp.com">Hewlett-Packard</A>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:mclee@oblix.com">Lee, Michele</A>
</TD>
<TD WIDTH="300">
C++ porting issues, bug reports
</TD>
<TD VALIGN="TOP">
<A HREF="http://www.oblix.com">Oblix</A>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:lidong@leyou.com.cn">Lidong</A>
</TD>
<TD WIDTH="300">
Some Unicode bug fixes
</TD>
<TD VALIGN="TOP">
<A HREF="http://www.leyou.com">Leyou.com</A>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:mmarina@mindspring.com">Mechtcheriakova, Marina</A>
</TD>
<TD WIDTH="300">
Contributed a number of bug fixes, as well as handling
some conformity issues.
</TD>
<TD VALIGN="TOP">
<BR>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:kbob@oblix.com">Miller, Bob</A>
</TD>
<TD WIDTH="300">
A number of bug fixes, C++ porting issues
</TD>
<TD VALIGN="TOP">
<A HREF="http://www.oblix.com">Oblix</A>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:andreas.otte@primus-online.de">Otte, Andreas</A>
</TD>
<TD WIDTH="300">
Helping Axel with build issues...configure, make files, etc.
</TD>
<TD VALIGN="TOP">
<BR>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:npride@wavo.com">Pride, Nathan</A>
</TD>
<TD WIDTH="300">
Solaris porting issues, some general bug fixes
</TD>
<TD VALIGN="TOP">
<A HREF="http://www.wavo.com">Wavo Corporation</A>
</TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD VALIGN="TOP">
<A HREF="mailto:jjs@acis.com.au">Smith, Justin</A>
</TD>
<TD WIDTH="300">
Working on Windows Makefiles.
</TD>
<TD VALIGN="TOP">
<BR>
</TD>
</TR>
</TABLE>
<P><B>Testing/Feedback (Suggestions/Bug Reports)</B><P>
The following people have used TransforMiiX and provided feedback that has been
beneficial to the development.
<BR>(appearing in alphabetical order)
<TABLE BORDER="0" WIDTH="100%">
<TR BGColor="#EEEEEE"><TD><B>Name</B></TD><TD><B>Company</B></TD></TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD><A HREF="mailto:jbailey@nisa.net">Bailey, Jeff</A></TD>
<TD><BR></TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD><A HREF="mailto:bbrown@solana.com">Brown, William Lewis</A></TD>
<TD><BR></TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD><A HREF="mailto:tlebouil@lucent.com">Le Bouil, Thierry</A></TD>
<TD><A HREF="http://www.lucent.com">Lucent Technologies, Inc.</A></TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD><A HREF="mailto:schefer@xo3.com">Schefer, Marc</A></TD>
<TD><BR></TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD><A HREF="mailto:stinney@sas.upenn.edu">Tinney, Steve</A></TD>
<TD><A HREF="http://www.upenn.com">University of Pennsylvania</A></TD>
<!-- Comments: UTF8 bug report -->
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD><A HREF="mailto:jiwei.wang@saraide.com">Wang, Jiwei</A></TD>
<TD><BR></TD>
</TR>
<!-- Entry -->
<TR BGColor="#EEEEEE">
<TD>
<A HREF="mailto:bzwische@email.archlab.tuwien.ac.at">
Zwischenbrugger, Bernhard</A>
</TD>
<TD><BR></TD>
</TR>
</TABLE>
<!-- End Contents -->
<!-- Footer -->
<HR SIZE="1">
<FONT SIZE="-1">
The MITRE Corporation, Keith Visco (C) Copyright 1999-2000, All rights reserved<BR>
Email:<A HREF="mailto:kvisco@ziplink.net">kvisco@ziplink.net</A>
</FONT>
<!-- End Footer -->
</TD>
</TR>
</TABLE>
<!-- End Outer Table -->
</HTML>

View File

@@ -1,53 +0,0 @@
<HTML>
<HEAD>
<TITLE>TransforMiiX(tm) Known Issues</TITLE>
<META name="author" content="Keith Visco">
</HEAD>
<BODY Text="#000000" BGColor="#FFFFFF">
<!-- OUTER TABLE -->
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="640">
<TR>
<TD WIDTH="80"></TD>
<TD WIDTH="80">
<B><I><FONT SIZE="+2" COLOR="BLUE">MITRE</FONT></I></B>
</TD>
<TD WIDTH="480" ALIGN="RIGHT">
<B><FONT SIZE="+2">Transfor<FONT Color="blue">Mii</FONT>X</FONT></B>
<SUP>TM</SUP>
</TD>
</TR>
<TD WIDTH="80"><BR></TD>
<TD WIDTH="560" COLSPAN="2">
<!-- Contents -->
<HR SIZE="1" />
<BR/>
<P>
The following is the current list of known issues for <B>Transfor<FONT Color="blue">Mii</FONT>X</B>.
<P>
See also <A HREF="remaining.txt">A list of what's needed</A>
<P>
<!-- Entry -->
<B>Version: 19991110</B><BR>
<B>Finding the parent of an Attribute Node</B> - Resolved as of build 20000222
<BR>
The processor has no way of finding the parent of an attribute node. DOM level 1 does not support this, and I have not added my own indexing mechanism. I will need to write some sort of node hashtable to support this, which is what I do for XSL:P. I will have support for this soon.
<!-- End Contents -->
<!-- Footer -->
<HR SIZE="1">
<FONT SIZE="-1">
The MITRE Corporation, Keith Visco (C) Copyright 1999, All rights reserved<BR>
Email:<A HREF="mailto:kvisco@ziplink.net">kvisco@ziplink.net</A>
</FONT>
<!-- End Footer -->
</TD>
</TR>
</TABLE>
<!-- End Outer Table -->
</HTML>

View File

@@ -1,172 +0,0 @@
<HTML>
<HEAD>
<TITLE>TransforMiiX(tm)</TITLE>
<META name="author" content="Keith Visco">
</HEAD>
<BODY Text="#000000" BGColor="#FFFFFF">
<!-- OUTER TABLE -->
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="640">
<TR>
<TD WIDTH="80"></TD>
<TD WIDTH="80">
<B><I><FONT SIZE="+2" COLOR="BLUE">MITRE</FONT></I></B>
</TD>
<TD WIDTH="480" ALIGN="RIGHT">
<B><FONT SIZE="+2">Transfor<FONT Color="blue">Mii</FONT>X</FONT></B>
<SUP>TM</SUP>
</TD>
</TR>
<TD WIDTH="80"><BR></TD>
<TD WIDTH="560" COLSPAN="2">
<!-- Contents -->
<HR SIZE="1" />
<BR/>
<P>
<B>Transfor<FONT Color="blue">Mii</FONT>X</B> is an XSLT processor which is
not yet complete, but supports a good portion of the
<A HREF="http://www.w3.org/TR/1999/REC-xslt-19991116">XSLT 1.0 recommendation</A>.
<P>
<B>Transfor<FONT Color="blue">Mii</FONT>X</B> was designed to be a "standalone"
XSLT processor. This means you can call the processor from the command line,
or via the XSLProcessor API. The only thing TransforMiiX requires is an XML parser,
and the currently supported parser is
<A href="http://www.jclark.com/xml/expat.html">Expat</A> written by James Clark.
</P>
<P>
There is currently an effort undergoing to integrate
TransforMiiX with Mozilla. This effort
is not yet complete and therefor the XSLT processor cannot yet be used
within the Mozilla browser. Integration is nearing completion, however.
</P>
<P>
<HR SIZE="1">
<P>
<B>Running <B>Transfor<FONT Color="blue">Mii</FONT>X</B> from the command line</B>
<P />
The command line syntax is pretty straight forward:
<P>
<B>example:</B> <I>transfrmx -i my.xml -s my.xsl -o my.out</I>
</P>
This will process the XML source file called "my.xml" using the "my.xsl" XSLT stylesheet,
and the result will be placed in "my.out".
The "-s" flag is not required if the XSLT stylesheet is specified inside the XML source
document using the "xml-stylesheet" PI (processing instruction).
<P>
The stylesheet PI, should appear below the XML declaration
("<FONT SIZE="-1">&lt;?xml version="1.0"?&gt;</FONT>").
<P>
<B>example:</B>
<TABLE BGColor="" BORDER="1">
<TR>
<TD>
<PRE>
&lt;?xml version="1.0"?&gt;
&lt;?xml-stylesheet href="my.xsl" type="text/xsl"?&gt;
&lt;document&gt;
...
&lt;/document&gt;
</PRE>
</TD>
</TR>
</TABLE>
<P>
The command line program is in "source/main/transformiix.cpp" and is simply
a wrapper for "source/xsl/XSLProcessor.cpp" which is the TransforMiiX API.
</P>
<P>
Feel free to run the examples in the "source/examples" directory, they are a
good example of what has been implemented so far in TransforMiiX.
<P>
<HR SIZE="1">
<P>
<B>What is the current status of Transfor<FONT Color="blue">Mii</FONT>X</B>?
<P />
You can check the current status by looking three main files:
<UL>
<LI><A HREF="changes.txt">changes.txt</A> - lists the changes from different builds
<LI><A HREF="remaining.txt">remaining.txt</A> - lists what needs to be implemented.
<LI><A HREF="known-issues.html">known-issues.html</A> - lists known bugs or issues.
<BR />
-- this is a little out of date...sorry.
</UL>
<P>
<HR SIZE="1">
<P>
<B>What can I do to help finish the implementation of
Transfor<FONT Color="blue">Mii</FONT>X</B>?
<P />
There are a number of things that can be done:
<P>
<B>Development</B>
<OL>
<LI>Check out the source code, build it.
<LI>Use it.
<LI>Familiarize yourself with the code.
<LI>Look at the the "to-do" or "known issues" list and choose something
that you would like to work on.
<LI> If it's a large task, notify us that you are working on a task or issue, or
would like to contribute to the existing effort of a specific task.
<BR>
If it's a simple change you may contact us first to make sure
you are not duplicating effort, or feel free to just make the changes.
<LI>If you have CVS commit status, commit your code,
otherwise submit your code to be integrated to us.
<BR>
<B>
<FONT SIZE="-1">
Please do a "cvs update" to make sure you have the latest changes, and that
your changes work with any code changes that might have occured during
your development.
</FONT>
</B>
</OL>
<B>Bug Reporting</B>
<OL>
<LI>Check out the source code, build it.
<LI>Use it.
<LI>Submit any bugs to the
<A HREF="news://news.mozilla.org/netscape.public.mozilla.layout.xslt">
mailing list [netscape.public.mozilla.layout.xslt]</A>
or directly to us.
</OL>
<B>Documentation</B>
<OL>
<LI>Check out the source code, build it.
<LI>Use it.
<LI>Find something that's not documented - pretty easy to do at this point.
<LI>Document #3.
<LI>If you have commit status, commit your documentation, otherwise
submit your documentation directly to us.
</OL>
<P>
<B>Miscellaneous (but important)</B> <BR>
<FONT SIZE="-1">&nbsp;-- I just wouldn't be myself if I didn't add these! -- Keith :-) </FONT>
<OL>
<LI>Get me a date with Claudia Schiffer or Kelly Hu.
<LI>Get me some coffee!
</OL>
<P>
<!-- End Contents -->
<!-- Footer -->
<HR SIZE="1">
<FONT SIZE="-1">
The MITRE Corporation, Keith Visco (C) Copyright 1999, All rights reserved<BR>
Email: <A HREF="mailto:kvisco@ziplink.net">Keith Visco</A>,
<A HREF="mailto:tomk@mitre.org">Tom Kneeland</A>
</FONT>
<!-- End Footer -->
</TD>
</TR>
</TABLE>
<!-- End Outer Table -->
</HTML>

View File

@@ -1,51 +0,0 @@
TransforMiiX (TM)
(C) Copyright 1999 The MITRE Corporation, Keith Visco. All rights reserved.
Last updated: 2000/05/23
The current "target" XSLT version is the 19991116 XSLT Recommendation, which
can be found at http://www.w3.org/TR/1999/REC-xslt-19991116.
XPath implementation is also "targeting" the 19991116 version.
What's Remaining?
-- Network support for URI handling (standalone version only)
-- currently I only implemented the file:/// protocol
-- Note: Peter Van der Beken is currently working on integrating the
URIUtils for use when compiled as a Mozilla module
-- I18N support for sorting and numbering
-- Finishing sorting for xsl:for-each and xsl:apply-templates
-- simple sorting is working, see examples/sort.xml[xsl]
-- Stylesheet inclusion using xsl:import
-- xsl:include works
-- XSLT Additional functions (Section 12 in the XSLT 1.0 Rec)
See examples/functions.html for a list of available functions
-- document() has been implemented by Olivier Gerardin
- The second argument is currently not supported.
-- Remaining functions which need to be implemented:
- From section 12.2, the key() function
- From section 12.3, the format-number() function
- From section 12.4
- system-property()
- unparsed-entity-uri()
-- Add support for xsl:key (XSLT 1.0, Section 12.2)
-- Fallback (XSLT 1.0, Section 15)
-- convert result-ns, and indent-result to new xsl:output
-- some of this has been done
-- Add support for disable-output-escaping (Section 16.4) for xsl:text
-- clean up Namespace handling

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,27 +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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Peter Van der Beken are Copyright (C) 2000
* Peter Van der Beken. All Rights Reserved.
*
* Contributor(s):
* Peter Van der Beken, peter.vanderbeken@pandora.be
* -- original author.
*
*/
#include "MacSharedPrefix.h"

View File

@@ -1,27 +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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Peter Van der Beken are Copyright (C) 2000
* Peter Van der Beken. All Rights Reserved.
*
* Contributor(s):
* Peter Van der Beken, peter.vanderbeken@pandora.be
* -- original author.
*
*/
#include "MacSharedPrefix_debug.h"

View File

@@ -1,37 +0,0 @@
#!nmake
#
# 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=..\..
include <$(DEPTH)/config/config.mak>
!ifdef TX_EXE
DIRS=$(DEPTH)\expat source
!else
DIRS=source build public
!endif
include <$(DEPTH)\config\rules.mak>
standalone: setenv all
setenv:
@set INCS=-UMOZILLA_CLIENT -DXML_DTD=1 -DXML_UNICODE -DTX_EXE
@set TX_EXE=1

View File

@@ -1,5 +0,0 @@
#
# This is a list of local files which get copied to the mozilla:dist:idl directory
#
nsISyncLoader.idl

View File

@@ -1,69 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Peter Van der Beken, peterv@netscape.com
# -- original author.
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = transformiix
XPIDLSRCS = \
nsISyncLoader.idl \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -1,32 +0,0 @@
#!nmake
#
# 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):
# Peter Van der Beken, peterv@netscape.com
# -- original author.
DEPTH=..\..\..
XPIDLSRCS = .\nsISyncLoader.idl \
$(NULL)
MODULE=transformiix
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,72 +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):
* Peter Van der Beken, peter.vanderbeken@pandora.be
*
*
* 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 "nsISupports.idl"
interface nsIURI;
interface nsIDocument;
interface nsIDOMDocument;
/**
* The nsISyncLoader interface can be used to synchronously load
* a document.
*/
[scriptable, uuid(bb159fcc-1dd1-11b2-91ad-c71866a10fd4)]
interface nsISyncLoader : nsISupports {
/**
* Synchronously load the document specified in documentURI.
*
* @param documentURI The URI of the document to load.
* @param aLoader The document that is trying to load this document.
*
* @returns The document loaded from the URI.
*/
nsIDOMDocument loadDocument(in nsIURI aDocumentURI, in nsIDocument aLoader);
};
%{ C++
#define TRANSFORMIIX_SYNCLOADER_CID \
{ /* b63a5d90-1dd1-11b2-bbac-d87f512d79c9 */ \
0xb63a5d90, 0x1dd1, 0x11b2, \
{0xbb, 0xac, 0xd8, 0x7f, 0x51, 0x2d, 0x79, 0xc9} }
#define TRANSFORMIIX_SYNCLOADER_CONTRACTID \
"@mozilla.org/transformiix/syncloader;1"
%}

View File

@@ -1,120 +0,0 @@
/* -*- Mode: Java; 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 mozilla.org code.
*
* The Initial Developer of the Original Code is Axel Hecht.
* Portions created by Axel Hecht are Copyright (C) 2001 Axel Hecht.
* All Rights Reserved.
*
* Contributor(s):
* Axel Hecht <axel@pike.org> (Original Author)
*/
// ----------------------
// DiffDOM(node1,node2)
// ----------------------
var isHTML = false;
function DiffDOM(node1, node2, aIsHTML)
{
isHTML = aIsHTML;
return DiffNodeAndChildren(node1, node2);
}
// namespace attributes in the second node are ignored
const nsreg = /^xmlns[|:\w]/;
// This function does the work of DiffDOM by recursively calling
// itself to explore the tree
function DiffNodeAndChildren(node1, node2)
{
if (!node1 && !node2)
return true;
if (!node1 || !node2)
return ErrorUp("One of the nodes is null", node1, node2);
if (node1.type!=node2.type)
return ErrorUp("Different node types", node1, node2);
var attributes = node2.attributes;
if (attributes && attributes.length) {
var item, name, ns, value, otherValue;
for (var index = 0; index < attributes.length; index++) {
item = attributes.item(index);
ns = item.namespaceURI;
if (ns) {
name = item.localName;
otherValue = node2.getAttributeNS(ns, name);
}
else {
name = item.nodeName;
otherValue = node2.getAttribute(name);
}
value = item.nodeValue;
if (!nsreg.test(name) && otherValue!=value) {
return ErrorUp("Different values for attribute", node1, node2);
}
}
}
else if (node1.attributes && node1.attributes.length) {
return ErrorUp("Different number of attributes", node1, node2);
}
if (isHTML) {
if (node1.nodeName.toLowerCase()!=node2.nodeName.toLowerCase())
return ErrorUp("Different node names", node1, node2);
}
else {
if (node1.nodeName!=node2.nodeName)
return ErrorUp("Different node names", node1, node2);
}
if (node1.nodeValue!=node2.nodeValue)
return ErrorUp("Different node values", node1, node2);
if (!isHTML)
if (node1.namespaceURI!=node2.namespaceURI)
return ErrorUp("Different namespace", node1, node2);
if (node1.hasChildNodes() != node2.hasChildNodes())
return ErrorUp("Different children", node1, node2);
if (node1.childNodes) {
if (node1.childNodes.length != node2.childNodes.length)
return ErrorUp("Different number of children", node1, node2);
for (var child = 0; child < node1.childNodes.length; child++) {
if (!DiffNodeAndChildren(node1.childNodes[child],
node2.childNodes[child])) {
return false;
}
}
}
return true;
}
function ErrorUp(errMsg, node1, node2)
{
dump("Error: "+errMsg+"\n");
if (node1) {
dump("Node 1: "+node1+", ");
if (node1.nodeType == Node.TEXT_NODE)
dump("nodeValue: "+node1.nodeValue+"\n");
else
dump("nodeName: "+node1.namespaceURI+":"+node1.nodeName+"\n");
}
if (node2) {
dump("Node 2: "+node2+", ");
if (node2.nodeType == Node.TEXT_NODE)
dump("nodeValue: "+node2.nodeValue+"\n");
else
dump("nodeName: "+node2.namespaceURI+":"+node2.nodeName+"\n");
}
return false;
}

View File

@@ -1,85 +0,0 @@
// ----------------------
// DumpDOM(node)
//
// Call this function to dump the contents of the DOM starting at the specified node.
// Use node = document.documentElement to dump every element of the current document.
// Use node = top.window.document.documentElement to dump every element.
//
// 8-13-99 Updated to dump almost all attributes of every node. There are still some attributes
// that are purposely skipped to make it more readable.
// ----------------------
function DumpDOM(node)
{
dump("--------------------- DumpDOM ---------------------\n");
DumpNodeAndChildren(node, "");
dump("------------------- End DumpDOM -------------------\n");
}
// This function does the work of DumpDOM by recursively calling itself to explore the tree
function DumpNodeAndChildren(node, prefix)
{
dump(prefix + "<" + node.nodeName);
var attributes = node.attributes;
if ( attributes && attributes.length )
{
var item, name, value;
for ( var index = 0; index < attributes.length; index++ )
{
item = attributes.item(index);
name = item.nodeName;
value = item.nodeValue;
if ( (name == 'lazycontent' && value == 'true') ||
(name == 'xulcontentsgenerated' && value == 'true') ||
(name == 'id') ||
(name == 'instanceOf') )
{
// ignore these
}
else
{
dump(" " + name + "=\"" + value + "\"");
}
}
}
if ( node.nodeType == 1 )
{
// id
var text = node.getAttribute('id');
if ( text && text[0] != '$' )
dump(" id=\"" + text + "\"");
}
if ( node.nodeName == "#text" )
dump(" = \"" + node.data + "\"");
dump(">\n");
// dump IFRAME && FRAME DOM
if ( node.nodeName == "IFRAME" || node.nodeName == "FRAME" )
{
if ( node.name )
{
var wind = top.frames[node.name];
if ( wind && wind.document && wind.document.documentElement )
{
dump(prefix + "----------- " + node.nodeName + " -----------\n");
DumpNodeAndChildren(wind.document.documentElement, prefix + " ");
dump(prefix + "--------- End " + node.nodeName + " ---------\n");
}
}
}
// children of nodes (other than frames)
else if ( node.childNodes )
{
for ( var child = 0; child < node.childNodes.length; child++ )
DumpNodeAndChildren(node.childNodes[child], prefix + " ");
}
}

View File

@@ -1,22 +0,0 @@
The buster is a XUL interface to the conformance tests shipped as part of
Xalan. For information about Xalan, please see http://xml.apache.org/.
For your convenience we provide a packed distribution of all needed files
in http://www.axel.pike.org/mozilla/xalan.tar.gz. Please see the included
LICENSE.txt or http://xml.apache.org/dist/LICENSE.txt for terms of
distributing those files.
To use the buster, open buster.xul with a XSLT enabled Mozilla.
Open the rdf index file shipped with the test package into the
"Xalan index", and the available tests will show up as a tree.
Once you have selected the tests you're interested in, press the button
"run checked tests", and all the tests will be run.
You can save the results into an rdf, and load it for comparison and
regression hunting.
DiffDOM tries to find out, which tests failed, and will DumpDOM both the
result and the reference solution. Not all reference solutions load
properly, those need manual love.
Good luck and fun
Axel Hecht <axel@pike.org>

View File

@@ -1,127 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT Processor.
*
* The Initial Developer of the Original Code is
* Axel Hecht.
* Portions created by the Initial Developer are Copyright (C) 2002
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Axel Hecht <axel@pike.org>
* Peter Van der Beken <peterv@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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
enablePrivilege('UniversalXPConnect');
const kFTSCID = "@mozilla.org/network/file-transport-service;1";
const nsIFileTransportService = Components.interfaces.nsIFileTransportService;
const kFileTransportService = doCreate(kFTSCID, nsIFileTransportService);
var cmdFileController =
{
supportsCommand: function(aCommand)
{
switch(aCommand) {
case 'cmd_fl_save':
case 'cmd_fl_import':
return true;
default:
}
return false;
},
isCommandEnabled: function(aCommand)
{
return this.supportsCommand(aCommand);
},
doCommand: function(aCommand)
{
enablePrivilege('UniversalXPConnect');
switch(aCommand) {
case 'cmd_fl_save':
var serial = doCreate(kRDFXMLSerializerID,
nsIRDFXMLSerializer);
var sink = new Object;
sink.content = '';
sink.write = function(aContent, aCount)
{
this.content += aContent;
return aCount;
};
serial.init(view.memoryDataSource);
serial.QueryInterface(nsIRDFXMLSource);
serial.Serialize(sink);
if (!sink.content.length) {
return;
}
// replace NC:succ with NC:orig_succ, so the rdf stuff differs
var content = sink.content.replace(/NC:succ/g,"NC:orig_succ");
var fp = doCreateRDFFP('Xalan results',
nsIFilePicker.modeSave);
var res = fp.show();
if (res == nsIFilePicker.returnOK ||
res == nsIFilePicker.returnReplace) {
var fl = fp.file;
var trans = kFileTransportService.createTransport
(fl, 26, // NS_WRONLY + NS_CREATE_FILE + NS_TRUNCATE
'w', true);
var out = trans.openOutputStream(0, -1, 0);
out.write(content, content.length);
out.close();
delete out;
delete trans;
fp.file.permissions = 420;
}
break;
case 'cmd_fl_import':
var fp = doCreateRDFFP('Previous Xalan results',
nsIFilePicker.modeLoad);
var res = fp.show();
if (res == nsIFilePicker.returnOK) {
var fl = fp.file;
if (view.previousResults) {
view.database.RemoveDataSource(view.previousResults);
view.previousResults = null;
}
view.database.RemoveDataSource(view.memoryDataSource);
view.previousResults = kRDFSvc.GetDataSource(fp.fileURL.spec);
view.database.AddDataSource(view.previousResults);
view.database.AddDataSource(view.memoryDataSource);
}
document.getElementById('obs_orig_success')
.setAttribute('hidden','false');
break;
default:
alert('Unknown Command'+aCommand);
}
}
};
registerController(cmdFileController);

View File

@@ -1,79 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT Processor.
*
* The Initial Developer of the Original Code is
* Axel Hecht.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Axel Hecht <axel@pike.org>
* Peter Van der Beken <peterv@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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
var xalan_field;
function onLoad()
{
view.tests_run = document.getElementById("tests_run");
view.tests_passed = document.getElementById("tests_passed");
view.tests_failed = document.getElementById("tests_failed");
view.tests_selected = document.getElementById("tests_selected");
view.tree = document.getElementById('out');
view.boxObject = view.tree.boxObject.QueryInterface(Components.interfaces.nsITreeBoxObject);
enablePrivilege('UniversalXPConnect');
// prune the spurious children of the iframe doc
{
var iframe = document.getElementById('hiddenHtml').contentDocument;
var children = iframe.childNodes;
var cn = children.length;
for (var i = cn-1; i >=0 ; i--) {
if (children[i] != iframe.documentElement)
iframe.removeChild(children[i]);
}
}
view.database = view.tree.database;
view.builder = view.tree.builder.QueryInterface(nsIXULTemplateBuilder);
view.builder.QueryInterface(nsIXULTreeBuilder);
runItem.prototype.kDatabase = view.database;
xalan_field = document.getElementById("xalan_rdf");
var persistedUrl = xalan_field.getAttribute('url');
if (persistedUrl) {
view.xalan_url = persistedUrl;
xalan_field.value = persistedUrl;
}
view.setDataSource();
return true;
}
function onUnload()
{
if (xalan_field)
xalan_field.setAttribute('url', xalan_field.value);
}

View File

@@ -1,117 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT Processor.
*
* The Initial Developer of the Original Code is
* Axel Hecht.
* Portions created by the Initial Developer are Copyright (C) 2002
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Axel Hecht <axel@pike.org>
* Peter Van der Beken <peterv@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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// priviledge shortcut
enablePrivilege = netscape.security.PrivilegeManager.enablePrivilege;
// helper function to shortcut component creation
function doCreate(aContract, aInterface)
{
enablePrivilege('UniversalXPConnect');
return Components.classes[aContract].createInstance(aInterface);
}
// for the items, loading a text file
const IOSERVICE_CTRID = "@mozilla.org/network/io-service;1";
const nsIIOService = Components.interfaces.nsIIOService;
const SIS_CTRID = "@mozilla.org/scriptableinputstream;1"
const nsISIS = Components.interfaces.nsIScriptableInputStream;
// rdf foo, onload handler
enablePrivilege('UniversalXPConnect');
const kRDFSvcContractID = "@mozilla.org/rdf/rdf-service;1";
const kRDFInMemContractID =
"@mozilla.org/rdf/datasource;1?name=in-memory-datasource";
const kRDFContUtilsID = "@mozilla.org/rdf/container-utils;1";
const kRDFXMLSerializerID = "@mozilla.org/rdf/xml-serializer;1";
const kIOSvcContractID = "@mozilla.org/network/io-service;1";
const kStandardURL = Components.classes["@mozilla.org/network/standard-url;1"];
const nsIURL = Components.interfaces.nsIURL;
const nsIStandardURL = Components.interfaces.nsIStandardURL;
const nsIFilePicker = Components.interfaces.nsIFilePicker;
const nsIXULTreeBuilder = Components.interfaces.nsIXULTreeBuilder;
const nsIXULTemplateBuilder = Components.interfaces.nsIXULTemplateBuilder;
const kIOSvc = Components.classes[kIOSvcContractID]
.getService(Components.interfaces.nsIIOService);
const nsIRDFService = Components.interfaces.nsIRDFService;
const nsIRDFDataSource = Components.interfaces.nsIRDFDataSource;
const nsIRDFResource = Components.interfaces.nsIRDFResource;
const nsIRDFLiteral = Components.interfaces.nsIRDFLiteral;
const nsIRDFContainerUtils = Components.interfaces.nsIRDFContainerUtils;
const nsIRDFXMLSerializer = Components.interfaces.nsIRDFXMLSerializer;
const nsIRDFXMLSource = Components.interfaces.nsIRDFXMLSource;
const kRDFSvc =
Components.classes[kRDFSvcContractID].getService(nsIRDFService);
const krTypeCat = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#category");
const krTypeName = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#name");
const krTypeSucc = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#succ");
const krTypePath = kRDFSvc.GetResource("http://home.netscape.com/NC-rdf#path");
const kGood = kRDFSvc.GetLiteral("yes");
const kBad = kRDFSvc.GetLiteral("no");
const kMixed = kRDFSvc.GetLiteral("+-");
const kContUtils = doCreate(kRDFContUtilsID, nsIRDFContainerUtils);
function doCreateRDFFP(aTitle, aMode)
{
enablePrivilege('UniversalXPConnect');
var fp = doCreate("@mozilla.org/filepicker;1", nsIFilePicker);
fp.init(window, aTitle, aMode);
fp.appendFilter('*.rdf', '*.rdf');
fp.appendFilters(nsIFilePicker.filterAll);
return fp;
}
function goDoCommand(aCommand)
{
try {
enablePrivilege('UniversalXPConnect');
var controller =
top.document.commandDispatcher.getControllerForCommand(aCommand);
if (controller && controller.isCommandEnabled(aCommand))
controller.doCommand(aCommand);
}
catch(e) {
dump("An error "+e+" occurred executing the "+aCommand+" command\n");
}
}
function registerController(aController)
{
top.controllers.appendController(aController);
}

View File

@@ -1,314 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT Processor.
*
* The Initial Developer of the Original Code is
* Axel Hecht.
* Portions created by the Initial Developer are Copyright (C) 2002
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Axel Hecht <axel@pike.org>
* Peter Van der Beken <peterv@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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
var parser = new DOMParser();
var runQueue =
{
mArray : new Array(),
push : function(aRunItem)
{
this.mArray.push(aRunItem);
},
observe : function(aSubject, aTopic, aData)
{
item = this.mArray.shift();
if (item) {
item.run(this);
}
},
run : function()
{
this.observe(null,'','');
}
}
var itemCache =
{
mArray : new Array(),
getItem : function(aResource)
{
enablePrivilege('UniversalXPConnect');
// Directory selected
if (kContUtils.IsSeq(runItem.prototype.kDatabase, aResource)) {
var aSeq = kContUtils.MakeSeq(runItem.prototype.kDatabase, aResource);
dump("sequence: "+aSeq+" with "+aSeq.GetCount()+" elements\n");
var child, children = aSeq.GetElements();
var m = 0, first;
while (children.hasMoreElements()) {
m += 1;
child = children.getNext();
child.QueryInterface(nsIRDFResource);
if (!first)
first = itemCache.getItem(child);
else
itemCache.getItem(child);
}
return first;
}
var retItem = this.mArray[aResource.Value];
if (retItem) {
return retItem;
}
retItem = new runItem(aResource);
this.mArray[aResource.Value] = retItem;
runQueue.push(retItem);
return retItem;
},
rerunItem : function(aResource, aObserver)
{
var anItem = new runItem(aResource);
this.mArray[aResource.Value] = anItem;
anItem.run(aObserver);
},
observe : function(aSubject, aTopic, aData)
{
this.mRun += 1;
if (aTopic == "success") {
if (aData == "yes") {
this.mGood += 1;
}
else {
this.mFalse +=1;
}
}
}
}
function runItem(aResource)
{
enablePrivilege('UniversalXPConnect');
this.mResource = aResource;
// Directory selected
if (kContUtils.IsSeq(this.kDatabase,this.mResource)) {
var aSeq = kContUtils.MakeSeq(this.kDatabase,this.mResource);
dump("THIS SHOULDN'T HAPPEN\n");
var child, children = aSeq.GetElements();
var m = 0;
while (children.hasMoreElements()) {
m += 1;
child = children.getNext();
child.QueryInterface(nsIRDFResource);
itemCache.getItem(child);
}
}
}
enablePrivilege('UniversalXPConnect');
runItem.prototype =
{
// RDF resource associated with this test
mResource : null,
// XML documents for the XSLT transformation
mSourceDoc : null,
mStyleDoc : null,
mResDoc : null,
// XML or plaintext document for the reference
mRefDoc : null,
// bitfield signaling the loaded documents
mLoaded : 0,
kSource : 1,
kStyle : 2,
kReference : 4,
// a observer, potential argument to run()
mObserver : null,
mSuccess : null,
mMethod : 'xml',
// XSLTProcessor, shared by the instances
kProcessor : new XSLTProcessor(),
kXalan : kStandardURL.createInstance(nsIURL),
kDatabase : null,
kObservers : new Array(),
run : function(aObserver)
{
if (aObserver && typeof(aObserver)=='function' ||
(typeof(aObserver)=='object' &&
typeof(aObserver.observe)=='function')) {
this.mObserver=aObserver;
}
var name = this.kDatabase.GetTarget(this.mResource, krTypeName, true);
if (name) {
var cat = this.kDatabase.GetTarget(this.mResource, krTypeCat, true);
var path = this.kDatabase.GetTarget(this.mResource, krTypePath, true);
cat = cat.QueryInterface(nsIRDFLiteral);
name = name.QueryInterface(nsIRDFLiteral);
path = path.QueryInterface(nsIRDFLiteral);
xalan_fl = this.kXalan.resolve(cat.Value+"/"+path.Value);
xalan_ref = this.kXalan.resolve(cat.Value+"-gold/"+path.Value);
dump(name.Value+" links to "+xalan_fl+"\n");
}
// Directory selected
if (kContUtils.IsSeq(this.kDatabase,this.mResource)) {
return;
var aSeq = kContUtils.MakeSeq(this.kDatabase,this.mResource);
dump("sequence: "+aSeq+" with "+aSeq.GetCount()+" elements\n");
var child, children = aSeq.GetElements();
var m = 0;
while (children.hasMoreElements()) {
m += 1;
child = children.getNext();
child.QueryInterface(nsIRDFResource);
//var aFoo = new runItem(child);
}
}
var refContent = this.loadTextFile(xalan_ref+".out");
if (refContent.match(/^<\?xml/)) {
this.mRefDoc = parser.parseFromString(refContent, 'text/xml');
}
else if (refContent.match(/^\s*<html/gi)) {
this.mMethod = 'html';
var iframe = document.getElementById('hiddenHtml').contentDocument;
iframe.documentElement.innerHTML = refContent;
//this.mRefDoc = iframe.documentElement.cloneNode(true);
this.mRefDoc = iframe;
DumpDOM(this.mRefDoc)
}
this.mSourceDoc = document.implementation.createDocument('', '', null);
this.mSourceDoc.addEventListener("load",this.onload(1),false);
this.mSourceDoc.load(xalan_fl+".xml");
this.mStyleDoc = document.implementation.createDocument('', '', null);
this.mStyleDoc.addEventListener("load",this.onload(2),false);
this.mStyleDoc.load(xalan_fl+".xsl");
},
// onload handler helper
onload : function(file)
{
var self = this;
return function(e)
{
return self.fileLoaded(file);
};
},
fileLoaded : function(mask)
{
this.mLoaded += mask;
if (this.mLoaded < 3) {
return;
}
enablePrivilege('UniversalXPConnect');
this.mResDoc = document.implementation.createDocument("", "", null);
this.kProcessor.transformDocument(this.mSourceDoc,
this.mStyleDoc,
this.mResDoc, null);
this.mRefDoc.normalize();
try {
isGood = DiffDOM(this.mResDoc.documentElement,
this.mRefDoc.documentElement,
this.mMethod == 'html');
} catch (e) {
isGood = false;
};
dump("This succeeded. "+isGood+"\n");
if (!isGood) {
DumpDOM(this.mResDoc);
DumpDOM(this.mRefDoc);
}
isGood = isGood.toString();
for (var i=0; i<this.kObservers.length; i++) {
var aObs = this.kObservers[i];
if (typeof(aObs)=='object' && typeof(aObs.observe)=='function') {
aObs.observe(this.mResource, 'success', isGood);
}
else if (typeof(aObs)=='function') {
aObs(this.mResource, 'success', isGood);
}
}
if (this.mObserver) {
if (typeof(this.mObserver)=='object') {
this.mObserver.observe(this.mResource, 'success', isGood);
}
else {
this.mObserver(this.mResource, 'success', isGood);
}
}
},
loadTextFile : function(url)
{
enablePrivilege('UniversalXPConnect');
var serv = Components.classes[IOSERVICE_CTRID].
getService(nsIIOService);
if (!serv) {
throw Components.results.ERR_FAILURE;
}
var chan = serv.newChannel(url, null, null);
var instream = doCreate(SIS_CTRID, nsISIS);
instream.init(chan.open());
return instream.read(instream.available());
}
}
runItem.prototype.kXalan.QueryInterface(nsIStandardURL);
var cmdTestController =
{
supportsCommand: function(aCommand)
{
switch(aCommand) {
case 'cmd_tst_run':
case 'cmd_tst_runall':
return true;
default:
}
return false;
},
isCommandEnabled: function(aCommand)
{
return this.supportsCommand(aCommand);
},
doCommand: function(aCommand)
{
switch(aCommand) {
case 'cmd_tst_run':
dump("cmd_tst_run\n");
break;
case 'cmd_tst_runall':
dump("cmd_tst_runall\n");
var tst_run = document.getElementById('cmd_tst_run');
tst_run.doCommand();
default:
}
}
};
registerController(cmdTestController);

View File

@@ -1,164 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT Processor.
*
* The Initial Developer of the Original Code is
* Axel Hecht.
* Portions created by the Initial Developer are Copyright (C) 2002
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Axel Hecht <axel@pike.org>
* Peter Van der Beken <peterv@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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
var view =
{
onRun : function()
{
var sels = this.boxObject.selection,a=new Object(),b=new Object(),k;
var rowResource, name, path;
enablePrivilege('UniversalXPConnect');
for (k=0;k<sels.getRangeCount();k++){
sels.getRangeAt(k,a,b);
for (var l=a.value;l<=b.value;l++) {
rowResource = this.builder.getResourceAtIndex(l);
itemCache.getItem(rowResource);
}
}
runQueue.run();
},
displayTest : function()
{
var current = this.boxObject.selection.currentIndex;
enablePrivilege('UniversalXPConnect');
var rowResource = this.builder.getResourceAtIndex(current);
var item = itemCache.getItem(rowResource);
DumpDOM(item.mSourceDoc);
DumpDOM(item.mStyleDoc);
},
browseForRDF : function()
{
enablePrivilege('UniversalXPConnect');
var fp = doCreateRDFFP('Xalan Description File',
nsIFilePicker.modeOpen);
var res = fp.show();
if (res == nsIFilePicker.returnOK) {
var furl = fp.fileURL;
this.setDataSource(fp.fileURL.spec);
}
},
dump_Good : function()
{
enablePrivilege('UniversalXPConnect');
var enumi = this.database.GetSources(krTypeSucc, kGood, true);
var k = 0;
while (enumi.hasMoreElements()) {
k += 1;
dump(enumi.getNext().QueryInterface(nsIRDFResource).Value+"\n");
}
dump("found "+k+" good tests\n");
},
prune_ds : function()
{
enablePrivilege('UniversalXPConnect');
this.unassert(this.database.GetSources(krTypeSucc, kGood, true),
kGood);
this.unassert(this.database.GetSources(krTypeSucc, kBad, true),
kBad);
this.unassert(this.database.GetSources(krTypeSucc, kMixed, true),
kMixed);
runQueue.mArray = new Array();
itemCache.mArray = new Array();
},
unassert : function(aEnum, aResult)
{
enablePrivilege('UniversalXPConnect');
var k = 0, item;
while (aEnum.hasMoreElements()) {
k += 1;
var item = aEnum.getNext();
try {
item = item.QueryInterface(nsIRDFResource);
this.database.Unassert(item, krTypeSucc, aResult, true);
} catch (e) {
dump("Can't unassert "+item+"\n");
}
}
},
setDataSource : function(aSpec)
{
var baseSpec;
if (aSpec) {
baseSpec = aSpec;
}
else {
baseSpec = document.getElementById("xalan_rdf").value;
}
dump(baseSpec+"\n");
var currentSources = this.database.GetDataSources();
while (currentSources.hasMoreElements()) {
var aSrc = currentSources.getNext().
QueryInterface(nsIRDFDataSource);
this.database.RemoveDataSource(aSrc);
}
var ds = kRDFSvc.GetDataSource(baseSpec);
if (!ds) {
alert("Unable do load DataSource: "+baseSpec);
return;
}
view.database.AddDataSource(ds);
view.memoryDataSource = doCreate(kRDFInMemContractID,
nsIRDFDataSource);
if (!view.memoryDataSource) {
alert("Unable to create write-protect InMemDatasource,"+
" not adding "+ baseSpec);
this.database.RemoveDataSource(ds);
}
view.database.AddDataSource(view.memoryDataSource);
view.builder.rebuild();
document.getElementById("xalan_rdf").value = baseSpec;
runItem.prototype.kXalan.init(runItem.prototype.kXalan.URLTYPE_STANDARD,
0, baseSpec, null, null);
}
}
function rdfObserve(aSubject, aTopic, aData)
{
if (aTopic == "success") {
if (aData == "true") {
view.database.Assert(aSubject, krTypeSucc, kGood, true);
}
else {
view.database.Assert(aSubject, krTypeSucc, kBad, true);
}
}
}
runItem.prototype.kObservers.push(rdfObserve);

View File

@@ -1,38 +0,0 @@
/* -*- Mode: Java; 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 mozilla.org code.
*
* The Initial Developer of the Original Code is Axel Hecht.
* Portions created by Axel Hecht are Copyright (C) 2002 Axel Hecht.
* All Rights Reserved.
*
* Contributor(s):
* Axel Hecht <axel@pike.org> (Original Author)
*/
label.head {
padding: 5px;
font-size: medium;
font-weight: bold;
}
treechildren:-moz-tree-cell(success yes)
{
background-color: green ;
}
treechildren:-moz-tree-cell(success no)
{
background-color: red ;
}

View File

@@ -1,201 +0,0 @@
<?xml version="1.0"?>
<!--
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org.
The Initial Developer of the Original Code is Axel Hecht.
Portions created by Axel Hecht are Copyright (C) 2001 Axel Hecht.
All Rights Reserved.
Contributor(s):
Axel Hecht <axel@pike.org> (Original Author)
-->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="buster.css" type="text/css"?>
<window id="XalanBuster"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="onLoad()" onunload="onUnload()"
title="Xalan testcase harness"
orient="vertical">
<script type="application/x-javascript" src="buster-statics.js" />
<script type="application/x-javascript" src="buster-test.js" />
<script type="application/x-javascript" src="buster-view.js" />
<script type="application/x-javascript" src="buster-handlers.js" />
<script type="application/x-javascript" src="result-view.js" />
<script type="application/x-javascript" src="buster-files.js" />
<script type="application/x-javascript" src="DumpDOM.js" />
<script type="application/x-javascript" src="DiffDOM.js" />
<commands id="busterKing">
<commandset id="buster_file_cmds">
<command id="cmd_fl_save" oncommand="goDoCommand('cmd_fl_save')" />
<command id="cmd_fl_import" oncommand="goDoCommand('cmd_fl_import')"/>
</commandset>
<commandset id="buster_test_cmds">
<command id="cmd_tst_run" oncommand="goDoCommand('cmd_tst_run')" />
<command id="cmd_tst_runall" oncommand="goDoCommand('cmd_tst_runall')" />
</commandset>
</commands>
<broadcasterset>
<broadcaster id="obs_orig_success" hidden="true"/>
<broadcaster id="not_yet" disabled="true"/>
</broadcasterset>
<menubar>
<menu id="busterFile" label="File" accesskey="f">
<menupopup id="file-popup">
<menuitem label="Save results ..." accesskey="s"
observes="cmd_fl_save"/>
<menuitem label="Import results ..." accesskey="i"
observes="cmd_fl_import"/>
</menupopup>
</menu>
<menu id="busterTests" label="Tests" accesskey="t">
<menupopup id="tests-popup">
<menuitem label="run a test" accesskey="r"
observes="cmd_tst_run"/>
<menuitem label="run all tests" accesskey="a"
observes="cmd_tst_runall"/>
</menupopup>
</menu>
</menubar>
<popupset>
<popup id="itemcontext">
<menuitem label="View Test" oncommand="onNewResultView(event)"/>
</popup>
</popupset>
<hbox>
<button label="check all" oncommand="check(true)" observes="not_yet"/>
<button label="uncheck all" oncommand="check(false)" observes="not_yet"/>
<button label="reset success" oncommand="view.prune_ds()" />
<button label="run checked tests" oncommand="view.onRun()" />
</hbox>
<hbox>
<label value="Xalan index: " class="head"/>
<textbox id="xalan_rdf" persist="url" crop="end" size="40"/>
<button label="browse..." oncommand="view.browseForRDF()" />
</hbox>
<hbox>
<groupbox orient="horizontal"><caption label="search" />
<button label="Search for " oncommand="select()" observes="not_yet"/>
<textbox style="width: 10em;" id="search-name" persist="value" /><label value=" in " />
<menulist id="search-field" persist="data" observes="not_yet">
<menupopup>
<menuitem value="1" label="Name" />
<menuitem value="2" label="Purpose" />
<menuitem value="3" label="Comment" />
</menupopup>
</menulist>
</groupbox>
<groupbox orient="horizontal"><caption label="select" />
<button label="Select from " oncommand="selectRange()" observes="not_yet"/>
<textbox style="width: 10em;" id="start-field" persist="value" />
<label value=" to " />
<textbox style="width: 10em;" id="end-field" persist="value" />
</groupbox>
<spacer flex="1" /></hbox>
<hbox><groupbox orient="horizontal"><caption label="stats" />
<label value="tests run: "/><label id="tests_run" value="0" />
<label value=" tests passed: "/><label id="tests_passed" value="0"/>
<label value=" tests failed: "/><label id="tests_failed" value="0"/>
<label value=" tests selected: "/><label id="tests_selected" value="0"/>
</groupbox>
<spacer flex="1" /></hbox>
<tree id="out" flex="1" flags="dont-build-content"
datasources="rdf:null" ref="urn:root"
context="itemcontext">
<treecols>
<treecol id="NameColumn" flex="1" label="Name" sort="?name"
primary="true" />
<splitter />
<treecol id="PurpsColumn" flex="2" label="Purpose" sort="?purp" />
<splitter />
<treecol id="SuccessColumn" flex="0" label="Success" />
<splitter observes="obs_orig_success" />
<treecol id="OrigSuccessColumn" flex="0" label="Previously"
observes="obs_orig_success" />
</treecols>
<template>
<rule>
<conditions>
<treeitem uri="?uri" />
<member container="?uri" child="?subheading" />
<triple subject="?subheading"
predicate="http://home.netscape.com/NC-rdf#purp"
object="?purp" />
</conditions>
<bindings>
<binding subject="?subheading"
predicate="http://home.netscape.com/NC-rdf#name"
object="?name" />
<binding subject="?subheading"
predicate="http://home.netscape.com/NC-rdf#succ"
object="?succ" />
<binding subject="?subheading"
predicate="http://home.netscape.com/NC-rdf#orig_succ"
object="?orig_succ" />
</bindings>
<action>
<treechildren>
<treeitem uri="?subheading" >
<treerow>
<treecell ref="NameColumn" label="?name" />
<treecell ref="PurpsColumn" label="?purp" />
<treecell ref="SuccessColumn" label="?succ"
properties="success ?succ"/>
<treecell ref="OrigSuccessColumn" label="?orig_succ"
properties="success ?orig_succ"
/>
</treerow>
</treeitem>
</treechildren>
</action>
</rule>
<rule>
<conditions>
<treeitem uri="?uri" />
<member container="?uri" child="?subheading" />
</conditions>
<bindings>
<binding subject="?subheading"
predicate="http://home.netscape.com/NC-rdf#dir"
object="?dir" />
<binding subject="?subheading"
predicate="http://home.netscape.com/NC-rdf#succ"
object="?succ" />
</bindings>
<action>
<treechildren>
<treeitem uri="?subheading" >
<treerow>
<treecell ref="NameColumn" label="?dir" />
<treecell ref="SuccessColumn" label="?succ" />
</treerow>
</treeitem>
</treechildren>
</action>
</rule>
</template>
</tree>
<iframe style="visibility:hidden; height:0px;" id="hiddenHtml" />
</window>

View File

@@ -1,69 +0,0 @@
use File::Spec;
use File::Glob ':glob';
my(@chunks);
@list = ('conf');
go_in('conf', '', 'conf');
#exit 0;
print '<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:nc="http://home.netscape.com/NC-rdf#">
<rdf:Seq about="urn:root">
<rdf:li><rdf:Description ID="conf" nc:dir="conf" /></rdf:li>
<rdf:li><rdf:Description ID="contrib" nc:dir="contrib" /></rdf:li>
<rdf:li><rdf:Description ID="perf" nc:dir="perf" /></rdf:li>
</rdf:Seq>
';
print join('',@chunks);
print '</rdf:RDF>
';
exit 0;
sub go_in {
my($current, $about, $cat) = @_;
my (@list, $entry, @subdirs, @files, @purps, $rdf);
chdir $current;
@list = glob('*');
LOOP: foreach $entry (@list) {
next LOOP if $entry=~/^CVS$/;
if (! -d $entry) {
if ($entry=~/^($current.*)\.xsl$/) {
push(@files, $1);
local ($purp);
open STYLE, $entry;
while (<STYLE>) {
if (/<!--\s+Purpose: (.+)\s*-->/) {
$purp .= $1;
}
}
$purp=~s/"/'/g; $purp=~s/&/&amp;/g; $purp=~s/</&lt;/g;
push(@purps, $purp);
}
}
else {
push(@subdirs, $entry);
}
}
#print join(" ", @subdirs)."\n";
my $topic = $about.$current; $topic=~s/\///g;
$rdf = '<rdf:Seq about="#'.$topic."\" >\n";
foreach $entry (@subdirs) {
my $id = $about.$current.$entry; $id=~s/\///g;
$rdf .= "<rdf:li><rdf:Description ID=\"$id\" nc:dir=\"$entry\" /></rdf:li>\n";
}
for (my $i=0; $i < @files; $i++) {
my $uri = $about.$current.'/'.$files[$i];
$uri=~s/[^\/]+\///;
my $id = $uri; $id=~s/\///g;
$rdf .= "<rdf:li><rdf:Description ID=\"$files[$i]\" nc:name=\"$files[$i]\" nc:purp=\"$purps[$i]\" nc:path=\"$uri\" nc:category=\"$cat\"/></rdf:li>\n";
}
$rdf .= "</rdf:Seq>\n";
push(@chunks, $rdf);
#print join(" ", @files)."\n";
foreach $entry (@subdirs) {
go_in($entry, $about.$current.'/', $cat);
}
chdir File::Spec->updir;
}

View File

@@ -1,12 +0,0 @@
label.heading {
font-size: medium;
font-weight: bold;
}
button.close {
font-size: small;
}
iframe {
padding-left: 10px;
}

View File

@@ -1,77 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT Processor.
*
* The Initial Developer of the Original Code is
* Axel Hecht.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Axel Hecht <axel@pike.org>
* Peter Van der Beken <peterv@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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
var currentResultItem = new Object();
function onNewResultView(event)
{
const db = runItem.prototype.kDatabase;
const kXalan = runItem.prototype.kXalan;
var index = view.boxObject.selection.currentIndex;
enablePrivilege('UniversalXPConnect');
var res = view.builder.getResourceAtIndex(index);
var name = db.GetTarget(res, krTypeName, true);
if (!name) {
return false;
}
var cat = db.GetTarget(res, krTypeCat, true);
var path = db.GetTarget(res, krTypePath, true);
cat = cat.QueryInterface(nsIRDFLiteral);
name = name.QueryInterface(nsIRDFLiteral);
path = path.QueryInterface(nsIRDFLiteral);
xalan_fl = kXalan.resolve(cat.Value+"/"+path.Value);
xalan_ref = kXalan.resolve(cat.Value+"-gold/"+path.Value);
currentResultItem.testpath = xalan_fl;
currentResultItem.refpath = xalan_ref;
dump(name.Value+" links to "+xalan_fl+"\n");
var win = window.openDialog('result-view.xul','txBusterResult',
'chrome,width=800,height=800,dialog=no',
currentResultItem);
}
function onResultViewLoad(event)
{
var arg = window.arguments[0];
document.getElementById('src').setAttribute('src', 'view-source:'+
arg.testpath+'.xml');
document.getElementById('style').setAttribute('src', 'view-source:'+
arg.testpath+'.xsl');
document.getElementById('ref').setAttribute('src', arg.refpath+'.out');
return true;
}

View File

@@ -1,53 +0,0 @@
<?xml version="1.0"?>
<!--
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is mozilla.org.
The Initial Developer of the Original Code is Axel Hecht.
Portions created by Axel Hecht are Copyright (C) 2002 Axel Hecht.
All Rights Reserved.
Contributor(s):
Axel Hecht <axel@pike.org> (Original Author)
-->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="result-view.css" type="text/css"?>
<window id="buster-result-view"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical"
onload="onResultViewLoad()">
<script type="application/x-javascript" src="DumpDOM.js" />
<script type="application/x-javascript" src="buster-statics.js" />
<script type="application/x-javascript" src="buster-test.js" />
<script type="application/x-javascript" src="result-view.js" />
<script>
</script>
<hbox>
<button class="close" label="close this window"
oncommand="window.close()" />
</hbox>
<vbox flex="1">
<label class="heading" value="XML Source:" />
<iframe flex="1" id="src" />
</vbox>
<vbox flex="1">
<label class="heading" value="XSL Source:" />
<iframe flex="1" id="style" />
</vbox>
<vbox flex="1">
<label class="heading" value="Reference Source:" />
<iframe flex="1" id="ref" />
</vbox>
</window>

View File

@@ -1,35 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Transformiix XSLT Processor.
#
# The Initial Developer of the Original Code is Axel Hecht.
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
# All Rights Reserved.
#
# Contributor(s):
# Axel Hecht <axel@pike.org>
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = base net xml xpath xslt
ifdef TX_EXE
DIRS += main
endif
include $(topsrcdir)/config/rules.mk

View File

@@ -1,277 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is Keith Visco
* Portions created by Keith Visco are
* Copyright (C) 1999, 2000 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
*/
#include "ArrayList.h"
/*
Implementation of ArrayList
*/
//-------------/
//- Constants -/
//-------------/
const int ArrayList::DEFAULT_SIZE = 17;
//----------------/
//- Constructors -/
//----------------/
/**
* Creates a new ArrayList with the default Size
**/
ArrayList::ArrayList() {
initialize(DEFAULT_SIZE);
} //-- ArrayList
/**
* Creates a new ArrayList with the given Size
* @param size the size the list should be initialized to
**/
ArrayList::ArrayList(int size) {
initialize(size);
} //-- ArrayList
/**
* Helper method for Constructors
**/
void ArrayList::initialize(int size) {
elements = new TxObject*[size];
for ( int i = 0; i < size; i++ ) elements[i] = 0;
elementCount = 0;
bufferSize = size;
initialSize = size;
} //-- initialize
/**
* Destructor for ArrayList, does not delete elements by default
**/
ArrayList::~ArrayList() {
delete [] elements;
} //-- ~ArrayList
/**
* Adds the specified TxObject to this ArrayList
* @param object the TxObject to add to the ArrayList
**/
void ArrayList::add(TxObject* object) {
if (!object) return;
if (elementCount == bufferSize) increaseSize();
elements[elementCount++] = object;
} //-- add
/**
* Adds the given TxObject to this ArrayList at the specified index.
* @param object the TxObject to add
* @return true if the object has been properly added at the correct index.
**/
MBool ArrayList::add(int index, TxObject* object) {
if ((index < 0) || (index > elementCount)) return MB_FALSE;
// make sure we have room to add the object
if (elementCount == bufferSize) increaseSize();
if (index == elementCount) {
elements[elementCount++] = object;
}
else {
shiftUp(index);
elements[index] = object;
++elementCount;
}
return MB_TRUE;
} //-- add
/**
* Removes all elements from the list
**/
void ArrayList::clear() {
for (int i = 0; i < elementCount; i++) {
elements[i] = 0;
}
elementCount = 0;
} //-- clear
/**
* Removes all elements from the list
* @param deleteObjects allows specifying whether or not to delete the TxObjects
* that are currently in the list.
*
* Note: If object deletion is enabled this method will check for duplicate references
* in the list to prevent possible seg faults and will therefore run slower than an algorithm
* that doesn't check for duplicates.
**/
void ArrayList::clear(MBool deleteObjects) {
if (deleteObjects) {
for (int i = 0; i < elementCount; i++) {
if (elements[i]) {
TxObject* tmp = elements[i];
elements[i] = 0;
//-- check for duplicates to avoid attempting to free memory that
//-- has already been freed
int idx = i+1;
for ( ; idx < elementCount; idx++) {
if (elements[idx] == tmp) elements[idx] = 0;
}
delete tmp;
}
}
elementCount = 0;
}
else clear();
} //-- clear(MBool);
/**
* Returns true if the specified TxObject is contained in the list.
* @param object the TxObject to search for
* @return true if specified object is contained in the list
**/
MBool ArrayList::contains(TxObject* object) {
return (MBool)(indexOf(object) >= 0);
} //-- contains
/**
* Copies the elements of this ArrayList, into the destination ArrayList
**/
void ArrayList::copyInto(ArrayList& dest) const {
for ( int i = 0; i < elementCount; i++ ) dest.add(elements[i]);
} //-- copyInto
/**
* Returns the TxObject at the specified position in this ArrayList.
* @param index the position of the object to return, if the index
* is out-of-bounds, 0 will be returned.
**/
TxObject* ArrayList::get(int index) {
if ((index < 0) || index >= elementCount) return 0;
return elements[index];
} //-- get
/**
* Returns the index of the specified object,
* or -1 if the object is not contained in the ArrayList
* @param object the TxObject to get the index of
**/
int ArrayList::indexOf(TxObject* object) {
for (int i = 0; i < elementCount; i++)
if (object == elements[i]) return i;
return -1;
} //-- indexOf
/**
* Removes the TxObject at the specified index
* @param index the position of the TxObject to remove
* @return the TxObject that was removed from the list
**/
TxObject* ArrayList::remove(int index) {
if ((index < 0) || (index >= elementCount)) return 0;
TxObject* object = elements[index];
shiftDown(index+1);
--elementCount;
return object;
} //-- remove
/**
* Removes the the specified TxObject from the list
* @param object the TxObject to remove from the list
* @return true if the object was removed from the list
**/
MBool ArrayList::remove(TxObject* object) {
int index = indexOf(object);
if (index > -1) {
remove(index);
}
else return MB_FALSE;
return MB_TRUE;
} //-- remove
/**
* Returns the number of elements in the ArrayList
* @return the number of elements in the ArrayList
**/
int ArrayList::size() const{
return elementCount;
} //-- size
//-------------------/
//- Private Methods -/
//-------------------/
/**
* increase the capacity by a factor of its initial size
**/
void ArrayList::increaseSize() {
if (initialSize == 0) bufferSize += DEFAULT_SIZE;
else bufferSize += initialSize;
TxObject** tmp = elements;
elements = new TxObject*[bufferSize];
int i=0;
for (;i < elementCount; i++) elements[i] = tmp[i];
for (;i<bufferSize;i++)elements[i] = 0;
delete [] tmp;
} //-- increaseSize
/**
* Shifts all elements at the specified index to down by 1
**/
void ArrayList::shiftDown(int index) {
if ((index <= 0) || (index > elementCount)) return;
for (int i = index; i < elementCount; i++) {
elements[i-1] = elements[i];
}
elements[elementCount-1] = 0;
} //-- shiftDown
/**
* Shifts all elements at the specified index up by 1
**/
void ArrayList::shiftUp(int index) {
if (index == elementCount) return;
if (elementCount == bufferSize) increaseSize();
//-- from Java
//-- System.arraycopy(elements, index, elements, index + 1, elementCount - index);
for (int i = elementCount; i > index; i--) {
elements[i] = elements[i-1];
}
} //-- shiftUp

View File

@@ -1,179 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is Keith Visco
* Portions created by Keith Visco are
* Copyright (C) 1999, 2000 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
*/
/**
* ArrayList is a simple array which will grow automatically, similar to
* the Vector class in that other more popular object oriented programming language.
**/
#ifndef TRANSFRMX_ARRAYLIST_H
#define TRANSFRMX_ARRAYLIST_H
#include "TxObject.h"
#include "baseutils.h"
class ArrayList {
public:
//----------------/
//- Constructors -/
//----------------/
/**
* Creates a new ArrayList with the default Size
**/
ArrayList();
/**
* Creates a new ArrayList with the specified Size
**/
ArrayList(int size);
/**
* Destructor for ArrayList, will not delete TxObject References
* by default
**/
virtual ~ArrayList();
/**
* Adds the specified TxObject to this ArrayList
* @param object the TxObject to add to the ArrayList
**/
void add(TxObject* object);
/**
* Adds the given TxObject to this ArrayList at the specified index.
* @param object the TxObject to add
* @return true if the object has been properly added at the correct index.
**/
MBool add(int index, TxObject* object);
/**
* Removes all elements from the list
**/
void clear();
/**
* Removes all elements from the list
* @param deleteObjects allows specifying whether or not to delete the TxObjects
* that are currently in the list
**/
void clear(MBool deleteObjects);
/**
* Returns true if the specified TxObject is contained in the list.
* @param object the TxObject to search for
* @return true if specified object is contained in the list
**/
MBool contains(TxObject* object);
/**
* Copies the elements of this ArrayList, into the destination ArrayList
**/
void copyInto(ArrayList& dest) const;
/**
* Returns the TxObject at the specified position in this ArrayList.
* @param index the position of the object to return, if the index
* is out-of-bounds, 0 will be returned.
**/
TxObject* get(int index);
/**
* Returns the index of the specified object,
* or -1 if the object is not contained in the ArrayList
* @param object the TxObject to get the index of
**/
int indexOf(TxObject* object);
/**
* Removes the TxObject at the specified index
* @param index the position of the TxObject to remove
* @return the TxObject that was removed from the list
**/
TxObject* remove(int index);
/**
* Removes the the specified TxObject from the list
* @param object the TxObject to remove from the list
* @return true if the object was removed from the list
**/
MBool remove(TxObject* object);
/**
* Returns the number of elements in the list
* @return the number of elements in the list
**/
int size() const;
private:
//-------------------/
//- Private Members -/
//-------------------/
static const int DEFAULT_SIZE;
TxObject** elements;
int initialSize;
int bufferSize;
/**
* The next available location in the elements array
**/
int elementCount;
//-------------------/
//- Private Methods -/
//-------------------/
/**
* Helper method for constructors
**/
void initialize(int size);
/**
* increase the NodeSet capacity by a factor of its initial size
**/
void increaseSize();
/**
* Shifts all elements at the specified index to down by 1
**/
void shiftDown(int index);
/**
* Shifts all elements at the specified index up by 1
**/
void shiftUp(int index);
}; //-- ArrayList
#endif

View File

@@ -1,80 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
*/
#include "CommandLineUtils.h"
void CommandLineUtils::getOptions
(NamedMap& options, int argc, char** argv, StringList& flags)
{
String arg;
String flag;
for (int i = 0; i < argc; i++) {
arg.clear();
arg.append(argv[i]);
if (!arg.isEmpty() && (arg.charAt(0) == '-')) {
// clean up previous flag
if (!flag.isEmpty()) {
options.put(flag, new String(arg));
flag.clear();
}
// get next flag
arg.subString(1,flag);
//-- check full flag, otherwise try to find
//-- flag within string
if (!flags.contains(flag)) {
PRUint32 idx = 1;
String tmpFlag;
while(idx <= flag.length()) {
flag.subString(0,idx, tmpFlag);
if (flags.contains(tmpFlag)) {
if (idx < flag.length()) {
String* value = new String();
flag.subString(idx, *value);
options.put(tmpFlag,value);
break;
}
}
else if (idx == flag.length()) {
cout << "invalid option: -" << flag << endl;
}
++idx;
}// end while
}
}// if flag char '-'
else {
// Store both flag key and number key
if (!flag.isEmpty())
options.put(flag, new String(arg));
flag.clear();
}
}// end for
if (!flag.isEmpty())
options.put(flag, new String("no value"));
} //-- getOptions

View File

@@ -1,40 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
*/
#ifndef TRANSFRMX_COMMANDLINEUTILS_H
#define TRANSFRMX_COMMANDLINEUTILS_H
#include "StringList.h"
#include "NamedMap.h"
class CommandLineUtils {
public:
static void getOptions
(NamedMap& options, int argc, char** argv, StringList& flags);
};
#endif

View File

@@ -1,275 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
*
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
* Larry Fitzpatrick, lef@opentext.com
*
* Eric Du, duxy@leyou.com.cn
* -- added fix for FreeBSD
*
* NaN/Infinity code copied from the JS-library with permission from
* Netscape Communications Corporation: http://www.mozilla.org/js
* http://lxr.mozilla.org/seamonkey/source/js/src/jsnum.h
*
*/
#include "primitives.h"
#include <math.h>
#include <stdlib.h>
#ifdef WIN32
#include <float.h>
#endif
//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
#ifdef __FreeBSD__
#include <ieeefp.h>
#endif
#ifndef TX_EXE
#include "prdtoa.h"
#else
#include <stdio.h>
#endif
/*
* Utility class for doubles
*/
//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
#ifdef __FreeBSD__
#ifdef __alpha__
fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
#else
fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;
#endif
fp_except_t oldmask = fpsetmask(~allmask);
#endif
/*
* Macros to workaround math-bugs bugs in various platforms
*/
#ifdef IS_BIG_ENDIAN
#define TX_DOUBLE_HI32(x) (((PRUint32 *)&(x))[0])
#define TX_DOUBLE_LO32(x) (((PRUint32 *)&(x))[1])
#else
#define TX_DOUBLE_HI32(x) (((PRUint32 *)&(x))[1])
#define TX_DOUBLE_LO32(x) (((PRUint32 *)&(x))[0])
#endif
#define TX_DOUBLE_HI32_SIGNBIT 0x80000000
#define TX_DOUBLE_HI32_EXPMASK 0x7ff00000
#define TX_DOUBLE_HI32_MANTMASK 0x000fffff
//-- Initialize Double related constants
#ifdef IS_BIG_ENDIAN
const PRUint32 nanMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK,
0xffffffff};
const PRUint32 infMask[2] = {TX_DOUBLE_HI32_EXPMASK, 0};
const PRUint32 negInfMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0};
#else
const PRUint32 nanMask[2] = {0xffffffff,
TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK};
const PRUint32 infMask[2] = {0, TX_DOUBLE_HI32_EXPMASK};
const PRUint32 negInfMask[2] = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT};
#endif
const double Double::NaN = *((double*)nanMask);
const double Double::POSITIVE_INFINITY = *((double*)infMask);
const double Double::NEGATIVE_INFINITY = *((double*)negInfMask);
/*
* Determines whether the given double represents positive or negative
* inifinity
*/
MBool Double::isInfinite(double aDbl)
{
return ((TX_DOUBLE_HI32(aDbl) & ~TX_DOUBLE_HI32_SIGNBIT) == TX_DOUBLE_HI32_EXPMASK &&
!TX_DOUBLE_LO32(aDbl));
}
/*
* Determines whether the given double is NaN
*/
MBool Double::isNaN(double aDbl)
{
return ((TX_DOUBLE_HI32(aDbl) & TX_DOUBLE_HI32_EXPMASK) == TX_DOUBLE_HI32_EXPMASK &&
(TX_DOUBLE_LO32(aDbl) || (TX_DOUBLE_HI32(aDbl) & TX_DOUBLE_HI32_MANTMASK)));
}
/*
* Determines whether the given double is negative
*/
MBool Double::isNeg(double aDbl)
{
return (TX_DOUBLE_HI32(aDbl) & TX_DOUBLE_HI32_SIGNBIT) != 0;
}
/*
* Converts the given String to a double, if the String value does not
* represent a double, NaN will be returned
*/
double Double::toDouble(const String& aSrc)
{
PRUint32 idx = 0;
PRUint32 len = aSrc.length();
MBool digitFound = MB_FALSE;
// leading whitespace
while (idx < len &&
(aSrc.charAt(idx) == ' ' ||
aSrc.charAt(idx) == '\n' ||
aSrc.charAt(idx) == '\r' ||
aSrc.charAt(idx) == '\t'))
++idx;
// sign char
if (idx < len && aSrc.charAt(idx) == '-')
++idx;
// integer chars
while (idx < len &&
aSrc.charAt(idx) >= '0' &&
aSrc.charAt(idx) <= '9') {
++idx;
digitFound = MB_TRUE;
}
// decimal separator
if (idx < len && aSrc.charAt(idx) == '.') {
++idx;
// fraction chars
while (idx < len &&
aSrc.charAt(idx) >= '0' &&
aSrc.charAt(idx) <= '9') {
++idx;
digitFound = MB_TRUE;
}
}
// ending whitespace
while (idx < len &&
(aSrc.charAt(idx) == ' ' ||
aSrc.charAt(idx) == '\n' ||
aSrc.charAt(idx) == '\r' ||
aSrc.charAt(idx) == '\t'))
++idx;
// "."==NaN, ".0"=="0."==0
if (digitFound && idx == len) {
char* buf = aSrc.toCharArray();
double res = buf ? atof(buf) : Double::NaN;
delete [] buf;
return res;
}
return Double::NaN;
}
/*
* Converts the value of the given double to a String, and places
* The result into the destination String.
* @return the given dest string
*/
String& Double::toString(double aValue, String& aDest)
{
// check for special cases
if (isNaN(aValue)) {
aDest.append("NaN");
return aDest;
}
if (isInfinite(aValue)) {
if (aValue < 0)
aDest.append('-');
aDest.append("Infinity");
return aDest;
}
int bufsize;
if (fabs(aValue) > 1)
bufsize = (int)log10(fabs(aValue)) + 30;
else
bufsize = 30;
char* buf = new char[bufsize];
if (!buf) {
NS_ASSERTION(0, "out of memory");
return aDest;
}
#ifndef TX_EXE
PRIntn intDigits, sign;
char* endp;
PR_dtoa(aValue, 0, 0, &intDigits, &sign, &endp, buf, bufsize-1);
if (sign)
aDest.append('-');
int i;
for (i = 0; i < endp - buf; i++) {
if (i == intDigits)
aDest.append('.');
aDest.append(buf[i]);
}
for (; i < intDigits; i++)
aDest.append('0');
#else
sprintf(buf, "%1.10f", aValue);
MBool deciPassed = MB_FALSE;
MBool printDeci = MB_FALSE;
int zeros=0;
int i;
for (i = 0; buf[i]; i++) {
if (buf[i] == '.') {
deciPassed = MB_TRUE;
printDeci = MB_TRUE;
}
else if (deciPassed && buf[i] == '0') {
zeros++;
}
else {
if (printDeci) {
aDest.append('.');
printDeci = MB_FALSE;
}
for ( ;zeros ;zeros--)
aDest.append('0');
aDest.append(buf[i]);
}
}
#endif
delete [] buf;
return aDest;
}

View File

@@ -1,100 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
*/
#ifndef MITRE_ERROROBSERVER_H
#define MITRE_ERROROBSERVER_H
#include "baseutils.h"
#include "TxString.h"
#include <iostream.h>
/**
* A simple interface for observing errors
**/
class ErrorObserver {
public:
enum ErrorLevel {FATAL = 0, NORMAL, WARNING};
/**
* Default Destructor for ErrorObserver
**/
virtual ~ErrorObserver() {};
/**
* Notifies this Error observer of a new error, with default
* level of NORMAL
**/
virtual void recieveError(String& errorMessage) = 0;
/**
* Notifies this Error observer of a new error using the given error level
**/
virtual void recieveError(String& errorMessage, ErrorLevel level) = 0;
}; //-- ErrorObserver
/**
* A simple ErrorObserver which allows printing error messages to a stream
**/
class SimpleErrorObserver : public ErrorObserver {
public:
/**
* Creates a new SimpleErrorObserver.
* All errors will be printed to the console (cout).
**/
SimpleErrorObserver();
/**
* Creates a new SimpleErrorObserver.
* All errors will be printed to the given ostream.
**/
SimpleErrorObserver(ostream& errStream);
virtual ~SimpleErrorObserver() {};
/**
* Notifies this Error observer of a new error, with default
* level of NORMAL
**/
virtual void recieveError(String& errorMessage);
/**
* Notifies this Error observer of a new error using the given error level
**/
virtual void recieveError(String& errorMessage, ErrorLevel level);
virtual void supressWarnings(MBool supress);
private:
ostream* errStream;
MBool hideWarnings;
}; //-- SimpleErrorObserver
#endif

View File

@@ -1,424 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
* Bob Miller, kbob@oblix.com
* -- plugged core leak.
*
* Jonas Sicking, sicking@bigfoot.com
* -- Cleanup/bugfix/features in Iterator
* Added tx prefix to classnames
*/
#include "List.h"
#ifdef TX_EXE
#include <iostream.h>
#endif
//----------------------------/
//- Implementation of txList -/
//----------------------------/
/**
* Default constructor for a txList;
**/
txList::txList() {
firstItem = 0;
lastItem = 0;
itemCount = 0;
} //-- txList;
/**
* txList destructor, cleans up ListItems, but will not delete the Object
* references
*/
txList::~txList() {
ListItem* item = firstItem;
while (item) {
ListItem* tItem = item;
item = item->nextItem;
delete tItem;
}
} //-- ~txList
void txList::insert(int index, void* objPtr) {
if (index >= itemCount) {
insertBefore(objPtr, 0);
}
else {
//-- add to middle of list
ListItem* nextItem = firstItem;
for (int i = 0; i < index; i++)
nextItem = nextItem->nextItem;
insertBefore(objPtr, nextItem);
}
} //-- insert
void txList::add(void* objPtr) {
insertBefore(objPtr, 0);
} //-- add
/**
* Returns the object located at the given index. This may
* be slow or fast depending on the implementation.
* Note:
* Currently this list is implemented via a linked list, so
* this method will be slow (unless the list only has a couple
* members) as it will need traverse the links each time
* @return the object located at the given index
**/
void* txList::get(int index) {
if (index < 0 || index >= itemCount)
return 0;
int c = 0;
ListItem* item = firstItem;
while ((c != index) && item) {
item = item->nextItem;
++c;
}
if (item)
return item->objPtr;
return 0;
} //-- get(int)
txList::ListItem* txList::getFirstItem() {
return firstItem;
} //-- getFirstItem
txList::ListItem* txList::getLastItem() {
return lastItem;
} //-- getLastItem
/**
* Returns the number of items in this txList
**/
PRInt32 List::getLength() {
return itemCount;
} //-- getLength
/**
* Inserts the given Object pointer as the item just after refItem.
* If refItem is a null pointer the Object will be inserted at the
* beginning of the txList (ie, insert after nothing).
* This method assumes refItem is a member of this list, and since this
* is a private method, I feel that's a valid assumption
**/
void txList::insertAfter(void* objPtr, ListItem* refItem) {
//-- if refItem == null insert at front
if (!refItem)
insertBefore(objPtr, firstItem);
else
insertBefore(objPtr, refItem->nextItem);
} //-- insertAfter
/**
* Inserts the given Object pointer as the item just before refItem.
* If refItem is a null pointer the Object will be inserted at the
* end of the txList (ie, insert before nothing).
* This method assumes refItem is a member of this list, and since this
* is a private method, I feel that's a valid assumption
**/
void txList::insertBefore(void* objPtr, ListItem* refItem) {
ListItem* item = new ListItem;
if (!item)
return;
item->objPtr = objPtr;
item->nextItem = 0;
item->prevItem = 0;
//-- if refItem == null insert at end
if (!refItem) {
//-- add to back of list
if (lastItem) {
lastItem->nextItem = item;
item->prevItem = lastItem;
}
lastItem = item;
if (!firstItem)
firstItem = item;
}
else {
//-- insert before given item
item->nextItem = refItem;
item->prevItem = refItem->prevItem;
refItem->prevItem = item;
if (item->prevItem)
item->prevItem->nextItem = item;
else
firstItem = item;
}
// increase the item count
++itemCount;
} //-- insertBefore
/**
* Returns a txListIterator for this txList
**/
txListIterator* txList::iterator() {
return new txListIterator(this);
}
void* txList::remove(void* objPtr) {
ListItem* item = firstItem;
while (item) {
if (item->objPtr == objPtr) {
remove(item);
delete item;
return objPtr;
}
item = item->nextItem;
}
// not in list
return 0;
} //-- remove
txList::ListItem* txList::remove(ListItem* item) {
if (!item)
return item;
//-- adjust the previous item's next pointer
if (item->prevItem) {
item->prevItem->nextItem = item->nextItem;
}
//-- adjust the next item's previous pointer
if (item->nextItem) {
item->nextItem->prevItem = item->prevItem;
}
//-- adjust first and last items
if (item == firstItem)
firstItem = item->nextItem;
if (item == lastItem)
lastItem = item->prevItem;
//-- decrease Item count
--itemCount;
return item;
} //-- remove
//------------------------------------/
//- Implementation of txListIterator -/
//------------------------------------/
/**
* Creates a new txListIterator for the given txList
* @param list, the txList to create an Iterator for
**/
txListIterator::txListIterator(txList* list) {
this->list = list;
currentItem = 0;
atEndOfList = MB_FALSE;
} //-- txListIterator
txListIterator::~txListIterator() {
//-- overrides default destructor to do nothing
} //-- ~txListIterator
/**
* Adds the Object pointer to the txList pointed to by this txListIterator.
* The Object pointer is inserted as the next item in the txList
* based on the current position within the txList
* @param objPtr the Object pointer to add to the list
**/
void txListIterator::addAfter(void* objPtr) {
if (currentItem || !atEndOfList)
list->insertAfter(objPtr, currentItem);
else
list->insertBefore(objPtr, 0);
} //-- addAfter
/**
* Adds the Object pointer to the txList pointed to by this txListIterator.
* The Object pointer is inserted as the previous item in the txList
* based on the current position within the txList
* @param objPtr the Object pointer to add to the list
**/
void txListIterator::addBefore(void* objPtr) {
if (currentItem || atEndOfList)
list->insertBefore(objPtr, currentItem);
else
list->insertAfter(objPtr, 0);
} //-- addBefore
/**
* Returns true if a sucessful call to the next() method can be made
* @return MB_TRUE if a sucessful call to the next() method can be made,
* otherwise MB_FALSE
**/
MBool txListIterator::hasNext() {
MBool hasNext = MB_FALSE;
if (currentItem)
hasNext = (currentItem->nextItem != 0);
else if (!atEndOfList)
hasNext = (list->firstItem != 0);
return hasNext;
} //-- hasNext
/**
* Returns true if a sucessful call to the previous() method can be made
* @return MB_TRUE if a sucessful call to the previous() method can be made,
* otherwise MB_FALSE
**/
MBool txListIterator::hasPrevious() {
MBool hasPrevious = MB_FALSE;
if (currentItem)
hasPrevious = (currentItem->prevItem != 0);
else if (atEndOfList)
hasPrevious = (list->lastItem != 0);
return hasPrevious;
} //-- hasPrevious
/**
* Returns the next Object pointer in the list
**/
void* txListIterator::next() {
void* obj = 0;
if (currentItem)
currentItem = currentItem->nextItem;
else if (!atEndOfList)
currentItem = list->firstItem;
if (currentItem)
obj = currentItem->objPtr;
else
atEndOfList = MB_TRUE;
return obj;
} //-- next
/**
* Returns the previous Object in the list
**/
void* txListIterator::previous() {
void* obj = 0;
if (currentItem)
currentItem = currentItem->prevItem;
else if (atEndOfList)
currentItem = list->lastItem;
if (currentItem)
obj = currentItem->objPtr;
atEndOfList = MB_FALSE;
return obj;
} //-- previous
/**
* Returns the current Object
**/
void* txListIterator::current() {
if (currentItem)
return currentItem->objPtr;
return 0;
} //-- current
/**
* Moves the specified number of steps
**/
void* txListIterator::advance(int i) {
void* obj = 0;
if (i > 0) {
if (!currentItem && !atEndOfList) {
currentItem = list->firstItem;
--i;
}
for (; currentItem && i > 0; i--)
currentItem = currentItem->nextItem;
atEndOfList = currentItem == 0;
}
else if (i < 0) {
if (!currentItem && atEndOfList) {
currentItem = list->lastItem;
++i;
}
for (; currentItem && i < 0; i++)
currentItem = currentItem->prevItem;
atEndOfList = MB_FALSE;
}
if (currentItem)
obj = currentItem->objPtr;
return obj;
} //-- advance
/**
* Removes the Object last returned by the next() or previous() methods;
* @return the removed Object pointer
**/
void* txListIterator::remove() {
void* obj = 0;
if (currentItem) {
obj = currentItem->objPtr;
txList::ListItem* item = currentItem;
previous(); //-- make previous item the current item
list->remove(item);
delete item;
}
return obj;
} //-- remove
/**
* Resets the current location within the txList to the beginning of the txList
**/
void txListIterator::reset() {
atEndOfList = MB_FALSE;
currentItem = 0;
} //-- reset
/**
* Move the iterator to right after the last element
**/
void txListIterator::resetToEnd() {
atEndOfList = MB_TRUE;
currentItem = 0;
} //-- moveToEnd

View File

@@ -1,221 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
* Jonas Sicking, sicking@bigfoot.com
* -- Cleanup/bugfix/features in Iterator
* Added tx prefix to classnames
*
*/
#ifndef TRANSFRMX_LIST_H
#define TRANSFRMX_LIST_H
#include "baseutils.h"
#include "TxObject.h"
class txListIterator;
/**
* Represents an ordered list of Object pointers. Modeled after a Java 2 List.
**/
class txList : public TxObject {
friend class txListIterator;
public:
/**
* Creates an empty txList
**/
txList();
/**
* txList destructor, object references will not be deleted.
**/
virtual ~txList();
/**
* Returns the object located at the given index. This may
* be slow or fast depending on the implementation.
* @return the object located at the given index
**/
void* get(int index);
/**
* Returns the number of items in this txList
**/
PRInt32 getLength();
/**
* Returns a txListIterator for this txList
**/
txListIterator* iterator();
/**
* Adds the given Object to the specified position in the list
**/
void insert(int index, void* objPtr);
/**
* Adds the given Object to the list
**/
void add(void* objPtr);
/**
* Removes the given Object pointer from the list
**/
void* remove(void* objPtr);
protected:
struct ListItem {
ListItem* nextItem;
ListItem* prevItem;
void* objPtr;
};
ListItem* getFirstItem();
ListItem* getLastItem();
/**
* Removes the given ListItem pointer from the list
**/
ListItem* remove(ListItem* sItem);
private:
ListItem* firstItem;
ListItem* lastItem;
PRInt32 itemCount;
void insertAfter(void* objPtr, ListItem* sItem);
void insertBefore(void* objPtr, ListItem* sItem);
};
/**
* An Iterator for the txList Class
**/
class txListIterator {
public:
/**
* Creates a new txListIterator for the given txList
* @param list, the txList to create an Iterator for
**/
txListIterator(txList* list);
/**
* Destructor, destroys a given instance of a txListIterator
**/
virtual ~txListIterator();
/**
* Adds the Object pointer to the txList pointed to by this txListIterator.
* The Object pointer is inserted as the next item in the txList
* based on the current position within the txList
* @param objPtr the Object pointer to add to the list
**/
virtual void addAfter(void* objPtr);
/**
* Adds the Object pointer to the txList pointed to by this txListIterator.
* The Object pointer is inserted as the previous item in the txList
* based on the current position within the txList
* @param objPtr the Object pointer to add to the list
**/
virtual void addBefore(void* objPtr);
/**
* Returns true if a sucessful call to the next() method can be made
* @return MB_TRUE if a sucessful call to the next() method can be made,
* otherwise MB_FALSE
**/
virtual MBool hasNext();
/**
* Returns true if a sucessful call to the previous() method can be made
* @return MB_TRUE if a sucessful call to the previous() method can be made,
* otherwise MB_FALSE
**/
virtual MBool hasPrevious();
/**
* Returns the next Object pointer from the list
**/
virtual void* next();
/**
* Returns the previous Object pointer from the list
**/
virtual void* previous();
/**
* Returns the current Object
**/
virtual void* current();
/**
* Moves the specified number of steps
**/
virtual void* advance(int i);
/**
* Removes the Object last returned by the next() or previous() methods;
* @return the removed Object pointer
**/
virtual void* remove();
/**
* Resets the current location within the txList to the beginning of the txList
**/
virtual void reset();
/**
* Resets the current location within the txList to the end of the txList
**/
virtual void resetToEnd();
private:
//-- points to the current list item
txList::ListItem* currentItem;
//-- points to the list to iterator over
txList* list;
//-- we've moved off the end of the list
MBool atEndOfList;
};
typedef txList List;
typedef txListIterator ListIterator;
#endif

View File

@@ -1,63 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Transformiix XSLT Processor.
#
# The Initial Developer of the Original Code is Axel Hecht.
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
# All Rights Reserved.
#
# Contributor(s):
# Axel Hecht <axel@pike.org>
#
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
ifndef TX_EXE
MODULE = transformiix
REQUIRES = string \
xpcom \
unicharutil \
dom \
content \
widget \
$(NULL)
endif
CPPSRCS = ArrayList.cpp \
Double.cpp \
List.cpp \
Map.cpp \
TxObjectWrapper.cpp \
NamedMap.cpp \
SimpleErrorObserver.cpp \
Stack.cpp \
StringList.cpp \
Tokenizer.cpp \
txAtoms.cpp \
txExpandedNameMap.cpp
ifdef TX_EXE
CPPSRCS += CommandLineUtils.cpp \
TxString.cpp
endif
include $(topsrcdir)/config/rules.mk
INCLUDES += -I$(srcdir)/../xpath -I$(srcdir)/../xslt -I$(srcdir)/../xml \
-I$(srcdir)/../xml/dom -I$(srcdir)
libs:: $(OBJS)

View File

@@ -1,269 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is XSL:P XSLT processor.
*
* The Initial Developer of the Original Code is Keith Visco.
*
* Portions created by Keith Visco (C) 1999-2000 Keith Visco.
* All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
*/
/*
* A Hashtable for TxObjects
*/
#include "Map.h"
//-------------/
//- Constants -/
//-------------/
const int Map::DEFAULT_SIZE = 13;
//----------------/
//- Constructors -/
//----------------/
/**
* Creates a new Map with the default Size
**/
Map::Map() {
initialize(DEFAULT_SIZE);
} //-- Map
/**
* Creates a new Map with the specified number of buckets
**/
Map::Map(int size) {
initialize(size);
} //-- Map
/**
* Helper method for Constructors
**/
void Map::initialize(PRInt32 size) {
//-- by default the Map will not delete it's
//-- object references
mOwnership = eOwnsNone;
//-- create a new array of bucket pointers
elements = new BucketItem*[size];
//-- initialize all elements to 0;
for ( PRInt32 i = 0; i < size; i++ ) elements[i] = 0;
numberOfBuckets = size;
numberOfElements = 0;
} //-- initialize
/**
* Destructor for Map
**/
Map::~Map() {
clear();
delete [] elements;
} //-- ~Map
/**
* Removes all elements from the Map. Deletes objects according
* to the mOwnership attribute
**/
void Map::clear() {
for (int i = 0; i < numberOfBuckets; i++) {
BucketItem* bktItem = elements[i];
while (bktItem) {
BucketItem* tItem = bktItem;
bktItem = bktItem->next;
if (mOwnership & eOwnsItems)
delete tItem->item;
if (mOwnership & eOwnsKeys)
delete tItem->key;
//--delete tItem;
delete tItem;
}
}
numberOfElements = 0;
} //-- clear
/**
* Returns the object reference in this Map associated with the given key
* @return the object reference in this Map associated with the given key
**/
TxObject* Map::get(TxObject* key) {
BucketItem* item = getBucketItem(key);
if ( item ) return item->item;
return 0;
} //-- get
/**
* Returns true if there are no objects in this map.
* @return true if there are no objects in this map.
**/
MBool Map::isEmpty() {
return (numberOfElements == 0) ? MB_TRUE : MB_FALSE;
} //-- isEmpty
/**
* Returns a List of all the keys in this Map.
* Please delete this List when you are done with it
**/
List* Map::keys() {
List* list = new List();
for (int i = 0; i < numberOfBuckets; i++) {
BucketItem* item = elements[i];
while (item) {
list->add(item->key);
item = item->next;
}
}
return list;
} //-- keys
/**
* Adds the TxObject reference to the map and associates it with the given
* key
**/
void Map::put(TxObject* key, TxObject* obj) {
if ((!key) || (!obj)) return;
//-- compute hash for key
PRUint32 hashCode = key->hashCode();
//-- calculate index
int idx = hashCode % numberOfBuckets;
//-- fetch first item in bucket
BucketItem* bktItem = elements[idx];
//-- if bktItem is 0 then there are no items is this Bucket,
//-- add to front of list
if ( !bktItem ) {
elements[idx] = createBucketItem(key, obj);
++numberOfElements;
}
//-- find current item, or add to end of list
else {
BucketItem* prevItem = bktItem;
//-- advance to next spot
while ( bktItem ) {
//-- if current key equals desired key, break
if ( bktItem->key->equals(key) ) {
break;
}
prevItem = bktItem;
bktItem = bktItem->next;
}
//-- if we did not find a bucket Item create a new one
if ( !bktItem) {
bktItem = createBucketItem(key, obj);
prevItem->next = bktItem;
bktItem->prev = prevItem;
++numberOfElements;
}
//-- we found bucket item, just set value
else bktItem->item = obj;
}
} //-- put
/**
* Removes the the specified TxObject from the Map
* @param key the TxObject which is used to calculate the hashCode of
* the TxObject to remove from the Map
* @return the TxObject removed from the Map
**/
TxObject* Map::remove(TxObject* key) {
if (!key) return 0;
// compute hash for key
PRUint32 hashCode = key->hashCode();
int idx = hashCode % numberOfBuckets;
BucketItem* bktItem = elements[idx];
while ( bktItem ) {
if ( bktItem->key->equals(key) ) break;
bktItem = bktItem->next;
}
if ( bktItem ) {
if (bktItem == elements[idx]) elements[idx] = bktItem->next;
else bktItem->prev->next = bktItem->next;
numberOfElements--;
TxObject* txObject = bktItem->item;
bktItem->item = 0;
delete bktItem;
return txObject;
}
return 0;
} //-- remove
/**
* Sets the ownership flag.
**/
void Map::setOwnership(txMapOwnership aOwnership) {
mOwnership = aOwnership;
} //-- setOwnership
/**
* Returns the number of key-object pairs in the Map
* @return the number of key-object pairs in the Map
**/
int Map::size() {
return numberOfElements;
} //-- size
//-------------------/
//- Private Methods -/
//-------------------/
Map::BucketItem* Map::createBucketItem(TxObject* key, TxObject* obj)
{
BucketItem* bktItem = new BucketItem;
bktItem->next = 0;
bktItem->prev = 0;
bktItem->key = key;
bktItem->item = obj;
return bktItem;
} //-- createBucketItem
Map::BucketItem* Map::getBucketItem(TxObject* key) {
// compute hash for key
PRUint32 hashCode = key->hashCode();
int idx = hashCode % numberOfBuckets;
BucketItem* bktItem = elements[idx];
while ( bktItem ) {
if ( bktItem->key->equals(key) ) return bktItem;
bktItem = bktItem->next;
}
return bktItem;
} //-- getBucketItem

View File

@@ -1,167 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is XSL:P XSLT processor.
*
* The Initial Developer of the Original Code is Keith Visco.
*
* Portions created by Keith Visco (C) 1999-2000 Keith Visco.
* All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
*/
/*
* A Hashtable for TxObjects
*/
#ifndef TRANSFRMX_MAP_H
#define TRANSFRMX_MAP_H
#include "baseutils.h"
#include "TxObject.h"
#include "List.h"
class Map : public TxObject {
public:
//----------------/
//- Constructors -/
//----------------/
/**
* Creates a new Map with the default Size
**/
Map();
/**
* Creates a new Map with the specified number of buckets
**/
Map(int size);
/**
* Destructor for a Map table, will not delete references unless
* The setObjectDeletion flag has been set to MB_TRUE
**/
virtual ~Map();
/**
* Returns a list of all the keys of this Map.
*
* You will need to delete this List when you are done with it.
**/
List* keys();
/**
* Returns the object reference in this Map associated with the given name
* @return the object reference in this Map associated with the given name
**/
TxObject* get(TxObject* key);
/**
* Adds the TxObject reference to the map and associates it with the given
* key
**/
void put(TxObject* key, TxObject* obj);
/**
* enum used when setting ownership
**/
enum txMapOwnership
{
eOwnsNone = 0x00,
eOwnsItems = 0x01,
eOwnsKeys = 0x02,
eOwnsKeysAndItems = eOwnsItems | eOwnsKeys
};
/**
* Removes all elements from the Map. Deletes objects according
* to the mOwnership attribute
**/
void clear();
/**
* Returns true if there are no elements in this Map
* @return true if there are no elements in this Map.
**/
MBool isEmpty();
// THIS IS DEPRECATED
TxObject* remove(TxObject* key);
// THIS IS DEPRECATED, use setOwnership
void setObjectDeletion(MBool deleteObjects)
{
setOwnership(deleteObjects ? eOwnsKeysAndItems : eOwnsNone );
}
/**
* Sets the ownership attribute.
**/
void setOwnership(txMapOwnership aOwnership);
/**
* Returns the number of key-element pairs in the Map
* @return the number of key-element in the Map
**/
int size();
//-------------------/
//- Private Members -/
//-------------------/
private:
struct BucketItem {
TxObject* key;
TxObject* item;
BucketItem* next;
BucketItem* prev;
};
static const int DEFAULT_SIZE;
// map table
BucketItem** elements;
PRInt32 numberOfBuckets;
PRInt32 numberOfElements;
/**
* The ownership flag. Used to decide which objects are
* owned by the map and thus should be deleted when released
**/
txMapOwnership mOwnership;
//-------------------/
//- Private Methods -/
//-------------------/
BucketItem* createBucketItem(TxObject* key, TxObject* objPtr);
BucketItem* getBucketItem(TxObject* key);
/**
* Helper method for constructors
**/
void initialize(int size);
}; //-- NamedMap
#endif

View File

@@ -1,329 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
* Bob Miller, Oblix Inc., kbob@oblix.com
* -- fixed memory leak in NamedMap::hashKey method by deleting
* up char[] chars;
*
*/
/**
* A Named Map for TxObjects
**/
#include "NamedMap.h"
//-------------/
//- Constants -/
//-------------/
const int NamedMap::DEFAULT_SIZE = 17;
//----------------/
//- Constructors -/
//----------------/
/**
* Creates a new NamedMap with the default Size
**/
NamedMap::NamedMap() {
initialize(DEFAULT_SIZE);
} //-- NamedMap
/**
* Creates a new NamedMap with the specified number of buckets
**/
NamedMap::NamedMap(int size) {
initialize(size);
} //-- NamedMap
/**
* Helper method for Constructors
**/
void NamedMap::initialize(PRInt32 size) {
//-- by default the NamedMap will not delete it's
//-- object references
doObjectDeletion = MB_FALSE;
//-- create a new array of bucket pointers
elements = new BucketItem*[size];
//-- initialize all elements to 0;
for ( PRInt32 i = 0; i < size; i++ ) elements[i] = 0;
numberOfBuckets = size;
numberOfElements = 0;
} //-- initialize
/**
* Destructor for NamedMap
**/
NamedMap::~NamedMap() {
clear();
delete [] elements;
} //-- ~NamedMap
/**
* Removes all elements from the NamedMap. If the object deletion flag
* has been set to true (by a call to setObjectDeletion) objects
* will also be deleted as they are removed from the map
**/
void NamedMap::clear() {
clear(doObjectDeletion);
} //-- clear
/**
* Removes all elements from the NamedMap
**/
void NamedMap::clear(MBool deleteObjects) {
for (int i = 0; i < numberOfBuckets; i++) {
BucketItem* bktItem = elements[i];
while (bktItem) {
BucketItem* tItem = bktItem;
bktItem = bktItem->next;
//-- repoint item to 0 to prevent deletion
if ( ! deleteObjects ) tItem->item = 0;
else {
delete tItem->item;
}
//--delete tItem;
delete tItem;
}
}
numberOfElements = 0;
} //-- clear
void NamedMap::dumpMap() {
#if 0
// XXX DEBUG OUTPUT
cout << "#NamedMap -------- { "<<endl;
for (int i = 0; i < numberOfBuckets; i++) {
cout << "[";
if (i < 10 ) cout << '0';
cout << i << "]->{";
BucketItem* item = elements[i];
MBool hasPrevItem = MB_FALSE;
while (item) {
if (hasPrevItem) cout << ", ";
cout << item->key;
hasPrevItem = MB_TRUE;
item = item->next;
}
cout << "}"<<endl;
}
cout <<"} #NamedMap"<<endl;
#endif
} //-- dumpMap
/**
* Returns the object reference in this Map associated with the given name
* @return the object reference in this Map associated with the given name
**/
TxObject* NamedMap::get(const String& key) {
BucketItem* item = getBucketItem(key);
if ( item ) return item->item;
return 0;
} //-- get
/**
* Returns true if there are no objects in this map.
* @return true if there are no objects in this map.
**/
MBool NamedMap::isEmpty() {
return (numberOfElements == 0) ? MB_TRUE : MB_FALSE;
} //-- isEmpty
/**
* Returns a StringList of all the keys in this NamedMap.
* Please delete this List when you are done with it
**/
StringList* NamedMap::keys() {
StringList* list = new StringList();
if (!list)
return NULL;
for (int i = 0; i < numberOfBuckets; i++) {
BucketItem* item = elements[i];
while (item) {
list->add(new String(item->key));
item = item->next;
}
}
return list;
} //-- keys
/**
* Adds the specified Node to the top of this Stack.
* @param node the Node to add to the top of the Stack
**/
void NamedMap::put(const String& key, TxObject* obj) {
//-- compute hash for key
unsigned long hashCode = hashKey(key);
//-- calculate index
int idx = hashCode % numberOfBuckets;
//-- fetch first item in bucket
BucketItem* bktItem = elements[idx];
//-- if bktItem is 0 then there are no items is this Bucket,
//-- add to front of list
if ( !bktItem ) {
elements[idx] = createBucketItem(key, obj);
++numberOfElements;
}
//-- find current item, or add to end of list
else {
BucketItem* prevItem = bktItem;
//-- advance to next spot
while ( bktItem ) {
//-- if current key equals desired key, break
if ( bktItem->key.isEqual(key) ) {
break;
}
prevItem = bktItem;
bktItem = bktItem->next;
}
//-- if we did not find a bucket Item create a new one
if ( !bktItem) {
bktItem = createBucketItem(key, obj);
prevItem->next = bktItem;
bktItem->prev = prevItem;
++numberOfElements;
}
//-- we found bucket item, just set value
else {
if (doObjectDeletion)
delete bktItem->item;
bktItem->item = obj;
}
}
} //-- put
/**
* Removes the the specified Object from the NamedMap
* @param key the key of the Object to remove from the NamedMap
* @return the Object being removed
**/
TxObject* NamedMap::remove(const String& key) {
// compute hash for key
long hashCode = hashKey(key);
int idx = hashCode % numberOfBuckets;
BucketItem* bktItem = elements[idx];
while ( bktItem && !(key.isEqual(bktItem->key))) {
bktItem = bktItem->next;
}
if ( bktItem ) {
if (bktItem == elements[idx]) elements[idx] = bktItem->next;
else {
bktItem->prev->next = bktItem->next;
if (bktItem->next)
bktItem->next->prev = bktItem->prev;
};
numberOfElements--;
TxObject* txObject = bktItem->item;
bktItem->item = 0;
delete bktItem;
return txObject;
}
return 0;
} //-- remove
/**
* Sets the object deletion flag. If set to true, objects in
* the NamedMap will be deleted upon calling the clear() method, or
* upon destruction. By default this is false.
**/
void NamedMap::setObjectDeletion(MBool deleteObjects) {
doObjectDeletion = deleteObjects;
} //-- setObjectDeletion
/**
* Returns the number of elements in the NodeStack
* @return the number of elements in the NodeStack
**/
int NamedMap::size() {
return numberOfElements;
} //-- size
//-------------------/
//- Private Methods -/
//-------------------/
NamedMap::BucketItem* NamedMap::createBucketItem(const String& key, TxObject* objPtr)
{
BucketItem* bktItem = new BucketItem;
if (bktItem) {
bktItem->next = 0;
bktItem->prev = 0;
bktItem->key = key;
bktItem->item = objPtr;
}
return bktItem;
} //-- createBucketItem
NamedMap::BucketItem* NamedMap::getBucketItem(const String& key) {
// compute hash for key
long hashCode = hashKey(key);
int idx = hashCode % numberOfBuckets;
BucketItem* bktItem = elements[idx];
while ( bktItem ) {
if ( bktItem->key.isEqual(key) ) return bktItem;
bktItem = bktItem->next;
}
return bktItem;
} //-- getBucketItem
/**
**/
unsigned long NamedMap::hashKey(const String& key)
{
PRUint32 len = key.length();
unsigned long hashCode = 0;
for (PRUint32 i = 0; i < len; i++) {
hashCode += ((PRInt32)key.charAt(i)) << 3;
}
return hashCode;
} //-- hashKey

View File

@@ -1,160 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
*/
/**
* A Named Map for TxObjects
**/
#ifndef TRANSFRMX_NAMEDMAP_H
#define TRANSFRMX_NAMEDMAP_H
#include "baseutils.h"
#include "TxObject.h"
#include "StringList.h"
class NamedMap : public TxObject {
public:
//----------------/
//- Constructors -/
//----------------/
/**
* Creates a new NodeStack with the default Size
**/
NamedMap();
/**
* Creates a new NodeStack with the specified number of buckets
**/
NamedMap(int size);
/**
* Destructor for a NamedMap table, will not delete references unless
* The setObjectDeletion flag has been set to MB_TRUE
**/
virtual ~NamedMap();
/**
* Returns a list of all the keys of this NamedMap.
*
* You will need to delete this List when you are done with it.
**/
StringList* keys();
/**
* Returns the object reference in this Map associated with the given name
* @return the object reference in this Map associated with the given name
**/
TxObject* get(const String& name);
/**
* Adds the Object reference to the map and associates it with the given name
**/
void put(const String& name, TxObject* obj);
/**
* Removes all elements from the Map table
**/
void clear();
void clear(MBool doObjectDeletion);
/**
* Returns true if there are no Nodes in the NodeSet.
* @return true if there are no Nodes in the NodeSet.
**/
MBool isEmpty();
/**
* Removes the Node at the specified index from the NodeSet
* @param index the position in the NodeSet to remove the Node from
* @return the Node that was removed from the list
**/
TxObject* remove(const String& key);
/**
* Sets the object deletion flag. If set to true, objects in
* the NamedMap will be deleted upon calling the clear() method, or
* upon destruction. By default this is false.
**/
void setObjectDeletion(MBool deleteObjects);
/**
* Returns the number of key-element pairs in the NamedMap
* @return the number of key-element in the NamedMap
**/
int size();
void dumpMap();
//-------------------/
//- Private Members -/
//-------------------/
private:
struct BucketItem {
String key;
TxObject* item;
BucketItem* next;
BucketItem* prev;
};
static const int DEFAULT_SIZE;
// map table
BucketItem** elements;
PRInt32 numberOfBuckets;
PRInt32 numberOfElements;
MBool doObjectDeletion;
//-------------------/
//- Private Methods -/
//-------------------/
BucketItem* createBucketItem(const String& key, TxObject* objPtr);
BucketItem* getBucketItem(const String& key);
unsigned long hashKey(const String& key);
/**
* Helper method for constructors
**/
void initialize(int size);
}; //-- NamedMap
#endif

View File

@@ -1,84 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
*/
#include "ErrorObserver.h"
/**
* Creates a new SimpleErrorObserver.
* All errors will be printed to the console (cout).
**/
SimpleErrorObserver::SimpleErrorObserver() {
#ifdef TX_EXE
errStream = &cout;
#endif
hideWarnings = MB_FALSE;
} //-- SimpleErrorObserver
/**
* Creates a new SimpleErrorObserver.
* All errors will be printed to the given ostream.
**/
SimpleErrorObserver::SimpleErrorObserver(ostream& errStream) {
this->errStream = &errStream;
hideWarnings = MB_FALSE;
} //-- SimpleErrorObserver
/**
* Notifies this Error observer of a new error, with default
* level of NORMAL
**/
void SimpleErrorObserver::recieveError(String& errorMessage) {
#ifdef TX_EXE
*errStream << "error: " << errorMessage << endl;
errStream->flush();
#endif
} //-- recieveError
/**
* Notifies this Error observer of a new error using the given error level
**/
void SimpleErrorObserver::recieveError(String& errorMessage, ErrorLevel level) {
#ifdef TX_EXE
switch ( level ) {
case ErrorObserver::FATAL :
*errStream << "fatal error: ";
break;
case ErrorObserver::WARNING :
if ( hideWarnings ) return;
*errStream << "warning: ";
break;
default:
*errStream << "error: ";
break;
}
*errStream << errorMessage << endl;
errStream->flush();
#endif
} //-- recieveError
void SimpleErrorObserver::supressWarnings(MBool supress) {
this->hideWarnings = supress;
} //-- supressWarnings

View File

@@ -1,112 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
* Larry Fitzpatrick, lef@opentext.com
* -- 19990806
* - In method ::peek() changed ListItem::ListItem to List::ListItem
*
*/
/**
* Stack
**/
#include "Stack.h"
//-------------/
//- Stack.cpp -/
//-------------/
/**
* Creates a new Stack
**/
Stack::Stack() : List() {
} //-- Stack
/**
* Destructor for Stack, will not delete Object references
**/
Stack::~Stack() {
//-- the base destructor for List will do all clean up
}
/**
* Returns an iterator that will iterator over the Stack, from the topmost
* element to the bottom element.
* You will need to delete this Iterator when you are done
**/
StackIterator* Stack::iterator() {
return (StackIterator*)List::iterator();
} //-- iterator
/**
* Returns the specified Object from the top of this Stack,
* without removing it from the stack.
* @return a pointer to the object that is the top of this Stack
**/
void* Stack::peek() {
void* obj = 0;
List::ListItem* item = getFirstItem();
if ( item ) obj = item->objPtr;
return obj;
} //-- peek
/**
* Adds the specified Object to the top of this Stack.
* @param obj a pointer to the object that is to be added to the
* top of this Stack
**/
void Stack::push(void* obj) {
insert(0,obj);
} //-- push
/**
* Removes and returns the specified Object from the top of this Stack.
* @return a pointer to the object that was the top of this Stack
**/
void* Stack::pop() {
void* obj = 0;
ListItem* item = getFirstItem();
if ( item ) obj = item->objPtr;
item = remove(item);
item->objPtr = 0;
delete item;
return obj;
} //-- pop
/**
* Returns true if there are no objects in the Stack.
* @return true if there are no objects in the Stack.
**/
MBool Stack::empty() {
return (MBool) (getLength() == 0);
} //-- empty
/**
* Returns the number of elements in the Stack
* @return the number of elements in the Stack
**/
int Stack::size() {
return getLength();
} //-- size

View File

@@ -1,96 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
*/
/**
* Stack
**/
#ifndef MITRE_STACK_H
#define MITRE_STACK_H
#include "List.h"
#include "baseutils.h"
typedef ListIterator StackIterator;
class Stack : private List {
public:
//----------------/
//- Constructors -/
//----------------/
/**
* Creates a new Stack
**/
Stack();
/**
* Destructor for Stack, will not delete Object references
**/
virtual ~Stack();
StackIterator* iterator();
/**
* Returns the specified Object from the top of this Stack,
* without removing it from the stack.
* @return a pointer to the object that is the top of this Stack
**/
void* peek();
/**
* Adds the specified Object to the top of this Stack.
* @param obj a pointer to the object that is to be added to the
* top of this Stack
**/
void push(void* obj);
/**
* Removes and returns the specified Object from the top of this Stack.
* @return a pointer to the object that was the top of this Stack
**/
void* pop();
/**
* Returns true if there are no objects in the Stack.
* @return true if there are no objects in the Stack.
**/
MBool empty();
/**
* Returns the number of elements in the Stack
* @return the number of elements in the Stack
**/
int size();
private:
}; //-- Stack
#endif

View File

@@ -1,321 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
* Bob Miller, kbob@oblix.com
* -- plugged core leak.
*
*/
/**
* StringList
**/
#ifdef TX_EXE
#include <iostream.h>
#endif
#include "StringList.h"
/**
* Creates an empty list
**/
StringList::StringList() {
firstItem = 0;
lastItem = 0;
itemCount = 0;
} //-- StringList;
/**
* StringList Destructor, Cleans up pointers and will delete the String
* references, make sure you make copies of any needed Strings
*/
StringList::~StringList() {
StringListItem* item = firstItem;
while (item) {
StringListItem* tItem = item;
item = item->nextItem;
delete tItem->strptr;
delete tItem;
}
} //-- ~StringList
void StringList::add(String* strptr) {
StringListItem* sItem = new StringListItem;
if (sItem) {
sItem->strptr = strptr;
sItem->nextItem = 0;
sItem->prevItem = lastItem;
}
if (lastItem) lastItem->nextItem = sItem;
lastItem = sItem;
if (!firstItem) firstItem = sItem;
// increase the item count
++itemCount;
} //-- add
MBool StringList::contains(String& search) {
StringListItem* sItem = firstItem;
while ( sItem ) {
if ( search.isEqual(*sItem->strptr)) return MB_TRUE;
sItem = sItem->nextItem;
}
return MB_FALSE;
} //-- contains
/**
* Returns the number of Strings in this List
**/
PRInt32 StringList::getLength() {
return itemCount;
} //-- getLength
/**
* Inserts the given String pointer as the item just after refItem.
* If refItem is a null pointer the String will inserted at the
* beginning of the List (ie, insert after nothing).
* This method assumes refItem is a member of this list, and since this
* is a private method, I feel that's a valid assumption
**/
void StringList::insertAfter(String* strptr, StringListItem* refItem) {
//-- if refItem == null insert at end
if (!refItem) {
if (firstItem) insertBefore(strptr, firstItem);
else add(strptr);
return;
}
//-- if inserting at end of list
if (refItem == lastItem) {
add(strptr);
return;
}
//-- insert into middle of list
StringListItem* sItem = new StringListItem;
if (sItem) {
sItem->strptr = strptr;
sItem->prevItem = refItem;
sItem->nextItem = refItem->nextItem;
refItem->nextItem = sItem;
// increase the item count
++itemCount;
}
} //-- insertAfter
/**
* Inserts the given String pointer as the item just before refItem.
* If refItem is a null pointer the String will inserted at the
* end of the List (ie, insert before nothing).
* This method assumes refItem is a member of this list, and since this
* is a private method, I feel that's a valid assumption
**/
void StringList::insertBefore(String* strptr, StringListItem* refItem) {
//-- if refItem == null insert at end
if (!refItem) {
add(strptr);
return;
}
StringListItem* sItem = new StringListItem;
if (sItem) {
sItem->strptr = strptr;
sItem->nextItem = refItem;
sItem->prevItem = refItem->prevItem;
refItem->prevItem = sItem;
}
if (refItem == firstItem) firstItem = sItem;
if (itemCount == 0) lastItem = sItem;
// increase the item count
++itemCount;
} //-- insertBefore
/**
* Returns a StringListIterator for this StringList, this iterator
* will need to be deleted by the caller.
**/
StringListIterator* StringList::iterator() {
return new StringListIterator(this);
} //-- iterator
String* StringList::remove(String* strptr) {
StringListItem* sItem = firstItem;
while (sItem) {
if (sItem->strptr == strptr) {
remove(sItem);
delete sItem;
return strptr;
}
sItem = sItem->nextItem;
}
// not in list
return 0;
} //-- remove
StringList::StringListItem* StringList::remove(StringList::StringListItem* sItem) {
if (sItem->prevItem) {
sItem->prevItem->nextItem = sItem->nextItem;
}
if (sItem == firstItem) firstItem = sItem->nextItem;
if (sItem == lastItem) lastItem = sItem->prevItem;
//-- decrease Item count
--itemCount;
return sItem;
} //-- remove
/**
* Removes all Strings equal to the given String from the list
* All removed strings will be destroyed
**/
void StringList::remove(String& search) {
StringListItem* sItem = firstItem;
while (sItem) {
if (sItem->strptr->isEqual(search)) {
delete sItem->strptr;
StringListItem* temp = remove(sItem);
sItem = sItem->nextItem;
delete temp;
}
else sItem = sItem->nextItem;
}
} //-- remove
//----------------------------------------/
//- Implementation of StringListIterator -/
//----------------------------------------/
/**
* Creates a new StringListIterator for the given StringList
**/
StringListIterator::StringListIterator(StringList* list) {
stringList = list;
currentItem = 0;
allowRemove = MB_FALSE;
} //-- StringListIterator
StringListIterator::~StringListIterator() {
//-- overrides default destructor to do nothing
} //-- ~StringListIterator
/**
* Adds the String pointer to the StringList of this StringListIterator.
* The String pointer is inserted as the next item in the StringList
* based on the current position within the StringList
**/
void StringListIterator::add(String* strptr) {
stringList->insertAfter(strptr,currentItem);
allowRemove = MB_FALSE;
} //-- add
/**
* Returns true if a sucessful call to the next() method can be made
**/
MBool StringListIterator::hasNext() {
if (currentItem) {
return (currentItem->nextItem != 0);
}
return (stringList->firstItem != 0);
} //-- hasNext
/**
* Returns true if a successful call to the previous() method can be made
**/
MBool StringListIterator::hasPrevious() {
if (currentItem) {
return (currentItem->prevItem != 0);
}
return MB_FALSE;
} //-- hasPrevious
/**
* Returns the next String in the list
**/
String* StringListIterator::next() {
if (currentItem) {
if (currentItem->nextItem) {
currentItem = currentItem->nextItem;
allowRemove = MB_TRUE;
return currentItem->strptr;
}
}
else {
currentItem = stringList->firstItem;
allowRemove = MB_TRUE;
if (currentItem)
return currentItem->strptr;
}
return 0;
} //-- next
/**
* Returns the previous String in the list
**/
String* StringListIterator::previous() {
if (currentItem) {
if (currentItem->prevItem) {
currentItem = currentItem->prevItem;
allowRemove = MB_TRUE;
return currentItem->strptr;
}
}
return 0;
}
//-- prev
/**
* Removes the String last return by the next() or previous();
* The removed String* is returned
**/
String* StringListIterator::remove() {
if (allowRemove == MB_FALSE) return 0;
allowRemove = MB_FALSE;
StringList::StringListItem* sItem = 0;
if (currentItem) {
// Make previous Item the current Item or null
sItem = currentItem;
if (stringList->firstItem == sItem) currentItem = 0;
stringList->remove(sItem);
return sItem->strptr;
}
return 0;
} //-- remove
/**
* Resets the current location within the StringList to the beginning
**/
void StringListIterator::reset() {
currentItem = 0;
} //-- reset

View File

@@ -1,143 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
* Bob Miller, kbob@oblix.com
* -- plugged core leak.
*
*/
/**
* A class for keeping an ordered list of Strings
**/
#ifndef TRANSFRMX_STRINGLIST_H
#define TRANSFRMX_STRINGLIST_H
#include "TxString.h"
#include "baseutils.h"
class StringListIterator;
class StringList {
friend class StringListIterator;
public:
/**
* Creates an empty StringList
**/
StringList();
/**
* StringList destructor
**/
virtual ~StringList();
MBool contains(String& search);
/**
* Returns the number of Strings in this List
**/
PRInt32 getLength();
/**
* Returns a StringListIterator for this StringList
**/
StringListIterator* iterator();
/**
* Adds the given String to the list
**/
void add(String* strptr);
/**
* Removes the given String pointer from the list
**/
String* remove(String* strptr);
/**
* Removes all Strings equal to the given String from the list
* All removed strings will be destroyed
**/
void remove(String& search);
protected:
struct StringListItem {
StringListItem* nextItem;
StringListItem* prevItem;
String* strptr;
};
private:
StringListItem* firstItem;
StringListItem* lastItem;
PRInt32 itemCount;
void insertAfter(String* strptr, StringListItem* sItem);
void insertBefore(String* strptr, StringListItem* sItem);
/**
* Removes the given StringListItem pointer from the list
**/
StringListItem* remove(StringListItem* sItem);
};
class StringListIterator {
public:
StringListIterator(StringList* list);
virtual ~StringListIterator();
void add(String* strptr);
MBool hasNext();
MBool hasPrevious();
String* next();
String* previous();
String* remove();
void reset();
private:
StringList::StringListItem* currentItem;
StringList* stringList;
MBool allowRemove;
};
#endif

View File

@@ -1,106 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* (C) Copyright The MITRE Corporation 1999 All rights reserved.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* The program provided "as is" without any warranty express or
* implied, including the warranty of non-infringement and the implied
* warranties of merchantibility and fitness for a particular purpose.
* The Copyright owner will not be liable for any damages suffered by
* you as a result of using the Program. In no event will the Copyright
* owner be liable for any special, indirect or consequential damages or
* lost profits even if the Copyright owner has been advised of the
* possibility of their occurrence.
*
* Please see release.txt distributed with this file for more information.
*
*/
/*
* 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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
* Larry Fitzpartick, OpenText, lef@opentext.com
* -- 19990806
* -- added void return type declaration for ::nextToken()
* -- added proper cast from PRInt32 to char in ::nextToken()
*
*/
/*
* txTokenizer
* A simple String tokenizer
*/
#include "Tokenizer.h"
/*
* Creates a new Tokenizer using the given source string
*/
txTokenizer::txTokenizer(const String& aSource)
{
mCurrentPos = 0;
mSource = aSource;
mSize = mSource.length();
// Advance to start pos
while (mCurrentPos < mSize) {
UNICODE_CHAR ch = mSource.charAt(mCurrentPos);
// If character is not a whitespace, we are at start of first token
if (ch != ' ' && ch != '\n' &&
ch != '\r' && ch != '\t')
break;
++mCurrentPos;
}
}
MBool txTokenizer::hasMoreTokens()
{
return mCurrentPos < mSize;
}
void txTokenizer::nextToken(String& aBuffer)
{
aBuffer.clear();
while (mCurrentPos < mSize) {
UNICODE_CHAR ch = mSource.charAt(mCurrentPos++);
// If character is not a delimiter we append it
if (ch == ' ' || ch == '\n' ||
ch == '\r' || ch == '\t')
break;
aBuffer.append(ch);
}
// Advance to next start pos
while (mCurrentPos < mSize) {
UNICODE_CHAR ch = mSource.charAt(mCurrentPos);
// If character is not a whitespace, we are at start of next token
if (ch != ' ' && ch != '\n' &&
ch != '\r' && ch != '\t')
break;
++mCurrentPos;
}
}

View File

@@ -1,70 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
*
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
* Larry Fitzpatrick, OpenText, lef@opentext.com
* -- 19990806, added void return type declaration for ::nextToken()
*
*/
/**
* txTokenizer
* A simple String tokenizer
**/
#ifndef MITRE_TOKENIZER_H
#define MITRE_TOKENIZER_H
#include "baseutils.h"
#include "TxString.h"
class txTokenizer
{
public:
/*
* Creates a new txTokenizer using the given source string
*/
txTokenizer(const String& aSource);
/*
* Checks if any more tokens are avalible
*/
MBool hasMoreTokens();
/*
* Sets aBuffer to value of next token
*/
void nextToken(String& aBuffer);
private:
PRUint32 mCurrentPos;
PRUint32 mSize;
String mSource;
};
#endif

View File

@@ -1,107 +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
* Axel Hecht.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Axel Hecht <axel@pike.org>
*
*
* 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 TxLog_h__
#define TxLog_h__
#ifdef TX_EXE
#ifdef PR_LOGGING
#include <stdio.h>
#define PRLogModuleInfo void
#define PR_NewLogModule(_name)
#define PR_FREE_IF(_name)
typedef enum PRLogModuleLevel {
PR_LOG_NONE = 0, /* nothing */
PR_LOG_ALWAYS = 1, /* always printed */
PR_LOG_ERROR = 2, /* error messages */
PR_LOG_WARNING = 3, /* warning messages */
PR_LOG_DEBUG = 4, /* debug messages */
PR_LOG_NOTICE = PR_LOG_DEBUG, /* notice messages */
PR_LOG_WARN = PR_LOG_WARNING, /* warning messages */
PR_LOG_MIN = PR_LOG_DEBUG, /* minimal debugging messages */
PR_LOG_MAX = PR_LOG_DEBUG /* maximal debugging messages */
} PRLogModuleLevel;
#define PR_LOG(_name, _level, _message) printf##_message
#else
#define PR_LOG(_name, _level, _message)
#endif
#else
#include "prlog.h"
#include "prmem.h"
#endif
#ifdef PR_LOGGING
class txLog
{
public:
static PRLogModuleInfo *xpath;
static PRLogModuleInfo *xslt;
};
#define TX_LG_IMPL \
PRLogModuleInfo * txLog::xpath = 0; \
PRLogModuleInfo * txLog::xslt = 0
#define TX_LG_CREATE \
txLog::xpath = PR_NewLogModule("xpath"); \
txLog::xslt = PR_NewLogModule("xslt")
#define TX_LG_DELETE \
PR_FREEIF(txLog::xpath); \
PR_FREEIF(txLog::xslt)
#else
#define TX_LG_IMPL
#define TX_LG_CREATE
#define TX_LG_DELETE
#endif
#endif

View File

@@ -1,71 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is Keith Visco.
* Portions created by Keith Visco (C) 1999, 2000 Keith Visco.
* All Rights Reserved..
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
*/
#ifndef TRANSFRMX_TXOBJECT_H
#define TRANSFRMX_TXOBJECT_H
#include "baseutils.h"
class TxObject {
public:
/**
* Creates a new TxObject
**/
TxObject() {};
/**
* Deletes this TxObject
**/
virtual ~TxObject() {};
/**
* Returns the Hashcode for this TxObject
**/
virtual PRUint32 hashCode() {
return NS_PTR_TO_INT32(this);
} //-- hashCode
/**
* Returns true if the given Object is equal to this object.
* By default the comparison operator == is used, but this may
* be overridden
**/
virtual MBool equals(TxObject* obj) {
return (MBool)(obj == this);
} //-- equals
};
/**
* A Simple TxObject wrapper class
**/
class TxObjectWrapper : public TxObject {
public:
TxObjectWrapper();
virtual ~TxObjectWrapper();
void* object;
};
#endif

View File

@@ -1,44 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*/
#include "TxObject.h"
//--------------------------------------/
//- A Simple TxObject wrapper class -/
//--------------------------------------/
/**
* Default Constructor
**/
TxObjectWrapper::TxObjectWrapper() {
this->object = 0;
} //-- TxObjectWrapper
/**
* Default destructor
**/
TxObjectWrapper::~TxObjectWrapper() {
this->object = 0;
} //-- ~TxObjectWrapper

View File

@@ -1,449 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* (C) Copyright The MITRE Corporation 1999 All rights reserved.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* The program provided "as is" without any warranty express or
* implied, including the warranty of non-infringement and the implied
* warranties of merchantibility and fitness for a particular purpose.
* The Copyright owner will not be liable for any damages suffered by
* you as a result of using the Program. In no event will the Copyright
* owner be liable for any special, indirect or consequential damages or
* lost profits even if the Copyright owner has been advised of the
* possibility of their occurrence.
*
* Contributor(s):
*
* Tom Kneeland
* -- original author.
*
* Keith Visco <kvisco@ziplink.net>
* Larry Fitzpatrick
*
*/
#include "TxString.h"
#include <stdlib.h>
#include <string.h>
String::String() : mBuffer(0),
mBufferLength(0),
mLength(0)
{
}
String::String(const String& aSource) : mBuffer(aSource.toUnicode()),
mBufferLength(aSource.mLength),
mLength(aSource.mLength)
{
}
String::String(const UNICODE_CHAR* aSource,
const PRUint32 aLength) : mBuffer(0),
mBufferLength(0),
mLength(0)
{
if (!aSource) {
return;
}
PRUint32 length = aLength;
if (length == 0) {
length = unicodeLength(aSource);
}
if (!ensureCapacity(length)) {
return;
}
memcpy(mBuffer, aSource, length * sizeof(UNICODE_CHAR));
mLength = length;
}
String::~String()
{
delete [] mBuffer;
}
void String::append(const UNICODE_CHAR aSource)
{
if (!ensureCapacity(1)) {
return;
}
mBuffer[mLength] = aSource;
++mLength;
}
void String::append(const String& aSource)
{
if (!ensureCapacity(aSource.mLength)) {
return;
}
memcpy(&mBuffer[mLength], aSource.mBuffer,
aSource.mLength * sizeof(UNICODE_CHAR));
mLength += aSource.mLength;
}
void String::insert(const PRUint32 aOffset, const UNICODE_CHAR aSource)
{
if (!ensureCapacity(1)) {
return;
}
if (aOffset < mLength) {
memmove(&mBuffer[aOffset + 1], &mBuffer[aOffset],
(mLength - aOffset) * sizeof(UNICODE_CHAR));
}
mBuffer[aOffset] = aSource;
mLength += 1;
}
void String::insert(const PRUint32 aOffset, const String& aSource)
{
if (!ensureCapacity(aSource.mLength)) {
return;
}
if (aOffset < mLength) {
memmove(&mBuffer[aOffset + aSource.mLength], &mBuffer[aOffset],
(mLength - aOffset) * sizeof(UNICODE_CHAR));
}
memcpy(&mBuffer[aOffset], aSource.mBuffer,
aSource.mLength * sizeof(UNICODE_CHAR));
mLength += aSource.mLength;
}
void String::replace(const PRUint32 aOffset, const UNICODE_CHAR aSource)
{
if (aOffset < mLength) {
mBuffer[aOffset] = aSource;
}
else {
append(aSource);
}
}
void String::replace(const PRUint32 aOffset, const String& aSource)
{
if (aOffset < mLength) {
PRUint32 finalLength = aOffset + aSource.mLength;
if (finalLength > mLength) {
if (!ensureCapacity(finalLength - mBufferLength)) {
return;
}
mLength = finalLength;
}
memcpy(&mBuffer[aOffset], aSource.mBuffer,
aSource.mLength * sizeof(UNICODE_CHAR));
}
else {
append(aSource);
}
}
void String::deleteChars(const PRUint32 aOffset, const PRUint32 aCount)
{
PRUint32 cutEnd = aOffset + aCount;
if (cutEnd < mLength) {
memmove(&mBuffer[aOffset], &mBuffer[cutEnd],
(mLength - cutEnd) * sizeof(UNICODE_CHAR));
mLength -= aCount;
}
else {
mLength = aOffset;
}
}
void String::clear()
{
mLength = 0;
}
PRInt32 String::indexOf(const UNICODE_CHAR aData, const PRInt32 aOffset) const
{
NS_ASSERTION(aOffset >= 0, "Passed negative offset to indexOf.");
if (aOffset < 0) {
return kNotFound;
}
PRInt32 searchIndex = aOffset;
while (searchIndex < mLength) {
if (mBuffer[searchIndex] == aData) {
return searchIndex;
}
++searchIndex;
}
return kNotFound;
}
PRInt32 String::indexOf(const String& aData, const PRInt32 aOffset) const
{
NS_ASSERTION(aOffset >= 0, "Passed negative offset to indexOf.");
if (aOffset < 0) {
return kNotFound;
}
PRInt32 searchIndex = aOffset;
PRInt32 searchLimit = mLength - aData.mLength;
while (searchIndex <= searchLimit) {
if (memcmp(&mBuffer[searchIndex], aData.mBuffer,
aData.mLength * sizeof(UNICODE_CHAR)) == 0) {
return searchIndex;
}
++searchIndex;
}
return kNotFound;
}
PRInt32 String::lastIndexOf(const UNICODE_CHAR aData, const PRInt32 aOffset) const
{
NS_ASSERTION(aOffset >= 0, "Passed negative offset to lastIndexOf.");
if (aOffset < 0) {
return kNotFound;
}
PRUint32 searchIndex = mLength - aOffset;
while (--searchIndex >= 0) {
if (mBuffer[searchIndex] == aData) {
return searchIndex;
}
}
return kNotFound;
}
MBool String::isEqual(const String& aData) const
{
if (mLength != aData.mLength) {
return MB_FALSE;
}
return (memcmp(mBuffer, aData.mBuffer, mLength * sizeof(UNICODE_CHAR)) == 0);
}
MBool String::isEqualIgnoreCase(const String& aData) const
{
if (mLength != aData.mLength) {
return MB_FALSE;
}
UNICODE_CHAR thisChar, otherChar;
PRUint32 compLoop = 0;
while (compLoop < mLength) {
thisChar = mBuffer[compLoop];
if ((thisChar >= 'A') && (thisChar <= 'Z')) {
thisChar += 32;
}
otherChar = aData.mBuffer[compLoop];
if ((otherChar >= 'A') && (otherChar <= 'Z')) {
otherChar += 32;
}
if (thisChar != otherChar) {
return MB_FALSE;
}
++compLoop;
}
return MB_TRUE;
}
void String::setLength(const PRUint32 aLength)
{
NS_ASSERTION(mLength <= mBufferLength, "Truncating string in setLength!");
mLength = (mLength > mBufferLength) ? mBufferLength : aLength;
}
String& String::subString(const PRUint32 aStart, String& aDest) const
{
return subString(aStart, mLength, aDest);
}
String& String::subString(const PRUint32 aStart, const PRUint32 aEnd, String& aDest) const
{
PRUint32 end = (aEnd > mLength) ? mLength : aEnd;
aDest.clear();
if (aStart < end) {
PRUint32 substrLength = end - aStart;
if (!aDest.ensureCapacity(substrLength)) {
return aDest;
}
memcpy(aDest.mBuffer, &mBuffer[aStart],
substrLength * sizeof(UNICODE_CHAR));
aDest.mLength = substrLength;
}
return aDest;
}
void String::toLowerCase()
{
PRUint32 conversionLoop;
for (conversionLoop = 0; conversionLoop < mLength; ++conversionLoop) {
if ((mBuffer[conversionLoop] >= 'A') &&
(mBuffer[conversionLoop] <= 'Z'))
mBuffer[conversionLoop] += 32;
}
}
void String::toUpperCase()
{
PRUint32 conversionLoop;
for (conversionLoop = 0; conversionLoop < mLength; ++conversionLoop) {
if ((mBuffer[conversionLoop] >= 'a') &&
(mBuffer[conversionLoop] <= 'z'))
mBuffer[conversionLoop] -= 32;
}
}
String& String::operator = (const String& aSource)
{
delete [] mBuffer;
mBuffer = aSource.toUnicode();
mBufferLength = aSource.mLength;
mLength = aSource.mLength;
return *this;
}
MBool String::ensureCapacity(const PRUint32 aCapacity)
{
PRUint32 needed = aCapacity + mLength;
NS_ASSERTION(needed < (PRUint32)-1, "Asked for too large a buffer.");
if (needed == (PRUint32)-1) {
return MB_FALSE;
}
if (needed < mBufferLength) {
return MB_TRUE;
}
UNICODE_CHAR* tempBuffer = new UNICODE_CHAR[needed];
NS_ASSERTION(tempBuffer, "Couldn't allocate string buffer.");
if (!tempBuffer) {
return MB_FALSE;
}
if (mLength > 0) {
memcpy(tempBuffer, mBuffer, mLength * sizeof(UNICODE_CHAR));
}
delete [] mBuffer;
mBuffer = tempBuffer;
mBufferLength = needed;
return MB_TRUE;
}
UNICODE_CHAR* String::toUnicode() const
{
if (mLength == 0) {
return 0;
}
UNICODE_CHAR* tmpBuffer = new UNICODE_CHAR[mLength];
NS_ASSERTION(tmpBuffer, "out of memory");
if (tmpBuffer) {
memcpy(tmpBuffer, mBuffer, mLength * sizeof(UNICODE_CHAR));
}
return tmpBuffer;
}
PRUint32 String::unicodeLength(const UNICODE_CHAR* aData)
{
PRUint32 index = 0;
// Count UNICODE_CHARs Until a Unicode "NULL" is found.
while (aData[index] != 0x0000) {
++index;
}
return index;
}
ostream& operator<<(ostream& aOutput, const String& aSource)
{
PRUint32 outputLoop;
for (outputLoop = 0; outputLoop < aSource.mLength; ++outputLoop) {
aOutput << (char)aSource.charAt(outputLoop);
}
return aOutput;
}
// XXX DEPRECATED
String::String(const PRUint32 aSize) : mBuffer(0),
mBufferLength(0),
mLength(0)
{
ensureCapacity(aSize);
}
String::String(const char* aSource) : mBuffer(0),
mBufferLength(0),
mLength(0)
{
if (!aSource) {
return;
}
PRUint32 length = strlen(aSource);
if (!ensureCapacity(length)) {
return;
}
PRUint32 counter;
for (counter = 0; counter < length; ++counter) {
mBuffer[counter] = (UNICODE_CHAR)aSource[counter];
}
mLength = length;
}
void String::append(const char* aSource)
{
if (!aSource) {
return;
}
PRUint32 length = strlen(aSource);
if (!ensureCapacity(length)) {
return;
}
PRUint32 counter;
for (counter = 0; counter < length; ++counter) {
mBuffer[mLength + counter] = (UNICODE_CHAR)aSource[counter];
}
mLength += length;
}
MBool String::isEqual(const char* aData) const
{
if (!aData) {
return MB_FALSE;
}
PRUint32 length = strlen(aData);
if (length != mLength) {
return MB_FALSE;
}
PRUint32 counter;
for (counter = 0; counter < length; ++counter) {
if (mBuffer[counter] != (UNICODE_CHAR)aData[counter]) {
return MB_FALSE;
}
}
return MB_TRUE;
}
char* String::toCharArray() const
{
char* tmpBuffer = new char[mLength + 1];
NS_ASSERTION(tmpBuffer, "out of memory");
if (tmpBuffer) {
PRUint32 conversionLoop;
for (conversionLoop = 0; conversionLoop < mLength; ++conversionLoop) {
tmpBuffer[conversionLoop] = (char)mBuffer[conversionLoop];
}
tmpBuffer[mLength] = 0;
}
return tmpBuffer;
}

View File

@@ -1,243 +0,0 @@
/*
* (C) Copyright The MITRE Corporation 1999 All rights reserved.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* The program provided "as is" without any warranty express or
* implied, including the warranty of non-infringement and the implied
* warranties of merchantibility and fitness for a particular purpose.
* The Copyright owner will not be liable for any damages suffered by
* you as a result of using the Program. In no event will the Copyright
* owner be liable for any special, indirect or consequential damages or
* lost profits even if the Copyright owner has been advised of the
* possibility of their occurrence.
*
* Contributor(s):
*
* Tom Kneeland
* -- original author.
*
* Keith Visco <kvisco@ziplink.net>
* Larry Fitzpatrick
*
*/
#ifndef txString_h__
#define txString_h__
#include "TxObject.h"
#include "baseutils.h"
#ifdef TX_EXE
#include <iostream.h>
typedef unsigned short UNICODE_CHAR;
const PRInt32 kNotFound = -1;
#else
#include "nsString.h"
typedef PRUnichar UNICODE_CHAR;
#endif
class String
#ifdef TX_EXE
: public TxObject
#endif
{
public:
/*
* Default constructor.
*/
String();
#ifdef TX_EXE
/*
* Copying constructor.
*/
String(const String& aSource);
/*
* Constructor, allocates a buffer and copies the supplied string buffer.
* If aLength is zero it computes the length from the supplied string.
*/
explicit String(const UNICODE_CHAR* aSource, const PRUint32 aLength = 0);
#else
explicit String(const nsAString& aSource);
#endif
~String();
/*
* Append aSource to this string.
*/
void append(const UNICODE_CHAR aSource);
void append(const String& aSource);
/*
* Insert aSource at aOffset in this string.
*/
void insert(const PRUint32 aOffset, const UNICODE_CHAR aSource);
void insert(const PRUint32 aOffset, const String& aSource);
/*
* Replace characters starting at aOffset with aSource.
*/
void replace(const PRUint32 aOffset, const UNICODE_CHAR aSource);
void replace(const PRUint32 aOffset, const String& aSource);
/*
* Delete aCount characters starting at aOffset.
*/
void deleteChars(const PRUint32 aOffset, const PRUint32 aCount);
/*
* Returns the character at aIndex. Caller needs to check the
* index for out-of-bounds errors.
*/
UNICODE_CHAR charAt(const PRUint32 aIndex) const;
/*
* Clear the string.
*/
void clear();
/*
* Returns index of first occurrence of aData.
*/
PRInt32 indexOf(const UNICODE_CHAR aData, const PRInt32 aOffset = 0) const;
PRInt32 indexOf(const String& aData, const PRInt32 aOffset = 0) const;
/*
* Returns index of last occurrence of aData.
*/
PRInt32 lastIndexOf(const UNICODE_CHAR aData, const PRInt32 aOffset = 0) const;
/*
* Check equality between strings.
*/
MBool isEqual(const String& aData) const;
/*
* Check equality (ignoring case) between strings.
*/
MBool isEqualIgnoreCase(const String& aData) const;
/*
* Check whether the string is empty.
*/
MBool isEmpty() const;
/*
* Return the length of the string.
*/
PRUint32 length() const;
/*
* Sets the length of this string.
*/
void setLength(const PRUint32 aLength);
/*
* Returns a substring starting at start
* Note: the dest String is cleared before use
*/
String& subString(const PRUint32 aStart, String& aDest) const;
/*
* Returns the subString starting at start and ending at end
* Note: the dest String is cleared before use
*/
String& subString(const PRUint32 aStart, const PRUint32 aEnd, String& aDest) const;
/*
* Convert string to lowercase.
*/
void toLowerCase();
/*
* Convert string to uppercase.
*/
void toUpperCase();
#ifdef TX_EXE
/*
* Assignment operator.
*/
String& operator = (const String& aSource);
#else
/*
* Return a reference to this string's nsString.
*/
nsString& getNSString();
/*
* Return a const reference to this string's nsString.
*/
const nsString& getConstNSString() const;
#endif
private:
#ifndef TX_EXE
nsString mString;
#else
/*
* Make sure the string buffer can hold aCapacity characters.
*/
MBool ensureCapacity(const PRUint32 aCapacity);
/*
* Allocate a new UNICODE_CHAR buffer and copy this string's
* buffer into it. Caller needs to free the buffer.
*/
UNICODE_CHAR* toUnicode() const;
/*
* Compute the unicode length of aData.
*/
static PRUint32 unicodeLength(const UNICODE_CHAR* aData);
/*
* Translate UNICODE_CHARs to Chars and output to the provided stream.
*/
friend ostream& operator << (ostream& aOutput, const String& aSource);
UNICODE_CHAR* mBuffer;
PRUint32 mBufferLength;
PRUint32 mLength;
#endif
// XXX DEPRECATED
public:
explicit String(const PRUint32 aSize);
/* explicit */ String(const char* aSource); // XXX Used for literal strings
void append(const char* aSource);
MBool isEqual(const char* aData) const;
char* toCharArray() const;
// XXX DEPRECATED
};
#ifdef TX_EXE
ostream& operator << (ostream& aOutput, const String& aSource);
inline UNICODE_CHAR String::charAt(const PRUint32 aIndex) const
{
NS_ASSERTION(aIndex < mLength, "|charAt| out-of-range");
return mBuffer[aIndex];
}
inline MBool String::isEmpty() const
{
return (mLength == 0);
}
inline PRUint32 String::length() const
{
return mLength;
}
#else
// txMozillaString.h contains all inline implementations for the
// Mozilla module.
#include "txMozillaString.h"
#endif
#endif // txString_h__

View File

@@ -1,74 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
* Tom Kneeland, tomk@mitre.org
* -- added PRUint32 to provide a common unsigned integer
*
*/
// Basic Definitions used throughout many of these classes
#ifndef TRANSFRMX_BASEUTILS_H
#define TRANSFRMX_BASEUTILS_H
#ifdef TX_EXE
// Standalone
typedef int PRInt32;
typedef unsigned int PRUint32;
typedef PRInt32 MBool;
#define MB_TRUE (MBool)1
#define MB_FALSE (MBool)0
#ifdef DEBUG
#define NS_ASSERTION(_cond, _msg) \
if(!(_cond)) { \
cerr << "ASSERTION (" << #_cond << ") " << _msg << endl; \
cerr << "on line " << __LINE__ << " in " << __FILE__ << endl; \
}
#else
#define NS_ASSERTION(_cond, _msg) {}
#endif
#define NS_PTR_TO_INT32(x) ((char *)(x) - (char *)0)
#define NS_INT32_TO_PTR(x) ((void *)((char *)0 + (x)))
#else
// Mozilla module
#include "prtypes.h"
#include "nscore.h"
typedef PRBool MBool;
#define MB_TRUE PR_TRUE
#define MB_FALSE PR_FALSE
#endif
#ifndef NULL
#define NULL 0
#endif
#endif

View File

@@ -1,72 +0,0 @@
#!nmake
#
# 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 = transformiix
REQUIRES = string \
xpcom \
unicharutil \
dom \
content \
widget \
$(NULL)
include <$(DEPTH)/config/config.mak>
!if defined(TX_EXE)
DEFINES= $(DEFINES) -DTX_EXE
!endif
CPP_OBJS= \
.\$(OBJDIR)\ArrayList.obj \
.\$(OBJDIR)\Double.obj \
.\$(OBJDIR)\List.obj \
.\$(OBJDIR)\TxObjectWrapper.obj \
.\$(OBJDIR)\NamedMap.obj \
.\$(OBJDIR)\SimpleErrorObserver.obj \
.\$(OBJDIR)\Stack.obj \
.\$(OBJDIR)\Map.obj \
.\$(OBJDIR)\StringList.obj \
.\$(OBJDIR)\Tokenizer.obj \
.\$(OBJDIR)\txAtoms.obj \
.\$(OBJDIR)\txExpandedNameMap.obj \
$(NULL)
!ifdef TX_EXE
CPP_OBJS = \
.\$(OBJDIR)\CommandLineUtils.obj \
.\$(OBJDIR)\TxString.obj \
$(CPP_OBJS)
!endif
EXPORTS = \
$(NULL)
LINCS=-I$(PUBLIC)\xpcom -I..\xpath -I..\xslt -I..\xml -I..\xml\dom
LCFLAGS = \
$(LCFLAGS) \
$(DEFINES) \
$(NULL)
include <$(DEPTH)\config\rules.mak>
libs:: $(OBJDIR) $(CPP_OBJS)

View File

@@ -1,89 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
*
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
* Larry Fitzpatrick, OpenText, lef@opentext.com
* --
*
* Eric Du, duxy@leyou.com.cn
* -- added fix for FreeBSD
*
* NaN/Infinity code copied from the JS-library with permission from
* Netscape Communications Corporation: http://www.mozilla.org/js
* http://lxr.mozilla.org/seamonkey/source/js/src/jsnum.h
*
*/
#ifndef MITRE_PRIMITIVES_H
#define MITRE_PRIMITIVES_H
#include "baseutils.h"
#include "TxString.h"
/*
* Utility class for doubles
*/
class Double {
public:
/*
* Usefull constants
*/
static const double NaN;
static const double POSITIVE_INFINITY;
static const double NEGATIVE_INFINITY;
/*
* Determines whether the given double represents positive or negative
* inifinity
*/
static MBool isInfinite(double aDbl);
/*
* Determines whether the given double is NaN
*/
static MBool isNaN(double aDbl);
/*
* Determines whether the given double is negative
*/
static MBool isNeg(double aDbl);
/*
* Converts the value of the given double to a String, and appends
* the result to the destination String.
* @return the given dest string
*/
static String& toString(double aValue, String& aDest);
/*
* Converts the given String to a double, if the String value does not
* represent a double, NaN will be returned
*/
static double toDouble(const String& aStr);
};
#endif

View File

@@ -1,173 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is
* Jonas Sicking.
* Portions created by the Initial Developer are Copyright (C) 2001
* Jonas Sicking. All Rights Reserved.
*
* Contributor(s):
* Jonas Sicking <sicking@bigfoot.com>
* Axel Hecht <axel@pike.org>
*
* 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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/*
* Atom implementation for standalone and wrapper for module
*
* For module,
* txAtom is typedef'd to nsIAtom,
* for standalone there is a separate implementation. The
* code is all inlined in this header file.
*
* There is one major difference between the standalone and
* the module implementation, module atoms are refcounted,
* standalone atoms are not. Therefor code that is standalone
* only may not use TX_RELEASE..ATOM, code that works in both
* module and standalone has to pair these. Or you leak.
*
* To use this code standalone,
* TX_IMPL_ATOM_STATICS;
* has to appear in your source file.
* XSLTProcessor.cpp does this.
*/
#ifndef TRANSFRMX_ATOM_H
#define TRANSFRMX_ATOM_H
#include "TxString.h"
#ifndef TX_EXE
#include "nsIAtom.h"
#else
#include "NamedMap.h"
#endif
#ifdef TX_EXE
class txAtom : public TxObject
{
public:
txAtom(const String& aString)
{
mString = aString;
}
MBool getString(String& aString)
{
aString = mString;
return MB_TRUE;
}
friend ostream& operator << (ostream& aOutput, const txAtom& aSource)
{
aOutput << aSource.mString;
return aOutput;
}
private:
String mString;
};
class txAtomService
{
public:
static txAtom* getAtom(const String& aString)
{
if (!mAtoms && !Init())
return NULL;
txAtom* atom = (txAtom*)mAtoms->get(aString);
if (!atom) {
atom = new txAtom(aString);
if (!atom)
return 0;
mAtoms->put(aString, atom);
}
return atom;
}
static MBool Init()
{
NS_ASSERTION(!mAtoms, "called without matching Shutdown()");
if (mAtoms)
return MB_TRUE;
mAtoms = new NamedMap();
if (!mAtoms)
return MB_FALSE;
mAtoms->setObjectDeletion(MB_TRUE);
return MB_TRUE;
}
static void Shutdown()
{
NS_ASSERTION(mAtoms, "called without matching Init()");
if (!mAtoms)
return;
delete mAtoms;
mAtoms = NULL;
}
private:
static NamedMap* mAtoms;
};
#define TX_GET_ATOM(str) \
(txAtomService::getAtom(str))
#define TX_ADDREF_ATOM(atom) {}
#define TX_IF_ADDREF_ATOM(atom) {}
#define TX_RELEASE_ATOM(atom) {}
#define TX_IF_RELEASE_ATOM(atom) {}
#define TX_GET_ATOM_STRING(atom, str) \
((atom)->getString(str))
#define TX_IMPL_ATOM_STATICS \
NamedMap* txAtomService::mAtoms = 0
#else
typedef nsIAtom txAtom;
#define TX_GET_ATOM(str) \
NS_NewAtom((str).getConstNSString())
#define TX_ADDREF_ATOM(atom) NS_ADDREF(atom)
#define TX_IF_ADDREF_ATOM(atom) NS_IF_ADDREF(atom)
#define TX_RELEASE_ATOM(atom) NS_RELEASE(atom)
#define TX_IF_RELEASE_ATOM(atom) NS_IF_RELEASE(atom)
#define TX_GET_ATOM_STRING(atom, string) \
NS_SUCCEEDED((atom)->ToString(string.getNSString()))
#endif // TX_EXE
#endif // TRANSFRMX_ATOM_H

View File

@@ -1,148 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Peter Van der Beken <peterv@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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "txAtoms.h"
#define TX_ATOM(_name, _value) txAtom* txXMLAtoms::_name = 0
XML_ATOMS;
#undef TX_ATOM
#define TX_ATOM(_name, _value) txAtom* txXPathAtoms::_name = 0
#include "txXPathAtomList.h"
#undef TX_ATOM
#define TX_ATOM(_name, _value) txAtom* txXSLTAtoms::_name = 0
#include "txXSLTAtomList.h"
#undef TX_ATOM
#define TX_ATOM(_name, _value) txAtom* txHTMLAtoms::_name = 0
#include "txHTMLAtomList.h"
#undef TX_ATOM
static PRUint32 gXMLRefCnt = 0;
static PRUint32 gXPathRefCnt = 0;
static PRUint32 gXSLTRefCnt = 0;
static PRUint32 gHTMLRefCnt = 0;
#ifdef TX_EXE
#define TX_ATOM(_name, _value) \
_name = TX_GET_ATOM(String(_value)); \
if (!_name) \
return MB_FALSE
#else
#define TX_ATOM(_name, _value) \
_name = NS_NewAtom(_value); \
NS_ENSURE_TRUE(_name, MB_FALSE)
#endif
MBool txXMLAtoms::init()
{
if (0 == gXMLRefCnt++) {
// create atoms
XML_ATOMS;
}
return MB_TRUE;
}
MBool txXPathAtoms::init()
{
if (0 == gXPathRefCnt++) {
// create atoms
#include "txXPathAtomList.h"
}
return MB_TRUE;
}
MBool txXSLTAtoms::init()
{
if (0 == gXSLTRefCnt++) {
// create atoms
#include "txXSLTAtomList.h"
}
return MB_TRUE;
}
MBool txHTMLAtoms::init()
{
if (0 == gHTMLRefCnt++) {
// create atoms
#include "txHTMLAtomList.h"
}
return MB_TRUE;
}
#undef TX_ATOM
#define TX_ATOM(_name, _value) \
TX_IF_RELEASE_ATOM(_name)
void txXMLAtoms::shutdown()
{
NS_ASSERTION(gXMLRefCnt != 0, "bad release atoms");
if (--gXMLRefCnt == 0) {
// release atoms
XML_ATOMS;
}
}
void txXPathAtoms::shutdown()
{
NS_ASSERTION(gXPathRefCnt != 0, "bad release atoms");
if (--gXPathRefCnt == 0) {
// release atoms
#include "txXPathAtomList.h"
}
}
void txXSLTAtoms::shutdown()
{
NS_ASSERTION(gXSLTRefCnt != 0, "bad release atoms");
if (--gXSLTRefCnt == 0) {
// release atoms
#include "txXSLTAtomList.h"
}
}
void txHTMLAtoms::shutdown()
{
NS_ASSERTION(gHTMLRefCnt != 0, "bad release atoms");
if (--gHTMLRefCnt == 0) {
// release atoms
#include "txHTMLAtomList.h"
}
}
#undef TX_ATOM

View File

@@ -1,97 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Peter Van der Beken <peterv@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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef TRANSFRMX_ATOMS_H
#define TRANSFRMX_ATOMS_H
#include "txAtom.h"
/*
* Declare all atoms
*
* The atom names and values are stored in tx*AtomList.h and
* are brought to you by the magic of C preprocessing.
* Add new atoms to tx*AtomList.h and all support logic will
* be auto-generated.
*/
#define XML_ATOMS \
TX_ATOM(_empty, ""); \
TX_ATOM(base, "base"); \
TX_ATOM(lang, "lang"); \
TX_ATOM(space, "space"); \
TX_ATOM(xml, "xml"); \
TX_ATOM(xmlns, "xmlns")
#define TX_ATOM(_name, _value) static txAtom* _name
class txXMLAtoms
{
public:
static MBool init();
static void shutdown();
XML_ATOMS;
};
class txXPathAtoms
{
public:
static MBool init();
static void shutdown();
#include "txXPathAtomList.h"
};
class txXSLTAtoms
{
public:
static MBool init();
static void shutdown();
#include "txXSLTAtomList.h"
};
class txHTMLAtoms
{
public:
static MBool init();
static void shutdown();
#include "txHTMLAtomList.h"
};
#undef TX_ATOM
#endif

View File

@@ -1,71 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT Processor.
*
* The Initial Developer of the Original Code is
* Axel Hecht.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Axel Hecht <axel@pike.org>
*
* 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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __TX_ERROR
#define __TX_ERROR
/*
* Error value mockup for standalone.
* See nsError.h for details.
*/
#ifdef TX_EXE
#include "baseutils.h"
typedef PRUint32 nsresult;
#define NS_FAILED(_nsresult) ((_nsresult) & 0x80000000)
#define NS_SUCCEEDED(_nsresult) (!((_nsresult) & 0x80000000))
#define NS_OK 0
#define NS_ERROR_INVALID_POINTER ((nsresult) 0x80004003L)
#define NS_ERROR_NULL_POINTER NS_ERROR_INVALID_POINTER
#define NS_ERROR_UNEXPECTED ((nsresult) 0x8000ffffL)
#define NS_ERROR_NOT_IMPLEMENTED ((nsresult) 0x80004001L)
#define NS_ERROR_FAILURE ((nsresult) 0x80004005L)
#define NS_ERROR_OUT_OF_MEMORY ((nsresult) 0x8007000eL)
#define NS_ERROR_ILLEGAL_VALUE ((nsresult) 0x80070057L)
#define NS_ERROR_INVALID_ARG NS_ERROR_ILLEGAL_VALUE
#else // TX_EXE
#include "nsError.h"
#endif // TX_EXE
#endif // __TX_ERROR

View File

@@ -1,152 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is
* Jonas Sicking.
* Portions created by the Initial Developer are Copyright (C) 2002
* Jonas Sicking. All Rights Reserved.
*
* Contributor(s):
* Jonas Sicking <sicking@bigfoot.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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "txExpandedNameMap.h"
#include "string.h"
const int kTxExpandedNameMapAllocSize = 16;
txExpandedNameMap::txExpandedNameMap(MBool aOwnsValues) :
mItems(0), mItemCount(0), mOwnsValues(aOwnsValues)
{
}
txExpandedNameMap::~txExpandedNameMap()
{
int i;
for (i = 0; i < mItemCount; ++i) {
TX_IF_RELEASE_ATOM(mItems[i].mLocalName);
if (mOwnsValues)
delete mItems[i].mValue;
}
delete [] mItems;
}
/*
* Adds an item, if an item with this key already exists an error is
* returned
* @param aKey key for item to add
* @param aValue value of item to add
* @return errorcode
*/
nsresult txExpandedNameMap::add(txExpandedName& aKey, TxObject* aValue)
{
int i;
// Check if there already is an item with this key
for (i = 0; i < mItemCount; ++i) {
if (mItems[i].mLocalName == aKey.mLocalName &&
mItems[i].mNamespaceID == aKey.mNamespaceID)
return NS_ERROR_FAILURE;
}
// Allocate a new array if needed
if (mItemCount % kTxExpandedNameMapAllocSize == 0) {
MapItem* newItems = new MapItem[mItemCount +
kTxExpandedNameMapAllocSize];
if (!newItems)
return NS_ERROR_OUT_OF_MEMORY;
memcpy(newItems, mItems, mItemCount * sizeof(MapItem));
delete [] mItems;
mItems = newItems;
}
mItems[mItemCount].mNamespaceID = aKey.mNamespaceID;
mItems[mItemCount].mLocalName = aKey.mLocalName;
mItems[mItemCount].mValue = aValue;
++mItemCount;
return NS_OK;
}
/*
* Sets an item, if an item with this key already exists it is overwritten
* with the new value
* @param aKey key for item to set
* @param aValue value of item to set
* @return errorcode
*/
nsresult txExpandedNameMap::set(txExpandedName& aKey, TxObject* aValue)
{
int i;
// Check if there already is an item with this key
for (i = 0; i < mItemCount; ++i) {
if (mItems[i].mLocalName == aKey.mLocalName &&
mItems[i].mNamespaceID == aKey.mNamespaceID) {
if (mOwnsValues)
delete mItems[i].mValue;
mItems[i].mValue = aValue;
return NS_OK;
}
}
// Allocate a new array if needed
if (mItemCount % kTxExpandedNameMapAllocSize == 0) {
MapItem* newItems = new MapItem[mItemCount +
kTxExpandedNameMapAllocSize];
if (!newItems)
return NS_ERROR_OUT_OF_MEMORY;
memcpy(newItems, mItems, mItemCount * sizeof(MapItem));
delete [] mItems;
mItems = newItems;
}
mItems[mItemCount].mNamespaceID = aKey.mNamespaceID;
mItems[mItemCount].mLocalName = aKey.mLocalName;
mItems[mItemCount].mValue = aValue;
++mItemCount;
return NS_OK;
}
/*
* Gets an item
* @param aKey key for item to get
* @return item with specified key, or null if no such item exists
*/
TxObject* txExpandedNameMap::get(txExpandedName& aKey)
{
int i;
for (i = 0; i < mItemCount; ++i) {
if (mItems[i].mLocalName == aKey.mLocalName &&
mItems[i].mNamespaceID == aKey.mNamespaceID)
return mItems[i].mValue;
}
return 0;
}

View File

@@ -1,123 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is
* Jonas Sicking.
* Portions created by the Initial Developer are Copyright (C) 2002
* Jonas Sicking. All Rights Reserved.
*
* Contributor(s):
* Jonas Sicking <sicking@bigfoot.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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef TRANSFRMX_EXPANDEDNAMEMAP_H
#define TRANSFRMX_EXPANDEDNAMEMAP_H
#include "XMLUtils.h"
#include "TxObject.h"
#include "txError.h"
class txExpandedNameMap {
public:
txExpandedNameMap(MBool aOwnsValues);
~txExpandedNameMap();
/*
* Adds an item, if an item with this key already exists an error is
* returned
* @param aKey key for item to add
* @param aValue value of item to add
* @return errorcode
*/
nsresult add(txExpandedName& aKey, TxObject* aValue);
/*
* Sets an item, if an item with this key already exists it is overwritten
* with the new value
* @param aKey key for item to set
* @param aValue value of item to set
* @return errorcode
*/
nsresult set(txExpandedName& aKey, TxObject* aValue);
/*
* Gets an item
* @param aKey key for item to get
* @return item with specified key, or null if no such item exists
*/
TxObject* get(txExpandedName& aKey);
class iterator {
public:
iterator(txExpandedNameMap& aMap) : mMap(aMap),
mCurrentPos(-1)
{
}
MBool next()
{
return ++mCurrentPos < mMap.mItemCount;
}
const txExpandedName key()
{
NS_ASSERTION(mCurrentPos >= 0 && mCurrentPos < mMap.mItemCount,
"invalid position in txExpandedNameMap::iterator");
return txExpandedName(mMap.mItems[mCurrentPos].mNamespaceID,
mMap.mItems[mCurrentPos].mLocalName);
}
TxObject* value()
{
NS_ASSERTION(mCurrentPos >= 0 && mCurrentPos < mMap.mItemCount,
"invalid position in txExpandedNameMap::iterator");
return mMap.mItems[mCurrentPos].mValue;
}
private:
txExpandedNameMap& mMap;
int mCurrentPos;
};
friend class iterator;
private:
struct MapItem {
PRInt32 mNamespaceID;
txAtom* mLocalName;
TxObject* mValue;
};
MapItem* mItems;
int mItemCount;
MBool mOwnsValues;
};
#endif //TRANSFRMX_EXPANDEDNAMEMAP_H

View File

@@ -1,224 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2002
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Peter Van der Beken <peterv@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 MPL, 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 MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef txMozillaString_h__
#define txMozillaString_h__
#include "nsReadableUtils.h"
#include "nsUnicharUtils.h"
MOZ_DECL_CTOR_COUNTER(String)
inline String::String()
{
MOZ_COUNT_CTOR(String);
}
inline String::String(const nsAString& aSource) : mString(aSource)
{
MOZ_COUNT_CTOR(String);
}
inline String::~String()
{
MOZ_COUNT_DTOR(String);
}
inline void String::append(const UNICODE_CHAR aSource)
{
mString.Append(aSource);
}
inline void String::append(const String& aSource)
{
mString.Append(aSource.mString);
}
inline void String::insert(const PRUint32 aOffset, const UNICODE_CHAR aSource)
{
mString.Insert(aSource, aOffset);
}
inline void String::insert(const PRUint32 aOffset, const String& aSource)
{
mString.Insert(aSource.mString, aOffset);
}
inline void String::replace(const PRUint32 aOffset, const UNICODE_CHAR aSource)
{
mString.SetCharAt(aSource, aOffset);
}
inline void String::replace(const PRUint32 aOffset, const String& aSource)
{
mString.Replace(aOffset, mString.Length() - aOffset, aSource.mString);
}
inline void String::deleteChars(const PRUint32 aOffset, const PRUint32 aCount)
{
mString.Cut(aOffset, aCount);
}
inline UNICODE_CHAR String::charAt(const PRUint32 aIndex) const
{
return mString.CharAt(aIndex);
}
inline void String::clear()
{
mString.Truncate();
}
inline PRInt32 String::indexOf(const UNICODE_CHAR aData, const PRInt32 aOffset) const
{
return mString.FindChar(aData, aOffset);
}
inline PRInt32 String::indexOf(const String& aData, const PRInt32 aOffset) const
{
return mString.Find(aData.mString, aOffset);
}
inline PRInt32 String::lastIndexOf(const UNICODE_CHAR aData, const PRInt32 aOffset) const
{
return mString.RFindChar(aData, aOffset);
}
inline MBool String::isEqual(const String& aData) const
{
if (this == &aData)
return MB_TRUE;
return mString.Equals(aData.mString);
}
inline MBool String::isEqualIgnoreCase(const String& aData) const
{
if (this == &aData)
return MB_TRUE;
return mString.Equals(aData.mString, nsCaseInsensitiveStringComparator());
}
inline MBool String::isEmpty() const
{
return mString.IsEmpty();
}
inline PRUint32 String::length() const
{
return mString.Length();
}
inline void String::setLength(const PRUint32 aLength)
{
mString.SetLength(aLength);
}
inline String& String::subString(const PRUint32 aStart, String& aDest) const
{
PRUint32 length = mString.Length() - aStart;
if (length < 0) {
aDest.clear();
}
else {
aDest.mString.Assign(Substring(mString, aStart, length));
}
return aDest;
}
inline String& String::subString(const PRUint32 aStart, const PRUint32 aEnd, String& aDest) const
{
PRUint32 length = aEnd - aStart;
if (length < 0) {
aDest.clear();
}
else {
aDest.mString.Assign(Substring(mString, aStart, length));
}
return aDest;
}
inline void String::toLowerCase()
{
ToLowerCase(mString);
}
inline void String::toUpperCase()
{
ToUpperCase(mString);
}
inline nsString& String::getNSString()
{
return mString;
}
inline const nsString& String::getConstNSString() const
{
return mString;
}
// XXX DEPRECATED
inline String::String(const PRUint32 aSize)
{
MOZ_COUNT_CTOR(String);
mString.SetCapacity(aSize);
}
inline String::String(const char* aSource)
{
MOZ_COUNT_CTOR(String);
mString.AssignWithConversion(aSource);
}
inline void String::append(const char* aSource)
{
mString.AppendWithConversion(aSource);
}
inline MBool String::isEqual(const char* aData) const
{
return mString.EqualsWithConversion(aData);
}
inline char* String::toCharArray() const
{
return ToNewCString(mString);
}
#endif // txMozillaString_h__

View File

@@ -1,4 +0,0 @@
target: clean
clean:
make clean

View File

@@ -1,31 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Transformiix XSLT Processor.
#
# The Initial Developer of the Original Code is Axel Hecht.
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
# All Rights Reserved.
#
# Contributor(s):
# Axel Hecht <axel@pike.org>
#
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = mozilla
include $(topsrcdir)/config/rules.mk

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +0,0 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="functions.xsl"?>
<!-- this is a test document -->
<document>
<!-- test comment -->
<x name="x">x</x>
<y name="y">y</y>
<z name="z">z</z>
<names xmlns:abc="foo">
<abc:test-name/>
</names>
</document>

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +0,0 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="identity.xsl"?>
<document>
<x name="x">x</x>
<y name="y">y</y>
<z name="z">z</z>
</document>

View File

@@ -1,9 +0,0 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="identity.xsl"?>
<!-- this is a test document -->
<document>
<!-- test comment -->
<x name="x">x</x>
<y name="y">y</y>
<z name="z">z</z>
</document>

View File

@@ -1,44 +0,0 @@
<?xml version="1.0"?>
<!--
/*
* (C) Copyright The MITRE Corporation 1999 All rights reserved.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* The program provided "as is" without any warranty express or
* implied, including the warranty of non-infringement and the implied
* warranties of merchantibility and fitness for a particular purpose.
* The Copyright owner will not be liable for any damages suffered by
* you as a result of using the Program. In no event will the Copyright
* owner be liable for any special, indirect or consequential damages or
* lost profits even if the Copyright owner has been advised of the
* possibility of their occurrence.
*
* Please see release.txt distributed with this file for more information.
*
*/
/**
* This is a test stylesheet used for testing MITRE's XSL processor
**/
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!-- root rule -->
<xsl:template match="/">
<xsl:apply-templates select="node()"/>
</xsl:template>
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,39 +0,0 @@
<?xml version="1.0"?>
<!--
/*
* (C) Copyright The MITRE Corporation 1999 All rights reserved.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* The program provided "as is" without any warranty express or
* implied, including the warranty of non-infringement and the implied
* warranties of merchantibility and fitness for a particular purpose.
* The Copyright owner will not be liable for any damages suffered by
* you as a result of using the Program. In no event will the Copyright
* owner be liable for any special, indirect or consequential damages or
* lost profits even if the Copyright owner has been advised of the
* possibility of their occurrence.
*
* Please see release.txt distributed with this file for more information.
*
*/
/**
* This is a test stylesheet used for testing MITRE's XSL processor
**/
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- match document element -->
<xsl:template match="document">
This rule comes from an included xsl:stylesheet!
<BR/>
<B>
<xsl:apply-templates/>
</B>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,12 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>TransforMiiX include test</TITLE>
</HEAD>
<BODY>This rule comes from an included xsl:stylesheet!<BR>
<B>
This is a simple test document for TransforMiiX.
</B>
</BODY>
</HTML>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="include.xsl"?>
<!-- this is a test document -->
<document>
This is a simple test document for TransforMiiX.
</document>

View File

@@ -1,49 +0,0 @@
<?xml version="1.0"?>
<!--
/*
* (C) Copyright The MITRE Corporation 1999 All rights reserved.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* The program provided "as is" without any warranty express or
* implied, including the warranty of non-infringement and the implied
* warranties of merchantibility and fitness for a particular purpose.
* The Copyright owner will not be liable for any damages suffered by
* you as a result of using the Program. In no event will the Copyright
* owner be liable for any special, indirect or consequential damages or
* lost profits even if the Copyright owner has been advised of the
* possibility of their occurrence.
*
* Please see release.txt distributed with this file for more information.
*
*/
/**
* This is a test stylesheet used for testing MITRE's XSL processor
**/
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
indent-result="yes"
result-ns="http://www.w3.org/1999/xhtml"
version="1.0">
<xsl:include href="include-helper.xsl"/>
<!-- root rule -->
<xsl:template match="/">
<HTML>
<HEAD>
<TITLE>TransforMiiX include test</TITLE>
</HEAD>
<BODY>
<xsl:apply-templates/>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,31 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Transformiix XSLT Processor.
#
# The Initial Developer of the Original Code is Axel Hecht.
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
# All Rights Reserved.
#
# Contributor(s):
# Axel Hecht <axel@pike.org>
#
DEPTH = ../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = Transformiix
include $(topsrcdir)/config/rules.mk

View File

@@ -1,40 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Transformiix XSLT Processor.
#
# The Initial Developer of the Original Code is Axel Hecht.
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
# All Rights Reserved.
#
# Contributor(s):
# Axel Hecht <axel@pike.org>
#
DEPTH = ../../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = content
CHROME_DIR = packages/transformiix
CHROME_MISC_DIR = .
CHROME_TYPE = content skin
CHROME_MISC = \
manifest.rdf \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -1,4 +0,0 @@
simple.xml
simplexsl.xml
transformiix.js
transformiix.xul

View File

@@ -1,29 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Transformiix XSLT Processor.
#
# The Initial Developer of the Original Code is Axel Hecht.
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
# All Rights Reserved.
#
# Contributor(s):
# Axel Hecht <axel@pike.org>
#
DEPTH = ../../../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

View File

@@ -1,34 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Transformiix XSLT Processor.
#
# The Initial Developer of the Original Code is Axel Hecht.
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
# All Rights Reserved.
#
# Contributor(s):
# Axel Hecht <axel@pike.org>
#
DEPTH = ..\..\..\..\..\..\..
CHROME_DIR=packages\transformiix
CHROME_CONTENT_DIR=transformiix\content
CHROME_CONTENT = \
.\transformiix.xul \
.\transformiix.js \
.\simple.xml \
.\simplexsl.xml \
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,29 +0,0 @@
<?xml version='1.0'?>
<!--
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is TransforMiiX XSLT processor.
The Initial Developer of the Original Code is The MITRE Corporation.
Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
Portions created by Peter Van der Beken are Copyright (C) 2000
Peter Van der Beken. All Rights Reserved.
Contributor(s):
Peter Van der Beken, peter.vanderbeken@pandora.be, original author.
-->
<doc>
<title>Our title</title>
</doc>

View File

@@ -1,47 +0,0 @@
<?xml version="1.0"?>
<!--
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is TransforMiiX XSLT processor.
The Initial Developer of the Original Code is The MITRE Corporation.
Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
Portions created by Peter Van der Beken are Copyright (C) 2000
Peter Van der Beken. All Rights Reserved.
Contributor(s):
Peter Van der Beken, peter.vanderbeken@pandora.be, original author.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html"/>
<xsl:template match="doc">
<HTML>
<HEAD>
<TITLE>The result document</TITLE>
</HEAD>
<BODY>
<xsl:apply-templates/>
</BODY>
</HTML>
</xsl:template>
<xsl:template match="title">
<H1>
<xsl:apply-templates/>
</H1>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,89 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Peter Van der Beken are Copyright (C) 2000
* Peter Van der Beken. All Rights Reserved.
*
* Contributor(s):
* Peter Van der Beken, peter.vanderbeken@pandora.be
* -- original author.
*
*/
var xmlLoaded, xslLoaded;
var xmlDocument, xslDocument, resultDocument;
var theXMLURL = "chrome://transformiix/content/simple.xml";
var theXSLURL = "chrome://transformiix/content/simplexsl.xml";
function onLoadTransformiix()
{
onTransform();
}
function onTransform()
{
var docShellElement = document.getElementById("xml-source");
var docShell = docShellElement.docShell;
docShell.viewMode = Components.interfaces.nsIDocShell.viewSource;
var webNav = docShell.QueryInterface(Components.interfaces.nsIWebNavigation);
var loadFlags = Components.interfaces.nsIWebNavigation.LOAD_FLAGS_NONE;
webNav.loadURI(theXMLURL, loadFlags, null, null, null);
docShellElement = document.getElementById("xsl-source");
docShell = docShellElement.docShell;
docShell.viewMode = Components.interfaces.nsIDocShell.viewSource;
webNav = docShell.QueryInterface(Components.interfaces.nsIWebNavigation);
webNav.loadURI(theXSLURL, loadFlags, null, null, null);
docShellElement = document.getElementById("result-doc");
resultDocument = webNav.document;
xmlDocument = resultDocument.implementation.createDocument("", "", null);
xmlDocument.addEventListener("load", xmlDocumentLoaded, false);
xmlDocument.load(theXMLURL, "text/xml");
xslDocument = resultDocument.implementation.createDocument("", "", null);
xslDocument.addEventListener("load", xslDocumentLoaded, false);
xslDocument.load(theXSLURL, "text/xml");
}
function xmlDocumentLoaded(e) {
xmlLoaded = true;
tryToTransform();
}
function xslDocumentLoaded(e) {
xslLoaded = true;
tryToTransform();
}
function tryToTransform() {
if (xmlLoaded && xslLoaded) {
try {
var xsltProcessor = null;
var xmlDocumentNode = xmlDocument.documentElement;
var xslDocumentNode = xslDocument.documentElement;
xsltProcessor = Components.classes["@mozilla.org/document-transformer;1?type=text/xsl"].getService();
if (xsltProcessor) xsltProcessor = xsltProcessor.QueryInterface(Components.interfaces.nsIDocumentTransformer);
}
catch (ex) {
dump("failed to get transformiix service!\n");
xsltProcessor = null;
}
dump("Mal sehen, "+xsltProcessor+"\n");
var outDocument = resultDocument.implementation.createDocument("", "", null);
xsltProcessor.TransformDocument(xmlDocumentNode, xslDocumentNode, outDocument, null);
// DumpDOM(outDocument.documentElement);
// DumpDOM(xmlDocument.documentElement);
}
}

View File

@@ -1,52 +0,0 @@
<?xml version="1.0"?>
<!--
The contents of this file are subject to the Mozilla Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is TransforMiiX XSLT processor.
The Initial Developer of the Original Code is The MITRE Corporation.
Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
Portions created by Peter Van der Beken are Copyright (C) 2000
Peter Van der Beken. All Rights Reserved.
Contributor(s):
Peter Van der Beken, peter.vanderbeken@pandora.be
- original author.
-->
<!DOCTYPE window>
<!--
<?xml-stylesheet href="chrome://Transformiix/skin" type="text/css"?>
-->
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical" onload="onLoadTransformiix();">
<script type="application/x-javascript" src="chrome://Transformiix/content/transformiix.js"/>
<script type="application/x-javascript" src="resource:/res/samples/DumpDOM.js"/>
<hbox id="tool-box" flex="1">
</hbox>
<hbox flex="10">
<vbox flex="50">
<iframe id="xml-source" class="doc-container" orient="horizontal" src="about:blank" flex="1"/>
<iframe id="xsl-source" class="doc-container" orient="horizontal" src="about:blank" flex="1"/>
</vbox>
<iframe id="result-doc" class="doc-container" orient="vertical" src="about:blank" flex="50"/>
</hbox>
</window>

View File

@@ -1,2 +0,0 @@
<!ENTITY transformiixCmd.label "Transformiix">
<!ENTITY transformiixApplyCmd.label "Apply XSLT Stylesheet">

View File

@@ -1,38 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Transformiix XSLT Processor.
#
# The Initial Developer of the Original Code is Axel Hecht.
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
# All Rights Reserved.
#
# Contributor(s):
# Axel Hecht <axel@pike.org>
#
DEPTH = ..\..\..\..\..\..
DIRS = content
CHROME_DIR = packages\transformiix
CHROME_MISC_DIR = \
.\
$(NULL)
CHROME_TYPE = content skin
CHROME_MISC = \
.\manifest.rdf \
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,47 +0,0 @@
<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
<!-- list all the packages being supplied by this jar -->
<RDF:Seq about="urn:mozilla:package:root">
<RDF:li resource="urn:mozilla:package:transformiix"/>
</RDF:Seq>
<RDF:Seq about="urn:mozilla:locale:root">
<RDF:li resource="urn:mozilla:locale:en-US"/>
</RDF:Seq>
<RDF:Seq about="urn:mozilla:skin:root">
<RDF:li resource="urn:mozilla:skin:modern/1.0" />
</RDF:Seq>
<!-- package information -->
<RDF:Description about="urn:mozilla:package:transformiix"
chrome:displayName="Transformiix"
chrome:author="Peter Van der Beken"
chrome:name="transformiix">
</RDF:Description>
<!-- locale information -->
<RDF:Description about="urn:mozilla:locale:en-US"
chrome:displayName="English(US)"
chrome:author="mozilla.org"
chrome:name="en-US"
chrome:previewURL="http://www.mozilla.org/locales/en-US.gif">
<chrome:packages>
<RDF:Seq about="urn:mozilla:locale:en-US:packages">
<RDF:li resource="urn:mozilla:locale:en-US:transformiix"/>
</RDF:Seq>
</chrome:packages>
</RDF:Description>
<!-- skin information -->
<RDF:Description about="urn:mozilla:skin:modern/1.0"
chrome:displayName="Modern"
chrome:author="mozilla.org"
chrome:name="modern/1.0">
<chrome:packages>
<RDF:Seq about="urn:mozilla:skin:modern/1.0:packages">
<RDF:li resource="urn:mozilla:skin:modern/1.0:transformiix"/>
</RDF:Seq>
</chrome:packages>
</RDF:Description>
</RDF:RDF>

View File

@@ -1,29 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Transformiix XSLT Processor.
#
# The Initial Developer of the Original Code is Axel Hecht.
# Portions created by Axel Hecht are Copyright (C) Axel Hecht.
# All Rights Reserved.
#
# Contributor(s):
# Axel Hecht <axel@pike.org>
#
DEPTH = ../../../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

View File

@@ -1,26 +0,0 @@
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is TransforMiiX XSLT processor.
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Peter Van der Beken are Copyright (C) 2000
* Peter Van der Beken. All Rights Reserved.
*
* Contributor(s):
* Peter Van der Beken, peter.vanderbeken@pandora.be
* -- original author.
*
*/
@import url(chrome://global/skin/global.css);

View File

@@ -1,55 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>A simple sorting example</TITLE>
</HEAD>
<BODY>
<P ALIGN="CENTER">
<B>
<FONT SIZE="+2">A simple sorting example</FONT>
<HR SIZE="1">
</B>
</P>
<TABLE BORDER="0">
<TR>
<TD>Sorting in ascending order</TD>
</TR>
<TR>
<TD>
<OL>
<LI>Dream Theatre</LI>
<LI>Gilbert, Paul</LI>
<LI>Royal Hunt</LI>
<LI>Satriani, Joe</LI>
</OL>
</TD>
</TR>
<TR>
<TD>Sorting in descending order</TD>
</TR>
<TR>
<TD>
<OL>
<LI>Satriani, Joe</LI>
<LI>Royal Hunt</LI>
<LI>Gilbert, Paul</LI>
<LI>Dream Theatre</LI>
</OL>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View File

@@ -1,14 +0,0 @@
<?xml version="1.0"?>
<?xml-stylesheet href="sort.xsl" type="text/xsl"?>
<!--
This is a sample XML document supplied with TransforMiiX
author: Keith Visco, kvisc@ziplink.net
-->
<sort>
<entry>Satriani, Joe</entry>
<entry>Dream Theatre</entry>
<entry>Royal Hunt</entry>
<entry>Gilbert, Paul</entry>
</sort>

Some files were not shown because too many files have changed in this diff Show More