Compare commits

..

4577 Commits
N3 ... MOZILLA

Author SHA1 Message Date
inonit%inonit.com
a66fb74e4e Import of HEAD before big E4X merge
git-svn-id: svn://10.0.0.236/branches/MOZILLA@219494 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 13:35:07 +00:00
(no author)
c46072a78b This commit was manufactured by cvs2svn to create branch 'MOZILLA'.
git-svn-id: svn://10.0.0.236/branches/MOZILLA@209641 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-10 12:15:27 +00:00
norris%netscape.com
2c828bd2f5 Make JavaAdapter work on mozilla-only.
git-svn-id: svn://10.0.0.236/trunk@29227 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 20:41:57 +00:00
mscott%netscape.com
45d8cd8d2b Remove unnecessary component registration calls for the netlib service.
git-svn-id: svn://10.0.0.236/trunk@29226 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 20:29:16 +00:00
law%netscape.com
5b0dc97235 Hopefully a fix for bug #4779
git-svn-id: svn://10.0.0.236/trunk@29225 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 20:21:43 +00:00
hyatt%netscape.com
adc67d9d90 Commenting out (again) the loadInitialPage call in navigator.xul. It
isn't necessary any more (and its implementation causes problems).


git-svn-id: svn://10.0.0.236/trunk@29224 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 20:20:39 +00:00
endico%mozilla.org
f99fd2c0b3 index idl files too
git-svn-id: svn://10.0.0.236/trunk@29223 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:52:55 +00:00
sfraser%netscape.com
4976da6903 Updated project
git-svn-id: svn://10.0.0.236/trunk@29222 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:52:04 +00:00
sfraser%netscape.com
f3dc3ee1f6 Remove EditorGuiManager project, and add TextServices to the build.
git-svn-id: svn://10.0.0.236/trunk@29221 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:51:34 +00:00
law%netscape.com
7194b6944f Add txtsvc to get find dialog building on win32 and unix
git-svn-id: svn://10.0.0.236/trunk@29219 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:46:01 +00:00
endico%mozilla.org
84da5c7450 index idl files too
git-svn-id: svn://10.0.0.236/trunk@29218 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:42:35 +00:00
kin%netscape.com
bf3bc922a4 Fix from mjudge@netscape.com for bug #5505 (Crash clicking on throbber in apprunner)
git-svn-id: svn://10.0.0.236/trunk@29217 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:38:22 +00:00
mcmullen%netscape.com
9cbd94005d Patch from Michael Lowe (part of #5473) replace true by PR_TRUE
git-svn-id: svn://10.0.0.236/trunk@29216 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:34:39 +00:00
mcmullen%netscape.com
7466c2717c Leakage and mismatch of allocate/free methods (patches submitted by Bruce Mitchener). Bug #5140.
git-svn-id: svn://10.0.0.236/trunk@29215 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:05:00 +00:00
alecf%netscape.com
5301124e7d remove references to stub nsIMessenger class
git-svn-id: svn://10.0.0.236/trunk@29214 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:03:36 +00:00
alecf%netscape.com
7c02f4bc98 oops, checked in the wrong file, backing this out (it's not ready yet)
git-svn-id: svn://10.0.0.236/trunk@29213 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:03:08 +00:00
alecf%netscape.com
314d30ce50 remove references to unnecessary nsIMessenger stub class
git-svn-id: svn://10.0.0.236/trunk@29212 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:00:54 +00:00
sfraser%netscape.com
e52901378f Split out nsFindDialog into a separate file. Lots of other FInd-related changes.
git-svn-id: svn://10.0.0.236/trunk@29211 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 19:00:28 +00:00
sfraser%netscape.com
3a10840aca First Checked In.
git-svn-id: svn://10.0.0.236/trunk@29210 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:59:46 +00:00
sfraser%netscape.com
dfcb331b9d Fix button disabling problem
git-svn-id: svn://10.0.0.236/trunk@29209 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:59:23 +00:00
sfraser%netscape.com
c51855185c Split the find code into two files.
git-svn-id: svn://10.0.0.236/trunk@29208 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:58:57 +00:00
robinf%netscape.com
a5840fea3a corrected spelling of POP to PoP
git-svn-id: svn://10.0.0.236/trunk@29207 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:52:33 +00:00
waterson%netscape.com
c8f7aeacd1 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@29204 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:46:36 +00:00
mcmullen%netscape.com
eb74bbff62 Fix an error return value.
git-svn-id: svn://10.0.0.236/trunk@29203 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:46:13 +00:00
waterson%netscape.com
5afe3a58e6 Added nsIRDFContainer and nsIRDFContainerUtils to replace the old C versions in rdfutil.
git-svn-id: svn://10.0.0.236/trunk@29202 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:45:59 +00:00
waterson%netscape.com
e2bf256fa8 Added nsIRDFContainer and nsIRDFContainerUtils.
git-svn-id: svn://10.0.0.236/trunk@29201 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:45:14 +00:00
mcafee%netscape.com
85b64ec7aa Adding checkbox test to Debug menu.
git-svn-id: svn://10.0.0.236/trunk@29200 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:44:01 +00:00
mcafee%netscape.com
93de3dc535 Adding checkoutTest.xul to exports for Linux, Win32. a=pinkerton
git-svn-id: svn://10.0.0.236/trunk@29199 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:42:15 +00:00
waterson%netscape.com
7f0df5cd5b Add sanity checks.
git-svn-id: svn://10.0.0.236/trunk@29198 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:41:10 +00:00
waterson%netscape.com
2673e459c5 Add sanity checks. Bug 5411, fix off-by-one in destructor loop initializer.
git-svn-id: svn://10.0.0.236/trunk@29197 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:40:53 +00:00
alecf%netscape.com
1640e393c4 rename the IDL attributes so it's more friendly to javascript, and use the new GetLocalPath method when upgrading mail.directory on POP
git-svn-id: svn://10.0.0.236/trunk@29196 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:40:48 +00:00
waterson%netscape.com
e0716bb6ec Bug 5411. Fixed off-by-one in loop initialzer.
git-svn-id: svn://10.0.0.236/trunk@29195 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:40:06 +00:00
alecf%netscape.com
82f1b61db6 add new GetServerURI() method for asking a server for the root RDF URI and make a generic GetLocalPath() for getting the local directory for this server.
git-svn-id: svn://10.0.0.236/trunk@29194 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:38:26 +00:00
alecf%netscape.com
e84c4eb44c add protocol-specific implementation of GetServerURI() in preparation for new method in nsIMsgIncomingServer interface
git-svn-id: svn://10.0.0.236/trunk@29193 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:37:15 +00:00
sspitzer%netscape.com
d6cca3e901 more cvs ignorage
git-svn-id: svn://10.0.0.236/trunk@29192 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:29:39 +00:00
sspitzer%netscape.com
4cfd11fd27 cvs ignorage of generated makefiles
git-svn-id: svn://10.0.0.236/trunk@29191 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:26:05 +00:00
fur%netscape.com
85db1cf8f0 Interim checkin of JS2 grammar. Still many ambiguities and bugs, though.
git-svn-id: svn://10.0.0.236/trunk@29190 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:22:30 +00:00
morse%netscape.com
0ae0b9f8b1 save prefs before leaving -- added on request of mcmullen
git-svn-id: svn://10.0.0.236/trunk@29189 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:14:48 +00:00
slamm%netscape.com
742b132f2a Skip files that do not exist or cannot be created. (Previously it gave up in this case).
git-svn-id: svn://10.0.0.236/trunk@29188 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:08:50 +00:00
waterson%netscape.com
b5755f0c9b Added parameter checks. Updated return codes.
git-svn-id: svn://10.0.0.236/trunk@29187 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:07:54 +00:00
ftang%netscape.com
c87cd212c1 set the default charset of nsWebShell to ISO-8859-1
git-svn-id: svn://10.0.0.236/trunk@29186 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:05:18 +00:00
sspitzer%netscape.com
a41f8722fa turn off some of my printfs
git-svn-id: svn://10.0.0.236/trunk@29185 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:04:17 +00:00
locka%iol.ie
b50e6fd03a Added code to parse a script from a file
Changed some "tstring &" refs to "TCHAR *"


git-svn-id: svn://10.0.0.236/trunk@29184 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:02:27 +00:00
locka%iol.ie
0e5432835a Added code to scan for external scripts and present them in the test tree
git-svn-id: svn://10.0.0.236/trunk@29183 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:00:22 +00:00
locka%iol.ie
c313f52e12 Simple test script
git-svn-id: svn://10.0.0.236/trunk@29182 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:59:44 +00:00
ftang%netscape.com
b9f82cb3e5 call SetDocumentCharset method to pass default charset to the parser
git-svn-id: svn://10.0.0.236/trunk@29181 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:58:50 +00:00
ftang%netscape.com
3193eb1303 add support for default encoding menu
git-svn-id: svn://10.0.0.236/trunk@29180 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:56:37 +00:00
ftang%netscape.com
f9b3f0d574 add SetDocumentCharset method to nsIParser, move nsCharsetSource from nsScanner.h to nsIParser.h
git-svn-id: svn://10.0.0.236/trunk@29179 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:49:45 +00:00
waterson%netscape.com
6f0c340690 Added nsISimpleEnumerator.h as a dummy file so that XPIDL that uses it won't break.
git-svn-id: svn://10.0.0.236/trunk@29178 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:31:57 +00:00
dcone%netscape.com
141f57c78d Fixed bug that causes the Mac to crash in background.
The pixelType of the Pixmap was set wrong.


git-svn-id: svn://10.0.0.236/trunk@29177 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:25:46 +00:00
dcone%netscape.com
7d88af9a82 fixed bug so refcount is inited
git-svn-id: svn://10.0.0.236/trunk@29176 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:25:00 +00:00
morse%netscape.com
ad2788b5b1 eliminate dependency on xp_getstr
git-svn-id: svn://10.0.0.236/trunk@29172 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 15:12:45 +00:00
morse%netscape.com
08999445c4 fix up problem with multiple usernames at one url
git-svn-id: svn://10.0.0.236/trunk@29171 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 15:12:08 +00:00
morse%netscape.com
980409e18f minor editing change
git-svn-id: svn://10.0.0.236/trunk@29170 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 15:08:38 +00:00
nisheeth%netscape.com
5e1e9d579d Shortened this file name to nsIExternalDocLoadObs.h to work around Mac's inability to deal with filenames longer than 31 chars.
git-svn-id: svn://10.0.0.236/trunk@29169 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 14:55:29 +00:00
nisheeth%netscape.com
42a9fe0f25 Shortened filename to nsIExternalDocLoadObs.h to work around Mac build bustage. Filenames longer than 31 characters are a bad thing on the Mac.
git-svn-id: svn://10.0.0.236/trunk@29168 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 14:54:03 +00:00
jfrancis%netscape.com
d4211f72a7 adding list to sample html
git-svn-id: svn://10.0.0.236/trunk@29167 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 14:27:02 +00:00
jfrancis%netscape.com
8591f5670e more html typing rules implementation
git-svn-id: svn://10.0.0.236/trunk@29166 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 14:08:52 +00:00
nisheeth%netscape.com
0c212f7062 The doc loader sends out document load progress notifications to external observers. The list of external observers is built up on each new top level document load by consulting the nsObserver service.
git-svn-id: svn://10.0.0.236/trunk@29165 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 10:51:52 +00:00
nisheeth%netscape.com
e0caeb88ae Adding and exporting nsIExternalDocumentLoadObserver.h on all platforms. This interface is implemented by external clients that want to receive document load notifications from the document loader.
git-svn-id: svn://10.0.0.236/trunk@29164 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 10:50:09 +00:00
bruce%cybersight.com
ed4fb79ac6 Fix for AIX build bustage: "../../../htmlparser/src/nsXIFDTD.cpp", line 1690.31: 1540-224: (S) Conversion from "nsString" to a reference to a non-const type "nsString&" requires a temporary.
git-svn-id: svn://10.0.0.236/trunk@29163 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 07:31:09 +00:00
kostello%netscape.com
1a6701bd85 Added support to use the specified document charset when encoding a
document to HTML to Text. The charset information is first encoded
in XIF and then that information is used when interpretting the unicode
for output.

Added support to output character entity information which should address
bug 4709


git-svn-id: svn://10.0.0.236/trunk@29162 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 06:16:49 +00:00
kostello%netscape.com
17d6c2ea7a Added Encoding of charset information
Encoded < and > as LT and GT character entities to fix bug #4709


git-svn-id: svn://10.0.0.236/trunk@29161 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 06:10:47 +00:00
jband%netscape.com
d3ed7620de ifdef'ing out a much more likely cause for the Mac bustage
git-svn-id: svn://10.0.0.236/trunk@29160 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 05:50:12 +00:00
jband%netscape.com
dea8acc4e6 changing a member name in hopes that this has something to do with the Mac bustage. I can't see what else might be wrong. Pure voodoo!
git-svn-id: svn://10.0.0.236/trunk@29159 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 05:40:18 +00:00
bienvenu%netscape.com
90615d6714 get imap message display working
git-svn-id: svn://10.0.0.236/trunk@29158 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 05:08:49 +00:00
briano%netscape.com
df95dc8f79 Automated update
git-svn-id: svn://10.0.0.236/trunk@29157 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 04:59:38 +00:00
sspitzer%netscape.com
07e7ca5f54 commenting out the --enable-js-stubs stuff.
according to waterson, the enable-js-stubs stuff is obsolete.
once I hear back from jband, I'll remove it for good.


git-svn-id: svn://10.0.0.236/trunk@29156 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 04:46:10 +00:00
jband%netscape.com
05522deaa6 adding new scheme for building xpidl files - only Win32 supported at first.
git-svn-id: svn://10.0.0.236/trunk@29155 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 04:35:41 +00:00
jband%netscape.com
bfa10cbf8b Make xptinfo fail more gracefully. Fix a couple of warnings. Get rid of XPTDIR env var hack for XP_PC (other platforms coming soon)
git-svn-id: svn://10.0.0.236/trunk@29154 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 04:23:29 +00:00
mjudge%netscape.com
0352ad75c6 selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order.
git-svn-id: svn://10.0.0.236/trunk@29153 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 04:02:04 +00:00
putterman%netscape.com
a6ece6b3a1 use NS_IF_RELEASE in case db is null.
git-svn-id: svn://10.0.0.236/trunk@29152 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 03:08:42 +00:00
sspitzer%netscape.com
5bcbd707a0 get rid of a warning on UNIX
git-svn-id: svn://10.0.0.236/trunk@29151 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 02:56:56 +00:00
putterman%netscape.com
2082df9ddd changed nsIMessage to nsIMsgDBHdr.
git-svn-id: svn://10.0.0.236/trunk@29150 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 22:34:02 +00:00
harishd%netscape.com
de6fc900d0 Added an extra parameter(PRBool) - aNotify, to AddAttributes().
This parameter has been defaulted to PR_FALSE.


git-svn-id: svn://10.0.0.236/trunk@29149 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 22:18:49 +00:00
bruce%cybersight.com
7a7bf03dcd Make destructor virtual (approved by rickg).
git-svn-id: svn://10.0.0.236/trunk@29148 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 22:01:14 +00:00
bienvenu%netscape.com
7331065fd0 add interface to set mailboxname
git-svn-id: svn://10.0.0.236/trunk@29147 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 22:00:58 +00:00
harishd%netscape.com
5cc529b5e4 Cleaned up HandleOmittedTag() and HandleSavedTokensAbove().
git-svn-id: svn://10.0.0.236/trunk@29146 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 21:55:05 +00:00
bienvenu%netscape.com
26af722aa5 adopt new msg uri scheme from scott, work on message loading
git-svn-id: svn://10.0.0.236/trunk@29145 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 21:51:39 +00:00
mscott%netscape.com
c29b06cb71 Only include <windows.h> if we are building on windows.
git-svn-id: svn://10.0.0.236/trunk@29144 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 21:32:34 +00:00
mscott%netscape.com
6f8d1ba42c Fix many many Linux warnings by removing some unused variables.
git-svn-id: svn://10.0.0.236/trunk@29143 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 21:30:44 +00:00
mscott%netscape.com
31851af2a7 Fix type for including nsIImapMailFolderSink.h (we had a lower case 'f')
git-svn-id: svn://10.0.0.236/trunk@29142 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 21:25:40 +00:00
mscott%netscape.com
12b733a5c4 Add new line to end of file.
git-svn-id: svn://10.0.0.236/trunk@29141 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 21:23:36 +00:00
mscott%netscape.com
a1e2e3fd9b Fix typo in including nsIMAPHostSessionList.h.
git-svn-id: svn://10.0.0.236/trunk@29140 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 21:21:52 +00:00
mscott%netscape.com
cb23b0fc5a Change XP_Bool to PRBool to get Linux build going for imap.
git-svn-id: svn://10.0.0.236/trunk@29139 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 21:21:10 +00:00
mscott%netscape.com
965341ed2c Change XP_Bool to PRBool
git-svn-id: svn://10.0.0.236/trunk@29138 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 21:20:38 +00:00
mscott%netscape.com
a29ee5f7f2 Including wrong file for host session list. the file is nsIMAPHostSessionList not nsImapHostSessionList. Linux is case sensitive when including files.
git-svn-id: svn://10.0.0.236/trunk@29137 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 21:18:08 +00:00
mscott%netscape.com
d92aba0d80 Add new line to end of file.
git-svn-id: svn://10.0.0.236/trunk@29136 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 21:14:28 +00:00
mscott%netscape.com
82794c70ae Add new lines to end of files.
git-svn-id: svn://10.0.0.236/trunk@29135 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 20:58:04 +00:00
mscott%netscape.com
c87b90fa6e Add new line.
git-svn-id: svn://10.0.0.236/trunk@29134 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 20:56:23 +00:00
evaughan%netscape.com
b82aa6bd28 Made tabs use visibility to hide and show views.
git-svn-id: svn://10.0.0.236/trunk@29133 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 20:07:45 +00:00
mscott%netscape.com
0b1f4081c6 Re-writing pop protocol to use nsMsgLineStreamBuffer instead of the old & slow ReadLine and Read functions that used to be here.
git-svn-id: svn://10.0.0.236/trunk@29132 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 20:04:08 +00:00
mscott%netscape.com
59a500bcab ReadNextLine now returns # bytes read.
nsMsgLineStreamBuffer now takes a delimeter for end of line markings. This is CRLF for imap.


git-svn-id: svn://10.0.0.236/trunk@29131 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 19:56:34 +00:00
mscott%netscape.com
33558c25e6 nsMsgLineStreamBuffer::ReadNextLine now returns # bytes read.
use platform specfic line delimeter for nsMsgbufferStream input. This should fix the display message problem I was seeing on Mac and Linux.


git-svn-id: svn://10.0.0.236/trunk@29130 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 19:55:05 +00:00
mscott%netscape.com
d74f659f27 ProcessXOVER must now take a PRUint32 instead of an int32
git-svn-id: svn://10.0.0.236/trunk@29129 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 19:54:02 +00:00
mscott%netscape.com
3e71f6bd87 ReadNextLine now returns the number of bytes. This simplified our use of the function dramatically.
nsMsgLineStreamBuffer takes a line delimeter of CRLF for nntp.


git-svn-id: svn://10.0.0.236/trunk@29128 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 19:53:22 +00:00
mscott%netscape.com
f356f350a7 status must now be an unsigned int32 for process xover.
git-svn-id: svn://10.0.0.236/trunk@29127 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 19:52:01 +00:00
mscott%netscape.com
f3bdda604d nsMsgLineStreamBuffer::ReadNextline now returns # bytes read.
nsMsgLineStreamBuffer now lets you pass in the delimeter string to be used for determing the end of a line. This allows the function to be platform friendly with line endings...


git-svn-id: svn://10.0.0.236/trunk@29126 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 19:51:08 +00:00
warren%netscape.com
70f38c9b80 Started hooking up socket transport synchronous streams. Added unix makefiles.
git-svn-id: svn://10.0.0.236/trunk@29125 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 19:25:24 +00:00
morse%netscape.com
6c10b9393a first pass at doing localization correctly
git-svn-id: svn://10.0.0.236/trunk@29124 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 19:23:22 +00:00
jband%netscape.com
3f579066c1 fix Win32 crash on startup - not copying xpc3250.dll to components dir
git-svn-id: svn://10.0.0.236/trunk@29123 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 18:56:09 +00:00
mscott%netscape.com
743b48b551 Fix for Bug #5468 --> When adding new messages to the mail folder, we write a CRLF at the end of the message. However, we weren't informing the parser that we added a CRLF so the parser's total bytes for the message was always two bytes short...
git-svn-id: svn://10.0.0.236/trunk@29122 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 18:31:09 +00:00
endico%mozilla.org
c58f5d6ded alter regex to allow newsgroups with more than 4 parts. the checkin groups weren't getting marked up properly
git-svn-id: svn://10.0.0.236/trunk@29121 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 18:02:22 +00:00
troy%netscape.com
1aee40e685 Added flag bit NS_FRAME_OUT_OF_FLOW, and changed the frame construction code
to set it for floated and absolutely positioned frames


git-svn-id: svn://10.0.0.236/trunk@29120 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 17:20:53 +00:00
troy%netscape.com
a67c0a1aaf Added code to check the placeholder's out-of-flow frame and see if it's
an absolutely positioned frame and not just assume it's a floater


git-svn-id: svn://10.0.0.236/trunk@29119 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 17:01:07 +00:00
troy%netscape.com
6e60419dbc Changed FindFrameWithContent() to check for a frame type of "placeholderFrame"
and return the out-of-flow frame instead


git-svn-id: svn://10.0.0.236/trunk@29118 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 17:00:24 +00:00
troy%netscape.com
0e0466e34b Removed ContentChanged() and AttributeChanged() which are no longer need
now that GetPrimaryFrameFor() always returns the out-of-flow frame


git-svn-id: svn://10.0.0.236/trunk@29117 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 16:59:39 +00:00
troy%netscape.com
fc762f49b8 Change so we use nsPlaceholderFrame frames for all placeholders
git-svn-id: svn://10.0.0.236/trunk@29116 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 16:58:42 +00:00
dveditz%netscape.com
52894bf495 fixing bruce's build bustage
git-svn-id: svn://10.0.0.236/trunk@29115 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 15:57:41 +00:00
bruce%cybersight.com
ceebc5fece Fix for a comment.
git-svn-id: svn://10.0.0.236/trunk@29114 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 13:31:05 +00:00
bruce%cybersight.com
7d28c89249 Fix for calls to nsFileSpec::GetLeafName(). It allocates memory with strdup(), so use free() and not delete[].
git-svn-id: svn://10.0.0.236/trunk@29113 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 13:27:36 +00:00
locka%iol.ie
b06e399a04 Fixed duff auto-generated ATL/MFC integration
Got first script running using the controls active script site class


git-svn-id: svn://10.0.0.236/trunk@29112 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 13:17:28 +00:00
locka%iol.ie
1fc78188aa First sane version of script site - works with cbrowse
git-svn-id: svn://10.0.0.236/trunk@29111 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 13:15:37 +00:00
locka%iol.ie
1312a234ff Added a little armour to prevent a crash
git-svn-id: svn://10.0.0.236/trunk@29110 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 13:15:10 +00:00
beard%netscape.com
a0016d1bd2 took out #undefs of CookieManagement, SingleSignon and PRIVACY_POLICIES
git-svn-id: svn://10.0.0.236/trunk@29109 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 06:43:23 +00:00
beard%netscape.com
0b111599fb added xp_stub.c to fix link errors with SingleSignon turned on.
git-svn-id: svn://10.0.0.236/trunk@29108 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 06:43:05 +00:00
beard%netscape.com
303f0ccc98 reworked XP_ASSERT not to depend on <PP_Types.h> nor <UException.h> which are PowerPlant specific.
git-svn-id: svn://10.0.0.236/trunk@29107 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 06:43:04 +00:00
beard%netscape.com
d36ac1866a must #define EDITOR to get prototype for EDT_SavePublishUsernameAndPassword()
git-svn-id: svn://10.0.0.236/trunk@29106 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 06:41:42 +00:00
beard%netscape.com
1eac43e617 replaced singsign.c with singsignStub.cpp
git-svn-id: svn://10.0.0.236/trunk@29105 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 06:41:25 +00:00
bruce%cybersight.com
c558b49f30 Old patches for non-virtual vs virtual destructors (approved by Troy)
git-svn-id: svn://10.0.0.236/trunk@29104 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 04:57:38 +00:00
jefft%netscape.com
f7a5864781 fixed imap build bustage; don't how this happend
git-svn-id: svn://10.0.0.236/trunk@29103 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 04:27:37 +00:00
troy%netscape.com
713c4c17a7 Fixed a comment
git-svn-id: svn://10.0.0.236/trunk@29102 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 04:14:06 +00:00
rickg%netscape.com
fb1366a173 more backout
git-svn-id: svn://10.0.0.236/trunk@29101 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 04:10:37 +00:00
rickg%netscape.com
5f027c4b56 completed the backout
git-svn-id: svn://10.0.0.236/trunk@29100 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 03:50:10 +00:00
rickg%netscape.com
4399272b2c backing out string changes until I can get it right
git-svn-id: svn://10.0.0.236/trunk@29099 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 03:10:44 +00:00
blizzard%redhat.com
b2ee85e9dd little more xlib work
git-svn-id: svn://10.0.0.236/trunk@29098 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 02:58:15 +00:00
rickg%netscape.com
71d285e691 still trying to fix mac breakage
git-svn-id: svn://10.0.0.236/trunk@29097 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 02:53:39 +00:00
troy%netscape.com
3f68dd05f9 Added support for fixed background attachment
git-svn-id: svn://10.0.0.236/trunk@29096 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 02:43:50 +00:00
rickg%netscape.com
196e86a6cc removed warnings and a build error
git-svn-id: svn://10.0.0.236/trunk@29095 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 02:05:03 +00:00
rickg%netscape.com
e71f300fd7 fix to nsString2 constructor
git-svn-id: svn://10.0.0.236/trunk@29094 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 01:51:21 +00:00
rickg%netscape.com
c38e567e72 fix to nsString2 constructor
git-svn-id: svn://10.0.0.236/trunk@29093 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 01:49:58 +00:00
rickg%netscape.com
85df707cc9 perf improvement for macaddict.com (and others)
git-svn-id: svn://10.0.0.236/trunk@29092 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 01:43:06 +00:00
rickg%netscape.com
df6418fdb2 removed dup identifier
git-svn-id: svn://10.0.0.236/trunk@29091 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 01:35:45 +00:00
rickg%netscape.com
1b955c406d disabled some unnecessary debug output
git-svn-id: svn://10.0.0.236/trunk@29090 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 01:27:51 +00:00
rickg%netscape.com
e283248858 removed PRUnichar* operator() and other WIP for nsString2
git-svn-id: svn://10.0.0.236/trunk@29089 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 01:24:10 +00:00
morse%netscape.com
f56a301622 navigator.xul was failing to load
git-svn-id: svn://10.0.0.236/trunk@29088 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 23:57:00 +00:00
troy%netscape.com
9a1dc08b89 Removed #define ALL_VIEW_FLAGS which is no longer used
git-svn-id: svn://10.0.0.236/trunk@29087 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 22:58:14 +00:00
troy%netscape.com
be9de6ec14 Changed Scroll() to check if the scrolled view has the
NS_VIEW_PUBLIC_FLAG_DONT_BITBLT flag set


git-svn-id: svn://10.0.0.236/trunk@29086 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 22:49:28 +00:00
putterman%netscape.com
ce61fc1510 added files: mozilla/mailnews/local/src/nsLocalMessage.cpp, mozilla/mailnews/local/src/nsLocalUtils.cpp
git-svn-id: svn://10.0.0.236/trunk@29085 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:53:22 +00:00
putterman%netscape.com
69e1a602c7 added files: mozilla/mailnews/base/util/nsMessage.cpp
git-svn-id: svn://10.0.0.236/trunk@29084 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:51:22 +00:00
putterman%netscape.com
1b44a3a36c added nsNewsMessage, nsNewsUtils and use nsIMsgDBHdr.
git-svn-id: svn://10.0.0.236/trunk@29083 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:47:04 +00:00
putterman%netscape.com
fb3008f90d Add ability to create a message.
git-svn-id: svn://10.0.0.236/trunk@29082 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:46:07 +00:00
putterman%netscape.com
26e11c509c Added nsLocalMessage and nsLocalUtils. Use nsIMsgDBHdr.
git-svn-id: svn://10.0.0.236/trunk@29081 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:45:42 +00:00
putterman%netscape.com
908c1ab6a1 Added ability to create a message.
git-svn-id: svn://10.0.0.236/trunk@29080 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:44:40 +00:00
putterman%netscape.com
1048229bcd use nsIMsgDBHdr.
git-svn-id: svn://10.0.0.236/trunk@29079 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:44:01 +00:00
putterman%netscape.com
a6344d0dc8 Use nsIMsgDBHdr and user converter enumerator for returning messages.
git-svn-id: svn://10.0.0.236/trunk@29078 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:43:25 +00:00
putterman%netscape.com
f11b938e29 Added nsImapMessage and nsImapUtils.
git-svn-id: svn://10.0.0.236/trunk@29077 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:42:50 +00:00
putterman%netscape.com
8ac48f284b use nsIMsgDBHdr instead of nsIMessage. Part of removing rdf dependency.
git-svn-id: svn://10.0.0.236/trunk@29076 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:40:47 +00:00
putterman%netscape.com
72b7a9a1e1 Added nsIMsgHdr
git-svn-id: svn://10.0.0.236/trunk@29075 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:38:57 +00:00
putterman%netscape.com
3c0ff8fb05 removed RDF dependency from db.
git-svn-id: svn://10.0.0.236/trunk@29074 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:38:04 +00:00
putterman%netscape.com
c4e4fd6201 Added enumerator to convert nsMsgDBHdr into message.
git-svn-id: svn://10.0.0.236/trunk@29073 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:37:00 +00:00
putterman%netscape.com
b26368e5dc removed protocol dependent uri utilities and added CreateMessageFromMsgDBHdr.
git-svn-id: svn://10.0.0.236/trunk@29072 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:36:26 +00:00
putterman%netscape.com
0958a14458 Removed protocol dependent uri utilities.
git-svn-id: svn://10.0.0.236/trunk@29071 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:36:00 +00:00
putterman%netscape.com
681aef553a Added nsMessage
git-svn-id: svn://10.0.0.236/trunk@29070 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:35:34 +00:00
putterman%netscape.com
19b56537d9 Check for null pointer before using db in change view.
git-svn-id: svn://10.0.0.236/trunk@29069 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:34:51 +00:00
putterman%netscape.com
654691c530 Use new msghdr to message converter enumerator.
git-svn-id: svn://10.0.0.236/trunk@29068 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:34:25 +00:00
putterman%netscape.com
366f05a646 Use nsIMsgDBHdr.
git-svn-id: svn://10.0.0.236/trunk@29067 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:33:39 +00:00
putterman%netscape.com
22090861f8 Added CreateMsgFromMsgDBHdr.
git-svn-id: svn://10.0.0.236/trunk@29066 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:33:20 +00:00
putterman%netscape.com
30fde66632 Added nsIMessage
git-svn-id: svn://10.0.0.236/trunk@29065 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 20:32:24 +00:00
scc%netscape.com
dd0f5ff878 removed the non-|const| version of |nsAutoCString::operator const char*| since the const version serves in both |const| and non-|const| situations, and will be ambiguous to many compilers.
git-svn-id: svn://10.0.0.236/trunk@29063 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 18:40:36 +00:00
morse%netscape.com
3edeb11ee8 fix diagnostic messages
git-svn-id: svn://10.0.0.236/trunk@29062 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 18:03:03 +00:00
pavlov%pavlov.net
d2ebe78be0 add supporting code for eBorderStyle_BorderlessTopLevel
git-svn-id: svn://10.0.0.236/trunk@29061 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 16:54:54 +00:00
ramiro%netscape.com
107fb91b8c Remove obsolete file.
git-svn-id: svn://10.0.0.236/trunk@29060 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 16:52:37 +00:00
pavlov%pavlov.net
357df7071a add eBorderStyle_BorderlessTopLevel
git-svn-id: svn://10.0.0.236/trunk@29059 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 16:33:12 +00:00
pavlov%pavlov.net
b1258eae84 s/NULL/nsnull/ in nsGtkEventHandler
use a few macros in nsWidget


git-svn-id: svn://10.0.0.236/trunk@29058 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 15:00:11 +00:00
despotdaemon%netscape.com
5ffd0dce4c Pseudo-automatic update of changes made by subbarao@computer.org.
git-svn-id: svn://10.0.0.236/trunk@29057 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 14:50:29 +00:00
blizzard%redhat.com
3a831c997b fix gfx .so definition in makefile
git-svn-id: svn://10.0.0.236/trunk@29056 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 12:20:53 +00:00
blizzard%redhat.com
b5f5195864 make xlib build again
git-svn-id: svn://10.0.0.236/trunk@29055 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 12:20:28 +00:00
nisheeth%netscape.com
29063e4928 Fix off by one error for arrow that points out XML error locations.
git-svn-id: svn://10.0.0.236/trunk@29054 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 10:23:39 +00:00
rjc%netscape.com
2f63dc07d9 Don't need to add rdfcore into AppCoresManager... as its now done automatically by the Init() call.
git-svn-id: svn://10.0.0.236/trunk@29053 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 10:15:06 +00:00
nisheeth%netscape.com
21c925aca3 Fixed the error reporting code's math for the final time, hopefully. Also fixed the off by one error for the textual arrow that points out the error location.
git-svn-id: svn://10.0.0.236/trunk@29052 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 10:06:35 +00:00
rjc%netscape.com
dfef0f5274 Switch over to using nsISupportsArray instead of nsVoidArray to fix refcnt'ing issue with pulsing code.
git-svn-id: svn://10.0.0.236/trunk@29051 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 09:42:03 +00:00
jband%netscape.com
847f304920 Commenting out the component registration didn't do what I expected. So, I'll unset the IS_COMPONENT flag in Makefile.in to keep the .so from being copied to the components directory at on on Unix
git-svn-id: svn://10.0.0.236/trunk@29050 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 09:40:51 +00:00
jband%netscape.com
2c6e952761 Comment out component registration of xpconnect except on XP_PC. The problem for Unix is that xpconnect relies on xptcall at runtime. Apprunner and viewer are core dumping on linux. However TestXPC and xpcshell work fine. Further study is required. For now I'll try to unbreak apprunner and viewer for others.
git-svn-id: svn://10.0.0.236/trunk@29049 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 09:32:35 +00:00
rjc%netscape.com
4cfc40f61c Fix file system datasource after Chris' landing.
git-svn-id: svn://10.0.0.236/trunk@29048 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 09:28:50 +00:00
rjc%netscape.com
6f8ccaa4a2 Fix related links after Chris' landing.
git-svn-id: svn://10.0.0.236/trunk@29047 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 09:07:02 +00:00
nisheeth%netscape.com
219ffa4c38 Don't use XML_UNICODE_WCHAR_T (defines characters with the wchar_t data type whose size varies by platform) for strings in expat. Use XML_UNICODE (defines characters with the unsigned short data type whose size is the same across all platforms) instead.
git-svn-id: svn://10.0.0.236/trunk@29046 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 08:39:06 +00:00
nisheeth%netscape.com
6922c01ae7 We are not using the XML_UNICODE_WCHAR_T define on any platform. So, no need to define it.
git-svn-id: svn://10.0.0.236/trunk@29045 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 08:34:43 +00:00
nisheeth%netscape.com
f87d9ae7f2 Fix for bug 5447. Check for #define XML_UNICODE_WCHAR_T before using the data type wchar_t.
git-svn-id: svn://10.0.0.236/trunk@29044 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 08:33:34 +00:00
jband%netscape.com
d798ce06a8 made xpconnect a service and changed the Win32 and Unix makefiles to have the xpconnect dll installed to the components directory
git-svn-id: svn://10.0.0.236/trunk@29043 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 08:10:16 +00:00
bruce%cybersight.com
e240b8e798 Missed an instance of 'false' earlier. Fixes AIX and Solaris builds.
git-svn-id: svn://10.0.0.236/trunk@29042 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 07:52:36 +00:00
bruce%cybersight.com
754ba7224e Fix Solaris CC and AIX build bustage. Can't use 'bool', must use PRBool.
git-svn-id: svn://10.0.0.236/trunk@29041 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 06:32:38 +00:00
beard%netscape.com
fcbdb6fb26 made the class to use for the JavaAdapter selectable via the Java property "org.mozilla.javascript.JavaAdapter"
git-svn-id: svn://10.0.0.236/trunk@29040 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 06:28:17 +00:00
sfraser%netscape.com
2b4d2451e5 Fix out param typo.
git-svn-id: svn://10.0.0.236/trunk@29039 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 05:53:00 +00:00
beard%netscape.com
dc0aba6c0f moving wallet to components directory.
git-svn-id: svn://10.0.0.236/trunk@29038 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 05:30:44 +00:00
jefft%netscape.com
000b32dc2d folder name is now get from nsIMsgFolder
git-svn-id: svn://10.0.0.236/trunk@29037 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 05:13:12 +00:00
sdagley%netscape.com
ef8069fc28 updating/fixing for current syntax
git-svn-id: svn://10.0.0.236/trunk@29035 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 05:07:18 +00:00
sfraser%netscape.com
5af950c79b c2pstr on a "inline" string is bad, with VM on. Fixed.
git-svn-id: svn://10.0.0.236/trunk@29034 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 05:00:32 +00:00
troy%netscape.com
42adb09633 Fixed a problem where CreateViewForFrame() was setting NS_VIEW_PUBLIC_FLAG_DONT_BITBLT
all the time


git-svn-id: svn://10.0.0.236/trunk@29033 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 04:53:42 +00:00
sfraser%netscape.com
55fcec43e4 Fix access paths, and make a new group for DOM Prop files.
git-svn-id: svn://10.0.0.236/trunk@29032 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 04:49:14 +00:00
waterson%netscape.com
2e743bb622 Fix wallet bustage on mac.
git-svn-id: svn://10.0.0.236/trunk@29031 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 04:41:01 +00:00
nhotta%netscape.com
055f0f8e27 WIN32 input/output unicode data conversion (not a part of the build).
git-svn-id: svn://10.0.0.236/trunk@29030 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 04:17:06 +00:00
beard%netscape.com
5cc5b82d0b added IsJavaEnabled().
git-svn-id: svn://10.0.0.236/trunk@29029 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 04:10:49 +00:00
beard%netscape.com
414ec140fe Turned on ClientWallet.
git-svn-id: svn://10.0.0.236/trunk@29028 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 04:09:39 +00:00
waterson%netscape.com
de8ab63afa Fix a comment that I forgot to keep in sync.
git-svn-id: svn://10.0.0.236/trunk@29027 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 03:28:43 +00:00
waterson%netscape.com
b728481e8b Whoops. Missed this one.
git-svn-id: svn://10.0.0.236/trunk@29026 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 03:28:22 +00:00
saari%netscape.com
a7eb7ec971 menu item enabling/disabling for GTK
git-svn-id: svn://10.0.0.236/trunk@29025 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 03:26:10 +00:00
sfraser%netscape.com
d42abe1f44 Changes library names for chrome, brprof, wallet and rdf
git-svn-id: svn://10.0.0.236/trunk@29024 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 03:21:34 +00:00
sfraser%netscape.com
7cc6b57779 Fix library creator code
git-svn-id: svn://10.0.0.236/trunk@29023 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 03:20:44 +00:00
sfraser%netscape.com
5df54f37ae Fix creator code of shared libs
git-svn-id: svn://10.0.0.236/trunk@29022 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 03:18:19 +00:00
morse%netscape.com
84775374f1 make wallet independent of xul changes
git-svn-id: svn://10.0.0.236/trunk@29021 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 03:08:03 +00:00
troy%netscape.com
d40fa73ba2 Added function GetClipView()
git-svn-id: svn://10.0.0.236/trunk@29020 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:52:58 +00:00
waterson%netscape.com
ad47378ef2 The Great Cursor Excorcism. Dropped cursors in favor of enumerators. Details on RDF_19990422_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@29019 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:41:54 +00:00
waterson%netscape.com
6d8a81a50f Fixed incorrect use of rdf service.
git-svn-id: svn://10.0.0.236/trunk@29018 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:41:18 +00:00
waterson%netscape.com
af8c84cb7c The Great Cursor Excorcism. Removed cursors in favor of enumerators. Misc updates to purge the xpidl stubs stuff in preparation for XPConnect. Details on RDF_19990422_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@29017 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:41:02 +00:00
waterson%netscape.com
bb9438ca47 Added CID for XPConnect.
git-svn-id: svn://10.0.0.236/trunk@29016 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:39:09 +00:00
waterson%netscape.com
f0e906aeae Added nsISimpleEnumerator as Phase I of the great enumerator unification. Added misc files for XPConnect. Details in RDF_19990422_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@29015 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:38:54 +00:00
waterson%netscape.com
24bc601a81 Modified JSStubGen to spit out correct code from XPConnect.
git-svn-id: svn://10.0.0.236/trunk@29014 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:38:05 +00:00
waterson%netscape.com
e6dfee029f Added XPConnect hooks.
git-svn-id: svn://10.0.0.236/trunk@29013 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:37:41 +00:00
gordon%netscape.com
620c627252 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@29012 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:08:50 +00:00
rickg%netscape.com
8832f32e49 sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@29011 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 01:39:50 +00:00
jefft%netscape.com
5673842d58 nsIImapService now takes nsIMsgFolder instead of nsIImapMailFolderSink for folder related interfaces; merget nsImapMailFolder::GetPath() & nsImapMailFolder::GetPathName()
git-svn-id: svn://10.0.0.236/trunk@29008 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 01:18:03 +00:00
jefft%netscape.com
73b3e39ecf nsIImapService now takes nsIMsgFolder instead of nsIImapMailFolderSink for folder related interfaces
git-svn-id: svn://10.0.0.236/trunk@29007 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 01:14:49 +00:00
jefft%netscape.com
d93c6c5453 fixed duplicate nsIID problem
git-svn-id: svn://10.0.0.236/trunk@29006 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 01:13:17 +00:00
rjc%netscape.com
64b80f4a7b hasAssertion() should return NS_OK irregardless of whether it actually has the assertion or not (instead of returning NS_ERROR_FAILURE if it it doesn't have the assertion).
git-svn-id: svn://10.0.0.236/trunk@29005 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 01:11:44 +00:00
jefft%netscape.com
9e3c98a783 initialize local variable, folderURI, to nsnull
git-svn-id: svn://10.0.0.236/trunk@29004 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 01:11:38 +00:00
rickg%netscape.com
f0f299ee3e tweak to dtd context
git-svn-id: svn://10.0.0.236/trunk@29001 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 00:57:42 +00:00
rjc%netscape.com
0b2dd699b7 Added new CSS rules for default documents/containers.
git-svn-id: svn://10.0.0.236/trunk@29000 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 00:40:27 +00:00
rjc%netscape.com
5c744a35e4 Export new "document.gif" icon to DIST area.
git-svn-id: svn://10.0.0.236/trunk@28999 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 00:39:06 +00:00
rjc%netscape.com
dbe4cd37ec Adding a new default document icon.
git-svn-id: svn://10.0.0.236/trunk@28998 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 00:35:45 +00:00
wtc%netscape.com
d3fd996e08 Added new tests bigfile2.c and bigfile3.c that reproduce Bugzilla
bug #5451.


git-svn-id: svn://10.0.0.236/trunk@28997 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 00:32:25 +00:00
amusil%netscape.com
cf9c3669c9 Plugins now can properly load support dlls that are located in the
plugin directory.


git-svn-id: svn://10.0.0.236/trunk@28988 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 23:43:54 +00:00
ftang%netscape.com
335540f366 add ucvtw, ucvtw2, and ucvko to the build list. Currently they are *empty*, cata will move files from ucvcn to these three dll.
git-svn-id: svn://10.0.0.236/trunk@28987 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 23:41:34 +00:00
briano%netscape.com
d7144beb9d Fixed the bug that was breaking everyone who tried to build nsprpub from an objdir.
git-svn-id: svn://10.0.0.236/trunk@28986 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 23:18:48 +00:00
chuang%netscape.com
195365edc9 Add mailnews/ui/ab/resources/Makefile entry
git-svn-id: svn://10.0.0.236/trunk@28984 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 23:11:22 +00:00
mcmullen%netscape.com
8feb26532a Added some comments and shortened some heap blocks. Called WaitNextEvent a few times before trying to get high-level events.
git-svn-id: svn://10.0.0.236/trunk@28983 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 23:09:29 +00:00
radha%netscape.com
dbdf4825fe Code to enable/disable forward/back menu items. Though it is n't quite functional
git-svn-id: svn://10.0.0.236/trunk@28982 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 23:07:11 +00:00
saari%netscape.com
9df8934bbd enabling dynamic menus on GTK
git-svn-id: svn://10.0.0.236/trunk@28981 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 23:06:52 +00:00
ftang%netscape.com
fa64202bcd First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28980 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 23:05:09 +00:00
alecf%netscape.com
e9d3322134 add new accessor to nsIMsgIncomingServer to get local folder path
git-svn-id: svn://10.0.0.236/trunk@28978 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:57:31 +00:00
ftang%netscape.com
63d3060cc5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28977 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:57:21 +00:00
hyatt%netscape.com
a60481e47c Making the sidebar not wrap.
git-svn-id: svn://10.0.0.236/trunk@28976 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:56:00 +00:00
ftang%netscape.com
8f54182b17 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28975 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:52:20 +00:00
amusil%netscape.com
c9bf7dd100 Added support for applets specified by the object tag (which use the "classid:java"
attribute instead of "code").


git-svn-id: svn://10.0.0.236/trunk@28974 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:52:10 +00:00
saari%netscape.com
bf6482c9af dynamic menu changes
git-svn-id: svn://10.0.0.236/trunk@28973 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:39:32 +00:00
radha%netscape.com
f41540d314 Call LoadInitialPage to enable page loading with urls provided in the command line
git-svn-id: svn://10.0.0.236/trunk@28972 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:34:08 +00:00
radha%netscape.com
31ff99bb62 New method LoadInitialpage to load urls from command line
git-svn-id: svn://10.0.0.236/trunk@28971 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:32:01 +00:00
mcmullen%netscape.com
43817ee544 Command-line documents are now working.
git-svn-id: svn://10.0.0.236/trunk@28970 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:31:44 +00:00
mcmullen%netscape.com
733ef4bf33 Changed minor version to add "Gecko"
git-svn-id: svn://10.0.0.236/trunk@28969 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:31:13 +00:00
radha%netscape.com
6b140c51e7 New method LoadInitialPage
git-svn-id: svn://10.0.0.236/trunk@28968 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:31:05 +00:00
mcmullen%netscape.com
407603c5b6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28967 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:30:27 +00:00
cata%netscape.com
00b09f6261 ISO2022JP encoder test added.
git-svn-id: svn://10.0.0.236/trunk@28966 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:16:21 +00:00
cata%netscape.com
5941607509 ISO2022JP encoder added.
git-svn-id: svn://10.0.0.236/trunk@28965 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:15:48 +00:00
cata%netscape.com
71621cadda ISO2022JP encoder done.
git-svn-id: svn://10.0.0.236/trunk@28964 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:14:11 +00:00
karnaze%netscape.com
f861258283 started frameset regression test suite
git-svn-id: svn://10.0.0.236/trunk@28963 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:14:03 +00:00
robinf%netscape.com
75c7503684 adding new banner bitmp
git-svn-id: svn://10.0.0.236/trunk@28962 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:12:43 +00:00
robinf%netscape.com
5adcaba81e updates to CCK wizard UI for M5
git-svn-id: svn://10.0.0.236/trunk@28961 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:08:13 +00:00
valeski%netscape.com
445473ffc3 changed TRUE -> PR_TRUE. and changed use of nsIUrl->GetPort() (linux caught a compile problem msvc wasn't catching)
git-svn-id: svn://10.0.0.236/trunk@28960 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 22:07:46 +00:00
valeski%netscape.com
f7837663e6 #included netCore.h so more descriptive error msgs can be used. also removed FTP_S_PORT use.
git-svn-id: svn://10.0.0.236/trunk@28959 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:58:42 +00:00
rods%netscape.com
1260448b5e DragEnter now sets the IDataObject into the DragService
git-svn-id: svn://10.0.0.236/trunk@28958 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:57:44 +00:00
valeski%netscape.com
2ecf80a665 #included netCore.h so the socket transport can start using more descriptive error codes.
git-svn-id: svn://10.0.0.236/trunk@28957 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:57:10 +00:00
rods%netscape.com
642f870957 Made method GetFormat so nsDragService can use it.
git-svn-id: svn://10.0.0.236/trunk@28956 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:56:05 +00:00
valeski%netscape.com
528b99f3a7 added netCore.h which currently contains netlib error codes (generated using nsError.h macros)
git-svn-id: svn://10.0.0.236/trunk@28955 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:56:01 +00:00
chuang%netscape.com
6a424e67c6 Bring address book UI into menu
git-svn-id: svn://10.0.0.236/trunk@28954 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:55:48 +00:00
karnaze%netscape.com
4b61ee8d56 bug 5437 - html frames not initially honoring visibility:hidden
git-svn-id: svn://10.0.0.236/trunk@28953 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:55:15 +00:00
chuang%netscape.com
58cc4144d6 Add address book UI to build process
git-svn-id: svn://10.0.0.236/trunk@28952 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:54:23 +00:00
amusil%netscape.com
19bf4b13cb Bug fix - made static array lengths match up
git-svn-id: svn://10.0.0.236/trunk@28951 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:53:43 +00:00
chuang%netscape.com
29863b707c Update mail startup url
git-svn-id: svn://10.0.0.236/trunk@28950 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:53:04 +00:00
alecf%netscape.com
6cc9b77101 fix from Jim Jance <jim_nance@yahoo.com> to fix DGUX
make sure -L lines are BEFORE -l lines


git-svn-id: svn://10.0.0.236/trunk@28949 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:45:13 +00:00
briano%netscape.com
1c2c2e3ecb Automated update
git-svn-id: svn://10.0.0.236/trunk@28948 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:45:10 +00:00
briano%netscape.com
6535ca0e4f Fix for OSF/1 builds. Thanks to Jim Nance (jlnance@avanticorp.com) for the hints.
git-svn-id: svn://10.0.0.236/trunk@28947 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:44:22 +00:00
mcmullen%netscape.com
fd9ab4313a Bug #4184. Before unescaping a path, call ReAllocData.
git-svn-id: svn://10.0.0.236/trunk@28946 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:32:57 +00:00
briano%netscape.com
75a5cd85f2 Automated update
git-svn-id: svn://10.0.0.236/trunk@28945 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:05:25 +00:00
briano%netscape.com
0aff854344 Added a fairly inelegant hack to check if the compiler understands -pthread.
git-svn-id: svn://10.0.0.236/trunk@28944 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 21:04:56 +00:00
briano%netscape.com
806f41f7d6 Automated update
git-svn-id: svn://10.0.0.236/trunk@28943 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:59:41 +00:00
rods%netscape.com
61f81e25eb Remap control alpha keys to VK_XXX equivalent
git-svn-id: svn://10.0.0.236/trunk@28942 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:56:32 +00:00
ftang%netscape.com
5703ce7f46 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28941 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:53:49 +00:00
slamm%netscape.com
a8988bf5e7 Improve recovering from conflicting objdir/srcdir builds. Add cleansrcdir target to client.mk. Update the objdir vs. srcdir build instructions in configure.
git-svn-id: svn://10.0.0.236/trunk@28940 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:46:22 +00:00
mcmullen%netscape.com
5b4a261d6f Corrected spelling in some comments.
git-svn-id: svn://10.0.0.236/trunk@28939 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:27:38 +00:00
mcmullen%netscape.com
0a61932c8b Added chrome, plugins, and components directories
git-svn-id: svn://10.0.0.236/trunk@28938 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:19:07 +00:00
kipp%netscape.com
e58b17d7b7 Fixed so that hidden form elements have no border
git-svn-id: svn://10.0.0.236/trunk@28936 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:16:40 +00:00
jj%netscape.com
f54f307a99 (really cyeh) add source files to optimized target. the components were compiled with the runtime, so they registered succesfully, but registered as completely empty. blow away your registry and then rerun after rebuilding these. only effects optimized versions.
git-svn-id: svn://10.0.0.236/trunk@28934 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:05:24 +00:00
kipp%netscape.com
dab2627382 Removed useless include
git-svn-id: svn://10.0.0.236/trunk@28933 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:01:49 +00:00
kipp%netscape.com
6bc99c60ff nit
git-svn-id: svn://10.0.0.236/trunk@28932 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:01:38 +00:00
mcmullen%netscape.com
e91eb560d4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28931 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:01:31 +00:00
kipp%netscape.com
de73bda8b4 Implement CancelReflowCommand; remove uselss root-frame resize in incremental reflow code
git-svn-id: svn://10.0.0.236/trunk@28930 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:01:20 +00:00
valeski%netscape.com
3d1dfd1f41 nsFtpStreamListenerEvent.h - explicit #include "nsString.h" (fix build prob on linux)
nsFtpConnectionThread.*    - added the passive data connection mode (PASV) state


git-svn-id: svn://10.0.0.236/trunk@28929 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:01:03 +00:00
kipp%netscape.com
70bd41273e Always init the image loader (fixes bug #5238); don't load images with zero set dimensions (bug #5381); cancel extraneous reflows to improve performance
git-svn-id: svn://10.0.0.236/trunk@28928 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:00:14 +00:00
kipp%netscape.com
37b0aed644 Added code to discard wasted size updates
git-svn-id: svn://10.0.0.236/trunk@28927 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:59:13 +00:00
kipp%netscape.com
259cb7aa9d Remember to stop image loads to break connection back to pres context
git-svn-id: svn://10.0.0.236/trunk@28924 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:57:49 +00:00
kipp%netscape.com
6cef382634 Work around crash by not assuming we have an owner
git-svn-id: svn://10.0.0.236/trunk@28923 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:57:26 +00:00
kipp%netscape.com
3176a7056a Added CancelReflowCommand
git-svn-id: svn://10.0.0.236/trunk@28922 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:57:03 +00:00
endico%mozilla.org
83d6aeb0ce A 4AcK to get this working with gtk+. Normally plus signs in urls are used to represent spaces. Here we need to actaully use plus signs so i'm disabling the plus->space conversion. Hopefully this doesn't break anything.
git-svn-id: svn://10.0.0.236/trunk@28921 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:55:04 +00:00
norris%netscape.com
1967c50fd1 If the security resource isn't present, catch the exception and proceed.
git-svn-id: svn://10.0.0.236/trunk@28920 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:54:28 +00:00
kipp%netscape.com
aa32bf3a94 Removed obsolete include file
git-svn-id: svn://10.0.0.236/trunk@28919 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:52:36 +00:00
kipp%netscape.com
54dd6032e9 Work around crash bug; eliminate bad argument to a JS method
git-svn-id: svn://10.0.0.236/trunk@28918 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:52:04 +00:00
kipp%netscape.com
bb3da7609c nit
git-svn-id: svn://10.0.0.236/trunk@28916 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:48:55 +00:00
kipp%netscape.com
0d02b63994 Added command option from measuring doc load time
git-svn-id: svn://10.0.0.236/trunk@28915 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:48:43 +00:00
kipp%netscape.com
ec4141d9b0 Removed dead code
git-svn-id: svn://10.0.0.236/trunk@28914 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:48:16 +00:00
kipp%netscape.com
9347965938 Added code to measure document load times
git-svn-id: svn://10.0.0.236/trunk@28913 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:48:05 +00:00
wtc%netscape.com
dc93ed3444 Bugsplat bug #350054: in the NT implementation of SocketTransmitFile,
free the PRFileDesc only if the file is successfully transmitted.


git-svn-id: svn://10.0.0.236/trunk@28911 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:45:24 +00:00
rods%netscape.com
573590a925 OnChar now returns FALSE to widget typ in works
git-svn-id: svn://10.0.0.236/trunk@28910 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:44:47 +00:00
karnaze%netscape.com
2b067020b3 added rowspan=3 test
git-svn-id: svn://10.0.0.236/trunk@28909 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:40:37 +00:00
scc%netscape.com
b2e4dd6105 s/false/0/ in my do-while
git-svn-id: svn://10.0.0.236/trunk@28904 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:03:01 +00:00
saari%netscape.com
59fba08585 Dynamic menus changes
git-svn-id: svn://10.0.0.236/trunk@28903 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:00:51 +00:00
rickg%netscape.com
fb78798f5f remove SetName() call at Hyatt's request
git-svn-id: svn://10.0.0.236/trunk@28902 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 18:56:40 +00:00
tague%netscape.com
e850ae94f1 Fixed bug #4732 - GetApplicationLocale always returning en-US on Win32
git-svn-id: svn://10.0.0.236/trunk@28900 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 18:32:42 +00:00
rickg%netscape.com
723528be42 sync with nsString2 API
git-svn-id: svn://10.0.0.236/trunk@28899 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 18:21:43 +00:00
ramiro%netscape.com
a4fd233eb9 Add SetBackgroundColor() stubs.
Add signals/methods from tracking realization.


git-svn-id: svn://10.0.0.236/trunk@28898 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 18:16:11 +00:00
ramiro%netscape.com
14563d5211 quiet a compiler warning.
git-svn-id: svn://10.0.0.236/trunk@28897 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 18:04:49 +00:00
mcafee%netscape.com
a5a08359c3 Removing nsSelectionMgr from the build.
git-svn-id: svn://10.0.0.236/trunk@28896 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:53:51 +00:00
karnaze%netscape.com
dba2d3ff68 new tests
git-svn-id: svn://10.0.0.236/trunk@28895 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:53:26 +00:00
scc%netscape.com
0dfba463d5 added interfaces
git-svn-id: svn://10.0.0.236/trunk@28894 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:50:12 +00:00
mcmullen%netscape.com
ea69c765a4 Removed spurious access paths (pointed out by Pinkerton - thanks!)
git-svn-id: svn://10.0.0.236/trunk@28893 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:48:56 +00:00
putterman%netscape.com
c7dfb8ff8e removed fix for memory leak until we can fix other ref counting problems.
git-svn-id: svn://10.0.0.236/trunk@28892 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:46:25 +00:00
rods%netscape.com
9dc9c4d7e1 removed -DNEW_CLIPBOARD_SUPPORT
git-svn-id: svn://10.0.0.236/trunk@28891 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:45:03 +00:00
troy%netscape.com
670ba61106 Made a bunch of nsIView member functions "const"
git-svn-id: svn://10.0.0.236/trunk@28890 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:44:48 +00:00
karnaze%netscape.com
3b72521c59 bug 2267 - cells with row spans too tall
git-svn-id: svn://10.0.0.236/trunk@28889 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:43:14 +00:00
akkana%netscape.com
1a212b013a Fix for scc to work around an apparent egcs bug
git-svn-id: svn://10.0.0.236/trunk@28888 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:38:13 +00:00
pinkerton%netscape.com
bb8eb2a624 finally remove something from this growing list of forgotten defines: NEW_CLIPBOARD_SUPPORT because the feature has landed.
git-svn-id: svn://10.0.0.236/trunk@28887 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:35:59 +00:00
valeski%netscape.com
9051b27464 nsFtpConnectionThread.* added more states. we now handle mkdir and delete (file/dir).
nsFtpFactory.cpp api change.


git-svn-id: svn://10.0.0.236/trunk@28886 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:34:33 +00:00
pinkerton%netscape.com
2f4c3a4268 File Removed.
git-svn-id: svn://10.0.0.236/trunk@28885 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:33:19 +00:00
norris%netscape.com
59b47d8de9 Clean up javadoc.
git-svn-id: svn://10.0.0.236/trunk@28884 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:31:59 +00:00
norris%netscape.com
a4832a8dcf Clean up javadocs; make Context creation faster.
git-svn-id: svn://10.0.0.236/trunk@28883 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:31:09 +00:00
norris%netscape.com
f8b70259e1 Clean up formatting.
git-svn-id: svn://10.0.0.236/trunk@28882 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:30:31 +00:00
briano%netscape.com
f36c23a464 Automated update
git-svn-id: svn://10.0.0.236/trunk@28881 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:29:39 +00:00
mcafee%netscape.com
c089630f81 Removing NEW_CLIPBOARD_SUPPORT from the build.
git-svn-id: svn://10.0.0.236/trunk@28880 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:29:05 +00:00
morse%netscape.com
8360d5b3fa release services the correct way
git-svn-id: svn://10.0.0.236/trunk@28876 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:22:35 +00:00
mcmullen%netscape.com
04fe38e912 Made GetCatInfo method public (XP_MAC only)
git-svn-id: svn://10.0.0.236/trunk@28875 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:18:24 +00:00
akkana%netscape.com
3841e60857 Fixing linux build bustage
git-svn-id: svn://10.0.0.236/trunk@28874 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:15:58 +00:00
rods%netscape.com
b2b56d29eb Changed Copy code to use nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@28873 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:15:53 +00:00
nhotta%netscape.com
3a13bdbeac Changes for UTF-8, second try.
git-svn-id: svn://10.0.0.236/trunk@28872 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:14:26 +00:00
rods%netscape.com
f7f1690c48 Changed release of services to use the service manager
git-svn-id: svn://10.0.0.236/trunk@28871 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:00:52 +00:00
blizzard%redhat.com
7975a16ac0 make tests work with more than just gtk
git-svn-id: svn://10.0.0.236/trunk@28870 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:59:35 +00:00
blizzard%redhat.com
d982da570a make xlib code build again
git-svn-id: svn://10.0.0.236/trunk@28869 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:59:09 +00:00
rods%netscape.com
fd2d49e1d1 removing them
git-svn-id: svn://10.0.0.236/trunk@28868 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:58:05 +00:00
kin%netscape.com
7fd16575ef Misc changes to the nsITextServicesDocument interface.
git-svn-id: svn://10.0.0.236/trunk@28867 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:52:28 +00:00
scc%netscape.com
7b9c8f971d fixed type
git-svn-id: svn://10.0.0.236/trunk@28866 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:51:45 +00:00
mcafee%netscape.com
68d8670bd7 Removing nsSelectionMgr from the build
git-svn-id: svn://10.0.0.236/trunk@28865 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:50:17 +00:00
mcmullen%netscape.com
df2c5a654c Added AppleEvent support files
git-svn-id: svn://10.0.0.236/trunk@28864 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:49:49 +00:00
mcmullen%netscape.com
351fe2e4aa Added nsAppleEvents.r and nsAppleEvents.rsrc
git-svn-id: svn://10.0.0.236/trunk@28863 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:48:43 +00:00
scc%netscape.com
da825a470c added ability to create a XUL document from a stream; consequently factored some existing routines
git-svn-id: svn://10.0.0.236/trunk@28862 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:48:33 +00:00
scc%netscape.com
7c47b7b308 Added required GetIID methods
git-svn-id: svn://10.0.0.236/trunk@28861 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:48:32 +00:00
scc%netscape.com
9e13283d6c Added GetDocumentFactory method; Added required GetIID method(s)
git-svn-id: svn://10.0.0.236/trunk@28860 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:48:31 +00:00
scc%netscape.com
243023e5ca Added the ability to construct a XUL document from a stream
git-svn-id: svn://10.0.0.236/trunk@28859 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:48:30 +00:00
pinkerton%netscape.com
9fbe5355f8 removing selection manager
git-svn-id: svn://10.0.0.236/trunk@28858 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:47:56 +00:00
bruce%cybersight.com
1ef8e5b65a Must define inline methods _before_ calling them on AIX 4.2 with xlC.
git-svn-id: svn://10.0.0.236/trunk@28857 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:47:30 +00:00
pinkerton%netscape.com
9efd616f0f removing selection manager.
git-svn-id: svn://10.0.0.236/trunk@28856 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:47:11 +00:00
rods%netscape.com
f752203a60 removed nsSelectionMgr
git-svn-id: svn://10.0.0.236/trunk@28855 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:47:09 +00:00
mcmullen%netscape.com
9977e71725 Added nsAppleEvents.h
git-svn-id: svn://10.0.0.236/trunk@28854 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:47:06 +00:00
rods%netscape.com
000b5b93ba Removed SelectionMgr
git-svn-id: svn://10.0.0.236/trunk@28853 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:47:05 +00:00
mcmullen%netscape.com
33ba341606 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28852 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:46:08 +00:00
mcafee%netscape.com
44c34c2fdb defining what APPSHELL_DLL is, fixing Linux bustage.
git-svn-id: svn://10.0.0.236/trunk@28851 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:44:46 +00:00
scc%netscape.com
ef7f2cd47b Adding new interfaces
git-svn-id: svn://10.0.0.236/trunk@28850 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:35:05 +00:00
scc%netscape.com
9b7d9c7db8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28849 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:33:54 +00:00
pinkerton%netscape.com
8d3cbe609d add nasdaq composite to stock list.
git-svn-id: svn://10.0.0.236/trunk@28848 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:20:25 +00:00
pinkerton%netscape.com
939b6d6e3c remove MathLib for carbon compliance.
git-svn-id: svn://10.0.0.236/trunk@28847 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:16:15 +00:00
pinkerton%netscape.com
31027490e7 fix bug #5296. copy registry.rdf instead of making an alias to prevent people from editing and checking in a customized chrome registry.
git-svn-id: svn://10.0.0.236/trunk@28846 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:13:15 +00:00
kin%netscape.com
361b7a65de Added editor/txtsvc makefiles to list.
git-svn-id: svn://10.0.0.236/trunk@28845 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 16:06:21 +00:00
kin%netscape.com
392640339b Removed spellchk from the list of directories to build.
git-svn-id: svn://10.0.0.236/trunk@28844 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 15:47:33 +00:00
jefft%netscape.com
5a5f235f55 fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@28843 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 15:18:25 +00:00
kipp%netscape.com
42bdd9c223 Moved hacked call to floater adds out of nsPlaceholderFrame and into nsLineLayout
git-svn-id: svn://10.0.0.236/trunk@28842 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 15:15:53 +00:00
rods%netscape.com
5b22bfbff7 Switch Drag&Drop over to nsCOMPtr and fixed service release
git-svn-id: svn://10.0.0.236/trunk@28841 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:43:30 +00:00
rods%netscape.com
addd96526d Switch Paste support over to nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@28840 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:41:32 +00:00
rods%netscape.com
64080de6da Added nsCOMPtr support
git-svn-id: svn://10.0.0.236/trunk@28839 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:38:27 +00:00
rods%netscape.com
f6e418a5ed Reworked for nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@28838 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:35:26 +00:00
troy%netscape.com
87a1db0805 Added GetFrameType() and renamed GetAnchoredItem() to GetOutOfFrameFlow()
git-svn-id: svn://10.0.0.236/trunk@28837 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:34:48 +00:00
troy%netscape.com
31b1217fca Added placeholderFrame atom
git-svn-id: svn://10.0.0.236/trunk@28836 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:32:12 +00:00
rods%netscape.com
4a0db33040 Fixed key event support
git-svn-id: svn://10.0.0.236/trunk@28835 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:30:51 +00:00
rods%netscape.com
6733c7b50d Added Get/Set DragAction
git-svn-id: svn://10.0.0.236/trunk@28834 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:13:06 +00:00
rods%netscape.com
12ceafc2c6 Added Set/Get DragAction
git-svn-id: svn://10.0.0.236/trunk@28833 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:12:31 +00:00
rods%netscape.com
4d3bf982ef Added two new support methods
git-svn-id: svn://10.0.0.236/trunk@28832 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:10:55 +00:00
rods%netscape.com
e483d50a2e Switch over to nsCOMPtr
Added better cursor feedback support


git-svn-id: svn://10.0.0.236/trunk@28831 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 14:10:39 +00:00
briano%netscape.com
e118d8fbcf Automated update
git-svn-id: svn://10.0.0.236/trunk@28830 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 13:59:37 +00:00
ramiro%netscape.com
e4bdc54db0 Take out dumb mistake i left in here sometime ago. Should fix the shrike
build.


git-svn-id: svn://10.0.0.236/trunk@28829 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 13:58:23 +00:00
jefft%netscape.com
1006885608 getting imap root folder directory from prefs instead of hard coded string
git-svn-id: svn://10.0.0.236/trunk@28828 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 13:55:53 +00:00
mccabe%netscape.com
177ba59ee8 Backed out my previous checkin.
I realized that:
- we build on more than one build system.
- I'm too tired to fix it.


git-svn-id: svn://10.0.0.236/trunk@28827 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 09:20:36 +00:00
mccabe%netscape.com
62a0bd7ecd Removed the XPTDIR environment variable requirement; the xpt typelib directory is now constructed by adding 'components' to the executable directory. This adds an -lraptorbase requirement to linking against xptinfo.
git-svn-id: svn://10.0.0.236/trunk@28826 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 09:10:09 +00:00
mccabe%netscape.com
45edc03bed Twiddled error reporter; added a '\n' after messages.
git-svn-id: svn://10.0.0.236/trunk@28825 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 09:01:18 +00:00
rjc%netscape.com
4cc70a8b0d Checking in Scott Putterman's changes to use nsISupportsArray instead of a void array.
git-svn-id: svn://10.0.0.236/trunk@28824 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 08:32:42 +00:00
braddr%puremagic.com
f0875fc0f3 Removed parts of makefile to make linux and solaris happy with this section
git-svn-id: svn://10.0.0.236/trunk@28823 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 07:59:56 +00:00
briano%netscape.com
742027abe5 Automated update
git-svn-id: svn://10.0.0.236/trunk@28822 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 07:44:39 +00:00
briano%netscape.com
1d13856190 Conformity tweak.
git-svn-id: svn://10.0.0.236/trunk@28821 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 07:44:17 +00:00
chuang%netscape.com
7cfeddae02 Address book UI, not in build yet
git-svn-id: svn://10.0.0.236/trunk@28810 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 06:47:41 +00:00
chuang%netscape.com
7944da23bb add address book entry
git-svn-id: svn://10.0.0.236/trunk@28808 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 06:35:54 +00:00
dougt%netscape.com
df7ef34c00 Fixes Bug 5300 http://bugzilla.mozilla.org/show_bug.cgi?id=5300
git-svn-id: svn://10.0.0.236/trunk@28804 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 06:32:40 +00:00
mscott%netscape.com
6d99fc5266 Updates to get the test running with preferences again. We need to manually register
the file locator. This test app will now read prefs out of the default profile directory.


git-svn-id: svn://10.0.0.236/trunk@28803 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 06:32:35 +00:00
mscott%netscape.com
be1852941e profile library should be installed in the components directory to enable self registration.
git-svn-id: svn://10.0.0.236/trunk@28802 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 06:29:50 +00:00
mscott%netscape.com
8a2d737972 Install the profile library into the components directory instead of into bin. This will
enable auto registration.


git-svn-id: svn://10.0.0.236/trunk@28801 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 06:28:15 +00:00
mscott%netscape.com
ce801c8dfb profile is a component and as such should be installed in the components directory instead of
in bin. This will allow the auto-registration code to be brought into effect.


git-svn-id: svn://10.0.0.236/trunk@28800 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 06:26:42 +00:00
mccabe%netscape.com
d88335f797 Go from explicit $(shell ) calls to glib-config and libIDL-config to using $LIBIDL_CFLAGS, $LIBIDL_LIBS, as set in libIDL.m4.
git-svn-id: svn://10.0.0.236/trunk@28799 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 06:18:03 +00:00
sfraser%netscape.com
dad6aa0aba Fix for image decoders to go into the Components folder. I'm checking in with authority.
git-svn-id: svn://10.0.0.236/trunk@28796 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 04:58:53 +00:00
bruce%cybersight.com
a5ecc8a2ad This file is compiled by a C compiler. C++ comments are off-limits!! Permission to checkin granted by shaver.
git-svn-id: svn://10.0.0.236/trunk@28795 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 04:33:28 +00:00
bruce%cybersight.com
f559180392 Removing a spurious comma, fixing AIX and HP-UX build bustage. I don't see why this code should've compiled for anyone.
git-svn-id: svn://10.0.0.236/trunk@28794 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 04:15:50 +00:00
rickg%netscape.com
e4161ae25d fix webshell bug for SMorse
git-svn-id: svn://10.0.0.236/trunk@28793 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 03:51:39 +00:00
shaver%netscape.com
18ed7bccb0 try to make g++ 2.7.2.3 happier by removing extra parens
git-svn-id: svn://10.0.0.236/trunk@28787 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 03:02:13 +00:00
jj%netscape.com
24d0f3819a fix the components so that they have different PEF names
git-svn-id: svn://10.0.0.236/trunk@28786 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 03:02:05 +00:00
jj%netscape.com
16f969c70d change creator type from MOSS to MOZZ
git-svn-id: svn://10.0.0.236/trunk@28784 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 02:38:06 +00:00
bienvenu%netscape.com
78ad6d5d3e get imap messages to display in thread pane
git-svn-id: svn://10.0.0.236/trunk@28781 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 01:33:52 +00:00
pnunn%netscape.com
aacb4e274f fixed optimized. pn.
git-svn-id: svn://10.0.0.236/trunk@28780 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 01:14:33 +00:00
pnunn%netscape.com
5b7562c8c8 fixed optimized.
git-svn-id: svn://10.0.0.236/trunk@28779 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 01:13:50 +00:00
pnunn%netscape.com
8b1d5c924f wrong names on decoder mcp files. pn.
git-svn-id: svn://10.0.0.236/trunk@28778 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 00:37:13 +00:00
jefft%netscape.com
3ad4c91a1e (not part of build yet> more on integrating with 3-pane ui
git-svn-id: svn://10.0.0.236/trunk@28777 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 00:36:07 +00:00
pnunn%netscape.com
0d08e4a72c Reorder so includes exported before compiling libimg/src. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28776 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 00:27:30 +00:00
pnunn%netscape.com
5c622a1e1d took out static. pn.
git-svn-id: svn://10.0.0.236/trunk@28775 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 00:17:08 +00:00
despotdaemon%netscape.com
a6e885560c Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@28774 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:56:12 +00:00
pnunn%netscape.com
3de3aa5687 No longer needed.
git-svn-id: svn://10.0.0.236/trunk@28773 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:47:11 +00:00
pnunn%netscape.com
29e4200cb5 No exports for this dir. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28772 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:39:52 +00:00
pnunn%netscape.com
1580fff699 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28771 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:37:03 +00:00
pnunn%netscape.com
52c791a37c decoders implementation.
git-svn-id: svn://10.0.0.236/trunk@28770 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:34:18 +00:00
locka%iol.ie
025ac8dfba Approved: leaf@mozilla.org
New Mozilla control registering tool


git-svn-id: svn://10.0.0.236/trunk@28769 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:28:09 +00:00
locka%iol.ie
da3cba7f6c Approved: leaf@mozilla.org
More improvements to test harness


git-svn-id: svn://10.0.0.236/trunk@28768 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:23:04 +00:00
pnunn%netscape.com
c5611c4fa2 Updated for decoder implementation. pn.
git-svn-id: svn://10.0.0.236/trunk@28767 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:22:01 +00:00
locka%iol.ie
4a992ca3a0 Approved: leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@28766 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:18:35 +00:00
locka%iol.ie
a816006e52 Approved: leaf@mozilla.org
Added ActiveScriptSite.cpp/h


git-svn-id: svn://10.0.0.236/trunk@28765 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:17:15 +00:00
locka%iol.ie
2f5ebd5a1f Approved: leaf@mozilla.org
Fixed Navigate(2) bug.
Changed methods returning E_NOTIMPL to return S_OK but do nothing.
Register webshellcontainer as documentloaderobserver


git-svn-id: svn://10.0.0.236/trunk@28764 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:16:23 +00:00
locka%iol.ie
29f1a90344 Approved: leaf@mozilla.org
Updated to reflect changes to webshellcontainer interface.
Added DocumentComplete event (thanks to Eric Burley & Michael Noe)


git-svn-id: svn://10.0.0.236/trunk@28763 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:13:37 +00:00
pnunn%netscape.com
5c9f6197d2 decoders implement.
git-svn-id: svn://10.0.0.236/trunk@28762 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:12:41 +00:00
locka%iol.ie
b8fae38ae8 Approved: leaf@mozilla.org
Minor compliance fixes


git-svn-id: svn://10.0.0.236/trunk@28761 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:10:10 +00:00
pnunn%netscape.com
a9a92f9bbb First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28760 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:06:01 +00:00
pnunn%netscape.com
3514428cd0 decoder implementation. pnunn
git-svn-id: svn://10.0.0.236/trunk@28759 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:05:14 +00:00
briano%netscape.com
018890c62a Automated update
git-svn-id: svn://10.0.0.236/trunk@28758 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:00:39 +00:00
briano%netscape.com
5d3d56573d Fixed the broken nspr_my_config.mk hack to work with objdirs.
git-svn-id: svn://10.0.0.236/trunk@28757 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 23:00:05 +00:00
pnunn%netscape.com
a28ff7e70b Cleared out unneed make code. pn.
git-svn-id: svn://10.0.0.236/trunk@28756 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:51:16 +00:00
pnunn%netscape.com
9fcbcfbb82 New.
git-svn-id: svn://10.0.0.236/trunk@28755 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:49:33 +00:00
pnunn%netscape.com
fd7ff59047 Changes needed for decoder implementation. pn.
git-svn-id: svn://10.0.0.236/trunk@28754 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:47:13 +00:00
pnunn%netscape.com
9924b895a3 No longer needed. pn.
git-svn-id: svn://10.0.0.236/trunk@28753 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:45:35 +00:00
pnunn%netscape.com
369f3dd70a Changes needed for new timer code. pn.
git-svn-id: svn://10.0.0.236/trunk@28752 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:41:26 +00:00
pnunn%netscape.com
743b8c4728 Implements decoder api. pn.
git-svn-id: svn://10.0.0.236/trunk@28751 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:40:46 +00:00
pnunn%netscape.com
7c43dd5c79 Bruce's patch. pn.
git-svn-id: svn://10.0.0.236/trunk@28750 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:38:46 +00:00
pnunn%netscape.com
fc277beba4 Implements decoder api. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28749 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:37:16 +00:00
pnunn%netscape.com
5227b3807e No longer needed. pn.
git-svn-id: svn://10.0.0.236/trunk@28748 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:35:25 +00:00
donm%netscape.com
2b74f021a2 backing out hyatt's change
git-svn-id: svn://10.0.0.236/trunk@28747 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:35:05 +00:00
pnunn%netscape.com
54bd9f5f6f Will be inplemented in extensions directory. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28745 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:32:51 +00:00
pnunn%netscape.com
15a53796fd Moved to public_com. Also needed by decoders as well as imglib.
git-svn-id: svn://10.0.0.236/trunk@28744 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:31:55 +00:00
pnunn%netscape.com
0ae4bca908 Moved to public_com. Also needed by decoders as well as image lib. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28743 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:31:10 +00:00
akkana%netscape.com
c6aa8ff3bd Fix linux startup crash parsing entity defs
git-svn-id: svn://10.0.0.236/trunk@28742 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:30:44 +00:00
pnunn%netscape.com
6bc8c711e9 Moved to jpgcom. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28741 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:30:05 +00:00
pnunn%netscape.com
bf86de9942 Moved to pngcom. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28740 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:29:25 +00:00
pnunn%netscape.com
d7a6d6f602 Moved to gifcom. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28739 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:28:03 +00:00
pnunn%netscape.com
736d9fe3e8 Added new directories to build. linux/X. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28737 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:23:27 +00:00
pnunn%netscape.com
86a0c2d0b5 Added new directories to build for win. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28736 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:22:18 +00:00
hyatt%netscape.com
2b24ce3914 Added error-checking to track the build problem on the Mac (and possibly Linux).
git-svn-id: svn://10.0.0.236/trunk@28734 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 22:00:04 +00:00
valeski%netscape.com
731c965976 nsFtpConnectionThread.h - made the destructor virtual
nsFtpProtocolConnection.h|.cpp - switched some #includes around in a blind attempt to satisfy linux


git-svn-id: svn://10.0.0.236/trunk@28732 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 21:32:30 +00:00
mscott%netscape.com
01d3c7add4 Not part of the build.
Fixes to get the test harness to work in the new preferences world again. We need to manually register the file locator component because it doesn't get self-registered in the repository.


git-svn-id: svn://10.0.0.236/trunk@28730 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 21:13:48 +00:00
warren%netscape.com
205c630cc5 Added sourceOffset parameter to OnDataAvailable.
git-svn-id: svn://10.0.0.236/trunk@28729 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 21:06:04 +00:00
slamm%netscape.com
6b72609ec3 Remember the email address in a cookie.
git-svn-id: svn://10.0.0.236/trunk@28728 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 21:02:48 +00:00
norris%netscape.com
6a4f7c3f0b Transfer examples to mozilla.
git-svn-id: svn://10.0.0.236/trunk@28727 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 20:58:54 +00:00
shaver%netscape.com
4e30afe03e XML_UNICODE_WCHAR_T is not suitable for use where sizeof(wchar_t) != 2. That includes Linux at least, so let's just not do this on Unix at all for now. a=donm
git-svn-id: svn://10.0.0.236/trunk@28726 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 20:51:47 +00:00
terry%netscape.com
f9fa4b03db Fixed a bug where the long descriptions of bugs had a variety of
newline characters at the end, depending on the operating system of
the browser that submitted the text.


git-svn-id: svn://10.0.0.236/trunk@28725 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 20:42:14 +00:00
norris%netscape.com
f7488b74e0 Add examples to mozilla.
git-svn-id: svn://10.0.0.236/trunk@28724 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 20:41:57 +00:00
valeski%netscape.com
7279f87c46 removed UsePasv from the connection handler. added some more states.
git-svn-id: svn://10.0.0.236/trunk@28723 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 20:17:46 +00:00
sfraser%netscape.com
88a97427bc First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28722 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 20:03:13 +00:00
slamm%netscape.com
a7ddd479c4 Get rid of annoying whitespace in text area.
git-svn-id: svn://10.0.0.236/trunk@28721 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 19:52:23 +00:00
valeski%netscape.com
6156bbc3e8 yanked the ftp event sink references as they're not in use right now
git-svn-id: svn://10.0.0.236/trunk@28720 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 19:29:24 +00:00
valeski%netscape.com
8ee1b4dcb6 pushed the stream listener hand off into the constructor so it's know before the thread is run
git-svn-id: svn://10.0.0.236/trunk@28719 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 19:28:30 +00:00
jefft%netscape.com
b3d2fefb09 (not part of the build yet) - more works on hooking up 3-pane ui with protocol
git-svn-id: svn://10.0.0.236/trunk@28718 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 19:02:45 +00:00
jefft%netscape.com
a91d02c3c4 added include path - mime
git-svn-id: svn://10.0.0.236/trunk@28717 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 19:01:05 +00:00
jefft%netscape.com
17999942d8 not part of the build yet - added msglocal.lib
git-svn-id: svn://10.0.0.236/trunk@28716 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 19:00:25 +00:00
briano%netscape.com
8d4571c449 Automated update
git-svn-id: svn://10.0.0.236/trunk@28715 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 18:59:40 +00:00
slamm%netscape.com
c32d5bf9d5 Tweak of last checkin. Drop comparison to 1.
git-svn-id: svn://10.0.0.236/trunk@28714 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 18:56:52 +00:00
slamm%netscape.com
bd6da70e88 Fix unquoted string in OJI/JAVA test.
git-svn-id: svn://10.0.0.236/trunk@28713 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 18:44:52 +00:00
donm%netscape.com
cf660f0818 Rick Gessner helped unpretzel the logic here to get the
right answer, but suggests that this kind of math is
no longer necessary with nsString.
fixes build bustage.


git-svn-id: svn://10.0.0.236/trunk@28712 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 18:37:35 +00:00
norris%netscape.com
31c5ec75fa Fix the following bug:
Subject:
        Context.newArray() bug
   Date:
        Thu, 22 Apr 1999 00:26:29 -0700
   From:
        beard@netscape.com (Patrick Beard)
     To:
        Norris Boyd <norris@netscape.com>

When the arguments array gets created, its prototype isn't set up
correctly. I think the problem is in Context.newArrayHelper(), which isn't
able to look up the "Array" constructor in the passed-in scope. For this
reaon, top-level scripts that use "arguments.length" don't work.

- Patrick


git-svn-id: svn://10.0.0.236/trunk@28711 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 18:29:07 +00:00
valeski%netscape.com
b22a5956ea stripped out the stream listener support (and thus the async state machine) from nsFtpProtocolConnection. nsFtpConnectionThread class now takes on the listener notification.
added nsFtpStreamListenerEvent (cpp|h) which declares the events used to push data back across the thread boundry.


git-svn-id: svn://10.0.0.236/trunk@28710 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 17:58:42 +00:00
rickg%netscape.com
3a42af0f0b sync up with nsString2.cpp
git-svn-id: svn://10.0.0.236/trunk@28709 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 17:43:57 +00:00
rickg%netscape.com
e48789bc74 sync up with nsString2.cpp
git-svn-id: svn://10.0.0.236/trunk@28708 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 17:36:54 +00:00
locka%iol.ie
62bab0cbd1 Initial active script site class
git-svn-id: svn://10.0.0.236/trunk@28707 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 17:30:28 +00:00
rickg%netscape.com
daedd6874d sync up with nsString2.cpp
git-svn-id: svn://10.0.0.236/trunk@28706 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 17:26:23 +00:00
rickg%netscape.com
373034bf50 sync up with nsString2.cpp
git-svn-id: svn://10.0.0.236/trunk@28705 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 17:08:36 +00:00
buster%netscape.com
1664ba068f vastly improved type-in state handling. smaller and faster
git-svn-id: svn://10.0.0.236/trunk@28704 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 14:46:53 +00:00
buster%netscape.com
bd55504f8d remove block
git-svn-id: svn://10.0.0.236/trunk@28703 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 14:45:48 +00:00
troy%netscape.com
015b4b5dff Removed the :before and :after logic that would make the pseudo-elements
siblings of the element, because the consensus seems to be that it shouldn't
work that way. Generated content is for container elements, and the generated
elements go before and after its child content


git-svn-id: svn://10.0.0.236/trunk@28702 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 14:31:19 +00:00
rods%netscape.com
41d60a73bb Added GetIID method
git-svn-id: svn://10.0.0.236/trunk@28701 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 14:16:30 +00:00
rjc%netscape.com
bfa1f9afbf Add support for "Related Links".
git-svn-id: svn://10.0.0.236/trunk@28700 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 11:36:35 +00:00
rjc%netscape.com
18f9b68fc6 Typo.
git-svn-id: svn://10.0.0.236/trunk@28699 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 11:11:33 +00:00
rjc%netscape.com
c59642cd7d Save file as text.
git-svn-id: svn://10.0.0.236/trunk@28698 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 10:56:15 +00:00
rjc%netscape.com
c7b07b64ca Save as text files.
git-svn-id: svn://10.0.0.236/trunk@28697 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 10:50:48 +00:00
rjc%netscape.com
7a3fce3e8f Adding support for "Related Links".
git-svn-id: svn://10.0.0.236/trunk@28696 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 10:46:28 +00:00
nisheeth%netscape.com
0f36734d11 Expat's switch to unicode buffers confused the error reporting code. Fixed.
git-svn-id: svn://10.0.0.236/trunk@28695 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 09:25:31 +00:00
warren%netscape.com
9f3f1ef921 Added source offset parameter to OnDataAvailable (for byte-range requests).
git-svn-id: svn://10.0.0.236/trunk@28694 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 08:47:06 +00:00
warren%netscape.com
fba4520afe Added variant and scriptable.
git-svn-id: svn://10.0.0.236/trunk@28693 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 08:27:34 +00:00
rickg%netscape.com
a045a34e43 sync up with nsString2.cpp
git-svn-id: svn://10.0.0.236/trunk@28692 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 08:23:25 +00:00
saari%netscape.com
a3482efee9 Making dynamic menus on windows better behaved (but still leaky)
git-svn-id: svn://10.0.0.236/trunk@28691 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 08:17:03 +00:00
mcafee%netscape.com
4ceabc7ce6 Removing nsSelectionMgr reference.
git-svn-id: svn://10.0.0.236/trunk@28690 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 08:00:44 +00:00
mcafee%netscape.com
968cf97b96 Backing out nsSelectionMgr removal for now.
git-svn-id: svn://10.0.0.236/trunk@28689 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:55:25 +00:00
rickg%netscape.com
0b79b9ed5e update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28688 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:46:51 +00:00
mcafee%netscape.com
06af361ebb Removing nsSelectionMgr references from the build.
git-svn-id: svn://10.0.0.236/trunk@28687 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:40:46 +00:00
warren%netscape.com
a16789b734 Started factoring nsIPersistentProperties from nsIProperties.
git-svn-id: svn://10.0.0.236/trunk@28686 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:32:51 +00:00
warren%netscape.com
beef2e57d2 Removed unnecessary nsIByteBuffer.h
git-svn-id: svn://10.0.0.236/trunk@28685 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:31:09 +00:00
warren%netscape.com
0f93e5d59a Added Write(nsIInputStream) and Flush to nsIOutputStream.
git-svn-id: svn://10.0.0.236/trunk@28684 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:31:03 +00:00
warren%netscape.com
7f41b2ccfe Added nsIVariant and nsIScritable (for RDF).
git-svn-id: svn://10.0.0.236/trunk@28683 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:30:35 +00:00
rickg%netscape.com
e7a1daf302 update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28682 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:07:55 +00:00
mcafee%netscape.com
260321b6df Removing NEW_CLIPBOARD_SUPPORT ifdef.
git-svn-id: svn://10.0.0.236/trunk@28681 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:03:14 +00:00
mcafee%netscape.com
51f441ee32 Removing NEWW_CLIPBOARD_SUPPORT ifdef.
git-svn-id: svn://10.0.0.236/trunk@28680 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:48:51 +00:00
mcafee%netscape.com
9a0303d3a4 Removing NEW_CLIPBOARD_SUPPORT ifdef.
git-svn-id: svn://10.0.0.236/trunk@28679 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:46:51 +00:00
rickg%netscape.com
b7a4f49f23 update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28678 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:39:40 +00:00
nisheeth%netscape.com
d155b4330b Fixing Mac build bustage. Expat has started returning wchar_t * (wide chars) because it supports Unicode buffers. Those wchar_t *s needed to be cast to PRUnichar *s.
git-svn-id: svn://10.0.0.236/trunk@28677 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:27:56 +00:00
rickg%netscape.com
1957f3b185 update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28676 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:25:24 +00:00
rickg%netscape.com
8884beb31a update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28675 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:19:44 +00:00
rickg%netscape.com
b075304156 update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28674 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:13:43 +00:00
rickg%netscape.com
a44ce26f8d update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28673 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:06:17 +00:00
varada%netscape.com
ad33871f57 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@28672 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:05:43 +00:00
rickg%netscape.com
f3a096f547 update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28671 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:57:36 +00:00
sfraser%netscape.com
536efbc03c Add InstallResources for Find component
git-svn-id: svn://10.0.0.236/trunk@28670 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:51:43 +00:00
rickg%netscape.com
2c182956dd update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28669 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:49:39 +00:00
mcafee%netscape.com
9407a5b0b7 Removing NEW_CLIPBOARD_SUPPORT ifdef.
git-svn-id: svn://10.0.0.236/trunk@28668 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:41:51 +00:00
rickg%netscape.com
3cfaab928f update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28667 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:39:24 +00:00
nisheeth%netscape.com
9206493933 Fix for bug 4463. Expat now accepts unicode buffers.
git-svn-id: svn://10.0.0.236/trunk@28666 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:31:18 +00:00
nisheeth%netscape.com
7fa9663faf Turning on unicode chars in expat.
git-svn-id: svn://10.0.0.236/trunk@28665 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:27:16 +00:00
valeski%netscape.com
fd13db6d05 adding syncronous ftp implementation
git-svn-id: svn://10.0.0.236/trunk@28664 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:22:24 +00:00
sfraser%netscape.com
538cadef97 Added components/find/Makefile
git-svn-id: svn://10.0.0.236/trunk@28663 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:15:27 +00:00
grail%cafebabe.org
28250490f8 Added support for multiple identities in the Prefs system.
git-svn-id: svn://10.0.0.236/trunk@28662 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:57:42 +00:00
sfraser%netscape.com
6f1c7c6cf1 Look for types.h in the system headers.
git-svn-id: svn://10.0.0.236/trunk@28661 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:34:59 +00:00
sfraser%netscape.com
2fa29fa88e File Removed.
git-svn-id: svn://10.0.0.236/trunk@28660 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:31:52 +00:00
troy%netscape.com
3badeba0e9 Work-in-progress for relatively positioned inlines being containing blocks
for absolutely positioned child elements


git-svn-id: svn://10.0.0.236/trunk@28659 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:27:47 +00:00
warren%netscape.com
6009dce6dd Added nsCRT::free methods.
git-svn-id: svn://10.0.0.236/trunk@28658 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:25:17 +00:00
sfraser%netscape.com
7c46c99937 Add netlib library
git-svn-id: svn://10.0.0.236/trunk@28657 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:24:48 +00:00
sfraser%netscape.com
258f03bcb5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28656 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:20:19 +00:00
warren%netscape.com
b8808c11bf Added NS_IMETHOD decls.
git-svn-id: svn://10.0.0.236/trunk@28655 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:17:21 +00:00
sspitzer%netscape.com
5fa7a74c34 new icon from scotty
git-svn-id: svn://10.0.0.236/trunk@28654 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:15:07 +00:00
law%netscape.com
3dcc6368d1 Fix some nsCOMPtr abuse
git-svn-id: svn://10.0.0.236/trunk@28653 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:14:38 +00:00
warren%netscape.com
67cc942bf2 Added nsAutoMonitor
git-svn-id: svn://10.0.0.236/trunk@28652 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:12:08 +00:00
sspitzer%netscape.com
f45efc2e59 add the cvs ignore file. (Am I the only one who ever does this?)
git-svn-id: svn://10.0.0.236/trunk@28651 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:09:35 +00:00
sspitzer%netscape.com
de409f663f add the cvsignore files
git-svn-id: svn://10.0.0.236/trunk@28650 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:08:37 +00:00
briano%netscape.com
e972778af7 Automated update
git-svn-id: svn://10.0.0.236/trunk@28649 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:07:01 +00:00
briano%netscape.com
b6aa56719b Commented out the duplicate AC_HEADER_STDC, since AC_TYPE_MODE_T already does it.
git-svn-id: svn://10.0.0.236/trunk@28648 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 04:06:33 +00:00
bienvenu%netscape.com
c0600683da add services for dealing with flags, fix build problem in test harness
git-svn-id: svn://10.0.0.236/trunk@28647 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:57:44 +00:00
karnaze%netscape.com
2c5be7861f added right-to-left direction example
git-svn-id: svn://10.0.0.236/trunk@28646 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:54:06 +00:00
karnaze%netscape.com
4c449cb10f support for right-to-left direction
git-svn-id: svn://10.0.0.236/trunk@28645 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:51:58 +00:00
karnaze%netscape.com
75c45d3073 dir attribute on <table> gets converted to css direction
git-svn-id: svn://10.0.0.236/trunk@28644 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:50:39 +00:00
law%netscape.com
57c76d30c6 Adding in support for find/find-next
git-svn-id: svn://10.0.0.236/trunk@28643 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:42:37 +00:00
kipp%netscape.com
44228a8c6d Fixed rendering bug with drawing poly areas during debug drawing
git-svn-id: svn://10.0.0.236/trunk@28642 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:40:38 +00:00
alecf%netscape.com
82dc1b9124 oops, this belonged in the find subdirectory
git-svn-id: svn://10.0.0.236/trunk@28641 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:28:32 +00:00
alecf%netscape.com
9cd72df4f3 oops, should be including nsID.h for the nsID typedef
git-svn-id: svn://10.0.0.236/trunk@28640 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:25:24 +00:00
waterson%netscape.com
eea3849aa1 Got rid of unncessary use of RDF_DEFINE_VOCAB macro.
git-svn-id: svn://10.0.0.236/trunk@28639 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:16:55 +00:00
waterson%netscape.com
56793157aa Added some missing addrefs.
git-svn-id: svn://10.0.0.236/trunk@28638 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:16:09 +00:00
waterson%netscape.com
f9dc6e1181 Fixed a nsIRDFResource leak.
git-svn-id: svn://10.0.0.236/trunk@28637 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:15:27 +00:00
waterson%netscape.com
ecf282b4bc Made all interfaces 'scriptable' to generate a usable typelib.
git-svn-id: svn://10.0.0.236/trunk@28636 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:14:20 +00:00
law%netscape.com
e18d400d02 Add xpfe/components to LINCS
git-svn-id: svn://10.0.0.236/trunk@28635 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:12:58 +00:00
law%netscape.com
35231ffc09 Remove debug stuff (since this rocks now)
git-svn-id: svn://10.0.0.236/trunk@28634 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:07:51 +00:00
sfraser%netscape.com
3720037189 Add Find component MANIFEST entries
git-svn-id: svn://10.0.0.236/trunk@28633 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:05:24 +00:00
sfraser%netscape.com
08d3aa416d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28632 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:05:01 +00:00
alecf%netscape.com
9114dd21fa Add server RDF source
git-svn-id: svn://10.0.0.236/trunk@28631 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 03:02:35 +00:00
law%netscape.com
8cda52f27b Find/FindNext enablement
git-svn-id: svn://10.0.0.236/trunk@28630 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:58:57 +00:00
sfraser%netscape.com
f26ad9d38c Install resources inside 'default' directory in content, skin etc.
git-svn-id: svn://10.0.0.236/trunk@28629 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:57:57 +00:00
beard%netscape.com
e590e83437 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28628 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:50:18 +00:00
alecf%netscape.com
91542ea416 build components on Unix
git-svn-id: svn://10.0.0.236/trunk@28627 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:48:58 +00:00
alecf%netscape.com
07e436501b ignore generated files
git-svn-id: svn://10.0.0.236/trunk@28626 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:48:21 +00:00
alecf%netscape.com
5655534a14 fix virtual destructors
git-svn-id: svn://10.0.0.236/trunk@28625 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:47:31 +00:00
alecf%netscape.com
13d064c19e add xpfe/components makefiles
git-svn-id: svn://10.0.0.236/trunk@28624 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:45:24 +00:00
alecf%netscape.com
034f8485e9 go into find
git-svn-id: svn://10.0.0.236/trunk@28623 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:42:13 +00:00
alecf%netscape.com
e90495e1e9 fix nsISupports IID
git-svn-id: svn://10.0.0.236/trunk@28622 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:41:54 +00:00
alecf%netscape.com
f815c146ab fix depth on makefiles
git-svn-id: svn://10.0.0.236/trunk@28621 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:40:07 +00:00
briano%netscape.com
9c465fc841 Automated update
git-svn-id: svn://10.0.0.236/trunk@28620 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:37:23 +00:00
briano%netscape.com
bee55e0c3f Oops. Well, that's why I didn't want to move the NSPR checks in the first place....
git-svn-id: svn://10.0.0.236/trunk@28619 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:36:58 +00:00
law%netscape.com
538ee99982 Adding to unix build
git-svn-id: svn://10.0.0.236/trunk@28618 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:33:17 +00:00
alecf%netscape.com
f4997505ee add new datasources to windows build
git-svn-id: svn://10.0.0.236/trunk@28617 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:28:55 +00:00
alecf%netscape.com
3fbe77ef2e start building new RDF datasources on unix
git-svn-id: svn://10.0.0.236/trunk@28616 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:26:25 +00:00
alecf%netscape.com
7ba42d1d55 check in skeleton source for RDF datasources for account system
git-svn-id: svn://10.0.0.236/trunk@28615 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:25:22 +00:00
law%netscape.com
4bd9eacaf5 Add to unix build
git-svn-id: svn://10.0.0.236/trunk@28614 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:24:41 +00:00
alecf%netscape.com
ab1f4f50f2 add headers for new RDF data sources for account system
git-svn-id: svn://10.0.0.236/trunk@28613 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:24:39 +00:00
mscott%netscape.com
035286c875 Remove old & slow ReadLine code. Replace it with nsMsgLineStreamBuffer. This also involved cleaning out a lot of code for displaying messages as the logic of the read line loop changed.
git-svn-id: svn://10.0.0.236/trunk@28612 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:13:42 +00:00
mscott%netscape.com
fb22c030eb Highlight the different servers in the folder pane. Eventually this should be in a style sheet but I've been having trouble getting that to work.
git-svn-id: svn://10.0.0.236/trunk@28611 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:08:33 +00:00
pavlov%pavlov.net
fdfd280c7a revert my last changes. i'm moving speed ups into a branch
git-svn-id: svn://10.0.0.236/trunk@28610 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:07:03 +00:00
law%netscape.com
e9cb6aa613 Crap. Sorry 'bout that, folks. This one should be OK.
git-svn-id: svn://10.0.0.236/trunk@28609 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:04:33 +00:00
mscott%netscape.com
2eff486981 nsMsgLineStreamBuffer takes a new argument stating whether new lines should be allocated or not on calls to ReadNextLine.
git-svn-id: svn://10.0.0.236/trunk@28608 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:01:08 +00:00
law%netscape.com
82771f7c42 Updated to match nsFindComponent.cpp
git-svn-id: svn://10.0.0.236/trunk@28607 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:59:14 +00:00
law%netscape.com
242b09d056 Fix bug in argument fetching code
git-svn-id: svn://10.0.0.236/trunk@28606 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:58:35 +00:00
mscott%netscape.com
3ff0d4071c constructor for nsMsgLineBufferStream takes a new argument specifying if new lines should be allocated for ReadNextLine.
git-svn-id: svn://10.0.0.236/trunk@28605 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:54:32 +00:00
mscott%netscape.com
56bebb25c7 Fix fence post case in nsMsgLineBufferStream::ReadNextLine when we read n bytes and n == the size of the buffer...we were over-writing the n+1th byte with a null terminator.
Add (unimplemented) feature to nsMsgLineBufferStream to give caller the choice of allocating new memory for new lines or not.


git-svn-id: svn://10.0.0.236/trunk@28604 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:53:19 +00:00
pierre%netscape.com
11cc5a6d83 replaced mOriginalSurface with mSavePort
on delete, restore the grafPort origin
fixed a regression leak of the offscreen buffer


git-svn-id: svn://10.0.0.236/trunk@28603 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:27:12 +00:00
jj%netscape.com
bd56f8edc2 File Removed.
git-svn-id: svn://10.0.0.236/trunk@28602 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:25:18 +00:00
jj%netscape.com
4a9c990cec updated for MSL 4.1.05
git-svn-id: svn://10.0.0.236/trunk@28601 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:25:04 +00:00
briano%netscape.com
cbdcaef41e Automated update
git-svn-id: svn://10.0.0.236/trunk@28598 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:08:18 +00:00
briano%netscape.com
d403413546 Final fix for bug#5157. Moved the NSPR checks closer to the beginning.
git-svn-id: svn://10.0.0.236/trunk@28597 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:07:55 +00:00
law%netscape.com
f96e58f98d Oops, missed this one
git-svn-id: svn://10.0.0.236/trunk@28596 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:07:23 +00:00
alecf%netscape.com
d933c82363 add to unix build
git-svn-id: svn://10.0.0.236/trunk@28595 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:49:02 +00:00
briano%netscape.com
e6f5e23799 Automated update
git-svn-id: svn://10.0.0.236/trunk@28594 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:44:37 +00:00
briano%netscape.com
28e5d4d846 Fix for bug#5048. Can't use --enable-java and --enable-oji at the same time.
git-svn-id: svn://10.0.0.236/trunk@28593 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:43:06 +00:00
law%netscape.com
2d15e48bc5 Build components on win32
git-svn-id: svn://10.0.0.236/trunk@28592 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:34:17 +00:00
law%netscape.com
d3dc744403 Setting up for win32 build of components directory
git-svn-id: svn://10.0.0.236/trunk@28591 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:32:34 +00:00
law%netscape.com
ceb2dccd2b Updates
git-svn-id: svn://10.0.0.236/trunk@28590 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:27:39 +00:00
mcafee%netscape.com
022a117375 Test-removal of NEW_CLIPBOARD_SUPPORT ifdef.
git-svn-id: svn://10.0.0.236/trunk@28589 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:22:15 +00:00
pavlov%pavlov.net
ace02540a5 beginning work on making mozilla fast...
git-svn-id: svn://10.0.0.236/trunk@28587 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:07:40 +00:00
rickg%netscape.com
6144a4f208 update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28586 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:07:20 +00:00
rickg%netscape.com
79181f780d updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28585 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:05:59 +00:00
davidmc%netscape.com
9c681e5866 set morkStore::mStore_CanAutoAssignAtomIdentity to true in places
where MDB clients can access a store instance, so that this bool
is enabled only at the last possible moment.


git-svn-id: svn://10.0.0.236/trunk@28584 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:57:03 +00:00
davidmc%netscape.com
384e7119db fix morkAtomSpace::MakeBookAtomCopy() so it will use new boolean
slot on morkStore, mStore_CanAutoAssignAtomIdentity, to decide
whether new atoms with auto assigned identity is allowed.


git-svn-id: svn://10.0.0.236/trunk@28583 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:56:02 +00:00
rickg%netscape.com
d45e54521e updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28582 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:54:24 +00:00
davidmc%netscape.com
79c7b85c02 use new default atom space constant; init the new boolean
controlling whether auto assignment of atom IDs is allowed


git-svn-id: svn://10.0.0.236/trunk@28581 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:54:22 +00:00
davidmc%netscape.com
8eee3764b6 add new constant kValueSpaceScope to replace old ambiguous
ground atom space constant to fix problem with default atom
spacing 'a' being used instead of the 'v' space expected by the
parser (causing more than one atom space to be used ... bad).
Also add a boolean controlling whether auto-assignment of
atom IDs is permitted by atom spaces (so this can be disabled
during parsing, so it can be detected when it's inappropriate).


git-svn-id: svn://10.0.0.236/trunk@28580 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:53:38 +00:00
evaughan%netscape.com
e300a0f12a Fixed make build by not using itoa
git-svn-id: svn://10.0.0.236/trunk@28579 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:51:40 +00:00
davidmc%netscape.com
502113bf3e fix morkEnv::OidAsHex() to print a scope < 0x80 as
a plain text byte instead of ^hex hex when the character
is a name byte


git-svn-id: svn://10.0.0.236/trunk@28578 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:51:22 +00:00
davidmc%netscape.com
7571020113 change format to v1.4 to account for hex oids for single char
spaces changing from, eg., 1CE:^6D to 1CE:m


git-svn-id: svn://10.0.0.236/trunk@28577 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:50:03 +00:00
rickg%netscape.com
051e73b4dc updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28576 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:48:41 +00:00
ftang%netscape.com
2d84bea050 remove PRBool* oContinue from the Notify method
git-svn-id: svn://10.0.0.236/trunk@28575 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:44:27 +00:00
rickg%netscape.com
cbe30f2eb9 updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28574 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:43:11 +00:00
mcmullen%netscape.com
0ff9dcbdc7 Added nsCommandLineServiceMac.cpp
git-svn-id: svn://10.0.0.236/trunk@28573 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:36:23 +00:00
mcmullen%netscape.com
cc1c7d0201 Adding command-line support for Macintosh.
git-svn-id: svn://10.0.0.236/trunk@28572 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:36:02 +00:00
mcmullen%netscape.com
9ebbbc8d0c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28571 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:35:31 +00:00
rickg%netscape.com
1620c29fb0 updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28570 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:35:12 +00:00
amusil%netscape.com
c9af3f688f Fixed bug with flow of control - reflows after the first one no longer call
CantRenderDisplacedElement() when it's not supposed to.


git-svn-id: svn://10.0.0.236/trunk@28569 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:25:20 +00:00
pierre%netscape.com
76bb1b59d2 SetCursor on mouseEnter / mouseExit
git-svn-id: svn://10.0.0.236/trunk@28568 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:15:05 +00:00
pierre%netscape.com
09fa689a63 removed a spurious SetCursor when creating a widget
git-svn-id: svn://10.0.0.236/trunk@28567 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:14:07 +00:00
rickg%netscape.com
f7d448b2c7 updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28566 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:12:55 +00:00
kipp%netscape.com
76ba1fce8b Fixed bug 3505
git-svn-id: svn://10.0.0.236/trunk@28565 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:08:49 +00:00
mcmullen%netscape.com
88d3f082ac Fix unix warning about sscanf
git-svn-id: svn://10.0.0.236/trunk@28564 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:55:37 +00:00
rickg%netscape.com
7b9dcc2a7d sync with new nsString2 API
git-svn-id: svn://10.0.0.236/trunk@28563 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:55:35 +00:00
evaughan%netscape.com
b101d56e37 added files: mozilla/layout/xul/base/src/nsTabFrame.cpp, mozilla/layout/xul/base/src/nsDeckFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@28562 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:48:29 +00:00
evaughan%netscape.com
8bd7a72b5b Added a tab control widget.
git-svn-id: svn://10.0.0.236/trunk@28561 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:46:15 +00:00
fur%netscape.com
92a896f017 Fixed a few typos so that the generated file actually compiles
git-svn-id: svn://10.0.0.236/trunk@28560 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:44:32 +00:00
bienvenu%netscape.com
6c560577f4 fix a few race conditions with fe events, add NOOP service
git-svn-id: svn://10.0.0.236/trunk@28559 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:35:12 +00:00
terry%netscape.com
22b2ffcef5 Ignore blanks when doing diff. In particular, this helps hide any
problems we may have with differing end-of-line characters.


git-svn-id: svn://10.0.0.236/trunk@28558 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:21:40 +00:00
mcmullen%netscape.com
1cb64396ba Fix PREF_Cleanup so that it can be called twice with impunity.
git-svn-id: svn://10.0.0.236/trunk@28557 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:17:30 +00:00
mcmullen%netscape.com
74fa93c92a Call ShutDown automatically on destruction.
git-svn-id: svn://10.0.0.236/trunk@28556 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:17:28 +00:00
troy%netscape.com
811651c7eb Changed ConstructDocElementFrame() to make sure we call CreateViewForFrame()
for the document element's frame


git-svn-id: svn://10.0.0.236/trunk@28555 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:14:30 +00:00
jdunn%netscape.com
24069cc639 Change C++ comments to C comments and change flushall to flush of each of
the standard files (in,out,err)


git-svn-id: svn://10.0.0.236/trunk@28554 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:13:15 +00:00
sfraser%netscape.com
ff175c8869 File Removed.
git-svn-id: svn://10.0.0.236/trunk@28553 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:12:27 +00:00
troy%netscape.com
5e6d93b0e1 Changed the handling for fixed backgrounds a little
git-svn-id: svn://10.0.0.236/trunk@28552 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:08:01 +00:00
mcmullen%netscape.com
df3765f5db Backing out previous change, I didn't intend to check this file in.
git-svn-id: svn://10.0.0.236/trunk@28551 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:05:26 +00:00
mcmullen%netscape.com
1f9e08b3dd Prefs API changed to use filespecs instead of string paths. Added Get/SetFilePref. Cleaned up the API so that StartUp() does not need to be called.
git-svn-id: svn://10.0.0.236/trunk@28550 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:04:35 +00:00
troy%netscape.com
893fc9f9e5 Changed values for NS_STYLE_BG_ATTACHMENT_SCROLL and NS_STYLE_BG_ATTACHMENT_FIXED
so it was clear that they weren't bit fields


git-svn-id: svn://10.0.0.236/trunk@28549 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:01:18 +00:00
pinkerton%netscape.com
afe165b8d8 back out joki's click event fix because it doesn't totally work right. toolboxes now collapse (most of the time).
git-svn-id: svn://10.0.0.236/trunk@28548 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:49:44 +00:00
despotdaemon%netscape.com
199790db3f Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@28547 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:41:26 +00:00
dmose%mozilla.org
427e742473 updating to license version 1.1 in boilerplate comments
git-svn-id: svn://10.0.0.236/trunk@28534 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:40:44 +00:00
troy%netscape.com
4756273f12 Changed MapStyleInto() to also reset mBackgroundAttachment when resetting
the BODY's background properties


git-svn-id: svn://10.0.0.236/trunk@28533 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:39:47 +00:00
despotdaemon%netscape.com
8f99974b64 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@28532 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:36:24 +00:00
cata%netscape.com
315ac21ace New converters added.
git-svn-id: svn://10.0.0.236/trunk@28531 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:29:25 +00:00
warren%netscape.com
83c4747c3b Added better comment about NS_WITH_SERVICE.
git-svn-id: svn://10.0.0.236/trunk@28530 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:28:16 +00:00
troy%netscape.com
e6f57956c0 Changed CreateViewForFrame() so it takes into account fixed background
attachments and sets NS_VIEW_PUBLIC_FLAG_DONT_BITBLT


git-svn-id: svn://10.0.0.236/trunk@28529 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:27:50 +00:00
troy%netscape.com
a61ea51499 Changed a comment a little
git-svn-id: svn://10.0.0.236/trunk@28528 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:22:22 +00:00
troy%netscape.com
85cdb24b54 Added NS_VIEW_FLAG_DONT_BITBLT flag
git-svn-id: svn://10.0.0.236/trunk@28527 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:08:27 +00:00
fur%netscape.com
04873ddf92 Partial grammar for JS2, expressed using the ANTLR parser generator
git-svn-id: svn://10.0.0.236/trunk@28526 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:08:14 +00:00
mscott%netscape.com
f7b752f189 unregister ImapResource. Compress some of the register service code for the imap resource.
git-svn-id: svn://10.0.0.236/trunk@28525 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:08:00 +00:00
mcmullen%netscape.com
922de64f72 Export functions used by mailnews build (progname versions of static Get/Release) - bustage fix.
git-svn-id: svn://10.0.0.236/trunk@28524 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:07:21 +00:00
ftang%netscape.com
be67ff1fa9 add PRUint32 aDocumentID to the Notify method of nsIElementObserver interface
git-svn-id: svn://10.0.0.236/trunk@28522 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:04:39 +00:00
troy%netscape.com
e270bfc79e Changed nsPositionedInlineFrame::Reflow() to compute the desired size
by calling nsInlineReflow::Reflow() with a 'resize' reflow reason when
handling an incremental reflow of an absolutely positioned child element


git-svn-id: svn://10.0.0.236/trunk@28521 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:02:45 +00:00
wtc%netscape.com
8698beda5f Bugzilla bug #5358: temporary fix for the build problem on Solaris/x86.
We don't have an assembly language implementation of atomic stacks for
Solaris/x86 yet.  Thanks to Justin A. Kolodziej
<4wg7kolodzie@marquette.edu> for reporting the bug.


git-svn-id: svn://10.0.0.236/trunk@28520 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:02:10 +00:00
buster%netscape.com
a0c5370c5e added the notion of contain vs. replace for block transformations.
git-svn-id: svn://10.0.0.236/trunk@28519 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:01:59 +00:00
buster%netscape.com
2003734a30 fixed a bug in handling text properties that have an attribute, such as <FONT color=...>
git-svn-id: svn://10.0.0.236/trunk@28518 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:01:30 +00:00
cmanske%netscape.com
2907ecc812 Moved global java script variables into js file
git-svn-id: svn://10.0.0.236/trunk@28517 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:55:31 +00:00
sfraser%netscape.com
13a1ae5a2b Added editor dialogs MANIFEST entries
git-svn-id: svn://10.0.0.236/trunk@28516 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:55:07 +00:00
sfraser%netscape.com
4dfab5d400 Fix manifest for editor dialogs
git-svn-id: svn://10.0.0.236/trunk@28515 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:53:44 +00:00
cmanske%netscape.com
f4ecbcb34a Changed -editor command line switch to us use chrome URL specification
git-svn-id: svn://10.0.0.236/trunk@28514 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:51:28 +00:00
cata%netscape.com
53a1299d9a The new converters are added as components.
git-svn-id: svn://10.0.0.236/trunk@28513 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:50:08 +00:00
cmanske%netscape.com
ef92b63175 Fixed problems with insert link dialog
git-svn-id: svn://10.0.0.236/trunk@28512 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:46:40 +00:00
akkana%netscape.com
ac928a35d5 composer ui should be installed to chrome/editor/composer, not just chrome/editor
git-svn-id: svn://10.0.0.236/trunk@28511 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:44:59 +00:00
cmanske%netscape.com
67652e2771 Fixed error in editor chrome entry
git-svn-id: svn://10.0.0.236/trunk@28510 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:43:33 +00:00
cmanske%netscape.com
016a092c6d Fixed error in link properties dialog reference
git-svn-id: svn://10.0.0.236/trunk@28509 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:31:17 +00:00
mscott%netscape.com
cf88239354 Replace the old slow ReadLine code to use the new more efficient nsMsgLineBufferStream class. Right now this class creates a new buffer for each line returned so we need to free this buffer. Later on, I'll be looking into removing the allocation of the new line and some of these statements will be made obsolete.
git-svn-id: svn://10.0.0.236/trunk@28508 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:23:47 +00:00
putterman%netscape.com
74b63f19f8 added files: mozilla/mailnews/base/util/nsMsgUtils.cpp
git-svn-id: svn://10.0.0.236/trunk@28507 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:22:18 +00:00
putterman%netscape.com
7c595f7cf1 Change to news instead of nntp.
git-svn-id: svn://10.0.0.236/trunk@28506 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:18:35 +00:00
putterman%netscape.com
7776f2e035 Use delete[].
git-svn-id: svn://10.0.0.236/trunk@28505 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:18:15 +00:00
putterman%netscape.com
141d926c44 Added mailbox_message registration.
git-svn-id: svn://10.0.0.236/trunk@28504 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:17:43 +00:00
putterman%netscape.com
42380b0025 Add utility functions so we can use nsIMsgMessageService correctly.
git-svn-id: svn://10.0.0.236/trunk@28503 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:17:23 +00:00
putterman%netscape.com
8427b13a2f uses nsIMsgMessageService.
git-svn-id: svn://10.0.0.236/trunk@28502 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:16:16 +00:00
cata%netscape.com
da1d7d0d8d New converters added.
git-svn-id: svn://10.0.0.236/trunk@28501 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:05:12 +00:00
cata%netscape.com
769032cb6b added files: mozilla/intl/uconv/ucvlatin/nsISO88593ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsISO88594ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsISO88595ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsISO88596ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsISO88598ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsCP1251ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsCP1257ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToISO88593.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToISO88594.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToISO88595.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToISO88596.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToISO88598.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToCP1251.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToCP1257.cpp
git-svn-id: svn://10.0.0.236/trunk@28500 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 20:04:25 +00:00
kipp%netscape.com
9534985250 Fixed FindNextSibling to return the first-in-flow not the last in flow
git-svn-id: svn://10.0.0.236/trunk@28499 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:59:40 +00:00
kipp%netscape.com
cf6064f2cb Fixed word lookahead logic to not look at continuations to avoid duplicate information
git-svn-id: svn://10.0.0.236/trunk@28498 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:59:16 +00:00
kipp%netscape.com
cf2d143219 Added some (disabled) logging
git-svn-id: svn://10.0.0.236/trunk@28497 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:58:50 +00:00
kipp%netscape.com
1d08039f88 Fixed up child incremental reflow to only reflow the necessary number of lines (hopefully)
git-svn-id: svn://10.0.0.236/trunk@28496 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:58:38 +00:00
sspitzer%netscape.com
9fe345bb8a use nsCRT:strtok(), not strtok()
git-svn-id: svn://10.0.0.236/trunk@28495 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:54:44 +00:00
cata%netscape.com
d5d892e491 New converters added.
git-svn-id: svn://10.0.0.236/trunk@28494 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:52:21 +00:00
ftang%netscape.com
2f859539f4 add new files for PICS and Charset observation, have not change makefile yet
git-svn-id: svn://10.0.0.236/trunk@28493 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:51:38 +00:00
cata%netscape.com
a90cba01ec New converter tables.
git-svn-id: svn://10.0.0.236/trunk@28492 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:49:27 +00:00
neeti%netscape.com
ba114cea69 checking for null mObserverList
git-svn-id: svn://10.0.0.236/trunk@28491 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:36:41 +00:00
law%netscape.com
34b04f5506 Added component registration stuff
git-svn-id: svn://10.0.0.236/trunk@28490 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:32:43 +00:00
sfraser%netscape.com
54dc85e8b6 Fix the chrome URL for the bold GIF
git-svn-id: svn://10.0.0.236/trunk@28489 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:31:36 +00:00
sfraser%netscape.com
060e090aea Fix merge conflicts that were checkedin.
git-svn-id: svn://10.0.0.236/trunk@28488 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:27:35 +00:00
sfraser%netscape.com
58eaa7feb4 Fix malformed chrome RDF
git-svn-id: svn://10.0.0.236/trunk@28487 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:19:40 +00:00
sfraser%netscape.com
91e0f3a673 Export new editor resources from the right place, and export from xpfe/browser/src with a MANIFEST file.
git-svn-id: svn://10.0.0.236/trunk@28486 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:13:32 +00:00
sfraser%netscape.com
114aa933cf Turn on clobber_libs flag
git-svn-id: svn://10.0.0.236/trunk@28485 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:12:36 +00:00
sfraser%netscape.com
d809edfca5 Set export by pragma and fragment names.
git-svn-id: svn://10.0.0.236/trunk@28484 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:12:08 +00:00
sfraser%netscape.com
0ddb310f9c Added EditorInitPagePlain.html
git-svn-id: svn://10.0.0.236/trunk@28483 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:11:19 +00:00
sfraser%netscape.com
65ec821853 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28482 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:11:18 +00:00
mscott%netscape.com
35083f080a Remove message display from the demos menu. We don't need to do this anymore as you can just select the message from the thread pane to display it.
git-svn-id: svn://10.0.0.236/trunk@28481 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:05:46 +00:00
mcmullen%netscape.com
c07e315bcf Fix HPUX build bustage, hopefully.
git-svn-id: svn://10.0.0.236/trunk@28480 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:05:01 +00:00
cmanske%netscape.com
fe1a7afae0 Changed makefile to remove chrome files moved to editor directories
git-svn-id: svn://10.0.0.236/trunk@28479 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:02:56 +00:00
mscott%netscape.com
6f9ba2189a OpenUrl no longer needs any knowledge of the nntp service. It should be able to go directly through the nsIMsgMessageService interface.
git-svn-id: svn://10.0.0.236/trunk@28478 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:59:51 +00:00
cmanske%netscape.com
df4fa08908 New editor interface methods for element insert and properties
git-svn-id: svn://10.0.0.236/trunk@28477 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:59:50 +00:00
cmanske%netscape.com
ec3a48acd9 Another editor IDL-generated file
git-svn-id: svn://10.0.0.236/trunk@28476 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:58:55 +00:00
mscott%netscape.com
df4891feb8 Clean up CreateInstance to condense some code. use progids for registering the nntp service and the nntp version of the message service.
git-svn-id: svn://10.0.0.236/trunk@28475 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:58:29 +00:00
mscott%netscape.com
92625e2946 add support for nsIMsgMessageService interface.
git-svn-id: svn://10.0.0.236/trunk@28474 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:57:24 +00:00
cmanske%netscape.com
194f80f2bb Modifed to use new editor chrome location
git-svn-id: svn://10.0.0.236/trunk@28473 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:55:33 +00:00
cmanske%netscape.com
371fdba5b7 Added simple dialogs for insert link and restructured ui source directories
git-svn-id: svn://10.0.0.236/trunk@28472 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:53:55 +00:00
erik%netscape.com
58165eda5e Bug 5304 -- we now assume 96dpi (we ignore the X server).
Also fixed problem with fonts when no font containing the requested glyph
could be found. (Thanks to Kipp for discovering this.)


git-svn-id: svn://10.0.0.236/trunk@28471 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:53:35 +00:00
cmanske%netscape.com
7e7b5ccef0 Added editor property methods
git-svn-id: svn://10.0.0.236/trunk@28470 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:52:54 +00:00
cmanske%netscape.com
3a8ad977ca Added new editor chrome support
git-svn-id: svn://10.0.0.236/trunk@28469 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:51:43 +00:00
cmanske%netscape.com
7a07f2ff19 Added new editor makefiles
git-svn-id: svn://10.0.0.236/trunk@28468 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:51:05 +00:00
alecf%netscape.com
028e04df26 include NSPR libs from the right directory
git-svn-id: svn://10.0.0.236/trunk@28467 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:45:41 +00:00
jj%netscape.com
66a5c2671b comment out line that attempted to copy resources that were obsoleted from the tree by rods. the perl script would choke when it tried to copy files into mozilla/dist that aren't there.
git-svn-id: svn://10.0.0.236/trunk@28466 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:37:00 +00:00
valeski%netscape.com
871d79269c changed some nsString usage to nsString2. added the PWD/default directory parsing and discovery code.
git-svn-id: svn://10.0.0.236/trunk@28464 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 17:48:32 +00:00
terry%netscape.com
351c995fe9 Fixed a bug where the long descriptions of bugs had a variety of
newline characters at the end, depending on the operating system of
the browser that submitted the text.


git-svn-id: svn://10.0.0.236/trunk@28463 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 17:45:22 +00:00
pinkerton%netscape.com
9cc23ea5ea fix mac build bustage. made return values match declarations.
git-svn-id: svn://10.0.0.236/trunk@28461 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 16:28:53 +00:00
jfrancis%netscape.com
6c71acb72d more typing rules work - space and tab occassionally do the right thing now
git-svn-id: svn://10.0.0.236/trunk@28460 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 14:49:58 +00:00
kin%netscape.com
1246f8f46b Added code to track iterator status, and modified first/last/next/prev
methods to set the iterator based on this status.


git-svn-id: svn://10.0.0.236/trunk@28459 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 14:38:15 +00:00
dcone%netscape.com
ecfee6c40b Updated with the background painting and anti-aliasing
git-svn-id: svn://10.0.0.236/trunk@28458 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 14:23:49 +00:00
rhp%netscape.com
6380bc4e98 Fix the makefile problem and remove bad error warnings
git-svn-id: svn://10.0.0.236/trunk@28457 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 13:48:54 +00:00
bruce%cybersight.com
19ee72e6e8 Fix for Solaris CC build.
git-svn-id: svn://10.0.0.236/trunk@28456 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 12:11:11 +00:00
briano%netscape.com
c080d67928 Automated update
git-svn-id: svn://10.0.0.236/trunk@28455 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 07:59:36 +00:00
mcafee%netscape.com
05a3da9c19 Turning on clipboard by default; preparation for yanking non-NEW_CLIPBOARD_SUPPORT code.
git-svn-id: svn://10.0.0.236/trunk@28454 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 07:44:30 +00:00
morse%netscape.com
5bae6572da fix build bustage
git-svn-id: svn://10.0.0.236/trunk@28453 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 07:33:36 +00:00
morse%netscape.com
caaab8dcfe remove garbage
git-svn-id: svn://10.0.0.236/trunk@28452 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 07:31:15 +00:00
morse%netscape.com
43b4755872 remove junk
git-svn-id: svn://10.0.0.236/trunk@28451 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 07:30:10 +00:00
mcafee%netscape.com
cb7ab3bcd5 Removing bogus comment.
git-svn-id: svn://10.0.0.236/trunk@28450 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 07:24:00 +00:00
law%netscape.com
d87f078699 Initial draft of new Find Component
git-svn-id: svn://10.0.0.236/trunk@28449 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 06:52:36 +00:00
law%netscape.com
e0c1766d7b New app shell componentry
git-svn-id: svn://10.0.0.236/trunk@28448 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 06:49:17 +00:00
mcafee%netscape.com
759571e562 We don't put C++ comments in C header files.
git-svn-id: svn://10.0.0.236/trunk@28447 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 06:31:24 +00:00
jefft%netscape.com
7a211a8919 added imap host entry
git-svn-id: svn://10.0.0.236/trunk@28445 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:47:04 +00:00
wtc%netscape.com
0d2b607695 Bugzilla bug #5344: added the missing #define PLARENAS_H as part of
the double-include guard.  Thanks to Bruce Mitchener <bruce@cybersight.com>
for the bug report.


git-svn-id: svn://10.0.0.236/trunk@28444 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:37:35 +00:00
rickg%netscape.com
637b083ac5 added observerdictionary
git-svn-id: svn://10.0.0.236/trunk@28443 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:36:47 +00:00
morse%netscape.com
0799ebc5ab fix build bustage
git-svn-id: svn://10.0.0.236/trunk@28442 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:29:20 +00:00
jefft%netscape.com
eed7ec2a2c added nsImapMailFolder.cpp
git-svn-id: svn://10.0.0.236/trunk@28441 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:21:12 +00:00
jefft%netscape.com
ccca9e8333 initial coding
git-svn-id: svn://10.0.0.236/trunk@28440 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:20:11 +00:00
jefft%netscape.com
eb7d665ded added imap resource to the factory
git-svn-id: svn://10.0.0.236/trunk@28439 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:18:56 +00:00
jefft%netscape.com
43438b924c added rdfutil_s.lib, rdf, rdfutil to the build
git-svn-id: svn://10.0.0.236/trunk@28438 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:17:37 +00:00
jefft%netscape.com
6dcd03a364 adding imap related URI
git-svn-id: svn://10.0.0.236/trunk@28437 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:13:31 +00:00
jefft%netscape.com
714d7a6daf remove nsMsgImapMailFolder.cpp
git-svn-id: svn://10.0.0.236/trunk@28436 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:12:13 +00:00
jefft%netscape.com
c39179e255 use nsNativeFileSpec& instead of nsNativeFileSpec* for GetPathName method
git-svn-id: svn://10.0.0.236/trunk@28435 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:10:58 +00:00
jefft%netscape.com
a4cf9afe46 added kImapRootURI, nsGetImapRoot()
git-svn-id: svn://10.0.0.236/trunk@28434 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 05:09:33 +00:00
bienvenu%netscape.com
0cde2e4ba0 get downloading of imap messages working
git-svn-id: svn://10.0.0.236/trunk@28433 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:57:28 +00:00
norris%netscape.com
ade1dcd425 Load optimizer package from com.netscape.
git-svn-id: svn://10.0.0.236/trunk@28432 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:40:36 +00:00
morse%netscape.com
e65019d584 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@28431 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:38:13 +00:00
troy%netscape.com
4a4c187d41 Changed nsPositionedInlineFrame code to handle incremental reflow
git-svn-id: svn://10.0.0.236/trunk@28430 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:37:13 +00:00
bruce%cybersight.com
cc7c5c0bee Hello. Today, we welcome Mr. New-line-at-end-of-file to class. Please treat him well.
git-svn-id: svn://10.0.0.236/trunk@28429 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:33:32 +00:00
bruce%cybersight.com
fc7ac0c770 Fix for ANSI C++ compliance: friend foo -> friend class foo
git-svn-id: svn://10.0.0.236/trunk@28428 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:16:46 +00:00
buster%netscape.com
0411bb407a more block transformation WIP: nested blocks work much better now
git-svn-id: svn://10.0.0.236/trunk@28427 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:08:43 +00:00
rickg%netscape.com
c1a9c636d1 sync with new nsString2 API
git-svn-id: svn://10.0.0.236/trunk@28426 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:02:14 +00:00
morse%netscape.com
5af7050559 add cookie viewer and signo viewer
git-svn-id: svn://10.0.0.236/trunk@28425 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:58:55 +00:00
morse%netscape.com
04023a5d3e add signon viewer
git-svn-id: svn://10.0.0.236/trunk@28424 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:57:08 +00:00
morse%netscape.com
dd646dd87f nsIWalletService.h
git-svn-id: svn://10.0.0.236/trunk@28423 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:54:00 +00:00
morse%netscape.com
c75863d035 nsINetService.h
git-svn-id: svn://10.0.0.236/trunk@28422 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:52:05 +00:00
morse%netscape.com
84e55157cf add cookie viewer
git-svn-id: svn://10.0.0.236/trunk@28421 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:50:57 +00:00
morse%netscape.com
95b5e03034 net.h
git-svn-id: svn://10.0.0.236/trunk@28420 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:47:59 +00:00
morse%netscape.com
3d34e02020 nsBrowserAppCore.h
git-svn-id: svn://10.0.0.236/trunk@28419 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:47:07 +00:00
morse%netscape.com
4f41e80cb1 add cookie viewer and signon viewer
git-svn-id: svn://10.0.0.236/trunk@28418 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:45:50 +00:00
cmanske%netscape.com
78e2d7ceff Removed makefiles not needed
git-svn-id: svn://10.0.0.236/trunk@28417 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:44:24 +00:00
morse%netscape.com
d649a36c6d add cookie viewer and singon viewer
git-svn-id: svn://10.0.0.236/trunk@28416 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:43:49 +00:00
cmanske%netscape.com
808013632d Added new dialog XUL for editor
git-svn-id: svn://10.0.0.236/trunk@28415 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:38:29 +00:00
cmanske%netscape.com
9cc4adcbc3 Built new chrome directories for Editor
git-svn-id: svn://10.0.0.236/trunk@28414 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:35:51 +00:00
morse%netscape.com
20054dd2e2 add cookie viewer and signon viewer
git-svn-id: svn://10.0.0.236/trunk@28413 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:33:48 +00:00
cmanske%netscape.com
d7c057bec4 Added general CSS file for main editor window
git-svn-id: svn://10.0.0.236/trunk@28412 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:31:41 +00:00
morse%netscape.com
8622110f6e add cookie viewer and sigon viewer
git-svn-id: svn://10.0.0.236/trunk@28411 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:27:50 +00:00
sspitzer%netscape.com
91980a3e06 hardcode to news://news.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@28410 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 03:09:48 +00:00
sspitzer%netscape.com
bb4046f2a2 these header files and CIDs aren't being used. comment them out.
git-svn-id: svn://10.0.0.236/trunk@28409 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:57:36 +00:00
sspitzer%netscape.com
369e5e1066 build tweakage for the incoming nntp server changes
git-svn-id: svn://10.0.0.236/trunk@28408 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:56:38 +00:00
sspitzer%netscape.com
59b4873d5c work for the incoming nntp server
git-svn-id: svn://10.0.0.236/trunk@28407 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:55:48 +00:00
sspitzer%netscape.com
d3a62d8404 work for the nntp incoming server
git-svn-id: svn://10.0.0.236/trunk@28406 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:55:25 +00:00
sspitzer%netscape.com
47096998a5 fix a typo in the comment
git-svn-id: svn://10.0.0.236/trunk@28405 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:55:04 +00:00
sspitzer%netscape.com
259f08e863 get the newsroot from the account manager.
remove the old #if 0 code


git-svn-id: svn://10.0.0.236/trunk@28404 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:54:40 +00:00
sspitzer%netscape.com
e51435689b changes to parse the accountlist and add each of the accounts.
the accountlist must be delimited by commas


git-svn-id: svn://10.0.0.236/trunk@28403 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:52:21 +00:00
sspitzer%netscape.com
fedcec9336 incoming nntp server work
git-svn-id: svn://10.0.0.236/trunk@28402 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:48:30 +00:00
bienvenu%netscape.com
83452468ad fix double commits and problem loading imap uid
git-svn-id: svn://10.0.0.236/trunk@28401 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:35:19 +00:00
bienvenu%netscape.com
f951bb5ade a little more progress on message fetching
git-svn-id: svn://10.0.0.236/trunk@28400 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:34:57 +00:00
sspitzer%netscape.com
c6128cfec7 fix UNIX build bustage. this won't build with -pendatic
git-svn-id: svn://10.0.0.236/trunk@28399 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:31:02 +00:00
srinivas%netscape.com
ab1833eb21 Use of lstat, instead of stat, causes nsinstall to miss directories pointed to by
symlinks. Bugzilla #4954.


git-svn-id: svn://10.0.0.236/trunk@28398 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:11:53 +00:00
slamm%netscape.com
8cc0b715f9 Removing config.cache from dependencies, because configure does not always update config.cache. (I ended up running configure each time I ran client.mk because configure was newer than config.cache).
git-svn-id: svn://10.0.0.236/trunk@28397 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 02:02:03 +00:00
slamm%netscape.com
fea7b8c4b8 Add environment variable, MOZ_CO_DATE, to set checkout date tag.
git-svn-id: svn://10.0.0.236/trunk@28396 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 01:25:26 +00:00
ramiro%netscape.com
d96c7bbed5 Add yet another windows objdir thing.
git-svn-id: svn://10.0.0.236/trunk@28395 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 01:18:50 +00:00
law%netscape.com
85f187f7d3 Staking claim to some IIDs for app shell componentry
git-svn-id: svn://10.0.0.236/trunk@28394 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 01:15:47 +00:00
briano%netscape.com
6421b4d7d7 Automated update
git-svn-id: svn://10.0.0.236/trunk@28393 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 01:14:38 +00:00
slamm%netscape.com
9ee560cf50 Quickly output makefiles.
git-svn-id: svn://10.0.0.236/trunk@28392 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 01:13:55 +00:00
slamm%netscape.com
b1770592b4 add partial replacement for AC_OUTPUT()
git-svn-id: svn://10.0.0.236/trunk@28391 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 01:11:55 +00:00
bienvenu%netscape.com
ed7b4532d8 add service for getting an imap message
git-svn-id: svn://10.0.0.236/trunk@28390 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:55:58 +00:00
sfraser%netscape.com
ba94d0d311 Implement InstallResources().
git-svn-id: svn://10.0.0.236/trunk@28389 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:37:37 +00:00
hyatt%netscape.com
66dd9dc12a More changes to support window.open()
git-svn-id: svn://10.0.0.236/trunk@28388 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:19:30 +00:00
akkana%netscape.com
03456e51f3 Remove correction subtracting 1 from transferable data length on copy;
tracking rods' change removing bogus extra byte in XIF format converter.


git-svn-id: svn://10.0.0.236/trunk@28387 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:17:12 +00:00
radha%netscape.com
6dc4ae0cf2 Fix for bug # 5276. Flush the buffers after the "Page loaded sucessfully"
message


git-svn-id: svn://10.0.0.236/trunk@28386 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:15:32 +00:00
rods%netscape.com
4b83b4622e Fixed native CF_TEXT copy, to decrement the size by one when it is a null
terminated string. Apps like MS-Word pass back the size including the terminating
zero. This fixes that.


git-svn-id: svn://10.0.0.236/trunk@28385 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:15:08 +00:00
waterson%netscape.com
46cf665824 Bug 4750. Updated RDF_NAMESPACE_URI to refer to the most recent (and final) version of the RDF recommendation.
git-svn-id: svn://10.0.0.236/trunk@28384 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:11:39 +00:00
waterson%netscape.com
ac3722bec7 Bug 4750, 5220. Use correct RDF namespace. Fix incorrect use of RDF prefix on some RDF attributes.
git-svn-id: svn://10.0.0.236/trunk@28383 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:09:41 +00:00
akkana%netscape.com
21da6d4e59 Handle paste when we're already the selection owner
git-svn-id: svn://10.0.0.236/trunk@28382 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:04:53 +00:00
valeski%netscape.com
b7669e476a added more states to .h and implementations to .cpp
git-svn-id: svn://10.0.0.236/trunk@28381 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:04:38 +00:00
rods%netscape.com
57c9e2b2fc Removed the adding of an additional 1 to the length on conversions.
git-svn-id: svn://10.0.0.236/trunk@28380 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:03:01 +00:00
akkana%netscape.com
2c4e459b50 Fix crash on second paste -- don't free our own memory, rely on transferable to do it
git-svn-id: svn://10.0.0.236/trunk@28379 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:54:54 +00:00
mcmullen%netscape.com
67e22c937a Not in build
git-svn-id: svn://10.0.0.236/trunk@28378 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:53:32 +00:00
davidmc%netscape.com
78be598983 also permit zero scope to be okay as column scope for value oids
inside metainfo cells.


git-svn-id: svn://10.0.0.236/trunk@28377 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:52:38 +00:00
davidmc%netscape.com
2ce3c9fab5 also turn on assertions for Mac
git-svn-id: svn://10.0.0.236/trunk@28376 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:51:57 +00:00
davidmc%netscape.com
bf236be73b append ":c" suffix to table kind hex refs so that column space
is used for the atom instead of the value space.


git-svn-id: svn://10.0.0.236/trunk@28375 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:51:31 +00:00
davidmc%netscape.com
d2e60ffe1c change Mork file format version number to 1.3 to protect folks
from badly formed files created during last day due to incorrect
table kind hex refs in Mork.


git-svn-id: svn://10.0.0.236/trunk@28374 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:50:46 +00:00
nhotta%netscape.com
09e53a8acc Backing out my last change, I need to do NULL checkings for parameters.
git-svn-id: svn://10.0.0.236/trunk@28373 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:48:21 +00:00
mscott%netscape.com
851f1890b8 for nsMsgLineStreamBuffer, let caller choose if they want CRLFs at the end of the new lines or not.
git-svn-id: svn://10.0.0.236/trunk@28372 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:44:34 +00:00
mscott%netscape.com
d7a8ab50a9 Make sure the line buffer stream leaves CRLFs on for us when extracting new lines.
git-svn-id: svn://10.0.0.236/trunk@28371 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:43:39 +00:00
radha%netscape.com
20ba436cf3 No need to obtain the url to be loaded here. BrowserAppcore does that
when loading the initial page


git-svn-id: svn://10.0.0.236/trunk@28370 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:36:07 +00:00
radha%netscape.com
69840277e6 Remove previous changes related to forward and back button
git-svn-id: svn://10.0.0.236/trunk@28369 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:35:33 +00:00
radha%netscape.com
671c3e06e9 Use the CanGoForward and CanGoBack broadcasters to enable/disable the
forward&back button


git-svn-id: svn://10.0.0.236/trunk@28368 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:35:11 +00:00
radha%netscape.com
1ee79cbacd 1. Added a new utility method to obtain handle to a xul element from its name.
2. Implement the LoadInitialPage so that when -url argument is passed, the
   url passed will be loaded after the navigator.xul is loaded. This method
   can be later used to load the home page from prefs
3. Use the CanGoForward and CanGoBack broadcasters to set the forward and back button
VS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@28367 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:33:57 +00:00
mscott%netscape.com
6596e5042f Update the idl file.
git-svn-id: svn://10.0.0.236/trunk@28366 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:33:19 +00:00
hyatt%netscape.com
c40015a5b2 Forgot to commit a file.
git-svn-id: svn://10.0.0.236/trunk@28365 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:32:43 +00:00
radha%netscape.com
dde12781d6 New method LoadInitialPage() added and reflected to javascript
git-svn-id: svn://10.0.0.236/trunk@28364 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:31:28 +00:00
radha%netscape.com
d304a781ad New method LoadInitialPage() added
git-svn-id: svn://10.0.0.236/trunk@28363 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:30:53 +00:00
mscott%netscape.com
eab01ac86a remove linkage against xplib.
git-svn-id: svn://10.0.0.236/trunk@28362 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:30:42 +00:00
mscott%netscape.com
473c648459 Pull out the mailbox service code for displaying and copying a message. Replace it with code that uses the new nsIMsgMessageService. In addition, we are no longer going to support message display from the demos menu. It is no longer necessary as we can display messages by selecting them on the thread pane.
git-svn-id: svn://10.0.0.236/trunk@28361 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:30:04 +00:00
mscott%netscape.com
eb454612ca Register the new nsMsgMessageService which is supported by the mailbox service. Add progids for both the mailbox version of the message service and for the mailbox service.
git-svn-id: svn://10.0.0.236/trunk@28360 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:28:42 +00:00
mscott%netscape.com
5a58b2e9c3 Add Queryinterface method such that it includes nsIMsgMessageService which is a new interface this class supports.
git-svn-id: svn://10.0.0.236/trunk@28359 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:27:32 +00:00
mscott%netscape.com
4d5e33837b Inherit the new nsIMsgMessageService interface.
git-svn-id: svn://10.0.0.236/trunk@28358 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:26:37 +00:00
mscott%netscape.com
affc452828 Remove Copy and display messages from mailbox service interface.
git-svn-id: svn://10.0.0.236/trunk@28357 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:25:59 +00:00
mscott%netscape.com
fea8f83302 Export nsIMsgMessageService.h
git-svn-id: svn://10.0.0.236/trunk@28356 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:19:40 +00:00
mscott%netscape.com
4004635f1c Rev the interface...
git-svn-id: svn://10.0.0.236/trunk@28355 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:19:11 +00:00
mcmullen%netscape.com
b61b785924 This is still not in the build yet.
git-svn-id: svn://10.0.0.236/trunk@28354 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:18:44 +00:00
alecf%netscape.com
8193fe507a maybe HPUX is defined on HPUX?
git-svn-id: svn://10.0.0.236/trunk@28353 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:18:22 +00:00
kipp%netscape.com
28d76e7068 Fixed bug #5192 by growing the trapezoid buffer as needed
git-svn-id: svn://10.0.0.236/trunk@28352 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:08:03 +00:00
matt%netscape.com
85dc3cf941 Changing pref window to be 50px larger
git-svn-id: svn://10.0.0.236/trunk@28351 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:03:14 +00:00
matt%netscape.com
1eeefda066 Adding makefile for prefs panes to be placed in samples
git-svn-id: svn://10.0.0.236/trunk@28350 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:02:22 +00:00
saari%netscape.com
1c6e3b9258 fix bug #3379
git-svn-id: svn://10.0.0.236/trunk@28349 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:02:16 +00:00
matt%netscape.com
b7b3052096 Adding prefs panes to cvs and the build. Added files along with changed
makefile.in for building on mac


git-svn-id: svn://10.0.0.236/trunk@28348 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:00:48 +00:00
sfraser%netscape.com
f6a7ccd434 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28347 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:51:57 +00:00
alecf%netscape.com
117da2303e fix newline-at-end-of-file problem
git-svn-id: svn://10.0.0.236/trunk@28346 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:50:08 +00:00
alecf%netscape.com
f09bb6a4d9 change nsIEnumerators to nsISupportsArrays and implement some of the getIdentities() getServers() etc
git-svn-id: svn://10.0.0.236/trunk@28345 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:48:32 +00:00
alecf%netscape.com
a24d2ed06c add accessor for getting the account manager from the mail session
git-svn-id: svn://10.0.0.236/trunk@28344 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:43:04 +00:00
saari%netscape.com
670af429e0 Mods for menu enabling and disabling.
git-svn-id: svn://10.0.0.236/trunk@28343 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:41:44 +00:00
akkana%netscape.com
4af34a017c Make Linux paste work
git-svn-id: svn://10.0.0.236/trunk@28342 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:40:53 +00:00
sfraser%netscape.com
09752d8475 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28341 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:38:29 +00:00
sfraser%netscape.com
8dad63c137 Added dialogs.css to makefiles
git-svn-id: svn://10.0.0.236/trunk@28340 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:37:15 +00:00
hyatt%netscape.com
ce21f46014 window.open lives.
git-svn-id: svn://10.0.0.236/trunk@28339 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:35:11 +00:00
putterman%netscape.com
031afe99c9 Moved folder listener code from local to base.
git-svn-id: svn://10.0.0.236/trunk@28338 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:24:21 +00:00
sfraser%netscape.com
16a0a7ba72 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28337 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:24:20 +00:00
amusil%netscape.com
32b82cd775 The number of variants should always start at 1.
git-svn-id: svn://10.0.0.236/trunk@28336 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:22:02 +00:00
amusil%netscape.com
877fa6ac98 Patch for HP-UX specific problem.
git-svn-id: svn://10.0.0.236/trunk@28335 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:21:25 +00:00
rjc%netscape.com
beaab15218 If a sort isn't initially imposed, just append new nodes onto end of container's child list.
git-svn-id: svn://10.0.0.236/trunk@28334 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:14:38 +00:00
davidmc%netscape.com
5c99d5d6db replace tabs with (Mork canonical) two spaces
git-svn-id: svn://10.0.0.236/trunk@28333 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:14:35 +00:00
troy%netscape.com
509881652e Changed GetAbsoluteContainingBlock() to return relatively positioned
block-level and inline-level elements as well


git-svn-id: svn://10.0.0.236/trunk@28332 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:08:33 +00:00
buster%netscape.com
cbaf88c3e7 more factoring
git-svn-id: svn://10.0.0.236/trunk@28331 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:02:02 +00:00
pinkerton%netscape.com
cd37a14c5a create xul slider, spinner, scrollbar, font and color pickers
git-svn-id: svn://10.0.0.236/trunk@28330 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:57:41 +00:00
kin%netscape.com
9b188bf62f Commented out debugging printfs and added HAVE_EDIT_ACTION_LISTENERS ifdef
to fix build bustage.


git-svn-id: svn://10.0.0.236/trunk@28329 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:54:10 +00:00
kipp%netscape.com
0a4bbc01a8 Tweaked FindLineContaining to return the index in the line where the frame is found
git-svn-id: svn://10.0.0.236/trunk@28328 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:52:22 +00:00
kipp%netscape.com
f532632600 Removed debris
git-svn-id: svn://10.0.0.236/trunk@28327 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:51:56 +00:00
troy%netscape.com
16d711311d Changed GetAbsoluteContainingBlock() to be a little smarter about verifying
the frame is an area frame


git-svn-id: svn://10.0.0.236/trunk@28326 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:51:55 +00:00
kipp%netscape.com
725229caa6 Fixed up insertion code to support inserting blocks; tweaked FirstChild impl to work better; removed some no longer needed code
git-svn-id: svn://10.0.0.236/trunk@28325 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:51:39 +00:00
mscott%netscape.com
f0243ec551 Export nsIMsgMessageService.h
git-svn-id: svn://10.0.0.236/trunk@28324 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:50:51 +00:00
kipp%netscape.com
c0286fde3d Fixed bug where image loading during stopped state would not properly set the out parameter
git-svn-id: svn://10.0.0.236/trunk@28323 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:50:32 +00:00
pinkerton%netscape.com
78e37ea342 new atoms for slider, spinner, scrollbar, color and font pickers.
git-svn-id: svn://10.0.0.236/trunk@28322 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:50:11 +00:00
kipp%netscape.com
3687700b99 Added (disabled) refcnt logging
git-svn-id: svn://10.0.0.236/trunk@28321 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:49:53 +00:00
mscott%netscape.com
e401b891e5 An interface designed to organize all message related operations such as copying and displaying messages under one umbrella. Each of our protocol services (imap, pop, news) will support this interface for message actions.
git-svn-id: svn://10.0.0.236/trunk@28320 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:49:21 +00:00
pinkerton%netscape.com
0d91137e10 adding slider, scrollbar, spinner, font and color pickers to build.
git-svn-id: svn://10.0.0.236/trunk@28319 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:45:35 +00:00
av%netscape.com
c2369f117e Turning on previous changes
git-svn-id: svn://10.0.0.236/trunk@28318 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:45:26 +00:00
pinkerton%netscape.com
50da92a6f2 make a slider, not a spinner. doh!
git-svn-id: svn://10.0.0.236/trunk@28317 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:43:09 +00:00
mcmullen%netscape.com
be99c744a7 Fix busted debug build by adding TextEditorTest.cpp. Somebody else should fix this properly. Grrr.
git-svn-id: svn://10.0.0.236/trunk@28316 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:41:02 +00:00
jfrancis%netscape.com
bb247a8e43 File Removed.
git-svn-id: svn://10.0.0.236/trunk@28315 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:40:48 +00:00
jfrancis%netscape.com
d2db233f64 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28314 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:39:53 +00:00
pinkerton%netscape.com
291884adaa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28313 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:39:52 +00:00
syd%netscape.com
1d3c0b607f For Unix only (Gtk+): make the default rendering mode Gfx. The Gtk+
implementation is buggy, and we'll eventually be going in this direction anyway
of using gfx to render controls. Need to take out this #ifdef eventually for
Win and Mac.

To enable the native widgets, edit ~/.mozilla/prefs50.js, and add the line
user_pref("nglayout.widget.mode", 1);.


git-svn-id: svn://10.0.0.236/trunk@28312 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:34:34 +00:00
nhotta%netscape.com
64e624d546 I18n 7 bit data check for the body.
git-svn-id: svn://10.0.0.236/trunk@28311 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:22:54 +00:00
nhotta%netscape.com
501710d390 Changed to use UTF-8 for internal processing.
git-svn-id: svn://10.0.0.236/trunk@28310 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:20:28 +00:00
av%netscape.com
66cbbedcb3 Added width and height attributes for images
git-svn-id: svn://10.0.0.236/trunk@28309 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:07:26 +00:00
sfraser%netscape.com
c4f2a27153 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28308 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:48:46 +00:00
davidmc%netscape.com
ebeffecaed continue long values using \linebreak notation; this is done
in conjunction with a change to morkParser::ReadValue()
which will correctly interpret this notation.  Note this is
technically a format change in the sense that old versions
of Mork will not read such line continuations correctly; but
the change is forward compatible so folks should not notice.


git-svn-id: svn://10.0.0.236/trunk@28307 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:33:56 +00:00
amusil%netscape.com
2c38e95f5d Win32 compiler doesn't like var dec inside for loop dec
git-svn-id: svn://10.0.0.236/trunk@28306 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:32:06 +00:00
davidmc%netscape.com
107c34982d fix morkParser::ReadValue() so that CR or LF following '\'
is consumed as a line continuation, rather than escaping the
byte after '\'; this is now done in conjunction with changing
morkWriter to continue long values with \linebreak.


git-svn-id: svn://10.0.0.236/trunk@28305 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:31:36 +00:00
varada%netscape.com
b2c91bd4b4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@28304 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:29:43 +00:00
rjc%netscape.com
ed29c75c50 Return names of FTP URLs.
git-svn-id: svn://10.0.0.236/trunk@28303 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:28:57 +00:00
rjc%netscape.com
b2d072c3d3 When a sort order is imposed, try and insert new node(s) in the appropriate spot.
git-svn-id: svn://10.0.0.236/trunk@28302 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:26:13 +00:00
norris%netscape.com
632b9118f6 Forgot to add Messages.properties.
git-svn-id: svn://10.0.0.236/trunk@28301 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:21:55 +00:00
sspitzer%netscape.com
b6cac213b9 added mailnews/mime/emitters/resources/Makefile to the list
git-svn-id: svn://10.0.0.236/trunk@28300 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:21:25 +00:00
sspitzer%netscape.com
75125e2289 ignore the generated Makefile on UNIX
git-svn-id: svn://10.0.0.236/trunk@28299 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:17:04 +00:00
sspitzer%netscape.com
2bb1026ed6 moving this to Makefile.in
git-svn-id: svn://10.0.0.236/trunk@28298 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:16:38 +00:00
sspitzer%netscape.com
7d9b36120d moved makefile.in to Makefile.in
git-svn-id: svn://10.0.0.236/trunk@28297 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:13:02 +00:00
putterman%netscape.com
99b1555c1d Fixed Windows build.
git-svn-id: svn://10.0.0.236/trunk@28296 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:03:40 +00:00
troy%netscape.com
56f46f1d15 Changed CreateContinuingFrame() to know about positioned inline
frames


git-svn-id: svn://10.0.0.236/trunk@28295 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:00:52 +00:00
davidmc%netscape.com
743f6cb931 several whitespace and content writing changes that do not
change the format; write table kind as hex reference because
this shortens overhead for small thread tables; suppress newline
for table meta row, because this tends to put thread tables on one
line when they have few rows; delay starting dict preceding table
as long as possible, so that no dict appears at all when no new alias
is written, because this also reduces per thread table overhead.


git-svn-id: svn://10.0.0.236/trunk@28294 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:58:16 +00:00
davidmc%netscape.com
043c5a16f9 increase kMaxIndent to 66 for better formatting;
add boolean to suppress dirty row newline for table's meta row
(because this more often causes a one line thread with few rows)


git-svn-id: svn://10.0.0.236/trunk@28293 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:55:08 +00:00
beard%netscape.com
6007b4f24b implementing GetMimeTypes(), GetPlugins() in terms of MimeTypeArrayImpl, PluginArrayImpl.
git-svn-id: svn://10.0.0.236/trunk@28292 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:41:17 +00:00
beard%netscape.com
dcd2a60fed added nsPluginArray.cpp, nsMimeTypeArray.cpp.
git-svn-id: svn://10.0.0.236/trunk@28291 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:38:54 +00:00
mcmullen%netscape.com
c0a796a5c4 Oops.
git-svn-id: svn://10.0.0.236/trunk@28290 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:31:11 +00:00
pnunn%netscape.com
165d18e752 replaced ++ comments. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28289 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:30:33 +00:00
valeski%netscape.com
0ba5a6f451 added more states in .h . added their logic in .cpp. Initial command channel (logging in) negotiation is almost complete, next comes the data channel.
git-svn-id: svn://10.0.0.236/trunk@28288 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:30:21 +00:00
beard%netscape.com
7011bdb5a7 Added GetPluginCount, and GetPlugins, for DOM support
git-svn-id: svn://10.0.0.236/trunk@28287 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:29:28 +00:00
cyeh%netscape.com
973fcf0533 fix build number again after hyatt whacked out the line.
please diff your changes to navigator.xul before committing them.
this file is both critical and fragile.


git-svn-id: svn://10.0.0.236/trunk@28286 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:25:50 +00:00
sspitzer%netscape.com
c5b2b4d537 adding Makefile to the ignore list
git-svn-id: svn://10.0.0.236/trunk@28285 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:25:21 +00:00
beard%netscape.com
811c832c9a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28284 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:18:51 +00:00
troy%netscape.com
a6d186c6df Added GetFrameType() member function
git-svn-id: svn://10.0.0.236/trunk@28283 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:11:37 +00:00
sspitzer%netscape.com
492769e6de more changes to get news in the folder pane
git-svn-id: svn://10.0.0.236/trunk@28282 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:10:43 +00:00
mcmullen%netscape.com
7a5c8880e7 Correct a problem my last change to GetParent() introduced.
git-svn-id: svn://10.0.0.236/trunk@28281 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:09:22 +00:00
sspitzer%netscape.com
30a1fc3e1e changes to get news in the folder pane
git-svn-id: svn://10.0.0.236/trunk@28280 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:08:10 +00:00
jdunn%netscape.com
8eddea5858 Fix unix native compiler error: can't find libraries. TK_LIBS include both
the libraries and where to get them.


git-svn-id: svn://10.0.0.236/trunk@28279 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:03:53 +00:00
mccabe%netscape.com
fb5b086de4 Fixed erroneous comment.
Thanks to David Gardiner <david.gardiner@unisa.edu.au> for catching this.


git-svn-id: svn://10.0.0.236/trunk@28278 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:02:40 +00:00
pnunn%netscape.com
6a2abd3c9c took out oo style comments. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28277 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:51:20 +00:00
bienvenu%netscape.com
51844d003c start working on more services, especially the url creation part of the services
git-svn-id: svn://10.0.0.236/trunk@28276 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:50:12 +00:00
ducarroz%netscape.com
e71994af61 updated mac project, added nsMsgRDFUtils.cpp
git-svn-id: svn://10.0.0.236/trunk@28275 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:42:04 +00:00
ducarroz%netscape.com
3c98c46b00 File moved into mime/emitters/resources
git-svn-id: svn://10.0.0.236/trunk@28274 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:32:32 +00:00
ducarroz%netscape.com
96242ceec8 add folder resources
git-svn-id: svn://10.0.0.236/trunk@28273 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:31:20 +00:00
ducarroz%netscape.com
09386eb820 Moved css files to mime/emitters/resources
git-svn-id: svn://10.0.0.236/trunk@28272 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:30:45 +00:00
troy%netscape.com
7f6a7e41de Added positionedInlineFrame atom
git-svn-id: svn://10.0.0.236/trunk@28271 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:27:37 +00:00
ducarroz%netscape.com
c2df05752a Initial check in
git-svn-id: svn://10.0.0.236/trunk@28270 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:24:39 +00:00
pnunn%netscape.com
f5a980777d created. place holder. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28269 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:24:24 +00:00
ducarroz%netscape.com
9b61afc69e File moved from mozilla/mailnews/mime/emitters/xml
git-svn-id: svn://10.0.0.236/trunk@28268 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:24:05 +00:00
troy%netscape.com
90c7dac3b6 Atom name changes
git-svn-id: svn://10.0.0.236/trunk@28267 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:23:13 +00:00
troy%netscape.com
4150f3c6c0 Moved blockFrame and inlineFrame atoms to nsLayoutAtoms
git-svn-id: svn://10.0.0.236/trunk@28266 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:22:47 +00:00
troy%netscape.com
90360929e5 Change to atoms
git-svn-id: svn://10.0.0.236/trunk@28265 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:22:28 +00:00
troy%netscape.com
80017eabc9 Added blockFrame and inlineFrame
git-svn-id: svn://10.0.0.236/trunk@28264 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:20:52 +00:00
putterman%netscape.com
794d62c4df Added a couple of utility files for our RDF datasources with functions and declarations
that can be used by all.


git-svn-id: svn://10.0.0.236/trunk@28263 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:15:16 +00:00
rods%netscape.com
127b7e435a removed some commented out code
git-svn-id: svn://10.0.0.236/trunk@28262 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:11:07 +00:00
rods%netscape.com
d7a02c8f4f changed the kTextMime from "text/txt" to "text/plain"
git-svn-id: svn://10.0.0.236/trunk@28261 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:09:23 +00:00
mcafee%netscape.com
d8014f31ae Replacing hard-coded string with named constant (kTextMime).
git-svn-id: svn://10.0.0.236/trunk@28260 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 18:02:16 +00:00
kin%netscape.com
2d6a9d63c0 Some changes to keep the offset table in sync with editor changes to the DOM.
git-svn-id: svn://10.0.0.236/trunk@28259 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:59:19 +00:00
kin%netscape.com
6716e0e873 Added nsTSDNotifier.cpp to build list.
git-svn-id: svn://10.0.0.236/trunk@28258 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:57:48 +00:00
kin%netscape.com
b19aa63316 Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@28257 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:57:20 +00:00
jfrancis%netscape.com
a798763501 fixing access path
git-svn-id: svn://10.0.0.236/trunk@28256 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:55:09 +00:00
jfrancis%netscape.com
eb8320e3ee First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28255 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:53:46 +00:00
kin%netscape.com
c59c76af5b Added nsIEditActionListener.h to list of exported headers.
git-svn-id: svn://10.0.0.236/trunk@28254 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:51:26 +00:00
buster%netscape.com
4c4348419d preliminary work for applying block transformations to content.
git-svn-id: svn://10.0.0.236/trunk@28253 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:50:56 +00:00
buster%netscape.com
0af3b54f63 factoring of text property code for reuse.
extended APIs to handle fonts -- the trick here is to allow attributes and values
to effectively describe independent properties.


git-svn-id: svn://10.0.0.236/trunk@28252 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:49:34 +00:00
buster%netscape.com
3528936793 preliminary work for applying block transformations to content. works for simple selections.
remove block parent not yet implemented.


git-svn-id: svn://10.0.0.236/trunk@28251 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:47:12 +00:00
rods%netscape.com
443ed15b93 removed files
git-svn-id: svn://10.0.0.236/trunk@28250 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:44:55 +00:00
kin%netscape.com
34fc14004a Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@28249 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:44:44 +00:00
bruce%cybersight.com
e999ded17f Fix for unix, look for right library.
git-svn-id: svn://10.0.0.236/trunk@28248 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:43:36 +00:00
buster%netscape.com
26494bf503 added tests for fonts and block transformations
git-svn-id: svn://10.0.0.236/trunk@28247 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:43:26 +00:00
buster%netscape.com
c230df0710 added atoms for H1 and H2
git-svn-id: svn://10.0.0.236/trunk@28246 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:42:07 +00:00
buster%netscape.com
5649bb420a fix warning
git-svn-id: svn://10.0.0.236/trunk@28245 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:41:00 +00:00
buster%netscape.com
9a19651f6b allow delete of a node that is not in the document tree. This is a no-op.
git-svn-id: svn://10.0.0.236/trunk@28244 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:40:15 +00:00
buster%netscape.com
9d9d079eda *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@28243 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:39:23 +00:00
rods%netscape.com
d158014b17 removing code
git-svn-id: svn://10.0.0.236/trunk@28242 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 17:39:11 +00:00
terry%netscape.com
0fdb7092bc Don't choke on really big URLs.
git-svn-id: svn://10.0.0.236/trunk@28241 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 16:19:44 +00:00
neeti%netscape.com
0b3a16550f implemented wrapper funtions to make GetObserverList private.
git-svn-id: svn://10.0.0.236/trunk@28240 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 14:50:47 +00:00
peterl%netscape.com
f8478bdebf tweaks to style change handling to ensure that children are handled when parent doesn't change...
git-svn-id: svn://10.0.0.236/trunk@28239 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 14:23:18 +00:00
peterl%netscape.com
0f32a23cab turned off style rule hash debugging code
git-svn-id: svn://10.0.0.236/trunk@28238 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 14:22:37 +00:00
dcone%netscape.com
264181100c Implemented the DrawPolyline method.
git-svn-id: svn://10.0.0.236/trunk@28237 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 13:36:11 +00:00
rpotts%netscape.com
c6dee69f6f Added some error checking...
git-svn-id: svn://10.0.0.236/trunk@28236 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 08:01:31 +00:00
rickg%netscape.com
31f3bd354e added new optional define for nsString2
git-svn-id: svn://10.0.0.236/trunk@28235 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 07:24:42 +00:00
rickg%netscape.com
2dd2265b49 sync with nsString2 API
git-svn-id: svn://10.0.0.236/trunk@28234 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 07:20:21 +00:00
rickg%netscape.com
f52e76c321 sync with new string2 API
git-svn-id: svn://10.0.0.236/trunk@28233 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 07:12:47 +00:00
bruce%cybersight.com
6b05bb377c Fix library name. Still coredumps on execution.
git-svn-id: svn://10.0.0.236/trunk@28232 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 05:36:36 +00:00
troy%netscape.com
703d3a25d6 Commented out code in GetAdditionalChildListName() that checked whether
there was a bullet and conditionally nsLayoutAtoms::bulletList because
that change broke absolute positioning (area frame depends on the index
numbers)


git-svn-id: svn://10.0.0.236/trunk@28231 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 05:03:29 +00:00
bienvenu%netscape.com
f48232f93a check for null mdb row in folder info
git-svn-id: svn://10.0.0.236/trunk@28230 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 05:00:30 +00:00
bienvenu%netscape.com
345edce149 get imap folder server flags set in database
git-svn-id: svn://10.0.0.236/trunk@28229 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:59:33 +00:00
warren%netscape.com
fc5071b5c7 Added missing out param to GetHeader. Started making GET request async.
git-svn-id: svn://10.0.0.236/trunk@28228 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:48:51 +00:00
rickg%netscape.com
dbf5cae69f update to sync with string2 API
git-svn-id: svn://10.0.0.236/trunk@28227 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:46:55 +00:00
rpotts%netscape.com
f1c622f389 correctly set the status argument on the OnStopBinding(...) call.
git-svn-id: svn://10.0.0.236/trunk@28226 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:31:52 +00:00
pierre%netscape.com
38e23d0391 expands the width and height independently from each other in GetDrawingSurface
git-svn-id: svn://10.0.0.236/trunk@28225 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:03:25 +00:00
pierre%netscape.com
b3bb9a5576 removed spurious pairs of StartDraw/EndDraw
git-svn-id: svn://10.0.0.236/trunk@28224 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:03:10 +00:00
pierre%netscape.com
0b2d63a6c6 fixed some spurious redraws
git-svn-id: svn://10.0.0.236/trunk@28223 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:02:53 +00:00
pierre%netscape.com
60ba05a999 restore the GrafPort origin on mouseEvents
git-svn-id: svn://10.0.0.236/trunk@28222 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:02:35 +00:00
pierre%netscape.com
f9bcde47e2 moved string utilities from nsWindow to nsMacControl
git-svn-id: svn://10.0.0.236/trunk@28221 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:02:20 +00:00
pierre%netscape.com
62d36ed7de use eBorderStyle_window instead of eBorderStyle_dialog as part of #4780
git-svn-id: svn://10.0.0.236/trunk@28220 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:01:43 +00:00
pierre%netscape.com
d83a082679 fixed some XPCOM issues (removed spurious nsISupport stuff)
git-svn-id: svn://10.0.0.236/trunk@28219 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:00:53 +00:00
pierre%netscape.com
6a1a7a5247 fixed some XPCOM issues (removed spurious nsISupport stuff) / fixed #4780 "[BLOCKER] Mac Borderless top-level windows"
git-svn-id: svn://10.0.0.236/trunk@28218 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 04:00:40 +00:00
pierre%netscape.com
1243811555 removed the NS_IWINDOW_IID hack / use eBorderStyle_window instead of eBorderStyle_dialog as part of #4780
git-svn-id: svn://10.0.0.236/trunk@28217 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 03:58:42 +00:00
pierre%netscape.com
e0241e6182 removed the NS_IWINDOW_IID hack
git-svn-id: svn://10.0.0.236/trunk@28216 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 03:58:29 +00:00
troy%netscape.com
b136b67d70 Part of a fix for bug #5264. CantRenderReplacedElement() no longer asserts for
INPUT elements


git-svn-id: svn://10.0.0.236/trunk@28215 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 03:57:01 +00:00
pierre%netscape.com
752e578269 added nsChildWindow.cpp
git-svn-id: svn://10.0.0.236/trunk@28214 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 03:56:45 +00:00
pierre%netscape.com
7d129ca9fd First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28213 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 03:56:24 +00:00
kipp%netscape.com
9d89c1d838 Work around append frames bug (by breaking insert!) for now; added some asserts hither and yon to help prevent furthur regressions like this
git-svn-id: svn://10.0.0.236/trunk@28212 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 03:42:32 +00:00
bruce%cybersight.com
8fc586c52e Add blank lines at end of files for native compilers.
git-svn-id: svn://10.0.0.236/trunk@28211 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 03:40:17 +00:00
troy%netscape.com
5e748a8e7d Fix for the layout crash in bug #5263
git-svn-id: svn://10.0.0.236/trunk@28210 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 02:51:07 +00:00
akkana%netscape.com
daef51892f Fix copy code in nsClipboard
git-svn-id: svn://10.0.0.236/trunk@28209 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 02:12:30 +00:00
ducarroz%netscape.com
fccc1cc5dc update project files, removed nsMsgFolderDataSource.cpp (now in msgCore.mcp)
git-svn-id: svn://10.0.0.236/trunk@28208 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 02:00:04 +00:00
ducarroz%netscape.com
e4222c6a4e updated mac project, added nsMsgFolderDataSource.cpp & nsMsgMessageDataSource.cpp
git-svn-id: svn://10.0.0.236/trunk@28207 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:59:14 +00:00
hyatt%netscape.com
db440b65ce Changes so that content shells added underneath chrome shells cause
a notification to be fired to the chrome shell.


git-svn-id: svn://10.0.0.236/trunk@28206 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:56:07 +00:00
kipp%netscape.com
ae38abe477 Work around windoze compiler lossage
git-svn-id: svn://10.0.0.236/trunk@28205 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:53:28 +00:00
hyatt%netscape.com
45973aa836 Added a new method so that the web shell window gets notified when new web
shells are added to its hierarchy.


git-svn-id: svn://10.0.0.236/trunk@28204 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:51:37 +00:00
hyatt%netscape.com
77e6145552 Added a method to webshell so that a root container can find out when
new webshells are added to its hierarchy.


git-svn-id: svn://10.0.0.236/trunk@28203 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:50:03 +00:00
kipp%netscape.com
c8c179e2a5 Make build work on mac
git-svn-id: svn://10.0.0.236/trunk@28202 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:49:51 +00:00
saari%netscape.com
917def8e97 fixing menu bug
git-svn-id: svn://10.0.0.236/trunk@28201 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:18:55 +00:00
putterman%netscape.com
172bf85a44 Split datasources into message and folder datasources and moved them to base.
git-svn-id: svn://10.0.0.236/trunk@28200 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:11:11 +00:00
putterman%netscape.com
10a5e379e1 Split datasources into message and folder datasources and moved them to base.
Removed this file.


git-svn-id: svn://10.0.0.236/trunk@28199 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:10:44 +00:00
putterman%netscape.com
c674286bda Split datasources into message and folder datasources and moved them to base.
Removed these files.


git-svn-id: svn://10.0.0.236/trunk@28198 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:10:21 +00:00
mcmullen%netscape.com
076618294d Build base before libpref.
git-svn-id: svn://10.0.0.236/trunk@28197 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:09:35 +00:00
putterman%netscape.com
1b1ce30ddb Split datasources into message and folder datasources and moved them to base.
Added these files.


git-svn-id: svn://10.0.0.236/trunk@28196 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:08:51 +00:00
mcmullen%netscape.com
b09e0e5370 Added base.shlb (or baseDebug.shlb) to the libs list, in preparation for coming changes.
git-svn-id: svn://10.0.0.236/trunk@28195 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:08:48 +00:00
sfraser%netscape.com
66757df09d Added text services to MANIFEST list
git-svn-id: svn://10.0.0.236/trunk@28194 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:03:20 +00:00
mscott%netscape.com
3849dcd442 Temporary fix until mcmullen updates some back end prefs code. We need to manually specify the pref file to use. We can't get at the profile information so look in the current directory.
git-svn-id: svn://10.0.0.236/trunk@28193 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 01:01:21 +00:00
pierre%netscape.com
0e80e64eec #5296: store registry.rdf only (instead of the whole content of chrome/build) in dist/chrome
git-svn-id: svn://10.0.0.236/trunk@28192 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:45:37 +00:00
mscott%netscape.com
42ebf48746 Temporary fix until mcmullen updates some back end prefs code. We need to manually specify the pref file to use. We can't get at the profile information so look in the current directory.
git-svn-id: svn://10.0.0.236/trunk@28191 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:43:23 +00:00
pierre%netscape.com
6c12d20b59 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28190 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:43:15 +00:00
pinkerton%netscape.com
63cba9fbc4 add src temporarily to access paths for pnunn.
git-svn-id: svn://10.0.0.236/trunk@28189 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:34:54 +00:00
kipp%netscape.com
202ac53a50 Added -moz-line-frame for first-line support
git-svn-id: svn://10.0.0.236/trunk@28188 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:29:48 +00:00
kipp%netscape.com
d8e793f4ff Create continuing line frames
git-svn-id: svn://10.0.0.236/trunk@28187 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:28:58 +00:00
kipp%netscape.com
49227cd8d6 Support first-line style
git-svn-id: svn://10.0.0.236/trunk@28186 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:28:40 +00:00
kipp%netscape.com
2fe859b76d Implement first-line support; update some api's to use nsIPresContext*'s instead of nsIpresContext&'s
git-svn-id: svn://10.0.0.236/trunk@28185 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:27:43 +00:00
kipp%netscape.com
0c99a9c058 Switch to nsIPresContext*'s instead of nsIPresContext&'s
git-svn-id: svn://10.0.0.236/trunk@28184 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:27:08 +00:00
kipp%netscape.com
8eb0330b2f removed dead comment info
git-svn-id: svn://10.0.0.236/trunk@28183 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:26:47 +00:00
kipp%netscape.com
731a45397d Updated to new nsIHTMLReflow method signatures
git-svn-id: svn://10.0.0.236/trunk@28182 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:26:32 +00:00
kipp%netscape.com
744290f56e Added lineFrame
git-svn-id: svn://10.0.0.236/trunk@28181 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:26:09 +00:00
kipp%netscape.com
397c319081 Added NewFIrstLineFrame
git-svn-id: svn://10.0.0.236/trunk@28180 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:25:48 +00:00
kipp%netscape.com
bf515350ed Updated args to use ptrs instead of refs
git-svn-id: svn://10.0.0.236/trunk@28179 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:25:34 +00:00
kipp%netscape.com
3218228deb Added nsFirstLineFrame subclass; move class decl out to header file
git-svn-id: svn://10.0.0.236/trunk@28178 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:25:12 +00:00
kipp%netscape.com
f297e61c52 Renamed header file
git-svn-id: svn://10.0.0.236/trunk@28177 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:24:32 +00:00
kipp%netscape.com
a2bc935868 Tweaked verify-reflow implementation
git-svn-id: svn://10.0.0.236/trunk@28176 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:24:21 +00:00
kipp%netscape.com
02a81bf0fd Eliminate a bunch of warnings
git-svn-id: svn://10.0.0.236/trunk@28175 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:23:33 +00:00
kipp%netscape.com
8f3e69f4bd nuked
git-svn-id: svn://10.0.0.236/trunk@28174 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:23:13 +00:00
kipp%netscape.com
53b7382b01 new
git-svn-id: svn://10.0.0.236/trunk@28173 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:23:05 +00:00
kipp%netscape.com
f1b35a08cf Added first line support methods
git-svn-id: svn://10.0.0.236/trunk@28172 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:22:58 +00:00
peterl%netscape.com
d085d1d362 removed bogus :active rule...
git-svn-id: svn://10.0.0.236/trunk@28171 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:13:25 +00:00
sspitzer%netscape.com
6bba535712 this call to GetFileLocation() is not needed.
we were calling it so that as a side effect, it would set the global profile
and prefs dir, but we don't need to do this.  We are already calling it
directly before we get here.

other changes to move #ifdef to the first column (follow convention) and to
get rid of four warings,


git-svn-id: svn://10.0.0.236/trunk@28170 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:12:57 +00:00
peterl%netscape.com
9679f83b55 sync to new state change api
git-svn-id: svn://10.0.0.236/trunk@28169 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:06:58 +00:00
peterl%netscape.com
9f663889ee added tests for state dependent style
git-svn-id: svn://10.0.0.236/trunk@28168 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:05:54 +00:00
peterl%netscape.com
b23244a4ab widened state change api
added test for state dependent style


git-svn-id: svn://10.0.0.236/trunk@28167 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:05:14 +00:00
mcmullen%netscape.com
3590e04baa Build base before libpref.
git-svn-id: svn://10.0.0.236/trunk@28166 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:04:46 +00:00
peterl%netscape.com
bad924de1d modified state change notifications to use new wider api and reduce calls
git-svn-id: svn://10.0.0.236/trunk@28165 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:03:30 +00:00
mscott%netscape.com
2c737b4ed7 initialize more variables that weren't getting values if there wasn't a pref for the value.
git-svn-id: svn://10.0.0.236/trunk@28164 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:03:09 +00:00
akkana%netscape.com
ca0d3d9bc4 Get callbacks and transferable/data flavor hooked up so we can
collaborate on tracking down the gtk_selection_data_set crash.


git-svn-id: svn://10.0.0.236/trunk@28163 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:02:36 +00:00
peterl%netscape.com
47bf3e319c widened content state change api
added test for state dependent style


git-svn-id: svn://10.0.0.236/trunk@28162 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:02:22 +00:00
peterl%netscape.com
9a77dd80f1 sync to doc api change
git-svn-id: svn://10.0.0.236/trunk@28161 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:00:02 +00:00
mscott%netscape.com
9760c68cc8 Remove startup call on prefs. use NS_WITH_SERVICE macro for getting the prefs service....
git-svn-id: svn://10.0.0.236/trunk@28160 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:49:29 +00:00
mcmullen%netscape.com
399b584dfa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28159 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:44:19 +00:00
mcmullen%netscape.com
2309cdf060 Removed some platform #ifdefs that are no longer needed.
git-svn-id: svn://10.0.0.236/trunk@28158 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:43:01 +00:00
mscott%netscape.com
bb3f580922 Take out pref initialization code which was always loading prefs50.js from the current directory. We need to be using the prefs for the default profile. This fixes the current windows problems where mail prefs weren't being read in.
git-svn-id: svn://10.0.0.236/trunk@28157 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:38:30 +00:00
mscott%netscape.com
ab3aaa0d79 Initialize some variables in SetKey which were causing a crash if the prefs file did not have values for them.....
git-svn-id: svn://10.0.0.236/trunk@28156 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:37:02 +00:00
kipp%netscape.com
9c3248991c Fixed some refcnt bugs
git-svn-id: svn://10.0.0.236/trunk@28154 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:24:52 +00:00
kipp%netscape.com
eebe897d99 Added in some missing addref/release's
git-svn-id: svn://10.0.0.236/trunk@28153 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:24:40 +00:00
kipp%netscape.com
84ae76b1ff Dump refcnts when listing views
git-svn-id: svn://10.0.0.236/trunk@28152 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:22:53 +00:00
kipp%netscape.com
b979076229 Added a missing NS_RELEASE
git-svn-id: svn://10.0.0.236/trunk@28151 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:22:32 +00:00
alecf%netscape.com
487ad84eca add new LIBIDL_CFLAGS and LIBIDL_LIBS so that we don't have to keep running libidl-config
git-svn-id: svn://10.0.0.236/trunk@28150 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:14:23 +00:00
bienvenu%netscape.com
8ff856f34f get header adding to db's working
git-svn-id: svn://10.0.0.236/trunk@28149 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:09:59 +00:00
briano%netscape.com
712790b03c Automated update
git-svn-id: svn://10.0.0.236/trunk@28148 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:59:38 +00:00
despotdaemon%netscape.com
c8268f7a62 Pseudo-automatic update of changes made by subbarao@computer.org.
git-svn-id: svn://10.0.0.236/trunk@28147 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:58:40 +00:00
alecf%netscape.com
5e69aa829f oops, quotes were going the wrong way
git-svn-id: svn://10.0.0.236/trunk@28146 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:52:31 +00:00
sfraser%netscape.com
c5549999b3 Added chrome entries for global, and editor.
git-svn-id: svn://10.0.0.236/trunk@28145 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:49:19 +00:00
nisheeth%netscape.com
19c0df3b7c Patch to get expat to compile on SGI. Many thanks to Tim Rowley (tor@cs.brown.edu) for doing all the work on this. I am simply checking it in for him.
git-svn-id: svn://10.0.0.236/trunk@28144 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:43:14 +00:00
pnunn%netscape.com
4980e0e9ec new. decoder. pnunn
git-svn-id: svn://10.0.0.236/trunk@28143 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:42:58 +00:00
pnunn%netscape.com
cf189e3033 new. decoder. moved from libimg/src. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28142 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:41:11 +00:00
morse%netscape.com
3b2fc8c4e0 fixed problems with PromptUsernameAndPassword when dialogs are turned off
git-svn-id: svn://10.0.0.236/trunk@28141 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:36:49 +00:00
pnunn%netscape.com
6374b6b34e new. decoders. unix/autoconfig. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28140 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:33:13 +00:00
pnunn%netscape.com
4bccf474a3 new. decoders. Unix/autoconfig. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28139 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:31:28 +00:00
davidmc%netscape.com
976fc58c83 rename one accidentally named "Set..." method to "Get...";
fix class to actually work correctly (I think...)


git-svn-id: svn://10.0.0.236/trunk@28138 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:30:51 +00:00
davidmc%netscape.com
de4c63fdcb rename one accidentally named "Set..." method to "Get..."
git-svn-id: svn://10.0.0.236/trunk@28137 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:30:22 +00:00
davidmc%netscape.com
a76fb50c2f rename one accidentally named "Set..." method to "Get...";
implement a lot of methods for the first time


git-svn-id: svn://10.0.0.236/trunk@28136 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:30:10 +00:00
pnunn%netscape.com
71c69c2908 new. decoders. unix/autoconfig make. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28135 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:29:49 +00:00
davidmc%netscape.com
7485e2f674 rename one accidentally named "Set..." method to "Get...";
return morkRow from CanUseCellCursor()


git-svn-id: svn://10.0.0.236/trunk@28134 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:29:26 +00:00
davidmc%netscape.com
34af8fd400 clarify and increase number of oid<->pos<-> row table methods
git-svn-id: svn://10.0.0.236/trunk@28133 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:28:03 +00:00
davidmc%netscape.com
6fede59c0e rename accidentally named "Set..." method to "Get...";
clarify and increase number of oid<->pos<-> row table methods


git-svn-id: svn://10.0.0.236/trunk@28132 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:27:02 +00:00
davidmc%netscape.com
c2c810a130 increase kMaxIndent to 64
git-svn-id: svn://10.0.0.236/trunk@28131 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:25:52 +00:00
davidmc%netscape.com
db6add5d02 subtle white space changes without changing format
git-svn-id: svn://10.0.0.236/trunk@28130 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:25:23 +00:00
davidmc%netscape.com
3a71b75160 add morkTable::SafeRowAt() so a row can be indexed in a table
with safety check on index within morkArray.


git-svn-id: svn://10.0.0.236/trunk@28129 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:24:50 +00:00
davidmc%netscape.com
26c379c0f9 reorder morkTable member construction to quell Unix warnings;
init mTable_CellUses to zero.


git-svn-id: svn://10.0.0.236/trunk@28128 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:24:06 +00:00
davidmc%netscape.com
7f6cf2a63e reorder morkStore member construction to quell Unix warnings
git-svn-id: svn://10.0.0.236/trunk@28127 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:23:27 +00:00
davidmc%netscape.com
86c107f548 reorder morkRowSpace member construction to quell Unix warnings
git-svn-id: svn://10.0.0.236/trunk@28126 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:23:06 +00:00
cata%netscape.com
f28dac05ef Fixed CID declaration.
git-svn-id: svn://10.0.0.236/trunk@28125 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:22:52 +00:00
pnunn%netscape.com
af3693a239 new. decoders. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28124 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:22:47 +00:00
davidmc%netscape.com
84b82d9ef1 add NilRowObjectError();
git-svn-id: svn://10.0.0.236/trunk@28123 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:22:28 +00:00
davidmc%netscape.com
551d340dcd morkRow::CellAt(): check for negative mork_pos index
morkRow::Set(): call morkAtom::AddCellUse() in both if branches


git-svn-id: svn://10.0.0.236/trunk@28122 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:21:46 +00:00
davidmc%netscape.com
7b339c9d3a add checks for negative mork_pos values during qualification of
valid indexes into a morkArray.  Also cast integer types to
quell some compiler warnings about signed/unsigned.


git-svn-id: svn://10.0.0.236/trunk@28121 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:19:50 +00:00
davidmc%netscape.com
28409f45ad make morkPortTableCursor actually work
git-svn-id: svn://10.0.0.236/trunk@28120 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:18:34 +00:00
valeski%netscape.com
34e2151cf6 Starting fleshing out the state flow. Added a few new states to .h, and their functional counter parts in .c.
git-svn-id: svn://10.0.0.236/trunk@28119 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:18:19 +00:00
davidmc%netscape.com
3de881b44c fix morkParser::ReadValue() so it will notice '$' when reading values,
and unescape bytes written in hex earlier by morkWriter.


git-svn-id: svn://10.0.0.236/trunk@28118 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:17:10 +00:00
wtc%netscape.com
b4179b5f5b Bugzilla bug #4741: add lib version info to libplds3 and libprstrms3.
Bugzilla bug #5284: the lib version structures for libnspr3 and libplc3
are incorrectly named (still referring to libnspr21 and libplc21).
Modified files: lib/ds/Makefile, lib/prstreams/Makefile,
lib/libc/src/Makefile, lib/libc/src/plvrsion.c, pr/src/Makefile,
pr/src/prvrsion.c
Added files: lib/ds/plvrsion.c, lib/prstreams/plvrsion.c


git-svn-id: svn://10.0.0.236/trunk@28117 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:17:08 +00:00
nhotta%netscape.com
d4767d6106 Bug fix 3979 5280, reply/forward, MIME decode, use original mail's charset.
git-svn-id: svn://10.0.0.236/trunk@28116 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:16:04 +00:00
davidmc%netscape.com
8de8212446 reorder morkFactory member construction to quell Unix warnings
git-svn-id: svn://10.0.0.236/trunk@28115 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:16:03 +00:00
davidmc%netscape.com
de0e432e9f add morkEnv::HexToByte()
git-svn-id: svn://10.0.0.236/trunk@28114 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:15:35 +00:00
davidmc%netscape.com
4e13238634 add morkEnv::HexToByte();
git-svn-id: svn://10.0.0.236/trunk@28113 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:15:11 +00:00
davidmc%netscape.com
a6ad4135a3 type of morkCh_Type[] changed to mork_flags array
git-svn-id: svn://10.0.0.236/trunk@28112 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:14:44 +00:00
briano%netscape.com
7a3afe5cef Automated update
git-svn-id: svn://10.0.0.236/trunk@28111 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:14:35 +00:00
davidmc%netscape.com
ef788c49e4 change type of char pred array to mork_flag, so that callers
can pull and cache a byte of predicate bits, permitting many
predicates to be examined in a register value without any
implied memory access to slow a CPU in tight loops.


git-svn-id: svn://10.0.0.236/trunk@28110 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:14:04 +00:00
davidmc%netscape.com
d598b309e4 reorder morkCell member construction to quell Unix warmings.
git-svn-id: svn://10.0.0.236/trunk@28109 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:12:14 +00:00
davidmc%netscape.com
1314cf0467 add new mork_u1 typedefs mork_ch and mork_flags, so that
char predicates in morkCh.h can distinguish between methods
that operate on characters themselves, or else upon a cached
flag value pulled from a char predicate flag map.


git-svn-id: svn://10.0.0.236/trunk@28108 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:11:35 +00:00
mcmullen%netscape.com
0a56e0d57d Fixed GetParent() on windows and unix (was incorrect for directories whose paths end in a separator).
git-svn-id: svn://10.0.0.236/trunk@28107 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:07:42 +00:00
alecf%netscape.com
bde6688a48 workaround for broken libIDL-config in libIDL 0.6.7 and lower (so we don't have to force people to upgrade so quickly)
git-svn-id: svn://10.0.0.236/trunk@28106 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:07:12 +00:00
hyatt%netscape.com
414f707eed Adding support for actual tracking of web shell information so that web shells
can be identified later on during parsing and can have the correct URLs loaded
into them.


git-svn-id: svn://10.0.0.236/trunk@28104 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:05:49 +00:00
pnunn%netscape.com
872a96da5a new. decoder. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28103 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:03:55 +00:00
pnunn%netscape.com
2992c4de3e new. decoder. pnunn
git-svn-id: svn://10.0.0.236/trunk@28102 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:03:25 +00:00
jdunn%netscape.com
f8c54484d2 Fix unix native compiler error
git-svn-id: svn://10.0.0.236/trunk@28101 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:00:24 +00:00
cata%netscape.com
be13202484 Renamed to ISO88591
git-svn-id: svn://10.0.0.236/trunk@28100 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:00:05 +00:00
pnunn%netscape.com
0b911898ae new. decoder.pnunn
git-svn-id: svn://10.0.0.236/trunk@28099 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:00:02 +00:00
cata%netscape.com
36ebbb9ddd Renamed to ISO88591.
git-svn-id: svn://10.0.0.236/trunk@28098 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:59:45 +00:00
cata%netscape.com
8f6373f52d Latin1 -> ISO88591
git-svn-id: svn://10.0.0.236/trunk@28097 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:56:04 +00:00
cata%netscape.com
14a1248a0b added files: mozilla/intl/uconv/ucvlatin/nsISO88591ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToISO88591.cpp, removed files: mozilla/intl/uconv/ucvlatin/nsLatin1ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToLatin1.cpp
git-svn-id: svn://10.0.0.236/trunk@28096 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:55:15 +00:00
bienvenu%netscape.com
b5cc37c3c0 fix msg parser to use nsIMsgDatabase, not maildatabase
git-svn-id: svn://10.0.0.236/trunk@28095 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:40:32 +00:00
bienvenu%netscape.com
ab0a5d77e5 add imap messages to uri scheme
git-svn-id: svn://10.0.0.236/trunk@28094 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:39:29 +00:00
sspitzer%netscape.com
9d1b04ce7c my printfs are driving me insane
git-svn-id: svn://10.0.0.236/trunk@28093 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:36:39 +00:00
pnunn%netscape.com
fbad2535ad new. decoder. for win builds. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28092 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:32:35 +00:00
mscott%netscape.com
9db42956ca First checked in. The message service is an interface representing actions the different derived protocol services can perform on messages such as copying, displaying a message etc.
git-svn-id: svn://10.0.0.236/trunk@28091 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:32:26 +00:00
pnunn%netscape.com
fd97978839 new. decoder. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28090 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:31:10 +00:00
pnunn%netscape.com
30170888ea new. decoder. pnunn
git-svn-id: svn://10.0.0.236/trunk@28089 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:29:51 +00:00
pnunn%netscape.com
c0965cd670 new. moved from libimg/src. decoder. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28088 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:28:48 +00:00
pnunn%netscape.com
c9d4067537 new. decoder. pn.
git-svn-id: svn://10.0.0.236/trunk@28087 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:27:19 +00:00
radha%netscape.com
edec6f63f7 Disable/Enable the back/forward buttons depending on the current
position in the history list


git-svn-id: svn://10.0.0.236/trunk@28086 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:19:05 +00:00
syd%netscape.com
1848a42f66 Support for modal dialogs in Gtk+ xpfe. Reviewed by rods.
git-svn-id: svn://10.0.0.236/trunk@28085 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:18:50 +00:00
radha%netscape.com
ea88fcd62c Call in to BrowserAppcore for back and forward buttons.
Disable the back & forward buttons when you can't go back or forward anymore


git-svn-id: svn://10.0.0.236/trunk@28084 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:18:20 +00:00
pnunn%netscape.com
fd937909b5 new. decoder. for win builds. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28083 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:16:59 +00:00
pnunn%netscape.com
d76cdca83e new. decoder. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28082 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:16:24 +00:00
pnunn%netscape.com
db3add2edf new. gif decoder. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28081 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:15:39 +00:00
cata%netscape.com
a481fc599a Deprecated methods deleted.
git-svn-id: svn://10.0.0.236/trunk@28080 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:15:09 +00:00
pnunn%netscape.com
27b1731242 new. gifdecoder. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28079 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:14:20 +00:00
pnunn%netscape.com
c464c1f1b9 gif decoder. created. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28078 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:12:11 +00:00
hyatt%netscape.com
53822bc073 Changes to enable an asynchronous webshell instantiation in response to a
window.open call.


git-svn-id: svn://10.0.0.236/trunk@28077 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:09:07 +00:00
hyatt%netscape.com
f67a03d948 Changes to enable an asynchronous creation of a webshell in response to a
window.open call.


git-svn-id: svn://10.0.0.236/trunk@28076 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:08:44 +00:00
hyatt%netscape.com
37eb127da8 Altering the window.open call so that it can supply info for a webshell
to be created asynchronously.


git-svn-id: svn://10.0.0.236/trunk@28075 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:08:12 +00:00
ducarroz%netscape.com
5757cd90ef remove some debug libraries fom release target
git-svn-id: svn://10.0.0.236/trunk@28074 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:02:20 +00:00
sspitzer%netscape.com
a634033ecd fix for the broken delete button
git-svn-id: svn://10.0.0.236/trunk@28073 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:58:58 +00:00
morse%netscape.com
6a537f6bcc fix bug 5137
git-svn-id: svn://10.0.0.236/trunk@28072 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:54:23 +00:00
sspitzer%netscape.com
3598d41aea fix the problem where the Local Host gif wasn't appearing.
I forgot to quote the html entity reference properly.


git-svn-id: svn://10.0.0.236/trunk@28071 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:48:06 +00:00
norris%netscape.com
136cab8649 Publish Rhino as open source.
git-svn-id: svn://10.0.0.236/trunk@28070 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:43:53 +00:00
pinkerton%netscape.com
458ad394ac add nsBaseDragService.cpp and groups services together, pulling them out of the mac/xp widget groups into new ones.
git-svn-id: svn://10.0.0.236/trunk@28069 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:43:02 +00:00
cata%netscape.com
9badf5b11c Support class for fast table decoder added.
git-svn-id: svn://10.0.0.236/trunk@28068 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:41:30 +00:00
sspitzer%netscape.com
e14ff1fc06 more i18N / L10n changes
git-svn-id: svn://10.0.0.236/trunk@28067 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:39:23 +00:00
pinkerton%netscape.com
7b8fe25907 add nsDragService.cpp
git-svn-id: svn://10.0.0.236/trunk@28066 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:28:27 +00:00
pinkerton%netscape.com
cd06cde64d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28065 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:28:10 +00:00
cata%netscape.com
b50cea2050 Support class for fast table decoder added.
git-svn-id: svn://10.0.0.236/trunk@28064 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:28:08 +00:00
cata%netscape.com
24d9d8dc80 Method renamed for clarity.
git-svn-id: svn://10.0.0.236/trunk@28063 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:26:26 +00:00
dveditz%netscape.com
a91d955bcd speedup for non-Mac platforms
git-svn-id: svn://10.0.0.236/trunk@28062 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:11:43 +00:00
rods%netscape.com
ff0e53b153 removed VERIFY
git-svn-id: svn://10.0.0.236/trunk@28061 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:09:15 +00:00
rods%netscape.com
d72cdc2ecf fixed it again
git-svn-id: svn://10.0.0.236/trunk@28060 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:06:24 +00:00
rods%netscape.com
c6ee688726 removed nsObject.cpp
git-svn-id: svn://10.0.0.236/trunk@28059 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:00:13 +00:00
pnunn%netscape.com
ff507af57a gif decoder.created. pn
git-svn-id: svn://10.0.0.236/trunk@28058 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:55:48 +00:00
cata%netscape.com
c2f9164f34 Latin1 test case fixed.
git-svn-id: svn://10.0.0.236/trunk@28057 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:46:28 +00:00
cata%netscape.com
826057de7b Fix for GetMaxLength() returning fewer bytes than necessary.
git-svn-id: svn://10.0.0.236/trunk@28056 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:45:06 +00:00
rods%netscape.com
143378c1df Added additional comments for Paste
git-svn-id: svn://10.0.0.236/trunk@28055 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:35:55 +00:00
pnunn%netscape.com
192f90cfd1 gif decoder. created. pnunn.
git-svn-id: svn://10.0.0.236/trunk@28054 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:35:16 +00:00
nhotta%netscape.com
465eec2c2a Bug fix #3994, realloc if the converter's estimate length is incorrect.
git-svn-id: svn://10.0.0.236/trunk@28053 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:15:51 +00:00
troy%netscape.com
f64953d0e3 Work-in-progress for making relatively positioned inline-level elements a
container for absolutely positioned child elements


git-svn-id: svn://10.0.0.236/trunk@28052 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:10:15 +00:00
rods%netscape.com
3a59d2c75e Removed it
git-svn-id: svn://10.0.0.236/trunk@28051 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:07:25 +00:00
rods%netscape.com
2c66202fdc Fixed a comment/documentation
git-svn-id: svn://10.0.0.236/trunk@28050 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:05:01 +00:00
rods%netscape.com
7e8b050fb8 removed references to nsObject
git-svn-id: svn://10.0.0.236/trunk@28049 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:04:12 +00:00
rods%netscape.com
7029d76ae1 Updated some comments/documentation
git-svn-id: svn://10.0.0.236/trunk@28048 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 19:02:52 +00:00
jefft%netscape.com
7234e4e477 rename nsIImapMailFolder, nsIImapMessage, nsIImapExtension, nsIImapMiscellaneous to nsIImapMailFolderSink, nsIImapMessageSink, nsIImapExtensionSink, nsIImapMiscellaneousSink
git-svn-id: svn://10.0.0.236/trunk@28046 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 18:41:43 +00:00
dcone%netscape.com
114c1eb1fa Fixed declaration to fix Mac build
git-svn-id: svn://10.0.0.236/trunk@28045 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 13:37:16 +00:00
mcafee%netscape.com
569e589389 Cleaning up clipboard files.
git-svn-id: svn://10.0.0.236/trunk@28044 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 10:49:47 +00:00
mcafee%netscape.com
4f2d77bc6e Adding nsDragService to Linux build.
git-svn-id: svn://10.0.0.236/trunk@28043 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 10:46:56 +00:00
saari%netscape.com
37833f1e62 breakage fix
git-svn-id: svn://10.0.0.236/trunk@28042 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 08:50:26 +00:00
mccabe%netscape.com
9f7c7f3abc Use @GLIB_CONFIG@ and @LIBIDL_CONFIG@ autoconf variables to find glib-config and libIDL config, rather than hardcoding thier names.
Thanks to Greg Roelofs for this fix.


git-svn-id: svn://10.0.0.236/trunk@28041 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 08:31:42 +00:00
saari%netscape.com
9fda39f2f3 This should be the last of this round of menu checkins
git-svn-id: svn://10.0.0.236/trunk@28040 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 08:27:57 +00:00
saari%netscape.com
3bfcc24931 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@28039 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 08:24:08 +00:00
saari%netscape.com
c4b8414e92 First of a series of menu checkins
git-svn-id: svn://10.0.0.236/trunk@28038 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 08:23:18 +00:00
rpotts%netscape.com
c04d83648b Added an Event Queue argument to the NewConnection(...) call. This fixed up the build bustage...
git-svn-id: svn://10.0.0.236/trunk@28037 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 07:28:02 +00:00
rpotts%netscape.com
cff5be65b6 First pass at a socket transport implementation...
git-svn-id: svn://10.0.0.236/trunk@28036 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 07:17:37 +00:00
rpotts%netscape.com
74524f2159 Added support for the socket transport service...? nsNetFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@28035 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 07:16:37 +00:00
rpotts%netscape.com
1a59c5cf15 split up the async stream listener into an async stream observer and async stream listener...
git-svn-id: svn://10.0.0.236/trunk@28034 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 07:15:03 +00:00
ramiro%netscape.com
0448db2c14 Remove duplicate link flags.
git-svn-id: svn://10.0.0.236/trunk@28033 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 06:21:29 +00:00
ramiro%netscape.com
0c8eadb163 Remove not needed link flag.
git-svn-id: svn://10.0.0.236/trunk@28032 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 06:15:12 +00:00
dcone%netscape.com
f60c977706 added the rounded rectangle code for style
git-svn-id: svn://10.0.0.236/trunk@28031 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 05:27:55 +00:00
fur%netscape.com
c08b279541 Sync up with SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@28030 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 05:19:56 +00:00
fur%netscape.com
f23d6af276 Sync up with SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@28028 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 05:12:25 +00:00
bienvenu%netscape.com
3d050d1a62 make protocol use imapMailFolder header parse stuff when getting headers
git-svn-id: svn://10.0.0.236/trunk@28027 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 02:13:23 +00:00
edwin%woudt.nl
74cb3fe2b8 Oops, too quick, backing out. This is one of the few files I didn't touch!
git-svn-id: svn://10.0.0.236/trunk@28026 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 01:20:21 +00:00
edwin%woudt.nl
4b0db426d0 MPL stuff again
git-svn-id: svn://10.0.0.236/trunk@28025 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 01:18:30 +00:00
edwin%woudt.nl
0b93cd0f82 Inline forwarding now also works a bit.
git-svn-id: svn://10.0.0.236/trunk@28024 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 01:16:28 +00:00
edwin%woudt.nl
b63cef17ff First try at forwarding. Quoted forwarding now works.
git-svn-id: svn://10.0.0.236/trunk@28023 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 00:34:28 +00:00
edwin%woudt.nl
6b9fbc32f1 Add 'Reply All' to the toolbar. It works!
git-svn-id: svn://10.0.0.236/trunk@28022 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 00:04:09 +00:00
edwin%woudt.nl
fc790744d0 Cleanup of toolbar code
git-svn-id: svn://10.0.0.236/trunk@28021 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 23:53:06 +00:00
edwin%woudt.nl
6a5abb1cf9 Our renderer choked on the complex html mimelib generated (nested tables and such). Therefore I simplified the html so that it at least shows now that attachments are present.
git-svn-id: svn://10.0.0.236/trunk@28020 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 23:49:04 +00:00
ducarroz%netscape.com
cc53b4a273 add build instruction for mime emitters.
git-svn-id: svn://10.0.0.236/trunk@28019 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 21:28:27 +00:00
ducarroz%netscape.com
1e76e9a5c2 replace sprintf by PR_snprintf and double '%' int PR_snprintf formating string to solve problem on Mac
git-svn-id: svn://10.0.0.236/trunk@28018 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 21:26:35 +00:00
ducarroz%netscape.com
29d7cfce6a updated mac project
git-svn-id: svn://10.0.0.236/trunk@28017 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 21:24:20 +00:00
ducarroz%netscape.com
048f860c10 updated manifest to reflect rhp modification with msgRFC882
git-svn-id: svn://10.0.0.236/trunk@28016 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 21:22:21 +00:00
pavlov%pavlov.net
64e5dfc918 add some code that was accedentally removed last time
git-svn-id: svn://10.0.0.236/trunk@28015 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 20:07:31 +00:00
bruce%cybersight.com
5e9d398543 I can spell. Really!
git-svn-id: svn://10.0.0.236/trunk@28014 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 19:45:46 +00:00
bruce%cybersight.com
b5637fd912 Fix linking errors, add some new class/interface ids, make it run.
git-svn-id: svn://10.0.0.236/trunk@28013 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 19:44:41 +00:00
pavlov%pavlov.net
e24aaf6b5b code cleanups
git-svn-id: svn://10.0.0.236/trunk@28012 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 19:31:16 +00:00
bruce%cybersight.com
9a8c6561f1 Makes this run again. Adds the event queue service code. Fix most warnings.
git-svn-id: svn://10.0.0.236/trunk@28011 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 19:02:18 +00:00
edwin%woudt.nl
60cc5c64bf Removing unused toolbar code
git-svn-id: svn://10.0.0.236/trunk@28010 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 10:42:47 +00:00
terry%netscape.com
fa8dd7f866 Oops; wasn't sending out mail when someone attached a file.
git-svn-id: svn://10.0.0.236/trunk@28009 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 02:44:03 +00:00
edwin%woudt.nl
a31be31a56 New 'blue' look and feel for icons
git-svn-id: svn://10.0.0.236/trunk@28008 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 23:53:53 +00:00
edwin%woudt.nl
12fadfc188 Damn... I keep forgetting to update the MPL stuff
git-svn-id: svn://10.0.0.236/trunk@28007 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 22:57:44 +00:00
edwin%woudt.nl
978ed0b06f Textlabels for the toolbar
git-svn-id: svn://10.0.0.236/trunk@28006 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 22:51:57 +00:00
warren%netscape.com
afc80baf4a Working on GET.
git-svn-id: svn://10.0.0.236/trunk@28005 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 20:57:48 +00:00
warren%netscape.com
fea69bee38 Removed PAC file for now.
git-svn-id: svn://10.0.0.236/trunk@28004 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 20:54:57 +00:00
warren%netscape.com
646793047d Started implement file transport writing code.
git-svn-id: svn://10.0.0.236/trunk@28003 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 20:50:57 +00:00
edwin%woudt.nl
2912ca2c92 Changing to binary (hopefully)
git-svn-id: svn://10.0.0.236/trunk@28002 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 20:50:50 +00:00
edwin%woudt.nl
03387a1da0 And adding them
git-svn-id: svn://10.0.0.236/trunk@28001 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 20:40:14 +00:00
edwin%woudt.nl
5d5aa46d84 Removing them again
git-svn-id: svn://10.0.0.236/trunk@28000 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 20:38:43 +00:00
edwin%woudt.nl
1890b49612 Add new collapse buttons. These are in the new mozilla style.
git-svn-id: svn://10.0.0.236/trunk@27999 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 20:29:29 +00:00
edwin%woudt.nl
3baab2d381 Removing old collapse buttons (they were not checked in as binary, so they broke on non-unix platforms)
git-svn-id: svn://10.0.0.236/trunk@27998 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 20:28:19 +00:00
shaver%netscape.com
236194a602 fix my dumb bustage, etc. (darned src/build)
git-svn-id: svn://10.0.0.236/trunk@27997 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 17:37:30 +00:00
dp%netscape.com
82a2b7b373 More on starup components
git-svn-id: svn://10.0.0.236/trunk@27996 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 16:49:58 +00:00
dp%netscape.com
c36686d585 Adding some debugging help
git-svn-id: svn://10.0.0.236/trunk@27995 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 16:49:17 +00:00
shaver%netscape.com
7855a9586a cache the GtkStyle * while we're at it
git-svn-id: svn://10.0.0.236/trunk@27994 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 16:17:00 +00:00
shaver%netscape.com
08eb88b70c cache the LookAndFeel object as long as we have any widgets
git-svn-id: svn://10.0.0.236/trunk@27993 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 15:55:21 +00:00
shaver%netscape.com
849b23ba7d let's try commenting out _all_ of the D&D stuff
git-svn-id: svn://10.0.0.236/trunk@27992 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 15:07:58 +00:00
rods%netscape.com
ee3c48f226 Removed unneeded DragTarget/Source and Dragged object
git-svn-id: svn://10.0.0.236/trunk@27991 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 14:53:02 +00:00
rods%netscape.com
28e21df11e fixed ambigous cast
git-svn-id: svn://10.0.0.236/trunk@27990 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 14:24:31 +00:00
morse%netscape.com
d2055e2bf7 turn on single signon and client wallet
git-svn-id: svn://10.0.0.236/trunk@27989 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 14:20:36 +00:00
rods%netscape.com
fd37d44aff Fixed factory to use kCGenericTransferableCID
git-svn-id: svn://10.0.0.236/trunk@27988 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 14:09:29 +00:00
rods%netscape.com
8e962f685c Fixed nsIGenericTransferable registry, added D&D to Registry
git-svn-id: svn://10.0.0.236/trunk@27987 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:56:22 +00:00
rods%netscape.com
427a00bb6c Removed some D&D debug code
git-svn-id: svn://10.0.0.236/trunk@27986 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:54:00 +00:00
rods%netscape.com
12e2328be7 Switched over nsIGenericTransferable
and added D&D Support


git-svn-id: svn://10.0.0.236/trunk@27985 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:52:28 +00:00
rods%netscape.com
5b35f2fb38 Switched over to new nsIGenericTransferable
git-svn-id: svn://10.0.0.236/trunk@27984 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:51:42 +00:00
rods%netscape.com
50c1d70717 Changed over to nsIGenericTransferable for setting transferables
Added Drag & Drag Support ifdef'ed out with NEW_DRAG_AND_DROP


git-svn-id: svn://10.0.0.236/trunk@27983 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:49:39 +00:00
rods%netscape.com
6e1de2f736 fixed WM_CHAR processing. And D&D ifdef
git-svn-id: svn://10.0.0.236/trunk@27982 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:45:10 +00:00
rods%netscape.com
c7aba1033d Changed the DRAG & Drop ifdef
git-svn-id: svn://10.0.0.236/trunk@27981 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:44:42 +00:00
rods%netscape.com
7c1aac3546 Added nsIGenericTransferable
git-svn-id: svn://10.0.0.236/trunk@27980 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:43:04 +00:00
rods%netscape.com
cf5cda19d8 New interface for setting data into a transferable
git-svn-id: svn://10.0.0.236/trunk@27979 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:42:25 +00:00
morse%netscape.com
586a9ab3e9 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@27978 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 05:29:05 +00:00
morse%netscape.com
c63abeecb6 re-enable single-signon for browser-generated forms
git-svn-id: svn://10.0.0.236/trunk@27977 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 04:35:48 +00:00
troy%netscape.com
cee63be2c8 Change to InitAbsoluteConstraints() to fix bug #5154
git-svn-id: svn://10.0.0.236/trunk@27976 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 04:24:12 +00:00
mccabe%netscape.com
b47ff84d5d Changed makefile to request --cflags and --libs from libIDL-config as well as from glib-config, to handle those cases where libIDL is installed in a different place than glib.
Thanks to Tim Rowley <tor@cs.brown.edu> for this fix.


git-svn-id: svn://10.0.0.236/trunk@27975 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 03:54:39 +00:00
briano%netscape.com
fe9a757182 Fix for builds on platforms where PRInt64 is declared as a struct.
git-svn-id: svn://10.0.0.236/trunk@27974 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 03:46:38 +00:00
bienvenu%netscape.com
29ef5f0a1d get set up for folder parsingof msg headers
git-svn-id: svn://10.0.0.236/trunk@27973 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 03:40:14 +00:00
nhotta%netscape.com
80ef1ec1f9 Added error handling for the unicode converter.
git-svn-id: svn://10.0.0.236/trunk@27972 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 02:51:33 +00:00
bruce%cybersight.com
76b73c5a60 Add new line for native unix compilers.
git-svn-id: svn://10.0.0.236/trunk@27971 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 02:32:32 +00:00
briano%netscape.com
2108335d89 Automated update
git-svn-id: svn://10.0.0.236/trunk@27970 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 01:44:36 +00:00
waqar%netscape.com
c49ab4e3dd Changes to AIX flags to build on AIX 4.2.x.
git-svn-id: svn://10.0.0.236/trunk@27969 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 01:40:35 +00:00
sspitzer%netscape.com
d8b3a979eb remove ShouldIgnoreFile from nsMSGDataSource.cpp (it wasn't being used.)
remove the XP_MAC and XP_PC if defs, every platforms should be ignoring the same files.


git-svn-id: svn://10.0.0.236/trunk@27968 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 01:18:59 +00:00
bruce%cybersight.com
b8c7191172 Fix for library changes (old).
git-svn-id: svn://10.0.0.236/trunk@27967 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 01:02:31 +00:00
vidur%netscape.com
b9573ee9ea Fix for bug 5141. The parentNode of a standalone Node is no longer a DocumentFragment, but is now, according to the spec, just null.
git-svn-id: svn://10.0.0.236/trunk@27966 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:56:25 +00:00
alecf%netscape.com
7cfc09bdf6 remove TRACEMSG (this is the last call to XP_Trace in our codebase! yeah!)
git-svn-id: svn://10.0.0.236/trunk@27965 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:53:22 +00:00
waterson%netscape.com
6f1b18f9c7 Fixed null deref in nsXULAttribute::GetQualifiedName() -- handle the default namespace case.
git-svn-id: svn://10.0.0.236/trunk@27962 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:29:54 +00:00
waterson%netscape.com
f454fe5e8d Removed straggling rdf_Assert() that was #ifdef XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@27961 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:25:04 +00:00
waterson%netscape.com
40123aadc3 Bug 4614. Setting bookmark properties was asserting: removed benign assert and replaced with PR_LOG() message.
git-svn-id: svn://10.0.0.236/trunk@27960 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:23:28 +00:00
mcafee%netscape.com
7aac7bedb7 More clipboard build bustage fixes.
git-svn-id: svn://10.0.0.236/trunk@27959 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:21:16 +00:00
sspitzer%netscape.com
f61836ca75 scribble is bogus, I'm turning this off for now
git-svn-id: svn://10.0.0.236/trunk@27958 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:18:09 +00:00
mscott%netscape.com
83d0b5bec4 Add gsdebug boolean check before printing out IR target information. a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@27957 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:11:53 +00:00
waterson%netscape.com
206811756c Code cleanup. Got rid of rdf_Assert() functions.
git-svn-id: svn://10.0.0.236/trunk@27956 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 00:10:18 +00:00
alecf%netscape.com
36716282b0 don't use global variables for RDF service and header parser if we're going to keep recreating/reaccessing them in every constructor
git-svn-id: svn://10.0.0.236/trunk@27955 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 23:53:32 +00:00
mcafee%netscape.com
af2c3289a8 Re-adding nsBaseClipboard, ifdef'd NEW_CLIPBOARD_SUPPORT this time.
git-svn-id: svn://10.0.0.236/trunk@27954 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 23:52:13 +00:00
slamm%netscape.com
f8c9907f70 Run depend target after running configure and tweak last fix. both bug #3524.
git-svn-id: svn://10.0.0.236/trunk@27953 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 23:47:04 +00:00
alecf%netscape.com
d2f144dae9 componentization of mail data source: break out folders/messages for ArcLabelsOut
git-svn-id: svn://10.0.0.236/trunk@27952 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 23:45:23 +00:00
mcafee%netscape.com
870851972e Wrapping nsClipboard in NEW_CLIPBOARD_SUPPORT to make tinderbox happy building tests.
git-svn-id: svn://10.0.0.236/trunk@27951 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 23:42:34 +00:00
jefft%netscape.com
006d125bbf minor change to prevent memory leaks
git-svn-id: svn://10.0.0.236/trunk@27947 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 23:25:06 +00:00
alecf%netscape.com
b212f09020 componentizing nsMSGFolderDataSource
- break out folderNode creation


git-svn-id: svn://10.0.0.236/trunk@27946 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 23:18:58 +00:00
slamm%netscape.com
f376364d0f Die with an error when configure fails (bug #3524).
git-svn-id: svn://10.0.0.236/trunk@27945 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 23:09:16 +00:00
alecf%netscape.com
521fb4349d remove some of my debugging statements
git-svn-id: svn://10.0.0.236/trunk@27944 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 23:03:15 +00:00
sspitzer%netscape.com
3fe56e2f79 changes for the missing NPL comment
git-svn-id: svn://10.0.0.236/trunk@27943 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 23:03:13 +00:00
putterman%netscape.com
117ec60aaa Fixes a memory leak.
git-svn-id: svn://10.0.0.236/trunk@27942 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:56:38 +00:00
alecf%netscape.com
b13e2546e9 remove my XP_UNIX Bool hack
git-svn-id: svn://10.0.0.236/trunk@27941 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:53:11 +00:00
rhp%netscape.com
99ddb48d2a Fix for prefs startup
git-svn-id: svn://10.0.0.236/trunk@27940 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:52:33 +00:00
jfrancis%netscape.com
b3825b3b11 redid html to be a better testbed for editor
git-svn-id: svn://10.0.0.236/trunk@27939 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:44:51 +00:00
rhp%netscape.com
1c6a2aa13a Fix for prefs being initialized more than once
git-svn-id: svn://10.0.0.236/trunk@27938 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:38:34 +00:00
rhp%netscape.com
3f484fb6ac Fix for prefs being initialized
git-svn-id: svn://10.0.0.236/trunk@27937 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:36:12 +00:00
law%netscape.com
5fe390dcbb Turning on File->ViewSource and File->Open
git-svn-id: svn://10.0.0.236/trunk@27936 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:34:55 +00:00
bruce%cybersight.com
452caf2517 Added blank line for native compilers.
git-svn-id: svn://10.0.0.236/trunk@27935 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:34:54 +00:00
alecf%netscape.com
784ef385a4 ok, this is retarded. I'm fixing this once and for all.
if Bool is defined to be ANY kind of type we already know about, this is going to barf.


git-svn-id: svn://10.0.0.236/trunk@27934 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:29:59 +00:00
mscott%netscape.com
62cf150355 Remove ReadLineFromInputBuffer function. I've moved its functionality into a new class: nsMsgLineBufferStream which is now part of the mail utiltity library. Changed create new line from socket to use this utility class for reading out the line.
git-svn-id: svn://10.0.0.236/trunk@27933 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:27:02 +00:00
slamm%netscape.com
7d87833a5b Backing out clipboard stuff on mcafee's request.
git-svn-id: svn://10.0.0.236/trunk@27932 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:21:56 +00:00
alecf%netscape.com
dce4304ced remove some debugging statements
git-svn-id: svn://10.0.0.236/trunk@27930 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:19:13 +00:00
pinkerton%netscape.com
3e5e2f68ad tri-state'ness works, click tracking works. now it should just be bug-fixin. should work enough to use now.
git-svn-id: svn://10.0.0.236/trunk@27929 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:13:50 +00:00
mscott%netscape.com
ff42292739 add new class nsMsgLineStreamBuffer which is used to efficiently read out lines from an input stream by buffering unprocessed content in a buffer.
git-svn-id: svn://10.0.0.236/trunk@27928 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:05:33 +00:00
putterman%netscape.com
9f4e699e18 use chrome urls for configurable chrome.
git-svn-id: svn://10.0.0.236/trunk@27927 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:05:07 +00:00
waterson%netscape.com
483e63d87c Bug 4400. Fixed leaking of keys from resource and datasource tables.
git-svn-id: svn://10.0.0.236/trunk@27926 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:04:32 +00:00
pinkerton%netscape.com
09c9651bab fix "depressed state" css rules to look better.
git-svn-id: svn://10.0.0.236/trunk@27925 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:04:12 +00:00
pinkerton%netscape.com
96239c306a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27924 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:03:19 +00:00
putterman%netscape.com
64fb0b9cda use chrome url for messenger.
git-svn-id: svn://10.0.0.236/trunk@27923 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:02:52 +00:00
putterman%netscape.com
2f488e7bdb Use chrome url with Messenger.
git-svn-id: svn://10.0.0.236/trunk@27922 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:01:56 +00:00
putterman%netscape.com
96f01bfba2 Added messenger and messenger compose to the registry.
git-svn-id: svn://10.0.0.236/trunk@27921 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 22:01:06 +00:00
sspitzer%netscape.com
a774037fc9 add missing NPL comment
git-svn-id: svn://10.0.0.236/trunk@27919 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:46:26 +00:00
slamm%netscape.com
c2145efe5f Add descriptive names to viewer demo menu items.
git-svn-id: svn://10.0.0.236/trunk@27918 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:43:54 +00:00
bienvenu%netscape.com
919602168a port miscellaneous methods, like search, use more nsString2's, fix bug in header download
git-svn-id: svn://10.0.0.236/trunk@27917 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:29:09 +00:00
hyatt%netscape.com
828a9625ba Fixing case sensitivity problem.
git-svn-id: svn://10.0.0.236/trunk@27916 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:27:00 +00:00
mcafee%netscape.com
b7ed5baa64 Woops, error on last checkin, fixing it here.
git-svn-id: svn://10.0.0.236/trunk@27915 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:26:05 +00:00
mcafee%netscape.com
98b7f3f1cf Adding nsBaseClipboard.cpp to Linux build, improving some error reporting. ifdef'd NEW_CLIPBOARD_SUPPORT.
git-svn-id: svn://10.0.0.236/trunk@27914 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:25:20 +00:00
bienvenu%netscape.com
97cfa26e5b add method to get charset for a message (though no one sets it currently)
git-svn-id: svn://10.0.0.236/trunk@27913 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:23:43 +00:00
michaelp%netscape.com
303a27ec58 a parting shot.
git-svn-id: svn://10.0.0.236/trunk@27912 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:22:45 +00:00
mcafee%netscape.com
65adfb47ff Adding nsBaseDragService.cpp to Linux build.
git-svn-id: svn://10.0.0.236/trunk@27911 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:18:37 +00:00
rods%netscape.com
ee3f35f7d1 fixed
git-svn-id: svn://10.0.0.236/trunk@27910 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:14:33 +00:00
alecf%netscape.com
485701b925 change AddRef() to NS_ADDREF() so that ref-count debugging works right
git-svn-id: svn://10.0.0.236/trunk@27909 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:06:17 +00:00
rods%netscape.com
fd5bd468c9 Inital checkin
git-svn-id: svn://10.0.0.236/trunk@27908 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:03:32 +00:00
rods%netscape.com
bb324fe9e1 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@27907 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:03:22 +00:00
alecf%netscape.com
144cf49a09 don't need xp_core.h, and it's causing problems anyway
git-svn-id: svn://10.0.0.236/trunk@27906 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:03:19 +00:00
alecf%netscape.com
bd3bb0f911 don't need this extra DSO line
git-svn-id: svn://10.0.0.236/trunk@27905 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:02:48 +00:00
rods%netscape.com
50c22a61e6 removed mail
git-svn-id: svn://10.0.0.236/trunk@27904 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 21:00:44 +00:00
mscott%netscape.com
f3cf764a77 more optimized version of read next line from buffer. Don't shift the bytes in the buffer down to the beginning after we extract a line until we actually need more space in the buffer. Then do it.
git-svn-id: svn://10.0.0.236/trunk@27903 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:59:49 +00:00
mscott%netscape.com
ffdb88e73a Fix assert to be >= 0. part of the name space off by one problem...
git-svn-id: svn://10.0.0.236/trunk@27902 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:58:21 +00:00
nhotta%netscape.com
ad7c6f4185 Changes for charset menu and 7bit data check.
git-svn-id: svn://10.0.0.236/trunk@27901 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:43:14 +00:00
rods%netscape.com
71c297c6d4 Removed clipboard code on exit of appcore
git-svn-id: svn://10.0.0.236/trunk@27900 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:39:28 +00:00
sfraser%netscape.com
e29c6d9d95 Fix Mac build bustage
git-svn-id: svn://10.0.0.236/trunk@27899 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:26:29 +00:00
rods%netscape.com
3310910d9e Added nsIDOMBaseAppCore.h
git-svn-id: svn://10.0.0.236/trunk@27898 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:22:38 +00:00
alecf%netscape.com
90514a3de2 fix nsAutoString->nsString& casting problem on unix by creating a temporary
git-svn-id: svn://10.0.0.236/trunk@27897 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:22:21 +00:00
rods%netscape.com
2352e0e311 removed mail
git-svn-id: svn://10.0.0.236/trunk@27896 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:18:01 +00:00
rods%netscape.com
71b6723148 removed
git-svn-id: svn://10.0.0.236/trunk@27895 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:12:48 +00:00
rods%netscape.com
575a6ed0c5 removed mail files
git-svn-id: svn://10.0.0.236/trunk@27894 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:11:06 +00:00
rods%netscape.com
7c8bc04f6c Removed the mail files
git-svn-id: svn://10.0.0.236/trunk@27893 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:08:42 +00:00
rods%netscape.com
c72cd9714c Old files no longer needed
git-svn-id: svn://10.0.0.236/trunk@27892 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:06:19 +00:00
rods%netscape.com
9d433223a7 removed the "set" enable/disable methods
git-svn-id: svn://10.0.0.236/trunk@27891 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:03:32 +00:00
rods%netscape.com
e927bf494e removed nsIDOMMailCore.h
git-svn-id: svn://10.0.0.236/trunk@27890 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:02:27 +00:00
rods%netscape.com
071f835fe5 removed the all mail core files
git-svn-id: svn://10.0.0.236/trunk@27889 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:01:44 +00:00
erik%netscape.com
d11d7fbaba Fixed bugs 2522 and 4875. Switched from FONTSIGNATURE to cmap to figure
out which glyphs are available. Removed FONT_SWITCHING ifdef.


git-svn-id: svn://10.0.0.236/trunk@27888 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:01:12 +00:00
rods%netscape.com
9853d116d4 removed enable/disable methods "set" methods
git-svn-id: svn://10.0.0.236/trunk@27887 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:01:09 +00:00
rods%netscape.com
f948ffe69b Removed the "set" enable/disable callback methods
git-svn-id: svn://10.0.0.236/trunk@27886 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:58:55 +00:00
rods%netscape.com
7c2faa6736 Removed MailCore.idl
git-svn-id: svn://10.0.0.236/trunk@27885 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:56:04 +00:00
michaelp%netscape.com
bb57830da1 we no longer recurse into clip views. shoot me troy. so long folks.
git-svn-id: svn://10.0.0.236/trunk@27884 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:53:53 +00:00
rods%netscape.com
1e78d9bd67 Remove the disable/enable callback methods
git-svn-id: svn://10.0.0.236/trunk@27883 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:53:45 +00:00
rods%netscape.com
4e0727dbfa removed files: mozilla/xpfe/AppCores/src/nsJSMailCore.cpp, mozilla/xpfe/AppCores/src/nsMailCoreFactory.cpp, mozilla/xpfe/AppCores/src/nsMailCore.cpp
git-svn-id: svn://10.0.0.236/trunk@27882 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:52:06 +00:00
ramiro%netscape.com
d43eedd2f1 More event work. Install button handlers for radio and check buttons.
These are still not fully functional.
Install events on text field, so that its parent does trigger button
events for it.


git-svn-id: svn://10.0.0.236/trunk@27881 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:48:56 +00:00
buster%netscape.com
1b64f032e0 I think this will fix Mac build.
git-svn-id: svn://10.0.0.236/trunk@27880 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:34:13 +00:00
kmcclusk%netscape.com
73c719c037 fix for bug #3162, Removed #ifndef MAC in the nsSelectControlFrame::GetProperty.
The Mac now supports native combo box widgets so it no longer will crash in GetProperty
with a null mWidget field.
Modified nsComboboxControlFrame::HandleEvents. MouseExit from the combox rect now
initiates mouse capture on the drop-down list.
Modified nsCSSFrameConstructor::ConstructSelectFrame to initialize the drop-down list
for frame-based comboboxes as hidden.
Added a nsIListControlFrame::CaptureMouseEvents method.
Implemented nsListControlFrame::CaptureMouseEvents.


git-svn-id: svn://10.0.0.236/trunk@27879 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:28:12 +00:00
kmcclusk%netscape.com
9336d44762 fix for bug#2442. Textarea now wrap.
git-svn-id: svn://10.0.0.236/trunk@27878 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:19:41 +00:00
kmcclusk%netscape.com
7102d1ac96 fix for bug#4325. ScrollingView's now manage their component's (mClipView, mHScrollBarView,
mVScrollBarView, mCornerView) visibility when the ScrollingView's visibility changes.


git-svn-id: svn://10.0.0.236/trunk@27877 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:18:30 +00:00
leaf%mozilla.org
d8da364c9d adding run scripts to be installed via rpms.
git-svn-id: svn://10.0.0.236/trunk@27875 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:15:15 +00:00
briano%netscape.com
cbc3ffbd5b Automated update
git-svn-id: svn://10.0.0.236/trunk@27874 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:14:40 +00:00
slamm%netscape.com
552f62962f Updated altoptions.m4, and cron job did not pick up my change, so I am checking in configure by hand.
git-svn-id: svn://10.0.0.236/trunk@27873 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:13:07 +00:00
rhp%netscape.com
cb154da742 Moving header parser interface
git-svn-id: svn://10.0.0.236/trunk@27871 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:02:22 +00:00
rhp%netscape.com
22a1be31e2 Addition of new parser file
git-svn-id: svn://10.0.0.236/trunk@27870 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:00:55 +00:00
rhp%netscape.com
042dd5ea66 Removal of old files
git-svn-id: svn://10.0.0.236/trunk@27869 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:00:50 +00:00
rhp%netscape.com
f4aa90e911 Removal of old file
git-svn-id: svn://10.0.0.236/trunk@27868 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 19:00:44 +00:00
slamm%netscape.com
0367783862 Do not rely on PATH to load included scripts. Fix for BSDI bug #5189.
git-svn-id: svn://10.0.0.236/trunk@27867 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:46:54 +00:00
alecf%netscape.com
42adae0449 return rv rather than losing the return value
git-svn-id: svn://10.0.0.236/trunk@27866 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:46:08 +00:00
alecf%netscape.com
43fb100c0b bulletproof the nsMsgAccount object
git-svn-id: svn://10.0.0.236/trunk@27865 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:44:53 +00:00
hyatt%netscape.com
155c538230 Web shell window now implements the nsIBrowserWindow interface, which will enable it to support window.xxx() calls from JavaScript (eventually).
git-svn-id: svn://10.0.0.236/trunk@27864 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:40:27 +00:00
hyatt%netscape.com
288fc7c08c Changing the browser window retriever method so that it can cross the chrome/content boundary.
git-svn-id: svn://10.0.0.236/trunk@27863 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:39:18 +00:00
buster%netscape.com
a907540332 factored out re-parenting of content into MoveContentIntoNewParent
WIP on font handling.


git-svn-id: svn://10.0.0.236/trunk@27862 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:29:12 +00:00
warren%netscape.com
bccc618969 Fixed up ftp implementation for event queue arguemnt to NewConnection.
git-svn-id: svn://10.0.0.236/trunk@27861 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:18:38 +00:00
warren%netscape.com
122ce55438 Made instance variables protected so that we can subclass.
git-svn-id: svn://10.0.0.236/trunk@27860 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:16:21 +00:00
pinkerton%netscape.com
8508de63bd fix bustage again. I am a complete and total moron.
git-svn-id: svn://10.0.0.236/trunk@27859 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:14:22 +00:00
waterson%netscape.com
dc401311cb Bug 5182. Use whitespace instead of ## in NS_FORWARD macros.
git-svn-id: svn://10.0.0.236/trunk@27858 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:08:43 +00:00
waterson%netscape.com
c9c22003bd Bug 5182. Use whitespace instead of ## in NS_FORWARD macros. a=vidur.
git-svn-id: svn://10.0.0.236/trunk@27857 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:08:20 +00:00
pinkerton%netscape.com
56f5e95732 fix bustage
git-svn-id: svn://10.0.0.236/trunk@27856 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:07:51 +00:00
warren%netscape.com
fa7bb2acba Added event queue argument for connection creation. Started http state machine.
git-svn-id: svn://10.0.0.236/trunk@27855 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 18:00:17 +00:00
law%netscape.com
855b59ae6e Add File->Open support and some null-pointer defenses
git-svn-id: svn://10.0.0.236/trunk@27854 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 17:46:51 +00:00
waterson%netscape.com
c3453bb3c2 Removed extra newline in makefile.
git-svn-id: svn://10.0.0.236/trunk@27853 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 17:37:16 +00:00
mcafee%netscape.com
f9749ea7b7 Removing //#define NEW_CLIPBOARD_SUPPORT
git-svn-id: svn://10.0.0.236/trunk@27852 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 17:36:33 +00:00
buster%netscape.com
8d681c77b4 turned off noisy debug flag.
git-svn-id: svn://10.0.0.236/trunk@27851 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 17:31:39 +00:00
pinkerton%netscape.com
3abd6f90b8 added classes for tristate checkbox.
git-svn-id: svn://10.0.0.236/trunk@27850 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 17:15:43 +00:00
pinkerton%netscape.com
33246de928 No longer inherits from the form widget base class. Beginnings of starting to draw and handle clicks correctly.
git-svn-id: svn://10.0.0.236/trunk@27849 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 17:14:35 +00:00
sspitzer%netscape.com
f5ed4ee0b5 removing msgbar.xul
git-svn-id: svn://10.0.0.236/trunk@27848 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 17:13:22 +00:00
pinkerton%netscape.com
a9930a1b1b added code to create a tristatecheckbox when seen in xul.
git-svn-id: svn://10.0.0.236/trunk@27847 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 17:08:16 +00:00
pinkerton%netscape.com
7d5292ac1f add tristatecheckbox to atom list.
git-svn-id: svn://10.0.0.236/trunk@27846 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 17:07:48 +00:00
ramiro%netscape.com
1b8b7691ca More event cleanup. Move button and crossing events into nsWidget.
git-svn-id: svn://10.0.0.236/trunk@27845 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 14:33:52 +00:00
rods%netscape.com
0e781fd31d Added Folder picker
git-svn-id: svn://10.0.0.236/trunk@27844 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 13:58:40 +00:00
ramiro%netscape.com
00e72ff1a4 First part of event cleanup checkins. Move the motion event handler into
the widget superclass and provide methods to install it and catch signals
dispatch by the GtkWidget.  The actual handling is done in a virtual
method, which subclasses can override.


git-svn-id: svn://10.0.0.236/trunk@27843 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 10:20:44 +00:00
waterson%netscape.com
b1e3a8fe69 Added .get()'s to fix Mac.
git-svn-id: svn://10.0.0.236/trunk@27842 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:44:47 +00:00
waterson%netscape.com
64707e3f46 Added new test files.
git-svn-id: svn://10.0.0.236/trunk@27841 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:39:42 +00:00
waterson%netscape.com
218f5ae5b8 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@27840 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:39:29 +00:00
waterson%netscape.com
92c0ce188f Code cleanup.
git-svn-id: svn://10.0.0.236/trunk@27839 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:39:02 +00:00
waterson%netscape.com
47e61d5870 Implemented several new DOM methods, including document.createElement() and document.createTextNode(). Fixed some bugs in the XUL content model builder. Code re-organization and cleanup.
git-svn-id: svn://10.0.0.236/trunk@27838 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:38:17 +00:00
waterson%netscape.com
1813e162f2 Removed a frivolous assert.
git-svn-id: svn://10.0.0.236/trunk@27837 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:36:56 +00:00
waterson%netscape.com
696d881e49 Use 'ns' instead of 'namespace' just to be paranoid about C++ keywords.
git-svn-id: svn://10.0.0.236/trunk@27836 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:35:03 +00:00
hyatt%netscape.com
6f332240b4 Added support for chrome vs. content in the webshell. Altered some methods
so that they know how to go across the chrome vs. content boundary.


git-svn-id: svn://10.0.0.236/trunk@27835 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:15:04 +00:00
hyatt%netscape.com
959664b9f7 Landing (inside an INCLUDE_XUL ifdef) the code that checks for and sets
the type of the web shell (to distinguish chrome frames from content
frames).


git-svn-id: svn://10.0.0.236/trunk@27834 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:14:28 +00:00
hyatt%netscape.com
7905c324b4 Removing the SetParent to null hack on the content iframe. This causes all
sorts of things to break.  Landing the real fix for this problem.


git-svn-id: svn://10.0.0.236/trunk@27833 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:13:48 +00:00
hyatt%netscape.com
893d15c791 The web shell window sets the outermost webshell's type to be chrome.
git-svn-id: svn://10.0.0.236/trunk@27832 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:12:44 +00:00
hyatt%netscape.com
97401ab357 Fixing the XUL file to support the new sandboxing syntax.
git-svn-id: svn://10.0.0.236/trunk@27831 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 08:12:11 +00:00
ramiro%netscape.com
766ecfa8ba someone forgot a makefile.
git-svn-id: svn://10.0.0.236/trunk@27830 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 07:42:06 +00:00
hyatt%netscape.com
c13d4d5cd3 Oops. Not right fix. Backing out.
git-svn-id: svn://10.0.0.236/trunk@27829 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 07:41:35 +00:00
hyatt%netscape.com
5b9933a454 Fix for bug #5129.
git-svn-id: svn://10.0.0.236/trunk@27828 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 07:38:18 +00:00
sspitzer%netscape.com
0719de041a remove my cruft
git-svn-id: svn://10.0.0.236/trunk@27827 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 05:55:58 +00:00
bienvenu%netscape.com
b3e67bdda2 fix line buffering code
git-svn-id: svn://10.0.0.236/trunk@27826 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 05:37:04 +00:00
michaelp%netscape.com
729aeca8be oops. union works better than intersect...
git-svn-id: svn://10.0.0.236/trunk@27825 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 05:19:45 +00:00
sspitzer%netscape.com
5280735573 pass 1 at internationalizing the mail news xul.
git-svn-id: svn://10.0.0.236/trunk@27824 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:56:03 +00:00
briano%netscape.com
86dc65d2b1 Automated update
git-svn-id: svn://10.0.0.236/trunk@27823 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:50:17 +00:00
michaelp%netscape.com
5669c172c3 added GetExtents().
git-svn-id: svn://10.0.0.236/trunk@27822 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:50:02 +00:00
briano%netscape.com
04a1f79935 Fixes for 4179, 5156, and part of 5157.
git-svn-id: svn://10.0.0.236/trunk@27821 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:49:49 +00:00
ducarroz%netscape.com
7aa2033a13 fix build problem on windows
git-svn-id: svn://10.0.0.236/trunk@27820 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:46:20 +00:00
michaelp%netscape.com
8e8857351f added zooming front end.
git-svn-id: svn://10.0.0.236/trunk@27819 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:25:17 +00:00
michaelp%netscape.com
b1151158bc modified for new view flags.
git-svn-id: svn://10.0.0.236/trunk@27818 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:24:14 +00:00
michaelp%netscape.com
d8c7e182c0 cleaned up view flags stuff.
git-svn-id: svn://10.0.0.236/trunk@27817 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:23:43 +00:00
sspitzer%netscape.com
6197498d00 changes to port profiles to UNIX
git-svn-id: svn://10.0.0.236/trunk@27816 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:20:15 +00:00
sspitzer%netscape.com
a5dbafd856 add this to the list of idl files to export
git-svn-id: svn://10.0.0.236/trunk@27815 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:19:09 +00:00
sspitzer%netscape.com
953773bf68 workf for porting profiles to UNIX
git-svn-id: svn://10.0.0.236/trunk@27814 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:18:07 +00:00
bruce%cybersight.com
d931354278 Add newline at end of file for native compilers.
git-svn-id: svn://10.0.0.236/trunk@27813 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 04:06:04 +00:00
bruce%cybersight.com
ad391c9058 Fix for ANSI C++ violation. Clipboard data was passed in a void* and the GTK fu
nction wanted an unsigned char*.  That type of implicit conversion is not permis
sible in ANSI C++. This was breaking most of the unix builds with commercial com
pilers (AIX, Solaris, HP-UX).


git-svn-id: svn://10.0.0.236/trunk@27812 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 03:58:07 +00:00
briano%netscape.com
3102043628 Automated update
git-svn-id: svn://10.0.0.236/trunk@27811 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 03:44:39 +00:00
ducarroz%netscape.com
d321807120 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27810 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 03:37:21 +00:00
ducarroz%netscape.com
9e87185b8a remove hard coded constant MESSAGE_PATH_URL, and use instance of it a string which it build at run time. Now we can use relative as well as absolute path.
git-svn-id: svn://10.0.0.236/trunk@27809 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 03:32:36 +00:00
ramiro%netscape.com
0e5ff2933f Only works on Linux for some reason.
git-svn-id: svn://10.0.0.236/trunk@27808 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 03:32:17 +00:00
beard%netscape.com
21e42713f2 added libxpt, xpconnect MANIFEST files, added libxpt.mcp, XPConnect.mcp.
git-svn-id: svn://10.0.0.236/trunk@27807 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 03:07:38 +00:00
beard%netscape.com
d06cce81e5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27806 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 03:06:12 +00:00
jj%netscape.com
baeb1f638e fix for #5128 : change fragment name
git-svn-id: svn://10.0.0.236/trunk@27805 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 03:00:10 +00:00
briano%netscape.com
f28cadc383 Automated update
git-svn-id: svn://10.0.0.236/trunk@27804 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:59:39 +00:00
rogerl%netscape.com
28cb2e838e Sample driver for IR factory
git-svn-id: svn://10.0.0.236/trunk@27803 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:55:36 +00:00
ramiro%netscape.com
0a46d25a1b Make it not break on systems where 'make' is not gnu make.
git-svn-id: svn://10.0.0.236/trunk@27802 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:55:02 +00:00
rogerl%netscape.com
382f120d73 Changes for try/catch handling
git-svn-id: svn://10.0.0.236/trunk@27801 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:54:56 +00:00
briano%netscape.com
b99ddd43a7 Automated update
git-svn-id: svn://10.0.0.236/trunk@27800 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:44:40 +00:00
rhp%netscape.com
f643fb18a1 Just some sanity checking on the emitter object
git-svn-id: svn://10.0.0.236/trunk@27799 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:39:30 +00:00
ramiro%netscape.com
bfbca9e7fb Make sure NSPR always builds with make and not make -jX (X > 1). NSPR cant
handle -jX builds because of the OBJDIR dependencies.


git-svn-id: svn://10.0.0.236/trunk@27798 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:39:00 +00:00
mscott%netscape.com
c7b4dc7cff Add some specific info about the folder we just discovered.
git-svn-id: svn://10.0.0.236/trunk@27797 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:24:23 +00:00
mscott%netscape.com
ff37f34b59 Porting/coding many of the protocol functions for issuing commands to discover mailboxes. Including: FindMailboxesIfNecessary, DiscoverMailboxList, FolderNeedsACLInitialized, MailboxDiscoveryFinished, Createmailbox, CreateMailboxRespectingSubscriptions, Lsub, List and others.
git-svn-id: svn://10.0.0.236/trunk@27796 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:23:36 +00:00
mscott%netscape.com
730e2c92e7 Fix a couple of crashes i was having involing memory management of the name mailbox spec's name space object.
git-svn-id: svn://10.0.0.236/trunk@27795 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:19:15 +00:00
mscott%netscape.com
5652d8de88 fix more off by one crashes when iterating through name space list.
git-svn-id: svn://10.0.0.236/trunk@27794 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:17:46 +00:00
mscott%netscape.com
d4bca820d9 Changed signatures of AllocateServerpath and AddOnlinedirectoryIfNecessary so they could be methods from the interface.
git-svn-id: svn://10.0.0.236/trunk@27793 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:16:50 +00:00
mscott%netscape.com
79fcf192b0 Add AllocateServerpath and AddOnlinedirectoryIfNecessary to the interface.
git-svn-id: svn://10.0.0.236/trunk@27792 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:15:22 +00:00
beard%netscape.com
01376e94c6 added IID accessor, changed GetJavaClass() to have a JNIEnv* parameter, no longer inherits from nsIPlugin.
git-svn-id: svn://10.0.0.236/trunk@27791 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:10:05 +00:00
beard%netscape.com
339c93d08f added IID accessor, added GetJavaEnv() method.
git-svn-id: svn://10.0.0.236/trunk@27790 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:08:50 +00:00
beard%netscape.com
0f4244e2d0 added IID accessor, changed GetJavaClass() to have a JNIEnv* parameter.
git-svn-id: svn://10.0.0.236/trunk@27789 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:08:15 +00:00
rhp%netscape.com
b181169ce3 Changes for better header display
git-svn-id: svn://10.0.0.236/trunk@27788 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:06:05 +00:00
troy%netscape.com
7e32c40fb9 Files were renamed
git-svn-id: svn://10.0.0.236/trunk@27787 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:01:35 +00:00
bienvenu%netscape.com
7c7f639c1d add debug info for line parser
git-svn-id: svn://10.0.0.236/trunk@27786 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:00:32 +00:00
bienvenu%netscape.com
95fffff059 let everyone see their inbox
git-svn-id: svn://10.0.0.236/trunk@27785 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:00:01 +00:00
briano%netscape.com
e3a661be5a Dammit, I made the same stupid mistake again....
git-svn-id: svn://10.0.0.236/trunk@27784 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 01:57:00 +00:00
troy%netscape.com
71670ad4b5 Renamed filename because it was too long for the Mac
git-svn-id: svn://10.0.0.236/trunk@27782 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 01:42:51 +00:00
troy%netscape.com
0850d65def added files: mozilla/layout/html/base/src/nsAbsoluteContainingBlock.cpp
git-svn-id: svn://10.0.0.236/trunk@27781 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 01:42:17 +00:00
troy%netscape.com
7bf77ac3cb removed files: mozilla/layout/html/base/src/nsAbsolutelyPositionedContainer.cpp
git-svn-id: svn://10.0.0.236/trunk@27780 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 01:41:20 +00:00
troy%netscape.com
23857b8804 removed files: mozilla/layout/html/base/src/nsAbsolutelyPositionedContainer.cpp
git-svn-id: svn://10.0.0.236/trunk@27779 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 01:40:56 +00:00
troy%netscape.com
1203004619 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@27778 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 01:39:45 +00:00
troy%netscape.com
a4b600890d Initial check in
git-svn-id: svn://10.0.0.236/trunk@27777 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 01:39:34 +00:00
sfraser%netscape.com
7b61ac400b Fix weird linkage stuff with stubs for the missing symbols.
git-svn-id: svn://10.0.0.236/trunk@27776 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 01:26:36 +00:00
alecf%netscape.com
dc767df4ce clean up memory leaks
git-svn-id: svn://10.0.0.236/trunk@27775 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:55:04 +00:00
sspitzer%netscape.com
179a159932 correctly fix bustage
git-svn-id: svn://10.0.0.236/trunk@27774 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:44:36 +00:00
sspitzer%netscape.com
e5bd87201b fixing UNIX bustage
git-svn-id: svn://10.0.0.236/trunk@27773 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:37:43 +00:00
alecf%netscape.com
32119cb129 add a few more attributes to nsMsgIncomingServer
git-svn-id: svn://10.0.0.236/trunk@27772 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:36:52 +00:00
rhp%netscape.com
a59e6e3855 Fix to ignore BSD Mailbox delimiters
git-svn-id: svn://10.0.0.236/trunk@27771 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:35:42 +00:00
alecf%netscape.com
99fa6dfd46 update these interfaces and headers - no more dependancies on nsIPref.h
git-svn-id: svn://10.0.0.236/trunk@27770 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:35:09 +00:00
rhp%netscape.com
4aa14ab758 Adding some mail headers
git-svn-id: svn://10.0.0.236/trunk@27769 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:35:08 +00:00
sspitzer%netscape.com
3002914695 whoops.
git-svn-id: svn://10.0.0.236/trunk@27768 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:33:18 +00:00
alecf%netscape.com
3fe791bec0 since nsIMsgAccountManager doesn't use nsIPref.h anymore, include it here
git-svn-id: svn://10.0.0.236/trunk@27767 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:32:59 +00:00
sspitzer%netscape.com
06f8cd0704 fix a warning and UNIX build bustage
git-svn-id: svn://10.0.0.236/trunk@27766 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:31:13 +00:00
alecf%netscape.com
c1d220b2b8 since nsIPref.h got removed from the interface, include it here
git-svn-id: svn://10.0.0.236/trunk@27765 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:30:57 +00:00
davidm%netscape.com
f6b6bd542f Fix problem where windows would quit after closing the window
git-svn-id: svn://10.0.0.236/trunk@27764 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:23:44 +00:00
wtc%netscape.com
6807332f25 Declare _PR_Unblock_IO_Wait.
git-svn-id: svn://10.0.0.236/trunk@27763 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:17:46 +00:00
wtc%netscape.com
5f9abe1e5c Bugzilla bug #146: cast unsigned to signed type before applying the
unary minus operator to get rid of a compiler warning.  Thanks to
rick@rixsoft.com for the bug report.


git-svn-id: svn://10.0.0.236/trunk@27762 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:15:12 +00:00
mcmullen%netscape.com
32d6b82700 Fix the target name in the optimized project.
git-svn-id: svn://10.0.0.236/trunk@27761 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:12:27 +00:00
troy%netscape.com
3f9ce23a08 New class nsAbsolutelyPositionedContainer
git-svn-id: svn://10.0.0.236/trunk@27760 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:08:59 +00:00
troy%netscape.com
dd13525ece added files: mozilla/layout/html/base/src/nsAbsolutelyPositionedContainer.cpp
git-svn-id: svn://10.0.0.236/trunk@27758 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:07:43 +00:00
troy%netscape.com
0a62575dca added files: mozilla/layout/html/base/src/nsAbsolutelyPositionedContainer.cpp
git-svn-id: svn://10.0.0.236/trunk@27757 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:07:22 +00:00
bienvenu%netscape.com
279812e151 use protocol instance instead of member variable, get imap db opening to work
git-svn-id: svn://10.0.0.236/trunk@27752 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 23:59:58 +00:00
bienvenu%netscape.com
60083b92aa fixes for getting imap database open
git-svn-id: svn://10.0.0.236/trunk@27749 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 23:56:34 +00:00
troy%netscape.com
5efc641ed6 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@27747 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 23:55:04 +00:00
sfraser%netscape.com
04cfdf2fb6 Fix the output directories for the range and selection files.
git-svn-id: svn://10.0.0.236/trunk@27746 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 23:46:48 +00:00
sfraser%netscape.com
5ba6c0bade File Removed.
git-svn-id: svn://10.0.0.236/trunk@27745 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 23:46:12 +00:00
nhotta%netscape.com
b441d06181 Activating charset menu.
git-svn-id: svn://10.0.0.236/trunk@27744 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 23:40:18 +00:00
radha%netscape.com
9abe20a656 Call into BrowserAppcore for Back & Forward instead of calling javascript
git-svn-id: svn://10.0.0.236/trunk@27743 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 23:30:49 +00:00
sspitzer%netscape.com
c1b35dea80 cvs ignorage for the Makefiles that get created on UNIX
git-svn-id: svn://10.0.0.236/trunk@27741 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:56:15 +00:00
sspitzer%netscape.com
5e9350216a cvs ignorage for the Makefile that gets created on UNIX
git-svn-id: svn://10.0.0.236/trunk@27739 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:55:16 +00:00
mcmullen%netscape.com
9222fbeae3 Added build "most" option, timestamped error logs, and made the "dist" flag really control building of dist.
git-svn-id: svn://10.0.0.236/trunk@27735 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:50:18 +00:00
mcmullen%netscape.com
17ed358071 Added build "most" option, timestamped error logs, and made the "dist" flag really control building of dist.
git-svn-id: svn://10.0.0.236/trunk@27734 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:49:51 +00:00
radha%netscape.com
563fd9fd05 Call nsWebShell's Back() and Forward().nstead of Javascript's. Make sure
that urls that are
entered manually in the urlbar go to the history list maintained by
nsWebShell.


git-svn-id: svn://10.0.0.236/trunk@27731 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:46:38 +00:00
mcmullen%netscape.com
5b8571f744 Moved the system and special directory enums into disjoint ranges, so that nsIFileLocator can retrieve both.
git-svn-id: svn://10.0.0.236/trunk@27730 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:45:47 +00:00
mcmullen%netscape.com
b963993c1b Fixed up use of filespec, various small fixes.
git-svn-id: svn://10.0.0.236/trunk@27729 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:45:46 +00:00
mcmullen%netscape.com
d72c0d8397 Fixed up the API to use filespec properly.
git-svn-id: svn://10.0.0.236/trunk@27728 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:45:45 +00:00
mcmullen%netscape.com
79ce759b02 Added profile to the Macintosh build
git-svn-id: svn://10.0.0.236/trunk@27727 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:45:44 +00:00
mcmullen%netscape.com
037ef0b96d Turned on profiles for macintosh
git-svn-id: svn://10.0.0.236/trunk@27726 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:45:43 +00:00
mcmullen%netscape.com
fcb1e2c0c6 Profile directory support - all platforms
git-svn-id: svn://10.0.0.236/trunk@27725 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:45:42 +00:00
mcmullen%netscape.com
6c95e9339f Added unix home directory
git-svn-id: svn://10.0.0.236/trunk@27724 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:45:41 +00:00
mcmullen%netscape.com
e9105e5946 Added build "most" option, timestamped error logs, and made the "dist" flag really control building of dist.
git-svn-id: svn://10.0.0.236/trunk@27722 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:42:18 +00:00
wtc%netscape.com
910f9232e8 Removed unused variables LIBNSPR and PURELIBNSPR.
git-svn-id: svn://10.0.0.236/trunk@27718 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:19:41 +00:00
law%netscape.com
094823bc38 Fixing default URL
git-svn-id: svn://10.0.0.236/trunk@27716 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 22:11:12 +00:00
mcmullen%netscape.com
1d7a796ea0 Get rid of those damned semicolons.
git-svn-id: svn://10.0.0.236/trunk@27715 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:59:56 +00:00
beard%netscape.com
aa681ad465 added added nsJSPlugin.cpp, nsJSPluginArray.cpp, nsJSMimeTypeArray.cpp, nsJSMimeType.cpp
git-svn-id: svn://10.0.0.236/trunk@27714 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:56:30 +00:00
beard%netscape.com
e4224863c6 regenerated from Navigator.idl
git-svn-id: svn://10.0.0.236/trunk@27713 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:54:14 +00:00
bienvenu%netscape.com
f22fa9485c issue select statement to server and try to open imap db
git-svn-id: svn://10.0.0.236/trunk@27712 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:54:10 +00:00
beard%netscape.com
64e859a5b3 added nsJSPlugin.cpp, nsJSPluginArray.cpp, nsJSMimeTypeArray.cpp, nsJSMimeType.cpp
git-svn-id: svn://10.0.0.236/trunk@27711 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:52:10 +00:00
mcafee%netscape.com
c836a4a3e5 Minor formatting.
git-svn-id: svn://10.0.0.236/trunk@27710 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:49:36 +00:00
mcafee%netscape.com
a46836e7ab New clipboard stuff, still off by default. --enable-new-clipboard turns this on.
git-svn-id: svn://10.0.0.236/trunk@27709 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:48:09 +00:00
mcafee%netscape.com
1c0b0ec243 Remove windows call from XP code.
git-svn-id: svn://10.0.0.236/trunk@27708 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:45:22 +00:00
beard%netscape.com
30551590f9 Added NavigatorImpl::GetMimeTypes/GetPlugins
git-svn-id: svn://10.0.0.236/trunk@27707 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:44:18 +00:00
beard%netscape.com
ff41e82959 added generated includes nsIDOMMimeType.h, nsIDOMMimeTypeArray.h, nsIDOMPlugin.h, nsIDOMPluginArray.h
git-svn-id: svn://10.0.0.236/trunk@27706 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:42:54 +00:00
alecf%netscape.com
f232c98b36 rev these files
git-svn-id: svn://10.0.0.236/trunk@27705 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:33:10 +00:00
law%netscape.com
9dd71c2482 Adding viewSource.xul for viewing html source
git-svn-id: svn://10.0.0.236/trunk@27704 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:28:55 +00:00
alecf%netscape.com
18b9633880 rev this interface
git-svn-id: svn://10.0.0.236/trunk@27703 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:27:11 +00:00
law%netscape.com
e94ff12d6b Adding ShowWindowWithArgs to toolkit core
git-svn-id: svn://10.0.0.236/trunk@27702 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:24:37 +00:00
peterl%netscape.com
ae015c0f0f split font style mapping from regular style mapping
git-svn-id: svn://10.0.0.236/trunk@27701 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:23:05 +00:00
peterl%netscape.com
11d75ffff2 fixed pseudo element parsing
git-svn-id: svn://10.0.0.236/trunk@27700 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:22:41 +00:00
peterl%netscape.com
dc769613ae fixed XUL code for removal of root element
git-svn-id: svn://10.0.0.236/trunk@27699 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:22:19 +00:00
putterman%netscape.com
80857a05d7 Added NewFolder.
git-svn-id: svn://10.0.0.236/trunk@27698 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:14:40 +00:00
putterman%netscape.com
5caa8f6acd Remove xp.h and removed a printf.
git-svn-id: svn://10.0.0.236/trunk@27697 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:13:59 +00:00
putterman%netscape.com
0f33cbda07 Added NewFolder
git-svn-id: svn://10.0.0.236/trunk@27696 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:12:10 +00:00
tague%netscape.com
8fd41f2412 Updated Mac and Linux side of things.
git-svn-id: svn://10.0.0.236/trunk@27695 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:08:27 +00:00
law%netscape.com
10a69c8e6a Add support for setting IDLSRCS on command line
git-svn-id: svn://10.0.0.236/trunk@27694 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:02:10 +00:00
shaver%netscape.com
3a29a0c15e fix DEFINE_RDF_VOCAB
git-svn-id: svn://10.0.0.236/trunk@27693 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:01:11 +00:00
tague%netscape.com
5a64189482 Updated support for GetSystemLocale and GetApplicationLocale
git-svn-id: svn://10.0.0.236/trunk@27692 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:00:16 +00:00
law%netscape.com
cda7f11e72 Set proper OK result in GetFile
git-svn-id: svn://10.0.0.236/trunk@27691 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:00:11 +00:00
harishd%netscape.com
64a8c2ce0a Fix for build breakage
git-svn-id: svn://10.0.0.236/trunk@27690 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:59:41 +00:00
bienvenu%netscape.com
2ca003e0ee put printf giving AIX trouble inside #ifdef
git-svn-id: svn://10.0.0.236/trunk@27689 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:59:33 +00:00
harishd%netscape.com
42f76454d0 Fix for the build breakage.
git-svn-id: svn://10.0.0.236/trunk@27687 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:57:23 +00:00
putterman%netscape.com
ddf6dce45c Fixed some build problems on Windows.
git-svn-id: svn://10.0.0.236/trunk@27686 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:56:34 +00:00
akkana%netscape.com
c07dbb012d Get rid of selection cursor for Unix now that caret is working
git-svn-id: svn://10.0.0.236/trunk@27685 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:42:53 +00:00
nhotta%netscape.com
8000cb11c3 Function name changed.
git-svn-id: svn://10.0.0.236/trunk@27683 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:42:16 +00:00
kipp%netscape.com
da6c66f6f9 Fixed to handle destroy callbacks better to unwind connections to image lib
git-svn-id: svn://10.0.0.236/trunk@27675 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:34:44 +00:00
sspitzer%netscape.com
ed518de0d5 changes to put a "." in front of the features that aren't implemented yet
git-svn-id: svn://10.0.0.236/trunk@27671 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:29:01 +00:00
sspitzer%netscape.com
fb2876ccef changes for the post to newsgroup work
git-svn-id: svn://10.0.0.236/trunk@27670 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:26:56 +00:00
nhotta%netscape.com
49bca60a02 Added a converter wrapper function plus clean up.
git-svn-id: svn://10.0.0.236/trunk@27669 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:26:11 +00:00
sspitzer%netscape.com
fafdd8c47c added files: mozilla/mailnews/compose/src/nsMsgPost.cpp
git-svn-id: svn://10.0.0.236/trunk@27667 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:23:14 +00:00
mcmullen%netscape.com
89d93ebaf5 Added profile and profile/public. TBD: profile/src
git-svn-id: svn://10.0.0.236/trunk@27665 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:21:48 +00:00
sspitzer%netscape.com
958551c689 changes for the post to newsgroup work
git-svn-id: svn://10.0.0.236/trunk@27664 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:21:03 +00:00
sfraser%netscape.com
e6296a153a Adapt to fixed selection interface
git-svn-id: svn://10.0.0.236/trunk@27662 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:20:12 +00:00
mcmullen%netscape.com
28926c9903 Adding profile to the build
git-svn-id: svn://10.0.0.236/trunk@27660 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:19:50 +00:00
sfraser%netscape.com
9258c252c1 Adapt to fixed selection interfaces.
git-svn-id: svn://10.0.0.236/trunk@27659 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:19:34 +00:00
sfraser%netscape.com
7ec6297b08 Implement the ScriptObjectOwner interface, and adapt to fixed selection interfaces.
git-svn-id: svn://10.0.0.236/trunk@27658 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:19:26 +00:00
mcmullen%netscape.com
85e63bee20 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27657 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:19:20 +00:00
sspitzer%netscape.com
1226965a67 put a "." before menu items that aren't implemented yet.
start the localization work.
changes for the post to newsgroup work.


git-svn-id: svn://10.0.0.236/trunk@27656 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:19:14 +00:00
sfraser%netscape.com
6817b20116 Fix QI failure return value (!NS_OK is bad!)
git-svn-id: svn://10.0.0.236/trunk@27654 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:18:47 +00:00
harishd%netscape.com
a6a91d3162 Modified methods BeginContext() and EndContext()
to handle illega-contents in tables


git-svn-id: svn://10.0.0.236/trunk@27653 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:18:34 +00:00
sfraser%netscape.com
a17c9ed315 Add range getter methods (regenerated from IDL file).
git-svn-id: svn://10.0.0.236/trunk@27651 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:18:15 +00:00
sspitzer%netscape.com
20d60f8f73 changes for newly generated header
git-svn-id: svn://10.0.0.236/trunk@27650 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:18:02 +00:00
sfraser%netscape.com
89a55ba767 Link with the range library
git-svn-id: svn://10.0.0.236/trunk@27649 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:17:57 +00:00
sspitzer%netscape.com
4d6d71a62c changes for newly generated headers
git-svn-id: svn://10.0.0.236/trunk@27648 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:17:36 +00:00
sfraser%netscape.com
00ad85d5d9 Added mozilla/dom/src/range makefile
git-svn-id: svn://10.0.0.236/trunk@27646 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:17:20 +00:00
sfraser%netscape.com
b35deb9780 Add the range subdirectory
git-svn-id: svn://10.0.0.236/trunk@27645 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:17:02 +00:00
sfraser%netscape.com
c0cbb46948 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27643 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:16:44 +00:00
sspitzer%netscape.com
a9757a8128 checking in newly generated header
git-svn-id: svn://10.0.0.236/trunk@27642 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:16:35 +00:00
sfraser%netscape.com
b465d8ab8c Add range JS glue files to project
git-svn-id: svn://10.0.0.236/trunk@27641 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:16:31 +00:00
harishd%netscape.com
99e69cd449 For handling illegal-contents in tables
git-svn-id: svn://10.0.0.236/trunk@27640 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:16:24 +00:00
sfraser%netscape.com
363d4cdb38 Formatting change
git-svn-id: svn://10.0.0.236/trunk@27638 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:15:04 +00:00
harishd%netscape.com
3900f50744 Added method for popping attribute tokens
git-svn-id: svn://10.0.0.236/trunk@27637 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:14:59 +00:00
sfraser%netscape.com
b1751b8777 Comment out troublesome routine with multiple out params
git-svn-id: svn://10.0.0.236/trunk@27636 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:14:54 +00:00
sspitzer%netscape.com
bfe4fbaab5 more changes for the post to newsgroup work
git-svn-id: svn://10.0.0.236/trunk@27635 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:14:10 +00:00
harishd%netscape.com
2ac469a43a Adding support for handling illegal-contents in table
git-svn-id: svn://10.0.0.236/trunk@27634 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:14:05 +00:00
sfraser%netscape.com
997d00eeef Add Test Selection and Test Document to Debug menu
git-svn-id: svn://10.0.0.236/trunk@27633 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:14:00 +00:00
harishd%netscape.com
187ffbd764 Adding method HandleSavedTokens().
git-svn-id: svn://10.0.0.236/trunk@27631 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:13:38 +00:00
sfraser%netscape.com
924cd17f8e Implement GetDocument and GetSelection
git-svn-id: svn://10.0.0.236/trunk@27630 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:13:30 +00:00
sspitzer%netscape.com
9fb22d73af checking in newly generated header files
git-svn-id: svn://10.0.0.236/trunk@27629 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:13:12 +00:00
sfraser%netscape.com
23e423235b Don't generate link map in debug build
git-svn-id: svn://10.0.0.236/trunk@27628 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:12:57 +00:00
harishd%netscape.com
99d584608f Added methods to support illegal-contents
git-svn-id: svn://10.0.0.236/trunk@27627 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:12:41 +00:00
harishd%netscape.com
cacfc36761 Replaced eHTMLTags stack to nsDeque and
Added methods to support bad-contents.


git-svn-id: svn://10.0.0.236/trunk@27625 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:11:46 +00:00
sspitzer%netscape.com
d62354ce5e checking in newly generated headers
git-svn-id: svn://10.0.0.236/trunk@27624 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:11:33 +00:00
warren%netscape.com
2dc75f9664 Fixed up RemoveElement returning bool problem.
git-svn-id: svn://10.0.0.236/trunk@27623 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:11:21 +00:00
harishd%netscape.com
889fe85867 Setting Bit kBadContentWatch for table related
tags.


git-svn-id: svn://10.0.0.236/trunk@27620 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:10:11 +00:00
harishd%netscape.com
d3be3dbb43 Added Bit kBadContentWatch
git-svn-id: svn://10.0.0.236/trunk@27619 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:09:40 +00:00
harishd%netscape.com
cfd65d2ef9 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@27617 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:08:49 +00:00
harishd%netscape.com
3b1e086b68 Added Methods BeginContext() and EndContext()
to handle illegal-contents in tables


git-svn-id: svn://10.0.0.236/trunk@27615 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:08:04 +00:00
ducarroz%netscape.com
636b7a7452 add mailnews into build process for Mac. By default, mailnews if off even when build{all}=1, you must set build{mailnews}=1 in order to built messenger.
git-svn-id: svn://10.0.0.236/trunk@27614 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:07:37 +00:00
slamm%netscape.com
02e6182121 slight tweaks
git-svn-id: svn://10.0.0.236/trunk@27612 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:07:18 +00:00
av%netscape.com
499ab2af55 Fixing logic in Reflow for differrent objects. Still ifdefed out
git-svn-id: svn://10.0.0.236/trunk@27611 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:07:01 +00:00
sspitzer%netscape.com
c906f82773 check in the new generated header
git-svn-id: svn://10.0.0.236/trunk@27607 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:04:23 +00:00
sspitzer%netscape.com
8570780faa checking in new generated header
git-svn-id: svn://10.0.0.236/trunk@27606 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:03:27 +00:00
sspitzer%netscape.com
8a0133c7e0 add the missing goto's
git-svn-id: svn://10.0.0.236/trunk@27605 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:01:31 +00:00
slamm%netscape.com
ecd07ecb38 Update new purpose.
git-svn-id: svn://10.0.0.236/trunk@27604 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:01:20 +00:00
sspitzer%netscape.com
b1a27485e5 changes for posting to a newsgroup from msg compose
git-svn-id: svn://10.0.0.236/trunk@27602 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:59:31 +00:00
sfraser%netscape.com
b6e8d29832 Warning elimination (remove extra ; )
git-svn-id: svn://10.0.0.236/trunk@27597 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:54:27 +00:00
sfraser%netscape.com
599e620c9a Warning elimination (delete extra ; )
git-svn-id: svn://10.0.0.236/trunk@27595 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:53:35 +00:00
slamm%netscape.com
61d3fa3770 Add windows-style targets to PHONY.
git-svn-id: svn://10.0.0.236/trunk@27590 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:49:58 +00:00
pinkerton%netscape.com
903a757a31 add tristate checkbox to win/unix builds.
git-svn-id: svn://10.0.0.236/trunk@27587 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:44:28 +00:00
pinkerton%netscape.com
3e03325f41 add tristate checkbox to mac build.
git-svn-id: svn://10.0.0.236/trunk@27586 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:43:59 +00:00
pinkerton%netscape.com
6354391af5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27585 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:43:35 +00:00
pinkerton%netscape.com
25e0075d65 restore joki's fix for click events.
git-svn-id: svn://10.0.0.236/trunk@27584 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:42:44 +00:00
pinkerton%netscape.com
ec80374411 remove a stupid unwrapped debug printf and ifdef NS_DEBUG another.
git-svn-id: svn://10.0.0.236/trunk@27583 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:42:21 +00:00
dougt%netscape.com
9be6e244a8 Now using PL_* functions in nsprPath()
ifdef'ing the deallocation of nsprPath()


git-svn-id: svn://10.0.0.236/trunk@27582 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:39:23 +00:00
slamm%netscape.com
cf57f20813 Fix config-guess based object directory. Fix dependencies for configure. Finish removing nspr target.
git-svn-id: svn://10.0.0.236/trunk@27581 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:35:41 +00:00
slamm%netscape.com
b4e7eef2ae Do not support --enable-toolkit in Configurator because it is out of order.
git-svn-id: svn://10.0.0.236/trunk@27580 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:34:25 +00:00
slamm%netscape.com
b5fd947ff5 Add some whitespace to admin link at bottom.
git-svn-id: svn://10.0.0.236/trunk@27578 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:30:53 +00:00
slamm%netscape.com
84f4964d69 Add continue line to bottom.
git-svn-id: svn://10.0.0.236/trunk@27577 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:28:40 +00:00
buster%netscape.com
27b7c319e0 workaround for bug 4577
incremental reflows targeted at the cell frame that are not style changes
must really belong to the area frame inside the cell.  So they are now retargeted.


git-svn-id: svn://10.0.0.236/trunk@27576 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:28:11 +00:00
slamm%netscape.com
caf8c39f60 Add continue line to the bottom of the table. Maybe someone can add one to the top as well.
git-svn-id: svn://10.0.0.236/trunk@27575 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 19:23:44 +00:00
briano%netscape.com
c082023784 Automated update
git-svn-id: svn://10.0.0.236/trunk@27574 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 18:59:40 +00:00
alecf%netscape.com
67070568dc fix configure so that libIDL is now REQUIRED rather than just warning the user
git-svn-id: svn://10.0.0.236/trunk@27573 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 18:50:11 +00:00
mccabe%netscape.com
7af3e4b81f Enabling xpidl as a standard part of the unix and windows build. Changed checks against BUILD_XPIDL to the (as yet undefined) USE_XPIDL variable in libpref, rdf, xpfe/AppCores, to keep them from firing just yet. The BUILD_XPIDL-enabling machinery in configure.in is unchanged, but BUILD_XPIDL is unused for now.
See http://www.mozilla.org/scriptable/xpidl/ if this breaks you.


git-svn-id: svn://10.0.0.236/trunk@27572 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 18:28:27 +00:00
rogerl%netscape.com
a63de07fef # NOT A PART OF SEAMONKEY IN ANY WAY
Some new, some old filres copiedfrom Rhino to form start of prototyping
environment for Project Brenda


git-svn-id: svn://10.0.0.236/trunk@27571 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 18:24:00 +00:00
beard%netscape.com
6d738a5392 nsIJRILiveConnectPluginInstancePeer implementation
git-svn-id: svn://10.0.0.236/trunk@27570 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 17:13:01 +00:00
beard%netscape.com
6b048f5c2a added MRJPlugin.java, netscape.plugin.jar.
git-svn-id: svn://10.0.0.236/trunk@27569 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 17:11:12 +00:00
beard%netscape.com
5271f521f7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27568 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 17:10:37 +00:00
beard%netscape.com
3738fe4ef3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27567 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 16:57:04 +00:00
morse%netscape.com
950f92aa45 trying to put single singon back in once again
git-svn-id: svn://10.0.0.236/trunk@27566 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 14:21:00 +00:00
dveditz%netscape.com
da2eca81ec unfix until mac link problem can be dealt with
git-svn-id: svn://10.0.0.236/trunk@27565 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 12:33:06 +00:00
toshok%hungry.com
593373dbd6 add ::'s
git-svn-id: svn://10.0.0.236/trunk@27564 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 08:56:14 +00:00
toshok%hungry.com
edb559faa8 steal some drawing guts from ../motif
git-svn-id: svn://10.0.0.236/trunk@27563 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 08:54:51 +00:00
toshok%hungry.com
5eea9c2eda region code for xlib gfx.
git-svn-id: svn://10.0.0.236/trunk@27562 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 08:04:37 +00:00
dveditz%netscape.com
68462a4fe7 fixed typo in #ifdef Mac code
git-svn-id: svn://10.0.0.236/trunk@27561 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 07:18:34 +00:00
buster%netscape.com
149ccd1c08 initial check in for nsITextEditor unit test
git-svn-id: svn://10.0.0.236/trunk@27560 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 07:01:24 +00:00
buster%netscape.com
e20c7843d1 synched with nsITextEditor changes to text property methods
git-svn-id: svn://10.0.0.236/trunk@27559 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 06:16:12 +00:00
buster%netscape.com
86cc48f294 synched with changes to nsITextEditor text property methods
git-svn-id: svn://10.0.0.236/trunk@27558 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 06:11:16 +00:00
buster%netscape.com
07d8dd7a22 synched with text property API changes in nsITextEditor
git-svn-id: svn://10.0.0.236/trunk@27557 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 06:09:06 +00:00
buster%netscape.com
d7cdf20fb8 * beginnings of font handling. WIP, I did a big merge today and I'm checking in to synch up, not to announce new functionality here.
* added TextEditorTest.cpp, a unit test module for nsTextEditor.  It's use is actually commented out since my checkin is happening so late due
to all-day build bustage, and I don't have a Mac handy to verify.  With someone's Mac help tomorrow, I can turn it on.
* some minor bug fixes to property handling


git-svn-id: svn://10.0.0.236/trunk@27556 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 06:06:33 +00:00
briano%netscape.com
d79590a9d1 Automated update
git-svn-id: svn://10.0.0.236/trunk@27555 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 05:59:38 +00:00
ramiro%netscape.com
77e2b3d095 Fix typo. Setting MOZILLA_CLIENT force nspr to use user threads instead
of pthreds, which is bad.


git-svn-id: svn://10.0.0.236/trunk@27554 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 05:45:05 +00:00
morse%netscape.com
b3320d89bd restore original logic for setting MOZ_NO_WALLET_HACK which I believe was correct all along
git-svn-id: svn://10.0.0.236/trunk@27553 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 05:43:24 +00:00
dveditz%netscape.com
71f9d5be08 libreg threading and standalone fixes
git-svn-id: svn://10.0.0.236/trunk@27552 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 05:40:37 +00:00
bienvenu%netscape.com
57cd649463 fix a couple problems with folder selection...
git-svn-id: svn://10.0.0.236/trunk@27551 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 05:33:33 +00:00
hyatt%netscape.com
3ec1017096 Improving chrome URLs.
git-svn-id: svn://10.0.0.236/trunk@27550 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 05:24:57 +00:00
jefft%netscape.com
90a0b4e87c change thread priority back to normal
git-svn-id: svn://10.0.0.236/trunk@27549 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 05:21:57 +00:00
mcafee%netscape.com
e8761fa7b1 Fixing linux bustage.
git-svn-id: svn://10.0.0.236/trunk@27548 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 05:16:05 +00:00
briano%netscape.com
c60d7bb016 Automated update
git-svn-id: svn://10.0.0.236/trunk@27547 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 05:14:37 +00:00
ramiro%netscape.com
0c94111e9d Turn on support for building and using nspr as part of the seamonkey build.
YAY!


git-svn-id: svn://10.0.0.236/trunk@27546 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 05:14:19 +00:00
mscott%netscape.com
056177fdf8 Many changes to support logon, process authenticated state url, and process current url. Added monitor for new url to run. Moved thread code & monitor creation out of SetupUrl and into Initialize. LoadUrl now signals new url to run. Added ReadNextLineFromInput which efficiently extracts lines of data from a data buffer / input stream combination. This function may block if we need more data from the server. Added code to eat the greeting up the first time we get it. Implementation for authlogin, insecurelogin, tryLogon etc. Added implementation of processAuthenticatedStateUrl and broke it down into smaller components so the function wasn't so big. There's more, but I'm tired of typing and this checkin comment is getting too long.
git-svn-id: svn://10.0.0.236/trunk@27545 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 04:28:01 +00:00
mscott%netscape.com
8152de3f5f Many changes to help support process current url, logon and process authenticated state url. Get rid of m_dataBuf and replace it with separate input and output buffers. Add a monitor for detecting url ready to be run. Added many helper functions which are called by ProcessAuthenticatedStateUrl such as Capability, OnGetMailAccount, OnRefreshACLForFolder, etc.
git-svn-id: svn://10.0.0.236/trunk@27544 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 04:23:17 +00:00
mccabe%netscape.com
54e58b62ff Backwards-compatible versioned behavior for getYear(), for legacy scripts.
git-svn-id: svn://10.0.0.236/trunk@27542 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 04:09:22 +00:00
alecf%netscape.com
9fcec3d0cd fix build bustage (someone forgot to rename mWidget to sWidget)
git-svn-id: svn://10.0.0.236/trunk@27541 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:58:06 +00:00
alecf%netscape.com
a294f80555 augh. remove raptorbase for now because we're not using nsQuickSort just yet
git-svn-id: svn://10.0.0.236/trunk@27540 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:51:47 +00:00
mscott%netscape.com
bd7d037e8a add getter for imap required state
git-svn-id: svn://10.0.0.236/trunk@27539 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:35:28 +00:00
mscott%netscape.com
940078061c add getter for imap required state
git-svn-id: svn://10.0.0.236/trunk@27538 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:34:54 +00:00
mscott%netscape.com
785bfd9824 Add notion of a required imap state: authenticated or selected for the imap actions. Add an accessor for the required state. Setup the imap action enum such that the high bit is set for all actions which require us to be in the selected state.
git-svn-id: svn://10.0.0.236/trunk@27537 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:33:57 +00:00
jband%netscape.com
0853bfc4ca not yet part of seamonkey build -- fix problem with forward declarations in idl
git-svn-id: svn://10.0.0.236/trunk@27536 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:32:18 +00:00
mccabe%netscape.com
c3eaceb773 Convert some straggling PR_ASSERTS to XPT_ASSERTS to complete link-time freedom from nspr.
git-svn-id: svn://10.0.0.236/trunk@27535 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:20:24 +00:00
alecf%netscape.com
628b6f2598 ugh, back out this fix until mac links against raptorbase
git-svn-id: svn://10.0.0.236/trunk@27534 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:18:43 +00:00
alecf%netscape.com
af1cef4412 link against raptorbase to get nsQuickSort
git-svn-id: svn://10.0.0.236/trunk@27533 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:15:28 +00:00
alecf%netscape.com
5debab8c23 don't break if we're included in a C file
git-svn-id: svn://10.0.0.236/trunk@27532 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:13:20 +00:00
alecf%netscape.com
e00110f238 add public\raptor to build so that we can get to nsQuickSort.h
git-svn-id: svn://10.0.0.236/trunk@27530 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:10:33 +00:00
alecf%netscape.com
9d72cf7772 make sure we can get to raptorbase to get nsQuickSort.h
git-svn-id: svn://10.0.0.236/trunk@27529 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:08:20 +00:00
wtc%netscape.com
27a70926bc Bugzilla bug #5111: include my_config.mk and my_overrides.mk, if they
exist, to allow for user config and overrides of NSPR build variables.
Thanks to Ramiro Estrugo <ramiro@netscape.com> for the design and
implementation.
Modified files: .cvsignore, config.mk.


git-svn-id: svn://10.0.0.236/trunk@27528 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:04:29 +00:00
alecf%netscape.com
e89d047f03 back this out for now, mac isn't linking against libraptorbase
git-svn-id: svn://10.0.0.236/trunk@27527 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 03:04:04 +00:00
shaver%netscape.com
e8633740a4 add a cast to try and make xlc happy
git-svn-id: svn://10.0.0.236/trunk@27526 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:55:02 +00:00
alecf%netscape.com
0b9ba82c8a make libpref use new nsQuickSort
git-svn-id: svn://10.0.0.236/trunk@27525 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:54:54 +00:00
alecf%netscape.com
d1c459b2e3 use new nsQuickSort rather than old XP_QSORT
git-svn-id: svn://10.0.0.236/trunk@27524 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:48:00 +00:00
alecf%netscape.com
503c6bae3b remove rdf_qsort from all makefiles
git-svn-id: svn://10.0.0.236/trunk@27523 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:47:08 +00:00
alecf%netscape.com
e693120be9 wierd, this came up as "A" when we really didn't need it.
git-svn-id: svn://10.0.0.236/trunk@27522 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:46:22 +00:00
alecf%netscape.com
5b0004e5cd this didn't exist before?
git-svn-id: svn://10.0.0.236/trunk@27521 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:44:46 +00:00
alecf%netscape.com
2623230a9e back out this fix because mac depends on XP_QSORT
git-svn-id: svn://10.0.0.236/trunk@27520 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:42:18 +00:00
alecf%netscape.com
6dd66be339 use new nsQuickSort routine
a=pnunn


git-svn-id: svn://10.0.0.236/trunk@27519 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:28:29 +00:00
morse%netscape.com
653eeb7451 back out last change to try to fix unix bustage
git-svn-id: svn://10.0.0.236/trunk@27518 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:22:09 +00:00
mcmullen%netscape.com
cc68d55c80 An "oops" correction in the previous checkin.
git-svn-id: svn://10.0.0.236/trunk@27517 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:17:41 +00:00
mcafee%netscape.com
de4b554545 Adding static SetTopLevelWidget() call to nsClipboard.
git-svn-id: svn://10.0.0.236/trunk@27516 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:08:55 +00:00
mcafee%netscape.com
eb1b03e1eb Comment only.
git-svn-id: svn://10.0.0.236/trunk@27515 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:07:17 +00:00
beard%netscape.com
3d35e3b9d1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27514 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:50:53 +00:00
morse%netscape.com
5f08a2fa44 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@27513 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:50:34 +00:00
briano%netscape.com
669cb691ab Now switching back and forth between timestamp builds and HEAD builds ought not produce any surprises.
git-svn-id: svn://10.0.0.236/trunk@27512 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:46:04 +00:00
toshok%hungry.com
24c621c51c use NSPR's LL_ macros to do 64 bit stuff.
git-svn-id: svn://10.0.0.236/trunk@27511 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:40:33 +00:00
toshok%hungry.com
706f0ffcda remove LL's to fix windows build.
git-svn-id: svn://10.0.0.236/trunk@27510 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:36:25 +00:00
beard%netscape.com
75a51ac717 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27509 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:31:54 +00:00
beard%netscape.com
374c6d967d wstring -> DOMString, added attributes mimeTypes, plugins.
git-svn-id: svn://10.0.0.236/trunk@27508 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:28:31 +00:00
ramiro%netscape.com
8cb0e5a730 Undo previous exorcism. Bring back the MOZ_NO_WALLET_HACK thing, but fix
the logic for setting it in autoconf.mk.


git-svn-id: svn://10.0.0.236/trunk@27507 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:28:21 +00:00
bienvenu%netscape.com
5660144d72 more work on imap folder loading
git-svn-id: svn://10.0.0.236/trunk@27506 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:28:14 +00:00
beard%netscape.com
0871ef06cb added PluginArray.idl MimeTypeArray.idl Plugin.idl MimeType.idl
git-svn-id: svn://10.0.0.236/trunk@27505 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:27:03 +00:00
beard%netscape.com
b98430e727 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27504 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:25:36 +00:00
mscott%netscape.com
293637b4bc fix crash in AddNewNamespace. We were iterating through a list of name spaces backwards incorrectly. We were starting with one past the last element in the array and then attempting to dereference it....
git-svn-id: svn://10.0.0.236/trunk@27503 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:22:07 +00:00
morse%netscape.com
be0ff8e79c undid Spence's change whereby he disabled single signon
git-svn-id: svn://10.0.0.236/trunk@27502 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:13:35 +00:00
mcmullen%netscape.com
babcfaaf62 Fixed two warnings and added a method with a shorter name because of bug in VC++ compiler
git-svn-id: svn://10.0.0.236/trunk@27501 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:11:42 +00:00
wtc%netscape.com
a4cd22bf78 Bugsplat bug #345296: added a test program that have multiple
threads accepting on the same listening socket.


git-svn-id: svn://10.0.0.236/trunk@27500 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:11:31 +00:00
morse%netscape.com
de93fa8215 fix for bug 5071
git-svn-id: svn://10.0.0.236/trunk@27499 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:11:06 +00:00
alecf%netscape.com
c3e92d7410 remove calls to XP_Trace
git-svn-id: svn://10.0.0.236/trunk@27498 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:07:45 +00:00
mcmullen%netscape.com
4e174e2b8e Fixed compiler warning.
git-svn-id: svn://10.0.0.236/trunk@27497 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:07:20 +00:00
mcmullen%netscape.com
1a5c33acc8 Support unix paths .. and . in the path conversion routine.
git-svn-id: svn://10.0.0.236/trunk@27496 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:06:55 +00:00
toshok%hungry.com
21f6c325cb change linux specific blurbs to include netbsd/freebsd, and make sure to update the url to the unixish_x86 file.
git-svn-id: svn://10.0.0.236/trunk@27495 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:06:45 +00:00
mcmullen%netscape.com
e753d5b229 Fix backwards failure logic
git-svn-id: svn://10.0.0.236/trunk@27494 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:06:03 +00:00
sspitzer%netscape.com
7b575e89a3 more cvs ignorage
git-svn-id: svn://10.0.0.236/trunk@27493 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:05:29 +00:00
sspitzer%netscape.com
f7fa4c6abe added cvsignore files
git-svn-id: svn://10.0.0.236/trunk@27492 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:04:42 +00:00
alecf%netscape.com
58e87b2cc6 fix PRBool -> XP_Bool confusion (temp fix until libi18n uses PRBool)
git-svn-id: svn://10.0.0.236/trunk@27491 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:03:18 +00:00
jefft%netscape.com
cf108e99ac check return pointer of imapPart prior calling m_shell->Generate(imapPart) in ProcessOkCommand()
git-svn-id: svn://10.0.0.236/trunk@27490 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 01:01:51 +00:00
jefft%netscape.com
d1d9be9b08 calling m_realImapXXXX method instead of m_proxy method to avoid extra notification of fe event completion
git-svn-id: svn://10.0.0.236/trunk@27489 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:58:25 +00:00
jefft%netscape.com
a211f41dcd bump up imap thread priority a little bit higher than normal to prevent the deadlock
git-svn-id: svn://10.0.0.236/trunk@27488 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:56:34 +00:00
rhp%netscape.com
fa15bd4301 Adding support for UTF-8 output and better display of headers
git-svn-id: svn://10.0.0.236/trunk@27487 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:56:23 +00:00
rhp%netscape.com
f7d26d7ea7 Adding UTF-8 support
git-svn-id: svn://10.0.0.236/trunk@27486 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:55:52 +00:00
rhp%netscape.com
df7387c4c1 Adding I18N support for email messages
git-svn-id: svn://10.0.0.236/trunk@27485 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:54:58 +00:00
rhp%netscape.com
52900f8e32 Adding header entry for charset
git-svn-id: svn://10.0.0.236/trunk@27484 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:54:28 +00:00
rhp%netscape.com
dffb25a28b More vCard size reduction work
git-svn-id: svn://10.0.0.236/trunk@27483 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:54:15 +00:00
rhp%netscape.com
7d1d11c68c Adding new vcard files for size reduction on vCards
git-svn-id: svn://10.0.0.236/trunk@27482 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:54:00 +00:00
rhp%netscape.com
4385cca016 Cleaning out old files
git-svn-id: svn://10.0.0.236/trunk@27481 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:53:43 +00:00
toshok%hungry.com
a977cd8a18 add some PRInt64 tests too.
git-svn-id: svn://10.0.0.236/trunk@27480 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:52:40 +00:00
despotdaemon%netscape.com
9c948f864a Pseudo-automatic update of changes made by michaelp@meer.net.
git-svn-id: svn://10.0.0.236/trunk@27479 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:52:09 +00:00
toshok%hungry.com
672583e3a2 the linux implementation should work for freebsd and netbsd x86. change the name from linux to unixish to reflect this.
git-svn-id: svn://10.0.0.236/trunk@27478 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 00:50:07 +00:00
petitta%netscape.com
765f078e43 Updated the readme file info
git-svn-id: svn://10.0.0.236/trunk@27477 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 23:31:09 +00:00
petitta%netscape.com
9a305c04f2 New Upload .bat for CCKBuild.pl
git-svn-id: svn://10.0.0.236/trunk@27476 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 23:20:49 +00:00
valeski%netscape.com
7126c14f07 started socket transport code
git-svn-id: svn://10.0.0.236/trunk@27475 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 23:11:56 +00:00
waterson%netscape.com
78230e652c Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to.
git-svn-id: svn://10.0.0.236/trunk@27474 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 23:06:22 +00:00
despotdaemon%netscape.com
a6ef6e380e Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@27473 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 23:03:09 +00:00
despotdaemon%netscape.com
416bdec3bb Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@27472 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 23:01:00 +00:00
larryh%netscape.com
8495837305 Fix warning message on _MD_EXIT
git-svn-id: svn://10.0.0.236/trunk@27471 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 22:39:33 +00:00
kipp%netscape.com
440012de6c Fix core dump bug
git-svn-id: svn://10.0.0.236/trunk@27470 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 22:01:17 +00:00
waterson%netscape.com
e0d8a2661a nsISupportsArray::RemoveElement() returns an nsresult, not a PRBool.
git-svn-id: svn://10.0.0.236/trunk@27469 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 20:42:48 +00:00
slamm%netscape.com
d962e4d5ef Pull out nspr and pthreads stuff. Show unhandled options. Update the instructions.
git-svn-id: svn://10.0.0.236/trunk@27468 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 20:37:03 +00:00
valeski%netscape.com
901a6a8f28 netwerk/makefile.win - adding the ftp dir to the build
netwerk/ftp/* - adding the ftp module


git-svn-id: svn://10.0.0.236/trunk@27467 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 19:55:41 +00:00
despotdaemon%netscape.com
2339cd055e Pseudo-automatic update of changes made by hangas@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@27466 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 17:45:23 +00:00
despotdaemon%netscape.com
d7cdc50c3d Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@27465 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 17:32:00 +00:00
briano%netscape.com
0a9d2be9c6 Automated update
git-svn-id: svn://10.0.0.236/trunk@27464 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 11:29:36 +00:00
ramiro%netscape.com
6cd74d1df6 Update nspr environment config and override as discussed with the NSPR team.
git-svn-id: svn://10.0.0.236/trunk@27463 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 11:24:11 +00:00
ramiro%netscape.com
9717d941ec MOZ_NO_WALLET_HACK exorcism.
git-svn-id: svn://10.0.0.236/trunk@27462 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 10:17:25 +00:00
ramiro%netscape.com
0c4865f26c No need to export these vars, since nspr will include the file.
git-svn-id: svn://10.0.0.236/trunk@27461 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 09:35:47 +00:00
ramiro%netscape.com
7c98941b4f Give caller option of running the debugger if a new core dump is detected.
git-svn-id: svn://10.0.0.236/trunk@27460 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 09:34:46 +00:00
briano%netscape.com
0190badb70 Fixed a typo, got rid of the now-unneeded --with-pthreads flags, and cleaned up a few variable definitions.
git-svn-id: svn://10.0.0.236/trunk@27459 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 09:02:14 +00:00
mcafee%netscape.com
22d76d928f Following the last null reference fix with another one I missed. This gets the sidebar not-crashing now.
git-svn-id: svn://10.0.0.236/trunk@27458 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 08:15:59 +00:00
warren%netscape.com
f170ef62fa Fixed create/AsyncRead stuff.
git-svn-id: svn://10.0.0.236/trunk@27457 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 08:13:35 +00:00
warren%netscape.com
c720caf464 More on http protocol.
git-svn-id: svn://10.0.0.236/trunk@27456 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 08:11:10 +00:00
warren%netscape.com
0bee8e2ab9 Moved read/write methods from TransportService to Transport.
git-svn-id: svn://10.0.0.236/trunk@27455 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 08:10:50 +00:00
mcafee%netscape.com
db6ef53a2b Protecting a null reference; probably should check GetParent() return value.
git-svn-id: svn://10.0.0.236/trunk@27454 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 08:04:35 +00:00
mcafee%netscape.com
a523819f28 PRBool-to-error-code double conversion. Conversion for AppendElement() happened in nsSupportsArray.h, we don't need to convert the usage here.
git-svn-id: svn://10.0.0.236/trunk@27453 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 07:15:11 +00:00
mccabe%netscape.com
93e0aa60ec Updated to include new version numbers and source, binary locations for glib, libIDL.
git-svn-id: svn://10.0.0.236/trunk@27452 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 04:48:29 +00:00
beard%netscape.com
3b777a0907 sorry, size_t != unsigned int, made declarations consistent to fix later link errors.
git-svn-id: svn://10.0.0.236/trunk@27451 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 04:19:42 +00:00
troy%netscape.com
fb4a878223 Fixes for bug #1994. Better handling of floated and positioned images when
displaying the alternate contents


git-svn-id: svn://10.0.0.236/trunk@27450 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 04:00:16 +00:00
briano%netscape.com
e2a7d1d533 Automated update
git-svn-id: svn://10.0.0.236/trunk@27449 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 03:59:59 +00:00
briano%netscape.com
c088328d97 Yet another floundering attempt to get the NetBSD/alpha Tinderbox building.
git-svn-id: svn://10.0.0.236/trunk@27448 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 03:59:29 +00:00
alecf%netscape.com
bfb4c42703 add booleans to decide if we should attach signatures/vcards
git-svn-id: svn://10.0.0.236/trunk@27447 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 03:43:45 +00:00
alecf%netscape.com
944b52ef1d fix newline-at-end-of-file problem
git-svn-id: svn://10.0.0.236/trunk@27446 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 03:35:58 +00:00
alecf%netscape.com
7bb1a9841d use the new nsQuickSort() function instead of the internal rdf_qsort
git-svn-id: svn://10.0.0.236/trunk@27445 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 03:28:49 +00:00
alecf%netscape.com
e0a3c912a9 now that nsQuickSort is correctly exported on Windows, use it.
git-svn-id: svn://10.0.0.236/trunk@27444 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 03:26:45 +00:00
briano%netscape.com
0e0d9389c4 Automated update
git-svn-id: svn://10.0.0.236/trunk@27443 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 03:16:19 +00:00
briano%netscape.com
123b2b4aa0 Fix for the HP-UX build breakage.
git-svn-id: svn://10.0.0.236/trunk@27442 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 03:15:46 +00:00
morse%netscape.com
eaed58b858 fix build bustage on the mac
git-svn-id: svn://10.0.0.236/trunk@27441 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 03:15:21 +00:00
slamm%netscape.com
b72c5f9dce Finish changes for CVSROOT. Thanks to jlnance@sailboat.acs.uncwil.edu (James Lewis Nance) for the patch.
git-svn-id: svn://10.0.0.236/trunk@27440 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 02:41:50 +00:00
slamm%netscape.com
473756025f Let configure deal with nspr and pthreads insteads of client.mk Take patch from
git-svn-id: svn://10.0.0.236/trunk@27439 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 02:34:49 +00:00
bienvenu%netscape.com
60926729d2 hook up imap code to retrieve uid validity from DB
git-svn-id: svn://10.0.0.236/trunk@27438 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 02:34:21 +00:00
slamm%netscape.com
b3c22936d8 Let configure deal with nspr and pthreads insteads of client.mk
git-svn-id: svn://10.0.0.236/trunk@27437 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 02:33:58 +00:00
wtc%netscape.com
7f2fbbb4ad Bugzilla bug #4952: line 35 spilled over to line 36, and a '-' was missing.
Thanks to tomg@squish.org for the bug report.


git-svn-id: svn://10.0.0.236/trunk@27436 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:57:31 +00:00
jefft%netscape.com
742fc52ab4 ported over AllocateCanonicalPath method
git-svn-id: svn://10.0.0.236/trunk@27435 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:55:29 +00:00
jefft%netscape.com
af3a0c4816 check valid allocatedPath and namespaceFolder prior duplicate for mailbox_spec
git-svn-id: svn://10.0.0.236/trunk@27434 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:54:36 +00:00
jefft%netscape.com
aa159c4288 fixed memory leak when calling GetImapUserName(); the returned string should be freed
git-svn-id: svn://10.0.0.236/trunk@27433 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:53:16 +00:00
rhp%netscape.com
94c959db20 Fix declaration of public functions.
git-svn-id: svn://10.0.0.236/trunk@27432 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:50:44 +00:00
morse%netscape.com
5fbff9e2fb reincarnate single signon for browser-generated forms
git-svn-id: svn://10.0.0.236/trunk@27431 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:32:28 +00:00
bienvenu%netscape.com
f13d1e69dc add more imap-specific parsing stuff to url object
git-svn-id: svn://10.0.0.236/trunk@27430 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:32:27 +00:00
joki%netscape.com
23264d13d7 Modifying auto-scrolling to not happen after every keystroke.
git-svn-id: svn://10.0.0.236/trunk@27429 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:22:09 +00:00
mscott%netscape.com
13b548f56d Add code to add the incoming server to the host session list when parsing it.
git-svn-id: svn://10.0.0.236/trunk@27428 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:19:34 +00:00
mscott%netscape.com
54dc765a7d Fix for declaration of functions
git-svn-id: svn://10.0.0.236/trunk@27427 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:11:01 +00:00
wtc%netscape.com
58d6ecd7ed Bugzilla bug #2802: prepend current directory to $(DIST)/lib only
if $(DIST) is a relative pathname.  Thanks to trini@kernel.crashing.org
for reporting this bug.


git-svn-id: svn://10.0.0.236/trunk@27426 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:00:11 +00:00
mscott%netscape.com
8c81b0023f Fix for non-initialized path names.
git-svn-id: svn://10.0.0.236/trunk@27425 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:57:01 +00:00
mscott%netscape.com
a4dabf9cfa Fix directory search for UNIX
git-svn-id: svn://10.0.0.236/trunk@27424 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:54:48 +00:00
endico%mozilla.org
e6934c63c0 use shorter words so they fit on the screen for cvs blame and cvs log
git-svn-id: svn://10.0.0.236/trunk@27423 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:49:54 +00:00
waterson%netscape.com
c451c50795 Added back into the build sp alecf & mccabe can get xpconnect working.
git-svn-id: svn://10.0.0.236/trunk@27422 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:39:20 +00:00
waterson%netscape.com
1990877ea1 Comment out EXPORTS, CPPSRCS, and LIBRARY_NAME so that this can join
back into the build.


git-svn-id: svn://10.0.0.236/trunk@27421 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:38:47 +00:00
mcmullen%netscape.com
7188537345 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27420 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:33:20 +00:00
mcmullen%netscape.com
0e39043ab4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27419 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:27:02 +00:00
warren%netscape.com
7822bee548 Fixed NSGetFactory sig.
git-svn-id: svn://10.0.0.236/trunk@27418 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:07:42 +00:00
warren%netscape.com
bb639c894e More for http.
git-svn-id: svn://10.0.0.236/trunk@27417 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:06:07 +00:00
troy%netscape.com
a1aebb8361 Commented out rules for img:-moz-text, which aren't what I want
git-svn-id: svn://10.0.0.236/trunk@27416 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:02:54 +00:00
joki%netscape.com
7d511be77e Commenting out selection flashing stuff.
git-svn-id: svn://10.0.0.236/trunk@27415 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 23:42:58 +00:00
tague%netscape.com
be53160f88 Added nsQuickSort.obj to the object list
git-svn-id: svn://10.0.0.236/trunk@27414 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 23:35:49 +00:00
joki%netscape.com
02332f51bb Fix blinking selection on mouseover
git-svn-id: svn://10.0.0.236/trunk@27413 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 23:34:58 +00:00
tague%netscape.com
7121cfaf3e Rolled out change
git-svn-id: svn://10.0.0.236/trunk@27412 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 23:25:38 +00:00
radha%netscape.com
8c24e74a23 Set the url string in the url bar when the page is finished loading
git-svn-id: svn://10.0.0.236/trunk@27411 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 23:22:33 +00:00
bienvenu%netscape.com
01b112909e hook up selected state urls (except for ifdeffed out parts)
git-svn-id: svn://10.0.0.236/trunk@27410 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 23:15:35 +00:00
tague%netscape.com
ad9735a563 Fixed windows build booboo. Added extern C to the defintion of nsQuickSort
git-svn-id: svn://10.0.0.236/trunk@27408 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 23:03:40 +00:00
petitta%netscape.com
1673a4eeb1 New PERL CCK Build Script
git-svn-id: svn://10.0.0.236/trunk@27407 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 23:00:19 +00:00
larryh%netscape.com
637a3507d5 add coverage for functions that should be called by this test case
git-svn-id: svn://10.0.0.236/trunk@27406 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:58:40 +00:00
matt%netscape.com
cac509c753 Work around for the my.netscape.com crash by changing my.netscape.com
to home.netscape.com.


git-svn-id: svn://10.0.0.236/trunk@27405 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:58:22 +00:00
ducarroz%netscape.com
d0ed394b7f Fix memory leak, bug 4851
git-svn-id: svn://10.0.0.236/trunk@27404 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:56:46 +00:00
petitta%netscape.com
fb7ca1e6dd Support to BuildCCK.pl
git-svn-id: svn://10.0.0.236/trunk@27403 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:54:37 +00:00
vidur%netscape.com
46244a0054 Fixes for bugs 4783 and 2243. Content can now be added via the DOM during document loading. document.written content can also cause the parser to block.
git-svn-id: svn://10.0.0.236/trunk@27402 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:22:51 +00:00
alecf%netscape.com
4e7786eea9 export this symbol correctly
git-svn-id: svn://10.0.0.236/trunk@27400 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:16:52 +00:00
alecf%netscape.com
638a165203 check in header file to match to make use of new SetSize()
git-svn-id: svn://10.0.0.236/trunk@27399 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:11:57 +00:00
alecf%netscape.com
b2ca8183f6 augh, don't use quicksort for now, I'm not sure why windows can't see it.
git-svn-id: svn://10.0.0.236/trunk@27398 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:11:22 +00:00
briano%netscape.com
2fa3f14c69 Automated update
git-svn-id: svn://10.0.0.236/trunk@27397 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:06:06 +00:00
briano%netscape.com
8aaf4aac32 Added pthread support for FreeBSD.
git-svn-id: svn://10.0.0.236/trunk@27396 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 22:05:21 +00:00
kipp%netscape.com
411453cc95 Fix a memory corrupting issue with dangling references to nsImageRequests's
git-svn-id: svn://10.0.0.236/trunk@27395 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:55:11 +00:00
kipp%netscape.com
131d57b8d1 Disable icon loading on unix and mac until netlib can cope
git-svn-id: svn://10.0.0.236/trunk@27394 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:54:43 +00:00
kipp%netscape.com
41106adcdd Added missing addref
git-svn-id: svn://10.0.0.236/trunk@27393 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:54:22 +00:00
kipp%netscape.com
a75ec9836d Whacked to use new image loading apis
git-svn-id: svn://10.0.0.236/trunk@27392 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:52:35 +00:00
kipp%netscape.com
b13d36e80c Updated to use new image loading apis
git-svn-id: svn://10.0.0.236/trunk@27391 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:52:19 +00:00
kipp%netscape.com
6272f24b55 Nuked useless includes
git-svn-id: svn://10.0.0.236/trunk@27390 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:52:03 +00:00
kipp%netscape.com
f86bab2beb Nuked extraneous include
git-svn-id: svn://10.0.0.236/trunk@27389 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:51:52 +00:00
kipp%netscape.com
97ede4824c Revised include
git-svn-id: svn://10.0.0.236/trunk@27388 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:51:43 +00:00
kipp%netscape.com
5f11044d37 Support aspect scaling everywhere; elminate win32 ifdefs; use revised image loading apis
git-svn-id: svn://10.0.0.236/trunk@27387 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:51:20 +00:00
kipp%netscape.com
98c99cce92 Use revised image loading api
git-svn-id: svn://10.0.0.236/trunk@27386 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:51:00 +00:00
endico%mozilla.org
e154d41dba oops glimpseindex isn't there after all
git-svn-id: svn://10.0.0.236/trunk@27385 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:50:51 +00:00
kipp%netscape.com
b4bdeb1153 Fixed a slight bug with handling error codes
git-svn-id: svn://10.0.0.236/trunk@27384 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:50:47 +00:00
kipp%netscape.com
a12ed22f68 new
git-svn-id: svn://10.0.0.236/trunk@27383 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:50:25 +00:00
kipp%netscape.com
2a99af6a11 nuked
git-svn-id: svn://10.0.0.236/trunk@27382 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:50:13 +00:00
kipp%netscape.com
7f220bfaeb added files: mozilla/layout/html/base/src/nsHTMLImageLoader.cpp
git-svn-id: svn://10.0.0.236/trunk@27381 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:50:12 +00:00
kipp%netscape.com
53cddfed17 Use revised image loading apis
git-svn-id: svn://10.0.0.236/trunk@27380 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:49:58 +00:00
kipp%netscape.com
46e23240a7 Added new source files
git-svn-id: svn://10.0.0.236/trunk@27379 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:49:41 +00:00
kipp%netscape.com
b9e3a13664 Reworked to support mulitple frames per image loader
git-svn-id: svn://10.0.0.236/trunk@27378 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:49:28 +00:00
endico%mozilla.org
20ccf2ba33 add path to glimpseindex
git-svn-id: svn://10.0.0.236/trunk@27377 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:49:15 +00:00
kipp%netscape.com
81f423173e Revised api
git-svn-id: svn://10.0.0.236/trunk@27376 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:49:01 +00:00
kipp%netscape.com
69e0a93790 Revised image loading apis
git-svn-id: svn://10.0.0.236/trunk@27375 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:48:49 +00:00
kipp%netscape.com
98e242746b Added a bit to speed up frame destruction
git-svn-id: svn://10.0.0.236/trunk@27374 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:48:35 +00:00
jefft%netscape.com
80dbcdf6ec ported over DiscoverMailboxSpec method
git-svn-id: svn://10.0.0.236/trunk@27373 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:37:06 +00:00
jefft%netscape.com
25265542c4 added missing member variable, m_delimiter and method, GetDelimiter()
git-svn-id: svn://10.0.0.236/trunk@27372 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:35:48 +00:00
joki%netscape.com
14135f22e6 Fix event handling on background areas of tags.
git-svn-id: svn://10.0.0.236/trunk@27371 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:29:08 +00:00
endico%mozilla.org
1dfd47f5fb add gnome tree
git-svn-id: svn://10.0.0.236/trunk@27370 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:27:49 +00:00
jband%netscape.com
969d51c437 removing reference to nspr in windows makefile
git-svn-id: svn://10.0.0.236/trunk@27369 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:23:45 +00:00
gordon%netscape.com
6b0fb55d4f Add nsIThread.h and nsIByteBufferInputStream.h for network update.
git-svn-id: svn://10.0.0.236/trunk@27368 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:16:24 +00:00
briano%netscape.com
a1fcb7598e Automated update
git-svn-id: svn://10.0.0.236/trunk@27367 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:14:40 +00:00
slamm%netscape.com
270cc7180f Clean up test that produced a.out. We don't want that.
git-svn-id: svn://10.0.0.236/trunk@27366 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:08:54 +00:00
waterson%netscape.com
cd0566c582 Moved localstore.rdf to the bin dir instead of tmp so that clobber builds will blow it away.
git-svn-id: svn://10.0.0.236/trunk@27365 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:02:18 +00:00
alecf%netscape.com
8cf6222cc8 fix a whole bunch of signed/unsigned problems, and use new nsQuickSort routine
git-svn-id: svn://10.0.0.236/trunk@27363 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:01:32 +00:00
rhp%netscape.com
dd64e4cf71 Cleanup of netlib.lib linking
git-svn-id: svn://10.0.0.236/trunk@27361 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:59:29 +00:00
alecf%netscape.com
5f48991ebd make sure nsQuickSort is extern "C"
git-svn-id: svn://10.0.0.236/trunk@27360 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:36:57 +00:00
alecf%netscape.com
2a2b644a5e fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@27359 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:34:38 +00:00
jdunn%netscape.com
c2e4b13137 fix compiler warning/errors with conversion from a void* to a char*
git-svn-id: svn://10.0.0.236/trunk@27358 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:27:17 +00:00
mccabe%netscape.com
88770dfe8f Remove dependency on NSPR for xpidl, libxpt and tools.
git-svn-id: svn://10.0.0.236/trunk@27357 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:22:02 +00:00
alecf%netscape.com
1def546bf6 use new nsQuickSort routine in base, and fix signed/unsigned problem
git-svn-id: svn://10.0.0.236/trunk@27356 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:12:27 +00:00
alecf%netscape.com
682ec29849 export nsQuickSort.h for mac build
git-svn-id: svn://10.0.0.236/trunk@27355 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:06:55 +00:00
alecf%netscape.com
2f3748919c added files: mozilla/base/src/nsQuickSort.cpp
git-svn-id: svn://10.0.0.236/trunk@27354 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:05:39 +00:00
erik%netscape.com
f1beef252d Win95's font enumerator returns less info (smaller structs). Added code
to get the info via another method. Also enlarged the Unicode range array
to prevent reading off the end. Added printf's for debugging the Unicode
ranges.


git-svn-id: svn://10.0.0.236/trunk@27353 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:04:51 +00:00
morse%netscape.com
5b1454e936 fix bug 4631
git-svn-id: svn://10.0.0.236/trunk@27352 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 19:55:05 +00:00
nhotta%netscape.com
c07ae34cec Additional changes for the RFC822 parser.
git-svn-id: svn://10.0.0.236/trunk@27351 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 19:49:10 +00:00
nhotta%netscape.com
3c7d273ff0 nsIMsgRFC822Parser and related changes, removed old i18n functions, instead passing charset name.
git-svn-id: svn://10.0.0.236/trunk@27350 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 19:18:22 +00:00
alecf%netscape.com
2662e96076 add quicksort to windows build
git-svn-id: svn://10.0.0.236/trunk@27349 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 19:07:43 +00:00
alecf%netscape.com
55b31695a4 add quicksort implementation to base
(Thanks to Regents of CA and the RDF team)


git-svn-id: svn://10.0.0.236/trunk@27348 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 19:03:45 +00:00
pinkerton%netscape.com
214ed1a2dc fix child frame detection and prepare for drag and drop.
git-svn-id: svn://10.0.0.236/trunk@27347 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:56:22 +00:00
ducarroz%netscape.com
360d17f230 Mac should not include nsTextFragment.h ro avoid duplication definition errors.
git-svn-id: svn://10.0.0.236/trunk@27346 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:36:21 +00:00
ducarroz%netscape.com
9909e44ca2 update project
git-svn-id: svn://10.0.0.236/trunk@27345 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:34:44 +00:00
ducarroz%netscape.com
932ec9ce4a use C++ prefix file appCoresPrefix.h/appCoresPrefix_debug.h which define _IMPL_NS_DOM in order to fix export problem with auto generated files nsJSxxx.cpp
git-svn-id: svn://10.0.0.236/trunk@27344 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:32:23 +00:00
warren%netscape.com
62da7e1843 Fixed error to be an nsresult.
git-svn-id: svn://10.0.0.236/trunk@27343 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:27:21 +00:00
ducarroz%netscape.com
8b0c31710c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27342 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:27:20 +00:00
warren%netscape.com
2a25be404f Fixed comment.
git-svn-id: svn://10.0.0.236/trunk@27341 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:26:53 +00:00
ducarroz%netscape.com
0eaf941805 update project files, added nsNewsSummarySpec.cpp
git-svn-id: svn://10.0.0.236/trunk@27340 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:21:30 +00:00
warren%netscape.com
ec8aed1d77 Added NS_NewPipe and cleaned up ByteBufferInputStreams.
git-svn-id: svn://10.0.0.236/trunk@27339 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:17:29 +00:00
warren%netscape.com
9c99105f3e Added header.
git-svn-id: svn://10.0.0.236/trunk@27338 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:15:49 +00:00
warren%netscape.com
71095c62ca Fixed EOF condition.
git-svn-id: svn://10.0.0.236/trunk@27337 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:15:41 +00:00
warren%netscape.com
9b90ba668c Fixed thread problems.
git-svn-id: svn://10.0.0.236/trunk@27336 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:15:27 +00:00
jband%netscape.com
f6d848c45a fix AIX bustage - suggested by waqar@netscape.com
git-svn-id: svn://10.0.0.236/trunk@27334 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:10:40 +00:00
jdunn%netscape.com
1017c89319 fix compiler error: need unix head file for isatty
git-svn-id: svn://10.0.0.236/trunk@27333 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:10:24 +00:00
warren%netscape.com
96ef3f3cd7 Added synchronous file input. Worked on cancel/suspend/resume work for file transfer.
git-svn-id: svn://10.0.0.236/trunk@27332 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:10:15 +00:00
bienvenu%netscape.com
4511cdc420 add more methods for selecting a folder (not part of build yet)
git-svn-id: svn://10.0.0.236/trunk@27330 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 16:18:52 +00:00
ramiro%netscape.com
3b07f3dfbc Take the script out of targets, or else clobber builds break.
Approved by the Bastard Operator From Hell.


git-svn-id: svn://10.0.0.236/trunk@27329 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 16:03:46 +00:00
ramiro%netscape.com
5072eba07a Scrub super class names - in anticipation of fixing the signal mess.
git-svn-id: svn://10.0.0.236/trunk@27328 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 14:57:24 +00:00
kipp%netscape.com
2dbf5f02b0 Added missing makefiles
git-svn-id: svn://10.0.0.236/trunk@27327 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 14:28:59 +00:00
briano%netscape.com
54c8d39f10 Automated update
git-svn-id: svn://10.0.0.236/trunk@27326 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 14:14:36 +00:00
ramiro%netscape.com
afdaa03efc Make -g the default, take -O out.
git-svn-id: svn://10.0.0.236/trunk@27325 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 13:59:57 +00:00
jfrancis%netscape.com
427a56fc02 merging in rules work with Simon's selection changes
git-svn-id: svn://10.0.0.236/trunk@27324 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 13:35:08 +00:00
mcafee%netscape.com
8e46969aef Changing return value for IsLargeDataSet() to PRBool.
git-svn-id: svn://10.0.0.236/trunk@27323 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 10:11:30 +00:00
chuang%netscape.com
f7e372898f Add mailnews pref panes to preference dialog
git-svn-id: svn://10.0.0.236/trunk@27322 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 07:43:22 +00:00
chuang%netscape.com
6584b55485 Switch mailnews from prefs.js to prefs50.js
git-svn-id: svn://10.0.0.236/trunk@27321 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 07:41:24 +00:00
chuang%netscape.com
ec9686b582 Add mailnews preferences UI
git-svn-id: svn://10.0.0.236/trunk@27320 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 07:19:09 +00:00
jband%netscape.com
c95c70dfb8 remove inadvertant scope over-qualification to fix HP-UX bustage
git-svn-id: svn://10.0.0.236/trunk@27319 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 07:13:43 +00:00
chuang%netscape.com
fda683602b activate preference menu
git-svn-id: svn://10.0.0.236/trunk@27318 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 07:02:02 +00:00
bruce%cybersight.com
833f04ec8d Adding blank lines for native compilers.
git-svn-id: svn://10.0.0.236/trunk@27317 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 06:35:42 +00:00
bruce%cybersight.com
67c161a168 Fixing build bustage for some makes on the ports page. Missing separator in the Makefile.
git-svn-id: svn://10.0.0.236/trunk@27315 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 05:54:31 +00:00
morse%netscape.com
9c4f3b93af fix bug 2414
git-svn-id: svn://10.0.0.236/trunk@27314 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 05:26:59 +00:00
jefft%netscape.com
99d97a14a7 stub GetShowAttachmentsInline method
git-svn-id: svn://10.0.0.236/trunk@27313 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 04:50:04 +00:00
jefft%netscape.com
51ebdded32 added GetShowAttachmentsInlineProxyEvent; fixed minor problem in GetMessageSizeProxyEvnet
git-svn-id: svn://10.0.0.236/trunk@27312 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 04:48:37 +00:00
jefft%netscape.com
d249c0a456 ported over GetMessageSize & GetShowAttachmentsInline method
git-svn-id: svn://10.0.0.236/trunk@27311 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 04:46:05 +00:00
jefft%netscape.com
ba2af7c9ce added GetShowAttachmentsInline method
git-svn-id: svn://10.0.0.236/trunk@27310 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 04:44:24 +00:00
bienvenu%netscape.com
d6db4b4d2d add code to select a mailbox
git-svn-id: svn://10.0.0.236/trunk@27309 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 04:31:40 +00:00
ramiro%netscape.com
cbdd54d086 I meant to yank this hack, not comment it out.
git-svn-id: svn://10.0.0.236/trunk@27308 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 04:29:52 +00:00
jband%netscape.com
8bd8776d01 - made nsJSCID's createInstance and getService work as attributes using nsIXPCScriptable::call to support security and sevicemanager protocol.
- made xpccontext strings id scheme more generic.
- fixed stupif IID hash function.
- fixed nsIXPCScriptable call and construct to work with the correct function object.
- added gc and dump (using xpclog) to xpcshell.


git-svn-id: svn://10.0.0.236/trunk@27307 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 04:15:36 +00:00
ramiro%netscape.com
6050138266 Move unix specific build hacks/scripts/etc into their own little place:
build/unix.


git-svn-id: svn://10.0.0.236/trunk@27306 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 04:15:34 +00:00
ramiro%netscape.com
c8269104fd Better fix for the nspr building thing - after talking to wtc.
git-svn-id: svn://10.0.0.236/trunk@27305 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 04:13:51 +00:00
rhp%netscape.com
3e189180d0 Changes for cleanup and removal of XP lib stuff
git-svn-id: svn://10.0.0.236/trunk@27304 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 03:40:41 +00:00
alecf%netscape.com
17d9c788e4 fix build problem on Linux - move FILE to PRFileDesc
git-svn-id: svn://10.0.0.236/trunk@27303 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 03:36:30 +00:00
rhp%netscape.com
ee822fc954 Removal of "old world" dependencies for libmime to get big size
reduction on disk footprint


git-svn-id: svn://10.0.0.236/trunk@27302 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 03:14:46 +00:00
briano%netscape.com
35712b43ff Automated update
git-svn-id: svn://10.0.0.236/trunk@27301 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 03:14:37 +00:00
ramiro%netscape.com
3f6addd538 Better fix for the nspr building thing - after talking to wtc. Disabled
for now until he makes the changes to nspr config.mk.


git-svn-id: svn://10.0.0.236/trunk@27300 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 02:59:35 +00:00
troy%netscape.com
85898145c7 Made things a little more efficient by now making a copy of the reflow state
that's passed in, but instead casting the "const" away and setting the space
manager directly


git-svn-id: svn://10.0.0.236/trunk@27299 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 02:55:54 +00:00
troy%netscape.com
a25c746c44 Changed table code to call ReparentFrameView() when pushing/pulling frames
git-svn-id: svn://10.0.0.236/trunk@27298 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 02:38:09 +00:00
nisheeth%netscape.com
35eb10ee3d Adding tests 14 and 15 to list of files exported out to dist/*.
git-svn-id: svn://10.0.0.236/trunk@27296 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 02:37:14 +00:00
nisheeth%netscape.com
988bbdfe33 Adding Vidur's XML demos as test cases...
git-svn-id: svn://10.0.0.236/trunk@27295 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 02:36:33 +00:00
bruce%cybersight.com
0b3e46b83a Fix for compile error on AIX. Need to define inline functions before calling them. Reviewed by akkana.
git-svn-id: svn://10.0.0.236/trunk@27294 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 02:28:11 +00:00
jdunn%netscape.com
fd7d68e37b Backing out my previous change, the AIX define is defined in CXXFLAGS when you
run configure.


git-svn-id: svn://10.0.0.236/trunk@27293 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:46:25 +00:00
sfraser%netscape.com
c57929912c Don't generate link map (optimized)
git-svn-id: svn://10.0.0.236/trunk@27292 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:38:27 +00:00
sfraser%netscape.com
c41a267b94 Don't generate link map, both targets.
git-svn-id: svn://10.0.0.236/trunk@27291 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:37:23 +00:00
sfraser%netscape.com
8d896c038d Add new range directory to the list of MANIFESTs
git-svn-id: svn://10.0.0.236/trunk@27290 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:33:49 +00:00
sfraser%netscape.com
bbda90e2b0 Updated to conform to new IDL-ized selection interfaces.
git-svn-id: svn://10.0.0.236/trunk@27289 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:33:32 +00:00
sfraser%netscape.com
66085f4c30 Added getter stubs for document and selection
git-svn-id: svn://10.0.0.236/trunk@27288 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:31:23 +00:00
briano%netscape.com
7d91c4acb5 Automated update
git-svn-id: svn://10.0.0.236/trunk@27287 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:30:16 +00:00
nisheeth%netscape.com
49a20735ff Added tests 14, 15 for XML.
git-svn-id: svn://10.0.0.236/trunk@27286 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:29:59 +00:00
briano%netscape.com
ba5a9eaa88 Fixed a typo.
git-svn-id: svn://10.0.0.236/trunk@27285 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:29:40 +00:00
mscott%netscape.com
0ec6ddda28 When finished running a pop3 url, change the state of the pop3 url.
git-svn-id: svn://10.0.0.236/trunk@27284 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:29:28 +00:00
sfraser%netscape.com
80823645ef nsIDOMSelection[Listener].h have moved to dom/public/range/
git-svn-id: svn://10.0.0.236/trunk@27283 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:29:25 +00:00
sfraser%netscape.com
5c9109eeaa File Removed.
git-svn-id: svn://10.0.0.236/trunk@27282 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:28:49 +00:00
sfraser%netscape.com
f978c59581 nsIDOMRange.h has moved to dom/public/range/
git-svn-id: svn://10.0.0.236/trunk@27281 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:27:33 +00:00
sfraser%netscape.com
87c53ea203 Added mozilla/dom/public/range makefile.
git-svn-id: svn://10.0.0.236/trunk@27280 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:26:35 +00:00
sfraser%netscape.com
3aeea0be88 Added selection.idl and selectionlistener.idl.
git-svn-id: svn://10.0.0.236/trunk@27279 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:24:23 +00:00
sfraser%netscape.com
21f9a8f339 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27278 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:24:09 +00:00
sfraser%netscape.com
bf4757d18a Add the range directory to the makefiles.
git-svn-id: svn://10.0.0.236/trunk@27277 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:23:48 +00:00
sfraser%netscape.com
075320491f Added selection and document attributes.
git-svn-id: svn://10.0.0.236/trunk@27276 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:23:07 +00:00
sfraser%netscape.com
fde70f22a7 Add assertion on null URL.
git-svn-id: svn://10.0.0.236/trunk@27275 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:21:51 +00:00
sfraser%netscape.com
c6a30e06d9 Null check on focused widget to avoid crash.
git-svn-id: svn://10.0.0.236/trunk@27274 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:21:25 +00:00
sfraser%netscape.com
1cfc44f4fe File Removed.
git-svn-id: svn://10.0.0.236/trunk@27273 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:18:25 +00:00
bruce%cybersight.com
2bda5a5f00 Fix for native compilers, adding a blank line to end of the file.
git-svn-id: svn://10.0.0.236/trunk@27272 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:18:02 +00:00
sfraser%netscape.com
d1a25afa75 No longer export nsSelection, nsSelectionRange, nsSelectionPoint
git-svn-id: svn://10.0.0.236/trunk@27271 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:17:49 +00:00
sfraser%netscape.com
dd4cde6089 Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems.
git-svn-id: svn://10.0.0.236/trunk@27270 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:15:16 +00:00
sfraser%netscape.com
0711dcf727 Fix a problem where the caret could be using a stale offset, after a node
has been split.


git-svn-id: svn://10.0.0.236/trunk@27269 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:13:00 +00:00
troy%netscape.com
b435e27ac9 Removed SetInitialChildList() and now we inherit the base class version
which does the same thing


git-svn-id: svn://10.0.0.236/trunk@27268 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:11:46 +00:00
nhotta%netscape.com
9f626c1470 Bug fixes of utf-8 utils.
git-svn-id: svn://10.0.0.236/trunk@27267 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:06:14 +00:00
mscott%netscape.com
99413fb683 Build pop3Test again.
git-svn-id: svn://10.0.0.236/trunk@27262 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:00:18 +00:00
mscott%netscape.com
45d90043a4 Fixes to update pop3 test with Alec's latest identity/account drop.
git-svn-id: svn://10.0.0.236/trunk@27261 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:59:44 +00:00
karnaze%netscape.com
2cb0adbdc5 bug 1596
git-svn-id: svn://10.0.0.236/trunk@27260 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:56:23 +00:00
jj%netscape.com
eebd8a1770 removed NS libraries from the static lib target
git-svn-id: svn://10.0.0.236/trunk@27259 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:53:12 +00:00
jband%netscape.com
ae5f53675d fix for comment spanning the buffer boundary
git-svn-id: svn://10.0.0.236/trunk@27258 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:50:39 +00:00
sfraser%netscape.com
5dd5c7ad83 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27257 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:33:58 +00:00
waterson%netscape.com
87f47ab9cd Removed #ifdefs, these are just placeholder files now.
git-svn-id: svn://10.0.0.236/trunk@27256 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:30:35 +00:00
waterson%netscape.com
d46ad44ae6 Regenerated using newer xpidl compiler.
git-svn-id: svn://10.0.0.236/trunk@27255 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:29:43 +00:00
joki%netscape.com
fa9f67ee96 Send Click events to frames as well as content.
git-svn-id: svn://10.0.0.236/trunk@27254 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:27:58 +00:00
mscott%netscape.com
7fae32ef3e Checked in for davidm. Export the net support dialog xul file into dist\bin\res\samples.
git-svn-id: svn://10.0.0.236/trunk@27252 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:22:48 +00:00
radha%netscape.com
3b826070cf Fix for bug 4668. Make sure that all children documents have finished loading
before calling OnEndDocumentLoading.


git-svn-id: svn://10.0.0.236/trunk@27251 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:19:48 +00:00
waterson%netscape.com
5754c8f03b Moved comments into the IDL file.
git-svn-id: svn://10.0.0.236/trunk@27250 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:16:38 +00:00
nisheeth%netscape.com
223284acfc Adding XML tests 14 and 15 to the Samples Menu.
git-svn-id: svn://10.0.0.236/trunk@27249 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:16:27 +00:00
troy%netscape.com
22d3e739a6 Changed MoveOverflowToChildList() and PushChildren() to call
ReparentFrameView()


git-svn-id: svn://10.0.0.236/trunk@27248 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:15:13 +00:00
nisheeth%netscape.com
ccb13fbc95 Adding XML tests 14, 15 to the File...Samples menu.
git-svn-id: svn://10.0.0.236/trunk@27247 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:13:54 +00:00
davidm%netscape.com
540254f26d make the file compatible with the new xml parser
git-svn-id: svn://10.0.0.236/trunk@27246 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:13:04 +00:00
saari%netscape.com
dea6c81fc7 Menu changes getting ready for dynamic menus
git-svn-id: svn://10.0.0.236/trunk@27245 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:12:59 +00:00
saari%netscape.com
919c0e6eef menu changes getting ready for dynamic menus
git-svn-id: svn://10.0.0.236/trunk@27244 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:12:40 +00:00
nisheeth%netscape.com
68486a0601 Adding XML tests 14 and 15 to the samples menu.
git-svn-id: svn://10.0.0.236/trunk@27243 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:10:00 +00:00
cata%netscape.com
ef9e897f6b Bugfix for out of control growth of internal buffer under certain error conditions.
git-svn-id: svn://10.0.0.236/trunk@27242 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:08:26 +00:00
troy%netscape.com
bca10111d4 Removed Join() function from nsFrameList, because we already has a version
of AppendFrames() that did the same exact thing


git-svn-id: svn://10.0.0.236/trunk@27241 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 00:06:17 +00:00
putterman%netscape.com
67f9b10488 Provide notification for folder count changes.
git-svn-id: svn://10.0.0.236/trunk@27240 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 23:57:58 +00:00
sfraser%netscape.com
458c9a34b2 Remove assorted extraneous warning-producing cruft
git-svn-id: svn://10.0.0.236/trunk@27239 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 23:49:37 +00:00
troy%netscape.com
473511a1eb Removed some code from nsContainerFrame that is no longer needed now that'
we have nsFrameList


git-svn-id: svn://10.0.0.236/trunk@27238 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 23:46:02 +00:00
sspitzer%netscape.com
a691aac18b fix for bug #4977. curse unitialized variables
git-svn-id: svn://10.0.0.236/trunk@27237 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 23:31:37 +00:00
sspitzer%netscape.com
ad286b91d1 stop driving the mailnews team insane with my printfs
git-svn-id: svn://10.0.0.236/trunk@27236 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 23:26:21 +00:00
troy%netscape.com
b84b0c2d3a Fixed a problem in MoveOverflowToChildList() where Join() was being used
when InsertFrames() should have been used instead


git-svn-id: svn://10.0.0.236/trunk@27235 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 23:03:11 +00:00
davidm%netscape.com
31f3f2e17b use nsIEventQueueService rather than our own private event queue. Leads to the removal of a bunch of #ifdef mac code.
git-svn-id: svn://10.0.0.236/trunk@27233 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:52:52 +00:00
davidm%netscape.com
b5db087d45 Remove #ifdef Mac code now that the mac uses the EventQueue Service
git-svn-id: svn://10.0.0.236/trunk@27232 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:49:38 +00:00
davidm%netscape.com
bb167a18a2 Added code to allow mac process the event queues
git-svn-id: svn://10.0.0.236/trunk@27231 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:47:48 +00:00
briano%netscape.com
e8acb5497a Automated update
git-svn-id: svn://10.0.0.236/trunk@27230 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:44:37 +00:00
warren%netscape.com
f94501f509 Fixed unitialized var.
git-svn-id: svn://10.0.0.236/trunk@27229 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:42:55 +00:00
warren%netscape.com
272a04e362 Fixed cast problem.
git-svn-id: svn://10.0.0.236/trunk@27228 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:42:39 +00:00
akkana%netscape.com
32e728b35e turn off annoying debug print
git-svn-id: svn://10.0.0.236/trunk@27227 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:37:20 +00:00
waqar%netscape.com
17111ec933 Removed the -O option from the AIX build process.
git-svn-id: svn://10.0.0.236/trunk@27226 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:36:41 +00:00
warren%netscape.com
a363746e49 Began fleshing out http protocol.
git-svn-id: svn://10.0.0.236/trunk@27225 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:34:20 +00:00
davidm%netscape.com
ca5b9f279c added nsDefaultHelper.cpp
git-svn-id: svn://10.0.0.236/trunk@27224 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:33:36 +00:00
davidm%netscape.com
4ffd5e86c5 Changed some code since a variable isn't a COM object.
Make Mac use PLEvent queue all the time


git-svn-id: svn://10.0.0.236/trunk@27223 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:32:53 +00:00
nhotta%netscape.com
fe3dd6d312 Adding utf-8 utils and other minor changes.
git-svn-id: svn://10.0.0.236/trunk@27222 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:32:34 +00:00
davidm%netscape.com
ab158fb843 Fix return value error. Fixed #if defined
git-svn-id: svn://10.0.0.236/trunk@27221 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:32:00 +00:00
davidm%netscape.com
332687b329 Fix a constant and lack of addref count
git-svn-id: svn://10.0.0.236/trunk@27220 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:29:13 +00:00
jdunn%netscape.com
74d55dde75 use 'common' memcpy routine
git-svn-id: svn://10.0.0.236/trunk@27219 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:19:25 +00:00
kmcclusk%netscape.com
9e271034c0 Enabled frame-based comboboxes when widget rendering mode is gfx.
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.


git-svn-id: svn://10.0.0.236/trunk@27218 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:14:31 +00:00
jdunn%netscape.com
387c10f2b2 fix compiler error, need to specify base class access
git-svn-id: svn://10.0.0.236/trunk@27217 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:48:58 +00:00
evaughan%netscape.com
015bc531a9 Fixed bug to allow boxes to have elements inserted and removed from them dynamically.
git-svn-id: svn://10.0.0.236/trunk@27216 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:48:21 +00:00
jdunn%netscape.com
e4598f6328 fix compiler error, need to specify base class 'type'
git-svn-id: svn://10.0.0.236/trunk@27215 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:46:53 +00:00
jdunn%netscape.com
b58ef057d0 fixing compiler error (nsIMsgUriUrl base class must be declared public)
git-svn-id: svn://10.0.0.236/trunk@27214 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:35:45 +00:00
sspitzer%netscape.com
4c1b330329 quiet the UNIX compiler. Thanks to bruce@cybersight.com for this patch.
git-svn-id: svn://10.0.0.236/trunk@27213 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:28:28 +00:00
joki%netscape.com
dc1c99d47d New argument to nsIWebShellContainer::FocusAvailable method
git-svn-id: svn://10.0.0.236/trunk@27212 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:25:08 +00:00
joki%netscape.com
6c59f19391 New api's into nsEventStateManager for content state change (hover,focus,active)
git-svn-id: svn://10.0.0.236/trunk@27211 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:24:07 +00:00
slamm%netscape.com
6dcc3a4be3 Pthreads is on by default now for configure. Make client.mk do the same.
git-svn-id: svn://10.0.0.236/trunk@27210 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:20:59 +00:00
joki%netscape.com
e873653f5b Event name change to add prefix to js handlers
git-svn-id: svn://10.0.0.236/trunk@27209 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:17:44 +00:00
joki%netscape.com
70d7812e25 Event name change to remove unnecessary prefix.
git-svn-id: svn://10.0.0.236/trunk@27208 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:17:07 +00:00
jdunn%netscape.com
624fbed6ba remove compiler warning, add comment delimiters after endif
git-svn-id: svn://10.0.0.236/trunk@27207 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:58:05 +00:00
jdunn%netscape.com
dde3c460f1 remove compiler warning about no return value
git-svn-id: svn://10.0.0.236/trunk@27206 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:57:11 +00:00
jdunn%netscape.com
cc44f56cd9 fix compiler error (NS_DECL_ISUPPORTS doesn't require a ';'
git-svn-id: svn://10.0.0.236/trunk@27205 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:56:15 +00:00
jdunn%netscape.com
df5dccaedf fix compile warning about no return value
git-svn-id: svn://10.0.0.236/trunk@27204 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:54:27 +00:00
jdunn%netscape.com
e8f182e3e1 add comment delimiter after endif
git-svn-id: svn://10.0.0.236/trunk@27203 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:52:38 +00:00
jdunn%netscape.com
686adb4817 fix compiler error (NS_DECL_ISUPPORTS does not require a ';'
git-svn-id: svn://10.0.0.236/trunk@27202 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:51:52 +00:00
jdunn%netscape.com
1f8cdcec79 fix compiler error (NS_DECL_ISUPPORTS shouldn't befollowed by a ';'
git-svn-id: svn://10.0.0.236/trunk@27201 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:47:08 +00:00
jdunn%netscape.com
ca46c09d3d fix native compiler error (NS_DECL_ISUPPORTS should not have ';'
git-svn-id: svn://10.0.0.236/trunk@27200 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:46:09 +00:00
jdunn%netscape.com
fdb72fcee2 fix compiler error (NS_DECL_ISUPPORTS shouldn't have a ';' at the end
git-svn-id: svn://10.0.0.236/trunk@27199 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:40:13 +00:00
jdunn%netscape.com
638336de50 fix native compiler error (NS_DECL_ISUPPORTS should not be followed by a ';'
git-svn-id: svn://10.0.0.236/trunk@27198 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:38:57 +00:00
warren%netscape.com
4cb8790a0b Fixed up nsIUrl and added an implementation that allows for setting the parts. Added MakeAbsoluteUrl to nsINetService and nsIProtocolHandler.
git-svn-id: svn://10.0.0.236/trunk@27197 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:35:24 +00:00
jdunn%netscape.com
a3c0b7b8c0 Fixing native compiler error (NS_DECL_ISUPPORTS shouldn't have a ';' at the end
git-svn-id: svn://10.0.0.236/trunk@27196 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:35:04 +00:00
kipp%netscape.com
9ef0e48053 alloc another IID
git-svn-id: svn://10.0.0.236/trunk@27195 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:34:28 +00:00
sfraser%netscape.com
a802c28b01 Don't crash when quitting with an editor window open.
git-svn-id: svn://10.0.0.236/trunk@27194 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:27:06 +00:00
putterman%netscape.com
43d60385c3 Add descending sort, add Message counts to folder pane and Open Navigator
from within Messenger.


git-svn-id: svn://10.0.0.236/trunk@27193 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:25:41 +00:00
putterman%netscape.com
777d73c26c use PL_strfree.
git-svn-id: svn://10.0.0.236/trunk@27192 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:24:47 +00:00
putterman%netscape.com
d828c93800 Use PL_strfree.
git-svn-id: svn://10.0.0.236/trunk@27191 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:24:24 +00:00
putterman%netscape.com
c484263a57 Don't read past end of buffer.
git-svn-id: svn://10.0.0.236/trunk@27190 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:23:57 +00:00
putterman%netscape.com
093c874099 View message counts in the folder pane.
git-svn-id: svn://10.0.0.236/trunk@27189 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:23:40 +00:00
rhp%netscape.com
7c41798718 Added nsEscapeHTML() function
git-svn-id: svn://10.0.0.236/trunk@27188 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:23:21 +00:00
putterman%netscape.com
ba8ed309fa Add GetBufferPos
git-svn-id: svn://10.0.0.236/trunk@27187 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:23:04 +00:00
putterman%netscape.com
65308d5196 use PR_FALSE instead of FALSE
git-svn-id: svn://10.0.0.236/trunk@27186 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:22:48 +00:00
putterman%netscape.com
da9ba8879c Some code cleanup.
git-svn-id: svn://10.0.0.236/trunk@27185 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:22:27 +00:00
putterman%netscape.com
cbed3fb872 Pass in old values to property changed.
git-svn-id: svn://10.0.0.236/trunk@27184 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:22:10 +00:00
waterson%netscape.com
2121740a67 Fixed problem with HTML-nested-in-XUL-neseted-in-HTML. Removed unnecessary code that was #ifdef-ed out.
git-svn-id: svn://10.0.0.236/trunk@27183 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:16:32 +00:00
jdunn%netscape.com
7e79655101 use C style comments instead of C++ since this is a 'C' file.
git-svn-id: svn://10.0.0.236/trunk@27182 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:15:26 +00:00
jdunn%netscape.com
6a8295e0a5 on AIX (and I am suspecting HPUX) nsDerivedSafe needs to be a friend in
order to access the private constructor.


git-svn-id: svn://10.0.0.236/trunk@27181 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:14:20 +00:00
jdunn%netscape.com
c3d98e9fac ANSIC requires that structures need 'friend' status to access other structures
IF they are protected (or private).  fix for bug 4642


git-svn-id: svn://10.0.0.236/trunk@27180 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:12:15 +00:00
sspitzer%netscape.com
e0dd88aee3 need to do a SessionCommit, not a SmallCommit, to get the changes
written out to disk


git-svn-id: svn://10.0.0.236/trunk@27179 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:10:42 +00:00
chuang%netscape.com
f19ae765ae update window autoflow policy
git-svn-id: svn://10.0.0.236/trunk@27177 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 19:39:25 +00:00
leaf%mozilla.org
aff0eab8f9 fixing ActiveX control build
git-svn-id: svn://10.0.0.236/trunk@27176 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 19:38:40 +00:00
neeti%netscape.com
aefb330d3d Enabled ObserverService api on Mac and Unix
git-svn-id: svn://10.0.0.236/trunk@27175 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 19:13:42 +00:00
neeti%netscape.com
6b7f35b8ed Removed XP_PC for ObserverService api
git-svn-id: svn://10.0.0.236/trunk@27174 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 19:08:25 +00:00
sspitzer%netscape.com
0369fa4e65 do a commit to get the db to write.
someone (nsMsgFolder?) still has an open reference to the db when I quit,
so it doesn't automatically get written out


git-svn-id: svn://10.0.0.236/trunk@27173 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 19:07:36 +00:00
sspitzer%netscape.com
c6d28f31dd use a real CID, from http://niki/cgi-bin/uuidgen.pl
git-svn-id: svn://10.0.0.236/trunk@27172 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 19:06:50 +00:00
sspitzer%netscape.com
20ef58e9ba nsf is back to msf
git-svn-id: svn://10.0.0.236/trunk@27171 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 19:06:26 +00:00
waterson%netscape.com
4006bd73fa Fixed incorrect usage of nsSerivceManager with RDF data source.
git-svn-id: svn://10.0.0.236/trunk@27170 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 19:02:34 +00:00
waterson%netscape.com
78d80b85dd Landed RDF_19990407_BRANCH, which includes changes to support the local store, support for namespace prefixes in DOM methods, and notifications.
git-svn-id: svn://10.0.0.236/trunk@27169 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 19:02:12 +00:00
waterson%netscape.com
92c27a9133 Added TestObserverService.cpp
git-svn-id: svn://10.0.0.236/trunk@27168 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:48:20 +00:00
waterson%netscape.com
90782940ff Added observer classes.
git-svn-id: svn://10.0.0.236/trunk@27167 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:48:02 +00:00
waterson%netscape.com
8dfc4f77a8 Added observer interfaces.
git-svn-id: svn://10.0.0.236/trunk@27166 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:46:49 +00:00
waterson%netscape.com
e76b5088fa Added missing export for HashKey::Exists().
git-svn-id: svn://10.0.0.236/trunk@27165 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:46:15 +00:00
bienvenu%netscape.com
d425210ce6 put ? in for user instead of requiring user to type it
git-svn-id: svn://10.0.0.236/trunk@27164 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:44:52 +00:00
bienvenu%netscape.com
b37d239f0c put tag in for commands from test app
git-svn-id: svn://10.0.0.236/trunk@27163 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:44:23 +00:00
waqar%netscape.com
cb95040898 Changed C++ comment to a C comment to make AIX compiler happy.
git-svn-id: svn://10.0.0.236/trunk@27162 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:28:53 +00:00
mscott%netscape.com
c684192e8e (Not part of the build process)
Update imap incoming server to be in synch with Alec's latest identities drop. This fixes our build problem too.


git-svn-id: svn://10.0.0.236/trunk@27161 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:17:00 +00:00
waterson%netscape.com
7b3cc15d07 Added nsIObserverService, nsIObserverList, and nsIObserver to exports.
git-svn-id: svn://10.0.0.236/trunk@27160 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:11:47 +00:00
waterson%netscape.com
abd2c033c9 Added GetIID() so that this can be used with nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@27159 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:10:08 +00:00
waterson%netscape.com
ab45c7b417 Added GetIID() method so this can be used with nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@27158 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 18:08:43 +00:00
jfrancis%netscape.com
2b679b5ef6 attempting to fix unix build
git-svn-id: svn://10.0.0.236/trunk@27157 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 14:10:24 +00:00
dp%netscape.com
fa89a37485 StartupComponents : Strawman spec in place.
git-svn-id: svn://10.0.0.236/trunk@27156 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 12:47:30 +00:00
dp%netscape.com
801026b4d0 ProgID fixed by nick.
git-svn-id: svn://10.0.0.236/trunk@27155 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 12:46:17 +00:00
dp%netscape.com
1948fe3b56 Using PROGID for registry instance creation.
git-svn-id: svn://10.0.0.236/trunk@27154 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 12:34:32 +00:00
dp%netscape.com
010af1aa41 ProgID hashing fixed. We now hash the progids passed in with RegisterFactory() also. Thanks to Nicholas Ambrose <nick87@hotmail.com> for yet another patch.
git-svn-id: svn://10.0.0.236/trunk@27153 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 12:32:24 +00:00
jfrancis%netscape.com
c6d12c638f checkpointing html typing rules
git-svn-id: svn://10.0.0.236/trunk@27152 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 12:01:32 +00:00
chuang%netscape.com
2c98ae521d Set window overflow policy
git-svn-id: svn://10.0.0.236/trunk@27151 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 09:02:48 +00:00
mccabe%netscape.com
5ab71cf202 Fixed initial copyright date.
Thanks to Tim Rowley <tor@cs.brown.edu> for this SunOS fix.


git-svn-id: svn://10.0.0.236/trunk@27149 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 08:57:06 +00:00
mccabe%netscape.com
1a1fe1bdf9 Fix to 4575.
Buildsystem changes to handle the lock_SunOS.s file properly on the native compiler.

Also added a new SunOS5.7 config file, and changed several SunOS config files from redundant copies to includes of a base file.


git-svn-id: svn://10.0.0.236/trunk@27148 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 07:54:52 +00:00
braddr%puremagic.com
dba30b95f4 oops.. $(ZLIB_LIB) -> $(ZLIB_LIBS)
git-svn-id: svn://10.0.0.236/trunk@27147 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 07:06:05 +00:00
braddr%puremagic.com
5e146e4b53 Add back in a header file that's still needed that beard took out.
git-svn-id: svn://10.0.0.236/trunk@27146 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 06:00:44 +00:00
sspitzer%netscape.com
ac1dc5383e use a more realistic example in the comment
git-svn-id: svn://10.0.0.236/trunk@27145 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:58:21 +00:00
sspitzer%netscape.com
af9d7ce24b use a more realistic path
git-svn-id: svn://10.0.0.236/trunk@27144 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:57:19 +00:00
sspitzer%netscape.com
b89982d4a6 add news_message:// URI to the example comment
git-svn-id: svn://10.0.0.236/trunk@27143 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:53:27 +00:00
sspitzer%netscape.com
f05b9c0bf4 renamed NS_MAILNEWSMESSAGERESOURCE_CID to NS_MAILBOXMESSAGERESOURCE_CID
(it is mailbox_message:// after all) created NS_NEWSMESSAGERESOURCE_CID (for news_message://)


git-svn-id: svn://10.0.0.236/trunk@27142 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:42:08 +00:00
sspitzer%netscape.com
c7842fd111 cleaned this code up. (still a work in progress)
git-svn-id: svn://10.0.0.236/trunk@27141 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:41:32 +00:00
sspitzer%netscape.com
521d879877 more debugging printfs and comments to help explain what's going on
git-svn-id: svn://10.0.0.236/trunk@27140 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:37:29 +00:00
beard%netscape.com
9fcbe9170e changed to "application/x-java-applet"
git-svn-id: svn://10.0.0.236/trunk@27139 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:36:06 +00:00
sspitzer%netscape.com
4a15b43381 changes required because I added nsNewsSummarySpec.h nsNewsSummarySpec.cpp
git-svn-id: svn://10.0.0.236/trunk@27138 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:35:38 +00:00
beard%netscape.com
ee27608839 1.0d7
git-svn-id: svn://10.0.0.236/trunk@27137 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:34:58 +00:00
sspitzer%netscape.com
0d4e088552 initial add (for the newsdb work)
git-svn-id: svn://10.0.0.236/trunk@27136 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:32:22 +00:00
beard%netscape.com
21c23f1257 fixed call to eval()
git-svn-id: svn://10.0.0.236/trunk@27135 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:30:50 +00:00
beard%netscape.com
427a4f55c7 support for "application/x-java-applet"
git-svn-id: svn://10.0.0.236/trunk@27134 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:30:04 +00:00
beard%netscape.com
46cf8817f6 added RunnableMixin.cpp
git-svn-id: svn://10.0.0.236/trunk@27133 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:29:27 +00:00
beard%netscape.com
ee8d795131 Reworked to use nsIThreadManager::PostEvent() to execute JSObject methods from an arbitrary Java thread.
git-svn-id: svn://10.0.0.236/trunk@27132 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:29:00 +00:00
morse%netscape.com
1bb1551832 integrate wallet and single signon
git-svn-id: svn://10.0.0.236/trunk@27131 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:26:34 +00:00
beard%netscape.com
b0d3e86671 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27130 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:26:18 +00:00
beard%netscape.com
38d6d3f378 removed <PP_Types.h>, getting PL_EventQueue from the nsIEventQueueService, added calls to handle the PL_Events posted from other threads.
git-svn-id: svn://10.0.0.236/trunk@27129 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:23:55 +00:00
beard%netscape.com
aa6c0196ae added mEventQueue, a PL_EventQueue
git-svn-id: svn://10.0.0.236/trunk@27128 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:21:25 +00:00
beard%netscape.com
f6aa9c9180 added PostEvent(), which calls nsIRunnable::Run() in a specified thread.
git-svn-id: svn://10.0.0.236/trunk@27127 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:20:21 +00:00
beard%netscape.com
008d1c35eb added PostEvent()
git-svn-id: svn://10.0.0.236/trunk@27126 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:17:58 +00:00
beard%netscape.com
55f3acd039 removed g_pNSIServiceManager (no longer used)
git-svn-id: svn://10.0.0.236/trunk@27125 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:16:14 +00:00
beard%netscape.com
edb049b30e added GetJSThread(), to obtain the thread ID to send events to via nsIThreadManager::PostEvent().
git-svn-id: svn://10.0.0.236/trunk@27124 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:14:19 +00:00
beard%netscape.com
13af5e24ac added GetJSThread()
git-svn-id: svn://10.0.0.236/trunk@27123 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:12:48 +00:00
blizzard%redhat.com
f4a5740394 add nsSelectionMgr stubs so this thing will run again
git-svn-id: svn://10.0.0.236/trunk@27122 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 02:31:52 +00:00
beard%netscape.com
2c4507bf2f simpler call to JSObject.eval
git-svn-id: svn://10.0.0.236/trunk@27121 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 23:41:38 +00:00
bienvenu%netscape.com
103cbe6b43 add a couple methods for imap folder sync
git-svn-id: svn://10.0.0.236/trunk@27120 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 23:28:48 +00:00
bienvenu%netscape.com
f21505c83c fix a couple top level threading bugs
git-svn-id: svn://10.0.0.236/trunk@27119 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 23:27:36 +00:00
bienvenu%netscape.com
4baa7f2116 hook up some of the stuff for syncing folders
git-svn-id: svn://10.0.0.236/trunk@27118 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 23:26:30 +00:00
bienvenu%netscape.com
1523c5e53b add abstract interface for flag and uid state
git-svn-id: svn://10.0.0.236/trunk@27117 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 23:14:31 +00:00
braddr%puremagic.com
c6c833a0e1 Changed direct uses of -lz or -lzlib to $(ZLIB_LIBS)
Changed direct use of -lnspr3 and friends to $(NSPR_LIBS)


git-svn-id: svn://10.0.0.236/trunk@27116 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 23:07:04 +00:00
buster%netscape.com
64e11a9d2f vastly improved RemoveTextProperty
turned off debug output


git-svn-id: svn://10.0.0.236/trunk@27115 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 22:55:40 +00:00
buster%netscape.com
23cdcfcbf2 added some debugging output
git-svn-id: svn://10.0.0.236/trunk@27114 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 22:53:17 +00:00
braddr%puremagic.com
c572773032 -lz should be -lzlib
git-svn-id: svn://10.0.0.236/trunk@27113 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 22:37:49 +00:00
braddr%puremagic.com
0b532a8891 Fix linking for nspr libs
git-svn-id: svn://10.0.0.236/trunk@27112 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 22:12:29 +00:00
briano%netscape.com
be2e01ce90 Automated update
git-svn-id: svn://10.0.0.236/trunk@27111 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 19:44:37 +00:00
ramiro%netscape.com
f3ad5522fd Uncouple MOZ_DEBUG from --enable-debug.
git-svn-id: svn://10.0.0.236/trunk@27110 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 19:36:21 +00:00
sspitzer%netscape.com
ad3edb6379 windows doesn't build the mailbox test, so UNIX isn't going to either.
git-svn-id: svn://10.0.0.236/trunk@27109 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 19:24:12 +00:00
briano%netscape.com
c4c54f63d9 Automated update
git-svn-id: svn://10.0.0.236/trunk@27108 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 17:44:37 +00:00
ramiro%netscape.com
a10da49c49 Undo hack that made -O and -g were mutually exclusive.
git-svn-id: svn://10.0.0.236/trunk@27107 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 17:43:06 +00:00
ramiro%netscape.com
9c089603d5 Oops..undo a screwup. Exorcised too much...
git-svn-id: svn://10.0.0.236/trunk@27106 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 14:41:58 +00:00
ramiro%netscape.com
1d6947ded8 tweak_nspr exorcism.
git-svn-id: svn://10.0.0.236/trunk@27105 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 14:27:35 +00:00
ramiro%netscape.com
36f3ab8cb1 Add nsprenv.mk.in. This is a autoconf template for an nspr environment
makefile.  configure will munge this file such that it can be used to build
NSPR in the source tree.


git-svn-id: svn://10.0.0.236/trunk@27104 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 14:25:23 +00:00
briano%netscape.com
7e771c3c97 Automated update
git-svn-id: svn://10.0.0.236/trunk@27103 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 14:14:36 +00:00
ramiro%netscape.com
d5cba2cc69 Add support for building NSPR from the source tree. If the NSPR detection
fails, use build and use mozilla/nsprpub as if nspr were part of the build
system.  A small tweak to NSPR is needed before this can be activated.
Also make sure the USE_PTHREADS environment var for NSPR is properly set
and not hard coded.


git-svn-id: svn://10.0.0.236/trunk@27102 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 14:12:39 +00:00
briano%netscape.com
1acf55c160 Automated update
git-svn-id: svn://10.0.0.236/trunk@27101 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 11:29:36 +00:00
ramiro%netscape.com
1f1bd30d00 Fixing the pthread check. Step 1. Un-couple -lpthread from NSPR_LIBS.
Im doing this very carefully I steps in order not to break the complicated
pthread and nspr hackery.


git-svn-id: svn://10.0.0.236/trunk@27100 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 11:17:43 +00:00
briano%netscape.com
a791961851 Automated update
git-svn-id: svn://10.0.0.236/trunk@27099 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 10:44:36 +00:00
ramiro%netscape.com
a5e2695547 Simplify further. Use only one one variable to indicate whether NSPR is
native or not.

Remove a bunch of AC_DEFINE() statements for a previous rpm support checkin
I made (it was not needed).  Use MOZ_ instead of MOZILLA_ to be consistent
with the rest of configure.in.

Added build/nsprenv.mk support.  Setting the NSPR environment via a file.
This doesnt work yet, since it needs 2 small tweaks to NSPR.

Added support for non native nspr.  Not turned on yet.  Until NSPR includes
2 small tweaks.

Since comments are free, added a bunch of them.


git-svn-id: svn://10.0.0.236/trunk@27098 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 10:32:45 +00:00
gayatrib%netscape.com
1132f0a817 Added profile module back
git-svn-id: svn://10.0.0.236/trunk@27097 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 09:41:53 +00:00
gayatrib%netscape.com
87ffa8e6f0 Added profile module
git-svn-id: svn://10.0.0.236/trunk@27096 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 09:40:22 +00:00
gayatrib%netscape.com
71b630b29c removed profile module. Need to use RegFactory to manually register the xpprofile32.dll for now. This problem will be fixed shortly
git-svn-id: svn://10.0.0.236/trunk@27095 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 08:53:35 +00:00
braddr%puremagic.com
3ef26959b8 Add $(NULL) to the list of exports since all the othe working public/makefile.win's seem to include this.
git-svn-id: svn://10.0.0.236/trunk@27094 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 08:52:32 +00:00
briano%netscape.com
1f1e91068a Automated update
git-svn-id: svn://10.0.0.236/trunk@27093 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 08:14:37 +00:00
ramiro%netscape.com
d76b9665b2 Simplyfi a bit. If NSPR is detected in the system, dont build nsprpub
automatically witout having to specify --disable-build-nspr.


git-svn-id: svn://10.0.0.236/trunk@27092 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 08:04:59 +00:00
srinivas%netscape.com
4241da40d4 Removed mozilla-specific library path components: bug #4450.
git-svn-id: svn://10.0.0.236/trunk@27091 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 06:44:49 +00:00
morse%netscape.com
2ce9f7cfda same as previous fix but for safe fillin this time (previous one was for quick fillin
git-svn-id: svn://10.0.0.236/trunk@27090 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 05:55:02 +00:00
morse%netscape.com
2ac4928083 get wallet working again now that frame structure of apprunner has been altered (for sidebar)
git-svn-id: svn://10.0.0.236/trunk@27089 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 05:49:38 +00:00
gayatrib%netscape.com
f290b624b1 Removed references to HASHLIBS as it is not required
git-svn-id: svn://10.0.0.236/trunk@27088 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 05:20:24 +00:00
gayatrib%netscape.com
d464e85b20 removed BUILD_PROFILE ifdef
git-svn-id: svn://10.0.0.236/trunk@27087 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 05:13:58 +00:00
troy%netscape.com
a40295762e Added ReparentFrameView() and changed the block and inline code
to call it when pushing/pulling frames


git-svn-id: svn://10.0.0.236/trunk@27086 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 04:22:00 +00:00
troy%netscape.com
36f1020d73 Changed ConstructRootFrame() to check if the device is scrollable when
determining whether to make the viewport scrollable


git-svn-id: svn://10.0.0.236/trunk@27085 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 03:10:20 +00:00
troy%netscape.com
a0193895a8 Changed DidReflow() so we size and position our view before we call
the child frame's DidReflow() function. This ensures that the parent view
is properly positioned before positioning the child views. This is
important when positioning the widgets


git-svn-id: svn://10.0.0.236/trunk@27084 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:56:28 +00:00
sspitzer%netscape.com
6affff5c27 fix the hardcoded value. don't wory. this is temporary anyways
git-svn-id: svn://10.0.0.236/trunk@27083 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:39:30 +00:00
sspitzer%netscape.com
0323f649e7 fix the hardcoded value. don't panic, this is all temporary work anyways
git-svn-id: svn://10.0.0.236/trunk@27082 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:39:01 +00:00
sspitzer%netscape.com
910b66406b more newsdb related stuff
git-svn-id: svn://10.0.0.236/trunk@27081 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:38:32 +00:00
beard%netscape.com
3142f7e323 renamed XPTC_InvokeByIndex to _XPTC_InvokeByIndex, to avoid having to have a .exp file for libxpt. #pragma export is used in xptcinvoke_mac.cpp to export XPTC_InvokeByIndex.
git-svn-id: svn://10.0.0.236/trunk@27079 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:31:13 +00:00
beard%netscape.com
b495fa8dcc First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27078 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:28:06 +00:00
beard%netscape.com
316e6f38cf XP_MAC: added local strdup that uses malloc, renamed main to xpidl_main when built as a CodeWarrior plugin.
git-svn-id: svn://10.0.0.236/trunk@27077 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:15:09 +00:00
beard%netscape.com
8971b8be60 XP_MAC: added call out to mac_fopen() for simple filenames (no path) to allow the CodeWarrior plugin to search for the file in the access paths.
git-svn-id: svn://10.0.0.236/trunk@27076 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:11:36 +00:00
beard%netscape.com
52524c279f #include <libIDL/IDL.h> -> #include <IDL.h> on XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@27075 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:09:14 +00:00
beard%netscape.com
d2015f9655 strdup -> xpidl_strdup, for consistency
git-svn-id: svn://10.0.0.236/trunk@27074 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:08:18 +00:00
beard%netscape.com
3f07e959ca nsToolkit::SetFocus, fully initializing the guiEvent struct.
git-svn-id: svn://10.0.0.236/trunk@27073 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:05:51 +00:00
beard%netscape.com
05207aa642 added nsAllocator exports for XPConnect's use.
git-svn-id: svn://10.0.0.236/trunk@27072 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:03:49 +00:00
beard%netscape.com
55603fe5e8 renamed g_pNSIServiceManager to theServiceManager.
git-svn-id: svn://10.0.0.236/trunk@27071 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:01:18 +00:00
beard%netscape.com
34eb24753a got rid of m_pNSIFactory, service manager is used to manage singletons. renamed g_pNSIServiceManager to theServiceMangager.
git-svn-id: svn://10.0.0.236/trunk@27070 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:01:17 +00:00
beard%netscape.com
f6e9d16831 added xptcinvoke_mac.s
git-svn-id: svn://10.0.0.236/trunk@27069 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 23:55:39 +00:00
beard%netscape.com
9e08ba67ef First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27068 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 23:52:55 +00:00
beard%netscape.com
79ceb2d497 added xptinfo, xptcall sources.
git-svn-id: svn://10.0.0.236/trunk@27067 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 23:47:53 +00:00
sspitzer%netscape.com
23a9cdb6f7 strcmp returns 0 if the strings match. doh!
git-svn-id: svn://10.0.0.236/trunk@27066 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 23:12:01 +00:00
sspitzer%netscape.com
e45469ccda commented out the pop3 test because alecf's recent changes cause it not
to build


git-svn-id: svn://10.0.0.236/trunk@27065 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 22:55:21 +00:00
sspitzer%netscape.com
96896e2d6c pop3Test is broken, due to alecf's recent changes.
git-svn-id: svn://10.0.0.236/trunk@27064 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 22:50:41 +00:00
danm%netscape.com
61e90ccc6e disabling annoying spam debug messages in modal windows
git-svn-id: svn://10.0.0.236/trunk@27063 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 22:43:46 +00:00
sspitzer%netscape.com
253d188a41 changes for the news host gif
git-svn-id: svn://10.0.0.236/trunk@27062 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 22:43:12 +00:00
sspitzer%netscape.com
5b9fa9f31b added news host icon
git-svn-id: svn://10.0.0.236/trunk@27061 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 22:42:15 +00:00
sspitzer%netscape.com
f9a62a875d fix my typos
git-svn-id: svn://10.0.0.236/trunk@27060 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 22:14:23 +00:00
sspitzer%netscape.com
898fa123d1 more newsdb work
git-svn-id: svn://10.0.0.236/trunk@27059 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 22:05:58 +00:00
sspitzer%netscape.com
92a9d9ddff more newsdb changes and changes to quiet the compiler
git-svn-id: svn://10.0.0.236/trunk@27058 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 22:04:29 +00:00
sspitzer%netscape.com
5438a4c7c8 more newsdb related changes
git-svn-id: svn://10.0.0.236/trunk@27057 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 22:04:02 +00:00
sspitzer%netscape.com
649fdf9d60 more newsd related changes.
and changes to quiet the compiler


git-svn-id: svn://10.0.0.236/trunk@27056 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 22:03:26 +00:00
sspitzer%netscape.com
608547a6e6 anal retentive stuff, ignore
git-svn-id: svn://10.0.0.236/trunk@27055 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 22:02:39 +00:00
alecf%netscape.com
6acab92870 forgot to define getDefaultCharPref
git-svn-id: svn://10.0.0.236/trunk@27054 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 21:58:09 +00:00
sspitzer%netscape.com
9d311d12a0 minor tweak to the still-not-done news parser test
git-svn-id: svn://10.0.0.236/trunk@27053 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 21:56:55 +00:00
cyeh%netscape.com
1740a765cf adding mozilla/profile to SeaMonkeyAll
git-svn-id: svn://10.0.0.236/trunk@27052 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 21:27:53 +00:00
sspitzer%netscape.com
a78769feaf ignore a.out as well
git-svn-id: svn://10.0.0.236/trunk@27051 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 21:22:55 +00:00
sspitzer%netscape.com
4a4ef806ee some more cvs ignore work
git-svn-id: svn://10.0.0.236/trunk@27050 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 21:22:31 +00:00
alecf%netscape.com
7f7ba9dfe8 oops, forgot to make this function pure virtual, broke mac
git-svn-id: svn://10.0.0.236/trunk@27049 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 21:15:25 +00:00
alecf%netscape.com
9f70979d66 oops, forgot to check in these updated interfaces
- add SetKey() and remove LoadPreferences() so that we can build these objects lazily


git-svn-id: svn://10.0.0.236/trunk@27048 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 21:04:50 +00:00
alecf%netscape.com
eb4d499266 add ClearUserPref() to the nsIPref interface (needed for mail/news work)
git-svn-id: svn://10.0.0.236/trunk@27047 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:58:50 +00:00
pavlov%pavlov.net
7cdfaaad77 use shared images where available for blending
git-svn-id: svn://10.0.0.236/trunk@27046 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:57:50 +00:00
alecf%netscape.com
d64f3b4451 implementation for updated Multiple Accounts. create accounts/identities lazily, etc
git-svn-id: svn://10.0.0.236/trunk@27045 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:55:30 +00:00
alecf%netscape.com
fc0e012a86 the POP3 service now takes an nsIPop3IncomingServer to get context for all pop3 activity.
nsIPop3Sink now contains an nsIPop3IncomingServer that gets passed down along
with the URL so that after the URL has run we still have information about which server this came from


git-svn-id: svn://10.0.0.236/trunk@27044 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:50:52 +00:00
alecf%netscape.com
3de8eb0c5a rev the Multiple Accounts system:
- remove LoadPreferences() function, make use of SetKey instead
- lazily create accounts/identities/servers are they are requested
- request pref service inside each object rather than passing the same service around
- start to support upgrading of preferences from 4.x world
- preference accessors ask prefs store directly instead of trying to maintain their own copy of each preference
- start to add support for shadow/default "fallback" account/server prefs


git-svn-id: svn://10.0.0.236/trunk@27043 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:46:47 +00:00
jband%netscape.com
d766daa735 adding a makefile
git-svn-id: svn://10.0.0.236/trunk@27042 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:46:22 +00:00
alecf%netscape.com
1fd4b95150 resort to the lowest common denomenator - don't make special cases for mac
git-svn-id: svn://10.0.0.236/trunk@27041 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:39:59 +00:00
alecf%netscape.com
0fe768cc1c clean up the data source
- move much of the target-creation logic into seperate functions
- speed up enumeration by using enumeration function rather than element->GetAt() style loops


git-svn-id: svn://10.0.0.236/trunk@27040 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:38:53 +00:00
alecf%netscape.com
868b22ef80 add mailnews/idl to the unix build
git-svn-id: svn://10.0.0.236/trunk@27039 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:28:19 +00:00
alecf%netscape.com
f1604b3474 create idl file for MailNewsTypes.h so that other IDL files don't get confused
git-svn-id: svn://10.0.0.236/trunk@27038 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:26:54 +00:00
alecf%netscape.com
cb525a1c69 move nsIMsgThread to base/public, and create IDL source
nsIMsgThread.idl has to be in base/public because nsIMessage needs it during
IDL compilation


git-svn-id: svn://10.0.0.236/trunk@27037 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:23:54 +00:00
alecf%netscape.com
f235e5ac71 include mdb.h because soon the interface file will not be including it
git-svn-id: svn://10.0.0.236/trunk@27036 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:21:03 +00:00
pavlov%pavlov.net
ffc1857edf oops, ifdef'd out a tad too much code.
git-svn-id: svn://10.0.0.236/trunk@27035 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:10:55 +00:00
pavlov%pavlov.net
8f5f30ef27 code cleanups. begin work on using xshm
git-svn-id: svn://10.0.0.236/trunk@27034 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 19:36:40 +00:00
sspitzer%netscape.com
29642d174f created this to ignore the generated spec files
git-svn-id: svn://10.0.0.236/trunk@27033 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 18:38:23 +00:00
terry%netscape.com
fe74af7a30 Fixed bug 4928 -- wasn't encoding multi-line value fields properly,
which busted modern browsers (like, Mozilla itself).


git-svn-id: svn://10.0.0.236/trunk@27032 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:42:24 +00:00
kipp%netscape.com
46221376d3 Allow negative values for clip rects as per css spec
git-svn-id: svn://10.0.0.236/trunk@27031 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:33:09 +00:00
kipp%netscape.com
576704347f Fixed bug 4801
git-svn-id: svn://10.0.0.236/trunk@27030 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:32:46 +00:00
kipp%netscape.com
679c72ba3d Support clip property
git-svn-id: svn://10.0.0.236/trunk@27029 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:32:33 +00:00
kipp%netscape.com
1d93c62500 Added SetClipRect helper method
git-svn-id: svn://10.0.0.236/trunk@27028 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:32:22 +00:00
kipp%netscape.com
53dcba354e Always init mMaxElementSize (bug 4836) - just in case
git-svn-id: svn://10.0.0.236/trunk@27027 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:32:04 +00:00
kipp%netscape.com
4387adb210 Support clip property; fix bug 4836 and speed things up slightly by avoiding max-element-size computations when not needed
git-svn-id: svn://10.0.0.236/trunk@27026 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:31:45 +00:00
kipp%netscape.com
5185e0d192 Expose trapezoids
git-svn-id: svn://10.0.0.236/trunk@27025 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:30:57 +00:00
kipp%netscape.com
ef48a43f8b Use block-band-data for debug output
git-svn-id: svn://10.0.0.236/trunk@27024 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:30:46 +00:00
sspitzer%netscape.com
9536881020 point the news demo url to an article on a public news server. so that it
works for people outside netscape


git-svn-id: svn://10.0.0.236/trunk@27023 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:10:26 +00:00
terry%netscape.com
da237562b5 Patch from James Huff <james.huff@cdg.cendant.com> -- was missing one
file from list of scripts to run.


git-svn-id: svn://10.0.0.236/trunk@27022 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 16:43:09 +00:00
sspitzer%netscape.com
96f5b3658b fix more build breakage for Linux
git-svn-id: svn://10.0.0.236/trunk@27021 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 16:15:02 +00:00
sspitzer%netscape.com
2aac28916f fix the --enable-tests build
git-svn-id: svn://10.0.0.236/trunk@27020 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 16:10:34 +00:00
briano%netscape.com
95bab4ea97 Automated update
git-svn-id: svn://10.0.0.236/trunk@27019 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 15:44:36 +00:00
jefft%netscape.com
b4deeb4af3 enabled imap logging facility
git-svn-id: svn://10.0.0.236/trunk@27018 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 15:34:48 +00:00
blizzard%redhat.com
bf28587bdd add makefiles for xlib and add toolkit option
git-svn-id: svn://10.0.0.236/trunk@27017 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 15:30:19 +00:00
blizzard%redhat.com
23ff9315ec xlib mainloop code for viewer
git-svn-id: svn://10.0.0.236/trunk@27016 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 15:28:21 +00:00
blizzard%redhat.com
f99ac70d24 skel code for xlib based widgets
git-svn-id: svn://10.0.0.236/trunk@27015 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 15:26:39 +00:00
blizzard%redhat.com
e16e030191 xlib based gfx skeleton code
git-svn-id: svn://10.0.0.236/trunk@27014 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 15:23:47 +00:00
blizzard%redhat.com
688f2b07b2 base code for unix timers without a toolkit
git-svn-id: svn://10.0.0.236/trunk@27013 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 15:20:27 +00:00
braddr%puremagic.com
73afbdb017 more BUILD_PROFILE
git-svn-id: svn://10.0.0.236/trunk@27012 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 10:58:52 +00:00
braddr%puremagic.com
1d79742f14 more BUILD_PROFILE work
git-svn-id: svn://10.0.0.236/trunk@27011 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 10:57:53 +00:00
braddr%puremagic.com
d87948258d Add BUILD_PROFILE to more profile code
git-svn-id: svn://10.0.0.236/trunk@27010 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 10:52:38 +00:00
braddr%puremagic.com
b6761f7b59 Add another condition to all the profile code until the cvs modules can be fixed
git-svn-id: svn://10.0.0.236/trunk@27009 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 10:13:20 +00:00
braddr%puremagic.com
2ab0c02523 Attempt to fix the win build problems.. profile code isn't being pulled by SeaMonkey* modules yet
git-svn-id: svn://10.0.0.236/trunk@27008 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 10:07:12 +00:00
hyatt%netscape.com
a631370abf Fix for bug 3529.
git-svn-id: svn://10.0.0.236/trunk@27007 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 09:56:51 +00:00
braddr%puremagic.com
cdbd7f5c2b Make the destructor virtual
git-svn-id: svn://10.0.0.236/trunk@27006 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 09:49:03 +00:00
hyatt%netscape.com
c7920a79ec Bug 3298 fixed with this patch.
git-svn-id: svn://10.0.0.236/trunk@27005 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 09:31:48 +00:00
hyatt%netscape.com
4194270213 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@27004 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 09:13:54 +00:00
braddr%puremagic.com
429f00990a Oops.. there were two.. bad gayatrib@netscape.com, no biscuit.
git-svn-id: svn://10.0.0.236/trunk@27003 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 09:01:00 +00:00
braddr%puremagic.com
1c386cbb50 Move some trace refcounting only code and variables inside the proper ifdefs
git-svn-id: svn://10.0.0.236/trunk@27002 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 08:50:50 +00:00
braddr%puremagic.com
1470916ea9 Clean up undefined variables and a static prototype that no longer has a function body to match
git-svn-id: svn://10.0.0.236/trunk@27001 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 08:45:36 +00:00
braddr%puremagic.com
e18c9c6807 Move new include into the #if XP_PC section since the only code using it (and can find the header file) is wrapped with XP_PC also
git-svn-id: svn://10.0.0.236/trunk@27000 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 08:43:17 +00:00
hyatt%netscape.com
a2f0d61d15 Making sure the right URLs are writable.
git-svn-id: svn://10.0.0.236/trunk@26999 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 08:18:20 +00:00
jband%netscape.com
39f03647d4 making the overloaded assignment operator sig better match the usage in hopes that the ambiguous error on Sun will go away
git-svn-id: svn://10.0.0.236/trunk@26998 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 08:17:05 +00:00
braddr%puremagic.com
ca052ae875 Add missing include file to define sprintf
git-svn-id: svn://10.0.0.236/trunk@26997 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 08:15:52 +00:00
hyatt%netscape.com
aac7da2bfd Adding the skindemo file to the make system.
git-svn-id: svn://10.0.0.236/trunk@26996 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 08:12:49 +00:00
braddr%puremagic.com
f3591dece9 Brace an if to shut ecgs up and possibly prevent an accident in the future.
git-svn-id: svn://10.0.0.236/trunk@26995 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 08:12:37 +00:00
hyatt%netscape.com
bb378eb358 A little test file showing off how to switch skins.
git-svn-id: svn://10.0.0.236/trunk@26994 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 08:09:32 +00:00
hyatt%netscape.com
e5581dc586 Implementing persistence of chrome.
git-svn-id: svn://10.0.0.236/trunk@26993 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 08:08:48 +00:00
jband%netscape.com
367e5d8ac6 set as component for unix
git-svn-id: svn://10.0.0.236/trunk@26992 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 07:15:21 +00:00
jband%netscape.com
9e90639ad9 adding library to makefile
git-svn-id: svn://10.0.0.236/trunk@26991 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 07:09:04 +00:00
jband%netscape.com
b17ace4fde fix copy-paste error
git-svn-id: svn://10.0.0.236/trunk@26990 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 07:05:26 +00:00
gayatrib%netscape.com
770d52d301 added profile module
git-svn-id: svn://10.0.0.236/trunk@26989 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 07:02:26 +00:00
briano%netscape.com
63c3f64d3c Automated update
git-svn-id: svn://10.0.0.236/trunk@26988 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:59:37 +00:00
gayatrib%netscape.com
c1eb3b5c48 added ProfileManager CID information
git-svn-id: svn://10.0.0.236/trunk@26987 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:58:10 +00:00
braddr%puremagic.com
3ba8d4b59a Add build and build/package to the exceptions list so that build/package/rpm/Makefile can be created
git-svn-id: svn://10.0.0.236/trunk@26986 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:52:59 +00:00
gayatrib%netscape.com
3a946ac1f5 added profile module
git-svn-id: svn://10.0.0.236/trunk@26985 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:52:27 +00:00
jband%netscape.com
71edd0d024 - added an interactive shell for xpconnect testing.
- added tests/components which autregs itself for testing.
- added finalize listener for wrapped natives to support services.
- added getService to CID class.
- renamed newInstance to createInstance in CID class.
- simplified api for Components object (easy attach to global object).


git-svn-id: svn://10.0.0.236/trunk@26984 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:51:01 +00:00
gayatrib%netscape.com
98bcc33dfa added ProfileManager service to inform about the current profile directory
git-svn-id: svn://10.0.0.236/trunk@26983 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:50:46 +00:00
jband%netscape.com
776a1bd552 export yet another header file (jsstddef.h is included by jsemit.h which is needed for external interactive shells)
git-svn-id: svn://10.0.0.236/trunk@26982 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:47:20 +00:00
gayatrib%netscape.com
c38e646b6c added profile module
git-svn-id: svn://10.0.0.236/trunk@26981 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:43:26 +00:00
gayatrib%netscape.com
40d33c03be Added ProfileManager services
git-svn-id: svn://10.0.0.236/trunk@26980 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:41:59 +00:00
gayatrib%netscape.com
cb93bdbf15 toplevel makefile
git-svn-id: svn://10.0.0.236/trunk@26979 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:33:32 +00:00
gayatrib%netscape.com
1ba3b0b338 sources makefile
git-svn-id: svn://10.0.0.236/trunk@26978 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:33:09 +00:00
gayatrib%netscape.com
7be22c06df ProfileManager implementation
git-svn-id: svn://10.0.0.236/trunk@26977 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:32:26 +00:00
gayatrib%netscape.com
103ff7e70b headers makefile
git-svn-id: svn://10.0.0.236/trunk@26976 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:30:55 +00:00
gayatrib%netscape.com
3538d42c37 ProfileManager interface header file
git-svn-id: svn://10.0.0.236/trunk@26975 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:30:17 +00:00
jband%netscape.com
c1547f9e95 finishing file removal
git-svn-id: svn://10.0.0.236/trunk@26974 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:25:25 +00:00
jband%netscape.com
38296e4df5 Prepare for not emitting js stubs decls into headers. Emit the macro for GetIID.
git-svn-id: svn://10.0.0.236/trunk@26973 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:17:49 +00:00
jband%netscape.com
00b32606ba convert fprintf calls to TRACE macros so they can be more easily turned on and off
git-svn-id: svn://10.0.0.236/trunk@26972 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:11:55 +00:00
rjc%netscape.com
8ca74c14f3 Additional support for "live" containers.
git-svn-id: svn://10.0.0.236/trunk@26971 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:11:37 +00:00
jband%netscape.com
ac0dc254d1 added overloaded asingment operator to quiet pedantice warning
git-svn-id: svn://10.0.0.236/trunk@26970 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:09:54 +00:00
hyatt%netscape.com
faefe25653 Changing window so that it doesn't scroll by default.
git-svn-id: svn://10.0.0.236/trunk@26969 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:07:51 +00:00
jband%netscape.com
5d8b2d28c1 fix misspelling
git-svn-id: svn://10.0.0.236/trunk@26968 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:07:24 +00:00
jband%netscape.com
f8373482e6 battling bitrot in this test program
git-svn-id: svn://10.0.0.236/trunk@26967 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:06:39 +00:00
nhotta%netscape.com
3b304adeaf CSID -> charset name
git-svn-id: svn://10.0.0.236/trunk@26966 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 05:03:24 +00:00
hyatt%netscape.com
ef3e70d2a4 Fixes for bugs 2620 and 3482.
git-svn-id: svn://10.0.0.236/trunk@26965 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 04:49:21 +00:00
ducarroz%netscape.com
e2381c69d2 need to export NS_InitBaseAppCoreClass as "C" function since nsJSBaseAppCore.cpp has been regenerated.
git-svn-id: svn://10.0.0.236/trunk@26964 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 04:32:34 +00:00
troy%netscape.com
54fe5da9f8 Fix for bug #4833. Changed CreateGeneratedContentFrame() to make sure that
'position' is set to 'static'


git-svn-id: svn://10.0.0.236/trunk@26963 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 04:21:33 +00:00
slamm%netscape.com
ce7b9f4db9 Build in source tree by default.
git-svn-id: svn://10.0.0.236/trunk@26962 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 04:07:37 +00:00
terry%netscape.com
86a5ec9687 Fixed stupid typo.
git-svn-id: svn://10.0.0.236/trunk@26961 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 03:53:59 +00:00
ducarroz%netscape.com
093adec658 this time the regeneration of this file by idlc is the good one!
git-svn-id: svn://10.0.0.236/trunk@26960 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 03:32:28 +00:00
leaf%mozilla.org
92d352b5cd fixing gmake-ism in makefile.win
git-svn-id: svn://10.0.0.236/trunk@26959 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 02:43:42 +00:00
ducarroz%netscape.com
9cf21c0d51 backup last check in, was the wrong file to check in!
git-svn-id: svn://10.0.0.236/trunk@26958 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 02:22:06 +00:00
ducarroz%netscape.com
e1a824c772 Added an include path for ::dist:webshell before path ::dist to avoid conflict with duplicated file name nsURLListener.h defined into webshell and mailnews. mscott and law will merge those two files in the future.
git-svn-id: svn://10.0.0.236/trunk@26957 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 02:05:20 +00:00
ducarroz%netscape.com
aa3879c78e Mime Mac landing, last part
git-svn-id: svn://10.0.0.236/trunk@26956 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:44:54 +00:00
sspitzer%netscape.com
cc9ea2edda changes needed for when we build with libIDL
the idl files need to get exported before we build news


git-svn-id: svn://10.0.0.236/trunk@26955 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:44:46 +00:00
briano%netscape.com
e54ff6b295 Automated update
git-svn-id: svn://10.0.0.236/trunk@26954 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:44:34 +00:00
ducarroz%netscape.com
91531c2592 Fix class member function declaration problem
git-svn-id: svn://10.0.0.236/trunk@26953 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:43:53 +00:00
briano%netscape.com
d0c73497a7 Minor change to make IRIX happier.
git-svn-id: svn://10.0.0.236/trunk@26952 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:42:21 +00:00
ducarroz%netscape.com
b869c757fa update project files
git-svn-id: svn://10.0.0.236/trunk@26951 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:40:20 +00:00
ducarroz%netscape.com
1434b7a6bf Mime Mac Landing, fixed few build problem
git-svn-id: svn://10.0.0.236/trunk@26950 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:38:48 +00:00
sspitzer%netscape.com
7c377b71be ignore the test that gets created
git-svn-id: svn://10.0.0.236/trunk@26949 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:37:52 +00:00
ducarroz%netscape.com
397b8b2d09 update Manifest files
git-svn-id: svn://10.0.0.236/trunk@26948 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:36:30 +00:00
ducarroz%netscape.com
6ff60d76ce First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26947 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:35:38 +00:00
nhotta%netscape.com
8680f98a9a Adding uconv.
git-svn-id: svn://10.0.0.236/trunk@26946 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:28:46 +00:00
sspitzer%netscape.com
057ba441dd these aren't there anymore
git-svn-id: svn://10.0.0.236/trunk@26945 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:28:00 +00:00
ducarroz%netscape.com
9953292da9 added export for nsSupportsArrayEnumerator, added export for nsHashtable::Exists, needed by mailnews
git-svn-id: svn://10.0.0.236/trunk@26944 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:23:14 +00:00
ducarroz%netscape.com
de4c0a28a6 regenerated the file with last version of idlc to haveNS_InitBaseAppCoreClass correctly exported, needed by mailnews
git-svn-id: svn://10.0.0.236/trunk@26943 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:22:00 +00:00
briano%netscape.com
686a29ef07 Automated update
git-svn-id: svn://10.0.0.236/trunk@26942 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:20:28 +00:00
momoi%netscape.com
64547978f4 Updated the us-ascii base sort results since the original data file was updated.
git-svn-id: svn://10.0.0.236/trunk@26941 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:20:18 +00:00
ducarroz%netscape.com
266f2c6836 added nsEscape.h, nsStdFileStream.h needed by mailnews
git-svn-id: svn://10.0.0.236/trunk@26940 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:20:02 +00:00
slamm%netscape.com
d5dd4d77fc nevermind the AC_LANG stuff. it's not universal.
git-svn-id: svn://10.0.0.236/trunk@26939 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:18:06 +00:00
momoi%netscape.com
557bd3ba6b Added N into the test data. Should not affect any build.
git-svn-id: svn://10.0.0.236/trunk@26938 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:13:53 +00:00
briano%netscape.com
120821507a Automated update
git-svn-id: svn://10.0.0.236/trunk@26937 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:13:44 +00:00
briano%netscape.com
186131f1cb Cleaned up the statfs mess at the beginning to make use of configure's power.
git-svn-id: svn://10.0.0.236/trunk@26936 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:13:02 +00:00
nhotta%netscape.com
494d26633e Additional test cases for nsILocale and test options.
git-svn-id: svn://10.0.0.236/trunk@26935 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:09:27 +00:00
briano%netscape.com
d974457a16 Change to allow us to find statfs, or statvfs if available, and do away with platform-specific ifdefs in the places this is used.
git-svn-id: svn://10.0.0.236/trunk@26934 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:09:22 +00:00
briano%netscape.com
c2b49a69cf Fix for SunOS4.
git-svn-id: svn://10.0.0.236/trunk@26933 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:06:40 +00:00
briano%netscape.com
4824124342 It turns out that other platforms besides NTO don't have PATH_MAX, so this change should fix them all.
git-svn-id: svn://10.0.0.236/trunk@26932 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:05:53 +00:00
wtc%netscape.com
0b83fedf32 Added prstreams to DIRS.
git-svn-id: svn://10.0.0.236/trunk@26931 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:04:32 +00:00
wtc%netscape.com
e3841853ed Bugzilla bug #4736: added dummy references to rcsid and sccsid so
that they aren't optimized away as unused variables.


git-svn-id: svn://10.0.0.236/trunk@26930 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:01:27 +00:00
nhotta%netscape.com
c8ededebdc MIME encoder utf-8 support.
git-svn-id: svn://10.0.0.236/trunk@26929 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 01:00:15 +00:00
alecf%netscape.com
1a5704cbb2 oops, forgot to include these files for libIDL detection
git-svn-id: svn://10.0.0.236/trunk@26928 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:54:58 +00:00
sspitzer%netscape.com
fffb41ecf8 changes to get newsParserTest to work (at least, work better...)
git-svn-id: svn://10.0.0.236/trunk@26927 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:54:19 +00:00
sspitzer%netscape.com
31e07fc180 add the binary that gets built to the list of things to ignore
git-svn-id: svn://10.0.0.236/trunk@26926 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:52:22 +00:00
dougt%netscape.com
5a6211789d Removing softupdt
git-svn-id: svn://10.0.0.236/trunk@26925 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:49:48 +00:00
pinkerton%netscape.com
1cfb599503 remove MathLib, as it is in interfacesLib already.
git-svn-id: svn://10.0.0.236/trunk@26924 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:49:18 +00:00
nhotta%netscape.com
29a092b1fb Bug fix for #4505.
git-svn-id: svn://10.0.0.236/trunk@26923 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:47:14 +00:00
nhotta%netscape.com
85a300c2ab Changed to use nsIPosixLocale.
git-svn-id: svn://10.0.0.236/trunk@26922 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:45:31 +00:00
sspitzer%netscape.com
20b90e09bd changes to get the tree to build when the libIDL rpms are installed
git-svn-id: svn://10.0.0.236/trunk@26921 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:41:03 +00:00
sspitzer%netscape.com
6f49705474 adding these cvsignore files
git-svn-id: svn://10.0.0.236/trunk@26920 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:39:11 +00:00
mccabe%netscape.com
85e37c2302 Not part of the mozilla build. The currently about-to-ensue breakage is not my fault!
Remove redundant sub.  Patch courtesy Dave Neuer <dneuer@futuristics.net>.


git-svn-id: svn://10.0.0.236/trunk@26919 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:37:46 +00:00
sspitzer%netscape.com
e1764a9c6b ignore the test that gets built
git-svn-id: svn://10.0.0.236/trunk@26917 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:36:48 +00:00
sspitzer%netscape.com
6551dfd028 fixes to get the test to build
git-svn-id: svn://10.0.0.236/trunk@26916 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:36:18 +00:00
sspitzer%netscape.com
3bb4cef0a2 heed the ENABLE_TESTS variable
git-svn-id: svn://10.0.0.236/trunk@26915 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:36:05 +00:00
sspitzer%netscape.com
b01a4abd1d ignore the generated rdcat binary
git-svn-id: svn://10.0.0.236/trunk@26914 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:35:28 +00:00
jefft%netscape.com
606d2f9b1a set flag state to imap parser at the intialize() method; use PR_CALLOC instead of PR_MALLOC
git-svn-id: svn://10.0.0.236/trunk@26913 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:35:19 +00:00
sspitzer%netscape.com
deb833db4d fix the makefile to listen to ENABLE_TESTS
git-svn-id: svn://10.0.0.236/trunk@26912 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:35:08 +00:00
sspitzer%netscape.com
b6659cd1ad fixes to make the tests build
git-svn-id: svn://10.0.0.236/trunk@26911 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:34:44 +00:00
sspitzer%netscape.com
a503bbab8c comment out mailbox test, because it is stale and won't build
git-svn-id: svn://10.0.0.236/trunk@26910 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:34:26 +00:00
sspitzer%netscape.com
e9c22d1d14 changes to make the tests build
git-svn-id: svn://10.0.0.236/trunk@26909 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:34:04 +00:00
sspitzer%netscape.com
5d22cd3d4e fixes to make the test build
git-svn-id: svn://10.0.0.236/trunk@26908 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:32:53 +00:00
dougt%netscape.com
b1c9993de0 fixing Move() testcase to reflect changes made.
added nspr compatiblity tests.


git-svn-id: svn://10.0.0.236/trunk@26907 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:31:35 +00:00
radha%netscape.com
475f83e53e Recommiting 1.66 changes. It got removed by Matt's checkin.
git-svn-id: svn://10.0.0.236/trunk@26906 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:31:31 +00:00
dougt%netscape.com
4ed02c79b9 Make the windows specific code use nsprPath.
git-svn-id: svn://10.0.0.236/trunk@26905 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:30:23 +00:00
briano%netscape.com
88b4363d0e Automated update
git-svn-id: svn://10.0.0.236/trunk@26904 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:29:44 +00:00
dougt%netscape.com
88d01b020a Adding nsprPath class.
Removing existing check when creating subdirectories.


git-svn-id: svn://10.0.0.236/trunk@26903 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:29:20 +00:00
slamm%netscape.com
cdd43c4ed3 Use autoconf magic to switch AC_ tests to use C++ instead of C.
git-svn-id: svn://10.0.0.236/trunk@26902 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:27:24 +00:00
dougt%netscape.com
3fbcdbf5cc Adding nsprPath class.
Changing comments to reflect the real world.


git-svn-id: svn://10.0.0.236/trunk@26901 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:27:09 +00:00
alecf%netscape.com
c557d38da2 fix libIDL checking in configure script. For now require 0.6.3
git-svn-id: svn://10.0.0.236/trunk@26900 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:25:55 +00:00
pinkerton%netscape.com
cbd5c36140 Move all apple libs into MacOS target of interfaces.mcp. Only "apple" lib in each project should now be InterfacesStubs (with some minor exceptions). permission to checkin granted by cyeh.
git-svn-id: svn://10.0.0.236/trunk@26899 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:15:14 +00:00
briano%netscape.com
9cb7ee2a26 Automated update
git-svn-id: svn://10.0.0.236/trunk@26898 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 23:14:27 +00:00
ramiro%netscape.com
9036031470 Fix for bug 4855. Packaging info for m4 on Linux.
git-svn-id: svn://10.0.0.236/trunk@26896 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 23:01:46 +00:00
jefft%netscape.com
741d37b9a7 (not part of the build yet) rename TIMAPACLRightsInfo to nsIMAPACLRightsInfo
git-svn-id: svn://10.0.0.236/trunk@26895 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 22:06:58 +00:00
jefft%netscape.com
194d2ea123 (not part of the build yet) fixed typo for AllocateCanonicallFolderPath
git-svn-id: svn://10.0.0.236/trunk@26894 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 22:05:43 +00:00
jefft%netscape.com
708897865b (not part of the build yet) export nsIMAPNamespace.h
git-svn-id: svn://10.0.0.236/trunk@26893 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 22:04:21 +00:00
jefft%netscape.com
bca5361fac (not part of the build yet) more porting from 4.5 to 5.0; filling in more stub'd methods in nsImapProtocol; added missing host info methods
git-svn-id: svn://10.0.0.236/trunk@26892 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 21:55:28 +00:00
jefft%netscape.com
8088ffdadf (not part of the build yet) more porting from 4.5 to 5.0; added missing host info methods
git-svn-id: svn://10.0.0.236/trunk@26891 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 21:51:18 +00:00
ramiro%netscape.com
235eb640dd Fix for 4856. run-mozilla scripts were broken in release tarballs.
git-svn-id: svn://10.0.0.236/trunk@26890 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 21:41:23 +00:00
law%netscape.com
2e9db187ae Bug #4779 (file download crashes and fix cancel button XML); approved by chofmann
git-svn-id: svn://10.0.0.236/trunk@26889 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 21:37:53 +00:00
amusil%netscape.com
8a542c535b Fix for Bug# 4751. Added support for data param in addition to src param
git-svn-id: svn://10.0.0.236/trunk@26888 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 21:23:41 +00:00
slamm%netscape.com
ef192f0d74 New fix for bookmark properties to appease expat. It does not like '<' in javascript code. Bug #4678. Previously appropved by chofmann and cyeh.
git-svn-id: svn://10.0.0.236/trunk@26887 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 21:21:01 +00:00
karnaze%netscape.com
5022549b6f more/better table regression scripts
git-svn-id: svn://10.0.0.236/trunk@26886 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 21:12:34 +00:00
karnaze%netscape.com
31f57c1d11 bug 2643, zero width cells
git-svn-id: svn://10.0.0.236/trunk@26885 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 21:09:52 +00:00
karnaze%netscape.com
cb800e68f4 bug 4643, webshells reset scrolling value to prior value on reloading doc
git-svn-id: svn://10.0.0.236/trunk@26884 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 21:09:00 +00:00
danm%netscape.com
c19ed482f9 disabling drag and drop for current milestone. fixes bug 4871. r:rods a:chofmann.
git-svn-id: svn://10.0.0.236/trunk@26883 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 20:59:54 +00:00
karnaze%netscape.com
5512ad4d6f remove margin-right from <input type=text>, <input type=password>, assists with bug1968
git-svn-id: svn://10.0.0.236/trunk@26882 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 20:56:13 +00:00
joki%netscape.com
a5412f5d95 Fix for bug 4001, crashing immediately or on exit after tabbing to end of doc. A: chofmann.
git-svn-id: svn://10.0.0.236/trunk@26881 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 20:35:18 +00:00
ramiro%netscape.com
d102150583 Fix for 2986.
Radio buttons and checkbuttons on form not rendering.
The problem was that the parent widget was rendering on top of them, because
they are windowless.
The fix is to wrap the radio/check buttons in an event box to give them a
window.  Not the most effecient solution, but will do for now until the devil
is exorcised from the event system.


git-svn-id: svn://10.0.0.236/trunk@26880 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 19:58:37 +00:00
ramiro%netscape.com
0819a9cdc6 Fix for editor bug 3249.
Second non-text key doesn't get through.


git-svn-id: svn://10.0.0.236/trunk@26879 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 19:53:50 +00:00
terry%netscape.com
85f6234cfd Oops; back out last change; was busting new checkins!
git-svn-id: svn://10.0.0.236/trunk@26877 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 16:50:49 +00:00
despotdaemon%netscape.com
5ad0e06e10 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@26876 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 16:45:50 +00:00
larryh%netscape.com
72f3b5538c Fix thread-type rotation for Win95
git-svn-id: svn://10.0.0.236/trunk@26875 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 16:38:11 +00:00
terry%netscape.com
62e1bf3af3 Patch from Eric B. Mitchell <emitchell@altaira.com> -- Now uses
DBI::mysql instead of the mysql perl module that came with mysql.  One
side effect of htis is that it now tries to log in as user "bonsai";
I'm actually not sure what username it was trying before.  Also, fixes
a few minor bugs.


git-svn-id: svn://10.0.0.236/trunk@26874 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 14:22:53 +00:00
rpotts%netscape.com
8e19d15aa3 fixed typo... This class should implement the nsIFileTransportService interface.
git-svn-id: svn://10.0.0.236/trunk@26873 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 05:43:30 +00:00
mccabe%netscape.com
9c74879298 Checking in jband's install.bat... hopefully making people's lives somewhat easier.
git-svn-id: svn://10.0.0.236/trunk@26872 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 05:04:19 +00:00
troy%netscape.com
64e0b6f9de Fix for bug #4824. Added NULL pointer checks in GoToAnchor()
git-svn-id: svn://10.0.0.236/trunk@26871 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 04:28:15 +00:00
terry%netscape.com
f4b07da55e Patch by jay@invengen.com -- fixed bug 4106 (was busting on IE).
git-svn-id: svn://10.0.0.236/trunk@26870 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 04:19:14 +00:00
terry%netscape.com
4b17caaa1e Patch from Larry Prall <lgp@mindspring.com> -- added missing content-type.
git-svn-id: svn://10.0.0.236/trunk@26869 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 04:10:22 +00:00
terry%netscape.com
13c2f11664 Patch from Larry Prall <lgp@mindspring.com> -- fix stupid typo.
git-svn-id: svn://10.0.0.236/trunk@26868 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 04:05:10 +00:00
endico%mozilla.org
da0919e919 add link to my mozilla page. Substitute ampersands first so
ones from gt and lt don't get nuked.


git-svn-id: svn://10.0.0.236/trunk@26867 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 03:35:15 +00:00
bienvenu%netscape.com
586bacf2a1 remove a few uses of GetBuffer()
git-svn-id: svn://10.0.0.236/trunk@26863 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 02:44:17 +00:00
gagan%netscape.com
9a2407d59c first checkin.
git-svn-id: svn://10.0.0.236/trunk@26862 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 02:37:50 +00:00
gagan%netscape.com
80e46fe46a nsFileCID.h first checkin
git-svn-id: svn://10.0.0.236/trunk@26861 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 02:37:28 +00:00
gagan%netscape.com
257b19396c Temporary checkin. Brought in the original implementations. Will need some cleaning now...
git-svn-id: svn://10.0.0.236/trunk@26860 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 02:31:48 +00:00
gagan%netscape.com
73f2b4876e HTTP exported headers.
git-svn-id: svn://10.0.0.236/trunk@26859 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 02:27:29 +00:00
gagan%netscape.com
f3ee4177ee Brought in the original work.
git-svn-id: svn://10.0.0.236/trunk@26858 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 02:26:05 +00:00
gagan%netscape.com
681ac876b9 First checkins of tests. Currently only urltest.
git-svn-id: svn://10.0.0.236/trunk@26857 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 02:23:05 +00:00
nisheeth%netscape.com
3af39c3e8d Correcting logic for enabling expat by default on the Mac. Approved by chofmann.
git-svn-id: svn://10.0.0.236/trunk@26856 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 02:17:00 +00:00
syd%netscape.com
73f8900785 Re-applied code for 4560. Reviewed by ramiro, kipp.
git-svn-id: svn://10.0.0.236/trunk@26855 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 02:01:34 +00:00
bienvenu%netscape.com
0848b84362 bunch of stuff to get message header download working
git-svn-id: svn://10.0.0.236/trunk@26854 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 01:46:22 +00:00
matt%netscape.com
47aa81bb03 Fixing persitant sidebar. Adding setContextWindow = innner frame.
Changing target for frames to inner window


git-svn-id: svn://10.0.0.236/trunk@26852 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 00:24:42 +00:00
briano%netscape.com
96189fea1b Another SunOS4-specific fix.
git-svn-id: svn://10.0.0.236/trunk@26851 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 00:15:29 +00:00
briano%netscape.com
920f884b02 Automated update
git-svn-id: svn://10.0.0.236/trunk@26850 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 00:02:13 +00:00
briano%netscape.com
d928a17372 Added a check for compat.h. Yes, it's an extremely obscure case for extremely obsolete SunOS versions, but what the hell.
git-svn-id: svn://10.0.0.236/trunk@26849 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 00:01:43 +00:00
briano%netscape.com
f0ba402d1e Fix for SunOS 4 builds.
git-svn-id: svn://10.0.0.236/trunk@26847 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:51:11 +00:00
pollmann%netscape.com
0562064d12 Bugs 4714 4533 4387. A: Chofmann R: Harishd
git-svn-id: svn://10.0.0.236/trunk@26846 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:47:49 +00:00
petitta%netscape.com
c81925b4ce New Build Files
git-svn-id: svn://10.0.0.236/trunk@26845 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:38:59 +00:00
jefft%netscape.com
84fb0c684d failed to set m_protocolInitialized flag when protocol did get initialized
git-svn-id: svn://10.0.0.236/trunk@26844 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:38:30 +00:00
rhp%netscape.com
a556198c68 Fix for bug #4784 - reviewer: mscott - This is a fix for
a problem when not escaping XML output from RFC822 headers.


git-svn-id: svn://10.0.0.236/trunk@26843 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:35:08 +00:00
hyatt%netscape.com
8c98173bc4 Decreasing height of newly-created windows to 480. Approved by Chris H.
git-svn-id: svn://10.0.0.236/trunk@26842 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:29:27 +00:00
hyatt%netscape.com
addd2e1d99 Decreasing height of newly-created windows to work around bug #3976.
git-svn-id: svn://10.0.0.236/trunk@26841 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:27:19 +00:00
hyatt%netscape.com
859de5b1ae Decreasing the height of the window to provide a workaround for bug #3976.
Approved by Chris H.


git-svn-id: svn://10.0.0.236/trunk@26840 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:26:08 +00:00
vidur%netscape.com
fd8c12529d Added missing entry into hint table. Fix for bug 4622 and more.
git-svn-id: svn://10.0.0.236/trunk@26839 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:22:25 +00:00
kipp%netscape.com
e5e9cb1246 Backed out yesterdays change as it broke framesets
git-svn-id: svn://10.0.0.236/trunk@26838 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:18:02 +00:00
mscott%netscape.com
eaee2baecb Add test option for select folder and use the imap service to implement this test.
git-svn-id: svn://10.0.0.236/trunk@26836 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:06:25 +00:00
mscott%netscape.com
a44526d20b (not part of the build yet)
support the SelectFolder interface.


git-svn-id: svn://10.0.0.236/trunk@26835 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:05:35 +00:00
law%netscape.com
06ce37305f Bug #3735; link targetting; reviewed by matt@netscape.com; approvied by chofmann@netscape.com (via don@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@26834 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:05:23 +00:00
mscott%netscape.com
736835e02f (not part of the build yet)
add SelectFolder method to the imap service interface.


git-svn-id: svn://10.0.0.236/trunk@26833 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:05:12 +00:00
mscott%netscape.com
8acd0c9334 (not part of the build yet).
I removed our dependencies on xplib so we no longer need to link to it. This cuts down the imap dll by some 40% or so. yippee!


git-svn-id: svn://10.0.0.236/trunk@26832 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:04:13 +00:00
mscott%netscape.com
762f81ab23 (not part of the build yet)
Update imap body shell to use nsHashTable instead of XP_HashTable.


git-svn-id: svn://10.0.0.236/trunk@26830 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 23:00:10 +00:00
michaelp%netscape.com
0e4a1f69c8 flush the font cache after setting a new zoom value.
git-svn-id: svn://10.0.0.236/trunk@26829 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 22:41:17 +00:00
michaelp%netscape.com
bd383bcf10 cleaned.
git-svn-id: svn://10.0.0.236/trunk@26828 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 22:40:20 +00:00
waterson%netscape.com
239eb3f833 Bug 4773. Removed idl directory for M4. We'll put it back next week. a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@26827 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 22:21:38 +00:00
jefft%netscape.com
6b2eb122e6 (not part of the build yet) more porting on message download; remove SetMessageDownloadOutputStream method; added PostLineDownLoadEvent, m_downloadLineCache, & m_fromHeaderSeen
git-svn-id: svn://10.0.0.236/trunk@26826 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 22:14:02 +00:00
jefft%netscape.com
e58cecd7e1 added TLineDownloadCache class
git-svn-id: svn://10.0.0.236/trunk@26825 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 22:10:52 +00:00
jefft%netscape.com
af92ce39b8 (not part of the build yet) removed SetMessageDownloadOutputStream
git-svn-id: svn://10.0.0.236/trunk@26824 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 22:10:03 +00:00
mcmullen%netscape.com
b200f32dce Bug #4788. Make testing easier by creating an empty default prefs file if it doesn't exist.
git-svn-id: svn://10.0.0.236/trunk@26823 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 21:57:30 +00:00
ftang%netscape.com
85c84fbb13 fix bug 4694. Change the Hangul block to the Unicode 2.0 Hangul rnage from 1.1 rnage
git-svn-id: svn://10.0.0.236/trunk@26822 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 21:38:07 +00:00
sdagley%netscape.com
4bbca9ab8a Fix call to PutFile to show the put file dialog insted of the get file dialog.
git-svn-id: svn://10.0.0.236/trunk@26821 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 21:20:42 +00:00
gbeasley%netscape.com
5e6a2a3c65 ldap jdk 3.1 version updated
git-svn-id: svn://10.0.0.236/trunk@26818 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 20:46:32 +00:00
mccabe%netscape.com
fd1ad2ae4c Adding windows binaries for the glib and libIDL libraries, and pointers to the appropriate sources.
git-svn-id: svn://10.0.0.236/trunk@26817 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 20:04:33 +00:00
mcmullen%netscape.com
49fc082db3 Bug #4619. When at eof, get() was returning undefined character. Now returning 0.
git-svn-id: svn://10.0.0.236/trunk@26814 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 17:31:00 +00:00
erik%netscape.com
2b056a5512 Fix for bug 4627. Tested by Bruce Mitchener. Approved by Chris Yeh.
git-svn-id: svn://10.0.0.236/trunk@26813 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 17:12:12 +00:00
rogerl%netscape.com
20509b7904 # NOT A PART OF SEAMONKEY
New.


git-svn-id: svn://10.0.0.236/trunk@26812 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 16:54:17 +00:00
endico%mozilla.org
a1fcadbcaf Strip off "Re:" from replies
git-svn-id: svn://10.0.0.236/trunk@26811 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 16:16:17 +00:00
jefft%netscape.com
9b85a8b3d8 (not part of the build yet) more porting from 4.5; added GetShouldDownloadArbitraryHeaders, GetArbitraryHeadersToDownload, AdjustChunkSize, FetchMessage method; added more member variable - m_trackingTime, m_startTime, m_endTime, m_tooFastTime, m_idealTime, m_chunkAddSize, m_chunkStartSize, m_maxChunkSine, m_fetchByChunk, m_chunkSize & m_chunkThreshold
git-svn-id: svn://10.0.0.236/trunk@26810 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 14:50:17 +00:00
terry%netscape.com
3ba4e2c5e8 Bugzilla now has the ability to store patches and other attachments with bugs.
git-svn-id: svn://10.0.0.236/trunk@26809 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 14:40:46 +00:00
rickg%netscape.com
37426a3031 fixed token bug in parser that caused script error
git-svn-id: svn://10.0.0.236/trunk@26808 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 11:37:00 +00:00
rickg%netscape.com
63b8db5a99 fixed token bug in parser that caused script error
git-svn-id: svn://10.0.0.236/trunk@26807 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 11:36:29 +00:00
spence%netscape.com
7435d4286c remembering passwords was broken
git-svn-id: svn://10.0.0.236/trunk@26806 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 09:51:05 +00:00
nisheeth%netscape.com
cffd8e506c Replacing asserts in the destructor with printf's. These asserts fire when the namespace or content stacks are non-empty which can happen for any malformed XML document, now that expat is enabled.
This checkin and the earlier one to htmlparser/src/* was approved by Chris Hoffmann earlier todxay.


git-svn-id: svn://10.0.0.236/trunk@26805 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 09:27:08 +00:00
nisheeth%netscape.com
4cb9ed22c6 - Enable expat by default. If you run into problems, you can disable expat at run-time by setting NOEXPAT=1 in your environment on Windows and UNIX.
On Mac, create a file called NOEXPAT in the directory from which you run the browser.

- Changed nsExpatTokenizer so that it stops parsing buffers once it sees an XML well-formedness error.


git-svn-id: svn://10.0.0.236/trunk@26804 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 09:21:16 +00:00
spence%netscape.com
82ff5ae768 solaris was choking
git-svn-id: svn://10.0.0.236/trunk@26803 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 09:04:04 +00:00
spence%netscape.com
7c3a9f8549 async dialog work for ftp; generalized async interface
git-svn-id: svn://10.0.0.236/trunk@26802 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 07:37:37 +00:00
law%netscape.com
e5c2a60154 Fixing screw-up I had applied earlier to OnEndDocumentLoad
git-svn-id: svn://10.0.0.236/trunk@26801 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 06:58:13 +00:00
gagan%netscape.com
de61084637 Moved the files from nunet to netwerk. For history on these files- see mozilla/nunet.
Not in the build (of netwerk) yet.


git-svn-id: svn://10.0.0.236/trunk@26800 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 06:13:27 +00:00
jfrancis%netscape.com
b0a8d0fd29 fix for another range gravity bug; rvwd and apprd kostello; appr chofmann
git-svn-id: svn://10.0.0.236/trunk@26799 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 06:00:44 +00:00
radha%netscape.com
e2ea4d5661 Don't add the rdfAppcore explicitly, since that call fails internally in Appcoresmanager
and control is never returned to Javascript to execute the loadURL call.
rdfCore.Init() already does the job of XPAppcoresManager.add()


git-svn-id: svn://10.0.0.236/trunk@26798 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 05:14:31 +00:00
saari%netscape.com
14b6e00383 fix for bug #4562
> 
mozilla/widget/src/mac/nsMacEventHandler.cpp
- commented out 3 lines
 
mozilla/xpfe/appshell/src/nsWebShellWindow.cpp
- Added 2 #ifdef XP_MAC changes that should go away by
M5.
 
The problem is that the nsMenuBar class doesn't know when it is through building a menubar from XUL since nsWebShellWindow actually does the construction today.
That will change when menus build themselves, which needs to be done for M5's dynamic menu construction.

So the hack would go away sometime soon.

Previously, the nsMacEventHandler would get a deactivate event before bringing up a dialog or another window... why this isn't happening anymore, I don't know.
Perhaps this is a bug in itself, but I was the only one relying on the behavior, and that reliance was a hack to begin with.


git-svn-id: svn://10.0.0.236/trunk@26797 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 04:29:37 +00:00
law%netscape.com
f8ccb27904 File download; approved by chofmann
git-svn-id: svn://10.0.0.236/trunk@26796 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 04:21:15 +00:00
nisheeth%netscape.com
0614bc090a Fix for bug 3413. I had to reapply the fix because it got trashed during the
work that happened on the document load observation APIs.


git-svn-id: svn://10.0.0.236/trunk@26795 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 04:08:49 +00:00
briano%netscape.com
9e0569b47f Turned on pthreads for OSF/1, removed some flags that aren't needed anymore, and fixed the 'repeating timestamp' bug.
git-svn-id: svn://10.0.0.236/trunk@26794 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 03:01:20 +00:00
mscott%netscape.com
148597c154 (not part of the build yet) a=cyeh.
Replace the identity stuff with their equivalents in nsIMsgIncomingServer.
use the imap service to create a protocol instance instead of creating one directly ourselves.


git-svn-id: svn://10.0.0.236/trunk@26793 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:59:52 +00:00
sdagley%netscape.com
4d8d0a0c46 Fix to properly call new wrapper for GetFile dialog.
git-svn-id: svn://10.0.0.236/trunk@26792 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:59:30 +00:00
mscott%netscape.com
da3b6b454a (not part of the build yet) a=cyeh.
build nsImapService and nsImapIncomingServer.


git-svn-id: svn://10.0.0.236/trunk@26791 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:58:38 +00:00
mscott%netscape.com
c0ecb0bc3b (not part of the build yet) a=cyeh.
Foundation for our imap service. Right now it only creates protocol instances.


git-svn-id: svn://10.0.0.236/trunk@26790 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:57:47 +00:00
mscott%netscape.com
c0be94398d (not part of the build yet) a=cyeh.
implementation of the nsIImapIncomingServer interface. This class is responsible for maintaining an up to date list of all the prefs for a given imap server.


git-svn-id: svn://10.0.0.236/trunk@26789 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:57:20 +00:00
mscott%netscape.com
2933ed0af5 (not part of the build yet) a=cyeh.
Replace identity with nsIMsgIncomingServer. Initialize now takes a host session list.


git-svn-id: svn://10.0.0.236/trunk@26788 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:56:12 +00:00
mscott%netscape.com
0b9e5f1c39 (not part of the build yet) a=cyeh.
Replace the identity with nsIMsgIncomingServer. Initialize now takes in the host session list.


git-svn-id: svn://10.0.0.236/trunk@26787 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:55:29 +00:00
mscott%netscape.com
7eeba160d7 (not part of the build yet) a=cyeh.
Replace identity stuff with nsIMsgIncomingServer.


git-svn-id: svn://10.0.0.236/trunk@26786 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:54:20 +00:00
mscott%netscape.com
d25e7c5b38 (not part of the build yet) a=cyeh.
Export nsIImapService.h and nsIImapIncomingServer.h


git-svn-id: svn://10.0.0.236/trunk@26785 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:53:17 +00:00
mscott%netscape.com
7da67beabd (not part of the build yet) a=cyeh.
Foundation for an imap service interface.


git-svn-id: svn://10.0.0.236/trunk@26784 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:53:01 +00:00
mscott%netscape.com
b82a2490fb (not part of the build yet) a=cyeh.
Changed identity getters and setters to use the new nsIMsgIncomingServer interface instead.


git-svn-id: svn://10.0.0.236/trunk@26783 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:52:28 +00:00
spence%netscape.com
92dc534590 remove outside dependency from netlib
git-svn-id: svn://10.0.0.236/trunk@26782 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:51:14 +00:00
mscott%netscape.com
0b1e7ba6fb (not part of the build yet) a=cyeh.
Initialize now takes the host session list.


git-svn-id: svn://10.0.0.236/trunk@26781 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:51:13 +00:00
mscott%netscape.com
97f743a90b (not part of the build yet) a=cyeh.
Add an imap incoming server interface which holds imap account server specific information such as user name, host name, etc.


git-svn-id: svn://10.0.0.236/trunk@26780 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:50:44 +00:00
mscott%netscape.com
cdeba5af21 (not part of the build yet) a=cyeh.
I changed the dll name for imap to be msgimap.dll. We now need prefs and js in the requires list.


git-svn-id: svn://10.0.0.236/trunk@26779 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:49:40 +00:00
mscott%netscape.com
bfbab9f273 (not part of the build) a=cyeh.
Imap factory can now generate components for the imap service and for the imap incoming server.


git-svn-id: svn://10.0.0.236/trunk@26778 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:48:56 +00:00
briano%netscape.com
0fc42f0f42 Added a pointer to ftp.gtk.org if gtk-config can't be found.
git-svn-id: svn://10.0.0.236/trunk@26777 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 02:06:55 +00:00
waterson%netscape.com
83b256efb0 Bug 4618. Fix compilation problem on Solaris native compile. a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@26776 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 01:53:31 +00:00
briano%netscape.com
3dc3f9553b Automated update
git-svn-id: svn://10.0.0.236/trunk@26773 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 01:32:30 +00:00
briano%netscape.com
f65c26c556 Define _REENTRANT for any compiler on OSF/1. Fixes the problem with mkautocf.c.
git-svn-id: svn://10.0.0.236/trunk@26772 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 01:31:49 +00:00
mjudge%netscape.com
af245251eb fixed selection results after bold/italics. 4593 bug. simply collapsed range and extended it to take up the whole new range
git-svn-id: svn://10.0.0.236/trunk@26771 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 01:30:05 +00:00
mjudge%netscape.com
3f9c7d2ca8 adding batch changes around editor BeginTransaction. bug 4593
git-svn-id: svn://10.0.0.236/trunk@26770 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 01:28:33 +00:00
mjudge%netscape.com
a7f6edd45f bug 4539 approved by hoffman. fix gives us nested selection batch changes.
git-svn-id: svn://10.0.0.236/trunk@26769 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 01:27:29 +00:00
briano%netscape.com
8ec1faf202 Deleted the nglayout.mak entry, since it is no longer used.
git-svn-id: svn://10.0.0.236/trunk@26768 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 01:20:56 +00:00
akkana%netscape.com
202959b6e8 Cleaner addendum to the fix for 4661
git-svn-id: svn://10.0.0.236/trunk@26767 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 00:54:32 +00:00
akkana%netscape.com
c16be50ebc 4661: Fix win32 crasher inserting an image. Approved by chofmann.
Split nsEditor::DeleteSelectionAndCreateNode into two parts,
so that routines like InsertImage which need to set attributes
on the new node before inserting into the tree can do so.
This is somewhat temporary, since the current method isn't undo-able;
undo will be implemented after M4.


git-svn-id: svn://10.0.0.236/trunk@26766 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 00:46:10 +00:00
waterson%netscape.com
5dc2231111 Bug 4710. Implement no-ops for local store commands so as not to break stuff that depends on commands working. r=putterman@netscape.com, a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@26764 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 00:43:11 +00:00
despotdaemon%netscape.com
cc57e97e97 Pseudo-automatic update of changes made by taek@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@26763 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 00:19:11 +00:00
kipp%netscape.com
e2b35834ac Delay first move until onload has finished
git-svn-id: svn://10.0.0.236/trunk@26762 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 00:01:12 +00:00
kipp%netscape.com
7795752bda Fixed not bother repositioning when coordinates don't change
git-svn-id: svn://10.0.0.236/trunk@26761 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 00:00:13 +00:00
waterson%netscape.com
65fd5a6b87 Bug 4706. Make sure to close the first RDF:RDF tag. Duh.
git-svn-id: svn://10.0.0.236/trunk@26760 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 23:18:54 +00:00
evaughan%netscape.com
9673a16c7b Made secure connection have a display type of none by default.
git-svn-id: svn://10.0.0.236/trunk@26759 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 23:15:06 +00:00
momoi%netscape.com
cc9d097d32 4 sort result files for WindowsNT4-US.
git-svn-id: svn://10.0.0.236/trunk@26758 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 23:14:59 +00:00
ftang%netscape.com
0a33089e24 fix bug 4672, 4673, 4674, 4676 , check in for cata from ftang's account
git-svn-id: svn://10.0.0.236/trunk@26757 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 23:00:28 +00:00
slamm%netscape.com
150dad921b Fix for bookmark properties come up blank (bug #4678). Approved by cyeh and chofmann.
git-svn-id: svn://10.0.0.236/trunk@26756 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 22:59:59 +00:00
ftang%netscape.com
37296fb308 fix bug 564 to use CP 1252 mapping table to convert ISO-8859-1
git-svn-id: svn://10.0.0.236/trunk@26755 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 22:59:35 +00:00
mjudge%netscape.com
62dce85e69 indexes returned from prepareunicodestring are mContentOffset based. 3641 3772 Hoffman approved
git-svn-id: svn://10.0.0.236/trunk@26754 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 22:56:09 +00:00
mjudge%netscape.com
e8328ec579 Simon reviewed. Hoffman approved bug number 4584 fixes clicking in alternate text.
git-svn-id: svn://10.0.0.236/trunk@26753 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 22:49:07 +00:00
briano%netscape.com
23fe97c75c Automated update
git-svn-id: svn://10.0.0.236/trunk@26752 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 21:59:37 +00:00
briano%netscape.com
1a169f24d3 Turned off -pipe for BSDI builds.
git-svn-id: svn://10.0.0.236/trunk@26750 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 21:48:19 +00:00
rickg%netscape.com
97d14d139a fixed mail/news crash and bug 4606
git-svn-id: svn://10.0.0.236/trunk@26748 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 21:05:19 +00:00
waterson%netscape.com
a94a9df5fe Bug 4621. Uninitialized memory read. Many thanks to Bruce Mitchener <bruce@cybersight.com>. a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@26747 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 21:02:29 +00:00
putterman%netscape.com
0bc758a3c0 Fixes bug 4650. Backed out some changes so that linux will start working again.
When bug 4668 is fixed I will put these back in.  Approved by chofmann and reviewed
by mscott.


git-svn-id: svn://10.0.0.236/trunk@26746 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 20:56:48 +00:00
petitta%netscape.com
9732a23e20 Updated info
git-svn-id: svn://10.0.0.236/trunk@26744 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 19:22:55 +00:00
petitta%netscape.com
f9366d6fa1 modified date algorithium
git-svn-id: svn://10.0.0.236/trunk@26743 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 19:15:23 +00:00
petitta%netscape.com
c16d300350 Modified path logic
git-svn-id: svn://10.0.0.236/trunk@26742 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 19:14:38 +00:00
petitta%netscape.com
b1f270c113 add more info
git-svn-id: svn://10.0.0.236/trunk@26739 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 17:08:52 +00:00
petitta%netscape.com
0041ea2c5c Build info
git-svn-id: svn://10.0.0.236/trunk@26738 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 17:04:59 +00:00
donm%netscape.com
68bccfe037 fixed build number whacking.
git-svn-id: svn://10.0.0.236/trunk@26737 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 17:00:27 +00:00
morse%netscape.com
0aef569d10 turned cookie management back on since it wasn't causing the crash after all, approved by cyeh
git-svn-id: svn://10.0.0.236/trunk@26736 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 14:39:57 +00:00
spence%netscape.com
242ec2e839 fix mac breakage
git-svn-id: svn://10.0.0.236/trunk@26735 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 07:39:43 +00:00
spence%netscape.com
4e951a4e6f yet more bustage
git-svn-id: svn://10.0.0.236/trunk@26734 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 07:34:18 +00:00
spence%netscape.com
72a8f89022 bustage
git-svn-id: svn://10.0.0.236/trunk@26733 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 07:23:18 +00:00
spence%netscape.com
b4fc882ab6 build bustage
git-svn-id: svn://10.0.0.236/trunk@26732 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 07:19:17 +00:00
spence%netscape.com
e5ca208225 don't break the mac
git-svn-id: svn://10.0.0.236/trunk@26731 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 07:11:27 +00:00
ramiro%netscape.com
2183c4f5ec Comment out a annoying printf. Approved by cyeh.
git-svn-id: svn://10.0.0.236/trunk@26730 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 07:04:35 +00:00
bienvenu%netscape.com
fa4bfbf0fd avoid iterating over first thread twice
git-svn-id: svn://10.0.0.236/trunk@26729 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:56:19 +00:00
ramiro%netscape.com
62ad9f2c60 Move draw and crossing signals into nsWindow.
git-svn-id: svn://10.0.0.236/trunk@26728 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:55:50 +00:00
mcafee%netscape.com
b6293c712f Removing clipboard define comment.
git-svn-id: svn://10.0.0.236/trunk@26727 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:54:15 +00:00
spence%netscape.com
d0f3d65e5b changes for async modal dialogs
git-svn-id: svn://10.0.0.236/trunk@26726 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:54:12 +00:00
davidm%netscape.com
778472c1b8 Fixed typo
git-svn-id: svn://10.0.0.236/trunk@26725 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:48:13 +00:00
pavlov%pavlov.net
de0548133f fix for double freeing
git-svn-id: svn://10.0.0.236/trunk@26724 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:36:38 +00:00
davidm%netscape.com
0f24a0495f Register the NetDialogSupport component.
git-svn-id: svn://10.0.0.236/trunk@26723 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:35:05 +00:00
davidm%netscape.com
73ec815df6 Added support for nsNetSupportDialog factory
git-svn-id: svn://10.0.0.236/trunk@26722 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:33:11 +00:00
davidm%netscape.com
7bfa4ed346 Added nsINetSupportDialogService.h
git-svn-id: svn://10.0.0.236/trunk@26721 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:31:48 +00:00
davidm%netscape.com
02633d4e87 added nsNetSupportDialog.cpp
git-svn-id: svn://10.0.0.236/trunk@26720 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:30:53 +00:00
davidm%netscape.com
20dd7b5b3b added nsINetSupportDialogService.h
git-svn-id: svn://10.0.0.236/trunk@26719 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:30:28 +00:00
davidm%netscape.com
f73061fcc7 Added nsNetSupportDialog.cp
git-svn-id: svn://10.0.0.236/trunk@26718 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:30:02 +00:00
waterson%netscape.com
cc328852a9 Modified to use NS_RDF_ASSERTION_ACCEPTED and NS_RDF_ASSERTION_REJECTED return codes (local store implementation)
git-svn-id: svn://10.0.0.236/trunk@26717 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:29:41 +00:00
waterson%netscape.com
f13f05f02e Modified to use NS_RDF_ASSERTION_ACCEPTED and NS_RDF_ASSERTION_REJECTED return codes (local store implementation). Added local store construction to each XUL hierarchical widget.
git-svn-id: svn://10.0.0.236/trunk@26716 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:29:14 +00:00
waterson%netscape.com
a572d72bd7 Added NS_RDF_ASSERTION_ACCEPTED and NS_RDF_ASSERTION_REJECTED return codes.
git-svn-id: svn://10.0.0.236/trunk@26715 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:28:17 +00:00
pinkerton%netscape.com
7f9dde07f8 fix error checking. helps to assign into the return code that you check for an error ;)
git-svn-id: svn://10.0.0.236/trunk@26714 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:25:17 +00:00
davidm%netscape.com
4272cf7fb6 Update routines so that they will be callable through COMConnect. Added routines for listening to mouse events.
git-svn-id: svn://10.0.0.236/trunk@26713 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:17:33 +00:00
toshok%hungry.com
ffffd6ce4b unix doesn't need FARPROC here either (thanks to nspr.)
git-svn-id: svn://10.0.0.236/trunk@26712 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:15:14 +00:00
tague%netscape.com
1027734672 Added XPLocale -> Linux Locale support
git-svn-id: svn://10.0.0.236/trunk@26711 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 06:13:19 +00:00
toshok%hungry.com
91df9ad6cb wrap the OJI/liveconnect specific stuff with #ifdef OJI
git-svn-id: svn://10.0.0.236/trunk@26710 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:54:35 +00:00
pavlov%pavlov.net
56854c431e more work on the clipboard
git-svn-id: svn://10.0.0.236/trunk@26709 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:53:10 +00:00
morse%netscape.com
012d945ddf disable cookie management because linux was dying on startup
git-svn-id: svn://10.0.0.236/trunk@26708 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:45:44 +00:00
pavlov%pavlov.net
6f57ffd15c add 2 casts in an attempt to fix a build bustage
git-svn-id: svn://10.0.0.236/trunk@26707 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:40:49 +00:00
mcafee%netscape.com
b8f89661f4 Gtk callback stubs.
git-svn-id: svn://10.0.0.236/trunk@26706 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:40:37 +00:00
mcafee%netscape.com
18349fda32 Gtk callback stuff.
git-svn-id: svn://10.0.0.236/trunk@26705 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:32:21 +00:00
mcafee%netscape.com
ca12f1c362 Moving old clipboard into #ifdef-land.
git-svn-id: svn://10.0.0.236/trunk@26704 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:31:55 +00:00
karnaze%netscape.com
9ea40681dd test for empty cells
git-svn-id: svn://10.0.0.236/trunk@26703 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:31:47 +00:00
toshok%hungry.com
9f3a0f62b7 add -lraptorplugin
git-svn-id: svn://10.0.0.236/trunk@26702 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:26:54 +00:00
toshok%hungry.com
b5454954bb check in (mostly) function nsPluginsDirUNIX, awaiting amusil's code to figure out mime types and stuff.
git-svn-id: svn://10.0.0.236/trunk@26701 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:22:13 +00:00
rods%netscape.com
fc6382b03f Added -DNEW_CLIPBOARD_SUPPORT
git-svn-id: svn://10.0.0.236/trunk@26700 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:21:45 +00:00
toshok%hungry.com
c50be7f384 enable OJI on unix.
git-svn-id: svn://10.0.0.236/trunk@26699 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:20:54 +00:00
troy%netscape.com
e5bd2cf307 Added emebed as one the tags handled in CantRenderReplacedElement()
git-svn-id: svn://10.0.0.236/trunk@26698 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:16:47 +00:00
toshok%hungry.com
f1b1725fe8 add CapsManager, Liveconnect, and JVMManager components to the unix viewer.
git-svn-id: svn://10.0.0.236/trunk@26697 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:16:45 +00:00
toshok%hungry.com
b80f6350b3 enable OJI on unix.
git-svn-id: svn://10.0.0.236/trunk@26696 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:14:40 +00:00
toshok%hungry.com
0c167870e1 always go into src
git-svn-id: svn://10.0.0.236/trunk@26695 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:13:53 +00:00
davidm%netscape.com
11aa063d18 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26694 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:02:00 +00:00
davidm%netscape.com
8a98cb13ec Add nsINetSupportDialogService.h
git-svn-id: svn://10.0.0.236/trunk@26693 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:59:56 +00:00
spence%netscape.com
c7a2e24c02 new state added to the http state machine to allow async dialog authentication
git-svn-id: svn://10.0.0.236/trunk@26692 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:40:51 +00:00
davidm%netscape.com
10a454b864 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26691 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:36:29 +00:00
jefft%netscape.com
9603e87bcd partially hooked up imap parser and fe proxy event implementation
git-svn-id: svn://10.0.0.236/trunk@26690 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:33:45 +00:00
mcafee%netscape.com
a0720fb182 Moving more old clipboard stuff into #ifdef-land.
git-svn-id: svn://10.0.0.236/trunk@26689 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:31:03 +00:00
slamm%netscape.com
8d1408d8d0 added files: mozilla/xpfe/AppCores/src/nsDOMPropsCore.cpp, mozilla/xpfe/AppCores/src/nsDOMPropsCoreFactory.cpp, mozilla/xpfe/AppCores/src/nsJSDOMPropsCore.cpp
git-svn-id: svn://10.0.0.236/trunk@26688 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:30:47 +00:00
davidm%netscape.com
e8c4531aef Add declaration to prevent hard to figure out compiler error
git-svn-id: svn://10.0.0.236/trunk@26687 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:30:13 +00:00
jefft%netscape.com
1e7ac96c9b added NS_INIT_REFCNT() to the constructor; temporary added a global gImapHostSessionList for the test purpose
git-svn-id: svn://10.0.0.236/trunk@26686 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:29:12 +00:00
slamm%netscape.com
1d6acd08d3 Adding properties appcore/window.
git-svn-id: svn://10.0.0.236/trunk@26685 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:26:43 +00:00
jefft%netscape.com
3d9e583e39 export nsImapServerResponseParser.h nsIMAPGenericParser.h & nsImapSearchResults.h
git-svn-id: svn://10.0.0.236/trunk@26684 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:26:38 +00:00
jefft%netscape.com
284dc11991 implemented nsIImapMailfolder, nsIImapMessage, nsIImapExtension, nsIImapMiscellaneous interfaces
git-svn-id: svn://10.0.0.236/trunk@26683 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:25:12 +00:00
mcafee%netscape.com
47bdff3161 Using XP macro for -lz
git-svn-id: svn://10.0.0.236/trunk@26682 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:19:01 +00:00
mcafee%netscape.com
2453c0e821 Support for nsPresShell::DoCopy()
git-svn-id: svn://10.0.0.236/trunk@26681 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:12:19 +00:00
mcafee%netscape.com
3ef4585453 Support for nsPresShell::DoCopy()
git-svn-id: svn://10.0.0.236/trunk@26680 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:10:04 +00:00
pavlov%pavlov.net
5fd42621da rot13'd all the files to make them appear much prettier, and in the process fixed some bugs i believe.
git-svn-id: svn://10.0.0.236/trunk@26679 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 04:02:44 +00:00
mcafee%netscape.com
d98f8fccf1 Finishing clipboard ifdef so we can remove the old clipboard.
git-svn-id: svn://10.0.0.236/trunk@26678 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:56:07 +00:00
tague%netscape.com
d2b766343c Fixed 2 memory leaks so Bruce doesn't have to
git-svn-id: svn://10.0.0.236/trunk@26677 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:55:34 +00:00
sspitzer%netscape.com
8a19907163 convince the viewer to use all 30 (0-29) frames of the animation, not just
15


git-svn-id: svn://10.0.0.236/trunk@26676 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:55:22 +00:00
sspitzer%netscape.com
601fc8d43b it turns out that viewer needs all the frames of the animated gif to work.
also, I fixed the clobber target in makefile.win to remove all 30 frames


git-svn-id: svn://10.0.0.236/trunk@26675 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:50:05 +00:00
mcafee%netscape.com
91a9977a50 XP way of specifying libz
git-svn-id: svn://10.0.0.236/trunk@26674 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:47:27 +00:00
mcafee%netscape.com
e79601b711 More clipboard stuff
git-svn-id: svn://10.0.0.236/trunk@26673 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:41:20 +00:00
rods%netscape.com
f5349f05da Implemented GetFile, PutFile, PutFolder does not work correctly
git-svn-id: svn://10.0.0.236/trunk@26672 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:19:33 +00:00
pierre%netscape.com
ac248da276 added nsATSUIUtils.cpp
moved the ATSUI code out of nsRenderingContextMac


git-svn-id: svn://10.0.0.236/trunk@26671 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:18:53 +00:00
pierre%netscape.com
a7e3347af5 made the destructor public
git-svn-id: svn://10.0.0.236/trunk@26670 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:17:03 +00:00
pierre%netscape.com
965ad1f548 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26669 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:16:22 +00:00
rods%netscape.com
90a216317a Commented out debug printf in OnKey
git-svn-id: svn://10.0.0.236/trunk@26668 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:11:46 +00:00
pinkerton%netscape.com
ab9399b40d check a flag to see if we should build the carbonlite target of Interface.mcp
git-svn-id: svn://10.0.0.236/trunk@26667 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:11:40 +00:00
troy%netscape.com
df431eabb8 Added a check that the content objects match when determining if a
frame is generated content


git-svn-id: svn://10.0.0.236/trunk@26666 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:10:59 +00:00
tague%netscape.com
2aa91b0da9 Fixed MANIFEST again. I don't know what caused the bustage.
git-svn-id: svn://10.0.0.236/trunk@26665 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:07:45 +00:00
rods%netscape.com
d025357337 Commenting out WM_CHAR changes for I18N
git-svn-id: svn://10.0.0.236/trunk@26664 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:03:23 +00:00
sspitzer%netscape.com
6050885dd1 only define these IDLSRCs if they have the IDL stuff
git-svn-id: svn://10.0.0.236/trunk@26663 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:02:48 +00:00
sspitzer%netscape.com
9b3a81a24f only do this if they have the IDL stuff
git-svn-id: svn://10.0.0.236/trunk@26662 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:01:58 +00:00
sspitzer%netscape.com
5af0d61bce only do this if the IDL stuff has been installed
git-svn-id: svn://10.0.0.236/trunk@26661 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 02:58:01 +00:00
putterman%netscape.com
a6d2dfee67 More work on threads.
git-svn-id: svn://10.0.0.236/trunk@26660 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 02:50:25 +00:00
matt%netscape.com
f46458a447 Adding help page
git-svn-id: svn://10.0.0.236/trunk@26659 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 02:50:06 +00:00
nisheeth%netscape.com
576e594e4d Fixing well-formedness errors reported by expat...
git-svn-id: svn://10.0.0.236/trunk@26658 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 02:26:53 +00:00
nisheeth%netscape.com
0d5f557eff Fixing well-formedness errors reported by expat...
git-svn-id: svn://10.0.0.236/trunk@26657 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 02:03:08 +00:00
sspitzer%netscape.com
d9dba4207d we need go into the idl directory
git-svn-id: svn://10.0.0.236/trunk@26656 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 02:00:52 +00:00
mscott%netscape.com
44ee1e3d50 Fix for part of the problem with get new mail failing. We were passing a null pointer instead of the address of the pointer...
git-svn-id: svn://10.0.0.236/trunk@26655 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:56:15 +00:00
nisheeth%netscape.com
50ee242712 Fixing well-formedness errors caused by expat...
git-svn-id: svn://10.0.0.236/trunk@26653 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:54:04 +00:00
tague%netscape.com
6ea44c0d03 back out changes...doesn't build
git-svn-id: svn://10.0.0.236/trunk@26652 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:53:01 +00:00
morse%netscape.com
918a442a52 turn on ClientWallet and SingleSignon for unix platform
git-svn-id: svn://10.0.0.236/trunk@26651 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:49:31 +00:00
pinkerton%netscape.com
616cccdeb8 turning on new clipboard stuff for rods.
git-svn-id: svn://10.0.0.236/trunk@26650 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:43:05 +00:00
bienvenu%netscape.com
3105b6b015 start adding msgrfc822 parser, fix multiple thread problem
git-svn-id: svn://10.0.0.236/trunk@26649 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:41:23 +00:00
rods%netscape.com
490dc3adf2 Commented out NEW_CLIPBOARD_SUPPORT
git-svn-id: svn://10.0.0.236/trunk@26648 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:38:49 +00:00
rods%netscape.com
0cd1a45ea8 Commented out the NEW_CLIPBOARD_SUPPORT
git-svn-id: svn://10.0.0.236/trunk@26647 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:35:49 +00:00
tague%netscape.com
b27b6decab Fixed build bustage by moving Manifest to MANIFEST
git-svn-id: svn://10.0.0.236/trunk@26646 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:30:27 +00:00
danm%netscape.com
e4eb9efa55 removing password dialog testing link
git-svn-id: svn://10.0.0.236/trunk@26645 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:13:48 +00:00
morse%netscape.com
6be1333dbb fix bug 4478
git-svn-id: svn://10.0.0.236/trunk@26644 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:11:47 +00:00
mcafee%netscape.com
0ff3b85292 Implementing GetFile(), GetFolder(), PutFile(). r=sdagley
git-svn-id: svn://10.0.0.236/trunk@26643 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:05:24 +00:00
mscott%netscape.com
8c2590a586 New folder icon from scotty.
git-svn-id: svn://10.0.0.236/trunk@26642 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 01:01:11 +00:00
putterman%netscape.com
ffd5b74a2f Add return value to end of function so all control paths return a value.
git-svn-id: svn://10.0.0.236/trunk@26641 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:59:52 +00:00
hyatt%netscape.com
aa5ff0db94 Adding stubs for the file widget.
git-svn-id: svn://10.0.0.236/trunk@26640 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:55:05 +00:00
mcafee%netscape.com
7fb6f2b983 Checking in file dialog stubs for sdagley.
git-svn-id: svn://10.0.0.236/trunk@26639 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:51:33 +00:00
sdagley%netscape.com
ed02f8e039 Adding GetFile, GetFolder and PutFile wrappers to hide widgetness of file dialogs.
git-svn-id: svn://10.0.0.236/trunk@26638 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:49:38 +00:00
sspitzer%netscape.com
a0d9d6f73f changed the makefiles to only export anim.gif and anims00.gif, as that's
all the current xul requires.

mac is still copying the entire directory, so they're on their own.


git-svn-id: svn://10.0.0.236/trunk@26637 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:48:51 +00:00
jband%netscape.com
e616acfd22 fix compiler warnings
git-svn-id: svn://10.0.0.236/trunk@26636 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:47:30 +00:00
alecf%netscape.com
1e527f3f5c include the right RDF idl file
git-svn-id: svn://10.0.0.236/trunk@26635 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:43:04 +00:00
alecf%netscape.com
2d5a429cf2 add idl to directories so that we export nsRDFInterfaces.idl
git-svn-id: svn://10.0.0.236/trunk@26634 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:40:13 +00:00
ftang%netscape.com
d8951bebc7 fix the ignore 1 for 10 problem for cjk-ideographics style
git-svn-id: svn://10.0.0.236/trunk@26633 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:32:49 +00:00
bienvenu%netscape.com
204b373a50 fix thread iterator, add some debugging iterators
git-svn-id: svn://10.0.0.236/trunk@26632 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:31:36 +00:00
jband%netscape.com
ee6636ec3a generated binary files update
git-svn-id: svn://10.0.0.236/trunk@26630 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:30:20 +00:00
ftang%netscape.com
60e45e3f8d add some new charset name
git-svn-id: svn://10.0.0.236/trunk@26629 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:29:50 +00:00
jband%netscape.com
c1d5bee341 use a simpler scheme for handling interface flags in xpidl
git-svn-id: svn://10.0.0.236/trunk@26628 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:29:49 +00:00
briano%netscape.com
61a794ed54 Fixed a bug in the timestamp mechanism and turned it off by default, turned CVS compression off by default, and made the appropriate flag changes.
git-svn-id: svn://10.0.0.236/trunk@26627 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:29:45 +00:00
mscott%netscape.com
b7e054083a I fixed the pop3 test to be in synch with alecf's identity changes so it should be safe to build the test again. Turning it back on.
git-svn-id: svn://10.0.0.236/trunk@26626 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:27:54 +00:00
rjc%netscape.com
573cc8216d SetDocument(nsnull) is now valid, indicating document is going away. Timers are removed in this manner.
git-svn-id: svn://10.0.0.236/trunk@26625 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:27:40 +00:00
mscott%netscape.com
f6f9519099 Updates to use new identity information for alecf.
git-svn-id: svn://10.0.0.236/trunk@26624 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:26:35 +00:00
dveditz%netscape.com
1e060daea6 Mac read-only fix from Patrick Beard <beard@netscape.com>
git-svn-id: svn://10.0.0.236/trunk@26623 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:26:34 +00:00
mcmullen%netscape.com
f333224b42 Removed illegal semicolon.
git-svn-id: svn://10.0.0.236/trunk@26622 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:23:15 +00:00
mcafee%netscape.com
1bbc27cf20 Removing bogus rule
git-svn-id: svn://10.0.0.236/trunk@26621 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:21:53 +00:00
cata%netscape.com
d022606e97 Converters added.
git-svn-id: svn://10.0.0.236/trunk@26620 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:21:28 +00:00
hyatt%netscape.com
c963362d5e Adding chrome to the list of projects that are built.
git-svn-id: svn://10.0.0.236/trunk@26619 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:17:17 +00:00
cata%netscape.com
7e5f4c3785 Converters added.
git-svn-id: svn://10.0.0.236/trunk@26618 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:13:15 +00:00
waterson%netscape.com
107b20ed58 Added asserts to check for null pointers being passed in from JS.
git-svn-id: svn://10.0.0.236/trunk@26617 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:13:08 +00:00
evaughan%netscape.com
a699126c5b fixed toolbar test bug.
git-svn-id: svn://10.0.0.236/trunk@26616 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:10:22 +00:00
waterson%netscape.com
6aa6f1bfa4 Changed to use chrom: URL.
git-svn-id: svn://10.0.0.236/trunk@26615 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:09:03 +00:00
waterson%netscape.com
5afbec4166 Changed to use chrome: URL for style.
git-svn-id: svn://10.0.0.236/trunk@26614 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:08:28 +00:00
waterson%netscape.com
b2589547a3 Fixed incorrect use of nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@26613 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:07:28 +00:00
alecf%netscape.com
c3ddd1d141 temporarily export a stub nsIPref.idl file
git-svn-id: svn://10.0.0.236/trunk@26612 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:06:08 +00:00
putterman%netscape.com
06e1305217 Started work on threads.
git-svn-id: svn://10.0.0.236/trunk@26611 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:05:23 +00:00
putterman%netscape.com
652b6a8435 Changes for threads.
git-svn-id: svn://10.0.0.236/trunk@26610 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:04:20 +00:00
putterman%netscape.com
aa7b49c7b8 Started work on threading.
git-svn-id: svn://10.0.0.236/trunk@26609 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:03:26 +00:00
mscott%netscape.com
5d9e7c24bd temporarily fix windows build breakage for alecf by not building the test directory. QA needs this test for their smoketests though. So as soon as I've updated the code with Alec's changes, I'll turn it back on.
git-svn-id: svn://10.0.0.236/trunk@26608 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:01:25 +00:00
briano%netscape.com
e6ebf1a0d5 Automated update
git-svn-id: svn://10.0.0.236/trunk@26607 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:59:36 +00:00
rjc%netscape.com
f6965e4a36 Timer changes. Preparation for timer to be destroyed when SetDocument(null).
git-svn-id: svn://10.0.0.236/trunk@26606 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:59:22 +00:00
beard%netscape.com
013a8fa31a checking result of Initialize() call, so it won't crash.
git-svn-id: svn://10.0.0.236/trunk@26605 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:56:07 +00:00
sspitzer%netscape.com
52bfc90838 fix typos
git-svn-id: svn://10.0.0.236/trunk@26604 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:53:32 +00:00
mcmullen%netscape.com
076fd00198 Bug #4296. Support insertion of floppies. One more change (the event mask).
git-svn-id: svn://10.0.0.236/trunk@26603 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:53:06 +00:00
alecf%netscape.com
3e3e0dca78 export a bunch of XPIDL-compatible interface stubs so that mail/news can compile
git-svn-id: svn://10.0.0.236/trunk@26602 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:48:11 +00:00
briano%netscape.com
0d01085a10 Automated update
git-svn-id: svn://10.0.0.236/trunk@26601 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:44:35 +00:00
cata%netscape.com
25baea1c9a Converters added.
git-svn-id: svn://10.0.0.236/trunk@26599 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:36:14 +00:00
alecf%netscape.com
73bb328bba forgot to export nsMsgAccount and nsMsgAccountManager
git-svn-id: svn://10.0.0.236/trunk@26598 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:35:17 +00:00
alecf%netscape.com
fe5714e1b0 give nice long message when user does not have libIDL
git-svn-id: svn://10.0.0.236/trunk@26597 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:33:14 +00:00
cata%netscape.com
80f8fe3223 Components exported.
git-svn-id: svn://10.0.0.236/trunk@26596 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:32:31 +00:00
alecf%netscape.com
1ac2fbfee9 oops, both parameters had the same name in the header
git-svn-id: svn://10.0.0.236/trunk@26595 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:28:03 +00:00
alecf%netscape.com
5fe89e85e0 oops, parameters had the same name
git-svn-id: svn://10.0.0.236/trunk@26594 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:26:38 +00:00
briano%netscape.com
2aacb7f9c7 Workaround for a library extraction problem on Digital Unix.
git-svn-id: svn://10.0.0.236/trunk@26593 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:26:00 +00:00
matt%netscape.com
e70d95dd58 Adding slidebar to navigator.xul....Check on mac and linux.
git-svn-id: svn://10.0.0.236/trunk@26592 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:18:42 +00:00
radha%netscape.com
aa336f399c Add menu item "Manage History" under Tasks.
git-svn-id: svn://10.0.0.236/trunk@26591 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:15:06 +00:00
radha%netscape.com
187fb8d0dc Export history.xul history.css
git-svn-id: svn://10.0.0.236/trunk@26590 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:13:57 +00:00
cata%netscape.com
000514982d Chinese converters added.
git-svn-id: svn://10.0.0.236/trunk@26589 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:10:57 +00:00
radha%netscape.com
bcf26e9a91 Initial checkin for History View
git-svn-id: svn://10.0.0.236/trunk@26588 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:06:07 +00:00
mcmullen%netscape.com
07d029224a Int radio buttons were trying to write a bool pref. Oops.
git-svn-id: svn://10.0.0.236/trunk@26587 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:06:02 +00:00
rods%netscape.com
1b986dbb54 Turning on new clipboard support
git-svn-id: svn://10.0.0.236/trunk@26586 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:05:59 +00:00
rods%netscape.com
85f6ce34ad Chnaged over to new way of getting file urls
git-svn-id: svn://10.0.0.236/trunk@26585 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:03:30 +00:00
rods%netscape.com
b60b9cf5ae Turning on new Clipboard support
git-svn-id: svn://10.0.0.236/trunk@26584 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 23:01:55 +00:00
waterson%netscape.com
40c24ad9ab Use the 'real' local store.
git-svn-id: svn://10.0.0.236/trunk@26583 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:55:26 +00:00
cata%netscape.com
e3713270eb Converters added.
git-svn-id: svn://10.0.0.236/trunk@26582 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:54:04 +00:00
cata%netscape.com
6ab49e7ff9 Created
git-svn-id: svn://10.0.0.236/trunk@26581 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:53:19 +00:00
alecf%netscape.com
987b636d88 get the SMTP prefs from the current identity
git-svn-id: svn://10.0.0.236/trunk@26580 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:49:27 +00:00
alecf%netscape.com
15ae1160a1 get composition prefs from the current identity
git-svn-id: svn://10.0.0.236/trunk@26579 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:49:03 +00:00
alecf%netscape.com
f1853e6ca3 land multiple accounts system into local mail and pop
git-svn-id: svn://10.0.0.236/trunk@26578 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:48:25 +00:00
alecf%netscape.com
5d6de00c87 landing multiple accounts
account information is now acquired by the account manager, which is held by the nsIMsgMailSession service.


git-svn-id: svn://10.0.0.236/trunk@26577 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:47:12 +00:00
cata%netscape.com
3ba591420e added files: mozilla/intl/uconv/ucvcn/nsBIG5ToUnicode.cpp, mozilla/intl/uconv/ucvcn/nsUnicodeToBIG5.cpp, mozilla/intl/uconv/ucvcn/nsUCvCnSupport.cpp, mozilla/intl/uconv/ucvcn/nsUCvCnDll.cpp
git-svn-id: svn://10.0.0.236/trunk@26576 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:43:39 +00:00
mscott%netscape.com
3ad7a0f5c9 Checking in new messenger icons I got from scotty today.
git-svn-id: svn://10.0.0.236/trunk@26575 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:42:51 +00:00
jband%netscape.com
e609adb924 Added support for [scriptable] flag in interface descriptor. Added [noscript]. xpconnect now checks for the [scriptable] flag.
git-svn-id: svn://10.0.0.236/trunk@26574 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:42:10 +00:00
cata%netscape.com
17fde01f3c added files: mozilla/intl/uconv/ucvcn/nsEUCTWToUnicode.cpp, mozilla/intl/uconv/ucvcn/nsGB2312ToUnicode.cpp, mozilla/intl/uconv/ucvcn/nsEUCKRToUnicode.cpp, mozilla/intl/uconv/ucvcn/nsUnicodeToEUCTW.cpp, mozilla/intl/uconv/ucvcn/nsUnicodeToGB2312.cpp, mozilla/intl/uconv/ucvcn/nsUnicodeToEUCKR.cpp
git-svn-id: svn://10.0.0.236/trunk@26573 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:42:06 +00:00
ftang%netscape.com
1957cf6cfb add one boolean to indicate word break or line break
git-svn-id: svn://10.0.0.236/trunk@26572 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:41:44 +00:00
cata%netscape.com
ef0cbc8715 Created.
git-svn-id: svn://10.0.0.236/trunk@26571 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:39:18 +00:00
petitta%netscape.com
fb33db9c6e Update mailing routines
git-svn-id: svn://10.0.0.236/trunk@26570 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:38:01 +00:00
alecf%netscape.com
7d411ced44 new POP3 incoming server implementations
git-svn-id: svn://10.0.0.236/trunk@26569 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:37:51 +00:00
alecf%netscape.com
58865eaddb first addition of POP3 incoming server implementation
git-svn-id: svn://10.0.0.236/trunk@26568 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:36:19 +00:00
alecf%netscape.com
dd6129e947 first addition of nsIMsgAccount and nsIMsgAccountManager implementations
git-svn-id: svn://10.0.0.236/trunk@26567 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:35:43 +00:00
alecf%netscape.com
ed2ac34449 first addition of account/identity interfaces, with IDL
git-svn-id: svn://10.0.0.236/trunk@26566 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:35:13 +00:00
petitta%netscape.com
1915d09647 Update mailing routines
git-svn-id: svn://10.0.0.236/trunk@26565 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:35:06 +00:00
cata%netscape.com
bbb7f42a7a Converters added.
git-svn-id: svn://10.0.0.236/trunk@26564 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:34:40 +00:00
alecf%netscape.com
6249be58f7 first addition of identity work
- Identity for outgoing mail
- Incoming Server for incoming mail


git-svn-id: svn://10.0.0.236/trunk@26563 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:34:19 +00:00
nisheeth%netscape.com
a15bb54f6a Fixing well-formedness errors reported by expat...
git-svn-id: svn://10.0.0.236/trunk@26562 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:32:42 +00:00
alecf%netscape.com
23f3b86d25 first check in of identity tests
git-svn-id: svn://10.0.0.236/trunk@26561 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:30:47 +00:00
alecf%netscape.com
54dc66ad27 remove dependancy on libxp so we can track this with ldd -r
git-svn-id: svn://10.0.0.236/trunk@26560 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:30:20 +00:00
mscott%netscape.com
90eeec3deb The style sheets for displaying message headers is now in /res/mailnews/messenger.
git-svn-id: svn://10.0.0.236/trunk@26559 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:24:05 +00:00
alecf%netscape.com
94882ebbb4 rev this interface
git-svn-id: svn://10.0.0.236/trunk@26558 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:23:11 +00:00
mscott%netscape.com
fe8f207529 The style sheets for displaying message headers are now being copied into /res/mailnews/messenger.
git-svn-id: svn://10.0.0.236/trunk@26557 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:22:15 +00:00
alecf%netscape.com
8e08c2e373 fix crash if local mail directory is not found
git-svn-id: svn://10.0.0.236/trunk@26556 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:19:59 +00:00
saari%netscape.com
01c62fc613 Mac menus destroying themselves more properly
git-svn-id: svn://10.0.0.236/trunk@26555 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:19:09 +00:00
mcmullen%netscape.com
9ac39587db Added support for inserting floppies.
git-svn-id: svn://10.0.0.236/trunk@26554 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:13:41 +00:00
mcmullen%netscape.com
b045924a41 Fix a typo
git-svn-id: svn://10.0.0.236/trunk@26553 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:09:47 +00:00
mcmullen%netscape.com
0b11eb7bd2 Prefs directory for unix.
git-svn-id: svn://10.0.0.236/trunk@26552 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:09:27 +00:00
mcmullen%netscape.com
a896636b44 Remove spurious semicolon.
git-svn-id: svn://10.0.0.236/trunk@26550 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:03:45 +00:00
mcmullen%netscape.com
a943270b6a Bug #4296. Support insertion of floppies.
git-svn-id: svn://10.0.0.236/trunk@26549 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:03:36 +00:00
karnaze%netscape.com
86d76cd063 updated paths
git-svn-id: svn://10.0.0.236/trunk@26548 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:50:36 +00:00
nhotta%netscape.com
32f293604d Changed to use unicode converter and related changes.
git-svn-id: svn://10.0.0.236/trunk@26547 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:46:15 +00:00
karnaze%netscape.com
1227f0d87f updated paths
git-svn-id: svn://10.0.0.236/trunk@26546 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:42:05 +00:00
joki%netscape.com
9a0d9abb24 Adding spacebar to list of keys that will scroll page.
git-svn-id: svn://10.0.0.236/trunk@26545 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:37:34 +00:00
law%netscape.com
2641e80a67 Add support for new file download dialogs
git-svn-id: svn://10.0.0.236/trunk@26544 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:36:50 +00:00
ftang%netscape.com
5780fc9331 uncomment out ucvcn
git-svn-id: svn://10.0.0.236/trunk@26543 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:34:59 +00:00
ftang%netscape.com
6563dd0939 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26542 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:34:27 +00:00
mcmullen%netscape.com
4f7e25cafa Removing illegal trailing semicolon
git-svn-id: svn://10.0.0.236/trunk@26541 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:31:47 +00:00
ftang%netscape.com
8fedb561b8 add nsStringUtil.cpp - fix bustage
git-svn-id: svn://10.0.0.236/trunk@26540 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:27:42 +00:00
radha%netscape.com
e8d434ef55 Remove few debug printfs
git-svn-id: svn://10.0.0.236/trunk@26539 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:25:06 +00:00
radha%netscape.com
b7025f30b7 Remove few denug printfs
git-svn-id: svn://10.0.0.236/trunk@26538 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:24:44 +00:00
cata%netscape.com
8d184ff58e Shift table fix.
git-svn-id: svn://10.0.0.236/trunk@26537 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:23:56 +00:00
cata%netscape.com
65d3b9840e Chinese dll added.
git-svn-id: svn://10.0.0.236/trunk@26536 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:12:24 +00:00
cata%netscape.com
9948fc0779 Chinese converters added.
git-svn-id: svn://10.0.0.236/trunk@26535 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:11:54 +00:00
rods%netscape.com
ff6b5d404c Commented out Drg & Drop Stuff
git-svn-id: svn://10.0.0.236/trunk@26534 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:10:08 +00:00
radha%netscape.com
777693e5fb BrowserAppcore uses the new nsIDocumentLoaderObserver instead of nsIStreamObserver
git-svn-id: svn://10.0.0.236/trunk@26533 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:02:56 +00:00
mscott%netscape.com
5adf4e34a0 Add getter and setter for an identity to the imap url interface.
git-svn-id: svn://10.0.0.236/trunk@26532 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:02:50 +00:00
mscott%netscape.com
f61092f06d Add getters and setters for the identity associated with the url. If the caller attempts to get an identity and we don't have one, then we go out and return the default identity....
git-svn-id: svn://10.0.0.236/trunk@26531 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:02:07 +00:00
radha%netscape.com
a31cdf46e3 Webshellwindow implements the new nsIDocumentLoderObserver.
git-svn-id: svn://10.0.0.236/trunk@26530 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:01:51 +00:00
radha%netscape.com
449591e339 Webshell implements the new nsIDocumentLoaderObserver interface
git-svn-id: svn://10.0.0.236/trunk@26529 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:01:04 +00:00
radha%netscape.com
27ac762b94 Webshell implements the new nsIDocumentLoaderObserver
git-svn-id: svn://10.0.0.236/trunk@26528 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 21:00:26 +00:00
waterson%netscape.com
fcb0375daf Added local store CIDs and factory implementation.
git-svn-id: svn://10.0.0.236/trunk@26527 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:55:58 +00:00
waterson%netscape.com
fe2745592e Added nsLocalStore.cpp.
git-svn-id: svn://10.0.0.236/trunk@26526 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:55:38 +00:00
neeti%netscape.com
2cb7be0434 initial checkin for ObserverService api
git-svn-id: svn://10.0.0.236/trunk@26525 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:54:09 +00:00
neeti%netscape.com
64164a0378 register component for ObserverService api
git-svn-id: svn://10.0.0.236/trunk@26524 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:48:08 +00:00
cata%netscape.com
bee6e56363 New converters added.
git-svn-id: svn://10.0.0.236/trunk@26523 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:43:26 +00:00
scc%netscape.com
1506788f7e generalize fstreams to our own input streams, this is the first part of a change to allow XUL from streams
git-svn-id: svn://10.0.0.236/trunk@26522 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:39:11 +00:00
waterson%netscape.com
f4d2164ca9 Added nsLocalStore.cpp.
git-svn-id: svn://10.0.0.236/trunk@26521 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:37:24 +00:00
waterson%netscape.com
69d71d2d30 Added nsILocalStore.h
git-svn-id: svn://10.0.0.236/trunk@26520 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:36:37 +00:00
ftang%netscape.com
64d172c69e make window menu convert Unicode to ACP before pass it to window API
git-svn-id: svn://10.0.0.236/trunk@26519 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:30:08 +00:00
rods%netscape.com
6f417b8deb addeditional support for Drag & Drop
git-svn-id: svn://10.0.0.236/trunk@26518 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:25:09 +00:00
rods%netscape.com
c1f6de65b9 Added new D&D events and removed D&D specific event struct
git-svn-id: svn://10.0.0.236/trunk@26517 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:24:46 +00:00
rods%netscape.com
9748b9c0c4 Upgraded to implement new methods in D&D interface
git-svn-id: svn://10.0.0.236/trunk@26516 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:24:09 +00:00
rods%netscape.com
de6fd2516b Added support to handle Drag & Drop events
git-svn-id: svn://10.0.0.236/trunk@26515 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:24:05 +00:00
rods%netscape.com
b2a1748cd5 Added nsNAtiveDragSource and nNativeDragTarget
git-svn-id: svn://10.0.0.236/trunk@26514 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:24:02 +00:00
rods%netscape.com
9e56dbfbd6 Cmmented out DROP_FILE event handle and added WM_CHAR support
git-svn-id: svn://10.0.0.236/trunk@26513 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:23:55 +00:00
rods%netscape.com
207972d2a4 Added additional methods to interface
git-svn-id: svn://10.0.0.236/trunk@26512 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:23:51 +00:00
rods%netscape.com
480bc4edf7 removed "int" definition from two for loops and am using PRUin32 to remove warnings.
git-svn-id: svn://10.0.0.236/trunk@26511 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:13:48 +00:00
mcmullen%netscape.com
a05057c744 memset a buffer to 0, to avoid Solaris UMR diagnostics.
git-svn-id: svn://10.0.0.236/trunk@26510 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 20:10:50 +00:00
jfrancis%netscape.com
8ae361be22 fix for range gravity bug
git-svn-id: svn://10.0.0.236/trunk@26509 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:57:01 +00:00
akkana%netscape.com
fb31344db8 Fix some ordering problems in image insertion; make sure we end the transaction
git-svn-id: svn://10.0.0.236/trunk@26508 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:49:33 +00:00
erik%netscape.com
fef325b269 Bug 4573. Was not dealing with the case where only a scalable font was
available (no bitmap fonts). Fixed.


git-svn-id: svn://10.0.0.236/trunk@26507 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:45:38 +00:00
rods%netscape.com
c422cfe0de Implemented GetFile
git-svn-id: svn://10.0.0.236/trunk@26506 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:45:08 +00:00
rods%netscape.com
1cabb055b9 It is removed. (it is in build now)
git-svn-id: svn://10.0.0.236/trunk@26505 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:40:17 +00:00
rods%netscape.com
16c483eb0f It is removed
git-svn-id: svn://10.0.0.236/trunk@26504 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:39:39 +00:00
rods%netscape.com
de9fda463c Initial checkin
git-svn-id: svn://10.0.0.236/trunk@26503 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:39:21 +00:00
cata%netscape.com
ee12ef8f9f added files: mozilla/intl/uconv/ucvlatin/nsISO88592ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsISO88599ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsCP1250ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsCP1252ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsCP1254ToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsMacRomanToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsMacCEToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsMacGreekToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsMacTurkishToUnicode.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToISO88592.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToISO88597.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToISO88599.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToCP1250.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToCP1252.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToCP1253.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToCP1254.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToMacRoman.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToMacCE.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToMacGreek.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToMacTurkish.cpp, mozilla/intl/uconv/ucvlatin/nsUnicodeToUTF8.cpp
git-svn-id: svn://10.0.0.236/trunk@26502 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:39:19 +00:00
rods%netscape.com
d04470fd82 Made sure "in" parameter pointer is set to null when transferable is null
on GetTransferable


git-svn-id: svn://10.0.0.236/trunk@26501 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:37:45 +00:00
mcmullen%netscape.com
1295741b0d Checks for null
git-svn-id: svn://10.0.0.236/trunk@26500 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:36:26 +00:00
law%netscape.com
0f35145a4f Updates
git-svn-id: svn://10.0.0.236/trunk@26499 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:34:47 +00:00
ducarroz%netscape.com
04f16a490b Update project, added nsRDFCursorUtil.cpp
git-svn-id: svn://10.0.0.236/trunk@26498 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:32:15 +00:00
cata%netscape.com
eeeede50c7 Bunch of converters added to the buid.
git-svn-id: svn://10.0.0.236/trunk@26497 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:25:49 +00:00
mscott%netscape.com
3fe1325713 Fix linux breakage for rhp. Build new mime/emitters/raw directory.
git-svn-id: svn://10.0.0.236/trunk@26496 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:05:00 +00:00
rhp%netscape.com
273f3f2cef Changes for new CID
git-svn-id: svn://10.0.0.236/trunk@26495 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 19:03:01 +00:00
rhp%netscape.com
e9d86be4b0 Changes for cleaner attachment output
git-svn-id: svn://10.0.0.236/trunk@26494 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:56:54 +00:00
joki%netscape.com
42816305d4 Fixing keyboard control of forms
git-svn-id: svn://10.0.0.236/trunk@26493 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:55:06 +00:00
ftang%netscape.com
edca68ea3d temp fix bug 4463 untill the nsParser SetDefaultCharset defined
git-svn-id: svn://10.0.0.236/trunk@26492 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:50:22 +00:00
pinkerton%netscape.com
7ded6989f6 implementation using NavServices. Makes things easier for Carbon.
git-svn-id: svn://10.0.0.236/trunk@26491 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:46:54 +00:00
putterman%netscape.com
5adf8da5b3 More work on unread messages view.
git-svn-id: svn://10.0.0.236/trunk@26490 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:40:30 +00:00
pinkerton%netscape.com
518f61fd6d backs out hyatt's change. we are effectively now backed to 1.56 w/out hyatt's or matt's changes.
git-svn-id: svn://10.0.0.236/trunk@26489 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:38:33 +00:00
dveditz%netscape.com
f9b41069d8 Fix threading bug
git-svn-id: svn://10.0.0.236/trunk@26488 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:35:34 +00:00
bienvenu%netscape.com
0782927cdd add interfaces to get thread object from msg hdr or msg key
git-svn-id: svn://10.0.0.236/trunk@26486 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:27:28 +00:00
ducarroz%netscape.com
ab7960dfd8 update project
git-svn-id: svn://10.0.0.236/trunk@26484 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:23:30 +00:00
ducarroz%netscape.com
e9d50abd98 Don't need to link with msgCoreUtil.lib
git-svn-id: svn://10.0.0.236/trunk@26482 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:22:31 +00:00
buster%netscape.com
e124ff90ed RemoveTextPropery works in all cases now.
git-svn-id: svn://10.0.0.236/trunk@26481 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 18:21:43 +00:00
cyeh%netscape.com
650efcc5dd backout matt fisher change to navigator.xul. it was causing a crash
on macintosh, a hang on win32, and a startup crash on Linux.


git-svn-id: svn://10.0.0.236/trunk@26479 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 17:30:05 +00:00
ramiro%netscape.com
e649a41036 The (x,y) components of the bounds are always zero. Dont change
them here or the compositor (and other things probably) freaks out.


git-svn-id: svn://10.0.0.236/trunk@26477 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 13:23:08 +00:00
ramiro%netscape.com
ecfe74e4fc Add SetClip{Rect,Region} tracing debug code.
git-svn-id: svn://10.0.0.236/trunk@26476 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 13:22:21 +00:00
ramiro%netscape.com
4ccc8248ec Add #ifdef copy flag debug printfs.
git-svn-id: svn://10.0.0.236/trunk@26475 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 12:48:46 +00:00
ramiro%netscape.com
bbe16db524 Backout pavlov refcount/cleanup changes. They are causing core dumps in
strange places.


git-svn-id: svn://10.0.0.236/trunk@26474 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 12:45:23 +00:00
dp%netscape.com
dd83a0e02e Removing (char *) casts. Better error checking in PlatformVersionCheck(). Thanks to Nicholas Ambrose <nick87@hotmail.com> for the patch
git-svn-id: svn://10.0.0.236/trunk@26473 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 08:52:51 +00:00
mccabe%netscape.com
89e3055e35 - Made xpidl build conditional on BUILD_XPIDL for win32 and unix
- Made win32 xpidl use glib-1.2 (instead of 1.1.)


git-svn-id: svn://10.0.0.236/trunk@26472 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 08:33:40 +00:00
dp%netscape.com
5bbb074613 Caching of commonly used registry keys. Patch from Nicholas Ambrose <nick87@hotmail.com>. Thanks nick.
git-svn-id: svn://10.0.0.236/trunk@26471 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 08:26:38 +00:00
nisheeth%netscape.com
e559ec9b0e Fixing well-formedness errors reported by expat.
git-svn-id: svn://10.0.0.236/trunk@26470 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 08:25:39 +00:00
nisheeth%netscape.com
6eadea42c7 1) Fixed a mistaken assumption made by the XML error handling code in nsExpatTokenizer. It no longer treats the error location returned by expat as being relative to the current XML chunk being parsed. Instead, the error location is considered to be relative to the start of the XML file. The lengths of incoming XML chunks are added to a new member variable, mBytesParsed. When an error occurs, we subtract mBytesParsed from the error location returned by expat to give us the offset of the error in the XML chunk.
2) When nsWellFormedDTD sees an error token, it dumps the error to cerr and notifies the content sink about it.  This is a temporary solution.  The right behavior is for the browser to show the error in the content window which, currently, happens only for .XML documents.  XUL and RDF files use their own content sinks which do not implement error handling.  This needs to change so that code is shared among the XML, RDF, and XUL content sinks. I do not want to fix error handling by just cutting and pasting the error handling code from the XML content sink into the RDF and XUL content sinks.


git-svn-id: svn://10.0.0.236/trunk@26469 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 08:17:03 +00:00
waterson%netscape.com
54f021f686 Fixed a _big_ memory leak: circular reference between the document, content sink, and parser. Now the document releases the parser immediately after telling it to start parsing.
git-svn-id: svn://10.0.0.236/trunk@26468 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 07:48:21 +00:00
grail%cafebabe.org
121ed148cd Patch from Joel York to implement the overloaded BerkeleyStore.getFolder().
git-svn-id: svn://10.0.0.236/trunk@26467 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 07:24:43 +00:00
sspitzer%netscape.com
0c88286ba1 don't use the throbbing N for the busy, use the animated gif built from
anims00.gif - anims29.gif


git-svn-id: svn://10.0.0.236/trunk@26466 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 07:14:33 +00:00
sspitzer%netscape.com
2cfa5c85c6 build the tests by default
git-svn-id: svn://10.0.0.236/trunk@26465 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:47:47 +00:00
sspitzer%netscape.com
841c81352b have the throbber point to www.mozilla.org, not www.netscape.com
git-svn-id: svn://10.0.0.236/trunk@26464 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:47:05 +00:00
waterson%netscape.com
1fcc86861f Made nsXULAttribute implement nsIDOMAttr, and made nsXULAttributes implement nsIDOMNamedNodeMap. Updated the nsRDFElement accordingly, and implemented GetAttributes() and Set/GetAttributeNode().
git-svn-id: svn://10.0.0.236/trunk@26463 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:40:31 +00:00
waterson%netscape.com
a75b9940e3 Added dom-test-2.xul.
git-svn-id: svn://10.0.0.236/trunk@26462 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:38:42 +00:00
waterson%netscape.com
995ba39fa9 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@26461 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:37:52 +00:00
waterson%netscape.com
dc66ded799 Regenerated using long-long instead of PRTime.
git-svn-id: svn://10.0.0.236/trunk@26460 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:36:50 +00:00
waterson%netscape.com
ac07215688 Add contentframe.html to INSTALL.
git-svn-id: svn://10.0.0.236/trunk@26459 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:28:52 +00:00
warren%netscape.com
a868018fd7 Replaced nsIProtocolConnection argument with nsISupports generic context.
git-svn-id: svn://10.0.0.236/trunk@26458 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:11:51 +00:00
warren%netscape.com
2a30aa26cf Fixed to work, but don't try it for a directory with too many files!
git-svn-id: svn://10.0.0.236/trunk@26457 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:11:23 +00:00
warren%netscape.com
89cf6d5006 Added GetIThread method
git-svn-id: svn://10.0.0.236/trunk@26456 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:09:15 +00:00
sspitzer%netscape.com
ce4669492c added lines for anims15.gif - anims29.gif
git-svn-id: svn://10.0.0.236/trunk@26455 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:08:55 +00:00
sspitzer%netscape.com
75188c890e getting rid of the throbber.
Mozilla is from mozilla.org
Communciator is from www.netscape.com


git-svn-id: svn://10.0.0.236/trunk@26454 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:06:00 +00:00
pavlov%pavlov.net
1e0f6e7dca refcounting cleanups. more to come.
git-svn-id: svn://10.0.0.236/trunk@26453 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 05:50:37 +00:00
tague%netscape.com
7c20744b11 Fixed bug #3867: nsIWin32Locale::GetPlatformLocale not returning the correct value for en_US
git-svn-id: svn://10.0.0.236/trunk@26452 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 05:46:29 +00:00
bienvenu%netscape.com
6871b4f208 more work on threading interfaces, plus i18n change
git-svn-id: svn://10.0.0.236/trunk@26451 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 05:44:37 +00:00
waterson%netscape.com
0d007f87ef Add registry.rdf to INSTALL target.
git-svn-id: svn://10.0.0.236/trunk@26450 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 05:36:52 +00:00
karnaze%netscape.com
ebddb92919 bug 4295 - anonymous table frame for caption is part of frame tree
git-svn-id: svn://10.0.0.236/trunk@26449 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 05:19:38 +00:00
alecf%netscape.com
bada7247d6 output results of new factory's CreateInstance()
git-svn-id: svn://10.0.0.236/trunk@26448 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 05:06:47 +00:00
troy%netscape.com
b9345aa5f1 Changed ContentAppended() and ContentInserted() to work correctly
if the parent frame has :before or :after pseudo-elements


git-svn-id: svn://10.0.0.236/trunk@26447 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:58:05 +00:00
warren%netscape.com
1b9facf252 Fixed refcount problems.
git-svn-id: svn://10.0.0.236/trunk@26446 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:57:44 +00:00
alecf%netscape.com
bc442623da resolve libreg unresolved symbols
git-svn-id: svn://10.0.0.236/trunk@26445 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:54:00 +00:00
spence%netscape.com
b5f90fdded netlib protocol dialogs
git-svn-id: svn://10.0.0.236/trunk@26444 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:48:23 +00:00
karnaze%netscape.com
75564576d6 preliminary work for bug 4534
git-svn-id: svn://10.0.0.236/trunk@26443 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:47:18 +00:00
spence%netscape.com
0acf5bc61c fixes for netlib protocol dialogs
git-svn-id: svn://10.0.0.236/trunk@26442 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:41:50 +00:00
alecf%netscape.com
cf1cbc7a8d remove unused variable
git-svn-id: svn://10.0.0.236/trunk@26441 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:40:01 +00:00
alecf%netscape.com
ab526bd928 resolve undefined symbols and fix library dependancies
git-svn-id: svn://10.0.0.236/trunk@26440 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:37:50 +00:00
despotdaemon%netscape.com
d25f5d2945 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@26439 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:37:16 +00:00
sspitzer%netscape.com
36152c78a5 fix my build breakage
git-svn-id: svn://10.0.0.236/trunk@26438 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:36:28 +00:00
alecf%netscape.com
ec6296bea2 add libreg for xpcom
git-svn-id: svn://10.0.0.236/trunk@26437 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:30:26 +00:00
troy%netscape.com
34a11550e7 Changed FindFrameWithContent() to ignore frames associated with
generated content


git-svn-id: svn://10.0.0.236/trunk@26436 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:29:31 +00:00
alecf%netscape.com
5c05c2b41b fix various unused and uninitialize variables, newline at end of file, etc.
git-svn-id: svn://10.0.0.236/trunk@26435 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:27:51 +00:00
alecf%netscape.com
77184d35ed remove various unused variables, fix some signed/unsigned problems, fix some sscanf/printf format strings
git-svn-id: svn://10.0.0.236/trunk@26434 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:26:14 +00:00
sspitzer%netscape.com
f143f32dc6 added newsParser
git-svn-id: svn://10.0.0.236/trunk@26433 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:26:13 +00:00
sspitzer%netscape.com
3a40dea04e add the newsParser test
git-svn-id: svn://10.0.0.236/trunk@26432 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:23:42 +00:00
sspitzer%netscape.com
a207785124 add newParserTest to the tests
git-svn-id: svn://10.0.0.236/trunk@26431 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:23:17 +00:00
sspitzer%netscape.com
0124a495bc quiet egcs / gcc.
(the windows compiler will compile ANYTHING, or windows people like to ignore
warnings.)

update the arguments to Open().  This code has suffered bit rot.


git-svn-id: svn://10.0.0.236/trunk@26430 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:22:45 +00:00
mscott%netscape.com
dc455d34e0 Fix mismatched allocation/deallocation routines for the buffer in nsBufferedStream.
git-svn-id: svn://10.0.0.236/trunk@26429 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:26:23 +00:00
pavlov%pavlov.net
dc111ca117 remove extra member that wasn't being used.
git-svn-id: svn://10.0.0.236/trunk@26428 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:25:34 +00:00
mscott%netscape.com
06d0f68e04 Updates to how we generate components in create instance. All the NS_New*** objects require an interface ID now and they return a ref counted object.
git-svn-id: svn://10.0.0.236/trunk@26427 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:24:04 +00:00
mscott%netscape.com
7213ee559e NS_NewMsgCompose, NS_NewMsgCompFields, NS_NewMsgSend all take interface IDs.
git-svn-id: svn://10.0.0.236/trunk@26426 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:23:22 +00:00
mscott%netscape.com
a94f263a4c NS_NewComposer and NS_NewComposerBootstrap take interface IDs.
git-svn-id: svn://10.0.0.236/trunk@26425 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:22:41 +00:00
mscott%netscape.com
64350deae2 NS_NewComposeAppCore takes an interface ID.
git-svn-id: svn://10.0.0.236/trunk@26424 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:22:21 +00:00
mscott%netscape.com
ad18e4a5ab NS_NewMsgCompose, NS_NewMsgCompFields, NS_NewMsgSend, NS_NewComposeAppCore, NS_NewComposer all now take an interface IID.
git-svn-id: svn://10.0.0.236/trunk@26423 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:21:50 +00:00
mscott%netscape.com
f5db3da4de Clean up our create instance method. Always check to see if the construction of the object succeeded or not. In addition, verify that the QI succeeded and if it failed, delete the object we had created.
git-svn-id: svn://10.0.0.236/trunk@26422 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:15:55 +00:00
mscott%netscape.com
9ba0f64b80 Fixed with help from Jean-Francois. In ::GetMessages, if getting the folderInfo failed, then we still tried to access the object through the pointer outside of the if(m_folderInfo) clause. Also, we need to initialize the return value as it didn't get a value in one code path...
git-svn-id: svn://10.0.0.236/trunk@26421 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:14:18 +00:00
sfraser%netscape.com
fb21a1442d Fix 4153. Change the link order so that some weird condition that causes MSL to throw a bad cast exception no longer happens, in the optimized build.
git-svn-id: svn://10.0.0.236/trunk@26420 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:12:59 +00:00
mscott%netscape.com
89141d1ec9 make destructor public so it can be called from the factory.
git-svn-id: svn://10.0.0.236/trunk@26419 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:12:54 +00:00
mscott%netscape.com
ecf177a60b make destructor public so it can be called from the factory
git-svn-id: svn://10.0.0.236/trunk@26418 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:12:26 +00:00
mscott%netscape.com
860a293d4e fix ref counting bug in create instance. Update all NS_New*** functions to pass in the interface we want the object in...
git-svn-id: svn://10.0.0.236/trunk@26417 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:11:40 +00:00
mscott%netscape.com
05ef88c077 NS_NewMessengerBootstrap & NS_NewMessenger now take an IID
git-svn-id: svn://10.0.0.236/trunk@26416 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:11:02 +00:00
mscott%netscape.com
6acdb41dff NS_NewMsgAppCore takes an IID & refcounts returned object
git-svn-id: svn://10.0.0.236/trunk@26415 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:10:17 +00:00
mscott%netscape.com
41d7cb963f NS_NewRFC822Parser takes an IID & refcounts returned object.
git-svn-id: svn://10.0.0.236/trunk@26414 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:09:36 +00:00
briano%netscape.com
fe6aacadb0 Added a newline at the end of the file for Unix.
git-svn-id: svn://10.0.0.236/trunk@26413 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 03:09:28 +00:00
troy%netscape.com
d98d250538 Added a comment
git-svn-id: svn://10.0.0.236/trunk@26412 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 02:57:47 +00:00
troy%netscape.com
cb791ea003 Removed DidReflow() code that's no longer needed now that the new compositor
allows child views to extend outside their parent view


git-svn-id: svn://10.0.0.236/trunk@26411 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 02:41:50 +00:00
waterson%netscape.com
67d675f760 Added static GetIID() method.
git-svn-id: svn://10.0.0.236/trunk@26410 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 02:37:08 +00:00
nhotta%netscape.com
3662b418ef Fixed to map us-ascii to Latin1 for unicode coversion.
git-svn-id: svn://10.0.0.236/trunk@26409 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 02:08:34 +00:00
ducarroz%netscape.com
d40c133396 Part of Messenger Mac landing
git-svn-id: svn://10.0.0.236/trunk@26408 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 02:05:52 +00:00
ducarroz%netscape.com
20fd7c8e6f Mac only, define LINEBREAK as \012 to avoid conflict with fe_proto.h
git-svn-id: svn://10.0.0.236/trunk@26407 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 02:05:51 +00:00
ducarroz%netscape.com
65c4c861f3 Update project, added nsIMessageViewDataSource.cpp
git-svn-id: svn://10.0.0.236/trunk@26406 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:57:28 +00:00
amusil%netscape.com
db02df4cf3 Fixed bug with StreamAsFileOnly.
git-svn-id: svn://10.0.0.236/trunk@26405 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:53:37 +00:00
warren%netscape.com
efaf46e99f Used nsIByteBufferInputStream. Fixed file transport test.
git-svn-id: svn://10.0.0.236/trunk@26404 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:45:24 +00:00
warren%netscape.com
4ea3ee91ef Added nsIByteBufferInputStream.
git-svn-id: svn://10.0.0.236/trunk@26403 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:43:52 +00:00
warren%netscape.com
a823e367c4 Fixed thread pool shutdown.
git-svn-id: svn://10.0.0.236/trunk@26402 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:42:01 +00:00
davidm%netscape.com
aa8d0c70b5 Added code to pass handle keyevents in modal windows
git-svn-id: svn://10.0.0.236/trunk@26401 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:41:02 +00:00
wtc%netscape.com
6015b87239 Symbols on NetBSD also have a leading underscore.
This patch is contributed by gduzan@acm.org.


git-svn-id: svn://10.0.0.236/trunk@26398 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:26:50 +00:00
av%netscape.com
86e05235be Cleaning up
git-svn-id: svn://10.0.0.236/trunk@26397 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:16:53 +00:00
cbegle%netscape.com
21843069bc a little better error handling if no argument provided.
git-svn-id: svn://10.0.0.236/trunk@26395 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:11:13 +00:00
ducarroz%netscape.com
b90333572e Update project
git-svn-id: svn://10.0.0.236/trunk@26393 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:59:38 +00:00
ducarroz%netscape.com
ab62e0e4a9 update manifest file
git-svn-id: svn://10.0.0.236/trunk@26392 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:58:58 +00:00
ducarroz%netscape.com
0a9b48c15a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26391 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:58:31 +00:00
despotdaemon%netscape.com
8d970f6499 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@26390 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:54:49 +00:00
hyatt%netscape.com
5d653f7101 Changing navigator to use a chrome URL for its skin.
git-svn-id: svn://10.0.0.236/trunk@26389 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:50:58 +00:00
hyatt%netscape.com
a7df744a8e This assert shouldn't be present.
git-svn-id: svn://10.0.0.236/trunk@26388 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:49:50 +00:00
putterman%netscape.com
f5d808251b Implement OnAssert and OnUnassert so delete and move work again.
git-svn-id: svn://10.0.0.236/trunk@26387 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:42:51 +00:00
pinkerton%netscape.com
3548f1e87d adding NavServices to InterfaceLib target. Added LiteCarbonLib target.
git-svn-id: svn://10.0.0.236/trunk@26386 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:42:26 +00:00
ducarroz%netscape.com
c2ae1750cc part of Messenger Mac Landing, modifications affect only Mac build.
git-svn-id: svn://10.0.0.236/trunk@26385 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:40:57 +00:00
waterson%netscape.com
e367509154 Added prtime to ensure PRTime gets defined.
git-svn-id: svn://10.0.0.236/trunk@26384 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:30:49 +00:00
rickg%netscape.com
b883571317 tiny tweaks to keep in sync with new nsString
git-svn-id: svn://10.0.0.236/trunk@26383 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:29:40 +00:00
briano%netscape.com
3500ad8482 Automated update
git-svn-id: svn://10.0.0.236/trunk@26382 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:29:36 +00:00
rickg%netscape.com
ee8fd6ceb9 update to new string api
git-svn-id: svn://10.0.0.236/trunk@26381 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:22:46 +00:00
rjc%netscape.com
6bb4099e38 Unset lastPulse attribute before updating it to the new value.
git-svn-id: svn://10.0.0.236/trunk@26380 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:20:58 +00:00
briano%netscape.com
4f0e696814 Need to eliminate -pipe from CXXFLAGS as well on Solaris.
git-svn-id: svn://10.0.0.236/trunk@26379 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:18:34 +00:00
rjc%netscape.com
91b043d3a2 More fun with pulsing. Now check pulse interval and only pulse if interval has passed.
git-svn-id: svn://10.0.0.236/trunk@26378 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:14:53 +00:00
danm%netscape.com
0a32b64173 shortcut events and updates while window is being deleted
git-svn-id: svn://10.0.0.236/trunk@26377 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:11:43 +00:00
jband%netscape.com
c187e79606 fixed typo so no extra .pdb files get left behind
git-svn-id: svn://10.0.0.236/trunk@26375 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:10:10 +00:00
danm%netscape.com
d877876a12 adding CloseWindow
git-svn-id: svn://10.0.0.236/trunk@26374 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:09:54 +00:00
matt%netscape.com
cb0d9757c0 Adding frame for sidebar and content window
git-svn-id: svn://10.0.0.236/trunk@26373 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:08:11 +00:00
matt%netscape.com
9983d1992c Adding sidebar in a frame. Changing iframe to load a frame page
that loads the sidebar.  Changing targeting window to the content window
in the frame


git-svn-id: svn://10.0.0.236/trunk@26372 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:07:01 +00:00
matt%netscape.com
a06783048e Adding functionality so that you can open bookmarks into content window.
git-svn-id: svn://10.0.0.236/trunk@26371 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:04:56 +00:00
cbegle%netscape.com
8bb0d18015 Add a little more info to the template file.
git-svn-id: svn://10.0.0.236/trunk@26370 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:56:28 +00:00
bienvenu%netscape.com
56cb430eca get top level reference threading working
git-svn-id: svn://10.0.0.236/trunk@26369 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:42:32 +00:00
putterman%netscape.com
5936205db5 Added views and sorting.
git-svn-id: svn://10.0.0.236/trunk@26367 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:37:13 +00:00
putterman%netscape.com
47fb4979c7 added sorting.
git-svn-id: svn://10.0.0.236/trunk@26366 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:36:25 +00:00
putterman%netscape.com
d242e72d0b Fixed subfolders.
git-svn-id: svn://10.0.0.236/trunk@26365 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:35:56 +00:00
putterman%netscape.com
e7516c03e8 Added View All/Unread messages.
git-svn-id: svn://10.0.0.236/trunk@26364 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:35:35 +00:00
putterman%netscape.com
b48a35269d Added nsMessageViewDataSource
git-svn-id: svn://10.0.0.236/trunk@26363 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:35:10 +00:00
putterman%netscape.com
c8cef1d856 Added ViewAllMessages ViewUnreadMessages.
git-svn-id: svn://10.0.0.236/trunk@26362 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:34:10 +00:00
putterman%netscape.com
06eac040cc Added nsIMessageView.
git-svn-id: svn://10.0.0.236/trunk@26361 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:33:43 +00:00
rjc%netscape.com
e77d6ae0ab Small bug fix for non-debug builds.
git-svn-id: svn://10.0.0.236/trunk@26360 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:33:29 +00:00
putterman%netscape.com
387c60a8ab added message view datasource.
git-svn-id: svn://10.0.0.236/trunk@26359 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:32:46 +00:00
troy%netscape.com
b6f09ecc81 Better handling of incremental reflow
git-svn-id: svn://10.0.0.236/trunk@26358 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:32:11 +00:00
putterman%netscape.com
37cf58f252 Fixed some refcounting problems.
git-svn-id: svn://10.0.0.236/trunk@26357 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:30:35 +00:00
wtc%netscape.com
e4865e1b00 The file type PR_DESC_SOCKET_POLL is not defined by NSPR.
git-svn-id: svn://10.0.0.236/trunk@26356 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:24:11 +00:00
wtc%netscape.com
15ba55eacd On Solaris, the prpoll test needs to link with -lsocket because
it calls BSD socket functions.  Moved the rule for the attach
test to be together with other tests that need to link with -lpthread.


git-svn-id: svn://10.0.0.236/trunk@26355 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:23:05 +00:00
ducarroz%netscape.com
4678c65c64 updated project
git-svn-id: svn://10.0.0.236/trunk@26354 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:21:25 +00:00
briano%netscape.com
9e4b74430d Automated update
git-svn-id: svn://10.0.0.236/trunk@26353 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:14:35 +00:00
briano%netscape.com
1499f8f587 Fix for NetBSD. Submitted by gduzan@acm.org.
git-svn-id: svn://10.0.0.236/trunk@26352 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:11:57 +00:00
rjc%netscape.com
097d4ddd38 Add preliminary support for pulsing a container to see if its contents change.
git-svn-id: svn://10.0.0.236/trunk@26351 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:10:43 +00:00
rjc%netscape.com
0766f1c5c4 File system datasource and Find datasource now specify that they want to be pulsed for updates by any observer (such as the tree widget). Also, fix a couple of bugs in the Find datasource due to changes on how errors are reported by RDF.
git-svn-id: svn://10.0.0.236/trunk@26350 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:09:15 +00:00
mcmullen%netscape.com
486dad2cd2 Fix an erroneous assert.
git-svn-id: svn://10.0.0.236/trunk@26349 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:09:13 +00:00
cbegle%netscape.com
3e57fa180d The JavaScript Test Library, Part I. ECMA v. 1.0. See the page at
http://www.mozilla.org/js/tests/library.html for information about
these tests, like how to run them and stuff.

According to fur, these tests should not get checked out when you
check out Mozilla -- you'd have to specifically check out mozilla/js/tests
to get all these files.


git-svn-id: svn://10.0.0.236/trunk@26348 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:58:49 +00:00
cata%netscape.com
033819c203 Bunch of new converters added.
git-svn-id: svn://10.0.0.236/trunk@26347 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:52:50 +00:00
bienvenu%netscape.com
fcd9d51d55 more work on threading, fix mork warnings, problem deleting out of date summary files
git-svn-id: svn://10.0.0.236/trunk@26346 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:50:45 +00:00
michaelp%netscape.com
79d4017b97 enabled creation of blender objects.
git-svn-id: svn://10.0.0.236/trunk@26345 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:49:18 +00:00
michaelp%netscape.com
92f6764bcf enabling new compositor.
git-svn-id: svn://10.0.0.236/trunk@26344 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:45:32 +00:00
briano%netscape.com
307ff7fb09 Cleaned up the use of the -j flag and added the --nodeps option.
git-svn-id: svn://10.0.0.236/trunk@26343 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:43:52 +00:00
briano%netscape.com
fd1e8a192e Automated update
git-svn-id: svn://10.0.0.236/trunk@26341 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:32:31 +00:00
erik%netscape.com
4a471099d5 Got rid of some tabs.
git-svn-id: svn://10.0.0.236/trunk@26340 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:31:58 +00:00
briano%netscape.com
ccf3edce58 Fix for Solaris/x86 build. Sun's as doesn't like having gcc flags passed to it.
git-svn-id: svn://10.0.0.236/trunk@26339 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:31:53 +00:00
briano%netscape.com
52a5675a6b Automated update
git-svn-id: svn://10.0.0.236/trunk@26338 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:29:35 +00:00
akkana%netscape.com
795444cfa4 Turn editor on by default; use --disable-editor to turn it off
git-svn-id: svn://10.0.0.236/trunk@26337 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:21:02 +00:00
nisheeth%netscape.com
01835dd743 Added the browse_info target to create .SBR files for code browsing in VC++.
git-svn-id: svn://10.0.0.236/trunk@26336 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:18:34 +00:00
mcmullen%netscape.com
551a5d8b4b Added registration needed to make prefs work on all platforms.
git-svn-id: svn://10.0.0.236/trunk@26335 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:11:12 +00:00
sdagley%netscape.com
3b66cdeb10 Mac specific hack to address bug #3976. Add code to pin bottom of created window to bottom of grayregion so user can grab resize area of window. This should be removed when we have a real cross platform method of addressing this issue.
git-svn-id: svn://10.0.0.236/trunk@26334 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:07:06 +00:00
nisheeth%netscape.com
ade0638ae4 Adding initial draft of documentation for the block and inline classes.
git-svn-id: svn://10.0.0.236/trunk@26333 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:54:08 +00:00
rods%netscape.com
850d21470f Removed. It is now in xpwidgets
git-svn-id: svn://10.0.0.236/trunk@26332 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:45:17 +00:00
syd%netscape.com
a7871a9141 Get PATH_MAX right for Neutrino 2.0 (QNX - photon UI).
git-svn-id: svn://10.0.0.236/trunk@26331 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:45:08 +00:00
rickg%netscape.com
b6f42506f7 fixed nsStr bug found by davidBienvenu -- I owe him a beer
git-svn-id: svn://10.0.0.236/trunk@26330 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:38:50 +00:00
erik%netscape.com
e515da88da Added font scaling. It will try to scale the font if it's available, and
the desired size is more than 20% larger or smaller than an available
bitmap font.


git-svn-id: svn://10.0.0.236/trunk@26329 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:30:07 +00:00
rickg%netscape.com
ce6e88bd8b fixed bug found by DavidBienvenu -- I owe him a beer
git-svn-id: svn://10.0.0.236/trunk@26328 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:28:55 +00:00
petitta%netscape.com
a57af565fa New build file
git-svn-id: svn://10.0.0.236/trunk@26327 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:06:29 +00:00
warren%netscape.com
3daba52e59 Added TestFileInput
git-svn-id: svn://10.0.0.236/trunk@26326 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:06:07 +00:00
warren%netscape.com
0b41376a70 Fixed up all the IIDs to be new/unique. Made nsFileTransport work (needs tuned).
git-svn-id: svn://10.0.0.236/trunk@26325 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:05:22 +00:00
warren%netscape.com
c2f5ce692d Added TestThreads
git-svn-id: svn://10.0.0.236/trunk@26324 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:03:22 +00:00
warren%netscape.com
39d6bda2fa Mostly works now, except for nsIThreadPool::Join
git-svn-id: svn://10.0.0.236/trunk@26323 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:02:24 +00:00
petitta%netscape.com
341934b469 New build files
git-svn-id: svn://10.0.0.236/trunk@26322 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:01:37 +00:00
warren%netscape.com
9a3677db41 Added copyright.
git-svn-id: svn://10.0.0.236/trunk@26321 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:01:33 +00:00
harishd%netscape.com
9d3b7954de allowing <BODY> to contain itself. Added kSelf to
the BODY's inclusion bit.


git-svn-id: svn://10.0.0.236/trunk@26320 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 20:57:06 +00:00
harishd%netscape.com
672dfafd29 Added code to handle multiple bodies.
git-svn-id: svn://10.0.0.236/trunk@26319 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 20:55:15 +00:00
harishd%netscape.com
747722bbc6 Added code in OpenBody() to handle multiple bodies.
Commenting out the precondition.


git-svn-id: svn://10.0.0.236/trunk@26318 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 20:53:54 +00:00
buster%netscape.com
a29a790970 fixed bug 4517
WIP on remove text attributes


git-svn-id: svn://10.0.0.236/trunk@26317 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 20:52:29 +00:00
jdunn%netscape.com
f40e5d1b90 include ctype.h for tolower function prototype.
NOTE: also added a return PR_FALSE to remove compiler warning


git-svn-id: svn://10.0.0.236/trunk@26316 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 20:48:43 +00:00
morse%netscape.com
a23b04cc2d turn on SingleSignon and ClientWallet on all builds except raptor
git-svn-id: svn://10.0.0.236/trunk@26315 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 20:32:11 +00:00
morse%netscape.com
fd3ad988f4 housecleaning
git-svn-id: svn://10.0.0.236/trunk@26314 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 20:29:15 +00:00
ftang%netscape.com
a90b908731 fix bug 4237. add remap for 0xFFE0 - 0xFFEF
git-svn-id: svn://10.0.0.236/trunk@26313 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 20:17:54 +00:00
law%netscape.com
8d102646a5 Clean up .pdb file
git-svn-id: svn://10.0.0.236/trunk@26312 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 20:13:04 +00:00
karnaze%netscape.com
40c7757fb4 table regression tests
git-svn-id: svn://10.0.0.236/trunk@26311 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 19:56:05 +00:00
pinkerton%netscape.com
9ada9d6965 move broadcasters to before they are used. this seems to fix the throbber not working problem.
git-svn-id: svn://10.0.0.236/trunk@26310 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 19:54:47 +00:00
cyeh%netscape.com
81eb26f271 removing nglayout.mak. use mozilla/client.mak instead. targets are:
pull_layout
build_dist
build_layout
example: nmake /f client.mak pull_layout build_dist build_layout


git-svn-id: svn://10.0.0.236/trunk@26309 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 19:43:58 +00:00
cyeh%netscape.com
e6f4a8009b build_layout doesn't build_dist anymore
build_dist doesn't clobber the dist


git-svn-id: svn://10.0.0.236/trunk@26308 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 19:40:52 +00:00
jfrancis%netscape.com
48b2757fd1 bug fix: typing didn't work
git-svn-id: svn://10.0.0.236/trunk@26307 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 19:21:22 +00:00
ftang%netscape.com
1504193f4a Fix breakage. Add #include <Resources.h>
git-svn-id: svn://10.0.0.236/trunk@26306 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:38:27 +00:00
erik%netscape.com
48e08d6ecc Add some space beneath East Asian characters for the underline. Also,
adjust their baseline to sit above the underline.


git-svn-id: svn://10.0.0.236/trunk@26305 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:30:12 +00:00
ftang%netscape.com
e4a171d0ed Re-org the file and put different number system into different function. Merge two characters list implementation . add hebrew/armenian/georgian/cjk-ideographics implementation.
git-svn-id: svn://10.0.0.236/trunk@26304 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:25:26 +00:00
jdunn%netscape.com
c04768533d fix order of arguments for fputs
git-svn-id: svn://10.0.0.236/trunk@26303 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:11:45 +00:00
ftang%netscape.com
07c6905527 Fix non ASCII font name problem by using a hashtable . It also improve the performance for GetMacFontNum 25.4 time faster. Reviewed and approved by pierre
git-svn-id: svn://10.0.0.236/trunk@26302 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:06:55 +00:00
ftang%netscape.com
e16be676b7 Add TextCommon and TextEncodingConverter lib
git-svn-id: svn://10.0.0.236/trunk@26301 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 18:05:12 +00:00
briano%netscape.com
3216290be2 Automated update
git-svn-id: svn://10.0.0.236/trunk@26300 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 17:59:36 +00:00
mcafee%netscape.com
892cf85a56 Backing out the -pedantic is on by default change, until we don't get a warning for every file that gets compiled. Ressurecting the --enable-pedantic configure flag.
git-svn-id: svn://10.0.0.236/trunk@26299 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 17:49:28 +00:00
sspitzer%netscape.com
539e485e13 added sizes for the icons
removed references to gif on http://www.shadowland.org (?)


git-svn-id: svn://10.0.0.236/trunk@26298 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 17:33:17 +00:00
jfrancis%netscape.com
f104246088 redoing rules architecture
git-svn-id: svn://10.0.0.236/trunk@26297 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 17:21:59 +00:00
jfrancis%netscape.com
6e8962e404 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26296 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 17:21:14 +00:00
sspitzer%netscape.com
03caf30155 remove extra ">"
git-svn-id: svn://10.0.0.236/trunk@26295 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 16:58:29 +00:00
sspitzer%netscape.com
6edd96829b remove the april fools easter egg
add titles to messenger and the message compose
add image sizes to the messenger toolbar


git-svn-id: svn://10.0.0.236/trunk@26294 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 16:53:50 +00:00
briano%netscape.com
5dbb2173b9 Replaced the C++ comments with C comments.
git-svn-id: svn://10.0.0.236/trunk@26293 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 09:11:11 +00:00
rickg%netscape.com
376f51902d small update to sync up with new nsString API
git-svn-id: svn://10.0.0.236/trunk@26292 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 09:07:07 +00:00
rickg%netscape.com
3d05bf1c3a update to sync up with new nsString
git-svn-id: svn://10.0.0.236/trunk@26291 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 08:50:07 +00:00
rickg%netscape.com
630bba7859 update to sync up with nsString api
git-svn-id: svn://10.0.0.236/trunk@26290 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 08:44:55 +00:00
rickg%netscape.com
e855e10e0d update to use new nsString API
git-svn-id: svn://10.0.0.236/trunk@26289 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 08:36:51 +00:00
rickg%netscape.com
15e7886623 API cleanup for nsString
git-svn-id: svn://10.0.0.236/trunk@26288 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 08:06:54 +00:00
rickg%netscape.com
b80026e24a removed a line of debug code
git-svn-id: svn://10.0.0.236/trunk@26287 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 07:16:17 +00:00
rickg%netscape.com
716929551b major rev to parsing engine
git-svn-id: svn://10.0.0.236/trunk@26286 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 06:55:49 +00:00
rickg%netscape.com
51f222c7be added synonym 'IMAGE' for 'IMG' tag
git-svn-id: svn://10.0.0.236/trunk@26285 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 06:54:42 +00:00
toshok%hungry.com
b60eb17ce2 reorder libs to fix inter-archive dependencies.
git-svn-id: svn://10.0.0.236/trunk@26284 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 06:41:21 +00:00
dp%netscape.com
21c4e892d3 Weekly update
git-svn-id: svn://10.0.0.236/trunk@26283 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 06:41:12 +00:00
fur%netscape.com
7e85101bed Faster interference graph simplification due to Amancio Hasty.
It optimizes for two cases:

 + The case when every node in the interference graph has degree less
   than K and is therefore trivially K-colorable.

 + The case when some node in the interference graph is K-colorable
   using simplify's node-subtraction heuristic.  Therefore, no spilling
   will take place and no spill costs need be taken into account.


git-svn-id: svn://10.0.0.236/trunk@26282 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 06:32:50 +00:00
dp%netscape.com
53c10d5032 Using Raw interface to accurately get key names that have special characters like / =
Printing int32 values
changed key separator in print to be - instead of /


git-svn-id: svn://10.0.0.236/trunk@26281 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 06:05:17 +00:00
mcafee%netscape.com
302ef4b8f1 Removing non-existant extensions/wallet/module/Makefile
git-svn-id: svn://10.0.0.236/trunk@26280 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 05:37:55 +00:00
mcafee%netscape.com
7b99e5714a Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@26279 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 05:23:13 +00:00
dp%netscape.com
158b1a0d15 Adding registry/. Removing xpidl/ since it wan't being compiled by default by the build.
git-svn-id: svn://10.0.0.236/trunk@26278 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 04:55:42 +00:00
dp%netscape.com
6dfc0b553b Adding tools/ to make system
git-svn-id: svn://10.0.0.236/trunk@26277 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 04:54:50 +00:00
dp%netscape.com
1e39539b1d Adding xpcom/tools/registry
git-svn-id: svn://10.0.0.236/trunk@26276 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 04:54:10 +00:00
dp%netscape.com
cb80e986f4 registry Export utility makefile for unix
git-svn-id: svn://10.0.0.236/trunk@26275 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 04:34:57 +00:00
dp%netscape.com
1b51931691 Using the nsIRegistry from the ComponentManager.
git-svn-id: svn://10.0.0.236/trunk@26274 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 04:33:49 +00:00
dp%netscape.com
39759e3865 Log message on RegisterFactory() change.
git-svn-id: svn://10.0.0.236/trunk@26273 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 04:32:36 +00:00
dp%netscape.com
16146ff7b3 Returning servicemanager from NS_InitXPCOM()
git-svn-id: svn://10.0.0.236/trunk@26272 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 04:32:08 +00:00
troy%netscape.com
342a19bf71 Added NS_FRAME_GENERATED_CONTENT
git-svn-id: svn://10.0.0.236/trunk@26271 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 03:44:07 +00:00
toshok%hungry.com
9e21735981 add the nspr private include directory in a way that works with autoconf. this stuff still isn't built by default, but it builds for me on freebsd.
git-svn-id: svn://10.0.0.236/trunk@26270 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 03:12:13 +00:00
toshok%hungry.com
7c62ce6335 add the extra SUBST (NSPR_INCLUDE_DIR)
git-svn-id: svn://10.0.0.236/trunk@26269 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 03:11:30 +00:00
briano%netscape.com
f2d414ed71 Automated update
git-svn-id: svn://10.0.0.236/trunk@26268 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 02:59:34 +00:00
troy%netscape.com
934e254458 Added rules for Q tag
git-svn-id: svn://10.0.0.236/trunk@26267 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 02:56:37 +00:00
troy%netscape.com
17fdb38b65 Work on generated content
git-svn-id: svn://10.0.0.236/trunk@26266 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 02:53:07 +00:00
toshok%hungry.com
adc05c03c1 add check for pthread_attr_init in -lc_r if it's not in -lpthread, and the gethostbyname_r check fails. this gets pthreads on freebsd working. Also, add another AC_SUBST for the NSPR include dir, since the OJI stuff needs NSPR_INCLUDE_DIR/private
git-svn-id: svn://10.0.0.236/trunk@26265 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 02:48:00 +00:00
morse%netscape.com
fb25986887 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@26264 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 00:54:17 +00:00
dp%netscape.com
6ed91d9d88 Getting viewer linux viewer tinderbox to not descend into extensions/
since extensions/ could depend on xpfe/


git-svn-id: svn://10.0.0.236/trunk@26263 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 00:45:33 +00:00
morse%netscape.com
e2b2c07099 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@26262 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 00:43:13 +00:00
morse%netscape.com
3997b45c07 fix bustage on raptor
git-svn-id: svn://10.0.0.236/trunk@26261 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 00:22:05 +00:00
dp%netscape.com
ff81365ea6 Registry strings cleanup. Thanks to Nicholas Ambrose <nick87@hotmail.com>
git-svn-id: svn://10.0.0.236/trunk@26260 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 00:07:18 +00:00
morse%netscape.com
e122e7204d fix build bustage on mac
git-svn-id: svn://10.0.0.236/trunk@26259 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 23:23:12 +00:00
mscott%netscape.com
5f460cdd23 Part of my mailnews reduce disk footprint cleanup effort. No longer need to link against xplib.
git-svn-id: svn://10.0.0.236/trunk@26258 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 23:09:54 +00:00
mscott%netscape.com
6cfc8dd8a4 Part of my mailnews reduce disk footprint cleanup effort. we no longer need to link with xplib
git-svn-id: svn://10.0.0.236/trunk@26257 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 23:00:54 +00:00
mscott%netscape.com
25082da42b Part of my mailnews reduce disk footprint cleanup effort. Checking in Jean-Francois' changes for converting pop3 protocol to use PL_Hash instead of XP_hash stuff.
git-svn-id: svn://10.0.0.236/trunk@26256 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 23:00:26 +00:00
mscott%netscape.com
d00d8a0cb8 We no longer need to link with secfree and xplib.
git-svn-id: svn://10.0.0.236/trunk@26255 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:50:36 +00:00
mscott%netscape.com
35bffc700f compose no longer needs to link against xplib and the old security library. We shouldn't be linking against mailnews library either!! Use mail util library instead...
git-svn-id: svn://10.0.0.236/trunk@26254 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:42:38 +00:00
morse%netscape.com
fcb5433247 include allxpstr if wallet is not already doing so
git-svn-id: svn://10.0.0.236/trunk@26253 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:42:33 +00:00
morse%netscape.com
00ddd9c8a4 don't compile it if ClientWallet not defined
git-svn-id: svn://10.0.0.236/trunk@26252 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:41:43 +00:00
mscott%netscape.com
c1f71f5560 Part of my mailnews reduce disk footprint cleanup effort.
git-svn-id: svn://10.0.0.236/trunk@26251 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:41:25 +00:00
mscott%netscape.com
4e7656a55c Part of my mailnews reduce disk footprint cleanup effort. Stop compiling code to functions we won't be implementing in seamonkey (FE_Progress, FE_Alert, etc.). Having these in here was requiring us to link against xplib to pick up some of their definitions. We'll never have functions for these anyway. I left them in under a UNREADY_CODE flag so we can see what the code used to do.
git-svn-id: svn://10.0.0.236/trunk@26250 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:40:58 +00:00
mscott%netscape.com
a73f186a9f Part of my mailnews reduce disk footprint cleanup effort. Remove some dependencies on allxpstr which required us to link against xplib.
git-svn-id: svn://10.0.0.236/trunk@26249 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:39:15 +00:00
mscott%netscape.com
19bed20eaf Part of my mailnews reduce disk footprint cleanup effort. ifdef out (under a UNREADY_CODE flag) lines of code which don't have values in the new world (such as FE_Progress, XP_GetString, etc.). These functions will never exist in seamonkey. By commenting them out, we can see what the code used to do but we don't need to link against xplib to build (which we did before for many of the functions).
git-svn-id: svn://10.0.0.236/trunk@26248 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:38:25 +00:00
mscott%netscape.com
6e82d1c505 Part of my mailnews reduce disk footprint cleanup effort. Add definitions for all the values compose used to get out of allxpstr.h
git-svn-id: svn://10.0.0.236/trunk@26247 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:36:32 +00:00
mscott%netscape.com
11a105c0cc Part of my mailnews reduce disk footprint cleanup effort. Remove out of memory extern int.
git-svn-id: svn://10.0.0.236/trunk@26246 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:35:23 +00:00
mscott%netscape.com
ccbdecbed8 Part of my mailnews reduce disk footprint cleanup effort. Don't include xp.h. Replace StrAllocCat and StrAllocCopy. extern int's we used to get from allxpstr, we'll get from msgCompglue.h
git-svn-id: svn://10.0.0.236/trunk@26245 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:34:46 +00:00
mscott%netscape.com
41c542bb40 Part of my mailnews reduce disk footprint cleanup effort. Remove include of xp.h. Convert all StrAllocCopy and StrAllocCat to more useful equivalents....
git-svn-id: svn://10.0.0.236/trunk@26244 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:33:31 +00:00
mscott%netscape.com
2d4ae2ea33 Part of my mailnews reduce disk footprint cleanup effort. No longer need to link with mozjs and xplib.
git-svn-id: svn://10.0.0.236/trunk@26243 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:22:04 +00:00
mscott%netscape.com
9c3dec8e40 Part of my mailnews reduce disk footprint cleanup effort. No longer need to link with JS and with xplib.
git-svn-id: svn://10.0.0.236/trunk@26242 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:20:57 +00:00
mscott%netscape.com
0aa485c42f Part of my mailnews reduce disk footprint cleanup effort. Add definitions that we used to get from allxpstr.h.
git-svn-id: svn://10.0.0.236/trunk@26241 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:20:06 +00:00
mscott%netscape.com
dfde26ae22 Part of my mailnews reduce disk footprint cleanup effort. Remove XP_Hash stuff and replace it with PL_Hash.
git-svn-id: svn://10.0.0.236/trunk@26240 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:19:47 +00:00
mscott%netscape.com
2844d1dc6f Part of my mailnews reduce disk footprint cleanup effort. Don't include mkutils.h. Remove extern for out of memory which we used to get from allxpstr.
git-svn-id: svn://10.0.0.236/trunk@26239 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:18:59 +00:00
mscott%netscape.com
8ac6971ce7 Part of my mailnews reduce disk footprint cleanup effort. Many changes to remove dependencies on xplib. Removed all StrAllocCopy and StrAllocCat calls. Isolated the externs we needed from allxpstr.h, we'll defines those in nntpCore.h for now.
git-svn-id: svn://10.0.0.236/trunk@26238 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:18:14 +00:00
mscott%netscape.com
9b4ca1dca4 Part of my mailnews reduce disk footprint cleanup effort. No longer need to link against xplib.
git-svn-id: svn://10.0.0.236/trunk@26237 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:09:04 +00:00
mscott%netscape.com
c50482b78f Oops...we still need to link against rdfutils_s (because of nsMsgFolder...)
git-svn-id: svn://10.0.0.236/trunk@26236 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:08:25 +00:00
mscott%netscape.com
ef8034fff3 Part of my mailnews reduce disk footprint cleanup effort. We no longer need to link against xplib.
git-svn-id: svn://10.0.0.236/trunk@26235 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 22:00:06 +00:00
mscott%netscape.com
50f73a5df4 Part of my mailnews reduce disk footprint cleanup effort. Add macro defintions for IS_DIGIT, IS_ALPHA, etc. I know it is bad to do it here. I need to talk to a raptor base owner and look into adding the macros where everyone besides just mailnews can use them!
git-svn-id: svn://10.0.0.236/trunk@26234 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 21:59:22 +00:00
mscott%netscape.com
80eecaca6c Part of my mailnews reduce disk footprint cleanup effort. Remove use of XP_IS* to help remove dependencies on xplib. don't include xp.h. Use nsCRT::mem* functions.
git-svn-id: svn://10.0.0.236/trunk@26233 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 21:57:28 +00:00
mscott%netscape.com
05ca34167e Part of my mailnews reduce disk footprint cleanup effort. We no longer need to be linking against rdfutils and xplib.
git-svn-id: svn://10.0.0.236/trunk@26232 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 21:44:51 +00:00
mscott%netscape.com
e4025f3419 Part of my mailnews reduce disk footprint cleanup effort. We are linking against many many more libraries than we need to. Remvoing xplib, js, newstest among others...
git-svn-id: svn://10.0.0.236/trunk@26231 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 21:42:53 +00:00
mscott%netscape.com
3eb04596ff Part of my mailnews reduce disk footprint cleanup effort. Use PR_MAX and PR_MIN instead of the versions through xp.h. Use nsCRT::mem* functions instead of those obtained through xp.h. Remove dep. on XP_QSORT.
git-svn-id: svn://10.0.0.236/trunk@26230 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 21:42:02 +00:00
mscott%netscape.com
15fbc30d4c Part of my mailnews reduce disk footprint cleanup effort. Remove needless dependencies on fe_proto and allxpstr.h
git-svn-id: svn://10.0.0.236/trunk@26229 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 21:39:53 +00:00
mscott%netscape.com
ee87c324b0 Fix crash when running mailnews app. Problem: we're creating an object that is an interface without going through the component manager and are calling new on it directly. so the object returned has a ref count of 0. We need to add ref it before returning it..This change should be moot if we were going through the component manager though.
git-svn-id: svn://10.0.0.236/trunk@26228 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 21:12:10 +00:00
mscott%netscape.com
c6b09b5171 One more change...we need to link against mork to remove some unresolved symbols which occurr when we load the library.
git-svn-id: svn://10.0.0.236/trunk@26227 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 20:27:48 +00:00
mscott%netscape.com
1f6e75b46c Help fix Linux build problems for bienvenu. Link with correct name for the msgdb library.
git-svn-id: svn://10.0.0.236/trunk@26226 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 20:24:36 +00:00
mscott%netscape.com
0ff5d82417 Help fix Linux build for bienvenu. We want to build the static library for this...
git-svn-id: svn://10.0.0.236/trunk@26225 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 20:23:16 +00:00
mscott%netscape.com
35fb3df29c We now need to link with msgcorutil since we are no longer linking with msgdb.lib directly (which is where we were getting it before). This fixes the unresolved symbols problem when loading this library.
git-svn-id: svn://10.0.0.236/trunk@26224 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 20:22:28 +00:00
buster%netscape.com
937b6ed03a Improved setting text property for next type-in (that is, setting text properties with a collapsed selection.) Bold, italic, and underline
all work.  Better error checking, and factored out some common code.


git-svn-id: svn://10.0.0.236/trunk@26223 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 20:10:39 +00:00
buster%netscape.com
803f3d9473 fixed some broken asserts
git-svn-id: svn://10.0.0.236/trunk@26222 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 20:10:24 +00:00
rickg%netscape.com
8c1c633c9a tweaked top 100 list
git-svn-id: svn://10.0.0.236/trunk@26221 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 19:52:47 +00:00
buster%netscape.com
c77050b2ad GetTextProperty interface change
git-svn-id: svn://10.0.0.236/trunk@26220 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 18:11:44 +00:00
bienvenu%netscape.com
b6b6c5355c add build makefile
git-svn-id: svn://10.0.0.236/trunk@26219 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 18:08:06 +00:00
buster%netscape.com
baaca59f79 implemented simple cases of RemoveTextProperty. other cases are no-op'd now.
added aFirst out param to GetTextProperty, so the caller can know if the first character has the property in the case of aAny=true and aAll=false.
fixed a bunch of places where result was being used incorrectly as a return val from do_QueryInterface
some minor undo/redo fixes to split and join of interior nodes.


git-svn-id: svn://10.0.0.236/trunk@26218 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 18:01:35 +00:00
buster%netscape.com
8a761fe6ca added aFirst out param to GetTextProperty, so the caller can know if the first character has the property
in the case of aAny=true and aAll=false.


git-svn-id: svn://10.0.0.236/trunk@26217 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 17:59:09 +00:00
bienvenu%netscape.com
8406bf6069 make msgdb a dll
git-svn-id: svn://10.0.0.236/trunk@26216 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 17:48:16 +00:00
bienvenu%netscape.com
2db81d5495 start imap db
git-svn-id: svn://10.0.0.236/trunk@26215 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 17:42:41 +00:00
bienvenu%netscape.com
599db9b1e1 start implementing port table cursor
git-svn-id: svn://10.0.0.236/trunk@26214 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 17:38:39 +00:00
bienvenu%netscape.com
c4d01b646b make msgdb a dll
git-svn-id: svn://10.0.0.236/trunk@26213 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 17:38:02 +00:00
endico%mozilla.org
1e40acf6a6 add labels for linking directly to an article
git-svn-id: svn://10.0.0.236/trunk@26212 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 15:51:14 +00:00
mcafee%netscape.com
289a3550a3 Adding XIFFormatConverter to widget factory.
git-svn-id: svn://10.0.0.236/trunk@26211 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 08:44:05 +00:00
mcafee%netscape.com
98bbb23f4f Adding default window icon; SetIcon() method for nsWindow. Gtk-only for now.
git-svn-id: svn://10.0.0.236/trunk@26210 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 08:20:51 +00:00
troy%netscape.com
740598490c Changed nsHTMLImageLoader::StartLoadImage() to just use mURLSpec as the
absolute URL if mBaseURL is NULL, and not call NS_MakeAbsoluteURL.
This fixes a crash


git-svn-id: svn://10.0.0.236/trunk@26209 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 05:56:23 +00:00
nisheeth%netscape.com
07c7e38896 Checking in latest expat version dated 3/7/1999...
git-svn-id: svn://10.0.0.236/trunk@26208 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 05:50:50 +00:00
fur%netscape.com
bd06159a58 Limit JavaScript directories to just those needed to build. That way,
we can add subdirs to mozilla/js without them showing up in SeaMonkey
CVS pulls.


git-svn-id: svn://10.0.0.236/trunk@26207 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 04:18:47 +00:00
morse%netscape.com
227c98b65b don't create wallet subdirectory under res
git-svn-id: svn://10.0.0.236/trunk@26206 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 04:04:41 +00:00
morse%netscape.com
e4597ff656 build the dll
git-svn-id: svn://10.0.0.236/trunk@26205 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 03:54:52 +00:00
morse%netscape.com
5ac470c542 general housecleaning
git-svn-id: svn://10.0.0.236/trunk@26204 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 03:54:35 +00:00
beard%netscape.com
ca0588241a backed out XP_MAC crash test, since it does work with checked in .xpt files.
git-svn-id: svn://10.0.0.236/trunk@26203 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 03:40:20 +00:00
beard%netscape.com
ea973ff065 turned off relaxed pointer checking, now that jband has fixed the sources.
git-svn-id: svn://10.0.0.236/trunk@26202 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 03:33:43 +00:00
jband%netscape.com
470025ffd3 fix the struct member column alignment (in the source code) after mass type renaming
git-svn-id: svn://10.0.0.236/trunk@26201 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 03:13:47 +00:00
jband%netscape.com
a65bf40ffe prepare makefiles for building libxpt and xpidl before xpcom/public and xpcom/src. Fix warnings and errors in libxpt exposed in Mac port
git-svn-id: svn://10.0.0.236/trunk@26200 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 03:09:12 +00:00
jband%netscape.com
ddbd9b556a re-order DIRS in preparation for using libxpt and tools/xpidl in order to generate stuff in xpcom/public
git-svn-id: svn://10.0.0.236/trunk@26199 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 03:06:33 +00:00
beard%netscape.com
3bc6b53be5 xptinfo needs access to nsID::ToString().
git-svn-id: svn://10.0.0.236/trunk@26198 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 02:23:01 +00:00
beard%netscape.com
421a1a2027 #define NS_COM __declspec(export) on XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@26197 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 02:22:08 +00:00
beard%netscape.com
5690e21e2a #defining _IMPL_NS_COM, so NS_COM will be defined correctly on XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@26196 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 02:21:44 +00:00
beard%netscape.com
365903d91b added xptinfo interfaces, base, and xpcom.
git-svn-id: svn://10.0.0.236/trunk@26195 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 01:51:47 +00:00
beard%netscape.com
031b394987 XP_MAC doesn't have <sys/stat.h>, <stat.h> instead.
git-svn-id: svn://10.0.0.236/trunk@26194 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 01:51:00 +00:00
beard%netscape.com
c721ba4744 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26193 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 01:30:58 +00:00
beard%netscape.com
30bea679e7 made it compile on XP_MAC, still needs a user interface to choose multiple files.
git-svn-id: svn://10.0.0.236/trunk@26192 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 01:30:45 +00:00
beard%netscape.com
1bd630e809 added interactive choosing of a file to dump on XP_MAC, worked around a crash in XPT_DumpInterfaceDescriptor.
git-svn-id: svn://10.0.0.236/trunk@26191 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 01:25:44 +00:00
beard%netscape.com
7bebc99ccc Added a strdup function for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@26190 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 01:20:34 +00:00
mcafee%netscape.com
4a9426858b Removing a duplicate if-then clause, this looks like a cut & paste error.
git-svn-id: svn://10.0.0.236/trunk@26189 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 01:05:57 +00:00
morse%netscape.com
f0ae5dd128 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@26188 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 01:03:59 +00:00
morse%netscape.com
6a67621717 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@26187 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 00:40:56 +00:00
morse%netscape.com
48a6805921 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@26186 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 00:29:30 +00:00
beard%netscape.com
a9145fc97a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26185 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 00:13:40 +00:00
beard%netscape.com
520944f612 added default args for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@26184 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 00:13:28 +00:00
karnaze%netscape.com
6184433bc6 code clean up, use of macros for debugging
git-svn-id: svn://10.0.0.236/trunk@26183 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 00:06:48 +00:00
troy%netscape.com
3b0772449b Added include of -I$(PUBLIC)\wallet so we can find the include of
nsIWalletService.h


git-svn-id: svn://10.0.0.236/trunk@26182 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 23:55:15 +00:00
beard%netscape.com
1bab660936 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26181 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 23:36:11 +00:00
karnaze%netscape.com
6645b27fa6 code clean up, use of macros for table debugging
git-svn-id: svn://10.0.0.236/trunk@26180 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 23:02:43 +00:00
beard%netscape.com
5182f861a2 added #pragma export on/off for nsSpecialFileSpec.
git-svn-id: svn://10.0.0.236/trunk@26179 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 23:00:59 +00:00
morse%netscape.com
524f372c72 moved single signon out of netlib
git-svn-id: svn://10.0.0.236/trunk@26178 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 22:56:18 +00:00
morse%netscape.com
d2532e07e7 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@26177 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 22:07:37 +00:00
morse%netscape.com
cccbabf757 define PUBLICS for single signon to use
git-svn-id: svn://10.0.0.236/trunk@26176 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 21:55:17 +00:00
kipp%netscape.com
cff64af579 Set link handler so that style resolves properly for links around things like images
git-svn-id: svn://10.0.0.236/trunk@26175 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 21:54:32 +00:00
kipp%netscape.com
5de0e46140 Implement frame sliding during incremental reflow; fixed to not double factor in the delta-y
git-svn-id: svn://10.0.0.236/trunk@26174 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 21:54:00 +00:00
morse%netscape.com
c51cf8ca89 moved single signon out of netlib
git-svn-id: svn://10.0.0.236/trunk@26173 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 21:41:04 +00:00
beard%netscape.com
27174fafdb making the stubs extern "C" so the project will link...
git-svn-id: svn://10.0.0.236/trunk@26172 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 21:15:46 +00:00
morse%netscape.com
f66d57a885 fix build bustage on the mac
git-svn-id: svn://10.0.0.236/trunk@26171 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 21:10:26 +00:00
jband%netscape.com
5f44ac5e13 set MOZ_NO_DEBUG_RTL in makefile.win for this exe
git-svn-id: svn://10.0.0.236/trunk@26170 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 21:02:45 +00:00
beard%netscape.com
1796d5b8e5 added singsign.cpp
git-svn-id: svn://10.0.0.236/trunk@26169 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 20:55:39 +00:00
morse%netscape.com
9c1a4b54f4 move single signon out of netlib
git-svn-id: svn://10.0.0.236/trunk@26168 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 20:32:37 +00:00
morse%netscape.com
624f8de7e8 move single signon out of netlib
git-svn-id: svn://10.0.0.236/trunk@26167 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 20:12:35 +00:00
morse%netscape.com
ba7f9e4fda move single signon out of netlib
git-svn-id: svn://10.0.0.236/trunk@26166 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:50:44 +00:00
kipp%netscape.com
3a72dd66df Work even when --disable-static is configured on
git-svn-id: svn://10.0.0.236/trunk@26165 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:48:02 +00:00
kipp%netscape.com
87f74ddb84 Fixed to work on hpux and link properly and other unix's
git-svn-id: svn://10.0.0.236/trunk@26164 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:47:42 +00:00
morse%netscape.com
5d5fa4d7c8 move single signon out of netlib
git-svn-id: svn://10.0.0.236/trunk@26163 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:40:47 +00:00
dp%netscape.com
64ed43df56 Backing out change to use nsSpecialFileSpec
git-svn-id: svn://10.0.0.236/trunk@26162 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:20:54 +00:00
kipp%netscape.com
639a6cdf02 Make SetWidget assertion more particular about when to bomb
git-svn-id: svn://10.0.0.236/trunk@26161 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:01:15 +00:00
kipp%netscape.com
ebbae2a494 Removed some compiler warnings...
git-svn-id: svn://10.0.0.236/trunk@26160 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:00:56 +00:00
kipp%netscape.com
3412abaa36 Added some debug code that allows finer grained append reflow during document loading for debugging incremental reflow
git-svn-id: svn://10.0.0.236/trunk@26159 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 19:00:23 +00:00
kipp%netscape.com
37f9403e9e Reworked the state recovery logic for incremental reflow
git-svn-id: svn://10.0.0.236/trunk@26158 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:59:01 +00:00
kipp%netscape.com
7be49772ca Removed some debris; added ComputeCollapsedTopMargin method
git-svn-id: svn://10.0.0.236/trunk@26157 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:58:32 +00:00
kipp%netscape.com
4ccff5d53b Made verifyreflow work again
git-svn-id: svn://10.0.0.236/trunk@26156 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:58:04 +00:00
kipp%netscape.com
f7b33a7782 Removed some debris
git-svn-id: svn://10.0.0.236/trunk@26155 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:57:51 +00:00
kipp%netscape.com
d860e51d47 Switch to a different (more accurate) BR handling hack...
git-svn-id: svn://10.0.0.236/trunk@26154 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:57:30 +00:00
kipp%netscape.com
78dc3c2c3c Fixed an oopsie that prevented enumerating the override and backstop sheets
git-svn-id: svn://10.0.0.236/trunk@26153 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:56:45 +00:00
kipp%netscape.com
66d4985883 Support -w and -h arguments (finally!)
git-svn-id: svn://10.0.0.236/trunk@26152 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:46:22 +00:00
kipp%netscape.com
0ef295ae5e Fixup deletion order to delete children before the parent when closing a window
git-svn-id: svn://10.0.0.236/trunk@26151 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:45:31 +00:00
kipp%netscape.com
7e2b20bc02 Spanked the way refcnt'ing was done for event flow; fixed up destruction code a bunch; cleaned up inheritance of addref/release
git-svn-id: svn://10.0.0.236/trunk@26150 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:39:52 +00:00
kipp%netscape.com
7cea9031d0 Eliminate compiler warnings
git-svn-id: svn://10.0.0.236/trunk@26149 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:38:47 +00:00
dp%netscape.com
fa64ff1856 Wallet uses App_UserProfileDirectory50 to store data.
git-svn-id: svn://10.0.0.236/trunk@26148 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 17:54:01 +00:00
dp%netscape.com
e408d408dc Spelling error.
git-svn-id: svn://10.0.0.236/trunk@26147 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 17:51:11 +00:00
dp%netscape.com
30e7a4eb97 Wallet is a true component
git-svn-id: svn://10.0.0.236/trunk@26146 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 17:24:54 +00:00
dp%netscape.com
6aa9eb525f Adding profile directory. Needs more work on windows and mac.
Unix: $HOME/.mozilla
WIN: ./profile
MAC: ./profile


git-svn-id: svn://10.0.0.236/trunk@26145 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 17:23:44 +00:00
dp%netscape.com
859bf9535c Added Current Working Directory
git-svn-id: svn://10.0.0.236/trunk@26144 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 17:17:49 +00:00
dp%netscape.com
47bccb1b86 Added alecf unix debugging tips
git-svn-id: svn://10.0.0.236/trunk@26143 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 17:10:21 +00:00
rhp%netscape.com
750f018ae1 Checking in the changes for the new raw emitter.
git-svn-id: svn://10.0.0.236/trunk@26142 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 15:37:52 +00:00
mccabe%netscape.com
a1bc540cb7 More tweaks to perlconnect build system -
Added jsperlbuild.pl file to abstract the location of xsubpp.  Many thanks to Dave Neuer (dneuer@futuristics.net) for this and much other porting help with perlconnect.

Combined jsperl.so and JS.pm into a JS.so object for use from both javascript and perl.

Fixed rules.mk to recur into DIRS for clean, clobber.


git-svn-id: svn://10.0.0.236/trunk@26141 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 12:44:47 +00:00
jband%netscape.com
12836878a3 use nsAllocator instead of local wrapper. added Components.lastResult with tests
git-svn-id: svn://10.0.0.236/trunk@26140 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 10:12:50 +00:00
mcafee%netscape.com
3b4b21b2a6 Newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@26139 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 09:28:08 +00:00
peterl%netscape.com
6e426fde86 updated prop values
git-svn-id: svn://10.0.0.236/trunk@26138 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 03:15:24 +00:00
peterl%netscape.com
f82375c850 added -moz-border-radius
git-svn-id: svn://10.0.0.236/trunk@26137 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 03:15:01 +00:00
sdagley%netscape.com
b7d7b9e8c3 Changed prompt for selecting a file from "FileWidget Title <here> mode = save" to "File Upload" to match 4.x.
git-svn-id: svn://10.0.0.236/trunk@26136 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 02:32:46 +00:00
sspitzer%netscape.com
27babb1ac2 whoops, forgot to use sourcedir.
this fixed the problem where the .css files in this directory weren't showing up in package/res


git-svn-id: svn://10.0.0.236/trunk@26135 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 02:12:12 +00:00
sfraser%netscape.com
5e9b68e011 Fixed a whole bunch of bugs, hooked up RemoveTextProperties, implemented Begin/EndBatchChanges.
git-svn-id: svn://10.0.0.236/trunk@26133 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:54:34 +00:00
sfraser%netscape.com
9940fc33dd Added EditorCommands.js
git-svn-id: svn://10.0.0.236/trunk@26132 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:53:28 +00:00
hyatt%netscape.com
541622c57c Changing the browser to load a chrome URL instead of navigator.xul
git-svn-id: svn://10.0.0.236/trunk@26131 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:53:24 +00:00
sfraser%netscape.com
9db4369d23 Moved JS into a separate file, make an HTML editor now, new toolbar.
git-svn-id: svn://10.0.0.236/trunk@26130 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:49:46 +00:00
sfraser%netscape.com
f33c2bad07 Added a big chunk of text for testing styles.
git-svn-id: svn://10.0.0.236/trunk@26129 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:49:04 +00:00
sfraser%netscape.com
59d27979c3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@26128 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:48:32 +00:00
sfraser%netscape.com
30642a61b8 Added Begin/End batch changes, renamed setAttribute to SetTextProperty, added RemoveTextProperty.
git-svn-id: svn://10.0.0.236/trunk@26127 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:48:12 +00:00
hyatt%netscape.com
b3b06e1f4d Fixing a bug in the RDF content sink where the ID attribute was being
qualified with a document URI even when it was a URI in its own right.


git-svn-id: svn://10.0.0.236/trunk@26126 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:47:07 +00:00
sfraser%netscape.com
ed63072871 Turn off debug selection, and fix some debug code that crashed sometimes.
git-svn-id: svn://10.0.0.236/trunk@26125 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:46:58 +00:00
sfraser%netscape.com
d4af3f2b7a Added precondition when no content viewer.
git-svn-id: svn://10.0.0.236/trunk@26124 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:46:21 +00:00
dp%netscape.com
28e4786886 Removed all wallet defines. Wallet will self register. It is a TRUE component now.
git-svn-id: svn://10.0.0.236/trunk@26123 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:38:54 +00:00
hyatt%netscape.com
7ea0bffe28 key event support in handledomevent
git-svn-id: svn://10.0.0.236/trunk@26122 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:12:57 +00:00
dp%netscape.com
ae7a9e5a9d Using NS_SUCCEEDED macro.
git-svn-id: svn://10.0.0.236/trunk@26121 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:06:38 +00:00
dp%netscape.com
363639cc80 Added self registration
git-svn-id: svn://10.0.0.236/trunk@26120 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:05:56 +00:00
dp%netscape.com
b7f7b2f099 Removed unused code
git-svn-id: svn://10.0.0.236/trunk@26119 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:05:40 +00:00
dp%netscape.com
7d95ab41b6 Removed lo_ele.h
git-svn-id: svn://10.0.0.236/trunk@26118 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:04:32 +00:00
mcmullen%netscape.com
37ebcdaa49 Fix unix bustage with pref calls.
git-svn-id: svn://10.0.0.236/trunk@26117 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 00:49:50 +00:00
mcmullen%netscape.com
3cf0ae117a Adapt to changes in prefapi.h etc
git-svn-id: svn://10.0.0.236/trunk@26116 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 00:36:49 +00:00
law%netscape.com
62534d1878 New for file download
git-svn-id: svn://10.0.0.236/trunk@26115 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 00:13:46 +00:00
jefft%netscape.com
0bc5d5fddb added nsMsgBiffState enum
git-svn-id: svn://10.0.0.236/trunk@26114 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 00:05:15 +00:00
kin%netscape.com
0b02bea928 Changes to build the entire editor by default, unless DISABLE_EDITOR is defined.
git-svn-id: svn://10.0.0.236/trunk@26113 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 00:03:54 +00:00
jefft%netscape.com
2ddbb4bb64 more implementation on fe event proxy stuff
git-svn-id: svn://10.0.0.236/trunk@26112 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:47:47 +00:00
mcmullen%netscape.com
5fe5245e26 Fix AIX bustage.
git-svn-id: svn://10.0.0.236/trunk@26111 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:46:20 +00:00
dp%netscape.com
93145dddc9 Remove reference to "modules" directory as all wallet code is now in the src directory.
git-svn-id: svn://10.0.0.236/trunk@26110 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:32:21 +00:00
briano%netscape.com
887b2e4737 Automated update
git-svn-id: svn://10.0.0.236/trunk@26109 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:29:33 +00:00
wtc%netscape.com
d3d72487ff Made the i/o continuation thread ignore the events that have
been consumed by prior continuation function calls.
(Bugsplat bug #345296)
Modified files: primpl.h, ptio.c.


git-svn-id: svn://10.0.0.236/trunk@26108 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:21:08 +00:00
alecf%netscape.com
779658056e make -pedantic the default on gcc builds
git-svn-id: svn://10.0.0.236/trunk@26107 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:20:28 +00:00
hshaw%netscape.com
17675e09aa fix makefile
git-svn-id: svn://10.0.0.236/trunk@26106 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:19:34 +00:00
dp%netscape.com
2f9352af4e Adding nsIWalletService.h
git-svn-id: svn://10.0.0.236/trunk@26105 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:17:38 +00:00
jband%netscape.com
c048120d1b js_DefaultValue now accepts that it is OK for a request with hint of JSTYPE_OBJECT to result in an object of type JSTYPE_FUNCTION. This is done so that objects that happen to have 'call' ops will not fail when being 'converted' to 'Object'. This Fix is going onto the trunk, SpiderMonkeyDev_BRANCH, and SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@26104 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:17:14 +00:00
dp%netscape.com
99e1d0fd60 changing wallet directory structure
git-svn-id: svn://10.0.0.236/trunk@26103 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:16:52 +00:00
dp%netscape.com
882067cf8d Changing wallet directory structure
git-svn-id: svn://10.0.0.236/trunk@26102 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:16:20 +00:00
erik%netscape.com
7cd59c756a Adding Japanese support to the Unix/GTK font code.
git-svn-id: svn://10.0.0.236/trunk@26101 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:06:19 +00:00
peterl%netscape.com
b9d594a564 propogate opacity & visibility changes down the view heirarchy...
git-svn-id: svn://10.0.0.236/trunk@26100 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 22:57:25 +00:00
mscott%netscape.com
0de132bc42 Remove the printf which was writing each line from a message to the terminal when getting new mail.
It was taking much too long...


git-svn-id: svn://10.0.0.236/trunk@26099 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 22:41:25 +00:00
ramiro%netscape.com
28f903a5ed Fix broken builds. Use PR_{TRUE,FALSE} instead of {TRUE,FALSE}.
git-svn-id: svn://10.0.0.236/trunk@26098 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 22:15:26 +00:00
rickg%netscape.com
73b33a0b35 fix to pushfront
git-svn-id: svn://10.0.0.236/trunk@26097 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 22:06:05 +00:00
dp%netscape.com
8651730f64 progid spec added
git-svn-id: svn://10.0.0.236/trunk@26096 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 21:43:54 +00:00
dp%netscape.com
22013c4f27 Checking off api cleanup
git-svn-id: svn://10.0.0.236/trunk@26095 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 21:43:34 +00:00
nhotta%netscape.com
887869b987 Changed to use xpcom qp, base64, uu encoders of libmime instead of place holders.
git-svn-id: svn://10.0.0.236/trunk@26094 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 21:31:04 +00:00
danm%netscape.com
f005bf637a added browser samples directory
git-svn-id: svn://10.0.0.236/trunk@26093 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 21:14:48 +00:00
danm%netscape.com
2468f543f1 added browser samples makefiles
git-svn-id: svn://10.0.0.236/trunk@26092 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 21:13:29 +00:00
waterson%netscape.com
17512426e8 Fix build bustage on Win32.
git-svn-id: svn://10.0.0.236/trunk@26091 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 21:13:20 +00:00
danm%netscape.com
00d00a8e20 added samples directory
git-svn-id: svn://10.0.0.236/trunk@26090 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 21:12:26 +00:00
danm%netscape.com
47bd8d4055 new
git-svn-id: svn://10.0.0.236/trunk@26089 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 21:12:06 +00:00
jdunn%netscape.com
e563bda928 fix compiler warning because of 'comment' after endif
git-svn-id: svn://10.0.0.236/trunk@26088 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 21:03:15 +00:00
nhotta%netscape.com
4bfcf9fa3b Added a line wrapping code for the encoder. Reformat for indentaion.
git-svn-id: svn://10.0.0.236/trunk@26087 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 21:01:26 +00:00
mcmullen%netscape.com
b8fa3fb9f4 Since I changed prefapi.h to use prtypes instead of the obsolete XP_ things, I have to change calls to match.
git-svn-id: svn://10.0.0.236/trunk@26086 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:51:22 +00:00
waterson%netscape.com
95255a8b77 Started changing assertions into log messages.
git-svn-id: svn://10.0.0.236/trunk@26085 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:46:41 +00:00
mcmullen%netscape.com
2bcec516cb Since I changed prefapi.h to use prtypes instead of the obsolete XP_ things, I have to change calls to match.
git-svn-id: svn://10.0.0.236/trunk@26084 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:41:58 +00:00
mcmullen%netscape.com
d3453ab59d Make a change for Win32
git-svn-id: svn://10.0.0.236/trunk@26083 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:41:33 +00:00
mcmullen%netscape.com
a8e6fb1921 Added nsIFileLocator.
git-svn-id: svn://10.0.0.236/trunk@26082 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:40:12 +00:00
mcmullen%netscape.com
35c690b9fe nsIFileLocator service.
git-svn-id: svn://10.0.0.236/trunk@26081 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:39:20 +00:00
mcmullen%netscape.com
f7bdeb2cfb Implemented auto-initialize and auto-save of pref input elements.
git-svn-id: svn://10.0.0.236/trunk@26080 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:39:19 +00:00
mcmullen%netscape.com
ac2144507d I changed prefapi.h to use prtypes instead of the obsolete XP_ things.
git-svn-id: svn://10.0.0.236/trunk@26079 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:39:17 +00:00
mcmullen%netscape.com
ec9ec6b1f3 Added nsIFileLocator service
git-svn-id: svn://10.0.0.236/trunk@26078 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:39:16 +00:00
mcmullen%netscape.com
0b4ca38d33 Added an assignment operator.
git-svn-id: svn://10.0.0.236/trunk@26077 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:39:15 +00:00
mcmullen%netscape.com
4880f78850 I changed prefapi.h to use prtypes instead of the obsolete XP_ things
git-svn-id: svn://10.0.0.236/trunk@26076 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:39:14 +00:00
mcmullen%netscape.com
51c1e27379 Added tree management methods, and also changed to use the NSPR types instead of obsolete XP_ types. Added some consts.
git-svn-id: svn://10.0.0.236/trunk@26075 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:39:13 +00:00
mcafee%netscape.com
d82967a797 Cleaning up some debug cruft.
git-svn-id: svn://10.0.0.236/trunk@26074 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:38:39 +00:00
erik%netscape.com
ddb0243299 AIX's compiler is strict. Fixed my code.
git-svn-id: svn://10.0.0.236/trunk@26073 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:34:14 +00:00
briano%netscape.com
4a438a7197 Automated update
git-svn-id: svn://10.0.0.236/trunk@26072 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:29:33 +00:00
dp%netscape.com
2f038b45db API Cleanup.
git-svn-id: svn://10.0.0.236/trunk@26071 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:28:22 +00:00
danm%netscape.com
c925cba836 forgot the !%#! binary switch
git-svn-id: svn://10.0.0.236/trunk@26070 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:25:57 +00:00
putterman%netscape.com
e162fd15de Fix path problem in nsURI2Path.
git-svn-id: svn://10.0.0.236/trunk@26069 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:20:26 +00:00
waterson%netscape.com
3b2189a6c6 Changed rdfcat to be the only test for now.
git-svn-id: svn://10.0.0.236/trunk@26068 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:19:57 +00:00
waterson%netscape.com
c2666c9e51 Added rdf/tests/rdfcat.
git-svn-id: svn://10.0.0.236/trunk@26067 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:19:34 +00:00
sdagley%netscape.com
c79b30dac7 Implemented GetFile(nsFileSpec&) method for Mac
git-svn-id: svn://10.0.0.236/trunk@26066 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:19:25 +00:00
waterson%netscape.com
e355443906 Added AC_DEFINE for MOZ_BRPROF.
git-svn-id: svn://10.0.0.236/trunk@26065 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:19:17 +00:00
waterson%netscape.com
97c6704f94 Added a pile of libraries to make it run. Sheesh, this is a joke.
git-svn-id: svn://10.0.0.236/trunk@26064 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:18:09 +00:00
danm%netscape.com
d8d091084c forgot the !@@!# binary switch
git-svn-id: svn://10.0.0.236/trunk@26063 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:16:54 +00:00
danm%netscape.com
7ba563d5f4 added samples directory
git-svn-id: svn://10.0.0.236/trunk@26062 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:07:29 +00:00
danm%netscape.com
f7927130eb XUL samples
git-svn-id: svn://10.0.0.236/trunk@26061 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:06:37 +00:00
peterl%netscape.com
f8fe1e1007 backing out prevoius changes (unix didn't like it)
git-svn-id: svn://10.0.0.236/trunk@26060 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:57:07 +00:00
waterson%netscape.com
2f93d84089 Changed #ifdef DEBUG_waterson debug printfs to us PR_LOG(). Fixed a initialization-order warning on Unix.
git-svn-id: svn://10.0.0.236/trunk@26059 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:51:35 +00:00
jband%netscape.com
89ab1cb51a fixed typo in doc
git-svn-id: svn://10.0.0.236/trunk@26058 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:51:05 +00:00
waterson%netscape.com
a39d4d5a88 Removed a bunch of extraneous debug printfs that we're #ifdef DEBUG_waterson; this stuff is now being done in the in-memory data source via PR_LOG().
git-svn-id: svn://10.0.0.236/trunk@26057 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:50:40 +00:00
erik%netscape.com
59813383d2 Need to check for dummy font family, and ignore. Corrected.
git-svn-id: svn://10.0.0.236/trunk@26056 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:40:11 +00:00
hyatt%netscape.com
d5460894c9 Fixing the registry file for chrome.
git-svn-id: svn://10.0.0.236/trunk@26055 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:23:19 +00:00
erik%netscape.com
6bb38eefa3 Bold Japanese text was not working, since there are no bold Japanese fonts
on Linux. So I re-arranged the font tree to allow normal Japanese fonts to
be used instead.


git-svn-id: svn://10.0.0.236/trunk@26054 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:10:38 +00:00
hyatt%netscape.com
790ed197d4 Landing changes to support chrome URLs in netlib. Approved by dp.
git-svn-id: svn://10.0.0.236/trunk@26053 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:05:52 +00:00
pinkerton%netscape.com
386e9b1828 fix win32 bustage with nsCOMPtr. doh!
git-svn-id: svn://10.0.0.236/trunk@26052 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:00:51 +00:00
peterl%netscape.com
c3abd8f36d initialize bitfields through a union to keep purify happy
git-svn-id: svn://10.0.0.236/trunk@26051 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 18:51:28 +00:00
peterl%netscape.com
71b4ccc046 made some rudimentary connections for generated content into style data
git-svn-id: svn://10.0.0.236/trunk@26050 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 18:50:45 +00:00
peterl%netscape.com
f92f5db448 connected content properties to style context
git-svn-id: svn://10.0.0.236/trunk@26049 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 18:49:40 +00:00
peterl%netscape.com
8dc11fdd8f added nsStyleContent
git-svn-id: svn://10.0.0.236/trunk@26048 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 18:48:55 +00:00
waterson%netscape.com
0d98500e29 Added tests directory to standard build.
git-svn-id: svn://10.0.0.236/trunk@26047 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 18:34:30 +00:00
waterson%netscape.com
6ee34cc7f0 Removed older tests, added rdfcat.
git-svn-id: svn://10.0.0.236/trunk@26046 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 18:33:56 +00:00
waterson%netscape.com
ddeb33be31 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@26045 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 18:33:34 +00:00
pinkerton%netscape.com
e338bfb295 use new transferable interfaces that were previously in here as placeholders.
git-svn-id: svn://10.0.0.236/trunk@26044 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 18:22:59 +00:00
pinkerton%netscape.com
c38bd0063e added new interfaces for closure over all flavors and converters when clients ask for a list of known flavors.
git-svn-id: svn://10.0.0.236/trunk@26043 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 18:22:36 +00:00
kipp%netscape.com
5613796d0b Added chrome dirs
git-svn-id: svn://10.0.0.236/trunk@26042 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 17:41:00 +00:00
erik%netscape.com
88c9cee5e2 Free the loaded fonts array. Start the loaded fonts array at size 1.
git-svn-id: svn://10.0.0.236/trunk@26041 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 15:52:29 +00:00
erik%netscape.com
693fddafb7 Throwing the switch. Flipped the FONT_SWITCHING ifdef. New font lookup
code is now live.


git-svn-id: svn://10.0.0.236/trunk@26040 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 15:36:01 +00:00
warren%netscape.com
a60e2d6931 Obsoleted nsITransportService
git-svn-id: svn://10.0.0.236/trunk@26039 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 09:26:42 +00:00
warren%netscape.com
c0cd81ea84 Added file transport stuff.
git-svn-id: svn://10.0.0.236/trunk@26038 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 09:25:17 +00:00
warren%netscape.com
2fde0b1900 Added nsIThread and nsIThreadPool.
git-svn-id: svn://10.0.0.236/trunk@26037 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 09:20:44 +00:00
hyatt%netscape.com
cdd8aad48d Tweaks to the registry.rdf file.
git-svn-id: svn://10.0.0.236/trunk@26036 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 07:40:25 +00:00
hyatt%netscape.com
0b23504305 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@26035 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 07:37:57 +00:00
hyatt%netscape.com
551caba947 Fixing some stuff.
git-svn-id: svn://10.0.0.236/trunk@26034 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 07:35:38 +00:00
erik%netscape.com
859038b71e Fixed uninitialized memory problem, and added DrawString routine for new
FONT_SWITCHING code (for Unicode). To be enabled (ifdeffed) tomorrow AM.


git-svn-id: svn://10.0.0.236/trunk@26033 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 07:20:13 +00:00
hyatt%netscape.com
b3fb2536a3 Node, not Resource.
git-svn-id: svn://10.0.0.236/trunk@26032 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:59:04 +00:00
hyatt%netscape.com
55ba72f6f0 Target, not source.
git-svn-id: svn://10.0.0.236/trunk@26031 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:58:35 +00:00
hyatt%netscape.com
5494c81182 Retrieving the base directory (in theory).
git-svn-id: svn://10.0.0.236/trunk@26030 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:55:10 +00:00
hyatt%netscape.com
7ece735e6c More work in progress...
git-svn-id: svn://10.0.0.236/trunk@26029 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:49:20 +00:00
hyatt%netscape.com
6a5c7af5ea Teaching the chrome registry how to obtain skin and content nodes.
git-svn-id: svn://10.0.0.236/trunk@26028 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:24:30 +00:00
beard%netscape.com
1a1ba864d5 GlobalWindowImpl::SetNewDocument: fixed multiple initialization of JSContext. Always clears the scope first.
git-svn-id: svn://10.0.0.236/trunk@26027 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:22:00 +00:00
beard%netscape.com
11860bd66d nsJVMManager::CreateThread(): upped the priority from LOW to NORMAL.
git-svn-id: svn://10.0.0.236/trunk@26026 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:21:59 +00:00
jband%netscape.com
3526c9d762 renamed nsAllocator to nsAllocatorImpl and NSTaskMem to nsAllocator
git-svn-id: svn://10.0.0.236/trunk@26025 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:17:28 +00:00
jband%netscape.com
4f08c2ac87 added porting guide and README docs
git-svn-id: svn://10.0.0.236/trunk@26024 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:15:09 +00:00
dp%netscape.com
4d95b6a368 Checking off nsAllocator done by John Bandhauer
git-svn-id: svn://10.0.0.236/trunk@26023 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:14:00 +00:00
hyatt%netscape.com
727b15a8ac The registry for the chrome.
git-svn-id: svn://10.0.0.236/trunk@26022 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:13:06 +00:00
hyatt%netscape.com
b8f09d1620 Getting there...
git-svn-id: svn://10.0.0.236/trunk@26021 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 06:12:22 +00:00
hyatt%netscape.com
d0397c3a72 Tweaks to enable nsIURL to be referenced from chrome.
git-svn-id: svn://10.0.0.236/trunk@26020 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 05:56:05 +00:00
nhotta%netscape.com
ec53133cf1 Fixed the case less sort key creation problem.
git-svn-id: svn://10.0.0.236/trunk@26019 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 05:41:10 +00:00
warren%netscape.com
bc140cf411 Added progID versions of methods to nsServiceManager (the static interface).
git-svn-id: svn://10.0.0.236/trunk@26018 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 05:17:42 +00:00
hyatt%netscape.com
42b34343f8 Adding the method that will handle chrome URLs. Invoked from within netlib.
git-svn-id: svn://10.0.0.236/trunk@26017 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 05:00:46 +00:00
pinkerton%netscape.com
6828ff8c46 some comments about data ownership.
git-svn-id: svn://10.0.0.236/trunk@26016 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:57:31 +00:00
pinkerton%netscape.com
4c6d60fab9 getting data from clipboard now works. Factored code into FlavorsTransferableCanImport/Export() as temp holding ground before moving into nsITransferable.
git-svn-id: svn://10.0.0.236/trunk@26015 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:56:11 +00:00
briano%netscape.com
11a027f00a Automated update
git-svn-id: svn://10.0.0.236/trunk@26014 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:44:31 +00:00
briano%netscape.com
cf97cbc3a6 Moved the checks for X and the toolkits closer to the beginning.
git-svn-id: svn://10.0.0.236/trunk@26013 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:39:13 +00:00
bienvenu%netscape.com
3509d1c144 more work on threading
git-svn-id: svn://10.0.0.236/trunk@26012 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:26:14 +00:00
bienvenu%netscape.com
1587e80a93 remove use of master in constructor
git-svn-id: svn://10.0.0.236/trunk@26011 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:25:59 +00:00
mscott%netscape.com
c54195759a Patch from Jeremy Lea (reg@shale.csir.co.za). Fix capitalization problem with msgbar.xul
git-svn-id: svn://10.0.0.236/trunk@26009 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:23:09 +00:00
briano%netscape.com
5c775beb4b Automated update
git-svn-id: svn://10.0.0.236/trunk@26008 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:22:17 +00:00
briano%netscape.com
61a029d291 Fix for the Solaris breakage.
git-svn-id: svn://10.0.0.236/trunk@26007 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:21:38 +00:00
mscott%netscape.com
38356dd01c Patch from Jeremy Lea (reg@shale.csir.co.za). Use srcdir instead of '.'.
git-svn-id: svn://10.0.0.236/trunk@26006 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:19:09 +00:00
putterman%netscape.com
523a27ed9f This should work on all platforms now.
git-svn-id: svn://10.0.0.236/trunk@26005 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:13:25 +00:00
mscott%netscape.com
7ec2ee8ffa Take out an unwanted printf to clean up the code...
git-svn-id: svn://10.0.0.236/trunk@26004 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:07:43 +00:00
pinkerton%netscape.com
ca6fb51831 use the right delete in all places (delete[])
git-svn-id: svn://10.0.0.236/trunk@26003 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 03:01:57 +00:00
mscott%netscape.com
beb9ea4994 Properly add the leaf name to the directory path for the Inbox folder.
git-svn-id: svn://10.0.0.236/trunk@26002 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:56:57 +00:00
nisheeth%netscape.com
46543a2792 Do not set a default handler for expat. This enables internal entitity substitution in expat.
git-svn-id: svn://10.0.0.236/trunk@26001 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:46:53 +00:00
rhp%netscape.com
210223265a Updates for mime converter interface
git-svn-id: svn://10.0.0.236/trunk@26000 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:44:08 +00:00
rhp%netscape.com
cc4ada0bbc updates for libmime changes
git-svn-id: svn://10.0.0.236/trunk@25999 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:42:18 +00:00
rhp%netscape.com
5f3481e058 Updates for libmime changes
git-svn-id: svn://10.0.0.236/trunk@25998 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:41:55 +00:00
rhp%netscape.com
3c32d53fed New interface updates
git-svn-id: svn://10.0.0.236/trunk@25997 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:41:33 +00:00
rhp%netscape.com
39f05c8172 Adding files for new encoding interface
git-svn-id: svn://10.0.0.236/trunk@25996 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:41:06 +00:00
rhp%netscape.com
f50af4ebe8 Updating makefiles
git-svn-id: svn://10.0.0.236/trunk@25995 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:40:12 +00:00
rhp%netscape.com
4d9a9e715b Adding new interface.
git-svn-id: svn://10.0.0.236/trunk@25994 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:39:21 +00:00
rhp%netscape.com
04d53c87d1 Cleanup of old interface
git-svn-id: svn://10.0.0.236/trunk@25993 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:38:56 +00:00
briano%netscape.com
e5e1324d81 Automated update
git-svn-id: svn://10.0.0.236/trunk@25992 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:29:31 +00:00
briano%netscape.com
b0393625c1 Now we check for ld support of archive extraction flags (only know three sets of flags at this point).
git-svn-id: svn://10.0.0.236/trunk@25991 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:29:11 +00:00
hyatt%netscape.com
e59adf9e8b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25990 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:19:22 +00:00
hyatt%netscape.com
20a835bf9f Adding chrome to the list of projects that are built.
git-svn-id: svn://10.0.0.236/trunk@25989 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:16:45 +00:00
mcafee%netscape.com
47a2ecd33e Implement GetFile().
git-svn-id: svn://10.0.0.236/trunk@25988 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:16:28 +00:00
mcafee%netscape.com
c87803c5ae Adding nsFileSpec version of GetFile(). a=sdagley@netscape.com
git-svn-id: svn://10.0.0.236/trunk@25987 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:07:34 +00:00
hyatt%netscape.com
ef236d80cc Landing new GetFile(nsFileSpec&) method on windows.
git-svn-id: svn://10.0.0.236/trunk@25986 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:07:15 +00:00
sdagley%netscape.com
fa6239efa1 Add new GetFile method that uses an nsFileSpec instead of an nsString
git-svn-id: svn://10.0.0.236/trunk@25985 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 02:06:16 +00:00
putterman%netscape.com
d1a2dd4e7d Fixes nsURI2Path.
git-svn-id: svn://10.0.0.236/trunk@25984 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 01:52:01 +00:00
mcafee%netscape.com
b65f92a67b Initializing some variables, protecting a null reference.
git-svn-id: svn://10.0.0.236/trunk@25983 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 01:34:05 +00:00
pinkerton%netscape.com
75e5273335 copy to macos clipboard implemented.
git-svn-id: svn://10.0.0.236/trunk@25982 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 01:33:56 +00:00
pinkerton%netscape.com
a602368bf2 don't addref list items going into the list of data flavors. AppendElement addrefs for us.
git-svn-id: svn://10.0.0.236/trunk@25981 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 01:32:41 +00:00
dveditz%netscape.com
b28dbbb8bf Fixing libreg threadsafe issues (NR_ API, not yet the version registry API)
git-svn-id: svn://10.0.0.236/trunk@25980 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 01:31:55 +00:00
hyatt%netscape.com
b265891467 Turning the chrome registry on for Windows and UNIX.
git-svn-id: svn://10.0.0.236/trunk@25979 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 01:25:03 +00:00
sfraser%netscape.com
34658a2ba2 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@25978 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 01:14:30 +00:00
hyatt%netscape.com
1bce4d2274 Removing file.
git-svn-id: svn://10.0.0.236/trunk@25977 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 01:12:49 +00:00
rogerl%netscape.com
b3ab8860c2 fixed .global label.
git-svn-id: svn://10.0.0.236/trunk@25976 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 01:07:59 +00:00
ducarroz%netscape.com
698cf056af Part of Messenger Mac landing
git-svn-id: svn://10.0.0.236/trunk@25975 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 01:00:37 +00:00
hyatt%netscape.com
89589c7d0a Adding the chrome registry file.
git-svn-id: svn://10.0.0.236/trunk@25974 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:52:35 +00:00
hyatt%netscape.com
2f04fbbdc2 Adding chrome makefiles.
git-svn-id: svn://10.0.0.236/trunk@25973 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:52:08 +00:00
sspitzer%netscape.com
a717f6e65c get the text area to show up on Linux
and add a little text to the default message, to let us know it is working


git-svn-id: svn://10.0.0.236/trunk@25972 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:49:33 +00:00
hyatt%netscape.com
879aaa7f33 Tweaking the chrome registry interface.
git-svn-id: svn://10.0.0.236/trunk@25971 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:49:00 +00:00
hyatt%netscape.com
af42144a2d Tweaking the chrome factory.
git-svn-id: svn://10.0.0.236/trunk@25970 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:48:49 +00:00
rogerl%netscape.com
0bc9722dc8 New. (And, as yet, unbuilt & untested)
git-svn-id: svn://10.0.0.236/trunk@25969 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:47:17 +00:00
dougt%netscape.com
b9258491a5 Making xpinstall a component.
git-svn-id: svn://10.0.0.236/trunk@25968 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:39:26 +00:00
slamm%netscape.com
14ac08d952 Name change: myconfig.sh is now .mozconfig
git-svn-id: svn://10.0.0.236/trunk@25966 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:29:48 +00:00
pinkerton%netscape.com
9daa548134 add IID method.
git-svn-id: svn://10.0.0.236/trunk@25965 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:10:10 +00:00
sfraser%netscape.com
c2dd29f0f6 Make it a text editor that gets instantiated. Remove obsolete line.
git-svn-id: svn://10.0.0.236/trunk@25964 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:09:36 +00:00
hyatt%netscape.com
bc04df231b The chrome registry interface.
git-svn-id: svn://10.0.0.236/trunk@25963 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:09:00 +00:00
putterman%netscape.com
b8d4c0cbff Fix up file paths.
git-svn-id: svn://10.0.0.236/trunk@25962 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:08:23 +00:00
pinkerton%netscape.com
187508ad14 add IID methods so we can use nsCOMPtr w/ them.
git-svn-id: svn://10.0.0.236/trunk@25961 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:06:37 +00:00
sfraser%netscape.com
f0c28613e5 Changed so that the editor app core can host either a plain text or HTML editor.
git-svn-id: svn://10.0.0.236/trunk@25960 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:06:07 +00:00
sfraser%netscape.com
c2107a86bc Added SetEditorType to control whether a plain text or HTML editor is instantiated.
git-svn-id: svn://10.0.0.236/trunk@25959 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:03:45 +00:00
sfraser%netscape.com
7545313028 Change to use the new box layout, so that we get a toolbar that sticks to
the bottom of the window.


git-svn-id: svn://10.0.0.236/trunk@25958 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:03:04 +00:00
sfraser%netscape.com
b390274849 Change to use kipp's new PRE cols attribute for wrapping.
git-svn-id: svn://10.0.0.236/trunk@25957 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:02:30 +00:00
sfraser%netscape.com
e51ed48fbd Call the new presshell->SetCaretEnabled() call to show the caret when
editing.


git-svn-id: svn://10.0.0.236/trunk@25956 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:01:31 +00:00
sfraser%netscape.com
d2d281780c Remove caret->Refresh calls. The presshell now refreshes the caret
after painting.


git-svn-id: svn://10.0.0.236/trunk@25955 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 00:01:05 +00:00
sfraser%netscape.com
6bed169daa Added a method to the pres shell to control enabling clients to turn the caret on and off.
git-svn-id: svn://10.0.0.236/trunk@25954 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:58:11 +00:00
sfraser%netscape.com
b8ae43ec5b Caret changes to enable the caret to erase itself, and fix a bunch of caret problems.
git-svn-id: svn://10.0.0.236/trunk@25953 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:57:35 +00:00
sfraser%netscape.com
e3942e71d6 Declare functions static to fix warnings.
git-svn-id: svn://10.0.0.236/trunk@25952 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:54:23 +00:00
hyatt%netscape.com
7d7a9850ff Initial makefiles for chrome source files.
git-svn-id: svn://10.0.0.236/trunk@25951 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:47:13 +00:00
hyatt%netscape.com
8578158436 Initial makefiles for chrome interfaces.
git-svn-id: svn://10.0.0.236/trunk@25950 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:46:50 +00:00
hyatt%netscape.com
db414e8f1e Tweaked the chrome factory.
git-svn-id: svn://10.0.0.236/trunk@25949 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:46:21 +00:00
sfraser%netscape.com
ed286d7ae7 Warning fix: remove errant semicolon.
git-svn-id: svn://10.0.0.236/trunk@25948 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:46:13 +00:00
sfraser%netscape.com
240d4982a4 #ifdef out the navigation printfs, and remove some unused variables.
git-svn-id: svn://10.0.0.236/trunk@25947 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:44:15 +00:00
putterman%netscape.com
ed4923db8a More work on copying/moving messages.
git-svn-id: svn://10.0.0.236/trunk@25946 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:42:41 +00:00
putterman%netscape.com
8d74e305ea Build URI correctly.
git-svn-id: svn://10.0.0.236/trunk@25945 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:41:33 +00:00
putterman%netscape.com
89a76c76e3 Build uri correctly.
git-svn-id: svn://10.0.0.236/trunk@25944 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:41:13 +00:00
hyatt%netscape.com
70f4b5ddb7 Adding more of the basic build infrastructure.
git-svn-id: svn://10.0.0.236/trunk@25942 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:38:07 +00:00
hyatt%netscape.com
653512207d Beginning the implementation of the chrome registry.
git-svn-id: svn://10.0.0.236/trunk@25941 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:30:48 +00:00
ducarroz%netscape.com
b3b08bcf5c part of messenger Mac landing
git-svn-id: svn://10.0.0.236/trunk@25940 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:19:59 +00:00
jband%netscape.com
19585f4a1a expose directly callable shared allocator methods
git-svn-id: svn://10.0.0.236/trunk@25939 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:12:49 +00:00
rogerl%netscape.com
6b6429ee8a Adding multiline property
git-svn-id: svn://10.0.0.236/trunk@25938 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:10:45 +00:00
terry%netscape.com
787d6ac048 Silly utility to generate lists of who has ever checked in a file in a
directory.


git-svn-id: svn://10.0.0.236/trunk@25937 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:07:19 +00:00
dveditz%netscape.com
37decc3e6c Fixed clobber
git-svn-id: svn://10.0.0.236/trunk@25936 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:54:09 +00:00
dveditz%netscape.com
816c801bc1 fixed copy clobber steps
git-svn-id: svn://10.0.0.236/trunk@25935 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:53:23 +00:00
edwin%woudt.nl
f6f41586b8 Changes by Will Scullin to get context menus and message copying/moving working.
git-svn-id: svn://10.0.0.236/trunk@25934 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:45:36 +00:00
mscott%netscape.com
a0be00de07 Remove cruft for registering the app core with the app cores manager. This now happens in nsBaseAppCore::Init.
a=sfraser


git-svn-id: svn://10.0.0.236/trunk@25933 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:43:19 +00:00
mscott%netscape.com
cefee5ffe2 Remove cruft with regards to adding the app core to the app cores manager. This now happens in nsBaseAppCore::Init()
a=rjc


git-svn-id: svn://10.0.0.236/trunk@25932 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:39:58 +00:00
ramiro%netscape.com
26d7763179 Tweak code to allow blending to work on unix. It will currently work only
on certain depths and images.  Demo10 works on 16 bit depths.


git-svn-id: svn://10.0.0.236/trunk@25931 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:29:44 +00:00
cata%netscape.com
2fb6af99b6 Wrong shift tables fixed for EUCJP.
git-svn-id: svn://10.0.0.236/trunk@25930 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:09:41 +00:00
amusil%netscape.com
c35f2ea671 Added more restrictive check for what constitutes a plugin
git-svn-id: svn://10.0.0.236/trunk@25929 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:06:07 +00:00
waterson%netscape.com
010cefefb1 Use 'long long' instead of native type for PRTime.
git-svn-id: svn://10.0.0.236/trunk@25928 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:04:33 +00:00
waterson%netscape.com
1205c0d874 Try #2 to land fixes for xpidl stubs: fixed long-long problem.
git-svn-id: svn://10.0.0.236/trunk@25927 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:04:10 +00:00
waterson%netscape.com
e7162f3f21 Fixed long-long codegen to use prlong macros (so it works on Mac).
git-svn-id: svn://10.0.0.236/trunk@25926 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 22:03:25 +00:00
ramiro%netscape.com
4adec15809 Implement GetDepth(). Before it was hardcoded to 24 in the superclass.
git-svn-id: svn://10.0.0.236/trunk@25925 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 21:58:46 +00:00
ducarroz%netscape.com
c4bcd6fa18 part of messenger Mac landing
git-svn-id: svn://10.0.0.236/trunk@25924 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 21:41:22 +00:00
ducarroz%netscape.com
f5ea687275 Remove allxpstr.c who was causing about 2000 link warnings
git-svn-id: svn://10.0.0.236/trunk@25923 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 21:33:04 +00:00
mscott%netscape.com
ad73d94100 Remove the code that used to interrupt the connection. We ended up interrupting the connection twice. If the protocol needs the ability to close a connection directly then we need to add a new method to the transport interface to do this explicitly.
git-svn-id: svn://10.0.0.236/trunk@25922 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 21:12:27 +00:00
jdunn%netscape.com
17b615435f link in key libraries to build
git-svn-id: svn://10.0.0.236/trunk@25921 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 21:01:31 +00:00
rods%netscape.com
cb5340f165 Fixed "Print" so it works.
git-svn-id: svn://10.0.0.236/trunk@25920 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:57:38 +00:00
radha%netscape.com
32488a520d Removed that empty line in the OBJS list. Thanks to mcmullen
git-svn-id: svn://10.0.0.236/trunk@25919 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:47:50 +00:00
mcmullen%netscape.com
cb372e8de1 Since I changed prefapi.h to use prtypes instead of the obsolete XP_ things, I have to change calls to match. In this case, a macro had been used that was in one of the obsolete files 'PRIVATE'. Replaced this by its value 'static'
git-svn-id: svn://10.0.0.236/trunk@25918 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:39:30 +00:00
ramiro%netscape.com
3385ea491a Patches from reg@shale.csir.co.za (Jeremy Lea) to fix run scripts when
building on separate objdirs.


git-svn-id: svn://10.0.0.236/trunk@25917 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:36:29 +00:00
radha%netscape.com
52f130b374 Add the Global history service
git-svn-id: svn://10.0.0.236/trunk@25916 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:30:20 +00:00
radha%netscape.com
7b0ee0fb26 Obtain Global History as a service
git-svn-id: svn://10.0.0.236/trunk@25915 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:29:49 +00:00
nhotta%netscape.com
57ba1a972b Use LCMapStringA for Win95 and 98.
git-svn-id: svn://10.0.0.236/trunk@25914 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:29:17 +00:00
radha%netscape.com
2f2f5b7a49 added files: mozilla/xpfe/appshell/src/nsGlobalHistory.cpp
git-svn-id: svn://10.0.0.236/trunk@25913 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:23:00 +00:00
radha%netscape.com
4edcc0174a Global history introduced as a service and appropriate changes to
Appshell service and Factory


git-svn-id: svn://10.0.0.236/trunk@25912 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:21:41 +00:00
radha%netscape.com
0acb79669b Global history implemented as a service
git-svn-id: svn://10.0.0.236/trunk@25911 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:20:24 +00:00
jdunn%netscape.com
92ef48c073 fix problem on AIX-xlC compiler with protected structs.
git-svn-id: svn://10.0.0.236/trunk@25910 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:13:59 +00:00
mcmullen%netscape.com
68c7ea92c4 Just added a divider comment.
git-svn-id: svn://10.0.0.236/trunk@25909 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:07:52 +00:00
ducarroz%netscape.com
0cf2765851 part of messenger Mac landing
git-svn-id: svn://10.0.0.236/trunk@25908 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:06:51 +00:00
mcmullen%netscape.com
6abc04c21a Fixed an illegal preprocessor directive.
git-svn-id: svn://10.0.0.236/trunk@25907 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:06:46 +00:00
nhotta%netscape.com
9151f4a86e Interface change of the conversion util.
git-svn-id: svn://10.0.0.236/trunk@25906 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:05:43 +00:00
mcmullen%netscape.com
fb21961b9d Added preference ids to all the prefs widgets.
git-svn-id: svn://10.0.0.236/trunk@25905 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:05:17 +00:00
nhotta%netscape.com
51300f2701 Interface change for the conversion utils and changes for mime encoder.
git-svn-id: svn://10.0.0.236/trunk@25904 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:04:51 +00:00
mcmullen%netscape.com
38a81aaabd Fixed backwards OK/Cancel onclicks.
git-svn-id: svn://10.0.0.236/trunk@25903 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:03:39 +00:00
mcmullen%netscape.com
59f759e3df Fixed the resource: URLs to use //.
git-svn-id: svn://10.0.0.236/trunk@25902 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:02:30 +00:00
mcmullen%netscape.com
e23c5cf66f Changed the DoPreferences function.
git-svn-id: svn://10.0.0.236/trunk@25901 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 20:01:54 +00:00
mcmullen%netscape.com
cc26a5bf57 Added nsIFileLocator.h to the exports.
git-svn-id: svn://10.0.0.236/trunk@25900 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:59:40 +00:00
mcmullen%netscape.com
02ba6e6637 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25899 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:48:59 +00:00
ducarroz%netscape.com
b96ab0c065 removed
git-svn-id: svn://10.0.0.236/trunk@25897 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:31:52 +00:00
ducarroz%netscape.com
8bb840d834 renamed msgcomposebody.html
git-svn-id: svn://10.0.0.236/trunk@25896 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:31:13 +00:00
ducarroz%netscape.com
283c81f4fa renamed msgcompose.xul
git-svn-id: svn://10.0.0.236/trunk@25895 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:30:13 +00:00
endico%mozilla.org
17a11fc7c8 oops, it was the amperstand i needed to quote
git-svn-id: svn://10.0.0.236/trunk@25894 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:29:30 +00:00
ducarroz%netscape.com
b8b37a0132 rename compose.xul to msgcompose.xul
git-svn-id: svn://10.0.0.236/trunk@25893 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:29:09 +00:00
buster%netscape.com
7f4e37a3db GetTextProperty is now content-based, not style-based
git-svn-id: svn://10.0.0.236/trunk@25892 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:28:48 +00:00
ducarroz%netscape.com
e590afed70 Rename compose.xul & composebody.html to msgcompose*.*, remove composeframe.html
git-svn-id: svn://10.0.0.236/trunk@25891 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:27:05 +00:00
buster%netscape.com
5b08ebbd5d needed to include "nsCoord.h" in mixed case, not "nscoord"
git-svn-id: svn://10.0.0.236/trunk@25890 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:26:27 +00:00
ducarroz%netscape.com
80cb263fab Rename compose.xul and composebody.html to msgcompose*.*
git-svn-id: svn://10.0.0.236/trunk@25889 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:25:28 +00:00
rods%netscape.com
cdc996c774 Fixed OPen to call the new open method on the BrowserAppShell
git-svn-id: svn://10.0.0.236/trunk@25888 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:23:39 +00:00
rods%netscape.com
660b0167ff Added OpenWindow method and fixed Copy
git-svn-id: svn://10.0.0.236/trunk@25887 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:23:02 +00:00
waqar%netscape.com
4c3b81d39e Changed C++ comments to C comments
git-svn-id: svn://10.0.0.236/trunk@25886 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:03:33 +00:00
waqar%netscape.com
20c23cb2db Changed C++ comments to C comments.
git-svn-id: svn://10.0.0.236/trunk@25885 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 19:00:55 +00:00
terry%netscape.com
4543fb00ca Add (rather lame) images to the tinderbox channel.
git-svn-id: svn://10.0.0.236/trunk@25884 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:58:06 +00:00
ducarroz%netscape.com
a0b812b0d9 Because of some problem on Mac with relative path when using alias file, I add to change path of html and js files.
git-svn-id: svn://10.0.0.236/trunk@25883 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:52:31 +00:00
ducarroz%netscape.com
2cc9e818b9 update manifest file, part of mailnews Mac landing
git-svn-id: svn://10.0.0.236/trunk@25882 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:47:53 +00:00
ducarroz%netscape.com
fc2b803032 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25881 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:43:59 +00:00
buster%netscape.com
726862e213 initial checkin.
git-svn-id: svn://10.0.0.236/trunk@25880 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:40:35 +00:00
pinkerton%netscape.com
f5aef59c5e adding data flavor, clipboard, xif converter, and transferable.
git-svn-id: svn://10.0.0.236/trunk@25879 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:40:34 +00:00
pinkerton%netscape.com
298a66b8b1 build widget after htmlParser because of nsXIFConverter dependency.
git-svn-id: svn://10.0.0.236/trunk@25878 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:39:35 +00:00
pinkerton%netscape.com
9950f61e58 adding nsClipboard, nsBaseClipboard, and nsXIFConverter. Also add dependency on htmlParser for the xif converter stuff. This now must build after htmlParser.
git-svn-id: svn://10.0.0.236/trunk@25877 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:38:58 +00:00
pinkerton%netscape.com
57de4e052b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25876 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:37:45 +00:00
pinkerton%netscape.com
ad7623d610 changes to get mac to build. same as unix for now.
git-svn-id: svn://10.0.0.236/trunk@25875 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:37:19 +00:00
ducarroz%netscape.com
2cd0afe7aa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25874 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:36:02 +00:00
kipp%netscape.com
caf3a5353c Landed patch from Jeremy Lea <reg@shale.csir.co.za>
git-svn-id: svn://10.0.0.236/trunk@25873 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:22:32 +00:00
mcafee%netscape.com
83158f36f3 Removing an old comment.
git-svn-id: svn://10.0.0.236/trunk@25872 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:20:14 +00:00
mcafee%netscape.com
a4a218c5be cleanup, added nsXIFFormatConverter.cpp.
git-svn-id: svn://10.0.0.236/trunk@25871 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:11:14 +00:00
mcafee%netscape.com
17fcf41595 cleanup, added nsIClipboardOwner, nsIFormatConverter.
git-svn-id: svn://10.0.0.236/trunk@25870 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:09:04 +00:00
buster%netscape.com
0fe8e1324d As a reminder, we decided to do this based strictly content. Some support for style-based text properties is written, but not used
anywhere any more.

* Cleaned up split and join undo/redo.
* Added TypeInState, a data struct that remembers things about text properties for collapsed selections, so you can type
* Ctrl-B with an insertion point and the next character will be bold.
* Added all the logic to handle inline vs. block elements when setting text properties.
* Added some support for italic and underline as well.  Adding these things is pretty easy now.  Ctrl-B, Ctrl-I, Ctrl-U for testing bold, italic, underline.
* Added all the logic to make sure we only add style tags where they're needed, so you should never get the same style tag nested within itself, except as needed for block elements.
* Added methods for testing a node to see if a particular style is set.  This isn't 100% done yet, but with very little work we could have toolbar buttons that respond to selection changed notification that show the state of bold, italic, underline, etc. in real time.  Supports tri-state:  whole selection is bold, some of selection is bold, none of selection is bold, ...
* Fully undoable and redoable.
* Added some debug printfs to transactions and editors.  all controlled by a gNoisy static in each module.  helps me track down undo/redo problems.  if the output bugs people enough, I'll shut it off and re-enable it in my local tree.

Noticably missing:  make un-bold, make un-italic, etc.  This is coming soon.


git-svn-id: svn://10.0.0.236/trunk@25869 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 17:58:07 +00:00
despotdaemon%netscape.com
d06e519a55 Pseudo-automatic update of changes made by gayatrib@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@25868 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 17:52:31 +00:00
endico%mozilla.org
c2b7e52056 don't change apostrophe's after all. This is a problem
with my Netscape, not newsbot


git-svn-id: svn://10.0.0.236/trunk@25867 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 17:18:00 +00:00
rods%netscape.com
52579b975c Commented out clipboard copy
git-svn-id: svn://10.0.0.236/trunk@25866 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 15:38:31 +00:00
sspitzer%netscape.com
5f44a048f2 "fix" the threadpane
git-svn-id: svn://10.0.0.236/trunk@25865 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 15:25:11 +00:00
rods%netscape.com
e98ccd3f65 removed nsIXIFConverter include
git-svn-id: svn://10.0.0.236/trunk@25864 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 15:23:03 +00:00
rods%netscape.com
00f5bcf310 Added nsIFormatConverter
git-svn-id: svn://10.0.0.236/trunk@25863 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 15:03:12 +00:00
despotdaemon%netscape.com
9c795cb1a4 Pseudo-automatic update of changes made by Dale.Stansberry@Nexwarecorp.com.
git-svn-id: svn://10.0.0.236/trunk@25862 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:56:46 +00:00
rods%netscape.com
6ad46a758d added nsIFormatConverter
git-svn-id: svn://10.0.0.236/trunk@25861 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:53:34 +00:00
rods%netscape.com
bcb37472b4 added copy support
git-svn-id: svn://10.0.0.236/trunk@25860 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:51:09 +00:00
rods%netscape.com
3b08d5687d Added copy support
git-svn-id: svn://10.0.0.236/trunk@25859 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:50:54 +00:00
rods%netscape.com
9eea12145c Fixed up the registration to the manager
git-svn-id: svn://10.0.0.236/trunk@25858 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:50:29 +00:00
sspitzer%netscape.com
adb3859989 fix to make To:, Cc:, Bcc: and Subject: show up before the text areas
git-svn-id: svn://10.0.0.236/trunk@25857 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:50:03 +00:00
rods%netscape.com
5b3d4a3857 added nsXIFFormatConverter
git-svn-id: svn://10.0.0.236/trunk@25856 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:42:29 +00:00
rods%netscape.com
14ce27626c Updated clipboard support to use converters
git-svn-id: svn://10.0.0.236/trunk@25855 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:40:52 +00:00
rods%netscape.com
23ecb28bcb removed include of Transferable
git-svn-id: svn://10.0.0.236/trunk@25854 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:40:36 +00:00
rods%netscape.com
cbe99577f3 Minor change for debugging
git-svn-id: svn://10.0.0.236/trunk@25853 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:39:55 +00:00
rods%netscape.com
9ae3457510 Added converter support
git-svn-id: svn://10.0.0.236/trunk@25852 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:39:00 +00:00
rods%netscape.com
b9562ea7fd Added nsXIFFormatCOnverter
git-svn-id: svn://10.0.0.236/trunk@25851 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:38:45 +00:00
rods%netscape.com
2c2391ce23 Updated comments and added converter methods
git-svn-id: svn://10.0.0.236/trunk@25850 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:37:52 +00:00
rods%netscape.com
d0d0aeb8bb Added nsIFormatConverter
git-svn-id: svn://10.0.0.236/trunk@25849 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:37:22 +00:00
rods%netscape.com
3d9eafaa3c Fixed up new ifdef'ed clipboard support
git-svn-id: svn://10.0.0.236/trunk@25848 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:28:13 +00:00
rods%netscape.com
0a22735b86 Added Clipboard and D&D registerations
git-svn-id: svn://10.0.0.236/trunk@25847 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:25:30 +00:00
rods%netscape.com
e11debc319 Changed the clipboard support to use the new XIF Converter class and added more
error checking (this is all ifdef'ed at the moment)


git-svn-id: svn://10.0.0.236/trunk@25846 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:22:00 +00:00
waterson%netscape.com
e98c64b6f3 Doh! Let's try that hex-to-int conversion one more time.
git-svn-id: svn://10.0.0.236/trunk@25845 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 10:07:23 +00:00
waterson%netscape.com
47bf4c5ac5 Fix endian-ness dependency.
git-svn-id: svn://10.0.0.236/trunk@25844 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 09:52:17 +00:00
waterson%netscape.com
a6566a24c6 Added PR_LOGs and made some stuff a little more paranoid.
git-svn-id: svn://10.0.0.236/trunk@25843 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 09:13:14 +00:00
endico%mozilla.org
86fcc62d3f substitute apostrophes to make rdf happy
git-svn-id: svn://10.0.0.236/trunk@25842 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 08:43:32 +00:00
waterson%netscape.com
c3330fbf1f Added PR_LOG calls to debug the InMemoryDataSource.
git-svn-id: svn://10.0.0.236/trunk@25841 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 08:28:12 +00:00
waterson%netscape.com
9ee14496d9 Changes for Guha's latest and greatest schema. Handle case where no cookie sent.
git-svn-id: svn://10.0.0.236/trunk@25840 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 08:08:12 +00:00
waterson%netscape.com
72b424b92a Add xpidl-test-1.xul to list of exports.
git-svn-id: svn://10.0.0.236/trunk@25839 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 08:07:22 +00:00
waterson%netscape.com
5b0cf4352c New test for XPIDL stuff.
git-svn-id: svn://10.0.0.236/trunk@25838 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 08:07:11 +00:00
waterson%netscape.com
c40042b7ff Fixed a bug in URL truncation; updated resources and structure to reflect Guha's latest drop.
git-svn-id: svn://10.0.0.236/trunk@25837 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 08:05:45 +00:00
ramiro%netscape.com
a1bd6b838b Add shell scripts to run mozilla viewer and apprunner. The scripts should
setup all the environment voodoo needed to run the programs.


git-svn-id: svn://10.0.0.236/trunk@25836 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 08:01:07 +00:00
waterson%netscape.com
05d97fe7d2 Guha's latest and greatest.
git-svn-id: svn://10.0.0.236/trunk@25835 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 07:56:31 +00:00
dp%netscape.com
daf4c4e183 Unix Only:
XPCOM was being initialized from a static initializer in netlib.
    Removed the static inializer. This will get xpcom to be initialized
    after main() not before it.


git-svn-id: svn://10.0.0.236/trunk@25834 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 07:48:25 +00:00
waterson%netscape.com
e25d219cba Use 'srcdir' instead of '.'; a=mscott.
git-svn-id: svn://10.0.0.236/trunk@25833 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 07:42:44 +00:00
briano%netscape.com
11e5ece7bf Automated update
git-svn-id: svn://10.0.0.236/trunk@25832 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 07:29:38 +00:00
dp%netscape.com
a5831f0d96 added new tasks. Finished first task.
git-svn-id: svn://10.0.0.236/trunk@25831 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 07:27:42 +00:00
waterson%netscape.com
35a32e0b73 Added BRPROF into the build, --disable-brprof to disable it.
git-svn-id: svn://10.0.0.236/trunk@25830 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 07:26:42 +00:00
dp%netscape.com
a70c1d486b More threadsafeness.
git-svn-id: svn://10.0.0.236/trunk@25829 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 06:45:50 +00:00
waterson%netscape.com
10914fad6e Fixed refcount bug.
git-svn-id: svn://10.0.0.236/trunk@25828 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 06:44:50 +00:00
waterson%netscape.com
6b7b8a5191 Flip the MOZ_BRPROF switch.
git-svn-id: svn://10.0.0.236/trunk@25827 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 06:42:23 +00:00
waterson%netscape.com
feb1ebee77 Fixed generation of BRPROF cookie string when it's the first cookie.
git-svn-id: svn://10.0.0.236/trunk@25826 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 06:42:08 +00:00
waterson%netscape.com
627768174d Flip MOZ_BRPROF switch.
git-svn-id: svn://10.0.0.236/trunk@25825 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 06:40:09 +00:00
mscott%netscape.com
b63985432c file needs a new line at the end.
git-svn-id: svn://10.0.0.236/trunk@25824 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:49:49 +00:00
mscott%netscape.com
1692fe2f31 Destructor should be virtual. Checked in on behalf of Bruce Mitchener <bruce@cybersight.com>.
git-svn-id: svn://10.0.0.236/trunk@25823 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:48:07 +00:00
mscott%netscape.com
f829549bfc First pass at re-suscitating compose.xul. It got busted by some changes when the toolbox stuff went in. I've got it pretty much all back together EXCEPT I don't know how to get a title for each toolbar. We have a toolbar for the TO field, a toolbar for the "From" field. I can't seem to get text to show up in front of those toolbars. But my changes are better than what we had before so I'm checking them in.
git-svn-id: svn://10.0.0.236/trunk@25822 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:28:43 +00:00
waterson%netscape.com
e53b5021e5 Fixed a case where we weren't handling default namespaces on output.
git-svn-id: svn://10.0.0.236/trunk@25821 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:17:05 +00:00
mcafee%netscape.com
9760599d9d Simplifying SCO case.
git-svn-id: svn://10.0.0.236/trunk@25820 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:16:32 +00:00
wtc%netscape.com
5b4f6a0532 The SocketPollFD functions are moved from public header(prio.h) to private
header (pprio.h). The PRDescType is set to 0.


git-svn-id: svn://10.0.0.236/trunk@25819 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:12:35 +00:00
wtc%netscape.com
91c0209e2a Moved SocketPollFD functions from public header(prio.h) to this private header.
git-svn-id: svn://10.0.0.236/trunk@25818 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:11:27 +00:00
wtc%netscape.com
63f7ed24da Moved SocketPollFD functions from public header(prio.h) to the private
header pprio.h.


git-svn-id: svn://10.0.0.236/trunk@25817 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:10:59 +00:00
mscott%netscape.com
17bc3f00de Fix some linux problems with mailnews. We were interrupting the stream twice when releasing a file transport.
git-svn-id: svn://10.0.0.236/trunk@25816 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:10:55 +00:00
waterson%netscape.com
cea5aa0ad5 Added brprof stuff.
git-svn-id: svn://10.0.0.236/trunk@25815 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:10:47 +00:00
waterson%netscape.com
d67063725e Add brprof to build if MOZ_BRPROF is set.
git-svn-id: svn://10.0.0.236/trunk@25814 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:10:05 +00:00
waterson%netscape.com
541b232593 Cleaned this mess up.
git-svn-id: svn://10.0.0.236/trunk@25813 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:09:34 +00:00
waterson%netscape.com
8360b49e82 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@25812 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:08:16 +00:00
mcafee%netscape.com
395fe8ac1e Adding support for NTO.
git-svn-id: svn://10.0.0.236/trunk@25811 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:06:34 +00:00
wtc%netscape.com
f0630a9028 Fixed an error in the comments. (Bugzilla bug #346002)
Modified files: prsocket.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@25810 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:03:37 +00:00
mcafee%netscape.com
53b5e86a59 Simplifying ifdef logic in preparation for jump to hyperspace (autoconf)
git-svn-id: svn://10.0.0.236/trunk@25809 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:02:32 +00:00
wtc%netscape.com
f55ee2aa0c Name the third argument for PR_Writev 'iov_size', as opposed
to 'size'.


git-svn-id: svn://10.0.0.236/trunk@25808 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 04:57:35 +00:00
wtc%netscape.com
ca94a9c903 Bugzilla bug #4297: the use of 'stack' as function arguments conflicts
with the class name 'stack' in STL, so renamed it to 'fd_stack'.
Thanks to joseph.gregorio@mts.com for reporting the problem and
suggesting a fix.


git-svn-id: svn://10.0.0.236/trunk@25807 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 04:30:37 +00:00
mcafee%netscape.com
be4de3deb3 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@25806 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 04:21:09 +00:00
wtc%netscape.com
ce09c5ae52 Bugzilla bug #4464: cast enum PRThreadPriority to PRIntn before
doing comparisons so that enum PRThreadPriority is treated as a
signed type.  Thanks to Jeremy Lea <reg@shale.csir.co.za> for
reporting this bug.


git-svn-id: svn://10.0.0.236/trunk@25805 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 04:16:12 +00:00
mscott%netscape.com
9c0a164669 UI changes.
git-svn-id: svn://10.0.0.236/trunk@25804 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 03:56:37 +00:00
mcafee%netscape.com
3c7527d6ef Adding mailnews/mime/emitters/{src,xml} to the build.
git-svn-id: svn://10.0.0.236/trunk@25803 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 03:27:52 +00:00
rhp%netscape.com
169870e82f Backing out prefs changes...need to make this work in multiple threads.
git-svn-id: svn://10.0.0.236/trunk@25802 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 03:21:11 +00:00
waterson%netscape.com
243e683bcf Fixed a silly typo.
git-svn-id: svn://10.0.0.236/trunk@25801 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 03:09:58 +00:00
waterson%netscape.com
7664709733 Made the profile-getter return silently if it isn't able to get the browsing profile object from the service manager.
git-svn-id: svn://10.0.0.236/trunk@25800 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 03:09:35 +00:00
bienvenu%netscape.com
41298a481e start turning on threading of messages
git-svn-id: svn://10.0.0.236/trunk@25799 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 03:09:08 +00:00
sspitzer%netscape.com
e17e981dbe UI updates
git-svn-id: svn://10.0.0.236/trunk@25798 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:40:01 +00:00
waterson%netscape.com
91f67f4e85 Added nsGetBrowsingProfile.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@25797 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:35:19 +00:00
waterson%netscape.com
02ddcafec5 Added browsing profile to the build.
git-svn-id: svn://10.0.0.236/trunk@25796 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:30:51 +00:00
sspitzer%netscape.com
17ea272b0b link the mime emitters properly on UNIX
fix runtime bustage of unresolved symbol
in libhtmlemitter.so and libxmlemitter.so


git-svn-id: svn://10.0.0.236/trunk@25795 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:30:19 +00:00
waterson%netscape.com
85d3b90bc2 Check to make sure that you have content in the doc before doing GetElementById(). (This was causing crash in SearchForNodeByID() -- thanks to law@netscape.com for the fix.)
git-svn-id: svn://10.0.0.236/trunk@25794 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:30:03 +00:00
cata%netscape.com
134129597b Fixed signed/unsigned bug.
git-svn-id: svn://10.0.0.236/trunk@25793 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:22:17 +00:00
waterson%netscape.com
1e11aa3849 Added browsing profile to build.
git-svn-id: svn://10.0.0.236/trunk@25792 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:18:27 +00:00
mcafee%netscape.com
91c725e1ea Adding NS_XIFFORMATCONVERTER_CID define.
git-svn-id: svn://10.0.0.236/trunk@25791 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:08:40 +00:00
mcafee%netscape.com
de4f158101 Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@25790 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:06:32 +00:00
mcafee%netscape.com
987491be44 First checkin. Converter for clipboard.
git-svn-id: svn://10.0.0.236/trunk@25789 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:04:53 +00:00
waterson%netscape.com
600e1eeed9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25788 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:03:03 +00:00
mcafee%netscape.com
fde28e7471 Adding clipboard support, #ifdef NEW_CLIPBOARD_SUPPORT. r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@25787 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 02:02:40 +00:00
waterson%netscape.com
cfb795d93e Export the nsCStringKey symbols.
git-svn-id: svn://10.0.0.236/trunk@25786 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:59:57 +00:00
cata%netscape.com
4229734f12 Fixed bug in EUCJP usage of tables.
git-svn-id: svn://10.0.0.236/trunk@25785 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:47:05 +00:00
sspitzer%netscape.com
e1d9cb8d33 check in for build breakage
git-svn-id: svn://10.0.0.236/trunk@25784 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:41:59 +00:00
kipp%netscape.com
2b0cac4c07 Don't make floaters a margin root (that was a mistake)
git-svn-id: svn://10.0.0.236/trunk@25783 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:38:00 +00:00
kipp%netscape.com
951e615c71 Reflow floater frames using the block reflow context
git-svn-id: svn://10.0.0.236/trunk@25782 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:37:36 +00:00
mscott%netscape.com
e544f6d7a8 Fix for scottip. Initialize return value to NS_OK for nsStreamListenerProxy::OnDataAvailable. This was causing some failures on release builds and purify builds in particular because there was a particular case in one of the clauses where it would rely on rv which was unitialized.
git-svn-id: svn://10.0.0.236/trunk@25781 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:22:47 +00:00
mscott%netscape.com
beb1213d47 DisplayMessage now takes the URI instead of the path, msg key pair. So I'm cleaning up the code that used to decompose the URI...
git-svn-id: svn://10.0.0.236/trunk@25780 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:15:07 +00:00
mscott%netscape.com
9cbe1b926e Add support for the nsIMsgUriUrl interface.
git-svn-id: svn://10.0.0.236/trunk@25779 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:14:03 +00:00
jefft%netscape.com
6a0e843198 initial cut for imap sink interfaces; not part of the build yet
git-svn-id: svn://10.0.0.236/trunk@25778 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:13:56 +00:00
mscott%netscape.com
ebfb7b1347 Make interface public.
git-svn-id: svn://10.0.0.236/trunk@25777 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:11:36 +00:00
mscott%netscape.com
a142100b86 display message should take a uri instead of the folder path.
git-svn-id: svn://10.0.0.236/trunk@25776 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:10:51 +00:00
mscott%netscape.com
8e97d0dc52 display message now takes a URI instead of a mailbox & message key pair.
git-svn-id: svn://10.0.0.236/trunk@25775 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:09:06 +00:00
rhp%netscape.com
c42d5874d9 Changes for new mime emitters
git-svn-id: svn://10.0.0.236/trunk@25774 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:08:05 +00:00
mscott%netscape.com
940a93161e new interface nsIMsgUriUrl for the GetURI method. This interface will be supported by both imap and mailbox urls.
git-svn-id: svn://10.0.0.236/trunk@25773 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:07:58 +00:00
mscott%netscape.com
9b32c7b1d1 make the filespec const for nsPath2URI and nsBuildLocalMessageURI
git-svn-id: svn://10.0.0.236/trunk@25772 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:06:55 +00:00
mscott%netscape.com
275f828a3e make the filespec const for nsPath2URI and nsBuildLocalMessageURI.
git-svn-id: svn://10.0.0.236/trunk@25771 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:06:25 +00:00
rhp%netscape.com
5bdfce7a19 updates for mime emitters
git-svn-id: svn://10.0.0.236/trunk@25770 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:06:05 +00:00
rhp%netscape.com
259aef2dd6 New changes for mime emitters and cleanup
git-svn-id: svn://10.0.0.236/trunk@25769 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:05:45 +00:00
mcafee%netscape.com
e6e75a2b5d First checkin. Converts text/HTML selection to XIF format.
git-svn-id: svn://10.0.0.236/trunk@25768 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:05:43 +00:00
rhp%netscape.com
805c8da0d4 New changes for mime emitters.
git-svn-id: svn://10.0.0.236/trunk@25767 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:03:33 +00:00
rhp%netscape.com
be51414a52 Add new files for emitter
git-svn-id: svn://10.0.0.236/trunk@25766 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:02:53 +00:00
rhp%netscape.com
b2cd2e31ef New changes for mime emitters
git-svn-id: svn://10.0.0.236/trunk@25765 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:02:42 +00:00
rhp%netscape.com
17381b9401 Update for new emitters
git-svn-id: svn://10.0.0.236/trunk@25764 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 00:59:02 +00:00
rhp%netscape.com
e68cad07bc Necessary changes to pass in the URL to the GetMimeOutput() function
git-svn-id: svn://10.0.0.236/trunk@25763 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 00:58:47 +00:00
jdunn%netscape.com
f7e66aafa3 link in xmltok and expat to fix linking error
git-svn-id: svn://10.0.0.236/trunk@25762 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 00:20:47 +00:00
jdunn%netscape.com
c7e3f3fe19 link in jsdom and raptorgfx for linking error
git-svn-id: svn://10.0.0.236/trunk@25761 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 00:20:11 +00:00
despotdaemon%netscape.com
cd0a289d66 Pseudo-automatic update of changes made by momoi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@25760 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 00:15:40 +00:00
erik%netscape.com
2dd645998c Initial check-in of new X/GTK font code. Improved font-weight "bolder"
and "lighter", more accurate font-size (max ascent and max descent),
better speed.
However, ifdeffed for now to try on various platforms.


git-svn-id: svn://10.0.0.236/trunk@25759 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 00:04:36 +00:00
jdunn%netscape.com
1a7881f915 Add library for linking
git-svn-id: svn://10.0.0.236/trunk@25758 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 23:02:11 +00:00
briano%netscape.com
912ef1f4dc Only descend into tests if ENABLE_TESTS is set.
git-svn-id: svn://10.0.0.236/trunk@25757 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:58:07 +00:00
jdunn%netscape.com
49f993adf9 Include prenv to get PR_GetEnv prototype
git-svn-id: svn://10.0.0.236/trunk@25756 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:55:29 +00:00
erik%netscape.com
13e6745f5e Fixed a compiler warning.
git-svn-id: svn://10.0.0.236/trunk@25755 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:52:51 +00:00
erik%netscape.com
077f923238 The URL Location text field font size was wrong. It forgot to multiply by
the "device to app" factor. Corrected.


git-svn-id: svn://10.0.0.236/trunk@25754 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:51:25 +00:00
waterson%netscape.com
e3f29a0cc4 Added browsing profile hook under #ifdef.
git-svn-id: svn://10.0.0.236/trunk@25753 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:38:38 +00:00
putterman%netscape.com
1df5268b72 Added build local message URI routine.
git-svn-id: svn://10.0.0.236/trunk@25752 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:29:28 +00:00
pinkerton%netscape.com
f743d69a9c File Removed.
git-svn-id: svn://10.0.0.236/trunk@25751 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:19:31 +00:00
kin%netscape.com
002a443fc3 Removed nsITextServicesDocumentInternal.h.
git-svn-id: svn://10.0.0.236/trunk@25750 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:10:42 +00:00
pinkerton%netscape.com
eb44b510f6 better grippy/collapsed toolbar functionality after box conversion landing. Also more error message output in debug builds
git-svn-id: svn://10.0.0.236/trunk@25749 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:02:37 +00:00
evaughan%netscape.com
2a2a05e6b9 added some test xul files.
git-svn-id: svn://10.0.0.236/trunk@25748 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 22:00:15 +00:00
cyeh%netscape.com
de2083b2d8 make depend and clobber_all targets work properly.
add support for dist and layout targets.


git-svn-id: svn://10.0.0.236/trunk@25747 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:55:34 +00:00
vidur%netscape.com
a7d030c047 added files: mozilla/layout/xml/content/src/nsXMLProcessingInstruction.cpp, mozilla/layout/xml/content/src/nsXMLCDATASection.cpp
git-svn-id: svn://10.0.0.236/trunk@25746 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:50:28 +00:00
vidur%netscape.com
3853f1bfcd Added epilog and prolog to document.
git-svn-id: svn://10.0.0.236/trunk@25745 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:49:42 +00:00
vidur%netscape.com
fe0a023b26 Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods.
git-svn-id: svn://10.0.0.236/trunk@25744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:49:25 +00:00
syd%netscape.com
bcd7aa96e1 Fix for AIX build bustage.
git-svn-id: svn://10.0.0.236/trunk@25743 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:18:54 +00:00
syd%netscape.com
75beec54f9 Fix for AIX compatibility
git-svn-id: svn://10.0.0.236/trunk@25742 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:18:11 +00:00
syd%netscape.com
5279f6ba9b Replace getenv with NSPR function, remove stdlib.h include. Partially done
for AIX build.


git-svn-id: svn://10.0.0.236/trunk@25741 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:17:01 +00:00
sfraser%netscape.com
54301e754c Fix a problem with tab expansion when filling the offset indices array.
git-svn-id: svn://10.0.0.236/trunk@25740 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:12:42 +00:00
waterson%netscape.com
8e5c811e35 Initial revision. Not in the build.
git-svn-id: svn://10.0.0.236/trunk@25739 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:00:27 +00:00
warren%netscape.com
85cbbd2507 Fixed nsUrl link error.
git-svn-id: svn://10.0.0.236/trunk@25738 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:59:43 +00:00
putterman%netscape.com
96b4937df0 Use PL_strfree to avoid freeing mismatched memory errors.
git-svn-id: svn://10.0.0.236/trunk@25737 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:56:37 +00:00
putterman%netscape.com
3a72331368 Cached RFCparser and use Mime versions for subject and sender.
git-svn-id: svn://10.0.0.236/trunk@25736 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:56:05 +00:00
warren%netscape.com
69ab1aa4ce Initial stab at new networking implementation.
git-svn-id: svn://10.0.0.236/trunk@25735 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:53:46 +00:00
mcafee%netscape.com
1be41ed090 Comments only.
git-svn-id: svn://10.0.0.236/trunk@25734 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:53:40 +00:00
mscott%netscape.com
74bf08c8fe I got tired of writing code last night and wanted to do something different. I'm trying to make the UI look a bit like the UI specs. When you make a selection, we now change the font color to white. Changed the color of the title bars....I'm sure someone else will change all this at some later point...
git-svn-id: svn://10.0.0.236/trunk@25733 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:37:08 +00:00
mscott%netscape.com
a9b0ea0365 Don't link with msgcore and msglocal. Link with msgcoreutil.
git-svn-id: svn://10.0.0.236/trunk@25732 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:34:18 +00:00
mscott%netscape.com
48493c6877 Pretty much a complete re-write to use the pop3 service. We now read all extra info like user name, password, etc. from your prefs instead of prompting you for it.
git-svn-id: svn://10.0.0.236/trunk@25731 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:33:54 +00:00
mscott%netscape.com
c17c2d0ba3 Build pop3 test.
git-svn-id: svn://10.0.0.236/trunk@25730 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:33:07 +00:00
mscott%netscape.com
56cfb0aab3 Build tests directory.
git-svn-id: svn://10.0.0.236/trunk@25729 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:32:45 +00:00
mscott%netscape.com
f0175935da use nsAutoCString
git-svn-id: svn://10.0.0.236/trunk@25728 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:29:34 +00:00
mscott%netscape.com
44f0772c6d change nsURI2Path to take a const char * for the uriStr.
git-svn-id: svn://10.0.0.236/trunk@25727 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:28:48 +00:00
mscott%netscape.com
2c69bb1c7d Use nsAutoCString.
git-svn-id: svn://10.0.0.236/trunk@25726 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:27:36 +00:00
kin%netscape.com
d581e6208f Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@25725 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:26:55 +00:00
mscott%netscape.com
6da4b96c93 When we get an on stop binding call, change the state of the url.
git-svn-id: svn://10.0.0.236/trunk@25724 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:26:35 +00:00
mscott%netscape.com
71d4372dcf Add check for new mail support to the pop3 service.
git-svn-id: svn://10.0.0.236/trunk@25723 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:26:07 +00:00
mscott%netscape.com
bf56fa9082 Add pop3 url to the list of components this factory can generate.
git-svn-id: svn://10.0.0.236/trunk@25722 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:25:17 +00:00
kin%netscape.com
143641b144 Initial checkin of files.
git-svn-id: svn://10.0.0.236/trunk@25721 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:25:05 +00:00
mscott%netscape.com
fd31cfbabc Add check for new mail to the pop3 service.
git-svn-id: svn://10.0.0.236/trunk@25720 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:24:31 +00:00
mscott%netscape.com
5c8cf97314 Add a class ID.
git-svn-id: svn://10.0.0.236/trunk@25719 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:23:38 +00:00
mscott%netscape.com
74a6b01d06 Fix a memory leak when running mailbox urls. When we get the on stop binding call from netlib, be sure to release all of our connection data (including the transport).
git-svn-id: svn://10.0.0.236/trunk@25718 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:23:00 +00:00
sspitzer%netscape.com
a9915f5ace changing the static gRDFService to a local variable.
removing the gRefCnt code.
this allows the three pane to work on Linux


git-svn-id: svn://10.0.0.236/trunk@25717 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:22:10 +00:00
mscott%netscape.com
b10decb67c Initialize host name to null.
git-svn-id: svn://10.0.0.236/trunk@25716 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:20:56 +00:00
mscott%netscape.com
9238e6946c Add smoketest string for QA to use. If a message is succesful
Message Sent: PASSED.


git-svn-id: svn://10.0.0.236/trunk@25715 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:20:10 +00:00
karnaze%netscape.com
4a6d434ddd bug 2620 - extra scroll bars on nested frameset documents.
git-svn-id: svn://10.0.0.236/trunk@25714 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:18:39 +00:00
mscott%netscape.com
298c2521d5 Changes to use nsAutoCString. (what a great help class)
git-svn-id: svn://10.0.0.236/trunk@25713 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:17:42 +00:00
slamm%netscape.com
f4d87628b5 Fixing 'Manage Bookmarks...' menu item. Victim of global search and replace. Hooking up 'Add Current Page' menu item.
git-svn-id: svn://10.0.0.236/trunk@25712 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:14:18 +00:00
slamm%netscape.com
fd854fcc84 Show colors for sorting states. Will use icons next.
git-svn-id: svn://10.0.0.236/trunk@25711 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:09:44 +00:00
sspitzer%netscape.com
e7b205c3f1 use nsString instead of of nsAutoString, since that is what the function takes
git-svn-id: svn://10.0.0.236/trunk@25710 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:08:53 +00:00
slamm%netscape.com
ebcd46ea01 Set MOZILLA_FIVE_HOME for run_apprunner and run_viewer targets. Change the message on the depend target when using compiler-based depend.
git-svn-id: svn://10.0.0.236/trunk@25709 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 19:07:29 +00:00
kipp%netscape.com
e7968b2d01 new
git-svn-id: svn://10.0.0.236/trunk@25706 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 17:42:54 +00:00
donm%netscape.com
a4afd8506c backing out mac bustage.
git-svn-id: svn://10.0.0.236/trunk@25705 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 16:41:11 +00:00
sspitzer%netscape.com
cf217c483f fixing typo.
now compose will come up on Linux!


git-svn-id: svn://10.0.0.236/trunk@25704 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 14:54:57 +00:00
mcafee%netscape.com
b5125a44ff Some code got stomped, putting it back. Specifically we need a prototype for UnixPrData() for Solaris/CC.
git-svn-id: svn://10.0.0.236/trunk@25703 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 09:14:07 +00:00
rickg%netscape.com
3980f0e88e fixed bug in deque::pushfront
git-svn-id: svn://10.0.0.236/trunk@25702 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 08:42:06 +00:00
mcafee%netscape.com
28ef284545 Need prototype for toupper() on Solaris.
git-svn-id: svn://10.0.0.236/trunk@25701 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 08:37:14 +00:00
evaughan%netscape.com
1edea77a91 Added a test navigator.css that changes the look of the UI.
git-svn-id: svn://10.0.0.236/trunk@25700 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 08:30:54 +00:00
mcafee%netscape.com
8eae56edca Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@25699 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 08:30:31 +00:00
evaughan%netscape.com
0d14fcab0f Moved navigator specific style information like .gif from xul.css and navigator.xul to a new file
called navigator.css this should hold all the basic navigator styles.


git-svn-id: svn://10.0.0.236/trunk@25698 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 08:04:37 +00:00
jband%netscape.com
eb05fdd8d9 make -m stubs not crash on interfaces without parents
git-svn-id: svn://10.0.0.236/trunk@25697 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 07:56:36 +00:00
evaughan%netscape.com
11f4038db3 Added a css for for navigator style to live in.
git-svn-id: svn://10.0.0.236/trunk@25696 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 07:53:28 +00:00
rickg%netscape.com
8acf07b452 fixed AIX build problem
git-svn-id: svn://10.0.0.236/trunk@25695 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 07:44:35 +00:00
dp%netscape.com
ae1c3e47b1 XPCOM used nsIRegistry. Thanks to Nicholas Ambrose <nick87@hotmail.com>
git-svn-id: svn://10.0.0.236/trunk@25694 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 07:04:12 +00:00
rjc%netscape.com
f1c5517f8a Add failure detection when looking for "RDFCore" so that, if it can't be found or instantiated for some reason, normal URL loading via the location bar still functions.
git-svn-id: svn://10.0.0.236/trunk@25693 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 07:01:35 +00:00
rjc%netscape.com
cadb40e780 Add support for "Shortcut URLs". Basically, anything entered into the location bar is first checked to see if it maps to a bookmarked URL and, if so, the real URL is put into the location bar and then loaded.
git-svn-id: svn://10.0.0.236/trunk@25692 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:57:06 +00:00
waterson%netscape.com
04412109c2 Removed NODEPEND.
git-svn-id: svn://10.0.0.236/trunk@25691 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:55:48 +00:00
rjc%netscape.com
9d32442625 Add references to "Wallet" shared libraries (debug and optimized) into Viewer project.
git-svn-id: svn://10.0.0.236/trunk@25690 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:49:55 +00:00
karnaze%netscape.com
20c49d1d94 bugs 1318, 4429 - tables containing form controls as children
git-svn-id: svn://10.0.0.236/trunk@25689 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:47:40 +00:00
waterson%netscape.com
cc4a336132 Removed NODEPEND.
git-svn-id: svn://10.0.0.236/trunk@25688 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:47:10 +00:00
rjc%netscape.com
65cf57a314 Add references to "Wallet" shared libraries (debug and optimized) into Layout project.
git-svn-id: svn://10.0.0.236/trunk@25687 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:45:11 +00:00
waterson%netscape.com
9313e54f7d Regenerated files to pick up bug fixes to the -m stub XPIDL compiler.
git-svn-id: svn://10.0.0.236/trunk@25686 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:43:43 +00:00
waterson%netscape.com
79855ba253 Added XPIDL_JS_STUBS hacks to support scriptability.
git-svn-id: svn://10.0.0.236/trunk@25685 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:42:42 +00:00
rjc%netscape.com
987dd7bb51 Add references to "Wallet" shared libraries (debug and optimized) into AppCore project.
git-svn-id: svn://10.0.0.236/trunk@25684 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:41:15 +00:00
dp%netscape.com
2003680742 Fixed nsIRegistry implementation. ready for use. Thanks to Nicholas Ambrose <nick87@hotmail.com>
git-svn-id: svn://10.0.0.236/trunk@25683 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:28:36 +00:00
ramiro%netscape.com
f23a8587f3 Take gtk specific blender code out. Its not needed. All blender code is
fully XP now.
Also, turn off manufacturing of blender objects until unix speicifc issues
can be resolved.  Otherwise, stuff like demo4 breaks.


git-svn-id: svn://10.0.0.236/trunk@25682 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:21:07 +00:00
dp%netscape.com
c99082b4ed Removing xcDllStore.cpp
git-svn-id: svn://10.0.0.236/trunk@25681 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:18:51 +00:00
waterson%netscape.com
84d57f9f9f Fixes to the stub generator to uncripple stub-based XPConnect a little bit: use JSObjects to get args from JS stack, then pull the privs out; handle error codes and null returns a bit more cleanly.
git-svn-id: svn://10.0.0.236/trunk@25680 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:08:22 +00:00
michaelp%netscape.com
e819e37260 now vends nsBlender rather than nsBlenderWin.
git-svn-id: svn://10.0.0.236/trunk@25679 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:07:12 +00:00
karnaze%netscape.com
f7e55661da bug 4141 - space activating a button
git-svn-id: svn://10.0.0.236/trunk@25678 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 06:02:12 +00:00
karnaze%netscape.com
445fa80194 bug 4382 - comments inside <option>
git-svn-id: svn://10.0.0.236/trunk@25677 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 05:59:06 +00:00
bienvenu%netscape.com
a7847a5b6e use store to get hdr from now that mork bug is fixed
git-svn-id: svn://10.0.0.236/trunk@25676 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 05:22:26 +00:00
bienvenu%netscape.com
d303469c0d couple bug fixes, fix memory leaks, table scope
git-svn-id: svn://10.0.0.236/trunk@25675 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 05:21:49 +00:00
bienvenu%netscape.com
b15fe6cfaa get parser to link
git-svn-id: svn://10.0.0.236/trunk@25674 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 05:16:38 +00:00
dougt%netscape.com
acce8d5225 Patches from:
Bruce Mitchener Jr <bruce@cybersight.com> changes.


git-svn-id: svn://10.0.0.236/trunk@25673 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 05:14:29 +00:00
troy%netscape.com
a8080d8ccb Added back Nav compatibility hack for illegal hex values being mapped
to 0


git-svn-id: svn://10.0.0.236/trunk@25672 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 05:12:36 +00:00
dougt%netscape.com
0c4e3ed208 adding the declaration for fe_encoding_extensions back to nsNetStubs.cpp.
git-svn-id: svn://10.0.0.236/trunk@25671 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 05:09:58 +00:00
dougt%netscape.com
39b5906dc3 Fixes off by one error.
git-svn-id: svn://10.0.0.236/trunk@25670 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 05:04:28 +00:00
kipp%netscape.com
2500e5d7b7 landed HPUX patch from Kartik Subbarao <subbarao@computer.org>
git-svn-id: svn://10.0.0.236/trunk@25669 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:54:42 +00:00
michaelp%netscape.com
a84c5af336 made blender fully XP.
git-svn-id: svn://10.0.0.236/trunk@25668 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:54:06 +00:00
michaelp%netscape.com
4058a64630 kill nsBlenderWin
git-svn-id: svn://10.0.0.236/trunk@25667 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:53:25 +00:00
michaelp%netscape.com
c3ab7cf6a1 killed
git-svn-id: svn://10.0.0.236/trunk@25666 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:53:11 +00:00
rhp%netscape.com
259999a37d New def file for win32 build
git-svn-id: svn://10.0.0.236/trunk@25665 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:43:02 +00:00
bienvenu%netscape.com
b930a408bb get parser to compile
git-svn-id: svn://10.0.0.236/trunk@25663 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:42:08 +00:00
rhp%netscape.com
29fa525236 Just getting files into the tree for XML output.
git-svn-id: svn://10.0.0.236/trunk@25662 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:40:16 +00:00
jdunn%netscape.com
c22511ddba use PR_FALSE instead of false... since the return is a PR_Bool.
git-svn-id: svn://10.0.0.236/trunk@25661 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:25:41 +00:00
rhp%netscape.com
07f37316e1 Adding new mail header file.
git-svn-id: svn://10.0.0.236/trunk@25660 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:23:30 +00:00
jdunn%netscape.com
4889c05ad8 Fix compiler error on AIX...
Can't have 'protected' structures, so for AIX make them public and then
make sure that the AIX is defined in the Makefile.in


git-svn-id: svn://10.0.0.236/trunk@25659 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:21:53 +00:00
danm%netscape.com
ed3052a24c simple ability to at least specify a size for the window in XUL
git-svn-id: svn://10.0.0.236/trunk@25658 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:21:05 +00:00
jdunn%netscape.com
2b15ad1d7b Fix compiler warning (at least on AIX)
git-svn-id: svn://10.0.0.236/trunk@25657 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:20:33 +00:00
jdunn%netscape.com
47862d51ee Fix compiler problem on AIX
git-svn-id: svn://10.0.0.236/trunk@25656 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:19:48 +00:00
jdunn%netscape.com
e3a9665af6 Fixed compiler problem on AIX with references.
git-svn-id: svn://10.0.0.236/trunk@25655 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:19:02 +00:00
kipp%netscape.com
aa2cde4cea Added some attribute selectors to make pre wrap, cols and width work
git-svn-id: svn://10.0.0.236/trunk@25654 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:13:55 +00:00
kipp%netscape.com
46275b8873 Allow -moz-pre-wrap for white-space property
git-svn-id: svn://10.0.0.236/trunk@25653 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:13:28 +00:00
troy%netscape.com
21c4de642c Fix for bug #4434
git-svn-id: svn://10.0.0.236/trunk@25652 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:13:24 +00:00
kipp%netscape.com
c1e82cdc96 Support cols, wrap and width arguments
git-svn-id: svn://10.0.0.236/trunk@25651 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:13:04 +00:00
kipp%netscape.com
647cec902d Support MOZ_PRE_WRAP
git-svn-id: svn://10.0.0.236/trunk@25650 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:12:46 +00:00
kipp%netscape.com
d165aeda91 Removed dead methods; made ComputeHorizontalValue and ComputeVerticalValue instance methods instead of static methods
git-svn-id: svn://10.0.0.236/trunk@25649 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:12:09 +00:00
kipp%netscape.com
d42c9af2ff Removed some dead code; Added support for eStyleUnit_Chars for width values
git-svn-id: svn://10.0.0.236/trunk@25648 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:11:40 +00:00
kipp%netscape.com
f8b0e2aef9 Removed some dead code
git-svn-id: svn://10.0.0.236/trunk@25647 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:11:02 +00:00
kipp%netscape.com
2ef973d34d Removed compact margin hackery
git-svn-id: svn://10.0.0.236/trunk@25646 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:10:51 +00:00
kipp%netscape.com
ef9d0f734e Removed unsupported css2 'compact' support ; fixed bug #2013 with floater placement
git-svn-id: svn://10.0.0.236/trunk@25645 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:10:27 +00:00
kipp%netscape.com
681fe6feae landed HPUX patch from Kartik Subbarao <subbarao@computer.org>
git-svn-id: svn://10.0.0.236/trunk@25644 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:08:48 +00:00
kipp%netscape.com
67f4c0ee13 Added eStyleUnit_Chars
git-svn-id: svn://10.0.0.236/trunk@25643 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:08:07 +00:00
waterson%netscape.com
a2c295121f Bug 4433. Fix XUL content sink to return NS_OK instead of NS_ERROR_UNEXPECTED when it sees too many close tags.
git-svn-id: svn://10.0.0.236/trunk@25642 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 03:53:46 +00:00
slamm%netscape.com
5c3c0a4d1f Print form 'hidden' options after form tag for SaveAs form.
git-svn-id: svn://10.0.0.236/trunk@25641 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 01:45:46 +00:00
larryh%netscape.com
6643a7f7cf Memory leak fixed. Thanks to: David Gardiner <david.gardiner@unisa.edu.au
git-svn-id: svn://10.0.0.236/trunk@25640 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 01:27:44 +00:00
briano%netscape.com
b2d1c1230e Added a newline at the end of the file so some of the Unix builds wouldn't barf.
git-svn-id: svn://10.0.0.236/trunk@25637 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 00:03:53 +00:00
terry%netscape.com
40e0842b6a Silly netcenter wants a link for every item. Fine.
git-svn-id: svn://10.0.0.236/trunk@25632 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 22:31:54 +00:00
robinf%netscape.com
50126e6cf1 removing unecessary ini file
git-svn-id: svn://10.0.0.236/trunk@25631 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 22:30:12 +00:00
robinf%netscape.com
799cbca19b removing unnecessray bitmap
git-svn-id: svn://10.0.0.236/trunk@25630 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 22:29:34 +00:00
robinf%netscape.com
645b6c71e5 removing netcenter checkbox from this page
git-svn-id: svn://10.0.0.236/trunk@25629 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 22:27:55 +00:00
briano%netscape.com
49250beef8 Added 'else true' to all the if blocks that were missing it. Needed to make QNX's lame shell happy.
git-svn-id: svn://10.0.0.236/trunk@25628 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 22:21:54 +00:00
terry%netscape.com
602b292d3d Added code to generate RDF, for a Netcenter channel.
git-svn-id: svn://10.0.0.236/trunk@25627 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 22:16:03 +00:00
Jerry.Kirk%Nexwarecorp.com
4aae86becf Initial checkin of Photon Widget Factory for Photon UI
Added Files: Phdlldeps.cpp nsPhWidgetFactory.cpp


git-svn-id: svn://10.0.0.236/trunk@25626 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 19:05:42 +00:00
bienvenu%netscape.com
5ed5ba1f6f more progress on parser - not part of build yet
git-svn-id: svn://10.0.0.236/trunk@25625 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 18:00:21 +00:00
despotdaemon%netscape.com
8d97004125 Pseudo-automatic update of changes made by John.Wilson@Nexwarecorp.com.
git-svn-id: svn://10.0.0.236/trunk@25624 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 17:38:46 +00:00
kipp%netscape.com
208399a4f5 Reverse the decl of fe_encoding_extensions to fix the build
git-svn-id: svn://10.0.0.236/trunk@25623 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 16:01:40 +00:00
troy%netscape.com
b61e350d4f Work-in-progress for generated content
git-svn-id: svn://10.0.0.236/trunk@25622 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 15:22:54 +00:00
troy%netscape.com
95469a9c72 Added case for ILAYER
git-svn-id: svn://10.0.0.236/trunk@25621 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 15:20:14 +00:00
sspitzer%netscape.com
e30fbe0f60 remove a warning
too many warnings, and people will just ignore them


git-svn-id: svn://10.0.0.236/trunk@25620 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 15:12:32 +00:00
sspitzer%netscape.com
ca349e95ac remove a warning
too many warnings and people will ignore them


git-svn-id: svn://10.0.0.236/trunk@25619 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 15:11:30 +00:00
dougt%netscape.com
89d80bcb93 removing softupdt refereces. Approved by dp.
git-svn-id: svn://10.0.0.236/trunk@25618 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 14:33:08 +00:00
rjc%netscape.com
1bc9290aff Add check for NS_RDF_NO_VALUE (which required #including "rdf.h")
git-svn-id: svn://10.0.0.236/trunk@25617 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 11:42:28 +00:00
rjc%netscape.com
8bcb4b9328 Add "Shortcut URL" column in bookmark window.
git-svn-id: svn://10.0.0.236/trunk@25616 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 11:41:30 +00:00
rjc%netscape.com
051a749de2 Fix crash when sorting on a column (due to change on how GetTarget() returns errors.)
git-svn-id: svn://10.0.0.236/trunk@25615 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 11:05:58 +00:00
rjc%netscape.com
2104a19697 Add FindBookmarkShortcut() method.
git-svn-id: svn://10.0.0.236/trunk@25614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 10:42:55 +00:00
rjc%netscape.com
101cbc0660 Add a column for "URL Shortcuts" and add a few sample shortcuts (for Mac websites)
git-svn-id: svn://10.0.0.236/trunk@25613 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 10:41:11 +00:00
dp%netscape.com
77466e429d Attempting to fix the mac build by guessing the signature of the new nsHashtable constructor
git-svn-id: svn://10.0.0.236/trunk@25612 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 09:06:49 +00:00
jfrancis%netscape.com
15c956d9d0 make a plaintext editor instead fo an html editor if TEXT_EDITOR is defined.
git-svn-id: svn://10.0.0.236/trunk@25611 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 08:19:26 +00:00
evaughan%netscape.com
6ddf5f29e8 added a class of titled button called "push" that works like a regular push button.
git-svn-id: svn://10.0.0.236/trunk@25610 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 08:18:34 +00:00
dp%netscape.com
f91b8f9f95 Thread Safe nsHashtable (on demand only)
git-svn-id: svn://10.0.0.236/trunk@25609 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 08:15:39 +00:00
evaughan%netscape.com
75ade42ff8 Implemented incremental reflow for boxes.
git-svn-id: svn://10.0.0.236/trunk@25608 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 08:11:00 +00:00
nisheeth%netscape.com
a55cc8cd7d Fixing Unix build bustage. Added nsExpatTokenizer to the list of files to be compiled.
git-svn-id: svn://10.0.0.236/trunk@25607 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 07:35:39 +00:00
nisheeth%netscape.com
43d02c2f16 Fixing Mac build bustage. The expat debug and optimized libraries were both being linked into the debug and optimized builds. Changed things so that the debug library is linked into the debug build and the optimized library into the optimized build.
git-svn-id: svn://10.0.0.236/trunk@25606 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 07:26:38 +00:00
bienvenu%netscape.com
a7d469241c work around mork problem getting msg hdrs
git-svn-id: svn://10.0.0.236/trunk@25605 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 06:31:16 +00:00
nisheeth%netscape.com
701ccd4aaf Removed the compile flag check for enabling expat, James Clark's XML parser. Now, expat can be enabled dynamically at run-time on the Windows and Unix platforms by setting the EXPAT environment variable to 1. On the Mac, create a file called EXPAT in the directory from which you run viewer.exe or apprunner.exe. This dynamic switch is only temporary. Once the bugs associated with expat's parsing of XUL files or XML errors in the XUL files are fixed, the expat parser will become the default.
git-svn-id: svn://10.0.0.236/trunk@25604 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 06:29:50 +00:00
nisheeth%netscape.com
eaa58b7853 The parser now statically links to the expat library...
git-svn-id: svn://10.0.0.236/trunk@25603 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 06:24:32 +00:00
nisheeth%netscape.com
1e58118080 Adding expat, James Clark's XML parser, to the Mac build...
git-svn-id: svn://10.0.0.236/trunk@25602 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 06:22:25 +00:00
nisheeth%netscape.com
f567a463a8 Removed unnecessary libraries that were getting linked in.
git-svn-id: svn://10.0.0.236/trunk@25601 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 06:18:48 +00:00
waterson%netscape.com
f7418987ac Backed out briano's change so tinderbox on clobber builds won't be red.
git-svn-id: svn://10.0.0.236/trunk@25600 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 06:03:28 +00:00
beard%netscape.com
c604e79f6e Now filling in fMimeTypeArray, fExtensionArray, and fMimeDescriptionArray.
git-svn-id: svn://10.0.0.236/trunk@25599 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:53:36 +00:00
nisheeth%netscape.com
fb4d168206 Adding expat and xmltok to the link phase of viewer...
git-svn-id: svn://10.0.0.236/trunk@25598 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:47:48 +00:00
nisheeth%netscape.com
8fb85bfa54 Adding expat and xmltok libraries to the link phase for apprunner.
git-svn-id: svn://10.0.0.236/trunk@25597 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:46:46 +00:00
kipp%netscape.com
ab017a9707 new
git-svn-id: svn://10.0.0.236/trunk@25596 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:45:36 +00:00
bienvenu%netscape.com
7483e9e6e6 latest mork drop, fix ref counting bug, add meta table info
git-svn-id: svn://10.0.0.236/trunk@25595 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:43:09 +00:00
putterman%netscape.com
613aad2b2d Use some of the new springs and strut code.
git-svn-id: svn://10.0.0.236/trunk@25594 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:42:56 +00:00
sdagley%netscape.com
dffc434efe First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25593 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:39:30 +00:00
ramiro%netscape.com
52ef5e02cd delete vs. delete[] vs. free fixes.
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.


git-svn-id: svn://10.0.0.236/trunk@25592 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:26:59 +00:00
terry%netscape.com
abde8984f1 Removed some excessive debugging prints; made the results of the
"list" command be much more compact.


git-svn-id: svn://10.0.0.236/trunk@25591 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 04:59:38 +00:00
sdagley%netscape.com
dc03d631f1 Added KeyBindMgr to build (but nobody is calling it yet)
git-svn-id: svn://10.0.0.236/trunk@25590 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 04:53:37 +00:00
sdagley%netscape.com
c452827a1d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25589 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 04:52:13 +00:00
terry%netscape.com
ca8543356f Made it much less likely that mozbot will trigger flood-protection
code on the IRC server.


git-svn-id: svn://10.0.0.236/trunk@25588 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 04:50:31 +00:00
endico%mozilla.org
5b8b836ac9 remove people's signatures from summaries
git-svn-id: svn://10.0.0.236/trunk@25587 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 04:36:38 +00:00
beard%netscape.com
13e6926404 1.0d6
git-svn-id: svn://10.0.0.236/trunk@25586 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 04:11:01 +00:00
beard%netscape.com
eff0799d2c removed MIME type, "application/x-java-frame", added "application/x-java-applet"
git-svn-id: svn://10.0.0.236/trunk@25585 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 04:10:45 +00:00
evaughan%netscape.com
e0545f6888 Reimplemented navigator.xul on top of the new box layout system.
git-svn-id: svn://10.0.0.236/trunk@25584 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 04:05:49 +00:00
waterson%netscape.com
5543950ef9 Fix datasource to use new RDF return codes.
git-svn-id: svn://10.0.0.236/trunk@25583 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 03:59:17 +00:00
waterson%netscape.com
aba964b5d7 Fixed GetTarget() to use new return codes.
git-svn-id: svn://10.0.0.236/trunk@25582 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 03:58:24 +00:00
sspitzer%netscape.com
63dee55b9c header file got changed, but source didn't.
git-svn-id: svn://10.0.0.236/trunk@25581 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 03:57:37 +00:00
briano%netscape.com
671969444d Only descend into the tests directory if ENABLE_TESTS is set.
git-svn-id: svn://10.0.0.236/trunk@25580 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 03:07:23 +00:00
sspitzer%netscape.com
1553d6b624 initializing some uninitialized variables
git-svn-id: svn://10.0.0.236/trunk@25579 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 03:07:20 +00:00
dougt%netscape.com
5382d48ed3 removing softupdt references.
git-svn-id: svn://10.0.0.236/trunk@25578 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 03:07:06 +00:00
briano%netscape.com
5c67b30b0d Do not descend into the tests directory unless ENABLE_TESTS is set.
git-svn-id: svn://10.0.0.236/trunk@25577 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 03:02:14 +00:00
waterson%netscape.com
75c085ddaf Fixed a syntax error. Loser.
git-svn-id: svn://10.0.0.236/trunk@25576 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:49:33 +00:00
sspitzer%netscape.com
6a556de126 align code.
yes, I am anal.


git-svn-id: svn://10.0.0.236/trunk@25575 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:40:06 +00:00
waterson%netscape.com
277bce3d1b Changed RDF-specific errors to be success rather than error codes.
git-svn-id: svn://10.0.0.236/trunk@25574 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:30:16 +00:00
putterman%netscape.com
3e37616260 Fixed freeing mismatched memory errors.
git-svn-id: svn://10.0.0.236/trunk@25573 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:27:17 +00:00
putterman%netscape.com
93136e2c17 Added copy messages.
git-svn-id: svn://10.0.0.236/trunk@25572 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:26:54 +00:00
putterman%netscape.com
b22396e20a Add copy messages.
git-svn-id: svn://10.0.0.236/trunk@25571 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:25:15 +00:00
putterman%netscape.com
df68552fee fixed freeing mismatched memory error.
git-svn-id: svn://10.0.0.236/trunk@25570 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:24:18 +00:00
putterman%netscape.com
c3c9f475e6 fix Freeing mismatched memory error.
git-svn-id: svn://10.0.0.236/trunk@25569 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:23:03 +00:00
putterman%netscape.com
e6193dd99e Added nsCopyMessageStreamListener for copying messages.
git-svn-id: svn://10.0.0.236/trunk@25568 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:22:06 +00:00
putterman%netscape.com
6d558a675e Add nsICopyMessageListener.
git-svn-id: svn://10.0.0.236/trunk@25567 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:19:22 +00:00
rhp%netscape.com
ab2aac2b8c New XML emitter for libmime
git-svn-id: svn://10.0.0.236/trunk@25566 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:19:05 +00:00
rhp%netscape.com
f26500c2bb Adding files for new libmime emitters.
git-svn-id: svn://10.0.0.236/trunk@25565 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:18:06 +00:00
guha%netscape.com
086acb3b4d changes to directory.rdf
git-svn-id: svn://10.0.0.236/trunk@25564 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:07:02 +00:00
terry%netscape.com
3e0115c9e4 Get mozillazine info from RDF; added ^DJI stock.
git-svn-id: svn://10.0.0.236/trunk@25563 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:55:38 +00:00
morse%netscape.com
1ed35c184b fix bad library name
git-svn-id: svn://10.0.0.236/trunk@25562 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:52:31 +00:00
pavlov%pavlov.net
14f5e1194a more work on Lock() and Unlock()
git-svn-id: svn://10.0.0.236/trunk@25561 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:52:05 +00:00
morse%netscape.com
d34c91c34c changed leading spaces to tab
git-svn-id: svn://10.0.0.236/trunk@25560 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:49:30 +00:00
briano%netscape.com
7fbe49f21d Added a newline at the end of the file to make a couple of Unix builds happier.
git-svn-id: svn://10.0.0.236/trunk@25559 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:48:20 +00:00
michaelp%netscape.com
09a2209d89 fixed problem of gImageManager becoming a dnagling reference to a dead object
by adding an additional reference to the global image manager when it is
created. current solution is that suggested by adam locke, but this really needs
to be a service so that we don't leak memory. also made destructor virtual
to correct warning pointed out by bruce@cybersight.com.


git-svn-id: svn://10.0.0.236/trunk@25558 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:43:32 +00:00
syd%netscape.com
b89400d5e9 Fix typo.
git-svn-id: svn://10.0.0.236/trunk@25557 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:42:08 +00:00
waterson%netscape.com
d23fa188cd Made sure to copy data source URI for key in the hashtable.
git-svn-id: svn://10.0.0.236/trunk@25556 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:41:21 +00:00
michaelp%netscape.com
d3a7c2adb0 added virtual destructors where necessary as pointed out by bruce@cybersight.com.
git-svn-id: svn://10.0.0.236/trunk@25555 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:41:13 +00:00
wtc%netscape.com
52690069f6 Added test cases for the new NSPR functions, PR_CreateSocketPollFd and
PR_DestroySocketPollFd.


git-svn-id: svn://10.0.0.236/trunk@25554 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:38:27 +00:00
mscott%netscape.com
a639095a06 Cosmetic changes...I'm sure this will get changed later. But the blue selection color is really hard to pick out against the black letters....so I changed it to a lighter color =).....
git-svn-id: svn://10.0.0.236/trunk@25553 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:38:00 +00:00
wtc%netscape.com
e38c7260f1 Defined a new IOMethods table to implement PR_CreateSocketPollFd and
PR_DestroySocketPollFd.


git-svn-id: svn://10.0.0.236/trunk@25552 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:37:52 +00:00
wtc%netscape.com
a0efa9ea24 Two new functions defined to enable polling native and NSPR FDs simultaneously.
git-svn-id: svn://10.0.0.236/trunk@25551 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:36:34 +00:00
leif%netscape.com
265b5eadfb *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@25548 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:35:42 +00:00
syd%netscape.com
ad7a8eea52 Fixed misspell of virtual.
git-svn-id: svn://10.0.0.236/trunk@25547 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:33:40 +00:00
pierre%netscape.com
48055032bb Use delete[] for strings allocated with ToNewCString().
git-svn-id: svn://10.0.0.236/trunk@25546 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:23:24 +00:00
syd%netscape.com
6d6c55e38e Initialize mIsTopToBottom to PR_TRUE
git-svn-id: svn://10.0.0.236/trunk@25545 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:20:16 +00:00
leif%netscape.com
9481f75650 - Bugfix for my() statements.
- Bugfix for modifyRDN()
- Bugfix for @vals in update().


git-svn-id: svn://10.0.0.236/trunk@25544 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:16:45 +00:00
mscott%netscape.com
0094821718 SettingDocumentcharset should use FindMsgAppCore which will only create a new msg app core if we haven't done so yet...
git-svn-id: svn://10.0.0.236/trunk@25543 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:15:40 +00:00
waterson%netscape.com
fb9c9c3cdb Updated for changes to RDF interfaces for scriptability.
git-svn-id: svn://10.0.0.236/trunk@25542 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:15:01 +00:00
mscott%netscape.com
e4c75dfd8d Updates to the xul file to leverage the fact that we are now correctly adding ourselves to the app cores manager when we create a compose app core. We should never try to re-add the app core by directy calling Add in JS.
git-svn-id: svn://10.0.0.236/trunk@25541 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:14:30 +00:00
mscott%netscape.com
00dad5e4e7 When initializing the compose app core, use the app cores service manager to register our app core. When deleting the app core, remove ourselves from the appcores manager. More memory leak fixes from Bruce Mitchener <bruce@cybersight.com>.
git-svn-id: svn://10.0.0.236/trunk@25540 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:12:58 +00:00
pierre%netscape.com
01ccca60db Use delete[] for strings allocated with ToNewCString().
git-svn-id: svn://10.0.0.236/trunk@25539 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:12:13 +00:00
syd%netscape.com
92bf3b6c8c Initialize isScrolling to default to PR_FALSE. When printing, we don't obtain a
container, so we can't query for a webshell interface and query if scrolling is
implemented. With isScrolling set to PR_TRUE, we then follow code below which
leads to a crash. Fixes crash seen often when performing Postscript printing on
Unix.

Reviewed by dcone.


git-svn-id: svn://10.0.0.236/trunk@25538 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:11:09 +00:00
waterson%netscape.com
018d22f473 Changed RDF progids to use forward-slashes instead of pipes.
git-svn-id: svn://10.0.0.236/trunk@25537 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:09:24 +00:00
cyeh%netscape.com
c6adc3b1a8 make build numbers Y2K compliant.
git-svn-id: svn://10.0.0.236/trunk@25536 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:07:02 +00:00
syd%netscape.com
5ecdf634aa Initialize mIsTopToBottom to PR_FALSE.
git-svn-id: svn://10.0.0.236/trunk@25535 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:04:48 +00:00
syd%netscape.com
884633bc61 Implement GetIsRowOrderTopToBottom(), declare mIsTopToBottom member variable.
git-svn-id: svn://10.0.0.236/trunk@25534 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:04:13 +00:00
syd%netscape.com
ae77a0a47f Postscript colorimage code now queries platform to determine if image
rows are organized top to bottom, or bottom to top, and processes image
bytes depending on this order.


git-svn-id: svn://10.0.0.236/trunk@25533 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:02:46 +00:00
terry%netscape.com
89eb4edd58 mozbot now knows how to get info from the same RDF file that netcenter
gets its channel stuff from.  It is now possible to make mozbot listen
to a new channels by just adding one line of code for each channel.


git-svn-id: svn://10.0.0.236/trunk@25532 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:02:30 +00:00
syd%netscape.com
4434fae9bc Implement GetIsRowOrderTopToBottom(); declare mIsTopToBottom member variable
git-svn-id: svn://10.0.0.236/trunk@25531 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:00:32 +00:00
syd%netscape.com
91a6cc7819 Implement GetBytesPix. Declare mIsTopToBottom member variable.
git-svn-id: svn://10.0.0.236/trunk@25530 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:59:16 +00:00
mscott%netscape.com
13fbe00e48 When initializing a msg app core, add ourselves to the app cores manager. This now means that XP_FindAppCore should work through java script and return the correct msg app core. In the destructor, we remove ourselves from the app core. I'm also including a patch from Bruce Mitchener <bruce@cybersight.com>" to change a delete to delete [].
git-svn-id: svn://10.0.0.236/trunk@25529 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:58:39 +00:00
syd%netscape.com
9135de49e7 Initialize mIsTopToBottom to PR_TRUE; remove GetBytesPix
git-svn-id: svn://10.0.0.236/trunk@25528 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:58:04 +00:00
syd%netscape.com
03dde7e4b0 Get whether rows are organized top to bottom, or bottom to top in images.
git-svn-id: svn://10.0.0.236/trunk@25527 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:56:35 +00:00
pierre%netscape.com
14635d5094 Use delete[] for strings allocated with ToNewCString().
git-svn-id: svn://10.0.0.236/trunk@25526 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:54:56 +00:00
pierre%netscape.com
07b3ca541e Use delete[] for strings allocated with ToNewCString()
git-svn-id: svn://10.0.0.236/trunk@25525 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:50:21 +00:00
troy%netscape.com
03933cc5d6 Added beforePseudo and afterPseudo
git-svn-id: svn://10.0.0.236/trunk@25524 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:48:57 +00:00
troy%netscape.com
4091a2a227 Moved beforePseudo and afterpseudo to nsCSSAtoms
git-svn-id: svn://10.0.0.236/trunk@25523 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:47:42 +00:00
bienvenu%netscape.com
d986381afa initial entry into cvs
git-svn-id: svn://10.0.0.236/trunk@25522 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:47:40 +00:00
bienvenu%netscape.com
74c0dd25ad more porting
git-svn-id: svn://10.0.0.236/trunk@25521 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:46:59 +00:00
bienvenu%netscape.com
4508cf9fd0 add url types
git-svn-id: svn://10.0.0.236/trunk@25520 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:45:39 +00:00
mscott%netscape.com
4378e30576 Change printf to say nsMsgMailboxParser instead of nsMsgMailboxParserStub.
git-svn-id: svn://10.0.0.236/trunk@25519 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:45:18 +00:00
mscott%netscape.com
aaddb0735b patch from Bruce Mitchener <bruce@cybersight.com> to change delete to delete [].
git-svn-id: svn://10.0.0.236/trunk@25518 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:44:25 +00:00
dp%netscape.com
e51793dd13 Adding items to todo list
git-svn-id: svn://10.0.0.236/trunk@25517 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:41:47 +00:00
pierre%netscape.com
dc0110fe78 Fixed strings allocated with ToNewCString() that were either not disposed at all, either disposed with 'delete' instead of 'delete[]'. Thanks to Bruce Mitchener Jr. <bruce@cybersight.com>.
git-svn-id: svn://10.0.0.236/trunk@25515 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:40:04 +00:00
waterson%netscape.com
2aa4e6e9e7 Added code to initialize XPIDL JS stubs, added nsJSXULDocument into the build, temporarily added the rdf service as an attribute on the XUL document.
git-svn-id: svn://10.0.0.236/trunk@25514 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:38:16 +00:00
leaf%mozilla.org
d1231a380b removing softupdt from SeaMonkey pull, as per request by dougt
git-svn-id: svn://10.0.0.236/trunk@25513 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:35:17 +00:00
mscott%netscape.com
b408525f33 Move the code to register the app core into the app cores manager from the constructor of the app core into the init function of the app core. Why? nsIAppCoresManager::Add requires that the app core have an id. The id doesn't get assigned until the app core gets initialized. a=mcmullen, rod spears
git-svn-id: svn://10.0.0.236/trunk@25512 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:34:12 +00:00
grail%cafebabe.org
c0ac108570 Patches for password setting in prefs.
git-svn-id: svn://10.0.0.236/trunk@25511 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:30:33 +00:00
karnaze%netscape.com
373c579ff0 prints out dir and file name of regression test page
git-svn-id: svn://10.0.0.236/trunk@25510 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:28:55 +00:00
briano%netscape.com
765edb062d Fixed the missing newline bug that was breaking builds.
git-svn-id: svn://10.0.0.236/trunk@25509 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:23:10 +00:00
cyeh%netscape.com
2f1b4ec015 make build numbers work on UNIXen. This is a hack into the XUL file, build
number generation will need to be moved.


git-svn-id: svn://10.0.0.236/trunk@25508 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:14:48 +00:00
mcmullen%netscape.com
04f18ab037 Try that without the typo.
git-svn-id: svn://10.0.0.236/trunk@25507 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:08:40 +00:00
waterson%netscape.com
80637dd067 Added nsJSXULTreeElement to the build.
git-svn-id: svn://10.0.0.236/trunk@25506 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:05:13 +00:00
danm%netscape.com
ed1ddff912 added window title attribute
git-svn-id: svn://10.0.0.236/trunk@25505 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 00:00:56 +00:00
nhotta%netscape.com
3733983f5c I18n migration, CSID -> charset name, unicode converter hook up.
git-svn-id: svn://10.0.0.236/trunk@25504 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:57:50 +00:00
danm%netscape.com
b461216cd7 set window title from XUL
git-svn-id: svn://10.0.0.236/trunk@25503 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:57:18 +00:00
kipp%netscape.com
91299e557a Quited down most of the crawler noise
git-svn-id: svn://10.0.0.236/trunk@25502 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:51:40 +00:00
kipp%netscape.com
60abb011df Added missing wrap-malloc-lib
git-svn-id: svn://10.0.0.236/trunk@25501 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:50:57 +00:00
cata%netscape.com
cdac33b5bd Minor changes.
git-svn-id: svn://10.0.0.236/trunk@25500 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:49:30 +00:00
cata%netscape.com
d42a14a0a3 Minor bug fix.
git-svn-id: svn://10.0.0.236/trunk@25499 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:48:55 +00:00
joki%netscape.com
9dcedd8683 Initialize JS return values to zero for failure case
git-svn-id: svn://10.0.0.236/trunk@25498 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:48:47 +00:00
pinkerton%netscape.com
00b1ec8818 strstream -> strstream.h for linux
git-svn-id: svn://10.0.0.236/trunk@25497 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:46:57 +00:00
kipp%netscape.com
f1443307e8 Select size of builtin arrays by platform (sigh); remove some cruft; added in support for debugging memory leaks and reducing initialization time
git-svn-id: svn://10.0.0.236/trunk@25496 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:46:34 +00:00
kipp%netscape.com
b759fd5fcf Removed some cruft
git-svn-id: svn://10.0.0.236/trunk@25495 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:45:49 +00:00
kipp%netscape.com
2c20b83e41 Collapse margins away for html paragraphs (bug #2589 and #2291); add is-html-paragraph method
git-svn-id: svn://10.0.0.236/trunk@25494 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:45:36 +00:00
kipp%netscape.com
bcfc57f0cd Removed cruft; added IsHTMLParagraph method
git-svn-id: svn://10.0.0.236/trunk@25493 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:44:59 +00:00
kipp%netscape.com
938792cba5 Use shared is-html-paragraph method; fixed handling of floater widths for bug #2949
git-svn-id: svn://10.0.0.236/trunk@25492 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:44:45 +00:00
mcmullen%netscape.com
776b866b01 Rearranged the prefs frames, fixed the window size, instantiated the prefs window from C++ (from new ShowWindow() call).
git-svn-id: svn://10.0.0.236/trunk@25491 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:39:38 +00:00
mcmullen%netscape.com
baec78bd40 Added nsXULWindowCallbacks.h to the build.
git-svn-id: svn://10.0.0.236/trunk@25490 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:37:20 +00:00
karnaze%netscape.com
a0ab9e2007 bug 3522 - crash when more <frame>, <frameset> specified than cells
git-svn-id: svn://10.0.0.236/trunk@25489 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:26:57 +00:00
pinkerton%netscape.com
74a2bacd38 temp tweaks to get mac to build.
git-svn-id: svn://10.0.0.236/trunk@25488 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:26:01 +00:00
nhotta%netscape.com
9064b3aefd Sort test data for us-ascii.
git-svn-id: svn://10.0.0.236/trunk@25487 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:25:56 +00:00
pinkerton%netscape.com
0eb29c523b adding nsDataFlavor and nsTransferrable to mac build.
git-svn-id: svn://10.0.0.236/trunk@25486 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:21:53 +00:00
slamm%netscape.com
76d20901e6 Check dependencies on every pass. This is less than ideal because it causes gmake to fire twice for each Makefile, but it does work with -jN builds. We used to build .all.pp as a side effect of a shell command and ran into problems when seperate processes both tried to update .all.pp
git-svn-id: svn://10.0.0.236/trunk@25485 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:19:57 +00:00
morse%netscape.com
46c33f3217 make wallet compile on unix
git-svn-id: svn://10.0.0.236/trunk@25484 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:19:49 +00:00
dougt%netscape.com
3a2bfe8af3 Changes from Bruce Mitchener Jr. <bruce@cybersight.com>:
delete vs delete[].


git-svn-id: svn://10.0.0.236/trunk@25483 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:12:26 +00:00
briano%netscape.com
fc5b69d0c8 Fixed the 'extra token after the endif' bug that was breaking some Unix builds.
git-svn-id: svn://10.0.0.236/trunk@25481 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:05:49 +00:00
morse%netscape.com
27de21e0a1 make wallet compile on unix
git-svn-id: svn://10.0.0.236/trunk@25480 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:04:05 +00:00
joki%netscape.com
cf85cc663c Adding unload event
git-svn-id: svn://10.0.0.236/trunk@25479 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:01:13 +00:00
mscott%netscape.com
1b00b2fa13 Change imapMessageFlags type to PRUint16 instead of uint16.
git-svn-id: svn://10.0.0.236/trunk@25478 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:00:48 +00:00
mscott%netscape.com
bc3850ec83 stubs for the imap parser.....
git-svn-id: svn://10.0.0.236/trunk@25477 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:59:02 +00:00
nhotta%netscape.com
44aa70832c Changed to use wprintf for dump data if Win32.
git-svn-id: svn://10.0.0.236/trunk@25476 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:53:48 +00:00
morse%netscape.com
047df4ce06 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@25475 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:51:11 +00:00
nhotta%netscape.com
ea1f117d22 Unicode converter hooked up.
git-svn-id: svn://10.0.0.236/trunk@25474 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:45:08 +00:00
despotdaemon%netscape.com
9a8ee93f62 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@25473 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:40:13 +00:00
bienvenu%netscape.com
9ef8257cc0 comment out files that don't compile for the moment
git-svn-id: svn://10.0.0.236/trunk@25472 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:36:34 +00:00
briano%netscape.com
8470b6ff1a Added the ability to checkout using a timestamp (now the default).
git-svn-id: svn://10.0.0.236/trunk@25471 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:34:51 +00:00
bienvenu%netscape.com
90f6c32bba export and include nsImapCore.h
git-svn-id: svn://10.0.0.236/trunk@25470 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:34:08 +00:00
jband%netscape.com
32a4bea329 fixing typedef bug that I introduced with previous checkin
git-svn-id: svn://10.0.0.236/trunk@25469 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:33:38 +00:00
amusil%netscape.com
2068508eee Changes to hook up LiveConnect on Windows
git-svn-id: svn://10.0.0.236/trunk@25467 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:18:05 +00:00
bienvenu%netscape.com
d9fbd8af5b imap utility class defs
git-svn-id: svn://10.0.0.236/trunk@25466 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:16:29 +00:00
mscott%netscape.com
be6c6eefda patch from Bruce Mitchener Jr." <bruce@cybersight.com> to change delete to delete [].
git-svn-id: svn://10.0.0.236/trunk@25465 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:15:54 +00:00
mscott%netscape.com
66d90fc759 patch from Bruce Mitchener Jr." <bruce@cybersight.com> to change free to delete [].
git-svn-id: svn://10.0.0.236/trunk@25464 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:15:09 +00:00
amusil%netscape.com
e46c8323ff Code to handle locating and loading plugin info.
git-svn-id: svn://10.0.0.236/trunk@25463 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:11:06 +00:00
bienvenu%netscape.com
be2ed73730 port more of imap parser and utility classes
git-svn-id: svn://10.0.0.236/trunk@25462 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:11:04 +00:00
despotdaemon%netscape.com
18906950ea Pseudo-automatic update of changes made by michael.kedl@nexwarecorp.com.
git-svn-id: svn://10.0.0.236/trunk@25461 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:07:56 +00:00
sspitzer%netscape.com
7d8bed2985 fix build breakage on Linux
the build breakage only happens if you build with -pedantic


git-svn-id: svn://10.0.0.236/trunk@25460 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:04:04 +00:00
scc%netscape.com
52288e49bf fixed out-of-date preprocessor symbol, should fix AIX build
git-svn-id: svn://10.0.0.236/trunk@25459 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:03:50 +00:00
akkana%netscape.com
e54c5d5a3b fix hang that can result from pasting a null selection
git-svn-id: svn://10.0.0.236/trunk@25458 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:02:36 +00:00
akkana%netscape.com
cc11e40e72 Turn on triangle cursor temporarily for Unix, until bug 4202 gets fixed
git-svn-id: svn://10.0.0.236/trunk@25457 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:02:16 +00:00
despotdaemon%netscape.com
2cc4034036 Pseudo-automatic update of changes made by jerry.kirk@nexwarecorp.com.
git-svn-id: svn://10.0.0.236/trunk@25456 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:01:43 +00:00
akkana%netscape.com
dd6ab917f7 Editor: Add Insert Link and Image
git-svn-id: svn://10.0.0.236/trunk@25455 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:01:26 +00:00
waterson%netscape.com
99d79287ff Fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@25454 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 20:59:30 +00:00
waterson%netscape.com
5d0004fda1 Landed RDF_19990326_BRANCH, scriptability changes.
git-svn-id: svn://10.0.0.236/trunk@25453 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 19:52:54 +00:00
cyeh%netscape.com
c2e6d36cd2 remove debugging call that i missed while getting build numbers working.
git-svn-id: svn://10.0.0.236/trunk@25452 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 18:41:38 +00:00
ramiro%netscape.com
22aba723c7 Comment was messed up causing compiler to spew dumb messages.
git-svn-id: svn://10.0.0.236/trunk@25451 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 15:57:16 +00:00
ramiro%netscape.com
e5da46deb8 Fix for the annoying misplaced corner view who sometimes appears on the
bottom right corner.  Bug #4319.


git-svn-id: svn://10.0.0.236/trunk@25450 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 15:21:22 +00:00
mcafee%netscape.com
0838e2c845 Adding verification URL's to Debug menu.
git-svn-id: svn://10.0.0.236/trunk@25449 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 09:42:17 +00:00
rpotts%netscape.com
1a51c28082 Added more methods to nsIDocumentLoaderObserver in the first stage toward unifying *all* of the different notification mechanisms in the WebShell...
git-svn-id: svn://10.0.0.236/trunk@25448 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 09:21:01 +00:00
mcafee%netscape.com
41f759e454 Adding viewer tests to apprunner, under a new top-level Debug menu.
git-svn-id: svn://10.0.0.236/trunk@25447 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 09:05:37 +00:00
jfrancis%netscape.com
add9ef7ae5 don't drop tab keys
git-svn-id: svn://10.0.0.236/trunk@25440 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 08:02:50 +00:00
jfrancis%netscape.com
46bf828d41 seperating out html edit rules from text edit rules
git-svn-id: svn://10.0.0.236/trunk@25439 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 08:02:05 +00:00
jfrancis%netscape.com
bfe4edbf65 Adding nsHTMLEditRules.cpp
git-svn-id: svn://10.0.0.236/trunk@25438 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 08:01:21 +00:00
jfrancis%netscape.com
bdd8af18e1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25437 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 06:21:01 +00:00
mscott%netscape.com
819570e55f Changes for the mailbox protocol instance to support copying of messages.
git-svn-id: svn://10.0.0.236/trunk@25436 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 06:11:37 +00:00
mscott%netscape.com
9c5285bf19 Add CopyMessage support to the mailbox service.
git-svn-id: svn://10.0.0.236/trunk@25435 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 06:10:05 +00:00
mscott%netscape.com
5c635c78bc Add code to support copying a message to the url.
git-svn-id: svn://10.0.0.236/trunk@25434 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 06:09:07 +00:00
mscott%netscape.com
d6f293e758 Add copy message support to the mailbox url
git-svn-id: svn://10.0.0.236/trunk@25433 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 06:08:15 +00:00
mscott%netscape.com
64f55c64ee Add mailbox copy message interface.
git-svn-id: svn://10.0.0.236/trunk@25432 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 06:07:42 +00:00
jband%netscape.com
6b22443b55 fix incorrect title comment (copied from another file)
git-svn-id: svn://10.0.0.236/trunk@25431 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 04:35:35 +00:00
kipp%netscape.com
01140b212f Fixed bug #4133 by not providing negative margin values for tables that are too wide
git-svn-id: svn://10.0.0.236/trunk@25430 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 04:17:23 +00:00
troy%netscape.com
bb9efbfd4a Changed ComputeWordFragmentWidth() to handle the case where the content
object's document pointer is NULL


git-svn-id: svn://10.0.0.236/trunk@25429 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 04:15:07 +00:00
troy%netscape.com
58f9d7cebc Added beforePseudo and afterPseudo atoms
git-svn-id: svn://10.0.0.236/trunk@25428 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 03:30:34 +00:00
joki%netscape.com
eb1877eee2 Removing assertion from HandleDOMEvent. New capture/bubble path passes through this func.
git-svn-id: svn://10.0.0.236/trunk@25427 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 02:29:43 +00:00
evaughan%netscape.com
eaf0e7b747 Fixed Toolbox problems inside boxes.
git-svn-id: svn://10.0.0.236/trunk@25426 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 01:45:34 +00:00
wtc%netscape.com
f012d79c40 Use a default error-mapping function.
This work is contributed by Nelson Bolyard <nelsonb@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@25425 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 00:28:23 +00:00
bienvenu%netscape.com
4b835cdca3 fix unix build bustage
git-svn-id: svn://10.0.0.236/trunk@25424 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 23:09:16 +00:00
joki%netscape.com
add14cbd9d Adding new DOM public interface for event listener registration
git-svn-id: svn://10.0.0.236/trunk@25422 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:29:32 +00:00
joki%netscape.com
e92adc111d Changing api uses in editor, rdf, and xpfe to match DOM2 api name/param changes.
git-svn-id: svn://10.0.0.236/trunk@25420 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:27:38 +00:00
joki%netscape.com
dd60efb6ba Adding nsJSDOMEventListener.cpp to mac dom project
git-svn-id: svn://10.0.0.236/trunk@25419 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:23:41 +00:00
joki%netscape.com
58d63da788 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
git-svn-id: svn://10.0.0.236/trunk@25418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:22:54 +00:00
joki%netscape.com
8139ab8bcf New DOM2 event api's.
git-svn-id: svn://10.0.0.236/trunk@25415 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:19:42 +00:00
jband%netscape.com
1082d6ce47 Added support and test for [shared]. Added nsrootidl.idl with some typedefs and annotated 'native' declarations used elsewhere - this will eventially migrate to a more public place. Fixed 'reciever' misspelling (oh boy!). Made constants work (with test) using new 'const' stuff in xpidl. Fixed failure to mark pointer 'out' params for later free'ing - was leaking!
git-svn-id: svn://10.0.0.236/trunk@25414 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:11:22 +00:00
jband%netscape.com
8b35842e65 many changes to xpidl:
- Removed '-n' from usage message.
- Added name_space (if declared) to comment in generated C++ header.
- Added [ptr], [ref], and [nsid] support for native declarations.
- Added support for [const] on 'in' params.
- Now add 'const' automatically for nsID in params.
- Added support for [shared] on 'out' params.
- Added -w warnings support for non-support of sequences.
- Removed support for enum and added -w wrning that they are ignored.
- Added support in header and typelib output for constants (short and long only).


git-svn-id: svn://10.0.0.236/trunk@25413 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:01:33 +00:00
rjc%netscape.com
aaf15f9e12 New method added to RDFCore: AddBookmark()
git-svn-id: svn://10.0.0.236/trunk@25412 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 21:57:12 +00:00
rjc%netscape.com
ee21f88c54 New method added to RDFCore: AddBookmark()
git-svn-id: svn://10.0.0.236/trunk@25411 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 21:55:43 +00:00
rjc%netscape.com
31b40f9fd6 Fix declarative error.
git-svn-id: svn://10.0.0.236/trunk@25410 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 21:52:31 +00:00
jband%netscape.com
7eb2f758f8 add support for 'shared' flag in typelibs. This is available for use to indicate pointer type 'out' params which will not follow the xpcom rules of transfering ownership - i.e. they want to share a pointer rather than cloning the underlying data for the caller to delete when finished
git-svn-id: svn://10.0.0.236/trunk@25409 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 21:48:34 +00:00
rjc%netscape.com
3ee56d1d72 Bookmark datasource now has a public interface. Also, with interface it now
has a new method:  AddBookmark()


git-svn-id: svn://10.0.0.236/trunk@25408 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 21:33:38 +00:00
rjc%netscape.com
ebfc40b106 Export new interface: nsIBookmarkDataSource.h
git-svn-id: svn://10.0.0.236/trunk@25407 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 21:32:33 +00:00
joki%netscape.com
b85a3232c7 Adding new script event api's for DOM2 compliance
git-svn-id: svn://10.0.0.236/trunk@25406 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 21:31:46 +00:00
bienvenu%netscape.com
847e3bf5a6 add thread object and interface
git-svn-id: svn://10.0.0.236/trunk@25402 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 21:04:05 +00:00
bienvenu%netscape.com
b21c71e835 add i18n routines
git-svn-id: svn://10.0.0.236/trunk@25401 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 21:03:11 +00:00
bienvenu%netscape.com
197b20decf add imap prefs to dumping of identity
git-svn-id: svn://10.0.0.236/trunk@25398 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 20:40:39 +00:00
bienvenu%netscape.com
e402bdf404 port a few classes over from 4.5
git-svn-id: svn://10.0.0.236/trunk@25397 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 20:39:58 +00:00
bienvenu%netscape.com
04a929a87d initial entry into cvs of host session list, parser, etc
git-svn-id: svn://10.0.0.236/trunk@25396 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 20:39:12 +00:00
bienvenu%netscape.com
134fa8b583 initial entry into cvs of host session list
git-svn-id: svn://10.0.0.236/trunk@25395 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 20:37:16 +00:00
morse%netscape.com
55dacd0e61 fixed delete[]
git-svn-id: svn://10.0.0.236/trunk@25385 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 19:00:14 +00:00
troy%netscape.com
a7b2193689 Patch from Bruce Mitchener that removes some dead code
git-svn-id: svn://10.0.0.236/trunk@25381 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 18:26:09 +00:00
troy%netscape.com
2cc28624cc Patch from Bruce Mitchener that adds "[]" to delete
git-svn-id: svn://10.0.0.236/trunk@25380 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 18:25:34 +00:00
jefft%netscape.com
47fa0c6f1d added enum ImapState define; added m_dataMonitor; added ProcessCurrentURL() method; nsImapProtocol::ImapThreadMainLoop () now waits on m_dataMonitor indefinitely and then call ProcessCurrentURL ()
git-svn-id: svn://10.0.0.236/trunk@25379 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 18:02:07 +00:00
locka%iol.ie
0becd6fa21 Added a funky tree view of the web page that is built using the IE DOM interfaces
git-svn-id: svn://10.0.0.236/trunk@25378 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 16:00:23 +00:00
putterman%netscape.com
87205be938 Move code out of NS_ASSERTION so release build will work.
git-svn-id: svn://10.0.0.236/trunk@25377 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 15:46:57 +00:00
bruce%cybersight.com
9810b2b9c9 Fix to deallocate some memory when done with it.
git-svn-id: svn://10.0.0.236/trunk@25376 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 15:36:38 +00:00
pavlov%pavlov.net
6f3d606df5 some code cleanups and mem leak fixes
git-svn-id: svn://10.0.0.236/trunk@25375 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 15:11:43 +00:00
troy%netscape.com
62df50c49d Fix for bug #4317. Changed SetPosition() to call AdjustChildWidgets() with
"this" as the second parameter instead of the scrolled view


git-svn-id: svn://10.0.0.236/trunk@25352 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 05:25:07 +00:00
peterl%netscape.com
6f24afcf15 fixed img in link border color
git-svn-id: svn://10.0.0.236/trunk@25350 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:46:40 +00:00
beard%netscape.com
4ba40b894a calling JMSetFrameSize whenever window is moved or resized. This should make swing JMenus work much better.
git-svn-id: svn://10.0.0.236/trunk@25349 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:32:50 +00:00
peterl%netscape.com
34526ab4ce sync to style context api change
stubs for transparent border color support


git-svn-id: svn://10.0.0.236/trunk@25348 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:32:39 +00:00
peterl%netscape.com
0b0e601b99 added support for outline
border color fixes


git-svn-id: svn://10.0.0.236/trunk@25347 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:31:57 +00:00
peterl%netscape.com
68949eda83 fixed tokenization bug (treating "+.foo" as a number)
git-svn-id: svn://10.0.0.236/trunk@25346 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:31:12 +00:00
peterl%netscape.com
10035996a1 added transparent border support
git-svn-id: svn://10.0.0.236/trunk@25345 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:30:28 +00:00
peterl%netscape.com
9b2077ded7 fixed bug in parsing backgrounds
git-svn-id: svn://10.0.0.236/trunk@25344 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:29:57 +00:00
peterl%netscape.com
7fa39770a6 moved img alt-text sizing into text pseudo-element
git-svn-id: svn://10.0.0.236/trunk@25343 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:29:09 +00:00
peterl%netscape.com
caeab84225 added support for outline, border corner radius, transparent border
tweaked opacity


git-svn-id: svn://10.0.0.236/trunk@25342 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:28:22 +00:00
beard%netscape.com
bac997761a changed activate event handling, special casing plainDBox window variant when showing a window, to keep swing menus from unhiliting the parent frame.
git-svn-id: svn://10.0.0.236/trunk@25341 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:16:46 +00:00
beard%netscape.com
2b12ba1fbe passing nullEvents to filter function.
git-svn-id: svn://10.0.0.236/trunk@25340 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:14:40 +00:00
pavlov%pavlov.net
572f1df8b8 build nsBlender.cpp under unix. this fixes builds.
git-svn-id: svn://10.0.0.236/trunk@25339 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 00:13:30 +00:00
pavlov%pavlov.net
c08472540d add nsBlender to unix
git-svn-id: svn://10.0.0.236/trunk@25338 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 23:19:22 +00:00
pavlov%pavlov.net
e5d4a98b19 make file end with a newline
git-svn-id: svn://10.0.0.236/trunk@25337 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 23:14:38 +00:00
dp%netscape.com
016800cf6b Adding more on service manager, component manager and progid/clsid with a hope to eliminate confusion
git-svn-id: svn://10.0.0.236/trunk@25335 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 21:35:43 +00:00
troy%netscape.com
d8b458d855 Partial fix for bug #4315. Changed scroll frame to set view visibility to
hide if the frame should not be displayed


git-svn-id: svn://10.0.0.236/trunk@25334 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 18:21:54 +00:00
locka%iol.ie
dcc9e2e45e Refined tests a bit.
Fixed debug output window to autoscroll with output.


git-svn-id: svn://10.0.0.236/trunk@25333 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 12:59:25 +00:00
locka%iol.ie
6c0122a382 Moved nasty IIDs into a single file, guids.cpp
Improved IE DOM. Seems to parse properly now


git-svn-id: svn://10.0.0.236/trunk@25332 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 12:58:23 +00:00
mcafee%netscape.com
df13c2cd14 Adding nsClipboard to the Unix build.
git-svn-id: svn://10.0.0.236/trunk@25331 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 09:59:19 +00:00
mcafee%netscape.com
402e90a38b Gtk version of nsClipboard.
git-svn-id: svn://10.0.0.236/trunk@25330 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 09:58:00 +00:00
mcafee%netscape.com
fe973224df Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@25329 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 09:22:27 +00:00
jband%netscape.com
e4e47d3cb0 adding to include list for new dependency on libxpt
git-svn-id: svn://10.0.0.236/trunk@25328 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 08:42:36 +00:00
jband%netscape.com
68fa3ac6bf removing export of removed file
git-svn-id: svn://10.0.0.236/trunk@25325 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 08:36:20 +00:00
mcafee%netscape.com
e6027de6c4 Removing windows include files from XP file.
git-svn-id: svn://10.0.0.236/trunk@25324 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 08:32:56 +00:00
mccabe%netscape.com
7c0d9806a3 Consolidated xpt_cpp.h with xptinfo.h; removed xpt_cpp.h. Also
modified uses...


git-svn-id: svn://10.0.0.236/trunk@25323 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 08:02:15 +00:00
jband%netscape.com
451650f048 fixing cases of declaration not exactly matching definition and a few other instances of extraneous 'const' on PRUnichar passed by value
git-svn-id: svn://10.0.0.236/trunk@25322 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 07:34:44 +00:00
jband%netscape.com
c7a2db96dc removing (yet another!) misplaced semi-colon
git-svn-id: svn://10.0.0.236/trunk@25321 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 06:20:40 +00:00
endico%mozilla.org
26551abdd5 oops was printing the oldest 15 to the rdf file, not the newest
git-svn-id: svn://10.0.0.236/trunk@25320 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 06:18:16 +00:00
mscott%netscape.com
179a5c9fe6 oops..forgot to check this one in. remove NODEPENDS.
git-svn-id: svn://10.0.0.236/trunk@25319 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 03:08:00 +00:00
jband%netscape.com
116f909300 quick fix for bustage -- JS_HAVE_LONG_LONG is not being set correctly in JS. Also, this code is not necessarily right on platforms here nspr's HAVE_LONG_LONG is not defined. I'll fix it right soon
git-svn-id: svn://10.0.0.236/trunk@25318 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:57:42 +00:00
warren%netscape.com
afbfb7b666 PR_FALSE is not nsnull!
git-svn-id: svn://10.0.0.236/trunk@25317 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:56:52 +00:00
rjc%netscape.com
efd7d7a20c Build Wallet after Network.
git-svn-id: svn://10.0.0.236/trunk@25316 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:48:23 +00:00
terry%netscape.com
98b2de7e97 Added stuff to make it more obvious how to create an account.
git-svn-id: svn://10.0.0.236/trunk@25315 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:28:51 +00:00
beard%netscape.com
70e4238492 Really added nsBoxFrame.cpp. Don't know why camelot failed.
git-svn-id: svn://10.0.0.236/trunk@25314 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:28:38 +00:00
warren%netscape.com
eaa60af4c4 Added ShutdownGlobalServiceManager
git-svn-id: svn://10.0.0.236/trunk@25313 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:22:33 +00:00
evaughan%netscape.com
4b76ac90d9 Fi
git-svn-id: svn://10.0.0.236/trunk@25312 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:15:31 +00:00
briano%netscape.com
2940677767 Automated update
git-svn-id: svn://10.0.0.236/trunk@25311 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:14:32 +00:00
rjc%netscape.com
264655794c Add Morse's Wallet into Mac build.
git-svn-id: svn://10.0.0.236/trunk@25310 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:09:31 +00:00
briano%netscape.com
9632a5e5e6 Fix (sort of) for NetBSD/alpha 1.3H specifically, but perhaps others as well.
git-svn-id: svn://10.0.0.236/trunk@25309 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:09:04 +00:00
jband%netscape.com
f4f47e1b50 removing (more!) misplaced semi-colons that break some platforms
git-svn-id: svn://10.0.0.236/trunk@25308 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:08:30 +00:00
rjc%netscape.com
a5df7267d4 Mac-related fixed for wallet.
git-svn-id: svn://10.0.0.236/trunk@25307 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:08:17 +00:00
rjc%netscape.com
1dc06413b4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25306 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:07:35 +00:00
gagan%netscape.com
73d5ebe152 Changes to build http in its own library. and use auto detection/registry.
git-svn-id: svn://10.0.0.236/trunk@25305 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:05:59 +00:00
gagan%netscape.com
5a29e518ac Changes to accomodate HTTP being built separately and dynamically loaded.
git-svn-id: svn://10.0.0.236/trunk@25304 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:01:12 +00:00
jband%netscape.com
b3a65ff119 removing misplaced semi-colons and comma after last item in enum that break some platforms
git-svn-id: svn://10.0.0.236/trunk@25303 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 02:00:27 +00:00
gagan%netscape.com
3a680454ac Initiated AutoRegister calls for XPCOM, to allow for http to load
dynamically.


git-svn-id: svn://10.0.0.236/trunk@25302 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:59:54 +00:00
gagan%netscape.com
0ab4d64536 Moved the HTTP handler to its own dll. Registration/Auto detection thru
XPCOM now.


git-svn-id: svn://10.0.0.236/trunk@25301 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:59:13 +00:00
jband%netscape.com
6c9cb6fb43 removing misplaced semi-colonsthat break some platforms
git-svn-id: svn://10.0.0.236/trunk@25300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:53:40 +00:00
mcmullen%netscape.com
5476ff4016 Add the install rules for the prefs content.
git-svn-id: svn://10.0.0.236/trunk@25299 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:50:54 +00:00
evaughan%netscape.com
94d1716382 Added box frame.
git-svn-id: svn://10.0.0.236/trunk@25298 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:35:55 +00:00
evaughan%netscape.com
3834862dd8 Added some box layout properties.
git-svn-id: svn://10.0.0.236/trunk@25297 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:32:21 +00:00
kipp%netscape.com
aeeeb5bb86 Removed carried-out-top-margin
git-svn-id: svn://10.0.0.236/trunk@25296 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:24:24 +00:00
kipp%netscape.com
e872d240b1 Eliminate speculative-top-margin cruft; use new block reflow context API
git-svn-id: svn://10.0.0.236/trunk@25295 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:23:30 +00:00
kipp%netscape.com
b804af8a30 Removed carried out top margin
git-svn-id: svn://10.0.0.236/trunk@25294 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:23:06 +00:00
kipp%netscape.com
2d7802dd88 Moved vertical margin application into here; implement top-margin collapsing logic
git-svn-id: svn://10.0.0.236/trunk@25293 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:22:45 +00:00
kipp%netscape.com
72843bd8a8 Reworked vertical margin handling; fixed some issues with floater placement and clearing and block element clearing (bugs #1080, #1808, ...
git-svn-id: svn://10.0.0.236/trunk@25292 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:22:14 +00:00
kipp%netscape.com
34e1ac3798 Added methods to support pre-collapsing of top-margins; expose class-id for nsBlockReflowContext code
git-svn-id: svn://10.0.0.236/trunk@25291 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:21:21 +00:00
kipp%netscape.com
b7d7f14850 Translate trapezoid into proper coordinate system
git-svn-id: svn://10.0.0.236/trunk@25290 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:20:46 +00:00
kipp%netscape.com
ec12bbacef Implement new method
git-svn-id: svn://10.0.0.236/trunk@25289 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:20:15 +00:00
kipp%netscape.com
cde51e3c4f Added a new method
git-svn-id: svn://10.0.0.236/trunk@25288 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:20:02 +00:00
kipp%netscape.com
868d6fe618 Create area frame properly so that it applies vertical margins to its children (bug #1080)
git-svn-id: svn://10.0.0.236/trunk@25287 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:19:29 +00:00
evaughan%netscape.com
1f1d24bf7a added files: mozilla/layout/xul/base/src/nsBoxFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@25286 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:04:02 +00:00
av%netscape.com
9aeb6fc384 Image recognition by file extension for object tag
git-svn-id: svn://10.0.0.236/trunk@25285 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:00:02 +00:00
ftang%netscape.com
be5c280e9a add Set/GetWordBreaker to nsIDocument. reviewed and approved by waterson
git-svn-id: svn://10.0.0.236/trunk@25284 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:58:42 +00:00
ftang%netscape.com
f630cec648 add Set/GetWordBreaker to nsIDocument. Reviewed and approved by kipp
git-svn-id: svn://10.0.0.236/trunk@25283 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:58:41 +00:00
evaughan%netscape.com
cddf6f971f Added XUL based layout manager.
git-svn-id: svn://10.0.0.236/trunk@25282 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:58:29 +00:00
cyeh%netscape.com
85003a48d1 checkin mac script changes to generate build numbers on macintosh
git-svn-id: svn://10.0.0.236/trunk@25281 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:55:59 +00:00
mcmullen%netscape.com
63824a54a8 Add prefs stuff to the build.
git-svn-id: svn://10.0.0.236/trunk@25280 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:52:19 +00:00
cyeh%netscape.com
6247302ede turn on build numbers for windows builds.
git-svn-id: svn://10.0.0.236/trunk@25279 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:46:15 +00:00
danm%netscape.com
200c9b103f add modal behaviour to modal dialogs
git-svn-id: svn://10.0.0.236/trunk@25278 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:39:33 +00:00
cyeh%netscape.com
b78f13c18c change this script so that it inserts a build number into navigator.xul
git-svn-id: svn://10.0.0.236/trunk@25277 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:35:59 +00:00
michaelp%netscape.com
bcda6a9615 added for Nexware guys.
git-svn-id: svn://10.0.0.236/trunk@25276 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:31:10 +00:00
waterson%netscape.com
39c673f529 Got this building and running again.
git-svn-id: svn://10.0.0.236/trunk@25275 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:30:20 +00:00
jband%netscape.com
10794ea35c integrating code from John Fairhurst <mjf35@cam.ac.uk> to deal with platforms without long long support
git-svn-id: svn://10.0.0.236/trunk@25274 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:30:19 +00:00
waterson%netscape.com
e10292bfd8 Added paranoid check to UnregisterDataSource() in the case that the datasource was never registered & tries to unregister in its destructor. Optimization to GetResource() -- do away with nsString's as they were causing a lot of heap activity.
git-svn-id: svn://10.0.0.236/trunk@25273 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:29:35 +00:00
waterson%netscape.com
9e28ad34ee Added check for null pointer when doing synchronous read. Netlib return codes are bogus.
git-svn-id: svn://10.0.0.236/trunk@25272 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:28:08 +00:00
waterson%netscape.com
b9c6509700 Added SetCookieString() and modified to make it easier to use outside of the browser.
git-svn-id: svn://10.0.0.236/trunk@25271 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:26:40 +00:00
waterson%netscape.com
452eae5188 Added SetCookieString() method, added one byte (for null termination) to browsing profile cookie size, changed NS_NewBrowsingProfile() signature -- no param.
git-svn-id: svn://10.0.0.236/trunk@25270 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:26:03 +00:00
michaelp%netscape.com
399f2dd9ac added for guys from Nexware.
git-svn-id: svn://10.0.0.236/trunk@25269 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:25:26 +00:00
waterson%netscape.com
e116755220 Added plc to libs and directory.rdf to install.
git-svn-id: svn://10.0.0.236/trunk@25268 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:25:19 +00:00
waterson%netscape.com
e6032ffb41 Altered NS_NewBrowsingProfile() -- no extra param.
git-svn-id: svn://10.0.0.236/trunk@25267 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:24:46 +00:00
waterson%netscape.com
af34064090 Initial revision. Not in the browser build.
git-svn-id: svn://10.0.0.236/trunk@25266 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:23:40 +00:00
mcafee%netscape.com
7e02b7783c Adding editor to Tasks menu.
git-svn-id: svn://10.0.0.236/trunk@25265 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:23:07 +00:00
nhotta%netscape.com
009c4ce088 Fixed unix compile error.
git-svn-id: svn://10.0.0.236/trunk@25264 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:21:41 +00:00
slamm%netscape.com
0acbce5f02 Make the .deps directory during the export and libs passes. Fix for #4310.
git-svn-id: svn://10.0.0.236/trunk@25263 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:18:41 +00:00
mjudge%netscape.com
9839e1f518 fixing errors with pre spaced text. prepareunicode string was not filling the index array correctly for thatn
git-svn-id: svn://10.0.0.236/trunk@25262 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:18:32 +00:00
vidur%netscape.com
c4b5a6f76c Fix for bug 3165. Unqualified references to location now resolve to window.location
git-svn-id: svn://10.0.0.236/trunk@25261 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:11:13 +00:00
nhotta%netscape.com
d3484beaaa Not a part of the main build, added test info for the sorting.
git-svn-id: svn://10.0.0.236/trunk@25260 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:11:09 +00:00
mcmullen%netscape.com
7ff0de82ed Rearrange the code so that windows can be closed programmatically, and deregistration etc all happens, in a more foolproof way.
git-svn-id: svn://10.0.0.236/trunk@25259 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:09:04 +00:00
mcafee%netscape.com
85d227f2cc Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@25258 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:08:06 +00:00
mcmullen%netscape.com
c5ba1a5fe7 Add and remove the appcore from the manager's list.
git-svn-id: svn://10.0.0.236/trunk@25257 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:07:49 +00:00
mcmullen%netscape.com
4856322c37 Added prefscore.
git-svn-id: svn://10.0.0.236/trunk@25256 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:06:45 +00:00
mcmullen%netscape.com
f031d1b632 Added support for prefscore
git-svn-id: svn://10.0.0.236/trunk@25255 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:06:03 +00:00
mcafee%netscape.com
a8b33c6cb2 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@25253 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:03:55 +00:00
mcmullen%netscape.com
37aba008c8 Added PrefsCore.idl
git-svn-id: svn://10.0.0.236/trunk@25252 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:03:50 +00:00
mcmullen%netscape.com
3b905e2442 export nsIDOMPrefsCore.h
git-svn-id: svn://10.0.0.236/trunk@25251 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:01:48 +00:00
mcmullen%netscape.com
cd3a52be5e Export nsIDOMPrefsCore.h
git-svn-id: svn://10.0.0.236/trunk@25250 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:01:25 +00:00
mcmullen%netscape.com
c8559e8d8c Export the xul files for preferences.
git-svn-id: svn://10.0.0.236/trunk@25249 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:00:50 +00:00
chuang%netscape.com
0e8c6a0c87 Fix throbber icon url
git-svn-id: svn://10.0.0.236/trunk@25248 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:00:05 +00:00
mcmullen%netscape.com
f0d2b8d791 Made mList static.
git-svn-id: svn://10.0.0.236/trunk@25247 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 23:59:35 +00:00
alecf%netscape.com
49fa38ed58 add libreg to mime libraries so that there are no undefined symbols
git-svn-id: svn://10.0.0.236/trunk@25246 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 23:59:15 +00:00
mcmullen%netscape.com
def31bd113 Hooked up preferences
git-svn-id: svn://10.0.0.236/trunk@25245 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 23:58:22 +00:00
mcmullen%netscape.com
b0fe62da75 Added NS_PREFCORECID
git-svn-id: svn://10.0.0.236/trunk@25244 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 23:57:30 +00:00
mcmullen%netscape.com
867fbf9046 Added prefs core files
git-svn-id: svn://10.0.0.236/trunk@25243 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 23:56:33 +00:00
mcmullen%netscape.com
d5f4b409d7 Added nsIDOMPrefCore.h
git-svn-id: svn://10.0.0.236/trunk@25242 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 23:56:06 +00:00
mcmullen%netscape.com
5763ebedca First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25241 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 23:55:32 +00:00
pinkerton%netscape.com
d2d34b0f48 better handle borders and sizing when laying out children.
git-svn-id: svn://10.0.0.236/trunk@25240 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 23:51:05 +00:00
dougt%netscape.com
4b48d6280b Thou shall not build on unix.
I am turning xpinstall install off on unix until we figure out the
linking problem that all components are having.
donm approved.


git-svn-id: svn://10.0.0.236/trunk@25237 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 23:20:09 +00:00
sspitzer%netscape.com
32f8bde15b fix so that libmailnews.so will pick up
FindDescendant__16nsMsgGroupRecordPCc
also known as,
nsMsgGroupRecord::FindDescendant(char const *)


git-svn-id: svn://10.0.0.236/trunk@25236 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 23:13:13 +00:00
briano%netscape.com
b760f769a1 Fixed the bug that was assuming Linux==x86 (only).
git-svn-id: svn://10.0.0.236/trunk@25235 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 23:06:38 +00:00
endico%mozilla.org
431f22b722 Change the title and change link to point to newsbot instead of
main web site.


git-svn-id: svn://10.0.0.236/trunk@25232 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 21:18:24 +00:00
dougt%netscape.com
0f00269f9f Bug 4303. libjar should not be build as a component.
git-svn-id: svn://10.0.0.236/trunk@25231 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 20:49:52 +00:00
donm%netscape.com
6e7dbccbbf backing out evaughan's changes. tree closed.
git-svn-id: svn://10.0.0.236/trunk@25230 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 19:39:23 +00:00
cyeh%netscape.com
837599e269 oops, mozilla/modules/libjar, needed the modules part
git-svn-id: svn://10.0.0.236/trunk@25229 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 19:28:44 +00:00
cyeh%netscape.com
d383f90e77 adjust Raptor modules
git-svn-id: svn://10.0.0.236/trunk@25228 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 19:28:02 +00:00
slamm%netscape.com
44d7505c3d Make user/rev link goto the diffs like it used to. What I would really like to have is a tools that is a combined blame/diff.
git-svn-id: svn://10.0.0.236/trunk@25227 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 19:20:36 +00:00
evaughan%netscape.com
c4901ff00a added files: mozilla/layout/xul/base/src/nsBoxFrame.cpp, mozilla/layout/xul/base/src/nsBoxFrame.h
git-svn-id: svn://10.0.0.236/trunk@25226 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 18:53:36 +00:00
evaughan%netscape.com
fc3e4622f8 Added box layout system.
git-svn-id: svn://10.0.0.236/trunk@25225 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 18:51:08 +00:00
dp%netscape.com
4fb273cecf One more point where load fail is detected. Adding error message
git-svn-id: svn://10.0.0.236/trunk@25224 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 18:49:46 +00:00
dp%netscape.com
79264c6ecf Showing a error message when lib loading fails.
git-svn-id: svn://10.0.0.236/trunk@25223 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 18:23:04 +00:00
rods%netscape.com
c3cb42e511 Added correct include file
git-svn-id: svn://10.0.0.236/trunk@25222 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 15:55:38 +00:00
rods%netscape.com
a7abcafe17 Change DoCopy for new clipboard support to put XIF on clipboard
git-svn-id: svn://10.0.0.236/trunk@25221 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 15:51:07 +00:00
rods%netscape.com
1e195c10d5 Minor changes to call to new clipboard
git-svn-id: svn://10.0.0.236/trunk@25220 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 15:49:28 +00:00
rods%netscape.com
6e51f85dfc removed two unused mthoed change GetData to be '*' instead of '**'
git-svn-id: svn://10.0.0.236/trunk@25219 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 15:45:04 +00:00
rods%netscape.com
e412513b0b Clipboard now derived from nsBaseClipboard
git-svn-id: svn://10.0.0.236/trunk@25218 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 15:43:48 +00:00
rods%netscape.com
ae5dccf926 removed DataFlavor and Transferable
git-svn-id: svn://10.0.0.236/trunk@25217 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 15:43:22 +00:00
rods%netscape.com
c7e0a277d9 Added parser for linking in XIF support
git-svn-id: svn://10.0.0.236/trunk@25215 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 15:40:32 +00:00
rods%netscape.com
34283068e1 Added additional MIME constants
git-svn-id: svn://10.0.0.236/trunk@25214 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 15:03:59 +00:00
rods%netscape.com
24df37d38f Added XIF support
git-svn-id: svn://10.0.0.236/trunk@25213 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 15:03:13 +00:00
rods%netscape.com
8335447da6 added nsBaseClipboard.cpp
git-svn-id: svn://10.0.0.236/trunk@25212 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 15:02:44 +00:00
rods%netscape.com
e6ece0e9e9 initial checkin
git-svn-id: svn://10.0.0.236/trunk@25211 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 15:01:23 +00:00
rods%netscape.com
ec5bfeb840 Added ShowClipboard method
git-svn-id: svn://10.0.0.236/trunk@25210 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 14:54:10 +00:00
karnaze%netscape.com
c4180882b1 bug 4141, space bar activating button
git-svn-id: svn://10.0.0.236/trunk@25209 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 13:47:35 +00:00
ramiro%netscape.com
a9f68d1bae Fix indiscriminate debug comment spewage.
git-svn-id: svn://10.0.0.236/trunk@25208 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 11:34:21 +00:00
ramiro%netscape.com
3d01980649 Opps, forgot a debug abort().
git-svn-id: svn://10.0.0.236/trunk@25207 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 10:40:44 +00:00
ramiro%netscape.com
d1119bae4b Fix 2 things.
1) dont do the RGB -> BGR conversion.  Its not needed thanks
to a IMGLIB workaround i just checked in.

2) create a pixmap from the image data only ONCE for unique image bits and
re paint that, instead of doing this every single time we render.


git-svn-id: svn://10.0.0.236/trunk@25206 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 09:53:13 +00:00
ramiro%netscape.com
79fcd3c593 Change ConvertRGBToRGB24 to be dumb on unix so that it doesn reverse the
byte order.  This is needed because the unix gtk image munging code expects
the image data to be in RGB format.

The ConvertRGBToRGB24 conversion is obviously a waste of time on unix and
probably mac.

Unfortunately, the alternative seems to require significant IMGLIB
work.  Simply seeting to ic->converter to NULL for the 24 bit case
did not work as expected.

The correct fix might be to not do any conversion if the image data
is already in the format expected on the nsIImage end.


git-svn-id: svn://10.0.0.236/trunk@25205 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 09:50:40 +00:00
ramiro%netscape.com
078023d916 noisy fonts only on debug build.
git-svn-id: svn://10.0.0.236/trunk@25204 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 09:46:28 +00:00
ramiro%netscape.com
f527873bd8 print depth on debug printf
git-svn-id: svn://10.0.0.236/trunk@25203 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 09:43:57 +00:00
rjc%netscape.com
2b20fdbd5c Buffer up a line at a time when reading in FTP input.
git-svn-id: svn://10.0.0.236/trunk@25201 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 07:44:01 +00:00
rjc%netscape.com
2e010ff1c4 Gotta luv Makefiles!
git-svn-id: svn://10.0.0.236/trunk@25200 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 06:06:16 +00:00
rjc%netscape.com
ca406c308f Add FTP datasource into build.
git-svn-id: svn://10.0.0.236/trunk@25199 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 05:57:22 +00:00
briano%netscape.com
4617a68ec0 Automated update
git-svn-id: svn://10.0.0.236/trunk@25198 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 05:44:30 +00:00
slamm%netscape.com
9c39c662be 1. Turn --enable-md on by default if using GNU tools.
2. Remove "-include" test again. I thought we needed it but we don't.
3. Standardize GNU_CC and GNU_CXX usage.
4. General clean-up.


git-svn-id: svn://10.0.0.236/trunk@25197 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 05:37:38 +00:00
waterson%netscape.com
621af9400f Fixed bad merge.
git-svn-id: svn://10.0.0.236/trunk@25196 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 05:34:36 +00:00
rjc%netscape.com
0b059cd4b1 More FTP changes. (Not yet in build)
git-svn-id: svn://10.0.0.236/trunk@25195 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 05:20:25 +00:00
waterson%netscape.com
384aed0f6d Added some preconditions; changed resource equality test to interface ==.
git-svn-id: svn://10.0.0.236/trunk@25194 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 04:44:24 +00:00
waterson%netscape.com
d4829b1b99 Added the _real_ RDF namespace, commented out for now.
git-svn-id: svn://10.0.0.236/trunk@25193 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 04:43:28 +00:00
waterson%netscape.com
089064c1d0 Removed HACK_DONT_USE_LIBREG #ifdef.
git-svn-id: svn://10.0.0.236/trunk@25192 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 04:43:02 +00:00
waterson%netscape.com
8eb6617e09 Fixed default namespaces.
git-svn-id: svn://10.0.0.236/trunk@25191 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 04:42:29 +00:00
waterson%netscape.com
7361bd6f32 Added assert to scream when the browsing profile can't be loaded.
git-svn-id: svn://10.0.0.236/trunk@25190 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 04:41:09 +00:00
waterson%netscape.com
2c55d80398 Debugged to get working.
git-svn-id: svn://10.0.0.236/trunk@25189 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 04:40:32 +00:00
troy%netscape.com
ede920e0b8 Fix for bug #2592. Changed ComputeMargin() and ComputePadding() to handle
'inherit' when calculating the computed values


git-svn-id: svn://10.0.0.236/trunk@25188 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 03:57:46 +00:00
mscott%netscape.com
7d4b137182 When running an imap command through a url, register the test harness as a listener to the url so we can get a call back when the url is done. This allows us to not display the command menu item to the user until the url is finished. I also cleaned up some ref counting stuff with regards to when a url is created and when we release it.
git-svn-id: svn://10.0.0.236/trunk@25187 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 03:40:08 +00:00
mscott%netscape.com
c3980e547f For now, when we get on data available from the server and we successfully wrote data out through the log interface, then mark the url as done.
git-svn-id: svn://10.0.0.236/trunk@25186 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 03:37:33 +00:00
mscott%netscape.com
ba1d488ac2 initialize ptr to nsnull.
git-svn-id: svn://10.0.0.236/trunk@25185 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 03:35:42 +00:00
terry%netscape.com
30e8a761e3 Look for text like "bug 213" and make it a link to that bug...
git-svn-id: svn://10.0.0.236/trunk@25184 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 03:11:49 +00:00
danm%netscape.com
95b9ecdd63 removing glowcode. a:jband
git-svn-id: svn://10.0.0.236/trunk@25183 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 02:37:22 +00:00
terry%netscape.com
265dc8e59f Redo the linkifying of URLs and email addresses to not munge up weird
cases so badly.


git-svn-id: svn://10.0.0.236/trunk@25182 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 02:34:12 +00:00
mscott%netscape.com
b4869ff1bb Fix build breakage on windows. For some reason VC6.0 is able to find the include file for nsMsgKey_none. VC5.0 apparently has more problems with it...
git-svn-id: svn://10.0.0.236/trunk@25181 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 02:05:14 +00:00
kipp%netscape.com
32e9a9f145 Use raw trapezoid data to solve issues of floaters with margins (bug #2024)
git-svn-id: svn://10.0.0.236/trunk@25180 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:59:13 +00:00
danm%netscape.com
8290fe1b98 oooo. rev 1.15 added dist/public/dom to INC path incorrectly. did it right this time.
git-svn-id: svn://10.0.0.236/trunk@25179 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:41:50 +00:00
ftang%netscape.com
29f4aa1403 correct katakan/hiragana/katakana-iroha/hiragana-iroha list after reviewed by momoi. Add implementation for NS_STYLE_LIST_STYLE_DECIMAL_LEADING_ZERO.
git-svn-id: svn://10.0.0.236/trunk@25178 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:37:27 +00:00
jband%netscape.com
43305d4d95 catpure caller information to display in the exception if uncaught and verbose is set
git-svn-id: svn://10.0.0.236/trunk@25177 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:31:16 +00:00
nhotta%netscape.com
0070930ea8 Removed to link to mime, it wasn't needed.
git-svn-id: svn://10.0.0.236/trunk@25176 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:28:14 +00:00
mscott%netscape.com
eacd2c2c39 Don't link with nntp.lib. news now builds as a stand alone component.
git-svn-id: svn://10.0.0.236/trunk@25175 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:13:55 +00:00
mscott%netscape.com
de6abfbe9b Don't built nntpTest until it is upgraded to use the new news service.
git-svn-id: svn://10.0.0.236/trunk@25174 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:11:20 +00:00
mscott%netscape.com
899acccd2d Build nsNntpService.
git-svn-id: svn://10.0.0.236/trunk@25173 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:10:16 +00:00
mscott%netscape.com
f8a87304fc Export nsINntpService.h
git-svn-id: svn://10.0.0.236/trunk@25172 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:09:32 +00:00
mscott%netscape.com
994e2e9019 Build the build directory.
git-svn-id: svn://10.0.0.236/trunk@25171 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:09:02 +00:00
mscott%netscape.com
d010306759 Build news\build. Part of making news a standalone component.
git-svn-id: svn://10.0.0.236/trunk@25170 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:08:43 +00:00
mscott%netscape.com
4c1b78c446 News now builds as a standalone component. Don't link with nntp.lib.
git-svn-id: svn://10.0.0.236/trunk@25169 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:07:20 +00:00
mscott%netscape.com
e150096839 News now builds as a standalone component. Use the nntp service for running news urls and remove the old "C" functions.
git-svn-id: svn://10.0.0.236/trunk@25168 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:06:41 +00:00
mscott%netscape.com
aa0b0e9bf1 Part of making news a standalone component. Build the "build" directory.
git-svn-id: svn://10.0.0.236/trunk@25167 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:05:20 +00:00
mscott%netscape.com
e3692b6077 Part of making news a stand alone component. nntp url supports the nsIMsgMailNewsUrl interface.
git-svn-id: svn://10.0.0.236/trunk@25166 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:04:12 +00:00
mscott%netscape.com
4cf788df9c Build nsNntpService.
git-svn-id: svn://10.0.0.236/trunk@25165 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:03:27 +00:00
mscott%netscape.com
954afd6c11 Spell nsNNTPProtocol.h correctly when including the file. (unix is case sensitive)
git-svn-id: svn://10.0.0.236/trunk@25164 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:02:57 +00:00
mscott%netscape.com
20b57a31eb Part of making news a stand alone dll. remove "C" functions for creating / running news url.
git-svn-id: svn://10.0.0.236/trunk@25163 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:02:12 +00:00
mscott%netscape.com
2f24345a3e Part of making news a stand alone dll. Updates to nntp url to inherit from nsIMsgMailNewsUrl.Add url listener code as well.
git-svn-id: svn://10.0.0.236/trunk@25162 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 01:01:15 +00:00
ftang%netscape.com
381a5a09ed change word break interface
git-svn-id: svn://10.0.0.236/trunk@25161 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:49:57 +00:00
ftang%netscape.com
e85bdbc9b2 take out wrong assertion, we should do QueryInterface to both entry->mService and service with the sand IID and them compare them . approved by warren
git-svn-id: svn://10.0.0.236/trunk@25160 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:49:06 +00:00
kipp%netscape.com
2a65b0c8d1 Some tweaks for better compatability
git-svn-id: svn://10.0.0.236/trunk@25159 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:42:39 +00:00
kipp%netscape.com
44389095c5 Provide zero margins for other sides
git-svn-id: svn://10.0.0.236/trunk@25158 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:41:59 +00:00
kipp%netscape.com
a0bf1cc46e Work around some first-letter bugs
git-svn-id: svn://10.0.0.236/trunk@25157 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:41:36 +00:00
kipp%netscape.com
a8dd90181c Undo partial fix for 3882 since its a bad fix
git-svn-id: svn://10.0.0.236/trunk@25156 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:40:37 +00:00
kipp%netscape.com
31b8a2b343 Added rendering layer defines
git-svn-id: svn://10.0.0.236/trunk@25155 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:40:06 +00:00
kipp%netscape.com
9e4c4cb1e3 Whacked paint methods to use new constants
git-svn-id: svn://10.0.0.236/trunk@25154 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:39:35 +00:00
kipp%netscape.com
1a8d633e4e Fixed bugs #1277, #2007 and #1517 and #1918; rendering is improved for floaters and a minimim height rule is now enforced for computed-height situations
git-svn-id: svn://10.0.0.236/trunk@25153 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:39:04 +00:00
kipp%netscape.com
e86d824453 Init mFloaters
git-svn-id: svn://10.0.0.236/trunk@25152 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:37:32 +00:00
kipp%netscape.com
b171cbe552 Fixed bug #4112
git-svn-id: svn://10.0.0.236/trunk@25151 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:37:22 +00:00
nhotta%netscape.com
e08ae91769 Backed out my last change, it wasn't needed.
git-svn-id: svn://10.0.0.236/trunk@25150 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:27:52 +00:00
cyeh%netscape.com
b3aab8a809 *warning, hack alert*. put a build number in the bottom status bar so that
we can track daily builds. the build number won't be here in the shipping product
this is a token string that will be replaced at build time with a legit build number.
this will need to be pulled in favor of something more graceful, and a good deal less hacky.


git-svn-id: svn://10.0.0.236/trunk@25149 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:27:43 +00:00
slamm%netscape.com
370f2db0a3 Add depend target. Move find-mozconfig.sh checkout into mozconfig2*.sh scripts. Redo comments.
git-svn-id: svn://10.0.0.236/trunk@25148 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:03:10 +00:00
slamm%netscape.com
c03a82edaf Checkout find-mozconfig.sh if needed.
git-svn-id: svn://10.0.0.236/trunk@25147 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:00:22 +00:00
slamm%netscape.com
d4f462bc00 New warning for depend target and compiler-based dependencies.
git-svn-id: svn://10.0.0.236/trunk@25146 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:51:11 +00:00
jj%netscape.com
3a2bed7bc8 fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@25145 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:50:11 +00:00
slamm%netscape.com
6e1744f8f9 Take CFLAGS off link line
git-svn-id: svn://10.0.0.236/trunk@25144 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:47:43 +00:00
cata%netscape.com
21341cb4f6 Using support classes.
git-svn-id: svn://10.0.0.236/trunk@25143 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:45:51 +00:00
erik%netscape.com
0625fdcb29 Unicode support for fonts on Windows. Reviewed by Michael Plitkins.
git-svn-id: svn://10.0.0.236/trunk@25142 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:41:36 +00:00
nhotta%netscape.com
8758fd0be7 I18n migration, CSID -> Charset Name.
git-svn-id: svn://10.0.0.236/trunk@25141 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:41:03 +00:00
nhotta%netscape.com
7a401a853f Added mime.
git-svn-id: svn://10.0.0.236/trunk@25140 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:39:16 +00:00
mcafee%netscape.com
78f453eef5 Renamed GetTransferable() to GetData()
git-svn-id: svn://10.0.0.236/trunk@25139 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:39:03 +00:00
slamm%netscape.com
e741fb6ff9 Use OS_LDFLAGS instead of CFLAGS.
git-svn-id: svn://10.0.0.236/trunk@25138 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:23:09 +00:00
mcafee%netscape.com
fd5b8c7f62 Renaming {SetTransferable(), GetTransferable()} to {SetData(), GetData()} per our clipboard meeting this morning.
git-svn-id: svn://10.0.0.236/trunk@25137 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:22:01 +00:00
slamm%netscape.com
2085ce2e25 Turn log caching back on by default, but this time check logfile times. That way if it changes, the cached file will be updated.
git-svn-id: svn://10.0.0.236/trunk@25136 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:15:40 +00:00
slamm%netscape.com
244958418e never mind. I know what I would have to do to fix the cache but it isn't worth it.
git-svn-id: svn://10.0.0.236/trunk@25135 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 23:13:58 +00:00
alecf%netscape.com
baa7596351 define PurgeNeeded so that this isn't undefined in this library
git-svn-id: svn://10.0.0.236/trunk@25134 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 22:48:02 +00:00
alecf%netscape.com
65641d9b2f link against libreg to avoid undefined symbols
git-svn-id: svn://10.0.0.236/trunk@25133 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 22:47:44 +00:00
alecf%netscape.com
295edd67f0 fix for #4264 - move fe_GetConfigDir into libxp, because that is in-memory and available for components to use
I've heard rumors that this will break mac, but I'll be able to fix it in one cycle
This allows components that don't link against libpref to be loaded and not crash


git-svn-id: svn://10.0.0.236/trunk@25132 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 22:45:46 +00:00
slamm%netscape.com
216adc7440 cache isn't working. Temporarily write out a log.
git-svn-id: svn://10.0.0.236/trunk@25131 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 22:36:51 +00:00
jj%netscape.com
95fa0754bf fixed access paths for non-debug target. 'dist' is now recursive.
git-svn-id: svn://10.0.0.236/trunk@25130 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 22:13:31 +00:00
slamm%netscape.com
2b17a252dc oh yeah, toss the cvslog.cgi output to /dev/null.
git-svn-id: svn://10.0.0.236/trunk@25129 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 21:45:28 +00:00
slamm%netscape.com
f37d03eafd Cache brief logs for busted builds.
git-svn-id: svn://10.0.0.236/trunk@25128 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 21:39:40 +00:00
briano%netscape.com
541cf0b4c4 Made the static library in this directory depend on the same 'extra stuff' as the shared library.
git-svn-id: svn://10.0.0.236/trunk@25127 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 21:32:26 +00:00
briano%netscape.com
636bf60174 Turned off the NO_STATIC_LIB restriction.
git-svn-id: svn://10.0.0.236/trunk@25126 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 21:29:34 +00:00
briano%netscape.com
3de804931a Handle NO_STATIC_LIB being set, when all this file does is create a static library.
git-svn-id: svn://10.0.0.236/trunk@25125 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 21:21:47 +00:00
slamm%netscape.com
6b30791025 Change caching feature to on demand. Otherwise, it may cache a log for a build that hasn't completed.
git-svn-id: svn://10.0.0.236/trunk@25121 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 21:13:42 +00:00
briano%netscape.com
2c7493c6fa Handle NO_STATIC_LIB being set, when all this file does is create a static library.
git-svn-id: svn://10.0.0.236/trunk@25120 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 21:10:22 +00:00
briano%netscape.com
7e3e480240 Change to provide support for platforms without shared library support, or for NO_SHARED_LIB builds.
git-svn-id: svn://10.0.0.236/trunk@25119 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 21:01:59 +00:00
akkana%netscape.com
0a37e24625 Linux part of dougt's libjar and libxpinstall changes
git-svn-id: svn://10.0.0.236/trunk@25118 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 20:47:28 +00:00
jj%netscape.com
f4243a67cc fixed bustage on line 1! ("`#!perl -w")
git-svn-id: svn://10.0.0.236/trunk@25117 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 20:36:51 +00:00
dougt%netscape.com
9d4bf92ed3 Adding XPInstall to build
Adding libjar to build.


git-svn-id: svn://10.0.0.236/trunk@25116 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 20:17:46 +00:00
dougt%netscape.com
40a5faec51 Adding XPInstall to the Mac build.
Adding libjar to the mac build.


git-svn-id: svn://10.0.0.236/trunk@25115 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 20:13:00 +00:00
akkana%netscape.com
393b39a5cd 4268: Fix broken SIMPLE_PROGRAMS rule for --enable-md. Fix courtesy of slamm, checkin approved by sar
git-svn-id: svn://10.0.0.236/trunk@25114 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 19:52:19 +00:00
peterl%netscape.com
37a273be7a protect recreate frames for content against content with no parent
git-svn-id: svn://10.0.0.236/trunk@25112 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 19:27:11 +00:00
sspitzer%netscape.com
6504ecac4f switch from "\\" to PR_DIRECTORY_SEPARATOR for portablility
git-svn-id: svn://10.0.0.236/trunk@25111 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 17:41:21 +00:00
cata%netscape.com
4a5fcc184f Support classes used.
git-svn-id: svn://10.0.0.236/trunk@25110 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 17:34:07 +00:00
cata%netscape.com
be4825dccf Multi-table helper decoder.
git-svn-id: svn://10.0.0.236/trunk@25109 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 17:33:39 +00:00
slamm%netscape.com
f667074e8a add check-modules.pl
git-svn-id: svn://10.0.0.236/trunk@25108 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 17:16:20 +00:00
mccabe%netscape.com
d8da835874 Move xptinfo, xptcall from export phase (erroneously copied from libxpt Makefile.in) to libs and back out previous temporary fix.
Finishing checkin.  Hopefully all is OK.


git-svn-id: svn://10.0.0.236/trunk@25106 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 10:35:19 +00:00
mccabe%netscape.com
4472153e37 Move xptinfo, xptcall from export phase (erroneously copied from libxpt Makefile.in) to libs and back out previous tree patch.
git-svn-id: svn://10.0.0.236/trunk@25105 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 10:28:39 +00:00
dp%netscape.com
4fee5a2e84 Updated tasks
git-svn-id: svn://10.0.0.236/trunk@25104 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 09:20:05 +00:00
jband%netscape.com
1a93507fbc backout building of xpconnect on Unix
git-svn-id: svn://10.0.0.236/trunk@25103 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 09:17:54 +00:00
jband%netscape.com
10a55697bf backout building of libxpt on Unix
git-svn-id: svn://10.0.0.236/trunk@25102 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 09:17:02 +00:00
jband%netscape.com
d1bfe75c7b fix build bustage due to use of nscore.h before it is exported - I don't understand why this stuff is being compiled in the export phase. We can that later.
git-svn-id: svn://10.0.0.236/trunk@25101 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 09:05:28 +00:00
warren%netscape.com
c27f993f33 Reverted accidental commit of makefile.win
git-svn-id: svn://10.0.0.236/trunk@25100 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 08:20:46 +00:00
warren%netscape.com
a7a24e4ab3 Added brprof bootstrapping code (ifdef DEBUG_warren for now).
git-svn-id: svn://10.0.0.236/trunk@25099 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 08:20:19 +00:00
mccabe%netscape.com
755476edfa Adding libxpt and xpconnect to the build.
git-svn-id: svn://10.0.0.236/trunk@25098 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 07:50:11 +00:00
warren%netscape.com
f9e6bf7a81 Renamed directory.xml to directory.rdf
git-svn-id: svn://10.0.0.236/trunk@25097 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 07:34:24 +00:00
warren%netscape.com
686ea65855 GetDataSource change to instantiate xml datasources by default.
git-svn-id: svn://10.0.0.236/trunk@25096 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 07:33:07 +00:00
warren%netscape.com
4e8eccdd05 Added GetMethodInfoForName
git-svn-id: svn://10.0.0.236/trunk@25095 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 07:30:47 +00:00
warren%netscape.com
c751dcd9b9 Hushed up stupid warnings on Windows.
git-svn-id: svn://10.0.0.236/trunk@25094 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 07:29:29 +00:00
peterl%netscape.com
233822bc0d augmented ReResolveStyleContext to capture style change information
git-svn-id: svn://10.0.0.236/trunk@25093 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:43:38 +00:00
peterl%netscape.com
2035dfb07e added percent handling for opacity property
git-svn-id: svn://10.0.0.236/trunk@25092 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:43:07 +00:00
peterl%netscape.com
9cc82e265f fix whitespace handling on attribute selectors
git-svn-id: svn://10.0.0.236/trunk@25091 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:42:42 +00:00
peterl%netscape.com
8954376875 added methods to process style changes on frames
git-svn-id: svn://10.0.0.236/trunk@25090 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:42:07 +00:00
peterl%netscape.com
fa1fcc976c capture all change data during style changes and deal with it properly
git-svn-id: svn://10.0.0.236/trunk@25089 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:41:43 +00:00
peterl%netscape.com
f3a5d4ddd2 add base tag info on the rest of the table elements too
git-svn-id: svn://10.0.0.236/trunk@25088 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:40:06 +00:00
peterl%netscape.com
3ddd7c1e6b cleaned up attribute style hints to reflect the real info
git-svn-id: svn://10.0.0.236/trunk@25087 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:39:12 +00:00
peterl%netscape.com
4c463555ac added files: mozilla/layout/base/src/nsStyleChangeList.cpp
git-svn-id: svn://10.0.0.236/trunk@25086 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:36:32 +00:00
peterl%netscape.com
d457e9b58d added nsStyleChangeList
git-svn-id: svn://10.0.0.236/trunk@25085 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:35:59 +00:00
peterl%netscape.com
caf18174e0 made opacity inherit by default
git-svn-id: svn://10.0.0.236/trunk@25084 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:34:57 +00:00
peterl%netscape.com
ad2589ad7b changed font weight bolder/lighter to give info about change
git-svn-id: svn://10.0.0.236/trunk@25083 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:33:58 +00:00
wtc%netscape.com
8b8b88d4a0 Use a default error-mapping function.
This work is contributed by Nelson Bolyard <nelsonb@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@25082 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:33:45 +00:00
peterl%netscape.com
5841c9d120 added method to process style changed frames
git-svn-id: svn://10.0.0.236/trunk@25081 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:33:25 +00:00
peterl%netscape.com
436552bc30 added args to ReResolveStyle to capture style change info
git-svn-id: svn://10.0.0.236/trunk@25080 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:32:56 +00:00
peterl%netscape.com
717093438e set default attribute style hint to content
git-svn-id: svn://10.0.0.236/trunk@25079 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:32:09 +00:00
bienvenu%netscape.com
9f6489d3cf i18n routines don't seem happy with empty strings, so don't pass them in
git-svn-id: svn://10.0.0.236/trunk@25078 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 05:55:28 +00:00
jefft%netscape.com
14f2a031be put back the original implementation of nsImapUrl::Equals method
git-svn-id: svn://10.0.0.236/trunk@25077 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 05:41:50 +00:00
cyeh%netscape.com
e48431ad73 this was a silly bug, introduced by trying to create *_layout targets
for the nglayout team. fixes clobber_all


git-svn-id: svn://10.0.0.236/trunk@25076 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 05:32:25 +00:00
troy%netscape.com
b82a5b3a21 Fix for bug #3445. Changed ReconstructDocElementHierarchy() to handle fixed
elements


git-svn-id: svn://10.0.0.236/trunk@25075 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 05:24:16 +00:00
jefft%netscape.com
a1b6d5216c added multiple inheritance nsINetLibURL
git-svn-id: svn://10.0.0.236/trunk@25074 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 05:19:59 +00:00
bienvenu%netscape.com
d88ecfa5ef add i18n interfaces for mime2 encoding and collation keys - shouldn't be called yet
git-svn-id: svn://10.0.0.236/trunk@25073 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 05:01:58 +00:00
morse%netscape.com
3626df655c wallet.cpp
git-svn-id: svn://10.0.0.236/trunk@25072 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:58:16 +00:00
mscott%netscape.com
b8715ed708 (not part of build yet) implementation of nntp service.
git-svn-id: svn://10.0.0.236/trunk@25071 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:48:45 +00:00
mscott%netscape.com
04dbd47256 (not part of build yet). New nntp service for processing nntp requests...
git-svn-id: svn://10.0.0.236/trunk@25070 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:48:01 +00:00
mscott%netscape.com
4d69b84f07 Not part of build yet. Register new nsNntpService component.
git-svn-id: svn://10.0.0.236/trunk@25069 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:47:12 +00:00
mscott%netscape.com
460a0bd11b (not part of build yet) remove NO_DEPEND.
git-svn-id: svn://10.0.0.236/trunk@25068 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:46:26 +00:00
waterson%netscape.com
365f14a80e Fixed refcounting to use NS_DECL/IMPL_ISUPPORTS_INHERITED.
git-svn-id: svn://10.0.0.236/trunk@25067 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:44:46 +00:00
mcafee%netscape.com
2c0ae957a7 Adding Mozilla license
git-svn-id: svn://10.0.0.236/trunk@25066 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:38:25 +00:00
mccabe%netscape.com
b9883814e2 Not part of the client build.
Ignore (generated) JS.c file.


git-svn-id: svn://10.0.0.236/trunk@25065 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:21:26 +00:00
mccabe%netscape.com
795b6cb7d8 Not part of the client build!
Preliminary, non-portable support for compiling JS.xs into a C file.


git-svn-id: svn://10.0.0.236/trunk@25064 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:19:52 +00:00
mcafee%netscape.com
a4764f57f2 Adding DataFlavor and Transferable classes to the build.
git-svn-id: svn://10.0.0.236/trunk@25063 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:17:14 +00:00
mcafee%netscape.com
6cbc385e7f Moving XP code from widget/src/windows to widget/src/xpwidgets.
git-svn-id: svn://10.0.0.236/trunk@25062 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:14:33 +00:00
sspitzer%netscape.com
c2d708f9ca fix to get mailboxTest to build on Linux.
It now builds, and runs, but it doesn't seem to pass.

I'm looking into it.


git-svn-id: svn://10.0.0.236/trunk@25061 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:07:55 +00:00
mscott%netscape.com
585280fa48 fix dependencies...
git-svn-id: svn://10.0.0.236/trunk@25059 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:07:34 +00:00
mscott%netscape.com
47c7cd9c10 Remove NODEPEND.
git-svn-id: svn://10.0.0.236/trunk@25058 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:05:08 +00:00
sfraser%netscape.com
1bdd1119ae Build script enhancements -- fix the dialogs that pop up to choose a session file, and to locate the IDE. Also do some application activation to lessen pull and build times.
git-svn-id: svn://10.0.0.236/trunk@25057 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:00:56 +00:00
sfraser%netscape.com
a8bd0d572a Impose a min size of 9pt on the font size for native controls -- bug 2440.
git-svn-id: svn://10.0.0.236/trunk@25056 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:58:18 +00:00
kipp%netscape.com
16b6e799cb Added some MOZ constants
git-svn-id: svn://10.0.0.236/trunk@25054 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:51:16 +00:00
kipp%netscape.com
b3eb9068ee Support (ever so slightly better) anonymous block reflow by returning a zero sized inline frame when wrapping an anonymous block - partial fix for bug #3882
git-svn-id: svn://10.0.0.236/trunk@25053 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:50:34 +00:00
kipp%netscape.com
165d9cd484 Made margin carried outs per-line-layout instead of per-frame
git-svn-id: svn://10.0.0.236/trunk@25052 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:49:47 +00:00
kipp%netscape.com
0b74b4b85a Fixed a bug that prevented text-indent from working next to floaters; support moz-right and moz-center text-align values
git-svn-id: svn://10.0.0.236/trunk@25051 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:49:29 +00:00
kipp%netscape.com
860c4872c3 Support compatability center/right align values for nav4 support
git-svn-id: svn://10.0.0.236/trunk@25050 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:48:51 +00:00
kipp%netscape.com
75458d92cb Fixed up area frame sizing calculations to properly compute the final height
git-svn-id: svn://10.0.0.236/trunk@25049 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:48:30 +00:00
kipp%netscape.com
e457c12b03 Use compatability table for div align mappings
git-svn-id: svn://10.0.0.236/trunk@25048 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:48:06 +00:00
kipp%netscape.com
542ae0948a Removed some dead code
git-svn-id: svn://10.0.0.236/trunk@25047 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:47:46 +00:00
kipp%netscape.com
54c995db37 Added in parsing support for -moz-center and -moz-right keywords for text-align
git-svn-id: svn://10.0.0.236/trunk@25046 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:47:24 +00:00
mccabe%netscape.com
3355fc79e2 Removed support for the JSFILE define. Not to be confused with the
'jsfile' js file object, the JSFINE define conditionally compiled
support for allowing the javascript scanner to read from filehandles.
We've decided that it's more annoying to support not supporting that
feature, so we enable it all of the time.


git-svn-id: svn://10.0.0.236/trunk@25045 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:47:02 +00:00
kipp%netscape.com
7696719276 Added some -moz keywords
git-svn-id: svn://10.0.0.236/trunk@25044 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:46:58 +00:00
sspitzer%netscape.com
fc2fd777f1 fixes to get this to build on Linux
libjs.so is now libmozjs.so

removed reference to libmailnewsbase.so

There is still a problem with the the test because nsMsgMailboxParser is
not a class anymore, it has been XPCOMmed.

More work to be done here...


git-svn-id: svn://10.0.0.236/trunk@25043 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:45:53 +00:00
mscott%netscape.com
f89ad75b43 remove NODEPEND
git-svn-id: svn://10.0.0.236/trunk@25042 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:43:10 +00:00
sfraser%netscape.com
be5b52ba7f Remove the Enter->Return key hackery, as this is done now when the key event is generated.
git-svn-id: svn://10.0.0.236/trunk@25041 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:41:07 +00:00
mscott%netscape.com
dcbbcfaf66 remove NODEPEND.
git-svn-id: svn://10.0.0.236/trunk@25040 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:40:55 +00:00
sfraser%netscape.com
0ea4fecfce Fix for bug 3824 -- fix key mappings on Mac, so that all known raptor key codes are output where possible.
git-svn-id: svn://10.0.0.236/trunk@25039 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:40:20 +00:00
jband%netscape.com
c32d755bc4 add xpconnect to the build on win32
git-svn-id: svn://10.0.0.236/trunk@25038 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:39:25 +00:00
jband%netscape.com
3611343513 add libxpt to the build on win32
git-svn-id: svn://10.0.0.236/trunk@25037 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:38:39 +00:00
jband%netscape.com
e137689e0f use nspr type
git-svn-id: svn://10.0.0.236/trunk@25036 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:37:40 +00:00
beard%netscape.com
27e9c3208e removed GetJSWindow, moved to nsIPluginInstancePeer2
git-svn-id: svn://10.0.0.236/trunk@25035 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:32:22 +00:00
beard%netscape.com
fc704832a0 implementing nsIPluginInstancePeer2.
git-svn-id: svn://10.0.0.236/trunk@25034 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:31:37 +00:00
beard%netscape.com
1261c0534c Removed GetJSWindow() method.
git-svn-id: svn://10.0.0.236/trunk@25033 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:30:49 +00:00
nisheeth%netscape.com
71c93aaadf Checking in webshell patches from Bruce Mitchener (bruce@cybersight.com). Thanks a lot.
git-svn-id: svn://10.0.0.236/trunk@25032 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:30:35 +00:00
beard%netscape.com
24430e4c39 using nsIPluginInstancePeer2
git-svn-id: svn://10.0.0.236/trunk@25031 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:30:14 +00:00
beard%netscape.com
cf7fc5c734 added nsIPluginInstancePeer2.h
git-svn-id: svn://10.0.0.236/trunk@25030 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:29:54 +00:00
jband%netscape.com
b0003b5095 added support for namespace attribute of interface
git-svn-id: svn://10.0.0.236/trunk@25029 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:24:32 +00:00
sspitzer%netscape.com
3ef9ec2c08 changes to get this to build on Linux.
More changes coming....


git-svn-id: svn://10.0.0.236/trunk@25028 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:04:22 +00:00
sspitzer%netscape.com
ffdfdaf272 work to get this stuff to build on Linux
changes to remove some warnings

Read() no longer takes an offset as the second parameter, so fixing that

more changes coming...


git-svn-id: svn://10.0.0.236/trunk@25027 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:03:47 +00:00
sspitzer%netscape.com
55164135c7 some clean up to get this to build on Linux
still more to be done....


git-svn-id: svn://10.0.0.236/trunk@25026 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:02:20 +00:00
sspitzer%netscape.com
b28d98156e removed aErrorCode from the comment.
aErrorCode is no longer a parameter to Read()


git-svn-id: svn://10.0.0.236/trunk@25025 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:00:04 +00:00
beard%netscape.com
2cb165ea4a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25024 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 02:45:38 +00:00
rjc%netscape.com
cb62a2e156 FTP data source (not yet in build)
git-svn-id: svn://10.0.0.236/trunk@25023 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 02:31:15 +00:00
rjc%netscape.com
fd30b57329 FTP datasource (not yet being built)
git-svn-id: svn://10.0.0.236/trunk@25022 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 02:30:21 +00:00
rickg%netscape.com
dbccdc95c5 another fix for entities
git-svn-id: svn://10.0.0.236/trunk@25021 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 01:27:41 +00:00
rickg%netscape.com
8b02f05a50 any fix for entities
git-svn-id: svn://10.0.0.236/trunk@25020 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 01:27:27 +00:00
terry%netscape.com
3fc7314bf9 If no branch is specified, use HEAD.
git-svn-id: svn://10.0.0.236/trunk@25019 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 01:17:36 +00:00
cyeh%netscape.com
2c895b5928 remove double pulls of xpfe and editor
git-svn-id: svn://10.0.0.236/trunk@25018 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 01:14:54 +00:00
gagan%netscape.com
383d8b5e2a N2 landing... everybody run! duck! hide...! It really should be ok.
git-svn-id: svn://10.0.0.236/trunk@25016 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 00:22:56 +00:00
slamm%netscape.com
e855a976c3 Put everything in a table.
git-svn-id: svn://10.0.0.236/trunk@25015 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 00:22:22 +00:00
terry%netscape.com
21e636db39 Quote URLs and email addresses in the long description of bugs.
git-svn-id: svn://10.0.0.236/trunk@25014 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 00:14:26 +00:00
cyeh%netscape.com
0cb75ae495 tweak RaptorWin to support *_layout targets for client.mak
git-svn-id: svn://10.0.0.236/trunk@25013 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 00:13:53 +00:00
danm%netscape.com
e78ac19744 ah. only compiles on the PC that way. taking another stab at it.
git-svn-id: svn://10.0.0.236/trunk@25012 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 23:44:46 +00:00
danm%netscape.com
9b775158f7 Hmmm. continued fixing on the windows app problem. Wouldn't build on my machine until I did this thing which will make morse angry. a:sar
git-svn-id: svn://10.0.0.236/trunk@25011 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 23:25:17 +00:00
dp%netscape.com
69a7ce70e1 fixing apparent mismatch between IDL and generated source. seems to fix the Windows startup crasher. a:sar
git-svn-id: svn://10.0.0.236/trunk@25010 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 23:14:43 +00:00
terry%netscape.com
cc03e2176c On re-reading bug 4133, I see that I should just turn off the
javascript stuff on all instances of IE.


git-svn-id: svn://10.0.0.236/trunk@25007 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 22:02:48 +00:00
terry%netscape.com
fabf8c45f3 Don't try to run our javascript if running on IE4.
git-svn-id: svn://10.0.0.236/trunk@25006 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 21:59:26 +00:00
jdunn%netscape.com
1bc2cebda2 backing out changes, because the tree was closed - doh
git-svn-id: svn://10.0.0.236/trunk@25005 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 21:55:53 +00:00
ducarroz%netscape.com
3133b2c2de First Checked In.
git-svn-id: svn://10.0.0.236/trunk@25004 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 21:49:55 +00:00
jdunn%netscape.com
2b292106b9 Fixed compiler error on AIX. The xlC compiler does not handle protected
structures correctly so for AIX, we make the structures public.

approved by kipp@netscape.com


git-svn-id: svn://10.0.0.236/trunk@25003 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 21:43:34 +00:00
jdunn%netscape.com
8a9c7fa28e Fix compiler errors on AIX
Approved by mcmullen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@25002 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 21:38:44 +00:00
sfraser%netscape.com
90c74e2f9a Fix build bustage -- new linkage dependencies in RaptorShell.mcp.
git-svn-id: svn://10.0.0.236/trunk@25001 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 21:35:53 +00:00
despotdaemon%netscape.com
e5bf4b679d Pseudo-automatic update of changes made by waqar@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@25000 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 21:23:32 +00:00
despotdaemon%netscape.com
0ffaec421a Pseudo-automatic update of changes made by jdunn@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@24999 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 21:03:49 +00:00
despotdaemon%netscape.com
1c8addd441 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@24998 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 20:21:40 +00:00
despotdaemon%netscape.com
badf5ab581 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@24997 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 20:19:49 +00:00
sfraser%netscape.com
d6e125d838 Fix for 4224 -- Mac crash on startup in registry code. sfraser & dp, approved sar.
git-svn-id: svn://10.0.0.236/trunk@24996 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 19:55:38 +00:00
rods%netscape.com
d9fdf9bf34 Commented offending (DEBUG) line
git-svn-id: svn://10.0.0.236/trunk@24995 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 18:42:34 +00:00
kipp%netscape.com
7444f81a69 Put my changes back in that don cone accidently removed
git-svn-id: svn://10.0.0.236/trunk@24994 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 15:57:24 +00:00
kipp%netscape.com
028c96ce5f Corrected some of the warning messages to reduce false alarms
git-svn-id: svn://10.0.0.236/trunk@24993 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 15:42:38 +00:00
kipp%netscape.com
4091823455 Fixed up floater combined area calculations
git-svn-id: svn://10.0.0.236/trunk@24992 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 15:42:19 +00:00
kipp%netscape.com
f590df7302 Tweaked the line-breaking logic so that certain floater situations don't trigger crashes
git-svn-id: svn://10.0.0.236/trunk@24991 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 15:41:49 +00:00
kipp%netscape.com
550af82f5b De-inlined some methods (temporary) and added CanPlaceFloaterNow
git-svn-id: svn://10.0.0.236/trunk@24990 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 15:41:17 +00:00
kipp%netscape.com
92c025bda0 Removed dependence on nsFrame (a no-no)
git-svn-id: svn://10.0.0.236/trunk@24989 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 15:40:44 +00:00
mcafee%netscape.com
6a5c4e0f48 initializing a variable to zero.
git-svn-id: svn://10.0.0.236/trunk@24988 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 09:08:24 +00:00
mcafee%netscape.com
09fcbbb1f0 Initializing some variables, protecting against null dereferences for new cut & paste platforms (gtk).
git-svn-id: svn://10.0.0.236/trunk@24987 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 09:06:37 +00:00
grail%cafebabe.org
ec5d4d3451 Changed return value for getComponent().
git-svn-id: svn://10.0.0.236/trunk@24986 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 09:00:28 +00:00
grail%cafebabe.org
ef2188d6cb Changes to allow for lookups of menu items in menubars.
git-svn-id: svn://10.0.0.236/trunk@24985 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 08:59:05 +00:00
chuang%netscape.com
456baf3dcf Update messenger start up url
git-svn-id: svn://10.0.0.236/trunk@24984 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 08:33:08 +00:00
mccabe%netscape.com
0843c2e091 First cut at unix Makefile support for building the perlconnect
javascript-to-perl extension with the standalone javascript shell.
It's mostly a direct copy of a similar mechanism for liveconnect.

Many thanks to Dave Neuer <dneuer@futuristics.net> for a patch
magically resolving issues with linking with perl.


git-svn-id: svn://10.0.0.236/trunk@24983 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 08:29:03 +00:00
chuang%netscape.com
f1b84326bd Add new icon files and create mailnews resources directory under res
git-svn-id: svn://10.0.0.236/trunk@24982 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 08:27:57 +00:00
beard%netscape.com
733a8fc9d9 fix build bustage, nsIScriptContextOwner.h can't be found except on XP_MAC. Will land on other platforms eventually.
git-svn-id: svn://10.0.0.236/trunk@24981 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 07:16:41 +00:00
danm%netscape.com
30f54af078 adding dist/public/dom to INC path so nsIPluginInstancePeer.cpp can find nsIScript*.h
git-svn-id: svn://10.0.0.236/trunk@24980 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 07:08:52 +00:00
gagan%netscape.com
fb1dadb0e5 Added the first checkin files for nsNetManager. This is the central
equivalent of the Netlib service. This is just a place holder for now
but I needed it to test the libwww stuff.


git-svn-id: svn://10.0.0.236/trunk@24978 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 06:51:33 +00:00
danm%netscape.com
685b734921 oops. implementing function shell to make it compile
git-svn-id: svn://10.0.0.236/trunk@24977 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 06:18:59 +00:00
beard%netscape.com
888b433ccb added GetJVMContext() to map_jsj_thread_to_js_context_impl() to get JSContext associated with a call back from Java. Using nsIPluginInstancePeer::GetJSWindow() to return global JSObject for each browser window.
git-svn-id: svn://10.0.0.236/trunk@24976 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:49:05 +00:00
beard%netscape.com
849bde491e added GetJSWindow()
git-svn-id: svn://10.0.0.236/trunk@24975 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:46:23 +00:00
beard%netscape.com
c0cc339fa7 added GetDocument()
git-svn-id: svn://10.0.0.236/trunk@24974 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:46:06 +00:00
beard%netscape.com
038f23f042 added pluginInstanceOwner::GetDocument()
git-svn-id: svn://10.0.0.236/trunk@24973 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:43:09 +00:00
beard%netscape.com
342fa51bf5 added nsPluginInstanceOwner::GetDocument()
git-svn-id: svn://10.0.0.236/trunk@24972 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:42:22 +00:00
danm%netscape.com
b061e09932 closer to having a modal dialog loop on the Mac
git-svn-id: svn://10.0.0.236/trunk@24971 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:42:21 +00:00
beard%netscape.com
9d6661c4ef added GetJSWindow
git-svn-id: svn://10.0.0.236/trunk@24970 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:40:02 +00:00
beard%netscape.com
694daf35c1 added GetJSWindow.
git-svn-id: svn://10.0.0.236/trunk@24969 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:37:42 +00:00
troy%netscape.com
3ec35d6a0d Patch from Bruce Mitchener to fix gcc warning
git-svn-id: svn://10.0.0.236/trunk@24968 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:11:17 +00:00
mscott%netscape.com
83f1e927a2 Back out my attempted fix of alecf's build breakage...as leaf backed out his original changes.
git-svn-id: svn://10.0.0.236/trunk@24967 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 04:56:56 +00:00
leaf%netscape.com
a36a092494 readding necessary interface files
git-svn-id: svn://10.0.0.236/trunk@24966 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 04:54:00 +00:00
briano%netscape.com
3bc88c5478 Automated update
git-svn-id: svn://10.0.0.236/trunk@24965 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 04:29:40 +00:00
mscott%netscape.com
08368b1c7d Back out my attempted fix for alecf's build breakage as I just finished
backing out his original checkins....


git-svn-id: svn://10.0.0.236/trunk@24964 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 04:16:21 +00:00
mscott%netscape.com
b3e9367366 Fix build breakage for alecf. nsIGroupMsgRecord has been removed from the
repository.


git-svn-id: svn://10.0.0.236/trunk@24963 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 03:47:24 +00:00
troy%netscape.com
1c35dea4db Changed ILAYER from 'position:absolute' to 'position:relative'
git-svn-id: svn://10.0.0.236/trunk@24962 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 03:46:09 +00:00
mscott%netscape.com
097c98cfdc Fix build breakage for alecf. Don't try to export nsIMsgGroupRecord.h. It is no longer in the repository.
git-svn-id: svn://10.0.0.236/trunk@24961 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 03:33:12 +00:00
mscott%netscape.com
4f03b54c0d Fix build breakage for alecf. He removed nsIMsgGroupRecord.h from the repository
so no longer try to export it.


git-svn-id: svn://10.0.0.236/trunk@24960 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 03:23:11 +00:00
bienvenu%netscape.com
2574bae45e turn back on commit code
git-svn-id: svn://10.0.0.236/trunk@24959 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 03:12:33 +00:00
mscott%netscape.com
e07ab14857 (not part of build). Initial frame work for making news a dll....
git-svn-id: svn://10.0.0.236/trunk@24958 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:45:58 +00:00
dougt%netscape.com
0d30e31d03 Added GetIID() function to nsISoftwareUpdate.
git-svn-id: svn://10.0.0.236/trunk@24957 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:41:17 +00:00
dougt%netscape.com
a028992d9b Added GetIID() function to nsISoftwareUpdate
change the nsIFactory to use the static IID instead of the struct declaration


git-svn-id: svn://10.0.0.236/trunk@24956 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:40:51 +00:00
dougt%netscape.com
33d344d77f Added ScheduledTasks to build
remove some unused files.


git-svn-id: svn://10.0.0.236/trunk@24955 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:39:42 +00:00
mscott%netscape.com
6de8a524e0 (not part of the build yet). Initial framework for making news a dll.
git-svn-id: svn://10.0.0.236/trunk@24954 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:31:49 +00:00
mscott%netscape.com
3184c065fc We need a CID for this interface.
git-svn-id: svn://10.0.0.236/trunk@24953 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:30:19 +00:00
rjc%netscape.com
48e4a72f28 Make sure history line isn't an empty line.
git-svn-id: svn://10.0.0.236/trunk@24952 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:19:02 +00:00
dougt%netscape.com
2d5deac48a Added ScheduledTasks (rename and delete).
git-svn-id: svn://10.0.0.236/trunk@24951 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:16:41 +00:00
rjc%netscape.com
e6e5a842eb More History datasource changes and bugfixes.
git-svn-id: svn://10.0.0.236/trunk@24950 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:15:34 +00:00
rjc%netscape.com
1d3c791e8d Take our references to "rdf:mail" datasource.
git-svn-id: svn://10.0.0.236/trunk@24949 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:14:42 +00:00
alecf%netscape.com
c381b01f7f rev these interfaces
git-svn-id: svn://10.0.0.236/trunk@24948 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:03:08 +00:00
alecf%netscape.com
e937759941 remove these files - never going to make this class an interface, so don't confuse things
git-svn-id: svn://10.0.0.236/trunk@24947 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:02:54 +00:00
alecf%netscape.com
f9416c5c00 rev this interface
git-svn-id: svn://10.0.0.236/trunk@24946 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 02:01:47 +00:00
alecf%netscape.com
cc20d1d39e add this IDL file so that nsIMsgFolder.idl will compile
git-svn-id: svn://10.0.0.236/trunk@24945 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:59:48 +00:00
jefft%netscape.com
d8b2a975d9 call m_transport->Open(m_runningUrl) prior calling SendData()
git-svn-id: svn://10.0.0.236/trunk@24944 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:56:54 +00:00
jefft%netscape.com
bc23f9bd85 temporary fix prevent from crashing if someone call nsImapUrl::Equals
git-svn-id: svn://10.0.0.236/trunk@24943 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:55:42 +00:00
alecf%netscape.com
116dc774fd update library dependancies
git-svn-id: svn://10.0.0.236/trunk@24942 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:53:02 +00:00
alecf%netscape.com
c3021831e9 fix library dependancies
git-svn-id: svn://10.0.0.236/trunk@24941 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:51:13 +00:00
mcafee%netscape.com
83d83ef5df Checking for null references on clipboard, trans (gtk/unix).
git-svn-id: svn://10.0.0.236/trunk@24940 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:43:46 +00:00
slamm%netscape.com
70fc97d350 Restore -include test (for BSD/OS 3.1 port).
git-svn-id: svn://10.0.0.236/trunk@24939 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:27:01 +00:00
alecf%netscape.com
698d247dad update to link against appropriate libraries
git-svn-id: svn://10.0.0.236/trunk@24938 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:21:52 +00:00
troy%netscape.com
a64f391177 Changed CantRenderReplacedElement() to handle APPLET as well
git-svn-id: svn://10.0.0.236/trunk@24937 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:13:59 +00:00
dougt%netscape.com
d08a66c59b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@24936 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:10:59 +00:00
cata%netscape.com
6815c29fd9 Length() moved in support class. In preparation for the big interface change.
git-svn-id: svn://10.0.0.236/trunk@24935 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:52:19 +00:00
dp%netscape.com
1144eb00a3 Changing symbol name of nsRegistry_GetFactory -> NS_RegistryGetFactory
git-svn-id: svn://10.0.0.236/trunk@24934 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:48:55 +00:00
bienvenu%netscape.com
8220b7f5a1 add imap prefs for host, user, and password to identity object
git-svn-id: svn://10.0.0.236/trunk@24933 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:41:29 +00:00
warren%netscape.com
fdba323f1a Added ProgID versions of RegisterService and UnregisterService.
git-svn-id: svn://10.0.0.236/trunk@24932 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:40:29 +00:00
warren%netscape.com
7604860b90 Fixed NS_RegistryGetFactory breakage.
git-svn-id: svn://10.0.0.236/trunk@24931 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:38:27 +00:00
cata%netscape.com
04b99a2b34 UTF8 converter using the support classes now.
git-svn-id: svn://10.0.0.236/trunk@24930 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:28:40 +00:00
alecf%netscape.com
dda0cd0d75 forgot an underscore that broke the build for big endian machines
git-svn-id: svn://10.0.0.236/trunk@24929 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:25:02 +00:00
wtc%netscape.com
5f470d2244 Define HAVE_LONG_LONG for NetBSD on alpha, powerpc, and m68k.
git-svn-id: svn://10.0.0.236/trunk@24928 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:22:09 +00:00
alecf%netscape.com
4cfbb3a891 switch over to nsIDBFolderInfo from nsDBFolderInfo to reduce library dependancies
Added new API to nsIDBFolderInfo


git-svn-id: svn://10.0.0.236/trunk@24927 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:17:23 +00:00
cata%netscape.com
ac8a6bedf7 UTF8 test added.
git-svn-id: svn://10.0.0.236/trunk@24926 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:17:09 +00:00
dougt%netscape.com
e209534fbb change return type to void to avoid warnings.
git-svn-id: svn://10.0.0.236/trunk@24925 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:10:37 +00:00
dougt%netscape.com
651508e8f5 remove unneeded files.
git-svn-id: svn://10.0.0.236/trunk@24924 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:10:09 +00:00
cata%netscape.com
f1b95dfe19 Test made silen. Noise only on errors.
git-svn-id: svn://10.0.0.236/trunk@24923 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:06:43 +00:00
locka%iol.ie
be9ccb3dc6 More test improvements
git-svn-id: svn://10.0.0.236/trunk@24922 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:56:34 +00:00
locka%iol.ie
4f3eb6aef6 Move improvements to DOM
git-svn-id: svn://10.0.0.236/trunk@24921 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:55:51 +00:00
jefft%netscape.com
7e647eb4a1 more checkins for thread/event work
git-svn-id: svn://10.0.0.236/trunk@24920 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:46:00 +00:00
cyeh%netscape.com
b4dfcb7d2e recover pull by branch and pull by date functionality back.
also recover all the error handling utility code so we can make sure
that environment variables are set right before executing.


git-svn-id: svn://10.0.0.236/trunk@24919 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:39:05 +00:00
bienvenu%netscape.com
2fbcc0c47b turn on mork parsing, add nsNewsDatabase to makefile
git-svn-id: svn://10.0.0.236/trunk@24918 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:38:25 +00:00
bienvenu%netscape.com
fd4b3bf859 make close mdb object close the object as well as the handle
git-svn-id: svn://10.0.0.236/trunk@24917 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:33:53 +00:00
pinkerton%netscape.com
72edf29e00 PBGetVInfo()->PBHGetVInfo() for carbon compliance.
git-svn-id: svn://10.0.0.236/trunk@24916 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:29:20 +00:00
dp%netscape.com
587ed6002b InitXPCOM() : For a defined initialization sequence of xpcom global objects and components.
git-svn-id: svn://10.0.0.236/trunk@24915 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:28:32 +00:00
putterman%netscape.com
6b38bbf0a1 remove msgdb dependency.
git-svn-id: svn://10.0.0.236/trunk@24914 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:21:45 +00:00
putterman%netscape.com
b096d125be Added semaphore methods for file contention.
git-svn-id: svn://10.0.0.236/trunk@24913 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:19:58 +00:00
waterson%netscape.com
19092c6c7e Made the nsCStringKey class NS_COM so that it could be exported across DLLs.
git-svn-id: svn://10.0.0.236/trunk@24912 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:12:35 +00:00
mscott%netscape.com
99eb5c0d79 the test harness supports the imap log interface. For now, that just means supporting the handle log data interface method. The harness now supports multiple interfaces so we need to write QueryInterface ourselves instead of using the macro.
git-svn-id: svn://10.0.0.236/trunk@24911 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:08:29 +00:00
matt%netscape.com
ad550fcf12 Fix for grippy bug by changing background colors.
git-svn-id: svn://10.0.0.236/trunk@24910 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:08:16 +00:00
mscott%netscape.com
fa5b1260fc Hmmm I must not have done a clobber b4 checking this in...remove the =0 stuff for Get/SetImapLog.
git-svn-id: svn://10.0.0.236/trunk@24909 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:05:13 +00:00
mscott%netscape.com
a27839579a oopos...CID and IID were the same....they should have different values.
git-svn-id: svn://10.0.0.236/trunk@24908 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:04:33 +00:00
bienvenu%netscape.com
0ae407f269 get mork parsing working so we can read existing databases
git-svn-id: svn://10.0.0.236/trunk@24906 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:01:37 +00:00
dp%netscape.com
2c635b5f35 Adding PROGID and CLASSNAME to the header.
Adding GetIID()


git-svn-id: svn://10.0.0.236/trunk@24905 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:00:45 +00:00
despotdaemon%netscape.com
2323d6d379 Pseudo-automatic update of changes made by jdunn@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@24904 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:57:31 +00:00
nhotta%netscape.com
b892c647de Changed error code checking in NSRegisterSelf as suggested by ftang.
git-svn-id: svn://10.0.0.236/trunk@24903 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:57:11 +00:00
mcafee%netscape.com
924b67bb6f Adding --enable-new-clipboard to turn on NEW_CLIPBOARD_SUPPORT ifdef.
git-svn-id: svn://10.0.0.236/trunk@24902 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:55:22 +00:00
dougt%netscape.com
98c4c0361e Moved javascript execution onto a new nspr thread.
added delete and replace later
got rid of unneeded IIDs in public header
Added the correct license to all files.


git-svn-id: svn://10.0.0.236/trunk@24901 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:55:00 +00:00
despotdaemon%netscape.com
68a75a0167 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@24900 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:49:32 +00:00
michaelp%netscape.com
c8bb417838 fixed rect containment test.
git-svn-id: svn://10.0.0.236/trunk@24899 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:37:50 +00:00
michaelp%netscape.com
140a738b50 fixed docs for ContainsRect().
git-svn-id: svn://10.0.0.236/trunk@24898 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:37:20 +00:00
cata%netscape.com
a5677717b0 ISO-8859-7 decoder using support classes now.
git-svn-id: svn://10.0.0.236/trunk@24897 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:37:19 +00:00
terry%netscape.com
f332f2f39e Can now query for a specified field being changed at a specified time,
optionally to a specified value.


git-svn-id: svn://10.0.0.236/trunk@24896 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:32:21 +00:00
jband%netscape.com
2b30ec2086 add implementation files for unsupported platforms to allow clean build on all platforms even though we'll have failure at runtime on unsupported platforms
git-svn-id: svn://10.0.0.236/trunk@24895 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:16:14 +00:00
cata%netscape.com
4e6377cb52 Improved support classes.
git-svn-id: svn://10.0.0.236/trunk@24894 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:05:39 +00:00
alecf%netscape.com
2e8c578604 hmm... mailnewsmsgdb already depends on base. That's bad.
git-svn-id: svn://10.0.0.236/trunk@24892 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:59:34 +00:00
alecf%netscape.com
6c14937e7a add libmailnewsmsgdb dependancy to make use of nsDBFolderInfo
git-svn-id: svn://10.0.0.236/trunk@24891 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:57:04 +00:00
rods%netscape.com
837e6fd38d Added new clipboard support, it is ifdef'ed out in the DoCopy method
git-svn-id: svn://10.0.0.236/trunk@24887 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:32:48 +00:00
rods%netscape.com
f287ac2f69 Added code (ifdef'ed out) to check to see if the clipboard show be forced to
the native clipboard before the app exits


git-svn-id: svn://10.0.0.236/trunk@24886 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:30:41 +00:00
rods%netscape.com
b47f7d7dbe fixed up , and added more functionality
git-svn-id: svn://10.0.0.236/trunk@24885 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:26:41 +00:00
rods%netscape.com
0f5b7b64ef Added WM_CLIPBOARDDESTROYED message
git-svn-id: svn://10.0.0.236/trunk@24884 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:26:20 +00:00
rods%netscape.com
1829faac42 fixed ifdef
git-svn-id: svn://10.0.0.236/trunk@24883 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:25:48 +00:00
rods%netscape.com
5da9b7010d Added additional methods to clipboard interfaces
git-svn-id: svn://10.0.0.236/trunk@24882 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:25:12 +00:00
rods%netscape.com
71370402c2 Added clipboard files to build
git-svn-id: svn://10.0.0.236/trunk@24881 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:25:06 +00:00
hshaw%netscape.com
e0f00f3b97 use NS_DEFINE_STATIC_IID_ACCESSOR macro
git-svn-id: svn://10.0.0.236/trunk@24880 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:08:05 +00:00
cyeh%netscape.com
bc029bcbb5 turn off wallet.
git-svn-id: svn://10.0.0.236/trunk@24879 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:55:39 +00:00
jband%netscape.com
ecd0137be4 adding xpconnect and xptcall directories
git-svn-id: svn://10.0.0.236/trunk@24878 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:49:58 +00:00
cata%netscape.com
8ad48b4965 added files: mozilla/intl/uconv/src/nsUnicodeDecodeHelper.cpp
git-svn-id: svn://10.0.0.236/trunk@24877 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:47:49 +00:00
cata%netscape.com
f9e2af325a Decode helper object added.
git-svn-id: svn://10.0.0.236/trunk@24876 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:47:35 +00:00
nhotta%netscape.com
8e29ef51bf Change for the new MIME encoder/decoder interface, return NULL only for errors.
git-svn-id: svn://10.0.0.236/trunk@24875 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:44:30 +00:00
jband%netscape.com
3046a25d32 getting those Unix Makefiles working again
git-svn-id: svn://10.0.0.236/trunk@24874 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:43:41 +00:00
warren%netscape.com
6c481b1e9d Changed category db to be the resource: directory.xml. Fixed cursor advancement problem.
git-svn-id: svn://10.0.0.236/trunk@24873 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:41:58 +00:00
nhotta%netscape.com
5cc359b7da Moved CID to public interface.
git-svn-id: svn://10.0.0.236/trunk@24872 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:41:51 +00:00
pierre%netscape.com
2d24ef77b0 Increased the stack size to 256K.
git-svn-id: svn://10.0.0.236/trunk@24871 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:41:29 +00:00
scc%netscape.com
ba245bf505 inlining the work of |StartAssigment| reduces |nsCOMPtr| overhead on windows.
git-svn-id: svn://10.0.0.236/trunk@24870 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:35:49 +00:00
pierre%netscape.com
b99fe92e31 Backed out my previous changes because of performance degradation in deeply nested tables. Will increase the stack size in Mac applications instead.
git-svn-id: svn://10.0.0.236/trunk@24869 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:35:38 +00:00
jband%netscape.com
50d29a4ef6 getting those Unix Makefiles working again
git-svn-id: svn://10.0.0.236/trunk@24868 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:30:06 +00:00
jband%netscape.com
6de3101eb7 re-organized xpconnect tree struct. Main sources moved from xpconnect to xpconnect/src. md stuff moved to xpcom/libxpt/xptcall
git-svn-id: svn://10.0.0.236/trunk@24867 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:22:00 +00:00
cyeh%netscape.com
bec2647778 change name from MOZ_DEBUGOPT, which is confusing to ever so slightly
less confusing name MOZ_PROFILE


git-svn-id: svn://10.0.0.236/trunk@24866 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:17:09 +00:00
dp%netscape.com
cfcf71c31a Changed Nick's email address
git-svn-id: svn://10.0.0.236/trunk@24865 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:11:36 +00:00
jband%netscape.com
251ecf7886 deleting old stuff before checking in reorged new stuff
git-svn-id: svn://10.0.0.236/trunk@24864 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:09:10 +00:00
wtc%netscape.com
cbfa263c8b Renamed MOZ_PROF to MOZ_PROFILE.
git-svn-id: svn://10.0.0.236/trunk@24863 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:02:33 +00:00
ftang%netscape.com
c0f6d2cd53 change SetDocumentCharset method to call webshell
git-svn-id: svn://10.0.0.236/trunk@24862 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 20:01:41 +00:00
ftang%netscape.com
509e428334 move all the intl componment into componment directory
git-svn-id: svn://10.0.0.236/trunk@24861 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 19:57:00 +00:00
mcafee%netscape.com
712e4e61b5 Exporting clipboard, drag & drop interfaces.
git-svn-id: svn://10.0.0.236/trunk@24860 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 19:44:02 +00:00
cyeh%netscape.com
1fbc021bea changes to enable layout only pull and build targets
git-svn-id: svn://10.0.0.236/trunk@24859 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 19:38:05 +00:00
danm%netscape.com
0b7b80c73b fix retrieval of old menubar handle in HandleActivateEvent. fixes crash bug when swapping the active window.
git-svn-id: svn://10.0.0.236/trunk@24858 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 19:26:50 +00:00
alecf%netscape.com
e3ada7a0be only build tests when ENABLE_TESTS is turned on
git-svn-id: svn://10.0.0.236/trunk@24857 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 19:19:52 +00:00
cata%netscape.com
8f2ad5f82a Test case for Latin1 decoder changed.
git-svn-id: svn://10.0.0.236/trunk@24855 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 18:49:32 +00:00
cata%netscape.com
2c145bc8f3 Decoder helper interface added.
git-svn-id: svn://10.0.0.236/trunk@24854 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 18:47:58 +00:00
rods%netscape.com
4f7ba5f8f7 Commented out creation of classes that aren't in the makefile anymore.
git-svn-id: svn://10.0.0.236/trunk@24852 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 17:37:29 +00:00
rods%netscape.com
8b60ebca9b Fixed compile error.
git-svn-id: svn://10.0.0.236/trunk@24848 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 17:19:31 +00:00
rods%netscape.com
d8794c9653 removed dforw.h
git-svn-id: svn://10.0.0.236/trunk@24847 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 17:12:23 +00:00
rods%netscape.com
e1e97b1938 initial add
git-svn-id: svn://10.0.0.236/trunk@24846 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 17:11:26 +00:00
sar%netscape.com
91fb81e2a8 backing out the makefile changes since all the files aren't there.
git-svn-id: svn://10.0.0.236/trunk@24845 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 17:05:21 +00:00
kipp%netscape.com
0372e5a681 Cleaned up help info; for unix added code to translate unix path names into file urls - but only for the url command line argument
git-svn-id: svn://10.0.0.236/trunk@24844 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 15:54:39 +00:00
rods%netscape.com
f82195869f Added code for switching over Clipboard support to new classes
At the moment the are ifdef'ed out


git-svn-id: svn://10.0.0.236/trunk@24843 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 15:45:58 +00:00
rods%netscape.com
9d61550acb Added new Clipboard and D&D files
git-svn-id: svn://10.0.0.236/trunk@24842 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 15:39:53 +00:00
rods%netscape.com
e9f3c1bd47 initial add
git-svn-id: svn://10.0.0.236/trunk@24841 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 15:37:34 +00:00
rods%netscape.com
0255873e25 Added new Clipboard and D&D files
also commented out some work in progress files


git-svn-id: svn://10.0.0.236/trunk@24840 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 15:37:20 +00:00
rods%netscape.com
2f7809c718 Fixed the DRAG_DROP ifdef
git-svn-id: svn://10.0.0.236/trunk@24839 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 15:35:39 +00:00
rods%netscape.com
32adb21da5 Commented out compForm variable to remove warning
git-svn-id: svn://10.0.0.236/trunk@24838 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 15:28:44 +00:00
rods%netscape.com
c483783ee7 initial checkin
git-svn-id: svn://10.0.0.236/trunk@24837 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 15:22:03 +00:00
wtc%netscape.com
32979abdf1 Restored the -D_THREAD_SAFE macro define that I incorrectly deleted
in the previous revision.  The -pthread flag does not define
_THREAD_SAFE.  Thanks to Jeremy Lea <reg@shale.csir.co.za> for
pointing this out.


git-svn-id: svn://10.0.0.236/trunk@24836 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 15:18:27 +00:00
sspitzer%netscape.com
a4138b1bd2 temporary fix for dependency problem on UNIX
need to talk to the mail-news team to resolve it the right way


git-svn-id: svn://10.0.0.236/trunk@24835 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 14:58:05 +00:00
karnaze%netscape.com
74b8b31e44 bug 3835, GetAdjustedParentFrame fixed for caption
git-svn-id: svn://10.0.0.236/trunk@24834 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 14:16:52 +00:00
jfrancis%netscape.com
ce8a8d2a09 exposing on-the-fly switchability between pre and post order iterors in the interface. exposing PositionAt in the interface.
git-svn-id: svn://10.0.0.236/trunk@24833 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 11:54:52 +00:00
rjc%netscape.com
b4b2f089d3 Temporarily commenting out remembering of file, due to Win crash in nsFileSpec at startup. (I'll investigate tomorrow!)
git-svn-id: svn://10.0.0.236/trunk@24832 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 11:10:27 +00:00
rjc%netscape.com
707d959560 Add a couple more dummy entries into sample history file.
git-svn-id: svn://10.0.0.236/trunk@24831 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 10:48:57 +00:00
rjc%netscape.com
b8074950bd Smarter "History by Date": break up entries into "Today", "Yesterday", "{day of last week}", and then finally "Week of ...".
git-svn-id: svn://10.0.0.236/trunk@24830 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 10:48:26 +00:00
jfrancis%netscape.com
b58115abe4 phase one of on-the-fly support for switching between pre and post order iteration. needed by text services.
git-svn-id: svn://10.0.0.236/trunk@24829 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 10:30:24 +00:00
rpotts%netscape.com
049c457734 added nsIBlockingNotification.h to the export list...
git-svn-id: svn://10.0.0.236/trunk@24828 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 08:53:39 +00:00
rickg%netscape.com
857ccb650d removed linux warnings
git-svn-id: svn://10.0.0.236/trunk@24827 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 08:47:54 +00:00
endico%mozilla.org
bfb08b75cb change brackes around the message id to lt and gt
git-svn-id: svn://10.0.0.236/trunk@24826 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 08:43:19 +00:00
endico%mozilla.org
86382948b5 convert angle brackets in subject to lt and gt
git-svn-id: svn://10.0.0.236/trunk@24824 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 08:31:12 +00:00
pierre%netscape.com
72a233be93 fixed #3899 "Raptor doesn't jam": in nsBlockFrame::Reflow, allocated a 4Kb nsLineLayout in the heap rather than on the stack
git-svn-id: svn://10.0.0.236/trunk@24823 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 08:24:01 +00:00
dp%netscape.com
c488393e86 registry added to faq
git-svn-id: svn://10.0.0.236/trunk@24819 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 08:04:18 +00:00
jband%netscape.com
a2781894ce getting the Makefiles working on Linux again
git-svn-id: svn://10.0.0.236/trunk@24818 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 08:02:27 +00:00
rjc%netscape.com
637c5ec516 Now also read-in/save-out visitCount.
git-svn-id: svn://10.0.0.236/trunk@24817 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 08:00:05 +00:00
endico%mozilla.org
86025c13ef yet another typo
git-svn-id: svn://10.0.0.236/trunk@24816 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:58:12 +00:00
endico%mozilla.org
6e6b304516 more xml hackage
git-svn-id: svn://10.0.0.236/trunk@24815 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:54:15 +00:00
jband%netscape.com
c4a33a4fe5 getting the Makefiles working on Linux again
git-svn-id: svn://10.0.0.236/trunk@24814 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:49:51 +00:00
jband%netscape.com
9458a91646 getting the Makefiles working on Linux again
git-svn-id: svn://10.0.0.236/trunk@24813 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:44:27 +00:00
endico%mozilla.org
1502b18aea fix xml start tag
git-svn-id: svn://10.0.0.236/trunk@24812 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:41:19 +00:00
rickg%netscape.com
651a5894da added recycler to nsString2
git-svn-id: svn://10.0.0.236/trunk@24811 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:33:10 +00:00
jband%netscape.com
16c4a45614 getting the Maekefiles working on Linux again
git-svn-id: svn://10.0.0.236/trunk@24810 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:30:19 +00:00
dp%netscape.com
c6eaa5a121 XPCOM Code FAQ. Initial version.
git-svn-id: svn://10.0.0.236/trunk@24809 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:27:30 +00:00
rickg%netscape.com
a0d40e6afd fixed bug in nsString; added recycler to nsString2
git-svn-id: svn://10.0.0.236/trunk@24808 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:26:27 +00:00
jband%netscape.com
6f8559e7b3 fix test Makefile.in
git-svn-id: svn://10.0.0.236/trunk@24807 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:19:15 +00:00
jband%netscape.com
61a92ba85a fix test Makefile.in
git-svn-id: svn://10.0.0.236/trunk@24806 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:16:53 +00:00
rjc%netscape.com
f06a078a6a Try and do a live import for "IE Favorites" under Windows too now.
git-svn-id: svn://10.0.0.236/trunk@24805 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:10:19 +00:00
jband%netscape.com
d7f679ffcd fix filename
git-svn-id: svn://10.0.0.236/trunk@24804 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 07:04:52 +00:00
rjc%netscape.com
cf347d5be5 Now do a live import of "IE Favorites" into our bookmarks (on Mac).
git-svn-id: svn://10.0.0.236/trunk@24803 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 06:50:16 +00:00
pierre%netscape.com
54e6394b81 fixed #3085 "Pop-up ads get drawn where you can't close them"
git-svn-id: svn://10.0.0.236/trunk@24801 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 06:45:40 +00:00
wtc%netscape.com
55391d6b13 Merged a patch contributed by jon@eyrie.org (Jonathan Lennox).
git-svn-id: svn://10.0.0.236/trunk@24794 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 05:50:11 +00:00
wtc%netscape.com
f8f3d6455d Don't need to link with -lc_r explicitly on FreeBSD. The -pthread
flag takes care of that.


git-svn-id: svn://10.0.0.236/trunk@24793 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 05:46:07 +00:00
bienvenu%netscape.com
cad05dee7c fix search for singleton folder info row
git-svn-id: svn://10.0.0.236/trunk@24792 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 05:20:33 +00:00
wtc%netscape.com
2d70c687a6 Bugzilla bug #4176: _POSIX_THREAD_PRIORITY_SCHEDULING is the feature-test
macro for pthread_attr_setscope.  Thanks to jon@eyrie.org (Jonathan Lennox)
for the patch.


git-svn-id: svn://10.0.0.236/trunk@24791 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 05:17:47 +00:00
warren%netscape.com
7a8a43c3d8 Fixed to not link with rdf.dll
git-svn-id: svn://10.0.0.236/trunk@24790 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 04:51:09 +00:00
kipp%netscape.com
6fa5329610 Compute floater combined area properly; reflow floaters when placed including below-current-line floaters
git-svn-id: svn://10.0.0.236/trunk@24789 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 04:28:20 +00:00
briano%netscape.com
7380a53f4b Switched back to building both shared and static libs by default.
git-svn-id: svn://10.0.0.236/trunk@24788 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 04:26:03 +00:00
kipp%netscape.com
7033e3dcaf Redid ReflowFloater api
git-svn-id: svn://10.0.0.236/trunk@24787 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 04:25:20 +00:00
kipp%netscape.com
49d16e278d Use combined-area to compute the final height of the area frame
git-svn-id: svn://10.0.0.236/trunk@24786 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 04:25:03 +00:00
wtc%netscape.com
032604a8a8 FreeBSD/Alpha port, contributed by Brian Ostrom <briano@netscape.com>.
Modified files: FreeBSD.mk, gencfg.c, _freebsd.cfg, _freebsd.h,
pr/tests/Makefile.


git-svn-id: svn://10.0.0.236/trunk@24785 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 04:09:23 +00:00
rjc%netscape.com
2890a274e8 Add first level of "History by Date" support.
git-svn-id: svn://10.0.0.236/trunk@24784 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 03:24:33 +00:00
amusil%netscape.com
e3775450f1 Added prelim code for ActiveX support.
git-svn-id: svn://10.0.0.236/trunk@24783 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 03:18:55 +00:00
amusil%netscape.com
fb7d574e8f Made destructors virtual, added APIs to nsIPluginHost for determining if a plugin is available
for a particular mimetype or file extension.


git-svn-id: svn://10.0.0.236/trunk@24782 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 03:18:12 +00:00
warren%netscape.com
dc293a8d6d Implemented GetDescription
git-svn-id: svn://10.0.0.236/trunk@24781 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 03:12:15 +00:00
jband%netscape.com
9c67f0a0be use code frome:
git-svn-id: svn://10.0.0.236/trunk@24780 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 02:48:57 +00:00
mccabe%netscape.com
308371b4fa Fix to bugzilla bug 4088; fixed javascript Date string parsing to
handle 12:30 AM and 12:30 PM properly.

(Previously, the code just added 12 hours whenever it saw PM.)


git-svn-id: svn://10.0.0.236/trunk@24779 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 02:48:01 +00:00
warren%netscape.com
8d712e92b2 Added stuff to dump out hex. Removed SetCookieString -- didn't make sense.
git-svn-id: svn://10.0.0.236/trunk@24778 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 02:32:09 +00:00
jband%netscape.com
afdb94aa37 initial checking of xptcall code. This module allows arbitrary invocation of xpcom methods and also allows an object to impersonate an object of an arbitrary xpcom class. This code is used for XPConnect and will also be used for a scriptable interface to RDF. The build scheme for libxpt, xptinfo, and xpconnect may be a bit screwy on some platforms until this settles down. Luckily, none of these modules are part of the client build yet and very few people should even notice the change
git-svn-id: svn://10.0.0.236/trunk@24777 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 02:23:29 +00:00
jefft%netscape.com
1d9deec2ec initial coding for nsImapProxyEvent
git-svn-id: svn://10.0.0.236/trunk@24776 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 02:18:53 +00:00
warren%netscape.com
13cb072f4b Added stuff to look for parent directory urls.
git-svn-id: svn://10.0.0.236/trunk@24775 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 02:13:04 +00:00
dp%netscape.com
997ea25064 Updated new tasks
git-svn-id: svn://10.0.0.236/trunk@24774 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 02:06:31 +00:00
dp%netscape.com
7f771c5932 Updated new tasks
git-svn-id: svn://10.0.0.236/trunk@24773 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:59:35 +00:00
dp%netscape.com
56c18c9779 Todo list for xpcom. Initial version
git-svn-id: svn://10.0.0.236/trunk@24770 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:53:31 +00:00
warren%netscape.com
6769172604 Fixed resource release problem.
git-svn-id: svn://10.0.0.236/trunk@24769 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:52:20 +00:00
warren%netscape.com
25266ade32 Now it manages the vector (untested).
git-svn-id: svn://10.0.0.236/trunk@24767 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:50:00 +00:00
waterson%netscape.com
aec2200680 Initial revision. Not currently in the build.
git-svn-id: svn://10.0.0.236/trunk@24766 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:46:44 +00:00
waterson%netscape.com
095b925f78 Fixed some syntax errors that I found when I actually tried to compile.
git-svn-id: svn://10.0.0.236/trunk@24765 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:46:12 +00:00
kipp%netscape.com
1f77886edb Handle both left or right floaters impacting a line; fixed assert to be more accurate
git-svn-id: svn://10.0.0.236/trunk@24763 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:33:36 +00:00
kipp%netscape.com
2bea53205b Simply floater counters; handle case of a single occupied trapezoid
git-svn-id: svn://10.0.0.236/trunk@24762 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:32:55 +00:00
kipp%netscape.com
66a375fa18 Simply floater counters
git-svn-id: svn://10.0.0.236/trunk@24761 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:32:36 +00:00
waterson%netscape.com
7fc73d4d08 Added an Init() method to allow the creator to specify an alternate
character size for the internal representation.


git-svn-id: svn://10.0.0.236/trunk@24760 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:29:16 +00:00
ftang%netscape.com
651e34462e fix bug 3883 4048 by 1) correct mapping for U+FF60 to U+FF9F. 2) add class mapping for U+3099 - U+309E
git-svn-id: svn://10.0.0.236/trunk@24759 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:13:33 +00:00
ftang%netscape.com
b17ddfb72b check in fix for bustage
git-svn-id: svn://10.0.0.236/trunk@24758 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:03:11 +00:00
ftang%netscape.com
83b248eaa2 fix unix warning
git-svn-id: svn://10.0.0.236/trunk@24757 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:59:19 +00:00
waterson%netscape.com
778fd7d63f Added nsIString interface.
git-svn-id: svn://10.0.0.236/trunk@24756 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:43:54 +00:00
cyeh%netscape.com
9e11f69696 add silentdl to RaptorDist
git-svn-id: svn://10.0.0.236/trunk@24755 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:38:08 +00:00
endico%mozilla.org
b91ef439bc add index.html newsbot.rdf.tmp
git-svn-id: svn://10.0.0.236/trunk@24754 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:34:54 +00:00
mscott%netscape.com
9055858054 add getters and setters for new imap sink: imap log.
git-svn-id: svn://10.0.0.236/trunk@24753 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:31:31 +00:00
mscott%netscape.com
2b2aa46370 add getters and setters for new imap sink: imap log
git-svn-id: svn://10.0.0.236/trunk@24752 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:30:31 +00:00
rickg%netscape.com
0eea29e86d removed unsightly warnings from string classes
git-svn-id: svn://10.0.0.236/trunk@24751 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:28:36 +00:00
mscott%netscape.com
a00004c8fa export nsIImapLog.h
git-svn-id: svn://10.0.0.236/trunk@24750 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:26:08 +00:00
mscott%netscape.com
9ce3068649 first created. Imap log interface. Right now the only method in the interface
is one to handle log information from the imap protocol....


git-svn-id: svn://10.0.0.236/trunk@24749 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:25:43 +00:00
rickg%netscape.com
67ae246c6c fixed badly formed entity bug
git-svn-id: svn://10.0.0.236/trunk@24748 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:23:51 +00:00
alecf%netscape.com
732c1bd325 eliminate use of functions we don't have on Unix - INTL_*, etc..
git-svn-id: svn://10.0.0.236/trunk@24747 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:23:09 +00:00
despotdaemon%netscape.com
dbdbc8f091 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@24746 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:22:44 +00:00
alecf%netscape.com
d3d3ce2fe2 this is now the build directory for the msgcompose dll
git-svn-id: svn://10.0.0.236/trunk@24744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:06:25 +00:00
endico%mozilla.org
68494a6cd2 dostage now creates symlinks that point to /opt/newsbot
git-svn-id: svn://10.0.0.236/trunk@24743 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 00:02:46 +00:00
alecf%netscape.com
48bc97be3c reduce dependancy on msgbase by using CreateInstance to create RFC822Parsers
git-svn-id: svn://10.0.0.236/trunk@24742 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:58:39 +00:00
alecf%netscape.com
b5f7dc84f6 don't need to link static libraries against external dlls
git-svn-id: svn://10.0.0.236/trunk@24741 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:57:35 +00:00
warren%netscape.com
504afff9b3 Added new browsing profile stuff.
git-svn-id: svn://10.0.0.236/trunk@24740 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:51:38 +00:00
alecf%netscape.com
4a40515c9e - this is no longer a component, it's a static library that will be linked into the compose component
- link in the JS stub code for nsIComposer


git-svn-id: svn://10.0.0.236/trunk@24739 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:51:20 +00:00
alecf%netscape.com
d25be0a651 add JS stubs for this class
git-svn-id: svn://10.0.0.236/trunk@24737 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:50:47 +00:00
terry%netscape.com
a241194b0d Patch by Dru Nelson <dnelson@redwoodsoft.com> -- quote the
logincookie, just in case some silly user mucked with their cookie file.


git-svn-id: svn://10.0.0.236/trunk@24736 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:48:39 +00:00
gagan%netscape.com
faea177b4b NuNet. Not in the build yet. First checkin.... miles to go before I sleep (or work)
git-svn-id: svn://10.0.0.236/trunk@24734 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:46:37 +00:00
sspitzer%netscape.com
1bee7e3881 making this match makefile.win
in addition to re-ordering the directories, imap was removed, since it
isn't in makefile.win.


git-svn-id: svn://10.0.0.236/trunk@24733 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:30:23 +00:00
wtc%netscape.com
65db3592ef Removed extraneous macro defines that are already defined
by the compiler.


git-svn-id: svn://10.0.0.236/trunk@24732 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:29:46 +00:00
sspitzer%netscape.com
e0b3c810d0 fix a spelling mistake: Navigatoe -> Navigator
git-svn-id: svn://10.0.0.236/trunk@24731 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:28:17 +00:00
mscott%netscape.com
3a3d42d30c Initialize a variable to null. Assert if we are unable to create an instance of the prefs service.
git-svn-id: svn://10.0.0.236/trunk@24730 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:27:44 +00:00
sspitzer%netscape.com
5517b5368a export the resources to the right places for install
remove those resources for clobber


git-svn-id: svn://10.0.0.236/trunk@24729 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:27:22 +00:00
mscott%netscape.com
f56b842eac Link with the msgcoreutil library.
git-svn-id: svn://10.0.0.236/trunk@24728 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:26:21 +00:00
sspitzer%netscape.com
81685308a1 added imap test makefiles
git-svn-id: svn://10.0.0.236/trunk@24727 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:25:56 +00:00
mscott%netscape.com
64b17a26e8 The wrong pointer was getting passed into the create instance call for the event queue service.
git-svn-id: svn://10.0.0.236/trunk@24726 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:25:45 +00:00
mscott%netscape.com
f97b8684cb Updates for QA smoketest stuff. We need to manually register the prefs component because the dll
does not get built into the components directory.


git-svn-id: svn://10.0.0.236/trunk@24725 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:23:58 +00:00
mscott%netscape.com
448bd73b53 OnStopBinding call in protocol handler should trigger a change in the url state.
git-svn-id: svn://10.0.0.236/trunk@24724 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:21:45 +00:00
dcone%netscape.com
24ee0651b8 Took out nsOldDrawingSurfaceGTK.h, this was lost between checkins
git-svn-id: svn://10.0.0.236/trunk@24723 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:16:42 +00:00
endico%mozilla.org
54142cfdc2 don't copy anything to the stage directory. dostage will do this now
git-svn-id: svn://10.0.0.236/trunk@24722 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:11:02 +00:00
waterson%netscape.com
583165d461 Added history back-end hookup. This may need to change modulo some ideas about making history more standalone, but for now, it gets stuff working.
git-svn-id: svn://10.0.0.236/trunk@24721 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:06:13 +00:00
wtc%netscape.com
a7b84ef29a Merged NSPR patches for BSD/OS 4.0.1 + sparc, contributed by
Kurt J. Lidl <lidl@eng.us.uu.net>.
Modified files: BSD_OS.mk, _bsdi.cfg, _bsdi.h.


git-svn-id: svn://10.0.0.236/trunk@24718 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:04:13 +00:00
kipp%netscape.com
085fd06130 Improve max-element-size computations and diagnostics
git-svn-id: svn://10.0.0.236/trunk@24717 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:03:31 +00:00
kipp%netscape.com
af25c30033 More cleanup of the combined-area computations; make sure we render every line when we have outside children; fixed up max-element-size computations to not double count floaters
git-svn-id: svn://10.0.0.236/trunk@24716 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:42:30 +00:00
kipp%netscape.com
ad2b17bf7e Added GetDepth debug method
git-svn-id: svn://10.0.0.236/trunk@24715 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:41:09 +00:00
putterman%netscape.com
ba6089d0eb Implemented Exit menu item. Started working on copy and move menu item.
git-svn-id: svn://10.0.0.236/trunk@24714 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:36:19 +00:00
putterman%netscape.com
dc73954b17 Implemented Exit menu item.
git-svn-id: svn://10.0.0.236/trunk@24713 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:34:43 +00:00
rickg%netscape.com
a6cfda7e13 fixed link error
git-svn-id: svn://10.0.0.236/trunk@24712 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:26:17 +00:00
ftang%netscape.com
4550ae4abf add Set/GetDefaultCharacterSet to nsWebShell. Reviewed and approved by nisheeth
git-svn-id: svn://10.0.0.236/trunk@24711 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:21:22 +00:00
sar%netscape.com
3213420ffa add modules/libjar and xpinstall to SeaMonkey. --sarah
git-svn-id: svn://10.0.0.236/trunk@24710 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:20:08 +00:00
robinf%netscape.com
92ea1ace90 updating files to reflect latest UI for cck wizard
git-svn-id: svn://10.0.0.236/trunk@24709 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:12:23 +00:00
akkana%netscape.com
8d57bb62e9 Add hard-coded alt-I for testing insert html
git-svn-id: svn://10.0.0.236/trunk@24708 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:10:29 +00:00
rickg%netscape.com
3ac314a6f7 added nsString to unix make system
git-svn-id: svn://10.0.0.236/trunk@24707 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:09:37 +00:00
robinf%netscape.com
bfe627aa23 adding new show example bitmaps for cck wizard
git-svn-id: svn://10.0.0.236/trunk@24706 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:08:03 +00:00
rickg%netscape.com
09d81c6e0e added nsString2 to makefile
git-svn-id: svn://10.0.0.236/trunk@24705 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:06:28 +00:00
rickg%netscape.com
d73481fe03 fixed nsString2 build problem
git-svn-id: svn://10.0.0.236/trunk@24704 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:03:14 +00:00
danm%netscape.com
5065fcea60 plug leak in CheckForTrailingSlash. r:nisheeth
git-svn-id: svn://10.0.0.236/trunk@24703 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:53:58 +00:00
dcone%netscape.com
3fbd23b07e fixed small mac bug
git-svn-id: svn://10.0.0.236/trunk@24702 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:52:57 +00:00
dcone%netscape.com
9a13cf785f Fixed small mac bug
git-svn-id: svn://10.0.0.236/trunk@24701 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:52:39 +00:00
dcone%netscape.com
940480dc67 Include files added for default fonts
git-svn-id: svn://10.0.0.236/trunk@24700 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:48:16 +00:00
akkana%netscape.com
8e9c3d1998 Pass the stream's pcount as the count of characters copied; previously we were sometimes overrunning the string
git-svn-id: svn://10.0.0.236/trunk@24699 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:48:10 +00:00
dcone%netscape.com
72b8d7d874 Added UNIX support for postscript printing, fixed many bugs.
Added nsIDeviceContextSpecPS interface so we can do PS on any platoform, get
information from the print dialog.


git-svn-id: svn://10.0.0.236/trunk@24698 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:45:00 +00:00
terry%netscape.com
177f1ebf33 Turns out the javascript I was using was version 1.2, not 1.1. Who knew?
git-svn-id: svn://10.0.0.236/trunk@24697 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:34:39 +00:00
kmcclusk%netscape.com
8b55ff9f7b Various modifications/fixes/cleanup for frame-based listboxes.
Set display type to block for option elements in ua.css.
Enable frame-based listboxes when widget render mode is gfx.


git-svn-id: svn://10.0.0.236/trunk@24696 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:32:12 +00:00
dcone%netscape.com
55501f9517 Added nsStr.h and nsString2.h for public
git-svn-id: svn://10.0.0.236/trunk@24695 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:30:38 +00:00
dcone%netscape.com
21b944cb47 added nsStr.cpp and nsString2.cpp to project
git-svn-id: svn://10.0.0.236/trunk@24694 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:29:52 +00:00
akkana%netscape.com
6f75251505 Put back the explicit alphanumeric/keypad/fcn translations; turns out we need them for handling control/shift/modifier keys
git-svn-id: svn://10.0.0.236/trunk@24693 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:19:17 +00:00
cyeh%netscape.com
c6bbdb9cdf slightly re-arrange Raptor and RaptorWin modules
git-svn-id: svn://10.0.0.236/trunk@24692 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:13:17 +00:00
kipp%netscape.com
0511c76eff Tweaked to handle unconstrained situations better
git-svn-id: svn://10.0.0.236/trunk@24691 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:47:21 +00:00
kipp%netscape.com
6823c95c0f Cleaned up combined area calculations
git-svn-id: svn://10.0.0.236/trunk@24690 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:46:09 +00:00
briano%netscape.com
31e1b60382 Automated update
git-svn-id: svn://10.0.0.236/trunk@24689 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:45:44 +00:00
kipp%netscape.com
b117f217cd Work around 3238 partially until we have a real solution
git-svn-id: svn://10.0.0.236/trunk@24688 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:45:26 +00:00
kipp%netscape.com
1b8b36d3e5 Made state that is really per-span state part of PerSpanData to fix some reflow bugs
git-svn-id: svn://10.0.0.236/trunk@24687 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:45:09 +00:00
slamm%netscape.com
2c1ed1ea51 Pull CFLAGS out of link line. Remove some implicit rules that we do not use. Fix -jN build problems (Create directories with their own target).
git-svn-id: svn://10.0.0.236/trunk@24686 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:43:05 +00:00
slamm%netscape.com
3ff33c1f51 Pull CFLAGS out of link line.
git-svn-id: svn://10.0.0.236/trunk@24685 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:43:02 +00:00
slamm%netscape.com
6b6cd486d7 Standardize on '.mozconfig' for configure script name.
git-svn-id: svn://10.0.0.236/trunk@24684 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:42:58 +00:00
slamm%netscape.com
06ba1964bc Quote shell variable in comparison (otherwise it gives an error when undefined).
git-svn-id: svn://10.0.0.236/trunk@24683 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:42:40 +00:00
slamm%netscape.com
eafed43a88 Fix LD_LIBRARY_PATH for nspr. Drop '.sh' from mozconfig name.
git-svn-id: svn://10.0.0.236/trunk@24682 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:42:31 +00:00
slamm%netscape.com
2215cbbcef Slight logic tweak. Remove '|' after line number for a lighter look.
git-svn-id: svn://10.0.0.236/trunk@24681 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:24:44 +00:00
slamm%netscape.com
38380f4ab3 Use banner.html for banner again. Add NOWRAP to navigation links.
git-svn-id: svn://10.0.0.236/trunk@24680 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:16:33 +00:00
slamm%netscape.com
3d97b61e91 Simpler mechanism for controlling the tables. <PRE> tags are still not closed (may not be worth fixing them). Position popup next to link. Fix typo. Include banner to help configurability.
git-svn-id: svn://10.0.0.236/trunk@24679 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 20:15:27 +00:00
pinkerton%netscape.com
c768a257ac comment out the code that does its own painting. Just defer to the nsBlockFrame::Paint() for now, until we need to do some more at drag time.
git-svn-id: svn://10.0.0.236/trunk@24678 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 19:21:19 +00:00
pinkerton%netscape.com
6be3c6af6c updated to show off min-height working with empty toolbars.
git-svn-id: svn://10.0.0.236/trunk@24677 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 19:20:13 +00:00
bienvenu%netscape.com
6a77c85f36 fix problem with SetLeafName r+a=mcmullen
git-svn-id: svn://10.0.0.236/trunk@24676 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 19:15:30 +00:00
pinkerton%netscape.com
2cad339fe9 Make toolbars block frames so that they react correctly in the presence of min/max height attributes. fixes bug #3504.
git-svn-id: svn://10.0.0.236/trunk@24675 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 19:08:25 +00:00
locka%iol.ie
39ba3805b3 Fixed duff return code test
git-svn-id: svn://10.0.0.236/trunk@24674 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 19:06:55 +00:00
locka%iol.ie
39e23d965b More DOM improvements
git-svn-id: svn://10.0.0.236/trunk@24673 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 18:59:48 +00:00
harishd%netscape.com
24bc2c902e Ignoring unwanted tags in <head>
git-svn-id: svn://10.0.0.236/trunk@24672 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 18:46:01 +00:00
beard%netscape.com
95a2ea8929 updated build instructions
git-svn-id: svn://10.0.0.236/trunk@24670 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 17:19:26 +00:00
kipp%netscape.com
a943a32678 DIsabled a free of stack memory
git-svn-id: svn://10.0.0.236/trunk@24669 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 15:42:07 +00:00
rickg%netscape.com
b91799a999 minor fixes to parser; fixed DoCopy
git-svn-id: svn://10.0.0.236/trunk@24668 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 10:19:09 +00:00
rickg%netscape.com
017dac3409 landing nsString2
git-svn-id: svn://10.0.0.236/trunk@24667 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 09:54:46 +00:00
endico%mozilla.org
c5d9fc0575 add new image for My Netscape
git-svn-id: svn://10.0.0.236/trunk@24666 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 09:46:05 +00:00
dp%netscape.com
e9779209fc You Have Got ftp directory!
git-svn-id: svn://10.0.0.236/trunk@24665 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 09:12:29 +00:00
jfrancis%netscape.com
6a6a648796 bug 4057: fix is in layout; here I'm removing the old workaround code
git-svn-id: svn://10.0.0.236/trunk@24664 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 09:04:06 +00:00
jfrancis%netscape.com
356ea1dcd5 fixed 4057: Clear() now resets focus and anchor nodes
git-svn-id: svn://10.0.0.236/trunk@24663 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 09:02:30 +00:00
rickg%netscape.com
a1384a7aec prep work to land nsString2
git-svn-id: svn://10.0.0.236/trunk@24662 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 08:29:26 +00:00
jfrancis%netscape.com
6b4a9e3ee5 ADDED "white-space: pre" to style sheet
git-svn-id: svn://10.0.0.236/trunk@24661 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 08:09:08 +00:00
rpotts%netscape.com
0b2339c91a Pre-register the XPComFactory until nsappshell.dll is automatically registered...
git-svn-id: svn://10.0.0.236/trunk@24660 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 07:52:22 +00:00
rpotts%netscape.com
7dbe355a7f Treat the progID argument on createInstance(...) as a progID - not a CLSID
git-svn-id: svn://10.0.0.236/trunk@24659 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 07:51:13 +00:00
rpotts%netscape.com
f965719107 Fixed up cut/paste error in NSUnRegisterSelf(...)
git-svn-id: svn://10.0.0.236/trunk@24658 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 07:50:26 +00:00
rpotts%netscape.com
a12f77eb72 turned on the XPConnectFactory since it is now building on all platforms...
git-svn-id: svn://10.0.0.236/trunk@24657 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 06:27:36 +00:00
dougt%netscape.com
f0a9cb75d1 Updated makefile to use nspr version 3.
git-svn-id: svn://10.0.0.236/trunk@24656 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 06:10:59 +00:00
bienvenu%netscape.com
5519876793 initial entry into cvs
git-svn-id: svn://10.0.0.236/trunk@24655 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 05:11:27 +00:00
bienvenu%netscape.com
880a567224 initial entry into cvs ofnews database
git-svn-id: svn://10.0.0.236/trunk@24654 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 05:09:55 +00:00
bienvenu%netscape.com
d2152b44ab more porting of news database
git-svn-id: svn://10.0.0.236/trunk@24653 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 05:09:29 +00:00
leif%netscape.com
0b80b6c496 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@24651 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 04:13:25 +00:00
leif%netscape.com
8dea606bd6 - Added support for add()'ing entries from a hash array.
- Preserve attribute orders.
- Bug fixes...


git-svn-id: svn://10.0.0.236/trunk@24650 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 04:12:41 +00:00
leif%netscape.com
f15ed9f8b4 - Added new() method.
- Added DESTROY method, to solve memory leaks.
- Tons of changes for handling save/modified/delete states.
- Added the attrClean() method, which is used from Conn.pm
- Bug-fixes galore.


git-svn-id: svn://10.0.0.236/trunk@24649 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 04:04:56 +00:00
pavlov%pavlov.net
f49cdc71d0 fix crash
git-svn-id: svn://10.0.0.236/trunk@24648 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 03:48:51 +00:00
pavlov%pavlov.net
31f2c8d6df memory leak patch from bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@24647 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 02:57:06 +00:00
pavlov%pavlov.net
92d87fd9ca fix up some more ugly memory leaks.
git-svn-id: svn://10.0.0.236/trunk@24645 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 02:36:41 +00:00
endico%mozilla.org
b0d65f24ba ignore output files when updating source
git-svn-id: svn://10.0.0.236/trunk@24643 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 02:27:40 +00:00
endico%mozilla.org
28f55a8f19 be quiet
git-svn-id: svn://10.0.0.236/trunk@24642 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 02:13:32 +00:00
pavlov%pavlov.net
694a70148e fix up some mem leaks caused by Push/PopState()
git-svn-id: svn://10.0.0.236/trunk@24641 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 01:50:34 +00:00
endico%mozilla.org
e45783d202 update the source from cvs
git-svn-id: svn://10.0.0.236/trunk@24640 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 01:40:22 +00:00
endico%mozilla.org
6197e2b86a limit rdf file to 15 most recent submissions
git-svn-id: svn://10.0.0.236/trunk@24638 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 01:12:00 +00:00
endico%mozilla.org
b71a0cfe12 adding rdf support
git-svn-id: svn://10.0.0.236/trunk@24636 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 00:55:53 +00:00
pavlov%pavlov.net
5aba2d2a38 fix a memory leak.
git-svn-id: svn://10.0.0.236/trunk@24634 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 21:50:59 +00:00
pavlov%pavlov.net
e1557c7628 stomp a few more bugs from my previous checkin.
git-svn-id: svn://10.0.0.236/trunk@24633 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 21:31:58 +00:00
beard%netscape.com
57113a3af1 QueryInterface build bustage (argh)
git-svn-id: svn://10.0.0.236/trunk@24632 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 21:11:53 +00:00
pavlov%pavlov.net
ff8805032f fix refcounting.
git-svn-id: svn://10.0.0.236/trunk@24631 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 21:01:21 +00:00
beard%netscape.com
740c8bf189 new implementation of GetScriptObject, returns a script object that is a wrapper for the Java applet object, whose prototype points to the standard DOM element object. This allows the applet's public fields to shadow the DOM properties. only turned on for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@24630 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 20:48:49 +00:00
beard%netscape.com
fcb16f7e0a added CancelTimer() method to turn off the timer at a safe time; added NS_GetObjectFramePluginInstance() to access the associated plugin instance with an nsObjectFrame; fixed some attribute accessor bugs, returns an error if an attribute doesn't exist; implemented GetArchive() and GetMayScript(); added GUItoMacEvent().
git-svn-id: svn://10.0.0.236/trunk@24629 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 20:48:31 +00:00
pavlov%pavlov.net
616ab48de1 nsRenderingContextGTK now uses nsDrawingSurfaceGTK
git-svn-id: svn://10.0.0.236/trunk@24628 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 20:42:01 +00:00
beard%netscape.com
4b746a1a16 changed jvmMochaPrefsEnabled to be default true, cleaned up in preparation for making JSObject.getWindow.
git-svn-id: svn://10.0.0.236/trunk@24627 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 19:56:09 +00:00
locka%iol.ie
af0e6693fe Added (very) basic IE DOM support
git-svn-id: svn://10.0.0.236/trunk@24626 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 19:53:29 +00:00
beard%netscape.com
0b7e535830 added WrapJavaObject, which wraps a JNI global reference in a JSObject.
git-svn-id: svn://10.0.0.236/trunk@24625 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 19:53:28 +00:00
locka%iol.ie
ce5b817604 Fixed control to build with latest plugin changes
git-svn-id: svn://10.0.0.236/trunk@24624 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 19:52:01 +00:00
locka%iol.ie
91a502b4d9 Added ability for tests to output messages
git-svn-id: svn://10.0.0.236/trunk@24623 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 19:51:19 +00:00
beard%netscape.com
f51c28379a added IID accessor
git-svn-id: svn://10.0.0.236/trunk@24622 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 19:51:01 +00:00
dp%netscape.com
5fb82d9f8b getting ftp:// urls working. Ftp urls to a file will work.
Still ftp directory and ftp authentication need implementation.


git-svn-id: svn://10.0.0.236/trunk@24621 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 19:38:45 +00:00
dp%netscape.com
c8ba1ff910 Patch for unsigned vs signed warnings. Thanks to <bruce@cybersight.com>
git-svn-id: svn://10.0.0.236/trunk@24620 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 19:26:32 +00:00
beard%netscape.com
199401db54 Using println rather than applet.print, since JSObject.getWindow() isn't working yet.
git-svn-id: svn://10.0.0.236/trunk@24619 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 17:29:39 +00:00
pavlov%pavlov.net
f23d47e5f9 general code cleanup. make listboxes look nicer.
git-svn-id: svn://10.0.0.236/trunk@24618 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 17:18:09 +00:00
pavlov%pavlov.net
7008c2edf9 add a cast to fix build problems on the ports tinderboxes.
git-svn-id: svn://10.0.0.236/trunk@24617 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 15:42:44 +00:00
gagan%netscape.com
c306da3732 Made non-virtual destructors virtual. Thanks Bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@24616 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 09:31:31 +00:00
hshaw%netscape.com
e399b98073 Make destructors for nsPref and nsPrefFactory so we don't have uninitialization problems. Thanks bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@24615 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 09:03:26 +00:00
dougt%netscape.com
6c1d502ade Fixing unix breakage.
git-svn-id: svn://10.0.0.236/trunk@24614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 06:57:56 +00:00
pavlov%pavlov.net
fc61d119f6 code cleanup and internal gtk refcounting changes.
git-svn-id: svn://10.0.0.236/trunk@24613 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 06:25:34 +00:00
dougt%netscape.com
61ba04689f Now adjusting the nsFileSpec after a Move().
Also fixing a bug with Rename().  Now it should successfully take
partial pathnames on Unix and Windows.


git-svn-id: svn://10.0.0.236/trunk@24612 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 06:22:45 +00:00
pavlov%pavlov.net
80c6b191c1 fix build bustage i think (it worked before for me!)
git-svn-id: svn://10.0.0.236/trunk@24611 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 06:10:17 +00:00
pavlov%pavlov.net
3edcc9d000 patch part two.. make the destructor virtual
git-svn-id: svn://10.0.0.236/trunk@24610 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 06:05:24 +00:00
pavlov%pavlov.net
89ed0e426d patch (part 1) from bruce@cybersight.com to fix little bugs.
git-svn-id: svn://10.0.0.236/trunk@24609 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 06:04:23 +00:00
pavlov%pavlov.net
281d90f853 being implimenting the use of CmdLineService, add internal gtk refcounting
measures (not complete), and remove some excess code.


git-svn-id: svn://10.0.0.236/trunk@24608 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 05:23:47 +00:00
pierre%netscape.com
a834132835 #3974 "mac crashes when hitting return to submit form"
git-svn-id: svn://10.0.0.236/trunk@24607 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 04:35:01 +00:00
braddr%puremagic.com
f096e46396 Erk.. that broke cvsblame
git-svn-id: svn://10.0.0.236/trunk@24606 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 03:20:09 +00:00
braddr%puremagic.com
3168e060b2 Must close </td></tr></table> at the end of the page.. otherwise lots of content never renders under nscp 4
git-svn-id: svn://10.0.0.236/trunk@24605 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 03:17:56 +00:00
kipp%netscape.com
a6e54a1b19 Support redo-reflow for lines to handle reflow around large floaters
git-svn-id: svn://10.0.0.236/trunk@24604 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 01:15:12 +00:00
kipp%netscape.com
0eba164710 Reworked CanPlaceFrame logic to be slightly more efficient and to handle breaking around floaters differently to conform to CSS
git-svn-id: svn://10.0.0.236/trunk@24603 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 01:14:43 +00:00
kipp%netscape.com
e8abf03de9 Added state to keep track of lines that are impacted by floaters
git-svn-id: svn://10.0.0.236/trunk@24602 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 01:14:05 +00:00
kipp%netscape.com
4eefb39482 Ask line if we are breakable instead of using our own logic
git-svn-id: svn://10.0.0.236/trunk@24601 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 01:13:17 +00:00
beard%netscape.com
0e7cf7cdfc fixed reference count leaking, File no longer nulls out mCallbackObject.
git-svn-id: svn://10.0.0.236/trunk@24600 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 23:15:02 +00:00
beard%netscape.com
741b9e3f4d put in NULL checks for mInstance.
git-svn-id: svn://10.0.0.236/trunk@24599 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 23:13:41 +00:00
beard%netscape.com
062077ef82 NPStream* ptr -> NPStream* stream
git-svn-id: svn://10.0.0.236/trunk@24598 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 23:12:43 +00:00
beard%netscape.com
563b81185c implemented nsICookieStorage.
git-svn-id: svn://10.0.0.236/trunk@24597 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 23:11:25 +00:00
beard%netscape.com
5f070d8c6c added nsICookieStorage.h
git-svn-id: svn://10.0.0.236/trunk@24596 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 23:07:52 +00:00
kipp%netscape.com
27d5937b9b Use CRAZY macros for debug noise
git-svn-id: svn://10.0.0.236/trunk@24595 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 21:57:03 +00:00
kipp%netscape.com
61349905c4 Added crazy macros
git-svn-id: svn://10.0.0.236/trunk@24594 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 21:56:11 +00:00
kipp%netscape.com
a5a4f0c293 switch to using CRAZY macros
git-svn-id: svn://10.0.0.236/trunk@24593 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 21:55:59 +00:00
kipp%netscape.com
a34759dd7e Removed some cruft
git-svn-id: svn://10.0.0.236/trunk@24592 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 21:55:37 +00:00
kipp%netscape.com
c58c1e2555 Fixed a bug with zero height spans and combined area calculations that led to tall vertical scrollbars...; also switch to using CRAZY macros
git-svn-id: svn://10.0.0.236/trunk@24591 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 21:55:22 +00:00
kipp%netscape.com
3a827eb066 Reworked the way that the final metrics are computed; support min/max width/height; track max-element-size issues better; disabled compact frame handling
git-svn-id: svn://10.0.0.236/trunk@24590 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 19:40:13 +00:00
kipp%netscape.com
d9817b176d Fixed a typo bug
git-svn-id: svn://10.0.0.236/trunk@24589 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 19:39:08 +00:00
kipp%netscape.com
4e9fbfafc5 Added some debugging help for tracking down max-element-size bugs
git-svn-id: svn://10.0.0.236/trunk@24588 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 19:38:50 +00:00
kipp%netscape.com
d0ccddea6c applied Kartik Subbarao's <subbarao@computer.org> patch for HPUX linking
git-svn-id: svn://10.0.0.236/trunk@24587 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 19:05:05 +00:00
waterson%netscape.com
43dc9e3cac Hooked up history to the front-end, cleaned up a bunch of bugs.
git-svn-id: svn://10.0.0.236/trunk@24586 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 17:12:37 +00:00
kipp%netscape.com
a697f3cf69 Table's, tr's, td's and th's now support navigators background attribute properly including backgrounds impacted by BASE tags - bug #2020
git-svn-id: svn://10.0.0.236/trunk@24585 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 15:42:21 +00:00
endico%mozilla.org
6d431e4a41 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@24584 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 08:19:28 +00:00
mcafee%netscape.com
b7067ab306 Minor formatting change for error output.
git-svn-id: svn://10.0.0.236/trunk@24583 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:25:54 +00:00
beard%netscape.com
7daa91ccd4 bumped version
git-svn-id: svn://10.0.0.236/trunk@24582 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:14:33 +00:00
beard%netscape.com
d59fccd85e reworked initialization/termination routines, now adds MRJPlugin.jar to the class path, assuming same directory as plugin, removes event filters upon termination.
git-svn-id: svn://10.0.0.236/trunk@24581 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:14:22 +00:00
beard%netscape.com
9c13dee3d1 added MRJConsole.jar target, added EventFilter.cpp
git-svn-id: svn://10.0.0.236/trunk@24580 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:14:12 +00:00
beard%netscape.com
41829597b9 added MouseListener popup menu trigger.
git-svn-id: svn://10.0.0.236/trunk@24579 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:13:22 +00:00
danm%netscape.com
86c085c3c6 initial modal dialogs checkin (windows-only, UI thread only)
git-svn-id: svn://10.0.0.236/trunk@24578 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:13:09 +00:00
beard%netscape.com
7c3d4dba58 addToClassPath(const FSSpec& fileSpec)
git-svn-id: svn://10.0.0.236/trunk@24577 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:12:59 +00:00
beard%netscape.com
127595ba9b added setDocumentBase, reworked CODEBASE logic.
git-svn-id: svn://10.0.0.236/trunk@24576 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:09:38 +00:00
beard%netscape.com
12bb18be7b Added more events, added menu filtering.
git-svn-id: svn://10.0.0.236/trunk@24575 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:08:52 +00:00
beard%netscape.com
5edea082fe First Checked In.
git-svn-id: svn://10.0.0.236/trunk@24574 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:08:17 +00:00
beard%netscape.com
43767a6e2a added Jump instruction for safe removal. this is a dead-end, because update events can't be gotten reliably.
git-svn-id: svn://10.0.0.236/trunk@24573 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 04:08:04 +00:00
bienvenu%netscape.com
65c27593b6 register prefs service, put in default url spec
git-svn-id: svn://10.0.0.236/trunk@24572 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 03:07:31 +00:00
saari%netscape.com
baec19559b missing file
git-svn-id: svn://10.0.0.236/trunk@24571 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:56:03 +00:00
tague%netscape.com
b5f45095b1 Fixed purify errors. Thanks to bruce@cybersight.com for the patches.
git-svn-id: svn://10.0.0.236/trunk@24570 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:42:18 +00:00
alecf%netscape.com
f26593c07d oops, back out my old patch - caused more harm than good
git-svn-id: svn://10.0.0.236/trunk@24569 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:41:27 +00:00
saari%netscape.com
89279e76c7 nsIMenu.h changes
git-svn-id: svn://10.0.0.236/trunk@24568 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:38:58 +00:00
alecf%netscape.com
f32a1c706d fix newline and end of file problem
git-svn-id: svn://10.0.0.236/trunk@24567 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:34:54 +00:00
alecf%netscape.com
e15a6246cb there is no header file on unix that actually includes this path. wierd.
git-svn-id: svn://10.0.0.236/trunk@24566 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:34:31 +00:00
alecf%netscape.com
ee375b123e fix spaces-at-end-of-line problem
git-svn-id: svn://10.0.0.236/trunk@24565 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:32:06 +00:00
alecf%netscape.com
e97eee4f92 ignore generated files
git-svn-id: svn://10.0.0.236/trunk@24564 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:30:28 +00:00
hyatt%netscape.com
d4926190a8 Menu interface changes-saari
git-svn-id: svn://10.0.0.236/trunk@24563 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:30:12 +00:00
saari%netscape.com
0e2bbf2db8 nsIMenu.h interface changes
git-svn-id: svn://10.0.0.236/trunk@24562 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:28:14 +00:00
alecf%netscape.com
91c1e319ea return the right return value, not -1
git-svn-id: svn://10.0.0.236/trunk@24561 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:19:51 +00:00
alecf%netscape.com
e5b3133d98 remove unused variable
git-svn-id: svn://10.0.0.236/trunk@24560 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:19:23 +00:00
alecf%netscape.com
56bd0447a2 use nsnull instead of NULL when referring to int's
git-svn-id: svn://10.0.0.236/trunk@24559 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:19:08 +00:00
alecf%netscape.com
117850390b fix casting problems for unix
git-svn-id: svn://10.0.0.236/trunk@24558 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:18:43 +00:00
alecf%netscape.com
18f6343265 fix lots of casting problems
git-svn-id: svn://10.0.0.236/trunk@24557 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:18:16 +00:00
alecf%netscape.com
2815d43a22 we should have virtual destructors wherever possible
git-svn-id: svn://10.0.0.236/trunk@24556 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:17:52 +00:00
alecf%netscape.com
5a7cd37a94 fix newline at end of file
git-svn-id: svn://10.0.0.236/trunk@24555 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:17:21 +00:00
alecf%netscape.com
dcfa5def2c fix constructor order to match declaration
git-svn-id: svn://10.0.0.236/trunk@24554 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:17:02 +00:00
alecf%netscape.com
25d88d5589 libjs->libmozjs
git-svn-id: svn://10.0.0.236/trunk@24553 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:16:35 +00:00
alecf%netscape.com
e30b1cb568 fix libraries to link against
git-svn-id: svn://10.0.0.236/trunk@24552 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:15:38 +00:00
alecf%netscape.com
6ee4571d8c remove stub code that doesn't build and add relevant libraries
git-svn-id: svn://10.0.0.236/trunk@24551 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:14:42 +00:00
alecf%netscape.com
bdfd54976b ignore generated files
git-svn-id: svn://10.0.0.236/trunk@24550 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:13:57 +00:00
alecf%netscape.com
95d8f4b065 add NSPR-based string manipulation and add to link line
git-svn-id: svn://10.0.0.236/trunk@24549 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:13:44 +00:00
alecf%netscape.com
e733ba026d only build tests if ENABLE_TESTS is on
git-svn-id: svn://10.0.0.236/trunk@24548 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:13:12 +00:00
alecf%netscape.com
d5a09e1ed2 move mork to the front to get linking correct
git-svn-id: svn://10.0.0.236/trunk@24547 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:11:57 +00:00
alecf%netscape.com
baa345fe1e add all relevant makefiles
git-svn-id: svn://10.0.0.236/trunk@24546 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:11:24 +00:00
alecf%netscape.com
bdb1612c89 move base in front of db so linking works correctly
git-svn-id: svn://10.0.0.236/trunk@24545 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:10:29 +00:00
alecf%netscape.com
6875d38109 fix end-of-line problem
git-svn-id: svn://10.0.0.236/trunk@24544 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:06:29 +00:00
alecf%netscape.com
ff4658ba22 make local a component
git-svn-id: svn://10.0.0.236/trunk@24543 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:05:46 +00:00
slamm%netscape.com
6e2df6b42c Add cvsblame to navigation links.
git-svn-id: svn://10.0.0.236/trunk@24542 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:05:36 +00:00
briano%netscape.com
4acffdb3e1 Added IRIX support (sort of), and a way to turn off CVS compression if necessary.
git-svn-id: svn://10.0.0.236/trunk@24541 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:04:21 +00:00
alecf%netscape.com
8cf4f63878 bubble LoadURL's errors up through rv
git-svn-id: svn://10.0.0.236/trunk@24540 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:02:31 +00:00
alecf%netscape.com
da2ff92aea add leading slash to windows URLs and update macros so that we don't get triple slashes on unix
git-svn-id: svn://10.0.0.236/trunk@24539 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:01:54 +00:00
slamm%netscape.com
38ecf03f4e Add lxr to navigation links
git-svn-id: svn://10.0.0.236/trunk@24538 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:00:48 +00:00
alecf%netscape.com
4288e4d93d export these files
git-svn-id: svn://10.0.0.236/trunk@24537 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:00:32 +00:00
alecf%netscape.com
fd6fba0e0f also do not strip leading / from mailboxMessage URL's
git-svn-id: svn://10.0.0.236/trunk@24536 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 02:00:16 +00:00
davidm%netscape.com
35556d829e Added files
nsXPConnectFactory.cpp 
    nsJSXPConnectFactory.cpp 
    nsAppShellNameSet.cpp
for rpotts


git-svn-id: svn://10.0.0.236/trunk@24535 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:54:24 +00:00
vidur%netscape.com
195c73d8b9 Purify fixes from Bruce Mitchener
git-svn-id: svn://10.0.0.236/trunk@24534 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:54:12 +00:00
alecf%netscape.com
1e94c8383f link against util library rather than the mail/news component
git-svn-id: svn://10.0.0.236/trunk@24533 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:52:42 +00:00
alecf%netscape.com
c5ec3177fa break dependancy on mailnews.dll by creating this object from the repository
git-svn-id: svn://10.0.0.236/trunk@24532 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:51:47 +00:00
vidur%netscape.com
edfbccc3cb Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash.
git-svn-id: svn://10.0.0.236/trunk@24531 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:51:00 +00:00
slamm%netscape.com
d35c984c2e Get rid of unused stuff. Tighten up the header.
git-svn-id: svn://10.0.0.236/trunk@24530 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:50:52 +00:00
mscott%netscape.com
cb586aeb93 build util lib just as a static library instead of as a dll.
git-svn-id: svn://10.0.0.236/trunk@24529 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:39:44 +00:00
kipp%netscape.com
c931f7d0ce Fixed centering of list bullets (bug #4040)
git-svn-id: svn://10.0.0.236/trunk@24528 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:37:43 +00:00
kipp%netscape.com
9746304a9f Support html4 type attribute
git-svn-id: svn://10.0.0.236/trunk@24527 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:32:48 +00:00
slamm%netscape.com
4af0cdca8b Redo the header.
git-svn-id: svn://10.0.0.236/trunk@24526 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:30:16 +00:00
michaelp%netscape.com
ed7c96c44c added Set/GetLineHeight().
git-svn-id: svn://10.0.0.236/trunk@24524 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:25:37 +00:00
alecf%netscape.com
e6b866ac84 make this a librar
git-svn-id: svn://10.0.0.236/trunk@24523 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:15:48 +00:00
mcmullen%netscape.com
9f6d4d0fcd FIxing another unix problem.
git-svn-id: svn://10.0.0.236/trunk@24522 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:13:35 +00:00
mcmullen%netscape.com
895db7e172 Fixing another bustage.
git-svn-id: svn://10.0.0.236/trunk@24521 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:09:10 +00:00
mcmullen%netscape.com
c4b5fa756e Fixing another bustage.
git-svn-id: svn://10.0.0.236/trunk@24520 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:06:19 +00:00
alecf%netscape.com
f9341e1815 duh, need to link against both component AND dll
git-svn-id: svn://10.0.0.236/trunk@24519 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 01:04:40 +00:00
michaelp%netscape.com
ab643ac84a ScrollTo() now blits wherever possible.
git-svn-id: svn://10.0.0.236/trunk@24518 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:47:08 +00:00
alecf%netscape.com
8c14ae1b7a link against utility library rather than component
git-svn-id: svn://10.0.0.236/trunk@24517 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:47:02 +00:00
alecf%netscape.com
1fc7b456ff support Unix for temporary file hack for libmime
git-svn-id: svn://10.0.0.236/trunk@24516 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:41:19 +00:00
mcmullen%netscape.com
9219ac5b9f Again.
git-svn-id: svn://10.0.0.236/trunk@24515 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:41:14 +00:00
alecf%netscape.com
dff4275aef make news a regular shared library to link against
git-svn-id: svn://10.0.0.236/trunk@24514 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:41:02 +00:00
alecf%netscape.com
6162c21295 export headers to the same directory as before
git-svn-id: svn://10.0.0.236/trunk@24513 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:38:33 +00:00
alecf%netscape.com
37571b4dcc remove some files that aren't in this directory any more
git-svn-id: svn://10.0.0.236/trunk@24512 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:29:44 +00:00
mcmullen%netscape.com
0be5611969 More fixes (dangling pointers and fishy constscoffness)
git-svn-id: svn://10.0.0.236/trunk@24511 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:29:16 +00:00
tague%netscape.com
506a77e21a Added nsIDOMTextListener.h to Mac build
git-svn-id: svn://10.0.0.236/trunk@24510 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:28:07 +00:00
slamm%netscape.com
3506264571 Add support for non-layers capable browsers. Use same fonts as lxr. Have revision link take you to the previous blame of that revision.
git-svn-id: svn://10.0.0.236/trunk@24509 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:27:42 +00:00
alecf%netscape.com
9aac83e553 move files over to util library to link against it directly
git-svn-id: svn://10.0.0.236/trunk@24508 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:24:26 +00:00
alecf%netscape.com
45bc0850b2 export the DOM-based IDL file
git-svn-id: svn://10.0.0.236/trunk@24507 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:22:46 +00:00
mcmullen%netscape.com
4a805c0411 FIx possible bustage (not shown up on tinderbox yet).
git-svn-id: svn://10.0.0.236/trunk@24506 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:18:53 +00:00
mcmullen%netscape.com
76a28accfe Fix unix bustage.
git-svn-id: svn://10.0.0.236/trunk@24505 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:13:08 +00:00
michaelp%netscape.com
bc79a637e9 added APIs for scrolling by page or line.
git-svn-id: svn://10.0.0.236/trunk@24504 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:11:35 +00:00
despotdaemon%netscape.com
10400ea127 Pseudo-automatic update of changes made by waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@24503 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-20 00:09:50 +00:00
tague%netscape.com
145eee6cfe Fixed error in checkin
git-svn-id: svn://10.0.0.236/trunk@24502 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:54:49 +00:00
tague%netscape.com
c25f6ffc4d Added nsIDOMTextListener.h to Linux build
git-svn-id: svn://10.0.0.236/trunk@24501 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:46:23 +00:00
sfraser%netscape.com
1916823c98 Fix build bustage. Remove nsInlineReflow.cpp
git-svn-id: svn://10.0.0.236/trunk@24500 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:46:15 +00:00
slamm%netscape.com
3699de5899 Update the look. Alternate row color with revision number.
git-svn-id: svn://10.0.0.236/trunk@24499 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:36:58 +00:00
tague%netscape.com
b473550518 Added support for basic Japanese input on Win32
git-svn-id: svn://10.0.0.236/trunk@24498 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:36:20 +00:00
nhotta%netscape.com
4e32b78b2a Added two functions which use nsString as a sort key.
git-svn-id: svn://10.0.0.236/trunk@24497 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:21:43 +00:00
dougt%netscape.com
ee5469e6d1 Run is working in the viewer.
Removing some older unused files.


git-svn-id: svn://10.0.0.236/trunk@24496 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:21:30 +00:00
mcmullen%netscape.com
a2a3982ee7 Bugs #3997, 3934
git-svn-id: svn://10.0.0.236/trunk@24495 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:09:39 +00:00
kipp%netscape.com
32c660d9d5 Handle background attribute better
git-svn-id: svn://10.0.0.236/trunk@24494 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:09:29 +00:00
kipp%netscape.com
4d19bb2e2c Removed some debris
git-svn-id: svn://10.0.0.236/trunk@24493 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:07:38 +00:00
kipp%netscape.com
2ce5e55332 Added more bad-frame detection; fixed a purify caught bug
git-svn-id: svn://10.0.0.236/trunk@24492 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:07:17 +00:00
kipp%netscape.com
266f3155a7 bye
git-svn-id: svn://10.0.0.236/trunk@24491 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:06:55 +00:00
kipp%netscape.com
4fc7bf9895 Eliminate some purify warnings
git-svn-id: svn://10.0.0.236/trunk@24490 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:06:42 +00:00
kipp%netscape.com
394624ea34 Added more bad-frame detection
git-svn-id: svn://10.0.0.236/trunk@24489 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:06:20 +00:00
kipp%netscape.com
d48d7d0f1f Fix wide layout bug in todays build; fixed bug #4013 as well and bug #2589
git-svn-id: svn://10.0.0.236/trunk@24488 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:05:56 +00:00
mscott%netscape.com
592ba97e1a (not part of build)
We were using an interface id instead of a class id in the call to create instance for the protocol so I fixed that. We don't need netService so I removed the code for that. We were also confusing an imap4service with the core netlib service (nsINetService). Release the protocol instead of deleting it in the protocol. Insert breaks in the switch statements for ::ReadAndDispatchCommand. Release the event queue service when we are done with it.


git-svn-id: svn://10.0.0.236/trunk@24487 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 22:55:32 +00:00
alecf%netscape.com
3f6df41daf move files over from src into linkable library
git-svn-id: svn://10.0.0.236/trunk@24486 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 22:55:08 +00:00
mscott%netscape.com
3f56ed0e6e (not part of the build)
use new intialize method from the interface which takes an event queue. The constructor for a component that supports an interface must always be empty so remove the dependency on the event queue. Rename old Initialize method to SetupwithUrl.


git-svn-id: svn://10.0.0.236/trunk@24485 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 22:50:53 +00:00
mscott%netscape.com
386450a1ec Add interface method for initialize which takes an event queue.
git-svn-id: svn://10.0.0.236/trunk@24484 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 22:48:45 +00:00
mscott%netscape.com
6d51996b9c (not part of the build)
build tests directory.


git-svn-id: svn://10.0.0.236/trunk@24483 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 22:48:06 +00:00
wtc%netscape.com
a8b6b4e24a Update from the internal CVS repository /m/src. Includes: first
cut at 64-bit AIX port.


git-svn-id: svn://10.0.0.236/trunk@24482 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 22:47:21 +00:00
mscott%netscape.com
2853e36532 NOT PART OF BUILD PROCESS.
top level makefile.win for imap.


git-svn-id: svn://10.0.0.236/trunk@24481 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 22:02:48 +00:00
slamm%netscape.com
4b1ddaba3a Turn line numbers on by default.
git-svn-id: svn://10.0.0.236/trunk@24480 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 21:49:45 +00:00
rhp%netscape.com
fba6d7b9b2 Fix for bad return value.
git-svn-id: svn://10.0.0.236/trunk@24479 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 21:49:35 +00:00
terry%netscape.com
cc18d6fb6f Patch by David Gardiner <david.gardiner@unisa.edu.au> (with further
hacks by me):

Added javascript magic to adjust component/version lists when products
get selected.


git-svn-id: svn://10.0.0.236/trunk@24478 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 21:40:14 +00:00
rods%netscape.com
f1c72f5d49 Enabled debug menu for all typed of builds
git-svn-id: svn://10.0.0.236/trunk@24477 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:59:11 +00:00
rods%netscape.com
b3ee19c1a2 Add debug menu enabled for all types of builds
git-svn-id: svn://10.0.0.236/trunk@24476 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:58:11 +00:00
bienvenu%netscape.com
3b8399f64c imap test harness, not part of build as of yet
git-svn-id: svn://10.0.0.236/trunk@24475 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:58:08 +00:00
bienvenu%netscape.com
35a5cb693e imap test harness, not part of build as of yet
git-svn-id: svn://10.0.0.236/trunk@24474 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:51:50 +00:00
slamm%netscape.com
5c89ede253 Cache the brief log html. Make it fast.
git-svn-id: svn://10.0.0.236/trunk@24473 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:37:07 +00:00
rhp%netscape.com
40dbdf197c Take out testing output
git-svn-id: svn://10.0.0.236/trunk@24472 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:27:29 +00:00
alecf%netscape.com
bca6edb1c7 more unix fixes for rhp's mime carpool
git-svn-id: svn://10.0.0.236/trunk@24471 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:19:53 +00:00
rhp%netscape.com
949d29dc3a Fix for exporting functions
git-svn-id: svn://10.0.0.236/trunk@24470 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:18:09 +00:00
rhp%netscape.com
dbfb8886ab fix for function definition
git-svn-id: svn://10.0.0.236/trunk@24469 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:16:57 +00:00
alecf%netscape.com
81eb15aef1 minor makefile changes for rhp's carpool (libjs is not libmozjs)
git-svn-id: svn://10.0.0.236/trunk@24468 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:16:08 +00:00
alecf%netscape.com
27ca4630c3 fix Linux libmime problems (part of rhp's checkin)
git-svn-id: svn://10.0.0.236/trunk@24467 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:14:55 +00:00
rhp%netscape.com
fa3d69c63e Adding required file
git-svn-id: svn://10.0.0.236/trunk@24466 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:11:31 +00:00
rhp%netscape.com
62182a6c52 Cleanup of mime
git-svn-id: svn://10.0.0.236/trunk@24465 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:09:28 +00:00
rhp%netscape.com
9d17b646e1 New makefile for unix
git-svn-id: svn://10.0.0.236/trunk@24464 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:02:00 +00:00
rhp%netscape.com
2e748aafc1 New changes for calendar content type handler
git-svn-id: svn://10.0.0.236/trunk@24463 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:01:55 +00:00
rhp%netscape.com
73b00af461 New changes for vcard content type handler
git-svn-id: svn://10.0.0.236/trunk@24462 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:00:43 +00:00
rhp%netscape.com
d0cfaccffb Checkin of new CPP sources and code changes for libmime
git-svn-id: svn://10.0.0.236/trunk@24461 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 20:00:36 +00:00
rhp%netscape.com
60326c5ed4 Deleting old src files for libmime
git-svn-id: svn://10.0.0.236/trunk@24460 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 19:59:24 +00:00
rhp%netscape.com
ee6ae72a88 Adding new interface for mime emitter
git-svn-id: svn://10.0.0.236/trunk@24459 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 19:56:08 +00:00
beard%netscape.com
e4c4f237fc fixed MRJPlugin::Initialize() to be more robust, added hasTagInfo to determine whether javascript: URL must be used to get the CODEBASE attribute.
git-svn-id: svn://10.0.0.236/trunk@24458 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 18:25:56 +00:00
beard%netscape.com
8609b94680 Added jGNE.cpp
git-svn-id: svn://10.0.0.236/trunk@24457 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 18:25:36 +00:00
beard%netscape.com
f28410d97d kIJVMPluginTagInfoIID --> nsIJVMPluginTagInfo::GetIID()
git-svn-id: svn://10.0.0.236/trunk@24456 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 18:22:30 +00:00
beard%netscape.com
667a4ab977 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@24455 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 18:21:50 +00:00
beard%netscape.com
2e04c79e57 started on nsIPluginManager2 implementation, using jGNE event filter for update events.
git-svn-id: svn://10.0.0.236/trunk@24454 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 18:21:37 +00:00
rods%netscape.com
e2c93614ca Removed nsITextDataFlavor.h from the makefiles
git-svn-id: svn://10.0.0.236/trunk@24453 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 16:30:01 +00:00
rods%netscape.com
260a3d7f3a Added new Drag & Drop and Clipboard interfaces
git-svn-id: svn://10.0.0.236/trunk@24452 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 15:57:10 +00:00
rods%netscape.com
659268f787 Added nsString, so the conversion goes to a string and to a stream
Eventually, we will want it to just go to a string.


git-svn-id: svn://10.0.0.236/trunk@24451 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 15:53:07 +00:00
beard%netscape.com
b2c0019f0b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@24450 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 15:01:47 +00:00
beard%netscape.com
8c91b36879 bumped version
git-svn-id: svn://10.0.0.236/trunk@24449 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 14:36:50 +00:00
beard%netscape.com
67ae2850dd updated
git-svn-id: svn://10.0.0.236/trunk@24448 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 14:36:49 +00:00
beard%netscape.com
dfd23759b9 changed the finalize method to release the wrapped plugin instance.
git-svn-id: svn://10.0.0.236/trunk@24447 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 14:35:50 +00:00
beard%netscape.com
d66fd18df8 Using a __MRJ_JAVA_CONSOLE__ as the unique name.
git-svn-id: svn://10.0.0.236/trunk@24446 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 14:35:06 +00:00
beard%netscape.com
eef90cff0c FRAME -> JAVAFRAME attribute
git-svn-id: svn://10.0.0.236/trunk@24445 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 14:32:02 +00:00
beard%netscape.com
94007c46c8 removed margin problem, computing initial window size, added &NBSP; between <BODY> and <EMBED>.
git-svn-id: svn://10.0.0.236/trunk@24444 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 14:31:23 +00:00
beard%netscape.com
6cf4fbfda8 Added <BODY>
git-svn-id: svn://10.0.0.236/trunk@24443 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 14:29:13 +00:00
warren%netscape.com
ac3c6194f7 Backed out nsUnicharKey -- couldn't get it to build with -pedantic linux.
git-svn-id: svn://10.0.0.236/trunk@24439 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 10:27:41 +00:00
rickg%netscape.com
547a0d6c89 removed memory leak
git-svn-id: svn://10.0.0.236/trunk@24438 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 10:20:29 +00:00
warren%netscape.com
37c664daaf Attempt to fix pendantic breakage.
git-svn-id: svn://10.0.0.236/trunk@24437 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 09:46:09 +00:00
warren%netscape.com
b347690ee9 Added nsUnicharKey for nsHashtables.
git-svn-id: svn://10.0.0.236/trunk@24435 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 09:02:43 +00:00
mcafee%netscape.com
b3b63388e9 Splitting up NS_ScriptErrorReporter() to test each argument before printing it, we were passing a partial error report to printf() which was crashing for Edit|Preferences.
git-svn-id: svn://10.0.0.236/trunk@24434 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 09:00:39 +00:00
rickg%netscape.com
f4af810625 updated top100 order
git-svn-id: svn://10.0.0.236/trunk@24433 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 08:48:24 +00:00
rickg%netscape.com
2a7f41a86b fixed a dozen bugs
git-svn-id: svn://10.0.0.236/trunk@24432 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 08:47:51 +00:00
rickg%netscape.com
e635708ea1 removed static vars
git-svn-id: svn://10.0.0.236/trunk@24431 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 08:47:20 +00:00
rpotts%netscape.com
ae04462df2 Fix case in include name for unix :-(
git-svn-id: svn://10.0.0.236/trunk@24430 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 08:44:40 +00:00
rpotts%netscape.com
7a548af3a5 Added XPConnect stuff to the build...
git-svn-id: svn://10.0.0.236/trunk@24428 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 08:18:18 +00:00
rpotts%netscape.com
3e7a37ec48 Fixed case in #include for unix :-(
git-svn-id: svn://10.0.0.236/trunk@24427 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 06:29:10 +00:00
rpotts%netscape.com
866b5a6c33 initialize mLoadAttribs...
git-svn-id: svn://10.0.0.236/trunk@24426 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 06:23:22 +00:00
rpotts%netscape.com
2681b03471 changes to build the nsXPConnectFactory (and friends...)
git-svn-id: svn://10.0.0.236/trunk@24425 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 06:19:50 +00:00
warren%netscape.com
24f7a16a93 Fix for broken linux compiler.
git-svn-id: svn://10.0.0.236/trunk@24424 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 06:18:08 +00:00
rpotts%netscape.com
537365f175 remove the reference to nsXPConnectFactory until mac and unix are building it too...
git-svn-id: svn://10.0.0.236/trunk@24423 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 06:17:05 +00:00
rpotts%netscape.com
e7cad4f98c Temporary XPConnectFactory (until the real one is available...). This will replace the AppCoresManager as the way to create C++ components in javascript...
git-svn-id: svn://10.0.0.236/trunk@24422 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 06:15:00 +00:00
jefft%netscape.com
27308a8c83 added some thread stuff
git-svn-id: svn://10.0.0.236/trunk@24419 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 06:08:29 +00:00
jefft%netscape.com
f2eaef5222 added GetThreadEventQueue() method
git-svn-id: svn://10.0.0.236/trunk@24418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 06:07:31 +00:00
rpotts%netscape.com
f991b0aae1 fix for crash in bug #2991... We still need to figure out why the EventQueue is not being returned properly on the Mac.
git-svn-id: svn://10.0.0.236/trunk@24417 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 05:54:17 +00:00
warren%netscape.com
be9f0afe1a Added nsHashtable::Exists. Renamed nsProgIDKey to nsCStringKey (what it is).
git-svn-id: svn://10.0.0.236/trunk@24416 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 05:51:49 +00:00
warren%netscape.com
0adad0956a Added NS_WITH_SERVICE1 macro.
git-svn-id: svn://10.0.0.236/trunk@24415 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 05:48:49 +00:00
warren%netscape.com
23227822ab Added missing flush.
git-svn-id: svn://10.0.0.236/trunk@24414 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 05:42:20 +00:00
jband%netscape.com
55e7b193c6 update TODO list, fixed finalization to wrapper release mapping for wrapped native
git-svn-id: svn://10.0.0.236/trunk@24413 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 04:57:09 +00:00
jband%netscape.com
eee31f5abc fail gracefully on badly formed uuid
git-svn-id: svn://10.0.0.236/trunk@24412 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 04:54:47 +00:00
rjc%netscape.com
9861dabea1 Remember cast of void ** on QueryInterface!
git-svn-id: svn://10.0.0.236/trunk@24411 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 04:19:55 +00:00
rjc%netscape.com
24670425e0 Added a comment about nsString.Find() which is currently only case-significant. We really want to have a case-insignificant Find().
git-svn-id: svn://10.0.0.236/trunk@24410 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 04:17:17 +00:00
rjc%netscape.com
08cba24f65 Finish implementing match criterion.
git-svn-id: svn://10.0.0.236/trunk@24409 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 04:14:20 +00:00
rjc%netscape.com
811dce0032 Add some more sample Find queries and some Mac bookmarks.
git-svn-id: svn://10.0.0.236/trunk@24408 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 04:14:01 +00:00
mscott%netscape.com
e9a5f53984 Helping with smoketest. When we are done running a mailbox url, write the phrase Mailbox Done followed by a line return to a text file. QA will build an automated smoketest which will look for this phrase in that particular file. I've also wrapped the change in a ENABLE_SMOKETEST ifdef....
git-svn-id: svn://10.0.0.236/trunk@24407 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 04:09:33 +00:00
rhp%netscape.com
45fde4db60 No need to build this test anymore.
git-svn-id: svn://10.0.0.236/trunk@24406 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 03:58:08 +00:00
morse%netscape.com
a5112b76e0 workaround for bug 3585
git-svn-id: svn://10.0.0.236/trunk@24405 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 03:42:54 +00:00
putterman%netscape.com
75488e2db2 Added some of the special folder icons.
git-svn-id: svn://10.0.0.236/trunk@24404 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 02:29:49 +00:00
putterman%netscape.com
f01846a383 Added Special Folder attribute
git-svn-id: svn://10.0.0.236/trunk@24403 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 02:28:41 +00:00
pierre%netscape.com
6d5fbbc51a #3821 "Enter Key should be mapped to Return"
git-svn-id: svn://10.0.0.236/trunk@24402 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 02:23:51 +00:00
rjc%netscape.com
897bbefdb0 Remove const.
git-svn-id: svn://10.0.0.236/trunk@24401 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:56:21 +00:00
slamm%netscape.com
8f8d0710a9 Last changes were not working as well as I would have liked. Reverting to 1.1
git-svn-id: svn://10.0.0.236/trunk@24400 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:52:36 +00:00
rjc%netscape.com
9c9a163de9 When sorting (not natural order), first ask for a slightly modified target value. This allows a datasource to detect when a value is being asked for sorting purposes and can be smart... for example, a mail datasource could strip off the "Re:" on mail messages.
git-svn-id: svn://10.0.0.236/trunk@24399 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:52:18 +00:00
rjc%netscape.com
932a5d0716 AppCores is no longer in the "Components" directory as it no longer auto-registers, so modify Setup_Registry() to register RDF AppCore at startup.
git-svn-id: svn://10.0.0.236/trunk@24398 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:45:03 +00:00
nisheeth%netscape.com
b18288c5e8 Fix for bug 3584.
Change coded by vidur.  Reviewed by me.  Document.written documents now get
a default "about:blank" url assigned to them.  This fixes crash bugs associated
with other code assuming that all documents have non-null urls.

Approved by chofmann.


git-svn-id: svn://10.0.0.236/trunk@24397 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:41:09 +00:00
mscott%netscape.com
3643ece092 Remove a debug printf which displayed each line of the message to the terminal when displaying messages to the window.
git-svn-id: svn://10.0.0.236/trunk@24395 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:36:07 +00:00
cata%netscape.com
ef25a6922f UTF8 name fixed.
git-svn-id: svn://10.0.0.236/trunk@24394 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:33:47 +00:00
rhp%netscape.com
d8b375c905 Fix to not output HTML into an image stream
git-svn-id: svn://10.0.0.236/trunk@24393 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:29:51 +00:00
cata%netscape.com
2855549c08 UTF8 decoder added.
git-svn-id: svn://10.0.0.236/trunk@24392 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:20:55 +00:00
radha%netscape.com
da6bf59c4c Remove a bunch of compiler warnings in linux
git-svn-id: svn://10.0.0.236/trunk@24390 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:16:40 +00:00
radha%netscape.com
e738766b6f Remove unwanted printfs
git-svn-id: svn://10.0.0.236/trunk@24389 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:16:04 +00:00
radha%netscape.com
1acd176e0b Implement 2 interfaces to return handle to argc and argv.
Conform to code style standards


git-svn-id: svn://10.0.0.236/trunk@24388 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:15:39 +00:00
cata%netscape.com
197ba000d3 UTF8 decoder added.
git-svn-id: svn://10.0.0.236/trunk@24387 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:15:04 +00:00
cata%netscape.com
9747add336 added files: mozilla/intl/uconv/ucvlatin/nsUTF8ToUnicode.cpp
git-svn-id: svn://10.0.0.236/trunk@24386 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:14:40 +00:00
radha%netscape.com
e2164b3a5a Add 2 interfaces to Get a handle to argc & argv
git-svn-id: svn://10.0.0.236/trunk@24385 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:14:29 +00:00
rjc%netscape.com
c352803b36 Be sure to NS_INIT_REFCNT() for InMemoryResourceCursor() creation.
git-svn-id: svn://10.0.0.236/trunk@24384 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:09:48 +00:00
cata%netscape.com
761bd22e70 Created.
git-svn-id: svn://10.0.0.236/trunk@24383 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:08:01 +00:00
putterman%netscape.com
6015ef11cc Make folder tree take up the entire pane.
git-svn-id: svn://10.0.0.236/trunk@24380 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:52:38 +00:00
rjc%netscape.com
6a2fa958ca Only answer questions with positive assertions.
git-svn-id: svn://10.0.0.236/trunk@24377 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:44:04 +00:00
dougt%netscape.com
6318f7f44d Added queue to hold pending downloads
Further object wacking


git-svn-id: svn://10.0.0.236/trunk@24375 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:32:05 +00:00
mcafee%netscape.com
0641420d4d Adding default cases to switch statements.
git-svn-id: svn://10.0.0.236/trunk@24373 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:25:40 +00:00
putterman%netscape.com
1d91b0a3ab Added some icons to folder and thread panes
git-svn-id: svn://10.0.0.236/trunk@24372 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:24:30 +00:00
mcafee%netscape.com
3a1ed69e24 Uninitialized variable.
git-svn-id: svn://10.0.0.236/trunk@24371 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:20:02 +00:00
mcafee%netscape.com
55780280ad Adding default path for case statement.
git-svn-id: svn://10.0.0.236/trunk@24370 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:18:01 +00:00
rhp%netscape.com
86ba9c355f Adding the Mime Emitter to CVS - Note: this is not part of the build
process until the 3/19/99 checkin.


git-svn-id: svn://10.0.0.236/trunk@24369 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:17:39 +00:00
pierre%netscape.com
0495949bcb Fix for #3899. Bumped the stack size to 128K from 64K. r: beard. a:chofmann.
git-svn-id: svn://10.0.0.236/trunk@24368 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:02:52 +00:00
rjc%netscape.com
8c8c80a991 Add RDF find datasource into build system.
git-svn-id: svn://10.0.0.236/trunk@24367 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:01:49 +00:00
rjc%netscape.com
e76723a678 No longer checking if a file URL is a directory and, if so, appending a slash. nsFileSpec et.al. should be doing that now.
git-svn-id: svn://10.0.0.236/trunk@24366 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:00:52 +00:00
slamm%netscape.com
01dd2340ab -mQuiet the cvs checkout with -q. It will still print what is updated. It just won't print the name of every directory it recurses through. Cleared with cyeh.
git-svn-id: svn://10.0.0.236/trunk@24365 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 23:50:10 +00:00
ramiro%netscape.com
aa125ee2a3 Wrapped in PR_BEGIN_EXTERN_C and PR_END_EXTERN_C to fix c++/c linkage problem.
git-svn-id: svn://10.0.0.236/trunk@24364 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 23:29:50 +00:00
waterson%netscape.com
b90124e8b8 Bug 3978. Removed warning: it was silly. This happens all the time for HTML content in a XUL document.
git-svn-id: svn://10.0.0.236/trunk@24361 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 23:04:58 +00:00
mcafee%netscape.com
d2cba4a33a Solaris needs prototype for PR_GetEnv().
git-svn-id: svn://10.0.0.236/trunk@24360 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:41:24 +00:00
terry%netscape.com
7546019541 Was not correctly checking BUGSYSTEMEXPR (because the config file
hadn't been read in).


git-svn-id: svn://10.0.0.236/trunk@24359 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:41:07 +00:00
larryh%netscape.com
6a18742292 OS2 changes
git-svn-id: svn://10.0.0.236/trunk@24358 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:39:53 +00:00
rjc%netscape.com
bff5b3f3b5 Add Find datasource CID.
git-svn-id: svn://10.0.0.236/trunk@24357 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:38:30 +00:00
mcafee%netscape.com
8b40395ae3 Switch to PR_GetEnv(), warn once if MOZILLA_FIVE_HOME is not set.
git-svn-id: svn://10.0.0.236/trunk@24356 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:38:25 +00:00
rjc%netscape.com
795c83a346 Add a sample "Find Queries" bookmark folder for testing.
git-svn-id: svn://10.0.0.236/trunk@24355 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:36:13 +00:00
rjc%netscape.com
21eed2a9d9 Export nsIRDFFind.h
git-svn-id: svn://10.0.0.236/trunk@24354 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:35:12 +00:00
rjc%netscape.com
95da1fcacb First Checked In.
git-svn-id: svn://10.0.0.236/trunk@24353 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:34:22 +00:00
mcafee%netscape.com
f288fcb962 Added prototype for UnixPrDialog(). r=syd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@24352 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:33:04 +00:00
neeti%netscape.com
f678a0a658 First version
git-svn-id: svn://10.0.0.236/trunk@24351 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:32:56 +00:00
cata%netscape.com
393b785270 Added new return codes.
git-svn-id: svn://10.0.0.236/trunk@24350 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:27:11 +00:00
nhotta%netscape.com
b2c17b9084 Initialize ref. count in the constructor.
git-svn-id: svn://10.0.0.236/trunk@24348 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:08:05 +00:00
mcafee%netscape.com
b4b83e68dc Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@24347 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:01:51 +00:00
mcafee%netscape.com
53b9ecd299 Unitialized variable.
git-svn-id: svn://10.0.0.236/trunk@24346 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 22:00:24 +00:00
buster%netscape.com
6e1117a873 small change to match change in semantics in nsIDOMRange::GetCommonParent
git-svn-id: svn://10.0.0.236/trunk@24345 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:55:23 +00:00
slamm%netscape.com
7d1f24e330 Make room for more tinderbox columns by truncating the email address. To get the full email address, you have to click on the name.
git-svn-id: svn://10.0.0.236/trunk@24344 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:54:28 +00:00
putterman%netscape.com
3d0939f7db Increase the length the url can be before the document file name is prepended to it.
git-svn-id: svn://10.0.0.236/trunk@24343 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:43:00 +00:00
putterman%netscape.com
6e75a0bbb7 Add status column. Bold messages with new.
git-svn-id: svn://10.0.0.236/trunk@24342 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:41:51 +00:00
putterman%netscape.com
c2ef0832ac Add status column and Re: to messages.
git-svn-id: svn://10.0.0.236/trunk@24341 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:41:07 +00:00
putterman%netscape.com
a33e66155d Add .sbd when building up subfolders.
git-svn-id: svn://10.0.0.236/trunk@24339 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:40:41 +00:00
putterman%netscape.com
687cb8f5e7 Changes made to avoid nsMsgHdr duplication. Add back releases so memory
management works correctly.


git-svn-id: svn://10.0.0.236/trunk@24338 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:40:12 +00:00
putterman%netscape.com
61a8f0d1cc Changes made to avoid nsMsgHdr duplication. Now can get a message resource from
the factory.


git-svn-id: svn://10.0.0.236/trunk@24337 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:39:42 +00:00
putterman%netscape.com
27c01a87dc Changes made to avoid nsMsgHdr duplication
git-svn-id: svn://10.0.0.236/trunk@24336 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:39:04 +00:00
putterman%netscape.com
7651ef6f17 Use .sbd not .sbd/
git-svn-id: svn://10.0.0.236/trunk@24335 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:37:48 +00:00
putterman%netscape.com
69d5107409 Changes made to avoid nsMsgHdr duplication.
git-svn-id: svn://10.0.0.236/trunk@24334 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:37:21 +00:00
jefft%netscape.com
ea267cd528 move SetWindow(), SetEditor() to the outer scode in case we find an instance of ComposeAppCore
git-svn-id: svn://10.0.0.236/trunk@24333 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:34:39 +00:00
pinkerton%netscape.com
b959e16afe removed nsInlineReflow.cpp for kipp
git-svn-id: svn://10.0.0.236/trunk@24332 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:32:16 +00:00
jefft%netscape.com
99d34a3b2d clean up, added composeAppCore, msgAppCore global variables; added FindMsgAppCore() & FindComposeAppCore() function
git-svn-id: svn://10.0.0.236/trunk@24331 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:31:29 +00:00
jefft%netscape.com
1fdd3a13be consolidate NewMessage, ReplyMessage, ForwardMessage into one single method - NewMessage
git-svn-id: svn://10.0.0.236/trunk@24330 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:28:47 +00:00
av%netscape.com
2460c7215e M3 -- Fix for bug #1157
git-svn-id: svn://10.0.0.236/trunk@24329 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:26:15 +00:00
kipp%netscape.com
79d5d1f948 Make sure we update the update-area when doing synchronous updates or full widget updates
git-svn-id: svn://10.0.0.236/trunk@24328 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:19:59 +00:00
kipp%netscape.com
dd99c16187 Eliminate some GDK warning messages by only freeing valid pixmaps
git-svn-id: svn://10.0.0.236/trunk@24327 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:19:30 +00:00
kipp%netscape.com
3592c099da Revised the font matching algorithm to work somewhat better; allow for font-scaling in debug builds with an environment variable
git-svn-id: svn://10.0.0.236/trunk@24326 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:19:10 +00:00
kipp%netscape.com
f34b27ae16 Fudge the dpi into something that makes for more rational scaling to twips
git-svn-id: svn://10.0.0.236/trunk@24325 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:18:40 +00:00
hyatt%netscape.com
4ecf27a1dd Fixes for the mouseover toolbar button problem. Approved by Chris.
git-svn-id: svn://10.0.0.236/trunk@24324 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:18:00 +00:00
michaelp%netscape.com
53ce63ea80 fixed bug where out of order computation of child view positions and scroll
offsets in layout, widgets could be in different places than their views.
made nsView::List() print out all units in app units.


git-svn-id: svn://10.0.0.236/trunk@24322 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:04:00 +00:00
kipp%netscape.com
83f5d0de70 Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc.
git-svn-id: svn://10.0.0.236/trunk@24321 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:03:25 +00:00
waterson%netscape.com
f26bf52c02 Fixed nsCOMPtr bustage. Friggin' windows compiler.
git-svn-id: svn://10.0.0.236/trunk@24320 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:03:01 +00:00
kipp%netscape.com
7e25f9704c Fixed bug #3918 with measuring small-caps text; ported to use new line-layout API's
git-svn-id: svn://10.0.0.236/trunk@24319 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:02:40 +00:00
kipp%netscape.com
0f0692af69 Fixed bug #3597 - lower case alpha/roman bullets
git-svn-id: svn://10.0.0.236/trunk@24318 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:01:52 +00:00
michaelp%netscape.com
cd30c3c493 changed for new ComputeScrollOffsets() method.
git-svn-id: svn://10.0.0.236/trunk@24317 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:01:46 +00:00
kipp%netscape.com
66e83399ef Removed unused header file include
git-svn-id: svn://10.0.0.236/trunk@24316 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:01:24 +00:00
waterson%netscape.com
e463250fc8 Added dom-test-1.
git-svn-id: svn://10.0.0.236/trunk@24315 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 20:55:53 +00:00
waterson%netscape.com
c02bb4a5a3 Test files for DOM manipulators.
git-svn-id: svn://10.0.0.236/trunk@24314 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 20:54:14 +00:00
waterson%netscape.com
5cafbf3104 Fixed unwanted NS_RELEASE() in RegisterResource().
git-svn-id: svn://10.0.0.236/trunk@24313 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 20:47:27 +00:00
waterson%netscape.com
4189371260 Changed to use operator new[] instead of PL_strdup(). (Thanks, Brad!)
git-svn-id: svn://10.0.0.236/trunk@24312 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 20:47:03 +00:00
waterson%netscape.com
9086a4c777 Cleaned up code that mutates an element's ID, modulo bug 3971.
git-svn-id: svn://10.0.0.236/trunk@24311 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 20:46:02 +00:00
peterl%netscape.com
6c7eb08c7e real fix for pulling nspr from the tip
git-svn-id: svn://10.0.0.236/trunk@24310 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 20:43:14 +00:00
sar%netscape.com
dc98b38e5f correcting the pulling of NSPR
git-svn-id: svn://10.0.0.236/trunk@24307 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 19:50:26 +00:00
danm%netscape.com
34e100c7e3 D'OH! another tweak to bugs 3676/3900. a:chofmann,cyeh. r:rpotts
git-svn-id: svn://10.0.0.236/trunk@24306 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 19:19:52 +00:00
danm%netscape.com
61eba8993a Added and used Close() method to nsWebShellWindow. Part of fix for bug 3676 (again) and 3900. Wants to be part of M3 build. r:sdagley,pierre. a:chofmann,cyeh.
git-svn-id: svn://10.0.0.236/trunk@24305 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 19:08:36 +00:00
danm%netscape.com
6c0a68e81f Removed Release of mTopLevelWidget in the handling of the "inGoAway" event. Fixes bug 3900; part of fix for bug 3676. Wants to be part of M3 build. r:pierre,sdagley. a:chofmann,cyeh.
git-svn-id: svn://10.0.0.236/trunk@24304 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 19:05:32 +00:00
jefft%netscape.com
445e3e0706 fixed bug 3833 - Apprunner -mail needs the correct url; hard coded url string now set to resource:/res/samples/mailshell.xul; this is intended for M3; approved by choffmann
git-svn-id: svn://10.0.0.236/trunk@24298 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 17:32:57 +00:00
kipp%netscape.com
9be9680a28 Teach the widget how to manage an update rect so that we avoid gratuitous full window paints
git-svn-id: svn://10.0.0.236/trunk@24297 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 16:35:16 +00:00
briano%netscape.com
3567f3969c Added --help. Just because...
git-svn-id: svn://10.0.0.236/trunk@24296 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 09:30:57 +00:00
briano%netscape.com
86f8862cf8 Now the version number is determined using the RCS Revision keyword mechanism.
git-svn-id: svn://10.0.0.236/trunk@24295 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 09:19:22 +00:00
briano%netscape.com
f49b58a4bb Support for Linux/sparc and QNX, and a few additional minor tweaks.
git-svn-id: svn://10.0.0.236/trunk@24294 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 08:47:10 +00:00
leaf%mozilla.org
a94d7b2ad4 backing out change that clearly has destabilized the tree.
git-svn-id: svn://10.0.0.236/trunk@24293 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 04:43:38 +00:00
pavlov%pavlov.net
fe7d95bc7a fix for hpux and aix build bustage. approved by leaf.
git-svn-id: svn://10.0.0.236/trunk@24292 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 03:16:44 +00:00
briano%netscape.com
a33e298172 Automated update
git-svn-id: svn://10.0.0.236/trunk@24291 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 03:15:39 +00:00
briano%netscape.com
49bea3a684 Fixed the typo in the check for C++ unused methods, and hard-coded ac_ext=C
for the C++ checks (needed to make Watcom's QNX compiler notice that it's
dealing with C++ not C <sigh...>).


git-svn-id: svn://10.0.0.236/trunk@24290 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 03:11:15 +00:00
slamm%netscape.com
6bae52d41b Older version of perl cannot have foreach loop on same line as print.
git-svn-id: svn://10.0.0.236/trunk@24289 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 02:53:54 +00:00
pavlov%pavlov.net
f05bd48ddd fix bug #3617 (approved by cyeh)
git-svn-id: svn://10.0.0.236/trunk@24288 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 02:47:48 +00:00
slamm%netscape.com
fef09d9798 Shave off a third of the time to process the log, by parsing in a single pass.
git-svn-id: svn://10.0.0.236/trunk@24287 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 02:16:57 +00:00
mscott%netscape.com
559dc890e5 Not part of the build yet! (a=chofmann) Part of the imap framework check in.
Implementations of imap url and imap protocol instance.


git-svn-id: svn://10.0.0.236/trunk@24286 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 01:13:37 +00:00
mscott%netscape.com
0723e3d278 Not part of the build yet! (a=chofmann). Part of the initial Imap framework.
Add imap url and protocol interfaces.


git-svn-id: svn://10.0.0.236/trunk@24285 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 01:12:06 +00:00
mscott%netscape.com
7a73ece2ce Not part of the build yet. a=chofmann. Initial check in of imap framework.
Imap factory is used to build the imap dll component.


git-svn-id: svn://10.0.0.236/trunk@24284 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 01:09:50 +00:00
nisheeth%netscape.com
a19d7b898a Fix bug 3413. Approved by chofmann. Reviewed by rpotts. We check nsIURL's
address in nsWebshell::OnStartBinding() and if a trailing slash has been
added to it, we replace the topmost history entry with the new address.


git-svn-id: svn://10.0.0.236/trunk@24283 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 01:07:22 +00:00
harishd%netscape.com
e0d752d5af Added code to avoid head tag getting closed
on encountering newlines and whitespaces.  This would
prevent script tag, inside head, from opening body tag - made
up body tag.


git-svn-id: svn://10.0.0.236/trunk@24282 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 00:22:10 +00:00
briano%netscape.com
a61139e347 Automated update
git-svn-id: svn://10.0.0.236/trunk@24281 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 23:45:42 +00:00
donm%netscape.com
a54118f374 script oopsy. fixed now.
git-svn-id: svn://10.0.0.236/trunk@24280 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 23:38:44 +00:00
sar%netscape.com
38d0369202 only watch SeaMonkey tree, Mozilla-External is old news
git-svn-id: svn://10.0.0.236/trunk@24278 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 21:56:50 +00:00
8706 changed files with 46406 additions and 2082004 deletions

View File

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

View File

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

View File

@@ -1,105 +0,0 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = .
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
# The list of directories that need to be built to build the standalone
# nglayout test program. The order is important.
DIRS = \
config \
$(NULL)
ifdef MOZ_BUILD_NSPR
DIRS += \
nsprpub \
$(NULL)
endif
DIRS += \
dbm \
modules/libreg \
xpcom \
$(NULL)
ifndef MOZ_NATIVE_ZLIB
DIRS += \
modules/zlib \
$(NULL)
endif
ifndef MOZ_NATIVE_JPEG
DIRS += \
jpeg \
$(NULL)
endif
DIRS += \
modules/libutil \
base \
intl \
js \
modules/security/freenav \
modules/libpref \
modules/libimg \
modules/oji \
modules/plugin \
caps \
lib/xp \
lib/libpwcac \
network \
htmlparser \
expat \
gfx \
dom \
view \
widget \
layout \
rdf \
webshell \
editor \
silentdl \
sun-java \
$(NULL)
ifdef MOZ_BUILD_XPFE
DIRS += xpfe
endif
ifdef MOZ_MAIL_NEWS
DIRS += mailnews
endif
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
real_all: all
real_export: export
real_libs: libs
real_install: install
real_clobber: clobber
real_depend: depend

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -1,443 +0,0 @@
<HEAD>
<TITLE>Building Mozilla on the Macintosh PPC platform</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B">
<P>
<HR>
</P>
<H1>Building Mozilla on the Macintosh PPC platform</H1>
<H2>Daniel Nunes, <A HREF="mailto:leaf@netscape.com"><TT>leaf@netscape.com</TT></A></H2>
<P>v 1.1, 1998-9-29<BR>
updated for the Pro4 IDE</P>
<P>
<HR>
<I>How to build Mozilla on a Macintosh PPC System.</I>
<HR>
</P>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI><A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI><A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI><A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI><A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<H2>4. <A HREF="#s4"> Credits </A></H2>
<P>
<HR>
</P>
<H2><A NAME=s1></A>1. Introduction</H2>
<P>What this document is: A guide to building the Mozilla
application. This includes:</P>
<OL>
<LI>A listing of the development tools you will need to build
Mozilla.</LI>
<LI>A list of environment variables you will need to set before
building.</LI>
</OL>
<P>If you're looking for documentation on developing features or
fixing bugs, the Mozilla <A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical
Documents </A> or <A HREF="http://www.mozilla.org/library.html">
Library </A> are probably what you're looking for.</P>
<P>
<HR>
</P>
<H2><A NAME=s2></A>2. Building Mozilla</H2>
<P>&nbsp;</P>
<UL>
<LI>Each of the following subsections describes, or gives
references to descriptions of, the steps necessary to build
Mozilla.
<H2><A NAME="ss2.1"></A>2.1 Get the Code</H2>
<P>&nbsp;</P>
<UL>
<LI>There are two principal ways of getting the code, <A HREF="http://www.mozilla.org/download.html">
ftp</A> and <A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the most current code for building, but is
slower than ftp. Ftp drops are generally produced once per
month, and are known to compile.</LI>
</UL>
<P>&nbsp;</P>
<H2><A NAME="ss2.2"></A>2.2 Requirements</H2>
<P>The following need to be installed:</P>
<UL>
<LI>CodeWarrior (CW) Pro4 - obtainable from <A HREF="http://www.metrowerks.com">Metrowerks</A>.
See <A HREF="#s3">Common Sticking Points</A> if you have a
different version. Mozilla will no longer build with anything
earlier.</LI>
<LI>PowerPlant - obtainable from the CodeWarrior CD.</LI>
<LI>MSL - the Metrowerks Standard Library, obtainable from the
CodeWarrior CD</LI>
<LI><A HREF="ftp://ftp.boingo.com//dan/WASTE/waste-13.hqx">WASTE
1.3</A></LI>
<LI><A HREF="http://www.bact.wisc.edu/CWASTEEdit/CWASTEEdit.sit.hqx">CWASTE
1.6.2</A></LI>
<LI><A HREF="ftp://ftp.scripting.com/userland/menuSharingToolkit4.1.sit.hqx">Menu
Sharing Toolkit</A> (from UserLand)</LI>
<LI><A HREF="ftp://ftp.share.com/pub/internet-configuration/ICProgKit1.4.sit">Internet
Config 1.4 SDK</A></LI>
<LI><A HREF="http://www.mooseyard.com/Jens/Software/">AEGizmos
1.4.2</A></LI>
<LI><A HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/perl/Mac_Perl_520r4_tool.bin">MacPerl
5 MPW Tool</A></LI>
<LI><A HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/perl/Mac_Perl_520r4_appl.bin">MacPerl
5 Application</A></LI>
<LI>The module Mac:AppleEvents:Simple, which should be stored
in your Perl library folder under :Mac:AppleEvents:Simple.pm,
may be downloaded <A HREF="http://www.perl.com/CPAN-local/modules/by-module/Mac/Mac-AppleEvents-Simple-0.10.tgz">here</A>.</LI>
<LI>The module Mac:Apps:Launch, which should be stored in your
Perl library folder under :Mac:Apps:Launch.pm, may be
downloaded <A HREF="http://www.perl.com/CPAN-local/modules/by-module/Mac/Mac-Apps-Launch-1.30.tar.gz">here</A>.</LI>
<LI>MakeStub - MPW (installed with CodeWarrior Heaven option).
If you choose not to install MPW, it is located on the MacOS
Tools CD in "CW Pro 4 Tools:CodeWarrior MPW:MPW:Tools"</LI>
<LI>RunTSScript - in Mozilla source distribution
(mozilla:build:mac:RunTSScript), needs to be installed by
hand</LI>
<LI><A HREF="ftp://dev.apple.com/devworld/Tool_Chest/Core_Mac_OS_Tools/MPW_etc./MPW-GM/MPW/ToolServer.sit.hqx">ToolServer</A>
- or in the CW distribution (CW Pro 4 Tools:Apple Development
Tools:ToolServer 3.4.1.sit). <B>We recommend pulling it off the
CD</B> because it comes with configuration files for
CodeWarrior which you would have to create manually were you to
pull it off the net.</LI>
<LI><A HREF="http://sunsite.cnlab-switch.ch/ftp/software/platform/macos/src/HTML/MPW_C.html">patch
2.1</A></LI>
</UL>
<P>Hardware/OS</P>
<UL>
<LI>To build Navigator, you need a fast PPC Mac. The faster the
better.</LI>
<LI>You will need about 96 MB of physical RAM to "fast link"
the app. You can still fast link if you give your machine 96 MB
of virtual memory, but then the VM hit is large enough to
counteract any improvement. One of our beta testers had a
machine with only 64MB of physical RAM (VM was off) and it ran
out of memory trying to link. Turning VM on got it to link, but
build time increased greatly.</LI>
<LI>Reports from the net indicate that the optimized version
(MozillaPPC) take much less RAM to build than the 96MB we
suggest. If you are running out of memory, try building that
instead of the debug version (the debug symbols require a lot
of RAM come link time).</LI>
<LI>You should be ok with a 400MB disk partition, even when
fully built. This does not include tools like the IDE, just
source.</LI>
<LI>On an HFS+ volume, a full build takes about 110MB. HFS+ is
good, but utilities are sparse.</LI>
</UL>
<P>&nbsp;</P>
<H2><A NAME="ss2.3"></A>2.3 Setup the Build Environment</H2>
<P>&nbsp;</P>
<OL>
<LI>Install CodeWarrior from the CD. While it is large,
installing the "CodeWarrior Heaven" option will guarantee that
you have everything you need. This will give you PowerPlant,
MSL, and MPW. If you choose to install less, proceed at your
own risk.</LI>
<LI>In the Finder, increase the memory partition of the IDE to
15MB (you can get by with 12, if need be).</LI>
<LI>Uncompress the StuffIt Archive for ToolServer. The goal is
to let ToolServer and MPW share the same Tools directory so you
don't need to have multiple versions of tools. Do the
following:
<OL>
<LI>Open ToolServer's Tools folder. There is one file called
"RMetrowerks".</LI>
<LI>Move RMetrowerks to Tools folder of MPW. MPW folder must
be at "Metrowerks:Codewarrior MPW:MPW" if you installed
Codewarrior Heaven.</LI>
<LI>Remove ToolServer's Tools folder.</LI>
<LI>Now create an alias of Tools folder in "CodeWarrior MPW"
and move it to your ToolServer folder. Rename the alias
(probably called "Tools alias") to "Tools"</LI>
<LI><FONT COLOR="#FF0000"><B>IMPORTANT</B></FONT>: Make sure
you only have one instance of ToolServer on your machine. If
the build script finds the wrong one, the correct tools will
not be found and strange things will happen.</LI>
</OL>
</LI>
<LI>After installing the MacPerl MPW Tool distribution (run the
InstallerVISE application), in the "MacPerl &#131;" folder,
there will be an MPW tool named "perl". Install this in MPW's
tools folder.</LI>
<LI>Install the MacPerl Application (run the InstallerVISE
application). You can install this anywhere, but it is
recommended that you install it inside of your CodeWarrior
folder for easy reference. After installation, you will need to
set a preference to enable double-click launch of the perl
scripts. This preference is set by going under the Edit Menu to
Preferences. Click on the "Script" button and hit the radio
button "Run Scripts opened from Finder"</LI>
<LI>Install the "patch" and "MakeStub" Tools in the tools
folder. Note that "MakeStub" is automatically installed by the
"CodeWarrior Heaven" install option.</LI>
<LI>Install RunTSScript (found in the Mozilla source
distribution) in the compilers folder in your build environment
("Metrowerks:Metrowerks Codewarrior:Codewarrior
Plugins:Compilers")</LI>
<LI>Next, after downloading all the 3rd party software
components, drag WASTE, CWASTE, Menu Sharing, Internet Config,
and the AEGizmo folders (just as they are) into the "MacOS
Support" folder in your build environment.</LI>
<LI>Create a folder inside the PowerPlant folder
(Metrowerks:Metrowerks CodeWarrior:MacOS Support:PowerPlant)
called "_Will Be Obsolete" Make sure you include the leading
underscore.</LI>
<LI>Unstuff the obsolete LGA classes (located on the Reference
CD in "CodeWarrior Examples:MacOS Examples:PowerPlant
Examples:Obsolete PP Items:Old GA Classes.sit) and place the
resulting folder into the "_Will Be Obsolete" folder you
created in the previous step.</LI>
<LI>Start ToolServer from within CodeWarrior (or use MPW if you
are brave enough). We're about to patch some files. Make sure
the ToolServer menu is in the CodeWarrior menu bar by turning
on the <A HREF="IDEPrefs.gif">preference</A> under the "Extras"
panel in the IDE Preferences (not the project preferences!).
The menu bar should look like this:
<P><IMG SRC="IDEMenuBar.gif" WIDTH=359 HEIGHT=20 X-CLARIS-USEIMAGEWIDTH X-CLARIS-USEIMAGEHEIGHT ALIGN=bottom></P>
<P>Choose "Start ToolServer" from the ToolServer menu (this is
the icon menu between "Window" and "Help" in the menubar
above). You will now see a window with no close box. This is
your ToolServer Worksheet where you will type (or cut &amp;
paste) the commands for the following steps.</P>
<P>In case you have never used MPW/ToolServer before, the
following is <B>very important</B>. Pressing "return" does not
execute commands like you might think. It just inserts a
newline into the worksheet like a normal text editor. <B>To
actually get ToolServer to execute the command, you must press
"Enter" (lower right of numeric keypad).</B> This executes the
line that the cursor is on, and only that line. If you want to
execute multiple lines at once, select them all and hit
Enter.</P></LI>
<LI>Set the shell variables {IDE} and {Source} to the correct
paths for your build environment. {IDE} is where your
CodeWarrior IDE is located. {Source} is the folder containing
the toplevel "ns" folder of the Mozilla source. Mine look like
this (don't forget to keep the quotes if your path includes
spaces), yours will almost certainly be different
(<FONT COLOR="#FF0000">to punctuate this, the things you need
to change are in red</FONT>).
<PRE>Set IDE "<FONT COLOR="#FF0000">Develop:CW Pro 4:Metrowerks CodeWarrior:</FONT>"
Set Source "<FONT COLOR="#FF0000">Source:FreeSource:</FONT>"</PRE></LI>
<LI>Execute the following lines to patch menusharing.c to allow
it to compile with the new Universal Headers. It references an
obsolete header file (GestaltEqu.h).
<PRE>directory "{IDE}MacOS Support:Menu Sharing Toolkit 4.1:"
patch menusharing.c "{Source}mozilla:lib:mac:patches:menusharing.patch"</PRE></LI>
<LI>You need to patch stat.mac.h to fix a problem in MSL where
lines were omitted.
<PRE>directory "{IDE}Metrowerks Standard Library:MSL C:MSL Mac:Public Includes"
patch stat.mac.h "{Source}mozilla:lib:mac:patches:stat.mac.h.patch"</PRE></LI>
<LI>Congratulations! Now you are ready to build. Once these
steps are done, you don't have to repeat these setups the next
time!</LI>
</OL>
<P>&nbsp;</P>
<H2><A NAME="ss2.4"></A>2.4 Run the build</H2>
<UL>
<LI>In the folder mozilla:build:mac:, there are several Perl
scripts with names of the form BuildMozillaXXX.pl, where XXX is
"Optimized", "Debug", "Tinderbox", et al. Each script builds
the corresponding version of Mozilla. If you configured the
MacPerl application to execute scripts that are opened from the
finder, all you have to do is double click on the appropriate
one; otherwise, launch MacPerl, and run the appropriate script
from the "Run Script..." menu item.
<P>These `configured build' scripts are simple, and you might
want to make your own to force your build to StopForErrors(),
or alternatively DontStopForErrors(), et al. You can set up
certain build-script variables and (soon) compile-time flags.
Compare the supplied scripts to figure out what you might want.
Note that CodeWarriorLib, Moz.pm, and BuildList.pm, are
AppleScript libraries and Perl modules meant to be used by a
`configured build'. Use your favorite POD viewer (Shuck comes
with MacPerl) to view the documentation in the Perl
scripts.</P>
<P>If there were any errors in any of the projects along the
way, the script will stop at that point and the IDE will tell
you the errors. You can fix them and make sure they current
project builds, but to continue the automation, you have to
start from the beginning by double-clicking the script again.
This isn't quite as bad as it sounds because the previous
projects are already built (unless you changed some major
header file). Please note that stopping the script once it has
started is difficult. We are working to address this issue.</P>
<P>After the build is complete, you can find aliases to the
built libraries and the final Mozilla application. Debug builds
are built to Mozilla:dist:client_debug, while optimized builds
are built to Mozilla:dist:client.</P>
<P>Don't worry too much about the numerous warnings generated
during the build. We try our best to get the XP teams to use
real compilers, but alas, they continue to write warning-laden
code. There is also some generated code (Java is one example)
that has a lot of warnings that we can't help either. If you
write any new code, please help us in our quest to get zero
warnings.</P></LI>
</UL>
</LI>
</UL>
<P>
<HR>
</P>
<H2><A NAME=s3></A>3. Common Sticking Points</H2>
<UL>
<LI><B>I only have CodeWarrior Pro3 or Pro2. How do i build with
it?</B>
<UL>
<LI>Currently, the answer is, "You don't." We make use of
several classes in PowerPlant which recently appeared in Pro4.
Time to upgrade, I'm afraid. Don't even try opening the
projects with Pro2 because you will get data loss and have to
throw the project away (it won't even prompt you!)</LI>
</UL>
</LI>
<LI><B>I'm having problems building. MacPerl tells me it can't
fine MemAllocatorStubs</B>
<UL>
<LI>It sounds like your ToolServer environment is not setup
correctly. Make sure you follow the directions to the letter.
You could also be seeing this if you have multiple versions of
ToolServer on your computer and the Finder lauches the wrong
one. This is very common, as the <I>Carbon Dater</I> app from
Apple DTS contains a copy of ToolServer. Either remove all the
other versions of ToolServer or make sure you launch the
appropriate version before you start building.</LI>
</UL>
</LI>
<LI><B>The IDE runs out of memory building jsinterp.c. What do I
do?</B>
<UL>
<LI>We have seen this every now and then, and it only appears
to show up when building optimized (non-debug) builds. You can
normally get around this by building that file by itself
(select it and choose "Compile") and then continuing the make.
We're not sure why this is happening, so if you have any
answers or solutions, please let us know!</LI>
</UL>
</LI>
</UL>
<P>
<HR>
</P>
<H2><A NAME=s4></A>4. Credits</H2>
<UL>
<LI>The majority of this document is taken from the build document
included in the Mozilla source distribution at
README:mozilla:macbuild.htm written by Mike Pinkerton, <A HREF="mailto:pinkerton@netscape.com">
pinkerton@netscape.com</A>.</LI>
</UL>
</BODY>
</HTML>

View File

@@ -1,158 +0,0 @@
<HTML>
<HEAD>
<TITLE>Building Mozilla on unix platforms</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>
Building Mozilla on Unix platforms</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@netscape.com">leaf@netscape.com</A></TT></H2>
v 1.1, June 1998
<P>
<HR><I>How to build Mozilla on a Unix System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI>
<A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
<LI>
<A HREF="#ss2.5">2.5 Run the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
What this document is: A guide to building the Mozilla application.
<BR>
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A list of environment variables you will need to set before building. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical Documents
</A> or <A HREF="http://www.mozilla.org/library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
</UL>
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
There are two principal ways of getting the code,
<A HREF="http://www.mozilla.org/download.html"> ftp</A> and
<A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the most current code for building, but is
slower than ftp. Ftp drops are generally produced once per month,
and are known to compile.
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
<UL>
The following should be installed:
<UL>
<LI>Motif 1.2
<LI>The native C/C++ compiler (or GNU C/C++ compiler 2.7.2 in lieu of the
native compiler)
<LI>GNU make 3.74 or better
<LI>Perl (or, if you have no Perl, then set <CODE>PERL=/bin/echo</CODE>)
</UL>
<P>
Your hardware should be equal to, or better than:
<UL>
32 MB RAM, 128 MB swap (64 MB RAM recommended)
</UL>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Setup the Build Environment</A></H2>
<P>
<UL>
The following environment variables need to be set:
<CODE>
<PRE>
MOZILLA_CLIENT=1
MOZ_MEDIUM=1
NO_MDUPDATE=1
</PRE>
</CODE>
Optionally, you can set <CODE>BUILD_OPT=1</CODE> if you don't want a debug
build.
<P>
If your Motif libraries are installed in a non-standard place, you can tell
the Mozilla makefiles where to look by setting
<CODE>MOZILLA_MOTIF_SEARCH_PATH</CODE> to point to the directory in which
your Motif installation resides.
<P>
Environment variables are set by the shell, and there are two common ways
of setting them. <BR>
Type <CODE>setenv VARIABLE value</CODE> or <CODE>export VARIABLE=value</CODE>.
<P>
</UL>
<H2><A NAME="ss2.4">2.4 Run the build </A></H2>
<UL>
Change to the directory you copied the source into (for example,
<CODE>cd /builds</CODE>). If this directory was empty before you
installed the source, there should be two directories here:
<CODE>README</CODE> and <CODE>mozilla</CODE>.
<CODE>
<PRE>
cd mozilla
gmake
</PRE>
</CODE>
</UL>
<H2><A NAME="ss2.5">2.5 After the build </A></H2>
<UL>
You may notice that if you try running mozilla-export right after the build,
you'll run into a problem. You need to set <CODE>LD_LIBRARY_PATH</CODE> to
<CODE>
${LD_LIBRARY_PATH}:/PATH_TO_SOURCE/mozilla/dist/Linux2.0.32_x86_OPT.OBJ/bin
</CODE> (where <CODE>PATH_TO_SOURCE</CODE> is the full path to your source
tree) before the dynamically linked binary will run. <BR><BR>
This varies by platform:<br>
<UL>
<LI>On HP-UX, the equivalent environment variable is <CODE>SHLIB_PATH</CODE>.
<LI>On AIX, the equivalent environment variable is <CODE>LIBPATH</CODE>.
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<LI>My linker dies with this error: undefined reference to `_Xsetlocale'
<UL>If this error occurs, you might have to recompile libX11.so
with the -DX_LOCALE flag (thanks to Scott Lampert,
<A HREF="mailto:fortunato@heavymetal.org">fortunato@heavymetal.org</A>).
</UL>
<HR>
</BODY>
</HTML>

View File

@@ -1,217 +0,0 @@
<HTML>
<HEAD>
<TITLE>Building Mozilla on Microsoft Windows 32-bit platforms</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>
Building Mozilla on Microsoft Windows 32-bit platforms</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@netscape.com">leaf@netscape.com</A></TT>
</H2>
v 1.0, June 1998
<P>
<HR><I>How to build Mozilla on a Microsoft Windows 32-bit System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI>
<A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
What this document is: A guide to building the Mozilla application.
<BR>
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A list of environment variables you will need to set before building. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical Documents
</A> or <A HREF="http://www.mozilla.org/library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
There are two principal ways of getting the code,
<A HREF="http://www.mozilla.org/download.html"> ftp</A> and
<A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the most current code for building, but is
slower than ftp. Ftp drops are generally produced once per month,
and are known to compile.
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
<UL>
The following need to be installed:
<UL>
<LI>Microsoft Visual C++ version 4.2 or later
<LI>GNU Tools for Microsoft Windows, located:
<UL>
<LI><A HREF="http://www.cygnus.com/misc/gnu-win32">Cygnus</A></LI>
<LI><A HREF="http://www.gnu.org/order/ftp.html">GNU home page</A></LI>
<LI><A HREF="ftp://prep.ai.mit.edu/pub/gnu">MIT</A></LI>
</UL>
Specifically, you'll need:
<UL><CODE>
cp.exe<BR>
rm.exe<BR>
uname.exe<BR>
</CODE>
</UL>
Netscape has internally modified version of gmake, shmsdos and win32gnu
that we use to get around some problems we were having keeping in sync
with the Unix version of gmake. This version of gmake can be found in the
Windows Build Tools package, which can be ftp'd from
<A HREF="http://www.mozilla.org/download-mozilla.html"> the Mozilla
Download page</A>.
The three files you will need are:
<UL><CODE>
gmake.exe<BR>
shmsdos.exe<BR>
uname.exe<BR>
</CODE>
</UL>
</UL>
<P>
Hardware/OS
<UL>
<LI>Pentium 133 MHz or better</LI>
<LI>64 MB RAM, 128 MB recommended</LI>
<LI>250 MB NTFS or 500 MB FAT disk space</LI>
<LI>NT 4.0 is preferred; NT 3.51 will also work.
</LI>
</UL>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Setup the Build Environment</A></H2>
<P>
<UL>
The following environment variables need to be set:
<UL>
<CODE>
set MOZ_BITS=32
<BR>
set MOZ_DEBUG=1 (set this only if you want to build a debug build)
<BR>
set MOZ_MEDIUM=1
<BR>
set MOZ_NT=351 (if running NT3.51)
<BR>
set MOZ_OUT=(optional: specifies location of resultant executable)
<BR>
set MOZ_SRC=(top of your tree, for example: set MOZ_SRC=d:\mozilla_source
if this is the directory where you checked or unzipped the source into)
<BR>
set MOZ_TOOLS=(the parent directory of the GNU tools 'bin' directory. The build
looks for MOZ_TOOLS\bin\gmake.exe, so make sure that the gmake.exe from
the Windows Build Tools package resides there.)
<BR>
set NSPR20=1
<BR>
set _MSC_VER=1100 (if you are running VC++ 5.0) or 1200
(if you are running VC++ 6.0)
<BR>
</CODE>
</UL>
<BR>
<P>
</UL>
<H2><A NAME="ss2.4">2.4 Run the build </A></H2>
<UL>
Change to the directory you copied the source into (for example,
<CODE>cd d:\mozilla_source</CODE>). If this directory was empty before you
installed the source, there should be two directories here:
<CODE>README</CODE> and <CODE>mozilla</CODE>.
<CODE>
<PRE>
cd mozilla\config
nmake /f makefile.win
cd ..
nmake /f client.mak
</PRE>
</CODE>
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<UL>
<LI><B>nmake has a 'fatal error', listing one of the GNU commands and a
hexadecimal return code.</B>
<UL>
This will happen as a result of not having the GNU tools and Windows Build
tools in your path. Add the directories with the appropriate binaries to your
path.
</UL>
</LI>
<LI>
<B>It fails with the message "'.\WIN32' unexpected": </B>
<UL>
You didn't properly
set the environment variables -- you must not include a space at the end
of the set statements (be careful if you are cut'n'pasting).
</UL>
</LI>
<LI>
<B>It fails to build, with directory-related errors: </B>
<UL>
The full path
to the source must not include any spaces. Additionally, the source must
be extracted with an intact directory structure by a utility that understands
long filenames. If in doubt, grab Info-Zip at
<A HREF="ftp://ftp.cdrom.com/pub/infozip">ftp://ftp.cdrom.com/pub/infozip</A>
</UL>
</LI>
<LI>
<B>It fails immediately with the message "Cannot find specified directory":
</B>
<UL>
You didn't properly set the environment variable MOZ_TOOLS;
this needs to be set to the path up to, but not including, the final \bin
directory in the path to the gnu tools. So, the path to the tool executables
is '%MOZ_TOOLS%\bin\<executable>'.
</UL>
</LI>
<LI>
<B>I'm not running a 32-bit windows system, how do i build?</B>
<UL>
Currently, the build process depends on a 32-bit operating system.
Windows NT 4.0 is the recommended windows operating system.
</UL>
</UL>
<HR>
</BODY>
</HTML>

View File

@@ -1,400 +0,0 @@
<HTML>
<HEAD>
<TITLE>Building Mozilla on the Macintosh PPC platform</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>
Building Mozilla on the Macintosh PPC platform</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@netscape.com">leaf@netscape.com</A></TT>
</H2>
v 1.0, June 1998
<P>
<HR><I>How to build Mozilla on a Macintosh PPC System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI>
<A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<H2>4. <A HREF="#s4"> Credits </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
What this document is: A guide to building the Mozilla application.
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A list of environment variables you will need to set before building. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical Documents
</A> or <A HREF="http://www.mozilla.org/library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
There are two principal ways of getting the code,
<A HREF="http://www.mozilla.org/download.html"> ftp</A> and
<A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the most current code for building, but is
slower than ftp (takes longer to download).
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
The following need to be installed:
<UL>
<LI>CodeWarrior (CW) 2 - obtainable from
<A HREF="http://www.metrowerks.com">Metrowerks</A>.
See <A HREF="#s3">Common Sticking Points</A> if you have a different
version.
</LI>
<LI>PowerPlant 1.8 - obtainable from the CodeWarrior CD.</LI>
<LI>MSL - the Metrowerks Standard Library, obtainable from the
CodeWarrior CD</LI>
<LI><A HREF="ftp://ftp.boingo.com//dan/WASTE/waste-13.hqx">WASTE
1.3</A></LI>
<LI><A HREF="http://www.bact.wisc.edu/CWASTEEdit/CWASTEEdit.sit.hqx">CWASTE
1.6.2</A></LI>
<LI>
<A HREF="ftp://ftp.scripting.com/userland/menuSharingToolkit4.1.sit.hqx">
Menu Sharing Toolkit</A> (from UserLand)</LI>
<LI>
<A HREF="ftp://ftp.digitalalchemy.com/pub/digitalalchemy/mercutio-SDK.sit.bin">
Mercutio 1.5 SDK</A> (only download the SDK, not the entire package, else
the access paths will be wrong)</LI>
<LI>
<A HREF="ftp://ftp.share.com/pub/internet-configuration/ICProgKit1.4.sit">
Internet Config 1.4 SDK</A></LI>
<LI><A HREF="http://www.mooseyard.com/Jens/Software/">AEGizmos
1.4.2</A></LI>
<LI><A HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/perl/Mac_Perl_520r4_tool.bin">
MacPerl 5 MPW Tool</A></LI>
<LI>
<A HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/perl/Mac_Perl_520r4_appl.bin">MacPerl 5 Application</A></LI>
<LI>MakeStub - MPW (installed with CodeWarrior Heaven option). If
you choose not to install MPW, it is located on the MacOS Tools CD
in "CW Pro 2 Tools:CodeWarrior MPW:MPW:Tools"</LI>
<LI>RunTSScript - in Mozilla source distribution
(mozilla:build:mac:RunTSScript), needs to be installed by hand</LI>
<LI><A HREF="ftp://dev.apple.com/devworld/Tool_Chest/Core_Mac_OS_Tools/MPW_etc./MPW-GM/MPW/ToolServer.sit.hqx">ToolServer</A>
- or in the CW distribution (CW Pro 2 Tools:Apple Development
Tools:ToolServer 3.4.1.sit). <B>We recommend pulling it off the
CD</B> because it comes with configuration files for CodeWarrior
which you would have to create manually were you to pull it off
the net.</LI>
<LI>
<A HREF="http://people.netscape.com/sfraser/software/NewAlias_tool.sit.hqx">
New Alias MPW Tool</A> An MPW tool that creates Finder aliases for files.
</LI>
<LI>StreamEdit MPW Tool - MPW (installed with CodeWarrior Heaven option). If
you choose not to install MPW, it is located on the MacOS Tools CD
in "CW Pro 2 Tools:CodeWarrior MPW:MPW:Tools"</LI>
</LI>
<LI>
<A HREF="ftp://dev.apple.com/devworld/Periodicals/develop/develop25/develop_Issue_25_code/ToolFrontEnd.sit.hqx">ToolFrontEnd</A></LI>
<LI>
<A HREF="http://sunsite.cnlab-switch.ch/ftp/software/platform/macos/src/HTML/MPW_C.html">
patch 2.1</A></LI>
</UL>
<P>
Hardware/OS
<UL>
<LI>To build Navigator, you need a fast PPC Mac. The faster the
better. You can't build with a 68K machine because we have too many
resources, and the build process will crash when trying to generate
resources out of our cross-platform strings. See the discussion below
for a way around this.
</LI>
<LI>You will need about 96 MB of physical RAM to "fast link" the app.
You can still fast link if you give your machine 96 MB of virtual
memory, but then the VM hit is large enough to counteract any
improvement. One of our beta testers had a machine with only 64MB of
physical RAM (VM was off) and it ran out of memory trying to link.
Turning VM on got it to link, but build time increased greatly.
</LI>
<LI>Reports from the net indicate that the optimized version
(MozillaPPC) take much less RAM to build than the 96MB we suggest. If
you are running out of memory, try building that instead of the debug
version (the debug symbols require a lot of RAM come link time).
</LI>
<LI>You should be ok with a 400MB disk partition, even when fully
built. This does not include tools like the IDE, just source.
</LI>
<LI>On an HFS+ volume, a full build takes about 110MB. HFS+ is good,
but utilities are sparse.
</LI>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Setup the Build Environment</A></H2>
<P>
<OL>
<LI>Install CodeWarrior from the CD. While it is large, installing
the "CodeWarrior Heaven" option will guarantee that you have
everything you need. This will give you PowerPlant, MSL, and MPW.
If you choose to install less, proceed at your own risk.</LI>
<LI>In the Finder, increase the memory partition of the IDE to
15MB (you can get by with 12, if need be).</LI>
<LI>Download ToolFrontEnd. After expanding it, in "ToolFrontEnd
Folder:Drop-Ins" there are three items:
<UL>
<LI><I>#include</I></LI>
<LI><I>ToolFrontEnd</I></LI>
<LI><I>ToolFrontEnd Panel</I></LI>
</UL>
<P>Create a folder named "Include Scanners". Place the file
"#include" into the Include Scanners folder. Move the Include
Scanners folder to the CodeWarrior Plugins folder. Create a folder
named "ToolFrontEnd". Place the files "ToolFrontEnd" and
"ToolFrontEnd Panel" into the ToolFrontEnd folder. Place this
folder in the CodeWarrior Plugins folder.</P></LI>
<LI>Open "ToolFrontEnd Panel" with ResEdit. Change the file type
from <B>'Panl'</B> to <B>'PanL'</B>. Save.</LI>
<LI>Uncompress the StuffIt Archive for ToolServer. The goal is to
let ToolServer and MPW share the same Tools directory so you don't
need to have multiple versions of tools. Do the following:
<OL>
<LI>Open ToolServer's Tools folder. There is one file called
"RMetrowerks". </LI>
<LI>Move RMetrowerks to Tools folder of MPW. MPW folder must be
at "Metrowerks:Codewarrior MPW:MPW" if you installed
Codewarrior Heaven. </LI>
<LI>Remove ToolServer's Tools folder.</LI>
<LI>Now create an alias of Tools folder in "CodeWarrior MPW"
and move it to your ToolServer folder. Rename the alias
(probably called "Tools alias") to "Tools"</LI>
<LI><FONT COLOR="#FF0000"><B>IMPORTANT</B></FONT>: Make sure
you only have one instance of ToolServer on your machine. If
the build script finds the wrong one, the correct tools will
not be found and strange things will happen.</LI>
</OL>
</LI>
<LI>After installing the MacPerl MPW Tool distribution (run the
InstallerVISE application), in the "MacPerl &#131;" folder, there
will be an MPW tool named "perl". Install this in MPW's tools
folder.</LI>
<LI>Install the MacPerl Application (run the
InstallerVISE application). You can install this anywhere, but it is
recommended that you install it inside of your CodeWarrior folder for
easy reference. After installation, you will need to set a preference
to enable double-click launch of the perl scripts. This preference is set
by going under the Edit Menu to Preferences. Click on the "Script" button
and hit the radio button "Run Scripts opened from Finder"</LI>
<LI>Install the "patch", "MakeStub", "NewAlias" and "StreamEdit" Tools in the
tools
folder. Note that "MakeStub" and "StreamEdit" are automatically installed by the
"CodeWarrior Heaven" install option.</LI>
<LI>Install RunTSScript (found in the Mozilla source distribution)
in the compilers folder in your build environment
("Metrowerks:Metrowerks Codewarrior:Codewarrior
Plugins:Compilers")</LI>
<LI>Next, after downloading all the 3rd party software components,
drag WASTE, CWASTE, Menu Sharing, Mercutio, Internet Config, and
the AEGizmo folders (just as they are) into the "MacOS Support"
folder in your build environment.</LI>
<LI>Start ToolServer from within CodeWarrior (or use MPW if you
are brave enough). We're about to patch some files. Make sure the
ToolServer menu is in the CodeWarrior menu bar by turning on the
<A HREF="IDEPrefs.gif">preference</A> under the "Extras" panel in
the IDE Preferences (not the project preferences!). The menu bar
should look like this:
<P><IMG SRC="IDEMenuBar.gif" WIDTH=359 HEIGHT=20 X-CLARIS-USEIMAGEWIDTH X-CLARIS-USEIMAGEHEIGHT ALIGN=bottom></P>
<P>Choose "Start ToolServer" from the ToolServer menu (this is the
icon menu between "Window" and "Help" in the menubar above). You
will now see a window with no close box. This is your ToolServer
Worksheet where you will type (or cut &amp; paste) the commands
for the following steps.</P>
<P>In case you have never used MPW/ToolServer before, the
following is <B>very important</B>. Pressing "return" does not
execute commands like you might think. It just inserts a newline
into the worksheet like a normal text editor. <B>To actually get
ToolServer to execute the command, you must press "Enter" (lower
right of numeric keypad).</B> This executes the line that the
cursor is on, and only that line. If you want to execute multiple
lines at once, select them all and hit Enter.</P></LI>
<LI>Set the shell variables {IDE} and {Source} to the correct
paths for your build environment. {IDE} is where your CodeWarrior
IDE is located. {Source} is the folder containing the toplevel
"ns" folder of the Mozilla source. Mine look like this (don't
forget to keep the quotes if your path includes spaces), yours
will almost certainly be different (<FONT COLOR="#FF0000">to
punctuate this, the things you need to change are in red</FONT>).
<PRE>Set IDE "<FONT COLOR="#FF0000">Develop:Source331 Build Environment:CW Pro 2:Metrowerks CodeWarrior:</FONT>"
Set Source "<FONT COLOR="#FF0000">Source:FreeSource:</FONT>"</PRE>
</LI>
<LI>If you are using CWPro2, execute the following lines to patch
LDropFlag to draw correcly over non-white backgrounds.
<PRE>directory "{IDE}MacOS Support:PowerPlant:_In Progress:_Table Classes:"
patch LDropFlag.cp "{Source}mozilla:lib:mac:patches:LDropFlag.patch"
duplicate -y "{Source}mozilla:lib:mac:patches:DropFlag Icons.rsrc" "{IDE}MacOS Support:PowerPlant:PowerPlant Resources:"</PRE></LI>
<LI>Execute the following lines to patch menusharing.c to allow it
to compile with the new Universal Headers. It references an
obsolete header file (GestaltEqu.h).
<PRE>directory "{IDE}MacOS Support:Menu Sharing Toolkit 4.1:"
patch menusharing.c "{Source}mozilla:lib:mac:patches:menusharing.patch"</PRE></LI>
<LI>If you are using CWPro2 straight off the CD, you need to patch
AppleEvents.r to fix a problem with the Universal Headers (the
definition of the 'aedt' resource was omitted). <B>You do not have
to do this if you have applied the netborne patch to Pro2e
</B> because it has been fixed.
<PRE>directory "{IDE}MacOS Support:Headers:Rez Headers:"
patch AppleEvents.r "{Source}mozilla:lib:mac:patches:AppleEvents.r.patch"</PRE></LI>
<LI>You need to patch stat.mac.h to fix a problem in MSL where
lines were omitted.
<PRE>directory "{IDE}Metrowerks Standard Library:MSL C:MSL Mac:Public Includes"
patch stat.mac.h "{Source}mozilla:lib:mac:patches:stat.mac.h.patch"</PRE></LI>
<LI>Congratulations! Now you are ready to build. Once these steps
are done, you don't have to repeat these setups the next
time!</LI>
</OL>
<P>
<H2><A NAME="ss2.4">2.4 Run the build </A></H2>
<UL>
<P>In the folder mozilla:build:mac:, there are several Perl scripts with
names of the form BuildMozillaXXX.pl, where XXX is "Optimized",
"Debug", "Tinderbox", et al. Each script builds the corresponding
version of Mozilla. If you configured the MacPerl application to
execute scripts that are opened from the finder, all you have to do is
double click on the appropriate one; otherwise, launch MacPerl, and
run the appropriate script from the "Run Script..." menu item.</P>
<P>These `configured build' scripts are simple, and you might want to
make your own to force your build to StopForErrors(), or alternatively
DontStopForErrors(), et al. You can set up certain build-script
variables and (soon) compile-time flags. Compare the supplied scripts
to figure out what you might want. Note that CodeWarriorLib, Moz.pm,
and BuildList.pm, are AppleScript libraries and Perl modules meant to
be used by a `configured build'. Use your favorite POD viewer (Shuck
comes with MacPerl) to view the documentation in the Perl scripts.</P>
<P>If there were any errors in any of the projects along the way, the
script will stop at that point and the IDE will tell you the errors.
You can fix them and make sure they current project builds, but to
continue the automation, you have to start from the beginning by
double-clicking the script again. This isn't quite as bad as it
sounds because the previous projects are already built (unless you
changed some major header file). Please note that stopping the script
once it has started is difficult. We are working to address
this issue.</P>
<P>After the build is complete, you can find aliases to the built libraries
and the final Mozilla application. Debug builds are built to
Mozilla:dist:client_debug, while optimized builds are built to Mozilla:dist:client.
</P>
<P>Don't worry too much about the numerous warnings generated during
the build. We try our best to get the XP teams to use real compilers,
but alas, they continue to write warning-laden code. There is also
some generated code (Java is one example) that has a lot of warnings
that we can't help either. If you write any new code, please help us
in our quest to get zero warnings.</P>
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<UL>
<LI><B>I have CodeWarrior3, how do i build with it?</B>
<UL> Currently, the answer is, "You don't." Eventually, the distribution
will be modified to allow building using CodeWarrior3, but for now
CodeWarrior2 is the only IDE that is supported.
</UL>
</LI>
</UL>
<HR>
<H2><A NAME="s4">4. Credits</A></H2>
<UL>
The majority of this document is taken from the build document included
in the Mozilla source distribution at README:mozilla:macbuild.htm written
by Mike Pinkerton, <A HREF="mailto:pinkerton@netscape.com">
pinkerton@netscape.com</A>.
</BODY>
</HTML>

View File

@@ -1,163 +0,0 @@
<HTML>
<HEAD>
<TITLE>Building the Mozilla client on unix platforms</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>Building the Mozilla client on Unix platforms</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@mozilla.org">leaf@mozilla.org</A></TT></H2>
v 1.2, 1998-11-02
<P>
<HR><I>How to build Mozilla on a Unix System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Build the Lizard</A></LI>
<LI>
<A HREF="#ss2.4">2.4 After the Build</A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
Perhaps you are interested in building classic Mozilla, before the
fall of the old layout engine, and the rise of the new. If so, the
<B><A HREF="classic-unix.html">Classic Mozilla Build document</A></B>
is what you're looking for.
<P>
<P>
What this document is: A guide to building the Mozilla application.
<BR>
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A sample set of commands to build Mozilla using the Autoconf
build system. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="../tplist.html">Technical Documents</A> or
<A HREF="../../../library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
</UL>
<UL>
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
Eventually, there will be two principal ways of getting the code,
<A HREF="../../../download.html"> ftp</A> and
<A HREF="../../../cvs.html"> CVS</A>.
CVS will provide the most current code for building, but is
slower than ftp. Ftp drops are generally produced once per month,
and are known to compile on some machine, somewhere.
<B>For now</B>, however, you must do the following to obtain the newest
browser source:
<BR>
<CODE>
cvs co mozilla/nglayout.mk<BR>
cd mozilla<BR>
gmake -f nglayout.mk pull_all<BR>
</CODE>
<BR>
This should pull all the right source.
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
<UL>
The following should be installed:
<UL>
<LI>Motif 1.2
<LI>The native C/C++ compiler (or GNU C/C++ compiler 2.7.2 in lieu of the
native compiler)
<LI>GNU make 3.74 or better
<LI>Perl5
<LI><A HREF="../../../projects/autoconf/">Autconf</A> requirements,
including NSPR.
<LI><CODE>LD_LIBRARY_PATH</CODE> must include the path to the NSPR
shared objects.<BR>
For most people, this means adding <CODE>/usr/local/nspr/lib</CODE>
to <CODE>LD_LIBRARY_PATH</CODE>
(either:
<BR>
<CODE>setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/local/nspr/lib</CODE>
<BR>
or
<BR>
<CODE>export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/nspr/lib</CODE>
.<BR>
If you get an error like "No such variable" then omit the
<CODE>${LD_LIBRARY_PATH}:</CODE> part
)
</UL>
<P>
Your hardware should be equal to, or better than:
<UL>
32 MB RAM, 128 MB swap (64 MB RAM recommended)
</UL>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Build the Lizard</A></H2>
<P>
<UL>
<CODE>
autoconf<BR>
mkdir obj-`./build/autoconf/config.guess`<BR>
cd obj-`./build/autoconf/config.guess`<BR>
../configure --with-nspr=/usr/local/nspr --enable-toolkit=motif<BR>
gmake depend<BR>
gmake<BR>
</CODE>
</UL>
<H2><A NAME="ss2.4">2.4 After the build </A></H2>
<UL>
<LI> <CODE>cd dist/bin</CODE> and you should see links to the objects you
need to run <CODE>main</CODE>.
<LI>On most unixen LD_LIBRARY_PATH must be set to wherever the necessary
libraries are.
<UL>
<LI>On HP-UX, the equivalent environment variable is <CODE>SHLIB_PATH</CODE>.
<LI>On AIX, the equivalent environment variable is <CODE>LIBPATH</CODE>.
</UL>
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<LI>I'm sure there are bound to be some. Send
<A HREF="mailto:leaf@mozilla.org"> me</A> mail.
<HR>
</BODY>
</HTML>

View File

@@ -1,209 +0,0 @@
<HTML>
<HEAD>
<TITLE>Building Mozilla on Microsoft Windows 32-bit platforms</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>
Building Mozilla on Microsoft Windows 32-bit platforms</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@netscape.com">leaf@netscape.com</A></TT>
</H2>
v 1.0, June 1998
<P>
<HR><I>How to build Mozilla on a Microsoft Windows 32-bit System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI>
<A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
What this document is: A guide to building the Mozilla application.
<BR>
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A list of environment variables you will need to set before building. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical Documents
</A> or <A HREF="http://www.mozilla.org/library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
There are two principal ways of getting the code,
<A HREF="http://www.mozilla.org/download.html"> ftp</A> and
<A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the least outdated code for building, but is
slower than ftp.
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
<UL>
The following need to be installed:
<UL>
<LI>Microsoft Visual C++ version 4.2 or later
<LI>GNU Tools for Microsoft Windows, located:
<UL>
<LI><A HREF="http://www.cygnus.com/misc/gnu-win32">Cygnus</A></LI>
<LI><A HREF="http://www.gnu.org/order/ftp.html">GNU home page</A></LI>
<LI><A HREF="ftp://prep.ai.mit.edu/pub/gnu">MIT</A></LI>
</UL>
Specifically, you'll need:
<UL><CODE>
cp.exe<BR>
rm.exe<BR>
uname.exe<BR>
</CODE>
</UL>
Netscape has internally modified version of gmake, shmsdos and win32gnu
that we use to get around some problems we were having keeping in sync
with the Unix version of gmake. This version of gmake can be found in the
Windows Build Tools package, which can be ftp'd from
<A HREF="http://www.mozilla.org/download-mozilla.html"> the Mozilla
Download page</A>.
The three files you will need are:
<UL><CODE>
gmake.exe<BR>
shmsdos.exe<BR>
uname.exe<BR>
</CODE>
</UL>
</UL>
<P>
Hardware/OS
<UL>
<LI>Pentium 133 MHz or better</LI>
<LI>64 MB RAM, 128 MB recommended</LI>
<LI>250 MB NTFS or 500 MB FAT disk space</LI>
<LI>NT 4.0 is preferred; NT 3.51 will also work.
</LI>
</UL>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Setup the Build Environment</A></H2>
<P>
<UL>
The following environment variables need to be set:
<UL>
<CODE>
set MOZ_BITS=32
<BR>
set MOZ_DEBUG=1 (set this only if you want to build a debug build)
<BR>
set MOZ_GOLD=1
<BR>
set MOZ_MEDIUM=1
<BR>
set MOZ_NT=351 (if running NT3.51)
<BR>
set MOZ_OUT=(optional: specifies location of resultant executable)
<BR>
set MOZ_SRC=(top of your tree, for example: set MOZ_SRC=d:\mozilla_source
if this is the directory where you checked or unzipped the source into)
<BR>
set MOZ_TOOLS=(location of the bin directory of your GNU tools. The build
looks for MOZ_TOOLS\bin\gmake.exe, so make sure that the gmake.exe from
the Windows Build Tools package resides there.)
<BR>
set NO_SECURITY=1
<BR>
set NSPR20=1
<BR>
set _MSC_VER=1100 (if you are running VC++ 5.0 or higher)
<BR>
</CODE>
</UL>
<BR>
<P>
</UL>
<H2><A NAME="ss2.4">2.4 Run the build </A></H2>
<UL>
Change to the directory you copied the source into (for example,
<CODE>cd d:\mozilla_source</CODE>). If this directory was empty before you
installed the source, there should be two directories here:
<CODE>README</CODE> and <CODE>mozilla</CODE>.
<CODE>
<PRE>
cd mozilla\config
nmake /f makefile.win
cd ..
nmake /f client.mak
</PRE>
</CODE>
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<UL>
<LI><B>nmake has a 'fatal error', listing one of the GNU commands and a
hexadecimal return code.</B>
<UL>
This will happen as a result of not having the GNU tools and Windows Build
tools in your path. Add the directories with the appropriate binaries to your
path.
</UL>
</LI>
<LI>
<B>It fails with the message "'.\WIN32' unexpected": </B>
<UL>
You didn't properly
set the environment variables -- you must not include a space at the end
of the set statements (be careful if you are cut'n'pasting).
</UL>
</LI>
<LI>
<B>It fails to build, with directory-related errors: </B>
<UL>
The full path
to the source must not include any spaces. Additionally, the source must
be extracted with an intact directory structure by a utility that understands
long filenames. If in doubt, grab Info-Zip at
<A HREF="ftp://ftp.cdrom.com/pub/infozip">ftp://ftp.cdrom.com/pub/infozip</A>
</UL>
</LI>
<LI>
<B>I'm not running a 32-bit windows system, how do i build?</B>
<UL>
Currently, the build process depends on a 32-bit operating system.
Windows NT 4.0 is the recommended windows operating system.
</UL>
</UL>
<HR>
</BODY>
</HTML>

View File

@@ -1,53 +0,0 @@
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Chris Yeh">
<META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en]C-NSCP (WinNT; U) [Netscape]">
<TITLE>Running Mozilla...</TITLE>
</HEAD>
<BODY>
<H2>
<FONT FACE="Arial,Helvetica">Running Mozilla Without Trashing Netscape
Installation</FONT></H2>
This document explains how to run <TT>mozilla.exe</TT> separately from
<TT>netscape.exe</TT> without trashing your regular installation of Netscape
Communicator. This is necessary if, for example, you want to use Communicator's
mail client while you work on Mozilla development.
<BR>
<HR WIDTH="100%">
<OL>
<LI>
Before running <TT>mozilla.exe</TT>, create a new user profile either from
a Netscape 4.0x installation using the "User Profile Manager" shortcut
in the Utilities folder (on Windows) or by using&nbsp; the <TT>-new_account</TT>
option on the command line of either <TT>netscape.exe</TT> or <TT>mozilla.exe</TT>.&nbsp;
We suggest calling the profile "<TT>mozilla</TT>."</LI>
<LI>
Always use that new account when running <TT>mozilla.exe</TT>, and never
run <TT>netscape.exe</TT> using that same account profile.</LI>
</OL>
To make things easier, you can start the application with the user account
on the command line, for example:
<UL><TT>mozilla.exe -P"mozilla"</TT></UL>
This assures that prefs and the cache will not interfere between the two
versions. This will be especially
<BR>important as new prefs are added to the Mozilla product. Note that
you must use quotes around the name and there can be no space between the
"P" and the profile name. Otherwise, the application won't catch the profile
switch, and it will try to load the profile name as the initial URL.
<P>
<HR WIDTH="100%">
<BR>You can copy your <TT>bookmark.htm</TT> file from an existing profile
to your new profile directory if you want to share bookmarks.
<P>After the initial 3/31 release, we will add some code to Mozilla to
prevent running with a profile that is already being used by <TT>netscape.exe</TT>.
<BR>&nbsp;
<HR WIDTH="100%">
<BR><FONT SIZE=-1>Copyright &copy; 1998 <A HREF="http://home.netscape.com/misc/contact_info.html">Netscape
Communications Corporation</A></FONT>
</BODY>
</HTML>

View File

@@ -1,184 +0,0 @@
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=x-mac-roman">
<META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (WinNT; I) [Netscape]">
<META NAME="KeyWords" CONTENT="client, source, documentation">
<META NAME="Author" CONTENT="Kipp E.B. Hickman">
<TITLE>NGLayout Windows Build Instructions</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H2>
<FONT FACE="Arial,Helvetica">NGLayout Windows Build Instructions</FONT></H2>
This document explains how to build NGLayout for the Windows platform.&nbsp;
<HR><B><FONT SIZE=+1>Required Tools:</FONT></B>
<UL>
<LI>
<B>Microsoft Visual C++ version 4.2 or later</B></LI>
<LI>
<B>The same set of tools for building <A HREF="http://www.mozilla.org/docs/tplist/catBuild/winbuild.htm">Mozilla</A></B></LI>
</UL>
<B><FONT SIZE=+1>Setting up:</FONT></B>
<UL>
<LI>
You need a Pentium with at least a 133 MHz processor and at least 250 megs
(NTFS partition) or 500 megs (FAT partition) of hard drive space. You need
to have a minimum of 64 megs of memory in order to build this tree. These
numbers are approximations.</LI>
<LI>
The preferred platform is NT 4.0. NT 3.51 will also work, and Win95 might
work if you're lucky. Maybe.</LI>
<LI>
Install MSVC. If you don't choose to have the MSVC install modify your
environment variables for PATH, INCLUDE, and LIB information, be sure to
run VCVARS32.BAT out of the MSVC bin directory prior to attempting to build.</LI>
<LI>
Download and install GNU tools. Put them in your path.</LI>
<LI>
Install NGLayout source.</LI>
<UL>
<LI>
cd &lt;your-source-area></LI>
<LI>
unzip -o -q win-19980415.zip</LI>
</UL>
<LI>
There are several environment variables you will need to set, either manually
or via a script within a command session, or by setting them in your system
environment located through the Control Panel | System icon.</LI>
<P>&nbsp;<B>Note: There is an additional variable for building NGLayout!
Use this list carefully!</B>
<P>&nbsp;The variables are:
<UL>
<LI>
set MOZ_BITS=32</LI>
<LI>
set MOZ_DEBUG=1 (don't set this if you want to build an optimized release
build)</LI>
<LI>
set MOZ_GOLD=1</LI>
<LI>
set MOZ_MEDIUM=1</LI>
<LI>
set MOZ_NT=351 (if running NT 3.51, don't set otherwise)</LI>
<LI>
set MOZ_OUT=(location of resulting executable and totally optional, see
Notes for more details)</LI>
<LI>
set MOZ_SRC=(top of your tree, drive letter and path, i.e. set MOZ_SRC=d:\mozilla_src.
The topmost directory under this should be mozilla)</LI>
<LI>
set MOZ_TOOLS=(location of the bin directory containing your GNU tools.
The build looks for MOZ_TOOLS\bin\gmake.exe, so make sure your MOZ_TOOLS
is figured appropriately)</LI>
<LI>
set NO_SECURITY=1</LI>
<LI>
set NSPR20=1</LI>
<LI>
if you are running VC++ 5.0 or higher: set _MSC_VER=1100; if you are running
VC++ 4.2 then set MOZ_VCVER=42</LI>
<LI>
<B>set STANDALONE_IMAGE_LIB=1</B></LI>
<LI>
<B>set MODULAR_NETLIB=1</B></LI>
</UL>
</UL>
<B><FONT SIZE=+1>Building:</FONT></B>
<UL>
<LI>
You need to be running a vanilla command prompt. Other shells may work,
but you might have to tweak makefiles.</LI>
<LI>
<B>Build the tools:</B> This generates several tools that handle things
like dependency generation</LI>
<UL>
<LI>
cd mozilla\config</LI>
<LI>
nmake /f makefile.win</LI>
</UL>
<LI>
<B>Build the NGLayout:</B> This will do a complete build of the source
tree. You will end up with a viewer.exe at the end. The viewer.exe will
be in your dist\win32_[OD].obj\bin directory (O will be used when you don't
set MOZ_DEBUG; D will be used when you set MOZ_DEBUG).</LI>
<UL>
<LI>
cd mozilla</LI>
<LI>
nmake /f nglayout.mak</LI>
</UL>
</UL>
<B><FONT SIZE=+1>Running:</FONT></B>
<UL>
<LI>
Once you have built the system, do this to run the viewer program (the
viewer program is a simple test program that uses the nsIWebWidget API
to embed a web widget object). The viewer program has a few basic menu
items, include "Samples" which load sample tests.</LI>
<UL>
<LI>
cd mozilla\dist\win32_[OD].obj\bin</LI>
<LI>
.\viewer.exe</LI>
</UL>
</UL>
<B><FONT SIZE=+1>Notes:</FONT></B>
<UL>
<LI>
This build process does not use Visual C++ generated project files for
several reasons having to do with (among other things) size, maintainability,
and the long term desire to start using more of tools like gmake, or plug
and play developer tools. This does not preclude you from using the Visual
C++ IDE, or it's debugger. Once you have built a viewer.exe do this to
run it under the debugger:</LI>
</UL>
<UL>
<UL>
<LI>
cd mozilla\dist\win32_[OD].obj\bin</LI>
<LI>
msdev viewer.exe</LI>
</UL>
</UL>
<HR WIDTH="100%">
<CENTER><FONT SIZE=-1>Copyright &copy; 1998 <A HREF="http://home.netscape.com/misc/contact_info.html">Netscape
Communications Corporation</A></FONT></CENTER>
&nbsp;
</BODY>
</HTML>

8
mozilla/aclocal.m4 vendored
View File

@@ -1,8 +0,0 @@
dnl
dnl Local autoconf macros used with mozilla
dnl The contents of this file are under the Public Domain.
dnl
builtin(include, build/autoconf/gtk.m4)dnl
builtin(include, build/autoconf/altoptions.m4)dnl

View File

@@ -1,345 +0,0 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All Rights
# Reserved.
#
# allmakefiles.sh - List of all makefiles.
# Appends the list of makefiles to the variable, MAKEFILES.
# There is no need to rerun autoconf after adding makefiles.
# You only need to run configure.
#
# Unused makefiles may be commented out with '#'.
# ('#' must be the first character on the line).
# add_makefiles - Shell function to add makefiles to MAKEFILES
add_makefiles() {
while read line; do
case $line in
\#*|dnl*) ;;
*) MAKEFILES="$MAKEFILES $line" ;;
esac
done
}
if [ -z "${srcdir}" ]; then
srcdir=.
fi
add_makefiles <<END_NGMAKEFILES
Makefile
base/Makefile
base/public/Makefile
base/src/Makefile
base/src/motif/Makefile
base/src/rhapsody/Makefile
base/src/gtk/Makefile
base/tests/Makefile
config/Makefile
config/autoconf.mk
config/mkdepend/Makefile
config/mkdetect/Makefile
config/ports/Makefile
dbm/Makefile
dbm/include/Makefile
dbm/src/Makefile
dbm/tests/Makefile
dom/Makefile
dom/public/Makefile
dom/public/base/Makefile
dom/public/coreDom/Makefile
dom/public/coreEvents/Makefile
dom/public/css/Makefile
dom/public/events/Makefile
dom/public/html/Makefile
dom/src/Makefile
dom/src/base/Makefile
dom/src/build/Makefile
dom/src/coreDOM/Makefile
dom/src/css/Makefile
dom/src/events/Makefile
dom/src/html/Makefile
dom/src/jsurl/Makefile
dom/tools/Makefile
editor/Makefile
editor/public/Makefile
expat/Makefile
expat/xmlparse/Makefile
expat/xmltok/Makefile
gfx/Makefile
gfx/public/Makefile
gfx/src/Makefile
gfx/src/gtk/Makefile
gfx/src/ps/Makefile
gfx/src/motif/Makefile
gfx/src/rhapsody/Makefile
gfx/tests/Makefile
htmlparser/Makefile
htmlparser/robot/Makefile
htmlparser/src/Makefile
htmlparser/tests/Makefile
htmlparser/tests/grabpage/Makefile
htmlparser/tests/logparse/Makefile
include/Makefile
intl/Makefile
intl/uconv/Makefile
intl/uconv/public/Makefile
intl/uconv/src/Makefile
intl/uconv/tests/Makefile
intl/uconv/ucvja/Makefile
intl/uconv/ucvlatin/Makefile
intl/uconv/ucvja2/Makefile
intl/locale/Makefile
intl/locale/public/Makefile
intl/locale/src/Makefile
intl/locale/src/unix/Makefile
intl/locale/tests/Makefile
intl/lwbrk/Makefile
intl/lwbrk/src/Makefile
intl/lwbrk/public/Makefile
intl/lwbrk/tests/Makefile
intl/unicharutil/Makefile
intl/unicharutil/src/Makefile
intl/unicharutil/public/Makefile
intl/unicharutil/tests/Makefile
intl/unicharutil/tools/Makefile
intl/strres/Makefile
intl/strres/public/Makefile
intl/strres/src/Makefile
intl/strres/tests/Makefile
jpeg/Makefile
js/Makefile
js/jsd/Makefile
js/jsd/classes/Makefile
js/src/Makefile
js/src/fdlibm/Makefile
js/src/liveconnect/Makefile
js/src/liveconnect/classes/Makefile
# js/src/xpcom/Makefile
js/src/xpconnect/Makefile
js/src/xpconnect/md/Makefile
js/src/xpconnect/md/unix/Makefile
js/src/xpconnect/test/Makefile
layout/Makefile
layout/base/Makefile
layout/base/public/Makefile
layout/base/src/Makefile
layout/base/tests/Makefile
layout/build/Makefile
layout/events/Makefile
layout/events/public/Makefile
layout/events/src/Makefile
layout/html/Makefile
layout/html/base/Makefile
layout/html/base/src/Makefile
layout/html/content/Makefile
layout/html/content/public/Makefile
layout/html/content/src/Makefile
layout/html/document/Makefile
layout/html/document/src/Makefile
layout/html/forms/Makefile
layout/html/forms/public/Makefile
layout/html/forms/src/Makefile
layout/html/style/Makefile
layout/html/style/public/Makefile
layout/html/style/src/Makefile
layout/html/table/Makefile
layout/html/table/public/Makefile
layout/html/table/src/Makefile
layout/html/tests/Makefile
layout/tools/Makefile
layout/xml/Makefile
layout/xml/content/Makefile
layout/xml/content/public/Makefile
layout/xml/content/src/Makefile
layout/xml/document/Makefile
layout/xml/document/public/Makefile
layout/xml/document/src/Makefile
layout/xul/Makefile
layout/xul/base/Makefile
layout/xul/base/src/Makefile
layout/xul/content/Makefile
layout/xul/content/src/Makefile
# lib/liblayer/Makefile
# lib/liblayer/include/Makefile
# lib/liblayer/src/Makefile
lib/libpwcac/Makefile
lib/xp/Makefile
modules/libimg/Makefile
modules/libimg/classes/Makefile
modules/libimg/classes/netscape/Makefile
modules/libimg/classes/netscape/libimg/Makefile
modules/libimg/png/Makefile
modules/libimg/public/Makefile
modules/libimg/src/Makefile
modules/libpref/Makefile
modules/libpref/admin/Makefile
modules/libpref/l10n/Makefile
modules/libpref/public/Makefile
modules/libpref/src/Makefile
modules/libreg/Makefile
modules/libreg/include/Makefile
modules/libreg/src/Makefile
modules/libutil/Makefile
modules/libutil/public/Makefile
modules/libutil/src/Makefile
modules/oji/Makefile
modules/oji/public/Makefile
modules/oji/src/Makefile
modules/plugin/Makefile
modules/plugin/nglsrc/Makefile
modules/plugin/public/Makefile
modules/plugin/src/Makefile
modules/plugin/test/Makefile
modules/security/freenav/Makefile
modules/zlib/Makefile
modules/zlib/src/Makefile
nav-java/Makefile
nav-java/stubs/Makefile
nav-java/stubs/include/Makefile
nav-java/stubs/jri/Makefile
nav-java/stubs/src/Makefile
network/Makefile
network/cache/Makefile
network/cache/nu/Makefile
network/cache/nu/include/Makefile
network/cache/nu/public/Makefile
network/cache/nu/src/Makefile
network/cache/nu/tests/Makefile
network/cache/nu/tests/fftest/Makefile
network/client/Makefile
network/cnvts/Makefile
network/cstream/Makefile
network/main/Makefile
network/mimetype/Makefile
network/public/Makefile
network/module/Makefile
network/module/tests/Makefile
network/protocol/Makefile
network/protocol/about/Makefile
network/protocol/callback/Makefile
network/protocol/dataurl/Makefile
network/protocol/file/Makefile
network/protocol/ftp/Makefile
network/protocol/gopher/Makefile
network/protocol/http/Makefile
network/protocol/js/Makefile
network/protocol/ldap/Makefile
network/protocol/marimba/Makefile
network/protocol/remote/Makefile
network/protocol/sockstub/Makefile
network/util/Makefile
rdf/Makefile
rdf/base/Makefile
rdf/base/idl/Makefile
rdf/base/public/Makefile
rdf/base/src/Makefile
rdf/util/Makefile
rdf/util/public/Makefile
rdf/util/src/Makefile
rdf/build/Makefile
rdf/content/Makefile
rdf/content/public/Makefile
rdf/content/src/Makefile
rdf/datasource/Makefile
rdf/datasource/public/Makefile
rdf/datasource/src/Makefile
rdf/tests/Makefile
rdf/tests/localfile/Makefile
rdf/tests/rdfsink/Makefile
sun-java/Makefile
sun-java/stubs/Makefile
sun-java/stubs/include/Makefile
sun-java/stubs/jri/Makefile
sun-java/stubs/src/Makefile
caps/Makefile
caps/include/Makefile
caps/public/Makefile
caps/src/Makefile
view/Makefile
view/public/Makefile
view/src/Makefile
webshell/Makefile
webshell/public/Makefile
webshell/src/Makefile
webshell/tests/Makefile
webshell/tests/viewer/Makefile
webshell/tests/viewer/public/Makefile
widget/Makefile
widget/public/Makefile
widget/src/Makefile
widget/src/build/Makefile
widget/src/motif/Makefile
widget/src/rhapsody/Makefile
widget/src/gtk/Makefile
widget/src/xpwidgets/Makefile
widget/tests/Makefile
widget/tests/scribble/Makefile
widget/tests/widget/Makefile
xpcom/Makefile
xpcom/public/Makefile
xpcom/src/Makefile
xpcom/tests/Makefile
xpcom/tests/dynamic/Makefile
xpcom/tools/Makefile
xpcom/tools/xpidl/Makefile
xpcom/libxpt/Makefile
xpcom/libxpt/public/Makefile
xpcom/libxpt/src/Makefile
xpcom/libxpt/tests/Makefile
xpcom/libxpt/tools/Makefile
xpcom/libxpt/xptinfo/Makefile
xpcom/libxpt/xptinfo/public/Makefile
xpcom/libxpt/xptinfo/src/Makefile
xpcom/libxpt/xptinfo/tests/Makefile
xpcom/idl/Makefile
silentdl/Makefile
xpfe/Makefile
xpfe/AppCores/Makefile
xpfe/AppCores/public/Makefile
xpfe/AppCores/src/Makefile
xpfe/AppCores/xul/Makefile
xpfe/AppCores/idl/Makefile
xpfe/browser/Makefile
xpfe/browser/public/Makefile
xpfe/browser/src/Makefile
# xpfe/xpviewer/Makefile
# xpfe/xpviewer/src/Makefile
# xpfe/xpviewer/public/Makefile
xpfe/appshell/Makefile
xpfe/appshell/src/Makefile
xpfe/appshell/public/Makefile
xpfe/bootstrap/Makefile
xpfe/browser/Makefile
xpfe/browser/src/Makefile
# xpfe/browser/public/Makefile
END_NGMAKEFILES
if [ "$MOZ_EDITOR" ]; then
add_makefiles <<END_EDITOR_MAKEFILES
editor/base/Makefile
editor/txmgr/Makefile
editor/txmgr/public/Makefile
editor/txmgr/src/Makefile
editor/txmgr/tests/Makefile
editor/guimgr/Makefile
editor/guimgr/src/Makefile
editor/guimgr/public/Makefile
END_EDITOR_MAKEFILES
fi
if [ "$MOZ_MAIL_NEWS" ]; then
add_makefiles < ${srcdir}/mailnews/makefiles
fi

View File

@@ -1,33 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = public src
ifdef ENABLE_TESTS
DIRS += tests
endif
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk

View File

@@ -1,21 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#define _IMPL_NS_BASE 1
#include "MacPrefix_debug.h"

View File

@@ -1,21 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#define _IMPL_NS_BASE 1
#include "MacPrefix.h"

Binary file not shown.

Binary file not shown.

View File

@@ -1,19 +0,0 @@
# target: baseDebug.shlb
mozilla/base/src/mac/nsTimerMac.cpp
mozilla/base/src/nsArena.cpp
mozilla/base/src/nsAtomTable.cpp
mozilla/base/src/nsBaseDLL.cpp
mozilla/base/src/nsBTree.cpp
mozilla/base/src/nsByteBuffer.cpp
mozilla/base/src/nsCRT.cpp
mozilla/base/src/nsDeque.cpp
mozilla/base/src/nsEscape.cpp
mozilla/base/src/nsFileSpec.cpp
mozilla/base/src/nsFileStream.cpp
mozilla/base/src/nsRBTree.cpp
mozilla/base/src/nsProperties.cpp
mozilla/base/src/nsSizeOfHandler.cpp
mozilla/base/src/nsString.cpp
mozilla/base/src/nsUnicharBuffer.cpp
mozilla/base/src/nsUnicharInputStream.cpp
mozilla/base/src/nsVoidArray.cpp

View File

@@ -1,19 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "MacPrefix_debug.h"

View File

@@ -1,19 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "MacPrefix_debug.h"

View File

@@ -1,23 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..
IGNORE_MANIFEST=1
DIRS=public src
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,14 +0,0 @@
#
# This is a list of local files which get copied to the mozilla:dist:base directory
#
nsAutoLock.h
nsISizeOfHandler.h
nsFileStream.h
nsIFileStream.h
nsIStringStream.h
nsFileSpec.h
nsRepeater.h
nsIProperties.h
nsCaretProperties.h
nsSpecialSystemDirectory.h

View File

@@ -1,46 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DEFINES += -D_IMPL_NS_BASE
EXPORTS = \
nsAutoLock.h \
nsIProperties.h \
nsISizeOfHandler.h \
nsCaretProperties.h \
nsEscape.h \
nsFileSpec.h \
nsFileStream.h \
nsIFileStream.h \
nsIStringStream.h \
nsSpecialSystemDirectory.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
MODULE=base
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk

View File

@@ -1,39 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..
IGNORE_MANIFEST=1
DEFINES = -D_IMPL_NS_BASE
EXPORTS = \
nsAutoLock.h \
nsCaretProperties.h \
nsIProperties.h \
nsISizeOfHandler.h \
nsEscape.h \
nsFileSpec.h \
nsFileStream.h \
nsIFileStream.h \
nsIStringStream.h \
nsSpecialSystemDirectory.h \
$(NULL)
MODULE = raptor
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,116 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
A stack-based lock object that makes using PRLock a bit more
convenient. It acquires the monitor when constructed, and releases
it when it goes out of scope.
For example,
class Foo {
private:
PRLock* mLock;
public:
Foo(void) {
mLock = PR_NewLock();
}
virtual ~Foo(void) {
PR_DestroyLock(mLock);
}
void ThreadSafeMethod(void) {
// we're don't hold the lock yet...
nsAutoLock lock(mLock);
// ...but now we do.
// we even can do wacky stuff like return from arbitrary places w/o
// worrying about forgetting to release the lock
if (some_weird_condition)
return;
// otherwise do some other stuff
}
void ThreadSafeBlockScope(void) {
// we're not in the lock here...
{
nsAutoLock lock(mLock);
// but we are now, at least until the block scope closes
}
// ...now we're not in the lock anymore
}
};
*/
#ifndef nsAutoLock_h__
#define nsAutoLock_h__
#include "nscore.h"
#include "prlock.h"
#include "prlog.h"
// If you ever decide that you need to add a non-inline method to this
// class, be sure to change the class declaration to "class NS_BASE
// nsAutoLock".
class nsAutoLock {
private:
PRLock* mLock;
// Not meant to be implemented. This makes it a compiler error to
// construct or assign an nsAutoLock object incorrectly.
nsAutoLock(void) {}
nsAutoLock(nsAutoLock& aLock) {}
nsAutoLock& operator =(nsAutoLock& aLock) {
return *this;
}
// Not meant to be implemented. This makes it a compiler error to
// attempt to create an nsAutoLock object on the heap.
static void* operator new(size_t size) {
return nsnull;
}
static void operator delete(void* memory) {}
public:
nsAutoLock(PRLock* aLock) : mLock(aLock) {
PR_ASSERT(mLock);
// This will assert deep in the bowels of NSPR if you attempt
// to re-enter the lock.
PR_Lock(mLock);
}
~nsAutoLock(void) {
PR_Unlock(mLock);
}
};
#endif // nsAutoLock_h__

View File

@@ -1,53 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// this class is used to gather caret properties from the OS. It
// must be implemented by each platform that wants more than
// the generic caret properties.
class nsCaretProperties
{
public:
nsCaretProperties();
virtual ~nsCaretProperties() {}
virtual PRInt32 GetCaretWidth() { return mCaretWidth; }
virtual PRUint32 GetCaretBlinkRate() { return mBlinkRate; }
protected:
// have value for no blinking
enum {
eDefaulBlinkRate = 500, // twice a second
eDefaultCaretWidth = 20 // 20 twips = 1 pixel
};
PRInt32 mCaretWidth; // caret width in twips
PRUint32 mBlinkRate; // blink rate in milliseconds
// members for vertical placement & size?
};
NS_BASE nsCaretProperties* NewCaretProperties();

View File

@@ -1,62 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* First checked in on 98/12/03 by John R. McMullen, derived from net.h/mkparse.c. */
#ifndef _ESCAPE_H_
#define _ESCAPE_H_
#include "prtypes.h"
#include "nscore.h"
/* valid mask values for NET_Escape() and NET_EscapedSize(). */
typedef enum {
url_XAlphas = (1<<0)
, url_XPAlphas = (1<<1)
, url_Path = (1<<2)
} nsEscapeMask;
#ifdef __cplusplus
extern "C" {
#endif
NS_BASE char * nsEscape(const char * str, nsEscapeMask mask);
/* Caller must use delete [] on the result */
NS_BASE char * nsUnescape(char * str);
/* decode % escaped hex codes into character values,
* modifies the parameter, returns the same buffer
*/
NS_BASE char * nsEscapeCount(const char * str, PRInt32 len, nsEscapeMask mask, PRInt32* out_len);
/* Like nsEscape, but if out_len is non-null, return result string length
* in *out_len, and uses len instead of NUL termination.
* Caller must use delete [] on the result.
*/
NS_BASE PRInt32 nsUnescapeCount (char * str);
/* decode % escaped hex codes into character values,
* modifies the parameter buffer, returns the length of the result
* (result may contain \0's).
*/
#ifdef __cplusplus
}
#endif
#endif // _ESCAPE_H_

View File

@@ -1,617 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// First checked in on 98/11/20 by John R. McMullen in the wrong directory.
// Checked in again 98/12/04.
// Polished version 98/12/08.
//========================================================================================
//
// Classes defined:
//
// nsFilePath, nsFileURL, nsFileSpec, nsPersistentFileDescriptor
// nsDirectoryIterator. Oh, and a convenience class nsAutoCString.
//
// Q. How should I represent files at run time?
// A. Use nsFileSpec. Using char* will lose information on some platforms.
//
// Q. Then what are nsFilePath and nsFileURL for?
// A. Only when you need a char* parameter for legacy code.
//
// Q. How should I represent files in a persistent way (eg, in a disk file)?
// A. Use nsPersistentFileDescriptor. Convert to and from nsFileSpec at run time.
//
// This suite provides the following services:
//
// 1. Encapsulates all platform-specific file details, so that files can be
// described correctly without any platform #ifdefs
//
// 2. Type safety. This will fix the problems that used to occur because people
// confused file paths. They used to use const char*, which could mean three
// or four different things. Bugs were introduced as people coded, right up
// to the moment Communicator 4.5 shipped.
//
// 3. Used in conjunction with nsFileStream.h (q.v.), this supports all the power
// and readability of the ansi stream syntax.
//
// Basic example:
//
// nsFilePath myPath("/Development/iotest.txt");
//
// nsOutputFileStream testStream(myPath);
// testStream << "Hello World" << nsEndl;
//
// 4. Handy methods for manipulating file specifiers safely, e.g. MakeUnique(),
// SetLeafName(), Exists().
//
// 5. Easy cross-conversion.
//
// Examples:
//
// Initialize a URL from a string without suffix
//
// nsFileURL fileURL("file:///Development/MPW/MPW%20Shell");
//
// Initialize a Unix path from a URL
//
// nsFilePath filePath(fileURL);
//
// Initialize a native file spec from a URL
//
// nsFileSpec fileSpec(fileURL);
//
// Make the spec unique (this one has no suffix).
//
// fileSpec.MakeUnique();
//
// Assign the spec to a URL
//
// fileURL = fileSpec;
//
// Assign a unix path using a string with a suffix.
//
// filePath = "/Development/MPW/SysErrs.err";
//
// Assign to a file spec using a unix path.
//
// fileSpec = filePath;
//
// Make this unique (this one has a suffix).
//
// fileSpec.MakeUnique();
//
// 6. Fixes a bug that have been there for a long time, and
// is inevitable if you use NSPR alone, where files are described as paths.
//
// The problem affects platforms (Macintosh) in which a path does not fully
// specify a file, because two volumes can have the same name. This
// is solved by holding a "private" native file spec inside the
// nsFilePath and nsFileURL classes, which is used when appropriate.
//
// Not yet done:
//
// Equality operators... much more.
//
//========================================================================================
#ifndef _FILESPEC_H_
#define _FILESPEC_H_
#include "nscore.h"
#include "nsError.h"
#include "nsString.h"
//========================================================================================
// Compiler-specific macros, as needed
//========================================================================================
#if !defined(NS_USING_NAMESPACE) && (defined(__MWERKS__) || defined(XP_PC))
#define NS_USING_NAMESPACE
#endif
#ifdef NS_USING_NAMESPACE
#define NS_NAMESPACE_PROTOTYPE
#define NS_NAMESPACE namespace
#define NS_NAMESPACE_END
#define NS_EXPLICIT explicit
#else
#define NS_NAMESPACE_PROTOTYPE static
#define NS_NAMESPACE struct
#define NS_NAMESPACE_END ;
#define NS_EXPLICIT
#endif
//=========================== End Compiler-specific macros ===============================
#ifdef XP_MAC
#include <Files.h>
#elif defined(XP_UNIX) || defined (XP_OS2)
#include <dirent.h>
#elif XP_PC
#include "prio.h"
#endif
//========================================================================================
// Here are the allowable ways to describe a file.
//========================================================================================
class nsFileSpec; // Preferred. For i/o use nsInputFileStream, nsOutputFileStream
class nsFilePath; // This can be passed to NSPR file I/O routines, if you must.
class nsFileURL;
class nsPersistentFileDescriptor; // Used for storage across program launches.
#define kFileURLPrefix "file://"
#define kFileURLPrefixLength (7)
class nsOutputStream;
class nsInputStream;
class nsIOutputStream;
class nsIInputStream;
class nsOutputFileStream;
class nsInputFileStream;
class nsOutputConsoleStream;
class nsString;
//========================================================================================
// Conversion of native file errors to nsresult values. These are really only for use
// in the file module, clients of this interface shouldn't really need them.
// Error results returned from this interface have, in the low-order 16 bits,
// native errors that are masked to 16 bits. Assumption: a native error of 0 is success
// on all platforms. Note the way we define this using an inline function. This
// avoids multiple evaluation if people go NS_FILE_RESULT(function_call()).
#define NS_FILE_RESULT(x) ns_file_convert_result((PRInt32)x)
nsresult ns_file_convert_result(PRInt32 nativeErr);
#define NS_FILE_FAILURE NS_FILE_RESULT(-1)
//========================================================================================
class NS_BASE nsAutoCString
//
// This should be in nsString.h, but the owner would not reply to my proposal. After four
// weeks, I decided to put it in here.
//
// This is a quiet little class that acts as a sort of autoptr for
// a const char*. If you used to call nsString::ToNewCString(), just
// to pass the result a parameter list, it was a nuisance having to
// call delete [] on the result after the call. Now you can say
// nsString myStr;
// ...
// f(nsAutoCString(myStr));
// where f is declared as void f(const char*); This call will
// make a temporary char* pointer on the stack and delete[] it
// when the function returns.
//========================================================================================
{
public:
NS_EXPLICIT nsAutoCString(const nsString& other) : mCString(other.ToNewCString()) {}
virtual ~nsAutoCString();
operator const char*() const { return mCString; }
operator const char*() { return mCString; }
protected:
const char* mCString;
}; // class nsAutoCString
//========================================================================================
class NS_BASE nsFileSpec
// This is whatever each platform really prefers to describe files as. Declared first
// because the other two types have an embedded nsFileSpec object.
//========================================================================================
{
public:
nsFileSpec();
NS_EXPLICIT nsFileSpec(const char* inString, PRBool inCreateDirs = PR_FALSE);
NS_EXPLICIT nsFileSpec(const nsString& inString, PRBool inCreateDirs = PR_FALSE);
NS_EXPLICIT nsFileSpec(const nsFilePath& inPath);
NS_EXPLICIT nsFileSpec(const nsFileURL& inURL);
NS_EXPLICIT nsFileSpec(const nsPersistentFileDescriptor& inURL);
nsFileSpec(const nsFileSpec& inPath);
virtual ~nsFileSpec();
void operator = (const char* inPath);
void operator = (const nsString& inPath)
{
const nsAutoCString path(inPath);
*this = path;
}
void operator = (const nsFilePath& inPath);
void operator = (const nsFileURL& inURL);
void operator = (const nsFileSpec& inOther);
void operator = (const nsPersistentFileDescriptor& inOther);
PRBool operator ==(const nsFileSpec& inOther) const;
PRBool operator !=(const nsFileSpec& inOther) const;
operator const char* () const { return GetCString(); }
// Same as GetCString (please read the comments).
const char* GetCString() const;
// This is the only conversion to const char*
// that is provided, and it allows the
// path to be "passed" to legacy code. This practice
// is VERY EVIL and should only be used to support legacy
// code. Using it guarantees bugs on Macintosh.
// The path is cached and freed by the nsFileSpec destructor
// so do not delete (or free) it.
#ifdef XP_MAC
// For Macintosh people, this is meant to be useful in its own right as a C++ version
// of the FSSpec struct.
nsFileSpec(
short vRefNum,
long parID,
ConstStr255Param name);
nsFileSpec(const FSSpec& inSpec)
: mSpec(inSpec), mError(NS_OK), mPath(nsnull) {}
void operator = (const FSSpec& inSpec)
{ mSpec = inSpec; mError = NS_OK; }
operator FSSpec* () { return &mSpec; }
operator const FSSpec* const () { return &mSpec; }
operator FSSpec& () { return mSpec; }
operator const FSSpec& () const { return mSpec; }
const FSSpec& GetFSSpec() const { return mSpec; }
FSSpec& GetFSSpec() { return mSpec; }
ConstFSSpecPtr GetFSSpecPtr() const { return &mSpec; }
FSSpecPtr GetFSSpecPtr() { return &mSpec; }
void MakeAliasSafe();
// Called for the spec of an alias. Copies the alias to
// a secret temp directory and modifies the spec to point
// to it. Sets mError.
void ResolveAlias(PRBool& wasAliased);
// Called for the spec of an alias. Modifies the spec to
// point to the original. Sets mError.
void MakeUnique(ConstStr255Param inSuggestedLeafName);
StringPtr GetLeafPName() { return mSpec.name; }
ConstStr255Param GetLeafPName() const { return mSpec.name; }
#endif // end of Macintosh utility methods.
PRBool Valid() const { return NS_SUCCEEDED(Error()); }
nsresult Error() const
{
#ifndef XP_MAC
if (!mPath && NS_SUCCEEDED(mError))
((nsFileSpec*)this)->mError = NS_FILE_FAILURE;
#endif
return mError;
}
PRBool Failed() const { return NS_FAILED(Error()); }
friend NS_BASE nsOutputStream& operator << (
nsOutputStream& s,
const nsFileSpec& spec); // THIS IS FOR DEBUGGING ONLY.
// see PersistentFileDescriptor for the real deal.
//--------------------------------------------------
// Queries and path algebra. These do not modify the disk.
//--------------------------------------------------
char* GetLeafName() const; // Allocated. Use delete [].
void SetLeafName(const char* inLeafName);
// inLeafName can be a relative path, so this allows
// one kind of concatenation of "paths".
void SetLeafName(const nsString& inLeafName)
{
const nsAutoCString leafName(inLeafName);
SetLeafName(leafName);
}
void GetParent(nsFileSpec& outSpec) const;
// Return the filespec of the parent directory. Used
// in conjunction with GetLeafName(), this lets you
// parse a path into a list of node names. Beware,
// however, that the top node is still not a name,
// but a spec. Volumes on Macintosh can have identical
// names. Perhaps could be used for an operator --() ?
typedef PRUint32 TimeStamp; // ie nsFileSpec::TimeStamp. This is 32 bits now,
// but might change, eg, to a 64-bit class. So use the
// typedef, and use a streaming operator to convert
// to a string, so that your code won't break. It's
// none of your business what the number means. Don't
// rely on the implementation.
void GetModDate(TimeStamp& outStamp) const;
// This will return different values on different
// platforms, even for the same file (eg, on a server).
// But if the platform is constant, it will increase after
// every file modification.
PRBool ModDateChanged(const TimeStamp& oldStamp) const
{
TimeStamp newStamp;
GetModDate(newStamp);
return newStamp != oldStamp;
}
PRUint32 GetFileSize() const;
PRUint32 GetDiskSpaceAvailable() const;
nsFileSpec operator + (const char* inRelativePath) const;
nsFileSpec operator + (const nsString& inRelativePath) const
{
const nsAutoCString
relativePath(inRelativePath);
return *this + relativePath;
}
void operator += (const char* inRelativePath);
// Concatenate the relative path to this directory.
// Used for constructing the filespec of a descendant.
// This must be a directory for this to work. This differs
// from SetLeafName(), since the latter will work
// starting with a sibling of the directory and throws
// away its leaf information, whereas this one assumes
// this is a directory, and the relative path starts
// "below" this.
void operator += (const nsString& inRelativePath)
{
const nsAutoCString relativePath(inRelativePath);
*this += relativePath;
}
void MakeUnique();
void MakeUnique(const char* inSuggestedLeafName);
void MakeUnique(const nsString& inSuggestedLeafName)
{
const nsAutoCString suggestedLeafName(inSuggestedLeafName);
MakeUnique(suggestedLeafName);
}
PRBool IsDirectory() const;
// More stringent than Exists()
PRBool IsFile() const;
// More stringent than Exists()
PRBool Exists() const;
//--------------------------------------------------
// Creation and deletion of objects. These can modify the disk.
//--------------------------------------------------
void CreateDirectory(int mode = 0700 /* for unix */);
void Delete(PRBool inRecursive) const;
nsresult Rename(const char* inNewName); // not const: gets updated
nsresult Rename(const nsString& inNewName)
{
const nsAutoCString newName(inNewName);
return Rename(newName);
}
nsresult Copy(const nsFileSpec& inNewParentDirectory) const;
nsresult Move(const nsFileSpec& inNewParentDirectory) const;
nsresult Execute(const char* args) const;
nsresult Execute(const nsString& args) const
{
const nsAutoCString argsString(args);
return Execute(argsString);
}
protected:
#ifdef XP_MAC
OSErr GetCatInfo(CInfoPBRec& outInfo) const;
#endif
//--------------------------------------------------
// Data
//--------------------------------------------------
protected:
friend class nsFilePath;
friend class nsFileURL;
friend class nsDirectoryIterator;
#ifdef XP_MAC
FSSpec mSpec;
#endif
char* mPath;
nsresult mError;
}; // class nsFileSpec
// FOR HISTORICAL REASONS:
typedef nsFileSpec nsNativeFileSpec;
//========================================================================================
class NS_BASE nsFileURL
// This is an escaped string that looks like "file:///foo/bar/mumble%20fish". Since URLs
// are the standard way of doing things in mozilla, this allows a string constructor,
// which just stashes the string with no conversion.
//========================================================================================
{
public:
nsFileURL(const nsFileURL& inURL);
NS_EXPLICIT nsFileURL(const char* inString, PRBool inCreateDirs = PR_FALSE);
NS_EXPLICIT nsFileURL(const nsString& inString, PRBool inCreateDirs = PR_FALSE);
NS_EXPLICIT nsFileURL(const nsFilePath& inPath);
NS_EXPLICIT nsFileURL(const nsFileSpec& inPath);
virtual ~nsFileURL();
// nsString GetString() const { return mPath; }
// may be needed for implementation reasons,
// but should not provide a conversion constructor.
void operator = (const nsFileURL& inURL);
void operator = (const char* inString);
void operator = (const nsString& inString)
{
const nsAutoCString string(inString);
*this = string;
}
void operator = (const nsFilePath& inOther);
void operator = (const nsFileSpec& inOther);
operator const char* () const { return mURL; } // deprecated.
const char* GetAsString() const { return mURL; }
friend NS_BASE nsOutputStream& operator << (
nsOutputStream& s, const nsFileURL& spec);
#ifdef XP_MAC
// Accessor to allow quick assignment to a mFileSpec
const nsFileSpec& GetFileSpec() const { return mFileSpec; }
#endif
private:
// Should not be defined (only nsFilePath is to be treated as strings.
operator char* ();
protected:
friend class nsFilePath; // to allow construction of nsFilePath
char* mURL;
#ifdef XP_MAC
// Since the path on the macintosh does not uniquely specify a file (volumes
// can have the same name), stash the secret nsFileSpec, too.
nsFileSpec mFileSpec;
#endif
}; // class nsFileURL
//========================================================================================
class NS_BASE nsFilePath
// This is a string that looks like "/foo/bar/mumble fish". Same as nsFileURL, but
// without the "file:// prefix", and NOT %20 ENCODED! Strings passed in must be
// valid unix-style paths in this format.
//========================================================================================
{
public:
nsFilePath(const nsFilePath& inPath);
NS_EXPLICIT nsFilePath(const char* inString, PRBool inCreateDirs = PR_FALSE);
NS_EXPLICIT nsFilePath(const nsString& inString, PRBool inCreateDirs = PR_FALSE);
NS_EXPLICIT nsFilePath(const nsFileURL& inURL);
NS_EXPLICIT nsFilePath(const nsFileSpec& inPath);
virtual ~nsFilePath();
operator const char* () const { return mPath; }
// This is the only automatic conversion to const char*
// that is provided, and it allows the
// path to be "passed" to NSPR file routines.
operator char* () { return mPath; }
// This is the only automatic conversion to string
// that is provided, because a naked string should
// only mean a standard file path.
void operator = (const nsFilePath& inPath);
void operator = (const char* inString);
void operator = (const nsString& inString)
{
const nsAutoCString string(inString);
*this = string;
}
void operator = (const nsFileURL& inURL);
void operator = (const nsFileSpec& inOther);
#ifdef XP_MAC
public:
// Accessor to allow quick assignment to a mFileSpec
const nsFileSpec& GetFileSpec() const { return mFileSpec; }
#endif
private:
char* mPath;
#ifdef XP_MAC
// Since the path on the macintosh does not uniquely specify a file (volumes
// can have the same name), stash the secret nsFileSpec, too.
nsFileSpec mFileSpec;
#endif
}; // class nsFilePath
//========================================================================================
class NS_BASE nsPersistentFileDescriptor
// To save information about a file's location in another file, initialize
// one of these from your nsFileSpec, and then write this out to your output stream.
// To retrieve the info, create one of these, read its value from an input stream.
// and then make an nsFileSpec from it.
//========================================================================================
{
public:
nsPersistentFileDescriptor() : mDescriptorString(nsnull) {}
// For use prior to reading in from a stream
nsPersistentFileDescriptor(const nsPersistentFileDescriptor& inPath);
virtual ~nsPersistentFileDescriptor();
void operator = (const nsPersistentFileDescriptor& inPath);
// Conversions
NS_EXPLICIT nsPersistentFileDescriptor(const nsFileSpec& inPath);
void operator = (const nsFileSpec& inPath);
nsresult Read(nsIInputStream* aStream);
nsresult Write(nsIOutputStream* aStream);
// writes the data to a file
friend NS_BASE nsInputStream& operator >> (nsInputStream&, nsPersistentFileDescriptor&);
// reads the data from a file
friend NS_BASE nsOutputStream& operator << (nsOutputStream&, const nsPersistentFileDescriptor&);
// writes the data to a file
friend class nsFileSpec;
private:
// Here are the ways to get data in and out of a file.
void GetData(void*& outData, PRInt32& outSize) const;
// DON'T FREE the returned data!
void SetData(const void* inData, PRInt32 inSize);
protected:
char* mDescriptorString;
}; // class nsPersistentFileDescriptor
//========================================================================================
class NS_BASE nsDirectoryIterator
// Example:
//
// nsFileSpec parentDir(...); // directory over whose children we shall iterate
// for (nsDirectoryIterator i(parentDir); i; i++)
// {
// // do something with (const nsFileSpec&)i
// }
//
// or:
//
// for (nsDirectoryIterator i(parentDir, PR_FALSE); i; i--)
// {
// // do something with (const nsFileSpec&)i
// }
//
// Currently, the only platform on which backwards iteration actually goes backwards
// is Macintosh. On other platforms, both styles will work, but will go forwards.
//========================================================================================
{
public:
nsDirectoryIterator(
const nsFileSpec& parent,
int iterateDirection = +1);
#ifndef XP_MAC
// Macintosh currently doesn't allocate, so needn't clean up.
virtual ~nsDirectoryIterator();
#endif
PRBool Exists() const { return mExists; }
nsDirectoryIterator& operator ++(); // moves to the next item, if any.
nsDirectoryIterator& operator ++(int) { return ++(*this); } // post-increment.
nsDirectoryIterator& operator --(); // moves to the previous item, if any.
nsDirectoryIterator& operator --(int) { return --(*this); } // post-decrement.
operator nsFileSpec&() { return mCurrent; }
private:
nsFileSpec mCurrent;
PRBool mExists;
#if defined(XP_UNIX)
DIR* mDir;
#elif defined(XP_PC)
PRDir* mDir; // XXX why not use PRDir for Unix & Mac, too?
#elif defined(XP_MAC)
OSErr SetToIndex();
short mIndex;
short mMaxIndex;
#endif
}; // class nsDirectoryIterator
#endif // _FILESPEC_H_

View File

@@ -1,743 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0(the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright(C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// First checked in on 98/11/20 by John R. McMullen in the wrong directory.
// Checked in again 98/12/04.
// Polished version 98/12/08.
// Completely rewritten to integrate with nsIInputStream and nsIOutputStream (the
// xpcom stream objects.
//========================================================================================
//
// Classes defined:
//
// nsInputStream, nsOutputStream
// These are the lightweight STATICALLY LINKED wrappers for
// the xpcom objects nsIInputStream and nsIOutputstream.
// Possible uses:
// If you are implementing a function that accepts one of these xpcom
// streams, just make one of these little jobbies on the stack, and
// the handy << or >> notation can be yours.
//
// nsInputFileStream, nsOutputFileStream
// These are the STATICALLY LINKED wrappers for the file-related
// versions of the above.
// nsIOFileStream
// An input and output file stream attached to the same file.
//
// This suite provide the following services:
//
// 1. Encapsulates all platform-specific file details, so that file i/o
// can be done correctly without any platform #ifdefs
//
// 2. Uses NSPR file services (NOT ansi file I/O), in order to get best
// native performance. This performance difference is especially large on
// macintosh.
//
// 3. Allows all the power of the ansi stream syntax.
//
// Basic example:
//
// nsFileSpec myPath("/Development/iotest.txt");
//
// nsOutputFileStream testStream(myPath);
// testStream << "Hello World" << nsEndl;
//
// 4. Requires streams to be constructed using typesafe nsFileSpec specifier
// (not the notorious and bug prone const char*), namely nsFileSpec. See
// nsFileSpec.h for more details.
//
// 5. Fixes a bug that have been there for a long time, and
// is inevitable if you use NSPR alone:
//
// The problem on platforms (Macintosh) in which a path does not fully
// specify a file, because two volumes can have the same name.
//
// Not yet provided:
//
// Endian-awareness for reading and writing crossplatform binary files. At this
// time there seems to be no demand for this.
//
//========================================================================================
#ifndef _FILESTREAM_H_
#define _FILESTREAM_H_
#include "nscore.h"
#ifdef XP_MAC
#include "pprio.h" // To get PR_ImportFile
#else
#include "prio.h"
#endif
#include "nsCOMPtr.h"
#include "nsIFileStream.h"
// Defined elsewhere
class nsFileSpec;
class nsString;
class nsIInputStream;
class nsIOutputStream;
//========================================================================================
// Compiler-specific macros, as needed
//========================================================================================
#if !defined(NS_USING_NAMESPACE) && (defined(__MWERKS__) || defined(XP_PC))
#define NS_USING_NAMESPACE
#endif
#if !defined(NS_USING_STL) && (defined(__MWERKS__) || defined(XP_PC))
#define NS_USING_STL
#endif
#ifdef NS_USING_NAMESPACE
#define NS_NAMESPACE_PROTOTYPE
#define NS_NAMESPACE namespace
#define NS_NAMESPACE_END
#else
#define NS_NAMESPACE_PROTOTYPE static
#define NS_NAMESPACE struct
#define NS_NAMESPACE_END ;
#endif // NS_USING_NAMESPACE
#ifndef XP_MAC
// PR_STDOUT and PR_STDIN are fatal on Macintosh. So for console i/o, we must use the std
// stream stuff instead. However, we have to require that cout and cin are passed in
// to the constructor because in the current build, there is a copy in the base.shlb,
// and another in the caller's file. Passing it in as a parameter ensures that the
// caller and this library are using the same global object. Groan.
//
// Unix currently does not support iostreams at all. Their compilers do not support
// ANSI C++, or even ARM C++.
//
// Windows supports them, but only if you turn on the -GX compile flag, to support
// exceptions.
// Catch 22.
#define NS_USE_PR_STDIO
#endif
#ifdef NS_USE_PR_STDIO
class istream;
class ostream;
#define CONSOLE_IN 0
#define CONSOLE_OUT 0
#else
#include <iostream>
using std::istream;
using std::ostream;
#define CONSOLE_IN &std::cin
#define CONSOLE_OUT &std::cout
#endif
//=========================== End Compiler-specific macros ===============================
//========================================================================================
class NS_BASE nsInputStream
// This is a convenience class, for use on the STACK ("new" junkies: get detoxed first).
// Given a COM-style stream, this allows you to use the >> operators. It also acquires and
// reference counts its stream.
// Please read the comments at the top of this file
//========================================================================================
{
public:
nsInputStream(nsIInputStream* inStream)
: mInputStream(do_QueryInterface(inStream))
, mEOF(PR_FALSE)
{}
virtual ~nsInputStream();
nsCOMPtr<nsIInputStream> GetIStream() const
{
return mInputStream;
}
char eof() const { return get_at_eof(); }
char get();
void close()
{
mInputStream->Close();
}
PRInt32 read(void* s, PRInt32 n);
// Input streamers. Add more as needed (int&, unsigned int& etc). (but you have to
// add delegators to the derived classes, too, because these operators don't inherit).
nsInputStream& operator >> (char& ch);
// Support manipulators
nsInputStream& operator >> (nsInputStream& (*pf)(nsInputStream&))
{
return pf(*this);
}
protected:
// These certainly need to be overridden, they give the best shot we can at detecting
// eof in a simple nsIInputStream.
virtual void set_at_eof(PRBool atEnd)
{
mEOF = atEnd;
}
virtual PRBool get_at_eof() const
{
return mEOF;
}
private:
nsInputStream& operator >> (char* buf); // TOO DANGEROUS. DON'T DEFINE.
// DATA
protected:
nsCOMPtr<nsIInputStream> mInputStream;
PRBool mEOF;
}; // class nsInputStream
typedef nsInputStream nsBasicInStream; // historic support for this name
//========================================================================================
class NS_BASE nsOutputStream
// This is a convenience class, for use on the STACK ("new" junkies, get detoxed first).
// Given a COM-style stream, this allows you to use the << operators. It also acquires and
// reference counts its stream.
// Please read the comments at the top of this file
//========================================================================================
{
public:
nsOutputStream() {}
nsOutputStream(nsIOutputStream* inStream)
: mOutputStream(do_QueryInterface(inStream))
{}
virtual ~nsOutputStream();
nsCOMPtr<nsIOutputStream> GetIStream() const
{
return mOutputStream;
}
void close()
{
mOutputStream->Close();
}
void put(char c);
PRInt32 write(const void* s, PRInt32 n);
virtual void flush();
// Output streamers. Add more as needed (but you have to add delegators to the derived
// classes, too, because these operators don't inherit).
nsOutputStream& operator << (const char* buf);
nsOutputStream& operator << (char ch);
nsOutputStream& operator << (short val);
nsOutputStream& operator << (unsigned short val);
nsOutputStream& operator << (long val);
nsOutputStream& operator << (unsigned long val);
nsOutputStream& operator << (int val);
nsOutputStream& operator << (unsigned int val);
// Support manipulators
nsOutputStream& operator << (nsOutputStream& (*pf)(nsOutputStream&))
{
return pf(*this);
}
// DATA
protected:
nsCOMPtr<nsIOutputStream> mOutputStream;
}; // class nsOutputStream
typedef nsOutputStream nsBasicOutStream; // Historic support for this name
//========================================================================================
class NS_BASE nsErrorProne
// Common (virtual) base class for remembering errors on demand
//========================================================================================
{
public:
nsErrorProne() // for delayed opening
: mResult(NS_OK)
{
}
PRBool failed() const
{
return NS_FAILED(mResult);
}
// DATA
protected:
nsresult mResult;
}; // class nsErrorProne
//========================================================================================
class NS_BASE nsFileClient
// Because COM does not allow us to write functions which return a boolean value etc,
// this class is here to take care of the tedious "declare variable then call with
// the address of the variable" chores.
//========================================================================================
: public virtual nsErrorProne
{
public:
nsFileClient(const nsCOMPtr<nsIFile>& inFile)
: mFile(do_QueryInterface(inFile))
{
}
virtual ~nsFileClient() {}
void open(
const nsFileSpec& inFile,
int nsprMode,
PRIntn accessMode)
{
if (mFile)
mResult = mFile->Open(inFile, nsprMode, accessMode);
}
PRBool is_open() const
{
PRBool result = PR_FALSE;
if (mFile)
mFile->GetIsOpen(&result);
return result;
}
PRBool is_file() const
{
return mFile ? PR_TRUE : PR_FALSE;
}
protected:
nsFileClient() // for delayed opening
{
}
// DATA
protected:
nsCOMPtr<nsIFile> mFile;
}; // class nsFileClient
//========================================================================================
class NS_BASE nsRandomAccessStoreClient
// Because COM does not allow us to write functions which return a boolean value etc,
// this class is here to take care of the tedious "declare variable then call with
// the address of the variable" chores.
//========================================================================================
: public virtual nsErrorProne
{
public:
nsRandomAccessStoreClient() // for delayed opening
{
}
nsRandomAccessStoreClient(const nsCOMPtr<nsIRandomAccessStore>& inStore)
: mStore(do_QueryInterface(inStore))
{
}
virtual ~nsRandomAccessStoreClient() {}
void seek(PRInt32 offset)
{
seek(PR_SEEK_SET, offset);
}
void seek(PRSeekWhence whence, PRInt32 offset)
{
set_at_eof(PR_FALSE);
if (mStore)
mResult = mStore->Seek(whence, offset);
}
PRIntn tell()
{
PRIntn result = -1;
if (mStore)
mResult = mStore->Tell(&result);
return result;
}
protected:
virtual PRBool get_at_eof() const
{
PRBool result = PR_TRUE;
if (mStore)
mStore->GetAtEOF(&result);
return result;
}
virtual void set_at_eof(PRBool atEnd)
{
if (mStore)
mStore->SetAtEOF(atEnd);
}
// DATA
protected:
nsCOMPtr<nsIRandomAccessStore> mStore;
}; // class nsRandomAccessStoreClient
//========================================================================================
class NS_BASE nsRandomAccessInputStream
// Please read the comments at the top of this file
//========================================================================================
: public nsRandomAccessStoreClient
, public nsInputStream
{
public:
nsRandomAccessInputStream(nsIInputStream* inStream)
: nsRandomAccessStoreClient(do_QueryInterface(inStream))
, nsInputStream(inStream)
{
}
PRBool readline(char* s, PRInt32 n);
// Result always null-terminated.
// Check eof() before each call.
// CAUTION: false result only indicates line was truncated
// to fit buffer, or an error occurred (OTHER THAN eof).
// Input streamers. Unfortunately, they don't inherit!
nsInputStream& operator >> (char& ch)
{ return nsInputStream::operator >>(ch); }
nsInputStream& operator >> (nsInputStream& (*pf)(nsInputStream&))
{ return nsInputStream::operator >>(pf); }
protected:
nsRandomAccessInputStream()
: nsInputStream(nsnull)
{
}
virtual PRBool get_at_eof() const
{
return nsRandomAccessStoreClient::get_at_eof();
}
virtual void set_at_eof(PRBool atEnd)
{
nsRandomAccessStoreClient::set_at_eof(atEnd);
}
}; // class nsRandomAccessInputStream
//========================================================================================
class NS_BASE nsInputStringStream
//========================================================================================
: public nsRandomAccessInputStream
{
public:
nsInputStringStream(const char* stringToRead);
nsInputStringStream(const nsString& stringToRead);
// Input streamers. Unfortunately, they don't inherit!
nsInputStream& operator >> (char& ch)
{ return nsInputStream::operator >>(ch); }
nsInputStream& operator >> (nsInputStream& (*pf)(nsInputStream&))
{ return nsInputStream::operator >>(pf); }
}; // class nsInputStringStream
//========================================================================================
class NS_BASE nsInputFileStream
// Please read the comments at the top of this file
//========================================================================================
: public nsRandomAccessInputStream
, public nsFileClient
{
public:
enum { kDefaultMode = PR_RDONLY };
nsInputFileStream(nsIInputStream* inStream)
: nsRandomAccessInputStream(inStream)
, nsFileClient(do_QueryInterface(inStream))
, mFileInputStream(do_QueryInterface(inStream))
{
}
nsInputFileStream(
const nsFileSpec& inFile,
int nsprMode = kDefaultMode,
PRIntn accessMode = 00700); // <- OCTAL
void Open(
const nsFileSpec& inFile,
int nsprMode = kDefaultMode,
PRIntn accessMode = 00700) // <- OCTAL
{
if (mFile)
mFile->Open(inFile, nsprMode, accessMode);
}
// Input streamers. Unfortunately, they don't inherit!
nsInputStream& operator >> (char& ch)
{ return nsInputStream::operator >>(ch); }
nsInputStream& operator >> (nsInputStream& (*pf)(nsInputStream&))
{ return nsInputStream::operator >>(pf); }
// DATA
protected:
nsCOMPtr<nsIFileInputStream> mFileInputStream;
}; // class nsInputFileStream
//========================================================================================
class NS_BASE nsRandomAccessOutputStream
// Please read the comments at the top of this file
//========================================================================================
: public nsRandomAccessStoreClient
, public nsOutputStream
{
public:
nsRandomAccessOutputStream(nsIOutputStream* inStream)
: nsRandomAccessStoreClient(do_QueryInterface(inStream))
, nsOutputStream(inStream)
{
}
// Output streamers. Unfortunately, they don't inherit!
nsOutputStream& operator << (const char* buf)
{ return nsOutputStream::operator << (buf); }
nsOutputStream& operator << (char ch)
{ return nsOutputStream::operator << (ch); }
nsOutputStream& operator << (short val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned short val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (long val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned long val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (int val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned int val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (nsOutputStream& (*pf)(nsOutputStream&))
{ return nsOutputStream::operator << (pf); }
protected:
nsRandomAccessOutputStream()
: nsOutputStream(nsnull)
{
}
}; // class nsRandomAccessOutputStream
//========================================================================================
class NS_BASE nsOutputStringStream
//========================================================================================
: public nsRandomAccessOutputStream
{
public:
nsOutputStringStream(char*& stringToChange);
nsOutputStringStream(nsString& stringToChange);
// Output streamers. Unfortunately, they don't inherit!
nsOutputStream& operator << (const char* buf)
{ return nsOutputStream::operator << (buf); }
nsOutputStream& operator << (char ch)
{ return nsOutputStream::operator << (ch); }
nsOutputStream& operator << (short val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned short val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (long val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned long val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (int val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned int val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (nsOutputStream& (*pf)(nsOutputStream&))
{ return nsOutputStream::operator << (pf); }
}; // class nsOutputStringStream
//========================================================================================
class NS_BASE nsOutputFileStream
// Please read the comments at the top of this file
//========================================================================================
: public nsRandomAccessOutputStream
, public nsFileClient
{
public:
enum { kDefaultMode = (PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE) };
nsOutputFileStream() {}
nsOutputFileStream(
const nsFileSpec& inFile,
int nsprMode = kDefaultMode,
PRIntn accessMode = 00700) // <- OCTAL
{
nsISupports* stream;
if (NS_FAILED(NS_NewIOFileStream(
&stream,
inFile, nsprMode, accessMode)))
return;
mFile = nsQueryInterface(stream);
mOutputStream = nsQueryInterface(stream);
mStore = nsQueryInterface(stream);
mFileOutputStream = nsQueryInterface(stream);
NS_RELEASE(stream);
}
virtual void flush();
// Output streamers. Unfortunately, they don't inherit!
nsOutputStream& operator << (const char* buf)
{ return nsOutputStream::operator << (buf); }
nsOutputStream& operator << (char ch)
{ return nsOutputStream::operator << (ch); }
nsOutputStream& operator << (short val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned short val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (long val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned long val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (int val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned int val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (nsOutputStream& (*pf)(nsOutputStream&))
{ return nsOutputStream::operator << (pf); }
// DATA
protected:
nsCOMPtr<nsIFileOutputStream> mFileOutputStream;
}; // class nsOutputFileStream
//========================================================================================
class NS_BASE nsOutputConsoleStream
// Please read the comments at the top of this file
//========================================================================================
: public nsOutputFileStream
{
public:
nsOutputConsoleStream()
{
nsISupports* stream;
if (NS_FAILED(NS_NewOutputConsoleStream(&stream)))
return;
mFile = nsQueryInterface(stream);
mOutputStream = nsQueryInterface(stream);
mFileOutputStream = nsQueryInterface(stream);
NS_RELEASE(stream);
}
// Output streamers. Unfortunately, they don't inherit!
nsOutputStream& operator << (const char* buf)
{ return nsOutputStream::operator << (buf); }
nsOutputStream& operator << (char ch)
{ return nsOutputStream::operator << (ch); }
nsOutputStream& operator << (short val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned short val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (long val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned long val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (int val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned int val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (nsOutputStream& (*pf)(nsOutputStream&))
{ return nsOutputStream::operator << (pf); }
}; // class nsOutputConsoleStream
//========================================================================================
class NS_BASE nsIOFileStream
// Please read the comments at the top of this file
//========================================================================================
: public nsInputFileStream
, public nsOutputStream
{
public:
enum { kDefaultMode = (PR_RDWR | PR_CREATE_FILE) };
nsIOFileStream(
nsIInputStream* inInputStream
, nsIOutputStream* inOutputStream)
: nsInputFileStream(inInputStream)
, nsOutputStream(inOutputStream)
, mFileOutputStream(do_QueryInterface(inOutputStream))
{
}
nsIOFileStream(
const nsFileSpec& inFile,
int nsprMode = kDefaultMode,
PRIntn accessMode = 00700) // <- OCTAL
: nsInputFileStream(nsnull)
, nsOutputStream(nsnull)
{
nsISupports* stream;
if (NS_FAILED(NS_NewIOFileStream(
&stream,
inFile, nsprMode, accessMode)))
return;
mFile = nsQueryInterface(stream);
mStore = nsQueryInterface(stream);
mInputStream = nsQueryInterface(stream);
mOutputStream = nsQueryInterface(stream);
mFileInputStream = nsQueryInterface(stream);
mFileOutputStream = nsQueryInterface(stream);
NS_RELEASE(stream);
}
virtual void close()
{
// Doesn't matter which of the two we close:
// they're hooked up to the same file.
nsInputFileStream::close();
}
// Output streamers. Unfortunately, they don't inherit!
nsOutputStream& operator << (const char* buf)
{ return nsOutputStream::operator << (buf); }
nsOutputStream& operator << (char ch)
{ return nsOutputStream::operator << (ch); }
nsOutputStream& operator << (short val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned short val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (long val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned long val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (int val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (unsigned int val)
{ return nsOutputStream::operator << (val); }
nsOutputStream& operator << (nsOutputStream& (*pf)(nsOutputStream&))
{ return nsOutputStream::operator << (pf); }
// Input streamers. Unfortunately, they don't inherit!
nsInputStream& operator >> (char& ch)
{ return nsInputStream::operator >>(ch); }
nsInputStream& operator >> (nsInputStream& (*pf)(nsInputStream&))
{ return nsInputStream::operator >>(pf); }
// DATA
protected:
nsCOMPtr<nsIFileOutputStream> mFileOutputStream;
}; // class nsIOFileStream
//========================================================================================
// Manipulators
//========================================================================================
NS_BASE nsOutputStream& nsEndl(nsOutputStream& os); // outputs and FLUSHES.
#endif /* _FILESTREAM_H_ */

View File

@@ -1,147 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIFileStream_h___
#define nsIFileStream_h___
#include "nsIInputStream.h"
#include "nsIOutputStream.h"
#include "prio.h"
class nsFileSpec;
/* a6cf90e8-15b3-11d2-932e-00805f8add32 */
#define NS_IFILE_IID \
{ 0xa6cf90e8, 0x15b3, 0x11d2, \
{0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32} }
//========================================================================================
class nsIFile
// Represents a file, and supports Open.
//========================================================================================
: public nsISupports
{
public:
static const nsIID& GetIID() { static nsIID iid = NS_IFILE_IID; return iid; }
NS_IMETHOD Open(
const nsFileSpec& inFile,
int nsprMode,
PRIntn accessMode) = 0;
// Note: Open() is only needed after
// an explicit Close(). All file streams
// are automatically opened on construction.
NS_IMETHOD GetIsOpen(PRBool* outOpen) = 0;
}; // class nsIFile
/* a6cf90e8-15b3-11d2-932e-00805f8add32 */
#define NS_IRANDOMACCESS_IID \
{ 0xa6cf90eb, 0x15b3, 0x11d2, \
{0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32} }
//========================================================================================
class nsIRandomAccessStore
// Supports Seek, Tell etc.
//========================================================================================
: public nsISupports
{
public:
static const nsIID& GetIID() { static nsIID iid = NS_IRANDOMACCESS_IID; return iid; }
NS_IMETHOD Seek(PRSeekWhence whence, PRInt32 offset) = 0;
NS_IMETHOD Tell(PRIntn* outWhere) = 0;
/* "PROTECTED" */
NS_IMETHOD GetAtEOF(PRBool* outAtEOF) = 0;
NS_IMETHOD SetAtEOF(PRBool inAtEOF) = 0;
}; // class nsIRandomAccessStore
/* a6cf90e6-15b3-11d2-932e-00805f8add32 */
#define NS_IFILEINPUTSTREAM_IID \
{ 0xa6cf90e6, 0x15b3, 0x11d2, \
{0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32} }
//========================================================================================
class nsIFileInputStream
// These are additional file-specific methods that files have, above what
// nsIInputStream supports. The current implementation supports both
// interfaces.
//========================================================================================
: public nsIInputStream
{
public:
static const nsIID& GetIID() { static nsIID iid = NS_IFILEINPUTSTREAM_IID; return iid; }
}; // class nsIFileInputStream
/* a6cf90e7-15b3-11d2-932e-00805f8add32 */
#define NS_IFILEOUTPUTSTREAM_IID \
{ 0xa6cf90e7, 0x15b3, 0x11d2, \
{0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32} }
//========================================================================================
class nsIFileOutputStream
// These are additional file-specific methods that files have, above what
// nsIOutputStream supports. The current implementation supports both
// interfaces.
//========================================================================================
: public nsIOutputStream
{
public:
static const nsIID& GetIID() { static nsIID iid = NS_IFILEOUTPUTSTREAM_IID; return iid; }
NS_IMETHOD Flush() = 0;
// Forces a write to disk.
}; // class nsIFileOutputStream
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewTypicalInputFileStream(
nsISupports** aStreamResult,
const nsFileSpec& inFile
/*Default nsprMode == PR_RDONLY*/
/*Default accessmode = 0700 (octal)*/);
// Factory method to get an nsInputStream from a file, using most common options
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewOutputConsoleStream(
nsISupports** aStreamResult);
// Factory method to get an nsOutputStream to the console.
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewTypicalOutputFileStream(
nsISupports** aStreamResult, // will implement all the above interfaces
const nsFileSpec& inFile
/*default nsprMode= (PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE)*/
/*Default accessMode= 0700 (octal)*/);
// Factory method to get an nsOutputStream to a file - most common case.
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewTypicalIOFileStream(
nsISupports** aStreamResult, // will implement all the above interfaces
const nsFileSpec& inFile
/*default nsprMode = (PR_RDWR | PR_CREATE_FILE)*/
/*Default accessMode = 0700 (octal)*/);
// Factory method to get an object that implements both nsIInputStream
// and nsIOutputStream, associated with a single file.
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewIOFileStream(
nsISupports** aStreamResult, // will implement all the above interfaces
const nsFileSpec& inFile,
PRInt32 nsprMode,
PRInt32 accessMode);
// Factory method to get an object that implements both nsIInputStream
// and nsIOutputStream, associated with a single file.
#endif /* nsIFileStream_h___ */

View File

@@ -1,48 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIProperties_h___
#define nsIProperties_h___
#include "nsID.h"
#include "nsIInputStream.h"
#include "nsIOutputStream.h"
#include "nsISupports.h"
#include "nsString.h"
// {1A180F60-93B2-11d2-9B8B-00805F8A16D9}
#define NS_IPROPERTIES_IID \
{ 0x1a180f60, 0x93b2, 0x11d2, \
{ 0x9b, 0x8b, 0x0, 0x80, 0x5f, 0x8a, 0x16, 0xd9 } }
// {2245E573-9464-11d2-9B8B-00805F8A16D9}
NS_DECLARE_ID(kPropertiesCID,
0x2245e573, 0x9464, 0x11d2, 0x9b, 0x8b, 0x0, 0x80, 0x5f, 0x8a, 0x16, 0xd9);
class nsIProperties : public nsISupports
{
public:
NS_IMETHOD Load(nsIInputStream* aIn) = 0;
NS_IMETHOD GetProperty(const nsString& aKey, nsString& aValue) = 0;
NS_IMETHOD SetProperty(const nsString& aKey, nsString& aNewValue,
nsString& aOldValue) = 0;
NS_IMETHOD Save(nsIOutputStream* aOut, const nsString& aHeader) = 0;
NS_IMETHOD Subclass(nsIProperties* aSubclass) = 0;
};
#endif /* nsIProperties_h___ */

View File

@@ -1,66 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsISizeOfHandler_h___
#define nsISizeOfHandler_h___
#include "nscore.h"
#include "nsISupports.h"
/* c028d1f0-fc9e-11d1-89e4-006008911b81 */
#define NS_ISIZEOF_HANDLER_IID \
{ 0xc028d1f0, 0xfc9e, 0x11d1, {0x89, 0xe4, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81}}
/**
* An API to managing a sizeof computation of an arbitrary graph.
* The handler is responsible for remembering which objects have been
* seen before. Note that the handler doesn't hold references to
* nsISupport's objects; the assumption is that the objects being
* sized are stationary and will not be modified during the sizing
* computation and therefore do not need an extra reference count.
*/
class nsISizeOfHandler : public nsISupports {
public:
/**
* Add in a simple size value to the running total.
* Always returns NS_OK.
*/
NS_IMETHOD Add(size_t aSize) = 0;
/**
* Update aResult with PR_TRUE if the object has been traversed
* by the sizeof computation before. Otherwise aResult is set to
* PR_FALSE and the object is added to the internal database
* of objects that have been traversed. It's ok to pass a null
* pointer in; aResult will be set to PR_TRUE so you won't accidently
* try to traverse through null pointer.
*
* Note: This violates the COM API standard on purpose; so there!
*/
virtual PRBool HaveSeen(void* anObject) = 0;
/**
* Return the currently computed size.
* Always returns NS_OK.
*/
NS_IMETHOD GetSize(PRUint32& aResult) = 0;
};
extern NS_BASE nsresult
NS_NewSizeOfHandler(nsISizeOfHandler** aInstancePtrResult);
#endif /* nsISizeofHandler_h___ */

View File

@@ -1,67 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIStringStream_h___
#define nsIStringStream_h___
#include "nsIInputStream.h"
#include "nsIOutputStream.h"
#include "nsString.h"
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewStringInputStream(
nsISupports** aStreamResult,
const nsString& aStringToRead);
// Factory method to get an nsInputStream from a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewStringOutputStream(
nsISupports** aStreamResult,
nsString& aStringToChange);
// Factory method to get an nsOutputStream from a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewCharInputStream(
nsISupports** aStreamResult,
const char* aStringToRead);
// Factory method to get an nsInputStream from a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewCharOutputStream(
nsISupports** aStreamResult,
char** aStringToChange);
// Factory method to get an nsOutputStream to a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewStringIOStream(
nsISupports** aStreamResult,
nsString& aStringToChange);
// Factory method to get an nsOutputStream to a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewCharIOStream(
nsISupports** aStreamResult,
char** aStringToChange);
// Factory method to get an nsOutputStream to a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
#endif /* nsIStringStream_h___ */

View File

@@ -1,60 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsRepeater_h___
#define nsRepeater_h___
#include "nscore.h"
class EventRecord;
class NS_BASE Repeater {
public:
Repeater();
virtual ~Repeater();
virtual void RepeatAction(const EventRecord &aMacEvent) = 0;
void StartRepeating();
void StopRepeating();
void StartIdling();
void StopIdling();
static void DoRepeaters(const EventRecord &aMacEvent);
static void DoIdlers(const EventRecord &aMacEvent);
protected:
void AddToRepeatList();
void RemoveFromRepeatList();
void AddToIdleList();
void RemoveFromIdleList();
static Repeater* sRepeaters;
static Repeater* sIdlers;
bool mRepeating;
bool mIdling;
Repeater* mPrevRptr;
Repeater* mNextRptr;
Repeater* mPrevIdlr;
Repeater* mNextIdlr;
};
#endif

View File

@@ -1,84 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape 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/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*
* Contributors:
* Doug Turner <dougt@netscape.com>
*/
#ifndef _NSSPECIALSYSTEMDIRECTORY_H_
#define _NSSPECIALSYSTEMDIRECTORY_H_
#include "nscore.h"
#include "nsFileSpec.h"
#ifdef XP_MAC
#include "Types.h"
#endif
// SEE ALSO:
// mozilla/xpfe/appshell/public/nsFileLocations.h
class NS_BASE nsSpecialSystemDirectory : public nsFileSpec
{
public:
enum SystemDirectories
{
OS_DriveDirectory = 1
, OS_TemporaryDirectory = 2
, OS_CurrentProcessDirectory= 3
, Mac_SystemDirectory = 101
, Mac_DesktopDirectory = 102
, Mac_TrashDirectory = 103
, Mac_StartupDirectory = 104
, Mac_ShutdownDirectory = 105
, Mac_AppleMenuDirectory = 106
, Mac_ControlPanelDirectory = 107
, Mac_ExtensionDirectory = 108
, Mac_FontsDirectory = 109
, Mac_PreferencesDirectory = 110
, Mac_DocumentsDirectory = 111
, Win_SystemDirectory = 201
, Win_WindowsDirectory = 202
, Unix_LocalDirectory = 301
, Unix_LibDirectory = 302
};
//nsSpecialSystemDirectory();
nsSpecialSystemDirectory(SystemDirectories aSystemSystemDirectory);
virtual ~nsSpecialSystemDirectory();
void operator = (SystemDirectories aSystemSystemDirectory);
#ifdef XP_MAC
void operator = (OSType folderType);
nsSpecialSystemDirectory(OSType folderType);
#endif
private:
void operator = (const char* inPath) { *(nsFileSpec*)this = inPath; }
}; // class NS_BASE nsSpecialSystemDirectory
#endif

View File

@@ -1,939 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0(the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright(C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#error "Do not use this file. The unix compilers do not support standard C++. Use nsFileStream"
// First checked in on 98/11/20 by John R. McMullen in the wrong directory.
// Checked in again 98/12/04.
// Polished version 98/12/08.
//========================================================================================
//
// Classes defined:
//
// single-byte char:
//
// nsInputFileStream, nsOutputFileStream, nsIOFileStream
//
// wide char:
//
// nsWideInputFileStream, nsWideOutputFileStream, nsWideIOFileStream
//
// This suite provide the following services:
//
// 1. Encapsulates all platform-specific file details, so that file i/o
// can be done correctly without any platform #ifdefs
//
// 2. Uses NSPR file services (NOT ansi file I/O), in order to get best
// native performance. This performance difference is especially large on
// macintosh.
//
// 3. Allows all the power of the ansi stream syntax: these streams
// ARE derived classes of ostream, istream, and iostream. ALL METHODS OF
// istream, ostream, AND iostream ARE AVAILABLE!
//
// Basic example:
//
// nsFilePath myPath("/Development/iotest.txt");
//
// nsOutputFileStream testStream(myPath);
// testStream << "Hello World" << endl;
//
// 4. Requires streams to be constructed using typesafe nsFilePath specifier
// (not the notorious and bug prone const char*), namely nsFilePath. See
// nsFileSpec.h for more details.
//
// 5. Fixes a bug that have been there for a long time, and
// is inevitable if you use NSPR alone:
//
// The problem on platforms (Macintosh) in which a path does not fully
// specify a file, because two volumes can have the same name.
//
// Not yet provided:
//
// Endian-awareness for reading and writing crossplatform binary files. At this
// time there seems to be no demand for this.
//
//========================================================================================
#ifndef _FILESTREAM_H_
#define _FILESTREAM_H_
#include "nscore.h"
#ifdef XP_MAC
#include "pprio.h" // To get PR_ImportFile
#else
#include "prio.h"
#endif
#include "nsFileSpec.h"
//========================================================================================
// Compiler-specific macros, as needed
//========================================================================================
#if !defined(NS_USING_NAMESPACE) && (defined(__MWERKS__) || defined(XP_PC))
#define NS_USING_NAMESPACE
#endif
#if !defined(NS_USING_STL) && (defined(__MWERKS__) || defined(XP_PC))
#define NS_USING_STL
#endif
#ifdef NS_USING_NAMESPACE
#define NS_NAMESPACE_PROTOTYPE
#define NS_NAMESPACE namespace
#define NS_NAMESPACE_END
#else
#define NS_NAMESPACE_PROTOTYPE static
#define NS_NAMESPACE struct
#define NS_NAMESPACE_END ;
#endif // NS_USING_NAMESPACE
#ifdef NS_USING_STL
// Macintosh and Windows use this section.
//
// Here's where the party is. When Unix wants to join in (by supporting
// a build system with STL headers), what fun we'll have! Meanwhile, I've used
// macros to make this build on all our platforms. Unix doesn't have support for
// STL, and therefore we could not use the template forms of these classes on Unix.
// (it's a long story). Therefore, Unix supports no stream char types except 1-byte
// characters, and therefore nobody else does now either, until Unix catches up.
#define DEFINING_FILE_STREAM // templateers define this when this file is included.
#define IOS_BASE ios_base
#include <istream>
using std::ios_base;
using std::basic_streambuf;
using std::codecvt_base;
using std::codecvt;
using std::streamsize;
using std::locale;
using std::basic_istream;
using std::basic_ostream;
using std::basic_iostream;
using std::char_traits;
#define TEMPLATE_DEF template<class charT, class traits>
#define FILE_BUFFER_TYPE nsFileBufferT<charT, traits>
#define INPUT_FILE_STREAM nsInputFileStreamT<charT, traits>
#define OUTPUT_FILE_STREAM nsOutputFileStreamT<charT, traits>
#define IO_FILE_STREAM nsIOFileStreamT<charT, traits>
#define BASIC_STREAMBUF basic_streambuf<charT, traits>
#define BASIC_ISTREAM basic_istream<charT, traits>
#define BASIC_OSTREAM basic_ostream<charT, traits>
#define BASIC_IOSTREAM basic_iostream<charT, traits>
#define INT_TYPE FILE_BUFFER_TYPE::int_type
#define POS_TYPE FILE_BUFFER_TYPE::pos_type
#define OFF_TYPE FILE_BUFFER_TYPE::off_type
#define SEEK_DIR IOS_BASE::seekdir
#define EOF_VALUE traits::eof()
#else
// Unix uses this section until it supports STL. This means no locales, no traits,
// no wide chars, etc. Also, the stream classes are the original ARM-style ones,
// and are not templatized.
#define IOS_BASE ios
#include <istream.h>
#define TEMPLATE_DEF
#define FILE_BUFFER_TYPE nsFileBufferT
#define INPUT_FILE_STREAM nsInputFileStreamT
#define OUTPUT_FILE_STREAM nsOutputFileStreamT
#define IO_FILE_STREAM nsIOFileStreamT
#define BASIC_STREAMBUF streambuf
#define BASIC_ISTREAM istream
#define BASIC_OSTREAM ostream
#define BASIC_IOSTREAM iostream
#define INT_TYPE int
#define POS_TYPE long
#define OFF_TYPE long
#define SEEK_DIR ios::seek_dir
#define int_type int
#define pos_type long
#define off_type long
#define char_type char
#define EOF_VALUE EOF
#endif // NS_USING_STL
#ifdef __MWERKS__
#ifdef MSIPL_WCHART
#define NS_USING_WIDE_CHAR
#endif
#ifdef MSIPL_EXPLICIT_FUNC_TEMPLATE_ARG
#define NS_EXPLICIT_FUNC_TEMPLATE_ARG
#endif
#define NS_READ_LOCK(mut) READ_LOCK(mut)
#define NS_WRITE_LOCK(mut) WRITE_LOCK(mut)
#else
// Fix me, if necessary, for thread-safety.
#define NS_READ_LOCK(mut)
#define NS_WRITE_LOCK(mut)
#endif // __MWERKS__
//=========================== End Compiler-specific macros ===============================
//========================================================================================
NS_NAMESPACE nsFileStreamHelpers
// Prototypes for common (non-template) implementations in the .cpp file which do not
// need the template args (charT, traits).
//========================================================================================
{
NS_NAMESPACE_PROTOTYPE NS_BASE PRFileDesc* open(
const nsFilePath& inFile,
IOS_BASE::openmode mode,
PRIntn accessMode);
} NS_NAMESPACE_END // nsFileStreamHelpers
//========================================================================================
// Template declarations
//========================================================================================
//========================================================================================
TEMPLATE_DEF
class nsFileBufferT
//========================================================================================
: public BASIC_STREAMBUF
{
#ifdef NS_USING_STL
typedef codecvt_base::result result;
public:
typedef charT char_type;
typedef typename traits::pos_type pos_type;
typedef typename traits::off_type off_type;
typedef typename traits::int_type int_type;
typedef traits traits_type;
typedef typename traits::state_type state_type;
typedef codecvt<charT, char, state_type> ofacet_type;
typedef codecvt<char, charT, state_type> ifacet_type;
#endif
public:
nsFileBufferT();
nsFileBufferT(PRFileDesc* pfile_arg);
virtual ~nsFileBufferT();
bool is_open() const;
FILE_BUFFER_TYPE* open(
const nsFilePath& inFile,
IOS_BASE::openmode mode,
PRIntn accessMode);
FILE_BUFFER_TYPE* close();
protected:
virtual int_type overflow(int_type c=EOF_VALUE);
virtual int_type pbackfail(int_type c=EOF_VALUE);
virtual int_type underflow();
virtual pos_type seekoff(
off_type off, SEEK_DIR way,
IOS_BASE::openmode which=IOS_BASE::in|IOS_BASE::out);
virtual pos_type seekpos(pos_type sp,
IOS_BASE::openmode which=IOS_BASE::in|IOS_BASE::out);
virtual BASIC_STREAMBUF* setbuf(char_type* s, streamsize n);
virtual int sync();
virtual int_type uflow();
#ifdef NS_USING_STL
virtual void imbue(const locale& loc);
#endif
virtual streamsize showmanyc();
virtual streamsize xsgetn(char_type* s, streamsize n);
virtual streamsize xsputn(const char_type* s, streamsize n);
private:
PRFileDesc* mFileDesc;
IOS_BASE::openmode mode_;
}; // class nsFileBufferT
//========================================================================================
TEMPLATE_DEF
class nsInputFileStreamT
//========================================================================================
: public BASIC_ISTREAM
{
#ifdef NS_USING_STL
public:
typedef charT char_type;
typedef typename traits::pos_type pos_type;
typedef typename traits::off_type off_type;
typedef typename traits::int_type int_type;
typedef traits traits_type;
#endif
public:
nsInputFileStreamT();
explicit nsInputFileStreamT(
const nsFilePath& inFile,
IOS_BASE::openmode mode=IOS_BASE::in,
PRIntn accessMode = 0x00400);
virtual ~nsInputFileStreamT();
FILE_BUFFER_TYPE* rdbuf() const;
inline bool is_open();
inline void open(
const nsFilePath& inFile,
IOS_BASE::openmode mode=IOS_BASE::in,
PRIntn accessMode = 0x00400);
inline void close();
private:
FILE_BUFFER_TYPE mBuffer;
}; // class nsInputFileStreamT
//========================================================================================
TEMPLATE_DEF
class nsOutputFileStreamT
//========================================================================================
: public BASIC_OSTREAM
{
#ifdef NS_USING_STL
public:
typedef charT char_type;
typedef typename traits::pos_type pos_type;
typedef typename traits::off_type off_type;
typedef typename traits::int_type int_type;
typedef traits traits_type;
#endif
public:
nsOutputFileStreamT();
explicit nsOutputFileStreamT(
const nsFilePath& inFile,
IOS_BASE::openmode mode = IOS_BASE::out|IOS_BASE::trunc,
PRIntn accessMode = 0x00200);
virtual ~nsOutputFileStreamT();
FILE_BUFFER_TYPE* rdbuf() const;
inline bool is_open();
inline void open(
const nsFilePath& inFile,
IOS_BASE::openmode mode = IOS_BASE::out|IOS_BASE::trunc,
PRIntn accessMode = 0x00200);
inline void close();
private:
FILE_BUFFER_TYPE mBuffer;
}; // class nsOutputFileStreamT
//========================================================================================
// Implementation of nsFileBufferT
//========================================================================================
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline FILE_BUFFER_TYPE::nsFileBufferT()
: BASIC_STREAMBUF(), mFileDesc(NULL)
//----------------------------------------------------------------------------------------
{
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline FILE_BUFFER_TYPE::nsFileBufferT(PRFileDesc* pfarg)
: BASIC_STREAMBUF(), mFileDesc(pfarg)
//----------------------------------------------------------------------------------------
{
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline FILE_BUFFER_TYPE* FILE_BUFFER_TYPE::close()
// Must precede the destructor because both are inline.
//----------------------------------------------------------------------------------------
{
if (mFileDesc==PR_STDIN || mFileDesc==PR_STDOUT || mFileDesc==PR_STDERR)
return this;
NS_WRITE_LOCK(_mutex);
return (mFileDesc && PR_Close(mFileDesc) == PR_SUCCESS) ? mFileDesc = 0, this : 0;
}
#if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
FILE_BUFFER_TYPE::~nsFileBufferT()
//----------------------------------------------------------------------------------------
{
close();
}
#endif // #if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline bool
FILE_BUFFER_TYPE::is_open() const
//----------------------------------------------------------------------------------------
{
NS_READ_LOCK(_mutex);
return bool(mFileDesc); // in case it is typedefed to int
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline FILE_BUFFER_TYPE* FILE_BUFFER_TYPE::open(
const nsFilePath& inFile,
IOS_BASE::openmode mode,
PRIntn accessMode)
//----------------------------------------------------------------------------------------
{
if (mFileDesc)
return 0;
NS_WRITE_LOCK(_mutex);
mFileDesc = nsFileStreamHelpers::open(inFile, mode, accessMode);
if (!mFileDesc)
return 0;
mode_ = mode;
return this;
} // FILE_BUFFER_TYPE::open
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline int FILE_BUFFER_TYPE:: sync()
//----------------------------------------------------------------------------------------
{
return (mFileDesc ? (int)PR_Sync(mFileDesc) : 0);
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline BASIC_STREAMBUF* FILE_BUFFER_TYPE::setbuf(char_type*, streamsize)
//----------------------------------------------------------------------------------------
{
return (!mFileDesc) ? 0 : this;
}
#if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
INT_TYPE FILE_BUFFER_TYPE::overflow(int_type c)
//----------------------------------------------------------------------------------------
{
#ifndef NS_USING_STL
char ch = c;
PRInt32 bytesWrit1 = PR_Write(mFileDesc, &ch, sizeof(ch));
return bytesWrit1 < sizeof(ch) ? EOF_VALUE : c;
#else
#ifdef NS_EXPLICIT_FUNC_TEMPLATE_ARG
const ofacet_type& ft=use_facet<ofacet_type>(getloc());
#elif defined(XP_PC)
const ofacet_type& ft=use_facet(getloc(), (ofacet_type*)0, false);
#else
const ofacet_type& ft=use_facet(getloc(), (ofacet_type*)0);
#endif
char_type ch = traits_type::to_char_type(c);
if (!mFileDesc)
return EOF_VALUE;
if (traits_type::eq_int_type(c, EOF_VALUE))
return traits_type::not_eof(c);
if (ft.always_noconv())
{
PRInt32 bytesWrit1 = PR_Write(mFileDesc, &ch, sizeof(ch));
return bytesWrit1 < sizeof(ch) ? EOF_VALUE : c;
}
{ // <- sic!
state_type fst;
const char_type* end;
char buf[4];
char* ebuf;
result conv;
if ((conv=ft.out(fst, &ch, &ch+1, end, buf, buf+3, ebuf))==
codecvt_base::noconv)
{
PRInt32 bytesWrit2 = PR_Write(mFileDesc, &ch, sizeof(ch));
return bytesWrit2 < sizeof(ch) ? EOF_VALUE : c;
}
if ((conv==codecvt_base::partial)||(conv==codecvt_base::error))
return EOF_VALUE;
*ebuf=0;
PRInt32 bytesWrit3 = strlen(buf);
return PR_Write(mFileDesc, buf, bytesWrit3) < bytesWrit3 ? EOF_VALUE : c;
}
#endif
}
#endif // #if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline INT_TYPE FILE_BUFFER_TYPE::underflow()
//----------------------------------------------------------------------------------------
{
if (!mFileDesc)
return EOF_VALUE;
char_type s;
PRInt32 request = 1;
if (1 != PR_Read(mFileDesc, &s, request))
return EOF_VALUE;
PR_Seek(mFileDesc, -1, PR_SEEK_CUR);
return (int_type)s;
}
#if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
streamsize FILE_BUFFER_TYPE::xsputn(const char_type* s, streamsize n)
//----------------------------------------------------------------------------------------
{
#ifndef NS_USING_STL
PRInt32 bytesWrit1 = PR_Write(mFileDesc, s, sizeof(char) * size_t(n));
return bytesWrit1 < 0 ? 0 : (streamsize)bytesWrit1;
#else
#ifdef NS_EXPLICIT_FUNC_TEMPLATE_ARG
const ofacet_type& ft=use_facet<ofacet_type>(loc);
#elif defined(XP_PC)
const ofacet_type& ft=use_facet(getloc(), (ofacet_type*)0, false);
#else
const ofacet_type& ft=use_facet(getloc(), (ofacet_type*)0);
#endif
if (!mFileDesc || !n)
return 0;
if (ft.always_noconv())
{
PRInt32 bytesWrit1 = PR_Write(mFileDesc, s, sizeof(char) * size_t(n));
return bytesWrit1 < 0 ? 0 : (streamsize)bytesWrit1;
}
{ // <- sic!
state_type fst;
const char_type* end;
char buf[8];
char* ebuf;
result conv;
#ifdef NS_EXPLICIT_FUNC_TEMPLATE_ARG
if ((conv=use_facet<ofacet_type>(getloc()).
#elif defined(XP_PC)
if ((conv=use_facet(getloc(), (ofacet_type*)0, false).
#else
if ((conv=use_facet(getloc(), (ofacet_type*)0).
#endif
out(fst, s, s+n, end, buf, buf+7, ebuf))==codecvt_base::noconv)
return (streamsize)PR_Write(mFileDesc, s, sizeof(char) * size_t(n));
if ((conv==codecvt_base::partial) ||(conv==codecvt_base::error))
return 0;
*ebuf=0;
PRInt32 bytesWrit2 = strlen(buf);
bytesWrit2 = PR_Write(mFileDesc, buf, bytesWrit2);
return bytesWrit2 < 0 ? 0 : streamsize(bytesWrit2 / sizeof(char_type));
}
#endif
} // FILE_BUFFER_TYPE::xsputn
#endif // #if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline INT_TYPE FILE_BUFFER_TYPE::pbackfail(int_type c)
//----------------------------------------------------------------------------------------
{
if (!mFileDesc)
return EOF_VALUE;
if (PR_Seek(mFileDesc, -1, PR_SEEK_CUR) < 0)
return EOF_VALUE;
#ifdef NS_USING_STL
return (traits::eq_int_type(c, EOF_VALUE)) ? traits::not_eof(c) : c;
#else
return c;
#endif
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline INT_TYPE FILE_BUFFER_TYPE::uflow()
//----------------------------------------------------------------------------------------
{
if (!mFileDesc)
return EOF_VALUE;
char_type s;
if (1 != PR_Read(mFileDesc, &s, 1)) // attempt to read 1 byte, confirm 1 byte
return EOF_VALUE;
return (int_type)s;
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline streamsize FILE_BUFFER_TYPE::xsgetn(char_type* s, streamsize n)
//----------------------------------------------------------------------------------------
{
return mFileDesc ? (streamsize)PR_Read(mFileDesc, s, sizeof(char) * size_t(n)) : 0;
}
#ifdef NS_USING_STL
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline void FILE_BUFFER_TYPE::imbue(const locale& loc_arg)
//----------------------------------------------------------------------------------------
{
#ifdef XP_MAC
loc = loc_arg;
#endif
}
#endif
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline streamsize FILE_BUFFER_TYPE::showmanyc()
//----------------------------------------------------------------------------------------
{
return (streamsize)PR_Available(mFileDesc);
}
#if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
POS_TYPE FILE_BUFFER_TYPE::seekoff(
OFF_TYPE off,
SEEK_DIR way,
IOS_BASE::openmode /* which */)
//----------------------------------------------------------------------------------------
{
if (!mFileDesc ||
#ifdef NS_USING_STL
((way&IOS_BASE::beg) && off<0) || ((way&IOS_BASE::end) && off > 0)
#else
((way == IOS_BASE::beg) && off<0) || ((way == IOS_BASE::end) && off > 0)
#endif
)
return pos_type(-1);
PRSeekWhence poseek = PR_SEEK_CUR;
switch (way)
{
case IOS_BASE::beg : poseek= PR_SEEK_SET;
break;
case IOS_BASE::end : poseek= PR_SEEK_END;
break;
}
PRInt32 position = PR_Seek(mFileDesc, off, poseek);
if (position < 0)
return pos_type(-1);
return pos_type(position);
}
#endif // #if defined(DEFINING_FILE_STREAM)
#if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
POS_TYPE FILE_BUFFER_TYPE::seekpos(pos_type sp, IOS_BASE::openmode)
//----------------------------------------------------------------------------------------
{
if (!mFileDesc || sp==pos_type(-1))
return -1;
#if defined(XP_PC) || defined(XP_UNIX)
PRInt32 position = sp;
#else
PRInt32 position = sp.offset();
#endif
position = PR_Seek(mFileDesc, position, PR_SEEK_SET);
if (position < 0)
return pos_type(-1);
return position;
}
#endif // #if defined(DEFINING_FILE_STREAM)
//========================================================================================
// Implementation of nsInputFileStreamT
//========================================================================================
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline INPUT_FILE_STREAM::nsInputFileStreamT()
: BASIC_ISTREAM(&mBuffer)
//----------------------------------------------------------------------------------------
{
// already inited
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline INPUT_FILE_STREAM::nsInputFileStreamT(
const nsFilePath& inFile,
IOS_BASE::openmode mode,
PRIntn accessMode)
//----------------------------------------------------------------------------------------
: BASIC_ISTREAM(&mBuffer)
{
// already inited
if (!mBuffer.open(inFile, openmode(mode|in), accessMode))
setstate(failbit);
}
#if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
INPUT_FILE_STREAM::~nsInputFileStreamT()
//----------------------------------------------------------------------------------------
{
}
#endif // #if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline FILE_BUFFER_TYPE* INPUT_FILE_STREAM::rdbuf() const
//----------------------------------------------------------------------------------------
{
return (FILE_BUFFER_TYPE*)&mBuffer;
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline bool INPUT_FILE_STREAM:: is_open()
//----------------------------------------------------------------------------------------
{
return mBuffer.is_open();
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline void INPUT_FILE_STREAM::open(
const nsFilePath& inFile,
IOS_BASE::openmode mode,
PRIntn accessMode)
//----------------------------------------------------------------------------------------
{
if (!mBuffer.open(inFile, openmode(mode|in), accessMode))
setstate(failbit);
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline void INPUT_FILE_STREAM::close()
//----------------------------------------------------------------------------------------
{
if (!mBuffer.close())
setstate(failbit);
}
//========================================================================================
// Implementation of nsOutputFileStreamT
//========================================================================================
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline OUTPUT_FILE_STREAM::nsOutputFileStreamT()
: BASIC_OSTREAM(&mBuffer)
//----------------------------------------------------------------------------------------
{
// already inited
}
#if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
OUTPUT_FILE_STREAM::nsOutputFileStreamT(
const nsFilePath& inFile,
IOS_BASE::openmode mode,
PRIntn accessMode)
//----------------------------------------------------------------------------------------
: BASIC_OSTREAM(&mBuffer)
{
// already inited
if (!mBuffer.open(inFile, openmode(mode|out), accessMode))
setstate(failbit);
}
#endif // #if defined(DEFINING_FILE_STREAM)
#if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline OUTPUT_FILE_STREAM::~nsOutputFileStreamT()
//----------------------------------------------------------------------------------------
{
}
#endif // #if defined(DEFINING_FILE_STREAM)
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline FILE_BUFFER_TYPE*
OUTPUT_FILE_STREAM::rdbuf() const
//----------------------------------------------------------------------------------------
{
return (FILE_BUFFER_TYPE*)&mBuffer;
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline bool OUTPUT_FILE_STREAM:: is_open()
//----------------------------------------------------------------------------------------
{
return mBuffer.is_open();
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline void OUTPUT_FILE_STREAM::open(
const nsFilePath& inFile,
IOS_BASE::openmode mode,
PRIntn accessMode)
//----------------------------------------------------------------------------------------
{
if (!mBuffer.open(inFile, openmode(mode | out), accessMode))
setstate(failbit);
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline void OUTPUT_FILE_STREAM:: close()
//----------------------------------------------------------------------------------------
{
if (!mBuffer.close())
setstate(failbit);
}
//========================================================================================
TEMPLATE_DEF
class nsIOFileStreamT : public BASIC_IOSTREAM
//========================================================================================
{
#ifdef NS_USING_STL
public:
typedef charT char_type;
typedef typename traits::pos_type pos_type;
typedef typename traits::off_type off_type;
typedef typename traits::int_type int_type;
typedef traits traits_type;
#endif
public:
nsIOFileStreamT();
explicit nsIOFileStreamT(
const nsFilePath& inFile,
IOS_BASE::openmode mode = IOS_BASE::in|IOS_BASE::out,
PRIntn accessMode = 0x00600);
virtual ~nsIOFileStreamT();
FILE_BUFFER_TYPE* rdbuf() const;
inline bool is_open();
inline void open(
const nsFilePath& inFile,
IOS_BASE::openmode mode = IOS_BASE::in|IOS_BASE::out,
PRIntn accessMode = 0x00600);
inline void close();
private:
FILE_BUFFER_TYPE mBuffer;
}; // class nsIOFileStreamT
//========================================================================================
// Implementation of nsIOFileStream
//========================================================================================
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline IO_FILE_STREAM::nsIOFileStreamT()
//----------------------------------------------------------------------------------------
: mBuffer(), BASIC_IOSTREAM(&mBuffer)
{
// already inited
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline IO_FILE_STREAM::nsIOFileStreamT(
const nsFilePath& inFile,
IOS_BASE::openmode mode,
PRIntn accessMode)
//----------------------------------------------------------------------------------------
: mBuffer(), BASIC_IOSTREAM(&mBuffer)
{
// already inited
if (!mBuffer.open(inFile, mode, accessMode))
setstate(failbit);
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline IO_FILE_STREAM::~nsIOFileStreamT()
//----------------------------------------------------------------------------------------
{
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline FILE_BUFFER_TYPE*
IO_FILE_STREAM::rdbuf() const
//----------------------------------------------------------------------------------------
{
return (FILE_BUFFER_TYPE*)&mBuffer;
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline bool IO_FILE_STREAM::is_open()
//----------------------------------------------------------------------------------------
{
return mBuffer.is_open();
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline void IO_FILE_STREAM::open(
const nsFilePath& inFile,
IOS_BASE::openmode mode,
PRIntn accessMode)
//----------------------------------------------------------------------------------------
{
if (!mBuffer.open(inFile, mode, accessMode))
setstate(failbit);
}
//----------------------------------------------------------------------------------------
TEMPLATE_DEF
inline void IO_FILE_STREAM::close()
//----------------------------------------------------------------------------------------
{
if (!mBuffer.close())
setstate(failbit);
}
//========================================================================================
// Specializations of the stream templates
//========================================================================================
#ifdef NS_USING_STL
typedef nsFileBufferT<char, char_traits<char> > nsFileBuffer;
typedef nsInputFileStreamT<char, char_traits<char> > nsInputFileStream;
typedef nsOutputFileStreamT<char, char_traits<char> > nsOutputFileStream;
typedef nsIOFileStreamT<char, char_traits<char> > nsIOFileStream;
#ifdef NS_USING_WIDE_CHAR
typedef nsFileBufferT<wchar_t, char_traits<wchar_t> > nsWideFileBuffer;
typedef nsInputFileStreamT<wchar_t, char_traits<wchar_t> > nsWideInputFileStream;
typedef nsOutputFileStreamT<wchar_t, char_traits<wchar_t> > nsWideOutputFileStream;
typedef nsIOFileStreamT<wchar_t, char_traits<wchar_t> > nsWideIOFileStream;
#endif // NS_USING_WIDE_CHAR
#else
typedef nsFileBufferT nsFileBuffer;
typedef nsInputFileStreamT nsInputFileStream;
typedef nsOutputFileStreamT nsOutputFileStream;
typedef nsIOFileStreamT nsIOFileStream;
#endif
#endif /* _FILESTREAM_H_ */

View File

@@ -1,24 +0,0 @@
#
# This is a list of local files which get copied to the mozilla:dist directory
#
nscore.h
nsIArena.h
nsIAtom.h
nsIByteBuffer.h
nsBTree.h
nsCRT.h
nsDeque.h
nsITimer.h
nsITimerCallback.h
nsIUnicharBuffer.h
nsRBTree.h
nsIUnicharInputStream.h
nsString.h
nsVoidArray.h
nsUnitConversion.h
nsIBaseStream.h
nsIInputStream.h
nsIOutputStream.h
nsInt64.h
nsTime.h

View File

@@ -1,92 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DEFINES +=-D_IMPL_NS_BASE
LOCAL_INCLUDES += -I$(topsrcdir)/base/public
DIRS = $(MOZ_TOOLKIT)
LIBRARY_NAME = raptorbase
CPPSRCS = \
nsArena.cpp \
nsAtomTable.cpp \
nsBaseDLL.cpp \
nsBTree.cpp \
nsByteBuffer.cpp \
nsCRT.cpp \
nsDeque.cpp \
nsEscape.cpp \
nsFileSpec.cpp \
nsFileStream.cpp \
nsIFileStream.cpp \
nsIStringStream.cpp \
nsProperties.cpp \
nsRBTree.cpp \
nsSizeOfHandler.cpp \
nsString.cpp \
nsUnicharBuffer.cpp \
nsUnicharInputStream.cpp \
nsVoidArray.cpp \
nsSpecialSystemDirectory.cpp\
$(NULL)
EXPORTS = \
nscore.h \
nsBTree.h \
nsCRT.h \
nsDeque.h \
nsIArena.h \
nsIAtom.h \
nsIByteBuffer.h \
nsIBaseStream.h \
nsIInputStream.h \
nsIOutputStream.h \
nsITimer.h \
nsITimerCallback.h \
nsIUnicharBuffer.h \
nsIUnicharInputStream.h \
nsInt64.h \
nsRBTree.h \
nsString.h \
nsTime.h \
nsVoidArray.h \
nsUnitConversion.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
MODULE=base
REQUIRES = xpcom netlib raptor
include $(topsrcdir)/config/config.mk
TARGET = $(LIBARY)
include $(topsrcdir)/config/rules.mk
test:
@echo OS_ARCH = $(OS_ARCH)

View File

@@ -1,42 +0,0 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gmbasegtk
MODULE=base
REQUIRES = xpcom raptor
DEFINES += -D_IMPL_NS_WIDGET
CPPSRCS = \
nsTimer.cpp \
nsCaretProperties.cpp \
$(NULL)
include $(topsrcdir)/config/config.mk
CXXFLAGS += $(TK_CFLAGS)
include $(topsrcdir)/config/rules.mk

View File

@@ -1,40 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nscore.h"
#include "nsCaretProperties.h"
//-----------------------------------------------------------------------------
nsCaretProperties::nsCaretProperties()
: mCaretWidth(eDefaultCaretWidth)
, mBlinkRate(eDefaulBlinkRate)
{
// in your platform-specific class, get data from the OS in your constructor
//mBlinkRate = 0; // don't blink the caret
}
//-----------------------------------------------------------------------------
nsCaretProperties* NewCaretProperties()
{
return new nsCaretProperties();
}

View File

@@ -1,191 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsITimer.h"
#include "nsITimerCallback.h"
#include "nsCRT.h"
#include "prlog.h"
#include <stdio.h>
#include <limits.h>
#include <gtk/gtk.h>
static NS_DEFINE_IID(kITimerIID, NS_ITIMER_IID);
extern "C" gint nsTimerExpired(gpointer aCallData);
/*
* Implementation of timers using Gtk timer facility
*/
class TimerImpl : public nsITimer {
public:
public:
TimerImpl();
virtual ~TimerImpl();
virtual nsresult Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay);
virtual nsresult Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay);
NS_DECL_ISUPPORTS
virtual void Cancel();
virtual PRUint32 GetDelay() { return mDelay; }
virtual void SetDelay(PRUint32 aDelay) { mDelay=aDelay; };
virtual void* GetClosure() { return mClosure; }
void FireTimeout();
private:
nsresult Init(PRUint32 aDelay);
PRUint32 mDelay;
nsTimerCallbackFunc mFunc;
void *mClosure;
nsITimerCallback *mCallback;
// PRBool mRepeat;
TimerImpl *mNext;
guint mTimerId;
};
void TimerImpl::FireTimeout()
{
if (mFunc != NULL) {
(*mFunc)(this, mClosure);
}
else if (mCallback != NULL) {
mCallback->Notify(this); // Fire the timer
}
// Always repeating here
// if (mRepeat)
// mTimerId = gtk_timeout_add(aDelay, nsTimerExpired, this);
}
TimerImpl::TimerImpl()
{
// printf("TimerImple::TimerImpl called for %p\n", this);
NS_INIT_REFCNT();
mFunc = NULL;
mCallback = NULL;
mNext = NULL;
mTimerId = 0;
mDelay = 0;
mClosure = NULL;
}
TimerImpl::~TimerImpl()
{
//printf("TimerImpl::~TimerImpl called for %p\n", this);
Cancel();
NS_IF_RELEASE(mCallback);
}
nsresult
TimerImpl::Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay)
{
//printf("TimerImpl::Init called with func + closure for %p\n", this);
mFunc = aFunc;
mClosure = aClosure;
// mRepeat = aRepeat;
if ((aDelay > 10000) || (aDelay < 0)) {
printf("Timer::Init() called with bogus value \"%d\"! Not enabling timer.\n",
aDelay);
return Init(aDelay);
}
mTimerId = gtk_timeout_add(aDelay, nsTimerExpired, this);
return Init(aDelay);
}
nsresult
TimerImpl::Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay)
{
//printf("TimerImpl::Init called with callback only for %p\n", this);
mCallback = aCallback;
NS_ADDREF(mCallback);
// mRepeat = aRepeat;
if ((aDelay > 10000) || (aDelay < 0)) {
printf("Timer::Init() called with bogus value \"%d\"! Not enabling timer.\n",
aDelay);
return Init(aDelay);
}
mTimerId = gtk_timeout_add(aDelay, nsTimerExpired, this);
return Init(aDelay);
}
nsresult
TimerImpl::Init(PRUint32 aDelay)
{
//printf("TimerImpl::Init called with delay %d only for %p\n", aDelay, this);
mDelay = aDelay;
// NS_ADDREF(this);
return NS_OK;
}
NS_IMPL_ISUPPORTS(TimerImpl, kITimerIID)
void
TimerImpl::Cancel()
{
//printf("TimerImpl::Cancel called for %p\n", this);
TimerImpl *me = this;
if (mTimerId)
gtk_timeout_remove(mTimerId);
}
NS_BASE nsresult NS_NewTimer(nsITimer** aInstancePtrResult)
{
NS_PRECONDITION(nsnull != aInstancePtrResult, "null ptr");
if (nsnull == aInstancePtrResult) {
return NS_ERROR_NULL_POINTER;
}
TimerImpl *timer = new TimerImpl();
if (nsnull == timer) {
return NS_ERROR_OUT_OF_MEMORY;
}
return timer->QueryInterface(kITimerIID, (void **) aInstancePtrResult);
}
gint nsTimerExpired(gpointer aCallData)
{
//printf("nsTimerExpired for %p\n", aCallData);
TimerImpl* timer = (TimerImpl *)aCallData;
timer->FireTimeout();
return 0;
}

View File

@@ -1,43 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include <Events.h>
#include "nscore.h"
#include "nsCaretProperties.h"
//-----------------------------------------------------------------------------
nsCaretProperties::nsCaretProperties()
: mCaretWidth(eDefaultCaretWidth)
, mBlinkRate(eDefaulBlinkRate)
{
// in your platform-specific class, get data from the OS in your constructor
// MacOS calls
mBlinkRate = ::GetCaretTime() * 1000 / 60;
}
//-----------------------------------------------------------------------------
nsCaretProperties* NewCaretProperties()
{
return new nsCaretProperties();
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,147 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsRepeater.h"
Repeater* Repeater::sRepeaters = 0;
Repeater* Repeater::sIdlers = 0;
Repeater::Repeater()
{
mRepeating = false;
mIdling = false;
mPrevRptr = 0;
mNextRptr = 0;
mPrevIdlr = 0;
mNextIdlr = 0;
}
Repeater::~Repeater()
{
if (mRepeating) RemoveFromRepeatList();
if (mIdling) RemoveFromIdleList();
}
// protected helper functs
//----------------------------------------------------------------------------
void Repeater::AddToRepeatList()
{
if (sRepeaters)
{
sRepeaters->mPrevRptr = this;
mNextRptr = sRepeaters;
}
sRepeaters = this;
}
//----------------------------------------------------------------------------
void Repeater::RemoveFromRepeatList()
{
if (sRepeaters == this) sRepeaters = mNextRptr;
if (mPrevRptr) mPrevRptr->mNextRptr = mNextRptr;
if (mNextRptr) mNextRptr->mPrevRptr = mPrevRptr;
mPrevRptr = 0;
mNextRptr = 0;
}
//----------------------------------------------------------------------------
void Repeater::AddToIdleList()
{
if (sIdlers)
{
sIdlers->mPrevIdlr = this;
mNextIdlr = sIdlers;
}
sIdlers = this;
}
//----------------------------------------------------------------------------
void Repeater::RemoveFromIdleList()
{
if (sIdlers == this) sIdlers = mNextIdlr;
if (mPrevIdlr) mPrevIdlr->mNextIdlr = mNextIdlr;
if (mNextIdlr) mNextIdlr->mPrevIdlr = mPrevIdlr;
mPrevIdlr = 0;
mNextIdlr = 0;
}
// repeater methods
//----------------------------------------------------------------------------
void Repeater::StartRepeating()
{
if (!mRepeating)
{
AddToRepeatList();
mRepeating = true;
}
}
void Repeater::StopRepeating()
{
if (mRepeating)
{
RemoveFromRepeatList();
mRepeating = false;
}
}
void Repeater::DoRepeaters(const EventRecord &aMacEvent)
{
Repeater* theRepeater = sRepeaters;
while (theRepeater)
{
theRepeater->RepeatAction(aMacEvent);
theRepeater = theRepeater->mNextRptr;
}
}
// idler methods
void Repeater::StartIdling()
{
if (!mIdling)
{
AddToIdleList();
mIdling = true;
}
}
void Repeater::StopIdling()
{
if (mIdling)
{
RemoveFromIdleList();
mIdling = false;
}
}
void Repeater::DoIdlers(const EventRecord &aMacEvent)
{
Repeater* theIdler = sIdlers;
while (theIdler)
{
theIdler->RepeatAction(aMacEvent);
theIdler = theIdler->mNextIdlr;
}
}

View File

@@ -1,364 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
//
// Mac implementation of the nsITimer interface
//
#include "nsITimer.h"
#include "nsITimerCallback.h"
#include "prlog.h"
#include "nsRepeater.h"
#include <list.h>
#include <Events.h>
#pragma mark class TimerImpl
//========================================================================================
class TimerImpl : public nsITimer
// TimerImpl implements nsITimer API
//========================================================================================
{
friend class TimerPeriodical;
private:
nsTimerCallbackFunc mCallbackFunc;
nsITimerCallback * mCallbackObject;
void * mClosure;
PRUint32 mDelay;
PRUint32 mFireTime; // Timer should fire when TickCount >= this number
TimerImpl * mPrev;
TimerImpl * mNext;
public:
// constructors
TimerImpl();
virtual ~TimerImpl();
NS_DECL_ISUPPORTS
PRUint32 GetFireTime() const { return mFireTime; }
void Fire();
// nsITimer overrides
virtual nsresult Init(nsTimerCallbackFunc aFunc,
void *aClosure,
PRUint32 aDelay);
virtual nsresult Init(nsITimerCallback *aCallback,
PRUint32 aDelay);
virtual void Cancel();
virtual PRUint32 GetDelay();
virtual void SetDelay(PRUint32 aDelay);
virtual void* GetClosure();
#if DEBUG
enum {
eGoodTimerSignature = 'Barf',
eDeletedTimerSignature = 'oops'
};
Boolean IsGoodTimer() const { return (mSignature == eGoodTimerSignature); }
#endif
private:
// Calculates mFireTime too
void SetDelaySelf( PRUint32 aDelay );
#if DEBUG
UInt32 mSignature;
#endif
};
#pragma mark class TimerPeriodical
//========================================================================================
class TimerPeriodical : public Repeater
// TimerPeriodical is a singleton Repeater subclass that fires
// off TimerImpl. The firing is done on idle.
//========================================================================================
{
static TimerPeriodical * gPeriodical;
TimerImpl* mTimers;
public:
// Returns the singleton instance
static TimerPeriodical * GetPeriodical();
TimerPeriodical();
virtual ~TimerPeriodical();
virtual void RepeatAction( const EventRecord &inMacEvent);
nsresult AddTimer( TimerImpl * aTimer);
nsresult RemoveTimer( TimerImpl * aTimer);
};
//========================================================================================
// TimerImpl implementation
//========================================================================================
NS_IMPL_ISUPPORTS(TimerImpl, nsITimer::GetIID())
//----------------------------------------------------------------------------------------
TimerImpl::TimerImpl()
//----------------------------------------------------------------------------------------
: mCallbackFunc(nsnull)
, mCallbackObject(nsnull)
, mClosure(nsnull)
, mDelay(0)
, mFireTime(0)
, mPrev(nsnull)
, mNext(nsnull)
#if DEBUG
, mSignature(eGoodTimerSignature)
#endif
{
NS_INIT_REFCNT();
}
//----------------------------------------------------------------------------------------
TimerImpl::~TimerImpl()
//----------------------------------------------------------------------------------------
{
Cancel();
NS_IF_RELEASE(mCallbackObject);
#if DEBUG
mSignature = eDeletedTimerSignature;
#endif
}
//----------------------------------------------------------------------------------------
nsresult TimerImpl::Init(nsTimerCallbackFunc aFunc,
void *aClosure,
PRUint32 aDelay)
//----------------------------------------------------------------------------------------
{
mCallbackFunc = aFunc;
mClosure = aClosure;
SetDelaySelf(aDelay);
return TimerPeriodical::GetPeriodical()->AddTimer(this);
}
//----------------------------------------------------------------------------------------
nsresult TimerImpl::Init(nsITimerCallback *aCallback,
PRUint32 aDelay)
//----------------------------------------------------------------------------------------
{
NS_ADDREF(aCallback);
mCallbackObject = aCallback;
SetDelaySelf(aDelay);
return TimerPeriodical::GetPeriodical()->AddTimer(this);
}
//----------------------------------------------------------------------------------------
void TimerImpl::Cancel()
//----------------------------------------------------------------------------------------
{
TimerPeriodical::GetPeriodical()->RemoveTimer(this);
}
//----------------------------------------------------------------------------------------
PRUint32 TimerImpl::GetDelay()
//----------------------------------------------------------------------------------------
{
return mDelay;
}
//----------------------------------------------------------------------------------------
void TimerImpl::SetDelay(PRUint32 aDelay)
//----------------------------------------------------------------------------------------
{
SetDelaySelf(aDelay);
}
//----------------------------------------------------------------------------------------
void* TimerImpl::GetClosure()
//----------------------------------------------------------------------------------------
{
return mClosure;
}
//----------------------------------------------------------------------------------------
void TimerImpl::Fire()
//----------------------------------------------------------------------------------------
{
NS_PRECONDITION(mRefCnt > 0, "Firing a disposed Timer!");
if (mCallbackFunc != NULL)
{
(*mCallbackFunc)(this, mClosure);
}
else if (mCallbackObject != NULL)
{
nsITimerCallback* object = mCallbackObject;
mCallbackObject = nsnull;
// because the Notify call will release it.
// We will release again it in the destructor if
// it is not null when we go away!
object->Notify(this); // Fire the timer
}
}
//----------------------------------------------------------------------------------------
void TimerImpl::SetDelaySelf( PRUint32 aDelay )
//----------------------------------------------------------------------------------------
{
mDelay = aDelay;
mFireTime = TickCount() + (mDelay * 3) / 50; // We need mFireTime in ticks (1/60th)
// but aDelay is in 1000th (60/1000 = 3/50)
}
TimerPeriodical * TimerPeriodical::gPeriodical = nsnull;
TimerPeriodical * TimerPeriodical::GetPeriodical()
{
if (gPeriodical == NULL)
gPeriodical = new TimerPeriodical();
return gPeriodical;
}
TimerPeriodical::TimerPeriodical()
{
mTimers = nsnull;
}
TimerPeriodical::~TimerPeriodical()
{
PR_ASSERT(mTimers == 0);
}
nsresult TimerPeriodical::AddTimer( TimerImpl * aTimer)
{
// make sure it's not already there
RemoveTimer(aTimer);
// keep list sorted by fire time
if (mTimers)
{
if (aTimer->GetFireTime() < mTimers->GetFireTime())
{
mTimers->mPrev = aTimer;
aTimer->mNext = mTimers;
mTimers = aTimer;
}
else
{
TimerImpl *t = mTimers;
TimerImpl *prevt;
// we know we will enter the while loop at least the first
// time, and thus prevt will be initialized
while (t && (t->GetFireTime() <= aTimer->GetFireTime()))
{
prevt = t;
t = t->mNext;
}
aTimer->mPrev = prevt;
aTimer->mNext = prevt->mNext;
prevt->mNext = aTimer;
if (aTimer->mNext) aTimer->mNext->mPrev = aTimer;
}
}
else mTimers = aTimer;
StartRepeating();
return NS_OK;
}
nsresult TimerPeriodical::RemoveTimer( TimerImpl * aTimer)
{
TimerImpl* t = mTimers;
TimerImpl* next_t = nsnull;
if (t) next_t = t->mNext;
while (t)
{
if (t == aTimer)
{
if (mTimers == t) mTimers = t->mNext;
if (t->mPrev) t->mPrev->mNext = t->mNext;
if (t->mNext) t->mNext->mPrev = t->mPrev;
t->mNext = nsnull;
t->mPrev = nsnull;
}
t = next_t;
if (t) next_t = t->mNext;
}
if ( mTimers == nsnull )
StopRepeating();
return NS_OK;
}
// Called through every event loop
// Loops through the list of available timers, and
// fires off the appropriate ones
void TimerPeriodical::RepeatAction( const EventRecord &inMacEvent)
{
PRBool done = false;
while (!done)
{
TimerImpl* t = mTimers;
while (t)
{
NS_ASSERTION(t->IsGoodTimer(), "Bad timer!");
if (t->GetFireTime() <= inMacEvent.when)
{
RemoveTimer(t);
t->Fire();
break;
}
t = t->mNext;
}
done = true;
}
}
NS_BASE nsresult NS_NewTimer(nsITimer** aInstancePtrResult)
{
NS_PRECONDITION(nsnull != aInstancePtrResult, "null ptr");
if (nsnull == aInstancePtrResult) {
return NS_ERROR_NULL_POINTER;
}
TimerImpl *timer = new TimerImpl();
if (nsnull == timer) {
return NS_ERROR_OUT_OF_MEMORY;
}
return timer->QueryInterface(nsITimer::GetIID(), (void **) aInstancePtrResult);
}

View File

@@ -1,116 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..
IGNORE_MANIFEST=1
DIRS = windows
DEFINES=-D_IMPL_NS_BASE -DWIN32_LEAN_AND_MEAN
LIBRARY_NAME=raptorbase
CPPSRCS = \
nsArena.cpp \
nsAtomTable.cpp \
nsBaseDLL.cpp \
nsBTree.cpp \
nsByteBuffer.cpp \
nsCRT.cpp \
nsDeque.cpp \
nsProperties.cpp \
nsRBTree.cpp \
nsSizeOfHandler.cpp \
nsString.cpp \
nsUnicharBuffer.cpp \
nsUnicharInputStream.cpp \
nsVoidArray.cpp \
nsFileSpec.cpp \
nsFileStream.cpp \
nsStringStream.cpp \
nsEscape.cpp \
nsIFileStream.cpp \
nsSpecialSystemDirectory.cpp \
$(NULL)
CPP_OBJS = \
.\$(OBJDIR)\nsArena.obj \
.\$(OBJDIR)\nsAtomTable.obj \
.\$(OBJDIR)\nsBaseDLL.obj \
.\$(OBJDIR)\nsBTree.obj \
.\$(OBJDIR)\nsByteBuffer.obj \
.\$(OBJDIR)\nsCRT.obj \
.\$(OBJDIR)\nsDeque.obj \
.\$(OBJDIR)\nsProperties.obj \
.\$(OBJDIR)\nsRBTree.obj \
.\$(OBJDIR)\nsSizeOfHandler.obj \
.\$(OBJDIR)\nsString.obj \
.\$(OBJDIR)\nsUnicharBuffer.obj \
.\$(OBJDIR)\nsUnicharInputStream.obj \
.\$(OBJDIR)\nsVoidArray.obj \
.\$(OBJDIR)\nsFileSpec.obj \
.\$(OBJDIR)\nsFileStream.obj \
.\$(OBJDIR)\nsEscape.obj \
.\$(OBJDIR)\nsIFileStream.obj \
.\$(OBJDIR)\nsIStringStream.obj \
.\$(OBJDIR)\nsSpecialSystemDirectory.obj \
$(NULL)
EXPORTS=nscore.h nsIArena.h nsIAtom.h nsIByteBuffer.h \
nsBTree.h nsCRT.h nsDeque.h nsITimer.h \
nsITimerCallback.h nsIUnicharBuffer.h nsRBTree.h \
nsIUnicharInputStream.h nsString.h nsVoidArray.h \
nsUnitConversion.h \
nsIBaseStream.h nsIInputStream.h nsIOutputStream.h \
nsInt64.h nsTime.h
MODULE=raptor
REQUIRES=xpcom netlib raptor uconv
LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\netlib \
-I$(PUBLIC)\raptor -I$(PUBLIC)\uconv -I$(PUBLIC)\unicharutil
MAKE_OBJ_TYPE = DLL
DLLNAME = raptorbase
DLL=.\$(OBJDIR)\$(DLLNAME).dll
OBJS = $(OBJS) .\$(OBJDIR)\nsTimer.obj .\$(OBJDIR)\nsCaretProperties.obj
LCFLAGS = \
$(LCFLAGS) \
$(DEFINES) \
$(NULL)
# These are the libraries we need to link with to create the dll
LLIBS= \
$(DIST)\lib\xpcom32.lib \
$(DIST)\lib\plc3.lib \
$(LIBNSPR)
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
LLIBS=$(LLIBS) $(GLOWDIR)\glowcode.lib
!endif
include <$(DEPTH)\config\rules.mak>
libs:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
clobber::
rm -f $(DIST)\bin\$(DLLNAME).dll
rm -f $(DIST)\lib\$(DLLNAME).lib

View File

@@ -1,39 +0,0 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gmbasemotif
MODULE=base
REQUIRES = xpcom raptor
DEFINES += -D_IMPL_NS_WIDGET
CPPSRCS = \
nsTimer.cpp \
nsCaretProperties.cpp \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -1,39 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nscore.h"
#include "nsCaretProperties.h"
//-----------------------------------------------------------------------------
nsCaretProperties::nsCaretProperties()
: mCaretWidth(eDefaultCaretWidth)
, mBlinkRate(eDefaulBlinkRate)
{
// in your platform-specific class, get data from the OS in your constructor
}
//-----------------------------------------------------------------------------
nsCaretProperties* NewCaretProperties()
{
return new nsCaretProperties();
}

View File

@@ -1,173 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsITimer.h"
#include "nsITimerCallback.h"
#include "nsCRT.h"
#include "prlog.h"
#include <stdio.h>
#include <limits.h>
#include <X11/Intrinsic.h>
static NS_DEFINE_IID(kITimerIID, NS_ITIMER_IID);
// Hack for now. This is Bad because it creates a dependency between the widget
// library and this library. This needs to be replaced with having code
// to pass an interface which can be queried for the app context.
extern XtAppContext gAppContext;
extern void nsTimerExpired(XtPointer aCallData);
/*
* Implementation of timers using Xt timer facility
*/
class TimerImpl : public nsITimer {
public:
public:
TimerImpl();
virtual ~TimerImpl();
virtual nsresult Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay);
virtual nsresult Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay);
NS_DECL_ISUPPORTS
virtual void Cancel();
virtual PRUint32 GetDelay() { return mDelay; }
virtual void SetDelay(PRUint32 aDelay) { mDelay=aDelay; };
virtual void* GetClosure() { return mClosure; }
void FireTimeout();
private:
nsresult Init(PRUint32 aDelay);
PRUint32 mDelay;
nsTimerCallbackFunc mFunc;
void *mClosure;
nsITimerCallback *mCallback;
// PRBool mRepeat;
TimerImpl *mNext;
XtIntervalId mTimerId;
};
void TimerImpl::FireTimeout()
{
if (mFunc != NULL) {
(*mFunc)(this, mClosure);
}
else if (mCallback != NULL) {
mCallback->Notify(this); // Fire the timer
}
// Always repeating here
// if (mRepeat)
// mTimerId = XtAppAddTimeOut(gAppContext, GetDelay(),(XtTimerCallbackProc)nsTimerExpired, this);
}
TimerImpl::TimerImpl()
{
NS_INIT_REFCNT();
mFunc = NULL;
mCallback = NULL;
mNext = NULL;
mTimerId = 0;
mDelay = 0;
mClosure = NULL;
}
TimerImpl::~TimerImpl()
{
}
nsresult
TimerImpl::Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay)
{
mFunc = aFunc;
mClosure = aClosure;
// mRepeat = aRepeat;
mTimerId = XtAppAddTimeOut(gAppContext, aDelay,(XtTimerCallbackProc)nsTimerExpired, this);
return Init(aDelay);
}
nsresult
TimerImpl::Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay)
{
mCallback = aCallback;
// mRepeat = aRepeat;
mTimerId = XtAppAddTimeOut(gAppContext, aDelay, (XtTimerCallbackProc)nsTimerExpired, this);
return Init(aDelay);
}
nsresult
TimerImpl::Init(PRUint32 aDelay)
{
mDelay = aDelay;
NS_ADDREF(this);
return NS_OK;
}
NS_IMPL_ISUPPORTS(TimerImpl, kITimerIID)
void
TimerImpl::Cancel()
{
XtRemoveTimeOut(mTimerId);
}
NS_BASE nsresult NS_NewTimer(nsITimer** aInstancePtrResult)
{
NS_PRECONDITION(nsnull != aInstancePtrResult, "null ptr");
if (nsnull == aInstancePtrResult) {
return NS_ERROR_NULL_POINTER;
}
TimerImpl *timer = new TimerImpl();
if (nsnull == timer) {
return NS_ERROR_OUT_OF_MEMORY;
}
return timer->QueryInterface(kITimerIID, (void **) aInstancePtrResult);
}
void nsTimerExpired(XtPointer aCallData)
{
TimerImpl* timer = (TimerImpl *)aCallData;
timer->FireTimeout();
}

View File

@@ -1,80 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIArena.h"
#include "nsCRT.h"
#define PL_ARENA_CONST_ALIGN_MASK 7
#include "plarena.h"
static NS_DEFINE_IID(kArenaIID, NS_IARENA_IID);
// Simple arena implementation layered on plarena
class ArenaImpl : public nsIArena {
public:
ArenaImpl(PRInt32 aBlockSize);
NS_DECL_ISUPPORTS
virtual void* Alloc(PRInt32 aSize);
protected:
~ArenaImpl();
PLArenaPool mPool;
PRInt32 mBlockSize;
};
ArenaImpl::ArenaImpl(PRInt32 aBlockSize)
{
NS_INIT_REFCNT();
if (aBlockSize < NS_MIN_ARENA_BLOCK_SIZE) {
aBlockSize = NS_DEFAULT_ARENA_BLOCK_SIZE;
}
PL_INIT_ARENA_POOL(&mPool, "nsIArena", aBlockSize);
mBlockSize = aBlockSize;
}
NS_IMPL_ISUPPORTS(ArenaImpl,kArenaIID)
ArenaImpl::~ArenaImpl()
{
PL_FinishArenaPool(&mPool);
}
void* ArenaImpl::Alloc(PRInt32 size)
{
// Adjust size so that it's a multiple of sizeof(double)
PRInt32 align = size & (sizeof(double) - 1);
if (0 != align) {
size += sizeof(double) - align;
}
void* p;
PL_ARENA_ALLOCATE(p, &mPool, size);
return p;
}
NS_BASE nsresult NS_NewHeapArena(nsIArena** aInstancePtrResult,
PRInt32 aArenaBlockSize)
{
ArenaImpl* it = new ArenaImpl(aArenaBlockSize);
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kArenaIID, (void **) aInstancePtrResult);
}

View File

@@ -1,158 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIAtom.h"
#include "nsString.h"
#include "nsCRT.h"
#include "plhash.h"
#include "nsISizeOfHandler.h"
/**
* The shared hash table for atom lookups.
*/
static nsrefcnt gAtoms;
static struct PLHashTable* gAtomHashTable;
class AtomImpl : public nsIAtom {
public:
AtomImpl();
~AtomImpl();
NS_DECL_ISUPPORTS
void* operator new(size_t size, const PRUnichar* us, PRInt32 uslen);
void operator delete(void* ptr) {
::operator delete(ptr);
}
virtual void ToString(nsString& aBuf) const;
virtual const PRUnichar* GetUnicode() const;
NS_IMETHOD SizeOf(nsISizeOfHandler* aHandler) const;
// Actually more; 0 terminated. This slot is reserved for the
// terminating zero.
PRUnichar mString[1];
};
AtomImpl::AtomImpl()
{
NS_INIT_REFCNT();
// Every live atom holds a reference on the atom hashtable
gAtoms++;
}
AtomImpl::~AtomImpl()
{
NS_PRECONDITION(nsnull != gAtomHashTable, "null atom hashtable");
if (nsnull != gAtomHashTable) {
PL_HashTableRemove(gAtomHashTable, mString);
nsrefcnt cnt = --gAtoms;
if (0 == cnt) {
// When the last atom is destroyed, the atom arena is destroyed
NS_ASSERTION(0 == gAtomHashTable->nentries, "bad atom table");
PL_HashTableDestroy(gAtomHashTable);
gAtomHashTable = nsnull;
}
}
}
static NS_DEFINE_IID(kIAtomIID, NS_IATOM_IID);
NS_IMPL_ISUPPORTS(AtomImpl, kIAtomIID);
void* AtomImpl::operator new(size_t size, const PRUnichar* us, PRInt32 uslen)
{
size = size + uslen * sizeof(PRUnichar);
AtomImpl* ii = (AtomImpl*) ::operator new(size);
nsCRT::memcpy(ii->mString, us, uslen * sizeof(PRUnichar));
ii->mString[uslen] = 0;
return ii;
}
void AtomImpl::ToString(nsString& aBuf) const
{
aBuf.SetLength(0);
aBuf.Append(mString, nsCRT::strlen(mString));
}
const PRUnichar* AtomImpl::GetUnicode() const
{
return mString;
}
NS_IMETHODIMP
AtomImpl::SizeOf(nsISizeOfHandler* aHandler) const
{
aHandler->Add(sizeof(*this) + nsCRT::strlen(mString) * sizeof(PRUnichar));
return NS_OK;
}
//----------------------------------------------------------------------
static PLHashNumber HashKey(const PRUnichar* k)
{
return (PLHashNumber) nsCRT::HashValue(k);
}
static PRIntn CompareKeys(const PRUnichar* k1, const PRUnichar* k2)
{
return nsCRT::strcmp(k1, k2) == 0;
}
NS_BASE nsIAtom* NS_NewAtom(const char* isolatin1)
{
nsAutoString tmp(isolatin1);
return NS_NewAtom(tmp.GetUnicode());
}
NS_BASE nsIAtom* NS_NewAtom(const nsString& aString)
{
return NS_NewAtom(aString.GetUnicode());
}
NS_BASE nsIAtom* NS_NewAtom(const PRUnichar* us)
{
if (nsnull == gAtomHashTable) {
gAtomHashTable = PL_NewHashTable(8, (PLHashFunction) HashKey,
(PLHashComparator) CompareKeys,
(PLHashComparator) nsnull,
nsnull, nsnull);
}
PRUint32 uslen;
PRUint32 hashCode = nsCRT::HashValue(us, &uslen);
PLHashEntry** hep = PL_HashTableRawLookup(gAtomHashTable, hashCode, us);
PLHashEntry* he = *hep;
if (nsnull != he) {
nsIAtom* id = (nsIAtom*) he->value;
NS_ADDREF(id);
return id;
}
AtomImpl* id = new(us, uslen) AtomImpl();
PL_HashTableRawAdd(gAtomHashTable, hep, hashCode, id->mString, id);
NS_ADDREF(id);
return id;
}
NS_BASE nsrefcnt NS_GetNumberOfAtoms(void)
{
if (nsnull != gAtomHashTable) {
NS_PRECONDITION(nsrefcnt(gAtomHashTable->nentries) == gAtoms, "bad atom table");
}
return gAtoms;
}

View File

@@ -1,402 +0,0 @@
/**
* This file defines the binary tree class and it
* nsNode child class.
*
* This simple version stores nodes, and the
* nodes store void* ptrs.
*
* @update gess 4/11/98
* @param
* @return
*/
#include "nsBTree.h"
/**
* default constructor
*
* @update gess 4/11/98
*/
nsNode::nsNode(){
mLeft=0;
mRight=0;
mParent=0;
mColor=eBlack;
}
/**
* Copy constructor
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode::nsNode(const nsNode& aNode){
mLeft=aNode.mLeft;
mRight=aNode.mRight;
mParent=aNode.mParent;
mColor=aNode.mColor;
}
/**
* destructor
*
* @update gess 4/11/98
*/
nsNode::~nsNode(){
}
/**
* Retrive ptr to parent node
*
* @update gess 4/11/98
* @return ptr to parent node
*/
nsNode* nsNode::GetParentNode(void) const{
return mParent;
}
/**
* Retrieve ptr to left (less) node
*
* @update gess 4/11/98
* @return ptr to left (may be NULL)
*/
nsNode* nsNode::GetLeftNode(void) const{
return mLeft;
}
/**
* Retrieve ptr to right (more) node
*
* @update gess 4/11/98
* @return ptr to right node (may be NULL)
*/
nsNode* nsNode::GetRightNode(void) const{
return mRight;
}
/**
*
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode& nsNode::operator=(const nsNode& aNode){
if(this!=&aNode){
mLeft=aNode.mLeft;
mRight=aNode.mRight;
mParent=aNode.mParent;
mColor=aNode.mColor;
}
return *this;
}
/********************************************************
* Here comes the BTREE class...
********************************************************/
/**
* nsBTree constructor
*
* @update gess 4/11/98
*/
nsBTree::nsBTree(){
mRoot=0;
}
/**
* destructor
*
* @update gess 4/11/98
*/
nsBTree::~nsBTree(){
if(mRoot){
//walk the tree and destroy the children.
}
}
/**
* Given a node, we're supposed to add it into
* our tree.
*
* @update gess 4/11/98
* @param aNode to be added to tree
* @return ptr to added node or NULL
*/
nsNode* nsBTree::Add(nsNode& aNode){
nsNode* node1=mRoot; //x
nsNode* node2=0; //y
while(node1) {
node2=node1;
if(aNode<*node1)
node1=node1->mLeft;
else node1=node1->mRight;
}
aNode.mParent=node2;
if(!node2){
mRoot=&aNode;
}
else{
if(aNode<*node2)
node2->mLeft=&aNode;
else node2->mRight=&aNode;
}
return &aNode;
}
/**
* Removes given node from tree if present.
*
* @update gess 4/11/98
* @param aNode to be found and removed
* @return ptr to remove node, or NULL
*/
nsNode* nsBTree::Remove(nsNode& aNode){
nsNode* result=0;
nsNode* node3=Find(aNode);
if(node3) {
nsNode* node1;
nsNode* node2;
if((!node3->mLeft) || (!node3->mRight))
node2=node3;
else node2=After(*node3);
if(node2->mLeft)
node1=node2->mLeft;
else node1=node2->mRight;
if(node1)
node1->mParent=node2->mParent;
if(node2->mParent) {
if(node2==node2->mParent->mLeft)
node2->mParent->mLeft=node1;
else node2->mParent->mRight=node1;
}
else mRoot=node1;
if(node2!=node3)
(*node3)==(*node2);
if(node2->mColor == nsNode::eBlack)
ReBalance(*node1);
delete node2;
result=&aNode;
}
return result;
}
/**
* Clears the tree of any data.
* Be careful here if your objects are heap based!
* This method doesn't free the objects, so if you
* don't have your own pointers, they will become
* orphaned.
*
* @update gess 4/11/98
* @param
* @return this
*/
nsBTree& nsBTree::Empty(nsNode* aNode) {
mRoot=0;
return *this;
}
/**
* This method destroys all the objects in the tree.
* WARNING: Never call this method on stored objects
* that are stack-based!
*
* @update gess 4/11/98
* @param
* @return this
*/
nsBTree& nsBTree::Erase(nsNode* aNode){
// nsNode* node1 =(aNode) ? aNode : mRoot;
if(aNode) {
Erase(aNode->mLeft); //begin by walking left side
Erase(aNode->mRight); //then search right side
delete aNode; //until a leaf, then delete
}
return *this;
}
/**
* Retrieve ptr to first node in tree
*
* @update gess 4/11/98
* @return
*/
nsNode* nsBTree::First(void) const{
if(mRoot)
return First(*mRoot);
return 0;
}
/**
* Retrive ptr to first node rel to given node
*
* @update gess 4/11/98
* @param node to begin scan from
* @return ptr to first node from given node or NULL
*/
nsNode* nsBTree::First(const nsNode& aNode) const{
nsNode* result=0;
if(mRoot) {
result=mRoot;
while(result->GetLeftNode()) {
result=result->GetLeftNode();
}
}
return result;
}
/**
* Retrive ptr to last node
*
* @update gess 4/11/98
* @return ptr to last node rel to root or NULL
*/
nsNode* nsBTree::Last(void) const{
if(mRoot)
return Last(*mRoot);
return 0;
}
/**
* Retrive ptr to last node rel to given node
*
* @update gess 4/11/98
* @param node to begin scan from
* @return ptr to first node from given node or NULL
*/
nsNode* nsBTree::Last(const nsNode& aNode) const{
nsNode* result=0;
if(mRoot) {
result=mRoot;
while(result->GetRightNode()) {
result=result->GetRightNode();
}
}
return result;
}
/**
* Retrive ptr to prior node rel to given node
*
* @update gess 4/11/98
* @param node to begin scan from
* @return ptr to prior node from given node or NULL
*/
nsNode* nsBTree::Before(const nsNode& aNode) const{
if(aNode.GetLeftNode())
return Last(*aNode.GetLeftNode());
//otherwise...
nsNode* node1=(nsNode*)&aNode;
nsNode* node2=aNode.GetParentNode();
while((node2) && (node1==node2->GetLeftNode())) {
node1=node2;
node2=node2->GetParentNode();
}
return node2;
}
/**
* Retrive ptr to next node rel to given node
*
* @update gess 4/11/98
* @param node to begin scan from
* @return ptr to next node from given node or NULL
*/
nsNode* nsBTree::After(const nsNode& aNode) const{
if(aNode.GetRightNode())
return First(*aNode.GetRightNode());
//otherwise...
nsNode* node1=(nsNode*)&aNode;
nsNode* node2=aNode.GetParentNode();
while((node2) && (node1==node2->GetRightNode())) {
node1=node2;
node2=node2->GetParentNode();
}
return node2;
}
/**
* Scan for given node
*
* @update gess 4/11/98
* @param node to find
* @return ptr to given node, or NULL
*/
nsNode* nsBTree::Find(const nsNode& aNode) const{
nsNode* result=mRoot;
while((result) && (!(aNode==(*result)))) {
if(aNode<*result)
result=result->mLeft;
else result=result->mRight;
}
return (nsNode*)result;
}
/**
* Rebalances tree around the given node. This only
* needs to be called after a node is deleted.
* This method does nothing for btrees, but is
* needed for RBTrees.
*
* @update gess 4/11/98
* @param aNode -- node to balance around
* @return this
*/
nsBTree& nsBTree::ReBalance(nsNode& aNode){
return *this;
}
/**
*
*
* @update gess 4/11/98
* @param
* @return
*/
const nsBTree& nsBTree::ForEach(nsNodeFunctor& aFunctor,nsNode* aNode) const{
nsNode* node1 =(aNode) ? aNode : mRoot;
if(node1) {
if(node1->mLeft)
ForEach(aFunctor,node1->mLeft); //begin by walking left side
aFunctor(*node1);
if(node1->mRight)
ForEach(aFunctor,node1->mRight); //then search right side
}
return *this;
}

View File

@@ -1,283 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/**
* This file defines the binary tree class and it
* nsNode child class. Note that like all nsBTree
* containers, this one does not automatically balance.
* (Find for random data, bad for pre-ordered data).
*
* This simple version stores nodes, and the
* nodes store void* ptrs.
*
* @update gess 4/11/98
*/
/**
* nsNode
*
* @update gess 4/11/98
* @param
* @return
*/
#ifndef _BTREE_H
#define _BTREE_H
#include "nscore.h"
struct NS_BASE nsNode {
/**
*
* @update gess4/20/98
* @param
* @return
*/
nsNode();
/**
* Copy constructor
* @update gess 4/11/98
*/
nsNode(const nsNode& aNode);
/**
* destructor
* @update gess 4/11/98
*/
virtual ~nsNode();
/**
* Retrieve parent node
*
* @update gess 4/11/98
* @return
*/
nsNode* GetParentNode(void) const;
/**
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* GetLeftNode() const;
/**
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* GetRightNode() const;
/**
*
* @update gess 4/11/98
* @param
* @return
*/
virtual nsNode& operator=(const nsNode& aNode);
/**
* This method gets called to determine which of
* two nodes is less. When you create your own
* subclass of nsNode, this is the most important
* method for you to overload.
*
* @update gess 4/11/98
* @param
* @return
*/
virtual PRBool operator<(const nsNode& aNode) const=0;
/**
* This method gets called to determine which of
* two nodes is less. When you create your own
* subclass of nsNode, this is the most important
* method for you to overload.
*
* @update gess 4/11/98
* @param
* @return
*/
virtual PRBool operator==(const nsNode& aNode) const=0;
enum eRBColor {eRed,eBlack};
nsNode* mParent;
nsNode* mLeft;
nsNode* mRight;
eRBColor mColor;
};
/**
* The Nodefunctor class is used when you want to create
* callbacks between the nsRBTree and your generic code.
*
* @update gess4/20/98
*/
class NS_BASE nsNodeFunctor {
public:
virtual nsNodeFunctor& operator()(nsNode& aNode)=0;
};
/****************************************************
* Here comes the nsBTree class...
****************************************************/
class NS_BASE nsBTree {
public:
friend class nsBTreeIterator;
nsBTree();
virtual ~nsBTree();
/**
* Add given node reference into our tree.
*
* @update gess 4/11/98
* @param aNode is a ref to a node to be added
* @return newly added node
*/
nsNode* Add(nsNode& aNode);
/**
* Remove given node reference into our tree.
*
* @update gess 4/11/98
* @param aNode is a ref to a node to be removed
* @return Ptr to node if found (and removed) or NULL
*/
nsNode* Remove(nsNode& aNode);
/**
* Clears the tree of any data.
* Be careful here if your objects are heap based!
* This method doesn't free the objects, so if you
* don't have your own pointers, they will become
* orphaned.
*
* @update gess 4/11/98
* @param
* @return this
*/
nsBTree& Empty(nsNode* aNode=0);
/**
* This method destroys all the objects in the tree.
* WARNING: Never call this method on stored objects
* that are stack-based!
*
* @update gess 4/11/98
* @param
* @return this
*/
nsBTree& Erase(nsNode* aNode=0);
/**
* Retrieve ptr to 1st node in tree (starting at root)
*
* @update gess 4/11/98
* @return ptr to 1st node, possible to be NULL
*/
nsNode* First(void) const;
/**
* Find first node in tree starting at given node
*
* @update gess 4/11/98
* @param aNode node to begin 1st search from
* @return ptr to 1st node below given node
*/
nsNode* First(const nsNode& aNode) const;
/**
* Retrieve ptr to last node in tree relative to root.
*
* @update gess 4/11/98
* @return ptr to last node or NULL
*/
nsNode* Last(void) const;
/**
* Retrieve ptr to last node in tree relative to given node.
*
* @update gess 4/11/98
* @param node to find last node from
* @return ptr to last node or NULL
*/
nsNode* Last(const nsNode& aNode) const;
/**
* Retrieve a ptr to the node that preceeds given node
*
* @update gess 4/11/98
* @param aNode used as reference to find prev.
* @return ptr to prev node or NULL
*/
nsNode* Before(const nsNode& aNode) const;
/**
* Retrieve a ptr to the node after given node
*
* @update gess 4/11/98
* @param aNode used as reference to find next.
* @return ptr to next node or NULL
*/
nsNode* After(const nsNode& aNode) const;
/**
* Find given node in tree.
* (Why would you want to find a node you already have?)
*
* @update gess 4/11/98
* @param aNode is the node you're searching for
* @return ptr to node if found, or NULL
*/
nsNode* Find(const nsNode& aNode) const;
/**
* Walks the tree, starting with root.
*
* @update gess 4/11/98
*/
virtual const nsBTree& ForEach(nsNodeFunctor& aFunctor,nsNode* aNode=0) const;
protected:
/**
* Rebalances tree around the given node. This only
* needs to be called after a node is deleted.
*
* @update gess 4/11/98
* @param aNode -- node to balance around
* @return this
*/
virtual nsBTree& ReBalance(nsNode& aNode);
nsNode* mRoot;
};
#endif

View File

@@ -1,108 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsBaseDLL.h"
#include "nscore.h"
#include "nsIProperties.h"
#include "nsProperties.h"
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
#include "nsCOMPtr.h"
static NS_DEFINE_CID(kComponentManagerCID, NS_COMPONENTMANAGER_CID);
PRInt32 gLockCount = 0;
NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
extern "C" NS_EXPORT nsresult
NSRegisterSelf(nsISupports* aServMgr, const char* path)
{
nsresult rv;
nsCOMPtr<nsIServiceManager> servMgr(do_QueryInterface(aServMgr, &rv));
if (NS_FAILED(rv)) return rv;
nsIComponentManager* compMgr;
rv = servMgr->GetService(kComponentManagerCID,
nsIComponentManager::GetIID(),
(nsISupports**)&compMgr);
if (NS_FAILED(rv)) return rv;
rv = compMgr->RegisterComponent(kPropertiesCID, NULL, NULL,
path, PR_TRUE, PR_TRUE);
(void)servMgr->ReleaseService(kComponentManagerCID, compMgr);
return rv;
}
extern "C" NS_EXPORT nsresult
NSUnregisterSelf(nsISupports* aServMgr, const char* path)
{
nsresult rv;
nsCOMPtr<nsIServiceManager> servMgr(do_QueryInterface(aServMgr, &rv));
if (NS_FAILED(rv)) return rv;
nsIComponentManager* compMgr;
rv = servMgr->GetService(kComponentManagerCID,
nsIComponentManager::GetIID(),
(nsISupports**)&compMgr);
if (NS_FAILED(rv)) return rv;
rv = compMgr->UnregisterFactory(kPropertiesCID, path);
(void)servMgr->ReleaseService(kComponentManagerCID, compMgr);
return rv;
}
extern "C" NS_EXPORT nsresult
NSGetFactory(nsISupports* aServMgr,
const nsCID& aClass,
const char *aClassName,
const char *aProgID,
nsIFactory** aFactory)
{
nsresult res;
if (!aFactory) {
return NS_ERROR_NULL_POINTER;
}
if (aClass.Equals(kPropertiesCID)) {
nsPropertiesFactory *propsFactory = new nsPropertiesFactory();
if (!propsFactory) {
return NS_ERROR_OUT_OF_MEMORY;
}
res = propsFactory->QueryInterface(kIFactoryIID, (void**) aFactory);
if (NS_FAILED(res)) {
*aFactory = nsnull;
delete propsFactory;
}
return res;
}
return NS_NOINTERFACE;
}
extern "C" NS_EXPORT PRBool
NSCanUnload(nsISupports* serviceMgr)
{
return PR_FALSE; // XXX can we unload this?
}

View File

@@ -1,26 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsBaseDLL_h___
#define nsBaseDLL_h___
#include "prtypes.h"
extern PRInt32 gLockCount;
#endif /* nsBaseDLL_h___ */

View File

@@ -1,137 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIByteBuffer.h"
#include "nsIInputStream.h"
#include "nsCRT.h"
#define MIN_BUFFER_SIZE 32
class ByteBufferImpl : public nsIByteBuffer {
public:
ByteBufferImpl(PRUint32 aBufferSize);
~ByteBufferImpl();
NS_DECL_ISUPPORTS
virtual PRUint32 GetLength(void) const;
virtual PRUint32 GetBufferSize(void) const;
virtual char* GetBuffer() const;
virtual PRBool Grow(PRUint32 aNewSize);
virtual PRInt32 Fill(nsresult* aErrorCode, nsIInputStream* aStream,
PRUint32 aKeep);
char* mBuffer;
PRUint32 mSpace;
PRUint32 mLength;
};
ByteBufferImpl::ByteBufferImpl(PRUint32 aBufferSize)
{
if (aBufferSize < MIN_BUFFER_SIZE) {
aBufferSize = MIN_BUFFER_SIZE;
}
mSpace = aBufferSize;
mBuffer = new char[aBufferSize];
mLength = 0;
NS_INIT_REFCNT();
}
NS_DEFINE_IID(kByteBufferIID,NS_IBYTE_BUFFER_IID);
NS_IMPL_ISUPPORTS(ByteBufferImpl,kByteBufferIID)
ByteBufferImpl::~ByteBufferImpl()
{
if (nsnull != mBuffer) {
delete[] mBuffer;
mBuffer = nsnull;
}
mLength = 0;
}
PRUint32 ByteBufferImpl::GetLength(void) const
{
return mLength;
}
PRUint32 ByteBufferImpl::GetBufferSize(void) const
{
return mSpace;
}
char* ByteBufferImpl::GetBuffer(void) const
{
return mBuffer;
}
PRBool ByteBufferImpl::Grow(PRUint32 aNewSize)
{
if (aNewSize < MIN_BUFFER_SIZE) {
aNewSize = MIN_BUFFER_SIZE;
}
char* newbuf = new char[aNewSize];
if (nsnull != newbuf) {
if (0 != mLength) {
nsCRT::memcpy(newbuf, mBuffer, mLength);
}
delete[] mBuffer;
mBuffer = newbuf;
return PR_TRUE;
}
return PR_FALSE;
}
PRInt32 ByteBufferImpl::Fill(nsresult* aErrorCode, nsIInputStream* aStream,
PRUint32 aKeep)
{
NS_PRECONDITION(nsnull != aStream, "null stream");
NS_PRECONDITION(aKeep <= mLength, "illegal keep count");
if ((nsnull == aStream) || (PRUint32(aKeep) > PRUint32(mLength))) {
// whoops
*aErrorCode = NS_BASE_STREAM_ILLEGAL_ARGS;
return -1;
}
if (0 != aKeep) {
// Slide over kept data
nsCRT::memmove(mBuffer, mBuffer + (mLength - aKeep), aKeep);
}
// Read in some new data
mLength = aKeep;
PRUint32 nb;
*aErrorCode = aStream->Read(mBuffer + aKeep, mSpace - aKeep, &nb);
if (NS_SUCCEEDED(*aErrorCode)) {
mLength += nb;
}
else
nb = 0;
return nb;
}
NS_BASE nsresult NS_NewByteBuffer(nsIByteBuffer** aInstancePtrResult,
nsISupports* aOuter,
PRUint32 aBufferSize)
{
if (nsnull != aOuter) {
return NS_ERROR_NO_AGGREGATION;
}
ByteBufferImpl* it = new ByteBufferImpl(aBufferSize);
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kByteBufferIID, (void **) aInstancePtrResult);
}

View File

@@ -1,523 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/**
* MODULE NOTES:
* @update gess7/30/98
*
* Much as I hate to do it, we were using string compares wrong.
* Often, programmers call functions like strcmp(s1,s2), and pass
* one or more null strings. Rather than blow up on these, I've
* added quick checks to ensure that cases like this don't cause
* us to fail.
*
* In general, if you pass a null into any of these string compare
* routines, we simply return 0.
*/
#include "nsCRT.h"
#include "nsUnicharUtilCIID.h"
#include "nsIServiceManager.h"
#include "nsICaseConversion.h"
// XXX Bug: These tables don't lowercase the upper 128 characters properly
// This table maps uppercase characters to lower case characters;
// characters that are neither upper nor lower case are unaffected.
static const unsigned char kUpper2Lower[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
64,
// upper band mapped to lower [A-Z] => [a-z]
97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,
112,113,114,115,116,117,118,119,120,121,122,
91, 92, 93, 94, 95,
96, 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,
112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,
128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,
144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,
160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,
176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,
192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,
208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,
224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,
240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255
};
static const unsigned char kLower2Upper[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
96,
// lower band mapped to upper [a-z] => [A-Z]
65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
123,124,125,126,127,
128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,
144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,
160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,
176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,
192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,
208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,
224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,
240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255
};
// XXX bug: this doesn't map 0x80 to 0x9f properly
static const PRUnichar kIsoLatin1ToUCS2[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
96, 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111,
112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,
128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,
144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,
160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,
176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,
192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,
208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,
224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,
240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255
};
//----------------------------------------------------------------------
#define TOLOWER(_ucs2) \
(((_ucs2) < 128) ? PRUnichar(kUpper2Lower[_ucs2]) : _ToLower(_ucs2))
#define TOUPPER(_ucs2) \
(((_ucs2) < 128) ? PRUnichar(kLower2Upper[_ucs2]) : _ToUpper(_ucs2))
class HandleCaseConversionShutdown : public nsIShutdownListener {
public :
NS_IMETHOD OnShutdown(const nsCID& cid, nsISupports* service);
HandleCaseConversionShutdown(void) { NS_INIT_REFCNT(); }
virtual ~HandleCaseConversionShutdown(void) {}
NS_DECL_ISUPPORTS
};
static NS_DEFINE_CID(kUnicharUtilCID, NS_UNICHARUTIL_CID);
static NS_DEFINE_IID(kICaseConversionIID, NS_ICASECONVERSION_IID);
static nsICaseConversion * gCaseConv = NULL;
static NS_DEFINE_IID(kIShutdownListenerIID, NS_ISHUTDOWNLISTENER_IID);
NS_IMPL_ISUPPORTS(HandleCaseConversionShutdown, kIShutdownListenerIID);
nsresult
HandleCaseConversionShutdown::OnShutdown(const nsCID& cid, nsISupports* service)
{
if (cid.Equals(kUnicharUtilCID)) {
NS_ASSERTION(service == gCaseConv, "wrong service!");
nsrefcnt cnt = gCaseConv->Release();
gCaseConv = NULL;
}
return NS_OK;
}
static HandleCaseConversionShutdown* gListener = NULL;
static void StartUpCaseConversion()
{
nsresult err;
if ( NULL == gListener )
{
gListener = new HandleCaseConversionShutdown();
gListener->AddRef();
}
err = nsServiceManager::GetService(kUnicharUtilCID, kICaseConversionIID,
(nsISupports**) &gCaseConv, gListener);
}
static void CheckCaseConversion()
{
if(NULL == gCaseConv )
StartUpCaseConversion();
NS_ASSERTION( gCaseConv != NULL , "cannot obtain UnicharUtil");
}
static PRUnichar _ToLower(PRUnichar aChar)
{
PRUnichar oLower;
CheckCaseConversion();
nsresult err = gCaseConv->ToLower(aChar, &oLower);
NS_ASSERTION( NS_SUCCEEDED(err), "failed to communicate to UnicharUtil");
return ( NS_SUCCEEDED(err) ) ? oLower : aChar ;
}
static PRUnichar _ToUpper(PRUnichar aChar)
{
nsresult err;
PRUnichar oUpper;
CheckCaseConversion();
err = gCaseConv->ToUpper(aChar, &oUpper);
NS_ASSERTION( NS_SUCCEEDED(err), "failed to communicate to UnicharUtil");
return ( NS_SUCCEEDED(err) ) ? oUpper : aChar ;
}
//----------------------------------------------------------------------
PRUnichar nsCRT::ToUpper(PRUnichar aChar)
{
return TOUPPER(aChar);
}
PRUnichar nsCRT::ToLower(PRUnichar aChar)
{
return TOLOWER(aChar);
}
PRBool nsCRT::IsUpper(PRUnichar aChar)
{
return aChar != nsCRT::ToLower(aChar);
}
PRBool nsCRT::IsLower(PRUnichar aChar)
{
return aChar != nsCRT::ToUpper(aChar);
}
////////////////////////////////////////////////////////////////////////////////
// My lovely strtok routine
#define IS_DELIM(m, c) ((m)[(c) >> 3] & (1 << ((c) & 7)))
#define SET_DELIM(m, c) ((m)[(c) >> 3] |= (1 << ((c) & 7)))
#define DELIM_TABLE_SIZE 32
char* nsCRT::strtok(char* str, const char* delims, char* *newStr)
{
NS_ASSERTION(str, "Unlike regular strtok, the first argument cannot be null.");
char delimTable[DELIM_TABLE_SIZE];
PRUint32 i;
char* result;
for (i = 0; i < DELIM_TABLE_SIZE; i++)
delimTable[i] = '\0';
for (i = 0; i < DELIM_TABLE_SIZE && delims[i]; i++) {
SET_DELIM(delimTable, delims[i]);
}
NS_ASSERTION(delims[i] == '\0', "too many delimiters");
// skip to beginning
while (*str && IS_DELIM(delimTable, *str)) {
str++;
}
result = str;
// fix up the end of the token
while (*str) {
if (IS_DELIM(delimTable, *str)) {
*str++ = '\0';
break;
}
str++;
}
*newStr = str;
return str == result ? NULL : result;
}
////////////////////////////////////////////////////////////////////////////////
PRUint32 nsCRT::strlen(const PRUnichar* s)
{
PRUint32 len = 0;
if(s) {
while (*s++ != 0) {
len++;
}
}
return len;
}
/**
* Compare unichar string ptrs, stopping at the 1st null
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 and s2 both point to unichar strings
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strcmp(const PRUnichar* s1, const PRUnichar* s2)
{
if(s1 && s2) {
for (;;) {
PRUnichar c1 = *s1++;
PRUnichar c2 = *s2++;
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
if ((0==c1) || (0==c2)) break;
}
}
return 0;
}
/**
* Compare unichar string ptrs, stopping at the 1st null or nth char.
* NOTE: If either is null, we return 0.
* @update gess7/30/98
* @param s1 and s2 both point to unichar strings
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strncmp(const PRUnichar* s1, const PRUnichar* s2, PRUint32 n)
{
if(s1 && s2) {
if(n != 0) {
do {
PRUnichar c1 = *s1++;
PRUnichar c2 = *s2++;
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
if ((0==c1) || (0==c2)) break;
} while (--n != 0);
}
}
return 0;
}
/**
* Compare unichar string ptrs without regard to case
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 and s2 both point to unichar strings
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strcasecmp(const PRUnichar* s1, const PRUnichar* s2)
{
if(s1 && s2) {
for (;;) {
PRUnichar c1 = *s1++;
PRUnichar c2 = *s2++;
if (c1 != c2) {
c1 = TOLOWER(c1);
c2 = TOLOWER(c2);
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
}
if ((0==c1) || (0==c2)) break;
}
}
return 0;
}
/**
* Compare unichar string ptrs, stopping at the 1st null or nth char;
* also ignoring the case of characters.
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 and s2 both point to unichar strings
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strncasecmp(const PRUnichar* s1, const PRUnichar* s2, PRUint32 n)
{
if(s1 && s2) {
if(0<n){
while (--n >= 0) {
PRUnichar c1 = *s1++;
PRUnichar c2 = *s2++;
if (c1 != c2) {
c1 = TOLOWER(c1);
c2 = TOLOWER(c2);
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
}
if ((0==c1) || (0==c2)) break;
}
}
}
return 0;
}
/**
* Compare a unichar string ptr to cstring.
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 points to unichar string
* @param s2 points to cstring
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strcmp(const PRUnichar* s1, const char* s2)
{
if(s1 && s2) {
for (;;) {
PRUnichar c1 = *s1++;
PRUnichar c2 = kIsoLatin1ToUCS2[*(const unsigned char*)s2++];
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
if ((0==c1) || (0==c2)) break;
}
}
return 0;
}
/**
* Compare a unichar string ptr to cstring, up to N chars.
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 points to unichar string
* @param s2 points to cstring
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strncmp(const PRUnichar* s1, const char* s2, PRUint32 n)
{
if(s1 && s2) {
if(n != 0){
do {
PRUnichar c1 = *s1++;
PRUnichar c2 = kIsoLatin1ToUCS2[*(const unsigned char*)s2++];
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
if ((0==c1) || (0==c2)) break;
} while (--n != 0);
}
}
return 0;
}
/**
* Compare a unichar string ptr to cstring without regard to case
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 points to unichar string
* @param s2 points to cstring
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strcasecmp(const PRUnichar* s1, const char* s2)
{
if(s1 && s2) {
for (;;) {
PRUnichar c1 = *s1++;
PRUnichar c2 = kIsoLatin1ToUCS2[*(const unsigned char*)s2++];
if (c1 != c2) {
c1 = TOLOWER(c1);
c2 = TOLOWER(c2);
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
}
if ((0==c1) || (0==c2)) break;
}
}
return 0;
}
/**
* Caseless compare up to N chars between unichar string ptr to cstring.
* NOTE: If both are null, we return 0.
* @update gess7/30/98
* @param s1 points to unichar string
* @param s2 points to cstring
* @return 0 if they match, -1 if s1<s2; 1 if s1>s2
*/
PRInt32 nsCRT::strncasecmp(const PRUnichar* s1, const char* s2, PRUint32 n)
{
if(s1 && s2){
if(n != 0){
do {
PRUnichar c1 = *s1++;
PRUnichar c2 = kIsoLatin1ToUCS2[*(const unsigned char*)s2++];
if (c1 != c2) {
c1 = TOLOWER(c1);
c2 = TOLOWER(c2);
if (c1 != c2) {
if (c1 < c2) return -1;
return 1;
}
}
if (c1 == 0) break;
} while (--n != 0);
}
}
return 0;
}
PRUnichar* nsCRT::strdup(const PRUnichar* str)
{
PRUint32 len = nsCRT::strlen(str) + 1; // add one for null
PRUnichar* rslt = new PRUnichar[len];
if (rslt == NULL) return NULL;
nsCRT::memcpy(rslt, str, len * sizeof(PRUnichar));
return rslt;
}
PRUint32 nsCRT::HashValue(const PRUnichar* us)
{
PRUint32 rv = 0;
if(us) {
PRUnichar ch;
while ((ch = *us++) != 0) {
// FYI: rv = rv*37 + ch
rv = ((rv << 5) + (rv << 2) + rv) + ch;
}
}
return rv;
}
PRUint32 nsCRT::HashValue(const PRUnichar* us, PRUint32* uslenp)
{
PRUint32 rv = 0;
PRUint32 len = 0;
PRUnichar ch;
while ((ch = *us++) != 0) {
// FYI: rv = rv*37 + ch
rv = ((rv << 5) + (rv << 2) + rv) + ch;
len++;
}
*uslenp = len;
return rv;
}
PRInt32 nsCRT::atoi( const PRUnichar *string )
{
return atoi(string);
}

View File

@@ -1,196 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsCRT_h___
#define nsCRT_h___
#include <stdlib.h>
#include <string.h>
#include "plstr.h"
#include "nscore.h"
#define CR '\015'
#define LF '\012'
#define VTAB '\013'
#define FF '\014'
#define TAB '\011'
#define CRLF "\015\012" /* A CR LF equivalent string */
// This macro can be used in a class declaration for classes that want
// to ensure that their instance memory is zeroed.
#define NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW \
void* operator new(size_t sz) { \
void* rv = ::operator new(sz); \
if (rv) { \
nsCRT::zero(rv, sz); \
} \
return rv; \
} \
void operator delete(void* ptr) { \
::operator delete(ptr); \
}
// This macro works with the next macro to declare a non-inlined
// version of the above.
#define NS_DECL_ZEROING_OPERATOR_NEW \
void* operator new(size_t sz); \
void operator delete(void* ptr);
#define NS_IMPL_ZEROING_OPERATOR_NEW(_class) \
void* _class::operator new(size_t sz) { \
void* rv = ::operator new(sz); \
if (rv) { \
nsCRT::zero(rv, sz); \
} \
return rv; \
} \
void _class::operator delete(void* ptr) { \
::operator delete(ptr); \
}
/// This is a wrapper class around all the C runtime functions.
class NS_BASE nsCRT {
public:
/** Copy bytes from aSrc to aDest.
@param aDest the destination address
@param aSrc the source address
@param aCount the number of bytes to copy
*/
static void memcpy(void* aDest, const void* aSrc, PRUint32 aCount) {
::memcpy(aDest, aSrc, (size_t)aCount);
}
static void memmove(void* aDest, const void* aSrc, PRUint32 aCount) {
::memmove(aDest, aSrc, (size_t)aCount);
}
static void memset(void* aDest, PRUint8 aByte, PRUint32 aCount) {
::memset(aDest, aByte, aCount);
}
static void zero(void* aDest, PRUint32 aCount) {
::memset(aDest, 0, (size_t)aCount);
}
/** Compute the string length of s
@param s the string in question
@return the length of s
*/
static PRUint32 strlen(const char* s) {
return PRUint32(::strlen(s));
}
/// Compare s1 and s2.
static PRInt32 strcmp(const char* s1, const char* s2) {
return PRUint32(PL_strcmp(s1, s2));
}
static PRUint32 strncmp(const char* s1, const char* s2,
PRUint32 aMaxLen) {
return PRInt32(PL_strncmp(s1, s2, aMaxLen));
}
/// Case-insensitive string comparison.
static PRInt32 strcasecmp(const char* s1, const char* s2) {
return PRInt32(PL_strcasecmp(s1, s2));
}
/// Case-insensitive string comparison with length
static PRInt32 strncasecmp(const char* s1, const char* s2, PRUint32 aMaxLen) {
return PRInt32(PL_strncasecmp(s1, s2, aMaxLen));
}
static PRInt32 strncmp(const char* s1, const char* s2, PRInt32 aMaxLen) {
return PRInt32(PL_strncmp(s1,s2,aMaxLen));
}
static char* strdup(const char* str) {
return PL_strdup(str);
}
/**
How to use this fancy (thread-safe) version of strtok:
void main( void ) {
printf( "%s\n\nTokens:\n", string );
// Establish string and get the first token:
char* newStr;
token = nsCRT::strtok( string, seps, &newStr );
while( token != NULL ) {
// While there are tokens in "string"
printf( " %s\n", token );
// Get next token:
token = nsCRT::strtok( newStr, seps, &newStr );
}
}
*/
static char* strtok(char* str, const char* delims, char* *newStr);
/// Like strlen except for ucs2 strings
static PRUint32 strlen(const PRUnichar* s);
/// Like strcmp except for ucs2 strings
static PRInt32 strcmp(const PRUnichar* s1, const PRUnichar* s2);
/// Like strcmp except for ucs2 strings
static PRInt32 strncmp(const PRUnichar* s1, const PRUnichar* s2,
PRUint32 aMaxLen);
/// Like strcasecmp except for ucs2 strings
static PRInt32 strcasecmp(const PRUnichar* s1, const PRUnichar* s2);
/// Like strncasecmp except for ucs2 strings
static PRInt32 strncasecmp(const PRUnichar* s1, const PRUnichar* s2,
PRUint32 aMaxLen);
/// Like strcmp with a char* and a ucs2 string
static PRInt32 strcmp(const PRUnichar* s1, const char* s2);
/// Like strncmp with a char* and a ucs2 string
static PRInt32 strncmp(const PRUnichar* s1, const char* s2,
PRUint32 aMaxLen);
/// Like strcasecmp with a char* and a ucs2 string
static PRInt32 strcasecmp(const PRUnichar* s1, const char* s2);
/// Like strncasecmp with a char* and a ucs2 string
static PRInt32 strncasecmp(const PRUnichar* s1, const char* s2,
PRUint32 aMaxLen);
// Note: uses new[] to allocate memory, so you must use delete[] to
// free the memory
static PRUnichar* strdup(const PRUnichar* str);
/// Compute a hashcode for a ucs2 string
static PRUint32 HashValue(const PRUnichar* s1);
/// Same as above except that we return the length in s1len
static PRUint32 HashValue(const PRUnichar* s1, PRUint32* s1len);
/// String to integer.
static PRInt32 atoi( const PRUnichar *string );
static PRUnichar ToUpper(PRUnichar aChar);
static PRUnichar ToLower(PRUnichar aChar);
static PRBool IsUpper(PRUnichar aChar);
static PRBool IsLower(PRUnichar aChar);
};
#endif /* nsCRT_h___ */

View File

@@ -1,553 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsDeque.h"
#include "nsCRT.h"
//#define _SELFTEST_DEQUE 1
#undef _SELFTEST_DEQUE
/**
* Standard constructor
* @update gess4/18/98
* @return new deque
*/
nsDeque::nsDeque(nsDequeFunctor* aDeallocator) {
mDeallocator=aDeallocator;
mCapacity=eGrowthDelta;
mOrigin=mSize=0;
mData=new void*[mCapacity];
}
/**
* Destructor
* @update gess4/18/98
*/
nsDeque::~nsDeque() {
Erase();
delete [] mData;
mData=0;
if(mDeallocator) {
delete mDeallocator;
}
mDeallocator=0;
}
/**
* Returns the number of elements currently stored in
* this deque.
*
* @update gess4/18/98
* @param
* @return int contains element count
*/
PRInt32 nsDeque::GetSize(void) const {
return mSize;
}
void nsDeque::SetDeallocator(nsDequeFunctor* aDeallocator){
if(mDeallocator) {
delete mDeallocator;
}
mDeallocator=aDeallocator;
}
/**
* Remove all items from container without destroying them.
*
* @update gess4/18/98
* @param
* @return
*/
nsDeque& nsDeque::Empty() {
if((0<mCapacity) && (mData)) {
nsCRT::zero(mData,mCapacity*sizeof(mData));
}
mSize=0;
mOrigin=0;
return *this;
}
/**
* Remove and delete all items from container
*
* @update gess4/18/98
* @return this
*/
nsDeque& nsDeque::Erase() {
if(mDeallocator) {
ForEach(*mDeallocator);
}
return Empty();
}
/**
* This method adds an item to the end of the deque.
* This operation has the potential to cause the
* underlying buffer to resize.
*
* @update gess4/18/98
* @param anItem: new item to be added to deque
* @return nada
*/
nsDeque& nsDeque::Push(void* anItem) {
if(mSize==mCapacity) {
void** temp=new void*[mCapacity+eGrowthDelta];
//Here's the interesting part: You can't just move the elements
//directy (in situ) from the old buffer to the new one.
//Since capacity has changed, the old origin doesn't make
//sense anymore. It's better to resequence the elements now.
int tempi=0;
int i=0;
int j=0;
for(i=mOrigin;i<mCapacity;i++) temp[tempi++]=mData[i]; //copy the leading elements...
for(j=0;j<mOrigin;j++) temp[tempi++]=mData[j]; //copy the trailing elements...
mCapacity+=eGrowthDelta;
mOrigin=0; //now realign the origin...
delete[]mData;
mData=temp;
}
int offset=mOrigin+mSize;
if(offset<mCapacity)
mData[offset]=anItem;
else mData[offset-mCapacity]=anItem;
mSize++;
return *this;
}
/**
* This method adds an item to the front of the deque.
* This operation has the potential to cause the
* underlying buffer to resize.
*
* @update gess4/18/98
* @param anItem: new item to be added to deque
* @return nada
*/
nsDeque& nsDeque::PushFront(void* anItem) {
if(mOrigin>0) {
mOrigin-=1;
mData[mOrigin]=anItem;
mSize++;
}
else {
Push(anItem);
mOrigin=mSize-1;
}
return *this;
}
/**
* Remove and return the last item in the container.
*
* @update gess4/18/98
* @param none
* @return ptr to last item in container
*/
void* nsDeque::Pop(void) {
void* result=0;
if(mSize>0) {
int offset=mOrigin+mSize-1;
if(offset>=mCapacity)
offset-=mCapacity;
result=mData[offset];
mData[offset]=0;
mSize--;
if(0==mSize)
mOrigin=0;
}
return result;
}
/**
* This method gets called you want to remove and return
* the first member in the container.
*
* @update gess4/18/98
* @param nada
* @return last item in container
*/
void* nsDeque::PopFront() {
void* result=0;
if(mSize>0) {
result=mData[mOrigin];
mData[mOrigin++]=0; //zero it out for debugging purposes.
mSize--;
if(mCapacity==mOrigin) //you popped off the end, so cycle back around...
mOrigin=0;
if(0==mSize)
mOrigin=0;
}
NS_ASSERTION(mOrigin<mCapacity,"Error: Bad origin");
return result;
}
/**
* This method gets called you want to peek at the topmost
* member without removing it.
*
* @update gess4/18/98
* @param nada
* @return last item in container
*/
void* nsDeque::Peek() {
void* result=0;
if(mSize>0) {
result=mData[mOrigin];
}
return result;
}
/**
* Call this to retrieve the ith element from this container.
* Keep in mind that accessing the underlying elements is
* done in a relative fashion. Object 0 is not necessarily
* the first element (the first element is at mOrigin).
*
* @update gess4/18/98
* @param anIndex : 0 relative offset of item you want
* @return void* or null
*/
void* nsDeque::ObjectAt(PRInt32 anIndex) const {
void* result=0;
if((anIndex>=0) && (anIndex<mSize))
{
if(anIndex<(mCapacity-mOrigin)) {
result=mData[mOrigin+anIndex];
}
else {
result=mData[anIndex-(mCapacity-mOrigin)];
}
}
return result;
}
/**
* Create and return an iterator pointing to
* the beginning of the queue. Note that this
* takes the circular buffer semantics into account.
*
* @update gess4/18/98
* @return new deque iterator, init'ed to 1st item
*/
nsDequeIterator nsDeque::Begin(void) const{
return nsDequeIterator(*this,0);
}
/**
* Create and return an iterator pointing to
* the last of the queue. Note that this
* takes the circular buffer semantics into account.
*
* @update gess4/18/98
* @return new deque iterator, init'ed to last item
*/
nsDequeIterator nsDeque::End(void) const{
return nsDequeIterator(*this,mSize);
}
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
void nsDeque::ForEach(nsDequeFunctor& aFunctor) const{
int i=0;
for(i=0;i<mSize;i++){
void* obj=ObjectAt(i);
obj=aFunctor(obj);
}
}
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code. Iteration continues until your
* functor returns a non-null.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void* nsDeque::FirstThat(nsDequeFunctor& aFunctor) const{
int i=0;
for(i=0;i<mSize;i++){
void* obj=ObjectAt(i);
obj=aFunctor(obj);
if(obj)
return obj;
}
return 0;
}
/******************************************************
* Here comes the nsDequeIterator class...
******************************************************/
/**
* DequeIterator is an object that knows how to iterate (forward and backward)
* a Deque. Normally, you don't need to do this, but there are some special
* cases where it is pretty handy, so here you go.
*
* This is a standard dequeiterator constructor
*
* @update gess4/18/98
* @param aQueue is the deque object to be iterated
* @param anIndex is the starting position for your iteration
*/
nsDequeIterator::nsDequeIterator(const nsDeque& aQueue,int anIndex): mIndex(anIndex), mDeque(aQueue) {
}
/**
* Copy construct a new iterator beginning with given
*
* @update gess4/20/98
* @param aCopy is another iterator to copy from
* @return
*/
nsDequeIterator::nsDequeIterator(const nsDequeIterator& aCopy) : mIndex(aCopy.mIndex), mDeque(aCopy.mDeque) {
}
/**
* Moves iterator to first element in deque
* @update gess4/18/98
* @return this
*/
nsDequeIterator& nsDequeIterator::First(void){
mIndex=0;
return *this;
}
/**
* Standard assignment operator for dequeiterator
*
* @update gess4/18/98
* @param aCopy is an iterator to be copied from
* @return *this
*/
nsDequeIterator& nsDequeIterator::operator=(const nsDequeIterator& aCopy) {
//queue's are already equal.
mIndex=aCopy.mIndex;
return *this;
}
/**
* preform ! operation against to iterators to test for equivalence
* (or lack thereof)!
*
* @update gess4/18/98
* @param anIter is the object to be compared to
* @return TRUE if NOT equal.
*/
PRBool nsDequeIterator::operator!=(nsDequeIterator& anIter) {
return PRBool(!this->operator==(anIter));
}
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool nsDequeIterator::operator<(nsDequeIterator& anIter) {
return PRBool(((mIndex<anIter.mIndex) && (&mDeque==&anIter.mDeque)));
}
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool nsDequeIterator::operator==(nsDequeIterator& anIter) {
return PRBool(((mIndex==anIter.mIndex) && (&mDeque==&anIter.mDeque)));
}
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool nsDequeIterator::operator>=(nsDequeIterator& anIter) {
return PRBool(((mIndex>=anIter.mIndex) && (&mDeque==&anIter.mDeque)));
}
/**
* Pre-increment operator
*
* @update gess4/18/98
* @return object at preincremented index
*/
void* nsDequeIterator::operator++() {
return mDeque.ObjectAt(++mIndex);
}
/**
* Post-increment operator
*
* @update gess4/18/98
* @param param is ignored
* @return object at post-incremented index
*/
void* nsDequeIterator::operator++(int) {
return mDeque.ObjectAt(mIndex++);
}
/**
* Pre-decrement operator
*
* @update gess4/18/98
* @return object at pre-decremented index
*/
void* nsDequeIterator::operator--() {
return mDeque.ObjectAt(--mIndex);
}
/**
* Post-decrement operator
*
* @update gess4/18/98
* @param param is ignored
* @return object at post-decremented index
*/
void* nsDequeIterator::operator--(int) {
return mDeque.ObjectAt(mIndex--);
}
/**
* Dereference operator
*
* @update gess4/18/98
* @return object at ith index
*/
void* nsDequeIterator::GetCurrent(void) {
return mDeque.ObjectAt(mIndex);
}
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
void nsDequeIterator::ForEach(nsDequeFunctor& aFunctor) const{
mDeque.ForEach(aFunctor);
}
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void* nsDequeIterator::FirstThat(nsDequeFunctor& aFunctor) const{
return mDeque.FirstThat(aFunctor);
}
#ifdef _SELFTEST_DEQUE
/**************************************************************
Now define the token deallocator class...
**************************************************************/
class _SelfTestDeallocator: public nsDequeFunctor{
public:
_SelfTestDeallocator::_SelfTestDeallocator() {
nsDeque::SelfTest();
}
virtual void* operator()(void* anObject) {
return 0;
}
};
static _SelfTestDeallocator gDeallocator;
#endif
/**
* conduct automated self test for this class
*
* @update gess4/18/98
* @param
* @return
*/
void nsDeque::SelfTest(void) {
#ifdef _SELFTEST_DEQUE
{
nsDeque theDeque(gDeallocator); //construct a simple one...
int ints[200];
int count=sizeof(ints)/sizeof(int);
int i=0;
for(i=0;i<count;i++){ //initialize'em
ints[i]=10*(1+i);
}
for(i=0;i<70;i++){
theDeque.Push(&ints[i]);
}
for(i=0;i<56;i++){
int* temp=(int*)theDeque.Pop();
}
for(i=0;i<55;i++){
theDeque.Push(&ints[i]);
}
for(i=0;i<35;i++){
int* temp=(int*)theDeque.Pop();
}
for(i=0;i<35;i++){
theDeque.Push(&ints[i]);
}
for(i=0;i<38;i++){
int* temp=(int*)theDeque.Pop();
}
}
int x;
x=10;
#endif
}

View File

@@ -1,408 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/**
* MODULE NOTES:
* @update gess 4/15/98 (tax day)
*
* The Deque is a very small, very efficient container object
* than can hold elements of type void*, offering the following features:
* It's interface supports pushing and poping of children.
* It can iterate (via an interator class) it's children.
* When full, it can efficently resize dynamically.
*
*
* NOTE: The only bit of trickery here is that this deque is
* built upon a ring-buffer. Like all ring buffers, the first
* element may not be at index[0]. The mOrigin member determines
* where the first child is. This point is quietly hidden from
* customers of this class.
*
*/
#ifndef _NSDEQUE
#define _NSDEQUE
#include "nscore.h"
/**
* The nsDequefunctor class is used when you want to create
* callbacks between the deque and your generic code.
* Use these objects in a call to ForEach();
*
* @update gess4/20/98
*/
class NS_BASE nsDequeFunctor{
public:
virtual void* operator()(void* anObject)=0;
};
/******************************************************
* Here comes the nsDeque class itself...
******************************************************/
/**
* The deque (double-ended queue) class is a common container type,
* whose behavior mimics a line in your favorite checkout stand.
* Classic CS describes the common behavior of a queue as FIFO.
* A Deque allows items to be added and removed from either end of
* the queue.
*
* @update gess4/20/98
*/
class NS_BASE nsDeque {
friend class nsDequeIterator;
public:
nsDeque(nsDequeFunctor* aDeallocator);
~nsDeque();
/**
* Returns the number of elements currently stored in
* this deque.
*
* @update gess4/18/98
* @param
* @return int contains element count
*/
PRInt32 GetSize() const;
/**
* Pushes new member onto the end of the deque
*
* @update gess4/18/98
* @param ptr to object to store
* @return *this
*/
nsDeque& Push(void* anItem);
/**
* Pushes new member onto the front of the deque
*
* @update gess4/18/98
* @param ptr to object to store
* @return *this
*/
nsDeque& PushFront(void* anItem);
/**
* Remove and return the first item in the container.
*
* @update gess4/18/98
* @param none
* @return ptr to first item in container
*/
void* Pop(void);
/**
* Remove and return the first item in the container.
*
* @update gess4/18/98
* @param none
* @return ptr to first item in container
*/
void* PopFront(void);
/**
* Return topmost item without removing it.
*
* @update gess4/18/98
* @param none
* @return ptr to first item in container
*/
void* Peek(void);
/**
* method used to retrieve ptr to
* ith member in container. DOesn't remove
* that item.
*
* @update gess4/18/98
* @param index of desired item
* @return ptr to ith element in list
*/
void* ObjectAt(int anIndex) const;
/**
* Remove all items from container without destroying them
*
* @update gess4/18/98
* @param
* @return
*/
nsDeque& Empty();
/**
* Remove and delete all items from container
*
* @update gess4/18/98
* @param
* @return
*/
nsDeque& Erase();
/**
* Creates a new iterator, init'ed to start of container
*
* @update gess4/18/98
* @return new dequeIterator
*/
nsDequeIterator Begin() const;
/**
* Creates a new iterator, init'ed to end of container
*
* @update gess4/18/98
* @return new dequeIterator
*/
nsDequeIterator End() const;
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
void ForEach(nsDequeFunctor& aFunctor) const;
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code. This process will interupt if
* your function returns a null to this iterator.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void* FirstThat(nsDequeFunctor& aFunctor) const;
void SetDeallocator(nsDequeFunctor* aDeallocator);
/**
* Perform automated selftest on the deque
*
* @update gess4/18/98
* @param
* @return
*/
static void SelfTest();
protected:
PRInt32 mSize;
PRInt32 mCapacity;
PRInt32 mOrigin;
nsDequeFunctor* mDeallocator;
void** mData;
private:
enum {eGrowthDelta=64};
/**
* Simple default constructor (PRIVATE)
*
* @update gess4/18/98
* @param
* @return
*/
nsDeque();
/**
* Copy constructor (PRIVATE)
*
* @update gess4/18/98
* @param
* @return
*/
nsDeque(const nsDeque& other);
/**
* Deque assignment operator (PRIVATE)
*
* @update gess4/18/98
* @param another deque
* @return *this
*/
nsDeque& operator=(const nsDeque& anOther);
};
/******************************************************
* Here comes the nsDequeIterator class...
******************************************************/
class NS_BASE nsDequeIterator {
public:
/**
* DequeIterator is an object that knows how to iterate (forward and backward)
* a Deque. Normally, you don't need to do this, but there are some special
* cases where it is pretty handy, so here you go.
*
* @update gess4/18/98
* @param aQueue is the deque object to be iterated
* @param anIndex is the starting position for your iteration
*/
nsDequeIterator(const nsDeque& aQueue,int anIndex=0);
/**
* DequeIterator is an object that knows how to iterate (forward and backward)
* a Deque. Normally, you don't need to do this, but there are some special
* cases where it is pretty handy, so here you go.
*
* @update gess4/18/98
* @param aQueue is the deque object to be iterated
* @param anIndex is the starting position for your iteration
*/
nsDequeIterator(const nsDequeIterator& aCopy);
/**
* Moves iterator to first element in deque
* @update gess4/18/98
* @return this
*/
nsDequeIterator& First(void);
/**
* Standard assignment operator for deque
* @update gess4/18/98
* @param
* @return
*/
nsDequeIterator& operator=(const nsDequeIterator& aCopy);
/**
* preform ! operation against to iterators to test for equivalence
* (or lack thereof)!
*
* @update gess4/18/98
* @param anIter is the object to be compared to
* @return TRUE if NOT equal.
*/
PRBool operator!=(nsDequeIterator& anIter);
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool operator<(nsDequeIterator& anIter);
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool operator==(nsDequeIterator& anIter);
/**
* Compare 2 iterators for equivalence.
*
* @update gess4/18/98
* @param anIter is the other iterator to be compared to
* @return TRUE if EQUAL
*/
PRBool operator>=(nsDequeIterator& anIter);
/**
* Pre-increment operator
*
* @update gess4/18/98
* @return object at preincremented index
*/
void* operator++();
/**
* Post-increment operator
*
* @update gess4/18/98
* @param param is ignored
* @return object at post-incremented index
*/
void* operator++(int);
/**
* Pre-decrement operator
*
* @update gess4/18/98
* @return object at pre-decremented index
*/
void* operator--();
/**
* Post-decrement operator
*
* @update gess4/18/98
* @param param is ignored
* @return object at post-decremented index
*/
void* operator--(int);
/**
* Retrieve the ptr to the iterators notion of current node
*
* @update gess4/18/98
* @return object at ith index
*/
void* GetCurrent(void);
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
void ForEach(nsDequeFunctor& aFunctor) const;
/**
* Call this method when you wanto to iterate all the
* members of the container, passing a functor along
* to call your code.
*
* @update gess4/20/98
* @param aFunctor object to call for each member
* @return *this
*/
const void* FirstThat(nsDequeFunctor& aFunctor) const;
protected:
PRInt32 mIndex;
const nsDeque& mDeque;
};
#endif

View File

@@ -1,168 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// First checked in on 98/12/03 by John R. McMullen, derived from net.h/mkparse.c.
#include "nsEscape.h"
#include "plstr.h"
const int netCharType[256] =
/* Bit 0 xalpha -- the alphas
** Bit 1 xpalpha -- as xalpha but
** converts spaces to plus and plus to %20
** Bit 3 ... path -- as xalphas but doesn't escape '/'
*/
/* 0 1 2 3 4 5 6 7 8 9 A B C D E F */
{ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 0x */
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 1x */
0,0,0,0,0,0,0,0,0,0,7,4,0,7,7,4, /* 2x !"#$%&'()*+,-./ */
7,7,7,7,7,7,7,7,7,7,0,0,0,0,0,0, /* 3x 0123456789:;<=>? */
0,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, /* 4x @ABCDEFGHIJKLMNO */
/* bits for '@' changed from 7 to 0 so '@' can be escaped */
/* in usernames and passwords in publishing. */
7,7,7,7,7,7,7,7,7,7,7,0,0,0,0,7, /* 5X PQRSTUVWXYZ[\]^_ */
0,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, /* 6x `abcdefghijklmno */
7,7,7,7,7,7,7,7,7,7,7,0,0,0,0,0, /* 7X pqrstuvwxyz{\}~ DEL */
0, };
/* decode % escaped hex codes into character values
*/
#define UNHEX(C) \
((C >= '0' && C <= '9') ? C - '0' : \
((C >= 'A' && C <= 'F') ? C - 'A' + 10 : \
((C >= 'a' && C <= 'f') ? C - 'a' + 10 : 0)))
#define IS_OK(C) (netCharType[((unsigned int) (C))] & (mask))
#define HEX_ESCAPE '%'
//----------------------------------------------------------------------------------------
NS_BASE char* nsEscape(const char * str, nsEscapeMask mask)
//----------------------------------------------------------------------------------------
{
if(!str)
return NULL;
return nsEscapeCount(str, (PRInt32)PL_strlen(str), mask, NULL);
}
//----------------------------------------------------------------------------------------
NS_BASE char* nsEscapeCount(
const char * str,
PRInt32 len,
nsEscapeMask mask,
PRInt32* out_len)
//----------------------------------------------------------------------------------------
{
if (!str)
return 0;
int i, extra = 0;
char* hexChars = "0123456789ABCDEF";
register const unsigned char* src = (const unsigned char *) str;
for (i = 0; i < len; i++)
{
if (!IS_OK(*src++))
extra += 2; /* the escape, plus an extra byte for each nibble */
}
char* result = new char[len + extra + 1];
if (!result)
return 0;
register unsigned char* dst = (unsigned char *) result;
src = (const unsigned char *) str;
if (mask == url_XPAlphas)
{
for (i = 0; i < len; i++)
{
unsigned char c = *src++;
if (IS_OK(c))
*dst++ = c;
else if (c == ' ')
*dst++ = '+'; /* convert spaces to pluses */
else
{
*dst++ = HEX_ESCAPE;
*dst++ = hexChars[c >> 4]; /* high nibble */
*dst++ = hexChars[c & 0x0f]; /* low nibble */
}
}
}
else
{
for (i = 0; i < len; i++)
{
unsigned char c = *src++;
if (IS_OK(c))
*dst++ = c;
else
{
*dst++ = HEX_ESCAPE;
*dst++ = hexChars[c >> 4]; /* high nibble */
*dst++ = hexChars[c & 0x0f]; /* low nibble */
}
}
}
*dst = '\0'; /* tack on eos */
if(out_len)
*out_len = dst - (unsigned char *) result;
return result;
}
//----------------------------------------------------------------------------------------
NS_BASE char* nsUnescape(char * str)
//----------------------------------------------------------------------------------------
{
nsUnescapeCount(str);
return str;
}
//----------------------------------------------------------------------------------------
NS_BASE PRInt32 nsUnescapeCount(char * str)
//----------------------------------------------------------------------------------------
{
register char *src = str;
register char *dst = str;
while (*src)
if (*src != HEX_ESCAPE)
*dst++ = *src++;
else
{
src++; /* walk over escape */
if (*src)
{
*dst = UNHEX(*src) << 4;
src++;
}
if (*src)
{
*dst = (*dst + UNHEX(*src));
src++;
}
dst++;
}
*dst = 0;
return (int)(dst - str);
} /* NET_UnEscapeCnt */

View File

@@ -1,975 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsFileSpec.h"
#include "nsFileStream.h"
#include "nsDebug.h"
#include "nsEscape.h"
#include "prtypes.h"
#include "plstr.h"
#include "plbase64.h"
#include "prmem.h"
#include <string.h>
#include <stdio.h>
//========================================================================================
NS_NAMESPACE nsFileSpecHelpers
//========================================================================================
{
enum
{ kMaxFilenameLength = 31 // should work on Macintosh, Unix, and Win32.
, kMaxAltDigitLength = 5
, kMaxCoreLeafNameLength = (kMaxFilenameLength - (kMaxAltDigitLength + 1))
};
NS_NAMESPACE_PROTOTYPE void LeafReplace(
char*& ioPath,
char inSeparator,
const char* inLeafName);
#ifndef XP_MAC
NS_NAMESPACE_PROTOTYPE void Canonify(char*& ioPath, PRBool inMakeDirs);
NS_NAMESPACE_PROTOTYPE void MakeAllDirectories(const char* inPath, int mode);
#endif
NS_NAMESPACE_PROTOTYPE char* GetLeaf(const char* inPath, char inSeparator); // allocated
NS_NAMESPACE_PROTOTYPE char* StringDup(const char* inString, int allocLength = 0);
NS_NAMESPACE_PROTOTYPE char* AllocCat(const char* inString1, const char* inString2);
NS_NAMESPACE_PROTOTYPE char* StringAssign(char*& ioString, const char* inOther);
NS_NAMESPACE_PROTOTYPE char* ReallocCat(char*& ioString, const char* inString1);
#ifdef XP_PC
NS_NAMESPACE_PROTOTYPE void NativeToUnix(char*& ioPath);
NS_NAMESPACE_PROTOTYPE void UnixToNative(char*& ioPath);
#endif
} NS_NAMESPACE_END
//----------------------------------------------------------------------------------------
nsresult ns_file_convert_result(PRInt32 nativeErr)
//----------------------------------------------------------------------------------------
{
return nativeErr ?
NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_FILES,((nativeErr)&0xFFFF))
: NS_OK;
}
//----------------------------------------------------------------------------------------
char* nsFileSpecHelpers::StringDup(
const char* inString,
int allocLength)
//----------------------------------------------------------------------------------------
{
if (!allocLength && inString)
allocLength = strlen(inString);
char* newPath = inString || allocLength ? new char[allocLength + 1] : nsnull;
if (!newPath)
return nsnull;
strcpy(newPath, inString);
return newPath;
} // nsFileSpecHelpers::StringDup
//----------------------------------------------------------------------------------------
char* nsFileSpecHelpers::AllocCat(
const char* inString1,
const char* inString2)
//----------------------------------------------------------------------------------------
{
if (!inString1)
return inString2 ? StringDup(inString2) : (char*)nsnull;
if (!inString2)
return StringDup(inString1);
char* outString = StringDup(inString1, strlen(inString1) + strlen(inString2));
if (outString)
strcat(outString, inString2);
return outString;
} // nsFileSpecHelpers::StringDup
//----------------------------------------------------------------------------------------
char* nsFileSpecHelpers::StringAssign(
char*& ioString,
const char* inString2)
//----------------------------------------------------------------------------------------
{
if (!inString2)
{
delete [] ioString;
ioString = (char*)nsnull;
return ioString;
}
if (!ioString || (strlen(inString2) > strlen(ioString)))
{
delete [] ioString;
ioString = StringDup(inString2);
return ioString;
}
strcpy(ioString, inString2);
return ioString;
} // nsFileSpecHelpers::StringAssign
//----------------------------------------------------------------------------------------
void nsFileSpecHelpers::LeafReplace(
char*& ioPath,
char inSeparator,
const char* inLeafName)
//----------------------------------------------------------------------------------------
{
// Find the existing leaf name
if (!ioPath)
return;
if (!inLeafName)
{
*ioPath = '\0';
return;
}
char* lastSeparator = strrchr(ioPath, inSeparator);
int oldLength = strlen(ioPath);
PRBool trailingSeparator = (lastSeparator + 1 == ioPath + oldLength);
if (trailingSeparator)
{
*lastSeparator = '\0';
lastSeparator = strrchr(ioPath, inSeparator);
}
if (lastSeparator)
lastSeparator++; // point at the trailing string
else
lastSeparator = ioPath; // the full monty
*lastSeparator = '\0'; // strip the current leaf name
int newLength = (lastSeparator - ioPath) + strlen(inLeafName) + int(trailingSeparator);
if (newLength > oldLength)
{
char* newPath = StringDup(ioPath, newLength + 1);
delete [] ioPath;
ioPath = newPath;
}
strcat(ioPath, inLeafName);
if (trailingSeparator)
{
// If the original ended in a slash, then the new one should, too.
char sepStr[2] = "/";
*sepStr = inSeparator;
strcat(ioPath, sepStr);
}
} // nsFileSpecHelpers::LeafReplace
//----------------------------------------------------------------------------------------
char* nsFileSpecHelpers::GetLeaf(const char* inPath, char inSeparator)
// Returns a pointer to an allocated string representing the leaf.
//----------------------------------------------------------------------------------------
{
if (!inPath)
return nsnull;
const char* lastSeparator = strrchr(inPath, inSeparator);
// If there was no separator, then return a copy of the caller's path.
if (!lastSeparator)
return StringDup(inPath);
// So there's at least one separator. What's just after it?
// If the separator was not the last character, return the trailing string.
const char* leafPointer = lastSeparator + 1;
if (*leafPointer)
return StringDup(leafPointer);
// So now, separator was the last character. Poke in a null instead.
*(char*)lastSeparator = '\0'; // Should use const_cast, but Unix has old compiler.
leafPointer = strrchr(inPath, inSeparator);
char* result = leafPointer ? StringDup(++leafPointer) : StringDup(inPath);
// Restore the poked null before returning.
*(char*)lastSeparator = inSeparator;
#ifdef XP_PC
// If it's a drive letter use the colon notation.
if (!leafPointer && strlen(result) == 2 && result[1] == '|')
result[1] = ':';
#endif
return result;
} // nsFileSpecHelpers::GetLeaf
#if defined(XP_UNIX) || defined(XP_PC)
//----------------------------------------------------------------------------------------
void nsFileSpecHelpers::MakeAllDirectories(const char* inPath, int mode)
// Make the path a valid one by creating all the intermediate directories. Does NOT
// make the leaf into a directory. This should be a unix path.
//----------------------------------------------------------------------------------------
{
if (!inPath)
return;
char* pathCopy = nsFileSpecHelpers::StringDup( inPath );
if (!pathCopy)
return;
const char kSeparator = '/'; // I repeat: this should be a unix-style path.
const int kSkipFirst = 1;
#ifdef XP_PC
// Either this is a relative path, or we ensure that it has
// a drive letter specifier.
NS_ASSERTION( pathCopy[0] != '/' || pathCopy[2] == '|', "No drive letter!" );
#endif
char* currentStart = pathCopy;
char* currentEnd = strchr(currentStart + kSkipFirst, kSeparator);
if (currentEnd)
{
nsFileSpec spec;
*currentEnd = '\0';
#ifdef XP_PC
/*
if we have a drive letter path, we must make sure that the inital path has a '/' on it, or
Canonify will turn "/c|" into a path relative to the running executable.
*/
if (pathCopy[0] == '/' && pathCopy[2] == '|')
{
char* startDir = nsFileSpecHelpers::StringDup( pathCopy, (strlen(pathCopy) + 1) );
strcat(startDir, "/");
spec = nsFilePath(startDir, PR_FALSE);
delete [] startDir;
}
else
{
spec = nsFilePath(pathCopy, PR_FALSE);
}
#else
spec = nsFilePath(pathCopy, PR_FALSE);
#endif
do
{
// If the node doesn't exist, and it is not the initial node in a full path,
// then make a directory (We cannot make the initial (volume) node).
if (!spec.Exists() && *currentStart != kSeparator)
spec.CreateDirectory(mode);
if (!spec.Exists())
{
NS_ASSERTION(spec.Exists(), "Could not create the directory?");
break;
}
currentStart = ++currentEnd;
currentEnd = strchr(currentStart, kSeparator);
if (!currentEnd)
break;
*currentEnd = '\0';
spec += currentStart; // "lengthen" the path, adding the next node.
} while (currentEnd);
}
delete [] pathCopy;
} // nsFileSpecHelpers::MakeAllDirectories
#endif // XP_PC || XP_UNIX
//----------------------------------------------------------------------------------------
char* nsFileSpecHelpers::ReallocCat(char*& ioString, const char* inString1)
//----------------------------------------------------------------------------------------
{
char* newString = AllocCat(ioString, inString1);
delete [] ioString;
ioString = newString;
return ioString;
} // nsFileSpecHelpers::ReallocCat
#if defined(XP_PC)
#include "windows/nsFileSpecWin.cpp" // Windows-specific implementations
#elif defined(XP_MAC)
#include "nsFileSpecMac.cpp" // Macintosh-specific implementations
#elif defined(XP_UNIX)
#include "unix/nsFileSpecUnix.cpp" // Unix-specific implementations
#endif
//========================================================================================
// nsFileURL implementation
//========================================================================================
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFileURL::nsFileURL(const char* inString, PRBool inCreateDirs)
//----------------------------------------------------------------------------------------
: mURL(nsnull)
{
if (!inString)
return;
NS_ASSERTION(strstr(inString, kFileURLPrefix) == inString, "Not a URL!");
// Make canonical and absolute.
nsFilePath path(inString + kFileURLPrefixLength, inCreateDirs);
*this = path;
} // nsFileURL::nsFileURL
#endif
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFileURL::nsFileURL(const nsString& inString, PRBool inCreateDirs)
//----------------------------------------------------------------------------------------
: mURL(nsnull)
{
const nsAutoCString aString(inString);
const char* aCString = (const char*) aString;
if (!inString)
return;
NS_ASSERTION(strstr(aCString, kFileURLPrefix) == aCString, "Not a URL!");
// Make canonical and absolute.
nsFilePath path(aCString + kFileURLPrefixLength, inCreateDirs);
*this = path;
} // nsFileURL::nsFileURL
#endif
//----------------------------------------------------------------------------------------
nsFileURL::nsFileURL(const nsFileURL& inOther)
//----------------------------------------------------------------------------------------
: mURL(nsFileSpecHelpers::StringDup(inOther.mURL))
#ifdef XP_MAC
, mFileSpec(inOther.GetFileSpec())
#endif
{
} // nsFileURL::nsFileURL
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFileURL::nsFileURL(const nsFilePath& inOther)
//----------------------------------------------------------------------------------------
: mURL(nsnull)
{
*this = inOther;
} // nsFileURL::nsFileURL
#endif
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFileURL::nsFileURL(const nsFileSpec& inOther)
: mURL(nsnull)
//----------------------------------------------------------------------------------------
{
*this = inOther;
} // nsFileURL::nsFileURL
#endif
//----------------------------------------------------------------------------------------
nsFileURL::~nsFileURL()
//----------------------------------------------------------------------------------------
{
delete [] mURL;
}
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
void nsFileURL::operator = (const char* inString)
//----------------------------------------------------------------------------------------
{
nsFileSpecHelpers::StringAssign(mURL, inString);
NS_ASSERTION(strstr(inString, kFileURLPrefix) == inString, "Not a URL!");
} // nsFileURL::operator =
#endif
//----------------------------------------------------------------------------------------
void nsFileURL::operator = (const nsFileURL& inOther)
//----------------------------------------------------------------------------------------
{
mURL = nsFileSpecHelpers::StringAssign(mURL, inOther.mURL);
#ifdef XP_MAC
mFileSpec = inOther.GetFileSpec();
#endif
} // nsFileURL::operator =
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
void nsFileURL::operator = (const nsFilePath& inOther)
//----------------------------------------------------------------------------------------
{
delete [] mURL;
char* original = (char*)(const char*)inOther; // we shall modify, but restore.
#ifdef XP_PC
// because we don't want to escape the '|' character, change it to a letter.
NS_ASSERTION(original[2] == '|', "No drive letter part!");
original[2] = 'x';
char* escapedPath = nsEscape(original, url_Path);
original[2] = '|'; // restore it
escapedPath[2] = '|';
#else
char* escapedPath = nsEscape(original, url_Path);
#endif
if (escapedPath)
mURL = nsFileSpecHelpers::AllocCat(kFileURLPrefix, escapedPath);
delete [] escapedPath;
} // nsFileURL::operator =
#endif
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
void nsFileURL::operator = (const nsFileSpec& inOther)
//----------------------------------------------------------------------------------------
{
*this = nsFilePath(inOther);
} // nsFileURL::operator =
#endif
//----------------------------------------------------------------------------------------
nsOutputStream& operator << (nsOutputStream& s, const nsFileURL& url)
//----------------------------------------------------------------------------------------
{
return (s << url.mURL);
}
//========================================================================================
// nsFilePath implementation
//========================================================================================
nsFilePath::nsFilePath(const nsFilePath& inPath)
: mPath(nsFileSpecHelpers::StringDup(inPath.mPath))
#ifdef XP_MAC
, mFileSpec(inPath.mFileSpec)
#endif
{
}
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFilePath::nsFilePath(const char* inString, PRBool inCreateDirs)
//----------------------------------------------------------------------------------------
: mPath(nsFileSpecHelpers::StringDup(inString))
{
NS_ASSERTION(strstr(inString, kFileURLPrefix) != inString, "URL passed as path");
#ifdef XP_PC
nsFileSpecHelpers::UnixToNative(mPath);
#endif
// Make canonical and absolute.
nsFileSpecHelpers::Canonify(mPath, inCreateDirs);
#ifdef XP_PC
NS_ASSERTION( mPath[1] == ':', "unexpected canonical path" );
nsFileSpecHelpers::NativeToUnix(mPath);
#endif
}
#endif
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFilePath::nsFilePath(const nsString& inString, PRBool inCreateDirs)
//----------------------------------------------------------------------------------------
: mPath(inString.ToNewCString())
{
NS_ASSERTION(strstr(mPath, kFileURLPrefix) != mPath, "URL passed as path");
#ifdef XP_PC
nsFileSpecHelpers::UnixToNative(mPath);
#endif
// Make canonical and absolute.
nsFileSpecHelpers::Canonify(mPath, inCreateDirs);
#ifdef XP_PC
NS_ASSERTION( mPath[1] == ':', "unexpected canonical path" );
nsFileSpecHelpers::NativeToUnix(mPath);
#endif
}
#endif
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFilePath::nsFilePath(const nsFileURL& inOther)
//----------------------------------------------------------------------------------------
: mPath(nsFileSpecHelpers::StringDup(inOther.mURL + kFileURLPrefixLength))
{
}
#endif
#ifdef XP_UNIX
//----------------------------------------------------------------------------------------
nsFilePath::nsFilePath(const nsFileSpec& inOther)
//----------------------------------------------------------------------------------------
: mPath(nsFileSpecHelpers::StringDup(inOther.mPath))
{
}
#endif // XP_UNIX
//----------------------------------------------------------------------------------------
nsFilePath::~nsFilePath()
//----------------------------------------------------------------------------------------
{
delete [] mPath;
}
#ifdef XP_UNIX
//----------------------------------------------------------------------------------------
void nsFilePath::operator = (const nsFileSpec& inOther)
//----------------------------------------------------------------------------------------
{
mPath = nsFileSpecHelpers::StringAssign(mPath, inOther.mPath);
}
#endif // XP_UNIX
//----------------------------------------------------------------------------------------
void nsFilePath::operator = (const char* inString)
//----------------------------------------------------------------------------------------
{
NS_ASSERTION(strstr(inString, kFileURLPrefix) != inString, "URL passed as path");
#ifdef XP_MAC
mFileSpec = inString;
nsFileSpecHelpers::StringAssign(mPath, (const char*)nsFilePath(mFileSpec));
#else
nsFileSpecHelpers::StringAssign(mPath, inString);
#ifdef XP_PC
nsFileSpecHelpers::UnixToNative(mPath);
#endif
// Make canonical and absolute.
nsFileSpecHelpers::Canonify(mPath, PR_FALSE /* XXX? */);
#ifdef XP_PC
nsFileSpecHelpers::NativeToUnix(mPath);
#endif
#endif // XP_MAC
}
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
void nsFilePath::operator = (const nsFileURL& inOther)
//----------------------------------------------------------------------------------------
{
nsFileSpecHelpers::StringAssign(mPath, (const char*)nsFilePath(inOther));
}
#endif
//----------------------------------------------------------------------------------------
void nsFilePath::operator = (const nsFilePath& inOther)
//----------------------------------------------------------------------------------------
{
nsFileSpecHelpers::StringAssign(mPath, inOther.mPath);
#ifdef XP_MAC
mFileSpec = inOther.GetFileSpec();
#endif
}
//========================================================================================
// nsFileSpec implementation
//========================================================================================
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec()
//----------------------------------------------------------------------------------------
: mPath(nsnull)
, mError(NS_OK)
{
}
#endif
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(const nsPersistentFileDescriptor& inDescriptor)
//----------------------------------------------------------------------------------------
: mPath(nsnull)
{
*this = inDescriptor;
}
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(const nsFileURL& inURL)
//----------------------------------------------------------------------------------------
: mPath(nsnull)
{
*this = nsFilePath(inURL); // convert to unix path first
}
//----------------------------------------------------------------------------------------
void nsFileSpec::MakeUnique(const char* inSuggestedLeafName)
//----------------------------------------------------------------------------------------
{
if (inSuggestedLeafName && *inSuggestedLeafName)
SetLeafName(inSuggestedLeafName);
MakeUnique();
} // nsFileSpec::MakeUnique
//----------------------------------------------------------------------------------------
void nsFileSpec::MakeUnique()
//----------------------------------------------------------------------------------------
{
if (!Exists())
return;
char* leafName = GetLeafName();
if (!leafName)
return;
char* lastDot = strrchr(leafName, '.');
char* suffix = "";
if (lastDot)
{
suffix = nsFileSpecHelpers::StringDup(lastDot); // include '.'
*lastDot = '\0'; // strip suffix and dot.
}
const int kMaxRootLength
= nsFileSpecHelpers::kMaxCoreLeafNameLength - strlen(suffix) - 1;
if ((int)strlen(leafName) > (int)kMaxRootLength)
leafName[kMaxRootLength] = '\0';
for (short index = 1; index < 1000 && Exists(); index++)
{
// start with "Picture-1.jpg" after "Picture.jpg" exists
char newName[nsFileSpecHelpers::kMaxFilenameLength + 1];
sprintf(newName, "%s-%d%s", leafName, index, suffix);
SetLeafName(newName);
}
if (*suffix)
delete [] suffix;
delete [] leafName;
} // nsFileSpec::MakeUnique
//----------------------------------------------------------------------------------------
void nsFileSpec::operator = (const nsFileURL& inURL)
//----------------------------------------------------------------------------------------
{
*this = nsFilePath(inURL); // convert to unix path first
}
//----------------------------------------------------------------------------------------
void nsFileSpec::operator = (const nsPersistentFileDescriptor& inDescriptor)
//----------------------------------------------------------------------------------------
{
void* data;
PRInt32 dataSize;
inDescriptor.GetData(data, dataSize);
#ifdef XP_MAC
char* decodedData = PL_Base64Decode((const char*)data, (int)dataSize, nsnull);
// Cast to an alias record and resolve.
AliasHandle aliasH = nsnull;
mError = NS_FILE_RESULT(PtrToHand(decodedData, &(Handle)aliasH, (dataSize * 3) / 4));
PR_Free(decodedData);
if (NS_SUCCEEDED(mError))
return; // not enough memory?
Boolean changed;
mError = NS_FILE_RESULT(::ResolveAlias(nsnull, aliasH, &mSpec, &changed));
DisposeHandle((Handle) aliasH);
delete [] mPath;
#else
nsFileSpecHelpers::StringAssign(mPath, (char*)data);
mError = NS_OK;
#endif
}
//========================================================================================
// UNIX & WIN nsFileSpec implementation
//========================================================================================
#ifdef XP_UNIX
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(const nsFilePath& inPath)
//----------------------------------------------------------------------------------------
: mPath(nsFileSpecHelpers::StringDup((const char*)inPath))
, mError(NS_OK)
{
}
#endif // XP_UNIX
#ifdef XP_UNIX
//----------------------------------------------------------------------------------------
void nsFileSpec::operator = (const nsFilePath& inPath)
//----------------------------------------------------------------------------------------
{
nsFileSpecHelpers::StringAssign(mPath, (const char*)inPath);
mError = NS_OK;
}
#endif //XP_UNIX
#if defined(XP_UNIX) || defined(XP_PC)
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(const nsFileSpec& inSpec)
//----------------------------------------------------------------------------------------
: mPath(nsFileSpecHelpers::StringDup(inSpec.mPath))
, mError(NS_OK)
{
}
#endif //XP_UNIX
#if defined(XP_UNIX) || defined(XP_PC)
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(const char* inString, PRBool inCreateDirs)
//----------------------------------------------------------------------------------------
: mPath(nsFileSpecHelpers::StringDup(inString))
, mError(NS_OK)
{
// Make canonical and absolute.
nsFileSpecHelpers::Canonify(mPath, inCreateDirs);
}
#endif //XP_UNIX,PC
#if defined(XP_UNIX) || defined(XP_PC)
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(const nsString& inString, PRBool inCreateDirs)
//----------------------------------------------------------------------------------------
: mPath(inString.ToNewCString())
, mError(NS_OK)
{
// Make canonical and absolute.
nsFileSpecHelpers::Canonify(mPath, inCreateDirs);
}
#endif //XP_UNIX,PC
//----------------------------------------------------------------------------------------
nsFileSpec::~nsFileSpec()
//----------------------------------------------------------------------------------------
{
delete [] mPath;
}
#if defined(XP_UNIX) || defined(XP_PC)
//----------------------------------------------------------------------------------------
void nsFileSpec::operator = (const nsFileSpec& inSpec)
//----------------------------------------------------------------------------------------
{
mPath = nsFileSpecHelpers::StringAssign(mPath, inSpec.mPath);
mError = inSpec.Error();
}
#endif //XP_UNIX
#if defined(XP_UNIX) || defined(XP_PC)
//----------------------------------------------------------------------------------------
void nsFileSpec::operator = (const char* inString)
//----------------------------------------------------------------------------------------
{
mPath = nsFileSpecHelpers::StringAssign(mPath, inString);
// Make canonical and absolute.
nsFileSpecHelpers::Canonify(mPath, PR_FALSE /* XXX? */);
mError = NS_OK;
}
#endif //XP_UNIX
#if (defined(XP_UNIX) || defined(XP_PC))
//----------------------------------------------------------------------------------------
nsOutputStream& operator << (nsOutputStream& s, const nsFileSpec& spec)
//----------------------------------------------------------------------------------------
{
#ifdef NS_DEBUG
static PRBool warnedOnce = PR_FALSE;
if (!warnedOnce)
{
NS_WARNING("This is for debugging only. Do not call this in shipped version!");
warnedOnce = PR_TRUE;
}
#endif // NS_DEBUG
return (s << spec.GetCString());
}
#endif // DEBUG ONLY!
//----------------------------------------------------------------------------------------
nsFileSpec nsFileSpec::operator + (const char* inRelativePath) const
//----------------------------------------------------------------------------------------
{
nsFileSpec result = *this;
result += inRelativePath;
return result;
} // nsFileSpec::operator +
//----------------------------------------------------------------------------------------
PRBool nsFileSpec::operator == (const nsFileSpec& inOther) const
//----------------------------------------------------------------------------------------
{
#ifdef XP_MAC
if ( inOther.mSpec.vRefNum == mSpec.vRefNum &&
inOther.mSpec.parID == mSpec.parID &&
EqualString(inOther.mSpec.name, mSpec.name, false, true))
return PR_TRUE;
#else
PRBool amEmpty = !mPath || !*mPath;
PRBool heEmpty = !inOther.mPath || !*inOther.mPath;
if (amEmpty) // we're the same if he's empty...
return heEmpty;
if (heEmpty) // ('cuz I'm not...)
return PR_FALSE;
#if defined(XP_PC)
// windows does not care about case.
if (_stricmp(mPath, inOther.mPath ) == 0)
return PR_TRUE;
#else
if (strcmp(mPath, inOther.mPath ) == 0)
return PR_TRUE;
#endif
#endif
return PR_FALSE;
}
//----------------------------------------------------------------------------------------
PRBool nsFileSpec::operator != (const nsFileSpec& inOther) const
//----------------------------------------------------------------------------------------
{
return (! (*this == inOther) );
}
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
const char* nsFileSpec::GetCString() const
// This is the only automatic conversion to const char*
// that is provided, and it allows the
// path to be "passed" to NSPR file routines. This practice
// is VERY EVIL and should only be used to support legacy
// code. Using it guarantees bugs on Macintosh. The path is NOT allocated, so do
// not even think of deleting (or freeing) it.
//----------------------------------------------------------------------------------------
{
return mPath;
}
#endif
//========================================================================================
// class nsPersistentFileDescriptor
//========================================================================================
//----------------------------------------------------------------------------------------
nsPersistentFileDescriptor::nsPersistentFileDescriptor(const nsPersistentFileDescriptor& inDesc)
//----------------------------------------------------------------------------------------
: mDescriptorString(nsFileSpecHelpers::StringDup(inDesc.mDescriptorString))
{
} // nsPersistentFileDescriptor::nsPersistentFileDescriptor
//----------------------------------------------------------------------------------------
void nsPersistentFileDescriptor::operator = (const nsPersistentFileDescriptor& inDesc)
//----------------------------------------------------------------------------------------
{
nsFileSpecHelpers::StringAssign(mDescriptorString, inDesc.mDescriptorString);
} // nsPersistentFileDescriptor::operator =
//----------------------------------------------------------------------------------------
nsPersistentFileDescriptor::nsPersistentFileDescriptor(const nsFileSpec& inSpec)
//----------------------------------------------------------------------------------------
: mDescriptorString(nsnull)
{
*this = inSpec;
} // nsPersistentFileDescriptor::nsPersistentFileDescriptor
//----------------------------------------------------------------------------------------
void nsPersistentFileDescriptor::operator = (const nsFileSpec& inSpec)
//----------------------------------------------------------------------------------------
{
#ifdef XP_MAC
if (inSpec.Error())
return;
AliasHandle aliasH;
OSErr err = NewAlias(nil, inSpec.GetFSSpecPtr(), &aliasH);
if (err != noErr)
return;
PRUint32 bytes = GetHandleSize((Handle) aliasH);
HLock((Handle) aliasH);
char* buf = PL_Base64Encode((const char*)*aliasH, bytes, nsnull);
DisposeHandle((Handle) aliasH);
nsFileSpecHelpers::StringAssign(mDescriptorString, buf);
PR_Free(buf);
#else
nsFileSpecHelpers::StringAssign(mDescriptorString, inSpec.GetCString());
#endif // XP_MAC
} // nsPersistentFileDescriptor::operator =
//----------------------------------------------------------------------------------------
nsPersistentFileDescriptor::~nsPersistentFileDescriptor()
//----------------------------------------------------------------------------------------
{
delete [] mDescriptorString;
} // nsPersistentFileDescriptor::~nsPersistentFileDescriptor
//----------------------------------------------------------------------------------------
void nsPersistentFileDescriptor::GetData(void*& outData, PRInt32& outSize) const
//----------------------------------------------------------------------------------------
{
outSize = PL_strlen(mDescriptorString);
outData = mDescriptorString;
}
//----------------------------------------------------------------------------------------
void nsPersistentFileDescriptor::SetData(const void* inData, PRInt32 inSize)
//----------------------------------------------------------------------------------------
{
delete [] mDescriptorString;
mDescriptorString = new char[1 + inSize];
if (!mDescriptorString)
return;
memcpy(mDescriptorString, inData, inSize);
mDescriptorString[inSize] = '\0';
}
#define MAX_PERSISTENT_DATA_SIZE 1000
//----------------------------------------------------------------------------------------
nsresult nsPersistentFileDescriptor::Read(nsIInputStream* aStream)
//----------------------------------------------------------------------------------------
{
nsInputStream inputStream(aStream);
inputStream >> *this;
return NS_OK;
}
//----------------------------------------------------------------------------------------
nsresult nsPersistentFileDescriptor::Write(nsIOutputStream* aStream)
//----------------------------------------------------------------------------------------
{
nsOutputStream outputStream(aStream);
outputStream << *this;
return NS_OK;
}
//----------------------------------------------------------------------------------------
nsInputStream& operator >> (nsInputStream& s, nsPersistentFileDescriptor& d)
// reads the data from a file
//----------------------------------------------------------------------------------------
{
char bigBuffer[MAX_PERSISTENT_DATA_SIZE + 1];
// The first 8 bytes of the data should be a hex version of the data size to follow.
PRInt32 bytesRead = 8;
bytesRead = s.read(bigBuffer, bytesRead);
if (bytesRead != 8)
return s;
bigBuffer[8] = '\0';
sscanf(bigBuffer, "%lx", (PRUint32*)&bytesRead);
if (bytesRead > MAX_PERSISTENT_DATA_SIZE)
return s; // preposterous.
// Now we know how many bytes to read, do it.
s.read(bigBuffer, bytesRead);
d.SetData(bigBuffer, bytesRead);
return s;
}
//----------------------------------------------------------------------------------------
nsOutputStream& operator << (nsOutputStream& s, const nsPersistentFileDescriptor& d)
// writes the data to a file
//----------------------------------------------------------------------------------------
{
char littleBuf[9];
PRInt32 dataSize;
void* data;
d.GetData(data, dataSize);
// First write (in hex) the length of the data to follow. Exactly 8 bytes
sprintf(littleBuf, "%0.8x", dataSize);
s << littleBuf;
// Now write the data itself
s << d.mDescriptorString;
return s;
}
//========================================================================================
// class nsAutoCString
//========================================================================================
//----------------------------------------------------------------------------------------
nsAutoCString::~nsAutoCString()
//----------------------------------------------------------------------------------------
{
delete [] (char*)mCString;
}

View File

@@ -1,321 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// First checked in on 98/12/08 by John R. McMullen.
// Since nsFileStream.h is entirely templates, common code (such as open())
// which does not actually depend on the charT, can be placed here.
#include "nsFileStream.h"
#include "nsIStringStream.h"
#include <string.h>
#include <stdio.h>
//========================================================================================
// nsInputStream
//========================================================================================
//----------------------------------------------------------------------------------------
nsInputStream::~nsInputStream()
//----------------------------------------------------------------------------------------
{
}
//----------------------------------------------------------------------------------------
char nsInputStream::get()
//----------------------------------------------------------------------------------------
{
char c;
read(&c, sizeof(c));
return c;
}
//----------------------------------------------------------------------------------------
PRInt32 nsInputStream::read(void* s, PRInt32 n)
//----------------------------------------------------------------------------------------
{
if (!mInputStream)
return 0;
PRInt32 result = 0;
mInputStream->Read((char*)s, n, (PRUint32*)&result);
if (result < n)
set_at_eof(PR_TRUE);
return result;
} // nsInputStream::read
//----------------------------------------------------------------------------------------
static void TidyEndOfLine(char*& cp)
// Assumes that cp is pointing at \n or \r. Nulls out the character, checks for
// a second terminator (of the opposite persuasion), and returns cp pointing past the
// entire eol construct (one or two characters).
//----------------------------------------------------------------------------------------
{
char ch = *cp;
*cp++ = '\0'; // terminate at the newline, then skip past it
if ((ch == '\n' && *cp == '\r') || (ch == '\r' && *cp == '\n'))
cp++; // possibly a pair.
}
//----------------------------------------------------------------------------------------
nsInputStream& nsInputStream::operator >> (char& c)
//----------------------------------------------------------------------------------------
{
c = get();
return *this;
}
//========================================================================================
// nsOutputStream
//========================================================================================
//----------------------------------------------------------------------------------------
nsOutputStream::~nsOutputStream()
//----------------------------------------------------------------------------------------
{
}
//----------------------------------------------------------------------------------------
void nsOutputStream::put(char c)
//----------------------------------------------------------------------------------------
{
write(&c, sizeof(c));
}
//----------------------------------------------------------------------------------------
PRInt32 nsOutputStream::write(const void* s, PRInt32 n)
//----------------------------------------------------------------------------------------
{
if (!mOutputStream)
return 0;
PRInt32 result = 0;
mOutputStream->Write((char*)s, n, (PRUint32*)&result);
return result;
} // nsOutputStream::write
//----------------------------------------------------------------------------------------
void nsOutputStream::flush()
//----------------------------------------------------------------------------------------
{
}
//----------------------------------------------------------------------------------------
nsOutputStream& nsOutputStream::operator << (char c)
//----------------------------------------------------------------------------------------
{
put(c);
return *this;
}
//----------------------------------------------------------------------------------------
nsOutputStream& nsOutputStream::operator << (const char* s)
//----------------------------------------------------------------------------------------
{
write(s, strlen(s));
return *this;
}
//----------------------------------------------------------------------------------------
nsOutputStream& nsOutputStream::operator << (short val)
//----------------------------------------------------------------------------------------
{
char buf[30];
sprintf(buf, "%hd", val);
return (*this << buf);
}
//----------------------------------------------------------------------------------------
nsOutputStream& nsOutputStream::operator << (unsigned short val)
//----------------------------------------------------------------------------------------
{
char buf[30];
sprintf(buf, "%hu", val);
return (*this << buf);
}
//----------------------------------------------------------------------------------------
nsOutputStream& nsOutputStream::operator << (long val)
//----------------------------------------------------------------------------------------
{
char buf[30];
sprintf(buf, "%ld", val);
return (*this << buf);
}
//----------------------------------------------------------------------------------------
nsOutputStream& nsOutputStream::operator << (unsigned long val)
//----------------------------------------------------------------------------------------
{
char buf[30];
sprintf(buf, "%lu", val);
return (*this << buf);
}
//----------------------------------------------------------------------------------------
nsOutputStream& nsOutputStream::operator << (int val)
//----------------------------------------------------------------------------------------
{
char buf[30];
sprintf(buf, "%d", val);
return (*this << buf);
}
//----------------------------------------------------------------------------------------
nsOutputStream& nsOutputStream::operator << (unsigned int val)
//----------------------------------------------------------------------------------------
{
char buf[30];
sprintf(buf, "%u", val);
return (*this << buf);
}
//========================================================================================
// nsRandomAccessInputStream
//========================================================================================
//----------------------------------------------------------------------------------------
PRBool nsRandomAccessInputStream::readline(char* s, PRInt32 n)
// This will truncate if the buffer is too small. Result will always be null-terminated.
//----------------------------------------------------------------------------------------
{
PRBool bufferLargeEnough = PR_TRUE; // result
if (!s || !n)
return PR_TRUE;
PRIntn position = tell();
if (position < 0)
return PR_FALSE;
PRInt32 bytesRead = read(s, n - 1);
if (failed())
return PR_FALSE;
s[bytesRead] = '\0'; // always terminate at the end of the buffer
char* tp = strpbrk(s, "\n\r");
if (tp)
{
TidyEndOfLine(tp);
bytesRead = (tp - s);
}
else if (!eof())
bufferLargeEnough = PR_FALSE;
position += bytesRead;
seek(position);
return bufferLargeEnough;
} // nsRandomAccessInputStream::readline
//========================================================================================
// nsInputStringStream
//========================================================================================
//----------------------------------------------------------------------------------------
nsInputStringStream::nsInputStringStream(const char* stringToRead)
//----------------------------------------------------------------------------------------
{
nsISupports* stream;
if (NS_FAILED(NS_NewCharInputStream(&stream, stringToRead)))
return;
mInputStream = nsQueryInterface(stream);
mStore = nsQueryInterface(stream);
NS_RELEASE(stream);
}
//----------------------------------------------------------------------------------------
nsInputStringStream::nsInputStringStream(const nsString& stringToRead)
//----------------------------------------------------------------------------------------
{
nsISupports* stream;
if (NS_FAILED(NS_NewStringInputStream(&stream, stringToRead)))
return;
mInputStream = nsQueryInterface(stream);
mStore = nsQueryInterface(stream);
NS_RELEASE(stream);
}
//========================================================================================
// nsOutputStringStream
//========================================================================================
//----------------------------------------------------------------------------------------
nsOutputStringStream::nsOutputStringStream(char*& stringToChange)
//----------------------------------------------------------------------------------------
{
nsISupports* stream;
if (NS_FAILED(NS_NewCharOutputStream(&stream, &stringToChange)))
return;
mOutputStream = nsQueryInterface(stream);
mStore = nsQueryInterface(stream);
NS_RELEASE(stream);
}
//----------------------------------------------------------------------------------------
nsOutputStringStream::nsOutputStringStream(nsString& stringToChange)
//----------------------------------------------------------------------------------------
{
nsISupports* stream;
if (NS_FAILED(NS_NewStringOutputStream(&stream, stringToChange)))
return;
mOutputStream = nsQueryInterface(stream);
mStore = nsQueryInterface(stream);
NS_RELEASE(stream);
}
//========================================================================================
// nsInputFileStream
//========================================================================================
//----------------------------------------------------------------------------------------
nsInputFileStream::nsInputFileStream(
const nsFileSpec& inFile,
int nsprMode,
PRIntn accessMode)
//----------------------------------------------------------------------------------------
{
nsISupports* stream;
if (NS_FAILED(NS_NewIOFileStream(&stream, inFile, nsprMode, accessMode)))
return;
mFile = nsQueryInterface(stream);
mInputStream = nsQueryInterface(stream);
mStore = nsQueryInterface(stream);
mFileInputStream = nsQueryInterface(stream);
NS_RELEASE(stream);
} // nsInputFileStream::nsInputFileStream
//========================================================================================
// nsOutputFileStream
//========================================================================================
//----------------------------------------------------------------------------------------
void nsOutputFileStream::flush()
//----------------------------------------------------------------------------------------
{
if (mFileOutputStream)
mFileOutputStream->Flush();
}
//========================================================================================
// Manipulators
//========================================================================================
//----------------------------------------------------------------------------------------
nsOutputStream& nsEndl(nsOutputStream& os)
//----------------------------------------------------------------------------------------
{
os.put('\n');
os.flush();
return os;
} // nsEndl

View File

@@ -1,22 +0,0 @@
#include "nscore.h"
#include "nsCaretProperties.h"
//-----------------------------------------------------------------------------
nsCaretProperties::nsCaretProperties()
: mCaretWidth(eDefaultCaretWidth)
, mBlinkRate(eDefaulBlinkRate)
{
// in your platform-specific class, get data from the OS in your constructor
}
//-----------------------------------------------------------------------------
nsCaretProperties* NewCaretProperties()
{
return new nsCaretProperties();
}

View File

@@ -1,51 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIArena_h___
#define nsIArena_h___
#include "nscore.h"
#include "nsISupports.h"
#define NS_MIN_ARENA_BLOCK_SIZE 64
#define NS_DEFAULT_ARENA_BLOCK_SIZE 4096
/// Interface IID for nsIArena
#define NS_IARENA_IID \
{ 0xa24fdad0, 0x93b4, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/** Interface to a memory arena abstraction. Arena's use large blocks
* of memory to allocate smaller objects. Arena's provide no free
* operator; instead, all of the objects in the arena are deallocated
* by deallocating the arena (e.g. when it's reference count goes to
* zero)
*/
class nsIArena : public nsISupports {
public:
virtual void* Alloc(PRInt32 size) = 0;
};
/**
* Create a new arena using the desired block size for allocating the
* underlying memory blocks. The underlying memory blocks are allocated
* using the PR heap.
*/
extern NS_BASE nsresult NS_NewHeapArena(nsIArena** aInstancePtrResult,
PRInt32 aArenaBlockSize = 0);
#endif /* nsIArena_h___ */

View File

@@ -1,79 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIAtom_h___
#define nsIAtom_h___
#include "nscore.h"
#include "nsISupports.h"
class nsString;
class nsISizeOfHandler;
#define NS_IATOM_IID \
{ 0x3d1b15b0, 0x93b4, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/**
* A globally unique identfier. nsIAtom's can be compared for
* equality by using operator '=='. These objects are reference
* counted like other nsISupports objects. When you are done with
* the atom, NS_RELEASE it.
*/
class nsIAtom : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IATOM_IID; return iid; }
/**
* Translate the unicode string into the stringbuf.
*/
virtual void ToString(nsString& aString) const = 0;
/**
* Return a pointer to a zero terminated unicode string.
*/
virtual const PRUnichar* GetUnicode() const = 0;
/**
* Add the size, in bytes, of the atom to the handler.
*/
NS_IMETHOD SizeOf(nsISizeOfHandler* aHandler) const = 0;
};
/**
* Find an atom that matches the given iso-latin1 C string. The
* C string is translated into it's unicode equivalent.
*/
extern NS_BASE nsIAtom* NS_NewAtom(const char* isolatin1);
/**
* Find an atom that matches the given unicode string. The string is assumed
* to be zero terminated.
*/
extern NS_BASE nsIAtom* NS_NewAtom(const PRUnichar* unicode);
/**
* Find an atom that matches the given string.
*/
extern NS_BASE nsIAtom* NS_NewAtom(const nsString& aString);
/**
* Return a count of the total number of atoms currently
* alive in the system.
*/
extern NS_BASE nsrefcnt NS_GetNumberOfAtoms(void);
#endif /* nsIAtom_h___ */

View File

@@ -1,58 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIBaseStream_h___
#define nsIBaseStream_h___
#include "nscore.h"
#include "nsISupports.h"
/* 6ccb17a0-e95e-11d1-beae-00805f8a66dc */
#define NS_IBASESTREAM_IID \
{ 0x6ccb17a0, 0xe95e, 0x11d1, \
{0xbe, 0xae, 0x00, 0x80, 0x5f, 0x8a, 0x66, 0xdc} }
/** Abstract stream */
class nsIBaseStream : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IBASESTREAM_IID; return iid; }
/** Close the stream. */
NS_IMETHOD
Close(void) = 0;
};
/** Error codes */
//@{
/// End of file
#define NS_BASE_STREAM_EOF NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_BASE, 1)
/// Stream closed
#define NS_BASE_STREAM_CLOSED NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_BASE, 2)
/// Error from the operating system
#define NS_BASE_STREAM_OSERROR NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_BASE, 3)
/// Illegal arguments
#define NS_BASE_STREAM_ILLEGAL_ARGS NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_BASE, 4)
/// For unichar streams
#define NS_BASE_STREAM_NO_CONVERTER NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_BASE, 5)
/// For unichar streams
#define NS_BASE_STREAM_BAD_CONVERSION NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_BASE, 6)
//@}
#endif /* nsInputStream_h___ */

View File

@@ -1,57 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIByteBuffer_h___
#define nsIByteBuffer_h___
#include "nscore.h"
#include "nsISupports.h"
class nsIInputStream;
#define NS_IBYTE_BUFFER_IID \
{ 0xe4a6e4b0, 0x93b4, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/** Interface to a buffer that holds bytes */
class nsIByteBuffer : public nsISupports {
public:
/** @return length of buffer, i.e. how many bytes are currently in it. */
virtual PRUint32 GetLength(void) const = 0;
/** @return number of bytes allocated in the buffer */
virtual PRUint32 GetBufferSize(void) const = 0;
/** @return the buffer */
virtual char* GetBuffer(void) const = 0;
/** Grow buffer to aNewSize bytes. */
virtual PRBool Grow(PRUint32 aNewSize) = 0;
/** Fill the buffer with data from aStream. Don't grow the buffer, only
* read until length of buffer equals buffer size. */
virtual PRInt32 Fill(nsresult* aErrorCode, nsIInputStream* aStream,
PRUint32 aKeep) = 0;
};
/** Create a new byte buffer using the given buffer size. */
extern NS_BASE nsresult NS_NewByteBuffer(nsIByteBuffer** aInstancePtrResult,
nsISupports* aOuter,
PRUint32 aBufferSize = 0);
#endif /* nsIByteBuffer_h___ */

View File

@@ -1,456 +0,0 @@
#include "nsIFileStream.h"
#include "nsFileSpec.h"
#include "prerror.h"
#ifdef XP_MAC
#include "pprio.h" // To get PR_ImportFile
#else
#include "prio.h"
#endif
#ifdef XP_MAC
#include <Errors.h>
#include <iostream>
#endif
//========================================================================================
class FileImpl
: public nsIRandomAccessStore
, public nsIFileOutputStream
, public nsIFileInputStream
, public nsIFile
//========================================================================================
{
public:
FileImpl(PRFileDesc* inDesc)
: mFileDesc(inDesc)
, mFailed(PR_FALSE)
, mEOF(PR_FALSE)
, mLength(-1)
{
NS_INIT_REFCNT();
}
FileImpl(
const nsFileSpec& inFile,
int nsprMode,
PRIntn accessMode)
: mFileDesc(nsnull)
, mFailed(PR_FALSE)
, mEOF(PR_FALSE)
{
NS_INIT_REFCNT();
Open(inFile, nsprMode, accessMode);
}
virtual ~FileImpl()
{
Close();
}
// nsISupports interface
NS_DECL_ISUPPORTS
// nsIFile interface
NS_IMETHOD Open(
const nsFileSpec& inFile,
int nsprMode,
PRIntn accessMode);
NS_IMETHOD Close();
NS_IMETHOD Seek(PRSeekWhence whence, PRInt32 offset);
NS_IMETHOD GetIsOpen(PRBool* outOpen)
{
*outOpen = (mFileDesc != nsnull);
return NS_OK;
}
NS_IMETHOD Tell(PRIntn* outWhere);
// nsIInputStream interface
NS_IMETHOD GetLength(PRUint32 *aLength)
{
NS_PRECONDITION(aLength != nsnull, "null ptr");
if (!aLength)
return NS_ERROR_NULL_POINTER;
if (mLength < 0)
return NS_FILE_RESULT(NS_ERROR_UNEXPECTED);
*aLength = mLength;
return NS_OK;
}
NS_IMETHOD Read(char* aBuf,
PRUint32 aCount,
PRUint32 *aReadCount)
{
NS_PRECONDITION(aBuf != nsnull, "null ptr");
if (!aBuf)
return NS_ERROR_NULL_POINTER;
NS_PRECONDITION(aReadCount != nsnull, "null ptr");
if (!aReadCount)
return NS_ERROR_NULL_POINTER;
if (!mFileDesc)
return NS_FILE_RESULT(PR_BAD_DESCRIPTOR_ERROR);
if (mFailed)
return NS_ERROR_FAILURE;
PRInt32 bytesRead = PR_Read(mFileDesc, aBuf, aCount);
if (bytesRead < 0)
{
*aReadCount = 0;
mFailed = PR_TRUE;
return NS_FILE_RESULT(PR_GetError());
}
*aReadCount = bytesRead;
return NS_OK;
}
// nsIOutputStream interface
NS_IMETHOD Write(const char* aBuf,
PRUint32 aCount,
PRUint32 *aWriteCount)
{
NS_PRECONDITION(aBuf != nsnull, "null ptr");
NS_PRECONDITION(aWriteCount != nsnull, "null ptr");
#ifdef XP_MAC
// Calling PR_Write on stdout is sure suicide.
if (mFileDesc == PR_STDOUT || mFileDesc == PR_STDERR)
{
cout.write(aBuf, aCount);
*aWriteCount = aCount;
return NS_OK;
}
#endif
if (!mFileDesc)
return NS_FILE_RESULT(PR_BAD_DESCRIPTOR_ERROR);
if (mFailed)
return NS_ERROR_FAILURE;
PRInt32 bytesWrit = PR_Write(mFileDesc, aBuf, aCount);
if (bytesWrit != (PRInt32)aCount)
{
mFailed = PR_TRUE;
*aWriteCount = 0;
return NS_FILE_RESULT(PR_GetError());
}
*aWriteCount = bytesWrit;
return NS_OK;
}
NS_IMETHOD Flush();
NS_IMETHOD GetAtEOF(PRBool* outAtEOF)
{
*outAtEOF = mEOF;
return NS_OK;
}
NS_IMETHOD SetAtEOF(PRBool inAtEOF)
{
mEOF = inAtEOF;
return NS_OK;
}
protected:
PRFileDesc* mFileDesc;
int mNSPRMode;
PRBool mFailed;
PRBool mEOF;
PRInt32 mLength;
}; // class FileImpl
#define SAY_I_IMPLEMENT(classname) \
if (aIID.Equals(classname::GetIID())) \
{ \
*aInstancePtr = (void*)((classname*)this); \
NS_ADDREF_THIS(); \
return NS_OK; \
}
NS_IMPL_RELEASE(FileImpl)
NS_IMPL_ADDREF(FileImpl)
//----------------------------------------------------------------------------------------
NS_IMETHODIMP FileImpl::QueryInterface(REFNSIID aIID, void** aInstancePtr)
//----------------------------------------------------------------------------------------
{
if (!aInstancePtr)
return NS_ERROR_NULL_POINTER;
*aInstancePtr = nsnull;
SAY_I_IMPLEMENT(nsIFile)
SAY_I_IMPLEMENT(nsIRandomAccessStore)
SAY_I_IMPLEMENT(nsIOutputStream)
SAY_I_IMPLEMENT(nsIInputStream)
SAY_I_IMPLEMENT(nsIFileInputStream)
SAY_I_IMPLEMENT(nsIFileOutputStream)
// Note that we derive from two copies of nsIBaseStream (and hence
// of nsISupports), one through
// nsIOutputStream, the other through nsIInputStream. Resolve this
// by giving them a specific one
if (aIID.Equals(((nsIBaseStream*)(nsIOutputStream*)this)->GetIID()))
{
*aInstancePtr = (void*)((nsIBaseStream*)(nsIOutputStream*)this);
NS_ADDREF_THIS();
return NS_OK;
}
if (aIID.Equals(((nsISupports*)(nsIOutputStream*)this)->GetIID()))
{
*aInstancePtr = (void*)((nsISupports*)(nsIOutputStream*)this);
NS_ADDREF_THIS();
return NS_OK;
}
return NS_NOINTERFACE;
} // FileImpl::QueryInterface
//----------------------------------------------------------------------------------------
NS_IMETHODIMP FileImpl::Open(
const nsFileSpec& inFile,
int nsprMode,
PRIntn accessMode)
//----------------------------------------------------------------------------------------
{
if (mFileDesc)
if ((nsprMode & mNSPRMode) == nsprMode)
return NS_OK;
else
return NS_FILE_RESULT(PR_ILLEGAL_ACCESS_ERROR);
const int nspr_modes[]={
PR_WRONLY | PR_CREATE_FILE,
PR_WRONLY | PR_CREATE_FILE | PR_APPEND,
PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE,
PR_RDONLY,
PR_RDONLY | PR_APPEND,
PR_RDWR | PR_CREATE_FILE,
PR_RDWR | PR_CREATE_FILE | PR_TRUNCATE,
// "wb",
// "ab",
// "wb",
// "rb",
// "r+b",
// "w+b",
0 };
const int* currentLegalMode = nspr_modes;
while (*currentLegalMode && nsprMode != *currentLegalMode)
++currentLegalMode;
if (!*currentLegalMode)
return NS_FILE_RESULT(PR_ILLEGAL_ACCESS_ERROR);
#ifdef XP_MAC
// Use the file spec to open the file, because one path can be common to
// several files on the Macintosh (you can have several volumes with the
// same name, see).
mFileDesc = 0;
if (inFile.Error() != noErr)
return NS_FILE_RESULT(inFile.Error());
OSErr err = noErr;
#if DEBUG
const OSType kCreator = 'CWIE';
#else
const OSType kCreator = 'MOSS';
#endif
// Resolve the alias to the original file.
nsFileSpec original = inFile;
PRBool ignoredResult;
original.ResolveAlias(ignoredResult);
const FSSpec& spec = original.operator const FSSpec&();
if (nsprMode & PR_CREATE_FILE)
err = FSpCreate(&spec, kCreator, 'TEXT', 0);
if (err == dupFNErr)
err = noErr;
if (err != noErr)
return NS_FILE_RESULT(err);
SInt8 perm;
if (nsprMode & PR_RDWR)
perm = fsRdWrPerm;
else if (nsprMode & PR_WRONLY)
perm = fsWrPerm;
else
perm = fsRdPerm;
short refnum;
err = FSpOpenDF(&spec, perm, &refnum);
if (err == noErr && (nsprMode & PR_TRUNCATE))
err = SetEOF(refnum, 0);
if (err == noErr && (nsprMode & PR_APPEND))
err = SetFPos(refnum, fsFromLEOF, 0);
if (err != noErr)
return NS_FILE_RESULT(err);
if ((mFileDesc = PR_ImportFile(refnum)) == 0)
return NS_FILE_RESULT(PR_GetError());
#else
// Platforms other than Macintosh...
// Another bug in NSPR: Mac PR_Open assumes a unix style path, but Win PR_Open assumes
// a windows path.
if ((mFileDesc = PR_Open((const char*)nsFileSpec(inFile), nsprMode, accessMode)) == 0)
return NS_FILE_RESULT(PR_GetError());
#endif
mNSPRMode = nsprMode;
mLength = PR_Available(mFileDesc);
return NS_OK;
} // FileImpl::Open
//----------------------------------------------------------------------------------------
NS_IMETHODIMP FileImpl::Seek(PRSeekWhence whence, PRInt32 offset)
//----------------------------------------------------------------------------------------
{
if (mFileDesc==PR_STDIN || mFileDesc==PR_STDOUT || mFileDesc==PR_STDERR || !mFileDesc)
return NS_FILE_RESULT(PR_BAD_DESCRIPTOR_ERROR);
mFailed = PR_FALSE; // reset on a seek.
mEOF = PR_FALSE; // reset on a seek.
PRInt32 position = PR_Seek(mFileDesc, 0, PR_SEEK_CUR);
PRInt32 available = PR_Available(mFileDesc);
PRInt32 fileSize = position + available;
PRInt32 newPosition = 0;
switch (whence)
{
case PR_SEEK_CUR: newPosition = position + offset; break;
case PR_SEEK_SET: newPosition = offset; break;
case PR_SEEK_END: newPosition = fileSize + offset; break;
}
if (newPosition < 0)
{
newPosition = 0;
mFailed = PR_TRUE;
}
if (newPosition >= fileSize) // nb: not "else if".
{
newPosition = fileSize;
mEOF = PR_TRUE;
}
if (PR_Seek(mFileDesc, newPosition, PR_SEEK_SET) < 0)
mFailed = PR_TRUE;
return NS_OK;
} // FileImpl::Seek
//----------------------------------------------------------------------------------------
NS_IMETHODIMP FileImpl::Tell(PRIntn* outWhere)
//----------------------------------------------------------------------------------------
{
if (mFileDesc==PR_STDIN || mFileDesc==PR_STDOUT || mFileDesc==PR_STDERR || !mFileDesc)
return NS_FILE_RESULT(PR_BAD_DESCRIPTOR_ERROR);
*outWhere = PR_Seek(mFileDesc, 0, PR_SEEK_CUR);
return NS_OK;
} // FileImpl::Tell
//----------------------------------------------------------------------------------------
NS_IMETHODIMP FileImpl::Close()
//----------------------------------------------------------------------------------------
{
if (mFileDesc==PR_STDIN || mFileDesc==PR_STDOUT || mFileDesc==PR_STDERR || !mFileDesc)
return NS_OK;
if (PR_Close(mFileDesc) == PR_SUCCESS)
mFileDesc = 0;
else
return NS_FILE_RESULT(PR_GetError());
return NS_OK;
} // FileImpl::close
//----------------------------------------------------------------------------------------
NS_IMETHODIMP FileImpl::Flush()
//----------------------------------------------------------------------------------------
{
#ifdef XP_MAC
if (mFileDesc == PR_STDOUT || mFileDesc == PR_STDERR)
{
cout.flush();
return NS_OK;
}
#endif
if (!mFileDesc)
return NS_FILE_RESULT(PR_BAD_DESCRIPTOR_ERROR);
PRBool itFailed = PR_Sync(mFileDesc) != PR_SUCCESS;
#ifdef XP_MAC
// On unix, it seems to fail always.
if (itFailed)
mFailed = PR_TRUE;
#endif
return NS_OK;
} // FileImpl::flush
//----------------------------------------------------------------------------------------
NS_BASE nsresult NS_NewTypicalInputFileStream(
nsISupports** aResult,
const nsFileSpec& inFile
/*Default nsprMode == PR_RDONLY*/
/*Default accessmode = 0700 (octal)*/)
// Factory method to get an nsInputStream from a file, using most common options
//----------------------------------------------------------------------------------------
{
return NS_NewIOFileStream(aResult, inFile, PR_RDONLY, 0700);
}
//----------------------------------------------------------------------------------------
NS_BASE nsresult NS_NewOutputConsoleStream(
nsISupports** aResult)
// Factory method to get an nsOutputStream to the console.
//----------------------------------------------------------------------------------------
{
NS_PRECONDITION(aResult != nsnull, "null ptr");
if (! aResult)
return NS_ERROR_NULL_POINTER;
FileImpl* stream = new FileImpl(PR_STDOUT);
if (! stream)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(stream);
*aResult = (nsISupports*)(void*)stream;
return NS_OK;
}
//----------------------------------------------------------------------------------------
NS_BASE nsresult NS_NewTypicalOutputFileStream(
nsISupports** aResult,
const nsFileSpec& inFile
/*default nsprMode= (PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE)*/
/*Default accessMode= 0700 (octal)*/)
// Factory method to get an nsOutputStream to a file - most common case.
//----------------------------------------------------------------------------------------
{
return NS_NewIOFileStream(
aResult,
inFile,
(PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE),
0700);
}
//----------------------------------------------------------------------------------------
NS_BASE nsresult NS_NewIOFileStream(
nsISupports** aResult,
const nsFileSpec& inFile,
PRInt32 nsprMode /*default = (PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE)*/,
PRInt32 accessMode /*Default = 0700 (octal)*/)
// Factory method to get an object that implements both nsIInputStream
// and nsIOutputStream, associated with a file.
//----------------------------------------------------------------------------------------
{
NS_PRECONDITION(aResult != nsnull, "null ptr");
if (!aResult)
return NS_ERROR_NULL_POINTER;
FileImpl* stream = new FileImpl(inFile, nsprMode, accessMode);
if (! stream)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(stream);
*aResult = (nsISupports*)(void*)stream;
return NS_OK;
}
//----------------------------------------------------------------------------------------
NS_BASE nsresult NS_NewTypicalIOFileStream(
nsISupports** aResult,
const nsFileSpec& inFile
/*default nsprMode= (PR_RDWR | PR_CREATE_FILE)*/
/*Default accessMode= 0700 (octal)*/)
// Factory method to get an object that implements both nsIInputStream
// and nsIOutputStream, associated with a single file.
//----------------------------------------------------------------------------------------
{
return NS_NewIOFileStream(
aResult,
inFile,
(PR_RDWR | PR_CREATE_FILE),
0700);
}

View File

@@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIInputStream_h___
#define nsIInputStream_h___
#include "nsIBaseStream.h"
#define NS_IINPUTSTREAM_IID \
{ 0x022396f0, 0x93b5, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/** Abstract byte input stream */
class nsIInputStream : public nsIBaseStream {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IINPUTSTREAM_IID; return iid; }
/** Return the number of bytes in the stream
* @param aLength out parameter to hold the length
* of the stream. if an error occurs, the length
* will be undefined
* @return error status
*/
NS_IMETHOD
GetLength(PRUint32 *aLength) = 0;
/** Read data from the stream.
* @param aErrorCode the error code if an error occurs
* @param aBuf the buffer into which the data is read
* @param aCount the maximum number of bytes to read
* @param aReadCount out parameter to hold the number of
* bytes read, eof if 0. if an error occurs, the
* read count will be undefined
* @return error status
*/
NS_IMETHOD
Read(char* aBuf, PRUint32 aCount, PRUint32 *aReadCount) = 0;
};
#endif /* nsInputStream_h___ */

View File

@@ -1,47 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIOutputStream_h___
#define nsIOutputStream_h___
#include "nsIBaseStream.h"
/* 7f13b870-e95f-11d1-beae-00805f8a66dc */
#define NS_IOUTPUTSTREAM_IID \
{ 0x7f13b870, 0xe95f, 0x11d1, \
{0xbe, 0xae, 0x00, 0x80, 0x5f, 0x8a, 0x66, 0xdc} }
/** Abstract byte output stream */
class nsIOutputStream : public nsIBaseStream {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IOUTPUTSTREAM_IID; return iid; }
/** Write data into the stream.
* @param aBuf the buffer into which the data is read
* @param aCount the maximum number of bytes to read
* @param aWriteCount out parameter to hold the number of
* bytes written. if an error occurs, the writecount
* is undefined
* @return error status
*/
NS_IMETHOD
Write(const char* aBuf, PRUint32 aCount, PRUint32 *aWriteCount) = 0;
};
#endif /* nsOutputStream_h___ */

View File

@@ -1,463 +0,0 @@
#include "nsIStringStream.h"
#include "nsIFileStream.h"
#include "prerror.h"
#include "nsFileSpec.h"
#include "plstr.h"
//========================================================================================
class BasicStringImpl
: public nsIOutputStream
, public nsIInputStream
, public nsIRandomAccessStore
//========================================================================================
{
public:
BasicStringImpl()
: mResult(NS_OK)
, mEOF(PR_FALSE)
, mOffset(0)
{
NS_INIT_REFCNT();
}
virtual ~BasicStringImpl()
{
}
NS_IMETHOD Seek(PRSeekWhence whence, PRInt32 offset);
NS_IMETHOD Tell(PRIntn* outWhere)
{
*outWhere = mOffset;
return NS_OK;
}
NS_IMETHOD GetAtEOF(PRBool* outAtEOF)
{
*outAtEOF = mEOF;
return NS_OK;
}
NS_IMETHOD SetAtEOF(PRBool inAtEOF)
{
mEOF = inAtEOF;
return NS_OK;
}
NS_IMETHOD GetLength(PRUint32 *aLength)
{
NS_PRECONDITION(aLength != nsnull, "null ptr");
if (!aLength)
return NS_ERROR_NULL_POINTER;
*aLength = length();
return NS_OK;
}
NS_IMETHOD Read(char* aBuf,
PRUint32 aCount,
PRUint32 *aReadCount)
{
NS_PRECONDITION(aBuf != nsnull, "null ptr");
if (!aBuf)
return NS_ERROR_NULL_POINTER;
NS_PRECONDITION(aReadCount != nsnull, "null ptr");
if (!aReadCount)
return NS_ERROR_NULL_POINTER;
if (NS_FAILED(mResult))
return mResult;
PRInt32 bytesRead = read(aBuf, aCount);
if (NS_FAILED(mResult))
{
*aReadCount = 0;
return mResult;
}
*aReadCount = bytesRead;
if (bytesRead < aCount)
SetAtEOF(PR_TRUE);
return NS_OK;
}
// nsIOutputStream interface
NS_IMETHOD Write(const char* aBuf,
PRUint32 aCount,
PRUint32 *aWriteCount)
{
NS_PRECONDITION(aBuf != nsnull, "null ptr");
NS_PRECONDITION(aWriteCount != nsnull, "null ptr");
if (NS_FAILED(mResult))
return mResult;
PRInt32 bytesWrit = write(aBuf, aCount);
if (NS_FAILED(mResult))
{
*aWriteCount = 0;
return mResult;
}
*aWriteCount = bytesWrit;
return NS_OK;
}
public:
// nsISupports interface
NS_DECL_ISUPPORTS
NS_IMETHOD Close() { return NS_OK; }
// nsIInputStream interface
NS_IMETHOD Flush() { return NS_OK; }
public:
nsresult get_result() const { return mResult; }
protected:
virtual PRInt32 length() const = 0;
virtual PRInt32 read(char* buf, PRUint32 count) = 0;
virtual PRInt32 write(const char*, PRUint32)
{
NS_ASSERTION(PR_FALSE, "Write to a const string");
mResult = NS_FILE_RESULT(PR_ILLEGAL_ACCESS_ERROR);
return -1;
}
protected:
PRUint32 mOffset;
nsresult mResult;
PRBool mEOF;
}; // class BasicStringImpl
//========================================================================================
class ConstCharImpl
: public BasicStringImpl
//========================================================================================
{
public:
ConstCharImpl(const char* inString)
: mConstString(inString)
, mLength(inString ? strlen(inString) : 0)
{
}
protected:
virtual PRInt32 length() const
{
return mLength;
}
virtual PRInt32 read(char* buf, PRUint32 aCount)
{
PRInt32 maxCount = mLength - mOffset;
if (aCount > maxCount)
aCount = maxCount;
memcpy(buf, mConstString + mOffset, aCount);
mOffset += aCount;
return aCount;
}
protected:
const char* mConstString;
size_t mLength;
}; // class ConstCharImpl
//========================================================================================
class CharImpl
: public ConstCharImpl
//========================================================================================
{
enum { kAllocQuantum = 256 };
public:
CharImpl(char** inString)
: ConstCharImpl(*inString)
, mString(*inString)
, mAllocLength(mLength + 1)
, mOriginalLength(mLength)
{
if (!mString)
{
mAllocLength += kAllocQuantum;
mString = new char[mAllocLength];
if (!mString)
{
mResult = NS_ERROR_OUT_OF_MEMORY;
return;
}
mConstString = mString;
*mString = '\0';
}
}
virtual PRInt32 write(const char* buf, PRUint32 aCount)
{
PRInt32 maxCount = mAllocLength - 1 - mOffset;
if (aCount > maxCount)
{
do {
maxCount += kAllocQuantum;
} while (aCount > maxCount);
mAllocLength = maxCount + 1 + mOffset;
char* newString = new char[mAllocLength];
if (!newString)
{
mResult = NS_ERROR_OUT_OF_MEMORY;
return 0;
}
strcpy(newString, mString);
delete [] mString;
mString = newString;
mConstString = newString;
}
memcpy(mString + mOffset, buf, aCount);
mOffset += aCount;
if (mOffset > mOriginalLength)
mString[mOffset] = 0;
return aCount;
}
protected:
char*& mString;
size_t mOriginalLength;
size_t mAllocLength;
}; // class CharImpl
//========================================================================================
class ConstStringImpl
: public ConstCharImpl
//========================================================================================
{
public:
ConstStringImpl(const nsString& inString)
: ConstCharImpl(inString.ToNewCString())
{
}
~ConstStringImpl()
{
delete [] (char*)mConstString;
}
protected:
protected:
}; // class ConstStringImpl
//========================================================================================
class StringImpl
: public ConstStringImpl
//========================================================================================
{
public:
StringImpl(nsString& inString)
: ConstStringImpl(inString)
, mString(inString)
{
}
protected:
virtual PRInt32 write(const char* buf, PRUint32 count)
{
// Clone our string as chars
char* cstring = mString.ToNewCString();
// Make a CharImpl and do the write
CharImpl chars(&cstring);
chars.Seek(PR_SEEK_SET, mOffset);
// Get the bytecount and result from the CharImpl
PRInt32 result = chars.write(buf,count);
mResult = chars.get_result();
// Set our string to match the new chars
mString = cstring;
// Set our const string also...
delete [] (char*)mConstString;
mConstString = cstring;
return result;
}
protected:
nsString& mString;
}; // class StringImpl
#define SAY_I_IMPLEMENT(classname) \
if (aIID.Equals(classname::GetIID())) \
{ \
*aInstancePtr = (void*)((classname*)this); \
NS_ADDREF_THIS(); \
return NS_OK; \
}
NS_IMPL_RELEASE(BasicStringImpl)
NS_IMPL_ADDREF(BasicStringImpl)
//----------------------------------------------------------------------------------------
NS_IMETHODIMP BasicStringImpl::QueryInterface(REFNSIID aIID, void** aInstancePtr)
//----------------------------------------------------------------------------------------
{
if (!aInstancePtr)
return NS_ERROR_NULL_POINTER;
*aInstancePtr = nsnull;
SAY_I_IMPLEMENT(nsIRandomAccessStore)
SAY_I_IMPLEMENT(nsIOutputStream)
SAY_I_IMPLEMENT(nsIInputStream)
// Note that we derive from two copies of nsIBaseStream (and hence
// of nsISupports), one through
// nsIOutputStream, the other through nsIInputStream. Resolve this
// by giving them a specific one
if (aIID.Equals(((nsIBaseStream*)(nsIOutputStream*)this)->GetIID()))
{
*aInstancePtr = (void*)((nsIBaseStream*)(nsIOutputStream*)this);
NS_ADDREF_THIS();
return NS_OK;
}
if (aIID.Equals(((nsISupports*)(nsIOutputStream*)this)->GetIID()))
{
*aInstancePtr = (void*)((nsISupports*)(nsIOutputStream*)this);
NS_ADDREF_THIS();
return NS_OK;
}
return NS_NOINTERFACE;
} // StringImpl::QueryInterface
//----------------------------------------------------------------------------------------
NS_IMETHODIMP BasicStringImpl::Seek(PRSeekWhence whence, PRInt32 offset)
//----------------------------------------------------------------------------------------
{
mResult = NS_OK; // reset on a seek.
mEOF = PR_FALSE; // reset on a seek.
PRInt32 fileSize = length();
PRInt32 newPosition;
switch (whence)
{
case PR_SEEK_CUR: newPosition = mOffset + offset; break;
case PR_SEEK_SET: newPosition = offset; break;
case PR_SEEK_END: newPosition = fileSize + offset; break;
}
if (newPosition < 0)
{
newPosition = 0;
mResult = NS_FILE_RESULT(PR_FILE_SEEK_ERROR);
}
if (newPosition >= fileSize)
{
newPosition = fileSize;
mEOF = PR_TRUE;
}
mOffset = newPosition;
return NS_OK;
} // StringImpl::Seek
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewStringInputStream(
nsISupports** aStreamResult,
const nsString& aStringToRead)
// Factory method to get an nsInputStream from a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
//----------------------------------------------------------------------------------------
{
NS_PRECONDITION(aStreamResult != nsnull, "null ptr");
if (! aStreamResult)
return NS_ERROR_NULL_POINTER;
ConstStringImpl* stream = new ConstStringImpl(aStringToRead);
if (! stream)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(stream);
*aStreamResult = (nsISupports*)(void*)stream;
return NS_OK;
}
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewStringOutputStream(
nsISupports** aStreamResult,
nsString& aStringToChange)
// Factory method to get an nsOutputStream from a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
//----------------------------------------------------------------------------------------
{
NS_PRECONDITION(aStreamResult != nsnull, "null ptr");
if (! aStreamResult)
return NS_ERROR_NULL_POINTER;
StringImpl* stream = new StringImpl(aStringToChange);
if (! stream)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(stream);
*aStreamResult = (nsISupports*)(void*)stream;
return NS_OK;
}
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewCharInputStream(
nsISupports** aStreamResult,
const char* aStringToRead)
// Factory method to get an nsInputStream from a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
//----------------------------------------------------------------------------------------
{
NS_PRECONDITION(aStreamResult != nsnull, "null ptr");
if (! aStreamResult)
return NS_ERROR_NULL_POINTER;
ConstCharImpl* stream = new ConstCharImpl(aStringToRead);
if (! stream)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(stream);
*aStreamResult = (nsISupports*)(void*)stream;
return NS_OK;
}
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewCharOutputStream(
nsISupports** aStreamResult,
char** aStringToChange)
// Factory method to get an nsOutputStream to a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
//----------------------------------------------------------------------------------------
{
NS_PRECONDITION(aStreamResult != nsnull, "null ptr");
NS_PRECONDITION(aStringToChange != nsnull, "null ptr");
if (!aStreamResult || !aStringToChange)
return NS_ERROR_NULL_POINTER;
CharImpl* stream = new CharImpl(aStringToChange);
if (! stream)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(stream);
*aStreamResult = (nsISupports*)(void*)stream;
return NS_OK;
}
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewStringIOStream(
nsISupports** aStreamResult,
nsString& aStringToChange)
// Factory method to get an nsOutputStream to a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
//----------------------------------------------------------------------------------------
{
return NS_NewStringOutputStream(aStreamResult, aStringToChange);
}
//----------------------------------------------------------------------------------------
extern "C" NS_BASE nsresult NS_NewCharIOStream(
nsISupports** aStreamResult,
char** aStringToChange)
// Factory method to get an nsOutputStream to a string. Result will implement all the
// file stream interfaces in nsIFileStream.h
//----------------------------------------------------------------------------------------
{
return NS_NewCharOutputStream(aStreamResult, aStringToChange);
}

View File

@@ -1,96 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsITimer_h___
#define nsITimer_h___
#include "nscore.h"
#include "nsISupports.h"
class nsITimer;
class nsITimerCallback;
// Implementations of nsITimer should be written such that there are no limitations
// on what can be called by the TimerCallbackFunc. On platforms like the Macintosh this
// means that callback functions must be called from the main event loop NOT from
// an interrupt.
/// Signature of timer callback function
typedef void
(*nsTimerCallbackFunc) (nsITimer *aTimer, void *aClosure);
/// Interface IID for nsITimer
#define NS_ITIMER_IID \
{ 0x497eed20, 0xb740, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
/**
* Timer class, used to invoke a function or method after a fixed
* millisecond interval. <B>Note that this interface is subject to
* change!</B>
*/
class nsITimer : public nsISupports {
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ITIMER_IID)
/**
* Initialize a timer to fire after the given millisecond interval.
* This version takes a function to call and a closure to pass to
* that function.
*
* @param aFunc - The function to invoke
* @param aClosure - an opaque pointer to pass to that function
* @param aRepeat - (Not yet implemented) One-shot or repeating
* @param aDelay - The millisecond interval
* @result - NS_OK if this operation was successful
*/
virtual nsresult Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay)=0;
/**
* Initialize a timer to fire after the given millisecond interval.
* This version takes an interface of type <code>nsITimerCallback</code>.
* The <code>Notify</code> method of this method is invoked.
*
* @param aCallback - The interface to notify
* @param aRepeat - (Not yet implemented) One-shot or repeating
* @param aDelay - The millisecond interval
* @result - NS_OK if this operation was successful
*/
virtual nsresult Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay)=0;
/// Cancels the timeout
virtual void Cancel()=0;
/// @return the millisecond delay of the timeout
virtual PRUint32 GetDelay()=0;
/// Change the millisecond interval for the timeout
virtual void SetDelay(PRUint32 aDelay)=0;
/// @return the opaque pointer
virtual void* GetClosure()=0;
};
/** Factory method for creating an nsITimer */
extern NS_BASE nsresult NS_NewTimer(nsITimer** aInstancePtrResult);
#endif

View File

@@ -1,43 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsITimerCallback_h___
#define nsITimerCallback_h___
#include "nscore.h"
#include "nsISupports.h"
class nsITimer;
/// Interface IID for nsITimerCallback
#define NS_ITIMERCALLBACK_IID \
{ 0x5079b3a0, 0xb743, 0x11d1, \
{ 0x9b, 0xc3, 0x00, 0x60, 0x08, 0x8c, 0xa6, 0xb3 } }
/**
* Interface implemented by users of the nsITimer class. An instance
* of this interface is passed in when creating a timer. The Notify()
* method of that instance is invoked after the specified delay.
*/
class nsITimerCallback : public nsISupports {
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ITIMERCALLBACK_IID)
virtual void Notify(nsITimer *timer) = 0;
};
#endif

View File

@@ -1,46 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIUnicharBuffer_h___
#define nsIUnicharBuffer_h___
#include "nscore.h"
#include "nsISupports.h"
class nsIUnicharInputStream;
#define NS_IUNICHAR_BUFFER_IID \
{ 0x14cf6970, 0x93b5, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/// Interface to a buffer that holds unicode characters
class nsIUnicharBuffer : public nsISupports {
public:
virtual PRInt32 GetLength() const = 0;
virtual PRInt32 GetBufferSize() const = 0;
virtual PRUnichar* GetBuffer() const = 0;
virtual PRBool Grow(PRInt32 aNewSize) = 0;
virtual PRInt32 Fill(nsresult* aErrorCode, nsIUnicharInputStream* aStream,
PRInt32 aKeep) = 0;
};
/// Factory method for nsIUnicharBuffer.
extern NS_BASE nsresult
NS_NewUnicharBuffer(nsIUnicharBuffer** aInstancePtrResult,
nsISupports* aOuter,
PRUint32 aBufferSize = 0);
#endif /* nsIUnicharBuffer_h___ */

View File

@@ -1,62 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIUnicharInputStream_h___
#define nsIUnicharInputStream_h___
#include "nsIInputStream.h"
class nsString;
#define NS_IUNICHAR_INPUT_STREAM_IID \
{ 0x2d97fbf0, 0x93b5, 0x11d1, \
{0x89, 0x5b, 0x00, 0x60, 0x08, 0x91, 0x1b, 0x81} }
/** Abstract unicode character input stream
* @see nsIInputStream
*/
class nsIUnicharInputStream : public nsISupports {
public:
NS_IMETHOD Read(PRUnichar* aBuf,
PRUint32 aOffset,
PRUint32 aCount,
PRUint32 *aReadCount) = 0;
NS_IMETHOD Close() = 0;
};
/**
* Create a nsIUnicharInputStream that wraps up a string. Data is fed
* from the string out until the done. When this object is destroyed
* it destroyes the string (so make a copy if you don't want it doing
* that)
*/
extern NS_BASE nsresult
NS_NewStringUnicharInputStream(nsIUnicharInputStream** aInstancePtrResult,
nsString* aString);
/** Create a new nsUnicharInputStream that provides a converter for the
* byte input stream aStreamToWrap. If no converter can be found then
* nsnull is returned and the error code is set to
* NS_INPUTSTREAM_NO_CONVERTER.
*/
extern NS_BASE nsresult
NS_NewConverterStream(nsIUnicharInputStream** aInstancePtrResult,
nsISupports* aOuter,
nsIInputStream* aStreamToWrap,
PRInt32 aBufferSize = 0,
nsString* aCharSet = nsnull);
#endif /* nsUnicharInputStream_h___ */

View File

@@ -1,340 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsInt64_h__
#define nsInt64_h__
#include "prlong.h"
#include "nscore.h"
/**
* This class encapsulates full 64-bit integer functionality and
* provides simple arithmetic and conversion operations.
*/
// If you ever decide that you need to add a non-inline method to this
// class, be sure to change the class declaration to "class NS_BASE
// nsInt64".
class nsInt64
{
private:
PRInt64 mValue;
public:
/**
* Construct a new 64-bit integer.
*/
nsInt64(void) : mValue(LL_ZERO) {
}
/**
* Construct a new 64-bit integer from a 32-bit signed integer
*/
nsInt64(const PRInt32 aInt32) {
LL_I2L(mValue, aInt32);
}
/**
* Construct a new 64-bit integer from a 32-bit unsigned integer
*/
nsInt64(const PRUint32 aUint32) {
LL_UI2L(mValue, aUint32);
}
/**
* Construct a new 64-bit integer from a floating point value.
*/
nsInt64(const PRFloat64 aFloat64) {
LL_D2L(mValue, aFloat64);
}
/**
* Construct a new 64-bit integer from a native 64-bit integer
*/
nsInt64(const PRInt64 aInt64) : mValue(aInt64) {
}
/**
* Construct a new 64-bit integer from another 64-bit integer
*/
nsInt64(const nsInt64& aObject) : mValue(aObject.mValue) {
}
// ~nsInt64(void) -- XXX destructor unnecessary
/**
* Assign a 64-bit integer to another 64-bit integer
*/
const nsInt64& operator =(const nsInt64& aObject) {
mValue = aObject.mValue;
return *this;
}
/**
* Convert a 64-bit integer to a signed 32-bit value
*/
operator PRInt32(void) const {
PRInt32 result;
LL_L2I(result, mValue);
return result;
}
/**
* Convert a 64-bit integer to an unsigned 32-bit value
*/
operator PRUint32(void) const {
PRUint32 result;
LL_L2UI(result, mValue);
return result;
}
/**
* Convert a 64-bit integer to a floating point value
*/
operator PRFloat64(void) const {
PRFloat64 result;
LL_L2D(result, mValue);
return result;
}
/**
* Convert a 64-bit integer to a native 64-bit integer.
*/
operator PRInt64(void) const {
return mValue;
}
/**
* Perform unary negation on a 64-bit integer.
*/
const nsInt64 operator -(void) {
nsInt64 result;
LL_NEG(result.mValue, mValue);
return result;
}
// Arithmetic operators
friend const nsInt64 operator +(const nsInt64& aObject1, const nsInt64& aObject2);
friend const nsInt64 operator -(const nsInt64& aObject1, const nsInt64& aObject2);
friend const nsInt64 operator *(const nsInt64& aObject1, const nsInt64& aObject2);
friend const nsInt64 operator /(const nsInt64& aObject1, const nsInt64& aObject2);
friend const nsInt64 operator %(const nsInt64& aObject1, const nsInt64& aObject2);
/**
* Increment a 64-bit integer by a 64-bit integer amount.
*/
nsInt64& operator +=(const nsInt64& aObject) {
LL_ADD(mValue, mValue, aObject.mValue);
return *this;
}
/**
* Decrement a 64-bit integer by a 64-bit integer amount.
*/
nsInt64& operator -=(const nsInt64& aObject) {
LL_SUB(mValue, mValue, aObject.mValue);
return *this;
}
/**
* Multiply a 64-bit integer by a 64-bit integer amount.
*/
nsInt64& operator *=(const nsInt64& aObject) {
LL_MUL(mValue, mValue, aObject.mValue);
return *this;
}
/**
* Divide a 64-bit integer by a 64-bit integer amount.
*/
nsInt64& operator /=(const nsInt64& aObject) {
LL_DIV(mValue, mValue, aObject.mValue);
return *this;
}
/**
* Compute the modulus of a 64-bit integer to a 64-bit value.
*/
nsInt64& operator %=(const nsInt64& aObject) {
LL_MOD(mValue, mValue, aObject.mValue);
return *this;
}
// Comparison operators
friend PRBool operator ==(const nsInt64& aObject1, const nsInt64& aObject2);
friend PRBool operator !=(const nsInt64& aObject1, const nsInt64& aObject2);
friend PRBool operator >(const nsInt64& aObject1, const nsInt64& aObject2);
friend PRBool operator >=(const nsInt64& aObject1, const nsInt64& aObject2);
friend PRBool operator <(const nsInt64& aObject1, const nsInt64& aObject2);
friend PRBool operator <=(const nsInt64& aObject1, const nsInt64& aObject2);
// Bitwise operators
friend const nsInt64 operator &(const nsInt64& aObject1, const nsInt64& aObject2);
friend const nsInt64 operator |(const nsInt64& aObject1, const nsInt64& aObject2);
friend const nsInt64 operator ^(const nsInt64& aObject1, const nsInt64& aObject2);
/**
* Compute the bitwise NOT of a 64-bit integer
*/
const nsInt64 operator ~(void) {
nsInt64 result;
LL_NOT(result.mValue, mValue);
return result;
}
/**
* Compute the bitwise AND with another 64-bit integer
*/
nsInt64& operator &=(const nsInt64& aObject) {
LL_AND(mValue, mValue, aObject.mValue);
return *this;
}
/**
* Compute the bitwise OR with another 64-bit integer
*/
nsInt64& operator |=(const nsInt64& aObject) {
LL_OR(mValue, mValue, aObject.mValue);
return *this;
}
/**
* Compute the bitwise XOR with another 64-bit integer
*/
nsInt64& operator ^=(const nsInt64& aObject) {
LL_XOR(mValue, mValue, aObject.mValue);
return *this;
}
};
/**
* Add two 64-bit integers.
*/
inline const nsInt64
operator +(const nsInt64& aObject1, const nsInt64& aObject2) {
return nsInt64(aObject1) += aObject2;
}
/**
* Subtract one 64-bit integer from another.
*/
inline const nsInt64
operator -(const nsInt64& aObject1, const nsInt64& aObject2) {
return nsInt64(aObject1) -= aObject2;
}
/**
* Multiply two 64-bit integers
*/
inline const nsInt64
operator *(const nsInt64& aObject1, const nsInt64& aObject2) {
return nsInt64(aObject1) *= aObject2;
}
/**
* Divide one 64-bit integer by another
*/
inline const nsInt64
operator /(const nsInt64& aObject1, const nsInt64& aObject2) {
return nsInt64(aObject1) /= aObject2;
}
/**
* Compute the modulus of two 64-bit integers
*/
inline const nsInt64
operator %(const nsInt64& aObject1, const nsInt64& aObject2) {
return nsInt64(aObject1) %= aObject2;
}
/**
* Determine if two 64-bit integers are equal
*/
inline PRBool
operator ==(const nsInt64& aObject1, const nsInt64& aObject2) {
return LL_EQ(aObject1.mValue, aObject2.mValue);
}
/**
* Determine if two 64-bit integers are not equal
*/
inline PRBool
operator !=(const nsInt64& aObject1, const nsInt64& aObject2) {
return LL_NE(aObject1.mValue, aObject2.mValue);
}
/**
* Determine if one 64-bit integer is strictly greater than another, using signed values
*/
inline PRBool
operator >(const nsInt64& aObject1, const nsInt64& aObject2) {
return LL_CMP(aObject1.mValue, >, aObject2.mValue);
}
/**
* Determine if one 64-bit integer is greater than or equal to another, using signed values
*/
inline PRBool
operator >=(const nsInt64& aObject1, const nsInt64& aObject2) {
return LL_CMP(aObject1.mValue, >=, aObject2.mValue);
}
/**
* Determine if one 64-bit integer is strictly less than another, using signed values
*/
inline PRBool
operator <(const nsInt64& aObject1, const nsInt64& aObject2) {
return LL_CMP(aObject1.mValue, <, aObject2.mValue);
}
/**
* Determine if one 64-bit integers is less than or equal to another, using signed values
*/
inline PRBool
operator <=(const nsInt64& aObject1, const nsInt64& aObject2) {
return LL_CMP(aObject1.mValue, <=, aObject2.mValue);
}
/**
* Perform a bitwise AND of two 64-bit integers
*/
inline const nsInt64
operator &(const nsInt64& aObject1, const nsInt64& aObject2) {
return nsInt64(aObject1) &= aObject2;
}
/**
* Perform a bitwise OR of two 64-bit integers
*/
inline const nsInt64
operator |(const nsInt64& aObject1, const nsInt64& aObject2) {
return nsInt64(aObject1) |= aObject2;
}
/**
* Perform a bitwise XOR of two 64-bit integers
*/
inline const nsInt64
operator ^(const nsInt64& aObject1, const nsInt64& aObject2) {
return nsInt64(aObject1) ^= aObject2;
}
#endif // nsInt64_h__

View File

@@ -1,312 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#define NS_IMPL_IDS
#include "nsID.h"
#include "nsBaseDLL.h"
#include "nsCRT.h"
#include "nsIInputStream.h"
#include "nsIProperties.h"
#include "nsIUnicharInputStream.h"
#include "nsProperties.h"
#include "plhash.h"
#include "pratom.h"
class nsProperties : public nsIProperties
{
public:
nsProperties();
virtual ~nsProperties();
NS_DECL_ISUPPORTS
NS_IMETHOD Load(nsIInputStream* aIn);
NS_IMETHOD GetProperty(const nsString& aKey, nsString& aValue);
NS_IMETHOD SetProperty(const nsString& aKey, nsString& aNewValue,
nsString& aOldValue);
NS_IMETHOD Save(nsIOutputStream* aOut, const nsString& aHeader);
NS_IMETHOD Subclass(nsIProperties* aSubclass);
PRInt32 Read();
PRInt32 SkipLine(PRInt32 c);
PRInt32 SkipWhiteSpace(PRInt32 c);
nsIUnicharInputStream* mIn;
nsIProperties* mSubclass;
struct PLHashTable* mTable;
};
nsProperties::nsProperties()
{
NS_INIT_REFCNT();
mIn = nsnull;
mSubclass = NS_STATIC_CAST(nsIProperties*, this);
mTable = nsnull;
}
PR_STATIC_CALLBACK(PRIntn)
FreeHashEntries(PLHashEntry* he, PRIntn i, void* arg)
{
delete[] (PRUnichar*)he->key;
delete[] (PRUnichar*)he->value;
return HT_ENUMERATE_REMOVE;
}
nsProperties::~nsProperties()
{
if (mTable) {
// Free the PRUnicode* pointers contained in the hash table entries
PL_HashTableEnumerateEntries(mTable, FreeHashEntries, 0);
PL_HashTableDestroy(mTable);
mTable = nsnull;
}
}
NS_DEFINE_IID(kIPropertiesIID, NS_IPROPERTIES_IID);
NS_IMPL_ISUPPORTS(nsProperties, kIPropertiesIID)
NS_IMETHODIMP
nsProperties::Load(nsIInputStream *aIn)
{
PRInt32 c;
nsresult ret;
ret = NS_NewConverterStream(&mIn, nsnull, aIn);
if (ret != NS_OK) {
cout << "NS_NewConverterStream failed" << endl;
return NS_ERROR_FAILURE;
}
c = Read();
while (1) {
c = SkipWhiteSpace(c);
if (c < 0) {
break;
}
else if ((c == '#') || (c == '!')) {
c = SkipLine(c);
continue;
}
else {
nsAutoString key("");
while ((c >= 0) && (c != '=') && (c != ':')) {
key.Append((PRUnichar) c);
c = Read();
}
if (c < 0) {
break;
}
char *trimThese = " \t";
key.Trim(trimThese, PR_FALSE, PR_TRUE);
c = Read();
nsAutoString value("");
while ((c >= 0) && (c != '\r') && (c != '\n')) {
if (c == '\\') {
c = Read();
if ((c == '\r') || (c == '\n')) {
c = SkipWhiteSpace(c);
}
else {
value.Append('\\');
}
}
value.Append((PRUnichar) c);
c = Read();
}
value.Trim(trimThese, PR_TRUE, PR_TRUE);
nsAutoString oldValue("");
mSubclass->SetProperty(key, value, oldValue);
}
}
mIn->Close();
NS_RELEASE(mIn);
NS_ASSERTION(!mIn, "unexpected remaining reference");
return NS_OK;
}
static PLHashNumber
HashKey(const PRUnichar *aString)
{
return (PLHashNumber) nsCRT::HashValue(aString);
}
static PRIntn
CompareKeys(const PRUnichar *aStr1, const PRUnichar *aStr2)
{
return nsCRT::strcmp(aStr1, aStr2) == 0;
}
NS_IMETHODIMP
nsProperties::SetProperty(const nsString& aKey, nsString& aNewValue,
nsString& aOldValue)
{
// XXX The ToNewCString() calls allocate memory using "new" so this code
// causes a memory leak...
#if 0
cout << "will add " << aKey.ToNewCString() << "=" << aNewValue.ToNewCString() << endl;
#endif
if (!mTable) {
mTable = PL_NewHashTable(8, (PLHashFunction) HashKey,
(PLHashComparator) CompareKeys,
(PLHashComparator) nsnull, nsnull, nsnull);
if (!mTable) {
return NS_ERROR_OUT_OF_MEMORY;
}
}
const PRUnichar *key = aKey.GetUnicode(); // returns internal pointer (not a copy)
PRUint32 len;
PRUint32 hashValue = nsCRT::HashValue(key, &len);
PLHashEntry **hep = PL_HashTableRawLookup(mTable, hashValue, key);
PLHashEntry *he = *hep;
if (he && aOldValue) {
// XXX fix me
}
PL_HashTableRawAdd(mTable, hep, hashValue, aKey.ToNewUnicode(),
aNewValue.ToNewUnicode());
return NS_OK;
}
NS_IMETHODIMP
nsProperties::Save(nsIOutputStream* aOut, const nsString& aHeader)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsProperties::Subclass(nsIProperties* aSubclass)
{
if (aSubclass) {
mSubclass = aSubclass;
}
return NS_OK;
}
NS_IMETHODIMP
nsProperties::GetProperty(const nsString& aKey, nsString& aValue)
{
const PRUnichar *key = aKey;
PRUint32 len;
PRUint32 hashValue = nsCRT::HashValue(key, &len);
PLHashEntry **hep = PL_HashTableRawLookup(mTable, hashValue, key);
PLHashEntry *he = *hep;
if (he) {
aValue = (const PRUnichar*)he->value;
return NS_OK;
}
return NS_ERROR_FAILURE;
}
PRInt32
nsProperties::Read()
{
PRUnichar c;
PRUint32 nRead;
nsresult ret;
ret = mIn->Read(&c, 0, 1, &nRead);
if (ret == NS_OK) {
return c;
}
return -1;
}
#define IS_WHITE_SPACE(c) \
(((c) == ' ') || ((c) == '\t') || ((c) == '\r') || ((c) == '\n'))
PRInt32
nsProperties::SkipWhiteSpace(PRInt32 c)
{
while ((c >= 0) && IS_WHITE_SPACE(c)) {
c = Read();
}
return c;
}
PRInt32
nsProperties::SkipLine(PRInt32 c)
{
while ((c >= 0) && (c != '\r') && (c != '\n')) {
c = Read();
}
if (c == '\r') {
c = Read();
}
if (c == '\n') {
c = Read();
}
return c;
}
nsPropertiesFactory::nsPropertiesFactory()
{
NS_INIT_REFCNT();
}
nsPropertiesFactory::~nsPropertiesFactory()
{
}
NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
NS_IMPL_ISUPPORTS(nsPropertiesFactory, kIFactoryIID);
NS_IMETHODIMP
nsPropertiesFactory::CreateInstance(nsISupports* aOuter, REFNSIID aIID,
void** aResult)
{
if (aOuter) {
return NS_ERROR_NO_AGGREGATION;
}
if (!aResult) {
return NS_ERROR_NULL_POINTER;
}
*aResult = nsnull;
nsProperties* props = new nsProperties();
if (!props) {
return NS_ERROR_OUT_OF_MEMORY;
}
nsresult ret = props->QueryInterface(aIID, aResult);
if (NS_FAILED(ret)) {
delete props;
}
return ret;
}
NS_IMETHODIMP
nsPropertiesFactory::LockFactory(PRBool aLock)
{
if (aLock) {
PR_AtomicIncrement(&gLockCount);
}
else {
PR_AtomicDecrement(&gLockCount);
}
return NS_OK;
}

View File

@@ -1,37 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsProperties_h___
#define nsProperties_h___
#include "nsIFactory.h"
class nsPropertiesFactory : public nsIFactory
{
public:
nsPropertiesFactory();
virtual ~nsPropertiesFactory();
NS_DECL_ISUPPORTS
NS_IMETHOD CreateInstance(nsISupports* aOuter, REFNSIID aIID,
void** aResult);
NS_IMETHOD LockFactory(PRBool aLock);
};
#endif /* nsProperties_h___ */

View File

@@ -1,423 +0,0 @@
/**
* This file defines the binary tree class and it
* nsNode child class.
*
* This simple version stores nodes, and the
* nodes store void* ptrs.
*
* @update gess 4/11/98
* @param
* @return
*/
#include "nsRBTree.h"
/**************************************************
Here comes the nsRBTree class...
*************************************************/
/**
* nsRBTree constructor
*
* @update gess 4/11/98
*/
nsRBTree::nsRBTree() : nsBTree() {
mRoot=0;
}
/**
* nsRBTree constructor
*
* @update gess 4/11/98
*/
nsRBTree::nsRBTree(const nsRBTree& aCopy) : nsBTree(aCopy) {
mRoot=aCopy.mRoot;
}
/**
* nsRBTree destructor
*
* @update gess 4/11/98
* @param
* @return
*/
nsRBTree::~nsRBTree(){
if(mRoot){
//walk the tree and destroy the children.
}
}
/**
* Given a node, we're supposed to add it into
* our tree.
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* nsRBTree::Add(nsNode& aNode){
nsBTree::Add(aNode);
nsNode* node1=&aNode;
nsNode* node2=0;
node1->mColor=nsNode::eRed;
while((node1!=mRoot) && (node1->mParent->mColor==nsNode::eRed)) {
if(node1->mParent==node1->mParent->mParent->mLeft) {
node2=node1->mParent->mParent->mLeft;
if(node2->mColor==nsNode::eRed) {
node1->mParent->mColor=nsNode::eBlack;
node2->mColor=nsNode::eBlack;
node1->mParent->mParent->mColor=nsNode::eRed;
node1=node1->mParent->mParent;
}
else {
if(node1==node1->mParent->mRight) {
node1=node1->mParent;
ShiftLeft(*node1);
}
node1->mParent->mColor=nsNode::eBlack;
node1->mParent->mParent->mColor=nsNode::eRed;
ShiftRight(*node1->mParent->mParent);
}
}
else {
node2=node1->mParent->mParent->mRight;
if (node2->mColor==nsNode::eRed){
node1->mParent->mColor=nsNode::eBlack;
node2->mColor=nsNode::eBlack;
node1->mParent->mParent->mColor=nsNode::eRed;
node1=node1->mParent->mParent;
}
else {
if (node1==node1->mParent->mLeft) {
node1=node1->mParent;
ShiftRight(*node1);
}
node1->mParent->mColor=nsNode::eBlack;
node1->mParent->mParent->mColor=nsNode::eRed;
ShiftLeft(*node1->mParent->mParent);
}
}
}
mRoot->mColor=nsNode::eBlack;
return &aNode;
}
/**
* Retrive the first node in the tree
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* nsRBTree::First(){
nsNode* result=First(*mRoot);
return result;
}
/**
* Retrieve the first node given a starting node
*
* @update gess 4/11/98
* @param aNode --
* @return node ptr or null
*/
nsNode* nsRBTree::First(nsNode& aNode){
nsNode* result=0;
if(mRoot) {
result=mRoot;
while(result->GetLeftNode()) {
result=result->GetLeftNode();
}
}
return result;
}
/**
* Find the last node in the tree
*
* @update gess 4/11/98
* @param
* @return node ptr or null
*/
nsNode* nsRBTree::Last(){
nsNode* result=Last(*mRoot);
return result;
}
/**
* Find the last node from a given node
*
* @update gess 4/11/98
* @param aNode -- node ptr to start from
* @return node ptr or null
*/
nsNode* nsRBTree::Last(nsNode& aNode){
nsNode* result=0;
if(mRoot) {
result=mRoot;
while(result->GetRightNode()) {
result=result->GetRightNode();
}
}
return result;
}
/**
* Retrieve the node that preceeds the given node
*
* @update gess 4/11/98
* @param aNode -- node to find precedent of
* @return preceeding node ptr, or null
*/
nsNode* nsRBTree::Before(nsNode& aNode){
if(aNode.GetLeftNode())
return Last(*aNode.GetLeftNode());
//otherwise...
nsNode* node1=&aNode;
nsNode* node2=aNode.GetParentNode();
while((node2) && (node1==node2->GetLeftNode())) {
node1=node2;
node2=node2->GetParentNode();
}
return node2;
}
/**
* Retrieve a ptr to the node following the given node
*
* @update gess 4/11/98
* @param aNode -- node to find successor node from
* @return node ptr or null
*/
nsNode* nsRBTree::After(nsNode& aNode){
if(aNode.GetRightNode())
return First(*aNode.GetRightNode());
//otherwise...
nsNode* node1=&aNode;
nsNode* node2=aNode.GetParentNode();
while((node2) && (node1==node2->GetRightNode())) {
node1=node2;
node2=node2->GetParentNode();
}
return node2;
}
/**
* Find a (given) node in the tree
*
* @update gess 4/11/98
* @param node to find in the tree
* @return node ptr (if found) or null
*/
nsNode* nsRBTree::Find(nsNode& aNode){
nsNode* result=mRoot;
while((result) && (!((*result)==aNode))) {
if(aNode<*result)
result=result->mLeft;
else result=result->mRight;
}
return result;
}
/**
* Causes a shift to the left, to keep the
* underlying RB data in balance
*
* @update gess 4/11/98
* @param
* @return this
*/
nsRBTree& nsRBTree::ShiftLeft(nsNode& aNode){
nsNode* temp= aNode.mRight;
aNode.mRight=temp->mLeft;
if(temp->mLeft)
temp->mRight->mParent=&aNode;
temp->mParent= aNode.mParent;
if (aNode.mParent) {
if (&aNode==aNode.mParent->mLeft)
aNode.mParent->mLeft=temp;
else aNode.mParent->mRight=temp;
}
else mRoot=temp;
temp->mLeft=&aNode;;
aNode.mParent=temp;
return *this;
}
/**
* Causes a shift right to occur, to keep the
* underlying RB data in balance
*
* @update gess 4/11/98
* @param aNode -- node at which to perform shift
* @return this
*/
nsRBTree& nsRBTree::ShiftRight(nsNode& aNode){
nsNode* temp=aNode.mLeft;
aNode.mLeft=temp->mRight;
if(temp->mRight)
temp->mRight->mParent=&aNode;
temp->mParent=aNode.mParent;
if(aNode.mParent){
if(&aNode==aNode.mParent->mRight)
aNode.mParent->mRight=temp;
else aNode.mParent->mLeft=temp;
}
else mRoot=temp;
temp->mRight=&aNode;
aNode.mParent=temp;
return *this;
}
/**
* Rebalances tree around the given node. This only
* needs to be called after a node is deleted.
*
* @update gess 4/11/98
* @param aNode -- node to balance around
* @return this
*/
nsBTree& nsRBTree::ReBalance(nsNode& aNode){
nsNode* node1=&aNode;
nsNode* node2=0;
while ((node1!=mRoot) && (node1->mColor==nsNode::eBlack)) {
if(node1==node1->mParent->mLeft) {
node2=node1->mParent->mRight;
if(node2->mColor==nsNode::eRed) {
node2->mColor=nsNode::eBlack;
node1->mParent->mColor=nsNode::eRed;
ShiftLeft(*node1->mParent);
node2=node1->mParent->mRight;
}
if((node2->mLeft->mColor == nsNode::eBlack) &&
(node2->mRight->mColor == nsNode::eBlack)) {
node2->mColor=nsNode::eRed;
node1=node1->mParent;
}
else {
if(node2->mRight->mColor == nsNode::eBlack) {
node2->mLeft->mColor=nsNode::eBlack;
node2->mColor=nsNode::eRed;
ShiftRight(*node2);
node2=node1->mParent->mRight;
}
node2->mColor=node1->mParent->mColor;
node1->mParent->mColor=nsNode::eBlack;
node2->mRight->mColor=nsNode::eBlack;
ShiftLeft(*node1->mParent);
node1=mRoot;
} //else
}
else {
node2=node1->mParent->mLeft;
if(node2->mColor==nsNode::eRed) {
node2->mColor=nsNode::eBlack;
node1->mParent->mColor=nsNode::eRed;
ShiftRight(*node1->mParent);
node2=node1->mParent->mLeft;
}
if((node2->mRight->mColor == nsNode::eBlack) &&
(node2->mLeft->mColor == nsNode::eBlack)) {
node2->mColor=nsNode::eRed;
node1=node1->mParent;
}
else {
if(node2->mLeft->mColor == nsNode::eBlack){
node2->mRight->mColor=nsNode::eBlack;
node2->mColor=nsNode::eRed;
ShiftLeft(*node2);
node2=node1->mParent->mLeft;
}
node2->mColor=node1->mParent->mColor;
node1->mParent->mColor=nsNode::eBlack;
node2->mLeft->mColor=nsNode::eBlack;
ShiftRight(*node1->mParent);
node1=mRoot;
} //else
} //if
} //while
node1->mColor=nsNode::eBlack;
return *this;
}
/**************************************************
Here comes the nsRBTreeIterator class...
*************************************************/
/**
*
*
* @update gess 4/11/98
* @param
* @return
*/
nsRBTreeIterator::nsRBTreeIterator(const nsRBTree& aTree) : mTree(aTree) {
}
/**
* copy constructor
*
* @update gess 4/11/98
* @param aCopy is the object you want to copy from
* @return newly constructed object
*/
nsRBTreeIterator::nsRBTreeIterator(const nsRBTreeIterator& aCopy) : mTree(aCopy.mTree) {
}
/**
* Destructor method
*
* @update gess 4/11/98
*/
nsRBTreeIterator::~nsRBTreeIterator(){
}
/**
* This method iterates over the tree, calling
* aFunctor for each node.
*
* @update gess 4/11/98
* @param aFunctor -- object to call for each node
* @param aNode -- node at which to start iteration
* @return this
*/
const nsRBTreeIterator& nsRBTreeIterator::ForEach(nsNodeFunctor& aFunctor) const{
mTree.ForEach(aFunctor);
return *this;
}

View File

@@ -1,223 +0,0 @@
/**
* This file defines the binary tree class and its
* nsNode child class.
*
* This simple version stores nodes, and the
* nodes store void* ptrs.
*
* @update gess 4/11/98
* @param
* @return
*/
/**
* MODULE NOTES
* @update gess 4/11/98
*
* This file declares the nsRBTree (red/black tree).
* Red/black trees are auto-balancing binary trees.
*
* To use this class, define a subclass of nsNode
* which stores your data type. It's important that
* you overload the following methods:
*
* virtual PRBool operator<()
* virtual PRBool operator==()
*
*/
#ifndef _nsRBTree
#define _nsRBTree
#include "nsBTree.h"
/**
* Here comes the main event: our nsRBTree (red/black tree).
* Red/Black trees are autobalancing binary trees.
*
* @update gess4/20/98
*/
class NS_BASE nsRBTree : public nsBTree {
public:
friend class NS_BASE nsRBTreeIterator;
/**
* nsRBTree constructor
*
* @update gess 4/11/98
*/
nsRBTree();
/**
* nsRBTree constructor
*
* @update gess 4/11/98
*/
nsRBTree(const nsRBTree& aCopy);
/**
* nsRBTree destructor
*
* @update gess 4/11/98
*/
virtual ~nsRBTree();
/**
* Given a node, we're supposed to add it into
* our tree.
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* Add(nsNode& aNode);
/**
* Retrive the first node in the tree
*
* @update gess 4/11/98
* @param
* @return
*/
nsNode* First(void);
/**
* Retrieve the first node given a starting node
*
* @update gess 4/11/98
* @param aNode --
* @return node ptr or null
*/
nsNode* First(nsNode& aNode);
/**
* Find the last node in the tree
*
* @update gess 4/11/98
* @param
* @return node ptr or null
*/
nsNode* Last(void);
/**
* Find the last node from a given node
*
* @update gess 4/11/98
* @param aNode -- node ptr to start from
* @return node ptr or null
*/
nsNode* Last(nsNode& aNode);
/**
* Retrieve the node that preceeds the given node
*
* @update gess 4/11/98
* @param aNode -- node to find precedent of
* @return preceeding node ptr, or null
*/
nsNode* Before(nsNode& aNode);
/**
* Retrieve a ptr to the node following the given node
*
* @update gess 4/11/98
* @param aNode -- node to find successor node from
* @return node ptr or null
*/
nsNode* After(nsNode& aNode);
/**
* Find a (given) node in the tree
*
* @update gess 4/11/98
* @param node to find in the tree
* @return node ptr (if found) or null
*/
nsNode* Find(nsNode& aNode);
private:
/**
* Causes a shift to the left, to keep the
* underlying RB data in balance
*
* @update gess 4/11/98
* @param
* @return this
*/
nsRBTree& ShiftLeft(nsNode& aNode);
/**
* Causes a shift right to occur, to keep the
* underlying RB data in balance
*
* @update gess 4/11/98
* @param aNode -- node at which to perform shift
* @return this
*/
nsRBTree& ShiftRight(nsNode& aNode);
/**
* Rebalances tree around the given node. This only
* needs to be called after a node is deleted.
*
* @update gess 4/11/98
* @param aNode -- node to balance around
* @return this
*/
virtual nsBTree& ReBalance(nsNode& aNode);
};
class NS_BASE nsRBTreeIterator {
public:
/**
* TreeIterator constructor
*
* @update gess 4/11/98
* @param
* @return
*/
nsRBTreeIterator(const nsRBTree& aTree);
/**
* TreeIterator constructor
*
* @update gess 4/11/98
* @param
* @return
*/
nsRBTreeIterator(const nsRBTreeIterator& aCopy);
/**
* tree iterator destructor
*
* @update gess 4/11/98
* @param
* @return
*/
~nsRBTreeIterator();
/**
* This method iterates over the tree, calling
* aFunctor for each node.
*
* @update gess 4/11/98
* @param aFunctor -- object to call for each node
* @param aNode -- node at which to start iteration
* @return this
*/
const nsRBTreeIterator& ForEach(nsNodeFunctor& aFunctor) const;
protected:
const nsRBTree& mTree;
};
#endif

View File

@@ -1,121 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsISizeOfHandler.h"
#include "plhash.h"
static NS_DEFINE_IID(kISizeOfHandlerIID, NS_ISIZEOF_HANDLER_IID);
class nsSizeOfHandler : public nsISizeOfHandler {
public:
nsSizeOfHandler();
~nsSizeOfHandler();
// nsISupports
NS_DECL_ISUPPORTS
// nsISizeOfHandler
NS_IMETHOD Add(size_t aSize);
virtual PRBool HaveSeen(void* anObject);
NS_IMETHOD GetSize(PRUint32& aResult);
protected:
PRUint32 mTotalSize;
PLHashTable* mTable;
};
static PLHashNumber
HashKey(void* key)
{
return (PLHashNumber) key;
}
static PRIntn
CompareKeys(void* key1, void* key2)
{
return key1 == key2;
}
nsSizeOfHandler::nsSizeOfHandler()
{
NS_INIT_REFCNT();
mTotalSize = 0;
mTable = PL_NewHashTable(8, (PLHashFunction) HashKey,
(PLHashComparator) CompareKeys,
(PLHashComparator) nsnull,
nsnull, nsnull);
}
nsSizeOfHandler::~nsSizeOfHandler()
{
if (nsnull != mTable) {
PL_HashTableDestroy(mTable);
}
}
NS_IMPL_ISUPPORTS(nsSizeOfHandler, kISizeOfHandlerIID)
NS_IMETHODIMP
nsSizeOfHandler::Add(size_t aSize)
{
mTotalSize += aSize;
return NS_OK;
}
PRBool
nsSizeOfHandler::HaveSeen(void* anObject)
{
if (nsnull == mTable) {
// When we run out of memory, HaveSeen returns PR_TRUE to stop
// wasting time.
return PR_TRUE;
}
if (nsnull != anObject) {
PRInt32 hashCode = (PRInt32) anObject;
PLHashEntry** hep = PL_HashTableRawLookup(mTable, hashCode, anObject);
PLHashEntry* he = *hep;
if (nsnull != he) {
return PR_TRUE;
}
he = PL_HashTableRawAdd(mTable, hep, hashCode, anObject, anObject);
if (nsnull == he) {
// When we run out of memory, HaveSeen returns PR_TRUE to stop
// wasting time.
return PR_TRUE;
}
return PR_FALSE;
}
return PR_TRUE;
}
NS_IMETHODIMP
nsSizeOfHandler::GetSize(PRUint32& aResult)
{
aResult = mTotalSize;
return NS_OK;
}
NS_BASE nsresult
NS_NewSizeOfHandler(nsISizeOfHandler** aInstancePtrResult)
{
nsISizeOfHandler *it = new nsSizeOfHandler();
if (it == nsnull) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kISizeOfHandlerIID, (void **) aInstancePtrResult);
}

View File

@@ -1,369 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape 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/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*
* Contributors:
* Doug Turner <dougt@netscape.com>
*/
#include "nsSpecialSystemDirectory.h"
#include "nsDebug.h"
#ifdef XP_MAC
#include <Folders.h>
#include <Files.h>
#include <Memory.h>
#include <Processes.h>
#elif defined(XP_PC)
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#elif defined(XP_UNIX)
#include <unistd.h>
#include <stdlib.h>
#include <sys/param.h>
#endif
#include "plstr.h"
#if XP_PC
//----------------------------------------------------------------------------------------
static char* MakeUpperCase(char* aPath)
//----------------------------------------------------------------------------------------
{
// windows does not care about case. push to uppercase:
int length = strlen(aPath);
for (int i = 0; i < length; i++)
if (islower(aPath[i]))
aPath[i] = _toupper(aPath[i]);
return aPath;
}
#endif
//----------------------------------------------------------------------------------------
static void GetCurrentProcessDirectory(nsFileSpec& aFileSpec)
//----------------------------------------------------------------------------------------
{
#ifdef XP_PC
char buf[MAX_PATH];
if ( ::GetModuleFileName(0, buf, sizeof(buf)) ) {
// chop of the executable name by finding the rightmost backslash
char* lastSlash = PL_strrchr(buf, '\\');
if (lastSlash)
*(lastSlash + 1) = '\0';
aFileSpec = buf;
return;
}
#elif defined(XP_MAC)
// get info for the the current process to determine the directory
// its located in
OSErr err;
ProcessSerialNumber psn;
if (!(err = GetCurrentProcess(&psn)))
{
ProcessInfoRec pInfo;
FSSpec tempSpec;
// initialize ProcessInfoRec before calling
// GetProcessInformation() or die horribly.
pInfo.processName = nil;
pInfo.processAppSpec = &tempSpec;
pInfo.processInfoLength = sizeof(ProcessInfoRec);
if (!(err = GetProcessInformation(&psn, &pInfo)))
{
FSSpec appFSSpec = *(pInfo.processAppSpec);
long theDirID = appFSSpec.parID;
Str255 name;
CInfoPBRec catInfo;
catInfo.dirInfo.ioCompletion = NULL;
catInfo.dirInfo.ioNamePtr = (StringPtr)&name;
catInfo.dirInfo.ioVRefNum = appFSSpec.vRefNum;
catInfo.dirInfo.ioDrDirID = theDirID;
catInfo.dirInfo.ioFDirIndex = -1; // -1 = query dir in ioDrDirID
if (!(err = PBGetCatInfoSync(&catInfo)))
{
aFileSpec = nsFileSpec(appFSSpec.vRefNum,
catInfo.dirInfo.ioDrParID,
name);
return;
}
}
}
#elif defined(XP_UNIX)
// In the absence of a good way to get the executable directory let
// us try this for unix:
// - if MOZILLA_FIVE_HOME is defined, that is it
// - else give the current directory
char buf[MAXPATHLEN];
char *moz5 = getenv("MOZILLA_FIVE_HOME");
if (moz5)
{
aFileSpec = moz5;
return;
}
else
{
if (getcwd(buf, sizeof(buf)))
{
aFileSpec = buf;
return;
}
}
#endif
NS_ERROR("unable to get current process directory");
}
//nsSpecialSystemDirectory::nsSpecialSystemDirectory()
//: nsFileSpec(nsnull)
//{
//}
//----------------------------------------------------------------------------------------
nsSpecialSystemDirectory::nsSpecialSystemDirectory(SystemDirectories aSystemSystemDirectory)
//----------------------------------------------------------------------------------------
: nsFileSpec(nsnull)
{
*this = aSystemSystemDirectory;
}
//----------------------------------------------------------------------------------------
nsSpecialSystemDirectory::~nsSpecialSystemDirectory()
//----------------------------------------------------------------------------------------
{
}
//----------------------------------------------------------------------------------------
void nsSpecialSystemDirectory::operator = (SystemDirectories aSystemSystemDirectory)
//----------------------------------------------------------------------------------------
{
*this = (const char*)nsnull;
switch (aSystemSystemDirectory)
{
case OS_DriveDirectory:
#ifdef XP_PC
{
char path[_MAX_PATH];
PRInt32 len = GetWindowsDirectory( path, _MAX_PATH );
if (len)
{
if ( path[1] == ':' && path[2] == '\\' )
path[3] = 0;
}
*this = MakeUpperCase(path);
}
#elif defined(XP_MAC)
{
*this = kVolumeRootFolderType;
}
#else
*this = "/";
#endif
break;
case OS_TemporaryDirectory:
#ifdef XP_PC
char path[_MAX_PATH];
if ( GetEnvironmentVariable(TEXT("TMP"), path, _MAX_PATH) == 0 )
if (GetEnvironmentVariable(TEXT("TEMP"), path, _MAX_PATH))
{
// still not set!
PRInt32 len = GetWindowsDirectory( path, _MAX_PATH );
if (len)
{
strcat( path, "temp" );
}
}
strcat( path, "\\" );
*this = MakeUpperCase(path);
#elif defined(XP_MAC)
*this = kTemporaryFolderType;
#elif defined(XP_UNIX)
*this = "/tmp/";
#endif
break;
case OS_CurrentProcessDirectory:
GetCurrentProcessDirectory(*this);
break;
#ifdef XP_MAC
case Mac_SystemDirectory:
*this = kSystemFolderType;
break;
case Mac_DesktopDirectory:
*this = kDesktopFolderType;
break;
case Mac_TrashDirectory:
*this = kTrashFolderType;
break;
case Mac_StartupDirectory:
*this = kStartupFolderType;
break;
case Mac_ShutdownDirectory:
*this = kShutdownFolderType;
break;
case Mac_AppleMenuDirectory:
*this = kAppleMenuFolderType;
break;
case Mac_ControlPanelDirectory:
*this = kControlPanelFolderType;
break;
case Mac_ExtensionDirectory:
*this = kExtensionFolderType;
break;
case Mac_FontsDirectory:
*this = kFontsFolderType;
break;
case Mac_PreferencesDirectory:
*this = kPreferencesFolderType;
break;
case Mac_DocumentsDirectory:
*this = kDocumentsFolderType;
break;
#endif
#ifdef XP_PC
case Win_SystemDirectory:
{
char path[_MAX_PATH];
PRInt32 len = GetSystemDirectory( path, _MAX_PATH );
// Need enough space to add the trailing backslash
if (len > _MAX_PATH-2)
break;
path[len] = '\\';
path[len+1] = '\0';
*this = MakeUpperCase(path);
break;
}
case Win_WindowsDirectory:
{
char path[_MAX_PATH];
PRInt32 len = GetWindowsDirectory( path, _MAX_PATH );
// Need enough space to add the trailing backslash
if (len > _MAX_PATH-2)
break;
path[len] = '\\';
path[len+1] = '\0';
*this = MakeUpperCase(path);
break;
}
#endif
#ifdef XP_UNIX
case Unix_LocalDirectory:
*this = "/usr/local/netscape/";
break;
case Unix_LibDirectory:
*this = "/usr/local/lib/netscape/";
break;
#endif
default:
break;
}
}
#ifdef XP_MAC
//----------------------------------------------------------------------------------------
nsSpecialSystemDirectory::nsSpecialSystemDirectory(OSType folderType)
//----------------------------------------------------------------------------------------
{
*this = folderType;
}
//----------------------------------------------------------------------------------------
void nsSpecialSystemDirectory::operator = (OSType folderType)
//----------------------------------------------------------------------------------------
{
CInfoPBRec cinfo;
DirInfo *dipb=(DirInfo *)&cinfo;
// Call FindFolder to fill in the vrefnum and dirid
for (int attempts = 0; attempts < 2; attempts++)
{
mError = NS_FILE_RESULT(
FindFolder(
kOnSystemDisk,
folderType,
true,
&dipb->ioVRefNum,
&dipb->ioDrDirID));
if (NS_SUCCEEDED(mError))
break;
if (attempts > 0)
return;
switch (folderType)
{
case kDocumentsFolderType:
// Find folder will find this, as long as it exists.
// The "create" parameter, however, is sadly ignored.
// How do we internationalize this?
*this = kVolumeRootFolderType;
*this += "Documents";
CreateDirectory();
break;
} // switch
} // for
StrFileName filename;
filename[0] = '\0';
dipb->ioNamePtr = (StringPtr)&filename;
dipb->ioFDirIndex = -1;
mError = NS_FILE_RESULT(PBGetCatInfoSync(&cinfo));
if (NS_SUCCEEDED(mError))
{
mError = NS_FILE_RESULT(FSMakeFSSpec(dipb->ioVRefNum, dipb->ioDrParID, filename, &mSpec));
}
}
#endif // XP_MAC

View File

@@ -1,133 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// First checked in on 98/12/08 by John R. McMullen.
// Since nsFileStream.h is entirely templates, common code (such as open())
// which does not actually depend on the charT, can be placed here.
#ifdef XP_UNIX
// Compile the un-inlined functions in this file only.
#define DEFINING_FILE_STREAM
#endif
#include "nsStdFileStream.h"
#ifdef XP_MAC
#include <Errors.h>
#endif
//----------------------------------------------------------------------------------------
PRFileDesc* nsFileStreamHelpers::open(
const nsFilePath& inFile,
IOS_BASE::openmode mode,
PRIntn accessMode)
//----------------------------------------------------------------------------------------
{
PRFileDesc* descriptor = 0;
const IOS_BASE::openmode valid_modes[]=
{
IOS_BASE::out,
IOS_BASE::out | IOS_BASE::app,
IOS_BASE::out | IOS_BASE::trunc,
IOS_BASE::in,
IOS_BASE::in | IOS_BASE::out,
IOS_BASE::in | IOS_BASE::out | IOS_BASE::trunc,
// IOS_BASE::out | IOS_BASE::binary,
// IOS_BASE::out | IOS_BASE::app | IOS_BASE::binary,
// IOS_BASE::out | IOS_BASE::trunc | IOS_BASE::binary,
// IOS_BASE::in | IOS_BASE::binary,
// IOS_BASE::in | IOS_BASE::out | IOS_BASE::binary,
// IOS_BASE::in | IOS_BASE::out | IOS_BASE::trunc | IOS_BASE::binary,
0
};
const int nspr_modes[]={
PR_WRONLY | PR_CREATE_FILE,
PR_WRONLY | PR_CREATE_FILE | PR_APPEND,
PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE,
PR_RDONLY,
PR_RDONLY | PR_APPEND,
PR_RDWR | PR_CREATE_FILE,
PR_RDWR | PR_CREATE_FILE | PR_TRUNCATE,
// "wb",
// "ab",
// "wb",
// "rb",
// "r+b",
// "w+b",
0 };
int ind=0;
while (valid_modes[ind] && valid_modes[ind] != (mode&~IOS_BASE::ate))
++ind;
if (!nspr_modes[ind])
return 0;
#ifdef XP_MAC
// Use the file spec to open the file, because one path can be common to
// several files on the Macintosh (you can have several volumes with the
// same name, see).
descriptor = 0;
if (inFile.GetNativeSpec().Error() != noErr)
return 0;
OSErr err = noErr;
#if DEBUG
const OSType kCreator = 'CWIE';
#else
const OSType kCreator = 'MOSS';
#endif
nsNativeFileSpec nativeSpec = inFile.GetNativeSpec();
FSSpec* spec = (FSSpec*)nativeSpec;
if (nspr_modes[ind] & PR_CREATE_FILE)
err = FSpCreate(spec, kCreator, 'TEXT', 0);
if (err == dupFNErr)
err = noErr;
if (err != noErr)
return 0;
SInt8 perm;
if (nspr_modes[ind] & PR_RDWR)
perm = fsRdWrPerm;
else if (nspr_modes[ind] & PR_WRONLY)
perm = fsWrPerm;
else
perm = fsRdPerm;
short refnum;
err = FSpOpenDF(spec, perm, &refnum);
if (err == noErr && (nspr_modes[ind] & PR_TRUNCATE))
err = SetEOF(refnum, 0);
if (err == noErr && (nspr_modes[ind] & PR_APPEND))
err = SetFPos(refnum, fsFromLEOF, 0);
if (err != noErr)
return 0;
if ((descriptor = PR_ImportFile(refnum)) == 0)
return 0;
#else
// Platforms other than Macintosh...
if ((descriptor = PR_Open(inFile, nspr_modes[ind], accessMode)) != 0)
#endif
if (mode&IOS_BASE::ate && PR_Seek(descriptor, 0, PR_SEEK_END) >= 0)
{
PR_Close(descriptor);
descriptor = 0;
return 0;
}
return descriptor;
} // nsFileStreamHelpers::open

File diff suppressed because it is too large Load Diff

View File

@@ -1,808 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/***********************************************************************
MODULE NOTES:
A. There are two philosophies to building string classes:
1. Hide the underlying buffer & offer API's allow indirect iteration
2. Reveal underlying buffer, risk corruption, but gain performance
We chose the second option for performance reasons.
B Our internal buffer always holds capacity+1 bytes.
***********************************************************************/
#ifndef _NSSTRING
#define _NSSTRING
#include "prtypes.h"
#include "nscore.h"
#include "nsIAtom.h"
#include <iostream.h>
#include <stdio.h>
class nsISizeOfHandler;
class NS_BASE nsString {
public:
/**
* Default constructor. Note that we actually allocate a small buffer
* to begin with. This is because the "philosophy" of the string class
* was to allow developers direct access to the underlying buffer for
* performance reasons.
*/
nsString();
/**
* This constructor accepts an isolatin string
* @param an ascii is a ptr to a 1-byte cstr
*/
nsString(const char* aCString);
/**
* This is our copy constructor
* @param reference to another nsString
*/
nsString(const nsString&);
/**
* Constructor from a unicode string
* @param anicodestr pts to a unicode string
*/
nsString(const PRUnichar* aUnicode);
/**
* Virtual Destructor
*/
virtual ~nsString();
/**
* Retrieve the length of this string
* @return string length
*/
PRInt32 Length() const { return mLength; }
/**
* Sets the new length of the string.
* @param aLength is new string length.
* @return nada
*/
void SetLength(PRInt32 aLength);
/**
* This method truncates this string to given length.
*
* @param anIndex -- new length of string
* @return nada
*/
void Truncate(PRInt32 anIndex=0);
/**
* This method gets called when the internal buffer needs
* to grow to a given size.
* @param aNewLength -- new capacity of string
* @return void
*/
virtual void EnsureCapacityFor(PRInt32 aNewLength);
/**
*
* @param
*/
virtual void SizeOf(nsISizeOfHandler* aHandler) const;
/**
* Determine whether or not the characters in this
* string are in sorted order.
*
* @return TRUE if ordered.
*/
PRBool IsOrdered(void) const;
/**********************************************************************
Accessor methods...
*********************************************************************/
/**
* Retrieve pointer to internal string value
* @return PRUnichar* to internal string
*/
const PRUnichar* GetUnicode(void) const;
/**
*
* @param
* @return
*/
operator const PRUnichar*() const;
/**
* Retrieve unicode char at given index
* @param offset into string
* @return PRUnichar* to internal string
*/
PRUnichar operator()(PRInt32 anIndex) const;
/**
* Retrieve reference to unicode char at given index
* @param offset into string
* @return PRUnichar& from internal string
*/
PRUnichar& operator[](PRInt32 anIndex) const;
/**
* Retrieve reference to unicode char at given index
* @param offset into string
* @return PRUnichar& from internal string
*/
PRUnichar& CharAt(PRInt32 anIndex) const;
/**
* Retrieve reference to first unicode char in string
* @return PRUnichar from internal string
*/
PRUnichar& First() const;
/**
* Retrieve reference to last unicode char in string
* @return PRUnichar from internal string
*/
PRUnichar& Last() const;
/**********************************************************************
String creation methods...
*********************************************************************/
/**
* Create a new string by appending given string to this
* @param aString -- 2nd string to be appended
* @return new string
*/
nsString operator+(const nsString& aString);
/**
* create a new string by adding this to the given buffer.
* @param aCString is a ptr to cstring to be added to this
* @return newly created string
*/
nsString operator+(const char* aCString);
/**
* create a new string by adding this to the given char.
* @param aChar is a char to be added to this
* @return newly created string
*/
nsString operator+(char aChar);
/**
* create a new string by adding this to the given buffer.
* @param aStr unichar buffer to be added to this
* @return newly created string
*/
nsString operator+(const PRUnichar* aBuffer);
/**
* create a new string by adding this to the given char.
* @param aChar is a unichar to be added to this
* @return newly created string
*/
nsString operator+(PRUnichar aChar);
/**
* Converts all chars in internal string to lower
*/
void ToLowerCase();
/**
* Converts all chars in given string to lower
*/
void ToLowerCase(nsString& aString) const;
/**
* Converts all chars in given string to upper
*/
void ToUpperCase();
/**
* Converts all chars in given string to UCS2
* which ensure that the lower 256 chars are correct.
*/
void ToUCS2(PRInt32 aStartOffset);
/**
* Converts all chars in internal string to upper
*/
void ToUpperCase(nsString& aString) const;
/**
* Creates a duplicate clone (ptr) of this string.
* @return ptr to clone of this string
*/
nsString* ToNewString() const;
/**
* Creates an ascii clone of this string
* NOTE: This string is allocated with new; YOU MUST deallocate with delete[]!
* @return ptr to new c-String string
*/
char* ToNewCString() const;
/**
* Copies data from internal buffer onto given char* buffer
* @param aBuf is the buffer where data is stored
* @param aBuflength is the max # of chars to move to buffer
* @return ptr to given buffer
*/
char* ToCString(char* aBuf,PRInt32 aBufLength) const;
/**
* Copies contents of this onto given string.
* @param aString to hold copy of this
* @return nada.
*/
void Copy(nsString& aString) const;
/**
* Creates an unichar clone of this string
* @return ptr to new unichar string
*/
PRUnichar* ToNewUnicode() const;
/**
* Perform string to float conversion.
* @param aErrorCode will contain error if one occurs
* @return float rep of string value
*/
float ToFloat(PRInt32* aErrorCode) const;
/**
* Perform string to int conversion.
* @param aErrorCode will contain error if one occurs
* @return int rep of string value
*/
PRInt32 ToInteger(PRInt32* aErrorCode,PRInt32 aRadix=10) const;
/**********************************************************************
String manipulation methods...
*********************************************************************/
/**
* assign given PRUnichar* to this string
* @param aStr: buffer to be assigned to this
* @param alength is the length of the given str (or -1)
if you want me to determine its length
* @return this
*/
nsString& SetString(const PRUnichar* aStr,PRInt32 aLength=-1);
/**
* assign given char* to this string
* @param aCString: buffer to be assigned to this
* @param alength is the length of the given str (or -1)
if you want me to determine its length
* @return this
*/
nsString& SetString(const char* aCString,PRInt32 aLength=-1);
/**
* assign given string to this one
* @param aString: string to be added to this
* @return this
*/
nsString& operator=(const nsString& aString);
/**
* assign given char* to this string
* @param aCString: buffer to be assigned to this
* @return this
*/
nsString& operator=(const char* aCString);
/**
* assign given char to this string
* @param aChar: char to be assignd to this
* @return this
*/
nsString& operator=(char aChar);
/**
* assign given unichar* to this string
* @param aBuffer: unichar buffer to be assigned to this
* @return this
*/
nsString& operator=(const PRUnichar* aBuffer);
/**
* assign given char to this string
* @param aChar: char to be assignd to this
* @return this
*/
nsString& operator=(PRUnichar aChar);
/**
* append given string to this string
* @param aString : string to be appended to this
* @return this
*/
nsString& operator+=(const nsString& aString);
/**
* append given buffer to this string
* @param aCString: buffer to be appended to this
* @return this
*/
nsString& operator+=(const char* aCString);
/**
* append given buffer to this string
* @param aBuffer: buffer to be appended to this
* @return this
*/
nsString& operator+=(const PRUnichar* aBuffer);
/**
* append given char to this string
* @param aChar: char to be appended to this
* @return this
*/
nsString& operator+=(PRUnichar aChar);
/**
* append given string to this string
* @param aString : string to be appended to this
* @param alength is the length of the given str (or -1)
if you want me to determine its length
* @return this
*/
nsString& Append(const nsString& aString,PRInt32 aLength=-1);
/**
* append given string to this string
* @param aString : string to be appended to this
* @param alength is the length of the given str (or -1)
if you want me to determine its length
* @return this
*/
nsString& Append(const char* aCString,PRInt32 aLength=-1);
/**
* append given string to this string
* @param aString : string to be appended to this
* @return this
*/
nsString& Append(char aChar);
/**
* append given unichar buffer to this string
* @param aString : string to be appended to this
* @param alength is the length of the given str (or -1)
if you want me to determine its length
* @return this
*/
nsString& Append(const PRUnichar* aBuffer,PRInt32 aLength=-1);
/**
* append given unichar character to this string
* @param aChar is the char to be appended to this
* @return this
*/
nsString& Append(PRUnichar aChar);
/**
* Append an integer onto this string
* @param aInteger is the int to be appended
* @param aRadix specifies 8,10,16
* @return this
*/
nsString& Append(PRInt32 aInteger,PRInt32 aRadix); //radix=8,10 or 16
/**
* Append a float value onto this string
* @param aFloat is the float to be appended
* @return this
*/
nsString& Append(float aFloat);
/*
* Copies n characters from this string to given string,
* starting at the leftmost offset.
*
*
* @param aCopy -- Receiving string
* @param aCount -- number of chars to copy
* @return number of chars copied
*/
PRInt32 Left(nsString& aCopy,PRInt32 aCount) const;
/*
* Copies n characters from this string to given string,
* starting at the given offset.
*
*
* @param aCopy -- Receiving string
* @param aCount -- number of chars to copy
* @param anOffset -- position where copying begins
* @return number of chars copied
*/
PRInt32 Mid(nsString& aCopy,PRInt32 anOffset,PRInt32 aCount) const;
/*
* Copies n characters from this string to given string,
* starting at rightmost char.
*
*
* @param aCopy -- Receiving string
* @param aCount -- number of chars to copy
* @return number of chars copied
*/
PRInt32 Right(nsString& aCopy,PRInt32 aCount) const;
/*
* This method inserts n chars from given string into this
* string at str[anOffset].
*
* @param aCopy -- String to be inserted into this
* @param anOffset -- insertion position within this str
* @param aCount -- number of chars to be copied from aCopy
* @return number of chars inserted into this.
*/
PRInt32 Insert(const nsString& aCopy,PRInt32 anOffset,PRInt32 aCount=-1);
/**
* Insert a single unicode char into this string at
* a specified offset.
*
* @param aChar char to be inserted into this string
* @param anOffset is insert pos in str
* @return the number of chars inserted into this string
*/
PRInt32 Insert(PRUnichar aChar,PRInt32 anOffset);
/*
* This method is used to cut characters in this string
* starting at anOffset, continuing for aCount chars.
*
* @param anOffset -- start pos for cut operation
* @param aCount -- number of chars to be cut
* @return *this
*/
nsString& Cut(PRInt32 anOffset,PRInt32 aCount);
/**
* This method is used to remove all occurances of the
* characters found in aSet from this string.
*
* @param aSet -- characters to be cut from this
* @return *this
*/
nsString& StripChars(const char* aSet);
/**
* This method is used to replace all occurances of the
* given source char with the given dest char
*
* @param
* @return *this
*/
nsString& ReplaceChar(PRUnichar aSourceChar, PRUnichar aDestChar);
/**
* This method strips whitespace throughout the string
*
* @return this
*/
nsString& StripWhitespace();
/**
* This method trims characters found in aTrimSet from
* either end of the underlying string.
*
* @param aTrimSet -- contains chars to be trimmed from
* both ends
* @return this
*/
nsString& Trim(const char* aSet,
PRBool aEliminateLeading=PR_TRUE,
PRBool aEliminateTrailing=PR_TRUE);
/**
* This method strips whitespace from string.
* You can control whether whitespace is yanked from
* start and end of string as well.
*
* @param aEliminateLeading controls stripping of leading ws
* @param aEliminateTrailing controls stripping of trailing ws
* @return this
*/
nsString& CompressWhitespace( PRBool aEliminateLeading=PR_TRUE,
PRBool aEliminateTrailing=PR_TRUE);
/**
* Determine if given char is a valid space character
*
* @param aChar is character to be tested
* @return TRUE if is valid space char
*/
static PRBool IsSpace(PRUnichar ch);
/**
* Determine if given char in valid alpha range
*
* @param aChar is character to be tested
* @return TRUE if in alpha range
*/
static PRBool IsAlpha(PRUnichar ch);
/**
* Determine if given char is valid digit
*
* @param aChar is character to be tested
* @return TRUE if char is a valid digit
*/
static PRBool IsDigit(PRUnichar ch);
/**********************************************************************
Searching methods...
*********************************************************************/
/**
* Search for given character within this string.
* This method does so by using a binary search,
* so your string HAD BETTER BE ORDERED!
*
* @param aChar is the unicode char to be found
* @return offset in string, or -1 (kNotFound)
*/
PRInt32 BinarySearch(PRUnichar aChar) const;
/**
* Search for given substring within this string
*
* @param aString is substring to be sought in this
* @return offset in string, or -1 (kNotFound)
*/
PRInt32 Find(const char* aString) const;
PRInt32 Find(const PRUnichar* aString) const;
PRInt32 Find(const nsString& aString) const;
/**
* Search for given char within this string
*
* @param aChar - char to be found
* @return offset in string, or -1 (kNotFound)
*/
PRInt32 Find(PRUnichar aChar,PRInt32 offset=0) const;
/**
* This method searches this string for the first character
* found in the given string
* @param aString contains set of chars to be found
* @param anOffset tells us where to start searching in this
* @return -1 if not found, else the offset in this
*/
PRInt32 FindCharInSet(const char* aString,PRInt32 anOffset=0) const;
PRInt32 FindCharInSet(nsString& aString,PRInt32 anOffset=0) const;
/**
* This method searches this string for the last character
* found in the given string
* @param aString contains set of chars to be found
* @param anOffset tells us where to start searching in this
* @return -1 if not found, else the offset in this
*/
PRInt32 RFindCharInSet(const char* aString,PRInt32 anOffset=0) const;
PRInt32 RFindCharInSet(nsString& aString,PRInt32 anOffset=0) const;
/**
* This methods scans the string backwards, looking for the given string
* @param aString is substring to be sought in this
* @param aIgnoreCase tells us whether or not to do caseless compare
* @return offset in string, or -1 (kNotFound)
*/
PRInt32 RFind(const char* aCString,PRBool aIgnoreCase=PR_FALSE) const;
PRInt32 RFind(const PRUnichar* aString,PRBool aIgnoreCase=PR_FALSE) const;
PRInt32 RFind(const nsString& aString,PRBool aIgnoreCase=PR_FALSE) const;
/**
* This methods scans the string backwards, looking for the given char
* @param char is the char to be sought in this
* @param aIgnoreCase tells us whether or not to do caseless compare
* @return offset in string, or -1 (kNotFound)
*/
PRInt32 RFind(PRUnichar aChar,PRBool aIgnoreCase=PR_FALSE) const;
/**********************************************************************
Comparison methods...
*********************************************************************/
/**
* Compares a given string type to this string.
* @update gess 7/27/98
* @param S is the string to be compared
* @param aIgnoreCase tells us how to treat case
* @return -1,0,1
*/
virtual PRInt32 Compare(const nsString &aString,PRBool aIgnoreCase=PR_FALSE) const;
virtual PRInt32 Compare(const char *aString,PRBool aIgnoreCase=PR_FALSE,PRInt32 aLength=-1) const;
virtual PRInt32 Compare(const PRUnichar *aString,PRBool aIgnoreCase=PR_FALSE,PRInt32 aLength=-1) const;
/**
* These methods compare a given string type to this one
* @param aString is the string to be compared to this
* @return TRUE or FALSE
*/
PRBool operator==(const nsString &aString) const;
PRBool operator==(const char *aString) const;
PRBool operator==(const PRUnichar* aString) const;
PRBool operator==(PRUnichar* aString) const;
/**
* These methods perform a !compare of a given string type to this
* @param aString is the string to be compared to this
* @return TRUE
*/
PRBool operator!=(const nsString &aString) const;
PRBool operator!=(const char *aString) const;
PRBool operator!=(const PRUnichar* aString) const;
/**
* These methods test if a given string is < than this
* @param aString is the string to be compared to this
* @return TRUE or FALSE
*/
PRBool operator<(const nsString &aString) const;
PRBool operator<(const char *aString) const;
PRBool operator<(const PRUnichar* aString) const;
/**
* These methods test if a given string is > than this
* @param aString is the string to be compared to this
* @return TRUE or FALSE
*/
PRBool operator>(const nsString &S) const;
PRBool operator>(const char *aCString) const;
PRBool operator>(const PRUnichar* aString) const;
/**
* These methods test if a given string is <= than this
* @param aString is the string to be compared to this
* @return TRUE or FALSE
*/
PRBool operator<=(const nsString &S) const;
PRBool operator<=(const char *aCString) const;
PRBool operator<=(const PRUnichar* aString) const;
/**
* These methods test if a given string is >= than this
* @param aString is the string to be compared to this
* @return TRUE or FALSE
*/
PRBool operator>=(const nsString &S) const;
PRBool operator>=(const char* aCString) const;
PRBool operator>=(const PRUnichar* aString) const;
/**
* Compare this to given string; note that we compare full strings here.
* The optional length argument just lets us know how long the given string is.
* If you provide a length, it is compared to length of this string as an
* optimization.
*
* @param aString -- the string to compare to this
* @param aLength -- optional length of given string.
* @return TRUE if equal
*/
PRBool Equals(const nsString& aString) const;
PRBool Equals(const char* aString,PRInt32 aLength=-1) const;
PRBool Equals(const nsIAtom *aAtom) const;
/**
* Compares to unichar string ptrs to each other
* @param s1 is a ptr to a unichar buffer
* @param s2 is a ptr to a unichar buffer
* @return TRUE if they match
*/
PRBool Equals(const PRUnichar* s1, const PRUnichar* s2) const;
/**
* Compare this to given string; note that we compare full strings here.
* The optional length argument just lets us know how long the given string is.
* If you provide a length, it is compared to length of this string as an
* optimization.
*
* @param aString -- the string to compare to this
* @param aLength -- optional length of given string.
* @return TRUE if equal
*/
PRBool EqualsIgnoreCase(const nsString& aString) const;
PRBool EqualsIgnoreCase(const char* aString,PRInt32 aLength=-1) const;
PRBool EqualsIgnoreCase(const nsIAtom *aAtom) const;
/**
* Compares to unichar string ptrs to each other without respect to case
* @param s1 is a ptr to a unichar buffer
* @param s2 is a ptr to a unichar buffer
* @return TRUE if they match
*/
PRBool EqualsIgnoreCase(const PRUnichar* s1, const PRUnichar* s2) const;
static void SelfTest();
virtual void DebugDump(ostream& aStream) const;
protected:
typedef PRUnichar chartype;
chartype* mStr;
PRInt32 mLength;
PRInt32 mCapacity;
static PRBool mSelfTested;
};
ostream& operator<<(ostream& os,nsString& aString);
extern NS_BASE int fputs(const nsString& aString, FILE* out);
//----------------------------------------------------------------------
/**
* A version of nsString which is designed to be used as an automatic
* variable. It attempts to operate out of a fixed size internal
* buffer until too much data is added; then a dynamic buffer is
* allocated and grown as necessary.
*/
// XXX template this with a parameter for the size of the buffer?
class NS_BASE nsAutoString : public nsString {
public:
nsAutoString();
nsAutoString(const nsString& other);
nsAutoString(const nsAutoString& other);
nsAutoString(PRUnichar aChar);
nsAutoString(const char* aCString);
nsAutoString(const PRUnichar* us, PRInt32 uslen = -1);
virtual ~nsAutoString();
nsAutoString& operator=(const nsString& aString) {nsString::operator=(aString); return *this;}
nsAutoString& operator=(const nsAutoString& aString) {nsString::operator=(aString); return *this;}
nsAutoString& operator=(const char* aCString) {nsString::operator=(aCString); return *this;}
nsAutoString& operator=(char aChar) {nsString::operator=(aChar); return *this;}
nsAutoString& operator=(const PRUnichar* aBuffer) {nsString::operator=(aBuffer); return *this;}
nsAutoString& operator=(PRUnichar aChar) {nsString::operator=(aChar); return *this;}
virtual void SizeOf(nsISizeOfHandler* aHandler) const;
static void SelfTest();
protected:
virtual void EnsureCapacityFor(PRInt32 aNewLength);
chartype mBuf[32];
};
ostream& operator<<(ostream& os,nsAutoString& aString);
#endif

View File

@@ -1,196 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsTime_h__
#define nsTime_h__
#include "prtime.h"
#include "nsInt64.h"
#include "nscore.h"
/**
* This class encapsulates full 64-bit time functionality and
* provides simple arithmetic and conversion operations.
*/
// If you ever decide that you need to add a non-inline method to this
// class, be sure to change the class declaration to "class NS_BASE
// nsTime".
class nsTime
{
private:
nsInt64 mValue;
public:
/**
* Construct the current time.
*/
nsTime(void) : mValue(PR_Now()) {
}
/**
* Construct the time from a string.
*/
nsTime(const char* dateStr, PRBool defaultToGMT) {
PRInt64 time;
PRStatus status = PR_ParseTimeString(dateStr, defaultToGMT, &time);
if (status == PR_SUCCESS)
mValue = time;
else
mValue = LL_ZERO;
}
/**
* Construct a time from a PRTime.
*/
nsTime(const PRTime aTime) : mValue(aTime) {
}
/**
* Construct a time from a 64-bit value.
*/
nsTime(const nsInt64& aTime) : mValue(aTime) {
}
/**
* Construct a time from another time.
*/
nsTime(const nsTime& aTime) : mValue(aTime.mValue) {
}
// ~nsTime(void) -- XXX destructor unnecessary
/**
* Assign one time to another.
*/
const nsTime& operator =(const nsTime& aTime) {
mValue = aTime.mValue;
return *this;
}
/**
* Convert a nsTime object to a PRTime
*/
operator PRTime(void) const {
return mValue;
}
/**
* Subtract a 64-bit interval from a time.
*/
nsTime& operator -=(const nsInt64& aInterval) {
mValue -= aInterval;
return *this;
}
/**
* Add a 64-bit interval to a time.
*/
nsTime& operator +=(const nsInt64& aInterval) {
mValue += aInterval;
return *this;
}
// Arithmetic operators
friend const nsTime operator +(const nsTime& aTime, const nsInt64& aInterval);
friend const nsTime operator -(const nsTime& aTime, const nsInt64& aInterval);
friend const nsInt64 operator -(const nsTime& aTime1, const nsTime& aTime2);
// Comparison operators
friend const PRBool operator ==(const nsTime& aTime1, const nsTime& aTime2);
friend const PRBool operator !=(const nsTime& aTime1, const nsTime& aTime2);
friend const PRBool operator <(const nsTime& aTime1, const nsTime& aTime2);
friend const PRBool operator <=(const nsTime& aTime1, const nsTime& aTime2);
friend const PRBool operator >(const nsTime& aTime1, const nsTime& aTime2);
friend const PRBool operator >=(const nsTime& aTime1, const nsTime& aTime2);
};
/**
* Binary addition to add a 64-bit interval to a time.
*/
inline const nsTime
operator +(const nsTime& aTime, const nsInt64& aInterval) {
return nsTime(aTime.mValue + aInterval);
}
/**
* Binary subtraction to subtract a 64-bit interval to a time.
*/
inline const nsTime
operator -(const nsTime& aTime, const nsInt64& aInterval) {
return nsTime(aTime.mValue - aInterval);
}
/**
* Binary subtraction to compute an interval from the difference of two times.
*/
inline const nsInt64
operator -(const nsTime& aTime1, const nsTime& aTime2) {
return aTime1.mValue - aTime2.mValue;
}
/**
* Determine if two times are equal
*/
inline const PRBool
operator ==(const nsTime& aTime1, const nsTime& aTime2) {
return aTime1.mValue == aTime2.mValue;
}
/**
* Determine if two times are different
*/
inline const PRBool
operator !=(const nsTime& aTime1, const nsTime& aTime2) {
return aTime1.mValue != aTime2.mValue;
}
/**
* Determine if one time is strictly less than another
*/
inline const PRBool
operator <(const nsTime& aTime1, const nsTime& aTime2) {
return aTime1.mValue < aTime2.mValue;
}
/**
* Determine if one time is less than or equal to another
*/
inline const PRBool
operator <=(const nsTime& aTime1, const nsTime& aTime2) {
return aTime1.mValue <= aTime2.mValue;
}
/**
* Determine if one time is strictly greater than another
*/
inline const PRBool
operator >(const nsTime& aTime1, const nsTime& aTime2) {
return aTime1.mValue > aTime2.mValue;
}
/**
* Determine if one time is greater than or equal to another
*/
inline const PRBool
operator >=(const nsTime& aTime1, const nsTime& aTime2) {
return aTime1.mValue >= aTime2.mValue;
}
#endif // nsTime_h__

View File

@@ -1,142 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIUnicharBuffer.h"
#include "nsIUnicharInputStream.h"
#include "nsCRT.h"
#define MIN_BUFFER_SIZE 32
class UnicharBufferImpl : public nsIUnicharBuffer {
public:
UnicharBufferImpl(PRUint32 aBufferSize);
~UnicharBufferImpl();
NS_DECL_ISUPPORTS
virtual PRInt32 GetLength() const;
virtual PRInt32 GetBufferSize() const;
virtual PRUnichar* GetBuffer() const;
virtual PRBool Grow(PRInt32 aNewSize);
virtual PRInt32 Fill(nsresult* aErrorCode, nsIUnicharInputStream* aStream,
PRInt32 aKeep);
PRUnichar* mBuffer;
PRUint32 mSpace;
PRUint32 mLength;
};
UnicharBufferImpl::UnicharBufferImpl(PRUint32 aBufferSize)
{
if (aBufferSize < MIN_BUFFER_SIZE) {
aBufferSize = MIN_BUFFER_SIZE;
}
mSpace = aBufferSize;
mBuffer = new PRUnichar[aBufferSize];
mLength = 0;
NS_INIT_REFCNT();
}
NS_DEFINE_IID(kUnicharBufferIID, NS_IUNICHAR_BUFFER_IID);
NS_IMPL_ISUPPORTS(UnicharBufferImpl,kUnicharBufferIID)
UnicharBufferImpl::~UnicharBufferImpl()
{
if (nsnull != mBuffer) {
delete[] mBuffer;
mBuffer = nsnull;
}
mLength = 0;
}
PRInt32 UnicharBufferImpl::GetLength() const
{
return mLength;
}
PRInt32 UnicharBufferImpl::GetBufferSize() const
{
return mSpace;
}
PRUnichar* UnicharBufferImpl::GetBuffer() const
{
return mBuffer;
}
PRBool UnicharBufferImpl::Grow(PRInt32 aNewSize)
{
if (PRUint32(aNewSize) < MIN_BUFFER_SIZE) {
aNewSize = MIN_BUFFER_SIZE;
}
PRUnichar* newbuf = new PRUnichar[aNewSize];
if (nsnull != newbuf) {
if (0 != mLength) {
nsCRT::memcpy(newbuf, mBuffer, mLength * sizeof(PRUnichar));
}
delete[] mBuffer;
mBuffer = newbuf;
return PR_TRUE;
}
return PR_FALSE;
}
PRInt32 UnicharBufferImpl::Fill(nsresult* aErrorCode,
nsIUnicharInputStream* aStream,
PRInt32 aKeep)
{
NS_PRECONDITION(nsnull != aStream, "null stream");
NS_PRECONDITION(PRUint32(aKeep) < PRUint32(mLength), "illegal keep count");
if ((nsnull == aStream) || (PRUint32(aKeep) >= PRUint32(mLength))) {
// whoops
*aErrorCode = NS_BASE_STREAM_ILLEGAL_ARGS;
return -1;
}
if (0 != aKeep) {
// Slide over kept data
nsCRT::memmove(mBuffer, mBuffer + (mLength - aKeep),
aKeep * sizeof(PRUnichar));
}
// Read in some new data
mLength = aKeep;
PRInt32 amount = mSpace - aKeep;
PRUint32 nb;
NS_ASSERTION(aKeep >= 0, "unsigned madness");
NS_ASSERTION(amount >= 0, "unsigned madness");
*aErrorCode = aStream->Read(mBuffer, (PRUint32)aKeep, (PRUint32)amount, &nb);
if (NS_SUCCEEDED(*aErrorCode)) {
mLength += nb;
}
else
nb = 0;
return nb;
}
NS_BASE nsresult NS_NewUnicharBuffer(nsIUnicharBuffer** aInstancePtrResult,
nsISupports* aOuter,
PRUint32 aBufferSize)
{
if (nsnull != aOuter) {
return NS_ERROR_NO_AGGREGATION;
}
UnicharBufferImpl* it = new UnicharBufferImpl(aBufferSize);
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kUnicharBufferIID, (void **) aInstancePtrResult);
}

View File

@@ -1,316 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#define NS_IMPL_IDS
#include "nsIUnicharInputStream.h"
#include "nsIByteBuffer.h"
#include "nsIUnicharBuffer.h"
#include "nsIServiceManager.h"
#include "nsICharsetConverterManager.h"
#include "nsIUnicodeDecoder.h"
#include "nsString.h"
#include "nsCRT.h"
#include <fcntl.h>
#ifdef NS_WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
static NS_DEFINE_IID(kIUnicharInputStreamIID, NS_IUNICHAR_INPUT_STREAM_IID);
class StringUnicharInputStream : public nsIUnicharInputStream {
public:
StringUnicharInputStream(nsString* aString);
~StringUnicharInputStream();
NS_DECL_ISUPPORTS
NS_IMETHOD Read(PRUnichar* aBuf,
PRUint32 aOffset,
PRUint32 aCount,
PRUint32 *aReadCount);
NS_IMETHOD Close();
nsString* mString;
PRUint32 mPos;
PRUint32 mLen;
};
StringUnicharInputStream::StringUnicharInputStream(nsString* aString)
{
NS_INIT_REFCNT();
mString = aString;
mPos = 0;
mLen = aString->Length();
}
StringUnicharInputStream::~StringUnicharInputStream()
{
if (nsnull != mString) {
delete mString;
}
}
nsresult StringUnicharInputStream::Read(PRUnichar* aBuf,
PRUint32 aOffset,
PRUint32 aCount,
PRUint32 *aReadCount)
{
if (mPos >= mLen) {
*aReadCount = 0;
return (nsresult)-1;
}
const PRUnichar* us = mString->GetUnicode();
NS_ASSERTION(mLen >= mPos, "unsigned madness");
PRUint32 amount = mLen - mPos;
if (amount > aCount) {
amount = aCount;
}
nsCRT::memcpy(aBuf + aOffset, us + mPos, sizeof(PRUnichar) * amount);
mPos += amount;
*aReadCount = amount;
return NS_OK;
}
nsresult StringUnicharInputStream::Close()
{
mPos = mLen;
if (nsnull != mString) {
delete mString;
}
return NS_OK;
}
NS_IMPL_ISUPPORTS(StringUnicharInputStream, kIUnicharInputStreamIID);
NS_BASE nsresult
NS_NewStringUnicharInputStream(nsIUnicharInputStream** aInstancePtrResult,
nsString* aString)
{
NS_PRECONDITION(nsnull != aString, "null ptr");
NS_PRECONDITION(nsnull != aInstancePtrResult, "null ptr");
if ((nsnull == aString) || (nsnull == aInstancePtrResult)) {
return NS_ERROR_NULL_POINTER;
}
StringUnicharInputStream* it = new StringUnicharInputStream(aString);
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kIUnicharInputStreamIID,
(void**) aInstancePtrResult);
}
//----------------------------------------------------------------------
/**
* This function used to be public, with the NS_BASE declaration. I am
* changing it right now into a module private visibility because there are
* better and more xpcom-like ways to get a Converter.
*/
nsresult NS_NewB2UConverter(nsIUnicodeDecoder** aInstancePtrResult, nsISupports* aOuter, nsString* aCharSet);
nsresult
NS_NewB2UConverter(nsIUnicodeDecoder** aInstancePtrResult,
nsISupports* aOuter,
nsString* aCharSet)
{
if (nsnull != aOuter) {
return NS_ERROR_NO_AGGREGATION;
}
// Create converter
nsresult res;
nsICharsetConverterManager * ccm;
nsAutoString defaultCharset("ISO-8859-1");
if (aCharSet == nsnull) aCharSet = &defaultCharset;
res = nsServiceManager::GetService(kCharsetConverterManagerCID,
kICharsetConverterManagerIID, (nsISupports**)&ccm);
if (NS_FAILED(res)) return res;
res = ccm->GetUnicodeDecoder(aCharSet, aInstancePtrResult);
nsServiceManager::ReleaseService(kCharsetConverterManagerCID, ccm);
return res;
}
//----------------------------------------------------------------------
class ConverterInputStream : public nsIUnicharInputStream {
public:
ConverterInputStream(nsIInputStream* aStream,
nsIUnicodeDecoder* aConverter,
PRUint32 aBufSize);
~ConverterInputStream();
NS_DECL_ISUPPORTS
NS_IMETHOD Read(PRUnichar* aBuf,
PRUint32 aOffset,
PRUint32 aCount,
PRUint32 *aReadCount);
NS_IMETHOD Close();
protected:
PRInt32 Fill(nsresult * aErrorCode);
nsIInputStream* mInput;
nsIUnicodeDecoder* mConverter;
nsIByteBuffer* mByteData;
PRUint32 mByteDataOffset;
nsIUnicharBuffer* mUnicharData;
PRUint32 mUnicharDataOffset;
PRUint32 mUnicharDataLength;
};
ConverterInputStream::ConverterInputStream(nsIInputStream* aStream,
nsIUnicodeDecoder* aConverter,
PRUint32 aBufferSize)
{
NS_INIT_REFCNT();
mInput = aStream; aStream->AddRef();
mConverter = aConverter; aConverter->AddRef();
if (aBufferSize == 0) {
aBufferSize = 8192;
}
nsresult rv1 = NS_NewByteBuffer(&mByteData, nsnull, aBufferSize);
nsresult rv2 = NS_NewUnicharBuffer(&mUnicharData, nsnull, aBufferSize);
mByteDataOffset = 0;
mUnicharDataOffset = 0;
mUnicharDataLength = 0;
}
NS_IMPL_ISUPPORTS(ConverterInputStream,kIUnicharInputStreamIID);
ConverterInputStream::~ConverterInputStream()
{
Close();
}
nsresult ConverterInputStream::Close()
{
if (nsnull != mInput) {
mInput->Release();
mInput = nsnull;
}
if (nsnull != mConverter) {
mConverter->Release();
mConverter = nsnull;
}
if (nsnull != mByteData) {
mByteData->Release();
mByteData = nsnull;
}
if (nsnull != mUnicharData) {
mUnicharData->Release();
mUnicharData = nsnull;
}
return NS_OK;
}
nsresult ConverterInputStream::Read(PRUnichar* aBuf,
PRUint32 aOffset,
PRUint32 aCount,
PRUint32 *aReadCount)
{
NS_ASSERTION(mUnicharDataLength >= mUnicharDataOffset, "unsigned madness");
PRUint32 rv = mUnicharDataLength - mUnicharDataOffset;
nsresult errorCode;
if (0 == rv) {
// Fill the unichar buffer
rv = Fill(&errorCode);
if (rv <= 0) {
*aReadCount = 0;
return errorCode;
}
}
if (rv > aCount) {
rv = aCount;
}
nsCRT::memcpy(aBuf + aOffset, mUnicharData->GetBuffer() + mUnicharDataOffset,
rv * sizeof(PRUnichar));
mUnicharDataOffset += rv;
*aReadCount = rv;
return NS_OK;
}
PRInt32 ConverterInputStream::Fill(nsresult * aErrorCode)
{
if (nsnull == mInput) {
// We already closed the stream!
*aErrorCode = NS_BASE_STREAM_CLOSED;
return -1;
}
NS_ASSERTION(mByteData->GetLength() >= mByteDataOffset, "unsigned madness");
PRUint32 remainder = mByteData->GetLength() - mByteDataOffset;
mByteDataOffset = remainder;
PRInt32 nb = mByteData->Fill(aErrorCode, mInput, remainder);
if (nb <= 0) {
// Because we assume a many to one conversion, the lingering data
// in the byte buffer must be a partial conversion
// fragment. Because we know that we have recieved no more new
// data to add to it, we can't convert it. Therefore, we discard
// it.
return nb;
}
NS_ASSERTION(remainder + nb == mByteData->GetLength(), "bad nb");
// Now convert as much of the byte buffer to unicode as possible
PRInt32 dstLen = mUnicharData->GetBufferSize();
PRInt32 srcLen = remainder + nb;
*aErrorCode = mConverter->Convert(mUnicharData->GetBuffer(), 0, &dstLen,
mByteData->GetBuffer(), 0, &srcLen);
mUnicharDataOffset = 0;
mUnicharDataLength = dstLen;
mByteDataOffset += srcLen;
return dstLen;
}
// XXX hook up auto-detect here (do we need more info, like the url?)
NS_BASE nsresult
NS_NewConverterStream(nsIUnicharInputStream** aInstancePtrResult,
nsISupports* aOuter,
nsIInputStream* aStreamToWrap,
PRInt32 aBufferSize,
nsString* aCharSet)
{
if (nsnull != aOuter) {
return NS_ERROR_NO_AGGREGATION;
}
// Create converter
nsIUnicodeDecoder* converter;
nsresult rv = NS_NewB2UConverter(&converter, nsnull, aCharSet);
if (NS_OK != rv) {
return rv;
}
// Create converter input stream
ConverterInputStream* it =
new ConverterInputStream(aStreamToWrap, converter, aBufferSize);
NS_RELEASE(converter);
if (nsnull == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kIUnicharInputStreamIID,
(void **) aInstancePtrResult);
}

View File

@@ -1,182 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsUnitConversion_h__
#define nsUnitConversion_h__
#include "nscore.h"
#include <math.h>
/// handy constants
#define TWIPS_PER_POINT_INT 20
#define TWIPS_PER_POINT_FLOAT 20.0f
#define ROUND_EXCLUSIVE_CONST_FLOAT 0.4999999999999999f // XXX this should be derived from platform FLOAT_MIN
#define ROUND_CONST_FLOAT 0.5f
#define CEIL_CONST_FLOAT 0.9999999999999999f // XXX this should be derived from platform FLOAT_MIN
/*
* Coord Rounding Functions
*/
inline nscoord NSToCoordFloor(float aValue)
{
return ((0.0f <= aValue) ? nscoord(aValue) : nscoord(aValue - CEIL_CONST_FLOAT));
}
inline nscoord NSToCoordCeil(float aValue)
{
return ((0.0f <= aValue) ? nscoord(aValue + CEIL_CONST_FLOAT) : nscoord(aValue));
}
inline nscoord NSToCoordRound(float aValue)
{
return ((0.0f <= aValue) ? nscoord(aValue + ROUND_CONST_FLOAT) : nscoord(aValue - ROUND_CONST_FLOAT));
}
inline nscoord NSToCoordRoundExclusive(float aValue)
{
return ((0.0f <= aValue) ? nscoord(aValue + ROUND_EXCLUSIVE_CONST_FLOAT) :
nscoord(aValue - ROUND_EXCLUSIVE_CONST_FLOAT));
}
/*
* Int Rounding Functions
*/
inline PRInt32 NSToIntFloor(float aValue)
{
return ((0.0f <= aValue) ? PRInt32(aValue) : PRInt32(aValue - CEIL_CONST_FLOAT));
}
inline PRInt32 NSToIntCeil(float aValue)
{
return ((0.0f <= aValue) ? PRInt32(aValue + CEIL_CONST_FLOAT) : PRInt32(aValue));
}
inline PRInt32 NSToIntRound(float aValue)
{
return ((0.0f <= aValue) ? PRInt32(aValue + ROUND_CONST_FLOAT) : PRInt32(aValue - ROUND_CONST_FLOAT));
}
inline PRInt32 NSToIntRoundExclusive(float aValue)
{
return ((0.0f <= aValue) ? PRInt32(aValue + ROUND_EXCLUSIVE_CONST_FLOAT) :
PRInt32(aValue - ROUND_EXCLUSIVE_CONST_FLOAT));
}
/*
* Twips/Points conversions
*/
inline nscoord NSFloatPointsToTwips(float aPoints)
{
return NSToCoordRound(aPoints * TWIPS_PER_POINT_FLOAT);
}
inline nscoord NSIntPointsToTwips(PRInt32 aPoints)
{
return nscoord(aPoints * TWIPS_PER_POINT_INT);
}
inline PRInt32 NSTwipsToIntPoints(nscoord aTwips)
{
return NSToIntRound(aTwips / TWIPS_PER_POINT_FLOAT);
}
inline PRInt32 NSTwipsToFloorIntPoints(nscoord aTwips)
{
return NSToIntFloor(aTwips / TWIPS_PER_POINT_FLOAT);
}
inline PRInt32 NSTwipsToCeilIntPoints(nscoord aTwips)
{
return NSToIntCeil(aTwips / TWIPS_PER_POINT_FLOAT);
}
inline float NSTwipsToFloatPoints(nscoord aTwips)
{
return (float(aTwips) / TWIPS_PER_POINT_FLOAT);
}
/*
* Twips/Pixel conversions
*/
inline nscoord NSFloatPixelsToTwips(float aPixels, float aTwipsPerPixel)
{
return NSToCoordRound(aPixels * aTwipsPerPixel);
}
inline nscoord NSIntPixelsToTwips(PRInt32 aPixels, float aTwipsPerPixel)
{
return NSToCoordRound(float(aPixels) * aTwipsPerPixel);
}
inline float NSTwipsToFloatPixels(nscoord aTwips, float aPixelsPerTwip)
{
return (float(aTwips) * aPixelsPerTwip);
}
inline PRInt32 NSTwipsToIntPixels(nscoord aTwips, float aPixelsPerTwip)
{
return NSToIntRound(float(aTwips) * aPixelsPerTwip);
}
/*
* Twips/unit conversions
*/
inline nscoord NSUnitsToTwips(float aValue, float aPointsPerUnit)
{
return NSToCoordRound(aValue * aPointsPerUnit * TWIPS_PER_POINT_FLOAT);
}
inline float NSTwipsToUnits(nscoord aTwips, float aUnitsPerPoint)
{
return (aTwips * (aUnitsPerPoint / TWIPS_PER_POINT_FLOAT));
}
/// Unit conversion macros
//@{
#define NS_INCHES_TO_TWIPS(x) NSUnitsToTwips((x), 72.0f) // 72 points per inch
#define NS_FEET_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 12.0f)) // 12 inches per foot
#define NS_MILES_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 12.0f * 5280.0f)) // 5280 feet per mile
#define NS_MILLIMETERS_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 0.03937f))
#define NS_CENTIMETERS_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 0.3937f))
#define NS_METERS_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 39.37f))
#define NS_KILOMETERS_TO_TWIPS(x) NSUnitsToTwips((x), (72.0f * 39370.0f))
#define NS_PICAS_TO_TWIPS(x) NSUnitsToTwips((x), 12.0f) // 12 points per pica
#define NS_DIDOTS_TO_TWIPS(x) NSUnitsToTwips((x), (16.0f / 15.0f)) // 15 didots per 16 points
#define NS_CICEROS_TO_TWIPS(x) NSUnitsToTwips((x), (12.0f * (16.0f / 15.0f))) // 12 didots per cicero
#define NS_TWIPS_TO_INCHES(x) NSTwipsToUnits((x), 1.0f / 72.0f)
#define NS_TWIPS_TO_FEET(x) NSTwipsToUnits((x), 1.0f / (72.0f * 12.0f))
#define NS_TWIPS_TO_MILES(x) NSTwipsToUnits((x), 1.0f / (72.0f * 12.0f * 5280.0f))
#define NS_TWIPS_TO_MILLIMETERS(x) NSTwipsToUnits((x), 1.0f / (72.0f * 0.03937f))
#define NS_TWIPS_TO_CENTIMETERS(x) NSTwipsToUnits((x), 1.0f / (72.0f * 0.3937f))
#define NS_TWIPS_TO_METERS(x) NSTwipsToUnits((x), 1.0f / (72.0f * 39.37f))
#define NS_TWIPS_TO_KILOMETERS(x) NSTwipsToUnits((x), 1.0f / (72.0f * 39370.0f))
#define NS_TWIPS_TO_PICAS(x) NSTwipsToUnits((x), 1.0f / 12.0f)
#define NS_TWIPS_TO_DIDOTS(x) NSTwipsToUnits((x), 1.0f / (16.0f / 15.0f))
#define NS_TWIPS_TO_CICEROS(x) NSTwipsToUnits((x), 1.0f / (12.0f * (16.0f / 15.0f)))
//@}
#endif

View File

@@ -1,411 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsVoidArray.h"
#include "nsCRT.h"
#include "nsISizeOfHandler.h"
#include "nsString.h"
static PRInt32 kGrowArrayBy = 8;
nsVoidArray::nsVoidArray()
{
mArray = nsnull;
mArraySize = 0;
mCount = 0;
}
nsVoidArray::nsVoidArray(PRInt32 aCount)
{
NS_PRECONDITION(aCount > 0, "bad count");
mCount = mArraySize = aCount;
mArray = new void*[mCount];
nsCRT::memset(mArray, 0, mCount * sizeof(void*));
}
nsVoidArray& nsVoidArray::operator=(const nsVoidArray& other)
{
if (nsnull != mArray) {
delete mArray;
}
PRInt32 otherCount = other.mCount;
mArraySize = otherCount;
mCount = otherCount;
if (otherCount != 0) {
mArray = new void*[otherCount];
nsCRT::memcpy(mArray, other.mArray, otherCount * sizeof(void*));
} else {
mArray = nsnull;
}
return *this;
}
nsVoidArray::~nsVoidArray()
{
if (nsnull != mArray) {
delete [] mArray;
}
}
void
nsVoidArray::SizeOf(nsISizeOfHandler* aHandler) const
{
aHandler->Add(sizeof(*this));
aHandler->Add(sizeof(void*) * mArraySize);
}
void* nsVoidArray::ElementAt(PRInt32 aIndex) const
{
if (PRUint32(aIndex) >= PRUint32(mCount)) {
return nsnull;
}
return mArray[aIndex];
}
PRInt32 nsVoidArray::IndexOf(void* aPossibleElement) const
{
void** ap = mArray;
void** end = ap + mCount;
while (ap < end) {
if (*ap == aPossibleElement) {
return ap - mArray;
}
ap++;
}
return -1;
}
PRBool nsVoidArray::InsertElementAt(void* aElement, PRInt32 aIndex)
{
PRInt32 oldCount = mCount;
if (PRUint32(aIndex) > PRUint32(oldCount)) {
// An invalid index causes the insertion to fail
return PR_FALSE;
}
if (oldCount + 1 > mArraySize) {
// We have to grow the array
PRInt32 newCount = oldCount + kGrowArrayBy;
void** newArray = new void*[newCount];
if (mArray != nsnull && aIndex != 0)
nsCRT::memcpy(newArray, mArray, aIndex * sizeof(void*));
PRInt32 slide = oldCount - aIndex;
if (0 != slide) {
// Slide data over to make room for the insertion
nsCRT::memcpy(newArray + aIndex + 1, mArray + aIndex,
slide * sizeof(void*));
}
if (mArray != nsnull)
delete [] mArray;
mArray = newArray;
mArraySize = newCount;
} else {
// The array is already large enough
PRInt32 slide = oldCount - aIndex;
if (0 != slide) {
// Slide data over to make room for the insertion
nsCRT::memmove(mArray + aIndex + 1, mArray + aIndex,
slide * sizeof(void*));
}
}
mArray[aIndex] = aElement;
mCount++;
return PR_TRUE;
}
PRBool nsVoidArray::ReplaceElementAt(void* aElement, PRInt32 aIndex)
{
if (PRUint32(aIndex) >= PRUint32(mArraySize)) {
PRInt32 requestedCount = aIndex + 1;
PRInt32 growDelta = requestedCount - mCount;
PRInt32 newCount = mCount + (growDelta > kGrowArrayBy ? growDelta : kGrowArrayBy);
void** newArray = new void*[newCount];
nsCRT::memset(newArray, 0, newCount * sizeof(void*));
if (newArray==nsnull)
return PR_FALSE;
if (mArray != nsnull && aIndex != 0) {
nsCRT::memcpy(newArray, mArray, mCount * sizeof(void*));
if (mArray != nsnull)
delete [] mArray;
}
mArray = newArray;
mArraySize = newCount;
}
mArray[aIndex] = aElement;
if (aIndex >= mCount)
mCount = aIndex+1;
return PR_TRUE;
}
PRBool nsVoidArray::RemoveElementAt(PRInt32 aIndex)
{
PRInt32 oldCount = mCount;
if (PRUint32(aIndex) >= PRUint32(oldCount)) {
// An invalid index causes the replace to fail
return PR_FALSE;
}
// We don't need to move any elements if we're removing the
// last element in the array
if (aIndex < (oldCount - 1)) {
nsCRT::memmove(mArray + aIndex, mArray + aIndex + 1,
(oldCount - 1 - aIndex) * sizeof(void*));
}
mCount--;
return PR_TRUE;
}
PRBool nsVoidArray::RemoveElement(void* aElement)
{
void** ep = mArray;
void** end = ep + mCount;
while (ep < end) {
void* e = *ep++;
if (e == aElement) {
ep--;
return RemoveElementAt(PRInt32(ep - mArray));
}
}
return PR_FALSE;
}
void nsVoidArray::Clear()
{
mCount = 0;
}
void nsVoidArray::Compact()
{
PRInt32 count = mCount;
if (mArraySize != count) {
void** newArray = new void*[count];
if (nsnull != newArray) {
nsCRT::memcpy(newArray, mArray, count * sizeof(void*));
delete [] mArray;
mArray = newArray;
mArraySize = count;
}
}
}
PRBool nsVoidArray::EnumerateForwards(nsVoidArrayEnumFunc aFunc, void* aData)
{
PRInt32 index = -1;
PRBool running = PR_TRUE;
while (running && (++index < mCount)) {
running = (*aFunc)(mArray[index], aData);
}
return running;
}
PRBool nsVoidArray::EnumerateBackwards(nsVoidArrayEnumFunc aFunc, void* aData)
{
PRInt32 index = mCount;
PRBool running = PR_TRUE;
while (running && (0 <= --index)) {
running = (*aFunc)(mArray[index], aData);
}
return running;
}
//----------------------------------------------------------------
// nsStringArray
nsStringArray::nsStringArray(void)
: nsVoidArray()
{
}
nsStringArray::~nsStringArray(void)
{
Clear();
}
nsStringArray&
nsStringArray::operator=(const nsStringArray& other)
{
if (nsnull != mArray) {
delete mArray;
}
PRInt32 otherCount = other.mCount;
mArraySize = otherCount;
mCount = otherCount;
if (0 < otherCount) {
mArray = new void*[otherCount];
while (0 <= --otherCount) {
nsString* otherString = (nsString*)(other.mArray[otherCount]);
mArray[otherCount] = new nsString(*otherString);
}
} else {
mArray = nsnull;
}
return *this;
}
void
nsStringArray::SizeOf(nsISizeOfHandler* aHandler) const
{
nsVoidArray::SizeOf(aHandler);
PRInt32 index = mCount;
while (0 <= --index) {
nsString* string = (nsString*)mArray[index];
string->SizeOf(aHandler);
}
}
void
nsStringArray::StringAt(PRInt32 aIndex, nsString& aString) const
{
nsString* string = (nsString*)nsVoidArray::ElementAt(aIndex);
if (nsnull != string) {
aString = *string;
}
else {
aString.Truncate();
}
}
nsString*
nsStringArray::StringAt(PRInt32 aIndex) const
{
return (nsString*)nsVoidArray::ElementAt(aIndex);
}
PRInt32
nsStringArray::IndexOf(const nsString& aPossibleString) const
{
void** ap = mArray;
void** end = ap + mCount;
while (ap < end) {
nsString* string = (nsString*)*ap;
if (string->Equals(aPossibleString)) {
return ap - mArray;
}
ap++;
}
return -1;
}
PRInt32
nsStringArray::IndexOfIgnoreCase(const nsString& aPossibleString) const
{
void** ap = mArray;
void** end = ap + mCount;
while (ap < end) {
nsString* string = (nsString*)*ap;
if (string->EqualsIgnoreCase(aPossibleString)) {
return ap - mArray;
}
ap++;
}
return -1;
}
PRBool
nsStringArray::InsertStringAt(const nsString& aString, PRInt32 aIndex)
{
nsString* string = new nsString(aString);
if (nsVoidArray::InsertElementAt(string, aIndex)) {
return PR_TRUE;
}
delete string;
return PR_FALSE;
}
PRBool
nsStringArray::ReplaceStringAt(const nsString& aString, PRInt32 aIndex)
{
nsString* string = (nsString*)nsVoidArray::ElementAt(aIndex);
if (nsnull != string) {
*string = aString;
return PR_TRUE;
}
return PR_FALSE;
}
PRBool
nsStringArray::RemoveString(const nsString& aString)
{
PRInt32 index = IndexOf(aString);
if (-1 < index) {
return RemoveStringAt(index);
}
return PR_FALSE;
}
PRBool
nsStringArray::RemoveStringIgnoreCase(const nsString& aString)
{
PRInt32 index = IndexOfIgnoreCase(aString);
if (-1 < index) {
return RemoveStringAt(index);
}
return PR_FALSE;
}
PRBool nsStringArray::RemoveStringAt(PRInt32 aIndex)
{
nsString* string = StringAt(aIndex);
if (nsnull != string) {
nsVoidArray::RemoveElementAt(aIndex);
delete string;
return PR_TRUE;
}
return PR_FALSE;
}
void
nsStringArray::Clear(void)
{
PRInt32 index = mCount;
while (0 <= --index) {
nsString* string = (nsString*)mArray[index];
delete string;
}
nsVoidArray::Clear();
}
PRBool
nsStringArray::EnumerateForwards(nsStringArrayEnumFunc aFunc, void* aData)
{
PRInt32 index = -1;
PRBool running = PR_TRUE;
while (running && (++index < mCount)) {
running = (*aFunc)(*((nsString*)mArray[index]), aData);
}
return running;
}
PRBool
nsStringArray::EnumerateBackwards(nsStringArrayEnumFunc aFunc, void* aData)
{
PRInt32 index = mCount;
PRBool running = PR_TRUE;
while (running && (0 <= --index)) {
running = (*aFunc)(*((nsString*)mArray[index]), aData);
}
return running;
}

View File

@@ -1,125 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsVoidArray_h___
#define nsVoidArray_h___
#include "nscore.h"
class nsISizeOfHandler;
// Enumerator callback function. Return PR_FALSE to stop
typedef PRBool (*nsVoidArrayEnumFunc)(void* aElement, void *aData);
/// A basic zero-based array of void*'s that manages its own memory
class NS_BASE nsVoidArray {
public:
nsVoidArray();
nsVoidArray(PRInt32 aCount); // initial count of aCount elements set to nsnull
~nsVoidArray();
nsVoidArray& operator=(const nsVoidArray& other);
void SizeOf(nsISizeOfHandler* aHandler) const;
PRInt32 Count() const {
return mCount;
}
void* ElementAt(PRInt32 aIndex) const;
void* operator[](PRInt32 aIndex) const { return ElementAt(aIndex); }
PRInt32 IndexOf(void* aPossibleElement) const;
PRBool InsertElementAt(void* aElement, PRInt32 aIndex);
PRBool ReplaceElementAt(void* aElement, PRInt32 aIndex);
PRBool AppendElement(void* aElement) {
return InsertElementAt(aElement, mCount);
}
PRBool RemoveElement(void* aElement);
PRBool RemoveElementAt(PRInt32 aIndex);
void Clear();
void Compact();
PRBool EnumerateForwards(nsVoidArrayEnumFunc aFunc, void* aData);
PRBool EnumerateBackwards(nsVoidArrayEnumFunc aFunc, void* aData);
protected:
void** mArray;
PRInt32 mArraySize;
PRInt32 mCount;
private:
/// Copy constructors are not allowed
nsVoidArray(const nsVoidArray& other);
};
class nsString;
typedef PRBool (*nsStringArrayEnumFunc)(nsString& aElement, void *aData);
class NS_BASE nsStringArray: protected nsVoidArray
{
public:
nsStringArray(void);
~nsStringArray(void);
nsStringArray& operator=(const nsStringArray& other);
void SizeOf(nsISizeOfHandler* aHandler) const;
PRInt32 Count(void) const {
return mCount;
}
void StringAt(PRInt32 aIndex, nsString& aString) const;
nsString* StringAt(PRInt32 aIndex) const;
nsString* operator[](PRInt32 aIndex) const { return StringAt(aIndex); }
PRInt32 IndexOf(const nsString& aPossibleString) const;
PRInt32 IndexOfIgnoreCase(const nsString& aPossibleString) const;
PRBool InsertStringAt(const nsString& aString, PRInt32 aIndex);
PRBool ReplaceStringAt(const nsString& aString, PRInt32 aIndex);
PRBool AppendString(const nsString& aString) {
return InsertStringAt(aString, mCount);
}
PRBool RemoveString(const nsString& aString);
PRBool RemoveStringIgnoreCase(const nsString& aString);
PRBool RemoveStringAt(PRInt32 aIndex);
void Clear(void);
void Compact(void) {
nsVoidArray::Compact();
}
PRBool EnumerateForwards(nsStringArrayEnumFunc aFunc, void* aData);
PRBool EnumerateBackwards(nsStringArrayEnumFunc aFunc, void* aData);
private:
/// Copy constructors are not allowed
nsStringArray(const nsStringArray& other);
};
#endif /* nsVoidArray_h___ */

View File

@@ -1,168 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nscore_h___
#define nscore_h___
#ifdef _WIN32
#define NS_WIN32 1
#endif
#if defined(__unix)
#define NS_UNIX 1
#endif
#include "prtypes.h"
#include "nsDebug.h"
/** ucs2 datatype for 2 byte unicode characters */
typedef PRUint16 PRUcs2;
/** ucs4 datatype for 4 byte unicode characters */
typedef PRUint32 PRUcs4;
#ifdef NS_UCS4
typedef PRUcs4 PRUnichar;
#else
typedef PRUcs2 PRUnichar;
#endif
/// The preferred symbol for null.
#define nsnull 0
/* Define brackets for protecting C code from C++ */
#ifdef __cplusplus
#define NS_BEGIN_EXTERN_C extern "C" {
#define NS_END_EXTERN_C }
#else
#define NS_BEGIN_EXTERN_C
#define NS_END_EXTERN_C
#endif
/*----------------------------------------------------------------------*/
/* Import/export defines */
#ifdef NS_WIN32
#define NS_IMPORT _declspec(dllimport)
#define NS_IMPORT_(type) type _declspec(dllimport) __stdcall
#define NS_EXPORT _declspec(dllexport)
// XXX NS_EXPORT_ defined in nsCOm.h (xpcom) differs in where the __declspec
// is placed. It needs to be done this way to make the 4.x compiler happy...
#undef NS_EXPORT_
#define NS_EXPORT_(type) type _declspec(dllexport) __stdcall
#elif defined(XP_MAC)
#define NS_IMPORT
#define NS_IMPORT_(type) type
// XXX NS_EXPORT_ defined in nsCom.h actually does an export. Here it's just sugar.
#undef NS_EXPORT
#undef NS_EXPORT_
#define NS_EXPORT __declspec(export)
#define NS_EXPORT_(type) type __declspec(export)
#else
/* XXX do something useful? */
#define NS_IMPORT
#define NS_IMPORT_(type) type
#define NS_EXPORT
#define NS_EXPORT_(type) type
#endif
#ifdef _IMPL_NS_BASE
#define NS_BASE NS_EXPORT
#else
#define NS_BASE NS_IMPORT
#endif
#ifdef _IMPL_NS_NET
#define NS_NET NS_EXPORT
#else
#define NS_NET NS_IMPORT
#endif
#ifdef _IMPL_NS_DOM
#define NS_DOM NS_EXPORT
#else
#define NS_DOM NS_IMPORT
#endif
#ifdef _IMPL_NS_WIDGET
#define NS_WIDGET NS_EXPORT
#else
#define NS_WIDGET NS_IMPORT
#endif
#ifdef _IMPL_NS_VIEW
#define NS_VIEW NS_EXPORT
#else
#define NS_VIEW NS_IMPORT
#endif
#ifdef _IMPL_NS_GFXNONXP
#define NS_GFXNONXP NS_EXPORT
#define NS_GFXNONXP_(type) NS_EXPORT_(type)
#else
#define NS_GFXNONXP NS_IMPORT
#define NS_GFXNONXP_(type) NS_IMPORT_(type)
#endif
#ifdef _IMPL_NS_GFX
#define NS_GFX NS_EXPORT
#define NS_GFX_(type) NS_EXPORT_(type)
#else
#define NS_GFX NS_IMPORT
#define NS_GFX_(type) NS_IMPORT_(type)
#endif
#ifdef _IMPL_NS_PLUGIN
#define NS_PLUGIN NS_EXPORT
#else
#define NS_PLUGIN NS_IMPORT
#endif
#ifdef _IMPL_NS_APPSHELL
#define NS_APPSHELL NS_EXPORT
#else
#define NS_APPSHELL NS_IMPORT
#endif
/* ------------------------------------------------------------------------ */
// Casting macros for hiding C++ features from older compilers
// unix now determines this automatically
#ifndef XP_UNIX
#define HAVE_CPP_NEW_CASTS // we'll be optimistic.
#endif
#if defined(HAVE_CPP_NEW_CASTS)
#define NS_STATIC_CAST(__type, __ptr) static_cast<__type>(__ptr)
#define NS_CONST_CAST(__type, __ptr) const_cast<__type>(__ptr)
#define NS_REINTERPRET_CAST(__type, __ptr) reinterpret_cast<__type>(__ptr)
#else
#define NS_STATIC_CAST(__type, __ptr) ((__type)(__ptr))
#define NS_CONST_CAST(__type, __ptr) ((__type)(__ptr))
#define NS_REINTERPRET_CAST(__type, __ptr) ((__type)(__ptr))
#endif
// No sense in making an NS_DYNAMIC_CAST() macro: you can't duplicate
// the semantics. So if you want to dynamic_cast, then just use it
// "straight", no macro.
#endif /* nscore_h___ */

View File

@@ -1,47 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = gmbaseunix
MODULE=base
REQUIRES=xpcom raptor
DEFINES += -D_IMPL_NS_WIDGET
CPPSRCS= \
nsTimer.cpp
CPP_OBJS= \
./$(OBJDIR)/nsTimer.o \
$(NULL)
include $(topsrcdir)/config/config.mk
TARGETS = $(LIBRARY)
include $(topsrcdir)/config/rules.mk

View File

@@ -1,39 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nscore.h"
#include "nsCaretProperties.h"
//-----------------------------------------------------------------------------
nsCaretProperties::nsCaretProperties()
: mCaretWidth(eDefaultCaretWidth)
, mBlinkRate(eDefaulBlinkRate)
{
// in your platform-specific class, get data from the OS in your constructor
}
//-----------------------------------------------------------------------------
nsCaretProperties* NewCaretProperties()
{
return new nsCaretProperties();
}

View File

@@ -1,200 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsITimer.h"
#include "nsITimerCallback.h"
#include "nsCRT.h"
#include "prlog.h"
#include <stdio.h>
#include <limits.h>
//
// Copied from the unix version, Rhapsody needs to
// make this work. Stubs to compile things for now.
//
#if 0
Michael Hanni <mhanni@sprintmail.com> suggests:
I understand that nsTimer.cpp in base/rhapsody/ needs to be completed,
yes? Wouldn't this code just use some NSTimers in the NSRunLoop?
Timer = [NSTimer timerWithTimeInterval:0.02 //seconds
target:self
selector:@selector(doThis:)
userInfo:nil
repeats:YES];
[[NSRunLoop currentRunLoop] addTimer:Timer
forMode:NSDefaultRunLoopMode];
I only looked at nsTimer.cpp briefly, but could something like this work
if imbedded in all that c++? ;-)
#endif
static NS_DEFINE_IID(kITimerIID, NS_ITIMER_IID);
extern void nsTimerExpired(void *aCallData);
class TimerImpl : public nsITimer {
public:
public:
TimerImpl();
virtual ~TimerImpl();
virtual nsresult Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay);
virtual nsresult Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay);
NS_DECL_ISUPPORTS
virtual void Cancel();
virtual PRUint32 GetDelay() { return mDelay; }
virtual void SetDelay(PRUint32 aDelay) { mDelay=aDelay; };
virtual void* GetClosure() { return mClosure; }
void FireTimeout();
private:
nsresult Init(PRUint32 aDelay);
PRUint32 mDelay;
nsTimerCallbackFunc mFunc;
void *mClosure;
nsITimerCallback *mCallback;
// PRBool mRepeat;
TimerImpl *mNext;
int mTimerId;
};
void TimerImpl::FireTimeout()
{
if (mFunc != NULL) {
(*mFunc)(this, mClosure);
}
else if (mCallback != NULL) {
mCallback->Notify(this); // Fire the timer
}
// Always repeating here
// if (mRepeat)
// mTimerId = XtAppAddTimeOut(gAppContext, GetDelay(),(XtTimerCallbackProc)nsTimerExpired, this);
}
TimerImpl::TimerImpl()
{
NS_INIT_REFCNT();
mFunc = NULL;
mCallback = NULL;
mNext = NULL;
mTimerId = 0;
mDelay = 0;
mClosure = NULL;
}
TimerImpl::~TimerImpl()
{
}
nsresult
TimerImpl::Init(nsTimerCallbackFunc aFunc,
void *aClosure,
// PRBool aRepeat,
PRUint32 aDelay)
{
mFunc = aFunc;
mClosure = aClosure;
// mRepeat = aRepeat;
printf("TimerImpl::Init() not implemented\n");
#ifdef RHAPSODY_NEEDS_TO_IMPLEMENT_THIS
mTimerId = XtAppAddTimeOut(gAppContext, aDelay,(XtTimerCallbackProc)nsTimerExpired, this);
#endif
return Init(aDelay);
}
nsresult
TimerImpl::Init(nsITimerCallback *aCallback,
// PRBool aRepeat,
PRUint32 aDelay)
{
mCallback = aCallback;
// mRepeat = aRepeat;
printf("TimerImpl::Init() not implmented.\n");
#ifdef RHAPSODY_NEEDS_TO_IMPLEMENT_THIS
mTimerId = XtAppAddTimeOut(gAppContext, aDelay, (XtTimerCallbackProc)nsTimerExpired, this);
#endif
return Init(aDelay);
}
nsresult
TimerImpl::Init(PRUint32 aDelay)
{
mDelay = aDelay;
NS_ADDREF(this);
return NS_OK;
}
NS_IMPL_ISUPPORTS(TimerImpl, kITimerIID)
void
TimerImpl::Cancel()
{
printf("TimerImpl::Cancel() not implemented.\n");
#ifdef RHAPSODY_NEEDS_TO_IMPLEMENT_THIS
XtRemoveTimeOut(mTimerId);
#endif
}
NS_BASE nsresult NS_NewTimer(nsITimer** aInstancePtrResult)
{
NS_PRECONDITION(nsnull != aInstancePtrResult, "null ptr");
if (nsnull == aInstancePtrResult) {
return NS_ERROR_NULL_POINTER;
}
TimerImpl *timer = new TimerImpl();
if (nsnull == timer) {
return NS_ERROR_OUT_OF_MEMORY;
}
return timer->QueryInterface(kITimerIID, (void **) aInstancePtrResult);
}
void nsTimerExpired(void *aCallData)
{
TimerImpl* timer = (TimerImpl *)aCallData;
timer->FireTimeout();
}

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