Compare commits

..

4484 Commits

Author SHA1 Message Date
(no author)
94f38526ea This commit was manufactured by cvs2svn to create tag 'NSS31Beta1'.
git-svn-id: svn://10.0.0.236/tags/NSS31Beta1@79370 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:08:58 +00:00
relyea%netscape.com
91f88bcb53 Fix stupid shell typo so that *ALL* the testcases will pass.
bob


git-svn-id: svn://10.0.0.236/trunk@79369 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:08:57 +00:00
mozilla.BenB%bucksch.org
f5321daaea 39372: Changing default to "blockquoting" plaintext (using vertical bars (instead of ">"s) for nested quotes during reply to plaintext msgs). r=a=alecf
git-svn-id: svn://10.0.0.236/trunk@79368 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 22:07:28 +00:00
sspitzer%netscape.com
8b0f81b576 fix for bug #51267. intermittent failure when loading files from jars.
the problem is that nsZipArchive and zlib are not thread safe.
for now, add a lock to prevent multiple threads from getting into that code
r=warren,dveditz
super-end-of-game-review=mscott


git-svn-id: svn://10.0.0.236/trunk@79367 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:56:20 +00:00
leaf%mozilla.org
e0f08cda73 Automated update
git-svn-id: svn://10.0.0.236/trunk@79366 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:45:39 +00:00
cls%seawood.org
43680a13b7 Change redirection rules for perl test so stderr results appear in config.log. Thanks to axel@pike.org for the fix.
git-svn-id: svn://10.0.0.236/trunk@79365 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:44:58 +00:00
cls%seawood.org
04e0754db4 Use make-jars-unix.pl for unix builds.
git-svn-id: svn://10.0.0.236/trunk@79364 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:43:02 +00:00
cls%seawood.org
65b5b02eb4 Initial unix variant of make-jars.pl. Supports objdirs. Takes additional "-s srcdir" option to designate location of srcdir. -c option does not work. r=disttsc@bart.nl (jag) a=leaf bug #52065
git-svn-id: svn://10.0.0.236/trunk@79363 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:40:10 +00:00
mstoltz%netscape.com
5fddebe063 Better bustage fix without leak r=scc
git-svn-id: svn://10.0.0.236/trunk@79362 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:12:36 +00:00
relyea%netscape.com
f2d81cda06 Fix merge problems from CVS. This version should now compile and work.
git-svn-id: svn://10.0.0.236/trunk@79361 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 21:01:53 +00:00
bryner%uiuc.edu
a8190e5a7a Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@79360 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:46:06 +00:00
mstoltz%netscape.com
d0300ddc1e Fixing bustage. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@79359 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:38:52 +00:00
mcgreer%netscape.com
e54cb9e60e signed data certs may not be set when this is called, so get certs from db.
git-svn-id: svn://10.0.0.236/trunk@79358 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:23:26 +00:00
blakeross%telocity.com
e8187cfd16 Beginning of the fix for bug 52727, search menu item and find dialog title should be Find in this Frame when searching a frame. r=law a=brendan
git-svn-id: svn://10.0.0.236/trunk@79357 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:21:29 +00:00
mkaply%us.ibm.com
456cbaca9c #45185
r=mkaply, a=brendan
Code from jblanco for splashscreen on OS/2


git-svn-id: svn://10.0.0.236/trunk@79356 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 20:15:28 +00:00
cls%seawood.org
8b82eecf54 Fix check for perl version and drop minimum perl version back to 5.000 r=axel@pike.org a=leaf bug #52065
git-svn-id: svn://10.0.0.236/trunk@79355 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:40:51 +00:00
mstoltz%netscape.com
b70553ceea Bugs 24765, 59288. Hooking up Necko file cache for jar protocol. r=beard, a=warren. Mac project files.
git-svn-id: svn://10.0.0.236/trunk@79354 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:36:10 +00:00
mstoltz%netscape.com
6191db92e2 Fix for bugs 24765, 49288. Using Necko file cache for the jar protocol. r=beard, a=warren.
git-svn-id: svn://10.0.0.236/trunk@79353 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:27:05 +00:00
mstoltz%netscape.com
f102bb482f Bugs 24765, 59288. Hooking up Necko file cache for jar protocol. r=beard, a=warren. Mac project files.
git-svn-id: svn://10.0.0.236/trunk@79352 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:26:57 +00:00
sean%beatnik.com
bd8880ddb6 fix for bug 50990 r=jst a=brendan prevent timeout list insertion pointer from being null
git-svn-id: svn://10.0.0.236/trunk@79351 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:22:03 +00:00
mkaply%us.ibm.com
d162af98d8 #45185
r=mkaply, a=brendan
Code from jblanco for splashscreen on OS/2


git-svn-id: svn://10.0.0.236/trunk@79350 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:19:53 +00:00
mkaply%us.ibm.com
c1e798944a #45185
r=cls, a=brendan
I have no idea how I broke rules.mk like this but it has extra CR/LF


git-svn-id: svn://10.0.0.236/trunk@79349 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 19:14:14 +00:00
mcgreer%netscape.com
fee15c70c4 NT still buggy with password files, this seems to fix it
git-svn-id: svn://10.0.0.236/trunk@79348 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 18:45:20 +00:00
cyeh%bluemartini.com
813748876f fixes for 51184, 51185, 51186: allow for ldap authentication. patches
by jmrobins@tgix.com (Joe Robins). LDAP sections haven't been
tested yet, but the code is arranged such that it shouldn't disturb
existing user authentication system.


git-svn-id: svn://10.0.0.236/trunk@79347 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 18:35:18 +00:00
mcgreer%netscape.com
ea6d4f6a57 extra #endif broke build
git-svn-id: svn://10.0.0.236/trunk@79346 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 15:58:42 +00:00
relyea%netscape.com
fe29703cc0 Propogate the password arg to the sign function.
git-svn-id: svn://10.0.0.236/trunk@79345 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 15:37:37 +00:00
relyea%netscape.com
2327610e28 Fix NT so it can read from a password file. (do the correct EOL conversions).
Fix trust display for certs not in the database.


git-svn-id: svn://10.0.0.236/trunk@79344 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 15:35:03 +00:00
leaf%mozilla.org
aa01b832f6 Automated update
git-svn-id: svn://10.0.0.236/trunk@79343 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 15:15:42 +00:00
cls%seawood.org
528ee823ce Sigh. This should be a warning for now, not an error condition
git-svn-id: svn://10.0.0.236/trunk@79342 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 15:03:33 +00:00
mkaply%us.ibm.com
ab7a303509 OS/2 VACPP Tinderbox bustage
Need cast for VisualAge. Don't ask me why.


git-svn-id: svn://10.0.0.236/trunk@79341 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 14:46:01 +00:00
mkaply%us.ibm.com
e6b5a692d4 OS/2 GCC Tinderbox bustage
Hopefully that last locale #define missing


git-svn-id: svn://10.0.0.236/trunk@79340 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 14:45:07 +00:00
jdunn%netscape.com
560db8d39c fixing AIX Tinderbox bustage:
PRBool's need PR_TRUE's or PR_FALSE's not 'false'


git-svn-id: svn://10.0.0.236/trunk@79339 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 12:23:15 +00:00
mscott%netscape.com
c88178404c enter the win directory for hewiit
git-svn-id: svn://10.0.0.236/trunk@79338 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:50:15 +00:00
mscott%netscape.com
f5afe68cf4 Enter the win directory for hewitt
git-svn-id: svn://10.0.0.236/trunk@79337 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:49:57 +00:00
mscott%netscape.com
8ea127f531 add two new makefiles to classic theme for hewitt
git-svn-id: svn://10.0.0.236/trunk@79336 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:49:19 +00:00
mscott%netscape.com
56e83f671e add new Makefile.in for hewitt
git-svn-id: svn://10.0.0.236/trunk@79335 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:48:41 +00:00
mscott%netscape.com
88d6f7ebc4 Let's try adding this makefile again, this time with a capital 'M'.
git-svn-id: svn://10.0.0.236/trunk@79334 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:47:57 +00:00
mkaply%us.ibm.com
a1e92d7a2e OS/2 GCC Tinderbox break
Another Locale #define missing from EMX


git-svn-id: svn://10.0.0.236/trunk@79333 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:33:50 +00:00
hewitt%netscape.com
c1133143f6 #46613 - fixing windows classic runtime bustage, r=hangas, a=mscott
git-svn-id: svn://10.0.0.236/trunk@79332 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:16:45 +00:00
mscott%netscape.com
12e7af20bf fix breakage for hewiit.
git-svn-id: svn://10.0.0.236/trunk@79331 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 10:03:20 +00:00
mscott%netscape.com
0007b58435 removing makefile.in that has the wrong case.
git-svn-id: svn://10.0.0.236/trunk@79330 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:39:43 +00:00
mscott%netscape.com
c5d687c934 contain unix breakage by not entering the sub directory yet.
git-svn-id: svn://10.0.0.236/trunk@79329 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:38:47 +00:00
hewitt%netscape.com
4cdab1531b #46613 - address book polish, r=ben, 2nd half of checkin started before close. a=mscott
git-svn-id: svn://10.0.0.236/trunk@79328 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:19:24 +00:00
mj%digicool.com
6b573a5a2d Fixing XML-RPC client bustage, r=jag, a=waterson
- Fix RayW's changes to actually work
- Fix bug #48564


git-svn-id: svn://10.0.0.236/trunk@79327 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:15:31 +00:00
hewitt%netscape.com
fc82482e9a #46613 - composer polish, r=hangas, 2nd half of checkin started before close. a=mscott
git-svn-id: svn://10.0.0.236/trunk@79326 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:15:05 +00:00
hewitt%netscape.com
62afa32484 #52522 - password manager tab alignment fix. r=morse, 2nd half of checkin started before close. a=mscott
git-svn-id: svn://10.0.0.236/trunk@79325 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 09:11:30 +00:00
warren%netscape.com
fa75c0f7d2 Bug 52701 - bringing MOZ_DISABLE_JAR_PACKAGING back to life.
git-svn-id: svn://10.0.0.236/trunk@79324 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 08:08:11 +00:00
sfraser%netscape.com
09236a8723 Changes for jar packaging on Mac, currently turned off. Refactoring of chrome installation, new options for using jar.mn and making jar files. r=warren
git-svn-id: svn://10.0.0.236/trunk@79323 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 08:01:41 +00:00
dveditz%netscape.com
3161b089f7 Bug 48504 correct user-agent for Windows ME. patch from Frank Faubert <frank@sane.com>
a=brendan, r=brendan,dveditz


git-svn-id: svn://10.0.0.236/trunk@79322 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 08:00:16 +00:00
joki%netscape.com
db526f3ce1 fixing bustage. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@79321 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:46:15 +00:00
dveditz%netscape.com
6af0e3663a Bug 32867 XPInstall API cleanup, r=sgehani@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79320 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:45:03 +00:00
hyatt%netscape.com
000df594e2 Taking a stab. r=joki
git-svn-id: svn://10.0.0.236/trunk@79319 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:34:44 +00:00
dveditz%netscape.com
188bf3736c removing obsolete files
git-svn-id: svn://10.0.0.236/trunk@79318 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:26:50 +00:00
hewitt%netscape.com
958c85433f #46613 - tree focus/selection colors, r=hangas
git-svn-id: svn://10.0.0.236/trunk@79317 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:18:37 +00:00
hewitt%netscape.com
0baa9e591e #46423 - remove bottom border of sidebar, r=hangas
git-svn-id: svn://10.0.0.236/trunk@79316 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:18:30 +00:00
kandrot%netscape.com
4af5f743be Missed a file for the bloat fix.
git-svn-id: svn://10.0.0.236/trunk@79315 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:11:03 +00:00
sgehani%netscape.com
7274583bb9 Open a new ftp cxn for every .xpi being downloaded: makes the linux installer
work on RH 6.2 distributions.
[r=ssu; nsbeta3+ b=52716]


git-svn-id: svn://10.0.0.236/trunk@79314 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:06:45 +00:00
saari%netscape.com
57831aa9c5 missed a bit from the last checkin as joki beat me to the repository
git-svn-id: svn://10.0.0.236/trunk@79313 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:02:58 +00:00
mjudge%netscape.com
81021b1142 fixing 34356. hack to get clickng before table working beta3+
git-svn-id: svn://10.0.0.236/trunk@79312 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:02:05 +00:00
jband%netscape.com
64af18af52 fix bug 39373. make xpconnect calls into JS within a request for safety. a,r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79311 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:59:38 +00:00
disttsc%bart.nl
fd103338cd Better version of View -> Text Size submenu. bug=37940, r=mj@digicool.com, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79310 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:59:30 +00:00
hyatt%netscape.com
f934c8ea6e Fix Linux bustage. r-joki
git-svn-id: svn://10.0.0.236/trunk@79309 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:58:32 +00:00
cmanske%netscape.com
0c989e936a More tweaks to prefs dialog b=47704, r=ben
git-svn-id: svn://10.0.0.236/trunk@79308 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:52:33 +00:00
kandrot%netscape.com
246377bde6 Fix for 370k of bloat.
r=waterson


git-svn-id: svn://10.0.0.236/trunk@79307 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:52:17 +00:00
radha%netscape.com
eca2e74b75 Fix for bug # 43871. Formerly a nsbeta3+ p1. I had the fixes sitting in my tree for a while.
r=ben


git-svn-id: svn://10.0.0.236/trunk@79306 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:50:31 +00:00
chuang%netscape.com
7160bc1727 Bug52368 Deleted entries in PAB shows up in mailing list. r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@79305 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:50:06 +00:00
ssu%netscape.com
a72fc30d56 fixing bug #52542 - Change download menu text. r=sgehani. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@79304 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:46:32 +00:00
ben%netscape.com
2c77886506 more from earlier profile manager checkin.
git-svn-id: svn://10.0.0.236/trunk@79303 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:45:40 +00:00
ben%netscape.com
08b5c51faf part of earlier profile manager checkin
git-svn-id: svn://10.0.0.236/trunk@79302 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:44:48 +00:00
alecf%netscape.com
a949d19fbc rdf side of fix for #52644 r=waterson
generate contractIDs appropriately for delegate factories


git-svn-id: svn://10.0.0.236/trunk@79301 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:43:40 +00:00
dveditz%netscape.com
888c26faf7 part of bug 32867, XPInstall API cleanup
git-svn-id: svn://10.0.0.236/trunk@79300 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:43:37 +00:00
sfraser%netscape.com
c71529a455 Adding file to RDF project for kandrot.
git-svn-id: svn://10.0.0.236/trunk@79299 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:42:42 +00:00
alecf%netscape.com
602cfc6b89 mail part of fix for #52644 r=putterman - registery smtp and filter delegate factories with the correct contractIDs
git-svn-id: svn://10.0.0.236/trunk@79298 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:42:36 +00:00
jglick%netscape.com
5158f47692 fixes for bugs: 44581, 52491, 52524, 52490, 52560, 52571, 52353, 52357, 52349, 43358. Spelling, wording and capitalization fixes. New Folder Dialog fixes. r=hangas
git-svn-id: svn://10.0.0.236/trunk@79297 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:41:01 +00:00
hyatt%netscape.com
5cf106b674 Fix for bad contractid. r=rayw
git-svn-id: svn://10.0.0.236/trunk@79296 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:39:29 +00:00
cls%seawood.org
bb283f64dc Turn off exception handling for irix 6.x builds as it fixes a bug with out-of-scope gotos. Bug #25562. Thanks to <jsd@igroup.org> for the suggested fix.
git-svn-id: svn://10.0.0.236/trunk@79295 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:39:01 +00:00
dveditz%netscape.com
0db5c78dec fixing typos in bloat detectors
git-svn-id: svn://10.0.0.236/trunk@79294 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:38:44 +00:00
hyatt%netscape.com
abfad4231c Numerous XBL fixes (security patches and minor syntax changes). r=ben
git-svn-id: svn://10.0.0.236/trunk@79293 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:38:35 +00:00
mcgreer%netscape.com
269deba25a Added function NSS_CMSSignedData_VerifyCertsOnly to API
git-svn-id: svn://10.0.0.236/trunk@79292 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:38:33 +00:00
timeless%mac.com
825dc20998 fix bug 44889, r=putterman a=brendan. Fixes Search menu to match spec from jglick.
git-svn-id: svn://10.0.0.236/trunk@79291 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:36:15 +00:00
timeless%mac.com
5c4748f997 Fix bug 44917, r=putterman a=brendan. Moving Thread menuitems into Messages submenu.
git-svn-id: svn://10.0.0.236/trunk@79290 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:31:29 +00:00
mscott%netscape.com
d3463a1323 Bug #43556 --> forgot to migrate over the default VMS file extensions from the old mime service
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@79289 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:28:44 +00:00
timeless%mac.com
9648723f97 fixes bug 44932 r=putterman a=brendan. Fixes Messenger Edit and View menus to match spec.
git-svn-id: svn://10.0.0.236/trunk@79288 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:28:33 +00:00
nbhatla%netscape.com
c4bb293e58 #46423 -> new modern skin. updates to edit-mode toolbar xul, to make the buttons look like botom tabs in modern and classic. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@79287 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:28:29 +00:00
saari%netscape.com
02474ba699 fix for 49975. r=pinkerton and hyatt
git-svn-id: svn://10.0.0.236/trunk@79286 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:28:26 +00:00
kandrot%netscape.com
6900aa9de0 Added to remove around 370k of bloat.
r=waterson


git-svn-id: svn://10.0.0.236/trunk@79285 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:25:54 +00:00
nbhatla%netscape.com
ec3555b4eb #46423 -> new modern skin. new editor formatting toolbar images, toolbar grippy, progressmeter, and edit-mode toolbar tabs. also small tweaks to classic. r=hewitt
git-svn-id: svn://10.0.0.236/trunk@79284 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:23:46 +00:00
disttsc%bart.nl
8a8770fad2 Add example for "no proxy for" field, modify accesskeys slight. Author=jce2@po.cwru.edu, bug=49858, r=jag, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79283 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:23:08 +00:00
anthonyd%netscape.com
9d2197ff8f bug fix for 22163
selection of url bar on focus
r=akkana


git-svn-id: svn://10.0.0.236/trunk@79282 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:21:03 +00:00
buster%netscape.com
871bd8d7c0 bug 18445
r=karnaze
This bug fixes the way we treat placement of replaced inline elements when
they have display:block.


git-svn-id: svn://10.0.0.236/trunk@79281 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:20:07 +00:00
dveditz%netscape.com
1df0ee9d48 Eliminate "packageregistry" file on unix (bug 33863), patch by Peter "jag" Annema
<disttsc@bart.nl>, r=dveditz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@79280 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:19:53 +00:00
joki%netscape.com
7ef6a305ea Fix for bug 5693 "problems with :hover". :hover should now work hierarchically, not just on the targetted Node. A pref was added to allow turning this off in low performance situations. r:jst
git-svn-id: svn://10.0.0.236/trunk@79279 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:17:54 +00:00
timeless%mac.com
f55a9ca1b9 Fix bug 44915, r=putterman a=brendan, adds Attachments to Messenger's File menu.
git-svn-id: svn://10.0.0.236/trunk@79278 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:17:48 +00:00
jband%netscape.com
e9ee268b9d fix bug 52579. Avoid infinite recursion dialog when JS is run by xpconnect on DOM context. a,r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79277 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:17:08 +00:00
joki%netscape.com
7c162a7c40 Fix for 30178, "hrefs override imagemap" and part of fix for 5693 by removing old hack to make :hover work on links. r:jst
git-svn-id: svn://10.0.0.236/trunk@79276 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:15:31 +00:00
ben%netscape.com
a5367f594d 51548, 46613. same as before.
git-svn-id: svn://10.0.0.236/trunk@79275 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:14:01 +00:00
joki%netscape.com
5582940255 Part of fix for bug 5693, add new pref to allow no firing of hierarchical :hover state if performance slowed. r:jst.
git-svn-id: svn://10.0.0.236/trunk@79274 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:13:58 +00:00
rpotts%netscape.com
7a47636d9e Removed two bogus asserts...
git-svn-id: svn://10.0.0.236/trunk@79273 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:13:11 +00:00
ben%netscape.com
7ec85739d3 51548, 46613, Profile Wizard is clipped on right and bottom sides, + general polish cleanup,
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@79272 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:13:01 +00:00
karnaze%netscape.com
0d3c74dd53 bug 42429 - Don't create whitespace text frames in table related frames (except for td). r=peterl.
git-svn-id: svn://10.0.0.236/trunk@79271 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:12:28 +00:00
karnaze%netscape.com
d6f50aa98b bug 52598 - during an incremental reflow, base the height of the row group on the last row instead of the last child. r=peterl.
git-svn-id: svn://10.0.0.236/trunk@79270 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:11:29 +00:00
radha%netscape.com
3673bb1f0d Fix for bug # 51564 r=valeski
git-svn-id: svn://10.0.0.236/trunk@79269 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:11:24 +00:00
joki%netscape.com
2626bc1429 Fix bug 40071 "accesskey doesn't block menus" by propagating the cancelled event state from PreHandleEvent into HandleDOMEvent. r:jst
git-svn-id: svn://10.0.0.236/trunk@79268 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:11:15 +00:00
cls%seawood.org
9e9bcc662e Fix perl api test so that jar packaging is not always disabled.
git-svn-id: svn://10.0.0.236/trunk@79267 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:10:56 +00:00
joki%netscape.com
903d3c3634 Partially fix bug 28323 by changing the text field editor keypress listener to not add characters into the text field if the user has cancelled the event. r:jst
git-svn-id: svn://10.0.0.236/trunk@79266 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:09:26 +00:00
cmanske%netscape.com
3679739131 Table dialog cleanup, b=47691, r=rcassin@supernova.org. Composer prefs cleanup, b=47704, r=ben
git-svn-id: svn://10.0.0.236/trunk@79265 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:08:51 +00:00
mscott%netscape.com
5555a48e21 Bug #43556 --> implement nsIMIMEService using the windows registry to look
up information about content we don't know about.


git-svn-id: svn://10.0.0.236/trunk@79264 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:08:11 +00:00
mscott%netscape.com
44d722d48e Bug #43556 --> implement nsIMIMEService
honor the http content disposition header if present.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@79263 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:07:58 +00:00
joki%netscape.com
0bc23fe2f3 Fix bug 47022 by fixing typo in mousemove listener registration. r: jst
git-svn-id: svn://10.0.0.236/trunk@79262 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:07:51 +00:00
nbhatla%netscape.com
69426c3b45 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@79261 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:07:48 +00:00
mscott%netscape.com
384b790f6e Bug #43556 --> merging nsIMIMEService and making it use OS specific
information.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@79260 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:06:58 +00:00
akkana%netscape.com
fdd39c8fc4 43388: allow format=flowed for UTF-8 messages. r=nhotta
git-svn-id: svn://10.0.0.236/trunk@79259 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:06:28 +00:00
mscott%netscape.com
f71a09f263 Bug #43556 --> merging nsIMIMEService and making it use OS specific
information.
r=pchen


git-svn-id: svn://10.0.0.236/trunk@79258 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:06:19 +00:00
brendan%mozilla.org
f49c7e675f Better patch for bug and bogus assertion found by rogerc@geocast.com.
git-svn-id: svn://10.0.0.236/trunk@79257 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:05:28 +00:00
akkana%netscape.com
108ffcf506 51570: remove ^W for delete word since it now conflicts with Close Window. r=kin
git-svn-id: svn://10.0.0.236/trunk@79256 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:05:25 +00:00
waterson%netscape.com
789d8856d6 Can't keep strong ref to pres shell. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79255 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 05:29:33 +00:00
mkaply%us.ibm.com
685bcd40f8 OS/2 GCC Tinderbox break
Locale #define missing from EMX


git-svn-id: svn://10.0.0.236/trunk@79254 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 03:53:14 +00:00
leaf%mozilla.org
81c590da6d adding mozilla/modules/mpfilelocprovider for embedding -leaf
git-svn-id: svn://10.0.0.236/trunk@79252 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:46:03 +00:00
beard%netscape.com
661077b41b Added GetURLWithHeaders to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@79251 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:32:30 +00:00
ddrinan%netscape.com
46acc7e6b7 Add XPCOM, NSPR and i18n back into xpi files
git-svn-id: svn://10.0.0.236/trunk@79250 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:28:23 +00:00
javi%netscape.com
e6ad43976b When doing forced backup, create a single p12 file which has all of
the certs instead of a single p12 file for each cert.


git-svn-id: svn://10.0.0.236/trunk@79249 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:27:06 +00:00
ddrinan%netscape.com
3195d0f272 Install PSM in its own directory
git-svn-id: svn://10.0.0.236/trunk@79248 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:26:52 +00:00
cyeh%bluemartini.com
5065a45918 put little comment in here about apostrophe's in enums
git-svn-id: svn://10.0.0.236/trunk@79247 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 01:00:56 +00:00
wtc%netscape.com
15a8c5657c Increase the sleep interval from 10 to 20.
git-svn-id: svn://10.0.0.236/trunk@79246 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:43:36 +00:00
bienvenu%netscape.com
7ed3aae5eb fix 51177 1M+ memory leak with compose window r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@79245 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:31:32 +00:00
cls%seawood.org
3968c18d24 Add check for perl api version 5.005 as forced by this jar fiasco.
Turn on MOZ_DISABLE_JAR_PACKAGING if perl api != 5.005 or zip is not installed.
Turn off the copy feature of make-jars.pl as that doesn't work in the objdir aware version of the make-jars.pl script.
Bug 52065. r=bryner


git-svn-id: svn://10.0.0.236/trunk@79244 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:19:30 +00:00
ashuk%eng.sun.com
bd895bcc61 author=jason@macadamian.com and louis-philippe@macadamian.com
r=a=edburns
Bug=52183


git-svn-id: svn://10.0.0.236/trunk@79243 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:18:53 +00:00
cotter%netscape.com
3df7db2f19 Updated release notes re TLS; minor formatting changes to api doc.
git-svn-id: svn://10.0.0.236/trunk@79242 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:17:45 +00:00
ashuk%eng.sun.com
76cb0fc836 author = louis-philippe@macadamian.com and jason@macadamian.com
r = a = edburns
Bug = 52183


git-svn-id: svn://10.0.0.236/trunk@79241 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:15:01 +00:00
mozilla.BenB%bucksch.org
db7a8e369d - Updating
- Adding link to web version
- Removing "If you want to be added..."


git-svn-id: svn://10.0.0.236/trunk@79240 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:03:16 +00:00
ddrinan%netscape.com
0e3acd9e8a Enable TLS by default
git-svn-id: svn://10.0.0.236/trunk@79239 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 00:03:12 +00:00
akkana%netscape.com
5dfa446a28 22163: temporarily disabling anthonyd's change from yesterday, with his permission, awaiting a better fix
git-svn-id: svn://10.0.0.236/trunk@79237 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:58:30 +00:00
av%netscape.com
399c390ec8 Part of 33105 fix, added option not to show Bad Plugin warning again, r=serge
git-svn-id: svn://10.0.0.236/trunk@79236 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:58:17 +00:00
dprice%netscape.com
06d288ac25 Disabling jar packaging for the time being.
git-svn-id: svn://10.0.0.236/trunk@79235 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:57:12 +00:00
dprice%netscape.com
4cb2b4e79d turning this off again
git-svn-id: svn://10.0.0.236/trunk@79234 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:56:09 +00:00
cyeh%bluemartini.com
1bd2b94ad6 fix for 47561:Incorrect group bit used for new group.
patch by dave@intrec.com


git-svn-id: svn://10.0.0.236/trunk@79233 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:53:24 +00:00
pinkerton%netscape.com
c91884cde1 Fix major DC suckage on win2k and 98. Instead of calling GetDC all the time,
only call it when we need it and then be sure to release it. r=mjudge, bug#49285


git-svn-id: svn://10.0.0.236/trunk@79232 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:53:19 +00:00
mscott%netscape.com
7a19b79378 part of the fix for Bug #43556 --> make sure the ask me dialog is disabled since it isn't implememented. Properly preselect the save to disk or open app radio button based on the mime info settting.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@79231 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:51:58 +00:00
dimator%netscape.com
99b4dfc3e1 fix for 40357. r=alecf
git-svn-id: svn://10.0.0.236/trunk@79230 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:46:51 +00:00
sfraser%netscape.com
8301e1b987 Fix build bustage; add new param to FlushCach. r=pnunn
git-svn-id: svn://10.0.0.236/trunk@79229 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:44:51 +00:00
mozilla.BenB%bucksch.org
7c93437f72 Readd errously removed file mailheader.css. r=Ben Goodger
git-svn-id: svn://10.0.0.236/trunk@79228 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:32:21 +00:00
mozilla.BenB%bucksch.org
02e5bb2875 Readd errously removed file. r=Ben Goodger
git-svn-id: svn://10.0.0.236/trunk@79227 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:31:44 +00:00
rickg%netscape.com
c80e00b312 fixed bug 40487 and 26347; r=attinasi/harishd
git-svn-id: svn://10.0.0.236/trunk@79226 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:31:07 +00:00
mozilla.BenB%bucksch.org
e7953b06dd Move back to platform-independant. r=Ben Goodger
git-svn-id: svn://10.0.0.236/trunk@79225 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:29:35 +00:00
rayw%netscape.com
31f9bce979 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79224 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:20:49 +00:00
mkaply%us.ibm.com
0bd52d518e #52455
r=mkaply, a=brendan
FontEnumerator implementation for OS/2


git-svn-id: svn://10.0.0.236/trunk@79223 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:17:20 +00:00
pinkerton%netscape.com
35223fe774 flush chrome cache as well, from pnunn. bug#51249.
git-svn-id: svn://10.0.0.236/trunk@79222 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:13:54 +00:00
waterson%netscape.com
b26adfca5f Tune arena sizes, per news://news.mozilla.org/39BEC105.5090206%40netscape.com.
git-svn-id: svn://10.0.0.236/trunk@79221 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:11:40 +00:00
mkaply%us.ibm.com
cb54f7637b #45185
r=cls, a=brendan
Change from pedemonte and jblanco for compiling RC on OS/2


git-svn-id: svn://10.0.0.236/trunk@79220 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:11:24 +00:00
waterson%netscape.com
bb6937683f Fix 'const' bustage.
git-svn-id: svn://10.0.0.236/trunk@79219 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:10:37 +00:00
pnunn%netscape.com
3d79f7597f bug#51249: add chrome to FlushCache. pnunn r:syd.
git-svn-id: svn://10.0.0.236/trunk@79218 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:10:30 +00:00
ftang%netscape.com
be5b15f6f1 fix bug 50864. remove umr r=nhotta
git-svn-id: svn://10.0.0.236/trunk@79217 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:10:06 +00:00
pnunn%netscape.com
b47c567fe2 bug#51249: add chrome to FlushCache. pnunn, r:syd.
git-svn-id: svn://10.0.0.236/trunk@79216 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:09:18 +00:00
waterson%netscape.com
4b7a1c2864 Bug 51813. The change in r1.194 made it so that we respect a XUL element's lazy state. Because of this, we no longer need to check for 'new' matches in InstantiationNode::Propogate() -- *all* matches should be returned. Re-constify methods that should be const, and add NS_CONST_CAST() to call out where we're doing naughty things. r=rjc
git-svn-id: svn://10.0.0.236/trunk@79215 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:07:29 +00:00
pnunn%netscape.com
b335c3ccae bug#51249: add chrome to FlushCache. pnunn r:syd
git-svn-id: svn://10.0.0.236/trunk@79214 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:06:53 +00:00
ssu%netscape.com
b12e7cfb46 fixing bugsgape #2279 - shrimp uninstall fails. r=sgehani. affects windows platforms only
git-svn-id: svn://10.0.0.236/trunk@79213 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:05:57 +00:00
hyatt%netscape.com
2031dee73c Fix for textarea regression. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@79212 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:03:33 +00:00
evaughan%netscape.com
6b96ac41e4 Fix for bug #52124
git-svn-id: svn://10.0.0.236/trunk@79211 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:02:26 +00:00
pnunn%netscape.com
9c47e1848d bug#51249: add ability to flush chrome. pnunn r: syd.
git-svn-id: svn://10.0.0.236/trunk@79210 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:00:59 +00:00
pinkerton%netscape.com
ae13ddd5ac use control key for access key on mac (that's what IE5 does). r=saari/joki. bug# 40071.
git-svn-id: svn://10.0.0.236/trunk@79209 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:58:47 +00:00
varada%netscape.com
ea5aa1e7cb fix for bug #51870;enter key in threadpane should launch new message window;r=putterman
git-svn-id: svn://10.0.0.236/trunk@79208 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:58:41 +00:00
edburns%acm.org
f59c24e492 r=vidur, av
a=brendan
bug=49525

This simple fix just adds parameters to an existing method in an XPCOM
safe way, by defining a new method at the end of the interface
definition with the additional parameters.

Original method:

    NS_IMETHOD
    GetURL(nsISupports* pluginInst,
           const char* url,
           const char* target = NULL,
           nsIPluginStreamListener* streamListener = NULL,
           const char* altHost = NULL,
           const char* referrer = NULL,
           PRBool forceJSEnabled = PR_FALSE) = 0;

New method:

    NS_IMETHOD
    GetURLWithHeaders(nsISupports* pluginInst,
                      const char* url,
                      const char* target = NULL,
                      nsIPluginStreamListener* streamListener = NULL,
                      const char* altHost = NULL,
                      const char* referrer = NULL,
                      PRBool forceJSEnabled = PR_FALSE,
                      PRUint32 getHeadersLength = 0,
                      const char* getHeaders = NULL) = 0;

I have modified nsPluginHostImpl.h to include this new method, and
modified nsPluginHostImpl.cpp so that its GetURL calls GetURLWithHeaders
with null values for the last two params.

M modules/plugin/public/nsIPluginManager.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginHostImpl.h


git-svn-id: svn://10.0.0.236/trunk@79207 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:57:56 +00:00
dougt%netscape.com
5b5da682a9 + Added OnSecurityChange() to nsIWebProgressListener interface.
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.

Fixes bug 46872.  r=valeski/rpotts


git-svn-id: svn://10.0.0.236/trunk@79206 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:56:56 +00:00
mkaply%us.ibm.com
f035fc6541 #45263
r=mkaply, a=brendan
Code from samake - report locale to current and to use OS, not c runtime


git-svn-id: svn://10.0.0.236/trunk@79205 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:56:05 +00:00
pinkerton%netscape.com
fd26dc2028 Check if preventDefault is set before handling key events. Fix for conflicts
between menus and accesskeys. r=joki/saari. bug#40071


git-svn-id: svn://10.0.0.236/trunk@79204 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:55:19 +00:00
mkaply%us.ibm.com
94a7766af1 #45263
r=nhotta, a=brendan
Code from samake - report locale to current and to use OS, not c runtime


git-svn-id: svn://10.0.0.236/trunk@79203 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:52:17 +00:00
mscott%netscape.com
650968edc1 Bug #51631 --> set correct password dialog text
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@79202 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:50:07 +00:00
ccarlen%netscape.com
89c9919b5d checkin for dougt
git-svn-id: svn://10.0.0.236/trunk@79201 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:49:59 +00:00
mkaply%us.ibm.com
e8ebaa6df7 #47874
r=rmkaply, a=brendan
Code from jkobal - step one of bring nsWindow current


git-svn-id: svn://10.0.0.236/trunk@79200 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:49:36 +00:00
mozilla.BenB%bucksch.org
28e6f23c17 Readding errously removed file, and updating to sync with Modern. r=BenGoodger
git-svn-id: svn://10.0.0.236/trunk@79199 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:46:37 +00:00
sspitzer%netscape.com
65bcd1568d fix for #51267. failure to load menu.css bug. we were
packaging up a zero length menu.css file and referencing it.
r=nbhatla,mscott


git-svn-id: svn://10.0.0.236/trunk@79198 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:44:58 +00:00
hyatt%netscape.com
6709fb945e Fix tree to select first item on arrow down. r=ben
git-svn-id: svn://10.0.0.236/trunk@79197 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:44:38 +00:00
sfraser%netscape.com
39ee26ac29 More work on 20743; better low memory handling on Mac. Better control of whether we allocate GWorlds in temp mem, make nsImageManager implement nsIMemoryPressureObserver (not turned on yet), and fix a double delete of GWorlds. r= pinkerton
git-svn-id: svn://10.0.0.236/trunk@79195 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:42:36 +00:00
sfraser%netscape.com
d345fea0ce Fix for 48887 -- truncating last char of URL. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@79194 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:39:34 +00:00
rogerl%netscape.com
8c20a9717a Bug #46429. r=rginda. Fixed bug in nested quantifiers.
git-svn-id: svn://10.0.0.236/trunk@79193 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:39:21 +00:00
kin%netscape.com
a2daff930d Fix for bug #46396: select after input confuses session history
- Remove temporary call to SetInitialValue() in CreateAnonymousContent().
      - Move all calls to SetInitialValue() out from under the 'if' statement
        they were under. This will make sure that it gets called at least
        once since there are times when GetPrefSize() and Reflow() are not
        called during the initial reflow.

r=mjudge@netscape.com


git-svn-id: svn://10.0.0.236/trunk@79192 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:39:19 +00:00
kin%netscape.com
07f8c9439a Fix for bug #33938: Pref/reply below quoted text does not move to bottom
mozilla/mailnews/compose/nsMsgCompose.cpp

      - Scroll the selection into view after all the reply text
        is inserted and the caret is positioned.

    mozilla/editor/base/nsHTMLEditor.cpp

      - Added nsAutoEditBatch variable to InsertBreak() to make
        sure that we reflow before returning. Without this fix,
        apps like MsgCompose will not be able to scroll the
        selection properly.

r=jfrancis@netscape.com


git-svn-id: svn://10.0.0.236/trunk@79191 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:39:04 +00:00
nhotta%netscape.com
02dea4a2f3 Fixing solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@79190 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:28:32 +00:00
edburns%acm.org
438c5c3e61 Added
import org.mozilla.webclient.UnimplementedException;

Fix build bustage.


git-svn-id: svn://10.0.0.236/trunk@79189 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:00:20 +00:00
relyea%netscape.com
ede68712e5 Fix authentication tests so they work for both unix and NT.
git-svn-id: svn://10.0.0.236/trunk@79188 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:59:04 +00:00
alecf%netscape.com
45074235d3 export colorpicker.css so win32 build will start without JAR packaging
git-svn-id: svn://10.0.0.236/trunk@79187 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:49:37 +00:00
dprice%netscape.com
b4ca06a198 jar packaging changes for unix
git-svn-id: svn://10.0.0.236/trunk@79186 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:36:03 +00:00
dprice%netscape.com
cca6d0daaa jar packaging changes to the installer
git-svn-id: svn://10.0.0.236/trunk@79185 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:35:39 +00:00
dprice%netscape.com
e2f80a97f8 jar packaging for linux = on
git-svn-id: svn://10.0.0.236/trunk@79184 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:35:05 +00:00
dprice%netscape.com
35852de2b6 jar packaging = on
git-svn-id: svn://10.0.0.236/trunk@79183 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:34:27 +00:00
akkana%netscape.com
18557f06ac Fixing solaris build bustage: substring workaround suggested by scc
git-svn-id: svn://10.0.0.236/trunk@79182 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:27:59 +00:00
bryner%uiuc.edu
4dc7829384 Changing security build order to fix win32 clobber bustage.
git-svn-id: svn://10.0.0.236/trunk@79181 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:22:06 +00:00
relyea%netscape.com
47de8f7712 Fix certutil to read Certs from PKCS #11 modules. Make the 'all' option for
modules work for ListCerts and ListKeys. Allow password from file for these
options as well.


git-svn-id: svn://10.0.0.236/trunk@79180 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:12:13 +00:00
hyatt%netscape.com
a5ec590672 New chrome files. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@79179 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 21:10:57 +00:00
margaret.chan%sun.com
4d7af15702 Bug fix for 36567. Use /bin/type instead of which for finding the paths.
r=cls@seawood.org a=brendan@mozilla.org.


git-svn-id: svn://10.0.0.236/trunk@79177 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:58:56 +00:00
hyatt%netscape.com
6101a8e4e4 New chrome files. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@79176 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:50:12 +00:00
sfraser%netscape.com
473ce3bad4 Add security MANIFEST to fix build bustage. r=bryner
git-svn-id: svn://10.0.0.236/trunk@79175 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:41:33 +00:00
nelsonb%netscape.com
c2af931e2d Remove duplicate PORT_Free call. Fix bug 52633.
git-svn-id: svn://10.0.0.236/trunk@79173 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:25:26 +00:00
sspitzer%netscape.com
34e994dbfd trivial fix for #52578. initialize uninitialized variable. r=rpotts
git-svn-id: svn://10.0.0.236/trunk@79172 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:23:00 +00:00
bryner%uiuc.edu
c1e6351bb6 Fixing Mac bustage for real.
git-svn-id: svn://10.0.0.236/trunk@79171 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:22:21 +00:00
bryner%uiuc.edu
7c1e8b0bb2 More bustage fixing.
git-svn-id: svn://10.0.0.236/trunk@79170 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:21:01 +00:00
sspitzer%netscape.com
9c08db9b05 fix for bug #51546. work around for the bug that the onselect handler
gets called twice.  this was causing the frame src to be set twice
which was interrupting the file loading from the JAR.  r=alecf,putterman


git-svn-id: svn://10.0.0.236/trunk@79169 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:19:17 +00:00
bryner%uiuc.edu
3f3639a781 Forgot a file, sorry. Fixes the win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@79168 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:17:29 +00:00
dveditz%netscape.com
7d6149de7f bug 51056 handle unreadable prefs file, patch from gemal@gemal.dk, r=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79167 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:12:59 +00:00
bryner%uiuc.edu
a1825244c5 Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@79166 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:12:50 +00:00
dbragg%netscape.com
9b62c0966d Fix for 51855. Removed XPInstallNotificationsEnabled and declared _elem. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@79165 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:11:56 +00:00
shanjian%netscape.com
55c0442d52 #47368 unpredefined languages entry should appears in accepted languages list once selected
ra=ftang
forgot a code path in previous checkin.


git-svn-id: svn://10.0.0.236/trunk@79164 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:01:53 +00:00
brendan%mozilla.org
3f8f557600 Fix bogus new assertion in js_AllocGCThing (r=rogerc@geocast.com).
git-svn-id: svn://10.0.0.236/trunk@79163 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:58:11 +00:00
akkana%netscape.com
c4f73d88ff 51799: Smarter quote rewrapping, taking into account multiple quote levels, and RFC2646-style citations. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@79162 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:55:40 +00:00
nhotta%netscape.com
9045727f43 Changed to convert to unicode to avoid confuse ScanTXT when saving a message as a html file, bug 50413, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@79161 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:54:18 +00:00
nhotta%netscape.com
b894c4ee7a Changed not to free the memory which is returned to the caller, bug 50413 , r=rhp.
git-svn-id: svn://10.0.0.236/trunk@79160 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:50:30 +00:00
nhotta%netscape.com
a25f70029b Fix for a incorrect string length, changed to use converted string length intead of unicode length, bug 23418, r=mscott.
git-svn-id: svn://10.0.0.236/trunk@79159 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:49:28 +00:00
sgehani%netscape.com
451ceb3bb2 Add scrollbars to the custom dlg listbox.
[r=dbragg; nsbeta3+ bscape=2288]


git-svn-id: svn://10.0.0.236/trunk@79158 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:41:00 +00:00
hyatt%netscape.com
1e6074f60a New chrome files. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@79157 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:40:03 +00:00
saari%netscape.com
e6e7838b72 Fix for 51934, mac only. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@79156 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:39:18 +00:00
bryner%uiuc.edu
96451786db removed files: mozilla/extensions/psm-glue/public/nsISSLSocketProvider.idl, mozilla/extensions/psm-glue/public/nsISecretDecoderRing.idl, mozilla/extensions/psm-glue/public/nsISecureBrowserUI.idl
git-svn-id: svn://10.0.0.236/trunk@79154 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:28:12 +00:00
bryner%uiuc.edu
713d277d91 This is the rest of the checkin to remove mozilla's dependency on building psm-glue. All security glue
interfaces and resources that aren't specific to PSM have moved to security/base.  The remaining psm-glue
interfaces which are used elsewhere in the code have been abstracted to be non-PSM-specific, and the call
sites changed to use the abstracted interface.  Bug 18352.  r=brendan,pavlov,shaver.  a=brendan.


git-svn-id: svn://10.0.0.236/trunk@79153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:27:23 +00:00
hyatt%netscape.com
610799bdf0 New smarter chrome registry. r=warren
git-svn-id: svn://10.0.0.236/trunk@79152 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:25:13 +00:00
pinkerton%netscape.com
bcd1e805f8 remove 'carb'=0 resource so that we run in the blue box on OSX. r=beard.
git-svn-id: svn://10.0.0.236/trunk@79150 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:19:13 +00:00
neeti%netscape.com
7c1ad399fa Fix for bug 48401.
Number of entries and records limited to 512. All known evict situations fixed.
Causing evict to start happening.
r=dp


git-svn-id: svn://10.0.0.236/trunk@79149 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:12:03 +00:00
andreww%netscape.com
f0d8160f36 still bug 28519 - mail 3 pane - finally getting it right. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@79148 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:02:25 +00:00
harishd%netscape.com
b4de04b36e 52361 - parser shouldn't generate synthetic doctype because
it affects SCRIPTs

r=jst


git-svn-id: svn://10.0.0.236/trunk@79147 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:02:13 +00:00
morse%netscape.com
bcec47fd04 bug 51338, cookie nag box not modal on meta-tag cookies, r=harishd
git-svn-id: svn://10.0.0.236/trunk@79146 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 18:59:47 +00:00
dougt%netscape.com
b61efc4008 First checkin of security event sink. not part of build yet.
git-svn-id: svn://10.0.0.236/trunk@79145 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 18:57:11 +00:00
waqar%netscape.com
4bc02c35ed #=48907
r=pavlov@netscape.com
d=Get the font size using the pixel size instead of the point size. Pixel
size seems to work better for non default resolutions.


git-svn-id: svn://10.0.0.236/trunk@79144 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 18:57:05 +00:00
dp%netscape.com
358f882289 bug 46147 Adding CacheAbort() for handing 400 errors from http
server and flushing the cache entry appropriately.
Also, releasing cache entry and cache channel before calling
OnStopRequest() from nsHTTPChannel::ResponseCompleted().
This should eliminate most of the cases of cache corruption
situations.
r=gagan,neeti


git-svn-id: svn://10.0.0.236/trunk@79143 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 18:52:57 +00:00
dbragg%netscape.com
3726fcb21f Fix for bug 50942. Now I get the parent from the JScontext instead of the hidden window. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@79142 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 18:52:56 +00:00
akkana%netscape.com
997abca195 52154: make view source highlighting prefable. Contribution from jce2@po.cwru.edu, r=me, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79141 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 18:51:05 +00:00
dp%netscape.com
730a9d4365 - Fixing deletion of cache on version change
- DBRecovery(): removing all fancy moves to trash folder. Just delete
  the cache when it is corrupted.
r=neeti


git-svn-id: svn://10.0.0.236/trunk@79140 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 18:48:57 +00:00
dp%netscape.com
0c1220afaa Bumping cache version number up so everyone's corrupted caches uptil
now will be automatically deleted. r=neeti


git-svn-id: svn://10.0.0.236/trunk@79139 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 18:47:30 +00:00
mcgreer%netscape.com
7413f28ac5 fix bug where certlist was being freed after being set.
git-svn-id: svn://10.0.0.236/trunk@79138 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 17:14:44 +00:00
harishd%netscape.com
d4f00ae502 52443 - smoketest blocker
Backing out my change, in the parser,that allowed newlines/whitespace
inside TABLE,TR,TBODY,TFOOT,THEAD. Will reenable this
change once the TABLE code is ready to deal with newlines
/whitespace inside the above mentioned elements.

Btw, this file was untouched by rayw's carpool.

r=vidur
a=granrose


git-svn-id: svn://10.0.0.236/trunk@79137 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 16:59:56 +00:00
dbaron%fas.harvard.edu
23e14b16f4 Updating viewer demos to match recent changes for bug 3935. Just demo files -- not really part of build.
git-svn-id: svn://10.0.0.236/trunk@79136 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 14:56:31 +00:00
morse%netscape.com
dd3ea2084e bug 51338, cookie nag box for foreign cookies is not modal, r=valeski
git-svn-id: svn://10.0.0.236/trunk@79135 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 14:49:30 +00:00
cmanske%netscape.com
fe8fe8551c Fixed Composer prefs not initializing bool pref. b=52400, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79134 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 14:45:16 +00:00
dbaron%fas.harvard.edu
f54d51dfd4 Change the names of behavior and opacity DOM properties to MozBinding and MozOpacity, and make them work again with new CSS property names. r=jst, except for case change (Moz not moz) agreed on mozilla-style b=3935
git-svn-id: svn://10.0.0.236/trunk@79133 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 14:18:24 +00:00
kin%netscape.com
3083afab85 Mac build bustage fix for nsISelectionListener.idl typo.
git-svn-id: svn://10.0.0.236/trunk@79132 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 14:08:27 +00:00
dp%netscape.com
c78f8f34bd bug 46147 Ignoring record get failures to accomodate uncommited new
entries r=gagan,neeti


git-svn-id: svn://10.0.0.236/trunk@79131 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:51:18 +00:00
dp%netscape.com
37a7afe1b7 bug 46147 nsDiskCacheRecord::Delete() can ignore file delete errors as
for the file might not exist. r=gagan,neeti


git-svn-id: svn://10.0.0.236/trunk@79130 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:49:07 +00:00
bienvenu%netscape.com
afd9aa80c5 fix for 50350 fix copying multiple news messages r=putterman
git-svn-id: svn://10.0.0.236/trunk@79129 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:45:26 +00:00
bienvenu%netscape.com
5f22cbd2ae always load new headers for folders before telling rdf, improves folder load time in some cases, r=putterman
git-svn-id: svn://10.0.0.236/trunk@79128 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:44:02 +00:00
ccarlen%netscape.com
bf946dc3cd First check-in, not yet part of build. This lib is being used to solve bug #48981, but has other uses.
r=racham


git-svn-id: svn://10.0.0.236/trunk@79127 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:40:35 +00:00
mjudge%netscape.com
669b4dd594 fixing mac forgot this one
git-svn-id: svn://10.0.0.236/trunk@79126 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:38:29 +00:00
ccarlen%netscape.com
4f7eba1ffc First check-in, not yet part of build. This lib is being used to solve bug #48981, but has other uses.
r=racham


git-svn-id: svn://10.0.0.236/trunk@79125 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:35:28 +00:00
mjudge%netscape.com
19449f7998 fixing sun/sparc i guess it didnt like the inline if/else statement. separating out.
git-svn-id: svn://10.0.0.236/trunk@79124 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:23:31 +00:00
mjudge%netscape.com
2af3d92098 thanks dbaron. didnt know about this file
git-svn-id: svn://10.0.0.236/trunk@79123 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:14:20 +00:00
mkaply%us.ibm.com
3f27f1a438 #52467
r=jkobal, a=brendan
Default colors for info background and hilite foreground/background were wrong


git-svn-id: svn://10.0.0.236/trunk@79122 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:04:58 +00:00
mjudge%netscape.com
efb7431113 left out selectionprivate. sorry bout that
git-svn-id: svn://10.0.0.236/trunk@79121 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 12:27:59 +00:00
locka%iol.ie
8dae9939ee Added new x, y, width & height parameters to createBrowserWindow method. b=46851,r=valeski
git-svn-id: svn://10.0.0.236/trunk@79120 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 12:04:04 +00:00
mjudge%netscape.com
872bffbe98 removing old domselection moving it to layout\base\public as xpidl
git-svn-id: svn://10.0.0.236/trunk@79119 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:51:06 +00:00
mjudge%netscape.com
2fc6190bef small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
mjudge%netscape.com
a3f38f63e7 removing selection.idl from here and moving it to layout\base\public as xpidl. r=sfraser r=anthonyd bug=48575
git-svn-id: svn://10.0.0.236/trunk@79117 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:40:44 +00:00
locka%iol.ie
0bec30a06f Added new x, y, width & height parameters to createBrowserWindow method. b=46851,r=valeski
git-svn-id: svn://10.0.0.236/trunk@79116 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:09:51 +00:00
hyatt%netscape.com
e252b59765 Fix dup entries. r=warren
git-svn-id: svn://10.0.0.236/trunk@79115 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:54:12 +00:00
jdunn%netscape.com
8a94c38ead adding newline at end of file (required by hp)
git-svn-id: svn://10.0.0.236/trunk@79114 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:50:50 +00:00
anthonyd%netscape.com
73b51e8ffd fix for bug #22163
making url bar behaviour the same as 4.x and IE
xul text fields, autocomplete fields now respond to onblur and onfocus events
r=hyatt,mjudge


git-svn-id: svn://10.0.0.236/trunk@79113 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:46:12 +00:00
nbhatla%netscape.com
fe9e87d5a0 #46423 -. new modern tabs continued. r=ben
git-svn-id: svn://10.0.0.236/trunk@79112 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:36:17 +00:00
nbhatla%netscape.com
46c4712e4d #46423 -> new modern tabs and other minor updates. also checking in new image files for mac classic tabs in editor. r=ben.
git-svn-id: svn://10.0.0.236/trunk@79111 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:35:21 +00:00
nbhatla%netscape.com
cf8189ff13 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@79110 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:30:29 +00:00
ben%netscape.com
841c60917f fix Account Wizard bustage for alec. Unclosed brace was causing wizard to show up blank and have non-functional buttons. r=hyatt,nbhatla.
git-svn-id: svn://10.0.0.236/trunk@79109 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:28:17 +00:00
locka%iol.ie
d6704f0876 Added test for postdata before invoking the anchor scrolling code to prevent obscure form problem where the submit url is the same as the current url with an anchor appended. b=52290
git-svn-id: svn://10.0.0.236/trunk@79108 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 09:45:14 +00:00
mjudge%netscape.com
688ab7f97f hoarkage fix. need a.get on pointer compare on unix for comptrs
git-svn-id: svn://10.0.0.236/trunk@79107 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 09:42:18 +00:00
warren%netscape.com
7209c00f72 Fixed to not delete installed-chrome.txt -- checks mod dates instead.
git-svn-id: svn://10.0.0.236/trunk@79106 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:50:14 +00:00
jband%netscape.com
c620f7cc96 fix memory corruption bug 52382. r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@79105 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:48:53 +00:00
pinkerton%netscape.com
ff01c4fd2d before starting a selection, make sure we aren't in a link because we don't want to usurp the DnD code. r=mjudge, bug# 52541.
git-svn-id: svn://10.0.0.236/trunk@79104 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:47:46 +00:00
warren%netscape.com
94d7c653e5 Made make system use add-chrome.pl to avoid duplicate entries in installed-chrome.txt
git-svn-id: svn://10.0.0.236/trunk@79103 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:43:31 +00:00
warren%netscape.com
9e20f00664 Added comments.
git-svn-id: svn://10.0.0.236/trunk@79102 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:32:50 +00:00
warren%netscape.com
ab9fe33646 Added add-chrome.pl which updates installed-chrome.txt to contain a jar file if it doesn't already exist.
git-svn-id: svn://10.0.0.236/trunk@79101 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:31:59 +00:00
sfraser%netscape.com
81a856a746 Fix directory separators.
git-svn-id: svn://10.0.0.236/trunk@79100 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:29:33 +00:00
edburns%acm.org
fc704a0841 a=brendan, ekrock
r=av, sean@beatnik.com
bug=50547

This change allows the plugin to have a greater degree of control over
the plugin lifecycle.  This change makes it possible for the plugin to
tell mozilla:

1. Whether or not they want to allow the browser to cache their
instance.  Default is yes, do allow the browser to cache their instance.

2. If they answer no to 1, that is, no the plugin does not want the
browser to cache their instance, do you want the shutdown calls to be:

a.

          inst->SetWindow(nsnull);
          inst->Stop();
          inst->Destroy();


b.

          inst->Stop();
          inst->Destroy();
          inst->SetWindow(nsnull);

a. is the default.

Please visit the bug to see the patches:

http://bugzilla.mozilla.org/show_bug.cgi?id=50547

Detail:

This fix was requested by Stanley Ho of the Sun Java Plugin Team.  A
conference call between Eric Krock, Andrei Volkov, Sun, Adobe and other
plugin vendors was used to agree on the above solution.

M modules/plugin/public/nsplugindefs.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp


git-svn-id: svn://10.0.0.236/trunk@79099 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:22:31 +00:00
rginda%netscape.com
109229d2fa -- CHATZILLA ONLY --
fis "multiple hello" messages bug 52131


git-svn-id: svn://10.0.0.236/trunk@79098 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:21:14 +00:00
gayatrib%netscape.com
38091c84ad Fix for bug 32055. If there are many emails in a header, display the toggle button at the beginning of the list. r=putterman
git-svn-id: svn://10.0.0.236/trunk@79097 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:51:09 +00:00
hyatt%netscape.com
0362f0d1f1 Fixing textfields. r=saari
git-svn-id: svn://10.0.0.236/trunk@79096 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:46:38 +00:00
ssu%netscape.com
b7079faf1e fixing bug #52513 - Disk space error during install. Affects windows platforms only. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@79095 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:35:08 +00:00
rickg%netscape.com
c433e250f9 fixed nsbeta3+ crash (bug# unavailable 'cause bugzilla is down) and removed FMM. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@79094 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:28:44 +00:00
av%netscape.com
c415ffe1a1 Fixing Mac bustage
git-svn-id: svn://10.0.0.236/trunk@79093 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:16:07 +00:00
alecf%netscape.com
0518954aae fix for #52337 and #52535 and #45512 r=putterman
fix up the first page of the account wizard to persist all the radio buttons, and
use that information later to know that we're creating a news account


git-svn-id: svn://10.0.0.236/trunk@79092 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:54:01 +00:00
karnaze%netscape.com
192b42b445 bug 30418, 47252 - order row groups before performing most operations. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@79091 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:49:47 +00:00
nisheeth%netscape.com
d029c3bb44 r=jst. Fix for nsbeta3+ bug 49579: Leak of a char * fixed in StartDocumentLoad().
git-svn-id: svn://10.0.0.236/trunk@79090 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:43:08 +00:00
rjc%netscape.com
3a45b49526 New search files for Netcenter. a=johng
git-svn-id: svn://10.0.0.236/trunk@79089 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:37:40 +00:00
jst%netscape.com
7adb227f26 Checkin in part of the fix for nsbeta3+ bug 42321. Avoid running JS_GC() many times per window open/close, once should be enough. Patch mostly done by alex@cendio.se, r=jst@netscape.com & vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79088 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:18:09 +00:00
brendan%mozilla.org
55b0ba4585 Fixes to make JS GC truly exact:
- All jsvals for which JSVAL_IS_GCTHING evaluates to true must contain tagged
pointers into the GC heap -- therefore jsapi.c's JS_DefineConstDoubles cannot
"cheat" by tagging addresses of static jsdoubles to avoid js_NewNumberValue.

- Finalization is now interleaved with the Sweep phase, to avoid allocating
memory for finalization records while sweeping.  Instead, the JSRuntime holds a
preallocated JSGCThing vector (gcFinalVec) that the Sweep phase fills and
flushes via gc_finalize_phase, repeatedly.

This means that finalizers cannot allocate a new GC thing, an incompatible but
plausible change.  js_AllocGCThing asserts and then checks whether it is called
while rt->gcLevel is non-zero, and fails the allocation attempt if so.  But this
fixes bug 38942, where the old sweep-then-finalize with a sweep => malloc
dependency could lead to memory exhaustion.

- Instead of scanning whole stackPool arenas, which led to UMRs (bug 27924) and
sometimes to gross over-scanning that depended on the GC bounds-checking all
thing pointers against its heap, we scan exactly those stack slots in use:
  - arguments reachable from fp->argv;
  - variables reachable from fp->vars;
  - operands now reachable from fp->spbase, bounded above by the lesser of
    fp->sp or fp->spbase + fp->script->depth for an interpreted frame; if the
    latter, fp->sp has advanced logically above the operand budget, in order to
    call a native method, and all unused slots from fp->sp up to depth slots
    above fp->spbase must be set to JSVAL_VOID;
  - stack segments pushed when calling native methods, prefixed by JSStackHeader
    structs and linked from cx->stackSegments through each header.
The stack segment headers help the GC avoid scanning unused portions of the
stack: the generating pc slots running depth slots below fp->spbase, and slots
at the end of an arena that aren't sufficient to satisfy a contiguous allocation
for more args, vars, or operands.

- Exact GC means the stack pointer must remain above live operands until the
interpreter is done with them, so jsinterp.c got heavily whacked.  Instead of
POPs of various kinds followed by a PUSH for binary operators (e.g.), we use
FETCH and STORE macros that index by -1 and -2 from sp, and minimize adjustments
to sp.  When sp is homed to fp->sp, this allows js_DecompileValueGenerator to
find the value reliably, and if possible its generating pc.

- Finally, the O(n**2) growth rate of gc_find_flags has been fixed, using the
scheme sketched in bug 49816 and documented in a new major comment in jsgc.c.
Briefly, by allocating flags and things from one arena, we can align things on
1024-byte "thing page" boundaries, and use JSGCPageInfo headers in each page to
find a given thing's flags in O(1) time.

/be


git-svn-id: svn://10.0.0.236/trunk@79087 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:14:45 +00:00
av%netscape.com
6cd48645de Part of 33105 fix, replaced direct calls to plugins by safe macro, r=serge
git-svn-id: svn://10.0.0.236/trunk@79086 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:13:56 +00:00
av%netscape.com
85da22b6b9 Part of 33105 fix, added a method to hsIPluginHost to handle bad plugins, r=serge
git-svn-id: svn://10.0.0.236/trunk@79085 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:03:37 +00:00
jfrancis%netscape.com
6340d3a57b fixes for 45608, 51398, 51591; r=cmanske
git-svn-id: svn://10.0.0.236/trunk@79084 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:59:19 +00:00
av%netscape.com
ebb6af908a Part of 33105 fix, first time in, macro for safe plugin calls implemented, r=serge
git-svn-id: svn://10.0.0.236/trunk@79083 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:56:28 +00:00
buster%netscape.com
cba0baa8a4 just cleaning up a warning, found during fix for bug 52307
git-svn-id: svn://10.0.0.236/trunk@79082 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:50:56 +00:00
sfraser%netscape.com
f3bac4c3b6 New files for Mac build enhancements. Not in build yet.
git-svn-id: svn://10.0.0.236/trunk@79081 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:47:21 +00:00
buster%netscape.com
21abcaad26 bug 52307
r=karnaze and r=kin
under the hood, we've opened up leaf elements to generated content.  GeneratedContentIterators assumed the real element was a container, not a leaf.  The fix was just to add a null check on a request for the element's child.


git-svn-id: svn://10.0.0.236/trunk@79080 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:40:48 +00:00
jst%netscape.com
9f877932fb Fixing nsbeta3+ bug 48161. Fixing getAttribute() on a XUL element to conform to the DOM Level 2 spec. This requires some changes in XUL files where various attributes incorrectly have a 'rdf:' prefix. r=waterson@netscape.com & scottip@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79079 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:36:52 +00:00
mscott%netscape.com
c276ad544d Fix a JS strict warning.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@79078 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:35:06 +00:00
cmanske%netscape.com
4a8e7ee94a Composer dialog cleanup. b=47691, 47701. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79077 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:30:06 +00:00
cmanske%netscape.com
a7e4e62844 CSS changes for Composer dialogs. b=47704, 47701. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@79076 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:30:00 +00:00
mjudge%netscape.com
edb56c9f7f private interface for selection
git-svn-id: svn://10.0.0.236/trunk@79075 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:24:18 +00:00
mjudge%netscape.com
72c044fa9a not in build yet. adding for beta3 bug on api change
git-svn-id: svn://10.0.0.236/trunk@79074 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:22:37 +00:00
jst%netscape.com
dc5efe66e1 Fixing nsbeta3+ bug 52572. Updating the DOM intefaces in mozilla to match the current DOM Level 2 PR. r=kandrot@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79073 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:19:00 +00:00
ben%netscape.com
aafaf24450 Account Manager/Wizard polish fixes + text change from vera. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@79072 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:17:56 +00:00
jglick%netscape.com
6c84b31650 Bug 45535, mail news pref panel updates. r=hangas
git-svn-id: svn://10.0.0.236/trunk@79071 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:17:18 +00:00
sgehani%netscape.com
3e3cb1ae18 Make linux installer localizable. [nsbeta3+ b=2288; r=dbragg;dveditz]
git-svn-id: svn://10.0.0.236/trunk@79070 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:15:46 +00:00
matt%netscape.com
c27634da4e Fixing bugs 52213 52214
all sorts of UI changes see in bugs
r=ben


git-svn-id: svn://10.0.0.236/trunk@79069 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:15:45 +00:00
sgehani%netscape.com
8fc6c7b8b2 Make linux installer localizable. [nsbeta3+ b=2288; r=dbragg,dveditz]
git-svn-id: svn://10.0.0.236/trunk@79068 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:15:40 +00:00
morse%netscape.com
be7c6e630c bug 51671, wallet doesn't work with frames, r=jst
git-svn-id: svn://10.0.0.236/trunk@79067 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:14:56 +00:00
blakeross%telocity.com
7013e42920 Fix bug 46592, wording change. r=matt a=brendan
git-svn-id: svn://10.0.0.236/trunk@79066 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:05:49 +00:00
blakeross%telocity.com
9ac1e138d7 Fix nsbeta3+ bug 52208, just a wording change to a bookmarks button. r=matt a=brendan
git-svn-id: svn://10.0.0.236/trunk@79065 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:03:24 +00:00
blakeross%telocity.com
2a43c22d88 Fix nsbeta3+ bug 43908, need to check where drag initiates in bookmarks tree. Patch by jrgm. r=me, a=brendan
git-svn-id: svn://10.0.0.236/trunk@79064 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:59:03 +00:00
ducarroz%netscape.com
e614ac5eee Fix several Javascript strict warnings. R=alecf
git-svn-id: svn://10.0.0.236/trunk@79063 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:55:12 +00:00
ducarroz%netscape.com
e198d30b46 Fix for bug 51547. Add several prefs to customize the behavior of the askSendFormatDialog. R=benb, alecf
git-svn-id: svn://10.0.0.236/trunk@79062 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:55:07 +00:00
jst%netscape.com
5c4f0fcaeb Fixing nsbeta3+ bug 51034. element.getElementsByTagName() was throwing a NS_NOINTERFACE exception to the wrong IID passed to QI. r=kandrot&pollmann
git-svn-id: svn://10.0.0.236/trunk@79061 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:53:03 +00:00
matt%netscape.com
7106079055 fix for bug 44036
r=pav


git-svn-id: svn://10.0.0.236/trunk@79060 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:52:50 +00:00
matt%netscape.com
5e787550f2 fix for bug 44036
r=pav
added check for search engine


git-svn-id: svn://10.0.0.236/trunk@79059 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:51:25 +00:00
pollmann%netscape.com
fdf5863c76 Bug 3326: Implement IsIndex Frame; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@79058 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:46:58 +00:00
blakeross%telocity.com
59cb294c42 Lots of clean up for the Search Bookmarks/History and Manage Bookmarks windows. Fixes things like column resizing, layout of widgets, tree sorting (was very messed up in these windows), proper enabling/disabling of menuitems and buttons, widget text, makes toolbars properly collapsible, fix javascript errors, adds "Preference..." menu item, fixes accelerator and access keys, make column-hider tree thumb work, online/offline switching capability, focus, implements functional statusbar and view menu to the search window, and some treePopup menu issues. fixes bugs 48340, 44693, 44696, 51960, 48339, 40912, 45443, 44537, 52032, and 52418. Patches by me and jag -- r=jag on what I wrote, and r=me on what he wrote. hyatt and slamm also looked them over. a=brendan
git-svn-id: svn://10.0.0.236/trunk@79057 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:46:23 +00:00
vishy%netscape.com
3f01fd1235 Jar packaging fixup - changes by warren. Looked at by dveditz and ssu.
r=vishy. verified this solution works for mozilla, commercial and shrimp.
dont have bug number handy but this should be world++. basically from
now on, jar.mn rules will both create the jar and publish the flat files
to dist. the flat files are needed so that installers can compose the
files into a new naming system or delete some or whatever.


git-svn-id: svn://10.0.0.236/trunk@79056 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:45:15 +00:00
mcafee%netscape.com
e83e011a22 First add. Not part of build, need to add makefile stuff.
git-svn-id: svn://10.0.0.236/trunk@79055 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:44:28 +00:00
pollmann%netscape.com
0699ec2d69 Bug 3326: Implement IsIndex frame; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@79054 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:43:31 +00:00
mcafee%netscape.com
fe51f9e790 Adding accelerators for xmlterm, irc (51418). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@79053 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:43:19 +00:00
pollmann%netscape.com
ef46e83ec0 Bug 3326: Implementing IsIndex frame. r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@79052 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:41:13 +00:00
waterson%netscape.com
8870bf7cec Bug 46134, redux. Fix another piece o' code affected by the '^' character. r=rjc
git-svn-id: svn://10.0.0.236/trunk@79051 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:39:59 +00:00
pollmann%netscape.com
b1364464ca added files: mozilla/layout/html/forms/src/nsIsIndexFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@79050 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:39:44 +00:00
rayw%netscape.com
65d371209f File went back by mistake, reverting.
git-svn-id: svn://10.0.0.236/trunk@79049 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:21:39 +00:00
rayw%netscape.com
c4734d3001 fix to mal-formed contract id introduced in mega-check-in:x
git-svn-id: svn://10.0.0.236/trunk@79048 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:18:07 +00:00
rayw%netscape.com
2a43feef6f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@79047 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 03:42:35 +00:00
despotdaemon%netscape.com
b0c2d9a09a Pseudo-automatic update of changes made by m_kato@ga2.so-net.ne.jp.
git-svn-id: svn://10.0.0.236/trunk@79046 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 02:27:14 +00:00
mcgreer%netscape.com
0e5ce38f7b even better fix to zero signer info issue
git-svn-id: svn://10.0.0.236/trunk@79044 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 00:33:28 +00:00
nelsonb%netscape.com
711c82d006 Eliminate extraneous "oop!" output at end of script on some platforms.
git-svn-id: svn://10.0.0.236/trunk@79043 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 00:32:24 +00:00
nelsonb%netscape.com
4806ff6efa Changes to make mpi use 64-bit digits on machines where unsigned longs
are 64-bits.  Renamed s_mp_invmod_32b to s_mp_invmod_radix since radix
can now exceed 32 bits.  Improved performance on all platforms except
MIPS and X86.


git-svn-id: svn://10.0.0.236/trunk@79042 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 00:31:01 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
mcgreer%netscape.com
7fadd551e8 another instance of potentially null signerInfos being referenced
git-svn-id: svn://10.0.0.236/trunk@79035 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 22:44:28 +00:00
cyeh%bluemartini.com
0fd2745e81 fix for 13626: loaded query doesn't show "Sort By" correctly.
patch by dave@intrec.com


git-svn-id: svn://10.0.0.236/trunk@79034 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 22:04:30 +00:00
relyea%netscape.com
a94db2bf0c Get the pid from Selfserv itself rather than from the Shell. works around a nasty mks bug in NT.
git-svn-id: svn://10.0.0.236/trunk@79033 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 21:59:26 +00:00
brendan%mozilla.org
c478eb3191 Temporarily back out shaver's needed cleanup to remove wallet dependencies.
git-svn-id: svn://10.0.0.236/trunk@79032 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 21:49:39 +00:00
cyeh%bluemartini.com
aa0d4ec476 fix for 29820: Remove "Changed" from email subject line
patch submitted by zach@math.berkeley.edu, additional commentary by
cyeh@bluemartini.com.


git-svn-id: svn://10.0.0.236/trunk@79031 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 21:25:25 +00:00
relyea%netscape.com
8f530a0285 Add option to get the server pid so we can kill the server later.
git-svn-id: svn://10.0.0.236/trunk@79030 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 21:25:13 +00:00
relyea%netscape.com
d10f5f20b4 Fix IDG build breakage on AIX (remove cast).
git-svn-id: svn://10.0.0.236/trunk@79029 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 21:15:07 +00:00
wtc%netscape.com
bd78647380 Get OBJDIR_NAME and OS_ARCH from the makefile as opposed to the arch.sh
script.  arch.sh should be cvs removed when we are sure about this change.
Checkin on behalf of Sonja Mirtitsch <sonmi@netscape.com>.
Modified file: init.sh
Added file: Makefile


git-svn-id: svn://10.0.0.236/trunk@79028 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 19:19:05 +00:00
hewitt%netscape.com
a93d346bd2 #52495 - text fields had no value property, r=hangas
git-svn-id: svn://10.0.0.236/trunk@79027 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 18:45:31 +00:00
mcgreer%netscape.com
2c211c677f fix incorrect buffer zero
git-svn-id: svn://10.0.0.236/trunk@79026 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 18:44:11 +00:00
mcgreer%netscape.com
94e8c0052d fix change I made last night
git-svn-id: svn://10.0.0.236/trunk@79025 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 18:13:17 +00:00
cyeh%bluemartini.com
d0772b507a fix for 51520: Missing uses of Param('emailsuffix')
patch submitted by john.beranek@pace.co.uk (John Beranek)


git-svn-id: svn://10.0.0.236/trunk@79024 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 17:45:48 +00:00
cmanske%netscape.com
03697d0f68 Tweaked color for composer Advanced Edit dialog select to match Modern colors. r=ben
git-svn-id: svn://10.0.0.236/trunk@79023 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 14:54:23 +00:00
jefft%netscape.com
2827a8959d fixed bug 28254 -- restrictions on new folder dialog for UW Imap server plus provide choice for creating either folders-only or messages-only mail folder; r=putterman
git-svn-id: svn://10.0.0.236/trunk@79022 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 14:24:41 +00:00
cmanske%netscape.com
d55702b2d2 Tweaked colors for composer dialogs to match Modern colors. r=ben
git-svn-id: svn://10.0.0.236/trunk@79021 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 14:17:43 +00:00
jdunn%netscape.com
4f33ffb804 Fix warning: return value is required from functions
r= brendan@mozilla.org scc@mozilla.org
#= 52254


git-svn-id: svn://10.0.0.236/trunk@79020 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 14:11:51 +00:00
jdunn%netscape.com
bb4f9e6413 Specify that the base class is indeed 'public' since some compilers (AIX)
assumes 'private'.  I ok'd each of these with the appropriate module
owners (see bug)

r= scc@mozilla.org & brendan@mozilla.org + everyone listed in bug
#= 52254


git-svn-id: svn://10.0.0.236/trunk@79018 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 13:50:30 +00:00
locka%iol.ie
54d214147e Added scrollByLines, scrollByPages methods to DOM window object. b=46858,r=valeski
git-svn-id: svn://10.0.0.236/trunk@79017 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 13:06:07 +00:00
jdunn%netscape.com
31c8a39bbc changing C++ comments to C comments since for some reason
nscore.h is being included by intl/lwbrk/src/rulebrk.c &
modules/libpref/src/prefapi.c
r= scc@mozilla.org & brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@79016 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 12:22:17 +00:00
jdunn%netscape.com
6ab857e60e Fix warning which requires a return value from functions
r= brendan@mozilla.org scc@mozilla.org
#= 52254


git-svn-id: svn://10.0.0.236/trunk@79015 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 11:29:18 +00:00
hewitt%netscape.com
6ed21f6b95 #46423 - modern skin splitters, r=nbhatla
git-svn-id: svn://10.0.0.236/trunk@79014 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 10:47:40 +00:00
nbhatla%netscape.com
2f40534339 #46423 -> new modern skin. brand new widgets. r=hewitt.
git-svn-id: svn://10.0.0.236/trunk@79013 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 10:47:38 +00:00
nbhatla%netscape.com
03b19f4b4d #46423 -> new modern skin. All new widgets. r=hewitt.
git-svn-id: svn://10.0.0.236/trunk@79012 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 10:46:20 +00:00
nbhatla%netscape.com
1712c74a88 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@79011 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 10:34:18 +00:00
hewitt%netscape.com
73be892ed8 #46613 - new colorpicker buttons in prefs, r=nbhatla
git-svn-id: svn://10.0.0.236/trunk@79009 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 10:15:11 +00:00
mcafee%netscape.com
1448b9ff76 Playing position games to get menus to show up in the right order (51418).
git-svn-id: svn://10.0.0.236/trunk@79008 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 09:38:02 +00:00
hewitt%netscape.com
b1ac8f9cdf #46015 - reload hotkeys, r=ben
git-svn-id: svn://10.0.0.236/trunk@79007 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 09:25:14 +00:00
hewitt%netscape.com
014f3e8527 echo #42491 - cropping on long personal toolbar items, r=ben
git-svn-id: svn://10.0.0.236/trunk@79006 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 09:24:34 +00:00
hewitt%netscape.com
59203f4890 #46423 - modern skin splitters, r=nbhatla
git-svn-id: svn://10.0.0.236/trunk@79005 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 09:24:16 +00:00
scc%mozilla.org
e86e795d5d if you want a pointer to characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@79004 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 09:06:37 +00:00
scc%mozilla.org
8a5e6de0ca if you want a pointer to characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@79003 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 08:59:22 +00:00
scc%mozilla.org
db4d5e3e1c if you want a pointer to characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@79002 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 08:49:05 +00:00
scc%mozilla.org
ae10074d68 if you want a pointer to characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@79001 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 08:41:49 +00:00
scc%mozilla.org
9660c987a1 if you want a pointer to characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@79000 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 08:21:04 +00:00
hewitt%netscape.com
657dcea70a #42491 - cropping on long personal toolbar items, r=ben
git-svn-id: svn://10.0.0.236/trunk@78999 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 08:05:57 +00:00
alecf%netscape.com
17fc997726 not part of build, just keeping up to date
git-svn-id: svn://10.0.0.236/trunk@78998 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 08:01:10 +00:00
scc%mozilla.org
58e643e4d9 if you want a character pointer, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78996 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:55:09 +00:00
anthonyd%netscape.com
f632aef0f6 fixing slashes
git-svn-id: svn://10.0.0.236/trunk@78995 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:39:45 +00:00
cls%seawood.org
63d4577247 SunWS_cache is a dir
git-svn-id: svn://10.0.0.236/trunk@78994 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:36:37 +00:00
anthonyd%netscape.com
7f0c3a37a9 added a note for the unused unix directories r=ben
git-svn-id: svn://10.0.0.236/trunk@78993 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:35:26 +00:00
sfraser%netscape.com
408647d07a More work on 20743, the mac memory problems. Have an addition 64k buffer handle that gets purged when memory is low. r=scc
git-svn-id: svn://10.0.0.236/trunk@78992 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:19:35 +00:00
scc%mozilla.org
f52349f3a6 if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78991 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:18:45 +00:00
scc%mozilla.org
2e16a172ff if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78990 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:11:08 +00:00
edburns%acm.org
a7679fd4d8 a=brendan,av
r=av
bug=50811

This bug fix was suggested by Stanley Ho <stanley.ho@eng.sun.com>.

Stanley proposed we overload the meaning of the nsIPluginStreamListener
argument to nsIPluginManager::{GetURL,PostURL}() so that it also may
implement an interface for reading headers.  Thus, the browser could QI
the plugin's nsIPluginStreamListener instance to this headers reading
interface and send the plugin the headers from the response.

I have implemented Stanley's above proposal.  I have defined a new
interface, nsIHTTPHeaderListener.idl with one method:

  /**

   * Called for each HTTP Response header.

   * NOTE: You must copy the values of the params.

   */

  void newResponseHeader(in string headerName, in string headerValue);

To affect this fix, I have added a new private method

nsPluginStreamListenerPeer::
ReadHeadersFromChannelAndPostToListener(nsIHTTPChannel *httpChannel,
                                        nsIHTTPHeaderListener *listener)

Then, modified nsPluginStreamListenerPeer::OnDataAvailable() to call
this method BEFORE reading the content data.  However, this fix makes
two important assumptions I would like to check out:

   * Assumption

   * By the time nsPluginStreamListenerPeer::OnDataAvailable() gets
   * called, all the headers have been read.

       * Assumption:

       * The return value from nsIHTTPHeader->{GetFieldName,GetValue}()
       * must be freed.

The following files are included in this fix:

A modules/plugin/public/nsIHTTPHeaderListener.idl
A modules/plugin/public/makefile.win
A modules/plugin/public/Makefile.in
M modules/plugin/nglsrc/nsPluginHostImpl.cpp


git-svn-id: svn://10.0.0.236/trunk@78989 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:09:38 +00:00
mcafee%netscape.com
f827e28083 Address Book gets ctrl+5 accelarator (51418). r=lake
git-svn-id: svn://10.0.0.236/trunk@78988 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:09:06 +00:00
edburns%acm.org
f12f878020 a=brendan,av
r=av
bug=50811

Should include "nsISupports.idl" not "nsPluginDefs.idl".


git-svn-id: svn://10.0.0.236/trunk@78987 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:07:18 +00:00
sfraser%netscape.com
e0c2dbb811 Part of the fix for 20743, add flag to tell us if a drawing surface is short-lived, so we can allocate in temp mem (on Mac). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78985 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 07:02:30 +00:00
anthonyd%netscape.com
28e8fbfbb4 fixing the slashes
git-svn-id: svn://10.0.0.236/trunk@78984 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:50:19 +00:00
scc%mozilla.org
c0bfda9230 bug #50811, a=brendan, on behalf of edburns@sun.com
git-svn-id: svn://10.0.0.236/trunk@78983 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:45:33 +00:00
mcgreer%netscape.com
a945d82e5a fixes RFE from bug 49316 (will test on NT before verifying)
git-svn-id: svn://10.0.0.236/trunk@78982 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:43:52 +00:00
scc%mozilla.org
b8ee668672 if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78981 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:42:24 +00:00
edburns%acm.org
9d9e08fdbe a=brendan,av
r=av
bug=50811

This bug fix was suggested by Stanley Ho <stanley.ho@eng.sun.com>.

Stanley proposed we overload the meaning of the nsIPluginStreamListener
argument to nsIPluginManager::{GetURL,PostURL}() so that it also may
implement an interface for reading headers.  Thus, the browser could QI
the plugin's nsIPluginStreamListener instance to this headers reading
interface and send the plugin the headers from the response.

I have implemented Stanley's above proposal.  I have defined a new
interface, nsIHTTPHeaderListener.idl with one method:

  /**

   * Called for each HTTP Response header.

   * NOTE: You must copy the values of the params.

   */

  void newResponseHeader(in string headerName, in string headerValue);

To affect this fix, I have added a new private method

nsPluginStreamListenerPeer::
ReadHeadersFromChannelAndPostToListener(nsIHTTPChannel *httpChannel,
                                        nsIHTTPHeaderListener *listener)

Then, modified nsPluginStreamListenerPeer::OnDataAvailable() to call
this method BEFORE reading the content data.  However, this fix makes
two important assumptions I would like to check out:

   * Assumption

   * By the time nsPluginStreamListenerPeer::OnDataAvailable() gets
   * called, all the headers have been read.

       * Assumption:

       * The return value from nsIHTTPHeader->{GetFieldName,GetValue}()
       * must be freed.

The following files are included in this fix:

A modules/plugin/public/nsIHTTPHeaderListener.idl
A modules/plugin/public/makefile.win
A modules/plugin/public/Makefile.in
M modules/plugin/nglsrc/nsPluginHostImpl.cpp


git-svn-id: svn://10.0.0.236/trunk@78980 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:40:57 +00:00
scc%mozilla.org
57de1f9b7a if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78979 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:22:27 +00:00
mcgreer%netscape.com
a5008c117a attempt to fix bug 51882 (sig data w/ no signer infos)
git-svn-id: svn://10.0.0.236/trunk@78978 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:15:13 +00:00
rpotts%netscape.com
dc54f0c904 bug #21095. First pass at a simple about:cache implementation...
git-svn-id: svn://10.0.0.236/trunk@78977 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:10:03 +00:00
rpotts%netscape.com
2273759b2d Keep the cache size correct when deleting cache entries.
git-svn-id: svn://10.0.0.236/trunk@78976 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 06:05:06 +00:00
ssu%netscape.com
9261e968ce fixing bug #52347 - installer build script needs to be updated to calculate disk space size correctly given the new chrome archives. r=sgehani. Not part of tinderbox builds. Would only affect windows platforms.
git-svn-id: svn://10.0.0.236/trunk@78975 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 05:39:19 +00:00
ssu%netscape.com
b3be00161b fixing bug #51928 - Disk space check doesn't return you to dir selection dialog.
and another fix that helps with fixing bugscape bug #2069 - Need appropriate strings for new UI dialogs.
r=sgehani.

affects only windows platforms.


git-svn-id: svn://10.0.0.236/trunk@78974 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 05:35:13 +00:00
ssu%netscape.com
c16e946bb6 cleaned up some error checking code. Not part of any build system. It's my personal test build script.
git-svn-id: svn://10.0.0.236/trunk@78973 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 05:30:10 +00:00
scc%mozilla.org
df47357ade if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78971 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 05:12:13 +00:00
scc%mozilla.org
cf7d4211ad if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78970 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 05:04:09 +00:00
scc%mozilla.org
53985c3c6a if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78969 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 04:59:07 +00:00
scc%mozilla.org
04ade03f25 if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78968 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 04:50:55 +00:00
scc%mozilla.org
b11557a256 if you want a pointer to the characters, your going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78967 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 04:47:36 +00:00
morse%netscape.com
c4db5b01ab bug 52026, crash when remembering cookie decisions, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@78966 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 04:23:52 +00:00
mozilla.BenB%bucksch.org
d64831a684 44552: Finetune "Intelligent Send":
- Ignore <div>s and <span>s without |style| attribute
- Honor pref for outputting structs
- Recognize elements inserted by our own recognizer (might be in a quote)
- Compress |if|s
- Increase perf by reordering (check #text, br etc. first)
52042: "Escape" classes inserted by us by prepending "moz-"
r=ducarroz, a=alecf


git-svn-id: svn://10.0.0.236/trunk@78965 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 03:47:17 +00:00
scc%mozilla.org
6dd3b2cf12 adding |.get()| for the other half of |NS_LITERAL_STRING|
git-svn-id: svn://10.0.0.236/trunk@78964 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 03:44:58 +00:00
scc%mozilla.org
7ebc69efce if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78962 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 03:24:57 +00:00
hyatt%netscape.com
06c6e22087 Backing out chrome registry changes. a=brendan
git-svn-id: svn://10.0.0.236/trunk@78960 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 03:07:26 +00:00
scc%mozilla.org
086a4f60da if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78959 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:56:52 +00:00
scc%mozilla.org
8ed2788f81 fix typo
git-svn-id: svn://10.0.0.236/trunk@78958 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:56:13 +00:00
scc%mozilla.org
e5e006543d if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78957 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:48:08 +00:00
andreww%netscape.com
91c8b0533a bug 28519 - mail 3pane focus ring. Ack! didnt account for the other layout view.xul for mailnews. This bug will die. r=putterman
git-svn-id: svn://10.0.0.236/trunk@78956 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:42:25 +00:00
scc%mozilla.org
31d7ddd4e2 fixed indentation, added inheritance that makes classes cooperate in our buffer sharing strategy, added |get()| to flat classes, as we're deprecating implicit operators for this task
git-svn-id: svn://10.0.0.236/trunk@78954 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:41:06 +00:00
saari%netscape.com
5d6bb82792 parital fix for 52150. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@78953 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:30:47 +00:00
scc%mozilla.org
9b701c3845 fixed ugly name |nsXXXBufferHandle| --> |nsFlexBufferHandle|; hey, it may not be perfect, but it's better than 'XXX'
git-svn-id: svn://10.0.0.236/trunk@78952 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:27:11 +00:00
morse%netscape.com
95e2143620 bug 52354, minor wording change, fix=verah, r=morse
git-svn-id: svn://10.0.0.236/trunk@78951 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:26:59 +00:00
scc%mozilla.org
9cf316f94c fixing signatures, includes
git-svn-id: svn://10.0.0.236/trunk@78950 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:24:55 +00:00
mozilla.BenB%bucksch.org
3d0feef7ba 52042: "Escape" classes inserted by our TXT recognizer(s) by prepending "moz-"
39771: * -> <b> (not <strong>), / -> <i> (not <em>)
18427, Step 1: Add |class=moz-text-html | to wrapping <div>, so users can add rules specific to HTML msgs to their user stylesheets (e.g. to ignore certain formatting). r=rhp
Updating msg body UA stylesheets
r=a=alecf


git-svn-id: svn://10.0.0.236/trunk@78949 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:11:00 +00:00
cmanske%netscape.com
7be15f994d Backed out using 'Clear' instead of 'Delete' for edit menu on Mac (b=47213). Fixed mispelled command name (42362) r=mjudge
git-svn-id: svn://10.0.0.236/trunk@78948 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:01:22 +00:00
akkana%netscape.com
f40b6aa394 52377, 52035: Put back keyset mistakenly removed in previous version. Suggested by jrgm
git-svn-id: svn://10.0.0.236/trunk@78947 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 01:53:34 +00:00
dimator%netscape.com
f9f48e6a74 Fix for 42534, misc. js warnings removed. r=putterman
git-svn-id: svn://10.0.0.236/trunk@78946 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 01:52:41 +00:00
warren%netscape.com
17d1d9b183 Adding missing files.
git-svn-id: svn://10.0.0.236/trunk@78945 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 01:48:34 +00:00
dimator%netscape.com
a587526aed Swithing rules order to mysteriously fix 50970. r=alecf
git-svn-id: svn://10.0.0.236/trunk@78944 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 01:47:52 +00:00
pinkerton%netscape.com
14b1e72b78 when we see that the mouseDown event was cancelled, stop tracking drags. This allows mousedown/move/up events to be processed by webpages w/out us interfering. r=joki, bug 43258.
git-svn-id: svn://10.0.0.236/trunk@78943 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 01:45:23 +00:00
cmanske%netscape.com
5620e5d7bd Prevent JS exception when node in tree doesn't implement getAttribute. r=hyatt. Needed to make Advanced Edit dialog work. b=47701, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@78942 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 01:35:12 +00:00
dveditz%netscape.com
9f1ad7974e Register chrome correctly in Mozilla debug builds when chrome jar packaging
turned off. Bug 51902 -- windows build system only, not a source file change


git-svn-id: svn://10.0.0.236/trunk@78941 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 01:11:54 +00:00
relyea%netscape.com
cd3201fc21 Fix double equal error in if statement
git-svn-id: svn://10.0.0.236/trunk@78939 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 00:21:17 +00:00
cyeh%bluemartini.com
956bda5f7f fix for 51521: Broken HTML on user permissions page, patch by john.beranek@pace.co.uk
git-svn-id: svn://10.0.0.236/trunk@78937 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 00:09:36 +00:00
anthonyd%netscape.com
0aab5b4c79 bug fix for mjudges bug #45387
r=anthonyd


git-svn-id: svn://10.0.0.236/trunk@78936 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 00:05:29 +00:00
kandrot%netscape.com
54834fb773 Fix for bug #51944. This change removes the stored selector text, and adds a method to the selector to generate the text, if needed.
r=vidur


git-svn-id: svn://10.0.0.236/trunk@78935 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 00:05:04 +00:00
cyeh%bluemartini.com
3953e5c1ba fix for 50647: RFE: yp_nomail.sh contribution. contributed by mtakacs@pacbell.net
git-svn-id: svn://10.0.0.236/trunk@78934 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 23:50:31 +00:00
alecf%netscape.com
ab123c59b1 enough with the message pane having focus dump()s
removing this dump because it's ALWAYS true (no reviewer, just a dump statement)


git-svn-id: svn://10.0.0.236/trunk@78933 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 23:38:30 +00:00
cls%seawood.org
0ad20b5822 Change MDDEPDIR to fix a VPATH issue in srcdir builds.
git-svn-id: svn://10.0.0.236/trunk@78932 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 23:37:16 +00:00
sgehani%netscape.com
82629b503e Make linux installer ftp download correctly by flushing the control connection
after file transfer has completed. [nsbeta3+ b=52287; r=ssu]

Also, make the folder selection dialog cancel button *actually* destroy the
dialog when clicked. [r=ssu]


git-svn-id: svn://10.0.0.236/trunk@78931 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 23:36:12 +00:00
ben%netscape.com
0ec683b6c3 fix for 50119, make sure that textfields have a white background
git-svn-id: svn://10.0.0.236/trunk@78929 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 23:34:05 +00:00
andreww%netscape.com
39cb595466 bugzilla bug 28519, r=varada, visual cue for focus on mail 3 pane. Fixing case where focus might be in the sidebar frame.
git-svn-id: svn://10.0.0.236/trunk@78928 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 23:28:25 +00:00
av%netscape.com
dca10f8ca8 Part of 33105 fix. Adding Bad Plugin warning message labels, r=serge
git-svn-id: svn://10.0.0.236/trunk@78927 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 23:27:37 +00:00
gordon%netscape.com
0a28f265e2 Fix for bug 44627 "[mac]local files without .html extension are not loaded correctly". Changed logic for files of type TEXT without an extension to allow nsUnknownDecoder to parse data to determine MIME type. r=gagan
git-svn-id: svn://10.0.0.236/trunk@78926 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 23:23:54 +00:00
waterson%netscape.com
07467f77af Bugs 46134. Use caret ('^') character to concatenate text. Fix nsPromiseSubstring usage. r=rjc. Bug 46686. Update container attrs *before* we nuke the bestmatch. r=rjc
git-svn-id: svn://10.0.0.236/trunk@78925 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 23:12:40 +00:00
jgmyers%netscape.com
7dab627bd9 failure to save cx->i and cx->j caused second arcfour encrypt/decrypt to return garbage: bug 52192 r=mcgreer
git-svn-id: svn://10.0.0.236/trunk@78924 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 23:02:24 +00:00
pinkerton%netscape.com
4bac413844 since mac has a better way to display busy status, don't set the busy cursor here in JS. r=ben, bug#52108
git-svn-id: svn://10.0.0.236/trunk@78922 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:52:21 +00:00
pinkerton%netscape.com
44b75acd70 Install a VBL task to animate the watch cursor when we are away from the event loop for more that 3/4 of a second. r=sfraser, bug#52108.
git-svn-id: svn://10.0.0.236/trunk@78921 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:51:16 +00:00
attinasi%netscape.com
6bcf75d1e5 Implemented GetParentContextProvider for the table frames to allow them to specify a frame other than their parent as the provider of their parent style context. b=45210 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78920 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:48:35 +00:00
attinasi%netscape.com
49df5c9af2 Added default implementation for frames to allow a frame to specify which frame provides its parent style context. Also reworked ReResolveStyleContext and VerifyStyleTree to allow the style context tree to diverge from the frame tree. b=45210 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78919 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:47:09 +00:00
attinasi%netscape.com
ef0b5887c7 Added a new method to allow a frame to specify the frame that provides its parent style context. b=45210 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78918 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:45:33 +00:00
mkaply%us.ibm.com
8a159e1043 #47874
r=jkobal, a=brendan
Missed some code for dealing with popups


git-svn-id: svn://10.0.0.236/trunk@78916 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:41:07 +00:00
mkaply%us.ibm.com
c44ca36fe8 #47874
r=mkaply, a=brendan
Support for pointertype 27 (spinning)


git-svn-id: svn://10.0.0.236/trunk@78915 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:40:13 +00:00
kin%netscape.com
ab2cde5355 49339 "Saving File" dialog doesn't initially show complete filename
Replaced call to ScrollSelectionIntoView() in SetTextControlFrameState()
with a call to nsIScrollableView::ScrollTo() that resets the scroll position
of the text widget to (0,0) when the value is replaced.
r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78914 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:14:06 +00:00
law%netscape.com
75e7b33a72 Bug 39957; specify VALIDATE_NEVER cache flag when (re)loading URLs to save stuff; r=radha@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78913 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:12:09 +00:00
law%netscape.com
3116ba6a7c Bug 39957; remember post data stream so save-page can work with pages resulting from form posts; r=radha@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78911 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 22:02:39 +00:00
cata%netscape.com
9a1ce05858 Fix for bug #49102 a=ftang r=ftang
git-svn-id: svn://10.0.0.236/trunk@78910 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:45:59 +00:00
ruslan%netscape.com
5a65d19fea proxy.ssl.connect pref should be always set to true; a=gagan
git-svn-id: svn://10.0.0.236/trunk@78909 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:42:54 +00:00
law%netscape.com
2e684abf9b Bug 37140; have Find Again open find dialog if no search has been performed yet; r=blakeross@telocity.com
git-svn-id: svn://10.0.0.236/trunk@78908 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:42:52 +00:00
ccarlen%netscape.com
1bfd09f094 Fix for #52229
Removed extra ADD_REF which was causing leak
r=bhuvan


git-svn-id: svn://10.0.0.236/trunk@78907 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:39:55 +00:00
shanjian%netscape.com
aeecc3e951 #52224, 47368 pref language related problem
ra=ftang


git-svn-id: svn://10.0.0.236/trunk@78906 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:36:48 +00:00
cyeh%bluemartini.com
a605dace61 fix for 44653: Products with / in don't get any chart data
patch submitted by gavins@iplbath.com


git-svn-id: svn://10.0.0.236/trunk@78905 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:35:46 +00:00
harishd%netscape.com
3bc6fee424 Removed the hack,in the sink, to limit nesting depth. This now
happens in the parser.

r=rickg/jst


git-svn-id: svn://10.0.0.236/trunk@78904 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:18:50 +00:00
harishd%netscape.com
f513e653c1 42429 - Preserve newline/whitespace inside TABLE,TR,TBODY,THEAD,TFOOT
50710 - Stop after popping a style stack otherwise it might cause a MLK
r=rickg


git-svn-id: svn://10.0.0.236/trunk@78903 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:17:47 +00:00
nisheeth%netscape.com
268381b93d Followup to fix for nsbeta3+ bug 10292. Return default values from GetMappedAttributeImpact and GetContentStyleRules().
git-svn-id: svn://10.0.0.236/trunk@78902 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 21:02:02 +00:00
hewitt%netscape.com
1f302b5b55 #51827 - "foopy" no longer displayed by default, r=ben
git-svn-id: svn://10.0.0.236/trunk@78901 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:58:06 +00:00
heikki%netscape.com
648ff744fc Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@78900 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:54:41 +00:00
shaver%mozilla.org
bb494f212a #18352: remove extensions/ dependencies. This breaks single-signon for now, r=valeski, a=brendan
git-svn-id: svn://10.0.0.236/trunk@78899 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:45:58 +00:00
ashuk%eng.sun.com
1348efa3bc author = ashuk
r = a = edburns
Bug = 46068

_Ashu


git-svn-id: svn://10.0.0.236/trunk@78898 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:44:47 +00:00
ducarroz%netscape.com
9126108c01 Fix for bug 51360. Replace function EnsureElementIsVisible by more acurate functions to manipulate the addressing widget tree position. Also fix several Javascript strict warnings. R=bienvenu
git-svn-id: svn://10.0.0.236/trunk@78897 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:38:19 +00:00
ducarroz%netscape.com
b061866f48 Fix various Javascript Strict Warnings and Error. Now Keyboard navigation in autocomplete Popup menu will work again. R=bienvenu
git-svn-id: svn://10.0.0.236/trunk@78896 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:35:52 +00:00
mcgreer%netscape.com
e0397abbd4 leading zero problems fixed; thanks to nelsonb for pointing out that I needed mp_to_fixlen_octets
git-svn-id: svn://10.0.0.236/trunk@78895 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:32:43 +00:00
relyea%netscape.com
00ad1b532e pick up changes from NSS 2.8.3. Most of these changes include the changes
Nelson made in rev 1.9 and 1.10. It also include some changes that remove
inappropriate templace valuse (CKA_VALUE_LEN) in some cases. Our internal
token tolerates these values, but most tokens rightly reject requests with
these.


git-svn-id: svn://10.0.0.236/trunk@78894 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:29:23 +00:00
evaughan%netscape.com
fb2845a33e Fix for bug #51780
-r pinkerton


git-svn-id: svn://10.0.0.236/trunk@78893 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:19:11 +00:00
jgmyers%netscape.com
ed7132b5a2 support IPv6 in ssl: bug 48657 r=nelsonb
git-svn-id: svn://10.0.0.236/trunk@78892 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:15:44 +00:00
shaver%mozilla.org
34eab08def #44426, fix FreeBSD > 2.5, a=brendan
git-svn-id: svn://10.0.0.236/trunk@78891 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 19:57:02 +00:00
scc%mozilla.org
c2b5bd8f2e bug #18352: added "nsIPasswordManager.idl" on shaver's behalf
git-svn-id: svn://10.0.0.236/trunk@78890 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 19:54:55 +00:00
shaver%mozilla.org
08a29e0760 #44857, fix Linux/SPARC compilation (a=brendan)
git-svn-id: svn://10.0.0.236/trunk@78889 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 19:54:45 +00:00
nelsonb%netscape.com
84c43457e0 Set the CKA_VALUE attribute in pk11_ImportSymKeyWithTempl().
This is a better solution to bug 52306, because it fixes the behavior of
all the functions that unwrap and/or import sym keys.


git-svn-id: svn://10.0.0.236/trunk@78888 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 19:44:56 +00:00
brendan%mozilla.org
612a3ff881 Fix uninitialized var bug found by one warning, silence another that's a can't-happen (r=jwbaker@acm.org).
git-svn-id: svn://10.0.0.236/trunk@78887 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 19:42:01 +00:00
attinasi%netscape.com
9750b16492 Part of fix for bug 45210: style contexts had the wrong parent because the frames were reparented but their style contexts were not. r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78886 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 19:41:27 +00:00
akkana%netscape.com
5ed30d1b48 52256: missed this yesterday, which caused modifier keys to seem hardwired on
git-svn-id: svn://10.0.0.236/trunk@78885 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 18:54:27 +00:00
wtc%netscape.com
9c4d721789 Bugzilla bug #52232: remove the yacc rule and also cancel the implicit
yacc and lex rules in the primary Makefile.  Added comments to rules.mk
explaining that Berkeley yacc should be used.
Modified files: Makefile, rules.mk


git-svn-id: svn://10.0.0.236/trunk@78884 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 18:52:57 +00:00
slamm%netscape.com
dc8db45b12 Handle case of no sidebar-splitter (blocker 2298). r=andreww a=leaf
git-svn-id: svn://10.0.0.236/trunk@78883 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 18:39:49 +00:00
nboyd%atg.com
bc0d4f6ba9 Fix infinite loop in new code.
git-svn-id: svn://10.0.0.236/trunk@78882 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 17:06:15 +00:00
ashuk%eng.sun.com
f2b3b5f5e7 author = ashuk
r = a = edburns
Bug = 51280


git-svn-id: svn://10.0.0.236/trunk@78881 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 16:44:32 +00:00
ashuk%eng.sun.com
fb265f1a57 author = ashuk
r = a = edburns
Bug = 48356, 51326


git-svn-id: svn://10.0.0.236/trunk@78880 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 16:33:45 +00:00
cyeh%bluemartini.com
84f9b74705 fix for 51299: RemoveVotes email should use the 'sendmailnow' Param. patch by dave@intrec.com
git-svn-id: svn://10.0.0.236/trunk@78879 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 16:29:38 +00:00
wtc%netscape.com
d6b2fe7a69 Bugzilla bug #52232: reverted to revision 1.1, which was generated
by Berkeley yacc 1.4 and hence was portable.  Revision 1.2 was
generated by the yacc in Solaris 2.6 and contained
#include <values.h>, which does not exist on NT.  Always use Berkeley
yacc (latest version is 1.9) to generate installparse.{c,h}.
Modified files: installparse.c, installparse.h


git-svn-id: svn://10.0.0.236/trunk@78878 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:51:06 +00:00
karnaze%netscape.com
1dd1148b98 new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@78877 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:34:42 +00:00
dcone%netscape.com
540fe30106 Put the nsPrintOptions into the factory for the Mac. r=kmmclusky. b=36796
git-svn-id: svn://10.0.0.236/trunk@78876 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:34:14 +00:00
dcone%netscape.com
232fefc217 Stray Semicolon taken out.
git-svn-id: svn://10.0.0.236/trunk@78875 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:31:10 +00:00
rods%netscape.com
9521906152 forgot one small last jchange from the patch
b=49300 r=alex@cendio.se


git-svn-id: svn://10.0.0.236/trunk@78874 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:24:40 +00:00
karnaze%netscape.com
347661a45d bug 51727 - rebalance table cols when fixed cell gets smaller and was the contributor of the previous col width. r=rods.
git-svn-id: svn://10.0.0.236/trunk@78873 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:24:35 +00:00
bienvenu%netscape.com
02a94ae7b7 fix 51889 make sure we have an imap inbox when we startup after profile migration r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@78872 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 14:14:30 +00:00
jeff.dyer%compilercompany.com
77c82c67ad FALSE -> PR_FALSE
git-svn-id: svn://10.0.0.236/trunk@78871 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 12:44:48 +00:00
jeff.dyer%compilercompany.com
4f1adc65bd nsCSecurityContext -> MRJSecurityContext
git-svn-id: svn://10.0.0.236/trunk@78870 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 12:38:27 +00:00
mkaply%us.ibm.com
fa3fbcaa2a OS/2 Tinderbox break
Need cast for VisualAge


git-svn-id: svn://10.0.0.236/trunk@78869 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 12:28:31 +00:00
mkaply%us.ibm.com
937d270a8c OS/2 Tinderbox break
The Windows way was right, not sure why it was made different for OS/2.


git-svn-id: svn://10.0.0.236/trunk@78868 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 12:24:32 +00:00
jeff.dyer%compilercompany.com
b40292e6b9 FALSE -> PR_FALSE
git-svn-id: svn://10.0.0.236/trunk@78867 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 12:22:52 +00:00
jeff.dyer%compilercompany.com
d841ae0e05 b=45692 r=rogerl a=brendan: Enable liveconnect security.
git-svn-id: svn://10.0.0.236/trunk@78866 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 11:50:49 +00:00
jeff.dyer%compilercompany.com
653ab9a57c b=45692 r=beard a=brendan: Enable liveconnect security.
git-svn-id: svn://10.0.0.236/trunk@78865 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 11:49:55 +00:00
jeff.dyer%compilercompany.com
d227ddb376 b=45692 r=edburns a=brendan: Enable liveconnect security.
git-svn-id: svn://10.0.0.236/trunk@78864 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 11:47:42 +00:00
idk%eng.sun.com
4bfbdacbd9 * NOT PART OF TBOX BUILDS *
Fixed build problems on win32


git-svn-id: svn://10.0.0.236/trunk@78862 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 10:10:20 +00:00
pierre%netscape.com
4eccb39e1d 50804: nicer look for focus outlines. Fix sent by henris@clinet.fi, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@78861 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 09:54:31 +00:00
nisheeth%netscape.com
4f193605d7 Checkin to use a pref instead of a compile time switch for turning on async reflow during doc load. Related to previous checkin to fix nsbeta3+ bug 39368.
git-svn-id: svn://10.0.0.236/trunk@78860 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 08:59:01 +00:00
idk%eng.sun.com
15e68a5a17 ** NOT PART OF TBOX BUILDS **
BlackConnect M2 check in.
It should be possible to implement any scriptable interface in java.
Also it should be possible to use any scriptable object from java.
Fixed: 15498, 15500


git-svn-id: svn://10.0.0.236/trunk@78858 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 08:54:13 +00:00
warren%netscape.com
3aedef481f Added URL attribute to nsIFile (why: because (a) needs to vary for different implementations, and (b) need to factor out of necko for installer). Not implemented yet.
git-svn-id: svn://10.0.0.236/trunk@78857 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 08:05:13 +00:00
hewitt%netscape.com
7d199d0bd4 #46423 - modern skin sidebar, r=nbhatla
git-svn-id: svn://10.0.0.236/trunk@78856 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 07:49:06 +00:00
mcafee%netscape.com
6153e587e4 Adding accelerator for View|Page Source (51541). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78855 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 07:06:38 +00:00
mjudge%netscape.com
6f627f4eb5 36130 beta3 bug. 1 line change to scroll selection
into view when value is set on text field/area.


git-svn-id: svn://10.0.0.236/trunk@78854 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 06:35:54 +00:00
mcafee%netscape.com
5db2bb1be6 Adding accesskeys for Help menu items (51597). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78853 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 06:30:35 +00:00
putterman%netscape.com
49741d0664 Fix for 48985. r=alecf. Make accelerators work correctly on Mac.
git-svn-id: svn://10.0.0.236/trunk@78852 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 05:55:08 +00:00
sgehani%netscape.com
bb86979dda Correct fix for unix distributions that don't define SHUT_RDWR.
git-svn-id: svn://10.0.0.236/trunk@78851 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 05:21:34 +00:00
sgehani%netscape.com
cd3a975eb0 Tentative bustage band-aid attempt.
git-svn-id: svn://10.0.0.236/trunk@78850 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 05:15:15 +00:00
warren%netscape.com
37cb5d943a Added missing files.
git-svn-id: svn://10.0.0.236/trunk@78849 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 05:11:58 +00:00
warren%netscape.com
e8ba31ee50 Fixed error code.
git-svn-id: svn://10.0.0.236/trunk@78848 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 05:11:11 +00:00
warren%netscape.com
fb765afaa7 Fixed to copy files as well as jar them.
git-svn-id: svn://10.0.0.236/trunk@78847 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 05:10:48 +00:00
sgehani%netscape.com
69fdbeb67a Replace command line `ftp' with our ftp impl for the linux/solaris installers.
[r=ssu; nsbeta3+ b=47886]


git-svn-id: svn://10.0.0.236/trunk@78846 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 04:47:36 +00:00
dougt%netscape.com
50c960ea59 Backing out changes which reduces the number of notifies on the event queue monitor. We still are reducing the number of native notifications.
git-svn-id: svn://10.0.0.236/trunk@78845 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 04:37:35 +00:00
mcafee%netscape.com
fdc9a365cb Cleaning this up, adding some comments. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78844 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 04:29:56 +00:00
nbhatla%netscape.com
0d6b36837a #46423-> new modern skin. formatting toolbar updates. r=hewitt.
git-svn-id: svn://10.0.0.236/trunk@78843 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 04:17:16 +00:00
nbhatla%netscape.com
3106122ed7 #46423 -> new modern skin. Fixes for icons in formatting toolbar of messenger compose and editor. r=hewitt.
git-svn-id: svn://10.0.0.236/trunk@78842 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 04:16:31 +00:00
nbhatla%netscape.com
5216cf2b72 #46423 -> new modern skin. Fixes to icons and colors in formatting toolbar in messenger compose and editor. r=hewitt.
git-svn-id: svn://10.0.0.236/trunk@78841 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 04:14:57 +00:00
nbhatla%netscape.com
4f195f343a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@78840 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 04:12:27 +00:00
dcone%netscape.com
5c687fabf6 Fixed the tiling bug. Limited the size of the tile buffer. Check for sizing. Bug=49751 r=kmcclusky a=kmcclusky
git-svn-id: svn://10.0.0.236/trunk@78839 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 03:48:56 +00:00
mcafee%netscape.com
2fdda0fa7a Adding accelerator for AddressBook (51418). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78838 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 03:47:57 +00:00
mcafee%netscape.com
24f52ed6cb Adding accelerator for Composer (51418). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78837 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 03:32:36 +00:00
mcafee%netscape.com
1b25cb6ca1 Value for mail menu item now described in keyset id (51418). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78836 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 02:45:43 +00:00
shaver%mozilla.org
1e1e2ba7ca Part 1.1 of 18352 (remove extensions/ dependencies from non-extensions/ code):
Teach netwerk about nsIPasswordManager.
  (Craves better interfaces, current versions just C&P'd from wallet's.)
r=valeski,a=brendan


git-svn-id: svn://10.0.0.236/trunk@78835 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 02:35:29 +00:00
warren%netscape.com
3731117631 Removed dups from bit-rotted jar.mn file that prevented it from zipping.
git-svn-id: svn://10.0.0.236/trunk@78834 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 02:34:29 +00:00
mcafee%netscape.com
7eaf789d3c Adding accelerator for mail in Tasks menu (51418). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78833 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 02:33:16 +00:00
nhotta%netscape.com
a16d44e3eb Changed to remove tabs from subject strings before adding to thread pane, bug 38192, r=putterman.
git-svn-id: svn://10.0.0.236/trunk@78832 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 02:26:36 +00:00
mozilla.BenB%bucksch.org
9cef762c52 50615: Use generic icons :-( until we have nicer specific ones. r=ducarroz, a=alecf
git-svn-id: svn://10.0.0.236/trunk@78831 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 02:22:31 +00:00
alecf%netscape.com
367be27530 fix lots of JS/strict warnings r=ben
(no bug, just quieting debug output)


git-svn-id: svn://10.0.0.236/trunk@78830 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 02:08:14 +00:00
akkana%netscape.com
d690a8fad2 52035, 52171: Fix some recent regressions in key bindings. r=hyatt,jfrancis
git-svn-id: svn://10.0.0.236/trunk@78829 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 02:01:12 +00:00
alecf%netscape.com
0b9fb11d9e TRUE->PR_TRUE for platform compatibility (no reviewer, just a bustage fix)
git-svn-id: svn://10.0.0.236/trunk@78828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 01:58:50 +00:00
alecf%netscape.com
1a250b9214 FALSE->PR_FALSE for platform compatibility (no reviewer, simple fix)
git-svn-id: svn://10.0.0.236/trunk@78827 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 01:58:10 +00:00
dimator%netscape.com
2e1bf42a3f Changing default collect address book maximum from 200 to 700 cards. r=putterman
git-svn-id: svn://10.0.0.236/trunk@78826 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 01:53:20 +00:00
alecf%netscape.com
bd9232729a fix some JS strict warnings r=putterman
git-svn-id: svn://10.0.0.236/trunk@78825 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 01:51:46 +00:00
alecf%netscape.com
f97cac2644 fix some JS strict warnings r=putterman (no bug, just quiets down debug output)
git-svn-id: svn://10.0.0.236/trunk@78824 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 01:51:22 +00:00
jst%netscape.com
da36093404 Fixing nsbeta3+ bug 51562. Don't leak nsXMLProcessingInstructions... r=beard&dbaron
git-svn-id: svn://10.0.0.236/trunk@78823 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 01:51:02 +00:00
alecf%netscape.com
6abb1a6447 fix for #45512 r=putterman
rewrite the first page of the account wizard to show a single level of radio
buttons instead of the old multi-level appearance


git-svn-id: svn://10.0.0.236/trunk@78822 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 01:50:23 +00:00
sgehani%netscape.com
886df5193d *** NOT PART OF TBOX BUILDS ***
First cut at ftp impl for linux installer (for nsbeta3+ b=47886; r=ssu).


git-svn-id: svn://10.0.0.236/trunk@78821 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 01:43:49 +00:00
oeschger%netscape.com
4380ae82a6 adding separator to help menu
git-svn-id: svn://10.0.0.236/trunk@78820 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:56:10 +00:00
beard%netscape.com
53017a8f49 Fixing scope problems on Linux
git-svn-id: svn://10.0.0.236/trunk@78819 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:53:33 +00:00
despotdaemon%netscape.com
7d65dc61d5 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@78818 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:50:53 +00:00
despotdaemon%netscape.com
79be40d657 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@78817 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:50:24 +00:00
despotdaemon%netscape.com
6b0b8ba020 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@78816 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:50:12 +00:00
blakeross%telocity.com
b7623dfa76 Fix nsbeta3+ bug 50873: make the More Info button in the Smart Browsing pref panel function properly. r=matt a=brendan
git-svn-id: svn://10.0.0.236/trunk@78815 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:49:05 +00:00
blakeross%telocity.com
0f0125d5fc Fix nsbeta3+ bug 50873: make the More Info button in the Smart Browsing pref panel function properly. r=matt a=brendan
git-svn-id: svn://10.0.0.236/trunk@78814 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:45:01 +00:00
nelsonb%netscape.com
c252037dc3 Fix two bugs in mp_invmod: a) returned wrong result if output var is also
one of the input vars, b) sometimes returned negative answer. Added a test
case to mpi-test.c with a value that previously produced a negative answer.


git-svn-id: svn://10.0.0.236/trunk@78813 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:41:09 +00:00
mcafee%netscape.com
9c251cacfd Adding accelerators for Task menu items (51418). r=slamm
git-svn-id: svn://10.0.0.236/trunk@78812 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:36:39 +00:00
cmanske%netscape.com
b464bcc17b Composer dialog cleanup work (47213, 47701, 9754) r=sfraser
git-svn-id: svn://10.0.0.236/trunk@78811 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:35:42 +00:00
cmanske%netscape.com
379b747303 Composer CSS changes for dialog cleanup work (47213, 47701) r=sfraser
git-svn-id: svn://10.0.0.236/trunk@78810 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:35:32 +00:00
nisheeth%netscape.com
178e009668 r=rpotts. Fix for nsbeta3+ bug 39368.
git-svn-id: svn://10.0.0.236/trunk@78809 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:35:11 +00:00
slamm%netscape.com
cda2454d64 'sidebar-panels' should not have 'hidden' persisted anymore. Some old profiles may have it, so set/clear it in js code for now. (bug 50973). r-mcafee
git-svn-id: svn://10.0.0.236/trunk@78808 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:31:28 +00:00
cmanske%netscape.com
fa30cdf5b2 Fixed format menu not showing list properties when list item is empty b=51941, r=beppe
git-svn-id: svn://10.0.0.236/trunk@78807 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:17:56 +00:00
beard%netscape.com
d9b7bd1180 rename void* to void, for file systems that don't like "*" in file names. emit a single JavaScript for showing stack crawls.
git-svn-id: svn://10.0.0.236/trunk@78806 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:09:06 +00:00
beard%netscape.com
acbed215d0 added internAs(), which lets one string masquerade for another.
git-svn-id: svn://10.0.0.236/trunk@78805 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:06:53 +00:00
peterlubczynski%netscape.com
bc790c5ecf fix for bug 50432. PRPackedBools compressed to one flag. mAutoBuffer size reduced to 128. r=buster
git-svn-id: svn://10.0.0.236/trunk@78804 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 00:00:58 +00:00
waldemar%netscape.com
0f77c160db Renamed target files
git-svn-id: svn://10.0.0.236/trunk@78803 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:49:53 +00:00
putterman%netscape.com
88bf88f882 Fix for 52043. r=bienvenu. Don't load messages when thread pane splitter is closed.
git-svn-id: svn://10.0.0.236/trunk@78802 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:47:50 +00:00
bryner%uiuc.edu
d47bf8be55 Fix/workaround for bug 51903 - asserts switching pref panels. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@78801 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:44:47 +00:00
wtc%netscape.com
ae3992fc81 Checked in Perl-generated file certdata.c.
git-svn-id: svn://10.0.0.236/trunk@78800 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:34:42 +00:00
nhotta%netscape.com
2a1af64281 Added a callback to listen the pref change by UI, added a function to nsIDBFolderInfo to check if default charset is used, bug 50054, r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@78799 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:29:50 +00:00
relyea%netscape.com
afb9228625 nssTracker functions should only be defined in debug builds
git-svn-id: svn://10.0.0.236/trunk@78798 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:27:56 +00:00
slamm%netscape.com
014306f9be 'Panel' -> 'Tab' (51091) r=mcafee
git-svn-id: svn://10.0.0.236/trunk@78797 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:27:22 +00:00
slamm%netscape.com
54896bc2aa Fix sidebar popopen on search (51694). Move all the logic into sidebarOverlay.js. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78796 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:27:16 +00:00
ben%netscape.com
1d2d9587fb 51644, throbber button too big
this time, I'll even choose a unique ID!


git-svn-id: svn://10.0.0.236/trunk@78795 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:15:24 +00:00
warren%netscape.com
c137fdb1ec Made make-jars.pl copy files to dist as well as zip them (with -c option).
git-svn-id: svn://10.0.0.236/trunk@78794 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:08:41 +00:00
ddrinan%netscape.com
abb025ca14 Fix for bug 47435
git-svn-id: svn://10.0.0.236/trunk@78793 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 23:08:19 +00:00
peterlubczynski%netscape.com
c57b75e783 Fix for bug 46368. Fixed cellMet.mMaximumWidth for incremental reflow. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@78792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:58:59 +00:00
dougt%netscape.com
bc3a80f52f Fixing error codes. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@78791 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:56:15 +00:00
nelsonb%netscape.com
e7e7ab52c1 Stop using "reserved" fields of PRIOMethods by name. Fixes bug 52092.
git-svn-id: svn://10.0.0.236/trunk@78790 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:37:12 +00:00
wtc%netscape.com
77dc2b5cf6 Bugzilla bug #52187: modified ckapi.perl to read its input from the
first command-line argument as opposed to stdin.  Checkin on behalf
of sonmi@netscape.com.
Modified files: Makefile, ckapi.perl


git-svn-id: svn://10.0.0.236/trunk@78789 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:37:01 +00:00
andreww%netscape.com
36163ac33d bugzilla bug 28519, r=varada, visual cue for focus on mail 3 pane.
git-svn-id: svn://10.0.0.236/trunk@78787 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:28:27 +00:00
akkana%netscape.com
ef8556bca9 36082: don't load contents of script tag if script evaluation is off. r=brendan
git-svn-id: svn://10.0.0.236/trunk@78786 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:27:53 +00:00
blakeross%telocity.com
1debe0939e Fix bug 48859: make the tree columns in the XPI install and status dialogs resizable. r=jag a=brendan
git-svn-id: svn://10.0.0.236/trunk@78785 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:21:55 +00:00
rogerl%netscape.com
c6f1227ecc Removed unnecessary arg. from Call instruction.
git-svn-id: svn://10.0.0.236/trunk@78783 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:11:55 +00:00
rogerl%netscape.com
7f0909298e Added getter/setter for names.
git-svn-id: svn://10.0.0.236/trunk@78782 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:10:44 +00:00
jst%netscape.com
910463ac05 Adding new file, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78779 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:10:08 +00:00
valeski%netscape.com
9a450368bd 50188. forcing stderr/out output to be debug only
git-svn-id: svn://10.0.0.236/trunk@78778 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:08:43 +00:00
valeski%netscape.com
d726ac51c3 50188. removing webshell leak detection special macros. now we'll spew data in debug builds only
git-svn-id: svn://10.0.0.236/trunk@78777 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:06:52 +00:00
varada%netscape.com
4b099c05a9 fix for bug#49720; deleting recipient causes error message; r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@78776 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:55:12 +00:00
wtc%netscape.com
f2d8337454 Bugzilla bug #52173: restored the FORCE target for NT.
git-svn-id: svn://10.0.0.236/trunk@78775 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:54:10 +00:00
attinasi%netscape.com
0ffc2cd502 Backed out changes to the event priorities (from bug 36849). This backout is to keep viewer in sync with Mozilla (see backout of same change to windows/nsAppShell by jst/vidur). b=36849 not reviewed (backing up to previous code), but discussed with Vidur.
git-svn-id: svn://10.0.0.236/trunk@78774 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:50:35 +00:00
valeski%netscape.com
c9a997c4ca 50188. forcing noisy_fonts macro to *not* spew to stderr/out in debug builds.
git-svn-id: svn://10.0.0.236/trunk@78773 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:48:58 +00:00
buster%netscape.com
af23e01ba7 checking in fix for unix compiler, stupid nsCOMPtr x-platform incompatibility.
git-svn-id: svn://10.0.0.236/trunk@78772 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:43:46 +00:00
wtc%netscape.com
7fc1d2ae48 Bugzilla bug #52173: accept both ytab.{c,h} and y.tab.{c,h} as the output
files of yacc.


git-svn-id: svn://10.0.0.236/trunk@78771 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:40:42 +00:00
sspitzer%netscape.com
9b9f1ce7eb fix for #34996. make sure pop works with usernames like
foo%bar, foo@bar, foo:bar, and foo/bar
r=alecf


git-svn-id: svn://10.0.0.236/trunk@78770 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:32:08 +00:00
buster%netscape.com
0578533a2b forgot to check this in as part of my last checkin.
bug 18754
r=karnaze


git-svn-id: svn://10.0.0.236/trunk@78769 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:25:43 +00:00
nhotta%netscape.com
c69bca969e Initialize the output string before appending the conversion result, bug 50413, r=cata.
git-svn-id: svn://10.0.0.236/trunk@78768 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:25:26 +00:00
rods%netscape.com
2c4b4f2915 fixed twips rounding error in calculation
b=52135 r=buster


git-svn-id: svn://10.0.0.236/trunk@78767 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:22:43 +00:00
rods%netscape.com
85b8d50cda stripping CR/LF in href attrs on mouse over or mouse click
b=52119 r=harishd


git-svn-id: svn://10.0.0.236/trunk@78766 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:21:40 +00:00
nbhatla%netscape.com
c3e23c52ac #46423 -> new modern skin. fixing some images in the toolbar. r=hewitt
git-svn-id: svn://10.0.0.236/trunk@78765 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:17:03 +00:00
mstoltz%netscape.com
3285ad04e9 Fixing 51828, allowing JS/data urls to inheit principal from document if called from system code. r=jst
git-svn-id: svn://10.0.0.236/trunk@78764 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:16:58 +00:00
buster%netscape.com
685185593d bug 14280
nsTextTransformer.cpp.
  I moved where we translate the nbsp to a (ascii 32 space character) until after the i18n routines are called, so they can properly account
  for the space as non-breaking and therefore part of the first word in the block.

bug  39901 and 38396
  nsHTMLImageLoader.*, nsImageFrame.cpp
  I backed out the bad fix for 38396, and put in a new fix where I store a little state in the image loader flags for cases where the image
  gets an unconstrained reflow and has %-based width.  This does not handle %-based min-width or max-width, that would be a separate
  bug that I'll file shortly.  But this fixes the vast majority of real cases out there.

bug  18754
  nsHRFrame.cpp, quirks.css, nsCSSFrameConstructor.cpp, last part of nsLineLayout.cpp
  in quirks mode, I changed HR from a block element to a replaced inline element that acts like a block, using generated content to get
  newlines before and after the HR.  This isn't ideal, but it gets us backwards compatibility, and ian and dbaron have blessed the approach.

bug  50257
  nsLineLayout.cpp
  Did a couple of things in here:
       * The actual fix is controlled by FIX_BUG_50257 #define symbol.  This basically says that an break (BR) will always fit on a line.
         A more general solution would probably be to round up to the nearest pixel, and if the thing is less than a pixel make it fit on a
         line.  This is a wimpier, safer solution.
       * I noticed that the way we got the compatibility mode was way out of date, very wasteful.  So I fixed that.
       * I noticed that there were a bunch of redundant SetFlag calls.  Since the flag variable is initialized to 0, setting a flag to 0 on a newly
         created object is a waste.

  nsBlockFrame.cpp  --  just added a comment to some odd looking code, to make sure no one comes along later and breaks it


git-svn-id: svn://10.0.0.236/trunk@78763 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:15:02 +00:00
erik%netscape.com
5da5de6681 bug 33162; instead of zeroing out all Unicodes less than 0x2200, we just
zero out the common ones that correspond to CP1252 (for things like smart
quotes), so that we can still see most of the JIS X 0208 characters;
r=ftang


git-svn-id: svn://10.0.0.236/trunk@78762 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:03:58 +00:00
dougt%netscape.com
d60401e7be PLEvent optimizations. Part of bug 50104. This reduces the number notifications. r-valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78761 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:59:56 +00:00
rginda%netscape.com
48d051ff56 reverting old volatile fix for 24892 and replacing with cls' union patch.
spider and xpshell now pass the related testcases.
author=cls, r=me


git-svn-id: svn://10.0.0.236/trunk@78760 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:56:33 +00:00
jst%netscape.com
9e48d5d854 Fixing the content serializers to compile on Windows. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78759 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:55:46 +00:00
putterman%netscape.com
ce23ce601a Fix for 48246. r=mscott. Enabling now works correctly in alternate 3 pane window.
git-svn-id: svn://10.0.0.236/trunk@78758 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:52:57 +00:00
shanjian%netscape.com
c52261cc1b #47027 Can't add language XX when XX-YY is present
ra=ftang
using IndexOf to check if a language is active is unreliable. We need to
compare them one by one.


git-svn-id: svn://10.0.0.236/trunk@78757 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:49:34 +00:00
buster%netscape.com
0c9f5240c0 added test case 28811
git-svn-id: svn://10.0.0.236/trunk@78756 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:49:30 +00:00
buster%netscape.com
f407725c66 bug 28811
r=karnaze
The problem was we were over-eager in optimizing away a resize reflow for lines
that contain %-aware children.  We were only looking at the first-level children
of a line, not all the children.  Now, we compute a bit for each inline container
based on it's children, true if any of them are %-aware wrt any width measurement.
We propogate this bit upwards to a bit on the line itself, and check this bit during reflow.


git-svn-id: svn://10.0.0.236/trunk@78755 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:46:44 +00:00
dougt%netscape.com
f6edad2f99 Fixes 51759. If we ship without a plugin manager as we can do for embedding, we crash loading most pages with plugins. This change basically returns an error from Reflow if we cant get the plugin manager component. r=valeski
git-svn-id: svn://10.0.0.236/trunk@78754 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:27:25 +00:00
putterman%netscape.com
42340b3f15 Fix for 48438. r=alecf. Fixes ability to complete account when clicking on newsgroup url for a new
newsgroup account.


git-svn-id: svn://10.0.0.236/trunk@78753 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:06:27 +00:00
disttsc%bart.nl
ff69ddb88e Cleaning up the rest of viewSource.xul build ID mess. b=52085, r=scc, a=brendan
git-svn-id: svn://10.0.0.236/trunk@78752 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:56:28 +00:00
sgehani%netscape.com
663bd59763 Mac OS 8.5 or higher required dialog text and layout changes. [nsbeta3+ b=38166]
git-svn-id: svn://10.0.0.236/trunk@78751 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:28:20 +00:00
blizzard%redhat.com
750a2281d3 fix for bug #51778. Hand a provider to the directory service. This should get regchrome working again. r=dougt a=brendan
git-svn-id: svn://10.0.0.236/trunk@78750 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:13:27 +00:00
disttsc%bart.nl
0b85ac4ffd Add more font sizes to Fonts pref panel. Author=jwbaker@acm.org, b=52080, r=matt, a=brendan
git-svn-id: svn://10.0.0.236/trunk@78749 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:12:12 +00:00
blizzard%redhat.com
53ee512d91 patch for bug #49364. initialize key values during a drag. this should fix mail/news copying instead of moving messages on linux. r=pavlov,pinkerton a=brendan
git-svn-id: svn://10.0.0.236/trunk@78748 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:11:43 +00:00
hyatt%netscape.com
3a92a3b96d Fix a moronic XBL usage that was slowing down the entire product (especially the thread pane). r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@78747 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:11:35 +00:00
mcgreer%netscape.com
170a3660b2 fix building of ssl sample code
git-svn-id: svn://10.0.0.236/trunk@78746 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:06:50 +00:00
cmanske%netscape.com
31e6a72fc3 Improvements to formated HTML stream output for HTML source editing. b=50034, r=akkana
git-svn-id: svn://10.0.0.236/trunk@78745 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:03:27 +00:00
nhotta%netscape.com
b205a26939 Added error handling for setting tooltip text, bug 51608, patch from ducarroz, r=nhotta.
git-svn-id: svn://10.0.0.236/trunk@78744 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:02:49 +00:00
neeti%netscape.com
a48f9debee fix for bug 50977-After surfing, web pages stop loading. Tossing cache fixes,r=dp
git-svn-id: svn://10.0.0.236/trunk@78743 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:00:40 +00:00
pinkerton%netscape.com
9cd6c72ae4 make sure we only uncheck siblings if there is a name attribute and if we're a radio menu. r=saari, bug 51685
git-svn-id: svn://10.0.0.236/trunk@78742 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 18:53:39 +00:00
mcgreer%netscape.com
754dce8c56 initial checkin of Diffie-Hellman implementation
git-svn-id: svn://10.0.0.236/trunk@78741 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 17:11:50 +00:00
pete%alphanumerica.com
ea81e7b701 cleaned up and added two more functions
a=brendan


git-svn-id: svn://10.0.0.236/trunk@78740 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 16:50:44 +00:00
despotdaemon%netscape.com
92b74ec30e Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@78739 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 16:11:13 +00:00
nboyd%atg.com
7112818e3c Fix bug 49350
git-svn-id: svn://10.0.0.236/trunk@78738 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 15:12:04 +00:00
wtc%netscape.com
7152689eba Backed out the previous checkin. I found another solution.
git-svn-id: svn://10.0.0.236/trunk@78737 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 15:01:04 +00:00
wtc%netscape.com
aa8ab1d7fb Added the moz_import rule for the Windows build.
git-svn-id: svn://10.0.0.236/trunk@78736 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 15:00:22 +00:00
bryner%uiuc.edu
72ab84cda2 Removing extraneous text before comment. r=blizzard.
git-svn-id: svn://10.0.0.236/trunk@78735 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 14:33:45 +00:00
nboyd%atg.com
2a1ef3e3ff version with debugger directories
git-svn-id: svn://10.0.0.236/trunk@78734 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 14:10:23 +00:00
locka%iol.ie
a75a4fce37 Added decl of kSimplURICID. b=37416, r=valeski
git-svn-id: svn://10.0.0.236/trunk@78733 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 14:09:54 +00:00
briane%qnx.com
64e319325e NOT PART OF BUILD - PHOTON ONLY
Varios fixes to allow the widget code to work with the latest
changes to the mozilla tree
Brian Edmond


git-svn-id: svn://10.0.0.236/trunk@78732 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 13:53:04 +00:00
briane%qnx.com
68ce1222e1 NOT PART OF BUILD - PHOTON ONLY
Various fixes to correct drawing problems and speed up the rendering
and font engine
Brian Edmond


git-svn-id: svn://10.0.0.236/trunk@78731 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 13:51:58 +00:00
locka%iol.ie
ca4bc4f4af Added decl of kSimplURICID. b=37416, r=valeski
git-svn-id: svn://10.0.0.236/trunk@78730 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 13:29:22 +00:00
ccarlen%netscape.com
8cfa70bd39 Fix for #51459
For Mac, in nsStdURL::GetFile, only convert '/' to ':' in directory portion of path, not leaf name.
r=rjc


git-svn-id: svn://10.0.0.236/trunk@78729 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 12:51:52 +00:00
rods%netscape.com
6eda00eb82 Applied patches for Bugs 49300 and 44656. These patches reduce the number
of times the X-Server gets hits and speds up processing of events.
r=pavlov


git-svn-id: svn://10.0.0.236/trunk@78728 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 12:43:00 +00:00
locka%iol.ie
150b8686d4 Add notification to embedders when an unrecognized URI is clicked on before discarding it. b=37416, r=valeski
git-svn-id: svn://10.0.0.236/trunk@78727 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 12:38:54 +00:00
cls%seawood.org
646244734a OS_ARCH does not set release numbers
git-svn-id: svn://10.0.0.236/trunk@78726 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 08:08:24 +00:00
cls%seawood.org
e99e6e5fa7 Workshop 5.0 refuses to cast a |const char *| to a |char *| so fix the variable
git-svn-id: svn://10.0.0.236/trunk@78725 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 08:05:02 +00:00
anthonyd%netscape.com
6f2d2e181f fix for bug# 51321 getting d&d working again when
dragging to/from an ender.
r=mjudge


git-svn-id: svn://10.0.0.236/trunk@78724 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 07:43:04 +00:00
ben%netscape.com
9cf91af08a so the throbber sizing problem in classic navigator wasn't fixed. this fixes it finally
git-svn-id: svn://10.0.0.236/trunk@78723 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 07:25:45 +00:00
gagan%netscape.com
7df604d595 Fixing mac bustage.
git-svn-id: svn://10.0.0.236/trunk@78722 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 07:01:28 +00:00
cls%seawood.org
e66480e1b7 Remove unneeded dep that's breaking old gnu makes
git-svn-id: svn://10.0.0.236/trunk@78721 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 06:26:48 +00:00
gagan%netscape.com
1516243a3b Fix for bug 44041. Part changes from justin@ukans.edu. We were not handling multiple WWW-Authenticate headers. Basic auth was also busted becuz of a trailing nul problem that I've cleaned up. r=me.
git-svn-id: svn://10.0.0.236/trunk@78720 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 06:15:14 +00:00
scc%mozilla.org
3dfbe8d7b7 finishing up the special string class for the parser
git-svn-id: svn://10.0.0.236/trunk@78719 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 05:24:49 +00:00
leaf%mozilla.org
1df77a467b Automated update
git-svn-id: svn://10.0.0.236/trunk@78718 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 05:15:15 +00:00
vidur%netscape.com
71fe4cf591 First cut at the plain text serializer. The bulk of this code froms the old nsHTMLToTXTSinkStream. This is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78717 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 05:10:32 +00:00
waterson%netscape.com
599cdbc705 Make sure we get demangling for --enable-trace-malloc builds, too. r=brendan
git-svn-id: svn://10.0.0.236/trunk@78716 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 05:08:09 +00:00
wtc%netscape.com
46ba1ec444 Added makefile.win as the interface to Mozilla Client's Win32 build
system.


git-svn-id: svn://10.0.0.236/trunk@78715 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:38:09 +00:00
cotter%netscape.com
f93a3154b7 Fixed two typos, deleted obsolete link.
git-svn-id: svn://10.0.0.236/trunk@78714 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:35:03 +00:00
wtc%netscape.com
766f705977 Changed the PR_GetError() call to PORT_GetError() because we use
PORT_SetError() to set error codes.
Modified files: dsa.c, rsa.c


git-svn-id: svn://10.0.0.236/trunk@78713 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:17:02 +00:00
karnaze%netscape.com
0841e82221 bug 19961 (partial) - in standard mode, give last remaining space to auto cols if there are any.
git-svn-id: svn://10.0.0.236/trunk@78712 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:14:02 +00:00
cls%seawood.org
5a43db5750 Fixing problem of standalone compoennts always building on every build pass. Adding objs.mk files to give better dependency handling. Bug #49937
git-svn-id: svn://10.0.0.236/trunk@78711 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 04:13:16 +00:00
pierre%netscape.com
63613c733a Fix blocker bug #52039 (crash when resolving pseudo-style for anonymous content).
git-svn-id: svn://10.0.0.236/trunk@78710 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 03:58:22 +00:00
wtc%netscape.com
6daa362b98 Added mozilla/dist/include to INCLUDES because Mozilla's WIN32 build
has changed to export headers to that directory, so nss needs to get
the dbm headers (e.g., mcom_db.h) from there.  We should think about
what is the best long term solution to this problem (where to export
and get headers).


git-svn-id: svn://10.0.0.236/trunk@78709 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 03:39:55 +00:00
karnaze%netscape.com
e0488b52ca new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@78708 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 03:14:09 +00:00
wtc%netscape.com
736f7d4b6c Added config file for WINNT 5.0 (Windows 2000).
git-svn-id: svn://10.0.0.236/trunk@78707 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 03:08:40 +00:00
karnaze%netscape.com
8754c60a8b bug 42643 - invalidate the cell rect when a style change occurs. r=muster.
git-svn-id: svn://10.0.0.236/trunk@78706 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 02:47:02 +00:00
ben%netscape.com
0c7541d4c0 remove unsupported print menuitems and anchor popup correctly
git-svn-id: svn://10.0.0.236/trunk@78705 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 02:13:11 +00:00
cls%seawood.org
9117d7aa8e Fix ifdef.
git-svn-id: svn://10.0.0.236/trunk@78704 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 02:12:21 +00:00
sfraser%netscape.com
8966bbdb7f Fixes for 40583 (make Find work in frames), and 52069 (fix bad refcounting habits). Find now uses the focussed window, if there is one, getting that from teh command dispatcher. r=jag, hyatt.
git-svn-id: svn://10.0.0.236/trunk@78703 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 02:12:18 +00:00
ben%netscape.com
f5f9402acb change deprecated 'align' attribute to 'orient' so that sidebar in mailnews with classic skin has a horizontal grippy on the top, rather than a vertical one
git-svn-id: svn://10.0.0.236/trunk@78702 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 02:04:36 +00:00
cls%seawood.org
ba4e59bb23 Fixing ifdef. Bug #52065
git-svn-id: svn://10.0.0.236/trunk@78701 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 02:03:58 +00:00
ben%netscape.com
45d60dc0ae add file back
git-svn-id: svn://10.0.0.236/trunk@78700 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 01:54:27 +00:00
nelsonb%netscape.com
1c5293d81e Fix a bug in pk11_HandUnwrap that made it always fail because it was not
setting the CKA_VALUE attribute.  Also, fix two places that called
PK11_MapError(crv) unnecessarily and with improper crv values.


git-svn-id: svn://10.0.0.236/trunk@78699 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 01:37:36 +00:00
cls%seawood.org
e76d6bcfa7 Make the ifdef match the comment here as well
git-svn-id: svn://10.0.0.236/trunk@78698 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 01:22:45 +00:00
ben%netscape.com
177f3c832d fix navigator urlbar height in classic-win
git-svn-id: svn://10.0.0.236/trunk@78697 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 01:10:38 +00:00
vidur%netscape.com
65543aabc1 Ongoing work on content serializers. This is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78696 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:57:59 +00:00
ben%netscape.com
1fc1538c21 [ViXEn] Start laying groundwork for using Transaction Manager to handle editing requests.
Not part of build.


git-svn-id: svn://10.0.0.236/trunk@78695 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:57:35 +00:00
bryner%uiuc.edu
76fa941843 Checking in patch for bug 52054 by Decklin Foster <fosterd@hartwick.edu>. r=bryner, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@78694 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:27:46 +00:00
BlakeR1234%aol.com
bdda4ae221 Fix bug 52055 -- left arrow key on parent tree items shouldn't deselect the item. r=bryner a=brendan
git-svn-id: svn://10.0.0.236/trunk@78693 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:05:13 +00:00
karnaze%netscape.com
a913e39076 new regression test
git-svn-id: svn://10.0.0.236/trunk@78692 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:02:50 +00:00
karnaze%netscape.com
ab21b84455 bug 39209 - don't use auto margins for max element size and maximum widths (when requested
during an incremntal reflow).


git-svn-id: svn://10.0.0.236/trunk@78691 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 00:02:04 +00:00
jst%netscape.com
0dd05c39be Checking in a infinite loop fix done by Vidur, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78690 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 23:24:10 +00:00
cls%seawood.org
74a95cbec9 Fix the ifdef to match the comment.
git-svn-id: svn://10.0.0.236/trunk@78689 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 22:31:10 +00:00
bryner%uiuc.edu
c4f8040ba9 Checking in patch for Jan Varga <varga@utcru.sk> to enable shift-up and shift-down to extend the current selection in trees. bug 41130. r=bryner, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@78688 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 22:29:04 +00:00
vidur%netscape.com
10f0ce919d Better factoring of code. This is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78687 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 22:22:58 +00:00
kestes%staff.mail.com
4cf084b048 add more interesting types of builds to better simulate real
environments and because we missed a few errors using the old test
script.


git-svn-id: svn://10.0.0.236/trunk@78686 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 20:44:03 +00:00
sfraser%netscape.com
5460ffa572 Remove QuickTimeLib from linkage, because it comes in already from InterfaceStubs. This fixes 1400 link warnings.
git-svn-id: svn://10.0.0.236/trunk@78684 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 20:09:09 +00:00
BlakeR1234%aol.com
ba44b16a94 Classic skin polish (46613): focus issues
git-svn-id: svn://10.0.0.236/trunk@78683 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 20:03:32 +00:00
BlakeR1234%aol.com
04c1f9025c Classic skin polish (46613): the throbber shouldn't take focus (48467) -- better way to fix it
git-svn-id: svn://10.0.0.236/trunk@78682 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 19:48:46 +00:00
BlakeR1234%aol.com
14a9c1e664 actually...
git-svn-id: svn://10.0.0.236/trunk@78681 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 19:45:09 +00:00
jst%netscape.com
097b684218 Getting the serializers up to par. This is not part of the build
git-svn-id: svn://10.0.0.236/trunk@78680 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 19:36:22 +00:00
BlakeR1234%aol.com
670f1d2fb6 Classic skin polish (46613): menubuttons shouldn't take focus. r=ben
git-svn-id: svn://10.0.0.236/trunk@78679 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 19:34:56 +00:00
BlakeR1234%aol.com
e643ebab81 Classic skin polih (46613): the throbber shouldn't take focus (48467)
git-svn-id: svn://10.0.0.236/trunk@78678 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 19:27:59 +00:00
BlakeR1234%aol.com
1733f230e6 Classic skin polish (46613): the throbber shouldn't take focus (48467)
git-svn-id: svn://10.0.0.236/trunk@78677 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 19:26:45 +00:00
bryner%uiuc.edu
e5bec3c82c Bug 51952 - make NS_BOX_ASSERTION get compiled away in release builds. r=syd.
git-svn-id: svn://10.0.0.236/trunk@78676 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 19:14:24 +00:00
beard%netscape.com
d790da06d2 splitting out each individual type_size into separate report, to make it possible to visualize entire graph.
git-svn-id: svn://10.0.0.236/trunk@78675 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 18:33:27 +00:00
kestes%staff.mail.com
e1cd091f28 document rmlogs
git-svn-id: svn://10.0.0.236/trunk@78674 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 17:33:42 +00:00
kestes%staff.mail.com
7e60f1fa03 add configs for rmlogs
git-svn-id: svn://10.0.0.236/trunk@78673 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 17:32:00 +00:00
kestes%staff.mail.com
22f5a2f9a6 script to clean out old log files.
untested.


git-svn-id: svn://10.0.0.236/trunk@78672 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 17:30:40 +00:00
kestes%staff.mail.com
d9be54c4c1 add security checks to get_env so users do not accidentally run any
programs as root.


git-svn-id: svn://10.0.0.236/trunk@78671 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 17:29:17 +00:00
dave%intrec.com
545334e726 Fix for bug 51487: Now only checks for a valid QA Contact if it actually
asked you for one.  Thanks to bg.mahesh@team.indiainfo.com (B.G. Mahesh)
for catching this.


git-svn-id: svn://10.0.0.236/trunk@78670 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 16:54:04 +00:00
karnaze%netscape.com
ce824dfca4 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@78669 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 16:09:52 +00:00
kestes%staff.mail.com
d6f62fb0f2 typo, missing parenthesis around arguments in encrypt_passwd()
fixed also in  security_problem()


git-svn-id: svn://10.0.0.236/trunk@78668 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 16:01:28 +00:00
rpotts%netscape.com
b15a924205 Changed the nsIInputStreams created by the storage stream to be thread-safe...
git-svn-id: svn://10.0.0.236/trunk@78667 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 08:12:26 +00:00
rpotts%netscape.com
35bb809725 Do not crash when calling GetNExtCache() if the Disk Cache is not available...
git-svn-id: svn://10.0.0.236/trunk@78666 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 08:11:40 +00:00
BlakeR1234%aol.com
3b0dc0dd3d Fix bug 50462, mozilla logo is missing in the about page. patch by Henrik Gemal (gemal@gemal.dk), r=me a=brendan
git-svn-id: svn://10.0.0.236/trunk@78665 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 08:07:29 +00:00
rpotts%netscape.com
d23bed6d85 Fixed memory leak when calling nsCachedNetData::GetUriSpec(...).
git-svn-id: svn://10.0.0.236/trunk@78664 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 07:58:27 +00:00
vidur%netscape.com
8df662a363 Added IsBlock() to nsIParserService. r=jst
git-svn-id: svn://10.0.0.236/trunk@78663 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 07:05:09 +00:00
vidur%netscape.com
ebb357da81 Added missing HTML tags. r=jst
git-svn-id: svn://10.0.0.236/trunk@78662 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 07:04:30 +00:00
vidur%netscape.com
728650873a Added _moz_dirty. r=jst
git-svn-id: svn://10.0.0.236/trunk@78661 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 07:04:07 +00:00
vidur%netscape.com
1d86c5426a Backing out inadvertant checkin of makefiles.
git-svn-id: svn://10.0.0.236/trunk@78660 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:47:21 +00:00
vidur%netscape.com
ff44f08b64 Pretty printing in HTML. Much code lifted from nsHTMLContentSinkStream. This is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78659 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:44:06 +00:00
rpotts%netscape.com
0d2ead8de2 Cleaned up the cache selection code in GetCacheAndReplacementPolicy(...).
git-svn-id: svn://10.0.0.236/trunk@78658 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:13:30 +00:00
rpotts%netscape.com
f8c76b5a65 do not try to evict cache entries that are active...
git-svn-id: svn://10.0.0.236/trunk@78657 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:11:57 +00:00
rpotts%netscape.com
0da87f562b Random improvements to the memory cache...
git-svn-id: svn://10.0.0.236/trunk@78656 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:10:52 +00:00
rpotts%netscape.com
d341134077 bug #37434. Added a call to nsIDocShellLoadInfo::SetStopActiveDocument(...) before calling LoadURI in both SetHRefWithBase() and SetURI(). This causes the active document to be stopped immediately (which prevents further processing of the active document)
git-svn-id: svn://10.0.0.236/trunk@78655 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:02:11 +00:00
rpotts%netscape.com
ec1ad68225 bug #37434. Added an attribute to nsIDocShellLoadInfo to indicate whether the active document should be stopped immediately...
git-svn-id: svn://10.0.0.236/trunk@78654 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:00:46 +00:00
bryner%uiuc.edu
42df5a5b22 Fixing bug 51096 - crash after changing mousewheel prefs twice. Also remove some assertions and fix a longstanding inconsistency/bug with mousewheel text zoom and history navigation. r=ben.
git-svn-id: svn://10.0.0.236/trunk@78653 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 05:35:36 +00:00
disttsc%bart.nl
bb456102e3 Fixing the news subscribe checkmark to stop messing with the line height. bug=46613, r=ben
git-svn-id: svn://10.0.0.236/trunk@78652 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 02:44:51 +00:00
disttsc%bart.nl
d486c0482b Fixing the news subscribe checkmark to stop messing with the line height. r=ben
git-svn-id: svn://10.0.0.236/trunk@78651 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 02:44:11 +00:00
vidur%netscape.com
4c82d90f60 Added parser service methods to aid external serialization. r=jst
git-svn-id: svn://10.0.0.236/trunk@78650 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 02:28:11 +00:00
vidur%netscape.com
b455ce717d New HTML and XML serializers. This is not part of the build
git-svn-id: svn://10.0.0.236/trunk@78649 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 02:17:54 +00:00
jst%netscape.com
04e8a00c4d Adding character offsets to various methods. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78647 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 00:09:14 +00:00
jst%netscape.com
0d581a28d1 Whitespace changes, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78646 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 23:53:39 +00:00
jst%netscape.com
85bbc8624a Change interface to allow the implementation to be more efficient. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@78645 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 23:52:59 +00:00
dprice%netscape.com
724d89a204 preparing for Jar Packaging If jar packaging is enabled don't copy
navigator.dtd, it will be placed in the jar.  currently this is disabled.


git-svn-id: svn://10.0.0.236/trunk@78644 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:54:07 +00:00
rods%netscape.com
61a9addb52 adding rules for show text in a disabled state in the button element
b=41252 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78643 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:21:15 +00:00
rods%netscape.com
8a82d7b1a3 reverting back to using macro for impl of set/get of disabled attr
b=41252 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78642 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:18:53 +00:00
rods%netscape.com
5c976bd892 removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
b=51886 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:15:57 +00:00
rods%netscape.com
e1b15f00aa wasn't setting status to NS_FRAME_COMPLETE
b=49010 r=buster


git-svn-id: svn://10.0.0.236/trunk@78640 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:13:12 +00:00
vidur%netscape.com
88d3ef668f Removed unnecessary attribute serializer. This is not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@78639 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:03:58 +00:00
jst%netscape.com
251d1f19d7 New file, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@78638 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 21:47:23 +00:00
BlakeR1234%aol.com
e35101a03c Classic skin polish (46613) -- also fixes 50178
git-svn-id: svn://10.0.0.236/trunk@78637 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 21:35:44 +00:00
bienvenu%netscape.com
6e62b0af86 fix hash table memory leak r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@78636 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 19:30:50 +00:00
BlakeR1234%aol.com
19e37bac82 classic skin polish (46613)
git-svn-id: svn://10.0.0.236/trunk@78635 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 18:37:06 +00:00
BlakeR1234%aol.com
14c3a90b18 Classic skin polish (46613)
git-svn-id: svn://10.0.0.236/trunk@78634 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 18:21:28 +00:00
BlakeR1234%aol.com
9531e066e1 Classic skin polish (46613)
git-svn-id: svn://10.0.0.236/trunk@78633 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 17:43:03 +00:00
ccarlen%netscape.com
631d0c38a2 Fix for Win95 machines which don't have APP_DATA dir
r=racham


git-svn-id: svn://10.0.0.236/trunk@78632 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 15:31:27 +00:00
ccarlen%netscape.com
843393d24a Fix for #36968 and #38626
r=racham


git-svn-id: svn://10.0.0.236/trunk@78631 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 15:30:09 +00:00
ccarlen%netscape.com
aaac799214 Fix for bugs #36968 and #38770
r=ben


git-svn-id: svn://10.0.0.236/trunk@78630 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 15:28:19 +00:00
ccarlen%netscape.com
b00daa56ee Fix for #38770
Also fixed (unreported bug) in SetPersistentDescriptor.
r=dougt


git-svn-id: svn://10.0.0.236/trunk@78629 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 15:26:52 +00:00
disttsc%bart.nl
475d1164fa Apparantly nsinstall created a directory navigator.dtd.out, temporary fix: GARBAGE -> GARBAGE_DIRS
git-svn-id: svn://10.0.0.236/trunk@78628 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 15:20:28 +00:00
rich.burridge%sun.com
60ae2bdd0c Fix to enable XPInstall to build/run on the Solaris platform.
r=sgehani@netscape.com  a=brendan@mozilla.org
BugId: #43080.


git-svn-id: svn://10.0.0.236/trunk@78627 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 14:18:48 +00:00
disttsc%bart.nl
1623771a40 First attempt at fixing puma bustage. nsinstall seems to have created a viewSource.xul.out dir, which doesn't get removed currently. Since viewSource.xul doesn't need the .out magic any longer (smfr removed the build id), removing all that and replacing GARBAGE with GARBAGE_DIRS. r=scc
git-svn-id: svn://10.0.0.236/trunk@78626 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 13:48:49 +00:00
scc%mozilla.org
49b4e02370 more HPUX fixes
git-svn-id: svn://10.0.0.236/trunk@78625 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 13:26:07 +00:00
scc%mozilla.org
506f2ce6ae HPUX is smarter than me
git-svn-id: svn://10.0.0.236/trunk@78624 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 12:53:38 +00:00
despotdaemon%netscape.com
7cf23d4715 Pseudo-automatic update of changes made by m_kato@ga2.so-net.ne.jp.
git-svn-id: svn://10.0.0.236/trunk@78623 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 12:33:54 +00:00
scc%mozilla.org
9a06126e26 moved |Mid|, |Left|, and |Right| to "nsAWritableString.h" since on SunOS, they couldn't compile until after they'd seen the definition of |basic_nsAWritableString|. They're still members or readable ... got to get rid of these functions
git-svn-id: svn://10.0.0.236/trunk@78622 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 11:57:43 +00:00
scc%mozilla.org
0b82101f78 fixing some bugs in the new parser string code; changing some names
git-svn-id: svn://10.0.0.236/trunk@78621 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 11:31:04 +00:00
scc%mozilla.org
4e5ca44047 added method to make linking possible :-)
git-svn-id: svn://10.0.0.236/trunk@78620 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 10:30:49 +00:00
scc%mozilla.org
3807f9b6c2 fixing linux bustage
git-svn-id: svn://10.0.0.236/trunk@78619 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 10:24:45 +00:00
scc%mozilla.org
b86112063e fix typo
git-svn-id: svn://10.0.0.236/trunk@78618 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 10:21:31 +00:00
scc%mozilla.org
39a896fd51 fix |const| error
git-svn-id: svn://10.0.0.236/trunk@78617 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 10:17:45 +00:00
scc%mozilla.org
f82df2e4d8 adding more new string files
git-svn-id: svn://10.0.0.236/trunk@78616 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 09:50:14 +00:00
scc%mozilla.org
dbd8f750b0 fixing the build for VC++
git-svn-id: svn://10.0.0.236/trunk@78615 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 09:48:12 +00:00
scc%mozilla.org
bf44e1bf27 fixes for VC++
git-svn-id: svn://10.0.0.236/trunk@78614 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 09:44:45 +00:00
scc%mozilla.org
a005d85406 fixes to make it compile on VC++
git-svn-id: svn://10.0.0.236/trunk@78613 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 09:39:44 +00:00
jst%netscape.com
8b63ce94dc Backing out the last changes to these files since they caused redness on tinderbox...
git-svn-id: svn://10.0.0.236/trunk@78612 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 09:26:19 +00:00
scc%mozilla.org
51c8e6a34a adding new string files to the build
git-svn-id: svn://10.0.0.236/trunk@78611 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 09:05:16 +00:00
scc%mozilla.org
4fe067af30 adding new string files to the build
git-svn-id: svn://10.0.0.236/trunk@78610 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 08:54:03 +00:00
scc%mozilla.org
0a8111b195 adding new string headers to exports
git-svn-id: svn://10.0.0.236/trunk@78609 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 08:53:39 +00:00
BlakeR1234%aol.com
48ead64b72 Classic skin polish (46613)
git-svn-id: svn://10.0.0.236/trunk@78608 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 08:39:46 +00:00
scc%mozilla.org
db9cca1eb2 adding new string headers to exports
git-svn-id: svn://10.0.0.236/trunk@78607 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 08:24:31 +00:00
BlakeR1234%aol.com
09e618f118 Classic skin polish (46613)
git-svn-id: svn://10.0.0.236/trunk@78606 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 08:18:53 +00:00
BlakeR1234%aol.com
f4fffa93bd Classic skin polish (46613), use disabled dropmarker image for disabled menubuttons (like the nav back/fwd buttons)
git-svn-id: svn://10.0.0.236/trunk@78605 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 07:48:09 +00:00
scc%mozilla.org
7955a31be5 refactoring |ToUpperCase|, |ToLowerCase|
git-svn-id: svn://10.0.0.236/trunk@78604 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 07:30:55 +00:00
cls%seawood.org
8eb7dbb33d Ok, so I'm an idiot...
git-svn-id: svn://10.0.0.236/trunk@78603 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:47:43 +00:00
scc%mozilla.org
8ba6b76fcc nobody uses |nsFragmentedString| as yet ... changing it now to be based on the new work from |nsSlidingString|/|nsSlidingSubstring| for the parser
git-svn-id: svn://10.0.0.236/trunk@78602 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:42:45 +00:00
scc%mozilla.org
0734b418da adding a |#if|d out hunk of code to remind me of something later
git-svn-id: svn://10.0.0.236/trunk@78601 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:40:49 +00:00
scc%mozilla.org
7b2818e2bd closer to getting the parser strings in; these files are still not part of the build
git-svn-id: svn://10.0.0.236/trunk@78600 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:35:16 +00:00
scc%mozilla.org
a62ca7b8b0 fix |const| errors, this file is not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@78599 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:32:46 +00:00
scc%mozilla.org
b0a37d86dd adding more new string files
git-svn-id: svn://10.0.0.236/trunk@78598 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:29:37 +00:00
jst%netscape.com
a9fbbcfe31 Changing PLEvent que priority. r=pavlov,vidur
git-svn-id: svn://10.0.0.236/trunk@78597 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:11:50 +00:00
nelsonb%netscape.com
819d88d496 Create a new function, CERT_DupCertList(), and call it instead of calling
CERT_CertChainFromCert in ssl_DupSocket().  This is MUCH faster.  This is
the first approximation of the right fix.  The next step is to consider
doing ref counting instead of actual duplication.  Fixes bug 51425 .


git-svn-id: svn://10.0.0.236/trunk@78596 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:08:46 +00:00
cls%seawood.org
6bcf45b610 Ok, so what was the point of a static (non-inline) function in a header file? Why do the other compilers allow this? Why does Workshop 5.0 barf on it?
git-svn-id: svn://10.0.0.236/trunk@78595 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 06:02:34 +00:00
anthonyd%netscape.com
645a320a3c putting in the rules for jar packaging,
NOT IN THE BUILD
dprice using anythonyd's linux machine
if there are problem email dprice@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78594 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:54:35 +00:00
brendan%mozilla.org
c4ea797337 Fix C++ portability and AIX compilation problem due to last C++ porting attempt (48976, r=jdunn@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@78593 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:53:00 +00:00
anthonyd%netscape.com
01efef89b2 make certain the destination path for the jar file exists. R=warren
dprice using anthonyd's account
if there are problems email dprice@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78592 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:46:29 +00:00
jst%netscape.com
f54ba5cc66 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78591 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:46:14 +00:00
anthonyd%netscape.com
e1c11314d8 Fixing bad makefile rule to use $(INSTALL) instead of calling cp directly
in preparation for Jar Packaging on Linux
dprice using anthonyd's account to check in
if there are problems email dprice@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78589 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:45:12 +00:00
anthonyd%netscape.com
146519ca6a Fixing bad rule to use $(INSTALL) instead of calling cp directly.
Preparation for Jar Packaging on Lunix
dprice using anthony's account to check in,
if there are problems email dprice@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78588 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:43:42 +00:00
BlakeR1234%aol.com
d77f8ce195 Fix bug 51266, allow cookie blocking for local files and the about: protocol. r=morse a=morse
git-svn-id: svn://10.0.0.236/trunk@78587 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:20:09 +00:00
scc%mozilla.org
27d3422b96 fix a |const| error
git-svn-id: svn://10.0.0.236/trunk@78586 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:02:19 +00:00
jst%netscape.com
54b8c779bc Backing out checkin for bug 36849. This change is the reason for mozilla to freeze while loading pages (by not processing paint events while loading pages), this has made mozilla feel really crappy for the last 5 weeks, this is unacceptable. r=vidur.
git-svn-id: svn://10.0.0.236/trunk@78585 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:46:36 +00:00
scc%mozilla.org
dfcb6ddb5f adding the new string files
git-svn-id: svn://10.0.0.236/trunk@78584 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:43:55 +00:00
scc%mozilla.org
f40045b221 more work towards a working |nsSlidingString|, |nsSlidingSubstring| for the parser, these files are not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@78583 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:42:19 +00:00
scc%mozilla.org
65c55fd9b9 fixing comments, not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@78582 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:40:38 +00:00
scc%mozilla.org
c9d2f83891 adding comments
git-svn-id: svn://10.0.0.236/trunk@78581 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:40:01 +00:00
scc%mozilla.org
5e094f3a0e fixing includes
git-svn-id: svn://10.0.0.236/trunk@78580 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:39:25 +00:00
beard%netscape.com
b8d0fd19ad splitting out call trees, to avoid creating unwieldy HTML reports.
git-svn-id: svn://10.0.0.236/trunk@78579 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:23:17 +00:00
beard%netscape.com
985ccfe48b trims strings by copying them, to avoid retaining excessively large strings.
git-svn-id: svn://10.0.0.236/trunk@78578 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:22:06 +00:00
beard%netscape.com
4a367db7d4 manages a compressed calltree.
git-svn-id: svn://10.0.0.236/trunk@78577 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:20:50 +00:00
disttsc%bart.nl
0194482122 ctrl+left/right -> alt+left/right for back/forward navigation on unix (yay!). r=ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@78576 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:07:36 +00:00
pavlov%netscape.com
b89c1270b4 fix for bug 51417
git-svn-id: svn://10.0.0.236/trunk@78575 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 04:01:03 +00:00
nelsonb%netscape.com
8ec8705f0d Change order of includes so this will build on NT.
git-svn-id: svn://10.0.0.236/trunk@78574 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 03:41:11 +00:00
nelsonb%netscape.com
d97e985960 Change order of includes, so this will build on NT.
git-svn-id: svn://10.0.0.236/trunk@78573 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 03:19:35 +00:00
BlakeR1234%aol.com
e560d7b5f9 Fix bugs 51549 and bug 49444, focus to find dialog textfield upon opening and a typo. r=law a=brendan
git-svn-id: svn://10.0.0.236/trunk@78572 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 03:06:54 +00:00
wtc%netscape.com
cbc82dc7ae Bugzilla bug #48248: removed an extraneous declaration of putenv(). Thanks
to Steven T. Hatton <hattons@bellatlantic.net> for reporting the bug.


git-svn-id: svn://10.0.0.236/trunk@78571 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 02:25:18 +00:00
waldemar%netscape.com
6d52afc049 Added support for highlights. Made @ operator js2-only.
git-svn-id: svn://10.0.0.236/trunk@78570 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 02:15:37 +00:00
waldemar%netscape.com
99ebd7e2c8 Updated to correspond to js2 site
git-svn-id: svn://10.0.0.236/trunk@78569 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 02:15:06 +00:00
waldemar%netscape.com
1edfdb8d6b Added support for highlights.
git-svn-id: svn://10.0.0.236/trunk@78568 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 02:14:35 +00:00
ssu%netscape.com
4dc44392b1 added option to update/noupdate the chrome jar files. a,r=dveditz
git-svn-id: svn://10.0.0.236/trunk@78567 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 02:08:03 +00:00
karnaze%netscape.com
3a14935f89 bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned.
git-svn-id: svn://10.0.0.236/trunk@78566 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:46:44 +00:00
jband%netscape.com
ff441f2b06 needed to fix bug 46707. We need to autoreg the native loader before the interface info manager (iim) so that the iim can use registered components; e.g. libjar. r=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@78565 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:36:18 +00:00
ftang%netscape.com
ae8fb9b757 fix 51432. r=cata
git-svn-id: svn://10.0.0.236/trunk@78564 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:24:30 +00:00
ftang%netscape.com
08d32fdd8b fix 51432. r=cata while we set the document charset, we also set the force charset so it
will stronger than the charset in the cache.


git-svn-id: svn://10.0.0.236/trunk@78563 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:23:36 +00:00
pollmann%netscape.com
127fc5823f Bug 51856: Allow selection of just part of a text input or textarea to increase the karma around people who make typos. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78562 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:22:01 +00:00
cls%seawood.org
b543a7e918 Oops. --disable-libIDL doesn't work as the macro is checking for --without-libIDL
git-svn-id: svn://10.0.0.236/trunk@78561 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:00:03 +00:00
mstoltz%netscape.com
70914e878d bug 44147, caps grant dialog now being created from DOMWindow->GetPrompter instead of nsIPrompt service. r=dbragg
git-svn-id: svn://10.0.0.236/trunk@78560 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 00:53:21 +00:00
ddrinan%netscape.com
776a15c26b Fixed OBJDIR_NAME problem with nspr for Linux and Solaris
git-svn-id: svn://10.0.0.236/trunk@78559 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 00:53:00 +00:00
jband%netscape.com
9c98567332 adding script to support zipping xpt files rather than linking them. Not yet in the build
git-svn-id: svn://10.0.0.236/trunk@78558 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 00:46:27 +00:00
rginda%netscape.com
42d07c961e add fileName and lineNumber to Error.prototype for bug #50447
r=a=brendan


git-svn-id: svn://10.0.0.236/trunk@78557 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 00:41:15 +00:00
scc%mozilla.org
14b6bfe7a9 not part of the build, getting closer to turning on the new parser strings
git-svn-id: svn://10.0.0.236/trunk@78556 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 00:25:00 +00:00
scc%mozilla.org
31b28b9902 adding license and include guards
git-svn-id: svn://10.0.0.236/trunk@78555 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 00:02:48 +00:00
edburns%acm.org
7f44ca7382 r=av
a=waterson
bug=51919

This fix makes it so nsIPluginManager::PostURL() works correctly in the
case of a null target and non-null streamListener.

The fix was to add parameters to NewPluginURLStream() for headers and
post data:

   NS_IMETHOD
-  NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance, nsIPluginStreamListener *aListener);
+  NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance,
+                     nsIPluginStreamListener *aListener,
+                     void *aPostData = nsnull, PRUint32 aPostDataLen = 0,
+                     const char *aHeadersData = nsnull,
+                     PRUint32 aHeadersDataLen = 0);

And to add a new method to correctly send the headers to the channel:

+  NS_IMETHOD
+  AddHeadersToChannel(const char *aHeadersData, PRUint32 aHeadersDataLen,
+                      nsIChannel *aGenericChannel);

Files in this fix:

M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginHostImpl.h


git-svn-id: svn://10.0.0.236/trunk@78554 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:58:36 +00:00
scc%mozilla.org
adcba910bf not yet part of the build, this is the bulk of the work for the special parser strings
git-svn-id: svn://10.0.0.236/trunk@78553 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:54:23 +00:00
cata%netscape.com
60653ac220 Fix for bug #45356 and lots of clean-up.
git-svn-id: svn://10.0.0.236/trunk@78552 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:45:56 +00:00
cata%netscape.com
ae9edba72a Fix for bug #45356 & lots of clean-up.
git-svn-id: svn://10.0.0.236/trunk@78551 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:45:28 +00:00
nbhatla%netscape.com
dc7d3e8958 #46423 -> new modern skin. backing out changes to toolbar. workaround fix for #51768. navbar no longer accomodates larger fonts in urlbar. r=hewitt.
git-svn-id: svn://10.0.0.236/trunk@78550 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:43:40 +00:00
dimator%netscape.com
f697d9424e Oops, commenting out some debug stuff from my last checkin.
git-svn-id: svn://10.0.0.236/trunk@78549 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:41:53 +00:00
jglick%netscape.com
6f0dfb1be3 45535, 37931, 40740. Clean up to Mail/News Pref dialogs. a=hangas, r=hangas
git-svn-id: svn://10.0.0.236/trunk@78548 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:41:02 +00:00
sfraser%netscape.com
ca316ac9e0 Final part of fix for 13718 -- implement call through nsHTMLImageLoader to get natural dimensions. r=pnunn.
git-svn-id: svn://10.0.0.236/trunk@78547 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:36:29 +00:00
gordon%netscape.com
9fae4dd645 Fix bug 35564 '[MLK] Potential nsIIOService Leak' - integrated Patrick's changes
git-svn-id: svn://10.0.0.236/trunk@78546 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:31:26 +00:00
pinkerton%netscape.com
6373b92293 put nsFileWidget back.
git-svn-id: svn://10.0.0.236/trunk@78545 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:21:28 +00:00
pinkerton%netscape.com
e31527c3ff put nsFileWidget.cpp back into the build.
git-svn-id: svn://10.0.0.236/trunk@78544 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:21:09 +00:00
valeski%netscape.com
a88376b089 50188. removing release spammage
git-svn-id: svn://10.0.0.236/trunk@78543 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:21:08 +00:00
hewitt%netscape.com
6e1922cd35 #51644 - css typo fix, r=ben
git-svn-id: svn://10.0.0.236/trunk@78542 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:17:50 +00:00
evaughan%netscape.com
2543493e06 Fix for bug# 51163
-r hyatt


git-svn-id: svn://10.0.0.236/trunk@78541 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:15:55 +00:00
pinkerton%netscape.com
1e165b8adb add an applescript wrapper for a call that is only in carbon. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@78539 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:09:42 +00:00
relyea%netscape.com
2c944665b2 Sigh... let's compile this puppy before I check it in....
git-svn-id: svn://10.0.0.236/trunk@78538 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:08:49 +00:00
rickg%netscape.com
ece465da5b fixed nsbeta3 bugs (crash and compatibility), an FMM, reduced memory usage. Top100+Regression tests ok. R=harishd/buster
git-svn-id: svn://10.0.0.236/trunk@78537 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:06:13 +00:00
relyea%netscape.com
06a7d511c9 Fix Startup crash found by CPD on linux. (use the correct slot function).
git-svn-id: svn://10.0.0.236/trunk@78536 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:00:04 +00:00
relyea%netscape.com
96718d6193 Fix bug where cached keys were keeping around dead sessions.
git-svn-id: svn://10.0.0.236/trunk@78535 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:59:06 +00:00
dimator%netscape.com
79c7065b2e Adding aging to collected address book. bug 46343. r=mscott
git-svn-id: svn://10.0.0.236/trunk@78534 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:56:08 +00:00
pnunn%netscape.com
fcd6e7c635 bug:13718: natural img dimens. pnunn, r:sfraser
git-svn-id: svn://10.0.0.236/trunk@78533 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:52:05 +00:00
pnunn%netscape.com
126dfa95c3 bug#13718: natural img dimens. pnunn, r:sfraser
git-svn-id: svn://10.0.0.236/trunk@78532 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:47:46 +00:00
pnunn%netscape.com
013093c147 bug#13718: for editor folk. pnunn, r:sfraser.
git-svn-id: svn://10.0.0.236/trunk@78531 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:46:24 +00:00
valeski%netscape.com
30ca1840b0 50188. ifdef debug'ing stderr output so we don't spew it in release builds.
git-svn-id: svn://10.0.0.236/trunk@78530 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:43:58 +00:00
mcgreer%netscape.com
221850cdc3 fix bugs where some nss code expects leading 0's (once used for signs). allows pkcs11 pairwise consistency check to operate correctly.
git-svn-id: svn://10.0.0.236/trunk@78529 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:41:51 +00:00
pinkerton%netscape.com
e09a5fd459 oops, remove a line used in testing.
git-svn-id: svn://10.0.0.236/trunk@78528 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:28:41 +00:00
pinkerton%netscape.com
1dd6be5076 Use an additional layer of filtering based on file type if we fail on the IC check. This catches things that aren't mapped by IC but we still might want to open. Also fix up the event proc to process update events for windows in the bg. r=sfraser, bugs 50312, 51830
git-svn-id: svn://10.0.0.236/trunk@78527 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:27:37 +00:00
scc%mozilla.org
047ee3b53a bug #51662, r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@78526 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:07:14 +00:00
ddrinan%netscape.com
4a36b6b720 Build coreconf
git-svn-id: svn://10.0.0.236/trunk@78525 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:05:00 +00:00
tajima%eng.sun.com
d9ea76a238 bug fixing for 3 nsbeta3+ bugs: 45287, 47568, and 47833. r=pavlov, a=waterson
git-svn-id: svn://10.0.0.236/trunk@78524 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 21:58:44 +00:00
putterman%netscape.com
4e970d7ea9 More fixes for js warnings and fix for Netscape bug 1793. r=mscott
git-svn-id: svn://10.0.0.236/trunk@78523 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 21:57:43 +00:00
javi%netscape.com
151365444a Whomp the MAC_SECURITY_BRANCH onto the tip.
git-svn-id: svn://10.0.0.236/trunk@78521 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 21:42:11 +00:00
ddrinan%netscape.com
edf578a6c9 Build NSPR as part of PSM build
git-svn-id: svn://10.0.0.236/trunk@78520 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 21:32:04 +00:00
brendan%mozilla.org
f212456b5e Comments and white-space cleanup.
git-svn-id: svn://10.0.0.236/trunk@78518 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 21:24:14 +00:00
cls%seawood.org
661bf2d2c4 Ok, trying to fix OS/2 one more time
git-svn-id: svn://10.0.0.236/trunk@78517 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 20:37:16 +00:00
kin%netscape.com
9b8fc58349 Added call temporary call to SetInitialValue() in CreateAnonymousContent() to fix
the problem where we can't retrieve the password value from the password
dialog. Breaks logging into IMAP.
r=blizzard@mozilla.org a=leaf@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@78516 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 14:55:49 +00:00
blizzard%redhat.com
faf2a5960b remove call to unset session history object. a=brendan
git-svn-id: svn://10.0.0.236/trunk@78515 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 14:51:57 +00:00
alla%lysator.liu.se
927efbdbd2 Implement js_CompareAndSwap for GCC x86 (Linux, FreeBSD etc). This gives us fast thin locks on Linux. bug 20357 r=brendan a=brendan
This version should now work on older binutils too.


git-svn-id: svn://10.0.0.236/trunk@78514 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 12:13:39 +00:00
hyatt%netscape.com
ac869ed050 r=ben, same as prev checkin
git-svn-id: svn://10.0.0.236/trunk@78513 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 10:02:00 +00:00
hyatt%netscape.com
fe277982e2 Tweak loadBindings call, provide hint to optimize possible style re-resolve in XBL, fix spot dbaron forgot. All 3 are r=ben
git-svn-id: svn://10.0.0.236/trunk@78512 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 10:01:18 +00:00
jband%netscape.com
c93adf1a1c warren's fix for the new/free mismatch undid kin's fix for the same problem. Also fix an off by one in the backwards 'for' loop. r=warren
git-svn-id: svn://10.0.0.236/trunk@78511 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 09:36:35 +00:00
alla%lysator.liu.se
bd1dd0e2eb Reverting last change.
git-svn-id: svn://10.0.0.236/trunk@78510 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 09:28:56 +00:00
alla%lysator.liu.se
0c68dc2002 Implement js_CompareAndSwap for GCC x86 (Linux, FreeBSD etc). This gives us fast thin locks on linux.
bug 20357, r=brendan a=brendan


git-svn-id: svn://10.0.0.236/trunk@78509 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 08:59:37 +00:00
mozilla.BenB%bucksch.org
ffaf55de21 51193: Corrections and incorporationg first feedback from the ng. r=David 'Master_D' Krause (mostly), a=brendan.
git-svn-id: svn://10.0.0.236/trunk@78508 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 08:50:27 +00:00
hewitt%netscape.com
fb7d2662c4 #46015 - reload keyboard accelerator, r=ben
git-svn-id: svn://10.0.0.236/trunk@78507 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 08:49:57 +00:00
mozilla.BenB%bucksch.org
aa1f689b75 49502: Add flags for View Source window to get scrollbars and be resizable
git-svn-id: svn://10.0.0.236/trunk@78506 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 08:32:43 +00:00
hewitt%netscape.com
31447c60af #47441 - windows classic scrollbar color correction, r=ben
git-svn-id: svn://10.0.0.236/trunk@78505 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 08:22:19 +00:00
hyatt%netscape.com
9d28cf7f88 Fixes for bugs 45989, 50509, r=ben,jrgm"
git-svn-id: svn://10.0.0.236/trunk@78504 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 08:04:53 +00:00
jst%netscape.com
ee563d6288 Fixing nsbeta3+ bug 45389. Adding support for window.location.assign('xxx');. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78503 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 07:29:54 +00:00
hyatt%netscape.com
1427b769b3 Binding detached. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78502 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 06:59:14 +00:00
hyatt%netscape.com
3184dd5fb2 Implement bindingDetached. r=ben
git-svn-id: svn://10.0.0.236/trunk@78501 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 06:57:03 +00:00
jst%netscape.com
d6162316cc Fixing nsbeta3+ bug 48763. <frame src=' '> caused an infinite loop if the base URL for the frame happens to be the URL for the containing frameset. r=pollmann@netscape.com&nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78500 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 06:56:15 +00:00
hyatt%netscape.com
e14e9cc204 Adding a min-width to all treecols. r=ben
git-svn-id: svn://10.0.0.236/trunk@78499 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 06:56:07 +00:00
hyatt%netscape.com
ad0f2624c0 Making splitters support persistence.
git-svn-id: svn://10.0.0.236/trunk@78498 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 06:55:10 +00:00
hyatt%netscape.com
05652a97e7 Making sure threadpane persists width. Just added explicit initial 0 widths and added fixed=true to image cols. r=putterman
git-svn-id: svn://10.0.0.236/trunk@78497 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 06:54:48 +00:00
mcafee%netscape.com
5c3deb1069 Cleaning up some whacked nsbeta3+ whitespace. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78496 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 06:14:04 +00:00
cls%seawood.org
479a73b502 Yet another attempt at fixing OS/2 bustage. OS/2 requires static libraries that will subsequently be used in EXTRA_DSO_LIBS to end with _s
git-svn-id: svn://10.0.0.236/trunk@78495 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 06:11:59 +00:00
pollmann%netscape.com
f972f867ca Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78494 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 05:53:28 +00:00
putterman%netscape.com
53c1ec56cf some js warning fixes. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@78493 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 05:46:35 +00:00
sfraser%netscape.com
1ca86fc138 Remove another spurious printf (this one wasn't even debug only). r=bryner
git-svn-id: svn://10.0.0.236/trunk@78492 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 05:33:35 +00:00
sfraser%netscape.com
eababbb932 Fix for 51829 -- make View frame source window have scollbars and other goodness. Just some chrome flags. r=BenB
git-svn-id: svn://10.0.0.236/trunk@78491 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 05:08:34 +00:00
warren%netscape.com
722b190144 Bug 46772. Added nsIDirectoryService::UnregisterProvider
git-svn-id: svn://10.0.0.236/trunk@78490 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:57:33 +00:00
putterman%netscape.com
4f3068555d Fix for 50350. Can now copy and file news messages. r=mscott.
git-svn-id: svn://10.0.0.236/trunk@78489 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:55:43 +00:00
pollmann%netscape.com
b8d8068374 Bug 49921: Fix leak of a CNavDTD (leak and fix found thanks to beard@netscape.com) r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78488 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:52:57 +00:00
warren%netscape.com
7122cc624e Bug 50844. Fixed mismatched memory free.
git-svn-id: svn://10.0.0.236/trunk@78487 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:39:17 +00:00
sfraser%netscape.com
5cb02e21e0 Removed bogus printfs, and fixed the fragment name of the merged components DLL. r=bryner
git-svn-id: svn://10.0.0.236/trunk@78486 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:34:47 +00:00
putterman%netscape.com
6d8683c83b Fix for 19618. Add icons to thread column. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@78485 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:22:01 +00:00
putterman%netscape.com
6477b159bc Fix for 19618. Add icons to thread column. r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@78484 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:21:41 +00:00
jst%netscape.com
9c3c6165f2 Fixing regression wrt setting window.location='xxx'. r=rpotts&vidur
git-svn-id: svn://10.0.0.236/trunk@78483 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:21:29 +00:00
bienvenu%netscape.com
4a31d20fe0 fix 51545 ref-counting problem with headers in header cache r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@78482 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:08:05 +00:00
sfraser%netscape.com
f38e17cc75 Fix build for kandrot. Export NR_RegSetBufferSize from libreg.
git-svn-id: svn://10.0.0.236/trunk@78481 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 03:52:11 +00:00
sspitzer%netscape.com
7dab6bb817 fix for #51540. the key we pass to the folder cache is the persistent file
descriptor string for the .msf file for the folder.  in some cases, we
don't have a .msf file yet.  on win32 and linux, this string was null.
on the mac, bless its little heart, this was "".  so we were writing
and reading to the same cache element for all the folders, since we
were using "" as the key.  r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@78480 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 03:47:08 +00:00
kandrot%netscape.com
66994f809e Missed a change. Fix for bug #46709
r=rayw


git-svn-id: svn://10.0.0.236/trunk@78479 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:53:12 +00:00
kandrot%netscape.com
7c6d710dc2 Fix for bug #46709. Missed this file in checkin.
r=rayw


git-svn-id: svn://10.0.0.236/trunk@78478 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:44:13 +00:00
sfraser%netscape.com
4ed26ff1e6 Fix the tree bustage. r=jst
git-svn-id: svn://10.0.0.236/trunk@78477 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:06:56 +00:00
dbaron%fas.harvard.edu
3ccf2a2ea4 Clean up reporting of CSS parser errors: Use |nsAReadableString|s and an additional macro to allow all the error reporting to be done by macros. Also clean up a few comments. Not part of the default build (you must define CSS_REPORT_PARSE_ERRORS).
Make namespace prefixes case insensitive within CSS by normalizing to lower-case.  b=35813

r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78476 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:05:09 +00:00
ddrinan%netscape.com
e327fc2f1a ui and doc directories are now under psmdata
git-svn-id: svn://10.0.0.236/trunk@78475 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:04:05 +00:00
ddrinan%netscape.com
705d584ea6 Install PSM in the same directiry as mozilla
git-svn-id: svn://10.0.0.236/trunk@78474 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:03:11 +00:00
ddrinan%netscape.com
7eea95657f Move ui and doc directories under psmdata and do not copy NSPR, XPCOM and components into the xpi file
git-svn-id: svn://10.0.0.236/trunk@78473 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:01:42 +00:00
dbaron%fas.harvard.edu
b26700d326 Make idlc run correctly in an objdir build. This taints the srcdir, but that's the way idlc is supposed to work.
Make idlc-generated files not be made executable.
r=jst,cls
Not part of the build (used only by people making DOM idl changes)


git-svn-id: svn://10.0.0.236/trunk@78472 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:59:22 +00:00
kandrot%netscape.com
4efd61dfe0 Fix for bug #46709.
Allows buffer size of registry to change.

r=rayw


git-svn-id: svn://10.0.0.236/trunk@78471 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:53:15 +00:00
kandrot%netscape.com
df46e3cf1c Fix for bug #46709
Allows registry buffer size to be modified.  Increases buffer size during
initial start up, then decreases size.

r=rayw


git-svn-id: svn://10.0.0.236/trunk@78470 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:51:45 +00:00
pollmann%netscape.com
f26bbc9e5e Bug 13652: select method should fire onselect handlers, blur should blur, r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78469 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:46:00 +00:00
cmanske%netscape.com
ae82ac6b55 Refinements to make Composer context menus work and remove unused entities, b=43307, r=akkana
git-svn-id: svn://10.0.0.236/trunk@78468 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:45:06 +00:00
sfraser%netscape.com
f247b25bd3 Part of fix for bug 13718 -- API for natural dimensions of image. Extend the netscape nsIDOMImage interface. r=jst
git-svn-id: svn://10.0.0.236/trunk@78467 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:32:39 +00:00
slamm%netscape.com
cfa55e5b4c Add close box to Customize Tab dialog (48228). r=don
git-svn-id: svn://10.0.0.236/trunk@78466 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:28:12 +00:00
bienvenu%netscape.com
ee262de332 fix crash get new mail with no inbox r=sspitzer 51366
git-svn-id: svn://10.0.0.236/trunk@78465 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:25:59 +00:00
sfraser%netscape.com
e049071519 Removed an nsIAtom* that was never initialized or used, but NS_RELEASED. Found in the build warnings. r=jag.
git-svn-id: svn://10.0.0.236/trunk@78464 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:25:10 +00:00
beard%netscape.com
7449672327 All JSValue constructors are explicit.
git-svn-id: svn://10.0.0.236/trunk@78463 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:16:03 +00:00
slamm%netscape.com
effb20925b 'Panel' --> 'Tab' (51091) r=mcafee
git-svn-id: svn://10.0.0.236/trunk@78462 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:14:46 +00:00
slamm%netscape.com
9491af2cf2 Fix empty sidebar (50973) r=mcafee
git-svn-id: svn://10.0.0.236/trunk@78461 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:14:44 +00:00
slamm%netscape.com
7dd384939d Add grippy for mailnews splitter. Not sure why it disappeared in the first place. Adding one explicitly is easier than finding out why is disappeared. (follow up to 47585) r=mcafee
git-svn-id: svn://10.0.0.236/trunk@78460 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:14:41 +00:00
wtc%netscape.com
158ed80c03 gcc does not recognize the -xchip=ultra2 option on Solaris/Sparc.
git-svn-id: svn://10.0.0.236/trunk@78459 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:05:23 +00:00
wtc%netscape.com
2a8bb155b4 Fixed the relative paths in the symlinks created by the moz_import target.
git-svn-id: svn://10.0.0.236/trunk@78457 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:52:35 +00:00
bienvenu%netscape.com
477f214cb9 turn on aol pseudo mailboxes, forgot to turn the switch code was reviewed by mscott, 33217
git-svn-id: svn://10.0.0.236/trunk@78456 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:51:14 +00:00
hewitt%netscape.com
9617cfb121 46613 - fix margins on navbar, r=nbhatla
git-svn-id: svn://10.0.0.236/trunk@78455 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:31:37 +00:00
rpotts%netscape.com
e55fbfd3b5 Fixed a place where the DocShellTreeOwner was being deleted out from under itself...
git-svn-id: svn://10.0.0.236/trunk@78454 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:30:22 +00:00
rpotts%netscape.com
5f1022d223 bug #37434. Stop() is now called on the content viewer, before the old document is destroyed. This allows the old document to release some stuff :-)
git-svn-id: svn://10.0.0.236/trunk@78453 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:29:13 +00:00
mscott%netscape.com
9b2caee4b9 Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78452 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:24:13 +00:00
mscott%netscape.com
a44231c99a Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
make the http event sync proxy async instead of sync. r=gagan


git-svn-id: svn://10.0.0.236/trunk@78451 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:21:44 +00:00
mscott%netscape.com
8d6d857731 Bug #43556 --> register our nsIMIMEService implementation with a progid.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78450 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:17:34 +00:00
mscott%netscape.com
3baa2dd51b Bug #43556 --> remove obsolete progid reference to force callers through the new nsIMimeService in the uriloader.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78449 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:16:53 +00:00
mscott%netscape.com
25f11245c2 Bug #43556 --> Implement nsIMIMEService. For now, forward the calls to the old implementation in necko.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78448 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:12:51 +00:00
mscott%netscape.com
07714338d7 Bug #43556 --> inpreparation for mime service over-haul, remove 2 obsolete methods.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78447 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:10:48 +00:00
nbhatla%netscape.com
d19b1a6176 #46423 -> new modern skin. updates to straighten out taskbar groove menus. r=andreww
git-svn-id: svn://10.0.0.236/trunk@78446 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:03:04 +00:00
nbhatla%netscape.com
c6f93ed549 #46423-> removal of flex to straighten out taskbar groove in modern. r=ben
git-svn-id: svn://10.0.0.236/trunk@78445 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:02:24 +00:00
bienvenu%netscape.com
075bb54f96 fix problem selecting local folder after compacting it r=putterman 51651
git-svn-id: svn://10.0.0.236/trunk@78444 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:57:40 +00:00
nbhatla%netscape.com
61337d6c93 #46423 -> New Modern Skin. Adds composer toolbar icons, and other polish. r=andreww
git-svn-id: svn://10.0.0.236/trunk@78443 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:54:13 +00:00
nbhatla%netscape.com
ffa36934ad First Checked In.
git-svn-id: svn://10.0.0.236/trunk@78442 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:51:17 +00:00
pchen%netscape.com
9c82e31ac6 bug 51756, r=pinkerton, only pass in ONE 'security-button' DOM element
git-svn-id: svn://10.0.0.236/trunk@78441 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:36:06 +00:00
pchen%netscape.com
eed75665af bug 51756, r=pinkerton, add security button tooltip text to bundle
git-svn-id: svn://10.0.0.236/trunk@78440 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:36:02 +00:00
pchen%netscape.com
4b109615ca bug 51756, r=pinkerton, remove mCertificateAuthorityDisplay and added SetBrokenIcon() method
git-svn-id: svn://10.0.0.236/trunk@78439 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:35:58 +00:00
pchen%netscape.com
dc876679e4 bug 51756, r=pinkerton, remove mCertificateAuthorityDisplay and changed all references to the object to use mSecurityButton, also added SetBrokenIcon() method to consolidate duplicate code
git-svn-id: svn://10.0.0.236/trunk@78438 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:35:53 +00:00
pchen%netscape.com
bc3d1afbbf bug 51756, r=pinkerton, remove certauth parameter in Init(), which just happened to be exactly the same as button for tooltip stuff
git-svn-id: svn://10.0.0.236/trunk@78437 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:35:49 +00:00
mcgreer%netscape.com
f9125f6e4e make compare_key do something (even if it will go away soon)
git-svn-id: svn://10.0.0.236/trunk@78436 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:18:40 +00:00
pinkerton%netscape.com
c31917400f use NS_LITERAL_STRING
git-svn-id: svn://10.0.0.236/trunk@78435 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:18:38 +00:00
pinkerton%netscape.com
5af3e55eb7 using NS_LITERAL_STRING
git-svn-id: svn://10.0.0.236/trunk@78434 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:12:41 +00:00
pinkerton%netscape.com
7f62728f73 remove nsFileWidget.cpp, replaced by nsFilePicker.cpp
git-svn-id: svn://10.0.0.236/trunk@78433 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:11:36 +00:00
pinkerton%netscape.com
e717b6f347 removing the file widget (replaced by file picker).
git-svn-id: svn://10.0.0.236/trunk@78432 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:10:08 +00:00
pinkerton%netscape.com
ab11fe77ac more api changes for strings
git-svn-id: svn://10.0.0.236/trunk@78431 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:09:22 +00:00
pinkerton%netscape.com
ea68667274 fix bug where we were leaving off the null on our mapping flavor.
git-svn-id: svn://10.0.0.236/trunk@78430 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:08:33 +00:00
pinkerton%netscape.com
82076d1b2d updating a comment
git-svn-id: svn://10.0.0.236/trunk@78429 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:07:09 +00:00
pinkerton%netscape.com
813a2806af convert to NS_LITERAL_STRING and fixing some api's.
git-svn-id: svn://10.0.0.236/trunk@78428 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:06:52 +00:00
karnaze%netscape.com
d96ca778e1 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@78427 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 22:05:12 +00:00
attinasi%netscape.com
25b7f99062 New weekly data: not part of build.
git-svn-id: svn://10.0.0.236/trunk@78426 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 21:55:24 +00:00
despotdaemon%netscape.com
ec84ec54f3 Pseudo-automatic update of changes made by pavlov@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@78425 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 21:55:06 +00:00
sfraser%netscape.com
707e9c93fa Fix JavaScript warnings in strict mode. r=pchen
git-svn-id: svn://10.0.0.236/trunk@78424 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 21:48:48 +00:00
bryner%uiuc.edu
28c6a497f2 Changing NPL to MPL license, and correcting the Initial Developer to be
myself.  Change has been approved by all contributors to this code.


git-svn-id: svn://10.0.0.236/trunk@78423 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 21:26:29 +00:00
radha%netscape.com
05c21c940b Fix for bug # 43871. Pref to disable/enable autocomplete. r=ducarroz.
git-svn-id: svn://10.0.0.236/trunk@78422 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 21:19:36 +00:00
cls%seawood.org
61298d13d2 Ok, switching to testing against MOZ_WIDGET_TOOLKIT instead of OS_ARCH
git-svn-id: svn://10.0.0.236/trunk@78421 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 21:05:31 +00:00
heikki%netscape.com
6f651fdbf2 Got delayed with changed files, here is the second patch... Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki.
git-svn-id: svn://10.0.0.236/trunk@78420 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 21:03:26 +00:00
karnaze%netscape.com
36ea06ba2f bug 33137 - don't use the min width of a cell which is larger than the fixed width of the cell as the basis of the fixed width contributor. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@78419 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 20:55:03 +00:00
heikki%netscape.com
fe1232e006 Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki.
git-svn-id: svn://10.0.0.236/trunk@78418 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 20:37:01 +00:00
dougt%netscape.com
7a4d1d2588 Bug 51445. r=beard@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78417 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 20:28:00 +00:00
sfraser%netscape.com
4d989602b0 Fix 51747 -- caret not drawing at the end of a line. Fix offset of clip. r=kin
git-svn-id: svn://10.0.0.236/trunk@78416 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 20:21:22 +00:00
sfraser%netscape.com
3af29dc41c Fix JS warnings. r=pchen
git-svn-id: svn://10.0.0.236/trunk@78415 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:47:39 +00:00
kin%netscape.com
f9f4e41f8c Fix for bug #50927: UMR and FMM: nsJARChannel::GetContentType().
Added check for NULL mJAREntry and we now free filename with 'delete'.
r=warren@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78414 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:31:10 +00:00
despotdaemon%netscape.com
50e41ac39d Pseudo-automatic update of changes made by peterlubczynski@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@78413 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:29:10 +00:00
rogerl%netscape.com
ebf4085e3f Added Branch_initialized for argument handling.
git-svn-id: svn://10.0.0.236/trunk@78412 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:23:24 +00:00
rogerl%netscape.com
78a191a22c Named arguments.
git-svn-id: svn://10.0.0.236/trunk@78411 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:22:59 +00:00
rogerl%netscape.com
d9a424fb09 Named arguments
git-svn-id: svn://10.0.0.236/trunk@78410 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:22:13 +00:00
kin%netscape.com
a78dd6b7d3 Fix for bug #46396: select after input confuses session history
Moved code that set initial value of text control via the editor from
CreateAnonymousContent() to a new method called SetInitialValue().
SetInitialValue() is now called during the frame's first reflow.
Added mUseEditor to indicate when it is safe to use the editor
to get and set values.
r=mjudge@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78409 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:11:23 +00:00
mstoltz%netscape.com
891766eb9e bug 50304, adding "static" to security policy struct, should save some memory and time. r=rogerl
git-svn-id: svn://10.0.0.236/trunk@78408 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:03:23 +00:00
nelsonb%netscape.com
cfae88ef1d If an application calls SSL_SetURL on an NSPR FD that has NOT had SSL
"imported" into it, SSL_SetURL will crash.  This change fixes that.


git-svn-id: svn://10.0.0.236/trunk@78407 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:01:48 +00:00
javi%netscape.com
ae87ca3fd1 Update the packages up for nlslayer import on tortoise
git-svn-id: svn://10.0.0.236/trunk@78406 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:53:05 +00:00
disttsc%bart.nl
479c66f9b5 Make pref-applications-new.js:chooseApp() check the filepicker's return value. r=ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@78405 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:52:02 +00:00
jband%netscape.com
8f0ba8abbc fix bug 13125. Add support for wrapped native xpcom objects to be used as __proto__ objects for JavaScript objects. a,r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@78404 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:49:06 +00:00
akkana%netscape.com
bea89d48ed Fix cvs commit -m in script, so it can be run directly. Affects only the test, not part of the app. r=mcafee (actually, he suggested it)
git-svn-id: svn://10.0.0.236/trunk@78403 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:42:51 +00:00
bienvenu%netscape.com
30fc893818 part of fix for 19618 problem with thread counts r=putterman
git-svn-id: svn://10.0.0.236/trunk@78402 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:42:07 +00:00
akkana%netscape.com
383539d22b 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@78401 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:40:14 +00:00
sspitzer%netscape.com
e45983416a fix from gemal@gemal.dk for #51155. r=sspitzer. thanks gemal.
git-svn-id: svn://10.0.0.236/trunk@78400 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:28:59 +00:00
sspitzer%netscape.com
26879d40ad new alert text from robinf. r=sspitzer #20401
git-svn-id: svn://10.0.0.236/trunk@78399 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:28:07 +00:00
dp%netscape.com
29d33d3e52 bug 48292 Releasing cache entry as soon as we are done rather than
waiting until nsHTTPChannel gets deleted, which apparently happens
after the next page finishes loading giving rise to all kinds of
interesting conditions if the current and next page are same. r=neeti


git-svn-id: svn://10.0.0.236/trunk@78398 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:24:28 +00:00
disttsc%bart.nl
2dd8b1f5cc Make XP filepicker's OK button display Open/Save/Select depending on the mode. r=bryner, a=brendan
git-svn-id: svn://10.0.0.236/trunk@78397 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:22:14 +00:00
brendan%mozilla.org
beabb48e58 Improve JSNewEnumerateOp comment per recent exchange with Helge Hess.
git-svn-id: svn://10.0.0.236/trunk@78396 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:06:02 +00:00
mcgreer%netscape.com
dfaeddc2f4 first draft of rsa CRT decryption
git-svn-id: svn://10.0.0.236/trunk@78395 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 16:29:23 +00:00
relyea%netscape.com
119ba01a84 Add definitions for the nssCKFWMechanism functions.
Add definitions to stub out the NSPR functions.


git-svn-id: svn://10.0.0.236/trunk@78394 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 16:07:03 +00:00
cmanske%netscape.com
e9ae2be8e1 Adding comment concerning GetAlignment return values not showing mixed state
git-svn-id: svn://10.0.0.236/trunk@78393 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 14:33:06 +00:00
bienvenu%netscape.com
d0aded1e30 bullet proofing for 51651 crash moving local messages r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@78392 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 14:14:35 +00:00
bienvenu%netscape.com
c5932cef6b some fixes for news memory leaks r=mscott 51359
git-svn-id: svn://10.0.0.236/trunk@78391 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 14:13:23 +00:00
locka%iol.ie
78d0b29302 NOT PART OF BUILD. regmozctl slowly inching towards being able to update the PATH environment for control support
git-svn-id: svn://10.0.0.236/trunk@78390 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 14:08:40 +00:00
ccarlen%netscape.com
d225c147aa Removed call to nsIProfile method which used nsFileSpec - #36968
r=dougt


git-svn-id: svn://10.0.0.236/trunk@78389 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 13:09:21 +00:00
ccarlen%netscape.com
03cc0fbb6e Use nsIDirectoryService instead of nsIFileLocations - bug #38626
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@78388 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 13:06:28 +00:00
dveditz%netscape.com
3a563c140f moving regchrome target into rules.mak so it'll work from anywhere
git-svn-id: svn://10.0.0.236/trunk@78387 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 12:06:38 +00:00
alecf%netscape.com
f0f3ab746e actually, back out all of ben@netscape.com's changes to the wizard and prefs so that I don't get
a million bugs from QA tomorrow.


git-svn-id: svn://10.0.0.236/trunk@78386 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 11:38:54 +00:00
alecf%netscape.com
59c65c6d06 backing out all of ben's JS changes as they were completely unreviewed and unapproved
git-svn-id: svn://10.0.0.236/trunk@78385 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 11:33:09 +00:00
dveditz%netscape.com
01adbed116 Turning on JS strict option in debug builds, a/r=brendan, bug 50645
git-svn-id: svn://10.0.0.236/trunk@78384 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 10:51:59 +00:00
hyatt%netscape.com
4ffca0e0e4 Fix for 43326. r=ben
git-svn-id: svn://10.0.0.236/trunk@78383 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 10:26:51 +00:00
ben%netscape.com
b1873387f5 sync up jar.mn
git-svn-id: svn://10.0.0.236/trunk@78382 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:54:22 +00:00
ssu%netscape.com
af9379463b revamp chrome zipping to fix dev vs. release build problems, also support bugscape bug 2152. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@78381 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:34:29 +00:00
hyatt%netscape.com
6df9996308 Taking more drastic measures with tree reflow stuff to try to fix some of the problems. r=ben
git-svn-id: svn://10.0.0.236/trunk@78380 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:27:25 +00:00
ben%netscape.com
f57fd8d764 remove more files
git-svn-id: svn://10.0.0.236/trunk@78379 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:23:57 +00:00
hyatt%netscape.com
7fbd0a4e2a Weird!?
git-svn-id: svn://10.0.0.236/trunk@78378 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:20:56 +00:00
ben%netscape.com
4e008dd38b more file removal
git-svn-id: svn://10.0.0.236/trunk@78377 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:19:41 +00:00
ben%netscape.com
af583204a8 removing more files
git-svn-id: svn://10.0.0.236/trunk@78376 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:16:29 +00:00
ben%netscape.com
79c81d29d9 more file removal
git-svn-id: svn://10.0.0.236/trunk@78375 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:14:36 +00:00
ben%netscape.com
8c97e7645c more dead files
git-svn-id: svn://10.0.0.236/trunk@78374 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:11:04 +00:00
ben%netscape.com
6d75f0b460 more images bite the dust
git-svn-id: svn://10.0.0.236/trunk@78373 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:08:28 +00:00
ben%netscape.com
ac6c818bff more of the same
git-svn-id: svn://10.0.0.236/trunk@78372 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:06:52 +00:00
ben%netscape.com
334584cb64 die classic skin bloat, die!
git-svn-id: svn://10.0.0.236/trunk@78371 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:06:27 +00:00
ben%netscape.com
c021ed5d1e file removal...
git-svn-id: svn://10.0.0.236/trunk@78370 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:02:20 +00:00
ben%netscape.com
eb909eb01c file removal...
git-svn-id: svn://10.0.0.236/trunk@78369 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 09:00:30 +00:00
ben%netscape.com
d1b3de3ea4 even more dead files...
git-svn-id: svn://10.0.0.236/trunk@78368 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 08:56:50 +00:00
ben%netscape.com
2454c8e1ae more dead files...
git-svn-id: svn://10.0.0.236/trunk@78367 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 08:53:13 +00:00
ben%netscape.com
5963790b37 remove dead files
git-svn-id: svn://10.0.0.236/trunk@78366 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 08:49:03 +00:00
ben%netscape.com
d8d5c80679 remove more dead files...
git-svn-id: svn://10.0.0.236/trunk@78365 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 08:48:28 +00:00
hyatt%netscape.com
bc68050949 Ensuring that column header cells don't also persist accidentally (along with the columns themselves. r=ben
git-svn-id: svn://10.0.0.236/trunk@78364 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 08:42:49 +00:00
ben%netscape.com
df8cb2f674 oops, forgot to commit jar manifest too
git-svn-id: svn://10.0.0.236/trunk@78363 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 08:42:20 +00:00
hyatt%netscape.com
7fd7427377 Fix for 51263. r=ben
git-svn-id: svn://10.0.0.236/trunk@78362 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 08:26:03 +00:00
hyatt%netscape.com
1d946724a1 C++ fixes for 51263, r=joki
git-svn-id: svn://10.0.0.236/trunk@78361 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 08:18:11 +00:00
hyatt%netscape.com
8b7d5f7953 XUL fixes for 51263. r=ben
git-svn-id: svn://10.0.0.236/trunk@78360 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 08:17:32 +00:00
ben%netscape.com
83c313a2e8 remove dead files
git-svn-id: svn://10.0.0.236/trunk@78359 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 08:05:56 +00:00
cls%seawood.org
70d103e003 Fix for current OS/2 build bustage
git-svn-id: svn://10.0.0.236/trunk@78358 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:54:05 +00:00
mcgreer%netscape.com
0b50652cfb separate keygen from primegen, to facilitate testing (by using the self-test key from blapitest). using this verified the keygen process (against that self-test, anyway). leaving a testing function in temporarily.
git-svn-id: svn://10.0.0.236/trunk@78357 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:33:34 +00:00
morse%netscape.com
dff9c09818 added some defensive coding to previous checkin
git-svn-id: svn://10.0.0.236/trunk@78356 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:21:42 +00:00
ssu%netscape.com
af20f9b0d5 make sure en-US is selected, r=dveditz (preparation for bugscape 2152
git-svn-id: svn://10.0.0.236/trunk@78355 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:05:21 +00:00
morse%netscape.com
feb9add6f2 bug 51338, cookie nag box not modal, r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@78354 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:00:36 +00:00
mcgreer%netscape.com
721096e8d8 fix bad change made in keygen
git-svn-id: svn://10.0.0.236/trunk@78353 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 06:44:57 +00:00
dave%intrec.com
9cf0aa1b59 Fix for bug 51519: Links to index are too specific. Patch by
john.beranek@pace.co.uk (John Beranek)


git-svn-id: svn://10.0.0.236/trunk@78352 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 06:31:12 +00:00
despotdaemon%netscape.com
1c01fd597c Pseudo-automatic update of changes made by margaret.chan@sun.com.
git-svn-id: svn://10.0.0.236/trunk@78351 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 06:26:58 +00:00
ben%netscape.com
22c8f7e6cc fix for tooltip on lock icon, forget the bug number, r=pchen
git-svn-id: svn://10.0.0.236/trunk@78350 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 06:23:22 +00:00
dave%intrec.com
f5079948a1 Fix for bug 51508: Unclosed <NOBR> around named queries in command menu.
Patch by john.beranek@pace.co.uk (John Beranek)


git-svn-id: svn://10.0.0.236/trunk@78349 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 06:22:10 +00:00
bryner%uiuc.edu
b0be72842d Fixing 42109 (again) - I missed a case on my first attempt. r=disttsc@bart.nl.
git-svn-id: svn://10.0.0.236/trunk@78348 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:49:04 +00:00
cmanske%netscape.com
8043db6499 Removing bogus comment (43307)
git-svn-id: svn://10.0.0.236/trunk@78347 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:45:36 +00:00
cmanske%netscape.com
4abcb7d791 Composer UI fixes: getting object for properties (needed for context menus, 43307). Color (47695) and Image props (47651) cleanup r=hyatt
git-svn-id: svn://10.0.0.236/trunk@78346 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:39:27 +00:00
cmanske%netscape.com
312d705127 Composer dialog CSS changes for Image dialog (47651) r=hyatt
git-svn-id: svn://10.0.0.236/trunk@78345 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:38:59 +00:00
ben%netscape.com
5cd8a865fe 46613, more classic skin fixes. Mail import dialog polish
git-svn-id: svn://10.0.0.236/trunk@78344 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:33:42 +00:00
sfraser%netscape.com
fb865adb8e Fix bugs 45881 and 46850 -- general caret cruft. Ensure that caret is clipped to the scrolling view, and fix things so that the caret is properly hidden on scrolling. r=beard
git-svn-id: svn://10.0.0.236/trunk@78343 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:26:25 +00:00
ben%netscape.com
0136b779a9 46613, mail window fixes for classic skin
git-svn-id: svn://10.0.0.236/trunk@78342 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:05:15 +00:00
nbhatla%netscape.com
e79973882c #46423 -> new modern skin. also updated classic skins i because of navigator.xul change earlier. Messenger compose and addressbook should now have the right toolbar buttons, and the nav bar in browser should stretch vertically to accomodate any urlbar font size. r=hewitt
git-svn-id: svn://10.0.0.236/trunk@78341 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:04:24 +00:00
ben%netscape.com
001c0ed13d 46613, mail appearance fixes for classic skin. Includes tweaks to account wizard and mgr.
git-svn-id: svn://10.0.0.236/trunk@78340 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:02:17 +00:00
ben%netscape.com
89906e54d5 46613, mail window appearance fixes for classic
git-svn-id: svn://10.0.0.236/trunk@78339 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:01:22 +00:00
cls%seawood.org
f74c9f683a Adding dist/bin/components to LIBRARY_PATH as part of fix for BeOS shared lib loading. Bug #51658. Thanks to Justin Morey <justin@68k.org> for the patch.
git-svn-id: svn://10.0.0.236/trunk@78338 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 04:50:48 +00:00
nbhatla%netscape.com
cd08902471 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@78337 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 04:49:38 +00:00
nbhatla%netscape.com
68ecd0902f #46423-> new modern skin. Change to xul so that groove in navbar can stretch vertically if the urlbar text size is larger than expected. r=ben,hyatt
git-svn-id: svn://10.0.0.236/trunk@78336 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 04:45:46 +00:00
sfraser%netscape.com
fc51db9344 Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods
git-svn-id: svn://10.0.0.236/trunk@78335 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 04:39:02 +00:00
chuang%netscape.com
8a0686dca5 Bug49211 Filter&Search UI: Fewer button doesn't work, r=alecf
git-svn-id: svn://10.0.0.236/trunk@78334 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 04:04:15 +00:00
kvisco%ziplink.net
509f2e8786 Not part of regular build, a=leaf. Updated with latest change and contributor
information.


git-svn-id: svn://10.0.0.236/trunk@78333 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 03:58:17 +00:00
kvisco%ziplink.net
8a310b569e Not part of regular build, a=leaf. Added the missing char casts after doing the
UTF-8 encoding.


git-svn-id: svn://10.0.0.236/trunk@78332 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 03:40:24 +00:00
cls%seawood.org
c37e9fc0d6 Fix for OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@78331 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 03:37:45 +00:00
nelsonb%netscape.com
5cd746d35d Attempt to prevent certain NSS internal error codes from being seen by
applications that use SSL sockets.  These include:
SEC_ERROR_EXTENSION_NOT_FOUND and SSL_ERROR_SESSION_NOT_FOUND


git-svn-id: svn://10.0.0.236/trunk@78330 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 03:35:31 +00:00
kmcclusk%netscape.com
3266bdb5f5 Clip unicode text on WIN95 when a underline or strikeout font has been specified. Fixes underline too long problem on WIN95. bug 8322 r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78329 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 03:20:05 +00:00
mcgreer%netscape.com
b7ad957b2f call extended euclidean algorithm directly instead of using mp_invmod
git-svn-id: svn://10.0.0.236/trunk@78328 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 03:14:16 +00:00
beard%netscape.com
54178b942b fixing system access paths to just point to "{Compiler}MSL" and "{Compiler}MacOS Support". Otherwise, "Carbon Support" can be found, which is a pain for those of us doing dual development.
git-svn-id: svn://10.0.0.236/trunk@78327 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 03:11:46 +00:00
beard%netscape.com
a33e2f0f43 compressed stack crawls
git-svn-id: svn://10.0.0.236/trunk@78326 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 02:59:36 +00:00
hyatt%netscape.com
2e1635d8b1 Patch to enable event.originalTarget on input fields. r=joki
git-svn-id: svn://10.0.0.236/trunk@78325 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 02:47:52 +00:00
cls%seawood.org
e6a8b91c61 General makefile cleaning for intl. Thanks to dbaron for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@78324 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 02:38:55 +00:00
cls%seawood.org
5c0f116111 Ok, how many times to we have to go over this? If you want to link a static archive into a shared library, YOU MUST USE the SHARED_LIBRARY_LIBS variable! Hopefully, this will put an end to the problems of orange builds because htmlpars is all of a sudden "missing" a symbol.
git-svn-id: svn://10.0.0.236/trunk@78323 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 02:13:37 +00:00
dveditz%netscape.com
b8f9b6c544 adding #ifdefs to previous 50689 fix so it doesn't break Unix
git-svn-id: svn://10.0.0.236/trunk@78322 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 02:09:55 +00:00
dveditz%netscape.com
d920b7eaa7 dogfood bug 50689 (no chrome registration on Mac)
git-svn-id: svn://10.0.0.236/trunk@78321 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 01:25:43 +00:00
nelsonb%netscape.com
ed9c8d8e32 Remove PQG_DestroyParams(), PQG_DestroyVerify from pqg.c because they
duplicate the functions in lib/util/pqgutil.c.  Also, the functions in
pqgutil correctly handle the case where the Params or Verify was
constructed without an arena (a fact which is now more obvious when
reading the code there).


git-svn-id: svn://10.0.0.236/trunk@78320 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 01:24:52 +00:00
dveditz%netscape.com
50943c7d6b bug 38552 for mozilla@bucksch.org, a=brendan
git-svn-id: svn://10.0.0.236/trunk@78319 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 01:18:34 +00:00
nelsonb%netscape.com
0148a21d95 Effectively remove all the code that uses RC5 from the software token
by surrounding it with #if NSS_SOFTOKEN_DOES_RC5


git-svn-id: svn://10.0.0.236/trunk@78318 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 01:17:00 +00:00
matt%netscape.com
7c2d746204 adding background to textfield when disabled
r=ben
bug 47902


git-svn-id: svn://10.0.0.236/trunk@78317 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 01:12:26 +00:00
hyatt%netscape.com
cce7e6105d Adding originalTarget to Event object. r=joki
git-svn-id: svn://10.0.0.236/trunk@78316 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 01:07:29 +00:00
slamm%netscape.com
3f5788a8ef Use new url from Alexa. Bug 50594. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78315 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 00:18:27 +00:00
mcgreer%netscape.com
937ef7e982 first draft of rsa public key op (tested against blapi self-test)
git-svn-id: svn://10.0.0.236/trunk@78314 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:58:41 +00:00
rjc%netscape.com
fb65f78817 Fix bug # 33122: FTP proxy problems. r=gagan
git-svn-id: svn://10.0.0.236/trunk@78313 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:44:21 +00:00
warren%netscape.com
668d13b42c Changed assertion to warning when platform charset doesn't exist.
git-svn-id: svn://10.0.0.236/trunk@78312 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:42:59 +00:00
nelsonb%netscape.com
b0fdd401b6 Uncouple the definition of MOZILLA_SECURITY_BUILD from the location of
the "dist" directory used in the NSS build.  MOZILLA_SECURITY_BUILD is
now only useful for iPlanet internal builds, and is not needed by anyone
else.


git-svn-id: svn://10.0.0.236/trunk@78311 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:33:27 +00:00
waldemar%netscape.com
aae13120a2 Initial version
git-svn-id: svn://10.0.0.236/trunk@78310 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:30:48 +00:00
despotdaemon%netscape.com
53b704c0c5 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@78309 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:29:49 +00:00
mcgreer%netscape.com
d2489ebd2b first draft of rsa keygen
secmpi.h is defines used by nss code calling mpi


git-svn-id: svn://10.0.0.236/trunk@78308 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:27:34 +00:00
matt%netscape.com
73d1f63991 adding fonts 8-11 for bug 30813
git-svn-id: svn://10.0.0.236/trunk@78307 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:27:14 +00:00
waldemar%netscape.com
6f24ec8cb2 Added bloattable.pl documentation
git-svn-id: svn://10.0.0.236/trunk@78306 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:23:10 +00:00
putterman%netscape.com
42859a13ac fix for 50055. r=morse. Remove Image menu from address book which avoid a crash that occurs
when selecting the menuitem.


git-svn-id: svn://10.0.0.236/trunk@78305 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:13:29 +00:00
leaf%mozilla.org
f899a80fa9 fix for newer versions of find when trying to splitsymbols and rebase, thanks to simmo@mailandnews.com, r=leaf
git-svn-id: svn://10.0.0.236/trunk@78304 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 23:13:11 +00:00
despotdaemon%netscape.com
0523740f1d Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@78303 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:49:34 +00:00
dbaron%fas.harvard.edu
2ac5059f1a Fix OS2 tinderbox bustage. r=valeski
git-svn-id: svn://10.0.0.236/trunk@78302 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:43:42 +00:00
blizzard%redhat.com
d27e7c96f8 fix bug #41998. reset mouse motion variables whenever a drag is started. this should fix the lack of UI events after a drag. r=bryner, a=brendan
git-svn-id: svn://10.0.0.236/trunk@78301 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:37:55 +00:00
jglick%netscape.com
957fbd3b92 Bug 46423, 46519. Also fixes bug#44708, 29243. Correct envelope attachment icon for classic skin. Correct more and less icons for modern skin. r=hangas.
git-svn-id: svn://10.0.0.236/trunk@78300 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:34:19 +00:00
valeski%netscape.com
6dfa1d57af 51490. r=rjc. regression. httplistener was using a global when it should have been using it's static member
git-svn-id: svn://10.0.0.236/trunk@78299 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:33:58 +00:00
relyea%netscape.com
df2570334f Add the base and pkcs11 framework to the builds.
git-svn-id: svn://10.0.0.236/trunk@78298 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:24:48 +00:00
relyea%netscape.com
6b004dc06d Make the framework compile with the rest of NSS.
Include a 'live' certdata.txt with those certs we have permission to push to
open source (additional certs will be added as we get permission from the
owners).


git-svn-id: svn://10.0.0.236/trunk@78297 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:24:00 +00:00
mscott%netscape.com
404a183b0b Bug #47799 --> push prompt for file name over to ucth handler code so we don't bring
UI up from the uriloader. This allows us to properly use a string bundle
 for text in the dialog. this is prep work for the real fix for this bug.
r=law


git-svn-id: svn://10.0.0.236/trunk@78296 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:21:06 +00:00
mscott%netscape.com
7a723abce3 Bug #47799 --> center the helper app dialog based on the parent window
r=law


git-svn-id: svn://10.0.0.236/trunk@78295 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:19:12 +00:00
mscott%netscape.com
4d6b50ebb1 Bug #47799 --> push prompt for file name over to ucth handler code so we don't bring
UI up from the uriloader. This allows us to properly use a string bundle
for text in the dialog. this is prep work for the real fix for this bug. r=law


git-svn-id: svn://10.0.0.236/trunk@78294 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:18:34 +00:00
hewitt%netscape.com
5aca77609e 45102 - theme preview images in prefwindow, r=hangas
git-svn-id: svn://10.0.0.236/trunk@78293 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:18:14 +00:00
javi%netscape.com
fba1e4f77c Make Help work for PSM by copying the appropriate files to where PSM can find them. Bug#46447
git-svn-id: svn://10.0.0.236/trunk@78291 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:12:37 +00:00
relyea%netscape.com
c47f3ffafd Changes to make base code compile in the current nss environment. This is so
the pkcs framework can use it.


git-svn-id: svn://10.0.0.236/trunk@78290 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:11:57 +00:00
relyea%netscape.com
aa1093d9bf Set Root certs to be an externally loaded PKCS #11 module.
git-svn-id: svn://10.0.0.236/trunk@78289 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:10:07 +00:00
relyea%netscape.com
0eb759e538 Add code to allow Trusted root certs to come from an externally loaded
pkcs #11 module.


git-svn-id: svn://10.0.0.236/trunk@78288 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 22:05:57 +00:00
radha%netscape.com
47c9d18798 Additional fix for bug # 49498. r=law
git-svn-id: svn://10.0.0.236/trunk@78287 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:51:01 +00:00
mcgreer%netscape.com
f0c1cf64ae private header file to talk between mpi and nss
git-svn-id: svn://10.0.0.236/trunk@78286 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:46:43 +00:00
sgehani%netscape.com
beecd8e2ba Create the install log in the user's profile directory if we don't have permission to write to the program directory.
[nsbeta3+ b=48225; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@78285 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:28:20 +00:00
pchen%netscape.com
c9ece58c2e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@78284 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:14:03 +00:00
pchen%netscape.com
5e43e7e6af bug #43585, r=sfraser, add mozilla/xpfe/appshell/public/nsIInternetConfigService.idl to project
git-svn-id: svn://10.0.0.236/trunk@78283 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:36 +00:00
pchen%netscape.com
12bc91c68c bug #43585, r=sfraser, protect header from multiple inclusions
git-svn-id: svn://10.0.0.236/trunk@78282 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:35 +00:00
pchen%netscape.com
22e0c2e5cc bug #43585, r=sfraser, register internet config service with everyone else
git-svn-id: svn://10.0.0.236/trunk@78281 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:34 +00:00
pchen%netscape.com
3fd870d228 bug #43585, r=sfraser, add mozilla/xpfe/appshell/src/nsInternetConfigService.cpp to project
git-svn-id: svn://10.0.0.236/trunk@78280 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:33 +00:00
pchen%netscape.com
d9fa6499b3 bug #43585, r=sfraser, add Mac_DefaultDownloadDirectory to SystemDirectories enum
git-svn-id: svn://10.0.0.236/trunk@78279 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:14 +00:00
pchen%netscape.com
458c319408 bug #43585, r=sfraser, here resides the actual code to handle new mac default download directory, prepended code to call new nsIInternetConfigService to get IC default download folder. If we can't get it, then fall back to using desktop folder like before.
git-svn-id: svn://10.0.0.236/trunk@78278 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:12 +00:00
pchen%netscape.com
b7f135e480 bug #43585, r=sfraser, fix type/creator mix up calling FSpCreate() in nsLocalFile::Create(), fix passing correct FSSpec to AECreateDesc, fix passing AppParameters correctly in LaunchParamBlockRec.
git-svn-id: svn://10.0.0.236/trunk@78277 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:10 +00:00
pchen%netscape.com
1f540b4df6 bug #43585, r=sfraser, add string NS_MAC_DEFAULT_DOWNLOAD_DIR
git-svn-id: svn://10.0.0.236/trunk@78276 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:06 +00:00
pchen%netscape.com
a34f76b4bf bug #43585, r=sfraser, add static atom for mac default download dir
git-svn-id: svn://10.0.0.236/trunk@78275 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:04 +00:00
pchen%netscape.com
528b382986 bug #43585, r=sfraser, add atoms and case for new mac default download folder dir
git-svn-id: svn://10.0.0.236/trunk@78274 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:02 +00:00
pchen%netscape.com
4c2f6dc696 bug #43585, r=sfraser, call new nsIInternetConfigService to help with helper app stuff
git-svn-id: svn://10.0.0.236/trunk@78273 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:12:53 +00:00
pchen%netscape.com
0e31d57fc2 bug #43585, r=sfraser, set mac file type and creator in SetupTempFile() and also use new NS_MAC_DEFAULT_DOWNLOAD_DIR as opposed to desktop dir
git-svn-id: svn://10.0.0.236/trunk@78272 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:12:11 +00:00
varada%netscape.com
4bf95e09ed fix for bug #28520;tabbing between mail panels;r=putterman
git-svn-id: svn://10.0.0.236/trunk@78271 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 20:50:36 +00:00
ftang%netscape.com
d19e2e0bfe fix bug 50654. r=nhotta take care " in the charset
git-svn-id: svn://10.0.0.236/trunk@78270 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 20:41:12 +00:00
disttsc%bart.nl
2858e4a617 Make nsXULElement inherit directly from nsXMLElement and remove dead internal code ((Get|Set)NameSpacePrefix from nsIXMLContent.h, nsIXULContent.h, nsXMLElement.h, nsGenericXMLElement.(h|cpp) and nsXULElement.(h|cpp). Hints & tips by jst (thanks!), r=jst, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@78269 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 20:39:29 +00:00
harishd%netscape.com
3bf58abca0 50994 ( nebeta3+ ) - A recycled node was being referenced and therefore the crash.
r= nisheeth


git-svn-id: svn://10.0.0.236/trunk@78268 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 20:27:40 +00:00
mcafee%netscape.com
0048670c4f 4 rows for sheriff blurb
git-svn-id: svn://10.0.0.236/trunk@78267 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 19:22:52 +00:00
mcafee%netscape.com
56727b611e One more row for sheriff blurb.
git-svn-id: svn://10.0.0.236/trunk@78266 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 19:04:11 +00:00
mcgreer%netscape.com
ece5abbad4 *added pqg code based on fips 186-1
*added stubs to rsa functions


git-svn-id: svn://10.0.0.236/trunk@78265 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 17:43:42 +00:00
dbaron%fas.harvard.edu
4794cec50e Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
git-svn-id: svn://10.0.0.236/trunk@78264 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 14:39:54 +00:00
rods%netscape.com
e2be4f7a56 changed fonts to use CSS3 fonts so they can be overridden
Bug 44656 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78263 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 14:18:02 +00:00
rods%netscape.com
33de22fd07 For NavQuirks we need to set the appropriate font for buttons/selects or for text and textarea
If these fonts are set in the html.css or quirk.css they cannot be overriden
We now use the CSS3 font names and for NavQuirks we adjust the fonts to match Nav 4.x
The change is to give field fonts monospace instead of sans-serif
Bug 44656 r=dcone


git-svn-id: svn://10.0.0.236/trunk@78262 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 14:02:44 +00:00
dbaron%fas.harvard.edu
1e600a1ac5 Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
git-svn-id: svn://10.0.0.236/trunk@78261 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 13:52:26 +00:00
dbaron%fas.harvard.edu
4b563995e7 Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
git-svn-id: svn://10.0.0.236/trunk@78260 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 13:47:33 +00:00
axel%pike.org
7d94f7377a not part of build. fixing missing file in expat update
git-svn-id: svn://10.0.0.236/trunk@78259 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 10:46:03 +00:00
kvisco%ziplink.net
0a5e2d333b Not part of regular build, a=leaf. Updated the UTF-8 printing, hopefully I
handle this correctly.


git-svn-id: svn://10.0.0.236/trunk@78258 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 09:48:12 +00:00
rpotts%netscape.com
0f9b2dfab2 Removed obsolete call to get the Prefs Service whenever ImageNetContextImpl::GetURL(...) is called.
git-svn-id: svn://10.0.0.236/trunk@78257 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 09:14:08 +00:00
rpotts%netscape.com
7a644ef163 Moved the firing of the OnLoad event from WebShell into DocumentViewer...
git-svn-id: svn://10.0.0.236/trunk@78256 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 09:11:38 +00:00
hewitt%netscape.com
1d653f0089 #46613 - windows classic tab control, r=hangas
git-svn-id: svn://10.0.0.236/trunk@78255 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 07:50:49 +00:00
pollmann%netscape.com
c265ced149 Bug 3326: IsIndex implementation (not part of build)
git-svn-id: svn://10.0.0.236/trunk@78254 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 07:37:49 +00:00
kvisco%ziplink.net
6cf93fc0a1 Not part of regular build, a=leaf. Updated Expat to latest version.
git-svn-id: svn://10.0.0.236/trunk@78253 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 07:22:09 +00:00
sspitzer%netscape.com
b19d0cc757 rest of the fix for #20401. make my fix work for all server types, not just
nntp.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@78252 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 07:17:46 +00:00
kvisco%ziplink.net
92bfae03cb Not part of regular build, a=leaf. Added the option to destroy objects
contained in the list, this feature checks for duplicates in the list before
deleting.


git-svn-id: svn://10.0.0.236/trunk@78251 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 07:05:32 +00:00
dave%intrec.com
9791007ad8 Fix for bug 38791: scipped -> skipped spelling correction.
git-svn-id: svn://10.0.0.236/trunk@78250 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 06:01:10 +00:00
valeski%netscape.com
f7a4ca447a removing specific timebomb shared lib as it is now built into appcomps.shlb
git-svn-id: svn://10.0.0.236/trunk@78249 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 05:53:48 +00:00
dave%intrec.com
d1c81c6754 Fix for bug 33491: adds comment about configuration items for Apache being
in httpd.conf in never versions of apache, rather than in srm.conf or
access.conf.  Also adds comment in the "adding a maintainer by hand"
section that you may need command-line options for the mysql command if
you've enabled security in MySQL.


git-svn-id: svn://10.0.0.236/trunk@78248 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 05:37:57 +00:00
jst%netscape.com
1154cd5b3b Fixing a cloneNode() regression in the HTML code, doing a deep clone on a element that didn't have a style attribute was failing to clone it's chil nodes. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78247 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 05:03:34 +00:00
dave%intrec.com
9afdf453fe Fix for bug 21782: add instructions for using CPAN to install Perl modules
to the README.


git-svn-id: svn://10.0.0.236/trunk@78246 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 04:57:24 +00:00
tor%cs.brown.edu
a669be3da9 Output console warning if chrome images are abusing alpha (8-bit
channel to represent binary alpha or fully opaque 1-bit alpha).
r=bryner, a=brendan.


git-svn-id: svn://10.0.0.236/trunk@78245 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 04:42:38 +00:00
hewitt%netscape.com
431895961b bust fix on mac.
git-svn-id: svn://10.0.0.236/trunk@78244 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 04:17:51 +00:00
sspitzer%netscape.com
a13132d602 fix for bug #20401. prevent user from creating two identical
mailnews accounts.
(identical means they have the same {username,hostname,type}.)
r=mscott


git-svn-id: svn://10.0.0.236/trunk@78243 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 03:42:36 +00:00
hewitt%netscape.com
d9f0a1dc44 bust fix. sorry once again.
git-svn-id: svn://10.0.0.236/trunk@78242 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 03:28:48 +00:00
ccarlen%netscape.com
94a141e258 Fixing build bustage - target was misspelled.
git-svn-id: svn://10.0.0.236/trunk@78241 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 03:19:04 +00:00
hewitt%netscape.com
ca863cbad8 whoops. fix for bustage, r=mscott
git-svn-id: svn://10.0.0.236/trunk@78240 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:59:21 +00:00
dbaron%fas.harvard.edu
b25ea4d45d Fix misleading indentation. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78239 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:34:35 +00:00
cata%netscape.com
8eaaf1d31c Fix for bug #47347 r=ftang a=ftang.
git-svn-id: svn://10.0.0.236/trunk@78238 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:30:28 +00:00
hewitt%netscape.com
4fa3e6a2af #46613 - windows classic tab control, r=hangas
git-svn-id: svn://10.0.0.236/trunk@78237 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:29:52 +00:00
dbaron%fas.harvard.edu
58582b97ac Add code to allow the CSS parser to report errors. This code is not enabled by default in any builds, but it could be useful for chrome authors to catch CSS errors. We may want to turn it on in debug builds at some point, but it needs some work first. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78236 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:27:46 +00:00
ben%netscape.com
a076966d84 also, changes made accidentally on the weekend
git-svn-id: svn://10.0.0.236/trunk@78235 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:27:44 +00:00
valeski%netscape.com
18a261e89c 46775 changing mac build script to *not* build all the xpfe components individually but to build the root component mcp file.
git-svn-id: svn://10.0.0.236/trunk@78234 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:22:40 +00:00
ben%netscape.com
f5d30b9fc9 revert my accidental changes to this file over the weekend.
git-svn-id: svn://10.0.0.236/trunk@78233 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:21:59 +00:00
hewitt%netscape.com
df43cd813b #46423 - modern skin menu colors, r=hangas
git-svn-id: svn://10.0.0.236/trunk@78232 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:17:51 +00:00
rogerl%netscape.com
c2b46daf76 copy non-named args through
git-svn-id: svn://10.0.0.236/trunk@78231 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:17:47 +00:00
dbaron%fas.harvard.edu
e52da02292 Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
Fix some CSS errors found with CSS parser error reporting, with Ben's approval.


git-svn-id: svn://10.0.0.236/trunk@78230 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:17:26 +00:00
rogerl%netscape.com
fca2afdf1c fix for redundancy
git-svn-id: svn://10.0.0.236/trunk@78229 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:17:18 +00:00
rogerl%netscape.com
e73208321a Fix for empty function body
git-svn-id: svn://10.0.0.236/trunk@78228 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:16:51 +00:00
dbaron%fas.harvard.edu
dd86f988cd Change the names of CSS properties that are not part of the CSS2 specification by adding a -moz- prefix. Change the names of those that are used internally to use -x-, just for documentation. b=3935 r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78227 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:15:18 +00:00
ben%netscape.com
ea527c7597 part of fix for 51087, order of preferences messed up. dbragg removed smartupdate from the
preferences tree which messed up ordering for IM, etc.


git-svn-id: svn://10.0.0.236/trunk@78226 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:13:07 +00:00
hewitt%netscape.com
725407055f 45102 - theme preview images in prefwindow, r=hangas
git-svn-id: svn://10.0.0.236/trunk@78225 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:10:37 +00:00
ccarlen%netscape.com
2f326c8a38 Removed warning message which came up when opening project.
git-svn-id: svn://10.0.0.236/trunk@78224 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:07:49 +00:00
hewitt%netscape.com
71d2464991 45102 - theme preview images in prefwindow
git-svn-id: svn://10.0.0.236/trunk@78223 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:06:10 +00:00
hewitt%netscape.com
4b907ad65f #45102 - theme preview images in prefwindow
git-svn-id: svn://10.0.0.236/trunk@78222 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:05:30 +00:00
cmanske%netscape.com
a33b37cd8b Tweaked dialog fixes for bugs 45407, 47695. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@78221 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:03:12 +00:00
valeski%netscape.com
f73bba00de adding correct mac prj to build
git-svn-id: svn://10.0.0.236/trunk@78219 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 01:51:41 +00:00
valeski%netscape.com
9b9b9ea6d2 removing bad mcp from cvs
git-svn-id: svn://10.0.0.236/trunk@78218 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 01:48:56 +00:00
rjc%netscape.com
a0e916d7dd Fix bug # 45966 and bug # 51324: need to escape file URLs. r=me
git-svn-id: svn://10.0.0.236/trunk@78217 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 01:33:01 +00:00
dmose%mozilla.org
b4dcf51e1d Patch from <peter.vanderbeken@pandora.be> to keep LDAP building with the latest string changes. r=dmose@mozilla.org, a=(not built).
git-svn-id: svn://10.0.0.236/trunk@78216 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 01:25:19 +00:00
kestes%staff.mail.com
b830723933 add tidnerbox version number to header output
git-svn-id: svn://10.0.0.236/trunk@78215 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 01:24:18 +00:00
kestes%staff.mail.com
2590e32a64 change: build_update_time_stamp to update_time_stamp
add: alltree_headers


git-svn-id: svn://10.0.0.236/trunk@78214 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 01:22:47 +00:00
valeski%netscape.com
19a8f8738f 46775. removing old xpfe component libs and adding the new one.
git-svn-id: svn://10.0.0.236/trunk@78211 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 01:05:57 +00:00
rjc%netscape.com
4b0da3031f Comment out assert() for bug # 46723.
git-svn-id: svn://10.0.0.236/trunk@78210 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:58:41 +00:00
valeski%netscape.com
fe121568c9 46775. consolodating xpfe components into a root module to reduce system overhead bloat. built on win, linux, mac. precheckin tests on windows. general testing on mac and linux.
git-svn-id: svn://10.0.0.236/trunk@78209 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:58:06 +00:00
valeski%netscape.com
7043f41911 46775. adding mac project to build several xpfe components into a single shared lib
git-svn-id: svn://10.0.0.236/trunk@78208 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:56:58 +00:00
despotdaemon%netscape.com
eac319a44f Pseudo-automatic update of changes made by disttsc@bart.nl.
git-svn-id: svn://10.0.0.236/trunk@78207 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:43:31 +00:00
mscott%netscape.com
f6713899eb Bug #51422 --> incorrectly setting the wrong principal on the channel loading the message body.
r=mstoltz,rhp


git-svn-id: svn://10.0.0.236/trunk@78205 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:34:07 +00:00
sgehani%netscape.com
41a3bb6b28 Keep ini template consistent (rearchitected failovers: bzilla=49741). [r=ssu]
git-svn-id: svn://10.0.0.236/trunk@78204 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:27:53 +00:00
sgehani%netscape.com
6716f1d4dd (1) Fix leaks. (2) Rearchitect failovers [bzilla=49741]. (3) Fix upgrade string [bscape=1784]. [r=ssu,dbragg,sfraser]
git-svn-id: svn://10.0.0.236/trunk@78203 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:24:37 +00:00
rjc%netscape.com
eb2e86b467 Fix bug # 51021. r=me
git-svn-id: svn://10.0.0.236/trunk@78202 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:24:15 +00:00
pnunn%netscape.com
029db4bdd6 bug#50778: not a fix, but ifdef code to switch "pin chrome" on&off.
git-svn-id: svn://10.0.0.236/trunk@78201 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:23:46 +00:00
ddrinan%netscape.com
783fc17e73 Create window with OpenDialog if modal and parent window is non null. Bug 46704
git-svn-id: svn://10.0.0.236/trunk@78200 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:11:48 +00:00
sfraser%netscape.com
396c25660c Fix bugs 51368 and 51372 -- use InternetConfig.h from Universal Headers, renaming the IC SDK folder so that CodeWarrior does not search within it. r=pchen
git-svn-id: svn://10.0.0.236/trunk@78199 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:09:04 +00:00
javi%netscape.com
a4e080c7ec Use PR_MIN just in case some systems don't have a MIN macro defined.
git-svn-id: svn://10.0.0.236/trunk@78198 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:55:55 +00:00
cata%netscape.com
f364da6ba8 Fix for bug #47341 r=ftang a=ftang.
git-svn-id: svn://10.0.0.236/trunk@78197 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:54:59 +00:00
bryner%uiuc.edu
3f4737c4e7 Classic skin polish (46613) - make the shadow/highlight colors look right. r=pavlov, ben.
git-svn-id: svn://10.0.0.236/trunk@78196 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:53:03 +00:00
bienvenu%netscape.com
3a989a66c0 fix for 51313 and lots of dup's, work around double selects from tree control r=mscott
git-svn-id: svn://10.0.0.236/trunk@78195 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:52:44 +00:00
morse%netscape.com
eb16be765d 51430, real minor wording change
git-svn-id: svn://10.0.0.236/trunk@78194 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:49:28 +00:00
cmanske%netscape.com
cdbca903d2 Trying to get Table submenus to load from overlay (for context menus, b=43307) doesn't work for Message Composer, so 2nd level overlay (EditorCommandsOverlay.xul) is no longer used. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@78193 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:46:24 +00:00
sean%beatnik.com
f17a1ac850 fix for bug 47840. When resolving the absolute url for plugin content, use the document's url as the base. r=av a=brendan
git-svn-id: svn://10.0.0.236/trunk@78192 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:40:07 +00:00
rhp%netscape.com
3511126c64 Fix for Bug: 51104 - compiler warnings - r: rhp - mozilla contribution
git-svn-id: svn://10.0.0.236/trunk@78191 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:32:59 +00:00
rhp%netscape.com
5a66a22527 Fix for showing binary data inline if incorrect file name present - Bug #: 33579 - r: xxxxx
git-svn-id: svn://10.0.0.236/trunk@78190 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:32:19 +00:00
cmanske%netscape.com
06f0642f0b Composer bugs: Drag and drop problems (47399, r=anthonyd), workaround for bad dragNdrop event (50703, r=nisheeth)
git-svn-id: svn://10.0.0.236/trunk@78187 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:26:48 +00:00
cmanske%netscape.com
1465df6c2d Fixed nsbeta3 UI bugs for Composer: List proerties (45407), Context menus (43307), many fixes for strict JS warnings. r=sfraser, hyatt
git-svn-id: svn://10.0.0.236/trunk@78186 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:21:22 +00:00
mcafee%netscape.com
c275ddffde Removing unused pref (51246). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@78185 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:03:39 +00:00
hyatt%netscape.com
84c3b8b2b2 fix for 51410 - xbl syntax change, r=danm
git-svn-id: svn://10.0.0.236/trunk@78183 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 22:52:57 +00:00
dp%netscape.com
824bd3c2fa Fixing mac. No more friends. Making WriteComplete() public. That is
actually what we really want.


git-svn-id: svn://10.0.0.236/trunk@78180 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 22:32:00 +00:00
mozilla.BenB%bucksch.org
95fc88f63b 45268, step 1: Forgot the closing </div>. r=a=alecf
git-svn-id: svn://10.0.0.236/trunk@78176 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:56:44 +00:00
mozilla.BenB%bucksch.org
130414a4e3 16925, Regression: The addressing panel chanmges, but the "mail.compose.other.header"-pref code was not updated (causing failures, if the repf was sat). Updating that. r=ducarroz, a=waterson
git-svn-id: svn://10.0.0.236/trunk@78175 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:46:57 +00:00
dp%netscape.com
7a9cd8ebd4 bug 50922 Removing content length hacks as we fixed the real cause of
the problem: mFile's stat cache not being updated. Also after writing
to the cache file, the writeStreamWrapper updates the content length
appropriately. So we dont have to manipulate from this level high. r=neeti


git-svn-id: svn://10.0.0.236/trunk@78174 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:45:10 +00:00
leaf%mozilla.org
0115aad985 fix for echo-depth-path, from Axel Hecht <ah@numerik.uni-kiel.de>, r=leaf
git-svn-id: svn://10.0.0.236/trunk@78173 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:42:52 +00:00
dp%netscape.com
187a9be221 bug 50922 mFile's stat cache isnt refreshed after file changed on
disk. This causes wrong content length and incorrect cache
updates. r=neeti


git-svn-id: svn://10.0.0.236/trunk@78172 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:42:10 +00:00
brendan%mozilla.org
6c0556eb7c Improve a comment that implied a need to include jsstr.h.
git-svn-id: svn://10.0.0.236/trunk@78171 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:39:48 +00:00
edburns%acm.org
d21a2bba17 r=dbaron
Fix bustage on AIX s/true/PR_TRUE

bug 49522.


git-svn-id: svn://10.0.0.236/trunk@78170 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:35:59 +00:00
buster%netscape.com
be5d5e02df bug 40596 (input type=text form controls with width:auto are not rendering correctly in table cells)
r=rods


git-svn-id: svn://10.0.0.236/trunk@78169 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:22:55 +00:00
ruslan%netscape.com
c777e15e3b Fix 50471, a=gagan,r=morse
git-svn-id: svn://10.0.0.236/trunk@78168 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:22:33 +00:00
ftang%netscape.com
f4932134bc fix bug 50849. thanks kin@netscape.com for the patch. r=ftang
git-svn-id: svn://10.0.0.236/trunk@78167 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:19:23 +00:00
BlakeR1234%aol.com
5fc36996e1 Fix a regression I introduced accidentally, patch by Tim (6782) r=me
git-svn-id: svn://10.0.0.236/trunk@78166 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:07:41 +00:00
sspitzer%netscape.com
b2561d2f51 fix for #37673, old code being executed when doing a "LIST XACTIVE".
also making the subscribe dialog contact the server in cases where the hostinfo.dat
exists, but has no groups.  r=mscott.


git-svn-id: svn://10.0.0.236/trunk@78165 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:02:53 +00:00
rpallath%eng.sun.com
d385e07aaa Reviewed by Ed Burns
Added MOZ_DEBUG flags and include stmts. to copy dll's to bin/components
dir.


git-svn-id: svn://10.0.0.236/trunk@78164 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:58:42 +00:00
rpallath%eng.sun.com
3e65b3bf81 Reviewed by Ed Burns
Check for OS type and accordingly reflect  mozilla executable name


git-svn-id: svn://10.0.0.236/trunk@78163 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:57:20 +00:00
ducarroz%netscape.com
39aee128dc Fix for bug 45159. Remove debug Menu and menu item Quote Original Message. R=jefft
git-svn-id: svn://10.0.0.236/trunk@78162 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:54:53 +00:00
blizzard%redhat.com
aeeb6a43a7 fix for bug #45919. x-remote understands ,noraise now. patch from jeffrey baker. r=me, a=brendan
git-svn-id: svn://10.0.0.236/trunk@78161 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:54:17 +00:00
ducarroz%netscape.com
375f80a3b9 Fix for bug 50829. Don't need anymore to create a new row when the user click on an existing address field as the tree now always has an empty area at the bottom. R=jefft
git-svn-id: svn://10.0.0.236/trunk@78160 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:53:46 +00:00
brendan%mozilla.org
83a31f26de Small fix to rectify nsGlobalResolve's return value to boolean in the isConstructor case (50080).
git-svn-id: svn://10.0.0.236/trunk@78159 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:47:12 +00:00
ftang%netscape.com
63d39e53f9 fix bug 49380 for Japanese. the change are generated by table tools. r=ftang
git-svn-id: svn://10.0.0.236/trunk@78158 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:43:29 +00:00
nelsonb%netscape.com
6a5f5078f0 Force installparse.y to be rebuilt on NT.
git-svn-id: svn://10.0.0.236/trunk@78157 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:42:26 +00:00
jband%netscape.com
bba77e110b commenting out dead code that was giving us a useless warning
git-svn-id: svn://10.0.0.236/trunk@78156 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:20:34 +00:00
bienvenu%netscape.com
878cb85bdd fix for crash in account manager r=sspitzer 51362
git-svn-id: svn://10.0.0.236/trunk@78155 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:16:29 +00:00
nhotta%netscape.com
873d00a85c Changed (unix only) to extract a family name from a pref font name, bug 45762, r=erik.
git-svn-id: svn://10.0.0.236/trunk@78154 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 20:08:00 +00:00
edburns%acm.org
f4ed6ebe07 This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.


git-svn-id: svn://10.0.0.236/trunk@78153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 19:03:56 +00:00
jband%netscape.com
e85ef40d72 fix uninitialized variable
git-svn-id: svn://10.0.0.236/trunk@78152 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 19:00:02 +00:00
hyatt%netscape.com
1bf77ab185 Fix arrow keys in input fields. r=danm
git-svn-id: svn://10.0.0.236/trunk@78151 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 18:57:53 +00:00
bienvenu%netscape.com
9d3778156b fix assert on mail startup r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@78150 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 18:51:31 +00:00
valeski%netscape.com
058e97299b 46775. not part of build yet. adding a single module for xpfe components (most of them)
git-svn-id: svn://10.0.0.236/trunk@78146 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 18:49:53 +00:00
tor%cs.brown.edu
828397c1f8 Bug 46700 - use 1-bit alpha if tRNS chunk indicates binary alpha.
r=newt@pobox.com, a=brendan@mozilla.org.


git-svn-id: svn://10.0.0.236/trunk@78145 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 18:47:43 +00:00
ftang%netscape.com
82d8230523 fix 50997. r=momoi@netscape.com add mk-mk
git-svn-id: svn://10.0.0.236/trunk@78144 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 18:23:46 +00:00
ftang%netscape.com
afcfa9e533 fix 50997 typo. r=momoi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78143 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 18:22:33 +00:00
dbragg%netscape.com
181c5b7d67 Fix for bug 49533. The test case was incorrect but we were not returning a meaningful error. Also the install.log was being filled with junk. r=ssu
git-svn-id: svn://10.0.0.236/trunk@78142 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 18:17:52 +00:00
cyeh%bluemartini.com
95aa7281ef html fix to reclose 21583
git-svn-id: svn://10.0.0.236/trunk@78141 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 17:48:22 +00:00
karnaze%netscape.com
d017b9758e fix regression tests to work around latest bugs. Does not affect the build.
git-svn-id: svn://10.0.0.236/trunk@78140 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 14:58:59 +00:00
karnaze%netscape.com
da24e59c65 bug 45350 - correctly consider rowspan height in table row incremental reflow
git-svn-id: svn://10.0.0.236/trunk@78139 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 14:57:34 +00:00
rods%netscape.com
72efd65ccb Changed resizing code to use ave char width for calculating the width of a text field in strict/standard mode
I had to put in an ifdef _WIN32 because no other platform implements the call in nsIFontMetrics
I will have to address this ifdef in the next release (Bug 50998), which means I will probably implement
GetAveCharWidth for all platforms that don't have a native call
Bug 44656  r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78138 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 13:43:13 +00:00
rods%netscape.com
64c96b1f0f fixed so script can find out if an option is selected when no frame exists
no all DOM calls can be made on a select or an option with or without a frame
and the results will be correct
All the PresState info (for now) is kept in the select content, a couple of new
methods were added to nsISelectElement to make it easier for the option to
Get/Set its index
Bug 45760 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78137 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 13:37:16 +00:00
taka%netscape.com
731c04fe12 escape quoted-specials after converting from UCS-2, fix for #45222, r=alecf
git-svn-id: svn://10.0.0.236/trunk@78136 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 09:07:24 +00:00
axel%pike.org
82602da9f5 Adding MozillaObjectWrapper to windows component. not part of build.
git-svn-id: svn://10.0.0.236/trunk@78135 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 07:38:32 +00:00
hyatt%netscape.com
637c5c6075 loadBindingdoc, r=ben
git-svn-id: svn://10.0.0.236/trunk@78134 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 07:29:01 +00:00
hyatt%netscape.com
b15c43faa0 loadBindingDoc
git-svn-id: svn://10.0.0.236/trunk@78133 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 07:28:32 +00:00
hyatt%netscape.com
db1544d9b0 Update loadBindingdoc
git-svn-id: svn://10.0.0.236/trunk@78132 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 07:27:56 +00:00
hyatt%netscape.com
6ee1ffd1c3 Update loadBindingDoc, r=ben
git-svn-id: svn://10.0.0.236/trunk@78131 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 07:27:24 +00:00
hyatt%netscape.com
f0373e51df Update loadBindingDoc. r=ben
git-svn-id: svn://10.0.0.236/trunk@78130 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 07:27:06 +00:00
hyatt%netscape.com
01727dee46 Fix double selection problem in trees. r=ben
git-svn-id: svn://10.0.0.236/trunk@78129 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 07:09:14 +00:00
hewitt%netscape.com
572f572c85 #46613 - classic skin polish. fixed disabled buttons and menubuttons looking enabled during :hover and :active
git-svn-id: svn://10.0.0.236/trunk@78128 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 05:37:58 +00:00
ben%netscape.com
8602c22ef0 hm...
git-svn-id: svn://10.0.0.236/trunk@78127 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 05:09:53 +00:00
nbhatla%netscape.com
1a15a9de99 #46423 -> New Modern Skin. Replaced PNGs with GIFs. Mail's main toolbar now has new button icons. r=hewitt
git-svn-id: svn://10.0.0.236/trunk@78126 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 04:30:28 +00:00
nbhatla%netscape.com
22d22678bc First Checked In.
git-svn-id: svn://10.0.0.236/trunk@78125 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 04:25:48 +00:00
ben%netscape.com
9fb1463392 fix for toolbar menubuttons taking focus.
git-svn-id: svn://10.0.0.236/trunk@78124 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 04:15:09 +00:00
bryner%uiuc.edu
d7fd371039 Making it so everyone doesn't get my debugging output spam.
git-svn-id: svn://10.0.0.236/trunk@78123 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 04:05:06 +00:00
bryner%uiuc.edu
959aa069c2 Classic skin polish (46613) - get the real gtk tooltip color so the tooltips look right. r=pavlov, ben.
git-svn-id: svn://10.0.0.236/trunk@78122 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 03:42:44 +00:00
bryner%uiuc.edu
01969ea308 Classic skin polish (46613) - make the shadows look better on unix by using the 'black' color. r=pavlov, ben.
git-svn-id: svn://10.0.0.236/trunk@78121 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 02:15:12 +00:00
dbaron%fas.harvard.edu
ea1cb20f01 Fix build warning by renaming variable. r=disttsc@bart.nl
git-svn-id: svn://10.0.0.236/trunk@78120 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 02:08:41 +00:00
ben%netscape.com
429a2057d4 ViXEn VFD Shell stubs. not part of build.
git-svn-id: svn://10.0.0.236/trunk@78119 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 01:58:17 +00:00
bryner%uiuc.edu
a717f425e8 A small change to allow this to compile with newer glibc versions that don't define EM_486. r=alla@lysator.liu.se, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@78118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 01:23:37 +00:00
despotdaemon%netscape.com
9f6c86fd74 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@78117 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 01:21:29 +00:00
bienvenu%netscape.com
c842497230 part of fix for 51306 crash compacting local folder r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@78116 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 00:24:52 +00:00
rjc%netscape.com
43f525c25c Have FSDS tell nsIFile's to be less eager... shouldn't resolve aliases on Mac, for example. Preparation for additional work by ccarlsen. r=me
git-svn-id: svn://10.0.0.236/trunk@78115 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 00:15:22 +00:00
rjc%netscape.com
a6c63d5ddd Fix bug # 51016: FTP being too eager with assuming directory vs file. r=me
git-svn-id: svn://10.0.0.236/trunk@78114 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 23:36:56 +00:00
bienvenu%netscape.com
5de20135ff work on improving startup time, 26455 r=mscott
git-svn-id: svn://10.0.0.236/trunk@78113 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 23:35:40 +00:00
bienvenu%netscape.com
c6d7ca939d work on improving startup time, fix memory leaks 26455 r=mscott
git-svn-id: svn://10.0.0.236/trunk@78112 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 23:34:31 +00:00
rjc%netscape.com
9abba78f7b Fix bug # 50057: initial bookmarks menu problem with IE Favorites on Mac. r=me
git-svn-id: svn://10.0.0.236/trunk@78111 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 22:52:30 +00:00
dbaron%fas.harvard.edu
71c441c81a Paint backgrounds and borders for inline elements in the foreground layer. b=36710, 27757 r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78110 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:45:47 +00:00
dbaron%fas.harvard.edu
c7f877db2d Don't apply top margin to a block containing only floaters. Let it collapse through instead. b=44419
Only do the quirky fix for bug 37657 for tables, not all blocks.  b=43086
r=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78109 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:44:48 +00:00
dbaron%fas.harvard.edu
9875e26897 Fix potential leak on failure. r=evaughan
git-svn-id: svn://10.0.0.236/trunk@78108 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:41:07 +00:00
BlakeR1234%aol.com
29fb5ce954 Fix bug 48875, just a typo. r=ben
git-svn-id: svn://10.0.0.236/trunk@78107 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:29:25 +00:00
BlakeR1234%aol.com
512d4b046f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@78106 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:24:48 +00:00
BlakeR1234%aol.com
a15922e7ae Fix 38417, patch by dean_tessman@hotmail.com r=me a=brendan
git-svn-id: svn://10.0.0.236/trunk@78105 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:19:36 +00:00
axel%pike.org
49ba32f808 Not part of build, fixing unix, missing object, const, part of #42228, r=pvb
git-svn-id: svn://10.0.0.236/trunk@78104 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 16:25:27 +00:00
bienvenu%netscape.com
7ea8bc1edb fix for 50454, error adding smtp servers r=alecf
git-svn-id: svn://10.0.0.236/trunk@78103 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 15:18:24 +00:00
scc%mozilla.org
b77e00747d fix for pravda bustage ... we're almost there!
git-svn-id: svn://10.0.0.236/trunk@78102 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 07:59:15 +00:00
rjc%netscape.com
bfffaf70d2 Fix bugs #48321 and #51168: JS code from gervase.markham@univ.ox.ac.uk and r=me
git-svn-id: svn://10.0.0.236/trunk@78101 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 06:52:40 +00:00
Peter.VanderBeken%pandora.be
cbec54eb6e Correct string usage in XSLT hooks. Not part of default build (ifdef'ed). r=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@78100 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 05:55:00 +00:00
scc%mozilla.org
b4462af987 A good place to hang the gcc fix, thanks dbaron!, and backing out previous failed fix ideas (|Concat|), r=dbaron
git-svn-id: svn://10.0.0.236/trunk@78099 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 05:00:25 +00:00
dave%intrec.com
d1299d3e29 Fix for bug 43821: PutHeader has unbalanced <TABLE> tags.
git-svn-id: svn://10.0.0.236/trunk@78098 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 04:10:51 +00:00
dbaron%fas.harvard.edu
78d71eba7c Fix speedracer bustage. r=scc
git-svn-id: svn://10.0.0.236/trunk@78097 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 01:56:14 +00:00
scc%mozilla.org
e25e984f19 adding back a couple more |operator+|s for gcc
git-svn-id: svn://10.0.0.236/trunk@78096 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 01:34:04 +00:00
scc%mozilla.org
cbf038b4a9 need to make concatenation arguments homogenous in some cases
git-svn-id: svn://10.0.0.236/trunk@78095 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 01:33:24 +00:00
dbaron%fas.harvard.edu
54d7d67487 Fixing scc's typo to fix harpoon orange, etc. r=scc
git-svn-id: svn://10.0.0.236/trunk@78094 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 01:19:36 +00:00
dbaron%fas.harvard.edu
df9af9fe4d Back out hacks to fix earlier string bustage. r=scc
git-svn-id: svn://10.0.0.236/trunk@78093 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 00:50:52 +00:00
scc%mozilla.org
987c59caba we think the fix is in to support the original form, so back to the original form we go
git-svn-id: svn://10.0.0.236/trunk@78092 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 00:50:50 +00:00
ben%netscape.com
164173b328 fix button sizing problem
git-svn-id: svn://10.0.0.236/trunk@78091 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 00:14:51 +00:00
brendan%mozilla.org
ffc7bb1159 Must JS_SetGlobalObject at least, if not JS_InitStandardClasses, before defining native functions at startup.
git-svn-id: svn://10.0.0.236/trunk@78090 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 00:10:06 +00:00
ben%netscape.com
0ab4030aba license files
git-svn-id: svn://10.0.0.236/trunk@78089 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 23:38:07 +00:00
ben%netscape.com
eb0765bad5 add dir info
git-svn-id: svn://10.0.0.236/trunk@78088 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 23:29:04 +00:00
despotdaemon%netscape.com
33e0f8b77a Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@78087 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 23:28:22 +00:00
despotdaemon%netscape.com
5ebec968ae Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@78086 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 23:26:17 +00:00
rcassin%supernova.org
bedfca895d Add smarts to vixen which number buttons. "Button1", "Button2", "Button3", etc. (originally all buttons would be "Button1"). r=ben
git-svn-id: svn://10.0.0.236/trunk@78085 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 23:01:03 +00:00
scc%mozilla.org
6b3e5bda7a fixing up comparison ambiguities for old gcc
git-svn-id: svn://10.0.0.236/trunk@78084 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 22:45:50 +00:00
scc%mozilla.org
c292773239 bustage fix for old gcc; already built on speedracer to ensure that it works, and on Mac to ensure that doesn't break modern compilers
git-svn-id: svn://10.0.0.236/trunk@78083 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 22:38:38 +00:00
ben%netscape.com
14a6bb615e fixes to get ViXEn running.
git-svn-id: svn://10.0.0.236/trunk@78082 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 22:30:25 +00:00
ben%netscape.com
0b6b758c1e ditto...
git-svn-id: svn://10.0.0.236/trunk@78081 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 21:47:47 +00:00
ben%netscape.com
62be60bb30 some changes to get ViXEn building and running. NPOB.
git-svn-id: svn://10.0.0.236/trunk@78080 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 21:45:55 +00:00
ben%netscape.com
de97891ff3 initial checkin of ViXEn. not part of default build. a=brendan.
git-svn-id: svn://10.0.0.236/trunk@78079 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 21:38:08 +00:00
av%netscape.com
b20d79675e Fixing #44993, added style visibility check to the object frame, r=buster
git-svn-id: svn://10.0.0.236/trunk@78078 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 20:54:26 +00:00
bryner%uiuc.edu
840327840a Fixing my bad indenting.
git-svn-id: svn://10.0.0.236/trunk@78077 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 20:48:32 +00:00
dbaron%fas.harvard.edu
b5dc0a34ad Continuing to work on speedracer/pravda bustage.
git-svn-id: svn://10.0.0.236/trunk@78076 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 15:45:57 +00:00
mkaply%us.ibm.com
13341464f9 #51222
r=rcassin@supernova.org (Hurricane), a=brendan
Missing OS/2 support for finding base profile dir


git-svn-id: svn://10.0.0.236/trunk@78075 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 15:08:49 +00:00
dbaron%fas.harvard.edu
fff49bce7c Another attempt to fix speedracer/pravda bustage. They sometimes think nsPromiseConcatenation doesn't exist. I'll ask scc to look at this later.
git-svn-id: svn://10.0.0.236/trunk@78074 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 15:00:27 +00:00
rcassin%supernova.org
d38467af5b Fix for 47703 - UI: Composer Prefs Panel - r=walk84@usa.net
git-svn-id: svn://10.0.0.236/trunk@78073 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 14:44:32 +00:00
dbaron%fas.harvard.edu
ac61acbaae Attempt to get old gcc and old FreeBSD compilers working again. Will ask scc to look for a better fix later.
git-svn-id: svn://10.0.0.236/trunk@78072 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 13:40:31 +00:00
pete%alphanumerica.com
51d1187a01 added two more functions:
permissions and dateModified

did some style cleanup and tested out each function

a=brendan

--pete


git-svn-id: svn://10.0.0.236/trunk@78071 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 13:37:19 +00:00
scc%mozilla.org
8d79857f8d and here we are, back to square one.
git-svn-id: svn://10.0.0.236/trunk@78070 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 08:25:02 +00:00
scc%mozilla.org
a7da79545c files from the string test harness, updated to match the string changes already in the tree
git-svn-id: svn://10.0.0.236/trunk@78069 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 07:10:03 +00:00
scc%mozilla.org
c03fb594e2 more GCC fixes
git-svn-id: svn://10.0.0.236/trunk@78068 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 06:41:18 +00:00
hyatt%netscape.com
686f83f2e4 Fix crash on theme application. r=ben
git-svn-id: svn://10.0.0.236/trunk@78067 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 06:22:21 +00:00
hyatt%netscape.com
87dc8c8777 Fix crash on skin switching. r=ben
git-svn-id: svn://10.0.0.236/trunk@78066 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 06:00:09 +00:00
scc%mozilla.org
4b21dc27b1 fix speedracer bustage
git-svn-id: svn://10.0.0.236/trunk@78065 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 05:54:31 +00:00
scc%mozilla.org
5c5b5644f9 explicit constructors stop the automatic construction of a string for a comparison. Really, they want the equivalent of |IsEmpty()| here; let's just test the value of the char[0] in the buffer.
git-svn-id: svn://10.0.0.236/trunk@78064 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 05:47:01 +00:00
ben%netscape.com
874b4f2422 46613, classic skin polish and other fixes for message compose window
git-svn-id: svn://10.0.0.236/trunk@78063 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 05:39:33 +00:00
hyatt%netscape.com
2da06741d9 Fixed bad regression in XBL. r=ben
git-svn-id: svn://10.0.0.236/trunk@78062 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 05:35:36 +00:00
scc%mozilla.org
c790f340e6 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@78061 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 04:49:45 +00:00
scc%mozilla.org
cfef7395b6 fixing bustage. I didn't realize what a common (and mistaken) pattern it was to compare a |nsString| to |nsnull|. Better to say |IsEmpty()|.
git-svn-id: svn://10.0.0.236/trunk@78060 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 04:27:17 +00:00
scc%mozilla.org
ed5ef3eccd fixing bustage
git-svn-id: svn://10.0.0.236/trunk@78059 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 04:04:41 +00:00
scc%mozilla.org
e328d5d8c6 fixing bustage exposed by removing extra comparisons
git-svn-id: svn://10.0.0.236/trunk@78058 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 03:28:05 +00:00
scc%mozilla.org
6916463750 I'll try anything, now
git-svn-id: svn://10.0.0.236/trunk@78057 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 03:25:42 +00:00
scc%mozilla.org
ff4ff3adf3 now that constructors are explicit, we'll have to get rid of extra comparison operators ... in fact, this is to fix immediate bustage
git-svn-id: svn://10.0.0.236/trunk@78056 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 03:16:47 +00:00
scc%mozilla.org
98679d961e OK, nothing has worked yet. It's time to roll out the big guns: |NS_READABLE_CAST|
git-svn-id: svn://10.0.0.236/trunk@78055 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 02:50:18 +00:00
scc%mozilla.org
5a98e3701d turning on |HAVE_CPP_2BYTE_WCHAR_T|
git-svn-id: svn://10.0.0.236/trunk@78054 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 02:24:58 +00:00
saari%netscape.com
165dc3fe2b another stab in the dark at 26882. Fixes initial focus problems upon launch on linux.
git-svn-id: svn://10.0.0.236/trunk@78053 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 02:18:25 +00:00
saari%netscape.com
a077590a85 Working around weird linux widget problem to fix focus bugs. Stabbing in the dark at 26882
git-svn-id: svn://10.0.0.236/trunk@78052 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 02:15:20 +00:00
dbaron%fas.harvard.edu
bcb012eb21 Fixing code that relies on implicit string construction. r=scc (verbally)
git-svn-id: svn://10.0.0.236/trunk@78051 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 02:08:24 +00:00
scc%mozilla.org
7a8da7c16b hack to fix pravda and speedracer bustage
git-svn-id: svn://10.0.0.236/trunk@78050 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 01:38:38 +00:00
scc%mozilla.org
5dd484e3e6 adding |Concat| function to fix pravda and speedracer bustage
git-svn-id: svn://10.0.0.236/trunk@78049 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 01:38:27 +00:00
scc%mozilla.org
dde18be624 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78048 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 00:46:03 +00:00
scc%mozilla.org
2ec048c2a8 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78047 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 00:31:01 +00:00
scc%mozilla.org
a68b29cf43 hack to fix pravda bustage
git-svn-id: svn://10.0.0.236/trunk@78046 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 00:25:42 +00:00
scc%mozilla.org
cc174b7552 fixed typo
git-svn-id: svn://10.0.0.236/trunk@78045 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 00:08:25 +00:00
dbaron%fas.harvard.edu
0fd8174153 Fixing code that relied on implicit string construction. r=scc (verbally)
git-svn-id: svn://10.0.0.236/trunk@78044 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 00:02:34 +00:00
scc%mozilla.org
81a3827ac0 fixing code that relies on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78043 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 23:59:08 +00:00
dbaron%fas.harvard.edu
3d0898d9e0 Fixing code in MathML that relied on implicit string conversion. r=scc (verbally)
git-svn-id: svn://10.0.0.236/trunk@78042 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 23:56:19 +00:00
mozilla.BenB%bucksch.org
9a3c597eff 20862: Remove Netscape default bookmarks and use an inital Mozilla version. More tweaking needed.
Contributed by Jeremy M. Dolan <mozilla@turbogeek.org>, r=slamm, a=brendan


git-svn-id: svn://10.0.0.236/trunk@78041 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 23:50:59 +00:00
scc%mozilla.org
b8cab28572 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78040 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 23:43:20 +00:00
scc%mozilla.org
4f07d7d1fd fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78039 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 23:25:46 +00:00
scc%mozilla.org
a2ba52b3c6 and the include file it will need
git-svn-id: svn://10.0.0.236/trunk@78038 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 22:46:16 +00:00
scc%mozilla.org
164c4b0474 fixing anticipated bustage from previously mentioned bad pattern
git-svn-id: svn://10.0.0.236/trunk@78037 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 22:44:59 +00:00
scc%mozilla.org
ec1e398464 it's a repeating bad pattern ... several of the compilers don't want to make the change from |nsC[Auto]String foo = NS_ConvertASCIItoUCS2(x);| to |nsC[Auto]String foo(NS_ConvertASCIItoUCS2(x);| and so we have to use |CopyASCIItoUCS2(nsLiteralCString(x), foo);| instead
git-svn-id: svn://10.0.0.236/trunk@78036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 22:39:18 +00:00
scc%mozilla.org
8be23cbf4c compiler is confused; giving it a more digestible meal
git-svn-id: svn://10.0.0.236/trunk@78035 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 22:18:57 +00:00
scc%mozilla.org
7c24c9b003 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78034 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 22:13:25 +00:00
scc%mozilla.org
af6d3927fa compiler is confused, giving it a more digestible meal
git-svn-id: svn://10.0.0.236/trunk@78033 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 22:08:52 +00:00
scc%mozilla.org
45d2c3f239 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78032 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 21:55:23 +00:00
scc%mozilla.org
efebf707a1 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78031 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 21:47:30 +00:00
scc%mozilla.org
806d7f1132 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78030 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 21:32:30 +00:00
scc%mozilla.org
533a0deb8f fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78029 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 21:26:17 +00:00
scc%mozilla.org
8af3fc00c3 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78028 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 21:14:12 +00:00
scc%mozilla.org
9fc340d07f making all string construction explicit; plus (now that the DOM APIs are turned on and you can no longer build without NEW_STRING_APIS) chopping out |#ifdef|ed code
git-svn-id: svn://10.0.0.236/trunk@78027 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 20:53:31 +00:00
brendan%mozilla.org
822d3b3746 Support external string GC types so XPConnect and other systems can optimize away copies (50602, r=jband).
git-svn-id: svn://10.0.0.236/trunk@78026 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 20:37:37 +00:00
jband%netscape.com
d6d494d653 fix crasher bug 51176. xpti semantics for GetParent changed sometime back and I did not find all the cases where this mattered. thanks to mang@subcarrier.org. a,r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@78025 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 20:30:56 +00:00
bryner%uiuc.edu
6c99560bb1 Fixing bug 50058 - too many onSelect firings. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@78024 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 18:59:39 +00:00
Peter.VanderBeken%pandora.be
1a6674f227 Fix XSLT hooks (Preparation for bug #42228). r=jst@netscape.com, a=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@78023 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 15:35:19 +00:00
Peter.VanderBeken%pandora.be
cb5360f078 Fix XSLT hooks (Preparation for bug #42228). Remove GetAttributeValueAt (Fixes bug #47454). Clean up code. r=jst@netscape.com, a=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@78022 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 15:34:07 +00:00
Peter.VanderBeken%pandora.be
a1f273f649 Fix XSLT hooks (Preparation for bug #42228). Implement SetDOMDocument. r=jst@netscape.com, a=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@78021 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 15:32:28 +00:00
bienvenu%netscape.com
8f64370076 fix 50722 problems renaming open imap folder r=mscott
git-svn-id: svn://10.0.0.236/trunk@78020 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 14:42:14 +00:00
morse%netscape.com
6a74927cf2 bug 51145, minor wording change, wording=gemal, r=morse
git-svn-id: svn://10.0.0.236/trunk@78019 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 14:35:03 +00:00
scc%mozilla.org
e0c64797b0 fixing build bustage for OS2 and AIX
git-svn-id: svn://10.0.0.236/trunk@78018 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 12:25:27 +00:00
scc%mozilla.org
695113d75b fix build bustage for hpux
git-svn-id: svn://10.0.0.236/trunk@78017 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 12:20:49 +00:00
beard%netscape.com
427db1b05b hooked up Leak Detector contextual menu.
git-svn-id: svn://10.0.0.236/trunk@78016 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 08:23:50 +00:00
ben%netscape.com
e270211868 tidy up UI
git-svn-id: svn://10.0.0.236/trunk@78015 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 08:05:44 +00:00
saari%netscape.com
12c408de5d Undoing what appears to be a complete brain fart of mine from a while ago. I was releasing focus information before its time.
git-svn-id: svn://10.0.0.236/trunk@78014 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 07:49:39 +00:00
beard%netscape.com
20e754f697 fixing code that relied on implicit string construction. r=scc
git-svn-id: svn://10.0.0.236/trunk@78013 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 07:39:16 +00:00
beard%netscape.com
cc501e8819 fixing code that relied on implicit string construction (less than optimal temporary fix). r=scc
git-svn-id: svn://10.0.0.236/trunk@78012 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 07:21:57 +00:00
beard%netscape.com
8589bcd435 fixing code that relied on implicit string construction. r=scc
git-svn-id: svn://10.0.0.236/trunk@78011 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 07:20:29 +00:00
mcafee%netscape.com
d290cd5114 Solaris bustage fix from scc/bruce/#mozilla
git-svn-id: svn://10.0.0.236/trunk@78010 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 07:14:59 +00:00
bruce%cubik.org
c1616c08d6 Fixing Solaris build bustage. r=scc. Thanks to scc and beard for helping me along with this. All give praise to gcc -S.
git-svn-id: svn://10.0.0.236/trunk@78009 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 06:36:09 +00:00
sfraser%netscape.com
7723d33d1c Fix build bustage -- nuked a couple of ')'. r=jag
git-svn-id: svn://10.0.0.236/trunk@78008 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 06:19:48 +00:00
scc%mozilla.org
7656847708 time to add that specialization of |nsCharSourceTraits<PRUnichar>|, not having it is probably hosing speedracer, r=waldemar
git-svn-id: svn://10.0.0.236/trunk@78007 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 06:03:50 +00:00
beard%netscape.com
b76ed2e0ae [not part of build] traceObject, markObject.
git-svn-id: svn://10.0.0.236/trunk@78006 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 05:44:48 +00:00
nelsonb%netscape.com
69d6089387 When building on NT for X86, use new mpi_x86.asm implementation.
git-svn-id: svn://10.0.0.236/trunk@78005 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 05:41:21 +00:00
nelsonb%netscape.com
666b95d6da Makefile.win - gmake Makefile for building MPI with MSVC on NT.
git-svn-id: svn://10.0.0.236/trunk@78004 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 05:38:51 +00:00
nelsonb%netscape.com
5c402ed899 mpi_x86.asm - assembly language implementation of s_mpv_ functions.
git-svn-id: svn://10.0.0.236/trunk@78003 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 05:33:15 +00:00
scc%mozilla.org
520bca76f7 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@78002 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 05:30:35 +00:00
ben%netscape.com
cebb07fc5e don't draw a focus rect around radio buttons when the radio group isn't focused.
git-svn-id: svn://10.0.0.236/trunk@78001 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 05:26:42 +00:00
ben%netscape.com
71d1b42d0e string bundle utility XBL binding, implement correct Windows platform keyboard navigation for radio groups.
git-svn-id: svn://10.0.0.236/trunk@78000 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 05:09:59 +00:00
saari%netscape.com
676b71298c fix for 46505, text inputs and text areas need to change their event targets when crossing the anonymous content boundry. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@77999 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:59:44 +00:00
scc%mozilla.org
7de661987b oops. fix windows bustage
git-svn-id: svn://10.0.0.236/trunk@77998 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:57:36 +00:00
valeski%netscape.com
a7c1dfc349 fixing directory seperate assumption to be generic
git-svn-id: svn://10.0.0.236/trunk@77997 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:29:25 +00:00
sfraser%netscape.com
877e3cdf72 Fix for 43119 -- pageInfo.css is no longer needed. r=ben
git-svn-id: svn://10.0.0.236/trunk@77996 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:27:36 +00:00
dave%intrec.com
ce71565c87 Removing duplicate variable declaration from patch for bug 50698. The
sendmail deferred vs immediate delivery Param is now honored even in Perl
5.6.


git-svn-id: svn://10.0.0.236/trunk@77995 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:26:36 +00:00
brendan%mozilla.org
8882f5c1b5 One-line comment addition, to match surrounding paragraphs that have comments.
git-svn-id: svn://10.0.0.236/trunk@77994 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:19:45 +00:00
sfraser%netscape.com
c85a85e16f Part of fix for 49187 -- don't hardcode font size of view source, so that it uses browser defaults. r=ben
git-svn-id: svn://10.0.0.236/trunk@77993 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:17:17 +00:00
scc%mozilla.org
5218242340 fixed comment typo (now was a good time, since I just checked in string changes). r=brendan
git-svn-id: svn://10.0.0.236/trunk@77992 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:17:11 +00:00
sfraser%netscape.com
f8ea326c7b Fix 43119 -- make the Page Info dialog pretty, and 49187 -- allow copy/drag in view source. r=ben
git-svn-id: svn://10.0.0.236/trunk@77991 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:15:31 +00:00
scc%mozilla.org
fe86dd230b bug #49817: fix |normalize_forward|, |normalize_backward|; make |Begin(Read|Writ)ing| call |normalize_forward|; pass iterators by reference. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@77990 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:10:44 +00:00
beard%netscape.com
3eae2785fa GC_mark_object.
git-svn-id: svn://10.0.0.236/trunk@77989 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:08:24 +00:00
beard%netscape.com
ced0dd193e Added stub for GC_mark_object, added verbose paramter to GC_trace_object.
git-svn-id: svn://10.0.0.236/trunk@77988 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:00:30 +00:00
pinkerton%netscape.com
4b4c4d8047 better fix for the "dragging scrollbars" bug
git-svn-id: svn://10.0.0.236/trunk@77987 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 03:53:19 +00:00
brendan%mozilla.org
2031edbcf6 Fix longstanding bug with nsScriptableRegionConstructor (lack of NS_IMETHODIMP). Use nsnull and \!, not NULL and lame NULL == ptr tests.
git-svn-id: svn://10.0.0.236/trunk@77986 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 03:39:27 +00:00
beard%netscape.com
88a1506cd6 [not part of build] added GC_mark_object, added verbose parameter to GC_trace_object to limit sheer volume of data generated, massive removal of hard tabs.
git-svn-id: svn://10.0.0.236/trunk@77985 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 03:38:39 +00:00
beard%netscape.com
3d56c2fd99 initial check-in.
git-svn-id: svn://10.0.0.236/trunk@77984 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 03:30:02 +00:00
beard%netscape.com
e58cdc0e88 [not part of build] moved Type and StringTable classes to separate files. Changed printHistogram() to include product {count * size} for each bin.
git-svn-id: svn://10.0.0.236/trunk@77983 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 03:29:30 +00:00
beard%netscape.com
07e242cb08 bloatsoup.
git-svn-id: svn://10.0.0.236/trunk@77982 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 03:25:27 +00:00
dave%intrec.com
b908666a46 Fix for bug 46913: xml.cgi produces SQL error when accessed while not
logged in yet.  Thanks to luke_harless@attglobal.net for discovering this
one.


git-svn-id: svn://10.0.0.236/trunk@77981 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 02:44:54 +00:00
hyatt%netscape.com
75999ece9c Eliminating warning for non-compliant XBL event handlers.
git-svn-id: svn://10.0.0.236/trunk@77980 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 02:40:28 +00:00
hyatt%netscape.com
9578a87198 Eliminating warning for non-compliant XBL event handlers.
git-svn-id: svn://10.0.0.236/trunk@77979 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 02:39:06 +00:00
dave%intrec.com
dced60d443 Fix for bug 50892: extra space in chmod command causes creation of
data/checkinlog to fail


git-svn-id: svn://10.0.0.236/trunk@77978 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 02:38:28 +00:00
sfraser%netscape.com
da4e6ea783 More memory allocator optimizations. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@77977 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 02:13:15 +00:00
brendan%mozilla.org
0181958e4b Restore default JS options in InitContext, and track pref changes to javascript.options.* (50291, r=jband).
git-svn-id: svn://10.0.0.236/trunk@77976 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:58:51 +00:00
ducarroz%netscape.com
19272684f7 Fix for bug 50311. Cleanup Message Compose Menu. R=mscott
git-svn-id: svn://10.0.0.236/trunk@77975 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:55:35 +00:00
hyatt%netscape.com
78269dcd4b General cleanup in XBL.
git-svn-id: svn://10.0.0.236/trunk@77974 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:46:42 +00:00
sfraser%netscape.com
94c96ab2d1 Fix for 51132 -- don't crash updating remove list command, and don't leak teh string. r=akkana
git-svn-id: svn://10.0.0.236/trunk@77973 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:44:57 +00:00
nelsonb%netscape.com
1832f90827 Use new assembler files.
Define MP_NO_MP_WORD on platforms that don't have 64-bit registers.


git-svn-id: svn://10.0.0.236/trunk@77972 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:40:41 +00:00
jst%netscape.com
7047acd596 Making the view-source window resizeable. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77971 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:38:35 +00:00
hyatt%netscape.com
cb58255006 rename arg to parameter, r=brendan
git-svn-id: svn://10.0.0.236/trunk@77970 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:35:44 +00:00
hyatt%netscape.com
b3f4ce0d91 rename arg to parameter, r=brendan
git-svn-id: svn://10.0.0.236/trunk@77969 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:20:36 +00:00
bryner%uiuc.edu
28264f7f09 Checking in the idlc-generated version of this file to go along with vidur's nsIDOMWindow API change. r=vidur.
git-svn-id: svn://10.0.0.236/trunk@77968 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:12:37 +00:00
dianesun%netscape.com
df98f097e9 Fix for bugs 38092 & 37931. R/A: ducarroz, QA: laurel.
git-svn-id: svn://10.0.0.236/trunk@77967 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:11:49 +00:00
hyatt%netscape.com
0bf556e934 added files: mozilla/layout/xbl/src/nsXBLPrototypeHandler.cpp
git-svn-id: svn://10.0.0.236/trunk@77966 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:11:32 +00:00
hyatt%netscape.com
663f7c0ce7 Improve typing speed. r=ben
git-svn-id: svn://10.0.0.236/trunk@77965 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:09:47 +00:00
rogerl%netscape.com
8a63e1a869 Switch from RegisterList to ArgumentList to handle named args.
Optional & rest parameter support.


git-svn-id: svn://10.0.0.236/trunk@77964 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:01:41 +00:00
rogerl%netscape.com
f287b862db Optional and rest parameters.
Named arguments (just begun).


git-svn-id: svn://10.0.0.236/trunk@77963 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 01:01:04 +00:00
cls%seawood.org
8848fa61a5 Including nsString.h
git-svn-id: svn://10.0.0.236/trunk@77962 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 00:21:03 +00:00
cls%seawood.org
bc1b963bc2 SHARED_LIBRARY_LIBS for unix, EXTRA_DSO_LIBS for OS/2
git-svn-id: svn://10.0.0.236/trunk@77961 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 00:12:07 +00:00
akkana%netscape.com
2b24b73667 36809: got the space wrong in the previous checkin. r=BenB
git-svn-id: svn://10.0.0.236/trunk@77960 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:37:46 +00:00
alecf%netscape.com
100dab2e8d another fix for #42102 - removing consumers of nsIFileSpec
r=valeski


git-svn-id: svn://10.0.0.236/trunk@77959 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:36:28 +00:00
akkana%netscape.com
4f8a9c4d2f 36809: fix plaintext output of img tags. r=BenB
git-svn-id: svn://10.0.0.236/trunk@77958 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:36:18 +00:00
javi%netscape.com
ed7b7032ff Make the S/MIME related and Java/JS tabs stay away no matter which tab on the
left side is clicked.

Plug some more memory leaks in security advisor.


git-svn-id: svn://10.0.0.236/trunk@77957 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:30:25 +00:00
morse%netscape.com
af82da3a5c bug 50786, many pages coming up blank, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@77956 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:28:41 +00:00
jst%netscape.com
a7a929d7dd Tweaking the fix to nsbeta3+ bug 28277 so that the src property of the a JavaScript constructed image is correcly set at the time when the onload and onerror events fire. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77955 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:23:35 +00:00
mscott%netscape.com
3ba51bf6e1 Fix unix breakge by using .get()
git-svn-id: svn://10.0.0.236/trunk@77954 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:07:57 +00:00
cmanske%netscape.com
0698fb319a JS strict warnings cleanup in connection with dialog work such as 47651, 47685. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@77953 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 23:04:03 +00:00
shanjian%netscape.com
9c78346b5f #44011 the bookmark charset does not work correctly if we select sidebar first
ra = ftang
doc charset can be and should be get directly from window without paying
any attention to focused window.


git-svn-id: svn://10.0.0.236/trunk@77952 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:56:15 +00:00
javi%netscape.com
6aa5ad4dac Plug some memory leaks and always use PL_strdup instead of vanilla strdup.
git-svn-id: svn://10.0.0.236/trunk@77951 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:55:25 +00:00
jglick%netscape.com
33d6d80640 Bug #46423, #29243 Changing to correct attachment icon r=hangas
git-svn-id: svn://10.0.0.236/trunk@77950 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:54:38 +00:00
mkaply%us.ibm.com
fb42803736 #51105
r=dougt, a=brendan
Missing OS/2 support for HOME dir


git-svn-id: svn://10.0.0.236/trunk@77949 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:53:55 +00:00
mkaply%us.ibm.com
ea3aecb341 OS/2 VACPP Tinderbox break
This is a hack to fix our build problem.
still looking for the right way


git-svn-id: svn://10.0.0.236/trunk@77948 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:49:33 +00:00
javi%netscape.com
1561e6180e Assign a ** static pointer an actual value instead of just sayin *val = NULL;
git-svn-id: svn://10.0.0.236/trunk@77947 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:47:22 +00:00
mscott%netscape.com
4422cd6395 Bug #32387,47365--> reset the load type when we get a redirected url so it gets added to
session history properly.
Only call OnLoadingSite if we actually create a content viewer for this page...
r=radha


git-svn-id: svn://10.0.0.236/trunk@77946 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:35:05 +00:00
morse%netscape.com
ab10aedc42 bug 44299, erroneous prompt for master password, r=dbragg
git-svn-id: svn://10.0.0.236/trunk@77945 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:34:45 +00:00
mscott%netscape.com
8f2702399e Bug #32387,47365, 46331, 46338, 23734 --> reset the load type when we get a redirected url so it gets added to
session history properly. Only add to session history if the url resulted in document being
loaded.
r=radha


git-svn-id: svn://10.0.0.236/trunk@77944 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:34:19 +00:00
mscott%netscape.com
03028d636f Bug #47365 --> set the retargeting URL flag when we are retargeting to another window
r=radha


git-svn-id: svn://10.0.0.236/trunk@77943 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:28:37 +00:00
akkana%netscape.com
561f3eba6c 50311, 51088: fix a hang/crash in Rewrap. r=scc
git-svn-id: svn://10.0.0.236/trunk@77942 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:27:26 +00:00
mscott%netscape.com
b96f88a453 Bug #50427 --> comment out our OnRedirect implementation. It was causing nasty side effects
because we aren't told if the main document url is getting redirected or if a part (like an
image) is getting redirected. This caused the urlbar to get incorrectly updated.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@77941 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:26:32 +00:00
hewitt%netscape.com
723195f0a1 46073 - added .plain to missing selector
git-svn-id: svn://10.0.0.236/trunk@77940 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:08:25 +00:00
hewitt%netscape.com
f8b8fc9cb8 46073 - added .plain for one missing selector
git-svn-id: svn://10.0.0.236/trunk@77939 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:06:45 +00:00
cmanske%netscape.com
65a484425b Changes to make toolbar persistance work better, needed for Composer b=47515, r=ben
git-svn-id: svn://10.0.0.236/trunk@77938 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:03:46 +00:00
mkaply%us.ibm.com
b5aec24c56 OS/2 VACPP Tinderbox break
CRT_CALL goes after the return type, before the function name


git-svn-id: svn://10.0.0.236/trunk@77937 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:01:58 +00:00
cmanske%netscape.com
cecaf9d445 Editor UI fixes: toolbar (47515), Page Colors dialog (47695), r=sfraser
git-svn-id: svn://10.0.0.236/trunk@77936 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:01:44 +00:00
vidur%netscape.com
66f83dccc1 Part of fix for bug 46861. Modified idlc generated header file, but forgot to change the idl itself. Doh! r=pollmann
git-svn-id: svn://10.0.0.236/trunk@77935 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:01:33 +00:00
cmanske%netscape.com
24c8934993 CSS changes for editor dialogs, b=47695, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@77934 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:01:06 +00:00
dimator%netscape.com
207c07dc44 Left out some entries in the default localstore.rdf file in my last checkin. (bug 44669)
git-svn-id: svn://10.0.0.236/trunk@77933 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:53:12 +00:00
beard%netscape.com
b5575eb008 A little more checking in GC_trace_object().
git-svn-id: svn://10.0.0.236/trunk@77932 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:51:09 +00:00
beard%netscape.com
b3f74f27e4 catching SIGSEGV/SIGILL not reliable, off again.
git-svn-id: svn://10.0.0.236/trunk@77931 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:47:01 +00:00
hyatt%netscape.com
27e6b4f0bd Fix tree multiple selection. Oops!, r=jrgm
git-svn-id: svn://10.0.0.236/trunk@77930 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:44:13 +00:00
hyatt%netscape.com
b623326d27 More XBL event speed improvements. r=ben
git-svn-id: svn://10.0.0.236/trunk@77929 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:43:34 +00:00
mkaply%us.ibm.com
86f29b1dd8 #48208
r=dougt, a=brendan
Don't DebugBreak if the messagebox got an error displaying


git-svn-id: svn://10.0.0.236/trunk@77928 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:41:42 +00:00
akkana%netscape.com
a7c1b302ac 36809: don't print nastygrams when copied output is zero length. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@77927 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:40:46 +00:00
pinkerton%netscape.com
9f1c6eb810 remove unused xul frames, nsTitledButton and nsToolbarItem
git-svn-id: svn://10.0.0.236/trunk@77926 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:40:34 +00:00
pinkerton%netscape.com
cd93ce4e9e removing unused xul frames, nsTitledButton and nsToolbarItemFrame. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@77925 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:39:25 +00:00
tao%netscape.com
d05c791192 48646: "Download More" menuitem duplicated, kinda messed up. (r=nhotta,a=ftang)
git-svn-id: svn://10.0.0.236/trunk@77924 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:36:48 +00:00
leaf%mozilla.org
43b953dfbd Automated update
git-svn-id: svn://10.0.0.236/trunk@77923 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:30:08 +00:00
radha%netscape.com
e111e856b3 partial fix for 49498. r=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@77922 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:29:48 +00:00
javi%netscape.com
462814ccd0 Make the security advisor come up from the Task Menu bar again.
git-svn-id: svn://10.0.0.236/trunk@77921 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:25:25 +00:00
gordon%netscape.com
1fdbf5a0c1 Fix for Bug 31900 "[MLK] Leaking CacheInfo objects".
The mCaches field is the head of a linked list.  I've added code to nsReplacementPolicy destructor to walk the list, deleting the objects along the way, rather than simply deleting the head of the list.


git-svn-id: svn://10.0.0.236/trunk@77920 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:24:40 +00:00
cls%seawood.org
d1ecbc454c Every MKSHLIB_FORCE_ALL needs a MKSHLIB_UNFORCE_ALL. Should fix freebsd 2.2 bustage.
git-svn-id: svn://10.0.0.236/trunk@77919 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:16:36 +00:00
mkaply%us.ibm.com
7b4f7c1e9c OS/2 GCC Tinderbox break
Since GCC doesn't have _System, these need to be extern C


git-svn-id: svn://10.0.0.236/trunk@77918 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:12:59 +00:00
akkana%netscape.com
9834f29a1e 50935: make multiline paste into single line text control switchable. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@77917 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:12:43 +00:00
valeski%netscape.com
bb76843870 50920. r=vidur. hanging an nsIDOMWindow off of nsIWebBrowser
git-svn-id: svn://10.0.0.236/trunk@77916 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:10:23 +00:00
nhotta%netscape.com
6a4c6712d1 Removing a debug printf which was checked in by mistake in my last check in.
git-svn-id: svn://10.0.0.236/trunk@77915 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 20:58:41 +00:00
nbhatla%netscape.com
b1efe9f8cc #46519 -> Classic Skin Polish fixes. fix for missing bookmark icon on hover and click in urlbar. larger images for reduced tiling and increased speed for mac buttons. r=andreww
git-svn-id: svn://10.0.0.236/trunk@77914 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 20:39:55 +00:00
nbhatla%netscape.com
0df3d6e552 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@77913 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 20:31:42 +00:00
valeski%netscape.com
48fd1ed8e7 fixing win9X make build problem
git-svn-id: svn://10.0.0.236/trunk@77912 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 20:18:46 +00:00
dougt%netscape.com
6e33e84d1b Fixes a cycle between docshelltreeowner and layout which caused a huge
leak. r=adamlock@netscape.com


git-svn-id: svn://10.0.0.236/trunk@77911 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 19:38:46 +00:00
dougt%netscape.com
d6c3bd2dcd Cleaning up leaks in gtkEmbed test example.
git-svn-id: svn://10.0.0.236/trunk@77910 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 19:36:43 +00:00
valeski%netscape.com
c14f38846e 32185. r=wan-teh. Fixing hashtable enumeration lossage.
git-svn-id: svn://10.0.0.236/trunk@77909 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 19:11:24 +00:00
jst%netscape.com
2732505c41 Fixing assertion on startup. r=vidur
git-svn-id: svn://10.0.0.236/trunk@77908 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 19:07:15 +00:00
ccarlen%netscape.com
722d096e9f - NOT PART OF THE BUILD -
Updated for embedding API changes.


git-svn-id: svn://10.0.0.236/trunk@77907 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 19:07:01 +00:00
ccarlen%netscape.com
0e9b602af8 - NOT PART OF THE BUILD -
Clear any refs the CBrowserShell has to us early in the destructor.


git-svn-id: svn://10.0.0.236/trunk@77906 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 19:06:31 +00:00
ccarlen%netscape.com
f347eb14e5 - NOT PART OF THE BUILD -
Updated for embedding API changes


git-svn-id: svn://10.0.0.236/trunk@77905 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 19:04:06 +00:00
ccarlen%netscape.com
33818a5490 - NOT PART OF THE BUILD -
Save prefs as soon as we touch them instead of waiting until quit time.


git-svn-id: svn://10.0.0.236/trunk@77904 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 19:03:23 +00:00
pnunn%netscape.com
7a6ed8a82c bug#13718: pnunn. move init to intended location.
git-svn-id: svn://10.0.0.236/trunk@77903 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 19:00:05 +00:00
sspitzer%netscape.com
a479bcadbf fix for crasher bug #51076. the old category code is not ready for prime time, commenting it out.
mozilla 6.0 doesn't support new categories.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@77902 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:56:36 +00:00
dimator%netscape.com
7a91ba13b4 Adding default localstore.rdf for new/mig. profiles. bug 44669. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@77901 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:52:08 +00:00
brendan%mozilla.org
b0b7fd8115 Followup for 44997, r=shaver:
- #if JS_HAS_LVALUE_RETURN around cx->rval2/rval2set defs and uses.
- Instrument different kinds of invocations, #ifdef DEBUG only.
- Clean up basis case of empty switch statement to use high = -1, low = 0,
  requiring care when optimizing in-range tests using unsigned casts, but
  freeing the interpreter and decompiler from having to do an extra test
  before looping from low to high.
- Clean up all codegen to use JUMP_OFFSET_LEN, ATOM_INDEX_LEN, etc. instead of
  magic 2 or 4.
- Add JSOP_TRY and JSOP_FINALLY no-ops to save a srcnote per JSOP_NOP, and to
  make decompilation and jit'ing easier.
- Minimize number of source notes to maximize SRC_XDELTA span.
- Use JSSCRIPT_FIND_CATCH_START in throw code.
- Indentation and bracing nits picked.


git-svn-id: svn://10.0.0.236/trunk@77900 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:42:22 +00:00
kestes%staff.mail.com
f2787fb5e7 imbed the version number in the generated html
git-svn-id: svn://10.0.0.236/trunk@77899 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:39:54 +00:00
kestes%staff.mail.com
50945a745b export_alltree_headers
function signature has changed.


git-svn-id: svn://10.0.0.236/trunk@77898 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:39:19 +00:00
kestes%staff.mail.com
fbb52eec98 better comments to discribe the settings.
git-svn-id: svn://10.0.0.236/trunk@77897 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:38:23 +00:00
kestes%staff.mail.com
a76c628ac9 $link was in the wrong scope.
I was returning undef instead of $link.


git-svn-id: svn://10.0.0.236/trunk@77896 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:37:52 +00:00
wtc%netscape.com
2458d4daec Bugzilla bug #30746: the primordial thread should wait for the timer
manager thread to start only if the timer manager thread is a local
thread, otherwise in native-threads-only mode, if NSPR is initialized
by a DLL, the primordial thread may be hung in PR_WaitCondVar because
the (native) timer manager thread does not get to run until the DLL is
initialized.


git-svn-id: svn://10.0.0.236/trunk@77893 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:26:28 +00:00
ducarroz%netscape.com
cef58bfb0c Fix for bug 50968. Replace out-dated status bar by a new one up to date. R=bienvenu
git-svn-id: svn://10.0.0.236/trunk@77892 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:26:10 +00:00
harishd%netscape.com
4766df6dca 7670 - Enable NOSCRIPT.
r=jst


git-svn-id: svn://10.0.0.236/trunk@77891 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:17:43 +00:00
harishd%netscape.com
69b6374ae7 7670 - Enabling NOSCRIPT content.
47827 - Make sure to check DD's hierarchy.

r=jst


git-svn-id: svn://10.0.0.236/trunk@77890 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:17:17 +00:00
brendan%mozilla.org
cf40cac243 Fix js_EnterSharpObject to clean up sharpObjectMap on error (44009, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@77888 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:01:04 +00:00
dbragg%netscape.com
79a6b86c24 Fix for bug 46802. Added the test from the nspref.dll to prevent unnecessary loading
git-svn-id: svn://10.0.0.236/trunk@77887 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:00:03 +00:00
dbragg%netscape.com
78fadcb8bf Fix for bug 46802. Removed the test from the nspref.dll to prevent unnecessary loading
git-svn-id: svn://10.0.0.236/trunk@77886 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 17:59:29 +00:00
dbragg%netscape.com
a830f2e91a Fix for bug 46802. Changed name of function to reflect its new functionality.
git-svn-id: svn://10.0.0.236/trunk@77885 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 17:58:33 +00:00
sspitzer%netscape.com
829ce322a2 checking in alecf's masterful fix for dogfood bug #50685.
r=putterman,sspitzer a=granrose


git-svn-id: svn://10.0.0.236/trunk@77884 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 17:25:01 +00:00
wtc%netscape.com
eeb69bf78b Set version number to 4.1.
git-svn-id: svn://10.0.0.236/trunk@77883 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 16:07:38 +00:00
bienvenu%netscape.com
f5848955c9 fix build bustage for locka, remove viewSource from jar manifest
git-svn-id: svn://10.0.0.236/trunk@77882 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 14:36:10 +00:00
bienvenu%netscape.com
b536f6a9d7 add batching support for msg count notifications r=putterman 49212 and 17470
git-svn-id: svn://10.0.0.236/trunk@77881 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 14:25:09 +00:00
locka%iol.ie
2526a98768 Removed hack put in to drag and drop to workaround this bug. b=41984, r=jst
git-svn-id: svn://10.0.0.236/trunk@77880 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 13:43:20 +00:00
locka%iol.ie
590c8ec194 Attach nsGlobalWindow's title property to the primary content document's title property. b=41984, r=jst
git-svn-id: svn://10.0.0.236/trunk@77879 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 13:31:21 +00:00
waqar%netscape.com
b3b08e1a24 #=48907
r=rods@netscape.com
a=kmcclusk@netscape.com
d=Implement CSS3 Font for GTK.


git-svn-id: svn://10.0.0.236/trunk@77878 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 13:21:46 +00:00
rcassin%supernova.org
d3e8cb3f6f Fix for bug 47574: extra, unused strings / entities defined in editor UI files - r=anthonyd, cmanske
git-svn-id: svn://10.0.0.236/trunk@77877 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 13:14:09 +00:00
mkaply%us.ibm.com
cb15ec1f7e #47874
r=mkaply, a=brendan
More fixups to widget - better menu code
Use Window Properties instead of PresParams
Rework subclass stuff to be more like Win


git-svn-id: svn://10.0.0.236/trunk@77876 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 13:09:21 +00:00
mkaply%us.ibm.com
26384da602 OS/2 Tinderbox break
PR_CALLBACK needed here


git-svn-id: svn://10.0.0.236/trunk@77875 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 13:03:40 +00:00
rods%netscape.com
f9f4bb77be When calculating the point size of a LOGFONT the scalling between the screen
and the printer must be taken into account. (The LOGFONT metrics are for the screen)
Bug 45656  r=dcone


git-svn-id: svn://10.0.0.236/trunk@77874 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 11:59:48 +00:00
pavlov%netscape.com
cecaf94461 ugh, fix for the windows bustage. this fix sucks. windows.h sucks.
git-svn-id: svn://10.0.0.236/trunk@77873 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 10:34:05 +00:00
ben%netscape.com
fddaf855d3 remind me again why I use linux... fixing mac build bustage due to missing file in project thingy... i hope this works.. I thought macs were supposed to be friendly. bah. pav
git-svn-id: svn://10.0.0.236/trunk@77872 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 10:08:08 +00:00
cls%seawood.org
23667185c5 Reorder libs for Irix linker & properly link in _s.a libs
git-svn-id: svn://10.0.0.236/trunk@77871 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 09:29:20 +00:00
pavlov%netscape.com
9ef4418d0c adding to windows makefile
git-svn-id: svn://10.0.0.236/trunk@77870 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 09:27:32 +00:00
pavlov%netscape.com
efb93e8ef0 fix for secure smtp bug 30321 r=mscott for the smtp part and r=bryner for the rest
git-svn-id: svn://10.0.0.236/trunk@77869 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 09:00:37 +00:00
hyatt%netscape.com
1ce9b3385f Closing my eyes, crossing my fingers, and pressing the NUKE THE TREE button. r=nobody, I'm trying to recover from vidur's window bomb. :)
git-svn-id: svn://10.0.0.236/trunk@77868 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 08:40:38 +00:00
jst%netscape.com
adc6b35477 Comment and whitespace change...
git-svn-id: svn://10.0.0.236/trunk@77867 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 08:24:00 +00:00
hyatt%netscape.com
d98d93885f XBL syntax changes. r=ben
git-svn-id: svn://10.0.0.236/trunk@77866 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 08:10:14 +00:00
hyatt%netscape.com
d455648dc1 XBL syntax changes. r=ben
git-svn-id: svn://10.0.0.236/trunk@77865 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 08:07:07 +00:00
hyatt%netscape.com
c1a59a6647 More XBL syntax changes. r=ben
git-svn-id: svn://10.0.0.236/trunk@77864 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 08:05:16 +00:00
ben%netscape.com
21a828cceb make my previous checkin a bit more robust
git-svn-id: svn://10.0.0.236/trunk@77863 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 07:59:49 +00:00
pavlov%netscape.com
3ee4934d31 removing makefile that is no longer in the tree
git-svn-id: svn://10.0.0.236/trunk@77862 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 07:55:20 +00:00
cls%seawood.org
b6445fff69 Need to explicitly cast pointer to public DOM window interface
git-svn-id: svn://10.0.0.236/trunk@77861 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 07:41:46 +00:00
pavlov%netscape.com
5910b8f817 fix for crash when trying to get the parent file when the file was a drive r=dougt bug 50837
git-svn-id: svn://10.0.0.236/trunk@77860 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 07:36:55 +00:00
jst%netscape.com
071de302f4 Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77858 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 07:05:08 +00:00
saari%netscape.com
cb8fe64ec2 recommiting my mac only menu optimizations after the false alarm backout
earlier today.


git-svn-id: svn://10.0.0.236/trunk@77857 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 06:37:57 +00:00
wtc%netscape.com
17c3d3f2c1 Bugzilla bug #40778: backed out the previous checkin. I convinced myself
that users shouldn't be accessing the 'reserved_fn_n' fields at all.
Modified files: prio.h, priometh.c, prlayer.c, prsocket.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@77856 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 06:02:03 +00:00
mscott%netscape.com
da5d6f3b6a conrad's directory service change broke helper app support 'cause we don't find the mimetypes.rdf file anymore.
minor tweak to fix that
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@77855 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 05:58:42 +00:00
ben%netscape.com
ba6fa11903 common dialog localization, 38523. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@77854 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 05:54:59 +00:00
ben%netscape.com
6c8b9a8821 add common dialogs properties file for common dialog localization, 38523
git-svn-id: svn://10.0.0.236/trunk@77853 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 05:54:14 +00:00
bryner%uiuc.edu
ef42070cab Landing RDF_FILEPICKER_BRANCH. r=pavlov.
beta3+ bugs fixed:
49693 (crash on ..)
47795 (filepicker slowness)

Also includes patches from disttsc@bart.nl to fix:
9542 (esc should dismiss)
42054 (filepicker should recognize ~)
42056 (make the filepicker history list work)


git-svn-id: svn://10.0.0.236/trunk@77852 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 05:49:45 +00:00
pinkerton%netscape.com
9e5b69cca1 make sure we have a tree item before we drag. prevents dragging of the scrollbar. r=ben, bug#49094
git-svn-id: svn://10.0.0.236/trunk@77851 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 05:43:27 +00:00
pinkerton%netscape.com
e9ccd83775 make url column crop right, since crop middle does the wrong thing. r=ben, bug#50833
git-svn-id: svn://10.0.0.236/trunk@77850 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 05:24:15 +00:00
ben%netscape.com
335a7773a3 fix for search in mail, allow search to run in an existing navigator window. partial fix for 32034
git-svn-id: svn://10.0.0.236/trunk@77849 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 04:40:29 +00:00
ben%netscape.com
38fe7ed860 add method for getting localized unichar prefs. part of fix for 32034
git-svn-id: svn://10.0.0.236/trunk@77848 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 04:40:00 +00:00
nbhatla%netscape.com
48fa837756 #46423 -> New modern skin polish. Fixes for transparency (pink color) issues in nav toolbar.
git-svn-id: svn://10.0.0.236/trunk@77847 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 04:10:53 +00:00
ducarroz%netscape.com
a456543e70 Fix for bug 1856 (yes, 1856) Extract recipients from the message header instead of from the db. R=bienvenu
git-svn-id: svn://10.0.0.236/trunk@77846 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 04:04:39 +00:00
srilatha%netscape.com
39ac1aa0f1 Fix in moveToAlertPosition so that the dialogs will not go off the screen.
r=ben


git-svn-id: svn://10.0.0.236/trunk@77845 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 03:53:49 +00:00
srilatha%netscape.com
48a1a9d740 Fix for bug# 49402. r=mscott. a=mscott
centering dialogs generated by window.open


git-svn-id: svn://10.0.0.236/trunk@77844 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 03:49:02 +00:00
putterman%netscape.com
bd4c188aef fix for 50803. Enabling disabling problems in threadpane. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@77843 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 03:28:13 +00:00
putterman%netscape.com
2986869fbb Fix for 47945. Better wording for new folder dialog. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@77842 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 03:27:41 +00:00
putterman%netscape.com
a9d554da75 Work on 49212 and 17470. Add start/stop notifications for perf improvement for
Mark All Read and Delete large number of messages. r=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@77841 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 03:26:52 +00:00
putterman%netscape.com
c9b92aa40b Fix for 50314. Clean up address book menus. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@77840 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 03:25:36 +00:00
beard%netscape.com
996d95557f add typeinfo.cpp to build.
git-svn-id: svn://10.0.0.236/trunk@77839 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 03:17:43 +00:00
beard%netscape.com
6e25ac374d for thread safety on Linux, grab lock, stop world. now using getTypeName().
git-svn-id: svn://10.0.0.236/trunk@77838 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 03:17:19 +00:00
beard%netscape.com
0335ce91b5 initializing mark word.
git-svn-id: svn://10.0.0.236/trunk@77837 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 03:16:10 +00:00
beard%netscape.com
c1b26d1c07 added RTTI heuristics for Linux.
git-svn-id: svn://10.0.0.236/trunk@77836 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 03:15:30 +00:00
brendan%mozilla.org
9d97e7740c Add window.options object with strict, werror, and future JS boolean option properties (50291, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@77835 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 03:10:33 +00:00
ssu%netscape.com
2f11eeeca0 fixing bug 2201 - changing Cancel button behaviour. r=sgehani. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@77834 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 02:56:03 +00:00
bryner%uiuc.edu
94c6b3e854 Removing unused/obsolete files. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@77833 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 02:30:52 +00:00
nisheeth%netscape.com
a86af47972 r=jst. Fixing refcounting of ID attribute atoms. Additional work to earlier checkin for fixing bug 10292. Also, added support for getElementByID() in XML documents.
git-svn-id: svn://10.0.0.236/trunk@77832 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 02:21:06 +00:00
vidur%netscape.com
b08f2fe835 Adding new file to fix bustage...
git-svn-id: svn://10.0.0.236/trunk@77831 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 02:18:29 +00:00
morse%netscape.com
882ddd298b bug 50496, change wording on messages, words by vera, r=morse
git-svn-id: svn://10.0.0.236/trunk@77830 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:58:20 +00:00
ben%netscape.com
5e273d4327 add file
git-svn-id: svn://10.0.0.236/trunk@77829 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:55:27 +00:00
vidur%netscape.com
b10d4adc57 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
tao%netscape.com
c6daadf5b5 standrad -> standard. (typo fix; r=cata).
git-svn-id: svn://10.0.0.236/trunk@77827 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:53:23 +00:00
hyatt%netscape.com
d4a02773ed XBL syntax changes. r,a=brendan
git-svn-id: svn://10.0.0.236/trunk@77826 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:38:04 +00:00
karnaze%netscape.com
ba59a76950 bug 27529 - round column allocations to even pixel value. bug 18955 - don't allocate a col based on desired content if there is a fixed value. r=peterl.
git-svn-id: svn://10.0.0.236/trunk@77825 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:29:50 +00:00
bienvenu%netscape.com
8623874b59 fix search to search sub-sub folders r=alecf 50936
git-svn-id: svn://10.0.0.236/trunk@77824 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:27:48 +00:00
law%netscape.com
0d83a1a3eb Bug 44719; patch from elig@netscape.com; r=me
git-svn-id: svn://10.0.0.236/trunk@77823 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:24:18 +00:00
bienvenu%netscape.com
276855a4af use PLDHash instead of nsHashTable r=brendan 46116
git-svn-id: svn://10.0.0.236/trunk@77822 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:23:25 +00:00
tonyr%fbdesigns.com
c12d40dda6 Switch to nsIFilePicker, b=34051,39036 r=alecf
git-svn-id: svn://10.0.0.236/trunk@77821 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:15:40 +00:00
wtc%netscape.com
39859adfab Bugzilla bug #40778: renamed the 'connectcontinue' member of PRIOMethods
back to 'reserver_fn_4' to maintain source compatibility.
Modified files: prio.h, priometh.c, prlayer.c, prsocket.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@77820 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:14:34 +00:00
pnunn%netscape.com
d74d33cea6 bug#13718: add hooks for natural dimensions of image. pnunn. r:cmanske, kmmcclusk
git-svn-id: svn://10.0.0.236/trunk@77819 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:13:28 +00:00
pnunn%netscape.com
66e26c8d86 bug#13718: add hooks for natural dimensions on images. pnunn. r: cmanske, kmcclusk.
git-svn-id: svn://10.0.0.236/trunk@77818 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:12:39 +00:00
naving%netscape.com
8712059f1b Setting the flag to NS_ERROR_FAILURE to signal that there are no more folders left
git-svn-id: svn://10.0.0.236/trunk@77817 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:10:15 +00:00
pnunn%netscape.com
74ef2e3d9f bug#50614: leak fix. pnunn. r:bruce
git-svn-id: svn://10.0.0.236/trunk@77816 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:09:30 +00:00
naving%netscape.com
80e8b01322 Clearing the NNTP_NEWSRC_PERFORMED flag when all the subscribed newsgroup for
a particular server have been iterated.


git-svn-id: svn://10.0.0.236/trunk@77815 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:08:56 +00:00
bryner%uiuc.edu
262e65ab55 Make the filesystem datasource understand file extensions. Bug 47795 (rdf
filepicker).  r=rjc.


git-svn-id: svn://10.0.0.236/trunk@77814 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:08:23 +00:00
bryner%uiuc.edu
bc648b22ce Protecting against setting an invalid current item on the tree. Prep work
for 47795.  r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@77813 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:07:18 +00:00
alecf%netscape.com
8ee154db95 part of fix for #42102 - eliminate consumers of nsIPref::get/setFilePref
r=law


git-svn-id: svn://10.0.0.236/trunk@77812 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:05:04 +00:00
jband%netscape.com
5d4e2723d1 fix bug 50941 by updating help text. r=shaver@mozilla.org a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@77811 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:02:39 +00:00
naving%netscape.com
69653078fe Used nsCAutoString function to find if there is port appended to popServerName and then used
truncate to get the popServerNamewithoutPort.


git-svn-id: svn://10.0.0.236/trunk@77810 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:02:15 +00:00
mkaply%us.ibm.com
bca6574dc5 #47874
r=mkaply, a=brendan
More fixups to widget - better menu code
Use Window Properties instead of PresParams
Rework subclass stuff to be more like Win


git-svn-id: svn://10.0.0.236/trunk@77809 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:00:46 +00:00
ruslan%netscape.com
c393170b58 Finally fix the last dogfood regression (big http posts), 47936
git-svn-id: svn://10.0.0.236/trunk@77808 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:59:48 +00:00
evaughan%netscape.com
f5136fdba1 Fix for bug# 44571
git-svn-id: svn://10.0.0.236/trunk@77807 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:59:09 +00:00
vidur%netscape.com
4217ab8759 Fix for bug 49187. ViewSource now emits HTML. The VIEW_SOURCE_HTML #define at the top of nsViewSourceHTML.cpp and nsLayoutDLF.cpp allows us to switch back to XML if necessary. The VIEW_SOURCE_COLORING #define in nsViewSourceHTML.cpp allows us to turn on source coloring. Without source coloring (the default right now), bringing up source is considerably faster. r=harishd
git-svn-id: svn://10.0.0.236/trunk@77806 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:57:14 +00:00
mozilla.BenB%bucksch.org
aee2c5079e 45268, step 1: Remove the <div> for quoting case until we have a better solution. r=a=alecf
git-svn-id: svn://10.0.0.236/trunk@77805 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:56:03 +00:00
sspitzer%netscape.com
945e6c927a fix for #47830. thanks to gemal@gemal.dk for starting the fix.
rest of fix to #16336, hide "Get Next [x] News Message" menu item when not reading news.
change [x] based on the server prefs.

r=mscott


git-svn-id: svn://10.0.0.236/trunk@77804 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:55:11 +00:00
alecf%netscape.com
728b29896b fix for #48689 - this was reviewed a while back, but accidentally got backed out when
shuffling messenger.css files around


git-svn-id: svn://10.0.0.236/trunk@77803 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:54:39 +00:00
javi%netscape.com
514c7cf441 Make the Messenger and Java/JavaScript persistently stay away when they
should.


git-svn-id: svn://10.0.0.236/trunk@77802 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:54:14 +00:00
hyatt%netscape.com
cf7514f218 Removing obsolete files from build. r=ben
git-svn-id: svn://10.0.0.236/trunk@77801 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:53:50 +00:00
sspitzer%netscape.com
c283df6afe fix for #47830. thanks to gemal@gemal.dk for starting the fix.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@77800 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:52:51 +00:00
javi%netscape.com
caa960e61a Make the other tab stay away even if you click on one of the other left side
tabs of the Certificates pane.


git-svn-id: svn://10.0.0.236/trunk@77799 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:52:22 +00:00
dougt%netscape.com
801cf6841e Removing Cached Monitors from plevent. They are about 5x slower than
a lock and condvar according to the nspr documentation.  r=valeski

Also I fix a problem where we would wake up from a wait without checking
any data which could cause all sorts of problems.

b=50634


git-svn-id: svn://10.0.0.236/trunk@77798 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:50:51 +00:00
rhp%netscape.com
afd27bc39d Fix for bug 49943 - readable messages in tmp - r: putterman
git-svn-id: svn://10.0.0.236/trunk@77797 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:48:55 +00:00
pollmann%netscape.com
b70eecc2df Bug 49897: Only send focus and left click events from labels to target content r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77796 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:48:47 +00:00
cls%seawood.org
d4ed92b74d Reorder libs to fix Irix bustage.
git-svn-id: svn://10.0.0.236/trunk@77795 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:48:22 +00:00
sfraser%netscape.com
da76d4f8c3 Make dialogs have titlebars (fallout from bug 41741, fixes bugs 50388, 50389, 50738, 50739, 50747). Simple addition of "titlebar" to chrome flags.
git-svn-id: svn://10.0.0.236/trunk@77794 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:48:04 +00:00
brendan%mozilla.org
3c54211db3 Support ECMA reference type return from native methods (44997, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@77793 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:45:50 +00:00
ssu%netscape.com
293c093484 fixing bug #50972. This checkin is for racham. r=me.
smoketest blocker, dogfood+


git-svn-id: svn://10.0.0.236/trunk@77792 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 00:02:59 +00:00
cyeh%bluemartini.com
af146d4617 fix for 6944: buglist: summary and whiteboard fight for space
patch by the ever present dave@intrec.com


git-svn-id: svn://10.0.0.236/trunk@77791 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 23:26:51 +00:00
cyeh%bluemartini.com
ebb89f8bdc fix for 45583: all users get added to a group if userregexp is null in editproducts.cgi
patch by jmrobins@tgix.com


git-svn-id: svn://10.0.0.236/trunk@77790 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 22:56:21 +00:00
attinasi%netscape.com
e5e2e4615a Checkin for Bindu's changes to the scripts to eliminate BuildID detection, and to change default drive to D. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@77789 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 22:39:27 +00:00
mcafee%netscape.com
7b49acd567 Removing unnecessary include, goes with solaris patch I just checked in (htmlparser)
git-svn-id: svn://10.0.0.236/trunk@77788 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 22:09:52 +00:00
mcafee%netscape.com
f3e713b6d5 Patch #2 to get solaris building (50876). code=harishd, r=jst,mcafee, a=heikki
git-svn-id: svn://10.0.0.236/trunk@77787 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 22:08:07 +00:00
kestes%staff.mail.com
68d55748ea turn on the all_headers file for the bots
git-svn-id: svn://10.0.0.236/trunk@77786 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 22:00:26 +00:00
kestes%staff.mail.com
cd3cb35c7c forgot that if I change peristance then the admin code changes also.
I use persistance for the passwd table.


git-svn-id: svn://10.0.0.236/trunk@77785 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 21:59:53 +00:00
cyeh%bluemartini.com
b11aa59660 fix for 35604: indicate on bug lists if a bug is not visible to the public
patch submitted by dave@intrec.com (Dave Miller), legend added
by cyeh@bluemartini.com


git-svn-id: svn://10.0.0.236/trunk@77784 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 21:53:29 +00:00
waldemar%netscape.com
97e6c5b6f8 Added jsdhash.c
git-svn-id: svn://10.0.0.236/trunk@77783 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 20:41:33 +00:00
karnaze%netscape.com
80b4f45798 Removed references to non existent urls causing assertions. This does not affect the build.
git-svn-id: svn://10.0.0.236/trunk@77782 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 20:19:25 +00:00
saari%netscape.com
efd80ca419 backing out my mac menu changes
git-svn-id: svn://10.0.0.236/trunk@77781 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 19:25:10 +00:00
javi%netscape.com
65a56ca19f Whomp the SECURITY_CLIENT_BRANCH onto the tip.
git-svn-id: svn://10.0.0.236/trunk@77779 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 18:31:28 +00:00
cyeh%bluemartini.com
e0954ed525 fix for 44609 : Remove the useless "project" column in the Change columns page
patch submitted by cdurst@world.std.com (Charles Durst)


git-svn-id: svn://10.0.0.236/trunk@77778 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 18:19:46 +00:00
scc%mozilla.org
33aceb3053 don't know how I omitted this last night, particularly since mscott tested. must shift the bit in the mask to get a new position. This should fix the string hang
git-svn-id: svn://10.0.0.236/trunk@77777 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 17:56:28 +00:00
mcafee%netscape.com
530b27f340 Rearranging some includes to fix solaris bustage (50876). code=harishd,waterson, r=mcafee, a=leaf
git-svn-id: svn://10.0.0.236/trunk@77776 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 17:23:22 +00:00
mcafee%netscape.com
8fa4be6625 Rearranging some includes to fix solaris bustage (50876). code=harishd,waterson, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77775 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 17:20:58 +00:00
dcone%netscape.com
93fcd6b912 Added factory method for creating an nsPrintOptions object. This is for bug 36796. r=kmcclusk.
git-svn-id: svn://10.0.0.236/trunk@77774 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 14:49:05 +00:00
blizzard%redhat.com
6b27c51a9e fixes for bugs 27790 33649 37003 37004 37257 45499 45761 50009 48276. this is a rewrite of much of the DND code for linux. some of the big features include multiple item drags inside of mozilla, support for _NETSCAPE_URL memory leak fixes and tree scrolling during drags. r=pavlov a=brendan
git-svn-id: svn://10.0.0.236/trunk@77773 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 14:48:14 +00:00
beard%netscape.com
60ca571c42 traceObject(). only used when leak detector built.
git-svn-id: svn://10.0.0.236/trunk@77772 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 14:43:17 +00:00
beard%netscape.com
789f6701cc Added traceObject() method.
git-svn-id: svn://10.0.0.236/trunk@77771 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 14:35:13 +00:00
beard%netscape.com
fafb48fe53 GC_trace_object.
git-svn-id: svn://10.0.0.236/trunk@77770 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 14:33:29 +00:00
beard%netscape.com
c58783cda3 Stub GC_trace_object.
git-svn-id: svn://10.0.0.236/trunk@77769 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 14:32:57 +00:00
beard%netscape.com
cc319ccf92 GC_trace_object (not part of build)
git-svn-id: svn://10.0.0.236/trunk@77768 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 14:28:56 +00:00
bienvenu%netscape.com
37cf24dc3f whoops, forgot to invoke a pldhash routine
git-svn-id: svn://10.0.0.236/trunk@77767 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 14:00:38 +00:00
dbaron%fas.harvard.edu
ee52f908cb Attempt to fix AIX bustage by adding get(). AIX started thinking this call to nsIWidget::Create was ambiguous when the first parameter was made an nsCOMPtr (couldn't decide whether it was the Create() taking a void* or an nsIWidget*). r=kin
git-svn-id: svn://10.0.0.236/trunk@77766 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 13:40:17 +00:00
bienvenu%netscape.com
d6886947ef add pldhash functions, r+a=waterson+brendan
git-svn-id: svn://10.0.0.236/trunk@77765 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 13:29:29 +00:00
cmanske%netscape.com
ac05987cf1 Fixed updated of color widget on Composer toolbar, b=49952, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@77764 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 12:44:56 +00:00
cmanske%netscape.com
1094d5773b Fixed GetBackgroundColorState to get nested table and cell color, needed to make background color on toolbar correct. b=49952, r=buster
git-svn-id: svn://10.0.0.236/trunk@77763 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 12:44:55 +00:00
scc%mozilla.org
a1ad96435f bug #49895: checking in a slight enhancement on Patrick Beards patch
git-svn-id: svn://10.0.0.236/trunk@77762 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 11:42:43 +00:00
jband%netscape.com
89a9d35563 fix to un-bust XPCONNECT_STANDALONE build (#ifdef'd out code for the browser) from shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@77761 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 10:44:28 +00:00
jband%netscape.com
513373eb6a add caching of jar/zip files to help fix bug 46707. Also factor out conditional compilation of ziploader support to not just be dependent on XPCOM_STANDALONE. And, factor out manifest directory from component directory (even though they are the same for now) in prepatation for a better fix to bug 39808. r=rginda@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77760 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 09:48:39 +00:00
jband%netscape.com
f6e7f17115 fix bug 50080. Early returns skipping call to nsGenericResolve. r=jst@netscape.com a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@77759 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 09:44:27 +00:00
cltbld%netscape.com
f35984243c Forward declaration of eHTMLTags is not needed if including nsHTMLTokens.h. Should help fix speedracer bustage. -cls
git-svn-id: svn://10.0.0.236/trunk@77758 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 09:30:17 +00:00
ben%netscape.com
8ce7de24bd partial fix for 32034 - sidebar search doesnt work from mail
git-svn-id: svn://10.0.0.236/trunk@77757 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 07:52:32 +00:00
ben%netscape.com
e6778b244d fix tree font and menulists in classic (50180, 45196)
git-svn-id: svn://10.0.0.236/trunk@77756 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 06:46:17 +00:00
ben%netscape.com
2daec56e83 oops
git-svn-id: svn://10.0.0.236/trunk@77755 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 06:45:31 +00:00
nisheeth%netscape.com
22938fe311 r=ian hickson. Fix for nsbeta3+ bug 41924. Updated the way we calculate alternate text for images that are not found.
git-svn-id: svn://10.0.0.236/trunk@77754 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 06:27:49 +00:00
ben%netscape.com
f01e89dfc8 46613, Classic skin polish (Mac profile manager)
git-svn-id: svn://10.0.0.236/trunk@77753 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 06:15:47 +00:00
scc%mozilla.org
9d68ddd2ce make |Last| not try to adjust an iterator into an empty string (stops illegal calls to |Last| on an empty string from going into an infinite looop), r=mscott
git-svn-id: svn://10.0.0.236/trunk@77752 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 06:12:35 +00:00
ben%netscape.com
abe39cdfa6 46613, classic skin polish
git-svn-id: svn://10.0.0.236/trunk@77751 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 06:09:17 +00:00
tara%tequilarista.org
440f6fb410 fix for bug #24806
git-svn-id: svn://10.0.0.236/trunk@77750 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 06:07:26 +00:00
beard%netscape.com
e4ac42fcaf fixing build bustage. r=scc
git-svn-id: svn://10.0.0.236/trunk@77749 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 06:00:21 +00:00
mstoltz%netscape.com
fc5da7534f Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur
git-svn-id: svn://10.0.0.236/trunk@77748 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 05:53:32 +00:00
ben%netscape.com
8e90d0cb70 46613...
git-svn-id: svn://10.0.0.236/trunk@77747 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 05:45:28 +00:00
mscott%netscape.com
89d9307d94 back out my change until we can get it to build on the mac. This re-introduces the infinite loops when you run the browser though
so be warned.


git-svn-id: svn://10.0.0.236/trunk@77746 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 05:43:21 +00:00
ben%netscape.com
4f4e77ec7c 46613, Classic skin polish (Mac profile manager)
git-svn-id: svn://10.0.0.236/trunk@77745 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 05:27:49 +00:00
ben%netscape.com
778d362caf 46613, classic skin polish (Mac profile manager)
git-svn-id: svn://10.0.0.236/trunk@77744 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 05:26:27 +00:00
ben%netscape.com
a3d749f21b updated image
git-svn-id: svn://10.0.0.236/trunk@77743 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 05:18:47 +00:00
nelsonb%netscape.com
7f3336e2a3 Checkin a big speedup for sparc v8 CPUs when compiled with Workshop
compilers.  Be sure to use -DMP_NO_MP_WORD with v8 CPUs.


git-svn-id: svn://10.0.0.236/trunk@77742 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 04:59:05 +00:00
ben%netscape.com
d4c9af8253 fix bustage
git-svn-id: svn://10.0.0.236/trunk@77741 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 04:55:59 +00:00
ben%netscape.com
bde37b3bf0 mac classic users icon
git-svn-id: svn://10.0.0.236/trunk@77740 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 04:38:19 +00:00
mscott%netscape.com
b2e243a5c2 Bug #50853 --> fix a nasty infinite loop on windows. The compiler was choosing the wrong overloader method for nsPromiseConcatenation::operator+
which caused it to fail to inherit a mask bit which in turn led to the infinite loop.

this code came from scc.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@77739 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 04:29:42 +00:00
harishd%netscape.com
fd74c76338 Solaris build bustage..
r=scc


git-svn-id: svn://10.0.0.236/trunk@77738 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 04:21:39 +00:00
nelsonb%netscape.com
fc323510bd Fix mpi.h so that it compiles when MP_NO_MP_WORD is defined on the command
line (or prior to including mpi.h).


git-svn-id: svn://10.0.0.236/trunk@77737 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:59:48 +00:00
nbhatla%netscape.com
83e0a3c4ac #46423-> new modern skin polish. NOT PART OF BUILD. r=marlon
git-svn-id: svn://10.0.0.236/trunk@77736 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:49:23 +00:00
nbhatla%netscape.com
8a779c4035 #46423 -> New modern skin polish. NOT PART OF BUILD. r=marlon
git-svn-id: svn://10.0.0.236/trunk@77735 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:47:30 +00:00
nbhatla%netscape.com
322ec6fb74 #46423 -> New Modern skin Polsih. NOT PART OF BUILD. r=marlon
git-svn-id: svn://10.0.0.236/trunk@77734 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:46:53 +00:00
nbhatla%netscape.com
145767399f #46423 -> Modern skin Polish. NOT PART OF BUILD. r=marlon.
git-svn-id: svn://10.0.0.236/trunk@77733 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:46:10 +00:00
nelsonb%netscape.com
40d32e22fd Add missing copyright notice. Doh!
git-svn-id: svn://10.0.0.236/trunk@77732 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:45:39 +00:00
nbhatla%netscape.com
d172a4d48d #46423 - New Modern Skin Polish. Final batch of navigation bar images, other minor color tweaks. NOT PART OF BUILD. r=marlon
git-svn-id: svn://10.0.0.236/trunk@77731 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:44:33 +00:00
brendan%mozilla.org
c9d77da5ce Fix GC_MARK_DEBUG bustage (r=dbaron, not part of build unless you -D it).
git-svn-id: svn://10.0.0.236/trunk@77730 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:41:36 +00:00
saari%netscape.com
4251c9db21 fixing dr's bustage
git-svn-id: svn://10.0.0.236/trunk@77729 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:35:57 +00:00
despotdaemon%netscape.com
6518b5b958 Pseudo-automatic update of changes made by hewitt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@77728 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:23:13 +00:00
brendan%mozilla.org
096321676e Forgot to round capacity up to nearest power of two\! r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@77727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:12:40 +00:00
danm%netscape.com
84b08eede7 check for null context before clearing JS watchpoints. bug 49615. patch from afranke@ags.uni-sb.de. r=brendan, me a=brendan
git-svn-id: svn://10.0.0.236/trunk@77726 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 03:10:52 +00:00
brendan%mozilla.org
47f8253c72 Use lazy JS class init to save memory and cycles; also expand tabs per Emacs modeline (46703, r=blizzard@mozilla.org).
git-svn-id: svn://10.0.0.236/trunk@77725 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:59:59 +00:00
despotdaemon%netscape.com
6eb41e2095 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@77724 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:59:56 +00:00
buster%netscape.com
4c55aad9ff bug 48295 (floating nested table height initially 0, makes layout wrong)
r=karnaze
values from the wrong struct were getting passed into SetTallestCell


git-svn-id: svn://10.0.0.236/trunk@77723 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:57:58 +00:00
nelsonb%netscape.com
791e24f1b5 Some cleanup. Check error codes for all functions that return them.
git-svn-id: svn://10.0.0.236/trunk@77722 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:52:23 +00:00
nelsonb%netscape.com
7c7092c0d7 Big changes for performance. mp_digits are now always unsigned ints.
mp_words are used only on machines that support long long arithmetic.
s_mp_mod_d() was deleted.  It was not being used and was not part of the
public API. The code that computes squares in s_mp_sqr was broken out
into a separate new function s_mpv_sqr_add_prop(), which is a target for
assembly language optimization.  New function s_mpv_div_2dx1d(), also a
target for assembly optimization.  These changes made X86 benchmark time
go from 22.5 seconds to 8.3 seconds on my reference test system.


git-svn-id: svn://10.0.0.236/trunk@77721 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:51:23 +00:00
nelsonb%netscape.com
7ad93ec596 Add support for Linux on X86 CPUs. Use assembler code on MIPS CPUs.
git-svn-id: svn://10.0.0.236/trunk@77720 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:43:56 +00:00
dr%netscape.com
074f107dbf removed nsTabFrame stuff, fix for 50612, r=ben
git-svn-id: svn://10.0.0.236/trunk@77719 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:41:55 +00:00
nelsonb%netscape.com
253a67f1ae Gnu assembler implementations of all s_mpv_ functions for Intel X86 CPUs.
git-svn-id: svn://10.0.0.236/trunk@77718 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:41:20 +00:00
nelsonb%netscape.com
3a6935b0c3 Add implementation of s_mpv_sqr_add_prop.
git-svn-id: svn://10.0.0.236/trunk@77717 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:40:32 +00:00
saari%netscape.com
56312749c3 Removing nsTabFrame.cpp from layout.mcp for dr
fix for 50612


git-svn-id: svn://10.0.0.236/trunk@77716 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:39:51 +00:00
bryner%uiuc.edu
19681582b2 Fixing 50554 - keep the tree in a consistent state while removing its content.
This is prep work for 47795.  Also fixes chatzilla crash.  r=waterson.


git-svn-id: svn://10.0.0.236/trunk@77715 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:39:48 +00:00
beard%netscape.com
d290a13566 bug #44187: added guards to prevent crashes when Java not available. r=jband
git-svn-id: svn://10.0.0.236/trunk@77714 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:37:42 +00:00
kmcclusk%netscape.com
27a6c7d6ec Revert back to old loop construct for dispatching events which is safer when the event destroys the current view bug 50335 r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77713 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:31:17 +00:00
beard%netscape.com
66669e3f04 fixing crasher, reference counting problems. r=ccarlen
git-svn-id: svn://10.0.0.236/trunk@77712 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:26:44 +00:00
saari%netscape.com
e1f404e151 Fixes for Mac menu bugs 49576, and 49142. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@77711 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:26:08 +00:00
waterson%netscape.com
82c723b599 Add pldhash.c to the build.
git-svn-id: svn://10.0.0.236/trunk@77710 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:18:08 +00:00
waterson%netscape.com
ee5e6bceee Add pldhash.h to the build.
git-svn-id: svn://10.0.0.236/trunk@77709 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:17:29 +00:00
ben%netscape.com
e1e6e61888 fix for the simplest part of 30878, right click checks checkboxes.
git-svn-id: svn://10.0.0.236/trunk@77708 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:13:00 +00:00
dr%netscape.com
1eb4a3e076 fix for 49802, r=danm
git-svn-id: svn://10.0.0.236/trunk@77707 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:07:04 +00:00
naving%netscape.com
af51fcf77b Changed the BuildPop3Url to pass the port also
git-svn-id: svn://10.0.0.236/trunk@77706 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 01:53:45 +00:00
naving%netscape.com
d2c45cef0b #define POP3_PORT was removed to get the port set for POP acct. Useful if the port is not
the default port.


git-svn-id: svn://10.0.0.236/trunk@77705 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 01:52:51 +00:00
alecf%netscape.com
b946bcb656 fix for 40357 - in filter editor, only display folder which can accept new messages
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@77704 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 01:50:48 +00:00
naving%netscape.com
bb83715a19 Read the profile from the directory with the hostname appended rather than hostandport
when migration is done


git-svn-id: svn://10.0.0.236/trunk@77703 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 01:49:44 +00:00
naving%netscape.com
beafce9218 truncating the port number from the popservername because it causes problem
in creating directory on windows (Name:port)


git-svn-id: svn://10.0.0.236/trunk@77702 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 01:45:58 +00:00
mcafee%netscape.com
8514fdd64f Backing out fix for solaris from earlier, r=akkana,scc
git-svn-id: svn://10.0.0.236/trunk@77701 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 01:22:17 +00:00
tao%netscape.com
cbeaf237a0 remove en-DE place holder from US build; a=ftang.
git-svn-id: svn://10.0.0.236/trunk@77700 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 01:09:31 +00:00
beard%netscape.com
57989f6be3 Use Addr2Line with Linux format leak files.
git-svn-id: svn://10.0.0.236/trunk@77699 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 01:08:16 +00:00
beard%netscape.com
a62a7af5a5 Linux: used to map library +offset to file:line
git-svn-id: svn://10.0.0.236/trunk@77698 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 01:07:33 +00:00
pollmann%netscape.com
5c96dc1267 Bug 50143: All radio buttons should be unchecked before checking new one when restoring frame state r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77697 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:59:31 +00:00
tao%netscape.com
9ea7fff84e Take out en-DE place holder from installer build. a=ftang.
git-svn-id: svn://10.0.0.236/trunk@77696 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:56:23 +00:00
andreww%netscape.com
818bf8b528 fixing bugscape http://bugscape/show_bug.cgi?id=2177 r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@77695 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:40:46 +00:00
nhotta%netscape.com
30fb78ccd7 Changed to remember the query charset in GetInternetSearchURL(). Then use it to convert from that charset to UTF-8 in FindInternetSearchResults(), bug 42221, r=rjc.
git-svn-id: svn://10.0.0.236/trunk@77694 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:37:39 +00:00
nhotta%netscape.com
d9048ebf80 Changed to get a webshell service through docshell, bug 50806, r=harishd.
git-svn-id: svn://10.0.0.236/trunk@77693 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:36:54 +00:00
jst%netscape.com
0b04376254 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77692 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:36:31 +00:00
slamm%netscape.com
03be3db5de Use proper interface variable to use directory services. Fixes window.sidebar.addPanel(...). bug 50167. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77691 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:20:02 +00:00
cmanske%netscape.com
becb292d83 Fixed bad string value, part of 47695, r=beppe
git-svn-id: svn://10.0.0.236/trunk@77690 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:10:55 +00:00
mcafee%netscape.com
d40f75b639 Fixing tab problem
git-svn-id: svn://10.0.0.236/trunk@77689 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 00:05:39 +00:00
cyeh%bluemartini.com
53b0e2dfbe fix for 44617: edit*.cgi: Should show which product you're working on
patches by mtakacs@pacbell.net (Tak)


git-svn-id: svn://10.0.0.236/trunk@77688 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:44:36 +00:00
slamm%netscape.com
917ca2e18d Remove icons for horizontal grippy. (47585) r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77687 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:42:24 +00:00
slamm%netscape.com
d9dfa38903 Update text for no panels in sidebar. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77686 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:42:16 +00:00
slamm%netscape.com
cfb2106a1b Add text for up/down buttons. Replace occurences of 'panel' with 'tab' (47585) r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77685 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:42:09 +00:00
slamm%netscape.com
c96fc7c661 Separate the grippy from the sidebar header for mailnews (47585). r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77684 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:42:04 +00:00
slamm%netscape.com
79d8b38d71 Avoid panels loading in the background (46736). General rewrite (i.e. standardize the arguments passed by wrapping the panels and panel lists in objects). r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77683 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:41:58 +00:00
slamm%netscape.com
b4d1676351 Separate the splitter from the sidebar header (47585) r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77682 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:41:53 +00:00
slamm%netscape.com
093506a84b Handle remote folders better. Force them to have a twisty by setting container='true'. Fix Save(), so that it does not write over pre-existing values (46666). Fix loading of remove folders (48093). Make customize tab dialog have a close box (48228). r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77681 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:41:43 +00:00
slamm%netscape.com
5b2b4e63dd Update a panel on close (47585). r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77680 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:41:37 +00:00
slamm%netscape.com
318045a29c Drop special grippy images and use standard grippy images instead (47585). Add style for hiding the twirling load gif. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77679 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:41:32 +00:00
slamm%netscape.com
e91196e09d Drop gifs. Styles for 'more tabs' link (47585). r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77678 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:41:24 +00:00
slamm%netscape.com
baba352c79 Sidebar customize dialog: More panels link (47585). r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77677 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:41:17 +00:00
anthonyd%netscape.com
294024ffbd fix for bug# 50847 (regression)
r=kin


git-svn-id: svn://10.0.0.236/trunk@77676 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:38:26 +00:00
cmanske%netscape.com
8e86a5b447 Added background color to fix space around <title> text. b=42331, r=jrgm
git-svn-id: svn://10.0.0.236/trunk@77675 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:30:13 +00:00
cmanske%netscape.com
962ec769bd Cleaning up 'pretty printing' formating for HTML Source mode. b=41869, r=akkana
git-svn-id: svn://10.0.0.236/trunk@77673 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:25:12 +00:00
sspitzer%netscape.com
a74a84bc44 most of the fix for #16336. implement "Get Next N (older) newsgroup messages".
a few tweaks coming soon.  r=mscott.


git-svn-id: svn://10.0.0.236/trunk@77672 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:22:22 +00:00
cltbld%netscape.com
8a11f8ffac Turning tests on, fixing solaris again. mcafee
git-svn-id: svn://10.0.0.236/trunk@77671 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:19:41 +00:00
cltbld%netscape.com
b6df91557d Fixing solaris bustage harishd/mcafee
git-svn-id: svn://10.0.0.236/trunk@77670 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:17:10 +00:00
cyeh%bluemartini.com
8af0a2e591 fix for 32828: Redirect fails on Internet explorer: colchange.cgi
patch from mtakacs@pacbell.net


git-svn-id: svn://10.0.0.236/trunk@77669 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 23:01:26 +00:00
cyeh%bluemartini.com
b0a65b0ea8 fix for 40603: query.cgi shutdownhtml PutHeader
patch submitted by JRobertson@medevolve.com (Jon Robertson)


git-svn-id: svn://10.0.0.236/trunk@77668 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:49:17 +00:00
cmanske%netscape.com
9e35a8ec8a Finished HTML Source editing problems with title tag (41869), split table crash (50791), filename problems (48631). r=akkana, fixed NS_LITERAL_STRING usages in nsHTMLEditor for performance (26384), r=scc
git-svn-id: svn://10.0.0.236/trunk@77667 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:49:08 +00:00
rods%netscape.com
b05e5126c3 backed out changes, for build
git-svn-id: svn://10.0.0.236/trunk@77666 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:45:59 +00:00
cyeh%bluemartini.com
64832a8360 fix for 40603: Assumes user is coming from different page
patch by zach@zachlipton.com


git-svn-id: svn://10.0.0.236/trunk@77665 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:42:44 +00:00
mkaply%us.ibm.com
3518d9137d #47874
r=mkaply, a=brendan
Code from jkobal to fix menus rolling up prematurely - straight from Windows


git-svn-id: svn://10.0.0.236/trunk@77664 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:13:20 +00:00
rods%netscape.com
4150f081f1 44656,33312 - We will now size very closely to IE when in Standard mode, the sizing algorithm
is (aveCharWidth * (sizeAttr+1))+padding+border
50280 - we need to set the mPrefSize width/height to -1 so the size of the text control gets recalculated
b=50280,44656,33312 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@77663 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:11:05 +00:00
nhotta%netscape.com
de74437cee Added a destructor for stream converter to release a cached instance, bug 49411, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@77662 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:09:42 +00:00
nhotta%netscape.com
c7a5329f32 Changed to cache charset detection instance, bug 49411, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@77661 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:09:23 +00:00
ddrinan%netscape.com
8c63afd88e Fix for bug 44044
git-svn-id: svn://10.0.0.236/trunk@77660 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:03:26 +00:00
ddrinan%netscape.com
8e2cdd2886 DisplayURI can now take a parent window
git-svn-id: svn://10.0.0.236/trunk@77659 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:02:18 +00:00
ddrinan%netscape.com
5dca28b1ab Use CMInt32 instead of size_t for send/receive calls. Bug 33430
git-svn-id: svn://10.0.0.236/trunk@77658 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:01:06 +00:00
rods%netscape.com
29c0c0e89f Notifying the doc that an attribute is changed is the wrong approach
Making "REFLOW" be the hint for when rows or cols attrs are changed
Not doing it for input text it seems to work fine without
b=50280


git-svn-id: svn://10.0.0.236/trunk@77657 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:59:53 +00:00
ddrinan%netscape.com
c2e16961c1 Load PSM from same dir as mozilla and added some extra error checking
git-svn-id: svn://10.0.0.236/trunk@77656 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:59:44 +00:00
ddrinan%netscape.com
86641d06e2 Call DisplayURL with parent window, null for now
git-svn-id: svn://10.0.0.236/trunk@77655 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:58:06 +00:00
ddrinan%netscape.com
5d1c33f351 Pass in a parent nsIDOMWindow to display functions. Bug 46705
git-svn-id: svn://10.0.0.236/trunk@77654 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:56:28 +00:00
evaughan%netscape.com
e9c37b6146 Fix for bug #47911 -r pinkerton
git-svn-id: svn://10.0.0.236/trunk@77652 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:51:02 +00:00
cyeh%bluemartini.com
890fb07cef fix submitted for 42809: bug_email.pl doesn't allow for priority = 0
patch submitted by brad@xyu.dhs.org (Brad Sarsfield)


git-svn-id: svn://10.0.0.236/trunk@77651 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:47:17 +00:00
slamm%netscape.com
a62b773cf4 Turn off debug output.
git-svn-id: svn://10.0.0.236/trunk@77650 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:44:04 +00:00
chuang%netscape.com
c2ce487ea6 bug 45870 Migrating profile 4.7 to 6.0, not all entries were imported, r=putterman
git-svn-id: svn://10.0.0.236/trunk@77649 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:41:16 +00:00
chuang%netscape.com
56041f54c4 Bug 50351 [MLK] Leaking UNICODE string in nsAddrDatabase::GetRowForEmailAddress(), r=putterman
git-svn-id: svn://10.0.0.236/trunk@77648 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:39:43 +00:00
andreww%netscape.com
fccc250848 bug# 47633 remove "open windows" on taskbar. r=nbhatla
git-svn-id: svn://10.0.0.236/trunk@77647 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:38:35 +00:00
chuang%netscape.com
711a5d969f Bug 50274 [MLK] Leaking nsFileSpec objects, r= putterman
git-svn-id: svn://10.0.0.236/trunk@77646 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:37:43 +00:00
cyeh%bluemartini.com
deb3b14986 fix for 37684 and 42609: trying to deal with malformed url's in the URL field
during bug entry. instead of trying to be really intelligent over what a valid
url field is, or doing any kind of complicated regexping and forcing http://
on everyone, what we do instead is pre-seed enter_bug.cgi bug_file_loc with http://
in the text field. if that is all there is in the field when we are in post_bug.cgi,
then the value gets set to null (no URL entered into the new bug form). this allows
for you to enter in any valid url that you want, but also make it obvious that
http:// should be there for http:// urls at bug entry time


git-svn-id: svn://10.0.0.236/trunk@77645 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:32:43 +00:00
danm%netscape.com
8921812f45 bring a dependent window's parent to the front when closing that window. Windows-only. bug 22658
git-svn-id: svn://10.0.0.236/trunk@77644 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:24:03 +00:00
danm%netscape.com
11b37438fb add 'activate' parameter to nsIWidget::PlaceBehind. bug 22658 r=rods,kmcclusk
git-svn-id: svn://10.0.0.236/trunk@77643 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:21:39 +00:00
BlakeR1234%aol.com
3d64f64716 Fix 47829, minor wording change. r=gemal
git-svn-id: svn://10.0.0.236/trunk@77642 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:09:31 +00:00
mcafee%netscape.com
91b08f3248 Turn off tests until Solaris builds. r=harishd
git-svn-id: svn://10.0.0.236/trunk@77641 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 20:48:50 +00:00
dbragg%netscape.com
e6feca6e18 fix for 45915. Changed text r=dveditz
git-svn-id: svn://10.0.0.236/trunk@77640 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 20:47:37 +00:00
dbragg%netscape.com
dece828448 fix for 45915. Changed text, removed notifier option and repositioned under Advanced. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@77639 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 20:46:53 +00:00
mkaply%us.ibm.com
608b685059 #45872
r=pedemonte, a=brendan
I singlehandedly broke OS/2 printing.


git-svn-id: svn://10.0.0.236/trunk@77638 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 20:28:28 +00:00
mkaply%us.ibm.com
0210c04d9a #50287
r=cls, a=brendan
Add SHORT_LIBNAME for xmlextras.dll


git-svn-id: svn://10.0.0.236/trunk@77637 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 20:20:59 +00:00
kestes%staff.mail.com
1f6edddb9e document the two tinderbox{log} variables together so we
can thing about retiring one.
fix a ugly bug in the skipping build algorithm, I had unneeded checks
add more debugging comments to generated HTML


git-svn-id: svn://10.0.0.236/trunk@77636 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 20:16:46 +00:00
kestes%staff.mail.com
988473ba4d move the two tinderbox{log} variables together so we
can thing about retiring one.


git-svn-id: svn://10.0.0.236/trunk@77635 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 20:15:34 +00:00
neeti%netscape.com
4476df3eab Checking in dp's patch for bug 50619, Cache doesn't get updated after reload. r=neeti
git-svn-id: svn://10.0.0.236/trunk@77634 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 19:48:12 +00:00
dianesun%netscape.com
b2741f0934 Fix for bug 27880. R/A: mscott, QA: laurel.
git-svn-id: svn://10.0.0.236/trunk@77633 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 19:42:58 +00:00
kin%netscape.com
15f46f6cc1 Fix for bug #35899 (Page scrolls on selecting text in position:relative div)
- Rewrote the auto-scrolling code to handle the fact that events are now passed
    directly to frames, even though the mouse is outside the window, and the frame
    is not in the clip view. The old code assumed that the viewport frame always
    caught and handled the event, which was the way it used to be.
  - AutoScroll methods now give the option of scrolling parent scrollable views.

r=jfrancis@netscape.com

Fix for bug #49467 (Spell checking not working in composer or NS 6 IM )

  - We no longer throw an error if we are trying to scroll the selection
    into view, when the selection is in a view that has no parent scrollable
    view ... we just return NS_OK and do nothing.

r=syd@netscape.com


git-svn-id: svn://10.0.0.236/trunk@77632 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 19:42:47 +00:00
brendan%mozilla.org
60a4bf738f Add pldhash.[ch], sed-translated from js/src/jsdhash.[ch].
git-svn-id: svn://10.0.0.236/trunk@77631 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 19:32:03 +00:00
brendan%mozilla.org
0207da2575 Script to NSPR-ize and 'PL-ize' jsdhash.[ch] so they fit (sort of) over in xpcom/ds.
git-svn-id: svn://10.0.0.236/trunk@77630 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 19:30:33 +00:00
harishd%netscape.com
995114ba07 Fixing a potential bustage!!!
A brace is hanging out of a debug flag

sorry


git-svn-id: svn://10.0.0.236/trunk@77629 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 19:03:15 +00:00
rhp%netscape.com
6ac0fe686d Fix for sync crash bug #: 2132 r: putterman
git-svn-id: svn://10.0.0.236/trunk@77628 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 18:51:56 +00:00
attinasi%netscape.com
899e73510a Fixed items are now removed in ReconstructDocElementHierarchy. b=42114, r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77627 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 18:51:45 +00:00
vidur%netscape.com
b68aa8a1b5 Fix for bug 50682. Regression introduced that prevented window.title from being changed. r=jst
git-svn-id: svn://10.0.0.236/trunk@77626 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 18:38:30 +00:00
harishd%netscape.com
34a0c50b1e 46702 ( nsbeta3+ ) Partial - Made token cache to be arena based.
r=vidur


git-svn-id: svn://10.0.0.236/trunk@77624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 18:22:03 +00:00
wtc%netscape.com
cca5a4445e Bugzilla bug #45223: backed out the HAVE_LONG_LONG define. The Mozilla
code is not ready for this change yet.


git-svn-id: svn://10.0.0.236/trunk@77623 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 17:12:11 +00:00
wtc%netscape.com
8a394ef6b2 Bugzilla bug #25982: renamed the new PR_PutEnv() function to PR_SetEnv()
and resurrected the original Mac-specific PR_PutEnv().
Modified files: prenv.h, prenv.c, pr/tests/env.c


git-svn-id: svn://10.0.0.236/trunk@77622 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 17:06:04 +00:00
wtc%netscape.com
434e5e9f79 Restored the correct copyright years.
git-svn-id: svn://10.0.0.236/trunk@77620 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 17:00:08 +00:00
bienvenu%netscape.com
220b1ac574 work for 25455 don't open sent mail db at startup r=putterman
git-svn-id: svn://10.0.0.236/trunk@77619 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 14:57:28 +00:00
bienvenu%netscape.com
477de4cab2 work for 25455 don't open sent mail db at startup r=putterman
git-svn-id: svn://10.0.0.236/trunk@77618 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 14:51:10 +00:00
nboyd%atg.com
2a7c228b2c Better javadoc
git-svn-id: svn://10.0.0.236/trunk@77617 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 13:41:15 +00:00
dbaron%fas.harvard.edu
b294071a4f Attempt to fix nebiros (Sun WorkShop 5.0) bustage by changing NULL to nsnull. r=scc (Fix suggested by scc.)
git-svn-id: svn://10.0.0.236/trunk@77616 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 12:32:13 +00:00
dbaron%fas.harvard.edu
74cd27348e Copy cls's hack to another makefile to fix nebiros bustage. This prevents time.h from being included on Sun's WorkShop compiler. r=scc
git-svn-id: svn://10.0.0.236/trunk@77615 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 12:29:39 +00:00
dbaron%fas.harvard.edu
83f42122bf www.mozilla.org is back, so re-adding to bloat URLs.
git-svn-id: svn://10.0.0.236/trunk@77614 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 12:17:57 +00:00
locka%iol.ie
67ce5dae91 Impl of GetCurrentURI modified to new style. b=46847, r=valeski, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77613 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 11:37:41 +00:00
locka%iol.ie
5ff2709c4c Call to GetCurrentURI modified to new style. b=46847, r=valeski, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77612 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 11:37:06 +00:00
locka%iol.ie
3173294e22 currentURI property removed from nsIDocShell. currentURI property changed to return nsIURI on nsIWebNavigation. b=46847, r=valeski, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77611 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 11:32:30 +00:00
bryner%uiuc.edu
188fb97dc5 Fixing 50628 - crash attaching a file to bugzilla on Linux. Need to cast
to the right type in QueryInterface!  r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@77610 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 08:07:12 +00:00
jst%netscape.com
57fe73c029 Checking in patch from jrgm@netscape.com that fixes warnings about bad DOM useage (part of bugs 48264 and 48161). r=me (a=ben@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@77609 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 07:41:11 +00:00
mcafee%netscape.com
8ff882f2ec mozilla.org is down, yanking that url for tonight.
git-svn-id: svn://10.0.0.236/trunk@77608 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 07:37:36 +00:00
despotdaemon%netscape.com
17b3ef72b6 Pseudo-automatic update of changes made by hewitt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@77607 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 07:23:23 +00:00
despotdaemon%netscape.com
a41573752c Pseudo-automatic update of changes made by hewitt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@77606 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 07:23:06 +00:00
despotdaemon%netscape.com
efcebacebc Pseudo-automatic update of changes made by hewitt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@77605 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 07:22:49 +00:00
cls%seawood.org
d790692684 Build fixes for BeOS. Thanks to Dan Moore <pergamon@68k.org> for the patch.
git-svn-id: svn://10.0.0.236/trunk@77604 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 07:21:31 +00:00
bryner%uiuc.edu
161b4d070d Adding windows makefile for js filepicker. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@77602 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 07:16:46 +00:00
bryner%uiuc.edu
10967b342d Adding windows makefile for the js filepicker. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@77599 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 07:15:22 +00:00
ben%netscape.com
be33f57600 back in we go
git-svn-id: svn://10.0.0.236/trunk@77598 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 07:12:40 +00:00
pinkerton%netscape.com
77130c7fc1 fix for bugscape bug 2119. menu bars were not unregistering themselves as document observers when deleted. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@77597 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 06:45:23 +00:00
sfraser%netscape.com
0ff4cb60c0 Turn off profiling, duh
git-svn-id: svn://10.0.0.236/trunk@77596 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 06:03:00 +00:00
ben%netscape.com
c5fd9b8083 going to see if this fixes coffee's orange-ness. I'm guessing not, but you never know...
git-svn-id: svn://10.0.0.236/trunk@77595 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 05:57:47 +00:00
sfraser%netscape.com
aed421ed45 Fix a bug in the Mac memory allocators which caused large heap allocations to be slow (r=beard), and tweaked the allocator sizes so that the fixed heap allocators catch some peak sizes (r=pinkerton). Also made minor tweaks to fix stats collection, and building of various testing tools.
git-svn-id: svn://10.0.0.236/trunk@77594 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 05:36:17 +00:00
ben%netscape.com
06915f45f3 tidy up makefile some more
git-svn-id: svn://10.0.0.236/trunk@77593 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 05:35:14 +00:00
rjc%netscape.com
c748b385da Fix bug # 50642: Win32 timer issue affecting FTP. r=me
git-svn-id: svn://10.0.0.236/trunk@77592 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 05:26:56 +00:00
wtc%netscape.com
4638f17bb2 Removed. The file is now mozilla/nsprpub/pr/src/memory/prgcleak.c.
git-svn-id: svn://10.0.0.236/trunk@77591 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:58:44 +00:00
bryner%uiuc.edu
1a7f7c9dee Fixing my build bustage. r=beard.
git-svn-id: svn://10.0.0.236/trunk@77590 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:44:49 +00:00
wtc%netscape.com
f1e1e80063 Removed pr/src/md/mac/prgcleak.c.
Added pr/src/memory/prgcleak.c and
pr/src/misc/prtpool.c.


git-svn-id: svn://10.0.0.236/trunk@77589 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:38:53 +00:00
jfrancis%netscape.com
0a1935e321 fix for bug 49889; r=fm
git-svn-id: svn://10.0.0.236/trunk@77588 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:33:20 +00:00
cotter%netscape.com
4f5d329897 Updated release notes for PSM 1.3.
git-svn-id: svn://10.0.0.236/trunk@77587 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:33:05 +00:00
svn%xmlterm.org
6b4f65b23e --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Renamed directory extensions/xmlterm/dist to extensions/xmlterm/distrib,
per leaf's request.


git-svn-id: svn://10.0.0.236/trunk@77586 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:31:10 +00:00
jfrancis%netscape.com
b52b4f8017 fix for bug 49889; r=fm
git-svn-id: svn://10.0.0.236/trunk@77585 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:26:55 +00:00
waterson%netscape.com
8b5ac32c6f Bug 50499. Fix FMM that was caused by DOM string changes. r=bruce
git-svn-id: svn://10.0.0.236/trunk@77584 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:21:06 +00:00
bryner%uiuc.edu
750eb38d55 Bug 50664 - string leaks in nsBaseFilePicker. Patch from beard, r=me.
git-svn-id: svn://10.0.0.236/trunk@77583 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:20:08 +00:00
ben%netscape.com
406b718c9d reorder the calls to registerChrome() for the installer scripts to fix 48205
git-svn-id: svn://10.0.0.236/trunk@77582 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:18:30 +00:00
anthonyd%netscape.com
74d7b222e6 fix for bug# 49957 (this is really mjudge checking in)
r: anthonyd


git-svn-id: svn://10.0.0.236/trunk@77581 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:13:50 +00:00
ben%netscape.com
6eb6f7cf61 reorder jars for 48205
git-svn-id: svn://10.0.0.236/trunk@77580 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:11:55 +00:00
waterson%netscape.com
a29949c169 Try to fix AIX build bustage...
git-svn-id: svn://10.0.0.236/trunk@77579 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 04:07:56 +00:00
dougt%netscape.com
d467e505a0 Finishing up on bug 47003. Test Embedding GTK Application.
git-svn-id: svn://10.0.0.236/trunk@77578 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 03:51:50 +00:00
ben%netscape.com
bfbbf58169 here we go again... 48205. Tested this time with a non-existent chrome dir, and it seems to work.
git-svn-id: svn://10.0.0.236/trunk@77577 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 03:37:22 +00:00
ben%netscape.com
a35b04b710 fix red by commenting out my change for now...
git-svn-id: svn://10.0.0.236/trunk@77576 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 03:14:39 +00:00
ben%netscape.com
95fd2c7fbc fix for build bustage
git-svn-id: svn://10.0.0.236/trunk@77575 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:58:25 +00:00
pinkerton%netscape.com
dfae98e190 better use of NS_LITERAL_STRING for perf on platforms that can use it.
git-svn-id: svn://10.0.0.236/trunk@77574 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:45:02 +00:00
cmanske%netscape.com
1cdcda78c0 nsbeta3 UI fixes: HTML source editor bugs 50034, 41869) r=sfraser, fixed Send Page commands for rcassin, changed to using value on title tag (related to 42331), List, Page Colors and other dialog cleanup (47686, 47695), r=rcassin, sfraser, ben
git-svn-id: svn://10.0.0.236/trunk@77573 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:44:18 +00:00
cmanske%netscape.com
213ac26628 nsbeta3 bug fixes: HTML source now working (50034, 41869), copy cell color after split (45279), truncate file url at '#' (48631). r=sfraser, kin
git-svn-id: svn://10.0.0.236/trunk@77572 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:44:08 +00:00
rhp%netscape.com
568a31aea9 Fix for client ID for sync - Bug #: 1586 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@77571 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:41:22 +00:00
pinkerton%netscape.com
45cd098c7a better use of NS_LITERAL_STRING to speed up platforms that benefit from it.
git-svn-id: svn://10.0.0.236/trunk@77570 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:40:19 +00:00
waqar%netscape.com
684605ecf6 d=backing out my changes, until we can figure out what version of gtk we
need to use.


git-svn-id: svn://10.0.0.236/trunk@77569 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:38:43 +00:00
pinkerton%netscape.com
a94b8185ba fix for 28309, race condition between timers firing and menus opening. thanks again to dean for providing the patch.
git-svn-id: svn://10.0.0.236/trunk@77568 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:37:27 +00:00
ben%netscape.com
80127ef794 Mac part of fix for 48205.
git-svn-id: svn://10.0.0.236/trunk@77567 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:34:49 +00:00
timeless%mac.com
9310950b69 for bug 36640 r=akk a=waterson
git-svn-id: svn://10.0.0.236/trunk@77566 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:31:42 +00:00
kestes%staff.mail.com
fc9bd848ce make legends horizontal
fix missing '/' in <>


git-svn-id: svn://10.0.0.236/trunk@77565 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:30:34 +00:00
kestes%staff.mail.com
3967105331 relax the author regexp for mozilla.org
make legends horizontal
fix missing '/' in <>


git-svn-id: svn://10.0.0.236/trunk@77564 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:30:23 +00:00
kestes%staff.mail.com
6620b8469e make legends horizontal
move structures inside <html> block


git-svn-id: svn://10.0.0.236/trunk@77563 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:28:24 +00:00
kestes%staff.mail.com
76ca72eb1d fix typo in $DB_LEGEND_BORDER
add $GLOBAL_INDEX_FILE


git-svn-id: svn://10.0.0.236/trunk@77562 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:27:38 +00:00
kestes%staff.mail.com
906a61cb37 add a standard method of writing the headers so the bots can read
them.


git-svn-id: svn://10.0.0.236/trunk@77561 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:23:59 +00:00
kestes%staff.mail.com
5a5f4fdcb8 fix bug in html missing '/' in <>
index files are new parametrized


git-svn-id: svn://10.0.0.236/trunk@77560 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:23:08 +00:00
kestes%staff.mail.com
f02995b1bb ignore_builds belongs int TinderHeader not in FileStructure
index files are new parametrized


git-svn-id: svn://10.0.0.236/trunk@77559 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:22:37 +00:00
kestes%staff.mail.com
e254bcdffa ignore_builds belongs int TinderHeader not in FileStructure
git-svn-id: svn://10.0.0.236/trunk@77558 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:20:13 +00:00
kestes%staff.mail.com
d7b0938676 fix bug in backward_compatibility()
better discription in the help file


git-svn-id: svn://10.0.0.236/trunk@77557 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:19:15 +00:00
kestes%staff.mail.com
b2413e4804 clarify comments
git-svn-id: svn://10.0.0.236/trunk@77556 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:17:19 +00:00
kestes%staff.mail.com
76840648a5 user perl from configure
git-svn-id: svn://10.0.0.236/trunk@77555 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:15:11 +00:00
kestes%staff.mail.com
c2a4a62c73 add more hints based on real users problems
git-svn-id: svn://10.0.0.236/trunk@77554 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:14:14 +00:00
mkaply%us.ibm.com
1321584f8e r=leaf, a=leaf, bad tabs in config.guess
git-svn-id: svn://10.0.0.236/trunk@77553 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:13:03 +00:00
ben%netscape.com
a98d5d8ce2 better fix for the windows part of 48205.
git-svn-id: svn://10.0.0.236/trunk@77552 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:11:06 +00:00
ben%netscape.com
e7f30d0e5c unix part of fix for 48205
git-svn-id: svn://10.0.0.236/trunk@77551 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:09:57 +00:00
rhp%netscape.com
662a4792fb Fix for crash when cancelling mail print operations - Bug #: 49280 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@77550 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:04:02 +00:00
dbaron%fas.harvard.edu
a196b6c617 Adding newline to end of file to fix HP bustage from nisheeth's checkin.
git-svn-id: svn://10.0.0.236/trunk@77549 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:55:09 +00:00
rhp%netscape.com
40ef7a5908 Fix for crash when cancelling mail print operations - Bug #: 49280 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@77548 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:51:41 +00:00
akkana%netscape.com
ec0ce4757a 50134: check offset before calling CharAt(offset-1). r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77547 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:42:27 +00:00
dbaron%fas.harvard.edu
1cb4de803c Some compilers don't like C++ comments in C files. Changing to C comments.
git-svn-id: svn://10.0.0.236/trunk@77546 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:35:07 +00:00
bienvenu%netscape.com
5c0c08d9d3 fix 31787 can't send with non-aol server after sending with aol server (meaning default smtp server didn't work r=alecf
git-svn-id: svn://10.0.0.236/trunk@77545 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:33:40 +00:00
varada%netscape.com
220334e70a Adding customized UserAgent String to the Browser all-ns.js
git-svn-id: svn://10.0.0.236/trunk@77544 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:26:39 +00:00
pinkerton%netscape.com
5f708d28e6 don't bubble the onDragOver event when we decide that the drop is allowable. This prevents it from being reset by someone else higher up the chain. r=anthonyd. bug# 47428.
git-svn-id: svn://10.0.0.236/trunk@77543 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:18:11 +00:00
leaf%mozilla.org
59c750337c adding GARBAGE_DIRS variable for clobbers... so we can have core directories
in the tree (and not have it removed during a clobber) if some developer is
foolish enough to create one.


git-svn-id: svn://10.0.0.236/trunk@77542 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:15:32 +00:00
mkaply%us.ibm.com
f2df46beb1 r=mkaply, a=brendan
Fix for OS/2 menu problem - just don't set owner on most Windows.


git-svn-id: svn://10.0.0.236/trunk@77541 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:15:17 +00:00
mcgreer%netscape.com
aaf912bcde added fingerprints to list of things dumped with cert, bug 45303
git-svn-id: svn://10.0.0.236/trunk@77540 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:07:12 +00:00
mcgreer%netscape.com
38b432fd26 moved fingerprint handling to secutil.c, see bug 45303
git-svn-id: svn://10.0.0.236/trunk@77539 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:06:00 +00:00
mkaply%us.ibm.com
70ef4ad5d1 #50212
r=brendan, a=brendan
OS/2 GCC doesn't define _M_IX86


git-svn-id: svn://10.0.0.236/trunk@77538 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:04:59 +00:00
waterson%netscape.com
e4d1aa4edd Bug 46134. Support >1 value in attribute substitution. r=rjc
git-svn-id: svn://10.0.0.236/trunk@77537 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 01:00:02 +00:00
waterson%netscape.com
cfd1f9a6a7 Bug 50381. Avoid writing invalid RDF/XML if we can't get a service; avoid trying to write the file at all if we're in XPCOM shutdown. r=rjc
git-svn-id: svn://10.0.0.236/trunk@77536 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:57:59 +00:00
waterson%netscape.com
0c65680989 Bug 50548. Handle 4th form of [6.12]. r=rjc
git-svn-id: svn://10.0.0.236/trunk@77535 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:55:46 +00:00
dbaron%fas.harvard.edu
15d4b63108 Fix the throbber and other things broken by adamlock's carpool on the 25th by updating the names of renamed constants. This will increase the leak stats on tinderbox due to animated gif leaks (bug 47098). Patch from tim@prismelite.com. r=adamlock,dbaron a=waterson b=50489
git-svn-id: svn://10.0.0.236/trunk@77534 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:50:24 +00:00
mcafee%netscape.com
74bac44b50 HTML4.0-izing about:mozilla (50470). code=gemal@gemal.dk, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@77533 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:48:25 +00:00
waqar%netscape.com
5ee44dd40b #=48907
a=kmcclusk@netscape.com
r=pavlov@netscape.com
d=Implementing CSS3 Fonts for GTK.


git-svn-id: svn://10.0.0.236/trunk@77532 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:44:15 +00:00
cmanske%netscape.com
d1d16070ca Removed descendant CSS for titledbox, b=42331. Added support for proper images for type='radio' menuitems. r=ben
git-svn-id: svn://10.0.0.236/trunk@77531 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:42:32 +00:00
akkana%netscape.com
b0dedcfb45 50078: add ^H and ^D editing bindings to the mac. r=saari
git-svn-id: svn://10.0.0.236/trunk@77530 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:38:17 +00:00
nisheeth%netscape.com
77a2d6896f - Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
authors to use ID selectors to target elements in an XML document.

- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com)


git-svn-id: svn://10.0.0.236/trunk@77529 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:35:43 +00:00
rginda%netscape.com
af987b98e6 -- CHATZILLA ONLY --
add e.preventDefault() calls to keep [tab]s from changing focus.
fixes tabcompletion.


git-svn-id: svn://10.0.0.236/trunk@77528 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:35:18 +00:00
akkana%netscape.com
16b301ce80 49401: yet another attempt to get menu access keys right.
Change the KeyPress handler to check event flags if we aren't in
  access key focuses mode (it probably should anyway).  r=saari


git-svn-id: svn://10.0.0.236/trunk@77527 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:33:58 +00:00
kestes%staff.mail.com
ebb4c0c252 Use configure script to find perl
git-svn-id: svn://10.0.0.236/trunk@77526 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:33:02 +00:00
rginda%netscape.com
410e7af544 -- CHATZILLA ONLY --
call String(obj) instead of obj.toString() to do conversion


git-svn-id: svn://10.0.0.236/trunk@77525 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:30:53 +00:00
alecf%netscape.com
f41008bca9 fix for bugscape bug #6120 - only update the pretty name if it's actually in the UI somewhere
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@77524 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:29:30 +00:00
akkana%netscape.com
879956c4c7 44372: more efficient fix, thanks to (and r=)scc
git-svn-id: svn://10.0.0.236/trunk@77523 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:25:52 +00:00
ddrinan%netscape.com
efa60c0776 Move PSM data files into psmdata directory
git-svn-id: svn://10.0.0.236/trunk@77522 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:25:49 +00:00
akkana%netscape.com
61f8c1a9e0 From scc, to help with bug 44372: add NS_NAMED_LITERAL_STRING macros. r=me
git-svn-id: svn://10.0.0.236/trunk@77521 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:24:57 +00:00
nisheeth%netscape.com
9ea409dbbf Upgrading to the latest version of expat...
git-svn-id: svn://10.0.0.236/trunk@77520 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:17:14 +00:00
waterson%netscape.com
ccea2be337 Damn. Wrong spot.
git-svn-id: svn://10.0.0.236/trunk@77519 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:16:59 +00:00
waterson%netscape.com
8623e460c6 First checked in.
git-svn-id: svn://10.0.0.236/trunk@77518 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:16:58 +00:00
racham%netscape.com
31058e2ae7 Fixing bug 6464. Moving Users50 and registry location windows to Application Data folder. Forgot to checkin in the first round. r=dveditz,ccarlen
git-svn-id: svn://10.0.0.236/trunk@77517 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:14:07 +00:00
evaughan%netscape.com
22ca9cc30d Fix for bug #43384 -r hyatt
git-svn-id: svn://10.0.0.236/trunk@77516 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:10:51 +00:00
hyatt%netscape.com
8e0776ee66 Putting fix for 42492 back in. r=ben
git-svn-id: svn://10.0.0.236/trunk@77515 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:05:59 +00:00
pavlov%netscape.com
4fbdc07fe5 fix for us not painting windows from time to time on linux bug #50606 r=blizzard
git-svn-id: svn://10.0.0.236/trunk@77514 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:56:53 +00:00
javi%netscape.com
b1856ea77e Clean up the password setting routines so that forming the URL only happens in one place.
git-svn-id: svn://10.0.0.236/trunk@77513 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:54:26 +00:00
dianesun%netscape.com
bd768a7c2c Fix for bug 39394(subscribe: STOP button needs to stop url that is running). R: putterman, A: putterman/lchiang, QA:huang.
git-svn-id: svn://10.0.0.236/trunk@77512 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:52:07 +00:00
dianesun%netscape.com
f5ed888507 Fix for bug 45964 (Clicking [x] close in "Open/Save attachment" dialog displays the "save attachment" file dialog). R: putterman, A: putterman/lchiang, QA:pmock.
git-svn-id: svn://10.0.0.236/trunk@77511 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:49:53 +00:00
ftang%netscape.com
67db9b6f2e better fix for 35004. thanks John G. Myer's patch. r=ftang
git-svn-id: svn://10.0.0.236/trunk@77510 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:48:34 +00:00
rginda%netscape.com
c6b80f4c1a adding nsIDOMWindowEventOwner to GlobalWindow.
r=vidur


git-svn-id: svn://10.0.0.236/trunk@77509 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:45:47 +00:00
racham%netscape.com
922a933a05 Fixing bug 6464. Moving Users50 and registry location on windows to Application Data folder. r=dveditz, ccarlen
git-svn-id: svn://10.0.0.236/trunk@77508 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:44:53 +00:00
racham%netscape.com
2855adcaca Fixing bug 6464. Moving Users50 and registry location on windows to Application Data folder. r=dveditz,ccarlen
git-svn-id: svn://10.0.0.236/trunk@77507 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:44:48 +00:00
ben%netscape.com
0fe31501c6 48205 for windows
git-svn-id: svn://10.0.0.236/trunk@77506 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:37:42 +00:00
varada%netscape.com
f05fee7aec fix for bug# 48439- path for panels.rdf
git-svn-id: svn://10.0.0.236/trunk@77505 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:35:42 +00:00
akkana%netscape.com
b11d3411ce 44372: Do entity conversion in attributes as well as normal content. r=harishd
git-svn-id: svn://10.0.0.236/trunk@77504 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:30:45 +00:00
cata%netscape.com
bafd5083ad Fixing a couple of warnings on Mac.
git-svn-id: svn://10.0.0.236/trunk@77503 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:29:58 +00:00
akkana%netscape.com
14fddfeab0 Fix a warning I introduced yesterday, and add a safety check
git-svn-id: svn://10.0.0.236/trunk@77502 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:29:52 +00:00
BlakeR1234%aol.com
251ba0a3be Really fix nsbeta3+ 38506 (same reviewer as before)
git-svn-id: svn://10.0.0.236/trunk@77501 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:29:24 +00:00
varada%netscape.com
92816ea4f7 fix for bug#4992 -implementing infozip to customize config.ini on all platforms
git-svn-id: svn://10.0.0.236/trunk@77500 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:27:11 +00:00
akkana%netscape.com
0b64c9d85f Fix memory leak introduced yesterday. r=harishd
git-svn-id: svn://10.0.0.236/trunk@77499 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:27:09 +00:00
waterson%netscape.com
ecdede3c42 First checked in.
git-svn-id: svn://10.0.0.236/trunk@77498 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:26:46 +00:00
despotdaemon%netscape.com
f8df6fc8f3 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@77497 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:26:01 +00:00
cata%netscape.com
6c90540b75 Fix for bug #38645 a=ftang, r=nhotta.
git-svn-id: svn://10.0.0.236/trunk@77496 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:22:09 +00:00
dbragg%netscape.com
600e722352 Fix for bug 50234. Added titlebar to the chrome flags. r=ssu
git-svn-id: svn://10.0.0.236/trunk@77495 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:15:41 +00:00
ducarroz%netscape.com
ec0ba88d87 Fix for bug 50610. Nested return value where overwritten by the fall out return value. R=benb
git-svn-id: svn://10.0.0.236/trunk@77494 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:14:04 +00:00
brendan%mozilla.org
0440304a84 Finish fixing 42221, for sure.
git-svn-id: svn://10.0.0.236/trunk@77493 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:09:47 +00:00
hyatt%netscape.com
d4727c3c15 Fix for 50668. r=dprice
git-svn-id: svn://10.0.0.236/trunk@77492 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 22:10:49 +00:00
jtaylor%netscape.com
ef09d1d30a Not part of build. Adding security regression test suite driver (mozDriver).
git-svn-id: svn://10.0.0.236/trunk@77491 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 21:50:56 +00:00
hyatt%netscape.com
05d447b636 Fix for 50691, r=anthonyd
git-svn-id: svn://10.0.0.236/trunk@77490 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 21:15:10 +00:00
cyeh%bluemartini.com
877296a776 fix for 50698: parameter for sendmail deferred mode
git-svn-id: svn://10.0.0.236/trunk@77489 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 20:10:15 +00:00
pete%alphanumerica.com
ad396e1f54 Ah! found one more undeclared variable.
r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@77488 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 20:05:19 +00:00
jfrancis%netscape.com
e0347ad4d6 disabling fix for 46554 again, in order to fix smoketest blocker 50653 et al
git-svn-id: svn://10.0.0.236/trunk@77487 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 19:55:16 +00:00
cyeh%bluemartini.com
f7368dde1b fix for 49063: no sanity checking when setting duplicate. sanity checking
is done for the dup id field, but not for the originating bug id.
now checks to see if the original bug id is valid as well, although i don't
understand how this could get corrupted in the first place


git-svn-id: svn://10.0.0.236/trunk@77486 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 18:01:07 +00:00
cyeh%bluemartini.com
a0b82a5147 fix for 38463: show_bug.cgi: colon in "keywords:" not part of link
git-svn-id: svn://10.0.0.236/trunk@77484 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 17:14:25 +00:00
cyeh%bluemartini.com
12d44ab1ad fix for 38624: "New value" column smaller than "old value" column. added an
extra "<" in FormatTriple so that old/new are the same size


git-svn-id: svn://10.0.0.236/trunk@77483 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 17:01:54 +00:00
cyeh%bluemartini.com
2cf4844efa fix for 31081: Make comment field in bug view larger.
git-svn-id: svn://10.0.0.236/trunk@77481 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 16:44:33 +00:00
blizzard%redhat.com
81a45e0e7a final bits of key and mouse listener support for the embedding widget. r=dougt, a=waterson
git-svn-id: svn://10.0.0.236/trunk@77478 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 14:43:02 +00:00
rods%netscape.com
1961c76b08 Backing out Hyatt's changes to fix breakage.
git-svn-id: svn://10.0.0.236/trunk@77476 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 13:39:18 +00:00
rods%netscape.com
5a82f60381 KeyPress events now let <ctrl<,<slt>,<meta> continue on through, which stopped commonads keys from working
Fixed a couple of off by one errors
Fixed multiple selection with shift key
Fixed focus stealing problem (ifdef'ed out code that was put in to specifically fix this problem)
Fixed div by zero
b=50024,50442,48903


git-svn-id: svn://10.0.0.236/trunk@77475 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 13:24:38 +00:00
pete%alphanumerica.com
feb303e9a6 fixing a bunch of member functions that were not returning values etc . .
that i found running in strict mode.

cleaned up some of the syntax to make Brendan happy.

r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@77474 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 13:02:02 +00:00
axel%pike.org
5920c328df Not part of build, removing CRLF cruft, part of 46640
git-svn-id: svn://10.0.0.236/trunk@77473 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 11:49:47 +00:00
hyatt%netscape.com
f8540c0649 Adjust tooltip offset. r=ben
git-svn-id: svn://10.0.0.236/trunk@77472 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 09:56:34 +00:00
hyatt%netscape.com
3aeca4e384 Fix for 43006. r=ben
git-svn-id: svn://10.0.0.236/trunk@77471 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 09:34:09 +00:00
jband%netscape.com
b0d66e0947 changed comment to show why compiler warning will not be fixed
git-svn-id: svn://10.0.0.236/trunk@77470 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:55:28 +00:00
hyatt%netscape.com
b768397018 Fix for 42492. r=ben
git-svn-id: svn://10.0.0.236/trunk@77469 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:36:50 +00:00
jband%netscape.com
9378b53868 fix bug 50445. r=shaver@mozilla.org a=brendan@mozilla.org. Thanks to Marcus G. Daniels <mgd@swarm.org> for uncovering this bug
git-svn-id: svn://10.0.0.236/trunk@77468 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:08:33 +00:00
ben%netscape.com
bec1be27b0 fix typo
git-svn-id: svn://10.0.0.236/trunk@77467 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:07:38 +00:00
hyatt%netscape.com
3bcd8b0b0c 43220. r=ben
git-svn-id: svn://10.0.0.236/trunk@77466 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:07:22 +00:00
hyatt%netscape.com
d11a90d395 Break out scrollbar bindings into their own file. r=ben
git-svn-id: svn://10.0.0.236/trunk@77465 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:06:54 +00:00
ben%netscape.com
407a827ff1 more comment fixes...
git-svn-id: svn://10.0.0.236/trunk@77464 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:05:51 +00:00
ben%netscape.com
63b893f283 fix comment
git-svn-id: svn://10.0.0.236/trunk@77463 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 08:03:50 +00:00
hyatt%netscape.com
156078a109 Checking 46330 fix back in. r=ben
git-svn-id: svn://10.0.0.236/trunk@77462 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 07:07:46 +00:00
jfrancis%netscape.com
6f1a57dbef restoring my original fix for 46554, with some additional tweaks to deal gracefully with generated content. To forgive, divine.
git-svn-id: svn://10.0.0.236/trunk@77461 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 06:37:12 +00:00
quy%igelaus.com.au
f29880f573 single shot and reusable timers for xlib. Not yet part of build. Thanks to faulkner@igelaus.com.au
git-svn-id: svn://10.0.0.236/trunk@77460 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 06:20:07 +00:00
mscott%netscape.com
885947470b back out chrome registry changes to fix smoketest machines that are crashing when launching viewer
git-svn-id: svn://10.0.0.236/trunk@77459 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 05:49:18 +00:00
jfrancis%netscape.com
27c8a2318e i'm an idiot
git-svn-id: svn://10.0.0.236/trunk@77458 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 05:43:03 +00:00
jst%netscape.com
38427c4549 Fixing memory leaks (bug 49665), found by dbaron. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77457 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 05:32:15 +00:00
mcafee%netscape.com
1b0842383d Removing editor test until we stablize exiting from the editor.
git-svn-id: svn://10.0.0.236/trunk@77456 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 05:24:08 +00:00
quy%igelaus.com.au
5313e1d244 First Checked In. Not yet part of build
git-svn-id: svn://10.0.0.236/trunk@77455 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 05:05:32 +00:00
alecf%netscape.com
5c04ca2924 fix for #50435 - Yet Another Exception thrown by an XBL widget in a dump statement
as usual, no reviewer because I'm just removing a dump()


git-svn-id: svn://10.0.0.236/trunk@77454 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 04:34:41 +00:00
morse%netscape.com
1ecf75f7e9 bug 49189, wallet tables not getting updated from netcenter, suggested by reeed, r=morse
git-svn-id: svn://10.0.0.236/trunk@77453 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 04:29:01 +00:00
nelsonb%netscape.com
4433a3b899 Change mpi-test to check the return values from most functions-under-test
explicitly for errors.


git-svn-id: svn://10.0.0.236/trunk@77452 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 04:26:23 +00:00
alecf%netscape.com
7ec61e2162 fix for #49211 - remove dump() statement that was throwing an exception
(no reviewer, just removing debugging output)


git-svn-id: svn://10.0.0.236/trunk@77451 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 04:23:00 +00:00
alecf%netscape.com
257931f78e re-fix #39016 - just a wording change, no reviewer
git-svn-id: svn://10.0.0.236/trunk@77450 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 04:08:54 +00:00
dr%netscape.com
bdb0e465aa fix for 49479, r=hyatt,ben
git-svn-id: svn://10.0.0.236/trunk@77449 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:53:25 +00:00
dp%netscape.com
6cf299315f bug 41950 Getting correct url to get updated on redirect r=mscott
git-svn-id: svn://10.0.0.236/trunk@77448 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:28:30 +00:00
dp%netscape.com
2fd7952b40 - bug 41950 Getting redirects to work. Adding in LOAD_REPLACE to channel
attributes.
- checking return value from GetCacheContentLegth()
r=mscott,neeti


git-svn-id: svn://10.0.0.236/trunk@77447 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:16:16 +00:00
dp%netscape.com
c4f5139c2f bug 41950 Preventing garbage content lengths from cache. r=neeti
git-svn-id: svn://10.0.0.236/trunk@77446 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:14:28 +00:00
jfrancis%netscape.com
0382b0103c turns out that selection code is used even when outputing an entire document (beats me why); disabling my changes so that text field output will work again.
git-svn-id: svn://10.0.0.236/trunk@77445 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:09:54 +00:00
hyatt%netscape.com
d80cd0cc17 XBL fix for walling off style (46505). r=ben
git-svn-id: svn://10.0.0.236/trunk@77444 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:08:35 +00:00
nbhatla%netscape.com
c2f8291c5a #46423 -> New Modern Skin. Fixes for navigation toolbar, removing stacks and unnecessary PNGs so that urlbar typing is faster. r=hangas, a=mscott.
git-svn-id: svn://10.0.0.236/trunk@77443 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 02:32:47 +00:00
nbhatla%netscape.com
9b7f942420 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@77442 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 02:30:28 +00:00
hyatt%netscape.com
1e13437fd0 Fix for 46330. r=ben
git-svn-id: svn://10.0.0.236/trunk@77441 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 02:30:07 +00:00
jst%netscape.com
e4cf4ee717 Fixing nsbeta3+ bug 31997. Make the global window reset the status and default status for the window when the document changes. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77440 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 02:04:44 +00:00
hyatt%netscape.com
3351bacfa4 Fix for 48261. r=ben
git-svn-id: svn://10.0.0.236/trunk@77439 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 02:03:59 +00:00
heikki%netscape.com
65e15b0ce6 Backed out a change that was not supposed to go in. This was a work-in-process for bug 8927.
git-svn-id: svn://10.0.0.236/trunk@77438 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:56:46 +00:00
brendan%mozilla.org
c7bf3b3515 Add possibly-too-verbose NS_TraceMallocDumpAllocations and its JS window-level function, for leak and bloat analysis.
git-svn-id: svn://10.0.0.236/trunk@77437 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:52:13 +00:00
rods%netscape.com
caea13f29b Moved the dispatch of the onChange to after where the property is set, this way it will have the "new" value
Removed macro impl of Set/GetSize and implemented it to notify the document that an attr has changd and the hint is reflow so when the size gets changed via script it changes size
b=50280,50436 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@77436 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:50:31 +00:00
heikki%netscape.com
19052f5fb1 Fixed bug 46085. We were not firing the select event. This is the second half of the checkin... had some problems with CVS. jst is watching this checkin. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@77435 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:47:05 +00:00
dianesun%netscape.com
1bbade0a6e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@77434 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:39:31 +00:00
sspitzer%netscape.com
9836fe3fae update my comment for correctness. r=racham@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77433 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:48:22 +00:00
endico%mozilla.org
cdf41fdd89 use big sql tables because checking keywords requires a fairly huge query
git-svn-id: svn://10.0.0.236/trunk@77432 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:46:28 +00:00
mscott%netscape.com
6029dce683 remove the -u flag to the call to zip. This causes various problems with the jar stuff.
(I just made this change to commercial earlier)


git-svn-id: svn://10.0.0.236/trunk@77431 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:45:26 +00:00
matt%netscape.com
5456ed1a26 changing description to value on tree
http://bugzilla.mozilla.org/show_bug.cgi?id=45198
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@77430 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:32:39 +00:00
jfrancis%netscape.com
ca9d9a19c5 fixing a warning
git-svn-id: svn://10.0.0.236/trunk@77429 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:31:53 +00:00
matt%netscape.com
d0a9a3f368 adding default search pref
http://bugzilla.mozilla.org/show_bug.cgi?id=44036
r=mcafee


git-svn-id: svn://10.0.0.236/trunk@77428 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:30:10 +00:00
slamm%netscape.com
939f86cd80 Fix build bustage. Remove related-panel.dtd entry. I removed the file for bug 50594.
git-svn-id: svn://10.0.0.236/trunk@77427 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:21:34 +00:00
sspitzer%netscape.com
1f6d179af6 comment to explain why we don't rename the profile's directory on disk.
(thanks to mkaply@us.ibm.com for asking why.)
r=racham@netscape.com


git-svn-id: svn://10.0.0.236/trunk@77426 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:20:59 +00:00
akkana%netscape.com
91949cbf5d Last checkin didn't fix 47309, so revert that part 'til we get a better fix
git-svn-id: svn://10.0.0.236/trunk@77425 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:18:53 +00:00
akkana%netscape.com
ce42bbb5dd Last checkin didn't fix 47309, so revert that part 'til we get a better fix
git-svn-id: svn://10.0.0.236/trunk@77424 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:17:44 +00:00
vidur%netscape.com
cabe6c06b8 Fix for bug 43902. The DOM glue now streamlines the Get/SetProperty methods for the window class. Window.location and title and document.title are now part of the idlc interfaces, rather than special-cased. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77423 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:14:23 +00:00
BlakeR1234%aol.com
b0a30d335a Fix bugs 43546 and 50397 (nsbeta3+) and 50398, r=ben on whole last checkin
git-svn-id: svn://10.0.0.236/trunk@77422 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:09:20 +00:00
ben%netscape.com
833cc0417a fix for 50370, unable to switch tabs in classic-mac
git-svn-id: svn://10.0.0.236/trunk@77421 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:08:51 +00:00
jfrancis%netscape.com
28b299f2e7 third time is the charm...
git-svn-id: svn://10.0.0.236/trunk@77420 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:07:32 +00:00
BlakeR1234%aol.com
1e687ef495 Fix bugs 43546 and 50397 (nsbeta3+) and 50398, add themes to view menu
git-svn-id: svn://10.0.0.236/trunk@77419 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:06:39 +00:00
jfrancis%netscape.com
0b8c1e6017 the end of ubercopy
git-svn-id: svn://10.0.0.236/trunk@77416 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:54:45 +00:00
tajima%eng.sun.com
b8849c3bc8 bug fixes for 49148, 43108, and 41786. r=a=pavlov@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@77415 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:48:38 +00:00
akkana%netscape.com
b7b56f122f 41868 and 45994: Call parser to determine inline vs. block. r=harishd
git-svn-id: svn://10.0.0.236/trunk@77414 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:47:11 +00:00
quy%igelaus.com.au
e205930fa0 Fixed text hilighting color problem in Xlib. By peter@igelaus.com.au
git-svn-id: svn://10.0.0.236/trunk@77413 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:46:57 +00:00
akkana%netscape.com
87b7e7419c 41868 and 45994: Add GetDTD. r=harishd
git-svn-id: svn://10.0.0.236/trunk@77412 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:46:11 +00:00
pnunn%netscape.com
33cd162931 bug#48546: animation load attributes.
git-svn-id: svn://10.0.0.236/trunk@77411 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:45:31 +00:00
pnunn%netscape.com
df91b63ded bug#48546: animation loop load attributes.
git-svn-id: svn://10.0.0.236/trunk@77410 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:45:09 +00:00
akkana%netscape.com
76d428f3cc 41868 and 45994: Expose CreateComparibleDTD. r=Harishd
git-svn-id: svn://10.0.0.236/trunk@77409 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:45:08 +00:00
quy%igelaus.com.au
e0aa233b59 Fixed text hilighting color problem in Xlib. By peter@igelaus.com.au
git-svn-id: svn://10.0.0.236/trunk@77408 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:44:30 +00:00
pnunn%netscape.com
31d3129617 bug#48546: animation loop load attributes. pnunn
git-svn-id: svn://10.0.0.236/trunk@77407 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:44:29 +00:00
akkana%netscape.com
485815f3a4 41868 and 45994: Diffs from Harish to implement CreateCompatibleDTD, r=me
git-svn-id: svn://10.0.0.236/trunk@77406 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:44:18 +00:00
attinasi%netscape.com
6ced7e5706 Fixed to handle ToInteger returning an error. b=29061 r=kmccluck@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77405 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:44:05 +00:00
pnunn%netscape.com
2b47285240 bug#48546: animation loop load atttributes. pnunn
git-svn-id: svn://10.0.0.236/trunk@77404 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:43:10 +00:00
ben%netscape.com
c792d17063 fix for 50606, add id to toolbar show/hide popup. Skinability issue.
git-svn-id: svn://10.0.0.236/trunk@77403 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:36:06 +00:00
jfrancis%netscape.com
5ab5287aa7 fix for 46554: copy should grab parent nodes if all children selected; r=sfraser
git-svn-id: svn://10.0.0.236/trunk@77402 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:35:57 +00:00
racham%netscape.com
ab5ba64e50 Removing registry update calls in the destructor and adding it at the app startup session. r=dp
git-svn-id: svn://10.0.0.236/trunk@77401 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:34:04 +00:00
attinasi%netscape.com
fdc8090531 Added some checks for null in font management of GetWidth(), and added checks to prevent divide-by-zero when GetAveCharWidth returns 0 (which it should not do but is seen in talkbacks). b=48460 r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77400 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:33:43 +00:00
pavlov%netscape.com
f552767de1 fix for crash when getting bad command line args 45074 r=smfr
git-svn-id: svn://10.0.0.236/trunk@77399 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:33:35 +00:00
ftang%netscape.com
9af146ff93 fix 35504. Do not change res if we already set a error code.
r=nhotta.


git-svn-id: svn://10.0.0.236/trunk@77398 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:31:07 +00:00
slamm%netscape.com
6ffa6a0f7b oops, use MPL instead of NPL (50594). r=mcafee. Last changes were r=mcafee too.
git-svn-id: svn://10.0.0.236/trunk@77397 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:29:54 +00:00
slamm%netscape.com
944ac5131d Use What's Related tab provided by Alexa Internet. Resolves What's Related data on a per url basis (used to be on domain only). Bug 50594.
git-svn-id: svn://10.0.0.236/trunk@77396 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:24:28 +00:00
dbaron%fas.harvard.edu
62dfa751bf Fix leak stats by calling NS_LOG_RELEASE for every release. Debug code only. r=dougt
git-svn-id: svn://10.0.0.236/trunk@77395 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:23:32 +00:00
quy%igelaus.com.au
e996cf1749 Updating xlib. Not part of build
git-svn-id: svn://10.0.0.236/trunk@77394 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:15:44 +00:00
saari%netscape.com
003c61383e Fix for 41325.
git-svn-id: svn://10.0.0.236/trunk@77393 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:14:17 +00:00
sgehani%netscape.com
38cf913077 Make INI parser handle start section tokens ('[') in values (nsbeta3+ b=2116;
r=ssu).

Also, remove obsolete files.


git-svn-id: svn://10.0.0.236/trunk@77392 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:10:21 +00:00
endico%mozilla.org
cd56782a62 Add new flavors of BSD to the list of platforms and rearrange the order of the list. Also, fix a couple of typos in the opening comments.
git-svn-id: svn://10.0.0.236/trunk@77391 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:07:33 +00:00
sgehani%netscape.com
c67489ff26 Make scrollbars work again in custom and additional windows (nsbeta3+ b=49856; r=dbragg).
Make INI parser handle start section characters ('[') in values (nsbeta3+ b=2116; r=dbragg,dveditz).


git-svn-id: svn://10.0.0.236/trunk@77390 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:06:53 +00:00
ducarroz%netscape.com
360ebabdc5 Fix for bug 50329. Don't kill autocomplete timer when user press backspace or delete. R=sspitzer
git-svn-id: svn://10.0.0.236/trunk@77389 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:06:09 +00:00
heikki%netscape.com
0ab689474b Fixed bug 46085. We were not firing the select event. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@77387 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:00:19 +00:00
BlakeR1234%aol.com
9613535ac8 The rest of the fix for bug 38506, same r=/a= (nsbeta3+)
git-svn-id: svn://10.0.0.236/trunk@77385 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:38:25 +00:00
nhotta%netscape.com
57cb8aac1d Added Latin1 CER support, bug 42221, r=rjc.
git-svn-id: svn://10.0.0.236/trunk@77384 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:37:15 +00:00
nhotta%netscape.com
3a19a1e300 Added a method to reset some states for a string detector, check in for ftang, bug 49411, r=nhotta.
git-svn-id: svn://10.0.0.236/trunk@77383 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:33:15 +00:00
nhotta%netscape.com
8f60fc2ee9 Changed to pad one more null byte after a collation key, bug 15142, r=putterman.
git-svn-id: svn://10.0.0.236/trunk@77382 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:32:01 +00:00
javi%netscape.com
62b3f5e5e6 Make the PSM project build on the tip now.
git-svn-id: svn://10.0.0.236/trunk@77380 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:30:33 +00:00
akkana%netscape.com
bc616db59e 47870: Don't copy if selection is collapsed. r=law
git-svn-id: svn://10.0.0.236/trunk@77379 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:28:56 +00:00
dbragg%netscape.com
6eb3399d07 Fix for bug 45885. The js prototype gFileSpecProto was defined locally and so was set to null. Wrong! r=sgehani
git-svn-id: svn://10.0.0.236/trunk@77378 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:26:18 +00:00
dougt%netscape.com
27d79dc82e 47003. Make the test embedding application use the chrome interfaces.
The WebBrowserChrome.cpp/h are the same as the ones in winEmbed/.


git-svn-id: svn://10.0.0.236/trunk@77377 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:22:52 +00:00
akkana%netscape.com
1935be3062 49401: Fix another place where the menu access key was getting handled without checking mAccessKeyFocuses. r=slamm
git-svn-id: svn://10.0.0.236/trunk@77376 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:21:30 +00:00
akkana%netscape.com
98e3352cf6 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@77375 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:15:03 +00:00
dougt%netscape.com
75e980fa95 Fixing 49866. Could cause a crash on opt builds that did not set the env HOME. r=adamlock@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77374 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:14:02 +00:00
javi%netscape.com
5d773501e8 Remove debugging alert
git-svn-id: svn://10.0.0.236/trunk@77373 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 21:37:13 +00:00
javi%netscape.com
1a0214c52d Whomp the MAC_SECURITY_BRANCH onto tip.
git-svn-id: svn://10.0.0.236/trunk@77372 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 21:13:06 +00:00
cyeh%bluemartini.com
63bf0c0199 fix for 40286 : strike-throughs impair readability. patch from
gervase.markham@univ.ox.ac.uk


git-svn-id: svn://10.0.0.236/trunk@77370 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 18:52:14 +00:00
cyeh%bluemartini.com
426d947e74 fix for 45118: Target milestone setup issue. patch submitted by
matty@box.net.au (Matthew Tuck). now creates a milestone entry for the
first test product


git-svn-id: svn://10.0.0.236/trunk@77369 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 18:44:28 +00:00
mcafee%netscape.com
1c749f5164 minor grammar change
git-svn-id: svn://10.0.0.236/trunk@77368 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 18:39:40 +00:00
mcafee%netscape.com
c4ef38e2af Switching to /usr/bin/perl to be consistant with other files in this project; redhat installs perl in /usr/bin/perl if anyone cares. /usr/local/bin/perl could be a link for other platforms.
git-svn-id: svn://10.0.0.236/trunk@77367 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 18:38:11 +00:00
cyeh%bluemartini.com
a53e90b876 fix for 21583: Buzilla attachments should say what kind of file they are
git-svn-id: svn://10.0.0.236/trunk@77366 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 18:29:22 +00:00
javi%netscape.com
3bf156922b Update version number in properties file for About Personal Security Manager.
git-svn-id: svn://10.0.0.236/trunk@77365 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 18:25:04 +00:00
cyeh%bluemartini.com
2e1b356b5d remove extra spaces at head of file
git-svn-id: svn://10.0.0.236/trunk@77364 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 18:20:11 +00:00
javi%netscape.com
7a95528c0d Update Version String.
git-svn-id: svn://10.0.0.236/trunk@77363 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 18:18:04 +00:00
javi%netscape.com
92a5a8fd32 Update version number in psm.rc file.
git-svn-id: svn://10.0.0.236/trunk@77362 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 18:17:14 +00:00
cyeh%bluemartini.com
83401569d2 fix for 47669: editproducts.cgi line 582 uses old $::db->query. thanks to
rwhite@collectivenet.net (Ryan White) for finding it.


git-svn-id: svn://10.0.0.236/trunk@77361 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 17:56:57 +00:00
cyeh%bluemartini.com
dcb7c1906c fix for 47790 : A bug to track which bugs Zach's bugzilla patch resolves.
patches by zach@zachlipton.com. Thanks!


git-svn-id: svn://10.0.0.236/trunk@77360 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 17:48:59 +00:00
bryner%uiuc.edu
94fc65619d Adding mousewheel support to xlib toolkit. r=quy@igelaus.com.au. Not
part of build.


git-svn-id: svn://10.0.0.236/trunk@77358 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 14:31:09 +00:00
neeti%netscape.com
00589ce8f2 applying Waterson's patch to bug 49108. r=neeti
git-svn-id: svn://10.0.0.236/trunk@77357 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 13:44:12 +00:00
rjc%netscape.com
08892fb0a2 Use .get() for Unix.
git-svn-id: svn://10.0.0.236/trunk@77356 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 09:51:42 +00:00
rjc%netscape.com
2bc4d9c086 FTP bug # 46750: don't starve UI during FTP operations by slowly pushing FTP URLs into content model on a timer. r=me
git-svn-id: svn://10.0.0.236/trunk@77355 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 09:50:20 +00:00
quy%igelaus.com.au
f05b5669dd Updating xlib. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@77354 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 08:50:03 +00:00
jfrancis%netscape.com
09a7c6aa27 fixing snafu
git-svn-id: svn://10.0.0.236/trunk@77353 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 08:40:22 +00:00
jfrancis%netscape.com
366066d723 fixes 40363, 40364: deletion bugs with tables; r=fm
git-svn-id: svn://10.0.0.236/trunk@77352 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 05:11:49 +00:00
ssu%netscape.com
5ee8c5e39e fixing bug #49742 - Eliminate failovers in generated idi. this file is not part of tinderbox builds. would affect only windows platforms. r=sgehani a=dveditz
git-svn-id: svn://10.0.0.236/trunk@77351 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 04:58:55 +00:00
ssu%netscape.com
52e3c9a384 fixing bug #49742 - Eliminate failovers in generated idi. this file is not part of tinderbox builds. would affect only windows platforms. r=sgehani a=dveditz
git-svn-id: svn://10.0.0.236/trunk@77350 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 04:46:36 +00:00
ssu%netscape.com
a055bbe503 fixing bug #49742 - Eliminate failovers in generated idi. r=sgehani a=dveditz
git-svn-id: svn://10.0.0.236/trunk@77349 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 04:43:54 +00:00
ben%netscape.com
4e6ab90b47 46613... classic skin polish. + some fixes to Advanced Edit dialog (it was broken)
git-svn-id: svn://10.0.0.236/trunk@77348 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 04:38:20 +00:00
ben%netscape.com
8d76a335b5 46613... classic skin polish.
git-svn-id: svn://10.0.0.236/trunk@77347 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 04:37:46 +00:00
rjc%netscape.com
c1411bed7a FTP bug # 46750: speed optimizations, as well as set busy cursor while FTP data is streaming in. r=me
git-svn-id: svn://10.0.0.236/trunk@77346 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 04:24:49 +00:00
cyeh%bluemartini.com
1c4a252f9d fix for 45116, typo, above should be below.
git-svn-id: svn://10.0.0.236/trunk@77345 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 04:16:18 +00:00
quy%igelaus.com.au
e643c1ff21 Updating xlib. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@77344 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 03:59:17 +00:00
quy%igelaus.com.au
21570d4f6d Updating xlib. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@77343 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 03:48:52 +00:00
morse%netscape.com
a60be6b003 bug 50157, crash when reading privacy tutorial, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@77342 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 03:10:29 +00:00
sgehani%netscape.com
38ad7de43a Remove hack now that release automation supplies $SpaceRequired$ in i
kilobytes again. part of fix for nsbeta3+b=29845; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@77341 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 02:47:35 +00:00
quy%igelaus.com.au
f7b87a9bb8 Updating xlib. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@77340 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 02:35:35 +00:00
bryner%uiuc.edu
bf8dc88dbe embedding/browser/setup was cvs removed a couple of days ago, removing the
Makefile.  r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@77339 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 01:42:45 +00:00
morse%netscape.com
95b360b386 documentation change
git-svn-id: svn://10.0.0.236/trunk@77338 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 01:28:42 +00:00
cmanske%netscape.com
1c4b50a149 Fixed switching to child selector rather than descendant for blue theme, b=42331, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@77337 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 00:04:40 +00:00
cmanske%netscape.com
687c9c3c60 Fixed getting wrong pixel/percent index for cell width. Part of bug 47691, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@77336 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 00:01:15 +00:00
cmanske%netscape.com
536d47b215 Used child selector instead of descendant selector for <titledbox><text> margin. b=42331, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@77335 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 23:50:16 +00:00
cmanske%netscape.com
caa67ff534 Remove ineffient css for text within title. Use class='label' instead. b=42331, r=ben
git-svn-id: svn://10.0.0.236/trunk@77334 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 23:42:15 +00:00
BlakeR1234%aol.com
6ae17661ae Fix 43910, minor wording change (r=me)
git-svn-id: svn://10.0.0.236/trunk@77333 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 23:13:49 +00:00
BlakeR1234%aol.com
92b2dc53df Fix 38460, minor wording change r=me, a=johng/verah
git-svn-id: svn://10.0.0.236/trunk@77332 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 23:11:38 +00:00
quy%igelaus.com.au
4108bab127 First Checked In. Not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@77331 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 23:08:26 +00:00
BlakeR1234%aol.com
74b7498e57 Fix 50461, minor wording change (r=me)
git-svn-id: svn://10.0.0.236/trunk@77330 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 23:03:44 +00:00
quy%igelaus.com.au
9c2317c496 Updating xlib. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@77329 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 22:53:11 +00:00
despotdaemon%netscape.com
f56ce592be Pseudo-automatic update of changes made by BlakeR1234@aol.com.
git-svn-id: svn://10.0.0.236/trunk@77328 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 22:11:00 +00:00
alecf%netscape.com
37b2de2169 remove some excess dump() statements that was throwing an exception and causing #50383
(no reviewer - just removal of debugging code)


git-svn-id: svn://10.0.0.236/trunk@77327 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 21:21:48 +00:00
axel%pike.org
5e5a6cf0d4 Not part of build, bringing configured Makefile up to date, removing compile warning in URIUtils.h (missing newline)
git-svn-id: svn://10.0.0.236/trunk@77326 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 17:24:05 +00:00
kvisco%ziplink.net
e2417b8e75 Not part of regular build, a=leaf. This is a fix for the last set of
integration code checked in. Moved definition of NamespaceResolver out of
this file to source/xml/NamespaceResolver.h to prevent some circular
references.


git-svn-id: svn://10.0.0.236/trunk@77325 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 06:11:56 +00:00
kvisco%ziplink.net
12d8b1e249 Not part of regular build, a=leaf. Added ifndef statement to prevent
redefinition of classes.


git-svn-id: svn://10.0.0.236/trunk@77324 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 06:00:59 +00:00
kvisco%ziplink.net
d0facab5c5 Not part of regular build, a=leaf. Added changes for standalone Linux support of Peter's latest checkins
git-svn-id: svn://10.0.0.236/trunk@77323 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 05:58:59 +00:00
dveditz%netscape.com
c151b4d671 fixing 50443, installer crash in browser.xpi. r=BlakeR1234@aol.com
git-svn-id: svn://10.0.0.236/trunk@77322 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 00:43:22 +00:00
ben%netscape.com
d1a0e4c069 forgot to commit this yesterday. fix classic skin bustage.
git-svn-id: svn://10.0.0.236/trunk@77321 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-27 00:30:42 +00:00
mcafee%netscape.com
78f6fead6e Adding editor JavaScript URL to the bloat test.
git-svn-id: svn://10.0.0.236/trunk@77320 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 23:57:19 +00:00
nelsonb%netscape.com
098b647858 Initial Checkin.
git-svn-id: svn://10.0.0.236/trunk@77319 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 23:50:58 +00:00
danm%netscape.com
522444d49a hand mScriptObject off to the JSContext when tearing down the window so it can be unrooted for GC purposes a little later, after the JS glue has had a chance to retrieve it. bug 43466 r=brendan,jst,vidur
git-svn-id: svn://10.0.0.236/trunk@77318 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 23:35:50 +00:00
danm%netscape.com
6ebc36ca5d added the ability to save a script object for unrooting from the GC in this object's destructor. bug 43466 r=brendan,jst,vidur
git-svn-id: svn://10.0.0.236/trunk@77317 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 23:32:56 +00:00
danm%netscape.com
be2b97977f new method SetRootedScriptObject. bug 43466 r=brendan
git-svn-id: svn://10.0.0.236/trunk@77316 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 23:32:52 +00:00
putterman%netscape.com
1a07a50f82 add communicatorOverlay.xul. This enables a Netscape commercial nsbeta3+ bug to be fixed. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@77315 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 23:18:54 +00:00
pete%alphanumerica.com
bc20147f63 just an update to reflect the interCaps API style changes
I also caught a small error running in js strict mode.

r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@77314 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 22:56:35 +00:00
anthonyd%netscape.com
8c8a7bb268 fix for bug# 43364
selection methods not returning meaningfull information
ie. getAnchorNode
r=mjudge


git-svn-id: svn://10.0.0.236/trunk@77313 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 21:23:25 +00:00
putterman%netscape.com
f9763ca1cd Fix for 48985. remove reference to newMessage since it's coming from an overlay. Makes Ctrl+M work. r= bienvenu.
git-svn-id: svn://10.0.0.236/trunk@77312 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 20:58:20 +00:00
putterman%netscape.com
e244160fe7 Fixes for 48246, 48985, and 20129. Fixed up enabling and disabling of 3pane menu items.
Added accelerators.  Added busy cursor around sorting, threading and folder loading. r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@77311 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 20:54:51 +00:00
bienvenu%netscape.com
5b185bb638 fix memory leak of msghdrs r=mscott
git-svn-id: svn://10.0.0.236/trunk@77310 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 20:48:27 +00:00
putterman%netscape.com
e05afdbf7f Fix for 44834. Unsubscribe works when hitting delete button or delete menu item when a
newsgroup is selected. r=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@77309 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 20:45:49 +00:00
dbaron%fas.harvard.edu
1046334a84 Adding newline to end of file to fix nebiros (SunOS/sparc 5.7) bustage from valeski's checkin.
git-svn-id: svn://10.0.0.236/trunk@77308 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 20:03:39 +00:00
mcafee%netscape.com
3e68ceace7 Backing out mailto URL, profile issues.
git-svn-id: svn://10.0.0.236/trunk@77307 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 18:43:56 +00:00
pnunn%netscape.com
963086c0bb bug#46704: chkin for syd. r: pnunn. keep single frame chrome in imgcache.
git-svn-id: svn://10.0.0.236/trunk@77306 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 18:18:25 +00:00
pnunn%netscape.com
5d46f324f5 bug#46704: chkin for syd. r:pnunn. keep single frame chrome in imgcache.
git-svn-id: svn://10.0.0.236/trunk@77305 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 18:17:25 +00:00
pnunn%netscape.com
8b23914d0a bug#46704: chkin for syd. r:pnunn. Keep single frame chrome in imgcache.
git-svn-id: svn://10.0.0.236/trunk@77304 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 18:16:02 +00:00
mcafee%netscape.com
a5ba220ecb Adding mailto: URL to bloat test.
git-svn-id: svn://10.0.0.236/trunk@77303 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 18:04:18 +00:00
dbaron%fas.harvard.edu
ee3df18507 Adding newline to end of file to fix nebiros (SunOS/sparc 5.7) bustage from valeski's checkin.
git-svn-id: svn://10.0.0.236/trunk@77302 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 17:53:09 +00:00
bryner%uiuc.edu
c4b8b44b99 Removing unused files. Not part of build. r=mkaply.
git-svn-id: svn://10.0.0.236/trunk@77301 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 16:48:13 +00:00
mkaply%us.ibm.com
10eba8a954 OS/2 Tinderbox break
One more PR_CALLBACK needed here


git-svn-id: svn://10.0.0.236/trunk@77300 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 15:08:05 +00:00
dbaron%fas.harvard.edu
b664152a7b Add newline to end of file to fix valeski's SunOS (and probably HP) bustage.
git-svn-id: svn://10.0.0.236/trunk@77299 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 14:11:45 +00:00
dbaron%fas.harvard.edu
7d1e25a838 Add newline to end of file to fix jfrancis's HP bustage.
git-svn-id: svn://10.0.0.236/trunk@77298 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 14:04:16 +00:00
locka%iol.ie
effff0024b References to nsIDocShell almost totally removed. b=46847, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77297 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 13:57:54 +00:00
locka%iol.ie
a5a07ad036 Added nsIWebBrowserSetup to query interface table. b=46847, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77296 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 13:56:50 +00:00
valeski%netscape.com
8e041a0c28 fixing mac bustage
git-svn-id: svn://10.0.0.236/trunk@77295 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 09:01:07 +00:00
valeski%netscape.com
99d2218cce fixing bustage
git-svn-id: svn://10.0.0.236/trunk@77294 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 08:15:31 +00:00
dveditz%netscape.com
e2cf5466d4 fix 47107 addFile(...,false) wrongly interpreted as one of the new mode flags
git-svn-id: svn://10.0.0.236/trunk@77293 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 08:14:40 +00:00
dveditz%netscape.com
ee57668ff9 fix dogfood bug 50390, chatzilla install won't abort and take the rest of the Mozilla install with it
git-svn-id: svn://10.0.0.236/trunk@77292 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:55:19 +00:00
dveditz%netscape.com
c51e6015c2 fix for dogfood bug 50390
git-svn-id: svn://10.0.0.236/trunk@77291 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:52:21 +00:00
valeski%netscape.com
f28abc3bdd 46775. preparing for linkage changes. these changes move class definitions into their own .h files so they can be used in other directories (not exported) for building purposes. I also utilized module/factory macros when possible
git-svn-id: svn://10.0.0.236/trunk@77290 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:37:59 +00:00
beard%netscape.com
01cc3106a5 Adding copy of "Mozilla Bloat URLs" command line file to dist. r=waterson
git-svn-id: svn://10.0.0.236/trunk@77289 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:37:16 +00:00
beard%netscape.com
8053f09b48 Mozilla Bloat URLs command line file.
git-svn-id: svn://10.0.0.236/trunk@77288 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:26:41 +00:00
mccabe%netscape.com
75a6a93183 Potential fix to 50313
Initialize stack variable to NULL on suspicion that later possibly-unset use of it is causing crash.


git-svn-id: svn://10.0.0.236/trunk@77287 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:10:31 +00:00
jst%netscape.com
f582538632 Removing unused file. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77286 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:04:38 +00:00
jst%netscape.com
4d3d8b0a10 removed files: mozilla/layout/html/content/src/nsHTMLLayerElement.cpp
git-svn-id: svn://10.0.0.236/trunk@77285 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:03:02 +00:00
jst%netscape.com
b05c03746d Removing unused code from the build. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77284 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:00:17 +00:00
waterson%netscape.com
970073800c Bug 48486. Fuse allocation of LiteralImpl objects; get rid of nsAutoString member. r=scc
git-svn-id: svn://10.0.0.236/trunk@77283 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 06:43:09 +00:00
waterson%netscape.com
1d2e80513d Bug 39944. Round auto height/width images to nearest pixel to avoid divergence. r=buster,scc
git-svn-id: svn://10.0.0.236/trunk@77282 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 06:36:42 +00:00
jst%netscape.com
acde39f78f Fixing at least part of nsbeta3+ bug 44185. Making the properties 'top', 'menubar', 'toolbar', 'locationbar' and 'personalbar' replaceable properties, this makes it possible to use those properties for other purposes in JS (4.x allows this too). r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77281 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 06:27:49 +00:00
alecf%netscape.com
9b61ff1e2a last part of fix for #40357 - in the filter list dialog, only display servers which support filters
r=putterman


git-svn-id: svn://10.0.0.236/trunk@77280 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 06:10:49 +00:00
alecf%netscape.com
8f5170f07f next part of fix for #40357 - make news and local mail not support mail filters
r=putterman


git-svn-id: svn://10.0.0.236/trunk@77279 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 06:09:48 +00:00
alecf%netscape.com
7faf809efc first part of fix for #40357 and fix for #44626:
- switch static nsCOMPtr to a raw pointer, and stop leaking it
- support the #SupportsFilters arc so that a server type can say whether or not
it supports filters.
r=putterman


git-svn-id: svn://10.0.0.236/trunk@77278 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 06:08:01 +00:00
beard%netscape.com
c1bfb40032 Fixes for bug #49510.
git-svn-id: svn://10.0.0.236/trunk@77277 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 05:37:43 +00:00
beard%netscape.com
e64f65ae09 Changes to support Universal Headers 3.3.
git-svn-id: svn://10.0.0.236/trunk@77276 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 05:37:02 +00:00
beard%netscape.com
5e031882e3 GetElementAt(), QueryInterface() -> QueryElementAt(). r=waterson
git-svn-id: svn://10.0.0.236/trunk@77275 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 05:30:45 +00:00
Peter.VanderBeken%pandora.be
27825823a4 Use getDocumentFromURI. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77274 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:56:49 +00:00
Peter.VanderBeken%pandora.be
b142f71c67 Use getDocumentFromURI. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77273 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:51:43 +00:00
Peter.VanderBeken%pandora.be
d7c2aaec06 Add getDocumentFromURI. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77272 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:51:00 +00:00
Peter.VanderBeken%pandora.be
aba36fe655 Add include. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77271 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:45:57 +00:00
Peter.VanderBeken%pandora.be
e5adf959a0 Temporary work-around for problematic typedef. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77270 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:45:02 +00:00
Peter.VanderBeken%pandora.be
aeca1747bd Correct test case. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77269 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:43:33 +00:00
Peter.VanderBeken%pandora.be
ff3d2654ec Make CopyNode namespace-aware. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77268 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:41:16 +00:00
bryner%uiuc.edu
76b362f237 This is a better fix for 42345. It should fix some of the "window opening
offscreen" problems people have been seeing.  r=blizzard.


git-svn-id: svn://10.0.0.236/trunk@77267 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:37:47 +00:00
warren%netscape.com
f6d4082ced Latest attempt. (Not in build yet.)
git-svn-id: svn://10.0.0.236/trunk@77266 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:36:57 +00:00
Peter.VanderBeken%pandora.be
3b3311a993 Update and clean-up. Not part of deafult build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77265 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:34:50 +00:00
Peter.VanderBeken%pandora.be
1d07d44786 Define a NameSpaceResolver class. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77264 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:29:09 +00:00
Peter.VanderBeken%pandora.be
980407ae7a Make ProcessorState a NameSpaceResolver. Clean up source. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77263 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:28:28 +00:00
Peter.VanderBeken%pandora.be
9f2a581e92 Adapt for hash table changes. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77262 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:20:14 +00:00
ftang%netscape.com
88d1b7d7af fix bug 49262. for Unicode to ISO-2022-JP. Use the JISx0201 GL table
so it won't generate JIS x0201 GR
r=nhotta


git-svn-id: svn://10.0.0.236/trunk@77261 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:15:34 +00:00
Peter.VanderBeken%pandora.be
e94ed9e7ba Correct ToCharArray. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77260 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:13:21 +00:00
Peter.VanderBeken%pandora.be
5f5df047bd Adapt to better suit wrapper's needs. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77259 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:06:39 +00:00
Peter.VanderBeken%pandora.be
a0df62ad43 Major update to the wrapper classes and clean-up of source. Not part of default build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@77258 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:05:28 +00:00
jfrancis%netscape.com
84db5fa624 fixes bugs 46782,50161,48643,49266,49265,46395;
groundwork for bugs 47931,49952;
r=fm


git-svn-id: svn://10.0.0.236/trunk@77257 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:03:50 +00:00
Peter.VanderBeken%pandora.be
d4179141b1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@77256 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 04:01:01 +00:00
BlakeR1234%aol.com
d7cff36ebf Remove menu separator, part of nsbeta3+ 50397
git-svn-id: svn://10.0.0.236/trunk@77255 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:36:38 +00:00
ben%netscape.com
87061ac769 update manifests
git-svn-id: svn://10.0.0.236/trunk@77254 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:29:56 +00:00
mkaply%us.ibm.com
4527480981 OS/2 Tinderbox break
Close but no cigar :) ndef XP_OS2 to avoid the DBCSLeadByte, but we need to avoid the windows.h include as well


git-svn-id: svn://10.0.0.236/trunk@77253 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:28:27 +00:00
ben%netscape.com
cc89201ef2 48205
git-svn-id: svn://10.0.0.236/trunk@77252 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:20:44 +00:00
jband%netscape.com
1dd017df41 finish fix to bug 49748. Remove redundant (and too early) call to XPTI_FreeInterfaceInfoManager. This was causing first run crashes after the primary fix to this bug. r=shaver@mozilla.org a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@77251 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:19:23 +00:00
kmcclusk%netscape.com
3513db5553 Added check to 8-bit blender code for null cmap.map to fix blender crash on Linux(p=afranke@ags.uni-sb.de) b=17356 r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77250 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:19:12 +00:00
ben%netscape.com
4b42ebcf86 hook up XBL tab control widget required for 46613...
git-svn-id: svn://10.0.0.236/trunk@77249 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:14:49 +00:00
ben%netscape.com
a5c543d45e 46613...
git-svn-id: svn://10.0.0.236/trunk@77248 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:14:13 +00:00
morse%netscape.com
0da2604479 bug 48808, add missing period, patch=walk84, r=morse
git-svn-id: svn://10.0.0.236/trunk@77247 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:08:19 +00:00
mscott%netscape.com
6ccdee26e2 Bug #50126 --> fix a typo for a comment that goes in the log file. Thanks to gemal@gemal.dk for contributing the patch.
r=a=mscott


git-svn-id: svn://10.0.0.236/trunk@77246 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:06:08 +00:00
ben%netscape.com
d485e15c79 fix throbber, 46613
git-svn-id: svn://10.0.0.236/trunk@77245 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:01:51 +00:00
ben%netscape.com
27d7fc8fa0 46613, more of the same.
git-svn-id: svn://10.0.0.236/trunk@77244 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 03:00:51 +00:00
beard%netscape.com
d3ab0dc399 fix for bug #49240.
git-svn-id: svn://10.0.0.236/trunk@77243 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:58:29 +00:00
mscott%netscape.com
2fbaba5e88 Bug #44253 --> if a docshell doesn't have a parent content listener then change
the default for IsPreferred to return the value of CanHandle. This makes it
easier for content developers to use browser and iframe tags since they don't
have to implement nsIURIContentListener explicilty to get correct
loading behavior.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@77242 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:52:09 +00:00
rjc%netscape.com
d426a1aef1 Fix bug # 49495: bookmark parser optimizations. r=waterson
git-svn-id: svn://10.0.0.236/trunk@77241 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:52:08 +00:00
mscott%netscape.com
79e32b826b Bug #44832 --> view all header mode polish fixes. Add indentation, fix problem
where there were no commas after email recipients. allow header values in the
all header view to wrap. eat any \r or \n characters before showing a header.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@77240 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:50:40 +00:00
ben%netscape.com
ef5930af22 46613, classic skin polish
git-svn-id: svn://10.0.0.236/trunk@77239 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:32:25 +00:00
brendan%mozilla.org
e85122f78b Clean up JSObjectOps layering violations by adding mark and clear ops; JSClass gets a corresponding mark op so classes with unregistered roots in private data can mark them. The JS API gets a new JS_MarkGCThing entry point for JSObjectOps.mark implementors. Prerequisite check-in for bug 49816 and others (r=shaver).
git-svn-id: svn://10.0.0.236/trunk@77238 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:30:22 +00:00
beard%netscape.com
352c1b46e1 Added MOZ_COUNT_CTOR/DTOR to track leaks.
git-svn-id: svn://10.0.0.236/trunk@77237 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:28:51 +00:00
BlakeR1234%aol.com
a8b514320e Adding email address to contributors section (from last checkin) per request to do so for licensing reasons.
git-svn-id: svn://10.0.0.236/trunk@77236 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:28:47 +00:00
putterman%netscape.com
af9b4929cd Fix for 49480. And/or works in search and filters r=alecf,mscott
git-svn-id: svn://10.0.0.236/trunk@77235 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:06:25 +00:00
brendan%mozilla.org
deff25d80d Lazily define escape and unescape (via js_InitStringClass) only #ifndef MOZILLA_CLIENT, because the DOM must predefine backward-compatible versions of these functions that 'stick' (42221, r=mccabe).
git-svn-id: svn://10.0.0.236/trunk@77234 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:05:41 +00:00
BlakeR1234%aol.com
54e3166e29 Fix bug 27289, right clicking on the scrollbar thumb shouldn't show a context menu. r=law a=brendan
git-svn-id: svn://10.0.0.236/trunk@77233 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 01:56:17 +00:00
BlakeR1234%aol.com
81fcc1a5ff Fix bug 50178, hover style for PT bookmarks button should match that of other PT buttons. r=nbhatla a=brendan
git-svn-id: svn://10.0.0.236/trunk@77232 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 01:49:57 +00:00
BlakeR1234%aol.com
1af82369a5 Fix bug 38506, the user shouldn't be able to select the text of buttons. r=mjudge, a=nsbeta3+/PDT must fix
git-svn-id: svn://10.0.0.236/trunk@77231 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 01:45:46 +00:00
mccabe%netscape.com
aa91430462 Fix to 39141.
Check for empty element case in array literals ( first element in [,'foo'] ) now uses the next token instead of the previous one when constructing the node, so the first element gets TOK_COMMA instead of TOK_LB.

This fixes a crash from previously accepted JS.

r=rogerl


git-svn-id: svn://10.0.0.236/trunk@77230 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 01:44:35 +00:00
valeski%netscape.com
aab1fbf825 NOT PART OF BUILD. Updating comments for file migration script
git-svn-id: svn://10.0.0.236/trunk@77229 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 01:23:43 +00:00
wtc%netscape.com
46d47598d4 Bugzilla bug #50386: fixed PR_Sleep so that it won't return uninitialized
variable.  Thanks to Fred Batty <fredb@iplanet.com> for reporting the bug.


git-svn-id: svn://10.0.0.236/trunk@77228 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 00:55:20 +00:00
warren%netscape.com
61e28f2e2c Updated installer to put jar: urls into installed-chrome.txt file. Removed necko dependency.
git-svn-id: svn://10.0.0.236/trunk@77227 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 22:57:46 +00:00
warren%netscape.com
f70d26a8e8 Fixed case where chrome selection was failing because the package wasn't yet installed.
git-svn-id: svn://10.0.0.236/trunk@77226 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 22:51:10 +00:00
javi%netscape.com
5857966558 Make PSM smart enough to only display S/MIME information when it's talking to
an agent that we know takes advantage of S/MIME reatures.


git-svn-id: svn://10.0.0.236/trunk@77225 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 22:37:34 +00:00
jj%netscape.com
03e042d43b fixed location of nsIWebBrowserSetup.idl - r=leaf
git-svn-id: svn://10.0.0.236/trunk@77224 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 22:13:23 +00:00
locka%iol.ie
bc4df51004 API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77223 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 21:03:26 +00:00
warren%netscape.com
68ef9d0b36 Fixed comments.
git-svn-id: svn://10.0.0.236/trunk@77221 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 19:53:02 +00:00
warren%netscape.com
f44cc84b6f Fixed to pick up perl from the path (need perl 5.005, or the ActiveState perl now).
git-svn-id: svn://10.0.0.236/trunk@77220 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 19:52:53 +00:00
locka%iol.ie
f4624c1430 API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77219 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 19:32:05 +00:00
ccarlen%netscape.com
d6851af40d for adamlock removing obsolete file
bug #46847


git-svn-id: svn://10.0.0.236/trunk@77217 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 19:02:25 +00:00
warren%netscape.com
e7f98a07de Changes for jar packaging.
git-svn-id: svn://10.0.0.236/trunk@77216 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:55:53 +00:00
warren%netscape.com
9150b2ba3e Turning on jar packaging by default. Set MOZ_DISABLE_JAR_PACKAGING to disable.
git-svn-id: svn://10.0.0.236/trunk@77215 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:54:19 +00:00
warren%netscape.com
b8f243ef1f Bug 15623. Fixed registration of nsKeygenHandler.
git-svn-id: svn://10.0.0.236/trunk@77214 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:48:50 +00:00
locka%iol.ie
09805179ae API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
ccarlen%netscape.com
5816aeb196 Adding a file which was moved
For adamlock
bug #46847


git-svn-id: svn://10.0.0.236/trunk@77212 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:38:35 +00:00
locka%iol.ie
234f8c4d13 Removed setup folder. API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77211 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:20:25 +00:00
ccarlen%netscape.com
ea97ce6e9d Removed an access path which doesn't exist anymore.
For adamlock changes - bug# 46847


git-svn-id: svn://10.0.0.236/trunk@77210 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:20:01 +00:00
despotdaemon%netscape.com
51a0439542 Pseudo-automatic update of changes made by prass@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@77209 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:00:48 +00:00
nbhatla%netscape.com
f825d9a1ec #46423 -> New Modern Skin Polish. Fixed jar.mn file. sorry warren.
git-svn-id: svn://10.0.0.236/trunk@77208 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 17:28:28 +00:00
kestes%staff.mail.com
baa595a559 must use HTMLPopUp::escapeURL on all arguments to bonsai.
git-svn-id: svn://10.0.0.236/trunk@77207 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 16:41:10 +00:00
sgehani%netscape.com
56101b376b Convert to kb for $SpaceRequired$.
[nsbeta3+ b=29845i; not part of tbox build]


git-svn-id: svn://10.0.0.236/trunk@77206 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 15:16:07 +00:00
rods%netscape.com
bd47515025 changed mozoutline to -moz-outline
b=48973 r=ianh


git-svn-id: svn://10.0.0.236/trunk@77205 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 14:28:22 +00:00
morse%netscape.com
17501adde3 fix up jar file
git-svn-id: svn://10.0.0.236/trunk@77204 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 14:18:43 +00:00
rods%netscape.com
332051d33f New arg passes whether the default size is being used or whether it is explicitly set.
This enabled the text field to shrink if necessary in some situations (i.e. table cell precentages)
b=40596 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@77203 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 13:29:24 +00:00
rods%netscape.com
545c8c6a7e Only let left btn clicks through for popping up the dialog
b=49904 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@77202 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 13:25:50 +00:00
rods%netscape.com
034398419f Added a lot of asserts to help debug any potential problems, check for nullcontent
moved up to GetPrimaryFrameFor doesn't get called with a null content
b=49993 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@77201 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 13:12:59 +00:00
mccabe%netscape.com
798b4759ba Fix to 49416.
Emit NS_NO_VTABLE in xpidl-generated interface files.  NS_NO_VTABLE is defined in nsISupportsUtils.h, and on windows generates __declspec(novtable).

This saves us some code space, and may also be a runtime win.

Initial version of this fix courtesy Adam Lock <adamlock@netscape.com>.

r=jband
a=beard


NOTE this change will cause the world to recompile.


git-svn-id: svn://10.0.0.236/trunk@77200 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 09:58:35 +00:00
rjc%netscape.com
be9203e60d Add "dont-test-empty" flag to bookmarks window/panel for tree speed optimization, as well as fix bug with empty folders.
git-svn-id: svn://10.0.0.236/trunk@77199 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 09:27:54 +00:00
quy%igelaus.com.au
f39094385d Updating xlib. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@77198 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 09:25:53 +00:00
ftang%netscape.com
49a4453d27 add JIS0201 GL table. We need this because ISO-2022-JP can only encode the GL
part of JIS0201. part of the fix of 49262. Not part of the build yet.
The table is machine generated, r=ftang


git-svn-id: svn://10.0.0.236/trunk@77197 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 08:56:17 +00:00
leaf%mozilla.org
da121e1101 Automated update
git-svn-id: svn://10.0.0.236/trunk@77196 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 08:45:08 +00:00
sgehani%netscape.com
d8800eab26 Rename libzlib -> libz complying with standard zlib naming convention.
[nsbeta3+ b=49735; r=sobotka@axess.com]


git-svn-id: svn://10.0.0.236/trunk@77195 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 08:32:19 +00:00
ftang%netscape.com
16518d2f5d fix 50072. move the order of kCharsetFromAutoDetect higher than kCharsetFromCache
and kCharsetFromBookmark


git-svn-id: svn://10.0.0.236/trunk@77194 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 07:48:50 +00:00
quy%igelaus.com.au
9f169b01ca First Checked In. Not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@77193 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 07:22:28 +00:00
hyatt%netscape.com
b2ee7efd22 Move go button outside url bar. r=ben
git-svn-id: svn://10.0.0.236/trunk@77192 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 07:11:10 +00:00
hyatt%netscape.com
a7204fd5ae Blew away my bug fix for the Go button, dammit.
git-svn-id: svn://10.0.0.236/trunk@77191 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 07:08:36 +00:00
hyatt%netscape.com
1223d25850 Fix for 50044, 47861, 47471, r=ben
git-svn-id: svn://10.0.0.236/trunk@77190 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 07:01:53 +00:00
beard%netscape.com
5f4523e2d0 Monitoring nsCParserNode leaks. r=warren
git-svn-id: svn://10.0.0.236/trunk@77189 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 06:41:42 +00:00
ben%netscape.com
570374656f the best fix for 49825, code from bryner, r=myself.
git-svn-id: svn://10.0.0.236/trunk@77188 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 06:41:05 +00:00
waterson%netscape.com
5cffcba70e Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@77187 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 06:22:13 +00:00
waterson%netscape.com
9df49dc106 Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst
git-svn-id: svn://10.0.0.236/trunk@77186 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 06:03:49 +00:00
timeless%mac.com
4e3c648eb8 Second live testcase, it seems that tinderbox normally would show building.
Quickparse doesn't recognize this, so it shows busted.


git-svn-id: svn://10.0.0.236/trunk@77185 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 06:02:13 +00:00
bryner%uiuc.edu
014f93ebc5 Turning off ctrl+mousewheel text zooming by default. It's not properly
synced up with the text size menu, and feedback seems to indicate that
it's extraneous and/or prone to accidental firing.  I would like to rework
this at some point, but getting it off the beta3+ radar for now.  Bug
45647.


git-svn-id: svn://10.0.0.236/trunk@77184 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 05:59:11 +00:00
timeless%mac.com
53ee72d1f6 Not part of the build, Tinderbox.pm is giving bad output due to bad input from http://tinderbox.mozilla.org/showbuilds.cgi?tree=SeaMonkey-Ports&quickparse=1
This file will be used to debug the functions found in showbuilds.cgi and tbglobals.pl


git-svn-id: svn://10.0.0.236/trunk@77183 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 05:40:22 +00:00
morse%netscape.com
579a2cfcb4 putting back change that was backed out unnecessarily
git-svn-id: svn://10.0.0.236/trunk@77182 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 05:36:52 +00:00
nbhatla%netscape.com
fe3c937345 #46423 -> New Modern Skin Polish. CSS/XBL to accompany the many new modern skin graphics I checked in earlier today. The modern skin will be polished even further in the coming weeks.
git-svn-id: svn://10.0.0.236/trunk@77181 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 05:25:46 +00:00
ben%netscape.com
b8f6edabd4 this orange could be mine...
git-svn-id: svn://10.0.0.236/trunk@77180 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 05:08:03 +00:00
nbhatla%netscape.com
aef613f264 #46423 -> Modern Skin Polish
git-svn-id: svn://10.0.0.236/trunk@77179 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:59:38 +00:00
nbhatla%netscape.com
af88a619a7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@77178 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:59:14 +00:00
dprice%netscape.com
3125bea6a7 Making the protocol handler threadsafe for win2K happiness
git-svn-id: svn://10.0.0.236/trunk@77177 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:56:01 +00:00
rpotts%netscape.com
67182d89b5 bug #48546. THe HTTPPipelinedRequest now sets the load attributes on the socket transport before sending the request...
git-svn-id: svn://10.0.0.236/trunk@77176 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:50:25 +00:00
rpotts%netscape.com
5ad6658b49 bug #48546. THe HTTPChannel now sets the load attributes on the cache channel before reading...
git-svn-id: svn://10.0.0.236/trunk@77175 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:49:25 +00:00
rpotts%netscape.com
8706dbf287 bug #48546. SocketTransport now obeys the LOAD_BACKGROUND flag and will not call the nsIProgressEventSink.
git-svn-id: svn://10.0.0.236/trunk@77174 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:43:48 +00:00
warren%netscape.com
64bb4b5cb7 Updating rules.mak to have a 'chrome' target. Set JAR_PACKAGING to build with jar files.
git-svn-id: svn://10.0.0.236/trunk@77173 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:42:47 +00:00
morse%netscape.com
41f1d051f1 backing out change to see if it fixes the hang-on-startup on unix boxes
git-svn-id: svn://10.0.0.236/trunk@77172 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:42:34 +00:00
warren%netscape.com
311e08db86 Fixed file copy loop to work for binary files.
git-svn-id: svn://10.0.0.236/trunk@77171 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:38:43 +00:00
beard%netscape.com
3f71c910bb monitoring nsBoxSizeListNodeImpl and nsBoxSizeListImpl leaks. r=warren
git-svn-id: svn://10.0.0.236/trunk@77169 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:21:18 +00:00
beard%netscape.com
aa7c0f8767 need a virtual destructor. r=evaughan
git-svn-id: svn://10.0.0.236/trunk@77168 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 04:20:30 +00:00
morse%netscape.com
95b6f31990 minor wording change
git-svn-id: svn://10.0.0.236/trunk@77167 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 03:23:01 +00:00
timeless%mac.com
e1d21627e8 Removing pref-proxies.dtd and pref-proxies.xul from builds they seem to be unused. r=ben a=brendan
git-svn-id: svn://10.0.0.236/trunk@77166 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 03:18:15 +00:00
brendan%mozilla.org
358cfb3146 Macro-ize FPU mode fixing and do it on ever js_InitNumberClass; also, simplify #ifdefs to unify OS2 with XP_PC && _M_IX86 case (50212, r=mkaply@us.ibm.com).
git-svn-id: svn://10.0.0.236/trunk@77165 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 03:14:50 +00:00
morse%netscape.com
99c3dc55a3 bug 50254, remove call from apprunner to wallet, found by pavlov, r=morse
git-svn-id: svn://10.0.0.236/trunk@77164 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 03:08:21 +00:00
saari%netscape.com
2b671b1270 Fix for 49918
git-svn-id: svn://10.0.0.236/trunk@77163 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:51:26 +00:00
bienvenu%netscape.com
8096a38e0d fix build warning
git-svn-id: svn://10.0.0.236/trunk@77162 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:50:22 +00:00
nbhatla%netscape.com
caa353557d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@77161 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:50:07 +00:00
nbhatla%netscape.com
1fce34943d #46423 -> Modern skin Update
git-svn-id: svn://10.0.0.236/trunk@77160 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:49:40 +00:00
ben%netscape.com
0764a2294f testing lock
git-svn-id: svn://10.0.0.236/trunk@77159 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:46:47 +00:00
bienvenu%netscape.com
83bc21465d fix problems deleting imap folders, and aol imap trash view, r=mscott 50232 11689 33217
git-svn-id: svn://10.0.0.236/trunk@77158 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:45:36 +00:00
mozilla.BenB%bucksch.org
c67b0b3bd4 47005: Remove buffersize guessing and use nsString instead.
46653: Position the real <space> /after/ %nbsp;. Factor out and encapsulate the whitespace conversion logic into an (exported) function.
r=rhp, a=waterson


git-svn-id: svn://10.0.0.236/trunk@77157 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:40:57 +00:00
pinkerton%netscape.com
a3765ac1c8 include InternetConfig library to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@77156 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:39:44 +00:00
nbhatla%netscape.com
929f6d5e52 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@77155 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:28:47 +00:00
pinkerton%netscape.com
fe5e911825 restructure xp picker to better reuse filtering code. implement filtering on macOS for navServices < 2.0 (bug 43932)
git-svn-id: svn://10.0.0.236/trunk@77154 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:17:53 +00:00
BlakeR1234%aol.com
cfe6fc05fb Fix bug 46822, make home prefs save properly r=ben a=brendan
git-svn-id: svn://10.0.0.236/trunk@77153 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:02:19 +00:00
pinkerton%netscape.com
9f8ab64b73 fix "selectedIndex" attribute with templates (help from Jan Varga). bug# 49985. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@77152 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 02:01:25 +00:00
pinkerton%netscape.com
d52d839d6d access keys no longer execute the command when item is disabled (bug 47006)
git-svn-id: svn://10.0.0.236/trunk@77151 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:59:53 +00:00
pinkerton%netscape.com
8727ea81f8 export filepicker.properties for file picker filters on mac. bug# 43932
git-svn-id: svn://10.0.0.236/trunk@77150 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:57:34 +00:00
jst%netscape.com
65422a4e46 Fixing nsbeta3+ bug 49548. Making the 'type' property on input elements default to 'text', and making the 'type' property of button elements be all lowercased. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77149 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:57:28 +00:00
pinkerton%netscape.com
b1e7d4006f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@77147 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:56:39 +00:00
bienvenu%netscape.com
ed3c8d9bc7 fix 50059 subscribing to newsgroups in new profile not working r=mscott
git-svn-id: svn://10.0.0.236/trunk@77146 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:52:12 +00:00
mscott%netscape.com
346864c9d3 Bug #27048 --> implement nsIHTTPEventSink
r=valeski


git-svn-id: svn://10.0.0.236/trunk@77145 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:46:00 +00:00
bienvenu%netscape.com
a9772e1b8c fix 48512 subscribed newsgroups lost after restart r=alecf
git-svn-id: svn://10.0.0.236/trunk@77144 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:44:53 +00:00
rcassin%supernova.org
38dfcf3d7c A fix for #47510: Font set ordering for Helvetica/Arial is problematic - r=akk
git-svn-id: svn://10.0.0.236/trunk@77143 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:38:13 +00:00
mscott%netscape.com
34fc1931c1 Bug #27048 --> implement nsIHTTPEventSink
r=valeski


git-svn-id: svn://10.0.0.236/trunk@77142 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:32:40 +00:00
akkana%netscape.com
881e66c24c Argh -- fix more windows bustage
git-svn-id: svn://10.0.0.236/trunk@77141 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 00:46:16 +00:00
sgehani%netscape.com
c408f1d463 Add disk space checking. [nsbeta3+ b=29845; r=ssu,dbragg]
git-svn-id: svn://10.0.0.236/trunk@77140 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 00:45:41 +00:00
pavlov%netscape.com
dff0e963e1 fix for crash when using invalid command line parameters that cause the app to exit before initializing nsAppShell bug 45074 r=smfr
git-svn-id: svn://10.0.0.236/trunk@77139 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 00:38:28 +00:00
mozilla.BenB%bucksch.org
7c93970b86 Workaround for bug 50217: Add an icon per default, so the buttons won't have a chance to move.
git-svn-id: svn://10.0.0.236/trunk@77138 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 00:23:59 +00:00
hyatt%netscape.com
94aee537b8 Fix for 46505. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@77137 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 00:19:38 +00:00
akkana%netscape.com
6f9c06c214 Oops, fix build bustage
git-svn-id: svn://10.0.0.236/trunk@77136 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 00:13:50 +00:00
BlakeR1234%aol.com
3cb5294606 Fix bug 35233, Stop on the context menu needs to be disabled at the appropriate times. r=jrgm a=brendan
git-svn-id: svn://10.0.0.236/trunk@77135 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 23:51:44 +00:00
akkana%netscape.com
927029d204 49401: alt should not focus menubar in linux
49662: Mnemonics don't work beyond the top level
50046: underlines shouldn't be present when no menu access key
49413: moz grabs keypresses not mean for it
43433: Solaris meta keybindings
  r=saari


git-svn-id: svn://10.0.0.236/trunk@77134 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 23:39:39 +00:00
mcafee%netscape.com
1ee5638728 Minor tweaks
git-svn-id: svn://10.0.0.236/trunk@77133 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 23:33:04 +00:00
ben%netscape.com
536851387b fix for 49825, choose file button in new helper application dialog does not work on linux.
git-svn-id: svn://10.0.0.236/trunk@77132 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 23:30:29 +00:00
morse%netscape.com
4ca15245fc minor wording change
git-svn-id: svn://10.0.0.236/trunk@77131 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 23:07:40 +00:00
edburns%acm.org
303b6a67e4 Add lib directory to -L line.
git-svn-id: svn://10.0.0.236/trunk@77129 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 23:03:34 +00:00
rpotts%netscape.com
cbb475cc52 bug #48546. Implement Get/SetLoadAttributes(...)
git-svn-id: svn://10.0.0.236/trunk@77128 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:56:41 +00:00
rpotts%netscape.com
3a6bfa541f bug #48546. The cache channel should delegate the handling of load attributes to the cache channel (ie. disk/memory channel)...
git-svn-id: svn://10.0.0.236/trunk@77127 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:54:45 +00:00
endico%mozilla.org
e24664c212 fixing breakage from previous change
git-svn-id: svn://10.0.0.236/trunk@77126 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:43:47 +00:00
sgehani%netscape.com
7364f03e45 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@77125 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:40:13 +00:00
warren%netscape.com
f82c91fd02 Changed to not add to load group on OpenInputStream
git-svn-id: svn://10.0.0.236/trunk@77123 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:35:46 +00:00
endico%mozilla.org
0ea1c8178d Stop labeling charset of each page since this label might be wrong. Tao Cheng says: "By default, the Browser assumes incoming pages w/o charset labelling are in iso-8859-1. Explicit labelling prevents the users from manually switching it to other view charset."
git-svn-id: svn://10.0.0.236/trunk@77122 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:29:52 +00:00
shanjian%netscape.com
23c9d69e76 #49559 JPN characters disappear at the beginning of a line
ra=ftang
the problem is because the text segments array is indexed out of its legal range.


git-svn-id: svn://10.0.0.236/trunk@77121 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:25:44 +00:00
ruslan%netscape.com
58c4022e44 Fix large posts - 47936, a/r=gagan
git-svn-id: svn://10.0.0.236/trunk@77120 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:18:33 +00:00
jst%netscape.com
0355b8a4c9 Fixing AIX and SunOS 5.7 bustage. r=scc&vidur
git-svn-id: svn://10.0.0.236/trunk@77119 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:17:25 +00:00
ruslan%netscape.com
2bd4d36b4b Fix string buffer overrun - 50148
git-svn-id: svn://10.0.0.236/trunk@77118 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:15:32 +00:00
edburns%acm.org
e4cefe435f bug=36212, bustage
r,a=HurricaneSherrif
This checkin fixes a problem using the ?: operator and nsCOMPtr.


git-svn-id: svn://10.0.0.236/trunk@77117 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 21:48:01 +00:00
saari%netscape.com
5e89116442 Fix for bug 48243, modifiers not sent with oncommand event. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@77116 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 21:28:22 +00:00
shanjian%netscape.com
c14deeb485 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
ra=ftang
new fix which only apply to word jump.


git-svn-id: svn://10.0.0.236/trunk@77115 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 21:15:19 +00:00
shanjian%netscape.com
fe5d7f0d42 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
ra=ftang
a new fix which changes only apply to word jump.


git-svn-id: svn://10.0.0.236/trunk@77114 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 21:13:18 +00:00
edburns%acm.org
a0a5a4c191 bug=36212, bustage
r,a=waterson
This checkin fixes a problem using the ?: operator and nsCOMPtr.


git-svn-id: svn://10.0.0.236/trunk@77113 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:56:40 +00:00
akkana%netscape.com
f21e5a830e Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@77112 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:52:44 +00:00
sfraser%netscape.com
cc06073c96 Kill a printf that would fire when typing in textareas. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@77111 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:31:58 +00:00
mkaply%us.ibm.com
b04820f73f #50203
r=mkaply, a=brendan
Patch from pedemont - xptcstubs didn't handle one parameter correctly


git-svn-id: svn://10.0.0.236/trunk@77110 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:20:49 +00:00
tajima%eng.sun.com
2b15876306 bugzilla=49671, a=waterson, r=katakai
git-svn-id: svn://10.0.0.236/trunk@77109 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:16:50 +00:00
tajima%eng.sun.com
9e96b9e414 bugzilla=43108, a=waterson, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@77108 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:14:58 +00:00
tao%netscape.com
2b4762c54f 2097: take out chrome:locales:* from browser.xpi.r=nhotta,a=ftang.
git-svn-id: svn://10.0.0.236/trunk@77107 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:14:46 +00:00
mscott%netscape.com
cf2efa196b Bug #47681 --> forgot to make these same changes to the mac classic .css file.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@77106 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:14:32 +00:00
akkana%netscape.com
25a688b8a7 Changes to go along with the last checkin for 46333 etcc
git-svn-id: svn://10.0.0.236/trunk@77105 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:57:54 +00:00
gagan%netscape.com
e4b1497b26 We now report status error along with the "Error loading URL" This will help us catch the reason of unsuccessful URL loads. See bug 48900 for details. r=warren
git-svn-id: svn://10.0.0.236/trunk@77104 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:56:11 +00:00
waterson%netscape.com
579ee87174 Bug 46043. Be sure to clear m[Left|Right]Floaters when 0 == mCount. r=buster
git-svn-id: svn://10.0.0.236/trunk@77103 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:55:11 +00:00
roc+%cs.cmu.edu
2c4e622f22 Bug 49175. Change O(n^2) child view traversal to O(n). Trim unused view painting code. O(n^2)->O(n) change submitted by alex@cendio.se. r=kmmclusk,a=brendan
git-svn-id: svn://10.0.0.236/trunk@77102 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:54:46 +00:00
edburns%acm.org
55b6e21cf5 bug=36212
a=waterson,av
r=av,waterson

Here is what I believe to be the correct fix.
This post correspondes to the fix,
second iteration attachments.
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp

This checkin modifies nsIPluginInstanceOwner::GetURL
to have a length parameter for the post data.


git-svn-id: svn://10.0.0.236/trunk@77101 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:49:08 +00:00
akkana%netscape.com
8f8938b901 46333: fix whitespace between table cells and list items (nsbeta3+)
46452: linebreak for tr
49724 and 50150: potential infinite loop in EndLine
  Reviewed by Ben Bucksch, Daniel Bratell, and Kin Blas,
  and including some fixes contributed by each of them.


git-svn-id: svn://10.0.0.236/trunk@77100 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:37:48 +00:00
dbragg%netscape.com
7e2f0598d2 Fix for 45885. Now returning an nsInstallFolder object rather than a string. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@77099 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:34:06 +00:00
dbragg%netscape.com
376142f630 fixes for 45912 and 45913. Checkingfor existance of mTarget and deleting if present prior to copying-moving. r=sgehani and ssu
git-svn-id: svn://10.0.0.236/trunk@77098 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:32:48 +00:00
rcassin%supernova.org
24e55daac7 Fix a little issue with editor not starting with my most recent checkin. XUL is very picky. r=kin
git-svn-id: svn://10.0.0.236/trunk@77097 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:32:25 +00:00
blizzard%redhat.com
d9e8064dc1 attach key bindings to the embedding shell. part of bug #41966. you can now use arrows, page keys and space bar in the embedding widget. r/a=brendan,waterson
git-svn-id: svn://10.0.0.236/trunk@77096 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:28:38 +00:00
despotdaemon%netscape.com
9d63596ffb Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@77094 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 18:23:36 +00:00
rcassin%supernova.org
3eb57fae4e Fix for bug 49181: no tooltip for alignment buttons on toolbar - r=floppymoose
git-svn-id: svn://10.0.0.236/trunk@77093 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 17:03:27 +00:00
kestes%staff.mail.com
6b4e498e30 the dependency fudge is no longer needed with the Tinderconfig method
of choosing implementations.


git-svn-id: svn://10.0.0.236/trunk@77092 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 15:05:47 +00:00
kestes%staff.mail.com
3028473b9d better documentation as to what the variables are about in this config
file.


git-svn-id: svn://10.0.0.236/trunk@77091 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 15:04:33 +00:00
kestes%staff.mail.com
0709f9f16e allow Persistence to use different implementations controled by
TinderConfig


git-svn-id: svn://10.0.0.236/trunk@77090 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 15:00:45 +00:00
kestes%staff.mail.com
f52316c916 turn off the performance logs by default
git-svn-id: svn://10.0.0.236/trunk@77089 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 14:57:19 +00:00
kestes%staff.mail.com
534982233a deprecate tinderbox: builddate
in preference for tinderbox: starttime


git-svn-id: svn://10.0.0.236/trunk@77088 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 14:56:30 +00:00
kestes%staff.mail.com
8935c5b623 a demo of what storable may look like. This is untested.
git-svn-id: svn://10.0.0.236/trunk@77087 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 14:55:04 +00:00
kestes%staff.mail.com
2933f76834 new save_structure load_structure function to provide better
abstraction and allow us to use storable instead of dumper if we like.


git-svn-id: svn://10.0.0.236/trunk@77086 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 14:54:32 +00:00
kestes%staff.mail.com
e79ccd0064 adjust call to Persistance to work with new abstraction.
git-svn-id: svn://10.0.0.236/trunk@77085 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 14:52:11 +00:00
kestes%staff.mail.com
1c3b9e61a9 adjust call to Persistance to work with new abstraction.
use status =  'build_failed', instead of 'busted',
round the division in $info


git-svn-id: svn://10.0.0.236/trunk@77084 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 14:51:47 +00:00
kestes%staff.mail.com
39b5e8fbcf adjust call to Persistance to work with new abstraction.
add use TinderConfig;


git-svn-id: svn://10.0.0.236/trunk@77083 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 14:49:19 +00:00
kestes%staff.mail.com
9d508c617f adjust call to Persistance to work with new abstraction.
use status =  'build_failed', instead of 'busted',
add use TinderConfig;


git-svn-id: svn://10.0.0.236/trunk@77082 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 14:49:00 +00:00
kestes%staff.mail.com
f3a4f705e5 we are not requiring gifs in the code so do not require them in the
configure.


git-svn-id: svn://10.0.0.236/trunk@77081 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 14:46:38 +00:00
morse%netscape.com
5495b2dfbf bug 50097, can't close privacy window, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@77080 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 14:43:25 +00:00
mozilla.BenB%bucksch.org
6b915adf26 38433: Slightly adjusting the wording.
git-svn-id: svn://10.0.0.236/trunk@77079 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 14:39:55 +00:00
mkaply%us.ibm.com
8b97929712 OS/2 Tinderbox breakage
More XP_PC stuff


git-svn-id: svn://10.0.0.236/trunk@77078 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 13:58:21 +00:00
rods%netscape.com
4bfdfc0737 changed outline to be mozoutline temporarily
b=48973 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@77077 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 13:51:48 +00:00
rods%netscape.com
cd160a660f Temporarily changed outline to be mozoutline, this will enable us to get links
to show a focus rect. When we get outlines really working, then mozoutline will go away.
b=48973 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@77076 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 13:45:48 +00:00
rods%netscape.com
25dfc5ddb9 putting back in some original code. nsBoxFrame can NOT take into account availableSize.
it must always first use computedsize and then preferredsize next and that is it
b=40596,49271 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@77075 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 13:19:57 +00:00
rjc%netscape.com
779540f769 Fix Mac build for Warren.
git-svn-id: svn://10.0.0.236/trunk@77074 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 11:22:45 +00:00
hyatt%netscape.com
056132320b oops. forgot file.
git-svn-id: svn://10.0.0.236/trunk@77073 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 09:39:14 +00:00
rjc%netscape.com
11e924c35f Fix bug # 28087: Search Bookmarks and History now works with non-ASCII characters. r=me
git-svn-id: svn://10.0.0.236/trunk@77072 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 09:28:33 +00:00
hyatt%netscape.com
ab92ac6228 Fix bug in void array's assignment operator. r=scc
git-svn-id: svn://10.0.0.236/trunk@77071 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 09:26:58 +00:00
hyatt%netscape.com
904223c474 XBL fixes, groundwork for 46505, r=ben
git-svn-id: svn://10.0.0.236/trunk@77070 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 09:21:27 +00:00
warren%netscape.com
61661b6160 Bug 44352. Adding IsLowMemory predicate & implementation for Windows.
git-svn-id: svn://10.0.0.236/trunk@77069 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 08:35:13 +00:00
jband%netscape.com
bc10558244 bug 49748. Fix crash due to JS loader holding xpconnect service too long. Also add unimplemented method to xpconnect service and fix cast for bug 49641. r=shaver@mozilla.org a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@77068 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 07:50:27 +00:00
warren%netscape.com
c0418b04ba Added zip cache hit rate stats.
git-svn-id: svn://10.0.0.236/trunk@77067 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 07:38:41 +00:00
warren%netscape.com
b92b57f7ad Fixing up GetOwner method to not crash on startup.
git-svn-id: svn://10.0.0.236/trunk@77066 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 07:36:53 +00:00
warren%netscape.com
e4e628bf4e Removed dup
git-svn-id: svn://10.0.0.236/trunk@77065 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 07:13:08 +00:00
bryner%uiuc.edu
9dd5ae9a2f Fixing bug 42109 - make sure to set the current item to something sane when it's deleted. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@77064 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 06:14:45 +00:00
law%netscape.com
1e291fc5eb Bug 1722; move hardcoded search URL to locale-based RDF datasource; fix supplied by tao@netscape.com; r=me
git-svn-id: svn://10.0.0.236/trunk@77063 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 05:29:22 +00:00
bryner%uiuc.edu
7ffa079b81 Bulletproofing to try and fix 50006. r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@77062 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 05:06:21 +00:00
saari%netscape.com
6a6cd5a218 fix for 46938, make sure full content area plugins can still get key events once you've clicked on them
git-svn-id: svn://10.0.0.236/trunk@77061 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 05:04:06 +00:00
buster%netscape.com
0a65af6558 bug 3992
chris k did the work.
r=buster


git-svn-id: svn://10.0.0.236/trunk@77060 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 05:03:18 +00:00
saari%netscape.com
5efb96a3b8 46938, fire event so we can track when plugins are clicked on. r=rods
git-svn-id: svn://10.0.0.236/trunk@77059 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:53:31 +00:00
saari%netscape.com
5326e59917 For bug 46938, adding event so we can tell when windows created by third party plugins have been activated
git-svn-id: svn://10.0.0.236/trunk@77058 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:49:00 +00:00
ben%netscape.com
f13103cf9a fix for 45587, patch from mj@digicool.com. Fixes subtle idiosyncracy in pref window treeview.
git-svn-id: svn://10.0.0.236/trunk@77057 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:48:46 +00:00
ben%netscape.com
c19007da6e 44295, partially patch from timeless@bemail.org (some people have beaten me to part of it), r=myself and some general cleanup (js console)
git-svn-id: svn://10.0.0.236/trunk@77056 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:44:01 +00:00
ben%netscape.com
5e9536b8f1 44295, partially patch from timeless@bemail.org (some people have beaten me to part of it), r=myself and some general cleanup
git-svn-id: svn://10.0.0.236/trunk@77055 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:43:12 +00:00
buster%netscape.com
71d538ea91 bug 49239
r=hyatt

bug 42372
r=waterson


git-svn-id: svn://10.0.0.236/trunk@77054 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:38:08 +00:00
ben%netscape.com
097fcd9652 fix for 42798, patch from henrik gemal, r=myself
git-svn-id: svn://10.0.0.236/trunk@77053 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:30:21 +00:00
ben%netscape.com
12f5c644b5 fix for 42797, partial patch from henrik gemal, r=myself (+ a couple of changes)
git-svn-id: svn://10.0.0.236/trunk@77052 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:26:50 +00:00
buster%netscape.com
342b94a380 bug 45152 (Typed text does not render in TextAreas with a horizontal scrollbar)
fixed by adding a flag in nsLineBox for the content of a line to mark it "forceInvalidate",
logic in nsLineLayout to set the line dirty for initial reflow of text frames,
and logic in block to check the new flag.
r=kin


git-svn-id: svn://10.0.0.236/trunk@77051 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:26:43 +00:00
mozilla.BenB%bucksch.org
e4f5ae682a 38433: askSendFormat dialog: Make check of formatting more fine-grained, and set recommondation following the result (in particular, to plaintext in some cases). Add icons to visualize the modes. r=ducarroz, a=brendan
git-svn-id: svn://10.0.0.236/trunk@77050 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:14:28 +00:00
ben%netscape.com
5c658ba863 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@77049 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:13:49 +00:00
ben%netscape.com
e1766a2c86 fix for 34590 - misaligned twisties in modern and blue. patch provided by henrik gemal. r=myself
git-svn-id: svn://10.0.0.236/trunk@77048 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:13:35 +00:00
ben%netscape.com
54db853888 fix for 29442, replace mozilla logo image with one with anti-aliased edges. image
provided by jerry baker, r=myself.


git-svn-id: svn://10.0.0.236/trunk@77047 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:10:49 +00:00
beard%netscape.com
539f40b9d0 use QueryElementAt() to save space and time. r=shaver
git-svn-id: svn://10.0.0.236/trunk@77046 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:10:47 +00:00
beard%netscape.com
3d489df1c8 use QueryElementAt() to save space and time. r=jband
git-svn-id: svn://10.0.0.236/trunk@77045 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:08:07 +00:00
saari%netscape.com
3d81018042 make sure to return a value in all code paths from FireFocusOnTargetContent... gave VC5 a headache
git-svn-id: svn://10.0.0.236/trunk@77044 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:00:12 +00:00
ducarroz%netscape.com
9dfed678c5 Fix for bug 40523. Modified function SetActiveChild() to avoid crashing when a null child is passed. Instead, unselect the current child. R=hyatt
git-svn-id: svn://10.0.0.236/trunk@77043 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:58:42 +00:00
law%netscape.com
390c02b44d Bugscape bug 1594; remove 'Mozilla' with dynamic product name; r=mcafee@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77042 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:57:39 +00:00
ducarroz%netscape.com
58f41edb62 Fix for bug 40523. Implemented arrow key navigation in the autocomplete popup menu. R=hyatt
git-svn-id: svn://10.0.0.236/trunk@77041 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:55:09 +00:00
anthonyd%netscape.com
f4c17f81ff fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe


git-svn-id: svn://10.0.0.236/trunk@77040 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:54:30 +00:00
dmose%mozilla.org
df695cec12 remove items relating to cleanup constructors, destructors, and initializers. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@77039 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:41:05 +00:00
dmose%mozilla.org
85df13c59b cleanup constructors, destructors, and initializers. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@77038 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:40:32 +00:00
dmose%mozilla.org
2fcf1fab6e updated doxygen comments on interfaces to better match reality. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@77037 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:39:40 +00:00
mozilla.BenB%bucksch.org
b64449f67a 38433: Adding new icons for askSendFormat dialog to build. r=ducarroz, a=brendan
git-svn-id: svn://10.0.0.236/trunk@77036 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:27:48 +00:00
brendan%mozilla.org
3cd8b4a611 Eliminate silly gcc warning.
git-svn-id: svn://10.0.0.236/trunk@77035 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:14:17 +00:00
ben%netscape.com
9a59fb9750 tidy up navigatorOverlay.xul
git-svn-id: svn://10.0.0.236/trunk@77034 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:01:38 +00:00
ben%netscape.com
b4f43eea6a checking in modern theme part of fix for menulist cropping bug (see comment that went with blue's checkin log)
git-svn-id: svn://10.0.0.236/trunk@77033 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:00:23 +00:00
roc+%cs.cmu.edu
e4d4e322a4 NOT PART OF THE BUILD. Bringing nsViewManager up to speed with nsViewManager2 changes. Also ensures all pixels are cleared even if some pixels are not covered by any opaque view. Bug 39621.
git-svn-id: svn://10.0.0.236/trunk@77032 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 02:35:00 +00:00
ssu%netscape.com
c4f396a1a6 new file to help with checking in. not part of any build.
git-svn-id: svn://10.0.0.236/trunk@77031 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 02:30:03 +00:00
mozilla.BenB%bucksch.org
911221f7f2 38433: Adding new icons for askSendFormat dialog. r=ducarroz, a=brendan
git-svn-id: svn://10.0.0.236/trunk@77030 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 02:24:44 +00:00
mozilla.BenB%bucksch.org
8fec1aa806 Remove files again: Too long filenames :(
git-svn-id: svn://10.0.0.236/trunk@77029 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 02:18:34 +00:00
shanjian%netscape.com
966828939b #49342 IME98/IME2000 Reconversion does not work in text area
ar=ftang
Reconversion query is added to IME judge macro.


git-svn-id: svn://10.0.0.236/trunk@77028 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 02:10:28 +00:00
BlakeR1234%aol.com
f6546cf8c6 Fix bug 50008, make items in PT bookmarks menu function.
git-svn-id: svn://10.0.0.236/trunk@77027 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 02:09:22 +00:00
mozilla.BenB%bucksch.org
89937970a0 38433: Adding new icons for askSendFormat dialog. r=ducarroz, a=brendan
git-svn-id: svn://10.0.0.236/trunk@77026 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 02:07:35 +00:00
sfraser%netscape.com
89353b605f Explicitly close the hidden window before we leave nsAppShellService::Quit(). This change was deemed a Good Thing a while back by danm, and helps avoid shutdown memory leaks (esp. on Mac). r=danm
git-svn-id: svn://10.0.0.236/trunk@77025 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 01:45:51 +00:00
sfraser%netscape.com
fe969e309a Ensure that common dialogs have a titlebar -- now important on Mac. Part of fix for 41741, r=danm
git-svn-id: svn://10.0.0.236/trunk@77024 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 01:37:18 +00:00
sfraser%netscape.com
670f652127 Fix for 41741, allow resizable dialogs on Mac. Note that we now have a stricter matching between XUL dialog attributes, and the window type. This means that some dialogs that used to have a titlebar now won't have one on Mac, so you should add "titlebar" where appropriate. r=danm
git-svn-id: svn://10.0.0.236/trunk@77023 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 01:36:46 +00:00
sfraser%netscape.com
34ede77ed5 Fix UMR bug 49567 by initting a member variable. Also use NS_LITERAL_STRING in one place. r=jfrancis.
git-svn-id: svn://10.0.0.236/trunk@77022 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 01:27:48 +00:00
sfraser%netscape.com
53a5ee47bc Fixes for 48474 (JS errors typing in plain text compose), 44684 (make align buttons reflect state), 49155 (UMR in editor code). r=anthonyd
git-svn-id: svn://10.0.0.236/trunk@77021 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 01:20:29 +00:00
javi%netscape.com
7a6a72db7a When setting a new password, warn the user right away when they goof instead
of submitting the form and waiting for the PSM CGI to send back a response.


git-svn-id: svn://10.0.0.236/trunk@77020 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 01:19:29 +00:00
beard%netscape.com
e0a71f522a use QueryElementAt() to save space and time. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@77019 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 01:02:58 +00:00
bienvenu%netscape.com
d098def633 fix search by status r=alecf 45440
git-svn-id: svn://10.0.0.236/trunk@77018 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 01:00:05 +00:00
bienvenu%netscape.com
b1d97b511c fix 49903 crash posting empty news message r=mscott
git-svn-id: svn://10.0.0.236/trunk@77017 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:58:54 +00:00
bienvenu%netscape.com
4a148ab1b1 fix 49903 crash posting empty news message r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@77016 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:58:04 +00:00
jgaunt%netscape.com
8bdcdb928c fix HP( and other unix) bustage dealing with locale setting
bug #35480 r=tao@netscape.com


git-svn-id: svn://10.0.0.236/trunk@77015 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:50:13 +00:00
sgehani%netscape.com
9d7b2a4cb3 Make libjar work with Phil Katz zip archives created with Sun's 'jar' tool. (aka honor bit 3 of the general purpose bit flag in local headers when searching forthe central directory offset.)
[r=ssu,dbragg; nsbeta3+ b=20512]


git-svn-id: svn://10.0.0.236/trunk@77014 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:48:34 +00:00
sgehani%netscape.com
061208493c Update mac aliases correctly (File.macAlias() in the XPInstall context).
[nsbeta3+ b=32977; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@77013 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:46:44 +00:00
morse%netscape.com
00362be687 bug 50084, move wallet demo files off the server, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@77012 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:43:37 +00:00
ben%netscape.com
883123f4d5 45687...
git-svn-id: svn://10.0.0.236/trunk@77011 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:41:13 +00:00
cmanske%netscape.com
b29e002b0f Fixed OK button enabling for Link Properties, part of 47653, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@77010 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:40:59 +00:00
ben%netscape.com
15adc384f8 fix 45687, fix hang in add application helper dialog
git-svn-id: svn://10.0.0.236/trunk@77009 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:38:05 +00:00
ben%netscape.com
d6e9d3567c fix for 45687, fix hang when editing mime type
git-svn-id: svn://10.0.0.236/trunk@77008 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:37:24 +00:00
gayatrib%netscape.com
9814e32614 fix for bug 46561, 45177. Prevention of deletion of Personal/Collected Address Books. review = chuang
git-svn-id: svn://10.0.0.236/trunk@77007 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:36:32 +00:00
cmanske%netscape.com
64010380f6 Removed need to unregister Composer's pref command, b=49953, r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@77006 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:31:02 +00:00
cmanske%netscape.com
2adf833f50 A better fix for 49953 so mail composer doesn't have to unregister the pref command. r=duccaroz. Better initialization for default text and background color and related fixes to Composer color prefs relating to 47704. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@77005 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:28:20 +00:00
nhotta%netscape.com
1f78f1a070 Fixed to uppercase ISO-8859-1, bug 39793, r=cata.
git-svn-id: svn://10.0.0.236/trunk@77004 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:21:04 +00:00
ftang%netscape.com
b5f032766b fix bug 41325. Make new entries in the keybinding for Mac so cmd+[ and cmd+] make forward and backward. r=saari
git-svn-id: svn://10.0.0.236/trunk@77003 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:19:06 +00:00
nhotta%netscape.com
8055a68fa1 Check msgWindow before using it to avoid JS error, bug 45778, r=cata.
git-svn-id: svn://10.0.0.236/trunk@77002 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:18:29 +00:00
mscott%netscape.com
f78dc17fe2 Bug #36441, 40036 --> add support for reply-to and follow up headers. Add space between newsgroup names
contributed by Ben Bucksch (mozilla@bucksch.org)
a=r=mscott

bug #49012 --> First xbl widget not created correctly...force loading of bindings file. r=alecf


git-svn-id: svn://10.0.0.236/trunk@77001 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:18:15 +00:00
rjc%netscape.com
899a559ef5 Fix bug # 50060: simple drag&drop problem. r=brendan
git-svn-id: svn://10.0.0.236/trunk@77000 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:17:28 +00:00
nbhatla%netscape.com
5d30c47f2e #46519 -> Mac Classic Skin Polish. Minor changes. Fixes for #47447 -> Added location-hover.gif, #49461 -> typo in tree.css, #49765 -> adds editor formatting icons back to win/unix. r=andreww
git-svn-id: svn://10.0.0.236/trunk@76999 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:14:54 +00:00
mscott%netscape.com
45e2be7235 Bug #36441 --> add support for reply-to and follow up headers
contributed by Ben Bucksch (mozilla@bucksch.org)
a=r=mscott


git-svn-id: svn://10.0.0.236/trunk@76998 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:14:27 +00:00
ftang%netscape.com
3dbc008a18 fix 41305. r=jfrancis. send correct charcode for contrl key on mac.
git-svn-id: svn://10.0.0.236/trunk@76997 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:12:46 +00:00
nbhatla%netscape.com
d685401d6a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@76996 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:12:10 +00:00
mscott%netscape.com
0f7ae29c53 Bug #47681 --> polish tweak, make the header name column a little bit wider
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76995 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:08:24 +00:00
rpotts%netscape.com
9cb00c28be bug #39381. The last channel in a document was not firing a request done notification - only a document done...
git-svn-id: svn://10.0.0.236/trunk@76994 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:08:15 +00:00
akkana%netscape.com
7d95d3d845 49401: alt key shouldn't focus menubar unless ui.key.menuAccessKeyFocuses
(default true on windows, false elsewhere) is true.
  r=dean_tessman@hotmail.com


git-svn-id: svn://10.0.0.236/trunk@76993 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:05:40 +00:00
ccarlen%netscape.com
932b39beb9 Fix for bug #49842
r=jband


git-svn-id: svn://10.0.0.236/trunk@76992 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:04:20 +00:00
ben%netscape.com
b19fb1fe75 fix for 49206, classic-win lacks font style button icons
git-svn-id: svn://10.0.0.236/trunk@76991 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:03:02 +00:00
ben%netscape.com
1f9ba77e0a fix for 49326, 'delete files' button is missing in delete profile dialog
git-svn-id: svn://10.0.0.236/trunk@76990 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:02:16 +00:00
ben%netscape.com
449b8476e5 fix for the navigator toolbar looks wacky in modern problem
git-svn-id: svn://10.0.0.236/trunk@76989 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 00:01:35 +00:00
ben%netscape.com
07e97eed2d fix for 37997 and the navigator toolbar looks wacky in modern problem
git-svn-id: svn://10.0.0.236/trunk@76988 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 23:59:44 +00:00
jdunn%netscape.com
6eeb15a270 fixing hpux bustage
r=vidur@netscape.com


git-svn-id: svn://10.0.0.236/trunk@76987 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 23:57:00 +00:00
brendan%mozilla.org
6c9b35da11 Add strict warning about trailing comma in object initializers being non-ECMA (50001, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@76986 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 23:55:43 +00:00
javi%netscape.com
ad31dbb676 When changing Passwords, if there are multiple tokens, then ask the
user to select the token first. Plus other fixes/ compiler warning cleanups.


git-svn-id: svn://10.0.0.236/trunk@76985 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 23:52:34 +00:00
jst%netscape.com
780a3651df Attempting to fix AIX and OS2 bustage, code written by scc, r=jst
git-svn-id: svn://10.0.0.236/trunk@76984 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 23:36:58 +00:00
cltbld%netscape.com
94789dea12 Fixing solaris, AGAIN. jst,mcafee
git-svn-id: svn://10.0.0.236/trunk@76983 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 22:26:35 +00:00
cltbld%netscape.com
30e5513074 Fixing more solaris bustage, jst, mcafee
git-svn-id: svn://10.0.0.236/trunk@76982 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 22:10:28 +00:00
dmose%mozilla.org
99c70f7402 pending operations on an LDAP connection now get removed from the queue after they either complete or are aborted. also tweaked a few comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76980 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:54:12 +00:00
rginda%netscape.com
18a073fa44 -- CHATZILLA CHANGES ONLY --
Fix case in outputstream calls to match recently changed IDLs.  Finally getting chatzilla to crash on join again. (bug 49410)


git-svn-id: svn://10.0.0.236/trunk@76979 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:41:09 +00:00
dmose%mozilla.org
b36370d6bf check pointer arg before dereferencing. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76978 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:40:00 +00:00
cltbld%netscape.com
0806b17f98 Fixing solaris bustage -jst,mcafee
git-svn-id: svn://10.0.0.236/trunk@76977 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:38:20 +00:00
dmose%mozilla.org
acb5ac9d6f remove some useless debugging cruft; implement more callbacks using closures. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76976 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:38:19 +00:00
dmose%mozilla.org
f825220ca4 Reorganized and updated TODO list. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@76975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:36:49 +00:00
jst%netscape.com
c32827a181 Fix for Solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@76974 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 20:41:13 +00:00
mkaply%us.ibm.com
0fa2281bcd OS/2 Tinderbox break
PR_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@76973 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 20:39:17 +00:00
jst%netscape.com
9fdc55e883 Fix to ToUpperCase and ToLowerCase so that we actually hit all characters. r=scc
git-svn-id: svn://10.0.0.236/trunk@76972 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 19:23:15 +00:00
despotdaemon%netscape.com
32727aa124 Pseudo-automatic update of changes made by peterlubczynski@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@76971 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 18:59:38 +00:00
cotter%netscape.com
bb4e2d052a Correx from John Myers & to fix bug 48065 (communicator-specific terms)
git-svn-id: svn://10.0.0.236/trunk@76970 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 18:47:23 +00:00
ducarroz%netscape.com
85578efbd8 Fix for bug 49953. The editor's global variable gComposerCommandManager has been replaced by gHTMLEditorCommandManager. R=bienvenu, A=leaf
git-svn-id: svn://10.0.0.236/trunk@76969 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 18:20:40 +00:00
mcgreer%netscape.com
97dba09882 don't zero input to random update (RNG_SystemInfoForRNG uses environment as input). Fix for bug 49898.
git-svn-id: svn://10.0.0.236/trunk@76968 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 18:11:47 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
roc+%cs.cmu.edu
c53de61c00 NOT PART OF BUILD. Checking in nsViewManager2 semi-rewrite as nsViewManager. Bug 39621. r=kmcclusk,a=waterson
git-svn-id: svn://10.0.0.236/trunk@76966 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 14:58:22 +00:00
bienvenu%netscape.com
b2f31906a0 fix 48952 local file list of root windows directory broken r=dougt
git-svn-id: svn://10.0.0.236/trunk@76963 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 14:06:37 +00:00
locka%iol.ie
d1dc0ecb35 NOT PART OF BUILD.
Added menu items and code to test print and save as behaviour


git-svn-id: svn://10.0.0.236/trunk@76962 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 13:03:56 +00:00
locka%iol.ie
a45acc0942 NOT PART OF BUILD.
Added initial support for LiveConnect so the plugin may be scripted


git-svn-id: svn://10.0.0.236/trunk@76961 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 13:02:31 +00:00
rods%netscape.com
4a48949c7b added DO_NOISY_REFLOW #ifdefs for debugging purposes, no changes to the actual functioning code
r=self b=49780


git-svn-id: svn://10.0.0.236/trunk@76960 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 11:02:19 +00:00
rods%netscape.com
e4d9892690 GfxBtn now implements method CreateFrameFor so it can create the text node
with the proper style context parentage.
b=49740 =kmcclusk,attinasi


git-svn-id: svn://10.0.0.236/trunk@76959 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 10:38:42 +00:00
rods%netscape.com
e11c0116a4 adds base href/target info to a form
b=34656 r=pollmann,harishd


git-svn-id: svn://10.0.0.236/trunk@76958 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 10:29:49 +00:00
rods%netscape.com
ba8b6b0deb In NavQuirks mode it makes the default font for CSS3 fonts: button, field, caption sans-serif
b=33312 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76957 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 10:28:28 +00:00
rjc%netscape.com
55d405cbf7 [Darn it Ben, stop breaking stuff.] If metaKey is down, open URL in new browser window.
git-svn-id: svn://10.0.0.236/trunk@76956 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 08:03:54 +00:00
hyatt%netscape.com
71a6e34c3a Fix for jar packaging. r=dprice
git-svn-id: svn://10.0.0.236/trunk@76955 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 07:31:58 +00:00
hyatt%netscape.com
9559f0ed27 Fix for 49150, r=ben
git-svn-id: svn://10.0.0.236/trunk@76954 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 07:18:58 +00:00
kvisco%ziplink.net
85580efea6 Not part of regular build, a=leaf. Fixed template for showing comments
git-svn-id: svn://10.0.0.236/trunk@76953 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 07:04:29 +00:00
kvisco%ziplink.net
8472f28fb5 Not part of regular build, a=leaf. Added stylesheet example.
git-svn-id: svn://10.0.0.236/trunk@76952 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 06:12:28 +00:00
kvisco%ziplink.net
4934274a7a Not part of regular build, a=leaf. Added support for getting the node value of processing instructions and comments (kvisco)
git-svn-id: svn://10.0.0.236/trunk@76951 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 06:11:45 +00:00
chuang%netscape.com
43e540007a Bug 44794-A mailing list name must be unique to its Address Book. 47932-Deleted cards in Collected AB doesn't get re-created. r=putterman
git-svn-id: svn://10.0.0.236/trunk@76950 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 05:16:51 +00:00
ben%netscape.com
612ab8f705 still not done fixing 49561, apparently...
git-svn-id: svn://10.0.0.236/trunk@76949 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 05:14:23 +00:00
ben%netscape.com
550f9304c4 oops, didn't fix that restore default bug in the appropriate way...
git-svn-id: svn://10.0.0.236/trunk@76948 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 05:10:55 +00:00
ben%netscape.com
17825c922a update manifests for themes to fit new pref panel design
git-svn-id: svn://10.0.0.236/trunk@76947 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 05:09:51 +00:00
ben%netscape.com
89614499dd fix for 48834 - cannot collapse toolbars via their grippies
git-svn-id: svn://10.0.0.236/trunk@76946 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 05:02:47 +00:00
dprice%netscape.com
0b4d004ffe updating manifest, adding forgotten file.
git-svn-id: svn://10.0.0.236/trunk@76945 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 04:47:08 +00:00
ben%netscape.com
932ddda51d Fix for 44025 - clean up UI of themes pref panel; 49763 - enable 'restore default' theme
git-svn-id: svn://10.0.0.236/trunk@76944 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 04:41:52 +00:00
dprice%netscape.com
8a29f811c9 removing duplicated files in the manifest.
git-svn-id: svn://10.0.0.236/trunk@76943 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 04:28:02 +00:00
pierre%netscape.com
f5061df92b 49550: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener)
git-svn-id: svn://10.0.0.236/trunk@76942 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 03:57:13 +00:00
ben%netscape.com
7c9bf9d1f0 fix for 49561, typo in bookmarks.css causes inefficient rule
git-svn-id: svn://10.0.0.236/trunk@76941 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 03:50:43 +00:00
blizzard%redhat.com
8ea670134e infastructure for bug 41966 - getting key bindings working for the gtk embedding widget r=valeski, a=waterson
git-svn-id: svn://10.0.0.236/trunk@76940 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 03:38:27 +00:00
putterman%netscape.com
36629ac60c Finished up 48244 and started 48246 which are 3pane UI cleanup. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@76939 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 03:25:08 +00:00
dprice%netscape.com
7f2397f6ec fixing the zipcache R=warren
git-svn-id: svn://10.0.0.236/trunk@76938 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 03:18:53 +00:00
dprice%netscape.com
e09dd17510 fixing 49250
computing certificate principal as needed


git-svn-id: svn://10.0.0.236/trunk@76937 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 03:17:42 +00:00
mkaply%us.ibm.com
0d078e71b9 #49851
r=jkobal, a=brendan
Fixing up my crappy code


git-svn-id: svn://10.0.0.236/trunk@76936 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:38:04 +00:00
sfraser%netscape.com
fe4995ac6a Fix for 49029 -- don't set focus twice in teh find dialog. Patch from the net, r=me.
git-svn-id: svn://10.0.0.236/trunk@76935 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:25:46 +00:00
racham%netscape.com
15edb9764e Fixing bug 49699. Adding a windows directory as fall back to all those windows OS versions that return null for HOME. r=dougt
git-svn-id: svn://10.0.0.236/trunk@76934 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:24:30 +00:00
javi%netscape.com
b0207c001a Turns out this last fix is needed to fully fix Bug#45866
git-svn-id: svn://10.0.0.236/trunk@76933 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:24:17 +00:00
attinasi%netscape.com
4d92d67952 Fix for leak: have to release the style context after initializing the frame...
git-svn-id: svn://10.0.0.236/trunk@76932 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:22:26 +00:00
nelsonb%netscape.com
0e77accfbf Fix two uninitialized variables, found while porting to Linux.
git-svn-id: svn://10.0.0.236/trunk@76931 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:20:15 +00:00
ducarroz%netscape.com
75b0af8100 Fix my bustage. Please use double-quote for include file.
git-svn-id: svn://10.0.0.236/trunk@76930 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:13:14 +00:00
rogerl%netscape.com
3f8f37a462 Fixed printOperands to handle <NaR>
git-svn-id: svn://10.0.0.236/trunk@76929 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:07:19 +00:00
rogerl%netscape.com
cbac8d2364 Fixed printOperand to handle <NaR> properly. Added missing 'return this' to
all constructors.


git-svn-id: svn://10.0.0.236/trunk@76928 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:06:52 +00:00
sfraser%netscape.com
bc345be712 Deal with Entries files having different linebreaks. Add some comments.
git-svn-id: svn://10.0.0.236/trunk@76927 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:03:47 +00:00
sfraser%netscape.com
7e42cad745 New perl script to sync up two CVS trees
git-svn-id: svn://10.0.0.236/trunk@76926 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:54:08 +00:00
hyatt%netscape.com
a35dc579a2 Removing commented out code.
git-svn-id: svn://10.0.0.236/trunk@76925 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:53:50 +00:00
hyatt%netscape.com
28dd4c067d Fix for 49431. r=ben
git-svn-id: svn://10.0.0.236/trunk@76924 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:53:04 +00:00
cmanske%netscape.com
3cd3e45820 CSS changes for Composer toolbars, b=47503, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@76923 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:43:45 +00:00
cmanske%netscape.com
29f279d017 Changed to using 'editorType' as param, part of composer bug 41810, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@76922 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:33:03 +00:00
cmanske%netscape.com
c6989bd4b7 added files: mozilla/editor/idl/nsIEditorController.idl
git-svn-id: svn://10.0.0.236/trunk@76921 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:29:53 +00:00
cmanske%netscape.com
54a0de7538 Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
git-svn-id: svn://10.0.0.236/trunk@76920 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:29:24 +00:00
javi%netscape.com
77483a7fd8 Fix for bug #45866.
We were passing the wrong challenge value down to the method that generated the KEYGEN value.  Fix some compiler warnings.


git-svn-id: svn://10.0.0.236/trunk@76919 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:24:16 +00:00
mccabe%netscape.com
4f32b85e2b Further tweak to 39933.
Add a comment mentioning the possible need to implement nsISecurityCheckedComponent.


git-svn-id: svn://10.0.0.236/trunk@76918 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:24:07 +00:00
mccabe%netscape.com
30a169a26c Fix to 39933.
Make the sample plugin implement nsIScriptablePlugin, and update sample .html file with an (unused!) JavaScript evaluator for poking at the plugin.

r=jst
a=ekrock


git-svn-id: svn://10.0.0.236/trunk@76917 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:20:24 +00:00
attinasi%netscape.com
a52967f7e1 Resolving style context for the htmlInnerFrame instead of using the parent frame's context. Also added some basic error checking... b=49739 r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76916 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:12:30 +00:00
nelsonb%netscape.com
7af29d137d des.c wants _X86_ defined for intel CPUs.
coreconf does this for windows, but not for Linux, FreeBSD, etc.


git-svn-id: svn://10.0.0.236/trunk@76915 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:06:08 +00:00
ruslan%netscape.com
7f916fac58 Fix form post bustage introduced by warren's stream changes
git-svn-id: svn://10.0.0.236/trunk@76914 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:05:48 +00:00
ashuk%eng.sun.com
2fa0b8e66e Bug = 48356
author = ashuk
r = a = edburns

Added checks to make sure that DocShell is valid and that
calls to getInterface(nsIDOMWindow) return a valid object.


git-svn-id: svn://10.0.0.236/trunk@76913 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:03:49 +00:00
mkaply%us.ibm.com
2237bd6120 #49851
r=jkobal, a=brendan
Frame Windows should be owned by the passed in parent, not HWND_DESKTOP


git-svn-id: svn://10.0.0.236/trunk@76912 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:00:57 +00:00
alecf%netscape.com
248fea5ac7 fix for #49251 - select the first account after an account has been deleted
r=putterman


git-svn-id: svn://10.0.0.236/trunk@76911 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:00:34 +00:00
rginda%netscape.com
a02a7d27b3 -- CHATZILLA CHANGES ONLY --
removed dead libbs code (bug 39364)
partial fix for bug 47673, still blocked by bug 49410
fix for bug 46541


git-svn-id: svn://10.0.0.236/trunk@76910 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 23:58:02 +00:00
pavlov%netscape.com
8cd9e926c8 fix hang when using apps that use lesstif for the motif clipboard (like nedit) bug 46409. fix for memory leak in clipboard bug 49582. fix for pasting from something like xterm -u8 that uses UTF8_STRING bug 36895 r=blizzard,bruce
git-svn-id: svn://10.0.0.236/trunk@76909 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 23:51:48 +00:00
ducarroz%netscape.com
4eb3a3d41f Fix for bug 49016. Create an HTML text node to hold the alert message. Also fix the alert position. R=putterman
git-svn-id: svn://10.0.0.236/trunk@76908 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 23:40:59 +00:00
ducarroz%netscape.com
a71a5ff7f5 Fix for bug 17294. Export the resources to the right location. R=putterman
git-svn-id: svn://10.0.0.236/trunk@76907 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 23:39:27 +00:00
ducarroz%netscape.com
979db4372e Checkin patch proposed by jce2@po.cwru.edu for bug 32443. Added code to check disk space before downloading messages. R=bienvenu,ducarroz A=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@76906 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 23:37:13 +00:00
pnunn%netscape.com
b337cf4d81 bug#49149, 48797, 47098: fix leak in gif colormap (local and global).
git-svn-id: svn://10.0.0.236/trunk@76903 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 23:32:31 +00:00
rogerl%netscape.com
584b358c88 r,a=beard@netscape.com. Bug #45415, fix LiveConnect memory leak.
git-svn-id: svn://10.0.0.236/trunk@76902 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 23:31:09 +00:00
bienvenu%netscape.com
d4978bc154 fix account wide seaqrch, r=alecf 44383
git-svn-id: svn://10.0.0.236/trunk@76901 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 23:25:45 +00:00
morse%netscape.com
fccad2aeca bug 49865, minor wording changes
git-svn-id: svn://10.0.0.236/trunk@76900 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 23:25:11 +00:00
ccarlen%netscape.com
0acb8dca48 Fixing 49842 - the part about viewer not having an appfilelocprovider
r=waterson


git-svn-id: svn://10.0.0.236/trunk@76899 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 22:59:34 +00:00
danm%netscape.com
d418de0110 small correction to last revision. code=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76898 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 22:58:44 +00:00
hyatt%netscape.com
45b92afff5 fix for 49835, r=danm
git-svn-id: svn://10.0.0.236/trunk@76897 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 22:53:46 +00:00
ccarlen%netscape.com
b843fe7f88 Fixing 49842 - the part about viewer not having an appfilelocprovider
r=waterson


git-svn-id: svn://10.0.0.236/trunk@76896 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 22:52:58 +00:00
waterson%netscape.com
9a7024298d Bug 49842. Include xpfelocation_s to initialize viewer's file locator stuff.
git-svn-id: svn://10.0.0.236/trunk@76895 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 22:50:09 +00:00
dmose%mozilla.org
3e43018b26 fixed to track changes to nsIInputStream and nsIPipe. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76894 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 22:26:44 +00:00
dmose%mozilla.org
7f3bc04522 fixed to track changes to nsIInputStream and nsIPipe. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76893 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 22:17:44 +00:00
dave%intrec.com
ac45989691 Fix for bug 16454: can now run checksetup.pl on databases with passwords.
git-svn-id: svn://10.0.0.236/trunk@76891 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 18:30:05 +00:00
thayes%netscape.com
46bfa782ad Add SDR Context resource type.
git-svn-id: svn://10.0.0.236/trunk@76890 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 17:17:20 +00:00
nboyd%atg.com
be0e6d98d2 Fix bug 48930: work around a MS JIT bug.
git-svn-id: svn://10.0.0.236/trunk@76889 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 17:04:21 +00:00
dbaron%fas.harvard.edu
05004b2b4d Get xmlterm building again (not part of default build).
git-svn-id: svn://10.0.0.236/trunk@76888 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 13:54:09 +00:00
dbaron%fas.harvard.edu
b3dbebc126 Attempt to fix build bustage by adding not-implemented functions.
git-svn-id: svn://10.0.0.236/trunk@76887 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 13:34:05 +00:00
warren%netscape.com
0e3c15ee87 Fixing mac bustage. Added missing methods from new stream interfaces.
git-svn-id: svn://10.0.0.236/trunk@76886 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 10:05:00 +00:00
warren%netscape.com
e312f626b5 Removed reference to nsIBaseStream
git-svn-id: svn://10.0.0.236/trunk@76885 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 09:56:13 +00:00
warren%netscape.com
e892283b73 Removed reference to nsIBaseStream
git-svn-id: svn://10.0.0.236/trunk@76884 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 09:50:45 +00:00
jband%netscape.com
2c20d53d8c fix bustage after nsIBaseStream removal
git-svn-id: svn://10.0.0.236/trunk@76883 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 09:28:52 +00:00
jband%netscape.com
bdb988f5cc fix bustage after nsIBaseStream removal
git-svn-id: svn://10.0.0.236/trunk@76882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 09:21:32 +00:00
warren%netscape.com
4e9139002c Updated nsIBufferInputStream to nsIInputStream.
git-svn-id: svn://10.0.0.236/trunk@76881 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 08:25:05 +00:00
warren%netscape.com
1fd73d09ad Removed nsIBaseStream, nsIBufferInputStream and nsIBufferOutputStream.idl.
git-svn-id: svn://10.0.0.236/trunk@76880 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 08:19:18 +00:00
jband%netscape.com
dd93afad5e fix Mac bustage?
git-svn-id: svn://10.0.0.236/trunk@76879 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:53:24 +00:00
warren%netscape.com
4462888602 Added .get()
git-svn-id: svn://10.0.0.236/trunk@76878 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:45:19 +00:00
warren%netscape.com
acb5c9cd16 Fixed comments which got swapped around.
git-svn-id: svn://10.0.0.236/trunk@76877 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:12:56 +00:00
jband%netscape.com
5d4380239c - !missed a file! - Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi
git-svn-id: svn://10.0.0.236/trunk@76876 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:05:00 +00:00
warren%netscape.com
f29b00bbe4 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +00:00
jband%netscape.com
f84dc01556 Use hastable based nsStaticNameTable rather than slower and fatter AVLTree for static names. fix bug 48855. r=harishd,attinasi
git-svn-id: svn://10.0.0.236/trunk@76874 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:57:32 +00:00
jband%netscape.com
0b285116c6 fixing Mac bustage?
git-svn-id: svn://10.0.0.236/trunk@76873 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:33:06 +00:00
dp%netscape.com
20beedd735 bug# 49786 Weak ref cache commonly used protocol handlers. This will
eliminate about 1500 string copies and calls to ProgIDToClassID()
r=gagan,valeski


git-svn-id: svn://10.0.0.236/trunk@76872 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:16:50 +00:00
dp%netscape.com
c5955c8ed4 bug# 49786 Setting up chrome protocol handler to support weak ref. r=gagan,valeski
git-svn-id: svn://10.0.0.236/trunk@76871 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:11:48 +00:00
dp%netscape.com
b5500d43ea bug# 49786 Setting up res protocol handler to support weak ref. r=gagan,valeski
git-svn-id: svn://10.0.0.236/trunk@76870 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:09:52 +00:00
dp%netscape.com
e1977abe60 bug# 49786 Setting up http protocol handler to support weak ref. r=gagan,valeski
git-svn-id: svn://10.0.0.236/trunk@76869 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:08:56 +00:00
dp%netscape.com
55e8d9afb6 bug# 49786 Setting up file protocol handler to support weak ref.
git-svn-id: svn://10.0.0.236/trunk@76868 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:06:42 +00:00
jband%netscape.com
420d8b488f added files: mozilla/xpcom/ds/nsStaticNameTable.cpp
git-svn-id: svn://10.0.0.236/trunk@76867 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:05:12 +00:00
dp%netscape.com
fad92fa46d Fixing progid translation for registrations that dont have a progid.
git-svn-id: svn://10.0.0.236/trunk@76866 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:03:56 +00:00
dp%netscape.com
88d94c12d2 bug#49786 Caching frequently used progid: nsThreadJSContextStack r=waterson
git-svn-id: svn://10.0.0.236/trunk@76865 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 06:02:14 +00:00
jband%netscape.com
d526a9008e add nsStaticNameTable to the builds. Needed to fix bug 48855. r=harishd,attinasi
git-svn-id: svn://10.0.0.236/trunk@76864 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 05:59:06 +00:00
jband%netscape.com
0913025449 fix uninitialized member crash in secondary constructor of nsConsoleMessage
git-svn-id: svn://10.0.0.236/trunk@76863 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 05:54:25 +00:00
jst%netscape.com
fb3b02b0b2 Fixing bad typecasts (bug 49645)... r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76862 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 05:03:56 +00:00
warren%netscape.com
1f5af9ac08 Fixed warnings.
git-svn-id: svn://10.0.0.236/trunk@76861 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:57:21 +00:00
warren%netscape.com
1f28d7f0d6 Bug 49659. Added check to avoid null pointer deref.
git-svn-id: svn://10.0.0.236/trunk@76860 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:41:22 +00:00
waldemar%netscape.com
d65c76bf4d Added arguments to attributes; made 'use', 'namespace', and 'constructor' into keywords and simplified resulting grammar; merged attribute definitions into const definitions; made eval use function call syntax; renamed 'language' to 'use'.
git-svn-id: svn://10.0.0.236/trunk@76859 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:31:37 +00:00
waldemar%netscape.com
b50d4fceda Added \Q escape
git-svn-id: svn://10.0.0.236/trunk@76858 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:29:34 +00:00
waldemar%netscape.com
9913136f52 Added line-break constraint
git-svn-id: svn://10.0.0.236/trunk@76857 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:29:01 +00:00
waldemar%netscape.com
7167e52443 Made terminal constraint error message more detailed
git-svn-id: svn://10.0.0.236/trunk@76856 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:28:01 +00:00
kmcclusk%netscape.com
ecc5188588 Clear the backbuffer to white before rendering to it and copying forward b=34283 r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76855 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:20:40 +00:00
jst%netscape.com
52a1304643 Fixing nsbeta3+ bug 44024. Expose the stylesheets in stye and link elements (DOM Level 2) as 'sheet' properties on the elements. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76854 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:14:53 +00:00
brendan%mozilla.org
28e78190b3 Teach the DOM to use lazy JS class initialization (46703, r=jst@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@76853 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 03:51:17 +00:00
ann.adamcik%sun.com
b114c0ce8e Bug 24828. Increased file descriptor limit on Solaris to a reasonable
number (default is 64 on Solaris7).  r=cls@seawood.org, a=vidur@netscape.com


git-svn-id: svn://10.0.0.236/trunk@76852 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 03:42:32 +00:00
BlakeR1234%aol.com
27d7449ad0 Fix 49759 to remove the skin switch warning dialog. r=me (just backing out ben's changes), a=nsbeta3+
git-svn-id: svn://10.0.0.236/trunk@76851 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 02:57:58 +00:00
rjc%netscape.com
8214d946a2 Fix bug # 47336: files with question marks. r=me
git-svn-id: svn://10.0.0.236/trunk@76850 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 02:11:11 +00:00
mstoltz%netscape.com
02eaec4711 Fixing 41876 r=hyatt, also 48724, 49768, and crasher in nsBasePrincipal.cpp, r=jtaylor
git-svn-id: svn://10.0.0.236/trunk@76849 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 02:06:52 +00:00
warren%netscape.com
4ec674e585 Improved warning message.
git-svn-id: svn://10.0.0.236/trunk@76848 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 02:06:14 +00:00
hyatt%netscape.com
825ae7ad1b Fix for nsbeta3+ file control bug. BUgzilla down, so I can't produce the #. r=ben
git-svn-id: svn://10.0.0.236/trunk@76847 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 02:02:46 +00:00
rods%netscape.com
263be486a3 Changing changed window class to "MozillaWindowClass" in commented out line
doing this for completeness
b=29487 r=self


git-svn-id: svn://10.0.0.236/trunk@76846 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:59:34 +00:00
nelsonb%netscape.com
e7622bb2bf Big changes for performance.
- In mpi-priv.h, declare new 3 argument versions of s_mp_add and s_mp_sub.
Also declare new set of s_mpv_ functions that operate on vectors (arrays)
of mp_digits instead of on mp_ints.  These functions are candidates for
implementation in assembler.
- In mpi.c reimplement mp_add and mp_sub using the new 3arg functions.
Implement 3 argument versions of s_mp_add and s_mp_sub.
This eliminates all need for temporary variables in mp_add and mp_sub.
Implement c language reference implementations of new s_mpv vector multiply
and multiply and add functions.  Change mp_mul and mp_sqr so they no longer
pre-zero the output variable.  It's no longer nececssary with the new s_mpv
functions.  s_mp_pad no longer zeros out the new padded space.
-In mpmontg.c, implement variable width exponetiation windows.  Implement
a new function to compute the multiply and Montgomery reduction in a
single pass.  This is "Improvement 2" from Dusse' and Kaliski's paper
"A Cryptographic Library for the Motorola DSP56000".  Performance impact
is negligible in this c implementation.  However, this function is another
target for assembly language optimization.


git-svn-id: svn://10.0.0.236/trunk@76845 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:57:34 +00:00
despotdaemon%netscape.com
69328caaeb Pseudo-automatic update of changes made by dac@x.cx.
git-svn-id: svn://10.0.0.236/trunk@76844 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:46:28 +00:00
nelsonb%netscape.com
7d15eb50a6 Overhaul Makefile. Change it to use gmake's "static pattern rules",
instead of having explicit individual rules for every program. Also,
build .o files for programs, and link them in a separate step. This
speeds building after changing a .c file in the library.


git-svn-id: svn://10.0.0.236/trunk@76843 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:45:25 +00:00
rjc%netscape.com
59040ab8fd Add secondary secorting info for file/ftp listings. r=me
git-svn-id: svn://10.0.0.236/trunk@76842 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:39:48 +00:00
rjc%netscape.com
1318fa4c2f Fix bug # 48320: Directories displayed twice in file:/// URLs. r=me
git-svn-id: svn://10.0.0.236/trunk@76841 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:26:42 +00:00
nelsonb%netscape.com
780f2691c5 Get these tests to build with the current mpi API.
git-svn-id: svn://10.0.0.236/trunk@76840 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:19:26 +00:00
mccabe%netscape.com
9da50bb07f Fix to 43282, courtesy Mark Hammond <markh@activestate.com>
Common code between GetIIDForParam and GetInfoForParam, and reinforce a needed check against null.

r=jband
a=brendan


git-svn-id: svn://10.0.0.236/trunk@76839 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:19:22 +00:00
thayes%netscape.com
70d4a6fcce Add SDR Context resource to hold information during processing of
SDR encrypt, decrypt and change password commands.  These changes
enable use of the context field of the SDR messages by clients.


git-svn-id: svn://10.0.0.236/trunk@76837 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:16:42 +00:00
nelsonb%netscape.com
38f7c36f0b Go back to using gmake.
git-svn-id: svn://10.0.0.236/trunk@76836 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:15:41 +00:00
dmose%mozilla.org
1c53b7c30e patch from peter.vanderbeken@pandora.be which tracks warren's change to nsIRequest.idl and keep LDAP building on the tip. a=(not built), r=dmose@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@76835 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:05:13 +00:00
nelsonb%netscape.com
cd1956d920 MIPS assembler code to optimize inner multiply loops for mips3 CPUs.
git-svn-id: svn://10.0.0.236/trunk@76834 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:55:10 +00:00
ccarlen%netscape.com
cfd7d8dad2 Convert use of nsIFileLocator to nsIDirectoryService
r=mscott


git-svn-id: svn://10.0.0.236/trunk@76833 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:53:37 +00:00
ccarlen%netscape.com
23e0a3b7b9 Removed refs to nsIFileLocator
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76832 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:52:24 +00:00
ccarlen%netscape.com
a759366439 Convert use of nsIFileLocator to nsIDirectoryService.
r=dveditz


git-svn-id: svn://10.0.0.236/trunk@76831 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:45:19 +00:00
ssu%netscape.com
fdf056518a fixing bug http://bugscape/show_bug.cgi?id=2044 - need better ui/user experience for the Advanced Settings dialog. affects windows platforms only. a=dveditz r=sgehani
git-svn-id: svn://10.0.0.236/trunk@76830 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:45:10 +00:00
rjc%netscape.com
1a29d8e924 Fix bug # 35022: slow bookmark operations. r=waterson
git-svn-id: svn://10.0.0.236/trunk@76829 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:44:07 +00:00
ccarlen%netscape.com
42bbf571fd Convert use of nsIFileLocator to nsIDirectoryService.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76828 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:42:46 +00:00
ccarlen%netscape.com
0ff733de33 Convert use of nsIFileLocator to nsIDirectoryService
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76827 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:41:16 +00:00
ssu%netscape.com
096364a87d fixing bug http://bugscape/show_bug.cgi?id=2044 - need better ui/user experience for the Advanced Settings dialog. not part of tinderbox builds. a=dveditz r=sgehani
git-svn-id: svn://10.0.0.236/trunk@76826 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:41:11 +00:00
ccarlen%netscape.com
a8efafccd4 Converted use of nsIFileLocator to nsIDirectoryService.
r=morse


git-svn-id: svn://10.0.0.236/trunk@76825 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:39:09 +00:00
ccarlen%netscape.com
d8b196d291 Converted use of nsIFileLocator to nsIDirectoryService.
r=slamm


git-svn-id: svn://10.0.0.236/trunk@76824 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:36:55 +00:00
brendan%mozilla.org
31fe262dfa Fix UMR on ok in JS_ResolveStandardClass (46703, r=rogerl).
git-svn-id: svn://10.0.0.236/trunk@76823 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:25:17 +00:00
wtc%netscape.com
9713c2fce5 Do not use the 'const' qualifier with PL_HashTableLookupConst() and
PL_HashTableRawLookupConst() because when compiled with HASHMETER defined
they increment some counters in the hash table. r=larryh@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@76822 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:17:23 +00:00
ccarlen%netscape.com
247544a374 Converted uses of nsIFileLocator to nsIDirectoryService.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76821 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:16:50 +00:00
ccarlen%netscape.com
81f6e9d1d0 Converted use of nsIFileLocator to nsIDirectoryService
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76819 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:14:24 +00:00
despotdaemon%netscape.com
fc32721f05 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@76817 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:13:25 +00:00
ccarlen%netscape.com
fe75708f90 Converted from using nsIFileLocator to using nsIDirectoryService
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76815 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 23:59:25 +00:00
akkana%netscape.com
2c625a1630 Correct an error in a comment
git-svn-id: svn://10.0.0.236/trunk@76814 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 23:54:59 +00:00
ftang%netscape.com
4f6fb4066b fix 49553. r=mjudge. replace ToNewCString/delete pair with NS_ConvertUCS2toUTF8
git-svn-id: svn://10.0.0.236/trunk@76813 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 23:51:59 +00:00
ccarlen%netscape.com
009c5bf00a Converted nsIFileLocator to nsIDirectoryService.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76812 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 23:43:48 +00:00
ftang%netscape.com
12e64f429f fix bug 48231. Thanks Eungkyu Song <eungkyu@bawi.org> for the patch.
r=ftang


git-svn-id: svn://10.0.0.236/trunk@76811 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 23:34:23 +00:00
ftang%netscape.com
c4751435be fix bug 21312. r=nhotta. Store the charset decision into the cache and reuse it later.
git-svn-id: svn://10.0.0.236/trunk@76810 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 23:16:43 +00:00
dbaron%fas.harvard.edu
41c700abf2 Don't NS_LOG_RELEASE twice. r=chuang (No-op in release builds.)
git-svn-id: svn://10.0.0.236/trunk@76808 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 23:09:01 +00:00
morse%netscape.com
fc63b27358 bug 49589, excessive bloat in wallet tables, r=valeski
git-svn-id: svn://10.0.0.236/trunk@76806 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:53:21 +00:00
dougt%netscape.com
d96f6ec4b2 add zlib to unix base browser
git-svn-id: svn://10.0.0.236/trunk@76805 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:52:22 +00:00
dougt%netscape.com
f3e3c7fdf7 b=49593. r=bruce@cubik.org (Bruce Mitchener).
git-svn-id: svn://10.0.0.236/trunk@76804 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:51:10 +00:00
javi%netscape.com
09700528d2 Fix for bug #45982. Set the mode on the file picker correctly.
This allows users to back up certs successfully to new files instead
of having to over-write existing files.


git-svn-id: svn://10.0.0.236/trunk@76803 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:42:59 +00:00
gagan%netscape.com
bc90969808 Fix for bug 48200. We were incorrectly setting mDocumentURI to the OriginalURI which completely broke redirects (which are conveyed thru URI and not OriginalURI) r=hyatt
git-svn-id: svn://10.0.0.236/trunk@76802 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:37:02 +00:00
hyatt%netscape.com
bdfc2977d4 49012 fix, r=danm
git-svn-id: svn://10.0.0.236/trunk@76801 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:30:36 +00:00
hyatt%netscape.com
4e7bace87a 49012 fix, r=danm
git-svn-id: svn://10.0.0.236/trunk@76800 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 22:23:15 +00:00
dbragg%netscape.com
e668f66e3c Fix for 45911 and 45913. changed NativeFileOpFileCopyPrepare and Complete to check for a filename supplied by the script writer. Still accepts directories as well. r=ssu
git-svn-id: svn://10.0.0.236/trunk@76799 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 21:39:09 +00:00
varada%netscape.com
8f5b5ee2f8 fix for bugs #47935 and #21831;unable to close addresspicker after selecting cards;r=putterman
git-svn-id: svn://10.0.0.236/trunk@76798 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 21:35:08 +00:00
rods%netscape.com
53db64fbd9 changed window class to "MozillaWindowClass"
b=29487 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76797 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 21:32:09 +00:00
av%netscape.com
67133458bf 49515, fixing incorrect handling nsPluginInfo struct which prevented
Mac plugins from working, patch by beard, r=av


git-svn-id: svn://10.0.0.236/trunk@76796 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 21:31:28 +00:00
bienvenu%netscape.com
77f40e9b53 fix searching of sub-folders r=putterman 44383
git-svn-id: svn://10.0.0.236/trunk@76795 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 21:25:54 +00:00
pavlov%netscape.com
37ec10c13e oops, add blue skin to windows packages bug 49530
git-svn-id: svn://10.0.0.236/trunk@76794 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 21:01:29 +00:00
cyeh%bluemartini.com
97479f8ae1 fix for #39044 : Some vers. of some browsers give a script warning on query page when not
using milestones. patch submitted by nkiesel@tbdnetworks.com


git-svn-id: svn://10.0.0.236/trunk@76792 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 20:16:00 +00:00
waterson%netscape.com
1cda08719e Bug 47843. Be sure to set nsPresShell's mIsReflowing during initial reflow to avoid re-entrancy. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@76790 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 20:10:07 +00:00
putterman%netscape.com
d657d64042 More fixes for 48244 which makes the 3pane menus look better. Also fixed 44223 which brings Open Link in New Window to the top of the message pane context menu
r=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@76789 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 20:00:48 +00:00
cyeh%bluemartini.com
43f18fecb9 fix for bug #44622: perl5.6 vs perl5.005 -w: more anal 5.6 causes errors.
patches by mtakacs@pacbell.net.


git-svn-id: svn://10.0.0.236/trunk@76788 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 19:50:41 +00:00
dbaron%fas.harvard.edu
6fcb2971f9 Fix double-addref leak of stylesheets. b=49648 r=mjudge
git-svn-id: svn://10.0.0.236/trunk@76787 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 19:46:18 +00:00
pnunn%netscape.com
246df8901f bug#20110, & maybe #32269: Get pref load attributes and apply if LOAD_NORMAL when get
image url. pnunn, r:neeti.


git-svn-id: svn://10.0.0.236/trunk@76786 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 19:37:04 +00:00
despotdaemon%netscape.com
22384cbc16 Pseudo-automatic update of changes made by sean@beatnik.com.
git-svn-id: svn://10.0.0.236/trunk@76784 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 19:18:21 +00:00
valeski%netscape.com
0fdf4dec71 49360. removing core cache module from the build on unix. this was missed a few months ago when we started building the cache stuff into netwerk/build
git-svn-id: svn://10.0.0.236/trunk@76783 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 19:07:49 +00:00
slamm%netscape.com
e34280fad8 Add warn<time>.<process>.html to remove list
git-svn-id: svn://10.0.0.236/trunk@76782 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 17:52:13 +00:00
pavel%gingerall.cz
6fe04f8f41 - JSVALToSV handles perl objects in the right way
git-svn-id: svn://10.0.0.236/trunk@76780 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 16:52:49 +00:00
despotdaemon%netscape.com
7163871384 Pseudo-automatic update of changes made by timeless@mac.com.
git-svn-id: svn://10.0.0.236/trunk@76779 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 16:22:06 +00:00
nboyd%atg.com
1c1de668a5 Fix bug 49325.
git-svn-id: svn://10.0.0.236/trunk@76778 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 15:56:15 +00:00
nboyd%atg.com
4bdf743ca1 Fix class path
git-svn-id: svn://10.0.0.236/trunk@76777 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 15:51:57 +00:00
dbaron%fas.harvard.edu
7270634490 Fix leak of stylesheets. r=waterson
git-svn-id: svn://10.0.0.236/trunk@76776 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 13:05:53 +00:00
dbaron%fas.harvard.edu
e41929661b Add nsFontCache to leak and bloat stats. r=waterson
git-svn-id: svn://10.0.0.236/trunk@76775 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 13:04:18 +00:00
law%netscape.com
11d078eb18 Bug 22174; add title to SH entries for file:/ftp: directory URLs; r=radha@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76774 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 11:02:39 +00:00
jst%netscape.com
8f65e234f7 Fixing nsbeta3+ bug 42670, stop the JS (DOM) error reporter from recursing to death if there's a JS error in an onerror handler. r=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@76773 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 08:44:55 +00:00
warren%netscape.com
4d62e29749 Bug 46864 - Embedding needs a name attribute on nsIRequest.
git-svn-id: svn://10.0.0.236/trunk@76772 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 08:23:54 +00:00
warren%netscape.com
9c205f3f09 Bug 43654. Error checking in chrome registry. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@76771 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 07:50:39 +00:00
kvisco%ziplink.net
269fab26cb Not part of regular build, a=leaf. Changed name from DocumentHandler.h
git-svn-id: svn://10.0.0.236/trunk@76770 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 06:33:45 +00:00
kvisco%ziplink.net
081dc831f2 Not part of regular build, a=leaf. Changed the name of this file to XMLEventHandler.h.
git-svn-id: svn://10.0.0.236/trunk@76769 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 06:32:49 +00:00
warren%netscape.com
4afc13fbcb Added back in nsOpaqueKey, used in nsMemCache. Went back to 37 as the magic number (prime).
git-svn-id: svn://10.0.0.236/trunk@76768 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 02:37:20 +00:00
racham%netscape.com
a2eed10209 Fixing bug 39289. Fixing a crasher at shutdown time when createprofile option is used. r=dougt
git-svn-id: svn://10.0.0.236/trunk@76767 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 01:36:42 +00:00
morse%netscape.com
7dd68a74d4 bug 49588, fix memory leak, code suggested by bruce@cubik.org, r=morse
git-svn-id: svn://10.0.0.236/trunk@76766 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 00:03:10 +00:00
cls%seawood.org
5ba0518a80 Only use HOST_CC & friends when actually cross-compiling.
git-svn-id: svn://10.0.0.236/trunk@76765 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 23:53:06 +00:00
bryner%uiuc.edu
ff9ea2bc67 Removing files that are no longer needed. r=cls.
git-svn-id: svn://10.0.0.236/trunk@76764 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 22:41:06 +00:00
warren%netscape.com
cc42ff3149 After a little more analysis, I think using 33 instead of 37 as the magic multiplier gives just as good a distribution, but is a little faster to compute.
git-svn-id: svn://10.0.0.236/trunk@76763 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 22:28:12 +00:00
waterson%netscape.com
cf19730f34 Bug 46846. HandleEventForAnchors() call to QI() for nsILink rather than look for 'href' attribute; fix potential problems with document charset and image maps and <link> tags. (Really just an extension of cleanup for bug 10373) r=dbaron
git-svn-id: svn://10.0.0.236/trunk@76762 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 21:57:50 +00:00
warren%netscape.com
895569159c Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
git-svn-id: svn://10.0.0.236/trunk@76761 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 21:29:10 +00:00
waterson%netscape.com
0422415aad Fix nsCString::AppendWithConversion() to work.
git-svn-id: svn://10.0.0.236/trunk@76760 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 20:41:31 +00:00
beard%netscape.com
637119d14b [not part of build] fixed getFileLocation(), had broken Mac format.
git-svn-id: svn://10.0.0.236/trunk@76759 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 20:04:44 +00:00
blizzard%redhat.com
27e8e339fc back out changes described in bug #46901 since it breaks DOM key press events as described in bug #14856. a=brendan
git-svn-id: svn://10.0.0.236/trunk@76758 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 15:51:33 +00:00
gagan%netscape.com
71b704daa5 fixing for scc.
git-svn-id: svn://10.0.0.236/trunk@76757 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 08:09:00 +00:00
scc%mozilla.org
dbcb0f01c1 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76756 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 07:51:44 +00:00
scc%mozilla.org
b8a099bbf3 temporarily backing out the headers with the explicit change (we haven't finished platform specific code or commercial yet)
git-svn-id: svn://10.0.0.236/trunk@76755 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 07:40:30 +00:00
scc%mozilla.org
693a4a3f1e fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76754 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 07:33:54 +00:00
scc%mozilla.org
98af20b0d2 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76753 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 07:18:09 +00:00
scc%mozilla.org
a5e2a07ee1 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76752 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 07:09:45 +00:00
scc%mozilla.org
28bc951b70 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76751 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 07:04:19 +00:00
scc%mozilla.org
20f047d01b fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76750 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 06:59:07 +00:00
scc%mozilla.org
a5293d2dbe fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76749 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 06:29:14 +00:00
scc%mozilla.org
c14e52c824 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76748 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 06:17:15 +00:00
scc%mozilla.org
1d910850aa fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76747 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 06:08:14 +00:00
mcafee%netscape.com
0871273081 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@76746 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 05:46:23 +00:00
bryner%uiuc.edu
40991deed9 Removing unused files. Bug 38061. r=cls.
git-svn-id: svn://10.0.0.236/trunk@76745 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 05:07:41 +00:00
dprice%netscape.com
a7e0171087 removed entry for file that disappeared.
git-svn-id: svn://10.0.0.236/trunk@76744 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 02:25:28 +00:00
scc%mozilla.org
e7752a2c9f fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76743 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 01:55:20 +00:00
scc%mozilla.org
c2bc3119d1 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76742 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 01:46:16 +00:00
scc%mozilla.org
5f1b118a9c fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76741 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 01:16:54 +00:00
saari%netscape.com
5f1a4898c0 Fix for 45006, key events going to select boxes when they're at 0,0. Stop dispatching key events to frame 0,0 when we don't have focused content.
git-svn-id: svn://10.0.0.236/trunk@76740 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 01:14:34 +00:00
dbaron%fas.harvard.edu
35070a1c3d Back out makefile changes since they are causing problems for some people. Go back to copying source files around.
git-svn-id: svn://10.0.0.236/trunk@76739 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 01:14:26 +00:00
scc%mozilla.org
cfff65cc70 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76738 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 01:08:32 +00:00
scc%mozilla.org
d77d4b0a4d fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76737 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 01:01:10 +00:00
scc%mozilla.org
c16f42bc5e fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76736 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 00:52:22 +00:00
scc%mozilla.org
27d2655b82 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76735 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 00:45:05 +00:00
scc%mozilla.org
9e28a8b643 fixing code that relied on implicit string construction; note that |NS_LITERAL_STRING| does not produce an |nsString|, it produces something that is a |nsAReadableString|. Many functions still take |nsString&| arguments, and so |NS_LITERAL_STRING| is not appropriate in calling them, yet.
git-svn-id: svn://10.0.0.236/trunk@76734 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 00:34:08 +00:00
saari%netscape.com
8c476c9461 Fix for nsbeta3+ 48838; context menus now set focus before coming up. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@76733 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 00:29:24 +00:00
sgehani%netscape.com
9f3dc5d6a0 Build standalone zlib only on Linux. (Installer only exists on Linux for
now.)
[r=syd]


git-svn-id: svn://10.0.0.236/trunk@76732 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 23:33:23 +00:00
sgehani%netscape.com
7a6481f93b Build standalone libjar only on Linux. (Installer only exists on Linux for
now.)
[r=syd]


git-svn-id: svn://10.0.0.236/trunk@76731 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 23:32:24 +00:00
scc%mozilla.org
02b44d4915 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76730 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:53:36 +00:00
scc%mozilla.org
f97394e293 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76729 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:46:00 +00:00
scc%mozilla.org
a57c788e93 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76728 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:35:49 +00:00
scc%mozilla.org
a0a2b1b7fe fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:23:46 +00:00
putterman%netscape.com
38c09c8e82 Fix for 48424. Double clicking on column doesn't open the selected message in a standalone
window anymore. r=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@76726 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:03:35 +00:00
scc%mozilla.org
f44f19dc75 attempt to fix linux bustage
git-svn-id: svn://10.0.0.236/trunk@76725 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:01:24 +00:00
scc%mozilla.org
3dc16d7d10 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76724 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:44:26 +00:00
dbaron%fas.harvard.edu
b25c1e798c Remove no-longer-copied files from .cvsignore
git-svn-id: svn://10.0.0.236/trunk@76723 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:42:35 +00:00
scc%mozilla.org
e26ccffd2e fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76722 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:38:38 +00:00
putterman%netscape.com
488e565762 Fix for 15142. Secondary sort by date for thread pane columns. patch by nhotta. r=scottip.
git-svn-id: svn://10.0.0.236/trunk@76721 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:36:05 +00:00
scc%mozilla.org
eca3b0b68b fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76720 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:32:38 +00:00
dbaron%fas.harvard.edu
4deff571f9 Avoid copying source files to compile them. r=bryner
git-svn-id: svn://10.0.0.236/trunk@76719 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:24:49 +00:00
scc%mozilla.org
b55d322019 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76718 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:22:45 +00:00
scc%mozilla.org
2536a06ef0 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76717 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:10:07 +00:00
scc%mozilla.org
ca74c1f91d fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76716 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 21:04:10 +00:00
bienvenu%netscape.com
ec949adeae fix default account names r=alecf 29579
git-svn-id: svn://10.0.0.236/trunk@76715 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 20:52:31 +00:00
scc%mozilla.org
7a5510e280 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76714 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 20:52:04 +00:00
scc%mozilla.org
5cdb782979 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76713 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 20:07:01 +00:00
scc%mozilla.org
b9749d26ca fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76712 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 20:01:04 +00:00
scc%mozilla.org
b286b36f72 adding |AppendWithConverison(const PRUnichar*, PRInt32)|, the need for which was brought out by making constructors |explicit|
git-svn-id: svn://10.0.0.236/trunk@76711 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 19:34:00 +00:00
pinkerton%netscape.com
ff106ebc52 Replaced lots of unnecessary code with OleFlushClipboard() so that we correctly flush
the clipboard when the app quits, but only if the data on the clipboard is ours to
begin with. r=scc, bug#49354.


git-svn-id: svn://10.0.0.236/trunk@76710 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 19:30:52 +00:00
brendan%mozilla.org
ee6d41f982 Re-constipate JSClass.name.
git-svn-id: svn://10.0.0.236/trunk@76709 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 19:17:32 +00:00
sgehani%netscape.com
0f4e6395e4 Remove 'unzip' dependency from Linux installer.
[nsbeta3+ b=48109; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@76708 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 18:50:10 +00:00
beard%netscape.com
45dd3f548f bug 39050, fixing usage of va_arg to use proper type promotion
git-svn-id: svn://10.0.0.236/trunk@76707 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 17:59:02 +00:00
brendan%mozilla.org
e24fb0083f Cast away const when freeing JSClass names.
git-svn-id: svn://10.0.0.236/trunk@76706 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 17:07:46 +00:00
ccarlen%netscape.com
3927887bed Removed some unneeded includes of nsIFileLocator.
r=warren


git-svn-id: svn://10.0.0.236/trunk@76705 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 16:56:58 +00:00
jband%netscape.com
2dab0327a4 fix the warnings that went along with the last bustage fix - in case one of the compilers needs it. brendan can fix as he likes in the morning
git-svn-id: svn://10.0.0.236/trunk@76704 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 10:36:45 +00:00
jband%netscape.com
1d8567d550 fix bustage
git-svn-id: svn://10.0.0.236/trunk@76703 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 10:22:13 +00:00
leaf%mozilla.org
3cf3353f8d Automated update
git-svn-id: svn://10.0.0.236/trunk@76702 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 09:00:11 +00:00
cls%seawood.org
5d6bc0acda Argh. The irix xptcinvoke glue is written only against the N32 ABI so we have no choice but to use it. This means no browser for Irix versions below 6.x. :-/
git-svn-id: svn://10.0.0.236/trunk@76701 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:58:51 +00:00
brendan%mozilla.org
75009b9c23 Move shell to DIRS from ENABLE_TESTS ifdef addition to DIRS (r=mccabe,leaf).
git-svn-id: svn://10.0.0.236/trunk@76700 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:41:34 +00:00
brendan%mozilla.org
3802be8867 Support lazy initialization of standard classes and their associated global functions/properties (46703, r=jband,rogerl).
git-svn-id: svn://10.0.0.236/trunk@76699 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:37:07 +00:00
brendan%mozilla.org
d11bf9753e Add stub entry struct and ops for const void *keys, split out JS_DHashTableRawRemove, beefed up comments (part of 46703, r=jband).
git-svn-id: svn://10.0.0.236/trunk@76698 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:36:32 +00:00
leaf%mozilla.org
268235d2ba Automated update
git-svn-id: svn://10.0.0.236/trunk@76697 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:15:12 +00:00
cls%seawood.org
d28864bd45 Use the -n32 ABI as the default for Irix 6.x but allow the option to disable it.
git-svn-id: svn://10.0.0.236/trunk@76696 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:05:05 +00:00
cls%seawood.org
9bf5a41da7 Native irix compilers don't seem to know about |typename| either
git-svn-id: svn://10.0.0.236/trunk@76695 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 08:01:28 +00:00
pavlov%netscape.com
9acd8e4567 adding blue to mac build r=smfr
git-svn-id: svn://10.0.0.236/trunk@76694 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 06:54:06 +00:00
pavlov%netscape.com
fde54244ff adding blue to build
git-svn-id: svn://10.0.0.236/trunk@76693 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 06:53:40 +00:00
pavlov%netscape.com
1954df2917 s/Modern/Blue/
git-svn-id: svn://10.0.0.236/trunk@76692 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 06:43:13 +00:00
pavlov%netscape.com
1ea0bfa019 fix for leak due to extra addref of GdkGC bug 49555 r=bruce
git-svn-id: svn://10.0.0.236/trunk@76691 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 06:33:56 +00:00
pavlov%netscape.com
f0f5f54d83 bug 49530 (i'm just copying files)
git-svn-id: svn://10.0.0.236/trunk@76690 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 06:27:33 +00:00
pavlov%netscape.com
0fd98124af fix for wrong cursor when in wait state bug 48839 r=bruce
git-svn-id: svn://10.0.0.236/trunk@76689 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 06:13:08 +00:00
pavlov%netscape.com
6ff4003cb2 XRegions are no longer emigrating in mass to avoid free() (bug 49537) r=bruce
git-svn-id: svn://10.0.0.236/trunk@76688 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 06:01:43 +00:00
jfrancis%netscape.com
60b93bc382 fixing 49392: editor spazzing uneeded br tags in tables; r=fm
git-svn-id: svn://10.0.0.236/trunk@76687 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 05:58:11 +00:00
cltbld%netscape.com
eca3370810 Need to declare nsIFile to make WS 5.0 happy -cls
git-svn-id: svn://10.0.0.236/trunk@76686 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 05:44:34 +00:00
morse%netscape.com
749eb6f617 bug 49541, fix leak, coder=bruce@cubik.org, r=morse
git-svn-id: svn://10.0.0.236/trunk@76685 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 04:13:21 +00:00
dbaron%fas.harvard.edu
38b7ad8d31 Changing C++ comments to C comments. Please do not put C++ comments in C files, since it breaks some compilers. r=jst
git-svn-id: svn://10.0.0.236/trunk@76684 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 03:56:25 +00:00
jband%netscape.com
346250862d Add support for -w and -s for reporting warnings and doing strict JS checking (as supported by the engine). Also update the usage info. ra=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@76683 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 03:28:01 +00:00
bryner%uiuc.edu
e052fffc44 Removing obsolete files from the tree. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@76682 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 03:25:34 +00:00
jband%netscape.com
2045a6679c Adding better diagnostic message to help in finding and fixing mismatched calls to JS_AddNamedRoot/JS_RemoveRoot. ra=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@76681 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 03:25:16 +00:00
beard%netscape.com
b9a8e7093c added debugger classes.
git-svn-id: svn://10.0.0.236/trunk@76680 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 02:42:05 +00:00
mcafee%netscape.com
4d86a827da don't need kernel version for linux/intel
git-svn-id: svn://10.0.0.236/trunk@76679 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 02:30:27 +00:00
srilatha%netscape.com
7c11f6879c Fix for bug# 44174. r=alecf. Removed Ignore Thread/ watch thread menuitems
git-svn-id: svn://10.0.0.236/trunk@76678 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 02:17:49 +00:00
srilatha%netscape.com
499884a2c3 Fix for bug# 46873. r=alecf. Disabled the otherheader from filter rules and search
git-svn-id: svn://10.0.0.236/trunk@76677 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 02:11:12 +00:00
tor%cs.brown.edu
5135fe2ef7 Update to libpng-1.0.8. a=brendan,waterson
git-svn-id: svn://10.0.0.236/trunk@76676 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 02:06:43 +00:00
nbhatla%netscape.com
af4c81af78 #46519 -> Mac classic skin polis. r=hangas
git-svn-id: svn://10.0.0.236/trunk@76675 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 02:04:21 +00:00
nbhatla%netscape.com
71f68f05a2 #25561 -> Select Addresses Dialog box. r=hangas
git-svn-id: svn://10.0.0.236/trunk@76674 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 02:03:49 +00:00
nbhatla%netscape.com
ee2a1c280c #46519 -> Mac Classic Skin Polish. Pointer cursor on bookmarks mouseOver now. r=hangas
git-svn-id: svn://10.0.0.236/trunk@76673 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 02:03:07 +00:00
nbhatla%netscape.com
70aa47999c #25561 -> Select Addresses dialog cleanup. #46519-> Mac Classic skin polish. r=hangas
git-svn-id: svn://10.0.0.236/trunk@76672 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 01:57:50 +00:00
nbhatla%netscape.com
bc8ad45327 #25561 -> Select Addresses Dialog cleanup, for modern and classic skins. r=hangas
git-svn-id: svn://10.0.0.236/trunk@76671 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 01:56:35 +00:00
ducarroz%netscape.com
fba9b81378 Fix for bug49215. Replace a spring by a splitter and set some minimum width. R=alecf
git-svn-id: svn://10.0.0.236/trunk@76670 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 01:52:01 +00:00
morse%netscape.com
0a82c751e2 bug 44514, speed up loading of wallet tables, coded by pinkerton, r=morse
git-svn-id: svn://10.0.0.236/trunk@76669 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 00:32:37 +00:00
morse%netscape.com
b7bf72f939 bug 44514, speed up loading of wallet tables, r=dbragg
git-svn-id: svn://10.0.0.236/trunk@76668 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 00:29:48 +00:00
sgehani%netscape.com
109493aa4e Backing out changes.
git-svn-id: svn://10.0.0.236/trunk@76667 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 00:21:04 +00:00
sgehani%netscape.com
ee8de30358 Updating headser to ignore copied over from parent directory.
git-svn-id: svn://10.0.0.236/trunk@76666 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 23:42:38 +00:00
sgehani%netscape.com
a9e7b45c72 This is the *real* fix for the Linux bustage. Sorry about this loss of time.
Had to do with MOZ_NATIVE_ZLIB not being defined on my system (differs from
the tbox builds I guess).


git-svn-id: svn://10.0.0.236/trunk@76665 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 23:41:15 +00:00
sgehani%netscape.com
ee11193dc9 Attempting to contain bustage again.
git-svn-id: svn://10.0.0.236/trunk@76664 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 23:22:11 +00:00
jj%netscape.com
9fd22fb1c9 fixed duplicate warning. r=granrose
git-svn-id: svn://10.0.0.236/trunk@76663 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 23:12:50 +00:00
putterman%netscape.com
9479c8d7ac Fix for 48812. submitted by Gemal. r=scottip. Some null ptr checks.
git-svn-id: svn://10.0.0.236/trunk@76662 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 22:49:31 +00:00
danm%netscape.com
b098c05318 Suppress dispatch of events to collapsed windows. bugs 49007, 48153. r=sfraser@netscape.com. (Note 49007 is expected Mac behaviour, but it seems like a bad thing.)
git-svn-id: svn://10.0.0.236/trunk@76661 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 22:49:02 +00:00
sgehani%netscape.com
1cc9555a48 Fix build bustage... maybe :)
git-svn-id: svn://10.0.0.236/trunk@76660 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 22:48:20 +00:00
jtaylor%netscape.com
4d256adca6 Additional safeguard for bug #45877. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@76659 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 22:32:05 +00:00
sgehani%netscape.com
2fa405e704 Installer now uses libjar for extraction eliminating the dependency on the
"unzip" command in the user's path.
[nsbeta3+ b=48109; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@76658 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 22:10:44 +00:00
sgehani%netscape.com
212a57768a Building standalone libjar for installer use.
[nsbeta3+ b=48109; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@76657 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 22:09:26 +00:00
sgehani%netscape.com
2f4d692f13 Building standalone zlib for installer use.
[nsbeta3+ b=48109; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@76656 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 22:08:22 +00:00
cmanske%netscape.com
339def41b2 Tweaked toolbar images to center better. Part of bug 47515. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@76655 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 22:02:28 +00:00
av%netscape.com
adf2c05ade Addressing #48856, added argument null-check before passing it to nsCStringKey::nsCStringKey()
patch by warren, r=av


git-svn-id: svn://10.0.0.236/trunk@76654 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 21:53:03 +00:00
bryner%uiuc.edu
fc8b07d0a1 Removing obsolete files from the tree. r=law. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@76653 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 21:30:42 +00:00
warren%netscape.com
fbe26a070a Correct error code.
git-svn-id: svn://10.0.0.236/trunk@76652 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:54:28 +00:00
rayw%netscape.com
5268ef92ef A fix to bug 43351.
A softer landing on a failed initialization.  It checks for a null
before deallocating.  This does not affect the success path.

This was a patch, and I reviewed it:  (r=rayw)


git-svn-id: svn://10.0.0.236/trunk@76651 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:54:04 +00:00
rayw%netscape.com
c583b148a2 Check return from PlatformInit, and return if it failed.
Bug 43347

This was a patch submitted, I have reviewed it (r=rayw)
it provides a softer landing when problems occur in the
initialization.  There is no difference in behavior if
the initialization was successful.


git-svn-id: svn://10.0.0.236/trunk@76650 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:51:37 +00:00
attinasi%netscape.com
049b2a0524 Fixed NotifyFrames to handle the case where the notification callback causes the frames list to change. Patch supplied by serge@netscape.com, b=46934 r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76649 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:47:47 +00:00
attinasi%netscape.com
20b7c1ce10 Fixed the application of the BodyFixupRule so that it is only created when the BODY element has the HTML element as its parent. b=17911 r=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@76648 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:38:29 +00:00
bryner%uiuc.edu
5a96df1fd1 Removing obsolete files from the tree. Not part of build. r=law.
git-svn-id: svn://10.0.0.236/trunk@76647 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:05:58 +00:00
radha%netscape.com
ac8d0ed3c1 fix for bug # 49134 r=slamm
git-svn-id: svn://10.0.0.236/trunk@76646 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:05:37 +00:00
ruslan%netscape.com
8294caa9da Fix 48358 - www.hotmail.com is blank; r/a=gagan
git-svn-id: svn://10.0.0.236/trunk@76645 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 19:39:27 +00:00
tor%cs.brown.edu
f62e3c9df2 Turn on JNG (encapsulated JPEG) images by registering image/x-jng.
r=shaver,pnunn a=brendan


git-svn-id: svn://10.0.0.236/trunk@76644 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 19:16:41 +00:00
radha%netscape.com
15cd82461f fix for bug # 43335. checking in patch on behalf of deo@logos-m.ru r=radha
git-svn-id: svn://10.0.0.236/trunk@76643 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 18:45:44 +00:00
radha%netscape.com
88f40b300d Commenting out debug statements. Trivial changes.
git-svn-id: svn://10.0.0.236/trunk@76642 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 18:37:25 +00:00
radha%netscape.com
35be8e356f Fix for bug # 47148. r=rpotts
git-svn-id: svn://10.0.0.236/trunk@76641 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 18:33:12 +00:00
mcgreer%netscape.com
02b0642d90 initial checkin of DSA implementation.
git-svn-id: svn://10.0.0.236/trunk@76640 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 18:32:33 +00:00
rods%netscape.com
b702660fb2 patch from web converting it over to use the FilePicker
it also now uses the default directory
b=40976,47552 r=rods,kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76639 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 18:16:12 +00:00
javi%netscape.com
5ad0e91fab Fix for bug 27862
implement the crypto method for alert so that Security Advisor pages can
display alert messages properly now.


git-svn-id: svn://10.0.0.236/trunk@76638 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 18:13:03 +00:00
locka%iol.ie
f24bf12528 New localized strings for popup menus. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76637 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 14:44:15 +00:00
locka%iol.ie
2642589aa1 Added debugging for new command handler. Localized popup menus. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76636 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 14:44:00 +00:00
putterman%netscape.com
2062a828d4 Begin work on 48244 to clean up 3pane menus. r=alecf. Fix 43480, folder pane background
is now white.  r=mscott.


git-svn-id: svn://10.0.0.236/trunk@76635 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 14:35:32 +00:00
bienvenu%netscape.com
d659d579f7 improve corrupt db detection and handling part of fix for 48466 r=mscott
git-svn-id: svn://10.0.0.236/trunk@76634 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 13:14:27 +00:00
jst%netscape.com
0033a2db23 Fixing nsbeta3+ bug 31539. Adding support for the 4.x DOM property 'text' on links. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76633 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 07:46:58 +00:00
jst%netscape.com
3913565437 Fixing nsbeta3+ bug 46190. Clicking on links that point to anchors with whitespace in them wasn't working... r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76632 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 07:31:40 +00:00
ben%netscape.com
9a5de214cc modified a little too much.. reverting some of my changes...
git-svn-id: svn://10.0.0.236/trunk@76631 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 07:31:08 +00:00
ben%netscape.com
be8899b231 remove builtinurls load from navigator
git-svn-id: svn://10.0.0.236/trunk@76630 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 07:29:17 +00:00
jst%netscape.com
e1196e179e Fixing nsbeta3+ bug 47420. Don't throw a DOM exception when accessing a nodemap by index even if the index is out of range, simply return null in stead. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76629 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 07:04:30 +00:00
jst%netscape.com
0d8561b5a2 Fixing nsbeta3+ bug 46966. Changing the exception thrown when a DOM Attribute node is modified. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76628 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:55:42 +00:00
jst%netscape.com
0a1ad0b622 Fxing nsbeta3+ bug 45680. Cloning an HTML element with a style attribute didn't clone the style declaration in the element so changing the style on the clone resulted in a style change for both elements. Also fixing a few memory leaks in nsHTMLTableElement. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76627 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:52:31 +00:00
alecf%netscape.com
f9fdfa49ba fix for #48397 - make search work again by avoiding a double-initialization of the search root URI
r=scottip


git-svn-id: svn://10.0.0.236/trunk@76626 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:39:12 +00:00
waterson%netscape.com
9cc9cfc356 Bug 29641. Set default content.notify.backoffcount to -1 (never). This doesn't really 'fix' the bug; however, it keeps us from getting into a situation where layout gets too much content crammed down its throat at once. r=vidur,nisheeth
git-svn-id: svn://10.0.0.236/trunk@76625 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:33:34 +00:00
waterson%netscape.com
1d744f391f Bug 49122. Make the image map manage addition and removal of the <area>'s to the primary-frame-for map in the frame manager. r=saari
git-svn-id: svn://10.0.0.236/trunk@76624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:27:42 +00:00
ben%netscape.com
ed318f44b0 fix for bug 29124, r=morse
git-svn-id: svn://10.0.0.236/trunk@76623 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:23:10 +00:00
ben%netscape.com
55782523b0 resource urls are bad
git-svn-id: svn://10.0.0.236/trunk@76622 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:22:14 +00:00
ben%netscape.com
0d583d8e7c 46613...
git-svn-id: svn://10.0.0.236/trunk@76621 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:13:32 +00:00
morse%netscape.com
5b95c09e46 update wallet tables, not part of build
git-svn-id: svn://10.0.0.236/trunk@76620 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:10:55 +00:00
morse%netscape.com
7863e6aeb4 bug 48742, change name of server for privacy tutorial, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@76619 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 05:49:59 +00:00
pollmann%netscape.com
6c9abb09ae Bug 48736: Stop leaking form data every form submit (and fix 2 warnings), r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76618 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 05:46:47 +00:00
pavlov%netscape.com
118c9cd47e removing assertion when aData is null since it will always be null and isn't used (removing small part of akkana's patch for 46643) r=bryner
git-svn-id: svn://10.0.0.236/trunk@76617 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 05:26:05 +00:00
pollmann%netscape.com
8e93b5b21f Bug 47281: form.reset now generates a reset event, and the frame is notified from the event handling code. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76616 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 05:18:01 +00:00
ben%netscape.com
fdc9424ec9 fix for 31374, text in disabled textfields isn't greyed
git-svn-id: svn://10.0.0.236/trunk@76615 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 04:52:04 +00:00
ben%netscape.com
1a3bcc0bac some pref panel appearance fixes
git-svn-id: svn://10.0.0.236/trunk@76614 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 04:49:33 +00:00
pinkerton%netscape.com
7ea7daadb2 add a |do_AppendFromElement(PRUnichar)| to help speed up some things in wallet initialization (bug 44514) r/a=scc.
git-svn-id: svn://10.0.0.236/trunk@76613 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 04:48:29 +00:00
pollmann%netscape.com
d9cc2381b1 Bug 43214: Exclude garbage values for font height that cause crashes. Fix courtesy of Randell Jesup jesup@wgate.com, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@76612 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 03:38:15 +00:00
beard%netscape.com
a10b71d523 Adding support for Linux format leak files.
git-svn-id: svn://10.0.0.236/trunk@76611 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 03:16:29 +00:00
rcassin%supernova.org
eda25dbbdc Fix for bugs 41968 (print button is dim) and 48686 (print button doesn't work). The fix doesn't work in Classic due to a recent button checkin by Ben and a bug has been filed against him (49421).
git-svn-id: svn://10.0.0.236/trunk@76610 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 02:51:46 +00:00
mscott%netscape.com
f5ffd6c5cd Bug #47285 --> supress logging of base 64 encoded authentication information.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@76609 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 02:43:44 +00:00
bryner%uiuc.edu
de41f8b3c2 Fixing 47984 - crash when filepicker starts in invalid
directory.  r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@76607 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 02:32:09 +00:00
mscott%netscape.com
9f33dfe18f Bug #46522 --> use weak references for message pane docshell and
root docshell to avoid a crash when you switch themes and we pull out
these docshells....
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76606 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 01:47:44 +00:00
rcassin%supernova.org
a1433e6d19 Fix for 45645 (Can paste into ReadOnly textfield) r=akkana
git-svn-id: svn://10.0.0.236/trunk@76605 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 01:34:22 +00:00
akkana%netscape.com
ceaf606725 46643: Attempt to fix intermittent crash when clearing clipboard. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@76604 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 01:33:09 +00:00
morse%netscape.com
32a7d35469 bug 49393, context menu in ftp is wrong, fix=jrgm, r=morse
git-svn-id: svn://10.0.0.236/trunk@76603 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 01:28:58 +00:00
morse%netscape.com
20ba5c833d bug 49393, edit menu in ftp is wrong, fix=jrgm, r=morse
git-svn-id: svn://10.0.0.236/trunk@76602 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 01:28:23 +00:00
bryner%uiuc.edu
02c02201e8 Making saari's debug output #ifdef DEBUG_FOCUS. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@76601 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 01:24:57 +00:00
mccabe%netscape.com
f10846667d Rectify // comment to /** comment
git-svn-id: svn://10.0.0.236/trunk@76600 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 01:09:29 +00:00
ftang%netscape.com
c2db6c347e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@76599 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 00:47:03 +00:00
beard%netscape.com
1d1f0fda1b standard leak format for leaksoup r=waterson (not part of build)
git-svn-id: svn://10.0.0.236/trunk@76598 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 00:45:24 +00:00
alecf%netscape.com
70722673f2 other part of fix for filter stuff r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@76597 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 00:18:29 +00:00
alecf%netscape.com
74c3d3a8a4 fix for #48994 - correctly clear the default account pref when the default account is deleted
r=ducarroz


git-svn-id: svn://10.0.0.236/trunk@76596 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 00:10:15 +00:00
ducarroz%netscape.com
b82006948f Fix for bug 48994. Take the first identity if we don't have a default one. R=alecf
git-svn-id: svn://10.0.0.236/trunk@76595 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 00:08:59 +00:00
brendan%mozilla.org
b9dbc566ac Add jsdhash.
git-svn-id: svn://10.0.0.236/trunk@76594 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 00:04:53 +00:00
rcassin%supernova.org
437af36574 Checkin kin's fix for bug 48879, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@76593 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 23:55:32 +00:00
alecf%netscape.com
80deab3bd6 search & filter revamp
- fixes #41711, #48698, #48238 among other things
- moves some XBL into straight JS where it belongs
- fixes bad XBL setters to return the value that comes in
- fire more notification when filter attributes/operators change


git-svn-id: svn://10.0.0.236/trunk@76592 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 23:54:52 +00:00
gayatrib%netscape.com
44fad5837d fix for bugs 38107 and 40175. review=putterman
git-svn-id: svn://10.0.0.236/trunk@76591 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 23:48:42 +00:00
mccabe%netscape.com
85cc5c05a9 Fix to 49365.
Work around dump() logging messages to the js console by not having the js console call dump().  Also fix the console code so that string messages (originating from logStringMessage() calls) get printed properly, and adjust the number of saved console messages to match that of the underlying console service.

r=jband, a=beard


git-svn-id: svn://10.0.0.236/trunk@76590 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 23:39:49 +00:00
hyatt%netscape.com
5dda7e45d5 Fix for 48187, r=danm
git-svn-id: svn://10.0.0.236/trunk@76589 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 22:44:01 +00:00
rods%netscape.com
a62d36cc93 removing "return NS_OK" because it keeps it from doing the call to
nsFrame which calls HandleRelease. Without HandleRelease the EventStateManager
mMouseGrabber never gets cleared and it keeps thinking events need to go to the view.
b=48792 r=pollmann


git-svn-id: svn://10.0.0.236/trunk@76588 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 22:39:13 +00:00
pavlov%netscape.com
149c937939 patch to hold on to the image gc when possible. reduces the number of creategc/freegc calls r=imot. linux performance bug 26502
git-svn-id: svn://10.0.0.236/trunk@76587 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:53:10 +00:00
ftang%netscape.com
327bcf3b2c fix 47114. remap 6 characters to the MacOS truetype value for symbol fonts. r=nhotta
git-svn-id: svn://10.0.0.236/trunk@76586 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:47:42 +00:00
pavlov%netscape.com
9101782fbb patch from Tomi Leppikangas <Tomi.Leppikangas@oulu.fi> to reuse GCs when the only person holding on to them is the GC cache (i.e. don't create/destroy, just change) r=pavlov,shaver. work on linux performance bug 26502
git-svn-id: svn://10.0.0.236/trunk@76585 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:44:11 +00:00
akkana%netscape.com
eb5cd788d6 Define NS_VK keycodes in terms of nsIDOMKeyEvent keycodes. r=saari. Requires undefining ERROR on Win32, r=cmanske
git-svn-id: svn://10.0.0.236/trunk@76584 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:43:26 +00:00
rods%netscape.com
652bee7703 listbox - selecting with keyboard no longer allows you to stop on a disabled option, it skips them
as does page up and page down
combobox - selecting a disabled option didn't clear the "mouse down" flag and it still thought it was selecting
combobox - selecting a disabled option clears mSelectedIndex, this side effect could be seen by selected
a disabled item then clicking on a link and then hit "back",
b=48903 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76583 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:38:15 +00:00
pavlov%netscape.com
b605aca85a fir for bug 46729. convert things like smart quotes to normal quotes when pasting as plain text r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@76582 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:37:09 +00:00
alecf%netscape.com
bacf3de7b8 remove mac and windows-specific messenger.css, just use XP one
r=putterman (no bug, just a build issue)


git-svn-id: svn://10.0.0.236/trunk@76581 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:22:42 +00:00
hyatt%netscape.com
d9127a969f Fix for 48150, r=danm
git-svn-id: svn://10.0.0.236/trunk@76580 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:11:38 +00:00
scc%mozilla.org
cf1b290be1 not part of the build; temporarily patching these files to use the old (what is currently in the tree) |GetReadableFragment| scheme, so that clients can start using this now both on the tip and on the DOMAPI... branch
git-svn-id: svn://10.0.0.236/trunk@76579 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:07:45 +00:00
danm%netscape.com
3950205ea9 HandleContent now forces a new window by suppressing the target name if it could be interpreted as something in parentWindow. bug 44797 r=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76578 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:05:42 +00:00
kmcclusk%netscape.com
5c41f2d533 Destroy offscreen surfaces using a singleton nsIRenderingContext instance instead of creating a nsIRenderingContext during shutdown b=48190 r=attinasi@netscape.com
Allways destroy the global array of ViewManager's when last view manager instance is destroyed b=45921 r=attinasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@76577 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:05:16 +00:00
harishd%netscape.com
6368271fde bug 22886 - Relax refresh header paring, in the sink, a little bit.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@76576 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:55:48 +00:00
harishd%netscape.com
be80e197f0 bug 30487 ( nsbeta3+ ) - Watch out for barriers before popping off any stylistic
information
bug 37618 ( nsbeta3+ ) - Orpahaned residual tag can close only inline parents.
bug 44085 ( nsbeta3+ ) - Push comment into misplaced list if there are items in
queued in the list.
bug 22886 ( nsbeta3+ ) - Relax refresh header parsing, in the sink, a little bit
so that '.' is accounted for.

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@76575 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:54:49 +00:00
bryner%uiuc.edu
fc97c0badb Fixing bug 42345 - hook up NS_MOVE events when a toplevel window is moved
on Linux.  Also use get_root_origin instead of get_origin so that we
persist the correct position.  r=blizzard.


git-svn-id: svn://10.0.0.236/trunk@76574 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:51:43 +00:00
radha%netscape.com
2bfd21680d fix for 45770 r=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@76573 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:44:43 +00:00
bryner%uiuc.edu
fd8aac2f02 Fixing 48311 - make * (All files) really show all files in linux
filepicker.  r=pavlov, jag.


git-svn-id: svn://10.0.0.236/trunk@76572 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:31:21 +00:00
jgmyers%netscape.com
f56e5dd53a fix host header syntax for IPv6 address literals: bug 45891 r=gagan a=waterson
git-svn-id: svn://10.0.0.236/trunk@76571 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:19:15 +00:00
bienvenu%netscape.com
16668c3260 disable filters with invalid move targets 46876 r=alecf
git-svn-id: svn://10.0.0.236/trunk@76570 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:10:51 +00:00
rods%netscape.com
2d4f1df8f2 fixes when to use preferred size versus computed size versus available size.
b=40596, r=evaughan,hyatt,kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76569 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:08:44 +00:00
edburns%acm.org
f8f85a7b78 bug=49293
r=gbarney
a=edburns

M classes_spec/org/mozilla/webclient/test/EMWindow.java
A src_ie/CMyDialog.cpp
A src_ie/CMyDialog.h
M src_ie/CurrentPageImpl.cpp
M src_ie/HistoryImpl.cpp
M src_ie/Makefile.win
M src_ie/NativeEventThread.cpp
M src_ie/WindowControlImpl.cpp
M src_ie/WrapperFactoryImpl.cpp
M src_ie/ie_util.cpp
M src_ie/ie_util.h

cvs diff -u classes_spec/org/mozilla/webclient/test/EMWindow.java src_ie/CMyDialog.cpp src_ie/CMyDialog.h src_ie/CurrentPageImpl.cpp src_ie/HistoryImpl.cpp src_ie/Makefile.win src_ie/NativeEventThread.cpp src_ie/WindowControlImpl.cpp src_ie/WrapperFactoryImpl.cpp src_ie/ie_util.cpp src_ie/ie_util.h

This change adds listener DocumentLoadListener support to src_ie.

tar -cvf 49293.tar classes_spec/org/mozilla/webclient/test/EMWindow.java src_ie/CMyDialog.cpp src_ie/CMyDialog.h src_ie/CurrentPageImpl.cpp src_ie/HistoryImpl.cpp src_ie/Makefile.win src_ie/NativeEventThread.cpp src_ie/WindowControlImpl.cpp src_ie/WrapperFactoryImpl.cpp src_ie/ie_util.cpp src_ie/ie_util.h


git-svn-id: svn://10.0.0.236/trunk@76568 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 19:54:43 +00:00
edburns%acm.org
ec836104c1 r=ashuk
bug=47357
a=edburns
Files in this checkin

M src_moz/CBrowserContainer.cpp
M src_moz/CBrowserContainer.h
M src_moz/ns_util.cpp
M src_moz/ns_util.h
M src_share/jni_util.cpp
M src_share/jni_util.h

cvs diff -u src_moz/CBrowserContainer.cpp src_moz/CBrowserContainer.h src_moz/ns_util.cpp src_moz/ns_util.h src_share/jni_util.cpp src_share/jni_util.h

This change moves out listener constants and other support data from
src_moz into src_share to enable it to be used in src_ie.

tar -cvf 47357.tar src_moz/CBrowserContainer.cpp src_moz/CBrowserContainer.h src_moz/ns_util.cpp src_moz/ns_util.h src_share/jni_util.cpp src_share/jni_util.h


git-svn-id: svn://10.0.0.236/trunk@76567 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 19:52:15 +00:00
morse%netscape.com
e985102af6 bug 48742, adding privacy tutorial, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@76566 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 19:32:58 +00:00
dbragg%netscape.com
daf4d51382 Fix for bugs 47058 and 47097. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@76565 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 19:28:06 +00:00
av%netscape.com
f4cecefbae Part of 46490 fix, r=adamlock
git-svn-id: svn://10.0.0.236/trunk@76564 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 19:26:15 +00:00
av%netscape.com
30b41b305e Fixing 46490, r=sean, r=waterson, r=valeski, a=adamlock
git-svn-id: svn://10.0.0.236/trunk@76563 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 19:16:39 +00:00
blizzard%redhat.com
1f49190e84 unused files for simple embedding shell
git-svn-id: svn://10.0.0.236/trunk@76562 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 19:12:23 +00:00
mcafee%netscape.com
d822c9dfd9 Minor layout tweak to Integration pref pane (40888).
git-svn-id: svn://10.0.0.236/trunk@76561 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 19:03:27 +00:00
edburns%acm.org
05d77f9269 r=ashuk
a=edburns
Files in this checkin

M src_moz/CBrowserContainer.cpp
M src_moz/CBrowserContainer.h
M src_moz/ns_util.cpp
M src_moz/ns_util.h
M src_share/jni_util.cpp
M src_share/jni_util.h

cvs diff -u src_moz/CBrowserContainer.cpp src_moz/CBrowserContainer.h src_moz/ns_util.cpp src_moz/ns_util.h src_share/jni_util.cpp src_share/jni_util.h

This change moves out listener constants and other support data from
src_moz into src_share to enable it to be used in src_ie.

tar -cvf 47357.tar src_moz/CBrowserContainer.cpp src_moz/CBrowserContainer.h src_moz/ns_util.cpp src_moz/ns_util.h src_share/jni_util.cpp src_share/jni_util.h


git-svn-id: svn://10.0.0.236/trunk@76560 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 18:29:18 +00:00
pierre%netscape.com
413d134dfe 43420 + CSS3 update: renamed "text-align:-moz-default" into "text-align:start"
git-svn-id: svn://10.0.0.236/trunk@76558 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 13:28:18 +00:00
mkaply%us.ibm.com
105698a14e OS/2 Tinderbox break
OK will someone WAKE UP and realize that we need XP_WIN defined in the build?
XP_PC does NOT mean XP_WIN.
WE NEED XP_WIN IN THE BUILD
SOMEONE TURN IT ON IN THE MAKEFILE!


git-svn-id: svn://10.0.0.236/trunk@76557 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 12:52:04 +00:00
nboyd%atg.com
6c5a6c1c92 Fix for bug 49302
git-svn-id: svn://10.0.0.236/trunk@76556 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 12:37:32 +00:00
nboyd%atg.com
1be29d3f63 Fix 49301.
git-svn-id: svn://10.0.0.236/trunk@76555 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 12:28:46 +00:00
jfrancis%netscape.com
6376ebe2b4 gave a pref a better name and a more traditional set of values.
git-svn-id: svn://10.0.0.236/trunk@76554 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 09:51:27 +00:00
hyatt%netscape.com
7e348287cb Fix for 38461, r=ben
git-svn-id: svn://10.0.0.236/trunk@76553 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 09:15:51 +00:00
pierre%netscape.com
4c4599562d 49154: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener)
git-svn-id: svn://10.0.0.236/trunk@76552 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 08:26:53 +00:00
hyatt%netscape.com
2b2574bdf1 Fix for 43375, r=ben
git-svn-id: svn://10.0.0.236/trunk@76551 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 08:15:47 +00:00
hyatt%netscape.com
84a22f9437 First-stage fix for dogfood bug 49012. r=ben
git-svn-id: svn://10.0.0.236/trunk@76550 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 08:11:11 +00:00
mscott%netscape.com
7cdd9ead65 Bug #47681 --> more polish on the message header pane, reformat the date header so it matches the format we use in the thread pane.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76549 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 07:35:25 +00:00
mscott%netscape.com
d977ab70c3 For modern skin:
Bug #46348, 22960 --> fix expensive style rules to make the message header pane faster,
fix vertical alignment problem between header values by forcing our html tags to
have 0 margins (they were inheriting a default margin size)
Bug #47681 Force proper alignment of the header names in the message pane.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76548 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 07:25:00 +00:00
mscott%netscape.com
40bd7d26f5 For classic windows skin:
Bug #46348, 22960 --> fix expensive style rules to make the message header pane faster,
fix vertical alignment problem between header values by forcing our html tags to
have 0 margins (they were inheriting a default margin size)
Bug #47681 Force proper alignment of the header names in the message pane.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76547 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 07:24:37 +00:00
mscott%netscape.com
48ef99a6e8 For classic skin:
Bug #46348, 22960 --> fix expensive style rules to make the message header pane faster,
fix vertical alignment problem between header values by forcing our html tags to
have 0 margins (they were inheriting a default margin size)
Bug #47681 Force proper alignment of the header names in the message pane.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76546 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 07:24:20 +00:00
mscott%netscape.com
babd5a5b29 Bug #46348, 22960 --> fix expensive style rules to make the message header pane faster,
fix vertical alignment problem between header values by forcing our html tags to
have 0 margins (they were inheriting a default margin size)
Bug #47681 Force proper alignment of the header names in the message pane.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76545 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 07:23:26 +00:00
mscott%netscape.com
305b4925f9 Bug #22960 --> rewrite the email address widget so it extends from xul:box instead of
base text. Remove needless box from the widget. This gets rid of the awful assertion
saying the widget had bad xul whenever we created one.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76544 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 07:21:51 +00:00
jst%netscape.com
ce9e38761e Fixing nsbeta3+ bug 30534. Don't lie about what DOM features we support, be honest./paralellCheckout | & less r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76543 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 07:09:05 +00:00
jst%netscape.com
f3eeaaab8a Fixing nsbeta3+ bug 44002. Don't use non boolean values (the value 2 in this case) as a boolean true since 2 != true in JS. This caused scripts that rely on img.complete == true when an image has loaded to break. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76542 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 06:28:47 +00:00
jst%netscape.com
9baadc5225 Fixing nsbeta3+ bug 43327. Make window.history act like an array to be compatible with 4.x, and add proper security checks for DOM array access. r=mstoltz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76541 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 05:56:44 +00:00
jfrancis%netscape.com
879fac6cf9 adding a hidden pref for the editor:
editor.liReturnBehavior "no" will disable the default behavior of popping you out of lists if you hit return in an empty list item.


git-svn-id: svn://10.0.0.236/trunk@76539 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 05:26:32 +00:00
dougt%netscape.com
6e0d004a19 b=47143, r=valeski. Puts the real object release on the proper thread.
git-svn-id: svn://10.0.0.236/trunk@76538 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 05:02:37 +00:00
jfrancis%netscape.com
693d1707a2 fix for 48132: editor observer list maintainance was even less safe than i would have guessed...
git-svn-id: svn://10.0.0.236/trunk@76537 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 04:50:04 +00:00
pinkerton%netscape.com
65a9162688 Fix for 48291, r=saari. For internal formats that are not CF_TEXT, eg text/html,
treat them like they are unicode and do the fiddling required for win98.


git-svn-id: svn://10.0.0.236/trunk@76536 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 04:19:14 +00:00
jfrancis%netscape.com
3a6540f7dd 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection
git-svn-id: svn://10.0.0.236/trunk@76535 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 03:59:50 +00:00
saari%netscape.com
3ae9cffa35 fix for nsbeta3+ 43254. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@76534 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 03:41:56 +00:00
saari%netscape.com
d08a39d4a3 fix for nsbeta3+ 29800; deactivate not firing properly on linux. r=bryner
git-svn-id: svn://10.0.0.236/trunk@76533 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 03:29:06 +00:00
mkaply%us.ibm.com
8670ca92e9 OS/2 Tinderbox break
OK will someone WAKE UP and realize that we need XP_WIN defined in the build?
XP_PC does NOT mean XP_WIN.
WE NEED XP_WIN IN THE BUILD
SOMEONE TURN IT ON IN THE MAKEFILE!


git-svn-id: svn://10.0.0.236/trunk@76532 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 03:18:03 +00:00
pinkerton%netscape.com
9f1b839c48 more build bustage fixes.
git-svn-id: svn://10.0.0.236/trunk@76531 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 03:11:33 +00:00
pinkerton%netscape.com
d51fc708c4 fix bustage a better way, include nsRDFResource.cpp directly instead of the shlb, which was just plain wrong. r=beard.
git-svn-id: svn://10.0.0.236/trunk@76530 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 02:32:40 +00:00
mcafee%netscape.com
e4ab603cfa Fix build warning, trailing slash looks run-on comment to the egcs compiler.
git-svn-id: svn://10.0.0.236/trunk@76529 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 01:53:59 +00:00
pinkerton%netscape.com
0f738af7ef add rdf lib to fix bustage
git-svn-id: svn://10.0.0.236/trunk@76528 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 01:49:49 +00:00
jband%netscape.com
090c61aae5 fix bug 49137 by using PR_GetEnv rather than prefs to get these developer options r=mccabe
git-svn-id: svn://10.0.0.236/trunk@76527 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 01:20:02 +00:00
scc%mozilla.org
c91876a661 not yet part of the build, this new class provides a more consistent and flexible answer to the need for functions like |AppendInt| and |AppendFloat|. It is a short readable string produced with printf.
git-svn-id: svn://10.0.0.236/trunk@76526 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 01:08:30 +00:00
mcafee%netscape.com
496587e3dd Moving autocomplete pref from message composition pane to addressing pane to save screen space (40888). r=slamm, a=glick
git-svn-id: svn://10.0.0.236/trunk@76525 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 01:06:27 +00:00
mcafee%netscape.com
29a929804f Splitting debug pref pane into 3 panes to save room (40888). Debug gets general stuff, debug1 gets events stuff, debug2 gets networking stuff. Explicitly picked generic names for these files in case usage changes later. r=slamm
git-svn-id: svn://10.0.0.236/trunk@76524 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:51:18 +00:00
ftang%netscape.com
0ef45c8297 move about.html from content to locale
fix bug 1547


git-svn-id: svn://10.0.0.236/trunk@76523 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:36:23 +00:00
ftang%netscape.com
5cc60ce8ae fix bug 1547 r=mcafee move about.html from content to locale
git-svn-id: svn://10.0.0.236/trunk@76522 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:32:00 +00:00
ftang%netscape.com
38fc2a3564 fix bug 1547 move about.html from content to locale
git-svn-id: svn://10.0.0.236/trunk@76521 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:31:02 +00:00
rogerl%netscape.com
3c89b06dc3 Backing out fix to see if Linux build passes alivetest.
git-svn-id: svn://10.0.0.236/trunk@76520 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:30:57 +00:00
ftang%netscape.com
a0d6347214 fix bug 1547 move about.html from content to locale
r=mcafee


git-svn-id: svn://10.0.0.236/trunk@76519 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:29:31 +00:00
ftang%netscape.com
ad30306e3c fix bug 1547. move about.html from content to locale
r=mcafee


git-svn-id: svn://10.0.0.236/trunk@76518 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:28:34 +00:00
ftang%netscape.com
a384444f4f move about.html to locale from content fix bug 1547 r=mcafee
git-svn-id: svn://10.0.0.236/trunk@76517 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:25:16 +00:00
tao%netscape.com
419c2f6ca1 Take out debug printout. (r,a)=ftang.
git-svn-id: svn://10.0.0.236/trunk@76516 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:17:51 +00:00
dbaron%fas.harvard.edu
9b56742a81 Attempt to fix Sun/HP/AIX bustage. r=cls
git-svn-id: svn://10.0.0.236/trunk@76515 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:15:50 +00:00
hyatt%netscape.com
a3f1e2295b Fix for 48083. r=danm
git-svn-id: svn://10.0.0.236/trunk@76514 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:10:40 +00:00
akkana%netscape.com
4df3e025f1 23587: Make accelerator and menu access keys settable through a pref. r=saari
git-svn-id: svn://10.0.0.236/trunk@76513 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:09:16 +00:00
ftang%netscape.com
491f25c126 add perl tool which convert CP932.TXT to a JIS0208 table
git-svn-id: svn://10.0.0.236/trunk@76512 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:07:54 +00:00
alecf%netscape.com
e1dfaacaac oops, forgot these in my last checkin
git-svn-id: svn://10.0.0.236/trunk@76511 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:05:31 +00:00
ftang%netscape.com
9d3908cda6 fix bug 35166 and 41666. Change the conversion to use the source from CP932.TXT
so we can convert round trip correctly with the other direction
the table is generated by ufrom. r=ftang


git-svn-id: svn://10.0.0.236/trunk@76510 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:03:06 +00:00
pinkerton%netscape.com
ef604420b0 Don't break VC5 (yawn). 48862, a=waterson
git-svn-id: svn://10.0.0.236/trunk@76509 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:02:38 +00:00
ftang%netscape.com
1318142bff correct the spelling of jis_0208-1983 and jis_0212-1990 (extra x)
r=nhotta fix bug 49107


git-svn-id: svn://10.0.0.236/trunk@76508 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:01:31 +00:00
hyatt%netscape.com
20a43ac75c Fix for 32661, r=brendan
git-svn-id: svn://10.0.0.236/trunk@76507 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:57:03 +00:00
bienvenu%netscape.com
825be26c71 don't link in js, that was just for testing
git-svn-id: svn://10.0.0.236/trunk@76506 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:52:32 +00:00
hyatt%netscape.com
3a019b1360 Fix for 44227, r=ben
git-svn-id: svn://10.0.0.236/trunk@76505 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:51:35 +00:00
alecf%netscape.com
3b07c56c25 rework nsMessages so they are generic across all server/folder types, so that we can recycle them later
r=putterman
for bug #26456


git-svn-id: svn://10.0.0.236/trunk@76504 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:45:58 +00:00
mcafee%netscape.com
218b8b30be Adding entry for images pref pane. r=matt
git-svn-id: svn://10.0.0.236/trunk@76503 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:45:12 +00:00
bienvenu%netscape.com
b38e8b4b9b fix linux bustage
git-svn-id: svn://10.0.0.236/trunk@76502 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:42:00 +00:00
hyatt%netscape.com
f0014800a4 Fix for 48450. r=morse
git-svn-id: svn://10.0.0.236/trunk@76501 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:41:32 +00:00
saari%netscape.com
2fdc688449 Fixing focus regression I caused by over eargly releasing documents from nsEventStateManager
git-svn-id: svn://10.0.0.236/trunk@76500 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:38:54 +00:00
bienvenu%netscape.com
dcdf6981f7 fix undo of imap delete r=mscott 29039
git-svn-id: svn://10.0.0.236/trunk@76497 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:35:48 +00:00
bienvenu%netscape.com
70ee0e056f part of fix for writing out newsrc files on a timer r=mscott 29743
git-svn-id: svn://10.0.0.236/trunk@76496 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:33:19 +00:00
dprice%netscape.com
7a7ea92f9c adding platform specific jar.mn
git-svn-id: svn://10.0.0.236/trunk@76495 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:29:55 +00:00
dprice%netscape.com
427d885360 moving platform specific files to their own manifest files.
git-svn-id: svn://10.0.0.236/trunk@76494 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:28:40 +00:00
robinf%netscape.com
a68ee3daa9 updating this image to remove license and readme icons
git-svn-id: svn://10.0.0.236/trunk@76493 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:26:21 +00:00
bienvenu%netscape.com
f15e25ecbe cache charset converters used in msg dispaly r=nhotta 47542
git-svn-id: svn://10.0.0.236/trunk@76492 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:22:26 +00:00
bienvenu%netscape.com
9dfe4183e4 fix begins with search, r=alecf 49049
git-svn-id: svn://10.0.0.236/trunk@76491 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:19:51 +00:00
dbaron%fas.harvard.edu
aea37551a9 Fix string leaks from nsWindow::SetTitle. r=pavlov b=49148
git-svn-id: svn://10.0.0.236/trunk@76490 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:18:33 +00:00
dbaron%fas.harvard.edu
cec97be5f7 Fix leak of strings used as hash table keys. r=waterson b=48880
git-svn-id: svn://10.0.0.236/trunk@76489 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:16:21 +00:00
hyatt%netscape.com
f7c2acd171 Fix for 45728. r=saari
git-svn-id: svn://10.0.0.236/trunk@76488 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:14:50 +00:00
dbaron%fas.harvard.edu
eb3bc9d467 Fix a leak of the keys used as strings in all cases. r=waterson b=44051
git-svn-id: svn://10.0.0.236/trunk@76487 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:14:08 +00:00
kin%netscape.com
1e4907fd53 Partial fix for bug #45152: Typed text does not render in TextAreas with a horizontal scrollbar
Made Reflow() invalidate the correct region during an incremental or dirty reflow.
r=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@76486 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:12:19 +00:00
dbaron%fas.harvard.edu
34be9dc90a Fix two string leaks: one in nsBrowserInstance::LoadInitialPage, and the other in nsBrowserInstance::GetDocumentCharset. r=waterson
git-svn-id: svn://10.0.0.236/trunk@76485 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:11:31 +00:00
nbhatla%netscape.com
adf077bbc2 #46519-> Mac Classic Polish Fixes. Fixes editor disabled states for bold, underline, italic, ol, and ul buttons in format toolbar. Also pertains to bugs #47685 and #48700. r=cmanske,sfraser
git-svn-id: svn://10.0.0.236/trunk@76484 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:09:15 +00:00
terry%mozilla.org
4fdca29a5d Deflect email away from me.
git-svn-id: svn://10.0.0.236/trunk@76483 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:07:37 +00:00
nbhatla%netscape.com
9ba567b5ab #46519 -> Mac Classic Skin Polish. Updates to Editor Format Toolbar icons, for bugs #47685 and #48700. Also removed duplicate lines from navigator.css. r=hangas
git-svn-id: svn://10.0.0.236/trunk@76482 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:06:56 +00:00
morse%netscape.com
65b4d1ab32 bug 42438, always display capture on context menu when prefill is displayed, r=law
git-svn-id: svn://10.0.0.236/trunk@76481 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:06:52 +00:00
dbaron%fas.harvard.edu
35100701ae Count the nsFontGTK class in the leak stats. Some of these are leaked, so the numbers may go up. r=waterson
git-svn-id: svn://10.0.0.236/trunk@76480 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:05:56 +00:00
morse%netscape.com
7f6759ad63 bug 49189, crash when updating wallet tables, r=pnunn
git-svn-id: svn://10.0.0.236/trunk@76479 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:05:03 +00:00
dbaron%fas.harvard.edu
1adb256d88 Reduce the risk of parser leaks by releasing the parsers owned by CSSLoaders when no longer needed. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@76478 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:04:42 +00:00
dbaron%fas.harvard.edu
52df7f5eb4 Change the stack trace format printed by the Boehm GC on Linux so it can be post-processed by addr2line. r=wade
git-svn-id: svn://10.0.0.236/trunk@76477 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:02:40 +00:00
ssu%netscape.com
3cf904db1a fixing bug #33342 - new exit setup string. a=dveditz r=sgehani
git-svn-id: svn://10.0.0.236/trunk@76476 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:02:19 +00:00
ssu%netscape.com
a8a3467272 fixing bug #44364 - uninstaller no longer leaves .rdf files around. a=dveditz r=sgehani
git-svn-id: svn://10.0.0.236/trunk@76475 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:01:21 +00:00
kmcclusk%netscape.com
1f4900b52c Suppress nsWidget::Move if the window is already at location specified b=44476 (p=Tomi.Leppikangas@oulu.fi) r=syd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76474 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:58:15 +00:00
putterman%netscape.com
450542aba4 Fix for 40818. Remove mail items from search menu. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@76473 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:57:51 +00:00
putterman%netscape.com
23bcdd7d66 Fix for 37314. Delete works in standalone message window. r=alecf,mscott
git-svn-id: svn://10.0.0.236/trunk@76472 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:57:20 +00:00
putterman%netscape.com
f93fedfbe7 Fix for 40818. Clean up search menus. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@76471 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:56:32 +00:00
putterman%netscape.com
bb273bf350 Fix for bugs 43879 and 40818. Fix up search menus and remove folder picker from rename dialog. r=alecf
git-svn-id: svn://10.0.0.236/trunk@76470 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:56:09 +00:00
mcafee%netscape.com
447a4a4066 Adding thin separator, r=slamm
git-svn-id: svn://10.0.0.236/trunk@76469 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:54:56 +00:00
putterman%netscape.com
90bf8a86b7 Fix for 45402. In threaded mode clicking on twisty now opens entire thread. r=alecf
git-svn-id: svn://10.0.0.236/trunk@76468 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:54:43 +00:00
kmcclusk%netscape.com
a3b80ef3fc Suppress nsWindow::Move if the window is already at location specified b=44476 (p=Tomi.Leppikangas@oulu.fi) r=syd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76467 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:53:32 +00:00
mcafee%netscape.com
2f0f0b53c6 Minor rewording of label in smart browsing pref pane.
git-svn-id: svn://10.0.0.236/trunk@76466 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:51:42 +00:00
hyatt%netscape.com
815a18a9b2 Fix for 49118, r=ben
git-svn-id: svn://10.0.0.236/trunk@76464 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:50:25 +00:00
mcafee%netscape.com
77052ae329 Remove unused id walletServer, finishing morses checkin for 48267.
git-svn-id: svn://10.0.0.236/trunk@76463 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:49:54 +00:00
hyatt%netscape.com
a95fc61e73 Fix for 48459, r=danm
git-svn-id: svn://10.0.0.236/trunk@76462 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:49:31 +00:00
chuang%netscape.com
e7756d72db Bug 44831 Drop down list in New Mailing List window doesn't display the Address Book names. r=putterman
git-svn-id: svn://10.0.0.236/trunk@76461 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:48:56 +00:00
mcafee%netscape.com
5dacba2386 Making mousewheel pref pane more readable. r=slamm
git-svn-id: svn://10.0.0.236/trunk@76460 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:48:49 +00:00
chuang%netscape.com
417182d7c0 Bug 45331, 45332 Remove 3 buttons in mailing list dialog, r=putterman
git-svn-id: svn://10.0.0.236/trunk@76459 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:48:02 +00:00
nhotta%netscape.com
89830f7ad6 Changed to generate HTML 3.2 CER instead of HTML 4 for both file and mail, bug 48041, r=akkana.
git-svn-id: svn://10.0.0.236/trunk@76458 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:47:35 +00:00
nhotta%netscape.com
3946171a50 Changed charset names as case sensitive, bug 39793, r=cata.
git-svn-id: svn://10.0.0.236/trunk@76457 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:46:37 +00:00
rogerl%netscape.com
e1d7a156e3 Bug #31255. r,a=brendan. Once more unto the '-->' accepted as line comment
fix.


git-svn-id: svn://10.0.0.236/trunk@76456 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:46:04 +00:00
mcafee%netscape.com
04292a0f3d Adding width for mousewheel prefs pulldown (40888). r=slamm
git-svn-id: svn://10.0.0.236/trunk@76455 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:45:48 +00:00
mcafee%netscape.com
2b33731fbf Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@76454 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:44:35 +00:00
rogerl%netscape.com
7a6dd29961 Bug #39141, r=mccabe, a=beard. Fix crash for empty array initializer.
git-svn-id: svn://10.0.0.236/trunk@76453 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:43:26 +00:00
sgehani%netscape.com
3425279758 Can now install to Macs with boot volumes that have slashes in their names.
[nsbeta3+ b=18482; r=ssu; a=dveditz]


git-svn-id: svn://10.0.0.236/trunk@76452 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:43:08 +00:00
racham%netscape.com
47ba7e7bae Fixing bug 46320. Reducing the number of global files by moving profile regitry to the product sub-directory under HOME. r=dougt
git-svn-id: svn://10.0.0.236/trunk@76451 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:40:36 +00:00
racham%netscape.com
afbbb2afc0 Fixing bug 46320. Reducing the number of global files by moving profile registry to product sub-directory under HOME. r=dougt
git-svn-id: svn://10.0.0.236/trunk@76450 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:40:27 +00:00
sfraser%netscape.com
e4582186b3 Fix for bug 49196 -- buttons not showing up in Save/Don't save dialogs. Correctly used collapsed, not hidden, to make hyatt's change. r=ducarroz, a=leaf.
git-svn-id: svn://10.0.0.236/trunk@76448 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 21:28:25 +00:00
ducarroz%netscape.com
272f7ad402 Fix Mac bustage. Added nsICommandHandler.cpp to the project
git-svn-id: svn://10.0.0.236/trunk@76442 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 16:40:49 +00:00
ducarroz%netscape.com
6e3c7f793f Fix Mac bustage. Added nsIContextMenuListener.idl and nsICommandHandler.idl to the project
git-svn-id: svn://10.0.0.236/trunk@76441 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 16:40:17 +00:00
mkaply%us.ibm.com
049de0d702 #44517
r=dougt, a=brendan
Make OS/2 Desktop directory NLS aware


git-svn-id: svn://10.0.0.236/trunk@76440 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 14:27:18 +00:00
pete%alphanumerica.com
47f1260e9d Fixed problem i was having returning array from readDir member function.
Thanks jband for the fix.

not part of the build

r=jband

--pete


git-svn-id: svn://10.0.0.236/trunk@76439 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 13:35:13 +00:00
locka%iol.ie
7c63d2a576 Changed implementation of OnShowContextMenu to reflect updated IDL. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76438 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 09:00:44 +00:00
locka%iol.ie
98a262bb01 Added nsICommandHandler and nsCommandHandler.cpp to build. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76437 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:56:37 +00:00
locka%iol.ie
75c06667fb Added newline to end of file. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76436 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:54:49 +00:00
locka%iol.ie
22274c8788 Change consts to unsigned long. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76435 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:53:57 +00:00
locka%iol.ie
221c92cd8f Added mouse DOM listener to listen for context menu events and notify the embedding client. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76434 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:51:58 +00:00
locka%iol.ie
68dda5d2f6 Fixed some incorrect embedding issues. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76433 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:50:00 +00:00
locka%iol.ie
9c15cfb380 Added newline to end of file. b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76432 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:47:57 +00:00
locka%iol.ie
ac6f43e8ef Added command handler to module's factory list b=48270 a=valeski
git-svn-id: svn://10.0.0.236/trunk@76431 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:44:58 +00:00
ben%netscape.com
01dd19a973 46613..
git-svn-id: svn://10.0.0.236/trunk@76430 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:30:42 +00:00
hyatt%netscape.com
f69d98b3e6 Fix for 45248, r=ben
git-svn-id: svn://10.0.0.236/trunk@76429 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:14:01 +00:00
alecf%netscape.com
d933e2c805 remove commented-out functions (not used anyway)
git-svn-id: svn://10.0.0.236/trunk@76428 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:01:34 +00:00
ben%netscape.com
6173356268 46613...
git-svn-id: svn://10.0.0.236/trunk@76427 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 07:58:13 +00:00
ben%netscape.com
a42af0bdcb 46613..
git-svn-id: svn://10.0.0.236/trunk@76426 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 07:57:31 +00:00
alecf%netscape.com
7431c64b15 fix a bunch of UMRs r=syd
(no bug but I needed these to get my purify build going)


git-svn-id: svn://10.0.0.236/trunk@76425 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 07:39:38 +00:00
dp%netscape.com
b3a71129e7 Removed unused static.
git-svn-id: svn://10.0.0.236/trunk@76424 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 07:33:23 +00:00
dp%netscape.com
d1fcc74895 Fixed debug stmt to reflect code changes around it. Not compiled by default.
git-svn-id: svn://10.0.0.236/trunk@76423 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 07:26:46 +00:00
hyatt%netscape.com
79c8d5c024 Fix for 47303. r=mscott
git-svn-id: svn://10.0.0.236/trunk@76422 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 07:26:45 +00:00
dprice%netscape.com
7639d09723 adding forgotten files
git-svn-id: svn://10.0.0.236/trunk@76421 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 07:26:09 +00:00
saari%netscape.com
665e7d658e fix for nsbeta3+ leak 35553; leak document on shutdown. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@76420 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 06:37:51 +00:00
dprice%netscape.com
ba864a022d adding forgotten file
git-svn-id: svn://10.0.0.236/trunk@76419 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 05:50:52 +00:00
dprice%netscape.com
5789cd97a2 adding some files that were forgotten
git-svn-id: svn://10.0.0.236/trunk@76418 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 05:46:18 +00:00
ben%netscape.com
6f294b092a 46613...
git-svn-id: svn://10.0.0.236/trunk@76417 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 05:44:10 +00:00
dprice%netscape.com
1a126d8faa removing duplicated files
git-svn-id: svn://10.0.0.236/trunk@76416 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 05:37:06 +00:00
dprice%netscape.com
2d3ab8edb0 adding in pref-passwords.xul
git-svn-id: svn://10.0.0.236/trunk@76415 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 05:08:07 +00:00
ben%netscape.com
723100aa26 46613..
git-svn-id: svn://10.0.0.236/trunk@76414 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 05:08:01 +00:00
ben%netscape.com
5366458b10 46613...
git-svn-id: svn://10.0.0.236/trunk@76413 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 05:05:21 +00:00
dprice%netscape.com
cbbc6f4aae moving pref-irc.xul to core.jar
git-svn-id: svn://10.0.0.236/trunk@76412 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 04:57:23 +00:00
bryner%uiuc.edu
bc30436d00 Patch from disttsc@bart.nl for bug 49089 -- using Enter in filepicker was
broken because we needed to change event.which to event.keyCode.  r=me.


git-svn-id: svn://10.0.0.236/trunk@76411 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 04:23:58 +00:00
dprice%netscape.com
e2a9da576d replacing this file in the right spot.
git-svn-id: svn://10.0.0.236/trunk@76410 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 04:23:40 +00:00
ben%netscape.com
544ea04016 fixing mac
git-svn-id: svn://10.0.0.236/trunk@76409 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 04:14:34 +00:00
dprice%netscape.com
fb5531a9d1 adding dtd file to en-US.jar
git-svn-id: svn://10.0.0.236/trunk@76408 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 04:10:00 +00:00
shaver%mozilla.org
84ea4561c3 Fix 47354 and 39975 by providing a system-privileged scope backstop for
JS Components, and teaching the ScriptSecurityManager to check for
XPC-wrapped native objects in the scope chain when looking for an
object's principal. r=jband/a=brendan


git-svn-id: svn://10.0.0.236/trunk@76407 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 04:01:02 +00:00
nbhatla%netscape.com
84fc7b931c #48704 -> Adding print button styles to navigator in win/unix classic skin. Forgot to submit this in last checkin with mac classic fix.
git-svn-id: svn://10.0.0.236/trunk@76406 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:37:43 +00:00
ben%netscape.com
0470757724 add a default binding for menubutton-dual
git-svn-id: svn://10.0.0.236/trunk@76405 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:34:22 +00:00
ben%netscape.com
f81051a308 46613, more classic skin work
git-svn-id: svn://10.0.0.236/trunk@76404 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:31:42 +00:00
ben%netscape.com
6078340884 fix for 46613 (classic skin polish) and 47636 (cannot go back to multiple
search engine listing)


git-svn-id: svn://10.0.0.236/trunk@76403 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:30:24 +00:00
ben%netscape.com
d72b1ce951 46613 and 47636 (classic skin work, and make it so that you can go back
to the multiple search results listing)


git-svn-id: svn://10.0.0.236/trunk@76402 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:29:32 +00:00
nbhatla%netscape.com
fe5478ece9 #46519 -> Mac Classic Skin Polish. Work mostly on the editor and messenger, fixing icons and mouseOver/toggled behavior. #47680-> CSS fix for proper modern tab borders. #17924-> Fix for status bar height. #45685-> Added column header icons and splitter functionality in classic mail. #45128-> Mail thread icons show proper new message states like 4.x. r=hangas
git-svn-id: svn://10.0.0.236/trunk@76401 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:27:44 +00:00
dbaron%fas.harvard.edu
a8abdedbbd Add newline to end of file to fix HP bustage.
git-svn-id: svn://10.0.0.236/trunk@76400 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:26:51 +00:00
putterman%netscape.com
84c31a66d2 Fix for 48929. Put Order Received back in. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@76399 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:24:35 +00:00
putterman%netscape.com
081783e2eb Fixes 45149. Can now Print from the standalone window. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@76398 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:23:21 +00:00
waterson%netscape.com
58c8e0075d Backing out pnunn/syd's changes in order to try to get smoketests back. r=pnunn
git-svn-id: svn://10.0.0.236/trunk@76397 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:16:46 +00:00
mkaply%us.ibm.com
c627ac14a9 OS/2 Tinderbox break
Hey conrad@ingress.com - please watch out for us. You are breaking us A LOT.


git-svn-id: svn://10.0.0.236/trunk@76396 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:13:16 +00:00
nbhatla%netscape.com
7d1fb2d74a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@76395 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:09:18 +00:00
nbhatla%netscape.com
48d305f50c Fix for #48704 -> Adding print button to browser navigation toolbar. r=hangas.
git-svn-id: svn://10.0.0.236/trunk@76394 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:08:02 +00:00
dprice%netscape.com
069f6a55b4 removing navigator/wallet/* from jar.mn
git-svn-id: svn://10.0.0.236/trunk@76393 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 03:00:25 +00:00
dprice%netscape.com
afa61f82c1 removed communicator/wallet/* from jar.mn, those folders are gone.
git-svn-id: svn://10.0.0.236/trunk@76391 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 02:46:26 +00:00
morse%netscape.com
7bafd119d9 bug 49116, javascript errors when doing edit in javascript window, r=waterson
git-svn-id: svn://10.0.0.236/trunk@76390 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 02:35:43 +00:00
danm%netscape.com
e2a01acf37 adding handling for _top targets, which strangely seemed to just be missing. bug 32342 r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@76389 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 02:16:11 +00:00
jband%netscape.com
a4e301356a initial checkin - NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@76388 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 02:07:37 +00:00
waterson%netscape.com
ba0a825e73 Bug 44480. Remove more obsolete files that I missed the first time around.
git-svn-id: svn://10.0.0.236/trunk@76387 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 02:00:59 +00:00
waterson%netscape.com
0aa08c1512 Bug 44480. Demote 'width' and 'height' to NSHTMLDocument. r=jst
git-svn-id: svn://10.0.0.236/trunk@76386 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:56:00 +00:00
pinkerton%netscape.com
0bcf10dbff put code in InvokeDragSession() to turn off mouseCapture when the drag begins. moved code that finds a frame from a DOM node from mac code into base class. bug 48250.
git-svn-id: svn://10.0.0.236/trunk@76384 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:46:34 +00:00
pinkerton%netscape.com
119973f434 full backout of code i commented out, the fixes go elsewhere.
git-svn-id: svn://10.0.0.236/trunk@76383 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:45:23 +00:00
morse%netscape.com
d56a3f796f bug 47256, minor wording change, change=verah r=morse
git-svn-id: svn://10.0.0.236/trunk@76382 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:43:23 +00:00
morse%netscape.com
b67c3e5390 bug 48949, fix UTF8Get routine to work with multibyte characters, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@76381 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:34:58 +00:00
pnunn%netscape.com
398f60ff0b bug#46704: chrome priority in imgcache. syd, r:pnunn.
git-svn-id: svn://10.0.0.236/trunk@76380 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:20:39 +00:00
pnunn%netscape.com
9d8c0da490 bug#46704: chrome priority in image cache. syd, r:pnunn.
git-svn-id: svn://10.0.0.236/trunk@76379 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:19:44 +00:00
waterson%netscape.com
e71218e1d0 Bug 47154. Treat '\\n' and '\\r' as whitespace, too. Also, use 'inline' instead of macros to avoid multiple argument evaluation. r=ftang
git-svn-id: svn://10.0.0.236/trunk@76378 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:08:43 +00:00
waterson%netscape.com
efe0fb7e1b Bug 44480. Remove obsolete files.
git-svn-id: svn://10.0.0.236/trunk@76376 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:05:22 +00:00
waterson%netscape.com
e029e1cca8 Bug 44480. Demote 'width' and 'height' attributes from NSDocument to NSHTMLDocument and XULDocument; make nsHTMLDocument's implementation use the <body> element's frame (instead of the <html> element's frame) to determine metrics. r=jst
git-svn-id: svn://10.0.0.236/trunk@76375 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:04:52 +00:00
javi%netscape.com
91bf2b5156 Remove some unnecessary access paths from the project file.
git-svn-id: svn://10.0.0.236/trunk@76372 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:56:53 +00:00
beard%netscape.com
569a41dfec bug #47920: fixes unitialized variable.
git-svn-id: svn://10.0.0.236/trunk@76371 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:46:17 +00:00
pinkerton%netscape.com
99b7fce821 Dead code removal
git-svn-id: svn://10.0.0.236/trunk@76370 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:44:15 +00:00
hyatt%netscape.com
b4caa66fbf Fix that is needed for 46719, r=ducarroz,ben
git-svn-id: svn://10.0.0.236/trunk@76369 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:42:13 +00:00
pinkerton%netscape.com
92c3e51c6b Add KillPendingTimers() to nsIMenuParent and call it when we open a sibling
submenu. Not clearing out this timer causes confusion with the rollup
listeners. Fixes 48989 and 28309. Thanks to Dean, who put me on the right
track. r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@76368 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:35:04 +00:00
warren%netscape.com
fcb1b8f06c Changes to allow uncopied string keys. Changes to copy string key's null byte. code=jband, r=warren
git-svn-id: svn://10.0.0.236/trunk@76367 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:32:59 +00:00
sgehani%netscape.com
e61f27f091 Fix scrollbar crasher in custom install dialog for mac installer.
[nsbeta3+ b=48882; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@76366 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:32:56 +00:00
hyatt%netscape.com
837b4508e8 Backing out fix to 40596 and fixing bug #49051, r=putterman
git-svn-id: svn://10.0.0.236/trunk@76364 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:20:29 +00:00
hyatt%netscape.com
1cca5f9c05 Better fix for 49066. r=saari,danm
git-svn-id: svn://10.0.0.236/trunk@76361 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 22:58:12 +00:00
hyatt%netscape.com
ae6e08c788 Fix for bug #49066, r=saari
git-svn-id: svn://10.0.0.236/trunk@76360 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 22:46:09 +00:00
robinf%netscape.com
845817de98 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@76359 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 22:41:32 +00:00
robinf%netscape.com
e0e4fa0141 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@76358 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 22:34:21 +00:00
edburns%acm.org
14ce93d1c7 bug=45127
r=edburns
a=edburns
author=avm@sparc.spb.su

Wrong URL for kRDF_type.


git-svn-id: svn://10.0.0.236/trunk@76357 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 22:09:05 +00:00
robinf%netscape.com
e81c19cca3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@76356 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 21:44:31 +00:00
jgmyers%netscape.com
7372c3b207 remove 'no acceptable authetication' dialog box: bug 31737 r=javi a=lord
git-svn-id: svn://10.0.0.236/trunk@76355 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 21:23:49 +00:00
javi%netscape.com
80049c0c23 Whomp the SECURITY_MAC_BRANCH onto the tip.
git-svn-id: svn://10.0.0.236/trunk@76354 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 21:10:38 +00:00
robinf%netscape.com
e1cb4fbc1f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@76353 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 21:10:35 +00:00
javi%netscape.com
cf61dc720b Whomp SECURITY_MAC_BRANCH onto tip
git-svn-id: svn://10.0.0.236/trunk@76352 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 21:09:21 +00:00
hyatt%netscape.com
7cc5153fd3 Fix for 49009. r=danm
git-svn-id: svn://10.0.0.236/trunk@76351 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 21:00:52 +00:00
dmose%mozilla.org
2d67cccf73 refine to assign to the prototype rather than the created objects, and add debugging stuff to help shaver. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76350 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 20:58:17 +00:00
danm%netscape.com
a7f044e069 treat width/height=* features to mean size of parent window. compatibility with Nav 4. bug 30394.
git-svn-id: svn://10.0.0.236/trunk@76349 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 20:01:20 +00:00
mkaply%us.ibm.com
402e059347 OS/2 tinderbox break - not sure how to fix it right, so just fix it for OS/2
git-svn-id: svn://10.0.0.236/trunk@76348 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 19:57:44 +00:00
sfraser%netscape.com
23d76bb604 Fix for 34741 -- command-drag background windows when a dialog is up. r=danm
git-svn-id: svn://10.0.0.236/trunk@76347 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 19:14:04 +00:00
leaf%mozilla.org
ef74e721c7 Automated update
git-svn-id: svn://10.0.0.236/trunk@76344 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 18:45:09 +00:00
colin%theblakes.com
138965b630 libIDL fix for OpenVMS only. r=leaf
git-svn-id: svn://10.0.0.236/trunk@76343 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 18:30:59 +00:00
pinkerton%netscape.com
85f9625e19 mark thread tree as one that doesn't allow drops between rows. bug# 47105
git-svn-id: svn://10.0.0.236/trunk@76342 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 18:25:07 +00:00
pinkerton%netscape.com
67ffa161ec remove the ondragOver handler as it wasn't doing anythning but drawing useless drag feedback. bug 43421.
git-svn-id: svn://10.0.0.236/trunk@76341 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 18:24:00 +00:00
pinkerton%netscape.com
e4d7aed5a5 fix for 47105, retooling of tree d&d to not be so confusing, to use the style system a little more, and to handle the case where a tree won't let you drop anything between rows.
git-svn-id: svn://10.0.0.236/trunk@76340 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 18:23:34 +00:00
pinkerton%netscape.com
c90a093e1b part of fix for 47105, clear canDrop every time we dispatch a dragOver event. it will be set accordingly if it is meant to be.
git-svn-id: svn://10.0.0.236/trunk@76339 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 18:22:39 +00:00
rbs%maths.uq.edu.au
d4465be0f3 [not part of default build] Another go at fixing build bustage b:42793. It prevented the enabling of xprint with mathml. Paul B. Saitta <pbs@po.cwru.edu> verified that the changes compile and run, after accidently forgetting to turn xprint on the other time. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@76338 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 18:22:31 +00:00
pinkerton%netscape.com
9d9cbe5eb9 Fix for 43421, add a style rule to use the selection color when a folder is hovered over during drags. r=ben.
git-svn-id: svn://10.0.0.236/trunk@76337 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 18:21:40 +00:00
attinasi%netscape.com
7c743c6f44 New Daily Run data: not part of build
git-svn-id: svn://10.0.0.236/trunk@76336 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 17:30:17 +00:00
despotdaemon%netscape.com
84fa1698af Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@76333 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 16:41:58 +00:00
nboyd%atg.com
0846db0ec2 Merge changes from EXP_DEBUGGER branch into tip.
Implements simple command-line debugger for scripts.


git-svn-id: svn://10.0.0.236/trunk@76330 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 15:54:46 +00:00
pete%alphanumerica.com
3b3c182ed7 moving APPEND comment. Wrong spot.
r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@76329 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 13:14:51 +00:00
pete%alphanumerica.com
fbc81cccf5 added readDir(dirPath) member function.
Also fixed a small bug in copy to return if the source file is a dir.
r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@76328 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 12:37:40 +00:00
mcgreer%netscape.com
1a7dd97349 should be able to set negative offset during cert creation
git-svn-id: svn://10.0.0.236/trunk@76327 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 05:08:13 +00:00
morse%netscape.com
30b370c86b bug 48986, remove form prefill and capture from tasks menu
git-svn-id: svn://10.0.0.236/trunk@76326 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 03:47:45 +00:00
leaf%mozilla.org
287702623d Automated update
git-svn-id: svn://10.0.0.236/trunk@76325 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 03:02:53 +00:00
rjc%netscape.com
ee4f909197 Fix bug # 47927: crash loading 2nd ftp URL. r=waterson
git-svn-id: svn://10.0.0.236/trunk@76324 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 01:43:42 +00:00
valeski%netscape.com
5bd6accae5 26719. applying patch for bns_robson@hotmail.com to fix handle leak. r=valeski
git-svn-id: svn://10.0.0.236/trunk@76323 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 01:35:30 +00:00
jgaunt%netscape.com
df95a315cc r=jdunn@netscape.com r=edburns@acm.org r=cls@netscape.com
a=leaf@netscape.com a=drapeau@eng.sun.com
bug=#43090
fix for hpux java plugin, generalized through configure.in for anyone.


git-svn-id: svn://10.0.0.236/trunk@76321 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:32:14 +00:00
ducarroz%netscape.com
2d4503bc07 Fix for bug 41928. Fix wrong menu id. R=putterman
git-svn-id: svn://10.0.0.236/trunk@76320 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:28:18 +00:00
dmose%mozilla.org
8d84ef21cf Major fixes to the code that cleans up at the end of an LDAP search and/or when a search has been cancelled. Most visible effect: the throbber should always stop spinning at the end of a search, rather than sometimes lingering on indefinitely. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76319 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:16:03 +00:00
law%netscape.com
345de6f67f Bug 40792; remove obsolete error-handling code to prevent crash; r=slamm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76318 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:12:50 +00:00
dmose%mozilla.org
185aabb68c add debugging frobs to XP_UNIX platforms. setenv XPCOM_DEBUG_BREAK to make NS_ASSERTION have other behaviors, like dumping the stack to stderr or sending SIGSTOP to the pgrp to allow attaching with gdb for race condition debugging. r=bryner@netscape.com, a=brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@76317 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:09:39 +00:00
pinkerton%netscape.com
2a0b7d8d70 backing out my last change, it breaks scrollbars.
git-svn-id: svn://10.0.0.236/trunk@76316 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:03:25 +00:00
valeski%netscape.com
bf4bad597e 48884, r=morse. fixing cookie list ordering problem and cookie insertion problem.
git-svn-id: svn://10.0.0.236/trunk@76314 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:00:54 +00:00
valeski%netscape.com
1131b6e0aa 48884, r=morse. removing extraneous io service and newuri usage.
git-svn-id: svn://10.0.0.236/trunk@76313 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:00:13 +00:00
mcgreer%netscape.com
47afd9ecca wrong header
git-svn-id: svn://10.0.0.236/trunk@76312 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:50:36 +00:00
sgehani%netscape.com
520950ea41 Eliminate engine thread yielding to main thread duirng XPCOM extraction.
[nsbeta3+ b=1895; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@76310 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:40:14 +00:00
dougt%netscape.com
6591791df9 Changing the nsDirectoryService define. This should have been done with the rest of the nsDirectorySerivce changes. r=conrad.
git-svn-id: svn://10.0.0.236/trunk@76309 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:38:27 +00:00
dougt%netscape.com
faa139162d Fix for 48832, r=conrad. a regression.
git-svn-id: svn://10.0.0.236/trunk@76307 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:33:45 +00:00
pinkerton%netscape.com
9a6dd56096 for 48250, turn off mouse capture when a drag gesture begins. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@76306 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:29:03 +00:00
pinkerton%netscape.com
ecbc628010 making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250.
git-svn-id: svn://10.0.0.236/trunk@76305 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:28:41 +00:00
nelsonb%netscape.com
142b5d73b3 Build des.c and desblapi.c.
git-svn-id: svn://10.0.0.236/trunk@76304 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:28:10 +00:00
nelsonb%netscape.com
f7c0752c6c The Initial Developer of the Original Code is Nelson B. Bolyard,
nelsonb@iname.com.  Portions created by Nelson B. Bolyard are
Copyright (C) 1990, 2000  Nelson B. Bolyard, All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@76303 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:27:20 +00:00
kestes%staff.mail.com
783b144faa document that you should get the tests working first.
put in a warning that it may be hard to install.


git-svn-id: svn://10.0.0.236/trunk@76302 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:22:15 +00:00
waterson%netscape.com
b270876b7f Back out shanjian's last change as it was causing several whitespace-related regressions. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@76301 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:11:41 +00:00
rods%netscape.com
690d980baf was not unregistering the listers correctly. Not they unreg with the
listener object.
b=48915 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76300 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:05:28 +00:00
wtc%netscape.com
59621a3060 Bugzilla bug #15906: added GC_LEAK_DETECTOR support for Linux.
Modified files: config.mk, primpl.h, pr/src/Makefile, pr/src/Makefile.in,
pr/src/memory/Makefile, pr/src/memory/Makefile.in, prthinfo.c, ptthread.c


git-svn-id: svn://10.0.0.236/trunk@76299 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:05:22 +00:00
mcgreer%netscape.com
6305e4dc20 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@76298 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:04:22 +00:00
gayatrib%netscape.com
53b043c015 fix for bug 41987. r=alecf
git-svn-id: svn://10.0.0.236/trunk@76297 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:03:23 +00:00
rods%netscape.com
4177506b45 it was incorrctly painting both images
b=48156 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76296 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:01:05 +00:00
kestes%staff.mail.com
e32a3a2ff9 fix typo, '.' should have been ','
git-svn-id: svn://10.0.0.236/trunk@76295 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 21:58:58 +00:00
ftang%netscape.com
012884125b fix bug 27906. Obsolete old Japanese converter to save some space. r=nhotta
git-svn-id: svn://10.0.0.236/trunk@76294 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 21:52:06 +00:00
waterson%netscape.com
17e17805d2 Bug 48086. Be sure to update XUL document's ID-to-element map when removing generated content. r=rjc
git-svn-id: svn://10.0.0.236/trunk@76293 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 21:46:04 +00:00
naving%netscape.com
ee1066bc5f Fixed bugs #42998 and #44883.
Removed "this space for rent" from subscribe dlg and add progressmeter to the
subscribe dlg. r = scottip, alecf


git-svn-id: svn://10.0.0.236/trunk@76292 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 21:43:19 +00:00
gayatrib%netscape.com
11ee4b211a Fix for bug 45806. r=putterman
git-svn-id: svn://10.0.0.236/trunk@76291 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 21:41:04 +00:00
mscott%netscape.com
781ca234f5 not part of the regular build. For those of us that have the show user agent string turned on for mail, the toolbar
wasn't being hidden properly when viewing a message that didn't have a user agent.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76289 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 21:29:41 +00:00
ducarroz%netscape.com
f2dcb34b9e Fix for bug 47506. Migrate some of the modification made to the editor formating toolbar to the message compose one. R=sfraser
git-svn-id: svn://10.0.0.236/trunk@76288 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 21:29:33 +00:00
nelsonb%netscape.com
5e8c99dc31 "clean" target will also remove primes.c from mpi.
git-svn-id: svn://10.0.0.236/trunk@76287 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 21:04:46 +00:00
hyatt%netscape.com
195caf091d Fix for 48931, r=danm,scc
git-svn-id: svn://10.0.0.236/trunk@76286 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 18:52:47 +00:00
tara%tequilarista.org
4952badec4 Landing zach's \n for #48947
git-svn-id: svn://10.0.0.236/trunk@76285 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 18:44:54 +00:00
pete%alphanumerica.com
b4a9e7c39e added two more member functions:
*       9. copy(source, dest);
*       10.leaf(path);

Fixed a bug i found in exists() member function.
Expanded tabs out of file. Tested.
not part of the build.

r=dougt

--pete


git-svn-id: svn://10.0.0.236/trunk@76283 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 17:14:29 +00:00
rods%netscape.com
ef90930d3b a better fix for when min size come into play with unconstrained sizes
b=40596 r=lmcclusk


git-svn-id: svn://10.0.0.236/trunk@76281 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 14:45:29 +00:00
rods%netscape.com
1562d3aab9 added weak reference and ref counted event listener to listbox intead of
having the the non-recounted frame add itself. It is now the same as GfxList
b=21629, r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76280 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 14:42:12 +00:00
putterman%netscape.com
866b11f782 Fix for 41824, 40743, and 47440. r=mscott. Selecting an account clears the thread pane,
deleting the last message clears the message pane, and all columns are resizeable.


git-svn-id: svn://10.0.0.236/trunk@76279 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 14:40:33 +00:00
putterman%netscape.com
4c1b916df2 Fix for 40728. Remove struct phrases from pref ui. r=mscott.
git-svn-id: svn://10.0.0.236/trunk@76278 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 14:39:33 +00:00
rods%netscape.com
c22ad560c5 added textarea with -moz-fixed so it has the proper default font in quirks mode
b=44656 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76277 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 14:10:21 +00:00
rods%netscape.com
c215a20a77 css button and caption font is set to be two point sizes larger than the default GUI size.
caption font shouldn't (and now doesn't) use the actual Windows platform specific "caption" font
b=33312 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76276 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 13:54:50 +00:00
jfrancis%netscape.com
691e87aa2b groundwork for 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection
git-svn-id: svn://10.0.0.236/trunk@76274 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 12:07:10 +00:00
ben%netscape.com
3035e50272 classic skin polish (46613)
git-svn-id: svn://10.0.0.236/trunk@76273 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 09:34:20 +00:00
bryner%uiuc.edu
fb987ae864 Bulletproofing the tree to not divide by 0 in the case of scrolling or
asking the row count of a 0-row tree.  Bug 48306.  r=syd.


git-svn-id: svn://10.0.0.236/trunk@76272 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 07:06:49 +00:00
hyatt%netscape.com
4d77bfbb21 Fixing harpoon.
git-svn-id: svn://10.0.0.236/trunk@76271 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 04:29:54 +00:00
ben%netscape.com
b09555e826 classic skin polish + remove a dump
git-svn-id: svn://10.0.0.236/trunk@76270 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 04:23:57 +00:00
ben%netscape.com
962339b029 classic skin polish, 46613
git-svn-id: svn://10.0.0.236/trunk@76269 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 04:23:06 +00:00
morse%netscape.com
6ddf84038d bug 42438, add wallet capture and prefill to context menu
git-svn-id: svn://10.0.0.236/trunk@76268 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 04:11:02 +00:00
hyatt%netscape.com
272bbaad57 Work on 48150 and XBL performance (async and arenas).
git-svn-id: svn://10.0.0.236/trunk@76267 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 04:04:18 +00:00
conrad%ingress.com
8661316900 Not part of build.
1. Removed MMozillaApp mixin class from project. This is now handled by EmbedAPI lib.
2. Added routine to show how to start up the app with a given profile.


git-svn-id: svn://10.0.0.236/trunk@76266 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 03:04:08 +00:00
conrad%ingress.com
4b0ebc514a Not part of build.
Removed MMozillaApp mixin class from project. This is now handled by EmbedAPI lib.


git-svn-id: svn://10.0.0.236/trunk@76265 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 03:03:05 +00:00
conrad%ingress.com
cc57ab067a Not part of build.
Added EmbedAPI lib to project.


git-svn-id: svn://10.0.0.236/trunk@76264 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 03:01:10 +00:00
conrad%ingress.com
d42e858cee Not part of the build!
git-svn-id: svn://10.0.0.236/trunk@76263 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 02:49:08 +00:00
jfrancis%netscape.com
0b49f3bca3 fix for 48297: ome edit operations not scroling selection into view; r=fm
git-svn-id: svn://10.0.0.236/trunk@76262 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 02:39:37 +00:00
morse%netscape.com
b327a99d4e minor wording change, part of bug 48742
git-svn-id: svn://10.0.0.236/trunk@76261 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 02:37:16 +00:00
BlakeR1234%aol.com
ab04012940 Classic skin polish (46613). Make context menus thinner. r=ben, nsbeta3+
git-svn-id: svn://10.0.0.236/trunk@76260 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 02:34:57 +00:00
morse%netscape.com
8e9b177e00 minor wording change, part of bug 48742
git-svn-id: svn://10.0.0.236/trunk@76259 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 02:16:14 +00:00
morse%netscape.com
6aa37b52b9 bug 48592, cookie viewer deleting wrong cookie, caused by incorrect change in version 1.78
git-svn-id: svn://10.0.0.236/trunk@76258 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 00:58:37 +00:00
jfrancis%netscape.com
70ab4acbc7 fixing bustage. bizarre merge error?
git-svn-id: svn://10.0.0.236/trunk@76257 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 00:53:41 +00:00
rhp%netscape.com
f12beb46c1 Fix for crash when printing emails - Bug #: 48437 - r: xxxxx
git-svn-id: svn://10.0.0.236/trunk@76256 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 00:46:45 +00:00
rhp%netscape.com
10f693c0e0 Fix for adding display name automatically on ABSync operation - Bug #: 1942 - r: xxxxx
git-svn-id: svn://10.0.0.236/trunk@76255 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 00:45:51 +00:00
jfrancis%netscape.com
765bda40d2 fix for 45281, cannot insert a table caption. r=fm
git-svn-id: svn://10.0.0.236/trunk@76254 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 23:53:34 +00:00
morse%netscape.com
7d6e4f0a70 bug 42438, add wallet functions to edit menu, r=dbragg
git-svn-id: svn://10.0.0.236/trunk@76253 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 23:38:08 +00:00
bienvenu%netscape.com
dd1de0eba2 fix build warnings
git-svn-id: svn://10.0.0.236/trunk@76252 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 23:00:42 +00:00
bienvenu%netscape.com
03b20d0970 fix bugs with partial uidl, stopping pop3 download, and deleting msgs on server r=putterman 43489 45727 33943
git-svn-id: svn://10.0.0.236/trunk@76251 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 22:56:40 +00:00
rhp%netscape.com
6896cab2a5 Fix for bug #17294 for vCard display on mac - r: putterman
git-svn-id: svn://10.0.0.236/trunk@76250 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 22:11:59 +00:00
morse%netscape.com
b3ba9ee8f5 stage 1 for bug 42438, adding wallet functions to edit menu, r=dbragg
git-svn-id: svn://10.0.0.236/trunk@76249 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 20:50:23 +00:00
BlakeR1234%aol.com
e775085b3e Fix bug 48829, simple two-line change to make tree columns resizable in mailnews subscribe dialog. r=me a=gemal
git-svn-id: svn://10.0.0.236/trunk@76248 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 17:30:15 +00:00
putterman%netscape.com
e7230f5f0d r=bienvenu. Fixes for 16998, 40401, 47946, 47948, 48098, 45272, 45403. Sort by Flag and Unread columns,
Clean up View | Messages menu. Remove folder property menu items.  Remove Newsgroup menu items and branded mail menu item.
Fixed Account tooltip. Make new button work in Select Addresses dialog.


git-svn-id: svn://10.0.0.236/trunk@76247 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 17:04:46 +00:00
jeff.dyer%compilercompany.com
412bcfa517 Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@76246 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 15:07:42 +00:00
jeff.dyer%compilercompany.com
5f9b87830d Bug#34746,34853,40077: Implementation for new method for checking permission to run java.
git-svn-id: svn://10.0.0.236/trunk@76245 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 14:05:18 +00:00
jeff.dyer%compilercompany.com
a7f12cbf24 Bug#16438: Wire up use of new unwrap api.
git-svn-id: svn://10.0.0.236/trunk@76244 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 14:04:32 +00:00
jeff.dyer%compilercompany.com
795227ba5e Bug#16438: New method for unwrapping wrapped java objects for liveconnect.
git-svn-id: svn://10.0.0.236/trunk@76243 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 14:02:53 +00:00
jeff.dyer%compilercompany.com
0a8d03816e Bug#34746,34853,40077: New method for checking permission to run java.
git-svn-id: svn://10.0.0.236/trunk@76242 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 14:01:23 +00:00
ben%netscape.com
8ae3356992 i suck
git-svn-id: svn://10.0.0.236/trunk@76241 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 09:33:56 +00:00
ben%netscape.com
22c71b3ec1 classic skin polish, 46613
git-svn-id: svn://10.0.0.236/trunk@76240 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 09:13:14 +00:00
ben%netscape.com
8ee9f95ce0 classic skin polish (fix sidebarheader for mail folders) 46613
git-svn-id: svn://10.0.0.236/trunk@76239 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 09:10:27 +00:00
ben%netscape.com
3bf5024c38 classic skin polish, 46613
git-svn-id: svn://10.0.0.236/trunk@76238 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 09:06:08 +00:00
ben%netscape.com
a33e5c8953 fix dependencies
git-svn-id: svn://10.0.0.236/trunk@76237 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 06:15:30 +00:00
bryner%uiuc.edu
93be0b73b4 Fixing 48752 - filepicker doesn't show any files. This is fallout from
the recent changes to nsDirectoryService.  r=disttsc@bart.nl.


git-svn-id: svn://10.0.0.236/trunk@76236 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 06:12:00 +00:00
ben%netscape.com
54bb3d482c remove dependency on mailnews from history/navigator
git-svn-id: svn://10.0.0.236/trunk@76235 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 06:02:01 +00:00
ben%netscape.com
c1ad6c583d sidebar tweaks for classic skin, 46613
git-svn-id: svn://10.0.0.236/trunk@76234 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 04:33:19 +00:00
ben%netscape.com
8acc383e96 fix some of the problems introduced by my checkin to this file last night (radiogroup => horizontal, & provide
intial + minimum height to this tree)


git-svn-id: svn://10.0.0.236/trunk@76233 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 03:49:47 +00:00
ben%netscape.com
cc9cc7082a fix broken classic splitters (46613)
git-svn-id: svn://10.0.0.236/trunk@76232 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 03:48:11 +00:00
BlakeR1234%aol.com
8f6778192a Fix bug 47429, just add a style rule to change cursors. r=me a=german
git-svn-id: svn://10.0.0.236/trunk@76231 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-13 00:05:15 +00:00
BlakeR1234%aol.com
c93397ff17 Fix bug 47430, just add a style rule to change cursors. r=me a=germa
git-svn-id: svn://10.0.0.236/trunk@76230 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 23:54:51 +00:00
dave%intrec.com
8229bb32ee Re-fixing bug 30824 the correct way (which also fixes bug 46753)
git-svn-id: svn://10.0.0.236/trunk@76229 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 23:30:51 +00:00
alecf%netscape.com
e659c72f59 fix ben's bustage of the filter editor (more to come)
git-svn-id: svn://10.0.0.236/trunk@76228 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 22:38:10 +00:00
saari%netscape.com
d178dd6d0f undoing hackery and fixing a leak. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@76227 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 22:19:55 +00:00
mkaply%us.ibm.com
037be63490 OS/2 and AIX Tinderbox break
I have no idea why we don't like having two semicolons in a row, but who the heck would put them there?


git-svn-id: svn://10.0.0.236/trunk@76226 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 20:26:33 +00:00
mozilla.BenB%bucksch.org
a395e2a1ae 28355: Synchronize with server at "Get New Mail". "Contributed" :) by bienvenu, r=BenB, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@76225 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 19:56:38 +00:00
roc+%cs.cmu.edu
91d3cb9ba7 Adding call to new view API so that the view of a fixed-position frame has a Z-order/clipping parent which is not its geometric parent. Bug 39621. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@76224 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 19:44:11 +00:00
roc+%cs.cmu.edu
dafb67d22b Adding new nsIView/nsIViewManager APIs so that a view can have a different parent for Z-order/clipping purposes than its geometric parent. Bug 39621. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@76223 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 19:05:52 +00:00
blizzard%redhat.com
2d316adc3e fix for bug #48640. fix UMR in offscreen window initialization. a=brendan
git-svn-id: svn://10.0.0.236/trunk@76222 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 17:34:44 +00:00
mkaply%us.ibm.com
bfbf7b1559 OS/2 and AIX Tinderbox break
Short answer: Be consistent about NS_IF_ADDREFing const and non const of the same type in the same file.
Long answer: Send me email


git-svn-id: svn://10.0.0.236/trunk@76221 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 15:03:24 +00:00
ben%netscape.com
01dfc52a92 added file to jar.mn
git-svn-id: svn://10.0.0.236/trunk@76220 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 10:17:02 +00:00
warren%netscape.com
d9fdedd4d4 Fixed path to jar.mn in comment
git-svn-id: svn://10.0.0.236/trunk@76219 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 10:11:50 +00:00
ben%netscape.com
0b40da7144 ditto
git-svn-id: svn://10.0.0.236/trunk@76218 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 09:48:36 +00:00
ben%netscape.com
09e9e13722 fix preferences -> preferences...
git-svn-id: svn://10.0.0.236/trunk@76217 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 09:47:56 +00:00
ben%netscape.com
2711569c6f old throbber. no one liked the new one. maybe another throbber contest? (46613)
git-svn-id: svn://10.0.0.236/trunk@76216 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 09:34:32 +00:00
ben%netscape.com
03bb4f4be7 46613, classic skin polish
git-svn-id: svn://10.0.0.236/trunk@76215 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 09:27:10 +00:00
ben%netscape.com
e7439f6117 46613, classic skin polish
git-svn-id: svn://10.0.0.236/trunk@76214 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 09:12:23 +00:00
hyatt%netscape.com
5050d7bca4 Linux linux linux... will we ever teach you how comptrs work?
git-svn-id: svn://10.0.0.236/trunk@76213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 09:00:25 +00:00
hyatt%netscape.com
ce1540a14a Linux sucks.
git-svn-id: svn://10.0.0.236/trunk@76212 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 07:58:54 +00:00
hyatt%netscape.com
5b7b5430bb Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@76211 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 07:13:52 +00:00
hyatt%netscape.com
67e86b1a57 Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan
git-svn-id: svn://10.0.0.236/trunk@76210 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 06:39:24 +00:00
ben%netscape.com
a7f92a120a 46613...
git-svn-id: svn://10.0.0.236/trunk@76209 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 06:37:37 +00:00
ben%netscape.com
c5c8ddeba3 polish changes to the account manager, filter and search dialogs. r=alecf
git-svn-id: svn://10.0.0.236/trunk@76208 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 06:33:18 +00:00
hyatt%netscape.com
a729ae916b Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan
git-svn-id: svn://10.0.0.236/trunk@76207 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 06:28:02 +00:00
jj%netscape.com
48bb2dfa6e #24312: moved Component Registry from [xpcom.xpi] to [browser.xpi]
git-svn-id: svn://10.0.0.236/trunk@76206 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 06:05:04 +00:00
ben%netscape.com
743e4cad79 jar.mn update
git-svn-id: svn://10.0.0.236/trunk@76205 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 06:04:33 +00:00
ben%netscape.com
d2cf978a69 46613, classic skin polish
git-svn-id: svn://10.0.0.236/trunk@76204 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 06:01:04 +00:00
rjc%netscape.com
4959563fd7 Fix buf # 44324 (error msg if overloaded FTP server) and bug # 31586 (resolution when logging into user home directory via FTP). r=gagan
git-svn-id: svn://10.0.0.236/trunk@76203 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 05:13:29 +00:00
ben%netscape.com
6649201adf classic skin stuff, 46613
git-svn-id: svn://10.0.0.236/trunk@76202 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 04:24:29 +00:00
svn%xmlterm.org
189ad8f1c3 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Fixed overlay to XMLterm back into the tasks menu.


git-svn-id: svn://10.0.0.236/trunk@76201 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 03:51:02 +00:00
danm%netscape.com
380c312459 plug leaking nsWindow. bug 48066. code=sean@beatnik.com r=law@netscape.com, me
git-svn-id: svn://10.0.0.236/trunk@76200 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 02:35:58 +00:00
sfraser%netscape.com
4e94847de0 Fix typo, bug 48616. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@76199 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:42:04 +00:00
BlakeR1234%aol.com
f698420a5b Fix bug 42957 - make enter/return work properly in the XPInstall dialog. r=dveditz a=dveditz
git-svn-id: svn://10.0.0.236/trunk@76197 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:31:32 +00:00
mcafee%netscape.com
5081846ce5 splitting forms-and-passwords pref pane into two panes, out of realestate (40888). r=slamm
git-svn-id: svn://10.0.0.236/trunk@76196 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:30:18 +00:00
mcafee%netscape.com
fb81e8a614 Saving space in winhooks pref panel (40888). r=slamm
git-svn-id: svn://10.0.0.236/trunk@76195 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:29:01 +00:00
sfraser%netscape.com
9c6d4bcbfc Final part of fix for 25161 -- use the new user-select: _moz_all that pierre just checked in.
git-svn-id: svn://10.0.0.236/trunk@76194 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:26:39 +00:00
edburns%acm.org
cdaf385ad3 Changes to make it build in the BAL case.
git-svn-id: svn://10.0.0.236/trunk@76193 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:22:18 +00:00
cyeh%bluemartini.com
70d7d094e9 fix for bug #44691, patch submitted by jmrobins@tgix.com (Joe Robins)
git-svn-id: svn://10.0.0.236/trunk@76192 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:14:25 +00:00
edburns%acm.org
7e99186539 Make it so BAL_INTERFACE=1 compiles on solaris.
git-svn-id: svn://10.0.0.236/trunk@76191 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:08:37 +00:00
putterman%netscape.com
fcea01ecdb Fix for 48314. Unable to toggle between flag and unflagged in threadpane. r=alecf
git-svn-id: svn://10.0.0.236/trunk@76190 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:08:09 +00:00
edburns%acm.org
89d95f4ec6 Make it so BAL_INTERFACE=1 compiles on Solaris.
git-svn-id: svn://10.0.0.236/trunk@76189 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:08:04 +00:00
putterman%netscape.com
abbd64706f Fix for 46342. Remove remember last selected message from preferences. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@76188 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:06:16 +00:00
pierre%netscape.com
83df3e3c44 48096: Need a -moz-all value for user-select. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@76187 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:00:14 +00:00
sfraser%netscape.com
0c4e6f39c9 Toolbar cleanup 47506 -- less obnoxious toggled color. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@76186 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:58:45 +00:00
sfraser%netscape.com
e4b56f3564 Fixes for 37815 -- editor toolbar cleanup. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@76184 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:47:05 +00:00
sfraser%netscape.com
f11ecfb1ad Work for 37815 -- better dropdown CSS and images. r=cmanske.
git-svn-id: svn://10.0.0.236/trunk@76183 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:45:23 +00:00
beard%netscape.com
82866616d8 Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@76182 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:45:09 +00:00
saari%netscape.com
3b61368cb8 Fix more leaks bug 48126 again. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@76180 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:38:22 +00:00
ducarroz%netscape.com
9eb73796ed Fix for bug 47855. Implement Save as File and fix command Save to remember which default action to performe (save as file, save as draft or save as template). R=ducarroz
git-svn-id: svn://10.0.0.236/trunk@76177 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:29:43 +00:00
sfraser%netscape.com
b2984ba0ab Part of fix for 47855 -- don't show title prompt when saving from mail or plaintext. r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@76175 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:16:10 +00:00
sfraser%netscape.com
b34448f00f CSS for editor toolbar buttons for bug 38792. r=cmanske, ben.
git-svn-id: svn://10.0.0.236/trunk@76173 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:02:56 +00:00
sfraser%netscape.com
b25e165fa5 Fix for bugs 38792, 47506 -- tidyup of editor toolbar. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@76172 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:02:32 +00:00
mccabe%netscape.com
9657613bc1 Fix to 39438.
Add a TokenStream entry to the regexp parser state so that regexps compiled at script-compilation time can report filename and line number on error.


git-svn-id: svn://10.0.0.236/trunk@76171 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 23:55:07 +00:00
jband%netscape.com
8e8146c9c7 Pass the buffer length in bytes to nsCRT::memcmp. a=warren
git-svn-id: svn://10.0.0.236/trunk@76170 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 23:46:09 +00:00
cmanske%netscape.com
5bdca17f9e Fixing editor ui bugs 47697, image dialog button problem (part of 47651). r=sfraser
git-svn-id: svn://10.0.0.236/trunk@76169 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 23:43:12 +00:00
morse%netscape.com
3c119236b1 bug 48267, remove a textfield from wallet's pref panel, r=danm
git-svn-id: svn://10.0.0.236/trunk@76165 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 22:38:55 +00:00
cmanske%netscape.com
3351e53730 Fixed spacing around text in titledboxes for Modern skin. b=46423, 42331. r=beppe
git-svn-id: svn://10.0.0.236/trunk@76164 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 22:27:09 +00:00
jst%netscape.com
c69109493c Backing out changes that should've been checked onto a branch. Sorry about that.
git-svn-id: svn://10.0.0.236/trunk@76159 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 22:10:35 +00:00
law%netscape.com
eb9cb69f88 Bug 21137; make Shift-Reload force reload from server; r=radha@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76158 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 22:08:13 +00:00
edburns%acm.org
1968a5ae56 bug=47357
a=edburns
r=edburns
author=avm

This fix adds a length parameter to the loading of URLs.  It also adds a new util function util_getStringLength().


git-svn-id: svn://10.0.0.236/trunk@76157 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:58:56 +00:00
mcafee%netscape.com
4113e0d3f3 Thin separators to save space (40888)
git-svn-id: svn://10.0.0.236/trunk@76155 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:54:18 +00:00
morse%netscape.com
ad18cdd128 bug 46989, cookies don't work if components.reg is missing, r=dougt
git-svn-id: svn://10.0.0.236/trunk@76153 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:51:52 +00:00
pchen%netscape.com
034f671d83 bug 22342, r=danm, back out ben's hack to try to load URL in current window if empty otherwise load in a new window, now always load using openTopWin()
git-svn-id: svn://10.0.0.236/trunk@76152 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:49:53 +00:00
javi%netscape.com
88199bbfc6 Fix for bug #44652
git-svn-id: svn://10.0.0.236/trunk@76151 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:43:57 +00:00
jst%netscape.com
82c4f10195 DOM API string changes...
git-svn-id: svn://10.0.0.236/trunk@76150 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:41:59 +00:00
edburns%acm.org
e962e3882f Update makefile to pull JNI includes from src_share.
git-svn-id: svn://10.0.0.236/trunk@76148 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:35:29 +00:00
ruslan%netscape.com
2d3c31f3be Fix 47408, a=gagan,r=neeti
git-svn-id: svn://10.0.0.236/trunk@76147 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:31:13 +00:00
valeski%netscape.com
6392db4d27 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@76146 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:12:27 +00:00
varada%netscape.com
e15fac2346 fix for bug #46323;unable to launch alternate 3panewindow from addressbook; r= ducarroz
git-svn-id: svn://10.0.0.236/trunk@76145 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 21:04:43 +00:00
scc%mozilla.org
5266231e55 not part of the build; adding multi-fragment strings to the test suite
git-svn-id: svn://10.0.0.236/trunk@76144 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:54:25 +00:00
varada%netscape.com
cace056fe0 fix for bug#40368; removing Stop button from msg compose window; r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@76143 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:52:39 +00:00
law%netscape.com
4d86094da6 Bug 17524; add 'Bookmark this Link' context menu choice; r=slamm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76140 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:44:06 +00:00
conrad%ingress.com
a2cf6be101 Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76139 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:31:57 +00:00
mccabe%netscape.com
d9ba450d3d Spelling fix.
git-svn-id: svn://10.0.0.236/trunk@76138 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:31:17 +00:00
roc+%cs.cmu.edu
c2df6ad973 Testcase for bug 25707.
git-svn-id: svn://10.0.0.236/trunk@76137 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:28:49 +00:00
conrad%ingress.com
dfbe032f38 Added appfilelocprovider usage
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76136 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:28:32 +00:00
mcafee%netscape.com
50b23735dd Saving space in pref pane (40888). r=slamm
git-svn-id: svn://10.0.0.236/trunk@76135 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:26:30 +00:00
conrad%ingress.com
48e7ec20b8 1. Changed from using strings to using macro names for property keys
2. Fixed return val of RegisterProvider
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76134 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:25:18 +00:00
conrad%ingress.com
2a7d6c6682 Added an impl of nsIDirectoryServiceProvider to nsProfile.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@76133 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:23:14 +00:00
conrad%ingress.com
2f2ea9dd4e Added the building of appfilelocationprovider lib.
r=sfraser


git-svn-id: svn://10.0.0.236/trunk@76132 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:21:09 +00:00
conrad%ingress.com
f111d7d465 Added appfilelocationprovider lib
git-svn-id: svn://10.0.0.236/trunk@76131 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:18:43 +00:00
conrad%ingress.com
a38d3b0a77 Added appfilelocationprovider lib
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76130 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:17:55 +00:00
conrad%ingress.com
fa1b9b93d7 Changed call of NS_InitEmbedding.
r=adamlock


git-svn-id: svn://10.0.0.236/trunk@76129 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:14:31 +00:00
conrad%ingress.com
1ebdcd7cba Changed params to NS_InitEmbedding.
git-svn-id: svn://10.0.0.236/trunk@76128 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:14:02 +00:00
conrad%ingress.com
03c7af5044 Changed call of NS_InitEmbedding.
git-svn-id: svn://10.0.0.236/trunk@76127 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:13:41 +00:00
nhotta%netscape.com
80721dda88 Disabled caching for encoders since they hold states, bug 48284, r=cata,ftang.
git-svn-id: svn://10.0.0.236/trunk@76126 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:13:31 +00:00
pchen%netscape.com
19cc303013 bug 46137, r=putterman, add id="printMenuItem" to print menu item so that Print Plus overlay gets added right after it
git-svn-id: svn://10.0.0.236/trunk@76125 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:11:25 +00:00
matt%netscape.com
4371f8a557 fix for bug 30375 rev. matt patch taken
git-svn-id: svn://10.0.0.236/trunk@76124 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:10:50 +00:00
conrad%ingress.com
409fc82b6b 1. Removed NS_Init which took a path.
2. Added appfilelocation provider param.
r=dougt


git-svn-id: svn://10.0.0.236/trunk@76123 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:10:06 +00:00
conrad%ingress.com
a46cb958bf 1. Uses appfilelocationprovider. Can pass one in or pass nsnull and default is made.
2. Removed version of NS_InitEmbedding which took char* path.
r=dougt


git-svn-id: svn://10.0.0.236/trunk@76122 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:09:05 +00:00
roc+%cs.cmu.edu
4c56115614 When computing the max-element-size, base percentage margins on the size of the contained max-element-size, not on the container's desired size. Bug 25707. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@76121 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:08:15 +00:00
leaf%mozilla.org
89132c59f4 adding mozilla/modules/appfilelocprovider to SeaMonkeyCore --leaf
git-svn-id: svn://10.0.0.236/trunk@76120 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 19:58:25 +00:00
anthonyd%netscape.com
7d90e93839 fix for bug#48472
apparently nsIContent::ChildAt can be successful
and not return a child. now checking fo that.
r: smfr
a: beppe


git-svn-id: svn://10.0.0.236/trunk@76116 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 19:55:39 +00:00
wtc%netscape.com
7006b5f542 Bugzilla bug #39731: the imported pipe needs to have its
secret->md.sync_file_io set to PR_TRUE on NT because unnamed pipes
don't support async io.


git-svn-id: svn://10.0.0.236/trunk@76114 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 18:36:38 +00:00
thayes%netscape.com
c0a3673fd8 Add Pragma: no-cache to PSM UI pages. This prevents caching by the client
and avoids bugs due to missing UI Events, and display of stale content.


git-svn-id: svn://10.0.0.236/trunk@76113 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 17:32:25 +00:00
bienvenu%netscape.com
fc352ff208 work for 22960 speed up msg display performance by speeding up history ab i18n function use r=putterman
git-svn-id: svn://10.0.0.236/trunk@76108 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 13:58:17 +00:00
warren%netscape.com
fafff3b825 Jar manifest updates.
git-svn-id: svn://10.0.0.236/trunk@76107 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 09:05:40 +00:00
morse%netscape.com
f0798011ba bug 48539, needed defensive code to prevent infinite loop on corrupted data
git-svn-id: svn://10.0.0.236/trunk@76106 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 07:12:07 +00:00
BlakeR1234%aol.com
3d414e29c8 Fix bug 48414 - enable tree column resizing in the password manager. r=syd a=morse
git-svn-id: svn://10.0.0.236/trunk@76105 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 06:52:06 +00:00
BlakeR1234%aol.com
6fca72c24b Fix bug 48414 - enable tree column resizing in the cookie and image managers. r=syd a=morse
git-svn-id: svn://10.0.0.236/trunk@76104 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 06:50:32 +00:00
saari%netscape.com
36b1afb126 nsbeta3+ bug 28508, select all is flakey from the context menu. Make sure popups don't steal focus. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@76103 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 06:31:09 +00:00
waldemar%netscape.com
c3f9a7aef7 Updated to generate Netscape 6-compatible HTML
git-svn-id: svn://10.0.0.236/trunk@76102 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 06:27:55 +00:00
waldemar%netscape.com
412bbaa229 Added attributes to for-initializers and no-line-breaks in a few places
git-svn-id: svn://10.0.0.236/trunk@76101 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 06:27:25 +00:00
waldemar%netscape.com
2a6f7a997f Updated to match documentation site
git-svn-id: svn://10.0.0.236/trunk@76100 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 06:24:57 +00:00
waldemar%netscape.com
130d41b297 Updated to match styles.css on documentation site
git-svn-id: svn://10.0.0.236/trunk@76099 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 06:24:39 +00:00
mcafee%netscape.com
6466c19e72 Editor pref files changed locations, but internal chrome: URLs did not and pref panes were blank. Fixing chrome: URLs. r=syd
git-svn-id: svn://10.0.0.236/trunk@76098 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 06:17:45 +00:00
putterman%netscape.com
d422473358 Fix for 45072. Make address book columns resizeable. r=mscott.
git-svn-id: svn://10.0.0.236/trunk@76097 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 06:00:51 +00:00
mcafee%netscape.com
39724aac3f Saving space in prefs (40888). r=syd
git-svn-id: svn://10.0.0.236/trunk@76095 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 05:30:49 +00:00
warren%netscape.com
88b71c97d5 Fixed to clean up files and directories properly. Fixed mod times of copied files so they don't get re-jarred.
git-svn-id: svn://10.0.0.236/trunk@76094 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 05:16:15 +00:00
nelsonb%netscape.com
e07feb7d25 Add commented-out lines to build on other platforms.
Clean target now removes libmpi.a also.


git-svn-id: svn://10.0.0.236/trunk@76093 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 05:01:59 +00:00
cmanske%netscape.com
aa6f5ab8c7 Restrict nsEditorShellMouseListener to HTML editor; fix to optimize GetSelectedNode for named anchors, b=47687, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@76092 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 04:59:37 +00:00
alecf%netscape.com
655d4029e9 speedup for 26456 - use autostring instead of PR_smprintf
r=putterman


git-svn-id: svn://10.0.0.236/trunk@76091 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 04:32:08 +00:00
mstoltz%netscape.com
bf3ffda0ef bug 47670. r=jtaylor
git-svn-id: svn://10.0.0.236/trunk@76090 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 04:31:08 +00:00
alecf%netscape.com
76cac84419 local mail speedup for #26456 r=putterman
use autostrings not PR_smprintf


git-svn-id: svn://10.0.0.236/trunk@76089 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 04:28:49 +00:00
alecf%netscape.com
f9cf749d55 speedup for #26456 - use autostring instead of PR_smprintf r=putterman
git-svn-id: svn://10.0.0.236/trunk@76088 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 04:27:37 +00:00
danm%netscape.com
bc5dce6605 Request scrollbars in new window opened in toOpenWindowByType. Necessary now that scrollbars=no is supported.
git-svn-id: svn://10.0.0.236/trunk@76087 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 04:00:29 +00:00
danm%netscape.com
c007797bdf sync with nsWebShellWindow.h rev 1.109
git-svn-id: svn://10.0.0.236/trunk@76086 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 03:44:49 +00:00
danm%netscape.com
b399772bf1 adding ability to open a browser without scrollbars (window.open(...scrollbars=no)) bug 28193
git-svn-id: svn://10.0.0.236/trunk@76085 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 03:43:44 +00:00
cmanske%netscape.com
28dc46ae74 More editor UI bug fixes: 47653, 47688, 47693, 47687. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@76083 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 03:20:47 +00:00
jtaylor%netscape.com
0a53eb51a1 Fixes bug #45877. r=mstoltz.
git-svn-id: svn://10.0.0.236/trunk@76081 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 03:11:24 +00:00
cmanske%netscape.com
21c98fdd2d Added more space above text for toolbar buttons. Part of 46423. r=hangas
git-svn-id: svn://10.0.0.236/trunk@76078 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 03:08:38 +00:00
wtc%netscape.com
56520691f3 Use real sockets in the poll desc array as opposed to NULL. Some
platforms seem to have problem polling on an array of -1's.


git-svn-id: svn://10.0.0.236/trunk@76077 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 03:00:45 +00:00
mccabe%netscape.com
9f72f530f8 Back in backed-out fix.
git-svn-id: svn://10.0.0.236/trunk@76076 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 02:58:30 +00:00
jtaylor%netscape.com
97722abc48 Fixes bug #41571. r=mstoltz.
git-svn-id: svn://10.0.0.236/trunk@76075 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 02:46:47 +00:00
saari%netscape.com
d94289754b Fix for leaks. Bug 48126 r=dbaron, hyatt
git-svn-id: svn://10.0.0.236/trunk@76074 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 02:11:53 +00:00
nelsonb%netscape.com
adc94749ec Change mp_add and mp_sub to not allocate a temporary variable unless it's
really necessary.


git-svn-id: svn://10.0.0.236/trunk@76073 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 01:58:20 +00:00
anthonyd%netscape.com
76985c2924 fix for bug# 48472 (dogfood bug)
r: mjudge
a: beppe


git-svn-id: svn://10.0.0.236/trunk@76072 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 01:36:28 +00:00
despotdaemon%netscape.com
92120402dc Pseudo-automatic update of changes made by rcassin@supernova.org.
git-svn-id: svn://10.0.0.236/trunk@76071 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 01:35:41 +00:00
wtc%netscape.com
9575d94c34 Updated for 4.1 release.
git-svn-id: svn://10.0.0.236/trunk@76070 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 01:34:31 +00:00
putterman%netscape.com
c03194eab2 Fix for bugs 46973. Select all now selects all messages in threaded mode. Fix for 20375. Expand/Collapse All in threaded mode.
r=alecf.


git-svn-id: svn://10.0.0.236/trunk@76069 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 01:14:59 +00:00
wtc%netscape.com
b716fed993 Moved prgcleak.c from mozilla/nsprpub/pr/src/md/mac/prgcleak.c.
git-svn-id: svn://10.0.0.236/trunk@76066 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 01:02:37 +00:00
wtc%netscape.com
6efa917951 Bugzilla bug #30746: backed out the PR_SetConcurrency(2) workaround
because it introduced other problems.


git-svn-id: svn://10.0.0.236/trunk@76065 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:57:50 +00:00
scc%mozilla.org
2d8a21877e Bug #47244. patch from sean@beatnik.com; thanks sean! r=scc, a=waterson
git-svn-id: svn://10.0.0.236/trunk@76064 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:55:59 +00:00
warren%netscape.com
03c2e00d03 Fixed bustage for chrome:: rule
git-svn-id: svn://10.0.0.236/trunk@76063 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:47:03 +00:00
scc%mozilla.org
12978905ce bug #48464. explicitly picking my own or the auto-generated function, in particular |operator=|. r={vidur, waterson}, a=vidur
git-svn-id: svn://10.0.0.236/trunk@76062 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:42:41 +00:00
pinkerton%netscape.com
84a5d0af08 another great patch from dean, with a honker of a comment explaining what is going on from me. we need to check more than one level down to see if we should move the selected item back to |mTimerMenu| when the selection timer fires. fixes bug 29400. yay!!!! r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@76061 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:37:59 +00:00
kestes%staff.mail.com
8a0029f728 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@76060 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:35:25 +00:00
law%netscape.com
c4e4c6b6af Bug 17524; add 'Bookmark this Link' context menu choice; r=slamm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76059 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:31:52 +00:00
jelwell%netscape.com
12242a3aae Fixing bugscape bug 830, Address Book was calling CallSaveListeners before the abURI was created. r=alecf
git-svn-id: svn://10.0.0.236/trunk@76058 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:29:14 +00:00
kestes%staff.mail.com
030babe66c *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@76057 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:27:27 +00:00
despotdaemon%netscape.com
25de771aa3 Pseudo-automatic update of changes made by shannond@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@76056 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:26:50 +00:00
leaf%mozilla.org
0c9f2d461f Automated update
git-svn-id: svn://10.0.0.236/trunk@76055 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:15:09 +00:00
warren%netscape.com
cce592f105 Getting gc leak-detector to work on linux. Non-nspr changes. code=beard,wade r=warren
git-svn-id: svn://10.0.0.236/trunk@76054 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:13:39 +00:00
alecf%netscape.com
a420cb67b7 fix for 44714 - remove ignore/watch thread (easy fix, no review)
git-svn-id: svn://10.0.0.236/trunk@76053 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:10:18 +00:00
hyatt%netscape.com
f43472dc93 Fix for 47081. r=ben
git-svn-id: svn://10.0.0.236/trunk@76052 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:05:49 +00:00
cmanske%netscape.com
63f196955b Attempt to fix plain text messenger composer bug 48474, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@76051 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 00:02:43 +00:00
despotdaemon%netscape.com
1b54a8b219 Pseudo-automatic update of changes made by tao@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@76050 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:55:08 +00:00
warren%netscape.com
f55b1908f9 Preparing for jar packaging. Added warning.
git-svn-id: svn://10.0.0.236/trunk@76049 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:52:29 +00:00
sgehani%netscape.com
003ac640b8 For Unix, create component.reg in cwd, not the specified program dir.
[nsbeta3+ b=47721; r=dveditz]


git-svn-id: svn://10.0.0.236/trunk@76048 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:50:32 +00:00
despotdaemon%netscape.com
81705af534 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@76047 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:46:46 +00:00
despotdaemon%netscape.com
bb29fcebb0 Pseudo-automatic update of changes made by jelwell@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@76046 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:41:53 +00:00
mccabe%netscape.com
19434bb257 Backout until I can figure out why mac doesn't like strlen here, even though it seems OK elsewhere.
git-svn-id: svn://10.0.0.236/trunk@76045 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:32:03 +00:00
mcafee%netscape.com
ba775a0587 Splitting cookies/images pref pane into two separate panes (40888). r=ben
git-svn-id: svn://10.0.0.236/trunk@76044 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:27:21 +00:00
warren%netscape.com
6940a6f6a6 Fixed formatting of output so that things line up again.
git-svn-id: svn://10.0.0.236/trunk@76043 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:20:07 +00:00
pchen%netscape.com
ee724d936a bug 42854, r = ben, checking patch from gemal@gemal.dk to change download progress dialog to not have OK button
git-svn-id: svn://10.0.0.236/trunk@76042 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:13:33 +00:00
alecf%netscape.com
d3002525ff fix for #35803 - call the onload handler so that the page is re-initialized too
r=putterman


git-svn-id: svn://10.0.0.236/trunk@76038 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:09:26 +00:00
mcafee%netscape.com
921f818977 Removing wallet from makefiles, fixes solaris bustage. r=Daa
git-svn-id: svn://10.0.0.236/trunk@76037 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:04:33 +00:00
attinasi%netscape.com
e7b5464ded Text with 'whitespace:nowrap' no longer uses special Win32-only text measurement code becasue it didn't work. b=42832 r=waterson
git-svn-id: svn://10.0.0.236/trunk@76036 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:03:11 +00:00
mccabe%netscape.com
e147d2735e Fix to 46566.
Always copy the current line string out of the token buffer when generating an error report, rather than just passing the token buffer itself.  The token buffer wasn't necessarily a well-terminated string, so displaying the contents of the string in the error report produced unexpected results.

The unicode string in the error report is owned by a JSString; this string is rooted for the (stack-based) lifetime of the error report.

Fix courtesy jband.

r=mccabe
a=beard


git-svn-id: svn://10.0.0.236/trunk@76035 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:02:39 +00:00
mccabe%netscape.com
fa87396bba Fix to 34425 -
Always create an error report, even when there is no current stack frame and it might be empty.  This fixes an API regression; we used to allow JS_ReportError to be called from the API when no JavaScript was running.

r=rogerl
a=beard


git-svn-id: svn://10.0.0.236/trunk@76034 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:57:40 +00:00
mscott%netscape.com
500fe3c2d7 Bug #44161, 44160 --> get the correct prompt object for the current window instead
of using the one attached to the hidden window. We used to get it from the compose
docshell but when you send the message, that window is actually gone. We should
parent the alerts off of an underlying mail window...
r=ducarroz


git-svn-id: svn://10.0.0.236/trunk@76033 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:56:29 +00:00
mccabe%netscape.com
2d6aa46deb Fix to 47409 -
Don't use timezone comment in javascript Date object toString string if it looks like it might not be ASCII.

a,r=beard


git-svn-id: svn://10.0.0.236/trunk@76032 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:54:45 +00:00
mscott%netscape.com
01970ef5f8 Bug #44161 --> remove reference to m_docshell which we don't need now.
r=ducarroz


git-svn-id: svn://10.0.0.236/trunk@76031 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:54:37 +00:00
ruslan%netscape.com
fc6cf6f5c0 Fix 46496, r/a=gagan
git-svn-id: svn://10.0.0.236/trunk@76030 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:38:56 +00:00
ducarroz%netscape.com
d26c7cb6c3 Fix for bug 27170. Remove option UUencode for attachment. R=mscott
git-svn-id: svn://10.0.0.236/trunk@76029 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:29:44 +00:00
ducarroz%netscape.com
f0b066fa51 Fix for bug 47361. Don't access direclty the buffer of a nsAutoCString, it might not be in sync with the content of the string itself. R=bienvenu,mscott
git-svn-id: svn://10.0.0.236/trunk@76028 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:27:09 +00:00
gagan%netscape.com
793935f471 Fix for bugscape 1800. Offline mode would have sit in recursion. This was already fixed for the M17 branch just doing the same for the tip.
git-svn-id: svn://10.0.0.236/trunk@76027 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:11:13 +00:00
despotdaemon%netscape.com
b48c7f59b4 Pseudo-automatic update of changes made by kestes@staff.mail.com.
git-svn-id: svn://10.0.0.236/trunk@76026 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:10:34 +00:00
heikki%netscape.com
dd53ea068d Trivial, bug 41772, we were not setting the return value in all cases for HandleEventInternal. r=jst.
git-svn-id: svn://10.0.0.236/trunk@76025 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:07:33 +00:00
alecf%netscape.com
d733d093e5 fix for #43484 - sort the account manager and folder pane according to spec
r=putterman


git-svn-id: svn://10.0.0.236/trunk@76024 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:02:52 +00:00
despotdaemon%netscape.com
7d3efcc20e Pseudo-automatic update of changes made by mitesh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@76022 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 21:52:39 +00:00
nelsonb%netscape.com
d6d04f83c1 Replace s_mp_ispow2d with faster version. Change s_mp_mul_d to detect
multiplication by 0, 1, and powers of 2, and handle them without actual
multiplication.


git-svn-id: svn://10.0.0.236/trunk@76020 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 21:43:16 +00:00
edburns%acm.org
1f01dae006 a=edburns
r=ashuk
bug=47357
M classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M src_moz/CBrowserContainer.cpp
M src_moz/NativeEventThread.cpp
M src_moz/ns_util.cpp
M src_moz/ns_util.h
M src_share/jni_util.cpp
M src_share/jni_util.h

tar -cvf 47357.2.tar classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java src_moz/CBrowserContainer.cpp src_moz/NativeEventThread.cpp src_moz/ns_util.cpp src_moz/ns_util.h src_share/jni_util.cpp src_share/jni_util.h

cvs diff -u classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java src_moz/CBrowserContainer.cpp src_moz/NativeEventThread.cpp src_moz/ns_util.cpp src_moz/ns_util.h src_share/jni_util.cpp src_share/jni_util.h

This change modifes what one has to do on the native side to add a
listener.

 * How to create a new listener type on the native side: <P>

 * 1. add an entry in the gSupportedListenerInterfaces array defined in
 * ns_util.cpp <P>

 * 2. add a corresponding entry in the LISTENER_CLASSES enum in
 * ns_util.h <P>

 * 3. add a jstring to the string constant list in
 * CBrowserContainer.cpp, below.

 * 4. Initialize this jstring constant in CBrowserContainer.cpp
 * initStringConstants() <P>

 * 5. add an entry to the switch statement in NativeEventThread.cpp
 * native{add,remove}Listener <P>

You have to clobber_all in webclient after this change.


git-svn-id: svn://10.0.0.236/trunk@76019 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 21:38:52 +00:00
wtc%netscape.com
3064c5d83d Added comments to explain the format of the PR_VERSION string.
Set version number to 4.1 Beta.


git-svn-id: svn://10.0.0.236/trunk@76018 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 21:19:17 +00:00
sgehani%netscape.com
f3dce67713 Make license box non-editable.
[nsbeta3+ bugscape b=1939; r=syd]


git-svn-id: svn://10.0.0.236/trunk@76017 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:19:20 +00:00
heikki%netscape.com
5ff983885a Fixed bug 41772, if XLink target was XML file it never opened it in new window. r=jst.
git-svn-id: svn://10.0.0.236/trunk@76016 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:18:49 +00:00
mkaply%us.ibm.com
7a9808d5bf Accidentally checked in branch file on trunk
git-svn-id: svn://10.0.0.236/trunk@76015 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:18:25 +00:00
rayw%netscape.com
b02b43d396 Changed case of nsIFactory.idl methods to start with lower case to be like other
interfaces.  Since the C++ generated code upper-cases the method names, this
affects no C++ code, but only a few javascript methods.

Bug 46771.

r=waterson.

I am in today and tomorrow.


git-svn-id: svn://10.0.0.236/trunk@76014 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:12:08 +00:00
dbaron%fas.harvard.edu
5c4eea6dd3 Fix huge leak warren introduced last night. Changing the hash keys to have owning pointers caused circular ownership. r=waterson b=48373 (nsbeta3+)
git-svn-id: svn://10.0.0.236/trunk@76013 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:08:30 +00:00
ducarroz%netscape.com
65d7e22843 Fix for bug 43441 & bug 32598. Fix various problems with message compose prefs panel. R=varada
git-svn-id: svn://10.0.0.236/trunk@76012 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:03:54 +00:00
mkaply%us.ibm.com
0388cc5888 Initial branch Bidi checkin
git-svn-id: svn://10.0.0.236/trunk@76011 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:01:52 +00:00
ducarroz%netscape.com
89d7e91181 Fix for bug 32598. Re-arrange the frame to be sure it fit (UI change approuved by jglick). R=varada
git-svn-id: svn://10.0.0.236/trunk@76010 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 19:56:56 +00:00
jgaunt%netscape.com
d0c9dbc365 a=blizzard@redhat.com r=jgaunt@netscape.com
fixing hp bustage


git-svn-id: svn://10.0.0.236/trunk@76009 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 19:55:25 +00:00
sgehani%netscape.com
9f8f3d16fc Merge M17 branch fix for nsbeta2+ bugscape bug 1895: get rid of error 340 in
Mac installer during XPCOM autoreg by delaying so fragment registry has time
to update newly extracted shlbs.

[branch fix r=dveditz; a=pdt]


git-svn-id: svn://10.0.0.236/trunk@76005 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 19:05:19 +00:00
despotdaemon%netscape.com
8f76cd0e1a Pseudo-automatic update of changes made by briane@qnx.com.
git-svn-id: svn://10.0.0.236/trunk@76002 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 18:35:41 +00:00
despotdaemon%netscape.com
50be60b3f8 Pseudo-automatic update of changes made by dinglis@qnx.com.
git-svn-id: svn://10.0.0.236/trunk@75997 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 13:51:35 +00:00
mcafee%netscape.com
a8f84a1b6f More double-space lossage, whitespace change only.
git-svn-id: svn://10.0.0.236/trunk@75996 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 08:16:40 +00:00
valeski%netscape.com
6bc3545fcb fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@75995 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:59:50 +00:00
cmanske%netscape.com
78c3f83d86 Simplified background image UI in Colors and Background dialog, b=47693, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@75994 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:31:52 +00:00
warren%netscape.com
b86de5d4dc Fixed nsStringKey -> nsCStringKey problem
git-svn-id: svn://10.0.0.236/trunk@75993 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:28:01 +00:00
mcafee%netscape.com
6a25660d7f Ignore gnerated files.
git-svn-id: svn://10.0.0.236/trunk@75992 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:25:12 +00:00
mcafee%netscape.com
80bdc83a00 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@75991 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:24:02 +00:00
warren%netscape.com
2950542cad Fixed nsStringKey problems due to hashtable changes.
git-svn-id: svn://10.0.0.236/trunk@75990 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:10:42 +00:00
cmanske%netscape.com
189a5f3e9f Fixed layout in Colors and Background dialog, b=47693, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@75989 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:08:07 +00:00
mcafee%netscape.com
73706e3a54 Backing out reorder, to match valeski's backout
git-svn-id: svn://10.0.0.236/trunk@75988 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:07:13 +00:00
valeski%netscape.com
903a9804f4 backing out
git-svn-id: svn://10.0.0.236/trunk@75987 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:06:21 +00:00
warren%netscape.com
ee959ee62f Fixed warnings.
git-svn-id: svn://10.0.0.236/trunk@75986 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:05:13 +00:00
valeski%netscape.com
057df7f19b re-ordering so clobber builds are ok
git-svn-id: svn://10.0.0.236/trunk@75985 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:01:40 +00:00
alecf%netscape.com
57ac3904d4 fix for #39016 r=mscott
make more strings localization friendly, and use formatStringFromName where appropriate


git-svn-id: svn://10.0.0.236/trunk@75984 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 07:00:16 +00:00
cmanske%netscape.com
86437dac18 Fixed tooltip in Colors and Background dialog, b=47693, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@75983 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:54:03 +00:00
valeski%netscape.com
e270f6cf85 backing out
git-svn-id: svn://10.0.0.236/trunk@75982 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:51:30 +00:00
valeski%netscape.com
3ae56dd890 backing out
git-svn-id: svn://10.0.0.236/trunk@75981 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:46:00 +00:00
cmanske%netscape.com
f46c8c5393 Tweaked Insert Table dialog, b=47688, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@75980 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:44:59 +00:00
mcafee%netscape.com
df6a56ce21 Moving embedding directory to follow xpfe, dependency on xpfelocation_s.a was introduced by embedding tonight. Component ? or better solution? Fixes linux bustage. a=syd
git-svn-id: svn://10.0.0.236/trunk@75979 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:43:05 +00:00
scc%mozilla.org
e98f6c2c7c fixes needed to get multi-fragment strings working; r|a=waterson
git-svn-id: svn://10.0.0.236/trunk@75978 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:36:54 +00:00
warren%netscape.com
fac6eb1451 Fixed nscom.h -> nsCom.h
git-svn-id: svn://10.0.0.236/trunk@75977 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:35:34 +00:00
morse%netscape.com
0b19dc7209 fix bug 48241, crash when visiting url
git-svn-id: svn://10.0.0.236/trunk@75976 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:34:24 +00:00
warren%netscape.com
e5706a7236 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
conrad%ingress.com
0a2d2db689 Fixed double line feed problem.
git-svn-id: svn://10.0.0.236/trunk@75974 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:06:02 +00:00
valeski%netscape.com
be3eff76db fixing windows hatred of goto inits
git-svn-id: svn://10.0.0.236/trunk@75973 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 05:23:05 +00:00
mcafee%netscape.com
14d36bbdb1 Fixing unix bustage.
git-svn-id: svn://10.0.0.236/trunk@75972 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 05:14:54 +00:00
mcafee%netscape.com
93d264db2f Adding nsDirectoryServiceDefs.h, fixing whitespace problems. This would have become linux bustage later.
git-svn-id: svn://10.0.0.236/trunk@75971 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 04:53:37 +00:00
conrad%ingress.com
39dbfd4b1a Changed strings to use macros
Fixed FindWinFolder which was not doing anything.


git-svn-id: svn://10.0.0.236/trunk@75970 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 04:39:30 +00:00
conrad%ingress.com
ffac91d169 Added nsDirectoryServiceDefs.h
git-svn-id: svn://10.0.0.236/trunk@75969 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 04:37:43 +00:00
conrad%ingress.com
3c685a3da5 Added the building of appfilelocationprovider lib.
r=sfraser


git-svn-id: svn://10.0.0.236/trunk@75968 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 04:36:59 +00:00
mcafee%netscape.com
d33428150e Reverting conrads change, accidentally double-spaced entire file.
git-svn-id: svn://10.0.0.236/trunk@75967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 04:29:05 +00:00
conrad%ingress.com
8792af6e42 Export of nsDirectoryServiceDefs.h
r=valeski


git-svn-id: svn://10.0.0.236/trunk@75966 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 04:12:16 +00:00
conrad%ingress.com
4cbe746cf8 Export of defs header file.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@75965 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 04:11:15 +00:00
conrad%ingress.com
4f099f2db5 Added appfilelocprovider lib, shell32 lib
r=valeski


git-svn-id: svn://10.0.0.236/trunk@75964 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 04:10:24 +00:00
conrad%ingress.com
1ebc1b19fb First checkin.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@75963 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 04:03:52 +00:00
conrad%ingress.com
10b518db79 First checkin.
git-svn-id: svn://10.0.0.236/trunk@75962 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 04:02:25 +00:00
mscott%netscape.com
007f8e73f7 Backing out mstoltz's earlier checkin to bring mailnews back to life.
a=mcafee


git-svn-id: svn://10.0.0.236/trunk@75961 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:57:43 +00:00
valeski%netscape.com
764b5a125b fixing windows linkage problems
git-svn-id: svn://10.0.0.236/trunk@75960 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:50:12 +00:00
cmanske%netscape.com
f3cfdd30aa Big UI fix checkin continued - same bugs as last checkin. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@75959 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:43:09 +00:00
conrad%ingress.com
ed5327cc88 Changed params to NS_InitEmbedding.
git-svn-id: svn://10.0.0.236/trunk@75958 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:43:06 +00:00
mkaply%us.ibm.com
a9a603ea20 r=waterson, a=waterson
OS/2 and AIX tinderbox break - shouldn't NS_IF_ADDREF a member in a const function


git-svn-id: svn://10.0.0.236/trunk@75957 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:39:05 +00:00
valeski%netscape.com
62a9983d74 fixing build bustage on linux
git-svn-id: svn://10.0.0.236/trunk@75956 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:37:36 +00:00
valeski%netscape.com
b6e04fc6fa fixing bustage
git-svn-id: svn://10.0.0.236/trunk@75955 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:29:50 +00:00
valeski%netscape.com
7e2825ed28 checking in for conrad to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@75954 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:27:21 +00:00
valeski%netscape.com
3738c48369 temp fix for build problem
git-svn-id: svn://10.0.0.236/trunk@75953 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:15:57 +00:00
brendan%mozilla.org
36587fa68b Fix cut-and-paste bugs in JavaMember_finalize (48304, r=pschwartau).
git-svn-id: svn://10.0.0.236/trunk@75952 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:09:41 +00:00
conrad%ingress.com
0ae5e8b681 Added implementation of nsIDirectoryServiceProvider.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@75951 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:08:39 +00:00
conrad%ingress.com
dd41a9d6cc 1. Uses appfilelocationprovider. Can pass one in or pass nsnull and default is made.
2. Removed version of NS_InitEmbedding which took char* path.
r=dougt


git-svn-id: svn://10.0.0.236/trunk@75950 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:07:25 +00:00
wtc%netscape.com
a08d1fb996 Bugzilla bug #34920: fixed a bug in PR_EmulateAcceptRead that depended
on the implementation of an enum.


git-svn-id: svn://10.0.0.236/trunk@75949 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 02:40:12 +00:00
rhp%netscape.com
186f953f67 Fix for Japanese text being corrupted in Forward Inline - Bug #: 48118 - r: mscott
git-svn-id: svn://10.0.0.236/trunk@75948 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 02:28:26 +00:00
dmose%mozilla.org
d2fb313f29 Changed nsLDAPConnection to execute the nsILDAPMessageListener callbacks directly rather than through an nsISupports proxy, meaning that the default is for them to execute on the nsLDAPConnection thread. Callers can still create a proxy manually and pass it in, if desired. Changed the datasource and channel objects to run correctly on the nsLDAPConnection thread, in the hopes that this would help avoid UI stalls. On Linux, at least, this didn't make any perceptible improvement, but it still is probably a good thing, and may help once more event system loving gets checked in. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75947 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 02:13:21 +00:00
cmanske%netscape.com
838e3690e4 Changed images for editmode toolbar, part of bug 47515. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@75945 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 02:11:00 +00:00
cmanske%netscape.com
4483c01929 Big UI fix! bugs=47898, 26843, 26871, 37152, 38944, 41545, 42246, 42343, 43089, 45463, 45904, 46001, 47644, 47314, 47510, 47515, 47622, 47650, 47653, 47699, 47700, 46179, 47696, 47693. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@75944 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 02:10:17 +00:00
mscott%netscape.com
9008e92d31 Bug #46086 --> can't read forwarded messages in 4.x because we are setting
a bogus content type on the news article (when it's forwarded as an attachment)
Bug #48135 --> fix forwarding of news messages bustage. Clear the channel listener
and re-generate it every time we load a url.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@75943 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 02:09:33 +00:00
mscott%netscape.com
1deb252a2f Bug #48078, 48081 --> bring up save to disk dialog right away from the helper app dialog instead of
waiting till the download is finished.
properly implement Cancel so we stop the download and clean up the temp file.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@75942 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 01:49:06 +00:00
edburns%acm.org
1cf629674f First checkin of Webclient/IE
git-svn-id: svn://10.0.0.236/trunk@75941 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 01:33:35 +00:00
edburns%acm.org
3395507383 Make it so the jni headers are built in src_share.
git-svn-id: svn://10.0.0.236/trunk@75940 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 01:08:14 +00:00
syd%netscape.com
4b2f05254e partial fix for 1611. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@75939 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 01:04:50 +00:00
despotdaemon%netscape.com
59c052f2cd Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@75938 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 01:03:05 +00:00
edburns%acm.org
287ea4cd13 Make it so the jni headers are built in src_share.
git-svn-id: svn://10.0.0.236/trunk@75937 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 01:02:57 +00:00
anthonyd%netscape.com
902ff13a56 bug fix for 47399
dropping a drag session onto the originating selection
should do nothing.
r: mjudge, jfrancis


git-svn-id: svn://10.0.0.236/trunk@75936 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 01:01:18 +00:00
dr%netscape.com
2c783e6d18 one-line fix for 46658, r=ben
git-svn-id: svn://10.0.0.236/trunk@75935 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 00:52:02 +00:00
scc%mozilla.org
a8fa84f5e5 not part of the build; further work on multi-fragment strings. They are now limping along and can actually be used. They pass all tests not related to |Substring| and |nsPromiseConcatenation|.
git-svn-id: svn://10.0.0.236/trunk@75934 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 00:45:33 +00:00
mscott%netscape.com
3472eb5a1a fix mac breakage...can't use NS_LITERAL_STRING on a const char * on the mac
git-svn-id: svn://10.0.0.236/trunk@75933 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 00:42:19 +00:00
wtc%netscape.com
549a789d96 Bugzilla bug #39942: additional tweaks related to the thread-private
error string buffer.
Modified files: prerror.c, prcthr.c, pruthr.c


git-svn-id: svn://10.0.0.236/trunk@75932 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 00:34:11 +00:00
mccabe%netscape.com
a14775fa94 Cast some parameters to PRUnichar * from jschar * to make the Mac happy.
git-svn-id: svn://10.0.0.236/trunk@75931 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 23:42:24 +00:00
nbhatla%netscape.com
d751a557bc #46519 -> Mac Classic Skin Polish. Finally added Mac-like tab widgets by modifying XBL and CSS. Also added new IE 5 icons for imported bookmarks, as well as fixing splitter grippy icon state changes. r=andreww
git-svn-id: svn://10.0.0.236/trunk@75930 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 23:42:18 +00:00
nbhatla%netscape.com
a169511bd5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@75929 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 23:30:14 +00:00
dr%netscape.com
c7cdd4e462 fix for windows horkage, shouldn't be in there anyway
git-svn-id: svn://10.0.0.236/trunk@75928 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 23:27:54 +00:00
nbhatla%netscape.com
524cc014d1 #46518 -> Mac Classic Skin Polish. #46178 -> search editor now has arrow buttons. r=andreww
git-svn-id: svn://10.0.0.236/trunk@75927 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 23:18:30 +00:00
nbhatla%netscape.com
df953c747d #46519 -> Mac Classic Skin Fixes. Pulls out in-line style from XUL for #47680. r=andreww
git-svn-id: svn://10.0.0.236/trunk@75926 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 23:14:02 +00:00
mccabe%netscape.com
6bc1090e99 Fix to 24688. Post a message to the JavaScript console whenever a call is made through XPConnect to a JS Component or other JS object that results in an exception.
Also eliminate xpcJSErrorReport and merge some functionality from it into nsScriptError.

r=jband,a=beard


git-svn-id: svn://10.0.0.236/trunk@75925 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:48:52 +00:00
varada%netscape.com
362f545a76 fix for bug#31549;showing prettyname with identity in msgcompose;r=ducaroz
git-svn-id: svn://10.0.0.236/trunk@75924 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:48:29 +00:00
saari%netscape.com
51e147ef41 Removing nsToolboxFrame.cpp, nsToolbarFrame.cpp, and nsToolBarDragListener.cpp from layout.mcp to keep in sync with dr's changes.
git-svn-id: svn://10.0.0.236/trunk@75923 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:47:32 +00:00
nelsonb%netscape.com
9eeb24807a Eliminate one more warning. Add missing f suffix to float constant.
git-svn-id: svn://10.0.0.236/trunk@75922 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:45:51 +00:00
mjudge%netscape.com
dac8dfc28f use "=" not "==" my bad
git-svn-id: svn://10.0.0.236/trunk@75921 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:43:39 +00:00
radha%netscape.com
c78435dbe9 Fix for bug # 47856. Patch from disttsc@bart.nl r=myself
git-svn-id: svn://10.0.0.236/trunk@75920 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:43:36 +00:00
varada%netscape.com
d498216323 fix for bug#31549;show server pretty name along with identity in mail compose window;r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@75919 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:40:28 +00:00
dr%netscape.com
eec71e3b36 fix for 42635 and related cleanup, r=ben,hyatt
git-svn-id: svn://10.0.0.236/trunk@75918 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:38:46 +00:00
mjudge%netscape.com
533f7943c6 43533 table cell selection color fix. check for table cells/table being added to range and toggle flag to allow cells to draw correctly
git-svn-id: svn://10.0.0.236/trunk@75917 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:34:17 +00:00
mscott%netscape.com
f6f4368368 Bug #44163 --> FEAlert and FEAlertFromServer need a message window and with that message window
we should get the correct nsIPrompt object instead of using the one tied to the hidden window.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@75916 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:33:14 +00:00
mjudge%netscape.com
e5571b2bdf 29570 37393 42794 mac os fix for selecting out of frame bounds.
git-svn-id: svn://10.0.0.236/trunk@75915 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:33:03 +00:00
mscott%netscape.com
5139d46ef4 Bug #44163 --> FEAlert and FEAlertFromServer need a message window
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@75914 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:32:45 +00:00
harishd%netscape.com
c75a8a89fb 36944 - USe NS_VMREFRESH_NO_SYNC to refresh
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75913 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:30:36 +00:00
harishd%netscape.com
12ebb61ff1 42429 - Pass whitespace, inside table, to the sink.
44178 - Enabled SERVER tag
43005 - Made HR a block element per spec.
43499 - Made XML document with .txt extension to be rendered as plain text
45437 - Enabled META charset notification in strict DTD.

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@75912 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:28:41 +00:00
pinkerton%netscape.com
f14fd156e7 Rewrote drag scrolling to not use timers and thus avoid all problems about not being able to unregister the timer. Fixes bug 43428.
git-svn-id: svn://10.0.0.236/trunk@75911 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:08:49 +00:00
wtc%netscape.com
8b81966e6d Bugzilla bug #48245: removed the -mno-486 compiler flag.
Modified files: FreeBSD2.mk, Linux.mk
This bug was reported by Steven T. Hatton <hattons@bellatlantic.net>.


git-svn-id: svn://10.0.0.236/trunk@75910 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 21:53:45 +00:00
edburns%acm.org
60bfaf0127 bug=48227
author=edburns
a=edburns
r=ashuk

Files in this fix:

M classes_spec/org/mozilla/webclient/wrapper_native/EventRegistrationImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
A classes_spec/org/mozilla/webclient/wrapper_native/WCEventListenerWrapper.java
M src_moz/NativeEventThread.cpp
M src_moz/motif/NativeLoaderStub.cpp

Added class WCEventListenerWrapper:

 * This class allows the custom app to have one instance that implements
 * multiple Webclient event listener types. <P>

 * This is simply a "struct" type class that encapsulates a listener
 * instance with its class name.  This is necessary because the class
 * name is lost when we deal with the listener as a
 * WebclientEventListener, and not a WebclientEventListener subclass. <P>

 * @see org.mozilla.webclient.wrapper_native.NativeEventThread#addListener

Made it so when a java listener is added,

 * We create a WCEventListenerWrapper containing the user passed
 * DocumentLoadListener, and the string obtained from
 * DocumentLoadListener.class.getName();

We then call nativeEventThread.addListener:

 * Takes the abstract WebclientEventListener instance and adds it to a
 * Vector of listeners to be added.  This vector is scanned each time
 * around the event loop in run(). <P>

 * The vector is a vector of WCEventListenerWrapper instances.  In run()
 * these are unpacked and sent to nativeAddListener like this:
 * nativeAddListener(nativeWebShell,tempListener.listener,
 * tempListener.listenerClassName); <P>


git-svn-id: svn://10.0.0.236/trunk@75909 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 21:47:39 +00:00
rogerl%netscape.com
ccc73deb34 r,a=brendan@mozilla.org. Adding missing ECMA3 compliance toLocaleXXX
functions to built-in Array, Date and Object object prototypes.


git-svn-id: svn://10.0.0.236/trunk@75908 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 21:46:03 +00:00
larryh%netscape.com
96a76ac15a remove priotest. The test is not valid
git-svn-id: svn://10.0.0.236/trunk@75907 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 21:42:35 +00:00
dougt%netscape.com
c169f23f6c modified buffer while commiting.
fixing bustage.


git-svn-id: svn://10.0.0.236/trunk@75906 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 21:15:09 +00:00
dougt%netscape.com
8b2bb50369 Name Changes from GetPrompt to GetPrompter (47889)
git-svn-id: svn://10.0.0.236/trunk@75905 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 21:13:54 +00:00
dougt%netscape.com
33a8ac965d Renaming GetPrompt() to GetPrompter in nsIDOMWindow. This avoids a namespace
r=vidur@netscape.com (47889)


git-svn-id: svn://10.0.0.236/trunk@75904 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 21:12:21 +00:00
nelsonb%netscape.com
e66e41e5b2 - Change mp_mul to minimize number of outer loops when multipliers are
of unequal length.
- Fix s_mp_fixup_reciprocal to not truncate the result.
- Use new macros in mpi-priv.h


git-svn-id: svn://10.0.0.236/trunk@75903 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:55:39 +00:00
nelsonb%netscape.com
8f5ab67fa5 Use new MP_HOWMANY macro instead of equivalent code.
git-svn-id: svn://10.0.0.236/trunk@75902 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:53:25 +00:00
dave%intrec.com
b38449a603 Re-fixing bug 46897. Thanks to JRobertson@medevolve.com for catching the
omission in the original patch.


git-svn-id: svn://10.0.0.236/trunk@75901 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:49:11 +00:00
nelsonb%netscape.com
7bfe64da6e Comment out call to unimplemented function, so this will compile.
git-svn-id: svn://10.0.0.236/trunk@75900 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:46:59 +00:00
dp%netscape.com
4905d9910d Perl script to analyze xpcom log output and print results in html
git-svn-id: svn://10.0.0.236/trunk@75899 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:45:24 +00:00
nelsonb%netscape.com
0daabe0bf1 Some unix platform kshells don't understand export VAR=value
So instead use                                VAR=value; export VAR


git-svn-id: svn://10.0.0.236/trunk@75898 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:44:05 +00:00
nelsonb%netscape.com
4b6092a8d7 Add new macros: MP_MIN, MP_MAX, MP_HOWMANY, MP_ROUNDUP.
git-svn-id: svn://10.0.0.236/trunk@75897 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:42:18 +00:00
nboyd%atg.com
1972514928 fix 47859
git-svn-id: svn://10.0.0.236/trunk@75896 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:23:50 +00:00
nboyd%atg.com
4d2963d28d Fix 47859
git-svn-id: svn://10.0.0.236/trunk@75895 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:22:37 +00:00
jtaylor%netscape.com
0351443d26 Fixes bugs 43427 and 46359. Provides clear button and error checking in JS
Console. r=ben. mccabe.


git-svn-id: svn://10.0.0.236/trunk@75894 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:18:38 +00:00
jtaylor%netscape.com
fc30ccdbe5 Add label for clear button re: bug# 43427. r=ben. mccabe
git-svn-id: svn://10.0.0.236/trunk@75893 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:16:50 +00:00
pavlov%netscape.com
bd5b488ba4 avoid calling XSetFont on every draw_text (hopefully) by using the GC cache correctly when drawing text and not calling gdk_draw_text directly. working on linux performance bug 26502. r=imot
git-svn-id: svn://10.0.0.236/trunk@75892 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:15:08 +00:00
despotdaemon%netscape.com
38cf207b54 Pseudo-automatic update of changes made by jgmyers@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75891 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:12:10 +00:00
mstoltz%netscape.com
e686efdeca Fixed 37702 and 47670. r=vidur
git-svn-id: svn://10.0.0.236/trunk@75890 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:08:54 +00:00
waterson%netscape.com
b03ddd8490 Bug 47927. Check in the wrong fix to get the tree open. a=granrose.
git-svn-id: svn://10.0.0.236/trunk@75887 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 19:30:14 +00:00
harishd%netscape.com
c3b1fbec56 I didn't cause the leak. Putting my changes back.
a=granrose


git-svn-id: svn://10.0.0.236/trunk@75886 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 17:49:18 +00:00
javi%netscape.com
7a1afca5e4 Don't call the callback function if one is not stored.
git-svn-id: svn://10.0.0.236/trunk@75885 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 17:17:42 +00:00
harishd%netscape.com
1f24ef20e9 Backing out my changes to see if the leak goes away
a=granrose


git-svn-id: svn://10.0.0.236/trunk@75884 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 16:42:20 +00:00
dcone%netscape.com
6d4959771e Taking out the change from yesterday that enables the PatBlt for tiling. Found problems so
I am pulling that change for now.


git-svn-id: svn://10.0.0.236/trunk@75883 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 14:07:55 +00:00
dbaron%fas.harvard.edu
3b9c9e465a Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+)
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +00:00
mozilla.BenB%bucksch.org
67fdd48504 47851: Remove unused pref. r=putterman, a=waterson
git-svn-id: svn://10.0.0.236/trunk@75881 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 09:45:52 +00:00
scc%mozilla.org
cdb44d875e better comments re: the formal specification of |SetCapacity|; jag's |ToInteger| patch as per bug #46898; r|a=waterson
git-svn-id: svn://10.0.0.236/trunk@75880 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 08:26:23 +00:00
scc%mozilla.org
cec3e96639 fixed |nsCharSinkTraits<T>::write| as per bug #46462; r=beard, a=waterson
git-svn-id: svn://10.0.0.236/trunk@75879 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 08:26:12 +00:00
scc%mozilla.org
98e7fedae2 fixed |BeginWriting| and |EndWriting| to no longer take an offset, fallout from the new multi-fragment string implementation; fixed a bug in |operator-=| exposed by the change to |EndWriting|; fixed |nsWritingIterator<CharT>::write| as per bug #46462; fixed comments galore, significantly better specifying |SetLength| and |SetCapacity|; since |SetCapacity| is just a hint, give it a default implementation rather than making it pure virtual; fixed a couple of the |do_...| routines to unify the code path minimizing overides; r|a=waterson
git-svn-id: svn://10.0.0.236/trunk@75878 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 08:26:08 +00:00
scc%mozilla.org
14a9f6633b fixed |BeginReading| and |EndReading| to no longer take an offset, fallout from the new multi-fragment string implementation; fixed a bug in |operator-=| exposed by the change to |EndReading|; fixed the |CharAt| family of routines accordingly; fixed comments galore; r|a=waterson
git-svn-id: svn://10.0.0.236/trunk@75877 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 08:26:00 +00:00
pinkerton%netscape.com
47269ea7b1 Remove Start/StopTracking methods.
git-svn-id: svn://10.0.0.236/trunk@75876 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 07:45:12 +00:00
pinkerton%netscape.com
162bb1938a Stop using dragtracker (bug 43428)
git-svn-id: svn://10.0.0.236/trunk@75875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 07:43:12 +00:00
pinkerton%netscape.com
505eabb83b Simplification of drag scrolling in trees. Don't try to use view manager to capture the mouse, just not worth it. Make drag area w/in the tree's view. (bug 43428).
git-svn-id: svn://10.0.0.236/trunk@75874 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 07:42:46 +00:00
pinkerton%netscape.com
a21d2ed2b2 Stop using dragTracker (bug 43428)
git-svn-id: svn://10.0.0.236/trunk@75873 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 07:41:31 +00:00
pinkerton%netscape.com
c77e714dae stop using dragTracker (bug 43428).
git-svn-id: svn://10.0.0.236/trunk@75872 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 07:40:54 +00:00
mozilla.BenB%bucksch.org
e2e6ed4a85 36480:
- Don't check for <div> around a sig
- Allow class to be quoted or be one of several
No bug:
- Don't output <div> for plaintext sigs (because 4.x' editor has a bug with <div>s inside <blockquote type=cite>s)
r=ducarroz
a=waterson


git-svn-id: svn://10.0.0.236/trunk@75871 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 07:27:14 +00:00
brendan%mozilla.org
e830c43305 Whitespace panty raid.
git-svn-id: svn://10.0.0.236/trunk@75870 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 06:20:13 +00:00
ben%netscape.com
9ebf63f099 fix for nsbeta3+ bug 41139, can select multiple radio buttons in a group by using the keyboard.
git-svn-id: svn://10.0.0.236/trunk@75869 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 05:47:46 +00:00
jst%netscape.com
6ffb8c8cef Turning on new DOM Level 2 behavior by default. (bug 48161). a=nisheeth@netscape.com, r=pollmann@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75868 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 05:31:28 +00:00
pavlov%netscape.com
7f37448436 additional removal of static nsCOMPtrs for bug 43580 r=scc
git-svn-id: svn://10.0.0.236/trunk@75867 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 05:28:45 +00:00
ben%netscape.com
5ecb03def2 fix for nsbeta3+ bug 41901, link image dragged from one window to another loads the image instead of the linked page.
also tidied up the html string returned in this case so that when dropped into composer, an image enclosed in a link
to the linked page is inserted.


git-svn-id: svn://10.0.0.236/trunk@75866 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 05:26:44 +00:00
pavlov%netscape.com
b0f48e963e avoid pulling the event out of the queue and putting it right back when typing.. working on linux performance bug 26502 r=beard
git-svn-id: svn://10.0.0.236/trunk@75865 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 05:16:17 +00:00
putterman%netscape.com
802a5474d2 Fix for 46208. Get rid of '?" before Reply To Sender in thread pane context menu.
patch by gemal@gemal.dk r=scottip.


git-svn-id: svn://10.0.0.236/trunk@75864 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 05:13:32 +00:00
ben%netscape.com
de5e53e215 nsbeta3+ 46284, crash after trying to install package via software installation pref panel. remove button (was there
for debugging purposes only)


git-svn-id: svn://10.0.0.236/trunk@75863 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 05:11:29 +00:00
ben%netscape.com
655d38db87 fix for nsbeta3+ bug 40877, 'secs' not localised in navigator.js
git-svn-id: svn://10.0.0.236/trunk@75862 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 05:10:01 +00:00
ben%netscape.com
c503c5ef62 fix for nsbeta3+ bug 40877, 'secs' is not localised in navigator.js
git-svn-id: svn://10.0.0.236/trunk@75861 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 05:09:45 +00:00
dmose%mozilla.org
2d5bf4dd91 adding .cvsignore files to stop cvs whining in non-OBJDIR builds. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75860 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 04:44:01 +00:00
dmose%mozilla.org
f97b0d8e85 A number of lines were not properly bracketed by DEBUG conditionals, causing non-DEBUG builds to fail. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75859 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 04:43:33 +00:00
brendan%mozilla.org
5c6a970327 Clear JS watchpoints on the window object before loading a new document (38959, r=mstoltz).
git-svn-id: svn://10.0.0.236/trunk@75858 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 03:30:46 +00:00
morse%netscape.com
e5f3e8b0a8 bug 48076, remove commonDialogs from wallet module, r=dougt
git-svn-id: svn://10.0.0.236/trunk@75857 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 03:27:32 +00:00
saari%netscape.com
ce8255995f hack part deux for testing for leak increase
git-svn-id: svn://10.0.0.236/trunk@75856 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:59:44 +00:00
blizzard%redhat.com
1e041a9cfc add some extra test cases for the embedding widget
git-svn-id: svn://10.0.0.236/trunk@75855 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:52:09 +00:00
scc%mozilla.org
2afa96eead not part of the build; further work on multi-fragment strings. Moved the bulk of the template implementation to the header file. This file needs to continue to exist for when I finally un-templatize the interfaces
git-svn-id: svn://10.0.0.236/trunk@75854 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:48:27 +00:00
scc%mozilla.org
fe25ceec15 not part of the build; further work on multi-fragment strings
git-svn-id: svn://10.0.0.236/trunk@75853 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:47:33 +00:00
blizzard%redhat.com
018c0630c5 warning fixes in gtkmozembed.h. fix for bug #46279. reparent the mozilla window to an offscreen window when unrealizing since you might get re-realized later. r=pavlov, a=waterson
git-svn-id: svn://10.0.0.236/trunk@75852 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:46:53 +00:00
brendan%mozilla.org
28cf8d024c Add TraceMallocLogTimestamp window method, for bloat storyboarding (#ifdef NS_TRACE_MALLOC, not part of build).
git-svn-id: svn://10.0.0.236/trunk@75851 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:43:09 +00:00
brendan%mozilla.org
3dfa5856af Add captioned timestamp events, for JS storyboarding (not part of build).
git-svn-id: svn://10.0.0.236/trunk@75850 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:41:58 +00:00
cmanske%netscape.com
dbfeb1cd72 Checking in for rcassin@supernova.org. Composer pref fixes, bug 47703, r=cmanske
git-svn-id: svn://10.0.0.236/trunk@75849 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:33:29 +00:00
mscott%netscape.com
ced2ee490a Bug #1642 --> don't run JS urls with the default browser (effects shrimp only)
r=prass


git-svn-id: svn://10.0.0.236/trunk@75848 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:30:58 +00:00
ben%netscape.com
94be5f8b8d adding reorder styles for nsbeta3+ bug 46516 to modern and mac classic skin
git-svn-id: svn://10.0.0.236/trunk@75847 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:26:45 +00:00
saari%netscape.com
585834ef4b temp hack to test theory for sudden increase in leaks
git-svn-id: svn://10.0.0.236/trunk@75846 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:25:51 +00:00
nbhatla%netscape.com
053f5cf498 #46519 -> Mac Classic Skin Fixes. This checkin specifically fixes the pref-languages panel, so that the reorder arrow buttons now appear properly on all platforms.
git-svn-id: svn://10.0.0.236/trunk@75845 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:25:43 +00:00
ftang%netscape.com
16e9ce78b8 fix 45347. swap the order for author and content-type to make the content-type
appear first in the meta tag since we need to know the encoding before hitting
non ASCII value in the author name. r=cmanske


git-svn-id: svn://10.0.0.236/trunk@75844 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:25:25 +00:00
cmanske%netscape.com
105a987da1 Checking in for rcassin@supernova.org. Composer pref string fixes, bug 47703, r=cmanske
git-svn-id: svn://10.0.0.236/trunk@75843 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:22:57 +00:00
ftang%netscape.com
12d44d4f28 fix 45347. do case insenstive comparesion for html attribute value
r=cmanske


git-svn-id: svn://10.0.0.236/trunk@75842 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 02:22:56 +00:00
bienvenu%netscape.com
ca155eaae5 fix freeing of uninitialized memory, prob result of trying to fix memory leaks, r=mscott
git-svn-id: svn://10.0.0.236/trunk@75840 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 01:32:20 +00:00
alecf%netscape.com
31646b2676 oops, forgot this file with a checkin earlier today
git-svn-id: svn://10.0.0.236/trunk@75839 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 01:17:19 +00:00
sfraser%netscape.com
607439019b More bustage fixing with style struct return types.
git-svn-id: svn://10.0.0.236/trunk@75838 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 00:52:02 +00:00
alecf%netscape.com
faebf440ab fix mac bustage by using AssignWithConversion
git-svn-id: svn://10.0.0.236/trunk@75837 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 00:38:01 +00:00
sfraser%netscape.com
572368546b Fix Windows compiler suckage. Fixes bustage.
git-svn-id: svn://10.0.0.236/trunk@75836 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 00:27:38 +00:00
tao%netscape.com
99e0bfce16 Lacalizable accesskey fix. (check in for Andrea; r=tao,a=brendan.)
git-svn-id: svn://10.0.0.236/trunk@75835 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 00:21:11 +00:00
jband%netscape.com
278cbd4584 fix bug 47410. Allow JS components to implement nsISecurityCheckedComponent and have sidebar componnet implement it to allow access from untrusted scripts. a=brendan@mozilla.org a=johng@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75834 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:59:32 +00:00
ericb%neoplanet.com
0fede69e4e removed call to widget->CaptureMouse that was crashing under gtk. r=hyatt a=waterson
git-svn-id: svn://10.0.0.236/trunk@75833 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:49:01 +00:00
sfraser%netscape.com
f7ad53e40d Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
git-svn-id: svn://10.0.0.236/trunk@75832 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:48:42 +00:00
dmose%mozilla.org
358461d7b4 in DEBUG builds, created a PRLogModuleInfo for LDAP (gLDAPLogModule), and migrated most PR_fprintf(STDERR) bracketed by DEBUG_dmose to PR_LOG. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75831 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:44:48 +00:00
sfraser%netscape.com
7726da891c Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
git-svn-id: svn://10.0.0.236/trunk@75830 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:38:00 +00:00
sfraser%netscape.com
d2a1daeb55 Fix for 25161 -- allow editor to handle pages with form elements. Avoid infinite loop in editor, and add some CSS for form elements in editor. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@75829 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:37:51 +00:00
alecf%netscape.com
e385002b0a big-ass leak fix - stop leaking mail datasources by clearing ourselves out when the last
RDF observer goes away, and re-initializing if new RDF observers arrive on the scene.
r=putterman
fixes #45176, among other leaks


git-svn-id: svn://10.0.0.236/trunk@75828 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:32:55 +00:00
sgehani%netscape.com
ed5414a7fa Make Linux installer work on non-Redhat distributions.
[nsbeta2+ b=47921; r=sgehani; checking in for pavlov]


git-svn-id: svn://10.0.0.236/trunk@75826 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:29:36 +00:00
ben%netscape.com
f5c2d84cf4 forgot to check this in last night...
git-svn-id: svn://10.0.0.236/trunk@75825 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:15:52 +00:00
javi%netscape.com
02d4a55d6d Implement the poll loop on UNIX for the PKCS7 Decoder when finishing up
just in case PSM is a little slow to shove data back at us.


git-svn-id: svn://10.0.0.236/trunk@75824 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:08:53 +00:00
dr%netscape.com
a45cd5e7f6 fix for cache miss loading chrome://navigator/skin/navigator.css, r=ben
git-svn-id: svn://10.0.0.236/trunk@75823 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:07:15 +00:00
nelsonb%netscape.com
475a5fabb5 Emulate an SSL3 client more closely after a server negotiates down to 3.0.
git-svn-id: svn://10.0.0.236/trunk@75822 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:54:02 +00:00
mcafee%netscape.com
4a0b58833b Saving space with thin separator (40888)
git-svn-id: svn://10.0.0.236/trunk@75821 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:45:53 +00:00
cata%netscape.com
9c0beebb05 Fix for bug #28104. r=nhotta, a=ftang.
git-svn-id: svn://10.0.0.236/trunk@75820 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:45:36 +00:00
dr%netscape.com
f7ecc9f460 fix for 38787, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@75819 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:42:42 +00:00
mcafee%netscape.com
0a72359f4a Changing font resolution to say screen resolution. r=slamm, akkana
git-svn-id: svn://10.0.0.236/trunk@75818 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:37:54 +00:00
mcafee%netscape.com
b03f8e7b1b Removing whats related description to save room (40888). r=slamm
git-svn-id: svn://10.0.0.236/trunk@75817 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:28:27 +00:00
putterman%netscape.com
1765cbe61f Fix for 37583. Remove View|Sort|Ascending and Descending menu items. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@75816 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:28:26 +00:00
larryh%netscape.com
67b0d58523 BugZilla: 25982. MacOS retruns 1
git-svn-id: svn://10.0.0.236/trunk@75815 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:26:42 +00:00
putterman%netscape.com
d5ab05db91 Fix for 37932. r=ducarroz. remove Forward Quoted from preferences.
git-svn-id: svn://10.0.0.236/trunk@75814 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:19:37 +00:00
ruslan%netscape.com
013a4c9859 Checking in the patch for 45337 by jgmeyers, r=ruslan,a=gagan
git-svn-id: svn://10.0.0.236/trunk@75813 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:16:05 +00:00
ducarroz%netscape.com
a96555222f Better fix for Mac Commercial bustage of yesterday. Add xpcompat.h to the manifest file. R=sfraser
git-svn-id: svn://10.0.0.236/trunk@75812 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:15:08 +00:00
alecf%netscape.com
822600462e part of fix for 39016 - add direct access to the string bundle for the mail string bundle stuff
r=mscott


git-svn-id: svn://10.0.0.236/trunk@75811 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:11:40 +00:00
alecf%netscape.com
57f820fbe3 part of fix for #34996 - unify location of username amongst the protocols
git-svn-id: svn://10.0.0.236/trunk@75810 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 22:06:59 +00:00
mcafee%netscape.com
10cf044ae8 Smart browsing pane should be titled as such, not whats related. r=slamm
git-svn-id: svn://10.0.0.236/trunk@75809 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:46:18 +00:00
valeski%netscape.com
0d1eca8726 38260. removing shadowed rv declaration, and xpfe #include dependency
git-svn-id: svn://10.0.0.236/trunk@75808 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:43:47 +00:00
wtc%netscape.com
16e6b94514 Removed obsolete test event.c.
Modified files: Makefile, Makefile.in
Removed file: event.c


git-svn-id: svn://10.0.0.236/trunk@75807 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:35:14 +00:00
wtc%netscape.com
729303241a Make main() return int explicitly.
git-svn-id: svn://10.0.0.236/trunk@75806 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:33:51 +00:00
saari%netscape.com
e1a79e8500 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner


git-svn-id: svn://10.0.0.236/trunk@75805 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:31:05 +00:00
mcafee%netscape.com
20eb835969 Fixing slashes, not part of build.
git-svn-id: svn://10.0.0.236/trunk@75804 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:27:33 +00:00
saari%netscape.com
847a699deb Beginnings of massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner


git-svn-id: svn://10.0.0.236/trunk@75803 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:19:03 +00:00
saari%netscape.com
d3919b1d3e Beginnings of massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner

--------------------------------


git-svn-id: svn://10.0.0.236/trunk@75802 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:17:28 +00:00
pavlov%netscape.com
38958ad8dc removing a dump() that shows a bogus error
git-svn-id: svn://10.0.0.236/trunk@75801 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:14:18 +00:00
ddrinan%netscape.com
4fd52d34f8 Disable to TLS because some servers do not implement version rollback correctly
git-svn-id: svn://10.0.0.236/trunk@75800 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:10:20 +00:00
mkaply%us.ibm.com
cc1c8681d5 #47881
r=valeski, a=brendan
OS/2 tinderbox break - we need to link mozdbm


git-svn-id: svn://10.0.0.236/trunk@75799 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:05:59 +00:00
bratell%lysator.liu.se
7d881419fb Bug 35802 leaking strings. r=mscott@netscape.com a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@75798 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:02:56 +00:00
nhotta%netscape.com
e604e31a9f Change to call OS API with null argument for default locale, bug 39677, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@75797 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 20:44:12 +00:00
harishd%netscape.com
8d377df7b3 45975 - Make sure that the head context gets closed before opening up the body.
44285 - Propagate the block message to the parser correctly.
45555 - Pass the node that contains the skipped content to the sink.
46392 - Error message got lost
43481 - P cannot contain P per spec.
44759 - Handling multiple BODYs correctly.
45228, 44758 - Translate entities in TEXTAREA and TITLE before handing the string to the sink

r=pollmann


git-svn-id: svn://10.0.0.236/trunk@75796 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 20:38:14 +00:00
heikki%netscape.com
6eacdb81c7 Bug 38647 Link clicks on nsImageFrame do not check if legal to load URI. Happened with server side image map. r=mstolz
git-svn-id: svn://10.0.0.236/trunk@75795 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 20:35:12 +00:00
heikki%netscape.com
319d5d1819 Bug 29473 ondblclick event not being fired.
git-svn-id: svn://10.0.0.236/trunk@75794 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 20:32:09 +00:00
mcgreer%netscape.com
0f4cf042cb zero the correct amount of input bytes
git-svn-id: svn://10.0.0.236/trunk@75793 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 20:30:56 +00:00
rogerl%netscape.com
99bdc98433 r=brendan, bug# 34276. Fix for correctly including winsock2.h.
git-svn-id: svn://10.0.0.236/trunk@75792 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 20:28:49 +00:00
rogerl%netscape.com
eae4a7d9a8 (update to fix for bug #31255). Previous patch was insufficient in that it
didn't handle the case when the tokenstream is not tokenizing newlines.


git-svn-id: svn://10.0.0.236/trunk@75791 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 20:24:56 +00:00
alecf%netscape.com
475d19dc4a fix for prefs bustage
git-svn-id: svn://10.0.0.236/trunk@75790 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 19:50:00 +00:00
sdv%sparc.spb.su
bb0e90b109 fix for bug=47878
NamedNodeMapImpl class should not extend NodeImpl
according to the w3c spec.


git-svn-id: svn://10.0.0.236/trunk@75789 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 16:43:52 +00:00
rods%netscape.com
a7b92c54bc during reflow it makes sure the maxelementsize width is set to the smaller of
min size or the current size.
(see also fix nsGfxTextControlFrame.cpp)
b=40596 r=evaughan


git-svn-id: svn://10.0.0.236/trunk@75788 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 14:30:08 +00:00
rods%netscape.com
b5b27bd2c4 minor fix for max-element-size. The minsize needs to be calc and cached during the regular reflow
there is too much state to be remember to calc the min size for when ever it is asked for it.
(see also fix nsBoxFramae.cpp)
b=40596 r=evaughan


git-svn-id: svn://10.0.0.236/trunk@75787 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 14:27:36 +00:00
dcone%netscape.com
e217756243 Check to see if the view had been reparented.. b=44718 a=mcclusk
git-svn-id: svn://10.0.0.236/trunk@75786 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 14:11:09 +00:00
dcone%netscape.com
a1db32435f Fixes slow scrolling, using patblt on windows NT. bug = 43943. A=mcclusk
git-svn-id: svn://10.0.0.236/trunk@75785 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 14:07:38 +00:00
valeski%netscape.com
c9ba2e1650 formatting change to wml output
git-svn-id: svn://10.0.0.236/trunk@75784 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 07:38:43 +00:00
ben%netscape.com
d40bead5ce update jar packager file for previous checkin
git-svn-id: svn://10.0.0.236/trunk@75783 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 07:30:03 +00:00
valeski%netscape.com
3fdb365a62 adding WML output for WAP browsers
git-svn-id: svn://10.0.0.236/trunk@75782 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 06:59:15 +00:00
ben%netscape.com
4be87e92f4 fix for mac bustage. oops
git-svn-id: svn://10.0.0.236/trunk@75781 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 06:53:21 +00:00
bryner%uiuc.edu
b7be6128e5 Removing .cvsignore files so CVS will realize that this directory is
empty.  Not part of build.


git-svn-id: svn://10.0.0.236/trunk@75780 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 06:47:17 +00:00
tor%cs.brown.edu
2fd32ef91d Bug 40942 and 47816 - fix off-by-one error in DrawComposited
sanity check.  r=bryner


git-svn-id: svn://10.0.0.236/trunk@75779 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 06:42:26 +00:00
alecf%netscape.com
167b2f0335 final part of fix for 46712 - flush the string bundle cache when the locale changes
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@75778 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 06:24:56 +00:00
ben%netscape.com
ac38520166 fix for 47441 & incremental fix for 46613, correct windows classic skin use of system colours in scrollbar thumb.
git-svn-id: svn://10.0.0.236/trunk@75777 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 06:15:35 +00:00
ben%netscape.com
6bbe804f01 nsbeta3+ bug 45085, move search results 'default.htm' file into locale.
git-svn-id: svn://10.0.0.236/trunk@75776 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 06:07:25 +00:00
nelsonb%netscape.com
1df049f648 Fix crash caused by zeroing a larger buffer than the caller passed in.
git-svn-id: svn://10.0.0.236/trunk@75775 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 05:56:56 +00:00
nelsonb%netscape.com
330c8b4550 Fix crash caused by uninitialized variable.
git-svn-id: svn://10.0.0.236/trunk@75774 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 05:56:10 +00:00
rjc%netscape.com
c5085415b2 Remove Mac debugging info. r=me
git-svn-id: svn://10.0.0.236/trunk@75773 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 05:55:22 +00:00
rjc%netscape.com
66d46a347d Sorting fixes for bug # 26131. r=me, nhotta, putterman
git-svn-id: svn://10.0.0.236/trunk@75772 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 05:50:10 +00:00
ben%netscape.com
7c008af23b fix for nsbeta3+ bug 44229, can't drag urls out of history window
git-svn-id: svn://10.0.0.236/trunk@75771 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 05:46:32 +00:00
waterson%netscape.com
59f3ba59da Add regression test for 44709.
git-svn-id: svn://10.0.0.236/trunk@75770 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 05:03:36 +00:00
waterson%netscape.com
8ba85111c7 Use nsVoidArray instead of nsISupportsArray to hold kids. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@75769 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 05:02:07 +00:00
waterson%netscape.com
27f49e988e Bugs 46616, 46964. Clean up RebuildContainer(): factor into two methods to share code better. Maintain a queue of ungenerated elements to scan for generated children. Add tons of comments so I don't have to figure this all out again when I look at it next. r=rjc
git-svn-id: svn://10.0.0.236/trunk@75768 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 04:57:55 +00:00
ducarroz%netscape.com
a5d4c810f5 Fix for bug 36480. Add function to switch the signature. R=putterman
git-svn-id: svn://10.0.0.236/trunk@75767 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 04:46:55 +00:00
putterman%netscape.com
7b226eb3c0 Fix for 45059. r=mscott. Character encoding menus didn't work in the standalone message window.
git-svn-id: svn://10.0.0.236/trunk@75766 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 04:46:42 +00:00
av%netscape.com
bf617efae9 Fixing #8740, r=serge
git-svn-id: svn://10.0.0.236/trunk@75765 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 04:45:03 +00:00
ducarroz%netscape.com
a9581e6d1b Fix for bug 36480. Add function to switch the signature. R=putterman
git-svn-id: svn://10.0.0.236/trunk@75764 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 04:45:02 +00:00
alecf%netscape.com
239a015260 fix for #40329 contributed by jrgm@netscape.com, r=ben
git-svn-id: svn://10.0.0.236/trunk@75763 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 04:43:35 +00:00
waterson%netscape.com
45d653b43a fucking mac
git-svn-id: svn://10.0.0.236/trunk@75762 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 04:23:43 +00:00
ben%netscape.com
1243b96d21 fix for nsbeta3+ 45687, problems with helper apps pref panel
git-svn-id: svn://10.0.0.236/trunk@75761 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 04:18:23 +00:00
mscott%netscape.com
930fa589d1 Bug #46881 --> set the charset correctly for mutlipart/alternative
r=rhp


git-svn-id: svn://10.0.0.236/trunk@75760 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 04:09:26 +00:00
ducarroz%netscape.com
3e01b25fda Part of fix for bug 36480. I check in this fix for jfrancis. The function EndOfDocument which wasn't used yet was setting the selection on the wrong node. R=ducarroz
git-svn-id: svn://10.0.0.236/trunk@75759 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 04:05:26 +00:00
tor%cs.brown.edu
fe0d1665bd Landing libmng 0.9.2+. a=waterson
git-svn-id: svn://10.0.0.236/trunk@75758 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 03:58:05 +00:00
blizzard%redhat.com
2f3f044306 fix the following bugs: #39560, #47141, #46928, #47949. use nsIPipe for the stream impl, seperate XPCOM startup, add a resize callback so content with a width and height are sized correctly, fix problems with gtkmozembed widgets on gtk notebook widgets. also, add some new signals for progress loading and net changes. r=dougt, a=waterson
git-svn-id: svn://10.0.0.236/trunk@75757 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 03:58:03 +00:00
dmose%mozilla.org
b29cf24bab added ldap_abandon()-like functionality to the XPCOM wrapper, and changed the nsLDAPChannel code to implement request cancellation (eg pressing the stop button in the browser) using said functionality. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@75755 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 03:23:05 +00:00
nelsonb%netscape.com
a1e1fc974c - Change mpi private function s_mp_mul_d_add_offset into a macro.
- Declare and implement new function s_mp_mul_add, which is a candidate
  for replacement with assembler code.
- Convert mp_mul, mp_sqr, etc. to use s_mp_mul_add.
- New implementation of mp_invmod for odd moduli. Algorithm from paper
  "Fast Modular Reciprocals" by Richard Schroeppel (a.k.a. Captain Nemo).
- New function s_mp_invmod_32b in mpi.c, computes inverse mod 2**32, also
  from same paper. Used in mp_invmod and mp_exptmod.


git-svn-id: svn://10.0.0.236/trunk@75754 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 03:20:35 +00:00
dmose%mozilla.org
b56488f5ec use lexical closure of JS functions to bind data to a function for use as a callback. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75753 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 02:56:44 +00:00
mscott%netscape.com
73b3390d9c Fix a small memory leak.
git-svn-id: svn://10.0.0.236/trunk@75752 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 02:27:52 +00:00
mscott%netscape.com
61a473e3e2 Bug #43389, 41125 --> header conversion should honor default and over ride charset
information.
r=nhotta


git-svn-id: svn://10.0.0.236/trunk@75751 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 02:27:38 +00:00
bryner%uiuc.edu
6a05d7274d Patch from Jan Varga <varga@utcru.sk> for filepicker localizability fixes,
improved keyboard navigation, and misc. cleanups.  bug
45561.  r=me,pavlov.  a=waterson.


git-svn-id: svn://10.0.0.236/trunk@75750 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 01:55:59 +00:00
sgehani%netscape.com
64b797c3d9 Ensure linux installer doesn't core dump for "long" install destination paths
when a default location is specified in the config.ini.

[nsbeta3+ b=46458; r=dveditz]


git-svn-id: svn://10.0.0.236/trunk@75749 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 01:29:04 +00:00
javi%netscape.com
14fc817b69 A fix for Windows where the client stops trying to read decrypted data back from the client before it's ready.
git-svn-id: svn://10.0.0.236/trunk@75748 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 01:26:44 +00:00
rhp%netscape.com
96c4541085 Fix for vCard having an inactive Add button - Bug #: 47537 - r: putterman
git-svn-id: svn://10.0.0.236/trunk@75746 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:52:52 +00:00
pierre%netscape.com
7393600e1b 47138: Some invalid units are not resulting in dropped declarations.
15174: counter() and counters() should not be recognized by CSS parser.


git-svn-id: svn://10.0.0.236/trunk@75744 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:34:42 +00:00
mscott%netscape.com
65cba63f62 Remove some debugging code from the rdf file
git-svn-id: svn://10.0.0.236/trunk@75743 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:34:06 +00:00
waterson%netscape.com
1cc3c3da2d Bug 46053. Add [begin|end]UpdateBatch() to nsIRDFObserver; case-normalize the resot of the nsIRDFObserver methods; update implemetors, users. r=bienvenu,rjc,dmose,slamm
git-svn-id: svn://10.0.0.236/trunk@75742 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:22:36 +00:00
mscott%netscape.com
6dacfce7ce Bug #47853, 47901, 47835, 47324, 47811 --> back out caching of smtp capabilities...this breaks the smtp protocol
which requires an EHLO or HELO to always be issued. Fix case for HELO response.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@75741 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:22:34 +00:00
valeski%netscape.com
9d6dbf3718 47881, r=dougt. removing extraneous static link of dbm lib, and fixing the file cache so it does the static link
git-svn-id: svn://10.0.0.236/trunk@75740 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:20:23 +00:00
valeski%netscape.com
0745e1f74e 47881, r=dougt. removing extraneous static link of dbm lib
git-svn-id: svn://10.0.0.236/trunk@75739 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:19:37 +00:00
scc%mozilla.org
f09ffefddb not part of the build; initial work on multi-fragment strings
git-svn-id: svn://10.0.0.236/trunk@75738 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:14:35 +00:00
scc%mozilla.org
ac6dc5a34a not part of the build yet; initial work on multi-fragment strings
git-svn-id: svn://10.0.0.236/trunk@75737 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:14:14 +00:00
mscott%netscape.com
3aeaebe2d7 Bug #39910 --> make the context menu come up for both right and left mouse clicks for email addresses.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@75736 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 23:59:25 +00:00
tor%cs.brown.edu
b90ca90f50 Bustage fix - add xpcompat.h to the export list.
git-svn-id: svn://10.0.0.236/trunk@75735 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 23:10:48 +00:00
tara%tequilarista.org
26fe07c589 Fixing bug #46897
git-svn-id: svn://10.0.0.236/trunk@75734 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 22:59:55 +00:00
syd%netscape.com
9c8d08cbc0 Undid the rdf changes for 43091 at request of brendan, now doing evil 0666
default permissions. r=dougt


git-svn-id: svn://10.0.0.236/trunk@75733 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 22:59:40 +00:00
pchen%netscape.com
37f100b8ac Checkin for pnunn on Mac, remove dllcompat.cpp from projects
git-svn-id: svn://10.0.0.236/trunk@75732 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 22:59:02 +00:00
pnunn%netscape.com
0c5568e325 bug#41040: cruft removal.
git-svn-id: svn://10.0.0.236/trunk@75731 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 22:16:30 +00:00
av%netscape.com
cb9f96e62b Fixing 39534, patch by sean, r=av
git-svn-id: svn://10.0.0.236/trunk@75730 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 22:10:07 +00:00
av%netscape.com
08395413fb Fixing 47360, patch by sean@beatnik.com, r=av
git-svn-id: svn://10.0.0.236/trunk@75729 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 21:51:19 +00:00
mkaply%us.ibm.com
c043fe161a #47874
r=mkaply, a=brendan
Remove unused widget files


git-svn-id: svn://10.0.0.236/trunk@75728 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 21:40:45 +00:00
cmanske%netscape.com
2b7ffc8718 Added selectedIndex property to tree interface. Needed by spell checking in editor, b=47696, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@75727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 21:20:40 +00:00
anthonyd%netscape.com
81c7739c51 checkins for Hurricane
translation of all C++ functions to JS which included SaveDocument
which eventually will allow for the completeion of autosave
r: brade, anthonyd
a: waterson, cmanske


git-svn-id: svn://10.0.0.236/trunk@75726 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 21:12:18 +00:00
mkaply%us.ibm.com
0c3b99a0c1 #47874
r=mkaply, a=brendan
remove obsolete nsTooltip* files


git-svn-id: svn://10.0.0.236/trunk@75725 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:56:20 +00:00
despotdaemon%netscape.com
bc9e09caa3 Pseudo-automatic update of changes made by naving@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75724 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:55:58 +00:00
dougt%netscape.com
5a21fded10 Adding GetPrompt() method to nsIDOMWindow.
r=vidur@netscape.com (47889)


git-svn-id: svn://10.0.0.236/trunk@75723 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:55:36 +00:00
mkaply%us.ibm.com
8fd0a462bd #47874
r=mkaply, a=brendan
nsFontServices is not used


git-svn-id: svn://10.0.0.236/trunk@75722 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:53:28 +00:00
mkaply%us.ibm.com
16d960dca7 #47874
r=mkaply, a=brendan
Bring nsToolkit up to par with the Windows code


git-svn-id: svn://10.0.0.236/trunk@75721 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:51:47 +00:00
dougt%netscape.com
fd79d626f7 adding pref for image cache size. (47656)
r=valeski@netscape.com


git-svn-id: svn://10.0.0.236/trunk@75720 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:51:30 +00:00
dougt%netscape.com
07084b32e8 1. remove extra monitors (47825)
2.  add method to determine if manager has been shutdown  (44680)
3.  Add nsCOMPtr to avoid leak  (44680, 43244)

r=valeski@netscape.com


git-svn-id: svn://10.0.0.236/trunk@75719 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:50:25 +00:00
mkaply%us.ibm.com
31b9f51c41 #47874
r=mkaply, a=brendan
Bring nsLookAndFeel up to par with the Windows code


git-svn-id: svn://10.0.0.236/trunk@75718 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:48:09 +00:00
mkaply%us.ibm.com
b6742b6ecd #47874
r=mkaply, a=brendan
Bring nsSound up to par with the Windows code


git-svn-id: svn://10.0.0.236/trunk@75717 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 20:47:05 +00:00
leaf%mozilla.org
f6fb873856 Automated update
git-svn-id: svn://10.0.0.236/trunk@75716 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 19:00:10 +00:00
cyeh%bluemartini.com
e040a221dd fix for bug 42089: change wording of link from "create new bug" to
"report new bug". r=timeless@bemail.org, cyeh@bluemartini.com,
patch submitted by zach@zachlipton.com


git-svn-id: svn://10.0.0.236/trunk@75715 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 17:53:36 +00:00
pp%ludusdesign.com
5a2631a375 Adding the original contributor of this code to the Contributors list
of these files, to his request. No actual code change, only comments,
so no review.


git-svn-id: svn://10.0.0.236/trunk@75714 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 17:48:22 +00:00
despotdaemon%netscape.com
ed9fa2baed Pseudo-automatic update of changes made by dr@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75711 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 16:36:12 +00:00
rhp%netscape.com
cbb3b11044 Fix for printing window being on the screen - r: putterman
git-svn-id: svn://10.0.0.236/trunk@75710 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 14:07:40 +00:00
ben%netscape.com
18f9dc978d fixing broken field on nsIBrowserBoxObject. This was preventing some code migration to
js that was needed for navigator, as nsIBrowserInstance is somewhat flaky. r=hyatt


git-svn-id: svn://10.0.0.236/trunk@75709 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 07:55:40 +00:00
hyatt%netscape.com
e9440df88a Fix for 47635. r=ben
git-svn-id: svn://10.0.0.236/trunk@75708 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 07:55:10 +00:00
nisheeth%netscape.com
c325ebf214 r=jst. Fix for nsbeta2+ bug 18321. The back button was not getting enabled when the user clicked on a javascript url that caused a new page load in another frame. The problem was that the location object was setting the load type to "normal" for loads caused by calls to location.replace() and to "normalReplace" for loads caused by setting location.href. The correct behavior is to do the opposite.
git-svn-id: svn://10.0.0.236/trunk@75707 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 07:35:25 +00:00
bryner%uiuc.edu
6e636070d2 Removing more obsolete libpref stuff. Not part of build. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@75706 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 07:31:48 +00:00
mozilla.BenB%bucksch.org
7bc0a1ecda 45565: Add pref "general.useragent.override" to customize UA-string. r=valeski, a=brendan
git-svn-id: svn://10.0.0.236/trunk@75705 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 07:17:30 +00:00
ben%netscape.com
7739ab8bd6 remove redundant wallet skin files and directory, nsbeta3+ 47217
git-svn-id: svn://10.0.0.236/trunk@75704 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 06:42:21 +00:00
alecf%netscape.com
9ed6b623c9 remove old file from the build
git-svn-id: svn://10.0.0.236/trunk@75703 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 06:37:17 +00:00
alecf%netscape.com
3e2a1c7845 remove sidebar-messenger.xul from the build (NOT PART OF BUILD)
git-svn-id: svn://10.0.0.236/trunk@75702 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 06:34:33 +00:00
ben%netscape.com
01f8b0c562 fix for nsbeta3+ bug 39948, Start Mozilla is disabled after creating a profile
git-svn-id: svn://10.0.0.236/trunk@75701 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 06:29:08 +00:00
bratell%lysator.liu.se
0f61387703 Fix for bug 46306, html-to-plaintext replies have > on blank lines. The fix was to strip ending new lines in the citer. r=akkana, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@75700 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 06:05:27 +00:00
morse%netscape.com
7b12917a8b bug 47461, cookie expiration date is wrong on mac, r=valeski
git-svn-id: svn://10.0.0.236/trunk@75699 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 05:27:19 +00:00
dbaron%fas.harvard.edu
a0c7410ceb Fix potential leak. r=attinasi a=waterson
git-svn-id: svn://10.0.0.236/trunk@75698 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 03:06:22 +00:00
dbaron%fas.harvard.edu
74cf8b8464 Make nsDocument unroot script objects in the prolog and epilog correctly. Fix nsDocument::RemoveChild so it doesn't crash when removing the root element. Prevent nsDocument::ChildAt from incorrectly returning null when root is removed. Clean up nsDocument::RemoveChild and nsDocument::ReplaceChild a bit, including adding some notifications for prolog/epilog content. Make nsDocument::ReplaceChild return the correct thing (the old child, not the new one). r=vidur b=17390 (nsbeta3+), 46212
git-svn-id: svn://10.0.0.236/trunk@75697 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 03:03:55 +00:00
danm%netscape.com
dff51f2e92 addref return ptr in GetContentDocShell -- the real reason for bug 47491
git-svn-id: svn://10.0.0.236/trunk@75696 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 02:58:10 +00:00
dbaron%fas.harvard.edu
24d6381ac5 Remove element names from the list that no longer use nsIAnonymousContentCreator. r=hyatt a=waterson
Don't choke on notifications for children of document that aren't the root element.  r=vidur  b=17390 (nsbeta3+)


git-svn-id: svn://10.0.0.236/trunk@75695 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 02:51:35 +00:00
danm%netscape.com
70633a371d reverting the part of rev 1.198 that causes a 100% reproducible, impossible to miss crash every time a browser window is closed, and seems to do nothing else. bug 47491
git-svn-id: svn://10.0.0.236/trunk@75693 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 22:08:56 +00:00
bienvenu%netscape.com
e5c9f59867 fix stop of msg move/copy r=mscott 28129
git-svn-id: svn://10.0.0.236/trunk@75692 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 20:15:32 +00:00
tor%cs.brown.edu
b889085a75 Bug 47679 - clipping rewrite for nsImageGTK::DrawComposited.
r=blizzard, a=waterson


git-svn-id: svn://10.0.0.236/trunk@75691 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 19:36:46 +00:00
dbaron%fas.harvard.edu
f5c556e039 Correct the combobox GetFrameForPoint by checking for visibility and foreground layer in all cases. b=36676 r=rods a=waterson
git-svn-id: svn://10.0.0.236/trunk@75690 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 19:24:48 +00:00
dougt%netscape.com
ee1a9e1e43 DEBUGGING information for bug 46737.
git-svn-id: svn://10.0.0.236/trunk@75689 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 19:21:09 +00:00
dbaron%fas.harvard.edu
6921566580 Fix an inconsequential typo (MOZ_DECL_CTOR_COUNTER does nothing, now). r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@75688 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 19:19:01 +00:00
dougt%netscape.com
469dc01bf8 This was checked into the branch, but not trunk:
Here are the checkin notes (revision 1.22.2.2)

r=jar.  Checkin on behalf of dougt.  Fix for nsbeta2+ bug 47010.
The lock icon was not displaying on some https sites.  With these
changes, it does.


git-svn-id: svn://10.0.0.236/trunk@75687 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 19:15:46 +00:00
dbaron%fas.harvard.edu
efae1fc625 Fix potential leak. r=pnunn a=waterson
git-svn-id: svn://10.0.0.236/trunk@75686 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 19:07:06 +00:00
dbaron%fas.harvard.edu
84a7454104 Fix nsBoxLayout leaks. r=hyatt a=waterson b=43450
git-svn-id: svn://10.0.0.236/trunk@75685 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 19:05:50 +00:00
dbaron%fas.harvard.edu
991f6bf201 Remove some old stuff left from nsIAnonymousContentCreator before these were converted to XBL. r=hyatt a=waterson
git-svn-id: svn://10.0.0.236/trunk@75684 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 18:49:29 +00:00
dbaron%fas.harvard.edu
f154a601c1 Fixing bustage. Stupid error...
git-svn-id: svn://10.0.0.236/trunk@75683 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 17:17:22 +00:00
dbaron%fas.harvard.edu
1d16bbcdf5 Fix crash on shutdown (or patch things up so they don't crash) by releasing memory pressure observers closer to the beginning of XPCOM shutdown. b=47791 r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75682 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 16:23:04 +00:00
bienvenu%netscape.com
9d1f6bf945 remove unneeded select before append to imap folders r=mscott 46501
git-svn-id: svn://10.0.0.236/trunk@75681 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 14:50:06 +00:00
bienvenu%netscape.com
cca296ae96 more work on drag drop move/copy handling 47195 r=mscott
git-svn-id: svn://10.0.0.236/trunk@75680 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 14:40:21 +00:00
hyatt%netscape.com
1c7e7c8d2c Adding XBL demos. Doesn't affect build.
git-svn-id: svn://10.0.0.236/trunk@75679 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 11:12:44 +00:00
hyatt%netscape.com
c3caf9df23 Adding XBL demos. Doesn't affect build.
git-svn-id: svn://10.0.0.236/trunk@75678 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 08:48:49 +00:00
hyatt%netscape.com
ddf548f5fc Adding XBL demos. Doesn't affect build.
git-svn-id: svn://10.0.0.236/trunk@75677 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 08:14:19 +00:00
hyatt%netscape.com
2a4082ff73 Fixes to make menus work right with XBL.
git-svn-id: svn://10.0.0.236/trunk@75676 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 08:11:05 +00:00
ben%netscape.com
e64d1e18ca polish (just tweaked the spacing between elements)
git-svn-id: svn://10.0.0.236/trunk@75675 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 08:05:07 +00:00
ben%netscape.com
7911a911d1 update jar packager file...
git-svn-id: svn://10.0.0.236/trunk@75674 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 07:20:39 +00:00
ben%netscape.com
6fadf10da0 remove redundant files
git-svn-id: svn://10.0.0.236/trunk@75673 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 07:20:16 +00:00
ben%netscape.com
662ed06402 clean up signon viewer dialog code for polish, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@75672 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 07:18:10 +00:00
ben%netscape.com
0bbd25d5bd simplify Cookie Viewer code for polish, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@75671 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 07:04:11 +00:00
dave%intrec.com
e1cf1a1b66 Fix for bug 47561. Thanks to tengel@fluid.com (Troy Engel) for catching
this one.


git-svn-id: svn://10.0.0.236/trunk@75670 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 05:42:30 +00:00
hyatt%netscape.com
87f101ee64 more of 42320. r=danm
git-svn-id: svn://10.0.0.236/trunk@75669 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 05:39:36 +00:00
pavlov%netscape.com
c2d33fbb7e removing (broken) x11-shm code. I have not found this code to provide any speedup, and since it is broken, I am removing
it.  bug 32736 r=bryner


git-svn-id: svn://10.0.0.236/trunk@75668 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 05:18:01 +00:00
pavlov%netscape.com
778d5576e8 removing (broken) x11-shm code. I have not found this code to provide any speedup, and since it is broken, I am removing it. bug 32736 r=bryner
git-svn-id: svn://10.0.0.236/trunk@75667 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 05:17:31 +00:00
hyatt%netscape.com
115936b807 Fix build bustage that's coming.
git-svn-id: svn://10.0.0.236/trunk@75666 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 05:03:36 +00:00
hyatt%netscape.com
c7410097cd Fix for 42320. r=danm
git-svn-id: svn://10.0.0.236/trunk@75665 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 04:57:55 +00:00
hyatt%netscape.com
b28cfa714e Plug leak in cache for XBL docs.
git-svn-id: svn://10.0.0.236/trunk@75664 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 04:57:24 +00:00
bryner%uiuc.edu
ac1aca0f6d Fixing bug 42294 - make mousewheel font size change always affect the
document (not the chrome).  r=saari.


git-svn-id: svn://10.0.0.236/trunk@75663 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 04:15:02 +00:00
bryner%uiuc.edu
79844edf19 Ben forgot to update the unix makefile when he checked in for bug
46613.  This fixes the symptom of mozilla not starting up after switching
to the classic skin.  r=bruce.


git-svn-id: svn://10.0.0.236/trunk@75662 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 03:43:04 +00:00
hyatt%netscape.com
0b28e4ad6d Fix for XBL portion of 46129
git-svn-id: svn://10.0.0.236/trunk@75661 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 22:33:29 +00:00
ftang%netscape.com
e3ffc046ba improve cjk detector by reduce the threshold and do no consider Big5 in the
statistic model .


git-svn-id: svn://10.0.0.236/trunk@75660 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 20:57:02 +00:00
hyatt%netscape.com
efb91e3b36 Put scrollbars back in tex tareas.
git-svn-id: svn://10.0.0.236/trunk@75659 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 20:48:22 +00:00
morse%netscape.com
affecfbf91 bug 47532, incorrect display in signon viewer, r=pnunn
git-svn-id: svn://10.0.0.236/trunk@75658 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 19:32:53 +00:00
svn%xmlterm.org
56d719d6d1 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Added jar.mn (for future use)


git-svn-id: svn://10.0.0.236/trunk@75657 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 17:23:59 +00:00
svn%xmlterm.org
bb76a78ba1 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Fixed "bug" in XMLTermCommands.js that was causing duplicate instances of XMLTerm shells.


git-svn-id: svn://10.0.0.236/trunk@75656 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 17:22:00 +00:00
svn%xmlterm.org
f8d58bd7ec --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Re-structured chrome directories.


git-svn-id: svn://10.0.0.236/trunk@75655 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 17:19:44 +00:00
bienvenu%netscape.com
22af04e6c2 add ability to create storage for folders on demand, e.g., templates and drafts, r=mscott 45146
git-svn-id: svn://10.0.0.236/trunk@75654 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 14:42:16 +00:00
bienvenu%netscape.com
9ba3058d49 add ability to create storage for folders on demand, e.g., templates and drafts, r=mscott 45146
git-svn-id: svn://10.0.0.236/trunk@75653 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 14:28:47 +00:00
dmose%mozilla.org
c38e672a63 one item completed; several important items moved up to the top of the list. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75652 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:46:57 +00:00
dmose%mozilla.org
f50bc0021f replace a few regular libc includes and function calls with their NSPR equivalents. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75651 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:45:11 +00:00
dmose%mozilla.org
d497056eea add a comment; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75650 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:43:51 +00:00
dmose%mozilla.org
5976794f0d get rid of unused static sNullTimeval. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75649 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:42:45 +00:00
scc%mozilla.org
ec704488bd also including "nsAWritableString.h" to satisfy speedracer
git-svn-id: svn://10.0.0.236/trunk@75648 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:32:18 +00:00
scc%mozilla.org
79d27e1b9f adding new files to the build to provide |ToNewCString|, |ToNewUnicode|, and |IsASCII| that work on |nsAReadable[C]String|s, as per Vidur's needs in converting the DOM.
git-svn-id: svn://10.0.0.236/trunk@75647 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:26:01 +00:00
scc%mozilla.org
fc3595e83f need |NS_COM| in the declarations too
git-svn-id: svn://10.0.0.236/trunk@75646 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:20:50 +00:00
scc%mozilla.org
8044c9fc61 adding new files to the build to provide |ToNewCString|, |ToNewUnicode|, and |IsASCII| that work on |nsAReadable[C]String|s, as per Vidur's needs in converting the DOM.
git-svn-id: svn://10.0.0.236/trunk@75645 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 07:50:28 +00:00
scc%mozilla.org
efe34a743d make sure the new functions are exported; still not in the build
git-svn-id: svn://10.0.0.236/trunk@75644 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 07:44:08 +00:00
pierre%netscape.com
892645b8c6 attempt to fix the SunOS build
git-svn-id: svn://10.0.0.236/trunk@75643 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 06:39:42 +00:00
dprice%netscape.com
9e1b32e935 make-jars.pl now properly cleans up any extra files and folders that it creates
git-svn-id: svn://10.0.0.236/trunk@75642 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 06:08:02 +00:00
pierre%netscape.com
db5d911ba9 42864 ('user-select:none' should make children non-selectable)
git-svn-id: svn://10.0.0.236/trunk@75641 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:41:33 +00:00
pierre%netscape.com
ccd95c3556 45754 ('hidden' borders should be treated as 'none')
git-svn-id: svn://10.0.0.236/trunk@75640 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:40:57 +00:00
pierre%netscape.com
01e1854745 40325 (subtracting dev2app in some cases)
git-svn-id: svn://10.0.0.236/trunk@75639 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:40:22 +00:00
pierre%netscape.com
6e8b05fbf3 9816 (Outlines should be disabled completely for FCS)
46562 ('display: run-in' disables whole declaration block)
45804 (In quirks mode, 0 in 'border' should set the width, not the color)
46547 (Background image not centered correctly)
Thanks to emk <VYV03354@nifty.ne.jp>


git-svn-id: svn://10.0.0.236/trunk@75638 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:40:03 +00:00
pierre%netscape.com
1dc88b3a49 46599 (nsCSSLoader should check for local file before passing FORCE_RELOAD)
git-svn-id: svn://10.0.0.236/trunk@75637 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:39:43 +00:00
pierre%netscape.com
43328ae9b9 6782 (UI for alternate and user stylesheets)
Thanks to Tim Hill <tim@prismelite.com>


git-svn-id: svn://10.0.0.236/trunk@75636 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:39:20 +00:00
pierre%netscape.com
47661c52c3 43420 (textarea inherits align="center" from parent td)
git-svn-id: svn://10.0.0.236/trunk@75635 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:37:57 +00:00
scc%mozilla.org
d1f2f5f430 added comments and made some changes suggested by reviewers; still not in the build
git-svn-id: svn://10.0.0.236/trunk@75634 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 04:25:49 +00:00
nelsonb%netscape.com
3b6ca9fa3d Platform independent performance enhancements to functions that multiply,
square, subtract, right shift, compare, mul_d_add_offset.  This lib's
Modular Exponentiation performance now compares favorably with most (not
all) other open source bignum libs on IRIX/R5000.  No assembler code is
presently being used.  Comparison on other platforms will now commence.


git-svn-id: svn://10.0.0.236/trunk@75633 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 03:37:46 +00:00
scc%mozilla.org
2bca44595d everything's in and working correctly (as far as my tests show), still not in the build, but that's what I'm about to change with my next set of checkins
git-svn-id: svn://10.0.0.236/trunk@75632 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 03:32:36 +00:00
anthonyd%netscape.com
949da90c17 moving editor prefs to editor directory
see bug# 36911
r: ben


git-svn-id: svn://10.0.0.236/trunk@75631 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 02:30:20 +00:00
anthonyd%netscape.com
493cb696b1 moving editor prefs to editor directory
see bug #36911
r: ben


git-svn-id: svn://10.0.0.236/trunk@75630 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 02:29:21 +00:00
anthonyd%netscape.com
fab5f0e8c6 moving editor prefs to editor directory
see bug # 36911
r: ben


git-svn-id: svn://10.0.0.236/trunk@75629 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 02:28:33 +00:00
anthonyd%netscape.com
60a8fb57b9 moving editor prefs into editor directory
see bug # 36911
r: ben


git-svn-id: svn://10.0.0.236/trunk@75628 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 02:24:55 +00:00
anthonyd%netscape.com
5328408867 updating jar packaging file thingy
moving editor prefs into editor directory
see bug# 36911
r: ben


git-svn-id: svn://10.0.0.236/trunk@75627 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 02:23:00 +00:00
anthonyd%netscape.com
e2defa80a4 moving editor prefs to editor directory
see bug# 36911
r: ben


git-svn-id: svn://10.0.0.236/trunk@75626 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 02:21:59 +00:00
scc%mozilla.org
ac22cf0d43 still not part of the build; I think everything's there, though. Some further testing and I'll add it to the build
git-svn-id: svn://10.0.0.236/trunk@75625 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 02:13:59 +00:00
morse%netscape.com
574ca98f39 bug 45219, submitted by Robert O'Callahan, r=morse
git-svn-id: svn://10.0.0.236/trunk@75624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 01:57:43 +00:00
scc%mozilla.org
b4f3e207de still not part of the build; more work adding the new functions. More to come
git-svn-id: svn://10.0.0.236/trunk@75623 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 01:15:45 +00:00
despotdaemon%netscape.com
f37ae32bf4 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@75622 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 01:04:16 +00:00
syd%netscape.com
36c6905dbc Add a couple of prlog messages. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@75621 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 00:59:08 +00:00
syd%netscape.com
de7f716024 Add some prlog support for debugging image usage, r=pavlov. Debug only.
git-svn-id: svn://10.0.0.236/trunk@75620 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 00:58:24 +00:00
scc%mozilla.org
6666966a06 These files are not yet part of the build; making global versions of |IsASCII|, |ToNewCString|, and |ToNewUnicode| that apply to readables, since we don't want them as member functions (where they were in |ns[C]String|). Vidur needs these to convert DOM interfaces over to readables.
git-svn-id: svn://10.0.0.236/trunk@75619 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 00:51:37 +00:00
cata%netscape.com
99abc99837 Fix for bug #37543, a=ftang, r=nhotta.
git-svn-id: svn://10.0.0.236/trunk@75618 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 00:07:03 +00:00
pierre%netscape.com
078c67b29e Bug 38445: Complete support of CSS2/3 cursors on Mac
git-svn-id: svn://10.0.0.236/trunk@75617 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 23:40:10 +00:00
pnunn%netscape.com
89ea537905 bug#474711: don't mess with channel load attributes. pnunn.
git-svn-id: svn://10.0.0.236/trunk@75616 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 23:37:41 +00:00
cata%netscape.com
c5c4b10703 Fix for bug #28983. a=ftang, r=nhotta.
git-svn-id: svn://10.0.0.236/trunk@75615 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 23:30:36 +00:00
dave%intrec.com
3e95147460 Removing a couple lines from the patch for bug 31336 that got left in by
accident.


git-svn-id: svn://10.0.0.236/trunk@75614 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 23:16:01 +00:00
despotdaemon%netscape.com
1f446ac625 Pseudo-automatic update of changes made by dr@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75613 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 23:02:41 +00:00
bienvenu%netscape.com
dfbe05c370 fix cntrl drag drop r=putterman 47195
git-svn-id: svn://10.0.0.236/trunk@75612 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 22:53:53 +00:00
ducarroz%netscape.com
bb7e1f917d Fix for bug 46040. We need to dismiss the popup menu when the user press the tab key. R=mscott
Aso, I have incorporated a patch submitted by Matthew Cline (bug 42582)


git-svn-id: svn://10.0.0.236/trunk@75611 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 22:40:52 +00:00
ducarroz%netscape.com
dbe6386040 Fix for bug 47224. Remove QUote button and menu item. R=mscott
git-svn-id: svn://10.0.0.236/trunk@75610 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 22:24:50 +00:00
syd%netscape.com
00879e6faa Set sane permissions on files. Let umask protect the user. r=rjc,dougt
Partial fix for 43091.


git-svn-id: svn://10.0.0.236/trunk@75609 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 22:13:59 +00:00
syd%netscape.com
d0df16da36 Set sane directory permissions on creation. Partial fix for 43091. r=dougt
git-svn-id: svn://10.0.0.236/trunk@75608 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 22:13:10 +00:00
edburns%acm.org
0b79e56e49 a=edburns
author=Oleg Khokhlov
r=edburns
bug=47026


git-svn-id: svn://10.0.0.236/trunk@75607 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 21:46:10 +00:00
shanjian%netscape.com
309c493895 #14022 IME98 Reconversion does not work in HTML Editor
r = jfrancis
a = ftang
fix proposed by m_kato@ga2.so-net.ne.jp

New events are added to support reconversion. As a result, many files
are affected. They are:
editor:
  nsEditor.h nsEditor.cpp nsEditorEventListeners.cpp nsEditorEventListeners.h
  nsHTMLEditor.h nsHTMLEditor.cpp nsIEditorIMESupport.h
dom and layout:
  nsIPrivateCompositionEvent.h nsDOMEvent.h nsDOMEvnet.cpp nsEventListenerManager.cpp
  nsIDOMCompositionListener.h
widget:
  nsGUIEvent.h nsWindow.h nsWindow.cpp


git-svn-id: svn://10.0.0.236/trunk@75606 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 21:43:29 +00:00
ducarroz%netscape.com
4274b76e4b Fix for bug 47250. As we cannot have more than one keyset per window, we need to define key outside the keyset tag in the overlay. That let other window that includes the overlay defines their own keyset and eventually includes some of the keys defined in the overlay. R=cmanske
git-svn-id: svn://10.0.0.236/trunk@75605 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 21:37:00 +00:00
ducarroz%netscape.com
505db84772 Fix for bug 47250. As we cannot have more than one keyset per window, we need to define key outside the keyset tag in the overlay. That let other window that includes the overlay defines their own keyset and eventually includes some of the keys defined in the overlay. R=cmanske
git-svn-id: svn://10.0.0.236/trunk@75604 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 21:35:32 +00:00
nbhatla%netscape.com
33f2a3f0a0 #46519 -> Mac Classic Skin Polish. Adds a new class, "plain-extended", so that Mac Classic can have square buttons with the proper rollover behavior built in.
git-svn-id: svn://10.0.0.236/trunk@75603 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 21:23:33 +00:00
rogerl%netscape.com
675a4909ec Added 'static' to global object routines.
git-svn-id: svn://10.0.0.236/trunk@75601 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:54:24 +00:00
brade%netscape.com
6ab4e4c364 fix src/dest d&d (do move if in same doc unless modifier key is pressed); bug #45607; r=kin
git-svn-id: svn://10.0.0.236/trunk@75600 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:51:33 +00:00
brade%netscape.com
62a1a50415 remove extra '"' character discovered in UI review
git-svn-id: svn://10.0.0.236/trunk@75599 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:47:40 +00:00
attinasi%netscape.com
ad73ad64b4 Part of fix to allow background on BODY element to be inherited. b=47127 r=pierre
git-svn-id: svn://10.0.0.236/trunk@75598 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:44:08 +00:00
blizzard%redhat.com
18e020c6e2 fix for bug #26509. in nsIWidget::Show() try to grab if the last grab attempt wasn't successful since in unix the window has to be visible to complete a grab. context menus shouldn't travel to seperate desktops now. r=pavlov, a=waterson
git-svn-id: svn://10.0.0.236/trunk@75597 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:42:11 +00:00
akkana%netscape.com
015402bf44 Comment out annoying debugging statements. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@75596 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:39:53 +00:00
rogerl%netscape.com
3e8715b85d Oops. Left icode output on by default, now off.
git-svn-id: svn://10.0.0.236/trunk@75595 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:37:42 +00:00
rogerl%netscape.com
609feb88b0 Prototype munging for built-in global properties, implemented Function
object & Boolean object.


git-svn-id: svn://10.0.0.236/trunk@75594 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:28:35 +00:00
dprice%netscape.com
5c6168c2e7 adding recursive delete function
git-svn-id: svn://10.0.0.236/trunk@75593 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:25:42 +00:00
nelsonb%netscape.com
95e246df1c Minor performance tweaks.
git-svn-id: svn://10.0.0.236/trunk@75592 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 19:58:20 +00:00
nelsonb%netscape.com
a09176abf2 Add new signed mp_word type, mp_sword. Used to get arithmetic right
shifts when doing subtraction.


git-svn-id: svn://10.0.0.236/trunk@75591 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 19:57:24 +00:00
varada%netscape.com
28c3bd6e13 fix for bug#47328 - not able to launch customized netscape;caused by all-ns.js using properties files for the values- changed ib.cpp and script.ib to reflect that
git-svn-id: svn://10.0.0.236/trunk@75590 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 18:09:21 +00:00
dimator%netscape.com
24dec09e8d Fix for 25984. Adding sort direction indicators to thread pane column headers. r=putterman
git-svn-id: svn://10.0.0.236/trunk@75589 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 17:37:29 +00:00
danm%netscape.com
6255a55a42 use explicit on-screen widget placement constraints when restoring window positions from persistent storage. bug 31516 r=saari@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75588 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 14:52:44 +00:00
danm%netscape.com
051accf240 (empty) implementations of new nsIWidget method ConstrainPosition. bug 31516 r=saari@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75587 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 14:49:36 +00:00
danm%netscape.com
2c3b51f21e implement new method ConstrainPosition. bug 31516 r=saari@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75586 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 14:48:33 +00:00
danm%netscape.com
e806f00627 new method ConstrainPosition provides implementation-dependent on-screen check for top-level windows. bug 31516 r=saari@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75585 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 14:47:46 +00:00
dcone%netscape.com
786e362567 took ViewManager.cpp out of build. b=42845 r=kmcclusk.
git-svn-id: svn://10.0.0.236/trunk@75584 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 13:55:36 +00:00
rods%netscape.com
be2c89358c removed content-box from radio and checkboxes and set their sizes appropriately
set the background-color for the select arrow button "buttonface" partial fix to Bug 43371
b=32102 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75583 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 13:01:15 +00:00
rods%netscape.com
e8c4114f94 Setting up some special NavQuirks rules for input type=text
part of the checkin for 44656 making the NavQuirks font moz-fixed
b=25580 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75582 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 12:49:16 +00:00
brade%netscape.com
5070ddccdf fix menu and tooltip strings per UI meeting and verah (bug #47509)
git-svn-id: svn://10.0.0.236/trunk@75581 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 10:50:41 +00:00
brade%netscape.com
43668f9f3b remove font dropdown list from toolbar per Composer UI review (bug #47506)
git-svn-id: svn://10.0.0.236/trunk@75580 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 10:50:05 +00:00
brade%netscape.com
bc66503877 add meta="false"
git-svn-id: svn://10.0.0.236/trunk@75579 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 10:30:33 +00:00
brade%netscape.com
dab607b76d remove reference to View | Paragraph Marks since the Composer team has decided not to support/fix it for 6.0 (bug #47525); per Composer UI review team
git-svn-id: svn://10.0.0.236/trunk@75578 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 10:27:44 +00:00
brade%netscape.com
80e74d5cad add keybinding for fixed width font, add shift="false" to increase/decrease indent, new string for Insert | HTML..., remove Insert | Break and Insert | Break below Images (#47523), move Revert to after SaveAsCharset (#47211), remove Edit | HTML Source (#47523), remove View | Paragrah Marks, new string/accesskey added for Insert | HTML..., remove separator, Break and BreakBelowImages from Insert menu (#47523), comment out Format | Background Color since it will be moving soon, renumber Format menu, move Align after decrease indent (all per UI review)
git-svn-id: svn://10.0.0.236/trunk@75577 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 10:25:07 +00:00
brade%netscape.com
fff9c46875 fix menu and tooltip strings per UI meeting and verah (bug #47509); add shortcut keybinding for fixed width font
git-svn-id: svn://10.0.0.236/trunk@75576 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 10:25:00 +00:00
brade%netscape.com
4bb371ccf8 remove unnecessary include of nsContextMenu.js (bug #43239) and remove viewParagraphMarks menu item per UI review meeting (bug #47525)
git-svn-id: svn://10.0.0.236/trunk@75575 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 10:12:28 +00:00
brade%netscape.com
c640ba1cdd removed unnecessary references to nsContextMenu.js (bug #43239)
git-svn-id: svn://10.0.0.236/trunk@75574 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 10:10:47 +00:00
hyatt%netscape.com
b364cb52f1 Working on 42320.
git-svn-id: svn://10.0.0.236/trunk@75573 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 08:45:29 +00:00
cls%seawood.org
2d670205ca Dump bloat & leak stats if NS_BUILD_REFCNT_LOGGING is set. Needed for bloat stats of optimized builds.
git-svn-id: svn://10.0.0.236/trunk@75572 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 06:59:18 +00:00
jst%netscape.com
4407fd3225 Checking in for Vidur (merging from SeaMonkey_M17_BRANCH). Fixing nsbeta2+ bug 9392, removing code that was hiding the correct native code for document.plugins. r=jst@netscape.com, a=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75571 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 06:55:53 +00:00
pavlov%netscape.com
3f19f00c3d removing an ifdef DEBUG_pavlov printoutlotsofstuff line
git-svn-id: svn://10.0.0.236/trunk@75569 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 06:02:42 +00:00
risto%netscape.com
60b136be9a Just added a newline for test purposes
git-svn-id: svn://10.0.0.236/trunk@75568 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 04:49:05 +00:00
endico%mozilla.org
7d5671b96f deleted a blank line just to test whether cvs and bonsai are working
git-svn-id: svn://10.0.0.236/trunk@75567 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 04:13:39 +00:00
dmose%mozilla.org
beef116e47 All currently known ChoadWarrior warnings in the LDAP code have been fixed. Another item removed from the TODO list. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75566 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:57:58 +00:00
dmose%mozilla.org
6cb3b03749 Removed trailing semicolons after NS_DECL stuff to keep ChoadWarrior from whining. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75565 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:55:12 +00:00
pollmann%netscape.com
88223f90eb Bug 3326: ISINDEX frame; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75563 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:45:50 +00:00
alecf%netscape.com
63118d9d2f fix for #46712 and #46491
r=warren
- remove chrome dependancy from string bundles, finally (yay)
- flush the string bundle cache according to the memory pressure observer
- expose flushing in the nsIStringBundle API so that chrome can flush it


git-svn-id: svn://10.0.0.236/trunk@75562 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:43:10 +00:00
rhp%netscape.com
a198ebbdca Fix for old code shadowing variables - Bug #: 64922 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@75561 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:41:08 +00:00
rhp%netscape.com
6d33d62c09 Fixes for progress in absync - Bug #: 1787 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@75560 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:40:51 +00:00
pollmann%netscape.com
3e47a7f9ad Bug 40533: browser crashes when submit nothing with event on file upload; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75559 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:39:33 +00:00
nbhatla%netscape.com
b6f7c7de1a Bug #46519 -> Mac Classic Skin Polish fixes. Removed parallel line images from toolbars, etc., I had added yesterday.
git-svn-id: svn://10.0.0.236/trunk@75558 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:36:37 +00:00
pollmann%netscape.com
7db58c7c36 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75557 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:32:02 +00:00
bryner%uiuc.edu
2b0d3efc1d Fixing 42056 - get rid of nonfunctional history list in linux
filepicker.  r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@75556 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:31:49 +00:00
slamm%netscape.com
f2da23cf45 Take 'Mail Folders' or 'Addressbooks' title out of a splitter. It is not needed and messes up the pointer (turns into an arrow for dragging). Allow add a high flex number to the tree. This fixes the persistence for the sidebar height. Bug 26259. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@75555 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:29:25 +00:00
slamm%netscape.com
f453ae5f12 Mini-hack for splitter/grippy behavior on sidebarheader. The grippy code must look for a 'splitter' tag because the 'sidebarheader' does not work even though it is derived from a splitter. bug 26259. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@75554 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:29:20 +00:00
slamm%netscape.com
edb98d1f1a Images for 'My Sidebar' title grippy. Bug 26259 r=mcafee
git-svn-id: svn://10.0.0.236/trunk@75553 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:29:17 +00:00
slamm%netscape.com
c9b08426a2 New styles for 'My Sidebar' title grippy. Bug 26259 r=mcafee
git-svn-id: svn://10.0.0.236/trunk@75552 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:28:22 +00:00
slamm%netscape.com
e131978b75 Add grippy to sidebarheader. bug 26259. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@75551 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:25:43 +00:00
slamm%netscape.com
e3773008d1 Add horizontal grippy images. bug 26259. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@75550 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:25:35 +00:00
hyatt%netscape.com
b61e7de349 Fix for 17470.
git-svn-id: svn://10.0.0.236/trunk@75549 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:21:23 +00:00
mcafee%netscape.com
963bb55a42 Removing dead pref-imageblocking.{xul,dtd} (40888). r=slamm, morse.
git-svn-id: svn://10.0.0.236/trunk@75548 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:20:01 +00:00
morse%netscape.com
1063d13178 bug 44514, speed up loading of wallet tables, r=dbragg
git-svn-id: svn://10.0.0.236/trunk@75547 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:19:32 +00:00
pollmann%netscape.com
591cd3bd14 Bug 42616: form actions with anchor specified (#) do not work; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75546 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:03:58 +00:00
shanjian%netscape.com
3a788283fa #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
r = ftang a=ftang
changes made in word break and word jump.


git-svn-id: svn://10.0.0.236/trunk@75545 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:03:08 +00:00
BlakeR1234%aol.com
f442cb2995 Remove hover effects for HTML buttons (38427). r=me (simple commenting change), a=ekrock.
git-svn-id: svn://10.0.0.236/trunk@75544 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:58:06 +00:00
sgehani%netscape.com
95c966af04 Fix indexing during IDI generation. [nsbeta3+ bugscape b=1740; r=dbragg]
git-svn-id: svn://10.0.0.236/trunk@75543 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:49:30 +00:00
dmose%mozilla.org
5bd2a72847 added one item, dropped one item, completed one item. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75542 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:48:08 +00:00
pinkerton%netscape.com
c951c080a5 Damn, forgot to check this in too
git-svn-id: svn://10.0.0.236/trunk@75541 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:48:07 +00:00
dmose%mozilla.org
910a966147 get rid of C-style casts. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75540 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:47:11 +00:00
dmose%mozilla.org
054fa6446d add XXX cleanup reminder comment. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75539 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:46:42 +00:00
dmose%mozilla.org
2766e71f0f remove NS_ERROR_LDAP_SUCCESS, as non-NS_OK success codes are considered bad form, and this one wasn't even used yet. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75538 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:45:43 +00:00
dmose%mozilla.org
985a0b5df5 add XXX comment to remind about future cleanup. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75537 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:43:43 +00:00
hyatt%netscape.com
7517933b86 Fix for 42451.
git-svn-id: svn://10.0.0.236/trunk@75536 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:42:36 +00:00
ashuk%eng.sun.com
a2522e3fb6 Minor change to get Webclient to compile on Solaris
author=ashuk

cvs diff dom_util.h (in directory D:\M16\mozilla\java\webclient\src_moz\)
Index: dom_util.h
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/src_moz/dom_util.h,v
retrieving revision 1.1
diff -r1.1 dom_util.h
28a29
> #include "nsIDOMDocument.h"

*****CVS exited normally with code 1*****


git-svn-id: svn://10.0.0.236/trunk@75535 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:35:14 +00:00
pollmann%netscape.com
f8b1d4c014 Bug 45540: Badly nested form + focus input -> input not a submitter; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75534 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:32:54 +00:00
ducarroz%netscape.com
179ab2ace8 Fix for bug 46678. We need to ignore onInput event right after somebody set the value of the textfield else autocomplete will start. R=radha
git-svn-id: svn://10.0.0.236/trunk@75533 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:31:28 +00:00
anthonyd%netscape.com
d503a47c59 nsPresContext.cpp : added to comment to presContext::GetLookAndFeel to inform others that
that method has been depricated.
nsTextFrame.cpp : changed an assert to a warning, didnt need to be an assert.
r: mjudge@netscape.com


git-svn-id: svn://10.0.0.236/trunk@75532 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:30:47 +00:00
ducarroz%netscape.com
4f634fec92 Fix for bug 47362. Add tooltip on attachment. R=mscott
git-svn-id: svn://10.0.0.236/trunk@75531 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:28:17 +00:00
pollmann%netscape.com
d358511c25 Bug 40383: Treat frameset rows spec 0* as 1* in quirks mode; r=harishd
git-svn-id: svn://10.0.0.236/trunk@75530 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:26:56 +00:00
pinkerton%netscape.com
190e0ada1c oops, forgot to check this in.
git-svn-id: svn://10.0.0.236/trunk@75529 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:25:23 +00:00
pollmann%netscape.com
e5357b4864 Bug 35986: document==NULL for FRAMEs created without SRC; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75528 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:23:48 +00:00
pollmann%netscape.com
ac0908f872 Bug 40394: Strip only one leading LF if there is one; r=harishd
git-svn-id: svn://10.0.0.236/trunk@75527 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:19:43 +00:00
mscott%netscape.com
6346d8dd30 Landing branch fix to the trunk. bug #47248 --> Implement MoveTo for Unix.
git-svn-id: svn://10.0.0.236/trunk@75526 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:17:43 +00:00
pollmann%netscape.com
f0c8471679 Bug 26945: Image input onclick fires but doesn't allow cancel via return false; r=harishd
git-svn-id: svn://10.0.0.236/trunk@75524 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:17:14 +00:00
BlakeR1234%aol.com
f8929164c8 Fix bug 47481, all menus have autoscrollers (caused by ben's classic skin changes last night). simple fix. r=me, a=pink
git-svn-id: svn://10.0.0.236/trunk@75523 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:15:09 +00:00
mscott%netscape.com
4e206cca95 landing branch fix to trunk. Bug #47248 ---> Fix GetParent such that if appendedPath is an empy string we treat it the same as if it were null and create a dummy path.
r=dougt


git-svn-id: svn://10.0.0.236/trunk@75522 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:13:34 +00:00
pollmann%netscape.com
c6beecf00a Bug 34418: image input can't be submitted by space or enter; r=harishd
git-svn-id: svn://10.0.0.236/trunk@75521 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:11:57 +00:00
mcafee%netscape.com
8cd4c5c87d about: page needs to be HTML 4.0 (39231). patch=gemal, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@75520 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:11:21 +00:00
bryner%uiuc.edu
61ba79db7b Fixing bug 47536 - column hiding is broken. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@75519 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:09:57 +00:00
pinkerton%netscape.com
98dee5f779 part of fix for 46001, support |collapsed| attribute in addition to |hidden| to hide mac menus.
git-svn-id: svn://10.0.0.236/trunk@75518 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:09:00 +00:00
blizzard%redhat.com
d64971e8ac fix for bug #42401. only add a queue that is native to the event queue list that is processed by the main UI event loop. this should fix no painting on linux when the imap password dialog comes up. r=danm, bryner, mscott a=vidur
git-svn-id: svn://10.0.0.236/trunk@75517 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:08:29 +00:00
pinkerton%netscape.com
9ba2a8e9f2 patch from dean_tessman@hotmail.com for 32685. Check if item is disabled before allowing key navigation into submenus.
git-svn-id: svn://10.0.0.236/trunk@75516 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:07:49 +00:00
ftang%netscape.com
e72957f677 fix bug 46684 r=nhotta a=ftang convert unicode to file system charset
git-svn-id: svn://10.0.0.236/trunk@75515 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:07:14 +00:00
pinkerton%netscape.com
d8ee1444e0 Actually set the modifier keys before dispatching d&d event into gecko. r=bienvenu, bug#47195
git-svn-id: svn://10.0.0.236/trunk@75514 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:06:10 +00:00
pollmann%netscape.com
7f1111f79f Bug 40412: image inputs should send x and y not .x and .y if no name; r=harishd
git-svn-id: svn://10.0.0.236/trunk@75513 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:05:44 +00:00
blizzard%redhat.com
b432316444 fix makefile to work with objdir r=dougt a=waterson
git-svn-id: svn://10.0.0.236/trunk@75512 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:05:31 +00:00
pinkerton%netscape.com
60666b3047 Fix for 47413, better impl of ResolveShortcut() thanks to sean@beatnik.com a=waterson
git-svn-id: svn://10.0.0.236/trunk@75511 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:05:09 +00:00
hyatt%netscape.com
4d615c76d5 Fix for 46862 and 47346. r=pink
git-svn-id: svn://10.0.0.236/trunk@75510 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:05:07 +00:00
valeski%netscape.com
ffe961ce34 r=dp. removing extraneous junk
git-svn-id: svn://10.0.0.236/trunk@75509 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:04:28 +00:00
valeski%netscape.com
05ef997c3f getting cookie service to startup in conjunction with the http category.
git-svn-id: svn://10.0.0.236/trunk@75508 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:03:34 +00:00
pollmann%netscape.com
6ca99ffa40 7913 Dynamic changing of ROWS and COLS for framesets; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75507 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:02:50 +00:00
hyatt%netscape.com
2b75bd07ae I'm told backing this out resolves smoketest issues, so here it comes. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@75505 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 21:40:39 +00:00
edburns%acm.org
af2702d036 bug=47357
a=edburns
r=ashuk

This change creates a new directory, java/webclient/src_share, that
contains the code that will be used in both src_moz and src_ie, and any
other native browser wrapping implementations.

Here are the steps I followed to implement this change.

1. Create a new directory java/webclient/src_share

2. Move all jni_util*.* files from src_moz into src_share

3. Make it so src_share compiles into a new .lib

   src_share has no netscape dependencies.  Any functionality that
   depended on ns dependencies was kept in src_moz.  In this case, we
   have a function prototype only in src_share, with the implementation
   in src_moz.  We did this for nsHashtable.  The other trick was for
   things in WebShellInitContext that had nothing to do with Netscape.
   This case was accomodated by creating a new struct, ShareInitContext,
   that contains all WebShellInitContext members that have nothing to do
   with Netscape.  Currently this is just jobject propertiesClass.  I
   modified the WebShellInitContext struct to contain a ShareContext
   struct as its last member.  There are two new methods in jni_util.h
   that allow for the initialization and deallocation of the members of
   the ShareContext struct.

4. Make it so src_moz uses the new .lib to provide the jni_util behavior

  a. Create ns_util* files that include ../src_share/jni_util* files
  appropriately.

  The only tricky part was for things in jni_util.h that

Here's the list of files in this change.

cvs -z3 -n update (in directory D:\Projects\mozilla\java\webclient)
cvs server: Updating .
M Makefile.win // added src_share to DIRS
M src_moz/BookmarksImpl.cpp             // include ns_util instead of jni_util
M src_moz/CBrowserContainer.cpp         // include ns_util instead of jni_util
M src_moz/CBrowserContainer.h           // include ns_util instead of jni_util
M src_moz/CurrentPageImpl.cpp           // include ns_util instead of jni_util
M src_moz/HistoryImpl.cpp               // include ns_util instead of jni_util
M src_moz/Makefile.win                  // include ns_util instead of jni_util
M src_moz/NativeEventThread.cpp         // include ns_util instead of jni_util
M src_moz/NavigationImpl.cpp            // include ns_util instead of jni_util
M src_moz/RDFEnumeration.cpp            // include ns_util instead of jni_util
M src_moz/RDFTreeNode.cpp               // include ns_util instead of jni_util
M src_moz/WindowControlImpl.cpp         // include ns_util instead of jni_util
                                        // also use new util_InitShareContext
                                        // function
M src_moz/WrapperFactoryImpl.cpp        // include ns_util instead of jni_util
R src_moz/jni_util.cpp                  // moved to ../src_share
R src_moz/jni_util.h                    // moved to ../src_share
R src_moz/jni_util_export.cpp           // moved to ../src_share
R src_moz/jni_util_export.h             // moved to ../src_share
M src_moz/nsActions.cpp                 // include ns_util instead of jni_util
                                        // also use new
util_DeallocateShareContext
M src_moz/nsActions.h                   // include ns_util instead of jni_util
A src_moz/ns_util.cpp                   // include jni_util.h
A src_moz/ns_util.h                     // include jni_util.h, changes to
                                        // WebshellInitContext struct
A src_moz/ns_util_export.cpp            // provide impls for methods in
                                        // jni_util_export.h

A src_share/Makefile.win
A src_share/bal_util.cpp
A src_share/bal_util.h
A src_share/jni_util.cpp
A src_share/jni_util.h
A src_share/jni_util_export.cpp
A src_share/jni_util_export.h

*****CVS exited normally with code 0*****


git-svn-id: svn://10.0.0.236/trunk@75504 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 21:32:54 +00:00
dprice%netscape.com
7e5be17e07 removes copied files. Doesn't remove created directories yet.
git-svn-id: svn://10.0.0.236/trunk@75503 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 20:58:31 +00:00
ducarroz%netscape.com
673a0e90e3 Fix for bug 47497 (tree blocker). We should not pass rv to the call do_queryInterface in this case because failure here doesn't mean that the whole function failed. R=bienvenu
git-svn-id: svn://10.0.0.236/trunk@75502 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 20:50:00 +00:00
kzhou%netscape.com
e54841f4dc bug #46136. r:valeski, a:leaf. Reset mIP6vChecked as PR_FASLE to prevent browser
from hunging for ftp protocol


git-svn-id: svn://10.0.0.236/trunk@75501 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 20:05:22 +00:00
ducarroz%netscape.com
ce8553e8e4 Fix for tree blocker bug 47391. Do not try to update menu that doesn't exist. R=bienvenu,alecf
git-svn-id: svn://10.0.0.236/trunk@75500 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 19:58:10 +00:00
cotter%netscape.com
e6e1303445 Corrected date at top.
git-svn-id: svn://10.0.0.236/trunk@75499 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 17:24:43 +00:00
cotter%netscape.com
4158b80ece Updated platforms supported (deleted Solaris 2.5.1).
git-svn-id: svn://10.0.0.236/trunk@75498 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 17:23:45 +00:00
blizzard%redhat.com
5144480c38 documentation change only
git-svn-id: svn://10.0.0.236/trunk@75497 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 15:02:42 +00:00
bienvenu%netscape.com
74bcf1aa68 fix 47445 restore default pref for threading by subject without re
git-svn-id: svn://10.0.0.236/trunk@75495 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 14:15:27 +00:00
rods%netscape.com
46e78ab3ba 40000 - right-click events don't go through listboxes (onmoused
44454 - Can't drag-scroll/-select in single-select HTML listbox
42301 - select generates onchange when it shouldn't
33421 - <optgroup> in <select> breaks scrolling drop down lists
14771 - GFX list/combo box doesn't respond to keyboard input
b=40000, 44454, 42301, 33421, 14771 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75494 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 14:13:58 +00:00
rods%netscape.com
b077844144 47302 - moved the RegUnRegAccessKey to the Destroy Method
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@75493 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 14:13:40 +00:00
roc+%cs.cmu.edu
771c0a8519 Removing TABLE SUMMARY from browser tooltips. Bug #45735. r=ben, a=brendan
git-svn-id: svn://10.0.0.236/trunk@75492 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 13:42:52 +00:00
mkaply%us.ibm.com
8352f40ed0 OS/2 Tinderbox break
Need PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@75491 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 13:26:02 +00:00
locka%iol.ie
f467190080 NOT PART OF BUILD. Completed nsICommandHandler implementation. Added [retval] tag to out param in IDL file to make Javascript invocation easier.
git-svn-id: svn://10.0.0.236/trunk@75490 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 12:44:38 +00:00
ben%netscape.com
252508877d search button should not take focus.
git-svn-id: svn://10.0.0.236/trunk@75489 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 09:59:57 +00:00
ben%netscape.com
f87e7f5128 add license
git-svn-id: svn://10.0.0.236/trunk@75488 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 09:19:44 +00:00
warren%netscape.com
efbf2efe18 Fixed location of manifest.rdf
git-svn-id: svn://10.0.0.236/trunk@75487 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 09:04:05 +00:00
ben%netscape.com
a76a7c7b44 yay me. I suck. making <menubar> use menubarframe like it should instead of boxframe.
git-svn-id: svn://10.0.0.236/trunk@75486 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 09:01:18 +00:00
warren%netscape.com
6776b3e51d Fixed slashes and filenames that were too long for mac.
git-svn-id: svn://10.0.0.236/trunk@75485 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 08:57:40 +00:00
valeski%netscape.com
d79be2eab5 removing crusty include
git-svn-id: svn://10.0.0.236/trunk@75484 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 07:59:32 +00:00
valeski%netscape.com
ca2a231ff6 removing unneeded import lib/static lib links
git-svn-id: svn://10.0.0.236/trunk@75483 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 07:56:58 +00:00
dprice%netscape.com
3b6f776e04 adding manifest for modern skin jar
NOT IN THE BUILD


git-svn-id: svn://10.0.0.236/trunk@75482 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 07:35:28 +00:00
ben%netscape.com
d788e10b1e remove dead files
git-svn-id: svn://10.0.0.236/trunk@75481 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 07:18:17 +00:00
ben%netscape.com
f6db62710d fix for a bug with XBL binding attached event that was causing the event to be fired repeatedly.
code by hyatt, r=me


git-svn-id: svn://10.0.0.236/trunk@75480 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 07:17:10 +00:00
ben%netscape.com
9869871538 fix orange
git-svn-id: svn://10.0.0.236/trunk@75479 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 07:07:28 +00:00
ben%netscape.com
c17bb7417e die crapintosh
git-svn-id: svn://10.0.0.236/trunk@75478 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 07:06:17 +00:00
valeski%netscape.com
ced7b8dee1 cleanup
git-svn-id: svn://10.0.0.236/trunk@75477 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 07:00:14 +00:00
ben%netscape.com
c8d24f950d forgot this
git-svn-id: svn://10.0.0.236/trunk@75476 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 06:45:06 +00:00
dprice%netscape.com
5a7557e7bc added manifest.rdf
git-svn-id: svn://10.0.0.236/trunk@75475 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 06:44:46 +00:00
valeski%netscape.com
82432b560f removed defer logic as cookies are only accessed from the main thread. removed unused functions, converted stripline over to nsString equivelent, changed cookie deletion and list removal mechansim to use already cached indexes so we don't search the list again everytime we want to remove an element. also removed some extraneous statics
git-svn-id: svn://10.0.0.236/trunk@75474 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 06:40:35 +00:00
ben%netscape.com
7d04b93d30 toolbar landing 44756, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@75473 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 06:36:17 +00:00
ben%netscape.com
0051ef1580 toolbar landing 44756
git-svn-id: svn://10.0.0.236/trunk@75472 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 06:29:59 +00:00
ben%netscape.com
664eb83eb4 classic skin landing from hell
46613 - polish!


git-svn-id: svn://10.0.0.236/trunk@75471 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 06:24:33 +00:00
cls%seawood.org
e00c9de47a Oops. Did a lxr search on the wrong thing. Change -DB1M to -DB_ONE_M since WS5.0 appears to not handle the former properly in all cases.
git-svn-id: svn://10.0.0.236/trunk@75470 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 06:07:33 +00:00
cls%seawood.org
63bdecee46 Removing unused define that appeared to be causing WS5.0 to occassionaly complain about the use of -D without an argument.
git-svn-id: svn://10.0.0.236/trunk@75469 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 05:34:19 +00:00
valeski%netscape.com
7e14301340 removing lock/monitor usage from cookie code. cookies live on the main thread and any cross thread communication is marshalled, thus no need for this stuff. also fixing nsVoidArray leak. also cleaning up extraneous nsString usage. Also adding functional test harness for win32
git-svn-id: svn://10.0.0.236/trunk@75468 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 04:57:23 +00:00
BlakeR1234%aol.com
0387f5b165 Fix bug 41345, implement checkmarks for the current visited page in the Go menu (as IE 5.x and NN 4.x do). r=jag, a=radha
git-svn-id: svn://10.0.0.236/trunk@75467 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 03:42:22 +00:00
kmcclusk%netscape.com
232df3fbb8 Removed references to viewmanager1 in nsViewFactory. Removed ViewManager1 from the build on WIN32, and Linux. b=42845 r=attinasi@netscape.com. tested=win32,linux
git-svn-id: svn://10.0.0.236/trunk@75466 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 03:36:10 +00:00
mkaply%us.ibm.com
08b40967ac r=mkaply, a=brendan
Tinderbox break - Should have been info.fExtensionArray


git-svn-id: svn://10.0.0.236/trunk@75465 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 02:20:17 +00:00
bienvenu%netscape.com
b9afe959ed fix bugs having to do with imap msg copying failing 46876 46914 etc r=mscott
git-svn-id: svn://10.0.0.236/trunk@75464 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 01:25:12 +00:00
bienvenu%netscape.com
948bf4aaf6 fix 28117 copying online to offline loses read state of msg r=mscott
git-svn-id: svn://10.0.0.236/trunk@75463 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 01:22:45 +00:00
pinkerton%netscape.com
87a6f925d2 Most of fix for 37412. Expand d&d so that when we're asking for a url and
don't have one, we check if a file is being dropped. If so, either give
the file:// url or read in the InternetShortcut.


git-svn-id: svn://10.0.0.236/trunk@75462 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:47:36 +00:00
nbhatla%netscape.com
28d4751238 Bug #46518 -> Mac Classic Skin Polish. #45112 -> Mail Arrow Icon. #45685 -> mail threaded icon. #45755 -> Radio buttons don't bounce in prefs on windows now. #46178 -> Nudge Button Icons. #46192 ->Prefs Panel title has proper background now. #17926 -> Using px instead of pt for fonts on Mac classic now. #47290 -> Removed border from content in navigator.css and added it to splitters. (for all checkins in past 20 min) r=andrew
git-svn-id: svn://10.0.0.236/trunk@75461 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:46:17 +00:00
pinkerton%netscape.com
82156229ea part of fix for 37412, make content area accept text/x-moz-url flavor.
git-svn-id: svn://10.0.0.236/trunk@75460 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:46:05 +00:00
pinkerton%netscape.com
56fa3c56a7 Fix for 40890, pin mouse to center of translucent drag to avoid large gaps between the mouse cursor and the item being dragged. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@75459 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:43:28 +00:00
nbhatla%netscape.com
31a3863127 Bug #46519 -> Mac Classic Skin Polish. Fixes Messenger Icons.
git-svn-id: svn://10.0.0.236/trunk@75458 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:40:20 +00:00
nbhatla%netscape.com
7695cc70c3 Bug #46519 -> Mac Classic Skin Polish. Fixes Messenger Icons
git-svn-id: svn://10.0.0.236/trunk@75457 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:39:28 +00:00
nbhatla%netscape.com
9a5aa02bd4 Bug #46519 ->Mac Classic Skin Polish. Fixes Messenger Icons.
git-svn-id: svn://10.0.0.236/trunk@75456 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:38:28 +00:00
nbhatla%netscape.com
90de762c34 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@75455 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:36:12 +00:00
nbhatla%netscape.com
b040ebf047 Bug #46519: Mac Classic Skin Fixes. This fixes spacing issues in certain pref panels, by moving out style settings in the XUL. Bug #46178: Adds nudge button icons
git-svn-id: svn://10.0.0.236/trunk@75454 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:34:53 +00:00
nbhatla%netscape.com
f1dd086215 Bug #46519: Mac Classic Skin Polish. Fixes color picker widget in viewing messages pref panel.
git-svn-id: svn://10.0.0.236/trunk@75453 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:32:53 +00:00
mcafee%netscape.com
078a50ae4e Removing pref-diskspace.xul from mailnews prefs, this UI has moved over to account setup arena. r=alecf
git-svn-id: svn://10.0.0.236/trunk@75452 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:31:57 +00:00
mscott%netscape.com
35903c5428 Bug #47240 --> landing branch change to the tip. helper app dialog has no text on the mac
r=alecf


git-svn-id: svn://10.0.0.236/trunk@75451 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:30:39 +00:00
mscott%netscape.com
a19c629a9b Bug #47240 --> landing branch change to the tip. helper app dialog has no text on the mac
git-svn-id: svn://10.0.0.236/trunk@75450 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:29:35 +00:00
mscott%netscape.com
a9110f7072 Bug #47248 --> various problems with save as dialog from helper app. unload handler was calling cancel and we
weren't setting the action to saveToDisk in the right case

Landing branch changes to the tip.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@75449 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:27:17 +00:00
mscott%netscape.com
1a89e07ec3 Bug #1549 --> netcenter account merges with existing account Landing branch changes to the tip.
r=bhuvan


git-svn-id: svn://10.0.0.236/trunk@75448 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:26:09 +00:00
bryner%uiuc.edu
7c6dba14fb removed files: mozilla/layout/xul/base/src/nsTreeOuterFrame.cpp, mozilla/layout/xul/base/src/nsTreeFrame.cpp, mozilla/layout/xul/base/src/nsTreeRowGroupFrame.cpp, mozilla/layout/xul/base/src/nsTreeCellFrame.cpp, mozilla/layout/xul/base/src/nsTreeRowFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@75447 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:23:55 +00:00
bryner%uiuc.edu
b298446991 Refixing bug 23140 to not cause a menu slowdown, and fixing bug 46615 -
removal of old tree widget.  r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@75446 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:22:36 +00:00
jj%netscape.com
81eb1f5b80 modify xptlink.pl to work on mac (granrose). r=jj.
git-svn-id: svn://10.0.0.236/trunk@75444 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 00:07:00 +00:00
despotdaemon%netscape.com
a28173503a Pseudo-automatic update of changes made by kandrot@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75443 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 23:39:36 +00:00
av%netscape.com
289e4953d8 Fixing Unix redness
git-svn-id: svn://10.0.0.236/trunk@75442 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 23:36:30 +00:00
attinasi%netscape.com
28857f7ccf New weekly data: not part of build
git-svn-id: svn://10.0.0.236/trunk@75441 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 23:28:11 +00:00
waldemar%netscape.com
3227d375c5 Made link order consistent
git-svn-id: svn://10.0.0.236/trunk@75440 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 23:09:53 +00:00
waldemar%netscape.com
e2aaf776e5 Fixed Mac errors and warnings
git-svn-id: svn://10.0.0.236/trunk@75439 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 23:09:29 +00:00
av%netscape.com
4a24980381 Fixing 45895, r=waterson
git-svn-id: svn://10.0.0.236/trunk@75437 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 23:01:35 +00:00
rods%netscape.com
c936b8f011 backing out changes until I get them all in
git-svn-id: svn://10.0.0.236/trunk@75436 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:59:45 +00:00
slamm%netscape.com
fc5c276171 Fix bug 15204/38057 from Eric Pollmann (pollmann@netscape.com). $enc had an single quote in it that was not escaped. Double quotes are escaped so it is safe to use them around the $enc value.
git-svn-id: svn://10.0.0.236/trunk@75434 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:54:03 +00:00
rods%netscape.com
a7f8784c75 if the size attr is ever evaled less than 1 then it is set to 1
b=46224, r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75433 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:47:55 +00:00
rods%netscape.com
0598d4e64a 47302 - moved the RegUnRegAccessKey to the Destroy Method
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@75432 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:24:14 +00:00
rods%netscape.com
256f1f523e The frames need to be appended and the default method just asserts
b=41528 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75431 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:16:12 +00:00
rods%netscape.com
389ee6e6a0 moved the RegUnRegAccessKey to the Destroy method
b=47302 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75430 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:12:11 +00:00
jj%netscape.com
5052d3645f changed output location for xpt_link target
git-svn-id: svn://10.0.0.236/trunk@75429 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:12:10 +00:00
jj%netscape.com
7224e7b919 added xpt_link tool to the Mac build (if build{xptlink}=1)
git-svn-id: svn://10.0.0.236/trunk@75428 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:10:54 +00:00
nhotta%netscape.com
9792e2e21e Changed GetCharacterSet to return a default if no folder charset is stored, bug 46542, r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@75427 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:07:47 +00:00
rods%netscape.com
e0ca215d75 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@75426 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:07:46 +00:00
mjudge%netscape.com
dc427b4cd0 15665 beta3+ Javascript selecting a link when dragging.
git-svn-id: svn://10.0.0.236/trunk@75425 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:07:00 +00:00
rods%netscape.com
32f5520a8a The script notification happens before the radiobox gets a chance to change its value
so they must return the opposite value for themselves. They don't want to actually set their
values because the script could cancel. So the idea here is to let them know before the script
call that they should return their "future" value (the opposite of their current value)
b=42972 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75424 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:06:37 +00:00
rods%netscape.com
5e504902cc The script notification happens before the radiobox gets a chance to change its value
so they must return the opposite value for themselves. They don't want to actually set their
values because the script could cancel. So the idea here is to let them know before the script
call that they should return their "future" value (the opposite of their current value)

plus I made a minor change that allows the radio button to use the PaintBackground code to draw the "dot"
but it creates a tmp color struct so the color is correct.
b=42972,37517 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75423 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:06:33 +00:00
nhotta%netscape.com
56bf215fe0 Put a special case before alert the user for charset conversion failure, bug 42871, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@75422 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:03:26 +00:00
nhotta%netscape.com
9073a301c2 A change for phone/fax field. Write out attribute and value separatly since value needs charset conversion but not for attribute, bug 38901, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@75421 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:00:04 +00:00
cata%netscape.com
8378cc2420 Fix for bug #28112 cache not persistent in charset menu, r=nhotta, a=ftang.
git-svn-id: svn://10.0.0.236/trunk@75420 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 21:54:18 +00:00
rods%netscape.com
908046df7e Since the way (and when) options were added then number of options is now different
so it must check against zero instead of 1
b=44266,r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75419 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 21:53:23 +00:00
dimator%netscape.com
ed7cd7c8bc Bug 34434. Updating secure mail and secure news icons. r=putterman
git-svn-id: svn://10.0.0.236/trunk@75418 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 21:52:37 +00:00
radha%netscape.com
9af9521afb fixes related to bug # 18321. Checking in branch fixes to the trunk. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@75417 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 21:49:26 +00:00
radha%netscape.com
dad1629804 Hook up JS history.go() to session History bug # 18321. r=nisheeth. Checking in branch
fix to the tip


git-svn-id: svn://10.0.0.236/trunk@75416 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 21:48:32 +00:00
varada%netscape.com
85d692989f including the CD autorun screen defaults in default config
git-svn-id: svn://10.0.0.236/trunk@75415 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 21:44:30 +00:00
despotdaemon%netscape.com
422e4c1a18 Pseudo-automatic update of changes made by jtaylor@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75414 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 21:35:51 +00:00
av%netscape.com
9ef05d47be Fixing 46573, r=serge
git-svn-id: svn://10.0.0.236/trunk@75413 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 21:35:45 +00:00
despotdaemon%netscape.com
bb99fd6686 Pseudo-automatic update of changes made by kzhou@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75412 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 21:26:16 +00:00
varada%netscape.com
b8328c39bd changing the location of navigator.dtd to reflect seamonkey AGAIN!
git-svn-id: svn://10.0.0.236/trunk@75411 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 21:11:20 +00:00
nelsonb%netscape.com
9a6d9ffb91 mpl_rsh now calls s_mp_div_2d instead of duplicating its logic.
mpl_lsh now calls s_mp_mul_2d instead of duplicating its logic.


git-svn-id: svn://10.0.0.236/trunk@75410 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 20:52:17 +00:00
nelsonb%netscape.com
20d8b5f447 - Implement s_mp_mul_2d, which complements s_mp_div_2d.
- Rewrite and speed up mp_sqr, most-frequently used in mp_exptmod().
- Speed up mp_sqrt by starting with a much better initial estimate.


git-svn-id: svn://10.0.0.236/trunk@75409 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 20:50:57 +00:00
nelsonb%netscape.com
81b0bae291 Accept input args in hex, not decimal. Line up output into columns.
git-svn-id: svn://10.0.0.236/trunk@75408 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 20:48:28 +00:00
nelsonb%netscape.com
9ba046bc86 Declare s_mp_mul_2d(), which is complementary to s_mp_div_2d().
git-svn-id: svn://10.0.0.236/trunk@75407 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 20:47:05 +00:00
relyea%netscape.com
0aa540096d Put modutil back into the daily builds
git-svn-id: svn://10.0.0.236/trunk@75405 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 18:42:32 +00:00
relyea%netscape.com
78434b3810 Remove old communicator stuff from libjar so modutil will build now.
git-svn-id: svn://10.0.0.236/trunk@75404 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 18:41:31 +00:00
ashuk%eng.sun.com
1d9d83e75f bug 44774, 44775
author=ashuk
r=ovk@sparc.spb.su

Minor fix for failed QA Test. Patch supplied by
Oleg.

_Ashu


git-svn-id: svn://10.0.0.236/trunk@75403 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 17:02:43 +00:00
cotter%netscape.com
4a086be75e Added latest PSM license.
git-svn-id: svn://10.0.0.236/trunk@75401 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 16:46:16 +00:00
locka%iol.ie
1abaef8da3 NOT PART OF BUILD.
New nsICommandHandler interface and C++ implementation for embedders who want their XUL to be able to call their webbrowser container with the minimum of effort.


git-svn-id: svn://10.0.0.236/trunk@75400 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 11:14:57 +00:00
rjc%netscape.com
e0e70af049 Specify query encoding string for this search engine. r=me a=johng
git-svn-id: svn://10.0.0.236/trunk@75399 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 10:47:52 +00:00
rjc%netscape.com
8a45085d44 Various small fixes for nsbeta3+ bug # 41357: enable column resigning for various trees. r=me
git-svn-id: svn://10.0.0.236/trunk@75398 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 10:31:37 +00:00
dprice%netscape.com
8e91eb2031 Adding chrome manifests for classic skin NOT IN THE BUILD
git-svn-id: svn://10.0.0.236/trunk@75397 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 10:11:17 +00:00
cls%seawood.org
2be0180151 Oops alecf missed one.
git-svn-id: svn://10.0.0.236/trunk@75396 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 09:05:12 +00:00
alecf%netscape.com
454a05dd45 fix some stupid typos (implementation was good, typing it failed :)) from yesterdays checkin
git-svn-id: svn://10.0.0.236/trunk@75394 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 07:59:17 +00:00
warren%netscape.com
5941ddaa3e Getting jar files in shape. Mostly works on unix, status bar missing (not in build yet).
git-svn-id: svn://10.0.0.236/trunk@75393 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 06:48:45 +00:00
alecf%netscape.com
a60bf10a77 fix AIX bustage with explicit casting
git-svn-id: svn://10.0.0.236/trunk@75392 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 06:02:35 +00:00
rjc%netscape.com
4500c1468d Putting fix for nsbeta2+ bug # 47126 into tip: fix simple mode searching. r=ben
git-svn-id: svn://10.0.0.236/trunk@75391 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 05:30:08 +00:00
ftang%netscape.com
a3f9b052aa fix 45430. patch proposed by beard@netscape.com r=ftang a=ftang
fix memory leak


git-svn-id: svn://10.0.0.236/trunk@75390 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 05:08:15 +00:00
waterson%netscape.com
53249a5944 Bug 46013, redux. Was leaking RDFContentSinkImpl::NameSpaceEntry objects all over the floor. Thanks to dbaron and beard for wiping my chin. r=beard.
git-svn-id: svn://10.0.0.236/trunk@75389 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 04:35:52 +00:00
ftang%netscape.com
1180663f95 fix 44551. Turn nb and nn to true from false so they will be
shown on the language ui.
r=momoi a=ftang


git-svn-id: svn://10.0.0.236/trunk@75388 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 04:22:41 +00:00
ftang%netscape.com
6e349ea58f fix bug 44551 Correct the spelling for Norwegian Bokmal
thanks for huftis@bigfoot.com (Karl Ove Hufthammer)
r=ftang@netscape.com a=ftang


git-svn-id: svn://10.0.0.236/trunk@75387 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 04:21:15 +00:00
jband%netscape.com
bcd6f01203 interim fix for bug 25180. Build double wrappers around JS components used by JS code. Includes secured scheme for getting at underlying JSObject for those who really need to do this. a=warren r=rginda
git-svn-id: svn://10.0.0.236/trunk@75385 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 03:57:59 +00:00
beard%netscape.com
fe85e51ec1 fixing warnings, removing need for JStrings to be copied for mClass
git-svn-id: svn://10.0.0.236/trunk@75384 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 03:53:04 +00:00
cls%seawood.org
574470d12b Fix --enable-logrefcnt so that it will actually force refcnt logging on or off per http://lxr.mozilla.org/seamonkey/source/xpcom/doc/MemoryTools.html.
git-svn-id: svn://10.0.0.236/trunk@75383 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 03:17:49 +00:00
cls%seawood.org
fb441abad1 On second thought, nevermind
git-svn-id: svn://10.0.0.236/trunk@75381 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 02:44:56 +00:00
cls%seawood.org
a53e5b86ae Add checks for FORCE_BUILD_REFCNT_LOGGING & NO_BUILD_REFCNT_LOGGING per http://lxr.mozilla.org/seamonkey/source/xpcom/doc/MemoryTools.html .
git-svn-id: svn://10.0.0.236/trunk@75380 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 02:42:54 +00:00
mjudge%netscape.com
80c961899e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@75379 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 02:39:10 +00:00
valeski%netscape.com
49f0e8fbd7 47235. r=mstoltz. mlk fix.
git-svn-id: svn://10.0.0.236/trunk@75378 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 02:05:42 +00:00
cmanske%netscape.com
2023ba127b Fixed crashing bug 42195: Added method to nsIFrameSelection so frame can get limiting content node for parent node searches in text edit fields. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@75377 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 01:47:55 +00:00
nelsonb%netscape.com
d6a3fe495b Reduced the number of temporary variables allocated and freed during a
modular exponentiation by over 99%.  Modified mp_mul and mp_sqr to only
allocate temporary variables when absolutely needed.  Changed mp_copy
and mp_init_copy to allocate space according to the amount allocated
in the source, reducing the need to grow the variable later.


git-svn-id: svn://10.0.0.236/trunk@75376 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 01:03:14 +00:00
nelsonb%netscape.com
aa56939a15 Investigating allocation of temporary variables.
git-svn-id: svn://10.0.0.236/trunk@75375 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 01:01:01 +00:00
danm%netscape.com
bf7551e324 adding missing initialization of nsBrowserInstance object. bug 46979
git-svn-id: svn://10.0.0.236/trunk@75374 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:55:49 +00:00
bryner%uiuc.edu
086257b870 Removing the makefile for the directory I just removed. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@75373 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:47:35 +00:00
bryner%uiuc.edu
5192d123ff Removing unused directory/files. No effect on build. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@75372 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:46:14 +00:00
larryh%netscape.com
deebc2d183 BugZilla: 4090. cross platform breakage
git-svn-id: svn://10.0.0.236/trunk@75371 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:45:18 +00:00
dimator%netscape.com
d05b59fdd4 Removing no longer used files. r=putterman
git-svn-id: svn://10.0.0.236/trunk@75370 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:40:18 +00:00
pnunn%netscape.com
b54309d74e bug#46360: fixing leak of nsWeakReference. Thanks, Patrick. pnunn.
git-svn-id: svn://10.0.0.236/trunk@75369 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:34:30 +00:00
sfraser%netscape.com
1f4e9d74e3 Fix bug 34741 -- command-drag should not activate windows. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@75368 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:30:41 +00:00
hyatt%netscape.com
b93a1b200d Fix for column resizing. 41357.
git-svn-id: svn://10.0.0.236/trunk@75367 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:27:51 +00:00
hyatt%netscape.com
37448b6cd5 Fix for 41357.
git-svn-id: svn://10.0.0.236/trunk@75366 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:27:07 +00:00
hyatt%netscape.com
4c482a8039 Column resizing. 41357
git-svn-id: svn://10.0.0.236/trunk@75365 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:26:43 +00:00
hyatt%netscape.com
1f4e716975 Column resizing. 41357.
git-svn-id: svn://10.0.0.236/trunk@75364 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:26:25 +00:00
ddrinan%netscape.com
8fe71d79fb Initialize pointer!
git-svn-id: svn://10.0.0.236/trunk@75363 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:20:24 +00:00
valeski%netscape.com
fd89dc645d mlk fix. r=tao
git-svn-id: svn://10.0.0.236/trunk@75362 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:09:22 +00:00
larryh%netscape.com
283dbf916a BugZilla: 25982. remove comment witin a comment
git-svn-id: svn://10.0.0.236/trunk@75361 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 00:09:07 +00:00
ducarroz%netscape.com
abbb64f9b6 Fix for bug 38682. Add command updater to enable the spelling button and menu item when the cursor is in the message body. R=mscott.
git-svn-id: svn://10.0.0.236/trunk@75360 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 23:58:49 +00:00
valeski%netscape.com
6cb5a64229 removing extraneous variable
git-svn-id: svn://10.0.0.236/trunk@75359 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 23:57:36 +00:00
valeski%netscape.com
f5ea1d5037 removing extraneous string/memory usage
git-svn-id: svn://10.0.0.236/trunk@75358 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 23:44:38 +00:00
larryh%netscape.com
d25c24214f change default hostname to mcom.com
git-svn-id: svn://10.0.0.236/trunk@75355 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 23:31:48 +00:00
valeski%netscape.com
d605064355 44848. r=gagan. fixing leaked strings
git-svn-id: svn://10.0.0.236/trunk@75354 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 23:27:29 +00:00
dimator%netscape.com
da7b076b73 Fix for 43236. Removing "Double-clicking a message always opens a new window..." item from the pref dialog. r=putterman
git-svn-id: svn://10.0.0.236/trunk@75353 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 23:25:59 +00:00
valeski%netscape.com
aceba3cb14 removing extraneous static var and #includes
git-svn-id: svn://10.0.0.236/trunk@75352 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 23:23:44 +00:00
mcafee%netscape.com
cd0a9ee2e5 Avoid double slash problem when ObjDir is ''.
git-svn-id: svn://10.0.0.236/trunk@75350 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 23:17:59 +00:00
valeski%netscape.com
a3f4aa3885 raw pointer mlk fix. r=dougt
git-svn-id: svn://10.0.0.236/trunk@75349 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:57:58 +00:00
bryner%uiuc.edu
70c39b979b Removing .cvsignore files so this directory will go away. Not part
of build.  r=smfr.


git-svn-id: svn://10.0.0.236/trunk@75348 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:53:20 +00:00
pete%alphanumerica.com
7bf37c93a1 added two member functions to the File object prototype
r=dougt,brendan a=dougt
not part of the build.

--pete


git-svn-id: svn://10.0.0.236/trunk@75347 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:50:16 +00:00
varada%netscape.com
0e025587c6 disallow copy or move messages to Unsent Messages folder;bug #40695; r=scottip
git-svn-id: svn://10.0.0.236/trunk@75345 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:42:47 +00:00
mcafee%netscape.com
59648a42a7 BranchTag was being ignored, moving the logic to BuildIt() function.
git-svn-id: svn://10.0.0.236/trunk@75344 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:40:53 +00:00
alecf%netscape.com
562414f7a2 fix for 44633, 44634, and more threadpane performance work - use NS_LITERAL_STRING
where appropriate, avoid excess conversion of integer resources, etc.
r=putterman,mscott


git-svn-id: svn://10.0.0.236/trunk@75342 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:38:52 +00:00
bryner%uiuc.edu
3fdc637ee3 Removing unused files. Not part of the build. r=cls.
git-svn-id: svn://10.0.0.236/trunk@75341 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:35:28 +00:00
bryner%uiuc.edu
75bf2b3286 Fix for 46545 - command+click in trees on Mac. r=brade.
git-svn-id: svn://10.0.0.236/trunk@75339 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:30:10 +00:00
mscott%netscape.com
b06d36e874 Bug #1549, 1726 --> be sure to clear the prefs for the bogus identity we create during migration. This was causing
problems on the commercial build. (Landing from beta2 branch to tip)
r=alecf


git-svn-id: svn://10.0.0.236/trunk@75338 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:29:15 +00:00
warren%netscape.com
6f9124b236 Breaking out platform specific jar stuff.
git-svn-id: svn://10.0.0.236/trunk@75337 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:22:41 +00:00
saari%netscape.com
0203addff1 fix for nsbeta3+ 37301, dynamically created menus crash on MacOS. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@75336 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:11:11 +00:00
larryh%netscape.com
8bed19c0f4 BugZilla: 25983. comment cleanup
git-svn-id: svn://10.0.0.236/trunk@75335 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:08:35 +00:00
slamm%netscape.com
a353c7af55 Remove bookmarks folder from toolbar. Bug 39332. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@75333 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:04:55 +00:00
neeti%netscape.com
b3ac151801 fix for bug 30852 - Image cache not refreshed on reload,
fix for bug 40449 - Cache does not store latest value of pages, r/a=gagan


git-svn-id: svn://10.0.0.236/trunk@75332 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 22:03:47 +00:00
heikki%netscape.com
f9ab048302 Bug 41599 browser crashes when executing function with certain name such as Click(). Fixed by stopping recursion. r=saari.
git-svn-id: svn://10.0.0.236/trunk@75331 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 21:40:38 +00:00
hyatt%netscape.com
5258badd5d Fix for 46849. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@75330 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 21:39:28 +00:00
danm%netscape.com
a561ef00c3 Deathgrip the output stream during WriteSegments to prevent bug 46267. This is a temporary patch to stop a common startup crash, until the real underlying cause is found. r=ruslan
git-svn-id: svn://10.0.0.236/trunk@75328 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 21:33:36 +00:00
varada%netscape.com
a7c6f067ba polish for mailwindow;bugs #41866,45195,45201,45203,45204;r=scottip
git-svn-id: svn://10.0.0.236/trunk@75327 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 21:24:29 +00:00
robinf%netscape.com
52bb6e29f8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@75326 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 21:14:47 +00:00
dave%intrec.com
21cc5761af Undoing missing QA bug introduced with earlier patch (see bug 30826 for
details)


git-svn-id: svn://10.0.0.236/trunk@75325 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 19:52:06 +00:00
robinf%netscape.com
bd485d87d1 fixing bug 45752
git-svn-id: svn://10.0.0.236/trunk@75323 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 19:27:09 +00:00
brade%netscape.com
a92780d770 changes submitted by Dan Haddix (dan6992@hotmail.com); bug #37788
git-svn-id: svn://10.0.0.236/trunk@75321 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 14:31:26 +00:00
brade%netscape.com
197df3eb6d change submitted by Dan Haddix (dan6992@hotmail.com); bug #37788
git-svn-id: svn://10.0.0.236/trunk@75320 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 14:29:35 +00:00
brade%netscape.com
adf04edef9 Send Page (contributed by rcassin@supernova.org); bug #44802
git-svn-id: svn://10.0.0.236/trunk@75319 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 14:17:48 +00:00
brade%netscape.com
9f2c8a22ab initialize menuhandle to null; r=sfraser; bug #45245
git-svn-id: svn://10.0.0.236/trunk@75318 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 09:06:25 +00:00
rjc%netscape.com
0f38fc34ce Fix bug # 46710: can only start a drag on <treeitem> nodes. r=me
git-svn-id: svn://10.0.0.236/trunk@75317 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 08:24:07 +00:00
bryner%uiuc.edu
6f9d6935c1 Removing unused, old, obsolete files. Should not affect anything in the
build.  r=cls.


git-svn-id: svn://10.0.0.236/trunk@75315 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 07:50:09 +00:00
bryner%uiuc.edu
6a98845d2e Oops- forgot to remove this makefile when I removed the obsolete files in
modules/libpref/l10n.  Does not affect build.


git-svn-id: svn://10.0.0.236/trunk@75314 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 06:51:54 +00:00
cls%seawood.org
52bb0a339f For reasons not yet known, my build & the linux/arm tinderbox needed to include <stdlib.h> to get atoi().
git-svn-id: svn://10.0.0.236/trunk@75311 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 06:09:14 +00:00
cls%seawood.org
08521de430 Snarf'd gtk's NS_GetCurrentThread() implementation.
git-svn-id: svn://10.0.0.236/trunk@75310 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 06:02:28 +00:00
cls%seawood.org
a02313b652 BeOS doesn't need mcom_db.h either
git-svn-id: svn://10.0.0.236/trunk@75309 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 06:01:24 +00:00
danm%netscape.com
d2cd2b7da7 reverting to 1.65 -- though a slightly different version. i thought i was seeing a crash from that version, but now i think not. so, like before, bug 46556 r=saari. (also on M17 branch, rev 1.64.14.3)
git-svn-id: svn://10.0.0.236/trunk@75308 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 04:45:58 +00:00
danm%netscape.com
db4ea3d12c reverting last change, which causes new crashes
git-svn-id: svn://10.0.0.236/trunk@75306 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 03:00:35 +00:00
mscott%netscape.com
635a8128c2 Bug #1635 --> if we are downloading the entire message, set total download size based on the RFC822.SIZE response.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@75304 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 02:56:26 +00:00
dougt%netscape.com
c2a66acc1b Make setting the env MBs not bytes. r=valeski@netscape.com
DEBUGGIN code


git-svn-id: svn://10.0.0.236/trunk@75303 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 02:51:22 +00:00
mscott%netscape.com
bbd34bcf56 Bug #1539 --> if the identity already has an smtp server associated with it, don't create another one.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@75302 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 02:48:12 +00:00
rjc%netscape.com
cc337f55c5 Specify query encoding string for this search engine. r=me a=johng
git-svn-id: svn://10.0.0.236/trunk@75301 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 02:47:17 +00:00
despotdaemon%netscape.com
70ca7352c2 Pseudo-automatic update of changes made by quy@igelaus.com.au.
git-svn-id: svn://10.0.0.236/trunk@75300 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:54:12 +00:00
dougt%netscape.com
ce55e593ed Fix to allow MOZ_MEM_LIMIT be the upper limit in memory allocation.
Debugging code.  pavlov reviewed.


git-svn-id: svn://10.0.0.236/trunk@75297 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:46:52 +00:00
nelsonb%netscape.com
e3d813843b Declare mp_int function arguments "const" as appropriate.
git-svn-id: svn://10.0.0.236/trunk@75296 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:38:30 +00:00
dougt%netscape.com
ad72d6a7d0 Minor changes. Using service manager returned from NS_InitXPCOM.
git-svn-id: svn://10.0.0.236/trunk@75295 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:37:44 +00:00
dougt%netscape.com
b62c0ba2a1 Ton of changes. Basically using nsIWebBrowserChrome now.
valeski@netscape.com
47003


git-svn-id: svn://10.0.0.236/trunk@75294 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:37:07 +00:00
endico%mozilla.org
f4ff6546d0 Generate brief logs for beos builds. Fix for bug 37218. Patch contributed by Justin Morey <justin@68k.org>
git-svn-id: svn://10.0.0.236/trunk@75293 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:36:35 +00:00
nelsonb%netscape.com
09f7df0c44 Change default value for MP_ARGCHK to depend on whether or not DEBUG is
defined.  Raise the default "precision" to reduce reallocations.


git-svn-id: svn://10.0.0.236/trunk@75292 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:36:30 +00:00
danm%netscape.com
26f87c8d88 release the keyboard navigator in the destructor. seems to fix a secondary, rarer crash in bug 46556. also in M17 branch (rev 1.64.14.1). r=saari
git-svn-id: svn://10.0.0.236/trunk@75291 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:26:06 +00:00
rhp%netscape.com
a48966bc20 Fix for extra table in quoted output - Bug #: 46975 - r: rhp - mozilla contribution
git-svn-id: svn://10.0.0.236/trunk@75290 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:25:59 +00:00
rhp%netscape.com
7800b6a386 Fix for possible duplicate entry issues on sync failure - Bug # 1407 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@75289 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:25:40 +00:00
danm%netscape.com
52efcf92c2 Glossing over the real problem (a leaking content area docshell), in the sure hope that nsBrowserInstance is going away soon, this embarrassing hack stops crash bug 46556. Same change is on M17, rev 1.139.2.4. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@75288 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:16:40 +00:00
pinkerton%netscape.com
95ad431597 Fix for 39078, tooltips not disappearing on mouse clicks in button. when we get a mousedown, close the tooltip and cancel the timer. r=saari.
git-svn-id: svn://10.0.0.236/trunk@75286 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:05:58 +00:00
harishd%netscape.com
54856496e7 Migrating
-------------
46269 [nsbeta2+] - Fixed a crash, in CStartToken::IsEmpty(), caused by a wrong casting.
r=hiekki.


git-svn-id: svn://10.0.0.236/trunk@75284 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 01:02:09 +00:00
bryner%uiuc.edu
fcdb5021b6 Fix for bug 42052 (auto->none for max-width of menuitems in
menulists).  r=ben.


git-svn-id: svn://10.0.0.236/trunk@75283 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 00:59:37 +00:00
tao%netscape.com
167b9652ed 1683: Missing Buddy list from sidebar on new install.r=sgehani,a=pdt.
git-svn-id: svn://10.0.0.236/trunk@75282 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 00:57:33 +00:00
tao%netscape.com
c0c2db4c65 1683: BuddyList missing from sidebar on new install.r=sgehani,a=pdt.
git-svn-id: svn://10.0.0.236/trunk@75278 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 00:53:48 +00:00
pinkerton%netscape.com
70845ccdeb fix for 38359, link drags not firing if mouse was close to an edge. we need to fake out the ESM by setting |mCurrentTarget| to where the mouse went down so event.target is correct in JS. r=saari.
git-svn-id: svn://10.0.0.236/trunk@75276 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 00:35:23 +00:00
pinkerton%netscape.com
385e7049b5 Fix for 38359, reset cursor to arrow before invoking d&d.
git-svn-id: svn://10.0.0.236/trunk@75275 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 00:32:17 +00:00
dimator%netscape.com
70e672b557 Bug 23760. Updating threaded/unthreaded column icons. r=putterman
git-svn-id: svn://10.0.0.236/trunk@75274 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 23:38:21 +00:00
BlakeR1234%aol.com
3b81294931 Fix bug 47020, add menu checkmarks. r=jag a=putterman
git-svn-id: svn://10.0.0.236/trunk@75273 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 23:25:41 +00:00
vidur%netscape.com
a381dc926f Adding xmlextras to the default build target so that it can be included in the nightlies as per leaf. a=leaf, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@75272 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 23:14:24 +00:00
bryner%uiuc.edu
d7af85ee20 Patch from blizzard to fix 45808 (unable to get focus in file input
textfield on Linux).  r=me.


git-svn-id: svn://10.0.0.236/trunk@75271 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 23:00:28 +00:00
pinkerton%netscape.com
486c5bf240 for bug 39326, don't send the drop event to gecko if the canDrop is false on the drag session.
git-svn-id: svn://10.0.0.236/trunk@75270 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 22:54:03 +00:00
pinkerton%netscape.com
9fd9b17356 for bug 39326, add a drag over handler to reject drags from the same content area. better than the way i did it before.
git-svn-id: svn://10.0.0.236/trunk@75269 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 22:53:26 +00:00
mcafee%netscape.com
110cd31496 Saving horizontal space in diskspace pref pane (40888). r=matt
git-svn-id: svn://10.0.0.236/trunk@75268 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 22:47:26 +00:00
wtc%netscape.com
3e5e5fc62e Bugzilla bug #17223: fixed an error found when I compiled on Mac.
git-svn-id: svn://10.0.0.236/trunk@75267 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 22:40:12 +00:00
ben%netscape.com
1d954ee091 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support. 46613 - Make unix build the windows classic skin for now. Also a good test
for system colour support.


git-svn-id: svn://10.0.0.236/trunk@75266 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 22:29:30 +00:00
ducarroz%netscape.com
73c8ac5a65 Cleanup message compose menus. That fix bugs 23458, 33076, 33500, 39791, 39843, 39852, 40210, 40302, 40313, 40315, 40323, 40328, 40339, 45932.
R=mscott


git-svn-id: svn://10.0.0.236/trunk@75265 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 22:09:48 +00:00
BlakeR1234%aol.com
a0f91732e3 Fix bug 47036, remove ellipses from Edit | Preferences to conform to UI guidelines. r=jag, a=brade
git-svn-id: svn://10.0.0.236/trunk@75264 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 22:03:04 +00:00
sfraser%netscape.com
b3e4027389 Fix for bug 47084 - assertion because GetElementById was sometimes called with an empty string. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@75263 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:47:44 +00:00
ducarroz%netscape.com
2e93b95d49 Fix for bug 35746. Replace prefilled recipients (reply-to, bcc) when switching identity. R=mscott
git-svn-id: svn://10.0.0.236/trunk@75262 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:46:33 +00:00
pinkerton%netscape.com
75160f506a for bug 39326, don't load urls dragged from the same content area.
git-svn-id: svn://10.0.0.236/trunk@75261 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:35:01 +00:00
ben%netscape.com
b6f87a4424 one of these days I won't suck. Not any day soon though, I'd wager.
git-svn-id: svn://10.0.0.236/trunk@75260 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:29:59 +00:00
alecf%netscape.com
d76f600e57 fix for #38834 r=ben (last week sometime)
make wizard page X of Y localizable


git-svn-id: svn://10.0.0.236/trunk@75259 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:26:29 +00:00
BlakeR1234%aol.com
fa4f81157e Fix for bug 47037, remove unnecessary ellipses from some Composer menu items. r=jag, a=brade
git-svn-id: svn://10.0.0.236/trunk@75258 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:25:31 +00:00
gagan%netscape.com
f67c707f01 Fix for bug 20145. Proxy Auto Config is now in. For more information check http://www.mozilla.org/docs/netlib/pac.html r=bryner,rjc.
git-svn-id: svn://10.0.0.236/trunk@75257 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:24:55 +00:00
mcafee%netscape.com
666c90e0b5 Cleaning up cache pref panel (40888). r=matt
git-svn-id: svn://10.0.0.236/trunk@75256 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:22:53 +00:00
nboyd%atg.com
82561ae36e Fix javadoc.
git-svn-id: svn://10.0.0.236/trunk@75255 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:19:05 +00:00
ben%netscape.com
f3a97337d1 forgot to check this file in with previous checkin for pink...
git-svn-id: svn://10.0.0.236/trunk@75254 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:10:56 +00:00
bryner%uiuc.edu
f1aaaa287d Removing obsolete files. Not part of the build. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@75253 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:08:23 +00:00
alecf%netscape.com
98d754b06b oops, back out this printf, didn't mean for it to go in
git-svn-id: svn://10.0.0.236/trunk@75251 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:58:08 +00:00
alecf%netscape.com
a98365dfed fix for #46379 by dougt@netscape.com, r=alecf
fix some leaked interface pointers in nsPref


git-svn-id: svn://10.0.0.236/trunk@75250 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:56:54 +00:00
pinkerton%netscape.com
c1421e9b63 Make the document where the drag originated available from the drag session. bug 39326
git-svn-id: svn://10.0.0.236/trunk@75249 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:51:42 +00:00
alecf%netscape.com
70c4ff39d8 fixes for #45079, #45695, #45809, #45722, #46374, #46393, and probably lots of other bugs related to cleaning up the account manager UI.
Stay tuned for more.. same bat time, same bat channel.
r=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@75247 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:42:48 +00:00
nelsonb%netscape.com
02e48f1881 Fix initalizers in logtab.h to be "float" values, not "double" values.
git-svn-id: svn://10.0.0.236/trunk@75245 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:36:41 +00:00
mkaply%us.ibm.com
4b97bec576 45872
r=mkaply, a=brendan
Fixes for tiling of bitmaps - make them faster and fix 256 color


git-svn-id: svn://10.0.0.236/trunk@75244 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:36:14 +00:00
colin%theblakes.com
567fb479a9 Prevent very long commands from getting generated. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@75243 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:36:05 +00:00
alecf%netscape.com
8934b0b4a8 #36965: make prefs use nsIFile - first part is to add APIs that will eventually replace GetFilePref
r=conrad@ingress.com


git-svn-id: svn://10.0.0.236/trunk@75242 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:27:22 +00:00
ben%netscape.com
97da702180 some required groundwork for pink for his nsbeta3+ bug 39326
git-svn-id: svn://10.0.0.236/trunk@75241 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:26:08 +00:00
mcafee%netscape.com
3af671024c Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@75240 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:24:43 +00:00
nelsonb%netscape.com
d256d4063c Fix build problem caused by the fact that including stdlib.h implicitly
includes stdio.h on some platforms, but not on others.


git-svn-id: svn://10.0.0.236/trunk@75239 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 20:08:46 +00:00
larryh%netscape.com
7dac99e45a BugZilla: 46630. Log buffer size
git-svn-id: svn://10.0.0.236/trunk@75238 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 18:58:55 +00:00
wtc%netscape.com
3bc8962650 Bugzilla bug #46417: allow stdin, stdout, and stderr to be redirected
to the same osfd (e.g., a socket is bidirectional and hence we can
redirect both stdin and stdout to the same socket).  Thanks to
Rob McCool <robm@robm.com> for the bug report and suggesting a fix.


git-svn-id: svn://10.0.0.236/trunk@75237 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 18:53:20 +00:00
wtc%netscape.com
46ffb41619 Bugzilla bug #46525: checked in a fix to silence a Purify UMR warning.
Thanks to Daniel Bratell <bratell@lysator.liu.se> for the bug report
and the fix.


git-svn-id: svn://10.0.0.236/trunk@75236 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 18:15:38 +00:00
vidur%netscape.com
25ce7279d8 Fixed leak of weak reference (thanks beard@netscape.com). Fixed makefiles to avoid overwriting xpt files. This is not part of the regular build
git-svn-id: svn://10.0.0.236/trunk@75235 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 16:48:54 +00:00
brade%netscape.com
be286422e9 add comment and modifier="false" to some keybindings
git-svn-id: svn://10.0.0.236/trunk@75234 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 13:24:09 +00:00
brade%netscape.com
308345d274 unix keybindings for ctrl-shift home/end (bug #43122)
git-svn-id: svn://10.0.0.236/trunk@75233 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 13:20:57 +00:00
brade%netscape.com
0c4a96d4cd change conflicting ids (#43122)
git-svn-id: svn://10.0.0.236/trunk@75232 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 13:17:40 +00:00
brade%netscape.com
a3c64268eb remove title string (bug #45088); r=bking@xmlw.ie
git-svn-id: svn://10.0.0.236/trunk@75231 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 13:03:45 +00:00
brade%netscape.com
79786792da tooltips (bug #9767)
git-svn-id: svn://10.0.0.236/trunk@75230 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 12:49:38 +00:00
cls%seawood.org
590cd3db6c Explicitly copy ua.css so that mathml doesn't modify it in the source tree.
git-svn-id: svn://10.0.0.236/trunk@75229 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 06:37:52 +00:00
BlakeR1234%aol.com
5ef5627a77 Oops; fix capitalization error in my last checkin.
git-svn-id: svn://10.0.0.236/trunk@75228 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 05:51:29 +00:00
BlakeR1234%aol.com
c8451d24ff Fix bug 37940, implement IE-style Text Size menu. Thanks to jag for the help. r=jag
git-svn-id: svn://10.0.0.236/trunk@75227 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 05:01:03 +00:00
BlakeR1234%aol.com
ac8d315c84 Fix bug 37940, implement IE-style Text Size menu. Thanks to jag for the help. r=jag
git-svn-id: svn://10.0.0.236/trunk@75226 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 04:54:02 +00:00
pavlov%netscape.com
54a4364827 fixing other people's build bustage bug 43826 r=bryner
git-svn-id: svn://10.0.0.236/trunk@75225 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 04:40:06 +00:00
cls%seawood.org
5762ef1fd6 Some of our tinderbox machines are slow (understatement) so make the timeouts for bloat tests & dom conversions configurable, otherwise we'll never see green.
git-svn-id: svn://10.0.0.236/trunk@75224 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 04:03:03 +00:00
dougt%netscape.com
ab256053d1 r,a=brendan@mozilla.org 24052
git-svn-id: svn://10.0.0.236/trunk@75223 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 03:46:22 +00:00
bryner%uiuc.edu
add96b82b8 Bug 41409 - make unix filepicker start out in home directory instead of root directory. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@75222 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 03:41:18 +00:00
cls%seawood.org
65d809d86e Link in util lib when perf-metrics are enabled.
git-svn-id: svn://10.0.0.236/trunk@75221 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 02:19:57 +00:00
BlakeR1234%aol.com
445d95e98f Fix bug 37982 and bug 9997
git-svn-id: svn://10.0.0.236/trunk@75220 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 00:57:01 +00:00
ftang%netscape.com
620180504e fix bug 46272 r=mjudge/brade use CopyUnicharPref instead of CopyCharPref
for non ASCII data- Author. a=ftang


git-svn-id: svn://10.0.0.236/trunk@75219 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 00:43:25 +00:00
ftang%netscape.com
a8d2d03cf7 fix for bug 26938. r=tao a=ftang. fix \u encoding conversion so \n \r \t\ will be
convert to \n \r \t


git-svn-id: svn://10.0.0.236/trunk@75218 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 00:40:20 +00:00
ftang%netscape.com
b84273a322 fix 5313. r-hnotta a=ftang listen to the ACCEPT-CHARSET attribute
before listen to the docuement charset to decide which charset
for form submition


git-svn-id: svn://10.0.0.236/trunk@75217 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 00:37:06 +00:00
ftang%netscape.com
f38e7dc2dd fix bug 5313. Change "acceptcharset" to "accept-charset" according to
HTML 4.0 section 17.13.4 r=nhotta a=ftang


git-svn-id: svn://10.0.0.236/trunk@75216 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 00:35:20 +00:00
putterman%netscape.com
14515507a0 Fix for 46390. Crash on exit when using mailnews. Putting on tip, already checked into branch. r=alecf.
git-svn-id: svn://10.0.0.236/trunk@75215 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 22:03:18 +00:00
BlakeR1234%aol.com
2d48c6bdd2 Bug 44474, improve html checkbox/radio button appearance, and bug 38427
git-svn-id: svn://10.0.0.236/trunk@75214 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 21:39:07 +00:00
BlakeR1234%aol.com
dd974603d4 More work for bug 44474.
git-svn-id: svn://10.0.0.236/trunk@75213 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 21:29:35 +00:00
morse%netscape.com
397833561e fix bug 46947, localization of strings in wallet interview form, r=dp
git-svn-id: svn://10.0.0.236/trunk@75212 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 20:07:43 +00:00
cls%seawood.org
9eb2322a70 Change requires to 5.003. Fixed scoping problems with 5.003. Fixed ambigious name use under 5.003. Set LIBPATH so AIX builds can run tests. Allow --depend/--clobber options to properly override tinder-config.pl settings. Add os_ver to default build name. Set BuildName & friends after args have been completely parsed.
git-svn-id: svn://10.0.0.236/trunk@75211 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 19:59:28 +00:00
cls%seawood.org
008b385261 Only set CVSROOT using netscape.com address if CVSROOT is not already set. Change requires to 5.003
git-svn-id: svn://10.0.0.236/trunk@75210 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 19:54:16 +00:00
morse%netscape.com
5781121d8c fix bug 46699, crash on many sites, r=jar, a=jar
git-svn-id: svn://10.0.0.236/trunk@75209 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 19:50:47 +00:00
BlakeR1234%aol.com
c418b7516e Classic skin work (46613)
git-svn-id: svn://10.0.0.236/trunk@75208 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 19:28:18 +00:00
BlakeR1234%aol.com
7c41e37a91 Fix bug 41809
git-svn-id: svn://10.0.0.236/trunk@75207 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 19:16:29 +00:00
BlakeR1234%aol.com
3530f57cf6 Minor wording change (44473)
git-svn-id: svn://10.0.0.236/trunk@75206 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 18:46:24 +00:00
BlakeR1234%aol.com
49f4db362f Fix bug 43257
git-svn-id: svn://10.0.0.236/trunk@75205 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 18:26:27 +00:00
BlakeR1234%aol.com
8087d57440 Fix bug 43257
git-svn-id: svn://10.0.0.236/trunk@75204 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 18:21:06 +00:00
morse%netscape.com
ae40919f80 minor wording change
git-svn-id: svn://10.0.0.236/trunk@75203 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 17:16:42 +00:00
hyatt%netscape.com
a6d254fa73 Oops. really fix 30644. r=ben
git-svn-id: svn://10.0.0.236/trunk@75202 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 07:35:21 +00:00
hyatt%netscape.com
f24222db0c Fix for 30644. r=ben
git-svn-id: svn://10.0.0.236/trunk@75201 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 07:19:58 +00:00
hyatt%netscape.com
7b5c94fdfd Fix tree painting bug. r=ben
git-svn-id: svn://10.0.0.236/trunk@75200 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 07:05:04 +00:00
BlakeR1234%aol.com
b93eb7a136 Bug 44733
git-svn-id: svn://10.0.0.236/trunk@75199 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 06:57:38 +00:00
ben%netscape.com
ae43a6d29a some code tidy up for prefs after my previous checkin -
1) remove mousewheel pref panels from Mac build (there is no mousewheel support on mac, they're not needed)
2) remove js that did platform checking for winhooks and mousewheel from the prefwindow. This is unneeded now
that the panels are overlayed by the build system. no runtime checking is needed.


git-svn-id: svn://10.0.0.236/trunk@75198 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 06:40:30 +00:00
ben%netscape.com
f0444108cf update build lists for my previous checkin...
git-svn-id: svn://10.0.0.236/trunk@75197 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 06:38:22 +00:00
nelsonb%netscape.com
e41658ac33 Use Windowed computation of exponent in mp_exptmod().
git-svn-id: svn://10.0.0.236/trunk@75196 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 06:37:14 +00:00
nelsonb%netscape.com
ca5318ba6e Add function mpl_get_bits(). Returns value of contiguous subset of bits
of bignum.  Useful for windowed modular exponentiation.


git-svn-id: svn://10.0.0.236/trunk@75195 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 06:35:38 +00:00
ben%netscape.com
d76813a0c7 fixes for 13977 - make sure that 'Use Windows colors' shows up only on Windows, rather than on all platforms.
While we're at it, make the integration of winhooks and mousewheel a little cleaner.


git-svn-id: svn://10.0.0.236/trunk@75194 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 06:35:33 +00:00
BlakeR1234%aol.com
cdd091d1b8 Bug 44694
git-svn-id: svn://10.0.0.236/trunk@75193 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 06:14:55 +00:00
BlakeR1234%aol.com
7c3df7d271 Clean up history window...
git-svn-id: svn://10.0.0.236/trunk@75192 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 06:09:06 +00:00
BlakeR1234%aol.com
fdf7b5ce90 Clean up history window. Also fixes bug 44732.
git-svn-id: svn://10.0.0.236/trunk@75191 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 06:04:58 +00:00
BlakeR1234%aol.com
8203ea88eb Clean up work, also fixes bug 44689.
git-svn-id: svn://10.0.0.236/trunk@75190 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 05:45:27 +00:00
BlakeR1234%aol.com
6e15ece5d5 Clean up Bookmarks/History search window. also fixes bugs 44695, 44697, 44690.
git-svn-id: svn://10.0.0.236/trunk@75189 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 05:40:58 +00:00
ben%netscape.com
ff91eb02e8 fix for 42869, making the profile manager a bit more localisable + allowing vendor customisation.
git-svn-id: svn://10.0.0.236/trunk@75188 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 05:29:59 +00:00
morse%netscape.com
ec645543a3 fix bug 43227, hide quickfill menu item on all platforms, r=ben
git-svn-id: svn://10.0.0.236/trunk@75187 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 04:44:18 +00:00
BlakeR1234%aol.com
974eeafb56 Classic skin work (46613). Decrease the min-width of buttons to better replicate win32 buttons. r=ben
git-svn-id: svn://10.0.0.236/trunk@75186 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 04:32:58 +00:00
morse%netscape.com
f7b4b88523 fix bug 46464, split signon viewer into two separate viewers, r=ben
git-svn-id: svn://10.0.0.236/trunk@75185 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 04:25:54 +00:00
pavlov%netscape.com
d2b4681dcf fix for creating too many nsToolkit objects on unix bug 16328 r=cls
git-svn-id: svn://10.0.0.236/trunk@75184 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 03:39:42 +00:00
ben%netscape.com
233eb23916 Correct platform keyboard accelerator support for navigation. Should work this time. b46803
git-svn-id: svn://10.0.0.236/trunk@75183 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 03:36:52 +00:00
BlakeR1234%aol.com
9f4c5558d5 Fix disabled style rules for HTML checkboxes and radio buttons (44474). a=ekrock
git-svn-id: svn://10.0.0.236/trunk@75182 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 03:09:37 +00:00
BlakeR1234%aol.com
0b95d0a63e Rest of the fix for bug 44474. Improves the appearance of HTML radio buttons. a=ekrock
git-svn-id: svn://10.0.0.236/trunk@75181 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 03:03:31 +00:00
nelsonb%netscape.com
de8926dab3 MPI Arbitrary Precision Integer Arithmetic library.
The Initial Developer of the Original Code is
Michael J. Fromberger <sting@linguist.dartmouth.edu>


git-svn-id: svn://10.0.0.236/trunk@75180 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 02:05:19 +00:00
BlakeR1234%aol.com
a5bf340b0c Fix for bug 41402, very minor. r=me
git-svn-id: svn://10.0.0.236/trunk@75179 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 02:02:53 +00:00
nelsonb%netscape.com
ce10ed0ff4 MPI Arbitrary Precision Integer Arithmetic library.
The Initial Developer of the Original Code is
Michael J. Fromberger <sting@linguist.dartmouth.edu>


git-svn-id: svn://10.0.0.236/trunk@75178 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 01:56:35 +00:00
BlakeR1234%aol.com
0791ddd9ce Fix for bug 35770. Patch by jrgm@netscape.com, r=me
git-svn-id: svn://10.0.0.236/trunk@75177 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 01:44:55 +00:00
BlakeR1234%aol.com
f8584ed533 Bug 45707
git-svn-id: svn://10.0.0.236/trunk@75176 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 01:33:50 +00:00
BlakeR1234%aol.com
add0c9cdb8 Part of bug 45707. a=johng, german
git-svn-id: svn://10.0.0.236/trunk@75175 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 01:29:01 +00:00
BlakeR1234%aol.com
8a01712169 Fix 17608 a=vera
git-svn-id: svn://10.0.0.236/trunk@75174 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 01:22:12 +00:00
BlakeR1234%aol.com
a31a1fc9c6 Fix bug 43893.
git-svn-id: svn://10.0.0.236/trunk@75173 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 01:06:56 +00:00
BlakeR1234%aol.com
8e9e03a8d5 Classic skin work (bug 46613) a=johng
git-svn-id: svn://10.0.0.236/trunk@75172 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-30 00:38:27 +00:00
BlakeR1234%aol.com
9ed3184949 Remove redundant <html> tags (part of bug 42202) r=me, simple fix
git-svn-id: svn://10.0.0.236/trunk@75171 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 22:49:45 +00:00
BlakeR1234%aol.com
8ce9ec7b53 Fix for bug 43617, small regression patch.
git-svn-id: svn://10.0.0.236/trunk@75170 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 22:34:47 +00:00
BlakeR1234%aol.com
3f5ec18e56 Part of fix for bug 44474, to improve upon the appearance of HTML checkboxes. a=ekrock
git-svn-id: svn://10.0.0.236/trunk@75169 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 22:11:44 +00:00
morse%netscape.com
74736c0a31 bug 46883, move wallet interview form from server to client, r=pnunn
git-svn-id: svn://10.0.0.236/trunk@75168 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 20:50:30 +00:00
morse%netscape.com
589de4e8ac this is not part of build yet
git-svn-id: svn://10.0.0.236/trunk@75167 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 20:46:24 +00:00
morse%netscape.com
28b2fb591d this is not part of build yet
git-svn-id: svn://10.0.0.236/trunk@75166 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 20:45:44 +00:00
nelsonb%netscape.com
f8274b2cfc Build mpi library files in freebl.
git-svn-id: svn://10.0.0.236/trunk@75164 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 19:07:22 +00:00
nelsonb%netscape.com
8f09fd4435 Separate DH implementation for use with BSAFE and mpi-based implementation
into two files.


git-svn-id: svn://10.0.0.236/trunk@75163 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 19:06:54 +00:00
morse%netscape.com
f78674f4d2 interview form for wallet, not part of build yet
git-svn-id: svn://10.0.0.236/trunk@75162 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 18:51:30 +00:00
rjc%netscape.com
dc56a78072 Small sorting fix. (Can't find bug #) r=me
git-svn-id: svn://10.0.0.236/trunk@75161 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 16:15:48 +00:00
hyatt%netscape.com
2475c1f8ed Patch to avoid observing the document so early. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@75160 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 09:52:06 +00:00
hyatt%netscape.com
52fb92c9d0 More of teh same.
git-svn-id: svn://10.0.0.236/trunk@75159 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 08:38:03 +00:00
hyatt%netscape.com
47086a9c88 More of the same.
git-svn-id: svn://10.0.0.236/trunk@75158 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 08:37:49 +00:00
ben%netscape.com
0436cd4e6b fixing build bustage by removing include of overlay. too tired to figure out
why this is happening, will attempt to hook this up again tomorrow.


git-svn-id: svn://10.0.0.236/trunk@75157 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 08:32:43 +00:00
hyatt%netscape.com
f3042b3427 Halving the number of frames used for tree cells. r=ben
git-svn-id: svn://10.0.0.236/trunk@75156 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 08:22:51 +00:00
ben%netscape.com
f550faa147 forgot to add makefiles earlier...
git-svn-id: svn://10.0.0.236/trunk@75155 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 08:21:09 +00:00
dougt%netscape.com
438b051bb2 46044 fixes ABR. submitted by jband@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75154 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 08:13:39 +00:00
dougt%netscape.com
be9a6b605e slashes wrong way.
Not part of build.


git-svn-id: svn://10.0.0.236/trunk@75153 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 08:09:21 +00:00
ben%netscape.com
596e21c82a fix makefiles
git-svn-id: svn://10.0.0.236/trunk@75152 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 06:51:43 +00:00
ben%netscape.com
cdb8546ba8 46803, XP keyboard accelerators for navigation.
git-svn-id: svn://10.0.0.236/trunk@75151 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 06:48:57 +00:00
rhp%netscape.com
56bedac9da Fix for duplicating ABSync entries on sync operations - Bug #: 1680 - r: mozilla@bucksch.org
git-svn-id: svn://10.0.0.236/trunk@75150 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 05:04:43 +00:00
waterson%netscape.com
5731633fc2 Fix off-by-one error that jband found.
git-svn-id: svn://10.0.0.236/trunk@75148 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 03:34:55 +00:00
morse%netscape.com
de9aaf790a fix bug 46906, minor typo in dialog, submitted by wallet.properties
git-svn-id: svn://10.0.0.236/trunk@75147 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 03:28:31 +00:00
ben%netscape.com
8de618903a fixing busted tab widgets. accidentally checked in the wrong version of this file last night. This was causing various parts of the app to not appear (bookmark properties dialog, bottom half of themes pref panel, new card dialog in address book, etc)
git-svn-id: svn://10.0.0.236/trunk@75146 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 03:26:49 +00:00
waterson%netscape.com
4f776f02d4 Fix Win32 build bustage.
git-svn-id: svn://10.0.0.236/trunk@75145 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 03:13:41 +00:00
scc%mozilla.org
6ef6f1fd36 fixes for bugs #46898 and #46899: bad behavior in |nsCString::ToInteger| and a feature request for |ns[C]String::SetCapacity(0)| respectively. r={harishd, waterson}, a=waterson
git-svn-id: svn://10.0.0.236/trunk@75144 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 03:11:59 +00:00
waterson%netscape.com
c222336587 Bug 46702. Move nsFixedSizeAllocator to xpcom/ds so it can be used outside of RDF.
git-svn-id: svn://10.0.0.236/trunk@75143 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 03:01:46 +00:00
waterson%netscape.com
2888132355 Bug 46702. Move nsFixedSizeAllocator.[h|cpp] to xpcom/ds so that we can use it outside of RDF.
git-svn-id: svn://10.0.0.236/trunk@75142 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 02:58:43 +00:00
waterson%netscape.com
7d3c7affc8 Bug 46702. Move nsFixedSizeAllocator.[h|cpp] to xpcom/ds so that it can be used outside of RDF.
git-svn-id: svn://10.0.0.236/trunk@75141 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 02:58:10 +00:00
mkaply%us.ibm.com
691e351a8a OS/2 Tinderbox breakage
Use PR_TRUE not true


git-svn-id: svn://10.0.0.236/trunk@75140 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 02:36:54 +00:00
neeti%netscape.com
f375211dd9 fix for bug 40084, [CRASH] Crash in disk cache code, backed out changes made on 7/27, put new fix
fix for bug 46014, No keywords loaded on bugzilla pages, r/a=gagan


git-svn-id: svn://10.0.0.236/trunk@75139 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 02:32:14 +00:00
neeti%netscape.com
ec6f6a23f7 fix for bug 40084, [CRASH] Crash in disk cache code, backed out changes made on 7/27, put new fix
git-svn-id: svn://10.0.0.236/trunk@75138 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 02:30:30 +00:00
rginda%netscape.com
c69750c8cd shut up "unused param" warnings by only naming the register param if the icode uses a RegisterList operand.
git-svn-id: svn://10.0.0.236/trunk@75134 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 02:00:12 +00:00
wtc%netscape.com
2119da1ef5 Bugzilla bug #45223: define HAVE_LONG_LONG on Mac. Removed unused
variable dstLocalBaseMicroseconds and do not export
gJanuaryFirst1970Seconds.
Modified files: mactime.c, prcpucfg.h


git-svn-id: svn://10.0.0.236/trunk@75133 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 01:58:46 +00:00
jband%netscape.com
63a37a4174 fix 46904. a=warren. Same change as on m17 branch
git-svn-id: svn://10.0.0.236/trunk@75132 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 01:52:59 +00:00
mcafee%netscape.com
b7cefbfc9c Tightening up composer pref UI for (5236). r=akkana
git-svn-id: svn://10.0.0.236/trunk@75131 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 01:51:40 +00:00
wtc%netscape.com
53dd5fe525 Bugzilla bug #46909: on Mac, define _PR_LOCAL_THREADS_ONLY in _macos.h
as opposed to prcpucfg.h.


git-svn-id: svn://10.0.0.236/trunk@75130 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 01:51:00 +00:00
mcafee%netscape.com
5ef2934b94 Obsoleting pref-languages2.xul,dtd. Merging changes back into pref-languages.xul,dtd. Part of cleanup for (5236). r=slamm
git-svn-id: svn://10.0.0.236/trunk@75127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 01:18:02 +00:00
waterson%netscape.com
37cde4ad0b Bug 46702. Move nsFixedSizeAllocator.[h|cpp] out of rdf/base/src. Not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@75121 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 01:00:37 +00:00
wtc%netscape.com
ae616730c7 Bugzilla bug #46506: use pthreads by default on FreeBSD.
git-svn-id: svn://10.0.0.236/trunk@75120 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 00:50:35 +00:00
wtc%netscape.com
8e6cdb6eba Bugzilla bug #45732: define align of double and long long for powerpc
correctly, and define the macros HAVE_ALIGNED_LONGLONGS and
HAVE_ALIGNED_DOUBLES if long longs or doubles are 8-byte aligned.
Thanks to Kevin B. Hendricks <khendricks@ivey.uwo.ca> and
Franz.Sirl-kernel@lauterbach.com for reporting the bug and suggesting a
fix.


git-svn-id: svn://10.0.0.236/trunk@75119 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 00:38:00 +00:00
matt%netscape.com
ac7deb52cc fixing bug for 27436
moving accesskeys to a dtd file
r:tina


git-svn-id: svn://10.0.0.236/trunk@75118 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 00:32:40 +00:00
wtc%netscape.com
789e9a5b4b Bugzilla bug #45432: fixed memory leak in pr_Mac_LoadNamedFragment and
pr_Mac_LoadIndexedFragment.


git-svn-id: svn://10.0.0.236/trunk@75117 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 00:27:37 +00:00
pavlov%netscape.com
1f775cfe2d fix for mem leak bug 43580 r=slamm
git-svn-id: svn://10.0.0.236/trunk@75116 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:59:37 +00:00
pavlov%netscape.com
246a2e8ce5 fix for clipboard crash bug #46195 r=slamm
git-svn-id: svn://10.0.0.236/trunk@75115 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:56:43 +00:00
mozilla.BenB%bucksch.org
edb0e79de0 Accidently swaped PRBool and PRInt32 in my last checkin. r=akk
git-svn-id: svn://10.0.0.236/trunk@75114 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:49:12 +00:00
sfraser%netscape.com
d36d1b2c49 Always export the instrumentation header now.
git-svn-id: svn://10.0.0.236/trunk@75113 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:48:18 +00:00
sfraser%netscape.com
2b2e78f1d1 This file has moved to mozilla/lib/mac/Instrumentation
git-svn-id: svn://10.0.0.236/trunk@75112 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:47:30 +00:00
sfraser%netscape.com
623813cfe0 New files for profiling on Mac
git-svn-id: svn://10.0.0.236/trunk@75111 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:45:55 +00:00
mozilla.BenB%bucksch.org
7796c1500d 44439: Support headers (3 modes), <dd>/<dt>, <q>, <code>, <th>.
Improved <img>, </blockquote>.
Improved "unknown" block and (some) inline tags.
Pref for structured phrases.
r=akk, a=waterson


git-svn-id: svn://10.0.0.236/trunk@75106 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:18:12 +00:00
javi%netscape.com
3cb50139c9 Add a Certificate Content Listener so that mozilla can download a
certificate from VeriSign.

bug 45878
r=mscott, valeski


git-svn-id: svn://10.0.0.236/trunk@75104 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:14:55 +00:00
pinkerton%netscape.com
699b76deb0 fix for bug 29569, truncating mac menus better. Also pushes around and refactors a lot of our ugly i18n font code. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@75103 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:12:43 +00:00
nelsonb%netscape.com
833e89e919 Build libmpi.a. Include mpmontg.o in libmpi.a. Build programs with
libmpi.a.  Fix dependencies so lib is rebuilt when headers change.


git-svn-id: svn://10.0.0.236/trunk@75102 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:11:12 +00:00
nelsonb%netscape.com
ce809ee0e7 Modular exponentiation with Montgomery reduction for MPI.
The Initial Developer of the Original Code is
Netscape Communications Corporation.  Portions created by Netscape are
Copyright (C) 2000 Netscape Communications Corporation.
All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@75101 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:09:02 +00:00
slamm%netscape.com
a9efe402ba Single click behavior for What's Related panel. Now it is consistent with the Search panel. bug 41609. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@75100 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:06:21 +00:00
nelsonb%netscape.com
4ac0fae83a Disambiguoate error messages in mod-expt test.
git-svn-id: svn://10.0.0.236/trunk@75098 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:04:23 +00:00
nelsonb%netscape.com
76a7f72c49 - Renamed mp_exptmod to s_mp_exptmod. This function is now used only in
when the modulus is even. mp_exptmod is now in mpmontg.c.
- Declare and define new function s_mp_mul_d_add_offset(), which computes
the product of an mp_digit and an mp_int, shifts the product to the left
by a number of digits, and adds the shifted product to another mp_int.
Used in multiplication and Montgomery reduction.  Numerous platform
vendors have assembly language versions of this function.
- Removed some ANDs with DIGIT_MAX.  Casting to mp_digit is necessary
and sufficient.  The AND doesn't help.


git-svn-id: svn://10.0.0.236/trunk@75097 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 23:03:12 +00:00
dmose%mozilla.org
78d808b468 Building on windows now works, using ENABLE LDAP. Removed from the list.
git-svn-id: svn://10.0.0.236/trunk@75096 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:57:12 +00:00
nelsonb%netscape.com
df3ba7efed Use unsigned int for mp_digit instead of unsigned long when both are
32-bits.  This reduced warnings.  Use mp_size instead of unsigned int
in function declarations. Fix MP_DIGIT_FMT for 32-bit digits.


git-svn-id: svn://10.0.0.236/trunk@75095 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:55:56 +00:00
dbaron%fas.harvard.edu
7b4002d7bf Fix two stupid mistakes I made in the block regression test script. Not part of build. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@75094 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:50:30 +00:00
nelsonb%netscape.com
5b69fa4787 Use mp_size instead of unsigned int in function prototypes.
git-svn-id: svn://10.0.0.236/trunk@75093 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:49:42 +00:00
scc%mozilla.org
cdfd44fe36 adding a needed prefix file, these are not part of the build, just part of the string test framework (as was StringTest.mcp, just checked in)
git-svn-id: svn://10.0.0.236/trunk@75092 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:47:17 +00:00
scc%mozilla.org
a9cd93aecc get rid of "nsWorkString"
git-svn-id: svn://10.0.0.236/trunk@75091 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:45:58 +00:00
sgehani%netscape.com
9af6937e1f Make linux installer work. Fix for nsbeta2+ bugscape b=1655; r=ssu
git-svn-id: svn://10.0.0.236/trunk@75090 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:45:12 +00:00
dmose%mozilla.org
9edfa0fbb1 ldap_set_option was being called incorrectly; fixed. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@75089 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:44:43 +00:00
akkana%netscape.com
6bac56d91a Remove obsolete csh and .bat files -- use the perl file instead
git-svn-id: svn://10.0.0.236/trunk@75088 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:38:34 +00:00
akkana%netscape.com
78da8b6a0f Set LD_LIBRARY_PATH to make the test script more easily runnable; r=mozilla@bucksch.org
git-svn-id: svn://10.0.0.236/trunk@75087 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:36:52 +00:00
waterson%netscape.com
c607d4bc40 Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana.
git-svn-id: svn://10.0.0.236/trunk@75085 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:29:28 +00:00
anthonyd%netscape.com
1355a05c4e bug fixes:
39529 - caret width not correct for single/muti line textfields, which relied on:
46445 -  nsLookAndFeel needs to be a service.
r: mjudge@netscape.com, kin@netscape.com
a:beppe


git-svn-id: svn://10.0.0.236/trunk@75084 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:12:45 +00:00
bryner%uiuc.edu
fa5b1a797a Fix for 46757. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@75083 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:09:45 +00:00
attinasi%netscape.com
3597de6638 Fix for bug 36849: Script animation that changes location and clip simultaneously no longer will flicker.
Checking in (for Robert O'Callahan) a change to the event priorities: reverting to standard priorities.
This was tested for weeks by several individuals with no bad effects reported. b=36849 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@75082 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:58:14 +00:00
valeski%netscape.com
f8c7cff256 37669. removing unused buildURI code
git-svn-id: svn://10.0.0.236/trunk@75081 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:54:59 +00:00
attinasi%netscape.com
1f56e6138f Fix for bug 36849: Script animation that changes location and clip simultaneously no longer will flicker.
ApplyRenderingChangeToTree now always does a NO_SYNC update of the views where it used to sometimes do a SYNC update. b=36849 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75080 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:54:49 +00:00
attinasi%netscape.com
0434cb5cf6 Added more history data. Not part of build
git-svn-id: svn://10.0.0.236/trunk@75079 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:51:35 +00:00
larryh%netscape.com
d05d8c32f0 BugZilla: 4090. PR_APPEND
git-svn-id: svn://10.0.0.236/trunk@75078 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:51:07 +00:00
heikki%netscape.com
319fc39e43 Bugs 38399, 40889. r=jst.
git-svn-id: svn://10.0.0.236/trunk@75077 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:49:42 +00:00
heikki%netscape.com
4ab104dc0c Bugs 38399, 40889, 44211. Also fix two compiler warnings (mismatched signed/unsigned). r=jst (bug 44211 r=harishd).
git-svn-id: svn://10.0.0.236/trunk@75076 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:48:08 +00:00
mcafee%netscape.com
24ce689ef7 Simplifying languages label to save space, AND it reads better (5236). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@75075 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:42:00 +00:00
rhp%netscape.com
a797dd80b8 Fix for following HTML standards - Bug #: 46788 - r: rhp - mozilla contribution
git-svn-id: svn://10.0.0.236/trunk@75074 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:38:32 +00:00
endico%mozilla.org
a43f96a5ea If the application is set up at the server root (e.g. bugzilla.mozilla.org) then this robots.txt disallows robots from scanning the site except for the top level file.
git-svn-id: svn://10.0.0.236/trunk@75073 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:28:41 +00:00
radha%netscape.com
efb5487142 Fix for bug # 41775. r=slamm
git-svn-id: svn://10.0.0.236/trunk@75072 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:21:10 +00:00
radha%netscape.com
22ff4c47cc Fix for bug # 41775. urlbar history entries persisted r=slamm
git-svn-id: svn://10.0.0.236/trunk@75071 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:20:39 +00:00
mscott%netscape.com
5a8dec538d Bug #1549 --> be sure to load existing accounts before trying to create an incoming server.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@75070 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 21:16:58 +00:00
attinasi%netscape.com
467733d11c Fixed bug 44396: LINK elements now act like links when they have generated content. b=44396 r=dbaron
git-svn-id: svn://10.0.0.236/trunk@75069 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 20:57:08 +00:00
attinasi%netscape.com
248ad9b5be Fixed bug 44199: fixed position background images were not being treated as fixed in all cases. b=44199 r=dbaron
git-svn-id: svn://10.0.0.236/trunk@75068 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 20:50:57 +00:00
mcafee%netscape.com
4f25918723 Tightening up space in fonts pref panel (5236). r=akkana
git-svn-id: svn://10.0.0.236/trunk@75067 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 20:34:02 +00:00
kin%netscape.com
b200b0dc2d Fix for bug #46657: an Undo past default text value in a TextWidget
Modified CreateAnonymousContent() to disable editor undo before
setting the default value, and then reenable it afterwards.
r=brade@netscape.com


git-svn-id: svn://10.0.0.236/trunk@75066 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 13:53:26 +00:00
dbaron%fas.harvard.edu
00db0c5ed3 Add to block regression tests. Does not affect build.
git-svn-id: svn://10.0.0.236/trunk@75065 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 12:34:56 +00:00
dbaron%fas.harvard.edu
1f26e41fab Check in some debugging code that's very useful for finding leaked GC roots. This is #if 0, so it shouldn't affect anything. r=a=waterson
git-svn-id: svn://10.0.0.236/trunk@75064 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 12:18:29 +00:00
brade%netscape.com
6570564d2d handle control-shift-home/end keybindings (bug #43122)
git-svn-id: svn://10.0.0.236/trunk@75063 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 11:17:46 +00:00
cls%seawood.org
c939d4019b Oops. Remove define accidentally set with previous checkin.
git-svn-id: svn://10.0.0.236/trunk@75062 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 11:09:00 +00:00
brade%netscape.com
ade6b8764e handle control-shift-home/end keybindings (bug #43122)
git-svn-id: svn://10.0.0.236/trunk@75061 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 11:08:41 +00:00
brade%netscape.com
bf018ca524 add missing move/selection command (cmd_selectBottom); bug #22529
git-svn-id: svn://10.0.0.236/trunk@75060 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 10:53:27 +00:00
brade%netscape.com
d5c972c4d3 string changes for bug #45491 (from mpt@mailandnews.com)
git-svn-id: svn://10.0.0.236/trunk@75059 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 10:40:30 +00:00
brade%netscape.com
ec43934812 tooltips from simone (bug #9767)
git-svn-id: svn://10.0.0.236/trunk@75058 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 10:35:04 +00:00
brade%netscape.com
5a62117584 only handle backspace (deletion) if no modifiers are pressed (bug #41078)
git-svn-id: svn://10.0.0.236/trunk@75054 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 10:20:17 +00:00
brade%netscape.com
602958635f change commented-out code to not show up on some people's lxr searches
git-svn-id: svn://10.0.0.236/trunk@75053 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 10:19:09 +00:00
brade%netscape.com
979b376d05 remove save and saveas commands (now in JS); submitted by rcassin@supernova.org (bug #16359)
git-svn-id: svn://10.0.0.236/trunk@75051 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 10:15:28 +00:00
brade%netscape.com
b1e26e8f35 remove registration of save and saveas commands (now handled in JS); submitted by rcassin@supernova.org (bug #16360)
git-svn-id: svn://10.0.0.236/trunk@75050 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 10:14:22 +00:00
brade%netscape.com
850e31e003 submitted by rcassin@supernova.org; add save and saveas commands to this file (bug #16360)
git-svn-id: svn://10.0.0.236/trunk@75049 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 10:12:53 +00:00
hyatt%netscape.com
e81421e72f Oops. Checked in debugging code. Backing out.
git-svn-id: svn://10.0.0.236/trunk@75048 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:53:26 +00:00
hyatt%netscape.com
a9d2806621 Fix for 46129. r=waterson,attinasi,pierre
git-svn-id: svn://10.0.0.236/trunk@75047 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:36:51 +00:00
hyatt%netscape.com
7cc13adfd8 Fix for 46129. r=waterson,attinasi,pierre
git-svn-id: svn://10.0.0.236/trunk@75046 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:36:14 +00:00
warren%netscape.com
bc762d95b9 Fixed to now work.
git-svn-id: svn://10.0.0.236/trunk@75045 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:28:10 +00:00
mcafee%netscape.com
585f86e6d2 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@75042 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:20:18 +00:00
waterson%netscape.com
1ebea98d31 Bug 46013. Use nsVoidArray to hold observers to avoid extra addref/release when notfying. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@75041 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:20:15 +00:00
waterson%netscape.com
76ca04dc3b Bug 46013. Make nsChromeRegistry own the UI datasource; clean up the special release method so that it does correct bloat log. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@75040 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:19:42 +00:00
rbs%maths.uq.edu.au
b082477bba Enable the code to support for 'vertical-align: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:karnaze@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75039 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:19:26 +00:00
rbs%maths.uq.edu.au
fe6ee91829 Enable the code to export the baseline out of the block frame code to support 'vertical-article: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75038 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:18:15 +00:00
waterson%netscape.com
cf2a3109e3 Bug 44709. Maintain renumbering depth on stack, instead of in a global. r=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@75037 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:02:34 +00:00
cls%seawood.org
e812c40f33 Always use |PR_TRUE| instead of |true| as some compiler don't define |true|.
git-svn-id: svn://10.0.0.236/trunk@75036 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 08:58:02 +00:00
warren%netscape.com
809364ca64 Fixed case of filenames for unix.
git-svn-id: svn://10.0.0.236/trunk@75035 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 08:47:56 +00:00
valeski%netscape.com
f4b082fe72 this lib is no longer generated or used
git-svn-id: svn://10.0.0.236/trunk@75034 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 08:46:59 +00:00
ben%netscape.com
1164647868 46613...
git-svn-id: svn://10.0.0.236/trunk@75033 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 08:30:24 +00:00
cls%seawood.org
447123c296 Add WS5.0 std::tm workaround for build bustage
git-svn-id: svn://10.0.0.236/trunk@75032 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 08:20:51 +00:00
cls%seawood.org
78e9aa6004 Workaround for long-standing AIX bustage
git-svn-id: svn://10.0.0.236/trunk@75031 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 08:11:51 +00:00
cls%seawood.org
74e0fb7f78 Fix typo
git-svn-id: svn://10.0.0.236/trunk@75030 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 08:10:59 +00:00
alecf%netscape.com
b98f8897d9 fix for alternate 3-pane layout contributed by timeless@bemail.org
r=alecf
(part of 46613)


git-svn-id: svn://10.0.0.236/trunk@75029 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 08:02:28 +00:00
ben%netscape.com
8898421aee added bg image for mac toolbar, 46613
git-svn-id: svn://10.0.0.236/trunk@75028 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 07:24:01 +00:00
warren%netscape.com
6f154fb3bb obsolete
git-svn-id: svn://10.0.0.236/trunk@75027 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 07:00:36 +00:00
ben%netscape.com
319fa39ba0 More work for 46613, polish stuff for classic skin.
git-svn-id: svn://10.0.0.236/trunk@75026 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:59:57 +00:00
cls%seawood.org
436230200d The AIX compiler doesn't seem to know how to handle |typename|
git-svn-id: svn://10.0.0.236/trunk@75025 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:57:20 +00:00
warren%netscape.com
e1a3e3e230 Cleaning up slashes, adding a few missed files.
git-svn-id: svn://10.0.0.236/trunk@75024 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:49:43 +00:00
warren%netscape.com
dea12f17f6 Making addref/release threadsafe
git-svn-id: svn://10.0.0.236/trunk@75023 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:49:01 +00:00
warren%netscape.com
48c2a980b3 Fixed declaration of nsHashtableCloneElementFunc to have PR_CALLBACK.
git-svn-id: svn://10.0.0.236/trunk@75022 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:48:32 +00:00
hyatt%netscape.com
17eab69576 Prevent thrashing for nodes that always have display: none in XUL (broadcasters, commands, keys), r=waterson
git-svn-id: svn://10.0.0.236/trunk@75020 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:40:27 +00:00
mcafee%netscape.com
1c82b9d517 Factoring history prefs into separate pane (5236). a=pavlov
git-svn-id: svn://10.0.0.236/trunk@75019 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:32:27 +00:00
wtc%netscape.com
80f3ead2dc Bugzilla bug #45181: improvement for imported fd's on NT.
Modified files: _winnt.h, prsocket.c, ntio.c


git-svn-id: svn://10.0.0.236/trunk@75018 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:28:05 +00:00
ben%netscape.com
02d86f9842 46613, trying to make maccvs commit this file ;)
git-svn-id: svn://10.0.0.236/trunk@75017 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:23:26 +00:00
ben%netscape.com
27c664cff1 skinnability & correctness tweaks, part of polish fixes for 46613
git-svn-id: svn://10.0.0.236/trunk@75016 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:18:21 +00:00
ben%netscape.com
b71a099fc2 46613, classic skin polish
git-svn-id: svn://10.0.0.236/trunk@75015 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 06:16:16 +00:00
jst%netscape.com
fcf4ccc897 (Merging nsbeta2 checkin to the tip) Fixing nsbeta2+ bug 28572, the docshell was fireing the script unload handler too early in some cases and in some other cases the unload handler was fired even if the document wasn't unloaded. r=nisheeth, a=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@75014 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:55:54 +00:00
cls%seawood.org
04d7dbe793 The ports tinderboxes were inconveniently down so this bustage was hidden for the past week. Bug #45698
git-svn-id: svn://10.0.0.236/trunk@75012 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:43:24 +00:00
idk%eng.sun.com
2d26be1613 * NOT PART OF TBOX BUILDS**
Fixed crasher bug. class was used before initialization.


git-svn-id: svn://10.0.0.236/trunk@75011 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:39:53 +00:00
ben%netscape.com
45baf3be98 More work for 46613, polish stuff for classic skin.
git-svn-id: svn://10.0.0.236/trunk@75010 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:17:00 +00:00
hyatt%netscape.com
1a938d68f3 Fix for 45446, r=ben
git-svn-id: svn://10.0.0.236/trunk@75009 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:13:13 +00:00
wtc%netscape.com
c9a788b8e3 Get rid of PR_UNKNOWN_ERROR.
git-svn-id: svn://10.0.0.236/trunk@75008 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:12:51 +00:00
dmose%mozilla.org
0f1adf956c A menu was being created too early, before it is possible to avoid
creating the menu with an invalid default selection.  This was causing
bugzilla to (incorrectly) spew a database corruption error when
attempting to view a bug that had been resolved MOVED.  Why this
wasn't causing the same problem with DUPLICATE resolutions, I don't
know.  Moved the menu creation later in the code, so that it only
happens after it has been ensured that the default selection is not
going to be MOVED.


git-svn-id: svn://10.0.0.236/trunk@75007 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:12:33 +00:00
warren%netscape.com
2be98ed83d Added back in use Cwd;
git-svn-id: svn://10.0.0.236/trunk@75006 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:08:08 +00:00
hyatt%netscape.com
5bd9e37645 Fix for 46361, r=ben
git-svn-id: svn://10.0.0.236/trunk@75005 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:02:46 +00:00
warren%netscape.com
d13b65ff46 Fixed up rules for jarring.
git-svn-id: svn://10.0.0.236/trunk@75004 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 04:46:45 +00:00
blizzard%redhat.com
97b1f7f724 clean up some service usage in the emedding widget. also, be picky about when to shut down XPCOM. use gtk_set_locale() in the testing program so people who use XIM will be able to use that input method. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@75003 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 04:34:46 +00:00
blizzard%redhat.com
b655f5be3f XSync after doing a window scroll. visually, this looks a lot better and is an improvement for scrolling on linux. patch from imoT r=me
git-svn-id: svn://10.0.0.236/trunk@75002 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 04:32:22 +00:00
ben%netscape.com
28b1445f30 fixing toolbarseparator warnings, forgot to check this in with 46613 fixes last night.
git-svn-id: svn://10.0.0.236/trunk@75001 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 04:24:56 +00:00
pinkerton%netscape.com
bc870b186e Fix for 46749, regression from my earlier checkin. forgot to check for null before
looking for the menu parent. Doh!


git-svn-id: svn://10.0.0.236/trunk@75000 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 04:10:12 +00:00
dmose%mozilla.org
33d5f90134 on some windows configurations, the build has been messed up for at least a couple of weeks because some microsoft header file defines 'interface', which conflicts with the member variable in xpt_struct.h. rename the member variable from interface to iface. workaround suggested by alecf@netscape.com. r=jband@netscape.com, a=waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74999 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 04:03:50 +00:00
dmose%mozilla.org
e5d20a3ce5 conditionally build LDAP code on windows if ENABLE_LDAP env var is set. r=cls@seawood.org, a=waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74998 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 04:00:47 +00:00
danm%netscape.com
18ecc11fd7 shut down a selection's autoscroll timer in the selection's destructor. bug 43470. r=saari@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74997 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 03:48:26 +00:00
saari%netscape.com
8949ae4db2 Mac fix that derived out of 43470. r=danm
git-svn-id: svn://10.0.0.236/trunk@74996 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 03:47:55 +00:00
ben%netscape.com
608b2fa2b3 fixes to Mac classic skin to match my updates to Windows classic last night, b46613
git-svn-id: svn://10.0.0.236/trunk@74995 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 03:09:05 +00:00
mkaply%us.ibm.com
793582c19c OS/2 Tinderbox breakage
Just because someone uses the unix Makefiles doesn't mean they have GTK


git-svn-id: svn://10.0.0.236/trunk@74994 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 03:01:03 +00:00
wtc%netscape.com
bbd5f98fdf Fixed Bugzilla bug #45181.
Modified files: _beos.h, _macos.h, _os2.h, _unixos.h, _win95.h, _winnt.h,
primpl.h, prfile.c, prio.c, prsocket.c, bfile.c, macsockotpt.c, os2io.c,
unix.c, ntio.c, w95io.c, prinit.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@74993 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 02:40:54 +00:00
hyatt%netscape.com
795e8e2243 Fix for 43778. r=ben
git-svn-id: svn://10.0.0.236/trunk@74992 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 02:22:59 +00:00
rhp%netscape.com
8d064d5e08 Fix for conversion problems with my favorite fields - phone numbers - Bug #: 1193 - r: pmock
git-svn-id: svn://10.0.0.236/trunk@74991 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 01:57:47 +00:00
harishd%netscape.com
d05675c787 Migrating beta2+ fix
----------------------------

45975 - Making sure that the stack position doesn't become negative.
Note: This is a HACK for beta2. The real fix will go in for beta3.

r=jst
a=nisheeth


git-svn-id: svn://10.0.0.236/trunk@74988 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 01:01:08 +00:00
sfraser%netscape.com
2706e7255d Fix typo, bug 46260. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@74987 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:56:37 +00:00
harishd%netscape.com
536513536c Migrating beta2 fix to the branch
---------------------------------------------
42388 (nsbeta2+)  - Disabling transitional DTD
r=jst
a=nisheeth


git-svn-id: svn://10.0.0.236/trunk@74986 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:56:15 +00:00
sfraser%netscape.com
f69feac143 Fix 6553 at last -- image badge icons now show on Mac. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@74985 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:55:53 +00:00
sfraser%netscape.com
664ec10e82 Fix menu ordering on hide/show menus, bugs 45798, 29835, 45874, and 45914. r=saari, pinkerton.
git-svn-id: svn://10.0.0.236/trunk@74982 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:45:56 +00:00
attinasi%netscape.com
04de4e827f Trunk fix: bug 29061, where relative width value of '*' was getting 0 instead of 1. Simple fix, r=karnaze b=29061
git-svn-id: svn://10.0.0.236/trunk@74981 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:37:02 +00:00
hyatt%netscape.com
c08ee125ab Fix for 41145.
git-svn-id: svn://10.0.0.236/trunk@74980 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:35:30 +00:00
hyatt%netscape.com
16169e4319 Fix for 41145. r=waterson
git-svn-id: svn://10.0.0.236/trunk@74979 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:35:02 +00:00
hyatt%netscape.com
19543947f3 Fix for 41145, r-waterson
git-svn-id: svn://10.0.0.236/trunk@74978 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:34:22 +00:00
morse%netscape.com
5dae2e229b bug 45455, deleting blank username causes wrong user to be deleted, r=jrgm
git-svn-id: svn://10.0.0.236/trunk@74977 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:28:43 +00:00
morse%netscape.com
a317e6eeed bug 45454, blank username is not selectable, r=jrgm
git-svn-id: svn://10.0.0.236/trunk@74976 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:26:17 +00:00
pinkerton%netscape.com
baf08c85bb Fix for 31727, make submenus inherit the context menu-ness from their parents. Another
great patch from Dean Tessman.


git-svn-id: svn://10.0.0.236/trunk@74975 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:25:18 +00:00
rjc%netscape.com
4e027a7cf0 Fix bug # 46710: get d&d working for file/ftp listings. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@74974 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:22:07 +00:00
sfraser%netscape.com
9970fe23cd Fixes for URL echo Apple Event handling from Steve Cox <scox@artlogic.com> for bug 44250. r=smfr
git-svn-id: svn://10.0.0.236/trunk@74973 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:21:06 +00:00
pchen%netscape.com
04832c282b Bugs 45817, 46531. Clean up code, make it same as fix I checked in onto branch, r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@74972 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:20:54 +00:00
rhp%netscape.com
20e9522f2e Fix for incorrect error notification on Copy failures - Bug #: 41504 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@74971 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:18:56 +00:00
edburns%acm.org
282db89308 Classes must be built first in order to build jni.
git-svn-id: svn://10.0.0.236/trunk@74970 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:17:21 +00:00
dbaron%fas.harvard.edu
7753d35814 Make the block regression tests easier to run on Linux. They no longer require setting any environment variables. r=pollmann Not part of build.
git-svn-id: svn://10.0.0.236/trunk@74968 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:42:34 +00:00
dbaron%fas.harvard.edu
4d33335d40 Bring mozilla-viewer.sh all the enhancements made to mozilla (the shell script) in the past year or so, plus one more (-- to turn off command line handling). This is needed to get block regression tests to run easily. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@74967 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:41:28 +00:00
dbaron%fas.harvard.edu
5c317da98a Fix the way HTML's align attribute works for horizontal alignment of blocks. Use the -moz-center and -moz-right even in strict mode, and apply them to blocks in addition to tables. r=attinasi b=37083, 40038
git-svn-id: svn://10.0.0.236/trunk@74966 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:37:44 +00:00
pnunn%netscape.com
eea96f3b7f bug#22754: fix, nsbeta3. pnunn. r:gagan
git-svn-id: svn://10.0.0.236/trunk@74965 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:37:00 +00:00
mcafee%netscape.com
f5ba31d529 Cleaning up debug pref pane; saving space on navigator pref pane (5236). r=matt
git-svn-id: svn://10.0.0.236/trunk@74964 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:31:51 +00:00
dbaron%fas.harvard.edu
1817996df9 Fix leak of keybinding table and keybinding documents. r=waterson b=17390, 24645
git-svn-id: svn://10.0.0.236/trunk@74963 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:31:09 +00:00
dbaron%fas.harvard.edu
bcf5e66f3b Fix leak of GlobalWindowImpl. r=a=waterson
git-svn-id: svn://10.0.0.236/trunk@74962 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:27:00 +00:00
dbaron%fas.harvard.edu
38b11b0554 Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963
git-svn-id: svn://10.0.0.236/trunk@74961 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:17:53 +00:00
dbaron%fas.harvard.edu
ab669e18ee Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963
git-svn-id: svn://10.0.0.236/trunk@74959 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:11:02 +00:00
mcafee%netscape.com
ff1a66602f Properly removing viewmanager2 pref UI. r=matt
git-svn-id: svn://10.0.0.236/trunk@74958 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:03:22 +00:00
alecf%netscape.com
045426654f mozilla side of fix for bugscape 1638 - only show ISPs which explicitly request it
r=mscott


git-svn-id: svn://10.0.0.236/trunk@74957 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 22:55:31 +00:00
mcafee%netscape.com
9bb1a5028b Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@74955 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 22:31:40 +00:00
mcafee%netscape.com
4cf376f3ee Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@74954 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 22:27:20 +00:00
mcafee%netscape.com
6ae4fbc17f Adding gtkEmbed tests to build (43055). r=dougt
git-svn-id: svn://10.0.0.236/trunk@74953 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 22:25:23 +00:00
brade%netscape.com
ab3f28d6f7 missing whitespace
git-svn-id: svn://10.0.0.236/trunk@74952 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:56:47 +00:00
cls%seawood.org
5643f70150 Don't rely upon files that use jri_md.h to include prtypes.h which provides a much needed HAS_LONG_LONG define. Bug 31381
git-svn-id: svn://10.0.0.236/trunk@74951 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:56:07 +00:00
brade%netscape.com
476859b1a9 add missing keybindings for windows-alternative shortcuts (cut/copy/paste); bug #41078)
git-svn-id: svn://10.0.0.236/trunk@74950 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:55:25 +00:00
brade%netscape.com
020dabd77d don't delete unless no modifier keys are pressed (bug #41078)
git-svn-id: svn://10.0.0.236/trunk@74949 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:50:04 +00:00
brade%netscape.com
49613c436b add static to remove warning
git-svn-id: svn://10.0.0.236/trunk@74948 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:49:46 +00:00
brade%netscape.com
63b9c0f503 don't delete unless no modifiers are pressed (bug #41078)
git-svn-id: svn://10.0.0.236/trunk@74947 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:49:42 +00:00
brade%netscape.com
870b8893ac remove unused function
git-svn-id: svn://10.0.0.236/trunk@74946 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:48:06 +00:00
brade%netscape.com
59b71a64c5 add static to two methods to remove warnings
git-svn-id: svn://10.0.0.236/trunk@74945 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:46:26 +00:00
brade%netscape.com
3a45f2158c delete only if there are no other modifiers (bug #41078)
git-svn-id: svn://10.0.0.236/trunk@74944 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:45:27 +00:00
brade%netscape.com
d6e55a2f61 handle control-delete (bug #41078)
git-svn-id: svn://10.0.0.236/trunk@74943 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:43:57 +00:00
brade%netscape.com
1a7550dbae handle control-delete and shift-delete (bug #41078)
git-svn-id: svn://10.0.0.236/trunk@74942 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:41:50 +00:00
brade%netscape.com
b6b0a40813 clean up the code; remove unnecessary code/functions; don't handle delete/fwd delete keypresses if there is a modifier key pressed; bug #41078; r=kin
git-svn-id: svn://10.0.0.236/trunk@74941 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:39:48 +00:00
brade%netscape.com
8e68956e2f tooltip changes from simone; bug #9767
git-svn-id: svn://10.0.0.236/trunk@74940 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:37:13 +00:00
brade%netscape.com
751009f780 checkin for simone; remove unused tooltip; bug #9767
git-svn-id: svn://10.0.0.236/trunk@74939 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:36:39 +00:00
brade%netscape.com
4e395d80af checkin for simone; remove unused tooltips; bug #9767
git-svn-id: svn://10.0.0.236/trunk@74938 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:36:05 +00:00
larryh%netscape.com
9068b6a96c BugZilla: 25982. Add function PR_PutEnv()
git-svn-id: svn://10.0.0.236/trunk@74937 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:20:48 +00:00
mkaply%us.ibm.com
d29f281df6 45872
r=mkaply, a=brendan
Found a way to get the desktop DC so screen APIs could be implemented properly


git-svn-id: svn://10.0.0.236/trunk@74936 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:10:32 +00:00
warren%netscape.com
cefc53b8e5 Bug 46674. Classic =/== typo.
git-svn-id: svn://10.0.0.236/trunk@74935 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:01:15 +00:00
akkana%netscape.com
e346c4328d 46577: Fix perl errors, thanks to contribution from rufus@nonstuff.de (Rufus), r=me
git-svn-id: svn://10.0.0.236/trunk@74934 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 20:57:49 +00:00
granrose%netscape.com
49d221c84c changing milestone from M17 to M18 for useragent and about page.
git-svn-id: svn://10.0.0.236/trunk@74933 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 20:57:43 +00:00
mkaply%us.ibm.com
fd90e63d26 OS/2 Tinderbox break
Need PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@74932 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 20:40:57 +00:00
tara%tequilarista.org
438fb4f0fd Turning off tag support in quips because some assholes have nothing better do than fuck with my tool
git-svn-id: svn://10.0.0.236/trunk@74931 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 20:10:16 +00:00
mcgreer%netscape.com
bc1df08d18 merge changes from 3.0 branch
git-svn-id: svn://10.0.0.236/trunk@74930 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 18:26:28 +00:00
despotdaemon%netscape.com
a53dc81e3f Pseudo-automatic update of changes made by ann.adamcik@sun.com.
git-svn-id: svn://10.0.0.236/trunk@74926 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 16:25:57 +00:00
brade%netscape.com
f24b9cd623 checkin for simone; tooltip chanegs; bug #9767
git-svn-id: svn://10.0.0.236/trunk@74921 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 15:01:40 +00:00
nboyd%atg.com
9fd86753ee Experimental changes for debugger.
git-svn-id: svn://10.0.0.236/trunk@74919 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 14:54:15 +00:00
mj%digicool.com
d42f99cf7d mozilla.xml-rpc.fault.1 now implements QueryInterface, r=mang
git-svn-id: svn://10.0.0.236/trunk@74918 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 14:52:47 +00:00
brade%netscape.com
f0e7b3eb66 checkin for simone; tooltip changes; bug #9767
git-svn-id: svn://10.0.0.236/trunk@74917 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 14:43:43 +00:00
neeti%netscape.com
91d835a058 fix for bug 40084 - [CRASH] Crash in disk cache code, r/a=gagan
git-svn-id: svn://10.0.0.236/trunk@74916 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 14:28:48 +00:00
brade%netscape.com
85f47f88c2 fix prefs (bug #42212)
git-svn-id: svn://10.0.0.236/trunk@74915 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 14:10:11 +00:00
brade%netscape.com
8e6ea485f0 fix for #41989; add 'shift="false" to new message command; r/a=ben
git-svn-id: svn://10.0.0.236/trunk@74914 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 14:01:40 +00:00
brade%netscape.com
b855565ec4 expose commented out prefs and tweak for autosave/recent files; submitted by rcassin@supernova.org; fix for bug #44212 (make the pref match the string in the source)
git-svn-id: svn://10.0.0.236/trunk@74913 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 13:56:06 +00:00
brade%netscape.com
3f76a9ac6b strings for newly exposed prefs (submitted by rcassin@supernova.org)
git-svn-id: svn://10.0.0.236/trunk@74912 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 13:52:53 +00:00
rjc%netscape.com
cb5a078a39 Fix simple typo. r=me
git-svn-id: svn://10.0.0.236/trunk@74910 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 11:39:27 +00:00
rjc%netscape.com
5d17e5220a Fix bug # 45444: option-clicking on a bookmark should open Properties dialog; cmd-clicking on a bookmark should open URL in a new browser window. r=me
git-svn-id: svn://10.0.0.236/trunk@74909 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 10:55:47 +00:00
rjc%netscape.com
274b99d50f Fix bug # 43003: when drag&dropping an unnamed URL, give it a default name correctly. r=me
git-svn-id: svn://10.0.0.236/trunk@74908 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 10:24:03 +00:00
ben%netscape.com
05e98123af forgot this one as well...
git-svn-id: svn://10.0.0.236/trunk@74907 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 10:17:45 +00:00
ben%netscape.com
b1ceb169d8 forgot to check these files in with the previous batch...
git-svn-id: svn://10.0.0.236/trunk@74906 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 10:12:40 +00:00
ben%netscape.com
39e9d0ded5 forgot to check in these files with previous batch
git-svn-id: svn://10.0.0.236/trunk@74905 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 10:09:45 +00:00
rjc%netscape.com
16f81ac367 Fix bug # 39161: when adding a new bookmark, set its default type if it doesn't have one. r=me
git-svn-id: svn://10.0.0.236/trunk@74904 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 09:44:58 +00:00
hyatt%netscape.com
0adc4bb434 Fixing duplicate style resolution problem in trees. r=ben
git-svn-id: svn://10.0.0.236/trunk@74903 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 09:10:52 +00:00
rbs%maths.uq.edu.au
1962746968 First check-in. Not intended for the build. Simple utility to assist external people who make MathML-enabled builds so that they can set an up-to-date start-page.
git-svn-id: svn://10.0.0.236/trunk@74902 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 09:04:00 +00:00
rjc%netscape.com
bbae1e3c8f Fixes for various sidebar panels for bug # 42718. Also, set page title for FTP/FILE displays. Finally, fix a bug (can't remember the bug # at the moment) with clicking on the scrollbar... basically, make sure the click is on a <treeitem> before processing the click. r=me
git-svn-id: svn://10.0.0.236/trunk@74901 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 07:47:36 +00:00
alecf%netscape.com
ba34dbc1cc fix for #46613 - make total/unread status look decent in the classic skin
r=mscott


git-svn-id: svn://10.0.0.236/trunk@74900 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 07:11:15 +00:00
ben%netscape.com
0808c720f2 classic skin work for 46613, a=johng
git-svn-id: svn://10.0.0.236/trunk@74899 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 07:11:14 +00:00
ben%netscape.com
fd3be7e7f0 classic skin work for bug 46613, a=johng
git-svn-id: svn://10.0.0.236/trunk@74898 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:59:55 +00:00
hyatt%netscape.com
f48041dfac Missed files. Fixs bustage.
git-svn-id: svn://10.0.0.236/trunk@74897 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:57:32 +00:00
valeski%netscape.com
f08ae95289 not in build. perl mods to vxml
git-svn-id: svn://10.0.0.236/trunk@74896 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:48:08 +00:00
hyatt%netscape.com
fbc99a121c Make trees use timer for arrow key navigation select handling. Dramatic boost in arrow scrolling performance. a=waterson
git-svn-id: svn://10.0.0.236/trunk@74895 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:21:46 +00:00
hyatt%netscape.com
d24f8540fa Fix to prevent crawling of template. Meant to check this earlier today
with the original approved template landing. r,a=waterson


git-svn-id: svn://10.0.0.236/trunk@74894 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:20:57 +00:00
hyatt%netscape.com
63ba18ac99 Fix to reparent XBL style contexts. needed for attinasi's style context
reduction landing. r=ben


git-svn-id: svn://10.0.0.236/trunk@74893 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:20:13 +00:00
hyatt%netscape.com
9b9cb75ca5 Fix to enable fast tree scrolling. Fix shortcut keys and arrow keys in
XP menus.  Add API for obtaining offset rects for XUL elements.  Fix
deletion bug in trees.  (It's a barrel of nsbeta3 goodness.) r=ben


git-svn-id: svn://10.0.0.236/trunk@74892 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:19:30 +00:00
hyatt%netscape.com
1bffb4bd12 Fix to enable trees to blit. Performance work approved by waterson. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@74891 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:17:58 +00:00
dougt%netscape.com
7d14dacc39 bug 46413. r/a=valeski@netscape.com
Clean up memory leaks.


git-svn-id: svn://10.0.0.236/trunk@74890 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:14:06 +00:00
bratell%lysator.liu.se
ec28beac4b Final part of bug 40027. r,a=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74889 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:12:49 +00:00
waterson%netscape.com
a4b76eec47 Bug 19051. Checked in wrong patch for nsLineLayout.cpp; we want to check the display type, not the frame type, to determine if it's a block frame.
git-svn-id: svn://10.0.0.236/trunk@74888 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 05:20:09 +00:00
waterson%netscape.com
86cf521ec9 Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@74887 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 05:16:08 +00:00
waterson%netscape.com
8fbcf1ea64 Bug 37622, redux. Case insensitive compare that I meant to check in way back when, but didn't. This was really part of the first patch, but didn't make it in because I checked in from the wrong machine.
git-svn-id: svn://10.0.0.236/trunk@74886 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 05:09:40 +00:00
mcafee%netscape.com
15b66347c5 Debug-only, deleting viewmanager2 pref UI, on by default now (42845). r=matt
git-svn-id: svn://10.0.0.236/trunk@74885 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 03:52:53 +00:00
rhp%netscape.com
aecce3771e Fix for parenting of prompts - Bug #: 44152 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@74884 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 03:32:06 +00:00
putterman%netscape.com
c3762b4f91 Fix for 43187. Right align unread and total columns. Patch submitted by gemal@gemal.dk.
r=scottip. a=brendan


git-svn-id: svn://10.0.0.236/trunk@74883 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 03:22:42 +00:00
rhp%netscape.com
f2325f1b77 Fix for problem with editing Japanese emails as new - Bug #: 41009 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@74882 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 03:21:56 +00:00
rhp%netscape.com
b612cd0a3c Fix for rendering binary data as text - Bug #33579 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@74881 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 03:17:48 +00:00
morse%netscape.com
4f02094d30 part of fix for bug 45981, blue-box dialog not appearing when needed, r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@74880 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 03:07:19 +00:00
nelsonb%netscape.com
1e8fc1125b Add new function s_mp_add_offset().
Very handy in Montgomery reduction using Dusse' and Kalski's method.


git-svn-id: svn://10.0.0.236/trunk@74879 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 03:02:42 +00:00
rhp%netscape.com
7461871b9b Fix for problems with vCard display - Bug 42814 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@74878 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 03:01:06 +00:00
rhp%netscape.com
604f25c405 Fix problem leaking temp files - Bug #: 45136 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@74877 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 02:58:49 +00:00
nelsonb%netscape.com
af5a9eb982 Moved the declarations of many private defines and functions out of mpi.c
and into mpi-priv.h.  Previously, mplogic.c and mpprime.c had duplicate
copies of some of those declarations.  Now, they include mpi-priv.h


git-svn-id: svn://10.0.0.236/trunk@74875 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 02:38:54 +00:00
rhp%netscape.com
2b63fc644d Fix for standards compliant HTML output - Bug 46234 - r: rhp - external contribution
git-svn-id: svn://10.0.0.236/trunk@74874 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 01:04:27 +00:00
jfrancis%netscape.com
868ae3f8f1 take 2: fix for 22227 and partial fix for 46209; r=mjudge; a=beppe
git-svn-id: svn://10.0.0.236/trunk@74873 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 01:03:16 +00:00
rjc%netscape.com
2207d2d8d7 Fix bug # 44707: handle &amp; &gt; &lt; &quot; unescaping for related links.
git-svn-id: svn://10.0.0.236/trunk@74872 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 01:00:59 +00:00
valeski%netscape.com
7cd91f5141 not part of build. updating perl
git-svn-id: svn://10.0.0.236/trunk@74871 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 00:58:50 +00:00
ftang%netscape.com
f9ed49682e fix 45681 correct region code for li and lu. Thanks jan.lippuner@gmx.net (Jan Lippuner)
git-svn-id: svn://10.0.0.236/trunk@74870 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 00:55:45 +00:00
tao%netscape.com
481d44ee87 1615: Installer show Mozilla home page.... (r=sgehani,a=ftang)
Remove en-US files from browser.xpi.


git-svn-id: svn://10.0.0.236/trunk@74869 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 00:53:53 +00:00
alecf%netscape.com
852819bc02 other part of fix for #35427 - XUL <iframe>s cannot be specified by name,
so always use frame[0]
r=ben


git-svn-id: svn://10.0.0.236/trunk@74868 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 00:52:53 +00:00
alecf%netscape.com
c3cd08d7d2 fix for #34427 - skin the account wizard (finally!)
r=ben
switch over to new XUL widgets
also fixes #39345


git-svn-id: svn://10.0.0.236/trunk@74867 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 00:50:51 +00:00
mstoltz%netscape.com
7a7c9eec1f bug 42678. Disabling JS in mailnews by default; it can be reactivated from prefs. Lots of people asked for this. a=brendan, r=rginda.
git-svn-id: svn://10.0.0.236/trunk@74866 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 00:47:23 +00:00
rhp%netscape.com
85dc5026c2 Fix for Quoted printable issue with signatures Bug #: 46431 - r: rhp - contributed externally
git-svn-id: svn://10.0.0.236/trunk@74865 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 00:46:12 +00:00
alecf%netscape.com
43e9cee7ca fix for #45392, #38211 r=mscott
git-svn-id: svn://10.0.0.236/trunk@74864 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 00:30:23 +00:00
nelsonb%netscape.com
f9260dc627 Fix sprintf format, can't use DIGIT_FMT.
git-svn-id: svn://10.0.0.236/trunk@74863 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 00:23:17 +00:00
rjc%netscape.com
50080a9501 Fix bug # 46211: handle insertion/sorting correctly with mixed static-dynamic content. r=waterson
git-svn-id: svn://10.0.0.236/trunk@74862 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 00:22:42 +00:00
morse%netscape.com
80851e2769 change html checkbox to xul checkbox, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@74861 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 00:16:31 +00:00
waterson%netscape.com
fab935c0b3 Bug 46132. Use 'flags=dont-test-empty' to avoid eager construction of menu content. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@74859 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 23:59:13 +00:00
hyatt%netscape.com
e1af4d733b Fix to grovel non-aggressively. r=waterson,a=waterson
git-svn-id: svn://10.0.0.236/trunk@74858 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 23:57:48 +00:00
hyatt%netscape.com
14a0d87b4e Fix for templates to grovel non-aggressively. r=waterson,a=waterson
git-svn-id: svn://10.0.0.236/trunk@74857 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 23:57:24 +00:00
hyatt%netscape.com
30c853f4cb Fixes to template builder for non-aggressive groveling. r=waterson,a=waterson
git-svn-id: svn://10.0.0.236/trunk@74856 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 23:56:02 +00:00
waterson%netscape.com
20e2bc2b9d Bug 45668. Use Mork's 'row level APIs' instead of the cell level APIs to avoid excess object creation. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@74855 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 23:54:37 +00:00
bienvenu%netscape.com
b0915c25cc turn on warren and waterson's rdf optimization
git-svn-id: svn://10.0.0.236/trunk@74854 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 23:47:35 +00:00
rjc%netscape.com
ba6db048f5 Fix bug # 20339: get busy animation back for FTP. r=waterson
git-svn-id: svn://10.0.0.236/trunk@74853 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 23:46:56 +00:00
rjc%netscape.com
de2247ab57 Fix bug # 46229: get file: URL view to display file sizes and last mod dates. r=waterson
git-svn-id: svn://10.0.0.236/trunk@74852 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 23:39:49 +00:00
rogerl%netscape.com
032cbb092c Patch from Norris :
A Rhino user has complained about concurrency problems in the interpreter,
and I think the attached diff fixes some problems that could be caused if
the same interpreted function or script was called simultaneously from
two different threads.


git-svn-id: svn://10.0.0.236/trunk@74848 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 23:04:14 +00:00
bryner%uiuc.edu
927d9ed132 Bug 46379, r=alecf.
git-svn-id: svn://10.0.0.236/trunk@74845 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:52:32 +00:00
dmose%mozilla.org
5809654b4d get ldap build working on windows; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@74844 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:51:19 +00:00
dmose%mozilla.org
e94b300a1a reorder includes to avoid Windows-specific SetPort lossage. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@74843 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:50:05 +00:00
locka%iol.ie
8c586d9150 Reinstated macro that prevented browser site from being QI'd for its nsISupports interface
git-svn-id: svn://10.0.0.236/trunk@74842 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:46:05 +00:00
locka%iol.ie
eeb1a52854 Fixed for windowless controls attempting to get a DC from the ActiveX plugin
git-svn-id: svn://10.0.0.236/trunk@74841 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:45:22 +00:00
granrose%netscape.com
992059a6cf modify client.mak to include commented out co variables needed to pull tree on branch to make future branches slightly easier.
git-svn-id: svn://10.0.0.236/trunk@74840 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:43:27 +00:00
locka%iol.ie
488a5c15de Remove browser instance from progress listener list when it is closed
b=45817,r=valeski,a=valeski


git-svn-id: svn://10.0.0.236/trunk@74838 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:35:14 +00:00
sgehani%netscape.com
5b3cfb3fbe Part of fix for failover URLs. [nsbeta2+ bugscape b = 1394; r = dbragg]
git-svn-id: svn://10.0.0.236/trunk@74837 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:33:47 +00:00
roc+%cs.cmu.edu
d77a73cddd Testing, just adding a blank line
git-svn-id: svn://10.0.0.236/trunk@74836 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:30:32 +00:00
mcafee%netscape.com
f3525296bd Thinning separators to make room for larger font (5236). r=matt
git-svn-id: svn://10.0.0.236/trunk@74835 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:28:30 +00:00
wtc%netscape.com
6f85784f54 Bugzilla bug #46509: removed the use of -taso and the USE_64 makefile
option on OSF1.


git-svn-id: svn://10.0.0.236/trunk@74833 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:20:16 +00:00
bienvenu%netscape.com
07f1796421 fix build warnings
git-svn-id: svn://10.0.0.236/trunk@74831 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:34:36 +00:00
bienvenu%netscape.com
e3fb855089 keep folder cache from getting stale, r=putterman 18346
git-svn-id: svn://10.0.0.236/trunk@74830 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:29:46 +00:00
bienvenu%netscape.com
3c267deef9 fix 20176 (no new msgs msg for imap) 23590 27379 45799 r=mscott
git-svn-id: svn://10.0.0.236/trunk@74829 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:27:39 +00:00
bienvenu%netscape.com
fdf97497be keep folder cache from getting stale, r=putterman 18346 and 29890 correct munging of .msf file names
git-svn-id: svn://10.0.0.236/trunk@74828 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:24:28 +00:00
bienvenu%netscape.com
14d5fffb63 keep folder cache from getting stale, r=putterman 18346
git-svn-id: svn://10.0.0.236/trunk@74827 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:22:54 +00:00
bienvenu%netscape.com
db4490125e fix search operators for imap filters r=alecf 40530
git-svn-id: svn://10.0.0.236/trunk@74826 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:20:34 +00:00
bienvenu%netscape.com
5d05aeabbe implement ends with search r=alecf 30470
git-svn-id: svn://10.0.0.236/trunk@74825 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:19:24 +00:00
bienvenu%netscape.com
a01c520564 don't write out row comments for mork, r=waterson 44556
git-svn-id: svn://10.0.0.236/trunk@74824 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:14:34 +00:00
bienvenu%netscape.com
9341d4203b remove debug_bienvenu code for search testing
git-svn-id: svn://10.0.0.236/trunk@74823 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:09:39 +00:00
bienvenu%netscape.com
2e901246ff fix mark thread read for imap, r=putterman 45087
git-svn-id: svn://10.0.0.236/trunk@74822 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:07:30 +00:00
bienvenu%netscape.com
bccac1d2cd protect against null channel when getting status, r=mscott
git-svn-id: svn://10.0.0.236/trunk@74821 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:07:01 +00:00
bienvenu%netscape.com
bb8ef57200 fix mark thread read, r=putterman 45087
git-svn-id: svn://10.0.0.236/trunk@74820 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:06:05 +00:00
bienvenu%netscape.com
65952b3031 fix news connection cache 13506 r=mscott
git-svn-id: svn://10.0.0.236/trunk@74819 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 21:05:06 +00:00
ashuk%eng.sun.com
b5f214c647 author = ashuk
r = edburns
a = edburns

Implements RemoveListener


git-svn-id: svn://10.0.0.236/trunk@74818 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 20:07:11 +00:00
kin%netscape.com
4554a01d45 Backout previous checkin/fix for 46209 & 22227 since in some instances
the frame data it relies on does not contain valid info. This causes
data loss in some cases like when making text bold.
a=granrose


git-svn-id: svn://10.0.0.236/trunk@74816 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 18:52:59 +00:00
blizzard%redhat.com
22c2958b41 typo fix to get the dtd installing to the right location. r/a=brendan
git-svn-id: svn://10.0.0.236/trunk@74815 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 14:50:10 +00:00
mkaply%us.ibm.com
6fa7d68101 #45872
r=mkaply, a=brendan
Port of nsDeviceContextOS2 to be more like Windows and removal of nsPaletteOS2


git-svn-id: svn://10.0.0.236/trunk@74814 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 14:21:07 +00:00
waterson%netscape.com
bb803053c1 Bug 46013. Remove dependency on nsINameSpace and nsINameSpaceManager, so that we do not need to load the layout DLL to parse RDF/XML. r=rjc
git-svn-id: svn://10.0.0.236/trunk@74813 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 14:08:05 +00:00
mkaply%us.ibm.com
4295910949 #45872
r=mkaply, a=brendan
Make nsDeviceContextSpecOS2 look more like Windows


git-svn-id: svn://10.0.0.236/trunk@74812 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 14:07:24 +00:00
jfrancis%netscape.com
ab22fc3f24 fix for 46209 & 22227; list items and table cells with a single space gave you unclickable content in the editor. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@74811 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 13:07:54 +00:00
mjudge%netscape.com
04f7c7cd04 46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call.
git-svn-id: svn://10.0.0.236/trunk@74807 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 11:31:12 +00:00
sgehani%netscape.com
5a96ae95f1 Add localization comments for bugscape bug 1393.
[r=ssu]


git-svn-id: svn://10.0.0.236/trunk@74806 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 08:21:30 +00:00
sgehani%netscape.com
bd5d3df207 Fix comment parsing and site selector failover sequence for nsbeta2+ bug 45256 and bugscape bug 1393.
[r=ssu]


git-svn-id: svn://10.0.0.236/trunk@74805 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 08:18:31 +00:00
ssu%netscape.com
aaec08b079 fixing nsbeta2+ bug #46465 - xpcom.xpi is missing ucharuti.dll for all platforms (name of the lib is different for each platform of course). a=dveditz r=sgehani. not part of tinderbox builds
git-svn-id: svn://10.0.0.236/trunk@74804 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 07:53:44 +00:00
cls%seawood.org
b13abe4768 Bringing BeOS up to speed
git-svn-id: svn://10.0.0.236/trunk@74803 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 06:22:37 +00:00
ben%netscape.com
63563633f4 patches from Peter Annema to improve the look of the toolbar throbber, r=myself, a=waterson, and a fix for an error Peter noticed in button.css, r=myself.
git-svn-id: svn://10.0.0.236/trunk@74802 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 06:05:22 +00:00
nelsonb%netscape.com
f49813a8e9 Move enhanced prime finder function mpp_make_prime from primegen utility
program into mpprime.c.  declared in mpprime.h.


git-svn-id: svn://10.0.0.236/trunk@74801 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 05:41:59 +00:00
nelsonb%netscape.com
811d2c846c Fix bug in mp_div_2d that set r = q % d when a and q are the same mp_int.
Minor performance enhancement to s_mp_div_2d when DIGIT_BIT divides d.


git-svn-id: svn://10.0.0.236/trunk@74800 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 05:39:53 +00:00
nelsonb%netscape.com
184de8a2e4 Fix a bug in recently added function mp_set_bit().
git-svn-id: svn://10.0.0.236/trunk@74799 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 05:32:30 +00:00
mstoltz%netscape.com
5141266fe4 fixing 40159, r&a=beard
git-svn-id: svn://10.0.0.236/trunk@74798 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 04:53:31 +00:00
mstoltz%netscape.com
6bfe9c11ce Fixing 40159, nasty infinite recursion on startup. r&a=beard
git-svn-id: svn://10.0.0.236/trunk@74797 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 04:53:01 +00:00
pinkerton%netscape.com
337afb9f9d Fix for bug 46223, not being able to accept drops from other applications. Basically,
when a drag came in from outside, the drag service was never being notified and a drag
session was never being created. Fix is to use the Start/EndDragSession() methods which
were designed for just this situation. r=hyatt


git-svn-id: svn://10.0.0.236/trunk@74796 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 04:03:42 +00:00
mccabe%netscape.com
f5c0d87def Not part of the Mozilla build.
Promulgate line-editing to the lcshell standalone command-line interpreter, and add more comments to the js shell support for the same.


git-svn-id: svn://10.0.0.236/trunk@74795 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 03:14:49 +00:00
morse%netscape.com
ede116a796 fix bugs 45096 and 42434, host wallet interview and samples on netcenter for commercial product
git-svn-id: svn://10.0.0.236/trunk@74794 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 02:55:39 +00:00
brendan%mozilla.org
b54049c74b Revise connect_nodes to be tmgraphnode_connect, reusable via tmreader.[ch].
git-svn-id: svn://10.0.0.236/trunk@74793 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 02:19:27 +00:00
rogerl%netscape.com
65a4138aa9 Function prototype objects etc.
git-svn-id: svn://10.0.0.236/trunk@74792 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 01:56:47 +00:00
alecf%netscape.com
b37e106905 fix for exception when there is no SMTP server in the pre-filled ISP account case
(also add a few dump()s for future debugging)


git-svn-id: svn://10.0.0.236/trunk@74791 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 01:50:17 +00:00
mkaply%us.ibm.com
3a6f1c84a7 #45872
r=mkaply, a=brendan
Make nsDeviceContextSpecFactoryO look more like Windows


git-svn-id: svn://10.0.0.236/trunk@74790 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 01:26:49 +00:00
morse%netscape.com
25796c2ae8 fix bug 42440, change url for wallet tables to be on netcenter
git-svn-id: svn://10.0.0.236/trunk@74789 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 01:20:50 +00:00
edburns%acm.org
7d07b23bb4 bug=41871
a=edburns
r=ashuk

This checkin makes it so CBrowserContainer is properly released.  The
problem was that the CBrowserContainer was still registered to the
docShell as a listener.  The solution was to call
wcIBrowserContianer::RemoveAllListeners() in the WebShellInitContext
deallocator.


git-svn-id: svn://10.0.0.236/trunk@74788 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 01:03:25 +00:00
dprice%netscape.com
84a8753375 removing incorrect files from manifest
NOT IN BUILD


git-svn-id: svn://10.0.0.236/trunk@74787 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 00:46:22 +00:00
valeski%netscape.com
e6da46d390 not part of build. adding success clause to tree
git-svn-id: svn://10.0.0.236/trunk@74786 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 00:30:16 +00:00
brendan%mozilla.org
2d47b3e145 - Remove <unistd.h> include from bloatblame, it's no longer needed and the link(2) prototype it drags in was causing warnings whenever I used a local variable named 'link'.
- Use uint32 for all quantities, and double for all differences, so that we can overflow without breaking deltas such as (busy == allocs - frees).  This doesn't help sorting, however: if one of the sort keys has overflowed past 0 just a bit, while the other is a very large unsigned number, beware.

- Separate graph link (half an edge, structurally speaking -- no per-edge stats) from graph edge, so that an edge is two links and some stats.  This avoids bloat and copying in connect_nodes (which is soon to become generic and move to tmreader.[ch]).

- Factor data structures better: we now have {allocs,frees} x {bytes,calls} x {direct, total}, declaring the second set as struct tmallcounts and the third as tmcounts.  So, for example, total number of calls to allocators would be allocs.calls.total; bytes freed directly by a graphnode (library, component, or method) would be frees.bytes.direct.

- Teach tmreader_eventloop about 'F' (TM_EVENT_FREE) events: it now updates the direct free byte and call counts for a method, its component, and its library when it reads the event.  Of course, bloatblame ignores this info, because it is concerned only with bloat (total memory allocated).

- Right-align numbers in the first (trace-malloc stats) table.


git-svn-id: svn://10.0.0.236/trunk@74785 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 00:24:08 +00:00
bratell%lysator.liu.se
30ea99bee8 Bug 40027, reads past buffer in nsString::ToCString, r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@74784 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 00:05:55 +00:00
cotter%netscape.com
e56fde15e9 Fixed some broken links in release notes, added release notes banner.
git-svn-id: svn://10.0.0.236/trunk@74783 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 00:01:34 +00:00
mkaply%us.ibm.com
4a1e6c64fa #45872
r=mkaply, a=brendan
Include the right stuff so this header builds regardless of where it is included


git-svn-id: svn://10.0.0.236/trunk@74782 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 00:00:27 +00:00
mkaply%us.ibm.com
db7f3794c2 #45872
r=mkaply, a=brendan
Turn on ScreenManager and Screen classes in GfxFactory


git-svn-id: svn://10.0.0.236/trunk@74781 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 23:58:09 +00:00
mkaply%us.ibm.com
bf6378f710 #45872
r=mkaply, a=brendan
Turn on ScreenManager and Screen classes in Makefile


git-svn-id: svn://10.0.0.236/trunk@74780 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 23:57:12 +00:00
sgehani%netscape.com
6a00cbcbd9 Turn off sole line output in opt builds by wrapping in DEBUG macro.
r = ssu
a = shaver


git-svn-id: svn://10.0.0.236/trunk@74779 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 23:54:12 +00:00
ben%netscape.com
d8103e3824 oops, forgot to remove entry for cache dir from _elementIDs array at
top of file.


git-svn-id: svn://10.0.0.236/trunk@74778 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 23:43:44 +00:00
ben%netscape.com
b229829167 remove ability to select cache folder. so few people use this pref,
and there were bugs associated with it that were causing mac to
croak (45394). If anyone feels strongly about this, feel free to fix
the bugs and re-enable the pref ;) r=suttree@bellatlantic.net (chrisn)


git-svn-id: svn://10.0.0.236/trunk@74777 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 23:29:59 +00:00
varada%netscape.com
f203c67ea5 changing the changedir.bat to reflect change in setup names
git-svn-id: svn://10.0.0.236/trunk@74776 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 23:04:27 +00:00
ben%netscape.com
4cb0df4cc5 fix lock icon in navigator statusbar so tooltip displays, r=pchen
git-svn-id: svn://10.0.0.236/trunk@74775 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 23:03:42 +00:00
rogerl%netscape.com
27cfac201d More ECMA 3 mucking about to support constructors etc.
git-svn-id: svn://10.0.0.236/trunk@74774 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:58:04 +00:00
slamm%netscape.com
01d3847a0a Make a static page for the voice stuff everytime the tree updates.
git-svn-id: svn://10.0.0.236/trunk@74773 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:58:00 +00:00
mkaply%us.ibm.com
151ffdd315 #46428
r=mkaply, a=brendan
Numeric keypad performs cursor actions in addition to inputting text


git-svn-id: svn://10.0.0.236/trunk@74772 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:46:57 +00:00
varada%netscape.com
7e245ab0a5 fix for bugzilla#41628; the navigator.dtd has moved yet again!!
git-svn-id: svn://10.0.0.236/trunk@74771 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:37:59 +00:00
varada%netscape.com
6b144d287e fix for bug#37101 adding ability to customize sidebar panels.rdf
git-svn-id: svn://10.0.0.236/trunk@74770 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:33:06 +00:00
rhp%netscape.com
2a9ec50ee4 Fix for data loss in AB Sync operation - Bug #: 1495 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@74769 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:15:45 +00:00
varada%netscape.com
0928f7f55b fix for bug#23990; reflecting the anim gif changes in both classic and modern skins
git-svn-id: svn://10.0.0.236/trunk@74768 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:14:25 +00:00
varada%netscape.com
5090158ad4 getting rid of the newline in help1.txt
git-svn-id: svn://10.0.0.236/trunk@74767 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:13:37 +00:00
tara%tequilarista.org
2d1903ffa4 Landing Jon Robertson's for bug #41915
git-svn-id: svn://10.0.0.236/trunk@74766 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:12:39 +00:00
mkaply%us.ibm.com
62efa224e4 #45603
r=mkaply, a=brendan
Can't use the desktop HDC to do these queries - I'll just grab SYSVALUES


git-svn-id: svn://10.0.0.236/trunk@74765 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:09:23 +00:00
tara%tequilarista.org
260f66bb3f Landing Jon Robertson's for bug #41913
git-svn-id: svn://10.0.0.236/trunk@74764 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:09:20 +00:00
valeski%netscape.com
d01141325c r-vidur. fixing boundary parsing logic to handle boundary identifiers wrapped in double quotes and spaces, 45878
git-svn-id: svn://10.0.0.236/trunk@74763 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:03:15 +00:00
tara%tequilarista.org
25ceaa604f Landing Dave Miller's patch for #25693
git-svn-id: svn://10.0.0.236/trunk@74762 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 22:00:16 +00:00
rhp%netscape.com
5da15cf4e2 Fix for data loss in AB Sync operation - Bug #: 1495 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@74761 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 21:19:01 +00:00
pollmann%netscape.com
b633e91fc6 Bug 35875: Display sidebar search results when single engine selected after multiple engines selected. r=rjc
git-svn-id: svn://10.0.0.236/trunk@74760 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 21:06:40 +00:00
bratell%lysator.liu.se
f84ce05c67 Bug 41773, stop up possible (but unlikely) memory leaks in the format=flowed mail decoder. r=rhp,brendan a=brendan.
git-svn-id: svn://10.0.0.236/trunk@74759 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 21:04:11 +00:00
rhp%netscape.com
5dcc3e739d Fix for data loss in AB Sync operation - Bug #: 1495 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@74758 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 20:57:40 +00:00
blizzard%redhat.com
db826175e8 add makefiles to get mini chrome for embedding installed on unix. a=waterson,dougt
git-svn-id: svn://10.0.0.236/trunk@74757 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 20:47:09 +00:00
varada%netscape.com
2332b59adb Adding new widgettype DropBox similar to ComboBox except that the values get written into the cache file
git-svn-id: svn://10.0.0.236/trunk@74756 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 20:25:54 +00:00
mkaply%us.ibm.com
029e925f67 #45603
r=mkaply, a=brendan
Fix for mouse not working in context menus


git-svn-id: svn://10.0.0.236/trunk@74755 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 20:25:40 +00:00
varada%netscape.com
ff29160d4a Changing ComboBox to DropBox; adding the options for the dropbox items
git-svn-id: svn://10.0.0.236/trunk@74754 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 20:23:51 +00:00
blizzard%redhat.com
26d4a51d40 add utility to build a chrome registry from the command line. r=waterson a=waterson/hyatt
git-svn-id: svn://10.0.0.236/trunk@74753 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 20:21:17 +00:00
tara%tequilarista.org
c8019b562f Landing Adam Spiers' contributions for security and small functional issues
git-svn-id: svn://10.0.0.236/trunk@74752 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 18:58:54 +00:00
valeski%netscape.com
3538f853c9 perl syntax cleanup. not in build
git-svn-id: svn://10.0.0.236/trunk@74751 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 18:44:21 +00:00
valeski%netscape.com
cd76337540 perl syntax cleanup. not in build
git-svn-id: svn://10.0.0.236/trunk@74750 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 18:38:35 +00:00
valeski%netscape.com
5939b59e61 perl change. not in build
git-svn-id: svn://10.0.0.236/trunk@74749 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 18:22:53 +00:00
valeski%netscape.com
0b9acee042 updating showbuilds vxml. not partof build
git-svn-id: svn://10.0.0.236/trunk@74748 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 18:05:10 +00:00
mozilla.BenB%bucksch.org
cddbd14516 46274: Forgot to remove the structs pref from the |_elementIDs| list. Tnx to jrgm for the hint. r=ducarroz, a=waterson
git-svn-id: svn://10.0.0.236/trunk@74747 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 17:40:05 +00:00
slamm%netscape.com
f74bce40bc do_vxml(): Tweak quoting to get newlines right.
git-svn-id: svn://10.0.0.236/trunk@74746 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 16:33:18 +00:00
valeski%netscape.com
dab19a3f38 updating vxml for the vxml tbox dump
git-svn-id: svn://10.0.0.236/trunk@74745 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 15:29:37 +00:00
axel%pike.org
bf5aa2173e Removing old debug code, not part of the build
git-svn-id: svn://10.0.0.236/trunk@74744 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 15:12:04 +00:00
shanjian%netscape.com
1ee0063ac4 #42837
This should have been checked in before, do not know why it is not.
add a id to composer charset popup menu in order to reference it
in overlay file.


git-svn-id: svn://10.0.0.236/trunk@74743 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 14:46:55 +00:00
valeski%netscape.com
38b7df7686 updating vxml for the vxml tbox dump
git-svn-id: svn://10.0.0.236/trunk@74742 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 14:40:43 +00:00
valeski%netscape.com
84d925b70f updating vxml for the vxml tbox dump
git-svn-id: svn://10.0.0.236/trunk@74741 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 14:29:30 +00:00
brade%netscape.com
68f69bf122 don't disable shift flag if any other modifiers are pressed and the key isPrintable (is a character); r=akkana, ftang; bug #46004
git-svn-id: svn://10.0.0.236/trunk@74740 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 14:12:39 +00:00
brade%netscape.com
0bd70aa4e4 remove unused code (submitted by rcassin@supernova.org)
git-svn-id: svn://10.0.0.236/trunk@74739 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 14:04:26 +00:00
morse%netscape.com
9778e9fdc5 quickfill has reappeared on menu -- backing out part of changes made for 1.8
git-svn-id: svn://10.0.0.236/trunk@74738 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 13:06:19 +00:00
cls%seawood.org
2282deb783 Lets show some objdir sensitivity.
git-svn-id: svn://10.0.0.236/trunk@74737 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 11:03:25 +00:00
rbs%maths.uq.edu.au
536a43eece Bug 18814. Return the x-height that complies with the convention in the CSS spec. r,a:waterson
git-svn-id: svn://10.0.0.236/trunk@74736 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 08:32:39 +00:00
axel%pike.org
28b53c8f7a Adding makefile.wins for transformiix examples, not part of build, submitted by Arthur Barrett, raised build number and updated contributors/changes
git-svn-id: svn://10.0.0.236/trunk@74735 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 07:03:40 +00:00
ben%netscape.com
584e921d8d fix js error in theme switching pref panel (forgot to check in an update for this
file with my check in to this panel last ngiht)


git-svn-id: svn://10.0.0.236/trunk@74734 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 06:33:03 +00:00
warren%netscape.com
008aa1bca2 Added a cast to make gcc happy.
git-svn-id: svn://10.0.0.236/trunk@74733 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 06:31:20 +00:00
warren%netscape.com
98bb3dfe16 Copied xpcom.properties to global/locale.
git-svn-id: svn://10.0.0.236/trunk@74732 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 06:10:47 +00:00
warren%netscape.com
d93cdd6606 Fixed linux makefile for xpcom.properties
git-svn-id: svn://10.0.0.236/trunk@74731 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:54:38 +00:00
warren%netscape.com
764d1e2e78 Added xpcom.properties to linux make.
git-svn-id: svn://10.0.0.236/trunk@74730 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:51:34 +00:00
warren%netscape.com
997161d193 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz
git-svn-id: svn://10.0.0.236/trunk@74729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:45:56 +00:00
dougt%netscape.com
065edc16d4 backing out libwebbrwsr. it is needed to startup. I need to look into this.
git-svn-id: svn://10.0.0.236/trunk@74728 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:30:33 +00:00
dougt%netscape.com
b79e022006 Updating config files
Adding require (ftang needs to review) i18n res files
removing xpfe webbrowser.
removing test xpt files


git-svn-id: svn://10.0.0.236/trunk@74727 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 05:22:51 +00:00
uid408
1d3585bcc1 Disable use of AlphaBlend() on Win98, it's broken. Bug 36694. r=kmcclusk, a=brendan
git-svn-id: svn://10.0.0.236/trunk@74726 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 03:51:39 +00:00
uid408
9c00afae6f Fix for VC5 builds. Bug 36694. r=kmcclusk, a=brendan
git-svn-id: svn://10.0.0.236/trunk@74725 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 03:51:04 +00:00
brendan%mozilla.org
67f9e240ed Oops, nsXBLService implements two interfaces: nsIXBLService and nsIMemoryPressureObserver (r=dbaron@fas.harvard.edu).
git-svn-id: svn://10.0.0.236/trunk@74724 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 01:44:22 +00:00
sfraser%netscape.com
cf8acf4b78 Fix for bug 20743 -- implement a memory cushion for Mac, to better handle low memory conditions. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@74723 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 01:04:55 +00:00
hyatt%netscape.com
f304a6a21b Fix for 45663. r=danm
git-svn-id: svn://10.0.0.236/trunk@74722 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:38:40 +00:00
hyatt%netscape.com
15eca716b8 Fix for 45663. r=danm
git-svn-id: svn://10.0.0.236/trunk@74721 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:35:39 +00:00
ducarroz%netscape.com
62d3778d9e Fix for bug 46152. Checkin fix for kin. Partially backup Rods' last change because the reflow function won't be called when the text control is nested into a box (textfield). R=ducarroz
git-svn-id: svn://10.0.0.236/trunk@74720 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:32:35 +00:00
wtc%netscape.com
43946c0527 Bugzilla bug #46166: checked in a patch contributed by Marcello Nuccio
<marcenuc@lica.unimo.it>. r=roeber@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@74719 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:30:43 +00:00
alecf%netscape.com
ed680ac1e7 fix for #1539 - make ISP-built accounts be supported by the "invalid account" system, so that ISP-built accounts can skip the other panels of the wizard.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@74718 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:29:07 +00:00
nelsonb%netscape.com
9bc51270b5 Update nTires via a pointer argument to mpp_make_prime().
Change some printfs.


git-svn-id: svn://10.0.0.236/trunk@74717 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:16:57 +00:00
nelsonb%netscape.com
b7fd3c117e Add new function mpp_fermat_list, which performs the fermat test on a
list of "witness" numbers.  Simplify and accelerate mpp_pprime().


git-svn-id: svn://10.0.0.236/trunk@74716 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:15:06 +00:00
nelsonb%netscape.com
0f42d334f1 Fix assertion. Comparison sense was inverted.
git-svn-id: svn://10.0.0.236/trunk@74715 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:12:57 +00:00
rbs%maths.uq.edu.au
03b3282435 [not part of default build] Fix build bustage b:42793. It prevented the enabling of xprint with mathml. Paul B. Saitta <pbs@po.cwru.edu> verified that the changes compile and run. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74714 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:09:01 +00:00
rbs%maths.uq.edu.au
84c66add50 [not part of default build] gracefully handle cases where stretching failed to avoid jamming chars. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74713 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:08:15 +00:00
mcafee%netscape.com
b23580a73b Adding file for Ken Estes <kestes@staff.mail.com>
git-svn-id: svn://10.0.0.236/trunk@74712 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 23:52:24 +00:00
ben%netscape.com
6adbcd65ae fixing some of the broken search functionality for 45221, so that nsbeta2 doesnt go out with a broken search feature.
git-svn-id: svn://10.0.0.236/trunk@74711 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 23:46:26 +00:00
gagan%netscape.com
e3618e07ea Fix for bug 44497. Ebay's wacky multiple Location responses were being appended. r=gordon
git-svn-id: svn://10.0.0.236/trunk@74710 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 23:41:26 +00:00
warren%netscape.com
2d50cbd94e Temporarily taking out jar stuff.
git-svn-id: svn://10.0.0.236/trunk@74709 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 23:15:47 +00:00
attinasi%netscape.com
4483a225be Accidental debug code removed: b=46090 r=ianh a=waterson
git-svn-id: svn://10.0.0.236/trunk@74708 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 23:09:30 +00:00
sgehani%netscape.com
a7b84e6d7b Fixing linux installer horkage: parser handling substring comparisons with
incorrect length assumptions to strncmp's.

b = 46263
r = dbragg
a = granrose


git-svn-id: svn://10.0.0.236/trunk@74707 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 22:53:34 +00:00
attinasi%netscape.com
f02e8d4669 Fixed the way the HTML element's background is handled. b=2285 r=dbaron
git-svn-id: svn://10.0.0.236/trunk@74706 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 22:51:41 +00:00
slamm%netscape.com
437e0333be Add vxml from Jud Valeski
git-svn-id: svn://10.0.0.236/trunk@74705 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 22:47:39 +00:00
hyatt%netscape.com
94f1cf4918 Fix for 45951. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@74704 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 22:42:55 +00:00
hyatt%netscape.com
be513fe02e Fix for bug #45951. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@74703 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 22:42:34 +00:00
mkaply%us.ibm.com
20f04c8f39 #45872
r=mkaply, a=brendan
Implement Screen and ScreenManager classes on OS/2 - not part of build yet


git-svn-id: svn://10.0.0.236/trunk@74702 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 22:32:19 +00:00
mkaply%us.ibm.com
0859befd69 #45872
r=mkaply, a=brendan
RequiresInvertedMask is unnecessary - we already have the device depth, just check it.


git-svn-id: svn://10.0.0.236/trunk@74701 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 22:31:26 +00:00
mkaply%us.ibm.com
de19b2778f #45872
r=mkaply, a=brendan
Rather than forward declaring the class, include nsFont.h


git-svn-id: svn://10.0.0.236/trunk@74700 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 22:30:49 +00:00
mkaply%us.ibm.com
bacb195736 #45872
r=mkaply, a=brendan
No need to use these APIs - we have access to the widget HWND


git-svn-id: svn://10.0.0.236/trunk@74699 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 22:30:18 +00:00
bratell%lysator.liu.se
d72cf7feca Fixes for bug 46173 and bug 46188, handle whitespace correctly when decoding a format=flowed mail. r=rhp, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@74698 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 22:11:41 +00:00
nhotta%netscape.com
ebc2c59614 Fixed a typo "so-8859-2" to "iso-8859-2", bug 46075, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@74697 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:56:33 +00:00
bryner%uiuc.edu
4d96d57198 Removing the old copy of this file. The current version is in
netwerk/streamconv/test.  Not part of build.


git-svn-id: svn://10.0.0.236/trunk@74696 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:55:00 +00:00
warren%netscape.com
0e8bc2faaa Added jar packaging stuff.
git-svn-id: svn://10.0.0.236/trunk@74695 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:48:10 +00:00
warren%netscape.com
179be2216b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@74694 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:47:51 +00:00
warren%netscape.com
97583c5a1b Added $build{jars} = 0;
git-svn-id: svn://10.0.0.236/trunk@74693 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:45:01 +00:00
brendan%mozilla.org
06dce89eb2 What a dork, I didn't test-build on Linux!
git-svn-id: svn://10.0.0.236/trunk@74692 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:28:08 +00:00
morse%netscape.com
f4a060f4d6 bug 45981, no blue-box dialog for browser-generated login forms, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@74691 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:16:18 +00:00
ashuk%eng.sun.com
711d526c7d author = ashuk
r = edburns
a = edburns

Fix for Bugs: 44774, 44775 and 41780


git-svn-id: svn://10.0.0.236/trunk@74690 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:15:03 +00:00
putterman%netscape.com
5f741e9c79 backing out brendan's changes to fix build
git-svn-id: svn://10.0.0.236/trunk@74689 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:13:13 +00:00
varada%netscape.com
ded94b7b5d fix for bug#45883 - crash was caused because the path was pointing to a non existent widget
git-svn-id: svn://10.0.0.236/trunk@74688 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:11:46 +00:00
morse%netscape.com
56e7f14d9b attempt to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@74687 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 21:03:41 +00:00
nisheeth%netscape.com
5a1826aa96 Checking in patches submitted by Justin Smith (jjs@acis.com.au) that fix the windows build of transformiix. Thanks, Justin! Does not affect the mozilla build.
git-svn-id: svn://10.0.0.236/trunk@74686 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 20:35:08 +00:00
brendan%mozilla.org
1808da68e2 Micro-optimize source (compilers probably do it, but hey); fix a comment.
git-svn-id: svn://10.0.0.236/trunk@74685 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 20:17:24 +00:00
mscott%netscape.com
f73ba6913b Bug #45226 --> fix security hole in keywords by only allowing keyword searches if the url was an http (or https) url.
Currently other urls (like imap, news, ftp, etc) would end up getting sent to the keyword server if we weren't able to
connect to the host specified in the url.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@74684 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 20:14:53 +00:00
brendan%mozilla.org
2e21a3af18 Fix broken code that stored off the end of 'vector' in ProcessArgs (not part of build).
git-svn-id: svn://10.0.0.236/trunk@74683 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 20:13:50 +00:00
conrad%ingress.com
8e6052125a 1. Fixed ResolvePathAndSpec - if directories did not exist, the vRefNum and dirID were getting zeroed out. If the path was relative this was wrong.
2. Fixed MoveCopy - If nsnull was passed as newName, which is valid, new name was uninitialized garbage. 
r-dougt


git-svn-id: svn://10.0.0.236/trunk@74682 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 20:05:54 +00:00
dave%intrec.com
14edfeb111 Fix for bug 46207 (bugidtype=exclude breaks buglist.cgi).
git-svn-id: svn://10.0.0.236/trunk@74681 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 19:40:04 +00:00
pnunn%netscape.com
1275af4491 bug#30852: (&related to #46032,#46049). Use default channel load attributes since
LoadGroup attributes not set correctly. pnunn.


git-svn-id: svn://10.0.0.236/trunk@74679 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 19:32:43 +00:00
attinasi%netscape.com
86fc76956d Checkin of performance data: not part of any build
git-svn-id: svn://10.0.0.236/trunk@74678 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 19:14:36 +00:00
ben%netscape.com
10083e39b0 Windows quit menuitem should read "Exit" not "Quit", 4908. Fixing a really annoying
and yet trivial platform bug.


git-svn-id: svn://10.0.0.236/trunk@74677 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 12:42:38 +00:00
ben%netscape.com
7b5dcaf8af fix for 43350, provide some warning about impending data loss before switching themes
git-svn-id: svn://10.0.0.236/trunk@74676 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 12:11:24 +00:00
dveditz%netscape.com
6e72c7a7f6 bug 41165, fixing getFolder("file:///"), another casualty of the conversion to nsIFile
git-svn-id: svn://10.0.0.236/trunk@74675 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 09:40:49 +00:00
dveditz%netscape.com
4c18badebe bug 28590, fixing disk-space checking in scripts
git-svn-id: svn://10.0.0.236/trunk@74674 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 09:09:29 +00:00
sgehani%netscape.com
adc92bd421 Fix linux installer crash on exit by tweaking progress update.
[nsbeta2+ b = 36781; r = syd]


git-svn-id: svn://10.0.0.236/trunk@74673 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 07:10:45 +00:00
sgehani%netscape.com
82c2455c99 Fix linux installer crash on exit by tweaking progress update.
[nsbeta2+ b = 36781; r = syd]


git-svn-id: svn://10.0.0.236/trunk@74672 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 07:08:35 +00:00
bryner%uiuc.edu
69303237d6 Removing an obsolete test file. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@74671 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 21:34:29 +00:00
waterson%netscape.com
91e5c9cd23 Bug 45698. libplugin.so is a component now. Update packager files to reflect this.
git-svn-id: svn://10.0.0.236/trunk@74670 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 19:27:52 +00:00
rjc%netscape.com
f834afe8e5 Trivial fix for bookmark panel sorting. (Slamm apparently renamed the routine, so just use the new name.) r=me
git-svn-id: svn://10.0.0.236/trunk@74669 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 10:37:27 +00:00
rjc%netscape.com
7acf3b0f05 Simple fix: Be sure to include the XUL overlay utilityOverlay.xul for the getBrowserURL() function. r=me
git-svn-id: svn://10.0.0.236/trunk@74668 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 08:44:59 +00:00
rjc%netscape.com
dcbe188da9 Fix bug # 46052: simple misspelling fix.
git-svn-id: svn://10.0.0.236/trunk@74667 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 08:20:47 +00:00
kvisco%ziplink.net
904eee7c04 Not part of regular build, a=leaf. Updated changes and contributor info.
git-svn-id: svn://10.0.0.236/trunk@74666 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 07:57:12 +00:00
Peter.VanderBeken%pandora.be
899ad4deb9 Add build support for the SOAP part of xmlextras. Forgot to check this in. Doesn't affect default build. a/r=vidur.
git-svn-id: svn://10.0.0.236/trunk@74665 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 07:55:51 +00:00
kvisco%ziplink.net
5451424359 Not part of regular build, a=leaf. Updated version info.
git-svn-id: svn://10.0.0.236/trunk@74664 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 07:43:37 +00:00
kvisco%ziplink.net
8b734b7fae Not part of regular build, a=leaf. Updated some test files.
git-svn-id: svn://10.0.0.236/trunk@74663 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 07:25:30 +00:00
kvisco%ziplink.net
0ece068369 Not part of regular build, a=leaf. Fixed bug I introduced with a previous patch. prevToken was getting set to NULL in some places when it shouldn't.
git-svn-id: svn://10.0.0.236/trunk@74662 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 07:24:45 +00:00
rjc%netscape.com
ef381a50ae Fix bug # 44688: simple fix for columns in bookmarks search window. r=me
git-svn-id: svn://10.0.0.236/trunk@74661 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 07:05:29 +00:00
rjc%netscape.com
1b94d83122 Fix bug # 46181: when getting a nsIFile from a file URL, don't open an nsIFilechannel. Patch from dougt, r/a=me
git-svn-id: svn://10.0.0.236/trunk@74660 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 06:58:16 +00:00
nisheeth%netscape.com
218ec59f14 Fix for nsbeta2+ bug 43472. r=rpotts. We no longer crash on exit on Full Circle enabled builds.
git-svn-id: svn://10.0.0.236/trunk@74659 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 06:51:39 +00:00
kvisco%ziplink.net
69b4b3fbb4 Not part of regular build, a=leaf. Fixed bug when printing comments; removed leading and trailing whitespace.
git-svn-id: svn://10.0.0.236/trunk@74658 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-23 06:45:59 +00:00
jband%netscape.com
c39ada7a84 fix uninitialized variable
git-svn-id: svn://10.0.0.236/trunk@74657 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 22:50:35 +00:00
mscott%netscape.com
660a6f6cb5 Bug #39736 --> remove code that was incorrectly stomping the ougoing charset of the message when you are
replying to it.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74656 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 21:36:06 +00:00
dave%intrec.com
dbbb3f5b30 Fix for bug 30826 (new email tech not being honored for QA contacts).
git-svn-id: svn://10.0.0.236/trunk@74655 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 21:09:33 +00:00
bratell%lysator.liu.se
9fc2c146d9 Fix bug 43813 by removing erroneous test. r=rhp@netscape.com a=brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@74654 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 17:32:28 +00:00
mkaply%us.ibm.com
6f1a2acf3f OS/2 Tinderbox breakage
Attempt 2 to fix this - just cast the functions


git-svn-id: svn://10.0.0.236/trunk@74653 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 15:19:57 +00:00
mkaply%us.ibm.com
1121dc07a0 OS/2 Tinderbox breakage
Attempt 1 to fix this - add PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@74652 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 14:13:00 +00:00
dprice%netscape.com
6bc88d1a15 correcting locale info
git-svn-id: svn://10.0.0.236/trunk@74651 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 09:17:52 +00:00
dprice%netscape.com
b7c1c52952 updating locale info
git-svn-id: svn://10.0.0.236/trunk@74650 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 09:12:23 +00:00
dprice%netscape.com
3975c04c79 corrected locale info
git-svn-id: svn://10.0.0.236/trunk@74649 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 09:09:39 +00:00
dprice%netscape.com
1203e3062b adding a few files I missed
git-svn-id: svn://10.0.0.236/trunk@74648 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 08:51:35 +00:00
dprice%netscape.com
081f754d04 adding chrome manifest
git-svn-id: svn://10.0.0.236/trunk@74647 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 08:47:14 +00:00
dprice%netscape.com
582d8a8002 adding a chrome manifest for layout
NOT IN THE BUILD


git-svn-id: svn://10.0.0.236/trunk@74646 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 08:23:42 +00:00
dprice%netscape.com
02b3b3e837 adding chrome manifest file for comminicator
git-svn-id: svn://10.0.0.236/trunk@74645 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 08:08:49 +00:00
dprice%netscape.com
4921e75e3e fixing bad locale directory
NOT IN THE BUILD


git-svn-id: svn://10.0.0.236/trunk@74644 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 07:54:12 +00:00
dprice%netscape.com
c1c34c09c0 fixing typos
NOT IN THE BUILD


git-svn-id: svn://10.0.0.236/trunk@74643 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 07:38:58 +00:00
mozilla.BenB%bucksch.org
08a8db6dcd 44446: Remove HTML->HTML recognition of structured phrases from Prefs UI and disable by default.
git-svn-id: svn://10.0.0.236/trunk@74642 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 07:37:20 +00:00
dprice%netscape.com
b7413a3b76 breaking out locale into locales.jar
NOT IN THE BUILD


git-svn-id: svn://10.0.0.236/trunk@74641 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 07:34:35 +00:00
nelsonb%netscape.com
3cbed1e4f4 Add -fullwarn to some build flags. Change dependencies for primegen.
git-svn-id: svn://10.0.0.236/trunk@74640 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 07:22:37 +00:00
nelsonb%netscape.com
c8a5e2ee49 Implement sieving to accelerate elimination of composites.
This sieve eliminates all but about 3500 numbers from each range of 64k.


git-svn-id: svn://10.0.0.236/trunk@74639 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 05:54:21 +00:00
warren%netscape.com
e2c80a9995 Registering nsIErrorService
git-svn-id: svn://10.0.0.236/trunk@74638 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 05:48:04 +00:00
warren%netscape.com
28106c61c3 Added nsIErrorService to build.
git-svn-id: svn://10.0.0.236/trunk@74637 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 05:46:39 +00:00
warren%netscape.com
da806f7878 Added nsIErrorService to map from nsresult codes to string bundles and keys for error messages.
git-svn-id: svn://10.0.0.236/trunk@74636 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 05:38:43 +00:00
nelsonb%netscape.com
bc864ca0b6 Use large prime table for faster prime gen. Make prime table "const".
Change functions that use prime table to use const arguments.


git-svn-id: svn://10.0.0.236/trunk@74635 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 05:36:45 +00:00
warren%netscape.com
223387a585 Fixed slashes
git-svn-id: svn://10.0.0.236/trunk@74634 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 05:00:17 +00:00
waterson%netscape.com
34482cc84b Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@74633 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 03:59:49 +00:00
waterson%netscape.com
396e1c3d7e Brownian hacking to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@74632 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 03:17:55 +00:00
edburns%acm.org
d9e0e9fe10 bug=41977
Insert parameter checks for all webclient methods.


git-svn-id: svn://10.0.0.236/trunk@74631 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 02:48:26 +00:00
tao%netscape.com
b00587fcee 41054: Bundle 2-3 langpacks w/Seamonkey build. r=ssu,dveditz,ssu.
git-svn-id: svn://10.0.0.236/trunk@74630 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 02:44:13 +00:00
edburns%acm.org
765a295e3e Remove accidentally inserted ^M chars.
git-svn-id: svn://10.0.0.236/trunk@74629 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 02:14:57 +00:00
waterson%netscape.com
73838f0ece Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH. r=av
git-svn-id: svn://10.0.0.236/trunk@74628 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 02:11:04 +00:00
waterson%netscape.com
5dc75db588 Bug 45698. Fix Win32 build bustage. Checked in from wrong machine.
git-svn-id: svn://10.0.0.236/trunk@74627 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:58:55 +00:00
alecf%netscape.com
ce715e17ac fix for #44876 contributed by timeless@bemail.org
r=alecf, a=brendan@mozilla.org
update tasks menu to spec


git-svn-id: svn://10.0.0.236/trunk@74626 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:39:44 +00:00
waterson%netscape.com
5a7e8c7288 Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH. Make plugins into a module. r=av.
git-svn-id: svn://10.0.0.236/trunk@74625 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:37:07 +00:00
waterson%netscape.com
9ea597c1b1 Bug 45698. Land PLUGIN_LOVE_2000_07_17_BRANCH: implement XPCOM plugins. r=av
git-svn-id: svn://10.0.0.236/trunk@74624 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:34:13 +00:00
waterson%netscape.com
a491cbe9f3 Bug 45698. Build order changes; modules/plugins now needs gfx.
git-svn-id: svn://10.0.0.236/trunk@74623 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:27:15 +00:00
mjudge%netscape.com
080354124d awful regression of not copypasting from textareas! fixed.r=akkana,anthonyd
git-svn-id: svn://10.0.0.236/trunk@74622 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:11:49 +00:00
brendan%mozilla.org
18fee83bdd Fix second (prototype-owns-property) setter/shared special case to unlock properly (45940, r=mccabe).
git-svn-id: svn://10.0.0.236/trunk@74621 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 01:03:04 +00:00
edburns%acm.org
67050b538d bug=23157
r=dougt, Conrad Carlen
a=dougt, Conrad Carlen

Use Moz_BinDirectory instead of OS_CurrentProcessDirectory
to allow embedding apps to use mozilla.


git-svn-id: svn://10.0.0.236/trunk@74620 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 00:54:07 +00:00
nbhatla%netscape.com
1a1f932945 #43658: Mac Classic polish fixes to toolbar buttons. #45534: Prevents thumb in scrollbar from shrinking too small in linux and windows classic skin. #44430: Mac Classic skin toolbar polish fixes. #46005: Fixes rt. click crash. #45336: Fixes linux crashing in Mail. #40780: Progress-meter patch for mac classic skin. r=hangas
git-svn-id: svn://10.0.0.236/trunk@74619 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 00:48:29 +00:00
edburns%acm.org
b3341a1012 bug=23157
r=av
a=waterson

Don't use hard coded 2000.  Instead use sizeof(path).


git-svn-id: svn://10.0.0.236/trunk@74618 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 00:48:26 +00:00
nbhatla%netscape.com
7851c7eeba Bug #43658: AddressBook Skin. r=hangas
git-svn-id: svn://10.0.0.236/trunk@74617 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 00:45:32 +00:00
danm%netscape.com
fbc3c3eeed pointing box-header-circle's background-image url to the gif's actual location. parallel to Mac bug 45509 r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74616 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 00:21:52 +00:00
danm%netscape.com
3945090397 pointing box-header-circle's background-image url to the gif's actual location. bug 45509 r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74615 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 00:20:41 +00:00
mscott%netscape.com
4c4fe6e5f8 Bug #45956 --> Fix crash trying to forward some messages as inline (esp. messages
with attachments with charsets). Fix is to use the mime service to get a file extension
for the content type instead of trying to use the value of the content type (which can
include charset information) as the file extension for the attachment.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74614 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-22 00:04:11 +00:00
valeski%netscape.com
0df741a635 39797. r=mscott. MAC was sending back an empty string as the mime type down in the MIMEService, now we return an error in the mime service if we confront this, and that causes HTTP to produce a default type
git-svn-id: svn://10.0.0.236/trunk@74613 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 23:52:36 +00:00
jst%netscape.com
d0fcc932ea Fixing nsbeta2+ bug 45019, images didn't show up on document that were fully created with document.open(): document.write();... r=nisheet&rpotts
git-svn-id: svn://10.0.0.236/trunk@74612 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 23:44:38 +00:00
akkana%netscape.com
57ebd97419 42885: cvs remove files which are no longer used -- they've
been moved from global to communicator.  r=ben.


git-svn-id: svn://10.0.0.236/trunk@74611 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 23:21:54 +00:00
pnunn%netscape.com
40d1196fd2 fix for bug#30852: backing out change that resets the loadgroups attribs from the channel. pnunn,
r:gagan.


git-svn-id: svn://10.0.0.236/trunk@74610 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 22:57:36 +00:00
mscott%netscape.com
897ed4c005 Fix build breakage for unix.
git-svn-id: svn://10.0.0.236/trunk@74609 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 22:43:26 +00:00
gayatrib%netscape.com
f729b57e7d fixing the linux bustage on bug 43883
git-svn-id: svn://10.0.0.236/trunk@74608 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 22:39:54 +00:00
bryner%uiuc.edu
c90c2b3792 Fix bug 45786 - need to use getService(), not createInstance() to get the
clipboard.  r=jelwell,rjc.


git-svn-id: svn://10.0.0.236/trunk@74607 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 22:19:20 +00:00
dougt%netscape.com
7777ffc960 r,a=brendan@mozilla.org 24052
git-svn-id: svn://10.0.0.236/trunk@74606 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 22:16:18 +00:00
nhotta%netscape.com
55cc5b73b9 Added code to pass default charset to directory viewer, bug 28787, r=law.
git-svn-id: svn://10.0.0.236/trunk@74605 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 22:15:18 +00:00
nhotta%netscape.com
c7dd88f116 Unescape escaped filename, bug 39956, r=mscott, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@74604 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 22:14:44 +00:00
jfrancis%netscape.com
e424cc7f28 fix for 33213; r=sfraser
git-svn-id: svn://10.0.0.236/trunk@74603 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 22:06:48 +00:00
gayatrib%netscape.com
186bd5cb48 Checking in fix for bug 43883 for Jerry Baker form mozilla.org. review=gayatrib approved=waterson
git-svn-id: svn://10.0.0.236/trunk@74602 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 22:05:57 +00:00
rogerl%netscape.com
c19c5e0a5b r=brendan@mozilla.org Bug #31381 Bug in Alpha 64-bit pointer cast.
Added extra 'long'field to Java wrapper object to handle platforms with
64 bit pointers.


git-svn-id: svn://10.0.0.236/trunk@74601 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 21:57:29 +00:00
mscott%netscape.com
339a548cdb Force pr logging even in release builds. QA needs this to debug some smtp problems in release builds.
Has no effect on code execution.


git-svn-id: svn://10.0.0.236/trunk@74600 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 21:48:02 +00:00
rogerl%netscape.com
6d6a49b7f2 r,a=brendan@mozilla.org. Bug #23502, crash in qsort when user function
misbehaves.


git-svn-id: svn://10.0.0.236/trunk@74599 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 21:46:22 +00:00
nelsonb%netscape.com
dd1972ee1c Change s_mp_norm to always use a power of two as the normalizing factor.
This enhancement performance by turning the normalizing and denormalizing
operations into shifts.


git-svn-id: svn://10.0.0.236/trunk@74598 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 21:06:08 +00:00
nelsonb%netscape.com
9b0faa98be Implement mpl_get_bit, mpl_set_bit, mpl_significant_bits.
git-svn-id: svn://10.0.0.236/trunk@74597 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 21:04:14 +00:00
nelsonb%netscape.com
c9d7f585a7 Fix symbol prefixes in some comments.
git-svn-id: svn://10.0.0.236/trunk@74596 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 20:50:31 +00:00
brendan%mozilla.org
a85c8874b5 Finish factoring tmreader from bloatblame; misc. clenaups (not part of build).
git-svn-id: svn://10.0.0.236/trunk@74595 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 20:42:15 +00:00
waterson%netscape.com
ee846f2c83 Bug 46079. Fix regression I introduced yesterday; NS_LITERAL_STRING() expands to nsAutoString on Linux, so this would assign a compiler temporary to the 'tag' variable.
git-svn-id: svn://10.0.0.236/trunk@74594 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 19:59:39 +00:00
neeti%netscape.com
50e67e8440 fix for 46095.[regression] Submiting to a bug in bugzilla causes crash.a=leaf
git-svn-id: svn://10.0.0.236/trunk@74593 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 19:28:09 +00:00
1499 changed files with 441748 additions and 96529 deletions

View File

@@ -1,214 +0,0 @@
#! gmake
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Rhino code, released
# May 6, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU Public License (the "GPL"), in which case the
# provisions of the GPL are applicable instead of those above.
# If you wish to allow use of your version of this file only
# under the terms of the GPL and not to allow others to use your
# version of this file under the NPL, indicate your decision by
# deleting the provisions above and replace them with the notice
# and other provisions required by the GPL. If you do not delete
# the provisions above, a recipient may use your version of this
# file under either the NPL or the GPL.
#
# Makefile for javascript in java.
#
# This makefile is intended for packaging releases, and probably isn't
# suitable for production use - it doesn't attempt to do understand
# java dependencies beyond the package level.
#
# The makefiles for the subdirectories included in this package are
# intended to be called by this makefile with the proper CLASSDIR,
# PATH_PREFIX etc. variables. Makefiles in subdirectories are
# actually executed in the toplevel directory, with the PATH_PREFIX
# variable set to the subdirectory where the makefile is located.
#
# Initial version courtesy Mike Ang.
# Next version by Mike McCabe
# Don't include SHELL define (per GNU manual recommendation) because it
# breaks WinNT (with GNU make) builds.
# SHELL = /bin/sh
# Some things we might want to tweek.
CLASSDIR = classes
PACKAGE_NAME = org.mozilla.javascript
PACKAGE_PATH = org/mozilla/javascript
# jar filenames and the directories that build them.
JS_JAR = js.jar
JS_DIR = $(PACKAGE_PATH)
JSTOOLS_JAR = jstools.jar
JSTOOLS_DIR = $(PACKAGE_PATH)/tools
JARS = $(JS_JAR) $(JSTOOLS_JAR)
# It's not polite to store toplevel files in a tarball or zip files.
# What is the name of the toplevel directory to store files in?
# XXX we should probably add versioning to this.
DIST_DIR = jsjava
# XXX test this with sj
JAVAC = javac
# We don't define JFLAGS but we do export it to child
# builds in case it's defined by the environment.
# To build optimized (with javac) say 'make JFLAGS=-O'
GZIP = gzip
ZIP = zip
UNZIP = unzip
# Shouldn't need to change anything below here.
# For Windows NT builds (under GNU make).
ifeq ($(OS_TARGET), WINNT)
CLASSPATHSEP = '\\;'
else
CLASSPATHSEP = :
endif
# Make compatibility - use these instead of gmake 'export VARIABLE'
EXPORTS = CLASSDIR=$(CLASSDIR) JAVAC=$(JAVAC) JFLAGS=$(JFLAGS) SHELL=$(SHELL) \
PACKAGE_PATH=$(PACKAGE_PATH) PACKAGE_NAME=$(PACKAGE_NAME)
helpmessage : FORCE
@echo 'Targets include:'
@echo ' all - make jars, examples'
@echo ' jars - make js.jar, jstools.jar'
@echo ' fast - quick-and-dirty "make jars", for development'
@echo ' examples - build the .class files in the examples directory'
@echo ' check - perform checks on the source.'
@echo ' clean - remove intermediate files'
@echo ' clobber - make clean, and remove .jar files'
@echo ' zip - make a distribution .zip file'
@echo ' zip-source - make a distribution .zip file, with source'
@echo ' tar - make a distribution .tar.gz file'
@echo ' tar-source - make a distribution .tar.gz, with source'
@echo
@echo 'Define OS_TARGET to "WINNT" to build on Windows NT with GNU make.'
@echo
all : jars examples
jars : $(JARS)
fast : fast_$(JS_JAR) $(JSTOOLS_JAR)
# Always call the sub-Makefile - which may decide that the jar is up to date.
$(JS_JAR) : FORCE
$(MAKE) -f $(JS_DIR)/Makefile JAR=$(@) $(EXPORTS) \
PATH_PREFIX=$(JS_DIR) \
CLASSPATH=.
fast_$(JS_JAR) :
$(MAKE) -f $(JS_DIR)/Makefile JAR=$(JS_JAR) $(EXPORTS) \
PATH_PREFIX=$(JS_DIR) \
CLASSPATH=. \
fast
$(JSTOOLS_JAR) : $(JS_JAR) FORCE
$(MAKE) -f $(JSTOOLS_DIR)/Makefile JAR=$(@) $(EXPORTS) \
PATH_PREFIX=$(JSTOOLS_DIR) \
CLASSPATH=./$(JS_JAR)$(CLASSPATHSEP).
examples : $(JS_JAR) FORCE
$(MAKE) -f examples/Makefile $(EXPORTS) \
PATH_PREFIX=examples \
CLASSPATH=./$(JS_JAR)
# We ask the subdirs to update their MANIFESTs
MANIFEST : FORCE
$(MAKE) -f $(JS_DIR)/Makefile JAR=$(JS_JAR) $(EXPORTS) \
PATH_PREFIX=$(JS_DIR) $(JS_DIR)/MANIFEST
$(MAKE) -f $(JSTOOLS_DIR)/Makefile JAR=$(JSTOOLS_JAR) $(EXPORTS) \
PATH_PREFIX=$(JSTOOLS_DIR) $(JSTOOLS_DIR)/MANIFEST
$(MAKE) -f examples/Makefile $(EXPORTS) \
PATH_PREFIX=examples examples/MANIFEST
# so ls below always has something to work on
touch MANIFEST
# examples/Makefile doesn't get included in the
# MANIFEST file, (which is used to create the non-source distribution) so
# we include it here.
cat examples/MANIFEST $(JS_DIR)/MANIFEST \
$(JSTOOLS_DIR)/MANIFEST \
| xargs ls MANIFEST README.html \
$(JARS) \
Makefile examples/Makefile \
> $(@)
# Make a MANIFEST file containing only the binaries and documentation.
# This could be abstracted further...
MANIFEST_binonly : MANIFEST
cat examples/MANIFEST \
| xargs ls $(JARS) README.html MANIFEST > MANIFEST
# A subroutine - not intended to be called from outside the makefile.
do_zip :
# Make sure we get a fresh one
- rm -r $(DIST_DIR)
- mkdir $(DIST_DIR)
- rm $(DIST_DIR).zip
cat MANIFEST | xargs $(ZIP) -0 -q $(DIST_DIR).zip
mv $(DIST_DIR).zip $(DIST_DIR)
cd $(DIST_DIR) ; \
$(UNZIP) -q $(DIST_DIR).zip ; \
rm $(DIST_DIR).zip
$(ZIP) -r -9 -q $(DIST_DIR).zip $(DIST_DIR)
- rm -r $(DIST_DIR)
zip : check jars examples MANIFEST_binonly do_zip
zip-source : check jars examples MANIFEST do_zip
# A subroutine - not intended to be called from outside the makefile.
do_tar :
- rm -r $(DIST_DIR)
- mkdir $(DIST_DIR)
- rm $(DIST_DIR).tar $(DIST_DIR).tar.gz
cat MANIFEST | xargs tar cf $(DIST_DIR).tar
mv $(DIST_DIR).tar $(DIST_DIR)
cd $(DIST_DIR) ; \
tar xf $(DIST_DIR).tar ; \
rm $(DIST_DIR).tar
tar cf $(DIST_DIR).tar $(DIST_DIR)
- rm -r $(DIST_DIR)
$(GZIP) -9 $(DIST_DIR).tar
tar: check jars examples MANIFEST_binonly do_tar
tar-source : check jars examples MANIFEST do_tar
# These commands just get passed to the respective sub-Makefiles.
clean clobber check:
$(MAKE) -f $(JS_DIR)/Makefile $(EXPORTS) JAR=$(JS_JAR) \
PATH_PREFIX=$(JS_DIR) $(@)
$(MAKE) -f $(JSTOOLS_DIR)/Makefile $(EXPORTS) JAR=$(JSTOOLS_JAR) \
PATH_PREFIX=$(JSTOOLS_DIR) $(@)
$(MAKE) -f examples/Makefile $(EXPORTS) PATH_PREFIX=examples $(@)
#emulate .PHONY
FORCE :

View File

@@ -1,46 +0,0 @@
<html>
<!--
- The contents of this file are subject to the Netscape Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/NPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Rhino code, released
- May 6, 1999.
-
- The Initial Developer of the Original Code is Netscape
- Communications Corporation. Portions created by Netscape are
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
- Rights Reserved.
-
- Contributor(s):
- Norris Boyd
-
- Alternatively, the contents of this file may be used under the
- terms of the GNU Public License (the "GPL"), in which case the
- provisions of the GPL are applicable instead of those above.
- If you wish to allow use of your version of this file only
- under the terms of the GPL and not to allow others to use your
- version of this file under the NPL, indicate your decision by
- deleting the provisions above and replace them with the notice
- and other provisions required by the GPL. If you do not delete
- the provisions above, a recipient may use your version of this
- file under either the NPL or the GPL.
-->
<body>
<h1>
<span CLASS=LXRSHORTDESC>
Rhino: JavaScript in Java<p>
</span>
</h1>
<span CLASS=LXRLONGDESC>
Rhino is an implementation of JavaScript in Java. Documentation can be found
<a href="http://www.mozilla.org/js/rhino/rhino.html">here</a>.
</span>
</body>
</html>

View File

@@ -1,105 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
import org.mozilla.javascript.*;
/**
* Example of controlling the JavaScript execution engine.
*
* We evaluate a script and then manipulate the result.
*
*/
public class Control {
/**
* Main entry point.
*
* Process arguments as would a normal Java program. Also
* create a new Context and associate it with the current thread.
* Then set up the execution environment and begin to
* execute scripts.
*/
public static void main(String[] args) {
Context cx = Context.enter();
// Set version to JavaScript1.2 so that we get object-literal style
// printing instead of "[object Object]"
cx.setLanguageVersion(Context.VERSION_1_2);
// Initialize the standard objects (Object, Function, etc.)
// This must be done before scripts can be executed.
Scriptable scope = cx.initStandardObjects(null);
// Now we can evaluate a script. Let's create a new object
// using the object literal notation.
Object result = null;
try {
result = cx.evaluateString(scope, "obj = {a:1, b:['x','y']}",
"MySource", 1, null);
}
catch (JavaScriptException jse) {
// ignore
}
Scriptable obj = (Scriptable) scope.get("obj", scope);
// Should print "obj == result" (Since the result of an assignment
// expression is the value that was assigned)
System.out.println("obj " + (obj == result ? "==" : "!=") +
" result");
// Should print "obj.a == 1"
System.out.println("obj.a == " + obj.get("a", obj));
Scriptable b = (Scriptable) obj.get("b", obj);
// Should print "obj.b[0] == x"
System.out.println("obj.b[0] == " + b.get(0, b));
// Should print "obj.b[1] == y"
System.out.println("obj.b[1] == " + b.get(1, b));
try {
// Should print {a:1, b:["x", "y"]}
Function fn = (Function) ScriptableObject.getProperty(obj, "toString");
System.out.println(fn.call(cx, scope, obj, new Object[0]));
} catch (JavaScriptException e) {
// ignore
}
cx.exit();
}
}

View File

@@ -1,55 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
import org.mozilla.javascript.*;
public class Counter extends ScriptableObject {
// The zero-argument constructor used by Rhino runtime to create instances
public Counter() { }
// Method jsConstructor defines the JavaScript constructor
public void jsConstructor(int a) { count = a; }
// The class name is defined by the getClassName method
public String getClassName() { return "Counter"; }
// The method jsGet_count defines the count property.
public int jsGet_count() { return count++; }
// Methods can be defined using the jsFunction_ prefix. Here we define
// resetCount for JavaScript.
public void jsFunction_resetCount() { count = 0; }
private int count;
}

View File

@@ -1,178 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
import org.mozilla.javascript.*;
/**
* Example of controlling the JavaScript with multiple scopes and threads.
*/
public class DynamicScopes {
/**
* Main entry point.
*
* Set up the shared scope and then spawn new threads that execute
* relative to that shared scope. Try compiling functions with and
* without dynamic scope to see the effect.
*
* The expected output is
* <pre>
* sharedScope
* sharedScope
* sharedScope
* thread0
* thread1
* thread2
* </pre>
* The final three lines may be permuted in any order depending on
* thread scheduling.
*/
public static void main(String[] args)
throws JavaScriptException
{
Context cx = Context.enter();
try {
cx.setCompileFunctionsWithDynamicScope(false);
runScripts(cx);
cx.setCompileFunctionsWithDynamicScope(true);
runScripts(cx);
} finally {
cx.exit();
}
}
static void runScripts(Context cx)
throws JavaScriptException
{
// Initialize the standard objects (Object, Function, etc.)
// This must be done before scripts can be executed. The call
// returns a new scope that we will share.
Scriptable scope = cx.initStandardObjects(null);
// Now we can evaluate a script and functions will be compiled to
// use dynamic scope if the Context is so initialized.
String source = "var x = 'sharedScope';" +
"function f() { return x; }";
cx.evaluateString(scope, source, "MySource", 1, null);
// Now we spawn some threads that execute a script that calls the
// function 'f'. The scope chain looks like this:
// <pre>
// ------------------
// | shared scope |
// ------------------
// ^
// |
// ------------------
// | per-thread scope |
// ------------------
// ^
// |
// ------------------
// | f's activation |
// ------------------
// </pre>
// Both the shared scope and the per-thread scope have variables 'x'
// defined in them. If 'f' is compiled with dynamic scope enabled,
// the 'x' from the per-thread scope will be used. Otherwise, the 'x'
// from the shared scope will be used. The 'x' defined in 'g' (which
// calls 'f') should not be seen by 'f'.
final int threadCount = 3;
Thread[] t = new Thread[threadCount];
for (int i=0; i < threadCount; i++) {
String script = "function g() { var x = 'local'; return f(); }" +
"java.lang.System.out.println(g());";
t[i] = new Thread(new PerThread(scope, script,
"thread" + i));
}
for (int i=0; i < threadCount; i++)
t[i].start();
// Don't return in this thread until all the spawned threads have
// completed.
for (int i=0; i < threadCount; i++) {
try {
t[i].join();
} catch (InterruptedException e) {
}
}
}
static class PerThread implements Runnable {
PerThread(Scriptable scope, String script, String x) {
this.scope = scope;
this.script = script;
this.x = x;
}
public void run() {
// We need a new Context for this thread.
Context cx = Context.enter();
try {
// We can share the scope.
Scriptable threadScope = cx.newObject(scope);
threadScope.setPrototype(scope);
// We want "threadScope" to be a new top-level
// scope, so set its parent scope to null. This
// means that any variables created by assignments
// will be properties of "threadScope".
threadScope.setParentScope(null);
// Create a JavaScript property of the thread scope named
// 'x' and save a value for it.
threadScope.put("x", threadScope, x);
cx.evaluateString(threadScope, script, "threadScript", 1, null);
}
catch (NotAFunctionException jse) {
// ignore
}
catch (PropertyException jse) {
// ignore
}
catch (JavaScriptException jse) {
// ignore
}
finally {
Context.exit();
}
}
private Scriptable scope;
private String script;
private String x;
}
}

View File

@@ -1,356 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
import org.mozilla.javascript.*;
import java.io.*;
import java.util.Vector;
/**
* Define a simple JavaScript File object.
*
* This isn't intended to be any sort of definitive attempt at a
* standard File object for JavaScript, but instead is an example
* of a more involved definition of a host object.
*
* Example of use of the File object:
* <pre>
* js> defineClass("File")
* js> file = new File("myfile.txt");
* [object File]
* js> file.writeLine("one"); <i>only now is file actually opened</i>
* js> file.writeLine("two");
* js> file.writeLine("thr", "ee");
* js> file.close(); <i>must close file before we can reopen for reading</i>
* js> var a = file.readLines(); <i>creates and fills an array with the contents of the file</i>
* js> a;
* one,two,three
* js>
* </pre>
*
*
* File errors or end-of-file signaled by thrown Java exceptions will
* be wrapped as JavaScript exceptions when called from JavaScript,
* and may be caught within JavaScript.
*
* @author Norris Boyd
*/
public class File extends ScriptableObject {
/**
* The zero-parameter constructor.
*
* When Context.defineClass is called with this class, it will
* construct File.prototype using this constructor.
*/
public File() {
}
/**
* The Java method defining the JavaScript File constructor.
*
* If the constructor has one or more arguments, and the
* first argument is not undefined, the argument is converted
* to a string as used as the filename.<p>
*
* Otherwise System.in or System.out is assumed as appropriate
* to the use.
*/
public static Scriptable jsConstructor(Context cx, Object[] args,
Function ctorObj,
boolean inNewExpr)
{
File result = new File();
if (args.length == 0 || args[0] == Context.getUndefinedValue()) {
result.name = "";
result.file = null;
} else {
result.name = Context.toString(args[0]);
result.file = new java.io.File(result.name);
}
return result;
}
/**
* Returns the name of this JavaScript class, "File".
*/
public String getClassName() {
return "File";
}
/**
* Get the name of the file.
*
* Used to define the "name" property.
*/
public String jsGet_name() {
return name;
}
/**
* Read the remaining lines in the file and return them in an array.
*
* Implements a JavaScript function.<p>
*
* This is a good example of creating a new array and setting
* elements in that array.
*
* @exception IOException if an error occurred while accessing the file
* associated with this object
* @exception JavaScriptException if a JavaScript exception occurred
* while creating the result array
*/
public Object jsFunction_readLines()
throws IOException, JavaScriptException
{
Vector v = new Vector();
String s;
while ((s = jsFunction_readLine()) != null) {
v.addElement(s);
}
Object[] lines = new Object[v.size()];
v.copyInto(lines);
Scriptable scope = ScriptableObject.getTopLevelScope(this);
Scriptable result;
try {
Context cx = Context.getCurrentContext();
result = cx.newObject(scope, "Array", lines);
} catch (PropertyException e) {
throw Context.reportRuntimeError(e.getMessage());
} catch (NotAFunctionException e) {
throw Context.reportRuntimeError(e.getMessage());
}
return result;
}
/**
* Read a line.
*
* Implements a JavaScript function.
* @exception IOException if an error occurred while accessing the file
* associated with this object, or EOFException if the object
* reached the end of the file
*/
public String jsFunction_readLine() throws IOException {
return getReader().readLine();
}
/**
* Read a character.
*
* @exception IOException if an error occurred while accessing the file
* associated with this object, or EOFException if the object
* reached the end of the file
*/
public String jsFunction_readChar() throws IOException {
int i = getReader().read();
if (i == -1)
return null;
char[] charArray = { (char) i };
return new String(charArray);
}
/**
* Write strings.
*
* Implements a JavaScript function. <p>
*
* This function takes a variable number of arguments, converts
* each argument to a string, and writes that string to the file.
* @exception IOException if an error occurred while accessing the file
* associated with this object
*/
public static void jsFunction_write(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
throws IOException
{
write0(thisObj, args, false);
}
/**
* Write strings and a newline.
*
* Implements a JavaScript function.
* @exception IOException if an error occurred while accessing the file
* associated with this object
*
*/
public static void jsFunction_writeLine(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
throws IOException
{
write0(thisObj, args, true);
}
public int jsGet_lineNumber()
throws FileNotFoundException
{
return getReader().getLineNumber();
}
/**
* Close the file. It may be reopened.
*
* Implements a JavaScript function.
* @exception IOException if an error occurred while accessing the file
* associated with this object
*/
public void jsFunction_close() throws IOException {
if (reader != null) {
reader.close();
reader = null;
} else if (writer != null) {
writer.close();
writer = null;
}
}
/**
* Finalizer.
*
* Close the file when this object is collected.
*/
public void finalize() {
try {
jsFunction_close();
}
catch (IOException e) {
}
}
/**
* Get the Java reader.
*/
public Object jsFunction_getReader() {
if (reader == null)
return null;
// Here we use toObject() to "wrap" the BufferedReader object
// in a Scriptable object so that it can be manipulated by
// JavaScript.
Scriptable parent = ScriptableObject.getTopLevelScope(this);
return Context.toObject(reader, parent);
}
/**
* Get the Java writer.
*
* @see File#jsFunction_getReader
*
*/
public Object jsFunction_getWriter() {
if (writer == null)
return null;
Scriptable parent = ScriptableObject.getTopLevelScope(this);
return Context.toObject(writer, parent);
}
/**
* Get the reader, checking that we're not already writing this file.
*/
private LineNumberReader getReader() throws FileNotFoundException {
if (writer != null) {
throw Context.reportRuntimeError("already writing file \""
+ name
+ "\"");
}
if (reader == null)
reader = new LineNumberReader(file == null
? new InputStreamReader(System.in)
: new FileReader(file));
return reader;
}
/**
* Perform the guts of write and writeLine.
*
* Since the two functions differ only in whether they write a
* newline character, move the code into a common subroutine.
*
*/
private static void write0(Scriptable thisObj, Object[] args, boolean eol)
throws IOException
{
File thisFile = checkInstance(thisObj);
if (thisFile.reader != null) {
throw Context.reportRuntimeError("already writing file \""
+ thisFile.name
+ "\"");
}
if (thisFile.writer == null)
thisFile.writer = new BufferedWriter(
thisFile.file == null ? new OutputStreamWriter(System.out)
: new FileWriter(thisFile.file));
for (int i=0; i < args.length; i++) {
String s = Context.toString(args[i]);
thisFile.writer.write(s, 0, s.length());
}
if (eol)
thisFile.writer.newLine();
}
/**
* Perform the instanceof check and return the downcasted File object.
*
* This is necessary since methods may reside in the File.prototype
* object and scripts can dynamically alter prototype chains. For example:
* <pre>
* js> defineClass("File");
* js> o = {};
* [object Object]
* js> o.__proto__ = File.prototype;
* [object File]
* js> o.write("hi");
* js: called on incompatible object
* </pre>
* The runtime will take care of such checks when non-static Java methods
* are defined as JavaScript functions.
*/
private static File checkInstance(Scriptable obj) {
if (obj == null || !(obj instanceof File)) {
throw Context.reportRuntimeError("called on incompatible object");
}
return (File) obj;
}
/**
* Some private data for this class.
*/
private String name;
private java.io.File file; // may be null, meaning to use System.out or .in
private LineNumberReader reader;
private BufferedWriter writer;
}

View File

@@ -1,168 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
import org.mozilla.javascript.*;
/**
* An example host object class.
*
* Here's a shell session showing the Foo object in action:
* <pre>
* js> defineClass("Foo")
* js> foo = new Foo(); <i>A constructor call, see <a href="#Foo">Foo</a> below.</i>
* [object Foo] <i>The "Foo" here comes from <a href"#getClassName">getClassName</a>.</i>
* js> foo.counter; <i>The counter property is defined by the <code>defineProperty</code></i>
* 0 <i>call below and implemented by the <a href="#getCounter">getCounter</a></i>
* js> foo.counter; <i>method below.</i>
* 1
* js> foo.counter;
* 2
* js> foo.resetCounter(); <i>Results in a call to <a href="#resetCounter">resetCounter</a>.</i>
* js> foo.counter; <i>Now the counter has been reset.</i>
* 0
* js> foo.counter;
* 1
* js> bar = new Foo(37); <i>Create a new instance.</i>
* [object Foo]
* js> bar.counter; <i>This instance's counter is distinct from</i>
* 37 <i>the other instance's counter.</i>
* js> foo.varargs(3, "hi"); <i>Calls <a href="#varargs">varargs</a>.</i>
* this = [object Foo]; args = [3, hi]
* js> foo[7] = 34; <i>Since we extended ScriptableObject, we get</i>
* 34 <i>all the behavior of a JavaScript object</i>
* js> foo.a = 23; <i>for free.</i>
* 23
* js> foo.a + foo[7];
* 57
* js>
* </pre>
*
* @see org.mozilla.javascript.Context
* @see org.mozilla.javascript.Scriptable
* @see org.mozilla.javascript.ScriptableObject
*
* @author Norris Boyd
*/
public class Foo extends ScriptableObject {
/**
* The zero-parameter constructor.
*
* When Context.defineClass is called with this class, it will
* construct Foo.prototype using this constructor.
*/
public Foo() {
}
/**
* The Java method defining the JavaScript Foo constructor.
*
* Takes an initial value for the counter property.
* Note that in the example Shell session above, we didn't
* supply a argument to the Foo constructor. This means that
* the Undefined value is used as the value of the argument,
* and when the argument is converted to an integer, Undefined
* becomes 0.
*/
public Foo(int counterStart) {
counter = counterStart;
}
/**
* Returns the name of this JavaScript class, "Foo".
*/
public String getClassName() {
return "Foo";
}
/**
* The Java method defining the JavaScript resetCounter function.
*
* Resets the counter to 0.
*/
public void jsFunction_resetCounter() {
counter = 0;
}
/**
* The Java method implementing the getter for the counter property.
* <p>
* If "setCounter" had been defined in this class, the runtime would
* call the setter when the property is assigned to.
*/
public int jsGet_counter() {
return counter++;
}
/**
* An example of a variable-arguments method.
*
* All variable arguments methods must have the same number and
* types of parameters, and must be static. <p>
* @param cx the Context of the current thread
* @param thisObj the JavaScript 'this' value.
* @param args the array of arguments for this call
* @param funObj the function object of the invoked JavaScript function
* This value is useful to compute a scope using
* Context.getTopLevelScope().
* @return computes the string values and types of 'this' and
* of each of the supplied arguments and returns them in a string.
*
* @exception ThreadAssociationException if the current
* thread is not associated with a Context
* @see org.mozilla.javascript.ScriptableObject#getTopLevelScope
*/
public static Object jsFunction_varargs(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
StringBuffer buf = new StringBuffer();
buf.append("this = ");
buf.append(Context.toString(thisObj));
buf.append("; args = [");
for (int i=0; i < args.length; i++) {
buf.append(Context.toString(args[i]));
if (i+1 != args.length)
buf.append(", ");
}
buf.append("]");
return buf.toString();
}
/**
* A piece of private data for this class.
*/
private int counter;
}

View File

@@ -1,59 +0,0 @@
#! gmake
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Rhino code, released
# May 6, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU Public License (the "GPL"), in which case the
# provisions of the GPL are applicable instead of those above.
# If you wish to allow use of your version of this file only
# under the terms of the GPL and not to allow others to use your
# version of this file under the NPL, indicate your decision by
# deleting the provisions above and replace them with the notice
# and other provisions required by the GPL. If you do not delete
# the provisions above, a recipient may use your version of this
# file under either the NPL or the GPL.
#
# Makefile for the examples directory.
#
# This Makefile just calls $(JAVAC) on all the .java files. This
# Makefile is intended to be called from the toplevel Makefile.
#
JSFILES = $(PATH_PREFIX)/*.js
SOURCES = $(PATH_PREFIX)/*.java
CLASSES = $(PATH_PREFIX)/*.class
$(CLASSES) : $(SOURCES)
$(JAVAC) $(JFLAGS) $(SOURCES)
clean :
- rm $(CLASSES) $(PATH_PREFIX)/MANIFEST
clobber : clean
check :
$(PATH_PREFIX)/MANIFEST : $(SOURCES) $(CLASSES) $(JSFILES)
ls $(SOURCES) $(CLASSES) $(JSFILES) \
> $(@)
# Emulate .PHONY
FORCE :

View File

@@ -1,274 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
import org.mozilla.javascript.*;
import java.util.Vector;
/**
* Matrix: An example host object class that implements the Scriptable interface.
*
* Built-in JavaScript arrays don't handle multiple dimensions gracefully: the
* script writer must create every array in an array of arrays. The Matrix class
* takes care of that by automatically allocating arrays for every index that
* is accessed. What's more, the Matrix constructor takes a integer argument
* that specifies the dimension of the Matrix. If m is a Matrix with dimension 3,
* then m[0] will be a Matrix with dimension 1, and m[0][0] will be an Array.
*
* Here's a shell session showing the Matrix object in action:
* <pre>
* js> defineClass("Matrix")
* js> m = new Matrix(2); <i>A constructor call, see <a href="#Matrix">Matrix</a> below.</i>
* [object Matrix] <i>The "Matrix" here comes from <a href"#getClassName">getClassName</a>.</i>
* js> version(120); <i>switch to JavaScript1.2 to see arrays better</i>
* 0
* js> m[0][0] = 3;
* 3
* js> m[0]; <i>an array was created automatically!</i>
* [3]
* js> m[1]; <i>array is created even if we don't set a value</i>
* []
* js> m.dim; <i>we can access the "dim" property</i>
* 2
* js> m.dim = 3;
* 3
* js> m.dim; <i>but not modify it</i>
* 2
* </pre>
*
* @see org.mozilla.javascript.Context
* @see org.mozilla.javascript.Scriptable
*
* @author Norris Boyd
*/
public class Matrix implements Scriptable {
/**
* The zero-parameter constructor.
*
* When Context.defineClass is called with this class, it will
* construct Matrix.prototype using this constructor.
*/
public Matrix() {
}
/**
* The Java constructor, also used to define the JavaScript constructor.
*/
public Matrix(int dimension) {
if (dimension <= 0) {
throw Context.reportRuntimeError(
"Dimension of Matrix must be greater than zero");
}
dim = dimension;
v = new Vector();
}
/**
* Returns the name of this JavaScript class, "Matrix".
*/
public String getClassName() {
return "Matrix";
}
/**
* Defines the "dim" property by returning true if name is
* equal to "dim".
* <p>
* Defines no other properties, i.e., returns false for
* all other names.
*
* @param name the name of the property
* @param start the object where lookup began
*/
public boolean has(String name, Scriptable start) {
return name.equals("dim");
}
/**
* Defines all numeric properties by returning true.
*
* @param index the index of the property
* @param start the object where lookup began
*/
public boolean has(int index, Scriptable start) {
return true;
}
/**
* Get the named property.
* <p>
* Handles the "dim" property and returns NOT_FOUND for all
* other names.
* @param name the property name
* @param start the object where the lookup began
*/
public Object get(String name, Scriptable start) {
if (name.equals("dim"))
return new Integer(dim);
return NOT_FOUND;
}
/**
* Get the indexed property.
* <p>
* Look up the element in the associated vector and return
* it if it exists. If it doesn't exist, create it.<p>
* @param index the index of the integral property
* @param start the object where the lookup began
*/
public Object get(int index, Scriptable start) {
if (index >= v.size())
v.setSize(index+1);
Object result = v.elementAt(index);
if (result != null)
return result;
if (dim > 2) {
Matrix m = new Matrix(dim-1);
m.setParentScope(getParentScope());
m.setPrototype(getPrototype());
result = m;
} else {
Context cx = Context.getCurrentContext();
Scriptable scope = ScriptableObject.getTopLevelScope(start);
result = cx.newArray(scope, 0);
}
v.setElementAt(result, index);
return result;
}
/**
* Set a named property.
*
* We do nothing here, so all properties are effectively read-only.
*/
public void put(String name, Scriptable start, Object value) {
}
/**
* Set an indexed property.
*
* We do nothing here, so all properties are effectively read-only.
*/
public void put(int index, Scriptable start, Object value) {
}
/**
* Remove a named property.
*
* This method shouldn't even be called since we define all properties
* as PERMANENT.
*/
public void delete(String id) {
}
/**
* Remove an indexed property.
*
* This method shouldn't even be called since we define all properties
* as PERMANENT.
*/
public void delete(int index) {
}
/**
* Get prototype.
*/
public Scriptable getPrototype() {
return prototype;
}
/**
* Set prototype.
*/
public void setPrototype(Scriptable prototype) {
this.prototype = prototype;
}
/**
* Get parent.
*/
public Scriptable getParentScope() {
return parent;
}
/**
* Set parent.
*/
public void setParentScope(Scriptable parent) {
this.parent = parent;
}
/**
* Get properties.
*
* We return an empty array since we define all properties to be DONTENUM.
*/
public Object[] getIds() {
return new Object[0];
}
/**
* Default value.
*
* Use the convenience method from Context that takes care of calling
* toString, etc.
*/
public Object getDefaultValue(Class typeHint) {
return "[object Matrix]";
}
/**
* instanceof operator.
*
* We mimick the normal JavaScript instanceof semantics, returning
* true if <code>this</code> appears in <code>value</code>'s prototype
* chain.
*/
public boolean hasInstance(Scriptable value) {
Scriptable proto = value.getPrototype();
while (proto != null) {
if (proto.equals(this)) return true;
}
return false;
}
/**
* Some private data for this class.
*/
private int dim;
private Vector v;
private Scriptable prototype, parent;
}

View File

@@ -1,7 +0,0 @@
<html>
<body>
This is the NervousText applet in javascript:
<applet code=NervousText.class width=200 height=50 >
</applet>
</body>
</html>

View File

@@ -1,75 +0,0 @@
// The Java "NervousText" example ported to JavaScript.
// Compile using java org.mozilla.tools.jsc.Main -extends java.applet.Applet -implements java.lang.Runnable NervousText.js
/*
Adapted from Java code by
Daniel Wyszynski
Center for Applied Large-Scale Computing (CALC)
04-12-95
Test of text animation.
kwalrath: Changed string; added thread suspension. 5-9-95
*/
var Font = java.awt.Font;
var Thread = java.lang.Thread;
var separated;
var s = null;
var killme = null;
var i;
var x_coord = 0, y_coord = 0;
var num;
var speed=35;
var counter =0;
var threadSuspended = false; //added by kwalrath
function init() {
resize(150,50);
setFont(new Font("TimesRoman",Font.BOLD,36));
s = getParameter("text");
if (s == null) {
s = "Rhino";
}
separated = s.split('');
}
function start() {
if(killme == null)
{
killme = new java.lang.Thread(java.lang.Runnable(this));
killme.start();
}
}
function stop() {
killme = null;
}
function run() {
while (killme != null) {
try {Thread.sleep(100);} catch (e){}
repaint();
}
killme = null;
}
function paint(g) {
for(i=0;i<separated.length;i++)
{
x_coord = Math.random()*10+15*i;
y_coord = Math.random()*10+36;
g.drawChars(separated, i,1,x_coord,y_coord);
}
}
/* Added by kwalrath. */
function mouseDown(evt, x, y) {
if (threadSuspended) {
killme.resume();
}
else {
killme.suspend();
}
threadSuspended = !threadSuspended;
return true;
}

View File

@@ -1,73 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
import org.mozilla.javascript.*;
/**
* RunScript: simplest example of controlling execution of Rhino.
*
* Collects its arguments from the command line, executes the
* script, and prints the result.
*
* @author Norris Boyd
*/
public class RunScript {
public static void main(String args[])
throws JavaScriptException
{
// Creates and enters a Context. The Context stores information
// about the execution environment of a script.
Context cx = Context.enter();
// Initialize the standard objects (Object, Function, etc.)
// This must be done before scripts can be executed. Returns
// a scope object that we use in later calls.
Scriptable scope = cx.initStandardObjects(null);
// Collect the arguments into a single string.
String s = "";
for (int i=0; i < args.length; i++)
s += args[i];
// Now evaluate the string we've colected.
Object result = cx.evaluateString(scope, s, "<cmd>", 1, null);
// Convert the result to a string and print it.
System.err.println(cx.toString(result));
// Exit from the context.
Context.exit();
}
}

View File

@@ -1,63 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
import org.mozilla.javascript.*;
/**
* RunScript2: Like RunScript, but reflects the System.out into JavaScript.
*
* @author Norris Boyd
*/
public class RunScript2 {
public static void main(String args[])
throws JavaScriptException
{
Context cx = Context.enter();
Scriptable scope = cx.initStandardObjects(null);
// Add a global variable "out" that is a JavaScript reflection
// of System.out
Scriptable jsArgs = Context.toObject(System.out, scope);
scope.put("out", scope, jsArgs);
String s = "";
for (int i=0; i < args.length; i++)
s += args[i];
Object result = cx.evaluateString(scope, s, "<cmd>", 1, null);
System.err.println(cx.toString(result));
Context.exit();
}
}

View File

@@ -1,63 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
import org.mozilla.javascript.*;
/**
* RunScript3: Execute scripts in an environment that includes the
* example Counter class.
*
* @author Norris Boyd
*/
public class RunScript3 {
public static void main(String args[])
throws Exception
{
Context cx = Context.enter();
Scriptable scope = cx.initStandardObjects(null);
// Use the Counter class to define a Counter constructor
// and prototype in JavaScript.
ScriptableObject.defineClass(scope, Counter.class);
String s = "";
for (int i=0; i < args.length; i++)
s += args[i];
Object result = cx.evaluateString(scope, s, "<cmd>", 1, null);
System.err.println(cx.toString(result));
Context.exit();
}
}

View File

@@ -1,352 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
import org.mozilla.javascript.*;
import java.io.*;
/**
* The shell program.
*
* Can execute scripts interactively or in batch mode at the command line.
* An example of controlling the JavaScript engine.
*
* @author Norris Boyd
*/
public class Shell extends ScriptableObject {
/**
* Main entry point.
*
* Process arguments as would a normal Java program. Also
* create a new Context and associate it with the current thread.
* Then set up the execution environment and begin to
* execute scripts.
*/
public static void main(String args[]) {
// Associate a new Context with this thread
Context cx = Context.enter();
// A bit of shorthand: since Shell extends ScriptableObject,
// we can make it the global object.
global = new Shell();
// Initialize the standard objects (Object, Function, etc.)
// This must be done before scripts can be executed.
cx.initStandardObjects(global);
// Define some global functions particular to the shell. Note
// that these functions are not part of ECMA.
String[] names = { "print", "quit", "version", "load", "help" };
try {
global.defineFunctionProperties(names, Shell.class,
ScriptableObject.DONTENUM);
} catch (PropertyException e) {
throw new Error(e.getMessage());
}
args = processOptions(cx, args);
// Set up "arguments" in the global scope to contain the command
// line arguments after the name of the script to execute
Object[] array = args;
if (args.length > 0) {
int length = args.length - 1;
array = new Object[length];
System.arraycopy(args, 1, array, 0, length);
}
Scriptable argsObj = cx.newArray(global, array);
global.defineProperty("arguments", argsObj,
ScriptableObject.DONTENUM);
processSource(cx, args.length == 0 ? null : args[0]);
cx.exit();
}
/**
* Parse arguments.
*/
public static String[] processOptions(Context cx, String args[]) {
for (int i=0; i < args.length; i++) {
String arg = args[i];
if (!arg.startsWith("-")) {
String[] result = new String[args.length - i];
for (int j=i; j < args.length; j++)
result[j-i] = args[j];
return result;
}
if (arg.equals("-version")) {
if (++i == args.length)
usage(arg);
double d = cx.toNumber(args[i]);
if (d != d)
usage(arg);
cx.setLanguageVersion((int) d);
continue;
}
usage(arg);
}
return new String[0];
}
/**
* Return name of this class, the global object.
*
* This method must be implemented in all concrete classes
* extending ScriptableObject.
*
* @see org.mozilla.javascript.Scriptable#getClassName
*/
public String getClassName() {
return "global";
}
/**
* Print a usage message.
*/
public static void usage(String s) {
p("Didn't understand \"" + s + "\".");
p("Valid arguments are:");
p("-version 100|110|120|130");
System.exit(1);
}
/**
* Print a help message.
*
* This method is defined as a JavaScript function.
*/
public static void help(String s) {
p("");
p("Command Description");
p("======= ===========");
p("help() Display usage and help messages. ");
p("defineClass(className) Define an extension using the Java class");
p(" named with the string argument. ");
p(" Uses ScriptableObject.defineClass(). ");
p("load(['foo.js', ...]) Load JavaScript source files named by ");
p(" string arguments. ");
p("loadClass(className) Load a class named by a string argument.");
p(" The class must be a script compiled to a");
p(" class file. ");
p("print([expr ...]) Evaluate and print expressions. ");
p("quit() Quit the shell. ");
p("version([number]) Get or set the JavaScript version number.");
p("");
}
/**
* Print the string values of its arguments.
*
* This method is defined as a JavaScript function.
* Note that its arguments are of the "varargs" form, which
* allows it to handle an arbitrary number of arguments
* supplied to the JavaScript function.
*
*/
public static void print(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
for (int i=0; i < args.length; i++) {
if (i > 0)
System.out.print(" ");
// Convert the arbitrary JavaScript value into a string form.
String s = Context.toString(args[i]);
System.out.print(s);
}
System.out.println();
}
/**
* Quit the shell.
*
* This only affects the interactive mode.
*
* This method is defined as a JavaScript function.
*/
public static void quit() {
quitting = true;
}
/**
* Get and set the language version.
*
* This method is defined as a JavaScript function.
*/
public static double version(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
double result = (double) cx.getLanguageVersion();
if (args.length > 0) {
double d = cx.toNumber(args[0]);
cx.setLanguageVersion((int) d);
}
return result;
}
/**
* Load and execute a set of JavaScript source files.
*
* This method is defined as a JavaScript function.
*
*/
public static void load(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
for (int i=0; i < args.length; i++) {
processSource(cx, cx.toString(args[i]));
}
}
/**
* Evaluate JavaScript source.
*
* @param cx the current context
* @param filename the name of the file to compile, or null
* for interactive mode.
*/
public static void processSource(Context cx, String filename) {
if (filename == null) {
BufferedReader in = new BufferedReader
(new InputStreamReader(System.in));
String sourceName = "<stdin>";
int lineno = 1;
boolean hitEOF = false;
do {
int startline = lineno;
System.err.print("js> ");
System.err.flush();
try {
String source = "";
// Collect lines of source to compile.
while(true) {
String newline;
newline = in.readLine();
if (newline == null) {
hitEOF = true;
break;
}
source = source + newline + "\n";
lineno++;
// Continue collecting as long as more lines
// are needed to complete the current
// statement. stringIsCompilableUnit is also
// true if the source statement will result in
// any error other than one that might be
// resolved by appending more source.
if (cx.stringIsCompilableUnit(source))
break;
}
Object result = cx.evaluateString(global, source,
sourceName, startline,
null);
if (result != cx.getUndefinedValue()) {
System.err.println(cx.toString(result));
}
}
catch (WrappedException we) {
// Some form of exception was caught by JavaScript and
// propagated up.
System.err.println(we.getWrappedException().toString());
we.printStackTrace();
}
catch (EvaluatorException ee) {
// Some form of JavaScript error.
System.err.println("js: " + ee.getMessage());
}
catch (JavaScriptException jse) {
// Some form of JavaScript error.
System.err.println("js: " + jse.getMessage());
}
catch (IOException ioe) {
System.err.println(ioe.toString());
}
if (quitting) {
// The user executed the quit() function.
break;
}
} while (!hitEOF);
System.err.println();
} else {
FileReader in = null;
try {
in = new FileReader(filename);
}
catch (FileNotFoundException ex) {
Context.reportError("Couldn't open file \"" + filename + "\".");
return;
}
try {
// Here we evalute the entire contents of the file as
// a script. Text is printed only if the print() function
// is called.
cx.evaluateReader(global, in, filename, 1, null);
}
catch (WrappedException we) {
System.err.println(we.getWrappedException().toString());
we.printStackTrace();
}
catch (EvaluatorException ee) {
System.err.println("js: " + ee.getMessage());
}
catch (JavaScriptException jse) {
System.err.println("js: " + jse.getMessage());
}
catch (IOException ioe) {
System.err.println(ioe.toString());
}
finally {
try {
in.close();
}
catch (IOException ioe) {
System.err.println(ioe.toString());
}
}
}
System.gc();
}
private static void p(String s) {
System.out.println(s);
}
static Shell global;
static boolean quitting;
}

View File

@@ -1,134 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
/**
* checkParam.js
*
* The files given as arguments on the command line are assumed to be
* Java source code files. This program checks to see that the @param
* tags in the documentation comments match with the parameters for
* the associated Java methods.
* <p>
* Any errors found are reported.
*
*/
defineClass("File")
// Return true if "str" ends with "suffix".
function stringEndsWith(str, suffix) {
return str.substring(str.length - suffix.length) == suffix;
}
/**
* Perform processing once the end of a documentation comment is seen.
*
* Look for a parameter list following the end of the comment and
* collect the parameters and compare to the @param entries.
* Report any discrepancies.
* @param f the current file
* @param a an array of parameters from @param comments
* @param line the string containing the comment end (in case the
* parameters are on the same line)
*/
function processCommentEnd(f, a, line) {
while (line != null && !line.match(/\(/))
line = f.readLine();
while (line != null && !line.match(/\)/))
line += f.readLine();
if (line === null)
return;
var m = line.match(/\(([^\)]+)\)/);
var args = m ? m[1].split(",") : [];
if (a.length != args.length) {
print('"' + f.name +
'"; line ' + f.lineNumber +
' mismatch: had a different number' +
' of @param entries and parameters.');
} else {
for (var i=0; i < a.length; i++) {
if (!stringEndsWith(args[i], a[i])) {
print('"' + f.name +
'"; line ' + f.lineNumber +
' mismatch: had "' + a[i] +
'" and "' + args[i] + '".');
break;
}
}
}
}
/**
* Process the given file, looking for mismatched @param lists and
* parameter lists.
* @param f the file to process
*/
function processFile(f) {
var line;
var m;
var i = 0;
var a = [];
outer:
while ((line = f.readLine()) != null) {
if (line.match(/@param/)) {
while (m = line.match(/@param[ ]+([^ ]+)/)) {
a[i++] = m[1];
line = f.readLine();
if (line == null)
break outer;
}
}
if (i != 0 && line.match(/\*\//)) {
processCommentEnd(f, a, line);
i = 0;
a = [];
}
}
if (i != 0) {
print('"' + f.name +
'"; line ' + f.lineNumber +
' missing parameters at end of file.');
}
}
// main script: process each file in arguments list
for (var i=0; i < arguments.length; i++) {
var filename = String(arguments[i]);
print("Checking " + filename + "...");
var f = new File(filename);
processFile(f);
}
print("done.");

View File

@@ -1,70 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Patrick Beard
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
/*
enum.js
Implementing the interface java.util.Enumeration using the new syntax.
Note that this syntax is experimental only, and hasn't been approved
by ECMA.
The same functionality can be had without the new syntax using the
uglier syntax:
var elements = new JavaAdapter(java.util.Enumeration, {
index: 0, elements: array,
hasMoreElements: function ...
nextElement: function ...
});
by Patrick C. Beard.
*/
// an array to enumerate.
var array = [0, 1, 2];
// create an array enumeration.
var elements = new java.util.Enumeration() {
index: 0, elements: array,
hasMoreElements: function() {
return (this.index < this.elements.length);
},
nextElement: function() {
return this.elements[this.index++];
}
};
// now print out the array by enumerating through the Enumeration
while (elements.hasMoreElements())
print(elements.nextElement());

View File

@@ -1,508 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Roland Pennings
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
/**
* Process a JavaScript source file and process special comments
* to produce an HTML file of documentation, similar to javadoc.
* @author Norris Boyd
* @see rhinotip.jar
* @lastmodified xx
* @version 1.2 Roland Pennings: Allow multiple files for a function.
* @version 1.3 Roland Pennings: Removes ../.. from the input directory name
*/
defineClass("File")
var functionDocArray = [];
var inputDirName = "";
var indexFileArray = [];
var indexFile = "";
var indexFileName = "index_files";
var indexFunctionArray = [];
var indexFunction = "";
var indexFunctionName = "index_functions";
var FileList = [];
var DirList = [];
var outputdir = null;
var debug = 0;
/**
* Process JavaScript source file <code>f</code>, writing jsdoc to
* file <code>out</code>.
* @param f input file
* @param fname name of the input file (without the path)
* @param inputdir directory of the input file
* @param out output file
*/
function processFile(f, fname, inputdir, out) {
var s;
var firstLine = true;
indexFileArray[fname] = "";
// write the header of the output file
out.writeLine('<HTML><HEADER><TITLE>' + fname + '</TITLE><BODY>');
if (inputdir != null) {
outstr = '<a name=\"_top_\"></a><pre><a href=\"' + indexFile + '\">Index Files</a> ';
outstr += '<a href=\"' + indexFunction + '\">Index Functions</a></pre><hr>';
out.writeLine(outstr);
}
// process the input file
var comment = "";
while ((s = f.readLine()) != null) {
var m = s.match(/\/\*\*(.*)/);
if (m != null) {
// Found a comment start.
s = "*" + m[1];
do {
m = s.match(/(.*)\*\//);
if (m != null) {
// Found end of comment.
comment += m[1];
break;
}
// Strip leading whitespace and "*".
comment += s.replace(/^\s*\*/, "");
s = f.readLine();
} while (s != null);
if (debug)
print("Found comment " + comment);
if (firstLine) {
// We have a comment for the whole file.
out.writeLine('<H1>File ' + fname + '</H1>');
out.writeLine(processComment(comment,firstLine,fname));
out.writeLine('<HR>');
firstLine = false;
comment = "";
continue;
}
}
// match the beginning of the function
// NB we also match functions without a comment!
// if we have two comments one after another only the last one will be taken
m = s.match(/^\s*function\s+((\w+)|(\w+)(\s+))\(([^)]*)\)/);
if (m != null)
{
// Found a function start
var htmlText = processFunction(m[1], m[2], comment);
// Save the text in a global variable, so we
// can write out a table of contents first.
functionDocArray[functionDocArray.length] =
{name:m[1], text:htmlText};
// Store the function also in the indexFunctionArray
// so we can have a seperate file with the function table of contents
if (indexFunctionArray[m[1]]) {
// print("ERROR: function: " + m[1] + " is defined more than once!");
// Allow multiple files for a function
with (indexFunctionArray[m[1]]) {
filename = filename + "|" + fname;
// print("filename = " + filename);
}
} else {
indexFunctionArray[m[1]] =
{filename:fname};
}
//reset comment
comment = "";
}
firstLine = false;
}
// Write table of contents.
for (var i=0; i < functionDocArray.length; i++) {
with (functionDocArray[i]) {
out.writeLine('function <A HREF=#' + name +
'>' + name + '</A><BR>');
}
}
out.writeLine('<HR>');
// Now write the saved function documentation.
for (i=0; i < functionDocArray.length; i++) {
with (functionDocArray[i]) {
out.writeLine('<A NAME=' + name + '>');
out.writeLine(text);
}
}
out.writeLine('</BODY></HTML>');
// Now clean up the doc array
functionDocArray = [];
}
/**
* Process function and associated comment.
* @param name the name of the function
* @param args the args of the function as a single string
* @param comment the text of the comment
* @return a string for the HTML text of the documentation
*/
function processFunction(name, args, comment) {
if (debug)
print("Processing " + name + " " + args + " " + comment);
return "<H2>Function " + name + "</H2>" +
"<PRE>" +
"function " + name + "(" + args + ")" +
"</PRE>" +
processComment(comment,0,name) +
"<P><BR><BR>";
}
/**
* Process comment.
* @param comment the text of the comment
* @param firstLine shows if comment is at the beginning of the file
* @param fname name of the file (without path)
* @return a string for the HTML text of the documentation
*/
function processComment(comment,firstLine,fname) {
var tags = {};
// Use the "lambda" form of regular expression replace,
// where the replacement object is a function rather
// than a string. The function is called with the
// matched text and any parenthetical matches as
// arguments, and the result of the function used as the
// replacement text.
// Here we use the function to build up the "tags" object,
// which has a property for each "@" tag that is the name
// of the tag, and whose value is an array of the
// text following that tag.
comment = comment.replace(/@(\w+)\s+([^@]*)/g,
function (s, name, text) {
var a = tags[name] || [];
a.push(text);
tags[name] = a;
return "";
});
// if we have a comment at the beginning of a file
// store the comment for the index file
if (firstLine) {
indexFileArray[fname] = comment;
}
var out = comment + '<P>';
if (tags["param"]) {
// Create a table of parameters and their descriptions.
var array = tags["param"];
var params = "";
for (var i=0; i < array.length; i++) {
var m = array[i].match(/(\w+)\s+(.*)/);
params += '<TR><TD><I>'+m[1]+'</I></TD>' +
'<TD>'+m[2]+'</TD></TR>';
}
out += '<TABLE WIDTH="90%" BORDER=1>';
out += '<TR BGCOLOR=0xdddddddd>';
out += '<TD><B>Parameter</B></TD>';
out += '<TD><B>Description</B></TD></TR>';
out += params;
out += '</TABLE><P>';
}
if (tags["return"]) {
out += "<DT><B>Returns:</B><DD>";
out += tags["return"][0] + "</DL><P>";
}
if (tags["author"]) {
// List the authors together, separated by commas.
out += '<DT><B>Author:</B><DD>';
var array = tags["author"];
for (var i=0; i < array.length; i++) {
out += array[i];
if (i+1 < array.length)
out += ", ";
}
out += '</DL><P>';
}
if (tags["version"]) {
// Show the version.
out += '<DT><B>Version:</B><DD>';
var array = tags["version"];
for (var i=0; i < array.length; i++) {
out += array[i];
if (i+1 < array.length)
out += "<BR><DD>";
}
out += '</DL><P>';
}
if (tags["see"]) {
// List the see modules together, separated by <BR>.
out += '<DT><B>Dependencies:</B><DD>';
var array = tags["see"];
for (var i=0; i < array.length; i++) {
out += array[i];
if (i+1 < array.length)
out += "<BR><DD>";
}
out += '</DL><P>';
}
if (tags["lastmodified"]) {
// Shows a last modified description with client-side js.
out += '<DT><B>Last modified:</B><DD>';
out += '<script><!--\n';
out += 'document.writeln(document.lastModified);\n';
out += '// ---></script>\n';
out += '</DL><P>';
}
// additional tags can be added here (i.e., "if (tags["see"])...")
return out;
}
/**
* Create an html output file
* @param outputdir directory to put the file
* @param htmlfile name of the file
*/
function CreateOutputFile(outputdir,htmlfile)
{
if (outputdir==null)
{
var outname = htmlfile;
}
else
{
var separator = Packages.java.io.File.separator;
var outname = outputdir + separator + htmlfile.substring(htmlfile.lastIndexOf(separator),htmlfile.length);
}
print("output file: " + outname);
return new File(outname);
}
/**
* Process a javascript file. Puts the generated HTML file in the outdir
* @param filename name of the javascript file
* @inputdir input directory of the file (default null)
*/
function processJSFile(filename,inputdir)
{
if (debug) print("filename = " + filename + " inputdir = " + inputdir);
if (!filename.match(/\.js$/)) {
print("Expected filename to end in '.js'; had instead " +
filename + ". I don't treat the file.");
} else {
if (inputdir==null)
{
var inname = filename;
}
else
{
var separator = Packages.java.io.File.separator;
var inname = inputdir + separator + filename;
}
print("Processing file " + inname);
var f = new File(inname);
// create the output file
var htmlfile = filename.replace(/\.js$/, ".html");
var out = CreateOutputFile(outputdir,htmlfile);
processFile(f, filename, inputdir, out);
out.close();
}
}
/**
* Generate index files containing links to the processed javascript files
* and the generated functions
*/
function GenerateIndex(dirname)
{
// construct the files index file
var out = CreateOutputFile(outputdir,indexFile);
// write the beginning of the file
out.writeLine('<HTML><HEADER><TITLE>File Index - directory: ' + dirname + '</TITLE><BODY>');
out.writeLine('<H1>File Index - directory: ' + dirname + '</H1>\n');
out.writeLine('<TABLE WIDTH="90%" BORDER=1>');
out.writeLine('<TR BGCOLOR=0xdddddddd>');
out.writeLine('<TD><B>File</B></TD>');
out.writeLine('<TD><B>Description</B></TD></TR>');
var separator = Packages.java.io.File.separator;
// sort the index file array
var SortedFileArray = [];
for (var fname in indexFileArray)
SortedFileArray.push(fname);
SortedFileArray.sort();
for (var i=0; i < SortedFileArray.length; i++) {
var fname = SortedFileArray[i];
var htmlfile = fname.replace(/\.js$/, ".html");
out.writeLine('<TR><TD><A HREF=\"' + htmlfile + '\">' + fname + '</A></TD></TD><TD>');
if (indexFileArray[fname])
out.writeLine(indexFileArray[fname]);
else
out.writeLine('No comments');
out.writeLine('</TD></TR>\n');
}
out.writeLine('</TABLE></BODY></HTML>');
out.close();
// construct the functions index file
var out = CreateOutputFile(outputdir,indexFunction);
// write the beginning of the file
out.writeLine('<HTML><HEADER><TITLE>Function Index - directory: ' + dirname + '</TITLE><BODY>');
out.writeLine('<H1>Function Index - directory: ' + dirname + '</H1>\n');
out.writeLine('<TABLE WIDTH="90%" BORDER=1>');
out.writeLine('<TR BGCOLOR=0xdddddddd>');
out.writeLine('<TD><B>Function</B></TD>');
out.writeLine('<TD><B>Files</B></TD></TR>');
// sort the function array
var SortedFunctionArray = [];
for (var functionname in indexFunctionArray)
SortedFunctionArray.push(functionname);
SortedFunctionArray.sort();
for (var j=0; j < SortedFunctionArray.length; j++) {
var funcname = SortedFunctionArray[j];
with (indexFunctionArray[funcname]) {
var outstr = '<TR><TD>' + funcname + '</TD><TD>';
var filelst = filename.split("|");
for (var i in filelst) {
var htmlfile = filelst[i].replace(/\.js$/, ".html");
outstr += '<A HREF=\"' + htmlfile + '#' + funcname + '\">' + filelst[i] + '</A>&nbsp;';
}
outstr += '</TD></TR>';
out.writeLine(outstr);
}
}
out.writeLine('</TABLE></BODY></HTML>');
out.close();
}
/**
* prints the options for JSDoc
*/
function PrintOptions()
{
print("You can use the following options:\n");
print("-d: specify an output directory for the generated html files\n");
print("-i: processes all files in an input directory (you can specify several directories)\n");
quit();
}
// Main Script
// first read the arguments
if (! arguments)
PrintOptions();
for (var i=0; i < arguments.length; i++) {
if (debug) print("argument: + \'" + arguments[i] + "\'");
if (arguments[i].match(/^\-/)) {
if (String(arguments[i])=="-d"){
// output directory for the generated html files
outputdir = String(arguments[i+1]);
if (debug) print("outputdir: + \'" + outputdir + "\'");
i++;
}
else if (String(arguments[i])=="-i"){
// process all files in an input directory
DirList.push(String(arguments[i+1]));
if (debug) print("inputdir: + \'" + arguments[i+1] + "\'");
i++;
}
else {
print("Unknown option: " + arguments[i] + "\n");
PrintOptions();
}
}
else
{
// we have a single file
if (debug) print("file: + \'" + arguments[i] + "\'");
FileList.push(String(arguments[i]));
}
}
// first handle the single files
for (var i in FileList)
processJSFile(FileList[i],null);
// then handle the input directories
for (var j in DirList) {
var inputdir = String(DirList[j]);
print("Process input directory: " + inputdir);
// clean up index arrays
var indexFileArray = [];
var indexFunctionArray = [];
// for the directory name get rid of ../../ or ..\..\
inputDirName = inputdir.replace(/\.\.\/|\.\.\\/g,"");
indexFile = indexFileName + "_" + inputDirName + ".html";
indexFunction = indexFunctionName + "_" + inputDirName + ".html";
print("indexFile = " + indexFile);
print("indexFunction = " + indexFunction);
// read the files in the directory
var DirFile = new java.io.File(inputdir);
var lst = DirFile.list();
var separator = Packages.java.io.File.separator;
for (var i=0; i < lst.length; i++)
{
processJSFile(String(lst[i]),inputdir);
}
// generate the index files for the input directory
GenerateIndex(inputDirName);
}

View File

@@ -1,54 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
/**
* liveConnect.js: a simple demonstration of JavaScript-to-Java connectivity
*/
// Create a new StringBuffer. Note that the class name must be fully qualified
// by its package. Packages other than "java" must start with "Packages", i.e.,
// "Packages.javax.servlet...".
var sb = new java.lang.StringBuffer();
// Now add some stuff to the buffer.
sb.append("hi, mom");
sb.append(3); // this will add "3.0" to the buffer since all JS numbers
// are doubles by default
sb.append(true);
// Now print it out. (The toString() method of sb is automatically called
// to convert the buffer to a string.)
// Should print "hi, mom3.0true".
print(sb);

View File

@@ -1,53 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// unique.js: read the contents of a file and print out the unique lines
defineClass("File")
// "arguments[0]" refers to the first argument at the command line to the
// script, if present. If not present, "arguments[0]" will be undefined,
// which will cause f to read from System.in.
var f = new File(arguments[0]);
var o = {}
var line;
while ((line = f.readLine()) != null) {
// Use JavaScript objects' inherent nature as an associative
// array to provide uniqueness
o[line] = true;
}
for (i in o) {
print(i);
}

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -1,2 +0,0 @@
Manifest-Version: 1.0
Main-Class: org.mozilla.javascript.tools.shell.Main

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,130 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
/**
* This class implements the "arguments" object.
*
* See ECMA 10.1.8
*
* @see org.mozilla.javascript.NativeCall
* @author Norris Boyd
*/
class Arguments extends ScriptableObject {
public Arguments(NativeCall activation) {
this.activation = activation;
Scriptable parent = activation.getParentScope();
setParentScope(parent);
setPrototype(ScriptableObject.getObjectPrototype(parent));
args = activation.getOriginalArguments();
int length = args.length;
Object callee = activation.funObj;
defineProperty("length", new Integer(length),
ScriptableObject.DONTENUM);
defineProperty("callee", callee, ScriptableObject.DONTENUM);
hasCaller = (activation.funObj.version <= Context.VERSION_1_3 &&
activation.funObj.version != Context.VERSION_DEFAULT);
}
public String getClassName() {
return "Arguments";
}
public boolean has(String name, Scriptable start) {
return (hasCaller && name.equals("caller")) || super.has(name, start);
}
public boolean has(int index, Scriptable start) {
Object[] args = activation.getOriginalArguments();
return (0 <= index && index < args.length) || super.has(index, start);
}
public Object get(String name, Scriptable start) {
if (hasCaller && name.equals("caller")) {
NativeCall caller = activation.caller;
if (caller == null || caller.originalArgs == null)
return null;
return caller.get("arguments", caller);
}
return super.get(name, start);
}
public Object get(int index, Scriptable start) {
if (0 <= index && index < args.length) {
NativeFunction f = activation.funObj;
if (index < f.argCount)
return activation.get(f.names[index+1], activation);
return args[index];
}
return super.get(index, start);
}
public void put(String name, Scriptable start, Object value) {
if (name.equals("caller")) {
// Set "hasCaller" to false so that we won't look up a
// computed value.
hasCaller = false;
}
super.put(name, start, value);
}
public void put(int index, Scriptable start, Object value) {
if (0 <= index && index < args.length) {
NativeFunction f = activation.funObj;
if (index < f.argCount)
activation.put(f.names[index+1], activation, value);
else
args[index] = value;
return;
}
super.put(index, start, value);
}
public void delete(String name) {
if (name.equals("caller"))
hasCaller = false;
super.delete(name);
}
private NativeCall activation;
private Object[] args;
private boolean hasCaller;
}

View File

@@ -1,75 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Waldemar Horwat
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
final class BinaryDigitReader {
int lgBase; // Logarithm of base of number
int digit; // Current digit value in radix given by base
int digitPos; // Bit position of last bit extracted from digit
String digits; // String containing the digits
int start; // Index of the first remaining digit
int end; // Index past the last remaining digit
BinaryDigitReader(int base, String digits, int start, int end) {
lgBase = 0;
while (base != 1) {
lgBase++;
base >>= 1;
}
digitPos = 0;
this.digits = digits;
this.start = start;
this.end = end;
}
/* Return the next binary digit from the number or -1 if done */
int getNextBinaryDigit()
{
if (digitPos == 0) {
if (start == end)
return -1;
char c = digits.charAt(start++);
if ('0' <= c && c <= '9')
digit = c - '0';
else if ('a' <= c && c <= 'z')
digit = c - 'a' + 10;
else digit = c - 'A' + 10;
digitPos = lgBase;
}
return digit >> --digitPos & 1;
}
}

View File

@@ -1,48 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
/**
* Thrown if errors are detected while attempting to define a host object
* from a Java class.
*/
public class ClassDefinitionException extends Exception {
public ClassDefinitionException(String detail) {
super(detail);
}
}

View File

@@ -1,61 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Roger Lawrence
* Andi Vajda
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
public interface ClassNameHelper {
public String getTargetClassFileName();
public void setTargetClassFileName(String classFileName);
public String getTargetPackage();
public void setTargetPackage(String targetPackage);
public String getTargetClassFileName(String className);
public String getGeneratingDirectory();
public void setTargetExtends(Class extendsClass);
public void setTargetImplements(Class[] implementsClasses);
public ClassOutput getClassOutput();
public void setClassOutput(ClassOutput classOutput);
}

View File

@@ -1,56 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Andi Vajda
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
// API class
import java.io.*;
/**
* This interface is implemented by classes interested in the bytecode
* generated by the rhino compiler for script objects.
*
* @see Context
* @author Andi Vajda
*/
public interface ClassOutput {
/**
* @param className the name of the class for which bytecode is ready.
* @return a stream into which to write bytecode.
* @since 1.5 Release 2
*/
public OutputStream getOutputStream(String className)
throws IOException;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,63 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
/**
* This is the default error reporter for JavaScript.
*
* @author Norris Boyd
*/
class DefaultErrorReporter implements ErrorReporter {
public void warning(String message, String sourceName, int line,
String lineSource, int lineOffset)
{
// do nothing
}
public void error(String message, String sourceName, int line,
String lineSource, int lineOffset)
{
throw new EvaluatorException(message);
}
public EvaluatorException runtimeError(String message, String sourceName,
int line, String lineSource,
int lineOffset)
{
return new EvaluatorException(message);
}
}

View File

@@ -1,152 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
/**
* The class of exceptions raised by the engine as described in
* ECMA edition 3. See section 15.11.6 in particular.
*/
public class EcmaError extends RuntimeException {
/**
* Create an exception with the specified detail message.
*
* Errors internal to the JavaScript engine will simply throw a
* RuntimeException.
*
* @param nativeError the NativeError object constructed for this error
* @param sourceName the name of the source reponsible for the error
* @param lineNumber the line number of the source
* @param columnNumber the columnNumber of the source (may be zero if
* unknown)
* @param lineSource the source of the line containing the error (may be
* null if unknown)
*/
public EcmaError(NativeError nativeError, String sourceName,
int lineNumber, int columnNumber, String lineSource)
{
super("EcmaError");
errorObject = nativeError;
this.sourceName = sourceName;
this.lineNumber = lineNumber;
this.columnNumber = columnNumber;
this.lineSource = lineSource;
}
/**
* Return a string representation of the error, which currently consists
* of the name of the error together with the message.
*/
public String toString() {
if (sourceName != null && lineNumber > 0)
return errorObject.toString() + " (" + sourceName +
"; line " + lineNumber + ")";
else
return errorObject.toString();
}
/**
* Gets the name of the error.
*
* ECMA edition 3 defines the following
* errors: EvalError, RangeError, ReferenceError,
* SyntaxError, TypeError, and URIError. Additional error names
* may be added in the future.
*
* See ECMA edition 3, 15.11.7.9.
*
* @return the name of the error.
*/
public String getName() {
return errorObject.getName();
}
/**
* Gets the message corresponding to the error.
*
* See ECMA edition 3, 15.11.7.10.
*
* @return an implemenation-defined string describing the error.
*/
public String getMessage() {
return errorObject.getMessage();
}
/**
* Get the name of the source containing the error, or null
* if that information is not available.
*/
public String getSourceName() {
return sourceName;
}
/**
* Returns the line number of the statement causing the error,
* or zero if not available.
*/
public int getLineNumber() {
return lineNumber;
}
/**
* Get the error object corresponding to this exception.
*/
public Scriptable getErrorObject() {
return errorObject;
}
/**
* The column number of the location of the error, or zero if unknown.
*/
public int getColumnNumber() {
return columnNumber;
}
/**
* The source of the line causing the error, or zero if unknown.
*/
public String getLineSource() {
return lineSource;
}
private NativeError errorObject;
private String sourceName;
private int lineNumber;
private int columnNumber;
private String lineSource;
}

View File

@@ -1,103 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
/**
* This is interface defines a protocol for the reporting of
* errors during JavaScript translation or execution.
*
* @author Norris Boyd
*/
public interface ErrorReporter {
/**
* Report a warning.
*
* The implementing class may choose to ignore the warning
* if it desires.
*
* @param message a String describing the warning
* @param sourceName a String describing the JavaScript source
* where the warning occured; typically a filename or URL
* @param line the line number associated with the warning
* @param lineSource the text of the line (may be null)
* @param lineOffset the offset into lineSource where problem was detected
*/
void warning(String message, String sourceName, int line,
String lineSource, int lineOffset);
/**
* Report an error.
*
* The implementing class is free to throw an exception if
* it desires.
*
* If execution has not yet begun, the JavaScript engine is
* free to find additional errors rather than terminating
* the translation. It will not execute a script that had
* errors, however.
*
* @param message a String describing the error
* @param sourceName a String describing the JavaScript source
* where the error occured; typically a filename or URL
* @param line the line number associated with the error
* @param lineSource the text of the line (may be null)
* @param lineOffset the offset into lineSource where problem was detected
*/
void error(String message, String sourceName, int line,
String lineSource, int lineOffset);
/**
* Creates an EvaluatorException that may be thrown.
*
* runtimeErrors, unlike errors, will always terminate the
* current script.
*
* @param message a String describing the error
* @param sourceName a String describing the JavaScript source
* where the error occured; typically a filename or URL
* @param line the line number associated with the error
* @param lineSource the text of the line (may be null)
* @param lineOffset the offset into lineSource where problem was detected
* @return an EvaluatorException that will be thrown.
*/
EvaluatorException runtimeError(String message, String sourceName,
int line, String lineSource,
int lineOffset);
}

View File

@@ -1,56 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
/**
* The class of exceptions thrown by the JavaScript engine.
*/
public class EvaluatorException extends RuntimeException {
/**
* Create an exception with the specified detail message.
*
* Errors internal to the JavaScript engine will simply throw a
* RuntimeException.
*
* @param detail a message with detail about the exception
*/
public EvaluatorException(String detail) {
super(detail);
}
}

View File

@@ -1,342 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.util.Hashtable;
import java.util.Enumeration;
/**
* Manipulate a Scriptable object as if its prototype chain were flattened.
* <p>
* This class has been deprecated in favor of the static methods
* <code>getProperty</code>, <code>putProperty</code>, and
* <code>deleteProperty</code>. Those methods provide the
* same functionality without the confusing and inefficient need to construct
* a new object instance.
*
* @see org.mozilla.javascript.ScriptableObject
*
* @author Norris Boyd
*/
public class FlattenedObject {
/**
* Construct a new FlattenedObject.
*
* @param object the object to be viewed with flattened properties
* @deprecated
*/
public FlattenedObject(Scriptable object) {
this.obj = object;
}
/**
* Get the associated Scriptable object.
* @deprecated
*/
public Scriptable getObject() {
return obj;
}
/**
* Determine if a property exists in an object.
*
* This is a more convenient (and less efficient) form than
* <code>Scriptable.has()</code>.
* It returns true if and only if the property
* exists in this object or any of the objects in its prototype
* chain.
*
* @param id the property index, which may be either a String or a
* Number
* @return true if and only if the property exists in the prototype
* chain
* @see org.mozilla.javascript.Scriptable#has
* @deprecated As of 1.5R2, replaced by ScriptableObject.getProperty
*/
public boolean hasProperty(Object id) {
String stringId = ScriptRuntime.toString(id);
String s = ScriptRuntime.getStringId(stringId);
if (s == null)
return getBase(obj, ScriptRuntime.getIntId(stringId)) != null;
return getBase(obj, s) != null;
}
/**
* Get a property of an object.
* <p>
* This is a more convenient (and less efficient) form than
* <code>Scriptable.get()</code>. It corresponds exactly to the
* expression <code>obj[id]</code> in JavaScript. This method
* will traverse the prototype chain of an object to find the
* property.<p>
*
* If the property does not exist in the object or its prototype
* chain, the undefined value will be returned.
*
* @param id the property index; can be a String or a Number; the
* String may contain characters representing a number
* @return the value of the property or the undefined value
* @see org.mozilla.javascript.Scriptable#get
* @see org.mozilla.javascript.Context#getUndefinedValue
* @deprecated As of 1.5R2, replaced by ScriptableObject.getProperty
*/
public Object getProperty(Object id) {
String s = ScriptRuntime.getStringId(id);
int index = s == null ? ScriptRuntime.getIntId(id) : 0;
Scriptable m = obj;
Object result;
for(;;) {
result = s == null ? m.get(index, obj) : m.get(s, obj);
if (result != Scriptable.NOT_FOUND)
break;
m = m.getPrototype();
if (m == null)
return Undefined.instance;
}
if (result instanceof Scriptable)
return new FlattenedObject((Scriptable) result);
return result;
}
/**
* Set a property of an object.
*
* This is a more convenient (and less efficient) form than that
* provided in Scriptable. It corresponds exactly to the
* expression <code>obj[id] = val</code> in JavaScript.<p>
*
* @param id the property index, which may be either a String or
* a Number
* @param value the value of the property
* @see org.mozilla.javascript.Scriptable#put
* @deprecated As of 1.5R2, replaced by ScriptableObject.putProperty
*/
public void putProperty(Object id, Object value) {
String s = ScriptRuntime.getStringId(id);
if (value instanceof FlattenedObject)
value = ((FlattenedObject) value).getObject();
Scriptable x;
if (s == null) {
int index = ScriptRuntime.getIntId(id);
x = getBase(obj, index);
if (x == null)
x = obj;
x.put(index, obj, value);
return;
}
x = getBase(obj, s);
if (x == null)
x = obj;
x.put(s, obj, value);
}
/**
* Remove a property.
*
* This method provides the functionality of the <code>delete</code>
* operator in JavaScript.
*
* @param id the property index, which may be either a String or
* a Number
* @return true if the property didn't exist, or existed and was removed
* @see org.mozilla.javascript.Scriptable#delete
* @deprecated as of 1.5R2, replaced by ScriptableObject.deleteProperty
*/
public boolean deleteProperty(Object id) {
String s = ScriptRuntime.getStringId(id);
if (s == null) {
int index = ScriptRuntime.getIntId(id);
Scriptable base = getBase(obj, index);
if (base == null)
return true;
base.delete(index);
return !base.has(index, base);
}
Scriptable base = getBase(obj, s);
if (base == null)
return true;
base.delete(s);
return !base.has(s, base);
}
/**
* Return an array that contains the ids of the properties.
*
* <p>This method will walk the prototype chain and collect the
* ids of all objects in the prototype chain.<p>
*
* If an id appears in more than one object in the prototype chain,
* it will only be in the array once. (So all the entries in the
* array will be unique respective to equals().)
*
* @see org.mozilla.javascript.Scriptable#getIds
* @deprecated
*/
public Object[] getIds() {
Hashtable h = new Hashtable(11);
Scriptable m = obj;
while (m != null) {
Object[] e = m.getIds();
for (int i=0; i < e.length; i++) {
h.put(e[i], Boolean.TRUE);
}
m = m.getPrototype();
}
Enumeration keys = h.keys();
Object elem;
Object[] result = new Object[h.size()];
int index = 0;
while (keys.hasMoreElements()) {
elem = keys.nextElement();
result[index++] = elem;
}
return result;
}
/**
* Consider this object to be a function, and call it.
*
* @param cx the current Context for this thread
* @param thisObj the JavaScript 'this' for the call
* @param args the arguments for the call
* @return the result of the JavaScript function call
* @exception NotAFunctionException if this object is not a function
* @exception JavaScriptException if an uncaught JavaScript exception
* occurred while executing the function
* @see org.mozilla.javascript.Function#call
* @deprecated
*/
public Object call(Context cx, Scriptable thisObj, Object[] args)
throws NotAFunctionException,
JavaScriptException
{
if (!(obj instanceof Function)) {
throw new NotAFunctionException();
}
return ScriptRuntime.call(cx, obj, thisObj, args, (Function) obj);
}
/**
* Consider this object to be a function, and invoke it as a
* constructor call.
*
* @param cx the current Context for this thread
* @param args the arguments for the constructor call
* @return the allocated object
* @exception NotAFunctionException if this object is not a function
* @exception JavaScriptException if an uncaught JavaScript exception
* occurred while executing the constructor
* @see org.mozilla.javascript.Function#construct
* @deprecated
*/
public Scriptable construct(Context cx, Object[] args)
throws NotAFunctionException,
JavaScriptException
{
if (!(obj instanceof Function)) {
throw new NotAFunctionException();
}
return ScriptRuntime.newObject(cx, obj, args, null);
}
/**
* Get the property indicated by the id, and invoke it with the
* specified arguments.
* <p>
* For example, for a FlattenedObject <code>obj</code>,
* and a Java array <code>a</code> consisting of a single string
* <code>"hi"</code>, the call <pre>
* obj.callMethod("m", a)</pre>
* is equivalent to the JavaScript code <code>obj.m("hi")</code>.<p>
*
* If the property is not found or is not a function, an
* exception will be thrown.
*
* @param id the Number or String to use to find the function property
* to call
* @param args the arguments for the constructor call
* @return the result of the call
* @exception PropertyException if the designated property
* was not found
* @exception NotAFunctionException if this object is not a function
* @exception JavaScriptException if an uncaught JavaScript exception
* occurred while executing the method
* @see org.mozilla.javascript.Function#call
* @deprecated
*/
public Object callMethod(Object id, Object[] args)
throws PropertyException,
NotAFunctionException,
JavaScriptException
{
if (!hasProperty(id)) {
throw new PropertyException(
Context.getMessage("msg.prop.not.found", null));
}
Object o = getProperty(id);
if (o instanceof FlattenedObject)
return ((FlattenedObject) o).call(Context.getContext(), obj, args);
throw new NotAFunctionException();
}
/****** End of API *******/
private static Scriptable getBase(Scriptable obj, String s) {
Scriptable m = obj;
while (m != null) {
if (m.has(s, obj))
return m;
m = m.getPrototype();
}
return null;
}
private static Scriptable getBase(Scriptable obj, int index) {
Scriptable m = obj;
while (m != null) {
if (m.has(index, obj))
return m;
m = m.getPrototype();
}
return null;
}
private Scriptable obj;
}

View File

@@ -1,86 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
/**
* This is interface that all functions in JavaScript must implement.
* The interface provides for calling functions and constructors.
*
* @see org.mozilla.javascript.Scriptable
* @author Norris Boyd
*/
public interface Function extends Scriptable {
/**
* Call the function.
*
* Note that the array of arguments is not guaranteed to have
* length greater than 0.
*
* @param cx the current Context for this thread
* @param scope the scope to execute the function relative to. This is
* set to the value returned by getParentScope() except
* when the function is called from a closure.
* @param thisObj the JavaScript <code>this</code> object
* @param args the array of arguments
* @return the result of the call
* @exception JavaScriptException if an uncaught exception
* occurred while executing the function
*/
public Object call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
throws JavaScriptException;
/**
* Call the function as a constructor.
*
* This method is invoked by the runtime in order to satisfy a use
* of the JavaScript <code>new</code> operator. This method is
* expected to create a new object and return it.
*
* @param cx the current Context for this thread
* @param scope an enclosing scope of the caller except
* when the function is called from a closure.
* @param args the array of arguments
* @return the allocated object
* @exception JavaScriptException if an uncaught exception
* occurred while executing the constructor
*/
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
throws JavaScriptException;
}

View File

@@ -1,94 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.util.*;
public class FunctionNode extends Node {
public FunctionNode(String name, Node left, Node right) {
super(TokenStream.FUNCTION, left, right, name);
itsVariableTable = new VariableTable();
}
public String getFunctionName() {
return getString();
}
public VariableTable getVariableTable() {
return itsVariableTable;
}
public boolean requiresActivation() {
return itsNeedsActivation;
}
public boolean setRequiresActivation(boolean b) {
return itsNeedsActivation = b;
}
/**
* There are three types of functions that can be defined. The first
* is a function statement. This is a function appearing as a top-level
* statement (i.e., not nested inside some other statement) in either a
* script or a function.
*
* The second is a function expression, which is a function appearing in
* an expression except for the third type, which is...
*
* The third type is a function expression where the expression is the
* top-level expression in an expression statement.
*
* The three types of functions have different treatment and must be
* distinquished.
*/
public static final byte FUNCTION_STATEMENT = 1;
public static final byte FUNCTION_EXPRESSION = 2;
public static final byte FUNCTION_EXPRESSION_STATEMENT = 3;
public byte getFunctionType() {
return itsFunctionType;
}
public void setFunctionType(byte functionType) {
itsFunctionType = functionType;
}
protected VariableTable itsVariableTable;
protected boolean itsNeedsActivation;
protected byte itsFunctionType;
}

View File

@@ -1,636 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Ted Neward
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
import java.util.Hashtable;
import java.util.Vector;
import java.lang.reflect.*;
public class FunctionObject extends NativeFunction {
/**
* Create a JavaScript function object from a Java method.
*
* <p>The <code>member</code> argument must be either a java.lang.reflect.Method
* or a java.lang.reflect.Constructor and must match one of two forms.<p>
*
* The first form is a member with zero or more parameters
* of the following types: Object, String, boolean, Scriptable,
* byte, short, int, float, or double. The Long type is not supported
* because the double representation of a long (which is the
* EMCA-mandated storage type for Numbers) may lose precision.
* If the member is a Method, the return value must be void or one
* of the types allowed for parameters.<p>
*
* The runtime will perform appropriate conversions based
* upon the type of the parameter. A parameter type of
* Object specifies that no conversions are to be done. A parameter
* of type String will use Context.toString to convert arguments.
* Similarly, parameters of type double, boolean, and Scriptable
* will cause Context.toNumber, Context.toBoolean, and
* Context.toObject, respectively, to be called.<p>
*
* If the method is not static, the Java 'this' value will
* correspond to the JavaScript 'this' value. Any attempt
* to call the function with a 'this' value that is not
* of the right Java type will result in an error.<p>
*
* The second form is the variable arguments (or "varargs")
* form. If the FunctionObject will be used as a constructor,
* the member must have the following parameters
* <pre>
* (Context cx, Object[] args, Function ctorObj,
* boolean inNewExpr)</pre>
* and if it is a Method, be static and return an Object result.<p>
*
* Otherwise, if the FunctionObject will <i>not</i> be used to define a
* constructor, the member must be a static Method with parameters
* (Context cx, Scriptable thisObj, Object[] args,
* Function funObj) </pre>
* <pre>
* and an Object result.<p>
*
* When the function varargs form is called as part of a function call,
* the <code>args</code> parameter contains the
* arguments, with <code>thisObj</code>
* set to the JavaScript 'this' value. <code>funObj</code>
* is the function object for the invoked function.<p>
*
* When the constructor varargs form is called or invoked while evaluating
* a <code>new</code> expression, <code>args</code> contains the
* arguments, <code>ctorObj</code> refers to this FunctionObject, and
* <code>inNewExpr</code> is true if and only if a <code>new</code>
* expression caused the call. This supports defining a function that
* has different behavior when called as a constructor than when
* invoked as a normal function call. (For example, the Boolean
* constructor, when called as a function,
* will convert to boolean rather than creating a new object.)<p>
*
* @param name the name of the function
* @param methodOrConstructor a java.lang.reflect.Method or a java.lang.reflect.Constructor
* that defines the object
* @param scope enclosing scope of function
* @see org.mozilla.javascript.Scriptable
*/
public FunctionObject(String name, Member methodOrConstructor,
Scriptable scope)
{
String methodName;
if (methodOrConstructor instanceof Constructor) {
ctor = (Constructor) methodOrConstructor;
isStatic = true; // well, doesn't take a 'this'
types = ctor.getParameterTypes();
methodName = ctor.getName();
} else {
method = (Method) methodOrConstructor;
isStatic = Modifier.isStatic(method.getModifiers());
types = method.getParameterTypes();
methodName = method.getName();
}
String myNames[] = { name };
super.names = myNames;
int length;
if (types.length == 4 && (types[1].isArray() || types[2].isArray())) {
// Either variable args or an error.
if (types[1].isArray()) {
if (!isStatic ||
types[0] != Context.class ||
types[1].getComponentType() != ScriptRuntime.ObjectClass ||
types[2] != ScriptRuntime.FunctionClass ||
types[3] != Boolean.TYPE)
{
String[] args = { methodName };
String message = Context.getMessage("msg.varargs.ctor",
args);
throw Context.reportRuntimeError(message);
}
parmsLength = VARARGS_CTOR;
} else {
if (!isStatic ||
types[0] != Context.class ||
types[1] != ScriptRuntime.ScriptableClass ||
types[2].getComponentType() != ScriptRuntime.ObjectClass ||
types[3] != ScriptRuntime.FunctionClass)
{
String[] args = { methodName };
String message = Context.getMessage("msg.varargs.fun",
args);
throw Context.reportRuntimeError(message);
}
parmsLength = VARARGS_METHOD;
}
// XXX check return type
length = 1;
} else {
parmsLength = (short) types.length;
boolean hasConversions = false;
for (int i=0; i < parmsLength; i++) {
Class type = types[i];
if (type == ScriptRuntime.ObjectClass) {
// may not need conversions
} else if (type == ScriptRuntime.StringClass ||
type == ScriptRuntime.BooleanClass ||
ScriptRuntime.NumberClass.isAssignableFrom(type) ||
Scriptable.class.isAssignableFrom(type))
{
hasConversions = true;
} else if (type == Boolean.TYPE) {
hasConversions = true;
types[i] = ScriptRuntime.BooleanClass;
} else if (type == Byte.TYPE) {
hasConversions = true;
types[i] = ScriptRuntime.ByteClass;
} else if (type == Short.TYPE) {
hasConversions = true;
types[i] = ScriptRuntime.ShortClass;
} else if (type == Integer.TYPE) {
hasConversions = true;
types[i] = ScriptRuntime.IntegerClass;
} else if (type == Float.TYPE) {
hasConversions = true;
types[i] = ScriptRuntime.FloatClass;
} else if (type == Double.TYPE) {
hasConversions = true;
types[i] = ScriptRuntime.DoubleClass;
}
// Note that long is not supported; see comments above
else {
Object[] errArgs = { methodName };
throw Context.reportRuntimeError(
Context.getMessage("msg.bad.parms", errArgs));
}
}
if (!hasConversions)
types = null;
length = parmsLength;
}
// Initialize length property
lengthPropertyValue = (short) length;
hasVoidReturn = method != null && method.getReturnType() == Void.TYPE;
this.argCount = (short) length;
setParentScope(scope);
setPrototype(getFunctionPrototype(scope));
Context cx = Context.getCurrentContext();
useDynamicScope = cx != null &&
cx.hasCompileFunctionsWithDynamicScope();
}
/**
* Override ScriptableObject's has, get, and set in order to define
* the "length" property of the function. <p>
*
* We could also have defined the property using ScriptableObject's
* defineProperty method, but that would have consumed a slot in every
* FunctionObject. Most FunctionObjects typically don't have any
* properties anyway, so having the "length" property would cause us
* to allocate an array of slots. <p>
*
* In particular, this method will return true for
* <code>name.equals("length")</code>
* and will delegate to the superclass for all other
* values of <code>name</code>.
*/
public boolean has(String name, Scriptable start) {
return name.equals("length") || super.has(name, start);
}
/**
* Override ScriptableObject's has, get, and set in order to define
* the "length" property of the function. <p>
*
* In particular, this method will return the value defined by
* the method used to construct the object (number of parameters
* of the method, or 1 if the method is a "varargs" form), unless
* setLength has been called with a new value.
*
* @see org.mozilla.javascript.FunctionObject#setLength
*/
public Object get(String name, Scriptable start) {
if (name.equals("length"))
return new Integer(lengthPropertyValue);
return super.get(name, start);
}
/**
* Override ScriptableObject's has, get, and set in order to define
* the "length" property of the function. <p>
*
* In particular, this method will ignore all attempts to set the
* "length" property and forward all other requests to ScriptableObject.
*
* @see org.mozilla.javascript.FunctionObject#setLength
*/
public void put(String name, Scriptable start, Object value) {
if (!name.equals("length"))
super.put(name, start, value);
}
/**
* Set the value of the "length" property.
*
* <p>Changing the value of the "length" property of a FunctionObject only
* affects the value retrieved from get() and does not affect the way
* the method itself is called. <p>
*
* The "length" property will be defined by default as the number
* of parameters of the method used to construct the FunctionObject,
* unless the method is a "varargs" form, in which case the "length"
* property will be defined to 1.
*
* @param length the new length
*/
public void setLength(short length) {
lengthPropertyValue = length;
}
// TODO: Make not public
/**
* Finds methods of a given name in a given class.
*
* <p>Searches <code>clazz</code> for methods with name
* <code>name</code>. Maintains a cache so that multiple
* lookups on the same class are cheap.
*
* @param clazz the class to search
* @param name the name of the methods to find
* @return an array of the found methods, or null if no methods
* by that name were found.
* @see java.lang.Class#getMethods
*/
public static Method[] findMethods(Class clazz, String name) {
return findMethods(getMethodList(clazz), name);
}
static Method[] findMethods(Method[] methods, String name) {
// Usually we're just looking for a single method, so optimize
// for that case.
Vector v = null;
Method first = null;
for (int i=0; i < methods.length; i++) {
if (methods[i] == null)
continue;
if (methods[i].getName().equals(name)) {
if (first == null) {
first = methods[i];
} else {
if (v == null) {
v = new Vector(5);
v.addElement(first);
}
v.addElement(methods[i]);
}
}
}
if (v == null) {
if (first == null)
return null;
Method[] single = { first };
return single;
}
Method[] result = new Method[v.size()];
v.copyInto(result);
return result;
}
static Method[] getMethodList(Class clazz) {
Method[] cached = methodsCache; // get once to avoid synchronization
if (cached != null && cached[0].getDeclaringClass() == clazz)
return cached;
Method[] methods = null;
try {
// getDeclaredMethods may be rejected by the security manager
// but getMethods is more expensive
if (!sawSecurityException)
methods = clazz.getDeclaredMethods();
} catch (SecurityException e) {
// If we get an exception once, give up on getDeclaredMethods
sawSecurityException = true;
}
if (methods == null) {
methods = clazz.getMethods();
}
int count = 0;
for (int i=0; i < methods.length; i++) {
if (sawSecurityException
? methods[i].getDeclaringClass() != clazz
: !Modifier.isPublic(methods[i].getModifiers()))
{
methods[i] = null;
} else {
count++;
}
}
Method[] result = new Method[count];
int j=0;
for (int i=0; i < methods.length; i++) {
if (methods[i] != null)
result[j++] = methods[i];
}
if (result.length > 0 && Context.isCachingEnabled)
methodsCache = result;
return result;
}
/**
* Define this function as a JavaScript constructor.
* <p>
* Sets up the "prototype" and "constructor" properties. Also
* calls setParent and setPrototype with appropriate values.
* Then adds the function object as a property of the given scope, using
* <code>prototype.getClassName()</code>
* as the name of the property.
*
* @param scope the scope in which to define the constructor (typically
* the global object)
* @param prototype the prototype object
* @see org.mozilla.javascript.Scriptable#setParentScope
* @see org.mozilla.javascript.Scriptable#setPrototype
* @see org.mozilla.javascript.Scriptable#getClassName
*/
public void addAsConstructor(Scriptable scope, Scriptable prototype) {
setParentScope(scope);
setPrototype(getFunctionPrototype(scope));
prototype.setParentScope(this);
final int attr = ScriptableObject.DONTENUM |
ScriptableObject.PERMANENT |
ScriptableObject.READONLY;
defineProperty("prototype", prototype, attr);
String name = prototype.getClassName();
if (!name.equals("With")) {
// A "With" object would delegate these calls to the prototype:
// not the right thing to do here!
if (prototype instanceof ScriptableObject) {
((ScriptableObject) prototype).defineProperty("constructor",
this, attr);
} else {
prototype.put("constructor", prototype, this);
}
}
if (scope instanceof ScriptableObject) {
((ScriptableObject) scope).defineProperty(name, this,
ScriptableObject.DONTENUM);
} else {
scope.put(name, scope, this);
}
setParentScope(scope);
}
static public Object convertArg(Scriptable scope,
Object arg, Class desired)
{
if (desired == ScriptRuntime.BooleanClass
|| desired == Boolean.TYPE)
return ScriptRuntime.toBoolean(arg) ? Boolean.TRUE
: Boolean.FALSE;
else if (desired == ScriptRuntime.StringClass)
return ScriptRuntime.toString(arg);
else if (desired == ScriptRuntime.IntegerClass
|| desired == Integer.TYPE)
return new Integer(ScriptRuntime.toInt32(arg));
else if (desired == ScriptRuntime.DoubleClass
|| desired == Double.TYPE)
return new Double(ScriptRuntime.toNumber(arg));
else if (desired == ScriptRuntime.ScriptableClass)
return ScriptRuntime.toObject(scope, arg);
else if (desired == ScriptRuntime.ObjectClass)
return arg;
// Note that the long type is not supported; see the javadoc for
// the constructor for this class
else {
Object[] errArgs = { desired.getName() };
throw Context.reportRuntimeError(
Context.getMessage("msg.cant.convert", errArgs));
}
}
/**
* Performs conversions on argument types if needed and
* invokes the underlying Java method or constructor.
* <p>
* Implements Function.call.
*
* @see org.mozilla.javascript.Function#call
* @exception JavaScriptException if the underlying Java method or
* constructor threw an exception
*/
public Object call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
throws JavaScriptException
{
if (parmsLength < 0)
return callVarargs(cx, thisObj, args, false);
if (!isStatic) {
// OPT: cache "clazz"?
Class clazz = method != null ? method.getDeclaringClass()
: ctor.getDeclaringClass();
while (!clazz.isInstance(thisObj)) {
thisObj = thisObj.getPrototype();
if (thisObj == null || !useDynamicScope) {
// Couldn't find an object to call this on.
Object[] errArgs = { names[0] };
String msg = Context.getMessage("msg.incompat.call", errArgs);
throw NativeGlobal.constructError(cx, "TypeError", msg, scope);
}
}
}
Object[] invokeArgs;
int i;
if (parmsLength == args.length) {
invokeArgs = args;
// avoid copy loop if no conversions needed
i = (types == null) ? parmsLength : 0;
} else {
invokeArgs = new Object[parmsLength];
i = 0;
}
for (; i < parmsLength; i++) {
Object arg = (i < args.length)
? args[i]
: Undefined.instance;
if (types != null) {
arg = convertArg(this, arg, types[i]);
}
invokeArgs[i] = arg;
}
try {
Object result = (method != null)
? method.invoke(thisObj, invokeArgs)
: ctor.newInstance(invokeArgs);
return hasVoidReturn ? Undefined.instance : result;
}
catch (InvocationTargetException e) {
throw JavaScriptException.wrapException(scope, e);
}
catch (IllegalAccessException e) {
throw WrappedException.wrapException(e);
}
catch (InstantiationException e) {
throw WrappedException.wrapException(e);
}
}
/**
* Performs conversions on argument types if needed and
* invokes the underlying Java method or constructor
* to create a new Scriptable object.
* <p>
* Implements Function.construct.
*
* @param cx the current Context for this thread
* @param scope the scope to execute the function relative to. This
* set to the value returned by getParentScope() except
* when the function is called from a closure.
* @param args arguments to the constructor
* @see org.mozilla.javascript.Function#construct
* @exception JavaScriptException if the underlying Java method or constructor
* threw an exception
*/
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
throws JavaScriptException
{
if (method == null || parmsLength == VARARGS_CTOR) {
Scriptable result;
if (method != null) {
// Ugly: allow variable-arg constructors that need access to the
// scope to get it from the Context. Cleanest solution would be
// to modify the varargs form, but that would require users with
// the old form to change their code.
cx.ctorScope = scope;
result = (Scriptable) callVarargs(cx, null, args, true);
cx.ctorScope = null;
} else {
result = (Scriptable) call(cx, scope, null, args);
}
if (result.getPrototype() == null)
result.setPrototype(getClassPrototype());
if (result.getParentScope() == null) {
Scriptable parent = getParentScope();
if (result != parent)
result.setParentScope(parent);
}
return result;
} else if (method != null && !isStatic) {
Scriptable result;
try {
result = (Scriptable) method.getDeclaringClass().newInstance();
} catch (IllegalAccessException e) {
throw WrappedException.wrapException(e);
} catch (InstantiationException e) {
throw WrappedException.wrapException(e);
}
result.setPrototype(getClassPrototype());
result.setParentScope(getParentScope());
Object val = call(cx, scope, result, args);
if (val != null && val != Undefined.instance &&
val instanceof Scriptable)
{
return (Scriptable) val;
}
return result;
}
return super.construct(cx, scope, args);
}
private Object callVarargs(Context cx, Scriptable thisObj, Object[] args,
boolean inNewExpr)
throws JavaScriptException
{
try {
if (parmsLength == VARARGS_METHOD) {
Object[] invokeArgs = { cx, thisObj, args, this };
Object result = method.invoke(null, invokeArgs);
return hasVoidReturn ? Undefined.instance : result;
} else {
Boolean b = inNewExpr ? Boolean.TRUE : Boolean.FALSE;
Object[] invokeArgs = { cx, args, this, b };
return (method == null)
? ctor.newInstance(invokeArgs)
: method.invoke(null, invokeArgs);
}
}
catch (InvocationTargetException e) {
Throwable target = e.getTargetException();
if (target instanceof EvaluatorException)
throw (EvaluatorException) target;
if (target instanceof EcmaError)
throw (EcmaError) target;
Scriptable scope = thisObj == null ? this : thisObj;
throw JavaScriptException.wrapException(scope, target);
}
catch (IllegalAccessException e) {
throw WrappedException.wrapException(e);
}
catch (InstantiationException e) {
throw WrappedException.wrapException(e);
}
}
boolean isVarArgsMethod() {
return parmsLength == VARARGS_METHOD;
}
boolean isVarArgsConstructor() {
return parmsLength == VARARGS_CTOR;
}
private static final short VARARGS_METHOD = -1;
private static final short VARARGS_CTOR = -2;
private static boolean sawSecurityException;
static Method[] methodsCache;
Method method;
Constructor ctor;
private Class[] types;
private short parmsLength;
private short lengthPropertyValue;
private boolean hasVoidReturn;
private boolean isStatic;
private boolean useDynamicScope;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,144 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
import java.util.Vector;
/**
* Class ImporterTopLevel
*
* This class defines a ScriptableObject that can be instantiated
* as a top-level ("global") object to provide functionality similar
* to Java's "import" statement.
* <p>
* This class can be used to create a top-level scope using the following code:
* <pre>
* Scriptable scope = cx.initStandardObjects(new ImporterTopLevel());
* </pre>
* Then JavaScript code will have access to the following methods:
* <ul>
* <li>importClass - will "import" a class by making its unqualified name
* available as a property of the top-level scope
* <li>importPackage - will "import" all the classes of the package by
* searching for unqualified names as classes qualified
* by the given package.
* </ul>
* The following code from the shell illustrates this use:
* <pre>
* js> importClass(java.io.File)
* js> f = new File('help.txt')
* help.txt
* js> importPackage(java.util)
* js> v = new Vector()
* []
*
* @author Norris Boyd
*/
public class ImporterTopLevel extends ScriptableObject {
public ImporterTopLevel() {
String[] names = { "importClass", "importPackage" };
try {
this.defineFunctionProperties(names, ImporterTopLevel.class,
ScriptableObject.DONTENUM);
} catch (PropertyException e) {
throw new Error(); // should never happen
}
}
public String getClassName() {
return "global";
}
public Object get(String name, Scriptable start) {
Object result = super.get(name, start);
if (result == NOT_FOUND && importedPackages != null) {
for (int i=0; i < importedPackages.size(); i++) {
Object o = importedPackages.elementAt(i);
NativeJavaPackage p = (NativeJavaPackage) o;
Object v = p.getPkgProperty(name, start, false);
if (v != null && !(v instanceof NativeJavaPackage)) {
if (result == NOT_FOUND) {
result = v;
} else {
String[] args = { result.toString(), v.toString() };
throw Context.reportRuntimeError(
Context.getMessage("msg.ambig.import",
args));
}
}
}
}
return result;
}
public void importClass(Object cl) {
if (!(cl instanceof NativeJavaClass)) {
String[] args = { Context.toString(cl) };
throw Context.reportRuntimeError(
Context.getMessage("msg.not.class", args));
}
String s = ((NativeJavaClass) cl).getClassObject().getName();
String n = s.substring(s.lastIndexOf('.')+1);
Object val = this.get(n, this);
if (val != NOT_FOUND && val != cl) {
String[] args = { n };
throw Context.reportRuntimeError(
Context.getMessage("msg.prop.defined", args));
}
this.defineProperty(n, cl, DONTENUM);
}
public void importPackage(Object pkg) {
if (importedPackages == null)
importedPackages = new Vector();
if (!(pkg instanceof NativeJavaPackage)) {
String[] args = { Context.toString(pkg) };
throw Context.reportRuntimeError(
Context.getMessage("msg.not.pkg", args));
}
for (int i=0; i < importedPackages.size(); i++) {
if (pkg == importedPackages.elementAt(i))
return; // allready in list
}
importedPackages.addElement(pkg);
}
private Vector importedPackages;
}

View File

@@ -1,113 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.util.*;
import org.mozilla.javascript.debug.DebuggableScript;
class InterpretedFunction extends NativeFunction implements DebuggableScript {
InterpretedFunction(InterpreterData theData, Context cx)
{
itsData = theData;
init(cx);
}
void init(Context cx)
{
// probably too much copying going on from theData to the InterpretedFunction object
// should pass them as parameters - unless we need them in the data block anyway?
names = new String[itsData.itsVariableTable.size() + 1];
names[0] = itsData.itsName;
for (int i = 0; i < itsData.itsVariableTable.size(); i++)
names[i + 1] = itsData.itsVariableTable.getName(i);
argCount = (short)itsData.itsVariableTable.getParameterCount();
source = itsData.itsSource;
nestedFunctions = itsData.itsNestedFunctions;
if (cx != null)
version = (short)cx.getLanguageVersion();
}
InterpretedFunction(InterpretedFunction theOther,
Scriptable theScope, Context cx)
{
itsData = theOther.itsData;
itsClosure = theScope;
init(cx);
}
public Object call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
throws JavaScriptException
{
itsData.itsCX = cx;
if (itsClosure != null)
scope = itsClosure;
else if (!itsData.itsUseDynamicScope)
scope = getParentScope();
if (itsData.itsNeedsActivation)
scope = ScriptRuntime.initVarObj(cx, scope, this, thisObj, args);
itsData.itsScope = scope;
itsData.itsThisObj = thisObj;
itsData.itsInArgs = args;
return Interpreter.interpret(itsData, this);
}
public Scriptable getScriptable() {
return this;
}
public String getSourceName() {
return itsData.itsSourceFile;
}
public Enumeration getLineNumbers() {
return itsData.itsLineNumberTable.keys();
}
public boolean placeBreakpoint(int line) { // XXX throw exn?
return itsData.placeBreakpoint(line);
}
public boolean removeBreakpoint(int line) {
return itsData.removeBreakpoint(line);
}
InterpreterData itsData;
Scriptable itsClosure;
}

View File

@@ -1,96 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import org.mozilla.javascript.debug.*;
import java.util.*;
public class InterpretedScript extends NativeScript implements DebuggableScript {
InterpretedScript(InterpreterData theData, Context cx)
{
itsData = theData;
names = new String[itsData.itsVariableTable.size() + 1];
names[0] = "";
for (int i = 0; i < itsData.itsVariableTable.size(); i++)
names[i + 1] = itsData.itsVariableTable.getName(i);
nestedFunctions = itsData.itsNestedFunctions;
version = (short)cx.getLanguageVersion();
}
public Object exec(Context cx, Scriptable scope)
throws JavaScriptException
{
return call(cx, scope, scope, null);
}
public Object call(Context cx, Scriptable scope,
Scriptable thisObj, Object[] args)
throws JavaScriptException
{
scope = ScriptRuntime.initScript(cx, scope, this, thisObj,
itsData.itsFromEvalCode);
itsData.itsCX = cx;
itsData.itsScope = scope;
itsData.itsThisObj = thisObj;
itsData.itsInArgs = args;
return Interpreter.interpret(itsData, this);
}
public Scriptable getScriptable() {
return this;
}
public String getSourceName() {
return itsData.itsSourceFile;
}
public Enumeration getLineNumbers() {
return itsData.itsLineNumberTable.keys();
}
public boolean placeBreakpoint(int line) { // XXX throw exn?
return itsData.placeBreakpoint(line);
}
public boolean removeBreakpoint(int line) {
return itsData.removeBreakpoint(line);
}
InterpreterData itsData;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,138 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.util.Vector;
class InterpreterData {
static final int INITIAL_MAX_ICODE_LENGTH = 1024;
static final int INITIAL_STRINGTABLE_SIZE = 64;
static final int INITIAL_NUMBERTABLE_SIZE = 64;
InterpreterData(int lastICodeTop, int lastStringTableIndex,
int lastNumberTableIndex, Object securityDomain,
boolean useDynamicScope)
{
itsICodeTop = lastICodeTop == 0
? INITIAL_MAX_ICODE_LENGTH
: lastICodeTop * 2;
itsICode = new byte[itsICodeTop];
itsStringTable = new String[lastStringTableIndex == 0
? INITIAL_STRINGTABLE_SIZE
: lastStringTableIndex * 2];
itsNumberTable = new Number[lastNumberTableIndex == 0
? INITIAL_NUMBERTABLE_SIZE
: lastNumberTableIndex * 2];
itsUseDynamicScope = useDynamicScope;
if (securityDomain == null && Context.isSecurityDomainRequired())
throw new SecurityException("Required security context missing");
this.securityDomain = securityDomain;
}
public boolean placeBreakpoint(int line) { // XXX throw exn?
int offset = getOffset(line);
if (offset != -1 && (itsICode[offset] == TokenStream.LINE ||
itsICode[offset] == TokenStream.BREAKPOINT))
{
itsICode[offset] = (byte) TokenStream.BREAKPOINT;
return true;
}
return false;
}
public boolean removeBreakpoint(int line) {
int offset = getOffset(line);
if (offset != -1 && itsICode[offset] == TokenStream.BREAKPOINT)
{
itsICode[offset] = (byte) TokenStream.LINE;
return true;
}
return false;
}
private int getOffset(int line) {
Object offset = itsLineNumberTable.get(new Integer(line));
if (offset != null && offset instanceof Integer) {
int i = ((Integer)offset).intValue();
if (i >= 0 && i < itsICode.length)
{
return i;
}
}
return -1;
}
VariableTable itsVariableTable;
String itsName;
String itsSource;
String itsSourceFile;
boolean itsNeedsActivation;
boolean itsFromEvalCode;
boolean itsUseDynamicScope;
byte itsFunctionType;
String[] itsStringTable;
int itsStringTableIndex;
Number[] itsNumberTable;
int itsNumberTableIndex;
InterpretedFunction[] itsNestedFunctions;
Object[] itsRegExpLiterals;
byte[] itsICode;
int itsICodeTop;
int itsMaxLocals;
int itsMaxArgs;
int itsMaxStack;
int itsMaxTryDepth;
java.util.Hashtable itsLineNumberTable;
Object securityDomain;
Context itsCX;
Scriptable itsScope;
Scriptable itsThisObj;
Object[] itsInArgs;
}

View File

@@ -1,77 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.util.Vector;
import org.mozilla.javascript.debug.*;
class InterpreterFrame implements Frame {
InterpreterFrame(Scriptable scope, InterpreterData data, Scriptable obj) {
this.scope = scope;
this.data = data;
this.lineNumber = -1;
this.obj = obj;
}
public Scriptable getVariableObject() {
return scope;
}
public String getSourceName() {
return data.itsSourceFile;
}
public void setLineNumber(int lineNumber) {
this.lineNumber = lineNumber;
}
public int getLineNumber() {
return lineNumber;
}
public DebuggableScript getScript() {
if (obj instanceof DebuggableScript)
return (DebuggableScript) obj;
return null;
}
private Scriptable scope;
private InterpreterData data;
private Scriptable obj;
private int lineNumber;
}

View File

@@ -1,849 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Patrick Beard
* Norris Boyd
* Mike McCabe
* Matthias Radestock
* Andi Vajda
* Andrew Wason
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import org.mozilla.classfile.*;
import java.lang.reflect.*;
import java.io.*;
import java.util.*;
public class JavaAdapter extends ScriptableObject {
public boolean equals(Object obj) {
return super.equals(obj);
}
public String getClassName() {
return "JavaAdapter";
}
public static Object convertResult(Object result, String classname)
throws ClassNotFoundException
{
Class c = ScriptRuntime.loadClassName(classname);
if (result == Undefined.instance &&
(c != ScriptRuntime.ObjectClass &&
c != ScriptRuntime.StringClass))
{
// Avoid an error for an undefined value; return null instead.
return null;
}
return NativeJavaObject.coerceType(c, result);
}
public static Object js_JavaAdapter(Context cx, Object[] args,
Function ctorObj, boolean inNewExpr)
throws InstantiationException, NoSuchMethodException,
IllegalAccessException, InvocationTargetException,
ClassNotFoundException
{
Class superClass = Object.class;
Class[] intfs = new Class[args.length-1];
int interfaceCount = 0;
for (int i=0; i < args.length-1; i++) {
if (!(args[i] instanceof NativeJavaClass)) {
// TODO: report error
throw new RuntimeException("expected java class object");
}
Class c = ((NativeJavaClass) args[i]).getClassObject();
if (!c.isInterface()) {
superClass = c;
break;
}
intfs[interfaceCount++] = c;
}
Class[] interfaces = new Class[interfaceCount];
System.arraycopy(intfs, 0, interfaces, 0, interfaceCount);
Scriptable obj = (Scriptable) args[args.length - 1];
ClassSignature sig = new ClassSignature(superClass, interfaces, obj);
Class adapterClass = (Class) generatedClasses.get(sig);
if (adapterClass == null) {
String adapterName = "adapter" + serial++;
adapterClass = createAdapterClass(cx, obj, adapterName,
superClass, interfaces,
null, null);
generatedClasses.put(sig, adapterClass);
}
Class[] ctorParms = { Scriptable.class };
Object[] ctorArgs = { obj };
Object v = adapterClass.getConstructor(ctorParms).newInstance(ctorArgs);
return cx.toObject(v, ScriptableObject.getTopLevelScope(ctorObj));
}
public static Class createAdapterClass(Context cx, Scriptable jsObj,
String adapterName, Class superClass,
Class[] interfaces,
String scriptClassName,
ClassNameHelper nameHelper)
throws ClassNotFoundException
{
ClassFileWriter cfw = new ClassFileWriter(adapterName,
superClass.getName(),
"<adapter>");
cfw.addField("self", "Lorg/mozilla/javascript/Scriptable;",
(short) (ClassFileWriter.ACC_PUBLIC |
ClassFileWriter.ACC_FINAL));
int interfacesCount = interfaces == null ? 0 : interfaces.length;
for (int i=0; i < interfacesCount; i++) {
if (interfaces[i] != null)
cfw.addInterface(interfaces[i].getName());
}
String superName = superClass.getName().replace('.', '/');
generateCtor(cfw, adapterName, superName);
if (scriptClassName != null)
generateEmptyCtor(cfw, adapterName, superName, scriptClassName);
Hashtable generatedOverrides = new Hashtable();
Hashtable generatedMethods = new Hashtable();
// generate methods to satisfy all specified interfaces.
for (int i = 0; i < interfacesCount; i++) {
Method[] methods = interfaces[i].getMethods();
for (int j = 0; j < methods.length; j++) {
Method method = methods[j];
int mods = method.getModifiers();
if (Modifier.isStatic(mods) || Modifier.isFinal(mods))
continue;
// make sure to generate only one instance of a particular
// method/signature.
String methodName = method.getName();
String methodKey = methodName + getMethodSignature(method);
if (! generatedOverrides.containsKey(methodKey)) {
generateMethod(cfw, adapterName, methodName,
method.getParameterTypes(),
method.getReturnType());
generatedOverrides.put(methodKey, Boolean.TRUE);
generatedMethods.put(methodName, Boolean.TRUE);
}
}
}
// Now, go through the superclasses methods, checking for abstract
// methods or additional methods to override.
// generate any additional overrides that the object might contain.
Method[] methods = superClass.getMethods();
for (int j = 0; j < methods.length; j++) {
Method method = methods[j];
int mods = method.getModifiers();
if (Modifier.isStatic(mods) || Modifier.isFinal(mods))
continue;
// if a method is marked abstract, must implement it or the
// resulting class won't be instantiable. otherwise, if the object
// has a property of the same name, then an override is intended.
boolean isAbstractMethod = Modifier.isAbstract(mods);
if (isAbstractMethod ||
(jsObj != null && jsObj.has(method.getName(), jsObj)))
{
// make sure to generate only one instance of a particular
// method/signature.
String methodName = method.getName();
String methodSignature = getMethodSignature(method);
String methodKey = methodName + methodSignature;
if (! generatedOverrides.containsKey(methodKey)) {
generateMethod(cfw, adapterName, methodName,
method.getParameterTypes(),
method.getReturnType());
generatedOverrides.put(methodKey, Boolean.TRUE);
generatedMethods.put(methodName, Boolean.TRUE);
}
// if a method was overridden, generate a "super$method"
// which lets the delegate call the superclass' version.
if (!isAbstractMethod) {
generateSuper(cfw, adapterName, superName,
methodName, methodSignature,
method.getParameterTypes(),
method.getReturnType());
}
}
}
// Generate Java methods, fields for remaining properties that
// are not overrides.
Object[] ids = jsObj.getIds();
for (int j=0; j < ids.length; j++) {
if (!(ids[j] instanceof String))
continue;
String id = (String) ids[j];
if (generatedMethods.containsKey(id))
continue;
Object f = jsObj.get(id, jsObj);
int length;
if (f instanceof Scriptable) {
Scriptable p = (Scriptable) f;
if (!(p instanceof Function))
continue;
length = (int) Context.toNumber(
ScriptableObject.getProperty(p, "length"));
} else if (f instanceof FunctionNode) {
length = ((FunctionNode) f).getVariableTable().getParameterCount();
} else {
continue;
}
Class[] parms = new Class[length];
for (int k=0; k < length; k++)
parms[k] = Object.class;
generateMethod(cfw, adapterName, id, parms, Object.class);
}
ByteArrayOutputStream out = new ByteArrayOutputStream(512);
try {
cfw.write(out);
}
catch (IOException ioe) {
throw new RuntimeException("unexpected IOException");
}
byte[] bytes = out.toByteArray();
if (nameHelper != null)
{
if (nameHelper.getGeneratingDirectory() != null) {
try {
int lastDot = adapterName.lastIndexOf('.');
if (lastDot != -1)
adapterName = adapterName.substring(lastDot+1);
String filename = nameHelper.getTargetClassFileName(adapterName);
FileOutputStream file = new FileOutputStream(filename);
file.write(bytes);
file.close();
}
catch (IOException iox) {
throw WrappedException.wrapException(iox);
}
return null;
} else {
try {
ClassOutput classOutput = nameHelper.getClassOutput();
if (classOutput != null) {
OutputStream cOut =
classOutput.getOutputStream(adapterName);
cOut.write(bytes);
cOut.close();
}
} catch (IOException iox) {
throw WrappedException.wrapException(iox);
}
}
}
SecuritySupport ss = cx.getSecuritySupport();
if (ss != null) {
Object securityDomain = cx.getSecurityDomainForStackDepth(-1);
return ss.defineClass(adapterName, bytes, securityDomain);
} else {
if (classLoader == null)
classLoader = new MyClassLoader();
classLoader.defineClass(adapterName, bytes);
return classLoader.loadClass(adapterName, true);
}
}
/**
* Utility method, which dynamically binds a Context to the current thread,
* if none already exists.
*/
public static Object callMethod(Scriptable object, String methodId,
Object[] args)
{
if (object.has(methodId, object)) {
try {
Context cx = Context.enter();
Object fun = object.get(methodId, object);
return ScriptRuntime.call(cx, fun, object, args, object);
} catch (JavaScriptException ex) {
// TODO: could occur
} finally {
Context.exit();
}
}
return Context.getUndefinedValue();
}
public static Scriptable toObject(Object value, Scriptable scope,
Class staticType)
{
Context.enter();
try {
return Context.toObject(value, scope, staticType);
} finally {
Context.exit();
}
}
private static void generateCtor(ClassFileWriter cfw, String adapterName,
String superName)
{
cfw.startMethod("<init>",
"(Lorg/mozilla/javascript/Scriptable;)V",
ClassFileWriter.ACC_PUBLIC);
// Invoke base class constructor
cfw.add(ByteCode.ALOAD_0); // this
cfw.add(ByteCode.INVOKESPECIAL, superName, "<init>", "()", "V");
// Save parameter in instance variable "self"
cfw.add(ByteCode.ALOAD_0); // this
cfw.add(ByteCode.ALOAD_1); // first arg
cfw.add(ByteCode.PUTFIELD, adapterName, "self",
"Lorg/mozilla/javascript/Scriptable;");
// Set the prototype of the js object to be a LiveConnect
// wrapper of the generated class's object
cfw.add(ByteCode.ALOAD_1); // first arg
cfw.add(ByteCode.ALOAD_0); // this
cfw.add(ByteCode.INVOKESTATIC,
"org/mozilla/javascript/ScriptRuntime",
"setAdapterProto",
"(Lorg/mozilla/javascript/Scriptable;" +
"Ljava/lang/Object;)",
"V");
cfw.add(ByteCode.RETURN);
cfw.stopMethod((short)20, null); // TODO: magic number "20"
}
private static void generateEmptyCtor(ClassFileWriter cfw, String adapterName,
String superName, String scriptClassName)
{
cfw.startMethod("<init>", "()V", ClassFileWriter.ACC_PUBLIC);
// Invoke base class constructor
cfw.add(ByteCode.ALOAD_0); // this
cfw.add(ByteCode.INVOKESPECIAL, superName, "<init>", "()", "V");
// Load script class
cfw.add(ByteCode.NEW, scriptClassName);
cfw.add(ByteCode.DUP);
cfw.add(ByteCode.INVOKESPECIAL, scriptClassName, "<init>", "()", "V");
// Run script and save resulting scope
cfw.add(ByteCode.INVOKESTATIC,
"org/mozilla/javascript/ScriptRuntime",
"runScript",
"(Lorg/mozilla/javascript/Script;)",
"Lorg/mozilla/javascript/Scriptable;");
cfw.add(ByteCode.ASTORE_1);
// Save the Scriptable in instance variable "self"
cfw.add(ByteCode.ALOAD_0); // this
cfw.add(ByteCode.ALOAD_1); // the Scriptable
cfw.add(ByteCode.PUTFIELD, adapterName, "self",
"Lorg/mozilla/javascript/Scriptable;");
// Set the prototype of the js object to be a LiveConnect
// wrapper of the generated class's object
cfw.add(ByteCode.ALOAD_1); // the Scriptable
cfw.add(ByteCode.ALOAD_0); // this
cfw.add(ByteCode.INVOKESTATIC,
"org/mozilla/javascript/ScriptRuntime",
"setAdapterProto",
"(Lorg/mozilla/javascript/Scriptable;" +
"Ljava/lang/Object;)",
"V");
cfw.add(ByteCode.RETURN);
cfw.stopMethod((short)20, null); // TODO: magic number "20"
}
/**
* Generates code to create a java.lang.Boolean, java.lang.Character or a
* java.lang.Double to wrap the specified primitive parameter. Leaves the
* wrapper object on the top of the stack.
*/
private static int generateWrapParam(ClassFileWriter cfw, int paramOffset,
Class paramType)
{
if (paramType.equals(Boolean.TYPE)) {
// wrap boolean values with java.lang.Boolean.
cfw.add(ByteCode.NEW, "java/lang/Boolean");
cfw.add(ByteCode.DUP);
cfw.add(ByteCode.ILOAD, paramOffset++);
cfw.add(ByteCode.INVOKESPECIAL, "java/lang/Boolean",
"<init>", "(Z)", "V");
} else
if (paramType.equals(Character.TYPE)) {
// Create a string of length 1 using the character parameter.
cfw.add(ByteCode.NEW, "java/lang/String");
cfw.add(ByteCode.DUP);
cfw.add(ByteCode.ICONST_1);
cfw.add(ByteCode.NEWARRAY, ByteCode.T_CHAR);
cfw.add(ByteCode.DUP);
cfw.add(ByteCode.ICONST_0);
cfw.add(ByteCode.ILOAD, paramOffset++);
cfw.add(ByteCode.CASTORE);
cfw.add(ByteCode.INVOKESPECIAL, "java/lang/String",
"<init>", "([C)", "V");
} else {
// convert all numeric values to java.lang.Double.
cfw.add(ByteCode.NEW, "java/lang/Double");
cfw.add(ByteCode.DUP);
String typeName = paramType.getName();
switch (typeName.charAt(0)) {
case 'b':
case 's':
case 'i':
// load an int value, convert to double.
cfw.add(ByteCode.ILOAD, paramOffset++);
cfw.add(ByteCode.I2D);
break;
case 'l':
// load a long, convert to double.
cfw.add(ByteCode.LLOAD, paramOffset);
cfw.add(ByteCode.L2D);
paramOffset += 2;
break;
case 'f':
// load a float, convert to double.
cfw.add(ByteCode.FLOAD, paramOffset++);
cfw.add(ByteCode.F2D);
break;
case 'd':
cfw.add(ByteCode.DLOAD, paramOffset);
paramOffset += 2;
break;
}
cfw.add(ByteCode.INVOKESPECIAL, "java/lang/Double",
"<init>", "(D)", "V");
}
return paramOffset;
}
/**
* Generates code to convert a wrapped value type to a primitive type.
* Handles unwrapping java.lang.Boolean, and java.lang.Number types.
* May need to map between char and java.lang.String as well.
* Generates the appropriate RETURN bytecode.
*/
private static void generateReturnResult(ClassFileWriter cfw,
Class retType)
{
// wrap boolean values with java.lang.Boolean, convert all other
// primitive values to java.lang.Double.
if (retType.equals(Boolean.TYPE)) {
cfw.add(ByteCode.INVOKESTATIC,
"org/mozilla/javascript/Context",
"toBoolean", "(Ljava/lang/Object;)",
"Z");
cfw.add(ByteCode.IRETURN);
} else if (retType.equals(Character.TYPE)) {
// characters are represented as strings in JavaScript.
// return the first character.
// first convert the value to a string if possible.
cfw.add(ByteCode.INVOKESTATIC,
"org/mozilla/javascript/Context",
"toString", "(Ljava/lang/Object;)",
"Ljava/lang/String;");
cfw.add(ByteCode.ICONST_0);
cfw.add(ByteCode.INVOKEVIRTUAL, "java/lang/String", "charAt",
"(I)", "C");
cfw.add(ByteCode.IRETURN);
} else if (retType.isPrimitive()) {
cfw.add(ByteCode.INVOKESTATIC,
"org/mozilla/javascript/Context",
"toNumber", "(Ljava/lang/Object;)",
"D");
String typeName = retType.getName();
switch (typeName.charAt(0)) {
case 'b':
case 's':
case 'i':
cfw.add(ByteCode.D2I);
cfw.add(ByteCode.IRETURN);
break;
case 'l':
cfw.add(ByteCode.D2L);
cfw.add(ByteCode.LRETURN);
break;
case 'f':
cfw.add(ByteCode.D2F);
cfw.add(ByteCode.FRETURN);
break;
case 'd':
cfw.add(ByteCode.DRETURN);
break;
default:
throw new RuntimeException("Unexpected return type " +
retType.toString());
}
} else {
String retTypeStr = retType.getName();
cfw.addLoadConstant(retTypeStr);
cfw.add(ByteCode.INVOKESTATIC,
"org/mozilla/javascript/JavaAdapter",
"convertResult",
"(Ljava/lang/Object;" +
"Ljava/lang/String;)",
"Ljava/lang/Object;");
// Now cast to return type
cfw.add(ByteCode.CHECKCAST, retTypeStr.replace('.', '/'));
cfw.add(ByteCode.ARETURN);
}
}
private static void generateMethod(ClassFileWriter cfw, String genName,
String methodName, Class[] parms,
Class returnType)
{
StringBuffer sb = new StringBuffer();
sb.append('(');
short arrayLocal = 1; // includes this.
for (int i = 0; i < parms.length; i++) {
Class type = parms[i];
appendTypeString(sb, type);
if (type.equals(Long.TYPE) || type.equals(Double.TYPE))
arrayLocal += 2;
else
arrayLocal += 1;
}
sb.append(')');
appendTypeString(sb, returnType);
String methodSignature = sb.toString();
// System.out.println("generating " + m.getName() + methodSignature);
// System.out.flush();
cfw.startMethod(methodName, methodSignature,
ClassFileWriter.ACC_PUBLIC);
cfw.add(ByteCode.BIPUSH, (byte) parms.length); // > 255 parms?
cfw.add(ByteCode.ANEWARRAY, "java/lang/Object");
cfw.add(ByteCode.ASTORE, arrayLocal);
// allocate a local variable to store the scope used to wrap native objects.
short scopeLocal = (short) (arrayLocal + 1);
boolean loadedScope = false;
int paramOffset = 1;
for (int i = 0; i < parms.length; i++) {
cfw.add(ByteCode.ALOAD, arrayLocal);
cfw.add(ByteCode.BIPUSH, i);
if (parms[i].isPrimitive()) {
paramOffset = generateWrapParam(cfw, paramOffset, parms[i]);
} else {
// An arbitary Java object; call Context.toObject to wrap in
// a Scriptable object
cfw.add(ByteCode.ALOAD, paramOffset++);
if (! loadedScope) {
// load this.self into a local the first time it's needed.
// it will provide the scope needed by Context.toObject().
cfw.add(ByteCode.ALOAD_0);
cfw.add(ByteCode.GETFIELD, genName, "self",
"Lorg/mozilla/javascript/Scriptable;");
cfw.add(ByteCode.ASTORE, scopeLocal);
loadedScope = true;
}
cfw.add(ByteCode.ALOAD, scopeLocal);
// Get argument Class
cfw.addLoadConstant(parms[i].getName());
cfw.add(ByteCode.INVOKESTATIC,
"org/mozilla/javascript/ScriptRuntime",
"loadClassName",
"(Ljava/lang/String;)",
"Ljava/lang/Class;");
cfw.add(ByteCode.INVOKESTATIC,
"org/mozilla/javascript/JavaAdapter",
"toObject",
"(Ljava/lang/Object;" +
"Lorg/mozilla/javascript/Scriptable;" +
"Ljava/lang/Class;)",
"Lorg/mozilla/javascript/Scriptable;");
}
cfw.add(ByteCode.AASTORE);
}
cfw.add(ByteCode.ALOAD_0); // this
cfw.add(ByteCode.GETFIELD, genName, "self",
"Lorg/mozilla/javascript/Scriptable;");
cfw.addLoadConstant(methodName);
cfw.add(ByteCode.ALOAD, arrayLocal);
// go through utility method, which creates a Context to run the
// method in.
cfw.add(ByteCode.INVOKESTATIC,
"org/mozilla/javascript/JavaAdapter",
"callMethod",
"(Lorg/mozilla/javascript/Scriptable;" +
"Ljava/lang/String;[Ljava/lang/Object;)",
"Ljava/lang/Object;");
Class retType = returnType;
if (retType.equals(Void.TYPE)) {
cfw.add(ByteCode.POP);
cfw.add(ByteCode.RETURN);
} else {
generateReturnResult(cfw, retType);
}
cfw.stopMethod((short)(scopeLocal + 1), null);
}
/**
* Generates code to push typed parameters onto the operand stack
* prior to a direct Java method call.
*/
private static int generatePushParam(ClassFileWriter cfw, int paramOffset,
Class paramType)
{
String typeName = paramType.getName();
switch (typeName.charAt(0)) {
case 'z':
case 'b':
case 'c':
case 's':
case 'i':
// load an int value, convert to double.
cfw.add(ByteCode.ILOAD, paramOffset++);
break;
case 'l':
// load a long, convert to double.
cfw.add(ByteCode.LLOAD, paramOffset);
paramOffset += 2;
break;
case 'f':
// load a float, convert to double.
cfw.add(ByteCode.FLOAD, paramOffset++);
break;
case 'd':
cfw.add(ByteCode.DLOAD, paramOffset);
paramOffset += 2;
break;
}
return paramOffset;
}
/**
* Generates code to return a Java type, after calling a Java method
* that returns the same type.
* Generates the appropriate RETURN bytecode.
*/
private static void generatePopResult(ClassFileWriter cfw,
Class retType)
{
if (retType.isPrimitive()) {
String typeName = retType.getName();
switch (typeName.charAt(0)) {
case 'b':
case 'c':
case 's':
case 'i':
case 'z':
cfw.add(ByteCode.IRETURN);
break;
case 'l':
cfw.add(ByteCode.LRETURN);
break;
case 'f':
cfw.add(ByteCode.FRETURN);
break;
case 'd':
cfw.add(ByteCode.DRETURN);
break;
}
} else {
cfw.add(ByteCode.ARETURN);
}
}
/**
* Generates a method called "super$methodName()" which can be called
* from JavaScript that is equivalent to calling "super.methodName()"
* from Java. Eventually, this may be supported directly in JavaScript.
*/
private static void generateSuper(ClassFileWriter cfw,
String genName, String superName,
String methodName, String methodSignature,
Class[] parms, Class returnType)
{
cfw.startMethod("super$" + methodName, methodSignature,
ClassFileWriter.ACC_PUBLIC);
// push "this"
cfw.add(ByteCode.ALOAD, 0);
// push the rest of the parameters.
int paramOffset = 1;
for (int i = 0; i < parms.length; i++) {
if (parms[i].isPrimitive()) {
paramOffset = generatePushParam(cfw, paramOffset, parms[i]);
} else {
cfw.add(ByteCode.ALOAD, paramOffset++);
}
}
// split the method signature at the right parentheses.
int rightParen = methodSignature.indexOf(')');
// call the superclass implementation of the method.
cfw.add(ByteCode.INVOKESPECIAL,
superName,
methodName,
methodSignature.substring(0, rightParen + 1),
methodSignature.substring(rightParen + 1));
// now, handle the return type appropriately.
Class retType = returnType;
if (!retType.equals(Void.TYPE)) {
generatePopResult(cfw, retType);
} else {
cfw.add(ByteCode.RETURN);
}
cfw.stopMethod((short)(paramOffset + 1), null);
}
/**
* Returns a fully qualified method name concatenated with its signature.
*/
private static String getMethodSignature(Method method) {
Class[] parms = method.getParameterTypes();
StringBuffer sb = new StringBuffer();
sb.append('(');
for (int i = 0; i < parms.length; i++) {
Class type = parms[i];
appendTypeString(sb, type);
}
sb.append(')');
appendTypeString(sb, method.getReturnType());
return sb.toString();
}
private static StringBuffer appendTypeString(StringBuffer sb, Class type)
{
while (type.isArray()) {
sb.append('[');
type = type.getComponentType();
}
if (type.isPrimitive()) {
if (type.equals(Boolean.TYPE)) {
sb.append('Z');
} else
if (type.equals(Long.TYPE)) {
sb.append('J');
} else {
String typeName = type.getName();
sb.append(Character.toUpperCase(typeName.charAt(0)));
}
} else {
sb.append('L');
sb.append(type.getName().replace('.', '/'));
sb.append(';');
}
return sb;
}
static final class MyClassLoader extends ClassLoader {
public Class defineClass(String name, byte data[]) {
return super.defineClass(name, data, 0, data.length);
}
protected Class loadClass(String name, boolean resolve)
throws ClassNotFoundException
{
Class clazz = findLoadedClass(name);
if (clazz == null) {
ClassLoader loader = getClass().getClassLoader();
try {
if (loader != null)
return loader.loadClass(name);
clazz = findSystemClass(name);
} catch (ClassNotFoundException e) {
return ScriptRuntime.loadClassName(name);
}
}
if (resolve)
resolveClass(clazz);
return clazz;
}
}
/**
* Provides a key with which to distinguish previously generated
* adapter classes stored in a hash table.
*/
static class ClassSignature {
Class mSuperClass;
Class[] mInterfaces;
Object[] mProperties;
ClassSignature(Class superClass, Class[] interfaces, Scriptable jsObj) {
mSuperClass = superClass;
mInterfaces = interfaces;
mProperties = jsObj.getIds();
}
public boolean equals(Object obj) {
if (obj instanceof ClassSignature) {
ClassSignature sig = (ClassSignature) obj;
if (mSuperClass == sig.mSuperClass) {
Class[] interfaces = sig.mInterfaces;
if (mInterfaces != interfaces) {
if (mInterfaces == null || interfaces == null)
return false;
if (mInterfaces.length != interfaces.length)
return false;
for (int i = 0; i < interfaces.length; i++)
if (mInterfaces[i] != interfaces[i])
return false;
}
Object[] properties = sig.mProperties;
if (mProperties.length != properties.length)
return false;
for (int i = 0; i < properties.length; i++)
if (!mProperties[i].equals(properties[i]))
return false;
return true;
}
}
return false;
}
public int hashCode() {
return mSuperClass.hashCode();
}
}
private static int serial;
private static MyClassLoader classLoader;
private static Hashtable generatedClasses = new Hashtable(7);
}

View File

@@ -1,595 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Frank Mitchell
* Mike Shaver
* Kurt Westerfeld
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.lang.reflect.*;
import java.util.Hashtable;
import java.util.Enumeration;
/**
*
* @author Mike Shaver
* @author Norris Boyd
* @see NativeJavaObject
* @see NativeJavaClass
*/
class JavaMembers {
JavaMembers(Scriptable scope, Class cl) {
this.members = new Hashtable(23);
this.staticMembers = new Hashtable(7);
this.cl = cl;
reflect(scope, cl);
}
boolean has(String name, boolean isStatic) {
Hashtable ht = isStatic ? staticMembers : members;
Object obj = ht.get(name);
if (obj != null) {
return true;
} else {
Member member = this.findExplicitFunction(name, isStatic);
return member != null;
}
}
Object get(Scriptable scope, String name, Object javaObject,
boolean isStatic)
{
Hashtable ht = isStatic ? staticMembers : members;
Object member = ht.get(name);
if (!isStatic && member == null) {
// Try to get static member from instance (LC3)
member = staticMembers.get(name);
}
if (member == null) {
member = this.getExplicitFunction(scope, name,
javaObject, isStatic);
if (member == null)
return Scriptable.NOT_FOUND;
}
if (member instanceof Scriptable)
return member; // why is this here?
Object rval;
Class type;
try {
if (member instanceof BeanProperty) {
BeanProperty bp = (BeanProperty) member;
rval = bp.getter.invoke(javaObject, ScriptRuntime.emptyArgs);
type = bp.getter.getReturnType();
} else {
Field field = (Field) member;
rval = field.get(isStatic ? null : javaObject);
type = field.getType();
}
} catch (IllegalAccessException accEx) {
throw new RuntimeException("unexpected IllegalAccessException "+
"accessing Java field");
} catch (InvocationTargetException e) {
throw new WrappedException(e.getTargetException());
}
// Need to wrap the object before we return it.
scope = ScriptableObject.getTopLevelScope(scope);
return NativeJavaObject.wrap(scope, rval, type);
}
Member findExplicitFunction(String name, boolean isStatic) {
Hashtable ht = isStatic ? staticMembers : members;
int sigStart = name.indexOf('(');
Member[] methodsOrCtors = null;
NativeJavaMethod method = null;
boolean isCtor = (isStatic && sigStart == 0);
if (isCtor) {
// Explicit request for an overloaded constructor
methodsOrCtors = ctors;
}
else if (sigStart > 0) {
// Explicit request for an overloaded method
String trueName = name.substring(0,sigStart);
Object obj = ht.get(trueName);
if (!isStatic && obj == null) {
// Try to get static member from instance (LC3)
obj = staticMembers.get(trueName);
}
if (obj != null && obj instanceof NativeJavaMethod) {
method = (NativeJavaMethod)obj;
methodsOrCtors = method.getMethods();
}
}
if (methodsOrCtors != null) {
for (int i = 0; i < methodsOrCtors.length; i++) {
String nameWithSig =
NativeJavaMethod.signature(methodsOrCtors[i]);
if (name.equals(nameWithSig)) {
return methodsOrCtors[i];
}
}
}
return null;
}
Object getExplicitFunction(Scriptable scope, String name,
Object javaObject, boolean isStatic)
{
Hashtable ht = isStatic ? staticMembers : members;
Object member = null;
Member methodOrCtor = this.findExplicitFunction(name, isStatic);
if (methodOrCtor != null) {
Scriptable prototype =
ScriptableObject.getFunctionPrototype(scope);
if (methodOrCtor instanceof Constructor) {
NativeJavaConstructor fun =
new NativeJavaConstructor((Constructor)methodOrCtor);
fun.setPrototype(prototype);
member = fun;
ht.put(name, fun);
} else {
String trueName = methodOrCtor.getName();
member = ht.get(trueName);
if (member instanceof NativeJavaMethod &&
((NativeJavaMethod)member).getMethods().length > 1 ) {
NativeJavaMethod fun =
new NativeJavaMethod((Method)methodOrCtor, name);
fun.setPrototype(prototype);
ht.put(name, fun);
member = fun;
}
}
}
return member;
}
public void put(String name, Object javaObject, Object value,
boolean isStatic)
{
Hashtable ht = isStatic ? staticMembers : members;
Object member = ht.get(name);
if (!isStatic && member == null) {
// Try to get static member from instance (LC3)
member = staticMembers.get(name);
}
if (member == null)
throw reportMemberNotFound(name);
if (member instanceof FieldAndMethods) {
FieldAndMethods fam = (FieldAndMethods) ht.get(name);
member = fam.getField();
}
// Is this a bean property "set"?
if (member instanceof BeanProperty) {
try {
Method method = ((BeanProperty) member).setter;
if (method == null)
throw reportMemberNotFound(name);
Class[] types = method.getParameterTypes();
Object[] params = { NativeJavaObject.coerceType(types[0], value) };
method.invoke(javaObject, params);
} catch (IllegalAccessException accessEx) {
throw new RuntimeException("unexpected IllegalAccessException " +
"accessing Java field");
} catch (InvocationTargetException e) {
throw new WrappedException(e.getTargetException());
}
}
else {
Field field = null;
try {
field = (Field) member;
if (field == null) {
Object[] args = {name};
throw Context.reportRuntimeError(
Context.getMessage("msg.java.internal.private", args));
}
field.set(javaObject, NativeJavaObject.coerceType(field.getType(),
value));
} catch (ClassCastException e) {
Object errArgs[] = { name };
throw Context.reportRuntimeError(Context.getMessage
("msg.java.method.assign",
errArgs));
} catch (IllegalAccessException accessEx) {
throw new RuntimeException("unexpected IllegalAccessException "+
"accessing Java field");
} catch (IllegalArgumentException argEx) {
Object errArgs[] = { value.getClass().getName(), field,
javaObject.getClass().getName() };
throw Context.reportRuntimeError(Context.getMessage(
"msg.java.internal.field.type", errArgs));
}
}
}
Object[] getIds(boolean isStatic) {
Hashtable ht = isStatic ? staticMembers : members;
int len = ht.size();
Object[] result = new Object[len];
Enumeration keys = ht.keys();
for (int i=0; i < len; i++)
result[i] = keys.nextElement();
return result;
}
Class getReflectedClass() {
return cl;
}
void reflectField(Scriptable scope, Field field) {
int mods = field.getModifiers();
if (!Modifier.isPublic(mods))
return;
boolean isStatic = Modifier.isStatic(mods);
Hashtable ht = isStatic ? staticMembers : members;
String name = field.getName();
Object member = ht.get(name);
if (member != null) {
if (member instanceof NativeJavaMethod) {
NativeJavaMethod method = (NativeJavaMethod) member;
FieldAndMethods fam = new FieldAndMethods(method.getMethods(),
field,
null);
fam.setPrototype(ScriptableObject.getFunctionPrototype(scope));
getFieldAndMethodsTable(isStatic).put(name, fam);
ht.put(name, fam);
return;
}
if (member instanceof Field) {
Field oldField = (Field) member;
// If this newly reflected field shadows an inherited field,
// then replace it. Otherwise, since access to the field
// would be ambiguous from Java, no field should be reflected.
// For now, the first field found wins, unless another field
// explicitly shadows it.
if (oldField.getDeclaringClass().isAssignableFrom(field.getDeclaringClass()))
ht.put(name, field);
return;
}
throw new RuntimeException("unknown member type");
}
ht.put(name, field);
}
void reflectMethod(Scriptable scope, Method method) {
int mods = method.getModifiers();
if (!Modifier.isPublic(mods))
return;
boolean isStatic = Modifier.isStatic(mods);
Hashtable ht = isStatic ? staticMembers : members;
String name = method.getName();
NativeJavaMethod fun = (NativeJavaMethod) ht.get(name);
if (fun == null) {
fun = new NativeJavaMethod();
if (scope != null)
fun.setPrototype(ScriptableObject.getFunctionPrototype(scope));
ht.put(name, fun);
fun.add(method);
} else {
fun.add(method);
}
}
void reflect(Scriptable scope, Class cl) {
// We reflect methods first, because we want overloaded field/method
// names to be allocated to the NativeJavaMethod before the field
// gets in the way.
Method[] methods = cl.getMethods();
for (int i = 0; i < methods.length; i++)
reflectMethod(scope, methods[i]);
Field[] fields = cl.getFields();
for (int i = 0; i < fields.length; i++)
reflectField(scope, fields[i]);
makeBeanProperties(scope, false);
makeBeanProperties(scope, true);
ctors = cl.getConstructors();
}
Hashtable getFieldAndMethodsTable(boolean isStatic) {
Hashtable fmht = isStatic ? staticFieldAndMethods
: fieldAndMethods;
if (fmht == null) {
fmht = new Hashtable(11);
if (isStatic)
staticFieldAndMethods = fmht;
else
fieldAndMethods = fmht;
}
return fmht;
}
void makeBeanProperties(Scriptable scope, boolean isStatic) {
Hashtable ht = isStatic ? staticMembers : members;
Hashtable toAdd = new Hashtable();
// Now, For each member, make "bean" properties.
for (Enumeration e = ht.keys(); e.hasMoreElements(); ) {
// Is this a getter?
String name = (String) e.nextElement();
boolean memberIsGetMethod = name.startsWith("get");
boolean memberIsIsMethod = name.startsWith("is");
if (memberIsGetMethod || memberIsIsMethod) {
// Double check name component.
String nameComponent = name.substring(memberIsGetMethod ? 3 : 2);
if (nameComponent.length() == 0)
continue;
// Make the bean property name.
String beanPropertyName = nameComponent;
if (nameComponent.length() > 1 &&
Character.isUpperCase(nameComponent.charAt(0)) &&
!Character.isUpperCase(nameComponent.charAt(1)))
{
beanPropertyName = Character.toLowerCase(nameComponent.charAt(0)) +
nameComponent.substring(1);
}
// If we already have a member by this name, don't do this
// property.
if (ht.containsKey(beanPropertyName))
continue;
// Get the method by this name.
Object method = ht.get(name);
if (!(method instanceof NativeJavaMethod))
continue;
NativeJavaMethod getJavaMethod = (NativeJavaMethod) method;
// Grab and inspect the getter method; does it have an empty parameter list,
// with a return value (eg. a getSomething() or isSomething())?
Class[] params;
Method[] getMethods = getJavaMethod.getMethods();
Class type;
if (getMethods != null &&
getMethods.length == 1 &&
(type = getMethods[0].getReturnType()) != null &&
(params = getMethods[0].getParameterTypes()) != null &&
params.length == 0)
{
// Make sure the method static-ness is preserved for this property.
if (isStatic && !Modifier.isStatic(getMethods[0].getModifiers()))
continue;
// We have a getter. Now, do we have a setter?
Method setMethod = null;
String setter = "set" + nameComponent;
if (ht.containsKey(setter)) {
// Is this value a method?
method = ht.get(setter);
if (method instanceof NativeJavaMethod) {
//
// Note: it may be preferable to allow NativeJavaMethod.findFunction()
// to find the appropriate setter; unfortunately, it requires an
// instance of the target arg to determine that.
//
// Make two passes: one to find a method with direct type assignment,
// and one to find a widening conversion.
NativeJavaMethod setJavaMethod = (NativeJavaMethod) method;
Method[] setMethods = setJavaMethod.getMethods();
for (int pass = 1; pass <= 2 && setMethod == null; ++pass) {
for (int i = 0; i < setMethods.length; ++i) {
if (setMethods[i].getReturnType() == void.class &&
(!isStatic || Modifier.isStatic(setMethods[i].getModifiers())) &&
(params = setMethods[i].getParameterTypes()) != null &&
params.length == 1 ) {
if ((pass == 1 && params[0] == type) ||
(pass == 2 && params[0].isAssignableFrom(type))) {
setMethod = setMethods[i];
break;
}
}
}
}
}
}
// Make the property.
BeanProperty bp = new BeanProperty(getMethods[0], setMethod);
toAdd.put(beanPropertyName, bp);
}
}
}
// Add the new bean properties.
for (Enumeration e = toAdd.keys(); e.hasMoreElements();) {
String key = (String) e.nextElement();
Object value = toAdd.get(key);
ht.put(key, value);
}
}
Hashtable getFieldAndMethodsObjects(Scriptable scope, Object javaObject,
boolean isStatic)
{
Hashtable ht = isStatic ? staticFieldAndMethods : fieldAndMethods;
if (ht == null)
return null;
int len = ht.size();
Hashtable result = new Hashtable(Math.max(len,1));
Enumeration e = ht.elements();
while (len-- > 0) {
FieldAndMethods fam = (FieldAndMethods) e.nextElement();
fam = (FieldAndMethods) fam.clone();
fam.setJavaObject(javaObject);
result.put(fam.getName(), fam);
}
return result;
}
Constructor[] getConstructors() {
return ctors;
}
static JavaMembers lookupClass(Scriptable scope, Class dynamicType,
Class staticType)
{
Class cl = dynamicType;
Hashtable ct = classTable; // use local reference to avoid synchronize
JavaMembers members = (JavaMembers) ct.get(cl);
if (members != null)
return members;
if (staticType != null && staticType != dynamicType &&
!Modifier.isPublic(dynamicType.getModifiers()) &&
Modifier.isPublic(staticType.getModifiers()))
{
cl = staticType;
// We can use the static type, and that is OK, but we'll trace
// back the java class chain here to look for something more suitable.
for (Class parentType = dynamicType;
parentType != null && parentType != ScriptRuntime.ObjectClass;
parentType = parentType.getSuperclass())
{
if (Modifier.isPublic(parentType.getModifiers())) {
cl = parentType;
break;
}
}
}
try {
members = new JavaMembers(scope, cl);
} catch (SecurityException e) {
// Reflection may fail for objects that are in a restricted
// access package (e.g. sun.*). If we get a security
// exception, try again with the static type. Otherwise,
// rethrow the exception.
if (cl != staticType)
members = new JavaMembers(scope, staticType);
else
throw e;
}
if (Context.isCachingEnabled)
ct.put(cl, members);
return members;
}
RuntimeException reportMemberNotFound(String memberName) {
Object errArgs[] = { cl.getName(),
memberName };
return Context.reportRuntimeError(
Context.getMessage("msg.java.member.not.found",
errArgs));
}
static Hashtable classTable = new Hashtable();
private Class cl;
private Hashtable members;
private Hashtable fieldAndMethods;
private Hashtable staticMembers;
private Hashtable staticFieldAndMethods;
private Constructor[] ctors;
}
class BeanProperty {
BeanProperty(Method getter, Method setter) {
this.getter = getter;
this.setter = setter;
}
Method getter;
Method setter;
}
class FieldAndMethods extends NativeJavaMethod {
FieldAndMethods(Method[] methods, Field field, String name) {
super(methods);
this.field = field;
this.name = name;
}
void setJavaObject(Object javaObject) {
this.javaObject = javaObject;
}
String getName() {
if (field == null)
return name;
return field.getName();
}
Field getField() {
return field;
}
public Object getDefaultValue(Class hint) {
if (hint == ScriptRuntime.FunctionClass)
return this;
Object rval;
Class type;
try {
rval = field.get(javaObject);
type = field.getType();
} catch (IllegalAccessException accEx) {
Object[] args = {getName()};
throw Context.reportRuntimeError(Context.getMessage
("msg.java.internal.private", args));
}
rval = NativeJavaObject.wrap(this, rval, type);
if (rval instanceof Scriptable) {
rval = ((Scriptable) rval).getDefaultValue(hint);
}
return rval;
}
public Object clone() {
FieldAndMethods result = new FieldAndMethods(methods, field, name);
result.javaObject = javaObject;
return result;
}
private Field field;
private Object javaObject;
private String name;
}

View File

@@ -1,109 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
import java.lang.reflect.InvocationTargetException;
/**
* Java reflection of JavaScript exceptions. (Possibly wrapping a Java exception.)
*
* @author Mike McCabe
*/
public class JavaScriptException extends Exception {
/**
* Create a JavaScript exception wrapping the given JavaScript value.
*
* Instances of this class are thrown by the JavaScript 'throw' keyword.
*
* @param value the JavaScript value thrown.
*/
public JavaScriptException(Object value) {
super(ScriptRuntime.toString(value));
this.value = value;
}
/**
* Get the exception message.
*
* <p>Will just convert the wrapped exception to a string.
*/
public String getMessage() {
return ScriptRuntime.toString(value);
}
static JavaScriptException wrapException(Scriptable scope,
Throwable exn)
{
if (exn instanceof InvocationTargetException)
exn = ((InvocationTargetException)exn).getTargetException();
if (exn instanceof JavaScriptException)
return (JavaScriptException)exn;
Object wrapper = NativeJavaObject.wrap(scope, exn, Throwable.class);
return new JavaScriptException(wrapper);
}
/**
* Get the exception value originally thrown. This may be a
* JavaScript value (null, undefined, Boolean, Number, String,
* Scriptable or Function) or a Java exception value thrown from a
* host object or from Java called through LiveConnect.
*
* @return the value wrapped by this exception
*/
public Object getValue() {
if (value != null && value instanceof Wrapper)
// this will also catch NativeStrings...
return ((Wrapper)value).unwrap();
else
return value;
}
/**
* The JavaScript exception value. This value is not
* intended for general use; if the JavaScriptException wraps a
* Java exception, getScriptableValue may return a Scriptable
* wrapping the original Java exception object.
*
* We would prefer to go through a getter to encapsulate the value,
* however that causes the bizarre error "nanosecond timeout value
* out of range" on the MS JVM.
* @serial
*/
Object value;
}

View File

@@ -1,104 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
public class Label {
private static final int FIXUPTABLE_SIZE = 8;
private static final boolean DEBUG = true;
public Label()
{
itsPC = -1;
}
public short getPC()
{
return itsPC;
}
public void fixGotos(byte theCodeBuffer[])
{
if (DEBUG) {
if ((itsPC == -1) && (itsFixupTable != null))
throw new RuntimeException("Unlocated label");
}
if (itsFixupTable != null) {
for (int i = 0; i < itsFixupTableTop; i++) {
int fixupSite = itsFixupTable[i];
// -1 to get delta from instruction start
short offset = (short)(itsPC - (fixupSite - 1));
theCodeBuffer[fixupSite++] = (byte)(offset >> 8);
theCodeBuffer[fixupSite] = (byte)offset;
}
}
itsFixupTable = null;
}
public void setPC(short thePC)
{
if (DEBUG) {
if ((itsPC != -1) && (itsPC != thePC))
throw new RuntimeException("Duplicate label");
}
itsPC = thePC;
}
public void addFixup(int fixupSite)
{
if (itsFixupTable == null) {
itsFixupTableTop = 1;
itsFixupTable = new int[FIXUPTABLE_SIZE];
itsFixupTable[0] = fixupSite;
}
else {
if (itsFixupTableTop == itsFixupTable.length) {
int oldLength = itsFixupTable.length;
int newTable[] = new int[oldLength + FIXUPTABLE_SIZE];
System.arraycopy(itsFixupTable, 0, newTable, 0, oldLength);
itsFixupTable = newTable;
}
itsFixupTable[itsFixupTableTop++] = fixupSite;
}
}
private short itsPC;
private int itsFixupTable[];
private int itsFixupTableTop;
}

View File

@@ -1,80 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
public class LabelTable {
private static final boolean DEBUGLABELS = false;
private static final int LabelTableSize = 32;
protected Label itsLabelTable[];
protected int itsLabelTableTop;
public int acquireLabel()
{
if (itsLabelTable == null) {
itsLabelTable = new Label[LabelTableSize];
itsLabelTable[0] = new Label();
itsLabelTableTop = 1;
return 0x80000000;
}
else {
if (itsLabelTableTop == itsLabelTable.length) {
Label oldTable[] = itsLabelTable;
itsLabelTable = new Label[itsLabelTableTop * 2];
System.arraycopy(oldTable, 0, itsLabelTable, 0, itsLabelTableTop);
}
itsLabelTable[itsLabelTableTop] = new Label();
int result = itsLabelTableTop++;
return result | 0x80000000;
}
}
public int markLabel(int theLabel, int pc)
{
if (DEBUGLABELS) {
if ((theLabel & 0x80000000) != 0x80000000)
throw new RuntimeException("Bad label, no biscuit");
}
theLabel &= 0x7FFFFFFF;
if (DEBUGLABELS) {
System.out.println("Marking label " + theLabel + " at " + pc);
}
itsLabelTable[theLabel].setPC((short)pc);
return theLabel | 0x80000000;
}
}

View File

@@ -1,99 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.lang.reflect.*;
/**
* Avoid loading classes unless they are used.
*
* <p> This improves startup time and average memory usage.
*/
class LazilyLoadedCtor {
LazilyLoadedCtor(ScriptableObject scope, String ctorName,
String className, int attributes)
throws PropertyException
{
this.className = className;
this.ctorName = ctorName;
Class cl = getClass();
Method[] getter = FunctionObject.findMethods(cl, "getProperty");
Method[] setter = FunctionObject.findMethods(cl, "setProperty");
scope.defineProperty(this.ctorName, this, getter[0], setter[0],
attributes);
}
public Object getProperty(ScriptableObject obj) {
try {
synchronized (obj) {
if (!isReplaced)
ScriptableObject.defineClass(obj, Class.forName(className));
isReplaced = true;
}
}
catch (ClassNotFoundException e) {
throw WrappedException.wrapException(e);
}
catch (InstantiationException e) {
throw WrappedException.wrapException(e);
}
catch (IllegalAccessException e) {
throw WrappedException.wrapException(e);
}
catch (InvocationTargetException e) {
throw WrappedException.wrapException(e);
}
catch (ClassDefinitionException e) {
throw WrappedException.wrapException(e);
}
catch (PropertyException e) {
throw WrappedException.wrapException(e);
}
return obj.get(ctorName, obj);
}
public Object setProperty(ScriptableObject obj, Object val) {
synchronized (obj) {
isReplaced = true;
return val;
}
}
private String ctorName;
private String className;
private boolean isReplaced;
}

View File

@@ -1,412 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Mike McCabe
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.io.Reader;
import java.io.IOException;
/**
* An input buffer that combines fast character-based access with
* (slower) support for retrieving the text of the current line. It
* also supports building strings directly out of the internal buffer
* to support fast scanning with minimal object creation.
*
* Note that it is customized in several ways to support the
* TokenStream class, and should not be considered general.
*
* Credits to Kipp Hickman and John Bandhauer.
*
* @author Mike McCabe
*/
final class LineBuffer {
/*
* for smooth operation of getLine(), this should be greater than
* the length of any expected line. Currently, 256 is 3% slower
* than 4096 for large compiles, but seems safer given evaluateString.
* Strings for the scanner are are built with StringBuffers
* instead of directly out of the buffer whenever a string crosses
* a buffer boundary, so small buffer sizes will mean that more
* objects are created.
*/
static final int BUFLEN = 256;
LineBuffer(Reader in, int lineno) {
this.in = in;
this.lineno = lineno;
}
int read() throws IOException {
for(;;) {
if (end == offset && !fill())
return -1;
// Do only a bitmask + branch per character, at the cost of
// three branches per low-bits-only (or 2028/9) character.
if ((buffer[offset] & '\udfd0') == 0) {
if (buffer[offset] == '\r') {
// if the next character is a newline, skip past it.
if ((offset + 1) < end) {
if (buffer[offset + 1] == '\n')
offset++;
} else {
// set a flag for fill(), in case the first char of the
// next fill is a newline.
lastWasCR = true;
}
}
else
if ((buffer[offset] != '\n')
&& (buffer[offset] != '\u2028')
&& (buffer[offset] != '\u2029'))
{
if (Character.getType(buffer[offset])
== Character.FORMAT) {
hadCFSinceStringStart = true;
offset++;
continue;
}
return (int) buffer[offset++];
}
offset++;
prevStart = lineStart;
lineStart = offset;
lineno++;
return '\n';
}
if ((buffer[offset] >= 128)
&& (Character.getType(buffer[offset]) == Character.FORMAT)) {
hadCFSinceStringStart = true;
offset++;
}
else
break;
}
return (int) buffer[offset++];
}
void unread() {
if (offset == 0)
// We can get here when we're asked to unread() an
// implicit EOF_CHAR.
// This would also be wrong behavior in the general case,
// because a peek() could map a buffer.length offset to 0
// in the process of a fill(), and leave it there. But
// the scanner never calls peek() or a failed match()
// followed by unread()... this would violate 1-character
// lookahead. So we're OK.
return;
offset--;
if ((buffer[offset] & '\ufff0') == 0
&& (buffer[offset] == '\r' || buffer[offset] == '\n')) {
// back off from the line start we presumably just registered...
lineStart = prevStart;
lineno--;
}
}
int peek() throws IOException {
if (end == offset && !fill())
return -1;
if (buffer[offset] == '\r')
return '\n';
return buffer[offset];
}
boolean match(char c) throws IOException {
if (end == offset && !fill())
return false;
// This'd be a place where we'd need to map '\r' to '\n' and
// do other updates, but TokenStream never looks ahead for
// '\n', so we don't bother.
if (buffer[offset] == c) {
offset++;
return true;
}
return false;
}
// Reconstruct a source line from the buffers. This can be slow...
String getLine() {
StringBuffer result = new StringBuffer();
int start = lineStart;
if (start >= offset) {
// the line begins somewhere in the other buffer; get that first.
if (otherStart < otherEnd)
// if a line ending was seen in the other buffer... otherwise
// just ignore this strange case.
result.append(otherBuffer, otherStart,
otherEnd - otherStart);
start = 0;
}
// get the part of the line in the current buffer.
result.append(buffer, start, offset - start);
// Get the remainder of the line.
int i = offset;
while(true) {
if (i == buffer.length) {
// we're out of buffer, let's just expand it. We do
// this instead of reading into a StringBuffer to
// preserve the stream for later reads.
char[] newBuffer = new char[buffer.length * 2];
System.arraycopy(buffer, 0, newBuffer, 0, buffer.length);
buffer = newBuffer;
int charsRead = 0;
try {
charsRead = in.read(buffer, end, buffer.length - end);
} catch (IOException ioe) {
// ignore it, we're already displaying an error...
}
if (charsRead < 0)
break;
end += charsRead;
}
if (buffer[i] == '\r' || buffer[i] == '\n')
break;
i++;
}
result.append(buffer, offset, i - offset);
return result.toString();
}
// Get the offset of the current character, relative to
// the line that getLine() returns.
int getOffset() {
if (lineStart >= offset)
// The line begins somewhere in the other buffer.
return offset + (otherEnd - otherStart);
else
return offset - lineStart;
}
// Set a mark to indicate that the reader should begin
// accumulating characters for getString(). The string begins
// with the last character read.
void startString() {
if (offset == 0) {
// We can get here if startString is called after a peek()
// or failed match() with offset past the end of the
// buffer.
// We're at the beginning of the buffer, and the previous character
// (which we want to include) is at the end of the last one, so
// we just go to StringBuffer mode.
stringSoFar = new StringBuffer();
stringSoFar.append(otherBuffer, otherEnd - 1, 1);
stringStart = -1; // Set sentinel value.
hadCFSinceStringStart = ((otherBuffer[otherEnd - 1] >= 128)
&& Character.getType(otherBuffer[otherEnd - 1])
== Character.FORMAT);
} else {
// Support restarting strings
stringSoFar = null;
stringStart = offset - 1;
hadCFSinceStringStart = ((buffer[stringStart] >= 128)
&& Character.getType(buffer[stringStart]) == Character.FORMAT);
}
}
// Get a string consisting of the characters seen since the last
// startString.
String getString() {
String result;
/*
* There's one strange case here: If the character offset currently
* points to (which we never want to include in the string) is
* a newline, then if the previous character is a carriage return,
* we probably want to exclude that as well. If the offset is 0,
* then we hope that fill() handled excluding it from stringSoFar.
*/
int loseCR = (offset > 0 &&
buffer[offset] == '\n' && buffer[offset - 1] == '\r') ?
1 : 0;
if (stringStart != -1) {
// String mark is valid, and in this buffer.
result = new String(buffer, stringStart,
offset - stringStart - loseCR);
} else {
if (stringSoFar == null)
stringSoFar = new StringBuffer();
// Exclude cr as well as nl of newline. If offset is 0, then
// hopefully fill() did the right thing.
result = (stringSoFar.append(buffer, 0, offset - loseCR)).toString();
}
stringStart = -1;
stringSoFar = null;
if (hadCFSinceStringStart) {
char c[] = result.toCharArray();
StringBuffer x = null;
for (int i = 0; i < c.length; i++) {
if (Character.getType(c[i]) == Character.FORMAT) {
if (x == null) {
x = new StringBuffer();
x.append(c, 0, i);
}
}
else
if (x != null) x.append(c[i]);
}
if (x != null) result = x.toString();
}
return result;
}
boolean fill() throws IOException {
// not sure I care...
if (end - offset != 0)
throw new IOException("fill of non-empty buffer");
// If there's a string currently being accumulated, save
// off the progress.
/*
* Exclude an end-of-buffer carriage return. NOTE this is not
* fully correct in the general case, because we really only
* want to exclude the carriage return if it's followed by a
* linefeed at the beginning of the next buffer. But we fudge
* because the scanner doesn't do this.
*/
int loseCR = (offset > 0 && lastWasCR) ? 1 : 0;
if (stringStart != -1) {
// The mark is in the current buffer, save off from the mark to the
// end.
stringSoFar = new StringBuffer();
stringSoFar.append(buffer, stringStart, end - stringStart - loseCR);
stringStart = -1;
} else if (stringSoFar != null) {
// the string began prior to the current buffer, so save the
// whole current buffer.
stringSoFar.append(buffer, 0, end - loseCR);
}
// swap buffers
char[] tempBuffer = buffer;
buffer = otherBuffer;
otherBuffer = tempBuffer;
// allocate the buffers lazily, in case we're handed a short string.
if (buffer == null) {
buffer = new char[BUFLEN];
}
// buffers have switched, so move the newline marker.
otherStart = lineStart;
otherEnd = end;
// set lineStart to a sentinel value, unless this is the first
// time around.
prevStart = lineStart = (otherBuffer == null) ? 0 : buffer.length + 1;
offset = 0;
end = in.read(buffer, 0, buffer.length);
if (end < 0) {
end = 0;
// can't null buffers here, because a string might be retrieved
// out of the other buffer, and a 0-length string might be
// retrieved out of this one.
hitEOF = true;
return false;
}
// If the last character of the previous fill was a carriage return,
// then ignore a newline.
// There's another bizzare special case here. If lastWasCR is
// true, and we see a newline, and the buffer length is
// 1... then we probably just read the last character of the
// file, and returning after advancing offset is not the right
// thing to do. Instead, we try to ignore the newline (and
// likely get to EOF for real) by doing yet another fill().
if (lastWasCR) {
if (buffer[0] == '\n') {
offset++;
if (end == 1)
return fill();
}
lineStart = offset;
lastWasCR = false;
}
return true;
}
int getLineno() { return lineno; }
boolean eof() { return hitEOF; }
private Reader in;
private char[] otherBuffer = null;
private char[] buffer = null;
// Yes, there are too too many of these.
private int offset = 0;
private int end = 0;
private int otherEnd;
private int lineno;
private int lineStart = 0;
private int otherStart = 0;
private int prevStart = 0;
private boolean lastWasCR = false;
private boolean hitEOF = false;
private int stringStart = -1;
private StringBuffer stringSoFar = null;
private boolean hadCFSinceStringStart = false;
}

View File

@@ -1,114 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is ListenerCollection, released
* May 15, 1998.
*
* The Initial Developer of the Original Code is Ian D. Stewart.
* Portions created by Ian D. Stewart are Copyright (C) 1998, 1999
* Ian D. Stewart.
* Rights Reserved.
*
* Contributor(s):
* Ian D. Stewart
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
/* This class provides a series of methods for accessing event listeners. */
package org.mozilla.javascript;
import java.util.Enumeration;
import java.util.Vector;
/**
* This class acts as central storage location for miscelanious
* event listeners. It provides methods for adding, removing
* and accessing listeners, both individually and collectively,
* by the listener interface implemented
*
* Note: This class performs the same functions as
* javax.swing.event.EventListenerList, and is provided
* primarily for implementations lacking the Swing packages
*
* @author Ian D. Stewart
* @since JavaScript-Java 1.4 rel 3
*/
public class ListenerCollection extends Vector {
/**
* Create a new ListenerCollection
*/
public ListenerCollection() {
super();
} // Constructor
/**
* Add a new listener to the collection
* @param listener the listener
*/
public void addListener(Object listener) {
this.addElement(listener);
}
/**
* Remove a listener from the collection
* @param listener the listener
*/
public void removeListener(Object listener) {
this.removeElement(listener);
}
/**
* Returns an Enumeration of all the listeners
* being stored in this collection
* @return an Enumeration of all listeners
*/
public Enumeration getAllListeners() {
return this.elements();
}
/**
* Return all the listeners in this collection which
* implement the specified interface
*
* @param iface the interface
* @return an array of listeners which implement the given
* interface
*/
public Object[] getListeners(Class iface) {
Vector array = new Vector();
for(Enumeration enum = getAllListeners();enum.hasMoreElements();) {
Object listener = enum.nextElement();
if(iface.isInstance(listener)) {
array.addElement(listener);
}
}
Object[] result = new Object[array.size()];
array.copyInto(result);
return result;
}
} // ListenerCollection
// end of ListenerCollection.java ...

View File

@@ -1,79 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
public class LocalVariable {
public LocalVariable(String name, boolean isParameter) {
itsName = name;
itsIsParameter = isParameter;
}
public void setIndex(int index){ itsIndex = index; }
public int getIndex() { return itsIndex; }
public void setIsParameter() { itsIsParameter = true; }
public boolean isParameter() { return itsIsParameter; }
public String getName() { return itsName; }
/**
* Return the starting PC where this variable is live, or -1
* if it is not a Java register.
*/
public int getStartPC() {
return -1;
}
/**
* Return the Java register number or -1 if it is not a Java register.
*/
public short getJRegister() {
return -1;
}
/**
* Return true if the local variable is a Java register with double type.
*/
public boolean isNumber() {
return false;
}
private String itsName;
private int itsIndex = -1;
private boolean itsIsParameter;
}

View File

@@ -1,244 +0,0 @@
#! gmake
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Rhino code, released
# May 6, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU Public License (the "GPL"), in which case the
# provisions of the GPL are applicable instead of those above.
# If you wish to allow use of your version of this file only
# under the terms of the GPL and not to allow others to use your
# version of this file under the NPL, indicate your decision by
# deleting the provisions above and replace them with the notice
# and other provisions required by the GPL. If you do not delete
# the provisions above, a recipient may use your version of this
# file under either the NPL or the GPL.
#
# Makefile the core javascript classes.
#
# This Makefile is intended to be called from the toplevel Makefile.
#
# List files explicitly to exclude .java files in this dir we don't want
# to compile. Also hack in classfile stuff...
SOURCES = \
$(PATH_PREFIX)/Arguments.java \
$(PATH_PREFIX)/BinaryDigitReader.java \
$(PATH_PREFIX)/ClassDefinitionException.java \
$(PATH_PREFIX)/ClassNameHelper.java \
$(PATH_PREFIX)/Context.java \
$(PATH_PREFIX)/DeepBytecodeHook.java \
$(PATH_PREFIX)/DeepCallHook.java \
$(PATH_PREFIX)/DeepErrorReporterHook.java \
$(PATH_PREFIX)/DeepExecuteHook.java \
$(PATH_PREFIX)/DeepNewObjectHook.java \
$(PATH_PREFIX)/DeepScriptHook.java \
$(PATH_PREFIX)/DefaultErrorReporter.java \
$(PATH_PREFIX)/EcmaError.java \
$(PATH_PREFIX)/ErrorReporter.java \
$(PATH_PREFIX)/EvaluatorException.java \
$(PATH_PREFIX)/FlattenedObject.java \
$(PATH_PREFIX)/Function.java \
$(PATH_PREFIX)/FunctionNode.java \
$(PATH_PREFIX)/FunctionObject.java \
$(PATH_PREFIX)/IRFactory.java \
$(PATH_PREFIX)/ImporterTopLevel.java \
$(PATH_PREFIX)/InterpretedFunction.java \
$(PATH_PREFIX)/InterpretedScript.java \
$(PATH_PREFIX)/Interpreter.java \
$(PATH_PREFIX)/InterpreterData.java \
$(PATH_PREFIX)/JavaAdapter.java \
$(PATH_PREFIX)/JavaMembers.java \
$(PATH_PREFIX)/JavaScriptException.java \
$(PATH_PREFIX)/Label.java \
$(PATH_PREFIX)/LabelTable.java \
$(PATH_PREFIX)/LazilyLoadedCtor.java \
$(PATH_PREFIX)/LineBuffer.java \
$(PATH_PREFIX)/ListenerCollection.java \
$(PATH_PREFIX)/LocalVariable.java \
$(PATH_PREFIX)/NativeArray.java \
$(PATH_PREFIX)/NativeBoolean.java \
$(PATH_PREFIX)/NativeCall.java \
$(PATH_PREFIX)/NativeDate.java \
$(PATH_PREFIX)/NativeError.java \
$(PATH_PREFIX)/NativeFunction.java \
$(PATH_PREFIX)/NativeGlobal.java \
$(PATH_PREFIX)/NativeJavaArray.java \
$(PATH_PREFIX)/NativeJavaClass.java \
$(PATH_PREFIX)/NativeJavaConstructor.java \
$(PATH_PREFIX)/NativeJavaMethod.java \
$(PATH_PREFIX)/NativeJavaObject.java \
$(PATH_PREFIX)/NativeJavaPackage.java \
$(PATH_PREFIX)/NativeMath.java \
$(PATH_PREFIX)/NativeNumber.java \
$(PATH_PREFIX)/NativeObject.java \
$(PATH_PREFIX)/NativeScript.java \
$(PATH_PREFIX)/NativeString.java \
$(PATH_PREFIX)/NativeWith.java \
$(PATH_PREFIX)/Node.java \
$(PATH_PREFIX)/NodeTransformer.java \
$(PATH_PREFIX)/NotAFunctionException.java \
$(PATH_PREFIX)/Parser.java \
$(PATH_PREFIX)/PreorderNodeIterator.java \
$(PATH_PREFIX)/PropertyException.java \
$(PATH_PREFIX)/RegExpProxy.java \
$(PATH_PREFIX)/Script.java \
$(PATH_PREFIX)/ScriptRuntime.java \
$(PATH_PREFIX)/Scriptable.java \
$(PATH_PREFIX)/ScriptableObject.java \
$(PATH_PREFIX)/SecuritySupport.java \
$(PATH_PREFIX)/ShallowNodeIterator.java \
$(PATH_PREFIX)/SourceTextItem.java \
$(PATH_PREFIX)/SourceTextManager.java \
$(PATH_PREFIX)/TokenStream.java \
$(PATH_PREFIX)/Undefined.java \
$(PATH_PREFIX)/VariableTable.java \
$(PATH_PREFIX)/WrappedException.java \
$(PATH_PREFIX)/Wrapper.java \
$(PATH_PREFIX)/regexp/NativeRegExp.java \
$(PATH_PREFIX)/regexp/NativeRegExpCtor.java \
$(PATH_PREFIX)/regexp/RegExpImpl.java \
$(PATH_PREFIX)/regexp/SubString.java \
$(PATH_PREFIX)/optimizer/Block.java \
$(PATH_PREFIX)/optimizer/Codegen.java \
$(PATH_PREFIX)/optimizer/DataFlowBitSet.java \
$(PATH_PREFIX)/optimizer/FatBlock.java \
$(PATH_PREFIX)/optimizer/JavaScriptClassLoader.java\
$(PATH_PREFIX)/optimizer/OptClassNameHelper.java\
$(PATH_PREFIX)/optimizer/OptFunctionNode.java \
$(PATH_PREFIX)/optimizer/OptIRFactory.java \
$(PATH_PREFIX)/optimizer/OptLocalVariable.java \
$(PATH_PREFIX)/optimizer/OptRuntime.java \
$(PATH_PREFIX)/optimizer/OptTransformer.java \
$(PATH_PREFIX)/optimizer/OptVariableTable.java \
$(PATH_PREFIX)/optimizer/Optimizer.java \
$(PATH_PREFIX)/optimizer/StmtNodeIterator.java \
$(PATH_PREFIX)/optimizer/TypeEvent.java \
$(PATH_PREFIX)/../classfile/ByteCode.java \
$(PATH_PREFIX)/../classfile/ClassFileWriter.java\
$(NULL)
RESOURCEDIR = $(PATH_PREFIX)/resources
RESOURCES = $(RESOURCEDIR)/*.properties
# This must be evaluated in some context where the classes can be
# found; we can't use a simple translation from sources, because a
# .java file may produce more than one .class file.
# (use org/mozilla/classfile explicitly for now; should be replaced
# with something parameterized, but jar doesn't understand ..)
CLASSES = $(PATH_PREFIX)/*.class $(PATH_PREFIX)/regexp/*.class \
$(PATH_PREFIX)/optimizer/*.class org/mozilla/classfile/*.class
# A class or set of classes as visible from the top level. For want
# of ${subst ,,}. This variable is only used to trigger dependency
# analysis, and multiple words confuse gmake, so it can be smaller
# than the full set of sources. (We assume we'll never need to do the
# same thing with RESOURCES.)
TLCLASS = $(CLASSDIR)/$(PATH_PREFIX)/*.class
# An empty file, used mainly for timestamp/dependency purposes by
# "fast" builds
FASTTARGET=$(CLASSDIR)/.lastbuild
$(JAR) : $(TLCLASS) $(CLASSDIR)/$(RESOURCES)
cd $(CLASSDIR) ; \
jar cf ../$(JAR) $(CLASSES) $(RESOURCES)
$(TLCLASS) : $(SOURCES)
- mkdir -p $(CLASSDIR)
echo "" > $(FASTTARGET)
$(JAVAC) $(JFLAGS) -d $(CLASSDIR) $(SOURCES)
$(CLASSDIR)/$(RESOURCES) : $(RESOURCES)
- mkdir -p $(CLASSDIR)/$(RESOURCEDIR)
cp $(RESOURCES) $(CLASSDIR)/$(RESOURCEDIR)
# Since the jar file is a target for regular builds, "fast" builds use a
# dummy file, updated before each compilation to provide a timestamp.
# Even so, using a dummy file is far from foolproof, so we still need
# the regular build.
fast: $(FASTTARGET)
# So that we recompile only the files that have changed, we pretend
# the only real dependencies are the source files, and recopy the
# resources every time. Right now (14 Jun 99), the only resource is
# Messages.properties, so it's a small price to pay.
$(FASTTARGET) : $(SOURCES)
- mkdir -p $(CLASSDIR)/$(RESOURCEDIR)
cp $(RESOURCES) $(CLASSDIR)/$(RESOURCEDIR)
echo "" > $(FASTTARGET)
$(JAVAC) $(JFLAGS) -d $(CLASSDIR) $(?)
cd $(CLASSDIR) ; \
jar cf ../$(JAR) $(CLASSES) $(RESOURCES)
clean :
- cd $(CLASSDIR)
- rm $(CLASSES)
- rm $(PATH_PREFIX)/message.ids \
$(PATH_PREFIX)/property.ids \
$(PATH_PREFIX)/MANIFEST
clobber : clean
-rm $(JAR)
$(PATH_PREFIX)/MANIFEST : $(SOURCES) $(RESOURCES) $(PATH_PREFIX)/Makefile
ls $(SOURCES) $(RESOURCES) $(PATH_PREFIX)/Makefile \
> $(@)
# A sed/grep regular expression.
MESSAGE_PREFIX = msg\.
# Find all the msg.* strings in the source, and condense them to a sorted list,
# excluding duplicates.
$(PATH_PREFIX)/message.ids : $(SOURCES)
grep '$(MESSAGE_PREFIX)' $(SOURCES) |\
sed -e 's/.*\"\($(MESSAGE_PREFIX)\)\([^\"]*\).*/\1\2/' | \
sort | uniq > $(PATH_PREFIX)/message.ids
# Find all the msg.* strings in the resource files, and condense them to a
# sorted list, not excluding duplicates.
$(PATH_PREFIX)/property.ids : $(RESOURCES)
grep '^$(MESSAGE_PREFIX)' $(RESOURCES) |\
sed -e 's/.*\($(MESSAGE_PREFIX)\)\([^ =]*\).*/\1\2/' |\
sort > $(PATH_PREFIX)/property.ids
# Compare the resulting message.ids and property.ids files and confirm
# that they do not differ. This means that every message string used
# in the source is defined somewhere in the resource file, every
# resource in the resource file is used somewhere in the source, and
# no resource is defined more than once.
check : $(PATH_PREFIX)/message.ids $(PATH_PREFIX)/property.ids FORCE
- diff $(PATH_PREFIX)/message.ids $(PATH_PREFIX)/property.ids
# look for unmatched single quotes ... seems to fail when none!
# - sed -e s/\'\'//g $($RESOURCES) | grep \'
# Emulate .PHONY
FORCE :

View File

@@ -1,954 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Mike McCabe
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.util.Hashtable;
/**
* This class implements the Array native object.
* @author Norris Boyd
* @author Mike McCabe
*/
public class NativeArray extends ScriptableObject {
/*
* Optimization possibilities and open issues:
* - Long vs. double schizophrenia. I suspect it might be better
* to use double throughout.
* - Most array operations go through getElem or setElem (defined
* in this file) to handle the full 2^32 range; it might be faster
* to have versions of most of the loops in this file for the
* (infinitely more common) case of indices < 2^31.
* - Functions that need a new Array call "new Array" in the
* current scope rather than using a hardwired constructor;
* "Array" could be redefined. It turns out that js calls the
* equivalent of "new Array" in the current scope, except that it
* always gets at least an object back, even when Array == null.
*/
/**
* Zero-parameter constructor: just used to create Array.prototype
*/
public NativeArray() {
dense = null;
this.length = 0;
}
public NativeArray(long length) {
int intLength = (int) length;
if (intLength == length && intLength > 0) {
if (intLength > maximumDenseLength)
intLength = maximumDenseLength;
dense = new Object[intLength];
for (int i=0; i < intLength; i++)
dense[i] = NOT_FOUND;
}
this.length = length;
}
public NativeArray(Object[] array) {
dense = array;
this.length = array.length;
}
public static void finishInit(Scriptable scope, FunctionObject ctor,
Scriptable proto)
{
// Set some method length values.
// See comment for NativeString.finishInit()
String[] specialLengthNames = { "reverse",
"toString",
};
short[] specialLengthValues = { 0,
0,
};
for (int i=0; i < specialLengthNames.length; i++) {
Object obj = proto.get(specialLengthNames[i], proto);
((FunctionObject) obj).setLength(specialLengthValues[i]);
}
}
public String getClassName() {
return "Array";
}
public Object get(int index, Scriptable start) {
if (dense != null && 0 <= index && index < dense.length)
return dense[index];
return super.get(index, start);
}
public boolean has(int index, Scriptable start) {
if (dense != null && 0 <= index && index < dense.length)
return dense[index] != NOT_FOUND;
return super.has(index, start);
}
public void put(String id, Scriptable start, Object value) {
// only set the array length if given an array index (ECMA 15.4.0)
// try to get an array index from id
double d = ScriptRuntime.toNumber(id);
if (ScriptRuntime.toUint32(d) == d &&
ScriptRuntime.numberToString(d, 10).equals(id) &&
this.length <= d && d != 4294967295.0)
{
this.length = (long)d + 1;
}
super.put(id, start, value);
}
public void put(int index, Scriptable start, Object value) {
// only set the array length if given an array index (ECMA 15.4.0)
if (this.length <= index) {
// avoid overflowing index!
this.length = (long)index + 1;
}
if (dense != null && 0 <= index && index < dense.length) {
dense[index] = value;
return;
}
super.put(index, start, value);
}
public void delete(int index) {
if (dense != null && 0 <= index && index < dense.length) {
dense[index] = NOT_FOUND;
return;
}
super.delete(index);
}
public Object[] getIds() {
Object[] superIds = super.getIds();
if (dense == null)
return superIds;
int count = 0;
int last = dense.length;
if (last > length)
last = (int) length;
for (int i=last-1; i >= 0; i--) {
if (dense[i] != NOT_FOUND)
count++;
}
count += superIds.length;
Object[] result = new Object[count];
System.arraycopy(superIds, 0, result, 0, superIds.length);
for (int i=last-1; i >= 0; i--) {
if (dense[i] != NOT_FOUND)
result[--count] = new Integer(i);
}
return result;
}
public Object getDefaultValue(Class hint) {
if (hint == ScriptRuntime.NumberClass) {
Context cx = Context.getContext();
if (cx.getLanguageVersion() == Context.VERSION_1_2)
return new Long(length);
}
return super.getDefaultValue(hint);
}
/**
* See ECMA 15.4.1,2
*/
public static Object jsConstructor(Context cx, Object[] args,
Function ctorObj, boolean inNewExpr)
throws JavaScriptException
{
if (!inNewExpr) {
// FunctionObject.construct will set up parent, proto
return ctorObj.construct(cx, ctorObj.getParentScope(), args);
}
if (args.length == 0)
return new NativeArray();
// Only use 1 arg as first element for version 1.2; for
// any other version (including 1.3) follow ECMA and use it as
// a length.
if (cx.getLanguageVersion() == cx.VERSION_1_2) {
return new NativeArray(args);
}
else {
if ((args.length > 1) || (!(args[0] instanceof Number)))
return new NativeArray(args);
else {
long len = ScriptRuntime.toUint32(args[0]);
if (len != (((Number)(args[0])).doubleValue()))
throw Context.reportRuntimeError(Context.getMessage
("msg.arraylength.bad", null));
return new NativeArray(len);
}
}
}
private static final int lengthAttr = ScriptableObject.DONTENUM |
ScriptableObject.PERMANENT;
public long jsGet_length() {
return length;
}
public void jsSet_length(Object val) {
/* XXX do we satisfy this?
* 15.4.5.1 [[Put]](P, V):
* 1. Call the [[CanPut]] method of A with name P.
* 2. If Result(1) is false, return.
* ?
*/
if (!(val instanceof Number))
throw Context.reportRuntimeError(Context.getMessage
("msg.arraylength.bad", null));
long longVal = ScriptRuntime.toUint32(val);
if (longVal != (((Number)val).doubleValue()))
throw Context.reportRuntimeError(Context.getMessage
("msg.arraylength.bad", null));
if (longVal < length) {
// remove all properties between longVal and length
if (length - longVal > 0x1000) {
// assume that the representation is sparse
Object[] e = getIds(); // will only find in object itself
for (int i=0; i < e.length; i++) {
if (e[i] instanceof String) {
// > MAXINT will appear as string
String id = (String) e[i];
double d = ScriptRuntime.toNumber(id);
if (d == d && d < length)
delete(id);
continue;
}
int index = ((Number) e[i]).intValue();
if (index >= longVal)
delete(index);
}
} else {
// assume a dense representation
for (long i=longVal; i < length; i++) {
// only delete if defined in the object itself
if (hasElem(this, i))
ScriptRuntime.delete(this, new Long(i));
}
}
}
length = longVal;
}
/* Support for generic Array-ish objects. Most of the Array
* functions try to be generic; anything that has a length
* property is assumed to be an array. hasLengthProperty is
* needed in addition to getLengthProperty, because
* getLengthProperty always succeeds - tries to convert strings, etc.
*/
static double getLengthProperty(Scriptable obj) {
// These will both give numeric lengths within Uint32 range.
if (obj instanceof NativeString)
return (double)((NativeString)obj).jsGet_length();
if (obj instanceof NativeArray)
return (double)((NativeArray)obj).jsGet_length();
return ScriptRuntime.toUint32(ScriptRuntime
.getProp(obj, "length", obj));
}
static boolean hasLengthProperty(Object obj) {
if (!(obj instanceof Scriptable) || obj == Context.getUndefinedValue())
return false;
if (obj instanceof NativeString || obj instanceof NativeArray)
return true;
Scriptable sobj = (Scriptable)obj;
// XXX some confusion as to whether or not to walk to get the length
// property. Pending review of js/[new ecma submission] treatment
// of 'arrayness'.
Object property = ScriptRuntime.getProp(sobj, "length", sobj);
return property instanceof Number;
}
/* Utility functions to encapsulate index > Integer.MAX_VALUE
* handling. Also avoids unnecessary object creation that would
* be necessary to use the general ScriptRuntime.get/setElem
* functions... though this is probably premature optimization.
*/
private static boolean hasElem(Scriptable target, long index) {
return index > Integer.MAX_VALUE
? target.has(Long.toString(index), target)
: target.has((int)index, target);
}
private static Object getElem(Scriptable target, long index) {
if (index > Integer.MAX_VALUE) {
String id = Long.toString(index);
return ScriptRuntime.getElem(target, id, target);
} else {
return ScriptRuntime.getElem(target, (int)index);
}
}
private static void setElem(Scriptable target, long index, Object value) {
if (index > Integer.MAX_VALUE) {
String id = Long.toString(index);
ScriptRuntime.setElem(target, id, value, target);
} else {
ScriptRuntime.setElem(target, (int)index, value);
}
}
public static String jsFunction_toString(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
return toStringHelper(cx, thisObj,
cx.getLanguageVersion() == cx.VERSION_1_2);
}
private static String toStringHelper(Context cx, Scriptable thisObj,
boolean toSource)
{
/* It's probably redundant to handle long lengths in this
* function; StringBuffers are limited to 2^31 in java.
*/
long length = (long)getLengthProperty(thisObj);
StringBuffer result = new StringBuffer();
if (cx.iterating == null)
cx.iterating = new Hashtable(31);
boolean iterating = cx.iterating.get(thisObj) == Boolean.TRUE;
// whether to return '4,unquoted,5' or '[4, "quoted", 5]'
String separator;
if (toSource) {
result.append("[");
separator = ", ";
} else {
separator = ",";
}
boolean haslast = false;
long i = 0;
if (!iterating) {
for (i = 0; i < length; i++) {
if (i > 0)
result.append(separator);
Object elem = getElem(thisObj, i);
if (elem == null || elem == Undefined.instance) {
haslast = false;
continue;
}
haslast = true;
if (elem instanceof String) {
if (toSource) {
result.append("\"");
result.append(ScriptRuntime.escapeString
(ScriptRuntime.toString(elem)));
result.append("\"");
} else {
result.append(ScriptRuntime.toString(elem));
}
} else {
/* wrap changes to cx.iterating in a try/finally
* so that the reference always gets removed, and
* we don't leak memory. Good place for weak
* references, if we had them. */
try {
// stop recursion.
cx.iterating.put(thisObj, Boolean.TRUE);
result.append(ScriptRuntime.toString(elem));
} finally {
cx.iterating.remove(thisObj);
}
}
}
}
if (toSource) {
//for [,,].length behavior; we want toString to be symmetric.
if (!haslast && i > 0)
result.append(", ]");
else
result.append("]");
}
return result.toString();
}
/**
* See ECMA 15.4.4.3
*/
public static String jsFunction_join(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
StringBuffer result = new StringBuffer();
String separator;
double length = getLengthProperty(thisObj);
// if no args, use "," as separator
if (args.length < 1) {
separator = ",";
} else {
separator = ScriptRuntime.toString(args[0]);
}
for (long i=0; i < length; i++) {
if (i > 0)
result.append(separator);
Object temp = getElem(thisObj, i);
if (temp == null || temp == Undefined.instance)
continue;
result.append(ScriptRuntime.toString(temp));
}
return result.toString();
}
/**
* See ECMA 15.4.4.4
*/
public static Scriptable jsFunction_reverse(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
long len = (long)getLengthProperty(thisObj);
long half = len / 2;
for(long i=0; i < half; i++) {
long j = len - i - 1;
Object temp1 = getElem(thisObj, i);
Object temp2 = getElem(thisObj, j);
setElem(thisObj, i, temp2);
setElem(thisObj, j, temp1);
}
return thisObj;
}
/**
* See ECMA 15.4.4.5
*/
public static Scriptable jsFunction_sort(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
throws JavaScriptException
{
long length = (long)getLengthProperty(thisObj);
Object compare;
if (args.length > 0 && Undefined.instance != args[0])
// sort with given compare function
compare = args[0];
else
// sort with default compare
compare = null;
// OPT: Would it make sense to use the extended sort for very small
// arrays?
// Should we use the extended sort function, or the faster one?
if (length >= Integer.MAX_VALUE) {
qsort_extended(cx, compare, thisObj, 0, length - 1);
} else {
// copy the JS array into a working array, so it can be
// sorted cheaply.
Object[] working = new Object[(int)length];
for (int i=0; i<length; i++) {
working[i] = getElem(thisObj, i);
}
qsort(cx, compare, working, 0, (int)length - 1, funObj);
// copy the working array back into thisObj
for (int i=0; i<length; i++) {
setElem(thisObj, i, working[i]);
}
}
return thisObj;
}
private static double qsortCompare(Context cx, Object jsCompare, Object x,
Object y, Scriptable scope)
throws JavaScriptException
{
Object undef = Undefined.instance;
// sort undefined to end
if (undef == x || undef == y) {
if (undef != x)
return -1;
if (undef != y)
return 1;
return 0;
}
if (jsCompare == null) {
// if no compare function supplied, sort lexicographically
String a = ScriptRuntime.toString(x);
String b = ScriptRuntime.toString(y);
return a.compareTo(b);
} else {
// assemble args and call supplied JS compare function
// OPT: put this argument creation in the caller and reuse it.
// XXX what to do when compare function returns NaN? ECMA states
// that it's then not a 'consistent compararison function'... but
// then what do we do? Back out and start over with the generic
// compare function when we see a NaN? Throw an error?
Object[] args = {x, y};
// return ScriptRuntime.toNumber(ScriptRuntime.call(jsCompare, null,
// args));
// for now, just ignore it:
double d = ScriptRuntime.
toNumber(ScriptRuntime.call(cx, jsCompare, null, args, scope));
return (d == d) ? d : 0;
}
}
private static void qsort(Context cx, Object jsCompare, Object[] working,
int lo, int hi, Scriptable scope)
throws JavaScriptException
{
Object pivot;
int i, j;
int a, b;
while (lo < hi) {
i = lo;
j = hi;
a = i;
pivot = working[a];
while (i < j) {
for(;;) {
b = j;
if (qsortCompare(cx, jsCompare, working[j], pivot,
scope) <= 0)
break;
j--;
}
working[a] = working[b];
while (i < j && qsortCompare(cx, jsCompare, working[a],
pivot, scope) <= 0)
{
i++;
a = i;
}
working[b] = working[a];
}
working[a] = pivot;
if (i - lo < hi - i) {
qsort(cx, jsCompare, working, lo, i - 1, scope);
lo = i + 1;
} else {
qsort(cx, jsCompare, working, i + 1, hi, scope);
hi = i - 1;
}
}
}
// A version that knows about long indices and doesn't use
// a working array. Probably will never be used.
private static void qsort_extended(Context cx, Object jsCompare,
Scriptable target, long lo, long hi)
throws JavaScriptException
{
Object pivot;
long i, j;
long a, b;
while (lo < hi) {
i = lo;
j = hi;
a = i;
pivot = getElem(target, a);
while (i < j) {
for(;;) {
b = j;
if (qsortCompare(cx, jsCompare, getElem(target, j),
pivot, target) <= 0)
break;
j--;
}
setElem(target, a, getElem(target, b));
while (i < j && qsortCompare(cx, jsCompare,
getElem(target, a),
pivot, target) <= 0)
{
i++;
a = i;
}
setElem(target, b, getElem(target, a));
}
setElem(target, a, pivot);
if (i - lo < hi - i) {
qsort_extended(cx, jsCompare, target, lo, i - 1);
lo = i + 1;
} else {
qsort_extended(cx, jsCompare, target, i + 1, hi);
hi = i - 1;
}
}
}
/**
* Non-ECMA methods.
*/
public static Object jsFunction_push(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
double length = getLengthProperty(thisObj);
for (int i = 0; i < args.length; i++) {
setElem(thisObj, (long)length + i, args[i]);
}
length += args.length;
ScriptRuntime.setProp(thisObj, "length", new Double(length), thisObj);
/*
* If JS1.2, follow Perl4 by returning the last thing pushed.
* Otherwise, return the new array length.
*/
if (cx.getLanguageVersion() == Context.VERSION_1_2)
// if JS1.2 && no arguments, return undefined.
return args.length == 0
? Context.getUndefinedValue()
: args[args.length - 1];
else
return new Long((long)length);
}
public static Object jsFunction_pop(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
Object result;
double length = getLengthProperty(thisObj);
if (length > 0) {
length--;
// Get the to-be-deleted property's value.
result = getElem(thisObj, (long)length);
// We don't need to delete the last property, because
// setLength does that for us.
} else {
result = Context.getUndefinedValue();
}
// necessary to match js even when length < 0; js pop will give a
// length property to any target it is called on.
ScriptRuntime.setProp(thisObj, "length", new Double(length), thisObj);
return result;
}
public static Object jsFunction_shift(Context cx, Scriptable thisObj,
Object[] args, Function funOjb)
{
Object result;
double length = getLengthProperty(thisObj);
if (length > 0) {
long i = 0;
length--;
// Get the to-be-deleted property's value.
result = getElem(thisObj, i);
/*
* Slide down the array above the first element. Leave i
* set to point to the last element.
*/
if (length > 0) {
for (i = 1; i <= length; i++) {
Object temp = getElem(thisObj, i);
setElem(thisObj, i - 1, temp);
}
}
// We don't need to delete the last property, because
// setLength does that for us.
} else {
result = Context.getUndefinedValue();
}
ScriptRuntime.setProp(thisObj, "length", new Double(length), thisObj);
return result;
}
public static Object jsFunction_unshift(Context cx, Scriptable thisObj,
Object[] args, Function funOjb)
{
Object result;
double length = (double)getLengthProperty(thisObj);
int argc = args.length;
if (args.length > 0) {
/* Slide up the array to make room for args at the bottom */
if (length > 0) {
for (long last = (long)length - 1; last >= 0; last--) {
Object temp = getElem(thisObj, last);
setElem(thisObj, last + argc, temp);
}
}
/* Copy from argv to the bottom of the array. */
for (int i = 0; i < args.length; i++) {
setElem(thisObj, i, args[i]);
}
/* Follow Perl by returning the new array length. */
length += args.length;
ScriptRuntime.setProp(thisObj, "length",
new Double(length), thisObj);
}
return new Long((long)length);
}
public static Object jsFunction_splice(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
/* create an empty Array to return. */
Scriptable scope = getTopLevelScope(funObj);
Object result = ScriptRuntime.newObject(cx, scope, "Array", null);
int argc = args.length;
if (argc == 0)
return result;
double length = getLengthProperty(thisObj);
/* Convert the first argument into a starting index. */
double begin = ScriptRuntime.toInteger(args[0]);
double end;
double delta;
double count;
if (begin < 0) {
begin += length;
if (begin < 0)
begin = 0;
} else if (begin > length) {
begin = length;
}
argc--;
/* Convert the second argument from a count into a fencepost index. */
delta = length - begin;
if (args.length == 1) {
count = delta;
end = length;
} else {
count = ScriptRuntime.toInteger(args[1]);
if (count < 0)
count = 0;
else if (count > delta)
count = delta;
end = begin + count;
argc--;
}
long lbegin = (long)begin;
long lend = (long)end;
/* If there are elements to remove, put them into the return value. */
if (count > 0) {
if (count == 1
&& (cx.getLanguageVersion() == Context.VERSION_1_2))
{
/*
* JS lacks "list context", whereby in Perl one turns the
* single scalar that's spliced out into an array just by
* assigning it to @single instead of $single, or by using it
* as Perl push's first argument, for instance.
*
* JS1.2 emulated Perl too closely and returned a non-Array for
* the single-splice-out case, requiring callers to test and
* wrap in [] if necessary. So JS1.3, default, and other
* versions all return an array of length 1 for uniformity.
*/
result = getElem(thisObj, lbegin);
} else {
for (long last = lbegin; last < lend; last++) {
Scriptable resultArray = (Scriptable)result;
Object temp = getElem(thisObj, last);
setElem(resultArray, last - lbegin, temp);
}
}
} else if (count == 0
&& cx.getLanguageVersion() == Context.VERSION_1_2)
{
/* Emulate C JS1.2; if no elements are removed, return undefined. */
result = Context.getUndefinedValue();
}
/* Find the direction (up or down) to copy and make way for argv. */
delta = argc - count;
if (delta > 0) {
for (long last = (long)length - 1; last >= lend; last--) {
Object temp = getElem(thisObj, last);
setElem(thisObj, last + (long)delta, temp);
}
} else if (delta < 0) {
for (long last = lend; last < length; last++) {
Object temp = getElem(thisObj, last);
setElem(thisObj, last + (long)delta, temp);
}
}
/* Copy from argv into the hole to complete the splice. */
int argoffset = args.length - argc;
for (int i = 0; i < argc; i++) {
setElem(thisObj, lbegin + i, args[i + argoffset]);
}
/* Update length in case we deleted elements from the end. */
ScriptRuntime.setProp(thisObj, "length",
new Double(length + delta), thisObj);
return result;
}
/*
* Python-esque sequence operations.
*/
public static Scriptable jsFunction_concat(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
/* Concat tries to keep the definition of an array as general
* as possible; if it finds that an object has a numeric
* 'length' property, then it treats that object as an array.
* This treats string atoms and string objects differently; as
* string objects have a length property and are accessible by
* index, they get exploded into arrays when added, while
* atomic strings are just added as strings.
*/
// create an empty Array to return.
Scriptable scope = getTopLevelScope(funObj);
Scriptable result = ScriptRuntime.newObject(cx, scope, "Array", null);
double length;
long slot = 0;
/* Put the target in the result array; only add it as an array
* if it looks like one.
*/
if (hasLengthProperty(thisObj)) {
length = getLengthProperty(thisObj);
// Copy from the target object into the result
for (slot = 0; slot < length; slot++) {
Object temp = getElem(thisObj, slot);
setElem(result, slot, temp);
}
} else {
setElem(result, slot++, thisObj);
}
/* Copy from the arguments into the result. If any argument
* has a numeric length property, treat it as an array and add
* elements separately; otherwise, just copy the argument.
*/
for (int i = 0; i < args.length; i++) {
if (hasLengthProperty(args[i])) {
// hasLengthProperty => instanceOf Scriptable.
Scriptable arg = (Scriptable)args[i];
length = getLengthProperty(arg);
for (long j = 0; j < length; j++, slot++) {
Object temp = getElem(arg, j);
setElem(result, slot, temp);
}
} else {
setElem(result, slot++, args[i]);
}
}
return result;
}
public static Scriptable jsFunction_slice(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
Scriptable scope = getTopLevelScope(funObj);
Scriptable result = ScriptRuntime.newObject(cx, scope, "Array", null);
double length = getLengthProperty(thisObj);
double begin = 0;
double end = length;
if (args.length > 0) {
begin = ScriptRuntime.toInteger(args[0]);
if (begin < 0) {
begin += length;
if (begin < 0)
begin = 0;
} else if (begin > length) {
begin = length;
}
if (args.length > 1) {
end = ScriptRuntime.toInteger(args[1]);
if (end < 0) {
end += length;
if (end < 0)
end = 0;
} else if (end > length) {
end = length;
}
}
}
long lbegin = (long)begin;
long lend = (long)end;
for (long slot = lbegin; slot < lend; slot++) {
Object temp = getElem(thisObj, slot);
setElem(result, slot - lbegin, temp);
}
return result;
}
private long length;
private Object[] dense;
private static final int maximumDenseLength = 10000;
}

View File

@@ -1,92 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Mike McCabe
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
/**
* This class implements the Boolean native object.
* See ECMA 15.6.
* @author Norris Boyd
*/
public class NativeBoolean extends ScriptableObject {
/**
* Zero-parameter constructor: just used to create Boolean.prototype
*/
public NativeBoolean() {
}
public NativeBoolean(boolean b) {
booleanValue = b;
}
public String getClassName() {
return "Boolean";
}
public Object getDefaultValue(Class typeHint) {
// This is actually non-ECMA, but will be proposed
// as a change in round 2.
if (typeHint == ScriptRuntime.BooleanClass)
return booleanValue ? Boolean.TRUE : Boolean.FALSE;
return super.getDefaultValue(typeHint);
}
public static Object jsConstructor(Context cx, Object[] args,
Function ctorObj, boolean inNewExpr)
{
boolean b = args.length >= 1
? ScriptRuntime.toBoolean(args[0])
: false;
if (inNewExpr) {
// new Boolean(val) creates a new boolean object.
return new NativeBoolean(b);
}
// Boolean(val) converts val to a boolean.
return b ? Boolean.TRUE : Boolean.FALSE;
}
public String jsFunction_toString() {
return booleanValue ? "true" : "false";
}
public boolean jsFunction_valueOf() {
return booleanValue;
}
private boolean booleanValue;
}

View File

@@ -1,135 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
/**
* This class implements the activation object.
*
* See ECMA 10.1.6
*
* @see org.mozilla.javascript.Arguments
* @author Norris Boyd
*/
public final class NativeCall extends ScriptableObject {
NativeCall(Context cx, Scriptable scope, NativeFunction funObj,
Scriptable thisObj, Object[] args)
{
this(cx, scope, funObj, thisObj);
this.originalArgs = args;
// initialize values of arguments
String[] names = funObj.names;
if (names != null) {
for (int i=0; i < funObj.argCount; i++) {
Object val = i < args.length ? args[i]
: Undefined.instance;
super.put(names[i+1], this, val);
}
}
// initialize "arguments" property
super.put("arguments", this, new Arguments(this));
}
NativeCall(Context cx, Scriptable scope, NativeFunction funObj,
Scriptable thisObj)
{
this.funObj = funObj;
this.thisObj = thisObj;
setParentScope(scope);
// leave prototype null
// save current activation
this.caller = cx.currentActivation;
cx.currentActivation = this;
}
// Needed in order to use this class with ScriptableObject.defineClass
public NativeCall() {
}
public String getClassName() {
return "Call";
}
public static Object jsConstructor(Context cx, Object[] args,
Function ctorObj, boolean inNewExpr)
{
if (!inNewExpr) {
Object[] errArgs = { "Call" };
throw Context.reportRuntimeError(Context.getMessage
("msg.only.from.new", errArgs));
}
ScriptRuntime.checkDeprecated(cx, "Call");
NativeCall result = new NativeCall();
result.setPrototype(getObjectPrototype(ctorObj));
return result;
}
NativeCall getActivation(NativeFunction f) {
NativeCall x = this;
do {
if (x.funObj == f)
return x;
x = x.caller;
} while (x != null);
return null;
}
public NativeFunction getFunctionObject() {
return funObj;
}
public Object[] getOriginalArguments() {
return originalArgs;
}
public NativeCall getCaller() {
return caller;
}
public Scriptable getThisObj() {
return thisObj;
}
NativeCall caller;
NativeFunction funObj;
Scriptable thisObj;
Object[] originalArgs;
public int debugPC;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,82 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
/**
*
* The class of error objects
*
* ECMA 15.11
*/
public class NativeError extends ScriptableObject {
public NativeError() {
}
public String getClassName() {
return "Error";
}
public String toString() {
return getName() + ": " + getMessage();
}
public String jsFunction_toString() {
return toString();
}
public String getName() {
return ScriptRuntime.toString(
ScriptRuntime.getProp(this, "name", this));
}
public String getMessage() {
return ScriptRuntime.toString(
ScriptRuntime.getProp(this, "message", this));
}
public static void finishInit(Scriptable scope, FunctionObject ctor,
Scriptable proto)
throws PropertyException
{
((ScriptableObject) proto).defineProperty("message", "",
ScriptableObject.EMPTY);
((ScriptableObject) proto).defineProperty("name", "Error",
ScriptableObject.EMPTY);
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,758 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Mike McCabe
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.io.StringReader;
import java.io.IOException;
import java.lang.reflect.Method;
/**
* This class implements the global native object (function and value
* properties only).
*
* See ECMA 15.1.[12].
*
* @author Mike Shaver
*/
public class NativeGlobal {
public static void init(Scriptable scope)
throws PropertyException,
NotAFunctionException,
JavaScriptException
{
String names[] = { "eval",
"parseInt",
"parseFloat",
"escape",
"unescape",
"isNaN",
"isFinite",
"decodeURI",
"decodeURIComponent",
"encodeURI",
"encodeURIComponent"
};
// We can downcast here because Context.initStandardObjects
// takes a ScriptableObject scope.
ScriptableObject global = (ScriptableObject) scope;
global.defineFunctionProperties(names, NativeGlobal.class,
ScriptableObject.DONTENUM);
global.defineProperty("NaN", ScriptRuntime.NaNobj,
ScriptableObject.DONTENUM);
global.defineProperty("Infinity", new Double(Double.POSITIVE_INFINITY),
ScriptableObject.DONTENUM);
global.defineProperty("undefined", Undefined.instance,
ScriptableObject.DONTENUM);
String[] errorMethods = { "ConversionError",
"EvalError",
"RangeError",
"ReferenceError",
"SyntaxError",
"TypeError",
"URIError"
};
Method[] m = FunctionObject.findMethods(NativeGlobal.class,
"CommonError");
Context cx = Context.getContext();
/*
Each error constructor gets its own Error object as a prototype,
with the 'name' property set to the name of the error.
*/
for (int i = 0; i < errorMethods.length; i++) {
String name = errorMethods[i];
FunctionObject ctor = new FunctionObject(name, m[0], global);
global.defineProperty(name, ctor, ScriptableObject.DONTENUM);
Scriptable errorProto = cx.newObject(scope, "Error");
errorProto.put("name", errorProto, name);
ctor.put("prototype", ctor, errorProto);
}
}
/**
* The global method parseInt, as per ECMA-262 15.1.2.2.
*/
public static Object parseInt(String s, int radix) {
int len = s.length();
if (len == 0)
return ScriptRuntime.NaNobj;
boolean negative = false;
int start = 0;
char c;
do {
c = s.charAt(start);
if (!Character.isWhitespace(c))
break;
start++;
} while (start < len);
if (c == '+' || (negative = (c == '-')))
start++;
final int NO_RADIX = -1;
if (radix == 0) {
radix = NO_RADIX;
} else if (radix < 2 || radix > 36) {
return ScriptRuntime.NaNobj;
} else if (radix == 16 && len - start > 1 &&
s.charAt(start) == '0')
{
c = s.charAt(start+1);
if (c == 'x' || c == 'X')
start += 2;
}
if (radix == NO_RADIX) {
radix = 10;
if (len - start > 1 && s.charAt(start) == '0') {
c = s.charAt(start+1);
if (c == 'x' || c == 'X') {
radix = 16;
start += 2;
} else if (c != '.') {
radix = 8;
start++;
}
}
}
double d = ScriptRuntime.stringToNumber(s, start, radix);
return new Double(negative ? -d : d);
}
/**
* The global method parseFloat, as per ECMA-262 15.1.2.3.
*
* @param cx unused
* @param thisObj unused
* @param args the arguments to parseFloat, ignoring args[>=1]
* @param funObj unused
*/
public static Object parseFloat(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
if (args.length < 1)
return ScriptRuntime.NaNobj;
String s = ScriptRuntime.toString(args[0]);
int len = s.length();
if (len == 0)
return ScriptRuntime.NaNobj;
int i;
char c;
// Scan forward to the first digit or .
for (i=0; TokenStream.isJSSpace(c = s.charAt(i)) && i+1 < len; i++)
/* empty */
;
int start = i;
if (c == '+' || c == '-')
c = s.charAt(++i);
if (c == 'I') {
// check for "Infinity"
double d;
if (i+8 <= len && s.substring(i, i+8).equals("Infinity"))
d = s.charAt(start) == '-' ? Double.NEGATIVE_INFINITY
: Double.POSITIVE_INFINITY;
else
return ScriptRuntime.NaNobj;
return new Double(d);
}
// Find the end of the legal bit
int decimal = -1;
int exponent = -1;
for (; i < len; i++) {
switch (s.charAt(i)) {
case '.':
if (decimal != -1) // Only allow a single decimal point.
break;
decimal = i;
continue;
case 'e':
case 'E':
if (exponent != -1)
break;
exponent = i;
continue;
case '+':
case '-':
// Only allow '+' or '-' after 'e' or 'E'
if (exponent != i-1)
break;
continue;
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
continue;
default:
break;
}
break;
}
s = s.substring(start, i);
try {
return Double.valueOf(s);
}
catch (NumberFormatException ex) {
return ScriptRuntime.NaNobj;
}
}
/**
* The global method escape, as per ECMA-262 15.1.2.4.
* Includes code for the 'mask' argument supported by the C escape
* method, which used to be part of the browser imbedding. Blame
* for the strange constant names should be directed there.
*/
private static int
URL_XALPHAS = 1,
URL_XPALPHAS = 2,
URL_PATH = 4;
public static Object escape(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
char digits[] = {'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
if (args.length < 1)
args = ScriptRuntime.padArguments(args, 1);
String s = ScriptRuntime.toString(args[0]);
int mask = URL_XALPHAS | URL_XPALPHAS | URL_PATH;
if (args.length > 1) { // the 'mask' argument. Non-ECMA.
double d = ScriptRuntime.toNumber(args[1]);
if (d != d || ((mask = (int) d) != d) ||
0 != (mask & ~(URL_XALPHAS | URL_XPALPHAS | URL_PATH)))
{
String message = Context.getMessage
("msg.bad.esc.mask", null);
cx.reportError(message);
// do the ecma thing, in case reportError returns.
mask = URL_XALPHAS | URL_XPALPHAS | URL_PATH;
}
}
StringBuffer R = new StringBuffer();
for (int k = 0; k < s.length(); k++) {
char c = s.charAt(k);
if (mask != 0 &&
((c >= '0' && c <= '9') ||
(c >= 'A' && c <= 'Z') ||
(c >= 'a' && c <= 'z') ||
c == '@' || c == '*' || c == '_' ||
c == '-' || c == '.' ||
((c == '/' || c == '+') && mask > 3)))
R.append(c);
else if (c < 256) {
if (c == ' ' && mask == URL_XPALPHAS) {
R.append('+');
} else {
R.append('%');
R.append(digits[c >> 4]);
R.append(digits[c & 0xF]);
}
} else {
R.append('%');
R.append('u');
R.append(digits[c >> 12]);
R.append(digits[(c & 0xF00) >> 8]);
R.append(digits[(c & 0xF0) >> 4]);
R.append(digits[c & 0xF]);
}
}
return R.toString();
}
/**
* The global unescape method, as per ECMA-262 15.1.2.5.
*/
public static Object unescape(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
if (args.length < 1)
args = ScriptRuntime.padArguments(args, 1);
String s = ScriptRuntime.toString(args[0]);
StringBuffer R = new StringBuffer();
stringIter: for (int k = 0; k < s.length(); k++) {
char c = s.charAt(k);
if (c != '%' || k == s.length() -1) {
R.append(c);
continue;
}
String hex;
int end, start;
if (s.charAt(k+1) == 'u') {
start = k+2;
end = k+6;
} else {
start = k+1;
end = k+3;
}
if (end > s.length()) {
R.append('%');
continue;
}
hex = s.substring(start, end);
for (int i = 0; i < hex.length(); i++)
if (!TokenStream.isXDigit(hex.charAt(i))) {
R.append('%');
continue stringIter;
}
k = end - 1;
R.append((new Character((char) Integer.valueOf(hex, 16).intValue())));
}
return R.toString();
}
/**
* The global method isNaN, as per ECMA-262 15.1.2.6.
*/
public static Object isNaN(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
if (args.length < 1)
return Boolean.TRUE;
double d = ScriptRuntime.toNumber(args[0]);
return (d != d) ? Boolean.TRUE : Boolean.FALSE;
}
public static Object isFinite(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
if (args.length < 1)
return Boolean.FALSE;
double d = ScriptRuntime.toNumber(args[0]);
return (d != d || d == Double.POSITIVE_INFINITY ||
d == Double.NEGATIVE_INFINITY)
? Boolean.FALSE
: Boolean.TRUE;
}
public static Object eval(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
throws JavaScriptException
{
Object[] a = { "eval" };
String m = ScriptRuntime.getMessage("msg.cant.call.indirect", a);
throw NativeGlobal.constructError(cx, "EvalError", m, funObj);
}
/**
* The eval function property of the global object.
*
* See ECMA 15.1.2.1
*/
public static Object evalSpecial(Context cx, Scriptable scope,
Object thisArg, Object[] args,
String filename, int lineNumber)
throws JavaScriptException
{
if (args.length < 1)
return Undefined.instance;
Object x = args[0];
if (!(x instanceof String)) {
String message = Context.getMessage("msg.eval.nonstring", null);
Context.reportWarning(message);
return x;
}
int[] linep = { lineNumber };
if (filename == null) {
filename = Context.getSourcePositionFromStack(linep);
if (filename == null) {
filename = "<eval'ed string>";
linep[0] = 1;
}
}
try {
StringReader in = new StringReader((String) x);
Object securityDomain = cx.getSecurityDomainForStackDepth(3);
// Compile the reader with opt level of -1 to force interpreter
// mode.
int oldOptLevel = cx.getOptimizationLevel();
cx.setOptimizationLevel(-1);
Script script = cx.compileReader(scope, in, filename, linep[0],
securityDomain);
cx.setOptimizationLevel(oldOptLevel);
// if the compile fails, an error has been reported by the
// compiler, but we need to stop execution to avoid
// infinite looping on while(true) { eval('foo bar') } -
// so we throw an EvaluatorException.
if (script == null) {
String message = Context.getMessage("msg.syntax", null);
throw new EvaluatorException(message);
}
InterpretedScript is = (InterpretedScript) script;
is.itsData.itsFromEvalCode = true;
Object result = is.call(cx, scope, (Scriptable) thisArg, null);
return result;
}
catch (IOException ioe) {
// should never happen since we just made the Reader from a String
throw new RuntimeException("unexpected io exception");
}
}
/**
* The NativeError functions
*
* See ECMA 15.11.6
*/
public static EcmaError constructError(Context cx,
String error,
String message,
Object scope)
{
int[] linep = { 0 };
String filename = cx.getSourcePositionFromStack(linep);
return constructError(cx, error, message, scope,
filename, linep[0], 0, null);
}
/**
* The NativeError functions
*
* See ECMA 15.11.6
*/
public static EcmaError constructError(Context cx,
String error,
String message,
Object scope,
String sourceName,
int lineNumber,
int columnNumber,
String lineSource)
{
Scriptable scopeObject;
try {
scopeObject = (Scriptable) scope;
}
catch (ClassCastException x) {
throw new RuntimeException(x.toString());
}
Object args[] = { message };
try {
Object errorObject = cx.newObject(scopeObject, error, args);
return new EcmaError((NativeError)errorObject, sourceName,
lineNumber, columnNumber, lineSource);
}
catch (PropertyException x) {
throw new RuntimeException(x.toString());
}
catch (JavaScriptException x) {
throw new RuntimeException(x.toString());
}
catch (NotAFunctionException x) {
throw new RuntimeException(x.toString());
}
}
/**
* The implementation of all the ECMA error constructors (SyntaxError,
* TypeError, etc.)
*/
public static Object CommonError(Context cx, Object[] args,
Function ctorObj, boolean inNewExpr)
{
Scriptable newInstance = new NativeError();
newInstance.setPrototype((Scriptable)(ctorObj.get("prototype", ctorObj)));
newInstance.setParentScope(cx.ctorScope);
if (args.length > 0)
newInstance.put("message", newInstance, args[0]);
return newInstance;
}
/*
* ECMA 3, 15.1.3 URI Handling Function Properties
*
* The following are implementations of the algorithms
* given in the ECMA specification for the hidden functions
* 'Encode' and 'Decode'.
*/
private static String encode(Context cx, String str, String unescapedSet)
{
int j, k = 0, L;
char C, C2;
int V;
char utf8buf[] = new char[6];
StringBuffer R;
R = new StringBuffer();
while (k < str.length()) {
C = str.charAt(k);
if (unescapedSet.indexOf(C) != -1) {
R.append(C);
} else {
if ((C >= 0xDC00) && (C <= 0xDFFF)) {
throw cx.reportRuntimeError(
cx.getMessage("msg.bad.uri", null));
}
if ((C < 0xD800) || (C > 0xDBFF))
V = C;
else {
k++;
if (k == str.length()) {
throw cx.reportRuntimeError(
cx.getMessage("msg.bad.uri", null));
}
C2 = str.charAt(k);
if ((C2 < 0xDC00) || (C2 > 0xDFFF)) {
throw cx.reportRuntimeError(
cx.getMessage("msg.bad.uri", null));
}
V = ((C - 0xD800) << 10) + (C2 - 0xDC00) + 0x10000;
}
L = oneUcs4ToUtf8Char(utf8buf, V);
for (j = 0; j < L; j++) {
R.append('%');
if (utf8buf[j] < 16)
R.append('0');
R.append(Integer.toHexString(utf8buf[j]));
}
}
k++;
}
return R.toString();
}
private static boolean isHex(char c) {
return ((c >= '0' && c <= '9')
|| (c >= 'a' && c <= 'f')
|| (c >= 'A' && c <= 'F'));
}
private static int unHex(char c) {
if (c >= '0' && c <= '9')
return c - '0';
else
if (c >= 'a' && c <= 'f')
return c - 'a' + 10;
else
return c - 'A' +10;
}
private static String decode(Context cx, String str, String reservedSet)
{
int start, k = 0;
char C, H;
int V;
int B;
char[] octets = new char[6];
StringBuffer R;
int j, n;
R = new StringBuffer();
while (k < str.length()) {
C = str.charAt(k);
if (C == '%') {
start = k;
if ((k + 2) >= str.length())
throw cx.reportRuntimeError(
cx.getMessage("msg.bad.uri", null));
if (!isHex(str.charAt(k + 1)) || !isHex(str.charAt(k + 2)))
throw cx.reportRuntimeError(
cx.getMessage("msg.bad.uri", null));
B = unHex(str.charAt(k + 1)) * 16 + unHex(str.charAt(k + 2));
k += 2;
if ((B & 0x80) == 0)
C = (char)B;
else {
n = 1;
while ((B & (0x80 >>> n)) != 0) n++;
if ((n == 1) || (n > 6))
throw cx.reportRuntimeError(
cx.getMessage("msg.bad.uri", null));
octets[0] = (char)B;
if ((k + 3 * (n - 1)) >= str.length())
throw cx.reportRuntimeError(
cx.getMessage("msg.bad.uri", null));
for (j = 1; j < n; j++) {
k++;
if (str.charAt(k) != '%')
throw cx.reportRuntimeError(
cx.getMessage("msg.bad.uri", null));
if (!isHex(str.charAt(k + 1))
|| !isHex(str.charAt(k + 2)))
throw cx.reportRuntimeError(
cx.getMessage("msg.bad.uri", null));
B = unHex(str.charAt(k + 1)) * 16
+ unHex(str.charAt(k + 2));
if ((B & 0xC0) != 0x80)
throw cx.reportRuntimeError(
cx.getMessage("msg.bad.uri", null));
k += 2;
octets[j] = (char)B;
}
V = utf8ToOneUcs4Char(octets, n);
if (V >= 0x10000) {
V -= 0x10000;
if (V > 0xFFFFF)
throw cx.reportRuntimeError(
cx.getMessage("msg.bad.uri", null));
C = (char)((V & 0x3FF) + 0xDC00);
H = (char)((V >>> 10) + 0xD800);
R.append(H);
}
else
C = (char)V;
}
if (reservedSet.indexOf(C) != -1) {
for (int x = 0; x < (k - start + 1); x++)
R.append(str.charAt(start + x));
}
else
R.append(C);
}
else
R.append(C);
k++;
}
return R.toString();
}
private static String uriReservedPlusPound = ";/?:@&=+$,#";
private static String uriUnescaped =
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_.!~*'()";
public static String decodeURI(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
String str = ScriptRuntime.toString(args[0]);
return decode(cx, str, uriReservedPlusPound);
}
public static String decodeURIComponent(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
String str = ScriptRuntime.toString(args[0]);
return decode(cx, str, "");
}
public static Object encodeURI(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
String str = ScriptRuntime.toString(args[0]);
return encode(cx, str, uriReservedPlusPound + uriUnescaped);
}
public static String encodeURIComponent(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
String str = ScriptRuntime.toString(args[0]);
return encode(cx, str, uriUnescaped);
}
/* Convert one UCS-4 char and write it into a UTF-8 buffer, which must be
* at least 6 bytes long. Return the number of UTF-8 bytes of data written.
*/
private static int oneUcs4ToUtf8Char(char[] utf8Buffer, int ucs4Char)
{
int utf8Length = 1;
// JS_ASSERT(ucs4Char <= 0x7FFFFFFF);
if ((ucs4Char < 0x80) && (ucs4Char >= 0))
utf8Buffer[0] = (char)ucs4Char;
else {
int i;
int a = ucs4Char >>> 11;
utf8Length = 2;
while (a != 0) {
a >>>= 5;
utf8Length++;
}
i = utf8Length;
while (--i > 0) {
utf8Buffer[i] = (char)((ucs4Char & 0x3F) | 0x80);
ucs4Char >>>= 6;
}
utf8Buffer[0] = (char)(0x100 - (1 << (8-utf8Length)) + ucs4Char);
}
return utf8Length;
}
/* Convert a utf8 character sequence into a UCS-4 character and return that
* character. It is assumed that the caller already checked that the sequence is valid.
*/
private static int utf8ToOneUcs4Char(char[] utf8Buffer, int utf8Length)
{
int ucs4Char;
int k = 0;
// JS_ASSERT(utf8Length >= 1 && utf8Length <= 6);
if (utf8Length == 1) {
ucs4Char = utf8Buffer[0];
// JS_ASSERT(!(ucs4Char & 0x80));
} else {
// JS_ASSERT((*utf8Buffer & (0x100 - (1 << (7-utf8Length)))) == (0x100 - (1 << (8-utf8Length))));
ucs4Char = utf8Buffer[k++] & ((1<<(7-utf8Length))-1);
while (--utf8Length > 0) {
// JS_ASSERT((*utf8Buffer & 0xC0) == 0x80);
ucs4Char = ucs4Char<<6 | (utf8Buffer[k++] & 0x3F);
}
}
return ucs4Char;
}
}

View File

@@ -1,158 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Frank Mitchell
* Mike Shaver
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.lang.reflect.Array;
/**
* This class reflects Java arrays into the JavaScript environment.
*
* @author Mike Shaver
* @see NativeJavaClass
* @see NativeJavaObject
* @see NativeJavaPackage
*/
public class NativeJavaArray extends NativeJavaObject {
public String getClassName() {
return "JavaArray";
}
public static NativeJavaArray wrap(Scriptable scope, Object array) {
return new NativeJavaArray(scope, array);
}
public Object unwrap() {
return array;
}
public NativeJavaArray(Scriptable scope, Object array) {
super(scope, null, ScriptRuntime.ObjectClass);
Class cl = array.getClass();
if (!cl.isArray()) {
throw new RuntimeException("Array expected");
}
this.array = array;
this.length = Array.getLength(array);
this.cls = cl.getComponentType();
}
public boolean has(String id, Scriptable start) {
return id.equals("length") || super.has(id, start);
}
public boolean has(int index, Scriptable start) {
return 0 <= index && index < length;
}
public Object get(String id, Scriptable start) {
if (id.equals("length"))
return new Integer(length);
Object result = super.get(id, start);
if (result == NOT_FOUND &&
!ScriptRuntime.hasProp(getPrototype(), id))
{
Object errArgs[] = { array.getClass().getName(),
id };
throw Context.reportRuntimeError(
Context.getMessage("msg.java.member.not.found",
errArgs));
}
return result;
}
public Object get(int index, Scriptable start) {
if (0 <= index && index < length)
return NativeJavaObject.wrap(this, Array.get(array, index), cls);
return Undefined.instance;
}
public void put(String id, Scriptable start, Object value) {
// Ignore assignments to "length"--it's readonly.
if (!id.equals("length"))
super.put(id, start, value);
}
public void put(int index, Scriptable start, Object value) {
if (0 <= index && index < length) {
Array.set(array, index, NativeJavaObject.coerceType(cls, value));
return;
}
super.put(index, start, value);
}
public Object getDefaultValue(Class hint) {
if (hint == null || hint == ScriptRuntime.StringClass)
return array.toString();
if (hint == ScriptRuntime.BooleanClass)
return Boolean.TRUE;
if (hint == ScriptRuntime.NumberClass)
return ScriptRuntime.NaNobj;
return this;
}
public Object[] getIds() {
Object[] result = new Object[length];
int i = length;
while (--i >= 0)
result[i] = new Integer(i);
return result;
}
public boolean hasInstance(Scriptable value) {
if (!(value instanceof NativeJavaObject))
return false;
Object instance = ((NativeJavaObject)value).unwrap();
return cls.isInstance(instance);
}
public Scriptable getPrototype() {
if (prototype == null) {
prototype =
ScriptableObject.getClassPrototype(this.getParentScope(),
"Array");
}
return prototype;
}
Object array;
int length;
Class cls;
Scriptable prototype;
}

View File

@@ -1,283 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Frank Mitchell
* Mike Shaver
* Kurt Westerfeld
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.lang.reflect.*;
import java.util.Hashtable;
/**
* This class reflects Java classes into the JavaScript environment, mainly
* for constructors and static members. We lazily reflect properties,
* and currently do not guarantee that a single j.l.Class is only
* reflected once into the JS environment, although we should.
* The only known case where multiple reflections
* are possible occurs when a j.l.Class is wrapped as part of a
* method return or property access, rather than by walking the
* Packages/java tree.
*
* @author Mike Shaver
* @see NativeJavaArray
* @see NativeJavaObject
* @see NativeJavaPackage
*/
public class NativeJavaClass extends NativeJavaObject implements Function {
public NativeJavaClass(Scriptable scope, Class cl) {
super(scope, cl, JavaMembers.lookupClass(scope, cl, cl));
fieldAndMethods = members.getFieldAndMethodsObjects(this, javaObject,
true);
}
public String getClassName() {
return "JavaClass";
}
public boolean has(String name, Scriptable start) {
return members.has(name, true);
}
public Object get(String name, Scriptable start) {
// When used as a constructor, ScriptRuntime.newObject() asks
// for our prototype to create an object of the correct type.
// We don't really care what the object is, since we're returning
// one constructed out of whole cloth, so we return null.
if (name.equals("prototype"))
return null;
Object result = Scriptable.NOT_FOUND;
if (fieldAndMethods != null) {
result = fieldAndMethods.get(name);
if (result != null)
return result;
}
if (members.has(name, true)) {
result = members.get(this, name, javaObject, true);
} else {
// experimental: look for nested classes by appending $name to current class' name.
try {
String nestedName = getClassObject().getName() + '$' + name;
Class nestedClass = ScriptRuntime.loadClassName(nestedName);
Scriptable nestedValue = wrap(ScriptableObject.getTopLevelScope(this), nestedClass);
nestedValue.setParentScope(this);
result = nestedValue;
} catch (ClassNotFoundException ex) {
throw members.reportMemberNotFound(name);
} catch (IllegalArgumentException e) {
throw members.reportMemberNotFound(name);
}
}
return result;
}
public void put(String name, Scriptable start, Object value) {
members.put(name, javaObject, value, true);
}
public Object[] getIds() {
return members.getIds(true);
}
public Class getClassObject() {
return (Class) super.unwrap();
}
// XXX ??
public static NativeJavaClass wrap(Scriptable scope, Class cls) {
return new NativeJavaClass(scope, cls);
}
public Object getDefaultValue(Class hint) {
if (hint == null || hint == ScriptRuntime.StringClass)
return this.toString();
if (hint == ScriptRuntime.BooleanClass)
return Boolean.TRUE;
if (hint == ScriptRuntime.NumberClass)
return ScriptRuntime.NaNobj;
return this;
}
public Object call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
throws JavaScriptException
{
// If it looks like a "cast" of an object to this class type,
// walk the prototype chain to see if there's a wrapper of a
// object that's an instanceof this class.
if (args.length == 1 && args[0] instanceof Scriptable) {
Class c = getClassObject();
Scriptable p = (Scriptable) args[0];
do {
if (p instanceof Wrapper) {
Object o = ((Wrapper) p).unwrap();
if (c.isInstance(o))
return p;
}
p = p.getPrototype();
} while (p != null);
}
return construct(cx, scope, args);
}
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
throws JavaScriptException
{
Class classObject = getClassObject();
int modifiers = classObject.getModifiers();
if (! (Modifier.isInterface(modifiers) ||
Modifier.isAbstract(modifiers)))
{
Constructor[] ctors = members.getConstructors();
Member member = NativeJavaMethod.findFunction(ctors, args);
Constructor ctor = (Constructor) member;
if (ctor == null) {
String sig = NativeJavaMethod.scriptSignature(args);
Object errArgs[] = { classObject.getName(), sig };
throw Context.reportRuntimeError(Context.getMessage(
"msg.no.java.ctor", errArgs));
}
// Found the constructor, so try invoking it.
return NativeJavaClass.constructSpecific(cx, scope,
this, ctor, args);
} else {
Scriptable topLevel = ScriptableObject.getTopLevelScope(this);
String msg = "";
try {
// trying to construct an interface; use JavaAdapter to
// construct a new class on the fly that implements this
// interface.
Object v = topLevel.get("JavaAdapter", topLevel);
if (v != NOT_FOUND) {
Function f = (Function) v;
Object[] adapterArgs = { this, args[0] };
return (Scriptable) f.construct(cx, topLevel,
adapterArgs);
}
} catch (Exception ex) {
// fall through to error
String m = ex.getMessage();
if (m != null)
msg = m;
}
Object[] errArgs = { msg, classObject.getName() };
throw Context.reportRuntimeError(Context.getMessage
("msg.cant.instantiate",
errArgs));
}
}
public static Scriptable constructSpecific(Context cx,
Scriptable scope,
Scriptable thisObj,
Constructor ctor,
Object[] args)
throws JavaScriptException
{
Scriptable topLevel = ScriptableObject.getTopLevelScope(thisObj);
Class classObject = ctor.getDeclaringClass();
Class[] paramTypes = ctor.getParameterTypes();
for (int i = 0; i < args.length; i++) {
args[i] = NativeJavaObject.coerceType(paramTypes[i], args[i]);
}
try {
// we need to force this to be wrapped, because construct _has_
// to return a scriptable
return
(Scriptable) NativeJavaObject.wrap(topLevel,
ctor.newInstance(args),
classObject);
} catch (InstantiationException instEx) {
Object[] errArgs = { instEx.getMessage(),
classObject.getName() };
throw Context.reportRuntimeError(Context.getMessage
("msg.cant.instantiate",
errArgs));
} catch (IllegalArgumentException argEx) {
String signature = NativeJavaMethod.scriptSignature(args);
String ctorString = ctor.toString();
Object[] errArgs = { argEx.getMessage(),ctorString,signature };
throw Context.reportRuntimeError(Context.getMessage
("msg.bad.ctor.sig",
errArgs));
} catch (InvocationTargetException e) {
throw JavaScriptException.wrapException(scope, e);
} catch (IllegalAccessException accessEx) {
Object[] errArgs = { accessEx.getMessage() };
throw Context.reportRuntimeError(Context.getMessage
("msg.java.internal.private", errArgs));
}
}
public String toString() {
return "[JavaClass " + getClassObject().getName() + "]";
}
/**
* Determines if prototype is a wrapped Java object and performs
* a Java "instanceof".
* Exception: if value is an instance of NativeJavaClass, it isn't
* considered an instance of the Java class; this forestalls any
* name conflicts between java.lang.Class's methods and the
* static methods exposed by a JavaNativeClass.
*/
public boolean hasInstance(Scriptable value) {
if (value instanceof NativeJavaObject &&
!(value instanceof NativeJavaClass)) {
Object instance = ((NativeJavaObject)value).unwrap();
return getClassObject().isInstance(instance);
}
// value wasn't something we understand
return false;
}
private Hashtable fieldAndMethods;
// beard: need a scope for finding top-level prototypes.
private Scriptable parent;
}

View File

@@ -1,100 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Frank Mitchell
* Mike Shaver
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.lang.reflect.*;
/**
* This class reflects a single Java constructor into the JavaScript
* environment. It satisfies a request for an overloaded constructor,
* as introduced in LiveConnect 3.
* All NativeJavaConstructors behave as JSRef `bound' methods, in that they
* always construct the same NativeJavaClass regardless of any reparenting
* that may occur.
*
* @author Frank Mitchell
* @see NativeJavaMethod
* @see NativeJavaPackage
* @see NativeJavaClass
*/
public class NativeJavaConstructor extends NativeFunction implements Function {
public NativeJavaConstructor(Constructor ctor) {
this.constructor = ctor;
names = new String[1];
names[0] = "<init>" + NativeJavaMethod.signature(ctor);
}
public Object call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
throws JavaScriptException
{
// Find a method that matches the types given.
if (constructor == null) {
throw new RuntimeException("No constructor defined for call");
}
// Eliminate useless args[0] and unwrap if required
for (int i = 0; i < args.length; i++) {
if (args[i] instanceof Wrapper) {
args[i] = ((Wrapper)args[i]).unwrap();
}
}
return NativeJavaClass.constructSpecific(cx, scope,
this, constructor, args);
}
/*
public Object getDefaultValue(Class hint) {
return this;
}
*/
public String toString() {
return "[JavaConstructor " + constructor.getName() + "]";
}
Constructor getConstructor() {
return constructor;
}
Constructor constructor;
}

View File

@@ -1,505 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Frank Mitchell
* Mike Shaver
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.lang.reflect.*;
/**
* This class reflects Java methods into the JavaScript environment. It
* handles overloading of methods, and method/field name conflicts.
* All NativeJavaMethods behave as JSRef `bound' methods, in that they
* always operate on the object underlying the original NativeJavaObject
* parent regardless of any reparenting that may occur.
*
* @author Mike Shaver
* @see NativeJavaArray
* @see NativeJavaPackage
* @see NativeJavaClass
*/
public class NativeJavaMethod extends NativeFunction implements Function {
public NativeJavaMethod() {
names = new String[1];
}
public NativeJavaMethod(Method[] methods) {
this.methods = methods;
names = new String[1];
names[0] = methods[0].getName();
}
public NativeJavaMethod(Method method, String name) {
this.methods = new Method[1];
this.methods[0] = method;
names = new String[1];
names[0] = name;
}
public void add(Method method) {
if (names[0] == null) {
names[0] = method.getName();
} else if (!names[0].equals(method.getName())) {
throw new RuntimeException("internal method name mismatch");
}
// XXX a more intelligent growth algorithm would be nice
int len = methods == null ? 0 : methods.length;
Method[] newMeths = new Method[len + 1];
for (int i = 0; i < len; i++)
newMeths[i] = methods[i];
newMeths[len] = method;
methods = newMeths;
}
static String scriptSignature(Object value) {
if (value == null) {
return "null";
}
else {
Class type = value.getClass();
if (type == ScriptRuntime.UndefinedClass)
return "undefined";
if (type == ScriptRuntime.BooleanClass)
return "boolean";
if (type == ScriptRuntime.StringClass)
return "string";
if (ScriptRuntime.NumberClass.isAssignableFrom(type))
return "number";
if (value instanceof NativeJavaObject) {
return ((NativeJavaObject)value).unwrap().getClass().getName();
}
if (value instanceof Scriptable) {
if (value instanceof Function)
return "function";
return "object";
}
return javaSignature(type);
}
}
static String scriptSignature(Object[] values) {
StringBuffer sig = new StringBuffer();
for (int i = 0; i < values.length; i++) {
if (i != 0)
sig.append(',');
sig.append(scriptSignature(values[i]));
}
return sig.toString();
}
static String javaSignature(Class type) {
if (type == null) {
return "null";
}
else if (type.isArray()) {
return javaSignature(type.getComponentType()) + "[]";
}
return type.getName();
}
static String javaSignature(Class[] types) {
StringBuffer sig = new StringBuffer();
for (int i = 0; i < types.length; i++) {
if (i != 0)
sig.append(',');
sig.append(javaSignature(types[i]));
}
return sig.toString();
}
static String signature(Member member) {
Class paramTypes[];
if (member instanceof Method) {
paramTypes = ((Method) member).getParameterTypes();
return member.getName() + "(" + javaSignature(paramTypes) + ")";
}
else {
paramTypes = ((Constructor) member).getParameterTypes();
return "(" + javaSignature(paramTypes) + ")";
}
}
public String toString() {
StringBuffer sb = new StringBuffer();
for (int i=0; i < methods.length; i++) {
sb.append(javaSignature(methods[i].getReturnType()));
sb.append(' ');
sb.append(signature(methods[i]));
sb.append('\n');
}
return sb.toString();
}
public Object call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
throws JavaScriptException
{
// Find a method that matches the types given.
if (methods.length == 0) {
throw new RuntimeException("No methods defined for call");
}
Method meth = (Method) findFunction(methods, args);
if (meth == null) {
Class c = methods[0].getDeclaringClass();
String sig = c.getName() + "." + names[0] + "(" +
scriptSignature(args) + ")";
Object errArgs[] = { sig };
throw Context.reportRuntimeError(
Context.getMessage("msg.java.no_such_method", errArgs));
}
// OPT: already retrieved in findFunction, so we should inline that
// OPT: or pass it back somehow
Class paramTypes[] = meth.getParameterTypes();
// First, we marshall the args.
for (int i = 0; i < args.length; i++) {
args[i] = NativeJavaObject.coerceType(paramTypes[i], args[i]);
}
Object javaObject;
if (Modifier.isStatic(meth.getModifiers())) {
javaObject = null; // don't need an object
} else {
Scriptable o = thisObj;
while (!(o instanceof NativeJavaObject)) {
o = o.getPrototype();
if (o == null) {
Object errArgs[] = { names[0] };
throw Context.reportRuntimeError(
Context.getMessage("msg.nonjava.method", errArgs));
}
}
javaObject = ((NativeJavaObject) o).unwrap();
}
try {
if (debug) {
printDebug("Calling ", meth, args);
}
Object retval = meth.invoke(javaObject, args);
Class staticType = meth.getReturnType();
if (debug) {
Class actualType = (retval == null) ? null : retval.getClass();
System.err.println(" ----- Returned " + retval +
" actual = " + actualType +
" expect = " + staticType);
}
Object wrapped = NativeJavaObject.wrap(scope, retval, staticType);
if (debug) {
Class actualType = (wrapped == null) ? null : wrapped.getClass();
System.err.println(" ----- Wrapped as " + wrapped +
" class = " + actualType);
}
if (wrapped == Undefined.instance)
return wrapped;
if (wrapped == null && staticType == Void.TYPE)
return Undefined.instance;
return wrapped;
} catch (IllegalAccessException accessEx) {
throw Context.reportRuntimeError(accessEx.getMessage());
} catch (InvocationTargetException e) {
throw JavaScriptException.wrapException(scope, e);
}
}
/**
* Find the correct function to call given the set of methods
* or constructors and the arguments.
* If no function can be found to call, return null.
*/
static Member findFunction(Member[] methodsOrCtors, Object[] args) {
if (methodsOrCtors.length == 0)
return null;
boolean hasMethods = methodsOrCtors[0] instanceof Method;
if (Context.useJSObject &&
NativeJavaObject.jsObjectClass != null)
{
try {
for (int i = 0; i < args.length; i++) {
if (NativeJavaObject.jsObjectClass.isInstance(args[i]))
args[i] = NativeJavaObject.jsObjectGetScriptable.invoke(
args[i], ScriptRuntime.emptyArgs);
}
}
catch (InvocationTargetException e) {
// Just abandon conversion from JSObject
}
catch (IllegalAccessException e) {
// Just abandon conversion from JSObject
}
}
Member bestFit = null;
Class[] bestFitTypes = null;
java.util.Vector ambiguousMethods = null;
for (int i = 0; i < methodsOrCtors.length; i++) {
Member member = methodsOrCtors[i];
Class paramTypes[] = hasMethods
? ((Method) member).getParameterTypes()
: ((Constructor) member).getParameterTypes();
if (paramTypes.length != args.length) {
continue;
}
if (bestFitTypes == null) {
int j;
for (j = 0; j < paramTypes.length; j++) {
if (!NativeJavaObject.canConvert(args[j], paramTypes[j])) {
if (debug) printDebug("Rejecting (args can't convert) ",
member, args);
break;
}
}
if (j == paramTypes.length) {
if (debug) printDebug("Found ", member, args);
bestFit = member;
bestFitTypes = paramTypes;
}
}
else {
int preference =
NativeJavaMethod.preferSignature(args,
paramTypes,
bestFitTypes);
if (preference == PREFERENCE_AMBIGUOUS) {
if (debug) printDebug("Deferring ", member, args);
// add to "ambiguity list"
if (ambiguousMethods == null)
ambiguousMethods = new java.util.Vector();
ambiguousMethods.addElement(member);
}
else if (preference == PREFERENCE_FIRST_ARG) {
if (debug) printDebug("Substituting ", member, args);
bestFit = member;
bestFitTypes = paramTypes;
}
else {
if (preference == PREFERENCE_EQUAL &&
Modifier.isStatic(bestFit.getModifiers()) &&
bestFit.getDeclaringClass().isAssignableFrom(
member.getDeclaringClass()))
{
// On some JVMs, Class.getMethods will return all
// static methods of the class heirarchy, even if
// a derived class's parameters match exactly.
// We want to call the dervied class's method.
if (debug) printDebug("Rejecting (overridden static)",
member, args);
bestFit = member;
bestFitTypes = paramTypes;
} else {
if (debug) printDebug("Rejecting ", member, args);
}
}
}
}
if (ambiguousMethods == null)
return bestFit;
// Compare ambiguous methods with best fit, in case
// the current best fit removes the ambiguities.
for (int i = ambiguousMethods.size() - 1; i >= 0 ; i--) {
Member member = (Member)ambiguousMethods.elementAt(i);
Class paramTypes[] = hasMethods
? ((Method) member).getParameterTypes()
: ((Constructor) member).getParameterTypes();
int preference =
NativeJavaMethod.preferSignature(args,
paramTypes,
bestFitTypes);
if (preference == PREFERENCE_FIRST_ARG) {
if (debug) printDebug("Substituting ", member, args);
bestFit = member;
bestFitTypes = paramTypes;
ambiguousMethods.removeElementAt(i);
}
else if (preference == PREFERENCE_SECOND_ARG) {
if (debug) printDebug("Rejecting ", member, args);
ambiguousMethods.removeElementAt(i);
}
else {
if (debug) printDebug("UNRESOLVED: ", member, args);
}
}
if (ambiguousMethods.size() > 0) {
// PENDING: report remaining ambiguity
StringBuffer buf = new StringBuffer();
boolean isCtor = (bestFit instanceof Constructor);
ambiguousMethods.addElement(bestFit);
for (int i = 0; i < ambiguousMethods.size(); i++) {
if (i != 0) {
buf.append(", ");
}
Member member = (Member)ambiguousMethods.elementAt(i);
if (!isCtor) {
Class rtnType = ((Method)member).getReturnType();
buf.append(rtnType);
buf.append(' ');
}
buf.append(NativeJavaMethod.signature(member));
}
String errMsg;
if (isCtor) {
Object errArgs[] = {
bestFit.getName(),
NativeJavaMethod.scriptSignature(args),
buf.toString()
};
errMsg =
Context.getMessage("msg.constructor.ambiguous", errArgs);
}
else {
Object errArgs[] = {
bestFit.getDeclaringClass().getName(),
bestFit.getName(),
NativeJavaMethod.scriptSignature(args),
buf.toString()
};
errMsg = Context.getMessage("msg.method.ambiguous", errArgs);
}
throw
Context.reportRuntimeError(errMsg);
}
return bestFit;
}
/** Types are equal */
static final int PREFERENCE_EQUAL = 0;
static final int PREFERENCE_FIRST_ARG = 1;
static final int PREFERENCE_SECOND_ARG = 2;
/** No clear "easy" conversion */
static final int PREFERENCE_AMBIGUOUS = 3;
/**
* Determine which of two signatures is the closer fit.
* Returns one of PREFERENCE_EQUAL, PREFERENCE_FIRST_ARG,
* PREFERENCE_SECOND_ARG, or PREFERENCE_AMBIGUOUS.
*/
public static int preferSignature(Object[] args,
Class[] sig1, Class[] sig2)
{
int preference = 0;
for (int j = 0; j < args.length; j++) {
Class type1 = sig1[j];
Class type2 = sig2[j];
if (type1 == type2) {
continue;
}
preference |=
NativeJavaMethod.preferConversion(args[j],
type1,
type2);
if (preference == PREFERENCE_AMBIGUOUS) {
break;
}
}
return preference;
}
/**
* Determine which of two types is the easier conversion.
* Returns one of PREFERENCE_EQUAL, PREFERENCE_FIRST_ARG,
* PREFERENCE_SECOND_ARG, or PREFERENCE_AMBIGUOUS.
*/
public static int preferConversion(Object fromObj,
Class toClass1, Class toClass2) {
int rank1 =
NativeJavaObject.getConversionWeight(fromObj, toClass1);
int rank2 =
NativeJavaObject.getConversionWeight(fromObj, toClass2);
if (rank1 == NativeJavaObject.CONVERSION_NONTRIVIAL &&
rank2 == NativeJavaObject.CONVERSION_NONTRIVIAL) {
if (toClass1.isAssignableFrom(toClass2)) {
return PREFERENCE_SECOND_ARG;
}
else if (toClass2.isAssignableFrom(toClass1)) {
return PREFERENCE_FIRST_ARG;
}
}
else {
if (rank1 < rank2) {
return PREFERENCE_FIRST_ARG;
}
else if (rank1 > rank2) {
return PREFERENCE_SECOND_ARG;
}
}
return PREFERENCE_AMBIGUOUS;
}
Method[] getMethods() {
return methods;
}
private static final boolean debug = false;
private static void printDebug(String msg, Member member, Object[] args) {
if (debug) {
System.err.println(" ----- " + msg +
member.getDeclaringClass().getName() +
"." + signature(member) +
" for arguments (" + scriptSignature(args) + ")");
}
}
Method methods[];
}

View File

@@ -1,921 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Frank Mitchell
* Mike Shaver
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.lang.reflect.*;
import java.util.Hashtable;
import java.util.Enumeration;
/**
* This class reflects non-Array Java objects into the JavaScript environment. It
* reflect fields directly, and uses NativeJavaMethod objects to reflect (possibly
* overloaded) methods.<p>
*
* @author Mike Shaver
* @see NativeJavaArray
* @see NativeJavaPackage
* @see NativeJavaClass
*/
public class NativeJavaObject implements Scriptable, Wrapper {
public NativeJavaObject(Scriptable scope, Object javaObject,
JavaMembers members)
{
this.parent = scope;
this.javaObject = javaObject;
this.members = members;
}
public NativeJavaObject(Scriptable scope, Object javaObject,
Class staticType)
{
this.parent = scope;
this.javaObject = javaObject;
Class dynamicType = javaObject != null ? javaObject.getClass()
: staticType;
members = JavaMembers.lookupClass(scope, dynamicType, staticType);
fieldAndMethods = members.getFieldAndMethodsObjects(this, javaObject, false);
}
public boolean has(String name, Scriptable start) {
return members.has(name, false);
}
public boolean has(int index, Scriptable start) {
return false;
}
public Object get(String name, Scriptable start) {
if (fieldAndMethods != null) {
Object result = fieldAndMethods.get(name);
if (result != null) {
return result;
}
}
// TODO: passing 'this' as the scope is bogus since it has
// no parent scope
return members.get(this, name, javaObject, false);
}
public Object get(int index, Scriptable start) {
throw members.reportMemberNotFound(Integer.toString(index));
}
public void put(String name, Scriptable start, Object value) {
members.put(name, javaObject, value, false);
}
public void put(int index, Scriptable start, Object value) {
throw members.reportMemberNotFound(Integer.toString(index));
}
public boolean hasInstance(Scriptable value) {
// This is an instance of a Java class, so always return false
return false;
}
public void delete(String name) {
}
public void delete(int index) {
}
public Scriptable getPrototype() {
if (prototype == null && javaObject.getClass() == ScriptRuntime.StringClass) {
return ScriptableObject.getClassPrototype(parent, "String");
}
return prototype;
}
/**
* Sets the prototype of the object.
*/
public void setPrototype(Scriptable m) {
prototype = m;
}
/**
* Returns the parent (enclosing) scope of the object.
*/
public Scriptable getParentScope() {
return parent;
}
/**
* Sets the parent (enclosing) scope of the object.
*/
public void setParentScope(Scriptable m) {
parent = m;
}
public Object[] getIds() {
return members.getIds(false);
}
public static Object wrap(Scriptable scope, Object obj, Class staticType)
{
if (obj == null)
return obj;
Context cx = Context.getCurrentContext();
if (cx != null && cx.wrapHandler != null) {
Object result = cx.wrapHandler.wrap(scope, obj, staticType);
if (result != null)
return result;
}
Class cls = obj.getClass();
if (staticType != null && staticType.isPrimitive()) {
if (staticType == Void.TYPE)
return Undefined.instance;
if (staticType == Character.TYPE)
return new Integer((int) ((Character) obj).charValue());
return obj;
}
if (cls.isArray())
return NativeJavaArray.wrap(scope, obj);
if (obj instanceof Scriptable)
return obj;
if (Context.useJSObject && jsObjectClass != null &&
staticType != jsObjectClass && jsObjectClass.isInstance(obj))
{
try {
return jsObjectGetScriptable.invoke(obj, ScriptRuntime.emptyArgs);
}
catch (InvocationTargetException e) {
// Just abandon conversion from JSObject
}
catch (IllegalAccessException e) {
// Just abandon conversion from JSObject
}
}
return new NativeJavaObject(scope, obj, staticType);
}
public Object unwrap() {
return javaObject;
}
public String getClassName() {
return "JavaObject";
}
Function getConverter(String converterName) {
Object converterFunction = get(converterName, this);
if (converterFunction instanceof Function) {
return (Function) converterFunction;
}
return null;
}
Object callConverter(Function converterFunction)
throws JavaScriptException
{
Function f = (Function) converterFunction;
return f.call(Context.getContext(), f.getParentScope(),
this, new Object[0]);
}
Object callConverter(String converterName)
throws JavaScriptException
{
Function converter = getConverter(converterName);
if (converter == null) {
Object[] errArgs = { converterName, javaObject.getClass().getName() };
throw Context.reportRuntimeError(
Context.getMessage("msg.java.conversion.implicit_method",
errArgs));
}
return callConverter(converter);
}
public Object getDefaultValue(Class hint) {
if (hint == null || hint == ScriptRuntime.StringClass)
return javaObject.toString();
try {
if (hint == ScriptRuntime.BooleanClass)
return callConverter("booleanValue");
if (hint == ScriptRuntime.NumberClass) {
return callConverter("doubleValue");
}
// fall through to error message
} catch (JavaScriptException jse) {
// fall through to error message
}
throw Context.reportRuntimeError(
Context.getMessage("msg.default.value", null));
}
/**
* Determine whether we can/should convert between the given type and the
* desired one. This should be superceded by a conversion-cost calculation
* function, but for now I'll hide behind precedent.
*/
public static boolean canConvert(Object fromObj, Class to) {
int weight = NativeJavaObject.getConversionWeight(fromObj, to);
return (weight < CONVERSION_NONE);
}
static final int JSTYPE_UNDEFINED = 0; // undefined type
static final int JSTYPE_NULL = 1; // null
static final int JSTYPE_BOOLEAN = 2; // boolean
static final int JSTYPE_NUMBER = 3; // number
static final int JSTYPE_STRING = 4; // string
static final int JSTYPE_JAVA_CLASS = 5; // JavaClass
static final int JSTYPE_JAVA_OBJECT = 6; // JavaObject
static final int JSTYPE_JAVA_ARRAY = 7; // JavaArray
static final int JSTYPE_OBJECT = 8; // Scriptable
public static final byte CONVERSION_TRIVIAL = 1;
public static final byte CONVERSION_NONTRIVIAL = 0;
public static final byte CONVERSION_NONE = 99;
/**
* Derive a ranking based on how "natural" the conversion is.
* The special value CONVERSION_NONE means no conversion is possible,
* and CONVERSION_NONTRIVIAL signals that more type conformance testing
* is required.
* Based on
* <a href="http://www.mozilla.org/js/liveconnect/lc3_method_overloading.html">
* "preferred method conversions" from Live Connect 3</a>
*/
public static int getConversionWeight(Object fromObj, Class to) {
int fromCode = NativeJavaObject.getJSTypeCode(fromObj);
int result = CONVERSION_NONE;
switch (fromCode) {
case JSTYPE_UNDEFINED:
if (to == ScriptRuntime.StringClass ||
to == ScriptRuntime.ObjectClass) {
result = 1;
}
break;
case JSTYPE_NULL:
if (!to.isPrimitive()) {
result = 1;
}
break;
case JSTYPE_BOOLEAN:
// "boolean" is #1
if (to == Boolean.TYPE) {
result = 1;
}
else if (to == ScriptRuntime.BooleanClass) {
result = 2;
}
else if (to == ScriptRuntime.ObjectClass) {
result = 3;
}
else if (to == ScriptRuntime.StringClass) {
result = 4;
}
break;
case JSTYPE_NUMBER:
if (to.isPrimitive()) {
if (to == Double.TYPE) {
result = 1;
}
else if (to != Boolean.TYPE) {
result = 1 + NativeJavaObject.getSizeRank(to);
}
}
else {
if (to == ScriptRuntime.StringClass) {
// native numbers are #1-8
result = 9;
}
else if (to == ScriptRuntime.ObjectClass) {
result = 10;
}
else if (ScriptRuntime.NumberClass.isAssignableFrom(to)) {
// "double" is #1
result = 2;
}
}
break;
case JSTYPE_STRING:
if (to == ScriptRuntime.StringClass) {
result = 1;
}
else if (to == ScriptRuntime.ObjectClass) {
result = 2;
}
else if (to.isPrimitive() && to != Boolean.TYPE) {
if (to == Character.TYPE) {
result = 3;
}
else {
result = 4;
}
}
break;
case JSTYPE_JAVA_CLASS:
if (to == ScriptRuntime.ClassClass) {
result = 1;
}
else if (Context.useJSObject && jsObjectClass != null &&
jsObjectClass.isAssignableFrom(to)) {
result = 2;
}
else if (to == ScriptRuntime.ObjectClass) {
result = 3;
}
else if (to == ScriptRuntime.StringClass) {
result = 4;
}
break;
case JSTYPE_JAVA_OBJECT:
case JSTYPE_JAVA_ARRAY:
if (to == ScriptRuntime.StringClass) {
result = 2;
}
else if (to.isPrimitive() && to != Boolean.TYPE) {
result =
(fromCode == JSTYPE_JAVA_ARRAY) ?
CONVERSION_NONTRIVIAL :
2 + NativeJavaObject.getSizeRank(to);
}
else {
Object javaObj = fromObj;
if (javaObj instanceof NativeJavaObject) {
javaObj = ((NativeJavaObject)javaObj).unwrap();
}
if (to.isInstance(javaObj)) {
result = CONVERSION_NONTRIVIAL;
}
}
break;
case JSTYPE_OBJECT:
// Other objects takes #1-#3 spots
if (Context.useJSObject && jsObjectClass != null &&
jsObjectClass.isAssignableFrom(to)) {
result = 1;
}
else if (fromObj instanceof NativeArray && to.isArray()) {
// This is a native array conversion to a java array
// Array conversions are all equal, and preferable to object
// and string conversion, per LC3.
result = 1;
}
else if (to == ScriptRuntime.ObjectClass) {
result = 2;
}
else if (to == ScriptRuntime.StringClass) {
result = 3;
}
else if (to.isPrimitive() || to != Boolean.TYPE) {
result = 3 + NativeJavaObject.getSizeRank(to);
}
break;
}
return result;
}
static int getSizeRank(Class aType) {
if (aType == Double.TYPE) {
return 1;
}
else if (aType == Float.TYPE) {
return 2;
}
else if (aType == Long.TYPE) {
return 3;
}
else if (aType == Integer.TYPE) {
return 4;
}
else if (aType == Short.TYPE) {
return 5;
}
else if (aType == Character.TYPE) {
return 6;
}
else if (aType == Byte.TYPE) {
return 7;
}
else if (aType == Boolean.TYPE) {
return CONVERSION_NONE;
}
else {
return 8;
}
}
static int getJSTypeCode(Object value) {
if (value == null) {
return JSTYPE_NULL;
}
else if (value == Undefined.instance) {
return JSTYPE_UNDEFINED;
}
else if (value instanceof Scriptable) {
if (value instanceof NativeJavaClass) {
return JSTYPE_JAVA_CLASS;
}
else if (value instanceof NativeJavaArray) {
return JSTYPE_JAVA_ARRAY;
}
else if (value instanceof NativeJavaObject) {
return JSTYPE_JAVA_OBJECT;
}
else {
return JSTYPE_OBJECT;
}
}
else {
Class valueClass = value.getClass();
if (valueClass == ScriptRuntime.StringClass) {
return JSTYPE_STRING;
}
else if (valueClass == ScriptRuntime.BooleanClass) {
return JSTYPE_BOOLEAN;
}
else if (value instanceof Number) {
return JSTYPE_NUMBER;
}
else if (valueClass == ScriptRuntime.ClassClass) {
return JSTYPE_JAVA_CLASS;
}
else if (valueClass.isArray()) {
return JSTYPE_JAVA_ARRAY;
}
else {
return JSTYPE_JAVA_OBJECT;
}
}
}
/**
* Type-munging for field setting and method invocation.
* Conforms to LC3 specification
*/
public static Object coerceType(Class type, Object value) {
if (value != null && value.getClass() == type) {
return value;
}
switch (NativeJavaObject.getJSTypeCode(value)) {
case JSTYPE_NULL:
// raise error if type.isPrimitive()
if (type.isPrimitive()) {
reportConversionError(value, type);
}
return null;
case JSTYPE_UNDEFINED:
if (type == ScriptRuntime.StringClass ||
type == ScriptRuntime.ObjectClass) {
return "undefined";
}
else {
reportConversionError("undefined", type);
}
break;
case JSTYPE_BOOLEAN:
// Under LC3, only JS Booleans can be coerced into a Boolean value
if (type == Boolean.TYPE ||
type == ScriptRuntime.BooleanClass ||
type == ScriptRuntime.ObjectClass) {
return value;
}
else if (type == ScriptRuntime.StringClass) {
return value.toString();
}
else {
reportConversionError(value, type);
}
break;
case JSTYPE_NUMBER:
if (type == ScriptRuntime.StringClass) {
return ScriptRuntime.toString(value);
}
else if (type == ScriptRuntime.ObjectClass) {
return coerceToNumber(Double.TYPE, value);
}
else if ((type.isPrimitive() && type != Boolean.TYPE) ||
ScriptRuntime.NumberClass.isAssignableFrom(type)) {
return coerceToNumber(type, value);
}
else {
reportConversionError(value, type);
}
break;
case JSTYPE_STRING:
if (type == ScriptRuntime.StringClass ||
type == ScriptRuntime.ObjectClass) {
return value;
}
else if (type == Character.TYPE ||
type == ScriptRuntime.CharacterClass) {
// Special case for converting a single char string to a
// character
// Placed here because it applies *only* to JS strings,
// not other JS objects converted to strings
if (((String)value).length() == 1) {
return new Character(((String)value).charAt(0));
}
else {
return coerceToNumber(type, value);
}
}
else if ((type.isPrimitive() && type != Boolean.TYPE) ||
ScriptRuntime.NumberClass.isAssignableFrom(type)) {
return coerceToNumber(type, value);
}
else {
reportConversionError(value, type);
}
break;
case JSTYPE_JAVA_CLASS:
if (Context.useJSObject && jsObjectClass != null &&
(type == ScriptRuntime.ObjectClass ||
jsObjectClass.isAssignableFrom(type))) {
return coerceToJSObject(type, (Scriptable)value);
}
else {
if (value instanceof Wrapper) {
value = ((Wrapper)value).unwrap();
}
if (type == ScriptRuntime.ClassClass ||
type == ScriptRuntime.ObjectClass) {
return value;
}
else if (type == ScriptRuntime.StringClass) {
return value.toString();
}
else {
reportConversionError(value, type);
}
}
break;
case JSTYPE_JAVA_OBJECT:
case JSTYPE_JAVA_ARRAY:
if (type.isPrimitive()) {
if (type == Boolean.TYPE) {
reportConversionError(value, type);
}
return coerceToNumber(type, value);
}
else {
if (value instanceof Wrapper) {
value = ((Wrapper)value).unwrap();
}
if (type == ScriptRuntime.StringClass) {
return value.toString();
}
else {
if (type.isInstance(value)) {
return value;
}
else {
reportConversionError(value, type);
}
}
}
break;
case JSTYPE_OBJECT:
if (Context.useJSObject && jsObjectClass != null &&
(type == ScriptRuntime.ObjectClass ||
jsObjectClass.isAssignableFrom(type))) {
return coerceToJSObject(type, (Scriptable)value);
}
else if (type == ScriptRuntime.StringClass) {
return ScriptRuntime.toString(value);
}
else if (type.isPrimitive()) {
if (type == Boolean.TYPE) {
reportConversionError(value, type);
}
return coerceToNumber(type, value);
}
else if (type.isInstance(value)) {
return value;
}
else if (type.isArray() && value instanceof NativeArray) {
// Make a new java array, and coerce the JS array components
// to the target (component) type.
NativeArray array = (NativeArray) value;
long length = array.jsGet_length();
Class arrayType = type.getComponentType();
Object Result = Array.newInstance(arrayType, (int)length);
for (int i = 0 ; i < length ; ++i) {
try {
Array.set(Result, i, coerceType(arrayType,
array.get(i, array)));
}
catch (EvaluatorException ee) {
reportConversionError(value, type);
}
}
return Result;
}
else {
reportConversionError(value, type);
}
break;
}
return value;
}
static Object coerceToJSObject(Class type, Scriptable value) {
// If JSObject compatibility is enabled, and the method wants it,
// wrap the Scriptable value in a JSObject.
if (ScriptRuntime.ScriptableClass.isAssignableFrom(type))
return value;
try {
Object ctorArgs[] = { value };
return jsObjectCtor.newInstance(ctorArgs);
} catch (InstantiationException instEx) {
throw new EvaluatorException("error generating JSObject wrapper for " +
value);
} catch (IllegalArgumentException argEx) {
throw new EvaluatorException("JSObject constructor doesn't want [Scriptable]!");
} catch (InvocationTargetException e) {
throw WrappedException.wrapException(e.getTargetException());
} catch (IllegalAccessException accessEx) {
throw new EvaluatorException("JSObject constructor is protected/private!");
}
}
static Object coerceToNumber(Class type, Object value) {
Class valueClass = value.getClass();
// Character
if (type == Character.TYPE || type == ScriptRuntime.CharacterClass) {
if (valueClass == ScriptRuntime.CharacterClass) {
return value;
}
return new Character((char)toInteger(value,
ScriptRuntime.CharacterClass,
(double)Character.MIN_VALUE,
(double)Character.MAX_VALUE));
}
// Double, Float
if (type == ScriptRuntime.ObjectClass ||
type == ScriptRuntime.DoubleClass || type == Double.TYPE) {
return valueClass == ScriptRuntime.DoubleClass
? value
: new Double(toDouble(value));
}
if (type == ScriptRuntime.FloatClass || type == Float.TYPE) {
if (valueClass == ScriptRuntime.FloatClass) {
return value;
}
else {
double number = toDouble(value);
if (Double.isInfinite(number) || Double.isNaN(number)
|| number == 0.0) {
return new Float((float)number);
}
else {
double absNumber = Math.abs(number);
if (absNumber < (double)Float.MIN_VALUE) {
return new Float((number > 0.0) ? +0.0 : -0.0);
}
else if (absNumber > (double)Float.MAX_VALUE) {
return new Float((number > 0.0) ?
Float.POSITIVE_INFINITY :
Float.NEGATIVE_INFINITY);
}
else {
return new Float((float)number);
}
}
}
}
// Integer, Long, Short, Byte
if (type == ScriptRuntime.IntegerClass || type == Integer.TYPE) {
if (valueClass == ScriptRuntime.IntegerClass) {
return value;
}
else {
return new Integer((int)toInteger(value,
ScriptRuntime.IntegerClass,
(double)Integer.MIN_VALUE,
(double)Integer.MAX_VALUE));
}
}
if (type == ScriptRuntime.LongClass || type == Long.TYPE) {
if (valueClass == ScriptRuntime.LongClass) {
return value;
}
else {
/* Long values cannot be expressed exactly in doubles.
* We thus use the largest and smallest double value that
* has a value expressible as a long value. We build these
* numerical values from their hexidecimal representations
* to avoid any problems caused by attempting to parse a
* decimal representation.
*/
final double max = Double.longBitsToDouble(0x43dfffffffffffffL);
final double min = Double.longBitsToDouble(0xc3e0000000000000L);
return new Long(toInteger(value,
ScriptRuntime.LongClass,
min,
max));
}
}
if (type == ScriptRuntime.ShortClass || type == Short.TYPE) {
if (valueClass == ScriptRuntime.ShortClass) {
return value;
}
else {
return new Short((short)toInteger(value,
ScriptRuntime.ShortClass,
(double)Short.MIN_VALUE,
(double)Short.MAX_VALUE));
}
}
if (type == ScriptRuntime.ByteClass || type == Byte.TYPE) {
if (valueClass == ScriptRuntime.ByteClass) {
return value;
}
else {
return new Byte((byte)toInteger(value,
ScriptRuntime.ByteClass,
(double)Byte.MIN_VALUE,
(double)Byte.MAX_VALUE));
}
}
return new Double(toDouble(value));
}
static double toDouble(Object value) {
if (value instanceof Number) {
return ((Number)value).doubleValue();
}
else if (value instanceof String) {
return ScriptRuntime.toNumber((String)value);
}
else if (value instanceof Scriptable) {
if (value instanceof Wrapper) {
// XXX: optimize tail-recursion?
return toDouble(((Wrapper)value).unwrap());
}
else {
return ScriptRuntime.toNumber(value);
}
}
else {
Method meth;
try {
meth = value.getClass().getMethod("doubleValue", null);
}
catch (NoSuchMethodException e) {
meth = null;
}
catch (SecurityException e) {
meth = null;
}
if (meth != null) {
try {
return ((Number)meth.invoke(value, null)).doubleValue();
}
catch (IllegalAccessException e) {
// XXX: ignore, or error message?
reportConversionError(value, Double.TYPE);
}
catch (InvocationTargetException e) {
// XXX: ignore, or error message?
reportConversionError(value, Double.TYPE);
}
}
return ScriptRuntime.toNumber(value.toString());
}
}
static long toInteger(Object value, Class type, double min, double max) {
double d = toDouble(value);
if (Double.isInfinite(d) || Double.isNaN(d)) {
// Convert to string first, for more readable message
reportConversionError(ScriptRuntime.toString(value), type);
}
if (d > 0.0) {
d = Math.floor(d);
}
else {
d = Math.ceil(d);
}
if (d < min || d > max) {
// Convert to string first, for more readable message
reportConversionError(ScriptRuntime.toString(value), type);
}
return (long)d;
}
static void reportConversionError(Object value, Class type) {
Object[] args = { value.toString(),
NativeJavaMethod.javaSignature(type)
};
throw Context.reportRuntimeError(
Context.getMessage("msg.conversion.not.allowed", args));
}
public static void initJSObject() {
if (!Context.useJSObject)
return;
// if netscape.javascript.JSObject is in the CLASSPATH, enable JSObject
// compatability wrappers
jsObjectClass = null;
try {
jsObjectClass = Class.forName("netscape.javascript.JSObject");
Class ctorParms[] = { ScriptRuntime.ScriptableClass };
jsObjectCtor = jsObjectClass.getConstructor(ctorParms);
jsObjectGetScriptable = jsObjectClass.getMethod("getScriptable",
new Class[0]);
} catch (ClassNotFoundException classEx) {
// jsObjectClass already null
} catch (NoSuchMethodException methEx) {
// jsObjectClass already null
}
}
/**
* The prototype of this object.
*/
protected Scriptable prototype;
/**
* The parent scope of this object.
*/
protected Scriptable parent;
protected Object javaObject;
protected JavaMembers members;
private Hashtable fieldAndMethods;
static Class jsObjectClass;
static Constructor jsObjectCtor;
static Method jsObjectGetScriptable;
}

View File

@@ -1,237 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Frank Mitchell
* Mike Shaver
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.lang.reflect.*;
/**
* This class reflects Java packages into the JavaScript environment. We
* lazily reflect classes and subpackages, and use a caching/sharing
* system to ensure that members reflected into one JavaPackage appear
* in all other references to the same package (as with Packages.java.lang
* and java.lang).
*
* @author Mike Shaver
* @see NativeJavaArray
* @see NativeJavaObject
* @see NativeJavaClass
*/
public class NativeJavaPackage extends ScriptableObject {
// we know these are packages so we can skip the class check
// note that this is ok even if the package isn't present.
static final String[] commonPackages = {
"java.lang",
"java.lang.reflect",
"java.io",
"java.math",
"java.util",
"java.util.zip",
"java.text",
"java.text.resources",
"java.applet",
};
public static Scriptable init(Scriptable scope)
throws PropertyException
{
NativeJavaPackage packages = new NativeJavaPackage("");
packages.setPrototype(getObjectPrototype(scope));
packages.setParentScope(scope);
// We want to get a real alias, and not a distinct JavaPackage
// with the same packageName, so that we share classes and packages
// that are underneath.
NativeJavaPackage javaAlias = (NativeJavaPackage)packages.get("java",
packages);
// It's safe to downcast here since initStandardObjects takes
// a ScriptableObject.
ScriptableObject global = (ScriptableObject) scope;
global.defineProperty("Packages", packages, ScriptableObject.DONTENUM);
global.defineProperty("java", javaAlias, ScriptableObject.DONTENUM);
for (int i = 0; i < commonPackages.length; i++)
packages.forcePackage(commonPackages[i]);
NativeJavaObject.initJSObject();
Method[] m = FunctionObject.findMethods(NativeJavaPackage.class,
"jsFunction_getClass");
FunctionObject f = new FunctionObject("getClass", m[0], global);
global.defineProperty("getClass", f, ScriptableObject.DONTENUM);
// I think I'm supposed to return the prototype, but I don't have one.
return packages;
}
// set up a name which is known to be a package so we don't
// need to look for a class by that name
void forcePackage(String name) {
NativeJavaPackage pkg;
int end = name.indexOf('.');
if (end == -1)
end = name.length();
String id = name.substring(0, end);
Object cached = super.get(id, this);
if (cached != null && cached instanceof NativeJavaPackage) {
pkg = (NativeJavaPackage) cached;
} else {
String newPackage = packageName.length() == 0
? id
: packageName + "." + id;
pkg = new NativeJavaPackage(newPackage);
pkg.setParentScope(this);
pkg.setPrototype(this.prototype);
super.put(id, this, pkg);
}
if (end < name.length())
pkg.forcePackage(name.substring(end+1));
}
public NativeJavaPackage(String packageName) {
this.packageName = packageName;
}
public String getClassName() {
return "JavaPackage";
}
public boolean has(String id, int index, Scriptable start) {
return true;
}
public void put(String id, Scriptable start, Object value) {
// Can't add properties to Java packages. Sorry.
}
public void put(int index, Scriptable start, Object value) {
throw Context.reportRuntimeError(
Context.getMessage("msg.pkg.int", null));
}
public Object get(String id, Scriptable start) {
return getPkgProperty(id, start, true);
}
public Object get(int index, Scriptable start) {
return NOT_FOUND;
}
synchronized Object getPkgProperty(String name, Scriptable start,
boolean createPkg)
{
Object cached = super.get(name, start);
if (cached != NOT_FOUND)
return cached;
String newPackage = packageName.length() == 0
? name
: packageName + "." + name;
Context cx = Context.getContext();
SecuritySupport ss = cx.getSecuritySupport();
Scriptable newValue;
try {
if (ss != null && !ss.visibleToScripts(newPackage))
throw new ClassNotFoundException();
Class newClass = ScriptRuntime.loadClassName(newPackage);
newValue = NativeJavaClass.wrap(getTopLevelScope(this), newClass);
newValue.setParentScope(this);
newValue.setPrototype(this.prototype);
} catch (ClassNotFoundException ex) {
if (createPkg) {
NativeJavaPackage pkg = new NativeJavaPackage(newPackage);
pkg.setParentScope(this);
pkg.setPrototype(this.prototype);
newValue = pkg;
} else {
newValue = null;
}
}
if (newValue != null) {
// Make it available for fast lookup and sharing of
// lazily-reflected constructors and static members.
super.put(name, start, newValue);
}
return newValue;
}
public Object getDefaultValue(Class ignored) {
return toString();
}
public String toString() {
return "[JavaPackage " + packageName + "]";
}
public static Scriptable jsFunction_getClass(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
{
if (args.length > 0 && args[0] instanceof NativeJavaObject) {
NativeJavaObject nativeJavaObj = (NativeJavaObject) args[0];
Scriptable result = getTopLevelScope(thisObj);
Class cl = nativeJavaObj.unwrap().getClass();
// Evaluate the class name by getting successive properties of
// the string to find the appropriate NativeJavaClass object
String name = "Packages." + cl.getName();
int offset = 0;
for (;;) {
int index = name.indexOf('.', offset);
String propName = index == -1
? name.substring(offset)
: name.substring(offset, index);
Object prop = result.get(propName, result);
if (!(prop instanceof Scriptable))
break; // fall through to error
result = (Scriptable) prop;
if (index == -1)
return result;
offset = index+1;
}
}
throw Context.reportRuntimeError(
Context.getMessage("msg.not.java.obj", null));
}
private String packageName;
}

View File

@@ -1,198 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
/**
* This class implements the Math native object.
* See ECMA 15.8.
* @author Norris Boyd
*/
public class NativeMath extends ScriptableObject {
public static Scriptable init(Scriptable scope)
throws PropertyException
{
NativeMath m = new NativeMath();
m.setPrototype(getObjectPrototype(scope));
m.setParentScope(scope);
String[] names = { "atan", "atan2", "ceil",
"cos", "floor", "random",
"sin", "sqrt", "tan" };
m.defineFunctionProperties(names, java.lang.Math.class,
ScriptableObject.DONTENUM);
// These functions exist in java.lang.Math, but
// are overloaded. Define our own wrappers.
String[] localNames = { "acos", "asin", "abs", "exp", "max", "min",
"round", "pow", "log" };
m.defineFunctionProperties(localNames, NativeMath.class,
ScriptableObject.DONTENUM);
/*
have to fix up the length property for max & min
which are varargs form, but need to have a length of 2
*/
((FunctionObject)m.get("max", scope)).setLength((short)2);
((FunctionObject)m.get("min", scope)).setLength((short)2);
final int attr = ScriptableObject.DONTENUM |
ScriptableObject.PERMANENT |
ScriptableObject.READONLY;
m.defineProperty("E", new Double(Math.E), attr);
m.defineProperty("PI", new Double(Math.PI), attr);
m.defineProperty("LN10", new Double(2.302585092994046), attr);
m.defineProperty("LN2", new Double(0.6931471805599453), attr);
m.defineProperty("LOG2E", new Double(1.4426950408889634), attr);
m.defineProperty("LOG10E", new Double(0.4342944819032518), attr);
m.defineProperty("SQRT1_2", new Double(0.7071067811865476), attr);
m.defineProperty("SQRT2", new Double(1.4142135623730951), attr);
// We know that scope is a Scriptable object since we
// constrained the type on initStandardObjects.
ScriptableObject global = (ScriptableObject) scope;
global.defineProperty("Math", m, ScriptableObject.DONTENUM);
return m;
}
public NativeMath() {
}
public String getClassName() {
return "Math";
}
public static double abs(double d) {
if (d == 0.0)
return 0.0; // abs(-0.0) should be 0.0, but -0.0 < 0.0 == false
else if (d < 0.0)
return -d;
else
return d;
}
public static double acos(double d) {
if ((d != d)
|| (d > 1.0)
|| (d < -1.0))
return Double.NaN;
return Math.acos(d);
}
public static double asin(double d) {
if ((d != d)
|| (d > 1.0)
|| (d < -1.0))
return Double.NaN;
return Math.asin(d);
}
public static double max(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
double result = Double.NEGATIVE_INFINITY;
if (args.length == 0)
return result;
for (int i = 0; i < args.length; i++) {
double d = ScriptRuntime.toNumber(args[i]);
if (d != d) return d;
result = Math.max(result, d);
}
return result;
}
public static double min(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
double result = Double.POSITIVE_INFINITY;
if (args.length == 0)
return result;
for (int i = 0; i < args.length; i++) {
double d = ScriptRuntime.toNumber(args[i]);
if (d != d) return d;
result = Math.min(result, d);
}
return result;
}
public static double round(double d) {
if (d != d)
return d; // NaN
if (d == Double.POSITIVE_INFINITY || d == Double.NEGATIVE_INFINITY)
return d;
long l = Math.round(d);
if (l == 0) {
// We must propagate the sign of d into the result
if (d < 0.0)
return ScriptRuntime.negativeZero;
return d == 0.0 ? d : 0.0;
}
return (double) l;
}
public static double pow(double x, double y) {
if (y == 0)
return 1.0; // Java's pow(NaN, 0) = NaN; we need 1
if ((x == 0) && (y < 0)) {
Double d = new Double(x);
if (d.equals(new Double(0))) // x is +0
return Double.POSITIVE_INFINITY; // Java is -Infinity
/* if x is -0 and y is an odd integer, -Infinity */
if (((int)y == y) && (((int)y & 0x1) == 1))
return Double.NEGATIVE_INFINITY;
return Double.POSITIVE_INFINITY;
}
return Math.pow(x, y);
}
public static double exp(double d) {
if (d == Double.POSITIVE_INFINITY)
return d;
if (d == Double.NEGATIVE_INFINITY)
return 0.0;
return Math.exp(d);
}
public static double log(double x) {
if (x < 0)
return Double.NaN; // Java's log(<0) = -Infinity; we need NaN
return Math.log(x);
}
}

View File

@@ -1,162 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Mike McCabe
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
/**
* This class implements the Number native object.
*
* See ECMA 15.7.
*
* @author Norris Boyd
*/
public class NativeNumber extends ScriptableObject {
public static void finishInit(Scriptable scope,
FunctionObject ctor, Scriptable proto)
{
final int attr = ScriptableObject.DONTENUM |
ScriptableObject.PERMANENT |
ScriptableObject.READONLY;
String[] names = { "NaN", "POSITIVE_INFINITY", "NEGATIVE_INFINITY",
"MAX_VALUE", "MIN_VALUE" };
double[] values = { ScriptRuntime.NaN, Double.POSITIVE_INFINITY,
Double.NEGATIVE_INFINITY, Double.MAX_VALUE,
Double.MIN_VALUE };
for (int i=0; i < names.length; i++) {
ctor.defineProperty(names[i], new Double(values[i]), attr);
}
}
private static final int MAX_PRECISION = 100;
/**
* Zero-parameter constructor: just used to create Number.prototype
*/
public NativeNumber() {
doubleValue = defaultValue;
}
public NativeNumber(double number) {
doubleValue = number;
}
public String getClassName() {
return "Number";
}
public static Object jsConstructor(Context cx, Object[] args,
Function funObj, boolean inNewExpr)
{
double d = args.length >= 1
? ScriptRuntime.toNumber(args[0])
: defaultValue;
if (inNewExpr) {
// new Number(val) creates a new Number object.
return new NativeNumber(d);
}
// Number(val) converts val to a number value.
return new Double(d);
}
public String toString() {
return jsFunction_toString(Undefined.instance);
}
public String jsFunction_toString(Object base) {
int i = base == Undefined.instance
? 10
: ScriptRuntime.toInt32(base);
return ScriptRuntime.numberToString(doubleValue, i);
}
public double jsFunction_valueOf() {
return doubleValue;
}
public String jsFunction_toLocaleString(Object arg) {
return toString();
}
public String jsFunction_toFixed(Object arg) {
/* We allow a larger range of precision than
ECMA requires; this is permitted by ECMA. */
return num_to(arg, DToA.DTOSTR_FIXED, DToA.DTOSTR_FIXED,
-20, MAX_PRECISION, 0);
}
public String jsFunction_toExponential(Object arg) {
/* We allow a larger range of precision than
ECMA requires; this is permitted by ECMA. */
return num_to(arg, DToA.DTOSTR_STANDARD_EXPONENTIAL,
DToA.DTOSTR_EXPONENTIAL, 0, MAX_PRECISION, 1);
}
public String jsFunction_toPrecision(Object arg) {
/* We allow a larger range of precision than
ECMA requires; this is permitted by ECMA. */
return num_to(arg, DToA.DTOSTR_STANDARD,
DToA.DTOSTR_PRECISION, 1, MAX_PRECISION, 0);
}
private String num_to(Object arg, int zeroArgMode,
int oneArgMode, int precisionMin, int precisionMax, int precisionOffset)
{
int precision;
if (arg == Undefined.instance) {
precision = 0;
oneArgMode = zeroArgMode;
} else {
precision = ScriptRuntime.toInt32(arg);
if (precision < precisionMin || precision > precisionMax) {
Object args[] = new Object[1];
args[0] = Integer.toString(precision);
throw NativeGlobal.constructError(
Context.getCurrentContext(), "RangeError",
ScriptRuntime.getMessage("msg.bad.precision", args),
this);
}
}
StringBuffer result = new StringBuffer();
DToA.JS_dtostr(result, oneArgMode, precision + precisionOffset, doubleValue);
return result.toString();
}
private static final double defaultValue = +0.0;
private double doubleValue;
}

View File

@@ -1,193 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Mike McCabe
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.util.Hashtable;
/**
* This class implements the Object native object.
* See ECMA 15.2.
* @author Norris Boyd
*/
public class NativeObject extends ScriptableObject {
public static void finishInit(Scriptable scope, FunctionObject ctor,
Scriptable proto)
{
Object obj = proto.get("valueOf", proto);
((FunctionObject) obj).setLength((short) 0);
}
public String getClassName() {
return "Object";
}
public static Object jsConstructor(Context cx, Object[] args,
Function ctorObj, boolean inNewExpr)
throws JavaScriptException
{
if (!inNewExpr) {
// FunctionObject.construct will set up parent, proto
return ctorObj.construct(cx, ctorObj.getParentScope(), args);
}
if (args.length == 0 || args[0] == null ||
args[0] == Undefined.instance)
{
return new NativeObject();
}
return ScriptRuntime.toObject(ctorObj.getParentScope(), args[0]);
}
public String toString() {
Context cx = Context.getContext();
if (cx != null)
return jsFunction_toString(cx, this, null, null);
else
return "[object " + getClassName() + "]";
}
public static String jsFunction_toString(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
if (cx.getLanguageVersion() != cx.VERSION_1_2)
return "[object " + thisObj.getClassName() + "]";
return toSource(cx, thisObj, args, funObj);
}
public static String toSource(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
Scriptable m = thisObj;
if (cx.iterating == null)
cx.iterating = new Hashtable(31);
if (cx.iterating.get(m) == Boolean.TRUE) {
return "{}"; // stop recursion
} else {
StringBuffer result = new StringBuffer("{");
Object[] ids = m.getIds();
for(int i=0; i < ids.length; i++) {
if (i > 0)
result.append(", ");
Object id = ids[i];
String idString = ScriptRuntime.toString(id);
Object p = (id instanceof String)
? m.get((String) id, m)
: m.get(((Number) id).intValue(), m);
if (p instanceof String) {
result.append(idString + ":\""
+ ScriptRuntime
.escapeString(ScriptRuntime.toString(p))
+ "\"");
} else {
/* wrap changes to cx.iterating in a try/finally
* so that the reference always gets removed, and
* we don't leak memory. Good place for weak
* references, if we had them.
*/
try {
cx.iterating.put(m, Boolean.TRUE); // stop recursion.
result.append(idString + ":" + ScriptRuntime.toString(p));
} finally {
cx.iterating.remove(m);
}
}
}
result.append("}");
return result.toString();
}
}
public static Object jsFunction_valueOf(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
return thisObj;
}
public static Object jsFunction_hasOwnProperty(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
{
if (args.length != 0)
if (thisObj.has(ScriptRuntime.toString(args[0]), thisObj))
return Boolean.TRUE;
return Boolean.FALSE;
}
public static Object jsFunction_propertyIsEnumerable(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
{
try {
if (args.length != 0) {
String name = ScriptRuntime.toString(args[0]);
if (thisObj.has(name, thisObj)) {
int a = ((ScriptableObject)thisObj).getAttributes(name, thisObj);
if ((a & ScriptableObject.DONTENUM) == 0)
return Boolean.TRUE;
}
}
}
catch (PropertyException x) {
}
catch (ClassCastException x) {
}
return Boolean.FALSE;
}
public static Object jsFunction_isPrototypeOf(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
if (args.length != 0 && args[0] instanceof Scriptable) {
Scriptable v = (Scriptable) args[0];
do {
v = v.getPrototype();
if (v == thisObj)
return Boolean.TRUE;
} while (v != null);
}
return Boolean.FALSE;
}
}

View File

@@ -1,172 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Roger Lawrence
* Mike McCabe
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.io.StringReader;
import java.io.IOException;
/**
* The JavaScript Script object.
*
* Note that the C version of the engine uses XDR as the format used
* by freeze and thaw. Since this depends on the internal format of
* structures in the C runtime, we cannot duplicate it.
*
* Since we cannot replace 'this' as a result of the compile method,
* this class has a dual nature. Generated scripts will have a null
* 'script' field and will override 'exec' and 'call'. Scripts created
* using the JavaScript constructor will forward requests to the
* nonnull 'script' field.
*
* @since 1.3
* @author Norris Boyd
*/
public class NativeScript extends NativeFunction implements Script {
public NativeScript() {
}
/**
* Returns the name of this JavaScript class, "Script".
*/
public String getClassName() {
return "Script";
}
/**
* Initialize script.
*
* Does nothing here, but scripts will override with code
* to initialize contained functions, regexp literals, etc.
*/
public void initScript(Scriptable scope) {
}
/**
* The Java method defining the JavaScript Script constructor.
*
*/
public static Object jsConstructor(Context cx, Object[] args,
Function ctorObj, boolean inNewExpr)
{
String source = args.length == 0
? ""
: ScriptRuntime.toString(args[0]);
Scriptable scope = cx.ctorScope;
if (scope == null)
scope = ctorObj;
return compile(scope, source);
}
public static Script compile(Scriptable scope, String source) {
Context cx = Context.getContext();
StringReader reader = new StringReader(source);
try {
int[] linep = { 0 };
String filename = Context.getSourcePositionFromStack(linep);
if (filename == null) {
filename = "<Script object>";
linep[0] = 1;
}
Object securityDomain =
cx.getSecurityDomainForStackDepth(5);
return cx.compileReader(scope, reader, filename, linep[0],
securityDomain);
}
catch (IOException e) {
throw new RuntimeException("Unexpected IOException");
}
}
public Scriptable jsFunction_compile(String source) {
script = compile(null, source);
return this;
}
public Object jsFunction_exec() throws JavaScriptException {
Object[] msgArgs = { "exec" };
throw Context.reportRuntimeError(
Context.getMessage("msg.cant.call.indirect", msgArgs));
}
public static Object jsFunction_toString(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
Script thisScript = ((NativeScript) thisObj).script;
if (thisScript == null)
thisScript = (Script) thisObj;
Scriptable scope = getTopLevelScope(thisObj);
return cx.decompileScript(thisScript, scope, 0);
}
/*
* Override method in NativeFunction to avoid ever returning "anonymous"
*/
public String jsGet_name() {
return "";
}
/**
* Execute the script.
*
* Will be overridden by generated scripts; needed to implement Script.
*/
public Object exec(Context cx, Scriptable scope)
throws JavaScriptException
{
return script == null ? Undefined.instance : script.exec(cx, scope);
}
public Object call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
throws JavaScriptException
{
return exec(cx, scope);
}
public Scriptable construct(Context cx, Scriptable scope, Object[] args)
throws JavaScriptException
{
String message = Context.getMessage("msg.script.is.not.constructor", null);
throw Context.reportRuntimeError(message);
}
private Script script;
}

View File

@@ -1,747 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Tom Beauvais
* Norris Boyd
* Mike McCabe
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.lang.reflect.Method;
import java.util.Vector;
/**
* This class implements the String native object.
*
* See ECMA 15.5.
*
* String methods for dealing with regular expressions are
* ported directly from C. Latest port is from version 1.40.12.19
* in the JSFUN13_BRANCH.
*
* @author Mike McCabe
* @author Norris Boyd
*/
public class NativeString extends ScriptableObject implements Wrapper {
/**
* Zero-parameter constructor: just used to create String.prototype
*/
public NativeString() {
string = defaultValue;
}
public static void finishInit(Scriptable scope, FunctionObject ctor,
Scriptable proto)
{
// Most of the methods of String.prototype are "vararg" form
// so that they can convert the "this" value to string, rather
// than being restricted to just operating on NativeString
// objects. However, this means that the values of the "length"
// properties of these methods are set to 1 by the constructor
// for FunctionObject. We must therefore fetch the function
// objects and set the length to the appropriate value.
String[] specialLengthNames = { "indexOf",
"lastIndexOf",
"substring",
"toUpperCase",
"toLowerCase",
"toString",
};
short[] specialLengthValues = { 2,
2,
2,
0,
0,
0,
};
for (int i=0; i < specialLengthNames.length; i++) {
Object obj = proto.get(specialLengthNames[i], proto);
((FunctionObject) obj).setLength(specialLengthValues[i]);
}
}
public NativeString(String s) {
string = s;
}
public String getClassName() {
return "String";
}
public static String jsStaticFunction_fromCharCode(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
{
if (args.length < 1)
return "";
StringBuffer s = new java.lang.StringBuffer();
for (int i=0; i < args.length; i++) {
s.append(ScriptRuntime.toUint16(args[i]));
}
return s.toString();
}
public static Object jsConstructor(Context cx, Object[] args,
Function ctorObj, boolean inNewExpr)
{
String s = args.length >= 1
? ScriptRuntime.toString(args[0])
: defaultValue;
if (inNewExpr) {
// new String(val) creates a new String object.
return new NativeString(s);
}
// String(val) converts val to a string value.
return s;
}
public String toString() {
return string;
}
/* ECMA 15.5.4.2: 'the toString function is not generic.' */
public String jsFunction_toString() {
return string;
}
public String jsFunction_valueOf() {
return string;
}
/* Make array-style property lookup work for strings.
* XXX is this ECMA? A version check is probably needed. In js too.
*/
public Object get(int index, Scriptable start) {
if (index >= 0 && index < string.length())
return string.substring(index, index + 1);
return super.get(index, start);
}
public void put(int index, Scriptable start, Object value) {
if (index >= 0 && index < string.length())
return;
super.put(index, start, value);
}
/**
*
* See ECMA 15.5.4.[4,5]
*/
public static String jsFunction_charAt(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
if (args.length < 1)
args = ScriptRuntime.padArguments(args, 1);
// this'll return 0 if undefined... seems
// to be ECMA.
String target = ScriptRuntime.toString(thisObj);
double pos = ScriptRuntime.toInteger(args[0]);
if (pos < 0 || pos >= target.length())
return "";
return target.substring((int)pos, (int)pos + 1);
}
public static double jsFunction_charCodeAt(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
if (args.length < 1)
args = ScriptRuntime.padArguments(args, 1);
String target = ScriptRuntime.toString(thisObj);
double pos = ScriptRuntime.toInteger(args[0]);
if (pos < 0 || pos >= target.length()) {
return ScriptRuntime.NaN;
}
return target.charAt((int)pos);
}
/**
*
* See ECMA 15.5.4.6. Uses Java String.indexOf()
* OPT to add - BMH searching from jsstr.c.
*/
public static int jsFunction_indexOf(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
if (args.length < 2)
args = ScriptRuntime.padArguments(args, 2);
String target = ScriptRuntime.toString(thisObj);
String search = ScriptRuntime.toString(args[0]);
double begin = ScriptRuntime.toInteger(args[1]);
if (begin > target.length()) {
return -1;
} else {
if (begin < 0)
begin = 0;
return target.indexOf(search, (int)begin);
}
}
/**
*
* See ECMA 15.5.4.7
*
*/
public static int jsFunction_lastIndexOf(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
if (args.length < 2)
args = ScriptRuntime.padArguments(args, 2);
String target = ScriptRuntime.toString(thisObj);
String search = ScriptRuntime.toString(args[0]);
double end = ScriptRuntime.toNumber(args[1]);
if (end != end || end > target.length())
end = target.length();
else if (end < 0)
end = 0;
return target.lastIndexOf(search, (int)end);
}
/*
* Used by js_split to find the next split point in target,
* starting at offset ip and looking either for the given
* separator substring, or for the next re match. ip and
* matchlen must be reference variables (assumed to be arrays of
* length 1) so they can be updated in the leading whitespace or
* re case.
*
* Return -1 on end of string, >= 0 for a valid index of the next
* separator occurrence if found, or the string length if no
* separator is found.
*/
private static int find_split(Function funObj, String target,
String separator, Object re,
int[] ip, int[] matchlen, boolean[] matched,
String[][] parensp)
{
int i = ip[0];
int length = target.length();
Context cx = Context.getContext();
int version = cx.getLanguageVersion();
/*
* Perl4 special case for str.split(' '), only if the user has selected
* JavaScript1.2 explicitly. Split on whitespace, and skip leading w/s.
* Strange but true, apparently modeled after awk.
*/
if (version == Context.VERSION_1_2 &&
re == null && separator.length() == 1 && separator.charAt(0) == ' ')
{
/* Skip leading whitespace if at front of str. */
if (i == 0) {
while (i < length && Character.isWhitespace(target.charAt(i)))
i++;
ip[0] = i;
}
/* Don't delimit whitespace at end of string. */
if (i == length)
return -1;
/* Skip over the non-whitespace chars. */
while (i < length
&& !Character.isWhitespace(target.charAt(i)))
i++;
/* Now skip the next run of whitespace. */
int j = i;
while (j < length && Character.isWhitespace(target.charAt(j)))
j++;
/* Update matchlen to count delimiter chars. */
matchlen[0] = j - i;
return i;
}
/*
* Stop if past end of string. If at end of string, we will
* return target length, so that
*
* "ab,".split(',') => new Array("ab", "")
*
* and the resulting array converts back to the string "ab,"
* for symmetry. NB: This differs from perl, which drops the
* trailing empty substring if the LIMIT argument is omitted.
*/
if (i > length)
return -1;
/*
* Match a regular expression against the separator at or
* above index i. Return -1 at end of string instead of
* trying for a match, so we don't get stuck in a loop.
*/
if (re != null) {
return cx.getRegExpProxy().find_split(funObj, target,
separator, re,
ip, matchlen, matched,
parensp);
}
/*
* Deviate from ECMA by never splitting an empty string by any separator
* string into a non-empty array (an array of length 1 that contains the
* empty string).
*/
if (version != Context.VERSION_DEFAULT && version < Context.VERSION_1_3
&& length == 0)
return -1;
/*
* Special case: if sep is the empty string, split str into
* one character substrings. Let our caller worry about
* whether to split once at end of string into an empty
* substring.
*
* For 1.2 compatibility, at the end of the string, we return the length as
* the result, and set the separator length to 1 -- this allows the caller
* to include an additional null string at the end of the substring list.
*/
if (separator.length() == 0) {
if (version == Context.VERSION_1_2) {
if (i == length) {
matchlen[0] = 1;
return i;
}
return i + 1;
}
return (i == length) ? -1 : i + 1;
}
/* Punt to j.l.s.indexOf; return target length if seperator is
* not found.
*/
if (ip[0] >= length)
return length;
i = target.indexOf(separator, ip[0]);
return (i != -1) ? i : length;
}
/**
* See ECMA 15.5.4.8. Modified to match JS 1.2 - optionally takes
* a limit argument and accepts a regular expression as the split
* argument.
*/
public static Object jsFunction_split(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
String target = ScriptRuntime.toString(thisObj);
// create an empty Array to return;
Scriptable scope = getTopLevelScope(funObj);
Scriptable result = ScriptRuntime.newObject(cx, scope, "Array", null);
// return an array consisting of the target if no separator given
// don't check against undefined, because we want
// 'fooundefinedbar'.split(void 0) to split to ['foo', 'bar']
if (args.length < 1) {
result.put(0, result, target);
return result;
}
// Use the second argument as the split limit, if given.
boolean limited = (args.length > 1) && (args[1] != Undefined.instance);
long limit = 0; // Initialize to avoid warning.
if (limited) {
/* Clamp limit between 0 and 1 + string length. */
limit = ScriptRuntime.toUint32(args[1]);
if (limit > target.length())
limit = 1 + target.length();
}
String separator = null;
int[] matchlen = { 0 };
Object re = null;
RegExpProxy reProxy = cx.getRegExpProxy();
if (reProxy != null && reProxy.isRegExp(args[0])) {
re = args[0];
} else {
separator = ScriptRuntime.toString(args[0]);
matchlen[0] = separator.length();
}
// split target with separator or re
int[] ip = { 0 };
int match;
int len = 0;
boolean[] matched = { false };
String[][] parens = { null };
while ((match = find_split(funObj, target, separator, re, ip,
matchlen, matched, parens)) >= 0)
{
if ((limited && len >= limit) || (match > target.length()))
break;
String substr;
if (target.length() == 0)
substr = target;
else
substr = target.substring(ip[0], match);
result.put(len, result, substr);
len++;
/*
* Imitate perl's feature of including parenthesized substrings
* that matched part of the delimiter in the new array, after the
* split substring that was delimited.
*/
if (re != null && matched[0] == true) {
int size = parens[0].length;
for (int num = 0; num < size; num++) {
if (limited && len >= limit)
break;
result.put(len, result, parens[0][num]);
len++;
}
matched[0] = false;
}
ip[0] = match + matchlen[0];
if (cx.getLanguageVersion() < Context.VERSION_1_3
&& cx.getLanguageVersion() != Context.VERSION_DEFAULT)
{
/*
* Deviate from ECMA to imitate Perl, which omits a final
* split unless a limit argument is given and big enough.
*/
if (!limited && ip[0] == target.length())
break;
}
}
return result;
}
/**
*
* See ECMA 15.5.4.[9,10]
*/
public static String jsFunction_substring(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
if (args.length < 1)
args = ScriptRuntime.padArguments(args, 1);
String target = ScriptRuntime.toString(thisObj);
int length = target.length();
double start = ScriptRuntime.toInteger(args[0]);
double end;
if (start < 0)
start = 0;
else if (start > length)
start = length;
if (args.length == 1) {
end = length;
} else {
end = ScriptRuntime.toInteger(args[1]);
if (end < 0)
end = 0;
else if (end > length)
end = length;
// swap if end < start
if (end < start) {
if (cx.getLanguageVersion() != Context.VERSION_1_2) {
double temp = start;
start = end;
end = temp;
} else {
// Emulate old JDK1.0 java.lang.String.substring()
end = start;
}
}
}
return target.substring((int)start, (int)end);
}
/**
*
* See ECMA 15.5.4.[11,12]
*/
public static String jsFunction_toLowerCase(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
String target = ScriptRuntime.toString(thisObj);
return target.toLowerCase();
}
public static String jsFunction_toUpperCase(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
String target = ScriptRuntime.toString(thisObj);
return target.toUpperCase();
}
public double jsGet_length() {
return (double) string.length();
}
/**
* Non-ECMA methods.
*/
public static String jsFunction_substr(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
String target = ScriptRuntime.toString(thisObj);
if (args.length < 1)
return target;
double begin = ScriptRuntime.toInteger(args[0]);
double end;
int length = target.length();
if (begin < 0) {
begin += length;
if (begin < 0)
begin = 0;
} else if (begin > length) {
begin = length;
}
if (args.length == 1) {
end = length;
} else {
end = ScriptRuntime.toInteger(args[1]);
if (end < 0)
end = 0;
end += begin;
if (end > length)
end = length;
}
return target.substring((int)begin, (int)end);
}
/**
* Python-esque sequence operations.
*/
public static String jsFunction_concat(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
StringBuffer result = new StringBuffer();
result.append(ScriptRuntime.toString(thisObj));
for (int i = 0; i < args.length; i++)
result.append(ScriptRuntime.toString(args[i]));
return result.toString();
}
public static String jsFunction_slice(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
String target = ScriptRuntime.toString(thisObj);
if (args.length != 0) {
double begin = ScriptRuntime.toInteger(args[0]);
double end;
int length = target.length();
if (begin < 0) {
begin += length;
if (begin < 0)
begin = 0;
} else if (begin > length) {
begin = length;
}
if (args.length == 1) {
end = length;
} else {
end = ScriptRuntime.toInteger(args[1]);
if (end < 0) {
end += length;
if (end < 0)
end = 0;
} else if (end > length) {
end = length;
}
if (end < begin)
end = begin;
}
return target.substring((int)begin, (int)end);
}
return target;
}
/**
* HTML composition aids.
*/
private String tagify(String begin, String end, String value) {
StringBuffer result = new StringBuffer();
result.append('<');
result.append(begin);
if (value != null) {
result.append('=');
result.append(value);
}
result.append('>');
result.append(this.string);
result.append("</");
result.append((end == null) ? begin : end);
result.append('>');
return result.toString();
}
public String jsFunction_bold() {
return tagify("B", null, null);
}
public String jsFunction_italics() {
return tagify("I", null, null);
}
public String jsFunction_fixed() {
return tagify("TT", null, null);
}
public String jsFunction_strike() {
return tagify("STRIKE", null, null);
}
public String jsFunction_small() {
return tagify("SMALL", null, null);
}
public String jsFunction_big() {
return tagify("BIG", null, null);
}
public String jsFunction_blink() {
return tagify("BLINK", null, null);
}
public String jsFunction_sup() {
return tagify("SUP", null, null);
}
public String jsFunction_sub() {
return tagify("SUB", null, null);
}
public String jsFunction_fontsize(String value) {
return tagify("FONT SIZE", "FONT", value);
}
public String jsFunction_fontcolor(String value) {
return tagify("FONT COLOR", "FONT", value);
}
public String jsFunction_link(String value) {
return tagify("A HREF", "A", value);
}
public String jsFunction_anchor(String value) {
return tagify("A NAME", "A", value);
}
public static Object jsFunction_equals(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
{
String target = ScriptRuntime.toString(thisObj);
String strOther = ScriptRuntime.toString(args[0]);
return new Boolean(target.equals(strOther));
}
public static Object jsFunction_equalsIgnoreCase(Context cx,
Scriptable thisObj,
Object[] args,
Function funObj)
{
String target = ScriptRuntime.toString(thisObj);
String strOther = ScriptRuntime.toString(args[0]);
return new Boolean(target.equalsIgnoreCase(strOther));
}
/**
* Unwrap this NativeString as a j.l.String for LiveConnect use.
*/
public Object unwrap() {
return string;
}
public static Object jsFunction_match(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
throws JavaScriptException
{
return checkReProxy(cx).match(cx, thisObj, args, funObj);
}
public static Object jsFunction_search(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
throws JavaScriptException
{
return checkReProxy(cx).search(cx, thisObj, args, funObj);
}
public static Object jsFunction_replace(Context cx, Scriptable thisObj,
Object[] args, Function funObj)
throws JavaScriptException
{
return checkReProxy(cx).replace(cx, thisObj, args, funObj);
}
private static RegExpProxy checkReProxy(Context cx) {
RegExpProxy result = cx.getRegExpProxy();
if (result == null) {
throw cx.reportRuntimeError(cx.getMessage("msg.no.regexp", null));
}
return result;
}
private static final String defaultValue = "";
private String string;
}

View File

@@ -1,173 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.lang.reflect.Method;
/**
* This class implements the object lookup required for the
* <code>with</code> statement.
* It simply delegates every action to its prototype except
* for operations on its parent.
*/
public class NativeWith implements Scriptable {
public static void init(Scriptable scope) {
NativeWith w = new NativeWith();
w.setPrototype(ScriptableObject.getObjectPrototype(scope));
Method[] m = FunctionObject.findMethods(NativeWith.class,
"jsConstructor");
FunctionObject f = new FunctionObject("With", m[0], scope);
f.addAsConstructor(scope, w);
}
public NativeWith() {
}
public NativeWith(Scriptable parent, Scriptable prototype) {
this.parent = parent;
this.prototype = prototype;
}
public String getClassName() {
return "With";
}
public boolean has(String id, Scriptable start) {
if (start == this)
start = prototype;
return prototype.has(id, start);
}
public boolean has(int index, Scriptable start) {
if (start == this)
start = prototype;
return prototype.has(index, start);
}
public Object get(String id, Scriptable start) {
if (start == this)
start = prototype;
return prototype.get(id, start);
}
public Object get(int index, Scriptable start) {
if (start == this)
start = prototype;
return prototype.get(index, start);
}
public void put(String id, Scriptable start, Object value) {
if (start == this)
start = prototype;
prototype.put(id, start, value);
}
public void put(int index, Scriptable start, Object value) {
if (start == this)
start = prototype;
prototype.put(index, start, value);
}
public void delete(String id) {
prototype.delete(id);
}
public void delete(int index) {
prototype.delete(index);
}
public Scriptable getPrototype() {
return prototype;
}
public void setPrototype(Scriptable prototype) {
this.prototype = prototype;
}
public Scriptable getParentScope() {
return parent;
}
public void setParentScope(Scriptable parent) {
this.parent = parent;
}
public Object[] getIds() {
return prototype.getIds();
}
public Object getDefaultValue(Class typeHint) {
return prototype.getDefaultValue(typeHint);
}
public boolean hasInstance(Scriptable value) {
return prototype.hasInstance(value);
}
public static Object jsConstructor(Context cx, Object[] args,
Function ctorObj, boolean inNewExpr)
{
Object[] msgArgs = { "With" };
throw Context.reportRuntimeError(
Context.getMessage("msg.cant.call.indirect", msgArgs));
}
public static Object newWithSpecial(Context cx, Object[] args,
Function ctorObj, boolean inNewExpr)
{
if (!inNewExpr) {
Object[] errArgs = { "With" };
throw Context.reportRuntimeError(Context.getMessage
("msg.only.from.new", errArgs));
}
ScriptRuntime.checkDeprecated(cx, "With");
Scriptable scope = ScriptableObject.getTopLevelScope(ctorObj);
NativeWith thisObj = new NativeWith();
thisObj.setPrototype(args.length == 0
? ScriptableObject.getClassPrototype(scope,
"Object")
: ScriptRuntime.toObject(scope, args[0]));
thisObj.setParentScope(scope);
return thisObj;
}
private Scriptable prototype;
private Scriptable parent;
private Scriptable constructor;
}

View File

@@ -1,469 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Roger Lawrence
* Mike McCabe
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.util.*;
/**
* This class implements the root of the intermediate representation.
*
* @author Norris Boyd
* @author Mike McCabe
*/
public class Node implements Cloneable {
public Node(int nodeType) {
type = nodeType;
}
public Node(int nodeType, Node child) {
type = nodeType;
first = last = child;
child.next = null;
}
public Node(int nodeType, Node left, Node right) {
type = nodeType;
first = left;
last = right;
left.next = right;
right.next = null;
}
public Node(int nodeType, Node left, Node mid, Node right) {
type = nodeType;
first = left;
last = right;
left.next = mid;
mid.next = right;
right.next = null;
}
public Node(int nodeType, Object datum) {
type = nodeType;
this.datum = datum;
}
public Node(int nodeType, Node child, Object datum) {
this(nodeType, child);
this.datum = datum;
}
public Node(int nodeType, Node left, Node right, Object datum) {
this(nodeType, left, right);
this.datum = datum;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public boolean hasChildren() {
return first != null;
}
public Node getFirstChild() {
return first;
}
public Node getLastChild() {
return last;
}
public Node getNextSibling() {
return next;
}
public Node getChildBefore(Node child) {
if (child == first)
return null;
Node n = first;
while (n.next != child) {
n = n.next;
if (n == null)
throw new RuntimeException("node is not a child");
}
return n;
}
public Node getLastSibling() {
Node n = this;
while (n.next != null) {
n = n.next;
}
return n;
}
public ShallowNodeIterator getChildIterator() {
return new ShallowNodeIterator(first);
}
public PreorderNodeIterator getPreorderIterator() {
return new PreorderNodeIterator(this);
}
public void addChildToFront(Node child) {
child.next = first;
first = child;
if (last == null) {
last = child;
}
}
public void addChildToBack(Node child) {
child.next = null;
if (last == null) {
first = last = child;
return;
}
last.next = child;
last = child;
}
public void addChildrenToFront(Node children) {
Node lastSib = children.getLastSibling();
lastSib.next = first;
first = children;
if (last == null) {
last = lastSib;
}
}
public void addChildrenToBack(Node children) {
if (last != null) {
last.next = children;
}
last = children.getLastSibling();
if (first == null) {
first = children;
}
}
/**
* Add 'child' before 'node'.
*/
public void addChildBefore(Node newChild, Node node) {
if (newChild.next != null)
throw new RuntimeException(
"newChild had siblings in addChildBefore");
if (first == node) {
newChild.next = first;
first = newChild;
return;
}
Node prev = getChildBefore(node);
addChildAfter(newChild, prev);
}
/**
* Add 'child' after 'node'.
*/
public void addChildAfter(Node newChild, Node node) {
if (newChild.next != null)
throw new RuntimeException(
"newChild had siblings in addChildAfter");
newChild.next = node.next;
node.next = newChild;
if (last == node)
last = newChild;
}
public void removeChild(Node child) {
Node prev = getChildBefore(child);
if (prev == null)
first = first.next;
else
prev.next = child.next;
if (child == last) last = prev;
child.next = null;
}
public void replaceChild(Node child, Node newChild) {
newChild.next = child.next;
if (child == first) {
first = newChild;
} else {
Node prev = getChildBefore(child);
prev.next = newChild;
}
if (child == last)
last = newChild;
child.next = null;
}
public static final int
TARGET_PROP = 1,
BREAK_PROP = 2,
CONTINUE_PROP = 3,
ENUM_PROP = 4,
FUNCTION_PROP = 5,
TEMP_PROP = 6,
LOCAL_PROP = 7,
CODEOFFSET_PROP = 8,
FIXUPS_PROP = 9,
VARS_PROP = 10,
USES_PROP = 11,
REGEXP_PROP = 12,
CASES_PROP = 13,
DEFAULT_PROP = 14,
CASEARRAY_PROP = 15,
SOURCENAME_PROP = 16,
SOURCE_PROP = 17,
TYPE_PROP = 18,
SPECIAL_PROP_PROP = 19,
LABEL_PROP = 20,
FINALLY_PROP = 21,
LOCALCOUNT_PROP = 22,
/*
the following properties are defined and manipulated by the
optimizer -
TARGETBLOCK_PROP - the block referenced by a branch node
VARIABLE_PROP - the variable referenced by a BIND or NAME node
LASTUSE_PROP - that variable node is the last reference before
a new def or the end of the block
ISNUMBER_PROP - this node generates code on Number children and
delivers a Number result (as opposed to Objects)
DIRECTCALL_PROP - this call node should emit code to test the function
object against the known class and call diret if it
matches.
*/
TARGETBLOCK_PROP = 23,
VARIABLE_PROP = 24,
LASTUSE_PROP = 25,
ISNUMBER_PROP = 26,
DIRECTCALL_PROP = 27,
BASE_LINENO_PROP = 28,
END_LINENO_PROP = 29,
SPECIALCALL_PROP = 30;
public static final int // this value of the ISNUMBER_PROP specifies
BOTH = 0, // which of the children are Number types
LEFT = 1,
RIGHT = 2;
private static String propNames[];
private static final String propToString(int propType) {
if (Context.printTrees && propNames == null) {
// If Context.printTrees is false, the compiler
// can remove all these strings.
String[] a = {
"target",
"break",
"continue",
"enum",
"function",
"temp",
"local",
"codeoffset",
"fixups",
"vars",
"uses",
"regexp",
"switches",
"cases",
"default",
"casearray",
"sourcename",
"source",
"type",
"special_prop",
"label",
"finally",
"localcount",
"targetblock",
"variable",
"lastuse",
"isnumber",
"directcall",
"base_lineno",
"end_lineno",
"specialcall"
};
propNames = a;
}
return propNames[propType-1];
}
public Object getProp(int propType) {
if (props == null)
return null;
return props.get(new Integer(propType));
}
public void putProp(int propType, Object prop) {
if (props == null)
props = new Hashtable(2);
if (prop == null)
props.remove(new Integer(propType));
else
props.put(new Integer(propType), prop);
}
public Object getDatum() {
return datum;
}
public void setDatum(Object datum) {
this.datum = datum;
}
public int getInt() {
return ((Number) datum).intValue();
}
public double getDouble() {
return ((Number) datum).doubleValue();
}
public long getLong() {
return ((Number) datum).longValue();
}
public String getString() {
return (String) datum;
}
public Node cloneNode() {
Node result;
try {
result = (Node) super.clone();
result.next = null;
result.first = null;
result.last = null;
}
catch (CloneNotSupportedException e) {
throw new RuntimeException(e.getMessage());
}
return result;
}
public String toString() {
if (Context.printTrees) {
StringBuffer sb = new StringBuffer(TokenStream.tokenToName(type));
if (type == TokenStream.TARGET) {
sb.append(" ");
sb.append(hashCode());
}
if (datum != null) {
sb.append(' ');
sb.append(datum.toString());
}
if (props == null)
return sb.toString();
Enumeration keys = props.keys();
Enumeration elems = props.elements();
while (keys.hasMoreElements()) {
Integer key = (Integer) keys.nextElement();
Object elem = elems.nextElement();
sb.append(" [");
sb.append(propToString(key.intValue()));
sb.append(": ");
switch (key.intValue()) {
case FIXUPS_PROP : // can't add this as it recurses
sb.append("fixups property");
break;
case SOURCE_PROP : // can't add this as it has unprintables
sb.append("source property");
break;
case TARGETBLOCK_PROP : // can't add this as it recurses
sb.append("target block property");
break;
case LASTUSE_PROP : // can't add this as it is dull
sb.append("last use property");
break;
default :
sb.append(elem.toString());
break;
}
sb.append("]");
}
return sb.toString();
}
return null;
}
public String toStringTree() {
return toStringTreeHelper(0);
}
private String toStringTreeHelper(int level) {
if (Context.printTrees) {
StringBuffer s = new StringBuffer();
for (int i=0; i < level; i++) {
s.append(" ");
}
s.append(toString());
s.append('\n');
ShallowNodeIterator iterator = getChildIterator();
if (iterator != null) {
while (iterator.hasMoreElements()) {
Node n = (Node) iterator.nextElement();
if (n.getType() == TokenStream.FUNCTION) {
Node p = (Node) n.getProp(Node.FUNCTION_PROP);
if (p != null)
n = p;
}
s.append(n.toStringTreeHelper(level+1));
}
}
return s.toString();
}
return "";
}
public Node getFirst() { return first; }
public Node getNext() { return next; }
protected int type; // type of the node; TokenStream.NAME for example
protected Node next; // next sibling
protected Node first; // first element of a linked list of children
protected Node last; // last element of a linked list of children
protected Hashtable props;
protected Object datum; // encapsulated data; depends on type
}

View File

@@ -1,712 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Roger Lawrence
* Mike McCabe
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.util.Hashtable;
import java.util.Stack;
import java.util.Vector;
/**
* This class transforms a tree to a lower-level representation for codegen.
*
* @see Node
* @author Norris Boyd
*/
public class NodeTransformer {
/**
* Return new instance of this class. So that derived classes
* can override methods of the transformer.
*/
public NodeTransformer newInstance() {
return new NodeTransformer();
}
public IRFactory createIRFactory(TokenStream ts, Scriptable scope) {
return new IRFactory(ts, scope);
}
public Node transform(Node tree, Node enclosing, TokenStream ts,
Scriptable scope)
{
loops = new Stack();
loopEnds = new Stack();
inFunction = tree.getType() == TokenStream.FUNCTION;
if (!inFunction) {
addVariables(tree, getVariableTable(tree));
}
irFactory = createIRFactory(ts, scope);
// to save against upchecks if no finally blocks are used.
boolean hasFinally = false;
PreorderNodeIterator iterator = tree.getPreorderIterator();
Node node;
while ((node = iterator.nextNode()) != null) {
int type = node.getType();
typeswitch:
switch (type) {
case TokenStream.FUNCTION:
if (node == tree) {
// Add the variables to variable table, the
// parameters were added earlier.
VariableTable vars = getVariableTable(tree);
addVariables(tree, vars);
// Add return to end if needed.
Node stmts = node.getLastChild();
Node lastStmt = stmts.getLastChild();
if (lastStmt == null ||
lastStmt.getType() != TokenStream.RETURN)
{
stmts.addChildToBack(new Node(TokenStream.RETURN));
}
} else {
if (inFunction) {
// Nested functions require activation objects.
((FunctionNode) tree).setRequiresActivation(true);
}
FunctionNode fnNode = (FunctionNode)
node.getProp(Node.FUNCTION_PROP);
addParameters(fnNode);
NodeTransformer inner = newInstance();
fnNode = (FunctionNode)
inner.transform(fnNode, tree, ts, scope);
node.putProp(Node.FUNCTION_PROP, fnNode);
Vector fns = (Vector) tree.getProp(Node.FUNCTION_PROP);
if (fns == null) {
fns = new Vector(7);
tree.putProp(Node.FUNCTION_PROP, fns);
}
fns.addElement(fnNode);
}
break;
case TokenStream.LABEL:
{
Node child = node.getFirstChild();
node.removeChild(child);
String id = child.getString();
// check against duplicate labels...
for (int i=loops.size()-1; i >= 0; i--) {
Node n = (Node) loops.elementAt(i);
if (n.getType() == TokenStream.LABEL) {
String otherId = (String)n.getProp(Node.LABEL_PROP);
if (id.equals(otherId)) {
Object[] errArgs = { id };
String message = Context.getMessage("msg.dup.label",
errArgs);
reportMessage(Context.getContext(), message, node,
tree, true, scope);
break typeswitch;
}
}
}
node.putProp(Node.LABEL_PROP, id);
/* Make a target and put it _after_ the following
* node. And in the LABEL node, so breaks get the
* right target.
*/
Node breakTarget = new Node(TokenStream.TARGET);
Node parent = iterator.getCurrentParent();
Node next = node.getNextSibling();
while (next != null &&
(next.getType() == TokenStream.LABEL ||
next.getType() == TokenStream.TARGET))
next = next.getNextSibling();
if (next == null)
break;
parent.addChildAfter(breakTarget, next);
node.putProp(Node.BREAK_PROP, breakTarget);
if (next.getType() == TokenStream.LOOP) {
node.putProp(Node.CONTINUE_PROP,
next.getProp(Node.CONTINUE_PROP));
}
loops.push(node);
loopEnds.push(breakTarget);
break;
}
case TokenStream.SWITCH:
{
Node breakTarget = new Node(TokenStream.TARGET);
Node parent = iterator.getCurrentParent();
parent.addChildAfter(breakTarget, node);
// make all children siblings except for selector
Node sib = node;
Node child = node.getFirstChild().next;
while (child != null) {
Node next = child.next;
node.removeChild(child);
parent.addChildAfter(child, sib);
sib = child;
child = next;
}
node.putProp(Node.BREAK_PROP, breakTarget);
loops.push(node);
loopEnds.push(breakTarget);
node.putProp(Node.CASES_PROP, new Vector(13));
break;
}
case TokenStream.DEFAULT:
case TokenStream.CASE:
{
Node sw = (Node) loops.peek();
if (type == TokenStream.CASE) {
Vector cases = (Vector) sw.getProp(Node.CASES_PROP);
cases.addElement(node);
} else {
sw.putProp(Node.DEFAULT_PROP, node);
}
break;
}
case TokenStream.NEWLOCAL : {
Integer localCount
= (Integer)(tree.getProp(Node.LOCALCOUNT_PROP));
if (localCount == null) {
tree.putProp(Node.LOCALCOUNT_PROP, new Integer(1));
}
else {
tree.putProp(Node.LOCALCOUNT_PROP,
new Integer(localCount.intValue() + 1));
}
}
break;
case TokenStream.LOOP:
loops.push(node);
loopEnds.push(node.getProp(Node.BREAK_PROP));
break;
case TokenStream.WITH:
{
if (inFunction) {
// With statements require an activation object.
((FunctionNode) tree).setRequiresActivation(true);
}
loops.push(node);
Node leave = node.getNextSibling();
if (leave.getType() != TokenStream.LEAVEWITH) {
throw new RuntimeException("Unexpected tree");
}
loopEnds.push(leave);
break;
}
case TokenStream.TRY:
{
Node finallytarget = (Node)node.getProp(Node.FINALLY_PROP);
if (finallytarget != null) {
hasFinally = true;
loops.push(node);
loopEnds.push(finallytarget);
}
Integer localCount
= (Integer)(tree.getProp(Node.LOCALCOUNT_PROP));
if (localCount == null) {
tree.putProp(Node.LOCALCOUNT_PROP, new Integer(1));
}
else {
tree.putProp(Node.LOCALCOUNT_PROP,
new Integer(localCount.intValue() + 1));
}
break;
}
case TokenStream.TARGET:
case TokenStream.LEAVEWITH:
if (!loopEnds.empty() && loopEnds.peek() == node) {
loopEnds.pop();
loops.pop();
}
break;
case TokenStream.RETURN:
{
/* If we didn't support try/finally, it wouldn't be
* necessary to put LEAVEWITH nodes here... but as
* we do need a series of JSR FINALLY nodes before
* each RETURN, we need to ensure that each finally
* block gets the correct scope... which could mean
* that some LEAVEWITH nodes are necessary.
*/
if (!hasFinally)
break; // skip the whole mess.
Node parent = iterator.getCurrentParent();
for (int i=loops.size()-1; i >= 0; i--) {
Node n = (Node) loops.elementAt(i);
int elemtype = n.getType();
if (elemtype == TokenStream.TRY) {
Node jsrnode = new Node(TokenStream.JSR);
Object jsrtarget = n.getProp(Node.FINALLY_PROP);
jsrnode.putProp(Node.TARGET_PROP, jsrtarget);
parent.addChildBefore(jsrnode, node);
} else if (elemtype == TokenStream.WITH) {
parent.addChildBefore(new Node(TokenStream.LEAVEWITH),
node);
}
}
break;
}
case TokenStream.BREAK:
case TokenStream.CONTINUE:
{
Node loop = null;
boolean labelled = node.hasChildren();
String id = null;
if (labelled) {
/* get the label */
Node child = node.getFirstChild();
id = child.getString();
node.removeChild(child);
}
int i;
Node parent = iterator.getCurrentParent();
for (i=loops.size()-1; i >= 0; i--) {
Node n = (Node) loops.elementAt(i);
int elemtype = n.getType();
if (elemtype == TokenStream.WITH) {
parent.addChildBefore(new Node(TokenStream.LEAVEWITH),
node);
} else if (elemtype == TokenStream.TRY) {
Node jsrFinally = new Node(TokenStream.JSR);
Object jsrTarget = n.getProp(Node.FINALLY_PROP);
jsrFinally.putProp(Node.TARGET_PROP, jsrTarget);
parent.addChildBefore(jsrFinally, node);
} else if (!labelled &&
(elemtype == TokenStream.LOOP ||
(elemtype == TokenStream.SWITCH &&
type == TokenStream.BREAK)))
{
/* if it's a simple break/continue, break from the
* nearest enclosing loop or switch
*/
loop = n;
break;
} else if (labelled &&
elemtype == TokenStream.LABEL &&
id.equals((String)n.getProp(Node.LABEL_PROP)))
{
loop = n;
break;
}
}
int propType = type == TokenStream.BREAK
? Node.BREAK_PROP
: Node.CONTINUE_PROP;
Node target = loop == null
? null
: (Node) loop.getProp(propType);
if (loop == null || target == null) {
String message;
if (!labelled) {
// didn't find an appropriate target
if (type == TokenStream.CONTINUE) {
message = Context.getMessage
("msg.continue.outside", null);
} else {
message = Context.getMessage
("msg.bad.break", null);
}
} else if (loop != null) {
message = Context.getMessage("msg.continue.nonloop",
null);
} else {
Object[] errArgs = { id };
message = Context.getMessage
("msg.undef.label", errArgs);
}
reportMessage(Context.getContext(), message, node,
tree, true, scope);
node.setType(TokenStream.NOP);
break;
}
node.setType(TokenStream.GOTO);
node.putProp(Node.TARGET_PROP, target);
break;
}
case TokenStream.CALL:
if (isSpecialCallName(tree, node))
node.putProp(Node.SPECIALCALL_PROP, Boolean.TRUE);
visitCall(node, tree);
break;
case TokenStream.NEW:
if (isSpecialCallName(tree, node))
node.putProp(Node.SPECIALCALL_PROP, Boolean.TRUE);
visitNew(node, tree);
break;
case TokenStream.DOT:
{
Node right = node.getLastChild();
right.setType(TokenStream.STRING);
break;
}
case TokenStream.EXPRSTMT:
node.setType(inFunction ? TokenStream.POP : TokenStream.POPV);
break;
case TokenStream.OBJECT:
{
Vector regexps = (Vector) tree.getProp(Node.REGEXP_PROP);
if (regexps == null) {
regexps = new Vector(3);
tree.putProp(Node.REGEXP_PROP, regexps);
}
regexps.addElement(node);
Node n = new Node(TokenStream.OBJECT);
iterator.replaceCurrent(n);
n.putProp(Node.REGEXP_PROP, node);
break;
}
case TokenStream.VAR:
{
ShallowNodeIterator i = node.getChildIterator();
Node result = new Node(TokenStream.BLOCK);
while (i.hasMoreElements()) {
Node n = i.nextNode();
if (!n.hasChildren())
continue;
Node init = n.getFirstChild();
n.removeChild(init);
Node asn = (Node) irFactory.createAssignment(
TokenStream.NOP, n, init, null,
false);
Node pop = new Node(TokenStream.POP, asn, node.getDatum());
result.addChildToBack(pop);
}
iterator.replaceCurrent(result);
break;
}
case TokenStream.DELPROP:
case TokenStream.SETNAME:
{
if (!inFunction || inWithStatement())
break;
Node bind = node.getFirstChild();
if (bind == null || bind.getType() != TokenStream.BINDNAME)
break;
String name = bind.getString();
if (name.equals("arguments")) {
// use of "arguments" requires an activation object.
((FunctionNode) tree).setRequiresActivation(true);
}
VariableTable vars = getVariableTable(tree);
if (vars.get(name) != null) {
if (type == TokenStream.SETNAME) {
node.setType(TokenStream.SETVAR);
bind.setType(TokenStream.STRING);
} else {
// Local variables are by definition permanent
Node n = new Node(TokenStream.PRIMARY,
new Integer(TokenStream.FALSE));
iterator.replaceCurrent(n);
}
}
break;
}
case TokenStream.GETPROP:
if (inFunction) {
Node n = node.getFirstChild().getNextSibling();
String name = n == null ? "" : n.getString();
if (name.equals("arguments") ||
(name.equals("length") &&
Context.getContext().getLanguageVersion() ==
Context.VERSION_1_2))
{
// Use of "arguments" or "length" in 1.2 requires
// an activation object.
((FunctionNode) tree).setRequiresActivation(true);
}
}
break;
case TokenStream.NAME:
{
if (!inFunction || inWithStatement())
break;
String name = node.getString();
if (name.equals("arguments")) {
// Use of "arguments" requires an activation object.
((FunctionNode) tree).setRequiresActivation(true);
}
VariableTable vars = getVariableTable(tree);
if (vars.get(name) != null) {
node.setType(TokenStream.GETVAR);
}
break;
}
}
}
return tree;
}
protected void addVariables(Node tree, VariableTable vars) {
// OPT: a whole pass to collect variables seems expensive.
// Could special case to go into statements only.
boolean inFunction = tree.getType() == TokenStream.FUNCTION;
PreorderNodeIterator iterator = tree.getPreorderIterator();
Hashtable ht = null;
Node node;
while ((node = iterator.nextNode()) != null) {
int nodeType = node.getType();
if (inFunction && nodeType == TokenStream.FUNCTION &&
node != tree)
{
// In a function with both "var x" and "function x",
// disregard the var statement, independent of order.
String name = node.getString();
if (name == null)
continue;
vars.removeLocal(name);
if (ht == null)
ht = new Hashtable();
ht.put(name, Boolean.TRUE);
}
if (nodeType != TokenStream.VAR)
continue;
ShallowNodeIterator i = node.getChildIterator();
while (i.hasMoreElements()) {
Node n = i.nextNode();
if (ht == null || ht.get(n.getString()) == null)
vars.addLocal(n.getString());
}
}
}
protected void addParameters(FunctionNode fnNode) {
VariableTable vars = fnNode.getVariableTable();
Node args = fnNode.getFirstChild();
if (args.getType() == TokenStream.LP && vars.getParameterCount() == 0)
{
// Add parameters
ShallowNodeIterator i = args.getChildIterator();
while (i.hasMoreElements()) {
Node n = i.nextNode();
String arg = n.getString();
vars.addParameter(arg);
}
}
}
protected void visitNew(Node node, Node tree) {
}
protected void visitCall(Node node, Node tree) {
/*
* For
* Call(GetProp(a, b), c, d) // or GetElem...
* we wish to evaluate as
* Call(GetProp(tmp=a, b), tmp, c, d)
*
* for
* Call(Name("a"), b, c)
* we wish to evaluate as
* Call(GetProp(tmp=GetBase("a"), "a"), tmp, b, c)
*
* and for
* Call(a, b, c);
* we wish to evaluate as
* Call(tmp=a, Parent(tmp), c, d)
*/
Node left = node.getFirstChild();
// count the arguments
int argCount = 0;
Node arg = left.getNextSibling();
while (arg != null) {
arg = arg.getNextSibling();
argCount++;
}
boolean addGetThis = false;
if (left.getType() == TokenStream.NAME) {
VariableTable vars = getVariableTable(tree);
String name = left.getString();
if (inFunction && vars.get(name) != null && !inWithStatement()) {
// call to a var. Transform to Call(GetVar("a"), b, c)
left.setType(TokenStream.GETVAR);
// fall through to code to add GetParent
} else {
// transform to Call(GetProp(GetBase("a"), "a"), b, c)
node.removeChild(left);
left.setType(TokenStream.GETBASE);
Node str = left.cloneNode();
str.setType(TokenStream.STRING);
Node getProp = new Node(TokenStream.GETPROP, left, str);
node.addChildToFront(getProp);
left = getProp;
// Conditionally set a flag to add a GETTHIS node.
// The getThis entry in the runtime will take a
// Scriptable object intended to be used as a 'this'
// and make sure that it is neither a With object or
// an activation object.
// Executing getThis requires at least two instanceof
// tests, so we only include it if we are currently
// inside a 'with' statement, or if we are executing
// a script (to protect against an eval inside a with).
addGetThis = inWithStatement() || !inFunction;
// fall through to GETPROP code
}
}
if (left.getType() != TokenStream.GETPROP &&
left.getType() != TokenStream.GETELEM)
{
node.removeChild(left);
Node tmp = irFactory.createNewTemp(left);
Node use = irFactory.createUseTemp(tmp);
use.putProp(Node.TEMP_PROP, tmp);
Node parent = new Node(TokenStream.PARENT, use);
node.addChildToFront(parent);
node.addChildToFront(tmp);
return;
}
Node leftLeft = left.getFirstChild();
left.removeChild(leftLeft);
Node tmp = irFactory.createNewTemp(leftLeft);
left.addChildToFront(tmp);
Node use = irFactory.createUseTemp(tmp);
use.putProp(Node.TEMP_PROP, tmp);
if (addGetThis)
use = new Node(TokenStream.GETTHIS, use);
node.addChildAfter(use, left);
}
protected boolean inWithStatement() {
for (int i=loops.size()-1; i >= 0; i--) {
Node n = (Node) loops.elementAt(i);
if (n.getType() == TokenStream.WITH)
return true;
}
return false;
}
/**
* Return true if the node is a call to a function that requires
* access to the enclosing activation object.
*/
private boolean isSpecialCallName(Node tree, Node node) {
Node left = node.getFirstChild();
boolean isSpecial = false;
if (left.getType() == TokenStream.NAME) {
String name = left.getString();
isSpecial = name.equals("eval") || name.equals("With");
} else {
if (left.getType() == TokenStream.GETPROP) {
String name = left.getLastChild().getString();
isSpecial = name.equals("exec");
}
}
if (isSpecial) {
// Calls to these functions require activation objects.
if (inFunction)
((FunctionNode) tree).setRequiresActivation(true);
return true;
}
return false;
}
protected VariableTable createVariableTable() {
return new VariableTable();
}
protected VariableTable getVariableTable(Node tree) {
if (inFunction) {
return ((FunctionNode)tree).getVariableTable();
}
VariableTable result = (VariableTable)(tree.getProp(Node.VARS_PROP));
if (result == null) {
result = createVariableTable();
tree.putProp(Node.VARS_PROP, result);
}
return result;
}
protected void reportMessage(Context cx, String msg, Node stmt,
Node tree, boolean isError,
Scriptable scope)
{
Object obj = stmt.getDatum();
int lineno = 0;
if (obj != null && obj instanceof Integer)
lineno = ((Integer) obj).intValue();
Object prop = tree == null
? null
: tree.getProp(Node.SOURCENAME_PROP);
if (isError) {
if (scope != null)
throw NativeGlobal.constructError(
cx, "SyntaxError", msg, scope,
(String) prop, lineno, 0, null);
else
cx.reportError(msg, (String) prop, lineno, null, 0);
}
else
cx.reportWarning(msg, (String) prop, lineno, null, 0);
}
protected Stack loops;
protected Stack loopEnds;
protected boolean inFunction;
protected IRFactory irFactory;
}

View File

@@ -1,52 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
/**
* Thrown if call is attempted on an object that is not a function.
*/
public class NotAFunctionException extends Exception {
public NotAFunctionException() {
}
public NotAFunctionException(String detail) {
super(detail);
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,92 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.util.Stack;
/**
* This class implements a preorder tree iterator for the Node class.
*
* @see Node
* @author Norris Boyd
*/
public class PreorderNodeIterator {
public PreorderNodeIterator(Node n) {
start = n;
stack = new Stack();
}
public Node currentNode() {
return current;
}
public Node getCurrentParent() {
return currentParent;
}
public Node nextNode() {
if (current == null)
return current = start;
if (current.first != null) {
stack.push(current);
currentParent = current;
current = current.first;
} else {
current = current.next;
boolean isEmpty;
for (;;) {
isEmpty = stack.isEmpty();
if (isEmpty || current != null)
break;
current = (Node) stack.pop();
current = current.next;
}
currentParent = isEmpty ? null : (Node) stack.peek();
}
return current;
}
public void replaceCurrent(Node newNode) {
currentParent.replaceChild(current, newNode);
current = newNode;
}
private Node start;
private Node current;
private Node currentParent;
private Stack stack;
}

View File

@@ -1,50 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
/**
* Thrown if errors are detected while attempting to define a property of
* a host object from a Java class or method, or if a property is not found.
*/
public class PropertyException extends Exception {
public PropertyException(String detail) {
super(detail);
}
}

View File

@@ -1,71 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Roger Lawrence
*
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
/**
* A proxy for the regexp package, so that the regexp package can be
* loaded optionally.
*
* @author Norris Boyd
*/
public interface RegExpProxy {
public Object executeRegExp(Object regExp, Scriptable scopeObj,
String str, int indexp[], boolean test);
public boolean isRegExp(Object obj);
public Object newRegExp(Context cx, Scriptable scope, String source,
String global, boolean flat);
public Object match(Context cx, Scriptable thisObj, Object[] args,
Function funObj)
throws JavaScriptException;
public Object search(Context cx, Scriptable thisObj, Object[] args,
Function funObj)
throws JavaScriptException;
public Object replace(Context cx, Scriptable thisObj, Object[] args,
Function funObj)
throws JavaScriptException;
public int find_split(Function funObj, String target, String separator,
Object re, int[] ip, int[] matchlen,
boolean[] matched, String[][] parensp);
}

View File

@@ -1,73 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
/**
* All compiled scripts implement this interface.
* <p>
* This class encapsulates script execution relative to an
* object scope.
* @since 1.3
* @author Norris Boyd
*/
public interface Script {
/**
* Execute the script.
* <p>
* The script is executed in a particular runtime Context, which
* must be associated with the current thread.
* The script is executed relative to a scope--definitions and
* uses of global top-level variables and functions will access
* properties of the scope object. For compliant ECMA
* programs, the scope must be an object that has been initialized
* as a global object using <code>Context.initStandardObjects</code>.
* <p>
*
* @param cx the Context associated with the current thread
* @param scope the scope to execute relative to
* @return the result of executing the script
* @see org.mozilla.javascript.Context#initStandardObjects
* @exception JavaScriptException if an uncaught JavaScript exception
* occurred while executing the script
*/
public Object exec(Context cx, Scriptable scope)
throws JavaScriptException;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,335 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
/**
* This is interface that all objects in JavaScript must implement.
* The interface provides for the management of properties and for
* performing conversions.
* <p>
* Host system implementors may find it easier to extend the ScriptableObject
* class rather than implementing Scriptable when writing host objects.
* <p>
* There are many static methods defined in ScriptableObject that perform
* the multiple calls to the Scriptable interface needed in order to
* manipulate properties in prototype chains.
* <p>
*
* @see org.mozilla.javascript.ScriptableObject
* @author Norris Boyd
* @author Nick Thompson
* @author Brendan Eich
*/
public interface Scriptable {
/**
* Get the name of the set of objects implemented by this Java class.
* This corresponds to the [[Class]] operation in ECMA and is used
* by Object.prototype.toString() in ECMA.<p>
* See ECMA 8.6.2 and 15.2.4.2.
*/
public String getClassName();
/**
* Value returned from <code>get</code> if the property is not
* found.
*/
public static final Object NOT_FOUND = new Object();
/**
* Get a named property from the object.
*
* Looks property up in this object and returns the associated value
* if found. Returns NOT_FOUND if not found.
* Note that this method is not expected to traverse the prototype
* chain. This is different from the ECMA [[Get]] operation.
*
* Depending on the property selector, the runtime will call
* this method or the form of <code>get</code> that takes an
* integer:
* <table>
* <tr><th>JavaScript code</th><th>Java code</th></tr>
* <tr><td>a.b </td><td>a.get("b", a)</td></tr>
* <tr><td>a["foo"] </td><td>a.get("foo", a)</td></tr>
* <tr><td>a[3] </td><td>a.get(3, a)</td></tr>
* <tr><td>a["3"] </td><td>a.get(3, a)</td></tr>
* <tr><td>a[3.0] </td><td>a.get(3, a)</td></tr>
* <tr><td>a["3.0"] </td><td>a.get("3.0", a)</td></tr>
* <tr><td>a[1.1] </td><td>a.get("1.1", a)</td></tr>
* <tr><td>a[-4] </td><td>a.get(-4, a)</td></tr>
* </table>
* <p>
* The values that may be returned are limited to the following:
* <UL>
* <LI>java.lang.Boolean objects</LI>
* <LI>java.lang.String objects</LI>
* <LI>java.lang.Number objects</LI>
* <LI>org.mozilla.javascript.Scriptable objects</LI>
* <LI>null</LI>
* <LI>The value returned by Context.getUndefinedValue()</LI>
* <LI>NOT_FOUND</LI>
* </UL>
* @param name the name of the property
* @param start the object in which the lookup began
* @return the value of the property (may be null), or NOT_FOUND
* @see org.mozilla.javascript.Context#getUndefinedValue
*/
public Object get(String name, Scriptable start);
/**
* Get a property from the object selected by an integral index.
*
* Identical to <code>get(String, Scriptable)</code> except that
* an integral index is used to select the property.
*
* @param index the numeric index for the property
* @param start the object in which the lookup began
* @return the value of the property (may be null), or NOT_FOUND
* @see org.mozilla.javascript.Scriptable#get(String,Scriptable)
*/
public Object get(int index, Scriptable start);
/**
* Indicates whether or not a named property is defined in an object.
*
* Does not traverse the prototype chain.<p>
*
* The property is specified by a String name
* as defined for the <code>get</code> method.<p>
*
* @param name the name of the property
* @param start the object in which the lookup began
* @return true if and only if the named property is found in the object
* @see org.mozilla.javascript.Scriptable#get
* @see org.mozilla.javascript.ScriptableObject#getProperty
*/
public boolean has(String name, Scriptable start);
/**
* Indicates whether or not an indexed property is defined in an object.
*
* Does not traverse the prototype chain.<p>
*
* The property is specified by an integral index
* as defined for the <code>get</code> method.<p>
*
* @param index the numeric index for the property
* @param start the object in which the lookup began
* @return true if and only if the indexed property is found in the object
* @see org.mozilla.javascript.Scriptable#get
* @see org.mozilla.javascript.ScriptableObject#getProperty
*/
public boolean has(int index, Scriptable start);
/**
* Sets a named property in this object.
* <p>
* The property is specified by a string name
* as defined for <code>get</code>.
* <p>
* The possible values that may be passed in are as defined for
* <code>get</code>. A class that implements this method may choose
* to ignore calls to set certain properties, in which case those
* properties are effectively read-only.<p>
* For properties defined in a prototype chain,
* use <code>putProperty</code> in ScriptableObject. <p>
* Note that if a property <i>a</i> is defined in the prototype <i>p</i>
* of an object <i>o</i>, then evaluating <code>o.a = 23</code> will cause
* <code>set</code> to be called on the prototype <i>p</i> with
* <i>o</i> as the <i>start</i> parameter.
* To preserve JavaScript semantics, it is the Scriptable
* object's responsibility to modify <i>o</i>. <p>
* This design allows properties to be defined in prototypes and implemented
* in terms of getters and setters of Java values without consuming slots
* in each instance.<p>
* <p>
* The values that may be set are limited to the following:
* <UL>
* <LI>java.lang.Boolean objects</LI>
* <LI>java.lang.String objects</LI>
* <LI>java.lang.Number objects</LI>
* <LI>org.mozilla.javascript.Scriptable objects</LI>
* <LI>null</LI>
* <LI>The value returned by Context.getUndefinedValue()</LI>
* </UL><p>
* Note that <code>has</code> will be called by the runtime first before
* <code>set</code> is called to determine in which object the
* property is defined.
* Note that this method is not expected to traverse the prototype chain,
* which is different from the ECMA [[Put]] operation.
* @param name the name of the property
* @param start the object whose property is being set
* @param value value to set the property to
* @see org.mozilla.javascript.Scriptable#has
* @see org.mozilla.javascript.Scriptable#get
* @see org.mozilla.javascript.ScriptableObject#putProperty
*/
public void put(String name, Scriptable start, Object value);
/**
* Sets an indexed property in this object.
* <p>
* The property is specified by an integral index
* as defined for <code>get</code>.<p>
*
* Identical to <code>put(String, Scriptable, Object)</code> except that
* an integral index is used to select the property.
*
* @param index the numeric index for the property
* @param start the object whose property is being set
* @param value value to set the property to
* @see org.mozilla.javascript.Scriptable#has
* @see org.mozilla.javascript.Scriptable#get
* @see org.mozilla.javascript.Scriptable#put(String,Scriptable,Object)
* @see org.mozilla.javascript.ScriptaleObject#putProperty
*/
public void put(int index, Scriptable start, Object value);
/**
* Removes a property from this object.
* This operation corresponds to the ECMA [[Delete]] except that
* the no result is returned. The runtime will guarantee that this
* method is called only if the property exists. After this method
* is called, the runtime will call Scriptable.has to see if the
* property has been removed in order to determine the boolean
* result of the delete operator as defined by ECMA 11.4.1.
* <p>
* A property can be made permanent by ignoring calls to remove
* it.<p>
* The property is specified by a String name
* as defined for <code>get</code>.
* <p>
* To delete properties defined in a prototype chain,
* see deleteProperty in ScriptableObject.
* @param name the identifier for the property
* @see org.mozilla.javascript.Scriptable#get
* @see org.mozilla.javascript.ScriptableObject#deleteProperty
*/
public void delete(String name);
/**
* Removes a property from this object.
*
* The property is specified by an integral index
* as defined for <code>get</code>.
* <p>
* To delete properties defined in a prototype chain,
* see deleteProperty in ScriptableObject.
*
* Identical to <code>delete(String)</code> except that
* an integral index is used to select the property.
*
* @param index the numeric index for the property
* @see org.mozilla.javascript.Scriptable#get
* @see org.mozilla.javascript.ScriptableObject#deleteProperty
*/
public void delete(int index);
/**
* Get the prototype of the object.
* @return the prototype
*/
public Scriptable getPrototype();
/**
* Set the prototype of the object.
* @param prototype the prototype to set
*/
public void setPrototype(Scriptable prototype);
/**
* Get the parent scope of the object.
* @return the parent scope
*/
public Scriptable getParentScope();
/**
* Set the parent scope of the object.
* @param parent the parent scope to set
*/
public void setParentScope(Scriptable parent);
/**
* Get an array of property ids.
*
* Not all property ids need be returned. Those properties
* whose ids are not returned are considered non-enumerable.
*
* @return an array of Objects. Each entry in the array is either
* a java.lang.String or a java.lang.Number
*/
public Object[] getIds();
/**
* Get the default value of the object with a given hint.
* The hints are String.class for type String, Number.class for type
* Number, Scriptable.class for type Object, and Boolean.class for
* type Boolean. <p>
*
* A <code>hint</code> of null means "no hint".
*
* See ECMA 8.6.2.6.
*
* @param hint the type hint
* @return the default value
*/
public Object getDefaultValue(Class hint);
/**
* The instanceof operator.
*
* <p>
* The JavaScript code "lhs instanceof rhs" causes rhs.hasInstance(lhs) to
* be called.
*
* <p>
* The return value is implementation dependent so that embedded host objects can
* return an appropriate value. See the JS 1.3 language documentation for more
* detail.
*
* <p>This operator corresponds to the proposed EMCA [[HasInstance]] operator.
*
* @param instance The value that appeared on the LHS of the instanceof
* operator
*
* @return an implementation dependent value
*/
public boolean hasInstance(Scriptable instance);
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,123 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
/**
* This class describes the support needed to implement security.
* <p>
* Three main pieces of functionality are required to implement
* security for JavaScript. First, it must be possible to define
* classes with an associated security context. (This security
* context may be any object that has meaning to an embedding;
* for a client-side JavaScript embedding this would typically
* be an origin URL and/or a digital certificate.) Next it
* must be possible to get the current class context so that
* the implementation can determine securely which class is
* requesting a privileged action. And finally, it must be
* possible to map a class back into a security context so that
* additional classes may be defined with that security context.
* <p>
* These three pieces of functionality are encapsulated in the
* SecuritySupport class.
*
* @see org.mozilla.javascript.Context
* @see java.lang.ClassLoader
* @since 1.4 Release 2
* @author Norris Boyd
*/
public interface SecuritySupport {
/**
* Define and load a Java class.
* <p>
* In embeddings that care about security, the securityDomain
* must be associated with the defined class such that a call to
* getsecurityDomain with that class will return this security
* context.
* <p>
* @param name the name of the class
* @param data the bytecode of the class
* @param securityDomain some object specifying the security
* context of the code that is defining this class.
* Embeddings that don't care about security may allow
* null here. This value propagated from the values passed
* into methods of Context that evaluate scripts.
* @see java.lang.ClassLoader#defineClass
*/
public Class defineClass(String name, byte[] data,
Object securityDomain);
/**
* Get the current class Context.
* <p>
* This functionality is supplied by SecurityManager.getClassContext,
* but only one SecurityManager may be instantiated in a single JVM
* at any one time. So implementations that care about security must
* provide access to this functionality through this interface.
* <p>
* Note that the 0th entry of the returned array should be the class
* of the caller of this method. So if this method is implemented by
* calling SecurityManager.getClassContext, this method must allocate
* a new, shorter array to return.
*/
public Class[] getClassContext();
/**
* Return the security context associated with the given class.
* <p>
* If <code>cl</code> is a class defined through a call to
* SecuritySupport.defineClass, then return the security
* context from that call. Otherwise return null.
* @param cl a class potentially defined by defineClass
* @return a security context object previously passed to defineClass
*/
public Object getSecurityDomain(Class cl);
/**
* Return true iff the Java class with the given name should be exposed
* to scripts.
* <p>
* An embedding may filter which Java classes are exposed through
* LiveConnect to JavaScript scripts.
* @param fullClassName the full name of the class (including the package
* name, with '.' as a delimiter). For example the
* standard string class is "java.lang.String"
* @return whether or not to reveal this class to scripts
*/
public boolean visibleToScripts(String fullClassName);
}

View File

@@ -1,69 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.util.Enumeration;
/**
* This class implements a child iterator for the Node class.
*
* @see Node
* @author Norris Boyd
*/
public class ShallowNodeIterator implements Enumeration {
public ShallowNodeIterator(Node n) {
current = n;
}
public boolean hasMoreElements() {
return current != null;
}
public Object nextElement() {
return nextNode();
}
public Node nextNode() {
Node result = current;
current = current.next;
return result;
}
private Node current;
}

View File

@@ -1,222 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* John Bandhauer
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// DEBUG API class
package org.mozilla.javascript;
/**
* This interface supports managing incrementally updated source text items.
* <p>
* Items have immutable names. They can be valid or invalid. They can
* accumulate text, but existing text can not be overwritten. They can be
* marked as 'complete', 'aborted', etc. They can be cleared of all text.
* See status flags for details.
*
* @see org.mozilla.javascript.SourceTextManager
* @author John Bandhauer
*/
public interface SourceTextItem
{
/**
* Possible status values...
*/
/**
* Item just created, no text added yet.
*/
public static final int INITED = 0;
/**
* Item has some text, likely that more will be added.
*/
public static final int PARTIAL = 1;
/**
* Item has all the text it is going to get.
*/
public static final int COMPLETED = 2;
/**
* User aborted loading of text, some text may be in item.
*/
public static final int ABORTED = 3;
/**
* Loading of text failed, some text may be in item.
*/
public static final int FAILED = 4;
/**
* Whatever text was in item has been cleared by a consumer.
*/
public static final int CLEARED = 5;
/**
* Item has be marked as invalid and has no useful information.
*/
public static final int INVALID = 6;
/**
* Append some text.
* <p>
* This only succeeds if status is INITED or PARTIAL.
*
* @param text String to append
* @return true if succeeded, false if failed
*/
public boolean append(String text);
/**
* Append a char.
* <p>
* This only succeeds if status is INITED or PARTIAL.
*
* @param c char to append
* @return true if succeeded, false if failed
*/
public boolean append(char c);
/**
* Append a char from a char[].
* <p>
* This only succeeds if status is INITED or PARTIAL.
*
* @param buf char[] from which to append
* @param offset offset into char[] from which to append
* @param count count of chars to append
* @return true if succeeded, false if failed
*/
public boolean append(char[] buf, int offset, int count);
/**
* Set status to COMPLETED.
* <p>
* meaning: all the text is there, it is complete, no problems.
* This only succeeds if status is INITED or PARTIAL.
*
* @return true if succeeded, false if failed
*/
public boolean complete();
/**
* Set status to ABORTED.
* <p>
* meaning: some text might be there, but user aborted text loading.
* This only succeeds if status is INITED or PARTIAL.
*
* @return true if succeeded, false if failed
*/
public boolean abort();
/**
* Set status to FAILED.
* <p>
* meaning: some text might be there, but loading failed.
* This only succeeds if status is INITED or PARTIAL.
*
* @return true if succeeded, false if failed
*/
public boolean fail();
/**
* Clear the text and set status to CLEARED.
* <p>
* meaning: consumer of the text has what he wants, leave this
* as an emptly placeholder.
* This succeeds unless status is INVALID.
*
* @return true if succeeded, false if failed
*/
public boolean clear();
/**
* Clear the text and set status to INVALID.
* <p>
* meaning: This item is not to be used, likely the SourceTextManager
* has been asked to create a new item (with potentially different
* text) in its place.
* This succeeds unless status is INVALID.
*
* @return true if succeeded, false if failed
*/
public boolean invalidate();
/**
* Get the Current Text.
*
* @return the text, null if INVALID
*/
public String getText();
/**
* Get the name.
*
* @return the name (immutable).
*/
public String getName();
/**
* Get the status.
*
* @return the current status
*/
public int getStatus();
/**
* Get the validity status.
*
* @return true if item is valid, false if not
*/
public boolean isValid();
/**
* Get a counter representing the modification count of the item.
* <p>
* Any consumer of the item may look at this value and store it at one
* point in time and then later look at the value again. If the
* value has increased, then the consumer can know that the item has
* been modified in some way and can then take the appropriate action.
* If the count has not changed from one point in time to another,
* then the item is guarenteed to not have changed in any way.
*
* NOTE: this value is not guaranteed to start at 0;
*
* @return the alter count
*/
public int getAlterCount();
}

View File

@@ -1,82 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* John Bandhauer
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// DEBUG API class
package org.mozilla.javascript;
import java.util.Enumeration;
/**
* This interface supports managing incrementally updated source text.
*
* @see org.mozilla.javascript.SourceTextItem
* @see org.mozilla.javascript.Context#setSourceTextManager
* @author John Bandhauer
*/
public interface SourceTextManager
{
/**
* Create a new item.
* <p>
* A new item is always created. If an item with this name already exists,
* then that preexisting iten is is set as invalid.
*
* @param name item name - in most embedings this will be a URL or filename
* @return new item
*/
public SourceTextItem newItem(String name);
/**
* Get an existing item.
* <p>
* If an item with this name already exists, then return it. Otherwise,
* return null.
*
* @param name item name - in most embedings this will be a URL or filename
* @return existing item (or null if none)
*/
public SourceTextItem getItem(String name);
/**
* Get all items.
* <p>
* Takes a snapshot of the list of all items and returns an Enumeration.
*
* @return snapshot Enumeration of all items
*/
public Enumeration getAllItems();
}

View File

@@ -1,182 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Mike McCabe
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
/*
* A quick and dirty driver for testing and timing the scanner, parser
* and optimizer.
*/
package org.mozilla.javascript;
import java.io.*;
import java.lang.reflect.*;
class TestScan
{
public static void main(String[] args) throws IOException {
String file = null;
String opt = "nt";
int level = 0;
if (args.length == 1) {
file = args[0];
opt = "-nt";
}
else if (args.length == 2) {
file = args[1];
opt = args[0];
}
else if (args.length == 3 && args[0].equals("-opt")) {
level = Integer.parseInt(args[1]);
file = args[2];
opt = "-opt";
}
else if (args.length > 1 && args[0].equals("-compile")) {
opt = "-compile";
if (args.length == 3) {
file = args[2];
level = Integer.parseInt(args[1]);
} else if (args.length == 2) {
file = args[1];
} else {
usage();
System.exit(1);
}
}
else {
usage();
System.exit(1);
}
scan(opt, file, level);
}
public static void scan(String opt, String file, int level)
throws IOException
{
FileReader in = null;
// We might call scan from js, and so might not get an interned string.
opt = opt.intern();
try {
in = new FileReader(file);
}
catch (FileNotFoundException ex) {
System.out.println("couldn't open file " + file);
System.exit(1);
}
Context cx = new Context();
try {
cx.enter();
}
catch (Throwable t) {
}
if (opt == "-compile") {
cx.setOptimizationLevel(level);
cx.compileReader(null, in, file, 1, null);
return;
}
TokenStream ts = new TokenStream(in, null, file, 1);
if (opt == "-scan") {
int foo;
while ((foo = ts.getToken()) != ts.EOF) {
if (Context.printTrees)
System.out.println(ts.tokenToString(foo));
}
}
else if (opt == "-ir") {
IRFactory nf = new IRFactory(ts, null);
Parser p = new Parser(nf);
Node parsetree = (Node) p.parse(ts);
System.out.print(parsetree.toStringTree());
}
else if (opt == "-nt") {
IRFactory nf = new IRFactory(ts, null);
NodeTransformer nt = new NodeTransformer();
Parser p = new Parser(nf);
Node parsetree = (Node) p.parse(ts);
nt.transform(parsetree, null, ts, null);
System.out.print(parsetree.toStringTree());
}
else if (opt == "-opt") {
IRFactory nf = new IRFactory(ts, null);
NodeTransformer nt = new NodeTransformer();
Parser p = new Parser(nf);
Node parsetree = (Node) p.parse(ts);
nt.transform(parsetree, null, ts, null);
cx.setOptimizationLevel(level);
try {
Class optimizerClass
= Class.forName("org.mozilla.javascript.optimizer.Optimizer");
Object theOptimizer = optimizerClass.newInstance();
Class parameterTypes[] = { Node.class, Integer.class };
Method runOptimizer =
optimizerClass.getDeclaredMethod("optimize", parameterTypes);
Object a[] = { parsetree, new Integer(level) };
runOptimizer.invoke(theOptimizer, a);
System.out.print(parsetree.toStringTree());
}
catch (Exception x) {
System.out.println(x);
}
}
else {
usage();
return;
}
}
static void usage() {
System.err.println("usage: TestScan " +
"[-compile [level] | -scan | -ir | -nt | -opt " +
"[level] ] filename.js");
System.err.println("\t-compile [level] " +
"- compile the given file and return, for profiling");
System.err.println("\t-scan " +
"- list tokens");
System.err.println("\t-ir " +
"- print Internal Representation parse tree");
System.err.println("\t-nt " +
"- print NodeTransformed IR tree");
System.err.println("\t-opt [level] " +
"- print transformed and optimized IR tree");
System.err.println();
System.err.println("(note that nothing may be printed by the above if " +
"Context.printTrees is false.)");
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,139 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
/**
* This class implements the Undefined value in JavaScript.
*/
public class Undefined implements Scriptable {
static final public Scriptable instance = new Undefined();
public String getClassName() {
return "undefined";
}
public boolean has(String id, Scriptable start) {
return false;
}
public boolean has(int index, Scriptable start) {
return false;
}
public Object get(String id, Scriptable start) {
throw reportError();
}
public Object get(int index, Scriptable start) {
throw reportError();
}
public void put(String id,Scriptable start, Object value) {
throw reportError();
}
public void put(int index, Scriptable start, Object value) {
throw reportError();
}
public void delete(String id) {
throw reportError();
}
public void delete(int index) {
throw reportError();
}
public short getAttributes(String id, Scriptable start) {
throw reportError();
}
public short getAttributes(int index, Scriptable start) {
throw reportError();
}
public void setAttributes(String id, Scriptable start, short attributes) {
throw reportError();
}
public void setAttributes(int index, Scriptable start, short attributes) {
throw reportError();
}
public Scriptable getPrototype() {
throw reportError();
}
public void setPrototype(Scriptable prototype) {
throw reportError();
}
public Scriptable getParentScope() {
throw reportError();
}
public void setParentScope(Scriptable parent) {
throw reportError();
}
public Object[] getIds() {
throw reportError();
}
public Object getDefaultValue(Class cl) {
if (cl == ScriptRuntime.StringClass)
return "undefined";
if (cl == ScriptRuntime.NumberClass)
return ScriptRuntime.NaNobj;
if (cl == ScriptRuntime.BooleanClass)
return Boolean.FALSE;
return this;
}
public boolean hasInstance(Scriptable value) {
throw reportError();
}
public boolean instanceOf(Scriptable prototype) {
return false;
}
private RuntimeException reportError() {
String message = Context.getMessage("msg.undefined", null);
return Context.reportRuntimeError(message);
}
}

View File

@@ -1,161 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Roger Lawrence
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.io.*;
import java.util.*;
public class VariableTable {
public int size()
{
return itsVariables.size();
}
public int getParameterCount()
{
return varStart;
}
public LocalVariable createLocalVariable(String name, boolean isParameter)
{
return new LocalVariable(name, isParameter);
}
public LocalVariable get(int index)
{
return (LocalVariable)(itsVariables.elementAt(index));
}
public LocalVariable get(String name)
{
Integer vIndex = (Integer)(itsVariableNames.get(name));
if (vIndex != null)
return (LocalVariable)(itsVariables.elementAt(vIndex.intValue()));
else
return null;
}
public int getOrdinal(String name) {
Integer vIndex = (Integer)(itsVariableNames.get(name));
if (vIndex != null)
return vIndex.intValue();
else
return -1;
}
public String getName(int index)
{
return ((LocalVariable)(itsVariables.elementAt(index))).getName();
}
public void establishIndices()
{
for (int i = 0; i < itsVariables.size(); i++) {
LocalVariable lVar = (LocalVariable)(itsVariables.elementAt(i));
lVar.setIndex(i);
}
}
public void addParameter(String pName)
{
Integer pIndex = (Integer)(itsVariableNames.get(pName));
if (pIndex != null) {
LocalVariable p = (LocalVariable)
(itsVariables.elementAt(pIndex.intValue()));
if (p.isParameter()) {
Object[] errorArgs = { pName };
String message = Context.getMessage("msg.dup.parms", errorArgs);
Context.reportWarning(message, null, 0, null, 0);
}
else { // there's a local variable with this name, blow it off
itsVariables.removeElementAt(pIndex.intValue());
}
}
int curIndex = varStart++;
LocalVariable lVar = createLocalVariable(pName, true);
itsVariables.insertElementAt(lVar, curIndex);
itsVariableNames.put(pName, new Integer(curIndex));
}
public void addLocal(String vName)
{
Integer vIndex = (Integer)(itsVariableNames.get(vName));
if (vIndex != null) {
LocalVariable v = (LocalVariable)
(itsVariables.elementAt(vIndex.intValue()));
if (v.isParameter()) {
// this is o.k. the parameter subsumes the variable def.
}
else {
return;
}
}
int index = itsVariables.size();
LocalVariable lVar = createLocalVariable(vName, false);
itsVariables.addElement(lVar);
itsVariableNames.put(vName, new Integer(index));
}
// This should only be called very early in compilation
public void removeLocal(String name) {
Integer i = (Integer) itsVariableNames.get(name);
if (i != null) {
itsVariables.removeElementAt(i.intValue());
itsVariableNames.remove(name);
Hashtable ht = new Hashtable(11);
Enumeration e = itsVariableNames.keys();
while (e.hasMoreElements()) {
Object k = e.nextElement();
Integer v = (Integer) itsVariableNames.get(k);
int v2 = v.intValue();
if (v2 > i.intValue())
v = new Integer(v2 - 1);
ht.put(k, v);
}
itsVariableNames = ht;
}
}
// a list of the formal parameters and local variables
protected Vector itsVariables = new Vector();
// mapping from name to index in list
protected Hashtable itsVariableNames = new Hashtable(11);
protected int varStart; // index in list of first variable
}

View File

@@ -1,68 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Marshall Cline
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
// API class
package org.mozilla.javascript;
/**
* Embeddings that wish to provide their own custom wrappings for Java
* objects may implement this interface and call Context.setWrapHandler.
* @see org.mozilla.javascript.Context#setWrapHandler
*/
public interface WrapHandler {
/**
* Wrap the object.
* <p>
* The value returned must be one of
* <UL>
* <LI>java.lang.Boolean</LI>
* <LI>java.lang.String</LI>
* <LI>java.lang.Number</LI>
* <LI>org.mozilla.javascript.Scriptable objects</LI>
* <LI>The value returned by Context.getUndefinedValue()</LI>
* <LI>null</LI>
* <p>
* If null is returned, the value obj will be wrapped as if
* no WrapHandler had been called.
* </UL>
* @param scope the scope of the executing script
* @param obj the object to be wrapped
* @staticType the static type of the object to be wrapped
* @return the wrapped value.
*/
public Object wrap(Scriptable scope, Object obj, Class staticType);
}

View File

@@ -1,115 +0,0 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1997-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Norris Boyd
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU Public License (the "GPL"), in which case the
* provisions of the GPL are applicable instead of those above.
* If you wish to allow use of your version of this file only
* under the terms of the GPL and not to allow others to use your
* version of this file under the NPL, indicate your decision by
* deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete
* the provisions above, a recipient may use your version of this
* file under either the NPL or the GPL.
*/
package org.mozilla.javascript;
import java.lang.reflect.InvocationTargetException;
/**
* A wrapper for runtime exceptions.
*
* Used by the JavaScript runtime to wrap and propagate exceptions that occur
* during runtime.
*
* @author Norris Boyd
*/
public class WrappedException extends EvaluatorException implements Wrapper {
/**
* Create a new exception wrapped around an existing exception.
*
* @param exception the exception to wrap
*/
public WrappedException(Throwable exception) {
super(exception.getMessage());
this.exception = exception.fillInStackTrace();
}
/**
* Get the message for the exception.
*
* Delegates to the wrapped exception.
*/
public String getMessage() {
return "WrappedException of " + exception.toString();
}
/**
* Gets the localized message.
*
* Delegates to the wrapped exception.
*/
public String getLocalizedMessage() {
return "WrappedException of " + exception.getLocalizedMessage();
}
/**
* Get the wrapped exception.
*
* @return the exception that was presented as a argument to the
* constructor when this object was created
*/
public Throwable getWrappedException() {
return exception;
}
/**
* Get the wrapped exception.
*
* @return the exception that was presented as a argument to the
* constructor when this object was created
*/
public Object unwrap() {
return exception;
}
/**
* Wrap an exception.
*
* Provides special cases for EvaluatorExceptions (which are returned
* as-is), and InvocationTargetExceptions (which are unwrapped and
* passed to a recursive call to wrapException).<p>
*
* Otherwise the exception is simply wrapped in a WrappedException.
*/
public static EvaluatorException wrapException(Throwable e) {
if ((e instanceof InvocationTargetException))
e = ((InvocationTargetException) e).getTargetException();
if (e instanceof EvaluatorException)
return (EvaluatorException) e;
return new WrappedException(e);
}
private Throwable exception;
}

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