Compare commits

..

3131 Commits

Author SHA1 Message Date
gagan%netscape.com
92a6946fd0 Fix for 3731. Thanks peterl and bruce@cybersight
git-svn-id: svn://10.0.0.236/branches/N3@24979 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 06:56:41 +00:00
gagan%netscape.com
415adf0c07 Move to N3
git-svn-id: svn://10.0.0.236/branches/N3@24772 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:56:43 +00:00
gagan%netscape.com
8b5c749a4f to N3
git-svn-id: svn://10.0.0.236/branches/N3@24771 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:54:03 +00:00
gagan%netscape.com
a9c4bd2999 N3
git-svn-id: svn://10.0.0.236/branches/N3@24768 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:51:34 +00:00
gagan%netscape.com
f48dde1d23 All changes in N3
git-svn-id: svn://10.0.0.236/branches/N3@24764 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 01:37:12 +00:00
(no author)
28e0fd2310 This commit was manufactured by cvs2svn to create branch 'N3'.
git-svn-id: svn://10.0.0.236/branches/N3@24735 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:46:38 +00:00
briano%netscape.com
2c87e9db78 Automated update
git-svn-id: svn://10.0.0.236/trunk@24277 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 21:32:40 +00:00
leaf%mozilla.org
8fadf11677 Landing nspr library name change, and plevent function call change.
git-svn-id: svn://10.0.0.236/trunk@24276 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 21:32:03 +00:00
wtc%netscape.com
cdec214c4c NSPR library name change (libnspr21 ==> libnspr3) and
plevent.c.


git-svn-id: svn://10.0.0.236/trunk@24273 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 21:25:08 +00:00
buster%netscape.com
3ee55b4626 split and join now properly remember which content gets deleted, and which content remains in the tree
split and join now properly set selection to the remaining node, at the proper offset.
fixes bugs 3910 3881, with approval from chofmann


git-svn-id: svn://10.0.0.236/trunk@24272 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 20:56:10 +00:00
hshaw%netscape.com
9748f5857f Backout M3 Bug #1542 changes (to go on branch) mkgeturl.h mkgeturl.c nsNetService.cpp
git-svn-id: svn://10.0.0.236/trunk@24269 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 20:21:31 +00:00
terry%netscape.com
23d378e5e4 NSCP is no more.
Horrible hack to have it look at Grendel tinderbox if the bot's name
contains "grend".


git-svn-id: svn://10.0.0.236/trunk@24268 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 19:36:11 +00:00
hshaw%netscape.com
e0b10672b7 Timebomb workaround for static initialization of netlib, M3 Bug #1542
git-svn-id: svn://10.0.0.236/trunk@24267 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 19:25:22 +00:00
kipp%netscape.com
f81ad77137 Fixed bug #3905 - frame construction code wasn't dealing with tables properly when they were floated; reviewed by vidur for M3 checkin
git-svn-id: svn://10.0.0.236/trunk@24263 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 18:17:24 +00:00
pinkerton%netscape.com
7bc3b61b2a Fix bug #3792 by checking for null parent (for rods).
git-svn-id: svn://10.0.0.236/trunk@24262 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 17:46:14 +00:00
pierre%netscape.com
f622d92db0 Fixed a crash on "File | Print Setup" (or any other dialog without specific menubar) #3769. Approved: chofmann.
git-svn-id: svn://10.0.0.236/trunk@24260 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 07:17:19 +00:00
morse%netscape.com
23de1187d2 added work-around for a blocking wallet bug
git-svn-id: svn://10.0.0.236/trunk@24258 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 06:27:54 +00:00
morse%netscape.com
fdcafd63cf add prefs for wallet
git-svn-id: svn://10.0.0.236/trunk@24257 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 06:24:58 +00:00
morse%netscape.com
31a0360290 obscure saved data, skip doing prompts by default
git-svn-id: svn://10.0.0.236/trunk@24256 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 06:23:16 +00:00
morse%netscape.com
cdff63a1d7 fix crash, obscure saved data, skip doing prompts by default
git-svn-id: svn://10.0.0.236/trunk@24255 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 06:22:18 +00:00
buster%netscape.com
041f73c845 I fixed the content twiddling part of bug 3778. Mike has a fix for the display part of it in his tree, but determined the risk didn't
justify the benefit.  This is partly true because he and I would have had to integrate tonight before checking in, which we thought
presented some additional risk.  In any event, this bug is fixed for all cases except when the user hits enter at the end of the
document.  That is the only case in text editing when the selection will not render correctly.

Some related problems got fixed as a side benefit of my code changes.  I filed bug 3896.


git-svn-id: svn://10.0.0.236/trunk@24254 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 06:13:46 +00:00
evaughan%netscape.com
33068a82b2 Checkin is for bug #3853
Approved by don, hyatt


git-svn-id: svn://10.0.0.236/trunk@24253 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 06:07:07 +00:00
law%netscape.com
c10d5ccabc (partial) fix for bug #3853; reviewed by hyatt; approved by don/sar;
git-svn-id: svn://10.0.0.236/trunk@24252 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 05:57:10 +00:00
davidm%netscape.com
c53b7fb0fc Wll eventually provide support for NetLib dialogs. Currently is not being built on any platforms but Don wants me to check in tonight.
git-svn-id: svn://10.0.0.236/trunk@24250 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 03:25:53 +00:00
davidm%netscape.com
09d9b03dd2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@24249 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 03:24:35 +00:00
sfraser%netscape.com
4f17752b01 Turn on traceback tables in the optimized build, so that MacsBug logs from dogfood are useful. Bug 3888, approved chofmann.
git-svn-id: svn://10.0.0.236/trunk@24248 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 03:18:24 +00:00
saari%netscape.com
47f05203de Fixing Bug #3808 - Bookmark menu doesn't work on MacOS
git-svn-id: svn://10.0.0.236/trunk@24247 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 03:03:58 +00:00
akkana%netscape.com
69ccd59466 3855: Back out hyatt's change of the toolbar width -- it made the stop button wrap to the next line on linux. Approved by chofmann
git-svn-id: svn://10.0.0.236/trunk@24246 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 01:57:33 +00:00
cata%netscape.com
9b7cdbfe7d Fix bug 3862. Reviewed by ftang. Fallback character bellow 0x20.
git-svn-id: svn://10.0.0.236/trunk@24245 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 01:47:39 +00:00
pollmann%netscape.com
ef622fe89e Opps, typo - bug #3619 A: chofmann R: harishd
git-svn-id: svn://10.0.0.236/trunk@24244 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 01:41:52 +00:00
gagan%netscape.com
3593ed3580 Calling parse on SetSpec to correctly reflect the changes. Partial fix for #3413.
git-svn-id: svn://10.0.0.236/trunk@24243 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 01:39:20 +00:00
ftang%netscape.com
416657c6bd move the ucvja2 into componment directory so autoreg will work. we should move other intl dll there after dogfood. reviwed by dp. fix bug 3866
git-svn-id: svn://10.0.0.236/trunk@24240 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 01:22:06 +00:00
kmcclusk%netscape.com
92e6b22228 Approved by Chris Hofmann.
Patch for #bug #2226. This patch modifies the nsBrowserWindow to call SetDisplayDirectory
to set the default directory when using the viewer's file open dialog.


git-svn-id: svn://10.0.0.236/trunk@24239 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 00:45:33 +00:00
kmcclusk%netscape.com
6d6336fbd0 Approved by Chris Hofmann.
Patch for M3 bug #2226. [PATCH] File->Open dialog does not 'remember' browsing directory.
The patch fixes WIN32. It also defines member variables and functions for Mac and Unix to keep tinderbox building.
Mac and Unix need implementations which honor the SetDisplayDirectory method so that the browsing directory is actually set.


git-svn-id: svn://10.0.0.236/trunk@24238 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 00:35:37 +00:00
law%netscape.com
947ef0572f Fix for M3 bug #3803; approved by chofmann/don
git-svn-id: svn://10.0.0.236/trunk@24237 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 00:33:25 +00:00
pnunn%netscape.com
df399ccfeb Fix for bugz#3858. View-images were decoding twice. M3, pnunn@netscape.com
Reviewed by kipp@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@24236 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 00:13:31 +00:00
karnaze%netscape.com
03d63f15c6 bug 1725
git-svn-id: svn://10.0.0.236/trunk@24235 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 23:42:38 +00:00
mscott%netscape.com
252952f232 Temporary work around for Bug #3790. Layout is having trouble with scrolling when the iframe has a height expressed in terms of a percent. So we are going to hard code the height of the message pane. This allows folks to scroll through their messages instead of seeing only the first few lines. I just tweaked the xul file to replace the 100% height with a fixed value.
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@24234 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 23:30:57 +00:00
slamm%netscape.com
23baadeb99 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=3699. Renamed tree array to trees. Added 'var' for local variables.
git-svn-id: svn://10.0.0.236/trunk@24233 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 23:30:16 +00:00
kin%netscape.com
f156b21405 Fix for bug #3758: Drag selecting entire content, then deleting, causes crash.
Added check for mContentLength <= 0 to TextFrame::GetPointFromOffset().
Reviewed by jfrancis@netscape.com and sfraser@netscape.com.
Approved by chofmann@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@24232 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 22:55:49 +00:00
peterl%netscape.com
05c92ee1ad Fixed table background inheritance, bug #1355
Checkin approved by chofmann


git-svn-id: svn://10.0.0.236/trunk@24231 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 22:33:29 +00:00
hshaw%netscape.com
80ecb45eff Let libpref decide which file to load by default, M3 bug #2343 #3598
git-svn-id: svn://10.0.0.236/trunk@24230 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 22:07:50 +00:00
hshaw%netscape.com
4c5667fdce Changes to call Startup() from main() so we don't have thread problems in javascript
git-svn-id: svn://10.0.0.236/trunk@24228 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 22:03:03 +00:00
matt%netscape.com
e1b46e5eb8 disabling the print button in the menu bar
git-svn-id: svn://10.0.0.236/trunk@24227 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 21:40:10 +00:00
matt%netscape.com
489dbd7ad7 changing www.bugsplat.org to bugsplat.mozilla.org in the toolbar
git-svn-id: svn://10.0.0.236/trunk@24226 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 21:39:06 +00:00
akkana%netscape.com
3dc262cd31 Bug 3829: don't generate key events for modifier keys. Fix courtesy of Pavlov, Approved chofmann and kostello
git-svn-id: svn://10.0.0.236/trunk@24225 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 20:45:17 +00:00
chuckb%netscape.com
6507681cbc Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=3231 Thanks to lentz@process.com
git-svn-id: svn://10.0.0.236/trunk@24221 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 20:14:19 +00:00
chuckb%netscape.com
eba3cc88f9 Merge from NSCP repository (prior to rsync)
git-svn-id: svn://10.0.0.236/trunk@24219 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 19:57:34 +00:00
kipp%netscape.com
035bc47fe1 Don't dereference a null pointer when print previewing
git-svn-id: svn://10.0.0.236/trunk@24218 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 19:37:12 +00:00
kipp%netscape.com
b3b4b4cbe6 Only set ends-in-newline flag for pre text (bug #3262)
git-svn-id: svn://10.0.0.236/trunk@24217 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 19:36:49 +00:00
kipp%netscape.com
15f605def7 Handle removable of continued frames better (not 100% done) (bug #3262)
git-svn-id: svn://10.0.0.236/trunk@24216 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 19:36:24 +00:00
kipp%netscape.com
99c54cef53 Fixed numerous frame removed bugs (bug #3262)
git-svn-id: svn://10.0.0.236/trunk@24215 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 19:36:00 +00:00
mcmullen%netscape.com
0e8563520b Fixes for bugs #3779,#2784. Member initialization of nsFileURL for windows compiler, escaping of url when made from path or spec, add file:// on macintosh when making a url from a spec. [bugs introduced when, for dp, I changed nsFilePath not to escape]. a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@24214 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 19:12:51 +00:00
hshaw%netscape.com
7236a2582a To reduce confusion, read 'Netscape Preferences' for Mac, M3 bug #2343, approved dp
git-svn-id: svn://10.0.0.236/trunk@24213 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 18:31:40 +00:00
terry%netscape.com
afbf0febc8 Fixed typo in comment.
git-svn-id: svn://10.0.0.236/trunk@24212 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 18:29:45 +00:00
kin%netscape.com
e10b10c490 Fix for bug #3786: Undo/Redo icons broken in Editor test bed. Approved by chofmann.
git-svn-id: svn://10.0.0.236/trunk@24211 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 18:24:37 +00:00
hshaw%netscape.com
c6b6bb0e47 To reduce confusion, read preferences.js for UNIX, prefs.js for Win/Mac, M3 bug #2343, approved dp
git-svn-id: svn://10.0.0.236/trunk@24210 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 17:59:11 +00:00
buster%netscape.com
8851e742d6 fixed join.
made a special case for typing with BR as the selection (as after an InsertBreak.)
made DEL and BACKSPACE at the beginning and end of a text node
fixes bugs 3742 and 3756 (with permission from choff and gkostello)


git-svn-id: svn://10.0.0.236/trunk@24209 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 16:38:09 +00:00
gagan%netscape.com
540707af8e Fix for 3776.
git-svn-id: svn://10.0.0.236/trunk@24208 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 07:46:57 +00:00
gagan%netscape.com
a7bed3561d Fix for 1742. There is a bigger bug hiding behind this one... its about file:// urls. It needs to be revisited later.
git-svn-id: svn://10.0.0.236/trunk@24207 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 07:45:16 +00:00
rpotts%netscape.com
7bbc87b3d0 fix for bug #2343 - Preferences are not initialized in the apprunner...
git-svn-id: svn://10.0.0.236/trunk@24206 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 07:25:43 +00:00
rpotts%netscape.com
5dcafd7b80 fix for bug #2343 - Preferences are not initialized in the apprunner...
git-svn-id: svn://10.0.0.236/trunk@24205 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 07:15:37 +00:00
rickg%netscape.com
6aa4a20063 removed warnings and partially fixed M3
git-svn-id: svn://10.0.0.236/trunk@24204 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 07:06:48 +00:00
rpotts%netscape.com
36e5062afc Fixed build bustage... nsIWalletService.h was not being found because dist\public\walletlib was missing from the LINCS...
git-svn-id: svn://10.0.0.236/trunk@24202 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 06:08:18 +00:00
bienvenu%netscape.com
63ee355daa fix 3765 r=mscott,scottip a=chofmann problem updating thread pane after get new mail
git-svn-id: svn://10.0.0.236/trunk@24201 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 03:16:31 +00:00
despotdaemon%netscape.com
e0fe0f92a2 Pseudo-automatic update of changes made by dmose@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@24200 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 02:55:44 +00:00
pavlov%pavlov.net
38641f5c48 fix for #2513. r=mcafee@netscape.com, a=don@netscape.com
git-svn-id: svn://10.0.0.236/trunk@24199 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 02:19:52 +00:00
dp%netscape.com
71be445c74 Moving appcores.dll from bin/components/ to bin/ since mailnews links with it
git-svn-id: svn://10.0.0.236/trunk@24197 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 01:41:33 +00:00
dp%netscape.com
b57de82436 Moving appcores.dll from bin/components/ to bin/ since mailnews links with it
git-svn-id: svn://10.0.0.236/trunk@24196 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 01:34:22 +00:00
dp%netscape.com
33606ad65b Forcing xpcom registry recreation after moving appcores.dll from bin/components to bin/ since mailnew links with it
git-svn-id: svn://10.0.0.236/trunk@24195 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 01:33:46 +00:00
hyatt%netscape.com
6dda978028 As per German's request, moving the Wallet menu underneath the
Edit menu.


git-svn-id: svn://10.0.0.236/trunk@24194 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 01:17:30 +00:00
nhotta%netscape.com
2f28121e41 Change to generate a meta-tag for i18n mail testing, for the dogfood only (and windows only), reviwed by rhp, approved by chofmann.
git-svn-id: svn://10.0.0.236/trunk@24193 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 00:52:37 +00:00
hyatt%netscape.com
84a6776999 Changing some errors in the XUL file and moving the URL bar to be vertically
centered.

Also making a change requested by German... moving the new task bar underneath
the status area.


git-svn-id: svn://10.0.0.236/trunk@24192 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 00:40:49 +00:00
mjudge%netscape.com
598cd8d192 I am "unfixing" something. This was something I introduced to prevent an M3 bug with a hack, it is not necessary anymore. reviewd by sfrasier. several people have verified this.
git-svn-id: svn://10.0.0.236/trunk@24191 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 00:08:38 +00:00
saari%netscape.com
d329e297fb Fixing bug #3743 - Hierarchical menus display wrong info on MacOS
git-svn-id: svn://10.0.0.236/trunk@24188 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 00:00:39 +00:00
joki%netscape.com
4aff2a13e3 Fix for bug 3553, links on Linux
git-svn-id: svn://10.0.0.236/trunk@24187 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 23:44:15 +00:00
danm%netscape.com
780878cdde Moving release of nsWindow object up from its Destroy method to its caller, nsMacEventHandler. This is a better remainder of a fix for bug 3676. r:saari a:chofmann.
git-svn-id: svn://10.0.0.236/trunk@24186 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 23:40:42 +00:00
alecf%netscape.com
e580b04cc9 fix for #3755 - bring up messenger from Tools->Messenger by opening a new
window with the messenger XUL file.


git-svn-id: svn://10.0.0.236/trunk@24185 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 23:31:09 +00:00
mjudge%netscape.com
d86bbf4046 M3 bug reviewed by joe francis. simply adding 0 initiializers to variables
git-svn-id: svn://10.0.0.236/trunk@24184 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 23:08:27 +00:00
jfrancis%netscape.com
da1fc8ea13 fixed 3632 - selection turds after delete.
fixed 3751 - resizing page with selected image crashes.

reviewed mjudge and kin.  checkin approval chofmann.


git-svn-id: svn://10.0.0.236/trunk@24183 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 22:52:06 +00:00
cyeh%netscape.com
a303b2a42b added loop command line option to control the number of times it cycles
on a url.txt file. default is 100 times.


git-svn-id: svn://10.0.0.236/trunk@24182 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 22:46:46 +00:00
putterman%netscape.com
b61167ad7b can now change folder root. Reviewed by waterson and approved by chofmann
git-svn-id: svn://10.0.0.236/trunk@24181 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 22:33:09 +00:00
bienvenu%netscape.com
70142237f5 fix 3754 assert deleting a mail message r=davidmc, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@24180 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 21:46:11 +00:00
hshaw%netscape.com
6c9b13a66e use default prefs.js if someone cause PREF_ API before initializing it
git-svn-id: svn://10.0.0.236/trunk@24179 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 21:38:06 +00:00
ramiro%netscape.com
f4cf6c562b Fix bugs 3653, 3652 and 3566. Leaking timers.
Thanks to Tomi Leppikangas <Tomi.Leppikangas@oulu.fi> for providing the
fix and Bruce Mitchener <bruce@cybersight.com> for purifying it.


git-svn-id: svn://10.0.0.236/trunk@24178 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 21:23:49 +00:00
evaughan%netscape.com
c332730afc Fixed align bug.
git-svn-id: svn://10.0.0.236/trunk@24177 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 21:22:49 +00:00
hyatt%netscape.com
814f8171fa Fixing the personal toolbar. Someone had a duplicate ID in there.
git-svn-id: svn://10.0.0.236/trunk@24176 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 21:06:24 +00:00
law%netscape.com
5908a31379 Corrected 'typo' in text for Home button; approved by chofmann/don
git-svn-id: svn://10.0.0.236/trunk@24175 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 20:53:24 +00:00
cyeh%netscape.com
9bf229dc0d fix -f command line option so that it actually works.
git-svn-id: svn://10.0.0.236/trunk@24174 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 19:33:13 +00:00
kostello%netscape.com
e0259c902d Fix build bustage. Move entity code to nsHTMLContentSinkStream until
this can be correctly addressed.


git-svn-id: svn://10.0.0.236/trunk@24173 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 19:19:01 +00:00
hyatt%netscape.com
0fc62f3ccf Removing the "About" menu and placing the link to Release Notes under
the "Help" menu instead.  Approved by chofmann.


git-svn-id: svn://10.0.0.236/trunk@24171 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 19:01:22 +00:00
slamm%netscape.com
313e26b262 Use one name for .mozconfig
git-svn-id: svn://10.0.0.236/trunk@24170 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 17:49:25 +00:00
rickg%netscape.com
a78f2703db two tiny fixes that have been sitting around awhile
git-svn-id: svn://10.0.0.236/trunk@24169 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 08:38:41 +00:00
bienvenu%netscape.com
de8a697e56 fix problem in reply all
git-svn-id: svn://10.0.0.236/trunk@24168 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 07:43:14 +00:00
hshaw%netscape.com
a8d2897d6f load up default pref file, more detailed version requires mac project file changes
git-svn-id: svn://10.0.0.236/trunk@24167 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 06:12:17 +00:00
mccabe%netscape.com
9062024e28 Another reworking of the loader -
- added a forward declaration of nsIInterfaceInfoManager to xptinfo.h

- reworked and cleaned up most aspects of the loader; typelib files now get associated typelib records, which have arrays of pointers to shared interface records; no hashtable lookup is necessary to resolve index pointers from params, etc to nsInterfaceInfo objects.

- moved to two hashtables in nsInterfaceInfoManager, mapping from name->interface record and iid->interface record.  Still unclear if I handle the different-iid, same-name case correctly.


git-svn-id: svn://10.0.0.236/trunk@24166 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:50:11 +00:00
hyatt%netscape.com
f41ac2bd41 Changes to fix the bookmarks menu crashing problem.
git-svn-id: svn://10.0.0.236/trunk@24165 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:39:04 +00:00
hyatt%netscape.com
e9895b0fef Changes to fix the Bookmarks menu crashing problem.
git-svn-id: svn://10.0.0.236/trunk@24164 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:36:13 +00:00
kostello%netscape.com
a1d937336a Added implementation for nsIHTMLContentSink::DoFragment()
git-svn-id: svn://10.0.0.236/trunk@24163 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:11:43 +00:00
kostello%netscape.com
b795dfd74a Add support to encode selection informaton
git-svn-id: svn://10.0.0.236/trunk@24162 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:10:03 +00:00
kostello%netscape.com
212c5568d0 Added nsIHTMLContentSink::DoFragment() method.
Added support for conversion of HTML entities in output


git-svn-id: svn://10.0.0.236/trunk@24161 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:08:36 +00:00
buster%netscape.com
506d9a9565 added WillUndo, DidUndo, WillRedo, DidRedo and some supporting code so
the text edit rule object can maintain it's own state more efficiently and correctly.


git-svn-id: svn://10.0.0.236/trunk@24160 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:08:30 +00:00
kostello%netscape.com
8ed917b8c2 Add support to get a SelectiomManager if non exists.
Waiting for Repository work


git-svn-id: svn://10.0.0.236/trunk@24159 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:06:52 +00:00
buster%netscape.com
099c42d8d3 small bug fix in Collapse. If the range array has 0 children, the selection should be considered collapsed.
git-svn-id: svn://10.0.0.236/trunk@24158 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:04:34 +00:00
sdagley%netscape.com
b25a5bd57a Had to temporarily back out danm's Release() hack from v1.95 as it causes a crash trying to load a new URL. While the hack did fix the problem with not being able to close the bookmark window my feeling is the crash is the less desirable behavior.
git-svn-id: svn://10.0.0.236/trunk@24157 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 03:18:05 +00:00
pavlov%pavlov.net
ca80f65092 fix another memory leak.
git-svn-id: svn://10.0.0.236/trunk@24156 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 03:03:49 +00:00
edwin%woudt.nl
1e9c573bb0 More addressbook patches from Mauro Botelho.
1. Now we are saving new entries to a file named aBook.nab
2. Sort ascending and descending are working now.


git-svn-id: svn://10.0.0.236/trunk@24155 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 01:59:26 +00:00
bienvenu%netscape.com
0d98b2a9fd latest mork drop, fix commit code
git-svn-id: svn://10.0.0.236/trunk@24154 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 01:32:31 +00:00
briano%netscape.com
5090bfc5fc Automated update
git-svn-id: svn://10.0.0.236/trunk@24153 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 01:00:41 +00:00
buster%netscape.com
518e2bdc59 added files: mozilla/editor/base/PlaceholderTxn.cpp
git-svn-id: svn://10.0.0.236/trunk@24152 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 00:58:15 +00:00
buster%netscape.com
ef5f3265cc added PlaceholderTxn. This is an aggregate transaction that sits on the undo stack
and merges in subsequent transactions indiscriminately until it's told to stop.
It also gives the last transaction in its child list a chance to merge the
next transaction.
All this is in support of complex transactions that result in text insertion
being able to collapse into a single undoable event.
Also improved tracking of bogus content node used when document is empty.


git-svn-id: svn://10.0.0.236/trunk@24151 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 00:57:32 +00:00
pavlov%pavlov.net
a5b07e4bf2 attempt to see what tinderbox machines don't have gtk 1.2 on them... will
revert this in a minute.


git-svn-id: svn://10.0.0.236/trunk@24150 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 00:47:55 +00:00
morse%netscape.com
12c434488f add wallet samples
git-svn-id: svn://10.0.0.236/trunk@24149 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 00:46:22 +00:00
morse%netscape.com
29a296322d get tables from server
git-svn-id: svn://10.0.0.236/trunk@24148 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 00:42:33 +00:00
pavlov%pavlov.net
ee9477a22a fix another mem leak.
git-svn-id: svn://10.0.0.236/trunk@24147 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 23:57:26 +00:00
pavlov%pavlov.net
5bad3fe9c7 fix mem leak for real this time.
git-svn-id: svn://10.0.0.236/trunk@24146 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 23:15:35 +00:00
pavlov%pavlov.net
78bde97ca5 fix mem leaks.
git-svn-id: svn://10.0.0.236/trunk@24145 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 23:14:35 +00:00
pavlov%pavlov.net
093fc1914e minor cleanups.
git-svn-id: svn://10.0.0.236/trunk@24144 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 23:03:34 +00:00
bienvenu%netscape.com
403c89404d add comma separator between addresses, remove null byte in msg hdr yarn
git-svn-id: svn://10.0.0.236/trunk@24143 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 23:00:31 +00:00
beard%netscape.com
72b38afe7f added extensions
git-svn-id: svn://10.0.0.236/trunk@24142 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 22:52:39 +00:00
beard%netscape.com
4da1e46179 always create console in a new window
git-svn-id: svn://10.0.0.236/trunk@24141 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 22:52:18 +00:00
beard%netscape.com
d4708408bc fixed crashing bug when frames are destroyed
git-svn-id: svn://10.0.0.236/trunk@24140 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 22:51:41 +00:00
jefft%netscape.com
8be650186c more reply/forward message support
git-svn-id: svn://10.0.0.236/trunk@24139 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 21:01:36 +00:00
jefft%netscape.com
4a7fcc684f more reply/forward message implementation
git-svn-id: svn://10.0.0.236/trunk@24138 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 21:00:30 +00:00
saari%netscape.com
08874e6586 Fixing bug #3674 and #3679
git-svn-id: svn://10.0.0.236/trunk@24137 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:59:10 +00:00
jefft%netscape.com
f00cddec76 rename GetMessageHeader to GetRDFResourceForMessage
git-svn-id: svn://10.0.0.236/trunk@24136 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:58:58 +00:00
beard%netscape.com
f3f0f9e4c5 added CreatePluginInstance.
git-svn-id: svn://10.0.0.236/trunk@24135 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:26:29 +00:00
beard%netscape.com
f2113a9ff2 calling CreatePluginInstance instead of CreateInstance, so MIME type is available early.
git-svn-id: svn://10.0.0.236/trunk@24134 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:09:57 +00:00
beard%netscape.com
ec20be3608 added CreatePluginInstance, to create a plugin instance with a specified MIME type.
git-svn-id: svn://10.0.0.236/trunk@24133 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:09:12 +00:00
beard%netscape.com
bacd108673 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@24132 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:07:46 +00:00
beard%netscape.com
0421e358e6 EmbeddedFrame
git-svn-id: svn://10.0.0.236/trunk@24131 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:06:59 +00:00
beard%netscape.com
b795a5140e added CreatePluginInstance
git-svn-id: svn://10.0.0.236/trunk@24130 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:06:41 +00:00
beard%netscape.com
0c9fa70221 Added CreatePluginInstance method.
git-svn-id: svn://10.0.0.236/trunk@24129 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:06:22 +00:00
beard%netscape.com
fdb6b83f16 added additional MIME type, "application/x-java-frame"
git-svn-id: svn://10.0.0.236/trunk@24128 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:05:51 +00:00
beard%netscape.com
151dfaca36 private SupportsMixin
git-svn-id: svn://10.0.0.236/trunk@24127 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:05:14 +00:00
beard%netscape.com
5c47386cb3 Added JSEvaluator.cpp, EmbeddedFrame.cpp, EmbeddedFramePluginInstance.cpp.
git-svn-id: svn://10.0.0.236/trunk@24126 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 20:04:48 +00:00
morse%netscape.com
9b065263e5 make wallet editor accessible outside of firewall
git-svn-id: svn://10.0.0.236/trunk@24125 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 19:50:49 +00:00
morse%netscape.com
55720e3d53 cleanup use of url-specific field-to-schema mapping
git-svn-id: svn://10.0.0.236/trunk@24124 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 19:02:38 +00:00
pavlov%pavlov.net
3b8b73438e fix bug #3721
git-svn-id: svn://10.0.0.236/trunk@24123 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 18:50:04 +00:00
locka%iol.ie
56919abb99 Made changes for IE DOM support
git-svn-id: svn://10.0.0.236/trunk@24122 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 18:29:21 +00:00
locka%iol.ie
f8a294feaf Added basic IE element implementations
git-svn-id: svn://10.0.0.236/trunk@24121 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 18:26:58 +00:00
pavlov%pavlov.net
1b8af08f0f fix another memory leak.
git-svn-id: svn://10.0.0.236/trunk@24120 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 18:12:23 +00:00
pavlov%pavlov.net
1d5e39fcc9 fix bug #3564
git-svn-id: svn://10.0.0.236/trunk@24119 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 18:06:18 +00:00
bienvenu%netscape.com
4f9d8961d4 add accessors for recipients and cc list
git-svn-id: svn://10.0.0.236/trunk@24118 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 17:46:14 +00:00
locka%iol.ie
6d98f4b590 New icons
git-svn-id: svn://10.0.0.236/trunk@24117 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 17:44:40 +00:00
locka%iol.ie
e65e3b7805 Updated CBrowse into a mini-test app
git-svn-id: svn://10.0.0.236/trunk@24116 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 17:44:01 +00:00
karnaze%netscape.com
fe3b92e60b removed code to set margins on radio buttons and checkboxes. It is now done using attribute selectors in ua.css.
git-svn-id: svn://10.0.0.236/trunk@24115 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 17:39:58 +00:00
karnaze%netscape.com
0a1d6741dd table cell uses its own border (instead of table's) when sizing its area frame
git-svn-id: svn://10.0.0.236/trunk@24114 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 17:36:10 +00:00
ramiro%netscape.com
5cbb09f9bf Fix typo.
git-svn-id: svn://10.0.0.236/trunk@24113 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 17:33:43 +00:00
edwin%woudt.nl
d614531026 Changed the smtphost preference to be identity based instead of global.
git-svn-id: svn://10.0.0.236/trunk@24112 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 13:30:45 +00:00
edwin%woudt.nl
cabbfb0c46 Default identities can be set now in the preferences file for each store.
git-svn-id: svn://10.0.0.236/trunk@24111 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 11:16:50 +00:00
mcafee%netscape.com
688621eb3f getenv() needs a prototype for Solaris.
git-svn-id: svn://10.0.0.236/trunk@24110 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 09:00:38 +00:00
danm%netscape.com
aecf46f198 disabling ability to specify a parent for a top-level window (until all platforms agree on what this means). fix refcount when registering windows with the window list.
git-svn-id: svn://10.0.0.236/trunk@24109 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 08:24:21 +00:00
danm%netscape.com
2366297b1b adjusting refcount for menubars and deletion. deletion adjustment is a HACK for the impending milestone.
git-svn-id: svn://10.0.0.236/trunk@24108 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 08:22:43 +00:00
danm%netscape.com
4293674b32 fixing goofy reversal of normal window and dialog window creation
git-svn-id: svn://10.0.0.236/trunk@24107 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 08:21:09 +00:00
danm%netscape.com
9b22c9c322 Added SetParent method
git-svn-id: svn://10.0.0.236/trunk@24106 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 08:19:34 +00:00
jband%netscape.com
859b96d66e use of typelibs via xptinfo working with test program on win32. Untested on Linux. typelib generation not yet integrated into the make system
git-svn-id: svn://10.0.0.236/trunk@24105 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 06:07:21 +00:00
beard%netscape.com
406c19300d Added NPL
git-svn-id: svn://10.0.0.236/trunk@24104 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 05:22:50 +00:00
pavlov%pavlov.net
872dc8de37 removed some unused code
git-svn-id: svn://10.0.0.236/trunk@24103 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 05:01:55 +00:00
rods%netscape.com
59be444747 Added DragListener for Drag & Drop (it's not turned on)
git-svn-id: svn://10.0.0.236/trunk@24102 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 04:45:00 +00:00
beard%netscape.com
6c2fa78c9d added nsILiveconnect service.
git-svn-id: svn://10.0.0.236/trunk@24101 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 04:41:51 +00:00
beard%netscape.com
4ee6f2956f added IID accessors
git-svn-id: svn://10.0.0.236/trunk@24100 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 04:40:54 +00:00
beard%netscape.com
98648c5313 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@24099 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 04:39:04 +00:00
buster%netscape.com
7cc6cda1c5 added checks for DOM Key event returning 0x0 key code. If we get 0, we bail.
git-svn-id: svn://10.0.0.236/trunk@24098 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 04:12:21 +00:00
buster%netscape.com
6119addb3c added a debug-only printf warning if the char code returned is 0
git-svn-id: svn://10.0.0.236/trunk@24097 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 04:10:55 +00:00
beard%netscape.com
23f8cca44d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@24096 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 03:06:42 +00:00
beard%netscape.com
d86a17c17e JSObject tests.
git-svn-id: svn://10.0.0.236/trunk@24095 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 03:06:08 +00:00
beard%netscape.com
47e7c1394c Added nsLiveconnect to backward adapter target.
git-svn-id: svn://10.0.0.236/trunk@24094 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 03:05:18 +00:00
beard%netscape.com
0884e8f2d7 MRJPLUGIN_4X support.
git-svn-id: svn://10.0.0.236/trunk@24093 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 03:04:44 +00:00
jband%netscape.com
a01f741d90 added octet for unsigned 8bit, made float and double work, added a Win32 batfile to build against the right MS runtime dll, added hacked temporary support for nsID expresed as nsIIDRef, added GOTO support for iid_is being native rather than an interface type; i.e. for QueryInterface style sig where a void* is used as the out type
git-svn-id: svn://10.0.0.236/trunk@24092 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 02:59:43 +00:00
mjudge%netscape.com
0615e6fe73 fix hack for getting selection to "Really" update the frame
git-svn-id: svn://10.0.0.236/trunk@24091 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 01:18:47 +00:00
kostello%netscape.com
7ba2fb1536 Added HACKForceRedraw() when deleting a range or inserting text
git-svn-id: svn://10.0.0.236/trunk@24090 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 01:02:53 +00:00
sfraser%netscape.com
0ed96a5600 Remove an extra ", and remove the align tag on the throbber, because it
currently shows up as a label. sdagley helped.


git-svn-id: svn://10.0.0.236/trunk@24089 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 00:46:02 +00:00
kostello%netscape.com
200ff1e40c Add HACKForceRedraw() to force a redraw until the drawing
problems are solved in Gecko


git-svn-id: svn://10.0.0.236/trunk@24088 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 00:31:35 +00:00
pavlov%pavlov.net
d44739f283 make the Enumerator destructor virtual to remove build warning.
git-svn-id: svn://10.0.0.236/trunk@24087 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 00:21:56 +00:00
gordon%netscape.com
36fad31c19 Fix for Mac OT bugs #2133, #2405, #2451, #2623, #3580 among others. Steve Dagley served as buddy for my changes. This is basically the first half of the redesign for Mac NSPR Sockets. Blocking mode or Server sockets remain to be implemented.
git-svn-id: svn://10.0.0.236/trunk@24086 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 00:15:39 +00:00
mcmullen%netscape.com
f636dbb228 Added nsFileLocations.cpp/.h to the build.
git-svn-id: svn://10.0.0.236/trunk@24085 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 00:03:21 +00:00
mcmullen%netscape.com
ce1795ba6d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@24084 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 00:02:40 +00:00
mcmullen%netscape.com
8a41bf3664 Added "About" menu with release notes item (bug #3648).
git-svn-id: svn://10.0.0.236/trunk@24083 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 23:27:45 +00:00
mcmullen%netscape.com
70f0026961 Adjusted the use of nsFileSpec in GetVolumeList(), thereby avoiding a crash.
git-svn-id: svn://10.0.0.236/trunk@24082 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 22:52:24 +00:00
edwin%woudt.nl
d328bbec32 Implemented signature replacement code. When changing identities now, the sig will change. Also the sig will be automatically added when composing a message.
git-svn-id: svn://10.0.0.236/trunk@24081 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 22:31:58 +00:00
mjudge%netscape.com
2ebf5f3b4b needed to get caret to draw at end of line and on an empty text element
git-svn-id: svn://10.0.0.236/trunk@24080 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 21:33:34 +00:00
mjudge%netscape.com
e60f9b40c5 hack to get caret to draw on empty line.
git-svn-id: svn://10.0.0.236/trunk@24079 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 21:33:01 +00:00
morse%netscape.com
2e91a789f7 added wallet
git-svn-id: svn://10.0.0.236/trunk@24078 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 21:29:49 +00:00
morse%netscape.com
5619966aab fix for bug 2414 -- cookie file not being created
git-svn-id: svn://10.0.0.236/trunk@24077 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 21:26:35 +00:00
jefft%netscape.com
e544c62a1f call nsJSUtils::nsConvertObjectToJSVal to convert returning object into jsval
git-svn-id: svn://10.0.0.236/trunk@24076 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 20:15:08 +00:00
jefft%netscape.com
a5ccc1fc81 partially enable reply and forward message
git-svn-id: svn://10.0.0.236/trunk@24075 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 20:10:10 +00:00
ducarroz%netscape.com
ef85a14469 Remove default text, now the default body is blank
git-svn-id: svn://10.0.0.236/trunk@24074 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 18:02:33 +00:00
morse%netscape.com
03293e7efc removed some dead code
git-svn-id: svn://10.0.0.236/trunk@24073 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 16:00:40 +00:00
morse%netscape.com
164b45f147 fix bugzilla bug 909
git-svn-id: svn://10.0.0.236/trunk@24072 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 15:59:05 +00:00
karnaze%netscape.com
3828070fad set max element size for hidden element
git-svn-id: svn://10.0.0.236/trunk@24071 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 12:50:43 +00:00
karnaze%netscape.com
320437ece4 bug 2220; changed wording of some warnings.
git-svn-id: svn://10.0.0.236/trunk@24070 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 12:49:37 +00:00
karnaze%netscape.com
fe22718487 removed some table frame construction warnings.
git-svn-id: svn://10.0.0.236/trunk@24069 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 12:47:56 +00:00
rjc%netscape.com
4285a9887c Reduce amount of string allocation, and delete []basename when done with it.
git-svn-id: svn://10.0.0.236/trunk@24068 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 09:32:13 +00:00
rjc%netscape.com
75a939310a Use nsFileURL instead of nsFilePath to get file URL.
git-svn-id: svn://10.0.0.236/trunk@24067 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 09:25:46 +00:00
rjc%netscape.com
d5a22ad969 Add column sorting support to bookmarks.xul
git-svn-id: svn://10.0.0.236/trunk@24066 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 09:10:40 +00:00
jband%netscape.com
5eaf37bbb1 more to fix assumption that interfaces don't have the pointer bit set
git-svn-id: svn://10.0.0.236/trunk@24065 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 09:09:26 +00:00
dp%netscape.com
6ddfe4b9de Removing unix hack of translation ./libabc.so to libabc.so to prevent multiple loads. This wont be required as we load all dlls absolutely
git-svn-id: svn://10.0.0.236/trunk@24064 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 08:09:54 +00:00
ducarroz%netscape.com
6417ada219 Part of implementation of Reply and Forward
git-svn-id: svn://10.0.0.236/trunk@24063 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 07:51:54 +00:00
ducarroz%netscape.com
972c7474f5 Part of implementation of Reply and Forward. Use new SendMessage command
git-svn-id: svn://10.0.0.236/trunk@24062 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 07:51:15 +00:00
ducarroz%netscape.com
29fb5a6f25 add pref for reply_to
git-svn-id: svn://10.0.0.236/trunk@24061 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 07:49:23 +00:00
mcmullen%netscape.com
3b2fd6b905 Fix a parameter type.
git-svn-id: svn://10.0.0.236/trunk@24060 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 07:07:33 +00:00
mcmullen%netscape.com
56cf21a8da Adapt to an API change.
git-svn-id: svn://10.0.0.236/trunk@24059 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 06:39:17 +00:00
mcmullen%netscape.com
de8fc99c4f Upgrades, bugfixes (including nsFilePath no longer hex escaped). Features (including DiskSpaceAvailable)
git-svn-id: svn://10.0.0.236/trunk@24058 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 06:38:57 +00:00
buster%netscape.com
c40ea0b1ef InsertBreak now works at the beginning of a line. Plus a trivial bug fix.
git-svn-id: svn://10.0.0.236/trunk@24057 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 05:31:22 +00:00
syd%netscape.com
e2edc000af gtk_toggle_button_get_active() is an API newer than Gtk+ 1.1.13. Replaced it
with legacy code that just looks at active field of widget directly (I could
use the GtkObject interfaces, but those are kludgy and the reason that the
newer API was introduced). Eventually (hopefully soon) we'll migrate to Gtk+
1.2 (which will fix some rendering bugs as well...)


git-svn-id: svn://10.0.0.236/trunk@24056 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 05:25:31 +00:00
buster%netscape.com
3900dace67 added delegate code for InsertText (WillInsertText, DidInsertText)
which calls generic WillInsert, DidInsert to test for magic bogus
content and does the right thing.
You now can't delete magic content with user gestures, and when you
insert anything the magic kludgy &nbsp; is deleted first.


git-svn-id: svn://10.0.0.236/trunk@24055 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 04:53:21 +00:00
buster%netscape.com
1adc16e177 Table cells need to call DidSetStyleContext whenever their style changes, or
whenever the table's style changes.
This is a partial fix for bug 3513


git-svn-id: svn://10.0.0.236/trunk@24054 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 04:38:02 +00:00
buster%netscape.com
fdd92cdedf added some debugging code. uncomment the #define DELETE_SELECTION
to see some output about what node is selected.


git-svn-id: svn://10.0.0.236/trunk@24053 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 04:36:03 +00:00
law%netscape.com
6aee465560 Throbberized
git-svn-id: svn://10.0.0.236/trunk@24052 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 04:24:13 +00:00
law%netscape.com
e898ea3970 Throb, baby, throb
git-svn-id: svn://10.0.0.236/trunk@24051 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:51:22 +00:00
law%netscape.com
6f483dbf4e Added throbbingN.gif and fixed clobber dirs
git-svn-id: svn://10.0.0.236/trunk@24050 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:40:27 +00:00
syd%netscape.com
2e269a53c6 Declare mPrData
git-svn-id: svn://10.0.0.236/trunk@24049 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:39:38 +00:00
law%netscape.com
a8a4d3d226 Adding url listener support
git-svn-id: svn://10.0.0.236/trunk@24048 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:31:55 +00:00
slamm%netscape.com
8988adee79 Disable PrintPreview 'cause it's crashing.
git-svn-id: svn://10.0.0.236/trunk@24047 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:26:54 +00:00
syd%netscape.com
3a9c39025c Call GTK print dialog. Currently, Init routine returns FAILURE, effectively
stubbing out this functionality. Done Cone will turn it on at a later time.

Gtk+ print menu crashes will temporarily disappear because of this change.


git-svn-id: svn://10.0.0.236/trunk@24046 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:21:16 +00:00
syd%netscape.com
c86a5bb085 Add nsPrintdGTK.c to build.
git-svn-id: svn://10.0.0.236/trunk@24045 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:19:58 +00:00
syd%netscape.com
57ff622ee2 Print dialog for Gtk. Needs to be wired by Done Cone, currently stubbed out
in caller.


git-svn-id: svn://10.0.0.236/trunk@24044 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:19:28 +00:00
slamm%netscape.com
d2355bf850 Add click handler for personal toolbar.
git-svn-id: svn://10.0.0.236/trunk@24043 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:15:39 +00:00
beard%netscape.com
284c311805 added IID_ACCESSOR
git-svn-id: svn://10.0.0.236/trunk@24042 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:12:16 +00:00
beard%netscape.com
8230ab5364 fixed IID accessor
git-svn-id: svn://10.0.0.236/trunk@24041 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:11:05 +00:00
beard%netscape.com
82d7689071 Added some println's to test console.
git-svn-id: svn://10.0.0.236/trunk@24040 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:08:02 +00:00
law%netscape.com
ed145eabba Export nsIURLListener.h
git-svn-id: svn://10.0.0.236/trunk@24039 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 03:01:15 +00:00
slamm%netscape.com
cda10a48e6 -mAdd FAQ link.
git-svn-id: svn://10.0.0.236/trunk@24038 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 02:59:30 +00:00
sdagley%netscape.com
ff49c74457 Make an alias of mozilla:xpfe:AppCores:xul:resources:throbbingN.gif in the throbber res directory so that law's upcoming toolbar xul change can find it.
git-svn-id: svn://10.0.0.236/trunk@24037 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 02:51:00 +00:00
law%netscape.com
da9fcb2b49 New URL listener interface to get throbber working
git-svn-id: svn://10.0.0.236/trunk@24036 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 02:28:31 +00:00
law%netscape.com
7d73848f1b New styles for throbber
git-svn-id: svn://10.0.0.236/trunk@24035 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 02:21:51 +00:00
beard%netscape.com
ab9d076b20 reverted back to kISupportsIID. It seems not all compilers can handle ::nsISupports::GetIID() from inside an XPCOM interface. Yech.
git-svn-id: svn://10.0.0.236/trunk@24034 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 02:20:57 +00:00
slamm%netscape.com
a0d92131e4 Add throbbingN.gif.
git-svn-id: svn://10.0.0.236/trunk@24033 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 02:15:34 +00:00
evaughan%netscape.com
5caad912d3 Fixed Titled button bugs.
git-svn-id: svn://10.0.0.236/trunk@24032 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:51:49 +00:00
slamm%netscape.com
b06c9cece3 Update script name
git-svn-id: svn://10.0.0.236/trunk@24031 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:43:25 +00:00
jband%netscape.com
8bb15255e9 support float and double in headers and typelibs
git-svn-id: svn://10.0.0.236/trunk@24030 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:43:19 +00:00
jband%netscape.com
9ed30011df made in params const, added some comments
git-svn-id: svn://10.0.0.236/trunk@24029 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:34:37 +00:00
jband%netscape.com
d96fb8c360 fix assumption that interfaces don't have the poointer bit set
git-svn-id: svn://10.0.0.236/trunk@24028 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:31:48 +00:00
hyatt%netscape.com
950c46393d Bookmarks menu coming online.
git-svn-id: svn://10.0.0.236/trunk@24027 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:12:53 +00:00
alecf%netscape.com
0be2671888 #if 0 out calls to functions we haven't defined yet.
git-svn-id: svn://10.0.0.236/trunk@24026 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:07:11 +00:00
alecf%netscape.com
2e006cf6f7 remove more undefined symbols by linking against more libraries
git-svn-id: svn://10.0.0.236/trunk@24025 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:06:27 +00:00
chuang%netscape.com
68726183a2 Change 3 pane layout using frame instead of iframe
git-svn-id: svn://10.0.0.236/trunk@24022 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:03:50 +00:00
hyatt%netscape.com
c888f11e4f Menus now handle click events properly (by sending them into the DOM).
git-svn-id: svn://10.0.0.236/trunk@24021 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:03:33 +00:00
law%netscape.com
96232ea83d Animated gif for apprunner throbber
git-svn-id: svn://10.0.0.236/trunk@24020 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 01:02:28 +00:00
mccabe%netscape.com
b8deb21290 Fixed a place where I was missing an NS_RELEASE, thanks jband.
git-svn-id: svn://10.0.0.236/trunk@24019 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 00:56:47 +00:00
slamm%netscape.com
2df99b84b6 Trim NSPR options down to two. Add mozilla banner.
git-svn-id: svn://10.0.0.236/trunk@24018 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 00:51:40 +00:00
alecf%netscape.com
28d6dad50c putterman's patches to re-root thread pane
git-svn-id: svn://10.0.0.236/trunk@24017 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 00:50:51 +00:00
morse%netscape.com
8aade4c7bb fix potential build bustage
git-svn-id: svn://10.0.0.236/trunk@24016 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 00:44:13 +00:00
hyatt%netscape.com
79251a162a Menus are much closer now.
git-svn-id: svn://10.0.0.236/trunk@24015 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 00:31:05 +00:00
nhotta%netscape.com
390059663f Added a MIME decoder interface which takes arguments in nsString.
git-svn-id: svn://10.0.0.236/trunk@24014 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 00:28:18 +00:00
beard%netscape.com
03cc80e739 forcing nsISupports to global scope to resovle ambiguity (VC is very weak)
git-svn-id: svn://10.0.0.236/trunk@24013 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 00:12:13 +00:00
hyatt%netscape.com
9d57739e0b On the road to making the bookmarks menu work properly.
git-svn-id: svn://10.0.0.236/trunk@24012 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 00:08:25 +00:00
rjc%netscape.com
2262fccde4 Autoregistration now works on all platforms, and RDF self-registers, so removing code that statically registers RDF here.
git-svn-id: svn://10.0.0.236/trunk@24011 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 00:06:29 +00:00
pinkerton%netscape.com
fa2dd9188c onClick -> onclick conversion.
git-svn-id: svn://10.0.0.236/trunk@24010 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:56:13 +00:00
evaughan%netscape.com
28720251d6 Fixed disabled bug on buttons.
git-svn-id: svn://10.0.0.236/trunk@24009 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:47:52 +00:00
rjc%netscape.com
6e88ce0a1b Export nsComponentManager::AutoRegister
git-svn-id: svn://10.0.0.236/trunk@24008 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:47:17 +00:00
pierre%netscape.com
7c6c8ca488 fixed uninitialized variable in XULContentSinkImpl::Init()
git-svn-id: svn://10.0.0.236/trunk@24007 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:36:33 +00:00
morse%netscape.com
c708eb1603 move wallet editor to a server
git-svn-id: svn://10.0.0.236/trunk@24006 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:32:11 +00:00
morse%netscape.com
be75a1a597 fix for wallet
git-svn-id: svn://10.0.0.236/trunk@24005 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:30:48 +00:00
morse%netscape.com
f0e79dc53c turn on client wallet for win32
git-svn-id: svn://10.0.0.236/trunk@24004 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:29:12 +00:00
rhp%netscape.com
9080b52939 Changes for content type handler plugins on unix
git-svn-id: svn://10.0.0.236/trunk@24003 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:28:39 +00:00
pierre%netscape.com
b73810df3b fixed uninitialized variable in ProxyEvent::Fire()
git-svn-id: svn://10.0.0.236/trunk@24002 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:27:46 +00:00
cyeh%netscape.com
50f0663eee use plain text for the automated report, and don't uuencode
git-svn-id: svn://10.0.0.236/trunk@24001 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:24:53 +00:00
pierre%netscape.com
d84171a598 fixed uninitialized variable in map_java_object_to_js_object_impl()
git-svn-id: svn://10.0.0.236/trunk@24000 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:18:13 +00:00
rhp%netscape.com
2afbdebea2 Change for different names on non PC platforms
git-svn-id: svn://10.0.0.236/trunk@23999 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:17:59 +00:00
rhp%netscape.com
4f3fc78aaa Change for temporary stat() call.
git-svn-id: svn://10.0.0.236/trunk@23998 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:16:52 +00:00
pinkerton%netscape.com
62c22bea64 fix for the mac part of bug #3675. We were dispatching all menu events twice.
git-svn-id: svn://10.0.0.236/trunk@23997 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:02:33 +00:00
pinkerton%netscape.com
9191075bb8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@23996 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:57:55 +00:00
beard%netscape.com
f070c0d794 now passing events to plugins, generating idle events with an nsITimer, all XP_MAC changes for the most part.
git-svn-id: svn://10.0.0.236/trunk@23994 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:46:14 +00:00
beard%netscape.com
b4dc5c36ea Added NS_NATIVE_PLUGIN_PORT selector to GetNativeData.
git-svn-id: svn://10.0.0.236/trunk@23993 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:45:02 +00:00
michaelp%netscape.com
dcfeafc885 added memory cleanup tripwire.
git-svn-id: svn://10.0.0.236/trunk@23992 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:24:30 +00:00
hyatt%netscape.com
108afeab5c Checking in German's new UI!
git-svn-id: svn://10.0.0.236/trunk@23991 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:21:58 +00:00
waterson%netscape.com
fbdbf7403d Bug 3529: re-rooting the tree. Added code in the generic content builder that notices changes to the 'id=' attribute and reconstructs the tree from a new resource when the object's identity is changed. Also, renamed the nsRDFGenericBuilder::IsWidgetElement() to IsFolderOrItem(), because that's what it's doing.
git-svn-id: svn://10.0.0.236/trunk@23990 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:20:34 +00:00
hyatt%netscape.com
e6b40dddbb Checking in German's new UI.
git-svn-id: svn://10.0.0.236/trunk@23989 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:16:05 +00:00
mcmullen%netscape.com
1acae3d8a9 Fixed crashing bug on solaris. Added support for mac documents directory.
git-svn-id: svn://10.0.0.236/trunk@23988 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:15:02 +00:00
mcmullen%netscape.com
0f5a09ef47 Added mac documents directory.
git-svn-id: svn://10.0.0.236/trunk@23987 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:14:08 +00:00
mscott%netscape.com
a03a0d6ba4 Add line return after "Mailbox Done" to make it easier for QA to smoketest this string.
git-svn-id: svn://10.0.0.236/trunk@23986 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:05:32 +00:00
beard%netscape.com
606af1d257 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@23985 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 22:04:13 +00:00
ftang%netscape.com
63130c7028 change the macroman converter to a better shape.... reviewed by pierre
git-svn-id: svn://10.0.0.236/trunk@23984 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:58:28 +00:00
beard%netscape.com
e749a03cef Took out <SCRIPT> tag, <APPLET> tag. Only used with <EMBED> tag.
git-svn-id: svn://10.0.0.236/trunk@23983 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:51:56 +00:00
beard%netscape.com
b4d0db73a0 Added clear button, moved buttons into a panel.
git-svn-id: svn://10.0.0.236/trunk@23982 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:51:05 +00:00
slamm%netscape.com
bccc688d11 Add animated gif, anim.gif.
git-svn-id: svn://10.0.0.236/trunk@23981 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:40:39 +00:00
warren%netscape.com
fa9ffdfa65 Fixed comment.
git-svn-id: svn://10.0.0.236/trunk@23980 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:39:25 +00:00
mjudge%netscape.com
c77899adc4 fixed GetWidth to "do the right thing" and take smallcaps and spaced words/chars into account.
git-svn-id: svn://10.0.0.236/trunk@23979 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:38:16 +00:00
matt%netscape.com
5b84a7c059 Adding refresh function to refresh urlbar
for bug3548


git-svn-id: svn://10.0.0.236/trunk@23978 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:37:08 +00:00
beard%netscape.com
3d7d70e2c1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@23977 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:35:17 +00:00
warren%netscape.com
5da91ed33c Changed background colors to be standard messenger.
git-svn-id: svn://10.0.0.236/trunk@23976 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:29:44 +00:00
warren%netscape.com
cc89d8e394 Changed GetEnabledCommands to GetAllCommands/IsCommandEnabled.
git-svn-id: svn://10.0.0.236/trunk@23975 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:28:34 +00:00
endico%mozilla.org
e88bd6b01c Removing the mailnews tree. The mail code is in seamonkey already so the tree is redundant.
git-svn-id: svn://10.0.0.236/trunk@23974 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:10:39 +00:00
slamm%netscape.com
22b62bde01 Add animated gif version of throbber.
git-svn-id: svn://10.0.0.236/trunk@23973 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:03:26 +00:00
morse%netscape.com
77bd512e6f fix bug 1729
git-svn-id: svn://10.0.0.236/trunk@23972 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 20:53:01 +00:00
ducarroz%netscape.com
b0facc5ae6 Add GetMessageHeader Interface (written by jefft)
git-svn-id: svn://10.0.0.236/trunk@23971 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 20:41:43 +00:00
ducarroz%netscape.com
008becef89 Add ReplyMessage, ForwardMessage and SendMessage2 interface
git-svn-id: svn://10.0.0.236/trunk@23970 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 20:39:16 +00:00
ducarroz%netscape.com
3901089d0a implement Message Forward and Reply
git-svn-id: svn://10.0.0.236/trunk@23969 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 20:36:53 +00:00
bienvenu%netscape.com
310430bb3c add mork to makefiles
git-svn-id: svn://10.0.0.236/trunk@23968 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 20:31:57 +00:00
bienvenu%netscape.com
3f91b7a6cb turn on file stuff for Unix
git-svn-id: svn://10.0.0.236/trunk@23967 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 20:20:54 +00:00
bienvenu%netscape.com
26d5ef10a8 mork landing
git-svn-id: svn://10.0.0.236/trunk@23966 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 20:16:40 +00:00
bienvenu%netscape.com
781f4a7ec1 add error check that we can actually get the hdr from the db
git-svn-id: svn://10.0.0.236/trunk@23965 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 20:16:23 +00:00
bienvenu%netscape.com
b3213aed32 mork landing, fix delete of local mail messages
git-svn-id: svn://10.0.0.236/trunk@23964 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 20:12:41 +00:00
alecf%netscape.com
92b909c348 now link libnntp directly into base, so we can do dogfood
git-svn-id: svn://10.0.0.236/trunk@23963 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 20:05:16 +00:00
bienvenu%netscape.com
17e06b0b25 initialize offset before asking for it
git-svn-id: svn://10.0.0.236/trunk@23962 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:57:56 +00:00
bienvenu%netscape.com
d5a9fd297a fix buffer size overstatement, add assertions for various failures
git-svn-id: svn://10.0.0.236/trunk@23961 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:54:26 +00:00
dp%netscape.com
963e08ef2a Descriptor Leak fixed. Thanks to bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@23960 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:49:31 +00:00
briano%netscape.com
1062c18c50 Automated update
git-svn-id: svn://10.0.0.236/trunk@23959 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:45:45 +00:00
ebina%netscape.com
653d886923 Fix bug #773
Apply patch to not infinite loop if Chunking in STRIP_CRLF
state, and no LF is provided.


git-svn-id: svn://10.0.0.236/trunk@23958 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:45:24 +00:00
alecf%netscape.com
79baed5053 only use these rules if the libIDL is available (and thus XPIDL is available)
git-svn-id: svn://10.0.0.236/trunk@23957 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:35:40 +00:00
alecf%netscape.com
0081c7c702 ignore generated files
git-svn-id: svn://10.0.0.236/trunk@23956 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:34:47 +00:00
alecf%netscape.com
4978342613 use BUILD_IDLC to refer to the DOM idl compiler
git-svn-id: svn://10.0.0.236/trunk@23955 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:34:25 +00:00
alecf%netscape.com
e139fc1c63 start using BUILD_XPIDL to build XPIDL
git-svn-id: svn://10.0.0.236/trunk@23954 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:28:09 +00:00
ebina%netscape.com
121de6f1db Fix bug #2808
Add explicit text/html and text/xml to the accepts header.  Move PNG
to the from of the list of accepted image formats.


git-svn-id: svn://10.0.0.236/trunk@23953 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:16:01 +00:00
bienvenu%netscape.com
7f77b5715c fix character after line continuation character problem
git-svn-id: svn://10.0.0.236/trunk@23952 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 19:12:37 +00:00
alecf%netscape.com
1089cc78f7 uppercase filename for Unix
git-svn-id: svn://10.0.0.236/trunk@23951 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 18:50:31 +00:00
bienvenu%netscape.com
554ebeecf3 start adding mork to linux build
git-svn-id: svn://10.0.0.236/trunk@23950 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 18:16:34 +00:00
ducarroz%netscape.com
5493a75b12 change root path preference name
git-svn-id: svn://10.0.0.236/trunk@23948 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 17:17:10 +00:00
ducarroz%netscape.com
c48085c109 change prefs properties name to be compatible with Nova's prefs as much as possible. Add pref for reply to.
git-svn-id: svn://10.0.0.236/trunk@23947 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 17:16:06 +00:00
kostello%netscape.com
5d9eb5bd73 Force Redraw on Enter: this is a workaround for bug#3356 & bug#3639
git-svn-id: svn://10.0.0.236/trunk@23946 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 15:40:29 +00:00
ftang%netscape.com
a7e0437a49 add meta tag reload hack. reviewed by rickg
git-svn-id: svn://10.0.0.236/trunk@23945 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 14:31:20 +00:00
edwin%woudt.nl
bd55b34cd0 Patches from Mauro Botelho
git-svn-id: svn://10.0.0.236/trunk@23944 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 14:22:59 +00:00
putterman%netscape.com
f7a08a5c4b Load Message
git-svn-id: svn://10.0.0.236/trunk@23943 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 13:18:14 +00:00
putterman%netscape.com
f08fa8d0a9 removed release of nsmsghdr until we decouple from rdf.
git-svn-id: svn://10.0.0.236/trunk@23942 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 13:17:45 +00:00
putterman%netscape.com
de4b563b52 Moved parse url utility
git-svn-id: svn://10.0.0.236/trunk@23941 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 13:17:21 +00:00
putterman%netscape.com
3a9a14da2b Can either load a demo message or a real message.
git-svn-id: svn://10.0.0.236/trunk@23940 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 13:16:51 +00:00
putterman%netscape.com
62f84045eb link with msgdb and rdfutil.
git-svn-id: svn://10.0.0.236/trunk@23939 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 13:14:57 +00:00
putterman%netscape.com
1be401d4ec Date displays correctly.
git-svn-id: svn://10.0.0.236/trunk@23938 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 13:14:33 +00:00
putterman%netscape.com
04c9f37ca6 comment out NS_ERROR in remove
git-svn-id: svn://10.0.0.236/trunk@23937 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 13:13:58 +00:00
ramiro%netscape.com
db0ca36e35 Make it possible to prefix mozilla dlls that conflict with system dlls.
git-svn-id: svn://10.0.0.236/trunk@23935 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 12:43:04 +00:00
briano%netscape.com
402809f631 Automated update
git-svn-id: svn://10.0.0.236/trunk@23934 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 11:45:42 +00:00
ramiro%netscape.com
6814bf46c6 Take out exception tests, it breaks --enable-tests.
git-svn-id: svn://10.0.0.236/trunk@23933 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 11:42:10 +00:00
ramiro%netscape.com
e5da645884 unbreak it on linux.
git-svn-id: svn://10.0.0.236/trunk@23932 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 11:29:43 +00:00
ramiro%netscape.com
d51ceea808 Dont build broken rdfsink tests, breaks --enable-tests.
git-svn-id: svn://10.0.0.236/trunk@23931 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 11:27:57 +00:00
dp%netscape.com
9356d42ebe Using nsHashtable and nsProgIDKey for dll hashing
git-svn-id: svn://10.0.0.236/trunk@23930 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 11:25:17 +00:00
dp%netscape.com
2d294e429d using nsHashtable for dllStore.
git-svn-id: svn://10.0.0.236/trunk@23929 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 11:23:49 +00:00
waterson%netscape.com
1947b09302 More nsCOMPtr bustage. !@$!%!@ Mac.
git-svn-id: svn://10.0.0.236/trunk@23928 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 10:29:11 +00:00
waterson%netscape.com
f59164d74d Fixed nsCOMPtr bustage on Mac.
git-svn-id: svn://10.0.0.236/trunk@23927 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 10:24:42 +00:00
waterson%netscape.com
0481c9b28f Added note on making fns virtual.
git-svn-id: svn://10.0.0.236/trunk@23926 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 10:09:51 +00:00
waterson%netscape.com
e98eb1a012 Added precondition checks to DOM observer APIs.
git-svn-id: svn://10.0.0.236/trunk@23925 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 10:09:26 +00:00
waterson%netscape.com
e2f8b6b96e Fixed bug with ambiguity that may occur in calls to RDFTreeBuilderImpl::RemoveWidgetItem(); implemented OnRemoveChild() DOM observer.
git-svn-id: svn://10.0.0.236/trunk@23924 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 10:09:07 +00:00
rjc%netscape.com
bf2745b51c Damn tabs/spaces.
git-svn-id: svn://10.0.0.236/trunk@23923 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 09:21:04 +00:00
mcafee%netscape.com
72ea9e5ee5 Removing a printf()
git-svn-id: svn://10.0.0.236/trunk@23922 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 09:19:28 +00:00
rjc%netscape.com
9f76dfecf8 Move folder-open.gif and folder-closed.gif into dist area.
git-svn-id: svn://10.0.0.236/trunk@23921 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 09:00:58 +00:00
dp%netscape.com
943c88fd8d Forcing XPCOM registry recreation
git-svn-id: svn://10.0.0.236/trunk@23920 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:53:45 +00:00
dp%netscape.com
189340f83f PC: Disabling autoregistration at initialization. It will be done by the app.
git-svn-id: svn://10.0.0.236/trunk@23919 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:52:56 +00:00
dp%netscape.com
a926c59c99 PC: Enabling autoregistration from the app
git-svn-id: svn://10.0.0.236/trunk@23918 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:51:37 +00:00
rjc%netscape.com
d57c9702e3 The file system datasource now sets a type='FileSystemObject' attribute on file system nodes.
git-svn-id: svn://10.0.0.236/trunk@23917 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:50:36 +00:00
rjc%netscape.com
981dc68d02 Only set container='true' when something is really a container.
git-svn-id: svn://10.0.0.236/trunk@23916 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:49:26 +00:00
rjc%netscape.com
d6d3579139 Add icons for type=FileSystemObject
git-svn-id: svn://10.0.0.236/trunk@23915 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:48:21 +00:00
rjc%netscape.com
839c3ab6f5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@23914 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:38:21 +00:00
waterson%netscape.com
e1aa99a9a8 Renamed IsWidgetProperty() to IsContainmentProperty(), added RemoveWidgetItem() call and hooked it up in the generic builder.
git-svn-id: svn://10.0.0.236/trunk@23913 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:13:14 +00:00
waterson%netscape.com
5728cb2dcf Fixed bug where button created without 'src=' would crash when 'src=' was set.
git-svn-id: svn://10.0.0.236/trunk@23912 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:11:54 +00:00
rpotts%netscape.com
80e70e30ec Removed the Change Icons menu item... Removed the call to BrowserPrintPreview() from the Print Preview menu item. Currently, the BrowserPrintPreview() function does not do what you expect - it tries to change the toolbar icons and crashes
git-svn-id: svn://10.0.0.236/trunk@23911 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:03:02 +00:00
putterman%netscape.com
45203890af Fix some idl changes.
git-svn-id: svn://10.0.0.236/trunk@23910 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:02:35 +00:00
putterman%netscape.com
af42b15942 Specify folder with two '/'.
git-svn-id: svn://10.0.0.236/trunk@23909 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 07:59:03 +00:00
putterman%netscape.com
1d8fc9a6e8 Remove another release because of RDF nsMsgHdr problems. Will fix after we
decouple nsMsghdr and nsIMessage.


git-svn-id: svn://10.0.0.236/trunk@23908 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 07:58:20 +00:00
putterman%netscape.com
25069479e9 Add and Remove folderListeners, and hook up DeleteMessage between datasource
and database.


git-svn-id: svn://10.0.0.236/trunk@23907 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 07:57:26 +00:00
putterman%netscape.com
1a7ee5eddc Added a parameter to CreateMsgHdr to determine if we use GetMessageKey while
creating URI.


git-svn-id: svn://10.0.0.236/trunk@23906 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 07:56:24 +00:00
putterman%netscape.com
f76992bc38 Add and Remove FolderListeners.
git-svn-id: svn://10.0.0.236/trunk@23905 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 07:55:26 +00:00
putterman%netscape.com
ce0a8ed2f8 Add and Remove Folder Listeners.
git-svn-id: svn://10.0.0.236/trunk@23904 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 07:54:48 +00:00
waterson%netscape.com
0d344fe048 Ripped out the 'toy' parser and installed an updated version of the parser from 4.5.
git-svn-id: svn://10.0.0.236/trunk@23903 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 07:46:42 +00:00
bienvenu%netscape.com
aba5cf4b18 initial mork landing - not part of build yet
git-svn-id: svn://10.0.0.236/trunk@23902 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 07:39:27 +00:00
kostello%netscape.com
b53c0edb3c Fixed bug 3651: for OutputText, we were not outputting
linebreaks whenever we encounter <BR> in the content
model.


git-svn-id: svn://10.0.0.236/trunk@23901 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 06:51:34 +00:00
kostello%netscape.com
32ae1e3029 Fixed bug 3664: not checking for null condition
git-svn-id: svn://10.0.0.236/trunk@23900 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 06:50:41 +00:00
mccabe%netscape.com
d7ffc955ca Not part of seamonkey.
Removed awkward nsXPTParamInfo::GetInterface and friend, and als removed supporting nsXPTParamInfo.cpp file.  Replace by nsIInterfaceInfo::GetInfoForParam and friend.

Made the constructor for nsInterfaceInfo private, with nsInterfaceInfoManager as a friend class.


git-svn-id: svn://10.0.0.236/trunk@23899 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 06:49:01 +00:00
mcafee%netscape.com
50d6478a9c Solaris needs prototypes for PR_Free, PR_smprintf.
git-svn-id: svn://10.0.0.236/trunk@23898 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 06:42:37 +00:00
mscott%netscape.com
c550297965 add printf statement for "Mailbox Done" to allow QA to script a smoketest for the mail client.
git-svn-id: svn://10.0.0.236/trunk@23897 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 06:24:34 +00:00
karnaze%netscape.com
df217ace86 hopefully a fix for the mac build
git-svn-id: svn://10.0.0.236/trunk@23896 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 06:12:03 +00:00
karnaze%netscape.com
1a9cdab67c bug 3628, scrolling=yes on <frame>, <iframe>
git-svn-id: svn://10.0.0.236/trunk@23895 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:36:35 +00:00
mscott%netscape.com
b6eb6d4598 Add a return value at the end of GetSmtpName to fix build breakage on windows. I don't know why VC6.0 let it go....
git-svn-id: svn://10.0.0.236/trunk@23894 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:33:00 +00:00
sfraser%netscape.com
1c80fd42e0 Throw the switch so we now pay attention to the charCode in the key event.
git-svn-id: svn://10.0.0.236/trunk@23893 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:28:22 +00:00
hyatt%netscape.com
a8ddba3660 Changing the name of the include tag.
git-svn-id: svn://10.0.0.236/trunk@23892 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:22:19 +00:00
hyatt%netscape.com
c62b139bf2 XUL fragments live!
git-svn-id: svn://10.0.0.236/trunk@23891 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:21:25 +00:00
hyatt%netscape.com
d132d95a8f Tweaked the content sink to remove an unused argument from the Init method.
git-svn-id: svn://10.0.0.236/trunk@23890 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:21:01 +00:00
hyatt%netscape.com
2e291cefc4 Enhanced the document loader to handle subdocuments.
git-svn-id: svn://10.0.0.236/trunk@23889 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:20:29 +00:00
hyatt%netscape.com
2a48f5090b Enhanced the document loader so that it can now handle subdocuments, thus
enabling it to load multiple documents at once and to support the integration
of a subdocument into the parent document.


git-svn-id: svn://10.0.0.236/trunk@23888 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:20:14 +00:00
rjc%netscape.com
226685e45f Use appropriate icon for actual bookmark URLs.
git-svn-id: svn://10.0.0.236/trunk@23887 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:01:41 +00:00
waterson%netscape.com
a1e15dd39c Fix more tab-spaces makefile bustage.
git-svn-id: svn://10.0.0.236/trunk@23886 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 05:00:13 +00:00
beard%netscape.com
dd2226b969 using nsITimer::GetIID() instead of kITimerIID
git-svn-id: svn://10.0.0.236/trunk@23885 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:48:48 +00:00
beard%netscape.com
598d135826 took out initialization check in InitLiveConnectClasses
git-svn-id: svn://10.0.0.236/trunk@23884 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:48:28 +00:00
beard%netscape.com
e4c35278ba massive overhaul for new stream APIs.
git-svn-id: svn://10.0.0.236/trunk@23883 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:48:04 +00:00
beard%netscape.com
04acba3cf8 added NS_DEFINE_STATIC_IID_ACCESSOR.
git-svn-id: svn://10.0.0.236/trunk@23882 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:46:43 +00:00
waterson%netscape.com
c0fd696b5d Added an #ifdef XP_UNIX implementation of _strrev() to fix the
build. No clue if it works.


git-svn-id: svn://10.0.0.236/trunk@23881 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:41:50 +00:00
beard%netscape.com
5176ae5079 NS_NATIVE_PLUGIN_PORT
git-svn-id: svn://10.0.0.236/trunk@23880 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:33:29 +00:00
pinkerton%netscape.com
63b1cd1062 Fixes bug #3532 where incremental reflow was not being correctly handled. Also no longer re-resolves the style context at each reflow, but only once on inital reflow.
git-svn-id: svn://10.0.0.236/trunk@23879 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:33:24 +00:00
rjc%netscape.com
105565a73e Removing old personal toolbar folder icons which are too long (>31 characters) due to Mac. They've been replaced by icon files with shorter names.
git-svn-id: svn://10.0.0.236/trunk@23878 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:31:21 +00:00
beard%netscape.com
c77610eb5c Fixed some unitialized variables
git-svn-id: svn://10.0.0.236/trunk@23877 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:31:13 +00:00
beard%netscape.com
d170b2f876 added AddEventListener
git-svn-id: svn://10.0.0.236/trunk@23876 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:30:30 +00:00
beard%netscape.com
5c6e5f4422 now reference counts all listeners
git-svn-id: svn://10.0.0.236/trunk@23875 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:29:48 +00:00
rjc%netscape.com
d1979f0a6c Reducing length of personal toolbar folder icons to be no more than 31 characters as its a Mac limit.
git-svn-id: svn://10.0.0.236/trunk@23874 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:29:41 +00:00
beard%netscape.com
50a74966ea now subclasses nsISupports
git-svn-id: svn://10.0.0.236/trunk@23873 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:29:19 +00:00
rjc%netscape.com
881f75b58e Icon filenames can't be longer than 31 characters (its a Mac limit) so shortening references to the personal toolbar folder icons. Also, adding in icon references to sidebar.xul
git-svn-id: svn://10.0.0.236/trunk@23872 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:19:43 +00:00
mscott%netscape.com
663e68d936 Build nsPop3Service.cpp
git-svn-id: svn://10.0.0.236/trunk@23871 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:19:12 +00:00
mscott%netscape.com
ea98214b55 Export nsIPop3Service.h
git-svn-id: svn://10.0.0.236/trunk@23870 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:18:34 +00:00
mscott%netscape.com
50aa8f26b5 Implement get new mail.
git-svn-id: svn://10.0.0.236/trunk@23869 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:15:13 +00:00
mscott%netscape.com
78e9bb7fab MsgGetNewMsg should call the get new mail function.
git-svn-id: svn://10.0.0.236/trunk@23868 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:14:28 +00:00
mscott%netscape.com
0c84ca104b Changes for naoki to implement set character set function.
git-svn-id: svn://10.0.0.236/trunk@23867 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:13:53 +00:00
mscott%netscape.com
36488fe0ba Changes for naoki to fill in the character set encoding menu.
git-svn-id: svn://10.0.0.236/trunk@23866 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:13:11 +00:00
mscott%netscape.com
197aa0528d Changes for Naoki to implement set character set menu stuff.
Implement GetNewMsgs function which runs a get new mail url through the pop3 service.


git-svn-id: svn://10.0.0.236/trunk@23865 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:12:36 +00:00
mscott%netscape.com
e2f3bd930e oops don't build pop3test until I'm ready for it to work again...
git-svn-id: svn://10.0.0.236/trunk@23864 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:10:59 +00:00
mscott%netscape.com
3c4779614a pop3 test no longer needs to create a transport. Go through the pop3 service for running a get new mail url....
git-svn-id: svn://10.0.0.236/trunk@23863 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:09:39 +00:00
mscott%netscape.com
9bdec6edc6 factory can now create a pop3 service...
git-svn-id: svn://10.0.0.236/trunk@23862 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:07:52 +00:00
mscott%netscape.com
7d5546829d Build nsPop3Service.
git-svn-id: svn://10.0.0.236/trunk@23861 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:06:09 +00:00
mscott%netscape.com
af6a3f985d Creating a pop3 protocol should not require a transport. We should do it ourselves. LoadUrL should take a consumer.
git-svn-id: svn://10.0.0.236/trunk@23860 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:05:40 +00:00
rjc%netscape.com
e8b44fc4ee Need to shorten image filenames to 31 or less characters. Its a Mac file limit.
git-svn-id: svn://10.0.0.236/trunk@23859 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:05:23 +00:00
mscott%netscape.com
79b39b0714 updates to use nsIMsgMailNewsUrl to pick up url listener stuff. define a default Pop3 port...
git-svn-id: svn://10.0.0.236/trunk@23858 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:04:40 +00:00
mscott%netscape.com
5f517473b7 Update the interface so it supports the nsIMsgMailNews interface...
git-svn-id: svn://10.0.0.236/trunk@23857 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:02:53 +00:00
mscott%netscape.com
4565c68f77 We no longer need to create the transport for the smtp protocol. Use smtpName as sender's name.
git-svn-id: svn://10.0.0.236/trunk@23856 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:57:59 +00:00
waterson%netscape.com
28605e89fb Fix Unix build bustage.
git-svn-id: svn://10.0.0.236/trunk@23855 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:57:16 +00:00
mscott%netscape.com
6f42922563 Updates to smtp protocol. We should not require the caller to create the transport at construction time. the protocol should do this itself.
git-svn-id: svn://10.0.0.236/trunk@23854 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:57:13 +00:00
beard%netscape.com
7eba319f1f commented out NEW_PLUGIN_STREAM_API
git-svn-id: svn://10.0.0.236/trunk@23853 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:56:02 +00:00
mscott%netscape.com
41b91ea697 use default smtp port to initialize m_port.
git-svn-id: svn://10.0.0.236/trunk@23852 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:55:46 +00:00
beard%netscape.com
ed188a97ca removed NEW_PLUGIN_STREAM_API #ifdefs, conformed to latest nsIPluginStreamListener interface.
git-svn-id: svn://10.0.0.236/trunk@23851 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:55:42 +00:00
beard%netscape.com
4e4dbfcd3c Added a 4.x target.
git-svn-id: svn://10.0.0.236/trunk@23850 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:55:26 +00:00
mscott%netscape.com
bc3a57ba68 define default SMTP port...
git-svn-id: svn://10.0.0.236/trunk@23849 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:54:59 +00:00
beard%netscape.com
9912c80b57 changed how visibility is computed with nsPluginPort.
git-svn-id: svn://10.0.0.236/trunk@23848 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:54:23 +00:00
mscott%netscape.com
47b36d89c8 Distinguish between pop and smtp user name. Remove old user_name field which has these new, more specific fields instead.
git-svn-id: svn://10.0.0.236/trunk@23847 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:54:13 +00:00
mscott%netscape.com
8ea5ffa415 a service to make running pop3 urls easier for the mail client.
git-svn-id: svn://10.0.0.236/trunk@23846 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:51:35 +00:00
mscott%netscape.com
a43c810e98 Export nsIPop3Service.h
git-svn-id: svn://10.0.0.236/trunk@23845 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:50:48 +00:00
mscott%netscape.com
bb94c546c7 Pop3 service for dealing with pop3 urls...
git-svn-id: svn://10.0.0.236/trunk@23844 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:50:20 +00:00
rjc%netscape.com
8713a65eb3 Make history datasource work on Mac and Unix, not just Windows. Now using nsFileSpec and removed all Std C FILE code in favor of streams.
git-svn-id: svn://10.0.0.236/trunk@23843 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:42:43 +00:00
rhp%netscape.com
5160205498 Finding content type handler plugins on UNIX
git-svn-id: svn://10.0.0.236/trunk@23842 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:40:28 +00:00
rhp%netscape.com
4d25652ec3 More makefile changes for components
git-svn-id: svn://10.0.0.236/trunk@23841 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:35:09 +00:00
rhp%netscape.com
dd67e1fe64 Change to make it a component
git-svn-id: svn://10.0.0.236/trunk@23840 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:24:00 +00:00
rhp%netscape.com
c6bc7aa463 Added the installation of CSS and JS files.
git-svn-id: svn://10.0.0.236/trunk@23839 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:17:45 +00:00
ducarroz%netscape.com
414f9038e7 export composeBody.html
git-svn-id: svn://10.0.0.236/trunk@23838 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 03:03:23 +00:00
briano%netscape.com
c12e8e5eb1 Made it acceptable to QNX's shell.
git-svn-id: svn://10.0.0.236/trunk@23837 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 02:55:24 +00:00
buster%netscape.com
b6be8ea31d deleting the last editable object in a document now causes a bogus placeholder <P>&nbsp;</P> to be added to the document. This node has the
attribute MOZ_EDITOR_BOGUS_NODE set to TRUE.  this solves the problem of when you do a SelectAll then a DEL, you don't have a cursor
or any way to set selection in the document. You do still have the problem that the nbsp is pretty narrow and the frame containing it is hard to hit
with the mouse.  We really need the "set selection to frame nearest the mouse down point" operation.

the intent is for all inserts to look for this node, and if found delete it before the insert.  likewise, all deletes will be no-ops if this node is found.


git-svn-id: svn://10.0.0.236/trunk@23836 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 02:28:24 +00:00
buster%netscape.com
3475d199f3 fixed a small bug. mRefNode may be nsnull.
git-svn-id: svn://10.0.0.236/trunk@23835 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 02:27:48 +00:00
sar%netscape.com
7b417ab826 make it possible to turn mailnews off by setting DISABLE_MAILNEWS
git-svn-id: svn://10.0.0.236/trunk@23834 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 02:27:29 +00:00
mcafee%netscape.com
eefc28a949 Removing printf
git-svn-id: svn://10.0.0.236/trunk@23833 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 02:25:00 +00:00
mcafee%netscape.com
18e50b9e0b Adding triple-click support; map double-click events to NS_MOUSE_LEFT_DOUBLECLICK, etc. (3595)
git-svn-id: svn://10.0.0.236/trunk@23832 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 02:23:44 +00:00
warren%netscape.com
5bbb6913cd Put back in call to NS_NewUnionEnumerator -- resolved link problem.
git-svn-id: svn://10.0.0.236/trunk@23831 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 02:10:03 +00:00
mjudge%netscape.com
e4c09191d6 reverting fix :(
git-svn-id: svn://10.0.0.236/trunk@23830 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:49:12 +00:00
alecf%netscape.com
2e1d72fa5a nsNetFile wasn't building on unix...
git-svn-id: svn://10.0.0.236/trunk@23829 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:44:02 +00:00
alecf%netscape.com
df9d34d3cd don't build old-sk00l mail/news protocols
git-svn-id: svn://10.0.0.236/trunk@23828 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:42:52 +00:00
mjudge%netscape.com
f49ed08720 backing out fix
git-svn-id: svn://10.0.0.236/trunk@23827 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:35:13 +00:00
mjudge%netscape.com
c9c3a38a91 backing out fix. i hate this
git-svn-id: svn://10.0.0.236/trunk@23826 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:34:44 +00:00
mjudge%netscape.com
56ac18a720 fixing libs phase to make the windows lib to be used by \widget
git-svn-id: svn://10.0.0.236/trunk@23825 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:29:31 +00:00
mjudge%netscape.com
f73de66a02 changing the build system to export the "lib" on the libs phase not wait for install
git-svn-id: svn://10.0.0.236/trunk@23824 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:28:52 +00:00
ducarroz%netscape.com
1f8a8ccb14 Fix transparency color problem
git-svn-id: svn://10.0.0.236/trunk@23823 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:27:54 +00:00
waterson%netscape.com
b2a49aab76 s/rdfb/rdf
git-svn-id: svn://10.0.0.236/trunk@23822 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:25:30 +00:00
waterson%netscape.com
6c48f04c6d Added rules for personal toolbar GIFs.
git-svn-id: svn://10.0.0.236/trunk@23821 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:23:00 +00:00
rhp%netscape.com
07fa937efc Changes for linux build.
git-svn-id: svn://10.0.0.236/trunk@23820 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:22:30 +00:00
waterson%netscape.com
a7fe911af7 Added rules for personal toolbar folder GIFs.
git-svn-id: svn://10.0.0.236/trunk@23819 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:21:40 +00:00
waterson%netscape.com
7017b2656c Added icons and style rules for the personal toolbar folder.
git-svn-id: svn://10.0.0.236/trunk@23818 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:21:20 +00:00
sdagley%netscape.com
f1888f3f4e Fixing the Mac build bustage by calling the get() accessor for comparison
git-svn-id: svn://10.0.0.236/trunk@23817 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:16:08 +00:00
ftang%netscape.com
8a18f3ae43 Add atsui work for non ASCII text. Reviewed and approved by pierre. Need more work to convert more text into MacRoman.
git-svn-id: svn://10.0.0.236/trunk@23816 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:15:52 +00:00
ducarroz%netscape.com
56b6d9487a Part of integration of preference into compose
git-svn-id: svn://10.0.0.236/trunk@23815 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:10:43 +00:00
ducarroz%netscape.com
8a51948c91 Add pref for user real name, organization and user email address
git-svn-id: svn://10.0.0.236/trunk@23814 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:09:48 +00:00
warren%netscape.com
c557e9d038 Added menu item to bring up messenger.
git-svn-id: svn://10.0.0.236/trunk@23813 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:08:17 +00:00
ducarroz%netscape.com
af0e1f977b Part of the intregration of preferences into compose
git-svn-id: svn://10.0.0.236/trunk@23812 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:07:30 +00:00
despotdaemon%netscape.com
64a0e1d8a7 Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@23811 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:04:08 +00:00
mjudge%netscape.com
2531ba7a64 need to swap positions for mac. need to put COMPtr on right side of ==
git-svn-id: svn://10.0.0.236/trunk@23810 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:02:34 +00:00
despotdaemon%netscape.com
7dc69c50e5 Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@23809 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:49:00 +00:00
ducarroz%netscape.com
c4c91237ac Initial checkin, part of integration of preference into compose
git-svn-id: svn://10.0.0.236/trunk@23808 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:47:09 +00:00
waterson%netscape.com
0881f4d92b Fixed spaces in Makefile.in.
git-svn-id: svn://10.0.0.236/trunk@23807 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:31:40 +00:00
briano%netscape.com
a8c4a6f357 Now static builds can find the static libraries they need.
git-svn-id: svn://10.0.0.236/trunk@23806 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:30:52 +00:00
rods%netscape.com
17a3db4b61 removed D&D define
git-svn-id: svn://10.0.0.236/trunk@23805 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:24:36 +00:00
akkana%netscape.com
5fccac2f05 nsConvertKey should only set the key code to zero if the key is one
of the special keys.
Also, handle_key_press/release_event shouldn't pass events for shift,
control, and alt keys -- other platforms don't treat those as key events,
so the XP code isn't prepared to handle them.
This fixes typing of punctuation marks in the editor.


git-svn-id: svn://10.0.0.236/trunk@23804 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:23:11 +00:00
rods%netscape.com
28fc42d142 Fixed up some of the drag & drop codce
Added the filling in of the charCode  field in nsKeyEvent


git-svn-id: svn://10.0.0.236/trunk@23803 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:21:11 +00:00
mjudge%netscape.com
5876940d2e fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins
git-svn-id: svn://10.0.0.236/trunk@23802 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:17:14 +00:00
dp%netscape.com
5915fbf7df Unix: Autoregistration disabled at initialization. This should be done by app.
git-svn-id: svn://10.0.0.236/trunk@23801 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:05:54 +00:00
dp%netscape.com
dd245a35ba Autoregistration at startup on unix from the app
git-svn-id: svn://10.0.0.236/trunk@23800 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:04:39 +00:00
cyeh%netscape.com
5f2bfbd29b re-enabling this directory. if the tree breaks again, i'll yank it again, but i have built and clobber_alled and i still can't reproduce the problem.
git-svn-id: svn://10.0.0.236/trunk@23799 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:04:23 +00:00
bienvenu%netscape.com
e8b07e2650 fix off by 1 error in buffer growing code
git-svn-id: svn://10.0.0.236/trunk@23798 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:01:37 +00:00
mjudge%netscape.com
a1cd7388b4 fixed copy paste issue on windows, linking wrong.lib file
git-svn-id: svn://10.0.0.236/trunk@23797 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:01:24 +00:00
waterson%netscape.com
3bf2c5323c Added rules to export bookmark images.
git-svn-id: svn://10.0.0.236/trunk@23796 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:01:22 +00:00
waterson%netscape.com
25b9b109d0 Use xul:titledbutton instead of xul:treeicon for now.
git-svn-id: svn://10.0.0.236/trunk@23795 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 23:59:26 +00:00
waterson%netscape.com
6b3c9f5d2c Added bookmark images and style rules to apply them.
git-svn-id: svn://10.0.0.236/trunk@23794 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 23:58:51 +00:00
sfraser%netscape.com
98f3ad251b Added EditorInitPagePlain.html, for plain text testing.
Changed editor XUL file to load this.


git-svn-id: svn://10.0.0.236/trunk@23793 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 23:31:58 +00:00
morse%netscape.com
706d1518bf added include for wallet
git-svn-id: svn://10.0.0.236/trunk@23792 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 23:30:49 +00:00
sfraser%netscape.com
095d0e1915 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@23791 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 23:30:44 +00:00
briano%netscape.com
c6519177cb Automated update
git-svn-id: svn://10.0.0.236/trunk@23790 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 23:30:41 +00:00
michaelp%netscape.com
0264b208cc added Sample 13
git-svn-id: svn://10.0.0.236/trunk@23789 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 23:22:46 +00:00
sfraser%netscape.com
5eece8ae5d Fix a crash if a xul file specifies a non-existent start page (NS_ADDREF changed to NS_IF_ADDREF).
git-svn-id: svn://10.0.0.236/trunk@23788 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 23:17:29 +00:00
briano%netscape.com
bc9f831df4 Fix for the NetBSD build breakage (hopefully).
git-svn-id: svn://10.0.0.236/trunk@23787 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 23:16:49 +00:00
alecf%netscape.com
d5ce998bd6 purify fixes from bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@23786 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:58:25 +00:00
cyeh%netscape.com
0aa49cad32 i have no idea why clobber_all isn't working in this directory. instead
of letting the tree burn forever, i am removing from mainline build until
i can reproduce this problem on my machine


git-svn-id: svn://10.0.0.236/trunk@23785 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:55:08 +00:00
alecf%netscape.com
9207ac4292 purify fix from bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@23784 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:53:02 +00:00
amusil%netscape.com
d2ecbb2bef Minor API change. Added support for tags that don't specify SRC or DATA params.
git-svn-id: svn://10.0.0.236/trunk@23783 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:50:58 +00:00
amusil%netscape.com
f6cd375f7c Added some mimetypes. Fixed bugs.
git-svn-id: svn://10.0.0.236/trunk@23782 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:49:51 +00:00
amusil%netscape.com
417ae85db0 Redesigned plugin cache code for StreamAsFile operations. Removed NEW_PLUGIN_STREAM_API ifdefs.
git-svn-id: svn://10.0.0.236/trunk@23781 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:48:58 +00:00
terry%netscape.com
afe8ed25d5 Added new pages to edit existing components.
git-svn-id: svn://10.0.0.236/trunk@23780 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:48:42 +00:00
alecf%netscape.com
fce2803e63 update this interface, rename CreateAndInit->CreateAndInitialize
git-svn-id: svn://10.0.0.236/trunk@23779 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:46:56 +00:00
hyatt%netscape.com
918a6347c9 Adding GetIID methods to the content viewer and document loader.
git-svn-id: svn://10.0.0.236/trunk@23778 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:38:38 +00:00
cata%netscape.com
cae09c94bf EUCJP encoder test
git-svn-id: svn://10.0.0.236/trunk@23777 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:37:53 +00:00
cata%netscape.com
f48fb5e6f6 EUCJP encoder
git-svn-id: svn://10.0.0.236/trunk@23776 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:37:27 +00:00
cata%netscape.com
75944f01ac Multi table support added.
git-svn-id: svn://10.0.0.236/trunk@23775 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:36:40 +00:00
hyatt%netscape.com
22d212af2a Adding the GetIID methods to webshell.
git-svn-id: svn://10.0.0.236/trunk@23774 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:34:13 +00:00
waterson%netscape.com
3558cb747a Fixed build: capitalization error.
git-svn-id: svn://10.0.0.236/trunk@23773 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:32:44 +00:00
michaelp%netscape.com
637d37eb64 fixes for demo #13.
git-svn-id: svn://10.0.0.236/trunk@23772 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:27:00 +00:00
waterson%netscape.com
0159a35dfc Bug 3213. Removed obsolete files to keep the tree clean.
git-svn-id: svn://10.0.0.236/trunk@23771 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:26:08 +00:00
alecf%netscape.com
0908df47c4 remove bogus call for now
git-svn-id: svn://10.0.0.236/trunk@23770 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:23:43 +00:00
sfraser%netscape.com
d02e8ad864 Ignore the offset parameter returned from GetScrap.
git-svn-id: svn://10.0.0.236/trunk@23769 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:14:25 +00:00
sfraser%netscape.com
5d32eefd0f Fix the Paste code in various ways.
git-svn-id: svn://10.0.0.236/trunk@23768 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:03:22 +00:00
dp%netscape.com
6a616ea35a Unix: Adding MOZILLA_FIVE_HOME
git-svn-id: svn://10.0.0.236/trunk@23767 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:31:16 +00:00
sfraser%netscape.com
6a3d01cd40 Fix for 3630 -- terminate text and HTML strings returned from the editor.
git-svn-id: svn://10.0.0.236/trunk@23766 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:31:03 +00:00
michaelp%netscape.com
92d0f77a8c made compositor state an enum and macro to trace state transitions
for easier debugging. made offscreen to onscreen blit restricted to the
damage rect. added temporary hack so that new compositor works on linux.


git-svn-id: svn://10.0.0.236/trunk@23765 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:25:25 +00:00
michaelp%netscape.com
83c8853043 added sample #13: dhtml and compositor.
git-svn-id: svn://10.0.0.236/trunk@23764 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:23:28 +00:00
ducarroz%netscape.com
8d008d263b Remove all the delete this that was generating a crash when the send failed for any reason
git-svn-id: svn://10.0.0.236/trunk@23763 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:22:25 +00:00
ducarroz%netscape.com
18f45eb469 Use ender instance of an input field for the body of the message
git-svn-id: svn://10.0.0.236/trunk@23762 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:16:08 +00:00
ducarroz%netscape.com
5bcb1e7229 Initial check in, ender integration
git-svn-id: svn://10.0.0.236/trunk@23761 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:15:23 +00:00
cyeh%netscape.com
e604db3381 bizarre. i don't know how an empty makefile.win got checked into the tree.
git-svn-id: svn://10.0.0.236/trunk@23760 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:13:22 +00:00
alecf%netscape.com
08514ac409 rev this interface - remove unnecessary functions
git-svn-id: svn://10.0.0.236/trunk@23759 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:06:31 +00:00
cata%netscape.com
9adc779545 Fix for GetMaxLength()
git-svn-id: svn://10.0.0.236/trunk@23758 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:05:31 +00:00
alecf%netscape.com
f199bf9a87 rev this interface
git-svn-id: svn://10.0.0.236/trunk@23757 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:05:26 +00:00
alecf%netscape.com
a076346f86 rev this interface: char* -> const char*
git-svn-id: svn://10.0.0.236/trunk@23756 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:04:57 +00:00
cata%netscape.com
7ccb120a1d SJIS encoder added.
git-svn-id: svn://10.0.0.236/trunk@23755 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:04:54 +00:00
cata%netscape.com
3de23b0fb3 SJIS encoder test added.
git-svn-id: svn://10.0.0.236/trunk@23754 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:04:30 +00:00
alecf%netscape.com
b94994dc5d rev this interface - char*->const char*
git-svn-id: svn://10.0.0.236/trunk@23753 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:02:50 +00:00
sar%netscape.com
2336908bf5 add mozilla/extensions to SeaMonkeyBrowser
git-svn-id: svn://10.0.0.236/trunk@23752 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:02:04 +00:00
alecf%netscape.com
1aad69b823 fix up libraries a bit more
git-svn-id: svn://10.0.0.236/trunk@23751 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 21:01:39 +00:00
alecf%netscape.com
1b37c66667 remove unnecessary libraries
git-svn-id: svn://10.0.0.236/trunk@23750 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:56:17 +00:00
cata%netscape.com
f05d1b51f9 Test EUCJP encoder added.
git-svn-id: svn://10.0.0.236/trunk@23749 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:39:50 +00:00
ebina%netscape.com
2ddc35bca2 Bruce Mitchener's memory leak fixes.
git-svn-id: svn://10.0.0.236/trunk@23748 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:39:39 +00:00
cata%netscape.com
5d993fef81 Fix for correct converting.
git-svn-id: svn://10.0.0.236/trunk@23747 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:39:19 +00:00
alecf%netscape.com
5781f583a8 constructors not public confuses unix
git-svn-id: svn://10.0.0.236/trunk@23746 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:38:47 +00:00
cata%netscape.com
e20331ac02 Decoder helper param fixed.
git-svn-id: svn://10.0.0.236/trunk@23745 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:38:39 +00:00
troy%netscape.com
7a6ab354fa Fixed a few places where memory allocated using ToNewCString() was free'd using
PR_Free() instead of delete[]


git-svn-id: svn://10.0.0.236/trunk@23744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:38:28 +00:00
alecf%netscape.com
a55bfa8f8c use MIN not min - unix doesn't have min()
git-svn-id: svn://10.0.0.236/trunk@23743 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:38:19 +00:00
cata%netscape.com
46a552681d Method param fixed.
git-svn-id: svn://10.0.0.236/trunk@23742 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:37:57 +00:00
alecf%netscape.com
a066758d59 install of these files doesn't quite work yet
git-svn-id: svn://10.0.0.236/trunk@23741 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:36:47 +00:00
alecf%netscape.com
fb4d800a68 remove files that don't exist anymore (though this directory isn't even entered any more)
git-svn-id: svn://10.0.0.236/trunk@23740 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:36:18 +00:00
alecf%netscape.com
010d146d47 ignore generated files
git-svn-id: svn://10.0.0.236/trunk@23739 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:35:29 +00:00
troy%netscape.com
710622602d Patch from Bruce Mitchener that fixes incorrect use of delete
operator


git-svn-id: svn://10.0.0.236/trunk@23738 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:32:59 +00:00
alecf%netscape.com
5641548120 this is a component now
git-svn-id: svn://10.0.0.236/trunk@23737 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:29:18 +00:00
troy%netscape.com
efa6744bfd Fixed MapDeclarationInto() so it correctly handles 'min-width', 'max-width',
'min-height', and 'max-height'


git-svn-id: svn://10.0.0.236/trunk@23736 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:29:02 +00:00
troy%netscape.com
25220f507f Patch from Bruce Mitchener that fixes an incorrect use of delete
git-svn-id: svn://10.0.0.236/trunk@23735 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:27:54 +00:00
alecf%netscape.com
b9b10f3081 add libraries to link this library against
git-svn-id: svn://10.0.0.236/trunk@23734 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:27:14 +00:00
ducarroz%netscape.com
1c1027b70f Extend messenger patch to composer
git-svn-id: svn://10.0.0.236/trunk@23733 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:27:13 +00:00
alecf%netscape.com
710ff324a6 update unix makefile list for mailnews - add new mime stuff, remove old compose makefiles
git-svn-id: svn://10.0.0.236/trunk@23732 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:25:58 +00:00
mscott%netscape.com
28f45695ea Change m0id_scope to m_0id_id in order to fix the problem where the list of msg headers was always empty...
git-svn-id: svn://10.0.0.236/trunk@23731 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:22:41 +00:00
putterman%netscape.com
6b09cec24d removed call to release
git-svn-id: svn://10.0.0.236/trunk@23730 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:19:53 +00:00
hyatt%netscape.com
33cc556694 Added nsXULDocumentInfo.cpp
git-svn-id: svn://10.0.0.236/trunk@23729 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:10:31 +00:00
ramiro%netscape.com
9407081b70 Change MOZILLA_HOME to MOZILLA_FIVE_HOME so that we dont fight Communicator
4.x installations.


git-svn-id: svn://10.0.0.236/trunk@23728 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:00:57 +00:00
briano%netscape.com
a25b2f9d53 Automated update
git-svn-id: svn://10.0.0.236/trunk@23727 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:00:43 +00:00
jfrancis%netscape.com
aa9e3374d2 implemented paste
git-svn-id: svn://10.0.0.236/trunk@23726 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:56:12 +00:00
danm%netscape.com
7e985dfa2f fix large leak loading XUL page. bug 3561 reported by bruce@cybersight.com. r:hyatt.
git-svn-id: svn://10.0.0.236/trunk@23725 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:54:17 +00:00
putterman%netscape.com
ca9ee9973a Added delete button code
git-svn-id: svn://10.0.0.236/trunk@23724 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:52:02 +00:00
putterman%netscape.com
8df736e3ad Add delete message
git-svn-id: svn://10.0.0.236/trunk@23723 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:50:54 +00:00
putterman%netscape.com
28d9c7407d Add delete button
git-svn-id: svn://10.0.0.236/trunk@23722 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:50:27 +00:00
putterman%netscape.com
539b85f7b4 Gets dependencies correct
git-svn-id: svn://10.0.0.236/trunk@23721 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:50:01 +00:00
cyeh%netscape.com
b88162a61f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@23720 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:49:40 +00:00
hyatt%netscape.com
1b0823980c Adding in the new document info class and tweaking the builder so that
it knows how to use it.


git-svn-id: svn://10.0.0.236/trunk@23719 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:49:32 +00:00
hyatt%netscape.com
1a5441a132 Code to enable instantiation of the new document info class.
git-svn-id: svn://10.0.0.236/trunk@23718 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:49:05 +00:00
cyeh%netscape.com
fbfda029ed moving code from mozilla/wallet to mozilla/extensions/wallet per brendan/shaver.
code owner is morse@netscape.com.

modified source and makefiles to be connected to toplevel build and fix optimized
builds. mozilla/wallet is obsolete.


git-svn-id: svn://10.0.0.236/trunk@23717 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:48:51 +00:00
hyatt%netscape.com
793f50ca3c Helper class for handling of XUL fragments.
git-svn-id: svn://10.0.0.236/trunk@23716 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:48:43 +00:00
slamm%netscape.com
d2df84f62d Fix for -MD flags. Filter-out the rule if the rule if it is bogus. A better way around the problem would be to take CFLAGS off the link line, but I am not sure if we can do this.
git-svn-id: svn://10.0.0.236/trunk@23715 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:46:00 +00:00
sfraser%netscape.com
36dae6fed3 Add SelectAll() to the EditorAppCore
git-svn-id: svn://10.0.0.236/trunk@23713 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:35:26 +00:00
sfraser%netscape.com
ab21987cd6 Fix the key handling, and fix my macro for the charCode stuff
git-svn-id: svn://10.0.0.236/trunk@23712 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:34:28 +00:00
sfraser%netscape.com
2af73d37f9 Add SelectAll()
git-svn-id: svn://10.0.0.236/trunk@23711 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 19:33:37 +00:00
cyeh%netscape.com
b404d5302c make clobber_all remove the dist so we can catch depedency problems. if you don't
blow away the dist, you can hide module dependencies and build order that need
to be correct in makefile.win DIRS


git-svn-id: svn://10.0.0.236/trunk@23710 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 18:14:57 +00:00
kostello%netscape.com
be6a84bd6d Fix build bustage: editor is near the end of the make order AND
gfx comes before widget


git-svn-id: svn://10.0.0.236/trunk@23709 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 18:12:12 +00:00
terry%netscape.com
6bb632aa4f Allow importing of groupset.
git-svn-id: svn://10.0.0.236/trunk@23708 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 16:54:12 +00:00
terry%netscape.com
ca10a7208c Added 'groups' stuff, where we have different group bits that we can
put on a person or on a bug.  Some of the group bits control access to bugzilla
features.  And a person can't access a bug unless he has every group bit set
that is also set on the bug.


git-svn-id: svn://10.0.0.236/trunk@23707 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 16:30:54 +00:00
troy%netscape.com
4dc985bb1a Patch from Bruce Mitchener (bruce@sybersight.com) that fixes incorrect
use of delete operator


git-svn-id: svn://10.0.0.236/trunk@23706 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 15:21:46 +00:00
troy%netscape.com
bc0d788a43 Work-in-progress for min/max properties
git-svn-id: svn://10.0.0.236/trunk@23705 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 15:13:17 +00:00
dcone%netscape.com
808ec32e38 added the nsdrawingsurfacemac to project
git-svn-id: svn://10.0.0.236/trunk@23704 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 15:02:42 +00:00
dcone%netscape.com
1e8690a6ef update to use the nsDrawingSurfaceMac object for its onscreen on offscreen drawing.
git-svn-id: svn://10.0.0.236/trunk@23703 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 14:42:11 +00:00
rjc%netscape.com
30a3d46852 Comment out NS_PRECONDITION on mDocument.
git-svn-id: svn://10.0.0.236/trunk@23702 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 12:07:49 +00:00
rjc%netscape.com
b62f8f98d6 Better, smarter sorting implementation.
git-svn-id: svn://10.0.0.236/trunk@23701 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 12:01:47 +00:00
rjc%netscape.com
d1d11b6ca0 Only answer GetTarget() queries if its a file URL (ignore file root node)
git-svn-id: svn://10.0.0.236/trunk@23700 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 12:00:57 +00:00
rpotts%netscape.com
ec0377d74b in the process of adding support for a protocol helper component which is responsible for dealing with modal requests from the network protocol handlers (which may be on different threads...)
git-svn-id: svn://10.0.0.236/trunk@23699 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 11:39:34 +00:00
rpotts%netscape.com
1cbd1aad68 Temporarily added a CID for the default protocol helper component...
git-svn-id: svn://10.0.0.236/trunk@23698 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 11:35:23 +00:00
warren%netscape.com
fe85bdf68a Commented out line causing link error on mac (fix later).
git-svn-id: svn://10.0.0.236/trunk@23697 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 11:03:43 +00:00
warren%netscape.com
c0d9f68452 tweak
git-svn-id: svn://10.0.0.236/trunk@23696 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 11:01:16 +00:00
warren%netscape.com
e82363f5b8 Exporting symbols for the mac.
git-svn-id: svn://10.0.0.236/trunk@23695 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 10:47:54 +00:00
rpotts%netscape.com
c53692a87b added an #ifdef USE_NGPREF around the definition of the nsIPref interface and ClassID... This should fix the build bustage...
git-svn-id: svn://10.0.0.236/trunk@23694 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 10:23:37 +00:00
warren%netscape.com
6a01692cd7 attempt to fix mac build
git-svn-id: svn://10.0.0.236/trunk@23693 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 10:18:46 +00:00
warren%netscape.com
bdd2b4c0ad First cut at new command architecture.
git-svn-id: svn://10.0.0.236/trunk@23692 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 10:14:35 +00:00
warren%netscape.com
720e68dd8f First cut at new command architecture.
git-svn-id: svn://10.0.0.236/trunk@23691 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 10:01:25 +00:00
warren%netscape.com
14b5004bf2 Added union and intersection enumerators.
git-svn-id: svn://10.0.0.236/trunk@23690 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 09:56:59 +00:00
briano%netscape.com
d34fbbe08a Automated update
git-svn-id: svn://10.0.0.236/trunk@23689 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 09:30:43 +00:00
mcafee%netscape.com
ca9a6edb76 Adding -xildoff linker flag to Solaris/CC build; removing -z defaultextract MKSHLIB_UNFORCE_ALL option, this works with ld but not CC. CC just picks the last -z option and uses that for the whole line, ld behaves as advertized in the ld man page.
git-svn-id: svn://10.0.0.236/trunk@23688 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 09:16:56 +00:00
vidur%netscape.com
52fcbb54d3 Put back in changes blown away by evaughn
git-svn-id: svn://10.0.0.236/trunk@23687 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 08:59:37 +00:00
rpotts%netscape.com
34a70160b5 Added an mRequestingThread member to nsConnectionInfo... This is a PRThread pointer to the thread which made the network request (ie. the UI thread, etc)... This information is necessary when marshelling information back to the requesting thread...
git-svn-id: svn://10.0.0.236/trunk@23686 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 08:19:54 +00:00
jband%netscape.com
bd370dabc0 strings are TD_PSTRING | XPT_TDP_POINTER
git-svn-id: svn://10.0.0.236/trunk@23685 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 08:01:02 +00:00
dp%netscape.com
0f3e789976 Changing default registry name:
Unix: ~/.mozilla/registry
Win: <winnt dir>\mozregistry.dat

BTW, mac is already MozRegistry


git-svn-id: svn://10.0.0.236/trunk@23684 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 07:56:03 +00:00
vidur%netscape.com
38fd4465f1 Added parsererror and sourcetext to element table
git-svn-id: svn://10.0.0.236/trunk@23683 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 07:52:24 +00:00
dp%netscape.com
50fc6ba44a creating ~/.mozilla under unix if not already there.
git-svn-id: svn://10.0.0.236/trunk@23682 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 07:44:23 +00:00
sfraser%netscape.com
00dff352b1 Added Cut, Copy and Paste, and did general cleanup
git-svn-id: svn://10.0.0.236/trunk@23681 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 07:40:55 +00:00
jband%netscape.com
498733635b interfaces are pointers and getters return retvals
git-svn-id: svn://10.0.0.236/trunk@23680 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 07:12:18 +00:00
kostello%netscape.com
846e8c7d06 Changed To using Ender: approved by legal
git-svn-id: svn://10.0.0.236/trunk@23679 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 06:48:30 +00:00
bienvenu%netscape.com
c26b882d4b add morkWriter and morkCell, morkRowCellCursor.cpp
git-svn-id: svn://10.0.0.236/trunk@23678 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 06:42:59 +00:00
bienvenu%netscape.com
2662ed7e15 use Close instead of Release
git-svn-id: svn://10.0.0.236/trunk@23677 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 06:42:18 +00:00
sfraser%netscape.com
3e711b3574 Adapted key listener to get char code directly from event, rather than trying to do a key code conversion (#ifdeffed out until char code is there on all platforms).
git-svn-id: svn://10.0.0.236/trunk@23676 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 06:42:09 +00:00
bienvenu%netscape.com
aa91144cd8 patches not to use persistent databases
git-svn-id: svn://10.0.0.236/trunk@23675 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 06:41:29 +00:00
bienvenu%netscape.com
ae80565560 fix bogus cast to nsMsgHdr
git-svn-id: svn://10.0.0.236/trunk@23674 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 06:40:22 +00:00
bienvenu%netscape.com
a3b794e060 add explicit include of nsCOMPtr.h
git-svn-id: svn://10.0.0.236/trunk@23673 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 06:39:35 +00:00
bienvenu%netscape.com
349b24308b check for missing db when deciding to reparse
git-svn-id: svn://10.0.0.236/trunk@23672 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 06:38:56 +00:00
ftang%netscape.com
ad19d90ea2 add shift_jis to the list. Solve PRBool problem on mac
git-svn-id: svn://10.0.0.236/trunk@23671 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:56:29 +00:00
troy%netscape.com
dac998d679 Patch from Bruce Mitchener (bruce@cybersight.com) that fixes unitialized
memort error


git-svn-id: svn://10.0.0.236/trunk@23670 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:56:11 +00:00
michaelp%netscape.com
52cba6f996 fixed memory leak.
git-svn-id: svn://10.0.0.236/trunk@23669 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:45:52 +00:00
nisheeth%netscape.com
6d7dd79951 - Send out the source line where the error occurred from inside PushXMLErrorToken().
- Add the 'parsererror' and 'sourcetext' tags to the HTML tag enum.


git-svn-id: svn://10.0.0.236/trunk@23668 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:36:50 +00:00
bienvenu%netscape.com
462294a411 fix syntax error in widgetglue js
git-svn-id: svn://10.0.0.236/trunk@23667 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:32:51 +00:00
nisheeth%netscape.com
d6582f1383 Added two new HTML tags used internally for error reporting of expat errors: "parsererror" and "sourcetext".
git-svn-id: svn://10.0.0.236/trunk@23666 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:30:28 +00:00
nisheeth%netscape.com
1f80f4903a - Beautified error reporting of expat errors. We now don't just dump the error text out as nodes. We create the parsererror and sourcetext HTML nodes that can be styled via ua.css.
git-svn-id: svn://10.0.0.236/trunk@23665 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:29:36 +00:00
nisheeth%netscape.com
840ff7b218 - changing ua.css to add style rules for the 'parsererror' and 'sourcetext' elements.
- added eHTMLTag_parsererror, eHTMLTag_sourcetext to the set of HTML tags.
- These tags are used within XML documents to show errors from expat.


git-svn-id: svn://10.0.0.236/trunk@23664 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:26:53 +00:00
kostello%netscape.com
34b6d10e6e Changed comment on -editor and -mail command line code
git-svn-id: svn://10.0.0.236/trunk@23663 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:25:57 +00:00
kostello%netscape.com
18a85b2199 Added -editor and -mail as command line extensions. When
passed into apprunner they load the corresponding editor and
mail url


git-svn-id: svn://10.0.0.236/trunk@23662 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:24:29 +00:00
bienvenu%netscape.com
4cdd706865 add GetAuthor and GetSubject intefraces
git-svn-id: svn://10.0.0.236/trunk@23661 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:15:33 +00:00
kostello%netscape.com
ca7237d1a1 Cleaned up PasteTextBlocking to return better
error information if NO TEXT data exists
on the clipboard


git-svn-id: svn://10.0.0.236/trunk@23660 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 04:41:43 +00:00
kostello%netscape.com
0c821c1e9b Added windows specific paste code
git-svn-id: svn://10.0.0.236/trunk@23659 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 04:27:39 +00:00
mscott%netscape.com
3aa074e975 somehow the pointer passed into getting the netlib queue service got changed...change it back....
git-svn-id: svn://10.0.0.236/trunk@23658 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 03:34:27 +00:00
ftang%netscape.com
dbe9e3f74a fix mHasMultibyte hint problem when the first character of the *word* is not ASCII
git-svn-id: svn://10.0.0.236/trunk@23657 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 03:00:33 +00:00
alecf%netscape.com
b55da7fc0d more linux fixes - link against the right libraries, include xp_time.c, etc.
git-svn-id: svn://10.0.0.236/trunk@23656 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 02:50:08 +00:00
briano%netscape.com
a07f46d649 Automated update
git-svn-id: svn://10.0.0.236/trunk@23655 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 02:45:41 +00:00
sdagley%netscape.com
e4e0984d7d Fill in the keyEvent.charCode field so that we can figure out what character code corresponds to the key pressed.
git-svn-id: svn://10.0.0.236/trunk@23654 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 02:37:24 +00:00
briano%netscape.com
96a96a8041 Cleaned up some of the platform-specific ifdef's. Using HAVE_INT16_T, HAVE_INT32_T, and HAVE_UINT16_T now.
git-svn-id: svn://10.0.0.236/trunk@23653 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 02:37:23 +00:00
briano%netscape.com
7d557e36ad Added tests for int16_t, int32_t, and uint16_t for AIX and BSDI.
git-svn-id: svn://10.0.0.236/trunk@23652 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 02:32:53 +00:00
jband%netscape.com
2e6dec8b20 get xptinfo building on Win32 again
git-svn-id: svn://10.0.0.236/trunk@23651 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 02:21:23 +00:00
coop%netscape.com
989ad5fb47 NOT YET PART OF SEAMONKEY:
* added improved error message for IID collision.


git-svn-id: svn://10.0.0.236/trunk@23650 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 02:15:53 +00:00
alecf%netscape.com
e0e0f4428e fix constness casting problem
git-svn-id: svn://10.0.0.236/trunk@23649 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 02:08:41 +00:00
ducarroz%netscape.com
9a882563b4 add new entries
git-svn-id: svn://10.0.0.236/trunk@23647 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:44:44 +00:00
ducarroz%netscape.com
0443449c45 did some cleanup
git-svn-id: svn://10.0.0.236/trunk@23646 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:43:19 +00:00
ducarroz%netscape.com
5f3dc5c96f The compose.dll has been merged into msgcompose.dll in order to have the auto appcore registration working.
git-svn-id: svn://10.0.0.236/trunk@23645 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:41:25 +00:00
ducarroz%netscape.com
0f2fac7795 The compose.dll has been merged into msgcompose.dll in order to have the auto appcore registration working.
Initial check in


git-svn-id: svn://10.0.0.236/trunk@23644 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:38:11 +00:00
mjudge%netscape.com
b06caff664 fix win32 breakage by changing build order of widget and editor
git-svn-id: svn://10.0.0.236/trunk@23643 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:37:45 +00:00
ducarroz%netscape.com
095251d5fd The compose.dll has been merged into msgcompose.dll in order to have the auto appcore registration working.
this file was originally located into mailnews/ui/compose/src


git-svn-id: svn://10.0.0.236/trunk@23642 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:36:37 +00:00
slamm%netscape.com
4b0a86f81a Only use mddepend.pl when PERL is set.
git-svn-id: svn://10.0.0.236/trunk@23641 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:35:33 +00:00
ducarroz%netscape.com
38429fdb48 Add new interface to nsMsgCompose, cleanup the code
git-svn-id: svn://10.0.0.236/trunk@23640 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:34:59 +00:00
alecf%netscape.com
945b46a56f rev these interfaces
git-svn-id: svn://10.0.0.236/trunk@23639 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:33:33 +00:00
jj%netscape.com
a608360198 changed $CLOBBER_LIBS from 0 to 1 [existing libs must be deleted before new one gets built]
git-svn-id: svn://10.0.0.236/trunk@23638 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:33:18 +00:00
ducarroz%netscape.com
a36ca94f86 The compose.dll has been merged into msgcompose.dll in order to have the auto appcore registration working.
git-svn-id: svn://10.0.0.236/trunk@23637 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:32:48 +00:00
alecf%netscape.com
63c65a3694 eliminate duplicate IID
git-svn-id: svn://10.0.0.236/trunk@23636 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:32:08 +00:00
ducarroz%netscape.com
d4e5b0aa05 add new interface to nsIMsgCompose
git-svn-id: svn://10.0.0.236/trunk@23635 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:30:18 +00:00
slamm%netscape.com
17e4604888 Change name of save script
git-svn-id: svn://10.0.0.236/trunk@23634 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:30:16 +00:00
alecf%netscape.com
1e814f213b we don't need to link against these libraries any more on unix
git-svn-id: svn://10.0.0.236/trunk@23633 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:30:07 +00:00
alecf%netscape.com
47f482ea66 link against our libraries to resolve as many differences as possible
git-svn-id: svn://10.0.0.236/trunk@23632 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:28:48 +00:00
ducarroz%netscape.com
66c622b188 The compose.dll has been merged into msgcompose.dll in order to have the auto appcore registration working.
this file was originally located into mailnews/ui/compose/public


git-svn-id: svn://10.0.0.236/trunk@23631 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:28:46 +00:00
sfraser%netscape.com
a95ee16903 Add widget.shlb to fix link bustage
git-svn-id: svn://10.0.0.236/trunk@23630 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:26:19 +00:00
troy%netscape.com
6866976cb9 Work-in-progress for 'min' and 'max' properties
git-svn-id: svn://10.0.0.236/trunk@23629 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:23:10 +00:00
slamm%netscape.com
43ac5089cb Summarize checkout conflicts before dying.
git-svn-id: svn://10.0.0.236/trunk@23628 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:21:25 +00:00
alecf%netscape.com
b0914f756b rev nsINNTPHost and nsINewsgroupList interfaces
git-svn-id: svn://10.0.0.236/trunk@23627 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:18:04 +00:00
ducarroz%netscape.com
b6fdfe569c add new icons to the build process
git-svn-id: svn://10.0.0.236/trunk@23626 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:17:36 +00:00
ducarroz%netscape.com
f69e944958 initial check in, Icons used by mail composer
git-svn-id: svn://10.0.0.236/trunk@23625 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:15:40 +00:00
kostello%netscape.com
8214fef4e5 Move editor to build last because of the dependency on widget
git-svn-id: svn://10.0.0.236/trunk@23624 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:13:48 +00:00
ducarroz%netscape.com
e4f75dce4b don't need anymore this file, use xul file instance
git-svn-id: svn://10.0.0.236/trunk@23623 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:12:06 +00:00
ducarroz%netscape.com
adc62ac4a1 did a lot of cleanup, now compatible with new compose appcore
git-svn-id: svn://10.0.0.236/trunk@23622 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:11:04 +00:00
ducarroz%netscape.com
ff7e7e5958 The compose.dll has been merged into msgcompose.dll in order to have the auto appcore registration working.
This file isn't needed anymore


git-svn-id: svn://10.0.0.236/trunk@23621 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:07:23 +00:00
ducarroz%netscape.com
9f358744b8 The compose.dll has been merged into msgcompose.dll in order to have the auto appcore registration working
this file has been moved to mailnews/compose/src


git-svn-id: svn://10.0.0.236/trunk@23620 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:06:09 +00:00
ducarroz%netscape.com
0366fa8b46 The compose.dll has been merged into msgcompose.dll in order to have the auto appcore registration working
don't need anymore this file


git-svn-id: svn://10.0.0.236/trunk@23619 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:04:24 +00:00
ducarroz%netscape.com
9e31970053 The compose.dll has been merged into msgcompose.dll in order to have the auto appcore registration working
don't need anymore those files


git-svn-id: svn://10.0.0.236/trunk@23618 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 01:03:12 +00:00
ducarroz%netscape.com
514844786a folder ui/compose/public removed
git-svn-id: svn://10.0.0.236/trunk@23617 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:56:54 +00:00
ducarroz%netscape.com
8f056dc1ab as compose.dll has been merged with msgcompose.dll, those files has been moved to mailnewscompose/public
git-svn-id: svn://10.0.0.236/trunk@23616 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:55:06 +00:00
ducarroz%netscape.com
349b1a82a5 As compose.dll has been merged into msgcompose.dll, we don't need those makefile anymore
git-svn-id: svn://10.0.0.236/trunk@23615 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:52:31 +00:00
ducarroz%netscape.com
42a18f68c1 The compose.dll has been merged into msgcompose.dll in order to have the auto appcore registration working
git-svn-id: svn://10.0.0.236/trunk@23614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:48:35 +00:00
mjudge%netscape.com
85664fd476 fixing windows build bustage by temporarily loading the raptorwidget_s.dll when ender.dll is loaded. temporary until repository code working
git-svn-id: svn://10.0.0.236/trunk@23613 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:20:27 +00:00
slamm%netscape.com
0832fa39cd Take out NSPR rpm option. let the user type it in.
git-svn-id: svn://10.0.0.236/trunk@23612 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:18:57 +00:00
av%netscape.com
d645e88da3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@23611 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:17:38 +00:00
cmanske%netscape.com
8c0b6cc73e Removed unnecessary factory interface registration
git-svn-id: svn://10.0.0.236/trunk@23610 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:16:19 +00:00
slamm%netscape.com
fda4e234b3 Combine NSPR and pthreads options. Update overall look.
git-svn-id: svn://10.0.0.236/trunk@23609 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:10:46 +00:00
akkana%netscape.com
5aedc09286 Change the reference to the global selection mgr to fix windows build
git-svn-id: svn://10.0.0.236/trunk@23608 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:08:10 +00:00
joki%netscape.com
d710a79e1d Adding DOM access to new character information
git-svn-id: svn://10.0.0.236/trunk@23607 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:07:59 +00:00
joki%netscape.com
19bae035e4 Adding new charCode variable to nsGUIEvent
git-svn-id: svn://10.0.0.236/trunk@23606 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:01:50 +00:00
coop%netscape.com
80dfa8d3e2 NOT YET PART OF SEAMONKEY:
* one character fix (D'oh!) to make InterfaceTypeDescriptor indices update properly.


git-svn-id: svn://10.0.0.236/trunk@23605 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 23:41:04 +00:00
hyatt%netscape.com
742df4c179 Tweaks related to XUL fragments.
git-svn-id: svn://10.0.0.236/trunk@23604 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 23:31:26 +00:00
dp%netscape.com
7898673a73 Removing unused variable.
git-svn-id: svn://10.0.0.236/trunk@23603 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 23:30:25 +00:00
tague%netscape.com
6ad4a14379 Checked in patch from bruce@cybersight.com. Fixed purify memory error.
git-svn-id: svn://10.0.0.236/trunk@23602 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 23:19:44 +00:00
endico%mozilla.org
7b0ee15a8e Add support for indexing multiple trees from the same lxr directory.
git-svn-id: svn://10.0.0.236/trunk@23600 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:58:57 +00:00
nhotta%netscape.com
81a05263f7 Added Support class and encoders
git-svn-id: svn://10.0.0.236/trunk@23599 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:57:54 +00:00
rjc%netscape.com
1bf77ce0f4 const this, baby!
git-svn-id: svn://10.0.0.236/trunk@23598 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:54:49 +00:00
warren%netscape.com
e5d24a2696 Added progID version of GetService. Fixed up nsService to not be a template.
git-svn-id: svn://10.0.0.236/trunk@23597 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:53:17 +00:00
pollmann%netscape.com
c060190502 Checking in GetSelectedItem, GetSelectedIndices, and SetSelectedIndices methods. This enables submission of a listbox's value for Linux. (wahoo!)
git-svn-id: svn://10.0.0.236/trunk@23596 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:52:55 +00:00
akkana%netscape.com
f28253683c Comment out debug prints
git-svn-id: svn://10.0.0.236/trunk@23595 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:50:51 +00:00
cata%netscape.com
58053aee71 Support class, EUCJP and ISO2022JP encoders added.
git-svn-id: svn://10.0.0.236/trunk@23594 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:46:38 +00:00
akkana%netscape.com
a6feb40744 Implement editor cut/copy/paste
git-svn-id: svn://10.0.0.236/trunk@23593 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:46:15 +00:00
rpotts%netscape.com
ad4a570981 New interface to allow protocol handlers to request and process modal dialogs...
git-svn-id: svn://10.0.0.236/trunk@23592 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:43:23 +00:00
akkana%netscape.com
109aad3dea Fix Solaris build problems -- thanks to braddr & bruce @ puremagic.com
git-svn-id: svn://10.0.0.236/trunk@23591 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:41:18 +00:00
alecf%netscape.com
59c04072de rev the interface, update char* to const char*
git-svn-id: svn://10.0.0.236/trunk@23590 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:32:46 +00:00
akkana%netscape.com
f198ef7ae3 Fix purify UMR error -- thanks to braddr & bruce @ puremagic.com
git-svn-id: svn://10.0.0.236/trunk@23589 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:30:23 +00:00
slamm%netscape.com
2589f5be88 Added Javascript to change focus and radio selection for radio/text groups. Simplified the instructions.
git-svn-id: svn://10.0.0.236/trunk@23588 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:20:55 +00:00
alecf%netscape.com
b5aabe5013 rev this interface and remove NS_DOM binding from IDL
git-svn-id: svn://10.0.0.236/trunk@23587 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:19:54 +00:00
cata%netscape.com
edc8cfeb62 added files: mozilla/intl/uconv/ucvja/nsUCvJaSupport.cpp, mozilla/intl/uconv/ucvja/nsUnicodeToSJIS.cpp
git-svn-id: svn://10.0.0.236/trunk@23586 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:09:06 +00:00
alecf%netscape.com
fbc0ce4691 comment out these two functions, they are already defined on Unix
git-svn-id: svn://10.0.0.236/trunk@23585 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:08:07 +00:00
cata%netscape.com
c4558e181f SJIS encoder, Support class added.
git-svn-id: svn://10.0.0.236/trunk@23584 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:08:00 +00:00
alecf%netscape.com
80ac2d23f4 revert to old types for now to match definition in include/
git-svn-id: svn://10.0.0.236/trunk@23583 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:07:45 +00:00
dp%netscape.com
c81e64e889 Adding error messages when loading fails.
git-svn-id: svn://10.0.0.236/trunk@23582 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:07:34 +00:00
alecf%netscape.com
6121b82e15 various tweaks to make this build on Linux
git-svn-id: svn://10.0.0.236/trunk@23581 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:06:52 +00:00
alecf%netscape.com
598584c05b gotta export all these header files so that we can see them from other mime directories
git-svn-id: svn://10.0.0.236/trunk@23580 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:06:15 +00:00
rjc%netscape.com
fda66fcfc1 Small sort fix.
git-svn-id: svn://10.0.0.236/trunk@23579 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 22:02:25 +00:00
rjc%netscape.com
d90524979e When asking for a bookmark's URL via GetTarget(), synthesize it.
git-svn-id: svn://10.0.0.236/trunk@23578 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:58:40 +00:00
morse%netscape.com
926dd7bbd4 changes for wallet
git-svn-id: svn://10.0.0.236/trunk@23577 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:42:45 +00:00
mcmullen%netscape.com
6a5c89fa74 Fixed bustage with typo.
git-svn-id: svn://10.0.0.236/trunk@23576 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:41:43 +00:00
morse%netscape.com
e74e92add5 bug fix for single signon
git-svn-id: svn://10.0.0.236/trunk@23575 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:38:34 +00:00
morse%netscape.com
85bb026c3f New files for wallet
git-svn-id: svn://10.0.0.236/trunk@23574 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:35:41 +00:00
slamm%netscape.com
50ff7e73b4 Use an even simpler name, mozconfig (no .sh).
git-svn-id: svn://10.0.0.236/trunk@23573 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:34:17 +00:00
sfraser%netscape.com
fffcc0cbc4 Add Cut, Copy and Paste to editor interfaces and classes, with a stub implemenatioon in nsEditor. Changed .idl file and regenerated nsIDOMEditorAppCore and nsJSEditorAPpCore.
git-svn-id: svn://10.0.0.236/trunk@23572 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:31:50 +00:00
sfraser%netscape.com
0a1636794b Add Cut, Copy and Paste to editor interfaces and classes, with a stub implemenatioon in nsEditor.
git-svn-id: svn://10.0.0.236/trunk@23571 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:29:41 +00:00
kin%netscape.com
dd9bfaeb94 Changed all occurences of NS_TRANSACTION_MANAGER_FACTORY_CID
and kCTransactionManagerFactoryCID to NS_TRANSACTIONMANAGER_CID
and kCTransactionManagerCID.


git-svn-id: svn://10.0.0.236/trunk@23570 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:27:02 +00:00
sfraser%netscape.com
bbdc2c5a6b Add static to remove warning
git-svn-id: svn://10.0.0.236/trunk@23569 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:26:33 +00:00
kin%netscape.com
8b4d03a7fb Modified the clobber target so that it removes the dll from the bin/components directory.
git-svn-id: svn://10.0.0.236/trunk@23568 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:25:03 +00:00
shaver%netscape.com
378256875c generate meaningful annotation
git-svn-id: svn://10.0.0.236/trunk@23567 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:09:01 +00:00
mcmullen%netscape.com
681a46c1c0 Added tests for size and mod date.
git-svn-id: svn://10.0.0.236/trunk@23566 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:03:53 +00:00
slamm%netscape.com
8bc62cedd3 Make sure .mozconfig.mk can be read. Even for first checkout. Pre-fill web configurator with existing options.
git-svn-id: svn://10.0.0.236/trunk@23565 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:03:33 +00:00
mcmullen%netscape.com
bdbf667fac Added GetModDate and GetFileSize. Fixed a crash with a strcmp of null.
git-svn-id: svn://10.0.0.236/trunk@23564 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:02:58 +00:00
mcmullen%netscape.com
19c53c8fda Added output streamers for int and unsigned int.
git-svn-id: svn://10.0.0.236/trunk@23563 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:56:38 +00:00
av%netscape.com
d91791f1ef Rendering alt context in object tag
git-svn-id: svn://10.0.0.236/trunk@23562 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:43:07 +00:00
coop%netscape.com
4e2ef3ec92 NOT YET PART OF SEAMONKEY:
* first annotation indicates that resulting typelib was created by the linker.
* annotations from files being linked in are now preserved.


git-svn-id: svn://10.0.0.236/trunk@23561 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:40:17 +00:00
hshaw%netscape.com
7791b67a3a Replace NS_DECLARE_CID with NS_DEFINE_IID for kIPrefIID and KPrefCID
git-svn-id: svn://10.0.0.236/trunk@23560 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:33:18 +00:00
hshaw%netscape.com
d1254ab87c Replace NS_DECLARE_CID with NS_DEFINE_IID for KPrefCID
git-svn-id: svn://10.0.0.236/trunk@23559 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:33:14 +00:00
waterson%netscape.com
e64fdedc82 Added GetResource() to XULElement.
git-svn-id: svn://10.0.0.236/trunk@23558 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:20:52 +00:00
slamm%netscape.com
aabcc7fbbf sar want more 'checkins since' links. Don't refresh pagepage if it isn't the most recent time.
git-svn-id: svn://10.0.0.236/trunk@23557 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:18:49 +00:00
waterson%netscape.com
997a39d173 Remove invalid reference to nsIRDFContent.h
git-svn-id: svn://10.0.0.236/trunk@23556 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:18:21 +00:00
dougt%netscape.com
fdb6e0f2a5 Unix makefiles. Gotta love xpcode!
git-svn-id: svn://10.0.0.236/trunk@23555 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:17:14 +00:00
waterson%netscape.com
a0c57020f4 Must've missed this file in my merge: support for xpidl keyword.
git-svn-id: svn://10.0.0.236/trunk@23554 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:15:23 +00:00
putterman%netscape.com
e3eb9dceb3 Initialize mPath to "" instead of nsnull.
git-svn-id: svn://10.0.0.236/trunk@23553 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:07:44 +00:00
dougt%netscape.com
d643c0b6d4 No longer shifting windows nsFileSpec's mPath to uppercase.
Now comparing without regard to case instead on windows.
Windows nsSpecialSystemDirectory will have all uppercase mPaths.


git-svn-id: svn://10.0.0.236/trunk@23552 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:07:10 +00:00
hyatt%netscape.com
f7eb900fae Working on XUL fragments.
git-svn-id: svn://10.0.0.236/trunk@23551 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:05:12 +00:00
hshaw%netscape.com
3a95a0679c Fix for bug #3130 , thanks mcafee
git-svn-id: svn://10.0.0.236/trunk@23550 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 20:02:22 +00:00
waterson%netscape.com
d3d993d327 Support for xpidl keyword.
git-svn-id: svn://10.0.0.236/trunk@23549 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:55:00 +00:00
waterson%netscape.com
bd625fd0d0 Added SetDataBase() implementation that'll set the database on the DOMXULNode.
git-svn-id: svn://10.0.0.236/trunk@23548 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:54:36 +00:00
buster%netscape.com
9bcc7a19c2 first cut at rules delegate for text editor, will change drastically in the next week or two
git-svn-id: svn://10.0.0.236/trunk@23547 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:53:26 +00:00
buster%netscape.com
f076cbe10e creation of text nodes now supported
git-svn-id: svn://10.0.0.236/trunk@23546 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:51:55 +00:00
buster%netscape.com
4ddf2b48c1 mNewNode is a DOM Node, not a DOM Element
git-svn-id: svn://10.0.0.236/trunk@23545 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:51:07 +00:00
buster%netscape.com
cc359d1068 small fix of an off-by-one error in an assertion
git-svn-id: svn://10.0.0.236/trunk@23544 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:50:17 +00:00
buster%netscape.com
9dd1f7d958 SelectAll wired to Ctrl-A.
git-svn-id: svn://10.0.0.236/trunk@23543 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:49:43 +00:00
buster%netscape.com
4a106cee02 small interface change to InsertBreak
git-svn-id: svn://10.0.0.236/trunk@23542 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:49:18 +00:00
buster%netscape.com
0b0989c61c improvements to InsertBreak, and first crack at adding support for rules delegate
git-svn-id: svn://10.0.0.236/trunk@23541 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:48:46 +00:00
buster%netscape.com
d859f3e58c Implemented SelectAll.
Added nsEditor::DoInitialInsert() for doing first insert into an empty document.  Try typing into <html><body></body></html>
Added some smarts to DeleteSelectionAndCreateNode() so it only splits the selected node when appropriate (when the selection is not at offset 0 or max)

CreateElementTxn now creates text nodes as well as DOM elements


git-svn-id: svn://10.0.0.236/trunk@23540 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:48:13 +00:00
buster%netscape.com
0e7f65788f added nsTextEditRules
git-svn-id: svn://10.0.0.236/trunk@23539 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:47:34 +00:00
despotdaemon%netscape.com
9871322f1a Pseudo-automatic update of changes made by bruce@cybersight.com.
git-svn-id: svn://10.0.0.236/trunk@23538 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:46:32 +00:00
buster%netscape.com
9bf72e290c added nsIEditRules.h. Experimental, don't count on this.
git-svn-id: svn://10.0.0.236/trunk@23537 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:46:24 +00:00
jfrancis%netscape.com
bf6551cfed adding nsTextEditRules.cpp
git-svn-id: svn://10.0.0.236/trunk@23536 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:45:23 +00:00
coop%netscape.com
6db7aab3c3 NOT YET PART OF SEAMONKEY:
* xpt_dump now checks num_methods and num_constants before trying to walk the arrays.
* xpt_link now actually links. It even updates interfaces indices. Tested using all the idl files in mozilla/xpcom/idl.


git-svn-id: svn://10.0.0.236/trunk@23535 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:44:36 +00:00
pinkerton%netscape.com
1f508b19fb correct my pitiful spelling of bonsai.
git-svn-id: svn://10.0.0.236/trunk@23534 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:39:04 +00:00
terry%netscape.com
afebdc6fff Redistributed some QA folks.
git-svn-id: svn://10.0.0.236/trunk@23533 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:23:46 +00:00
dougt%netscape.com
bffbf478f9 Fixing casting problem on windows
NOT PART OF TINDERBOX


git-svn-id: svn://10.0.0.236/trunk@23532 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 18:51:15 +00:00
dougt%netscape.com
4b6e1122ce Make it work on the mac.
Passing unix paths to ZIP routines.  

THIS IS NOT PART OF THE BUILD SYSTEM YET


git-svn-id: svn://10.0.0.236/trunk@23530 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 18:39:01 +00:00
dougt%netscape.com
4d7174a311 Removing extra ; to get rid of warning.
THIS IS NOT PART OF TREE IS NOT PART OF THE BUILD SYSTEM YET


git-svn-id: svn://10.0.0.236/trunk@23529 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 18:36:40 +00:00
pinkerton%netscape.com
e9af4fe3ff fix 95/98 bustage
git-svn-id: svn://10.0.0.236/trunk@23528 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 18:11:35 +00:00
mcafee%netscape.com
c89a455a05 Solaris needs newline at EOF.
git-svn-id: svn://10.0.0.236/trunk@23527 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 10:57:05 +00:00
mcafee%netscape.com
39c88a0585 Solaris doesn't like the dangling semi-colon after NS_DECL_ISUPPORTS_INHERITED macro.
git-svn-id: svn://10.0.0.236/trunk@23526 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 10:52:50 +00:00
mccabe%netscape.com
ea7137976d Added tests of getting info assoc'd with params to TestInterfaceInfo.cpp, which uncovered an off-by-one problem due to magic typelib offsets for nsXPTParamInfo. Which makes me wonder if we shouldn't have just said #define XPT_INDEX_NO_PARENT 0xFFFF.
git-svn-id: svn://10.0.0.236/trunk@23525 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 10:36:13 +00:00
mcafee%netscape.com
6c5b72830c newline at end of file for Solaris, whitespace.
git-svn-id: svn://10.0.0.236/trunk@23524 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 09:56:25 +00:00
dp%netscape.com
4bcb926c07 changing to correct indent style and tabs. Beautify...
git-svn-id: svn://10.0.0.236/trunk@23523 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 09:53:25 +00:00
rjc%netscape.com
aa7eab3051 Cast away! and changed a few .Equals() to now be .EqualsIgnoreCase()
git-svn-id: svn://10.0.0.236/trunk@23522 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 09:41:07 +00:00
mccabe%netscape.com
1c4dd83cdc Not yet part of the Monkey.
- Added magic comments to make the LXR browsing experience more pleasant.

- introduced the nsInterfaceRecord class (formerly less formally interface_record).

- changed the XPTInterfaceDirectoryEntry pointer in InterfaceInfoes into nsInterfaceRecord pointers, removing the need for a hash just to go from entries to records to support nsXPTParamInfo::GetInterface.

- made the destructor for InterfaceInfo objects remove null the pointer in the corresponding reference.


git-svn-id: svn://10.0.0.236/trunk@23521 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 09:30:48 +00:00
dp%netscape.com
0f679ff5e4 Recheckin because of loss during ComponentManager Merge
- Using Reg*Raw() interface to support component urls storage in registry.
 - Implemented recursive version of DeleteKey() so that Reg*Raw() interface could be used

 - Fixing memory corruption; access of deleted dll object


git-svn-id: svn://10.0.0.236/trunk@23520 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 09:16:28 +00:00
waterson%netscape.com
4a8136b8ec Aggregate nsIDOMXULTreeElement interface onto nsRDFElement. Scriptability #ifdef-ed out.
git-svn-id: svn://10.0.0.236/trunk@23519 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 08:50:27 +00:00
waterson%netscape.com
ca6e4614ef Added nsXULTreeBuilder to build.
git-svn-id: svn://10.0.0.236/trunk@23518 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 08:49:35 +00:00
waterson%netscape.com
bb4ae3367f Added nsXULTreeElement to build.
git-svn-id: svn://10.0.0.236/trunk@23517 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 08:49:12 +00:00
braddr%puremagic.com
948141df40 Add new target for quantify
git-svn-id: svn://10.0.0.236/trunk@23516 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 08:32:42 +00:00
mccabe%netscape.com
9e433b6fbe Not part of seamonkey.
Added a comment saying preconditions the tests actually needs to
succeed.  (also simplified these some.)


git-svn-id: svn://10.0.0.236/trunk@23515 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 08:22:17 +00:00
waterson%netscape.com
67073aee6a Bug 3510. Fixed to use nsFileSpec, so now bookmarks should load on Mac (even through an alias).
git-svn-id: svn://10.0.0.236/trunk@23514 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 08:15:17 +00:00
waterson%netscape.com
997e72149b Fix build bustage, not really sure what this is supposed to be doing.
git-svn-id: svn://10.0.0.236/trunk@23513 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 08:11:28 +00:00
jband%netscape.com
9eb814c93e was using the same iid for 2 interfaces - synced nsIShutdownListener iid with the iid from the .h file
git-svn-id: svn://10.0.0.236/trunk@23512 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 08:02:23 +00:00
waterson%netscape.com
f933a42a97 Change PATH_MAX to MAXPATHLEN to compile on Solaris.
git-svn-id: svn://10.0.0.236/trunk@23511 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 07:21:09 +00:00
waterson%netscape.com
22026e5bb5 Fixed header files to work outside the XPIDL world for now.
git-svn-id: svn://10.0.0.236/trunk@23510 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 07:12:42 +00:00
rjc%netscape.com
cf3d2ba32b Small changes to sorting code to prepare for sorting on id attribute.
git-svn-id: svn://10.0.0.236/trunk@23509 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 07:07:10 +00:00
mccabe%netscape.com
c4fef7da6b Not part of seamonkey.
Fixed bustage due to improper use of DEBUG_somehacker.


git-svn-id: svn://10.0.0.236/trunk@23508 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:59:53 +00:00
rjc%netscape.com
df76041bf6 Quick&dirty fix for natural position attribute hack.
git-svn-id: svn://10.0.0.236/trunk@23507 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:37:04 +00:00
jband%netscape.com
c118498478 making it compile on Win32
git-svn-id: svn://10.0.0.236/trunk@23506 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:36:03 +00:00
mscott%netscape.com
238e5948be Add code to allow user's to display mailbox messages from the first 4 messages in their inbox....
also add code to retrieve the current user's root mail folder path...


git-svn-id: svn://10.0.0.236/trunk@23505 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:35:48 +00:00
waterson%netscape.com
46d6048104 Fixed my bad back-out.
git-svn-id: svn://10.0.0.236/trunk@23504 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:17:29 +00:00
karnaze%netscape.com
67d36f76f2 bug 3407
git-svn-id: svn://10.0.0.236/trunk@23503 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:13:35 +00:00
waterson%netscape.com
195f0c9dd4 Added OS_CurrentProcessDirectory test.
git-svn-id: svn://10.0.0.236/trunk@23502 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:08:06 +00:00
waterson%netscape.com
0f472a8518 Added OS_CurrentProcessDirectory implementation. Thanks to RJC for Mac. Unix is still bogus: uses getcwd().
git-svn-id: svn://10.0.0.236/trunk@23501 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:07:21 +00:00
alecf%netscape.com
5e01ee7094 fix nsFileSpec casting
git-svn-id: svn://10.0.0.236/trunk@23500 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:06:40 +00:00
mccabe%netscape.com
0b0b45888d Not part of seamonkey.
API change - changed nsXPTParamInfo from taking an InterfaceDirectoryEntry* (which really isn't part of the API I want to expose) to taking an nsIInterfaceInfo*, which is.


git-svn-id: svn://10.0.0.236/trunk@23499 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:06:19 +00:00
ducarroz%netscape.com
3aec1baafe don't crash anymore when the pane is null
git-svn-id: svn://10.0.0.236/trunk@23498 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:05:49 +00:00
alecf%netscape.com
a8ff15bf7a don't build tests by default
git-svn-id: svn://10.0.0.236/trunk@23497 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:01:40 +00:00
alecf%netscape.com
0380d26a03 don't link against base libmailnews
git-svn-id: svn://10.0.0.236/trunk@23496 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:00:59 +00:00
alecf%netscape.com
9262c5bd62 remove old call to NS_NewRFC822Parser
git-svn-id: svn://10.0.0.236/trunk@23495 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 06:00:11 +00:00
waterson%netscape.com
57265d0550 Landed on tip.
git-svn-id: svn://10.0.0.236/trunk@23494 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 05:37:31 +00:00
michaelp%netscape.com
0dfa53b698 fixed bug in underflow of state push count in new compositor.
git-svn-id: svn://10.0.0.236/trunk@23493 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 05:31:27 +00:00
briano%netscape.com
2069289d3b Automated update
git-svn-id: svn://10.0.0.236/trunk@23492 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 05:15:41 +00:00
waterson%netscape.com
93038788a2 Backed out addition of nsIDOMXULTreeElement: repository is horked.
git-svn-id: svn://10.0.0.236/trunk@23491 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 05:11:54 +00:00
ramiro%netscape.com
7933edd03e Reverted donm's solaris linker flag changes. You need to detect that gcc
is built to use the gnu linker.  You cant assume that here.


git-svn-id: svn://10.0.0.236/trunk@23490 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 05:09:54 +00:00
waterson%netscape.com
4f8cf8634e Added nsIDOMXULTreeElement.g to exports. This is currently generated by a very special version of idlc.
git-svn-id: svn://10.0.0.236/trunk@23489 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 05:08:26 +00:00
waterson%netscape.com
d745eb82a4 Added XULTreeElement to makefile, under !if.
git-svn-id: svn://10.0.0.236/trunk@23488 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 05:06:52 +00:00
waterson%netscape.com
0d826a1c01 Added nsIStreamListener to #includes to try to fix gcc 2.7 bustage.
git-svn-id: svn://10.0.0.236/trunk@23487 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 05:05:27 +00:00
waterson%netscape.com
0f8f4468a3 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@23486 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 04:49:54 +00:00
mccabe%netscape.com
2c5a38de3e Not yet part of Seamonkey.
Progress on the nsInterfaceInfoManager typelib loader for xpconnect.
Now has complete (I think) functionality, though the implementation is
still probably rusty.

I punted on defining a directory for .xpt files at this point; the
implementation looks at the value of the XPTDIR environment variable
for this value.

Note that the nsXPTParaminfo interface (public/xpt_cpp) has changed
(possibly temporarily) to take an 'entry' parameter.


git-svn-id: svn://10.0.0.236/trunk@23485 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 04:26:15 +00:00
alecf%netscape.com
6879c5461b use CreateInstance to create a parser rather than linking directly with libmailnews.so
git-svn-id: svn://10.0.0.236/trunk@23484 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 04:22:52 +00:00
bienvenu%netscape.com
584b25602a fix nsFileSpec bustage
git-svn-id: svn://10.0.0.236/trunk@23482 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:55:10 +00:00
alecf%netscape.com
49cb5dada8 oops, don't build nsIMessenger.cpp twice
git-svn-id: svn://10.0.0.236/trunk@23481 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:53:48 +00:00
alecf%netscape.com
2cd4454623 export new files from ui directory
git-svn-id: svn://10.0.0.236/trunk@23480 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:52:29 +00:00
mscott%netscape.com
4e72d42e2a Warren's changes broke component creation for nsIMsgMailSession and nsIUrlListenerManager. Restore these so our code runs correctly.
git-svn-id: svn://10.0.0.236/trunk@23479 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:49:39 +00:00
mscott%netscape.com
c68803898a restore code from the breakage that occurred last night by fixing up nsFileSpec/nsFilePath problems. use CLOSE on the db because it isn't an interface yet so we should not be calling release.
git-svn-id: svn://10.0.0.236/trunk@23478 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:48:32 +00:00
mscott%netscape.com
9f173d6446 creating a url listener manager should go through the componenet manager and not the service manager.
git-svn-id: svn://10.0.0.236/trunk@23477 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:47:14 +00:00
briano%netscape.com
f80ea81018 Lame tweak in order to do a test build on non-glibc Linux systems.
git-svn-id: svn://10.0.0.236/trunk@23476 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:30:42 +00:00
mscott%netscape.com
5450b79a19 More Linux makefile changes for libmime
git-svn-id: svn://10.0.0.236/trunk@23475 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:27:12 +00:00
despotdaemon%netscape.com
fc53bb7f38 Pseudo-automatic update of changes made by pschwan@cmu.edu.
git-svn-id: svn://10.0.0.236/trunk@23474 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:26:04 +00:00
mscott%netscape.com
b0b1083af2 Adding files for linux build
git-svn-id: svn://10.0.0.236/trunk@23473 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:25:33 +00:00
mscott%netscape.com
7e66b91f85 Adding for Linux build.
git-svn-id: svn://10.0.0.236/trunk@23472 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:23:18 +00:00
mscott%netscape.com
1a5cd582ca Further changes for linux makefile
git-svn-id: svn://10.0.0.236/trunk@23471 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:21:02 +00:00
mscott%netscape.com
ab0c00e783 New files for Linux build
git-svn-id: svn://10.0.0.236/trunk@23470 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:20:16 +00:00
despotdaemon%netscape.com
92192bacf8 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@23469 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:15:31 +00:00
terry%netscape.com
e4f999a632 Only show checkboxes for trees that have had activity in the last two days.
git-svn-id: svn://10.0.0.236/trunk@23468 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 03:03:27 +00:00
law%netscape.com
03e8d64f2a New and improved status bar
git-svn-id: svn://10.0.0.236/trunk@23467 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 02:52:02 +00:00
mcmullen%netscape.com
5d582ac9c0 Change assignment operator not to create dirs.
git-svn-id: svn://10.0.0.236/trunk@23466 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 02:50:16 +00:00
terry%netscape.com
47ecdbd80b Cope if no mindate/maxdate is provided.
git-svn-id: svn://10.0.0.236/trunk@23465 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 02:48:31 +00:00
law%netscape.com
870160dbf4 Adding support for various statusbar broadcasters
git-svn-id: svn://10.0.0.236/trunk@23464 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 02:42:29 +00:00
cmanske%netscape.com
9832b2e459 removed files: mozilla/xpfe/AppCores/src/nsEditorMode.cpp
git-svn-id: svn://10.0.0.236/trunk@23463 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 02:41:02 +00:00
cmanske%netscape.com
22f502cd7f Cleaned up editor inialization in EditoAppCore
git-svn-id: svn://10.0.0.236/trunk@23462 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 02:35:58 +00:00
mscott%netscape.com
21415a3793 make the folder pane black =)....
git-svn-id: svn://10.0.0.236/trunk@23461 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 02:17:16 +00:00
hyatt%netscape.com
2db15f8900 Oops. Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@23460 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 02:10:44 +00:00
despotdaemon%netscape.com
491fdefc01 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@23459 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:57:58 +00:00
terry%netscape.com
ef17928062 Was displaying junk for the branch name if a checkin wasn't allowed.
git-svn-id: svn://10.0.0.236/trunk@23458 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:52:32 +00:00
hyatt%netscape.com
9a6837ddd1 Fixing a bug.
git-svn-id: svn://10.0.0.236/trunk@23457 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:47:35 +00:00
hyatt%netscape.com
3762b96095 Adding support for XUL fragments to the content sink. (Work in
progress)


git-svn-id: svn://10.0.0.236/trunk@23456 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:45:53 +00:00
briano%netscape.com
ca209af80c Automated update
git-svn-id: svn://10.0.0.236/trunk@23455 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:45:41 +00:00
mscott%netscape.com
7fcb7c9321 Add more tests to the demo menu to allow folks to display messages from their Inbox.
git-svn-id: svn://10.0.0.236/trunk@23454 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:42:54 +00:00
alecf%netscape.com
c84fa01c70 don't #define MOZ_MAIL_NEWS, only set it in the make system
git-svn-id: svn://10.0.0.236/trunk@23453 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:41:09 +00:00
hyatt%netscape.com
4dd006de26 Landing the initial changes to support XUL fragments.
git-svn-id: svn://10.0.0.236/trunk@23452 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:37:31 +00:00
alecf%netscape.com
dff5073858 remove old cruft from ui (most moved into base)
git-svn-id: svn://10.0.0.236/trunk@23451 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:32:29 +00:00
alecf%netscape.com
9d23fe000f stop exporting stuff in this directory
git-svn-id: svn://10.0.0.236/trunk@23450 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:31:00 +00:00
jband%netscape.com
a825f73d7d adding Components object. Got rid of jsapi based nsID object and replaced it with reflected xpcom objects for IID and CID. adapted to xpt_struct changes. added allocator static helpers to the module. starting to use nsIComponentManager. fixed scriptable stuff. and on and on
git-svn-id: svn://10.0.0.236/trunk@23449 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:28:49 +00:00
alecf%netscape.com
2338455673 rev XPIDL-generated header files - now native #include's are no longer re-included!
git-svn-id: svn://10.0.0.236/trunk@23448 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:25:34 +00:00
rhp%netscape.com
1d1948a4e0 This change is needed to register libmime with netlib for parsing RFC822 messages.
git-svn-id: svn://10.0.0.236/trunk@23447 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:24:07 +00:00
alecf%netscape.com
7ed8242d7d add new source files that weren't being build on linux
git-svn-id: svn://10.0.0.236/trunk@23446 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:22:53 +00:00
alecf%netscape.com
51f3d54af3 #include the right file
git-svn-id: svn://10.0.0.236/trunk@23445 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:22:19 +00:00
alecf%netscape.com
39aed77c25 end in newline
git-svn-id: svn://10.0.0.236/trunk@23444 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:21:52 +00:00
vidur%netscape.com
7944b75ced Removed bogus addition of text for newlines
git-svn-id: svn://10.0.0.236/trunk@23443 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:19:35 +00:00
mscott%netscape.com
d77f43ff5b Changes for Linux builds.
git-svn-id: svn://10.0.0.236/trunk@23442 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:18:57 +00:00
vidur%netscape.com
2cf6b40bda Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem
git-svn-id: svn://10.0.0.236/trunk@23441 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:17:49 +00:00
mscott%netscape.com
089050a64d Fixes for makefiles on Linux
git-svn-id: svn://10.0.0.236/trunk@23440 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:17:48 +00:00
alecf%netscape.com
2cf4c284bc fix casting problems
git-svn-id: svn://10.0.0.236/trunk@23439 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:17:47 +00:00
alecf%netscape.com
cc1b5f77d9 uint -> PRUint32
git-svn-id: svn://10.0.0.236/trunk@23438 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:13:52 +00:00
alecf%netscape.com
2c0e5ce8fc export nsID.idl to get native types
git-svn-id: svn://10.0.0.236/trunk@23437 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:13:27 +00:00
michaelp%netscape.com
a699b49e4b factored code.
git-svn-id: svn://10.0.0.236/trunk@23435 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:03:03 +00:00
mscott%netscape.com
738e0cf71c Getting new mime change to run on Linux
git-svn-id: svn://10.0.0.236/trunk@23434 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:57:50 +00:00
sfraser%netscape.com
f867547c36 Put editor shared libs in the Components folder, and call the folder "Components", not "components".
git-svn-id: svn://10.0.0.236/trunk@23433 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:55:34 +00:00
mcafee%netscape.com
7ac72a2140 PRBool means use PR_FALSE/PR_TRUE. This breaks Solaris.
git-svn-id: svn://10.0.0.236/trunk@23432 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:53:29 +00:00
mscott%netscape.com
d58b486813 Updates to fix breakage caused by the big check in last night. In particular, update to use nsFilespec instead of nsFilePath. Use correct variable name for requesting the netlib queue service...
git-svn-id: svn://10.0.0.236/trunk@23431 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:43:58 +00:00
rhp%netscape.com
b3645fb2c7 Reworked an issue with includes to prevent compile problems with C & C++ code.
git-svn-id: svn://10.0.0.236/trunk@23430 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:36:39 +00:00
alecf%netscape.com
8021fac986 purify fix from bruce@cybersight.com - use delete[] rather than delete
git-svn-id: svn://10.0.0.236/trunk@23429 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:36:18 +00:00
alecf%netscape.com
9bb701d390 purify fixes from bruce@cybersight.com - use delete[] rather than delete
git-svn-id: svn://10.0.0.236/trunk@23428 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:35:16 +00:00
alecf%netscape.com
1bab895f15 purify fixes from bruce@cybersight.com - free memory the right way
git-svn-id: svn://10.0.0.236/trunk@23427 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:32:44 +00:00
alecf%netscape.com
c7c621d431 purify fixes from bruce@cybersight.com
use delete[] rather than delete


git-svn-id: svn://10.0.0.236/trunk@23426 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:31:59 +00:00
briano%netscape.com
15591a6649 Automated update
git-svn-id: svn://10.0.0.236/trunk@23425 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:30:41 +00:00
mcafee%netscape.com
63d1ddca8c Fixing Solaris/CC bustage.
git-svn-id: svn://10.0.0.236/trunk@23424 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:29:34 +00:00
akkana%netscape.com
c6464d3004 Fix UMR, caught with purify by bruce@portland.puremagic.com
git-svn-id: svn://10.0.0.236/trunk@23423 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:28:47 +00:00
donm%netscape.com
758efdc59e solaris gcc needs different command line options to link a
set of static libs into a shared lib.


git-svn-id: svn://10.0.0.236/trunk@23422 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:27:20 +00:00
waterson%netscape.com
89b60f7c29 Change class to clazz to get to compile in C++.
git-svn-id: svn://10.0.0.236/trunk@23421 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:22:22 +00:00
nhotta%netscape.com
56b9bce46c Added charset menu items in view menu.
git-svn-id: svn://10.0.0.236/trunk@23420 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:21:26 +00:00
slamm%netscape.com
11f1f88355 Give warning for 'make depend' with --enable-md.
git-svn-id: svn://10.0.0.236/trunk@23419 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:03:12 +00:00
pinkerton%netscape.com
7d7d82c1c1 new styles for expanding and collapsing folders
git-svn-id: svn://10.0.0.236/trunk@23418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:01:55 +00:00
sfraser%netscape.com
b82cb437b9 onConstruction -> onload
git-svn-id: svn://10.0.0.236/trunk@23417 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:00:06 +00:00
dougt%netscape.com
39d464c13c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@23416 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:59:16 +00:00
slamm%netscape.com
b9cb51bca5 Change 'name' array to 'build'. Looks like name is reserved or something.
git-svn-id: svn://10.0.0.236/trunk@23415 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:59:15 +00:00
mscott%netscape.com
6afb85812c Build nsMsgIdentity and nsMsgMailSession.
git-svn-id: svn://10.0.0.236/trunk@23414 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:52:24 +00:00
mscott%netscape.com
85638846b7 Export nsIMsgIdentity.h and nsIMsgMailSession.h.
git-svn-id: svn://10.0.0.236/trunk@23413 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:51:40 +00:00
waterson%netscape.com
c758ab8571 Made sure to initialize rv to NS_OK.
git-svn-id: svn://10.0.0.236/trunk@23412 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:51:34 +00:00
rods%netscape.com
81e01450a9 Added the handling for nsDragDropEvents for files
git-svn-id: svn://10.0.0.236/trunk@23411 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:51:29 +00:00
rods%netscape.com
22f6a4adb0 Added EnableDileDrop method
git-svn-id: svn://10.0.0.236/trunk@23410 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:50:40 +00:00
rods%netscape.com
0d03271f02 Added nsDragDropEvent
git-svn-id: svn://10.0.0.236/trunk@23409 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:50:18 +00:00
rods%netscape.com
bf53653ab4 Added File Drop
Now handling the WM_DROPFILE event


git-svn-id: svn://10.0.0.236/trunk@23408 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:48:58 +00:00
cata%netscape.com
9d06235a51 "extern" declaration for global vars fixed.
git-svn-id: svn://10.0.0.236/trunk@23407 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:48:10 +00:00
rods%netscape.com
d6db2acd54 Added method EnableFileDrop (temporary for D&D work)
git-svn-id: svn://10.0.0.236/trunk@23406 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:47:47 +00:00
rods%netscape.com
26dce0d4a2 Added Uuid.lib and OLE32.lib for drag & drop
git-svn-id: svn://10.0.0.236/trunk@23405 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:46:24 +00:00
rods%netscape.com
f7a274adef Added shell32.lib
git-svn-id: svn://10.0.0.236/trunk@23404 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:44:21 +00:00
rods%netscape.com
3f32fab8a0 Added nsDropTarget
git-svn-id: svn://10.0.0.236/trunk@23403 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:39:15 +00:00
rods%netscape.com
2d3986d90c initial checkin
git-svn-id: svn://10.0.0.236/trunk@23402 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:38:37 +00:00
mscott%netscape.com
adb3cd8520 Fix runtime breakage caused by changing nsFilePath to nsFileSpec.
git-svn-id: svn://10.0.0.236/trunk@23401 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:17:44 +00:00
cmanske%netscape.com
fc43b4f0d4 2nd try to get it right in get editor factory method
git-svn-id: svn://10.0.0.236/trunk@23400 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:06:16 +00:00
dougt%netscape.com
209f30f426 ack.
git-svn-id: svn://10.0.0.236/trunk@23399 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:06:11 +00:00
cmanske%netscape.com
70947d83ca Fixed editor registration and startup problems
git-svn-id: svn://10.0.0.236/trunk@23398 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:52:24 +00:00
cata%netscape.com
05e4d00784 Docs added.
git-svn-id: svn://10.0.0.236/trunk@23397 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:41:09 +00:00
dougt%netscape.com
eb1175b875 Added VR_ calls to the export list.
git-svn-id: svn://10.0.0.236/trunk@23396 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:39:09 +00:00
pinkerton%netscape.com
be80881964 fix minor goof in xptoolkit sample menu
git-svn-id: svn://10.0.0.236/trunk@23395 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:39:02 +00:00
putterman%netscape.com
7be07c5b29 use correct mailbox path.
git-svn-id: svn://10.0.0.236/trunk@23394 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:38:40 +00:00
putterman%netscape.com
921e359dbe use nsCRT string functions.
git-svn-id: svn://10.0.0.236/trunk@23393 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:38:22 +00:00
putterman%netscape.com
a8beb67c48 Added folder listener so we can run the mailbox parsing url.
git-svn-id: svn://10.0.0.236/trunk@23392 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:37:55 +00:00
putterman%netscape.com
623a8f0bf2 Added xplib.lib and added folderListener
git-svn-id: svn://10.0.0.236/trunk@23391 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:37:06 +00:00
rhp%netscape.com
d2857b91de Changes for autoregistration as well as the new stream converter
interface.


git-svn-id: svn://10.0.0.236/trunk@23390 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:37:03 +00:00
putterman%netscape.com
5c24751987 implement SetMessageKey
git-svn-id: svn://10.0.0.236/trunk@23389 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:36:24 +00:00
putterman%netscape.com
abae3a3095 OnAnnouncerGoingAway is abstract.
git-svn-id: svn://10.0.0.236/trunk@23388 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:35:57 +00:00
troy%netscape.com
aa06c3716c Some more table pagination improvements
git-svn-id: svn://10.0.0.236/trunk@23387 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:34:51 +00:00
putterman%netscape.com
2a470cbde5 Added folder listener.
git-svn-id: svn://10.0.0.236/trunk@23386 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:34:29 +00:00
mcmullen%netscape.com
2b21b06cb7 Turning on dougt's special system directory stuff, and adding it to the Macintosh build. Fixed spurious leading slash on getting leaf name (win and unix). Adding dougt's equality test operator, too. Adding dougt's test code for all the above.
git-svn-id: svn://10.0.0.236/trunk@23385 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:33:36 +00:00
akkana%netscape.com
d966254b07 fixing merge problem of windows not looking for components in components directory - dp & akkana
git-svn-id: svn://10.0.0.236/trunk@23384 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:18:32 +00:00
pinkerton%netscape.com
c4117f80e5 make the personal toolbar buttons more mozilla centric, even if everything else is blatant NSCP drug money.
git-svn-id: svn://10.0.0.236/trunk@23383 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:13:36 +00:00
michaelp%netscape.com
9a8800e96b added background image.
made one table relatively positioned.
added opacity to transparent scrolled table.


git-svn-id: svn://10.0.0.236/trunk@23382 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:12:20 +00:00
michaelp%netscape.com
81f9258975 added nsIClipView.h
added support for getting/setting scroll properties in scrollable view so
that the app can control whether scrolling should be accomplished via
blitting or painting.
more work in progress for the new compositor.


git-svn-id: svn://10.0.0.236/trunk@23381 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:10:31 +00:00
michaelp%netscape.com
cd37a865bf added blender method that takes rendering contexts.
added LockDrawingSurface() and UnlockDrawingSurface() to rendering
context.
fixed state maintenance errors in rendering context win.
added IsReleaseDCDestructive() to drawingsurfacewin.


git-svn-id: svn://10.0.0.236/trunk@23380 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:07:06 +00:00
pinkerton%netscape.com
66fec9010c added xptoolkit tree test 1 to menus
git-svn-id: svn://10.0.0.236/trunk@23379 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:06:38 +00:00
rjc%netscape.com
35eea039ba Comment out PR_ASSERT() due to assert/unassert now actually being called.
git-svn-id: svn://10.0.0.236/trunk@23378 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:06:29 +00:00
pinkerton%netscape.com
cd2e93001b add spiffy header
git-svn-id: svn://10.0.0.236/trunk@23377 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:03:38 +00:00
pinkerton%netscape.com
fbb00b246c Add case for xptoolkit tree demo and fix missing break statement at end of toolbar demo case that would always cause JS window to appear. doh!
git-svn-id: svn://10.0.0.236/trunk@23376 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:03:18 +00:00
pinkerton%netscape.com
67297e8d73 add define for xptoolkit tree demo
git-svn-id: svn://10.0.0.236/trunk@23375 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:02:25 +00:00
pinkerton%netscape.com
d475b76dfa add new tree sample
git-svn-id: svn://10.0.0.236/trunk@23374 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:01:28 +00:00
hyatt%netscape.com
47a81994c3 Fixing a bug with selection in the tree view.
git-svn-id: svn://10.0.0.236/trunk@23373 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 21:58:06 +00:00
slamm%netscape.com
e6258c5d6d -MD depend: Putting objects on PHONY target didn't work. Use 'FORCE' dependency instead.
git-svn-id: svn://10.0.0.236/trunk@23372 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 21:56:44 +00:00
pinkerton%netscape.com
7dcd005c44 export the first tree test xul/css files
git-svn-id: svn://10.0.0.236/trunk@23371 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 21:55:22 +00:00
pinkerton%netscape.com
54b3b30385 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@23370 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 21:53:01 +00:00
shaver%netscape.com
79e4108e56 #include "nsID.idl" to get the nsID/nsIID/nsCID defines in other IDL, not just C++
git-svn-id: svn://10.0.0.236/trunk@23369 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 21:50:55 +00:00
putterman%netscape.com
e6ceda4543 Added selection color. Removed Local Mail from thread pane.
git-svn-id: svn://10.0.0.236/trunk@23368 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 21:49:35 +00:00
dp%netscape.com
4cfc093823 registry version to 0.40 for component manager change
git-svn-id: svn://10.0.0.236/trunk@23366 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 21:31:33 +00:00
slamm%netscape.com
419c65d22c Clean-up some output. Add link for 'Show next X hours' instead of 'Show more checkin history'. Skip dates that are in the future.
git-svn-id: svn://10.0.0.236/trunk@23365 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 21:30:02 +00:00
mscott%netscape.com
4024e89953 Fix crash when displaying thread pane. This fix is really scottip's.
git-svn-id: svn://10.0.0.236/trunk@23364 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 21:28:48 +00:00
ramiro%netscape.com
2c2e1e8b02 Fix windows bustage. Why doesnt this file build on other platforms ?
git-svn-id: svn://10.0.0.236/trunk@23363 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 21:22:03 +00:00
dougt%netscape.com
d22687b856 Stripping additional access paths.
git-svn-id: svn://10.0.0.236/trunk@23362 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 21:03:39 +00:00
despotdaemon%netscape.com
4d5cb73c21 Pseudo-automatic update of changes made by dmose@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@23361 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 20:59:53 +00:00
dougt%netscape.com
da242762c8 remove libutil references.
git-svn-id: svn://10.0.0.236/trunk@23360 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 20:58:29 +00:00
terry%netscape.com
4796c85fe7 Use new lxr links.
git-svn-id: svn://10.0.0.236/trunk@23359 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 20:57:24 +00:00
dougt%netscape.com
06cbe39c3f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@23358 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 20:57:17 +00:00
jfrancis%netscape.com
8e01fb29f9 catching up with nsComponentManager and getting rid of cout usage
git-svn-id: svn://10.0.0.236/trunk@23357 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 20:11:27 +00:00
slamm%netscape.com
0cf3821a9e Fix typo. s/AC_DEFINES/ACDEFINES/
git-svn-id: svn://10.0.0.236/trunk@23356 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 20:11:05 +00:00
dougt%netscape.com
3d7a22afdc Fixes compare from int to ptr. ANSI C++ does not like that.
git-svn-id: svn://10.0.0.236/trunk@23355 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 20:10:20 +00:00
jfrancis%netscape.com
fc33b92b99 including header
git-svn-id: svn://10.0.0.236/trunk@23354 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 20:04:59 +00:00
shaver%netscape.com
5ea64cbf54 Handle nsID, nsIID and nsCID via a custom string-compare hack. (Ugly, but we
need 0.6.3 for a better fix, and this'll do for now.)
When sorting IDEs, sort entries with identical IIDs by namespace::name.


git-svn-id: svn://10.0.0.236/trunk@23353 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:59:42 +00:00
alecf%netscape.com
f9e44dfc1b - move messenger appcore into the base mailnews directory
- do appcore initialization during Initialize() in messenger bootstrap


git-svn-id: svn://10.0.0.236/trunk@23352 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:58:17 +00:00
slamm%netscape.com
80490954a5 I broke it. ...again. back out, back out.
git-svn-id: svn://10.0.0.236/trunk@23351 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:57:13 +00:00
alecf%netscape.com
a41ca7385c stop building the seperate messenger appcore
git-svn-id: svn://10.0.0.236/trunk@23350 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:56:53 +00:00
slamm%netscape.com
864abe3c76 Shorten the output a bit more.
git-svn-id: svn://10.0.0.236/trunk@23349 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:53:31 +00:00
alecf%netscape.com
3243351c34 export NS_InitBaseAppCoreClass so that appcores outside this DLL can initialize themselves
(Yes, I know this is a generated file, but this is how it needs to work right now, otherwise
appcores can't live outside appcores.dll)


git-svn-id: svn://10.0.0.236/trunk@23348 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:53:19 +00:00
terry%netscape.com
ce3b1dddbf Patch by Ry4an Brase <ry4an@ry4an.org> -- fix typo.
git-svn-id: svn://10.0.0.236/trunk@23347 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:52:18 +00:00
dougt%netscape.com
b22394cd3e First checkin of unix makefile.
git-svn-id: svn://10.0.0.236/trunk@23346 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:31:55 +00:00
hyatt%netscape.com
8588377965 Fixes to the broadcasters and observers. I made HTML elements work with
observes nodes, and I changed some SetAttribute calls to use the DOM
instead of the nsIContent APIs.


git-svn-id: svn://10.0.0.236/trunk@23345 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:30:41 +00:00
nhotta%netscape.com
db418a9816 Implementation of SetDocumentCharset.
git-svn-id: svn://10.0.0.236/trunk@23344 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:24:28 +00:00
jfrancis%netscape.com
772f3287c8 integrated with content iterator
git-svn-id: svn://10.0.0.236/trunk@23343 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:22:48 +00:00
jfrancis%netscape.com
fb0583ffb5 reordered link order so that cout would work
git-svn-id: svn://10.0.0.236/trunk@23342 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:22:00 +00:00
jfrancis%netscape.com
a3a451200f fixed refcounting bugs
git-svn-id: svn://10.0.0.236/trunk@23341 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:21:30 +00:00
jfrancis%netscape.com
928892f905 fixed refcounting bugs plus a little cleanup
git-svn-id: svn://10.0.0.236/trunk@23340 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:21:04 +00:00
ramiro%netscape.com
f05974cb48 Use the macro on all platforms. Thanks to pierre for helping me make sure
it doesnt break the mac.  I verified that it works on unix and windows.


git-svn-id: svn://10.0.0.236/trunk@23339 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:19:02 +00:00
troy%netscape.com
c954953e18 Better handles the case where the first row is complete when splitting
the row group


git-svn-id: svn://10.0.0.236/trunk@23338 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 15:35:43 +00:00
troy%netscape.com
5f577fe103 Changed it so we get the computed width from the first-in-flow
git-svn-id: svn://10.0.0.236/trunk@23337 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 15:35:08 +00:00
terry%netscape.com
3bb49a53cf Added a disgusting hack to deal with the fact that we can occasionally get builds with wildly wrong times.
git-svn-id: svn://10.0.0.236/trunk@23336 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 15:22:09 +00:00
warren%netscape.com
2d6102e5e6 Fixed prefs code.
git-svn-id: svn://10.0.0.236/trunk@23335 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 15:06:52 +00:00
warren%netscape.com
5d0cd73d0a Include problem.
git-svn-id: svn://10.0.0.236/trunk@23334 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 14:44:24 +00:00
warren%netscape.com
68843d63a2 Re-enabled the prefs.js stuff.
git-svn-id: svn://10.0.0.236/trunk@23333 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 14:20:30 +00:00
warren%netscape.com
6769b3f0ef Implemented virtuals in cpp file to try to avoid linux pedantic error.
git-svn-id: svn://10.0.0.236/trunk@23332 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 14:09:11 +00:00
warren%netscape.com
5e1f310167 PR_ASSERT wasn't defined for the mac.
git-svn-id: svn://10.0.0.236/trunk@23331 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 14:03:56 +00:00
warren%netscape.com
015051d6b3 Fixed registration methods.
git-svn-id: svn://10.0.0.236/trunk@23330 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 13:23:36 +00:00
warren%netscape.com
8519161b55 fixed include problem
git-svn-id: svn://10.0.0.236/trunk@23329 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 13:07:15 +00:00
warren%netscape.com
b40f054bad Fixed include
git-svn-id: svn://10.0.0.236/trunk@23328 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 12:53:21 +00:00
warren%netscape.com
0f71af4fee Fixed nsService problems.
git-svn-id: svn://10.0.0.236/trunk@23327 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 12:49:38 +00:00
warren%netscape.com
6d47974e30 Fixed nsRepository -> nsComponentManager
git-svn-id: svn://10.0.0.236/trunk@23326 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 12:43:27 +00:00
warren%netscape.com
72d0dbfbc8 Fixed return.
git-svn-id: svn://10.0.0.236/trunk@23325 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 12:36:13 +00:00
warren%netscape.com
9309a7b8fb Fixed include problem.
git-svn-id: svn://10.0.0.236/trunk@23324 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 12:34:01 +00:00
warren%netscape.com
d62d4a9f0b Removed nsService stuff.
git-svn-id: svn://10.0.0.236/trunk@23323 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 12:29:08 +00:00
warren%netscape.com
0a5af143e2 Fixed include problem.
git-svn-id: svn://10.0.0.236/trunk@23322 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 12:16:34 +00:00
warren%netscape.com
b36740faf3 Backed out nsService changes.
git-svn-id: svn://10.0.0.236/trunk@23321 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 11:53:02 +00:00
warren%netscape.com
e082c74dc0 Backed out the nsService template stuff.
git-svn-id: svn://10.0.0.236/trunk@23320 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 11:49:41 +00:00
warren%netscape.com
345056e941 Fixed variable name problem.
git-svn-id: svn://10.0.0.236/trunk@23319 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 11:42:48 +00:00
warren%netscape.com
f8ef3e9349 Removed nsService template.
git-svn-id: svn://10.0.0.236/trunk@23318 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 11:12:52 +00:00
warren%netscape.com
3a95261810 Commented out template because linux isn't happy with it.
git-svn-id: svn://10.0.0.236/trunk@23317 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 11:12:23 +00:00
warren%netscape.com
7392983e7b Fixed exports for nsRepository -> nsComponentManager
git-svn-id: svn://10.0.0.236/trunk@23316 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 10:51:12 +00:00
warren%netscape.com
c6559126d6 Fixed path separator.
git-svn-id: svn://10.0.0.236/trunk@23315 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 10:20:01 +00:00
warren%netscape.com
47efd8d451 Trying a hack to see if I can make linux happy.
git-svn-id: svn://10.0.0.236/trunk@23314 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 10:15:54 +00:00
warren%netscape.com
291c802a13 Workaround for sun386i breakage.
git-svn-id: svn://10.0.0.236/trunk@23313 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 10:07:02 +00:00
warren%netscape.com
de7b75d07f nsRepository -> nsIComponentManager changes. nsIMsgDatabase interface. Message enumerators. Misc.
git-svn-id: svn://10.0.0.236/trunk@23303 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:52:30 +00:00
mcafee%netscape.com
529189e540 Protect against a copy of zero characters (zero-length buffer)
git-svn-id: svn://10.0.0.236/trunk@23302 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:49:32 +00:00
warren%netscape.com
055216c4b1 Added nsComponentManager.cpp
git-svn-id: svn://10.0.0.236/trunk@23301 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:47:12 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
shaver%netscape.com
e294264814 turn off more debugging noise and prepare for 0.6.2's forward handling
git-svn-id: svn://10.0.0.236/trunk@23298 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 08:23:00 +00:00
waterson%netscape.com
95a9f4d99f Fixed GetElementsByAttribute(): use the DOM APIs to be consistent with namespaces.
git-svn-id: svn://10.0.0.236/trunk@23297 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 08:10:50 +00:00
waterson%netscape.com
52da7b7d32 Made widget observer observe the composite data source.
git-svn-id: svn://10.0.0.236/trunk@23296 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 08:05:26 +00:00
nisheeth%netscape.com
a9b7621b74 - Quoted all attributes.
- Fixed casing on the end BookSet tag.  (The expat parser enforces case-sensitivity in XML)


git-svn-id: svn://10.0.0.236/trunk@23295 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 07:44:47 +00:00
nisheeth%netscape.com
bbb4dffad0 - We weren't adding the tag text to the token created for the end tag. Fixed.
- Tokens for CDATA sections were not being created.  Fixed.
- The length of the parse buffer is passed into ParseXMLBuffer() because it is available from the scanner.  We were doing a strlen() to determine the length which was inefficient.


git-svn-id: svn://10.0.0.236/trunk@23294 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 07:39:04 +00:00
pierre%netscape.com
1c05e162b4 added menu command VIEWER_PRINT_SETUP
git-svn-id: svn://10.0.0.236/trunk@23293 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 06:39:50 +00:00
mcafee%netscape.com
ebf32a0f5d Adding Edit|{Cut,Copy,Paste} to menubar.
git-svn-id: svn://10.0.0.236/trunk@23292 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 06:04:38 +00:00
pierre%netscape.com
7be0666585 don't dispatch mouseMoved events when Raptor is in the background
git-svn-id: svn://10.0.0.236/trunk@23291 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 05:46:01 +00:00
pierre%netscape.com
dd5b567297 dispatch suspend/resume events to Raptor
git-svn-id: svn://10.0.0.236/trunk@23290 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 05:44:47 +00:00
troy%netscape.com
39e58ce72d Overflow code and pushing code now take header/footer frames into
account


git-svn-id: svn://10.0.0.236/trunk@23289 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 05:29:37 +00:00
troy%netscape.com
d3a15268a2 Better handling of NS_FRAME_NOT_COMPLETE for incremental reflow
git-svn-id: svn://10.0.0.236/trunk@23288 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 05:28:44 +00:00
wtc%netscape.com
35f5c7deeb Another update from the internal CVS repository /m/src.
git-svn-id: svn://10.0.0.236/trunk@23284 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 05:12:06 +00:00
troy%netscape.com
144854728c Made sure NS_FRAME_COMPLETE is always returned. This fixes an incremental
reflow problem


git-svn-id: svn://10.0.0.236/trunk@23283 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 05:11:14 +00:00
terry%netscape.com
3367b1fec2 Added a disgusting hack to deal with the fact that we can occasionally get builds with wildly wrong times.
git-svn-id: svn://10.0.0.236/trunk@23282 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 05:07:50 +00:00
troy%netscape.com
d6693ebf08 Fixed it so that for incremental reflow commands the correct value is
passed for the available height


git-svn-id: svn://10.0.0.236/trunk@23281 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 05:01:59 +00:00
pierre%netscape.com
ea645514fc fixed crash on delete (the OS deleted the menu a second time)
git-svn-id: svn://10.0.0.236/trunk@23280 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 05:01:45 +00:00
despotdaemon%netscape.com
2ca1ed560a Pseudo-automatic update of changes made by nisheeth@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@23279 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 04:47:32 +00:00
pierre%netscape.com
c8d2b0a41d added menu commands VIEWER_GFX_WIDGET_MODE and VIEWER_NATIVE_WIDGET_MODE
git-svn-id: svn://10.0.0.236/trunk@23278 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 04:39:50 +00:00
mcafee%netscape.com
afe16f3c08 Adding install target for purify binaries
git-svn-id: svn://10.0.0.236/trunk@23277 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 04:21:51 +00:00
pierre%netscape.com
1fde015542 fixed display in SetSelectedIndices()
git-svn-id: svn://10.0.0.236/trunk@23276 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 04:11:25 +00:00
pierre%netscape.com
92ee6edde8 fixed index off by 1 in GetSelectedIndex()
git-svn-id: svn://10.0.0.236/trunk@23275 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 04:10:33 +00:00
mccabe%netscape.com
783ac85782 Chop xptinfo from the list of sub-Makes built by libxpt during coding
thrash.


git-svn-id: svn://10.0.0.236/trunk@23274 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 04:10:30 +00:00
waterson%netscape.com
f856b93c1d Land Guha's history stuff, including some fixes for references in the file system data source, and modifications for literals: there's now nsIntLiteral and nsDateLiteral.
git-svn-id: svn://10.0.0.236/trunk@23273 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 04:01:56 +00:00
mscott%netscape.com
cfbb447bcb Sending a message no longer requires a host and from field because we can now extract that information from the current identity.
git-svn-id: svn://10.0.0.236/trunk@23269 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 03:06:59 +00:00
pierre%netscape.com
f2f9218b22 Fixed #2253 "Copy and Paste in text widget"
Fixed double-click


git-svn-id: svn://10.0.0.236/trunk@23268 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 02:58:14 +00:00
alecf%netscape.com
49198778c3 use Messenger's CID rather than ProgID because I can't seem to create objects
by ProgID (looks like ProgID->CID mapping is broken)


git-svn-id: svn://10.0.0.236/trunk@23267 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 02:51:25 +00:00
coop%netscape.com
093d2cdff1 NOT YET PART OF SEAMONKEY:
* initial pass at handling the update of interface indices.


git-svn-id: svn://10.0.0.236/trunk@23266 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 02:51:22 +00:00
brendan%netscape.com
c3911df063 Must use defined XP_UNIX, not XP_UNIX, as #elif condition.
git-svn-id: svn://10.0.0.236/trunk@23265 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 02:46:23 +00:00
terry%netscape.com
a5535f79dd Added params to control how priorities are set in a new bug. You can
now choose whether to let submitters of new bugs choose a priority, or whether
they should just accept the default priority (which is now no longer hardcoded
to "P2", but is instead a param.)  The default value of the params will cause
the same behavior as before.


git-svn-id: svn://10.0.0.236/trunk@23264 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 02:33:58 +00:00
dveditz%netscape.com
7680dbd368 initial libjar files, NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@23259 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 02:13:56 +00:00
ducarroz%netscape.com
280626b090 make the file conform to the new norm
git-svn-id: svn://10.0.0.236/trunk@23258 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 02:05:29 +00:00
ducarroz%netscape.com
a756229510 add definition for MSG_CommandType
git-svn-id: svn://10.0.0.236/trunk@23257 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 02:01:16 +00:00
ftang%netscape.com
0fed7fd34e add katakana, hiragana, katakana-iroha, hiragana-iroha, lower-greek
git-svn-id: svn://10.0.0.236/trunk@23256 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:56:02 +00:00
rjc%netscape.com
bf378b4e8e Add selection and column sortActive/sortDirection observation support. (Thanks, David!)
git-svn-id: svn://10.0.0.236/trunk@23255 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:54:46 +00:00
pierre%netscape.com
60b773385b Register CharsetAlias. Fixed by ftang on my machine.
git-svn-id: svn://10.0.0.236/trunk@23254 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:50:03 +00:00
briano%netscape.com
8bb9a84b60 Automated update
git-svn-id: svn://10.0.0.236/trunk@23253 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:45:41 +00:00
mscott%netscape.com
c57452593c Add ability to generate a mail session to this factory.
git-svn-id: svn://10.0.0.236/trunk@23252 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:39:05 +00:00
mscott%netscape.com
3a4bc49ec9 Build nsMsgMailSession and nsMsgIdentity.
git-svn-id: svn://10.0.0.236/trunk@23251 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:37:41 +00:00
mscott%netscape.com
2221feaddb Shell for a msg mail session. Folks will add to this as they need to.
git-svn-id: svn://10.0.0.236/trunk@23250 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:36:17 +00:00
pinkerton%netscape.com
f5f59adcee Add debug code to point out a bug #3505 with display:none and frames. Fix bug #3451 with grippies not working when toolbars not at top of window. Not creating atoms every time we expand/collapse toolbars.
git-svn-id: svn://10.0.0.236/trunk@23249 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:36:11 +00:00
mscott%netscape.com
e4bfe1fdb5 First pass implementation of a mail identity. Right now we just read out these values from prefs.js in the current working directory. This is a dogfood implementation and will change drastically when we really do implement multiple identities.
git-svn-id: svn://10.0.0.236/trunk@23248 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:35:44 +00:00
mscott%netscape.com
73a0e8c5f4 Export nsIMsgIdentity.h and nsIMsgMailSession.h
git-svn-id: svn://10.0.0.236/trunk@23247 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:33:36 +00:00
mscott%netscape.com
9ebeb941ee A mail session interface. Right now it is empty except for the current identity. As people need to add thinks to the mail session, I expect this to grow. Oh it is a singleton object and you should go through the service manager to obtain it.
git-svn-id: svn://10.0.0.236/trunk@23246 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:33:08 +00:00
mscott%netscape.com
ca27daab72 A first pass at a generic mail identity interface. Right now, I'm using this to organize a lot of mail server & password preferences for dogfood.
git-svn-id: svn://10.0.0.236/trunk@23245 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:32:16 +00:00
slamm%netscape.com
6c6f03f34b Have -MD dependencies cope will missing headerfiles.
git-svn-id: svn://10.0.0.236/trunk@23244 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:31:26 +00:00
slamm%netscape.com
cf94a899f1 Give error if building in objdir and have previously built in srcdir. Move '-Wall' and '-include' to GNU-only section (silly to test for GNU-only features). Change '-MMD' to '-MD' to include standard headers. Clean '-O' from CFLAGS/CXXFLAGS if MOZ_DEBUG is set.
git-svn-id: svn://10.0.0.236/trunk@23243 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:30:26 +00:00
slamm%netscape.com
fe1818cd07 Move AC_INCLUDE_OR_DEFINES into OS_CFLAGS/OS_CXXFLAGS.
git-svn-id: svn://10.0.0.236/trunk@23242 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:30:00 +00:00
slamm%netscape.com
f9468ca12f Move '-O' stripping into configure. Move compile-line defines into configure.
git-svn-id: svn://10.0.0.236/trunk@23241 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:29:57 +00:00
slamm%netscape.com
6012bdaf3a Script converts .mozconfig.sh into a url to prefill configurator web form. Will be used by client.mk
git-svn-id: svn://10.0.0.236/trunk@23240 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:29:53 +00:00
slamm%netscape.com
824d688eb0 Script to clean out all 'configure' generated files.
git-svn-id: svn://10.0.0.236/trunk@23239 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:29:50 +00:00
briano%netscape.com
c8edb6c46b Fixed the permission problem with nsinstall'd binary files, and added rules to make
sure shared libraries also get copied into $(DIST)/lib (where they're *supposed* to go).


git-svn-id: svn://10.0.0.236/trunk@23238 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:20:03 +00:00
cmanske%netscape.com
27e7a5fcf3 Added registration of editor factory classes to NS_SetupRegistry
git-svn-id: svn://10.0.0.236/trunk@23237 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:17:21 +00:00
chuang%netscape.com
a912bbcc6a Move throbber to the right, add MsgHome() function.
git-svn-id: svn://10.0.0.236/trunk@23236 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:15:00 +00:00
slamm%netscape.com
839d83ac54 Quiet mac warnings.
git-svn-id: svn://10.0.0.236/trunk@23235 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:10:59 +00:00
slamm%netscape.com
d3ff196119 Add source tree navigation tool.
git-svn-id: svn://10.0.0.236/trunk@23234 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:07:00 +00:00
despotdaemon%netscape.com
03cb24e8aa Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@23233 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 01:06:41 +00:00
rpotts%netscape.com
7936c5d6dc fix for bug #3507. Also replaced raw comparse of nsresult == NS_OK with NS_FAILED(...) or NS_SUCCEEDED(...) macros...
git-svn-id: svn://10.0.0.236/trunk@23232 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 00:54:07 +00:00
dougt%netscape.com
2eb050c4c0 Removed InstallFolder Object - just using nsStrings now.
Now creating tempfiles for ZIP calls
hooked up to nsSpecialSystemDirectory
cleaned up Install() api


git-svn-id: svn://10.0.0.236/trunk@23231 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 00:50:23 +00:00
briano%netscape.com
aa7c81207d Fixed my stupid mistake (theoretically) and increased the test timeout to 45 seconds.
git-svn-id: svn://10.0.0.236/trunk@23230 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 00:44:04 +00:00
vidur%netscape.com
feb7c9a586 Table of contents example
git-svn-id: svn://10.0.0.236/trunk@23229 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 00:36:54 +00:00
briano%netscape.com
35cdf04fde Automated update
git-svn-id: svn://10.0.0.236/trunk@23228 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 00:30:47 +00:00
akkana%netscape.com
905d55aca8 Changes to fix the Irix N32/egcs build; thanks to Jason Heirtzler <jasonh@cthulhu.engr.sgi.com>
git-svn-id: svn://10.0.0.236/trunk@23227 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 00:24:17 +00:00
briano%netscape.com
9f121d0ce7 More fixes, and I added a silly hack to show what compiler is being used.
git-svn-id: svn://10.0.0.236/trunk@23226 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 00:15:46 +00:00
cmanske%netscape.com
e5c4ce24e9 Removed unused code in editor appcore and cleaned up factory registration
git-svn-id: svn://10.0.0.236/trunk@23225 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 00:05:27 +00:00
ebina%netscape.com
4ee08fa4f8 Changes to make the Mac not complain so much.
git-svn-id: svn://10.0.0.236/trunk@23224 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 00:04:34 +00:00
mscott%netscape.com
3087e391db Fix build breakage caused by ebina when he changed nsINetPluginInstance. Looks like nsINetPluginInstance::Initialize() now takes two arguments.
git-svn-id: svn://10.0.0.236/trunk@23221 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 23:44:22 +00:00
cmanske%netscape.com
a5258195f0 Removed registration code now done by NSRegisterSelf for editor classes
git-svn-id: svn://10.0.0.236/trunk@23218 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:52:03 +00:00
cmanske%netscape.com
c89001dcbb Removed registration code no done by NSRegisterSelf for editor classes
git-svn-id: svn://10.0.0.236/trunk@23217 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:51:58 +00:00
cmanske%netscape.com
dea2088bcb Fixed editor classes to do autoregistration correctly and moved target directory to bin/components
git-svn-id: svn://10.0.0.236/trunk@23216 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:46:33 +00:00
akkana%netscape.com
1bc5a98e62 Hook up a debug implementation of paste
git-svn-id: svn://10.0.0.236/trunk@23215 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:45:56 +00:00
pinkerton%netscape.com
ff75f4321a adding debug printf to see when toolbar frames are being deleted. I don't think they are when display is set to none.
git-svn-id: svn://10.0.0.236/trunk@23214 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:44:44 +00:00
pinkerton%netscape.com
5941299154 fix attribute selector for grippies to actually trigger when grippies clicked on.
git-svn-id: svn://10.0.0.236/trunk@23213 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:44:06 +00:00
pinkerton%netscape.com
c543412c2d fix bug where if I didn't check if the first child frame was null during reflow.
git-svn-id: svn://10.0.0.236/trunk@23212 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:43:48 +00:00
val4%cornell.edu
65f58bdd75 Some changes here and there. Added noted about PerlConnect.pm. Added update history.
git-svn-id: svn://10.0.0.236/trunk@23211 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:43:17 +00:00
cyeh%netscape.com
c746e96df5 pdbfiles have a ".pdb" at the end.
git-svn-id: svn://10.0.0.236/trunk@23210 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:40:17 +00:00
cyeh%netscape.com
5907555ee7 change MOZ_DEBUGOPT config to not generate PDB files.
git-svn-id: svn://10.0.0.236/trunk@23209 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:38:33 +00:00
dp%netscape.com
722542857b adding new exported NR_*Raw() symbols
git-svn-id: svn://10.0.0.236/trunk@23208 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:10:18 +00:00
hyatt%netscape.com
909350643f Putting the extra items into the bookmarks menu.
git-svn-id: svn://10.0.0.236/trunk@23207 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:09:34 +00:00
ebina%netscape.com
40e1602a4b Add the stream name (URL string) to the nsINetPluginInstance
interface in the Initialize method.


git-svn-id: svn://10.0.0.236/trunk@23206 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 21:57:35 +00:00
alecf%netscape.com
abafe271de patches from cmanske@netscape.com - use NS_IMETHODIMP* macros instead of declaring nsrefcnt/etc directly
git-svn-id: svn://10.0.0.236/trunk@23205 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 21:34:16 +00:00
shaver%netscape.com
4881717cd5 ignore generated files
git-svn-id: svn://10.0.0.236/trunk@23204 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 21:27:03 +00:00
shaver%netscape.com
30f497ae66 Turn off debugging noise for myself.
Parse IIDs, and handle the unspecified case (= 0).
Sort IDE block like a good boy (all hail qsort).
Follow typedefs to make the right thing happen.
Hide [notxpcom] methods, and don't munge their signatures with _retval, etc.


git-svn-id: svn://10.0.0.236/trunk@23203 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 21:22:29 +00:00
coop%netscape.com
3371ff5105 NOT YET PART OF SEAMONKEY:
* linker now sorts based on IIDs
* xpt_dump no longer complains about md->result if it is of the correct retval type


git-svn-id: svn://10.0.0.236/trunk@23202 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 21:13:58 +00:00
shaver%netscape.com
26b1439250 display method flags, handle bogus indices
git-svn-id: svn://10.0.0.236/trunk@23201 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 21:11:08 +00:00
tague%netscape.com
b53730d1aa Fixed build bustage (lost const)
git-svn-id: svn://10.0.0.236/trunk@23198 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 21:02:35 +00:00
terry%netscape.com
6d26142980 Changed some QA contacts.
git-svn-id: svn://10.0.0.236/trunk@23197 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 20:47:51 +00:00
dp%netscape.com
b73886f588 Using Raw registry interface so that component urls and filename can be stored without transformation of / and =
git-svn-id: svn://10.0.0.236/trunk@23196 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 20:40:32 +00:00
dp%netscape.com
52090316db Adding Raw interface that wont interpret / in keynames. Plus removed = being a invalid char for keys.
git-svn-id: svn://10.0.0.236/trunk@23195 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 20:35:54 +00:00
shaver%netscape.com
b03b382f3e Make params include the name of the interface referenced.
git-svn-id: svn://10.0.0.236/trunk@23194 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 20:33:35 +00:00
alecf%netscape.com
6083b1d43d fix g++ -pedantic bustage
git-svn-id: svn://10.0.0.236/trunk@23193 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 20:18:53 +00:00
mscott%netscape.com
18ee545010 Call close on the mail database instead of release.
git-svn-id: svn://10.0.0.236/trunk@23192 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 20:10:14 +00:00
mscott%netscape.com
d3b260a630 Call close on the mail database instead of release....
git-svn-id: svn://10.0.0.236/trunk@23191 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 20:09:42 +00:00
ftang%netscape.com
768862e631 reviewed by rickg. Pick up meta tag and change converter
git-svn-id: svn://10.0.0.236/trunk@23190 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 20:00:23 +00:00
mscott%netscape.com
566f776df0 When setting the byte range based on the message size subtract one byte (this gives it the proper byte range in the file...).
git-svn-id: svn://10.0.0.236/trunk@23189 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:53:10 +00:00
bienvenu%netscape.com
7172f6d57d fix db cache lookup bug
git-svn-id: svn://10.0.0.236/trunk@23188 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:50:24 +00:00
coop%netscape.com
60b95e8294 NOT YET PART OF SEAMONKEY:
* changing references to interfaces (within structs) to be indices rather than pointers
* updated xpt_dump and xpt_link code to reflect above change


git-svn-id: svn://10.0.0.236/trunk@23187 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:47:09 +00:00
kipp%netscape.com
641a7a7202 Implement GetFrameName
git-svn-id: svn://10.0.0.236/trunk@23186 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:26:45 +00:00
kipp%netscape.com
0750860714 setup more skid marks (disabled)
git-svn-id: svn://10.0.0.236/trunk@23185 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:26:30 +00:00
kipp%netscape.com
b37f5e28cc Added a skid mark (disabled)
git-svn-id: svn://10.0.0.236/trunk@23184 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:26:09 +00:00
kipp%netscape.com
00cb1a62f1 added some nasty logging messages for frames that don't set max-element-size; added more vertical alignment noise
git-svn-id: svn://10.0.0.236/trunk@23183 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:25:55 +00:00
kipp%netscape.com
0ed15663ec added some nasty logging messages for frames that don't set max-element-size
git-svn-id: svn://10.0.0.236/trunk@23182 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:25:18 +00:00
kipp%netscape.com
f8ee65e4d3 Copy out computed combined area even when dealing with an zero height block; added some nasty logging messages for frames that don't set max-element-size
git-svn-id: svn://10.0.0.236/trunk@23181 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:25:03 +00:00
kipp%netscape.com
566d18356c Compute combined-area more sanely; handle another nasty top margin bug (1910)
git-svn-id: svn://10.0.0.236/trunk@23180 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:24:07 +00:00
kipp%netscape.com
c60c176227 Removed a duplicated method; moved by debug asserts into a central spot
git-svn-id: svn://10.0.0.236/trunk@23179 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:22:55 +00:00
kipp%netscape.com
0547776b90 Fixed bug #2052 - don't adjust the height when its computed
git-svn-id: svn://10.0.0.236/trunk@23178 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:22:16 +00:00
kipp%netscape.com
3aaf74d39a Fixed a build issue
git-svn-id: svn://10.0.0.236/trunk@23177 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 19:21:44 +00:00
ramiro%netscape.com
ea36063fa0 Cannot forward declare a class used with an nsCOMPtr.
see: http://www.mozilla.org/projects/xpcom/nsCOMPtr.html


git-svn-id: svn://10.0.0.236/trunk@23176 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 18:57:21 +00:00
nisheeth%netscape.com
a81177003d Checking in the first stab at error propagation from the expat parser to the content sink. The flow of control is as follows. The tokenizer creates an error token (CErrorToken) when an error occurs in expat and pushes it onto the token dequeue. The DTD forwards the contents of the token to the content sink, which creates content objects to show the error.
git-svn-id: svn://10.0.0.236/trunk@23175 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 17:42:54 +00:00
briano%netscape.com
4b4a663c7f Automated update
git-svn-id: svn://10.0.0.236/trunk@23174 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 16:00:39 +00:00
ramiro%netscape.com
71f4219ea9 Fix unix builds.
git-svn-id: svn://10.0.0.236/trunk@23173 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 15:50:50 +00:00
briano%netscape.com
397f7f3521 Automated update
git-svn-id: svn://10.0.0.236/trunk@23172 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 15:15:41 +00:00
ramiro%netscape.com
2dd0c5cdf9 Latest AIX fixes. (waqar@netscape.com).
When doing the multiple inheritance thing, explicitly give the publicness
for each superclass.


git-svn-id: svn://10.0.0.236/trunk@23171 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 15:13:54 +00:00
ramiro%netscape.com
970dc7c4fc Allow for lock_SunOS.s to build properly. Fix the build system to
properly set all the ac magic needed to properly asm files.
Currently this is only an issue on Solaris, when building with the native
sun compiler.


git-svn-id: svn://10.0.0.236/trunk@23170 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 15:01:13 +00:00
edwin%woudt.nl
bc8fd40d25 A new throbber
git-svn-id: svn://10.0.0.236/trunk@23169 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 14:45:52 +00:00
ramiro%netscape.com
01f08478fc Add Templates.DB dir to GARBAGE so that the output of the Solaris CC template
code generator can be clobber.  Otherwise, dependancies and clobbering dont
work.


git-svn-id: svn://10.0.0.236/trunk@23168 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 11:44:25 +00:00
ramiro%netscape.com
bdfb92b7b9 Memory leak.
delete[] memory returned by nsString::ToNewCString.


git-svn-id: svn://10.0.0.236/trunk@23167 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 11:38:59 +00:00
ramiro%netscape.com
e1c07957a0 Fix win32, mac breakage.
git-svn-id: svn://10.0.0.236/trunk@23166 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 11:04:49 +00:00
ramiro%netscape.com
240e66fab6 Templates in nsXPComFactory exorcism. Part I.
Replaced the template code with a NS_DEF_FACTORY.
This is temporary.  As soon as I can verify this works on windows and
mac, ill remove the old code.


git-svn-id: svn://10.0.0.236/trunk@23165 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 09:44:16 +00:00
waterson%netscape.com
c276775547 Bug #3465. Atomize literals as well as resources.
git-svn-id: svn://10.0.0.236/trunk@23164 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 08:28:46 +00:00
waterson%netscape.com
324b35b91b Added some debugging code while tracking down bug #3465.
git-svn-id: svn://10.0.0.236/trunk@23163 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 08:27:53 +00:00
pierre%netscape.com
24f2df4eea implemented nsListbox
git-svn-id: svn://10.0.0.236/trunk@23158 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 04:50:20 +00:00
pierre%netscape.com
0118215e13 Fixed several things. The popup now actually displays and works.
git-svn-id: svn://10.0.0.236/trunk@23157 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 04:48:55 +00:00
pierre%netscape.com
089d8feb9e small change to make Move and Resize more efficient
git-svn-id: svn://10.0.0.236/trunk@23156 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 04:47:17 +00:00
pierre%netscape.com
ef19f8a40b small change to make it behave like nsCheckboxControlFrame when the WidgetRenderingMode is not initialized.
git-svn-id: svn://10.0.0.236/trunk@23155 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 04:46:12 +00:00
shaver%netscape.com
8fe29cabbc fix remnant of 32-bit interface references
git-svn-id: svn://10.0.0.236/trunk@23154 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 03:56:14 +00:00
danm%netscape.com
739872bb0b adding ShowDialog()
git-svn-id: svn://10.0.0.236/trunk@23153 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 03:01:17 +00:00
mscott%netscape.com
b7422fa464 Add ability to display a message given just a message number. We take this number (which is not a key or ID) and get the array of message keys from the db. We then extract the key corresponding to the number passed in. This interface function is used primarily to make debuggin easier where we don't have a message key or message ID lying around...
git-svn-id: svn://10.0.0.236/trunk@23152 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 02:12:50 +00:00
bienvenu%netscape.com
dc5a62dacf make sure db name is strdupped before caching
git-svn-id: svn://10.0.0.236/trunk@23151 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 02:11:39 +00:00
jfrancis%netscape.com
ec84311a00 adding mAnchorFrame to the ClearFrameRefs call
git-svn-id: svn://10.0.0.236/trunk@23150 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 01:22:37 +00:00
jfrancis%netscape.com
87c745f970 bug fixes + changing broken "dont_QueryInterface" additions to "do_QueryInterface"
git-svn-id: svn://10.0.0.236/trunk@23149 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 01:20:02 +00:00
mscott%netscape.com
2e5cace5e3 requires js for the prefs stuff. Link with rdf_utils.lib instead of rdf.lib.
git-svn-id: svn://10.0.0.236/trunk@23148 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 01:05:21 +00:00
mscott%netscape.com
0fb9344d6c Many many changes. (1) get rid of hard coded mailbox folder paths and rely on the the mail root folder preference being set. (2) when displaying a message, open the db, extract the array of msgKeys and ask the user which message they want to display. This number is based on the number of items in the msgKey array. Then use the user provided number as an offset into the msg key array to extract the correct message key to use. This provides us with a lot more testing flexibility instead of forcing the test to know the message key of each message he/she wanted to display. (3) remove call to NS_NewMsgParser and go through the repository instead....
git-svn-id: svn://10.0.0.236/trunk@23147 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 01:04:53 +00:00
mscott%netscape.com
e78bb00181 Remove NS_NewMsgParser. You should be going through the repository to create an instance of mailbox parser. I've already updated the nsLocalMsgFactory to be able to create instances of this object.
git-svn-id: svn://10.0.0.236/trunk@23146 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 01:00:52 +00:00
beard%netscape.com
ff96b264a9 fixed call to nsIInputStream::Read(), no longer passing 0 offset.
git-svn-id: svn://10.0.0.236/trunk@23145 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 00:15:40 +00:00
beard%netscape.com
0f0c2a1c13 Added InitializeLiveConnectClasses() method.
git-svn-id: svn://10.0.0.236/trunk@23144 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 00:14:40 +00:00
beard%netscape.com
93ebb9e8aa Added InitializeLiveConnectClasses() method. This makes the standard java packages visible to a given JSContext. Guarding against multiple initialization otherwise LiveConnect gives a warning.
git-svn-id: svn://10.0.0.236/trunk@23143 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 00:14:38 +00:00
beard%netscape.com
8334bbbe58 Added accessor for NS_JVMMANAGER_CID.
git-svn-id: svn://10.0.0.236/trunk@23142 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 00:12:00 +00:00
beard%netscape.com
83fc142853 Added InitLiveConnectClasses for DOM's use.
git-svn-id: svn://10.0.0.236/trunk@23141 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 00:09:05 +00:00
beard%netscape.com
9e471da20d Fixed Read/Write methods to conform to latest nsIInputStream and nsIOutputStream interfaces.
git-svn-id: svn://10.0.0.236/trunk@23140 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 00:07:24 +00:00
mscott%netscape.com
e743625bfb include xplib.h....
git-svn-id: svn://10.0.0.236/trunk@23139 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 00:01:04 +00:00
beard%netscape.com
7be9526f8f Using the service manager to access the plugin manager, because it needs to be a singleton.
git-svn-id: svn://10.0.0.236/trunk@23138 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 00:01:02 +00:00
mscott%netscape.com
02c61ddd40 Add mailbox parser to list of components the local msg factory can create.
git-svn-id: svn://10.0.0.236/trunk@23137 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 00:00:44 +00:00
beard%netscape.com
5ceecb3479 Added NS_DEFINE_STATIC_CID_ACCESSOR.
git-svn-id: svn://10.0.0.236/trunk@23136 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:56:59 +00:00
beard%netscape.com
97403304e5 fixed a crash caused by unitialized variable focusedWidget.
git-svn-id: svn://10.0.0.236/trunk@23135 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:56:22 +00:00
mscott%netscape.com
875780bfa0 Assign a CID to the mailbox parser so we can create it through the local msg factory...
git-svn-id: svn://10.0.0.236/trunk@23134 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:53:14 +00:00
beard%netscape.com
5d42f82ea4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@23133 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:32:35 +00:00
hyatt%netscape.com
1113d37be5 added files: mozilla/rdf/content/src/nsRDFToolbarBuilder.cpp
git-svn-id: svn://10.0.0.236/trunk@23132 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:24:51 +00:00
hyatt%netscape.com
40ff968768 Added the NS_NewRDFToolbarBuilder call to the header.
git-svn-id: svn://10.0.0.236/trunk@23131 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:21:18 +00:00
hyatt%netscape.com
8accebad8a Changes to enable the instantiation of a toolbar builder.
git-svn-id: svn://10.0.0.236/trunk@23130 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:18:58 +00:00
hyatt%netscape.com
0f937ddd5b Changes to the builder APIs to distinguish folder items from leaf
items (although we're not quite there yet).


git-svn-id: svn://10.0.0.236/trunk@23129 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:18:26 +00:00
hyatt%netscape.com
963375d55e Adding the toolbar builder to Windows and Linux makefiles.
git-svn-id: svn://10.0.0.236/trunk@23128 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:17:01 +00:00
hyatt%netscape.com
4d29994251 The RDF toolbar builder (for constructing RDF toolbars like the Personal Toolbar).
git-svn-id: svn://10.0.0.236/trunk@23127 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:16:37 +00:00
hyatt%netscape.com
5de09bf263 Added the Personal Toolbar to the XUL file.
git-svn-id: svn://10.0.0.236/trunk@23126 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 23:14:41 +00:00
mscott%netscape.com
4936ba4a0d Change onClick to onclick to enable menu item commands.
git-svn-id: svn://10.0.0.236/trunk@23125 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 21:58:36 +00:00
mscott%netscape.com
9b0caae748 Change rdf:id to id. (Although the thread pane doesn't seem to be working for me as of sunday's current tip....)
git-svn-id: svn://10.0.0.236/trunk@23124 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 21:58:15 +00:00
mscott%netscape.com
c0b892b4fa Install DLL in components directory as part of dp's changes...
git-svn-id: svn://10.0.0.236/trunk@23123 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 21:54:46 +00:00
pavlov%pavlov.net
2c561f6d59 fix bug 3079
git-svn-id: svn://10.0.0.236/trunk@23122 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 21:22:53 +00:00
mscott%netscape.com
9d4ea29f98 Move read/write file io stream changes....Read and write no longer take offsets...
git-svn-id: svn://10.0.0.236/trunk@23121 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 21:21:25 +00:00
jband%netscape.com
073ee50abb fix fopen mode for binary files - I'm starting to think that shaver, coop, and mccabe are doing this to me on purpose :)
git-svn-id: svn://10.0.0.236/trunk@23120 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 20:48:37 +00:00
edwin%woudt.nl
262e661621 Oh boy, I broke this with my license compliance checkin :-(
git-svn-id: svn://10.0.0.236/trunk@23119 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 20:04:41 +00:00
edwin%woudt.nl
e80d95f4b2 Fixing to comply with MPL requirements: every contributor should be mentioned!
git-svn-id: svn://10.0.0.236/trunk@23118 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 19:58:40 +00:00
rickg%netscape.com
0608af3478 fixed recently introduced i18n bugs
git-svn-id: svn://10.0.0.236/trunk@23117 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 19:23:28 +00:00
hyatt%netscape.com
a76538f256 Changing the natural order pos name to match the function conventions.
git-svn-id: svn://10.0.0.236/trunk@23116 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 10:52:42 +00:00
hyatt%netscape.com
e097700974 Again.
git-svn-id: svn://10.0.0.236/trunk@23115 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 10:49:26 +00:00
hyatt%netscape.com
a8ab7e3102 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@23114 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 10:48:58 +00:00
hyatt%netscape.com
973b2a044e Declaring some classes so that the compilers are happy again.
git-svn-id: svn://10.0.0.236/trunk@23113 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 10:41:00 +00:00
hyatt%netscape.com
8d0b3864cd added files: mozilla/rdf/content/src/nsRDFGenericBuilder.cpp, mozilla/rdf/content/src/nsRDFMenuBuilder.cpp
git-svn-id: svn://10.0.0.236/trunk@23112 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 10:35:17 +00:00
hyatt%netscape.com
57020bc795 Changing the display type of menubars, menus, and menuitems to be "none" so that
frames don't get built for them.  Added a bookmarks menu that uses real
RDF data.  (WOO HOO!)


git-svn-id: svn://10.0.0.236/trunk@23111 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 10:33:21 +00:00
hyatt%netscape.com
0a8f08e165 The modified tree builder.
git-svn-id: svn://10.0.0.236/trunk@23110 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 10:30:42 +00:00
hyatt%netscape.com
59dd328258 Landing the menu builder for real. The bookmarks menu lives (well, sort of).
git-svn-id: svn://10.0.0.236/trunk@23109 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 10:28:42 +00:00
hyatt%netscape.com
7c89bc9b07 First stab at the menu builder. It doesn't know how to build popup menus
yet. We'll need to work on that one.


git-svn-id: svn://10.0.0.236/trunk@23108 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 10:00:13 +00:00
hyatt%netscape.com
ae118c5d22 Checking in a patch for a XUL bug in ContentInserted (inside an #ifdef INCLUDE_XUL).
git-svn-id: svn://10.0.0.236/trunk@23107 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 09:55:39 +00:00
rjc%netscape.com
7c9fffcbb0 More support for column sorting.
git-svn-id: svn://10.0.0.236/trunk@23106 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 09:44:38 +00:00
hyatt%netscape.com
ba91bb4cbf A base class for factoring out the common functionality that exists
among builders.  (To be used by the tree, toolbar, and menu builders
at the very least.)


git-svn-id: svn://10.0.0.236/trunk@23105 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 08:12:48 +00:00
bienvenu%netscape.com
fa3a9d1061 hook up a little more to mdb, add some error checking
git-svn-id: svn://10.0.0.236/trunk@23104 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 05:39:35 +00:00
bienvenu%netscape.com
bff63bf92f add ClearErrors stub
git-svn-id: svn://10.0.0.236/trunk@23103 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 05:38:54 +00:00
bienvenu%netscape.com
4db58490e6 check for error creating msghdr in test prepulate method
git-svn-id: svn://10.0.0.236/trunk@23102 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 05:34:01 +00:00
briano%netscape.com
f4b02ce313 Automated update
git-svn-id: svn://10.0.0.236/trunk@23101 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 05:30:39 +00:00
cls%seawood.org
528012e0b5 Introduced separate CXXFLAGS for use with C++ code in the same style as the existing CFLAGS. Prepended _ to some configure.in private variables.
git-svn-id: svn://10.0.0.236/trunk@23100 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 05:18:45 +00:00
cls%seawood.org
38280e9eac Build db subdir before build so that libmailnewsmsgdb is available for libmailnews' final link.
git-svn-id: svn://10.0.0.236/trunk@23099 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 04:36:09 +00:00
edwin%woudt.nl
dbc0ed9954 Fixing to comply with MPL requirements: every contributor should be mentioned!
git-svn-id: svn://10.0.0.236/trunk@23098 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 02:46:50 +00:00
edwin%woudt.nl
c2f903d8c0 Fixing to comply with MPL requirements: every contributor should be mentioned!
git-svn-id: svn://10.0.0.236/trunk@23097 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 02:39:04 +00:00
shaver%netscape.com
44e5f9594a we do windows, but still wait on Mac
git-svn-id: svn://10.0.0.236/trunk@23096 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 02:37:17 +00:00
edwin%woudt.nl
ad689b27b1 Fixing to comply with MPL requirements: every contributor should be mentioned!
git-svn-id: svn://10.0.0.236/trunk@23095 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 02:30:35 +00:00
edwin%woudt.nl
ebf38833f6 Fixing to comply with MPL requirements: every contributor should be mentioned!
git-svn-id: svn://10.0.0.236/trunk@23094 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 02:19:44 +00:00
edwin%woudt.nl
e7a7211830 Fixing to comply with MPL requirements: every contributor should be mentioned!
git-svn-id: svn://10.0.0.236/trunk@23093 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 01:40:44 +00:00
edwin%woudt.nl
ec35849638 Fixing to comply with MPL requirements: every contributor should be mentioned!
git-svn-id: svn://10.0.0.236/trunk@23092 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 01:30:52 +00:00
pavlov%pavlov.net
d154e0982b more work
git-svn-id: svn://10.0.0.236/trunk@23091 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 00:58:11 +00:00
pavlov%pavlov.net
066e49e7e7 add a few comments in here on how a few things should be done.
git-svn-id: svn://10.0.0.236/trunk@23090 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-07 00:40:08 +00:00
beard%netscape.com
c3ed0d6f79 passing service manager, using NS_CALLBACK macro.
git-svn-id: svn://10.0.0.236/trunk@23089 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 22:32:49 +00:00
beard%netscape.com
68267d0bfb passing service manager, using nsIAllocator instead of nsIMalloc for memory allocation.
git-svn-id: svn://10.0.0.236/trunk@23088 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 22:32:47 +00:00
beard%netscape.com
54ea4168ab passing service manager instead of plugin host.
git-svn-id: svn://10.0.0.236/trunk@23087 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 22:31:28 +00:00
beard%netscape.com
423d0533ef took out singleton management, and registering with the repository. That's what the service manager/component manager is for.
git-svn-id: svn://10.0.0.236/trunk@23086 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 22:25:55 +00:00
beard%netscape.com
216bfff8b9 File Removed.
git-svn-id: svn://10.0.0.236/trunk@23085 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 22:23:41 +00:00
beard%netscape.com
1cc31e4675 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@23084 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 22:23:26 +00:00
jband%netscape.com
d2e367d9f5 getting shaver's changes compiling on Win32 - (and linking - dependency on nspr was added)
git-svn-id: svn://10.0.0.236/trunk@23083 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 21:39:45 +00:00
jband%netscape.com
d64ba60bfa getting shaver's changes compiling on Win32
git-svn-id: svn://10.0.0.236/trunk@23082 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 21:35:01 +00:00
shaver%netscape.com
809bab74f6 updated README and fixed 3484 (make in strings const)
git-svn-id: svn://10.0.0.236/trunk@23081 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:59:41 +00:00
sfraser%netscape.com
ea69d4597d Added debug output text and HTML menu items
git-svn-id: svn://10.0.0.236/trunk@23080 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:54:03 +00:00
sfraser%netscape.com
d268bb036d Fix the text & HTML output routines
git-svn-id: svn://10.0.0.236/trunk@23079 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:49:34 +00:00
briano%netscape.com
0adeb6c4f1 Automated update
git-svn-id: svn://10.0.0.236/trunk@23078 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:45:39 +00:00
cls%seawood.org
58aea2a7f4 Modified allmakefiles.sh setup to use autoconf's default $srcdir. Also fixes mailnews not building in separate obj tree.
git-svn-id: svn://10.0.0.236/trunk@23077 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:38:24 +00:00
sfraser%netscape.com
3b08f1c684 Changed file grouping.
git-svn-id: svn://10.0.0.236/trunk@23076 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:33:07 +00:00
sfraser%netscape.com
c5cf61dbdb Modified OutputText and OutputHTML methods to pass out nsStrings instead of nsIOutputStreams. Also fixed return values, and commented out line termination conversion in Mac outoutput.
git-svn-id: svn://10.0.0.236/trunk@23075 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:32:48 +00:00
cls%seawood.org
c181a3c141 Add $(topsrcdir)/network/protocol/imap4 to LOCAL_INCLUDES.
git-svn-id: svn://10.0.0.236/trunk@23074 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:29:01 +00:00
sfraser%netscape.com
52af2d264e Add support for getting text or HTML through a readonly properly on the EditorAppCore. Added attributes to .idl file, regenerated .h and .cpp with idlc. Simplified toolbar in the .xul file.
git-svn-id: svn://10.0.0.236/trunk@23073 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:28:47 +00:00
sfraser%netscape.com
163c837469 Arrange the various AppCores into groups
git-svn-id: svn://10.0.0.236/trunk@23072 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:27:33 +00:00
sfraser%netscape.com
740e25376c Fix warning reported by warren (bracket was in wrong place).
git-svn-id: svn://10.0.0.236/trunk@23071 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 20:19:52 +00:00
evaughan%netscape.com
0615e95ff7 1) Implemented regular button and html4 button with a button renderer.
2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
   messed up the active, hover, and disabled states.


git-svn-id: svn://10.0.0.236/trunk@23070 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 19:43:13 +00:00
shaver%netscape.com
d67b62db13 Add XPT_InterfaceDescriptorAddConsts to API.
git-svn-id: svn://10.0.0.236/trunk@23069 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 19:40:34 +00:00
shaver%netscape.com
ade285390e Compatibility with libIDL 0.6.x. (now required -- 0.5.x won't work any more)
Open absolutely-named files without include-path checking.
Always report errors (duh).
typelib generation: [iid_is()], consts, parse [uuid()], string type change
(will someone please explain our string types to me?), add float support,
handle [retval], IDL return as trailing argument (duh), attributes generate
accessor entries.
Use IDL_tree_error instead of burping at stderr.


git-svn-id: svn://10.0.0.236/trunk@23068 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 19:26:40 +00:00
troy%netscape.com
279360546a In RulesMatching(), changed NS_RELEASE to NS_IF_RELEASE for the link handler.
This fixes a crash when doing a print preview


git-svn-id: svn://10.0.0.236/trunk@23067 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 17:20:27 +00:00
troy%netscape.com
8c2eb5770c Changed ComputeDesiredWidth() to get the table layout strategy from the
first-in-flow. This fixes a crash in paginated mode


git-svn-id: svn://10.0.0.236/trunk@23066 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 17:01:15 +00:00
briano%netscape.com
6842a254dd Automated update
git-svn-id: svn://10.0.0.236/trunk@23065 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 15:16:10 +00:00
ramiro%netscape.com
16659349cb Latest AIX fixes from waqar@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@23064 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 15:09:48 +00:00
ramiro%netscape.com
0602774650 Fix printf format. Thanks to (waqar@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@23063 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 15:07:44 +00:00
ramiro%netscape.com
393e76453d Latest AIX fixes from waqar@netscape.com.
I added this define before and its not needed now, thanks to the c++ feature
detection magic in configure.in.


git-svn-id: svn://10.0.0.236/trunk@23062 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 15:07:01 +00:00
briano%netscape.com
7666411623 Automated update
git-svn-id: svn://10.0.0.236/trunk@23061 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 12:15:43 +00:00
ramiro%netscape.com
91077bb45b Fix the exceptions flag test.
git-svn-id: svn://10.0.0.236/trunk@23060 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 12:03:42 +00:00
dp%netscape.com
69df3f9c47 Bumping nsRepository version string to force registry to be cleaned
git-svn-id: svn://10.0.0.236/trunk@23059 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 09:11:05 +00:00
dp%netscape.com
a6d34909ca dist/bin/components is where all loadable components will be installed.
git-svn-id: svn://10.0.0.236/trunk@23058 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 09:04:53 +00:00
grail%cafebabe.org
df6e2353c4 Fixed bad type cast.
git-svn-id: svn://10.0.0.236/trunk@23057 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 07:25:10 +00:00
grail%cafebabe.org
115126053e Re-organized for more flexible handling of widget creation.
git-svn-id: svn://10.0.0.236/trunk@23056 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 07:08:01 +00:00
grail%cafebabe.org
76937a8d5e Added documentation.
git-svn-id: svn://10.0.0.236/trunk@23055 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 07:07:34 +00:00
grail%cafebabe.org
20c454d5fb Added MPL license to SearchDirectory, Added it to makefile. Removed
references to AWT as much as possible. I need to enhance pagebuilder to
do other layouts other than GridBagLayout.


git-svn-id: svn://10.0.0.236/trunk@23054 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 07:06:31 +00:00
grail%cafebabe.org
a9752fa00b Fixed DOS end-of-lines from the files.
git-svn-id: svn://10.0.0.236/trunk@23053 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 06:55:26 +00:00
briano%netscape.com
7cf95055d1 Automated update
git-svn-id: svn://10.0.0.236/trunk@23050 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 05:15:39 +00:00
mcafee%netscape.com
26e6bc85e2 Removing -xar from MKSHLIB, this was incorrectly generating .a libs, thanks to Tim McNerney <mumbly@netcom.com> for this fix.
git-svn-id: svn://10.0.0.236/trunk@23049 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 05:08:12 +00:00
troy%netscape.com
cac3fb5b73 Added some XXX comments
git-svn-id: svn://10.0.0.236/trunk@23048 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 05:03:09 +00:00
rjc%netscape.com
a4b87102ee Add RDF to list of include directories on Windows.
git-svn-id: svn://10.0.0.236/trunk@23047 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 04:57:20 +00:00
mcafee%netscape.com
cdc5264bdb Directly calling const char* const() operator to avoid ambiguity on Solaris. r=mcmullen@netscape.com
git-svn-id: svn://10.0.0.236/trunk@23046 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 04:42:08 +00:00
warren%netscape.com
c65396ffe0 Fixing someone's RDF breakage.
git-svn-id: svn://10.0.0.236/trunk@23045 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 04:12:56 +00:00
rjc%netscape.com
898583b974 Its a good thing to compile nsXULSortService.cpp, isn't it? (cyeh is making the same change to Makefile.win after verifying the fix.)
git-svn-id: svn://10.0.0.236/trunk@23044 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 04:05:38 +00:00
warren%netscape.com
140018846d Fixed multiple mRefCnt problem.
git-svn-id: svn://10.0.0.236/trunk@23043 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 03:56:24 +00:00
warren%netscape.com
9eaa6a745d Fixed uninitialized variable problem.
git-svn-id: svn://10.0.0.236/trunk@23042 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 03:54:19 +00:00
troy%netscape.com
6002e5995c Used style data pointer in HTML reflow state and eliminated some calls to
GetStyleData()


git-svn-id: svn://10.0.0.236/trunk@23041 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 03:37:44 +00:00
troy%netscape.com
009e3818fb Changed Reflow() to use style info from the HTML reflow state
git-svn-id: svn://10.0.0.236/trunk@23040 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 03:30:25 +00:00
talisman%anamorphic.com
8b0e4bddd5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@23039 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 02:49:47 +00:00
talisman%anamorphic.com
2910c0269d Added per Mauro Botelho.
git-svn-id: svn://10.0.0.236/trunk@23038 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 02:49:24 +00:00
mcmullen%netscape.com
f74a94e9ff More bustage (more calls to Read() with old parameters).
git-svn-id: svn://10.0.0.236/trunk@23037 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 02:42:44 +00:00
mcmullen%netscape.com
f54f7a537e More lurking calls to Read() with the old API.
git-svn-id: svn://10.0.0.236/trunk@23036 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 02:38:27 +00:00
mcmullen%netscape.com
f6c1353346 Adapt to new stream interfaces some more.
git-svn-id: svn://10.0.0.236/trunk@23033 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 02:12:52 +00:00
nisheeth%netscape.com
b0dfaee405 Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser.
git-svn-id: svn://10.0.0.236/trunk@23032 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 02:09:46 +00:00
nisheeth%netscape.com
0127c619d0 Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser.
git-svn-id: svn://10.0.0.236/trunk@23031 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 02:01:11 +00:00
troy%netscape.com
21a6536307 Removed some code that is no longer needed
git-svn-id: svn://10.0.0.236/trunk@23030 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:58:33 +00:00
troy%netscape.com
5bd0174c47 Eliminated some code that's no longer needed now that the info is in the
HTML reflow state


git-svn-id: svn://10.0.0.236/trunk@23029 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:48:28 +00:00
nisheeth%netscape.com
5016ed7684 Changed nsIContentSink->NotifyError() to accept an nsParserError argument.
This change is needed for propagating errors from the new
expat parser.


git-svn-id: svn://10.0.0.236/trunk@23028 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:48:11 +00:00
hyatt%netscape.com
304b78af18 Changing the name of a function. It was hiding another function in a base class.
git-svn-id: svn://10.0.0.236/trunk@23027 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:43:33 +00:00
troy%netscape.com
cd506df1a1 Eliminated some code that's no longer needed now that the info is in the
HTML reflow state


git-svn-id: svn://10.0.0.236/trunk@23026 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:40:29 +00:00
mscott%netscape.com
da3ad2f309 fix build breakage when the base file i/o stream changed.
git-svn-id: svn://10.0.0.236/trunk@23025 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:37:00 +00:00
nisheeth%netscape.com
ec2572e0af Exporting nsParserError.h...
git-svn-id: svn://10.0.0.236/trunk@23024 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:32:00 +00:00
alecf%netscape.com
5f05c90ce0 fix up autoregistration messenger bootstrap code
git-svn-id: svn://10.0.0.236/trunk@23023 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:29:31 +00:00
nisheeth%netscape.com
72db16df3a Exported nsParserError.h.
git-svn-id: svn://10.0.0.236/trunk@23022 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:29:11 +00:00
alecf%netscape.com
888ba4dea8 fix newline at end of file problem
git-svn-id: svn://10.0.0.236/trunk@23021 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:24:36 +00:00
alecf%netscape.com
3c77f2e6a3 rev the idl-generated headers
git-svn-id: svn://10.0.0.236/trunk@23020 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:24:00 +00:00
alecf%netscape.com
d7ba80c1da update interface to prepare to move nsMsgGroupRecord to be behind an interface
git-svn-id: svn://10.0.0.236/trunk@23019 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:23:07 +00:00
mscott%netscape.com
3f035f4167 Fix build breakage for mcmullen using the file stream changes.
git-svn-id: svn://10.0.0.236/trunk@23018 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:21:41 +00:00
nisheeth%netscape.com
8425c6c0d5 Adding nsParserError.h for export.
git-svn-id: svn://10.0.0.236/trunk@23017 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:20:18 +00:00
hyatt%netscape.com
04bdd7657a onchange handler implemented for observes nodes.
git-svn-id: svn://10.0.0.236/trunk@23016 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:19:13 +00:00
mscott%netscape.com
faafbf7f8d fix build breakage. file stream updates for mcmullen.
git-svn-id: svn://10.0.0.236/trunk@23015 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:17:55 +00:00
mcmullen%netscape.com
86f1a505d9 Adapt to the removed offset parameter in streams.
git-svn-id: svn://10.0.0.236/trunk@23014 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:03:12 +00:00
tague%netscape.com
00fb8568a5 Fixed tree bustage
git-svn-id: svn://10.0.0.236/trunk@23013 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:58:50 +00:00
mscott%netscape.com
9d3ed613ec Don't link with rdf_utils. That is already linked into msglocal.lib.
git-svn-id: svn://10.0.0.236/trunk@23012 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:53:32 +00:00
mscott%netscape.com
6babebf41f Remove extraneous functions....update to use ::RegisterComponent.
git-svn-id: svn://10.0.0.236/trunk@23011 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:53:11 +00:00
troy%netscape.com
b81fd87c6f Removed some static functions that are no longer needed
git-svn-id: svn://10.0.0.236/trunk@23010 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:48:45 +00:00
mcmullen%netscape.com
470d81fb75 Trying to fix the use of streams (the offset parameter has gone).
git-svn-id: svn://10.0.0.236/trunk@23009 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:44:40 +00:00
law%netscape.com
53806f3573 Updating test case
git-svn-id: svn://10.0.0.236/trunk@23008 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:44:32 +00:00
chuang%netscape.com
759293bc9a Java script functions for shared command between mail and browser, like Communicator and Help menu
git-svn-id: svn://10.0.0.236/trunk@23007 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:43:10 +00:00
chuang%netscape.com
d6d84cff70 Java script functions for mailnews commands
git-svn-id: svn://10.0.0.236/trunk@23006 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:41:56 +00:00
chuang%netscape.com
1157593c07 Java script functions for UI widgets
git-svn-id: svn://10.0.0.236/trunk@23005 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:41:21 +00:00
mscott%netscape.com
40a3deefd3 woops....fix typo....
git-svn-id: svn://10.0.0.236/trunk@23004 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:39:46 +00:00
troy%netscape.com
a468a48e17 Added ComputePadding() member function
git-svn-id: svn://10.0.0.236/trunk@23003 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:36:59 +00:00
sfraser%netscape.com
7e33e3843a Changes to get DOM IDL compiler to build on Mac.
git-svn-id: svn://10.0.0.236/trunk@23002 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:33:35 +00:00
mscott%netscape.com
d5832e6c07 Add test code for displaying a mailbox message from a berkley mail folder.
git-svn-id: svn://10.0.0.236/trunk@23001 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:31:59 +00:00
mscott%netscape.com
c2555fd151 LoadUrl now takes a display consumer. Add functionality for reading & displaying a mailbox message.
Right now we write the message to a temp file and then run a file url on the temp file to display the message.
So mkfile handles the rfc-822 to html conversion for us...


git-svn-id: svn://10.0.0.236/trunk@23000 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:31:06 +00:00
mscott%netscape.com
2fe594628c interface change, display message now takes a message id and a message key.
git-svn-id: svn://10.0.0.236/trunk@22999 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:30:10 +00:00
mcmullen%netscape.com
0f802d5ed2 Adapt to new stream interfaces
git-svn-id: svn://10.0.0.236/trunk@22998 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:29:58 +00:00
mscott%netscape.com
db151a164a Implemented a DisplayMessage service which takes a msg id, msg key a display consumer and possibly a url listener. It builds a mailbox url and runs it. Also, nsMailboxProtocol::LoadUrl now takes the consumer as an argument..
git-svn-id: svn://10.0.0.236/trunk@22997 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:29:50 +00:00
mscott%netscape.com
61558e8f53 many changes to how we parse a url. Added ability to extract message ID and message key from the search part.
When generating the url_struct for netlib, if we are a display mailbox url, then set the byte range based on message key and message size.


git-svn-id: svn://10.0.0.236/trunk@22996 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:29:10 +00:00
sfraser%netscape.com
846a9b8069 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22995 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:28:40 +00:00
mscott%netscape.com
539e846fce accessors for fetching a message key for the current url and a setter for setting the message size.
git-svn-id: svn://10.0.0.236/trunk@22994 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:28:23 +00:00
mscott%netscape.com
c877cb06b8 display message takes a message key and a messageID.
git-svn-id: svn://10.0.0.236/trunk@22993 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:27:58 +00:00
mcmullen%netscape.com
f90ec6e3ba Adapt to new Write()
git-svn-id: svn://10.0.0.236/trunk@22992 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:27:37 +00:00
slamm%netscape.com
ed35e74c15 Put test bookmarks at top.
git-svn-id: svn://10.0.0.236/trunk@22991 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:11:55 +00:00
rjc%netscape.com
19f8c00e28 Small cleanup to nsXULSortService.
git-svn-id: svn://10.0.0.236/trunk@22990 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:11:14 +00:00
mscott%netscape.com
2504363772 Leverage name spaces and remove rdf:id leaving just 'id'. This was causing the folder pane to come up blank....
git-svn-id: svn://10.0.0.236/trunk@22989 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:07:27 +00:00
slamm%netscape.com
1fed87b221 Simple bookmarks that launch.
git-svn-id: svn://10.0.0.236/trunk@22988 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:07:23 +00:00
mcmullen%netscape.com
adc585142d Fixing nsCOMPtr usage for unix.
git-svn-id: svn://10.0.0.236/trunk@22987 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:07:06 +00:00
slamm%netscape.com
8e97b9e85f Add some bookmarks without redirection. delete ^M's
git-svn-id: svn://10.0.0.236/trunk@22986 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:05:52 +00:00
alecf%netscape.com
7d408cc5c0 rev IDL-generated headers, won't bust on nsIID this time.
git-svn-id: svn://10.0.0.236/trunk@22985 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:05:51 +00:00
alecf%netscape.com
158065dfd1 add mozilla/compose/build/Makefile
git-svn-id: svn://10.0.0.236/trunk@22984 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:04:33 +00:00
troy%netscape.com
b2ed84683d Removed some code that's no longer needed, because mComputedPadding is now
part of the HTML reflow state


git-svn-id: svn://10.0.0.236/trunk@22983 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:04:24 +00:00
hyatt%netscape.com
f13c2c1cce More tweaks to broadcasters.
git-svn-id: svn://10.0.0.236/trunk@22982 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:53:01 +00:00
pavlov%pavlov.net
bb3f6aa1df proper fix
git-svn-id: svn://10.0.0.236/trunk@22981 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:52:34 +00:00
rjc%netscape.com
13142f4a98 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22980 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:51:41 +00:00
rjc%netscape.com
cd01332f38 nsXULSortService implementation: XUL sort functionality.
git-svn-id: svn://10.0.0.236/trunk@22979 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:51:13 +00:00
despotdaemon%netscape.com
ec7933732a Pseudo-automatic update of changes made by gbeasley@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22978 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:48:18 +00:00
mcmullen%netscape.com
a801f8e296 Adding stringstreams
git-svn-id: svn://10.0.0.236/trunk@22977 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:44:22 +00:00
mcmullen%netscape.com
bda242b372 Have the right fix now, so backing out the hack.
git-svn-id: svn://10.0.0.236/trunk@22976 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:43:37 +00:00
mcmullen%netscape.com
58c3fd7fc2 Need the exports, so checking in the makefiles.
git-svn-id: svn://10.0.0.236/trunk@22975 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:41:46 +00:00
pavlov%pavlov.net
0c52e9f756 hacky fix to fix build. someone please do this correctly.
git-svn-id: svn://10.0.0.236/trunk@22974 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:41:40 +00:00
mscott%netscape.com
61ff77fdea Definition for LINEBREAK moved up into msgCore.h
git-svn-id: svn://10.0.0.236/trunk@22973 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:41:27 +00:00
mscott%netscape.com
beec466d17 Add platform specific defintions for LINEBREAK (these came from nsMsgLineBuffer)
git-svn-id: svn://10.0.0.236/trunk@22972 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:40:53 +00:00
cyeh%netscape.com
538e46343a fix pdb file generation so that the go into $(OBJDIR) and also
have more useful names other than "none.pdb". some cleanup remains.


git-svn-id: svn://10.0.0.236/trunk@22971 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:24:48 +00:00
nisheeth%netscape.com
ec4eb761d4 First commit for nsParserError struct.
git-svn-id: svn://10.0.0.236/trunk@22970 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:24:32 +00:00
syd%netscape.com
8bf9391538 Fix for 2503.
Communicate GTK_DELETE event so that higher levels can deal with the window
closure.


git-svn-id: svn://10.0.0.236/trunk@22969 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:21:51 +00:00
mcmullen%netscape.com
b9816559be Reversing the previous change. This was checked in in error.
git-svn-id: svn://10.0.0.236/trunk@22968 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:08:56 +00:00
hyatt%netscape.com
456017166d Fixed a memory leak in the broadcasters.
git-svn-id: svn://10.0.0.236/trunk@22967 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:08:34 +00:00
terry%netscape.com
0da1ca453e Check qa_contact IDs.
git-svn-id: svn://10.0.0.236/trunk@22966 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:08:23 +00:00
mcmullen%netscape.com
848546e2e8 Fix a unix warning
git-svn-id: svn://10.0.0.236/trunk@22965 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 23:00:57 +00:00
mcmullen%netscape.com
5b8c2045d8 Removed the offset parameter from the base stream interfaces. Implemented string streams.
git-svn-id: svn://10.0.0.236/trunk@22964 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:53:56 +00:00
hyatt%netscape.com
278305681e Changes to broadcasters.
git-svn-id: svn://10.0.0.236/trunk@22963 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:43:02 +00:00
alecf%netscape.com
49bedf1ec8 split up nsISupports macros into seperate files
git-svn-id: svn://10.0.0.236/trunk@22962 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:39:03 +00:00
alecf%netscape.com
932e5a5e58 oops, don't include nsID.idl, it's not being exported right now
git-svn-id: svn://10.0.0.236/trunk@22961 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:37:35 +00:00
hyatt%netscape.com
f1b078cf1c Changing the broadcaster methods to take DOM elements instead of DOM
nodes.


git-svn-id: svn://10.0.0.236/trunk@22960 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:37:24 +00:00
hyatt%netscape.com
3c2abba5dd Cleaning up some code.
git-svn-id: svn://10.0.0.236/trunk@22959 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:33:27 +00:00
wtc%netscape.com
aee1618592 Another update from the internal CVS repository /m/src.
git-svn-id: svn://10.0.0.236/trunk@22958 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:32:56 +00:00
alecf%netscape.com
0201c25604 removed lower-case version
git-svn-id: svn://10.0.0.236/trunk@22957 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:24:49 +00:00
troy%netscape.com
6bf1e58e48 Added ComputeMargin() member function that takes the containing block width
as an argument. This is necessary for absolutely positioned elements which use
the padding edge and not the content edge for the containing block


git-svn-id: svn://10.0.0.236/trunk@22956 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:24:27 +00:00
rhp%netscape.com
596b678a4c New files for XP-COM stream converter interface
git-svn-id: svn://10.0.0.236/trunk@22955 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:18:42 +00:00
slamm%netscape.com
5b89d0fbca Via irc vote, turn on 'checkins since' links even for nocrap.
git-svn-id: svn://10.0.0.236/trunk@22954 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:10:04 +00:00
alecf%netscape.com
2893cb0c07 fix linux -pedantic casting problems
git-svn-id: svn://10.0.0.236/trunk@22953 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:39:55 +00:00
mcmullen%netscape.com
72a74134c2 Made a function static to remove a warning.
git-svn-id: svn://10.0.0.236/trunk@22952 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:35:23 +00:00
alecf%netscape.com
f79fad04dc eliminate netlib dependancy by removing call to FE_Alert
git-svn-id: svn://10.0.0.236/trunk@22951 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:33:02 +00:00
alecf%netscape.com
adb9ab93da add OLD_MAIL_NEWS macros to eliminate libpref dependancy from libxp
git-svn-id: svn://10.0.0.236/trunk@22950 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:31:00 +00:00
ramiro%netscape.com
7ee4fc82c7 Filename was misspelled. Broke unix. Blessed by cyeh.
git-svn-id: svn://10.0.0.236/trunk@22949 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:29:26 +00:00
troy%netscape.com
cab2885013 Fixed containing block calculation for absolutely positioned elements. Now
uses padding edge and not the content edge


git-svn-id: svn://10.0.0.236/trunk@22948 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:26:49 +00:00
slamm%netscape.com
4d872e3116 Fix type and add m4 to path.
git-svn-id: svn://10.0.0.236/trunk@22947 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:26:04 +00:00
bienvenu%netscape.com
c2dcf1f296 load mail root path from prefs.js
git-svn-id: svn://10.0.0.236/trunk@22946 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:17:59 +00:00
rods%netscape.com
653fd3b694 Made sure nsIRadioGroup has been removed
git-svn-id: svn://10.0.0.236/trunk@22945 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:06:09 +00:00
cmanske%netscape.com
6987407539 Changed editor classes to inherited model. Fixed lots of destructor warnings.
git-svn-id: svn://10.0.0.236/trunk@22944 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:05:35 +00:00
cmanske%netscape.com
f6ff40c486 Change InitHTMLEditor to Init and removed EnableUndo, which is done in Init
git-svn-id: svn://10.0.0.236/trunk@22943 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:05:31 +00:00
cmanske%netscape.com
f6d9c2d5f8 Changed InitHTMLEditor to Init and removed EnableUndo, which is done in the Init
git-svn-id: svn://10.0.0.236/trunk@22942 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:05:26 +00:00
rods%netscape.com
bc22754c21 cleaned up some comment and debugging
git-svn-id: svn://10.0.0.236/trunk@22941 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:04:57 +00:00
alecf%netscape.com
d4d4126684 make clobber remove .deps directory too
git-svn-id: svn://10.0.0.236/trunk@22940 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:03:54 +00:00
mcmullen%netscape.com
859bdf20d9 Added nsIStringStream.h
git-svn-id: svn://10.0.0.236/trunk@22939 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:01:38 +00:00
mcmullen%netscape.com
1e5ac4f1d3 Make the FilesTest project build again.
git-svn-id: svn://10.0.0.236/trunk@22938 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 21:01:11 +00:00
beard%netscape.com
b0ca311028 Removed nsIRadioGroup.h (evidently obsolete?)
git-svn-id: svn://10.0.0.236/trunk@22937 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:59:34 +00:00
mcmullen%netscape.com
239f08d915 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22936 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:55:10 +00:00
slamm%netscape.com
ca8f6c08f7 Have script write out its own .cvspass. Use '.mozconfig.sh' symbolic link for Save As
git-svn-id: svn://10.0.0.236/trunk@22935 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:53:22 +00:00
slamm%netscape.com
50b1b3d4b2 Script writes its own .cvspass now
git-svn-id: svn://10.0.0.236/trunk@22934 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:51:12 +00:00
rods%netscape.com
379cc1597f Fixed crash bug on releaseing null pointer
git-svn-id: svn://10.0.0.236/trunk@22933 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:41:37 +00:00
sdagley%netscape.com
275c0f7692 Re-checking in pinkerton's fix as the project seemed to have cached something and kept putting nsGlobalVariables.cpp back into Rescued Items every time it was opened.
git-svn-id: svn://10.0.0.236/trunk@22932 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:31:19 +00:00
hyatt%netscape.com
6068e57e94 Fixes to enable getElementById to work with HTML elements.
git-svn-id: svn://10.0.0.236/trunk@22931 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:30:13 +00:00
sar%netscape.com
cf2eed582c adding mailnews to the SeaMonkeyAll module
git-svn-id: svn://10.0.0.236/trunk@22930 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:30:02 +00:00
sar%netscape.com
4078c85c95 enabling mailnews by default
git-svn-id: svn://10.0.0.236/trunk@22929 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:29:36 +00:00
rods%netscape.com
6ffeafda85 I have removed nsRadioGroup and nsIRadioGroup and all references to it.
git-svn-id: svn://10.0.0.236/trunk@22928 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:28:16 +00:00
danm%netscape.com
cc44e7799b adding convenience makefile (not part of the normal build)
git-svn-id: svn://10.0.0.236/trunk@22927 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:25:48 +00:00
dougt%netscape.com
547cad0b24 added nsSpecialSystemDirectory to build.
git-svn-id: svn://10.0.0.236/trunk@22926 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:25:05 +00:00
danm%netscape.com
5a423eb9bb changed name of onConstruction event to onload
git-svn-id: svn://10.0.0.236/trunk@22925 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:23:19 +00:00
dougt%netscape.com
1cbb8d488d Added testcases for nsSpecialSystemDirectory. These cases are
currently turned off until mcmullen takes a look at them on the mac.


git-svn-id: svn://10.0.0.236/trunk@22924 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:21:33 +00:00
pinkerton%netscape.com
1517688bd7 handle toolbar demo sample menu command.
git-svn-id: svn://10.0.0.236/trunk@22923 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:21:25 +00:00
pinkerton%netscape.com
fcd702d820 Remove toolbar/tree demo code (which was commented out).
git-svn-id: svn://10.0.0.236/trunk@22922 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:21:14 +00:00
dougt%netscape.com
96bdde7c31 adding nsSpecialSystemDirectory.cpp to windows makefile.
Fixed MakeAllDirectory bug in nsFileSpec.cpp


git-svn-id: svn://10.0.0.236/trunk@22921 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:20:22 +00:00
pinkerton%netscape.com
460615666c export toolbar samples and css file.
git-svn-id: svn://10.0.0.236/trunk@22920 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:20:18 +00:00
pinkerton%netscape.com
edce09c3ab table for main toolbar, removing html namespace stuff, onClick->onclick
git-svn-id: svn://10.0.0.236/trunk@22919 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:19:46 +00:00
pinkerton%netscape.com
020161f824 add new toolbar sample, remove old widget samples.
git-svn-id: svn://10.0.0.236/trunk@22918 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:19:13 +00:00
pinkerton%netscape.com
b76c4a887f fix for bug #3449 (onClick should be onclick).
git-svn-id: svn://10.0.0.236/trunk@22917 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:18:59 +00:00
dougt%netscape.com
59a658730f Updating makefiles so that nsSpecialSystemDirectory.h gets exported.
git-svn-id: svn://10.0.0.236/trunk@22916 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:18:33 +00:00
pinkerton%netscape.com
7fcd6c2b23 New menus for xul tests
git-svn-id: svn://10.0.0.236/trunk@22915 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:18:25 +00:00
pinkerton%netscape.com
467f6cdca7 remove toolbar/tree stuff, add xul tests.
git-svn-id: svn://10.0.0.236/trunk@22914 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:18:05 +00:00
dougt%netscape.com
9e5d173364 Initial Checkin
git-svn-id: svn://10.0.0.236/trunk@22913 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:17:47 +00:00
pinkerton%netscape.com
6a9df86f26 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22912 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:17:45 +00:00
dougt%netscape.com
b170bd79a4 Initial Checkin.
git-svn-id: svn://10.0.0.236/trunk@22911 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:16:47 +00:00
slamm%netscape.com
92478835cc Use symbolic link instead of rewrite rule.
git-svn-id: svn://10.0.0.236/trunk@22910 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:15:57 +00:00
rods%netscape.com
e0396140b8 Aded check for null parent to fix printing
git-svn-id: svn://10.0.0.236/trunk@22909 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:14:05 +00:00
terry%netscape.com
36da73bc23 Fixed bug 3365 -- was generating wrong statistics if there were no NEW
or no ASSIGNED bugs.


git-svn-id: svn://10.0.0.236/trunk@22908 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:05:53 +00:00
terry%netscape.com
0029bda371 Reformated all the code to match the rest of Bugzilla.
git-svn-id: svn://10.0.0.236/trunk@22907 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:48:26 +00:00
pinkerton%netscape.com
451990367b removed nsGlobalVariables.cpp for kipp. permission to checkin to a closed tree given to kipp by cyeh.
git-svn-id: svn://10.0.0.236/trunk@22906 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:35:01 +00:00
kipp%netscape.com
7d9aebda71 Cleanup state recomputation; fix bug # 3453 crasher; debug out some max-element-size issues
git-svn-id: svn://10.0.0.236/trunk@22905 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:25:44 +00:00
kipp%netscape.com
4717ed3aa4 nuked global variables
git-svn-id: svn://10.0.0.236/trunk@22904 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:24:45 +00:00
kipp%netscape.com
2521770fa4 Disable trim code for now; disable horizontal alignment during pass1 table reflow
git-svn-id: svn://10.0.0.236/trunk@22903 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:24:15 +00:00
kipp%netscape.com
1bd6230ab0 Remove dead global-variable nonsense
git-svn-id: svn://10.0.0.236/trunk@22902 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:23:52 +00:00
kipp%netscape.com
9d77708387 Partial fix to bug #3094
git-svn-id: svn://10.0.0.236/trunk@22901 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:23:24 +00:00
kipp%netscape.com
e24dd0c2bf Removed dead include
git-svn-id: svn://10.0.0.236/trunk@22900 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 19:23:09 +00:00
slamm%netscape.com
2ce22c6452 Avoid copying the list pointers
git-svn-id: svn://10.0.0.236/trunk@22899 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 18:08:24 +00:00
terry%netscape.com
984cd512c6 Add check to make sure versions table is OK.
git-svn-id: svn://10.0.0.236/trunk@22898 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 17:55:45 +00:00
slamm%netscape.com
6be2f1a5ba Don't use unshift because it is slow. Use push/reverse combo instead.
git-svn-id: svn://10.0.0.236/trunk@22897 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 17:14:03 +00:00
rods%netscape.com
8edb5cad46 Added ref counting to vertical scrollbar
git-svn-id: svn://10.0.0.236/trunk@22896 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:50:04 +00:00
briano%netscape.com
3d3781560b Automated update
git-svn-id: svn://10.0.0.236/trunk@22895 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:45:38 +00:00
rods%netscape.com
704f4fa587 Added where a scrolled view sets the widget for the vertical scrollbar
into the window so the window can send the vertical scrollbar the appropriate
message.


git-svn-id: svn://10.0.0.236/trunk@22894 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:41:50 +00:00
ramiro%netscape.com
019d74afca Add --enable-cpp-rtti , --enable-cpp-exceptions flags.
RTTI and exceptions are off by default on Linux.


git-svn-id: svn://10.0.0.236/trunk@22893 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:36:20 +00:00
rods%netscape.com
90e6c696a7 Major update for tracking the popping up and dropping down of menus.
Added Mouse Wheel tracking


git-svn-id: svn://10.0.0.236/trunk@22892 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:34:53 +00:00
rods%netscape.com
0bde4cee94 Fixed voidarray problem and a few other minor things
git-svn-id: svn://10.0.0.236/trunk@22891 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:33:40 +00:00
rods%netscape.com
bd3a759b8d Fixed up ref counting issues
git-svn-id: svn://10.0.0.236/trunk@22890 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:32:54 +00:00
rods%netscape.com
c713510396 Changed VoidArray to nsISupportsArray
git-svn-id: svn://10.0.0.236/trunk@22889 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:30:11 +00:00
rods%netscape.com
1a87528672 Added impl of SetVerticalScrollbar
git-svn-id: svn://10.0.0.236/trunk@22888 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:25:24 +00:00
rods%netscape.com
1af1e7d436 Added new method "SetVerticalScrollbar"
git-svn-id: svn://10.0.0.236/trunk@22887 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:25:21 +00:00
kipp%netscape.com
3f13e4f864 nuked
git-svn-id: svn://10.0.0.236/trunk@22886 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:23:46 +00:00
kipp%netscape.com
2095143fa1 Removed ref to dead nsFrameReflowState
git-svn-id: svn://10.0.0.236/trunk@22885 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:22:03 +00:00
edwin%woudt.nl
43b7410fae I'm backing out the changes to use the provider registry for now, because of problems. We should investigate this!
git-svn-id: svn://10.0.0.236/trunk@22884 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 15:16:09 +00:00
dcone%netscape.com
41675a0381 Update the surfaces to include graphics state
git-svn-id: svn://10.0.0.236/trunk@22883 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 14:48:44 +00:00
rpotts%netscape.com
169729d0bb changed all references to getElementByID(...) into getElementById(...). This fixed the URL typein bar...
git-svn-id: svn://10.0.0.236/trunk@22882 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 11:38:40 +00:00
waterson%netscape.com
af04e281fe Added nsRDFInterfaces.h to EXPORTS.
git-svn-id: svn://10.0.0.236/trunk@22881 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 11:12:58 +00:00
waterson%netscape.com
6a06193da5 Added C++-specific #include of nscore.h to make sure that PRUnichar gets included.
git-svn-id: svn://10.0.0.236/trunk@22880 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 11:12:24 +00:00
waterson%netscape.com
700e04eda4 Initial revision. Generated from nsRDFInterfaces.idl.
git-svn-id: svn://10.0.0.236/trunk@22879 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 10:55:04 +00:00
waterson%netscape.com
a68b77b40b Initial revision. Generated from nsRDFInterfaces.idl.
git-svn-id: svn://10.0.0.236/trunk@22878 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 10:49:13 +00:00
waterson%netscape.com
9492eb4357 Removed individual interface files for now, and plugged everything into nsRDFInterfaces.idl.
git-svn-id: svn://10.0.0.236/trunk@22877 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 10:48:07 +00:00
pierre%netscape.com
02557cd6d4 Fix #3408 "When mousedown, mousemoves should all go to same widget"
git-svn-id: svn://10.0.0.236/trunk@22876 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 10:04:07 +00:00
pierre%netscape.com
d711f26063 Improved SetCursor() to use the Appearance Mgr
git-svn-id: svn://10.0.0.236/trunk@22875 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 10:02:16 +00:00
pierre%netscape.com
a9a81bed98 Added nsToolkit::HasAppearanceManager()
git-svn-id: svn://10.0.0.236/trunk@22874 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 10:01:07 +00:00
mcafee%netscape.com
aee2bf8765 Fixing enums for the Solaris 5.0 compiler, thanks to Tim McNerney <mumbly@netcom.com> for this change.
git-svn-id: svn://10.0.0.236/trunk@22873 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 09:29:52 +00:00
grail%cafebabe.org
2cb1be4194 Signature storage into prefs.
git-svn-id: svn://10.0.0.236/trunk@22872 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 09:06:36 +00:00
grail%cafebabe.org
bb0a72c8b7 Removed old references to AWT file chooser. We're never going back there.
git-svn-id: svn://10.0.0.236/trunk@22871 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 09:06:16 +00:00
saari%netscape.com
8979faf55a Fixing menus on Win32
git-svn-id: svn://10.0.0.236/trunk@22870 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 07:31:54 +00:00
bienvenu%netscape.com
761756c428 fix folder info uint32 handling
git-svn-id: svn://10.0.0.236/trunk@22869 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 07:23:24 +00:00
saari%netscape.com
71cb6461a1 Fixing IID() to GetIID() to fix warren's bustage
git-svn-id: svn://10.0.0.236/trunk@22868 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 07:02:27 +00:00
leaf%mozilla.org
f88b33e5c1 ok, this time for sure, fixing mozbot.
git-svn-id: svn://10.0.0.236/trunk@22867 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 06:28:58 +00:00
leaf%mozilla.org
4e45aa3274 making the bot's given nick (an argument) global, because i'm evil.
git-svn-id: svn://10.0.0.236/trunk@22866 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 06:19:28 +00:00
warren%netscape.com
2395acaf74 Fixed up Advance methods.
git-svn-id: svn://10.0.0.236/trunk@22865 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 06:12:47 +00:00
warren%netscape.com
dde7c45373 Removed obsolete mail folder installation.
git-svn-id: svn://10.0.0.236/trunk@22864 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 06:09:43 +00:00
warren%netscape.com
fca11f6c47 Removed obsolete mail folder installation.
git-svn-id: svn://10.0.0.236/trunk@22863 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 06:03:36 +00:00
rjc%netscape.com
84f2cdbbb7 Only have one arc (a child) going out, otherwise duplicates! Also commented out NS_INIT_REFCNT() due to weirdness.
git-svn-id: svn://10.0.0.236/trunk@22862 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 06:03:03 +00:00
troy%netscape.com
ab4b858697 Fixed HTML to be correct: CAPTION must be at start of table, and TFOOT must be
before any body section row groups


git-svn-id: svn://10.0.0.236/trunk@22861 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 06:02:11 +00:00
troy%netscape.com
a759e230cf Table header/footer are repeated when splitting tables
git-svn-id: svn://10.0.0.236/trunk@22860 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 06:00:40 +00:00
warren%netscape.com
7e12e54f21 Added prlog tracing code. Fixed some error codes. Fixed DBArcsInOutCursor::Advance to check for failure on GetValue.
git-svn-id: svn://10.0.0.236/trunk@22859 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 05:59:02 +00:00
warren%netscape.com
4fee15d393 Fixed First method to return error.
git-svn-id: svn://10.0.0.236/trunk@22858 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 05:48:21 +00:00
sdagley%netscape.com
41a3b015d5 Fix bug #3405. Thanks to sfraser's research we discovered that there was a nasty problem caused by mactime.c including xp_mcom.h (added by brade on 3/3) causing ctime to be redefined as macctime. This is bad since macctime calls ctime (can you say recursion, recusrion, recusrsion...). Fix was to add an #undef for ctime after including xp_mcom.h and sacrificing a purple dinosaur.
git-svn-id: svn://10.0.0.236/trunk@22857 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 05:39:20 +00:00
rjc%netscape.com
ab4a1fe960 Fix bug 3401: aliases to shared libraries which auto-register need to be placed inside of a "components" directory (which itself needs to exist in the same directory as apprunner/viewer). Review/approval: sdagley
git-svn-id: svn://10.0.0.236/trunk@22856 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 05:09:04 +00:00
mcafee%netscape.com
ee18b1bc83 Uninitialized variables
git-svn-id: svn://10.0.0.236/trunk@22855 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:40:14 +00:00
kipp%netscape.com
00c7d42996 Use proper new/delete operators
git-svn-id: svn://10.0.0.236/trunk@22854 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:36:00 +00:00
kipp%netscape.com
54765b7652 Stop linking with other libraries to avoid finding symbols with dlsym that we don't want to find
git-svn-id: svn://10.0.0.236/trunk@22853 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:35:49 +00:00
kipp%netscape.com
fb97ac8491 Clean up query-interface; attempt to work around bug (failed; left some commentary in to help the netlib crew)
git-svn-id: svn://10.0.0.236/trunk@22852 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:35:37 +00:00
kipp%netscape.com
b76038d16c Use proper new operator
git-svn-id: svn://10.0.0.236/trunk@22851 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:33:57 +00:00
kipp%netscape.com
f73b4b8971 use new nsHTMLReflowState ctors
git-svn-id: svn://10.0.0.236/trunk@22850 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:29:11 +00:00
kipp%netscape.com
001a19082a Eliminate some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22849 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:28:54 +00:00
kipp%netscape.com
c9fd8c7538 Output rects in twips; eliminated some typo bugs with selection directions
git-svn-id: svn://10.0.0.236/trunk@22848 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:28:40 +00:00
kipp%netscape.com
399ce5dd64 use new nsHTMLReflowState ctors; made pages support IsPercentageBase
git-svn-id: svn://10.0.0.236/trunk@22847 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:28:07 +00:00
kipp%netscape.com
3a72fd18c3 Output rects in twips
git-svn-id: svn://10.0.0.236/trunk@22846 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:26:40 +00:00
kipp%netscape.com
65edef0640 Refactored code to make effecient use of computed state in nsHTMLReflowState
git-svn-id: svn://10.0.0.236/trunk@22845 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:26:21 +00:00
kipp%netscape.com
15c4920b73 use computed values from reflow state; made inline-reflow-state no longer isa html-reflow-state
git-svn-id: svn://10.0.0.236/trunk@22844 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:25:57 +00:00
kipp%netscape.com
f90b774ae9 Store more computed state; reformulated the constructors for nsHTMLReflowState
git-svn-id: svn://10.0.0.236/trunk@22843 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:25:25 +00:00
kipp%netscape.com
3bdcb1e967 Revised computations for blocks; store more computed values
git-svn-id: svn://10.0.0.236/trunk@22842 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:24:20 +00:00
kipp%netscape.com
44c66a325c Spanked almost away
git-svn-id: svn://10.0.0.236/trunk@22841 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:23:41 +00:00
kipp%netscape.com
bad84e485e Removed dead code; output rects naturally
git-svn-id: svn://10.0.0.236/trunk@22840 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:22:54 +00:00
kipp%netscape.com
e8c1baf1a5 Removed List method
git-svn-id: svn://10.0.0.236/trunk@22839 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:22:29 +00:00
kipp%netscape.com
4dfe8022be Minor tweaks to work better with computed values in html reflow state
git-svn-id: svn://10.0.0.236/trunk@22838 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:22:11 +00:00
kipp%netscape.com
bcf95a83f5 nsBlockReflowState no longer is-a nsHTMLReflowState; fixes to numerous bugs; reworked to use computed values from reflow-state
git-svn-id: svn://10.0.0.236/trunk@22837 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:21:32 +00:00
mcafee%netscape.com
2a7cf46dd3 Uninitialized variables
git-svn-id: svn://10.0.0.236/trunk@22836 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:20:54 +00:00
kipp%netscape.com
9c5a7c3cee Some asserts for me
git-svn-id: svn://10.0.0.236/trunk@22835 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:20:31 +00:00
kipp%netscape.com
e72cc15886 Support more css style for hr's; map align to auto margins
git-svn-id: svn://10.0.0.236/trunk@22834 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:20:07 +00:00
kipp%netscape.com
b4d19704fd use new nsHTMLReflowState ctors
git-svn-id: svn://10.0.0.236/trunk@22833 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:19:09 +00:00
kipp%netscape.com
6ef266bc6c Cleaned up margins hackery and made things use css instead of evil code in the block layout code
git-svn-id: svn://10.0.0.236/trunk@22832 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:18:58 +00:00
kipp%netscape.com
0b37e12e30 Removed constructors for nsReflowState
git-svn-id: svn://10.0.0.236/trunk@22831 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:17:00 +00:00
ftang%netscape.com
eb77f0eb37 add iso-8859-7 and windows-1253
git-svn-id: svn://10.0.0.236/trunk@22830 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:11:25 +00:00
bienvenu%netscape.com
a488d0f3fc add factory method, remove oid parameter to match real mdb
git-svn-id: svn://10.0.0.236/trunk@22829 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 03:29:41 +00:00
bienvenu%netscape.com
65d1575b3b try to fix time stamp and stat routines so we can re-open existing db's
git-svn-id: svn://10.0.0.236/trunk@22828 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 03:28:34 +00:00
bienvenu%netscape.com
ee28f1915e add rdf to the stupid mailbox parsing test app
git-svn-id: svn://10.0.0.236/trunk@22827 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 03:25:51 +00:00
rjc%netscape.com
108021ada8 Changes to autoregister the file system datasource (broken due to Warren's earlier changes.)
git-svn-id: svn://10.0.0.236/trunk@22826 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 03:22:51 +00:00
bienvenu%netscape.com
fe85c4dab4 add morkConfig to makefile
git-svn-id: svn://10.0.0.236/trunk@22825 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 02:49:36 +00:00
pavlov%pavlov.net
229469c47e start fixing file selector, fix menus under apprunner, fix font setting for
widgets.


git-svn-id: svn://10.0.0.236/trunk@22824 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 02:48:43 +00:00
slamm%netscape.com
4b94d0dfe4 Speed it up right.
git-svn-id: svn://10.0.0.236/trunk@22823 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 01:57:13 +00:00
cmanske%netscape.com
1d5ae5c42a This fixes build bustage if you are using nglayout.mak (editor must be built after htmlparser)
git-svn-id: svn://10.0.0.236/trunk@22822 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 01:54:22 +00:00
edwin%woudt.nl
97812d1705 The last step in updating the docs.
git-svn-id: svn://10.0.0.236/trunk@22821 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 01:48:15 +00:00
michaelp%netscape.com
3b152094ca added return code check WRT off screen surface allocation.
part of mac fixes.


git-svn-id: svn://10.0.0.236/trunk@22820 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 01:43:06 +00:00
slamm%netscape.com
6c1bce143c Uhoh, change wasn't ready for prime-time. backout.
git-svn-id: svn://10.0.0.236/trunk@22819 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 01:33:38 +00:00
edwin%woudt.nl
ee4e4ad487 Updated build docs
git-svn-id: svn://10.0.0.236/trunk@22818 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 01:26:30 +00:00
slamm%netscape.com
e702ebfd8d Speed up data reading. Read it backwards and only as much as needed.
git-svn-id: svn://10.0.0.236/trunk@22817 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 01:25:23 +00:00
edwin%woudt.nl
ba1c568fb4 Updated lib dependencies
git-svn-id: svn://10.0.0.236/trunk@22816 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 01:18:23 +00:00
slamm%netscape.com
44504c8755 Stick /opt/cvs-tools/bin on the path for cvs on cvs-mirror.
git-svn-id: svn://10.0.0.236/trunk@22815 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 01:03:33 +00:00
slamm%netscape.com
f53189a4ae add a comment
git-svn-id: svn://10.0.0.236/trunk@22814 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:48:35 +00:00
slamm%netscape.com
b36d37e499 Try to create a subdir.
git-svn-id: svn://10.0.0.236/trunk@22813 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:44:17 +00:00
despotdaemon%netscape.com
6d014280f1 Pseudo-automatic update of changes made by sgehani@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22812 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:33:08 +00:00
hyatt%netscape.com
b528dce697 Adding XUL attributes to the project.
git-svn-id: svn://10.0.0.236/trunk@22811 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:32:18 +00:00
slamm%netscape.com
27a6125dd9 Need a cvs login for checking out configure.in
git-svn-id: svn://10.0.0.236/trunk@22810 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:23:57 +00:00
hyatt%netscape.com
15eb16c4b7 Fix for the Mac crash.
git-svn-id: svn://10.0.0.236/trunk@22809 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:20:10 +00:00
hyatt%netscape.com
79d6609992 Fixes to layout to allow nsHTMLCSSStyleSheet to be instantiable from outside
the layout DLL.


git-svn-id: svn://10.0.0.236/trunk@22808 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:06:31 +00:00
edwin%woudt.nl
8708ff3f6a Backed out mauros changes until they get fixed.
git-svn-id: svn://10.0.0.236/trunk@22807 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:04:48 +00:00
hyatt%netscape.com
68339f3d58 Fix to allow nsHTMLCSSStyleSheet to be instantiable.
git-svn-id: svn://10.0.0.236/trunk@22806 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:04:04 +00:00
hyatt%netscape.com
c5fb807561 Fix to the RFind method of nsString.
git-svn-id: svn://10.0.0.236/trunk@22805 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:03:46 +00:00
hyatt%netscape.com
b67c7ebb6b Fixing the split of the attribute name (into a URI and an ID).
git-svn-id: svn://10.0.0.236/trunk@22804 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:03:30 +00:00
hyatt%netscape.com
571769ba85 Changes to the content sink to make sure attributes are not converted to lower case
and to make sure attributes are put into the correct namespace.


git-svn-id: svn://10.0.0.236/trunk@22803 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:02:33 +00:00
hyatt%netscape.com
1db9fb2927 Regenerated the IDL for the XUlDocument. Changed getElementById to return
an element (and to have a lowercase d) for consistency with the HTML document
method of the same name.


git-svn-id: svn://10.0.0.236/trunk@22802 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:02:00 +00:00
hyatt%netscape.com
29dfb19d4e Many bug fixes to the RDF content model including namespace changes and
style support.


git-svn-id: svn://10.0.0.236/trunk@22801 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:01:26 +00:00
hyatt%netscape.com
d37bec4951 Modified the makefiles to handle the new XUL attribute class.
git-svn-id: svn://10.0.0.236/trunk@22800 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:00:56 +00:00
hyatt%netscape.com
a8fd6e7560 Committing the new attribute class for the handling of XUL attributes.
git-svn-id: svn://10.0.0.236/trunk@22799 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 00:00:40 +00:00
hyatt%netscape.com
37b30b463e generic attribute is going away in favor of a XUL-specific attribute class.
git-svn-id: svn://10.0.0.236/trunk@22798 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 23:59:57 +00:00
slamm%netscape.com
f54f68aef9 Pull configure.in in subdir, configure-mirror.
git-svn-id: svn://10.0.0.236/trunk@22797 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 23:53:38 +00:00
despotdaemon%netscape.com
7dbb8763e1 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22796 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 23:49:05 +00:00
kin%netscape.com
1caf25fce0 Fix win32 build bustage. The editor directory is now built after the htmlparser directory.
git-svn-id: svn://10.0.0.236/trunk@22795 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 23:43:23 +00:00
slamm%netscape.com
4aed7b0f83 Retire the old 'express' code. Also reduce the default hours from 36 down to 12.
git-svn-id: svn://10.0.0.236/trunk@22794 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 23:41:02 +00:00
evaughan%netscape.com
45aec1474e Fixed a bug that caused TitledButtons and ProgressMeters to be skews when made inline.
git-svn-id: svn://10.0.0.236/trunk@22793 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 23:39:06 +00:00
evaughan%netscape.com
86a935fe8b Fixed buttons in apprunner so there borders appear when moved over.
git-svn-id: svn://10.0.0.236/trunk@22792 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 23:36:12 +00:00
edwin%woudt.nl
60335641a1 A few weeks earlier I fixed a bug that the whole class was synchronized. I just removed it. A few methods however should have been synchronized instead. I've done that now.
git-svn-id: svn://10.0.0.236/trunk@22791 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 22:31:34 +00:00
briano%netscape.com
b391febd29 Automated update
git-svn-id: svn://10.0.0.236/trunk@22790 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 22:30:40 +00:00
scc%netscape.com
2f7394142e make HAVE_CPP_NEW_CASTS stronger for bug in Solaris/CC
git-svn-id: svn://10.0.0.236/trunk@22789 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 22:22:14 +00:00
akkana%netscape.com
a535f86c0d Add displaytext/displayhtml to gtk menu. This is part of kostello's change, approved by sar
git-svn-id: svn://10.0.0.236/trunk@22788 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 21:59:13 +00:00
sfraser%netscape.com
da5c3ac0d9 Project change for kostello, approved sar. New link dependency on htmlParser.shlb
git-svn-id: svn://10.0.0.236/trunk@22787 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 21:57:59 +00:00
sfraser%netscape.com
40ba827e51 Project checkin for kostello, approved sar. Added nsHTMLToTXTSinkStream.cpp.
git-svn-id: svn://10.0.0.236/trunk@22786 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 21:55:26 +00:00
kostello%netscape.com
575a96dca1 Added Implementations for OutputHTML and OutputTXT
git-svn-id: svn://10.0.0.236/trunk@22785 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 21:53:42 +00:00
kostello%netscape.com
1d257371a8 Added new sink that outputs a Text stream instead of
an HTML stream.


git-svn-id: svn://10.0.0.236/trunk@22784 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 21:52:57 +00:00
despotdaemon%netscape.com
825e4caa13 Pseudo-automatic update of changes made by sgehani@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22783 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 21:52:21 +00:00
despotdaemon%netscape.com
570e36e2b8 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22782 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 21:50:49 +00:00
kostello%netscape.com
a484974367 Added Debug Output HTML and Debug Output Text
Note: these only work in editor mode.


git-svn-id: svn://10.0.0.236/trunk@22781 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 21:50:44 +00:00
slamm%netscape.com
820d265112 Add 'express_fast' which is a much faster than 'express'. Uses Backwards.pm. This will probably replace 'express'.
git-svn-id: svn://10.0.0.236/trunk@22780 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 21:46:07 +00:00
despotdaemon%netscape.com
b13907ba45 Pseudo-automatic update of changes made by sgehani@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22779 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 21:27:13 +00:00
terry%netscape.com
de0928b4a1 Added "Grendel".
git-svn-id: svn://10.0.0.236/trunk@22778 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 20:37:25 +00:00
mscott%netscape.com
45559f72cb Don't add a null urllistener...
git-svn-id: svn://10.0.0.236/trunk@22777 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 20:10:20 +00:00
despotdaemon%netscape.com
35a6891c11 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22776 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 20:07:22 +00:00
ducarroz%netscape.com
e389dcf261 no comment
git-svn-id: svn://10.0.0.236/trunk@22775 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 19:43:28 +00:00
ducarroz%netscape.com
4b14c18672 Add the function NewMessage to popup the compose window.
git-svn-id: svn://10.0.0.236/trunk@22774 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 19:33:55 +00:00
gordon%netscape.com
56df6d033f Bug fix for #3410 & #3403 by Simon Fraser, reviewed by Gordon Sheridan. Stop leaking UPPs everytime we do a file read.
git-svn-id: svn://10.0.0.236/trunk@22773 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 19:27:19 +00:00
fur%netscape.com
48762f0205 Add Object.registerNatives() dummy stub.
git-svn-id: svn://10.0.0.236/trunk@22772 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 19:17:24 +00:00
fur%netscape.com
15fdcab054 Artur Biasiaodowski's patch so that instruction immediates print out correctly.
git-svn-id: svn://10.0.0.236/trunk@22771 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 19:06:31 +00:00
bienvenu%netscape.com
aed8a4d01f add a couple cursors
git-svn-id: svn://10.0.0.236/trunk@22770 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 15:58:52 +00:00
putterman%netscape.com
396c97c1be Need to register the datasource.
git-svn-id: svn://10.0.0.236/trunk@22769 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 05:24:12 +00:00
briano%netscape.com
ea7eb46d00 Patched for QNX by Jerry.Kirk@Nexwarecorp.com.
git-svn-id: svn://10.0.0.236/trunk@22768 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 05:10:45 +00:00
putterman%netscape.com
606cc3c5ed changed id to rdf:id
git-svn-id: svn://10.0.0.236/trunk@22767 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 05:03:32 +00:00
briano%netscape.com
68f6e9c649 Minor change to make it acceptable to QNX.
git-svn-id: svn://10.0.0.236/trunk@22766 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 05:02:09 +00:00
talisman%anamorphic.com
07d8ae14ef Added by Mauro Botelho - we are now building addressbook gui from xml.
git-svn-id: svn://10.0.0.236/trunk@22765 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 04:14:09 +00:00
talisman%anamorphic.com
336e3f2ec9 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@22764 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 04:13:07 +00:00
alecf%netscape.com
c4f27f980d remove FE_Alert to remove dependancy on netlib
git-svn-id: svn://10.0.0.236/trunk@22763 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 03:11:59 +00:00
slamm%netscape.com
1f2bcbebf5 Add ability to reread options. Still need to modify a few of them (nspr, with pthreads, debug, checkout options) before anyone uses this feature.
git-svn-id: svn://10.0.0.236/trunk@22762 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 03:07:50 +00:00
rjc%netscape.com
b668b7ec9b Now store pathnames as strings which prevents nr_MacAliasFromPath() from ever being called (it was being passed a Unix path when it really wanted a Mac path anyway). Also, autoregistration now looks inside the "components" directory (which is in the same folder as the program.) Also, bumped up registry version # due to change. Also, at startup, when building up list of arguments, check argv[0] against NULL as it might be (on the Mac).
git-svn-id: svn://10.0.0.236/trunk@22761 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 03:01:33 +00:00
mscott%netscape.com
3b3c01c8bc Changes for naoki to implement SetDocumentCharset.
git-svn-id: svn://10.0.0.236/trunk@22760 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 02:02:12 +00:00
briano%netscape.com
cf07d498ba Now it'll be able to capture all of CVS's output instead of just stdout.
git-svn-id: svn://10.0.0.236/trunk@22759 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 01:53:23 +00:00
alecf%netscape.com
eaf4267034 make this test compile on unix
git-svn-id: svn://10.0.0.236/trunk@22758 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 01:40:40 +00:00
alecf%netscape.com
cb9b4dedc6 forgot to include nsUInt32Array.cpp in this library!
git-svn-id: svn://10.0.0.236/trunk@22757 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 01:40:03 +00:00
alecf%netscape.com
ada6d5ba21 fully resolve all symbols and make the base mailnews library a component
git-svn-id: svn://10.0.0.236/trunk@22756 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 01:39:36 +00:00
alecf%netscape.com
2fb77ae582 only build tests when ENABLE_TESTS (i.e. --enable-tests) is turned on
git-svn-id: svn://10.0.0.236/trunk@22755 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 01:36:25 +00:00
terry%netscape.com
530633b1ad "regenerate" was busted.
git-svn-id: svn://10.0.0.236/trunk@22754 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 01:22:27 +00:00
terry%netscape.com
348f970a15 Do the grand component/product renaming.
git-svn-id: svn://10.0.0.236/trunk@22753 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 01:12:31 +00:00
mscott%netscape.com
cb4aefdcb9 part of scc's merge: change interface calls to IID() to GetIID().
git-svn-id: svn://10.0.0.236/trunk@22752 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 00:57:51 +00:00
mscott%netscape.com
4376db8133 part of scc's merge: change IID() calls to GetIID().
git-svn-id: svn://10.0.0.236/trunk@22751 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 00:44:05 +00:00
scc%netscape.com
033c58f132 rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22750 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 23:03:34 +00:00
terry%netscape.com
04e2508b2a Added a "component/product" sanity check.
git-svn-id: svn://10.0.0.236/trunk@22749 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 22:55:36 +00:00
mscott%netscape.com
37569d2d56 attribute name space changes.
git-svn-id: svn://10.0.0.236/trunk@22748 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 21:59:04 +00:00
mscott%netscape.com
0d254799fe attribute name space changes. Spell start up correctly.
git-svn-id: svn://10.0.0.236/trunk@22747 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 21:56:48 +00:00
terry%netscape.com
4240a2d4ca Oops; forgot description for "Apprunner".
git-svn-id: svn://10.0.0.236/trunk@22746 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 21:21:31 +00:00
terry%netscape.com
51e61e5d03 Added "Apprunner".
git-svn-id: svn://10.0.0.236/trunk@22745 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 21:19:33 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
mscott%netscape.com
c09668ebed Fix build breakage by defining SetDocumentCharSet which was added to nsIDOMAppCore.
git-svn-id: svn://10.0.0.236/trunk@22743 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 18:47:16 +00:00
mscott%netscape.com
64dd7f377a Fix build breakage by adding SetDocumentCharset function which was added to nIDOMMsgAppCore.
git-svn-id: svn://10.0.0.236/trunk@22742 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 18:44:12 +00:00
buster%netscape.com
8ee6a7d6a6 added editor module (#define NS_ERROR_MODULE_EDITOR )
git-svn-id: svn://10.0.0.236/trunk@22741 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 18:30:09 +00:00
terry%netscape.com
d5426845f8 Added a "disallownew" field to the products table. If non-zero, then
don't let people file new bugs against this product.  (This is for when a
product is retired, but you want to keep the bug reports around for posterity.)


git-svn-id: svn://10.0.0.236/trunk@22740 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 18:16:24 +00:00
mscott%netscape.com
5bd6463a64 Updates to restore commands by changing Onclick to onclick. Also fixed the syntax error in the openURL call that was preventing the LoadMsg button from working.
git-svn-id: svn://10.0.0.236/trunk@22739 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 18:11:53 +00:00
alecf%netscape.com
4efe12e3f7 onClick -> onclick
git-svn-id: svn://10.0.0.236/trunk@22738 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 17:48:34 +00:00
pinkerton%netscape.com
a60bed6b62 don't look in xul namespace for "src" attribute. Images show up again. permission to checkin to closed tree by sar.
git-svn-id: svn://10.0.0.236/trunk@22737 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 17:28:27 +00:00
val4%cornell.edu
b9e50b7bfe Suport module for jsperl.c. It's not intended for use from Perl.
git-svn-id: svn://10.0.0.236/trunk@22736 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 16:42:57 +00:00
troy%netscape.com
2c9f8c326c Work-in-progress for table pagination
git-svn-id: svn://10.0.0.236/trunk@22735 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 16:33:57 +00:00
dcone%netscape.com
583e3dd616 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22734 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 15:46:43 +00:00
brade%netscape.com
9a1dd1f7df add static to ConsumeConditional to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22733 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 15:37:27 +00:00
brade%netscape.com
65a77a958a add static to two functions and a compare to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22732 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 15:36:42 +00:00
brade%netscape.com
3df52d033c reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22731 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 15:35:49 +00:00
brade%netscape.com
5ac6f5b4a8 remove unused local variable in #ifdef XP_MAC section
git-svn-id: svn://10.0.0.236/trunk@22730 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 15:29:56 +00:00
brade%netscape.com
8cab29de0c add static to 2 functions to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22729 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 15:28:43 +00:00
rods%netscape.com
8ab43c6e54 Added static IID() method
git-svn-id: svn://10.0.0.236/trunk@22728 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 15:17:33 +00:00
brade%netscape.com
f51a003d2b add static to 2 functions to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22727 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:54:48 +00:00
brade%netscape.com
501edd5e13 add static to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22726 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:54:20 +00:00
brade%netscape.com
b48a462046 add "static" to HandleRobotEvent and HandleSiteEvent to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@22725 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:53:39 +00:00
brade%netscape.com
115b5fd0fb reduce compiler warnings on Macintosh by adding comparison in loop (around assignments)
git-svn-id: svn://10.0.0.236/trunk@22724 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:50:41 +00:00
brade%netscape.com
4aa447a575 add static to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22723 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:47:48 +00:00
brade%netscape.com
a97cdf9aba add curly braces to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22722 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:47:18 +00:00
brade%netscape.com
3eb66d6cd6 add static to 4 functions to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22721 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:44:02 +00:00
brade%netscape.com
95d563e707 add static to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22720 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:37:04 +00:00
brade%netscape.com
129375e2ec *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@22719 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:35:06 +00:00
brade%netscape.com
bf6e876ffb reduce compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22718 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 14:31:00 +00:00
ramiro%netscape.com
bd55e1a422 Unhardcode nspr libs.
git-svn-id: svn://10.0.0.236/trunk@22717 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 13:35:52 +00:00
edwin%woudt.nl
b8371710b9 Patch from Morgan Schweers <morgan@vixen.com> to directly edit the From: header in the composition window. We need to add an advanced configuration option to turn this on, because otherwise not-so-clueful users might make mistakes. It'll stay here for now
git-svn-id: svn://10.0.0.236/trunk@22716 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 11:18:50 +00:00
edwin%woudt.nl
64e95c338b We don't want to send the whole path, just the filename.
git-svn-id: svn://10.0.0.236/trunk@22715 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 11:01:22 +00:00
edwin%woudt.nl
6ee1a4f682 For adding attachments a swing JFileChooser is now displayed instead of the AWT FileDialog
git-svn-id: svn://10.0.0.236/trunk@22714 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 10:47:40 +00:00
edwin%woudt.nl
33ab54f1dc Patches from Thomas Down <thomas.down@tri.ox.ac.uk> for better attachment sending handling.
git-svn-id: svn://10.0.0.236/trunk@22713 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 10:46:57 +00:00
edwin%woudt.nl
fe009e1c51 Moving Constants from grendel.storage to grendel.util. Also a little bit of cleaning up on this subject.
git-svn-id: svn://10.0.0.236/trunk@22712 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 10:10:23 +00:00
edwin%woudt.nl
fcf0c79e84 Message deletion works
git-svn-id: svn://10.0.0.236/trunk@22711 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 10:03:06 +00:00
mcafee%netscape.com
df71a67b17 Removing tests that link with components, we need to dlopen() these libraries and not link with them.
git-svn-id: svn://10.0.0.236/trunk@22710 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 09:17:32 +00:00
pierre%netscape.com
37d4d179e6 fix last part of #2336 "Miscellaneous cosmetic problems with scrollbars"
git-svn-id: svn://10.0.0.236/trunk@22709 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 09:05:50 +00:00
pierre%netscape.com
95a3f47239 fix funny button hilites that happened when moving quickly the mouse after doing a dragWindow
git-svn-id: svn://10.0.0.236/trunk@22708 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 09:04:42 +00:00
pierre%netscape.com
72f155cfdc fix #3358 "Missed mouse up events cause chaos"
fix double-clicks in buttons


git-svn-id: svn://10.0.0.236/trunk@22707 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 09:02:54 +00:00
pierre%netscape.com
70413d9059 fix #3358 "Missed mouse up events cause chaos"
git-svn-id: svn://10.0.0.236/trunk@22706 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 09:01:58 +00:00
pierre%netscape.com
c5ce5f5263 updated some comments about nsIWindow
git-svn-id: svn://10.0.0.236/trunk@22705 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 09:00:44 +00:00
rickg%netscape.com
6bea38145b ifdef expat until more testing can be done
git-svn-id: svn://10.0.0.236/trunk@22704 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 08:55:23 +00:00
rickg%netscape.com
26bb7f0161 enabled expat in parsing engine
git-svn-id: svn://10.0.0.236/trunk@22703 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 08:34:23 +00:00
waterson%netscape.com
d97c4079fb Cleaned up OnSetAttribute() and OnRemoveAttribute() to only listen on elements in the tree. Special-cased the 'open' attribute on a xul:treeitem to construct and destroy treechildren as its value is set and unset.
git-svn-id: svn://10.0.0.236/trunk@22702 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 08:10:20 +00:00
waterson%netscape.com
88fe4eb36c Cleaned up OnSetAttribute() and OnRemoveAttribute() to only listen on elements in the XUL document. Renamed the 'contentsgenerated' attribute to 'xulcontentsgenerated' to differentiate from the tree builder's stuff. Made this actually work.
git-svn-id: svn://10.0.0.236/trunk@22701 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 08:09:21 +00:00
waterson%netscape.com
0de97e73ef Removed tree-specific open and close code. This is now in the nsRDFTreeBuilder, where it belongs.
git-svn-id: svn://10.0.0.236/trunk@22700 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 08:07:10 +00:00
waterson%netscape.com
e26551151b Modified tree double-click handler to use DOM APIs instead of nsIContent.
git-svn-id: svn://10.0.0.236/trunk@22699 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 08:05:32 +00:00
beard%netscape.com
9947d53238 struct -> class
git-svn-id: svn://10.0.0.236/trunk@22698 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 06:10:58 +00:00
rhp%netscape.com
5043661316 More cleanup for stream conveter interface.
git-svn-id: svn://10.0.0.236/trunk@22697 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 05:58:00 +00:00
rhp%netscape.com
f4a97dd7af Changes for new XP-COM interface for stream converters.
git-svn-id: svn://10.0.0.236/trunk@22696 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 05:45:55 +00:00
rhp%netscape.com
62ba78eb1d New files for XP-COM stream converter interface.
git-svn-id: svn://10.0.0.236/trunk@22695 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 05:36:20 +00:00
bienvenu%netscape.com
c41d98b442 fix build bustage courtesy of the nsCOMPtr team
git-svn-id: svn://10.0.0.236/trunk@22694 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 05:13:21 +00:00
beard%netscape.com
a1c27dc778 resolving aliases.
git-svn-id: svn://10.0.0.236/trunk@22693 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 04:11:15 +00:00
beard%netscape.com
6ef5b7280e rewrote SetUpPluginInstance to use GetPluginFactory.
git-svn-id: svn://10.0.0.236/trunk@22692 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 04:10:54 +00:00
beard%netscape.com
320d4de322 moved NS_CALLBACK to nsCom.h.
git-svn-id: svn://10.0.0.236/trunk@22691 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 04:09:33 +00:00
beard%netscape.com
7b32613a59 Added NS_CALLBACK macro for standard callback APIs
git-svn-id: svn://10.0.0.236/trunk@22690 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 04:09:11 +00:00
evaughan%netscape.com
c0c44744db Fixed mac event bug.
Fixed alignment bug.


git-svn-id: svn://10.0.0.236/trunk@22689 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 04:04:48 +00:00
waterson%netscape.com
dd3eeaa644 Added mozilla/rdf/base/idl so Makefile is generated. This is not otherwise in the build.
git-svn-id: svn://10.0.0.236/trunk@22688 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 03:30:17 +00:00
waterson%netscape.com
73584bff5f Initial revision: all of the IDL files globbed together.
git-svn-id: svn://10.0.0.236/trunk@22687 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 03:29:37 +00:00
waterson%netscape.com
82e63ea07a Fixed use of Object, which is apparently a keyword.
git-svn-id: svn://10.0.0.236/trunk@22686 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 03:29:13 +00:00
mscott%netscape.com
40e81c3ce8 Remove nsIsmgSend->Test() call.
git-svn-id: svn://10.0.0.236/trunk@22685 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 03:27:31 +00:00
bienvenu%netscape.com
c6bf3f0b96 latest drop of mork files
git-svn-id: svn://10.0.0.236/trunk@22684 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 03:15:45 +00:00
hyatt%netscape.com
c3752a8df8 Fix to the ContentInserted function (ifdef XUL only) for treechildren.
git-svn-id: svn://10.0.0.236/trunk@22683 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 03:11:55 +00:00
pollmann%netscape.com
6385ee828c Handle readonly changes for TextAreas as well as Text Inputs.
git-svn-id: svn://10.0.0.236/trunk@22682 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 03:06:36 +00:00
pollmann%netscape.com
4642b85847 Give nsTextControlFrame a notification when readonly on a TextArea is changed.
git-svn-id: svn://10.0.0.236/trunk@22681 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 03:05:31 +00:00
pollmann%netscape.com
7692e0c4c1 Fix bug #3375 and #3368: Allow hidden inputs and password inputs to store values.
git-svn-id: svn://10.0.0.236/trunk@22680 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 02:54:25 +00:00
nisheeth%netscape.com
8ce7dc3e65 We've decided to do away with the notion of an nsExpatDTD. The expat tokenizer which encapsulates the expat parser will be driven by nsWellFormedDTD. So, nsExpatTokenizer has changed accordingly. nsWellFormedDTD() creates an nsExpatTokenizer if EXPAT is #define'd; otherwise it creates the old nsXMLTokenizer. nsParser no longer registers and createsthe nsExpatDTD.
git-svn-id: svn://10.0.0.236/trunk@22679 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 02:34:18 +00:00
dp%netscape.com
787945c1bd Forcing registry upgrade to alpha0.30 due to autoreg beginning at ./components instead of ./
git-svn-id: svn://10.0.0.236/trunk@22678 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 02:17:57 +00:00
mscott%netscape.com
92d7fc1050 Fix build breakage. Seems like none of these interfaces implement a Test() method...
git-svn-id: svn://10.0.0.236/trunk@22677 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 02:03:48 +00:00
joki%netscape.com
c41dbba1c6 Fix for frames not resizing.
git-svn-id: svn://10.0.0.236/trunk@22676 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:59:50 +00:00
nisheeth%netscape.com
614b3fd83c We've decided to do away with the notion of an nsExpatDTD. The expat tokenizer which encapsulates the expat parser will be driven by nsWellFormedDTD. So, I'm removing the code that constructed an expat DTD for controlling the parsing of an XML document.
git-svn-id: svn://10.0.0.236/trunk@22675 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:57:03 +00:00
mjudge%netscape.com
86f2920385 fixes for selection code, batching at correct point
git-svn-id: svn://10.0.0.236/trunk@22674 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:51:59 +00:00
mjudge%netscape.com
4bb2e93aeb updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal
git-svn-id: svn://10.0.0.236/trunk@22673 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:51:21 +00:00
hyatt%netscape.com
35f4281b4d More fixes to make sure the right attribute namespace is being used.
git-svn-id: svn://10.0.0.236/trunk@22672 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:38:32 +00:00
mscott%netscape.com
71ce6f1280 url listener update.
git-svn-id: svn://10.0.0.236/trunk@22671 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:32:10 +00:00
mscott%netscape.com
bdd7ff4c36 Remove RegisterFactory call for an rfc822 parser. this is done during the self register phase of the msgcore dll.
git-svn-id: svn://10.0.0.236/trunk@22670 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:31:28 +00:00
mscott%netscape.com
254261aa33 Update smtp test to register itself as a url listener on the current smtp url being run.
git-svn-id: svn://10.0.0.236/trunk@22669 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:27:11 +00:00
hyatt%netscape.com
90b4ba1563 Fixes so that attributes are set correctly.
git-svn-id: svn://10.0.0.236/trunk@22668 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:26:33 +00:00
mscott%netscape.com
5d70853340 Don't rely on msgcore.lib, use the dll instead....
git-svn-id: svn://10.0.0.236/trunk@22667 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:25:49 +00:00
dp%netscape.com
2cce57d913 Installing loadable components in components/ directory
git-svn-id: svn://10.0.0.236/trunk@22666 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:25:21 +00:00
mscott%netscape.com
9fb4f82661 asking the smtp service to send a message requires you to pass in a url listener (which can be nsnull if you don't care).
git-svn-id: svn://10.0.0.236/trunk@22665 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:24:56 +00:00
bienvenu%netscape.com
231ebbbf1a make sure message key gets set correctly
git-svn-id: svn://10.0.0.236/trunk@22664 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:22:49 +00:00
mscott%netscape.com
e7b00ca17e Pass in a url listener to send message.
git-svn-id: svn://10.0.0.236/trunk@22663 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:22:20 +00:00
briano%netscape.com
46acc683f2 Major housecleaning, and a hack to allow me to build on Solaris using Workshop.
git-svn-id: svn://10.0.0.236/trunk@22662 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:21:42 +00:00
mscott%netscape.com
1042739ca9 Update to latest version of nsIMsgMailNewsUrl which includes url listener registration and notification stuff.
git-svn-id: svn://10.0.0.236/trunk@22661 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:21:38 +00:00
nhotta%netscape.com
9d42323693 Reformat code for MIME encoder, otherwise unreadable.
git-svn-id: svn://10.0.0.236/trunk@22660 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:20:22 +00:00
mscott%netscape.com
32e276e2af Update to take a url listener when sending a message.
git-svn-id: svn://10.0.0.236/trunk@22659 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:19:50 +00:00
waterson%netscape.com
73e6f37199 Initial revision. They don't work.
git-svn-id: svn://10.0.0.236/trunk@22658 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:19:11 +00:00
mscott%netscape.com
83539652d8 Changes to make the mailbox test driver a url listener on the currently loaded url. This allowed me to use the test driver for mailbox urls as a test for url listeners...
git-svn-id: svn://10.0.0.236/trunk@22657 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:18:18 +00:00
waterson%netscape.com
a1cd895bd4 Added ProgIDToCLSID cache.
git-svn-id: svn://10.0.0.236/trunk@22656 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:18:15 +00:00
hyatt%netscape.com
49fc7c85a3 Fixes to attributes so that they are properly added in with a namespace of
NONE.


git-svn-id: svn://10.0.0.236/trunk@22655 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:17:29 +00:00
mscott%netscape.com
cf21ad834f Update urlListener stuff.
git-svn-id: svn://10.0.0.236/trunk@22654 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:16:42 +00:00
mscott%netscape.com
e3367656c2 pass in urlListener as argument to parsing a mailbox.
git-svn-id: svn://10.0.0.236/trunk@22653 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:15:40 +00:00
mscott%netscape.com
8a0fa9b3cf Add url listener manager support to mailbox urls.
git-svn-id: svn://10.0.0.236/trunk@22652 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:14:45 +00:00
mscott%netscape.com
133e65fe26 When parsing a mailbox, allow the caller to pass in a url listener on the action....
git-svn-id: svn://10.0.0.236/trunk@22651 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:13:34 +00:00
mscott%netscape.com
4135eec9c9 Requires netlib.
git-svn-id: svn://10.0.0.236/trunk@22650 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:12:20 +00:00
mscott%netscape.com
0230d7ef17 Add code to register a url listener manager.
git-svn-id: svn://10.0.0.236/trunk@22649 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:11:53 +00:00
akkana%netscape.com
ad596eb161 Turn on blinking caret
git-svn-id: svn://10.0.0.236/trunk@22648 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:11:50 +00:00
akkana%netscape.com
08d2fe9b17 Fix Unix crash: comment out an assert
git-svn-id: svn://10.0.0.236/trunk@22647 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:11:28 +00:00
mscott%netscape.com
dafcb92bca Build nsUrlListenerManager.
git-svn-id: svn://10.0.0.236/trunk@22646 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:10:42 +00:00
mscott%netscape.com
695610eea1 Build the url listener manager.
git-svn-id: svn://10.0.0.236/trunk@22645 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:08:29 +00:00
mscott%netscape.com
0a1d781831 A generic url listener manager...
git-svn-id: svn://10.0.0.236/trunk@22644 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:07:55 +00:00
mscott%netscape.com
73b36312cb MailNews Urls now support url listeners. Add these new methods to the base url interface class.
git-svn-id: svn://10.0.0.236/trunk@22643 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:06:52 +00:00
mscott%netscape.com
fb502c1c77 Remove from directory...
git-svn-id: svn://10.0.0.236/trunk@22642 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:05:37 +00:00
mscott%netscape.com
f9aca39111 Export nsIUrlListener.h and nsIUrlListenerManager.h
git-svn-id: svn://10.0.0.236/trunk@22641 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:05:04 +00:00
mscott%netscape.com
216e25711a Export nsIListenerUrl.h and nsIUrlListenerManager.h
git-svn-id: svn://10.0.0.236/trunk@22640 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:03:27 +00:00
mscott%netscape.com
35b5fa40ce UrlListener interface and the interface for a generic url listener manager. Each of our url classes will have a url listener manager to handle the book keeping related to url listeners.
git-svn-id: svn://10.0.0.236/trunk@22639 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:02:53 +00:00
briano%netscape.com
6976369168 Automated update
git-svn-id: svn://10.0.0.236/trunk@22638 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 00:45:39 +00:00
karnaze%netscape.com
a726826198 improved <iframe> sizing to consider left, right, etc borders
git-svn-id: svn://10.0.0.236/trunk@22637 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 00:37:55 +00:00
alecf%netscape.com
b18062f12e start splitting nsISupports.h into multiple header files (blank right now until we get them into the Mac build)
git-svn-id: svn://10.0.0.236/trunk@22636 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 00:31:50 +00:00
briano%netscape.com
1d4497a497 Fix the SunOS4 shared lib linking problem. Probably ought to be done more elegantly, though....
git-svn-id: svn://10.0.0.236/trunk@22635 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 00:31:42 +00:00
slamm%netscape.com
7e51be6e16 still not working
git-svn-id: svn://10.0.0.236/trunk@22634 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 00:01:03 +00:00
mscott%netscape.com
ec6ceee69a Build mailbox test.
git-svn-id: svn://10.0.0.236/trunk@22633 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:56:27 +00:00
slamm%netscape.com
2a20d151e1 a little more
git-svn-id: svn://10.0.0.236/trunk@22632 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:56:12 +00:00
scc%netscape.com
e70b8e958a backed out depency on nscore.h
git-svn-id: svn://10.0.0.236/trunk@22631 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:52:38 +00:00
slamm%netscape.com
5f08e71779 try again
git-svn-id: svn://10.0.0.236/trunk@22630 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:47:31 +00:00
briano%netscape.com
09a337ad35 Automated update
git-svn-id: svn://10.0.0.236/trunk@22628 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:31:36 +00:00
brade%netscape.com
dc58e7d168 add static to GetTagName to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22626 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:28:04 +00:00
slamm%netscape.com
07f28f211e Change the order of --disable-build-xpfe and --disable-build-nspr
git-svn-id: svn://10.0.0.236/trunk@22625 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:25:29 +00:00
vidur%netscape.com
2041f859c6 Fixes to get CDATASections working again. Also changes to fix XML links.
git-svn-id: svn://10.0.0.236/trunk@22623 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:22:05 +00:00
vidur%netscape.com
e7ba5a8b0b Fix to get old XML parser to see CDATASections again
git-svn-id: svn://10.0.0.236/trunk@22622 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:20:45 +00:00
wtc%netscape.com
01ee68305f Undo the temporary "depend: clean" hack.
git-svn-id: svn://10.0.0.236/trunk@22621 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:19:01 +00:00
scc%netscape.com
ce584e3c02 now rely on "nscore.h" for NS_REINTERPRET_CAST instead of defining my own. now relying on autoconf system for all unixes. Some tests may need to be fixed.
git-svn-id: svn://10.0.0.236/trunk@22620 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:08:54 +00:00
val4%cornell.edu
90515a0a91 Fix a prolem with prev. check-in
git-svn-id: svn://10.0.0.236/trunk@22619 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:08:06 +00:00
scc%netscape.com
533c3d1f11 fix for nsCOMPtr: no direct construction/assignment from raw COM interface pointers
git-svn-id: svn://10.0.0.236/trunk@22618 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:00:09 +00:00
val4%cornell.edu
9684e39320 Divided JS.pm into two modules to break dependencies between jsperl.c support functions
and functions exporsed from Perl. test.pl fails one of the tests -- need to look at that.
Worspace  build settings also changed.


git-svn-id: svn://10.0.0.236/trunk@22617 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:53:16 +00:00
jband%netscape.com
8fda3403f8 nsID JSObject can now do mapping to and from interface names using nsIInterfaceInfoManager. Fixed a bug in getting name. Added nsID tests
git-svn-id: svn://10.0.0.236/trunk@22616 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:51:11 +00:00
scc%netscape.com
a6ad86bdb2 fix for nsCOMPtr: no construction/assignment from raw COM interface pointers
git-svn-id: svn://10.0.0.236/trunk@22615 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:44:55 +00:00
kmcclusk%netscape.com
4bd141876c gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN


git-svn-id: svn://10.0.0.236/trunk@22614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:43:26 +00:00
scc%netscape.com
8525928774 fixed for nsCOMPtr: no constructions assignments from raw COM interface pointers
git-svn-id: svn://10.0.0.236/trunk@22613 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:38:42 +00:00
beard%netscape.com
d264efb592 removed all vestiges of nsIMalloc.
git-svn-id: svn://10.0.0.236/trunk@22612 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:33:32 +00:00
beard%netscape.com
a9d898c78c made inheritance public.
git-svn-id: svn://10.0.0.236/trunk@22611 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:31:54 +00:00
beard%netscape.com
e53b867cea fix menu double dispatching
git-svn-id: svn://10.0.0.236/trunk@22610 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:30:02 +00:00
scc%netscape.com
84d4e393bc fixed for nsCOMPtr: no construction or assignment from raw COM interface pointers
git-svn-id: svn://10.0.0.236/trunk@22609 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:27:46 +00:00
wtc%netscape.com
cda9f78e88 Another update of the latest stuff from the internal CVS repository /m/src.
git-svn-id: svn://10.0.0.236/trunk@22608 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:23:14 +00:00
kmcclusk%netscape.com
f5e311af18 Added debug/style/widget render mode to the viewer menu in GTK. This allows
the viewer to set whether native or gfx-rendered widgets should be used.


git-svn-id: svn://10.0.0.236/trunk@22607 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:15:35 +00:00
despotdaemon%netscape.com
5816235d2a Pseudo-automatic update of changes made by val4@cornell.edu.
git-svn-id: svn://10.0.0.236/trunk@22606 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 21:32:53 +00:00
dougt%netscape.com
ca9ff84fe2 Added Unix makefiles (that really do not do anything)
Added Arguments and Jarfile variables to the Install object which
are now being reflected into js.
Fixed how ExtractJarFile in Install was working
Hooked up to libjar.

** These changes are not part of the Tinderbox builds **


git-svn-id: svn://10.0.0.236/trunk@22605 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 20:25:42 +00:00
mcafee%netscape.com
ccb66a01d5 mcom_db.h, cdefs.h also had copies over in mozilla/dbm/include, this was causing much confusion as you can imagine. I've merged changes over to the dbm versions and am retiring these files. r=pinkerton@netscape.com,leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@22604 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:41:25 +00:00
despotdaemon%netscape.com
55d295b1ef Pseudo-automatic update of changes made by syd@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22603 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:40:53 +00:00
leaf%mozilla.org
9f0b197029 Helping mcafee change the default location of cdefs.h and mcom_db.h
git-svn-id: svn://10.0.0.236/trunk@22602 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:37:15 +00:00
despotdaemon%netscape.com
1874aee396 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@22601 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:27:01 +00:00
alecf%netscape.com
42f969b1e0 fix HPUX bustage - confused by too many similar constructors
git-svn-id: svn://10.0.0.236/trunk@22600 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:23:06 +00:00
joki%netscape.com
e62bbe65fe Adding new tab handling and focus support.
git-svn-id: svn://10.0.0.236/trunk@22599 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:19:24 +00:00
akkana%netscape.com
59406ac999 nsWindow.cpp didn't like the fcn name SelectionClear
git-svn-id: svn://10.0.0.236/trunk@22598 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:06:28 +00:00
joki%netscape.com
6e83286f60 Adding new interface for focusable content
git-svn-id: svn://10.0.0.236/trunk@22597 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:05:54 +00:00
pinkerton%netscape.com
62116e0985 add manifest for dbm/include
git-svn-id: svn://10.0.0.236/trunk@22596 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:02:28 +00:00
pinkerton%netscape.com
88055a803c remove duplicated files already in dbm
git-svn-id: svn://10.0.0.236/trunk@22595 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:01:56 +00:00
slamm%netscape.com
267f358295 Style changes.
git-svn-id: svn://10.0.0.236/trunk@22594 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 18:41:21 +00:00
ducarroz%netscape.com
78124a6bda clean up: change PR_MALLOC for PR_Malloc
git-svn-id: svn://10.0.0.236/trunk@22593 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 18:36:58 +00:00
ducarroz%netscape.com
2ab9da25ac sources clean up
git-svn-id: svn://10.0.0.236/trunk@22592 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 18:35:42 +00:00
putterman%netscape.com
dc666000f4 Add ".msf" to the list of files types we should ignore when building folders.
git-svn-id: svn://10.0.0.236/trunk@22591 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 18:32:39 +00:00
jband%netscape.com
6c33d541a1 fix misguided use of ebx in tests too
git-svn-id: svn://10.0.0.236/trunk@22590 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 18:31:25 +00:00
ftang%netscape.com
88f3ce7132 fix SmallCap to make it work for the whole range of unicode
git-svn-id: svn://10.0.0.236/trunk@22589 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 18:25:22 +00:00
ftang%netscape.com
48f5a3a3d8 add IsUpper and IsLower which work for all Unicode, reviewed and approved by kipp
git-svn-id: svn://10.0.0.236/trunk@22588 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 18:24:42 +00:00
jband%netscape.com
b59c75350a fixes to make it work in release builds: some #ifdef DEBUGs, don't munge ebx register on win32!, stray star, friendlier result if linux code included in non-Linux build
git-svn-id: svn://10.0.0.236/trunk@22587 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 18:24:17 +00:00
akkana%netscape.com
40a8bc718d Improvements in handling of the X selection, and some explanatory comments
git-svn-id: svn://10.0.0.236/trunk@22586 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 18:08:49 +00:00
nhotta%netscape.com
e99241e1d8 Added SetDocumentCharset.
git-svn-id: svn://10.0.0.236/trunk@22585 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 17:53:52 +00:00
nhotta%netscape.com
4e4a33af41 Added SetDocumentCharset.
git-svn-id: svn://10.0.0.236/trunk@22584 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 17:48:05 +00:00
rhp%netscape.com
3e62888ba3 Changes for new header conversion interfaces
git-svn-id: svn://10.0.0.236/trunk@22583 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 17:47:31 +00:00
terry%netscape.com
1c7a9c70cb Oops! Mispelled "petersen".
git-svn-id: svn://10.0.0.236/trunk@22582 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 17:45:23 +00:00
rhp%netscape.com
ca91c60636 Update for header defines
git-svn-id: svn://10.0.0.236/trunk@22581 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 17:43:02 +00:00
putterman%netscape.com
8640a14ce1 update to use RDF:containment tag. ThreadPane now loads from RDF.
Removed xul: from threadPane.


git-svn-id: svn://10.0.0.236/trunk@22580 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 17:21:11 +00:00
putterman%netscape.com
52e99acea6 Added ability to GetMessages from prepopulated database.
git-svn-id: svn://10.0.0.236/trunk@22579 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 17:17:53 +00:00
putterman%netscape.com
32d57dc133 Added temporary code for creating a URI and adding it to nsMsgHdr.
git-svn-id: svn://10.0.0.236/trunk@22578 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 17:17:00 +00:00
harishd%netscape.com
6b0ff9e89c We don't create a content node for <NOEMBED> tags.
Therefore, added kDiscardTag to noembed special properties bit.


git-svn-id: svn://10.0.0.236/trunk@22577 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 17:13:55 +00:00
harishd%netscape.com
33d3b8cb7f Included flag kLegalOpen which will be used later
in handling <BODY>, <SCRIPT>, and <TITLE> tags.


git-svn-id: svn://10.0.0.236/trunk@22576 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 17:13:18 +00:00
rhp%netscape.com
0bbbe6bed9 Changes for new XP-COM interface.
git-svn-id: svn://10.0.0.236/trunk@22575 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 17:06:48 +00:00
rhp%netscape.com
7aa66bf8b7 Change for interface
git-svn-id: svn://10.0.0.236/trunk@22574 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 16:57:16 +00:00
dcone%netscape.com
9d7acd41c1 Update some functions, and formating
git-svn-id: svn://10.0.0.236/trunk@22573 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 16:47:16 +00:00
rhp%netscape.com
d752c91db0 New interfaces to be exported.
git-svn-id: svn://10.0.0.236/trunk@22572 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 16:46:02 +00:00
rhp%netscape.com
f7c8fc398a Adding new header converter interface.
git-svn-id: svn://10.0.0.236/trunk@22570 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 16:10:28 +00:00
fur%netscape.com
98dc06cfc5 Eliminating New* files, which are old snapshots of other files
git-svn-id: svn://10.0.0.236/trunk@22569 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 16:07:50 +00:00
rhp%netscape.com
a6aaae7794 New header conversion interface
git-svn-id: svn://10.0.0.236/trunk@22568 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:58:15 +00:00
fur%netscape.com
9789a62ec6 Change c-basic-offset in header to 4, instead of 2
git-svn-id: svn://10.0.0.236/trunk@22565 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:57:56 +00:00
brade%netscape.com
96fb4a86c6 add prototype for NS_NewRDFInMemoryDataSource to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22564 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:30:28 +00:00
brade%netscape.com
b77aa3b2d1 add static to reduce compiiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@22563 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:28:46 +00:00
brade%netscape.com
8a821da6c1 add dtd; cleanup
git-svn-id: svn://10.0.0.236/trunk@22562 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:26:37 +00:00
brade%netscape.com
e6fbc4c382 add dtd, buttons; cleanup
git-svn-id: svn://10.0.0.236/trunk@22561 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:23:57 +00:00
brade%netscape.com
2829351851 add dtd, cleanup
git-svn-id: svn://10.0.0.236/trunk@22560 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:23:28 +00:00
brade%netscape.com
b61777731a add dtd
git-svn-id: svn://10.0.0.236/trunk@22559 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:20:35 +00:00
brade%netscape.com
3dd995e0ea add dtd, convert to entities, cleanup
git-svn-id: svn://10.0.0.236/trunk@22558 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:20:16 +00:00
brade%netscape.com
932a848fb0 add dtd; cleanup
git-svn-id: svn://10.0.0.236/trunk@22557 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:19:23 +00:00
brade%netscape.com
79a7510984 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@22556 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:18:54 +00:00
brade%netscape.com
dc6b22194c add static to LegendHack() to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@22555 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:17:35 +00:00
brade%netscape.com
aeb3fcb6d7 add static to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@22554 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:17:14 +00:00
brade%netscape.com
90c1429745 reduce Macintosh compiler warnings by making function static
git-svn-id: svn://10.0.0.236/trunk@22553 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:15:46 +00:00
brade%netscape.com
de15c96e7b add "static" to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@22552 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:13:29 +00:00
cls%seawood.org
043cab15f3 Fixed problem with ondblclick being released w/o being allocated. Appeared to be a copy-n-paste oversight.
git-svn-id: svn://10.0.0.236/trunk@22551 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 10:20:52 +00:00
jband%netscape.com
e8d76f613d added some XPConnect dirs to the list
git-svn-id: svn://10.0.0.236/trunk@22547 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 08:19:10 +00:00
jband%netscape.com
9da670ea9b makefile fixups to get xptinfo working on Win32. Added xptinfo.h for public dll declarations
git-svn-id: svn://10.0.0.236/trunk@22545 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:59:53 +00:00
jband%netscape.com
3a268a8dc6 fixed some makefile flags
git-svn-id: svn://10.0.0.236/trunk@22544 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:55:42 +00:00
buster%netscape.com
19e607046b implemented GetTextProperty -- only works for bold and italic now,
trivial to add more properties
finished first cut at SetTextProperty.  This triggers lots of crashes in
range/selection code where we're holding onto a stale frame pointer (at
least, that's my best guess.)
synched with Charlie's change-o-rama
added an assert in DeleteTextTxn::Init() checking aNumCharsToDelete vs.
0
  NS_ASSERTION(0!=aNumCharsToDelete, "bad arg, numCharsToDelete");
if the number of chars to delete is 0, we shouldn't be creating a
transaction at all.  I had never seen this condition arise before
Charlie's checkin, I don't know if he introduced it or if it was a
latent bug I just never tripped over before.


git-svn-id: svn://10.0.0.236/trunk@22543 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:52:41 +00:00
mcafee%netscape.com
11b75bfd7c cdefs.h and mcom_db.h also exist in mozilla/include, merging some changes over to these versions in anticipation of retiring the mozilla/include versions of these files.
git-svn-id: svn://10.0.0.236/trunk@22542 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:47:29 +00:00
waterson%netscape.com
e4c96b1a9c Added code to spy on the xul:open attribute; we now force content construction when a node is opened and release the children when it is closed.
git-svn-id: svn://10.0.0.236/trunk@22541 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:34:32 +00:00
waterson%netscape.com
2ea932b826 Create cell children _before_ adding the tree row to the tree. Removed unnecessary calls to FindTreeElement() where just using mRoot would do.
git-svn-id: svn://10.0.0.236/trunk@22540 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:33:45 +00:00
cmanske%netscape.com
746fe83415 Fixed mismatched declarations/implementations
git-svn-id: svn://10.0.0.236/trunk@22539 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:13:45 +00:00
mccabe%netscape.com
ddf198d345 Not yet part of Seamonkey.
Changed from using malloc to (much less, but still slightly) hacked
nsIAllocator service.


git-svn-id: svn://10.0.0.236/trunk@22538 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:38:27 +00:00
cmanske%netscape.com
eafa393b89 added files: mozilla/editor/base/InsertTableTxn.cpp, mozilla/editor/base/InsertTableCellTxn.cpp, mozilla/editor/base/InsertTableColumnTxn.cpp, mozilla/editor/base/InsertTableRowTxn.cpp, mozilla/editor/base/DeleteTableTxn.cpp, mozilla/editor/base/DeleteTableCellTxn.cpp, mozilla/editor/base/DeleteTableColumnTxn.cpp, mozilla/editor/base/DeleteTableRowTxn.cpp, mozilla/editor/base/JoinTableCellsTxn.cpp, mozilla/editor/base/nsHTMLEditor.cpp, mozilla/editor/base/EditTable.cpp, mozilla/editor/base/nsHTMLEditFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@22537 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:32:29 +00:00
cmanske%netscape.com
e91953e14c Changed editor AppCore to use nsHTMLEditor instead of nsTextEditor
git-svn-id: svn://10.0.0.236/trunk@22536 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:32:25 +00:00
cmanske%netscape.com
1fc7d6718f Changed viewer to use nsHTMLEditor instead of nsTextEditor
git-svn-id: svn://10.0.0.236/trunk@22535 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:31:41 +00:00
cmanske%netscape.com
202c5b89dc Implemented nsHTMLEditor. Changed prototypes to be use NS_IMETHOD and NS_IMETHODIMP. Started table editing transactions
git-svn-id: svn://10.0.0.236/trunk@22534 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:30:53 +00:00
mccabe%netscape.com
0217662ca2 Not yet part of the seamonkey build.
Moved nsInterfaceInfoManager files from the libxpt directory (where
they would have precipitated an unpleasant circular dependency between
xpidl and nsISupports.h) into a new subdirectory.

Added corresponding entries to allmakefiles.sh.

nsInterfaceInfoManager is intended to abstract the loading and
management of typelib information generated by xpidl, for use by
xpconnect.


git-svn-id: svn://10.0.0.236/trunk@22533 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:21:31 +00:00
evaughan%netscape.com
e361d199bf Made the image accessible from CSS via list-style-image.
git-svn-id: svn://10.0.0.236/trunk@22532 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:00:51 +00:00
beard%netscape.com
9f8f8bbc42 Added Release to peer's destructor, delaying release of stream until NPP_URLNotify.
git-svn-id: svn://10.0.0.236/trunk@22531 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:46:05 +00:00
beard%netscape.com
875193d236 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22530 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:43:30 +00:00
beard%netscape.com
4fb64bc2c7 added async parameter to send().
git-svn-id: svn://10.0.0.236/trunk@22529 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:42:38 +00:00
beard%netscape.com
3fa226c57e implements nsIPluginStreamListener, to handle javascript: URLs.
git-svn-id: svn://10.0.0.236/trunk@22528 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:42:35 +00:00
beard%netscape.com
0b7b11b462 added setCodeBase().
git-svn-id: svn://10.0.0.236/trunk@22527 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:42:31 +00:00
beard%netscape.com
97dca30b56 added setCodeBase(), running showDocument() in Java thread.
git-svn-id: svn://10.0.0.236/trunk@22526 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:42:30 +00:00
beard%netscape.com
777eadcf18 turned on C++ compiler for syntax checking header files.
git-svn-id: svn://10.0.0.236/trunk@22525 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:42:28 +00:00
beard%netscape.com
813c2f226b Resizes correctly, took out call to codebase(), plugin now computes codebase with JavaScript.
git-svn-id: svn://10.0.0.236/trunk@22524 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:38:45 +00:00
sfraser%netscape.com
8eb1658e33 Fix the caret so that it draws on Windows (and UNIX, hopefully), and turn on the #define so that the caret gets created in the pres shell. It gets shown in editor mode.
git-svn-id: svn://10.0.0.236/trunk@22523 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:26:49 +00:00
sfraser%netscape.com
2248f68b22 Make the caret width a twips value, instead of pixels.
git-svn-id: svn://10.0.0.236/trunk@22522 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:25:11 +00:00
rjc%netscape.com
5d133ee642 ChildAt(0) can return NULL, so check for it!
git-svn-id: svn://10.0.0.236/trunk@22521 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:07:10 +00:00
rjc%netscape.com
863a2fb603 Fix array offset.
git-svn-id: svn://10.0.0.236/trunk@22520 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:05:10 +00:00
nisheeth%netscape.com
5b60582d89 - Changed the way the expat parser is encapsulated. Now, the expat DTD creates and destroys the expat parser and registers callbacks with the expat parser. The expat tokenizer simply gets the entire buffer contents from the scanner and passes it to ParseXMLBuffer() on the expat DTD. Earlier, the expat tokenizer was encapsulating the expat parser behind its interfaces. This change gets rid of nsIExpatTokenizer because the expat tokenizer no longer needs to expose methods for registering callbacks with the expat parser.
git-svn-id: svn://10.0.0.236/trunk@22519 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:02:23 +00:00
jband%netscape.com
b2603c0b11 some fixes pointed out by purify. Tests better verify that wrappers are not leaking
git-svn-id: svn://10.0.0.236/trunk@22518 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:32:42 +00:00
pollmann%netscape.com
2aa51a7e02 Cleanup: Use the GetPrimary Frame in nsGenericHTMLElement. Enable fetching selectedIndex before frame creation (using DefaultSelected instead of Selected) Bug #3340
git-svn-id: svn://10.0.0.236/trunk@22517 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:31:17 +00:00
pollmann%netscape.com
af6fe42eb6 Enable GetSelected for options inside of option groups. (Fix GetPrimaryFrame)
git-svn-id: svn://10.0.0.236/trunk@22516 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:26:29 +00:00
pollmann%netscape.com
95b65d4e20 Cleanup: return NS_NOINTERFACE not NS_OK if getting the primary frame fails.
git-svn-id: svn://10.0.0.236/trunk@22515 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:22:45 +00:00
pollmann%netscape.com
4b77b70cb2 Fix change notifications for combo boxes.
git-svn-id: svn://10.0.0.236/trunk@22514 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:19:25 +00:00
nisheeth%netscape.com
b045982ba5 nsParser.cpp would not compile if the EXPAT compiler define was set because I had
not included nsExpatDTD.h.  Now, nsExpatDTD.h gets included if EXPAT is set.


git-svn-id: svn://10.0.0.236/trunk@22513 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:03:52 +00:00
brendan%netscape.com
da11cc260c Deal with wstring in .idl files correctly, or at least better.
git-svn-id: svn://10.0.0.236/trunk@22512 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:01:39 +00:00
nisheeth%netscape.com
a2d8875807 We no longer call RegisterDTD() on nsParser when initiating parsing of XML
documents.


git-svn-id: svn://10.0.0.236/trunk@22511 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:58:25 +00:00
brendan%netscape.com
6a4bb56bf2 Use new 'W' format with JS_ConvertArguments to get PRUnichar* out.
git-svn-id: svn://10.0.0.236/trunk@22510 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:51:33 +00:00
brendan%netscape.com
e77361e332 - Added 'W' format to JS_ConvertArguments, for conversion to string and return
via a jschar* out parameter.
- Fused common string conversion and argv[i] GC-rooting code in JS_ConvertArgs.
- Added to cvtargs test command, which really needs to stop using a hardwired
  format string!
- Fixed char-typed fgetc-receiving variable to be of int type for correct EOF
  comparison on machines with unsigned chars.


git-svn-id: svn://10.0.0.236/trunk@22509 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:38:45 +00:00
mcmullen%netscape.com
340fc37aa3 Took another one for nsIRandomAccessData.
git-svn-id: svn://10.0.0.236/trunk@22508 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:24:46 +00:00
rjc%netscape.com
4426076367 Bug fix: Sort on all child nodes.
git-svn-id: svn://10.0.0.236/trunk@22507 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:17:16 +00:00
hyatt%netscape.com
f853b0251d Changing the GetAttribute and SetAttribute calls to properly use the namespace
of NONE (instead of XUL).


git-svn-id: svn://10.0.0.236/trunk@22506 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:04:45 +00:00
terry%netscape.com
0834acefe2 Got rid of the "bonsai-hook@warp" nonsense. Added an optional "cchookmail"
entry in the config file, to allow us to set people who always get
CC'd on mail to the hook.


git-svn-id: svn://10.0.0.236/trunk@22505 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:55:49 +00:00
waterson%netscape.com
9ed6ac1dab Fixed sloppiness with nsCOMPtr's that Win32 compiler didn't pick up.
git-svn-id: svn://10.0.0.236/trunk@22504 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:47:18 +00:00
briano%netscape.com
0363f883d4 Automated update
git-svn-id: svn://10.0.0.236/trunk@22503 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:45:38 +00:00
alecf%netscape.com
1640345a6b fix AIX bustage - explicitly refer to parent constructor even though it's within
the scope of this constructor..


git-svn-id: svn://10.0.0.236/trunk@22502 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:44:07 +00:00
waterson%netscape.com
19d034434e Modified so that resource implementation registers _self_, rather than relying on the RDF service to do it. Also, added global static reference to RDF service.
git-svn-id: svn://10.0.0.236/trunk@22501 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:44:01 +00:00
ftang%netscape.com
b6b33c230f check in prototype code for orderid formater
git-svn-id: svn://10.0.0.236/trunk@22500 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:43:00 +00:00
alecf%netscape.com
2a1e455f1f fix linux -pedantic build - compiler confused by too much casting
git-svn-id: svn://10.0.0.236/trunk@22499 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:41:45 +00:00
alecf%netscape.com
dc213e6802 fix AIX bustage - compiler confused by too much casting
git-svn-id: svn://10.0.0.236/trunk@22498 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:40:52 +00:00
waterson%netscape.com
92c5a832b4 Whoops. Fixed a misnamed header file that Unix case-sensitiveness busts on.
git-svn-id: svn://10.0.0.236/trunk@22497 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:40:41 +00:00
alecf%netscape.com
f1139651d9 fix const-ness problem that was plaguing AIX and Linux -pedantic
git-svn-id: svn://10.0.0.236/trunk@22496 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:39:23 +00:00
waterson%netscape.com
ac51e62513 General clean-up. Use RDF containers instead of multi-attributes.
git-svn-id: svn://10.0.0.236/trunk@22495 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:38:34 +00:00
waterson%netscape.com
08eb228c3d Added DOM observer stubs. Modified tree property lookup (now called 'containment') to look up the tree for a special tag. Modified generation code to only produce children for 'open' nodes.
git-svn-id: svn://10.0.0.236/trunk@22494 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:37:10 +00:00
briano%netscape.com
576290b04d Fixes for the SunOS 4 build.
git-svn-id: svn://10.0.0.236/trunk@22493 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:36:48 +00:00
waterson%netscape.com
77dee61cf8 Removed spurious comment.
git-svn-id: svn://10.0.0.236/trunk@22492 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:33:49 +00:00
slamm%netscape.com
9855b242ca -mput back the 'who' link too. So much for my byte savings. Need to find a way to test for JavaScript.
git-svn-id: svn://10.0.0.236/trunk@22491 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:30:24 +00:00
evaughan%netscape.com
a29ac956d2 Fixed button to respond to the list-style-image property on CSS
git-svn-id: svn://10.0.0.236/trunk@22490 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:25:33 +00:00
slamm%netscape.com
2fdb50250d Don't rely on 'onclick' handler and pay the price for people who might not use javascript.
git-svn-id: svn://10.0.0.236/trunk@22489 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:14:21 +00:00
terry%netscape.com
d2a92c7e70 Changed qa contact for NGLayout's "Layout" component to be peterson.
git-svn-id: svn://10.0.0.236/trunk@22488 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:07:31 +00:00
hyatt%netscape.com
7c82f53dcb Modified ContentInserted (for XUL only) to support the tree widget's
wacky frame construction code.


git-svn-id: svn://10.0.0.236/trunk@22487 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:07:28 +00:00
briano%netscape.com
f8260c7b52 Added support for QNX.
git-svn-id: svn://10.0.0.236/trunk@22486 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:05:04 +00:00
waterson%netscape.com
dd0b409fce Removed code that was #if 0-ed.
git-svn-id: svn://10.0.0.236/trunk@22485 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:01:52 +00:00
waterson%netscape.com
cb5103544a Got rid of PrefixMap(), which was obsoleted by Warren's changes to use the repository. Added some assertions to ease debugging. Altered GetResource() and GetDataSource() to _not_ automatically register the resource/datasource; rather, the resource/datasource's Init() method should do that. ClGot rid of PR_smptrinf() calls in favor of nsAutoString stuff.
git-svn-id: svn://10.0.0.236/trunk@22484 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:00:45 +00:00
waterson%netscape.com
02c6b594e8 Updated documentation on ReigsterDataSource() && RegisterResource().
git-svn-id: svn://10.0.0.236/trunk@22483 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:59:03 +00:00
wtc%netscape.com
48cd560372 Another update from the internal CVS repository /m/src to mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@22482 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:58:34 +00:00
cls%seawood.org
c7bff4d0a0 Moved optimization filtering so that OS_CFLAGS doesn't get evaluated prematurely.
git-svn-id: svn://10.0.0.236/trunk@22481 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:54:31 +00:00
pollmann%netscape.com
1780b536cd Allow windows text widgets to update readonly state on the fly, as gtk already does.
git-svn-id: svn://10.0.0.236/trunk@22480 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:48:22 +00:00
akkana%netscape.com
48e5972c0f Fix potential leak of content sink
git-svn-id: svn://10.0.0.236/trunk@22479 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:47:43 +00:00
slamm%netscape.com
13a1bc9b8f Reduce the number of bytes returned.
git-svn-id: svn://10.0.0.236/trunk@22478 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:41:31 +00:00
cyeh%netscape.com
85f0f03d2a knod of the head to sfraser, for reminding me that you need to also initialize processInfoRec with the size of the process record.
git-svn-id: svn://10.0.0.236/trunk@22477 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:34:49 +00:00
terry%netscape.com
0f85dc8978 Wasn't quoting the "%" correctly in people's e-mail addresses.
git-svn-id: svn://10.0.0.236/trunk@22476 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:06:06 +00:00
cyeh%netscape.com
51f89d1297 (really cyeh) fix crashing bug in optimized builds of viewer, but i'm really suprised that this didn't crash more often.
per Inside Macintosh: Processes: you must initialize the ProcessInfoRec with the address to a valid FSSpec and at least 32 bytes of memory if you want the name of the process. if you do not want the name of the process, pass in nil into ProcessInfoRec.processName. We were crashing because the value of PIR.processName was uninitialized, and we were copying the name of the application into random memory.


git-svn-id: svn://10.0.0.236/trunk@22475 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:03:30 +00:00
despotdaemon%netscape.com
58cd3e91d0 Pseudo-automatic update of changes made by dhiren@nuvomedia.com.
git-svn-id: svn://10.0.0.236/trunk@22474 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:01:14 +00:00
bienvenu%netscape.com
8e4e9ef6d5 add version number to msg database
git-svn-id: svn://10.0.0.236/trunk@22473 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 23:34:30 +00:00
alecf%netscape.com
c0859e41c3 make unix build the entire base directory into one .so
git-svn-id: svn://10.0.0.236/trunk@22472 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 23:23:35 +00:00
pnunn%netscape.com
b7491db3cc created. -pnunn
git-svn-id: svn://10.0.0.236/trunk@22471 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 22:40:55 +00:00
mscott%netscape.com
a58a435800 Correctly build the toolbar and menu items for the mail 3-pane. They used to be expressed in msgbar.xul but it doesn't seem to like it when they are defined that way. I also assumed that xul was the default name space and removed all "xul:" tags. Forced hard coded height and width values for each of the panes. These values are actually from a patch that Candice sent me.
git-svn-id: svn://10.0.0.236/trunk@22470 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 22:13:14 +00:00
mscott%netscape.com
d4cbf311f7 Export delmsg.gif because we don't have an icon for this yet...
git-svn-id: svn://10.0.0.236/trunk@22469 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 22:11:56 +00:00
alecf%netscape.com
7b51871d6a move old nsIMessenger interface and move into base/
git-svn-id: svn://10.0.0.236/trunk@22468 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 21:54:40 +00:00
dougt%netscape.com
dd3f8247a9 massive changes.
git-svn-id: svn://10.0.0.236/trunk@22467 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 21:35:13 +00:00
akkana%netscape.com
e39b4ff154 include the parser library too
git-svn-id: svn://10.0.0.236/trunk@22466 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 20:46:08 +00:00
leaf%mozilla.org
9e46ea97c1 Fixing the dependency on mozilla/config (yanked the include, removed the $(NMAKE)
references. Approved: sar


git-svn-id: svn://10.0.0.236/trunk@22465 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 20:16:01 +00:00
cmanske%netscape.com
e5de2ef497 Added exported header file for nsHTMLEditor
git-svn-id: svn://10.0.0.236/trunk@22464 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:55:43 +00:00
cmanske%netscape.com
e768f77e73 New files for nsHTMLEditor and table editing transactions (not working yet)
git-svn-id: svn://10.0.0.236/trunk@22463 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:54:47 +00:00
karnaze%netscape.com
3837aaafce bug 3347
git-svn-id: svn://10.0.0.236/trunk@22462 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:25:47 +00:00
pinkerton%netscape.com
0a518ff5d3 some hacks (and ifdefs) for macOS until NSPR gets fixed. This at least allows us to test out libReg and find bugs.
git-svn-id: svn://10.0.0.236/trunk@22461 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:24:27 +00:00
akkana%netscape.com
303a2467a4 Move bulk of DoCopy code from nsBrowserWindow.cpp into nsPresShell
git-svn-id: svn://10.0.0.236/trunk@22460 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:21:01 +00:00
mscott%netscape.com
03988b3d6a Experimenting with my first idl file. This interface will allow us to have the application (or the code that wants to run a url) to be a listener on that url. we'd like to see something like this get pushed into netlib.
git-svn-id: svn://10.0.0.236/trunk@22459 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:16:31 +00:00
law%netscape.com
fd87815682 Fix recursion problem
git-svn-id: svn://10.0.0.236/trunk@22458 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:06:27 +00:00
harishd%netscape.com
113dd31506 Enabling P tag autoclosuer at HR
git-svn-id: svn://10.0.0.236/trunk@22457 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 18:56:20 +00:00
bienvenu%netscape.com
e0ded8d07f rename mk_TraceMsg to ns_mkTraceMsg to fix link error
git-svn-id: svn://10.0.0.236/trunk@22456 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 18:38:26 +00:00
beard%netscape.com
af5f1235c4 registering GenericFactory component
git-svn-id: svn://10.0.0.236/trunk@22455 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 18:09:13 +00:00
putterman%netscape.com
c3e3b1e67e added threadPane.css
git-svn-id: svn://10.0.0.236/trunk@22454 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 18:07:22 +00:00
putterman%netscape.com
031a23772b Added threadPane.css
git-svn-id: svn://10.0.0.236/trunk@22453 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 18:06:58 +00:00
rods%netscape.com
9ae1a51751 Added method
git-svn-id: svn://10.0.0.236/trunk@22452 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:52:22 +00:00
pinkerton%netscape.com
d8b06455af make the hack for macos to not use libreg easier to turn on and off to make it easier to work on a fix.
git-svn-id: svn://10.0.0.236/trunk@22451 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:47:28 +00:00
pinkerton%netscape.com
b3427e2a63 correctly implement nsIMenuListener.
git-svn-id: svn://10.0.0.236/trunk@22450 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:30:14 +00:00
rods%netscape.com
5a1bf02774 Added forward decl
git-svn-id: svn://10.0.0.236/trunk@22449 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:08:13 +00:00
rods%netscape.com
f9ff0cab61 Added new method
git-svn-id: svn://10.0.0.236/trunk@22448 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:03:21 +00:00
vidur%netscape.com
a01e1fe820 Temp fix to allow SCRIPT elements in SELECT elements.
git-svn-id: svn://10.0.0.236/trunk@22447 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:00:51 +00:00
rods%netscape.com
d756a36bab Added arible
git-svn-id: svn://10.0.0.236/trunk@22446 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:00:24 +00:00
vidur%netscape.com
83118f458a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy.
git-svn-id: svn://10.0.0.236/trunk@22445 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:57:35 +00:00
rods%netscape.com
b443d2b304 ifdef'ed out some menu code that does work yet.
git-svn-id: svn://10.0.0.236/trunk@22444 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:48:45 +00:00
rods%netscape.com
8cf03a78ef Added methods to header.
git-svn-id: svn://10.0.0.236/trunk@22443 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:48:19 +00:00
dcone%netscape.com
7ff8c2a247 Fixed up postscript stuff, now prints on Unix
git-svn-id: svn://10.0.0.236/trunk@22442 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:23:36 +00:00
rods%netscape.com
98d535f887 Added MenuDeselect to nsIMenuListener
git-svn-id: svn://10.0.0.236/trunk@22441 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:22:40 +00:00
rods%netscape.com
7313babfcb Change it to do a QueryInterface, is this right?
git-svn-id: svn://10.0.0.236/trunk@22440 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 15:27:55 +00:00
ramiro%netscape.com
1e7bef47df Here is patch to add font-styles to gtk-widgets. It adds styles
to widgets on creation, and uses that style to change fonts.
Thanks to Tomi Leppikangas <Tomi.Leppikangas@oulu.fi>


git-svn-id: svn://10.0.0.236/trunk@22439 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 13:30:54 +00:00
ramiro%netscape.com
164e781dbc Do the exception thing only if HAVE_CPP_EXCEPTIONS is defined.
git-svn-id: svn://10.0.0.236/trunk@22438 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 12:54:16 +00:00
ramiro%netscape.com
511fa6c14c gcc 2.7.x portability fixes.
git-svn-id: svn://10.0.0.236/trunk@22437 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 12:25:24 +00:00
briano%netscape.com
d5e75c7d94 Automated update
git-svn-id: svn://10.0.0.236/trunk@22436 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 12:15:39 +00:00
ramiro%netscape.com
3dd33ad63b Add test for exceptions. Exceptions are illegal, but somebody (whose name
I dont want to say, but it rhymes with "fcc") is using them in a test program.


git-svn-id: svn://10.0.0.236/trunk@22435 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 12:01:32 +00:00
edwin%woudt.nl
9d515e0513 Patches from Thomas Down <thomas.down@tri.ox.ac.uk> to get some working attachments. Also added the X-Mailer header.
git-svn-id: svn://10.0.0.236/trunk@22434 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 11:05:10 +00:00
mcafee%netscape.com
d98dcab829 Backing out my last change, breaks Win32 & Mac.
git-svn-id: svn://10.0.0.236/trunk@22433 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 10:57:20 +00:00
mcafee%netscape.com
72cb40d845 Adding do_QueryInterface() wrapper for nsCOMPtr/Solaris.
git-svn-id: svn://10.0.0.236/trunk@22432 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 10:32:14 +00:00
mcafee%netscape.com
4780230a1d Adding comparisons to autoconf results.
git-svn-id: svn://10.0.0.236/trunk@22431 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 10:13:18 +00:00
mcafee%netscape.com
5592159ebd Adding ED_Redo.gif
git-svn-id: svn://10.0.0.236/trunk@22430 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 08:33:32 +00:00
jfrancis%netscape.com
9239ed95dd made iterators bidirectional; lots of bug fixes; finished subtree iterator impl.
git-svn-id: svn://10.0.0.236/trunk@22429 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 08:17:18 +00:00
grail%cafebabe.org
4736f6084f Fixed a few constant references to their values.
git-svn-id: svn://10.0.0.236/trunk@22428 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 07:12:55 +00:00
buster%netscape.com
c661625f46 fixed IsNested to account for outer table frame
removed obsolete debug code


git-svn-id: svn://10.0.0.236/trunk@22427 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 06:40:24 +00:00
ramiro%netscape.com
026fef7a70 AIX portability fixes. (Waqar Malik <waqar@netscape.com>)
git-svn-id: svn://10.0.0.236/trunk@22426 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 06:29:14 +00:00
briano%netscape.com
67096e4b06 Automated update
git-svn-id: svn://10.0.0.236/trunk@22425 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 06:15:39 +00:00
ramiro%netscape.com
fe443b1dbc AIX portability fixes. (Waqar Malik <waqar@netscape.com>)
git-svn-id: svn://10.0.0.236/trunk@22424 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 06:10:54 +00:00
waterson%netscape.com
a3003dd0a7 Don't automatically register every data source; instead, the data source can register itself during Init().
git-svn-id: svn://10.0.0.236/trunk@22423 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 05:55:18 +00:00
grail%cafebabe.org
74b2238e29 Fixed my own lameness.
git-svn-id: svn://10.0.0.236/trunk@22422 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 05:28:18 +00:00
grail%cafebabe.org
9a4012c5b8 Last commit broke local storage viewing. Local store never quite "connect"
so ViewedStoreBase now checks isLocal() if isConnected() fails. Assumption
is that you're always connected if it's a local berkeley store.


git-svn-id: svn://10.0.0.236/trunk@22421 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 05:20:27 +00:00
cls%seawood.org
7bc46690b0 Moved previous filter-out section after DSO_CFLAGS is set.
git-svn-id: svn://10.0.0.236/trunk@22420 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 03:14:23 +00:00
briano%netscape.com
79123cdd98 Automated update
git-svn-id: svn://10.0.0.236/trunk@22419 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 02:00:39 +00:00
cls%seawood.org
5b16286cc0 Removed OPTIMIZE_CFLAGS. If CFLAGS isn't set in the enviornment, set it to -O. If MOZ_DEBUG is set, filter-out the optimization options in autoconf.mk.
git-svn-id: svn://10.0.0.236/trunk@22418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 01:54:00 +00:00
grail%cafebabe.org
3b2c55c209 Fixed situation where UI thread gets wedged when a dialog of any sort
is popped up. A new bug is created where after you authenticate, you
have to deselect, and reselect the item for it to show. It's a
temporary fix.


git-svn-id: svn://10.0.0.236/trunk@22417 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 01:04:19 +00:00
edwin%woudt.nl
38897658fa Remove this ugly registration. This is the way to do it right!
git-svn-id: svn://10.0.0.236/trunk@22416 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 00:33:01 +00:00
wtc%netscape.com
46f41b71a8 New test file vercheck.c.
git-svn-id: svn://10.0.0.236/trunk@22415 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 00:23:34 +00:00
grail%cafebabe.org
2aec37a819 XML Tech Release API changes, take 2.
git-svn-id: svn://10.0.0.236/trunk@22414 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 00:09:16 +00:00
grail%cafebabe.org
fb21fe920d Changes to fit with API differences in XML Technology Release.
git-svn-id: svn://10.0.0.236/trunk@22413 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 23:53:40 +00:00
fur%netscape.com
9190e73493 Use a Quiet NaN, not a Signalling NaN
git-svn-id: svn://10.0.0.236/trunk@22412 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 23:01:29 +00:00
beard%netscape.com
83439792ed First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22411 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:15:48 +00:00
beard%netscape.com
b4f129401a added IID() accessor.
git-svn-id: svn://10.0.0.236/trunk@22410 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:14:30 +00:00
beard%netscape.com
232c2ffdce Added NS_PLUGIN_CID, and IID() accessor.
git-svn-id: svn://10.0.0.236/trunk@22409 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:12:50 +00:00
beard%netscape.com
2b5bea4428 CPluginManager now implements nsIServiceManager and nsIAllocator interfaces, for better Gecko compatibility.
git-svn-id: svn://10.0.0.236/trunk@22408 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:10:26 +00:00
beard%netscape.com
7f108b671e updated NSGetFactory signature.
git-svn-id: svn://10.0.0.236/trunk@22407 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:08:26 +00:00
bienvenu%netscape.com
5223ba1452 use registerComponent instead of registerfactory to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@22406 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:03:19 +00:00
bienvenu%netscape.com
9fe16eb6c4 set recipients and cc list as an array of addresses
git-svn-id: svn://10.0.0.236/trunk@22405 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:02:20 +00:00
bienvenu%netscape.com
af30301e84 add ability to import msf files
git-svn-id: svn://10.0.0.236/trunk@22404 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:00:50 +00:00
beard%netscape.com
2e0ae08fae SetDestructor
git-svn-id: svn://10.0.0.236/trunk@22403 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 19:04:47 +00:00
toshok%hungry.com
6cc33f9350 implement sm_InitPages/sm_FiniPages for unix. someone with more of an eye for this sort of code should tell me if what i've done here makes sense. it seems to make the tests go....
git-svn-id: svn://10.0.0.236/trunk@22402 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 15:20:34 +00:00
toshok%hungry.com
af29355e8a include config.mk before rules.mk
git-svn-id: svn://10.0.0.236/trunk@22401 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 15:17:15 +00:00
toshok%hungry.com
b23e6b922a convert C++ to C comment
git-svn-id: svn://10.0.0.236/trunk@22400 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 14:03:43 +00:00
toshok%hungry.com
de9ca81516 convert C++ to C comment
git-svn-id: svn://10.0.0.236/trunk@22399 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 14:03:21 +00:00
toshok%hungry.com
9213603d11 include config.mk before rules.mk so that we pick up the definition for NSINSTALL.
git-svn-id: svn://10.0.0.236/trunk@22398 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 13:51:07 +00:00
toshok%hungry.com
bb4b081b1b quiet gmake
git-svn-id: svn://10.0.0.236/trunk@22397 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 13:44:06 +00:00
saari%netscape.com
dc6c858162 make LoadMenus() less nsWebShellWindow specific
git-svn-id: svn://10.0.0.236/trunk@22396 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 11:14:34 +00:00
leaf%mozilla.org
827abf76bc fixed smoketest to invoke grendel with 'java grendel.Main' and also
exit the child process after running the binary (can't write to the same
logfile twice, now can we?)


git-svn-id: svn://10.0.0.236/trunk@22395 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 08:46:34 +00:00
leaf%mozilla.org
14b924f8e0 moving the client build into client.mak and toplevel makefile.win
leaving nglayout.mak for cleanup by anyone who wants to do it.


git-svn-id: svn://10.0.0.236/trunk@22394 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 07:51:10 +00:00
leaf%mozilla.org
ccf6efce70 readding makefile.win to SeaMonkeyCore (yeah, i know, we should have
SeaMonkeyWin/Unix/Mac ... cycles, anyone?)


git-svn-id: svn://10.0.0.236/trunk@22393 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 07:36:52 +00:00
grail%cafebabe.org
59d44590bd Labels and such for signature file in preference dialog UI.
git-svn-id: svn://10.0.0.236/trunk@22392 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 05:09:58 +00:00
jband%netscape.com
d52ad49e78 catch JS exceptions when calling a wrapped JSObject and reflect as an nsresult error code to the calling xpcom object - with test
git-svn-id: svn://10.0.0.236/trunk@22391 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 04:57:13 +00:00
grail%cafebabe.org
7adb2960f6 Added signature file selection.
git-svn-id: svn://10.0.0.236/trunk@22390 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 04:53:24 +00:00
despotdaemon%netscape.com
1818e38ea9 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22389 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 04:45:22 +00:00
jband%netscape.com
5ef8989937 using JS exception thrower (with tests)
git-svn-id: svn://10.0.0.236/trunk@22388 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 04:16:20 +00:00
mcmullen%netscape.com
9436817838 Fix Windows build errors
git-svn-id: svn://10.0.0.236/trunk@22387 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 02:51:53 +00:00
mcmullen%netscape.com
0a2a335945 Fix unix build errors
git-svn-id: svn://10.0.0.236/trunk@22386 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 02:17:55 +00:00
mcmullen%netscape.com
b2cfd19d76 Fix const problem.
git-svn-id: svn://10.0.0.236/trunk@22385 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:55:23 +00:00
jband%netscape.com
fba67216e8 adding code to throw exceptions into JS with customizable messages
git-svn-id: svn://10.0.0.236/trunk@22384 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:41:20 +00:00
mcmullen%netscape.com
9e4dad31a3 Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge.
git-svn-id: svn://10.0.0.236/trunk@22383 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:36:48 +00:00
mcmullen%netscape.com
612f1b91bb Make the FilesTest project build again.
git-svn-id: svn://10.0.0.236/trunk@22382 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:30:41 +00:00
fur%netscape.com
c7088fcd96 Changed many cpp conditionals that used ifdef LINUX or FREEBSD,
but which guarded gcc-specific code, not OS-specific code.  These
were changed to be ifdef __GNUC__.


git-svn-id: svn://10.0.0.236/trunk@22381 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:10:00 +00:00
fur%netscape.com
f72fba19b7 Reduced gratuitous file duplication between FreeBSD and Linux.
git-svn-id: svn://10.0.0.236/trunk@22380 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:29:39 +00:00
fur%netscape.com
4a8b00ac6d Eliminated gratuitous file duplication between FreeBSD and Linux
git-svn-id: svn://10.0.0.236/trunk@22379 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:28:26 +00:00
mcmullen%netscape.com
a4d010ff01 REALLY add libreg and nsRegistry to the Macintosh build.
git-svn-id: svn://10.0.0.236/trunk@22378 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:26:24 +00:00
mcmullen%netscape.com
1ef728f3b2 REALLY add nsRegistry and libreg to the Mac build.
git-svn-id: svn://10.0.0.236/trunk@22377 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:24:53 +00:00
fur%netscape.com
20e2e66622 Eliminate warning
git-svn-id: svn://10.0.0.236/trunk@22376 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:24:21 +00:00
fur%netscape.com
d2cc526401 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@22375 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:22:25 +00:00
fur%netscape.com
6d580baadb Renamed to x86Stub_gas.s
git-svn-id: svn://10.0.0.236/trunk@22374 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:20:52 +00:00
fur%netscape.com
00b6a4565e A bunch of grunge work to reduce the amount of OS-dependent code in
ElectricalFire sources.  The end result eliminated nearly all of the
differences between FreeBSD and Linux in the source code.  It also
increased the amount of sharing between Win32 and unix code.

+   Renamed files and classes that were inappropriately named, i.e. the
    names started with 'x86Win32', but the code was for generic x86, not
    specific to Win32.

+   Eliminated several gratuitous duplicated files, e.g. x86Linux.s and
    x86FreeBSD.s were essentially identical.

+   Shared code that had been duplicated in x86Win32_Support.cpp,
    x86Linux_Support.cpp and x86FreeBSD_Support.cpp.  Created
    x86GenStub.cpp, which contains only XP code, to replace them all.


git-svn-id: svn://10.0.0.236/trunk@22373 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:18:23 +00:00
despotdaemon%netscape.com
43ffe46441 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22372 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 23:50:01 +00:00
dp%netscape.com
b4b583d080 Adding nsRegistry to unix.
git-svn-id: svn://10.0.0.236/trunk@22371 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 21:49:34 +00:00
mcmullen%netscape.com
9375f1534d Call delete [] when new [] was used for allocation.
git-svn-id: svn://10.0.0.236/trunk@22370 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 20:39:07 +00:00
wtc%netscape.com
54957da9be On SUNOS4, include "md/sunos4.h" to get the macro definition of strtoul.
(contributed by Brian Ostrom <briano@netscape.com>)


git-svn-id: svn://10.0.0.236/trunk@22368 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 19:47:35 +00:00
wtc%netscape.com
692fd40e64 On SUNOS4, include "md/sunos4.h" to get the macro definition of strerror.
(contributed by Brian Ostrom <briano@netscape.com>)


git-svn-id: svn://10.0.0.236/trunk@22367 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 19:46:10 +00:00
wtc%netscape.com
07854ec1b1 Check NO_MDUPDATE. (contributed by Brian Ostrom <briano@netscape.com>)
git-svn-id: svn://10.0.0.236/trunk@22366 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 19:36:57 +00:00
karnaze%netscape.com
f1b7db0183 fixed assert when <col> is placed inside of <table>
git-svn-id: svn://10.0.0.236/trunk@22365 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 19:02:48 +00:00
mcafee%netscape.com
ae57673853 Adding expat. a=nisheeth
git-svn-id: svn://10.0.0.236/trunk@22364 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 10:40:40 +00:00
mcafee%netscape.com
0919f76f35 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@22363 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 10:16:19 +00:00
dp%netscape.com
5c7abd2ef9 Code cleanup. Added comments. PR_LOG() cleanup. I think I will do my haircut too...
git-svn-id: svn://10.0.0.236/trunk@22362 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:50:19 +00:00
saari%netscape.com
b7b8376c6f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22361 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:44:28 +00:00
saari%netscape.com
a7a0e613b0 add mozilla/expat/xmlparse/MANIFEST to export xmlparse.h
git-svn-id: svn://10.0.0.236/trunk@22360 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:42:52 +00:00
mcafee%netscape.com
93a813dc24 export nsIExpatTokenizer.h, a=nisheeth
git-svn-id: svn://10.0.0.236/trunk@22359 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:26:27 +00:00
mcafee%netscape.com
406b124f2f Adding expat to Mozilla. a=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@22358 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:16:17 +00:00
mcafee%netscape.com
a3439ca560 First checkin
git-svn-id: svn://10.0.0.236/trunk@22357 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:12:52 +00:00
saari%netscape.com
7b2d482943 export new expat files
git-svn-id: svn://10.0.0.236/trunk@22356 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:11:40 +00:00
dp%netscape.com
a6760a0dec Clode cleanup. Abstracted registry access code that does ProgID into functions platformProgIDToCLSID() and platformCLSIDToProgID()
git-svn-id: svn://10.0.0.236/trunk@22355 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:58:11 +00:00
mcafee%netscape.com
357801b38b Don't build xmlwf yet.
git-svn-id: svn://10.0.0.236/trunk@22354 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:56:37 +00:00
grail%cafebabe.org
e9ec617591 Layout used to break if you switched between different layouts. It seems
to be behaving now.


git-svn-id: svn://10.0.0.236/trunk@22353 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:56:33 +00:00
dp%netscape.com
2d630f0db3 Changed comment to indicate that Quick Registration via the quick register data structure isn't for prime time yet.
git-svn-id: svn://10.0.0.236/trunk@22352 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:56:21 +00:00
nisheeth%netscape.com
f3a1187961 Fix Windows build bustage. expat.lib wasn't getting copied out to dist on
a newly pulled build.


git-svn-id: svn://10.0.0.236/trunk@22351 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:51:45 +00:00
mcafee%netscape.com
a6e67ce7c6 Adding expat. a=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@22350 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:51:03 +00:00
mcafee%netscape.com
922cde30d3 Adding nsExpatDTD.h to EXPORTS. a=nisheeth
git-svn-id: svn://10.0.0.236/trunk@22349 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:44:05 +00:00
peterl%netscape.com
0f5602af49 added content state change
git-svn-id: svn://10.0.0.236/trunk@22348 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:34:06 +00:00
saari%netscape.com
e4a8d65787 Making Mac menus work a little better again.
git-svn-id: svn://10.0.0.236/trunk@22347 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:30:32 +00:00
nisheeth%netscape.com
98631882f9 - Add expat to the windows build only...
- Changed nsParser such that nsExpatDTD gets added to the doubly ended queue
  of DTDs instead of nsWellFormedDTD if EXPAT is #define'd.


git-svn-id: svn://10.0.0.236/trunk@22346 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:04:46 +00:00
nisheeth%netscape.com
7a7332eebd Creating nsIExpatTokenizer, an interface that adds methods for setting
callbacks on the expat tokenizer, a wrapper around the expat XML parser.


git-svn-id: svn://10.0.0.236/trunk@22345 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:03:36 +00:00
nisheeth%netscape.com
fde3db03f4 - Add expat to the windows build only...
- Changed nsXMLDocument such that expat gets used for XML parsing if
  EXPAT is #define'd


git-svn-id: svn://10.0.0.236/trunk@22344 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:02:15 +00:00
nisheeth%netscape.com
ea7fabcacf Add expat to the windows build only...
git-svn-id: svn://10.0.0.236/trunk@22343 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:59:22 +00:00
putterman%netscape.com
10fef5a529 Pass in pointer to mServiceManager.
git-svn-id: svn://10.0.0.236/trunk@22342 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:27:45 +00:00
peterl%netscape.com
a15d906398 fixed active link rule support
git-svn-id: svn://10.0.0.236/trunk@22341 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:18:21 +00:00
peterl%netscape.com
42e0f0d865 added support for dynamic pseudo classes
added support for child & sibling selectors


git-svn-id: svn://10.0.0.236/trunk@22340 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:17:52 +00:00
putterman%netscape.com
fd08ec9642 ListNext returns NULL when no more messages.
git-svn-id: svn://10.0.0.236/trunk@22339 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:17:35 +00:00
putterman%netscape.com
1d6337aad3 Start writing GetMessages and make folder pane work again.
git-svn-id: svn://10.0.0.236/trunk@22338 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:16:58 +00:00
peterl%netscape.com
031f64cd45 added child & sibling selector support
git-svn-id: svn://10.0.0.236/trunk@22337 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:16:57 +00:00
peterl%netscape.com
9a50248463 tweaked style hint for overflow
git-svn-id: svn://10.0.0.236/trunk@22336 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:16:27 +00:00
peterl%netscape.com
03d4988d0b added child & sibling selectors
git-svn-id: svn://10.0.0.236/trunk@22335 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:15:59 +00:00
putterman%netscape.com
1b29b161a4 Works with RegisterComponent
git-svn-id: svn://10.0.0.236/trunk@22334 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:15:41 +00:00
peterl%netscape.com
46ee5bae96 added content state changed
git-svn-id: svn://10.0.0.236/trunk@22333 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:15:09 +00:00
peterl%netscape.com
99235ba41d added CSS3 pseudo classes
git-svn-id: svn://10.0.0.236/trunk@22332 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:14:33 +00:00
peterl%netscape.com
186b6ff87a added CSS3 UI pseudo classes
git-svn-id: svn://10.0.0.236/trunk@22331 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:14:13 +00:00
peterl%netscape.com
c75df5584b set document before adding attributes
git-svn-id: svn://10.0.0.236/trunk@22330 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:13:48 +00:00
peterl%netscape.com
172680187e switched state change notifications to use ContentStateChanged
git-svn-id: svn://10.0.0.236/trunk@22329 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:12:38 +00:00
fur%netscape.com
300d98c6fa Remove unused function
git-svn-id: svn://10.0.0.236/trunk@22328 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:12:27 +00:00
peterl%netscape.com
f1421ae8d2 added == operator to style sides
git-svn-id: svn://10.0.0.236/trunk@22327 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:11:57 +00:00
peterl%netscape.com
9b0f1dbc06 added CalcStyleDifference
git-svn-id: svn://10.0.0.236/trunk@22326 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:11:42 +00:00
putterman%netscape.com
bd2671513e Compiles with RegisterComponent
git-svn-id: svn://10.0.0.236/trunk@22325 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:11:28 +00:00
peterl%netscape.com
694566ce25 added content state changed
removed ua sheet from dump style


git-svn-id: svn://10.0.0.236/trunk@22324 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:11:04 +00:00
peterl%netscape.com
5ae2774317 added == operator for style sides
git-svn-id: svn://10.0.0.236/trunk@22323 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:09:40 +00:00
peterl%netscape.com
e18d387533 added style hint max
git-svn-id: svn://10.0.0.236/trunk@22322 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:09:23 +00:00
fur%netscape.com
fef280bf65 Patches from Amancio Hasty for FreeBSD. Until we can figure out otherwise,
use NSPR user-threads rather than pthreads.


git-svn-id: svn://10.0.0.236/trunk@22321 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:00:12 +00:00
grail%cafebabe.org
1062153d54 Images from chrisn to replace the existing ugly signature icon.
git-svn-id: svn://10.0.0.236/trunk@22320 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:47:08 +00:00
jband%netscape.com
a66a8179b4 catch
git-svn-id: svn://10.0.0.236/trunk@22319 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:38:24 +00:00
jband%netscape.com
d3c05dfd48 added .cvsignore files
git-svn-id: svn://10.0.0.236/trunk@22318 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:31:04 +00:00
jband%netscape.com
9835083454 got rid of allocator hack since the nsAllocator is now alive
git-svn-id: svn://10.0.0.236/trunk@22317 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:26:32 +00:00
alecf%netscape.com
d9c1423d1e fix AIX bustage - we were dereferencing the function before checking if it was NULL
git-svn-id: svn://10.0.0.236/trunk@22316 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:22:43 +00:00
briano%netscape.com
f94fca5d21 Automated update
git-svn-id: svn://10.0.0.236/trunk@22315 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:15:40 +00:00
mcafee%netscape.com
da12888a42 Add check for bool, might need this in 3rd-party code. Mozilla code should use PRBool.
git-svn-id: svn://10.0.0.236/trunk@22314 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:06:59 +00:00
nisheeth%netscape.com
334560b897 Enough code to get expat callbacks firing inside nsExpatDTD. Next step is
to pass on the callbacks to the XML content sink.  These files are not part
of the build system yet.


git-svn-id: svn://10.0.0.236/trunk@22313 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:04:02 +00:00
alecf%netscape.com
13d995b822 start using new HAVE_CPP_NEW_CASTS macro on unix
git-svn-id: svn://10.0.0.236/trunk@22312 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 05:58:25 +00:00
briano%netscape.com
b9dbb43f34 Mostly just support for SunOS 4.x
git-svn-id: svn://10.0.0.236/trunk@22311 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 04:55:44 +00:00
alecf%netscape.com
534160d16b AIX can't do static casts either
git-svn-id: svn://10.0.0.236/trunk@22310 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 04:29:44 +00:00
alecf%netscape.com
3dcbcaa251 fix HPUX bustage - nspr.h is still giving problems
git-svn-id: svn://10.0.0.236/trunk@22309 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 04:18:55 +00:00
briano%netscape.com
cec2fe742e Automated update
git-svn-id: svn://10.0.0.236/trunk@22308 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 04:15:38 +00:00
alecf%netscape.com
1bb4856df5 add new tests from scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@22307 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 04:08:24 +00:00
karnaze%netscape.com
975ac58a63 correctly set max element size on checkbox, radio. Other cleanup.
git-svn-id: svn://10.0.0.236/trunk@22306 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:59:19 +00:00
mscott%netscape.com
abf578071d Stop building nntptest until I fix the factory problems and come up with a progID...
git-svn-id: svn://10.0.0.236/trunk@22305 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:48:15 +00:00
alecf%netscape.com
f6fa0eaa90 put #ifdef's around the interface stub implementation output so that generated files can still
be part of the build system.


git-svn-id: svn://10.0.0.236/trunk@22304 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:34:39 +00:00
mscott%netscape.com
877afbbea8 There is no DLL in the resource directory so don't try to clobber one...
git-svn-id: svn://10.0.0.236/trunk@22303 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:24:00 +00:00
leaf%mozilla.org
b74eeab8e0 adding james clark's xml parser.
git-svn-id: svn://10.0.0.236/trunk@22302 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:19:35 +00:00
alecf%netscape.com
8dfc6228f7 add IID() method
git-svn-id: svn://10.0.0.236/trunk@22301 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:16:56 +00:00
alecf%netscape.com
c25d436614 implement nsMessenger class
git-svn-id: svn://10.0.0.236/trunk@22300 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:14:40 +00:00
mscott%netscape.com
7375193b56 Add code to define XPIDL_JS_STUBS if it is defined in the environment for alecf.
git-svn-id: svn://10.0.0.236/trunk@22299 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:12:38 +00:00
grail%cafebabe.org
02eb7be6cb Fixed OptionsPanel breakage. Everything is laid out all nice like.
git-svn-id: svn://10.0.0.236/trunk@22298 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:10:41 +00:00
mscott%netscape.com
d4a9bfe19f mailnews base requires DOM.
git-svn-id: svn://10.0.0.236/trunk@22297 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:09:16 +00:00
grail%cafebabe.org
5ffaf359cb Removed references to non-existence crytpo capability. This breaks
OptionsPanel for now.


git-svn-id: svn://10.0.0.236/trunk@22296 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:09:15 +00:00
mcafee%netscape.com
f8cf8b500f Fixing solaris bustage. a/r=akkana,simon
git-svn-id: svn://10.0.0.236/trunk@22295 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:55:13 +00:00
vidur%netscape.com
862dafa27c map and area attribute tests
git-svn-id: svn://10.0.0.236/trunk@22294 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:52:44 +00:00
saari%netscape.com
6f6025f993 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22293 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:48:31 +00:00
alecf%netscape.com
28ead7db61 add Interface implementation for JS stubs in messenger
git-svn-id: svn://10.0.0.236/trunk@22292 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:47:53 +00:00
putterman%netscape.com
4796874851 Parses datasource string correctly.
git-svn-id: svn://10.0.0.236/trunk@22291 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:42:57 +00:00
alecf%netscape.com
f6b3edfc94 remove bogus headers
git-svn-id: svn://10.0.0.236/trunk@22290 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:42:26 +00:00
alecf%netscape.com
3724c2ae4d implement new nsIMessenger interface, and make it accessable from JavaScript
git-svn-id: svn://10.0.0.236/trunk@22289 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:33:21 +00:00
alecf%netscape.com
16845338f6 update to new RegisterComponent APIs
git-svn-id: svn://10.0.0.236/trunk@22288 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:25:02 +00:00
alecf%netscape.com
6f7747af12 update to new RegisterFactory/Component APIs
git-svn-id: svn://10.0.0.236/trunk@22287 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:24:29 +00:00
waterson%netscape.com
5ecec240af Change '=' to '#' to circumvent registry bustage for now.
git-svn-id: svn://10.0.0.236/trunk@22286 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:19:47 +00:00
slamm%netscape.com
05f05cbc5c Add status.xul
git-svn-id: svn://10.0.0.236/trunk@22285 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:12:47 +00:00
ebina%netscape.com
4a5bfcecf4 Reflect changes to API in nsRepository.h to the Mac.
git-svn-id: svn://10.0.0.236/trunk@22284 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:08:50 +00:00
ebina%netscape.com
acfa7037f5 Remove support for the old RegisterFactory API.
git-svn-id: svn://10.0.0.236/trunk@22283 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:06:54 +00:00
alecf%netscape.com
83f13a4b98 moving this file to base
git-svn-id: svn://10.0.0.236/trunk@22282 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:04:53 +00:00
ebina%netscape.com
bde6ee5483 Change RegisterFactory to the new API.
git-svn-id: svn://10.0.0.236/trunk@22281 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:02:32 +00:00
despotdaemon%netscape.com
56f2a19d6e Pseudo-automatic update of changes made by lindes@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22280 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:00:07 +00:00
fur%netscape.com
1a261f0163 Separated x86Win32_Support.cpp into an OS-independent part x86GenStub.cpp and
x86Stub.cpp which is Win32-only.


git-svn-id: svn://10.0.0.236/trunk@22279 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:53:18 +00:00
sfraser%netscape.com
698034ee52 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22278 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:46:07 +00:00
sfraser%netscape.com
ffd655ab4a Add Redo to the editor appshell toolbar
git-svn-id: svn://10.0.0.236/trunk@22277 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:46:00 +00:00
nisheeth%netscape.com
74e10ba6d1 Integrating Expat with raptor...
git-svn-id: svn://10.0.0.236/trunk@22276 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:41:01 +00:00
alecf%netscape.com
668fa3d44c nspr.h was causing problems on HPUX
git-svn-id: svn://10.0.0.236/trunk@22275 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:37:44 +00:00
hyatt%netscape.com
6d1d5f3315 Modified HTML content's QueryInterface macro to supported nsIStyledContent.
git-svn-id: svn://10.0.0.236/trunk@22274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:36:41 +00:00
hyatt%netscape.com
c75a33adec Changed GetID, HasClass, and GetClasses so that they are invoked on styledContent
instead of htmlContent.


git-svn-id: svn://10.0.0.236/trunk@22273 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:35:51 +00:00
hyatt%netscape.com
0e1f8526be Changed GetInlineStyleRule so that it is invoked on styledContent instead
of htmlContent.


git-svn-id: svn://10.0.0.236/trunk@22272 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:35:25 +00:00
law%netscape.com
165659caa3 Add status.xul to $(DIST)/bin/res/samples
git-svn-id: svn://10.0.0.236/trunk@22271 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:35:05 +00:00
hyatt%netscape.com
818ef5f99b Changed GetContentStyleRule so that it is invoked on styledContent instead
of htmlContent.


git-svn-id: svn://10.0.0.236/trunk@22270 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:34:55 +00:00
hyatt%netscape.com
03ccb229ff Changing GetStyleHintForAttributeChanged so that it is invoked on styledContent
instead of htmlContent.


git-svn-id: svn://10.0.0.236/trunk@22269 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:34:32 +00:00
hyatt%netscape.com
6a355cdc1f Adding the NS_ISTYLEDCONTENT_IID to the nsHTMLIID files, so that HTML content
can see it (makes the QueryInterface macro work).


git-svn-id: svn://10.0.0.236/trunk@22268 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:33:25 +00:00
hyatt%netscape.com
1e383b5280 Removing the CLASS, ID, and STYLE-specific methods. They are now in
nsIStyledContent (from which nsIHTMLContent now derives).


git-svn-id: svn://10.0.0.236/trunk@22267 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:32:49 +00:00
nisheeth%netscape.com
875f6e8d4d Integrating Expat with raptor...
git-svn-id: svn://10.0.0.236/trunk@22266 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:31:49 +00:00
hyatt%netscape.com
3eea650eac Making sure that nsIStyledContent.h gets exported.
git-svn-id: svn://10.0.0.236/trunk@22265 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:31:42 +00:00
hyatt%netscape.com
4facbaa6b0 Changes to makefiles to ensure that nsIStyledContent.h is exported.
git-svn-id: svn://10.0.0.236/trunk@22264 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:31:16 +00:00
hyatt%netscape.com
36c680cad0 The nsIStyledContent interface. Removes CLASS, ID, and STYLE support (as well
as the ability to supply style hints) from nsIHTMLContent.


git-svn-id: svn://10.0.0.236/trunk@22263 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:31:01 +00:00
hyatt%netscape.com
0f7ea6b1c9 Changes to tree frame construction code.
git-svn-id: svn://10.0.0.236/trunk@22262 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:28:19 +00:00
ducarroz%netscape.com
49f460ef71 add missing parameter to SendMessage
git-svn-id: svn://10.0.0.236/trunk@22261 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:26:01 +00:00
peterl%netscape.com
32bebb7ee2 Fixed leak of token recycler
git-svn-id: svn://10.0.0.236/trunk@22260 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:11:51 +00:00
mscott%netscape.com
efcc286270 Remove no shared library field
git-svn-id: svn://10.0.0.236/trunk@22259 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:03:26 +00:00
av%netscape.com
40af69629d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@22258 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:57:04 +00:00
mscott%netscape.com
cfdfa76120 Add mdbstubs.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@22257 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:56:41 +00:00
mscott%netscape.com
ba94b65a25 Link with nntpTest library.
git-svn-id: svn://10.0.0.236/trunk@22256 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:43:54 +00:00
mscott%netscape.com
c1635e9bde Name of the compose library changed. Update the Makefile.
git-svn-id: svn://10.0.0.236/trunk@22255 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:29:19 +00:00
mscott%netscape.com
938159a86b Hmm somehow we got a bunch of duplicate file names getting built. Cleaning up the Makefile
git-svn-id: svn://10.0.0.236/trunk@22254 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:21:42 +00:00
mscott%netscape.com
25ba927616 Fix Unix breakage. XP_AppVersion is a const char * not a char * for unix.
git-svn-id: svn://10.0.0.236/trunk@22253 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:16:52 +00:00
despotdaemon%netscape.com
140e5d6e81 Pseudo-automatic update of changes made by kristian@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22252 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:01:18 +00:00
mscott%netscape.com
7952f9448e I'm not sure why this was changed from m_host to "", in any case, change it back to m_host
which is the host to use...


git-svn-id: svn://10.0.0.236/trunk@22251 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:56:56 +00:00
scc%netscape.com
6cb22ba536 for VC++5.0, no member using declarations (to prevent internal compiler error); to make this compile fixed type of AddRef and Release in nsDerivedSafe
git-svn-id: svn://10.0.0.236/trunk@22250 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:43:40 +00:00
ducarroz%netscape.com
94b36f91ee receive an URL during the creation of a new message instance. Add new parameter in SendMessage (from, cc, bcc, smtp)
git-svn-id: svn://10.0.0.236/trunk@22249 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:42:54 +00:00
ducarroz%netscape.com
cd28986280 fix build problem with missing parameter when call SendMailMessage. Add an empty host name
git-svn-id: svn://10.0.0.236/trunk@22248 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:40:42 +00:00
mscott%netscape.com
b437323e2c Fix build breakage. NS_InitMsgAppCoreClass returns an nsresult.
git-svn-id: svn://10.0.0.236/trunk@22247 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:38:32 +00:00
ducarroz%netscape.com
e19e9c8f66 carry smtp server over the send process
git-svn-id: svn://10.0.0.236/trunk@22246 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:38:20 +00:00
pinkerton%netscape.com
921aee5459 warren's hack-o-rama to get rdf working w/out libreg on mac. permission to check into closed tree by sar.
git-svn-id: svn://10.0.0.236/trunk@22245 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:28:14 +00:00
pinkerton%netscape.com
b984626b52 added GetGlobalServiceManager for warren. permission to checkin to closed tree granted by sar.
git-svn-id: svn://10.0.0.236/trunk@22244 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:26:17 +00:00
ducarroz%netscape.com
eab23107de carry smtp server over the send process
git-svn-id: svn://10.0.0.236/trunk@22243 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:25:46 +00:00
ducarroz%netscape.com
8b3a885953 carry smtp server name over the send message process
git-svn-id: svn://10.0.0.236/trunk@22242 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:23:32 +00:00
fur%netscape.com
7831e45af4 Changed factoring of function declaration macros to be based on choice of
compiler rather than OS


git-svn-id: svn://10.0.0.236/trunk@22241 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:18:37 +00:00
fur%netscape.com
5fdbb98c39 Add /D GENERATE_FOR_X86
git-svn-id: svn://10.0.0.236/trunk@22240 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:14:31 +00:00
ducarroz%netscape.com
8c2d5cd165 clobber tag was missing causing a nmake error
git-svn-id: svn://10.0.0.236/trunk@22239 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:13:36 +00:00
fur%netscape.com
41d9c2de41 A bunch of grunge work to reduce OS-dependent code in ElectricalFire
sources:

+ Renamed files and classes that were inappropriately named, i.e. the
  names started with 'x86Win32', but the code was for generic x86, not
  specific to Win32.

+ Segregated the 64-bit arithmetic code into an OS-independent
  x86Arith64.{cpp,h}


git-svn-id: svn://10.0.0.236/trunk@22238 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:12:06 +00:00
fur%netscape.com
580523708d Squawk if target architecture is unknown
git-svn-id: svn://10.0.0.236/trunk@22237 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:06:34 +00:00
fur%netscape.com
0521e3acbc x86-win32.nad ==> x86.nad
git-svn-id: svn://10.0.0.236/trunk@22236 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:05:58 +00:00
fur%netscape.com
b06c567c1f x86Win32Cpu.h ==> x86Cpu.h
git-svn-id: svn://10.0.0.236/trunk@22234 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:01:40 +00:00
fur%netscape.com
4aa850fa93 x86Win32Cpu.h ==> x86Cpu.h
git-svn-id: svn://10.0.0.236/trunk@22233 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:00:45 +00:00
ducarroz%netscape.com
2df4cc81ab updated to export new resources files
git-svn-id: svn://10.0.0.236/trunk@22231 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:46:33 +00:00
ducarroz%netscape.com
0bdff758b4 remove address and subject fields, they are now in the toolbar describe in compose.xul
git-svn-id: svn://10.0.0.236/trunk@22230 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:45:12 +00:00
fur%netscape.com
ad09d80ac6 A bunch of grunge work to reduce OS-dependent code in ElectricalFire
sources.

Here's a detailed list of the changes:

Renamed files and classes that were inappropriately named, i.e. the
names started with 'x86Win32', but the code was for generic x86, not
specific to Win32.

Segregated the 64-bit arithmetic code into an OS-independent
x86Arith64.{cpp,h}


git-svn-id: svn://10.0.0.236/trunk@22229 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:45:11 +00:00
ducarroz%netscape.com
0fbfef36f1 Initial check in
git-svn-id: svn://10.0.0.236/trunk@22228 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:43:41 +00:00
ducarroz%netscape.com
07f73341a3 replaced by compose.xul
git-svn-id: svn://10.0.0.236/trunk@22227 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:42:36 +00:00
despotdaemon%netscape.com
51c655ad3d Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22226 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:30:54 +00:00
ducarroz%netscape.com
cf3b82883c no comment
git-svn-id: svn://10.0.0.236/trunk@22225 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:28:50 +00:00
ducarroz%netscape.com
d68531d744 did some reformating of the code
git-svn-id: svn://10.0.0.236/trunk@22224 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:23:24 +00:00
ducarroz%netscape.com
ceb2e8dc2c change hard coded version of messenger
git-svn-id: svn://10.0.0.236/trunk@22223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:21:45 +00:00
terry%netscape.com
3417923ada Removed "Platform: Rhapsody" component.
git-svn-id: svn://10.0.0.236/trunk@22222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:05:52 +00:00
cyeh%netscape.com
634f978ce3 fix analysis.html generation by fixing ostype checks
git-svn-id: svn://10.0.0.236/trunk@22221 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 21:30:38 +00:00
wtc%netscape.com
12c0262a82 added files on behalf of wtc: prerr.c, prerrortable.c, and prrwlock.c.
git-svn-id: svn://10.0.0.236/trunk@22220 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:49:06 +00:00
wtc%netscape.com
9c1f05fdd8 Temporary depend:clean hack.
git-svn-id: svn://10.0.0.236/trunk@22219 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:47:41 +00:00
wtc%netscape.com
1091f97f61 Landing of miscellaneous changes, including the new error code to
string function contributed by John Myers <jgmyers@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@22218 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:41:06 +00:00
wtc%netscape.com
6b142d43cd New test file acceptread.c.
git-svn-id: svn://10.0.0.236/trunk@22217 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:38:30 +00:00
michaelp%netscape.com
3c0d098a85 added fix for GetRects(). not currently called by anything but the new
compositor which is not yet enabled. approved by sar.


git-svn-id: svn://10.0.0.236/trunk@22216 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:16:50 +00:00
cyeh%netscape.com
0f787fde0e added blat url to usage output
git-svn-id: svn://10.0.0.236/trunk@22215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:15:03 +00:00
cyeh%netscape.com
eb05521c3f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@22214 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:13:06 +00:00
alecf%netscape.com
6fed0e740d remove duplicate definition (whoops!)
git-svn-id: svn://10.0.0.236/trunk@22213 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:06:18 +00:00
alecf%netscape.com
947a1ef4ff bring NS_InitMsgAppCoreClass back from the dead
git-svn-id: svn://10.0.0.236/trunk@22212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:04:39 +00:00
kmcclusk%netscape.com
b127777cde Added support to read Adobe Font Metric files to get the correct font metrics
for printing.


git-svn-id: svn://10.0.0.236/trunk@22211 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:03:35 +00:00
mscott%netscape.com
26da731489 Export NS_InitMsgAppCoreClass to fix build. Alec is going to make the correct change and add this to the idl file so we won't lose it the next time we rev the idl files. This was part of the hack stuff we had to add to get msgappcore running in apprunner..
git-svn-id: svn://10.0.0.236/trunk@22210 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:03:26 +00:00
cyeh%netscape.com
54234965d5 make simple makefile for mtbf, but this time a working one
git-svn-id: svn://10.0.0.236/trunk@22209 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:02:37 +00:00
kipp%netscape.com
8334239104 fixed up operator new usage
git-svn-id: svn://10.0.0.236/trunk@22208 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:02:06 +00:00
pollmann%netscape.com
9c4f03aa39 Enable dynamic changing of the readonly attribute.
Works on Linux now.  Win will come on-line later today.


git-svn-id: svn://10.0.0.236/trunk@22207 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:01:48 +00:00
slamm%netscape.com
02a2298c97 Add bookmarks window.
git-svn-id: svn://10.0.0.236/trunk@22206 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:01:27 +00:00
slamm%netscape.com
7c483bbac7 Add 'Edit Bookmarks...' menu item.
git-svn-id: svn://10.0.0.236/trunk@22205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:59:00 +00:00
slamm%netscape.com
0b7a662327 Add bookmarks window
git-svn-id: svn://10.0.0.236/trunk@22204 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:58:17 +00:00
kipp%netscape.com
31f557d779 use macro to get operator new correct
git-svn-id: svn://10.0.0.236/trunk@22203 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:57:18 +00:00
brade%netscape.com
2e06c0f14a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22202 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:51:49 +00:00
scc%netscape.com
99bd38652f deprecated |dont_AddRef|, added a new form of |getter_AddRefs| to take its place. Removed all nothing of bool from the headers (should help gcc)
git-svn-id: svn://10.0.0.236/trunk@22201 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:50:46 +00:00
cyeh%netscape.com
5e7a30bb73 add makefile to build mtbf
git-svn-id: svn://10.0.0.236/trunk@22200 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:48:06 +00:00
mcafee%netscape.com
9f2b58f6b6 Switching false/true over to PR_FALSE/PR_TRUE
git-svn-id: svn://10.0.0.236/trunk@22199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:47:48 +00:00
cyeh%netscape.com
98ab554353 make command line options work under win32
git-svn-id: svn://10.0.0.236/trunk@22198 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:47:38 +00:00
ebina%netscape.com
1e98ec7746 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22197 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:45:10 +00:00
kipp%netscape.com
b8608d2815 Cleaned up all of the operator new/delete usage
git-svn-id: svn://10.0.0.236/trunk@22196 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:40:22 +00:00
akkana%netscape.com
0ed15da9fd windows has NS_IMETHOD != virtual nsresult
git-svn-id: svn://10.0.0.236/trunk@22195 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:39:14 +00:00
kipp%netscape.com
4b24555ced Defined some operator new/delete macros to help us get it right
git-svn-id: svn://10.0.0.236/trunk@22194 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:38:53 +00:00
brade%netscape.com
3ed23f5c9e add "static" to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@22193 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:36:36 +00:00
dp%netscape.com
61bf5c1e54 Adding platformVersionCheck() into USE_REG ifdef
git-svn-id: svn://10.0.0.236/trunk@22192 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:28:42 +00:00
pinkerton%netscape.com
009b854b1f changing mac name of default registry file to "mozilla registry" in order to not conflict with old nscp versions and not have the name "netscape" in any of our code.
git-svn-id: svn://10.0.0.236/trunk@22191 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:26:45 +00:00
kipp%netscape.com
8ca53a41da Fixed remaining issues with operator new/delete
git-svn-id: svn://10.0.0.236/trunk@22190 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:26:29 +00:00
mcafee%netscape.com
376d73af3c Switching one last bool to PRBool. a=mcmullen
git-svn-id: svn://10.0.0.236/trunk@22189 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:22:43 +00:00
kipp%netscape.com
b677533b37 Removed ifdef'd out code
git-svn-id: svn://10.0.0.236/trunk@22188 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:22:20 +00:00
mscott%netscape.com
0c96e67ebc nsISmtpService->SendMessage now takes the host.
git-svn-id: svn://10.0.0.236/trunk@22187 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:18:31 +00:00
mscott%netscape.com
e9c17590b1 Sending a message now takes a host. Use it.
git-svn-id: svn://10.0.0.236/trunk@22186 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:17:42 +00:00
mscott%netscape.com
8d609e47e6 Add host as paramater to send send message method.
git-svn-id: svn://10.0.0.236/trunk@22185 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:17:13 +00:00
fur%netscape.com
e5d87f9498 No CPU_ARCH_TAG for FreeBSD
git-svn-id: svn://10.0.0.236/trunk@22184 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:12:26 +00:00
cyeh%netscape.com
0d29461854 added command line arguments, autoconfig LD_LIBRARY_PATH on unix, added
testing of command line arguments


git-svn-id: svn://10.0.0.236/trunk@22183 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:09:48 +00:00
ebina%netscape.com
1d63004b5d Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22182 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:08:57 +00:00
akkana%netscape.com
ee25e1ce6d Turn on nsSelectionMgr for windows
git-svn-id: svn://10.0.0.236/trunk@22181 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:01:15 +00:00
akkana%netscape.com
59eb4ba094 Turn on nsSelectionMgr class for copy/paste
git-svn-id: svn://10.0.0.236/trunk@22180 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:00:17 +00:00
sfraser%netscape.com
31a5c6eedb Add nsSelectionMgr.cpp for akkana
git-svn-id: svn://10.0.0.236/trunk@22179 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:59:33 +00:00
kin%netscape.com
97bb438dc7 Fixed javascript syntax error.
git-svn-id: svn://10.0.0.236/trunk@22178 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:59:25 +00:00
alecf%netscape.com
5840b03d44 fix AIX bustage
git-svn-id: svn://10.0.0.236/trunk@22177 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:58:08 +00:00
cyeh%netscape.com
9e2cad2894 add static library targets to allow overriding of functions in an external project
git-svn-id: svn://10.0.0.236/trunk@22176 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:51:32 +00:00
dp%netscape.com
d4b13c8710 Implemented versioning of the repository hieararchy under the registry. Also changed storing longlongs to ints into the registry.
git-svn-id: svn://10.0.0.236/trunk@22175 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:41:37 +00:00
pinkerton%netscape.com
9746b4d5c5 add libreg to list of linked libraries to try to get autoregistration working correctly.
git-svn-id: svn://10.0.0.236/trunk@22174 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:38:39 +00:00
racham%netscape.com
6cf0f5a6ad Modified buffer sizes in define constants
git-svn-id: svn://10.0.0.236/trunk@22173 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:36:56 +00:00
racham%netscape.com
cf0ce80158 increased buffer size for holding value field
git-svn-id: svn://10.0.0.236/trunk@22172 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:36:04 +00:00
wtc%netscape.com
02764ab1c7 print thread scope.
git-svn-id: svn://10.0.0.236/trunk@22171 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:34:31 +00:00
wtc%netscape.com
4b610a857a print elapsed and expected times.
git-svn-id: svn://10.0.0.236/trunk@22170 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:33:19 +00:00
cyeh%netscape.com
6878c5e4eb remove MOZ_PROF compiler option. it's redundant with MOZ_DEBUGOPT, and
it doesn't work to boot. it also has an annoying ifdef structure that is hard
to follow.
if you want to build optimized with debug symbols, use MOZ_DEBUGOPT=1


git-svn-id: svn://10.0.0.236/trunk@22169 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:32:39 +00:00
wtc%netscape.com
f1fc5a9fec Make the number of atomic locks configurable by setting the environment
variable NSPR_ATOMIC_HASH_LOCKS.


git-svn-id: svn://10.0.0.236/trunk@22168 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:32:14 +00:00
alecf%netscape.com
672bae1c57 fix unix bustage - can't construct objects and pass them as & parameters at the same time
git-svn-id: svn://10.0.0.236/trunk@22167 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:25:57 +00:00
alecf%netscape.com
32dc9597e9 fix call to CreateInstance, now that you can create one with a ProgID
git-svn-id: svn://10.0.0.236/trunk@22166 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:17:41 +00:00
alecf%netscape.com
d259eb2aad don't use old XFE icon data-related functions
git-svn-id: svn://10.0.0.236/trunk@22165 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:00:28 +00:00
alecf%netscape.com
058584fccd fix uninitialize variable and fix various signed/unsigned warnings
git-svn-id: svn://10.0.0.236/trunk@22164 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:59:16 +00:00
alecf%netscape.com
97806affe4 add nsIEnumerator interface, and fix nsICollection interface to use long not int
git-svn-id: svn://10.0.0.236/trunk@22163 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:57:34 +00:00
alecf%netscape.com
8600e20f0e fix -pedantic bustage - Delete isn't const, so re-cast "this"
git-svn-id: svn://10.0.0.236/trunk@22162 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:56:44 +00:00
alecf%netscape.com
9a5ad5ba18 add static IID() method
git-svn-id: svn://10.0.0.236/trunk@22161 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:50:59 +00:00
alecf%netscape.com
b8e8e7578e fix -pedantic bustage on Unix
git-svn-id: svn://10.0.0.236/trunk@22160 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:49:41 +00:00
alecf%netscape.com
c693124762 add temporary hack to instantiate Messenger in the JS namespace
git-svn-id: svn://10.0.0.236/trunk@22159 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:47:35 +00:00
alecf%netscape.com
91fa5c9384 no need to export non-existant IDL files
git-svn-id: svn://10.0.0.236/trunk@22158 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:45:29 +00:00
alecf%netscape.com
815d6d9c4c fix HPUX/AIX/OSF bustage - most unices need stdlib.h to get abort()
git-svn-id: svn://10.0.0.236/trunk@22157 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:41:47 +00:00
troy%netscape.com
64a3061b36 Per Kipp's request, added patch from Mark Harvey (Mark.Harvey@wireplay.bt.co.uk) so we
don't have an imagehlp.dll dependency unless MOZ_TRACE_XPCOM_REFCNT is defined


git-svn-id: svn://10.0.0.236/trunk@22156 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:39:55 +00:00
alecf%netscape.com
da118a4713 fix HPUX bustage - can't have const user-defined (typedefed) variables inside structures without initializing them inside that structure
git-svn-id: svn://10.0.0.236/trunk@22155 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:39:28 +00:00
pinkerton%netscape.com
75e89e602f titlebuttons are not block frames!
git-svn-id: svn://10.0.0.236/trunk@22154 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:38:40 +00:00
alecf%netscape.com
8720c2952d fix HPUX bustage - now that we're using PR_FREEIF, you can't put (void*)
casts inside it.


git-svn-id: svn://10.0.0.236/trunk@22153 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:36:57 +00:00
alecf%netscape.com
fef17484d9 BandRect needs to be public to be visible outside the class definition (HPUX bustage)
git-svn-id: svn://10.0.0.236/trunk@22152 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:36:00 +00:00
ftang%netscape.com
b421dc5509 fix some unix warning
git-svn-id: svn://10.0.0.236/trunk@22151 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:34:58 +00:00
alecf%netscape.com
ab3c25a5f2 fix HPUX bustage - HP already has MIN, MAX, TRUE, and FALSE defined
git-svn-id: svn://10.0.0.236/trunk@22150 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:27:02 +00:00
alecf%netscape.com
c729288dab fix HPUX bustage: font should be const
git-svn-id: svn://10.0.0.236/trunk@22149 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:26:25 +00:00
alecf%netscape.com
9cb5576e4d fix HPUX bustage - don't declare classnames inside class definitition
git-svn-id: svn://10.0.0.236/trunk@22148 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:25:31 +00:00
pinkerton%netscape.com
44c442417e added new CreateInstance for warren to fix build bustage that never showed up on tinderbox.
git-svn-id: svn://10.0.0.236/trunk@22147 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:25:24 +00:00
ftang%netscape.com
ae6440bd59 fix some unix warning
git-svn-id: svn://10.0.0.236/trunk@22146 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:24:47 +00:00
ebina%netscape.com
13608a9e24 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22145 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:19:00 +00:00
kipp%netscape.com
369110d90c Support sized images
git-svn-id: svn://10.0.0.236/trunk@22144 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:15:15 +00:00
kipp%netscape.com
b68d985292 Support entities (bug #3112)
git-svn-id: svn://10.0.0.236/trunk@22143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:13:51 +00:00
kipp%netscape.com
e914323594 Use our own null value
git-svn-id: svn://10.0.0.236/trunk@22142 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:13:30 +00:00
kipp%netscape.com
6a553dabe3 Cleaned up operator new and delete
git-svn-id: svn://10.0.0.236/trunk@22141 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:13:10 +00:00
kipp%netscape.com
55ffab420a Removed dependency on static constructors
git-svn-id: svn://10.0.0.236/trunk@22140 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:12:16 +00:00
kipp%netscape.com
c8fe8ac18f Pass in default image size when loading image
git-svn-id: svn://10.0.0.236/trunk@22139 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:12:05 +00:00
kipp%netscape.com
774bcbcaf4 Whacked to handle moving floaters out of the flow
git-svn-id: svn://10.0.0.236/trunk@22138 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:11:54 +00:00
ftang%netscape.com
4b07ef7da1 fix some unix warnning
git-svn-id: svn://10.0.0.236/trunk@22137 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:11:43 +00:00
kipp%netscape.com
c9321630b1 Fixed up operator new and delete
git-svn-id: svn://10.0.0.236/trunk@22136 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:09:35 +00:00
kipp%netscape.com
7948faf8e8 Removed dependency on static constructors; implement operatore delete
git-svn-id: svn://10.0.0.236/trunk@22135 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:08:48 +00:00
kipp%netscape.com
f2ab10bb59 Removed move-out-of-flow code now that frame construction code does it; added code to avoid reflows when removing a placeholder frame
git-svn-id: svn://10.0.0.236/trunk@22134 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:08:20 +00:00
kipp%netscape.com
afb7fb16b8 Avoid purify noise by initializing all member variables
git-svn-id: svn://10.0.0.236/trunk@22133 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:07:49 +00:00
kipp%netscape.com
b8539e233b Support limited scaling of images on unix
git-svn-id: svn://10.0.0.236/trunk@22132 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:07:28 +00:00
kipp%netscape.com
d2550f1dbb Removed MoveOutOfFlow
git-svn-id: svn://10.0.0.236/trunk@22131 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:07:01 +00:00
kipp%netscape.com
f58eac9104 Implement operator delete; get rid of static constructor
git-svn-id: svn://10.0.0.236/trunk@22130 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:05:20 +00:00
kipp%netscape.com
c306aa9bfe Find text runs more often (bug #3278, 3265); floaters are now handled mostly by the frame construction code
git-svn-id: svn://10.0.0.236/trunk@22129 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:04:44 +00:00
kipp%netscape.com
ad6702e668 Removed dependency on static constructor
git-svn-id: svn://10.0.0.236/trunk@22128 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:03:45 +00:00
kipp%netscape.com
7469bb9bcb Implement operator delete properly; removed dependency on static constructor
git-svn-id: svn://10.0.0.236/trunk@22127 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:03:18 +00:00
kipp%netscape.com
83f6d724e1 Support desired image size during loading
git-svn-id: svn://10.0.0.236/trunk@22126 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:02:37 +00:00
kipp%netscape.com
2a60d6d88b Added IsFloating inline
git-svn-id: svn://10.0.0.236/trunk@22125 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:02:05 +00:00
kipp%netscape.com
507f449b32 Added in desired-size to image loading request
git-svn-id: svn://10.0.0.236/trunk@22124 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:01:34 +00:00
kipp%netscape.com
8782ec3985 Removed global gLogModule
git-svn-id: svn://10.0.0.236/trunk@22123 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:59:57 +00:00
kipp%netscape.com
cbae90a7c1 Cache alpha-clip pixmap across rendering calls so that transparent gifs render faster; flush cache when bits are updated so that transparent animated gifs don't break
git-svn-id: svn://10.0.0.236/trunk@22122 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:59:18 +00:00
ftang%netscape.com
bb66c75305 fix some unix warnning
git-svn-id: svn://10.0.0.236/trunk@22121 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:58:33 +00:00
kipp%netscape.com
58c03f58da Removed inline virtuals - a no-no
git-svn-id: svn://10.0.0.236/trunk@22120 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:58:18 +00:00
kipp%netscape.com
30a79fc6fa Get alpha line stride so that we don't produce the wrong alpha mask
git-svn-id: svn://10.0.0.236/trunk@22119 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:57:54 +00:00
ftang%netscape.com
1ec712e1e8 fix some unix warnning
git-svn-id: svn://10.0.0.236/trunk@22118 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:52:34 +00:00
pinkerton%netscape.com
056c27083c add a new RegisterFactory method for ebina.
git-svn-id: svn://10.0.0.236/trunk@22117 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:50:27 +00:00
ftang%netscape.com
9fa4a5ec6a fix a log of unix warnning- 1) make sure all XPCOM class destructor are virtual and fix warnning in new file
git-svn-id: svn://10.0.0.236/trunk@22115 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:32:08 +00:00
ebina%netscape.com
a859c35703 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22114 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:18:23 +00:00
fur%netscape.com
c2065b1017 Remove C++ comment in C file.
git-svn-id: svn://10.0.0.236/trunk@22113 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:11:37 +00:00
ebina%netscape.com
836781ca39 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22112 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:07:38 +00:00
ebina%netscape.com
f3c0c2ca83 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22111 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:59:52 +00:00
kipp%netscape.com
daf4dfbb67 new
git-svn-id: svn://10.0.0.236/trunk@22110 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:54:00 +00:00
ftang%netscape.com
9d10b06a0d first check in.This should fix the bustage
git-svn-id: svn://10.0.0.236/trunk@22109 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:36:02 +00:00
pavlov%pavlov.net
01824ed107 began work on nsDrawingSurfaceGTK.cpp. it isn't built yet, as it doens't
compile though.  renamed the nsDrawingSurfaceGTK.h to nsOldDrawingSurfaceGTK.h
to avoid name conflicts for now.


git-svn-id: svn://10.0.0.236/trunk@22108 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:26:02 +00:00
ftang%netscape.com
36edc1c253 add CharsetAlias factory
git-svn-id: svn://10.0.0.236/trunk@22107 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:24:56 +00:00
ftang%netscape.com
be55e2c69d check in hack implementation
git-svn-id: svn://10.0.0.236/trunk@22106 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:16:56 +00:00
ftang%netscape.com
55c46dac15 fix some interface probelm
git-svn-id: svn://10.0.0.236/trunk@22105 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:15:57 +00:00
edwin%woudt.nl
23789a3a1a You can't rename A to B if B exists. So we need to delete B first.
git-svn-id: svn://10.0.0.236/trunk@22104 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:12:09 +00:00
warren%netscape.com
bda4005b55 Making it build with new RDF registration mechanism.
git-svn-id: svn://10.0.0.236/trunk@22103 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 12:24:22 +00:00
warren%netscape.com
5ac2a1d765 Fixed XXXNeverCalled
git-svn-id: svn://10.0.0.236/trunk@22102 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 12:18:19 +00:00
edwin%woudt.nl
ea68125765 Fix to let the Dialog show up.
git-svn-id: svn://10.0.0.236/trunk@22101 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 12:12:13 +00:00
warren%netscape.com
8b314ccb43 Added missing argument.
git-svn-id: svn://10.0.0.236/trunk@22100 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 11:46:42 +00:00
warren%netscape.com
d05d7032e1 Fixed leak when Init fails.
git-svn-id: svn://10.0.0.236/trunk@22099 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 11:42:05 +00:00
warren%netscape.com
2500e9edaf Fixed NSRegisterSelf signature.
git-svn-id: svn://10.0.0.236/trunk@22098 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 11:32:51 +00:00
warren%netscape.com
ba84994876 Fixed variable name.
git-svn-id: svn://10.0.0.236/trunk@22097 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 11:31:04 +00:00
warren%netscape.com
789849f8bf Renamed variable.
git-svn-id: svn://10.0.0.236/trunk@22096 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:58:32 +00:00
warren%netscape.com
513a79704b Fixed #endif for non-registry builds.
git-svn-id: svn://10.0.0.236/trunk@22095 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:55:07 +00:00
warren%netscape.com
49ed8e046f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
git-svn-id: svn://10.0.0.236/trunk@22094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:17:14 +00:00
karnaze%netscape.com
bf7aa2f2f9 fixed bug where anonymous table frame is constructed inside table related frame.
simplified table frame construction.


git-svn-id: svn://10.0.0.236/trunk@22093 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 09:15:03 +00:00
fur%netscape.com
047bf73e83 Added x86 disassembly to HTML output, courtesy of free code from CMU's
Mach project.


git-svn-id: svn://10.0.0.236/trunk@22092 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 09:10:34 +00:00
fur%netscape.com
74ccfa71b1 Fix OBJDIR naming convention to be simpler
git-svn-id: svn://10.0.0.236/trunk@22091 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:48:53 +00:00
evaughan%netscape.com
a39632b9af Removed state info from button renderer.
git-svn-id: svn://10.0.0.236/trunk@22090 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:48:24 +00:00
fur%netscape.com
b364ac0639 libpthread must come before libnspr on the link line
git-svn-id: svn://10.0.0.236/trunk@22089 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:47:18 +00:00
fur%netscape.com
b02c4ab54d Don't use enums with bitfield widths when running with gcc, since egcs
generates buggy code for this case and there is no way to
differentiate gcc and egcs.


git-svn-id: svn://10.0.0.236/trunk@22088 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:45:45 +00:00
mcafee%netscape.com
290b452307 Better ifdef logic for last checkin
git-svn-id: svn://10.0.0.236/trunk@22087 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:44:50 +00:00
fur%netscape.com
241ef884c8 Fix syntax error
git-svn-id: svn://10.0.0.236/trunk@22086 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:44:40 +00:00
fur%netscape.com
11526464c8 Add libm
git-svn-id: svn://10.0.0.236/trunk@22085 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:42:30 +00:00
fur%netscape.com
b968d57b64 Restore building of java.security native libraries
git-svn-id: svn://10.0.0.236/trunk@22084 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:41:28 +00:00
mcafee%netscape.com
a61404126a Solaris/CC refused to compile part of this file, giving up for now. a=scc
git-svn-id: svn://10.0.0.236/trunk@22083 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:41:15 +00:00
fur%netscape.com
afd136e6bf + Remove dead code
+ Make class initialization slightly more efficient


git-svn-id: svn://10.0.0.236/trunk@22082 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:40:13 +00:00
fur%netscape.com
fd8160d7bd Improve comment
git-svn-id: svn://10.0.0.236/trunk@22081 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:39:24 +00:00
fur%netscape.com
eaba928492 Fix library ordering problem so that pthreads appears before NSPR on
the link line.


git-svn-id: svn://10.0.0.236/trunk@22080 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:38:38 +00:00
fur%netscape.com
ef607fb50d Fix problems in which functions had 'inline' keyword in definition
but not in the corresponding declaration.


git-svn-id: svn://10.0.0.236/trunk@22079 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:18:38 +00:00
fur%netscape.com
579b075cdf Make the Linux compile-and-backpatch stub code generation be just like
Win32's, so that method-tracing works.


git-svn-id: svn://10.0.0.236/trunk@22078 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:17:06 +00:00
fur%netscape.com
1d244214d1 Under some circumstances, the monitor around the compiler was being
released even though it was not held.


git-svn-id: svn://10.0.0.236/trunk@22077 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:15:03 +00:00
rickg%netscape.com
89a3d20da2 fix build crash caused by deque API change
git-svn-id: svn://10.0.0.236/trunk@22076 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 07:37:27 +00:00
rickg%netscape.com
bfceba3989 attempt to fix build
git-svn-id: svn://10.0.0.236/trunk@22075 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 07:24:27 +00:00
rickg%netscape.com
51458a6c52 new API on deque to set deallocator
git-svn-id: svn://10.0.0.236/trunk@22074 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 07:23:56 +00:00
evaughan%netscape.com
e84b411850 Fixed up titled button so hover, focus, active, states work.
git-svn-id: svn://10.0.0.236/trunk@22073 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 06:41:10 +00:00
rickg%netscape.com
5012f4e582 small bug fixes and removal of global statics
git-svn-id: svn://10.0.0.236/trunk@22072 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 06:33:54 +00:00
mcafee%netscape.com
b0e3a4ac8c Adding __SVR4 to check for SunOS 4.1.3, wrapping this check into MOZ_MAY_HAVE_DNS. a=spence
git-svn-id: svn://10.0.0.236/trunk@22071 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 06:20:48 +00:00
bienvenu%netscape.com
38fb01af30 add new hdrs to db and turn on notification by default
git-svn-id: svn://10.0.0.236/trunk@22070 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 06:01:26 +00:00
beard%netscape.com
1a8100e0c5 Fixing callback typedef, using new NS_CALLBACK macro which will be moved to nsCom.h when it proves itself.
git-svn-id: svn://10.0.0.236/trunk@22069 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:30:17 +00:00
mscott%netscape.com
7ed5bbeb0c fix clobber rules to correctly clobber resources.
git-svn-id: svn://10.0.0.236/trunk@22068 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:22:44 +00:00
mscott%netscape.com
175f212fe3 Fix build breakage. Change OpenURL signature to take a char * instead of an AutoString because the interface was changed that way.
git-svn-id: svn://10.0.0.236/trunk@22067 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:16:59 +00:00
mscott%netscape.com
f12953d001 Fix build breakage remove nsIID.h and nsISupportUtils.h from all interfaces until we can figure out where these files come from. I know this is the wrong long term solution so I'm not even changing the idl files.
git-svn-id: svn://10.0.0.236/trunk@22066 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:10:24 +00:00
beard%netscape.com
a3a56d921c Now uses nsGenericFactory to provide factories for NS_ALLOCATOR_CID and NS_GENERICFACTORY_CID.
git-svn-id: svn://10.0.0.236/trunk@22065 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:09:51 +00:00
mscott%netscape.com
6f69698824 nsFileSpec update.
git-svn-id: svn://10.0.0.236/trunk@22064 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:09:39 +00:00
mscott%netscape.com
70f43902ac Fix build breakage. Many of these interfaces had the constness of arguments removed from them. We need to remove the const char *s and change them to char *s in all of the classes that implement those interfaces....This had a carry over effect of forcing several pieces of code to cast const char *s as char *s. Hopefully we can undo all of these changes when the IDL compiler allows you to have const arguments...
git-svn-id: svn://10.0.0.236/trunk@22063 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:09:10 +00:00
beard%netscape.com
9387da18fb Added nsGenericFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@22062 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:09:07 +00:00
beard%netscape.com
fe425b96af now implements nsIGenericFactory.
git-svn-id: svn://10.0.0.236/trunk@22061 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:08:26 +00:00
mscott%netscape.com
9438adee6a nsFileSpec updates...
git-svn-id: svn://10.0.0.236/trunk@22060 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:06:37 +00:00
beard%netscape.com
d8af315b9c added nsIGenericFactory.h
git-svn-id: svn://10.0.0.236/trunk@22059 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:06:13 +00:00
beard%netscape.com
bf9e88cca3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22058 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:05:14 +00:00
beard%netscape.com
dc53227e34 Added CID() accessor.
git-svn-id: svn://10.0.0.236/trunk@22057 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:04:50 +00:00
mscott%netscape.com
77dda8f63a Add parsing code if the id is part of the urlspec. Use mailbox action enum.
git-svn-id: svn://10.0.0.236/trunk@22056 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:04:33 +00:00
beard%netscape.com
17aff0f259 added IID() accessor.
git-svn-id: svn://10.0.0.236/trunk@22055 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:04:13 +00:00
mscott%netscape.com
24f4257d53 Fix build breakage. Convert char * to a nsstring before passing it to createNode
git-svn-id: svn://10.0.0.236/trunk@22054 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:03:44 +00:00
mscott%netscape.com
2e3a647249 Add enum for mailbox url action type.
git-svn-id: svn://10.0.0.236/trunk@22053 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:00:21 +00:00
mscott%netscape.com
e5f5f9cde5 Fix build breakage remove nsIID.h and nsISupportUtils.h from all interfaces until we can figure out where these files come from. I know this is the wrong long term solution so I'm not even changing the idl files.
git-svn-id: svn://10.0.0.236/trunk@22052 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:59:33 +00:00
mscott%netscape.com
989ff04df2 nsFileSpec updates.
git-svn-id: svn://10.0.0.236/trunk@22051 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:58:26 +00:00
rjc%netscape.com
5394b2a610 Forgot to register/deregister RDFCore factory.
git-svn-id: svn://10.0.0.236/trunk@22050 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:55:13 +00:00
mscott%netscape.com
53e276fd09 Fix build by exporting nsIMsg.h
git-svn-id: svn://10.0.0.236/trunk@22049 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:54:45 +00:00
leaf%mozilla.org
2a82294f15 adding .deps to ignore the new dependencies directory
git-svn-id: svn://10.0.0.236/trunk@22048 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:54:01 +00:00
mcafee%netscape.com
59aa28351c Switching unix to use PR_Abort().
git-svn-id: svn://10.0.0.236/trunk@22047 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:52:37 +00:00
mcafee%netscape.com
43188f40b8 Adding do_QueryInterface() to fix Solaris/nxCOMPtr ambiguity.
git-svn-id: svn://10.0.0.236/trunk@22046 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:50:37 +00:00
mcafee%netscape.com
42298d96aa readding my fix that buster whomped.
git-svn-id: svn://10.0.0.236/trunk@22045 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:46:08 +00:00
troy%netscape.com
5bb51bbb20 Added logic to replicate the caption when splitting the table
git-svn-id: svn://10.0.0.236/trunk@22043 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:35:22 +00:00
bienvenu%netscape.com
05158a78f0 more reading and writing of toy db
git-svn-id: svn://10.0.0.236/trunk@22042 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:25:16 +00:00
waterson%netscape.com
b3ecd2c6b5 Modified DEFINE_RDF_VOCAB macro so that it doesn't create static constructors on Unix.
git-svn-id: svn://10.0.0.236/trunk@22041 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:07:59 +00:00
waterson%netscape.com
22db265958 Bug 3302. Fixed DOM calls to effect (more or less) the right change on the content model, modulo Bug 3275. This was causing asserts to fire whenever you called SetAttribute().
git-svn-id: svn://10.0.0.236/trunk@22040 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:02:19 +00:00
jband%netscape.com
d74a10535e removed cruft
git-svn-id: svn://10.0.0.236/trunk@22039 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:52:48 +00:00
hyatt%netscape.com
a832e7cd61 Preparing expand/collapse so that it works the right way.
git-svn-id: svn://10.0.0.236/trunk@22038 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:50:21 +00:00
saari%netscape.com
4103384808 Comment out SetLabel in LoadMenuItem
SetLabel should be called by the call to Create, to which I added the name back in the call.


git-svn-id: svn://10.0.0.236/trunk@22037 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:50:09 +00:00
brendan%netscape.com
a1ab81c5b1 Fix indentation, fiddle to share common fputs string.
git-svn-id: svn://10.0.0.236/trunk@22036 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:48:01 +00:00
jband%netscape.com
38b5613680 fixed warnings
git-svn-id: svn://10.0.0.236/trunk@22035 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:46:35 +00:00
saari%netscape.com
52083c19e0 Actually do menu creation on the create call.
Commented out SetLabel in nsWebShellWindow::LoadMenuItem


git-svn-id: svn://10.0.0.236/trunk@22034 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:45:55 +00:00
rjc%netscape.com
8cd3ac46c2 Small case changes.
git-svn-id: svn://10.0.0.236/trunk@22033 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:45:25 +00:00
danm%netscape.com
6a2e3f3bea adding C XUL window construction callback
git-svn-id: svn://10.0.0.236/trunk@22029 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:22:42 +00:00
mscott%netscape.com
b4ef1c318a nsFileSpec changes.
git-svn-id: svn://10.0.0.236/trunk@22028 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:22:01 +00:00
law%netscape.com
ad76645726 Create reg file if it doesn't exist
git-svn-id: svn://10.0.0.236/trunk@22027 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:17:37 +00:00
rjc%netscape.com
56dbfedf7b Modified sidebar.xul regarding sorting.
git-svn-id: svn://10.0.0.236/trunk@22026 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:16:56 +00:00
law%netscape.com
9ae1a629b4 New status bar; first draft
git-svn-id: svn://10.0.0.236/trunk@22025 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:15:29 +00:00
rjc%netscape.com
282975714f Add in RDFCore.
git-svn-id: svn://10.0.0.236/trunk@22024 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:14:51 +00:00
waterson%netscape.com
a411b1387c Improved SplitAttribute() to return kNameSpaceID_None if it finds a tag but can't determine the namespace.
git-svn-id: svn://10.0.0.236/trunk@22023 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:09:48 +00:00
rjc%netscape.com
c08b1ae756 Add into RDF Core.
git-svn-id: svn://10.0.0.236/trunk@22022 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:08:29 +00:00
rjc%netscape.com
6e30cacd1c Add in RDFCore.idl
git-svn-id: svn://10.0.0.236/trunk@22021 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:08:01 +00:00
jband%netscape.com
1740753904 Linux x86 now runs and passes all the same tests as Win32. Added md/test as a place and framework to start ports to other platforms
git-svn-id: svn://10.0.0.236/trunk@22020 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:04:33 +00:00
rjc%netscape.com
0629e3a3f0 Add RDF file system datasource into builds.
git-svn-id: svn://10.0.0.236/trunk@22019 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:04:28 +00:00
akkana%netscape.com
5aba739fcc Fixes to make the mac build; jfrancis will follow with the project file
git-svn-id: svn://10.0.0.236/trunk@22017 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:59:49 +00:00
alecf%netscape.com
29d7191943 rev the XPIDL-generated headers, and update API calls to match
includes dropping "const"ness from parameters
some nsString routines were converted back to char* for the time being.
also added nsIMsg.h, it seemed to be missing

Also many fixes to get Unix building again.


git-svn-id: svn://10.0.0.236/trunk@22016 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:56:15 +00:00
sfraser%netscape.com
acb9d031fd Remove MoreFiles.shlb from the optimized target.
git-svn-id: svn://10.0.0.236/trunk@22014 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:34:04 +00:00
alecf%netscape.com
7318c8827e add new compose makefiles
git-svn-id: svn://10.0.0.236/trunk@22012 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:22:12 +00:00
terry%netscape.com
200d36f911 Removed "Platform: Lesstif on Linux" component.
git-svn-id: svn://10.0.0.236/trunk@22011 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:18:25 +00:00
alecf%netscape.com
43704aa51c rev the XPIDL generated headers
git-svn-id: svn://10.0.0.236/trunk@22010 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:17:12 +00:00
alecf%netscape.com
087b97ae1f check in unix makefiles/ignore files
git-svn-id: svn://10.0.0.236/trunk@22009 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:16:07 +00:00
alecf%netscape.com
2e11906933 update to make compose build on Linux
git-svn-id: svn://10.0.0.236/trunk@22008 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:14:57 +00:00
sfraser%netscape.com
1d6c6156b4 File Removed.
git-svn-id: svn://10.0.0.236/trunk@22007 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:13:09 +00:00
sfraser%netscape.com
8707f97633 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22006 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:12:49 +00:00
terry%netscape.com
bd8e33797e Patch by Dhiren Patel <dhiren@nuvomedia.com> (tweaked by me) -- add a
link to Enter A Bug when viewing a list of bugs.


git-svn-id: svn://10.0.0.236/trunk@22005 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:08:50 +00:00
putterman%netscape.com
8f8b505175 AddRef database in constructor.
git-svn-id: svn://10.0.0.236/trunk@22004 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:02:15 +00:00
terry%netscape.com
74c82f07d6 Removed MFC/Win32 component.
git-svn-id: svn://10.0.0.236/trunk@22003 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:01:34 +00:00
sfraser%netscape.com
810a288777 Remove ; to fix warnings.
git-svn-id: svn://10.0.0.236/trunk@22002 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:55:22 +00:00
sfraser%netscape.com
c74199e668 Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
git-svn-id: svn://10.0.0.236/trunk@22001 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:54:57 +00:00
sfraser%netscape.com
08cf89f6dd Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order. Also clean up the prefix file mess.
git-svn-id: svn://10.0.0.236/trunk@22000 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:54:45 +00:00
sfraser%netscape.com
a63f8fa1e1 Mac project changes -- don't generate SYM file.
git-svn-id: svn://10.0.0.236/trunk@21999 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:52:23 +00:00
sfraser%netscape.com
f0dd92bf71 Mac project changes -- no longer need to link with some libraries, so remove these from the project (MoreFiles, MemAllcoatorStubs).
git-svn-id: svn://10.0.0.236/trunk@21998 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:49:57 +00:00
sfraser%netscape.com
468246c95a Change project build order, and build MoreFiles and MemAllocator as static libs.
git-svn-id: svn://10.0.0.236/trunk@21997 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:48:30 +00:00
terry%netscape.com
9fadcb978b Major rewrite by Ry4an Brase <ry4an@ry4an.org>, with some edits by me.
git-svn-id: svn://10.0.0.236/trunk@21996 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:47:29 +00:00
despotdaemon%netscape.com
df709ba5ea Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21995 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:45:30 +00:00
sfraser%netscape.com
f59ab36c66 Mac project changes -- convert from using MLSShLibRuntime to MSLDropinRuntime.
git-svn-id: svn://10.0.0.236/trunk@21994 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:44:01 +00:00
sfraser%netscape.com
24e96ce5ac Mac project changes -- NSStdlib now includes the memory allocators and MoreFiles as static libraries, and re-exports their symbols.
git-svn-id: svn://10.0.0.236/trunk@21993 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:41:00 +00:00
sfraser%netscape.com
067a38fdcb Mac project changes: remove MSL libs from NSRuntime, and don't export new/delete from here
git-svn-id: svn://10.0.0.236/trunk@21992 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:40:12 +00:00
sfraser%netscape.com
5776fcaf07 Mac project uptates; build the memory allocators and morefiles as static libraries.
git-svn-id: svn://10.0.0.236/trunk@21991 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:39:19 +00:00
dougt%netscape.com
5c3d475c6d Remove #ifdef DEBUG
git-svn-id: svn://10.0.0.236/trunk@21990 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:14:57 +00:00
terry%netscape.com
2ef818e612 Wasn't able to mass-change a component before.
git-svn-id: svn://10.0.0.236/trunk@21989 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:54:14 +00:00
terry%netscape.com
5f34c3c373 Removed MacOS/PPC component.
git-svn-id: svn://10.0.0.236/trunk@21988 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:42:52 +00:00
despotdaemon%netscape.com
8dbe0bf70c Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21987 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:36:23 +00:00
briano%netscape.com
3bc1b498bb More cleanup, and now we force the compiler on Solaris x86 to be EGCS.
git-svn-id: svn://10.0.0.236/trunk@21986 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:35:52 +00:00
despotdaemon%netscape.com
ce1d1876aa Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21985 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:35:48 +00:00
dougt%netscape.com
3f857cbd81 tests are failing on window optimized. I am removing the test dir from the
build path until I can figure it out.


git-svn-id: svn://10.0.0.236/trunk@21984 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:19:12 +00:00
edwin%woudt.nl
5ae199533b Status update!
git-svn-id: svn://10.0.0.236/trunk@21983 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:09:12 +00:00
michaelp%netscape.com
1e84ef5fb9 bustage with new nsFileSpec.h
git-svn-id: svn://10.0.0.236/trunk@21982 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:08:51 +00:00
mccabe%netscape.com
5a91ac81df Initial checkin of typelib loading service.
git-svn-id: svn://10.0.0.236/trunk@21981 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 22:56:43 +00:00
dougt%netscape.com
f3f6d856e0 Another fix to the build bustage.
git-svn-id: svn://10.0.0.236/trunk@21980 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 22:17:25 +00:00
dougt%netscape.com
a28665a754 This should make the tree go green. It, however, makes nsPersistentFileDescriptor broken if you pass an fsspec.
git-svn-id: svn://10.0.0.236/trunk@21979 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 22:04:50 +00:00
dougt%netscape.com
25bcdd1a61 Changed nsNativeFileSpec to nsFileSpec.
git-svn-id: svn://10.0.0.236/trunk@21978 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:58:10 +00:00
dougt%netscape.com
451b4db4af Merging branch BASE_19_FEB_99 to tip. These are extensive changes
to nsFileSpec and and nsFileStream.  See dougt@netscape.com or
John McMullen for futher information.


git-svn-id: svn://10.0.0.236/trunk@21977 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:49:47 +00:00
ftang%netscape.com
f1b059f18d fix the bustage
git-svn-id: svn://10.0.0.236/trunk@21976 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:16:28 +00:00
briano%netscape.com
d6117dc2c9 Automated update
git-svn-id: svn://10.0.0.236/trunk@21975 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:00:38 +00:00
ftang%netscape.com
60ba4d7407 add readme.txt file for serveral directory
git-svn-id: svn://10.0.0.236/trunk@21974 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:59:47 +00:00
wtc%netscape.com
69eda9d37b Changed NSPR ==> NSPS.
git-svn-id: svn://10.0.0.236/trunk@21973 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:58:12 +00:00
ftang%netscape.com
94731511ba First check in
git-svn-id: svn://10.0.0.236/trunk@21972 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:57:03 +00:00
buster%netscape.com
a200933a99 added GetStyleContextFor
git-svn-id: svn://10.0.0.236/trunk@21971 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:55:06 +00:00
ftang%netscape.com
b7db5d8561 enable ucvja2 . add placeholder for Chinese/Korean/Vietnamese/Thai converters.
git-svn-id: svn://10.0.0.236/trunk@21970 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:52:25 +00:00
ftang%netscape.com
9fd58e5604 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21969 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:50:08 +00:00
slamm%netscape.com
60c064de5d Force configure to be regenerated.
git-svn-id: svn://10.0.0.236/trunk@21968 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:47:46 +00:00
wtc%netscape.com
c073a85602 Link the tests against $(LIBPLC) $(LIBPLDS) $(LIBPR).
git-svn-id: svn://10.0.0.236/trunk@21967 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:46:30 +00:00
alecf%netscape.com
14c4d02ab6 fix HPUX bustage - don't put commas after last element in enum declaration
git-svn-id: svn://10.0.0.236/trunk@21966 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:45:44 +00:00
cyeh%netscape.com
162f7e0a0a fixed busted perl script by adding proper quoting. duh.
git-svn-id: svn://10.0.0.236/trunk@21965 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:43:40 +00:00
cyeh%netscape.com
e301d8f212 add quick result to stdout
git-svn-id: svn://10.0.0.236/trunk@21964 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:40:38 +00:00
edwin%woudt.nl
f0b27c0052 Oops! Some illegal character slipped in.
git-svn-id: svn://10.0.0.236/trunk@21963 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:39:15 +00:00
cyeh%netscape.com
1599fcf118 little perl script that searches for global constructors/destructors
in build objects in the tree


git-svn-id: svn://10.0.0.236/trunk@21962 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:35:05 +00:00
rods%netscape.com
8c2c134ce5 Fixed name space problems with the xul and changed button to be title buttons
git-svn-id: svn://10.0.0.236/trunk@21961 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:34:54 +00:00
ftang%netscape.com
40f3362d92 add nsCharsetAliasImp.cpp
git-svn-id: svn://10.0.0.236/trunk@21960 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:32:34 +00:00
ftang%netscape.com
8a3aa58c3e add two cpp file into uconv.toc
git-svn-id: svn://10.0.0.236/trunk@21959 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:29:52 +00:00
wtc%netscape.com
51c4060a76 Merged /m/src/ns/nspr20/lib/tests/arena.c, revision 1.2, by larryh.
git-svn-id: svn://10.0.0.236/trunk@21958 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:29:46 +00:00
ftang%netscape.com
02544623ab add placeholder for nsCharsetAliasImp.cpp
git-svn-id: svn://10.0.0.236/trunk@21957 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:27:18 +00:00
ftang%netscape.com
605cae244e add placehodler for nsCharsetAliasImp.cpp
git-svn-id: svn://10.0.0.236/trunk@21956 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:26:33 +00:00
law%netscape.com
4f42dc7317 Fixes for Mac
git-svn-id: svn://10.0.0.236/trunk@21955 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:24:18 +00:00
slamm%netscape.com
b9e28d6823 Always use --with-nspr for nspr flag (not MOZ_WITH_NSPR). Change myconfig.sh to mozconfig.sh.
git-svn-id: svn://10.0.0.236/trunk@21954 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:22:46 +00:00
law%netscape.com
6033015167 Add DIRS=registry to win32 build
git-svn-id: svn://10.0.0.236/trunk@21953 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:22:13 +00:00
slamm%netscape.com
a1f2d080d0 Change myconfig to mozconfig.
git-svn-id: svn://10.0.0.236/trunk@21952 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:21:29 +00:00
ftang%netscape.com
6fa93574e6 add nsICharsetAlias.h interface
git-svn-id: svn://10.0.0.236/trunk@21951 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:21:25 +00:00
law%netscape.com
771c27f26f Adding nsRegistry to win32 build
git-svn-id: svn://10.0.0.236/trunk@21950 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:20:39 +00:00
slamm%netscape.com
9515e42db7 Add run_apprunner target
git-svn-id: svn://10.0.0.236/trunk@21949 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:18:59 +00:00
law%netscape.com
a4235416e3 Export nsIRegistry.h
git-svn-id: svn://10.0.0.236/trunk@21948 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:16:00 +00:00
vidur%netscape.com
9270605250 Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests.
git-svn-id: svn://10.0.0.236/trunk@21947 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:14:35 +00:00
edwin%woudt.nl
4e807fe46d Reflecting all currently working providers. (Except imap and smtp as they are handled correctly bij javamail itself)
git-svn-id: svn://10.0.0.236/trunk@21946 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:13:27 +00:00
alecf%netscape.com
f623a06bc4 fix HPUX bustage - HPUX doesn't do static_cast
git-svn-id: svn://10.0.0.236/trunk@21945 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:09:16 +00:00
ftang%netscape.com
0853369702 add newly design interface file
git-svn-id: svn://10.0.0.236/trunk@21944 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:08:45 +00:00
pinkerton%netscape.com
d24a730907 Removing obsolete files. These were never really needed.
git-svn-id: svn://10.0.0.236/trunk@21943 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:02:31 +00:00
pinkerton%netscape.com
58e86110fe Removing nsThrobberGlue.cpp
git-svn-id: svn://10.0.0.236/trunk@21942 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:01:33 +00:00
pinkerton%netscape.com
75f054fa60 removing nsThrobberGlue.cpp
git-svn-id: svn://10.0.0.236/trunk@21941 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:01:08 +00:00
michaelp%netscape.com
68e6998fbd added nsIDrawingSurface, a windows specific counterpart and a windows
implementation. cleaned up windows blending code to the point where we
don't really need platform specific blending implementations at all
anymore. added region area return from nsIRegion::GetRects(). unified all
windows bitmap management code under nsDrawingSurfaceWin.cpp.


git-svn-id: svn://10.0.0.236/trunk@21940 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:53:31 +00:00
alecf%netscape.com
cb08c3dc10 add nsICollection.idl
git-svn-id: svn://10.0.0.236/trunk@21939 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:51:53 +00:00
pinkerton%netscape.com
850fd37ff2 remove nsThrobberGlue.cpp
git-svn-id: svn://10.0.0.236/trunk@21938 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:51:00 +00:00
alecf%netscape.com
7458e02ae8 include jsapi.h whenever we're doing stub work
git-svn-id: svn://10.0.0.236/trunk@21937 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:47:58 +00:00
michaelp%netscape.com
fe37951134 work in progress for new compositor.
git-svn-id: svn://10.0.0.236/trunk@21936 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:44:45 +00:00
ebina%netscape.com
465c926ebe Change old RegisterFactory calls to use the new API.
git-svn-id: svn://10.0.0.236/trunk@21935 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:38:45 +00:00
ebina%netscape.com
989ce33bbf Change old RegisterFactory call to use the new API.
git-svn-id: svn://10.0.0.236/trunk@21934 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:37:30 +00:00
waterson%netscape.com
8bf6a59a42 Added support for <xul:treebody xul:id=...>
git-svn-id: svn://10.0.0.236/trunk@21933 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:37:27 +00:00
jband%netscape.com
a15cd434c9 added unix makesfiles, fixed two bad static casts, invoke code working on Linux, working on stubs code for Linux
git-svn-id: svn://10.0.0.236/trunk@21932 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:14:51 +00:00
dp%netscape.com
5cf4630054 Removing strange characters
git-svn-id: svn://10.0.0.236/trunk@21931 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:11:58 +00:00
terry%netscape.com
c245556712 Removed OS/2 component.
git-svn-id: svn://10.0.0.236/trunk@21930 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:11:20 +00:00
kostello%netscape.com
76bc4c8e27 Modifications to turn on the Editor Appshell Testbed for Windows
git-svn-id: svn://10.0.0.236/trunk@21929 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:06:26 +00:00
jfrancis%netscape.com
41cb054736 Adding Editor AppCore to macbuild
git-svn-id: svn://10.0.0.236/trunk@21928 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:05:37 +00:00
kin%netscape.com
e8423e91a5 Modifications to turn on EditorAppShell test bed for Linux.
git-svn-id: svn://10.0.0.236/trunk@21927 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:04:50 +00:00
terry%netscape.com
efb0274631 Patch from Dhiren Patel <dhiren@nuvomedia.com> -- deal with products
that have spaces or other weird characters in them.


git-svn-id: svn://10.0.0.236/trunk@21926 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:01:02 +00:00
alecf%netscape.com
572519680a forgot to capitalize a variable
git-svn-id: svn://10.0.0.236/trunk@21925 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:52:33 +00:00
alecf%netscape.com
49eb294d55 include stdlib for HPUX
git-svn-id: svn://10.0.0.236/trunk@21924 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:48:25 +00:00
alecf%netscape.com
4b3e627852 fix HPUX bustage - HP's compiler can't do "using" or static casts
git-svn-id: svn://10.0.0.236/trunk@21923 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:47:54 +00:00
briano%netscape.com
0032e2e4af Automated update
git-svn-id: svn://10.0.0.236/trunk@21922 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:45:40 +00:00
coop%netscape.com
e17dee7c12 NOT YET PART OF SEAMONKEY:
* first pass at typelib linker
* parent_interface modification is untested
* interface offset management is unimplemented
* what to do about annotations?


git-svn-id: svn://10.0.0.236/trunk@21921 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:45:11 +00:00
harishd%netscape.com
49c3b93aed Enabling view source window to display title.
git-svn-id: svn://10.0.0.236/trunk@21920 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:43:41 +00:00
harishd%netscape.com
a8f3c33c80 Enabling view source window to display title.
Added methods OpenHead() and CloseHead() to
the CViewSourceHTML class.


git-svn-id: svn://10.0.0.236/trunk@21919 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:43:16 +00:00
dp%netscape.com
9bd7ffc2b2 Meeting notes added
git-svn-id: svn://10.0.0.236/trunk@21918 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:43:02 +00:00
alecf%netscape.com
bd5640928a add C++ compiler checks for namespaces and static_cast (for nsCOMPtr)
git-svn-id: svn://10.0.0.236/trunk@21917 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:38:09 +00:00
pavlov%pavlov.net
ef5a9a8f4d remove keyboard accelerators so that editor works on the keys that had accels.
git-svn-id: svn://10.0.0.236/trunk@21916 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:33:06 +00:00
kin%netscape.com
faebbc2480 Initial check in of files for EditorAppShell test bed.
git-svn-id: svn://10.0.0.236/trunk@21915 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:32:59 +00:00
brade%netscape.com
885ac024e0 reformat (remove tabs; fix spacing/indent to be consistent with other files)
git-svn-id: svn://10.0.0.236/trunk@21914 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:32:00 +00:00
kin%netscape.com
ecd35a5e3d Removed gif files. Need to recheck them in using -kb flag to mark them as
binary.


git-svn-id: svn://10.0.0.236/trunk@21913 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:30:38 +00:00
alecf%netscape.com
aa43fb61a4 fix for BSD/OS 3.1
git-svn-id: svn://10.0.0.236/trunk@21912 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:26:22 +00:00
waterson%netscape.com
206bbf35d4 Improved tag matching so that it doesn't assume XUL namespace. Added nsIXMLContent methods in anticipation of someday getting real namespace scoping right. See http://bugzilla.mozilla.org/show_bug.cgi?id=3275 for more info.
git-svn-id: svn://10.0.0.236/trunk@21911 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:15:57 +00:00
brade%netscape.com
6b5c0c05a9 clean up (remove tabs, etc.)
git-svn-id: svn://10.0.0.236/trunk@21910 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:01:03 +00:00
edwin%woudt.nl
34b2e9668b Fixed another nasty bug. Possibly also because the JavaMail API changed to first call protocolConnect with a null password and if that fails to lookup the password and call protocolConnect again.
git-svn-id: svn://10.0.0.236/trunk@21909 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:48:33 +00:00
brade%netscape.com
f797c7d1e9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21908 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:46:58 +00:00
kipp%netscape.com
dd3ae803c4 Avoid crashing if the url doesn't have a container
git-svn-id: svn://10.0.0.236/trunk@21907 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:43:17 +00:00
kipp%netscape.com
9addc29ade removed
git-svn-id: svn://10.0.0.236/trunk@21906 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:42:47 +00:00
kipp%netscape.com
8070a9c09f Added .cvsignores
git-svn-id: svn://10.0.0.236/trunk@21905 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:42:19 +00:00
kipp%netscape.com
4b4cf3fd26 Eliminate global constuctor dependency
git-svn-id: svn://10.0.0.236/trunk@21904 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:41:54 +00:00
kipp%netscape.com
b4dec93fd1 new
git-svn-id: svn://10.0.0.236/trunk@21903 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:41:09 +00:00
brade%netscape.com
c8121e783c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21902 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:35:36 +00:00
kin%netscape.com
2fc00c11bc Initial checkin of file for the EditorAppShell test bed.
git-svn-id: svn://10.0.0.236/trunk@21901 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:24:05 +00:00
brade%netscape.com
ec435e7d0a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21900 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:20:55 +00:00
edwin%woudt.nl
5d45d9a695 Now that was a nasty bug. The Javamail API changed. Hmm... now we have two working news stores and maybe even two working POP3 stores.
git-svn-id: svn://10.0.0.236/trunk@21899 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:14:45 +00:00
buster%netscape.com
8579381793 minor bug fixes
git-svn-id: svn://10.0.0.236/trunk@21898 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:09:18 +00:00
ebina%netscape.com
c80f10297f Stub in the new RegisterFactory API in preparation for removing the old one.
git-svn-id: svn://10.0.0.236/trunk@21897 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:07:31 +00:00
brade%netscape.com
06ecb9f0c1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21896 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:07:25 +00:00
buster%netscape.com
b18e41adc0 edge conditions now supported for SetTextProperty. You now get correct behavior when you select the beginning of a text block, or the end.
You now get correct behavior if the selection spans multiple text blocks, as long as the blocks have the same grandparent.


git-svn-id: svn://10.0.0.236/trunk@21895 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:05:43 +00:00
cata%netscape.com
d3c71a6c51 Generic factory used.
git-svn-id: svn://10.0.0.236/trunk@21894 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 15:48:41 +00:00
brade%netscape.com
5f56326130 add "static" to CreateRobotDialog and CreateSizeDialog to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@21893 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 15:40:59 +00:00
brade%netscape.com
d956616cd3 remove extra comma to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@21892 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 15:39:50 +00:00
brade%netscape.com
a64bcb4630 add "static" to GetFrameBorderHelper to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@21891 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 15:38:29 +00:00
cata%netscape.com
f937e91bfd Small output format change.
git-svn-id: svn://10.0.0.236/trunk@21890 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 14:46:46 +00:00
cata%netscape.com
d493860db8 Generic factory used.
git-svn-id: svn://10.0.0.236/trunk@21889 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 14:44:44 +00:00
cata%netscape.com
d937524287 UnicodeToLatin1 component added.
git-svn-id: svn://10.0.0.236/trunk@21888 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 14:22:42 +00:00
cata%netscape.com
34ab284a39 added files: mozilla/intl/uconv/ucvlatin/nsUnicodeToLatin1.cpp, mozilla/intl/uconv/ucvlatin/nsUCvLatinSupport.cpp
git-svn-id: svn://10.0.0.236/trunk@21887 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 14:16:13 +00:00
edwin%woudt.nl
780811338b Needed to get news working.
git-svn-id: svn://10.0.0.236/trunk@21886 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 14:08:14 +00:00
cata%netscape.com
e20153f1e5 added files: mozilla/intl/uconv/src/nsUnicodeEncodeHelper.cpp
git-svn-id: svn://10.0.0.236/trunk@21885 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 13:36:27 +00:00
cata%netscape.com
3f6ecfa919 Generic factory used.
git-svn-id: svn://10.0.0.236/trunk@21884 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 13:15:07 +00:00
mcafee%netscape.com
0ccc2b6075 Reverting purify compiler back to CCC, this doesn't work with egcs/c++ anyways..
git-svn-id: svn://10.0.0.236/trunk@21883 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 11:12:51 +00:00
mcafee%netscape.com
ef156e8b9a Adding do_QueryInterface() wrappers for Solaris/CC
git-svn-id: svn://10.0.0.236/trunk@21882 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 11:08:53 +00:00
hyatt%netscape.com
31cd9ee4dd Implemented rollover feedback.
git-svn-id: svn://10.0.0.236/trunk@21881 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 09:37:17 +00:00
grail%cafebabe.org
ed017fb44b Removed some debugging information.
git-svn-id: svn://10.0.0.236/trunk@21880 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 07:44:57 +00:00
grail%cafebabe.org
7128be3e86 Preference dialog shows up and even saves the info back.
git-svn-id: svn://10.0.0.236/trunk@21879 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 07:44:11 +00:00
akkana%netscape.com
c678ac3e51 Back out previous change
git-svn-id: svn://10.0.0.236/trunk@21878 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 07:25:36 +00:00
akkana%netscape.com
037abd6d71 Backing out my changes
git-svn-id: svn://10.0.0.236/trunk@21877 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:54:50 +00:00
beard%netscape.com
ce87f6cb8a backed out my nsAllocator.cpp addition.
git-svn-id: svn://10.0.0.236/trunk@21876 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:17:05 +00:00
beard%netscape.com
31b35318b6 added nsAllocator.cpp to build
git-svn-id: svn://10.0.0.236/trunk@21875 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:15:01 +00:00
akkana%netscape.com
69c736c565 Add another ifdef to fix build
git-svn-id: svn://10.0.0.236/trunk@21874 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:13:48 +00:00
beard%netscape.com
98de55ae05 removing Malloc::create.
git-svn-id: svn://10.0.0.236/trunk@21873 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:11:25 +00:00
mcafee%netscape.com
2f0e19c245 Adding nsAllocator.cpp to Unix build
git-svn-id: svn://10.0.0.236/trunk@21872 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:08:13 +00:00
wtc%netscape.com
f2c490b3a7 Bugsplat bug #335804: made _MD_IrixIntervalPerSec return the correct
value.  Also some code cleanup for the default UNIX timer case.


git-svn-id: svn://10.0.0.236/trunk@21871 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:02:39 +00:00
akkana%netscape.com
e964886b03 turn on selection mgr in app shell; forgot this file in last check-in
git-svn-id: svn://10.0.0.236/trunk@21870 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:49:43 +00:00
sfraser%netscape.com
eaab1f6e0a File Removed.
git-svn-id: svn://10.0.0.236/trunk@21869 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:45:12 +00:00
troy%netscape.com
51829aa69c Fixed it so we clear the NS_FRAME_SYNC_FRAME_AND_VIEW bit, because the
default is that it's set


git-svn-id: svn://10.0.0.236/trunk@21868 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:41:05 +00:00
akkana%netscape.com
a89bc61e71 Use the real nsISelectionMgr for doCopy
git-svn-id: svn://10.0.0.236/trunk@21867 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:32:30 +00:00
troy%netscape.com
b51e46e943 Removed nsIFrame::CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@21866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:31:15 +00:00
sfraser%netscape.com
6028d8ac48 File Removed.
git-svn-id: svn://10.0.0.236/trunk@21865 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:09:53 +00:00
beard%netscape.com
98967931ba First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21864 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:41:02 +00:00
beard%netscape.com
a0b014ad4f Added nsILiveConnectManager.h.
git-svn-id: svn://10.0.0.236/trunk@21863 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:39:20 +00:00
beard%netscape.com
dee44e2cab registering NS_ALLOCATOR_CID, NS_PLUGIN_HOST_CID, fixed some mutually exclusive ifdefs.
git-svn-id: svn://10.0.0.236/trunk@21862 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:30:45 +00:00
beard%netscape.com
337f3e2931 LiveConnect initialization.
git-svn-id: svn://10.0.0.236/trunk@21861 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:29:08 +00:00
beard%netscape.com
abce4d8cdf Updated to CWPro 4 format.
git-svn-id: svn://10.0.0.236/trunk@21860 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:25:04 +00:00
beard%netscape.com
6be1979216 Added nsAllocator.cpp, nsGenericFactory.cpp, removed nsMalloc.cpp.
git-svn-id: svn://10.0.0.236/trunk@21859 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:24:21 +00:00
beard%netscape.com
7dffb645fd added nsIAllocator.h
git-svn-id: svn://10.0.0.236/trunk@21858 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:21:12 +00:00
beard%netscape.com
c37ed31d31 made nsAllocatorFactory publically inherit from nsIFactory.
git-svn-id: svn://10.0.0.236/trunk@21857 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:20:51 +00:00
beard%netscape.com
0d07f4b46c cleaned up factory logic for service manager.
git-svn-id: svn://10.0.0.236/trunk@21856 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:20:06 +00:00
beard%netscape.com
b15f9df7b3 removed stray ; from IID macro
git-svn-id: svn://10.0.0.236/trunk@21855 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:19:27 +00:00
beard%netscape.com
dfcfe44f77 #include "jni.h" if necessary.
git-svn-id: svn://10.0.0.236/trunk@21854 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:18:59 +00:00
beard%netscape.com
1e6fcb2ed1 Renamed CID macro.
git-svn-id: svn://10.0.0.236/trunk@21853 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:18:30 +00:00
beard%netscape.com
5b22aebd36 implementing nsILiveConnectManager.
git-svn-id: svn://10.0.0.236/trunk@21852 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:18:00 +00:00
beard%netscape.com
0d75747d10 implementing nsILiveConnectManager interface methods.
git-svn-id: svn://10.0.0.236/trunk@21851 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:16:50 +00:00
beard%netscape.com
297f27dd8d removed eager loading, implemented GetPluginFactory() for use by OJI.
git-svn-id: svn://10.0.0.236/trunk@21850 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:15:39 +00:00
beard%netscape.com
3a07cb34a1 mserviceMgr -> mServiceMgr
git-svn-id: svn://10.0.0.236/trunk@21849 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:14:19 +00:00
beard%netscape.com
7aa1b2cbf7 implemented GetPluginInfo.
git-svn-id: svn://10.0.0.236/trunk@21848 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:12:55 +00:00
beard%netscape.com
4f0fa8709a Added support for NS_ALLOCATOR_CID.
git-svn-id: svn://10.0.0.236/trunk@21847 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:05:50 +00:00
bienvenu%netscape.com
4d7c3e3536 hack up some persistance
git-svn-id: svn://10.0.0.236/trunk@21846 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:04:43 +00:00
bienvenu%netscape.com
ddc97e1735 fix default mailbox path- needs leading /
git-svn-id: svn://10.0.0.236/trunk@21845 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:03:32 +00:00
mcafee%netscape.com
1afcb664e6 Solaris needs newline at end of file
git-svn-id: svn://10.0.0.236/trunk@21844 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:34:39 +00:00
troy%netscape.com
f293c578fd Changed nsIFrame::Init() to take an additional parameter
git-svn-id: svn://10.0.0.236/trunk@21843 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:27:57 +00:00
beard%netscape.com
e6d4c23f11 File Removed.
git-svn-id: svn://10.0.0.236/trunk@21842 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:13:54 +00:00
beard%netscape.com
e5a01fc93f nsIMalloc -> nsIAllocator
git-svn-id: svn://10.0.0.236/trunk@21841 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:12:01 +00:00
beard%netscape.com
60a2cd5124 kIAllocatorIID
git-svn-id: svn://10.0.0.236/trunk@21840 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:11:38 +00:00
beard%netscape.com
b0ccd6a5a6 Using service manager for get nsILiveconnect.
git-svn-id: svn://10.0.0.236/trunk@21839 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:10:50 +00:00
akkana%netscape.com
ee68fae484 Add nsISelectionMgr
git-svn-id: svn://10.0.0.236/trunk@21838 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:08:09 +00:00
putterman%netscape.com
704c541b8d Added cached flag
git-svn-id: svn://10.0.0.236/trunk@21837 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:01:22 +00:00
putterman%netscape.com
b924f93b58 Added correct RDF root.
git-svn-id: svn://10.0.0.236/trunk@21836 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:59:30 +00:00
putterman%netscape.com
4c6114e6de changed to use msgdb.lib
git-svn-id: svn://10.0.0.236/trunk@21835 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:58:35 +00:00
hyatt%netscape.com
234a11f901 Fixes to getElementsByTagName to avoid returning nodes that aren't elements.
git-svn-id: svn://10.0.0.236/trunk@21834 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:58:11 +00:00
putterman%netscape.com
4c3b53a019 made folder lists work and added db for message counts.
git-svn-id: svn://10.0.0.236/trunk@21833 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:58:04 +00:00
putterman%netscape.com
a55ed63bb2 Fixed clobber
git-svn-id: svn://10.0.0.236/trunk@21832 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:57:30 +00:00
putterman%netscape.com
7dcb8cedfa added clobber
git-svn-id: svn://10.0.0.236/trunk@21831 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:57:13 +00:00
putterman%netscape.com
577108de78 changed to msgdb.lib
git-svn-id: svn://10.0.0.236/trunk@21830 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:56:44 +00:00
putterman%netscape.com
039da3aec3 Added db for message counts
git-svn-id: svn://10.0.0.236/trunk@21829 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:56:13 +00:00
akkana%netscape.com
89f9d20598 Build nsSelectionMgr & include in nsAppShell on Unix
git-svn-id: svn://10.0.0.236/trunk@21828 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:54:50 +00:00
putterman%netscape.com
8b1332aa21 Add msglocal.lib
git-svn-id: svn://10.0.0.236/trunk@21827 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:54:38 +00:00
akkana%netscape.com
42a6f835f9 New SelectionMgr class
git-svn-id: svn://10.0.0.236/trunk@21826 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:42:06 +00:00
mscott%netscape.com
d7f5e0eea9 First checked in.
git-svn-id: svn://10.0.0.236/trunk@21825 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:41:37 +00:00
vidur%netscape.com
92b4ff5fae XML books test case (not part of the build so don't shoot me).
git-svn-id: svn://10.0.0.236/trunk@21824 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:26:53 +00:00
bienvenu%netscape.com
431aa76762 add new constructor from file path to avoid multiple nativization problems
git-svn-id: svn://10.0.0.236/trunk@21823 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:09:07 +00:00
bienvenu%netscape.com
474796f73a add call to DoneParsingFolder so we'll commit database
git-svn-id: svn://10.0.0.236/trunk@21822 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:00:48 +00:00
waterson%netscape.com
12ef209b44 Added librdfutil_s.a to link.
git-svn-id: svn://10.0.0.236/trunk@21821 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:35:53 +00:00
waterson%netscape.com
af5f3e1a05 Added nsRDFResource constructor to dlldeps.cpp to avoid runtime link problems on Linux.
git-svn-id: svn://10.0.0.236/trunk@21820 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:35:34 +00:00
ftang%netscape.com
001dc03913 add charset properties file. Currently we do not use it but hard code the mapping inside the nsXXXCharset.cpp, In the future, we will use these properties file so we can have better extensibility
git-svn-id: svn://10.0.0.236/trunk@21816 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:29:31 +00:00
sdagley%netscape.com
8b53976170 Fix bugzilla bug #2568
nsHttpUrlImpl::GetContainer was always returning with NS_OK even if the container is nil.  After discussing it with rpotts I've changed it to return NS_ERROR_UNEXPECTED if mContainer is nil which fixes the Mac crash (calling QueryInterface on a nil container is probably bad everywhere though).


git-svn-id: svn://10.0.0.236/trunk@21815 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:28:24 +00:00
ftang%netscape.com
cd2d4a3130 fix nsIPlatformCharset factory problem, add test cases for it.
git-svn-id: svn://10.0.0.236/trunk@21814 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:28:04 +00:00
mscott%netscape.com
4b0e88b151 Build nsMailboxService.
git-svn-id: svn://10.0.0.236/trunk@21813 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:12:03 +00:00
mscott%netscape.com
54e890d546 header file for mailbox service implementation.
git-svn-id: svn://10.0.0.236/trunk@21812 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:10:27 +00:00
mscott%netscape.com
0a97170220 Export nsIMailboxService.h
git-svn-id: svn://10.0.0.236/trunk@21811 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:08:30 +00:00
mscott%netscape.com
5d7248ac52 Remove dependencies on local.lib. Use the mailbox service for building and running mailbox urls. This allows to just use the dll form of msglocal.
git-svn-id: svn://10.0.0.236/trunk@21810 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:05:36 +00:00
mscott%netscape.com
0a330d4fa2 Creating a protocol instance shouldn't require a transport. We should create it ourselves. When running a url, mark it as being processed.
git-svn-id: svn://10.0.0.236/trunk@21809 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:03:45 +00:00
mscott%netscape.com
0b45bd759d Build nsMailboxService
git-svn-id: svn://10.0.0.236/trunk@21808 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:02:27 +00:00
mscott%netscape.com
1f70c34b61 Implement new nsIMsgMailNewsUrl methods...
git-svn-id: svn://10.0.0.236/trunk@21807 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:02:00 +00:00
mscott%netscape.com
54443c3564 Build the resources directory.
git-svn-id: svn://10.0.0.236/trunk@21806 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:01:02 +00:00
mscott%netscape.com
b63e8f410d New xul files to express our mail 3-pane UI. I also created a makefile.win which will export the mail news xul files into dist\WIN32_D.OBJ\bin\res\samples.
git-svn-id: svn://10.0.0.236/trunk@21805 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:00:19 +00:00
mscott%netscape.com
a689188c23 Removing from the repository. They are getting replaced with new .xul files.
git-svn-id: svn://10.0.0.236/trunk@21804 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 00:59:03 +00:00
sar%netscape.com
56ba0451e4 make pull_and_build_all mean all, not just seamonkey
git-svn-id: svn://10.0.0.236/trunk@21803 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 00:01:13 +00:00
mscott%netscape.com
9cc87ede3a Add msgCore.h at top for pre-compiled headers. Added ability for factory to create mailbox urls and mailbox service.
git-svn-id: svn://10.0.0.236/trunk@21801 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:11:10 +00:00
mscott%netscape.com
bbeaa4b069 Remove duplicate include of xpcom32.lib.
git-svn-id: svn://10.0.0.236/trunk@21800 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:10:11 +00:00
mscott%netscape.com
25da21813d Add class ID so our local factory can create instances of it. Use the new nsIMsgMailNewsUrl interface instead of inheriting directly from nsIURL.
git-svn-id: svn://10.0.0.236/trunk@21799 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:09:24 +00:00
mscott%netscape.com
e3036d288f Export nsIMailboxService.h
git-svn-id: svn://10.0.0.236/trunk@21798 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:08:12 +00:00
mscott%netscape.com
4df16c6d4f Service for running mailbox commands. This separates the application from building and running the urls...
git-svn-id: svn://10.0.0.236/trunk@21797 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:07:47 +00:00
edwin%woudt.nl
9ec8c72f93 Fixing Windows news.rc filename issues. Windows does not allow files to start with a dot.
git-svn-id: svn://10.0.0.236/trunk@21796 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:04:48 +00:00
locka%iol.ie
0d6a2d1184 Added IE browser helper object support
git-svn-id: svn://10.0.0.236/trunk@21794 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:49:32 +00:00
locka%iol.ie
6020028e15 Removed some build-breaking lines
git-svn-id: svn://10.0.0.236/trunk@21793 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:48:24 +00:00
locka%iol.ie
07627aacd7 Added some more CLSID parameter variants
git-svn-id: svn://10.0.0.236/trunk@21792 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:47:32 +00:00
edwin%woudt.nl
a7cc3f833b Reflecting the new nttp-store.
git-svn-id: svn://10.0.0.236/trunk@21791 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:43:14 +00:00
edwin%woudt.nl
e795e805ae Now let's see if I can commit it right this time.
git-svn-id: svn://10.0.0.236/trunk@21790 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:31:37 +00:00
edwin%woudt.nl
b0f1fd136b Removing this. It goes directly in mozilla/grendel because of classpath problems.
git-svn-id: svn://10.0.0.236/trunk@21789 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:11:03 +00:00
edwin%woudt.nl
ed1c44f826 Backed out again as we are going to move stuff a few levels higher so we don't have to mess around with the classpath.
git-svn-id: svn://10.0.0.236/trunk@21788 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:07:00 +00:00
edwin%woudt.nl
b14da725b9 Oops, forgot this one.
git-svn-id: svn://10.0.0.236/trunk@21787 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 20:59:56 +00:00
dp%netscape.com
4e6c3bec20 Last updated date changed
git-svn-id: svn://10.0.0.236/trunk@21786 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 20:31:50 +00:00
dp%netscape.com
3d0ff323a1 additional guidelines
git-svn-id: svn://10.0.0.236/trunk@21785 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 20:29:51 +00:00
alecf%netscape.com
20af466edd add namespace registration stuff for bhuvan
git-svn-id: svn://10.0.0.236/trunk@21784 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 20:27:24 +00:00
dp%netscape.com
7b4a09a0bd Added progid spec
git-svn-id: svn://10.0.0.236/trunk@21783 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 20:24:27 +00:00
wtc%netscape.com
f890cfea30 Bugzilla bug #3233: create the pipe in nonblocking mode and have
reads and writes check for the possible EAGAIN/EWOULDBLOCK error.


git-svn-id: svn://10.0.0.236/trunk@21782 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:53:48 +00:00
despotdaemon%netscape.com
6d5331d53d Pseudo-automatic update of changes made by bsharma@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21781 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:47:20 +00:00
jband%netscape.com
6b0ce7bcf8 initial checkin of linux invoker - untested. slight changes to platform compile time protection
git-svn-id: svn://10.0.0.236/trunk@21780 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:26:51 +00:00
waterson%netscape.com
340f5e3463 Removed the use-tag-namespace-as-default-namespace hack (well, #ifdef'd it out, anyway).
git-svn-id: svn://10.0.0.236/trunk@21779 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:25:14 +00:00
larryh%netscape.com
7528dde3af mumble. restore to 3.11
git-svn-id: svn://10.0.0.236/trunk@21777 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:19:21 +00:00
waterson%netscape.com
c79993466d Fix build bustage: make sure to include nsIUnicodeEncodeHelper.h for NS_IMPLIDS.
git-svn-id: svn://10.0.0.236/trunk@21776 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:12:27 +00:00
alecf%netscape.com
471aaedbd9 fix BSD/OS 3.1 bustage
git-svn-id: svn://10.0.0.236/trunk@21774 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:23:26 +00:00
cyeh%netscape.com
218bdde687 we blow past the limit for the echo command on WinNT as well. doing the stupid
thing for now until i can figure out how to generate better status and not
blow up the echo command.


git-svn-id: svn://10.0.0.236/trunk@21773 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:21:49 +00:00
ftang%netscape.com
5f7220fa9c change nsTextTransformer to break line by calling nsILineBreak and make nsTextFrame pass the nsILineBreaker to nsTextTransformer
git-svn-id: svn://10.0.0.236/trunk@21772 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:21:23 +00:00
nhotta%netscape.com
852cf4e1a5 For nsIUnicodeEncoder change.
git-svn-id: svn://10.0.0.236/trunk@21771 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:15:21 +00:00
beard%netscape.com
6e9016d233 nsILiveConnectManager.h
git-svn-id: svn://10.0.0.236/trunk@21770 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:00:00 +00:00
kostello%netscape.com
77c015350f Updated save code to match CSS "Selector to String" code.
We now output the selector from CSS style rules again
when we save a document.


git-svn-id: svn://10.0.0.236/trunk@21769 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:59:51 +00:00
beard%netscape.com
33f9460019 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21768 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:58:36 +00:00
pinkerton%netscape.com
20242a49ff Add manifest file for xpcom/src
git-svn-id: svn://10.0.0.236/trunk@21767 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:36:37 +00:00
pinkerton%netscape.com
4011fdc5cc remove absolute path in opt target to warren's machine.
git-svn-id: svn://10.0.0.236/trunk@21766 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:36:17 +00:00
dcone%netscape.com
1c4a72bf86 Added InsertElementTxn.cpp and nsEditProperty.cpp
git-svn-id: svn://10.0.0.236/trunk@21765 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:36:12 +00:00
pinkerton%netscape.com
fbafbed27c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21764 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:35:40 +00:00
larryh%netscape.com
ef07af6c0a lost update?
git-svn-id: svn://10.0.0.236/trunk@21762 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:33:00 +00:00
buster%netscape.com
8f4fa61d30 minor interface changes
git-svn-id: svn://10.0.0.236/trunk@21761 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:31:09 +00:00
buster%netscape.com
7218a4a579 added InsertElementTxn
added nsEditProperty
beginning of implementation for SetTextProperties.  Currently, it only works if the selection is entirely within a single text node.  Currently only
supports bold and italic (mapped to ctrl-b and ctrl-i for testing purposes.)
changed a bunch of interfaces to make things easier, like CreateElement now returns (as an out-param) the element created.


git-svn-id: svn://10.0.0.236/trunk@21760 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:24:37 +00:00
bienvenu%netscape.com
d4e6d41577 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@21759 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:23:57 +00:00
troy%netscape.com
985c1c5280 Work-in-progress for having frame construction code handle creation
of continuing frames


git-svn-id: svn://10.0.0.236/trunk@21758 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:16:04 +00:00
cata%netscape.com
98917fab07 UnicodeToLatin1 added.
git-svn-id: svn://10.0.0.236/trunk@21757 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:10:37 +00:00
cata%netscape.com
c16c143ffd nsUnicodeToLatin1 added.
git-svn-id: svn://10.0.0.236/trunk@21756 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:10:04 +00:00
cata%netscape.com
fab932bc7a Small fixes.
git-svn-id: svn://10.0.0.236/trunk@21755 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:05:23 +00:00
bienvenu%netscape.com
8d92190b49 remove use of XP_ASSERT
git-svn-id: svn://10.0.0.236/trunk@21754 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 16:34:39 +00:00
pinkerton%netscape.com
ece92e2556 add nsUnicodeEncodeHelper.cpp for cata.
git-svn-id: svn://10.0.0.236/trunk@21753 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 16:31:18 +00:00
cata%netscape.com
6c8670469f UnicodeToLatin1 test added.
git-svn-id: svn://10.0.0.236/trunk@21752 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 16:27:30 +00:00
bienvenu%netscape.com
e286af237d remove use of XP_ASSERT
git-svn-id: svn://10.0.0.236/trunk@21751 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 16:27:28 +00:00
cata%netscape.com
f0e1c4eb33 nsUnicodeEncodeHelper added
git-svn-id: svn://10.0.0.236/trunk@21750 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 15:17:40 +00:00
cata%netscape.com
b63f71ab29 nsConverterCID.h not included anymore.
git-svn-id: svn://10.0.0.236/trunk@21749 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 15:05:33 +00:00
cata%netscape.com
052485e37a nsUnicodeEncodeHelper added.
git-svn-id: svn://10.0.0.236/trunk@21748 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 15:02:08 +00:00
cata%netscape.com
6af4884ea6 UnicodeToLatin1 added.
git-svn-id: svn://10.0.0.236/trunk@21747 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:47:42 +00:00
cata%netscape.com
262c16f88c Change back in. I hope no bustage this time...
git-svn-id: svn://10.0.0.236/trunk@21746 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:41:41 +00:00
cata%netscape.com
d6348edced File removed.
git-svn-id: svn://10.0.0.236/trunk@21745 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:39:15 +00:00
cata%netscape.com
36a32fa1d4 nsIUnicodeEncodeHelper added.
git-svn-id: svn://10.0.0.236/trunk@21744 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:38:16 +00:00
cata%netscape.com
e6600273c4 Changed to the new nsIUnicodeEncoder.
git-svn-id: svn://10.0.0.236/trunk@21743 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:06:45 +00:00
cata%netscape.com
5355e69e73 Interface complete. Cleaned.
git-svn-id: svn://10.0.0.236/trunk@21742 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:06:16 +00:00
leaf%mozilla.org
6d94bdf506 some cvs clients barf without the -d option (stupid, stupid win98 shell)
git-svn-id: svn://10.0.0.236/trunk@21741 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 13:56:23 +00:00
pierre%netscape.com
08424e1fe2 added rdf:util:public:MANIFEST to fix a build breakage
git-svn-id: svn://10.0.0.236/trunk@21740 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 12:01:16 +00:00
hyatt%netscape.com
7ce4e24042 Backing out the onItemClick code. I don't think we should be using it,
since event bubbling appears to be working.


git-svn-id: svn://10.0.0.236/trunk@21739 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 11:15:43 +00:00
warren%netscape.com
2d5fa96b77 Removed dead GetRoot code.
git-svn-id: svn://10.0.0.236/trunk@21738 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 10:54:03 +00:00
warren%netscape.com
de5933b23a Obsolete -- now in local/src/nsLocalMailFolder.[h/cpp]
git-svn-id: svn://10.0.0.236/trunk@21737 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 10:50:44 +00:00
warren%netscape.com
d9b9a230b3 Reorganization. Changes for collections, enumerations, generic folders, file paths, etc.
git-svn-id: svn://10.0.0.236/trunk@21736 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 10:39:06 +00:00
hyatt%netscape.com
863be8a643 Landing support for the special onItemClick default event handler that can be
placed on tree views (and executed in the context of tree items).


git-svn-id: svn://10.0.0.236/trunk@21735 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 10:38:56 +00:00
warren%netscape.com
3b7e819f00 Removed assertion (hit by mail code (bad xul?)).
git-svn-id: svn://10.0.0.236/trunk@21734 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 10:23:27 +00:00
warren%netscape.com
1df9ebe984 Added export/import declaration (temporarily).
git-svn-id: svn://10.0.0.236/trunk@21733 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:55:44 +00:00
warren%netscape.com
5a70e75547 Added rdf/util makefiles
git-svn-id: svn://10.0.0.236/trunk@21732 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:54:36 +00:00
warren%netscape.com
24f7d24bf0 Updated IIDs
git-svn-id: svn://10.0.0.236/trunk@21731 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:31:34 +00:00
warren%netscape.com
b618607b4a Made nsISupportsArray inherit from nsICollection.
git-svn-id: svn://10.0.0.236/trunk@21730 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:31:15 +00:00
warren%netscape.com
936646de93 Accidental commit (reverted)
git-svn-id: svn://10.0.0.236/trunk@21729 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:28:36 +00:00
warren%netscape.com
32312b1594 Accidental commit (reverted)
git-svn-id: svn://10.0.0.236/trunk@21728 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:28:09 +00:00
warren%netscape.com
58444076cd reverted (accidently committed)
git-svn-id: svn://10.0.0.236/trunk@21727 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:03:54 +00:00
warren%netscape.com
ec5f7517ea reverted (accidently committed)
git-svn-id: svn://10.0.0.236/trunk@21726 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:03:04 +00:00
warren%netscape.com
eca64f8a2e Removed link with rdfutil_s until I can get linux help.
git-svn-id: svn://10.0.0.236/trunk@21725 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:01:44 +00:00
warren%netscape.com
f4694c48e5 Added idl
git-svn-id: svn://10.0.0.236/trunk@21724 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:46:00 +00:00
mcafee%netscape.com
150ffbab68 Removing unused rules, cleaning this up.
git-svn-id: svn://10.0.0.236/trunk@21723 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:39:19 +00:00
mcafee%netscape.com
f4ddc0169c Need -lgfxps to link on linux
git-svn-id: svn://10.0.0.236/trunk@21722 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:29:11 +00:00
warren%netscape.com
0618fffb2e Added util lib
git-svn-id: svn://10.0.0.236/trunk@21721 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:27:52 +00:00
warren%netscape.com
6c5b21f9c3 Moved nsRDFResource to util.
git-svn-id: svn://10.0.0.236/trunk@21720 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:26:30 +00:00
warren%netscape.com
ccb39c8662 Added util directory stuff.
git-svn-id: svn://10.0.0.236/trunk@21719 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:25:00 +00:00
warren%netscape.com
b604003f29 Removed demo mail code.
git-svn-id: svn://10.0.0.236/trunk@21718 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:03:20 +00:00
warren%netscape.com
f22f6c3326 Removed demo mail datasource.
git-svn-id: svn://10.0.0.236/trunk@21717 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:02:28 +00:00
warren%netscape.com
420a9f60e8 Added nsConjoiningEnumerator.cpp
git-svn-id: svn://10.0.0.236/trunk@21716 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:01:33 +00:00
warren%netscape.com
04ff0b73e3 Added NS_NewConjoiningEnumerator
git-svn-id: svn://10.0.0.236/trunk@21715 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 07:58:06 +00:00
warren%netscape.com
2e1253b46b Got this stuff functioning.
git-svn-id: svn://10.0.0.236/trunk@21714 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 07:56:00 +00:00
jband%netscape.com
003e43159e banishing win32 specific stuff to its own directory before adding any analogous code for other platforms
git-svn-id: svn://10.0.0.236/trunk@21712 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 07:17:27 +00:00
mcafee%netscape.com
27419b6a07 Solaris warning
git-svn-id: svn://10.0.0.236/trunk@21711 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 07:09:42 +00:00
mcafee%netscape.com
148d290f2a Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21710 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 07:06:01 +00:00
bienvenu%netscape.com
29de5e46ca make GetFlags pure virtual to fix link error
git-svn-id: svn://10.0.0.236/trunk@21709 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 06:05:33 +00:00
troy%netscape.com
70b1ea8e3f Added frame type atoms for several table frame classes
git-svn-id: svn://10.0.0.236/trunk@21708 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:54:31 +00:00
troy%netscape.com
cd4ee3debc Added nsLayoutAtoms::textFrame
git-svn-id: svn://10.0.0.236/trunk@21706 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:33:40 +00:00
kipp%netscape.com
93a84ec681 Fixed bug #2885 - the linebreaker couldn't handle a special case...
git-svn-id: svn://10.0.0.236/trunk@21705 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:24:06 +00:00
waterson%netscape.com
171a394ac1 Use XUL as default namespace. Fixes GetElementByID() bug.
git-svn-id: svn://10.0.0.236/trunk@21704 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:23:26 +00:00
troy%netscape.com
cc2323242f Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references


git-svn-id: svn://10.0.0.236/trunk@21702 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:48:08 +00:00
waterson%netscape.com
52325e43b2 Made default namespaces work.
git-svn-id: svn://10.0.0.236/trunk@21700 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:47:19 +00:00
waterson%netscape.com
1462190b0e Fixed some refcounting bugs with atoms.
git-svn-id: svn://10.0.0.236/trunk@21699 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:46:47 +00:00
kipp%netscape.com
8698f50196 Build library properly
git-svn-id: svn://10.0.0.236/trunk@21698 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:44:41 +00:00
kipp%netscape.com
98e8b1857d Fixed crash bug where unitialized index would sometimes crash; also increment index in loop so that it terminates
git-svn-id: svn://10.0.0.236/trunk@21697 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:34:54 +00:00
briano%netscape.com
6a81cd1d49 Some more minor cleanup, and support for Solaris x86 and Linux Netwinders.
git-svn-id: svn://10.0.0.236/trunk@21696 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:33:17 +00:00
troy%netscape.com
cbaac14adf Added CreateContinuingFrame() function to frame construction code
git-svn-id: svn://10.0.0.236/trunk@21695 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:03:50 +00:00
cata%netscape.com
f9f76ef341 Backed change.
git-svn-id: svn://10.0.0.236/trunk@21694 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 03:40:34 +00:00
cata%netscape.com
9da05deb81 File deprecated.
git-svn-id: svn://10.0.0.236/trunk@21693 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 03:13:43 +00:00
cata%netscape.com
174d5a6ed0 nsIUnicodeEncodeHelper.h included
git-svn-id: svn://10.0.0.236/trunk@21692 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 03:00:30 +00:00
hyatt%netscape.com
4c9e9083ab Fixing the case of the ID atom (it should have been lower case).
git-svn-id: svn://10.0.0.236/trunk@21691 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:58:47 +00:00
bienvenu%netscape.com
afc60221b9 start hacking persistance
git-svn-id: svn://10.0.0.236/trunk@21690 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:58:43 +00:00
cata%netscape.com
8822bb229d Latin1 encoder CID added.
git-svn-id: svn://10.0.0.236/trunk@21689 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:56:41 +00:00
bienvenu%netscape.com
9cfe41ab86 make dbFolderInfo an interface
git-svn-id: svn://10.0.0.236/trunk@21688 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:56:11 +00:00
mscott%netscape.com
c95897bc4c Restore the ability to run multiple urls per smtp test session by using new code to determine if a url
is running or not.


git-svn-id: svn://10.0.0.236/trunk@21687 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:31:19 +00:00
mscott%netscape.com
9139f00f4b Flag the smtp url when we are running it....
git-svn-id: svn://10.0.0.236/trunk@21686 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:30:27 +00:00
mscott%netscape.com
ae089aebad nsIMsgMailNewsUrl base class updates. Keep track of whether the url is running or not...
git-svn-id: svn://10.0.0.236/trunk@21685 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:29:54 +00:00
mscott%netscape.com
b560ffbde3 Use mailnews url base class for interface inheritance....
git-svn-id: svn://10.0.0.236/trunk@21684 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:28:44 +00:00
mscott%netscape.com
20e1c90198 Export nsIMsgMailNewsUrl.h
git-svn-id: svn://10.0.0.236/trunk@21683 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:27:44 +00:00
mscott%netscape.com
d8c488f5c5 we inherit from the nsIURL interface...
git-svn-id: svn://10.0.0.236/trunk@21682 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:26:29 +00:00
mscott%netscape.com
401f517f00 Export nsIMsgMailNewsUrl.h
git-svn-id: svn://10.0.0.236/trunk@21681 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:22:22 +00:00
mscott%netscape.com
cbc2f0518d A base class for methods common to all of our mail and news protocol url interfaces.
git-svn-id: svn://10.0.0.236/trunk@21680 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:21:31 +00:00
cata%netscape.com
b2efd04e97 Space availability check done for 1 byte, too.
git-svn-id: svn://10.0.0.236/trunk@21679 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:18:55 +00:00
hyatt%netscape.com
f5c5ddd71c Fixing the multiple observer crash.
git-svn-id: svn://10.0.0.236/trunk@21678 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:18:35 +00:00
sar%netscape.com
8ba45f340c perl script to test viewer
git-svn-id: svn://10.0.0.236/trunk@21677 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:16:40 +00:00
beard%netscape.com
e38d03b5a7 Added nsPluginsDirMac.cpp
git-svn-id: svn://10.0.0.236/trunk@21676 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:15:11 +00:00
sar%netscape.com
3d84d69a90 make the file have more entries per QA request.
git-svn-id: svn://10.0.0.236/trunk@21675 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:15:00 +00:00
ftang%netscape.com
a90bec19e0 fix line break bug for halfwidth / fullwidth form
git-svn-id: svn://10.0.0.236/trunk@21674 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:14:59 +00:00
beard%netscape.com
157e3b48ce moved nsPluginDir/nsPluginFile classes to nsPluginDirMac.cpp.
git-svn-id: svn://10.0.0.236/trunk@21673 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:13:42 +00:00
cata%netscape.com
1d43049387 File created.
git-svn-id: svn://10.0.0.236/trunk@21672 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:13:37 +00:00
beard%netscape.com
4b2d255cf8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21671 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:12:47 +00:00
beard%netscape.com
c07ac849a3 changed bool to PRBool
git-svn-id: svn://10.0.0.236/trunk@21670 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:12:37 +00:00
alecf%netscape.com
aa1a54ce38 update to use new nsCID type
git-svn-id: svn://10.0.0.236/trunk@21669 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:07:28 +00:00
alecf%netscape.com
5aeeb657be AddRef and Release return nsrefcnt's
git-svn-id: svn://10.0.0.236/trunk@21668 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:06:50 +00:00
alecf%netscape.com
75624e97af fix nsID definition (thanks to shaver for the right combination) to use pointers
git-svn-id: svn://10.0.0.236/trunk@21667 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:06:27 +00:00
slamm%netscape.com
3c79e6069e Echo LD_LIBRARY_PATH for configure.
git-svn-id: svn://10.0.0.236/trunk@21666 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 01:41:56 +00:00
larryh%netscape.com
a003c214d5 revert to 3.3, fix my mess
git-svn-id: svn://10.0.0.236/trunk@21665 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 00:41:43 +00:00
larryh%netscape.com
60799b32a6 don't do windows on unix
git-svn-id: svn://10.0.0.236/trunk@21664 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 00:09:40 +00:00
waterson%netscape.com
e9c298b2c5 Made sure to add a named reference to the event handlers. a=sar%netscape.com for checkin during closed tree.
git-svn-id: svn://10.0.0.236/trunk@21663 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 00:01:26 +00:00
larryh%netscape.com
02faee3f38 set old (3.0) library names
git-svn-id: svn://10.0.0.236/trunk@21662 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 23:56:05 +00:00
peterl%netscape.com
55e4f7028e Fixed bustage in Clear caused by PRInt32 to PRUint32 conversion
git-svn-id: svn://10.0.0.236/trunk@21659 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 23:31:49 +00:00
despotdaemon%netscape.com
79575e659d Pseudo-automatic update of changes made by phil@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21658 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 23:12:23 +00:00
larryh%netscape.com
81924850ca add test case for plevent
git-svn-id: svn://10.0.0.236/trunk@21657 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 23:09:54 +00:00
larryh%netscape.com
917b653549 add windows test case for plevent
git-svn-id: svn://10.0.0.236/trunk@21656 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 23:09:10 +00:00
despotdaemon%netscape.com
5f3bc876d1 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@21654 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 21:32:08 +00:00
despotdaemon%netscape.com
3c43deb793 Pseudo-automatic update of changes made by prusakov@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21653 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 21:25:58 +00:00
karnaze%netscape.com
6c5308ed49 added printf to flag when a table cell's max element size exceeds its desired size (for bug 3094)
git-svn-id: svn://10.0.0.236/trunk@21652 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 21:03:57 +00:00
law%netscape.com
3e18d9fc97 Turn off USE_NSREG till later - Thanks, John!
git-svn-id: svn://10.0.0.236/trunk@21651 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 20:31:23 +00:00
terry%netscape.com
5738ca12f1 When we do "showall", or ask to rebuild checkin history, then we'll do
a week.  But, more normally, we'll only do two days, since it's much
faster that way, and we need to do this all the time.


git-svn-id: svn://10.0.0.236/trunk@21650 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 20:31:02 +00:00
terry%netscape.com
04d7cc916e Show checkin history up to a week.
git-svn-id: svn://10.0.0.236/trunk@21648 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 20:14:41 +00:00
mscott%netscape.com
7efce2661d Fix build breakage.RemoveElement does not take two arguments....
git-svn-id: svn://10.0.0.236/trunk@21647 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 20:03:33 +00:00
alecf%netscape.com
21d92613ab update to make ns*ID's work
git-svn-id: svn://10.0.0.236/trunk@21646 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:58:41 +00:00
law%netscape.com
4825bbf7a6 Landing LIBREG990212_BRANCH to get libreg building on Mac
git-svn-id: svn://10.0.0.236/trunk@21645 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:56:57 +00:00
terry%netscape.com
8dc83d3fd1 Added ImageLib component to NGLayout.
git-svn-id: svn://10.0.0.236/trunk@21644 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:55:34 +00:00
terry%netscape.com
d1314461d1 Set a few of the missing QAContact fields.
git-svn-id: svn://10.0.0.236/trunk@21643 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:48:24 +00:00
kipp%netscape.com
d46d285150 Removed some off by one rendering errors (not a perfect fix!)
git-svn-id: svn://10.0.0.236/trunk@21642 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:39:11 +00:00
kipp%netscape.com
a2ce2ee3db Latest snapshot using linux version of the tools
git-svn-id: svn://10.0.0.236/trunk@21641 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:38:50 +00:00
kipp%netscape.com
4a4e091470 Removed duplicate closing of the regression data files
git-svn-id: svn://10.0.0.236/trunk@21640 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:37:10 +00:00
alecf%netscape.com
2a1ae998ee update uuid's to match real definitions
git-svn-id: svn://10.0.0.236/trunk@21639 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:36:23 +00:00
kipp%netscape.com
ed946ccfbf Temporarily mark text and BR frames as replaced elements so that inline reflow will work properly
git-svn-id: svn://10.0.0.236/trunk@21638 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:36:14 +00:00
kipp%netscape.com
4585457984 For now text acts like a replaced element
git-svn-id: svn://10.0.0.236/trunk@21637 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:35:21 +00:00
kipp%netscape.com
93e88038fa Removed gratuitous destructor
git-svn-id: svn://10.0.0.236/trunk@21636 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:34:58 +00:00
kipp%netscape.com
6dfba2e03d Cleanedup vertical alignment support
git-svn-id: svn://10.0.0.236/trunk@21635 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:34:37 +00:00
kipp%netscape.com
a65c2103cc Improved vertical alignment correctness; fixed glaring error with box-width and height computation
git-svn-id: svn://10.0.0.236/trunk@21634 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:34:17 +00:00
kipp%netscape.com
975a668e6e Removed mLineHeight from the html reflow state; changed the signature of the VerticalAlignFrames method; made DetermineFrameType a callable static method
git-svn-id: svn://10.0.0.236/trunk@21633 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:33:34 +00:00
kipp%netscape.com
757ef013b8 Maded DetermineFrameType a callable static method; removed gratuitous line-height calculations
git-svn-id: svn://10.0.0.236/trunk@21632 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:33:06 +00:00
kipp%netscape.com
53678f589d Added a warning comment
git-svn-id: svn://10.0.0.236/trunk@21631 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:32:33 +00:00
kipp%netscape.com
d314a0492b Revised the signature of the VerticalAlignFrames method
git-svn-id: svn://10.0.0.236/trunk@21630 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:32:20 +00:00
kipp%netscape.com
9731c74c2c Compute minimum-line-height and store it into the inline-reflow context
git-svn-id: svn://10.0.0.236/trunk@21629 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:32:00 +00:00
alecf%netscape.com
aed185ddf3 fix compilation problem on generated code where we had two variables named "result"
prepare to handle [nonxpcom] object return values


git-svn-id: svn://10.0.0.236/trunk@21628 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:30:53 +00:00
slamm%netscape.com
0f7553fa69 Add comment about where nspr tip build gets installed.
git-svn-id: svn://10.0.0.236/trunk@21627 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:24:31 +00:00
vidur%netscape.com
2eade89c6f Fixed casing for nsCOMPtr inclusion
git-svn-id: svn://10.0.0.236/trunk@21626 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:22:53 +00:00
vidur%netscape.com
64dca5f8b7 Added nsIStyleSheetLinkingElement interface
git-svn-id: svn://10.0.0.236/trunk@21625 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:18:34 +00:00
vidur%netscape.com
c1da744044 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change).
git-svn-id: svn://10.0.0.236/trunk@21624 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:18:12 +00:00
briano%netscape.com
47d50edee4 Automated update
git-svn-id: svn://10.0.0.236/trunk@21623 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:15:42 +00:00
alecf%netscape.com
a17a4eb97b add flag for shaver's XPIDL flag
git-svn-id: svn://10.0.0.236/trunk@21622 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:02:27 +00:00
alecf%netscape.com
4011986b23 update now that uuid()s work again
git-svn-id: svn://10.0.0.236/trunk@21621 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:51:30 +00:00
pierre%netscape.com
15a6223e7e Put back the code but this time using the newly defined nsIBidirectionalEnumerator
git-svn-id: svn://10.0.0.236/trunk@21620 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:49:57 +00:00
mscott%netscape.com
8756b7a3f8 Use correct config\rules.mak file..we were going into the layout one before...
git-svn-id: svn://10.0.0.236/trunk@21619 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:31:09 +00:00
edwin%woudt.nl
c8dcf473cc Initial import of Knife's NNTP provider.
git-svn-id: svn://10.0.0.236/trunk@21617 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:25:48 +00:00
slamm%netscape.com
4a938e8779 Add threads option. Fix 'NSPR tip build' option.
git-svn-id: svn://10.0.0.236/trunk@21616 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:16:11 +00:00
slamm%netscape.com
6ade1d75b8 Add --with-nspr flag to configure when needed.
git-svn-id: svn://10.0.0.236/trunk@21615 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:08:52 +00:00
karnaze%netscape.com
3ba813479d added assertion for null peeked frame pointer in Reflow.
git-svn-id: svn://10.0.0.236/trunk@21614 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:06:55 +00:00
slamm%netscape.com
0d1074e32a echo the correct name of the included myconfig.sh
git-svn-id: svn://10.0.0.236/trunk@21613 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 17:58:25 +00:00
brade%netscape.com
3a5c59c63f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21612 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 17:07:25 +00:00
ftang%netscape.com
654b2c2010 add kPlatformCharsetCID
git-svn-id: svn://10.0.0.236/trunk@21611 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:52:04 +00:00
ftang%netscape.com
d2ee1b2bf0 add nsMacCharset.cpp
git-svn-id: svn://10.0.0.236/trunk@21610 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:51:23 +00:00
ftang%netscape.com
d22f88dc21 fix NS_IMPL_ISUPPORTS problem
git-svn-id: svn://10.0.0.236/trunk@21609 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:39:58 +00:00
ftang%netscape.com
01a84af5af add nsUNIXCharset.cpp
git-svn-id: svn://10.0.0.236/trunk@21608 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:36:51 +00:00
ftang%netscape.com
cf6417104c fix the NS_IMPL_ISUPPORTS problem
git-svn-id: svn://10.0.0.236/trunk@21607 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:36:33 +00:00
pierre%netscape.com
be3111d1b5 Backed out part of the previous checkin to turn Tinderbox green again.
git-svn-id: svn://10.0.0.236/trunk@21606 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:30:31 +00:00
ftang%netscape.com
c5f587f69a add nsIPlatformCharset
git-svn-id: svn://10.0.0.236/trunk@21605 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:25:25 +00:00
ftang%netscape.com
6d4ef66811 add nsWinCharset.cpp
git-svn-id: svn://10.0.0.236/trunk@21604 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:21:56 +00:00
ftang%netscape.com
88f7367de4 chnage the line breaker interface to a simple one
git-svn-id: svn://10.0.0.236/trunk@21603 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:20:39 +00:00
coop%netscape.com
239234185f NOT YET PART OF SEAMONKEY:
* fixed casting problem in calls to Do8


git-svn-id: svn://10.0.0.236/trunk@21602 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:17:37 +00:00
shaver%netscape.com
8f1e36024b handle new and old libIDL, [notxpcom], #ifdef XPIDL_JS_STUBS
git-svn-id: svn://10.0.0.236/trunk@21601 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 15:28:58 +00:00
pierre%netscape.com
217fe9735b Fixed #3154 "Events don't work with fixed positioning". Fixed "clicks in vScrollBar down arrow are ignored".
git-svn-id: svn://10.0.0.236/trunk@21600 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 12:53:28 +00:00
grail%cafebabe.org
ca7cbb47b1 Oopsie. MailServerPrefsEditor now initializes values.
git-svn-id: svn://10.0.0.236/trunk@21599 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 11:34:59 +00:00
edwin%woudt.nl
dcbc969438 Uhmm... I guess it was late when I updated this file.
git-svn-id: svn://10.0.0.236/trunk@21598 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 10:24:06 +00:00
ftang%netscape.com
c5742c86b2 backout accidential check in
git-svn-id: svn://10.0.0.236/trunk@21597 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 10:06:47 +00:00
ftang%netscape.com
f2eb9ef0cd add two new files
git-svn-id: svn://10.0.0.236/trunk@21596 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:55:55 +00:00
ftang%netscape.com
ce5573b51a move class definitation into nsWinCharset.cpp
git-svn-id: svn://10.0.0.236/trunk@21595 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:52:48 +00:00
ftang%netscape.com
6b54b5a289 remove nsWinCharset.h
git-svn-id: svn://10.0.0.236/trunk@21594 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:52:11 +00:00
ftang%netscape.com
b272b8fc3b add several new files
git-svn-id: svn://10.0.0.236/trunk@21593 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:48:43 +00:00
ftang%netscape.com
4d23c88fb4 add nsIPlatformCharset.h
git-svn-id: svn://10.0.0.236/trunk@21592 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:46:58 +00:00
pierre%netscape.com
e44999b362 Restored the v1.76 code for the loops through the children (no nsCOMPtr, no RTTI - today's problem was one too many). Updated comments.
git-svn-id: svn://10.0.0.236/trunk@21591 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:14:36 +00:00
warren%netscape.com
ddf031a5e8 Added check for null border.
git-svn-id: svn://10.0.0.236/trunk@21590 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:01:21 +00:00
pierre%netscape.com
3b20c67e63 added some comments
git-svn-id: svn://10.0.0.236/trunk@21589 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:00:16 +00:00
pierre%netscape.com
69306daed4 turned RTTI off
git-svn-id: svn://10.0.0.236/trunk@21588 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:59:45 +00:00
warren%netscape.com
80d60a5255 Added nsSupportsArrayEnumerator.cpp
git-svn-id: svn://10.0.0.236/trunk@21587 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:11:43 +00:00
warren%netscape.com
cb10d9f3a0 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
git-svn-id: svn://10.0.0.236/trunk@21585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:10:24 +00:00
warren%netscape.com
a6c9db8b16 Added nsSupportsArrayEnumerator
git-svn-id: svn://10.0.0.236/trunk@21584 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:04:28 +00:00
warren%netscape.com
d1e17d4dea Added forgotten initialization.
git-svn-id: svn://10.0.0.236/trunk@21583 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:01:02 +00:00
saari%netscape.com
377ff86635 nsWebShellWindow.cpp
nsWebShellWindow.h

Broke up more of menu loading code into functions for readablity and to allow hierarchical menu loading.


git-svn-id: svn://10.0.0.236/trunk@21582 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:52:14 +00:00
leaf%mozilla.org
179d712308 cleaned status of illegal references
git-svn-id: svn://10.0.0.236/trunk@21581 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:38:26 +00:00
warren%netscape.com
6c2a6c03c0 Added check for forgotten error that caused hang on failure.
git-svn-id: svn://10.0.0.236/trunk@21580 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:17:10 +00:00
putterman%netscape.com
4b366d00de These got moved to the build directory.
git-svn-id: svn://10.0.0.236/trunk@21579 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:13:38 +00:00
putterman%netscape.com
672de92d3a Create the dll in the build directory, not here.
git-svn-id: svn://10.0.0.236/trunk@21578 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:09:34 +00:00
putterman%netscape.com
ea080443e6 Added build directory.
git-svn-id: svn://10.0.0.236/trunk@21577 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:08:56 +00:00
putterman%netscape.com
54d6d16add removed nsMsgLocalMailFolder so it can go in local directory.
git-svn-id: svn://10.0.0.236/trunk@21576 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 05:24:52 +00:00
putterman%netscape.com
9b5a363ed9 Added nsLocalMailFolder to local directory.
git-svn-id: svn://10.0.0.236/trunk@21575 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 05:23:06 +00:00
mcafee%netscape.com
d6f61f2865 C++ comments in C file.
git-svn-id: svn://10.0.0.236/trunk@21574 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 05:04:56 +00:00
warren%netscape.com
c49d0d89a8 Fixed NS_INIT_REFCNT problem.
git-svn-id: svn://10.0.0.236/trunk@21573 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 04:37:31 +00:00
troy%netscape.com
596795551c Added include of $(PUBLIC)\unicharutil to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@21572 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 04:28:08 +00:00
briano%netscape.com
ef895ffca9 This version works a bit better, and is much more platform-independent. But it could be better....
git-svn-id: svn://10.0.0.236/trunk@21571 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:52:21 +00:00
karnaze%netscape.com
3955f8e7f3 better sizing of form controls, especially percentage based sizes and max element sizes
git-svn-id: svn://10.0.0.236/trunk@21570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:48:01 +00:00
grail%cafebabe.org
bbf9e64a65 First attempt at the preference dialog.
git-svn-id: svn://10.0.0.236/trunk@21569 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:44:34 +00:00
ducarroz%netscape.com
fc3f62f474 change composelib to msgcompose.lib
git-svn-id: svn://10.0.0.236/trunk@21568 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:40:55 +00:00
ducarroz%netscape.com
dc6c3011ec Define FE_Alert as printf
git-svn-id: svn://10.0.0.236/trunk@21567 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:39:38 +00:00
bienvenu%netscape.com
054b6ef66b fix name of exe for clobber target
git-svn-id: svn://10.0.0.236/trunk@21566 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:38:32 +00:00
ducarroz%netscape.com
00cd0660e1 change library name
git-svn-id: svn://10.0.0.236/trunk@21565 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:38:09 +00:00
bienvenu%netscape.com
3c6fd63262 add new hdr to db to commit it
git-svn-id: svn://10.0.0.236/trunk@21564 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:37:21 +00:00
ducarroz%netscape.com
94c3bc55ec did some clean-up and reformating
git-svn-id: svn://10.0.0.236/trunk@21563 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:36:56 +00:00
bienvenu%netscape.com
d435333405 add back mdbstubs.obj
git-svn-id: svn://10.0.0.236/trunk@21562 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:35:42 +00:00
ducarroz%netscape.com
4877e32e8f Add directory compose
git-svn-id: svn://10.0.0.236/trunk@21561 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:34:17 +00:00
bienvenu%netscape.com
eecca19c15 add new notifications, char set as string new method to create hdr and add to db
git-svn-id: svn://10.0.0.236/trunk@21560 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:34:02 +00:00
mcmullen%netscape.com
74e9a93bcf Update
git-svn-id: svn://10.0.0.236/trunk@21559 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:32:00 +00:00
ftang%netscape.com
0c167bb377 add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson
git-svn-id: svn://10.0.0.236/trunk@21558 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:31:26 +00:00
ducarroz%netscape.com
7db1f7033f Initial check in
git-svn-id: svn://10.0.0.236/trunk@21557 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:26:08 +00:00
mscott%netscape.com
d86e09b16b Implement operator= for nsFilePath when given an nsFilePath. a=mcmullen...
git-svn-id: svn://10.0.0.236/trunk@21556 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:10:29 +00:00
hyatt%netscape.com
21995bf11c Touched the files auto-generatedb y the IDL. Also implemented getElementByAttribute
for documents and for elements.


git-svn-id: svn://10.0.0.236/trunk@21554 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:40:51 +00:00
hyatt%netscape.com
2450c0ee83 Touched the headers that are auto-generated from the IDL.
git-svn-id: svn://10.0.0.236/trunk@21553 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:40:26 +00:00
hyatt%netscape.com
b13db84c95 Adding a getElementsByAttribute method.
git-svn-id: svn://10.0.0.236/trunk@21552 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:40:06 +00:00
hyatt%netscape.com
23b3de1494 Changing selection in the tree.
git-svn-id: svn://10.0.0.236/trunk@21550 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:39:44 +00:00
alecf%netscape.com
e1052d2ede fix cases where native method wasn't being called on XPIDL void functions.
Add cases for methods with and without parameters, and with and without return types.


git-svn-id: svn://10.0.0.236/trunk@21549 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:39:31 +00:00
alecf%netscape.com
5126032312 add a space in between the new native type and the old one.
git-svn-id: svn://10.0.0.236/trunk@21548 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:38:16 +00:00
cyeh%netscape.com
63a8568ff8 fix stupid bug where clobber_all clobbered everything but mozilla/xpfe.
this should be cleaned up to something more elegant later.


git-svn-id: svn://10.0.0.236/trunk@21543 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:29:08 +00:00
ftang%netscape.com
d997998a21 Make Case conversion work for non-Latin1 Unicode. Reviewed by kipp. Perofrmance is the same after changing this.
git-svn-id: svn://10.0.0.236/trunk@21542 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:27:54 +00:00
ftang%netscape.com
a558186c75 performance tuning for ToTitle method
git-svn-id: svn://10.0.0.236/trunk@21541 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:24:40 +00:00
alecf%netscape.com
0b40ca28ff update IDL interfaces and add some new ones
git-svn-id: svn://10.0.0.236/trunk@21540 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:19:53 +00:00
mcmullen%netscape.com
fc3b93ecef Final update - landing our branch.
git-svn-id: svn://10.0.0.236/trunk@21539 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:16:21 +00:00
rickg%netscape.com
b080bc7e52 added stubs for expat
git-svn-id: svn://10.0.0.236/trunk@21536 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:57:13 +00:00
alecf%netscape.com
04451dc06b we need to export nsMsgSend
git-svn-id: svn://10.0.0.236/trunk@21535 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:44:38 +00:00
alecf%netscape.com
1afe34dacc clean up trailing text after #endif's
git-svn-id: svn://10.0.0.236/trunk@21534 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:44:14 +00:00
alecf%netscape.com
4a31fd689e remove trailing text after #endif's
git-svn-id: svn://10.0.0.236/trunk@21533 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:42:32 +00:00
alecf%netscape.com
213075ad38 don't put text on the end of an #endif
git-svn-id: svn://10.0.0.236/trunk@21532 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:41:06 +00:00
alecf%netscape.com
a96513d0cf add this so XPIDL is happy
git-svn-id: svn://10.0.0.236/trunk@21531 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:39:55 +00:00
mscott%netscape.com
122438de05 Include msgCore.h at top of the file for pre-compiled headers. added code to hook up msg send to the new smtp service for actually sending the mail message.
git-svn-id: svn://10.0.0.236/trunk@21530 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:38:25 +00:00
putterman%netscape.com
d8df0e6b38 Added factory to local directory.
git-svn-id: svn://10.0.0.236/trunk@21529 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:32:45 +00:00
pinkerton%netscape.com
d47e32037c Temp fix for RTTI problems that are holding the tree closed. beard and pierre will discuss a real fix later. My comment at the top of this file summarizes the problem.
git-svn-id: svn://10.0.0.236/trunk@21528 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:28:25 +00:00
mscott%netscape.com
7b228c1f4a Export nsISmtpService.h
git-svn-id: svn://10.0.0.236/trunk@21527 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:17:25 +00:00
radha%netscape.com
ccf25fd2cb Autoregister the RDF library interfaces so that apprunner will display the
toolbar and the default page when invoked with no argument.


git-svn-id: svn://10.0.0.236/trunk@21524 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:07:27 +00:00
mscott%netscape.com
ee9864a3b8 Remove dependency on compose.lib because we now use the compose dll which is automatically registered...
git-svn-id: svn://10.0.0.236/trunk@21523 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:06:05 +00:00
mscott%netscape.com
b5d4de6f11 Remove all dependencies on compose.lib. Use the new Smtp Service for running urls....Right now the test exe doesn't let you run more than one command...I'll fix this later...
git-svn-id: svn://10.0.0.236/trunk@21522 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:05:24 +00:00
mscott%netscape.com
96ae53ec00 Remove commented out dependency on netlib.lib...
git-svn-id: svn://10.0.0.236/trunk@21521 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:03:51 +00:00
edwin%woudt.nl
29eb090ce8 Initial import of the status overview. Feel free to change the status on anything you're working on.
git-svn-id: svn://10.0.0.236/trunk@21520 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:03:01 +00:00
mscott%netscape.com
e0810a7038 Added DLL self registration code. Ability to create smtp service object. Changed class name to reflect the fact that this is a factory for compose....
git-svn-id: svn://10.0.0.236/trunk@21519 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:02:49 +00:00
mscott%netscape.com
b5580a8f97 Interface updates to use nsString and nsFilePath....
git-svn-id: svn://10.0.0.236/trunk@21518 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:00:42 +00:00
mscott%netscape.com
9e90f21952 Changes to update new nsISmtpUrl interface...
git-svn-id: svn://10.0.0.236/trunk@21517 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:59:57 +00:00
mscott%netscape.com
7275cf4cbd Interface changes to support nsString and nsFilePath. Also, correctly parse out host and port in mailto urls...
git-svn-id: svn://10.0.0.236/trunk@21516 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:58:24 +00:00
mscott%netscape.com
2535706e7e built smtp service.....
git-svn-id: svn://10.0.0.236/trunk@21515 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:57:14 +00:00
mscott%netscape.com
e027401d35 Smtp service for handling smtp requests in the mail application. This abstracts away the need for the app to know how to create smtp urls and smtp connections...
git-svn-id: svn://10.0.0.236/trunk@21514 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:56:39 +00:00
mscott%netscape.com
a077f80db0 Export nsISmtpService.h
git-svn-id: svn://10.0.0.236/trunk@21513 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:55:38 +00:00
mscott%netscape.com
792d857087 Service for handling SMTP requests....this abstracts away the process of creating an SMTP url and an SMTP connection to run the url from the application...
git-svn-id: svn://10.0.0.236/trunk@21512 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:55:10 +00:00
mscott%netscape.com
a55b21fec4 Adding some more common includes --> including the repository, service manager, nsCRT....
git-svn-id: svn://10.0.0.236/trunk@21511 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:54:02 +00:00
putterman%netscape.com
d0cee28db8 Make local its own dll.
git-svn-id: svn://10.0.0.236/trunk@21510 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:48:09 +00:00
putterman%netscape.com
54d60ac524 Take tests directory out of the build until we fix exporting issues.
git-svn-id: svn://10.0.0.236/trunk@21508 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:31:16 +00:00
bienvenu%netscape.com
9041b188f9 hook up more db folder info members to mdb
git-svn-id: svn://10.0.0.236/trunk@21507 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:20:50 +00:00
cyeh%netscape.com
0aa57c8318 this application has mfc dependencies. checking in now to do the stupid
thing and fix people. will have to go back and fix this properly.


git-svn-id: svn://10.0.0.236/trunk@21506 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:05:31 +00:00
edwin%woudt.nl
f1bcc872d3 We now have a working POP3 Store. You need to download SUN's POP3 provider for JavaMail for this. We now don't use grendel's POP3 Store anymore.
git-svn-id: svn://10.0.0.236/trunk@21504 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:33:32 +00:00
bienvenu%netscape.com
58189586c8 use nsNativeFileSpec to construct pop state.dat file name
git-svn-id: svn://10.0.0.236/trunk@21503 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:28:41 +00:00
despotdaemon%netscape.com
e7438f4393 Pseudo-automatic update of changes made by davidmc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21502 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:25:20 +00:00
rickg%netscape.com
4566c0af09 fixed bug 2946
git-svn-id: svn://10.0.0.236/trunk@21500 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:18:43 +00:00
rickg%netscape.com
c994bcc637 fixed bug 2946
git-svn-id: svn://10.0.0.236/trunk@21499 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:17:05 +00:00
slamm%netscape.com
c93c74cddd nope, didn't work. remove it.
git-svn-id: svn://10.0.0.236/trunk@21498 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:12:39 +00:00
dougt%netscape.com
d4d557e798 Getting closer to milestone 2. More additions to the functionality of
xpinstall.

This is not part of the build process yet.


git-svn-id: svn://10.0.0.236/trunk@21496 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:10:23 +00:00
slamm%netscape.com
586994c681 Put this back and try again.
git-svn-id: svn://10.0.0.236/trunk@21495 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:07:24 +00:00
putterman%netscape.com
d20fc9f5e5 added NET_SACopy.
git-svn-id: svn://10.0.0.236/trunk@21494 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:03:53 +00:00
putterman%netscape.com
0403a01870 Add new parameters for width and height.
git-svn-id: svn://10.0.0.236/trunk@21493 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:00:36 +00:00
alecf%netscape.com
f999add513 fix XUL to match new command mechanism
git-svn-id: svn://10.0.0.236/trunk@21492 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 22:36:29 +00:00
mcmullen%netscape.com
2f12896d48 Remove the illegal semicolon after extern "C" {}
git-svn-id: svn://10.0.0.236/trunk@21489 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 22:25:10 +00:00
ftang%netscape.com
14f4b5ee95 fix ToTitle bug- make it compatabile to CSS Capitalize. Comment #ifndef XP_UNIX to make the auto registry work
git-svn-id: svn://10.0.0.236/trunk@21488 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 22:20:01 +00:00
despotdaemon%netscape.com
f61b96d0bd Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@21487 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 21:57:53 +00:00
rickg%netscape.com
d1023a23b1 fixed autoclose problem that Harish found
git-svn-id: svn://10.0.0.236/trunk@21486 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 20:55:15 +00:00
kin%netscape.com
e67967c1c2 Added IID() methods.
git-svn-id: svn://10.0.0.236/trunk@21485 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:56:57 +00:00
bienvenu%netscape.com
cd81f2b734 fix off by one error in line parsing code
git-svn-id: svn://10.0.0.236/trunk@21483 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:14:25 +00:00
fur%netscape.com
4dd6cc4ce1 Fix linkage problems on FreeBSD by adding -E linker option when building libPackage.so. Patch contributed by Amancio Hasty <hasty@rah.star-gate.com>.
git-svn-id: svn://10.0.0.236/trunk@21482 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:10:16 +00:00
saari%netscape.com
2bb1188bc8 tweak to mac menu logic
git-svn-id: svn://10.0.0.236/trunk@21481 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:10:05 +00:00
mjudge%netscape.com
49a8c115d7 Fixing nsCOMPtr misusage.
git-svn-id: svn://10.0.0.236/trunk@21479 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:06:48 +00:00
slamm%netscape.com
3838e04036 Server isn't ready for this file.
git-svn-id: svn://10.0.0.236/trunk@21478 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:06:20 +00:00
saari%netscape.com
0a38ef9c39 MacOS menus can support hierarchical menus now. nsWebShellWindow::LoadMenus() needs to be modified to support this.
git-svn-id: svn://10.0.0.236/trunk@21477 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:05:48 +00:00
hyatt%netscape.com
adaf4c6828 Re-enabling event handlers.
git-svn-id: svn://10.0.0.236/trunk@21476 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:05:30 +00:00
rods%netscape.com
819a746c89 Changed display type of titlebutton to inline
git-svn-id: svn://10.0.0.236/trunk@21475 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:01:13 +00:00
slamm%netscape.com
ac8a85f77d Allow 'SaveAs' to have correct name.
git-svn-id: svn://10.0.0.236/trunk@21474 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:59:18 +00:00
kmcclusk%netscape.com
62807409da Added support for creating a postscript device context for printing under GTK.
Sanitized the GTK nsDeviceContextSpecFactoryG, nsRenderingContextPS, nsDeviceContextPS,
and nsDeviceContextSpecG by removing WIN32 dependencies.
Added checks for null widgets in nsWidget and nsScrollbar GTK implementations.


git-svn-id: svn://10.0.0.236/trunk@21472 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:56:54 +00:00
slamm%netscape.com
430639dafc If the tree hasn't been pulled, client.mk needs to checkout build/autoconf/myconfig2defs.sh before it does anything else.
git-svn-id: svn://10.0.0.236/trunk@21471 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:48:51 +00:00
briano%netscape.com
2399e7a018 Automated update
git-svn-id: svn://10.0.0.236/trunk@21470 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:31:44 +00:00
slamm%netscape.com
8462c67f4e Little patch for -md dependencies.
git-svn-id: svn://10.0.0.236/trunk@21469 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:26:12 +00:00
bienvenu%netscape.com
6a966cfe55 hook up more db folder info stuff to mdb
git-svn-id: svn://10.0.0.236/trunk@21468 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:05:23 +00:00
slamm%netscape.com
27b7ce4ca4 Fix incorrect path for NSPR install dir.
git-svn-id: svn://10.0.0.236/trunk@21467 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 17:36:36 +00:00
buster%netscape.com
fb7ad5c58c caught up to new ScrollIntoView changes.
most transactions now properly set selection after modifying content, for Do, Undo, Redo.
lots of cleanup and minor bug fixes.


git-svn-id: svn://10.0.0.236/trunk@21466 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 15:53:31 +00:00
dcone%netscape.com
294ccdc501 Added fixes to get it to compile under UNIX
git-svn-id: svn://10.0.0.236/trunk@21465 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 15:00:59 +00:00
pierre%netscape.com
32d8cf8e04 don't dispatch cursor keys
git-svn-id: svn://10.0.0.236/trunk@21464 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 11:21:23 +00:00
pierre%netscape.com
46dac9a429 don't dispatch cursor keys / minor fixes
git-svn-id: svn://10.0.0.236/trunk@21463 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 11:20:57 +00:00
pierre%netscape.com
4c1175e4b0 added combobox (= popup) to the Mac
git-svn-id: svn://10.0.0.236/trunk@21462 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:22:45 +00:00
pierre%netscape.com
1c8fd37df1 inherits from Repeater
git-svn-id: svn://10.0.0.236/trunk@21461 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:21:51 +00:00
pierre%netscape.com
276c8cb22e numerous changes
git-svn-id: svn://10.0.0.236/trunk@21460 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:21:37 +00:00
pierre%netscape.com
c52d2e5834 added GetUniqueMenuID() (needed for popups)
git-svn-id: svn://10.0.0.236/trunk@21459 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:21:20 +00:00
pierre%netscape.com
45b1a40c7a added mMin/mMax (needed for popups)
git-svn-id: svn://10.0.0.236/trunk@21458 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:20:59 +00:00
pierre%netscape.com
c5e9e52519 removed outdated comments
git-svn-id: svn://10.0.0.236/trunk@21457 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:20:39 +00:00
grail%cafebabe.org
20526c39e0 Automagically add a scrollpane whenever a jlist is added.
git-svn-id: svn://10.0.0.236/trunk@21456 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 07:54:14 +00:00
mjudge%netscape.com
39c608b459 adding comments to interfaces
git-svn-id: svn://10.0.0.236/trunk@21455 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 05:19:06 +00:00
mjudge%netscape.com
22b8399dde Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words.
git-svn-id: svn://10.0.0.236/trunk@21454 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 04:59:52 +00:00
mjudge%netscape.com
537c9cb5ea adding parameter to nsIFrame for ::PeekOffset to be aware of the state of jumping a word. eating WS ect. also, nsRangeList sends the proper parameter for above change.
git-svn-id: svn://10.0.0.236/trunk@21453 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 04:57:44 +00:00
troy%netscape.com
957c46c254 More work-in-progress for table pagination
git-svn-id: svn://10.0.0.236/trunk@21452 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:28:00 +00:00
mjudge%netscape.com
465cddb814 gettig word jumping to work, adding GetPrevWord to texttransformer
git-svn-id: svn://10.0.0.236/trunk@21451 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:20:59 +00:00
mjudge%netscape.com
4589e1e0e1 adding word jumping with CNTRL char down now
git-svn-id: svn://10.0.0.236/trunk@21450 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:20:18 +00:00
mjudge%netscape.com
58cba90e27 adding NPL
git-svn-id: svn://10.0.0.236/trunk@21449 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:19:24 +00:00
brendan%netscape.com
b844735e32 - Use write rather than dump consistently (dump has unfortunate connotations).
- Avoid gratuitous extra newlines in foo.h compiled from foo.idl.
- Use do-while, not for or while, guarded by if that tests the loop condition.
- Use NS_EXPORT to qualify static InitJSClass and GetJSObject method.
- Turn enum declarations within interfaces into JS class constant numbers.
- Defend against null return from JS_GetPrivate (prototype and user-constructed
  objects have no private data).


git-svn-id: svn://10.0.0.236/trunk@21446 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 00:24:34 +00:00
mcmullen%netscape.com
cd5b595562 Took another one for nsIFile.
git-svn-id: svn://10.0.0.236/trunk@21445 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 00:15:46 +00:00
rods%netscape.com
0a40cda128 MOved XULCommand to src and it is now acting like a menu delegate,
all that reminas is to rename it.


git-svn-id: svn://10.0.0.236/trunk@21444 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 21:04:21 +00:00
rods%netscape.com
55acfd21d7 Remmoved nsIXULCommand.h
git-svn-id: svn://10.0.0.236/trunk@21443 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 20:52:29 +00:00
rods%netscape.com
e05f7ca3cb Added static IID method
git-svn-id: svn://10.0.0.236/trunk@21442 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 20:52:04 +00:00
rods%netscape.com
0588c407d6 MOved from public to src, it doesn't need to be exported
git-svn-id: svn://10.0.0.236/trunk@21441 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 20:51:12 +00:00
mcafee%netscape.com
1fc62fe57b Optionally include .client-defs.mk, client.mk should still work if you don't have this file.
git-svn-id: svn://10.0.0.236/trunk@21440 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 20:18:10 +00:00
troy%netscape.com
16495c746c Changed GetRowIndex() so that for continued cell frames the row index is
that of the cell's first-in-flow


git-svn-id: svn://10.0.0.236/trunk@21439 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 19:55:22 +00:00
mjudge%netscape.com
c1304ffecc Needed methods to disable the ScrollFrameIntoView because of resizing causing scrolling to snap selection into view. 3 helper fucs, 1 variable, PRBool mEnableScrolling defaulted to true of course
git-svn-id: svn://10.0.0.236/trunk@21438 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 19:43:40 +00:00
troy%netscape.com
0d87e040a3 Changed DeleteChildsNextInFlow() to use the nsFrameList::RemoveFrame() function
instead of what it was doing, because the assumption it was making about "aChild"
and "nextInFlow" sharing the same parent frame is not true for continued table cells


git-svn-id: svn://10.0.0.236/trunk@21437 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 18:59:00 +00:00
troy%netscape.com
19cf644cc1 Changed GetEffectiveRowSpan()
git-svn-id: svn://10.0.0.236/trunk@21436 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 18:38:41 +00:00
pavlov%pavlov.net
c654edd155 minor code cleanups
git-svn-id: svn://10.0.0.236/trunk@21435 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 17:40:00 +00:00
rods%netscape.com
694e9f8145 Added Set/GetEnabled and Set/GetChecked methods
git-svn-id: svn://10.0.0.236/trunk@21434 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 14:31:19 +00:00
ramiro%netscape.com
20f6409a0f Fixing the stderr brain damage.
This code is obsolete, but it will server as documentation someday.


git-svn-id: svn://10.0.0.236/trunk@21433 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 12:24:46 +00:00
mjudge%netscape.com
f405547ad2 fixing leak with selection. didnt realize that ElementAt caused a refcount. this should fix problem of selection not allowing presshell to go away.
git-svn-id: svn://10.0.0.236/trunk@21432 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 05:14:36 +00:00
mjudge%netscape.com
57b5f5c79b adding scrolling depending on selection modification. either by key event, or outside event.
git-svn-id: svn://10.0.0.236/trunk@21431 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 03:49:32 +00:00
mjudge%netscape.com
988ca9603d depricating the ScrollIntoView call. dont need it. the selection modification assures us of scrolling to view after batching.
git-svn-id: svn://10.0.0.236/trunk@21430 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 03:48:52 +00:00
edwin%woudt.nl
a8b27bf38c This patch is to make sure that Giao can work on the prefs code without problems because I'm messing aroung with the multiple personalities code. So now first everything gets stored in the default identity. If you want more identities you'll have to hack
git-svn-id: svn://10.0.0.236/trunk@21429 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 03:00:15 +00:00
pierre%netscape.com
7d87b43f95 made gWindowlessMenuEventHandler a private member variable (#3203: RX: Mac widgets)
git-svn-id: svn://10.0.0.236/trunk@21428 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 02:48:02 +00:00
edwin%woudt.nl
67226c1e96 I created a new contrib dir for code/data that should not go into the main tree, but which might be of some interest to developers. The first entry is a Codewarrior project file from Wesley Felter.
git-svn-id: svn://10.0.0.236/trunk@21427 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 02:22:51 +00:00
pierre%netscape.com
3e39d64a45 added nsDeleteObserver (#3147: crashes on mouseMoved or closeWindow)
git-svn-id: svn://10.0.0.236/trunk@21426 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 02:10:36 +00:00
pierre%netscape.com
e6d0867a28 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21425 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 02:01:46 +00:00
pierre%netscape.com
593668da2a returns eConsumeNoDefault after closing a window
git-svn-id: svn://10.0.0.236/trunk@21424 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 02:01:16 +00:00
pierre%netscape.com
a51a1d37cb removed outdated comments
git-svn-id: svn://10.0.0.236/trunk@21423 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 01:57:48 +00:00
mjudge%netscape.com
581b55a5ac Shift click to continue selection
git-svn-id: svn://10.0.0.236/trunk@21422 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 01:23:40 +00:00
jband%netscape.com
83081501e5 lots of cleanup
git-svn-id: svn://10.0.0.236/trunk@21418 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 00:20:40 +00:00
grail%cafebabe.org
f4ebc31945 Enhanced gridwidth/gridheight improvements.
git-svn-id: svn://10.0.0.236/trunk@21417 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 23:53:48 +00:00
mjudge%netscape.com
46b7661e5e Extra parameter in nsIFrameSeleciton HandleKeyEvent not necessary. nsRangeList mod now allows SHIFT-Key selection. currently bound directly to VK_LEFT,RIGHT should be changed eventually to something more internationaly friendly
git-svn-id: svn://10.0.0.236/trunk@21416 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 23:52:05 +00:00
grail%cafebabe.org
3ab15ad3ae Removed lame columns field for mail directory field.
git-svn-id: svn://10.0.0.236/trunk@21414 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 23:39:04 +00:00
grail%cafebabe.org
de35e41c69 UserPrefsEditor loads values from xena.pref.
git-svn-id: svn://10.0.0.236/trunk@21413 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 22:55:37 +00:00
grail%cafebabe.org
9e6564f1e1 PageUI now supports initAll() and saveAll().
git-svn-id: svn://10.0.0.236/trunk@21412 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 22:53:02 +00:00
edwin%woudt.nl
efde44a684 Fixing small itches with quoting and signatures
git-svn-id: svn://10.0.0.236/trunk@21411 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 22:19:32 +00:00
edwin%woudt.nl
cea97c5cae Adding the toolbar button pictures for adding the signature. Somebody should draw better ones.
git-svn-id: svn://10.0.0.236/trunk@21410 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 22:08:55 +00:00
edwin%woudt.nl
40c48fa727 Grendel now handels signatures (one can have a different signature for every personality)
git-svn-id: svn://10.0.0.236/trunk@21409 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 22:07:12 +00:00
buster%netscape.com
4df8a07f61 beginning work on ScrollToFrame
git-svn-id: svn://10.0.0.236/trunk@21408 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 21:29:27 +00:00
buster%netscape.com
8a7091809c the pres shell now respects NS_PRESSHELL_SCROLL_ANYWHERE for vertical scrolling.
this is a hack implementation, to be recoded by the layout team


git-svn-id: svn://10.0.0.236/trunk@21407 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 21:27:28 +00:00
edwin%woudt.nl
e712d9c08a When replying the message is quoted automatically now, so you don't have to push that 'quote' button.
git-svn-id: svn://10.0.0.236/trunk@21406 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 21:03:09 +00:00
pavlov%pavlov.net
e8c5e7c32c nsAppShell isn't an nsWidget, so don't cast it as so. This fixes the
nsRepository::CreateInstance for nsAppShell from viewer so it doesn't return
with an error for me.


git-svn-id: svn://10.0.0.236/trunk@21405 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 19:56:01 +00:00
jband%netscape.com
8281f81e8a compiler warning inspired fixes
git-svn-id: svn://10.0.0.236/trunk@21404 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 09:00:55 +00:00
jband%netscape.com
a42acfdfd4 compiler warning inspired fixes
git-svn-id: svn://10.0.0.236/trunk@21403 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 08:52:00 +00:00
jband%netscape.com
52667cdf63 added file to Makefile.in and fixed typo
git-svn-id: svn://10.0.0.236/trunk@21402 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 08:33:21 +00:00
jband%netscape.com
c7bae7988a jsint was supposed to be jsid
git-svn-id: svn://10.0.0.236/trunk@21401 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 08:31:36 +00:00
slamm%netscape.com
2870c0620c Get rid of ^M. Stupid windows editor
git-svn-id: svn://10.0.0.236/trunk@21400 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 07:52:15 +00:00
slamm%netscape.com
9cbfd8e4f9 Fix the dependencies for running configure.Have it depend on .client-defs.mk and only update that when the myconfig options change.
git-svn-id: svn://10.0.0.236/trunk@21399 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 07:47:04 +00:00
slamm%netscape.com
bd4ac0cddb Cleaner presentation.
git-svn-id: svn://10.0.0.236/trunk@21398 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 06:36:03 +00:00
mcafee%netscape.com
069fd4d3db Adding license; added do_QueryInterface() wrappers for nsCOMPtr stuff (Solaris)
git-svn-id: svn://10.0.0.236/trunk@21397 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 06:05:15 +00:00
terry%netscape.com
0951ed8dd2 Quote link containing username. Was choking if a username happened
to contain a % followed by two hex digits...


git-svn-id: svn://10.0.0.236/trunk@21396 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 06:04:57 +00:00
beard%netscape.com
f0dd8fa466 backed out build bustage change
git-svn-id: svn://10.0.0.236/trunk@21395 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 04:43:53 +00:00
beard%netscape.com
a7b513e908 class nsIPlugin not struct.
git-svn-id: svn://10.0.0.236/trunk@21394 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 04:26:09 +00:00
troy%netscape.com
986751b140 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@21393 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 04:20:09 +00:00
beard%netscape.com
e964556c5c include nsFileSpec.h on all platforms.
git-svn-id: svn://10.0.0.236/trunk@21392 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:59:43 +00:00
rjc%netscape.com
de65e8143f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@21391 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:52:26 +00:00
troy%netscape.com
d73ce78fae Pagination work-in-progress
git-svn-id: svn://10.0.0.236/trunk@21390 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:15:03 +00:00
alecf%netscape.com
bb5fecbdaf add nsIFactory to IDL export list
git-svn-id: svn://10.0.0.236/trunk@21389 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:12:19 +00:00
alecf%netscape.com
0b6134db08 update IDL files to be closer to real headers
git-svn-id: svn://10.0.0.236/trunk@21388 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:11:52 +00:00
slamm%netscape.com
967abbbedc Fix 'save as' link
git-svn-id: svn://10.0.0.236/trunk@21386 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:42:22 +00:00
slamm%netscape.com
0b94b60ff0 Add a couple comments to the script.
git-svn-id: svn://10.0.0.236/trunk@21385 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:38:06 +00:00
beard%netscape.com
c4737508c1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21384 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:27:18 +00:00
beard%netscape.com
173a8736bd OJI interface changes.
git-svn-id: svn://10.0.0.236/trunk@21383 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:26:54 +00:00
beard%netscape.com
d7cf5961f9 OJI interface changes
git-svn-id: svn://10.0.0.236/trunk@21382 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:24:15 +00:00
slamm%netscape.com
820c132b85 Pull configure.in from the tree and parse it live.
git-svn-id: svn://10.0.0.236/trunk@21381 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:22:38 +00:00
beard%netscape.com
d41def05db XP_MAC: using __comobject as magic base class for all XPCOM objects.
git-svn-id: svn://10.0.0.236/trunk@21380 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:22:18 +00:00
slamm%netscape.com
a5e6e33af3 Ready for first release.
git-svn-id: svn://10.0.0.236/trunk@21379 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:20:59 +00:00
edwin%woudt.nl
7891a2e32d Finally fixed the java.awt.List / java.util.List nameclash
git-svn-id: svn://10.0.0.236/trunk@21378 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:17:48 +00:00
edwin%woudt.nl
565992401b Sanity (jikes falls over these)
git-svn-id: svn://10.0.0.236/trunk@21377 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:13:18 +00:00
hyatt%netscape.com
fc49802bdb Adding support for Eric Vaughan's buttons.
git-svn-id: svn://10.0.0.236/trunk@21376 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:08:08 +00:00
rjc%netscape.com
5fdc8d3672 Export nsIRDFFileSystem.h
git-svn-id: svn://10.0.0.236/trunk@21375 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:04:24 +00:00
hyatt%netscape.com
dc0cd2a930 Switched over to Eric Vaughan's titled buttons on the toolbar.
git-svn-id: svn://10.0.0.236/trunk@21374 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:01:01 +00:00
hyatt%netscape.com
6ebe77c7d6 Adding the event listener manager to the registry.
git-svn-id: svn://10.0.0.236/trunk@21373 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:00:12 +00:00
hyatt%netscape.com
afbfdebf96 Implementing event handlers on XUL nodes.
git-svn-id: svn://10.0.0.236/trunk@21372 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:59:45 +00:00
ftang%netscape.com
9a33e22c4c add sample code for word break into tests
git-svn-id: svn://10.0.0.236/trunk@21371 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:45:51 +00:00
mcmullen%netscape.com
ce4de2fba0 Took 2 for nsIFileOutputStream and nsIFileInputStream
git-svn-id: svn://10.0.0.236/trunk@21370 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:45:30 +00:00
rjc%netscape.com
568775e64c FileSystem data source now uses nsFileSpec (in base)
git-svn-id: svn://10.0.0.236/trunk@21369 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:38:57 +00:00
jband%netscape.com
8e6c568ef4 graphs of all the important objects can now be dumped for diagnostic purposes
git-svn-id: svn://10.0.0.236/trunk@21368 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:31:02 +00:00
slamm%netscape.com
6351718a4f Almost ready for first release.
git-svn-id: svn://10.0.0.236/trunk@21367 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:11:02 +00:00
sfraser%netscape.com
83a34ecac9 Backing out my previous change, to enable AutoRegister again on the Mac. sdagley checked in a change to NSPR which fixes the crash on launch.
git-svn-id: svn://10.0.0.236/trunk@21366 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:07:31 +00:00
larryh%netscape.com
148843f692 per Steve Dagley
git-svn-id: svn://10.0.0.236/trunk@21365 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 00:58:42 +00:00
robinf%netscape.com
626d47873d adding Show Example bitmap for net.ini dialog
git-svn-id: svn://10.0.0.236/trunk@21364 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 00:41:54 +00:00
robinf%netscape.com
2a66104b97 updated Netcenter dialog text on this screen
git-svn-id: svn://10.0.0.236/trunk@21363 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 00:37:15 +00:00
brendan%netscape.com
bb634b1838 Fix goofs caught by alecf in GetJSObject generation.
git-svn-id: svn://10.0.0.236/trunk@21362 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 00:10:22 +00:00
mjudge%netscape.com
b52264a83e nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp)
git-svn-id: svn://10.0.0.236/trunk@21359 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:47:36 +00:00
buster%netscape.com
adcc22143f work-in-progress for scrolling frames into view. Not called anywhere in layout yet.
git-svn-id: svn://10.0.0.236/trunk@21357 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:43:41 +00:00
mjudge%netscape.com
a811da51ec changing nsIEnumerator to use NS_IMETHOD not virtual nsresult
git-svn-id: svn://10.0.0.236/trunk@21356 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:43:20 +00:00
mjudge%netscape.com
25715df9ea adding batching for selection.
git-svn-id: svn://10.0.0.236/trunk@21355 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:41:49 +00:00
robinf%netscape.com
46236d416a adding bitmap for folder.ini dialog
git-svn-id: svn://10.0.0.236/trunk@21354 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:33:02 +00:00
robinf%netscape.com
949daaf880 adding dialogs for new Show Example buttons
git-svn-id: svn://10.0.0.236/trunk@21353 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:31:12 +00:00
sfraser%netscape.com
70f30c1dcc This is a temporary fix for the Mac crash on launch; don't call AutoRegister on Mac. Approved by sar
git-svn-id: svn://10.0.0.236/trunk@21352 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:28:49 +00:00
robinf%netscape.com
f8f83ecc27 added Show Example buttons to these dialogs
git-svn-id: svn://10.0.0.236/trunk@21351 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:28:27 +00:00
slamm%netscape.com
549bc1175f added
git-svn-id: svn://10.0.0.236/trunk@21350 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:11:36 +00:00
slamm%netscape.com
75bc03462a Fix bustage: OBJDIR wasn't defined correctly. (also add webconfig target)
git-svn-id: svn://10.0.0.236/trunk@21349 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:55:50 +00:00
michaelp%netscape.com
cfec235502 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21348 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:47:36 +00:00
edwin%woudt.nl
f19a7b51fe Mail sending now works. I also added the multiple peronalities feature.
git-svn-id: svn://10.0.0.236/trunk@21347 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:41:38 +00:00
edwin%woudt.nl
9ef011c45f Added the DialogAuthenticator back in to get imap/pop3/nntp working.
git-svn-id: svn://10.0.0.236/trunk@21346 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:40:12 +00:00
edwin%woudt.nl
a785970646 Added a mail.host property for sending e-mail. Also add the DialogAuthenticator back in to get imap/pop3/nntp working.
git-svn-id: svn://10.0.0.236/trunk@21345 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:39:23 +00:00
despotdaemon%netscape.com
a2542f8261 Pseudo-automatic update of changes made by edwin@woudt.nl.
git-svn-id: svn://10.0.0.236/trunk@21343 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:17:38 +00:00
slamm%netscape.com
f641e6118d try checking out configure.in.
git-svn-id: svn://10.0.0.236/trunk@21342 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:04:11 +00:00
slamm%netscape.com
4e272a0aa9 m4 not in server path. try full path.
git-svn-id: svn://10.0.0.236/trunk@21341 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 21:45:06 +00:00
slamm%netscape.com
171b74a9bd *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@21339 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 21:39:47 +00:00
jband%netscape.com
62fe220b56 get xpidl building again on Win32
git-svn-id: svn://10.0.0.236/trunk@21338 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 21:39:41 +00:00
slamm%netscape.com
7b20426c78 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@21337 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 21:39:20 +00:00
slamm%netscape.com
029be13fd1 test parts of config.cgi
git-svn-id: svn://10.0.0.236/trunk@21336 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 21:34:59 +00:00
slamm%netscape.com
eb3c0ea15d Tweak license.
git-svn-id: svn://10.0.0.236/trunk@21333 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:53:45 +00:00
slamm%netscape.com
6e15814840 Tweak license, add comments
git-svn-id: svn://10.0.0.236/trunk@21332 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:53:25 +00:00
slamm%netscape.com
2d91b1e859 Not sure if m4 if present. use preparsed file for now
git-svn-id: svn://10.0.0.236/trunk@21331 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:26:29 +00:00
slamm%netscape.com
078a90b74d Another pass at it.
git-svn-id: svn://10.0.0.236/trunk@21330 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:17:25 +00:00
evaughan%netscape.com
78b1ccb4a7 Fixed out of scope compile bug.
git-svn-id: svn://10.0.0.236/trunk@21329 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:12:08 +00:00
slamm%netscape.com
0b9b69291e Make configure dependent on nspr
git-svn-id: svn://10.0.0.236/trunk@21327 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:01:56 +00:00
slamm%netscape.com
40d8febe78 Add .client-defs and myconfig.sh
git-svn-id: svn://10.0.0.236/trunk@21326 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 19:53:50 +00:00
despotdaemon%netscape.com
211ac29371 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21325 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 19:51:01 +00:00
slamm%netscape.com
c05bfd575d Look for nspr in /usr/lib. Add nspr check to build target. New documentation.
git-svn-id: svn://10.0.0.236/trunk@21324 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 19:49:15 +00:00
slamm%netscape.com
681bb2f47b Only load myconfig.sh if it can be found.
git-svn-id: svn://10.0.0.236/trunk@21323 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 19:40:41 +00:00
akkana%netscape.com
d3dc0c4391 Turn on Unix cout code for doCopy()
git-svn-id: svn://10.0.0.236/trunk@21322 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 19:21:25 +00:00
slamm%netscape.com
22f48fdd7e Remove unused substitutions for MOZ_NETCAST, MOZ_LDAP, SMART_MAIL
git-svn-id: svn://10.0.0.236/trunk@21321 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:42:29 +00:00
evaughan%netscape.com
994add6e25 added files: mozilla/layout/html/forms/src/nsButtonFrameRenderer.cpp, mozilla/layout/xul/base/src/nsTitledButtonFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@21320 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:29:56 +00:00
evaughan%netscape.com
ece31da4ba Added TitledButton and ProgressMeter
git-svn-id: svn://10.0.0.236/trunk@21319 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:23:32 +00:00
evaughan%netscape.com
9ae8b8c3df Added a new XUL TitledButtonFrame
git-svn-id: svn://10.0.0.236/trunk@21318 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:23:02 +00:00
saari%netscape.com
4966836d25 enable menus on mac
git-svn-id: svn://10.0.0.236/trunk@21317 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:17:24 +00:00
briano%netscape.com
f142222ea3 Automated update
git-svn-id: svn://10.0.0.236/trunk@21316 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 17:31:47 +00:00
slamm%netscape.com
ae4233f4e1 Reorder/group options. Align comments. Remove dead options.
git-svn-id: svn://10.0.0.236/trunk@21315 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 17:29:51 +00:00
slamm%netscape.com
4c9cc55514 Avoid adding duplicate options (which would happen with config.status --recheck). Skip options for client.mk.
git-svn-id: svn://10.0.0.236/trunk@21314 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 17:27:53 +00:00
slamm%netscape.com
7dbcfada76 Add a macro to label a group of options.
git-svn-id: svn://10.0.0.236/trunk@21313 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 17:25:47 +00:00
slamm%netscape.com
8f7e66a512 Convert myconfig.sh into makefile format for client.mk
git-svn-id: svn://10.0.0.236/trunk@21312 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 17:24:48 +00:00
grail%cafebabe.org
b285b21227 On a slow machine, there's a NullException as getGraphics() returns after
UI disappears.


git-svn-id: svn://10.0.0.236/trunk@21311 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 16:18:41 +00:00
brade%netscape.com
6805ba51ec add prototype to reduce warnings on Macintosh compiler
git-svn-id: svn://10.0.0.236/trunk@21310 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 16:13:47 +00:00
brade%netscape.com
0abc84f688 move local variables into #if block where they are needed (reduces warnings on Macintosh compiler)
git-svn-id: svn://10.0.0.236/trunk@21309 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 16:12:58 +00:00
brade%netscape.com
3c77f58b02 move local variable into comment block to reduce warnings on Macintosh compiler
git-svn-id: svn://10.0.0.236/trunk@21308 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 16:11:23 +00:00
brade%netscape.com
1326f793c9 remove unused local variable to reduce warnings on Macintosh compiler
git-svn-id: svn://10.0.0.236/trunk@21307 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 16:09:37 +00:00
mcafee%netscape.com
02df79470f Yanking fe_GetConfigDir() which is now in prefs.
git-svn-id: svn://10.0.0.236/trunk@21306 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 13:34:20 +00:00
mcafee%netscape.com
d16f99e851 Solaris: adding do_QueryInterface() wrapper per scc's carpool.
git-svn-id: svn://10.0.0.236/trunk@21305 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 13:14:26 +00:00
mcafee%netscape.com
38e4c7c52b Solaris needs a constructor for ConverterInfo().
git-svn-id: svn://10.0.0.236/trunk@21304 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 13:05:19 +00:00
mcafee%netscape.com
6d0cd7820b Solaris: newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21303 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:33:44 +00:00
mcafee%netscape.com
a713afe41e Solaris: newline at end of file
git-svn-id: svn://10.0.0.236/trunk@21302 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:32:16 +00:00
mcafee%netscape.com
430ad20c2f Solaris: adding do_QueryInterface() wrapper as part of scc's nsCOMPtr carpool. a=scc
git-svn-id: svn://10.0.0.236/trunk@21301 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:27:19 +00:00
mcafee%netscape.com
5f84cd50d5 Adding source files to match Win32; Solaris build was failing with 0 source files for the library creation.
git-svn-id: svn://10.0.0.236/trunk@21300 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:21:16 +00:00
mcafee%netscape.com
9865bce5b0 Solaris: changing casts to match PREF_GetIntPref() prototype; We should be using PRBool, XP_Bool needs to go away, cast here until PREF_GetBoolPref() is fixed.
git-svn-id: svn://10.0.0.236/trunk@21299 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:20:12 +00:00
mcafee%netscape.com
69142ed84b Adding license file.
git-svn-id: svn://10.0.0.236/trunk@21298 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:16:35 +00:00
mcafee%netscape.com
92753a46b3 Solaris: adding do_QueryInterface() wrappers to finish scc's nsCOMPtr carpool. a=scc
git-svn-id: svn://10.0.0.236/trunk@21297 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 11:30:31 +00:00
ramiro%netscape.com
d9d58d2259 Fix the row data problem; it was breaking on aix and probably elsewhere.
Also, unhardcoded the item length.


git-svn-id: svn://10.0.0.236/trunk@21296 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 11:09:25 +00:00
ramiro%netscape.com
b57ce47d93 Use NS_STATIC_CAST instead of static_cast.
git-svn-id: svn://10.0.0.236/trunk@21295 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 11:05:16 +00:00
mcafee%netscape.com
5f03bde36f PRBool: use PR_FALSE, PR_TRUE instead of false, true.
git-svn-id: svn://10.0.0.236/trunk@21294 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 10:57:49 +00:00
mcafee%netscape.com
c76e336302 Solaris needs explicit casts here; NULL -> 0 solved some more cast problems.
git-svn-id: svn://10.0.0.236/trunk@21293 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 10:46:20 +00:00
grail%cafebabe.org
11efe4777c Store layout information in preference file.
git-svn-id: svn://10.0.0.236/trunk@21292 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 09:34:08 +00:00
mcafee%netscape.com
36202c86c7 Fixing function prototypes to match implementation; Solaris didn't like the const mis-matches.
git-svn-id: svn://10.0.0.236/trunk@21291 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 09:12:53 +00:00
grail%cafebabe.org
bd068d2900 Added newly introduced classes to the build.
git-svn-id: svn://10.0.0.236/trunk@21290 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 09:05:39 +00:00
grail%cafebabe.org
3ad3dcddb0 Dialogs that builds out of XML descriptions. Test code to verify that
they do work. Need integration into the main UI.


git-svn-id: svn://10.0.0.236/trunk@21289 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 09:05:00 +00:00
grail%cafebabe.org
9654b55745 PageUI class similar to original PageUI class prior to code
release. Many fixes with respect to structures in regards to widget
builders that read from XML.


git-svn-id: svn://10.0.0.236/trunk@21288 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 09:02:35 +00:00
mcafee%netscape.com
f4c6cbaf8d Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21287 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 08:45:46 +00:00
rickg%netscape.com
07ace3f11e improved broken quote handling
git-svn-id: svn://10.0.0.236/trunk@21286 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 06:48:25 +00:00
warren%netscape.com
b526be3e85 Used new NS_DECL_ISUPPORTS_INHERITED and NS_IMPL_ISUPPORTS_INHERITED macros.
git-svn-id: svn://10.0.0.236/trunk@21285 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 06:34:23 +00:00
warren%netscape.com
b689b92f0c Added NS_DECL_ISUPPORTS_INHERITED and NS_IMPL_ISUPPORTS_INHERITED.
git-svn-id: svn://10.0.0.236/trunk@21284 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 06:33:33 +00:00
rickg%netscape.com
46c4a16a9e support for hex entities
git-svn-id: svn://10.0.0.236/trunk@21283 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 06:33:06 +00:00
rickg%netscape.com
93cd35c059 small mod to handle hex conversion better
git-svn-id: svn://10.0.0.236/trunk@21282 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 06:32:40 +00:00
jband%netscape.com
e3a664c320 in the middle of adding diagnostics
git-svn-id: svn://10.0.0.236/trunk@21281 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 05:59:59 +00:00
warren%netscape.com
737e598624 A bunch of fixes for cursor stuff.
git-svn-id: svn://10.0.0.236/trunk@21280 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 05:27:22 +00:00
troy%netscape.com
6cd8439821 Removed some old code
git-svn-id: svn://10.0.0.236/trunk@21279 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 05:10:59 +00:00
waldemar%netscape.com
48586c4d0f Added traditional and super and changed [] to allow multiple arguments
git-svn-id: svn://10.0.0.236/trunk@21278 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 04:28:16 +00:00
troy%netscape.com
4073fb069c Added GetBrowserWindow to nsWebCrawler, and changed nsViewerApp to only
call SetBrowserWindow() once and to have CloseWindow() check before
setting the web crawler's browser window to NULL (doing so caused a crash)


git-svn-id: svn://10.0.0.236/trunk@21277 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 04:24:12 +00:00
mcafee%netscape.com
997ffb0991 Solaris: Adding do_QueryInterface() wrapper to finish scc's nsCOMPtr carpool.
git-svn-id: svn://10.0.0.236/trunk@21276 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:46:06 +00:00
grail%cafebabe.org
d95127f626 Changed access to setStore(Hashtable) to protected rather than default.
git-svn-id: svn://10.0.0.236/trunk@21275 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:28:29 +00:00
rickg%netscape.com
cf681fb5f2 fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@21274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:28:27 +00:00
briano%netscape.com
027bce5cae Automated update
git-svn-id: svn://10.0.0.236/trunk@21273 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:15:38 +00:00
grail%cafebabe.org
e1c53a6056 Coexistence patches for Java 2 DND and 1.1 non-existent DND.
git-svn-id: svn://10.0.0.236/trunk@21272 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:10:40 +00:00
bienvenu%netscape.com
1dc9778116 start getting nntp hooked up to news database
git-svn-id: svn://10.0.0.236/trunk@21271 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:09:39 +00:00
bienvenu%netscape.com
bcd3f56bb8 start adding mork impl
git-svn-id: svn://10.0.0.236/trunk@21270 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:08:40 +00:00
alecf%netscape.com
92f8b2f140 check in new .deps based dependancy system
git-svn-id: svn://10.0.0.236/trunk@21269 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:06:32 +00:00
scc%netscape.com
0bf24da1ba updated for nsCOMPtr; owners should check my changes to see if they agree with my choices for |do_QueryInterface| vs |dont_QueryInterface|
git-svn-id: svn://10.0.0.236/trunk@21267 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:56:00 +00:00
mcafee%netscape.com
b4abca0ff2 Switching over to PRBool, PR_TRUE, and PR_FALSE. Keeps us honest, and Solaris happy. a=pinkerton
git-svn-id: svn://10.0.0.236/trunk@21266 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:54:53 +00:00
scc%netscape.com
8d172223d3 updating for nsCOMPtr; owners should check my changes to see if they agree with my choices for |do_QueryInterface| vs |dont_QueryInterface|
git-svn-id: svn://10.0.0.236/trunk@21265 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:53:45 +00:00
ramiro%netscape.com
5733b62506 Add xpcom/idl/Makefile to the build.
git-svn-id: svn://10.0.0.236/trunk@21264 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:51:57 +00:00
sdagley%netscape.com
19eb0cde55 Mac specific fix. Now that dp's code to walk the shared libs to see what is installed is working we've run into a problem that unloading the libs breaks the app (crash on quit, possible general instability). rjc's fix is to make sure PR_LoadLibrary is loading a unique copy of the lib by changing GetDiskFragment to use the option kPrivateCFragCopy instead of kLoadCFrag.
git-svn-id: svn://10.0.0.236/trunk@21263 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:45:54 +00:00
mcafee%netscape.com
1f7994d9de Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21262 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:43:26 +00:00
mscott%netscape.com
0ec3a2d8cf More updates for getting the 3-pane looking correctly...
git-svn-id: svn://10.0.0.236/trunk@21261 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:43:11 +00:00
grail%cafebabe.org
da252ac5a7 Added in JList to the builder. Use type attribute as "jlist".
git-svn-id: svn://10.0.0.236/trunk@21260 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:39:00 +00:00
kostello%netscape.com
68e65f5b6f Fixing build error -- the instance variables
mComputedCRC32 and mExpectedCRC32 were only being defined
in the DEBUG build although they are used throughout
CNavDTD.cpp and it cannot be built in non-debug mode.


git-svn-id: svn://10.0.0.236/trunk@21259 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:35:58 +00:00
mcafee%netscape.com
a8d48b571d Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com
git-svn-id: svn://10.0.0.236/trunk@21258 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:32:58 +00:00
nisheeth%netscape.com
98f27f7f53 Adding test case for attribute changes on the BR element via the DOM.
git-svn-id: svn://10.0.0.236/trunk@21257 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:15:03 +00:00
alecf%netscape.com
42a31ae59a MD5 implementation, thanks to mrsam@geocities.com
git-svn-id: svn://10.0.0.236/trunk@21256 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:12:44 +00:00
mjudge%netscape.com
8d5b4d8988 fogot to move files out of this makefile.in
git-svn-id: svn://10.0.0.236/trunk@21255 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:12:19 +00:00
troy%netscape.com
467691c69c Removed some XXX code that was temporary, but I forgot to delete
git-svn-id: svn://10.0.0.236/trunk@21254 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:05:00 +00:00
alecf%netscape.com
a906c1204e add dummy nsISupports.idl so that other IDL files can compile
(Windows makefile.win still needed - volunteers welcome!)


git-svn-id: svn://10.0.0.236/trunk@21253 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:04:21 +00:00
mcafee%netscape.com
d9b8c3370e Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com
git-svn-id: svn://10.0.0.236/trunk@21252 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:03:23 +00:00
bienvenu%netscape.com
62c02dfd14 link with the dll rdf to get rid of linker warnings
git-svn-id: svn://10.0.0.236/trunk@21251 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 01:42:25 +00:00
mcafee%netscape.com
3fda99d774 Solaris: mIsDone is a PRBool, that means use PR_FALSE or PR_TRUE.
git-svn-id: svn://10.0.0.236/trunk@21250 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 01:41:03 +00:00
nhotta%netscape.com
ec9942b6be Fix for Macintosh test.
git-svn-id: svn://10.0.0.236/trunk@21249 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 01:38:27 +00:00
ftang%netscape.com
e12e6236d8 add implementation for word breaker. Add selftest code for word break. Fix GetClass for line breaker
git-svn-id: svn://10.0.0.236/trunk@21248 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 01:38:12 +00:00
nhotta%netscape.com
6c94cdaf95 Added a new sort test.
git-svn-id: svn://10.0.0.236/trunk@21247 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:59:42 +00:00
rickg%netscape.com
84b3dd704b added CRC
git-svn-id: svn://10.0.0.236/trunk@21246 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:54:27 +00:00
rickg%netscape.com
51cbc8248b minor improvement to CRC
git-svn-id: svn://10.0.0.236/trunk@21245 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:54:01 +00:00
troy%netscape.com
92f8d12843 Added pseudo style for 'page' element
git-svn-id: svn://10.0.0.236/trunk@21244 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:53:09 +00:00
wtc%netscape.com
b97395c726 Bugsplat bug #343158: corrected a typo in the comment. Thanks to
John Bandhauer <jband@netscape.com> for the bug report and fix.


git-svn-id: svn://10.0.0.236/trunk@21243 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:45:35 +00:00
bienvenu%netscape.com
0b75042f6b switch to new mdb interface naming conventions
git-svn-id: svn://10.0.0.236/trunk@21242 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:32:39 +00:00
mjudge%netscape.com
978b778be6 moving nsFrameTraversal.* nsFrameList.* to layout/base also adding selection from keyboard.
git-svn-id: svn://10.0.0.236/trunk@21241 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:21:22 +00:00
rjc%netscape.com
0be8d28fa8 Remove nsComPtr usage (due to Unix).
git-svn-id: svn://10.0.0.236/trunk@21240 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:19:42 +00:00
wtc%netscape.com
354adef46e Test list for nspr.
git-svn-id: svn://10.0.0.236/trunk@21239 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:14:41 +00:00
cyeh%netscape.com
dc574bc583 removing special config.mak and rules.mak. special rules have been rolled
into mozilla/config/config.mak and mozilla/config/rules.mak


git-svn-id: svn://10.0.0.236/trunk@21238 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:10:02 +00:00
scc%netscape.com
726c966a08 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef|
git-svn-id: svn://10.0.0.236/trunk@21237 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:55:10 +00:00
rickg%netscape.com
7d4f2c2c76 new primaryDetect code in DTD detection system; fixes XIF
git-svn-id: svn://10.0.0.236/trunk@21236 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:45:44 +00:00
cyeh%netscape.com
67e1d76bc2 if makedep.exe doesn't exist, build it, then continue with rest of depend rule.
git-svn-id: svn://10.0.0.236/trunk@21235 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:37:43 +00:00
leaf%mozilla.org
2d2fb1c8b7 (really cyeh) fix syntatical lameness.
git-svn-id: svn://10.0.0.236/trunk@21234 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:23:17 +00:00
wtc%netscape.com
fcb29be1ad On BSDI, zero a pthread_mutex_t or pthread_cond_t before initializing
it.  This patch is contributed by Bert Driehuis
<bert_driehuis@nl.compuware.com>.


git-svn-id: svn://10.0.0.236/trunk@21233 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:20:11 +00:00
mcafee%netscape.com
0434d32b61 Adding do_QueryInterface() wrapper for Solaris, this is the other part of scc's nsCOMPtr carpool
git-svn-id: svn://10.0.0.236/trunk@21232 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:18:56 +00:00
cyeh%netscape.com
fee0afd4ba on win95 and win98, we would blow up echo with too long of a line to print.
if we are on NT, this doesn't happen. now we report status of makedep.exe
dependent of the OS we are on.


git-svn-id: svn://10.0.0.236/trunk@21231 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:18:40 +00:00
mcafee%netscape.com
7ecd89e7c3 Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21230 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:09:08 +00:00
buster%netscape.com
0a8d990683 work in progress
git-svn-id: svn://10.0.0.236/trunk@21229 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:01:06 +00:00
mcafee%netscape.com
a898a253b9 Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21228 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:00:45 +00:00
alecf%netscape.com
e7e0a25231 link xpidl statically against libxpt so that dist/bin doesn't need to be in your LD_LIBRARY_PATH
git-svn-id: svn://10.0.0.236/trunk@21227 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:59:17 +00:00
rjc%netscape.com
9f18f7d524 Now call rdf_qsort on all platforms.
git-svn-id: svn://10.0.0.236/trunk@21226 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:55:02 +00:00
rjc%netscape.com
b78067ee85 Add rdf_qsort.c to Unix/Win makefiles.
git-svn-id: svn://10.0.0.236/trunk@21225 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:54:16 +00:00
waterson%netscape.com
c71132e043 Removed RDF DLLs from SetupRegistry() b/c RDF self-registers.
git-svn-id: svn://10.0.0.236/trunk@21224 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:53:51 +00:00
waterson%netscape.com
f276494411 Fixed to get building on Linux.
git-svn-id: svn://10.0.0.236/trunk@21223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:53:19 +00:00
buster%netscape.com
f92429b874 added nsPresShell::ScrollFrameIntoView(), which forces the given frame to be visible in the current view.
git-svn-id: svn://10.0.0.236/trunk@21222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:52:21 +00:00
buster%netscape.com
72dbac31c5 added ScrollFrameIntoView(), which forces the given frame to be visible in the current view.
git-svn-id: svn://10.0.0.236/trunk@21221 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:51:46 +00:00
leaf%mozilla.org
628812f080 fixing the perl hardcoding. looks in the hardcoded places, then pulls perl from the
path if not found.


git-svn-id: svn://10.0.0.236/trunk@21220 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:51:05 +00:00
leaf%mozilla.org
6049bf947b fixing the 'unix_date' requirement... can be either unix_date or date in the
%MOZ_TOOLS%\bin directory.


git-svn-id: svn://10.0.0.236/trunk@21219 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:49:35 +00:00
rjc%netscape.com
7bfa2b0470 Needed to const strings.
git-svn-id: svn://10.0.0.236/trunk@21218 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:45:26 +00:00
mcafee%netscape.com
48000fe302 Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21217 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:43:16 +00:00
mcafee%netscape.com
75b0ae409a Adding do_QueryInterface() wrapper to finish scc's nsCOMPtr carpool
git-svn-id: svn://10.0.0.236/trunk@21216 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:39:26 +00:00
dp%netscape.com
30a7157140 Hacked to remove ./ when we PR_LoadLibrary() dlls of the type ./library.so
This improves memory a bit.


git-svn-id: svn://10.0.0.236/trunk@21215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:37:35 +00:00
kmcclusk%netscape.com
103dec6b88 changed pseudo styles file-button, file-text to -moz-file-button -moz-file-text in ua.css
Adjusted nsHTMLAtoms to match.


git-svn-id: svn://10.0.0.236/trunk@21214 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:36:59 +00:00
waterson%netscape.com
189eb2cd2e rdfutil.cpp
git-svn-id: svn://10.0.0.236/trunk@21213 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:36:41 +00:00
alecf%netscape.com
b0cb95cfba make these libraries build during the export phase
git-svn-id: svn://10.0.0.236/trunk@21212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:36:27 +00:00
dcone%netscape.com
461659931d Added the printer support files for GTK
git-svn-id: svn://10.0.0.236/trunk@21211 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:35:11 +00:00
rjc%netscape.com
301d4115d1 Comment out error while I investigate.
git-svn-id: svn://10.0.0.236/trunk@21210 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:34:25 +00:00
michaelp%netscape.com
90cf0a152e made GetClipRegion comply with new API definition.
git-svn-id: svn://10.0.0.236/trunk@21209 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:34:19 +00:00
mcafee%netscape.com
fab9b8fd0d Adding support for Solaris native compiler. a=scc
git-svn-id: svn://10.0.0.236/trunk@21208 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:34:15 +00:00
coop%netscape.com
52d9b10a97 NOT YET PART OF SEAMONKEY:
* now close input file in all cases
* warn user about params with no in/out flag information
* more internal error checking


git-svn-id: svn://10.0.0.236/trunk@21207 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:29:59 +00:00
rjc%netscape.com
8c9a8dbd6a Add simple, preliminary way of doing sorting. (Note: using our own local version of qsort due to API changes.)
git-svn-id: svn://10.0.0.236/trunk@21206 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:29:16 +00:00
rjc%netscape.com
4d94c79d09 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:28:10 +00:00
cyeh%netscape.com
b5bb8d7250 enable depend builds with client.mak.
git-svn-id: svn://10.0.0.236/trunk@21204 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:27:52 +00:00
cyeh%netscape.com
8abc5148a7 enable depend rules in client.mak. build makedep.exe. change rules.mak
to look for makedep.exe in mozilla/config


git-svn-id: svn://10.0.0.236/trunk@21203 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:26:31 +00:00
cyeh%netscape.com
9437ab4528 move this from mozilla/cmd/winfe/mkfiles32 to a more proper home in mozilla/config
git-svn-id: svn://10.0.0.236/trunk@21202 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:25:06 +00:00
kipp%netscape.com
77737917d9 removed usless includes
git-svn-id: svn://10.0.0.236/trunk@21201 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:23:52 +00:00
kipp%netscape.com
6055d14c33 Added missing ctor/dtor
git-svn-id: svn://10.0.0.236/trunk@21200 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:23:36 +00:00
kipp%netscape.com
e378675197 Added support methods to make bullet alignment better
git-svn-id: svn://10.0.0.236/trunk@21199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:23:13 +00:00
kipp%netscape.com
f768475e63 Process bullets better so that they are vertically aligned properly
git-svn-id: svn://10.0.0.236/trunk@21198 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:22:55 +00:00
kipp%netscape.com
1e1667142a Renamed bullet pseudo style
git-svn-id: svn://10.0.0.236/trunk@21197 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:20:19 +00:00
slamm%netscape.com
a3f468be66 Add this until I get if from the mirror properly.
git-svn-id: svn://10.0.0.236/trunk@21196 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:07:43 +00:00
kmcclusk%netscape.com
92c173e493 Fixed call to ProbePseudoStyleContext in nsButtonControlFrame so it will compile
when NS_GFX_RENDER_FORM_ELEMENTS is defined.
Added checks to nsFileControlFrame::Reflow to make sure the pseudo styles actually
could be loaded. If they can't be loaded it uses the file upload elements style.
Changed file-buttonstyle to file-button and file-textstyle to file-text in ua.css


git-svn-id: svn://10.0.0.236/trunk@21195 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:07:23 +00:00
rods%netscape.com
77cc46acdc Aded default sizes to TopLevelWindowCreate
git-svn-id: svn://10.0.0.236/trunk@21194 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:04:34 +00:00
briano%netscape.com
48f2deb8b8 Automated update
git-svn-id: svn://10.0.0.236/trunk@21193 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:00:38 +00:00
rods%netscape.com
f1c36c51a2 Added example/experimental code showing how to change icons during runtime
git-svn-id: svn://10.0.0.236/trunk@21192 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:59:05 +00:00
rods%netscape.com
d5b8b13d8c Fixed a debug statement
git-svn-id: svn://10.0.0.236/trunk@21191 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:58:17 +00:00
rods%netscape.com
687a599bc1 Added some experimental code for printpreview
git-svn-id: svn://10.0.0.236/trunk@21190 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:56:21 +00:00
wtc%netscape.com
1c84f21c45 The code should not have actual functions in the assertions.
The patch is contributed by Matthew Zahorik <maz@albany.net>.


git-svn-id: svn://10.0.0.236/trunk@21189 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:55:58 +00:00
rods%netscape.com
0078cba183 Completed work on -width and -height
git-svn-id: svn://10.0.0.236/trunk@21188 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:53:31 +00:00
slamm%netscape.com
15708cc95f Remove duplicate flags.
git-svn-id: svn://10.0.0.236/trunk@21187 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:53:19 +00:00
rods%netscape.com
7f9d9e2cbd Completed work on -width and -height for specifying the initial size of the window
git-svn-id: svn://10.0.0.236/trunk@21186 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:52:27 +00:00
slamm%netscape.com
1061e81618 first test
git-svn-id: svn://10.0.0.236/trunk@21185 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:52:11 +00:00
hyatt%netscape.com
e6b7c227b8 Improvements to the broadcasting mechanism so that HTML nodes can properly
observe XUL broadcasters.


git-svn-id: svn://10.0.0.236/trunk@21184 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:45:06 +00:00
slamm%netscape.com
768e91fc56 Add directory for build tools.
git-svn-id: svn://10.0.0.236/trunk@21183 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:27:26 +00:00
slamm%netscape.com
7fc3f9aa6a Take out checkbox for selected build, since it didn't work.
git-svn-id: svn://10.0.0.236/trunk@21181 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 20:13:30 +00:00
pinkerton%netscape.com
930f143f9c adding nsRepository stuff to exports. permission to fix build bustage during closed tree given by leaf.
git-svn-id: svn://10.0.0.236/trunk@21180 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 20:11:07 +00:00
wtc%netscape.com
c6bb8cfa23 Minor editing.
git-svn-id: svn://10.0.0.236/trunk@21179 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 20:03:51 +00:00
brendan%netscape.com
2f93db442f Finish Get and SetProperty, simplify InitJSClass via globalObject.
git-svn-id: svn://10.0.0.236/trunk@21178 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:59:11 +00:00
alecf%netscape.com
7374289593 remove md5 from MOZ_MAIL_NEWS build
git-svn-id: svn://10.0.0.236/trunk@21177 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:54:54 +00:00
wtc%netscape.com
cb4214dcdf Bugzilla bug #3144: OPENBSD also needs a leading underscore in the
symbol names.  The patch is contributed by kstailey@kstailey.tzo.com.


git-svn-id: svn://10.0.0.236/trunk@21176 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:45:32 +00:00
mscott%netscape.com
01f184ec56 Build news/tests/nntp directory...
git-svn-id: svn://10.0.0.236/trunk@21175 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:42:59 +00:00
mscott%netscape.com
9596fcc41f Properly set and color toolbar button which will fetch a hard coded news article from the server and display it to the screen.
git-svn-id: svn://10.0.0.236/trunk@21174 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:37:32 +00:00
pinkerton%netscape.com
12f6d07701 fix types and remember to initialize the grippy last highlight to none at creation. Fixes a problem where the first grippy in the toolbar was being drawn highlighted at create time.
git-svn-id: svn://10.0.0.236/trunk@21173 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:28:00 +00:00
mscott%netscape.com
4716537e45 Our thread pane xml file was not written right. Updated it to use the correct xul and xml tags to display correctly using the tree widget.
git-svn-id: svn://10.0.0.236/trunk@21172 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:23:52 +00:00
mscott%netscape.com
352dba47a1 New style sheet for laying out the tree widget....
git-svn-id: svn://10.0.0.236/trunk@21171 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:22:33 +00:00
pinkerton%netscape.com
75a9ff8c89 move url bar to top toolbar.
git-svn-id: svn://10.0.0.236/trunk@21170 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:18:25 +00:00
mcmullen%netscape.com
2731eecce6 Reserved a range for file i/o errors.
git-svn-id: svn://10.0.0.236/trunk@21169 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:58:25 +00:00
slamm%netscape.com
9d53ca188b Look for '.mozmyconfig' in home directory
git-svn-id: svn://10.0.0.236/trunk@21168 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:51:02 +00:00
leaf%mozilla.org
3cf01f0b50 adding the Grendel module
git-svn-id: svn://10.0.0.236/trunk@21167 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:49:23 +00:00
ebina%netscape.com
75b8d59d5f Remove the magic files from the MANIFEST
git-svn-id: svn://10.0.0.236/trunk@21166 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:45:55 +00:00
ebina%netscape.com
67889cd9e7 removed files: mozilla/network/cnvts/magic.cpp
git-svn-id: svn://10.0.0.236/trunk@21165 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:45:37 +00:00
slamm%netscape.com
ba2dfae464 Add 'run_viewer' target.
git-svn-id: svn://10.0.0.236/trunk@21164 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:44:48 +00:00
ebina%netscape.com
fe3cfd5ead The magic stuff is gone. The real stuff is in XPCOM/repository now.
git-svn-id: svn://10.0.0.236/trunk@21163 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:42:35 +00:00
kipp%netscape.com
d1a27c7e27 Fixed bug #3161 - removed bogus assertion
git-svn-id: svn://10.0.0.236/trunk@21161 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:25:45 +00:00
grail%cafebabe.org
e2a08bc361 Added EditHostDialog back into the build.
git-svn-id: svn://10.0.0.236/trunk@21160 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:24:28 +00:00
cyeh%netscape.com
7d89e840e2 Remove mozilla/layout/config and use mozilla/config instead.
git-svn-id: svn://10.0.0.236/trunk@21159 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:16:21 +00:00
cyeh%netscape.com
ef0cd60b00 don't include liteness.mak anymore, all those flags are obsolete.
git-svn-id: svn://10.0.0.236/trunk@21158 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:12:10 +00:00
shaver%netscape.com
608be074b9 Add dependency on libxpt and NSPR for typelib generation.
Only output |static const IID()| if we have an IID defined.
Output forward declarations.
Initial -m typelib stuff (handles methods, barely).


git-svn-id: svn://10.0.0.236/trunk@21156 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:43:38 +00:00
shaver%netscape.com
e12b558d1f fix InterfaceDescriptorAddMethods to not randomly overwrite memory, and fix
DoMethodDescriptor to not randomly overwrite md->result


git-svn-id: svn://10.0.0.236/trunk@21155 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:36:46 +00:00
ebina%netscape.com
c3ed0b23da Forgot to ifdef USE_REGISTRY which was breaking the MAC.
git-svn-id: svn://10.0.0.236/trunk@21154 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:18:06 +00:00
ebina%netscape.com
6ec4d9395d Have generic text, image, and application look for plugins in
NET_PluginStream


git-svn-id: svn://10.0.0.236/trunk@21153 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:14:25 +00:00
rods%netscape.com
d18115acba Added temporary menu delegate code. This enables menus to invoke JavaScript
BUT it menus can't observe changes or broadcasts


git-svn-id: svn://10.0.0.236/trunk@21152 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:13:30 +00:00
rods%netscape.com
ff8024a3aa Changed default page to navigator.xul
git-svn-id: svn://10.0.0.236/trunk@21151 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:12:09 +00:00
ebina%netscape.com
1ec564fccc Remove the "magic" hack because we now have the real thing
in XPCOM/repository


git-svn-id: svn://10.0.0.236/trunk@21150 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:09:48 +00:00
ebina%netscape.com
2d56d53627 Clean up an nsnull comparison.
git-svn-id: svn://10.0.0.236/trunk@21149 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:02:49 +00:00
ebina%netscape.com
de89022e76 Add public functions RegisterComponent, UnregisterComponent, and ProgIDToCLSID
git-svn-id: svn://10.0.0.236/trunk@21148 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:58:22 +00:00
troy%netscape.com
597d5a42e5 Fixed a style context problem
git-svn-id: svn://10.0.0.236/trunk@21147 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:56:15 +00:00
rods%netscape.com
522f7e6d93 Status bar is now hooked up.
git-svn-id: svn://10.0.0.236/trunk@21146 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:39:32 +00:00
rods%netscape.com
08e00e81f7 Fixed up some indentation issues and added fixed position style attributes.
git-svn-id: svn://10.0.0.236/trunk@21144 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:33:56 +00:00
rods%netscape.com
ebb56bf41c Added a little code to find the menus and load them.
They aren't hooked up yet.


git-svn-id: svn://10.0.0.236/trunk@21143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:32:44 +00:00
rods%netscape.com
b79dc92650 Removed the InsertItemAt method that takes a string, this was a conveince
method no one was implementing.
Changed The InsertMenuItemAt to nsISupports because either a nsIMenu or nsIMenuItem
can be inserted.


git-svn-id: svn://10.0.0.236/trunk@21142 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 15:17:11 +00:00
mcafee%netscape.com
0ca9f24e74 Adding newline at end of file for Solaris/CC
git-svn-id: svn://10.0.0.236/trunk@21141 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 12:14:59 +00:00
mcafee%netscape.com
e78d2a9f39 Moving egrep -q to redirect to /dev/null to get around egrep portability problem. Thanks to ramiro for this fix.
git-svn-id: svn://10.0.0.236/trunk@21140 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 11:30:29 +00:00
mcafee%netscape.com
ceeeef188b Icons live in AppCores/xul/resources now.
git-svn-id: svn://10.0.0.236/trunk@21139 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 11:10:18 +00:00
mcafee%netscape.com
7af0dcc61e navigator.xul is referencing toolbar, not Toolbar
git-svn-id: svn://10.0.0.236/trunk@21138 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 11:09:06 +00:00
grail%cafebabe.org
25a5525a24 Added in full toggle button functionality into the PageModel.
git-svn-id: svn://10.0.0.236/trunk@21137 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 10:26:42 +00:00
grail%cafebabe.org
d1a2ab5731 Page builder, page model now works. It's ugly. The entire XML widget
building needs help in general.


git-svn-id: svn://10.0.0.236/trunk@21136 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 10:11:44 +00:00
jband%netscape.com
1f0737e036 added macro to ease defining the static const IID() accessor to xpcom interface class declarations
git-svn-id: svn://10.0.0.236/trunk@21135 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:37:50 +00:00
jband%netscape.com
8adf363343 changed MAP_IS_NATIVE to allow for objects that have their own jsObjectOps but still use the slots in the 'normal' manner (this is necessary for XPConnect) - same change as made on SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@21134 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:36:16 +00:00
hyatt%netscape.com
4ab66b66a5 Commented out some code I shouldn't have in the menu code.
git-svn-id: svn://10.0.0.236/trunk@21133 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:18:18 +00:00
hyatt%netscape.com
64946e6ea0 Fixing Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@21132 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:14:30 +00:00
hyatt%netscape.com
1098a58b04 Improvements to the document getElementByID method.
git-svn-id: svn://10.0.0.236/trunk@21131 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:03:20 +00:00
hyatt%netscape.com
133b081fb6 Inside an INCLUDE_XUL #ifdef, making sure that HTML atoms get addrefed and
released by the frame constructor.


git-svn-id: svn://10.0.0.236/trunk@21130 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:02:50 +00:00
hyatt%netscape.com
6369b8df24 Checking in the new appRunner.
git-svn-id: svn://10.0.0.236/trunk@21129 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:01:03 +00:00
hyatt%netscape.com
bb3f825862 Changes to the XUL stylesheet file and tweaks to the makefiles to make
sure that the navigator.xul file is properly installed in the res/samples
directory.


git-svn-id: svn://10.0.0.236/trunk@21128 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:00:22 +00:00
hyatt%netscape.com
708b1e47f0 This is the true file that will be loaded by the browser.
git-svn-id: svn://10.0.0.236/trunk@21126 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:57:21 +00:00
mscott%netscape.com
bd9d731f1d Change default path for writing tempArticle.eml into to c:\temp.
git-svn-id: svn://10.0.0.236/trunk@21124 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:46:54 +00:00
troy%netscape.com
44d563da83 Added support for 'width' and 'height' values of 'inherit'
git-svn-id: svn://10.0.0.236/trunk@21123 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:40:16 +00:00
mcafee%netscape.com
5bcfc821ca Backing the egrep part of slamm's change out, solaris egrep doesn't know what -q is
git-svn-id: svn://10.0.0.236/trunk@21122 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:33:23 +00:00
briano%netscape.com
f011fbd216 Automated update
git-svn-id: svn://10.0.0.236/trunk@21121 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:31:38 +00:00
jband%netscape.com
615071e15e more tests
git-svn-id: svn://10.0.0.236/trunk@21120 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:30:20 +00:00
ramiro%netscape.com
1bee575a8c Added --{enable,disable}-build-nspr --{enable,disable}-build-xpfe.
git-svn-id: svn://10.0.0.236/trunk@21118 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:19:43 +00:00
alecf%netscape.com
4f1c7d9148 fix initialization ordering to match declaration
git-svn-id: svn://10.0.0.236/trunk@21117 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:56:24 +00:00
mscott%netscape.com
23d892e5a2 We need to build mime as part of messenger...
git-svn-id: svn://10.0.0.236/trunk@21116 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:54:15 +00:00
mscott%netscape.com
51aacb5ee6 Rebuild our 3-pane UI using iframes..the old code was using HTML frames which caused only one nsIWebShell for the whole mail frame....
git-svn-id: svn://10.0.0.236/trunk@21115 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:52:40 +00:00
alecf%netscape.com
d47d8e5b07 ignore generated files
git-svn-id: svn://10.0.0.236/trunk@21114 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:46:47 +00:00
alecf%netscape.com
05044b0ee8 fix for egcs/gcc compiler bug
git-svn-id: svn://10.0.0.236/trunk@21113 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:46:32 +00:00
kipp%netscape.com
01e3829114 Update window-manager hints so that the window is resizable after its shown
git-svn-id: svn://10.0.0.236/trunk@21112 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:33:00 +00:00
kipp%netscape.com
85de11e40a Compute subscript/super-script offsets; support (disabled) scalable fonts
git-svn-id: svn://10.0.0.236/trunk@21111 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:32:29 +00:00
kipp%netscape.com
696f13970e Made it build and work on linux
git-svn-id: svn://10.0.0.236/trunk@21110 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:29:37 +00:00
kipp%netscape.com
598f1d281f updated hash generator
git-svn-id: svn://10.0.0.236/trunk@21109 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:29:24 +00:00
kipp%netscape.com
fa4db70f26 Fixed up alignment mappings
git-svn-id: svn://10.0.0.236/trunk@21108 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:28:55 +00:00
kipp%netscape.com
d075589210 Added methods for supporting 2 pass vertical align reflow
git-svn-id: svn://10.0.0.236/trunk@21107 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:28:00 +00:00
kipp%netscape.com
ff33b16eb8 Support 2 pass vertical-align reflow for top/bottom better
git-svn-id: svn://10.0.0.236/trunk@21106 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:27:41 +00:00
kipp%netscape.com
656c1d08ba Eliminated HAVE_ANONYMOUS_BLOCK code; added in implementations of FindTextRuns and VerticalAlignChildren
git-svn-id: svn://10.0.0.236/trunk@21105 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:27:23 +00:00
kipp%netscape.com
59a8c9178d Removed a skid mark
git-svn-id: svn://10.0.0.236/trunk@21104 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:26:42 +00:00
kipp%netscape.com
1e83ecb886 Detect errors more often by prioritizing its status over size-available
git-svn-id: svn://10.0.0.236/trunk@21103 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:26:19 +00:00
ramiro%netscape.com
0e2ed2303f Build tests on if ENABLE_TESTS is defined.
git-svn-id: svn://10.0.0.236/trunk@21102 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:26:16 +00:00
kipp%netscape.com
7f83e9ffe2 Added VerticalAlignFrames for 2nd pass vertical align reflow
git-svn-id: svn://10.0.0.236/trunk@21101 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:25:48 +00:00
kipp%netscape.com
18469f80d3 Removed GetAutoMarginSize; added VerticalAlignFrames
git-svn-id: svn://10.0.0.236/trunk@21100 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:25:23 +00:00
kipp%netscape.com
c597871027 Removed usage of GetAutoMarginSize
git-svn-id: svn://10.0.0.236/trunk@21099 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:24:58 +00:00
kipp%netscape.com
3762fd4a73 Used temporary variables to avoid double-casts and make it easier for compilers to do the right thing
git-svn-id: svn://10.0.0.236/trunk@21098 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:24:39 +00:00
alecf%netscape.com
2f203b251c moving mailnews makfiles into mailnews directory
git-svn-id: svn://10.0.0.236/trunk@21097 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:22:52 +00:00
kipp%netscape.com
65c05b56e0 Removed obsolete GetAutoMarginSize method
git-svn-id: svn://10.0.0.236/trunk@21096 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:19:02 +00:00
brendan%netscape.com
a674934ef9 Fixed wrapper management to be self-contained, requiring no extra interfaces.
git-svn-id: svn://10.0.0.236/trunk@21095 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:10:40 +00:00
briano%netscape.com
cb8834ef3a Automated update
git-svn-id: svn://10.0.0.236/trunk@21094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:00:39 +00:00
shaver%netscape.com
7f3aa35988 binary files are required (thanks, jband). also fix typo
git-svn-id: svn://10.0.0.236/trunk@21093 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 02:53:08 +00:00
briano%netscape.com
321fc1b1cf Fix DSO_LDOPTS for AIX (4.2 for now).
git-svn-id: svn://10.0.0.236/trunk@21092 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 02:49:42 +00:00
waterson%netscape.com
231408e37d Implemented most of the rest of the DOM observer methods.
git-svn-id: svn://10.0.0.236/trunk@21090 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 02:02:48 +00:00
cyeh%netscape.com
bd900b8256 change from using layout/config/rules.mak to using config/rules.mak
git-svn-id: svn://10.0.0.236/trunk@21087 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 01:52:09 +00:00
rjc%netscape.com
c5b77f467b Small fix for path separators.
git-svn-id: svn://10.0.0.236/trunk@21086 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 01:43:22 +00:00
mscott%netscape.com
ed40070a63 Makefile to build the nntpTest harness
git-svn-id: svn://10.0.0.236/trunk@21085 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 01:16:12 +00:00
mscott%netscape.com
7fd6fb2575 Oops...build the nntp sub directory as well
git-svn-id: svn://10.0.0.236/trunk@21084 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 01:15:40 +00:00
mscott%netscape.com
916c0d316d Build the stub code as a library.
git-svn-id: svn://10.0.0.236/trunk@21083 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 01:14:05 +00:00
cata%netscape.com
3ab85f2050 Test data from files capability added.
git-svn-id: svn://10.0.0.236/trunk@21080 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:55:19 +00:00
mscott%netscape.com
66873c869a build nntp sub directory...
git-svn-id: svn://10.0.0.236/trunk@21079 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:54:37 +00:00
cata%netscape.com
53b2d57c3c Hacky ASCII encoder elliminated.
git-svn-id: svn://10.0.0.236/trunk@21078 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:54:13 +00:00
mscott%netscape.com
2326f2cf1f NNTP test harness. This code was moved here from news\tests.
git-svn-id: svn://10.0.0.236/trunk@21077 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:54:06 +00:00
mscott%netscape.com
e9bf3da007 Removing from repository. This file now lives in tests\nntp.
git-svn-id: svn://10.0.0.236/trunk@21076 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:53:29 +00:00
cata%netscape.com
6604db1794 Return value name changed.
git-svn-id: svn://10.0.0.236/trunk@21075 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:53:27 +00:00
mscott%netscape.com
0471e422bc Remove some ::IID() calls and replace them with NS_DEFINE_IID macros...
git-svn-id: svn://10.0.0.236/trunk@21073 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:47:50 +00:00
mscott%netscape.com
df4a08360c initializing base app core no longer happens in the mail app core....this removes our build dependencies on the base app cores.
git-svn-id: svn://10.0.0.236/trunk@21072 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:47:09 +00:00
mscott%netscape.com
7258cdddda Link with nntptest library...
git-svn-id: svn://10.0.0.236/trunk@21071 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:46:16 +00:00
mscott%netscape.com
6f4d722db2 Updates to our mail core XUL file to get loading of a hard coded news url to run.
git-svn-id: svn://10.0.0.236/trunk@21070 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:45:11 +00:00
mcmullen%netscape.com
cfb2941367 Backing out previous change from the trunk, because it was supposed to have gone in on a branch.
git-svn-id: svn://10.0.0.236/trunk@21069 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:45:07 +00:00
mscott%netscape.com
29946279d1 mail shell needs a frame for browser.webwindow
git-svn-id: svn://10.0.0.236/trunk@21068 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:43:36 +00:00
saari%netscape.com
d1bffb6304 /m/pub/mozilla/widget/src/mac/nsMenu.cpp
- unleash menu separators for mac


git-svn-id: svn://10.0.0.236/trunk@21067 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:42:06 +00:00
shaver%netscape.com
9aaaefcbe2 Report read failure and short reads (should handle short reads better! RSN!).
File length is a size_t now, not an int.


git-svn-id: svn://10.0.0.236/trunk@21066 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:42:01 +00:00
mscott%netscape.com
6b65c21255 Add ::IID() methods to these interfaces...
git-svn-id: svn://10.0.0.236/trunk@21065 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:36:12 +00:00
mcmullen%netscape.com
8d5ad2e84a Updated to match the header changes I've been making. Also, added the declaration of the persistent filespec class.
git-svn-id: svn://10.0.0.236/trunk@21064 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:35:41 +00:00
mscott%netscape.com
da7c584bf4 Adding ::IID() methods to these interfaces...
git-svn-id: svn://10.0.0.236/trunk@21063 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:34:33 +00:00
mscott%netscape.com
6f23628ee5 For now, disable the nntp test executable. (I'll look into moving this into a separate makefile...)
Build the test stubs as a stand alone library...


git-svn-id: svn://10.0.0.236/trunk@21062 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:29:11 +00:00
mscott%netscape.com
bc682708aa Don't use ::IID() function for the webshell interface because it doesn't support it....
git-svn-id: svn://10.0.0.236/trunk@21061 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:28:10 +00:00
waterson%netscape.com
1c931da059 Fixed bug where we were generating HTML kids for each attribute that we iterated over.
git-svn-id: svn://10.0.0.236/trunk@21060 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:25:06 +00:00
rjc%netscape.com
b1a6ff20f0 Fix XPCom on Mac so that autoregistration of .shlb files work.
git-svn-id: svn://10.0.0.236/trunk@21059 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:24:38 +00:00
waterson%netscape.com
75d3092e20 Force all HTML tags to lower case.
git-svn-id: svn://10.0.0.236/trunk@21058 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:24:16 +00:00
vidur%netscape.com
78c8a0019e Backed out bogus update to test
git-svn-id: svn://10.0.0.236/trunk@21057 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:19:12 +00:00
vidur%netscape.com
1defb4fd38 Supported XML namespace decls as attributes of HTML content embedded in XML
git-svn-id: svn://10.0.0.236/trunk@21056 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:18:50 +00:00
kmcclusk%netscape.com
e999bd483b Added pseudo styles for file input element buttons and text fields to control their
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.


git-svn-id: svn://10.0.0.236/trunk@21055 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:13:39 +00:00
warren%netscape.com
564e53e97d Added constructor for strings.
git-svn-id: svn://10.0.0.236/trunk@21054 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:12:08 +00:00
waterson%netscape.com
cf0b064285 Added nsRDFResource.
git-svn-id: svn://10.0.0.236/trunk@21053 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:11:53 +00:00
sdagley%netscape.com
d4b4c375df Mac specific fix. Checking in rjc's fix to load libraries if file spec was an alias to a library rather than the actual library file spec. Needed so XPCOM will work on Mac.
git-svn-id: svn://10.0.0.236/trunk@21052 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:10:46 +00:00
nhotta%netscape.com
ea5ca906ce nsILocale integration.
git-svn-id: svn://10.0.0.236/trunk@21051 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:02:03 +00:00
vidur%netscape.com
0556407675 Implemented the correct content model for the TITLE element and allowed for dynamic change.
git-svn-id: svn://10.0.0.236/trunk@21050 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:56:55 +00:00
warren%netscape.com
d44ee154e4 Moved utilities to util directory.
git-svn-id: svn://10.0.0.236/trunk@21049 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:42:09 +00:00
waterson%netscape.com
73d0b8257a Added a hack to use the tag's namespace as the default namespace in the lack of any other information. Not sure if this is correct.
git-svn-id: svn://10.0.0.236/trunk@21048 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:41:23 +00:00
sfraser%netscape.com
efbf2406c3 Add nsCaret.cpp
git-svn-id: svn://10.0.0.236/trunk@21047 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:37:21 +00:00
sfraser%netscape.com
afdfb1b0d3 Adding nsCaretProperties.cpp to Windows and UNIX builds
git-svn-id: svn://10.0.0.236/trunk@21046 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:36:54 +00:00
cata%netscape.com
e3dbe4db0b Interface implemented as "public".
git-svn-id: svn://10.0.0.236/trunk@21041 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:21:22 +00:00
bienvenu%netscape.com
e04293df2c test PrePopulate method
git-svn-id: svn://10.0.0.236/trunk@21039 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:19:31 +00:00
bienvenu%netscape.com
ba6284a483 add PrePopulate method for testing
git-svn-id: svn://10.0.0.236/trunk@21038 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:18:46 +00:00
ebina%netscape.com
1501c1cf35 Don't stop looking for converters just because the first one
failed.  This will be necessary for plugin converters.


git-svn-id: svn://10.0.0.236/trunk@21037 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:18:13 +00:00
warren%netscape.com
e8b5c1f3f2 Added nsRDFResource.h for the mac
git-svn-id: svn://10.0.0.236/trunk@21036 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:02:00 +00:00
saari%netscape.com
6e6893dc91 /m/pub/mozilla/widget/src/mac/nsMenu.cpp
- uncommented MenuSelected implementation
- cleaned up MenuSelected implementation

/m/pub/mozilla/widget/src/mac/nsMenuBar.cpp
- Uncomment MenuSelected() implementation
- Uncomment release of nsIMenuListener to avoid leak

/m/pub/mozilla/widget/src/mac/nsMenuItem.cpp
- #include "nsIMenuListener.h"
- Implement AddMenuListener()
- Implement MenuSelected()

/m/pub/mozilla/widget/src/mac/nsMenuItem.h
- Added nsIMenuListener * mXULCommandListener member


git-svn-id: svn://10.0.0.236/trunk@21033 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:45:34 +00:00
brendan%netscape.com
679ff22189 Cope with void return.
git-svn-id: svn://10.0.0.236/trunk@21032 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:45:12 +00:00
bienvenu%netscape.com
a5b8b44aa3 dumpt in-memory toy db after reparsing folder
git-svn-id: svn://10.0.0.236/trunk@21031 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:38:57 +00:00
bienvenu%netscape.com
ceef1bfd5f get in-memory toy db working
git-svn-id: svn://10.0.0.236/trunk@21030 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:38:13 +00:00
hyatt%netscape.com
ba80bd96ca Fixed bug with inline scripts: wasn't truncating the text buffer.
git-svn-id: svn://10.0.0.236/trunk@21028 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:33:09 +00:00
hyatt%netscape.com
fd90c045c2 Implemented more DOM methods to get apprunner working with XUL files.
git-svn-id: svn://10.0.0.236/trunk@21027 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:32:40 +00:00
warren%netscape.com
c29487ef71 Consolidated DefaultResourceImpl with nsRDFResource.
git-svn-id: svn://10.0.0.236/trunk@21026 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:28:15 +00:00
cyeh%netscape.com
1d51efc7a2 step one in removing mozilla/layout/config: move special layout/config configuration
to default WIN32 rules.


git-svn-id: svn://10.0.0.236/trunk@21025 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:25:15 +00:00
brendan%netscape.com
b5dca37e01 More stub work checkpointing; expand tabs.
git-svn-id: svn://10.0.0.236/trunk@21024 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:13:32 +00:00
warren%netscape.com
39b1d08e3d Updated to use nsRDFResource (is this file obsolete though)?
git-svn-id: svn://10.0.0.236/trunk@21023 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 21:57:15 +00:00
terry%netscape.com
2f367f36a6 Put all the INPUT elements inside of the FORM element, OK?
git-svn-id: svn://10.0.0.236/trunk@21022 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 21:56:14 +00:00
alecf%netscape.com
ebdae2117a new generated javascript with constructor
git-svn-id: svn://10.0.0.236/trunk@21021 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 20:47:29 +00:00
buster%netscape.com
8f155a860a fix mac build for new nsCOMPtr code
git-svn-id: svn://10.0.0.236/trunk@21020 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 20:44:44 +00:00
waterson%netscape.com
c086534bbc Added RDF CIDs as #ifdef XP_MAC until somebody fixes dynamic self-registration for XPCOM DLLs.
git-svn-id: svn://10.0.0.236/trunk@21019 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 20:05:07 +00:00
ducarroz%netscape.com
1f157ad53d no comment
git-svn-id: svn://10.0.0.236/trunk@21018 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:59:37 +00:00
ducarroz%netscape.com
1bf8a9850f use nsIMsgSend to send a message
git-svn-id: svn://10.0.0.236/trunk@21017 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:57:48 +00:00
ducarroz%netscape.com
8aaa05a493 add lib raptorbase needed by nsMsgSend
git-svn-id: svn://10.0.0.236/trunk@21016 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:54:52 +00:00
ducarroz%netscape.com
e9888c15e1 did some work
git-svn-id: svn://10.0.0.236/trunk@21015 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:53:29 +00:00
ducarroz%netscape.com
cd5bf020f5 add new interface and member functions
git-svn-id: svn://10.0.0.236/trunk@21014 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:52:14 +00:00
ducarroz%netscape.com
69b296aa60 add more glue requested by nsMsgSend
git-svn-id: svn://10.0.0.236/trunk@21013 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:50:03 +00:00
ducarroz%netscape.com
8aebeb0c24 add nsMsgSend.cpp & nsMsgSendPart.cpp to the build
git-svn-id: svn://10.0.0.236/trunk@21012 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:49:23 +00:00
ducarroz%netscape.com
6e6e17bc43 clean up comment
git-svn-id: svn://10.0.0.236/trunk@21011 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:44:54 +00:00
ducarroz%netscape.com
5892636d05 add interface for set/get body
git-svn-id: svn://10.0.0.236/trunk@21010 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:43:26 +00:00
buster%netscape.com
f62022c72f Highlights:
updated to new nsCOMPtr usage
nsTextEditor::InsertBreak() implemented
  splits the text node at the caret (deletes any extended selection to force a collapsed selection.)
  inserts a <BR> which I assume we'll convert to a CR when we write to a text stream.
  undo and redo work, except for the bug noted below

More stuff:
interface cleanup
strategic debugging code added
delete selection txn sets the collapses the selection...this is just a placeholder, but I needed it for undo/redo of InsertBreak.
join and split now work for text nodes as well as interior nodes


git-svn-id: svn://10.0.0.236/trunk@21009 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:42:29 +00:00
ducarroz%netscape.com
858ef80269 add more glue requested by nsMsgSend
git-svn-id: svn://10.0.0.236/trunk@21008 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:42:02 +00:00
ducarroz%netscape.com
ae0105459f add export for nsIMsgSend.h & nsMsgSendFact.h
git-svn-id: svn://10.0.0.236/trunk@21007 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:41:12 +00:00
ducarroz%netscape.com
8472c11182 add factory for nsIMsgSend
git-svn-id: svn://10.0.0.236/trunk@21006 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:38:44 +00:00
hyatt%netscape.com
5efb69700e Finishing the broadcaster work (at least for now).
git-svn-id: svn://10.0.0.236/trunk@21005 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:35:53 +00:00
ducarroz%netscape.com
1bf050c768 add class id for nsMsgSend
git-svn-id: svn://10.0.0.236/trunk@21004 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:35:46 +00:00
ducarroz%netscape.com
45c0c4d8b7 add lib secfreenav32
git-svn-id: svn://10.0.0.236/trunk@21003 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:32:28 +00:00
ducarroz%netscape.com
1094bcf166 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@21002 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:28:25 +00:00
kipp%netscape.com
04601e526f Fix mac build issue
git-svn-id: svn://10.0.0.236/trunk@21001 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:24:02 +00:00
hyatt%netscape.com
611f697372 More tweaks to the broadcasting stuff.
git-svn-id: svn://10.0.0.236/trunk@21000 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:58:05 +00:00
hyatt%netscape.com
0379cb730c Implemented brain-dead tree walk in GetElementByID.
git-svn-id: svn://10.0.0.236/trunk@20999 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:46:23 +00:00
locka%iol.ie
604377454a Update some API calls to handle new const tags
git-svn-id: svn://10.0.0.236/trunk@20998 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:45:59 +00:00
buster%netscape.com
2faefdcbe3 private interface for editor, used for common editing operations that
we don't want to expose publically.


git-svn-id: svn://10.0.0.236/trunk@20997 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:34:41 +00:00
hyatt%netscape.com
7df67aa0d4 Checking in code that does the broadcaster hookup.
git-svn-id: svn://10.0.0.236/trunk@20996 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:33:33 +00:00
nhotta%netscape.com
faf0820419 Added mCharset and mLocale to the class.
git-svn-id: svn://10.0.0.236/trunk@20995 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:32:33 +00:00
briano%netscape.com
ee7c2137c9 Automated update
git-svn-id: svn://10.0.0.236/trunk@20994 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:31:59 +00:00
kmcclusk%netscape.com
73a159c13d Added <INPUT type=file> to test_pr.html
git-svn-id: svn://10.0.0.236/trunk@20993 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:27:38 +00:00
slamm%netscape.com
3302284007 Source allmakefiles.sh instead of running in subshell. This way it can read the variables from configure.
git-svn-id: svn://10.0.0.236/trunk@20992 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:25:39 +00:00
harishd%netscape.com
09ea437c91 Added FontMetrics for regression testing.
Will be wired up later


git-svn-id: svn://10.0.0.236/trunk@20991 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:21:51 +00:00
warren%netscape.com
bf45e8cf21 Removed INCLUDE definition which was overriding my windows include path.
git-svn-id: svn://10.0.0.236/trunk@20990 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:21:40 +00:00
8483 changed files with 2041317 additions and 1517 deletions

40
mozilla/LEGAL Normal file
View File

@@ -0,0 +1,40 @@
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.

421
mozilla/LICENSE Normal file
View File

@@ -0,0 +1,421 @@
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.]

105
mozilla/Makefile.in Normal file
View File

@@ -0,0 +1,105 @@
#
# 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.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,443 @@
<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

@@ -0,0 +1,158 @@
<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

@@ -0,0 +1,217 @@
<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

@@ -0,0 +1,400 @@
<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

@@ -0,0 +1,163 @@
<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

@@ -0,0 +1,209 @@
<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

@@ -0,0 +1,53 @@
<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

@@ -0,0 +1,184 @@
<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 Normal file
View File

@@ -0,0 +1,8 @@
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

345
mozilla/allmakefiles.sh Executable file
View File

@@ -0,0 +1,345 @@
#! /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

Binary file not shown.

Binary file not shown.

View File

@@ -18,6 +18,6 @@
DEPTH=..
IGNORE_MANIFEST=1
DIRS=public src tests
DIRS=public src
include <$(DEPTH)\config\rules.mak>

View File

@@ -6,7 +6,9 @@ nsAutoLock.h
nsISizeOfHandler.h
nsFileStream.h
nsIFileStream.h
nsIStringStream.h
nsFileSpec.h
nsRepeater.h
nsIProperties.h
nsCaretProperties.h
nsSpecialSystemDirectory.h

View File

@@ -33,6 +33,8 @@ EXPORTS = \
nsFileSpec.h \
nsFileStream.h \
nsIFileStream.h \
nsIStringStream.h \
nsSpecialSystemDirectory.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))

View File

@@ -29,6 +29,8 @@ EXPORTS = \
nsFileSpec.h \
nsFileStream.h \
nsIFileStream.h \
nsIStringStream.h \
nsSpecialSystemDirectory.h \
$(NULL)
MODULE = raptor

View File

@@ -28,7 +28,7 @@ class nsCaretProperties
nsCaretProperties();
virtual ~nsCaretProperties() {}
virtual PRUint32 GetCaretWidth() { return mCaretWidth; }
virtual PRInt32 GetCaretWidth() { return mCaretWidth; }
virtual PRUint32 GetCaretBlinkRate() { return mBlinkRate; }
@@ -37,12 +37,12 @@ class nsCaretProperties
// have value for no blinking
enum {
eDefaulBlinkRate = 500, // twice a second
eDefaultCaretWidth = 1 // one pixel wide
eDefaulBlinkRate = 500, // twice a second
eDefaultCaretWidth = 20 // 20 twips = 1 pixel
};
PRUint32 mCaretWidth; // caret width in twips
PRInt32 mCaretWidth; // caret width in twips
PRUint32 mBlinkRate; // blink rate in milliseconds

View File

@@ -24,7 +24,8 @@
//
// Classes defined:
//
// nsFilePath, nsFileURL, nsFileSpec, nsPersistentFileDescriptor.
// 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.
@@ -113,6 +114,7 @@
#include "nscore.h"
#include "nsError.h"
#include "nsString.h"
//========================================================================================
// Compiler-specific macros, as needed
@@ -159,8 +161,12 @@ class nsPersistentFileDescriptor; // Used for storage across program launches.
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
@@ -173,15 +179,43 @@ class nsInputFileStream;
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 embeded nsFileSpec object.
// 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);
@@ -189,17 +223,29 @@ class NS_BASE nsFileSpec
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);
#ifndef XP_MAC
operator const char* () const { return mPath; }
// This is the only automatic conversion to const char*
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 NSPR file routines.
#endif
// 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
@@ -209,12 +255,19 @@ class NS_BASE nsFileSpec
long parID,
ConstStr255Param name);
nsFileSpec(const FSSpec& inSpec)
: mSpec(inSpec), mError(NS_OK) {}
: 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
@@ -228,14 +281,22 @@ class NS_BASE nsFileSpec
#endif // end of Macintosh utility methods.
PRBool Valid() const { return NS_SUCCEEDED(Error()); }
nsresult Error() const { return mError; }
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()); }
#if DEBUG
friend NS_BASE nsOutputStream& operator << (
nsOutputStream& s,
const nsFileSpec& spec); // THIS IS FOR DEBUGGING ONLY.
// see PersistentFileDescriptor for the real deal.
#endif
//--------------------------------------------------
// Queries and path algebra. These do not modify the disk.
@@ -245,7 +306,11 @@ class NS_BASE nsFileSpec
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
@@ -254,8 +319,35 @@ class NS_BASE nsFileSpec
// 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;
void operator += (const char* inRelativePath);
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
@@ -264,9 +356,19 @@ class NS_BASE nsFileSpec
// 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()
@@ -279,24 +381,39 @@ class NS_BASE nsFileSpec
//--------------------------------------------------
void CreateDirectory(int mode = 0700 /* for unix */);
void Delete(PRBool inRecursive);
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
//--------------------------------------------------
private:
protected:
friend class nsFilePath;
friend class nsFileURL;
friend class nsDirectoryIterator;
#ifdef XP_MAC
FSSpec mSpec;
#else
char* mPath;
#endif
char* mPath;
nsresult mError;
}; // class nsFileSpec
@@ -314,6 +431,7 @@ class NS_BASE nsFileURL
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();
@@ -324,9 +442,17 @@ class NS_BASE nsFileURL
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);
@@ -337,8 +463,7 @@ class NS_BASE nsFileURL
private:
// Should not be defined (only nsFilePath is to be treated as strings.
operator char* ();
operator const char* const ();
private:
protected:
friend class nsFilePath; // to allow construction of nsFilePath
char* mURL;
#ifdef XP_MAC
@@ -350,13 +475,15 @@ class NS_BASE nsFileURL
//========================================================================================
class NS_BASE nsFilePath
// This is a string that looks like "/foo/bar/mumble%20fish". Same as nsFileURL, but
// without the "file:// prefix".
// 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();
@@ -373,6 +500,11 @@ class NS_BASE nsFilePath
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);
@@ -394,6 +526,10 @@ class NS_BASE 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:
@@ -404,9 +540,12 @@ class NS_BASE nsPersistentFileDescriptor
void operator = (const nsPersistentFileDescriptor& inPath);
// Conversions
nsPersistentFileDescriptor(const nsFileSpec& inPath);
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&);
@@ -419,7 +558,7 @@ class NS_BASE nsPersistentFileDescriptor
// DON'T FREE the returned data!
void SetData(const void* inData, PRInt32 inSize);
private:
protected:
char* mDescriptorString;
@@ -462,7 +601,7 @@ class NS_BASE nsDirectoryIterator
operator nsFileSpec&() { return mCurrent; }
private:
nsFileSpec mCurrent;
bool mExists; // MUST be bool.
PRBool mExists;
#if defined(XP_UNIX)
DIR* mDir;

View File

@@ -35,15 +35,10 @@
// the handy << or >> notation can be yours.
//
// nsInputFileStream, nsOutputFileStream
// These are the STATICALLY LINKED versions of the file i/o streams,
// which wrap the NSPR file i/o plus console i/o.
//
// Related files:
// prio.h the NSPR file i/o C API), which is wrapped by
// THIS FILE statically linked C++ wrappers, which in turn are wrapped by
// nsIFileStream.h COM wrappers for this file, which are wrapped by
// nsAutoFileStream.h more easily used, nicer syntax wrappers for the
// COMified ones. Wrapper of a wrapper of a wrapper.
// 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:
//
@@ -91,12 +86,14 @@
#include "prio.h"
#endif
#include "nsIFileStream.h"
#include "nsCOMPtr.h"
#include "nsIFileStream.h"
// Defined elsewhere
class nsFileSpec;
class nsInputFileStream;
class nsOutputFileStream;
class nsString;
class nsIInputStream;
class nsIOutputStream;
//========================================================================================
// Compiler-specific macros, as needed
@@ -174,18 +171,13 @@ public:
{
return mInputStream;
}
char eof() const { return mEOF; }
char eof() const { return get_at_eof(); }
char get();
PRInt32 read(void* s, PRInt32 n)
void close()
{
if (!mInputStream)
return 0;
PRInt32 result = 0;
mInputStream->Read((char*)s, 0, n, (PRUint32*)&result);
if (result < n)
mEOF = PR_TRUE;
return result;
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).
@@ -196,6 +188,19 @@ public:
{
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.
@@ -219,7 +224,7 @@ class NS_BASE nsOutputStream
public:
nsOutputStream() {}
nsOutputStream(nsIOutputStream* inStream)
: mOutputStream(do_QueryInterface(inStream))
: mOutputStream(do_QueryInterface(inStream))
{}
virtual ~nsOutputStream();
@@ -228,15 +233,12 @@ public:
{
return mOutputStream;
}
void put(char c);
PRInt32 write(const void* s, PRInt32 n)
void close()
{
if (!mOutputStream)
return 0;
PRInt32 result = 0;
mOutputStream->Write((char*)s, 0, n, (PRUint32*)&result);
return result;
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
@@ -247,6 +249,8 @@ public:
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&))
@@ -261,28 +265,41 @@ protected:
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() // for delayed opening
: mResult(NS_OK)
{
}
nsFileClient(const nsCOMPtr<nsIFile>& inFile)
: mFile(do_QueryInterface(inFile))
, mResult(NS_OK)
{
}
PRBool is_file() const
{
return mFile ? PR_TRUE : PR_FALSE;
}
virtual ~nsFileClient() {}
void open(
const nsFileSpec& inFile,
int nsprMode,
@@ -298,10 +315,39 @@ public:
mFile->GetIsOpen(&result);
return result;
}
PRBool failed() const
PRBool is_file() const
{
return NS_FAILED(mResult);
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);
@@ -309,34 +355,110 @@ public:
void seek(PRSeekWhence whence, PRInt32 offset)
{
if (mFile)
mResult = mFile->Seek(whence, offset);
set_at_eof(PR_FALSE);
if (mStore)
mResult = mStore->Seek(whence, offset);
}
PRIntn tell()
{
PRIntn result = -1;
if (mFile)
mResult = mFile->Tell(&result);
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<nsIFile> mFile;
PRBool mResult;
}; // class nsFileClient
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 nsInputStream
, public nsFileClient
: public nsRandomAccessInputStream
, public nsFileClient
{
public:
enum { kDefaultMode = PR_RDONLY };
nsInputFileStream(nsIInputStream* inStream)
: nsInputStream(inStream)
: nsRandomAccessInputStream(inStream)
, nsFileClient(do_QueryInterface(inStream))
, mFileInputStream(do_QueryInterface(inStream))
{
@@ -344,28 +466,12 @@ public:
nsInputFileStream(
const nsFileSpec& inFile,
int nsprMode = kDefaultMode,
PRIntn accessMode = 00700) // <- OCTAL
: nsInputStream(nsnull)
{
nsISupports* stream;
NS_NewIOFileStream(
&stream,
inFile, nsprMode, accessMode);
mFile = nsQueryInterface(stream);
mInputStream = nsQueryInterface(stream);
mFileInputStream = nsQueryInterface(stream);
}
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).
PRIntn accessMode = 00700); // <- OCTAL
void Open(
const nsFileSpec& inFile,
int nsprMode = kDefaultMode,
PRIntn accessMode = 00700) // <- OCTAL
const nsFileSpec& inFile,
int nsprMode = kDefaultMode,
PRIntn accessMode = 00700) // <- OCTAL
{
if (mFile)
mFile->Open(inFile, nsprMode, accessMode);
@@ -382,29 +488,94 @@ 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 nsOutputStream
: public nsRandomAccessOutputStream
, public nsFileClient
{
public:
enum { kDefaultMode = (PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE) };
nsOutputFileStream() {}
nsOutputFileStream(nsIOutputStream* inStream)
: nsOutputStream(inStream)
, nsFileClient(do_QueryInterface(inStream))
, mFileOutputStream(do_QueryInterface(inStream))
{
}
nsOutputFileStream(
const nsFileSpec& inFile,
int nsprMode = kDefaultMode,
PRIntn accessMode = 00700) // <- OCTAL
: nsOutputStream(nsnull)
{
{
nsISupports* stream;
if (NS_FAILED(NS_NewIOFileStream(
&stream,
@@ -412,7 +583,9 @@ public:
return;
mFile = nsQueryInterface(stream);
mOutputStream = nsQueryInterface(stream);
mStore = nsQueryInterface(stream);
mFileOutputStream = nsQueryInterface(stream);
NS_RELEASE(stream);
}
virtual void flush();
@@ -430,6 +603,10 @@ public:
{ 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); }
@@ -454,6 +631,7 @@ public:
mFile = nsQueryInterface(stream);
mOutputStream = nsQueryInterface(stream);
mFileOutputStream = nsQueryInterface(stream);
NS_RELEASE(stream);
}
// Output streamers. Unfortunately, they don't inherit!
@@ -469,6 +647,10 @@ public:
{ 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); }
@@ -505,12 +687,21 @@ public:
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); }
@@ -524,6 +715,10 @@ public:
{ 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); }
@@ -532,6 +727,7 @@ public:
{ return nsInputStream::operator >>(ch); }
nsInputStream& operator >> (nsInputStream& (*pf)(nsInputStream&))
{ return nsInputStream::operator >>(pf); }
// DATA
protected:
nsCOMPtr<nsIFileOutputStream> mFileOutputStream;

View File

@@ -31,12 +31,12 @@ class nsFileSpec;
//========================================================================================
class nsIFile
// Represents a file, and supports Open, Tell etc.
// Represents a file, and supports Open.
//========================================================================================
: public nsISupports
{
public:
static const nsIID& IID() { static nsIID iid = NS_IFILE_IID; return iid; }
static const nsIID& GetIID() { static nsIID iid = NS_IFILE_IID; return iid; }
NS_IMETHOD Open(
const nsFileSpec& inFile,
int nsprMode,
@@ -44,11 +44,31 @@ public:
// Note: Open() is only needed after
// an explicit Close(). All file streams
// are automatically opened on construction.
NS_IMETHOD Seek(PRSeekWhence whence, PRInt32 offset) = 0;
NS_IMETHOD GetIsOpen(PRBool* outOpen) = 0;
NS_IMETHOD Tell(PRIntn* outWhere) = 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, \
@@ -60,10 +80,10 @@ class nsIFileInputStream
// nsIInputStream supports. The current implementation supports both
// interfaces.
//========================================================================================
: public nsISupports
: public nsIInputStream
{
public:
static const nsIID& IID() { static nsIID iid = NS_IFILEINPUTSTREAM_IID; return iid; }
static const nsIID& GetIID() { static nsIID iid = NS_IFILEINPUTSTREAM_IID; return iid; }
}; // class nsIFileInputStream
/* a6cf90e7-15b3-11d2-932e-00805f8add32 */
@@ -77,16 +97,16 @@ class nsIFileOutputStream
// nsIOutputStream supports. The current implementation supports both
// interfaces.
//========================================================================================
: public nsISupports
: public nsIOutputStream
{
public:
static const nsIID& IID() { static nsIID iid = NS_IFILEOUTPUTSTREAM_IID; return iid; }
static const nsIID& GetIID() { static nsIID iid = NS_IFILEOUTPUTSTREAM_IID; return iid; }
NS_IMETHOD Flush() = 0;
// Forces a write to disk.
}; // class nsIFileOutputStream
//----------------------------------------------------------------------------------------
NS_BASE nsresult NS_NewTypicalInputFileStream(
extern "C" NS_BASE nsresult NS_NewTypicalInputFileStream(
nsISupports** aStreamResult,
const nsFileSpec& inFile
/*Default nsprMode == PR_RDONLY*/

View File

@@ -0,0 +1,67 @@
/* -*- 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

@@ -0,0 +1,84 @@
/* -*- 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

@@ -24,6 +24,8 @@ include $(DEPTH)/config/autoconf.mk
DEFINES +=-D_IMPL_NS_BASE
LOCAL_INCLUDES += -I$(topsrcdir)/base/public
DIRS = $(MOZ_TOOLKIT)
LIBRARY_NAME = raptorbase
@@ -39,14 +41,16 @@ CPPSRCS = \
nsEscape.cpp \
nsFileSpec.cpp \
nsFileStream.cpp \
nsIFileStream.cpp \
nsIFileStream.cpp \
nsIStringStream.cpp \
nsProperties.cpp \
nsRBTree.cpp \
nsSizeOfHandler.cpp \
nsSizeOfHandler.cpp \
nsString.cpp \
nsUnicharBuffer.cpp \
nsUnicharInputStream.cpp \
nsVoidArray.cpp \
nsSpecialSystemDirectory.cpp\
$(NULL)
EXPORTS = \

View File

@@ -30,10 +30,13 @@ REQUIRES = xpcom raptor
DEFINES += -D_IMPL_NS_WIDGET
CPPSRCS = nsTimer.cpp
CPPSRCS = \
nsTimer.cpp \
nsCaretProperties.cpp \
$(NULL)
include $(topsrcdir)/config/config.mk
CFLAGS += $(TK_CFLAGS)
CXXFLAGS += $(TK_CFLAGS)
include $(topsrcdir)/config/rules.mk

View File

@@ -29,7 +29,7 @@ nsCaretProperties::nsCaretProperties()
{
// in your platform-specific class, get data from the OS in your constructor
mBlinkRate = 0; // don't blink the caret
//mBlinkRate = 0; // don't blink the caret
}

View File

@@ -131,6 +131,7 @@ TimerImpl::Init(nsITimerCallback *aCallback,
{
//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",
@@ -149,7 +150,7 @@ TimerImpl::Init(PRUint32 aDelay)
//printf("TimerImpl::Init called with delay %d only for %p\n", aDelay, this);
mDelay = aDelay;
NS_ADDREF(this);
// NS_ADDREF(this);
return NS_OK;
}

View File

@@ -22,7 +22,6 @@
#include "FullPath.h"
#include "FileCopy.h"
#include "MoreFilesExtras.h"
#include "nsEscape.h"
#include <Aliases.h>
#include <Folders.h>
@@ -45,20 +44,23 @@ namespace MacFileHelpers
void PLstrncpy(Str255 dst, const char* src, int inMaxLen);
void SwapSlashColon(char * s);
OSErr FSSpecFromFullUnixPath(
OSErr FSSpecFromUnixPath(
const char * unixPath,
FSSpec& outSpec,
FSSpec& ioSpec,
Boolean hexDecode,
Boolean resolveAlias,
Boolean allowPartial = false,
Boolean createDirs = false);
char* MacPathFromUnixPath(const char* unixPath);
char* MacPathFromUnixPath(
const char* unixPath,
Boolean hexDecode);
char* EncodeMacPath(
char* inPath, // NOT const - gets clobbered
Boolean prependSlash,
Boolean doEscape );
OSErr FSSpecFromPathname(
const char* inPathNamePtr,
FSSpec& outSpec,
FSSpec& ioSpec,
Boolean inCreateDirs);
char* PathNameFromFSSpec(
const FSSpec& inSpec,
@@ -212,7 +214,7 @@ OSErr MacFileHelpers::MakeAliasSafe(FSSpec& inOutSpec)
} // MacFileHelpers::MakeAliasSafe
//----------------------------------------------------------------------------------------
char* MacFileHelpers::MacPathFromUnixPath(const char* unixPath)
char* MacFileHelpers::MacPathFromUnixPath(const char* unixPath, Boolean hexDecode)
//----------------------------------------------------------------------------------------
{
// Relying on the fact that the unix path is always longer than the mac path:
@@ -227,7 +229,8 @@ char* MacFileHelpers::MacPathFromUnixPath(const char* unixPath)
else if (strchr(src, '/')) // * partial path, and not just a leaf name
*dst++ = ':';
strcpy(dst, src);
nsUnescape(dst); // Hex Decode
if (hexDecode)
nsUnescape(dst); // Hex Decode
MacFileHelpers::SwapSlashColon(dst);
}
return result;
@@ -236,7 +239,7 @@ char* MacFileHelpers::MacPathFromUnixPath(const char* unixPath)
//----------------------------------------------------------------------------------------
OSErr MacFileHelpers::FSSpecFromPathname(
const char* inPathNamePtr,
FSSpec& outSpec,
FSSpec& ioSpec, // used as in-parameter for a relative path.
Boolean inCreateDirs)
// FSSpecFromPathname reverses PathNameFromFSSpec.
// It returns a FSSpec given a c string which is a mac pathname.
@@ -247,20 +250,26 @@ OSErr MacFileHelpers::FSSpecFromPathname(
// routine FSpLocationFromFullPath, which allocates memory, to handle longer pathnames.
size_t inLength = strlen(inPathNamePtr);
bool isRelative = (strchr(inPathNamePtr, ':') == 0 || *inPathNamePtr == ':');
if (inLength < 255)
{
Str255 ppath;
MacFileHelpers::PLstrcpy(ppath, inPathNamePtr);
err = ::FSMakeFSSpec(0, 0, ppath, &outSpec);
if (isRelative)
err = ::FSMakeFSSpec(ioSpec.vRefNum, ioSpec.parID, ppath, &ioSpec);
else
err = ::FSMakeFSSpec(0, 0, ppath, &ioSpec);
}
else
err = FSpLocationFromFullPath(inLength, inPathNamePtr, &outSpec);
else if (!isRelative)
err = FSpLocationFromFullPath(inLength, inPathNamePtr, &ioSpec);
else
err = bdNamErr;
if (err == dirNFErr && inCreateDirs)
if ((err == dirNFErr || err == bdNamErr) && inCreateDirs)
{
const char* path = inPathNamePtr;
outSpec.vRefNum = 0;
outSpec.parID = 0;
ioSpec.vRefNum = 0;
ioSpec.parID = 0;
do {
// Locate the colon that terminates the node.
// But if we've a partial path (starting with a colon), find the second one.
@@ -276,7 +285,7 @@ OSErr MacFileHelpers::FSSpecFromPathname(
// Use this string as a relative path using the directory created
// on the previous round (or directory 0,0 on the first round).
err = ::FSMakeFSSpec(outSpec.vRefNum, outSpec.parID, ppath, &outSpec);
err = ::FSMakeFSSpec(ioSpec.vRefNum, ioSpec.parID, ppath, &ioSpec);
// If this was the leaf node, then we are done.
if (!*nextColon)
@@ -285,7 +294,7 @@ OSErr MacFileHelpers::FSSpecFromPathname(
// If we got "file not found", then
// we need to create a directory.
if (err == fnfErr && *nextColon)
err = FSpDirCreate(&outSpec, smCurrentScript, &outSpec.parID);
err = FSpDirCreate(&ioSpec, smCurrentScript, &ioSpec.parID);
// For some reason, this usually returns fnfErr, even though it works.
if (err != noErr && err != fnfErr)
return err;
@@ -368,9 +377,10 @@ OSErr MacFileHelpers::ResolveAliasFile(FSSpec& inOutSpec, Boolean& wasAliased)
} // MacFileHelpers::ResolveAliasFile
//-----------------------------------
OSErr MacFileHelpers::FSSpecFromFullUnixPath(
OSErr MacFileHelpers::FSSpecFromUnixPath(
const char * unixPath,
FSSpec& outSpec,
FSSpec& ioSpec,
Boolean hexDecode,
Boolean resolveAlias,
Boolean allowPartial,
Boolean createDirs)
@@ -382,7 +392,7 @@ OSErr MacFileHelpers::FSSpecFromFullUnixPath(
{
if (unixPath == nsnull)
return badFidErr;
char* macPath = MacPathFromUnixPath(unixPath);
char* macPath = MacPathFromUnixPath(unixPath, hexDecode);
if (!macPath)
return memFullErr;
@@ -391,12 +401,12 @@ OSErr MacFileHelpers::FSSpecFromFullUnixPath(
{
NS_ASSERTION(*unixPath == '/' /*full path*/, "Not a full Unix path!");
}
err = FSSpecFromPathname(macPath, outSpec, createDirs);
err = FSSpecFromPathname(macPath, ioSpec, createDirs);
if (err == fnfErr)
err = noErr;
Boolean dummy;
if (err == noErr && resolveAlias) // Added
err = MacFileHelpers::ResolveAliasFile(outSpec, dummy);
err = MacFileHelpers::ResolveAliasFile(ioSpec, dummy);
delete [] macPath;
NS_ASSERTION(err==noErr||err==fnfErr||err==dirNFErr||err==nsvErr, "Not a path!");
return err;
@@ -508,6 +518,7 @@ Clean:
nsFileSpec::nsFileSpec()
//----------------------------------------------------------------------------------------
: mError(NS_OK)
, mPath(nsnull)
{
mSpec.name[0] = '\0';
}
@@ -516,6 +527,7 @@ nsFileSpec::nsFileSpec()
nsFileSpec::nsFileSpec(const nsFileSpec& inSpec)
//----------------------------------------------------------------------------------------
: mSpec(inSpec.mSpec)
, mPath(nsnull)
, mError(inSpec.Error())
{
}
@@ -523,55 +535,73 @@ nsFileSpec::nsFileSpec(const nsFileSpec& inSpec)
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(const char* inString, PRBool inCreateDirs)
//----------------------------------------------------------------------------------------
: mPath(nsnull)
{
mError = NS_FILE_RESULT(MacFileHelpers::FSSpecFromFullUnixPath(
inString, mSpec, false, true, inCreateDirs));
// allow a partial path, create as necessary
mSpec.vRefNum = 0;
mSpec.parID = 0;
// Convert unix (non-encoded) path to a spec.
mError = NS_FILE_RESULT(
MacFileHelpers::FSSpecFromUnixPath(
inString,
mSpec, false, false, true, inCreateDirs));
if (mError == NS_FILE_RESULT(fnfErr))
mError = NS_OK;
} // nsFileSpec::nsFileSpec
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(
short vRefNum,
long parID,
ConstStr255Param name)
nsFileSpec::nsFileSpec(const nsString& inString, PRBool inCreateDirs)
//----------------------------------------------------------------------------------------
: mPath(nsnull)
{
mSpec.vRefNum = 0;
mSpec.parID = 0;
// Convert unix (non-encoded) path to a spec.
mError = NS_FILE_RESULT(
MacFileHelpers::FSSpecFromUnixPath(
nsAutoCString(inString),
mSpec, false, false, true, inCreateDirs));
if (mError == NS_FILE_RESULT(fnfErr))
mError = NS_OK;
} // nsFileSpec::nsFileSpec
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(short vRefNum, long parID, ConstStr255Param name)
//----------------------------------------------------------------------------------------
: mPath(nsnull)
{
mError = NS_FILE_RESULT(::FSMakeFSSpec(vRefNum, parID, name, &mSpec));
if (mError == NS_FILE_RESULT(fnfErr))
mError = noErr;
mError = NS_OK;
}
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(const nsFilePath& inPath)
//----------------------------------------------------------------------------------------
: mPath(nsnull)
{
*this = inPath.GetFileSpec();
}
#if DEBUG
//----------------------------------------------------------------------------------------
nsOutputStream& operator << (nsOutputStream& s, const nsFileSpec& spec)
//----------------------------------------------------------------------------------------
{
s << spec.mSpec.vRefNum << ", " << spec.mSpec.parID << ", \"";
s.write((const char*)&spec.mSpec.name[1], spec.mSpec.name[0]);
return s << "\"";
} // nsOutputStream& operator << (nsOutputStream&, const nsFileSpec&)
#endif
//----------------------------------------------------------------------------------------
void nsFileSpec::operator = (const char* inString)
//----------------------------------------------------------------------------------------
{
mError = NS_FILE_RESULT(MacFileHelpers::FSSpecFromFullUnixPath(inString, mSpec, false));
nsFileSpecHelpers::StringAssign(mPath, nsnull);
mSpec.vRefNum = 0;
mSpec.parID = 0;
// Convert unix (non-encoded) path to a spec.
mError = NS_FILE_RESULT(
MacFileHelpers::FSSpecFromUnixPath(inString, mSpec, false, false, true));
if (mError == NS_FILE_RESULT(fnfErr))
mError = NS_OK;
} // nsFileSpec::operator =
//----------------------------------------------------------------------------------------
void nsFileSpec::operator = (const nsFileSpec& inSpec)
//----------------------------------------------------------------------------------------
{
nsFileSpecHelpers::StringAssign(mPath, nsnull);
mSpec = inSpec.mSpec;
mError = inSpec.Error();
} // nsFileSpec::operator =
@@ -583,24 +613,64 @@ void nsFileSpec::operator = (const nsFilePath& inPath)
*this = inPath.GetFileSpec();
} // nsFileSpec::operator =
#if DEBUG
//----------------------------------------------------------------------------------------
nsOutputStream& operator << (nsOutputStream& s, const nsFileSpec& spec)
//----------------------------------------------------------------------------------------
{
#if 0
s << spec.mSpec.vRefNum << ", " << spec.mSpec.parID << ", \"";
s.write((const char*)&spec.mSpec.name[1], spec.mSpec.name[0]);
return s << "\"";
#else
return s << "\"" << spec.GetCString() << "\"";
#endif
} // nsOutputStream& operator << (nsOutputStream&, const nsFileSpec&)
#endif
//----------------------------------------------------------------------------------------
PRBool nsFileSpec::Exists() const
//----------------------------------------------------------------------------------------
{
FSSpec temp;
return ::FSMakeFSSpec(mSpec.vRefNum, mSpec.parID, mSpec.name, &temp) == noErr;
} // nsFileSpec::operator =
} // nsFileSpec::Exists()
//----------------------------------------------------------------------------------------
void nsFileSpec::GetModDate(TimeStamp& outStamp) const
//----------------------------------------------------------------------------------------
{
CInfoPBRec pb;
if (GetCatInfo(pb) == noErr)
outStamp = ((DirInfo*)&pb)->ioDrMdDat; // The mod date is in the same spot for files and dirs.
else
outStamp = 0;
} // nsFileSpec::GetModDate
//----------------------------------------------------------------------------------------
PRUint32 nsFileSpec::GetFileSize() const
//----------------------------------------------------------------------------------------
{
CInfoPBRec pb;
if (noErr == GetCatInfo(pb))
return (PRUint32)((HFileInfo*)&pb)->ioFlLgLen;
return 0;
} // nsFileSpec::GetFileSize
//----------------------------------------------------------------------------------------
void nsFileSpec::SetLeafName(const char* inLeafName)
// In leaf name can actually be a partial path...
//----------------------------------------------------------------------------------------
{
// what about long relative paths? Hmm?
nsFileSpecHelpers::StringAssign(mPath, nsnull);
// what about long relative paths? Hmm? We don't have a routine for this anywhere.
Str255 partialPath;
MacFileHelpers::PLstrcpy(partialPath, inLeafName);
mError = NS_FILE_RESULT(
::FSMakeFSSpec(mSpec.vRefNum, mSpec.parID, partialPath, &mSpec));
if (mError == NS_FILE_RESULT(fnfErr))
mError = NS_OK;
} // nsFileSpec::SetLeafName
//----------------------------------------------------------------------------------------
@@ -618,6 +688,7 @@ char* nsFileSpec::GetLeafName() const
void nsFileSpec::MakeAliasSafe()
//----------------------------------------------------------------------------------------
{
nsFileSpecHelpers::StringAssign(mPath, nsnull);
mError = NS_FILE_RESULT(MacFileHelpers::MakeAliasSafe(mSpec));
} // nsFileSpec::MakeAliasSafe
@@ -625,6 +696,7 @@ void nsFileSpec::MakeAliasSafe()
void nsFileSpec::MakeUnique(ConstStr255Param inSuggestedLeafName)
//----------------------------------------------------------------------------------------
{
nsFileSpecHelpers::StringAssign(mPath, nsnull);
if (inSuggestedLeafName[0] > 0)
MacFileHelpers::PLstrcpy(mSpec.name, inSuggestedLeafName);
@@ -676,11 +748,14 @@ void nsFileSpec::operator += (const char* inRelativePath)
mError = NS_FILE_RESULT(::FSpGetDirectoryID(&mSpec, &dirID, &isDirectory));
if (NS_SUCCEEDED(mError) && isDirectory)
{
Str255 partialPath;
MacFileHelpers::PLstrcpy(partialPath, inRelativePath);
mError = NS_FILE_RESULT(::FSMakeFSSpec(mSpec.vRefNum, dirID, partialPath, *this));
//if (NS_SUCCEEDED(mError))
// SetLeafName(inRelativePath);
mSpec.parID = dirID;
// mSpec.vRefNum is already correct.
// Convert unix path (which is unencoded) to a spec
mError = NS_FILE_RESULT(
MacFileHelpers::FSSpecFromUnixPath(
inRelativePath, mSpec, false, false, true, true));
if (mError == NS_FILE_RESULT(fnfErr))
mError = NS_OK;
}
} // nsFileSpec::operator +=
@@ -689,23 +764,24 @@ void nsFileSpec::CreateDirectory(int /* unix mode */)
//----------------------------------------------------------------------------------------
{
long ignoredDirID;
FSpDirCreate(&mSpec, smCurrentScript, &ignoredDirID);
mError = NS_FILE_RESULT(FSpDirCreate(&mSpec, smCurrentScript, &ignoredDirID));
} // nsFileSpec::CreateDirectory
//----------------------------------------------------------------------------------------
void nsFileSpec::Delete(PRBool inRecursive)
void nsFileSpec::Delete(PRBool inRecursive) const
//----------------------------------------------------------------------------------------
{
nsresult& mutableError = const_cast<nsFileSpec*>(this)->mError;
if (inRecursive)
{
// MoreFilesExtras
mError = NS_FILE_RESULT(::DeleteDirectory(
mutableError = NS_FILE_RESULT(::DeleteDirectory(
mSpec.vRefNum,
mSpec.parID,
const_cast<unsigned char*>(mSpec.name)));
}
else
mError = NS_FILE_RESULT(FSpDelete(&mSpec));
mutableError = NS_FILE_RESULT(FSpDelete(&mSpec));
} // nsFileSpec::Delete
//----------------------------------------------------------------------------------------
@@ -781,6 +857,54 @@ nsresult nsFileSpec::Execute(const char* /*args - how can this be cross-platform
} // nsFileSpec::Execute
//----------------------------------------------------------------------------------------
OSErr nsFileSpec::GetCatInfo(CInfoPBRec& outInfo) const
//----------------------------------------------------------------------------------------
{
DirInfo *dipb=(DirInfo *)&outInfo;
dipb->ioCompletion = nsnull;
dipb->ioFDirIndex = 0; // use dirID and name
dipb->ioVRefNum = mSpec.vRefNum;
dipb->ioDrDirID = mSpec.parID;
dipb->ioNamePtr = const_cast<nsFileSpec*>(this)->mSpec.name;
return PBGetCatInfoSync(&outInfo);
} // nsFileSpec::GetCatInfo()
//----------------------------------------------------------------------------------------
PRUint32 nsFileSpec::GetDiskSpaceAvailable() const
//----------------------------------------------------------------------------------------
{
HVolumeParam pb;
pb.ioCompletion = NULL;
pb.ioVolIndex = 0;
pb.ioNamePtr = NULL;
pb.ioVRefNum = mSpec.vRefNum;
OSErr err = PBHGetVInfoSync( (HParmBlkPtr)&pb );
if ( err == noErr )
return pb.ioVFrBlk * pb.ioVAlBlkSiz;
return ULONG_MAX;
} // nsFileSpec::GetDiskSpace()
//----------------------------------------------------------------------------------------
const char* nsFileSpec::GetCString() const
// This is the only 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 string is
// cached and freed by the nsFileSpec destructor, so do not delete (or free) it.
//----------------------------------------------------------------------------------------
{
if (!mPath)
{
const_cast<nsFileSpec*>(this)->mPath
= MacFileHelpers::PathNameFromFSSpec(mSpec, true);
if (!mPath)
const_cast<nsFileSpec*>(this)->mError = NS_ERROR_OUT_OF_MEMORY;
}
return mPath;
}
//========================================================================================
// Macintosh nsFilePath implementation
//========================================================================================
@@ -792,28 +916,54 @@ nsFilePath::nsFilePath(const char* inString, PRBool inCreateDirs)
, mFileSpec(inString, inCreateDirs)
{
// Make canonical and absolute.
char * path = MacFileHelpers::PathNameFromFSSpec( mFileSpec, TRUE );
mPath = MacFileHelpers::EncodeMacPath(path, true, true);
char * path = MacFileHelpers::PathNameFromFSSpec( mFileSpec, true );
mPath = MacFileHelpers::EncodeMacPath(path, true, false);
}
//----------------------------------------------------------------------------------------
nsFilePath::nsFilePath(const nsString& inString, PRBool inCreateDirs)
//----------------------------------------------------------------------------------------
: mPath(nsnull)
, mFileSpec(nsAutoCString(inString), inCreateDirs)
{
// Make canonical and absolute.
char * path = MacFileHelpers::PathNameFromFSSpec( mFileSpec, true );
mPath = MacFileHelpers::EncodeMacPath(path, true, false);
}
//----------------------------------------------------------------------------------------
nsFilePath::nsFilePath(const nsFileSpec& inSpec)
//----------------------------------------------------------------------------------------
: mFileSpec(inSpec)
: mPath(nsnull)
{
char * path = MacFileHelpers::PathNameFromFSSpec( inSpec.mSpec, TRUE );
mPath = MacFileHelpers::EncodeMacPath(path, true, true);
*this = inSpec;
}
//----------------------------------------------------------------------------------------
nsFilePath::nsFilePath(const nsFileURL& inOther)
//----------------------------------------------------------------------------------------
: mPath(nsnull)
{
*this = inOther.GetFileSpec();
}
//----------------------------------------------------------------------------------------
void nsFilePath::operator = (const nsFileSpec& inSpec)
//----------------------------------------------------------------------------------------
{
char * path = MacFileHelpers::PathNameFromFSSpec( inSpec.mSpec, true );
delete [] mPath;
char * path = MacFileHelpers::PathNameFromFSSpec( inSpec.mSpec, TRUE );
mPath = MacFileHelpers::EncodeMacPath(path, true, true);
mPath = MacFileHelpers::EncodeMacPath(path, true, false);
mFileSpec = inSpec;
} // nsFilePath::operator =
//----------------------------------------------------------------------------------------
void nsFilePath::operator = (const nsFileURL& inOther)
//----------------------------------------------------------------------------------------
{
*this = inOther.GetFileSpec();
}
//========================================================================================
// nsFileURL implementation
//========================================================================================
@@ -821,18 +971,96 @@ void nsFilePath::operator = (const nsFileSpec& inSpec)
//----------------------------------------------------------------------------------------
nsFileURL::nsFileURL(const char* inString, PRBool inCreateDirs)
//----------------------------------------------------------------------------------------
: mURL(nsnull)
, mFileSpec(inString + kFileURLPrefixLength, inCreateDirs)
{
NS_ASSERTION(strstr(inString, kFileURLPrefix) == inString, "Not a URL!");
// Make canonical and absolute.
char* path = MacFileHelpers::PathNameFromFSSpec( mFileSpec, TRUE );
char* escapedPath = MacFileHelpers::EncodeMacPath(path, true, true);
mURL = nsFileSpecHelpers::StringDup(kFileURLPrefix, kFileURLPrefixLength + strlen(escapedPath));
strcat(mURL, escapedPath);
delete [] escapedPath;
: mURL(nsFileSpecHelpers::StringDup(inString))
{
NS_ASSERTION(strstr(mURL, kFileURLPrefix) == mURL, "Not a URL!");
mFileSpec.mError = NS_FILE_RESULT(MacFileHelpers::FSSpecFromUnixPath(
mURL + kFileURLPrefixLength,
mFileSpec.mSpec,
true, // need to decode
false, // don't resolve alias
false, // must be a full path
inCreateDirs));
if (mFileSpec.mError == NS_FILE_RESULT(fnfErr))
mFileSpec.mError = NS_OK;
} // nsFileURL::nsFileURL
//----------------------------------------------------------------------------------------
nsFileURL::nsFileURL(const nsString& inString, PRBool inCreateDirs)
//----------------------------------------------------------------------------------------
: mURL(nsFileSpecHelpers::StringDup(nsAutoCString(inString)))
{
NS_ASSERTION(strstr(mURL, kFileURLPrefix) == mURL, "Not a URL!");
mFileSpec.mError = NS_FILE_RESULT(MacFileHelpers::FSSpecFromUnixPath(
mURL + kFileURLPrefixLength,
mFileSpec.mSpec,
true, // need to decode
false, // don't resolve alias
false, // must be a full path
inCreateDirs));
if (mFileSpec.mError == NS_FILE_RESULT(fnfErr))
mFileSpec.mError = NS_OK;
} // nsFileURL::nsFileURL
//----------------------------------------------------------------------------------------
nsFileURL::nsFileURL(const nsFilePath& inOther)
//----------------------------------------------------------------------------------------
: mURL(nsnull)
{
*this = inOther.GetFileSpec();
} // nsFileURL::nsFileURL
//----------------------------------------------------------------------------------------
nsFileURL::nsFileURL(const nsFileSpec& inOther)
: mURL(nsnull)
//----------------------------------------------------------------------------------------
{
*this = inOther;
} // nsFileURL::nsFileURL
//----------------------------------------------------------------------------------------
void nsFileURL::operator = (const nsFilePath& inOther)
//----------------------------------------------------------------------------------------
{
*this = inOther.GetFileSpec();
} // nsFileURL::operator =
//----------------------------------------------------------------------------------------
void nsFileURL::operator = (const nsFileSpec& inOther)
//----------------------------------------------------------------------------------------
{
mFileSpec = inOther;
delete [] mURL;
char* path = MacFileHelpers::PathNameFromFSSpec( mFileSpec, true );
char* encodedPath = MacFileHelpers::EncodeMacPath(path, true, true);
char* encodedURL = nsFileSpecHelpers::AllocCat(kFileURLPrefix, encodedPath);
delete [] encodedPath;
if (encodedURL[strlen(encodedURL) - 1] != '/' && inOther.IsDirectory())
{
mURL = nsFileSpecHelpers::AllocCat(encodedURL, "/");
delete [] encodedURL;
}
else
mURL = encodedURL;
} // nsFileURL::operator =
//----------------------------------------------------------------------------------------
void nsFileURL::operator = (const char* inString)
//----------------------------------------------------------------------------------------
{
nsFileSpecHelpers::StringAssign(mURL, inString);
NS_ASSERTION(strstr(inString, kFileURLPrefix) == inString, "Not a URL!");
mFileSpec.mError = NS_FILE_RESULT(MacFileHelpers::FSSpecFromUnixPath(
inString + kFileURLPrefixLength,
mFileSpec.mSpec,
true, // need to decode
false, // don't resolve alias
false, // must be a full path
false)); // don't create dirs.
if (mFileSpec.mError == NS_FILE_RESULT(fnfErr))
mFileSpec.mError = NS_OK;
} // nsFileURL::operator =
//========================================================================================
// nsDirectoryIterator
//========================================================================================
@@ -847,24 +1075,15 @@ nsDirectoryIterator::nsDirectoryIterator(
, mIndex(-1)
{
CInfoPBRec pb;
DirInfo* dipb = (DirInfo*)&pb;
// Sorry about this, there seems to be a bug in CWPro 4:
const FSSpec& inSpec = inDirectory.nsFileSpec::operator const FSSpec&();
Str255 outName;
MacFileHelpers::PLstrcpy(outName, inSpec.name);
pb.hFileInfo.ioNamePtr = outName;
pb.hFileInfo.ioVRefNum = inSpec.vRefNum;
pb.hFileInfo.ioDirID = inSpec.parID;
pb.hFileInfo.ioFDirIndex = 0; // use ioNamePtr and ioDirID
OSErr err = PBGetCatInfoSync( &pb );
OSErr err = inDirectory.GetCatInfo(pb);
// test that we have got a directory back, not a file
if ( (err != noErr ) || !( dipb->ioFlAttrib & 0x0010 ) )
DirInfo* dipb = (DirInfo*)&pb;
if (err != noErr || !( dipb->ioFlAttrib & 0x0010))
return;
// Sorry about this, there seems to be a bug in CWPro 4:
FSSpec& currentSpec = mCurrent.nsFileSpec::operator FSSpec&();
currentSpec.vRefNum = inSpec.vRefNum;
currentSpec.vRefNum = currentSpec.vRefNum;
currentSpec.parID = dipb->ioDrDirID;
mMaxIndex = pb.dirInfo.ioDrNmFls;
if (inIterateDirection > 0)
@@ -928,3 +1147,4 @@ nsDirectoryIterator& nsDirectoryIterator::operator ++ ()
}
return *this;
} // nsDirectoryIterator::operator ++

View File

@@ -133,8 +133,7 @@ class TimerPeriodical : public Repeater
// TimerImpl implementation
//========================================================================================
static NS_DEFINE_IID(kITimerIID, NS_ITIMER_IID);
NS_IMPL_ISUPPORTS(TimerImpl, kITimerIID)
NS_IMPL_ISUPPORTS(TimerImpl, nsITimer::GetIID())
//----------------------------------------------------------------------------------------
TimerImpl::TimerImpl()
@@ -361,5 +360,5 @@ NS_BASE nsresult NS_NewTimer(nsITimer** aInstancePtrResult)
return NS_ERROR_OUT_OF_MEMORY;
}
return timer->QueryInterface(kITimerIID, (void **) aInstancePtrResult);
return timer->QueryInterface(nsITimer::GetIID(), (void **) aInstancePtrResult);
}

View File

@@ -40,8 +40,10 @@ CPPSRCS = \
nsVoidArray.cpp \
nsFileSpec.cpp \
nsFileStream.cpp \
nsStringStream.cpp \
nsEscape.cpp \
nsIFileStream.cpp \
nsSpecialSystemDirectory.cpp \
$(NULL)
CPP_OBJS = \
@@ -63,6 +65,8 @@ CPP_OBJS = \
.\$(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 \
@@ -84,7 +88,7 @@ MAKE_OBJ_TYPE = DLL
DLLNAME = raptorbase
DLL=.\$(OBJDIR)\$(DLLNAME).dll
OBJS = $(OBJS) .\$(OBJDIR)\nsTimer.obj
OBJS = $(OBJS) .\$(OBJDIR)\nsTimer.obj .\$(OBJDIR)\nsCaretProperties.obj
LCFLAGS = \
$(LCFLAGS) \
@@ -94,7 +98,7 @@ LCFLAGS = \
# These are the libraries we need to link with to create the dll
LLIBS= \
$(DIST)\lib\xpcom32.lib \
$(DIST)\lib\libplc21.lib \
$(DIST)\lib\plc3.lib \
$(LIBNSPR)
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
LLIBS=$(LLIBS) $(GLOWDIR)\glowcode.lib

View File

@@ -30,7 +30,10 @@ REQUIRES = xpcom raptor
DEFINES += -D_IMPL_NS_WIDGET
CPPSRCS = nsTimer.cpp
CPPSRCS = \
nsTimer.cpp \
nsCaretProperties.cpp \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -36,6 +36,10 @@ public:
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;
@@ -75,7 +79,7 @@ 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*) new char[size];
AtomImpl* ii = (AtomImpl*) ::operator new(size);
nsCRT::memcpy(ii->mString, us, uslen * sizeof(PRUnichar));
ii->mString[uslen] = 0;
return ii;

View File

@@ -20,41 +20,63 @@
#include "nscore.h"
#include "nsIProperties.h"
#include "nsProperties.h"
#include "nsRepository.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(const char* path)
NSRegisterSelf(nsISupports* aServMgr, const char* path)
{
nsresult ret;
nsresult rv;
ret = nsRepository::RegisterFactory(kPropertiesCID, path, PR_TRUE,
PR_TRUE);
if (NS_FAILED(ret)) {
return ret;
}
nsCOMPtr<nsIServiceManager> servMgr(do_QueryInterface(aServMgr, &rv));
if (NS_FAILED(rv)) return rv;
return ret;
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(const char* path)
NSUnregisterSelf(nsISupports* aServMgr, const char* path)
{
nsresult ret;
nsresult rv;
ret = nsRepository::UnregisterFactory(kPropertiesCID, path);
if (NS_FAILED(ret)) {
return ret;
}
nsCOMPtr<nsIServiceManager> servMgr(do_QueryInterface(aServMgr, &rv));
if (NS_FAILED(rv)) return rv;
return ret;
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(const nsCID& aClass, nsISupports* aServMgr, nsIFactory** aFactory)
NSGetFactory(nsISupports* aServMgr,
const nsCID& aClass,
const char *aClassName,
const char *aProgID,
nsIFactory** aFactory)
{
nsresult res;
@@ -78,3 +100,9 @@ NSGetFactory(const nsCID& aClass, nsISupports* aServMgr, nsIFactory** aFactory)
return NS_NOINTERFACE;
}
extern "C" NS_EXPORT PRBool
NSCanUnload(nsISupports* serviceMgr)
{
return PR_FALSE; // XXX can we unload this?
}

View File

@@ -56,7 +56,7 @@ NS_IMPL_ISUPPORTS(ByteBufferImpl,kByteBufferIID)
ByteBufferImpl::~ByteBufferImpl()
{
if (nsnull != mBuffer) {
delete mBuffer;
delete[] mBuffer;
mBuffer = nsnull;
}
mLength = 0;
@@ -87,7 +87,7 @@ PRBool ByteBufferImpl::Grow(PRUint32 aNewSize)
if (0 != mLength) {
nsCRT::memcpy(newbuf, mBuffer, mLength);
}
delete mBuffer;
delete[] mBuffer;
mBuffer = newbuf;
return PR_TRUE;
}
@@ -112,9 +112,8 @@ PRInt32 ByteBufferImpl::Fill(nsresult* aErrorCode, nsIInputStream* aStream,
// Read in some new data
mLength = aKeep;
PRUint32 amount = mSpace - aKeep;
PRUint32 nb;
*aErrorCode = aStream->Read(mBuffer, aKeep, amount, &nb);
*aErrorCode = aStream->Read(mBuffer + aKeep, mSpace - aKeep, &nb);
if (NS_SUCCEEDED(*aErrorCode)) {
mLength += nb;
}

View File

@@ -198,6 +198,16 @@ 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

View File

@@ -31,6 +31,37 @@
#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.
@@ -156,6 +187,10 @@ public:
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

@@ -28,8 +28,8 @@
* @update gess4/18/98
* @return new deque
*/
nsDeque::nsDeque(nsDequeFunctor& aMemDestroyer) : mMemDestroyer(aMemDestroyer) {
mMemDestroyer=aMemDestroyer;
nsDeque::nsDeque(nsDequeFunctor* aDeallocator) {
mDeallocator=aDeallocator;
mCapacity=eGrowthDelta;
mOrigin=mSize=0;
mData=new void*[mCapacity];
@@ -44,6 +44,10 @@ nsDeque::~nsDeque() {
Erase();
delete [] mData;
mData=0;
if(mDeallocator) {
delete mDeallocator;
}
mDeallocator=0;
}
@@ -59,6 +63,13 @@ 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.
*
@@ -82,7 +93,9 @@ nsDeque& nsDeque::Empty() {
* @return this
*/
nsDeque& nsDeque::Erase() {
ForEach(mMemDestroyer);
if(mDeallocator) {
ForEach(*mDeallocator);
}
return Empty();
}

View File

@@ -71,7 +71,7 @@ public:
class NS_BASE nsDeque {
friend class nsDequeIterator;
public:
nsDeque(nsDequeFunctor& aMemDestroyer);
nsDeque(nsDequeFunctor* aDeallocator);
~nsDeque();
/**
@@ -201,6 +201,8 @@ friend class nsDequeIterator;
*/
const void* FirstThat(nsDequeFunctor& aFunctor) const;
void SetDeallocator(nsDequeFunctor* aDeallocator);
/**
* Perform automated selftest on the deque
*
@@ -215,7 +217,7 @@ protected:
PRInt32 mSize;
PRInt32 mCapacity;
PRInt32 mOrigin;
nsDequeFunctor& mMemDestroyer;
nsDequeFunctor* mDeallocator;
void** mData;

View File

@@ -62,45 +62,64 @@ NS_BASE char* nsEscape(const char * str, nsEscapeMask mask)
}
//----------------------------------------------------------------------------------------
NS_BASE char* nsEscapeCount(const char * str, PRInt32 len, nsEscapeMask mask, PRInt32 * out_len)
NS_BASE char* nsEscapeCount(
const char * str,
PRInt32 len,
nsEscapeMask mask,
PRInt32* out_len)
//----------------------------------------------------------------------------------------
{
int32 i, extra = 0;
char *hexChars = "0123456789ABCDEF";
if (!str)
return 0;
if(!str)
return(0);
int i, extra = 0;
char* hexChars = "0123456789ABCDEF";
register const unsigned char* src = (unsigned char *) str;
register const unsigned char* src = (const unsigned char *) str;
for (i = 0; i < len; i++)
{
if (!IS_OK(src[i]))
extra+=2; /* the escape, plus an extra byte for each nibble */
}
{
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);
return 0;
register unsigned char* dst = (unsigned char *) result;
for (i = 0; i < len; i++)
{
unsigned char c = src[i];
if (IS_OK(c))
{
*dst++ = c;
}
else if (mask == url_XPAlphas && c == ' ')
{
*dst++ = '+'; /* convert spaces to pluses */
}
else
{
*dst++ = HEX_ESCAPE;
*dst++ = hexChars[c >> 4]; /* high nibble */
*dst++ = hexChars[c & 0x0f]; /* low nibble */
}
}
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)
@@ -125,27 +144,24 @@ NS_BASE PRInt32 nsUnescapeCount(char * 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

@@ -20,6 +20,7 @@
#include "nsFileStream.h"
#include "nsDebug.h"
#include "nsEscape.h"
#include "prtypes.h"
#include "plstr.h"
@@ -187,7 +188,7 @@ char* nsFileSpecHelpers::GetLeaf(const char* inPath, char inSeparator)
// 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);
char* result = leafPointer ? StringDup(++leafPointer) : StringDup(inPath);
// Restore the poked null before returning.
*(char*)lastSeparator = inSeparator;
#ifdef XP_PC
@@ -225,9 +226,33 @@ void nsFileSpecHelpers::MakeAllDirectories(const char* inPath, int mode)
char* currentEnd = strchr(currentStart + kSkipFirst, kSeparator);
if (currentEnd)
{
nsFileSpec spec;
*currentEnd = '\0';
nsFileSpec spec(nsFilePath(pathCopy, PR_FALSE));
do
#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).
@@ -242,6 +267,9 @@ void nsFileSpecHelpers::MakeAllDirectories(const char* inPath, int mode)
currentEnd = strchr(currentStart, kSeparator);
if (!currentEnd)
break;
*currentEnd = '\0';
spec += currentStart; // "lengthen" the path, adding the next node.
} while (currentEnd);
}
@@ -287,6 +315,23 @@ nsFileURL::nsFileURL(const char* inString, PRBool inCreateDirs)
} // 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)
//----------------------------------------------------------------------------------------
@@ -297,25 +342,25 @@ nsFileURL::nsFileURL(const nsFileURL& inOther)
{
} // nsFileURL::nsFileURL
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFileURL::nsFileURL(const nsFilePath& inOther)
//----------------------------------------------------------------------------------------
: mURL(nsFileSpecHelpers::AllocCat(kFileURLPrefix, (const char*)inOther))
#ifdef XP_MAC
, mFileSpec(inOther.GetFileSpec())
#endif
: mURL(nsnull)
{
*this = inOther;
} // nsFileURL::nsFileURL
#endif
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
nsFileURL::nsFileURL(const nsFileSpec& inOther)
: mURL(nsFileSpecHelpers::AllocCat(kFileURLPrefix, (const char*)nsFilePath(inOther)))
#ifdef XP_MAC
, mFileSpec(inOther)
#endif
: mURL(nsnull)
//----------------------------------------------------------------------------------------
{
*this = inOther;
} // nsFileURL::nsFileURL
#endif
//----------------------------------------------------------------------------------------
nsFileURL::~nsFileURL()
@@ -324,16 +369,15 @@ 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!");
#ifdef XP_MAC
mFileSpec = inString + kFileURLPrefixLength;
#endif
} // nsFileURL::operator =
#endif
//----------------------------------------------------------------------------------------
void nsFileURL::operator = (const nsFileURL& inOther)
@@ -345,36 +389,44 @@ void nsFileURL::operator = (const nsFileURL& inOther)
#endif
} // nsFileURL::operator =
#ifndef XP_MAC
//----------------------------------------------------------------------------------------
void nsFileURL::operator = (const nsFilePath& inOther)
//----------------------------------------------------------------------------------------
{
delete [] mURL;
mURL = nsFileSpecHelpers::AllocCat(kFileURLPrefix, (const char*)inOther);
#ifdef XP_MAC
mFileSpec = inOther.GetFileSpec();
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)
//----------------------------------------------------------------------------------------
{
delete [] mURL;
mURL = nsFileSpecHelpers::AllocCat(kFileURLPrefix, (const char*)nsFilePath(inOther));
#ifdef XP_MAC
mFileSpec = inOther;
#endif
*this = nsFilePath(inOther);
} // nsFileURL::operator =
#endif
#if DEBUG
//----------------------------------------------------------------------------------------
nsOutputStream& operator << (nsOutputStream& s, const nsFileURL& url)
//----------------------------------------------------------------------------------------
{
return (s << url.mURL);
}
#endif
//========================================================================================
// nsFilePath implementation
@@ -408,15 +460,34 @@ nsFilePath::nsFilePath(const char* inString, PRBool inCreateDirs)
}
#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))
#ifdef XP_MAC
, mFileSpec(inOther.GetFileSpec())
#endif
{
}
#endif
#ifdef XP_UNIX
//----------------------------------------------------------------------------------------
@@ -452,6 +523,7 @@ void nsFilePath::operator = (const char* inString)
mFileSpec = inString;
nsFileSpecHelpers::StringAssign(mPath, (const char*)nsFilePath(mFileSpec));
#else
nsFileSpecHelpers::StringAssign(mPath, inString);
#ifdef XP_PC
nsFileSpecHelpers::UnixToNative(mPath);
#endif
@@ -463,11 +535,20 @@ void nsFilePath::operator = (const char* inString)
#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
@@ -490,9 +571,7 @@ nsFileSpec::nsFileSpec()
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(const nsPersistentFileDescriptor& inDescriptor)
//----------------------------------------------------------------------------------------
#ifndef XP_MAC
: mPath(nsnull)
#endif
{
*this = inDescriptor;
}
@@ -500,9 +579,7 @@ nsFileSpec::nsFileSpec(const nsPersistentFileDescriptor& inDescriptor)
//----------------------------------------------------------------------------------------
nsFileSpec::nsFileSpec(const nsFileURL& inURL)
//----------------------------------------------------------------------------------------
#ifndef XP_MAC
: mPath(nsnull)
#endif
{
*this = nsFilePath(inURL); // convert to unix path first
}
@@ -537,7 +614,7 @@ void nsFileSpec::MakeUnique()
}
const int kMaxRootLength
= nsFileSpecHelpers::kMaxCoreLeafNameLength - strlen(suffix) - 1;
if (strlen(leafName) > kMaxRootLength)
if ((int)strlen(leafName) > (int)kMaxRootLength)
leafName[kMaxRootLength] = '\0';
for (short index = 1; index < 1000 && Exists(); index++)
{
@@ -579,6 +656,7 @@ void nsFileSpec::operator = (const nsPersistentFileDescriptor& inDescriptor)
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;
@@ -631,13 +709,23 @@ nsFileSpec::nsFileSpec(const char* inString, PRBool 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()
//----------------------------------------------------------------------------------------
{
#ifndef XP_MAC
delete [] mPath;
#endif
}
#if defined(XP_UNIX) || defined(XP_PC)
@@ -658,21 +746,27 @@ void nsFileSpec::operator = (const char* inString)
{
mPath = nsFileSpecHelpers::StringAssign(mPath, inString);
// Make canonical and absolute.
nsFileSpecHelpers::Canonify(mPath, PR_TRUE /* XXX? */);
nsFileSpecHelpers::Canonify(mPath, PR_FALSE /* XXX? */);
mError = NS_OK;
}
#endif //XP_UNIX
#if DEBUG
#if (defined(XP_UNIX) || defined(XP_PC))
//----------------------------------------------------------------------------------------
nsOutputStream& operator << (nsOutputStream& s, const nsFileSpec& spec)
//----------------------------------------------------------------------------------------
{
return (s << (const char*)spec.mPath);
#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 && XP_UNIX
#endif
#endif // DEBUG ONLY!
//----------------------------------------------------------------------------------------
nsFileSpec nsFileSpec::operator + (const char* inRelativePath) const
@@ -683,6 +777,57 @@ nsFileSpec nsFileSpec::operator + (const char* inRelativePath) const
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
//========================================================================================
@@ -717,7 +862,7 @@ void nsPersistentFileDescriptor::operator = (const nsFileSpec& inSpec)
if (inSpec.Error())
return;
AliasHandle aliasH;
OSErr err = NewAlias(nil, inSpec.operator const FSSpec* const (), &aliasH);
OSErr err = NewAlias(nil, inSpec.GetFSSpecPtr(), &aliasH);
if (err != noErr)
return;
@@ -729,7 +874,7 @@ void nsPersistentFileDescriptor::operator = (const nsFileSpec& inSpec)
nsFileSpecHelpers::StringAssign(mDescriptorString, buf);
PR_Free(buf);
#else
nsFileSpecHelpers::StringAssign(mDescriptorString, inSpec);
nsFileSpecHelpers::StringAssign(mDescriptorString, inSpec.GetCString());
#endif // XP_MAC
} // nsPersistentFileDescriptor::operator =
@@ -762,6 +907,24 @@ void nsPersistentFileDescriptor::SetData(const void* inData, PRInt32 inSize)
#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
@@ -772,15 +935,15 @@ nsInputStream& operator >> (nsInputStream& s, nsPersistentFileDescriptor& d)
PRInt32 bytesRead = 8;
bytesRead = s.read(bigBuffer, bytesRead);
if (bytesRead != 8)
return (nsInputFileStream&)s;
return s;
bigBuffer[8] = '\0';
sscanf(bigBuffer, "%lx", &bytesRead);
sscanf(bigBuffer, "%lx", (PRUint32*)&bytesRead);
if (bytesRead > MAX_PERSISTENT_DATA_SIZE)
return (nsInputFileStream&)s; // preposterous.
return s; // preposterous.
// Now we know how many bytes to read, do it.
s.read(bigBuffer, bytesRead);
d.SetData(bigBuffer, bytesRead);
return (nsInputFileStream&)s;
return s;
}
//----------------------------------------------------------------------------------------
@@ -799,3 +962,14 @@ nsOutputStream& operator << (nsOutputStream& s, const nsPersistentFileDescriptor
s << d.mDescriptorString;
return s;
}
//========================================================================================
// class nsAutoCString
//========================================================================================
//----------------------------------------------------------------------------------------
nsAutoCString::~nsAutoCString()
//----------------------------------------------------------------------------------------
{
delete [] (char*)mCString;
}

View File

@@ -22,6 +22,7 @@
#include "nsFileStream.h"
#include "nsIStringStream.h"
#include <string.h>
#include <stdio.h>
@@ -35,7 +36,6 @@
nsInputStream::~nsInputStream()
//----------------------------------------------------------------------------------------
{
mInputStream->Close();
}
//----------------------------------------------------------------------------------------
@@ -47,6 +47,19 @@ char nsInputStream::get()
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
@@ -76,7 +89,6 @@ nsInputStream& nsInputStream::operator >> (char& c)
nsOutputStream::~nsOutputStream()
//----------------------------------------------------------------------------------------
{
mOutputStream->Close();
}
//----------------------------------------------------------------------------------------
@@ -86,6 +98,17 @@ 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()
//----------------------------------------------------------------------------------------
@@ -113,7 +136,7 @@ nsOutputStream& nsOutputStream::operator << (short val)
//----------------------------------------------------------------------------------------
{
char buf[30];
sprintf(buf, "%d", val);
sprintf(buf, "%hd", val);
return (*this << buf);
}
@@ -122,7 +145,7 @@ nsOutputStream& nsOutputStream::operator << (unsigned short val)
//----------------------------------------------------------------------------------------
{
char buf[30];
sprintf(buf, "%ud", val);
sprintf(buf, "%hu", val);
return (*this << buf);
}
@@ -140,16 +163,34 @@ nsOutputStream& nsOutputStream::operator << (unsigned long val)
//----------------------------------------------------------------------------------------
{
char buf[30];
sprintf(buf, "%uld", val);
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);
}
//========================================================================================
// nsInputFileStream
// nsRandomAccessInputStream
//========================================================================================
//----------------------------------------------------------------------------------------
PRBool nsInputFileStream::readline(char* s, PRInt32 n)
PRBool nsRandomAccessInputStream::readline(char* s, PRInt32 n)
// This will truncate if the buffer is too small. Result will always be null-terminated.
//----------------------------------------------------------------------------------------
{
@@ -175,7 +216,84 @@ PRBool nsInputFileStream::readline(char* s, PRInt32 n)
position += bytesRead;
seek(position);
return bufferLargeEnough;
} // nsInputStream::readline
} // 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

View File

@@ -35,7 +35,7 @@ class nsISizeOfHandler;
*/
class nsIAtom : public nsISupports {
public:
static const nsIID& IID() { static nsIID iid = NS_IATOM_IID; return iid; }
static const nsIID& GetIID() { static nsIID iid = NS_IATOM_IID; return iid; }
/**
* Translate the unicode string into the stringbuf.

View File

@@ -31,7 +31,7 @@
class nsIBaseStream : public nsISupports {
public:
static const nsIID& IID() { static nsIID iid = NS_IBASESTREAM_IID; return iid; }
static const nsIID& GetIID() { static nsIID iid = NS_IBASESTREAM_IID; return iid; }
/** Close the stream. */
NS_IMETHOD

View File

@@ -16,8 +16,7 @@
//========================================================================================
class FileImpl
: public nsIOutputStream
, public nsIInputStream
: public nsIRandomAccessStore
, public nsIFileOutputStream
, public nsIFileInputStream
, public nsIFile
@@ -78,7 +77,6 @@ class FileImpl
return NS_OK;
}
NS_IMETHOD Read(char* aBuf,
PRUint32 aOffset,
PRUint32 aCount,
PRUint32 *aReadCount)
{
@@ -92,8 +90,6 @@ class FileImpl
return NS_FILE_RESULT(PR_BAD_DESCRIPTOR_ERROR);
if (mFailed)
return NS_ERROR_FAILURE;
if (aOffset)
PR_Seek(mFileDesc, aOffset, PR_SEEK_CUR);
PRInt32 bytesRead = PR_Read(mFileDesc, aBuf, aCount);
if (bytesRead < 0)
{
@@ -106,7 +102,6 @@ class FileImpl
}
// nsIOutputStream interface
NS_IMETHOD Write(const char* aBuf,
PRUint32 aOffset,
PRUint32 aCount,
PRUint32 *aWriteCount)
{
@@ -127,10 +122,8 @@ class FileImpl
return NS_FILE_RESULT(PR_BAD_DESCRIPTOR_ERROR);
if (mFailed)
return NS_ERROR_FAILURE;
if (aOffset)
PR_Seek(mFileDesc, aOffset, PR_SEEK_CUR);
PRInt32 bytesWrit = PR_Write(mFileDesc, aBuf, aCount);
if (bytesWrit != aCount)
if (bytesWrit != (PRInt32)aCount)
{
mFailed = PR_TRUE;
*aWriteCount = 0;
@@ -141,21 +134,32 @@ class FileImpl
}
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;
PRFileDesc* mFileDesc;
int mNSPRMode;
PRBool mFailed;
PRBool mEOF;
PRInt32 mLength;
}; // class FileImpl
#define SAY_I_IMPLEMENT(classname) \
if (aIID.Equals(classname::IID())) \
{ \
#define SAY_I_IMPLEMENT(classname) \
if (aIID.Equals(classname::GetIID())) \
{ \
*aInstancePtr = (void*)((classname*)this); \
NS_ADDREF_THIS(); \
return NS_OK; \
NS_ADDREF_THIS(); \
return NS_OK; \
}
NS_IMPL_RELEASE(FileImpl)
@@ -171,6 +175,7 @@ NS_IMETHODIMP FileImpl::QueryInterface(REFNSIID aIID, void** aInstancePtr)
*aInstancePtr = nsnull;
SAY_I_IMPLEMENT(nsIFile)
SAY_I_IMPLEMENT(nsIRandomAccessStore)
SAY_I_IMPLEMENT(nsIOutputStream)
SAY_I_IMPLEMENT(nsIInputStream)
SAY_I_IMPLEMENT(nsIFileInputStream)
@@ -179,13 +184,13 @@ NS_IMETHODIMP FileImpl::QueryInterface(REFNSIID aIID, void** aInstancePtr)
// of nsISupports), one through
// nsIOutputStream, the other through nsIInputStream. Resolve this
// by giving them a specific one
if (aIID.Equals(((nsIBaseStream*)(nsIOutputStream*)this)->IID()))
if (aIID.Equals(((nsIBaseStream*)(nsIOutputStream*)this)->GetIID()))
{
*aInstancePtr = (void*)((nsIBaseStream*)(nsIOutputStream*)this);
NS_ADDREF_THIS();
return NS_OK;
}
if (aIID.Equals(((nsISupports*)(nsIOutputStream*)this)->IID()))
if (aIID.Equals(((nsISupports*)(nsIOutputStream*)this)->GetIID()))
{
*aInstancePtr = (void*)((nsISupports*)(nsIOutputStream*)this);
NS_ADDREF_THIS();
@@ -296,7 +301,7 @@ NS_IMETHODIMP FileImpl::Seek(PRSeekWhence whence, PRInt32 offset)
PRInt32 position = PR_Seek(mFileDesc, 0, PR_SEEK_CUR);
PRInt32 available = PR_Available(mFileDesc);
PRInt32 fileSize = position + available;
PRInt32 newPosition;
PRInt32 newPosition = 0;
switch (whence)
{
case PR_SEEK_CUR: newPosition = position + offset; break;
@@ -308,7 +313,7 @@ NS_IMETHODIMP FileImpl::Seek(PRSeekWhence whence, PRInt32 offset)
newPosition = 0;
mFailed = PR_TRUE;
}
else if (newPosition >= fileSize)
if (newPosition >= fileSize) // nb: not "else if".
{
newPosition = fileSize;
mEOF = PR_TRUE;

View File

@@ -28,7 +28,7 @@
class nsIInputStream : public nsIBaseStream {
public:
static const nsIID& IID() { static nsIID iid = NS_IINPUTSTREAM_IID; return iid; }
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
@@ -42,7 +42,6 @@ public:
/** 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 aOffset the start offset of the data
* @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
@@ -50,7 +49,7 @@ public:
* @return error status
*/
NS_IMETHOD
Read(char* aBuf, PRUint32 aOffset, PRUint32 aCount, PRUint32 *aReadCount) = 0;
Read(char* aBuf, PRUint32 aCount, PRUint32 *aReadCount) = 0;
};
#endif /* nsInputStream_h___ */

View File

@@ -29,11 +29,10 @@
class nsIOutputStream : public nsIBaseStream {
public:
static const nsIID& IID() { static nsIID iid = NS_IOUTPUTSTREAM_IID; return iid; }
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 aOffset the start offset of the data
* @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
@@ -41,7 +40,7 @@ public:
* @return error status
*/
NS_IMETHOD
Write(const char* aBuf, PRUint32 aOffset, PRUint32 aCount, PRUint32 *aWriteCount) = 0;
Write(const char* aBuf, PRUint32 aCount, PRUint32 *aWriteCount) = 0;
};

View File

@@ -0,0 +1,463 @@
#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

@@ -45,6 +45,8 @@ typedef void
*/
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

View File

@@ -35,7 +35,9 @@ class nsITimer;
*/
class nsITimerCallback : public nsISupports {
public:
virtual void Notify(nsITimer *timer)=0;
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ITIMERCALLBACK_IID)
virtual void Notify(nsITimer *timer) = 0;
};
#endif

View File

@@ -61,7 +61,7 @@ nsProperties::nsProperties()
mTable = nsnull;
}
PR_CALLBACK PRIntn
PR_STATIC_CALLBACK(PRIntn)
FreeHashEntries(PLHashEntry* he, PRIntn i, void* arg)
{
delete[] (PRUnichar*)he->key;

View File

@@ -0,0 +1,369 @@
/* -*- 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

@@ -148,7 +148,7 @@ static void CheckCaseConversion()
if(NULL == gCaseConv )
StartUpCaseConversion();
NS_ASSERTION( gCaseConv != NULL , "cannot obtain UnicharUtil");
// NS_ASSERTION( gCaseConv != NULL , "cannot obtain UnicharUtil");
}
@@ -489,9 +489,11 @@ void nsString::ToLowerCase()
{
// I18N code begin
CheckCaseConversion();
nsresult err = gCaseConv->ToLower(mStr, mStr, mLength);
if( NS_SUCCEEDED(err))
return;
if(gCaseConv) {
nsresult err = gCaseConv->ToLower(mStr, mStr, mLength);
if( NS_SUCCEEDED(err))
return;
}
// I18N code end
// somehow UnicharUtil return failed, fallback to the old ascii only code
@@ -514,9 +516,11 @@ void nsString::ToUpperCase()
{
// I18N code begin
CheckCaseConversion();
nsresult err = gCaseConv->ToUpper(mStr, mStr, mLength);
if( NS_SUCCEEDED(err))
return;
if(gCaseConv) {
nsresult err = gCaseConv->ToUpper(mStr, mStr, mLength);
if( NS_SUCCEEDED(err))
return;
}
// I18N code end
// somehow UnicharUtil return failed, fallback to the old ascii only code
@@ -562,10 +566,12 @@ void nsString::ToLowerCase(nsString& aOut) const
// I18N code begin
CheckCaseConversion();
nsresult err = gCaseConv->ToLower(mStr, aOut.mStr, mLength);
(*(aOut.mStr+mLength)) = 0;
if( NS_SUCCEEDED(err))
return;
if(gCaseConv) {
nsresult err = gCaseConv->ToLower(mStr, aOut.mStr, mLength);
(*(aOut.mStr+mLength)) = 0;
if( NS_SUCCEEDED(err))
return;
}
// I18N code end
// somehow UnicharUtil return failed, fallback to the old ascii only code
@@ -596,10 +602,12 @@ void nsString::ToUpperCase(nsString& aOut) const
// I18N code begin
CheckCaseConversion();
nsresult err = gCaseConv->ToUpper(mStr, aOut.mStr, mLength);
(*(aOut.mStr+mLength)) = 0;
if( NS_SUCCEEDED(err))
return;
if(gCaseConv) {
nsresult err = gCaseConv->ToUpper(mStr, aOut.mStr, mLength);
(*(aOut.mStr+mLength)) = 0;
if( NS_SUCCEEDED(err))
return;
}
// I18N code end
// somehow UnicharUtil return failed, fallback to the old ascii only code
@@ -758,10 +766,11 @@ PRInt32 nsString::ToInteger(PRInt32* aErrorCode,PRInt32 aRadix) const {
result=-result;
break;
}
else if('+'==theChar) { //stop in a good state if you see this...
else if(('+'==theChar) || (' '==theChar)) { //stop in a good state if you see this...
break;
}
else if(' '==theChar){ //stop in a good state if you see this...
else if((('x'==theChar) || ('X'==theChar)) && (16==aRadix)) {
//stop in a good state.
break;
}
else{
@@ -1691,7 +1700,7 @@ PRInt32 nsString::RFind(const char* anAsciiSet,PRBool aIgnoreCase) const{
*/
PRInt32 nsString::RFind(PRUnichar aChar,PRBool aIgnoreCase) const{
chartype uc=nsCRT::ToUpper(aChar);
for(PRInt32 offset=mLength-1;offset>0;offset--)
for(PRInt32 offset=mLength-1;offset>=0;offset--)
if(aIgnoreCase) {
if(nsCRT::ToUpper(mStr[offset])==uc)
return offset;
@@ -2150,7 +2159,6 @@ ostream& operator<<(ostream& os,nsAutoString& aString){
}
/**
*
* @update gess 7/27/98
@@ -2170,7 +2178,7 @@ NS_BASE int fputs(const nsString& aString, FILE* out)
if(len>0)
::fwrite(cp, 1, len, out);
if (cp != buf) {
delete cp;
delete [] cp;
}
return (int) len;
}

View File

@@ -44,6 +44,18 @@ public:
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.
*/

View File

@@ -56,7 +56,7 @@ NS_IMPL_ISUPPORTS(UnicharBufferImpl,kUnicharBufferIID)
UnicharBufferImpl::~UnicharBufferImpl()
{
if (nsnull != mBuffer) {
delete mBuffer;
delete[] mBuffer;
mBuffer = nsnull;
}
mLength = 0;
@@ -87,7 +87,7 @@ PRBool UnicharBufferImpl::Grow(PRInt32 aNewSize)
if (0 != mLength) {
nsCRT::memcpy(newbuf, mBuffer, mLength * sizeof(PRUnichar));
}
delete mBuffer;
delete[] mBuffer;
mBuffer = newbuf;
return PR_TRUE;
}

View File

@@ -125,6 +125,8 @@ NS_NewStringUnicharInputStream(nsIUnicharInputStream** aInstancePtrResult,
* 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,

View File

@@ -146,12 +146,12 @@ typedef PRUcs2 PRUnichar;
/* ------------------------------------------------------------------------ */
// Casting macros for hiding C++ features from older compilers
#define HAS_C_PLUS_PLUS_CASTS // we'll be optimistic.
#if defined(__sgi) && !defined(__GNUC__)
#undef HAS_C_PLUS_PLUS_CASTS
// unix now determines this automatically
#ifndef XP_UNIX
#define HAVE_CPP_NEW_CASTS // we'll be optimistic.
#endif
#if defined(HAS_C_PLUS_PLUS_CASTS)
#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)

View File

@@ -25,9 +25,42 @@
#include <dirent.h>
#include <unistd.h>
#include <stdlib.h>
#include <limits.h>
#include "nsError.h"
//----------------------------------------------------------------------------------------
#if defined(IRIX) || defined(OSF1) || defined(SOLARIS) || defined(UNIXWARE) || defined(SNI) || defined(NCR) || defined(NEC) || defined(DGUX)
#include <sys/statvfs.h> /* for statvfs() */
#define STATFS statvfs
#elif defined(SCO_SV)
#define _SVID3/* for statvfs.h */
#include <sys/statvfs.h> /* for statvfs() */
#define STATFS statvfs
#elif defined(HPUX)
#include <sys/vfs.h> /* for statfs() */
#define STATFS statfs
#elif defined(LINUX)
#include <sys/vfs.h> /* for statfs() */
#define STATFS statfs
#elif defined(SUNOS4)
#include <sys/vfs.h> /* for statfs() */
extern "C" int statfs(char *, struct statfs *);
#define STATFS statfs
#else
#if defined(BSDI) || defined(NETBSD) || defined(OPENBSD) || defined(RHAPSODY) || defined(FREEBSD)
#include <sys/mount.h>/* for statfs() */
#define STATFS statfs
#else
#include <sys/statfs.h> /* for statfs() */
#define STATFS statfs
extern "C" int statfs(char *, struct statfs *);
#endif
#endif
#if defined(OSF1)
extern "C" int statvfs(const char *, struct statvfs *);
#endif
//----------------------------------------------------------------------------------------
void nsFileSpecHelpers::Canonify(char*& ioPath, PRBool inMakeDirs)
// Canonify, make absolute, and check whether directories exist
//----------------------------------------------------------------------------------------
@@ -98,6 +131,27 @@ PRBool nsFileSpec::Exists() const
return 0 == stat(mPath, &st);
} // nsFileSpec::Exists
//----------------------------------------------------------------------------------------
void nsFileSpec::GetModDate(TimeStamp& outStamp) const
//----------------------------------------------------------------------------------------
{
struct stat st;
if (stat(mPath, &st) == 0)
outStamp = st.st_mtime;
else
outStamp = 0;
} // nsFileSpec::GetModDate
//----------------------------------------------------------------------------------------
PRUint32 nsFileSpec::GetFileSize() const
//----------------------------------------------------------------------------------------
{
struct stat st;
if (stat(mPath, &st) == 0)
return (PRUint32)st.st_size;
return 0;
} // nsFileSpec::GetFileSize
//----------------------------------------------------------------------------------------
PRBool nsFileSpec::IsFile() const
//----------------------------------------------------------------------------------------
@@ -148,7 +202,7 @@ void nsFileSpec::CreateDirectory(int mode)
} // nsFileSpec::CreateDirectory
//----------------------------------------------------------------------------------------
void nsFileSpec::Delete(PRBool inRecursive)
void nsFileSpec::Delete(PRBool inRecursive) const
// To check if this worked, call Exists() afterwards, see?
//----------------------------------------------------------------------------------------
{
@@ -186,7 +240,9 @@ nsresult nsFileSpec::Rename(const char* inNewName)
return NS_OK;
} // nsFileSpec::Rename
//----------------------------------------------------------------------------------------
static int CrudeFileCopy(const char* in, const char* out)
//----------------------------------------------------------------------------------------
{
struct stat in_stat;
int stat_result = -1;
@@ -248,12 +304,14 @@ nsresult nsFileSpec::Copy(const nsFileSpec& inParentDirectory) const
if (inParentDirectory.IsDirectory() && (! IsDirectory() ) )
{
char *leafname = GetLeafName();
char* destPath = nsFileSpecHelpers::StringDup(inParentDirectory, ( strlen(inParentDirectory) + 1 + strlen(leafname) ) );
char* destPath = nsFileSpecHelpers::StringDup(
inParentDirectory.GetCString(),
strlen(inParentDirectory.GetCString()) + 1 + strlen(leafname));
strcat(destPath, "/");
strcat(destPath, leafname);
delete [] leafname;
result = NS_FILE_RESULT(CrudeFileCopy(*this, destPath));
result = NS_FILE_RESULT(CrudeFileCopy(GetCString(), destPath));
delete [] destPath;
}
@@ -272,16 +330,17 @@ nsresult nsFileSpec::Move(const nsFileSpec& inNewParentDirectory) const
char *leafname = GetLeafName();
char* destPath
= nsFileSpecHelpers::StringDup(
inNewParentDirectory,
strlen(inNewParentDirectory) + 1 + strlen(leafname));
inNewParentDirectory.GetCString(),
strlen(inNewParentDirectory.GetCString()) + 1 + strlen(leafname));
strcat(destPath, "/");
strcat(destPath, leafname);
delete [] leafname;
result = NS_FILE_RESULT(CrudeFileCopy(*this, destPath));
result = NS_FILE_RESULT(CrudeFileCopy(GetCString(), destPath));
if (result == NS_OK)
{
Delete(PR_FALSE);
// cast to fix const-ness
((nsFileSpec*)this)->Delete(PR_FALSE);
}
delete [] destPath;
}
@@ -309,6 +368,31 @@ nsresult nsFileSpec::Execute(const char* inArgs ) const
} // nsFileSpec::Execute
//----------------------------------------------------------------------------------------
PRUint32 nsFileSpec::GetDiskSpaceAvailable() const
//----------------------------------------------------------------------------------------
{
char curdir [MAXPATHLEN];
if (!mPath || !*mPath)
{
(void) getcwd(curdir, MAXPATHLEN);
if (!curdir)
return ULONG_MAX; /* hope for the best as we did in cheddar */
}
else
sprintf(curdir, "%.200s", mPath);
struct STATFS fs_buf;
if (STATFS(curdir, &fs_buf) < 0)
return ULONG_MAX; /* hope for the best as we did in cheddar */
#ifdef DEBUG_DISK_SPACE
printf("DiskSpaceAvailable: %d bytes\n",
fs_buf.f_bsize * (fs_buf.f_bavail - 1));
#endif
return fs_buf.f_bsize * (fs_buf.f_bavail - 1);
} // nsFileSpec::GetDiskSpace()
//========================================================================================
// nsDirectoryIterator
//========================================================================================
@@ -316,11 +400,11 @@ nsresult nsFileSpec::Execute(const char* inArgs ) const
//----------------------------------------------------------------------------------------
nsDirectoryIterator::nsDirectoryIterator(
const nsFileSpec& inDirectory
, int inIterateDirection)
, int /*inIterateDirection*/)
//----------------------------------------------------------------------------------------
: mCurrent(inDirectory)
, mExists(PR_FALSE)
, mDir(nsnull)
, mExists(false)
{
mCurrent += "sysygy"; // prepare the path for SetLeafName
mDir = opendir((const char*)nsFilePath(inDirectory));
@@ -339,7 +423,7 @@ nsDirectoryIterator::~nsDirectoryIterator()
nsDirectoryIterator& nsDirectoryIterator::operator ++ ()
//----------------------------------------------------------------------------------------
{
mExists = false;
mExists = PR_FALSE;
if (!mDir)
return *this;
char* dot = ".";
@@ -351,7 +435,7 @@ nsDirectoryIterator& nsDirectoryIterator::operator ++ ()
entry = readdir(mDir);
if (entry)
{
mExists = true;
mExists = PR_TRUE;
mCurrent.SetLeafName(entry->d_name);
}
return *this;

View File

@@ -23,9 +23,13 @@ LIBRARY_NAME=gmbase
MODULE=raptor
REQUIRES=xpcom raptor
CPPSRCS=nsTimer.cpp
CPP_OBJS=.\$(OBJDIR)\nsTimer.obj
CPPSRCS= nsTimer.cpp \
nsCaretProperties.cpp \
$(NULL)
CPP_OBJS= .\$(OBJDIR)\nsTimer.obj \
.\$(OBJDIR)\nsCaretProperties.obj \
$(NULL)
LINCS=-I$(XPDIST)\public\xpcom -I$(XPDIST)\public\raptor
@@ -38,3 +42,4 @@ include <$(DEPTH)\config\rules.mak>
libs:: $(OBJS)
$(MAKE_INSTALL) $(OBJDIR)\nsTimer.obj ..\$(OBJDIR)
$(MAKE_INSTALL) $(OBJDIR)\nsCaretProperties.obj ..\$(OBJDIR)

View File

@@ -29,7 +29,7 @@ nsCaretProperties::nsCaretProperties()
, mBlinkRate(eDefaulBlinkRate)
{
// in your platform-specific class, get data from the OS in your constructor
mCaretWidth = 2; // 2 pixel caret on Windows
mCaretWidth = 30; // 2 pixel caret on Windows
}

View File

@@ -21,6 +21,7 @@
#include <sys/stat.h>
#include <direct.h>
#include <limits.h>
#include <stdlib.h>
#include "prio.h"
#include "nsError.h"
@@ -41,13 +42,15 @@ void nsFileSpecHelpers::Canonify(char*& ioPath, PRBool inMakeDirs)
//----------------------------------------------------------------------------------------
{
if (!ioPath)
return;
if (inMakeDirs) {
const int mode = 0700;
char* unixStylePath = nsFileSpecHelpers::StringDup(ioPath);
nsFileSpecHelpers::NativeToUnix(unixStylePath);
nsFileSpecHelpers::MakeAllDirectories(unixStylePath, mode);
delete[] unixStylePath;
return;
if (inMakeDirs)
{
const int mode = 0700;
char* unixStylePath = nsFileSpecHelpers::StringDup(ioPath);
nsFileSpecHelpers::NativeToUnix(unixStylePath);
nsFileSpecHelpers::MakeAllDirectories(unixStylePath, mode);
delete[] unixStylePath;
}
char buffer[_MAX_PATH];
errno = 0;
@@ -56,7 +59,7 @@ void nsFileSpecHelpers::Canonify(char*& ioPath, PRBool inMakeDirs)
NS_ASSERTION( canonicalPath[0] != '\0', "Uh oh...couldn't convert" );
if (canonicalPath[0] == '\0')
return;
return;
nsFileSpecHelpers::StringAssign(ioPath, canonicalPath);
}
@@ -188,6 +191,27 @@ PRBool nsFileSpec::Exists() const
return 0 == stat(mPath, &st);
} // nsFileSpec::Exists
//----------------------------------------------------------------------------------------
void nsFileSpec::GetModDate(TimeStamp& outStamp) const
//----------------------------------------------------------------------------------------
{
struct stat st;
if (stat(mPath, &st) == 0)
outStamp = st.st_mtime;
else
outStamp = 0;
} // nsFileSpec::GetModDate
//----------------------------------------------------------------------------------------
PRUint32 nsFileSpec::GetFileSize() const
//----------------------------------------------------------------------------------------
{
struct stat st;
if (stat(mPath, &st) == 0)
return (PRUint32)st.st_size;
return 0;
} // nsFileSpec::GetFileSize
//----------------------------------------------------------------------------------------
PRBool nsFileSpec::IsFile() const
//----------------------------------------------------------------------------------------
@@ -225,7 +249,12 @@ void nsFileSpec::operator += (const char* inRelativePath)
nsFileSpecHelpers::ReallocCat(mPath, "x");
else
nsFileSpecHelpers::ReallocCat(mPath, "\\x");
SetLeafName(inRelativePath);
// If it's a (unix) relative path, make it native
char* dosPath = nsFileSpecHelpers::StringDup(inRelativePath);
nsFileSpecHelpers::UnixToNative(dosPath);
SetLeafName(dosPath);
delete [] dosPath;
} // nsFileSpec::operator +=
//----------------------------------------------------------------------------------------
@@ -237,24 +266,24 @@ void nsFileSpec::CreateDirectory(int /*mode*/)
} // nsFileSpec::CreateDirectory
//----------------------------------------------------------------------------------------
void nsFileSpec::Delete(PRBool inRecursive)
void nsFileSpec::Delete(PRBool inRecursive) const
//----------------------------------------------------------------------------------------
{
if (IsDirectory())
if (IsDirectory())
{
if (inRecursive)
{
for (nsDirectoryIterator i(*this); i.Exists(); i++)
{
nsFileSpec& child = (nsFileSpec&)i;
child.Delete(inRecursive);
}
for (nsDirectoryIterator i(*this); i.Exists(); i++)
{
nsFileSpec& child = (nsFileSpec&)i;
child.Delete(inRecursive);
}
}
rmdir(mPath);
}
else
{
remove(mPath);
remove(mPath);
}
} // nsFileSpec::Delete
@@ -357,6 +386,49 @@ nsresult nsFileSpec::Execute(const char* inArgs ) const
return NS_FILE_FAILURE;
} // nsFileSpec::Execute
//----------------------------------------------------------------------------------------
PRUint32 nsFileSpec::GetDiskSpaceAvailable() const
//----------------------------------------------------------------------------------------
{
char aDrive[_MAX_DRIVE + 2];
_splitpath( mPath, aDrive, NULL, NULL, NULL);
if (aDrive[0] == '\0')
{
// The back end is always trying to pass us paths that look
// like /c|/netscape/mail. See if we've got one of them
if (strlen(mPath) > 2 && mPath[0] == '/' && mPath[2] == '|')
{
aDrive[0] = mPath[1];
aDrive[1] = ':';
aDrive[2] = '\0';
}
else
{
// Return bogus large number and hope for the best
return ULONG_MAX;
}
}
strcat(aDrive, "\\");
DWORD dwSectorsPerCluster = 0;
DWORD dwBytesPerSector = 0;
DWORD dwFreeClusters = 0;
DWORD dwTotalClusters = 0;
if (!GetDiskFreeSpace(aDrive,
&dwSectorsPerCluster,
&dwBytesPerSector,
&dwFreeClusters,
&dwTotalClusters))
{
return ULONG_MAX; // Return bogus large number and hope for the best
}
// We can now figure free disk space.
return dwFreeClusters * dwSectorsPerCluster * dwBytesPerSector;
} // nsFileSpec::GetDiskSpaceAvailable()
//========================================================================================
// nsDirectoryIterator
//========================================================================================
@@ -368,7 +440,7 @@ nsDirectoryIterator::nsDirectoryIterator(
//----------------------------------------------------------------------------------------
: mCurrent(inDirectory)
, mDir(nsnull)
, mExists(false)
, mExists(PR_FALSE)
{
mDir = PR_OpenDir(inDirectory);
mCurrent += "dummy";
@@ -387,13 +459,13 @@ nsDirectoryIterator::~nsDirectoryIterator()
nsDirectoryIterator& nsDirectoryIterator::operator ++ ()
//----------------------------------------------------------------------------------------
{
mExists = false;
mExists = PR_FALSE;
if (!mDir)
return *this;
PRDirEntry* entry = PR_ReadDir(mDir, PR_SKIP_BOTH); // Ignore '.' && '..'
PRDirEntry* entry = PR_ReadDir(mDir, PR_SKIP_BOTH); // Ignore '.' && '..'
if (entry)
{
mExists = true;
mExists = PR_TRUE;
mCurrent.SetLeafName(entry->name);
}
return *this;

File diff suppressed because it is too large Load Diff

View File

@@ -42,7 +42,7 @@ LIBS = \
$(TK_LIBS) \
-lpref \
-lsecfree \
-ljs \
-l$(MOZ_LIB_JS_PREFIX)js \
-lxp \
-lraptorbase \
-lxpcom \

View File

@@ -24,7 +24,7 @@
#include "nsIProperties.h"
#include "nsIServiceManager.h"
#include "nsIURL.h"
#include "nsRepository.h"
#include "nsIComponentManager.h"
#ifdef XP_PC
#include "plevent.h"
#endif
@@ -60,9 +60,9 @@ extern "C" void NS_SetupRegistry();
int
main(int argc, char *argv[])
{
nsRepository::RegisterFactory(kNetServiceCID, NETLIB_DLL, PR_FALSE,
PR_FALSE);
nsRepository::RegisterFactory(kEventQueueServiceCID, XPCOM_DLL,
nsComponentManager::RegisterComponent(kNetServiceCID, NULL, NULL, NETLIB_DLL,
PR_FALSE, PR_FALSE);
nsComponentManager::RegisterComponent(kEventQueueServiceCID, NULL, NULL, XPCOM_DLL,
PR_FALSE, PR_FALSE);
#ifdef XP_MAC // have not build this on PC and UNIX yet so make it #ifdef XP_MAC
NS_SetupRegistry();
@@ -102,7 +102,7 @@ main(int argc, char *argv[])
return 1;
}
nsIProperties *props = nsnull;
ret = nsRepository::CreateInstance(kPropertiesCID, NULL,
ret = nsComponentManager::CreateInstance(kPropertiesCID, NULL,
kIPropertiesIID, (void**) &props);
if (NS_FAILED(ret)) {
printf("create nsIProperties failed\n");

View File

@@ -45,7 +45,7 @@ LLIBS= \
$(DIST)\lib\netlib.lib \
!endif
$(LIBNSPR) \
$(DIST)\lib\libplc21.lib \
$(DIST)\lib\plc3.lib \
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
$(GLOWDIR)\glowcode.lib \
!endif

View File

@@ -0,0 +1,104 @@
dnl The contents of this file are subject to the Netscape Public License
dnl Version 1.0 (the "NPL"); you may not use this file except in
dnl compliance with the NPL. You may obtain a copy of the NPL at
dnl http://www.mozilla.org/NPL/
dnl
dnl Software distributed under the NPL is distributed on an "AS IS" basis,
dnl WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
dnl for the specific language governing rights and limitations under the
dnl NPL.
dnl
dnl The Initial Developer of this code under the NPL is Netscape
dnl Communications Corporation. Portions created by Netscape are
dnl Copyright (C) 1999 Netscape Communications Corporation. All Rights
dnl Reserved.
dnl
dnl altoptions.m4 - An alternative way of specifying command-line options.
dnl These macros are needed to support a menu-based configurator.
dnl This file also includes the macro, AM_READ_MYCONFIG, for reading
dnl the 'myconfig.m4' file.
dnl Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
dnl MOZ_ARG_ENABLE_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE]])
dnl MOZ_ARG_DISABLE_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE]])
dnl MOZ_ARG_ENABLE_STRING( NAME, HELP, IF-SET [, ELSE])
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING( NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
dnl MOZ_ARG_WITH_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE])
dnl MOZ_ARG_WITHOUT_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE])
dnl MOZ_ARG_WITH_STRING( NAME, HELP, IF-SET [, ELSE])
dnl MOZ_ARG_HEADER(Comment)
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
dnl MOZ_TWO_STRING_TEST(NAME, STR1, IF-STR1, STR2, IF-STR2 [, ELSE])
AC_DEFUN(MOZ_TWO_STRING_TEST,
[if test "$enableval" = "[$2]"; then
ifelse([$3], , :, [$3])
elif test "$enableval" = "[$4]"; then
ifelse([$5], , :, [$5])
else
ifelse([$6], ,
[AC_MSG_ERROR([Option, [$1], does not take an argument ($enableval).])],
[$6])
fi])
dnl MOZ_ARG_ENABLE_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE]])
AC_DEFUN(MOZ_ARG_ENABLE_BOOL,
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4])],
[$5])])
dnl MOZ_ARG_DISABLE_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE]])
AC_DEFUN(MOZ_ARG_DISABLE_BOOL,
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], no, [$3], yes, [$4])],
[$5])])
dnl MOZ_ARG_ENABLE_STRING(NAME, HELP, IF-SET [, ELSE])
AC_DEFUN(MOZ_ARG_ENABLE_STRING,
[AC_ARG_ENABLE([$1], [$2], [$3], [$4])])
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING(NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
AC_DEFUN(MOZ_ARG_ENABLE_BOOL_OR_STRING,
[ifelse([$5], ,
[errprint([Option, $1, needs an "IF-SET" argument.
])
m4exit(1)],
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4], [$5])],
[$6])])])
dnl MOZ_ARG_WITH_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE])
AC_DEFUN(MOZ_ARG_WITH_BOOL,
[AC_ARG_WITH([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4])],
[$5])])
dnl MOZ_ARG_WITHOUT_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE])
AC_DEFUN(MOZ_ARG_WITHOUT_BOOL,
[AC_ARG_WITH([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], no, [$3], yes, [$4])],
[$5])])
dnl MOZ_ARG_WITH_STRING(NAME, HELP, IF-SET [, ELSE])
AC_DEFUN(MOZ_ARG_WITH_STRING,
[AC_ARG_WITH([$1], [$2], [$3], [$4])])
dnl MOZ_ARG_HEADER(Comment)
dnl This is used by webconfig to group options
define(MOZ_ARG_HEADER, [# $1])
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
AC_DEFUN(MOZ_READ_MOZCONFIG,
[AC_REQUIRE([AC_INIT_BINSH])dnl
# Read in 'mozconfig.sh' script to set the initial options.
# See the load-mozconfig.sh script for more details.
TOPSRCDIR=`dirname [$]0`
PATH="$TOPSRCDIR/build/autoconf:$PATH"
. load-mozconfig.sh])
dnl This gets inserted at the top of the configure script
MOZ_READ_MOZCONFIG

View File

@@ -0,0 +1,46 @@
#!/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) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# clean-config.sh - Removes all files generated by mozilla configure.
# Only removes files from the topsrcdir. To clean up an objdir,
# simply remove the directory and start over.
#
# Usage:
# 1. cd <topsrcdir>
# 2. build/autoconf/clean-config.sh
#
# Send comments, improvements, bugs to slamm@netscape.com
topsrcdir=`cd \`dirname $0\`/../..; pwd`
if [ ! -f configure.in ]; then
echo "clean-config.sh only cleans the source tree. To run," 2>&1
echo " cd $topsrcdir; build/autoconf/clean-config.sh" 2>&1
echo " (To clean a separate objdir, simple remove the directory.)" 2>&1
exit 1
fi
MOZ_EDITOR=1 MOZ_MAILNEWS=1 . allmakefiles.sh
rm -fr $MAKEFILES \
config-defs.h \
config.cache \
config.log \
config.status \
$NULL
echo "Removed all files generated by configure." 2>&1

893
mozilla/build/autoconf/config.guess vendored Executable file
View File

@@ -0,0 +1,893 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Written by Per Bothner <bothner@cygnus.com>.
# The master version of this file is at the FSF in /home/gd/gnu/lib.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
#
# The plan is that this can be called by configure scripts if you
# don't specify an explicit system type (host/target name).
#
# Only a few systems have been added to this list; please add others
# (but try to keep the structure clean).
#
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 8/24/94.)
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
PATH=$PATH:/.attbin ; export PATH
fi
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
# Note: order is significant - the case branches are not exclusive.
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
alpha:OSF1:*:*)
if test $UNAME_RELEASE = "V4.0"; then
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
fi
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
cat <<EOF >dummy.s
.globl main
.ent main
main:
.frame \$30,0,\$26,0
.prologue 0
.long 0x47e03d80 # implver $0
lda \$2,259
.long 0x47e20c21 # amask $2,$1
srl \$1,8,\$2
sll \$2,2,\$2
sll \$0,3,\$0
addl \$1,\$0,\$0
addl \$2,\$0,\$0
ret \$31,(\$26),1
.end main
EOF
${CC-cc} dummy.s -o dummy 2>/dev/null
if test "$?" = 0 ; then
./dummy
case "$?" in
7)
UNAME_MACHINE="alpha"
;;
15)
UNAME_MACHINE="alphaev5"
;;
14)
UNAME_MACHINE="alphaev56"
;;
10)
UNAME_MACHINE="alphapca56"
;;
16)
UNAME_MACHINE="alphaev6"
;;
esac
fi
rm -f dummy.s dummy
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]`
exit 0 ;;
21064:Windows_NT:50:3)
echo alpha-dec-winnt3.5
exit 0 ;;
Amiga*:UNIX_System_V:4.0:*)
echo m68k-cbm-sysv4
exit 0;;
amiga:NetBSD:*:*)
echo m68k-cbm-netbsd${UNAME_RELEASE}
exit 0 ;;
amiga:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
arc64:OpenBSD:*:*)
echo mips64el-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
arc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
hkmips:OpenBSD:*:*)
echo mips-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
pmax:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
sgi:OpenBSD:*:*)
echo mips-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
wgrisc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}
exit 0;;
arm32:NetBSD:*:*)
echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
SR2?01:HI-UX/MPP:*:*)
echo hppa1.1-hitachi-hiuxmpp
exit 0;;
Pyramid*:OSx*:*:*|MIS*:OSx*:*:*)
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
if test "`(/bin/universe) 2>/dev/null`" = att ; then
echo pyramid-pyramid-sysv3
else
echo pyramid-pyramid-bsd
fi
exit 0 ;;
NILE:*:*:dcosx)
echo pyramid-pyramid-svr4
exit 0 ;;
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
i86pc:SunOS:5.*:*)
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
sun4*:SunOS:6*:*)
# According to config.sub, this is the proper way to canonicalize
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
# it's likely to be more like Solaris than SunOS4.
echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
sun4*:SunOS:*:*)
case "`/usr/bin/arch -k`" in
Series*|S4*)
UNAME_RELEASE=`uname -v`
;;
esac
# Japanese Language versions have a version number like `4.1.3-JL'.
echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
exit 0 ;;
sun3*:SunOS:*:*)
echo m68k-sun-sunos${UNAME_RELEASE}
exit 0 ;;
sun*:*:4.2BSD:*)
UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
case "`/bin/arch`" in
sun3)
echo m68k-sun-sunos${UNAME_RELEASE}
;;
sun4)
echo sparc-sun-sunos${UNAME_RELEASE}
;;
esac
exit 0 ;;
aushp:SunOS:*:*)
echo sparc-auspex-sunos${UNAME_RELEASE}
exit 0 ;;
atari*:NetBSD:*:*)
echo m68k-atari-netbsd${UNAME_RELEASE}
exit 0 ;;
atari*:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
sun3*:NetBSD:*:*)
echo m68k-sun-netbsd${UNAME_RELEASE}
exit 0 ;;
sun3*:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
mac68k:NetBSD:*:*)
echo m68k-apple-netbsd${UNAME_RELEASE}
exit 0 ;;
mac68k:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
mvme68k:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
mvme88k:OpenBSD:*:*)
echo m88k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
powerpc:machten:*:*)
echo powerpc-apple-machten${UNAME_RELEASE}
exit 0 ;;
RISC*:Mach:*:*)
echo mips-dec-mach_bsd4.3
exit 0 ;;
RISC*:ULTRIX:*:*)
echo mips-dec-ultrix${UNAME_RELEASE}
exit 0 ;;
VAX*:ULTRIX*:*:*)
echo vax-dec-ultrix${UNAME_RELEASE}
exit 0 ;;
2020:CLIX:*:*)
echo clipper-intergraph-clix${UNAME_RELEASE}
exit 0 ;;
mips:*:*:UMIPS | mips:*:*:RISCos)
sed 's/^ //' << EOF >dummy.c
int main (argc, argv) int argc; char **argv; {
#if defined (host_mips) && defined (MIPSEB)
#if defined (SYSTYPE_SYSV)
printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_SVR4)
printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
#endif
#endif
exit (-1);
}
EOF
${CC-cc} dummy.c -o dummy \
&& ./dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
&& rm dummy.c dummy && exit 0
rm -f dummy.c dummy
echo mips-mips-riscos${UNAME_RELEASE}
exit 0 ;;
Night_Hawk:Power_UNIX:*:*)
echo powerpc-harris-powerunix
exit 0 ;;
m88k:CX/UX:7*:*)
echo m88k-harris-cxux7
exit 0 ;;
m88k:*:4*:R4*)
echo m88k-motorola-sysv4
exit 0 ;;
m88k:*:3*:R3*)
echo m88k-motorola-sysv3
exit 0 ;;
AViiON:dgux:*:*)
# DG/UX returns AViiON for all architectures
UNAME_PROCESSOR=`/usr/bin/uname -p`
if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
-o ${TARGET_BINARY_INTERFACE}x = x ] ; then
echo m88k-dg-dgux${UNAME_RELEASE}
else
echo m88k-dg-dguxbcs${UNAME_RELEASE}
fi
else echo i586-dg-dgux${UNAME_RELEASE}
fi
exit 0 ;;
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
echo m88k-dolphin-sysv3
exit 0 ;;
M88*:*:R3*:*)
# Delta 88k system running SVR3
echo m88k-motorola-sysv3
exit 0 ;;
XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
echo m88k-tektronix-sysv3
exit 0 ;;
Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
echo m68k-tektronix-bsd
exit 0 ;;
*:IRIX*:*:*)
echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
exit 0 ;;
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
i?86:AIX:*:*)
echo i386-ibm-aix
exit 0 ;;
*:AIX:2:3)
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
sed 's/^ //' << EOF >dummy.c
#include <sys/systemcfg.h>
main()
{
if (!__power_pc())
exit(1);
puts("powerpc-ibm-aix3.2.5");
exit(0);
}
EOF
${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
echo rs6000-ibm-aix3.2.5
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
echo rs6000-ibm-aix3.2.4
else
echo rs6000-ibm-aix3.2
fi
exit 0 ;;
*:AIX:*:4)
if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
IBM_ARCH=rs6000
else
IBM_ARCH=powerpc
fi
if [ -x /usr/bin/oslevel ] ; then
IBM_REV=`/usr/bin/oslevel`
else
IBM_REV=4.${UNAME_RELEASE}
fi
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
exit 0 ;;
*:AIX:*:*)
echo rs6000-ibm-aix
exit 0 ;;
ibmrt:4.4BSD:*|romp-ibm:BSD:*)
echo romp-ibm-bsd4.4
exit 0 ;;
ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and
echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
exit 0 ;; # report: romp-ibm BSD 4.3
*:BOSX:*:*)
echo rs6000-bull-bosx
exit 0 ;;
DPX/2?00:B.O.S.:*:*)
echo m68k-bull-sysv3
exit 0 ;;
9000/[34]??:4.3bsd:1.*:*)
echo m68k-hp-bsd
exit 0 ;;
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
echo m68k-hp-bsd4.4
exit 0 ;;
9000/[3478]??:HP-UX:*:*)
case "${UNAME_MACHINE}" in
9000/31? ) HP_ARCH=m68000 ;;
9000/[34]?? ) HP_ARCH=m68k ;;
9000/7?? | 9000/8?[1679] ) HP_ARCH=hppa1.1 ;;
9000/8?? ) HP_ARCH=hppa1.0 ;;
esac
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
exit 0 ;;
3050*:HI-UX:*:*)
sed 's/^ //' << EOF >dummy.c
#include <unistd.h>
int
main ()
{
long cpu = sysconf (_SC_CPU_VERSION);
/* The order matters, because CPU_IS_HP_MC68K erroneously returns
true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
results, however. */
if (CPU_IS_PA_RISC (cpu))
{
switch (cpu)
{
case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
default: puts ("hppa-hitachi-hiuxwe2"); break;
}
}
else if (CPU_IS_HP_MC68K (cpu))
puts ("m68k-hitachi-hiuxwe2");
else puts ("unknown-hitachi-hiuxwe2");
exit (0);
}
EOF
${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
echo unknown-hitachi-hiuxwe2
exit 0 ;;
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
echo hppa1.1-hp-bsd
exit 0 ;;
9000/8??:4.3bsd:*:*)
echo hppa1.0-hp-bsd
exit 0 ;;
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
echo hppa1.1-hp-osf
exit 0 ;;
hp8??:OSF1:*:*)
echo hppa1.0-hp-osf
exit 0 ;;
i?86:OSF1:*:*)
if [ -x /usr/sbin/sysversion ] ; then
echo ${UNAME_MACHINE}-unknown-osf1mk
else
echo ${UNAME_MACHINE}-unknown-osf1
fi
exit 0 ;;
parisc*:Lites*:*:*)
echo hppa1.1-hp-lites
exit 0 ;;
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
echo c1-convex-bsd
exit 0 ;;
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
if getsysinfo -f scalar_acc
then echo c32-convex-bsd
else echo c2-convex-bsd
fi
exit 0 ;;
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
echo c34-convex-bsd
exit 0 ;;
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
echo c38-convex-bsd
exit 0 ;;
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
echo c4-convex-bsd
exit 0 ;;
CRAY*X-MP:*:*:*)
echo xmp-cray-unicos
exit 0 ;;
CRAY*Y-MP:*:*:*)
echo ymp-cray-unicos${UNAME_RELEASE}
exit 0 ;;
CRAY*[A-Z]90:*:*:*)
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
exit 0 ;;
CRAY*TS:*:*:*)
echo t90-cray-unicos${UNAME_RELEASE}
exit 0 ;;
CRAY-2:*:*:*)
echo cray2-cray-unicos
exit 0 ;;
F300:UNIX_System_V:*:*)
FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit 0 ;;
F301:UNIX_System_V:*:*)
echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
exit 0 ;;
hp3[0-9][05]:NetBSD:*:*)
echo m68k-hp-netbsd${UNAME_RELEASE}
exit 0 ;;
hp300:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
i?86:BSD/386:*:* | *:BSD/OS:*:*)
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
exit 0 ;;
*:FreeBSD:*:*)
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
*:NetBSD:*:*)
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
*:OpenBSD:*:*)
echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin32
exit 0 ;;
i*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit 0 ;;
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin32
exit 0 ;;
prep*:SunOS:5.*:*)
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
*:GNU:*:*)
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit 0 ;;
*:Linux:*:*)
# uname on the ARM produces all sorts of strangeness, and we need to
# filter it out.
case "$UNAME_MACHINE" in
arm* | sa110*) UNAME_MACHINE="arm" ;;
esac
# The BFD linker knows what the default object file format is, so
# first see if it will tell us.
ld_help_string=`ld --help 2>&1`
ld_supported_emulations=`echo $ld_help_string \
| sed -ne '/supported emulations:/!d
s/[ ][ ]*/ /g
s/.*supported emulations: *//
s/ .*//
p'`
case "$ld_supported_emulations" in
i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;;
i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;;
sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;;
esac
if test "${UNAME_MACHINE}" = "alpha" ; then
sed 's/^ //' <<EOF >dummy.s
.globl main
.ent main
main:
.frame \$30,0,\$26,0
.prologue 0
.long 0x47e03d80 # implver $0
lda \$2,259
.long 0x47e20c21 # amask $2,$1
srl \$1,8,\$2
sll \$2,2,\$2
sll \$0,3,\$0
addl \$1,\$0,\$0
addl \$2,\$0,\$0
ret \$31,(\$26),1
.end main
EOF
LIBC=""
${CC-cc} dummy.s -o dummy 2>/dev/null
if test "$?" = 0 ; then
./dummy
case "$?" in
7)
UNAME_MACHINE="alpha"
;;
15)
UNAME_MACHINE="alphaev5"
;;
14)
UNAME_MACHINE="alphaev56"
;;
10)
UNAME_MACHINE="alphapca56"
;;
16)
UNAME_MACHINE="alphaev6"
;;
esac
objdump --private-headers dummy | \
grep ld.so.1 > /dev/null
if test "$?" = 0 ; then
LIBC="libc1"
fi
fi
rm -f dummy.s dummy
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
elif test "${UNAME_MACHINE}" = "mips" ; then
cat >dummy.c <<EOF
main(argc, argv)
int argc;
char *argv[];
{
#ifdef __MIPSEB__
printf ("%s-unknown-linux-gnu\n", argv[1]);
#endif
#ifdef __MIPSEL__
printf ("%sel-unknown-linux-gnu\n", argv[1]);
#endif
return 0;
}
EOF
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
else
# Either a pre-BFD a.out linker (linux-gnuoldld)
# or one that does not give us useful --help.
# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
# If ld does not provide *any* "supported emulations:"
# that means it is gnuoldld.
echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
case "${UNAME_MACHINE}" in
i?86)
VENDOR=pc;
;;
*)
VENDOR=unknown;
;;
esac
# Determine whether the default compiler is a.out or elf
cat >dummy.c <<EOF
#include <features.h>
main(argc, argv)
int argc;
char *argv[];
{
#ifdef __ELF__
# ifdef __GLIBC__
# if __GLIBC__ >= 2
printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
# else
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
# endif
# else
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
# endif
#else
printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
#endif
return 0;
}
EOF
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
fi ;;
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
# are messed up and put the nodename in both sysname and nodename.
i?86:DYNIX/ptx:4*:*)
echo i386-sequent-sysv4
exit 0 ;;
i?86:UNIX_SV:4.2MP:2.*)
# Unixware is an offshoot of SVR4, but it has its own version
# number series starting with 2...
# I am not positive that other SVR4 systems won't match this,
# I just have to hope. -- rms.
# Use sysv4.2uw... so that sysv4* matches it.
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
exit 0 ;;
i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
else
echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
fi
exit 0 ;;
i?86:*:3.2:*)
if test -f /usr/options/cb.name; then
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
elif /bin/uname -X 2>/dev/null >/dev/null ; then
UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
&& UNAME_MACHINE=i586
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
else
echo ${UNAME_MACHINE}-pc-sysv32
fi
exit 0 ;;
pc:*:*:*)
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# the processor, so we play safe by assuming i386.
echo i386-pc-msdosdjgpp
exit 0 ;;
Intel:Mach:3*:*)
echo i386-pc-mach3
exit 0 ;;
paragon:*:*:*)
echo i860-intel-osf1
exit 0 ;;
i860:*:4.*:*) # i860-SVR4
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
else # Add other i860-SVR4 vendors below as they are discovered.
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
fi
exit 0 ;;
mini*:CTIX:SYS*5:*)
# "miniframe"
echo m68010-convergent-sysv
exit 0 ;;
M68*:*:R3V[567]*:*)
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
OS_REL=''
test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& echo i486-ncr-sysv4.3${OS_REL} && exit 0
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
&& echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& echo i486-ncr-sysv4 && exit 0 ;;
m68*:LynxOS:2.*:*)
echo m68k-unknown-lynxos${UNAME_RELEASE}
exit 0 ;;
mc68030:UNIX_System_V:4.*:*)
echo m68k-atari-sysv4
exit 0 ;;
i?86:LynxOS:2.*:*)
echo i386-unknown-lynxos${UNAME_RELEASE}
exit 0 ;;
TSUNAMI:LynxOS:2.*:*)
echo sparc-unknown-lynxos${UNAME_RELEASE}
exit 0 ;;
rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
echo rs6000-unknown-lynxos${UNAME_RELEASE}
exit 0 ;;
SM[BE]S:UNIX_SV:*:*)
echo mips-dde-sysv${UNAME_RELEASE}
exit 0 ;;
RM*:SINIX-*:*:*)
echo mips-sni-sysv4
exit 0 ;;
*:SINIX-*:*:*)
if uname -p 2>/dev/null >/dev/null ; then
UNAME_MACHINE=`(uname -p) 2>/dev/null`
echo ${UNAME_MACHINE}-sni-sysv4
else
echo ns32k-sni-sysv
fi
exit 0 ;;
PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
# says <Richard.M.Bartel@ccMail.Census.GOV>
echo i586-unisys-sysv4
exit 0 ;;
*:UNIX_System_V:4*:FTX*)
# From Gerald Hewes <hewes@openmarket.com>.
# How about differentiating between stratus architectures? -djm
echo hppa1.1-stratus-sysv4
exit 0 ;;
*:*:*:FTX*)
# From seanf@swdc.stratus.com.
echo i860-stratus-sysv4
exit 0 ;;
mc68*:A/UX:*:*)
echo m68k-apple-aux${UNAME_RELEASE}
exit 0 ;;
news*:NEWS-OS:*:6*)
echo mips-sony-newsos6
exit 0 ;;
R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:*)
if [ -d /usr/nec ]; then
echo mips-nec-sysv${UNAME_RELEASE}
else
echo mips-unknown-sysv${UNAME_RELEASE}
fi
exit 0 ;;
*:QNX:*:*)
echo i386-pc-qnx`${UNAME_VERSION} | cut -c1-1`
exit 0 ;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
cat >dummy.c <<EOF
#ifdef _SEQUENT_
# include <sys/types.h>
# include <sys/utsname.h>
#endif
main ()
{
#if defined (sony)
#if defined (MIPSEB)
/* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
I don't know.... */
printf ("mips-sony-bsd\n"); exit (0);
#else
#include <sys/param.h>
printf ("m68k-sony-newsos%s\n",
#ifdef NEWSOS4
"4"
#else
""
#endif
); exit (0);
#endif
#endif
#if defined (__arm) && defined (__acorn) && defined (__unix)
printf ("arm-acorn-riscix"); exit (0);
#endif
#if defined (hp300) && !defined (hpux)
printf ("m68k-hp-bsd\n"); exit (0);
#endif
#if defined (NeXT)
#if !defined (__ARCHITECTURE__)
#define __ARCHITECTURE__ "m68k"
#endif
int version;
version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
exit (0);
#endif
#if defined (MULTIMAX) || defined (n16)
#if defined (UMAXV)
printf ("ns32k-encore-sysv\n"); exit (0);
#else
#if defined (CMU)
printf ("ns32k-encore-mach\n"); exit (0);
#else
printf ("ns32k-encore-bsd\n"); exit (0);
#endif
#endif
#endif
#if defined (__386BSD__)
printf ("i386-pc-bsd\n"); exit (0);
#endif
#if defined (sequent)
#if defined (i386)
printf ("i386-sequent-dynix\n"); exit (0);
#endif
#if defined (ns32000)
printf ("ns32k-sequent-dynix\n"); exit (0);
#endif
#endif
#if defined (_SEQUENT_)
struct utsname un;
uname(&un);
if (strncmp(un.version, "V2", 2) == 0) {
printf ("i386-sequent-ptx2\n"); exit (0);
}
if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
printf ("i386-sequent-ptx1\n"); exit (0);
}
printf ("i386-sequent-ptx\n"); exit (0);
#endif
#if defined (vax)
#if !defined (ultrix)
printf ("vax-dec-bsd\n"); exit (0);
#else
printf ("vax-dec-ultrix\n"); exit (0);
#endif
#endif
#if defined (alliant) && defined (i860)
printf ("i860-alliant-bsd\n"); exit (0);
#endif
exit (1);
}
EOF
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
# Apollos put the system type in the environment.
test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
# Convex versions that predate uname can use getsysinfo(1)
if [ -x /usr/convex/getsysinfo ]
then
case `getsysinfo -f cpu_type` in
c1*)
echo c1-convex-bsd
exit 0 ;;
c2*)
if getsysinfo -f scalar_acc
then echo c32-convex-bsd
else echo c2-convex-bsd
fi
exit 0 ;;
c34*)
echo c34-convex-bsd
exit 0 ;;
c38*)
echo c38-convex-bsd
exit 0 ;;
c4*)
echo c4-convex-bsd
exit 0 ;;
esac
fi
#echo '(Unable to guess system type)' 1>&2
exit 1

962
mozilla/build/autoconf/config.sub vendored Executable file
View File

@@ -0,0 +1,962 @@
#! /bin/sh
# Configuration validation subroutine script, version 1.1.
# Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc.
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
# can handle that machine. It does not imply ALL GNU software can.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
# If it is invalid, we print an error message on stderr and exit with code 1.
# Otherwise, we print the canonical config type on stdout and succeed.
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
# that are meaningful with *any* GNU software.
# Each package is responsible for reporting which valid configurations
# it does not support. The user should be able to distinguish
# a failure to support a valid configuration from a meaningless
# configuration.
# The goal of this file is to map all the various variations of a given
# machine specification into a single specification in the form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# or in some cases, the newer four-part form:
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
# It is wrong to echo any other type of specification.
if [ x$1 = x ]
then
echo Configuration name missing. 1>&2
echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
echo "or $0 ALIAS" 1>&2
echo where ALIAS is a recognized configuration type. 1>&2
exit 1
fi
# First pass through any local machine types.
case $1 in
*local*)
echo $1
exit 0
;;
*)
;;
esac
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
linux-gnu*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;;
*)
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
if [ $basic_machine != $1 ]
then os=`echo $1 | sed 's/.*-/-/'`
else os=; fi
;;
esac
### Let's recognize common machines as not being operating systems so
### that things like config.sub decstation-3100 work. We also
### recognize some manufacturers as not being operating systems, so we
### can provide default operating systems below.
case $os in
-sun*os*)
# Prevent following clause from handling this invalid input.
;;
-dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
-unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-apple)
os=
basic_machine=$1
;;
-hiux*)
os=-hiuxwe2
;;
-sco5)
os=sco3.2v5
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-sco4)
os=-sco3.2v4
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-sco3.2.[4-9]*)
os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-sco3.2v[4-9]*)
# Don't forget version if it is 3.2v4 or newer.
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-sco*)
os=-sco3.2v2
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-isc)
os=-isc2.2
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-clix*)
basic_machine=clipper-intergraph
;;
-isc*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-lynx*)
os=-lynxos
;;
-ptx*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
;;
-windowsnt*)
os=`echo $os | sed -e 's/windowsnt/winnt/'`
;;
-psos*)
os=-psos
;;
-qnx*)
basic_machine=i386-pc
os=-qnx`uname -v | cut -c1-1`
;;
esac
# Decode aliases for certain CPU-COMPANY combinations.
case $basic_machine in
# Recognize the basic CPU types without company name.
# Some are omitted here because they have special meanings below.
tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
| arme[lb] | pyramid | mn10200 | mn10300 \
| tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \
| alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
| i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
| mipstx39 | mipstx39el \
| sparc | sparclet | sparclite | sparc64 | v850)
basic_machine=$basic_machine-unknown
;;
# We use `pc' rather than `unknown'
# because (1) that's what they normally are, and
# (2) the word "unknown" tends to confuse beginning users.
i[34567]86)
basic_machine=$basic_machine-pc
;;
# Object if more than one company name word.
*-*-*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
exit 1
;;
# Recognize the basic CPU types with company name.
vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
| power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
| xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* \
| alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
| ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
| sparc64-* | mips64-* | mipsel-* \
| mips64el-* | mips64orion-* | mips64orionel-* \
| mipstx39-* | mipstx39el-* \
| f301-*)
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
basic_machine=m68000-att
;;
3b*)
basic_machine=we32k-att
;;
alliant | fx80)
basic_machine=fx80-alliant
;;
altos | altos3068)
basic_machine=m68k-altos
;;
am29k)
basic_machine=a29k-none
os=-bsd
;;
amdahl)
basic_machine=580-amdahl
os=-sysv
;;
amiga | amiga-*)
basic_machine=m68k-cbm
;;
amigaos | amigados)
basic_machine=m68k-cbm
os=-amigaos
;;
amigaunix | amix)
basic_machine=m68k-cbm
os=-sysv4
;;
apollo68)
basic_machine=m68k-apollo
os=-sysv
;;
aux)
basic_machine=m68k-apple
os=-aux
;;
balance)
basic_machine=ns32k-sequent
os=-dynix
;;
convex-c1)
basic_machine=c1-convex
os=-bsd
;;
convex-c2)
basic_machine=c2-convex
os=-bsd
;;
convex-c32)
basic_machine=c32-convex
os=-bsd
;;
convex-c34)
basic_machine=c34-convex
os=-bsd
;;
convex-c38)
basic_machine=c38-convex
os=-bsd
;;
cray | ymp)
basic_machine=ymp-cray
os=-unicos
;;
cray2)
basic_machine=cray2-cray
os=-unicos
;;
[ctj]90-cray)
basic_machine=c90-cray
os=-unicos
;;
crds | unos)
basic_machine=m68k-crds
;;
da30 | da30-*)
basic_machine=m68k-da30
;;
decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
basic_machine=mips-dec
;;
delta | 3300 | motorola-3300 | motorola-delta \
| 3300-motorola | delta-motorola)
basic_machine=m68k-motorola
;;
delta88)
basic_machine=m88k-motorola
os=-sysv3
;;
dpx20 | dpx20-*)
basic_machine=rs6000-bull
os=-bosx
;;
dpx2* | dpx2*-bull)
basic_machine=m68k-bull
os=-sysv3
;;
ebmon29k)
basic_machine=a29k-amd
os=-ebmon
;;
elxsi)
basic_machine=elxsi-elxsi
os=-bsd
;;
encore | umax | mmax)
basic_machine=ns32k-encore
;;
fx2800)
basic_machine=i860-alliant
;;
genix)
basic_machine=ns32k-ns
;;
gmicro)
basic_machine=tron-gmicro
os=-sysv
;;
h3050r* | hiux*)
basic_machine=hppa1.1-hitachi
os=-hiuxwe2
;;
h8300hms)
basic_machine=h8300-hitachi
os=-hms
;;
harris)
basic_machine=m88k-harris
os=-sysv3
;;
hp300-*)
basic_machine=m68k-hp
;;
hp300bsd)
basic_machine=m68k-hp
os=-bsd
;;
hp300hpux)
basic_machine=m68k-hp
os=-hpux
;;
hp9k2[0-9][0-9] | hp9k31[0-9])
basic_machine=m68000-hp
;;
hp9k3[2-9][0-9])
basic_machine=m68k-hp
;;
hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
basic_machine=hppa1.1-hp
;;
hp9k8[0-9][0-9] | hp8[0-9][0-9])
basic_machine=hppa1.0-hp
;;
hppa-next)
os=-nextstep3
;;
i370-ibm* | ibm*)
basic_machine=i370-ibm
os=-mvs
;;
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
i[34567]86v32)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
os=-sysv32
;;
i[34567]86v4*)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
os=-sysv4
;;
i[34567]86v)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
os=-sysv
;;
i[34567]86sol2)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
os=-solaris2
;;
iris | iris4d)
basic_machine=mips-sgi
case $os in
-irix*)
;;
*)
os=-irix4
;;
esac
;;
isi68 | isi)
basic_machine=m68k-isi
os=-sysv
;;
m88k-omron*)
basic_machine=m88k-omron
;;
magnum | m3230)
basic_machine=mips-mips
os=-sysv
;;
merlin)
basic_machine=ns32k-utek
os=-sysv
;;
miniframe)
basic_machine=m68000-convergent
;;
mipsel*-linux*)
basic_machine=mipsel-unknown
os=-linux-gnu
;;
mips*-linux*)
basic_machine=mips-unknown
os=-linux-gnu
;;
mips3*-*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
;;
mips3*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
;;
ncr3000)
basic_machine=i486-ncr
os=-sysv4
;;
news | news700 | news800 | news900)
basic_machine=m68k-sony
os=-newsos
;;
news1000)
basic_machine=m68030-sony
os=-newsos
;;
news-3600 | risc-news)
basic_machine=mips-sony
os=-newsos
;;
next | m*-next )
basic_machine=m68k-next
case $os in
-nextstep* )
;;
-ns2*)
os=-nextstep2
;;
*)
os=-nextstep3
;;
esac
;;
nh3000)
basic_machine=m68k-harris
os=-cxux
;;
nh[45]000)
basic_machine=m88k-harris
os=-cxux
;;
nindy960)
basic_machine=i960-intel
os=-nindy
;;
np1)
basic_machine=np1-gould
;;
pa-hitachi)
basic_machine=hppa1.1-hitachi
os=-hiuxwe2
;;
paragon)
basic_machine=i860-intel
os=-osf
;;
pbd)
basic_machine=sparc-tti
;;
pbb)
basic_machine=m68k-tti
;;
pc532 | pc532-*)
basic_machine=ns32k-pc532
;;
pentium | p5 | k5 | nexen)
basic_machine=i586-pc
;;
pentiumpro | p6 | k6 | 6x86)
basic_machine=i686-pc
;;
pentiumii | pentium2)
basic_machine=i786-pc
;;
pentium-* | p5-* | k5-* | nexen-*)
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
pentiumpro-* | p6-* | k6-* | 6x86-*)
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
pentiumii-* | pentium2-*)
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
pn)
basic_machine=pn-gould
;;
power) basic_machine=rs6000-ibm
;;
ppc) basic_machine=powerpc-unknown
;;
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppcle | powerpclittle | ppc-le | powerpc-little)
basic_machine=powerpcle-unknown
;;
ppcle-* | powerpclittle-*)
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ps2)
basic_machine=i386-ibm
;;
*qnx*)
basic_machine=i386-pc
os=-qnx`uname -v | cut -c1-1`
;;
rm[46]00)
basic_machine=mips-siemens
;;
rtpc | rtpc-*)
basic_machine=romp-ibm
;;
sequent)
basic_machine=i386-sequent
;;
sh)
basic_machine=sh-hitachi
os=-hms
;;
sps7)
basic_machine=m68k-bull
os=-sysv2
;;
spur)
basic_machine=spur-unknown
;;
sun2)
basic_machine=m68000-sun
;;
sun2os3)
basic_machine=m68000-sun
os=-sunos3
;;
sun2os4)
basic_machine=m68000-sun
os=-sunos4
;;
sun3os3)
basic_machine=m68k-sun
os=-sunos3
;;
sun3os4)
basic_machine=m68k-sun
os=-sunos4
;;
sun4os3)
basic_machine=sparc-sun
os=-sunos3
;;
sun4os4)
basic_machine=sparc-sun
os=-sunos4
;;
sun4sol2)
basic_machine=sparc-sun
os=-solaris2
;;
sun3 | sun3-*)
basic_machine=m68k-sun
;;
sun4)
basic_machine=sparc-sun
;;
sun386 | sun386i | roadrunner)
basic_machine=i386-sun
;;
symmetry)
basic_machine=i386-sequent
os=-dynix
;;
tx39)
basic_machine=mipstx39-unknown
;;
tx39el)
basic_machine=mipstx39el-unknown
;;
tower | tower-32)
basic_machine=m68k-ncr
;;
udi29k)
basic_machine=a29k-amd
os=-udi
;;
ultra3)
basic_machine=a29k-nyu
os=-sym1
;;
vaxv)
basic_machine=vax-dec
os=-sysv
;;
vms)
basic_machine=vax-dec
os=-vms
;;
vpp*|vx|vx-*)
basic_machine=f301-fujitsu
;;
vxworks960)
basic_machine=i960-wrs
os=-vxworks
;;
vxworks68)
basic_machine=m68k-wrs
os=-vxworks
;;
vxworks29k)
basic_machine=a29k-wrs
os=-vxworks
;;
xmp)
basic_machine=xmp-cray
os=-unicos
;;
xps | xps100)
basic_machine=xps100-honeywell
;;
none)
basic_machine=none-none
os=-none
;;
# Here we handle the default manufacturer of certain CPU types. It is in
# some cases the only manufacturer, in others, it is the most popular.
mips)
if [ x$os = x-linux-gnu ]; then
basic_machine=mips-unknown
else
basic_machine=mips-mips
fi
;;
romp)
basic_machine=romp-ibm
;;
rs6000)
basic_machine=rs6000-ibm
;;
vax)
basic_machine=vax-dec
;;
pdp11)
basic_machine=pdp11-dec
;;
we32k)
basic_machine=we32k-att
;;
sparc)
basic_machine=sparc-sun
;;
cydra)
basic_machine=cydra-cydrome
;;
orion)
basic_machine=orion-highlevel
;;
orion105)
basic_machine=clipper-highlevel
;;
*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
exit 1
;;
esac
# Here we canonicalize certain aliases for manufacturers.
case $basic_machine in
*-digital*)
basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
;;
*-commodore*)
basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
;;
*)
;;
esac
# Decode manufacturer-specific aliases for certain operating systems.
if [ x"$os" != x"" ]
then
case $os in
# First match some system type aliases
# that might get confused with valid system types.
# -solaris* is a basic system type, with this one exception.
-solaris1 | -solaris1.*)
os=`echo $os | sed -e 's|solaris1|sunos4|'`
;;
-solaris)
os=-solaris2
;;
-svr4*)
os=-sysv4
;;
-unixware*)
os=-sysv4.2uw
;;
-gnu/linux*)
os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
;;
# First accept the basic system types.
# The portable systems comes first.
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -uxpv*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-linux*)
os=`echo $os | sed -e 's|linux|linux-gnu|'`
;;
-sunos5*)
os=`echo $os | sed -e 's|sunos5|solaris2|'`
;;
-sunos6*)
os=`echo $os | sed -e 's|sunos6|solaris3|'`
;;
-osfrose*)
os=-osfrose
;;
-osf*)
os=-osf
;;
-utek*)
os=-bsd
;;
-dynix*)
os=-bsd
;;
-acis*)
os=-aos
;;
-ctix* | -uts*)
os=-sysv
;;
-ns2 )
os=-nextstep2
;;
# Preserve the version number of sinix5.
-sinix5.*)
os=`echo $os | sed -e 's|sinix|sysv|'`
;;
-sinix*)
os=-sysv4
;;
-triton*)
os=-sysv3
;;
-oss*)
os=-sysv3
;;
-svr4)
os=-sysv4
;;
-svr3)
os=-sysv3
;;
-sysvr4)
os=-sysv4
;;
# This must come after -sysvr4.
-sysv*)
;;
-xenix)
os=-xenix
;;
-qnx*)
;;
-none)
;;
*)
# Get rid of the `-' at the beginning of $os.
os=`echo $os | sed 's/[^-]*-//'`
echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
exit 1
;;
esac
else
# Here we handle the default operating systems that come with various machines.
# The value should be what the vendor currently ships out the door with their
# machine or put another way, the most popular os provided with the machine.
# Note that if you're going to try to match "-MANUFACTURER" here (say,
# "-sun"), then you have to tell the case statement up towards the top
# that MANUFACTURER isn't an operating system. Otherwise, code above
# will signal an error saying that MANUFACTURER isn't an operating
# system, and we'll never get to this point.
case $basic_machine in
*-acorn)
os=-riscix1.2
;;
arm*-semi)
os=-aout
;;
pdp11-*)
os=-none
;;
*-dec | vax-*)
os=-ultrix4.2
;;
m68*-apollo)
os=-domain
;;
i386-sun)
os=-sunos4.0.2
;;
m68000-sun)
os=-sunos3
# This also exists in the configure program, but was not the
# default.
# os=-sunos4
;;
*-tti) # must be before sparc entry or we get the wrong os.
os=-sysv3
;;
sparc-* | *-sun)
os=-sunos4.1.1
;;
*-ibm)
os=-aix
;;
*-hp)
os=-hpux
;;
*-hitachi)
os=-hiux
;;
i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
os=-sysv
;;
*-cbm)
os=-amigaos
;;
*-dg)
os=-dgux
;;
*-dolphin)
os=-sysv3
;;
m68k-ccur)
os=-rtu
;;
m88k-omron*)
os=-luna
;;
*-next )
os=-nextstep
;;
*-sequent)
os=-ptx
;;
*-crds)
os=-unos
;;
*-ns)
os=-genix
;;
i370-*)
os=-mvs
;;
*-next)
os=-nextstep3
;;
*-gould)
os=-sysv
;;
*-highlevel)
os=-bsd
;;
*-encore)
os=-bsd
;;
*-sgi)
os=-irix
;;
*-siemens)
os=-sysv4
;;
*-masscomp)
os=-rtu
;;
f301-fujitsu)
os=-uxpv
;;
*)
os=-none
;;
esac
fi
# Here we handle the case where we know the os, and the CPU type, but not the
# manufacturer. We pick the logical manufacturer.
vendor=unknown
case $basic_machine in
*-unknown)
case $os in
-riscix*)
vendor=acorn
;;
-sunos*)
vendor=sun
;;
-aix*)
vendor=ibm
;;
-hpux*)
vendor=hp
;;
-hiux*)
vendor=hitachi
;;
-unos*)
vendor=crds
;;
-dgux*)
vendor=dg
;;
-luna*)
vendor=omron
;;
-genix*)
vendor=ns
;;
-mvs*)
vendor=ibm
;;
-ptx*)
vendor=sequent
;;
-vxsim* | -vxworks*)
vendor=wrs
;;
-aux*)
vendor=apple
;;
esac
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
;;
esac
echo $basic_machine$os

View File

@@ -0,0 +1,41 @@
#! /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.
#
# find-mozconfig.sh - Loads options from mozconfig.sh onto configure's
# command-line. The mozconfig.sh file is searched for in the
# order:
# if $MOZCONFIG is set, use that.
# Otherwise, use $TOPSRCDIR/mozconfig.sh
# Otherwise, use $HOME/.mozconfig.sh
#
topsrcdir=`cd \`dirname $0\`/../..; pwd`
for _config in $MOZCONFIG \
$MOZ_MYCONFIG \
$topsrcdir/mozconfig \
$topsrcdir/mozconfig.sh \
$topsrcdir/myconfig.sh \
$HOME/.mozconfig \
$HOME/.mozconfig.sh \
$HOME/.mozmyconfig.sh
do
if test -f $_config; then
echo $_config;
exit 0
fi
done

View File

@@ -0,0 +1,186 @@
# Configure paths for GTK+
# Owen Taylor 97-11-3
# (copy of gtk.m4 (public domain))
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
dnl
AC_DEFUN(AM_PATH_GTK,
[dnl
dnl Get the cflags and libraries from the gtk-config script
dnl
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
gtk_config_prefix="$withval", gtk_config_prefix="")
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
, enable_gtktest=yes)
if test x$gtk_config_exec_prefix != x ; then
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
fi
fi
if test x$gtk_config_prefix != x ; then
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
fi
fi
AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
min_gtk_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
no_gtk=""
if test "$GTK_CONFIG" = "no" ; then
no_gtk=yes
else
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_gtktest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
dnl
dnl Now check if the installed GTK is sufficiently new. (Also sanity
dnl checks the results of gtk-config to some extent
dnl
rm -f conf.gtktest
AC_TRY_RUN([
#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.gtktest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_gtk_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gtk_version");
exit(1);
}
if ((gtk_major_version != $gtk_config_major_version) ||
(gtk_minor_version != $gtk_config_minor_version) ||
(gtk_micro_version != $gtk_config_micro_version))
{
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf ("*** was found! If gtk-config was correct, then it is best\n");
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
(gtk_minor_version != GTK_MINOR_VERSION) ||
(gtk_micro_version != GTK_MICRO_VERSION))
{
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
}
#endif /* defined (GTK_MAJOR_VERSION) ... */
else
{
if ((gtk_major_version > major) ||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_gtk" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$GTK_CONFIG" = "no" ; then
echo "*** The gtk-config script installed by GTK could not be found"
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the GTK_CONFIG environment variable to the"
echo "*** full path to gtk-config."
else
if test -f conf.gtktest ; then
:
else
echo "*** Could not run GTK test program, checking why..."
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
AC_TRY_LINK([
#include <gtk/gtk.h>
#include <stdio.h>
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GTK or finding the wrong"
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
echo "***"
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
echo "*** came with the system with the command"
echo "***"
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
GTK_CFLAGS=""
GTK_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
rm -f conf.gtktest
])

119
mozilla/build/autoconf/install-sh Executable file
View File

@@ -0,0 +1,119 @@
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5; it is not part of GNU.
#
# $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $
#
# This script is compatible with the BSD install script, but was written
# from scratch.
#
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
instcmd="$mvprog"
chmodcmd=""
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
fi
if [ x"$dst" = x ]
then
echo "install: no destination specified"
exit 1
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d $dst ]
then
dst="$dst"/`basename $src`
fi
# Make a temp file name in the proper directory.
dstdir=`dirname $dst`
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp
# and set any options; do chmod last to preserve setuid bits
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; fi
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; fi
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; fi
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; fi
# Now rename the file to the real destination.
$doit $rmcmd $dst
$doit $mvcmd $dsttmp $dst
exit 0

View File

@@ -0,0 +1,97 @@
# 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.
#
# load-mozconfig.sh - Loads options from mozconfig.sh onto configure's
# command-line. See find-mozconfig.sh for how the config file is
# found
#
# The options from mozconfig.sh are inserted into the command-line
# before the real command-line options. This way the real options
# will override any mozconfig.sh options.
#
# mozconfig.sh is a shell script. To add an option to configure's
# command-line use the pre-defined function, ac_add_options,
#
# ac_add_options <configure-option> [<configure-option> ... ]
#
# For example,
#
# ac_add_options --with-pthreads --enable-debug
#
# ac_add_options can be called multiple times in mozconfig.sh.
# Each call adds more options to configure's command-line.
#
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
ac_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash.
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;s/@\([^@]*\)@/\$\1/g;'`
_opt=`echo $_opt | sed -e 's/@\([^@]*\)@/\$(\1)/g'`
# Avoid adding duplicates
case "$ac_options" in
*"$_opt"* ) ;;
* ) mozconfig_ac_options="$mozconfig_ac_options $_opt" ;;
esac
done
}
mk_add_options() {
# These options are for client.mk
# configure can safely ignore them.
:
}
ac_echo_options() {
echo "Adding options from $MOZCONFIG:"
eval "set -- $mozconfig_ac_options"
for _opt
do
echo " $_opt"
done
}
#
# Define load the options
#
ac_options=
mozconfig_ac_options=
# Save the real command-line options
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash.
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;'`
ac_options="$ac_options \"$_opt\""
done
# Call find-mozconfig.sh
# In params: $MOZCONFIG $HOME (old:$MOZ_MYCONFIG)
MOZCONFIG=`$TOPSRCDIR/build/autoconf/find-mozconfig.sh`
if [ "$MOZCONFIG" ]; then
. $MOZCONFIG
ac_echo_options 1>&2
fi
eval "set -- $mozconfig_ac_options $ac_options"

View File

@@ -0,0 +1,93 @@
#!/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) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# This script will match a dir with a set of dirs.
#
# Usage: match-dir.sh match [dir1 dir2 ... dirn]
#
# Send comments, improvements, bugs to ramiro@netscape.com
#
# Make sure a Makefile.in exists
#if [ $# -lt 1 ]
#then
# echo
# echo "Usage: `basename $0` match [dir1 dir2 ... dirn]"
# echo
#
# exit 1
#fi
# Make sure a Makefile.in exists
if [ ! -f Makefile.in ]
then
echo
echo "There ain't no 'Makefile.in' over here: $pwd, dude."
echo
exit 1
fi
# Use DEPTH in the Makefile.in to determine the depth
depth=`grep -w DEPTH Makefile.in | grep -e "\.\." | awk -F"=" '{ print $2; }'`
# Determine the depth count
n=`echo $depth | tr '/' ' ' | wc -w`
# Determine the path (strip anything before the mozilla/ root)
path=`pwd | awk -v count=$n -F"/" '\
{ for(i=NF-count+0; i <= NF ; i++) \
{ \
if (i!=NF) \
{ printf "%s/", $i } \
else \
{ printf "%s", $i } \
} \
}'`
match=$path
for i in $*
do
# echo "Looking for $match in $i"
echo $i | grep -q -x $match
if [ $? -eq 0 ]
then
echo "1"
exit 0
fi
# echo "Looking for $i in $match"
echo $match | grep -q $i
if [ $? -eq 0 ]
then
echo "1"
exit 0
fi
done
echo "0"
exit 0

View File

@@ -0,0 +1,81 @@
#! /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.
#
# mozconfig2defs.sh - Translates mozconfig.sh into options for client.mk.
# Prints defines to stdout.
#
# See load-mozconfig.sh for more details
#
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
print_header() {
echo "# gmake"
echo "# This file is automatically generated for client.mk."
echo "# Do not edit. Edit $MOZCONFIG instead."
echo
}
ac_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash,
# and substitute '@<word>@' with '$(<word)'.
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g; s/@\([^@]*\)@/\$(\1)/g;'`
case "$_opt" in
--with-nspr=* ) echo MOZ_WITH_NSPR=`expr $_opt : ".*=\(.*\)"` ;;
--with-pthreads* ) echo MOZ_WITH_PTHREADS=1 ;;
--*-* ) echo "# $_opt is not used by client.mk" ;;
esac
done
}
mk_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash,
# and substitute '@<word>@' with '$(<word)'.
echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g; s/@\([^@]*\)@/\$(\1)/g;'
done
}
#
# main
#
out_file=$1
tmp_file="$out_file-tmp$$"
trap "rm -f $tmp_file; exit 1" 1 2 15
# find-mozconfig.sh
# In params: $MOZCONFIG $HOME ($MOZ_MYCONFIG)
MOZCONFIG=`\`dirname $0\`/find-mozconfig.sh`
if [ "$MOZCONFIG" ]
then
print_header >$tmp_file
. $MOZCONFIG >> $tmp_file
if cmp -s $tmp_file $out_file; then
rm $tmp_file
else
mv -f $tmp_file $out_file
fi
else
echo "# This file is automatically generated for client.mk." > $out_file
fi

View File

@@ -0,0 +1,63 @@
#! /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.
#
# mozconfig2defs.sh - Translates mozconfig.sh into options for client.mk.
# Prints defines to stdout.
#
# See load-mozconfig.sh for more details
#
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
ac_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash,
# and substitute '@<word>@' with '$(<word)'.
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;'`
case "$_opt" in
--*-*= ) query_string="$query_string$_opt&" ;;
--*-* ) query_string="$query_string$_opt=yes&" ;;
esac
done
}
mk_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash,
# and substitute '@<word>@' with '$(<word)'.
query_string=$query_string`echo "$_opt&" | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;'`
done
}
#
# main
#
# find-mozconfig.sh
# In params: $MOZCONFIG $HOME ($MOZ_MYCONFIG)
MOZCONFIG=`\`dirname $0\`/find-mozconfig.sh`
if [ "$MOZCONFIG" ]
then
query_string="?"
. $MOZCONFIG
echo `expr "$query_string" : "\(.*\)."`
fi

View File

@@ -0,0 +1,59 @@
#!/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) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# This script will print the depth path for a mozilla directory based
# on the info in Makefile.in
#
# Its a hack. Its brute force. Its horrible.
# It dont use Artificial Intelligence. It dont use Virtual Reality.
# Its not perl. Its not python. But it works.
#
# Usage: print-depth-path.sh
#
# Send comments, improvements, bugs to ramiro@netscape.com
#
# Make sure a Makefile.in exists
if [ ! -f Makefile.in ]
then
echo
echo "There ain't no 'Makefile.in' over here: $pwd, dude."
echo
exit
fi
# Use DEPTH in the Makefile.in to determine the depth
depth=`grep -w DEPTH Makefile.in | grep -e "\.\." | awk -F"=" '{ print $2; }'`
# Determine the depth count
n=`echo $depth | tr '/' ' ' | wc -w`
# Determine the path (strip anything before the mozilla/ root)
path=`pwd | awk -v count=$n -F"/" '\
{ for(i=NF-count+0; i <= NF ; i++) \
{ \
if (i!=NF) \
{ printf "%s/", $i } \
else \
{ printf "%s", $i } \
} \
}'`
echo $path

View File

@@ -0,0 +1,64 @@
#!/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) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# This script will generate a single Makefile from a Makefile.in using
# the config.status script.
#
# The config.status script is generated the first time you run
# ./configure.
#
#
# Usage: update-makefile.sh
#
# Send comments, improvements, bugs to ramiro@netscape.com
#
# Make sure a Makefile exists
if [ ! -f Makefile ]
then
echo
echo "There ain't no 'Makefile' over here: $pwd"
echo
exit
fi
# Use DEPTH in the Makefile to determine the depth
depth=`egrep '^DEPTH[ ]*=[ ]*\.' Makefile | awk -F= '{ print $2; }'`
# Get the full path to the Makefile
makefile=`pwd`/Makefile
# 'cd' to the root of the tree
echo depth=$depth
cd $depth
# Strip the tree root off the Makefile's path
root_path=`pwd`
makefile=`expr $makefile : $root_path'/\(.*\)'`
# Make sure config.status exists
if [ -f config.status ]
then
CONFIG_FILES=$makefile ./config.status
else
echo
echo "There ain't no 'config.status' over here: $pwd"
echo
fi

View File

@@ -0,0 +1 @@
98091517

25
mozilla/build/genrc.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/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) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DATATYPE="$1"
INFILE="$2"
echo "${DATATYPE} RCDATA"
sed 's/"/""/g' ${INFILE} | awk 'BEGIN { printf("BEGIN\n") } { printf("\"%s\\r\\n\",\n", $0) } END { printf("\"\\0\"\nEND\n") }'
exit 0

91
mozilla/build/hcc Executable file
View File

@@ -0,0 +1,91 @@
#!/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) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# Fix brain-damaged compilers that don't understand -o and -c together
#
CC=`echo $1 | sed -e "s|'||g" -e 's|"||g'`
shift
DASH_C=0
DASH_O=0
DUMMY="XxxXxxX"
GET_OBJECT=0
OBJ="${DUMMY}"
OBJECT="${DUMMY}"
for i in $*
do
[ "${CHECK_O}" = yes ] && {
case $i in
./*/*.o) OBJECT="$i"
OPTS="${OPTS} -o"
DASH_O=1
;;
./*.o) OBJECT="`basename $i`"
i=""
DASH_O=1
;;
*.o) if [ $i = `basename $i` ]
then
OBJECT="$i"
i=""
else
OPTS="${OPTS} -o"
fi
DASH_O=1
;;
*) OPTS="${OPTS} -o $i"
DASH_O=1
i=""
;;
esac
CHECK_O=no
}
case $i in
-c) DASH_C=1
OPTS="${OPTS} -c"
;;
-o) CHECK_O=yes
;;
*.c) C_SRC=$i
OPTS="${OPTS} $i"
# cc always creates the .o from the .c name
OBJ=`basename $C_SRC .c`.o
;;
*.s) S_SRC=$i
OPTS="${OPTS} $i"
# or the .o from the .s name
OBJ=`basename $S_SRC .s`.o
;;
*.o) OBJECT=$i
OPTS="${OPTS} $i"
;;
*) OPTS="${OPTS} $i"
;;
esac
done
${CC} ${OPTS} || exit $?
# if there was no -c and -o we're done
[ $DASH_C = 1 -a $DASH_O = 1 ] || exit 0
# if $OBJ and $OBJECT are the same we're done
[ $OBJ = $OBJECT ] && exit 0
[ -f $OBJ ] && mv -f $OBJ $OBJECT

118
mozilla/build/hcpp Executable file
View File

@@ -0,0 +1,118 @@
#!/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) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# Wrapper for brain-damaged compilers that don't understand -o and -c together.
#
CXX=`echo $1 | sed -e "s|'||g" -e 's|"||g'`
shift
DUMMY="XxxXxxX"
DASH_C=0
DASH_O=0
GET_OBJECT=0
C_SRC="${DUMMY}"
CC_SRC="${DUMMY}"
CPP_SRC="${DUMMY}"
S_SRC="${DUMMY}"
OBJECT="${DUMMY}"
for i in $*
do
[ ${GET_OBJECT} -eq 1 ] && {
case $i in
./*/*.o) OBJECT="$i"
OPTS="${OPTS} -o"
DASH_O=1
;;
./*.o) OBJECT="`basename $i`"
i=""
DASH_O=1
;;
*.o) if [ $i = `basename $i` ]
then
i=""
else
OPTS="${OPTS} -o"
DASH_O=1
fi
;;
*) OPTS="${OPTS} -o $i"
DASH_O=1
i=""
;;
esac
GET_OBJECT=0
}
case $i in
-c)
DASH_C=1
OPTS="${OPTS} -c"
;;
-o)
GET_OBJECT=1
;;
*.c)
C_SRC="$i"
OPTS="${OPTS} $i"
# cc always creates the .o from the .c name
OBJ=`basename ${C_SRC} .c`.o
;;
+.*)
OPTS="${OPTS} $i"
;;
*.cpp)
CPP_SRC="$i"
OPTS="${OPTS} $i"
# cc always creates the .o from the .cpp name
OBJ=`basename ${CPP_SRC} .cpp`.o
;;
*.cc)
CC_SRC="$i"
OPTS="${OPTS} $i"
# cc always creates the .o from the .cc name
OBJ=`basename ${CC_SRC} .cc`.o
;;
*.s)
S_SRC="$i"
OPTS="${OPTS} $i"
# cc always creates the .o from the .s name
OBJ=`basename ${S_SRC} .s`.o
;;
*.o) OBJECT=$i
OPTS="${OPTS} $i"
;;
*) OPTS="${OPTS} $i"
;;
esac
done
${CXX} ${OPTS} || exit $?
# LAME!!!
if [ -f -O ]; then
mv -f -- -O ${OBJECT}
fi
# if there was no -c and -o we're done
[ ${DASH_C} -eq 1 -a ${DASH_O} -eq 1 ] || exit 0
# if $OBJ and $OBJECT are the same we're done
[ $OBJ = $OBJECT ] && exit 0
[ -f $OBJ ] && mv -f $OBJ $OBJECT

View File

@@ -0,0 +1,357 @@
#!perl
package BuildList;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(BuildMozilla DistMozilla);
=head1 NAME
BuildList - build the [ordered] set of projects needed to construct Mozilla
=head1 SYNOPSIS
...
=head1 COPYRIGHT
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.
=cut
use Moz;
use File::Path;
sub BuildMozilla()
{
if ( $main::DEBUG )
{
$D = "Debug";
$dist_dir = ":mozilla:dist:client_debug:";
}
else
{
$D = "";
$dist_dir = ":mozilla:dist:client:";
}
#
# Build the appropriate target of each project
#
BuildProjectClean(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "Stubs");
BuildProjectClean(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "Stubs");
BuildProjectClean(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stubs");
# BuildProjectClean(":mozilla:cmd:macfe:projects:client:Client.mcp", "Stubs");
if ( $main::CARBON )
{
BuildProject(":mozilla:cmd:macfe:projects:interfaceLib:Interface.mcp", "Carbon Interfaces");
}
else
{
BuildProject(":mozilla:cmd:macfe:projects:interfaceLib:Interface.mcp", "MacOS Interfaces");
}
BuildProject(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "NSRuntime$D.shlb");
MakeAlias(":mozilla:lib:mac:NSRuntime:NSRuntime$D.shlb", "$dist_dir");
BuildProject(":mozilla:cmd:macfe:restext:StringLib.mcp", "Strings$D.shlb");
MakeAlias(":mozilla:cmd:macfe:restext:Strings$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:MoreFiles:build:MoreFilesPPC.mcp", "MoreFiles$D.shlb");
MakeAlias(":mozilla:lib:mac:MoreFiles:build:MoreFiles$D.shlb", "$dist_dir");
BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPC.mcp", "NSPR20$D.shlb");
MakeAlias(":mozilla:nsprpub:macbuild:NSPR20$D.shlb", "$dist_dir");
BuildProject(":mozilla:dbm:macbuild:DBMPPC.mcp", "DBM$D.shlb");
MakeAlias(":mozilla:dbm:macbuild:DBM$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "MemAllocator$D.shlb");
MakeAlias(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "NSStdLib$D.shlb");
MakeAlias(":mozilla:lib:mac:NSStdLib:NSStdLib$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:libreg:macbuild:libreg.mcp", "libreg$D.shlb");
MakeAlias(":mozilla:modules:libreg:macbuild:libreg$D.shlb", "$dist_dir");
BuildProject(":mozilla:xpcom:macbuild:xpcomPPC.mcp", "xpcom$D.shlb");
MakeAlias(":mozilla:xpcom:macbuild:xpcom$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:PowerPlant:PowerPlant.mcp", "PowerPlant$D.shlb");
MakeAlias(":mozilla:lib:mac:PowerPlant:PowerPlant$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:progress:macbuild:ProgressPPC.mcp", "Progress$D.shlb");
MakeAlias(":mozilla:modules:progress:macbuild:Progress$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:zlib:macbuild:zlib.mcp", "zlib$D.shlb");
MakeAlias(":mozilla:modules:zlib:macbuild:zlib$D.shlb", "$dist_dir");
BuildProject(":mozilla:jpeg:macbuild:JPEG.mcp", "JPEG$D.shlb");
MakeAlias(":mozilla:jpeg:macbuild:JPEG$D.shlb", "$dist_dir");
BuildProject(":mozilla:sun-java:stubs:macbuild:JavaStubs.mcp", "JavaRuntime$D.shlb");
MakeAlias(":mozilla:sun-java:stubs:macbuild:JavaRuntime$D.shlb", "$dist_dir");
BuildProject(":mozilla:js:macbuild:JavaScriptPPC.mcp", "JavaScript$D.shlb");
MakeAlias(":mozilla:js:macbuild:JavaScript$D.shlb", "$dist_dir");
BuildProject(":mozilla:js:macbuild:LiveConnect.mcp", "LiveConnect$D.shlb");
MakeAlias(":mozilla:js:macbuild:LiveConnect$D.shlb", "$dist_dir");
BuildProject(":mozilla:nav-java:stubs:macbuild:NavJavaStubs.mcp", "NavJava$D.shlb");
MakeAlias(":mozilla:nav-java:stubs:macbuild:NavJava$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:rdf:macbuild:RDF.mcp", "RDF$D.shlb");
MakeAlias(":mozilla:modules:rdf:macbuild:RDF$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:xml:macbuild:XML.mcp", "XML$D.shlb");
MakeAlias(":mozilla:modules:xml:macbuild:XML$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:schedulr:macbuild:Schedulr.mcp", "Scheduler$D.shlb");
MakeAlias(":mozilla:modules:schedulr:macbuild:Scheduler$D.shlb", "$dist_dir");
BuildProject(":mozilla:build:mac:CustomLib:CustomLib.mcp", "CustomLib$D.shlb");
MakeAlias(":mozilla:build:mac:CustomLib:CustomLib$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:security:freenav:macbuild:NoSecurity.mcp", "Security.o");
BuildProject(":mozilla:modules:libfont:macbuild:FontBroker.mcp", "FontBroker$D.o");
BuildProject(":mozilla:modules:oji:macbuild:oji.mcp", "oji$D.o");
BuildProject(":mozilla:lib:libmocha:macbuild:LibMocha.mcp", "LibMocha$D.o");
if ( $main::MOZ_DARK == 1 )
{
BuildProject(":mozilla:network:macbuild:network.mcp", "Network$D.o (mailnews)");
}
else
{
BuildProject(":mozilla:network:macbuild:network.mcp", "Network$D.o");
}
BuildProject(":mozilla:caps:macbuild:Caps.mcp", "Caps$D.o");
BuildProject(":mozilla:modules:libimg:macbuild:png.mcp", "png$D.o");
BuildProject(":mozilla:modules:libimg:macbuild:libimg.mcp", "libimg$D.o");
BuildProject(":mozilla:build:mac:CustomLib:CustomLib.mcp", "CustomStaticLib$D.o");
if ( $main::MOZ_LITE == 1 )
{
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "MailNews$D.o");
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "Composer$D.o");
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Nav_Resources");
}
else
{
if ( $main::MOZ_MEDIUM == 1 )
{
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "MailNews$D.o");
BuildProject(":mozilla:cmd:macfe:Composer:build:Composer.mcp", "Composer$D.o");
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Moz_Resources");
}
else
{
if ( $main::MOZ_DARK == 1 )
{
BuildProject(":ns:lib:libneo:mac:macbuild:NeoLib.mcp", "NeoLib$D.o");
MakeAlias( ":ns:lib:libneo:mac:macbuild:NeoLib$D.o", "$dist_dir");
BuildProject(":mozilla:lib:libmsg:macbuild:MsgLib.mcp", "MsgLib$D.o (secure)");
MakeAlias( ":mozilla:lib:libmsg:macbuild:MsgLib$D.o", "$dist_dir");
BuildProject(":mozilla:directory:c-sdk:ldap:libraries:macintosh:LDAPClient.mcp","LDAPClient$D.o");
MakeAlias( ":mozilla:directory:c-sdk:ldap:libraries:macintosh:LDAPClient$D.o", "$dist_dir");
BuildProject(":mozilla:cmd:macfe:MailNews:build:MailNews.mcp", "MailNews$D.o");
BuildProject(":mozilla:cmd:macfe:Composer:build:Composer.mcp", "Composer$D.o");
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "MozDark_Resources");
}
}
}
# BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Client$D");
}
sub DistMozilla()
{
mkpath([ ":mozilla:dist:", ":mozilla:dist:client:", ":mozilla:dist:client_debug:", ":mozilla:dist:client_stubs:" ]);
#CONFIG
InstallFromManifest(":mozilla:config:mac:MANIFEST", ":mozilla:dist:config:");
InstallFromManifest(":mozilla:config:mac:MANIFEST_config", ":mozilla:dist:config:");
#INCLUDE
InstallFromManifest(":mozilla:include:MANIFEST", ":mozilla:dist:include:");
InstallFromManifest(":mozilla:cmd:macfe:pch:MANIFEST", ":mozilla:dist:include:");
#MAC_COMMON
InstallFromManifest(":mozilla:build:mac:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:NSStdLib:include:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:MacMemoryAllocator:include:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:Misc:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:MoreFiles:MANIFEST", ":mozilla:dist:mac:common:morefiles:");
InstallFromManifest(":mozilla:cmd:macfe:MANIFEST", ":mozilla:dist:mac:macfe:");
#NSPR
InstallFromManifest(":mozilla:nsprpub:pr:include:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:pr:src:md:mac:MANIFEST", ":mozilla:dist:nspr:mac:");
InstallFromManifest(":mozilla:nsprpub:lib:ds:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:lib:libc:include:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:lib:msgc:include:MANIFEST", ":mozilla:dist:nspr:");
#DBM
InstallFromManifest(":mozilla:dbm:include:MANIFEST", ":mozilla:dist:dbm:");
#LIBIMAGE
InstallFromManifest(":mozilla:modules:libimg:png:MANIFEST", ":mozilla:dist:libimg:");
InstallFromManifest(":mozilla:modules:libimg:src:MANIFEST", ":mozilla:dist:libimg:");
InstallFromManifest(":mozilla:modules:libimg:public:MANIFEST", ":mozilla:dist:libimg:");
#SECURITY_freenav
InstallFromManifest(":mozilla:modules:security:freenav:MANIFEST", ":mozilla:dist:security:");
#XPCOM
InstallFromManifest(":mozilla:xpcom:public:MANIFEST", ":mozilla:dist:xpcom:");
#ZLIB
InstallFromManifest(":mozilla:modules:zlib:src:MANIFEST", ":mozilla:dist:zlib:");
#JPEG
InstallFromManifest(":mozilla:jpeg:MANIFEST", ":mozilla:dist:jpeg:");
#JSJ
# beard: this conflicts with LiveConnect's jsjava.h.
#InstallFromManifest(":mozilla:js:jsj:MANIFEST", ":mozilla:dist:jsj:");
#JSDEBUG
InstallFromManifest(":mozilla:js:jsd:MANIFEST", ":mozilla:dist:jsdebug:");
#JS
InstallFromManifest(":mozilla:js:src:MANIFEST", ":mozilla:dist:js:");
#LIVECONNECT
InstallFromManifest(":mozilla:js:src:liveconnect:MANIFEST", ":mozilla:dist:liveconnect:");
#RDF
InstallFromManifest(":mozilla:modules:rdf:include:MANIFEST", ":mozilla:dist:rdf:");
#XML
InstallFromManifest(":mozilla:modules:xml:glue:MANIFEST", ":mozilla:dist:xml:");
InstallFromManifest(":mozilla:modules:xml:expat:xmlparse:MANIFEST", ":mozilla:dist:xml:");
#LIBFONT
InstallFromManifest(":mozilla:modules:libfont:MANIFEST", ":mozilla:dist:libfont:");
InstallFromManifest(":mozilla:modules:libfont:src:MANIFEST", ":mozilla:dist:libfont:");
#LDAP
if ( $main::MOZ_LDAP || $main::MOZ_DARK )
{
InstallFromManifest(":mozilla:directory:c-sdk:ldap:include:MANIFEST", ":mozilla:dist:ldap:");
}
#PRIVACY
InstallFromManifest(":mozilla:privacy:public:MANIFEST", ":mozilla:dist:privacy:");
#SCHEDULER
InstallFromManifest(":mozilla:modules:schedulr:public:MANIFEST", ":mozilla:dist:schedulr:");
#NETWORK
InstallFromManifest(":mozilla:network:cache:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:client:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:cnvts:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:cstream:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:main:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:mimetype:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:util:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:about:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:certld:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:dataurl:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:file:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:ftp:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:gopher:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:http:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:imap4:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:js:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:ldap:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:mailbox:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:marimba:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:nntp:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:pop3:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:remote:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:smtp:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:sockstub:MANIFEST", ":mozilla:dist:network:");
#HTML_DIALOGS
InstallFromManifest(":mozilla:lib:htmldlgs:MANIFEST", ":mozilla:dist:htmldlgs:");
#LAYOUT
InstallFromManifest(":mozilla:lib:layout:MANIFEST", ":mozilla:dist:layout:");
#LAYERS
InstallFromManifest(":mozilla:lib:liblayer:include:MANIFEST", ":mozilla:dist:layers:");
#PARSE
InstallFromManifest(":mozilla:lib:libparse:MANIFEST", ":mozilla:dist:libparse:");
#STYLE
InstallFromManifest(":mozilla:lib:libstyle:MANIFEST", ":mozilla:dist:libstyle:");
#PLUGIN
InstallFromManifest(":mozilla:modules:plugin:public:MANIFEST", ":mozilla:dist:plugin:");
InstallFromManifest(":mozilla:modules:plugin:src:MANIFEST", ":mozilla:dist:plugin:");
#LIBHOOK
InstallFromManifest(":mozilla:modules:libhook:public:MANIFEST", ":mozilla:dist:libhook:");
#LIBPREF
InstallFromManifest(":mozilla:modules:libpref:public:MANIFEST", ":mozilla:dist:libpref:");
#LIBREG
InstallFromManifest(":mozilla:modules:libreg:include:MANIFEST", ":mozilla:dist:libreg:");
#LIBUTIL
InstallFromManifest(":mozilla:modules:libutil:public:MANIFEST", ":mozilla:dist:libutil:");
#PROGRESS
InstallFromManifest(":mozilla:modules:progress:public:MANIFEST", ":mozilla:dist:progress:");
#EDTPLUG
InstallFromManifest(":mozilla:modules:edtplug:include:MANIFEST", ":mozilla:dist:edtplug:");
#NAV_JAVA
InstallFromManifest(":mozilla:nav-java:stubs:include:MANIFEST", ":mozilla:dist:nav-java:");
InstallFromManifest(":mozilla:nav-java:stubs:macjri:MANIFEST", ":mozilla:dist:nav-java:");
#SUN_JAVA
InstallFromManifest(":mozilla:sun-java:stubs:include:MANIFEST", ":mozilla:dist:sun-java:");
InstallFromManifest(":mozilla:sun-java:stubs:macjri:MANIFEST", ":mozilla:dist:sun-java:");
#OJI
InstallFromManifest(":mozilla:modules:oji:public:MANIFEST", ":mozilla:dist:oji:");
InstallFromManifest(":mozilla:modules:oji:src:MANIFEST", ":mozilla:dist:oji:");
#CAPS
InstallFromManifest(":mozilla:caps:include:MANIFEST", ":mozilla:dist:caps:");
InstallFromManifest(":mozilla:caps:public:MANIFEST", ":mozilla:dist:caps:");
#BASE
InstallFromManifest(":mozilla:base:public:MANIFEST", ":mozilla:dist:base:");
InstallFromManifest(":mozilla:base:src:MANIFEST", ":mozilla:dist:base:");
}
1;

View File

@@ -0,0 +1,40 @@
#!perl
#
# 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.
#
use Moz;
use BuildList;
$DEBUG = 0;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog(":::Mozilla.BuildLog");
Moz::StopForErrors();
chdir("::::");
# Make and popuplate the dist directory
DistMozilla();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,44 @@
#!perl
#
# 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.
#
use Moz;
use BuildList;
$DEBUG = 1;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog(":::Mozilla.BuildLog");
Moz::StopForErrors();
chdir("::::");
# Make and popuplate the dist directory
DistMozilla();
# Set the build number in about-all.html. Commented out for now
# until ckid/mcvs resource problem is resolved.
# SetBuildNumber();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,51 @@
#!perl
#
# 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.
#
use Moz;
use BuildList;
$DEBUG = 1;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog(":::Mozilla.BuildLog");
Moz::StopForErrors();
chdir("::::");
SetBuildNumber();
SetTimeBomb(0, 30);
# Make and popuplate the dist directory
DistMozilla();
Delay(10);
# Set the build number in about-all.html. Commented out for now
# until ckid/mcvs resource problem is resolved.
# SetAgentString();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,95 @@
#!perl
#
# 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.
#
#
# nglayout build script (debug)
#
use Mac::Processes;
use NGLayoutBuildList;
use Cwd;
use Moz;
# configuration variables
$DEBUG = 0;
$ALIAS_SYM_FILES = $DEBUG;
$CLOBBER_LIBS = 0;
$MOZ_FULLCIRCLE = 0;
$pull{all} = 0;
$pull{lizard} = 0;
$pull{xpcom} = 0;
$pull{imglib} = 0;
$pull{netlib} = 0;
$pull{nglayout} = 0;
$pull{mac} = 0;
$build{all} = 1; # turn off to do individual builds
$build{dist} = 0;
$build{stubs} = 0;
$build{common} = 0;
$build{nglayout} = 0;
$build{resources} = 0;
$build{editor} = 0;
$build{viewer} = 0;
$build{xpapp} = 0;
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
if ($build{all})
{
foreach $k (keys(%build))
{
$build{$k} = 1;
}
}
# do the work
# you should not have to edit anything bellow
chdir("::::");
$MOZ_SRC = cwd();
if ($MOZ_FULLCIRCLE)
{
#// Get the Build Number for the Master.ini(Full Circle) n'stuff
$buildnum = Moz::SetBuildNumber();
}
OpenErrorLog("NGLayoutBuildLog");
#OpenErrorLog("Mozilla.BuildLog"); # Tinderbox requires that name
Moz::StopForErrors();
#Moz::DontStopForErrors();
if ($pull{all}) {
Checkout();
}
chdir($MOZ_SRC);
BuildDist();
chdir($MOZ_SRC);
BuildProjects();
print "Build layout complete\n";

View File

@@ -0,0 +1,96 @@
#!perl
#
# 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.
#
#
# nglayout build script (debug)
#
use Mac::Processes;
use NGLayoutBuildList;
use Cwd;
use Moz;
# configuration variables
$DEBUG = 1;
$ALIAS_SYM_FILES = $DEBUG;
$CLOBBER_LIBS = 1; # turn on to clobber existing libs and .xSYM files before
# building each project
$MOZ_FULLCIRCLE = 0;
$pull{all} = 0;
$pull{lizard} = 0;
$pull{xpcom} = 0;
$pull{imglib} = 0;
$pull{netlib} = 0;
$pull{nglayout} = 0;
$pull{mac} = 0;
$build{all} = 1; # turn off to do individual builds
$build{dist} = 0;
$build{stubs} = 0;
$build{common} = 0;
$build{nglayout} = 0;
$build{resources} = 0;
$build{editor} = 0;
$build{viewer} = 0;
$build{xpapp} = 0;
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
if ($build{all})
{
foreach $k (keys(%build))
{
$build{$k} = 1;
}
}
# do the work
# you should not have to edit anything bellow
chdir("::::");
$MOZ_SRC = cwd();
if ($MOZ_FULLCIRCLE)
{
#// Get the Build Number for the Master.ini(Full Circle) n'stuff
$buildnum = Moz::SetBuildNumber();
}
OpenErrorLog("NGLayoutDebugBuildLog");
#OpenErrorLog("Mozilla.BuildLog"); # Tinderbox requires that name
Moz::StopForErrors();
#Moz::DontStopForErrors();
if ($pull{all}) {
Checkout();
}
chdir($MOZ_SRC);
BuildDist();
chdir($MOZ_SRC);
BuildProjects();
print "Build layout complete\n";

View File

@@ -0,0 +1,385 @@
#!perl
package CodeWarriorLib;
=pod
=head1 NAME
CodeWarriorLib - supply interface to CodeWarrior
=head1 SYNOPSIS
#!perl
use CodeWarriorLib;
CodeWarriorLib::activate();
$had_errors = CodeWarriorLib::build_project(
$project_path, $target_name, $recent_errors_file, $clean_build
);
=head1 DESCRIPTION
Replaces the AppleScript library I<CodeWarriorLib>.
=over 4
=cut
use strict;
use Mac::AppleEvents::Simple;
use Mac::AppleEvents;
use Mac::Processes;
use Mac::MoreFiles;
use Mac::Types;
use File::Basename;
use vars qw($VERSION);
$VERSION = '1.02';
my($app) = 'CWIE';
# 0 == don't switch CWIE to front app in do_event(), 1 == do switch
# note: activate() still switches when called
$Mac::AppleEvents::Simple::SWITCH = 0;
# supply your own path to the source here
#_test('PowerPudgeIV:mozilla:mozilla:');
=pod
=item _get_project($full_path)
A private routine returning a reference to the open project with the given name,
or else the empty string (when that project is not open)
full_path is a string identifying the project to be built and is of the form,
e.g., "HD:ProjectFolder:MyProject.mcp". It must be supplied.
=cut
sub _get_project ($) {
my(
$full_path, $candidate_projects
) = @_;
$candidate_projects = _doc_named(basename($full_path, '*'));
if ($candidate_projects) {
my($cps) = _get_dobj($candidate_projects);
my($num) = AECountItems($cps);
if ($num) { # is a list
foreach (1 .. AECountItems($cps)) {
my($cp) = AEGetNthDesc($cps, $_);
if ($full_path eq _full_path($cp)) {
return($cp);
}
}
} else { # is only one, not a list
if ($full_path eq _full_path($cps)) {
return($cps);
}
}
}
return;
}
=pod
=item build_project
Build a selected target of a project, saving any errors to a file, if supplied.
full_path is a string identifying the project to be built and is of the form,
e.g., "HD:ProjectFolder:MyProject.mcp". It must be supplied.
If target_name is the empty string, the current target of the selected project
will be built, else, target_name should be a string matching a target name in
the selected project.
If error_path is the empty string, errors will not be saved to a file,
else, error_path should be the full path of a file to save error messages into.
=cut
sub build_project ($;$$$) {
my(
$full_path, $target_name, $error_path,
$remove_object, $p, $project_was_closed, $had_errors
) = @_;
_close_errors_window();
while (1) {
$p = _get_project($full_path);
if (!$p) {
if ($project_was_closed) {
print "### Error - request for project document failed after opening\n";
die "### possibly CW Pro 4 bug: be sure to close your Find window\n";
}
$project_was_closed = 1;
_open_file($full_path);
} else {
last;
}
}
$had_errors = 0;
if ($target_name eq '') {
if ($remove_object) {_remove_object($p)}
_build($p);
} else {
if ($remove_object) {_remove_object($p, $target_name)}
_build($p, $target_name);
}
if ($error_path ne '') {
_save_errors_window($error_path);
}
$had_errors = _close_errors_window();
if ($project_was_closed) {
$p = _get_project($full_path);
_close($p);
}
return($had_errors);
}
=pod
=item activate()
Launches CodeWarrior and brings it to the front.
Once found, path will be saved in ':idepath.txt' for future reference.
Edit or delete this file to change the location of the IDE. If app is
moved, C<activate()> will prompt for a new location.
First looks for an open CodeWarrior app. Second, tries to open previously
saved location in ':idepath.txt'. Third, tries to find it and allow user
to choose it with Navigation Services (if present). Fourth, uses good old
GUSI routines built-in to MacPerl for a Choose Directory dialog box.
=cut
sub activate () {
local(*F);
my($filepath, $appath, $psi) = (':idepath.txt');
foreach $psi (values(%Process)) {
if ($psi->processSignature() eq $app) {
$appath = $psi->processAppSpec(), "\n";
_save_appath($filepath, $appath);
last;
}
}
if ((!$appath || ! -x $appath) && open(F, $filepath)) {
$appath = <F>;
close(F);
}
if (!$appath || ! -x $appath) {
if (eval {require Mac::Navigation}) {
my($options, $nav);
Mac::Navigation->import();
$options = NavGetDefaultDialogOptions();
$options->message('Where is CodeWarrior IDE?');
$options->windowTitle('Find CodeWarrior IDE');
$nav = NavChooseObject($Application{$app}, $options);
die "CodeWarrior IDE not found.\n" if (!$nav || !$nav->file(1));
$appath = $nav->file(1);
} else {
local(*D);
my $cwd = `pwd`;
$appath = _get_folder(
'Where is the CW IDE folder?',
dirname($Application{$app})
);
die "CodeWarrior IDE not found.\n" if !$appath;
opendir(D, $appath) or die $!;
chdir($appath);
foreach my $file (sort readdir (D)) {
my(@app) = MacPerl::GetFileInfo($file);
if ($app[0] && $app[1] &&
$app[1] eq 'APPL' && $app[0] eq $app
) {
$appath .= $file;
last;
}
}
chomp($cwd);
chdir($cwd);
}
_save_appath($filepath, $appath);
}
my($lp) = LaunchParam->new(
launchAppSpec => $appath,
launchControlFlags => launchContinue() + launchNoFileFlags()
);
unless (LaunchApplication($lp)) {
unlink($filepath);
die $^E;
}
}
sub _build ($;$) {
my($evt);
if ($_[1]) {
my($prm) =
q"'----':obj {form:name, want:type(TRGT), seld:TEXT(@), from:" .
AEPrint($_[0]) . '}';
$evt = do_event(qw/CWIE MAKE/, $app, $prm, $_[1]);
} else {
my($prm) = q"'----':" . AEPrint($_[0]);
$evt = do_event(qw/CWIE MAKE/, $app, $prm);
}
}
sub _remove_object ($;$) {
my($evt);
if ($_[1]) {
my($prm) =
q"'----':obj {form:name, want:type(TRGT), seld:TEXT(@), from:" .
AEPrint($_[0]) . '}';
$evt = do_event(qw/CWIE RMOB/, $app, $prm, $_[1]);
} else {
my($prm) = q"'----':" . AEPrint($_[0]);
$evt = do_event(qw/CWIE RMOB/, $app, $prm);
}
}
sub _open_file ($) {
my($prm) =
q"'----':obj {form:name, want:type(alis), " .
q"seld:TEXT(@), from:'null'()}";
do_event(qw/aevt odoc/, $app, $prm, $_[0]);
}
sub _doc_named ($) {
my($prm) =
q"'----':obj {form:test, want:type(docu), from:'null'(), " .
q"seld:cmpd{relo:'= ', 'obj1':obj {form:prop, want:type" .
q"(prop), seld:type(pnam), from:'exmn'()}, 'obj2':TEXT(@)}}";
my($evt) = do_event(qw/core getd/, $app, $prm, $_[0]);
return($evt->{REPLY} eq 'aevt\ansr{}' ? undef : $evt);
}
sub _full_path ($) {
my($obj) = $_[0];
my($prm) =
q"'----':obj {form:prop, want:type(prop), seld:type(FILE), " .
q"from:" . AEPrint($_[0]) . q"}, rtyp:type(TEXT)";
my($evt) = do_event(qw/core getd/, $app, $prm);
return MacPerl::MakePath(
MacUnpack('fss ', (
AEGetParamDesc($evt->{REP}, keyDirectObject()))->data()->get()
)
);
}
sub _save_errors_window ($) {
my($prm) =
q"'----':obj {form:name, want:type(alis), seld:TEXT(@), from:'null'()}";
do_event(qw/MMPR SvMs/, $app, $prm, $_[0]);
}
sub _close_errors_window () {
my($prm) =
q"'----':obj {form:name, want:type(cwin), " .
q"seld:TEXT(@), from:'null'()}";
my($evt) = do_event(qw/core clos/, $app, $prm, 'Errors & Warnings');
return($evt->{REPLY} eq 'aevt\ansr{}' ? 1 : 0);
}
sub _close () {
my($prm) = q"'----':" . AEPrint($_[0]);
do_event(qw/core clos/, $app, $prm);
}
sub _get_dobj ($) {
return(AEGetParamDesc($_[0]->{REP}, keyDirectObject()));
}
sub _get_folder ($$) {
require 'GUSI.ph';
my($prompt, $default) = @_;
MacPerl::Choose(
GUSI::AF_FILE(), 0, $prompt, '',
GUSI::CHOOSE_DIR() + ($default ? &GUSI::CHOOSE_DEFAULT : 0),
$default
);
}
sub _save_appath ($$) {
open(F, '>' . $_[0]) or die $!;
print F $_[1];
close(F);
}
sub _test ($) {
activate();
my($path) = $_[0];
build_project(
"${path}modules:xml:macbuild:XML.mcp", '',
"${path}build:mac:Mozilla.BuildLog.part"
);
}
1;
=pod
=back
=head1 HISTORY
=over 4
=item v1.02, September 23, 1998
Made fixes in finding and saving location of CodeWarrior IDE.
=item v1.01, June 1, 1998
Made fixes to C<chdir()> in C<activate()>, made C<activate()> more robust
in finding CodeWarrior IDE, added global variable to NOT switch to IDE
for each sent event, a few other fixes.
=item v1.00, May 30, 1998
First shot
=back
=head1 AUTHORS
Chris Nandor F<E<lt>pudge@pobox.comE<gt>>, and the author of the
original I<CodeWarriorLib>, Scott Collins F<E<lt>scc@netscape.comE<gt>>.
=head1 SEE ALSO
BuildProject L<Moz>.
=head1 COPYRIGHT
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.
=cut

View File

@@ -0,0 +1,4 @@
/* This library only exists to provide a dummy library for the final project */
/* There is nothing to do here. */

Binary file not shown.

BIN
mozilla/build/mac/GenToc Normal file

Binary file not shown.

View File

@@ -0,0 +1,260 @@
(*
*
* 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.
*)
(*
GenToc - Generates a .toc file from the current contents of a project.
by Patrick C. Beard <beard@netscape.com>
*)
on swapDelimiters(newDelimiters)
set oldDelimiters to get AppleScript's text item delimiters
set AppleScript's text item delimiters to newDelimiters
return oldDelimiters
end swapDelimiters
on setDelimiters(newDelimiters)
set AppleScript's text item delimiters to newDelimiters
end setDelimiters
on setExtension(fileName, newExtension)
set oldDelimiters to swapDelimiters(".")
set newFileName to (text item 1 of fileName) & newExtension
setDelimiters(oldDelimiters)
return newFileName
end setExtension
on folderFromPath(filePath)
set folderPath to ((filePath's text items 1 thru ((count of filePath's text items) - 1)) as string) & ":"
return folderPath
end folderFromPath
on fileFromPath(filePath)
return last text item of filePath
end fileFromPath
on openProject(aProjectFile)
tell application "CodeWarrior IDE 3.3"
open aProjectFile
end tell
end openProject
on selectProject(aProjectFile)
set projectName to fileFromPath(aProjectFile as text)
tell application "CodeWarrior IDE 3.3"
if (name of window 1 is not projectName) then
select window projectName
end if
end tell
end selectProject
on getTargets()
set targetList to {}
set nameList to {}
tell application "CodeWarrior IDE 3.3"
set currentProject to project document 1
repeat with targetIndex from 1 to (count of targets of currentProject)
set currentTarget to (target targetIndex of currentProject)
set targetList to targetList & {currentTarget}
set nameList to nameList & {name of currentTarget}
end repeat
return {target:targetList, names:nameList}
end tell
end getTargets
(* uses "sort" scripting addition to sort a list of strings. *)
on sortList(aList)
if (aList ­ {}) then
return sort aList
else
return {}
end if
end sortList
(* uses "info for" scripting addition, to return the file type of a path. *)
on getFileType(aFilePath)
return file type of (info for alias aFilePath)
end getFileType
(* returns all "TEXT" files of the named target. *)
on getTargetFiles(targetKey)
set targetFiles to {}
tell application "CodeWarrior IDE 3.3"
set currentProject to project document 1
set currentTarget to (target targetKey of currentProject)
try
-- workaround for CW IDE 3.X bug, loop until error encountered.
set fileIndex to 1
repeat until false
set targetFile to (target file fileIndex of currentTarget)
-- only consider text files, since other platforms won't be managing binaries.
-- also, only consider if target file is directly linked.
if (linked of targetFile) then
set targetFilePath to (Access Paths of targetFile)
tell me
if (getFileType(targetFilePath) = "TEXT") then
set targetFiles to targetFiles & {targetFilePath}
end if
end tell
end if
set fileIndex to (fileIndex + 1)
end repeat
on error msg
-- display dialog msg & " file count = " & fileIndex
end try
end tell
return sortList(targetFiles)
end getTargetFiles
on addTargetFile(targetFile, targetName)
tell application "CodeWarrior IDE 3.3"
add (project document 1) new target file with data {targetFile} to targets {targetName}
end tell
end addTargetFile
on setCurrentTarget(currentTargetName)
tell application "CodeWarrior IDE 3.3"
Set Current Target currentTargetName
end tell
end setCurrentTarget
on removeTargetFile(targetFile)
tell application "CodeWarrior IDE 3.3"
Remove Files {targetFile}
end tell
end removeTargetFile
on quote(aString)
return "'" & aString & "'"
end quote
on listContains(aList, anItem)
repeat with listItem in aList
if (listItem contains anItem) then
return true
end if
end repeat
return false
end listContains
on showList(listToShow)
choose from list listToShow with prompt "List:" with empty selection allowed
end showList
on replace(aString, oldChar, newChar)
set newString to ""
repeat with aChar in (every character of aString)
if (contents of aChar = oldChar) then
set newString to newString & newChar
else
set newString to newString & aChar
end if
end repeat
return newString
end replace
on substring(aString, anOffset)
set aSubString to ""
repeat with charIndex from anOffset to (count aString)
set aSubString to aSubString & (character charIndex of aString)
end repeat
return aSubString
end substring
on setFileInfo(aFile, aCreator, aType)
tell application "Finder"
set creator type of aFile to aCreator
set file type of aFile to aType
end tell
end setFileInfo
on closeFile(fileRef)
try
-- make sure it's not currently open.
close access fileRef
on error
-- ignore error closing.
end try
end closeFile
on mroFile(aFile)
try
-- make sure it's modifiable.
mro aFile
on error
-- ignore error MROing.
end try
end mroFile
on run
-- so we can easily strip off file names from paths.
set oldDelimiters to swapDelimiters(":")
set theProjectFile to (choose file with prompt "Choose a CW Project file." of type {"MMPr"})
set theManifestFile to (new file with prompt "Create MANIFEST where?" default name setExtension(fileFromPath(theProjectFile as text), ".toc"))
set manifestRef to false
try
-- make sure the file is closed & is modifiable.
closeFile(theManifestFile)
mroFile(theManifestFile)
-- open the new MANIFEST file.
set manifestRef to (open for access theManifestFile with write permission)
set eof manifestRef to 0
-- give it CodeWarrior look and feel.
setFileInfo(theManifestFile, "CWIE", "TEXT")
openProject(theProjectFile)
selectProject(theProjectFile)
set targetsList to getTargets()
set targetNames to names of targetsList
set targetCount to count items of targetNames
set mozillaTreePathOffset to (offset of "mozilla" in (theManifestFile as text))
-- dump all targets into the new MANIFEST file.
repeat with targetName in targetNames
write ("# target: " & targetName & return) to manifestRef
setCurrentTarget(targetName)
set targetFiles to getTargetFiles(contents of targetName)
repeat with targetFile in targetFiles
-- only store the path name relative to the source tree itself.
set targetFilePath to substring(contents of targetFile, mozillaTreePathOffset)
write (replace(targetFilePath, ":", "/") & return) to manifestRef
end repeat
end repeat
on error msg
display dialog msg
end try
if (manifestRef is not false) then
closeFile(manifestRef)
end if
-- shut the project down, and display the result.
tell application "CodeWarrior IDE 3.3"
activate
Close Project
open theManifestFile
end tell
setDelimiters(oldDelimiters)
end run

View File

@@ -0,0 +1,103 @@
/* -*- 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.
*/
/*
This file overrides all option settings in the IDE. It is an attempt to allow all builds
to have the same options.
Note: We can't use ConditionalMacros.h in this file because it will conflict with
the PowerPlant precompiled headers.
*/
/* warning pragmas */
#pragma warn_hidevirtual on
#pragma warn_emptydecl on
#pragma warn_unusedvar on
#pragma warn_extracomma on
#pragma warn_illpragma on
#pragma warn_possunwant on
#pragma warn_unusedarg off /* turned off to reduce warnings */
#pragma check_header_flags on
/* Language features that must be the same across libraries... */
#pragma enumsalwaysint on
#pragma unsigned_char off
#pragma exceptions on
#pragma bool on
#pragma RTTI on
/* Save as much space as possible with strings... */
#pragma pool_strings on
#pragma dont_reuse_strings off
#pragma options align=native
#pragma sym on /* Takes no memory. OK in non-debug. */
#ifdef powerc /* ...generating PowerPC */
#pragma toc_data on
#pragma fp_contract on
#pragma readonly_strings on
#ifdef DEBUG
#pragma traceback on
#pragma global_optimizer off
#pragma scheduling off
#pragma peephole off
#pragma optimize_for_size off
#else
#pragma traceback on /* leave on until the final release, so MacsBug logs are interpretable */
#pragma global_optimizer on
#pragma optimization_level 4
#pragma scheduling 603
#pragma peephole on
#pragma optimize_for_size on
#pragma opt_strength_reduction on
#pragma opt_propagation on
#pragma opt_loop_invariants on
#pragma opt_lifetimes on
#pragma opt_dead_code on
#pragma opt_dead_assignments on
#pragma opt_common_subs on
#endif
#else /* ...generating 68k */
#pragma code68020 on
#pragma code68881 off
/* Far everything... */
#pragma far_code
#pragma far_data on
#pragma far_strings on
#pragma far_vtables on
#pragma fourbyteints on /* 4-byte ints */
#pragma IEEEdoubles on /* 8-byte doubles (as required by Java and NSPR) */
#ifdef DEBUG
#pragma macsbug on
#pragma oldstyle_symbols off
#else
#pragma macsbug off
#endif
#endif

View File

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

View File

@@ -0,0 +1,217 @@
#!perl -w
package MANIFESTO;
require 5.004;
require Exporter;
#use strict;
use vars qw($VERSION @ISA @EXPORT $MANIFESTOLib);
use Mac::StandardFile;
use Moz;
use Cwd;
use Exporter;
use File::Basename;
@ISA = qw(Exporter);
@EXPORT = qw(ReconcileProject);
$VERSION = "1.00";
=head1 NAME
MANIFESTO - drives the Mac Project Reconciliation tool.
=head1 SYNOPSIS
You want to use this script. It will make your life easier.
=head1 COPYRIGHT
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.
=cut
#
# globals
# $MANIFESTOLib - location of MANIFESTO applescript library
#
#
# utility routines
#
sub current_directory()
{
my $current_directory = cwd();
chop($current_directory) if ( $current_directory =~ m/:$/ );
return $current_directory;
}
# Uses the "compile script" extension to compile a script.
sub compile_script($;$) {
my($scriptPath, $outputPath) = @_;
#// generate a script to compile a script file.
my $script = <<END_OF_APPLESCRIPT;
store script (compile script (alias "$scriptPath")) in (file "$outputPath") replacing yes
END_OF_APPLESCRIPT
#// run the script.
MacPerl::DoAppleScript($script);
}
# _useMANIFESTOLib()
# returns 1 on success
# Search the include path for the file called MANIFESTOLib
sub _useMANIFESTOLib()
{
unless ( defined($MANIFESTOLib) )
{
my($scriptName) = "MANIFESTOLib.script";
my($libName) = "MANIFESTOLib";
# try the directory we were run from
my($scriptPath) = dirname($0) . ":" . $scriptName;
my($libPath) = dirname($0) . ":" . $libName;
# make sure that the compiled script is up to date with the textual script.
unless (-e $libPath && getModificationDate($libPath) >= getModificationDate($scriptPath)) {
print "# Recompiling MANIFESTOLib.script.\n";
compile_script($scriptPath, $libPath);
}
if ( -e $libPath) {
$MANIFESTOLib = $libPath;
} else {
# now search the include directories
foreach (@INC)
{
unless ( m/^Dev:Pseudo/ ) # This is some bizarre MacPerl special-case directory
{
$libPath = $_ . $libName;
if (-e $libPath)
{
$MANIFESTOLib = $libPath;
last;
}
}
}
}
if (! (-e $MANIFESTOLib)) {
print STDERR "MANIFESTOLib lib could not be found! $MANIFESTOLib";
return 0;
}
}
return 1;
}
sub getModificationDate($) {
my($filePath)=@_;
my($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks) = stat($filePath);
return $mtime;
}
sub setExtension($;$;$) {
my($filePath, $oldExtension, $newExtension)=@_;
my($name, $dir, $type) = fileparse($filePath, $oldExtension);
return "$dir$name$newExtension";
}
#
# ReconcileProject(projectPath, manifestoPath)
#
# Uses MANIFESTOLib AppleScript to reconcile the contents (toc?) of a
# CodeWarrior project with an external MANIFEST file.
#
sub ReconcileProject($;$) {
#// turn this feature on by removing the following line.
return 1;
my($projectPath, $manifestoPath) = @_;
my($sourceTree) = current_directory();
my($logPath) = setExtension($manifestoPath, ".toc", ".log");
print STDERR "# Reconciling Project: $projectPath with $manifestoPath\n";
#// compare the modification dates of the .toc and .log files. If .log is newer, do nothing.
if (-e $logPath && getModificationDate($logPath) >= getModificationDate($manifestoPath)) {
print "# Project is up to date.\n";
return 1;
}
_useMANIFESTOLib() || die "Could not load MANIFESTOLib\n";
my $script = <<END_OF_APPLESCRIPT;
tell (load script file "$MANIFESTOLib") to ReconcileProject("$sourceTree:", "$sourceTree$projectPath", "$sourceTree$manifestoPath")
END_OF_APPLESCRIPT
#// run the script, and store the results in a file called "$manifestoPath.log"
my $asresult = substr(MacPerl::DoAppleScript($script), 1, -1); #// chops off leading, trailing quotes.
#// print out to STDOUT to show progress.
print $asresult;
#// store the results in "$manifestoPath.log", which will act as a cache for later checks.
open(OUTPUT, ">$logPath") || die "can't open log file $logPath.";
print OUTPUT $asresult;
close(OUTPUT);
return 1;
}
1;
=pod
=head1 NAME
MANIFESTO - Scripts to process source .toc files.
=head1 SYNOPSIS
use MANIFESTO;
ReconcileProject(<path to Mac project file>, <path to table of contents file>) || die "cannot reconcile project";
=head1 DESCRIPTION
This is a PERL interface for talking to MANIFESTOLib AppleScripts.
=item ReconcileProject
ReconcileProject(<path to Mac project file>, <path to table of contents file>);
Reconciles the contents of a project with an external .toc file.
=cut
=head1 SEE ALSO
=over
=item MacCVS Home Page
http://www.maccvs.org/
=back
=head1 AUTHORS
Patrick Beard beard@netscape.com
based on work by
Aleks Totic atotic@netscape.com
=cut
__END__

Binary file not shown.

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